@finos/legend-application-studio 22.6.0 → 23.0.1

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 (1448) hide show
  1. package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.d.ts +21 -0
  2. package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.d.ts.map +1 -0
  3. package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.js +74 -0
  4. package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.js.map +1 -0
  5. package/lib/application/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +1 -0
  6. package/lib/application/DSL_ExternalFormat_LegendStudioDocumentation.js.map +1 -0
  7. package/lib/application/LegendStudio.d.ts.map +1 -1
  8. package/lib/application/LegendStudio.js +9 -6
  9. package/lib/application/LegendStudio.js.map +1 -1
  10. package/lib/application/LegendStudioApplicationConfig.d.ts +4 -0
  11. package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
  12. package/lib/application/LegendStudioApplicationConfig.js +7 -1
  13. package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
  14. package/lib/application/LegendStudioApplicationNavigationContext.d.ts.map +1 -0
  15. package/lib/application/LegendStudioApplicationNavigationContext.js.map +1 -0
  16. package/lib/application/LegendStudioCodeSnippet.d.ts +45 -0
  17. package/lib/application/LegendStudioCodeSnippet.d.ts.map +1 -0
  18. package/lib/application/LegendStudioCodeSnippet.js +322 -0
  19. package/lib/application/LegendStudioCodeSnippet.js.map +1 -0
  20. package/lib/application/LegendStudioCommand.d.ts.map +1 -0
  21. package/lib/application/LegendStudioCommand.js.map +1 -0
  22. package/lib/application/LegendStudioDocumentation.d.ts.map +1 -0
  23. package/lib/application/LegendStudioDocumentation.js.map +1 -0
  24. package/lib/application/LegendStudioEvent.d.ts +48 -0
  25. package/lib/application/LegendStudioEvent.d.ts.map +1 -0
  26. package/lib/application/LegendStudioEvent.js +56 -0
  27. package/lib/application/LegendStudioEvent.js.map +1 -0
  28. package/lib/application/LegendStudioEventHelper.d.ts +20 -0
  29. package/lib/application/LegendStudioEventHelper.d.ts.map +1 -0
  30. package/lib/application/LegendStudioEventHelper.js +22 -0
  31. package/lib/application/LegendStudioEventHelper.js.map +1 -0
  32. package/lib/application/LegendStudioNavigation.d.ts +77 -0
  33. package/lib/application/LegendStudioNavigation.d.ts.map +1 -0
  34. package/lib/application/LegendStudioNavigation.js +133 -0
  35. package/lib/application/LegendStudioNavigation.js.map +1 -0
  36. package/lib/application/LegendStudioPluginManager.js +1 -1
  37. package/lib/application/LegendStudioPluginManager.js.map +1 -1
  38. package/lib/application/LegendStudioSetting.d.ts +22 -0
  39. package/lib/application/LegendStudioSetting.d.ts.map +1 -0
  40. package/lib/application/LegendStudioSetting.js +29 -0
  41. package/lib/application/LegendStudioSetting.js.map +1 -0
  42. package/lib/application/LegendStudioTelemetryHelper.d.ts +33 -0
  43. package/lib/application/LegendStudioTelemetryHelper.d.ts.map +1 -0
  44. package/lib/application/LegendStudioTelemetryHelper.js +37 -0
  45. package/lib/application/LegendStudioTelemetryHelper.js.map +1 -0
  46. package/lib/application/LegendStudioTesting.d.ts +47 -0
  47. package/lib/application/LegendStudioTesting.d.ts.map +1 -0
  48. package/lib/application/LegendStudioTesting.js +52 -0
  49. package/lib/application/LegendStudioTesting.js.map +1 -0
  50. package/lib/components/EditorComponentTestUtils.d.ts +1 -1
  51. package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
  52. package/lib/components/EditorComponentTestUtils.js +7 -8
  53. package/lib/components/EditorComponentTestUtils.js.map +1 -1
  54. package/lib/components/EmbeddedQueryBuilder.js +1 -1
  55. package/lib/components/EmbeddedQueryBuilder.js.map +1 -1
  56. package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
  57. package/lib/components/LegendStudioAppInfo.js +0 -1
  58. package/lib/components/LegendStudioAppInfo.js.map +1 -1
  59. package/lib/components/LegendStudioApplication.d.ts +0 -2
  60. package/lib/components/LegendStudioApplication.d.ts.map +1 -1
  61. package/lib/components/LegendStudioApplication.js +9 -9
  62. package/lib/components/LegendStudioApplication.js.map +1 -1
  63. package/lib/components/editor/ActivityBar.d.ts +1 -1
  64. package/lib/components/editor/ActivityBar.d.ts.map +1 -1
  65. package/lib/components/editor/ActivityBar.js +8 -8
  66. package/lib/components/editor/ActivityBar.js.map +1 -1
  67. package/lib/components/editor/Editor.d.ts.map +1 -1
  68. package/lib/components/editor/Editor.js +6 -2
  69. package/lib/components/editor/Editor.js.map +1 -1
  70. package/lib/components/editor/EditorStoreProvider.d.ts +1 -1
  71. package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -1
  72. package/lib/components/editor/EditorStoreProvider.js +2 -4
  73. package/lib/components/editor/EditorStoreProvider.js.map +1 -1
  74. package/lib/components/editor/StatusBar.d.ts.map +1 -1
  75. package/lib/components/editor/StatusBar.js +6 -9
  76. package/lib/components/editor/StatusBar.js.map +1 -1
  77. package/lib/components/editor/aux-panel/AuxiliaryPanel.js +1 -1
  78. package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
  79. package/lib/components/editor/aux-panel/DevTool.js +2 -2
  80. package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
  81. package/lib/components/editor/aux-panel/Problems.d.ts.map +1 -1
  82. package/lib/components/editor/aux-panel/Problems.js +4 -10
  83. package/lib/components/editor/aux-panel/Problems.js.map +1 -1
  84. package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
  85. package/lib/components/editor/command-center/ProjectSearchCommand.js +1 -1
  86. package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
  87. package/lib/components/editor/edit-panel/EditPanel.js +19 -19
  88. package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
  89. package/lib/components/editor/edit-panel/FileGenerationViewer.js +2 -2
  90. package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
  91. package/lib/components/editor/edit-panel/FunctionEditor.d.ts +1 -1
  92. package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
  93. package/lib/components/editor/edit-panel/FunctionEditor.js +9 -9
  94. package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
  95. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +6 -6
  96. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
  97. package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
  98. package/lib/components/editor/edit-panel/GrammarTextEditor.js +9 -8
  99. package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
  100. package/lib/components/editor/edit-panel/ModelImporter.js +3 -3
  101. package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
  102. package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +1 -1
  103. package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
  104. package/lib/components/editor/edit-panel/RuntimeEditor.js +6 -6
  105. package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
  106. package/lib/components/editor/edit-panel/UnsupportedElementEditor.js +1 -1
  107. package/lib/components/editor/edit-panel/UnsupportedElementEditor.js.map +1 -1
  108. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +1 -1
  109. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
  110. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +3 -3
  111. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
  112. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +1 -1
  113. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
  114. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +2 -2
  115. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
  116. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
  117. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
  118. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
  119. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
  120. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +1 -1
  121. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
  122. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +3 -3
  123. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  124. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
  125. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
  126. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +1 -1
  127. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
  128. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +2 -2
  129. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
  130. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +6 -6
  131. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
  132. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts +2 -2
  133. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
  134. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +4 -4
  135. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
  136. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +1 -1
  137. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
  138. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +1 -1
  139. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
  140. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +2 -2
  141. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  142. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +1 -1
  143. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
  144. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +3 -3
  145. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
  146. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +2 -2
  147. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
  148. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +1 -1
  149. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
  150. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js +1 -1
  151. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js.map +1 -1
  152. package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
  153. package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts.map +1 -1
  154. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts +2 -2
  155. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
  156. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +4 -4
  157. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
  158. package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts +2 -2
  159. package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts.map +1 -1
  160. package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js +2 -2
  161. package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js.map +1 -1
  162. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +3 -3
  163. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
  164. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +2 -2
  165. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -1
  166. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +3 -3
  167. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
  168. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +2 -2
  169. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -1
  170. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +1 -1
  171. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
  172. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +1 -1
  173. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
  174. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +4 -4
  175. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
  176. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
  177. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
  178. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +2 -2
  179. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
  180. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +6 -6
  181. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  182. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
  183. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
  184. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +4 -4
  185. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
  186. package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
  187. package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
  188. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +9 -9
  189. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
  190. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
  191. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
  192. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +1 -1
  193. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
  194. package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +6 -6
  195. package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
  196. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +2 -2
  197. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
  198. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +8 -10
  199. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  200. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts +1 -1
  201. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
  202. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js +3 -2
  203. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
  204. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts +1 -1
  205. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts.map +1 -1
  206. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +8 -8
  207. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
  208. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +1 -1
  209. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
  210. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +7 -9
  211. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
  212. package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts +1 -1
  213. package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts.map +1 -1
  214. package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js +3 -3
  215. package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js.map +1 -1
  216. package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js +2 -2
  217. package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -1
  218. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +5 -5
  219. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
  220. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
  221. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
  222. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +14 -9
  223. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
  224. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
  225. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
  226. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +4 -4
  227. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
  228. package/lib/components/editor/edit-panel/mapping-editor/TypeTree.d.ts.map +1 -0
  229. package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js +165 -0
  230. package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js.map +1 -0
  231. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
  232. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
  233. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +4 -4
  234. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
  235. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +3 -3
  236. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  237. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +5 -5
  238. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
  239. package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js +1 -1
  240. package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
  241. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +5 -5
  242. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
  243. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +1 -1
  244. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
  245. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +5 -5
  246. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
  247. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
  248. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  249. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +1 -3
  250. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  251. package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js +2 -2
  252. package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js.map +1 -1
  253. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +1 -1
  254. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
  255. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
  256. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
  257. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +1 -1
  258. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
  259. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +2 -2
  260. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
  261. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
  262. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
  263. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +4 -4
  264. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
  265. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +1 -1
  266. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
  267. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +3 -3
  268. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
  269. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +7 -7
  270. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
  271. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +1 -1
  272. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
  273. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +14 -14
  274. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
  275. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts +1 -1
  276. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
  277. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +2 -4
  278. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
  279. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +6 -6
  280. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
  281. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +4 -4
  282. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
  283. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +4 -4
  284. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
  285. package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +2 -2
  286. package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
  287. package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +2 -2
  288. package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -1
  289. package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js +1 -1
  290. package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js.map +1 -1
  291. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +1 -1
  292. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
  293. package/lib/components/editor/side-bar/CreateNewElementModal.js +7 -3
  294. package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
  295. package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
  296. package/lib/components/editor/side-bar/Explorer.js +25 -17
  297. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  298. package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
  299. package/lib/components/editor/side-bar/LocalChanges.js +9 -8
  300. package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
  301. package/lib/components/editor/side-bar/ProjectDependantsEditor.d.ts.map +1 -1
  302. package/lib/components/editor/side-bar/ProjectDependantsEditor.js +19 -7
  303. package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
  304. package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
  305. package/lib/components/editor/side-bar/ProjectOverview.js +4 -3
  306. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  307. package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
  308. package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -1
  309. package/lib/components/editor/side-bar/RegisterService.js +1 -1
  310. package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
  311. package/lib/components/editor/side-bar/SideBar.js +1 -1
  312. package/lib/components/editor/side-bar/SideBar.js.map +1 -1
  313. package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
  314. package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
  315. package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
  316. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  317. package/lib/components/editor/side-bar/WorkspaceReview.js +5 -5
  318. package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
  319. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
  320. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
  321. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +4 -4
  322. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
  323. package/lib/components/editor/side-bar/WorkspaceUpdater.js +5 -5
  324. package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
  325. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +1 -1
  326. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
  327. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +3 -3
  328. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
  329. package/lib/components/element-preview/ElementPreview.d.ts +2 -0
  330. package/lib/components/element-preview/ElementPreview.d.ts.map +1 -0
  331. package/lib/components/element-preview/ElementPreview.js +2 -0
  332. package/lib/components/element-preview/ElementPreview.js.map +1 -0
  333. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts +27 -0
  334. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts.map +1 -0
  335. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +90 -0
  336. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -0
  337. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +43 -0
  338. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -0
  339. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +301 -0
  340. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -0
  341. package/lib/components/project-view/ProjectViewer.d.ts.map +1 -0
  342. package/lib/components/project-view/ProjectViewer.js +151 -0
  343. package/lib/components/project-view/ProjectViewer.js.map +1 -0
  344. package/lib/components/project-view/ProjectViewerStoreProvider.d.ts +23 -0
  345. package/lib/components/project-view/ProjectViewerStoreProvider.d.ts.map +1 -0
  346. package/lib/components/project-view/ProjectViewerStoreProvider.js +36 -0
  347. package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -0
  348. package/lib/components/shared/ElementIconUtils.d.ts +1 -1
  349. package/lib/components/shared/ElementIconUtils.d.ts.map +1 -1
  350. package/lib/components/shared/ElementIconUtils.js +1 -1
  351. package/lib/components/shared/ElementIconUtils.js.map +1 -1
  352. package/lib/components/workspace-review/WorkspaceReview.js +2 -2
  353. package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
  354. package/lib/components/workspace-review/WorkspaceReviewPanel.js +1 -1
  355. package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +1 -1
  356. package/lib/components/workspace-review/WorkspaceReviewSideBar.js +3 -3
  357. package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
  358. package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js +1 -1
  359. package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js.map +1 -1
  360. package/lib/components/workspace-setup/CreateProjectModal.js +3 -3
  361. package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
  362. package/lib/components/workspace-setup/CreateWorkspaceModal.js +1 -1
  363. package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
  364. package/lib/components/workspace-setup/ProjectSelectorUtils.d.ts.map +1 -0
  365. package/lib/components/workspace-setup/ProjectSelectorUtils.js +46 -0
  366. package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -0
  367. package/lib/components/workspace-setup/WorkspaceSelectorUtils.d.ts.map +1 -0
  368. package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -0
  369. package/lib/components/workspace-setup/WorkspaceSetup.js +9 -9
  370. package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
  371. package/lib/index.css +2 -2
  372. package/lib/index.css.map +1 -1
  373. package/lib/index.d.ts +46 -45
  374. package/lib/index.d.ts.map +1 -1
  375. package/lib/index.js +44 -44
  376. package/lib/index.js.map +1 -1
  377. package/lib/package.json +4 -4
  378. package/lib/stores/LegendStudioApplicationPlugin.d.ts +16 -9
  379. package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
  380. package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -1
  381. package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
  382. package/lib/stores/LegendStudioBaseStore.js +26 -9
  383. package/lib/stores/LegendStudioBaseStore.js.map +1 -1
  384. package/lib/stores/editor/AbstractConflictResolutionState.d.ts.map +1 -0
  385. package/lib/stores/editor/AbstractConflictResolutionState.js.map +1 -0
  386. package/lib/stores/editor/ChangeDetectionState.d.ts.map +1 -0
  387. package/lib/stores/editor/ChangeDetectionState.js +599 -0
  388. package/lib/stores/editor/ChangeDetectionState.js.map +1 -0
  389. package/lib/stores/editor/DependencyProjectViewerHelper.d.ts +19 -0
  390. package/lib/stores/editor/DependencyProjectViewerHelper.d.ts.map +1 -0
  391. package/lib/stores/editor/DependencyProjectViewerHelper.js +23 -0
  392. package/lib/stores/editor/DependencyProjectViewerHelper.js.map +1 -0
  393. package/lib/stores/editor/EditorConfig.d.ts.map +1 -0
  394. package/lib/stores/editor/EditorConfig.js.map +1 -0
  395. package/lib/stores/editor/EditorGraphState.d.ts +91 -0
  396. package/lib/stores/editor/EditorGraphState.d.ts.map +1 -0
  397. package/lib/stores/editor/EditorGraphState.js +529 -0
  398. package/lib/stores/editor/EditorGraphState.js.map +1 -0
  399. package/lib/stores/editor/EditorSDLCState.d.ts.map +1 -0
  400. package/lib/stores/editor/EditorSDLCState.js +271 -0
  401. package/lib/stores/editor/EditorSDLCState.js.map +1 -0
  402. package/lib/stores/editor/EditorStore.d.ts +135 -0
  403. package/lib/stores/editor/EditorStore.d.ts.map +1 -0
  404. package/lib/stores/editor/EditorStore.js +701 -0
  405. package/lib/stores/editor/EditorStore.js.map +1 -0
  406. package/lib/stores/editor/EditorStoreTestUtils.d.ts +21 -0
  407. package/lib/stores/editor/EditorStoreTestUtils.d.ts.map +1 -0
  408. package/lib/stores/editor/EditorStoreTestUtils.js +53 -0
  409. package/lib/stores/editor/EditorStoreTestUtils.js.map +1 -0
  410. package/lib/stores/editor/EditorTabManagerState.d.ts +47 -0
  411. package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -0
  412. package/lib/stores/editor/EditorTabManagerState.js +141 -0
  413. package/lib/stores/editor/EditorTabManagerState.js.map +1 -0
  414. package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts +40 -0
  415. package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts.map +1 -0
  416. package/lib/stores/editor/EmbeddedQueryBuilderState.js +80 -0
  417. package/lib/stores/editor/EmbeddedQueryBuilderState.js.map +1 -0
  418. package/lib/stores/editor/ExplorerTreeState.d.ts.map +1 -0
  419. package/lib/stores/editor/ExplorerTreeState.js +328 -0
  420. package/lib/stores/editor/ExplorerTreeState.js.map +1 -0
  421. package/lib/stores/editor/GraphEditFormModeState.d.ts +81 -0
  422. package/lib/stores/editor/GraphEditFormModeState.d.ts.map +1 -0
  423. package/lib/stores/editor/GraphEditFormModeState.js +370 -0
  424. package/lib/stores/editor/GraphEditFormModeState.js.map +1 -0
  425. package/lib/stores/editor/GraphEditGrammarModeState.d.ts +65 -0
  426. package/lib/stores/editor/GraphEditGrammarModeState.d.ts.map +1 -0
  427. package/lib/stores/editor/GraphEditGrammarModeState.js +315 -0
  428. package/lib/stores/editor/GraphEditGrammarModeState.js.map +1 -0
  429. package/lib/stores/editor/GraphEditorMode.d.ts +51 -0
  430. package/lib/stores/editor/GraphEditorMode.d.ts.map +1 -0
  431. package/lib/stores/editor/GraphEditorMode.js +35 -0
  432. package/lib/stores/editor/GraphEditorMode.js.map +1 -0
  433. package/lib/stores/editor/NewElementState.d.ts +5 -5
  434. package/lib/stores/editor/NewElementState.d.ts.map +1 -1
  435. package/lib/stores/editor/NewElementState.js +28 -19
  436. package/lib/stores/editor/NewElementState.js.map +1 -1
  437. package/lib/stores/editor/StandardEditorMode.d.ts +1 -1
  438. package/lib/stores/editor/StandardEditorMode.d.ts.map +1 -1
  439. package/lib/stores/editor/StandardEditorMode.js +1 -1
  440. package/lib/stores/editor/StandardEditorMode.js.map +1 -1
  441. package/lib/stores/editor/aux-panel-state/DevToolState.d.ts.map +1 -0
  442. package/lib/stores/editor/aux-panel-state/DevToolState.js.map +1 -0
  443. package/lib/stores/editor/editor-state/EditorState.d.ts.map +1 -0
  444. package/lib/stores/editor/editor-state/EditorState.js.map +1 -0
  445. package/lib/stores/editor/editor-state/ExternalFormatState.d.ts.map +1 -0
  446. package/lib/stores/editor/editor-state/ExternalFormatState.js +83 -0
  447. package/lib/stores/editor/editor-state/ExternalFormatState.js.map +1 -0
  448. package/lib/stores/editor/editor-state/FileGenerationState.d.ts.map +1 -0
  449. package/lib/stores/editor/editor-state/FileGenerationState.js +174 -0
  450. package/lib/stores/editor/editor-state/FileGenerationState.js.map +1 -0
  451. package/lib/stores/editor/editor-state/FileGenerationViewerState.d.ts.map +1 -0
  452. package/lib/stores/editor/editor-state/FileGenerationViewerState.js.map +1 -0
  453. package/lib/stores/editor/editor-state/FileSystemState.d.ts.map +1 -0
  454. package/lib/stores/editor/editor-state/FileSystemState.js.map +1 -0
  455. package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.d.ts.map +1 -0
  456. package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.js.map +1 -0
  457. package/lib/stores/editor/editor-state/GrammarTextEditorState.d.ts.map +1 -0
  458. package/lib/stores/editor/editor-state/GrammarTextEditorState.js +158 -0
  459. package/lib/stores/editor/editor-state/GrammarTextEditorState.js.map +1 -0
  460. package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -0
  461. package/lib/stores/editor/editor-state/GraphGenerationState.js +344 -0
  462. package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -0
  463. package/lib/stores/editor/editor-state/ModelImporterState.d.ts +101 -0
  464. package/lib/stores/editor/editor-state/ModelImporterState.d.ts.map +1 -0
  465. package/lib/stores/editor/editor-state/ModelImporterState.js +367 -0
  466. package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -0
  467. package/lib/stores/editor/editor-state/UnsupportedElementEditorState.d.ts.map +1 -0
  468. package/lib/stores/editor/editor-state/UnsupportedElementEditorState.js.map +1 -0
  469. package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.d.ts.map +1 -0
  470. package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.js.map +1 -0
  471. package/lib/stores/editor/editor-state/element-editor-state/ClassState.d.ts.map +1 -0
  472. package/lib/stores/editor/editor-state/element-editor-state/ClassState.js.map +1 -0
  473. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -0
  474. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -0
  475. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +1 -0
  476. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +172 -0
  477. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -0
  478. package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -0
  479. package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js +70 -0
  480. package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -0
  481. package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +1 -0
  482. package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.js.map +1 -0
  483. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -0
  484. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -0
  485. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -0
  486. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -0
  487. package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.d.ts.map +1 -0
  488. package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js.map +1 -0
  489. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -0
  490. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -0
  491. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -0
  492. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +425 -0
  493. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -0
  494. package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +1 -0
  495. package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +1 -0
  496. package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.d.ts.map +1 -0
  497. package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js.map +1 -0
  498. package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -0
  499. package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -0
  500. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +1 -0
  501. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -0
  502. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -0
  503. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +398 -0
  504. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -0
  505. package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +1 -0
  506. package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -0
  507. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +108 -0
  508. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -0
  509. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js +881 -0
  510. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -0
  511. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -0
  512. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -0
  513. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -0
  514. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -0
  515. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +29 -0
  516. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +1 -0
  517. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +42 -0
  518. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +1 -0
  519. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -0
  520. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js +483 -0
  521. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -0
  522. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +1 -0
  523. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +1 -0
  524. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -0
  525. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.js +512 -0
  526. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -0
  527. package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -0
  528. package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -0
  529. package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +1 -0
  530. package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +1 -0
  531. package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +1 -0
  532. package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -0
  533. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -0
  534. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -0
  535. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -0
  536. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js +665 -0
  537. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -0
  538. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +55 -0
  539. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -0
  540. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +229 -0
  541. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -0
  542. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +1 -0
  543. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +1 -0
  544. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -0
  545. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +247 -0
  546. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -0
  547. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -0
  548. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -0
  549. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -0
  550. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +224 -0
  551. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -0
  552. package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -0
  553. package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -0
  554. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -0
  555. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +143 -0
  556. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -0
  557. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +1 -0
  558. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -0
  559. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +1 -0
  560. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -0
  561. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -0
  562. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +179 -0
  563. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -0
  564. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -0
  565. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +212 -0
  566. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -0
  567. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +1 -0
  568. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +315 -0
  569. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -0
  570. package/lib/stores/editor/shared/DnDUtils.d.ts.map +1 -0
  571. package/lib/stores/editor/shared/DnDUtils.js.map +1 -0
  572. package/lib/stores/editor/shared/FileSystemTreeUtils.d.ts.map +1 -0
  573. package/lib/stores/editor/shared/FileSystemTreeUtils.js.map +1 -0
  574. package/lib/stores/editor/shared/MockDataUtils.d.ts.map +1 -0
  575. package/lib/stores/editor/shared/MockDataUtils.js.map +1 -0
  576. package/lib/stores/editor/shared/ModelClassifierUtils.d.ts.map +1 -0
  577. package/lib/stores/editor/shared/ModelClassifierUtils.js.map +1 -0
  578. package/lib/stores/editor/shared/PackageTreeUtils.d.ts.map +1 -0
  579. package/lib/stores/editor/shared/PackageTreeUtils.js.map +1 -0
  580. package/lib/stores/editor/shared/TestableUtils.d.ts +45 -0
  581. package/lib/stores/editor/shared/TestableUtils.d.ts.map +1 -0
  582. package/lib/stores/editor/shared/TestableUtils.js +143 -0
  583. package/lib/stores/editor/shared/TestableUtils.js.map +1 -0
  584. package/lib/stores/editor/shared/TreeUtils.d.ts.map +1 -0
  585. package/lib/stores/editor/shared/TreeUtils.js.map +1 -0
  586. package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
  587. package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.js.map +1 -0
  588. package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
  589. package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
  590. package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
  591. package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
  592. package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
  593. package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
  594. package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
  595. package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -0
  596. package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.d.ts.map +1 -0
  597. package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.js.map +1 -0
  598. package/lib/stores/editor/shared/modifier/GraphModifierHelper.d.ts.map +1 -0
  599. package/lib/stores/editor/shared/modifier/GraphModifierHelper.js.map +1 -0
  600. package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +1 -0
  601. package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +1 -0
  602. package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
  603. package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
  604. package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
  605. package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -0
  606. package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.d.ts.map +1 -0
  607. package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.js.map +1 -0
  608. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts +51 -0
  609. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -0
  610. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +237 -0
  611. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -0
  612. package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts +87 -0
  613. package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts.map +1 -0
  614. package/lib/stores/editor/sidebar-state/LocalChangesState.js +543 -0
  615. package/lib/stores/editor/sidebar-state/LocalChangesState.js.map +1 -0
  616. package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.d.ts.map +1 -0
  617. package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.js.map +1 -0
  618. package/lib/stores/editor/sidebar-state/ProjectOverviewState.d.ts.map +1 -0
  619. package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +234 -0
  620. package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -0
  621. package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -0
  622. package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +356 -0
  623. package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -0
  624. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.d.ts.map +1 -0
  625. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js +272 -0
  626. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js.map +1 -0
  627. package/lib/stores/editor/sidebar-state/WorkspaceSyncState.d.ts.map +1 -0
  628. package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js +382 -0
  629. package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js.map +1 -0
  630. package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -0
  631. package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js +474 -0
  632. package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -0
  633. package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -0
  634. package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js +215 -0
  635. package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js.map +1 -0
  636. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts +100 -0
  637. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -0
  638. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -0
  639. package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +52 -0
  640. package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  641. package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  642. package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +45 -0
  643. package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  644. package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  645. package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +129 -0
  646. package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  647. package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  648. package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +25 -0
  649. package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  650. package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  651. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +31 -0
  652. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  653. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  654. package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +97 -0
  655. package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  656. package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  657. package/lib/stores/project-view/ProjectViewerEditorMode.d.ts.map +1 -0
  658. package/lib/stores/project-view/ProjectViewerEditorMode.js +41 -0
  659. package/lib/stores/project-view/ProjectViewerEditorMode.js.map +1 -0
  660. package/lib/stores/project-view/ProjectViewerStore.d.ts +56 -0
  661. package/lib/stores/project-view/ProjectViewerStore.d.ts.map +1 -0
  662. package/lib/stores/project-view/ProjectViewerStore.js +351 -0
  663. package/lib/stores/project-view/ProjectViewerStore.js.map +1 -0
  664. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +1 -1
  665. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +1 -1
  666. package/lib/stores/workspace-review/WorkspaceReviewStore.js +4 -5
  667. package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
  668. package/lib/stores/workspace-setup/WorkspaceSetupStore.js +2 -2
  669. package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
  670. package/package.json +13 -13
  671. package/src/application/LegendStudio.tsx +9 -8
  672. package/src/application/LegendStudioApplicationConfig.ts +7 -0
  673. package/src/application/LegendStudioEvent.ts +65 -0
  674. package/src/application/LegendStudioEventHelper.ts +26 -0
  675. package/src/application/LegendStudioNavigation.ts +233 -0
  676. package/src/application/LegendStudioPluginManager.ts +1 -1
  677. package/src/application/LegendStudioSetting.ts +31 -0
  678. package/src/application/LegendStudioTelemetryHelper.ts +71 -0
  679. package/src/components/EditorComponentTestUtils.tsx +11 -17
  680. package/src/components/EmbeddedQueryBuilder.tsx +2 -2
  681. package/src/components/LegendStudioAppInfo.tsx +0 -1
  682. package/src/components/LegendStudioApplication.tsx +32 -22
  683. package/src/components/editor/ActivityBar.tsx +11 -8
  684. package/src/components/editor/Editor.tsx +10 -6
  685. package/src/components/editor/EditorStoreProvider.tsx +2 -9
  686. package/src/components/editor/StatusBar.tsx +11 -10
  687. package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +1 -1
  688. package/src/components/editor/aux-panel/DevTool.tsx +3 -3
  689. package/src/components/editor/aux-panel/Problems.tsx +6 -11
  690. package/src/components/editor/command-center/ProjectSearchCommand.tsx +1 -4
  691. package/src/components/editor/edit-panel/EditPanel.tsx +19 -19
  692. package/src/components/editor/edit-panel/FileGenerationViewer.tsx +2 -2
  693. package/src/components/editor/edit-panel/FunctionEditor.tsx +10 -10
  694. package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +7 -7
  695. package/src/components/editor/edit-panel/GrammarTextEditor.tsx +18 -13
  696. package/src/components/editor/edit-panel/ModelImporter.tsx +3 -3
  697. package/src/components/editor/edit-panel/RuntimeEditor.tsx +10 -10
  698. package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +1 -1
  699. package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +4 -4
  700. package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +2 -2
  701. package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +2 -2
  702. package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +5 -5
  703. package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +2 -2
  704. package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +7 -7
  705. package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +6 -6
  706. package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +1 -1
  707. package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +2 -2
  708. package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +3 -3
  709. package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +2 -2
  710. package/src/components/editor/edit-panel/element-generation-editor/ElementNativeView.tsx +2 -2
  711. package/src/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.tsx +2 -2
  712. package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +6 -6
  713. package/src/components/editor/edit-panel/element-generation-editor/FileSystemViewer.tsx +4 -4
  714. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +3 -3
  715. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx +4 -4
  716. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +3 -3
  717. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +3 -4
  718. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +1 -1
  719. package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +3 -3
  720. package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +6 -6
  721. package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +5 -5
  722. package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +2 -2
  723. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +11 -11
  724. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +1 -1
  725. package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +7 -7
  726. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +8 -11
  727. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +4 -3
  728. package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +8 -8
  729. package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +7 -10
  730. package/src/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.tsx +3 -3
  731. package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +2 -2
  732. package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +5 -5
  733. package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +33 -10
  734. package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +5 -5
  735. package/src/components/editor/edit-panel/mapping-editor/TypeTree.tsx +293 -0
  736. package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
  737. package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +4 -4
  738. package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +5 -5
  739. package/src/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.tsx +1 -1
  740. package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +5 -5
  741. package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +5 -5
  742. package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +2 -5
  743. package/src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx +2 -2
  744. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +4 -4
  745. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +3 -3
  746. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +6 -6
  747. package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +3 -3
  748. package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +7 -7
  749. package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +14 -14
  750. package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +6 -7
  751. package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +6 -6
  752. package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +4 -4
  753. package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +4 -4
  754. package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +2 -2
  755. package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +2 -2
  756. package/src/components/editor/edit-panel/uml-editor/UMLEditor.tsx +1 -1
  757. package/src/components/editor/side-bar/CreateNewElementModal.tsx +12 -8
  758. package/src/components/editor/side-bar/Explorer.tsx +33 -23
  759. package/src/components/editor/side-bar/LocalChanges.tsx +9 -13
  760. package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +17 -21
  761. package/src/components/editor/side-bar/ProjectOverview.tsx +4 -3
  762. package/src/components/editor/side-bar/RegisterService.tsx +2 -2
  763. package/src/components/editor/side-bar/SideBar.tsx +1 -1
  764. package/src/components/editor/side-bar/WorkflowManager.tsx +2 -2
  765. package/src/components/editor/side-bar/WorkspaceReview.tsx +5 -5
  766. package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +4 -4
  767. package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +4 -4
  768. package/src/components/editor/side-bar/WorkspaceUpdater.tsx +5 -5
  769. package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +4 -4
  770. package/src/components/element-preview/ElementPreview.tsx +0 -0
  771. package/src/components/extensions/Core_LegendStudioApplicationPlugin.tsx +112 -0
  772. package/src/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +453 -0
  773. package/src/components/project-view/ProjectViewer.tsx +356 -0
  774. package/src/components/project-view/ProjectViewerStoreProvider.tsx +56 -0
  775. package/src/components/shared/ElementIconUtils.tsx +2 -2
  776. package/src/components/workspace-review/WorkspaceReview.tsx +2 -2
  777. package/src/components/workspace-review/WorkspaceReviewPanel.tsx +2 -2
  778. package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +3 -3
  779. package/src/components/workspace-review/WorkspaceReviewStoreProvider.tsx +1 -1
  780. package/src/components/workspace-setup/CreateProjectModal.tsx +3 -3
  781. package/src/components/workspace-setup/CreateWorkspaceModal.tsx +1 -1
  782. package/src/components/workspace-setup/ProjectSelectorUtils.tsx +125 -0
  783. package/src/components/workspace-setup/WorkspaceSetup.tsx +10 -10
  784. package/src/index.ts +50 -45
  785. package/src/stores/LegendStudioApplicationPlugin.ts +21 -8
  786. package/src/stores/LegendStudioBaseStore.ts +36 -11
  787. package/src/stores/editor/ChangeDetectionState.ts +954 -0
  788. package/src/stores/editor/DependencyProjectViewerHelper.ts +39 -0
  789. package/src/stores/editor/EditorGraphState.ts +841 -0
  790. package/src/stores/editor/EditorSDLCState.ts +480 -0
  791. package/src/stores/editor/EditorStore.ts +977 -0
  792. package/src/stores/editor/EditorStoreTestUtils.ts +70 -0
  793. package/src/stores/editor/EditorTabManagerState.ts +203 -0
  794. package/src/stores/editor/EmbeddedQueryBuilderState.ts +117 -0
  795. package/src/stores/editor/ExplorerTreeState.ts +548 -0
  796. package/src/stores/editor/GraphEditFormModeState.ts +605 -0
  797. package/src/stores/editor/GraphEditGrammarModeState.ts +512 -0
  798. package/src/stores/editor/GraphEditorMode.ts +77 -0
  799. package/src/stores/editor/NewElementState.ts +48 -32
  800. package/src/stores/editor/StandardEditorMode.ts +2 -2
  801. package/src/stores/editor/editor-state/ExternalFormatState.ts +119 -0
  802. package/src/stores/editor/editor-state/FileGenerationState.ts +285 -0
  803. package/src/stores/editor/editor-state/GrammarTextEditorState.ts +201 -0
  804. package/src/stores/editor/editor-state/GraphGenerationState.ts +560 -0
  805. package/src/stores/editor/editor-state/ModelImporterState.ts +539 -0
  806. package/src/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +266 -0
  807. package/src/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.ts +100 -0
  808. package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +935 -0
  809. package/src/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.ts +539 -0
  810. package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +644 -0
  811. package/src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts +351 -0
  812. package/src/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +585 -0
  813. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.ts +1512 -0
  814. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +794 -0
  815. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +58 -0
  816. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.ts +980 -0
  817. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.ts +880 -0
  818. package/src/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.ts +1103 -0
  819. package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +368 -0
  820. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +398 -0
  821. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +314 -0
  822. package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +213 -0
  823. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +244 -0
  824. package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +346 -0
  825. package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +450 -0
  826. package/src/stores/editor/shared/PackageTreeUtils.ts +469 -0
  827. package/src/stores/editor/shared/TestableUtils.ts +219 -0
  828. package/src/stores/editor/sidebar-state/BulkServiceRegistrationState.ts +370 -0
  829. package/src/stores/editor/sidebar-state/LocalChangesState.ts +876 -0
  830. package/src/stores/editor/sidebar-state/ProjectOverviewState.ts +391 -0
  831. package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +645 -0
  832. package/src/stores/editor/sidebar-state/WorkspaceReviewState.ts +409 -0
  833. package/src/stores/editor/sidebar-state/WorkspaceSyncState.ts +578 -0
  834. package/src/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +736 -0
  835. package/src/stores/editor/sidebar-state/WorkspaceUpdaterState.ts +367 -0
  836. package/src/stores/editor/sidebar-state/testable/GlobalTestRunnerState.ts +641 -0
  837. package/src/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +70 -0
  838. package/src/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +52 -0
  839. package/src/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +212 -0
  840. package/src/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +32 -0
  841. package/src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +40 -0
  842. package/src/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +167 -0
  843. package/src/stores/project-view/ProjectViewerEditorMode.ts +79 -0
  844. package/src/stores/project-view/ProjectViewerStore.ts +614 -0
  845. package/src/stores/workspace-review/WorkspaceReviewStore.ts +5 -6
  846. package/src/stores/workspace-setup/WorkspaceSetupStore.ts +2 -2
  847. package/tsconfig.json +123 -122
  848. package/tsconfig.package.json +1 -2
  849. package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +0 -26
  850. package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +0 -1
  851. package/lib/components/Core_LegendStudioApplicationPlugin.js +0 -85
  852. package/lib/components/Core_LegendStudioApplicationPlugin.js.map +0 -1
  853. package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts +0 -21
  854. package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts.map +0 -1
  855. package/lib/components/DSL_ExternalFormat_CodeSnippets.js +0 -74
  856. package/lib/components/DSL_ExternalFormat_CodeSnippets.js.map +0 -1
  857. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +0 -43
  858. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +0 -1
  859. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +0 -301
  860. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +0 -1
  861. package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +0 -1
  862. package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.js.map +0 -1
  863. package/lib/components/LegendStudioTestID.d.ts +0 -47
  864. package/lib/components/LegendStudioTestID.d.ts.map +0 -1
  865. package/lib/components/LegendStudioTestID.js +0 -52
  866. package/lib/components/LegendStudioTestID.js.map +0 -1
  867. package/lib/components/project-viewer/ProjectViewer.d.ts.map +0 -1
  868. package/lib/components/project-viewer/ProjectViewer.js +0 -148
  869. package/lib/components/project-viewer/ProjectViewer.js.map +0 -1
  870. package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts +0 -23
  871. package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts.map +0 -1
  872. package/lib/components/project-viewer/ProjectViewerStoreProvider.js +0 -36
  873. package/lib/components/project-viewer/ProjectViewerStoreProvider.js.map +0 -1
  874. package/lib/components/shared/MultiplicityBadge.d.ts +0 -21
  875. package/lib/components/shared/MultiplicityBadge.d.ts.map +0 -1
  876. package/lib/components/shared/MultiplicityBadge.js +0 -25
  877. package/lib/components/shared/MultiplicityBadge.js.map +0 -1
  878. package/lib/components/shared/ProjectSelectorUtils.d.ts.map +0 -1
  879. package/lib/components/shared/ProjectSelectorUtils.js +0 -46
  880. package/lib/components/shared/ProjectSelectorUtils.js.map +0 -1
  881. package/lib/components/shared/TypeTree.d.ts.map +0 -1
  882. package/lib/components/shared/TypeTree.js +0 -165
  883. package/lib/components/shared/TypeTree.js.map +0 -1
  884. package/lib/components/shared/WorkspaceSelectorUtils.d.ts.map +0 -1
  885. package/lib/components/shared/WorkspaceSelectorUtils.js.map +0 -1
  886. package/lib/stores/AbstractConflictResolutionState.d.ts.map +0 -1
  887. package/lib/stores/AbstractConflictResolutionState.js.map +0 -1
  888. package/lib/stores/ChangeDetectionEvent.d.ts +0 -29
  889. package/lib/stores/ChangeDetectionEvent.d.ts.map +0 -1
  890. package/lib/stores/ChangeDetectionEvent.js +0 -31
  891. package/lib/stores/ChangeDetectionEvent.js.map +0 -1
  892. package/lib/stores/ChangeDetectionState.d.ts.map +0 -1
  893. package/lib/stores/ChangeDetectionState.js +0 -599
  894. package/lib/stores/ChangeDetectionState.js.map +0 -1
  895. package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +0 -52
  896. package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  897. package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  898. package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +0 -45
  899. package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  900. package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  901. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -129
  902. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  903. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  904. package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +0 -25
  905. package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  906. package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  907. package/lib/stores/DependencyProjectViewerHelper.d.ts +0 -19
  908. package/lib/stores/DependencyProjectViewerHelper.d.ts.map +0 -1
  909. package/lib/stores/DependencyProjectViewerHelper.js +0 -23
  910. package/lib/stores/DependencyProjectViewerHelper.js.map +0 -1
  911. package/lib/stores/EditorConfig.d.ts.map +0 -1
  912. package/lib/stores/EditorConfig.js.map +0 -1
  913. package/lib/stores/EditorGraphState.d.ts +0 -152
  914. package/lib/stores/EditorGraphState.d.ts.map +0 -1
  915. package/lib/stores/EditorGraphState.js +0 -1023
  916. package/lib/stores/EditorGraphState.js.map +0 -1
  917. package/lib/stores/EditorSDLCState.d.ts.map +0 -1
  918. package/lib/stores/EditorSDLCState.js +0 -272
  919. package/lib/stores/EditorSDLCState.js.map +0 -1
  920. package/lib/stores/EditorStore.d.ts +0 -140
  921. package/lib/stores/EditorStore.d.ts.map +0 -1
  922. package/lib/stores/EditorStore.js +0 -844
  923. package/lib/stores/EditorStore.js.map +0 -1
  924. package/lib/stores/EditorStoreTestUtils.d.ts +0 -21
  925. package/lib/stores/EditorStoreTestUtils.d.ts.map +0 -1
  926. package/lib/stores/EditorStoreTestUtils.js +0 -54
  927. package/lib/stores/EditorStoreTestUtils.js.map +0 -1
  928. package/lib/stores/EditorTabManagerState.d.ts +0 -46
  929. package/lib/stores/EditorTabManagerState.d.ts.map +0 -1
  930. package/lib/stores/EditorTabManagerState.js +0 -97
  931. package/lib/stores/EditorTabManagerState.js.map +0 -1
  932. package/lib/stores/EmbeddedQueryBuilderState.d.ts +0 -41
  933. package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +0 -1
  934. package/lib/stores/EmbeddedQueryBuilderState.js +0 -79
  935. package/lib/stores/EmbeddedQueryBuilderState.js.map +0 -1
  936. package/lib/stores/ExplorerTreeState.d.ts.map +0 -1
  937. package/lib/stores/ExplorerTreeState.js +0 -328
  938. package/lib/stores/ExplorerTreeState.js.map +0 -1
  939. package/lib/stores/LegendStudioAppEvent.d.ts +0 -37
  940. package/lib/stores/LegendStudioAppEvent.d.ts.map +0 -1
  941. package/lib/stores/LegendStudioAppEvent.js +0 -44
  942. package/lib/stores/LegendStudioAppEvent.js.map +0 -1
  943. package/lib/stores/LegendStudioApplicationNavigationContext.d.ts.map +0 -1
  944. package/lib/stores/LegendStudioApplicationNavigationContext.js.map +0 -1
  945. package/lib/stores/LegendStudioCodeSnippets.d.ts +0 -45
  946. package/lib/stores/LegendStudioCodeSnippets.d.ts.map +0 -1
  947. package/lib/stores/LegendStudioCodeSnippets.js +0 -322
  948. package/lib/stores/LegendStudioCodeSnippets.js.map +0 -1
  949. package/lib/stores/LegendStudioCommand.d.ts.map +0 -1
  950. package/lib/stores/LegendStudioCommand.js.map +0 -1
  951. package/lib/stores/LegendStudioDocumentation.d.ts.map +0 -1
  952. package/lib/stores/LegendStudioDocumentation.js.map +0 -1
  953. package/lib/stores/LegendStudioEventService.d.ts +0 -23
  954. package/lib/stores/LegendStudioEventService.d.ts.map +0 -1
  955. package/lib/stores/LegendStudioEventService.js +0 -29
  956. package/lib/stores/LegendStudioEventService.js.map +0 -1
  957. package/lib/stores/LegendStudioRouter.d.ts +0 -78
  958. package/lib/stores/LegendStudioRouter.d.ts.map +0 -1
  959. package/lib/stores/LegendStudioRouter.js +0 -154
  960. package/lib/stores/LegendStudioRouter.js.map +0 -1
  961. package/lib/stores/LegendStudioStorage.d.ts +0 -20
  962. package/lib/stores/LegendStudioStorage.d.ts.map +0 -1
  963. package/lib/stores/LegendStudioStorage.js +0 -21
  964. package/lib/stores/LegendStudioStorage.js.map +0 -1
  965. package/lib/stores/LegendStudioTelemetry.d.ts +0 -33
  966. package/lib/stores/LegendStudioTelemetry.d.ts.map +0 -1
  967. package/lib/stores/LegendStudioTelemetry.js +0 -37
  968. package/lib/stores/LegendStudioTelemetry.js.map +0 -1
  969. package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +0 -31
  970. package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  971. package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  972. package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +0 -97
  973. package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  974. package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  975. package/lib/stores/aux-panel-state/DevToolState.d.ts.map +0 -1
  976. package/lib/stores/aux-panel-state/DevToolState.js.map +0 -1
  977. package/lib/stores/editor-state/EditorState.d.ts.map +0 -1
  978. package/lib/stores/editor-state/EditorState.js.map +0 -1
  979. package/lib/stores/editor-state/ExternalFormatState.d.ts.map +0 -1
  980. package/lib/stores/editor-state/ExternalFormatState.js +0 -83
  981. package/lib/stores/editor-state/ExternalFormatState.js.map +0 -1
  982. package/lib/stores/editor-state/FileGenerationState.d.ts.map +0 -1
  983. package/lib/stores/editor-state/FileGenerationState.js +0 -174
  984. package/lib/stores/editor-state/FileGenerationState.js.map +0 -1
  985. package/lib/stores/editor-state/FileGenerationViewerState.d.ts.map +0 -1
  986. package/lib/stores/editor-state/FileGenerationViewerState.js.map +0 -1
  987. package/lib/stores/editor-state/FileSystemState.d.ts.map +0 -1
  988. package/lib/stores/editor-state/FileSystemState.js.map +0 -1
  989. package/lib/stores/editor-state/GenerationSpecificationEditorState.d.ts.map +0 -1
  990. package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +0 -1
  991. package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +0 -1
  992. package/lib/stores/editor-state/GrammarTextEditorState.js +0 -158
  993. package/lib/stores/editor-state/GrammarTextEditorState.js.map +0 -1
  994. package/lib/stores/editor-state/GraphGenerationState.d.ts.map +0 -1
  995. package/lib/stores/editor-state/GraphGenerationState.js +0 -344
  996. package/lib/stores/editor-state/GraphGenerationState.js.map +0 -1
  997. package/lib/stores/editor-state/ModelImporterState.d.ts +0 -101
  998. package/lib/stores/editor-state/ModelImporterState.d.ts.map +0 -1
  999. package/lib/stores/editor-state/ModelImporterState.js +0 -367
  1000. package/lib/stores/editor-state/ModelImporterState.js.map +0 -1
  1001. package/lib/stores/editor-state/UnsupportedElementEditorState.d.ts.map +0 -1
  1002. package/lib/stores/editor-state/UnsupportedElementEditorState.js.map +0 -1
  1003. package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts.map +0 -1
  1004. package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +0 -1
  1005. package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +0 -1
  1006. package/lib/stores/editor-state/element-editor-state/ClassState.js.map +0 -1
  1007. package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +0 -1
  1008. package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +0 -1
  1009. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +0 -1
  1010. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +0 -172
  1011. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +0 -1
  1012. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +0 -1
  1013. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +0 -70
  1014. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +0 -1
  1015. package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +0 -1
  1016. package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.js.map +0 -1
  1017. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +0 -1
  1018. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +0 -1
  1019. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +0 -1
  1020. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +0 -1
  1021. package/lib/stores/editor-state/element-editor-state/UMLEditorState.d.ts.map +0 -1
  1022. package/lib/stores/editor-state/element-editor-state/UMLEditorState.js.map +0 -1
  1023. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +0 -1
  1024. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +0 -1
  1025. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +0 -1
  1026. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +0 -422
  1027. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +0 -1
  1028. package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +0 -1
  1029. package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +0 -1
  1030. package/lib/stores/editor-state/element-editor-state/data/DataEditorState.d.ts.map +0 -1
  1031. package/lib/stores/editor-state/element-editor-state/data/DataEditorState.js.map +0 -1
  1032. package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +0 -1
  1033. package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +0 -1
  1034. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +0 -1
  1035. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +0 -1
  1036. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +0 -1
  1037. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +0 -398
  1038. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +0 -1
  1039. package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +0 -1
  1040. package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +0 -1
  1041. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +0 -108
  1042. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +0 -1
  1043. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +0 -881
  1044. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +0 -1
  1045. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +0 -1
  1046. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +0 -1
  1047. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +0 -1
  1048. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +0 -1
  1049. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +0 -29
  1050. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +0 -1
  1051. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +0 -42
  1052. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +0 -1
  1053. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +0 -1
  1054. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +0 -490
  1055. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +0 -1
  1056. package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +0 -1
  1057. package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +0 -1
  1058. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +0 -1
  1059. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +0 -517
  1060. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +0 -1
  1061. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +0 -1
  1062. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +0 -1
  1063. package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +0 -1
  1064. package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +0 -1
  1065. package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +0 -1
  1066. package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +0 -1
  1067. package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +0 -1
  1068. package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +0 -1
  1069. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +0 -1
  1070. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +0 -672
  1071. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +0 -1
  1072. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +0 -55
  1073. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +0 -1
  1074. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +0 -229
  1075. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +0 -1
  1076. package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +0 -1
  1077. package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +0 -1
  1078. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +0 -1
  1079. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +0 -247
  1080. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +0 -1
  1081. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +0 -1
  1082. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +0 -1
  1083. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +0 -1
  1084. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +0 -224
  1085. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +0 -1
  1086. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +0 -1
  1087. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +0 -1
  1088. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +0 -1
  1089. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +0 -143
  1090. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +0 -1
  1091. package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +0 -1
  1092. package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +0 -1
  1093. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +0 -1
  1094. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +0 -1
  1095. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +0 -1
  1096. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +0 -179
  1097. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +0 -1
  1098. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +0 -1
  1099. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +0 -212
  1100. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +0 -1
  1101. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +0 -1
  1102. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +0 -315
  1103. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +0 -1
  1104. package/lib/stores/project-viewer/ProjectViewerEditorMode.d.ts.map +0 -1
  1105. package/lib/stores/project-viewer/ProjectViewerEditorMode.js +0 -41
  1106. package/lib/stores/project-viewer/ProjectViewerEditorMode.js.map +0 -1
  1107. package/lib/stores/project-viewer/ProjectViewerStore.d.ts +0 -56
  1108. package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +0 -1
  1109. package/lib/stores/project-viewer/ProjectViewerStore.js +0 -357
  1110. package/lib/stores/project-viewer/ProjectViewerStore.js.map +0 -1
  1111. package/lib/stores/shared/DnDUtils.d.ts.map +0 -1
  1112. package/lib/stores/shared/DnDUtils.js.map +0 -1
  1113. package/lib/stores/shared/FileSystemTreeUtils.d.ts.map +0 -1
  1114. package/lib/stores/shared/FileSystemTreeUtils.js.map +0 -1
  1115. package/lib/stores/shared/MockDataUtils.d.ts.map +0 -1
  1116. package/lib/stores/shared/MockDataUtils.js.map +0 -1
  1117. package/lib/stores/shared/ModelClassifierUtils.d.ts.map +0 -1
  1118. package/lib/stores/shared/ModelClassifierUtils.js.map +0 -1
  1119. package/lib/stores/shared/PackageTreeUtils.d.ts.map +0 -1
  1120. package/lib/stores/shared/PackageTreeUtils.js.map +0 -1
  1121. package/lib/stores/shared/TreeUtils.d.ts.map +0 -1
  1122. package/lib/stores/shared/TreeUtils.js.map +0 -1
  1123. package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +0 -1
  1124. package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.js.map +0 -1
  1125. package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +0 -1
  1126. package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +0 -1
  1127. package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +0 -1
  1128. package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +0 -1
  1129. package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +0 -1
  1130. package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +0 -1
  1131. package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +0 -1
  1132. package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +0 -1
  1133. package/lib/stores/shared/modifier/DomainGraphModifierHelper.d.ts.map +0 -1
  1134. package/lib/stores/shared/modifier/DomainGraphModifierHelper.js.map +0 -1
  1135. package/lib/stores/shared/modifier/GraphModifierHelper.d.ts.map +0 -1
  1136. package/lib/stores/shared/modifier/GraphModifierHelper.js.map +0 -1
  1137. package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +0 -1
  1138. package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +0 -1
  1139. package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +0 -1
  1140. package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +0 -1
  1141. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +0 -1
  1142. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +0 -1
  1143. package/lib/stores/shared/modifier/Testable_GraphModifierHelper.d.ts.map +0 -1
  1144. package/lib/stores/shared/modifier/Testable_GraphModifierHelper.js.map +0 -1
  1145. package/lib/stores/shared/testable/TestableUtils.d.ts +0 -45
  1146. package/lib/stores/shared/testable/TestableUtils.d.ts.map +0 -1
  1147. package/lib/stores/shared/testable/TestableUtils.js +0 -143
  1148. package/lib/stores/shared/testable/TestableUtils.js.map +0 -1
  1149. package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts +0 -51
  1150. package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts.map +0 -1
  1151. package/lib/stores/sidebar-state/BulkServiceRegistrationState.js +0 -237
  1152. package/lib/stores/sidebar-state/BulkServiceRegistrationState.js.map +0 -1
  1153. package/lib/stores/sidebar-state/LocalChangesState.d.ts +0 -84
  1154. package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +0 -1
  1155. package/lib/stores/sidebar-state/LocalChangesState.js +0 -511
  1156. package/lib/stores/sidebar-state/LocalChangesState.js.map +0 -1
  1157. package/lib/stores/sidebar-state/ProjectDependantEditorState.d.ts.map +0 -1
  1158. package/lib/stores/sidebar-state/ProjectDependantEditorState.js.map +0 -1
  1159. package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +0 -1
  1160. package/lib/stores/sidebar-state/ProjectOverviewState.js +0 -234
  1161. package/lib/stores/sidebar-state/ProjectOverviewState.js.map +0 -1
  1162. package/lib/stores/sidebar-state/WorkflowManagerState.d.ts.map +0 -1
  1163. package/lib/stores/sidebar-state/WorkflowManagerState.js +0 -356
  1164. package/lib/stores/sidebar-state/WorkflowManagerState.js.map +0 -1
  1165. package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +0 -1
  1166. package/lib/stores/sidebar-state/WorkspaceReviewState.js +0 -273
  1167. package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +0 -1
  1168. package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +0 -1
  1169. package/lib/stores/sidebar-state/WorkspaceSyncState.js +0 -382
  1170. package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +0 -1
  1171. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +0 -1
  1172. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +0 -475
  1173. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +0 -1
  1174. package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +0 -1
  1175. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +0 -216
  1176. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +0 -1
  1177. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +0 -100
  1178. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +0 -1
  1179. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +0 -1
  1180. package/src/components/Core_LegendStudioApplicationPlugin.tsx +0 -103
  1181. package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +0 -453
  1182. package/src/components/project-viewer/ProjectViewer.tsx +0 -350
  1183. package/src/components/project-viewer/ProjectViewerStoreProvider.tsx +0 -56
  1184. package/src/components/shared/MultiplicityBadge.tsx +0 -39
  1185. package/src/components/shared/ProjectSelectorUtils.tsx +0 -125
  1186. package/src/components/shared/TypeTree.tsx +0 -290
  1187. package/src/stores/ChangeDetectionEvent.ts +0 -34
  1188. package/src/stores/ChangeDetectionState.ts +0 -954
  1189. package/src/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +0 -70
  1190. package/src/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +0 -52
  1191. package/src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +0 -212
  1192. package/src/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +0 -32
  1193. package/src/stores/DependencyProjectViewerHelper.ts +0 -39
  1194. package/src/stores/EditorGraphState.ts +0 -1590
  1195. package/src/stores/EditorSDLCState.ts +0 -481
  1196. package/src/stores/EditorStore.ts +0 -1203
  1197. package/src/stores/EditorStoreTestUtils.ts +0 -72
  1198. package/src/stores/EditorTabManagerState.ts +0 -138
  1199. package/src/stores/EmbeddedQueryBuilderState.ts +0 -117
  1200. package/src/stores/ExplorerTreeState.ts +0 -550
  1201. package/src/stores/LegendStudioAppEvent.ts +0 -48
  1202. package/src/stores/LegendStudioEventService.ts +0 -36
  1203. package/src/stores/LegendStudioRouter.ts +0 -273
  1204. package/src/stores/LegendStudioStorage.ts +0 -20
  1205. package/src/stores/LegendStudioTelemetry.ts +0 -83
  1206. package/src/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +0 -40
  1207. package/src/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +0 -167
  1208. package/src/stores/editor-state/ExternalFormatState.ts +0 -119
  1209. package/src/stores/editor-state/FileGenerationState.ts +0 -285
  1210. package/src/stores/editor-state/GrammarTextEditorState.ts +0 -202
  1211. package/src/stores/editor-state/GraphGenerationState.ts +0 -556
  1212. package/src/stores/editor-state/ModelImporterState.ts +0 -539
  1213. package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +0 -266
  1214. package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +0 -96
  1215. package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +0 -935
  1216. package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +0 -539
  1217. package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +0 -637
  1218. package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +0 -351
  1219. package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +0 -585
  1220. package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +0 -1514
  1221. package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +0 -794
  1222. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +0 -58
  1223. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +0 -989
  1224. package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +0 -889
  1225. package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +0 -1116
  1226. package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +0 -368
  1227. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +0 -398
  1228. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +0 -314
  1229. package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +0 -213
  1230. package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +0 -244
  1231. package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +0 -346
  1232. package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +0 -450
  1233. package/src/stores/project-viewer/ProjectViewerEditorMode.ts +0 -79
  1234. package/src/stores/project-viewer/ProjectViewerStore.ts +0 -625
  1235. package/src/stores/shared/PackageTreeUtils.ts +0 -469
  1236. package/src/stores/shared/testable/TestableUtils.ts +0 -219
  1237. package/src/stores/sidebar-state/BulkServiceRegistrationState.ts +0 -370
  1238. package/src/stores/sidebar-state/LocalChangesState.ts +0 -836
  1239. package/src/stores/sidebar-state/ProjectOverviewState.ts +0 -391
  1240. package/src/stores/sidebar-state/WorkflowManagerState.ts +0 -645
  1241. package/src/stores/sidebar-state/WorkspaceReviewState.ts +0 -410
  1242. package/src/stores/sidebar-state/WorkspaceSyncState.ts +0 -577
  1243. package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +0 -737
  1244. package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +0 -368
  1245. package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +0 -641
  1246. /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.d.ts +0 -0
  1247. /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.js +0 -0
  1248. /package/lib/{stores → application}/LegendStudioApplicationNavigationContext.d.ts +0 -0
  1249. /package/lib/{stores → application}/LegendStudioApplicationNavigationContext.js +0 -0
  1250. /package/lib/{stores → application}/LegendStudioCommand.d.ts +0 -0
  1251. /package/lib/{stores → application}/LegendStudioCommand.js +0 -0
  1252. /package/lib/{stores → application}/LegendStudioDocumentation.d.ts +0 -0
  1253. /package/lib/{stores → application}/LegendStudioDocumentation.js +0 -0
  1254. /package/lib/components/{shared → editor/edit-panel/mapping-editor}/TypeTree.d.ts +0 -0
  1255. /package/lib/components/{project-viewer → project-view}/ProjectViewer.d.ts +0 -0
  1256. /package/lib/components/{shared → workspace-setup}/ProjectSelectorUtils.d.ts +0 -0
  1257. /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.d.ts +0 -0
  1258. /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.js +0 -0
  1259. /package/lib/stores/{AbstractConflictResolutionState.d.ts → editor/AbstractConflictResolutionState.d.ts} +0 -0
  1260. /package/lib/stores/{AbstractConflictResolutionState.js → editor/AbstractConflictResolutionState.js} +0 -0
  1261. /package/lib/stores/{ChangeDetectionState.d.ts → editor/ChangeDetectionState.d.ts} +0 -0
  1262. /package/lib/stores/{EditorConfig.d.ts → editor/EditorConfig.d.ts} +0 -0
  1263. /package/lib/stores/{EditorConfig.js → editor/EditorConfig.js} +0 -0
  1264. /package/lib/stores/{EditorSDLCState.d.ts → editor/EditorSDLCState.d.ts} +0 -0
  1265. /package/lib/stores/{ExplorerTreeState.d.ts → editor/ExplorerTreeState.d.ts} +0 -0
  1266. /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.d.ts +0 -0
  1267. /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.js +0 -0
  1268. /package/lib/stores/{editor-state → editor/editor-state}/EditorState.d.ts +0 -0
  1269. /package/lib/stores/{editor-state → editor/editor-state}/EditorState.js +0 -0
  1270. /package/lib/stores/{editor-state → editor/editor-state}/ExternalFormatState.d.ts +0 -0
  1271. /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationState.d.ts +0 -0
  1272. /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.d.ts +0 -0
  1273. /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.js +0 -0
  1274. /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.d.ts +0 -0
  1275. /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.js +0 -0
  1276. /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.d.ts +0 -0
  1277. /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.js +0 -0
  1278. /package/lib/stores/{editor-state → editor/editor-state}/GrammarTextEditorState.d.ts +0 -0
  1279. /package/lib/stores/{editor-state → editor/editor-state}/GraphGenerationState.d.ts +0 -0
  1280. /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.d.ts +0 -0
  1281. /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.js +0 -0
  1282. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.d.ts +0 -0
  1283. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.js +0 -0
  1284. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.d.ts +0 -0
  1285. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.js +0 -0
  1286. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.d.ts +0 -0
  1287. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.js +0 -0
  1288. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementExternalFormatGenerationState.d.ts +0 -0
  1289. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementFileGenerationState.d.ts +0 -0
  1290. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.d.ts +0 -0
  1291. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.js +0 -0
  1292. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.d.ts +0 -0
  1293. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.js +0 -0
  1294. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.d.ts +0 -0
  1295. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.js +0 -0
  1296. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.d.ts +0 -0
  1297. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.js +0 -0
  1298. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.d.ts +0 -0
  1299. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.js +0 -0
  1300. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/DatabaseBuilderState.d.ts +0 -0
  1301. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.d.ts +0 -0
  1302. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.js +0 -0
  1303. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.d.ts +0 -0
  1304. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.js +0 -0
  1305. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.d.ts +0 -0
  1306. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.js +0 -0
  1307. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts +0 -0
  1308. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js +0 -0
  1309. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts +0 -0
  1310. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts +0 -0
  1311. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +0 -0
  1312. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.d.ts +0 -0
  1313. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.js +0 -0
  1314. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.d.ts +0 -0
  1315. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.js +0 -0
  1316. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingExecutionState.d.ts +0 -0
  1317. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.d.ts +0 -0
  1318. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.js +0 -0
  1319. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.d.ts +0 -0
  1320. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +0 -0
  1321. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.js +0 -0
  1322. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts +0 -0
  1323. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js +0 -0
  1324. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts +0 -0
  1325. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +0 -0
  1326. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.d.ts +0 -0
  1327. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.js +0 -0
  1328. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.d.ts +0 -0
  1329. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.d.ts +0 -0
  1330. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.js +0 -0
  1331. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestDataState.d.ts +0 -0
  1332. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.d.ts +0 -0
  1333. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.js +0 -0
  1334. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestableState.d.ts +0 -0
  1335. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.d.ts +0 -0
  1336. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.js +0 -0
  1337. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestableEditorState.d.ts +0 -0
  1338. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts +0 -0
  1339. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.js +0 -0
  1340. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.d.ts +0 -0
  1341. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.js +0 -0
  1342. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffViewState.d.ts +0 -0
  1343. /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +0 -0
  1344. /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectDependencyEditorState.d.ts +0 -0
  1345. /package/lib/stores/{shared → editor/shared}/DnDUtils.d.ts +0 -0
  1346. /package/lib/stores/{shared → editor/shared}/DnDUtils.js +0 -0
  1347. /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.d.ts +0 -0
  1348. /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.js +0 -0
  1349. /package/lib/stores/{shared → editor/shared}/MockDataUtils.d.ts +0 -0
  1350. /package/lib/stores/{shared → editor/shared}/MockDataUtils.js +0 -0
  1351. /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.d.ts +0 -0
  1352. /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.js +0 -0
  1353. /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.d.ts +0 -0
  1354. /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.js +0 -0
  1355. /package/lib/stores/{shared → editor/shared}/TreeUtils.d.ts +0 -0
  1356. /package/lib/stores/{shared → editor/shared}/TreeUtils.js +0 -0
  1357. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.d.ts +0 -0
  1358. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.js +0 -0
  1359. /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts +0 -0
  1360. /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.js +0 -0
  1361. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.d.ts +0 -0
  1362. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.js +0 -0
  1363. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.d.ts +0 -0
  1364. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.js +0 -0
  1365. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.d.ts +0 -0
  1366. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.js +0 -0
  1367. /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.d.ts +0 -0
  1368. /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.js +0 -0
  1369. /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.d.ts +0 -0
  1370. /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.js +0 -0
  1371. /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.d.ts +0 -0
  1372. /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.js +0 -0
  1373. /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.d.ts +0 -0
  1374. /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.js +0 -0
  1375. /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.d.ts +0 -0
  1376. /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.js +0 -0
  1377. /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.d.ts +0 -0
  1378. /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.js +0 -0
  1379. /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.d.ts +0 -0
  1380. /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.js +0 -0
  1381. /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectOverviewState.d.ts +0 -0
  1382. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkflowManagerState.d.ts +0 -0
  1383. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceReviewState.d.ts +0 -0
  1384. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceSyncState.d.ts +0 -0
  1385. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdateConflictResolutionState.d.ts +0 -0
  1386. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdaterState.d.ts +0 -0
  1387. /package/lib/stores/{sidebar-state → editor/sidebar-state}/testable/GlobalTestRunnerState.js +0 -0
  1388. /package/lib/stores/{DSL_Data_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1389. /package/lib/stores/{DSL_Generation_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1390. /package/lib/stores/{DSL_Mapping_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1391. /package/lib/stores/{DSL_Service_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1392. /package/lib/stores/{STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js → extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1393. /package/lib/stores/{STO_Relational_LegendStudioApplicationPlugin_Extension.js → extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1394. /package/lib/stores/{project-viewer → project-view}/ProjectViewerEditorMode.d.ts +0 -0
  1395. /package/src/{components/DSL_ExternalFormat_CodeSnippets.ts → application/DSL_ExternalFormat_LegendStudioCodeSnippet.ts} +0 -0
  1396. /package/src/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.ts +0 -0
  1397. /package/src/{stores → application}/LegendStudioApplicationNavigationContext.ts +0 -0
  1398. /package/src/{stores/LegendStudioCodeSnippets.ts → application/LegendStudioCodeSnippet.ts} +0 -0
  1399. /package/src/{stores → application}/LegendStudioCommand.ts +0 -0
  1400. /package/src/{stores → application}/LegendStudioDocumentation.ts +0 -0
  1401. /package/src/{components/LegendStudioTestID.ts → application/LegendStudioTesting.ts} +0 -0
  1402. /package/src/components/{shared → workspace-setup}/WorkspaceSelectorUtils.tsx +0 -0
  1403. /package/src/stores/{AbstractConflictResolutionState.ts → editor/AbstractConflictResolutionState.ts} +0 -0
  1404. /package/src/stores/{EditorConfig.ts → editor/EditorConfig.ts} +0 -0
  1405. /package/src/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.ts +0 -0
  1406. /package/src/stores/{editor-state → editor/editor-state}/EditorState.ts +0 -0
  1407. /package/src/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.ts +0 -0
  1408. /package/src/stores/{editor-state → editor/editor-state}/FileSystemState.ts +0 -0
  1409. /package/src/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.ts +0 -0
  1410. /package/src/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.ts +0 -0
  1411. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.ts +0 -0
  1412. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.ts +0 -0
  1413. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.ts +0 -0
  1414. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.ts +0 -0
  1415. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.ts +0 -0
  1416. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.ts +0 -0
  1417. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.ts +0 -0
  1418. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.ts +0 -0
  1419. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.ts +0 -0
  1420. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +0 -0
  1421. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.ts +0 -0
  1422. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.ts +0 -0
  1423. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.ts +0 -0
  1424. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.ts +0 -0
  1425. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +0 -0
  1426. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.ts +0 -0
  1427. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.ts +0 -0
  1428. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.ts +0 -0
  1429. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.ts +0 -0
  1430. /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.ts +0 -0
  1431. /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.ts +0 -0
  1432. /package/src/stores/{shared → editor/shared}/DnDUtils.ts +0 -0
  1433. /package/src/stores/{shared → editor/shared}/FileSystemTreeUtils.ts +0 -0
  1434. /package/src/stores/{shared → editor/shared}/MockDataUtils.ts +0 -0
  1435. /package/src/stores/{shared → editor/shared}/ModelClassifierUtils.ts +0 -0
  1436. /package/src/stores/{shared → editor/shared}/TreeUtils.ts +0 -0
  1437. /package/src/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.ts +0 -0
  1438. /package/src/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.ts +0 -0
  1439. /package/src/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.ts +0 -0
  1440. /package/src/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.ts +0 -0
  1441. /package/src/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.ts +0 -0
  1442. /package/src/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.ts +0 -0
  1443. /package/src/stores/{shared → editor/shared}/modifier/GraphModifierHelper.ts +0 -0
  1444. /package/src/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.ts +0 -0
  1445. /package/src/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.ts +0 -0
  1446. /package/src/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.ts +0 -0
  1447. /package/src/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.ts +0 -0
  1448. /package/src/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.ts +0 -0
@@ -1,1590 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- import {
18
- action,
19
- computed,
20
- flow,
21
- flowResult,
22
- makeObservable,
23
- observable,
24
- } from 'mobx';
25
- import { CHANGE_DETECTION_EVENT } from './ChangeDetectionEvent.js';
26
- import { GRAPH_EDITOR_MODE, AUX_PANEL_MODE } from './EditorConfig.js';
27
- import {
28
- type GeneratorFn,
29
- type PlainObject,
30
- LogEvent,
31
- assertType,
32
- UnsupportedOperationError,
33
- assertErrorThrown,
34
- assertTrue,
35
- isNonNullable,
36
- NetworkClientError,
37
- guaranteeNonNullable,
38
- StopWatch,
39
- filterByType,
40
- ActionState,
41
- } from '@finos/legend-shared';
42
- import type { EditorStore } from './EditorStore.js';
43
- import { ElementEditorState } from './editor-state/element-editor-state/ElementEditorState.js';
44
- import { GraphGenerationState } from './editor-state/GraphGenerationState.js';
45
- import { MODEL_IMPORT_NATIVE_INPUT_TYPE } from './editor-state/ModelImporterState.js';
46
- import type { DSL_LegendStudioApplicationPlugin_Extension } from './LegendStudioApplicationPlugin.js';
47
- import {
48
- type Entity,
49
- EntitiesWithOrigin,
50
- generateGAVCoordinates,
51
- } from '@finos/legend-storage';
52
- import {
53
- type EntityChange,
54
- type ProjectDependency,
55
- EntityChangeType,
56
- ProjectConfiguration,
57
- applyEntityChanges,
58
- } from '@finos/legend-server-sdlc';
59
- import {
60
- type ProjectDependencyGraphReport,
61
- ProjectVersionEntities,
62
- ProjectData,
63
- ProjectDependencyCoordinates,
64
- RawProjectDependencyReport,
65
- buildDependencyReport,
66
- } from '@finos/legend-server-depot';
67
- import {
68
- GRAPH_MANAGER_EVENT,
69
- CompilationError,
70
- EngineError,
71
- extractSourceInformationCoordinates,
72
- Package,
73
- Profile,
74
- PrimitiveType,
75
- Enumeration,
76
- Class,
77
- Association,
78
- Mapping,
79
- ConcreteFunctionDefinition,
80
- Service,
81
- FlatData,
82
- PackageableConnection,
83
- PackageableRuntime,
84
- FileGenerationSpecification,
85
- GenerationSpecification,
86
- Measure,
87
- Unit,
88
- Database,
89
- SectionIndex,
90
- DependencyGraphBuilderError,
91
- GraphDataDeserializationError,
92
- GraphBuilderError,
93
- DataElement,
94
- type PackageableElement,
95
- type CompilationWarning,
96
- type TextCompilationResult,
97
- type CompilationResult,
98
- type PureModel,
99
- createGraphBuilderReport,
100
- reportGraphAnalytics,
101
- } from '@finos/legend-graph';
102
- import {
103
- ActionAlertActionType,
104
- ActionAlertType,
105
- ApplicationTelemetry,
106
- type TabState,
107
- } from '@finos/legend-application';
108
- import { CONFIGURATION_EDITOR_TAB } from './editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js';
109
- import { graph_dispose } from './shared/modifier/GraphModifierHelper.js';
110
- import { PACKAGEABLE_ELEMENT_TYPE } from './shared/ModelClassifierUtils.js';
111
- import { GlobalTestRunnerState } from './sidebar-state/testable/GlobalTestRunnerState.js';
112
- import { LEGEND_STUDIO_APP_EVENT } from './LegendStudioAppEvent.js';
113
- import { ExplorerTreeState } from './ExplorerTreeState.js';
114
- import { LegendStudioTelemetry } from './LegendStudioTelemetry.js';
115
- import { LEGEND_STUDIO_SETTINGS_KEY } from './LegendStudioStorage.js';
116
-
117
- export enum GraphBuilderStatus {
118
- SUCCEEDED = 'SUCCEEDED',
119
- FAILED = 'FAILED',
120
- REDIRECTED_TO_TEXT_MODE = 'REDIRECTED_TO_TEXT_MODE',
121
- }
122
-
123
- export enum FormModeCompilationOutcome {
124
- SKIPPED = 'SKIPPED',
125
- SUCCEEDED = 'SUCCEEDED',
126
- FAILED = 'FAILED',
127
- FAILED_WITH_ERROR_REVEALED = 'FAILED_WITH_ERROR_REVEALED',
128
- FAILED_AND_FALLBACK_TO_TEXT_MODE = 'FAILED_AND_FALLBACK_TO_TEXTMODE',
129
- }
130
-
131
- export interface GraphBuilderResult {
132
- status: GraphBuilderStatus;
133
- error?: Error;
134
- }
135
-
136
- export type Problem = CompilationWarning | EngineError;
137
-
138
- export class EditorGraphState {
139
- readonly editorStore: EditorStore;
140
- readonly graphGenerationState: GraphGenerationState;
141
-
142
- isInitializingGraph = false;
143
- isRunningGlobalCompile = false;
144
- isRunningGlobalGenerate = false;
145
- isApplicationLeavingTextMode = false;
146
- isUpdatingGraph = false; // critical synchronous update to refresh the graph
147
- isUpdatingApplication = false; // including graph update and async operations such as change detection
148
-
149
- warnings: CompilationWarning[] = [];
150
- error: EngineError | undefined;
151
- private mostRecentTextModeCompilationGraphHash: string | undefined;
152
- private mostRecentFormModeCompilationGraphHash: string | undefined;
153
-
154
- enableStrictMode: boolean;
155
-
156
- constructor(editorStore: EditorStore) {
157
- makeObservable<
158
- EditorGraphState,
159
- | 'updateGraphAndApplicationInFormMode'
160
- | 'updateGraphAndApplicationInTextMode'
161
- | 'mostRecentFormModeCompilationGraphHash'
162
- | 'mostRecentTextModeCompilationGraphHash'
163
- | 'rebuildDependencies'
164
- >(this, {
165
- isInitializingGraph: observable,
166
- isRunningGlobalCompile: observable,
167
- isRunningGlobalGenerate: observable,
168
- isApplicationLeavingTextMode: observable,
169
- isUpdatingGraph: observable,
170
- isUpdatingApplication: observable,
171
- warnings: observable,
172
- error: observable,
173
- mostRecentFormModeCompilationGraphHash: observable,
174
- mostRecentTextModeCompilationGraphHash: observable,
175
- enableStrictMode: observable,
176
- problems: computed,
177
- areProblemsStale: computed,
178
- isApplicationUpdateOperationIsRunning: computed,
179
- clearProblems: action,
180
- setEnableStrictMode: action,
181
- buildGraph: flow,
182
- loadEntityChangesToGraph: flow,
183
- globalCompileInFormMode: flow,
184
- globalCompileInTextMode: flow,
185
- leaveTextMode: flow,
186
- updateGraphAndApplicationInFormMode: flow,
187
- updateGraphAndApplicationInTextMode: flow,
188
- updateGenerationGraphAndApplication: flow,
189
- rebuildDependencies: flow,
190
- });
191
-
192
- this.editorStore = editorStore;
193
- this.graphGenerationState = new GraphGenerationState(this.editorStore);
194
- this.enableStrictMode =
195
- this.editorStore.applicationStore.storageService.settingsStore.getBooleanValue(
196
- LEGEND_STUDIO_SETTINGS_KEY.EDITOR_STRICT_MODE,
197
- false,
198
- );
199
- }
200
-
201
- get problems(): Problem[] {
202
- return [this.error, ...this.warnings].filter(isNonNullable);
203
- }
204
-
205
- /**
206
- * This function is temporary. There is no good way to detect if a problem not coming from
207
- * the main graph at the moment. In text mode, we can rely on the fact that the source information
208
- * has line 0 column 0. But this is not the case for form mode, so this is just temporary
209
- * to help with text-mode.
210
- */
211
- TEMPORARY__removeDependencyProblems(
212
- problems: Problem[] | CompilationWarning[],
213
- ): Problem[] | CompilationWarning[] {
214
- return problems.filter((problem) => {
215
- if (problem.sourceInformation) {
216
- return !(
217
- problem.sourceInformation.startLine === 0 &&
218
- problem.sourceInformation.startColumn === 0 &&
219
- problem.sourceInformation.endLine === 0 &&
220
- problem.sourceInformation.endColumn === 0
221
- );
222
- }
223
- return true;
224
- });
225
- }
226
-
227
- get areProblemsStale(): boolean {
228
- return (
229
- (this.editorStore.isInFormMode &&
230
- this.mostRecentFormModeCompilationGraphHash !==
231
- this.editorStore.changeDetectionState.currentGraphHash) ||
232
- (this.editorStore.isInGrammarTextMode &&
233
- this.mostRecentTextModeCompilationGraphHash !==
234
- this.editorStore.grammarTextEditorState.currentTextGraphHash)
235
- );
236
- }
237
-
238
- get isApplicationUpdateOperationIsRunning(): boolean {
239
- return (
240
- this.isRunningGlobalCompile ||
241
- this.isRunningGlobalGenerate ||
242
- this.isApplicationLeavingTextMode ||
243
- this.isUpdatingApplication ||
244
- this.isInitializingGraph
245
- );
246
- }
247
-
248
- checkIfApplicationUpdateOperationIsRunning(): boolean {
249
- if (this.isRunningGlobalGenerate) {
250
- this.editorStore.applicationStore.notificationService.notifyWarning(
251
- 'Please wait for model generation to complete',
252
- );
253
- return true;
254
- }
255
- if (this.isRunningGlobalCompile) {
256
- this.editorStore.applicationStore.notificationService.notifyWarning(
257
- 'Please wait for graph compilation to complete',
258
- );
259
- return true;
260
- }
261
- if (this.isApplicationLeavingTextMode) {
262
- this.editorStore.applicationStore.notificationService.notifyWarning(
263
- 'Please wait for editor to leave text mode completely',
264
- );
265
- return true;
266
- }
267
- if (this.isUpdatingApplication) {
268
- this.editorStore.applicationStore.notificationService.notifyWarning(
269
- 'Please wait for editor state to rebuild',
270
- );
271
- return true;
272
- }
273
- if (this.isInitializingGraph) {
274
- this.editorStore.applicationStore.notificationService.notifyWarning(
275
- 'Please wait for editor initialization to complete',
276
- );
277
- return true;
278
- }
279
- return false;
280
- }
281
-
282
- /**
283
- * Get entitiy changes to prepare for syncing
284
- */
285
- computeLocalEntityChanges(): EntityChange[] {
286
- const baseHashesIndex = this.editorStore.isInConflictResolutionMode
287
- ? this.editorStore.changeDetectionState
288
- .conflictResolutionHeadRevisionState.entityHashesIndex
289
- : this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState
290
- .entityHashesIndex;
291
- const originalPaths = new Set(Array.from(baseHashesIndex.keys()));
292
- const entityChanges: EntityChange[] = [];
293
- this.editorStore.graphManagerState.graph.allOwnElements.forEach(
294
- (element) => {
295
- const elementPath = element.path;
296
- if (baseHashesIndex.get(elementPath) !== element.hashCode) {
297
- const entity =
298
- this.editorStore.graphManagerState.graphManager.elementToEntity(
299
- element,
300
- {
301
- pruneSourceInformation: true,
302
- },
303
- );
304
- entityChanges.push({
305
- classifierPath: entity.classifierPath,
306
- entityPath: element.path,
307
- content: entity.content,
308
- type:
309
- baseHashesIndex.get(elementPath) !== undefined
310
- ? EntityChangeType.MODIFY
311
- : EntityChangeType.CREATE,
312
- });
313
- }
314
- originalPaths.delete(elementPath);
315
- },
316
- );
317
- Array.from(originalPaths).forEach((path) => {
318
- entityChanges.push({
319
- type: EntityChangeType.DELETE,
320
- entityPath: path,
321
- });
322
- });
323
- return entityChanges;
324
- }
325
-
326
- clearProblems(): void {
327
- this.error = undefined;
328
- this.editorStore.tabManagerState.tabs
329
- .filter(filterByType(ElementEditorState))
330
- .forEach((editorState) => editorState.clearCompilationError());
331
- this.mostRecentFormModeCompilationGraphHash = undefined;
332
- this.mostRecentTextModeCompilationGraphHash = undefined;
333
- this.warnings = [];
334
- }
335
-
336
- setEnableStrictMode(val: boolean): void {
337
- this.enableStrictMode = val;
338
- }
339
-
340
- *buildGraph(entities: Entity[]): GeneratorFn<GraphBuilderResult> {
341
- try {
342
- this.isInitializingGraph = true;
343
- const stopWatch = new StopWatch();
344
-
345
- // reset
346
- this.editorStore.graphManagerState.resetGraph();
347
-
348
- // fetch and build dependencies
349
- stopWatch.record();
350
- const dependencyManager =
351
- this.editorStore.graphManagerState.createEmptyDependencyManager();
352
- this.editorStore.graphManagerState.graph.dependencyManager =
353
- dependencyManager;
354
- this.editorStore.graphManagerState.dependenciesBuildState.setMessage(
355
- `Fetching dependencies...`,
356
- );
357
- const dependencyEntitiesIndex = (yield flowResult(
358
- this.getIndexedDependencyEntities(),
359
- )) as Map<string, EntitiesWithOrigin>;
360
- stopWatch.record(GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS);
361
-
362
- const dependency_buildReport = createGraphBuilderReport();
363
- yield this.editorStore.graphManagerState.graphManager.buildDependencies(
364
- this.editorStore.graphManagerState.coreModel,
365
- this.editorStore.graphManagerState.systemModel,
366
- dependencyManager,
367
- dependencyEntitiesIndex,
368
- this.editorStore.graphManagerState.dependenciesBuildState,
369
- {},
370
- dependency_buildReport,
371
- );
372
- dependency_buildReport.timings[
373
- GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS
374
- ] = stopWatch.getRecord(
375
- GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS,
376
- );
377
-
378
- // build graph
379
- const graph_buildReport = createGraphBuilderReport();
380
- yield this.editorStore.graphManagerState.graphManager.buildGraph(
381
- this.editorStore.graphManagerState.graph,
382
- entities,
383
- this.editorStore.graphManagerState.graphBuildState,
384
- {
385
- TEMPORARY__preserveSectionIndex:
386
- this.editorStore.applicationStore.config.options
387
- .TEMPORARY__preserveSectionIndex,
388
- strict: this.enableStrictMode,
389
- },
390
- graph_buildReport,
391
- );
392
-
393
- // build generations
394
- const generation_buildReport = createGraphBuilderReport();
395
- yield this.editorStore.graphManagerState.graphManager.buildGenerations(
396
- this.editorStore.graphManagerState.graph,
397
- this.graphGenerationState.generatedEntities,
398
- this.editorStore.graphManagerState.generationsBuildState,
399
- {},
400
- generation_buildReport,
401
- );
402
-
403
- // report
404
- stopWatch.record(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS);
405
- const graphBuilderReportData = {
406
- timings:
407
- this.editorStore.applicationStore.timeService.finalizeTimingsRecord(
408
- stopWatch,
409
- ),
410
- dependencies: dependency_buildReport,
411
- dependenciesCount:
412
- this.editorStore.graphManagerState.graph.dependencyManager
413
- .numberOfDependencies,
414
- graph: graph_buildReport,
415
- generations: generation_buildReport,
416
- generationsCount: this.graphGenerationState.generatedEntities.size,
417
- };
418
- ApplicationTelemetry.logEvent_GraphInitializationSucceeded(
419
- this.editorStore.applicationStore.telemetryService,
420
- graphBuilderReportData,
421
- );
422
-
423
- this.editorStore.applicationStore.logService.info(
424
- LogEvent.create(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS),
425
- graphBuilderReportData,
426
- );
427
-
428
- // add generation specification if model generation elements exists in graph and no generation specification
429
- yield flowResult(
430
- this.graphGenerationState.possiblyAddMissingGenerationSpecifications(),
431
- );
432
-
433
- return {
434
- status: GraphBuilderStatus.SUCCEEDED,
435
- };
436
- } catch (error) {
437
- assertErrorThrown(error);
438
- this.editorStore.applicationStore.logService.error(
439
- LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
440
- error,
441
- );
442
- if (error instanceof DependencyGraphBuilderError) {
443
- this.editorStore.graphManagerState.graphBuildState.fail();
444
- // no recovery if dependency models cannot be built, this makes assumption that all dependencies models are compiled successfully
445
- // TODO: we might want to handle this more gracefully when we can show people the dependency model element in the future
446
- this.editorStore.applicationStore.notificationService.notifyError(
447
- `Can't initialize dependency models. Error: ${error.message}`,
448
- );
449
- const projectConfigurationEditorState =
450
- this.editorStore.projectConfigurationEditorState;
451
- projectConfigurationEditorState.setSelectedTab(
452
- CONFIGURATION_EDITOR_TAB.PROJECT_DEPENDENCIES,
453
- );
454
- this.editorStore.tabManagerState.openTab(
455
- projectConfigurationEditorState,
456
- );
457
- } else if (error instanceof GraphDataDeserializationError) {
458
- // if something goes wrong with de-serialization, redirect to model importer to fix
459
- this.redirectToModelImporterForDebugging(error);
460
- } else if (error instanceof NetworkClientError) {
461
- this.editorStore.graphManagerState.graphBuildState.fail();
462
- this.editorStore.applicationStore.notificationService.notifyWarning(
463
- `Can't build graph. Error: ${error.message}`,
464
- );
465
- } else {
466
- // TODO: we should split this into 2 notifications when we support multiple notifications
467
- this.editorStore.applicationStore.notificationService.notifyError(
468
- `Can't build graph. Redirected to text mode for debugging. Error: ${error.message}`,
469
- );
470
- try {
471
- const editorGrammar =
472
- (yield this.editorStore.graphManagerState.graphManager.entitiesToPureCode(
473
- entities,
474
- )) as string;
475
- yield flowResult(
476
- this.editorStore.grammarTextEditorState.setGraphGrammarText(
477
- editorGrammar,
478
- ),
479
- );
480
- } catch (error2) {
481
- assertErrorThrown(error2);
482
- this.editorStore.applicationStore.logService.error(
483
- LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
484
- error2,
485
- );
486
- if (error2 instanceof NetworkClientError) {
487
- // in case the server cannot even transform the JSON due to corrupted protocol, we can redirect to model importer
488
- this.redirectToModelImporterForDebugging(error2);
489
- return {
490
- status: GraphBuilderStatus.FAILED,
491
- error: error2,
492
- };
493
- }
494
- }
495
- yield flowResult(
496
- this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.GRAMMAR_TEXT),
497
- );
498
- yield flowResult(
499
- this.globalCompileInTextMode({
500
- ignoreBlocking: true,
501
- suppressCompilationFailureMessage: true,
502
- }),
503
- );
504
- return {
505
- status: GraphBuilderStatus.REDIRECTED_TO_TEXT_MODE,
506
- error,
507
- };
508
- }
509
- return {
510
- status: GraphBuilderStatus.FAILED,
511
- error,
512
- };
513
- } finally {
514
- this.isInitializingGraph = false;
515
- }
516
- }
517
-
518
- private redirectToModelImporterForDebugging(error: Error): void {
519
- if (this.editorStore.isInConflictResolutionMode) {
520
- this.editorStore.applicationStore.alertService.setBlockingAlert({
521
- message: `Can't de-serialize graph model from entities`,
522
- prompt: `Please refresh the application and abort conflict resolution`,
523
- });
524
- return;
525
- }
526
- this.editorStore.applicationStore.notificationService.notifyWarning(
527
- `Can't de-serialize graph model from entities. Redirected to model importer for debugging. Error: ${error.message}`,
528
- );
529
- const nativeImporterState =
530
- this.editorStore.modelImporterState.setNativeImportType(
531
- MODEL_IMPORT_NATIVE_INPUT_TYPE.ENTITIES,
532
- );
533
- // Making an async call
534
- nativeImporterState.loadCurrentProjectEntities();
535
- this.editorStore.tabManagerState.openTab(
536
- this.editorStore.modelImporterState,
537
- );
538
- }
539
-
540
- /**
541
- * Loads entity changes to graph and updates application.
542
- */
543
- *loadEntityChangesToGraph(
544
- changes: EntityChange[],
545
- baseEntities: Entity[] | undefined,
546
- ): GeneratorFn<void> {
547
- try {
548
- assertTrue(
549
- this.editorStore.isInFormMode,
550
- `Can't apply entity changes: operation only supported in form mode`,
551
- );
552
- const entities =
553
- baseEntities ??
554
- this.editorStore.graphManagerState.graph.allOwnElements.map((element) =>
555
- this.editorStore.graphManagerState.graphManager.elementToEntity(
556
- element,
557
- ),
558
- );
559
- const modifiedEntities = applyEntityChanges(entities, changes);
560
- yield flowResult(
561
- this.updateGraphAndApplicationInFormMode(modifiedEntities),
562
- );
563
- } catch (error) {
564
- assertErrorThrown(error);
565
- this.editorStore.applicationStore.notificationService.notifyError(
566
- `Can't load entity changes: ${error.message}`,
567
- );
568
- }
569
- }
570
-
571
- // TODO: when we support showing multiple notifications, we can take this options out as the only users of this
572
- // is delete element flow, where we want to say `re-compiling graph after deletion`, but because sometimes, compilation
573
- // is so fast, the message flashes, so we want to combine with the message in this method
574
- *globalCompileInFormMode(options?: {
575
- message?: string;
576
- disableNotificationOnSuccess?: boolean;
577
- openConsole?: boolean;
578
- }): GeneratorFn<FormModeCompilationOutcome> {
579
- assertTrue(
580
- this.editorStore.isInFormMode,
581
- 'Editor must be in form mode to call this method',
582
- );
583
-
584
- if (this.checkIfApplicationUpdateOperationIsRunning()) {
585
- return FormModeCompilationOutcome.SKIPPED;
586
- }
587
-
588
- const stopWatch = new StopWatch();
589
- const report = reportGraphAnalytics(
590
- this.editorStore.graphManagerState.graph,
591
- );
592
- LegendStudioTelemetry.logEvent_GraphCompilationLaunched(
593
- this.editorStore.applicationStore.telemetryService,
594
- );
595
-
596
- const currentGraphHash =
597
- this.editorStore.changeDetectionState.currentGraphHash;
598
-
599
- try {
600
- this.isRunningGlobalCompile = true;
601
- this.clearProblems();
602
- if (options?.openConsole) {
603
- this.editorStore.setActiveAuxPanelMode(AUX_PANEL_MODE.CONSOLE);
604
- }
605
-
606
- // NOTE: here we always keep the source information while compiling in form mode
607
- // so that the form parts where the user interacted with (i.e. where the lamdbas source
608
- // information are populated), can reveal compilation error. If compilation errors
609
- // show up in other parts, the user will get redirected to text-mode
610
- const compilationResult =
611
- (yield this.editorStore.graphManagerState.graphManager.compileGraph(
612
- this.editorStore.graphManagerState.graph,
613
- {
614
- keepSourceInformation: true,
615
- },
616
- report,
617
- )) as CompilationResult;
618
-
619
- this.warnings = compilationResult.warnings
620
- ? this.TEMPORARY__removeDependencyProblems(compilationResult.warnings)
621
- : [];
622
-
623
- this.mostRecentFormModeCompilationGraphHash = currentGraphHash;
624
-
625
- if (!options?.disableNotificationOnSuccess) {
626
- if (this.warnings.length) {
627
- this.editorStore.applicationStore.notificationService.notifyWarning(
628
- `Compilation suceeded with warnings`,
629
- );
630
- } else {
631
- if (!options?.disableNotificationOnSuccess) {
632
- this.editorStore.applicationStore.notificationService.notifySuccess(
633
- 'Compiled successfully',
634
- );
635
- }
636
- }
637
- }
638
-
639
- report.timings =
640
- this.editorStore.applicationStore.timeService.finalizeTimingsRecord(
641
- stopWatch,
642
- report.timings,
643
- );
644
- LegendStudioTelemetry.logEvent_GraphCompilationSucceeded(
645
- this.editorStore.applicationStore.telemetryService,
646
- report,
647
- );
648
-
649
- return FormModeCompilationOutcome.SUCCEEDED;
650
- } catch (error) {
651
- assertErrorThrown(error);
652
- // TODO: we probably should make this pattern of error the handling for all other exceptions in the codebase
653
- // i.e. there should be a catch-all handler (we can use if-else construct to check error types)
654
- assertType(error, EngineError, `Unhandled exception:\n${error}`);
655
- this.editorStore.applicationStore.logService.error(
656
- LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
657
- error,
658
- );
659
- this.mostRecentFormModeCompilationGraphHash = currentGraphHash;
660
- let fallbackToTextModeForDebugging = true;
661
- // if compilation failed, we try to reveal the error in form mode,
662
- // if even this fail, we will fall back to show it in text mode
663
- if (error instanceof CompilationError) {
664
- const errorCoordinates = extractSourceInformationCoordinates(
665
- error.sourceInformation,
666
- );
667
- if (errorCoordinates) {
668
- const element =
669
- this.editorStore.graphManagerState.graph.getNullableElement(
670
- guaranteeNonNullable(
671
- errorCoordinates[0],
672
- `Can't reveal compilation error: element path is missing`,
673
- ),
674
- false,
675
- );
676
- if (element) {
677
- this.editorStore.tabManagerState.openElementEditor(element);
678
- if (
679
- this.editorStore.tabManagerState.currentTab instanceof
680
- ElementEditorState
681
- ) {
682
- // check if we can reveal the error in the element editor state
683
- fallbackToTextModeForDebugging =
684
- !this.editorStore.tabManagerState.currentTab.revealCompilationError(
685
- error,
686
- );
687
- }
688
- }
689
- }
690
- }
691
-
692
- // decide if we need to fall back to text mode for debugging
693
- if (fallbackToTextModeForDebugging) {
694
- // TODO: when we support showing multiple notifications, we can split this into 2
695
- this.editorStore.applicationStore.notificationService.notifyWarning(
696
- options?.message ??
697
- 'Compilation failed and error cannot be located in form mode. Redirected to text mode for debugging.',
698
- );
699
- try {
700
- const code =
701
- (yield this.editorStore.graphManagerState.graphManager.graphToPureCode(
702
- this.editorStore.graphManagerState.graph,
703
- )) as string;
704
- this.editorStore.grammarTextEditorState.setGraphGrammarText(code);
705
- } catch (error2) {
706
- assertErrorThrown(error2);
707
- this.editorStore.applicationStore.notificationService.notifyWarning(
708
- `Can't enter text mode. Transformation to grammar text failed: ${error2.message}`,
709
- );
710
- return FormModeCompilationOutcome.FAILED;
711
- }
712
- yield flowResult(
713
- this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.GRAMMAR_TEXT),
714
- );
715
- yield flowResult(
716
- this.globalCompileInTextMode({
717
- ignoreBlocking: true,
718
- suppressCompilationFailureMessage: true,
719
- disableNotificationOnSuccess: options?.disableNotificationOnSuccess,
720
- }),
721
- );
722
- return FormModeCompilationOutcome.FAILED_AND_FALLBACK_TO_TEXT_MODE;
723
- } else {
724
- this.error = error;
725
- this.editorStore.applicationStore.notificationService.notifyWarning(
726
- `Compilation failed: ${error.message}`,
727
- );
728
- return FormModeCompilationOutcome.FAILED_WITH_ERROR_REVEALED;
729
- }
730
- } finally {
731
- this.isRunningGlobalCompile = false;
732
- }
733
- }
734
-
735
- // TODO: when we support showing multiple notifications, we can take this `suppressCompilationFailureMessage` out as
736
- // we can show the transition between form mode and text mode warning and the compilation failure warning at the same time
737
- *globalCompileInTextMode(options?: {
738
- ignoreBlocking?: boolean | undefined;
739
- suppressCompilationFailureMessage?: boolean | undefined;
740
- disableNotificationOnSuccess?: boolean | undefined;
741
- openConsole?: boolean;
742
- }): GeneratorFn<void> {
743
- assertTrue(
744
- this.editorStore.isInGrammarTextMode,
745
- 'Editor must be in text mode to call this method',
746
- );
747
-
748
- if (
749
- !options?.ignoreBlocking &&
750
- this.checkIfApplicationUpdateOperationIsRunning()
751
- ) {
752
- return;
753
- }
754
-
755
- const stopWatch = new StopWatch();
756
- const report = reportGraphAnalytics(
757
- this.editorStore.graphManagerState.graph,
758
- );
759
- LegendStudioTelemetry.logEvent_TextCompilationLaunched(
760
- this.editorStore.applicationStore.telemetryService,
761
- );
762
-
763
- const currentGraphHash =
764
- this.editorStore.grammarTextEditorState.currentTextGraphHash;
765
-
766
- try {
767
- this.isRunningGlobalCompile = true;
768
- this.clearProblems();
769
- if (options?.openConsole) {
770
- this.editorStore.setActiveAuxPanelMode(AUX_PANEL_MODE.CONSOLE);
771
- }
772
-
773
- const compilationResult =
774
- (yield this.editorStore.graphManagerState.graphManager.compileText(
775
- this.editorStore.grammarTextEditorState.graphGrammarText,
776
- this.editorStore.graphManagerState.graph,
777
- {},
778
- report,
779
- )) as TextCompilationResult;
780
-
781
- const entities = compilationResult.entities;
782
- this.mostRecentTextModeCompilationGraphHash = currentGraphHash;
783
- this.warnings = compilationResult.warnings
784
- ? this.TEMPORARY__removeDependencyProblems(compilationResult.warnings)
785
- : [];
786
-
787
- if (!options?.disableNotificationOnSuccess) {
788
- if (this.warnings.length) {
789
- this.editorStore.applicationStore.notificationService.notifyWarning(
790
- `Compilation suceeded with warnings`,
791
- );
792
- } else {
793
- if (!options?.disableNotificationOnSuccess) {
794
- this.editorStore.applicationStore.notificationService.notifySuccess(
795
- 'Compiled successfully',
796
- );
797
- }
798
- }
799
- }
800
-
801
- stopWatch.record();
802
- yield flowResult(this.updateGraphAndApplicationInTextMode(entities));
803
- stopWatch.record(GRAPH_MANAGER_EVENT.UPDATE_AND_REBUILD_GRAPH__SUCCESS);
804
-
805
- // Remove `SectionIndex when computing changes in text mode as engine after
806
- // transforming grammarToJson would return `SectionIndex` which is not
807
- // required to do change detection.
808
- yield flowResult(
809
- this.editorStore.changeDetectionState.computeLocalChangesInTextMode(
810
- this.editorStore.graphManagerState.graphManager.getElementEntities(
811
- entities,
812
- ),
813
- ),
814
- );
815
-
816
- report.timings =
817
- this.editorStore.applicationStore.timeService.finalizeTimingsRecord(
818
- stopWatch,
819
- report.timings,
820
- );
821
- LegendStudioTelemetry.logEvent_TextCompilationSucceeded(
822
- this.editorStore.applicationStore.telemetryService,
823
- report,
824
- );
825
- } catch (error) {
826
- assertErrorThrown(error);
827
- this.mostRecentTextModeCompilationGraphHash = currentGraphHash;
828
- if (error instanceof EngineError) {
829
- this.error = error;
830
- if (error.sourceInformation) {
831
- this.editorStore.grammarTextEditorState.setForcedCursorPosition({
832
- lineNumber: error.sourceInformation.startLine,
833
- column: error.sourceInformation.startColumn,
834
- });
835
- }
836
- }
837
- if (
838
- !this.editorStore.applicationStore.notificationService.notification ||
839
- !options?.suppressCompilationFailureMessage
840
- ) {
841
- this.editorStore.applicationStore.notificationService.notifyWarning(
842
- `Compilation failed: ${error.message}`,
843
- );
844
- }
845
- } finally {
846
- this.isRunningGlobalCompile = false;
847
- }
848
- }
849
-
850
- *leaveTextMode(): GeneratorFn<void> {
851
- assertTrue(
852
- this.editorStore.isInGrammarTextMode,
853
- 'Editor must be in text mode to call this method',
854
- );
855
- if (this.checkIfApplicationUpdateOperationIsRunning()) {
856
- return;
857
- }
858
- try {
859
- this.isApplicationLeavingTextMode = true;
860
- this.clearProblems();
861
- this.editorStore.applicationStore.alertService.setBlockingAlert({
862
- message: 'Compiling graph before leaving text mode...',
863
- showLoading: true,
864
- });
865
- try {
866
- const compilationResult =
867
- (yield this.editorStore.graphManagerState.graphManager.compileText(
868
- this.editorStore.grammarTextEditorState.graphGrammarText,
869
- this.editorStore.graphManagerState.graph,
870
- // surpress the modal to reveal error properly in the text editor
871
- // if the blocking modal is not dismissed, the edior will not be able to gain focus as modal has a focus trap
872
- // therefore, the editor will not be able to get the focus
873
- {
874
- onError: () =>
875
- this.editorStore.applicationStore.alertService.setBlockingAlert(
876
- undefined,
877
- ),
878
- },
879
- )) as TextCompilationResult;
880
-
881
- this.warnings = compilationResult.warnings
882
- ? this.TEMPORARY__removeDependencyProblems(compilationResult.warnings)
883
- : [];
884
- this.editorStore.applicationStore.alertService.setBlockingAlert({
885
- message: 'Leaving text mode and rebuilding graph...',
886
- showLoading: true,
887
- });
888
- yield flowResult(
889
- this.updateGraphAndApplicationInFormMode(compilationResult.entities),
890
- );
891
- this.mostRecentFormModeCompilationGraphHash =
892
- this.editorStore.changeDetectionState.getCurrentGraphHash();
893
- this.editorStore.grammarTextEditorState.setGraphGrammarText('');
894
- this.editorStore.grammarTextEditorState.resetCurrentElementLabelRegexString();
895
- yield flowResult(
896
- this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.FORM),
897
- );
898
- if (this.editorStore.tabManagerState.currentTab) {
899
- this.editorStore.tabManagerState.openTab(
900
- this.editorStore.tabManagerState.currentTab,
901
- );
902
- }
903
- } catch (error) {
904
- assertErrorThrown(error);
905
- this.mostRecentFormModeCompilationGraphHash =
906
- this.editorStore.changeDetectionState.getCurrentGraphHash();
907
- if (error instanceof EngineError && error.sourceInformation) {
908
- this.editorStore.grammarTextEditorState.setForcedCursorPosition({
909
- lineNumber: error.sourceInformation.startLine,
910
- column: error.sourceInformation.startColumn,
911
- });
912
- }
913
- this.editorStore.applicationStore.logService.error(
914
- LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
915
- 'Compilation failed:',
916
- error,
917
- );
918
- if (this.editorStore.graphManagerState.graphBuildState.hasFailed) {
919
- // TODO: when we support showing multiple notification, we can split this into 2 messages
920
- this.editorStore.applicationStore.notificationService.notifyWarning(
921
- `Can't build graph, please resolve compilation error before leaving text mode. Compilation failed with error: ${error.message}`,
922
- );
923
- } else {
924
- this.editorStore.applicationStore.notificationService.notifyWarning(
925
- `Compilation failed: ${error.message}`,
926
- );
927
- this.editorStore.applicationStore.alertService.setActionAlertInfo({
928
- message: 'Project is not in a compiled state',
929
- prompt:
930
- 'All changes made since the last time the graph was built successfully will be lost',
931
- type: ActionAlertType.CAUTION,
932
- actions: [
933
- {
934
- label: 'Discard Changes',
935
- handler: () => {
936
- flowResult(
937
- this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.FORM),
938
- ).catch(
939
- this.editorStore.applicationStore.alertUnhandledError,
940
- );
941
- },
942
- type: ActionAlertActionType.PROCEED_WITH_CAUTION,
943
- },
944
- {
945
- label: 'Stay',
946
- default: true,
947
- type: ActionAlertActionType.PROCEED,
948
- },
949
- ],
950
- });
951
- }
952
- }
953
- } catch (error) {
954
- assertErrorThrown(error);
955
- this.editorStore.applicationStore.logService.error(
956
- LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
957
- error,
958
- );
959
- } finally {
960
- this.isApplicationLeavingTextMode = false;
961
- this.editorStore.applicationStore.alertService.setBlockingAlert(
962
- undefined,
963
- );
964
- this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.currentEntityHashesIndex =
965
- new Map<string, string>();
966
- }
967
- }
968
-
969
- /**
970
- * NOTE: this can post memory-leak issue if we start having immutable elements referencing current graph elements:
971
- * e.g. subclass analytics on the immutable class, etc.
972
- *
973
- * @risk memory-leak
974
- */
975
- private *rebuildDependencies(newGraph: PureModel): GeneratorFn<void> {
976
- if (
977
- this.editorStore.graphManagerState.dependenciesBuildState.hasSucceeded
978
- ) {
979
- newGraph.dependencyManager =
980
- this.editorStore.graphManagerState.graph.dependencyManager;
981
- } else {
982
- this.editorStore.projectConfigurationEditorState.setProjectConfiguration(
983
- ProjectConfiguration.serialization.fromJson(
984
- (yield this.editorStore.sdlcServerClient.getConfiguration(
985
- this.editorStore.sdlcState.activeProject.projectId,
986
- this.editorStore.sdlcState.activeWorkspace,
987
- )) as PlainObject<ProjectConfiguration>,
988
- ),
989
- );
990
- const dependencyManager =
991
- this.editorStore.graphManagerState.createEmptyDependencyManager();
992
- newGraph.dependencyManager = dependencyManager;
993
- const dependenciesBuildState = ActionState.create();
994
- yield this.editorStore.graphManagerState.graphManager.buildDependencies(
995
- this.editorStore.graphManagerState.coreModel,
996
- this.editorStore.graphManagerState.systemModel,
997
- dependencyManager,
998
- (yield flowResult(this.getIndexedDependencyEntities())) as Map<
999
- string,
1000
- EntitiesWithOrigin
1001
- >,
1002
- dependenciesBuildState,
1003
- );
1004
- // NOTE: here we don't want to modify the current graph build state directly
1005
- // instead, we quietly run this in the background and then sync it with the current build state
1006
- this.editorStore.graphManagerState.dependenciesBuildState.sync(
1007
- dependenciesBuildState,
1008
- );
1009
- }
1010
- }
1011
-
1012
- /**
1013
- * Creates a new explorer tree state when compiling in text mode. It resets the explorer state properly
1014
- * after the new graph is built. It tries to maintain the explorer state similar to what it was before compilation.
1015
- * To achieve that we store node ids of the opened nodes before creating a new explorer state. After creating a
1016
- * new state we open the nodes which were opened before so that user see the same explorer state as before.
1017
- */
1018
- reprocessExplorerTreeInTextMode(): void {
1019
- const mainTreeOpenedNodeIds = this.editorStore.explorerTreeState.treeData
1020
- ? Array.from(this.editorStore.explorerTreeState.treeData.nodes.values())
1021
- .filter((node) => node.isOpen)
1022
- .map((node) => node.id)
1023
- : [];
1024
- const generationTreeOpenedNodeIds = this.editorStore.explorerTreeState
1025
- .generationTreeData
1026
- ? Array.from(
1027
- this.editorStore.explorerTreeState.generationTreeData.nodes.values(),
1028
- )
1029
- .filter((node) => node.isOpen)
1030
- .map((node) => node.id)
1031
- : [];
1032
- // Storing dependencyTree, filegenerationTree, systemTree as is as they don't
1033
- // hold any reference to actual graph
1034
- const systemTreeData = this.editorStore.explorerTreeState.systemTreeData;
1035
- const dependencyTreeData =
1036
- this.editorStore.explorerTreeState.dependencyTreeData;
1037
- const selectedNodeId = this.editorStore.explorerTreeState.selectedNode?.id;
1038
- this.editorStore.explorerTreeState = new ExplorerTreeState(
1039
- this.editorStore,
1040
- );
1041
- this.editorStore.explorerTreeState.systemTreeData = systemTreeData;
1042
- this.editorStore.explorerTreeState.dependencyTreeData = dependencyTreeData;
1043
- this.editorStore.explorerTreeState.buildTreeInTextMode();
1044
- this.editorStore.explorerTreeState.openExplorerTreeNodes(
1045
- mainTreeOpenedNodeIds,
1046
- generationTreeOpenedNodeIds,
1047
- selectedNodeId,
1048
- );
1049
- }
1050
-
1051
- /**
1052
- * NOTE: IMPORTANT! This method is both a savior and a sinner. It helps reprocessing the graph state to use a new graph
1053
- * built from the new model context data, it resets the graph properly. The bane here is that resetting the graph properly is
1054
- * not trivial, for example, in the cleanup phase, there are things we want to re-use, such as the one-time processed system
1055
- * metamodels or the `reusable` metamodels from project dependencies. There are also explorer states like the package tree,
1056
- * opened tabs, change detection, etc. to take care of. There are a lot of potential pitfalls. For these, we will add the
1057
- * marker:
1058
- *
1059
- * @risk memory-leak
1060
- *
1061
- * to indicate we should check carefully these pieces when we detect memory issue as it might still
1062
- * be referring to the old graph
1063
- *
1064
- * In the past, we have found that there are a few potential root causes for memory leak:
1065
- * 1. State management Mobx allows references, as such, it is sometimes hard to trace down which references can cause problem
1066
- * We have to understand that the behind this updater is very simple (replace), yet to do it cleanly is not easy, since
1067
- * so far it is tempting to refer to elements in the graph from various editor state. On top of that, change detection
1068
- * sometimes obfuscate the investigation but we have cleared it out with explicit disposing of reaction
1069
- * 2. Reusable models, at this point in time, we haven't completed stabilize the logic for handling generated models, as well
1070
- * as dependencies, we intended to save computation time by reusing these while updating the graph. This can pose potential
1071
- * danger as well. Beware the way when we start to make system/project dependencies references elements of current graph
1072
- * e.g. when we have a computed value in a immutable class that get all subclasses, etc.
1073
- * 3. We reprocess editor states to ensure good UX, e.g. find tabs to keep open, find tree nodes to expand, etc.
1074
- * after updating the graph. These in our experience is the **MOST COMMON** source of memory leak. It is actually
1075
- * quite predictable since structures like tabs and tree node embeds graph data, which are references to the old graph
1076
- *
1077
- * NOTE: One big obfuscating factor is overlapping graph refresh. Sometimes, we observed that calling this update graph
1078
- * method multiple times can throws Mobx off and causes reusing change detection state to cause memory-leak. As such,
1079
- * we have blocked the possibility of calling compilation/graph-update/generation simultaneously
1080
- *
1081
- * A note on how to debug memory-leak issue:
1082
- * 1. Open browser Memory monitor
1083
- * 2. Go to text mode and compile multiple times (triggering graph update)
1084
- * 3. Try to force garbage collection, if we see memory goes up after while, it's pretty clear that this is memory-leak
1085
- * (note that since we disallow stacking multiple compilation and graph update, we have simplify the detection a lot)
1086
- * See https://auth0.com/blog/four-types-of-leaks-in-your-javascript-code-and-how-to-get-rid-of-them/
1087
- */
1088
- private *updateGraphAndApplicationInFormMode(
1089
- entities: Entity[],
1090
- ): GeneratorFn<void> {
1091
- const startTime = Date.now();
1092
- this.isUpdatingApplication = true;
1093
- this.isUpdatingGraph = true;
1094
- try {
1095
- const newGraph = this.editorStore.graphManagerState.createEmptyGraph();
1096
- yield flowResult(this.rebuildDependencies(newGraph));
1097
-
1098
- /**
1099
- * Backup and editor states info before resetting. Here we store the element paths of the
1100
- * elements editors as element paths don't refer to the actual graph. We can find the element
1101
- * from the new graph that is built by using element path and can reprocess the element editor states.
1102
- * The other kind of editors we reprocess are file generation editors, we store them as is as they don't
1103
- * hold any reference to the actual graph.
1104
- */
1105
- const openedTabPaths: string[] = [];
1106
- this.editorStore.tabManagerState.tabs.forEach((state: TabState) => {
1107
- if (state instanceof ElementEditorState) {
1108
- openedTabPaths.push(state.elementPath);
1109
- }
1110
- });
1111
- // Only stores editor state for file generation editors as they don't hold any references to the
1112
- // actual graph.
1113
- const currentTabState =
1114
- this.editorStore.tabManagerState.currentTab instanceof
1115
- ElementEditorState
1116
- ? undefined
1117
- : this.editorStore.tabManagerState.currentTab;
1118
- const currentTabElementPath =
1119
- this.editorStore.tabManagerState.currentTab instanceof
1120
- ElementEditorState
1121
- ? this.editorStore.tabManagerState.currentTab.elementPath
1122
- : undefined;
1123
- /**
1124
- * We remove the current editor state so that we no longer let React displays the element that belongs to the old graph
1125
- * NOTE: this causes an UI flash, but this is in many way, acceptable since the user probably should know that we are
1126
- * refreshing the memory graph anyway.
1127
- *
1128
- * If this is really bothering, we can handle it by building mocked replica of the current editor state using stub element
1129
- * e.g. if the current editor is a class, we stub the class, create a new class editor state around it and copy over
1130
- * navigation information, etc.
1131
- */
1132
- this.editorStore.tabManagerState.closeAllTabs();
1133
-
1134
- this.editorStore.changeDetectionState.stop(); // stop change detection before disposing hash
1135
-
1136
- yield flowResult(graph_dispose(this.editorStore.graphManagerState.graph));
1137
-
1138
- const graphBuildState = ActionState.create();
1139
- yield this.editorStore.graphManagerState.graphManager.buildGraph(
1140
- newGraph,
1141
- entities,
1142
- graphBuildState,
1143
- {
1144
- TEMPORARY__preserveSectionIndex:
1145
- this.editorStore.applicationStore.config.options
1146
- .TEMPORARY__preserveSectionIndex,
1147
- strict: this.enableStrictMode,
1148
- },
1149
- );
1150
-
1151
- // Activity States
1152
- this.editorStore.globalTestRunnerState = new GlobalTestRunnerState(
1153
- this.editorStore,
1154
- this.editorStore.sdlcState,
1155
- );
1156
-
1157
- // NOTE: build model generation entities every-time we rebuild the graph - should we do this?
1158
- const generationsBuildState = ActionState.create();
1159
- yield this.editorStore.graphManagerState.graphManager.buildGenerations(
1160
- newGraph,
1161
- this.graphGenerationState.generatedEntities,
1162
- generationsBuildState,
1163
- );
1164
-
1165
- this.editorStore.graphManagerState.graph = newGraph;
1166
- // NOTE: here we don't want to modify the current graph build state directly
1167
- // instead, we quietly run this in the background and then sync it with the current build state
1168
- this.editorStore.graphManagerState.graphBuildState.sync(graphBuildState);
1169
- this.editorStore.graphManagerState.generationsBuildState.sync(
1170
- generationsBuildState,
1171
- );
1172
-
1173
- this.editorStore.explorerTreeState.reprocess();
1174
-
1175
- /**
1176
- * Re-build the editor states which were opened before from the information we have stored before
1177
- * creating the new graph
1178
- */
1179
- this.editorStore.tabManagerState.recoverTabs(
1180
- openedTabPaths,
1181
- currentTabState,
1182
- currentTabElementPath,
1183
- );
1184
-
1185
- this.editorStore.applicationStore.logService.info(
1186
- LogEvent.create(GRAPH_MANAGER_EVENT.UPDATE_AND_REBUILD_GRAPH__SUCCESS),
1187
- '[TOTAL]',
1188
- Date.now() - startTime,
1189
- 'ms',
1190
- );
1191
- this.isUpdatingGraph = false;
1192
-
1193
- // ======= (RE)START CHANGE DETECTION =======
1194
-
1195
- yield flowResult(this.editorStore.changeDetectionState.observeGraph());
1196
- yield this.editorStore.changeDetectionState.preComputeGraphElementHashes();
1197
- this.editorStore.changeDetectionState.start();
1198
- this.editorStore.applicationStore.logService.info(
1199
- LogEvent.create(
1200
- CHANGE_DETECTION_EVENT.CHANGE_DETECTION_RESTART__SUCCESS,
1201
- ),
1202
- '[ASYNC]',
1203
- );
1204
-
1205
- // ======= FINISHED (RE)START CHANGE DETECTION =======
1206
- } catch (error) {
1207
- assertErrorThrown(error);
1208
- this.editorStore.applicationStore.logService.error(
1209
- LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
1210
- error,
1211
- );
1212
- this.editorStore.changeDetectionState.stop(true); // force stop change detection
1213
- this.isUpdatingGraph = false;
1214
- // Note: in the future this function will probably be ideal to refactor when we have different classes for each mode
1215
- // as we would handle this error differently in `text` mode and `form` mode.
1216
- if (error instanceof GraphBuilderError) {
1217
- this.editorStore.applicationStore.alertService.setBlockingAlert({
1218
- message: `Can't build graph: ${error.message}`,
1219
- prompt: 'Refreshing full application...',
1220
- showLoading: true,
1221
- });
1222
- this.editorStore.tabManagerState.closeAllTabs();
1223
- this.editorStore.cleanUp();
1224
- yield flowResult(this.editorStore.buildGraph(entities));
1225
- }
1226
- } finally {
1227
- this.isUpdatingApplication = false;
1228
- this.editorStore.applicationStore.alertService.setBlockingAlert(
1229
- undefined,
1230
- );
1231
- }
1232
- }
1233
-
1234
- private *updateGraphAndApplicationInTextMode(
1235
- entities: Entity[],
1236
- ): GeneratorFn<void> {
1237
- const startTime = Date.now();
1238
- this.isUpdatingApplication = true;
1239
- this.isUpdatingGraph = true;
1240
- try {
1241
- const newGraph = this.editorStore.graphManagerState.createEmptyGraph();
1242
- yield flowResult(this.rebuildDependencies(newGraph));
1243
- yield flowResult(graph_dispose(this.editorStore.graphManagerState.graph));
1244
-
1245
- const graphBuildState = ActionState.create();
1246
- yield this.editorStore.graphManagerState.graphManager.buildLightGraph(
1247
- newGraph,
1248
- entities,
1249
- graphBuildState,
1250
- {
1251
- TEMPORARY__preserveSectionIndex:
1252
- this.editorStore.applicationStore.config.options
1253
- .TEMPORARY__preserveSectionIndex,
1254
- strict: this.enableStrictMode,
1255
- },
1256
- );
1257
-
1258
- this.editorStore.graphManagerState.graph = newGraph;
1259
- // NOTE: here we don't want to modify the current graph build state directly
1260
- // instead, we quietly run this in the background and then sync it with the current build state
1261
- this.editorStore.graphManagerState.graphBuildState.sync(graphBuildState);
1262
- this.reprocessExplorerTreeInTextMode();
1263
-
1264
- this.editorStore.applicationStore.logService.info(
1265
- LogEvent.create(GRAPH_MANAGER_EVENT.UPDATE_AND_REBUILD_GRAPH__SUCCESS),
1266
- '[TOTAL]',
1267
- Date.now() - startTime,
1268
- 'ms',
1269
- );
1270
- this.isUpdatingGraph = false;
1271
- } catch (error) {
1272
- assertErrorThrown(error);
1273
- this.editorStore.applicationStore.logService.error(
1274
- LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
1275
- error,
1276
- );
1277
- this.isUpdatingGraph = false;
1278
- if (error instanceof GraphBuilderError) {
1279
- this.editorStore.applicationStore.notificationService.notifyError(
1280
- `Can't build graph: ${error.message}`,
1281
- );
1282
- }
1283
- } finally {
1284
- this.isUpdatingApplication = false;
1285
- this.editorStore.applicationStore.alertService.setBlockingAlert(
1286
- undefined,
1287
- );
1288
- }
1289
- }
1290
-
1291
- /**
1292
- * Used to update generation model and generation graph using the generated entities
1293
- * does not alter the main or dependency model
1294
- */
1295
- *updateGenerationGraphAndApplication(): GeneratorFn<void> {
1296
- assertTrue(
1297
- this.editorStore.graphManagerState.graphBuildState.hasSucceeded &&
1298
- this.editorStore.graphManagerState.dependenciesBuildState.hasSucceeded,
1299
- 'Both main model and dependencies must be processed to built generation graph',
1300
- );
1301
- this.isUpdatingApplication = true;
1302
- try {
1303
- /**
1304
- * Backup and editor states info before resetting
1305
- */
1306
- const openedTabEditorPaths: string[] = [];
1307
- this.editorStore.tabManagerState.tabs.forEach((state: TabState) => {
1308
- if (state instanceof ElementEditorState) {
1309
- openedTabEditorPaths.push(state.elementPath);
1310
- }
1311
- });
1312
- const currentTabState =
1313
- this.editorStore.tabManagerState.currentTab instanceof
1314
- ElementEditorState
1315
- ? undefined
1316
- : this.editorStore.tabManagerState.currentTab;
1317
- const currentTabElementPath =
1318
- this.editorStore.tabManagerState.currentTab instanceof
1319
- ElementEditorState
1320
- ? this.editorStore.tabManagerState.currentTab.elementPath
1321
- : undefined;
1322
- this.editorStore.tabManagerState.closeAllTabs();
1323
-
1324
- yield flowResult(
1325
- this.editorStore.graphManagerState.graph.generationModel.dispose(),
1326
- );
1327
- // we reset the generation model
1328
- this.editorStore.graphManagerState.graph.generationModel =
1329
- this.editorStore.graphManagerState.createEmptyGenerationModel();
1330
- yield this.editorStore.graphManagerState.graphManager.buildGenerations(
1331
- this.editorStore.graphManagerState.graph,
1332
- this.graphGenerationState.generatedEntities,
1333
- this.editorStore.graphManagerState.generationsBuildState,
1334
- );
1335
- this.editorStore.explorerTreeState.reprocess();
1336
- this.editorStore.tabManagerState.recoverTabs(
1337
- openedTabEditorPaths,
1338
- currentTabState,
1339
- currentTabElementPath,
1340
- );
1341
- } catch (error) {
1342
- assertErrorThrown(error);
1343
- this.editorStore.applicationStore.logService.error(
1344
- LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
1345
- error,
1346
- );
1347
- this.editorStore.applicationStore.notificationService.notifyError(
1348
- `Can't build graph: ${error.message}`,
1349
- );
1350
- } finally {
1351
- this.isUpdatingApplication = false;
1352
- }
1353
- }
1354
-
1355
- async getIndexedDependencyEntities(): Promise<
1356
- Map<string, EntitiesWithOrigin>
1357
- > {
1358
- const dependencyEntitiesIndex = new Map<string, EntitiesWithOrigin>();
1359
- const currentConfiguration =
1360
- this.editorStore.projectConfigurationEditorState
1361
- .currentProjectConfiguration;
1362
- try {
1363
- if (currentConfiguration.projectDependencies.length) {
1364
- const dependencyCoordinates =
1365
- await this.buildProjectDependencyCoordinates(
1366
- currentConfiguration.projectDependencies,
1367
- );
1368
- // NOTE: if A@v1 is transitive dependencies of 2 or more
1369
- // direct dependencies, metadata server will take care of deduplication
1370
- const dependencyEntitiesJson =
1371
- await this.editorStore.depotServerClient.collectDependencyEntities(
1372
- dependencyCoordinates.map((e) =>
1373
- ProjectDependencyCoordinates.serialization.toJson(e),
1374
- ),
1375
- true,
1376
- true,
1377
- );
1378
- const dependencyEntities = dependencyEntitiesJson.map((e) =>
1379
- ProjectVersionEntities.serialization.fromJson(e),
1380
- );
1381
- const dependencyProjects = new Map<string, Set<string>>();
1382
- dependencyEntities.forEach((dependencyInfo) => {
1383
- const projectId = dependencyInfo.id;
1384
- // There are a few validations that must be done:P
1385
- // 1. Unlike above, if in the depdendency graph, we have both A@v1 and A@v2
1386
- // then we need to throw. Both SDLC and metadata server should handle this
1387
- // validation, but haven't, so for now, we can do that in Studio.
1388
- // 2. Same as the previous case, but for version-to-version transformation
1389
- // This is a special case that needs handling, right now, SDLC does auto
1390
- // healing, by scanning all the path and convert them into versioned path
1391
- // e.g. model::someClass -> project1::v1_0_0::model::someClass
1392
- // But this is a rare and advanced use-case which we will not attempt to handle now.
1393
- if (dependencyProjects.has(projectId)) {
1394
- dependencyProjects.get(projectId)?.add(dependencyInfo.versionId);
1395
- } else {
1396
- dependencyProjects.set(
1397
- dependencyInfo.id,
1398
- new Set<string>([dependencyInfo.versionId]),
1399
- );
1400
- }
1401
- dependencyEntitiesIndex.set(
1402
- dependencyInfo.id,
1403
- new EntitiesWithOrigin(
1404
- dependencyInfo.groupId,
1405
- dependencyInfo.artifactId,
1406
- dependencyInfo.versionId,
1407
- dependencyInfo.entities,
1408
- ),
1409
- );
1410
- });
1411
- const hasConflicts = Array.from(dependencyProjects.entries()).find(
1412
- ([k, v]) => v.size > 1,
1413
- );
1414
- if (hasConflicts) {
1415
- let dependencyInfo: ProjectDependencyGraphReport | undefined;
1416
- try {
1417
- const dependencyTree =
1418
- await this.editorStore.depotServerClient.analyzeDependencyTree(
1419
- dependencyCoordinates.map((e) =>
1420
- ProjectDependencyCoordinates.serialization.toJson(e),
1421
- ),
1422
- );
1423
- const rawReport =
1424
- RawProjectDependencyReport.serialization.fromJson(dependencyTree);
1425
- dependencyInfo = buildDependencyReport(rawReport);
1426
- } catch (error) {
1427
- assertErrorThrown(error);
1428
- this.editorStore.applicationStore.logService.error(
1429
- LogEvent.create(LEGEND_STUDIO_APP_EVENT.DEPOT_MANAGER_FAILURE),
1430
- error,
1431
- );
1432
- }
1433
- const startErrorMessage =
1434
- 'Depending on multiple versions of a project is not supported. Found conflicts:\n';
1435
- if (dependencyInfo?.conflicts.length) {
1436
- const conflictingProjects = dependencyInfo.conflicts
1437
- .map(
1438
- (c) =>
1439
- `project: ${c.groupId}:${c.artifactId}\nversions:[${c.versions
1440
- .map((v) => v.versionId)
1441
- .join(',')}]`,
1442
- )
1443
- .join('\n');
1444
- throw new UnsupportedOperationError(
1445
- startErrorMessage + conflictingProjects,
1446
- );
1447
- } else {
1448
- const conflictMessages = Array.from(dependencyProjects.entries())
1449
- .filter(([, v]) => v.size > 1)
1450
- .map(
1451
- ([k, v]) =>
1452
- `project: ${k}\n versions: ${Array.from(v.values()).join(
1453
- ',',
1454
- )}`,
1455
- )
1456
- .join('\n\n');
1457
- throw new UnsupportedOperationError(
1458
- startErrorMessage + conflictMessages,
1459
- );
1460
- }
1461
- }
1462
- }
1463
- } catch (error) {
1464
- assertErrorThrown(error);
1465
- const message = `Can't acquire dependency entitites. Error: ${error.message}`;
1466
- this.editorStore.applicationStore.logService.error(
1467
- LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
1468
- message,
1469
- );
1470
- this.editorStore.applicationStore.notificationService.notifyError(error);
1471
- throw new DependencyGraphBuilderError(error);
1472
- }
1473
- return dependencyEntitiesIndex;
1474
- }
1475
-
1476
- async buildProjectDependencyCoordinates(
1477
- projectDependencies: ProjectDependency[],
1478
- ): Promise<ProjectDependencyCoordinates[]> {
1479
- return Promise.all(
1480
- projectDependencies.map((dep) => {
1481
- /**
1482
- * We expect current dependency ids to be in the format of {groupId}:{artifactId}.
1483
- * For the legacy dependency we must fetch the corresponding coordinates (group, artifact ids) from the depot server
1484
- *
1485
- * @backwardCompatibility
1486
- */
1487
- if (dep.isLegacyDependency) {
1488
- return this.editorStore.depotServerClient
1489
- .getProjectById(dep.projectId)
1490
- .then((projects) => {
1491
- const projectsData = projects.map((p) =>
1492
- ProjectData.serialization.fromJson(p),
1493
- );
1494
- if (projectsData.length !== 1) {
1495
- throw new Error(
1496
- `Expected 1 project for project ID '${dep.projectId}'. Got ${
1497
- projectsData.length
1498
- } projects with coordinates ${projectsData
1499
- .map(
1500
- (i) =>
1501
- `'${generateGAVCoordinates(
1502
- i.groupId,
1503
- i.artifactId,
1504
- undefined,
1505
- )}'`,
1506
- )
1507
- .join(', ')}.`,
1508
- );
1509
- }
1510
- const project = projectsData[0] as ProjectData;
1511
- return new ProjectDependencyCoordinates(
1512
- project.groupId,
1513
- project.artifactId,
1514
- dep.versionId,
1515
- );
1516
- });
1517
- } else {
1518
- return Promise.resolve(
1519
- new ProjectDependencyCoordinates(
1520
- guaranteeNonNullable(dep.groupId),
1521
- guaranteeNonNullable(dep.artifactId),
1522
- dep.versionId,
1523
- ),
1524
- );
1525
- }
1526
- }),
1527
- );
1528
- }
1529
-
1530
- // -------------------------------------------------- UTILITIES -----------------------------------------------------
1531
-
1532
- getPackageableElementType(element: PackageableElement): string {
1533
- if (element instanceof PrimitiveType) {
1534
- return PACKAGEABLE_ELEMENT_TYPE.PRIMITIVE;
1535
- } else if (element instanceof Package) {
1536
- return PACKAGEABLE_ELEMENT_TYPE.PACKAGE;
1537
- } else if (element instanceof Class) {
1538
- return PACKAGEABLE_ELEMENT_TYPE.CLASS;
1539
- } else if (element instanceof Association) {
1540
- return PACKAGEABLE_ELEMENT_TYPE.ASSOCIATION;
1541
- } else if (element instanceof Enumeration) {
1542
- return PACKAGEABLE_ELEMENT_TYPE.ENUMERATION;
1543
- } else if (element instanceof Measure) {
1544
- return PACKAGEABLE_ELEMENT_TYPE.MEASURE;
1545
- } else if (element instanceof Unit) {
1546
- return PACKAGEABLE_ELEMENT_TYPE.UNIT;
1547
- } else if (element instanceof Profile) {
1548
- return PACKAGEABLE_ELEMENT_TYPE.PROFILE;
1549
- } else if (element instanceof ConcreteFunctionDefinition) {
1550
- return PACKAGEABLE_ELEMENT_TYPE.FUNCTION;
1551
- } else if (element instanceof FlatData) {
1552
- return PACKAGEABLE_ELEMENT_TYPE.FLAT_DATA_STORE;
1553
- } else if (element instanceof Database) {
1554
- return PACKAGEABLE_ELEMENT_TYPE.DATABASE;
1555
- } else if (element instanceof Mapping) {
1556
- return PACKAGEABLE_ELEMENT_TYPE.MAPPING;
1557
- } else if (element instanceof Service) {
1558
- return PACKAGEABLE_ELEMENT_TYPE.SERVICE;
1559
- } else if (element instanceof PackageableConnection) {
1560
- return PACKAGEABLE_ELEMENT_TYPE.CONNECTION;
1561
- } else if (element instanceof PackageableRuntime) {
1562
- return PACKAGEABLE_ELEMENT_TYPE.RUNTIME;
1563
- } else if (element instanceof FileGenerationSpecification) {
1564
- return PACKAGEABLE_ELEMENT_TYPE.FILE_GENERATION;
1565
- } else if (element instanceof GenerationSpecification) {
1566
- return PACKAGEABLE_ELEMENT_TYPE.GENERATION_SPECIFICATION;
1567
- } else if (element instanceof SectionIndex) {
1568
- return PACKAGEABLE_ELEMENT_TYPE.SECTION_INDEX;
1569
- } else if (element instanceof DataElement) {
1570
- return PACKAGEABLE_ELEMENT_TYPE.DATA;
1571
- }
1572
- const extraElementTypeLabelGetters = this.editorStore.pluginManager
1573
- .getApplicationPlugins()
1574
- .flatMap(
1575
- (plugin) =>
1576
- (
1577
- plugin as DSL_LegendStudioApplicationPlugin_Extension
1578
- ).getExtraElementClassifiers?.() ?? [],
1579
- );
1580
- for (const labelGetter of extraElementTypeLabelGetters) {
1581
- const label = labelGetter(element);
1582
- if (label) {
1583
- return label;
1584
- }
1585
- }
1586
- throw new UnsupportedOperationError(
1587
- `Can't get type label for element '${element.path}': no compatible label getter available from plugins`,
1588
- );
1589
- }
1590
- }