@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
@@ -30,7 +30,6 @@ import {
30
30
  InfoCircleIcon,
31
31
  PanelContent,
32
32
  } from '@finos/legend-art';
33
- import { Link } from 'react-router-dom';
34
33
  import { EntityChangeConflictSideBarItem } from '../../editor/edit-panel/diff-editor/EntityChangeConflictEditor.js';
35
34
  import { EntityChangeConflictEditorState } from '../../../stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js';
36
35
  import { generateReviewRoute } from '../../../stores/LegendStudioRouter.js';
@@ -56,7 +55,7 @@ export const WorkspaceUpdater = observer(() => {
56
55
  const workspaceUpdaterState = editorStore.workspaceUpdaterState;
57
56
  // Actions
58
57
  const updateWorkspace = (): void => {
59
- if (editorStore.hasUnpushedChanges) {
58
+ if (editorStore.localChangesState.hasUnpushedChanges) {
60
59
  editorStore.setActionAlertInfo({
61
60
  message: 'You have unpushed changes',
62
61
  prompt:
@@ -69,7 +68,6 @@ export const WorkspaceUpdater = observer(() => {
69
68
  label: 'Proceed to update workspace',
70
69
  type: ActionAlertActionType.PROCEED_WITH_CAUTION,
71
70
  handler: (): void => {
72
- editorStore.setIgnoreNavigationBlocking(true);
73
71
  flowResult(workspaceUpdaterState.updateWorkspace()).catch(
74
72
  applicationStore.alertUnhandledError,
75
73
  );
@@ -252,13 +250,18 @@ export const WorkspaceUpdater = observer(() => {
252
250
  </div>
253
251
  <PanelContent>
254
252
  {commitedReviews.map((review) => (
255
- <Link
253
+ <button
256
254
  key={review.id}
257
255
  className="side-bar__panel__item workspace-updater__review__link"
258
- rel="noopener noreferrer"
259
- target="_blank"
260
- to={generateReviewRoute(review.projectId, review.id)}
261
- title={'See review detail'}
256
+ title="See review"
257
+ tabIndex={-1}
258
+ onClick={(): void =>
259
+ applicationStore.navigator.visitAddress(
260
+ applicationStore.navigator.generateAddress(
261
+ generateReviewRoute(review.projectId, review.id),
262
+ ),
263
+ )
264
+ }
262
265
  >
263
266
  <div className="workspace-updater__review">
264
267
  <span className="workspace-updater__review__name">
@@ -268,7 +271,7 @@ export const WorkspaceUpdater = observer(() => {
268
271
  {review.author.name}
269
272
  </span>
270
273
  </div>
271
- </Link>
274
+ </button>
272
275
  ))}
273
276
  </PanelContent>
274
277
  </div>
@@ -16,11 +16,8 @@
16
16
 
17
17
  import { useEffect, Fragment } from 'react';
18
18
  import { observer } from 'mobx-react-lite';
19
- import { useResizeDetector } from 'react-resize-detector';
20
19
  import { EditPanel } from '../editor/edit-panel/EditPanel.js';
21
20
  import { GrammarTextEditor } from '../editor/edit-panel/GrammarTextEditor.js';
22
- import { useParams } from 'react-router';
23
- import { Link } from 'react-router-dom';
24
21
  import { LEGEND_STUDIO_TEST_ID } from '../LegendStudioTestID.js';
25
22
  import {
26
23
  ACTIVITY_MODE,
@@ -40,6 +37,7 @@ import {
40
37
  WrenchIcon,
41
38
  FileTrayIcon,
42
39
  AssistantIcon,
40
+ useResizeDetector,
43
41
  } from '@finos/legend-art';
44
42
  import { isNonNullable } from '@finos/legend-shared';
45
43
  import { GlobalHotKeys } from 'react-hotkeys';
@@ -57,7 +55,7 @@ import {
57
55
  useEditorStore,
58
56
  withEditorStore,
59
57
  } from '../editor/EditorStoreProvider.js';
60
- import { useApplicationStore } from '@finos/legend-application';
58
+ import { useApplicationStore, useParams } from '@finos/legend-application';
61
59
  import {
62
60
  ActivityBarMenu,
63
61
  type ActivityDisplay,
@@ -110,9 +108,18 @@ const ProjectViewerStatusBar = observer(() => {
110
108
  <CodeBranchIcon />
111
109
  </div>
112
110
  <div className="editor__status-bar__workspace__project">
113
- <Link to={generateSetupRoute(projectId)}>
111
+ <button
112
+ className="editor__status-bar__workspace__project"
113
+ title="Go back to workspace setup using the specified project"
114
+ tabIndex={-1}
115
+ onClick={(): void =>
116
+ applicationStore.navigator.goToLocation(
117
+ generateSetupRoute(projectId),
118
+ )
119
+ }
120
+ >
114
121
  {currentProject.name}
115
- </Link>
122
+ </button>
116
123
  </div>
117
124
  /
118
125
  <div className="editor__status-bar__workspace__workspace">
@@ -137,7 +144,7 @@ const ProjectViewerStatusBar = observer(() => {
137
144
  )}
138
145
  onClick={handleTextModeClick}
139
146
  tabIndex={-1}
140
- title={'Toggle text mode (F8)'}
147
+ title="Toggle text mode (F8)"
141
148
  >
142
149
  <HackerIcon />
143
150
  </button>
@@ -17,7 +17,6 @@
17
17
  import { useEffect, useState, useRef } from 'react';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { editor as monacoEditorAPI, KeyCode } from 'monaco-editor';
20
- import { useResizeDetector } from 'react-resize-detector';
21
20
  import {
22
21
  EDITOR_THEME,
23
22
  EDITOR_LANGUAGE,
@@ -28,6 +27,7 @@ import {
28
27
  disposeDiffEditor,
29
28
  disableEditorHotKeys,
30
29
  baseTextEditorSettings,
30
+ useResizeDetector,
31
31
  } from '@finos/legend-art';
32
32
  import {
33
33
  isString,
@@ -34,8 +34,8 @@ export const getProjectOptionLabelFormatter = (
34
34
  ): ((option: ProjectOption) => React.ReactNode) =>
35
35
  function ProjectOptionLabel(option: ProjectOption): React.ReactNode {
36
36
  const viewProject = (): void =>
37
- applicationStore.navigator.openNewWindow(
38
- applicationStore.navigator.generateLocation(
37
+ applicationStore.navigator.visitAddress(
38
+ applicationStore.navigator.generateAddress(
39
39
  generateViewProjectRoute(option.value.projectId),
40
40
  ),
41
41
  );
@@ -17,15 +17,15 @@
17
17
  import { useMemo, useCallback } from 'react';
18
18
  import { type IKeyboardEvent, KeyCode } from 'monaco-editor';
19
19
  import { observer } from 'mobx-react-lite';
20
- import {
21
- LambdaEditor,
22
- useApplicationStore,
23
- type LambdaEditorOnKeyDownEventHandler,
24
- type LambdaEditorState,
25
- } from '@finos/legend-application';
20
+ import { useApplicationStore } from '@finos/legend-application';
26
21
  import { flowResult } from 'mobx';
27
22
  import type { Type } from '@finos/legend-graph';
28
23
  import { useEditorStore } from '../editor/EditorStoreProvider.js';
24
+ import {
25
+ type LambdaEditorState,
26
+ type LambdaEditorOnKeyDownEventHandler,
27
+ LambdaEditor,
28
+ } from '@finos/legend-query-builder';
29
29
 
30
30
  export const StudioLambdaEditor = observer(
31
31
  (props: {
@@ -67,8 +67,8 @@ export const StudioLambdaEditor = observer(
67
67
  const editorStore = useEditorStore();
68
68
 
69
69
  const backdropSetter = useCallback(
70
- (val: boolean) => editorStore.setBackdrop(val),
71
- [editorStore],
70
+ (val: boolean) => applicationStore.setShowBackdrop(val),
71
+ [applicationStore],
72
72
  );
73
73
  const onKeyDownEventHandlers: LambdaEditorOnKeyDownEventHandler[] = useMemo(
74
74
  () => [
@@ -20,11 +20,9 @@ import {
20
20
  useWorkspaceReviewStore,
21
21
  withWorkspaceReviewStore,
22
22
  } from './WorkspaceReviewStoreProvider.js';
23
- import { useParams } from 'react-router';
24
23
  import { WorkspaceReviewSideBar } from './WorkspaceReviewSideBar.js';
25
24
  import { WorkspaceReviewPanel } from './WorkspaceReviewPanel.js';
26
25
  import { ACTIVITY_MODE } from '../../stores/EditorConfig.js';
27
- import { Link } from 'react-router-dom';
28
26
  import {
29
27
  type ResizablePanelHandlerProps,
30
28
  getControlledResizablePanelProps,
@@ -41,15 +39,14 @@ import {
41
39
  } from '@finos/legend-art';
42
40
  import {
43
41
  type ReviewPathParams,
44
- generateViewProjectRoute,
45
- generateEditorRoute,
42
+ generateSetupRoute,
46
43
  } from '../../stores/LegendStudioRouter.js';
47
44
  import { flowResult } from 'mobx';
48
45
  import {
49
46
  useEditorStore,
50
47
  withEditorStore,
51
48
  } from '../editor/EditorStoreProvider.js';
52
- import { useApplicationStore } from '@finos/legend-application';
49
+ import { useApplicationStore, useParams } from '@finos/legend-application';
53
50
 
54
51
  const WorkspaceReviewStatusBar = observer(() => {
55
52
  const reviewStore = useWorkspaceReviewStore();
@@ -82,23 +79,35 @@ const WorkspaceReviewStatusBar = observer(() => {
82
79
  <div className="workspace-review__status-bar__workspace__icon">
83
80
  <CodeBranchIcon />
84
81
  </div>
85
- <div className="workspace-review__status-bar__workspace__project">
86
- <Link to={generateViewProjectRoute(reviewStore.projectId)}>
87
- {currentProject}
88
- </Link>
89
- </div>
82
+ <button
83
+ className="workspace-review__status-bar__workspace__project"
84
+ title="Go back to workspace setup using the specified project"
85
+ tabIndex={-1}
86
+ onClick={(): void =>
87
+ applicationStore.navigator.goToLocation(
88
+ generateSetupRoute(reviewStore.projectId),
89
+ )
90
+ }
91
+ >
92
+ {currentProject}
93
+ </button>
90
94
  /
91
- <div className="workspace-review__status-bar__workspace__workspace">
92
- <Link
93
- to={generateEditorRoute(
94
- reviewStore.projectId,
95
- review.workspaceId,
96
- review.workspaceType,
97
- )}
98
- >
99
- {review.workspaceId}
100
- </Link>
101
- </div>
95
+ <button
96
+ className="workspace-review__status-bar__workspace__workspace"
97
+ title="Go back to workspace setup using the specified workspace"
98
+ tabIndex={-1}
99
+ onClick={(): void =>
100
+ applicationStore.navigator.goToLocation(
101
+ generateSetupRoute(
102
+ reviewStore.projectId,
103
+ review.workspaceId,
104
+ review.workspaceType,
105
+ ),
106
+ )
107
+ }
108
+ >
109
+ {review.workspaceId}
110
+ </button>
102
111
  <div className="workspace-review__status-bar__review">
103
112
  <a target="_blank" rel="noopener noreferrer" href={review.webURL}>
104
113
  {review.title}
@@ -214,7 +223,7 @@ export const WorkspaceReview = withEditorStore(
214
223
  key={ACTIVITY_MODE.REVIEW}
215
224
  className="activity-bar__item activity-bar__item--active workspace-review__activity-bar__review-icon"
216
225
  tabIndex={-1}
217
- title={'Review'}
226
+ title="Review"
218
227
  onClick={changeActivity(ACTIVITY_MODE.REVIEW)}
219
228
  >
220
229
  <CheckListIcon />
@@ -224,7 +233,7 @@ export const WorkspaceReview = withEditorStore(
224
233
  <button
225
234
  className="activity-bar__item"
226
235
  tabIndex={-1}
227
- title={'Settings...'}
236
+ title="Settings..."
228
237
  >
229
238
  <CogIcon />
230
239
  </button>
@@ -163,7 +163,7 @@ export const WorkspaceReviewSideBar = observer(() => {
163
163
  onClick={reOpenReview}
164
164
  disabled={isDispatchingAction}
165
165
  tabIndex={-1}
166
- title={'Re-open review'}
166
+ title="Reopen review"
167
167
  >
168
168
  <ArrowUpIcon />
169
169
  </button>
@@ -179,7 +179,7 @@ export const WorkspaceReviewSideBar = observer(() => {
179
179
  currentUser?.userId === review.author.name
180
180
  }
181
181
  tabIndex={-1}
182
- title={'Approve review'}
182
+ title="Approve review"
183
183
  >
184
184
  <CheckIcon />
185
185
  </button>
@@ -442,7 +442,7 @@ const ImportProjectTab = observer(() => {
442
442
  ): void => {
443
443
  event.preventDefault();
444
444
  if (importProjectSuccessReport) {
445
- applicationStore.navigator.openNewWindow(
445
+ applicationStore.navigator.visitAddress(
446
446
  importProjectSuccessReport.reviewUrl,
447
447
  );
448
448
  } else {
@@ -26,7 +26,6 @@ import {
26
26
  CustomSelectorInput,
27
27
  RepoIcon,
28
28
  } from '@finos/legend-art';
29
- import { useParams } from 'react-router';
30
29
  import { LEGEND_STUDIO_TEST_ID } from '../LegendStudioTestID.js';
31
30
  import {
32
31
  type SetupPathParams,
@@ -37,6 +36,7 @@ import { flowResult } from 'mobx';
37
36
  import {
38
37
  DocumentationLink,
39
38
  useApplicationNavigationContext,
39
+ useParams,
40
40
  } from '@finos/legend-application';
41
41
  import { LEGEND_STUDIO_DOCUMENTATION_KEY } from '../../stores/LegendStudioDocumentation.js';
42
42
  import { CreateProjectModal } from './CreateProjectModal.js';
@@ -167,7 +167,7 @@ export const WorkspaceSetup = withWorkspaceSetupStore(
167
167
 
168
168
  const handleProceed = (): void => {
169
169
  if (setupStore.currentProject && setupStore.currentWorkspace) {
170
- applicationStore.navigator.goTo(
170
+ applicationStore.navigator.goToLocation(
171
171
  generateEditorRoute(
172
172
  setupStore.currentProject.projectId,
173
173
  setupStore.currentWorkspace.workspaceId,
package/src/index.ts CHANGED
@@ -44,13 +44,13 @@ export {
44
44
  type TransformDropTarget,
45
45
  } from './stores/shared/DnDUtils.js';
46
46
  export { ExplorerTreeRootPackageLabel } from './stores/ExplorerTreeState.js';
47
- export * from './stores/graphModifier/GraphModifierHelper.js';
48
- export * from './stores/graphModifier/DomainGraphModifierHelper.js';
47
+ export * from './stores/shared/modifier/GraphModifierHelper.js';
48
+ export * from './stores/shared/modifier/DomainGraphModifierHelper.js';
49
49
  export * from './stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
50
50
  export * from './stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js';
51
51
  export * from './stores/DSL_Data_LegendStudioApplicationPlugin_Extension.js';
52
- export * from './stores/graphModifier/DSL_Generation_GraphModifierHelper.js';
53
- export * from './stores/graphModifier/DSL_Service_GraphModifierHelper.js';
52
+ export * from './stores/shared/modifier/DSL_Generation_GraphModifierHelper.js';
53
+ export * from './stores/shared/modifier/DSL_Service_GraphModifierHelper.js';
54
54
 
55
55
  // components
56
56
  export * from './components/editor/EditorStoreProvider.js';
@@ -103,7 +103,7 @@ export { DSL_ExternalFormat_LegendStudioApplicationPlugin } from './components/D
103
103
  export {
104
104
  externalFormatData_setData,
105
105
  externalFormatData_setContentType,
106
- } from './stores/graphModifier/DSL_Data_GraphModifierHelper.js';
106
+ } from './stores/shared/modifier/DSL_Data_GraphModifierHelper.js';
107
107
  export { ExternalFormatDataEditor } from './components/editor/edit-panel/data-editor/DataElementEditor.js';
108
108
  export {
109
109
  ExternalFormatDataState,
@@ -61,10 +61,6 @@ export type MappingElementSourceExtractor = (
61
61
  mappingElement: MappingElement,
62
62
  ) => MappingElementSource | undefined;
63
63
 
64
- export type SetImplemtationClassifier = (
65
- setImplementation: SetImplementation,
66
- ) => string | undefined;
67
-
68
64
  export type MappingElementStateCreator = (
69
65
  mappingElement: MappingElement | undefined,
70
66
  editorStore: EditorStore,
@@ -135,11 +131,6 @@ export interface DSL_Mapping_LegendStudioApplicationPlugin_Extension
135
131
  */
136
132
  getExtraSetImplementationMappingElementLabelInfoBuilders?(): SetImplementationMappingElementLabelInfoBuilder[];
137
133
 
138
- /**
139
- * Get the list of set implementation classifiers.
140
- */
141
- getExtraSetImplementationClassifiers?(): SetImplemtationClassifier[];
142
-
143
134
  /**
144
135
  * Get the list of the mapping element state creators for the given class mapping.
145
136
  */
@@ -52,16 +52,13 @@ import {
52
52
  ProjectDependencyInfo,
53
53
  } from '@finos/legend-server-depot';
54
54
  import {
55
- type SetImplementation,
56
55
  type PackageableElement,
57
56
  GRAPH_MANAGER_EVENT,
58
57
  CompilationError,
59
58
  EngineError,
60
59
  extractSourceInformationCoordinates,
61
60
  Package,
62
- PureInstanceSetImplementation,
63
61
  Profile,
64
- OperationSetImplementation,
65
62
  PrimitiveType,
66
63
  Enumeration,
67
64
  Class,
@@ -70,8 +67,6 @@ import {
70
67
  ConcreteFunctionDefinition,
71
68
  Service,
72
69
  FlatData,
73
- FlatDataInstanceSetImplementation,
74
- EmbeddedFlatDataPropertyMapping,
75
70
  PackageableConnection,
76
71
  PackageableRuntime,
77
72
  FileGenerationSpecification,
@@ -80,9 +75,6 @@ import {
80
75
  Unit,
81
76
  Database,
82
77
  SectionIndex,
83
- RootRelationalInstanceSetImplementation,
84
- EmbeddedRelationalInstanceSetImplementation,
85
- AggregationAwareSetImplementation,
86
78
  DependencyGraphBuilderError,
87
79
  GraphDataDeserializationError,
88
80
  GraphBuilderError,
@@ -91,7 +83,6 @@ import {
91
83
  DataElement,
92
84
  } from '@finos/legend-graph';
93
85
  import {
94
- type LambdaEditorState,
95
86
  ActionAlertActionType,
96
87
  ActionAlertType,
97
88
  } from '@finos/legend-application';
@@ -99,14 +90,11 @@ import {
99
90
  CONFIGURATION_EDITOR_TAB,
100
91
  getConflictsString,
101
92
  } from './editor-state/ProjectConfigurationEditorState.js';
102
- import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from './DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
103
- import { graph_dispose } from './graphModifier/GraphModifierHelper.js';
104
- import {
105
- PACKAGEABLE_ELEMENT_TYPE,
106
- SET_IMPLEMENTATION_TYPE,
107
- } from './shared/ModelClassifierUtils.js';
93
+ import { graph_dispose } from './shared/modifier/GraphModifierHelper.js';
94
+ import { PACKAGEABLE_ELEMENT_TYPE } from './shared/ModelClassifierUtils.js';
108
95
  import { GlobalTestRunnerState } from './sidebar-state/testable/GlobalTestRunnerState.js';
109
96
  import { LEGEND_STUDIO_APP_EVENT } from './LegendStudioAppEvent.js';
97
+ import type { LambdaEditorState } from '@finos/legend-query-builder';
110
98
 
111
99
  export enum GraphBuilderStatus {
112
100
  SUCCEEDED = 'SUCCEEDED',
@@ -142,7 +130,6 @@ export class EditorGraphState {
142
130
  editorStore: false,
143
131
  graphGenerationState: false,
144
132
  getPackageableElementType: false,
145
- getSetImplementationType: false,
146
133
  hasCompilationError: computed,
147
134
  clearCompilationError: action,
148
135
  });
@@ -1194,17 +1181,6 @@ export class EditorGraphState {
1194
1181
  }
1195
1182
 
1196
1183
  // -------------------------------------------------- UTILITIES -----------------------------------------------------
1197
- /**
1198
- * NOTE: Notice how this utility draws resources from all of metamodels and uses `instanceof` to classify behavior/response.
1199
- * As such, methods in this utility cannot be placed in place they should belong to.
1200
- *
1201
- * For example: `getSetImplemetnationType` cannot be placed in `SetImplementation` because of circular module dependency
1202
- * So this utility is born for such purpose, to avoid circular module dependency, and it should just be used for only that
1203
- * Other utilities that really should reside in the domain-specific meta model should be placed in the meta model module.
1204
- *
1205
- * NOTE: We expect the need for these methods will eventually go away as we complete modularization. But we need these
1206
- * methods here so that we can load plugins.
1207
- */
1208
1184
 
1209
1185
  getPackageableElementType(element: PackageableElement): string {
1210
1186
  if (element instanceof PrimitiveType) {
@@ -1264,44 +1240,4 @@ export class EditorGraphState {
1264
1240
  `Can't get type label for element '${element.path}': no compatible label getter available from plugins`,
1265
1241
  );
1266
1242
  }
1267
-
1268
- getSetImplementationType(setImplementation: SetImplementation): string {
1269
- if (setImplementation instanceof PureInstanceSetImplementation) {
1270
- return SET_IMPLEMENTATION_TYPE.PUREINSTANCE;
1271
- } else if (setImplementation instanceof OperationSetImplementation) {
1272
- return SET_IMPLEMENTATION_TYPE.OPERATION;
1273
- } else if (setImplementation instanceof FlatDataInstanceSetImplementation) {
1274
- return SET_IMPLEMENTATION_TYPE.FLAT_DATA;
1275
- } else if (setImplementation instanceof EmbeddedFlatDataPropertyMapping) {
1276
- return SET_IMPLEMENTATION_TYPE.EMBEDDED_FLAT_DATA;
1277
- } else if (
1278
- setImplementation instanceof RootRelationalInstanceSetImplementation
1279
- ) {
1280
- return SET_IMPLEMENTATION_TYPE.RELATIONAL;
1281
- } else if (
1282
- setImplementation instanceof EmbeddedRelationalInstanceSetImplementation
1283
- ) {
1284
- return SET_IMPLEMENTATION_TYPE.EMBEDDED_RELATIONAL;
1285
- } else if (setImplementation instanceof AggregationAwareSetImplementation) {
1286
- return SET_IMPLEMENTATION_TYPE.AGGREGATION_AWARE;
1287
- }
1288
- const extraSetImplementationClassifiers = this.editorStore.pluginManager
1289
- .getApplicationPlugins()
1290
- .flatMap(
1291
- (plugin) =>
1292
- (
1293
- plugin as DSL_Mapping_LegendStudioApplicationPlugin_Extension
1294
- ).getExtraSetImplementationClassifiers?.() ?? [],
1295
- );
1296
- for (const Classifier of extraSetImplementationClassifiers) {
1297
- const setImplementationClassifier = Classifier(setImplementation);
1298
- if (setImplementationClassifier) {
1299
- return setImplementationClassifier;
1300
- }
1301
- }
1302
- throw new UnsupportedOperationError(
1303
- `Can't classify set implementation: no compatible classifer available from plugins`,
1304
- setImplementation,
1305
- );
1306
- }
1307
1243
  }
@@ -142,7 +142,7 @@ import {
142
142
  graph_deleteElement,
143
143
  graph_deleteOwnElement,
144
144
  graph_renameElement,
145
- } from './graphModifier/GraphModifierHelper.js';
145
+ } from './shared/modifier/GraphModifierHelper.js';
146
146
  import { PACKAGEABLE_ELEMENT_TYPE } from './shared/ModelClassifierUtils.js';
147
147
  import { GlobalTestRunnerState } from './sidebar-state/testable/GlobalTestRunnerState.js';
148
148
  import type { LegendStudioApplicationStore } from './LegendStudioBaseStore.js';
@@ -235,7 +235,6 @@ export class EditorStore {
235
235
  */
236
236
  elementGenerationStates: ElementFileGenerationState[] = [];
237
237
  searchElementCommandState = new NonBlockingDialogState();
238
- backdrop = false;
239
238
  ignoreNavigationBlocking = false;
240
239
  isDevToolEnabled = true;
241
240
 
@@ -259,7 +258,6 @@ export class EditorStore {
259
258
  hotkeys: observable,
260
259
  currentEditorState: observable,
261
260
  openedEditorStates: observable,
262
- backdrop: observable,
263
261
  ignoreNavigationBlocking: observable,
264
262
  isDevToolEnabled: observable,
265
263
 
@@ -268,7 +266,6 @@ export class EditorStore {
268
266
  isInitialized: computed,
269
267
  isInGrammarTextMode: computed,
270
268
  isInFormMode: computed,
271
- hasUnpushedChanges: computed,
272
269
 
273
270
  applicationStore: false,
274
271
  sdlcServerClient: false,
@@ -283,7 +280,6 @@ export class EditorStore {
283
280
  resetHotkeys: action,
284
281
  setBlockGlobalHotkeys: action,
285
282
  setCurrentEditorState: action,
286
- setBackdrop: action,
287
283
  setActiveAuxPanelMode: action,
288
284
  setIgnoreNavigationBlocking: action,
289
285
  refreshCurrentEntityDiffEditorState: action,
@@ -473,22 +469,14 @@ export class EditorStore {
473
469
  ) && this.graphManagerState.systemBuildState.hasSucceeded
474
470
  );
475
471
  }
472
+
476
473
  get isInGrammarTextMode(): boolean {
477
474
  return this.graphEditMode === GRAPH_EDITOR_MODE.GRAMMAR_TEXT;
478
475
  }
476
+
479
477
  get isInFormMode(): boolean {
480
478
  return this.graphEditMode === GRAPH_EDITOR_MODE.FORM;
481
479
  }
482
- get hasUnpushedChanges(): boolean {
483
- return Boolean(
484
- this.changeDetectionState.workspaceLocalLatestRevisionState.changes
485
- .length,
486
- );
487
- }
488
-
489
- setDevTool(val: boolean): void {
490
- this.isDevToolEnabled = val;
491
- }
492
480
 
493
481
  setHotkeys(val: HotkeyConfiguration[]): void {
494
482
  this.hotkeys = val;
@@ -506,12 +494,12 @@ export class EditorStore {
506
494
  this.blockGlobalHotkeys = val;
507
495
  }
508
496
 
509
- setCurrentEditorState(val: EditorState | undefined): void {
510
- this.currentEditorState = val;
497
+ setDevTool(val: boolean): void {
498
+ this.isDevToolEnabled = val;
511
499
  }
512
500
 
513
- setBackdrop(val: boolean): void {
514
- this.backdrop = val;
501
+ setCurrentEditorState(val: EditorState | undefined): void {
502
+ this.currentEditorState = val;
515
503
  }
516
504
 
517
505
  setActiveAuxPanelMode(val: AUX_PANEL_MODE): void {
@@ -630,10 +618,10 @@ export class EditorStore {
630
618
  },
631
619
  },
632
620
  {
633
- label: 'Back to setup page',
621
+ label: 'Back to workspace setup',
634
622
  type: ActionAlertActionType.STANDARD,
635
623
  handler: (): void => {
636
- this.applicationStore.navigator.goTo(
624
+ this.applicationStore.navigator.goToLocation(
637
625
  generateSetupRoute(undefined),
638
626
  );
639
627
  },
@@ -697,7 +685,7 @@ export class EditorStore {
697
685
  default: true,
698
686
  type: ActionAlertActionType.STANDARD,
699
687
  handler: (): void => {
700
- this.applicationStore.navigator.goTo(
688
+ this.applicationStore.navigator.goToLocation(
701
689
  generateViewProjectRoute(projectId),
702
690
  );
703
691
  },
@@ -712,10 +700,10 @@ export class EditorStore {
712
700
  },
713
701
  },
714
702
  {
715
- label: 'Back to setup page',
703
+ label: 'Back to workspace setup',
716
704
  type: ActionAlertActionType.STANDARD,
717
705
  handler: (): void => {
718
- this.applicationStore.navigator.goTo(
706
+ this.applicationStore.navigator.goToLocation(
719
707
  generateSetupRoute(projectId, workspaceId, workspaceType),
720
708
  );
721
709
  },
@@ -149,11 +149,14 @@ export class LegendStudioBaseStore {
149
149
  this.isSDLCAuthorized =
150
150
  (yield this.sdlcServerClient.isAuthorized()) as boolean;
151
151
  if (!this.isSDLCAuthorized) {
152
- this.applicationStore.navigator.jumpTo(
152
+ this.applicationStore.navigator.visitAddress(
153
153
  SDLCServerClient.authorizeCallbackUrl(
154
154
  this.applicationStore.config.sdlcServerUrl,
155
- this.applicationStore.navigator.getCurrentLocation(),
155
+ this.applicationStore.navigator.getCurrentAddress(),
156
156
  ),
157
+ {
158
+ useSameWindow: true,
159
+ },
157
160
  );
158
161
  } else {
159
162
  // Only proceed intialization after passing authorization check
@@ -172,7 +175,7 @@ export class LegendStudioBaseStore {
172
175
  default: true,
173
176
  handler: (): void =>
174
177
  this.SDLCServerTermsOfServicesUrlsToView.forEach((url) =>
175
- this.applicationStore.navigator.openNewWindow(url),
178
+ this.applicationStore.navigator.visitAddress(url),
176
179
  ),
177
180
  type: ActionAlertActionType.PROCEED,
178
181
  },
@@ -188,7 +191,8 @@ export class LegendStudioBaseStore {
188
191
  });
189
192
  }
190
193
 
191
- // fetch server features config
194
+ // fetch server features config and platforms
195
+ yield this.sdlcServerClient.fetchServerPlatforms();
192
196
  yield this.sdlcServerClient.fetchServerFeaturesConfiguration();
193
197
  }
194
198
  } catch (error) {
@@ -209,7 +213,7 @@ export class LegendStudioBaseStore {
209
213
  type: ActionAlertActionType.PROCEED,
210
214
  default: true,
211
215
  handler: (): void => {
212
- this.applicationStore.navigator.openNewWindow(
216
+ this.applicationStore.navigator.visitAddress(
213
217
  this.sdlcServerClient.currentUserUrl,
214
218
  );
215
219
  this.applicationStore.setBlockingAlert({