@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
@@ -92,7 +92,7 @@ import {
92
92
  fileGeneration_changeScopeElement,
93
93
  fileGeneration_deleteScopeElement,
94
94
  fileGeneration_setGenerationOutputPath,
95
- } from '../../../../stores/graphModifier/DSL_Generation_GraphModifierHelper.js';
95
+ } from '../../../../stores/shared/modifier/DSL_Generation_GraphModifierHelper.js';
96
96
 
97
97
  export const FileGenerationTreeNodeContainer: React.FC<
98
98
  TreeNodeContainerProps<
@@ -272,7 +272,7 @@ export const GenerationResultViewer = observer(
272
272
  tabIndex={-1}
273
273
  disabled={fileGenerationState.isGenerating}
274
274
  onClick={regenerate}
275
- title={'Re-generate'}
275
+ title="Regenerate"
276
276
  >
277
277
  <RefreshIcon />
278
278
  </button>
@@ -1372,7 +1372,7 @@ export const FileGenerationConfigurationEditor = observer(
1372
1372
  isReadOnly || !fileGeneration.configurationProperties.length
1373
1373
  }
1374
1374
  onClick={resetDefaultConfiguration}
1375
- title={'Reset to default configuration'}
1375
+ title="Reset to default configuration"
1376
1376
  >
1377
1377
  <RefreshIcon />
1378
1378
  </button>
@@ -1382,7 +1382,7 @@ export const FileGenerationConfigurationEditor = observer(
1382
1382
  tabIndex={-1}
1383
1383
  disabled={isReadOnly}
1384
1384
  onClick={showFileGenerationModal}
1385
- title={'Promote File Generation Specification...'}
1385
+ title="Promote to file generation specification..."
1386
1386
  >
1387
1387
  <SaveIcon />
1388
1388
  </button>
@@ -59,7 +59,7 @@ import {
59
59
  externalFormat_modelUnit_addPackageableElementIncludes,
60
60
  externalFormat_modelUnit_deletePackageableElementExcludes,
61
61
  externalFormat_modelUnit_deletePackageableElementIncludes,
62
- } from '../../../../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
62
+ } from '../../../../stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js';
63
63
 
64
64
  const BindingScopeEntryEditor = observer(
65
65
  (props: {
@@ -24,7 +24,7 @@ import { computed, makeObservable } from 'mobx';
24
24
  import { ConnectionValueState } from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
25
25
  import type { EditorStore } from '../../../../stores/EditorStore.js';
26
26
  import { NewConnectionValueDriver } from '../../../../stores/editor/NewElementState.js';
27
- import { externalFormat_urlStream_setUrl } from '../../../../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
27
+ import { externalFormat_urlStream_setUrl } from '../../../../stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js';
28
28
 
29
29
  export class ExternalFormatConnectionValueState extends ConnectionValueState {
30
30
  override connection: ExternalFormatConnection;
@@ -21,7 +21,7 @@ import { makeObservable, observable, action } from 'mobx';
21
21
  import { observer } from 'mobx-react-lite';
22
22
  import { useEditorStore } from '../../EditorStoreProvider.js';
23
23
  import type { EditorStore } from '../../../../stores/EditorStore.js';
24
- import { externalFormat_schemaSet_setFormat } from '../../../../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
24
+ import { externalFormat_schemaSet_setFormat } from '../../../../stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js';
25
25
  import { NewElementDriver } from '../../../../stores/editor/NewElementState.js';
26
26
  import type { ExternalFormatTypeOption } from '../../../../stores/editor-state/ExternalFormatState.js';
27
27
 
@@ -51,7 +51,7 @@ import {
51
51
  externalFormat_schema_setContent,
52
52
  externalFormat_schema_setId,
53
53
  externalFormat_schema_setLocation,
54
- } from '../../../../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
54
+ } from '../../../../stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js';
55
55
  import { SchemaSetModelGenerationEditor } from './DSL_ExternalFormat_SchemaSetModelGenerationEditor.js';
56
56
 
57
57
  const SchemaLoader = observer(
@@ -166,7 +166,7 @@ const SchemaBasicEditor = observer(
166
166
  value={schema.id}
167
167
  spellCheck={false}
168
168
  onChange={changeId}
169
- placeholder={`Id`}
169
+ placeholder="Id"
170
170
  />
171
171
  <input
172
172
  className="schema-editor__location"
@@ -174,7 +174,7 @@ const SchemaBasicEditor = observer(
174
174
  value={schema.location}
175
175
  spellCheck={false}
176
176
  onChange={changeLocation}
177
- placeholder={`Location`}
177
+ placeholder="Location"
178
178
  />
179
179
  <div className={clsx('schema-editor__content')}>
180
180
  <div className="schema-editor__content__input">
@@ -268,7 +268,7 @@ export const SchemaSetGeneralEditor = observer(
268
268
  onClick={openSchemaLoader}
269
269
  disabled={isReadOnly}
270
270
  tabIndex={-1}
271
- title={'Import Schemas'}
271
+ title="Import Schemas"
272
272
  >
273
273
  <UploadIcon />
274
274
  </button>
@@ -277,7 +277,7 @@ export const SchemaSetGeneralEditor = observer(
277
277
  onClick={addSchema}
278
278
  disabled={isReadOnly}
279
279
  tabIndex={-1}
280
- title={'Add Schema'}
280
+ title="Add Schema"
281
281
  >
282
282
  <PlusIcon />
283
283
  </button>
@@ -108,7 +108,7 @@ export const SchemaSetModelGenerationEditor = observer(
108
108
  tabIndex={-1}
109
109
  disabled={isReadOnly || !properties.length}
110
110
  onClick={regenerate}
111
- title={'Reset to default configuration'}
111
+ title="Reset to default configuration"
112
112
  >
113
113
  <RefreshIcon />
114
114
  </button>
@@ -130,7 +130,7 @@ export const SchemaSetModelGenerationEditor = observer(
130
130
  spellCheck={false}
131
131
  value={modelGenerationState.targetBinding}
132
132
  onChange={changeTargetBindingPath}
133
- placeholder={`Target binding path`}
133
+ placeholder="Target binding path"
134
134
  validationErrorMessage={
135
135
  targetBindingPathValidationMessage
136
136
  }
@@ -187,7 +187,7 @@ export const SchemaSetModelGenerationEditor = observer(
187
187
  .isInProgress
188
188
  }
189
189
  onClick={regenerate}
190
- title={'Re-generate'}
190
+ title="Regenerate"
191
191
  >
192
192
  <RefreshIcon />
193
193
  </button>
@@ -29,10 +29,10 @@ import { MappingEditorState } from '../../../../stores/editor-state/element-edit
29
29
  import { useEditorStore } from '../../EditorStoreProvider.js';
30
30
  import {
31
31
  type SetImplementation,
32
- type PureInstanceSetImplementation,
33
- type FlatDataInstanceSetImplementation,
34
- type EmbeddedFlatDataPropertyMapping,
35
- type RootRelationalInstanceSetImplementation,
32
+ PureInstanceSetImplementation,
33
+ FlatDataInstanceSetImplementation,
34
+ EmbeddedFlatDataPropertyMapping,
35
+ RootRelationalInstanceSetImplementation,
36
36
  fromElementPathToMappingElementId,
37
37
  OperationSetImplementation,
38
38
  OperationType,
@@ -41,9 +41,8 @@ import {
41
41
  setImpl_nominateRoot,
42
42
  operationMapping_setOperation,
43
43
  operationMapping_setParameters,
44
- setImpl_setRoot,
45
- } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
46
- import { SET_IMPLEMENTATION_TYPE } from '../../../../stores/shared/ModelClassifierUtils.js';
44
+ setImplementation_setRoot,
45
+ } from '../../../../stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js';
47
46
  import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../../../stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
48
47
 
49
48
  export const OperatorSelector = observer(
@@ -75,7 +74,7 @@ export const OperatorSelector = observer(
75
74
  options={operationsOptions}
76
75
  onChange={changeSourceType}
77
76
  value={selectedSourceType}
78
- placeholder={`Select operation ID`}
77
+ placeholder="Select operation ID"
79
78
  />
80
79
  );
81
80
  },
@@ -94,8 +93,6 @@ export const ClassMappingEditor = observer(
94
93
  const editorStore = useEditorStore();
95
94
  const mappingEditorState =
96
95
  editorStore.getCurrentEditorState(MappingEditorState);
97
- const setImplementationType =
98
- editorStore.graphState.getSetImplementationType(setImplementation);
99
96
  const _class = setImplementation.class;
100
97
  // ID
101
98
  const isDefaultId =
@@ -113,62 +110,47 @@ export const ClassMappingEditor = observer(
113
110
  let sourceType = '';
114
111
  let sourceName: string | undefined;
115
112
 
116
- switch (setImplementationType) {
117
- case SET_IMPLEMENTATION_TYPE.PUREINSTANCE: {
118
- sourceType = CLASS_MAPPING_SOURCE_TYPE.CLASS;
119
- sourceName = (setImplementation as PureInstanceSetImplementation)
120
- .srcClass?.value.name;
121
- break;
122
- }
123
- case SET_IMPLEMENTATION_TYPE.FLAT_DATA: {
124
- sourceType = CLASS_MAPPING_SOURCE_TYPE.FLAT_DATA;
125
- sourceName = (setImplementation as FlatDataInstanceSetImplementation)
126
- .sourceRootRecordType.value._OWNER.name;
127
- break;
128
- }
129
- case SET_IMPLEMENTATION_TYPE.EMBEDDED_FLAT_DATA: {
130
- sourceType = CLASS_MAPPING_SOURCE_TYPE.FLAT_DATA;
131
- const flatDataInstanceSetImpl =
132
- setImplementation as EmbeddedFlatDataPropertyMapping;
133
- sourceName = (
134
- flatDataInstanceSetImpl.rootInstanceSetImplementation as FlatDataInstanceSetImplementation
135
- ).sourceRootRecordType.value._OWNER.name;
136
- break;
137
- }
138
- case SET_IMPLEMENTATION_TYPE.RELATIONAL: {
139
- sourceType = CLASS_MAPPING_SOURCE_TYPE.RELATIONAL;
140
- sourceName = (
141
- setImplementation as RootRelationalInstanceSetImplementation
142
- ).mainTableAlias?.relation.value.name;
143
- break;
144
- }
145
- case SET_IMPLEMENTATION_TYPE.OPERATION:
146
- sourceType = CLASS_MAPPING_SOURCE_TYPE.OPERATION;
147
- break;
148
- default: {
149
- const extraMappingSourceTypeInfoGetters = editorStore.pluginManager
150
- .getApplicationPlugins()
151
- .flatMap(
152
- (plugin) =>
153
- (
154
- plugin as DSL_Mapping_LegendStudioApplicationPlugin_Extension
155
- ).getExtraMappingSourceTypeInfoGetters?.() ?? [],
156
- );
157
- for (const sourceTypeInfoGetter of extraMappingSourceTypeInfoGetters) {
158
- const mappingSourceTypeInfo = sourceTypeInfoGetter(setImplementation);
159
- if (mappingSourceTypeInfo) {
160
- sourceType = mappingSourceTypeInfo.sourceType;
161
- sourceName = mappingSourceTypeInfo.sourceName;
162
- }
113
+ if (setImplementation instanceof PureInstanceSetImplementation) {
114
+ sourceType = CLASS_MAPPING_SOURCE_TYPE.CLASS;
115
+ sourceName = setImplementation.srcClass?.value.name;
116
+ } else if (setImplementation instanceof FlatDataInstanceSetImplementation) {
117
+ sourceType = CLASS_MAPPING_SOURCE_TYPE.FLAT_DATA;
118
+ sourceName = setImplementation.sourceRootRecordType.value._OWNER.name;
119
+ } else if (setImplementation instanceof EmbeddedFlatDataPropertyMapping) {
120
+ sourceType = CLASS_MAPPING_SOURCE_TYPE.FLAT_DATA;
121
+ sourceName = (
122
+ setImplementation.rootInstanceSetImplementation as FlatDataInstanceSetImplementation
123
+ ).sourceRootRecordType.value._OWNER.name;
124
+ } else if (
125
+ setImplementation instanceof RootRelationalInstanceSetImplementation
126
+ ) {
127
+ sourceType = CLASS_MAPPING_SOURCE_TYPE.RELATIONAL;
128
+ sourceName = setImplementation.mainTableAlias?.relation.value.name;
129
+ } else if (setImplementation instanceof OperationSetImplementation) {
130
+ sourceType = CLASS_MAPPING_SOURCE_TYPE.OPERATION;
131
+ } else {
132
+ const extraMappingSourceTypeInfoGetters = editorStore.pluginManager
133
+ .getApplicationPlugins()
134
+ .flatMap(
135
+ (plugin) =>
136
+ (
137
+ plugin as DSL_Mapping_LegendStudioApplicationPlugin_Extension
138
+ ).getExtraMappingSourceTypeInfoGetters?.() ?? [],
139
+ );
140
+ for (const sourceTypeInfoGetter of extraMappingSourceTypeInfoGetters) {
141
+ const mappingSourceTypeInfo = sourceTypeInfoGetter(setImplementation);
142
+ if (mappingSourceTypeInfo) {
143
+ sourceType = mappingSourceTypeInfo.sourceType;
144
+ sourceName = mappingSourceTypeInfo.sourceName;
145
+ break;
163
146
  }
164
- break;
165
147
  }
166
148
  }
167
149
 
168
150
  const toggleRoot = (): void => {
169
151
  if (!isReadOnly) {
170
152
  const isRoot = setImplementation.root.value;
171
- setImpl_setRoot(setImplementation, !isRoot);
153
+ setImplementation_setRoot(setImplementation, !isRoot);
172
154
  if (setImplementation.root.value) {
173
155
  setImpl_nominateRoot(setImplementation);
174
156
  }
@@ -201,31 +183,12 @@ export const ClassMappingEditor = observer(
201
183
  </div>
202
184
  </div>
203
185
  </div>
204
- {/* Driver */}
205
- <div
206
- className={clsx(
207
- 'mapping-element-editor__metadata__chunk',
208
- 'mapping-element-editor__metadata__driver-chunk',
209
- `mapping-element-editor__metadata__driver--${setImplementationType.toLowerCase()}`,
210
- {
211
- 'mapping-element-editor__metadata__source--none': !sourceName,
212
- },
213
- )}
214
- >
215
- <div className="mapping-element-editor__metadata__sub-chunk">
216
- using
217
- </div>
218
- <div className="mapping-element-editor__metadata__sub-chunk mapping-element-editor__metadata__driver__type">
219
- {setImplementationType.toUpperCase()}
220
- </div>
221
- </div>
222
186
  {/* Instance Set Implementation Source */}
223
- {setImplementationType !== SET_IMPLEMENTATION_TYPE.OPERATION && (
187
+ {!(setImplementation instanceof OperationSetImplementation) && (
224
188
  <div
225
189
  className={clsx(
226
190
  'mapping-element-editor__metadata__chunk',
227
191
  'mapping-element-editor__metadata__source-chunk',
228
- `background--${setImplementationType.toLowerCase()}`,
229
192
  {
230
193
  'mapping-element-editor__metadata__source-chunk--none':
231
194
  !sourceName,
@@ -251,12 +214,10 @@ export const ClassMappingEditor = observer(
251
214
  </div>
252
215
  )}
253
216
  {/* Operation Set Implementation Operator */}
254
- {setImplementationType === SET_IMPLEMENTATION_TYPE.OPERATION && (
217
+ {setImplementation instanceof OperationSetImplementation && (
255
218
  <div className="mapping-element-editor__metadata__operator-selector">
256
219
  <OperatorSelector
257
- setImplementation={
258
- setImplementation as OperationSetImplementation
259
- }
220
+ setImplementation={setImplementation}
260
221
  isReadOnly={isReadOnly}
261
222
  />
262
223
  </div>
@@ -275,7 +236,7 @@ export const ClassMappingEditor = observer(
275
236
  onClick={toggleRoot}
276
237
  disabled={isReadOnly}
277
238
  tabIndex={-1}
278
- title={'Set/Unset root class mapping'}
239
+ title="Toggle set class mapping as root"
279
240
  >
280
241
  {setImplementation.root.value ? (
281
242
  <CheckSquareIcon />
@@ -64,11 +64,11 @@ import {
64
64
  PackageableElementExplicitReference,
65
65
  } from '@finos/legend-graph';
66
66
  import {
67
- enumMapping_updateSourceType,
67
+ enumerationMapping_updateSourceType,
68
68
  enumValueMapping_addSourceValue,
69
69
  enumValueMapping_deleteSourceValue,
70
70
  enumValueMapping_updateSourceValue,
71
- } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
71
+ } from '../../../../stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js';
72
72
  import {
73
73
  buildElementOption,
74
74
  getPackageableElementOptionFormatter,
@@ -115,7 +115,7 @@ const EnumerationMappingSourceSelectorModal = observer(
115
115
  ): void => {
116
116
  const value = val?.value;
117
117
  if (!value || value instanceof Type) {
118
- enumMapping_updateSourceType(
118
+ enumerationMapping_updateSourceType(
119
119
  enumerationMapping,
120
120
  value ? PackageableElementExplicitReference.create(value) : undefined,
121
121
  );
@@ -149,7 +149,7 @@ const EnumerationMappingSourceSelectorModal = observer(
149
149
  options={options}
150
150
  onChange={changeSourceType}
151
151
  value={selectedSourceType}
152
- placeholder={'Choose a data type or an enumeration...'}
152
+ placeholder="Choose a type..."
153
153
  isClearable={true}
154
154
  filterOption={filterOption}
155
155
  formatOptionLabel={getPackageableElementOptionFormatter({})}
@@ -245,7 +245,7 @@ export const SourceValueInput = observer(
245
245
  value={value}
246
246
  onChange={onChange}
247
247
  onBlur={onBlur}
248
- placeholder={`Source value`}
248
+ placeholder="Source value"
249
249
  type={inputType}
250
250
  />
251
251
  <div className="enumeration-mapping-editor__enum-value__source-value__info">
@@ -259,7 +259,7 @@ export const SourceValueInput = observer(
259
259
  disabled={isReadOnly}
260
260
  onClick={deleteSourceValue}
261
261
  tabIndex={-1}
262
- title={'Remove'}
262
+ title="Remove"
263
263
  >
264
264
  <TimesIcon />
265
265
  </button>
@@ -297,7 +297,7 @@ const EnumValueMappingEditor = observer(
297
297
  disabled={isReadOnly}
298
298
  onClick={addSourceValue}
299
299
  tabIndex={-1}
300
- title={'Add enum value'}
300
+ title="Add enum value"
301
301
  >
302
302
  <PlusIcon />
303
303
  </button>
@@ -368,7 +368,7 @@ export const EnumerationMappingEditor = observer(
368
368
  const handleDrop = useCallback(
369
369
  (item: MappingElementSourceDropTarget): void => {
370
370
  if (!isReadOnly && item.data.packageableElement instanceof Type) {
371
- enumMapping_updateSourceType(
371
+ enumerationMapping_updateSourceType(
372
372
  enumerationMapping,
373
373
  PackageableElementExplicitReference.create(
374
374
  item.data.packageableElement,
@@ -513,7 +513,7 @@ export const EnumerationMappingEditor = observer(
513
513
  onClick={showSourceSelectorModal}
514
514
  disabled={isReadOnly}
515
515
  tabIndex={-1}
516
- title={'Select Source...'}
516
+ title="Select a source..."
517
517
  >
518
518
  <PencilIcon />
519
519
  </button>
@@ -46,7 +46,7 @@ import {
46
46
  EnumerationMappingExplicitReference,
47
47
  } from '@finos/legend-graph';
48
48
  import { StudioLambdaEditor } from '../../../shared/StudioLambdaEditor.js';
49
- import { flatDataPropertyMapping_setTransformer } from '../../../../stores/graphModifier/STO_FlatData_GraphModifierHelper.js';
49
+ import { flatDataPropertyMapping_setTransformer } from '../../../../stores/shared/modifier/STO_FlatData_GraphModifierHelper.js';
50
50
  import {
51
51
  CLASS_PROPERTY_TYPE,
52
52
  getClassPropertyType,
@@ -194,13 +194,13 @@ const EnumerationPropertyMappingEditor = observer(
194
194
  options={options}
195
195
  onChange={handleSelectionChange}
196
196
  value={{ value: transformerLabel, label: transformerLabel }}
197
- placeholder={`Select an existing enumeration mapping`}
197
+ placeholder="Select an existing enumeration mapping"
198
198
  />
199
199
  <button
200
200
  className="property-mapping-editor__entry__visit-btn"
201
201
  onClick={visit}
202
202
  tabIndex={-1}
203
- title={'Visit enumeration mapping'}
203
+ title="Visit enumeration mapping"
204
204
  >
205
205
  <ArrowCircleRightIcon />
206
206
  </button>
@@ -312,7 +312,7 @@ export const FlatDataPropertyMappingEditor = observer(
312
312
  // className="property-mapping-editor__entry--embedded__visit-btn"
313
313
  // onClick={visitEmbeddedPropertyMapping}
314
314
  // tabIndex={-1}
315
- // title={'Create mapping element'}
315
+ // title="Create mapping element"
316
316
  // ><ArrowCircleRightIcon /></button>
317
317
  // {`to visit the embedded class mapping for property '${flatDataPropertyMappingState.propertyMapping.property.name}'.`}
318
318
  // </div>
@@ -112,7 +112,7 @@ const RecordFieldTreeNodeContainer: React.FC<
112
112
  primitiveType && primitiveType === selectedType,
113
113
  })}
114
114
  tabIndex={-1}
115
- title={'Column Type'}
115
+ title="Column Type"
116
116
  >
117
117
  {primitiveType?.path ?? 'RecordType'}
118
118
  </button>
@@ -51,7 +51,7 @@ import {
51
51
  } from '../../../../stores/editor-state/element-editor-state/mapping/MappingEditorState.js';
52
52
  import { TypeTree } from '../../../shared/TypeTree.js';
53
53
  import { FlatDataRecordTypeTree } from './FlatDataRecordTypeTree.js';
54
- import { PropertyMappingsEditor } from './PropertyMappingsEditor.js';
54
+ import { PropertyMappingEditor } from './PropertyMappingsEditor.js';
55
55
  import { useDrop } from 'react-dnd';
56
56
  import { FlatDataInstanceSetImplementationState } from '../../../../stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js';
57
57
  import { MappingElementDecorationCleaner } from '../../../../stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js';
@@ -540,7 +540,7 @@ export const InstanceSetImplementationEditor = observer(
540
540
  {!isReadOnly &&
541
541
  !isUnsupported &&
542
542
  sortedProperties.map((property) => (
543
- <PropertyMappingsEditor
543
+ <PropertyMappingEditor
544
544
  key={property.name}
545
545
  property={property}
546
546
  instanceSetImplementationState={
@@ -562,7 +562,7 @@ export const InstanceSetImplementationEditor = observer(
562
562
  ).length,
563
563
  )
564
564
  .map((property) => (
565
- <PropertyMappingsEditor
565
+ <PropertyMappingEditor
566
566
  key={property.name}
567
567
  property={property}
568
568
  instanceSetImplementationState={
@@ -68,34 +68,6 @@ export interface MappingElementSourceSelectOption {
68
68
  value: unknown;
69
69
  }
70
70
 
71
- const getMappingSourcePackageableElementOptionFormatter = (props: {
72
- darkMode?: boolean;
73
- }): ((option: MappingElementSourceSelectOption) => React.ReactNode) =>
74
- function MappingSourceOptionLabel(
75
- option: MappingElementSourceSelectOption,
76
- ): React.ReactNode {
77
- if (option.value instanceof PackageableElement) {
78
- return getPackageableElementOptionFormatter(props)(
79
- buildElementOption(option.value),
80
- );
81
- } else if (option.value instanceof TableAlias) {
82
- const tableOwner = option.value.relation.ownerReference;
83
- return getPackageableElementOptionFormatter(props)(
84
- buildElementOption(tableOwner.value),
85
- );
86
- } else {
87
- const className = props.darkMode
88
- ? 'packageable-element-format-option-label--dark'
89
- : 'packageable-element-format-option-label';
90
- return (
91
- <div className={className}>
92
- <div className="packageable-element-format-option-label-type"></div>
93
- <div className={`${className}__name`}>{option.label}</div>
94
- </div>
95
- );
96
- }
97
- };
98
-
99
71
  export const getSourceElementLabel = (
100
72
  srcElement: unknown | undefined,
101
73
  ): string => {
@@ -183,11 +155,21 @@ export const InstanceSetImplementationSourceSelectorModal = observer(
183
155
  }),
184
156
  )
185
157
  .map(buildMappingElementSourceOption);
186
- const filterOption = createFilter({
158
+ const sourceFilterOption = createFilter({
187
159
  ignoreCase: true,
188
160
  ignoreAccents: false,
189
161
  stringify: getMappingElementSourceFilterText,
190
162
  });
163
+ const formatSourceOptionLabel = (
164
+ option: MappingElementSourceSelectOption,
165
+ ): React.ReactNode => {
166
+ if (option.value instanceof PackageableElement) {
167
+ return getPackageableElementOptionFormatter({})(
168
+ buildElementOption(option.value),
169
+ );
170
+ }
171
+ return <div className="mapping-source-option-label">{option.label}</div>;
172
+ };
191
173
  const sourceSelectorRef = useRef<SelectComponent>(null);
192
174
  const selectedSourceType = buildMappingElementSourceOption(
193
175
  sourceElementToSelect ??
@@ -234,10 +216,8 @@ export const InstanceSetImplementationSourceSelectorModal = observer(
234
216
  value={selectedSourceType}
235
217
  placeholder={`Select a source...`}
236
218
  isClearable={true}
237
- filterOption={filterOption}
238
- formatOptionLabel={getMappingSourcePackageableElementOptionFormatter(
239
- {},
240
- )}
219
+ filterOption={sourceFilterOption}
220
+ formatOptionLabel={formatSourceOptionLabel}
241
221
  />
242
222
  </div>
243
223
  </Dialog>
@@ -33,10 +33,10 @@ import {
33
33
  PURE_EnumerationIcon,
34
34
  PURE_AssociationIcon,
35
35
  Panel,
36
+ useResizeDetector,
36
37
  } from '@finos/legend-art';
37
38
  import { ClassMappingEditor } from './ClassMappingEditor.js';
38
39
  import { EnumerationMappingEditor } from './EnumerationMappingEditor.js';
39
- import { useResizeDetector } from 'react-resize-detector';
40
40
  import {
41
41
  type MappingEditorTabState,
42
42
  type MappingElement,
@@ -329,7 +329,7 @@ export const MappingEditor = observer(() => {
329
329
  className="mapping-editor__header__tab__close-btn"
330
330
  onClick={closeTab(tabState)}
331
331
  tabIndex={-1}
332
- title={'Close'}
332
+ title="Close"
333
333
  >
334
334
  <TimesIcon />
335
335
  </button>
@@ -80,12 +80,12 @@ import {
80
80
  isStubbed_RawLambda,
81
81
  } from '@finos/legend-graph';
82
82
  import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
83
- import { objectInputData_setData } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
84
- import { flatData_setData } from '../../../../stores/graphModifier/STO_FlatData_GraphModifierHelper.js';
83
+ import { objectInputData_setData } from '../../../../stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js';
84
+ import { flatData_setData } from '../../../../stores/shared/modifier/STO_FlatData_GraphModifierHelper.js';
85
85
  import {
86
86
  relationalInputData_setData,
87
87
  relationalInputData_setInputType,
88
- } from '../../../../stores/graphModifier/STO_Relational_GraphModifierHelper.js';
88
+ } from '../../../../stores/shared/modifier/STO_Relational_GraphModifierHelper.js';
89
89
  import { MappingExecutionQueryBuilderState } from '../../../../stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js';
90
90
  import type { QueryBuilderState } from '@finos/legend-query-builder';
91
91
 
@@ -153,7 +153,7 @@ export const ClassMappingSelectorModal = observer(
153
153
  options={classMappingOptions}
154
154
  onChange={changeClassMappingOption}
155
155
  value={null}
156
- placeholder={'Choose a class mapping...'}
156
+ placeholder="Choose a class mapping..."
157
157
  filterOption={filterOption}
158
158
  isClearable={true}
159
159
  />
@@ -376,7 +376,7 @@ const MappingExecutionQueryEditor = observer(
376
376
  className="panel__header__action"
377
377
  tabIndex={-1}
378
378
  onClick={clearQuery}
379
- title={'Clear query'}
379
+ title="Clear query"
380
380
  >
381
381
  <TimesIcon />
382
382
  </button>
@@ -681,7 +681,7 @@ export const MappingExecutionInputDataBuilder = observer(
681
681
  className="panel__header__action"
682
682
  tabIndex={-1}
683
683
  onClick={showClassMappingSelectorModal}
684
- title={'Regenerate...'}
684
+ title="Regenerate..."
685
685
  >
686
686
  <RefreshIcon className="mapping-execution-builder__icon--refresh" />
687
687
  </button>
@@ -689,7 +689,7 @@ export const MappingExecutionInputDataBuilder = observer(
689
689
  className="panel__header__action"
690
690
  tabIndex={-1}
691
691
  onClick={clearInputData}
692
- title={'Clear input data'}
692
+ title="Clear input data"
693
693
  >
694
694
  <TimesIcon />
695
695
  </button>
@@ -68,7 +68,7 @@ import {
68
68
  PureInstanceSetImplementationFilterState,
69
69
  PureInstanceSetImplementationState,
70
70
  } from '../../../../stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js';
71
- import { pureInstanceSetImpl_setMappingFilter } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
71
+ import { pureInstanceSetImpl_setMappingFilter } from '../../../../stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js';
72
72
 
73
73
  export const MappingExplorerContextMenu = observer(
74
74
  forwardRef<
@@ -524,7 +524,7 @@ export const MappingExplorer = observer((props: { isReadOnly: boolean }) => {
524
524
  onClick={openNewMapingModal}
525
525
  disabled={isReadOnly}
526
526
  tabIndex={-1}
527
- title={'Create new mapping element'}
527
+ title="Create new mapping element"
528
528
  >
529
529
  <PlusIcon />
530
530
  </button>