@finos/legend-application-studio 22.4.8 → 22.6.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 (355) hide show
  1. package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
  2. package/lib/components/EditorComponentTestUtils.js +2 -1
  3. package/lib/components/EditorComponentTestUtils.js.map +1 -1
  4. package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
  5. package/lib/components/LegendStudioAppInfo.js +2 -2
  6. package/lib/components/LegendStudioAppInfo.js.map +1 -1
  7. package/lib/components/LegendStudioApplication.d.ts.map +1 -1
  8. package/lib/components/LegendStudioApplication.js +3 -3
  9. package/lib/components/LegendStudioApplication.js.map +1 -1
  10. package/lib/components/editor/ActivityBar.d.ts.map +1 -1
  11. package/lib/components/editor/ActivityBar.js +8 -3
  12. package/lib/components/editor/ActivityBar.js.map +1 -1
  13. package/lib/components/editor/Editor.js +4 -4
  14. package/lib/components/editor/Editor.js.map +1 -1
  15. package/lib/components/editor/StatusBar.js +1 -1
  16. package/lib/components/editor/StatusBar.js.map +1 -1
  17. package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -1
  18. package/lib/components/editor/aux-panel/DevTool.js +5 -1
  19. package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
  20. package/lib/components/editor/command/project-search.css +1 -1
  21. package/lib/components/editor/command/project-search.css.map +1 -1
  22. package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
  23. package/lib/components/editor/command-center/ProjectSearchCommand.js +2 -2
  24. package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
  25. package/lib/components/editor/edit-panel/FunctionEditor.js +1 -1
  26. package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
  27. package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
  28. package/lib/components/editor/edit-panel/GrammarTextEditor.js +5 -1
  29. package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
  30. package/lib/components/editor/edit-panel/RuntimeEditor.js +1 -1
  31. package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
  32. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
  33. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +9 -2
  34. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  35. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +4 -4
  36. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
  37. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +4 -4
  38. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  39. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
  40. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js +3 -2
  41. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
  42. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +3 -3
  43. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
  44. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +1 -1
  45. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
  46. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
  47. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +62 -8
  48. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  49. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
  50. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +5 -5
  51. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
  52. package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.d.ts +20 -0
  53. package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.d.ts.map +1 -0
  54. package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js +98 -0
  55. package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js.map +1 -0
  56. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
  57. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -1
  58. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
  59. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +6 -6
  60. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  61. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
  62. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
  63. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +1 -1
  64. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
  65. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
  66. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +2 -2
  67. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
  68. package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
  69. package/lib/components/editor/side-bar/Explorer.js +103 -16
  70. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  71. package/lib/components/editor/side-bar/ProjectDependantsEditor.js +3 -3
  72. package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
  73. package/lib/components/editor/side-bar/ProjectOverview.js +8 -8
  74. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  75. package/lib/components/editor/side-bar/RegisterService.d.ts +8 -0
  76. package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -0
  77. package/lib/components/editor/side-bar/RegisterService.js +35 -0
  78. package/lib/components/editor/side-bar/RegisterService.js.map +1 -0
  79. package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -1
  80. package/lib/components/editor/side-bar/SideBar.js +3 -0
  81. package/lib/components/editor/side-bar/SideBar.js.map +1 -1
  82. package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
  83. package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
  84. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  85. package/lib/components/editor/side-bar/WorkspaceReview.js +1 -1
  86. package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
  87. package/lib/components/editor/side-bar/WorkspaceUpdater.js +1 -1
  88. package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
  89. package/lib/components/project-viewer/ProjectViewer.js +1 -1
  90. package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
  91. package/lib/components/shared/ProjectSelectorUtils.d.ts.map +1 -1
  92. package/lib/components/shared/ProjectSelectorUtils.js +4 -4
  93. package/lib/components/shared/ProjectSelectorUtils.js.map +1 -1
  94. package/lib/components/workspace-review/WorkspaceReview.js +1 -1
  95. package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
  96. package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
  97. package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
  98. package/lib/components/workspace-setup/WorkspaceSetup.js +2 -2
  99. package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
  100. package/lib/index.css +2 -2
  101. package/lib/index.css.map +1 -1
  102. package/lib/package.json +6 -4
  103. package/lib/stores/ChangeDetectionState.js +12 -12
  104. package/lib/stores/ChangeDetectionState.js.map +1 -1
  105. package/lib/stores/DependencyProjectViewerHelper.js +1 -1
  106. package/lib/stores/DependencyProjectViewerHelper.js.map +1 -1
  107. package/lib/stores/EditorConfig.d.ts +2 -1
  108. package/lib/stores/EditorConfig.d.ts.map +1 -1
  109. package/lib/stores/EditorConfig.js +1 -0
  110. package/lib/stores/EditorConfig.js.map +1 -1
  111. package/lib/stores/EditorGraphState.d.ts +1 -1
  112. package/lib/stores/EditorGraphState.d.ts.map +1 -1
  113. package/lib/stores/EditorGraphState.js +64 -59
  114. package/lib/stores/EditorGraphState.js.map +1 -1
  115. package/lib/stores/EditorSDLCState.d.ts.map +1 -1
  116. package/lib/stores/EditorSDLCState.js +21 -21
  117. package/lib/stores/EditorSDLCState.js.map +1 -1
  118. package/lib/stores/EditorStore.d.ts +2 -0
  119. package/lib/stores/EditorStore.d.ts.map +1 -1
  120. package/lib/stores/EditorStore.js +42 -39
  121. package/lib/stores/EditorStore.js.map +1 -1
  122. package/lib/stores/EditorTabManagerState.js +1 -1
  123. package/lib/stores/EditorTabManagerState.js.map +1 -1
  124. package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +1 -1
  125. package/lib/stores/EmbeddedQueryBuilderState.js +8 -8
  126. package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -1
  127. package/lib/stores/ExplorerTreeState.d.ts +5 -3
  128. package/lib/stores/ExplorerTreeState.d.ts.map +1 -1
  129. package/lib/stores/ExplorerTreeState.js +11 -5
  130. package/lib/stores/ExplorerTreeState.js.map +1 -1
  131. package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
  132. package/lib/stores/LegendStudioBaseStore.js +15 -15
  133. package/lib/stores/LegendStudioBaseStore.js.map +1 -1
  134. package/lib/stores/LegendStudioDocumentation.d.ts +1 -0
  135. package/lib/stores/LegendStudioDocumentation.d.ts.map +1 -1
  136. package/lib/stores/LegendStudioDocumentation.js +1 -0
  137. package/lib/stores/LegendStudioDocumentation.js.map +1 -1
  138. package/lib/stores/LegendStudioStorage.d.ts +20 -0
  139. package/lib/stores/LegendStudioStorage.d.ts.map +1 -0
  140. package/lib/stores/LegendStudioStorage.js +21 -0
  141. package/lib/stores/LegendStudioStorage.js.map +1 -0
  142. package/lib/stores/editor-state/ExternalFormatState.js +2 -2
  143. package/lib/stores/editor-state/ExternalFormatState.js.map +1 -1
  144. package/lib/stores/editor-state/FileGenerationState.js +3 -3
  145. package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
  146. package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +1 -1
  147. package/lib/stores/editor-state/GrammarTextEditorState.js +4 -1
  148. package/lib/stores/editor-state/GrammarTextEditorState.js.map +1 -1
  149. package/lib/stores/editor-state/GraphGenerationState.js +9 -9
  150. package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
  151. package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
  152. package/lib/stores/editor-state/ModelImporterState.js +9 -9
  153. package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
  154. package/lib/stores/editor-state/element-editor-state/ClassEditorState.js +1 -1
  155. package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +1 -1
  156. package/lib/stores/editor-state/element-editor-state/ClassState.js +6 -6
  157. package/lib/stores/editor-state/element-editor-state/ClassState.js.map +1 -1
  158. package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +2 -2
  159. package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
  160. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +2 -2
  161. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -1
  162. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +3 -3
  163. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  164. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
  165. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +1 -1
  166. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
  167. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts +2 -1
  168. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -1
  169. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +9 -1
  170. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
  171. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +11 -11
  172. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
  173. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -1
  174. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +10 -10
  175. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
  176. package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +3 -3
  177. package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -1
  178. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +3 -3
  179. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
  180. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +12 -12
  181. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
  182. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +12 -12
  183. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
  184. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +6 -6
  185. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
  186. package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +3 -3
  187. package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -1
  188. package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js +1 -1
  189. package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
  190. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
  191. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +8 -8
  192. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
  193. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +4 -4
  194. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
  195. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
  196. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
  197. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +3 -3
  198. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
  199. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +2 -2
  200. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
  201. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
  202. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
  203. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +1 -1
  204. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
  205. package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +2 -2
  206. package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
  207. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +2 -2
  208. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
  209. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +2 -0
  210. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
  211. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +22 -12
  212. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
  213. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +2 -2
  214. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
  215. package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
  216. package/lib/stores/project-viewer/ProjectViewerStore.js +13 -13
  217. package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
  218. package/lib/stores/shared/MockDataUtils.d.ts +6 -0
  219. package/lib/stores/shared/MockDataUtils.d.ts.map +1 -1
  220. package/lib/stores/shared/MockDataUtils.js +32 -3
  221. package/lib/stores/shared/MockDataUtils.js.map +1 -1
  222. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts +6 -1
  223. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -1
  224. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js +15 -1
  225. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -1
  226. package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts +51 -0
  227. package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -0
  228. package/lib/stores/sidebar-state/BulkServiceRegistrationState.js +237 -0
  229. package/lib/stores/sidebar-state/BulkServiceRegistrationState.js.map +1 -0
  230. package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
  231. package/lib/stores/sidebar-state/LocalChangesState.js +19 -19
  232. package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
  233. package/lib/stores/sidebar-state/ProjectOverviewState.js +11 -11
  234. package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
  235. package/lib/stores/sidebar-state/WorkflowManagerState.js +12 -12
  236. package/lib/stores/sidebar-state/WorkflowManagerState.js.map +1 -1
  237. package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
  238. package/lib/stores/sidebar-state/WorkspaceReviewState.js +23 -23
  239. package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
  240. package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +1 -1
  241. package/lib/stores/sidebar-state/WorkspaceSyncState.js +10 -10
  242. package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -1
  243. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -1
  244. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +33 -33
  245. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -1
  246. package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
  247. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +16 -16
  248. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
  249. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js +3 -3
  250. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
  251. package/lib/stores/workspace-review/WorkspaceReviewStore.js +16 -16
  252. package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
  253. package/lib/stores/workspace-setup/ProjectConfigurationStatus.js +1 -1
  254. package/lib/stores/workspace-setup/ProjectConfigurationStatus.js.map +1 -1
  255. package/lib/stores/workspace-setup/WorkspaceSetupStore.js +17 -17
  256. package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
  257. package/package.json +15 -13
  258. package/src/components/EditorComponentTestUtils.tsx +3 -2
  259. package/src/components/LegendStudioAppInfo.tsx +4 -2
  260. package/src/components/LegendStudioApplication.tsx +6 -3
  261. package/src/components/editor/ActivityBar.tsx +11 -3
  262. package/src/components/editor/Editor.tsx +4 -4
  263. package/src/components/editor/StatusBar.tsx +4 -4
  264. package/src/components/editor/aux-panel/DevTool.tsx +7 -1
  265. package/src/components/editor/command-center/ProjectSearchCommand.tsx +8 -6
  266. package/src/components/editor/edit-panel/FunctionEditor.tsx +1 -1
  267. package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -1
  268. package/src/components/editor/edit-panel/RuntimeEditor.tsx +1 -1
  269. package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +77 -1
  270. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +4 -4
  271. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +4 -4
  272. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +6 -2
  273. package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +3 -3
  274. package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +1 -1
  275. package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +164 -26
  276. package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +13 -9
  277. package/src/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.tsx +283 -0
  278. package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +4 -1
  279. package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +7 -7
  280. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +1 -1
  281. package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +1 -1
  282. package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +4 -2
  283. package/src/components/editor/side-bar/Explorer.tsx +268 -40
  284. package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +5 -5
  285. package/src/components/editor/side-bar/ProjectOverview.tsx +13 -13
  286. package/src/components/editor/side-bar/RegisterService.tsx +139 -0
  287. package/src/components/editor/side-bar/SideBar.tsx +9 -0
  288. package/src/components/editor/side-bar/WorkflowManager.tsx +6 -2
  289. package/src/components/editor/side-bar/WorkspaceReview.tsx +2 -2
  290. package/src/components/editor/side-bar/WorkspaceUpdater.tsx +2 -2
  291. package/src/components/project-viewer/ProjectViewer.tsx +2 -2
  292. package/src/components/shared/ProjectSelectorUtils.tsx +7 -5
  293. package/src/components/workspace-review/WorkspaceReview.tsx +4 -4
  294. package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
  295. package/src/components/workspace-setup/WorkspaceSetup.tsx +2 -2
  296. package/src/stores/ChangeDetectionState.ts +12 -12
  297. package/src/stores/DependencyProjectViewerHelper.ts +2 -2
  298. package/src/stores/EditorConfig.ts +1 -0
  299. package/src/stores/EditorGraphState.ts +80 -60
  300. package/src/stores/EditorSDLCState.ts +25 -21
  301. package/src/stores/EditorStore.ts +45 -39
  302. package/src/stores/EditorTabManagerState.ts +1 -1
  303. package/src/stores/EmbeddedQueryBuilderState.ts +14 -8
  304. package/src/stores/ExplorerTreeState.ts +16 -6
  305. package/src/stores/LegendStudioBaseStore.ts +29 -20
  306. package/src/stores/LegendStudioDocumentation.ts +1 -0
  307. package/src/stores/LegendStudioStorage.ts +20 -0
  308. package/src/stores/editor-state/ExternalFormatState.ts +2 -2
  309. package/src/stores/editor-state/FileGenerationState.ts +3 -3
  310. package/src/stores/editor-state/GrammarTextEditorState.ts +7 -1
  311. package/src/stores/editor-state/GraphGenerationState.ts +9 -9
  312. package/src/stores/editor-state/ModelImporterState.ts +13 -9
  313. package/src/stores/editor-state/element-editor-state/ClassEditorState.ts +1 -1
  314. package/src/stores/editor-state/element-editor-state/ClassState.ts +6 -6
  315. package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +2 -2
  316. package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +2 -2
  317. package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +3 -3
  318. package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +3 -1
  319. package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +8 -0
  320. package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +11 -11
  321. package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +12 -10
  322. package/src/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +3 -3
  323. package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +3 -3
  324. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +12 -12
  325. package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +12 -12
  326. package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +6 -6
  327. package/src/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +3 -3
  328. package/src/stores/editor-state/element-editor-state/service/ServiceEditorState.ts +1 -1
  329. package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +12 -8
  330. package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +4 -4
  331. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
  332. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +3 -3
  333. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +2 -2
  334. package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +1 -1
  335. package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +1 -1
  336. package/src/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +2 -2
  337. package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +2 -2
  338. package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +33 -12
  339. package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +2 -2
  340. package/src/stores/project-viewer/ProjectViewerStore.ts +15 -13
  341. package/src/stores/shared/MockDataUtils.ts +44 -3
  342. package/src/stores/shared/modifier/STO_Relational_GraphModifierHelper.ts +26 -1
  343. package/src/stores/sidebar-state/BulkServiceRegistrationState.ts +370 -0
  344. package/src/stores/sidebar-state/LocalChangesState.ts +21 -19
  345. package/src/stores/sidebar-state/ProjectOverviewState.ts +11 -11
  346. package/src/stores/sidebar-state/WorkflowManagerState.ts +12 -12
  347. package/src/stores/sidebar-state/WorkspaceReviewState.ts +27 -23
  348. package/src/stores/sidebar-state/WorkspaceSyncState.ts +16 -10
  349. package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +35 -33
  350. package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +18 -16
  351. package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +3 -3
  352. package/src/stores/workspace-review/WorkspaceReviewStore.ts +16 -16
  353. package/src/stores/workspace-setup/ProjectConfigurationStatus.ts +1 -1
  354. package/src/stores/workspace-setup/WorkspaceSetupStore.ts +17 -17
  355. package/tsconfig.json +4 -0
@@ -45,6 +45,7 @@ import {
45
45
  } from '@finos/legend-graph';
46
46
  import type { TextEditorPosition } from '@finos/legend-art';
47
47
  import { generatePackageableElementTreeNodeDataLabel } from '../shared/PackageTreeUtils.js';
48
+ import { LEGEND_STUDIO_SETTINGS_KEY } from '../LegendStudioStorage.js';
48
49
 
49
50
  const getGrammarElementTypeLabelRegexString = (
50
51
  typeLabel: string,
@@ -68,7 +69,7 @@ export class GrammarTextEditorState {
68
69
 
69
70
  graphGrammarText = '';
70
71
  currentElementLabelRegexString?: string | undefined;
71
- wrapText = true;
72
+ wrapText: boolean;
72
73
  forcedCursorPosition?: TextEditorPosition | undefined;
73
74
 
74
75
  constructor(editorStore: EditorStore) {
@@ -85,6 +86,11 @@ export class GrammarTextEditorState {
85
86
  });
86
87
 
87
88
  this.editorStore = editorStore;
89
+ this.wrapText =
90
+ this.editorStore.applicationStore.storageService.settingsStore.getBooleanValue(
91
+ LEGEND_STUDIO_SETTINGS_KEY.EDITOR_WRAP_TEXT,
92
+ true,
93
+ );
88
94
  }
89
95
 
90
96
  get currentTextGraphHash(): string {
@@ -205,11 +205,11 @@ export class GraphGenerationState {
205
205
  );
206
206
  } catch (error) {
207
207
  assertErrorThrown(error);
208
- this.editorStore.applicationStore.log.error(
208
+ this.editorStore.applicationStore.logService.error(
209
209
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE),
210
210
  error,
211
211
  );
212
- this.editorStore.applicationStore.notifyError(error);
212
+ this.editorStore.applicationStore.notificationService.notifyError(error);
213
213
  }
214
214
  }
215
215
 
@@ -229,11 +229,11 @@ export class GraphGenerationState {
229
229
  yield flowResult(this.generateFiles());
230
230
  } catch (error) {
231
231
  assertErrorThrown(error);
232
- this.editorStore.applicationStore.log.error(
232
+ this.editorStore.applicationStore.logService.error(
233
233
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE),
234
234
  error,
235
235
  );
236
- this.editorStore.graphState.editorStore.applicationStore.notifyError(
236
+ this.editorStore.graphState.editorStore.applicationStore.notificationService.notifyError(
237
237
  `${error.message}`,
238
238
  );
239
239
  } finally {
@@ -284,11 +284,11 @@ export class GraphGenerationState {
284
284
  }
285
285
  } catch (error) {
286
286
  assertErrorThrown(error);
287
- this.editorStore.applicationStore.log.error(
287
+ this.editorStore.applicationStore.logService.error(
288
288
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE),
289
289
  error,
290
290
  );
291
- this.editorStore.graphState.editorStore.applicationStore.notifyError(
291
+ this.editorStore.graphState.editorStore.applicationStore.notificationService.notifyError(
292
292
  `${error.message}`,
293
293
  );
294
294
  }
@@ -338,11 +338,11 @@ export class GraphGenerationState {
338
338
  this.processGenerationResult(generationOutputIndex);
339
339
  } catch (error) {
340
340
  assertErrorThrown(error);
341
- this.editorStore.applicationStore.log.error(
341
+ this.editorStore.applicationStore.logService.error(
342
342
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE),
343
343
  error,
344
344
  );
345
- this.editorStore.graphState.editorStore.applicationStore.notifyError(
345
+ this.editorStore.graphState.editorStore.applicationStore.notificationService.notifyError(
346
346
  `${error.message}`,
347
347
  );
348
348
  }
@@ -432,7 +432,7 @@ export class GraphGenerationState {
432
432
  generationOutputs.forEach((genOutput) => {
433
433
  genOutput.cleanFileName(rootFolder);
434
434
  if (generationResultIndex.has(genOutput.fileName)) {
435
- this.editorStore.applicationStore.log.warn(
435
+ this.editorStore.applicationStore.logService.warn(
436
436
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE),
437
437
  `Found 2 generation outputs with same path '${genOutput.fileName}'`,
438
438
  );
@@ -239,7 +239,7 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
239
239
  async loadModel(): Promise<void> {
240
240
  try {
241
241
  this.loadModelActionState.inProgress();
242
- this.editorStore.applicationStore.setBlockingAlert({
242
+ this.editorStore.applicationStore.alertService.setBlockingAlert({
243
243
  message: 'Loading model...',
244
244
  prompt: 'Please do not close the application',
245
245
  showLoading: true,
@@ -255,19 +255,21 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
255
255
  this.editorStore.sdlcState.activeWorkspace,
256
256
  { replace: this.modelImporterState.replace, entities, message },
257
257
  );
258
- this.editorStore.applicationStore.navigator.reload({
258
+ this.editorStore.applicationStore.navigationService.navigator.reload({
259
259
  ignoreBlocking: true,
260
260
  });
261
261
  } catch (error) {
262
262
  assertErrorThrown(error);
263
- this.editorStore.applicationStore.log.error(
263
+ this.editorStore.applicationStore.logService.error(
264
264
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.MODEL_LOADER_FAILURE),
265
265
  error,
266
266
  );
267
- this.editorStore.applicationStore.notifyError(error);
267
+ this.editorStore.applicationStore.notificationService.notifyError(error);
268
268
  } finally {
269
269
  this.loadModelActionState.complete();
270
- this.editorStore.applicationStore.setBlockingAlert(undefined);
270
+ this.editorStore.applicationStore.alertService.setBlockingAlert(
271
+ undefined,
272
+ );
271
273
  }
272
274
  }
273
275
  }
@@ -403,7 +405,7 @@ export class ExternalFormatModelImporterState extends ModelImporterEditorState {
403
405
  this.loadModelActionState.inProgress();
404
406
  try {
405
407
  this.loadModelActionState.inProgress();
406
- this.editorStore.applicationStore.setBlockingAlert({
408
+ this.editorStore.applicationStore.alertService.setBlockingAlert({
407
409
  message: 'Loading model...',
408
410
  prompt: 'Please do not close the application',
409
411
  showLoading: true,
@@ -431,15 +433,17 @@ export class ExternalFormatModelImporterState extends ModelImporterEditorState {
431
433
  this.editorStore.sdlcState.activeWorkspace,
432
434
  { replace: this.modelImporterState.replace, entities, message },
433
435
  );
434
- this.editorStore.applicationStore.navigator.reload({
436
+ this.editorStore.applicationStore.navigationService.navigator.reload({
435
437
  ignoreBlocking: true,
436
438
  });
437
439
  } catch (error) {
438
440
  assertErrorThrown(error);
439
- this.editorStore.applicationStore.notifyError(error);
441
+ this.editorStore.applicationStore.notificationService.notifyError(error);
440
442
  } finally {
441
443
  this.loadModelActionState.complete();
442
- this.editorStore.applicationStore.setBlockingAlert(undefined);
444
+ this.editorStore.applicationStore.alertService.setBlockingAlert(
445
+ undefined,
446
+ );
443
447
  }
444
448
  }
445
449
  }
@@ -99,7 +99,7 @@ export class ClassEditorState extends UMLEditorState {
99
99
  }
100
100
  } catch (error) {
101
101
  assertErrorThrown(error);
102
- this.editorStore.applicationStore.log.warn(
102
+ this.editorStore.applicationStore.logService.warn(
103
103
  LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
104
104
  `Can't locate error`,
105
105
  error,
@@ -93,7 +93,7 @@ export class DerivedPropertyState extends LambdaEditorState {
93
93
  if (error instanceof ParserError) {
94
94
  this.setParserError(error);
95
95
  }
96
- this.editorStore.applicationStore.log.error(
96
+ this.editorStore.applicationStore.logService.error(
97
97
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
98
98
  error,
99
99
  );
@@ -129,7 +129,7 @@ export class DerivedPropertyState extends LambdaEditorState {
129
129
  this.clearErrors();
130
130
  } catch (error) {
131
131
  assertErrorThrown(error);
132
- this.editorStore.applicationStore.log.error(
132
+ this.editorStore.applicationStore.logService.error(
133
133
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
134
134
  error,
135
135
  );
@@ -182,7 +182,7 @@ export class ConstraintState extends LambdaEditorState {
182
182
  if (error instanceof ParserError) {
183
183
  this.setParserError(error);
184
184
  }
185
- this.editorStore.applicationStore.log.error(
185
+ this.editorStore.applicationStore.logService.error(
186
186
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
187
187
  error,
188
188
  );
@@ -215,7 +215,7 @@ export class ConstraintState extends LambdaEditorState {
215
215
  this.clearErrors();
216
216
  } catch (error) {
217
217
  assertErrorThrown(error);
218
- this.editorStore.applicationStore.log.error(
218
+ this.editorStore.applicationStore.logService.error(
219
219
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
220
220
  error,
221
221
  );
@@ -354,7 +354,7 @@ export class ClassState {
354
354
  });
355
355
  } catch (error) {
356
356
  assertErrorThrown(error);
357
- this.editorStore.applicationStore.log.error(
357
+ this.editorStore.applicationStore.logService.error(
358
358
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
359
359
  error,
360
360
  );
@@ -392,7 +392,7 @@ export class ClassState {
392
392
  });
393
393
  } catch (error) {
394
394
  assertErrorThrown(error);
395
- this.editorStore.applicationStore.log.error(
395
+ this.editorStore.applicationStore.logService.error(
396
396
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
397
397
  error,
398
398
  );
@@ -203,7 +203,7 @@ export abstract class ElementEditorState extends EditorState {
203
203
  error,
204
204
  ),
205
205
  );
206
- this.editorStore.applicationStore.log.error(
206
+ this.editorStore.applicationStore.logService.error(
207
207
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
208
208
  error,
209
209
  );
@@ -229,7 +229,7 @@ export abstract class ElementEditorState extends EditorState {
229
229
  error,
230
230
  ),
231
231
  );
232
- this.editorStore.applicationStore.log.error(
232
+ this.editorStore.applicationStore.logService.error(
233
233
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
234
234
  error,
235
235
  );
@@ -126,11 +126,11 @@ export class XTGenerationState extends GeneratedFileStructureState {
126
126
  assertErrorThrown(error);
127
127
  this.fileSystemState.selectedNode = undefined;
128
128
  this.processGenerationResult([]);
129
- this.editorStore.applicationStore.log.error(
129
+ this.editorStore.applicationStore.logService.error(
130
130
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE),
131
131
  error,
132
132
  );
133
- this.editorStore.applicationStore.notifyError(error);
133
+ this.editorStore.applicationStore.notificationService.notifyError(error);
134
134
  } finally {
135
135
  this.generatingAction.complete();
136
136
  }
@@ -82,7 +82,7 @@ export class FunctionBodyEditorState extends LambdaEditorState {
82
82
  if (error instanceof ParserError) {
83
83
  this.setParserError(error);
84
84
  }
85
- this.editorStore.applicationStore.log.error(
85
+ this.editorStore.applicationStore.logService.error(
86
86
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
87
87
  error,
88
88
  );
@@ -139,7 +139,7 @@ export class FunctionBodyEditorState extends LambdaEditorState {
139
139
  this.isConvertingFunctionBodyToString = false;
140
140
  } catch (error) {
141
141
  assertErrorThrown(error);
142
- this.editorStore.applicationStore.log.error(
142
+ this.editorStore.applicationStore.logService.error(
143
143
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
144
144
  error,
145
145
  );
@@ -199,7 +199,7 @@ export class FunctionEditorState extends ElementEditorState {
199
199
  }
200
200
  } catch (error) {
201
201
  assertErrorThrown(error);
202
- this.editorStore.applicationStore.log.warn(
202
+ this.editorStore.applicationStore.logService.warn(
203
203
  LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
204
204
  `Can't locate error`,
205
205
  error,
@@ -412,7 +412,9 @@ export abstract class IdentifiedConnectionsEditorTabState extends RuntimeEditorT
412
412
  newConnection = this.createDefaultConnection();
413
413
  } catch (error) {
414
414
  assertErrorThrown(error);
415
- this.editorStore.applicationStore.notifyWarning(error.message);
415
+ this.editorStore.applicationStore.notificationService.notifyWarning(
416
+ error.message,
417
+ );
416
418
  return;
417
419
  }
418
420
  }
@@ -50,6 +50,7 @@ import {
50
50
  BigQueryDatasourceSpecification,
51
51
  StaticDatasourceSpecification,
52
52
  RedshiftDatasourceSpecification,
53
+ SpannerDatasourceSpecification,
53
54
  createValidationError,
54
55
  isStubbed_PackageableElement,
55
56
  type PostProcessor,
@@ -91,6 +92,7 @@ export enum CORE_DATASOURCE_SPEC_TYPE {
91
92
  SNOWFLAKE = 'SNOWFLAKE',
92
93
  REDSHIFT = 'REDSHIFT',
93
94
  BIGQUERY = 'BIGQUERY',
95
+ SPANNER = 'SPANNER',
94
96
  }
95
97
 
96
98
  export enum POST_PROCESSOR_TYPE {
@@ -195,6 +197,8 @@ export class RelationalDatabaseConnectionValueState extends ConnectionValueState
195
197
  return CORE_DATASOURCE_SPEC_TYPE.H2_LOCAL;
196
198
  } else if (spec instanceof RedshiftDatasourceSpecification) {
197
199
  return CORE_DATASOURCE_SPEC_TYPE.REDSHIFT;
200
+ } else if (spec instanceof SpannerDatasourceSpecification) {
201
+ return CORE_DATASOURCE_SPEC_TYPE.SPANNER;
198
202
  }
199
203
  const extraDatasourceSpecificationClassifiers =
200
204
  this.editorStore.pluginManager
@@ -257,6 +261,10 @@ export class RelationalDatabaseConnectionValueState extends ConnectionValueState
257
261
  dataSpec = new BigQueryDatasourceSpecification('', '');
258
262
  break;
259
263
  }
264
+ case CORE_DATASOURCE_SPEC_TYPE.SPANNER: {
265
+ dataSpec = new SpannerDatasourceSpecification('', '', '', '', '');
266
+ break;
267
+ }
260
268
  default: {
261
269
  const extraDatasourceSpecificationCreators =
262
270
  this.editorStore.pluginManager
@@ -259,11 +259,11 @@ export class DatabaseBuilderState {
259
259
  this.setTreeData(treeData);
260
260
  } catch (error) {
261
261
  assertErrorThrown(error);
262
- this.editorStore.applicationStore.log.error(
262
+ this.editorStore.applicationStore.logService.error(
263
263
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE),
264
264
  error,
265
265
  );
266
- this.editorStore.applicationStore.notifyError(error);
266
+ this.editorStore.applicationStore.notificationService.notifyError(error);
267
267
  } finally {
268
268
  this.isBuildingDatabase = false;
269
269
  }
@@ -318,11 +318,11 @@ export class DatabaseBuilderState {
318
318
  this.setTreeData({ ...treeData });
319
319
  } catch (error) {
320
320
  assertErrorThrown(error);
321
- this.editorStore.applicationStore.log.error(
321
+ this.editorStore.applicationStore.logService.error(
322
322
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE),
323
323
  error,
324
324
  );
325
- this.editorStore.applicationStore.notifyError(error);
325
+ this.editorStore.applicationStore.notificationService.notifyError(error);
326
326
  } finally {
327
327
  this.isBuildingDatabase = false;
328
328
  }
@@ -359,11 +359,11 @@ export class DatabaseBuilderState {
359
359
  }
360
360
  } catch (error) {
361
361
  assertErrorThrown(error);
362
- this.editorStore.applicationStore.log.error(
362
+ this.editorStore.applicationStore.logService.error(
363
363
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE),
364
364
  error,
365
365
  );
366
- this.editorStore.applicationStore.notifyError(error);
366
+ this.editorStore.applicationStore.notificationService.notifyError(error);
367
367
  } finally {
368
368
  this.isBuildingDatabase = false;
369
369
  }
@@ -481,11 +481,11 @@ export class DatabaseBuilderState {
481
481
  }
482
482
  } catch (error) {
483
483
  assertErrorThrown(error);
484
- this.editorStore.applicationStore.log.error(
484
+ this.editorStore.applicationStore.logService.error(
485
485
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE),
486
486
  error,
487
487
  );
488
- this.editorStore.applicationStore.notifyError(error);
488
+ this.editorStore.applicationStore.notificationService.notifyError(error);
489
489
  } finally {
490
490
  this.isBuildingDatabase = false;
491
491
  }
@@ -572,7 +572,7 @@ export class DatabaseBuilderState {
572
572
  if (this.treeData) {
573
573
  const schemas = this.getSchemasFromTreeNode(this.treeData);
574
574
  this.updateDatabase(currentDatabase, database, schemas);
575
- this.editorStore.applicationStore.notifySuccess(
575
+ this.editorStore.applicationStore.notificationService.notifySuccess(
576
576
  `Database successfully '${isUpdating ? 'updated' : 'created'}. ${
577
577
  !isUpdating ? 'Recompiling...' : ''
578
578
  }`,
@@ -588,11 +588,11 @@ export class DatabaseBuilderState {
588
588
  }
589
589
  } catch (error) {
590
590
  assertErrorThrown(error);
591
- this.editorStore.applicationStore.log.error(
591
+ this.editorStore.applicationStore.logService.error(
592
592
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE),
593
593
  error,
594
594
  );
595
- this.editorStore.applicationStore.notifyError(error);
595
+ this.editorStore.applicationStore.notificationService.notifyError(error);
596
596
  } finally {
597
597
  this.isSavingDatabase = false;
598
598
  }
@@ -264,7 +264,9 @@ export class SchemaSetModelGenerationState {
264
264
 
265
265
  *generate(): GeneratorFn<boolean> {
266
266
  this.generatingModelsState.inProgress();
267
- this.editorStore.applicationStore.setNotification(undefined);
267
+ this.editorStore.applicationStore.notificationService.setNotification(
268
+ undefined,
269
+ );
268
270
  try {
269
271
  const properties = [...this.configurationProperties];
270
272
  this.addInferredConfigurationProperties(properties);
@@ -279,11 +281,11 @@ export class SchemaSetModelGenerationState {
279
281
  return true;
280
282
  } catch (error) {
281
283
  assertErrorThrown(error);
282
- this.editorStore.applicationStore.log.error(
284
+ this.editorStore.applicationStore.logService.error(
283
285
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE),
284
286
  error,
285
287
  );
286
- this.editorStore.applicationStore.notifyError(error);
288
+ this.editorStore.applicationStore.notificationService.notifyError(error);
287
289
  this.setGenerationValue('');
288
290
  return false;
289
291
  } finally {
@@ -306,16 +308,16 @@ export class SchemaSetModelGenerationState {
306
308
  undefined,
307
309
  ),
308
310
  );
309
- this.editorStore.applicationStore.notifySuccess(
311
+ this.editorStore.applicationStore.notificationService.notifySuccess(
310
312
  'Generated elements imported into project',
311
313
  );
312
314
  } catch (error) {
313
315
  assertErrorThrown(error);
314
- this.editorStore.applicationStore.log.error(
316
+ this.editorStore.applicationStore.logService.error(
315
317
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE),
316
318
  error,
317
319
  );
318
- this.editorStore.applicationStore.notifyError(error);
320
+ this.editorStore.applicationStore.notificationService.notifyError(error);
319
321
  } finally {
320
322
  this.importGeneratedElementsState.complete();
321
323
  }
@@ -331,11 +333,11 @@ export class SchemaSetModelGenerationState {
331
333
  return entities;
332
334
  } catch (error) {
333
335
  assertErrorThrown(error);
334
- this.editorStore.applicationStore.log.error(
336
+ this.editorStore.applicationStore.logService.error(
335
337
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE),
336
338
  error,
337
339
  );
338
- this.editorStore.applicationStore.notifyError(error);
340
+ this.editorStore.applicationStore.notificationService.notifyError(error);
339
341
  throw error;
340
342
  } finally {
341
343
  this.importGeneratedElementsState.complete();
@@ -409,7 +411,7 @@ export class ImportSchemaContentState {
409
411
  this.closeModal();
410
412
  } catch (error) {
411
413
  assertErrorThrown(error);
412
- this.editorStore.applicationStore.notifyError(
414
+ this.editorStore.applicationStore.notificationService.notifyError(
413
415
  `Can't load patch: Error: ${error.message}`,
414
416
  );
415
417
  this.loadingSchemaContentState.fail();
@@ -571,7 +573,7 @@ export class SchemaSetEditorState extends ElementEditorState {
571
573
  );
572
574
  } catch (error) {
573
575
  assertErrorThrown(error);
574
- this.editorStore.applicationStore.log.error(
576
+ this.editorStore.applicationStore.logService.error(
575
577
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE),
576
578
  error,
577
579
  );
@@ -96,7 +96,7 @@ export class FlatDataPropertyMappingState extends PropertyMappingState {
96
96
  if (error instanceof ParserError) {
97
97
  this.setParserError(error);
98
98
  }
99
- this.editorStore.applicationStore.log.error(
99
+ this.editorStore.applicationStore.logService.error(
100
100
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
101
101
  error,
102
102
  );
@@ -129,7 +129,7 @@ export class FlatDataPropertyMappingState extends PropertyMappingState {
129
129
  this.clearErrors();
130
130
  } catch (error) {
131
131
  assertErrorThrown(error);
132
- this.editorStore.applicationStore.log.error(
132
+ this.editorStore.applicationStore.logService.error(
133
133
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
134
134
  error,
135
135
  );
@@ -234,7 +234,7 @@ export abstract class FlatDataInstanceSetImplementationState extends InstanceSet
234
234
  });
235
235
  } catch (error) {
236
236
  assertErrorThrown(error);
237
- this.editorStore.applicationStore.log.error(
237
+ this.editorStore.applicationStore.logService.error(
238
238
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
239
239
  error,
240
240
  );
@@ -835,7 +835,7 @@ export class MappingEditorState extends ElementEditorState {
835
835
  openInAdjacentTab: boolean,
836
836
  ): void {
837
837
  if (mappingElement instanceof AssociationImplementation) {
838
- this.editorStore.applicationStore.notifyUnsupportedFeature(
838
+ this.editorStore.applicationStore.notificationService.notifyUnsupportedFeature(
839
839
  'Association mapping editor',
840
840
  );
841
841
  return;
@@ -1298,7 +1298,7 @@ export class MappingEditorState extends ElementEditorState {
1298
1298
  }
1299
1299
  } catch (error) {
1300
1300
  assertErrorThrown(error);
1301
- this.editorStore.applicationStore.log.warn(
1301
+ this.editorStore.applicationStore.logService.warn(
1302
1302
  LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
1303
1303
  `Can't locate error, redirecting to text mode`,
1304
1304
  error,
@@ -1462,7 +1462,7 @@ export class MappingEditorState extends ElementEditorState {
1462
1462
  this.editorStore.pluginManager.getApplicationPlugins(),
1463
1463
  );
1464
1464
  if (setImplementation instanceof OperationSetImplementation) {
1465
- this.editorStore.applicationStore.notifyWarning(
1465
+ this.editorStore.applicationStore.notificationService.notifyWarning(
1466
1466
  `Can't auto-generate input data for operation class mapping. Please pick a concrete class mapping instead`,
1467
1467
  );
1468
1468
  }
@@ -188,7 +188,7 @@ export class MappingExecutionQueryState extends LambdaEditorState {
188
188
  this.clearErrors();
189
189
  } catch (error) {
190
190
  assertErrorThrown(error);
191
- this.editorStore.applicationStore.log.error(
191
+ this.editorStore.applicationStore.logService.error(
192
192
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
193
193
  error,
194
194
  );
@@ -636,7 +636,7 @@ export class MappingExecutionState extends MappingEditorTabState {
636
636
  ),
637
637
  );
638
638
  } else {
639
- this.editorStore.applicationStore.notifyWarning(
639
+ this.editorStore.applicationStore.notificationService.notifyWarning(
640
640
  new UnsupportedOperationError(
641
641
  `Can't build input data for the specified source`,
642
642
  source,
@@ -669,11 +669,11 @@ export class MappingExecutionState extends MappingEditorTabState {
669
669
  }
670
670
  } catch (error) {
671
671
  assertErrorThrown(error);
672
- this.editorStore.applicationStore.log.error(
672
+ this.editorStore.applicationStore.logService.error(
673
673
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
674
674
  error,
675
675
  );
676
- this.editorStore.applicationStore.notifyError(error);
676
+ this.editorStore.applicationStore.notificationService.notifyError(error);
677
677
  }
678
678
  }
679
679
 
@@ -748,11 +748,11 @@ export class MappingExecutionState extends MappingEditorTabState {
748
748
  }
749
749
  } catch (error) {
750
750
  assertErrorThrown(error);
751
- this.editorStore.applicationStore.log.error(
751
+ this.editorStore.applicationStore.logService.error(
752
752
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
753
753
  error,
754
754
  );
755
- this.editorStore.applicationStore.notifyError(error);
755
+ this.editorStore.applicationStore.notificationService.notifyError(error);
756
756
  }
757
757
  }
758
758
 
@@ -813,11 +813,11 @@ export class MappingExecutionState extends MappingEditorTabState {
813
813
  }
814
814
  } catch (error) {
815
815
  assertErrorThrown(error);
816
- this.editorStore.applicationStore.log.error(
816
+ this.editorStore.applicationStore.logService.error(
817
817
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
818
818
  error,
819
819
  );
820
- this.editorStore.applicationStore.notifyError(error);
820
+ this.editorStore.applicationStore.notificationService.notifyError(error);
821
821
  this.setExecutionResultText('');
822
822
  } finally {
823
823
  this.isExecuting = false;
@@ -912,11 +912,11 @@ export class MappingExecutionState extends MappingEditorTabState {
912
912
  }
913
913
  } catch (error) {
914
914
  assertErrorThrown(error);
915
- this.editorStore.applicationStore.log.error(
915
+ this.editorStore.applicationStore.logService.error(
916
916
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
917
917
  error,
918
918
  );
919
- this.editorStore.applicationStore.notifyError(error);
919
+ this.editorStore.applicationStore.notificationService.notifyError(error);
920
920
  } finally {
921
921
  this.isGeneratingPlan = false;
922
922
  }
@@ -946,7 +946,7 @@ export class MappingExecutionState extends MappingEditorTabState {
946
946
  if (setImplementation) {
947
947
  if (this.inputDataState instanceof MappingExecutionEmptyInputDataState) {
948
948
  if (setImplementation instanceof OperationSetImplementation) {
949
- this.editorStore.applicationStore.notifyWarning(
949
+ this.editorStore.applicationStore.notificationService.notifyWarning(
950
950
  `Can't auto-generate input data for operation class mapping. Please pick a concrete class mapping instead`,
951
951
  );
952
952
  } else {
@@ -959,7 +959,7 @@ export class MappingExecutionState extends MappingEditorTabState {
959
959
  );
960
960
  }
961
961
  } else {
962
- this.editorStore.applicationStore.setActionAlertInfo({
962
+ this.editorStore.applicationStore.alertService.setActionAlertInfo({
963
963
  message: 'Mapping execution input data is already set',
964
964
  prompt: 'Do you want to regenerate the input data?',
965
965
  type: ActionAlertType.CAUTION,