@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.
Files changed (269) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/lib/application/LegendPureIDE.d.ts +26 -0
  4. package/lib/application/LegendPureIDE.d.ts.map +1 -0
  5. package/lib/application/LegendPureIDE.js +43 -0
  6. package/lib/application/LegendPureIDE.js.map +1 -0
  7. package/lib/application/LegendPureIDEApplicationConfig.d.ts +28 -0
  8. package/lib/application/LegendPureIDEApplicationConfig.d.ts.map +1 -0
  9. package/lib/application/LegendPureIDEApplicationConfig.js +30 -0
  10. package/lib/application/LegendPureIDEApplicationConfig.js.map +1 -0
  11. package/lib/application/LegendPureIDEPluginManager.d.ts +32 -0
  12. package/lib/application/LegendPureIDEPluginManager.d.ts.map +1 -0
  13. package/lib/application/LegendPureIDEPluginManager.js +46 -0
  14. package/lib/application/LegendPureIDEPluginManager.js.map +1 -0
  15. package/lib/components/Core_LegendPureIDEApplicationPlugin.d.ts +23 -0
  16. package/lib/components/Core_LegendPureIDEApplicationPlugin.d.ts.map +1 -0
  17. package/lib/components/Core_LegendPureIDEApplicationPlugin.js +29 -0
  18. package/lib/components/Core_LegendPureIDEApplicationPlugin.js.map +1 -0
  19. package/lib/components/LegendPureIDEApplication.d.ts +18 -0
  20. package/lib/components/LegendPureIDEApplication.d.ts.map +1 -0
  21. package/lib/components/LegendPureIDEApplication.js +21 -0
  22. package/lib/components/LegendPureIDEApplication.js.map +1 -0
  23. package/lib/components/LegendPureIDEBaseStoreProvider.d.ts +23 -0
  24. package/lib/components/LegendPureIDEBaseStoreProvider.d.ts.map +1 -0
  25. package/lib/components/LegendPureIDEBaseStoreProvider.js +30 -0
  26. package/lib/components/LegendPureIDEBaseStoreProvider.js.map +1 -0
  27. package/lib/components/editor/ActivityBar.d.ts +20 -0
  28. package/lib/components/editor/ActivityBar.d.ts.map +1 -0
  29. package/lib/components/editor/ActivityBar.js +41 -0
  30. package/lib/components/editor/ActivityBar.js.map +1 -0
  31. package/lib/components/editor/Editor.d.ts +18 -0
  32. package/lib/components/editor/Editor.d.ts.map +1 -0
  33. package/lib/components/editor/Editor.js +80 -0
  34. package/lib/components/editor/Editor.js.map +1 -0
  35. package/lib/components/editor/EditorStoreProvider.d.ts +22 -0
  36. package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -0
  37. package/lib/components/editor/EditorStoreProvider.js +32 -0
  38. package/lib/components/editor/EditorStoreProvider.js.map +1 -0
  39. package/lib/components/editor/StatusBar.d.ts +22 -0
  40. package/lib/components/editor/StatusBar.d.ts.map +1 -0
  41. package/lib/components/editor/StatusBar.js +39 -0
  42. package/lib/components/editor/StatusBar.js.map +1 -0
  43. package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +20 -0
  44. package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -0
  45. package/lib/components/editor/aux-panel/AuxiliaryPanel.js +65 -0
  46. package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -0
  47. package/lib/components/editor/aux-panel/ConsolePanel.d.ts +20 -0
  48. package/lib/components/editor/aux-panel/ConsolePanel.d.ts.map +1 -0
  49. package/lib/components/editor/aux-panel/ConsolePanel.js +24 -0
  50. package/lib/components/editor/aux-panel/ConsolePanel.js.map +1 -0
  51. package/lib/components/editor/aux-panel/SearchPanel.d.ts +20 -0
  52. package/lib/components/editor/aux-panel/SearchPanel.d.ts.map +1 -0
  53. package/lib/components/editor/aux-panel/SearchPanel.js +90 -0
  54. package/lib/components/editor/aux-panel/SearchPanel.js.map +1 -0
  55. package/lib/components/editor/aux-panel/TestRunnerPanel.d.ts +20 -0
  56. package/lib/components/editor/aux-panel/TestRunnerPanel.d.ts.map +1 -0
  57. package/lib/components/editor/aux-panel/TestRunnerPanel.js +151 -0
  58. package/lib/components/editor/aux-panel/TestRunnerPanel.js.map +1 -0
  59. package/lib/components/editor/command-center/CreateNewDirectoryCommand.d.ts +20 -0
  60. package/lib/components/editor/command-center/CreateNewDirectoryCommand.d.ts.map +1 -0
  61. package/lib/components/editor/command-center/CreateNewDirectoryCommand.js +48 -0
  62. package/lib/components/editor/command-center/CreateNewDirectoryCommand.js.map +1 -0
  63. package/lib/components/editor/command-center/CreateNewFileCommand.d.ts +20 -0
  64. package/lib/components/editor/command-center/CreateNewFileCommand.d.ts.map +1 -0
  65. package/lib/components/editor/command-center/CreateNewFileCommand.js +48 -0
  66. package/lib/components/editor/command-center/CreateNewFileCommand.js.map +1 -0
  67. package/lib/components/editor/command-center/FileSearchCommand.d.ts +20 -0
  68. package/lib/components/editor/command-center/FileSearchCommand.d.ts.map +1 -0
  69. package/lib/components/editor/command-center/FileSearchCommand.js +60 -0
  70. package/lib/components/editor/command-center/FileSearchCommand.js.map +1 -0
  71. package/lib/components/editor/command-center/TextSearchCommand.d.ts +20 -0
  72. package/lib/components/editor/command-center/TextSearchCommand.d.ts.map +1 -0
  73. package/lib/components/editor/command-center/TextSearchCommand.js +50 -0
  74. package/lib/components/editor/command-center/TextSearchCommand.js.map +1 -0
  75. package/lib/components/editor/edit-panel/DiagramEditor.d.ts +23 -0
  76. package/lib/components/editor/edit-panel/DiagramEditor.d.ts.map +1 -0
  77. package/lib/components/editor/edit-panel/DiagramEditor.js +71 -0
  78. package/lib/components/editor/edit-panel/DiagramEditor.js.map +1 -0
  79. package/lib/components/editor/edit-panel/EditPanel.d.ts +21 -0
  80. package/lib/components/editor/edit-panel/EditPanel.d.ts.map +1 -0
  81. package/lib/components/editor/edit-panel/EditPanel.js +55 -0
  82. package/lib/components/editor/edit-panel/EditPanel.js.map +1 -0
  83. package/lib/components/editor/edit-panel/FileEditor.d.ts +23 -0
  84. package/lib/components/editor/edit-panel/FileEditor.d.ts.map +1 -0
  85. package/lib/components/editor/edit-panel/FileEditor.js +114 -0
  86. package/lib/components/editor/edit-panel/FileEditor.js.map +1 -0
  87. package/lib/components/editor/shared/ConceptIconUtils.d.ts +17 -0
  88. package/lib/components/editor/shared/ConceptIconUtils.d.ts.map +1 -0
  89. package/lib/components/editor/shared/ConceptIconUtils.js +50 -0
  90. package/lib/components/editor/shared/ConceptIconUtils.js.map +1 -0
  91. package/lib/components/editor/side-bar/ConceptTreeExplorer.d.ts +24 -0
  92. package/lib/components/editor/side-bar/ConceptTreeExplorer.d.ts.map +1 -0
  93. package/lib/components/editor/side-bar/ConceptTreeExplorer.js +165 -0
  94. package/lib/components/editor/side-bar/ConceptTreeExplorer.js.map +1 -0
  95. package/lib/components/editor/side-bar/DirectoryTreeExplorer.d.ts +20 -0
  96. package/lib/components/editor/side-bar/DirectoryTreeExplorer.d.ts.map +1 -0
  97. package/lib/components/editor/side-bar/DirectoryTreeExplorer.js +142 -0
  98. package/lib/components/editor/side-bar/DirectoryTreeExplorer.js.map +1 -0
  99. package/lib/components/editor/side-bar/SideBar.d.ts +23 -0
  100. package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -0
  101. package/lib/components/editor/side-bar/SideBar.js +40 -0
  102. package/lib/components/editor/side-bar/SideBar.js.map +1 -0
  103. package/lib/extensions.css +17 -0
  104. package/lib/extensions.css.map +1 -0
  105. package/lib/index.css +17 -0
  106. package/lib/index.css.map +1 -0
  107. package/lib/index.d.ts +22 -0
  108. package/lib/index.d.ts.map +1 -0
  109. package/lib/index.js +39 -0
  110. package/lib/index.js.map +1 -0
  111. package/lib/package.json +85 -0
  112. package/lib/server/PureServerClient.d.ts +55 -0
  113. package/lib/server/PureServerClient.d.ts.map +1 -0
  114. package/lib/server/PureServerClient.js +120 -0
  115. package/lib/server/PureServerClient.js.map +1 -0
  116. package/lib/server/models/Command.d.ts +24 -0
  117. package/lib/server/models/Command.d.ts.map +1 -0
  118. package/lib/server/models/Command.js +35 -0
  119. package/lib/server/models/Command.js.map +1 -0
  120. package/lib/server/models/ConceptTree.d.ts +76 -0
  121. package/lib/server/models/ConceptTree.d.ts.map +1 -0
  122. package/lib/server/models/ConceptTree.js +116 -0
  123. package/lib/server/models/ConceptTree.js.map +1 -0
  124. package/lib/server/models/DiagramInfo.d.ts +144 -0
  125. package/lib/server/models/DiagramInfo.d.ts.map +1 -0
  126. package/lib/server/models/DiagramInfo.js +478 -0
  127. package/lib/server/models/DiagramInfo.js.map +1 -0
  128. package/lib/server/models/DirectoryTree.d.ts +37 -0
  129. package/lib/server/models/DirectoryTree.d.ts.map +1 -0
  130. package/lib/server/models/DirectoryTree.js +70 -0
  131. package/lib/server/models/DirectoryTree.js.map +1 -0
  132. package/lib/server/models/Execution.d.ts +100 -0
  133. package/lib/server/models/Execution.d.ts.map +1 -0
  134. package/lib/server/models/Execution.js +183 -0
  135. package/lib/server/models/Execution.js.map +1 -0
  136. package/lib/server/models/Initialization.d.ts +49 -0
  137. package/lib/server/models/Initialization.d.ts.map +1 -0
  138. package/lib/server/models/Initialization.js +64 -0
  139. package/lib/server/models/Initialization.js.map +1 -0
  140. package/lib/server/models/PureFile.d.ts +34 -0
  141. package/lib/server/models/PureFile.d.ts.map +1 -0
  142. package/lib/server/models/PureFile.js +56 -0
  143. package/lib/server/models/PureFile.js.map +1 -0
  144. package/lib/server/models/SearchEntry.d.ts +36 -0
  145. package/lib/server/models/SearchEntry.d.ts.map +1 -0
  146. package/lib/server/models/SearchEntry.js +63 -0
  147. package/lib/server/models/SearchEntry.js.map +1 -0
  148. package/lib/server/models/SourceInformation.d.ts +25 -0
  149. package/lib/server/models/SourceInformation.d.ts.map +1 -0
  150. package/lib/server/models/SourceInformation.js +35 -0
  151. package/lib/server/models/SourceInformation.js.map +1 -0
  152. package/lib/server/models/Test.d.ts +57 -0
  153. package/lib/server/models/Test.d.ts.map +1 -0
  154. package/lib/server/models/Test.js +92 -0
  155. package/lib/server/models/Test.js.map +1 -0
  156. package/lib/server/models/Usage.d.ts +31 -0
  157. package/lib/server/models/Usage.d.ts.map +1 -0
  158. package/lib/server/models/Usage.js +36 -0
  159. package/lib/server/models/Usage.js.map +1 -0
  160. package/lib/stores/ConceptTreeState.d.ts +34 -0
  161. package/lib/stores/ConceptTreeState.d.ts.map +1 -0
  162. package/lib/stores/ConceptTreeState.js +117 -0
  163. package/lib/stores/ConceptTreeState.js.map +1 -0
  164. package/lib/stores/DiagramEditorState.d.ts +40 -0
  165. package/lib/stores/DiagramEditorState.d.ts.map +1 -0
  166. package/lib/stores/DiagramEditorState.js +90 -0
  167. package/lib/stores/DiagramEditorState.js.map +1 -0
  168. package/lib/stores/DirectoryTreeState.d.ts +35 -0
  169. package/lib/stores/DirectoryTreeState.d.ts.map +1 -0
  170. package/lib/stores/DirectoryTreeState.js +119 -0
  171. package/lib/stores/DirectoryTreeState.js.map +1 -0
  172. package/lib/stores/EditorConfig.d.ts +25 -0
  173. package/lib/stores/EditorConfig.d.ts.map +1 -0
  174. package/lib/stores/EditorConfig.js +27 -0
  175. package/lib/stores/EditorConfig.js.map +1 -0
  176. package/lib/stores/EditorStore.d.ts +102 -0
  177. package/lib/stores/EditorStore.d.ts.map +1 -0
  178. package/lib/stores/EditorStore.js +761 -0
  179. package/lib/stores/EditorStore.js.map +1 -0
  180. package/lib/stores/EditorTabManagerState.d.ts +31 -0
  181. package/lib/stores/EditorTabManagerState.d.ts.map +1 -0
  182. package/lib/stores/EditorTabManagerState.js +62 -0
  183. package/lib/stores/EditorTabManagerState.js.map +1 -0
  184. package/lib/stores/FileEditorState.d.ts +37 -0
  185. package/lib/stores/FileEditorState.d.ts.map +1 -0
  186. package/lib/stores/FileEditorState.js +99 -0
  187. package/lib/stores/FileEditorState.js.map +1 -0
  188. package/lib/stores/LegendPureIDEApplicationPlugin.d.ts +26 -0
  189. package/lib/stores/LegendPureIDEApplicationPlugin.d.ts.map +1 -0
  190. package/lib/stores/LegendPureIDEApplicationPlugin.js +27 -0
  191. package/lib/stores/LegendPureIDEApplicationPlugin.js.map +1 -0
  192. package/lib/stores/LegendPureIDEBaseStore.d.ts +25 -0
  193. package/lib/stores/LegendPureIDEBaseStore.d.ts.map +1 -0
  194. package/lib/stores/LegendPureIDEBaseStore.js +25 -0
  195. package/lib/stores/LegendPureIDEBaseStore.js.map +1 -0
  196. package/lib/stores/LegendPureIDECommand.d.ts +32 -0
  197. package/lib/stores/LegendPureIDECommand.d.ts.map +1 -0
  198. package/lib/stores/LegendPureIDECommand.js +82 -0
  199. package/lib/stores/LegendPureIDECommand.js.map +1 -0
  200. package/lib/stores/SearchCommandState.d.ts +28 -0
  201. package/lib/stores/SearchCommandState.d.ts.map +1 -0
  202. package/lib/stores/SearchCommandState.js +53 -0
  203. package/lib/stores/SearchCommandState.js.map +1 -0
  204. package/lib/stores/SearchResultState.d.ts +43 -0
  205. package/lib/stores/SearchResultState.d.ts.map +1 -0
  206. package/lib/stores/SearchResultState.js +92 -0
  207. package/lib/stores/SearchResultState.js.map +1 -0
  208. package/lib/stores/TestRunnerState.d.ts +87 -0
  209. package/lib/stores/TestRunnerState.d.ts.map +1 -0
  210. package/lib/stores/TestRunnerState.js +336 -0
  211. package/lib/stores/TestRunnerState.js.map +1 -0
  212. package/lib/stores/TreeState.d.ts +42 -0
  213. package/lib/stores/TreeState.d.ts.map +1 -0
  214. package/lib/stores/TreeState.js +139 -0
  215. package/lib/stores/TreeState.js.map +1 -0
  216. package/package.json +85 -0
  217. package/src/application/LegendPureIDE.tsx +73 -0
  218. package/src/application/LegendPureIDEApplicationConfig.ts +58 -0
  219. package/src/application/LegendPureIDEPluginManager.ts +67 -0
  220. package/src/components/Core_LegendPureIDEApplicationPlugin.tsx +37 -0
  221. package/src/components/LegendPureIDEApplication.tsx +27 -0
  222. package/src/components/LegendPureIDEBaseStoreProvider.tsx +57 -0
  223. package/src/components/editor/ActivityBar.tsx +74 -0
  224. package/src/components/editor/Editor.tsx +180 -0
  225. package/src/components/editor/EditorStoreProvider.tsx +57 -0
  226. package/src/components/editor/StatusBar.tsx +95 -0
  227. package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +155 -0
  228. package/src/components/editor/aux-panel/ConsolePanel.tsx +49 -0
  229. package/src/components/editor/aux-panel/SearchPanel.tsx +421 -0
  230. package/src/components/editor/aux-panel/TestRunnerPanel.tsx +455 -0
  231. package/src/components/editor/command-center/CreateNewDirectoryCommand.tsx +86 -0
  232. package/src/components/editor/command-center/CreateNewFileCommand.tsx +84 -0
  233. package/src/components/editor/command-center/FileSearchCommand.tsx +112 -0
  234. package/src/components/editor/command-center/TextSearchCommand.tsx +103 -0
  235. package/src/components/editor/edit-panel/DiagramEditor.tsx +108 -0
  236. package/src/components/editor/edit-panel/EditPanel.tsx +114 -0
  237. package/src/components/editor/edit-panel/FileEditor.tsx +156 -0
  238. package/src/components/editor/shared/ConceptIconUtils.tsx +78 -0
  239. package/src/components/editor/side-bar/ConceptTreeExplorer.tsx +401 -0
  240. package/src/components/editor/side-bar/DirectoryTreeExplorer.tsx +366 -0
  241. package/src/components/editor/side-bar/SideBar.tsx +51 -0
  242. package/src/index.tsx +46 -0
  243. package/src/server/PureServerClient.ts +299 -0
  244. package/src/server/models/Command.ts +40 -0
  245. package/src/server/models/ConceptTree.ts +152 -0
  246. package/src/server/models/DiagramInfo.ts +793 -0
  247. package/src/server/models/DirectoryTree.ts +100 -0
  248. package/src/server/models/Execution.ts +223 -0
  249. package/src/server/models/Initialization.ts +92 -0
  250. package/src/server/models/PureFile.ts +76 -0
  251. package/src/server/models/SearchEntry.ts +85 -0
  252. package/src/server/models/SourceInformation.ts +37 -0
  253. package/src/server/models/Test.ts +125 -0
  254. package/src/server/models/Usage.ts +49 -0
  255. package/src/stores/ConceptTreeState.ts +156 -0
  256. package/src/stores/DiagramEditorState.ts +150 -0
  257. package/src/stores/DirectoryTreeState.ts +168 -0
  258. package/src/stores/EditorConfig.ts +26 -0
  259. package/src/stores/EditorStore.ts +1087 -0
  260. package/src/stores/EditorTabManagerState.ts +74 -0
  261. package/src/stores/FileEditorState.ts +148 -0
  262. package/src/stores/LegendPureIDEApplicationPlugin.ts +30 -0
  263. package/src/stores/LegendPureIDEBaseStore.ts +36 -0
  264. package/src/stores/LegendPureIDECommand.ts +84 -0
  265. package/src/stores/SearchCommandState.ts +61 -0
  266. package/src/stores/SearchResultState.ts +131 -0
  267. package/src/stores/TestRunnerState.ts +470 -0
  268. package/src/stores/TreeState.ts +179 -0
  269. 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,CAAC;KAClB;IACD,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;AACvC,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,IAAY,EAAW,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACrE,MAAM,QAAQ,GAAG,CAA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+ *
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,CAAC;AAMvD,OAAO,EACL,KAAK,aAAa,EAGnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,WAAW,E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