@finos/legend-application-studio 22.4.8 → 22.5.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 (329) 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 +2 -2
  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/ServiceEditor.d.ts.map +1 -1
  53. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -1
  54. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
  55. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +6 -6
  56. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  57. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
  58. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
  59. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +1 -1
  60. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
  61. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
  62. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +2 -2
  63. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
  64. package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
  65. package/lib/components/editor/side-bar/Explorer.js +103 -16
  66. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  67. package/lib/components/editor/side-bar/ProjectDependantsEditor.js +3 -3
  68. package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
  69. package/lib/components/editor/side-bar/ProjectOverview.js +8 -8
  70. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  71. package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
  72. package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
  73. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  74. package/lib/components/editor/side-bar/WorkspaceReview.js +1 -1
  75. package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
  76. package/lib/components/editor/side-bar/WorkspaceUpdater.js +1 -1
  77. package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
  78. package/lib/components/project-viewer/ProjectViewer.js +1 -1
  79. package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
  80. package/lib/components/shared/ProjectSelectorUtils.d.ts.map +1 -1
  81. package/lib/components/shared/ProjectSelectorUtils.js +4 -4
  82. package/lib/components/shared/ProjectSelectorUtils.js.map +1 -1
  83. package/lib/components/workspace-review/WorkspaceReview.js +1 -1
  84. package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
  85. package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
  86. package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
  87. package/lib/components/workspace-setup/WorkspaceSetup.js +2 -2
  88. package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
  89. package/lib/index.css +2 -2
  90. package/lib/index.css.map +1 -1
  91. package/lib/package.json +6 -4
  92. package/lib/stores/ChangeDetectionState.js +12 -12
  93. package/lib/stores/ChangeDetectionState.js.map +1 -1
  94. package/lib/stores/DependencyProjectViewerHelper.js +1 -1
  95. package/lib/stores/DependencyProjectViewerHelper.js.map +1 -1
  96. package/lib/stores/EditorGraphState.d.ts +1 -1
  97. package/lib/stores/EditorGraphState.d.ts.map +1 -1
  98. package/lib/stores/EditorGraphState.js +64 -59
  99. package/lib/stores/EditorGraphState.js.map +1 -1
  100. package/lib/stores/EditorSDLCState.d.ts.map +1 -1
  101. package/lib/stores/EditorSDLCState.js +21 -21
  102. package/lib/stores/EditorSDLCState.js.map +1 -1
  103. package/lib/stores/EditorStore.js +39 -39
  104. package/lib/stores/EditorStore.js.map +1 -1
  105. package/lib/stores/EditorTabManagerState.js +1 -1
  106. package/lib/stores/EditorTabManagerState.js.map +1 -1
  107. package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +1 -1
  108. package/lib/stores/EmbeddedQueryBuilderState.js +8 -8
  109. package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -1
  110. package/lib/stores/ExplorerTreeState.d.ts +5 -3
  111. package/lib/stores/ExplorerTreeState.d.ts.map +1 -1
  112. package/lib/stores/ExplorerTreeState.js +11 -5
  113. package/lib/stores/ExplorerTreeState.js.map +1 -1
  114. package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
  115. package/lib/stores/LegendStudioBaseStore.js +15 -15
  116. package/lib/stores/LegendStudioBaseStore.js.map +1 -1
  117. package/lib/stores/LegendStudioDocumentation.d.ts +1 -0
  118. package/lib/stores/LegendStudioDocumentation.d.ts.map +1 -1
  119. package/lib/stores/LegendStudioDocumentation.js +1 -0
  120. package/lib/stores/LegendStudioDocumentation.js.map +1 -1
  121. package/lib/stores/LegendStudioStorage.d.ts +20 -0
  122. package/lib/stores/LegendStudioStorage.d.ts.map +1 -0
  123. package/lib/stores/LegendStudioStorage.js +21 -0
  124. package/lib/stores/LegendStudioStorage.js.map +1 -0
  125. package/lib/stores/editor-state/ExternalFormatState.js +2 -2
  126. package/lib/stores/editor-state/ExternalFormatState.js.map +1 -1
  127. package/lib/stores/editor-state/FileGenerationState.js +3 -3
  128. package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
  129. package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +1 -1
  130. package/lib/stores/editor-state/GrammarTextEditorState.js +4 -1
  131. package/lib/stores/editor-state/GrammarTextEditorState.js.map +1 -1
  132. package/lib/stores/editor-state/GraphGenerationState.js +9 -9
  133. package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
  134. package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
  135. package/lib/stores/editor-state/ModelImporterState.js +9 -9
  136. package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
  137. package/lib/stores/editor-state/element-editor-state/ClassEditorState.js +1 -1
  138. package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +1 -1
  139. package/lib/stores/editor-state/element-editor-state/ClassState.js +6 -6
  140. package/lib/stores/editor-state/element-editor-state/ClassState.js.map +1 -1
  141. package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +2 -2
  142. package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
  143. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +2 -2
  144. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -1
  145. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +3 -3
  146. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  147. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
  148. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +1 -1
  149. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
  150. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts +2 -1
  151. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -1
  152. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +9 -1
  153. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
  154. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +11 -11
  155. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
  156. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -1
  157. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +10 -10
  158. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
  159. package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +3 -3
  160. package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -1
  161. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +3 -3
  162. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
  163. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +12 -12
  164. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
  165. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +12 -12
  166. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
  167. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +6 -6
  168. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
  169. package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +3 -3
  170. package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -1
  171. package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js +1 -1
  172. package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
  173. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
  174. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +8 -8
  175. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
  176. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +4 -4
  177. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
  178. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
  179. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
  180. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +3 -3
  181. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
  182. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +2 -2
  183. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
  184. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
  185. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
  186. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +1 -1
  187. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
  188. package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +2 -2
  189. package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
  190. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +2 -2
  191. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
  192. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +2 -0
  193. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
  194. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +22 -12
  195. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
  196. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +2 -2
  197. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
  198. package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
  199. package/lib/stores/project-viewer/ProjectViewerStore.js +13 -13
  200. package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
  201. package/lib/stores/shared/MockDataUtils.d.ts +6 -0
  202. package/lib/stores/shared/MockDataUtils.d.ts.map +1 -1
  203. package/lib/stores/shared/MockDataUtils.js +32 -3
  204. package/lib/stores/shared/MockDataUtils.js.map +1 -1
  205. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts +6 -1
  206. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -1
  207. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js +15 -1
  208. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -1
  209. package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
  210. package/lib/stores/sidebar-state/LocalChangesState.js +19 -19
  211. package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
  212. package/lib/stores/sidebar-state/ProjectOverviewState.js +11 -11
  213. package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
  214. package/lib/stores/sidebar-state/WorkflowManagerState.js +12 -12
  215. package/lib/stores/sidebar-state/WorkflowManagerState.js.map +1 -1
  216. package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
  217. package/lib/stores/sidebar-state/WorkspaceReviewState.js +23 -23
  218. package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
  219. package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +1 -1
  220. package/lib/stores/sidebar-state/WorkspaceSyncState.js +10 -10
  221. package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -1
  222. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -1
  223. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +33 -33
  224. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -1
  225. package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
  226. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +16 -16
  227. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
  228. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js +3 -3
  229. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
  230. package/lib/stores/workspace-review/WorkspaceReviewStore.js +16 -16
  231. package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
  232. package/lib/stores/workspace-setup/ProjectConfigurationStatus.js +1 -1
  233. package/lib/stores/workspace-setup/ProjectConfigurationStatus.js.map +1 -1
  234. package/lib/stores/workspace-setup/WorkspaceSetupStore.js +17 -17
  235. package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
  236. package/package.json +15 -13
  237. package/src/components/EditorComponentTestUtils.tsx +3 -2
  238. package/src/components/LegendStudioAppInfo.tsx +4 -2
  239. package/src/components/LegendStudioApplication.tsx +6 -3
  240. package/src/components/editor/ActivityBar.tsx +5 -3
  241. package/src/components/editor/Editor.tsx +4 -4
  242. package/src/components/editor/StatusBar.tsx +4 -4
  243. package/src/components/editor/aux-panel/DevTool.tsx +7 -1
  244. package/src/components/editor/command-center/ProjectSearchCommand.tsx +8 -6
  245. package/src/components/editor/edit-panel/FunctionEditor.tsx +1 -1
  246. package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -1
  247. package/src/components/editor/edit-panel/RuntimeEditor.tsx +1 -1
  248. package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +77 -1
  249. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +4 -4
  250. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +4 -4
  251. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +6 -2
  252. package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +3 -3
  253. package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +1 -1
  254. package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +164 -26
  255. package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +13 -9
  256. package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +4 -1
  257. package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +7 -7
  258. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +1 -1
  259. package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +1 -1
  260. package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +4 -2
  261. package/src/components/editor/side-bar/Explorer.tsx +268 -40
  262. package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +5 -5
  263. package/src/components/editor/side-bar/ProjectOverview.tsx +13 -13
  264. package/src/components/editor/side-bar/WorkflowManager.tsx +6 -2
  265. package/src/components/editor/side-bar/WorkspaceReview.tsx +2 -2
  266. package/src/components/editor/side-bar/WorkspaceUpdater.tsx +2 -2
  267. package/src/components/project-viewer/ProjectViewer.tsx +2 -2
  268. package/src/components/shared/ProjectSelectorUtils.tsx +7 -5
  269. package/src/components/workspace-review/WorkspaceReview.tsx +4 -4
  270. package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
  271. package/src/components/workspace-setup/WorkspaceSetup.tsx +2 -2
  272. package/src/stores/ChangeDetectionState.ts +12 -12
  273. package/src/stores/DependencyProjectViewerHelper.ts +2 -2
  274. package/src/stores/EditorGraphState.ts +80 -60
  275. package/src/stores/EditorSDLCState.ts +25 -21
  276. package/src/stores/EditorStore.ts +39 -39
  277. package/src/stores/EditorTabManagerState.ts +1 -1
  278. package/src/stores/EmbeddedQueryBuilderState.ts +14 -8
  279. package/src/stores/ExplorerTreeState.ts +16 -6
  280. package/src/stores/LegendStudioBaseStore.ts +29 -20
  281. package/src/stores/LegendStudioDocumentation.ts +1 -0
  282. package/src/stores/LegendStudioStorage.ts +20 -0
  283. package/src/stores/editor-state/ExternalFormatState.ts +2 -2
  284. package/src/stores/editor-state/FileGenerationState.ts +3 -3
  285. package/src/stores/editor-state/GrammarTextEditorState.ts +7 -1
  286. package/src/stores/editor-state/GraphGenerationState.ts +9 -9
  287. package/src/stores/editor-state/ModelImporterState.ts +13 -9
  288. package/src/stores/editor-state/element-editor-state/ClassEditorState.ts +1 -1
  289. package/src/stores/editor-state/element-editor-state/ClassState.ts +6 -6
  290. package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +2 -2
  291. package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +2 -2
  292. package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +3 -3
  293. package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +3 -1
  294. package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +8 -0
  295. package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +11 -11
  296. package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +12 -10
  297. package/src/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +3 -3
  298. package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +3 -3
  299. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +12 -12
  300. package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +12 -12
  301. package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +6 -6
  302. package/src/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +3 -3
  303. package/src/stores/editor-state/element-editor-state/service/ServiceEditorState.ts +1 -1
  304. package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +12 -8
  305. package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +4 -4
  306. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
  307. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +3 -3
  308. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +2 -2
  309. package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +1 -1
  310. package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +1 -1
  311. package/src/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +2 -2
  312. package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +2 -2
  313. package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +33 -12
  314. package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +2 -2
  315. package/src/stores/project-viewer/ProjectViewerStore.ts +15 -13
  316. package/src/stores/shared/MockDataUtils.ts +44 -3
  317. package/src/stores/shared/modifier/STO_Relational_GraphModifierHelper.ts +26 -1
  318. package/src/stores/sidebar-state/LocalChangesState.ts +21 -19
  319. package/src/stores/sidebar-state/ProjectOverviewState.ts +11 -11
  320. package/src/stores/sidebar-state/WorkflowManagerState.ts +12 -12
  321. package/src/stores/sidebar-state/WorkspaceReviewState.ts +27 -23
  322. package/src/stores/sidebar-state/WorkspaceSyncState.ts +16 -10
  323. package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +35 -33
  324. package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +18 -16
  325. package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +3 -3
  326. package/src/stores/workspace-review/WorkspaceReviewStore.ts +16 -16
  327. package/src/stores/workspace-setup/ProjectConfigurationStatus.ts +1 -1
  328. package/src/stores/workspace-setup/WorkspaceSetupStore.ts +17 -17
  329. package/tsconfig.json +1 -0
@@ -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,
@@ -168,7 +168,7 @@ export class MappingTestQueryState extends LambdaEditorState {
168
168
  this.clearErrors();
169
169
  } catch (error) {
170
170
  assertErrorThrown(error);
171
- this.editorStore.applicationStore.log.error(
171
+ this.editorStore.applicationStore.logService.error(
172
172
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
173
173
  error,
174
174
  );
@@ -625,7 +625,7 @@ export class MappingTestState extends MappingEditorTabState {
625
625
  }
626
626
  this.setInputDataState(newInputDataState);
627
627
  } else {
628
- this.editorStore.applicationStore.notifyWarning(
628
+ this.editorStore.applicationStore.notificationService.notifyWarning(
629
629
  new UnsupportedOperationError(
630
630
  `Can't build input data for source`,
631
631
  source,
@@ -639,12 +639,12 @@ export class MappingTestState extends MappingEditorTabState {
639
639
  */
640
640
  *regenerateExpectedResult(): GeneratorFn<void> {
641
641
  if (DEPRECATED__validate_MappingTest(this.test)) {
642
- this.editorStore.applicationStore.notifyError(
642
+ this.editorStore.applicationStore.notificationService.notifyError(
643
643
  `Can't execute test '${this.test.name}'. Please make sure that the test query and input data are valid`,
644
644
  );
645
645
  return;
646
646
  } else if (this.isExecutingTest) {
647
- this.editorStore.applicationStore.notifyWarning(
647
+ this.editorStore.applicationStore.notificationService.notifyWarning(
648
648
  `Can't execute test '${this.test.name}' while it is running`,
649
649
  );
650
650
  return;
@@ -687,11 +687,11 @@ export class MappingTestState extends MappingEditorTabState {
687
687
  } else {
688
688
  throw new UnsupportedOperationError();
689
689
  }
690
- this.editorStore.applicationStore.log.error(
690
+ this.editorStore.applicationStore.logService.error(
691
691
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
692
692
  error,
693
693
  );
694
- this.editorStore.applicationStore.notifyError(error);
694
+ this.editorStore.applicationStore.notificationService.notifyError(error);
695
695
  } finally {
696
696
  this.isExecutingTest = false;
697
697
  }
@@ -699,12 +699,12 @@ export class MappingTestState extends MappingEditorTabState {
699
699
 
700
700
  *runTest(): GeneratorFn<void> {
701
701
  if (DEPRECATED__validate_MappingTest(this.test)) {
702
- this.editorStore.applicationStore.notifyError(
702
+ this.editorStore.applicationStore.notificationService.notifyError(
703
703
  `Can't run test '${this.test.name}'. Please make sure that the test is valid`,
704
704
  );
705
705
  return;
706
706
  } else if (this.isExecutingTest) {
707
- this.editorStore.applicationStore.notifyWarning(
707
+ this.editorStore.applicationStore.notificationService.notifyWarning(
708
708
  `Test '${this.test.name}' is already running`,
709
709
  );
710
710
  return;
@@ -748,7 +748,7 @@ export class MappingTestState 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
  );
@@ -782,7 +782,7 @@ export class MappingTestState extends MappingEditorTabState {
782
782
  }
783
783
  } catch (error) {
784
784
  assertErrorThrown(error);
785
- this.editorStore.applicationStore.log.error(
785
+ this.editorStore.applicationStore.logService.error(
786
786
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
787
787
  error.message,
788
788
  );
@@ -877,11 +877,11 @@ export class MappingTestState extends MappingEditorTabState {
877
877
  }
878
878
  } catch (error) {
879
879
  assertErrorThrown(error);
880
- this.editorStore.applicationStore.log.error(
880
+ this.editorStore.applicationStore.logService.error(
881
881
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
882
882
  error,
883
883
  );
884
- this.editorStore.applicationStore.notifyError(error);
884
+ this.editorStore.applicationStore.notificationService.notifyError(error);
885
885
  } finally {
886
886
  this.isGeneratingPlan = false;
887
887
  }
@@ -86,7 +86,7 @@ export class PurePropertyMappingState extends PropertyMappingState {
86
86
  if (error instanceof ParserError) {
87
87
  this.setParserError(error);
88
88
  }
89
- this.editorStore.applicationStore.log.error(
89
+ this.editorStore.applicationStore.logService.error(
90
90
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
91
91
  error,
92
92
  );
@@ -116,7 +116,7 @@ export class PurePropertyMappingState extends PropertyMappingState {
116
116
  this.clearErrors();
117
117
  } catch (error) {
118
118
  assertErrorThrown(error);
119
- this.editorStore.applicationStore.log.error(
119
+ this.editorStore.applicationStore.logService.error(
120
120
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
121
121
  error,
122
122
  );
@@ -174,7 +174,7 @@ export class PureInstanceSetImplementationFilterState extends LambdaEditorState
174
174
  if (error instanceof ParserError) {
175
175
  this.setParserError(error);
176
176
  }
177
- this.editorStore.applicationStore.log.error(
177
+ this.editorStore.applicationStore.logService.error(
178
178
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
179
179
  error,
180
180
  );
@@ -202,7 +202,7 @@ export class PureInstanceSetImplementationFilterState extends LambdaEditorState
202
202
  this.clearErrors();
203
203
  } catch (error) {
204
204
  assertErrorThrown(error);
205
- this.editorStore.applicationStore.log.error(
205
+ this.editorStore.applicationStore.logService.error(
206
206
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
207
207
  error,
208
208
  );
@@ -309,7 +309,7 @@ export class PureInstanceSetImplementationState extends InstanceSetImplementatio
309
309
  });
310
310
  } catch (error) {
311
311
  assertErrorThrown(error);
312
- this.editorStore.applicationStore.log.error(
312
+ this.editorStore.applicationStore.logService.error(
313
313
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
314
314
  error,
315
315
  );
@@ -333,7 +333,7 @@ export class PureInstanceSetImplementationState extends InstanceSetImplementatio
333
333
  );
334
334
  } catch (error) {
335
335
  assertErrorThrown(error);
336
- this.editorStore.applicationStore.log.error(
336
+ this.editorStore.applicationStore.logService.error(
337
337
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
338
338
  error,
339
339
  );
@@ -96,7 +96,7 @@ export class RelationalPropertyMappingState 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
  );
@@ -131,7 +131,7 @@ export class RelationalPropertyMappingState extends PropertyMappingState {
131
131
  this.clearErrors();
132
132
  } catch (error) {
133
133
  assertErrorThrown(error);
134
- this.editorStore.applicationStore.log.error(
134
+ this.editorStore.applicationStore.logService.error(
135
135
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
136
136
  error,
137
137
  );
@@ -338,7 +338,7 @@ export class RootRelationalInstanceSetImplementationState extends RelationalInst
338
338
  });
339
339
  } catch (error) {
340
340
  assertErrorThrown(error);
341
- this.editorStore.applicationStore.log.error(
341
+ this.editorStore.applicationStore.logService.error(
342
342
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
343
343
  error,
344
344
  );
@@ -146,7 +146,7 @@ export class ServiceEditorState extends ElementEditorState {
146
146
  ).map((p) => User.serialization.fromJson(p));
147
147
  } catch (error) {
148
148
  assertErrorThrown(error);
149
- this.editorStore.applicationStore.notifyError(error);
149
+ this.editorStore.applicationStore.notificationService.notifyError(error);
150
150
  return [];
151
151
  }
152
152
  }
@@ -276,7 +276,9 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
276
276
  };
277
277
  } catch (error) {
278
278
  assertErrorThrown(error);
279
- this.editorStore.applicationStore.notifyError(error);
279
+ this.editorStore.applicationStore.notificationService.notifyError(
280
+ error,
281
+ );
280
282
  } finally {
281
283
  this.loadQueryInfoState.reset();
282
284
  }
@@ -296,7 +298,9 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
296
298
  yield flowResult(this.updateLamba(lambda));
297
299
  } catch (error) {
298
300
  assertErrorThrown(error);
299
- this.editorStore.applicationStore.notifyError(error);
301
+ this.editorStore.applicationStore.notificationService.notifyError(
302
+ error,
303
+ );
300
304
  } finally {
301
305
  this.setOpenQueryImporter(false);
302
306
  this.importQueryState.reset();
@@ -346,7 +350,7 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
346
350
  } catch (error) {
347
351
  assertErrorThrown(error);
348
352
  this.loadQueriesState.fail();
349
- this.editorStore.applicationStore.notifyError(error);
353
+ this.editorStore.applicationStore.notificationService.notifyError(error);
350
354
  }
351
355
  }
352
356
 
@@ -380,7 +384,7 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
380
384
  this.clearErrors();
381
385
  } catch (error) {
382
386
  assertErrorThrown(error);
383
- this.editorStore.applicationStore.log.error(
387
+ this.editorStore.applicationStore.logService.error(
384
388
  LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
385
389
  error,
386
390
  );
@@ -633,11 +637,11 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
633
637
  }
634
638
  } catch (error) {
635
639
  assertErrorThrown(error);
636
- this.editorStore.applicationStore.log.error(
640
+ this.editorStore.applicationStore.logService.error(
637
641
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
638
642
  error,
639
643
  );
640
- this.editorStore.applicationStore.notifyError(error);
644
+ this.editorStore.applicationStore.notificationService.notifyError(error);
641
645
  } finally {
642
646
  this.isGeneratingPlan = false;
643
647
  }
@@ -713,11 +717,11 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
713
717
  }
714
718
  } catch (error) {
715
719
  assertErrorThrown(error);
716
- this.editorStore.applicationStore.log.error(
720
+ this.editorStore.applicationStore.logService.error(
717
721
  LogEvent.create(GRAPH_MANAGER_EVENT.EXECUTION_FAILURE),
718
722
  error,
719
723
  );
720
- this.editorStore.applicationStore.notifyError(error);
724
+ this.editorStore.applicationStore.notificationService.notifyError(error);
721
725
  } finally {
722
726
  this.isRunningQuery = false;
723
727
  }
@@ -270,7 +270,7 @@ export class ServiceRegistrationState {
270
270
  'Service registration pattern is missing or empty',
271
271
  );
272
272
 
273
- this.editorStore.applicationStore.setActionAlertInfo({
273
+ this.editorStore.applicationStore.alertService.setActionAlertInfo({
274
274
  message: `Service with pattern ${
275
275
  serviceRegistrationResult.pattern
276
276
  } registered ${this.activatePostRegistration ? 'and activated ' : ''}`,
@@ -281,7 +281,7 @@ export class ServiceRegistrationState {
281
281
  label: 'Launch Service',
282
282
  type: ActionAlertActionType.PROCEED,
283
283
  handler: (): void => {
284
- this.editorStore.applicationStore.navigator.visitAddress(
284
+ this.editorStore.applicationStore.navigationService.navigator.visitAddress(
285
285
  generateServiceManagementUrl(
286
286
  config.managementUrl,
287
287
  serviceRegistrationResult.pattern,
@@ -298,11 +298,11 @@ export class ServiceRegistrationState {
298
298
  });
299
299
  } catch (error) {
300
300
  assertErrorThrown(error);
301
- this.editorStore.applicationStore.log.error(
301
+ this.editorStore.applicationStore.logService.error(
302
302
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.SERVICE_REGISTRATION_FAILURE),
303
303
  error,
304
304
  );
305
- this.editorStore.applicationStore.notifyError(error);
305
+ this.editorStore.applicationStore.notificationService.notifyError(error);
306
306
  } finally {
307
307
  this.registrationState.reset();
308
308
  this.registrationState.setMessage(undefined);
@@ -195,7 +195,7 @@ export class ConnectionTestDataState {
195
195
  this.generatingTestDataSate.pass();
196
196
  } catch (error) {
197
197
  assertErrorThrown(error);
198
- this.editorStore.applicationStore.notifyError(
198
+ this.editorStore.applicationStore.notificationService.notifyError(
199
199
  `Unable to generate test data: ${error.message}`,
200
200
  );
201
201
  this.generatingTestDataSate.fail();
@@ -282,7 +282,7 @@ export class ServiceTestSetupState {
282
282
  this.addExpressionParameterValue(expression);
283
283
  } catch (error) {
284
284
  assertErrorThrown(error);
285
- this.editorStore.applicationStore.notifyError(error);
285
+ this.editorStore.applicationStore.notificationService.notifyError(error);
286
286
  } finally {
287
287
  this.setShowNewParameterModal(false);
288
288
  }
@@ -316,7 +316,7 @@ export class ServiceTestSetupState {
316
316
  this.parameterValueStates.push(paramValueState);
317
317
  } catch (error) {
318
318
  assertErrorThrown(error);
319
- this.editorStore.applicationStore.notifyError(error);
319
+ this.editorStore.applicationStore.notificationService.notifyError(error);
320
320
  }
321
321
  }
322
322
 
@@ -406,7 +406,7 @@ export class ServiceTestSetupState {
406
406
  this.parameterValueStates = parameterValueStates;
407
407
  } catch (error) {
408
408
  assertErrorThrown(error);
409
- this.editorStore.applicationStore.notifyError(
409
+ this.editorStore.applicationStore.notificationService.notifyError(
410
410
  `Unable to generate param values: ${error.message}`,
411
411
  );
412
412
  }
@@ -160,7 +160,7 @@ export class ServiceTestSuiteState {
160
160
  this.isRunningTest.complete();
161
161
  } catch (error) {
162
162
  assertErrorThrown(error);
163
- this.editorStore.applicationStore.notifyError(error);
163
+ this.editorStore.applicationStore.notificationService.notifyError(error);
164
164
  this.isRunningTest.fail();
165
165
  } finally {
166
166
  this.testStates.forEach((t) => t.runningTestAction.complete());
@@ -198,7 +198,7 @@ export class ServiceTestSuiteState {
198
198
  this.isRunningTest.complete();
199
199
  } catch (error) {
200
200
  assertErrorThrown(error);
201
- this.editorStore.applicationStore.notifyError(error);
201
+ this.editorStore.applicationStore.notificationService.notifyError(error);
202
202
  this.isRunningTest.fail();
203
203
  } finally {
204
204
  this.testStates.forEach((t) => t.runningTestAction.complete());
@@ -314,7 +314,7 @@ export class TestAssertionEditorState {
314
314
  this.generatingExpectedAction.complete();
315
315
  } catch (error) {
316
316
  assertErrorThrown(error);
317
- this.editorStore.applicationStore.notifyError(
317
+ this.editorStore.applicationStore.notificationService.notifyError(
318
318
  `Error generating expected result: ${error.message}`,
319
319
  );
320
320
  this.generatingExpectedAction.fail();
@@ -159,7 +159,7 @@ export class TestableTestEditorState {
159
159
  this.runningTestAction.complete();
160
160
  } catch (error) {
161
161
  assertErrorThrown(error);
162
- this.editorStore.applicationStore.notifyError(
162
+ this.editorStore.applicationStore.notificationService.notifyError(
163
163
  `Error running test: ${error.message}`,
164
164
  );
165
165
  this.runningTestAction.fail();
@@ -450,7 +450,7 @@ export class EntityChangeConflictEditorState extends EntityDiffViewerState {
450
450
  ),
451
451
  );
452
452
  } else {
453
- this.editorStore.applicationStore.notifyWarning(
453
+ this.editorStore.applicationStore.notificationService.notifyWarning(
454
454
  `Can't mark conflict as resolved: more than one element found in parsed text`,
455
455
  );
456
456
  return;
@@ -459,7 +459,7 @@ export class EntityChangeConflictEditorState extends EntityDiffViewerState {
459
459
  assertErrorThrown(error);
460
460
  if (error instanceof ParserError) {
461
461
  this.mergeEditorParserError = error;
462
- this.editorStore.applicationStore.notifyWarning(
462
+ this.editorStore.applicationStore.notificationService.notifyWarning(
463
463
  `Can't mark conflict as resolved. Parsing error: ${this.mergeEditorParserError.message}`,
464
464
  );
465
465
  }
@@ -209,7 +209,7 @@ export class EntityDiffViewState extends EntityDiffViewerState {
209
209
  this.setFromGrammarText(
210
210
  '/* Failed to transform grammar text, see JSON diff instead */',
211
211
  );
212
- this.editorStore.applicationStore.log.error(
212
+ this.editorStore.applicationStore.logService.error(
213
213
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
214
214
  error,
215
215
  );
@@ -232,7 +232,7 @@ export class EntityDiffViewState extends EntityDiffViewerState {
232
232
  this.setFromGrammarText(
233
233
  '/* Failed to transform grammar text, see JSON diff instead */',
234
234
  );
235
- this.editorStore.applicationStore.log.error(
235
+ this.editorStore.applicationStore.logService.error(
236
236
  LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
237
237
  error,
238
238
  );