@finos/legend-application-pure-ide 6.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +3 -0
- package/lib/application/LegendPureIDE.d.ts +26 -0
- package/lib/application/LegendPureIDE.d.ts.map +1 -0
- package/lib/application/LegendPureIDE.js +43 -0
- package/lib/application/LegendPureIDE.js.map +1 -0
- package/lib/application/LegendPureIDEApplicationConfig.d.ts +28 -0
- package/lib/application/LegendPureIDEApplicationConfig.d.ts.map +1 -0
- package/lib/application/LegendPureIDEApplicationConfig.js +30 -0
- package/lib/application/LegendPureIDEApplicationConfig.js.map +1 -0
- package/lib/application/LegendPureIDEPluginManager.d.ts +32 -0
- package/lib/application/LegendPureIDEPluginManager.d.ts.map +1 -0
- package/lib/application/LegendPureIDEPluginManager.js +46 -0
- package/lib/application/LegendPureIDEPluginManager.js.map +1 -0
- package/lib/components/Core_LegendPureIDEApplicationPlugin.d.ts +23 -0
- package/lib/components/Core_LegendPureIDEApplicationPlugin.d.ts.map +1 -0
- package/lib/components/Core_LegendPureIDEApplicationPlugin.js +29 -0
- package/lib/components/Core_LegendPureIDEApplicationPlugin.js.map +1 -0
- package/lib/components/LegendPureIDEApplication.d.ts +18 -0
- package/lib/components/LegendPureIDEApplication.d.ts.map +1 -0
- package/lib/components/LegendPureIDEApplication.js +21 -0
- package/lib/components/LegendPureIDEApplication.js.map +1 -0
- package/lib/components/LegendPureIDEBaseStoreProvider.d.ts +23 -0
- package/lib/components/LegendPureIDEBaseStoreProvider.d.ts.map +1 -0
- package/lib/components/LegendPureIDEBaseStoreProvider.js +30 -0
- package/lib/components/LegendPureIDEBaseStoreProvider.js.map +1 -0
- package/lib/components/editor/ActivityBar.d.ts +20 -0
- package/lib/components/editor/ActivityBar.d.ts.map +1 -0
- package/lib/components/editor/ActivityBar.js +41 -0
- package/lib/components/editor/ActivityBar.js.map +1 -0
- package/lib/components/editor/Editor.d.ts +18 -0
- package/lib/components/editor/Editor.d.ts.map +1 -0
- package/lib/components/editor/Editor.js +80 -0
- package/lib/components/editor/Editor.js.map +1 -0
- package/lib/components/editor/EditorStoreProvider.d.ts +22 -0
- package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -0
- package/lib/components/editor/EditorStoreProvider.js +32 -0
- package/lib/components/editor/EditorStoreProvider.js.map +1 -0
- package/lib/components/editor/StatusBar.d.ts +22 -0
- package/lib/components/editor/StatusBar.d.ts.map +1 -0
- package/lib/components/editor/StatusBar.js +39 -0
- package/lib/components/editor/StatusBar.js.map +1 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +65 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -0
- package/lib/components/editor/aux-panel/ConsolePanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/ConsolePanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/ConsolePanel.js +24 -0
- package/lib/components/editor/aux-panel/ConsolePanel.js.map +1 -0
- package/lib/components/editor/aux-panel/SearchPanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/SearchPanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/SearchPanel.js +90 -0
- package/lib/components/editor/aux-panel/SearchPanel.js.map +1 -0
- package/lib/components/editor/aux-panel/TestRunnerPanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/TestRunnerPanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/TestRunnerPanel.js +151 -0
- package/lib/components/editor/aux-panel/TestRunnerPanel.js.map +1 -0
- package/lib/components/editor/command-center/CreateNewDirectoryCommand.d.ts +20 -0
- package/lib/components/editor/command-center/CreateNewDirectoryCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/CreateNewDirectoryCommand.js +48 -0
- package/lib/components/editor/command-center/CreateNewDirectoryCommand.js.map +1 -0
- package/lib/components/editor/command-center/CreateNewFileCommand.d.ts +20 -0
- package/lib/components/editor/command-center/CreateNewFileCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/CreateNewFileCommand.js +48 -0
- package/lib/components/editor/command-center/CreateNewFileCommand.js.map +1 -0
- package/lib/components/editor/command-center/FileSearchCommand.d.ts +20 -0
- package/lib/components/editor/command-center/FileSearchCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/FileSearchCommand.js +60 -0
- package/lib/components/editor/command-center/FileSearchCommand.js.map +1 -0
- package/lib/components/editor/command-center/TextSearchCommand.d.ts +20 -0
- package/lib/components/editor/command-center/TextSearchCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/TextSearchCommand.js +50 -0
- package/lib/components/editor/command-center/TextSearchCommand.js.map +1 -0
- package/lib/components/editor/edit-panel/DiagramEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/DiagramEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/DiagramEditor.js +71 -0
- package/lib/components/editor/edit-panel/DiagramEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/EditPanel.d.ts +21 -0
- package/lib/components/editor/edit-panel/EditPanel.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/EditPanel.js +55 -0
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -0
- package/lib/components/editor/edit-panel/FileEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/FileEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/FileEditor.js +114 -0
- package/lib/components/editor/edit-panel/FileEditor.js.map +1 -0
- package/lib/components/editor/shared/ConceptIconUtils.d.ts +17 -0
- package/lib/components/editor/shared/ConceptIconUtils.d.ts.map +1 -0
- package/lib/components/editor/shared/ConceptIconUtils.js +50 -0
- package/lib/components/editor/shared/ConceptIconUtils.js.map +1 -0
- package/lib/components/editor/side-bar/ConceptTreeExplorer.d.ts +24 -0
- package/lib/components/editor/side-bar/ConceptTreeExplorer.d.ts.map +1 -0
- package/lib/components/editor/side-bar/ConceptTreeExplorer.js +165 -0
- package/lib/components/editor/side-bar/ConceptTreeExplorer.js.map +1 -0
- package/lib/components/editor/side-bar/DirectoryTreeExplorer.d.ts +20 -0
- package/lib/components/editor/side-bar/DirectoryTreeExplorer.d.ts.map +1 -0
- package/lib/components/editor/side-bar/DirectoryTreeExplorer.js +142 -0
- package/lib/components/editor/side-bar/DirectoryTreeExplorer.js.map +1 -0
- package/lib/components/editor/side-bar/SideBar.d.ts +23 -0
- package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -0
- package/lib/components/editor/side-bar/SideBar.js +40 -0
- package/lib/components/editor/side-bar/SideBar.js.map +1 -0
- package/lib/extensions.css +17 -0
- package/lib/extensions.css.map +1 -0
- package/lib/index.css +17 -0
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +39 -0
- package/lib/index.js.map +1 -0
- package/lib/package.json +85 -0
- package/lib/server/PureServerClient.d.ts +55 -0
- package/lib/server/PureServerClient.d.ts.map +1 -0
- package/lib/server/PureServerClient.js +120 -0
- package/lib/server/PureServerClient.js.map +1 -0
- package/lib/server/models/Command.d.ts +24 -0
- package/lib/server/models/Command.d.ts.map +1 -0
- package/lib/server/models/Command.js +35 -0
- package/lib/server/models/Command.js.map +1 -0
- package/lib/server/models/ConceptTree.d.ts +76 -0
- package/lib/server/models/ConceptTree.d.ts.map +1 -0
- package/lib/server/models/ConceptTree.js +116 -0
- package/lib/server/models/ConceptTree.js.map +1 -0
- package/lib/server/models/DiagramInfo.d.ts +144 -0
- package/lib/server/models/DiagramInfo.d.ts.map +1 -0
- package/lib/server/models/DiagramInfo.js +478 -0
- package/lib/server/models/DiagramInfo.js.map +1 -0
- package/lib/server/models/DirectoryTree.d.ts +37 -0
- package/lib/server/models/DirectoryTree.d.ts.map +1 -0
- package/lib/server/models/DirectoryTree.js +70 -0
- package/lib/server/models/DirectoryTree.js.map +1 -0
- package/lib/server/models/Execution.d.ts +100 -0
- package/lib/server/models/Execution.d.ts.map +1 -0
- package/lib/server/models/Execution.js +183 -0
- package/lib/server/models/Execution.js.map +1 -0
- package/lib/server/models/Initialization.d.ts +49 -0
- package/lib/server/models/Initialization.d.ts.map +1 -0
- package/lib/server/models/Initialization.js +64 -0
- package/lib/server/models/Initialization.js.map +1 -0
- package/lib/server/models/PureFile.d.ts +34 -0
- package/lib/server/models/PureFile.d.ts.map +1 -0
- package/lib/server/models/PureFile.js +56 -0
- package/lib/server/models/PureFile.js.map +1 -0
- package/lib/server/models/SearchEntry.d.ts +36 -0
- package/lib/server/models/SearchEntry.d.ts.map +1 -0
- package/lib/server/models/SearchEntry.js +63 -0
- package/lib/server/models/SearchEntry.js.map +1 -0
- package/lib/server/models/SourceInformation.d.ts +25 -0
- package/lib/server/models/SourceInformation.d.ts.map +1 -0
- package/lib/server/models/SourceInformation.js +35 -0
- package/lib/server/models/SourceInformation.js.map +1 -0
- package/lib/server/models/Test.d.ts +57 -0
- package/lib/server/models/Test.d.ts.map +1 -0
- package/lib/server/models/Test.js +92 -0
- package/lib/server/models/Test.js.map +1 -0
- package/lib/server/models/Usage.d.ts +31 -0
- package/lib/server/models/Usage.d.ts.map +1 -0
- package/lib/server/models/Usage.js +36 -0
- package/lib/server/models/Usage.js.map +1 -0
- package/lib/stores/ConceptTreeState.d.ts +34 -0
- package/lib/stores/ConceptTreeState.d.ts.map +1 -0
- package/lib/stores/ConceptTreeState.js +117 -0
- package/lib/stores/ConceptTreeState.js.map +1 -0
- package/lib/stores/DiagramEditorState.d.ts +40 -0
- package/lib/stores/DiagramEditorState.d.ts.map +1 -0
- package/lib/stores/DiagramEditorState.js +90 -0
- package/lib/stores/DiagramEditorState.js.map +1 -0
- package/lib/stores/DirectoryTreeState.d.ts +35 -0
- package/lib/stores/DirectoryTreeState.d.ts.map +1 -0
- package/lib/stores/DirectoryTreeState.js +119 -0
- package/lib/stores/DirectoryTreeState.js.map +1 -0
- package/lib/stores/EditorConfig.d.ts +25 -0
- package/lib/stores/EditorConfig.d.ts.map +1 -0
- package/lib/stores/EditorConfig.js +27 -0
- package/lib/stores/EditorConfig.js.map +1 -0
- package/lib/stores/EditorStore.d.ts +102 -0
- package/lib/stores/EditorStore.d.ts.map +1 -0
- package/lib/stores/EditorStore.js +761 -0
- package/lib/stores/EditorStore.js.map +1 -0
- package/lib/stores/EditorTabManagerState.d.ts +31 -0
- package/lib/stores/EditorTabManagerState.d.ts.map +1 -0
- package/lib/stores/EditorTabManagerState.js +62 -0
- package/lib/stores/EditorTabManagerState.js.map +1 -0
- package/lib/stores/FileEditorState.d.ts +37 -0
- package/lib/stores/FileEditorState.d.ts.map +1 -0
- package/lib/stores/FileEditorState.js +99 -0
- package/lib/stores/FileEditorState.js.map +1 -0
- package/lib/stores/LegendPureIDEApplicationPlugin.d.ts +26 -0
- package/lib/stores/LegendPureIDEApplicationPlugin.d.ts.map +1 -0
- package/lib/stores/LegendPureIDEApplicationPlugin.js +27 -0
- package/lib/stores/LegendPureIDEApplicationPlugin.js.map +1 -0
- package/lib/stores/LegendPureIDEBaseStore.d.ts +25 -0
- package/lib/stores/LegendPureIDEBaseStore.d.ts.map +1 -0
- package/lib/stores/LegendPureIDEBaseStore.js +25 -0
- package/lib/stores/LegendPureIDEBaseStore.js.map +1 -0
- package/lib/stores/LegendPureIDECommand.d.ts +32 -0
- package/lib/stores/LegendPureIDECommand.d.ts.map +1 -0
- package/lib/stores/LegendPureIDECommand.js +82 -0
- package/lib/stores/LegendPureIDECommand.js.map +1 -0
- package/lib/stores/SearchCommandState.d.ts +28 -0
- package/lib/stores/SearchCommandState.d.ts.map +1 -0
- package/lib/stores/SearchCommandState.js +53 -0
- package/lib/stores/SearchCommandState.js.map +1 -0
- package/lib/stores/SearchResultState.d.ts +43 -0
- package/lib/stores/SearchResultState.d.ts.map +1 -0
- package/lib/stores/SearchResultState.js +92 -0
- package/lib/stores/SearchResultState.js.map +1 -0
- package/lib/stores/TestRunnerState.d.ts +87 -0
- package/lib/stores/TestRunnerState.d.ts.map +1 -0
- package/lib/stores/TestRunnerState.js +336 -0
- package/lib/stores/TestRunnerState.js.map +1 -0
- package/lib/stores/TreeState.d.ts +42 -0
- package/lib/stores/TreeState.d.ts.map +1 -0
- package/lib/stores/TreeState.js +139 -0
- package/lib/stores/TreeState.js.map +1 -0
- package/package.json +85 -0
- package/src/application/LegendPureIDE.tsx +73 -0
- package/src/application/LegendPureIDEApplicationConfig.ts +58 -0
- package/src/application/LegendPureIDEPluginManager.ts +67 -0
- package/src/components/Core_LegendPureIDEApplicationPlugin.tsx +37 -0
- package/src/components/LegendPureIDEApplication.tsx +27 -0
- package/src/components/LegendPureIDEBaseStoreProvider.tsx +57 -0
- package/src/components/editor/ActivityBar.tsx +74 -0
- package/src/components/editor/Editor.tsx +180 -0
- package/src/components/editor/EditorStoreProvider.tsx +57 -0
- package/src/components/editor/StatusBar.tsx +95 -0
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +155 -0
- package/src/components/editor/aux-panel/ConsolePanel.tsx +49 -0
- package/src/components/editor/aux-panel/SearchPanel.tsx +421 -0
- package/src/components/editor/aux-panel/TestRunnerPanel.tsx +455 -0
- package/src/components/editor/command-center/CreateNewDirectoryCommand.tsx +86 -0
- package/src/components/editor/command-center/CreateNewFileCommand.tsx +84 -0
- package/src/components/editor/command-center/FileSearchCommand.tsx +112 -0
- package/src/components/editor/command-center/TextSearchCommand.tsx +103 -0
- package/src/components/editor/edit-panel/DiagramEditor.tsx +108 -0
- package/src/components/editor/edit-panel/EditPanel.tsx +114 -0
- package/src/components/editor/edit-panel/FileEditor.tsx +156 -0
- package/src/components/editor/shared/ConceptIconUtils.tsx +78 -0
- package/src/components/editor/side-bar/ConceptTreeExplorer.tsx +401 -0
- package/src/components/editor/side-bar/DirectoryTreeExplorer.tsx +366 -0
- package/src/components/editor/side-bar/SideBar.tsx +51 -0
- package/src/index.tsx +46 -0
- package/src/server/PureServerClient.ts +299 -0
- package/src/server/models/Command.ts +40 -0
- package/src/server/models/ConceptTree.ts +152 -0
- package/src/server/models/DiagramInfo.ts +793 -0
- package/src/server/models/DirectoryTree.ts +100 -0
- package/src/server/models/Execution.ts +223 -0
- package/src/server/models/Initialization.ts +92 -0
- package/src/server/models/PureFile.ts +76 -0
- package/src/server/models/SearchEntry.ts +85 -0
- package/src/server/models/SourceInformation.ts +37 -0
- package/src/server/models/Test.ts +125 -0
- package/src/server/models/Usage.ts +49 -0
- package/src/stores/ConceptTreeState.ts +156 -0
- package/src/stores/DiagramEditorState.ts +150 -0
- package/src/stores/DirectoryTreeState.ts +168 -0
- package/src/stores/EditorConfig.ts +26 -0
- package/src/stores/EditorStore.ts +1087 -0
- package/src/stores/EditorTabManagerState.ts +74 -0
- package/src/stores/FileEditorState.ts +148 -0
- package/src/stores/LegendPureIDEApplicationPlugin.ts +30 -0
- package/src/stores/LegendPureIDEBaseStore.ts +36 -0
- package/src/stores/LegendPureIDECommand.ts +84 -0
- package/src/stores/SearchCommandState.ts +61 -0
- package/src/stores/SearchResultState.ts +131 -0
- package/src/stores/TestRunnerState.ts +470 -0
- package/src/stores/TreeState.ts +179 -0
- package/tsconfig.json +98 -0
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
import { deserialize } from 'serializr';
|
|
17
|
+
import { TreeState } from './TreeState.js';
|
|
18
|
+
import { DirectoryNode, } from '../server/models/DirectoryTree.js';
|
|
19
|
+
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
20
|
+
import { ACTIVITY_MODE } from './EditorConfig.js';
|
|
21
|
+
import { assertTrue, guaranteeNonNullable, } from '@finos/legend-shared';
|
|
22
|
+
const getParentPath = (path) => {
|
|
23
|
+
const trimmedPath = path.trim();
|
|
24
|
+
const idx = trimmedPath.lastIndexOf('/');
|
|
25
|
+
if (idx <= 0) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
return trimmedPath.substring(0, idx);
|
|
29
|
+
};
|
|
30
|
+
const isFilePath = (path) => path.endsWith('.pure');
|
|
31
|
+
const pathToId = (path) => `file_${path}`;
|
|
32
|
+
export class DirectoryTreeState extends TreeState {
|
|
33
|
+
nodeForCreateNewFile;
|
|
34
|
+
nodeForCreateNewDirectory;
|
|
35
|
+
constructor(editorStore) {
|
|
36
|
+
super(editorStore);
|
|
37
|
+
makeObservable(this, {
|
|
38
|
+
nodeForCreateNewFile: observable,
|
|
39
|
+
nodeForCreateNewDirectory: observable,
|
|
40
|
+
setNodeForCreateNewFile: action,
|
|
41
|
+
setNodeForCreateNewDirectory: action,
|
|
42
|
+
revealPath: flow,
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
setNodeForCreateNewFile = (value) => {
|
|
46
|
+
assertTrue(!value || value.data.isFolderNode, 'Node selected for creating a new file from must be a directory');
|
|
47
|
+
this.nodeForCreateNewFile = value;
|
|
48
|
+
};
|
|
49
|
+
setNodeForCreateNewDirectory = (value) => {
|
|
50
|
+
assertTrue(!value || value.data.isFolderNode, 'Node selected for creating a new directory from must be a directory');
|
|
51
|
+
this.nodeForCreateNewDirectory = value;
|
|
52
|
+
};
|
|
53
|
+
async getRootNodes() {
|
|
54
|
+
return (await this.editorStore.client.getDirectoryChildren()).map((node) => deserialize(DirectoryNode, node));
|
|
55
|
+
}
|
|
56
|
+
buildTreeData(rootNodes) {
|
|
57
|
+
const rootIds = [];
|
|
58
|
+
const nodes = new Map();
|
|
59
|
+
rootNodes.forEach((node) => {
|
|
60
|
+
const id = node.li_attr.id;
|
|
61
|
+
rootIds.push(id);
|
|
62
|
+
nodes.set(id, {
|
|
63
|
+
data: node,
|
|
64
|
+
id,
|
|
65
|
+
label: node.text,
|
|
66
|
+
isLoading: false,
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
return { rootIds, nodes };
|
|
70
|
+
}
|
|
71
|
+
async getChildNodes(node) {
|
|
72
|
+
return (await this.editorStore.client.getDirectoryChildren(node.data.li_attr.path)).map((child) => deserialize(DirectoryNode, child));
|
|
73
|
+
}
|
|
74
|
+
processChildNodes(node, childNodes) {
|
|
75
|
+
const treeData = this.getTreeData();
|
|
76
|
+
const childrenIds = [];
|
|
77
|
+
childNodes.forEach((childNode) => {
|
|
78
|
+
const id = childNode.li_attr.id;
|
|
79
|
+
childrenIds.push(id);
|
|
80
|
+
treeData.nodes.set(id, {
|
|
81
|
+
data: childNode,
|
|
82
|
+
id,
|
|
83
|
+
label: childNode.text,
|
|
84
|
+
isLoading: false,
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
node.childrenIds = childrenIds;
|
|
88
|
+
}
|
|
89
|
+
*openNode(node) {
|
|
90
|
+
if (node.data.isFileNode) {
|
|
91
|
+
yield flowResult(this.editorStore.loadFile(node.data.li_attr.path));
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
*revealPath(path, forceOpenDirectoryTreePanel, coordinate) {
|
|
95
|
+
if (forceOpenDirectoryTreePanel) {
|
|
96
|
+
this.editorStore.setActiveActivity(ACTIVITY_MODE.FILE, {
|
|
97
|
+
keepShowingIfMatchedCurrent: true,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
const paths = [];
|
|
101
|
+
let currentPath = path;
|
|
102
|
+
while (currentPath) {
|
|
103
|
+
paths.unshift(currentPath);
|
|
104
|
+
currentPath = getParentPath(currentPath);
|
|
105
|
+
}
|
|
106
|
+
for (const _path of paths) {
|
|
107
|
+
if (!isFilePath(_path)) {
|
|
108
|
+
const node = guaranteeNonNullable(this.getTreeData().nodes.get(pathToId(_path)), `Can't find directory node with path '${_path}'`);
|
|
109
|
+
yield flowResult(this.expandNode(node));
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
yield flowResult(this.editorStore.loadFile(_path, coordinate));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
const fileNode = guaranteeNonNullable(this.getTreeData().nodes.get(pathToId(path)), `Can't find file node with path '${path}'`);
|
|
116
|
+
this.setSelectedNode(fileNode);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=DirectoryTreeState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DirectoryTreeState.js","sourceRoot":"","sources":["../../src/stores/DirectoryTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAEL,aAAa,GACd,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAG5E,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAEL,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAG9B,MAAM,aAAa,GAAG,CAAC,IAAY,EAAsB,EAAE;IACzD,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IAChC,MAAM,GAAG,GAAG,WAAW,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IACzC,IAAI,GAAG,IAAI,CAAC,EAAE;QACZ,OAAO,SAAS,CA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AAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAC5C,mCAAmC,IAAI,GAAG,CAC3C,CAAC;QACF,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IACjC,CAAC;CACF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
export declare enum ACTIVITY_MODE {
|
|
17
|
+
CONCEPT = "CONCEPT",
|
|
18
|
+
FILE = "FILE"
|
|
19
|
+
}
|
|
20
|
+
export declare enum AUX_PANEL_MODE {
|
|
21
|
+
CONSOLE = "CONSOLE",
|
|
22
|
+
SEARCH_RESULT = "SEARCH_RESULT",
|
|
23
|
+
TEST_RUNNER = "TEST_RUNNER"
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=EditorConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorConfig.d.ts","sourceRoot":"","sources":["../../src/stores/EditorConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;CAC5B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
export var ACTIVITY_MODE;
|
|
17
|
+
(function (ACTIVITY_MODE) {
|
|
18
|
+
ACTIVITY_MODE["CONCEPT"] = "CONCEPT";
|
|
19
|
+
ACTIVITY_MODE["FILE"] = "FILE";
|
|
20
|
+
})(ACTIVITY_MODE = ACTIVITY_MODE || (ACTIVITY_MODE = {}));
|
|
21
|
+
export var AUX_PANEL_MODE;
|
|
22
|
+
(function (AUX_PANEL_MODE) {
|
|
23
|
+
AUX_PANEL_MODE["CONSOLE"] = "CONSOLE";
|
|
24
|
+
AUX_PANEL_MODE["SEARCH_RESULT"] = "SEARCH_RESULT";
|
|
25
|
+
AUX_PANEL_MODE["TEST_RUNNER"] = "TEST_RUNNER";
|
|
26
|
+
})(AUX_PANEL_MODE = AUX_PANEL_MODE || (AUX_PANEL_MODE = {}));
|
|
27
|
+
//# sourceMappingURL=EditorConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorConfig.js","sourceRoot":"","sources":["../../src/stores/EditorConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,8BAAa,CAAA;AACf,CAAC,EAHW,aAAa,GAAb,aAAa,KAAb,aAAa,QAGxB;AAED,MAAM,CAAN,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,iDAA+B,CAAA;IAC/B,6CAA2B,CAAA;AAC7B,CAAC,EAJW,cAAc,GAAd,cAAc,KAAd,cAAc,QAIzB"}
|
|
@@ -0,0 +1,102 @@
|
|
|
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
|
+
import { ACTIVITY_MODE, AUX_PANEL_MODE } from './EditorConfig.js';
|
|
17
|
+
import { FileCoordinate } from '../server/models/PureFile.js';
|
|
18
|
+
import { DirectoryTreeState } from './DirectoryTreeState.js';
|
|
19
|
+
import { ConceptTreeState } from './ConceptTreeState.js';
|
|
20
|
+
import { type InitializationActivity } from '../server/models/Initialization.js';
|
|
21
|
+
import { type CandidateWithPackageNotImported, type ExecutionResult } from '../server/models/Execution.js';
|
|
22
|
+
import { type SearchState } from './SearchResultState.js';
|
|
23
|
+
import { TestRunnerState } from './TestRunnerState.js';
|
|
24
|
+
import { type CommandResult } from '../server/models/Command.js';
|
|
25
|
+
import { type CommandRegistrar } from '@finos/legend-application';
|
|
26
|
+
import { type GeneratorFn, type PlainObject, ActionState } from '@finos/legend-shared';
|
|
27
|
+
import { PureClient as PureServerClient } from '../server/PureServerClient.js';
|
|
28
|
+
import { PanelDisplayState } from '@finos/legend-art';
|
|
29
|
+
import type { LegendPureIDEApplicationStore } from './LegendPureIDEBaseStore.js';
|
|
30
|
+
import { SearchCommandState } from './SearchCommandState.js';
|
|
31
|
+
import { EditorTabManagerState } from './EditorTabManagerState.js';
|
|
32
|
+
export declare class EditorStore implements CommandRegistrar {
|
|
33
|
+
readonly applicationStore: LegendPureIDEApplicationStore;
|
|
34
|
+
readonly initState: ActionState;
|
|
35
|
+
readonly directoryTreeState: DirectoryTreeState;
|
|
36
|
+
readonly conceptTreeState: ConceptTreeState;
|
|
37
|
+
readonly client: PureServerClient;
|
|
38
|
+
isMaxAuxPanelSizeSet: boolean;
|
|
39
|
+
activeAuxPanelMode: AUX_PANEL_MODE;
|
|
40
|
+
readonly auxPanelDisplayState: PanelDisplayState;
|
|
41
|
+
activeActivity?: ACTIVITY_MODE;
|
|
42
|
+
readonly sideBarDisplayState: PanelDisplayState;
|
|
43
|
+
readonly tabManagerState: EditorTabManagerState;
|
|
44
|
+
readonly executionState: ActionState;
|
|
45
|
+
navigationStack: FileCoordinate[];
|
|
46
|
+
consoleText?: string | undefined;
|
|
47
|
+
readonly fileSearchCommandLoadingState: ActionState;
|
|
48
|
+
readonly fileSearchCommandState: SearchCommandState;
|
|
49
|
+
openFileSearchCommand: boolean;
|
|
50
|
+
fileSearchCommandResults: string[];
|
|
51
|
+
readonly textSearchCommandLoadingState: ActionState;
|
|
52
|
+
readonly textSearchCommandState: SearchCommandState;
|
|
53
|
+
openTextSearchCommand: boolean;
|
|
54
|
+
searchState?: SearchState | undefined;
|
|
55
|
+
readonly testRunState: ActionState;
|
|
56
|
+
testRunnerState?: TestRunnerState | undefined;
|
|
57
|
+
constructor(applicationStore: LegendPureIDEApplicationStore);
|
|
58
|
+
setOpenFileSearchCommand(val: boolean): void;
|
|
59
|
+
setOpenTextSearchCommand(val: boolean): void;
|
|
60
|
+
setActiveAuxPanelMode(val: AUX_PANEL_MODE): void;
|
|
61
|
+
setConsoleText(value: string | undefined): void;
|
|
62
|
+
setSearchState(val: SearchState | undefined): void;
|
|
63
|
+
setTestRunnerState(val: TestRunnerState | undefined): void;
|
|
64
|
+
cleanUp(): void;
|
|
65
|
+
/**
|
|
66
|
+
* This is the entry of the app logic where initialization of editor states happens
|
|
67
|
+
* Here, we ensure the order of calls after checking existence of current project and workspace
|
|
68
|
+
* If either of them does not exist, we cannot proceed.
|
|
69
|
+
*/
|
|
70
|
+
initialize(fullInit: boolean, func: (() => Promise<void>) | undefined, mode: string | undefined, fastCompile: string | undefined): GeneratorFn<void>;
|
|
71
|
+
checkIfSessionWakingUp(message?: string): GeneratorFn<void>;
|
|
72
|
+
pullInitializationActivity(fn?: (activity: InitializationActivity) => void): Promise<void>;
|
|
73
|
+
registerCommands(): void;
|
|
74
|
+
deregisterCommands(): void;
|
|
75
|
+
setActiveActivity(activity: ACTIVITY_MODE, options?: {
|
|
76
|
+
keepShowingIfMatchedCurrent?: boolean;
|
|
77
|
+
}): void;
|
|
78
|
+
loadDiagram(filePath: string, diagramPath: string): GeneratorFn<void>;
|
|
79
|
+
loadFile(path: string, coordinate?: FileCoordinate): GeneratorFn<void>;
|
|
80
|
+
reloadFile(filePath: string): GeneratorFn<void>;
|
|
81
|
+
execute(url: string, extraParams: Record<PropertyKey, unknown>, checkExecutionStatus: boolean, manageResult: (result: ExecutionResult) => Promise<void>): GeneratorFn<void>;
|
|
82
|
+
pullExecutionStatus(): Promise<void>;
|
|
83
|
+
executeGo(): GeneratorFn<void>;
|
|
84
|
+
manageExecuteGoResult(result: ExecutionResult): GeneratorFn<void>;
|
|
85
|
+
executeTests(path: string, relevantTestsOnly?: boolean): GeneratorFn<void>;
|
|
86
|
+
executeFullTestSuite(relevantTestsOnly?: boolean): GeneratorFn<void>;
|
|
87
|
+
executeNavigation(coordinate: FileCoordinate): GeneratorFn<void>;
|
|
88
|
+
navigateBack(): GeneratorFn<void>;
|
|
89
|
+
executeSaveAndReset(fullInit: boolean): GeneratorFn<void>;
|
|
90
|
+
fullReCompile(fullInit: boolean): GeneratorFn<void>;
|
|
91
|
+
refreshTrees(): GeneratorFn<void>;
|
|
92
|
+
updateFileUsingSuggestionCandidate(candidate: CandidateWithPackageNotImported): GeneratorFn<void>;
|
|
93
|
+
updateFile(path: string, line: number, column: number, add: boolean, message: string): GeneratorFn<void>;
|
|
94
|
+
searchFile(): GeneratorFn<void>;
|
|
95
|
+
searchText(): GeneratorFn<void>;
|
|
96
|
+
findUsages(coordinate: FileCoordinate): GeneratorFn<void>;
|
|
97
|
+
command(cmd: () => Promise<PlainObject<CommandResult>>): GeneratorFn<boolean>;
|
|
98
|
+
createNewDirectory(path: string): GeneratorFn<void>;
|
|
99
|
+
createNewFile(path: string): GeneratorFn<void>;
|
|
100
|
+
deleteDirectoryOrFile(path: string, isDirectory: boolean, hasChildContent: boolean): GeneratorFn<void>;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=EditorStore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorStore.d.ts","sourceRoot":"","sources":["../../src/stores/EditorStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGlE,OAAO,EACL,cAAc,EAGf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EACL,KAAK,sBAAsB,EAK5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,KAAK,+BAA+B,EAEpC,KAAK,eAAe,EAQrB,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EACL,KAAK,WAAW,EAKjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CA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