@finos/legend-application-studio 18.0.0 → 18.0.2

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 (490) 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.d.ts.map +1 -1
  26. package/lib/components/editor/edit-panel/FunctionEditor.js +13 -13
  27. package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
  28. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +5 -5
  29. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
  30. package/lib/components/editor/edit-panel/GrammarTextEditor.js +1 -2
  31. package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
  32. package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
  33. package/lib/components/editor/edit-panel/ModelImporter.js +7 -4
  34. package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
  35. package/lib/components/editor/edit-panel/RuntimeEditor.js +2 -2
  36. package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
  37. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +1 -1
  38. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
  39. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +1 -1
  40. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
  41. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
  42. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
  43. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +12 -12
  44. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  45. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +2 -2
  46. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
  47. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +3 -3
  48. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
  49. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +3 -3
  50. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
  51. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js +3 -3
  52. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js.map +1 -1
  53. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
  54. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +2 -3
  55. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  56. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +1 -1
  57. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
  58. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js +1 -1
  59. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js.map +1 -1
  60. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +3 -3
  61. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
  62. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +1 -1
  63. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
  64. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +1 -1
  65. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
  66. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +1 -1
  67. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
  68. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +3 -3
  69. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
  70. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +2 -2
  71. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
  72. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -1
  73. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +36 -49
  74. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
  75. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +7 -7
  76. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  77. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +3 -3
  78. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
  79. package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
  80. package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
  81. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +3 -3
  82. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
  83. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
  84. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +8 -17
  85. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
  86. package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +2 -3
  87. package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
  88. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +6 -6
  89. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  90. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +2 -2
  91. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
  92. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +5 -5
  93. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
  94. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +3 -3
  95. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
  96. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
  97. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
  98. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +63 -43
  99. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
  100. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +3 -3
  101. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
  102. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +3 -3
  103. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
  104. package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.js +1 -1
  105. package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
  106. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
  107. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +9 -10
  108. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  109. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -2
  110. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
  111. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +3 -3
  112. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
  113. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  114. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +3 -3
  115. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  116. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +1 -1
  117. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
  118. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +15 -0
  119. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
  120. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +3 -3
  121. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
  122. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +2 -2
  123. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
  124. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.map +1 -1
  125. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +6 -6
  126. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
  127. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
  128. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +11 -11
  129. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
  130. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +1 -1
  131. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
  132. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +3 -3
  133. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
  134. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +4 -4
  135. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
  136. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +2 -2
  137. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
  138. package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +2 -2
  139. package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
  140. package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +3 -3
  141. package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -1
  142. package/lib/components/editor/side-bar/Explorer.js +3 -3
  143. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  144. package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
  145. package/lib/components/editor/side-bar/ProjectOverview.js +8 -8
  146. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  147. package/lib/components/editor/side-bar/WorkflowManager.js +4 -4
  148. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  149. package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
  150. package/lib/components/editor/side-bar/WorkspaceReview.js +2 -4
  151. package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
  152. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +1 -1
  153. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
  154. package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
  155. package/lib/components/editor/side-bar/WorkspaceUpdater.js +2 -4
  156. package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
  157. package/lib/components/project-viewer/ProjectViewer.d.ts.map +1 -1
  158. package/lib/components/project-viewer/ProjectViewer.js +4 -7
  159. package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
  160. package/lib/components/shared/DiffView.d.ts.map +1 -1
  161. package/lib/components/shared/DiffView.js +1 -2
  162. package/lib/components/shared/DiffView.js.map +1 -1
  163. package/lib/components/shared/ProjectSelectorUtils.js +1 -1
  164. package/lib/components/shared/ProjectSelectorUtils.js.map +1 -1
  165. package/lib/components/shared/StudioLambdaEditor.d.ts +1 -1
  166. package/lib/components/shared/StudioLambdaEditor.d.ts.map +1 -1
  167. package/lib/components/shared/StudioLambdaEditor.js +3 -2
  168. package/lib/components/shared/StudioLambdaEditor.js.map +1 -1
  169. package/lib/components/workspace-review/WorkspaceReview.d.ts.map +1 -1
  170. package/lib/components/workspace-review/WorkspaceReview.js +4 -6
  171. package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
  172. package/lib/components/workspace-review/WorkspaceReviewSideBar.js +2 -2
  173. package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
  174. package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
  175. package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
  176. package/lib/components/workspace-setup/WorkspaceSetup.js +2 -3
  177. package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
  178. package/lib/index.css +2 -2
  179. package/lib/index.css.map +1 -1
  180. package/lib/index.d.ts +5 -5
  181. package/lib/index.d.ts.map +1 -1
  182. package/lib/index.js +5 -5
  183. package/lib/index.js.map +1 -1
  184. package/lib/package.json +2 -7
  185. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -5
  186. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
  187. package/lib/stores/EditorGraphState.d.ts +2 -14
  188. package/lib/stores/EditorGraphState.d.ts.map +1 -1
  189. package/lib/stores/EditorGraphState.js +3 -48
  190. package/lib/stores/EditorGraphState.js.map +1 -1
  191. package/lib/stores/EditorStore.d.ts +1 -4
  192. package/lib/stores/EditorStore.d.ts.map +1 -1
  193. package/lib/stores/EditorStore.js +9 -20
  194. package/lib/stores/EditorStore.js.map +1 -1
  195. package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
  196. package/lib/stores/LegendStudioBaseStore.js +5 -3
  197. package/lib/stores/LegendStudioBaseStore.js.map +1 -1
  198. package/lib/stores/LegendStudioRouter.js +1 -1
  199. package/lib/stores/LegendStudioRouter.js.map +1 -1
  200. package/lib/stores/editor/NewElementState.js +4 -4
  201. package/lib/stores/editor/NewElementState.js.map +1 -1
  202. package/lib/stores/editor-state/FileGenerationState.js +1 -1
  203. package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
  204. package/lib/stores/editor-state/GenerationSpecificationEditorState.js +1 -1
  205. package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +1 -1
  206. package/lib/stores/editor-state/GraphGenerationState.js +1 -1
  207. package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
  208. package/lib/stores/editor-state/ModelImporterState.d.ts +5 -5
  209. package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
  210. package/lib/stores/editor-state/ModelImporterState.js +12 -10
  211. package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
  212. package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts +1 -1
  213. package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
  214. package/lib/stores/editor-state/ProjectConfigurationEditorState.js +1 -1
  215. package/lib/stores/editor-state/ProjectConfigurationEditorState.js.map +1 -1
  216. package/lib/stores/editor-state/element-editor-state/ClassState.d.ts +1 -1
  217. package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +1 -1
  218. package/lib/stores/editor-state/element-editor-state/ClassState.js +2 -2
  219. package/lib/stores/editor-state/element-editor-state/ClassState.js.map +1 -1
  220. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +1 -1
  221. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
  222. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts +1 -1
  223. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -1
  224. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +1 -1
  225. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  226. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +2 -2
  227. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
  228. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +1 -1
  229. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
  230. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +1 -1
  231. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
  232. package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js +1 -1
  233. package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -1
  234. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +1 -1
  235. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
  236. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -1
  237. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +4 -4
  238. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
  239. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -1
  240. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js +36 -29
  241. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -1
  242. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts +1 -1
  243. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -1
  244. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js +1 -1
  245. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -1
  246. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts +2 -1
  247. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -1
  248. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +6 -5
  249. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
  250. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts +2 -1
  251. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -1
  252. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +5 -4
  253. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
  254. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +1 -1
  255. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -1
  256. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +2 -2
  257. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
  258. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts +2 -1
  259. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
  260. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +4 -3
  261. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
  262. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
  263. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +13 -3
  264. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
  265. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
  266. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
  267. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -1
  268. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +3 -2
  269. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
  270. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +1 -1
  271. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
  272. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
  273. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
  274. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +1 -1
  275. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
  276. package/lib/stores/project-viewer/ProjectViewerStore.js +2 -2
  277. package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
  278. package/lib/stores/shared/ModelClassifierUtils.d.ts +0 -10
  279. package/lib/stores/shared/ModelClassifierUtils.d.ts.map +1 -1
  280. package/lib/stores/shared/ModelClassifierUtils.js +0 -11
  281. package/lib/stores/shared/ModelClassifierUtils.js.map +1 -1
  282. package/lib/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.d.ts +0 -0
  283. package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
  284. package/lib/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.js +0 -0
  285. package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.js.map +1 -0
  286. package/lib/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.d.ts +0 -0
  287. package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
  288. package/lib/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.js +0 -0
  289. package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
  290. package/lib/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.d.ts +0 -0
  291. package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
  292. package/lib/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.js +0 -0
  293. package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
  294. package/lib/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.d.ts +7 -6
  295. package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
  296. package/lib/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.js +16 -14
  297. package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
  298. package/lib/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.d.ts +0 -0
  299. package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
  300. package/lib/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.js +0 -0
  301. package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -0
  302. package/lib/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.d.ts +0 -0
  303. package/lib/stores/shared/modifier/DomainGraphModifierHelper.d.ts.map +1 -0
  304. package/lib/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.js +3 -3
  305. package/lib/stores/shared/modifier/DomainGraphModifierHelper.js.map +1 -0
  306. package/lib/stores/{graphModifier → shared/modifier}/GraphModifierHelper.d.ts +0 -0
  307. package/lib/stores/shared/modifier/GraphModifierHelper.d.ts.map +1 -0
  308. package/lib/stores/{graphModifier → shared/modifier}/GraphModifierHelper.js +0 -0
  309. package/lib/stores/shared/modifier/GraphModifierHelper.js.map +1 -0
  310. package/lib/stores/{graphModifier/ValueSpecificationGraphModifierHelper.d.ts → shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts} +4 -4
  311. package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +1 -0
  312. package/lib/stores/{graphModifier/ValueSpecificationGraphModifierHelper.js → shared/modifier/RawValueSpecificationGraphModifierHelper.js} +8 -9
  313. package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +1 -0
  314. package/lib/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.d.ts +0 -0
  315. package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
  316. package/lib/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.js +0 -0
  317. package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
  318. package/lib/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.d.ts +1 -1
  319. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
  320. package/lib/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.js +0 -0
  321. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -0
  322. package/lib/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.d.ts +0 -0
  323. package/lib/stores/shared/modifier/Testable_GraphModifierHelper.d.ts.map +1 -0
  324. package/lib/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.js +0 -0
  325. package/lib/stores/shared/modifier/Testable_GraphModifierHelper.js.map +1 -0
  326. package/lib/stores/sidebar-state/LocalChangesState.d.ts +1 -0
  327. package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
  328. package/lib/stores/sidebar-state/LocalChangesState.js +4 -0
  329. package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
  330. package/lib/stores/sidebar-state/ProjectOverviewState.js +2 -2
  331. package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
  332. package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
  333. package/lib/stores/sidebar-state/WorkspaceReviewState.js +6 -2
  334. package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
  335. package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
  336. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +1 -0
  337. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
  338. package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
  339. package/lib/stores/workspace-setup/WorkspaceSetupStore.js +6 -6
  340. package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
  341. package/package.json +11 -16
  342. package/src/application/LegendStudio.tsx +1 -1
  343. package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +1 -1
  344. package/src/components/EditorComponentTestUtils.tsx +2 -2
  345. package/src/components/LegendStudioApplication.tsx +4 -3
  346. package/src/components/editor/ActivityBar.tsx +6 -8
  347. package/src/components/editor/Editor.tsx +70 -103
  348. package/src/components/editor/StatusBar.tsx +25 -14
  349. package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +2 -2
  350. package/src/components/editor/edit-panel/EditPanel.tsx +2 -2
  351. package/src/components/editor/edit-panel/FunctionEditor.tsx +14 -15
  352. package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +7 -7
  353. package/src/components/editor/edit-panel/GrammarTextEditor.tsx +1 -1
  354. package/src/components/editor/edit-panel/ModelImporter.tsx +7 -8
  355. package/src/components/editor/edit-panel/RuntimeEditor.tsx +2 -2
  356. package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +1 -1
  357. package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +1 -1
  358. package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +1 -1
  359. package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +22 -22
  360. package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +2 -2
  361. package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +4 -4
  362. package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +3 -3
  363. package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +4 -4
  364. package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +3 -3
  365. package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +1 -1
  366. package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +1 -1
  367. package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +4 -4
  368. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +1 -1
  369. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx +1 -1
  370. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +1 -1
  371. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +5 -5
  372. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +3 -3
  373. package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +45 -84
  374. package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +9 -9
  375. package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +4 -4
  376. package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +1 -1
  377. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +3 -3
  378. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +13 -33
  379. package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +2 -2
  380. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +7 -7
  381. package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +2 -2
  382. package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +6 -6
  383. package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +5 -5
  384. package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +204 -106
  385. package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +4 -4
  386. package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
  387. package/src/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.tsx +1 -1
  388. package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +34 -40
  389. package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +2 -2
  390. package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +4 -4
  391. package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +4 -1
  392. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +1 -1
  393. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +6 -2
  394. package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +2 -2
  395. package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +10 -8
  396. package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +16 -14
  397. package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +1 -1
  398. package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +5 -5
  399. package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +5 -5
  400. package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +2 -2
  401. package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +5 -5
  402. package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +8 -8
  403. package/src/components/editor/side-bar/Explorer.tsx +4 -4
  404. package/src/components/editor/side-bar/ProjectOverview.tsx +56 -35
  405. package/src/components/editor/side-bar/WorkflowManager.tsx +4 -4
  406. package/src/components/editor/side-bar/WorkspaceReview.tsx +15 -12
  407. package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +1 -1
  408. package/src/components/editor/side-bar/WorkspaceUpdater.tsx +12 -9
  409. package/src/components/project-viewer/ProjectViewer.tsx +14 -7
  410. package/src/components/shared/DiffView.tsx +1 -1
  411. package/src/components/shared/ProjectSelectorUtils.tsx +2 -2
  412. package/src/components/shared/StudioLambdaEditor.tsx +8 -8
  413. package/src/components/workspace-review/WorkspaceReview.tsx +32 -23
  414. package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +2 -2
  415. package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
  416. package/src/components/workspace-setup/WorkspaceSetup.tsx +2 -2
  417. package/src/index.ts +5 -5
  418. package/src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +0 -9
  419. package/src/stores/EditorGraphState.ts +3 -67
  420. package/src/stores/EditorStore.ts +12 -24
  421. package/src/stores/LegendStudioBaseStore.ts +7 -4
  422. package/src/stores/LegendStudioRouter.ts +1 -1
  423. package/src/stores/editor/NewElementState.ts +4 -4
  424. package/src/stores/editor-state/FileGenerationState.ts +1 -1
  425. package/src/stores/editor-state/GenerationSpecificationEditorState.ts +1 -1
  426. package/src/stores/editor-state/GraphGenerationState.ts +1 -1
  427. package/src/stores/editor-state/ModelImporterState.ts +16 -15
  428. package/src/stores/editor-state/ProjectConfigurationEditorState.ts +1 -1
  429. package/src/stores/editor-state/element-editor-state/ClassState.ts +2 -2
  430. package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +1 -1
  431. package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +1 -1
  432. package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +2 -2
  433. package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +1 -1
  434. package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +1 -1
  435. package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +1 -1
  436. package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +1 -1
  437. package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +4 -4
  438. package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +57 -57
  439. package/src/stores/editor-state/element-editor-state/mapping/MappingElementState.ts +1 -1
  440. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +5 -5
  441. package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +5 -8
  442. package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +2 -2
  443. package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +9 -7
  444. package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +40 -1
  445. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
  446. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +2 -2
  447. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +1 -1
  448. package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +1 -1
  449. package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +1 -1
  450. package/src/stores/project-viewer/ProjectViewerStore.ts +2 -2
  451. package/src/stores/shared/ModelClassifierUtils.ts +0 -11
  452. package/src/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.ts +0 -0
  453. package/src/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.ts +0 -0
  454. package/src/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.ts +0 -0
  455. package/src/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.ts +20 -14
  456. package/src/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.ts +0 -0
  457. package/src/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.ts +2 -3
  458. package/src/stores/{graphModifier → shared/modifier}/GraphModifierHelper.ts +0 -0
  459. package/src/stores/{graphModifier/ValueSpecificationGraphModifierHelper.ts → shared/modifier/RawValueSpecificationGraphModifierHelper.ts} +6 -9
  460. package/src/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.ts +0 -0
  461. package/src/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.ts +1 -1
  462. package/src/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.ts +0 -0
  463. package/src/stores/sidebar-state/LocalChangesState.ts +7 -0
  464. package/src/stores/sidebar-state/ProjectOverviewState.ts +2 -2
  465. package/src/stores/sidebar-state/WorkspaceReviewState.ts +7 -4
  466. package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +1 -0
  467. package/src/stores/workspace-setup/WorkspaceSetupStore.ts +8 -6
  468. package/tsconfig.json +11 -11
  469. package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.d.ts.map +0 -1
  470. package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.js.map +0 -1
  471. package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +0 -1
  472. package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js.map +0 -1
  473. package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.d.ts.map +0 -1
  474. package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.js.map +0 -1
  475. package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.d.ts.map +0 -1
  476. package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.js.map +0 -1
  477. package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.d.ts.map +0 -1
  478. package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.js.map +0 -1
  479. package/lib/stores/graphModifier/DomainGraphModifierHelper.d.ts.map +0 -1
  480. package/lib/stores/graphModifier/DomainGraphModifierHelper.js.map +0 -1
  481. package/lib/stores/graphModifier/GraphModifierHelper.d.ts.map +0 -1
  482. package/lib/stores/graphModifier/GraphModifierHelper.js.map +0 -1
  483. package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.d.ts.map +0 -1
  484. package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.js.map +0 -1
  485. package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.d.ts.map +0 -1
  486. package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.js.map +0 -1
  487. package/lib/stores/graphModifier/Testable_GraphModifierHelper.d.ts.map +0 -1
  488. package/lib/stores/graphModifier/Testable_GraphModifierHelper.js.map +0 -1
  489. package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.d.ts.map +0 -1
  490. package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"WorkspaceSetupStore.js","sourceRoot":"","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C,iBAAiB,EAAE;gBACtB,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aACpC;SACF;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,KAAK,CAC7B,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,uBAAuB,CAAC,EAChE,KAAK,CACN,CAAC;YACF,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC1C;gBAAS;YACR,IAAI,CAAC,oBAAoB,CAAC,KAAK,EAAE,CAAC;SACnC;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "18.0.0",
3
+ "version": "18.0.2",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -44,20 +44,18 @@
44
44
  "test:watch": "jest --watch"
45
45
  },
46
46
  "dependencies": {
47
- "@finos/legend-application": "8.0.1",
48
- "@finos/legend-art": "3.3.0",
49
- "@finos/legend-graph": "17.0.0",
50
- "@finos/legend-query-builder": "0.1.1",
51
- "@finos/legend-server-depot": "4.1.0",
52
- "@finos/legend-server-sdlc": "4.0.16",
53
- "@finos/legend-shared": "6.1.3",
54
- "@finos/legend-storage": "3.0.12",
47
+ "@finos/legend-application": "9.0.0",
48
+ "@finos/legend-art": "4.0.0",
49
+ "@finos/legend-graph": "18.0.0",
50
+ "@finos/legend-query-builder": "0.2.0",
51
+ "@finos/legend-server-depot": "4.1.1",
52
+ "@finos/legend-server-sdlc": "4.0.17",
53
+ "@finos/legend-shared": "6.1.4",
54
+ "@finos/legend-storage": "3.0.13",
55
55
  "@testing-library/react": "13.4.0",
56
56
  "@types/react": "18.0.21",
57
57
  "@types/react-dom": "18.0.6",
58
- "@types/react-router-dom": "5.3.3",
59
58
  "date-fns": "2.29.3",
60
- "history": "5.3.0",
61
59
  "mobx": "6.6.2",
62
60
  "mobx-react-lite": "3.4.0",
63
61
  "mobx-utils": "6.0.5",
@@ -67,16 +65,13 @@
67
65
  "react-dnd": "16.0.1",
68
66
  "react-dom": "18.2.0",
69
67
  "react-hotkeys": "2.0.0",
70
- "react-resize-detector": "7.1.2",
71
- "react-router": "5.3.4",
72
- "react-router-dom": "5.3.4",
73
68
  "serializr": "2.0.5"
74
69
  },
75
70
  "devDependencies": {
76
- "@finos/legend-dev-utils": "2.0.18",
71
+ "@finos/legend-dev-utils": "2.0.20",
77
72
  "@jest/globals": "29.1.2",
78
73
  "cross-env": "7.0.3",
79
- "eslint": "8.24.0",
74
+ "eslint": "8.25.0",
80
75
  "jest": "29.1.2",
81
76
  "npm-run-all": "4.1.5",
82
77
  "rimraf": "3.0.2",
@@ -15,7 +15,6 @@
15
15
  */
16
16
 
17
17
  import { createRoot } from 'react-dom/client';
18
- import { BrowserRouter } from 'react-router-dom';
19
18
  import { configure as configureReactHotkeys } from 'react-hotkeys';
20
19
  import { LegendStudioApplication } from '../components/LegendStudioApplication.js';
21
20
  import { LegendStudioPluginManager } from './LegendStudioPluginManager.js';
@@ -27,6 +26,7 @@ import {
27
26
  setupLegendApplicationUILibrary,
28
27
  WebApplicationNavigatorProvider,
29
28
  type LegendApplicationConfigurationInput,
29
+ BrowserRouter,
30
30
  } from '@finos/legend-application';
31
31
  import { Core_PureGraphManagerPlugin } from '@finos/legend-graph';
32
32
  import { getRootElement } from '@finos/legend-art';
@@ -71,7 +71,7 @@ import type { ConnectionValueState } from '../stores/editor-state/element-editor
71
71
  import {
72
72
  externalFormat_Binding_setContentType,
73
73
  externalFormat_urlStream_setUrl,
74
- } from '../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
74
+ } from '../stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js';
75
75
  import type { DocumentationEntry } from '@finos/legend-application';
76
76
  import { DSL_EXTERNAL_FORMAT_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSL_ExternalFormat_LegendStudioDocumentation.js';
77
77
  import {
@@ -22,8 +22,6 @@ import {
22
22
  waitFor,
23
23
  getByText,
24
24
  } from '@testing-library/react';
25
- import { Router } from 'react-router';
26
- import { createMemoryHistory } from 'history';
27
25
  import { LEGEND_STUDIO_TEST_ID } from './LegendStudioTestID.js';
28
26
  import { EditorStore } from '../stores/EditorStore.js';
29
27
  import { Editor } from './editor/Editor.js';
@@ -67,6 +65,8 @@ import {
67
65
  TEST__getTestApplicationStore,
68
66
  LegendApplicationComponentFrameworkProvider,
69
67
  WebApplicationNavigator,
68
+ Router,
69
+ createMemoryHistory,
70
70
  } from '@finos/legend-application';
71
71
  import { TEST__getLegendStudioApplicationConfig } from '../stores/EditorStoreTestUtils.js';
72
72
  import type { LegendStudioApplicationStore } from '../stores/LegendStudioBaseStore.js';
@@ -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>