@finos/legend-application-studio 18.0.1 → 18.1.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 (486) hide show
  1. package/lib/application/LegendStudio.d.ts.map +1 -1
  2. package/lib/application/LegendStudio.js +1 -2
  3. package/lib/application/LegendStudio.js.map +1 -1
  4. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +1 -1
  5. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
  6. package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
  7. package/lib/components/EditorComponentTestUtils.js +1 -3
  8. package/lib/components/EditorComponentTestUtils.js.map +1 -1
  9. package/lib/components/LegendStudioApplication.d.ts.map +1 -1
  10. package/lib/components/LegendStudioApplication.js +3 -4
  11. package/lib/components/LegendStudioApplication.js.map +1 -1
  12. package/lib/components/editor/ActivityBar.d.ts.map +1 -1
  13. package/lib/components/editor/ActivityBar.js +3 -3
  14. package/lib/components/editor/ActivityBar.js.map +1 -1
  15. package/lib/components/editor/Editor.d.ts.map +1 -1
  16. package/lib/components/editor/Editor.js +81 -93
  17. package/lib/components/editor/Editor.js.map +1 -1
  18. package/lib/components/editor/StatusBar.d.ts.map +1 -1
  19. package/lib/components/editor/StatusBar.js +2 -3
  20. package/lib/components/editor/StatusBar.js.map +1 -1
  21. package/lib/components/editor/aux-panel/AuxiliaryPanel.js +1 -1
  22. package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
  23. package/lib/components/editor/edit-panel/EditPanel.js +2 -3
  24. package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
  25. package/lib/components/editor/edit-panel/FunctionEditor.js +10 -10
  26. package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
  27. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +5 -5
  28. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
  29. package/lib/components/editor/edit-panel/GrammarTextEditor.js +1 -2
  30. package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
  31. package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
  32. package/lib/components/editor/edit-panel/ModelImporter.js +7 -4
  33. package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
  34. package/lib/components/editor/edit-panel/RuntimeEditor.js +2 -2
  35. package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
  36. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +1 -1
  37. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
  38. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +1 -1
  39. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
  40. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
  41. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
  42. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +14 -14
  43. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  44. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +2 -2
  45. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
  46. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +3 -3
  47. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
  48. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +3 -3
  49. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
  50. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js +3 -3
  51. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js.map +1 -1
  52. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
  53. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +2 -3
  54. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  55. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +1 -1
  56. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
  57. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js +1 -1
  58. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js.map +1 -1
  59. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +3 -3
  60. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
  61. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +1 -1
  62. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
  63. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +1 -1
  64. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
  65. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +1 -1
  66. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
  67. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +3 -3
  68. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
  69. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +2 -2
  70. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
  71. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -1
  72. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +36 -49
  73. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
  74. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +7 -7
  75. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  76. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +3 -3
  77. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
  78. package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
  79. package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
  80. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +3 -3
  81. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
  82. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
  83. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +8 -17
  84. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
  85. package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +2 -3
  86. package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
  87. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +6 -6
  88. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  89. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +2 -2
  90. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
  91. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +5 -5
  92. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
  93. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +3 -3
  94. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
  95. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
  96. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
  97. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +59 -51
  98. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
  99. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +3 -3
  100. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
  101. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +3 -3
  102. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
  103. package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.js +1 -1
  104. package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
  105. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
  106. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +58 -24
  107. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  108. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -2
  109. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
  110. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +3 -3
  111. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
  112. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  113. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +3 -3
  114. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  115. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +1 -1
  116. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
  117. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +15 -0
  118. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
  119. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +3 -3
  120. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
  121. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +2 -2
  122. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
  123. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +4 -4
  124. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
  125. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +8 -8
  126. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
  127. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +1 -1
  128. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
  129. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +3 -3
  130. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
  131. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +4 -4
  132. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
  133. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +2 -2
  134. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
  135. package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +2 -2
  136. package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
  137. package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +3 -3
  138. package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -1
  139. package/lib/components/editor/side-bar/Explorer.js +3 -3
  140. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  141. package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
  142. package/lib/components/editor/side-bar/ProjectOverview.js +8 -8
  143. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  144. package/lib/components/editor/side-bar/WorkflowManager.js +4 -4
  145. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  146. package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
  147. package/lib/components/editor/side-bar/WorkspaceReview.js +2 -4
  148. package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
  149. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +1 -1
  150. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
  151. package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
  152. package/lib/components/editor/side-bar/WorkspaceUpdater.js +2 -4
  153. package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
  154. package/lib/components/project-viewer/ProjectViewer.d.ts.map +1 -1
  155. package/lib/components/project-viewer/ProjectViewer.js +4 -7
  156. package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
  157. package/lib/components/shared/DiffView.d.ts.map +1 -1
  158. package/lib/components/shared/DiffView.js +1 -2
  159. package/lib/components/shared/DiffView.js.map +1 -1
  160. package/lib/components/shared/ProjectSelectorUtils.js +1 -1
  161. package/lib/components/shared/ProjectSelectorUtils.js.map +1 -1
  162. package/lib/components/shared/StudioLambdaEditor.d.ts +1 -1
  163. package/lib/components/shared/StudioLambdaEditor.d.ts.map +1 -1
  164. package/lib/components/shared/StudioLambdaEditor.js +3 -2
  165. package/lib/components/shared/StudioLambdaEditor.js.map +1 -1
  166. package/lib/components/workspace-review/WorkspaceReview.d.ts.map +1 -1
  167. package/lib/components/workspace-review/WorkspaceReview.js +4 -6
  168. package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
  169. package/lib/components/workspace-review/WorkspaceReviewSideBar.js +2 -2
  170. package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
  171. package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
  172. package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
  173. package/lib/components/workspace-setup/WorkspaceSetup.js +2 -3
  174. package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
  175. package/lib/index.css +2 -2
  176. package/lib/index.css.map +1 -1
  177. package/lib/index.d.ts +5 -5
  178. package/lib/index.d.ts.map +1 -1
  179. package/lib/index.js +5 -5
  180. package/lib/index.js.map +1 -1
  181. package/lib/package.json +2 -7
  182. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -5
  183. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
  184. package/lib/stores/EditorGraphState.d.ts +2 -14
  185. package/lib/stores/EditorGraphState.d.ts.map +1 -1
  186. package/lib/stores/EditorGraphState.js +3 -48
  187. package/lib/stores/EditorGraphState.js.map +1 -1
  188. package/lib/stores/EditorStore.d.ts +1 -4
  189. package/lib/stores/EditorStore.d.ts.map +1 -1
  190. package/lib/stores/EditorStore.js +9 -20
  191. package/lib/stores/EditorStore.js.map +1 -1
  192. package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
  193. package/lib/stores/LegendStudioBaseStore.js +7 -4
  194. package/lib/stores/LegendStudioBaseStore.js.map +1 -1
  195. package/lib/stores/LegendStudioRouter.js +1 -1
  196. package/lib/stores/LegendStudioRouter.js.map +1 -1
  197. package/lib/stores/editor/NewElementState.js +4 -4
  198. package/lib/stores/editor/NewElementState.js.map +1 -1
  199. package/lib/stores/editor-state/FileGenerationState.js +1 -1
  200. package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
  201. package/lib/stores/editor-state/GenerationSpecificationEditorState.js +1 -1
  202. package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +1 -1
  203. package/lib/stores/editor-state/GraphGenerationState.js +1 -1
  204. package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
  205. package/lib/stores/editor-state/ModelImporterState.d.ts +5 -5
  206. package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
  207. package/lib/stores/editor-state/ModelImporterState.js +12 -10
  208. package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
  209. package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts +3 -2
  210. package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
  211. package/lib/stores/editor-state/ProjectConfigurationEditorState.js +9 -3
  212. package/lib/stores/editor-state/ProjectConfigurationEditorState.js.map +1 -1
  213. package/lib/stores/editor-state/element-editor-state/ClassState.d.ts +1 -1
  214. package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +1 -1
  215. package/lib/stores/editor-state/element-editor-state/ClassState.js +2 -2
  216. package/lib/stores/editor-state/element-editor-state/ClassState.js.map +1 -1
  217. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +1 -1
  218. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
  219. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts +1 -1
  220. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -1
  221. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +1 -1
  222. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  223. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +2 -2
  224. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
  225. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +1 -1
  226. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
  227. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +1 -1
  228. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
  229. package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js +1 -1
  230. package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -1
  231. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +1 -1
  232. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
  233. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -1
  234. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +4 -4
  235. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
  236. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -1
  237. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js +20 -9
  238. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -1
  239. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts +1 -1
  240. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -1
  241. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js +1 -1
  242. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -1
  243. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts +2 -1
  244. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -1
  245. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +6 -5
  246. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
  247. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts +2 -1
  248. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -1
  249. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +5 -4
  250. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
  251. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +1 -1
  252. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -1
  253. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +2 -2
  254. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
  255. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts +2 -1
  256. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
  257. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +4 -3
  258. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
  259. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +1 -1
  260. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
  261. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
  262. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
  263. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -1
  264. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +3 -2
  265. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
  266. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +1 -1
  267. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
  268. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
  269. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
  270. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +1 -1
  271. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
  272. package/lib/stores/project-viewer/ProjectViewerStore.js +2 -2
  273. package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
  274. package/lib/stores/shared/ModelClassifierUtils.d.ts +0 -10
  275. package/lib/stores/shared/ModelClassifierUtils.d.ts.map +1 -1
  276. package/lib/stores/shared/ModelClassifierUtils.js +0 -11
  277. package/lib/stores/shared/ModelClassifierUtils.js.map +1 -1
  278. package/lib/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.d.ts +0 -0
  279. package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
  280. package/lib/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.js +0 -0
  281. package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.js.map +1 -0
  282. package/lib/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.d.ts +0 -0
  283. package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
  284. package/lib/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.js +0 -0
  285. package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
  286. package/lib/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.d.ts +0 -0
  287. package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
  288. package/lib/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.js +0 -0
  289. package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
  290. package/lib/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.d.ts +7 -7
  291. package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
  292. package/lib/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.js +15 -16
  293. package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
  294. package/lib/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.d.ts +0 -0
  295. package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
  296. package/lib/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.js +0 -0
  297. package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -0
  298. package/lib/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.d.ts +0 -0
  299. package/lib/stores/shared/modifier/DomainGraphModifierHelper.d.ts.map +1 -0
  300. package/lib/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.js +3 -3
  301. package/lib/stores/shared/modifier/DomainGraphModifierHelper.js.map +1 -0
  302. package/lib/stores/{graphModifier → shared/modifier}/GraphModifierHelper.d.ts +0 -0
  303. package/lib/stores/shared/modifier/GraphModifierHelper.d.ts.map +1 -0
  304. package/lib/stores/{graphModifier → shared/modifier}/GraphModifierHelper.js +0 -0
  305. package/lib/stores/shared/modifier/GraphModifierHelper.js.map +1 -0
  306. package/lib/stores/{graphModifier/ValueSpecificationGraphModifierHelper.d.ts → shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts} +4 -4
  307. package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +1 -0
  308. package/lib/stores/{graphModifier/ValueSpecificationGraphModifierHelper.js → shared/modifier/RawValueSpecificationGraphModifierHelper.js} +8 -9
  309. package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +1 -0
  310. package/lib/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.d.ts +0 -0
  311. package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
  312. package/lib/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.js +0 -0
  313. package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
  314. package/lib/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.d.ts +1 -1
  315. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
  316. package/lib/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.js +0 -0
  317. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -0
  318. package/lib/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.d.ts +0 -0
  319. package/lib/stores/shared/modifier/Testable_GraphModifierHelper.d.ts.map +1 -0
  320. package/lib/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.js +0 -0
  321. package/lib/stores/shared/modifier/Testable_GraphModifierHelper.js.map +1 -0
  322. package/lib/stores/sidebar-state/LocalChangesState.d.ts +1 -0
  323. package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
  324. package/lib/stores/sidebar-state/LocalChangesState.js +4 -0
  325. package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
  326. package/lib/stores/sidebar-state/ProjectOverviewState.js +2 -2
  327. package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
  328. package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
  329. package/lib/stores/sidebar-state/WorkspaceReviewState.js +6 -2
  330. package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
  331. package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
  332. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +1 -0
  333. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
  334. package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
  335. package/lib/stores/workspace-setup/WorkspaceSetupStore.js +6 -6
  336. package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
  337. package/package.json +11 -16
  338. package/src/application/LegendStudio.tsx +1 -1
  339. package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +1 -1
  340. package/src/components/EditorComponentTestUtils.tsx +2 -2
  341. package/src/components/LegendStudioApplication.tsx +4 -3
  342. package/src/components/editor/ActivityBar.tsx +6 -8
  343. package/src/components/editor/Editor.tsx +70 -103
  344. package/src/components/editor/StatusBar.tsx +25 -14
  345. package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +2 -2
  346. package/src/components/editor/edit-panel/EditPanel.tsx +2 -2
  347. package/src/components/editor/edit-panel/FunctionEditor.tsx +12 -12
  348. package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +7 -7
  349. package/src/components/editor/edit-panel/GrammarTextEditor.tsx +1 -1
  350. package/src/components/editor/edit-panel/ModelImporter.tsx +7 -8
  351. package/src/components/editor/edit-panel/RuntimeEditor.tsx +2 -2
  352. package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +1 -1
  353. package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +1 -1
  354. package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +1 -1
  355. package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +27 -27
  356. package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +2 -2
  357. package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +4 -4
  358. package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +3 -3
  359. package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +4 -4
  360. package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +3 -3
  361. package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +1 -1
  362. package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +1 -1
  363. package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +4 -4
  364. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +1 -1
  365. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx +1 -1
  366. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +1 -1
  367. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +5 -5
  368. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +3 -3
  369. package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +45 -84
  370. package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +9 -9
  371. package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +4 -4
  372. package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +1 -1
  373. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +3 -3
  374. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +13 -33
  375. package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +2 -2
  376. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +7 -7
  377. package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +2 -2
  378. package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +6 -6
  379. package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +5 -5
  380. package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +199 -206
  381. package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +4 -4
  382. package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
  383. package/src/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.tsx +1 -1
  384. package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +250 -86
  385. package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +2 -2
  386. package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +4 -4
  387. package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +4 -1
  388. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +1 -1
  389. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +6 -2
  390. package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +2 -2
  391. package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +6 -6
  392. package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +11 -11
  393. package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +1 -1
  394. package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +5 -5
  395. package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +5 -5
  396. package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +2 -2
  397. package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +5 -5
  398. package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +8 -8
  399. package/src/components/editor/side-bar/Explorer.tsx +4 -4
  400. package/src/components/editor/side-bar/ProjectOverview.tsx +56 -35
  401. package/src/components/editor/side-bar/WorkflowManager.tsx +4 -4
  402. package/src/components/editor/side-bar/WorkspaceReview.tsx +15 -12
  403. package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +1 -1
  404. package/src/components/editor/side-bar/WorkspaceUpdater.tsx +12 -9
  405. package/src/components/project-viewer/ProjectViewer.tsx +14 -7
  406. package/src/components/shared/DiffView.tsx +1 -1
  407. package/src/components/shared/ProjectSelectorUtils.tsx +2 -2
  408. package/src/components/shared/StudioLambdaEditor.tsx +8 -8
  409. package/src/components/workspace-review/WorkspaceReview.tsx +32 -23
  410. package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +2 -2
  411. package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
  412. package/src/components/workspace-setup/WorkspaceSetup.tsx +2 -2
  413. package/src/index.ts +5 -5
  414. package/src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +0 -9
  415. package/src/stores/EditorGraphState.ts +3 -67
  416. package/src/stores/EditorStore.ts +12 -24
  417. package/src/stores/LegendStudioBaseStore.ts +9 -5
  418. package/src/stores/LegendStudioRouter.ts +1 -1
  419. package/src/stores/editor/NewElementState.ts +4 -4
  420. package/src/stores/editor-state/FileGenerationState.ts +1 -1
  421. package/src/stores/editor-state/GenerationSpecificationEditorState.ts +1 -1
  422. package/src/stores/editor-state/GraphGenerationState.ts +1 -1
  423. package/src/stores/editor-state/ModelImporterState.ts +16 -15
  424. package/src/stores/editor-state/ProjectConfigurationEditorState.ts +15 -1
  425. package/src/stores/editor-state/element-editor-state/ClassState.ts +2 -2
  426. package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +1 -1
  427. package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +1 -1
  428. package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +2 -2
  429. package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +1 -1
  430. package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +1 -1
  431. package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +1 -1
  432. package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +1 -1
  433. package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +4 -4
  434. package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +18 -10
  435. package/src/stores/editor-state/element-editor-state/mapping/MappingElementState.ts +1 -1
  436. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +5 -5
  437. package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +5 -8
  438. package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +2 -2
  439. package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +9 -7
  440. package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +1 -1
  441. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
  442. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +2 -2
  443. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +1 -1
  444. package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +1 -1
  445. package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +1 -1
  446. package/src/stores/project-viewer/ProjectViewerStore.ts +2 -2
  447. package/src/stores/shared/ModelClassifierUtils.ts +0 -11
  448. package/src/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.ts +0 -0
  449. package/src/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.ts +0 -0
  450. package/src/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.ts +0 -0
  451. package/src/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.ts +15 -20
  452. package/src/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.ts +0 -0
  453. package/src/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.ts +2 -3
  454. package/src/stores/{graphModifier → shared/modifier}/GraphModifierHelper.ts +0 -0
  455. package/src/stores/{graphModifier/ValueSpecificationGraphModifierHelper.ts → shared/modifier/RawValueSpecificationGraphModifierHelper.ts} +6 -9
  456. package/src/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.ts +0 -0
  457. package/src/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.ts +1 -1
  458. package/src/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.ts +0 -0
  459. package/src/stores/sidebar-state/LocalChangesState.ts +7 -0
  460. package/src/stores/sidebar-state/ProjectOverviewState.ts +2 -2
  461. package/src/stores/sidebar-state/WorkspaceReviewState.ts +7 -4
  462. package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +1 -0
  463. package/src/stores/workspace-setup/WorkspaceSetupStore.ts +8 -6
  464. package/tsconfig.json +11 -11
  465. package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.d.ts.map +0 -1
  466. package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.js.map +0 -1
  467. package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +0 -1
  468. package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js.map +0 -1
  469. package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.d.ts.map +0 -1
  470. package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.js.map +0 -1
  471. package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.d.ts.map +0 -1
  472. package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.js.map +0 -1
  473. package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.d.ts.map +0 -1
  474. package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.js.map +0 -1
  475. package/lib/stores/graphModifier/DomainGraphModifierHelper.d.ts.map +0 -1
  476. package/lib/stores/graphModifier/DomainGraphModifierHelper.js.map +0 -1
  477. package/lib/stores/graphModifier/GraphModifierHelper.d.ts.map +0 -1
  478. package/lib/stores/graphModifier/GraphModifierHelper.js.map +0 -1
  479. package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.d.ts.map +0 -1
  480. package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.js.map +0 -1
  481. package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.d.ts.map +0 -1
  482. package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.js.map +0 -1
  483. package/lib/stores/graphModifier/Testable_GraphModifierHelper.d.ts.map +0 -1
  484. package/lib/stores/graphModifier/Testable_GraphModifierHelper.js.map +0 -1
  485. package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.d.ts.map +0 -1
  486. package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.js.map +0 -1
@@ -15,7 +15,6 @@
15
15
  */
16
16
 
17
17
  import { useEffect } from 'react';
18
- import { Switch, Route } from 'react-router';
19
18
  import { WorkspaceSetup } from './workspace-setup/WorkspaceSetup.js';
20
19
  import { Editor } from './editor/Editor.js';
21
20
  import { WorkspaceReview } from './workspace-review/WorkspaceReview.js';
@@ -41,6 +40,8 @@ import { GraphManagerStateProvider } from '@finos/legend-graph';
41
40
  import {
42
41
  generateExtensionUrlPattern,
43
42
  LegendApplicationComponentFrameworkProvider,
43
+ Route,
44
+ Switch,
44
45
  useApplicationStore,
45
46
  VirtualAssistant,
46
47
  } from '@finos/legend-application';
@@ -50,7 +51,7 @@ import { LEGEND_STUDIO_DOCUMENTATION_KEY } from '../stores/LegendStudioDocumenta
50
51
  const LegendStudioNotFoundRouteScreen = observer(() => {
51
52
  const applicationStore = useApplicationStore();
52
53
 
53
- const currentPath = applicationStore.navigator.getCurrentLocationPath();
54
+ const currentPath = applicationStore.navigator.getCurrentLocation();
54
55
 
55
56
  const documentation = applicationStore.documentationService.getDocEntry(
56
57
  LEGEND_STUDIO_DOCUMENTATION_KEY.NOT_FOUND_HELP,
@@ -86,7 +87,7 @@ const LegendStudioNotFoundRouteScreen = observer(() => {
86
87
  <div className="not-found-screen__text-content__detail">
87
88
  The requested URL
88
89
  <span className="not-found-screen__text-content__detail__url">
89
- {applicationStore.navigator.generateLocation(currentPath)}
90
+ {applicationStore.navigator.generateAddress(currentPath)}
90
91
  </span>
91
92
  was not found in the application
92
93
  </div>
@@ -87,15 +87,13 @@ export const ActivityBarMenu: React.FC = () => {
87
87
  // documentation
88
88
  const goToDocumentation = (): void => {
89
89
  if (appDocUrl) {
90
- applicationStore.navigator.openNewWindow(appDocUrl);
90
+ applicationStore.navigator.visitAddress(appDocUrl);
91
91
  }
92
92
  };
93
93
  // go to setup page
94
- const goToSetupPage = (): void =>
95
- applicationStore.navigator.openNewWindow(
96
- applicationStore.navigator.generateLocation(
97
- generateSetupRoute(undefined),
98
- ),
94
+ const goToWorkspaceSetup = (): void =>
95
+ applicationStore.navigator.visitAddress(
96
+ applicationStore.navigator.generateAddress(generateSetupRoute(undefined)),
99
97
  );
100
98
  // help
101
99
  const openHelp = (): void => {
@@ -142,9 +140,9 @@ export const ActivityBarMenu: React.FC = () => {
142
140
  <MenuContentDivider />
143
141
  <MenuContentItem
144
142
  className="app__header__menu__item"
145
- onClick={goToSetupPage}
143
+ onClick={goToWorkspaceSetup}
146
144
  >
147
- Back to Setup
145
+ Back to workspace setup
148
146
  </MenuContentItem>
149
147
  </MenuContent>
150
148
  }
@@ -14,20 +14,17 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import { Fragment, useState, useEffect, useCallback } from 'react';
17
+ import { Fragment, useEffect } from 'react';
18
18
  import { observer } from 'mobx-react-lite';
19
- import { useResizeDetector } from 'react-resize-detector';
20
- import type { Location } from 'history';
21
19
  import {
22
20
  type ResizablePanelHandlerProps,
23
- Backdrop,
24
21
  buildReactHotkeysConfiguration,
25
22
  getControlledResizablePanelProps,
26
23
  ResizablePanel,
27
24
  ResizablePanelGroup,
28
25
  ResizablePanelSplitter,
29
26
  ResizablePanelSplitterLine,
30
- useStateWithCallback,
27
+ useResizeDetector,
31
28
  } from '@finos/legend-art';
32
29
  import { AuxiliaryPanel } from './aux-panel/AuxiliaryPanel.js';
33
30
  import { SideBar } from './side-bar/SideBar.js';
@@ -36,7 +33,6 @@ import { GlobalHotKeys } from 'react-hotkeys';
36
33
  import { GrammarTextEditor } from './edit-panel/GrammarTextEditor.js';
37
34
  import { StatusBar } from './StatusBar.js';
38
35
  import { ActivityBar } from './ActivityBar.js';
39
- import { useParams, Prompt } from 'react-router';
40
36
  import type {
41
37
  EditorPathParams,
42
38
  GroupEditorPathParams,
@@ -46,10 +42,9 @@ import { isNonNullable } from '@finos/legend-shared';
46
42
  import { flowResult } from 'mobx';
47
43
  import { useEditorStore, withEditorStore } from './EditorStoreProvider.js';
48
44
  import {
49
- ActionAlertType,
50
- ActionAlertActionType,
51
45
  useApplicationStore,
52
46
  useApplicationNavigationContext,
47
+ useParams,
53
48
  } from '@finos/legend-application';
54
49
  import { WorkspaceType } from '@finos/legend-server-sdlc';
55
50
  import { WorkspaceSyncConflictResolver } from './side-bar/WorkspaceSyncConflictResolver.js';
@@ -120,111 +115,85 @@ export const Editor = withEditorStore(
120
115
  ).catch(applicationStore.alertUnhandledError);
121
116
  }, [editorStore, applicationStore, projectId, workspaceId, workspaceType]);
122
117
 
123
- // Browser Navigation Blocking (reload, close tab, go to another URL)
124
- // NOTE: there is no way to customize the alert message for now since Chrome removed support for it
125
- // See https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload#Browser_compatibility
126
- // There is also no way to customize this modal style-wise so we would only be able to do so for route navigation blocking
127
- // See https://medium.com/@jozollo/blocking-navigation-with-react-router-v4-a3f2e359d096
128
118
  useEffect(() => {
129
- const onUnload = (event: BeforeUnloadEvent): void => {
130
- /**
131
- * NOTE: one subtle trick here. Since we have to use `useEffect` to set the event listener for `beforeunload` event,
132
- * we have to be be careful, if we extract `editorStore.ignoreNavigationBlock` out to a variable such as `ignoreNavigationBlock`
133
- * and then make this `useEffect` be called in response to that, there is a chance that if we set `editorStore.ignoreNavigationBlock`
134
- * to `true` and then go on to call systematic refresh (i.e. `window.location.reload()`) immediately, the event listener on window will
135
- * become stale and still show the blocking popup.
136
- *
137
- * This is almost guaranteed to happen as `useEffect` occurs after rendering, and thus will defnitely be called after the immediate
138
- * `window.location.reload()`. As such, the best way is instead of expecting `useEffect` to watch out for the change in `ignoreNavigationBlock`
139
- * we will access the value of `ignoreNavigationBlock` in the body of the `onUnload` function to make it more dynamic. This ensures the
140
- * event listener will never go stale
141
- */
142
- const showAlert =
119
+ applicationStore.navigator.blockPlatformNavigation([
120
+ (): boolean =>
143
121
  editorStore.isInConflictResolutionMode ||
144
- editorStore.hasUnpushedChanges;
145
- if (!editorStore.ignoreNavigationBlocking && showAlert) {
146
- event.returnValue = '';
147
- }
122
+ editorStore.localChangesState.hasUnpushedChanges,
123
+ ]);
124
+ return (): void => {
125
+ applicationStore.navigator.unblockPlatformNavigation();
148
126
  };
149
- window.removeEventListener('beforeunload', onUnload);
150
- window.addEventListener('beforeunload', onUnload);
151
- return (): void => window.removeEventListener('beforeunload', onUnload);
152
- }, [editorStore]);
127
+ }, [editorStore, applicationStore]);
153
128
 
154
129
  // Route Navigation Blocking
155
130
  // See https://medium.com/@michaelchan_13570/using-react-router-v4-prompt-with-custom-modal-component-ca839f5faf39
156
- const [blockedLocation, setBlockedLocation] = useState<
157
- Location | undefined
158
- >();
159
- const retryBlockedLocation = useCallback(
160
- (allowedNavigation: boolean): void => {
161
- if (allowedNavigation && blockedLocation) {
162
- applicationStore.navigator.goTo(blockedLocation.pathname);
163
- }
164
- },
165
- [blockedLocation, applicationStore],
166
- );
167
- // NOTE: we have to use `useStateWithCallback` here because we want to guarantee that we call `history.push(blockedLocation.pathname)`
168
- // after confirmedAllowNavigation is flipped, otherwise we would end up in the `false` case of handleBlockedNavigation again!
169
- // Another way to go about this is to use `setTimeout(() => history.push(...), 0)` but it can potentially be more error-prone
170
- // See https://www.robinwieruch.de/react-usestate-callback
171
- const [confirmedAllowNavigation, setConfirmedAllowNavigation] =
172
- useStateWithCallback<boolean>(false, retryBlockedLocation);
173
- const onNavigationChangeIndicator = Boolean(
174
- editorStore.changeDetectionState.workspaceLocalLatestRevisionState.changes
175
- .length,
176
- );
177
- const handleRouteNavigationBlocking = (nextLocation: Location): boolean => {
178
- // NOTE: as long as we're in conflict resolution, we want this block to be present
179
- const showAlert =
180
- editorStore.isInConflictResolutionMode ||
181
- editorStore.hasUnpushedChanges;
182
- if (
183
- !editorStore.ignoreNavigationBlocking &&
184
- !confirmedAllowNavigation &&
185
- showAlert
186
- ) {
187
- editorStore.setActionAlertInfo({
188
- message: editorStore.isInConflictResolutionMode
189
- ? 'You have not accepted the conflict resolution, the current resolution will be discarded. Leave anyway?'
190
- : 'You have unpushed changes. Leave anyway?',
191
- type: ActionAlertType.CAUTION,
192
- onEnter: (): void => editorStore.setBlockGlobalHotkeys(true),
193
- onClose: (): void => editorStore.setBlockGlobalHotkeys(false),
194
- actions: [
195
- {
196
- label: 'Leave this page',
197
- type: ActionAlertActionType.PROCEED_WITH_CAUTION,
198
- handler: (): void => setConfirmedAllowNavigation(true),
199
- },
200
- {
201
- label: 'Stay on this page',
202
- type: ActionAlertActionType.PROCEED,
203
- default: true,
204
- handler: (): void => setBlockedLocation(undefined),
205
- },
206
- ],
207
- });
208
- setBlockedLocation(nextLocation);
209
- return false;
210
- }
211
- // Reset the confirm flag and the blocked location here
212
- setBlockedLocation(undefined);
213
- setConfirmedAllowNavigation(false);
214
- return true;
215
- };
131
+ // const [blockedLocation, setBlockedLocation] = useState<
132
+ // Location | undefined
133
+ // >();
134
+ // const retryBlockedLocation = useCallback(
135
+ // (allowedNavigation: boolean): void => {
136
+ // if (allowedNavigation && blockedLocation) {
137
+ // applicationStore.navigator.goToLocation(blockedLocation.pathname);
138
+ // }
139
+ // },
140
+ // [blockedLocation, applicationStore],
141
+ // );
142
+ // // NOTE: we have to use `useStateWithCallback` here because we want to guarantee that we call `history.push(blockedLocation.pathname)`
143
+ // // after confirmedAllowNavigation is flipped, otherwise we would end up in the `false` case of handleBlockedNavigation again!
144
+ // // Another way to go about this is to use `setTimeout(() => history.push(...), 0)` but it can potentially be more error-prone
145
+ // // See https://www.robinwieruch.de/react-usestate-callback
146
+ // const [confirmedAllowNavigation, setConfirmedAllowNavigation] =
147
+ // useStateWithCallback<boolean>(false, retryBlockedLocation);
148
+ // const onNavigationChangeIndicator = Boolean(
149
+ // editorStore.changeDetectionState.workspaceLocalLatestRevisionState.changes
150
+ // .length,
151
+ // );
152
+ // const handleRouteNavigationBlocking = (nextLocation: Location): boolean => {
153
+ // // NOTE: as long as we're in conflict resolution, we want this block to be present
154
+ // const showAlert =
155
+ // editorStore.isInConflictResolutionMode ||
156
+ // editorStore.hasUnpushedChanges;
157
+ // if (
158
+ // !editorStore.ignoreNavigationBlocking &&
159
+ // !confirmedAllowNavigation &&
160
+ // showAlert
161
+ // ) {
162
+ // editorStore.setActionAlertInfo({
163
+ // message: editorStore.isInConflictResolutionMode
164
+ // ? 'You have not accepted the conflict resolution, the current resolution will be discarded. Leave anyway?'
165
+ // : 'You have unpushed changes. Leave anyway?',
166
+ // type: ActionAlertType.CAUTION,
167
+ // onEnter: (): void => editorStore.setBlockGlobalHotkeys(true),
168
+ // onClose: (): void => editorStore.setBlockGlobalHotkeys(false),
169
+ // actions: [
170
+ // {
171
+ // label: 'Leave this page',
172
+ // type: ActionAlertActionType.PROCEED_WITH_CAUTION,
173
+ // handler: (): void => setConfirmedAllowNavigation(true),
174
+ // },
175
+ // {
176
+ // label: 'Stay on this page',
177
+ // type: ActionAlertActionType.PROCEED,
178
+ // default: true,
179
+ // handler: (): void => setBlockedLocation(undefined),
180
+ // },
181
+ // ],
182
+ // });
183
+ // setBlockedLocation(nextLocation);
184
+ // return false;
185
+ // }
186
+ // // Reset the confirm flag and the blocked location here
187
+ // setBlockedLocation(undefined);
188
+ // setConfirmedAllowNavigation(false);
189
+ // return true;
190
+ // };
216
191
  const editable =
217
192
  editorStore.graphManagerState.graphBuildState.hasCompleted &&
218
193
  editorStore.isInitialized;
219
194
  const isResolvingConflicts =
220
195
  editorStore.isInConflictResolutionMode &&
221
196
  !editorStore.conflictResolutionState.hasResolvedAllConflicts;
222
- const promptComponent = (
223
- <Prompt
224
- when={onNavigationChangeIndicator}
225
- message={handleRouteNavigationBlocking}
226
- />
227
- );
228
197
 
229
198
  useApplicationNavigationContext(
230
199
  LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EDITOR,
@@ -233,7 +202,6 @@ export const Editor = withEditorStore(
233
202
  return (
234
203
  <div className="app__page">
235
204
  <div className="editor">
236
- {promptComponent}
237
205
  <GlobalHotKeys
238
206
  keyMap={hotkeyMapping}
239
207
  handlers={hotkeyHandlers}
@@ -241,7 +209,6 @@ export const Editor = withEditorStore(
241
209
  >
242
210
  <div className="editor__body">
243
211
  <ActivityBar />
244
- <Backdrop className="backdrop" open={editorStore.backdrop} />
245
212
  <div ref={ref} className="editor__content-container">
246
213
  <div className="editor__content">
247
214
  <ResizablePanelGroup orientation="vertical">
@@ -15,8 +15,6 @@
15
15
  */
16
16
 
17
17
  import { observer } from 'mobx-react-lite';
18
- import { useParams } from 'react-router';
19
- import { Link } from 'react-router-dom';
20
18
  import {
21
19
  clsx,
22
20
  HammerIcon,
@@ -40,6 +38,7 @@ import { flowResult } from 'mobx';
40
38
  import { useEditorStore } from './EditorStoreProvider.js';
41
39
  import { WorkspaceType } from '@finos/legend-server-sdlc';
42
40
  import { useLegendStudioApplicationStore } from '../LegendStudioBaseStoreProvider.js';
41
+ import { useParams } from '@finos/legend-application';
43
42
 
44
43
  export const StatusBar = observer((props: { actionsDisabled: boolean }) => {
45
44
  const { actionsDisabled } = props;
@@ -151,19 +150,31 @@ export const StatusBar = observer((props: { actionsDisabled: boolean }) => {
151
150
  <div className="editor__status-bar__workspace__icon">
152
151
  <CodeBranchIcon />
153
152
  </div>
154
- <div className="editor__status-bar__workspace__project">
155
- <Link to={generateSetupRoute(projectId)}>
156
- {currentProject?.name ?? 'unknown'}
157
- </Link>
158
- </div>
153
+ <button
154
+ className="editor__status-bar__workspace__project"
155
+ title="Go back to workspace setup using the specified project"
156
+ tabIndex={-1}
157
+ onClick={(): void =>
158
+ applicationStore.navigator.goToLocation(
159
+ generateSetupRoute(projectId),
160
+ )
161
+ }
162
+ >
163
+ {currentProject?.name ?? 'unknown'}
164
+ </button>
159
165
  /
160
- <div className="editor__status-bar__workspace__workspace">
161
- <Link
162
- to={generateSetupRoute(projectId, workspaceId, workspaceType)}
163
- >
164
- {workspaceId}
165
- </Link>
166
- </div>
166
+ <button
167
+ className="editor__status-bar__workspace__workspace"
168
+ title="Go back to workspace setup using the specified workspace"
169
+ tabIndex={-1}
170
+ onClick={(): void =>
171
+ applicationStore.navigator.goToLocation(
172
+ generateSetupRoute(projectId, workspaceId, workspaceType),
173
+ )
174
+ }
175
+ >
176
+ {workspaceId}
177
+ </button>
167
178
  {workspaceOutOfSync && (
168
179
  <button
169
180
  className="editor__status-bar__workspace__status"
@@ -106,7 +106,7 @@ export const AuxiliaryPanel = observer(() => {
106
106
  className="auxiliary-panel__header__action"
107
107
  onClick={toggleExpandAuxPanel}
108
108
  tabIndex={-1}
109
- title={'Toggle expand/collapse'}
109
+ title="Toggle expand/collapse"
110
110
  >
111
111
  {editorStore.auxPanelDisplayState.isMaximized ? (
112
112
  <ChevronDownIcon />
@@ -118,7 +118,7 @@ export const AuxiliaryPanel = observer(() => {
118
118
  className="auxiliary-panel__header__action"
119
119
  onClick={closePanel}
120
120
  tabIndex={-1}
121
- title={'Close'}
121
+ title="Close"
122
122
  >
123
123
  <XIcon />
124
124
  </button>
@@ -25,6 +25,7 @@ import {
25
25
  TimesIcon,
26
26
  PlusIcon,
27
27
  ArrowsAltHIcon,
28
+ useResizeDetector,
28
29
  } from '@finos/legend-art';
29
30
  import { MappingEditor } from './mapping-editor/MappingEditor.js';
30
31
  import { UMLEditor } from './uml-editor/UMLEditor.js';
@@ -33,7 +34,6 @@ import { UMLEditorState } from '../../../stores/editor-state/element-editor-stat
33
34
  import { ElementEditorState } from '../../../stores/editor-state/element-editor-state/ElementEditorState.js';
34
35
  import { LEGEND_STUDIO_TEST_ID } from '../../LegendStudioTestID.js';
35
36
  import { ELEMENT_NATIVE_VIEW_MODE } from '../../../stores/EditorConfig.js';
36
- import { useResizeDetector } from 'react-resize-detector';
37
37
  import type { EditorState } from '../../../stores/editor-state/EditorState.js';
38
38
  import {
39
39
  DIFF_VIEW_MODE,
@@ -429,7 +429,7 @@ export const EditPanel = observer(() => {
429
429
  className="edit-panel__header__tab__close-btn"
430
430
  onClick={closeTab(editorState)}
431
431
  tabIndex={-1}
432
- title={'Close'}
432
+ title="Close"
433
433
  >
434
434
  <TimesIcon />
435
435
  </button>
@@ -94,12 +94,12 @@ import {
94
94
  annotatedElement_deleteStereotype,
95
95
  annotatedElement_deleteTaggedValue,
96
96
  function_swapParameters,
97
- } from '../../../stores/graphModifier/DomainGraphModifierHelper.js';
97
+ } from '../../../stores/shared/modifier/DomainGraphModifierHelper.js';
98
98
  import {
99
99
  rawVariableExpression_setMultiplicity,
100
100
  rawVariableExpression_setName,
101
101
  rawVariableExpression_setType,
102
- } from '../../../stores/graphModifier/ValueSpecificationGraphModifierHelper.js';
102
+ } from '../../../stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js';
103
103
  import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../stores/LegendStudioApplicationNavigationContext.js';
104
104
 
105
105
  enum FUNCTION_PARAMETER_TYPE {
@@ -267,7 +267,7 @@ const ParameterBasicEditor = observer(
267
267
  value={parameter.name}
268
268
  spellCheck={false}
269
269
  onChange={changeValue}
270
- placeholder={`Parameter name`}
270
+ placeholder="Parameter name"
271
271
  />
272
272
  {!isReadOnly && isEditingType && (
273
273
  <CustomSelectorInput
@@ -275,7 +275,7 @@ const ParameterBasicEditor = observer(
275
275
  options={typeOptions}
276
276
  onChange={changeType}
277
277
  value={selectedType}
278
- placeholder={'Choose a data type or enumeration'}
278
+ placeholder="Choose a type..."
279
279
  filterOption={filterOption}
280
280
  />
281
281
  )}
@@ -311,7 +311,7 @@ const ParameterBasicEditor = observer(
311
311
  className="property-basic-editor__type__visit-btn"
312
312
  onClick={openElement}
313
313
  tabIndex={-1}
314
- title={'Visit element'}
314
+ title="Visit element"
315
315
  >
316
316
  <ArrowCircleRightIcon />
317
317
  </button>
@@ -343,7 +343,7 @@ const ParameterBasicEditor = observer(
343
343
  className="property-basic-editor__type__visit-btn"
344
344
  onClick={openElement}
345
345
  tabIndex={-1}
346
- title={'Visit element'}
346
+ title="Visit element"
347
347
  >
348
348
  <ArrowCircleRightIcon />
349
349
  </button>
@@ -375,7 +375,7 @@ const ParameterBasicEditor = observer(
375
375
  disabled={isReadOnly}
376
376
  onClick={deleteParameter}
377
377
  tabIndex={-1}
378
- title={'Remove'}
378
+ title="Remove"
379
379
  >
380
380
  <TimesIcon />
381
381
  </button>
@@ -469,7 +469,7 @@ const ReturnTypeEditor = observer(
469
469
  options={typeOptions}
470
470
  onChange={changeType}
471
471
  value={selectedType}
472
- placeholder={'Choose a data type or enumeration'}
472
+ placeholder="Choose a type..."
473
473
  filterOption={filterOption}
474
474
  />
475
475
  )}
@@ -505,7 +505,7 @@ const ReturnTypeEditor = observer(
505
505
  className="property-basic-editor__type__visit-btn"
506
506
  onClick={openElement}
507
507
  tabIndex={-1}
508
- title={'Visit element'}
508
+ title="Visit element"
509
509
  >
510
510
  <ArrowCircleRightIcon />
511
511
  </button>
@@ -537,7 +537,7 @@ const ReturnTypeEditor = observer(
537
537
  className="property-basic-editor__type__visit-btn"
538
538
  onClick={openElement}
539
539
  tabIndex={-1}
540
- title={'Visit element'}
540
+ title="Visit element"
541
541
  >
542
542
  <ArrowCircleRightIcon />
543
543
  </button>
@@ -637,7 +637,7 @@ export const FunctionMainEditor = observer(
637
637
  disabled={isReadOnly}
638
638
  onClick={addParameter}
639
639
  tabIndex={-1}
640
- title={'Add Parameter'}
640
+ title="Add Parameter"
641
641
  >
642
642
  <PlusIcon />
643
643
  </button>
@@ -686,7 +686,7 @@ export const FunctionMainEditor = observer(
686
686
  })}
687
687
  >
688
688
  <StudioLambdaEditor
689
- className={'function-editor__element__lambda-editor'}
689
+ className="function-editor__element__lambda-editor"
690
690
  disabled={
691
691
  lambdaEditorState.isConvertingFunctionBodyToString || isReadOnly
692
692
  }
@@ -67,12 +67,12 @@ import {
67
67
  useApplicationStore,
68
68
  type PackageableElementOption,
69
69
  } from '@finos/legend-application';
70
- import { packageableElementReference_setValue } from '../../../stores/graphModifier/DomainGraphModifierHelper.js';
70
+ import { packageableElementReference_setValue } from '../../../stores/shared/modifier/DomainGraphModifierHelper.js';
71
71
  import {
72
72
  generationSpecification_addFileGeneration,
73
73
  generationSpecification_deleteFileGeneration,
74
74
  generationSpecification_setId,
75
- } from '../../../stores/graphModifier/DSL_Generation_GraphModifierHelper.js';
75
+ } from '../../../stores/shared/modifier/DSL_Generation_GraphModifierHelper.js';
76
76
 
77
77
  const GENERATION_SPEC_NODE_DND_TYPE = 'GENERATION_SPEC_NODE';
78
78
 
@@ -207,7 +207,7 @@ const ModelGenerationItem = observer(
207
207
  className="btn--dark btn--sm"
208
208
  onClick={visitModelGeneration}
209
209
  tabIndex={-1}
210
- title={'See mapping'}
210
+ title="See mapping"
211
211
  >
212
212
  <LongArrowRightIcon />
213
213
  </button>
@@ -215,7 +215,7 @@ const ModelGenerationItem = observer(
215
215
  className="generation-spec-model-generation-editor__item__remove-btn"
216
216
  onClick={deleteNode}
217
217
  tabIndex={-1}
218
- title={'Remove'}
218
+ title="Remove"
219
219
  >
220
220
  <TimesIcon />
221
221
  </button>
@@ -384,7 +384,7 @@ const FileGenerationItem = observer(
384
384
  className="btn--dark btn--sm"
385
385
  onClick={visitFileGen}
386
386
  tabIndex={-1}
387
- title={'See mapping'}
387
+ title="See mapping"
388
388
  >
389
389
  <LongArrowRightIcon />
390
390
  </button>
@@ -392,7 +392,7 @@ const FileGenerationItem = observer(
392
392
  className="generation-spec-file-generation-editor__item__remove-btn"
393
393
  onClick={deleteColumnSort}
394
394
  tabIndex={-1}
395
- title={'Remove'}
395
+ title="Remove"
396
396
  >
397
397
  <TimesIcon />
398
398
  </button>
@@ -542,7 +542,7 @@ export const GenerationSpecificationEditor = observer(() => {
542
542
  )}
543
543
  tabIndex={-1}
544
544
  onClick={generate}
545
- title={'Generate'}
545
+ title="Generate"
546
546
  >
547
547
  <FireIcon />
548
548
  </button>
@@ -37,6 +37,7 @@ import {
37
37
  MoreHorizontalIcon,
38
38
  HackerIcon,
39
39
  PanelContent,
40
+ useResizeDetector,
40
41
  } from '@finos/legend-art';
41
42
  import {
42
43
  TAB_SIZE,
@@ -46,7 +47,6 @@ import {
46
47
  type DocumentationEntry,
47
48
  useApplicationNavigationContext,
48
49
  } from '@finos/legend-application';
49
- import { useResizeDetector } from 'react-resize-detector';
50
50
  import {
51
51
  type ElementDragSource,
52
52
  CORE_DND_TYPE,
@@ -151,7 +151,7 @@ export const ModelImporter = observer(() => {
151
151
  const label = modelImporterState.modelImportEditorState.label;
152
152
  const modelImportEditorState = modelImporterState.modelImportEditorState;
153
153
  const loadModel = (): void => {
154
- if (editorStore.hasUnpushedChanges) {
154
+ if (editorStore.localChangesState.hasUnpushedChanges) {
155
155
  editorStore.setActionAlertInfo({
156
156
  message: 'You have unpushed changes',
157
157
  prompt:
@@ -164,10 +164,9 @@ export const ModelImporter = observer(() => {
164
164
  label: 'Proceed to load model',
165
165
  type: ActionAlertActionType.PROCEED_WITH_CAUTION,
166
166
  handler: (): void => {
167
- editorStore.setIgnoreNavigationBlocking(true);
168
- flowResult(
169
- modelImporterState.modelImportEditorState.loadModel(),
170
- ).catch(applicationStore.alertUnhandledError);
167
+ modelImporterState.modelImportEditorState
168
+ .loadModel()
169
+ .catch(applicationStore.alertUnhandledError);
171
170
  },
172
171
  },
173
172
  {
@@ -178,9 +177,9 @@ export const ModelImporter = observer(() => {
178
177
  ],
179
178
  });
180
179
  } else {
181
- flowResult(modelImporterState.modelImportEditorState.loadModel()).catch(
182
- applicationStore.alertUnhandledError,
183
- );
180
+ modelImporterState.modelImportEditorState
181
+ .loadModel()
182
+ .catch(applicationStore.alertUnhandledError);
184
183
  }
185
184
  };
186
185
  useApplicationNavigationContext(
@@ -104,7 +104,7 @@ import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../
104
104
  import {
105
105
  runtime_addIdentifiedConnection,
106
106
  runtime_deleteIdentifiedConnection,
107
- } from '../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
107
+ } from '../../../stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js';
108
108
  import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../stores/LegendStudioApplicationNavigationContext.js';
109
109
 
110
110
  const getConnectionTooltipText = (
@@ -607,7 +607,7 @@ const IdentifiedConnectionEditor = observer(
607
607
  className="btn--dark btn--sm runtime-connection-editor__connection-option__visit-btn"
608
608
  onClick={visitConnection}
609
609
  tabIndex={-1}
610
- title={'See connection'}
610
+ title="See connection"
611
611
  >
612
612
  <LongArrowRightIcon />
613
613
  </button>
@@ -32,7 +32,7 @@ import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../
32
32
  import {
33
33
  modelConnection_setClass,
34
34
  modelConnection_setUrl,
35
- } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
35
+ } from '../../../../stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js';
36
36
  import {
37
37
  buildElementOption,
38
38
  useApplicationNavigationContext,