@finos/legend-application-studio 19.0.0 → 20.0.0

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 (340) hide show
  1. package/lib/application/LegendStudioApplicationConfig.d.ts +6 -0
  2. package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
  3. package/lib/application/LegendStudioApplicationConfig.js +7 -0
  4. package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
  5. package/lib/components/EditorComponentTestUtils.d.ts +1 -1
  6. package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
  7. package/lib/components/EditorComponentTestUtils.js +23 -50
  8. package/lib/components/EditorComponentTestUtils.js.map +1 -1
  9. package/lib/components/EmbeddedQueryBuilder.d.ts +0 -1
  10. package/lib/components/EmbeddedQueryBuilder.d.ts.map +1 -1
  11. package/lib/components/LegendStudioApplication.d.ts +0 -1
  12. package/lib/components/LegendStudioApplication.d.ts.map +1 -1
  13. package/lib/components/editor/StatusBar.d.ts +0 -1
  14. package/lib/components/editor/StatusBar.d.ts.map +1 -1
  15. package/lib/components/editor/StatusBar.js +10 -3
  16. package/lib/components/editor/StatusBar.js.map +1 -1
  17. package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +0 -1
  18. package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -1
  19. package/lib/components/editor/aux-panel/AuxiliaryPanel.js +11 -3
  20. package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
  21. package/lib/components/editor/aux-panel/Console.d.ts +0 -1
  22. package/lib/components/editor/aux-panel/Console.d.ts.map +1 -1
  23. package/lib/components/editor/aux-panel/Console.js +2 -1
  24. package/lib/components/editor/aux-panel/Console.js.map +1 -1
  25. package/lib/components/editor/aux-panel/DevTool.d.ts +0 -1
  26. package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -1
  27. package/lib/components/editor/aux-panel/DevTool.js +4 -7
  28. package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
  29. package/lib/components/editor/aux-panel/Problems.d.ts +19 -0
  30. package/lib/components/editor/aux-panel/Problems.d.ts.map +1 -0
  31. package/lib/components/editor/aux-panel/Problems.js +48 -0
  32. package/lib/components/editor/aux-panel/Problems.js.map +1 -0
  33. package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +0 -1
  34. package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
  35. package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts +0 -1
  36. package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts.map +1 -1
  37. package/lib/components/editor/edit-panel/FunctionEditor.d.ts +0 -1
  38. package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
  39. package/lib/components/editor/edit-panel/FunctionEditor.js +31 -5
  40. package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
  41. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts +0 -1
  42. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts.map +1 -1
  43. package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
  44. package/lib/components/editor/edit-panel/GrammarTextEditor.js +36 -25
  45. package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
  46. package/lib/components/editor/edit-panel/ModelImporter.d.ts +0 -1
  47. package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
  48. package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +0 -1
  49. package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
  50. package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts +0 -1
  51. package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts.map +1 -1
  52. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +0 -1
  53. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
  54. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +0 -1
  55. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
  56. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +0 -1
  57. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
  58. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +0 -1
  59. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
  60. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +16 -16
  61. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  62. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +0 -1
  63. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
  64. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +4 -4
  65. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
  66. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +0 -1
  67. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
  68. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +0 -1
  69. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
  70. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +0 -1
  71. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
  72. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +20 -6
  73. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  74. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +0 -1
  75. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
  76. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +0 -1
  77. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
  78. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +0 -1
  79. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
  80. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +0 -1
  81. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts.map +1 -1
  82. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +0 -1
  83. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -1
  84. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +0 -1
  85. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -1
  86. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +0 -1
  87. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
  88. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +0 -1
  89. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
  90. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts +0 -1
  91. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -1
  92. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts +0 -1
  93. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
  94. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +2 -2
  95. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  96. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +0 -1
  97. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
  98. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts +0 -1
  99. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts.map +1 -1
  100. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +0 -1
  101. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
  102. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +0 -1
  103. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
  104. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +0 -1
  105. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
  106. package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts +0 -1
  107. package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts.map +1 -1
  108. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts +0 -1
  109. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts.map +1 -1
  110. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +0 -1
  111. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
  112. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +0 -1
  113. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
  114. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +0 -1
  115. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
  116. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts +0 -1
  117. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
  118. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +2 -2
  119. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  120. package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts +0 -1
  121. package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts.map +1 -1
  122. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts +0 -1
  123. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
  124. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +0 -1
  125. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
  126. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +0 -1
  127. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  128. package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts +0 -1
  129. package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts.map +1 -1
  130. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +0 -1
  131. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
  132. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +0 -1
  133. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
  134. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +0 -1
  135. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
  136. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +0 -1
  137. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
  138. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts +0 -1
  139. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.map +1 -1
  140. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +0 -1
  141. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
  142. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts +0 -1
  143. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts.map +1 -1
  144. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts +0 -1
  145. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts.map +1 -1
  146. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts +0 -1
  147. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts.map +1 -1
  148. package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts +0 -1
  149. package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts.map +1 -1
  150. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +0 -1
  151. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
  152. package/lib/components/editor/side-bar/Explorer.d.ts +0 -1
  153. package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
  154. package/lib/components/editor/side-bar/Explorer.js +15 -9
  155. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  156. package/lib/components/editor/side-bar/LocalChanges.d.ts +0 -1
  157. package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
  158. package/lib/components/editor/side-bar/ProjectOverview.d.ts +0 -1
  159. package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
  160. package/lib/components/editor/side-bar/ProjectOverview.js +3 -3
  161. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  162. package/lib/components/editor/side-bar/SideBar.d.ts +0 -1
  163. package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -1
  164. package/lib/components/editor/side-bar/WorkflowManager.d.ts +0 -1
  165. package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
  166. package/lib/components/editor/side-bar/WorkspaceReview.d.ts +0 -1
  167. package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
  168. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +0 -1
  169. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
  170. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +0 -1
  171. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts.map +1 -1
  172. package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +0 -1
  173. package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
  174. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +0 -1
  175. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
  176. package/lib/components/shared/DiffView.d.ts +0 -1
  177. package/lib/components/shared/DiffView.d.ts.map +1 -1
  178. package/lib/components/shared/DiffView.js +2 -2
  179. package/lib/components/shared/DiffView.js.map +1 -1
  180. package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts +0 -1
  181. package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +1 -1
  182. package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts +0 -1
  183. package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts.map +1 -1
  184. package/lib/components/workspace-setup/CreateProjectModal.d.ts +0 -1
  185. package/lib/components/workspace-setup/CreateProjectModal.d.ts.map +1 -1
  186. package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +0 -1
  187. package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts.map +1 -1
  188. package/lib/index.css +2 -2
  189. package/lib/index.css.map +1 -1
  190. package/lib/package.json +6 -6
  191. package/lib/stores/ChangeDetectionState.d.ts +2 -0
  192. package/lib/stores/ChangeDetectionState.d.ts.map +1 -1
  193. package/lib/stores/ChangeDetectionState.js +12 -6
  194. package/lib/stores/ChangeDetectionState.js.map +1 -1
  195. package/lib/stores/EditorConfig.d.ts +2 -1
  196. package/lib/stores/EditorConfig.d.ts.map +1 -1
  197. package/lib/stores/EditorConfig.js +1 -0
  198. package/lib/stores/EditorConfig.js.map +1 -1
  199. package/lib/stores/EditorGraphState.d.ts +17 -16
  200. package/lib/stores/EditorGraphState.d.ts.map +1 -1
  201. package/lib/stores/EditorGraphState.js +152 -94
  202. package/lib/stores/EditorGraphState.js.map +1 -1
  203. package/lib/stores/EditorSDLCState.d.ts +6 -6
  204. package/lib/stores/EditorSDLCState.d.ts.map +1 -1
  205. package/lib/stores/EditorSDLCState.js +52 -27
  206. package/lib/stores/EditorSDLCState.js.map +1 -1
  207. package/lib/stores/EditorStore.js +1 -1
  208. package/lib/stores/EditorStore.js.map +1 -1
  209. package/lib/stores/EmbeddedQueryBuilderState.js +1 -1
  210. package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -1
  211. package/lib/stores/editor/NewElementState.d.ts.map +1 -1
  212. package/lib/stores/editor/NewElementState.js +14 -5
  213. package/lib/stores/editor/NewElementState.js.map +1 -1
  214. package/lib/stores/editor/StandardEditorMode.d.ts.map +1 -1
  215. package/lib/stores/editor/StandardEditorMode.js +2 -2
  216. package/lib/stores/editor/StandardEditorMode.js.map +1 -1
  217. package/lib/stores/editor-state/FileGenerationState.d.ts +3 -3
  218. package/lib/stores/editor-state/FileGenerationState.d.ts.map +1 -1
  219. package/lib/stores/editor-state/FileGenerationState.js +9 -5
  220. package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
  221. package/lib/stores/editor-state/GrammarTextEditorState.d.ts +6 -4
  222. package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +1 -1
  223. package/lib/stores/editor-state/GrammarTextEditorState.js +14 -8
  224. package/lib/stores/editor-state/GrammarTextEditorState.js.map +1 -1
  225. package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts +0 -1
  226. package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts.map +1 -1
  227. package/lib/stores/editor-state/element-editor-state/ClassEditorState.js +0 -5
  228. package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +1 -1
  229. package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts +0 -1
  230. package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -1
  231. package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +0 -3
  232. package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
  233. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts +2 -2
  234. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -1
  235. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +5 -4
  236. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
  237. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts +0 -1
  238. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -1
  239. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +0 -4
  240. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  241. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +0 -1
  242. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -1
  243. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +0 -6
  244. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
  245. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts +6 -6
  246. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -1
  247. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +24 -14
  248. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
  249. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts +6 -6
  250. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -1
  251. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +30 -15
  252. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
  253. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
  254. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +1 -1
  255. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
  256. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +4 -4
  257. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
  258. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +54 -44
  259. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
  260. package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
  261. package/lib/stores/project-viewer/ProjectViewerStore.js +1 -1
  262. package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
  263. package/lib/stores/shared/PackageTreeUtils.d.ts +1 -0
  264. package/lib/stores/shared/PackageTreeUtils.d.ts.map +1 -1
  265. package/lib/stores/shared/PackageTreeUtils.js +5 -2
  266. package/lib/stores/shared/PackageTreeUtils.js.map +1 -1
  267. package/lib/stores/sidebar-state/LocalChangesState.d.ts +13 -13
  268. package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
  269. package/lib/stores/sidebar-state/LocalChangesState.js +85 -78
  270. package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
  271. package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +1 -1
  272. package/lib/stores/sidebar-state/ProjectOverviewState.js +19 -4
  273. package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
  274. package/lib/stores/sidebar-state/WorkflowManagerState.d.ts +8 -8
  275. package/lib/stores/sidebar-state/WorkflowManagerState.d.ts.map +1 -1
  276. package/lib/stores/sidebar-state/WorkflowManagerState.js +15 -11
  277. package/lib/stores/sidebar-state/WorkflowManagerState.js.map +1 -1
  278. package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts +3 -3
  279. package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
  280. package/lib/stores/sidebar-state/WorkspaceReviewState.js +21 -6
  281. package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
  282. package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts +2 -2
  283. package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +1 -1
  284. package/lib/stores/sidebar-state/WorkspaceSyncState.js +9 -7
  285. package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -1
  286. package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts +2 -2
  287. package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
  288. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +8 -4
  289. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
  290. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +2 -2
  291. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +1 -1
  292. package/lib/stores/workspace-review/WorkspaceReviewStore.js +27 -10
  293. package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
  294. package/package.json +15 -15
  295. package/src/application/LegendStudioApplicationConfig.ts +7 -0
  296. package/src/components/EditorComponentTestUtils.tsx +64 -60
  297. package/src/components/editor/StatusBar.tsx +38 -3
  298. package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +32 -10
  299. package/src/components/editor/aux-panel/Console.tsx +4 -3
  300. package/src/components/editor/aux-panel/DevTool.tsx +47 -79
  301. package/src/components/editor/aux-panel/Problems.tsx +103 -0
  302. package/src/components/editor/edit-panel/FunctionEditor.tsx +49 -3
  303. package/src/components/editor/edit-panel/GrammarTextEditor.tsx +48 -36
  304. package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +61 -61
  305. package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +21 -25
  306. package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +23 -23
  307. package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +2 -1
  308. package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +19 -22
  309. package/src/components/editor/side-bar/Explorer.tsx +34 -10
  310. package/src/components/editor/side-bar/ProjectOverview.tsx +5 -3
  311. package/src/components/shared/DiffView.tsx +2 -2
  312. package/src/stores/ChangeDetectionState.ts +17 -8
  313. package/src/stores/EditorConfig.ts +1 -0
  314. package/src/stores/EditorGraphState.ts +223 -136
  315. package/src/stores/EditorSDLCState.ts +65 -30
  316. package/src/stores/EditorStore.ts +1 -1
  317. package/src/stores/EmbeddedQueryBuilderState.ts +1 -1
  318. package/src/stores/editor/NewElementState.ts +24 -5
  319. package/src/stores/editor/StandardEditorMode.ts +4 -2
  320. package/src/stores/editor-state/FileGenerationState.ts +19 -8
  321. package/src/stores/editor-state/GrammarTextEditorState.ts +18 -10
  322. package/src/stores/editor-state/element-editor-state/ClassEditorState.ts +0 -12
  323. package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +0 -4
  324. package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +8 -6
  325. package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +0 -5
  326. package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +0 -11
  327. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +29 -15
  328. package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +37 -23
  329. package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +4 -3
  330. package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +63 -48
  331. package/src/stores/project-viewer/ProjectViewerStore.ts +5 -3
  332. package/src/stores/shared/PackageTreeUtils.ts +10 -1
  333. package/src/stores/sidebar-state/LocalChangesState.ts +151 -142
  334. package/src/stores/sidebar-state/ProjectOverviewState.ts +19 -4
  335. package/src/stores/sidebar-state/WorkflowManagerState.ts +28 -31
  336. package/src/stores/sidebar-state/WorkspaceReviewState.ts +24 -8
  337. package/src/stores/sidebar-state/WorkspaceSyncState.ts +11 -16
  338. package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +11 -7
  339. package/src/stores/workspace-review/WorkspaceReviewStore.ts +39 -12
  340. package/tsconfig.json +1 -0
@@ -22,7 +22,14 @@ import {
22
22
  LogEvent,
23
23
  guaranteeNonNullable,
24
24
  } from '@finos/legend-shared';
25
- import { makeAutoObservable, action, flowResult } from 'mobx';
25
+ import {
26
+ makeObservable,
27
+ action,
28
+ flowResult,
29
+ observable,
30
+ flow,
31
+ computed,
32
+ } from 'mobx';
26
33
  import type { EditorStore } from '../EditorStore.js';
27
34
  import { ACTIVITY_MODE } from '../EditorConfig.js';
28
35
  import type { Entity } from '@finos/legend-storage';
@@ -31,7 +38,8 @@ import { LEGEND_STUDIO_APP_EVENT } from '../LegendStudioAppEvent.js';
31
38
  import { TAB_SIZE } from '@finos/legend-application';
32
39
 
33
40
  export class WorkspaceReviewStore {
34
- editorStore: EditorStore;
41
+ readonly editorStore: EditorStore;
42
+
35
43
  currentProjectId?: string | undefined;
36
44
  currentProject?: Project | undefined;
37
45
  currentReviewId?: string | undefined;
@@ -44,12 +52,29 @@ export class WorkspaceReviewStore {
44
52
  isReopeningReview = false;
45
53
 
46
54
  constructor(editorStore: EditorStore) {
47
- makeAutoObservable(this, {
48
- editorStore: false,
49
- projectId: false,
50
- reviewId: false,
51
- review: false,
55
+ makeObservable(this, {
56
+ currentProjectId: observable,
57
+ currentProject: observable,
58
+ currentReviewId: observable,
59
+ currentReview: observable,
60
+ isFetchingCurrentReview: observable,
61
+ isFetchingComparison: observable,
62
+ isApprovingReview: observable,
63
+ isClosingReview: observable,
64
+ isCommittingReview: observable,
65
+ isReopeningReview: observable,
66
+ projectId: computed,
67
+ reviewId: computed,
68
+ review: computed,
52
69
  setProjectIdAndReviewId: action,
70
+ initialize: flow,
71
+ fetchReviewComparison: flow,
72
+ fetchProject: flow,
73
+ getReview: flow,
74
+ approveReview: flow,
75
+ commitReview: flow,
76
+ reOpenReview: flow,
77
+ closeReview: flow,
53
78
  });
54
79
 
55
80
  this.editorStore = editorStore;
@@ -59,13 +84,20 @@ export class WorkspaceReviewStore {
59
84
  get projectId(): string {
60
85
  return guaranteeNonNullable(this.currentProjectId, 'Project ID must exist');
61
86
  }
87
+
62
88
  get reviewId(): string {
63
89
  return guaranteeNonNullable(this.currentReviewId, 'Review ID must exist');
64
90
  }
91
+
65
92
  get review(): Review {
66
93
  return guaranteeNonNullable(this.currentReview, 'Review must exist');
67
94
  }
68
95
 
96
+ setProjectIdAndReviewId(projectId: string, reviewId: string): void {
97
+ this.currentProjectId = projectId;
98
+ this.currentReviewId = reviewId;
99
+ }
100
+
69
101
  *initialize(): GeneratorFn<void> {
70
102
  try {
71
103
  // setup engine
@@ -94,11 +126,6 @@ export class WorkspaceReviewStore {
94
126
  }
95
127
  }
96
128
 
97
- setProjectIdAndReviewId(projectId: string, reviewId: string): void {
98
- this.currentProjectId = projectId;
99
- this.currentReviewId = reviewId;
100
- }
101
-
102
129
  *fetchReviewComparison(): GeneratorFn<void> {
103
130
  this.isFetchingComparison = true;
104
131
  try {
package/tsconfig.json CHANGED
@@ -159,6 +159,7 @@
159
159
  "./src/components/editor/aux-panel/AuxiliaryPanel.tsx",
160
160
  "./src/components/editor/aux-panel/Console.tsx",
161
161
  "./src/components/editor/aux-panel/DevTool.tsx",
162
+ "./src/components/editor/aux-panel/Problems.tsx",
162
163
  "./src/components/editor/command-center/ProjectSearchCommand.tsx",
163
164
  "./src/components/editor/edit-panel/EditPanel.tsx",
164
165
  "./src/components/editor/edit-panel/FileGenerationViewer.tsx",