@finos/legend-application-studio 23.0.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 (1343) 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.js +1 -1
  8. package/lib/application/LegendStudio.js.map +1 -1
  9. package/lib/application/LegendStudioCodeSnippet.d.ts +45 -0
  10. package/lib/application/LegendStudioCodeSnippet.d.ts.map +1 -0
  11. package/lib/application/LegendStudioCodeSnippet.js +322 -0
  12. package/lib/application/LegendStudioCodeSnippet.js.map +1 -0
  13. package/lib/application/LegendStudioEvent.d.ts +12 -1
  14. package/lib/application/LegendStudioEvent.d.ts.map +1 -1
  15. package/lib/application/LegendStudioEvent.js +12 -0
  16. package/lib/application/LegendStudioEvent.js.map +1 -1
  17. package/lib/application/LegendStudioNavigation.d.ts +1 -2
  18. package/lib/application/LegendStudioNavigation.d.ts.map +1 -1
  19. package/lib/application/LegendStudioNavigation.js +1 -22
  20. package/lib/application/LegendStudioNavigation.js.map +1 -1
  21. package/lib/application/LegendStudioPluginManager.js +1 -1
  22. package/lib/application/LegendStudioPluginManager.js.map +1 -1
  23. package/lib/application/LegendStudioTesting.d.ts +47 -0
  24. package/lib/application/LegendStudioTesting.d.ts.map +1 -0
  25. package/lib/application/LegendStudioTesting.js +52 -0
  26. package/lib/application/LegendStudioTesting.js.map +1 -0
  27. package/lib/components/EditorComponentTestUtils.d.ts +1 -1
  28. package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
  29. package/lib/components/EditorComponentTestUtils.js +3 -3
  30. package/lib/components/EditorComponentTestUtils.js.map +1 -1
  31. package/lib/components/LegendStudioApplication.d.ts.map +1 -1
  32. package/lib/components/LegendStudioApplication.js +1 -1
  33. package/lib/components/LegendStudioApplication.js.map +1 -1
  34. package/lib/components/editor/ActivityBar.d.ts +1 -1
  35. package/lib/components/editor/ActivityBar.d.ts.map +1 -1
  36. package/lib/components/editor/ActivityBar.js +2 -2
  37. package/lib/components/editor/ActivityBar.js.map +1 -1
  38. package/lib/components/editor/Editor.js +1 -1
  39. package/lib/components/editor/Editor.js.map +1 -1
  40. package/lib/components/editor/EditorStoreProvider.d.ts +1 -1
  41. package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -1
  42. package/lib/components/editor/EditorStoreProvider.js +1 -1
  43. package/lib/components/editor/EditorStoreProvider.js.map +1 -1
  44. package/lib/components/editor/StatusBar.js +2 -2
  45. package/lib/components/editor/StatusBar.js.map +1 -1
  46. package/lib/components/editor/aux-panel/AuxiliaryPanel.js +1 -1
  47. package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
  48. package/lib/components/editor/aux-panel/Problems.js +1 -1
  49. package/lib/components/editor/aux-panel/Problems.js.map +1 -1
  50. package/lib/components/editor/edit-panel/EditPanel.js +19 -19
  51. package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
  52. package/lib/components/editor/edit-panel/FileGenerationViewer.js +1 -1
  53. package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
  54. package/lib/components/editor/edit-panel/FunctionEditor.d.ts +1 -1
  55. package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
  56. package/lib/components/editor/edit-panel/FunctionEditor.js +6 -6
  57. package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
  58. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +4 -4
  59. package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
  60. package/lib/components/editor/edit-panel/GrammarTextEditor.js +3 -3
  61. package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
  62. package/lib/components/editor/edit-panel/ModelImporter.js +2 -2
  63. package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
  64. package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +1 -1
  65. package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
  66. package/lib/components/editor/edit-panel/RuntimeEditor.js +3 -3
  67. package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
  68. package/lib/components/editor/edit-panel/UnsupportedElementEditor.js +1 -1
  69. package/lib/components/editor/edit-panel/UnsupportedElementEditor.js.map +1 -1
  70. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +1 -1
  71. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
  72. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +2 -2
  73. package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
  74. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +1 -1
  75. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
  76. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +1 -1
  77. package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
  78. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
  79. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
  80. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
  81. package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
  82. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +1 -1
  83. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
  84. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +3 -3
  85. package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  86. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
  87. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
  88. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +1 -1
  89. package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
  90. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +2 -2
  91. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
  92. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +5 -5
  93. package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
  94. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts +2 -2
  95. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
  96. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +3 -3
  97. package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
  98. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +1 -1
  99. package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
  100. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +1 -1
  101. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
  102. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +2 -2
  103. package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  104. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +1 -1
  105. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
  106. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +2 -2
  107. package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
  108. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +2 -2
  109. package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
  110. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +1 -1
  111. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
  112. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js +1 -1
  113. package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js.map +1 -1
  114. package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
  115. package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts.map +1 -1
  116. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts +2 -2
  117. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
  118. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +4 -4
  119. package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
  120. package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts +2 -2
  121. package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts.map +1 -1
  122. package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js +2 -2
  123. package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js.map +1 -1
  124. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +3 -3
  125. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
  126. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +2 -2
  127. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -1
  128. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +3 -3
  129. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
  130. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +2 -2
  131. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -1
  132. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +1 -1
  133. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
  134. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +1 -1
  135. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
  136. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +3 -3
  137. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
  138. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
  139. package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
  140. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +2 -2
  141. package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
  142. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +6 -6
  143. package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  144. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
  145. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
  146. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +4 -4
  147. package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
  148. package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
  149. package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
  150. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +9 -9
  151. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
  152. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
  153. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
  154. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +1 -1
  155. package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
  156. package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +5 -5
  157. package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
  158. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +2 -2
  159. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
  160. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +7 -7
  161. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  162. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts +1 -1
  163. package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
  164. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts +1 -1
  165. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts.map +1 -1
  166. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +7 -7
  167. package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
  168. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +1 -1
  169. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
  170. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +6 -6
  171. package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
  172. package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts +1 -1
  173. package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts.map +1 -1
  174. package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js +3 -3
  175. package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js.map +1 -1
  176. package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js +2 -2
  177. package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -1
  178. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +4 -4
  179. package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
  180. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
  181. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
  182. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +13 -8
  183. package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
  184. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
  185. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
  186. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +4 -4
  187. package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
  188. package/lib/components/editor/edit-panel/mapping-editor/TypeTree.d.ts.map +1 -0
  189. package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js +165 -0
  190. package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js.map +1 -0
  191. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
  192. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
  193. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +4 -4
  194. package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
  195. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +1 -1
  196. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  197. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +3 -3
  198. package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
  199. package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js +1 -1
  200. package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
  201. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +3 -3
  202. package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
  203. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +1 -1
  204. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
  205. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +3 -3
  206. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
  207. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
  208. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  209. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +1 -1
  210. package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  211. package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js +2 -2
  212. package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js.map +1 -1
  213. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +1 -1
  214. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
  215. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
  216. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
  217. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +1 -1
  218. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
  219. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +1 -1
  220. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
  221. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
  222. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
  223. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +4 -4
  224. package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
  225. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +1 -1
  226. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
  227. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +3 -3
  228. package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
  229. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +5 -5
  230. package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
  231. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +1 -1
  232. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
  233. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +6 -6
  234. package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
  235. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts +1 -1
  236. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
  237. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +1 -1
  238. package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
  239. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +4 -4
  240. package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
  241. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +3 -3
  242. package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
  243. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +4 -4
  244. package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
  245. package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +1 -1
  246. package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
  247. package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +1 -1
  248. package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -1
  249. package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js +1 -1
  250. package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js.map +1 -1
  251. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +1 -1
  252. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
  253. package/lib/components/editor/side-bar/CreateNewElementModal.js +3 -3
  254. package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
  255. package/lib/components/editor/side-bar/Explorer.js +8 -8
  256. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  257. package/lib/components/editor/side-bar/LocalChanges.js +6 -6
  258. package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
  259. package/lib/components/editor/side-bar/ProjectDependantsEditor.d.ts.map +1 -1
  260. package/lib/components/editor/side-bar/ProjectDependantsEditor.js +19 -7
  261. package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
  262. package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
  263. package/lib/components/editor/side-bar/ProjectOverview.js +3 -2
  264. package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
  265. package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
  266. package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -1
  267. package/lib/components/editor/side-bar/RegisterService.js +1 -1
  268. package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
  269. package/lib/components/editor/side-bar/SideBar.js +1 -1
  270. package/lib/components/editor/side-bar/SideBar.js.map +1 -1
  271. package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
  272. package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
  273. package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
  274. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  275. package/lib/components/editor/side-bar/WorkspaceReview.js +4 -4
  276. package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
  277. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
  278. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
  279. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +4 -4
  280. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
  281. package/lib/components/editor/side-bar/WorkspaceUpdater.js +4 -4
  282. package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
  283. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +1 -1
  284. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
  285. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +3 -3
  286. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
  287. package/lib/components/element-preview/ElementPreview.d.ts +2 -0
  288. package/lib/components/element-preview/ElementPreview.d.ts.map +1 -0
  289. package/lib/components/element-preview/ElementPreview.js +2 -0
  290. package/lib/components/element-preview/ElementPreview.js.map +1 -0
  291. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts +27 -0
  292. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts.map +1 -0
  293. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +90 -0
  294. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -0
  295. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +43 -0
  296. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -0
  297. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +301 -0
  298. package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -0
  299. package/lib/components/project-view/ProjectViewer.d.ts.map +1 -0
  300. package/lib/components/project-view/ProjectViewer.js +151 -0
  301. package/lib/components/project-view/ProjectViewer.js.map +1 -0
  302. package/lib/components/project-view/ProjectViewerStoreProvider.d.ts +23 -0
  303. package/lib/components/project-view/ProjectViewerStoreProvider.d.ts.map +1 -0
  304. package/lib/components/project-view/ProjectViewerStoreProvider.js +36 -0
  305. package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -0
  306. package/lib/components/shared/ElementIconUtils.d.ts +1 -1
  307. package/lib/components/shared/ElementIconUtils.d.ts.map +1 -1
  308. package/lib/components/shared/ElementIconUtils.js +1 -1
  309. package/lib/components/shared/ElementIconUtils.js.map +1 -1
  310. package/lib/components/workspace-review/WorkspaceReview.js +1 -1
  311. package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
  312. package/lib/components/workspace-review/WorkspaceReviewPanel.js +1 -1
  313. package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +1 -1
  314. package/lib/components/workspace-review/WorkspaceReviewSideBar.js +3 -3
  315. package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
  316. package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js +1 -1
  317. package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js.map +1 -1
  318. package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
  319. package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
  320. package/lib/components/workspace-setup/ProjectSelectorUtils.d.ts.map +1 -0
  321. package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -0
  322. package/lib/components/workspace-setup/WorkspaceSelectorUtils.d.ts.map +1 -0
  323. package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -0
  324. package/lib/components/workspace-setup/WorkspaceSetup.js +3 -3
  325. package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
  326. package/lib/index.css +2 -2
  327. package/lib/index.css.map +1 -1
  328. package/lib/index.d.ts +42 -42
  329. package/lib/index.d.ts.map +1 -1
  330. package/lib/index.js +41 -41
  331. package/lib/index.js.map +1 -1
  332. package/lib/package.json +1 -1
  333. package/lib/stores/LegendStudioApplicationPlugin.d.ts +4 -4
  334. package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
  335. package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -1
  336. package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
  337. package/lib/stores/LegendStudioBaseStore.js +1 -0
  338. package/lib/stores/LegendStudioBaseStore.js.map +1 -1
  339. package/lib/stores/editor/AbstractConflictResolutionState.d.ts.map +1 -0
  340. package/lib/stores/editor/AbstractConflictResolutionState.js.map +1 -0
  341. package/lib/stores/editor/ChangeDetectionState.d.ts.map +1 -0
  342. package/lib/stores/editor/ChangeDetectionState.js +599 -0
  343. package/lib/stores/editor/ChangeDetectionState.js.map +1 -0
  344. package/lib/stores/editor/DependencyProjectViewerHelper.d.ts +19 -0
  345. package/lib/stores/editor/DependencyProjectViewerHelper.d.ts.map +1 -0
  346. package/lib/stores/editor/DependencyProjectViewerHelper.js +23 -0
  347. package/lib/stores/editor/DependencyProjectViewerHelper.js.map +1 -0
  348. package/lib/stores/editor/EditorConfig.d.ts.map +1 -0
  349. package/lib/stores/editor/EditorConfig.js.map +1 -0
  350. package/lib/stores/editor/EditorGraphState.d.ts.map +1 -0
  351. package/lib/stores/editor/EditorGraphState.js +529 -0
  352. package/lib/stores/editor/EditorGraphState.js.map +1 -0
  353. package/lib/stores/editor/EditorSDLCState.d.ts.map +1 -0
  354. package/lib/stores/editor/EditorSDLCState.js +271 -0
  355. package/lib/stores/editor/EditorSDLCState.js.map +1 -0
  356. package/lib/stores/editor/EditorStore.d.ts +135 -0
  357. package/lib/stores/editor/EditorStore.d.ts.map +1 -0
  358. package/lib/stores/editor/EditorStore.js +701 -0
  359. package/lib/stores/editor/EditorStore.js.map +1 -0
  360. package/lib/stores/editor/EditorStoreTestUtils.d.ts +21 -0
  361. package/lib/stores/editor/EditorStoreTestUtils.d.ts.map +1 -0
  362. package/lib/stores/editor/EditorStoreTestUtils.js +53 -0
  363. package/lib/stores/editor/EditorStoreTestUtils.js.map +1 -0
  364. package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -0
  365. package/lib/stores/editor/EditorTabManagerState.js.map +1 -0
  366. package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts.map +1 -0
  367. package/lib/stores/editor/EmbeddedQueryBuilderState.js.map +1 -0
  368. package/lib/stores/editor/ExplorerTreeState.d.ts.map +1 -0
  369. package/lib/stores/editor/ExplorerTreeState.js +328 -0
  370. package/lib/stores/editor/ExplorerTreeState.js.map +1 -0
  371. package/lib/stores/editor/GraphEditFormModeState.d.ts.map +1 -0
  372. package/lib/stores/editor/GraphEditFormModeState.js +370 -0
  373. package/lib/stores/editor/GraphEditFormModeState.js.map +1 -0
  374. package/lib/stores/editor/GraphEditGrammarModeState.d.ts.map +1 -0
  375. package/lib/stores/editor/GraphEditGrammarModeState.js +315 -0
  376. package/lib/stores/editor/GraphEditGrammarModeState.js.map +1 -0
  377. package/lib/stores/editor/GraphEditorMode.d.ts.map +1 -0
  378. package/lib/stores/editor/GraphEditorMode.js.map +1 -0
  379. package/lib/stores/editor/NewElementState.d.ts +3 -3
  380. package/lib/stores/editor/NewElementState.d.ts.map +1 -1
  381. package/lib/stores/editor/NewElementState.js +9 -9
  382. package/lib/stores/editor/NewElementState.js.map +1 -1
  383. package/lib/stores/editor/StandardEditorMode.d.ts +1 -1
  384. package/lib/stores/editor/StandardEditorMode.d.ts.map +1 -1
  385. package/lib/stores/editor/aux-panel-state/DevToolState.d.ts.map +1 -0
  386. package/lib/stores/editor/aux-panel-state/DevToolState.js.map +1 -0
  387. package/lib/stores/editor/editor-state/EditorState.d.ts.map +1 -0
  388. package/lib/stores/editor/editor-state/EditorState.js.map +1 -0
  389. package/lib/stores/editor/editor-state/ExternalFormatState.d.ts.map +1 -0
  390. package/lib/stores/editor/editor-state/ExternalFormatState.js +83 -0
  391. package/lib/stores/editor/editor-state/ExternalFormatState.js.map +1 -0
  392. package/lib/stores/editor/editor-state/FileGenerationState.d.ts.map +1 -0
  393. package/lib/stores/editor/editor-state/FileGenerationState.js +174 -0
  394. package/lib/stores/editor/editor-state/FileGenerationState.js.map +1 -0
  395. package/lib/stores/editor/editor-state/FileGenerationViewerState.d.ts.map +1 -0
  396. package/lib/stores/editor/editor-state/FileGenerationViewerState.js.map +1 -0
  397. package/lib/stores/editor/editor-state/FileSystemState.d.ts.map +1 -0
  398. package/lib/stores/editor/editor-state/FileSystemState.js.map +1 -0
  399. package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.d.ts.map +1 -0
  400. package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.js.map +1 -0
  401. package/lib/stores/editor/editor-state/GrammarTextEditorState.d.ts.map +1 -0
  402. package/lib/stores/editor/editor-state/GrammarTextEditorState.js +158 -0
  403. package/lib/stores/editor/editor-state/GrammarTextEditorState.js.map +1 -0
  404. package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -0
  405. package/lib/stores/editor/editor-state/GraphGenerationState.js +344 -0
  406. package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -0
  407. package/lib/stores/editor/editor-state/ModelImporterState.d.ts +101 -0
  408. package/lib/stores/editor/editor-state/ModelImporterState.d.ts.map +1 -0
  409. package/lib/stores/editor/editor-state/ModelImporterState.js +367 -0
  410. package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -0
  411. package/lib/stores/editor/editor-state/UnsupportedElementEditorState.d.ts.map +1 -0
  412. package/lib/stores/editor/editor-state/UnsupportedElementEditorState.js.map +1 -0
  413. package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.d.ts.map +1 -0
  414. package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.js.map +1 -0
  415. package/lib/stores/editor/editor-state/element-editor-state/ClassState.d.ts.map +1 -0
  416. package/lib/stores/editor/editor-state/element-editor-state/ClassState.js.map +1 -0
  417. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -0
  418. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -0
  419. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +1 -0
  420. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +172 -0
  421. package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -0
  422. package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -0
  423. package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js +70 -0
  424. package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -0
  425. package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +1 -0
  426. package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.js.map +1 -0
  427. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -0
  428. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -0
  429. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -0
  430. package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -0
  431. package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.d.ts.map +1 -0
  432. package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js.map +1 -0
  433. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -0
  434. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -0
  435. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -0
  436. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +425 -0
  437. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -0
  438. package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +1 -0
  439. package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +1 -0
  440. package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.d.ts.map +1 -0
  441. package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js.map +1 -0
  442. package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -0
  443. package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -0
  444. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +1 -0
  445. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -0
  446. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -0
  447. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +398 -0
  448. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -0
  449. package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +1 -0
  450. package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -0
  451. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +108 -0
  452. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -0
  453. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -0
  454. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -0
  455. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -0
  456. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -0
  457. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -0
  458. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +1 -0
  459. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +42 -0
  460. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +1 -0
  461. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -0
  462. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js +483 -0
  463. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -0
  464. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +1 -0
  465. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +1 -0
  466. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -0
  467. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -0
  468. package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -0
  469. package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -0
  470. package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +1 -0
  471. package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +1 -0
  472. package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +1 -0
  473. package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -0
  474. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -0
  475. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -0
  476. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -0
  477. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -0
  478. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +55 -0
  479. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -0
  480. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +229 -0
  481. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -0
  482. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +1 -0
  483. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +1 -0
  484. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -0
  485. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +247 -0
  486. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -0
  487. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -0
  488. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -0
  489. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -0
  490. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +224 -0
  491. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -0
  492. package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -0
  493. package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -0
  494. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -0
  495. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +143 -0
  496. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -0
  497. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +1 -0
  498. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -0
  499. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +1 -0
  500. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -0
  501. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -0
  502. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +179 -0
  503. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -0
  504. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -0
  505. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +212 -0
  506. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -0
  507. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +1 -0
  508. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +315 -0
  509. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -0
  510. package/lib/stores/editor/shared/DnDUtils.d.ts.map +1 -0
  511. package/lib/stores/editor/shared/DnDUtils.js.map +1 -0
  512. package/lib/stores/editor/shared/FileSystemTreeUtils.d.ts.map +1 -0
  513. package/lib/stores/editor/shared/FileSystemTreeUtils.js.map +1 -0
  514. package/lib/stores/editor/shared/MockDataUtils.d.ts.map +1 -0
  515. package/lib/stores/editor/shared/MockDataUtils.js.map +1 -0
  516. package/lib/stores/editor/shared/ModelClassifierUtils.d.ts.map +1 -0
  517. package/lib/stores/editor/shared/ModelClassifierUtils.js.map +1 -0
  518. package/lib/stores/editor/shared/PackageTreeUtils.d.ts.map +1 -0
  519. package/lib/stores/editor/shared/PackageTreeUtils.js.map +1 -0
  520. package/lib/stores/editor/shared/TestableUtils.d.ts +45 -0
  521. package/lib/stores/editor/shared/TestableUtils.d.ts.map +1 -0
  522. package/lib/stores/editor/shared/TestableUtils.js +143 -0
  523. package/lib/stores/editor/shared/TestableUtils.js.map +1 -0
  524. package/lib/stores/editor/shared/TreeUtils.d.ts.map +1 -0
  525. package/lib/stores/editor/shared/TreeUtils.js.map +1 -0
  526. package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
  527. package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.js.map +1 -0
  528. package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
  529. package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
  530. package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
  531. package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
  532. package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
  533. package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
  534. package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
  535. package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -0
  536. package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.d.ts.map +1 -0
  537. package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.js.map +1 -0
  538. package/lib/stores/editor/shared/modifier/GraphModifierHelper.d.ts.map +1 -0
  539. package/lib/stores/editor/shared/modifier/GraphModifierHelper.js.map +1 -0
  540. package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +1 -0
  541. package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +1 -0
  542. package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
  543. package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
  544. package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
  545. package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -0
  546. package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.d.ts.map +1 -0
  547. package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.js.map +1 -0
  548. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts +51 -0
  549. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -0
  550. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +237 -0
  551. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -0
  552. package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts.map +1 -0
  553. package/lib/stores/editor/sidebar-state/LocalChangesState.js +543 -0
  554. package/lib/stores/editor/sidebar-state/LocalChangesState.js.map +1 -0
  555. package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.d.ts.map +1 -0
  556. package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.js.map +1 -0
  557. package/lib/stores/editor/sidebar-state/ProjectOverviewState.d.ts.map +1 -0
  558. package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +234 -0
  559. package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -0
  560. package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -0
  561. package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +356 -0
  562. package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -0
  563. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.d.ts.map +1 -0
  564. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js +272 -0
  565. package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js.map +1 -0
  566. package/lib/stores/editor/sidebar-state/WorkspaceSyncState.d.ts.map +1 -0
  567. package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js +382 -0
  568. package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js.map +1 -0
  569. package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -0
  570. package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js +474 -0
  571. package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -0
  572. package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -0
  573. package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js +215 -0
  574. package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js.map +1 -0
  575. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts +100 -0
  576. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -0
  577. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -0
  578. package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +52 -0
  579. package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  580. package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  581. package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +45 -0
  582. package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  583. package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  584. package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +129 -0
  585. package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  586. package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  587. package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +25 -0
  588. package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  589. package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  590. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +31 -0
  591. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  592. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  593. package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +97 -0
  594. package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
  595. package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +1 -0
  596. package/lib/stores/project-view/ProjectViewerEditorMode.d.ts.map +1 -0
  597. package/lib/stores/project-view/ProjectViewerEditorMode.js.map +1 -0
  598. package/lib/stores/project-view/ProjectViewerStore.d.ts +56 -0
  599. package/lib/stores/project-view/ProjectViewerStore.d.ts.map +1 -0
  600. package/lib/stores/project-view/ProjectViewerStore.js +351 -0
  601. package/lib/stores/project-view/ProjectViewerStore.js.map +1 -0
  602. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +1 -1
  603. package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +1 -1
  604. package/lib/stores/workspace-review/WorkspaceReviewStore.js +3 -4
  605. package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
  606. package/package.json +4 -4
  607. package/src/application/LegendStudio.tsx +1 -1
  608. package/src/application/LegendStudioEvent.ts +17 -0
  609. package/src/application/LegendStudioNavigation.ts +1 -42
  610. package/src/application/LegendStudioPluginManager.ts +1 -1
  611. package/src/components/EditorComponentTestUtils.tsx +3 -3
  612. package/src/components/EmbeddedQueryBuilder.tsx +1 -1
  613. package/src/components/LegendStudioApplication.tsx +8 -1
  614. package/src/components/editor/ActivityBar.tsx +5 -2
  615. package/src/components/editor/Editor.tsx +1 -1
  616. package/src/components/editor/EditorStoreProvider.tsx +1 -1
  617. package/src/components/editor/StatusBar.tsx +2 -2
  618. package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +1 -1
  619. package/src/components/editor/aux-panel/Problems.tsx +2 -2
  620. package/src/components/editor/edit-panel/EditPanel.tsx +19 -19
  621. package/src/components/editor/edit-panel/FileGenerationViewer.tsx +1 -1
  622. package/src/components/editor/edit-panel/FunctionEditor.tsx +7 -7
  623. package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +5 -5
  624. package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -7
  625. package/src/components/editor/edit-panel/ModelImporter.tsx +2 -2
  626. package/src/components/editor/edit-panel/RuntimeEditor.tsx +7 -7
  627. package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +1 -1
  628. package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +3 -3
  629. package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +1 -1
  630. package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +2 -2
  631. package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +5 -5
  632. package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +2 -2
  633. package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +6 -6
  634. package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +5 -5
  635. package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +1 -1
  636. package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +2 -2
  637. package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +2 -2
  638. package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +2 -2
  639. package/src/components/editor/edit-panel/element-generation-editor/ElementNativeView.tsx +2 -2
  640. package/src/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.tsx +2 -2
  641. package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +6 -6
  642. package/src/components/editor/edit-panel/element-generation-editor/FileSystemViewer.tsx +4 -4
  643. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +3 -3
  644. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx +4 -4
  645. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +3 -3
  646. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +3 -3
  647. package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +1 -1
  648. package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +3 -3
  649. package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +6 -6
  650. package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +5 -5
  651. package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +2 -2
  652. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +11 -11
  653. package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +1 -1
  654. package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +6 -6
  655. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +7 -7
  656. package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +1 -1
  657. package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +7 -7
  658. package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +6 -6
  659. package/src/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.tsx +3 -3
  660. package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +2 -2
  661. package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +4 -4
  662. package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +32 -9
  663. package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +5 -5
  664. package/src/components/editor/edit-panel/mapping-editor/TypeTree.tsx +293 -0
  665. package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
  666. package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +1 -1
  667. package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +3 -3
  668. package/src/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.tsx +1 -1
  669. package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +3 -3
  670. package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +3 -3
  671. package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +2 -2
  672. package/src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx +2 -2
  673. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +4 -4
  674. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +2 -2
  675. package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +6 -6
  676. package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +3 -3
  677. package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +5 -5
  678. package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +6 -6
  679. package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +3 -3
  680. package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +4 -4
  681. package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +3 -3
  682. package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +4 -4
  683. package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +1 -1
  684. package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +1 -1
  685. package/src/components/editor/edit-panel/uml-editor/UMLEditor.tsx +1 -1
  686. package/src/components/editor/side-bar/CreateNewElementModal.tsx +8 -8
  687. package/src/components/editor/side-bar/Explorer.tsx +9 -9
  688. package/src/components/editor/side-bar/LocalChanges.tsx +6 -6
  689. package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +16 -20
  690. package/src/components/editor/side-bar/ProjectOverview.tsx +3 -2
  691. package/src/components/editor/side-bar/RegisterService.tsx +2 -2
  692. package/src/components/editor/side-bar/SideBar.tsx +1 -1
  693. package/src/components/editor/side-bar/WorkflowManager.tsx +2 -2
  694. package/src/components/editor/side-bar/WorkspaceReview.tsx +4 -4
  695. package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +4 -4
  696. package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +4 -4
  697. package/src/components/editor/side-bar/WorkspaceUpdater.tsx +4 -4
  698. package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +4 -4
  699. package/src/components/element-preview/ElementPreview.tsx +0 -0
  700. package/src/components/extensions/Core_LegendStudioApplicationPlugin.tsx +112 -0
  701. package/src/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +453 -0
  702. package/src/components/project-view/ProjectViewer.tsx +356 -0
  703. package/src/components/project-view/ProjectViewerStoreProvider.tsx +56 -0
  704. package/src/components/shared/ElementIconUtils.tsx +2 -2
  705. package/src/components/workspace-review/WorkspaceReview.tsx +1 -1
  706. package/src/components/workspace-review/WorkspaceReviewPanel.tsx +2 -2
  707. package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +3 -3
  708. package/src/components/workspace-review/WorkspaceReviewStoreProvider.tsx +1 -1
  709. package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
  710. package/src/components/workspace-setup/WorkspaceSetup.tsx +3 -3
  711. package/src/index.ts +42 -41
  712. package/src/stores/LegendStudioApplicationPlugin.ts +7 -4
  713. package/src/stores/LegendStudioBaseStore.ts +1 -0
  714. package/src/stores/editor/ChangeDetectionState.ts +954 -0
  715. package/src/stores/editor/DependencyProjectViewerHelper.ts +39 -0
  716. package/src/stores/editor/EditorGraphState.ts +841 -0
  717. package/src/stores/editor/EditorSDLCState.ts +480 -0
  718. package/src/stores/editor/EditorStore.ts +977 -0
  719. package/src/stores/editor/EditorStoreTestUtils.ts +70 -0
  720. package/src/stores/editor/EditorTabManagerState.ts +203 -0
  721. package/src/stores/editor/ExplorerTreeState.ts +548 -0
  722. package/src/stores/editor/GraphEditFormModeState.ts +605 -0
  723. package/src/stores/editor/GraphEditGrammarModeState.ts +512 -0
  724. package/src/stores/editor/NewElementState.ts +12 -12
  725. package/src/stores/editor/StandardEditorMode.ts +1 -1
  726. package/src/stores/editor/editor-state/ExternalFormatState.ts +119 -0
  727. package/src/stores/editor/editor-state/FileGenerationState.ts +285 -0
  728. package/src/stores/editor/editor-state/GrammarTextEditorState.ts +201 -0
  729. package/src/stores/editor/editor-state/GraphGenerationState.ts +560 -0
  730. package/src/stores/editor/editor-state/ModelImporterState.ts +539 -0
  731. package/src/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +266 -0
  732. package/src/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.ts +100 -0
  733. package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +935 -0
  734. package/src/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.ts +539 -0
  735. package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +644 -0
  736. package/src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts +351 -0
  737. package/src/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +585 -0
  738. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.ts +1512 -0
  739. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +794 -0
  740. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +58 -0
  741. package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.ts +980 -0
  742. package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +368 -0
  743. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +398 -0
  744. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +314 -0
  745. package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +213 -0
  746. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +244 -0
  747. package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +346 -0
  748. package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +450 -0
  749. package/src/stores/editor/shared/PackageTreeUtils.ts +469 -0
  750. package/src/stores/editor/shared/TestableUtils.ts +219 -0
  751. package/src/stores/editor/sidebar-state/BulkServiceRegistrationState.ts +370 -0
  752. package/src/stores/editor/sidebar-state/LocalChangesState.ts +876 -0
  753. package/src/stores/editor/sidebar-state/ProjectOverviewState.ts +391 -0
  754. package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +645 -0
  755. package/src/stores/editor/sidebar-state/WorkspaceReviewState.ts +409 -0
  756. package/src/stores/editor/sidebar-state/WorkspaceSyncState.ts +578 -0
  757. package/src/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +736 -0
  758. package/src/stores/editor/sidebar-state/WorkspaceUpdaterState.ts +367 -0
  759. package/src/stores/editor/sidebar-state/testable/GlobalTestRunnerState.ts +641 -0
  760. package/src/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +70 -0
  761. package/src/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +52 -0
  762. package/src/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +212 -0
  763. package/src/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +32 -0
  764. package/src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +40 -0
  765. package/src/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +167 -0
  766. package/src/stores/project-view/ProjectViewerStore.ts +614 -0
  767. package/src/stores/workspace-review/WorkspaceReviewStore.ts +4 -5
  768. package/tsconfig.json +114 -115
  769. package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +0 -27
  770. package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +0 -1
  771. package/lib/components/Core_LegendStudioApplicationPlugin.js +0 -90
  772. package/lib/components/Core_LegendStudioApplicationPlugin.js.map +0 -1
  773. package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts +0 -21
  774. package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts.map +0 -1
  775. package/lib/components/DSL_ExternalFormat_CodeSnippets.js +0 -74
  776. package/lib/components/DSL_ExternalFormat_CodeSnippets.js.map +0 -1
  777. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +0 -43
  778. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +0 -1
  779. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +0 -301
  780. package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +0 -1
  781. package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +0 -1
  782. package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.js.map +0 -1
  783. package/lib/components/LegendStudioTestID.d.ts +0 -47
  784. package/lib/components/LegendStudioTestID.d.ts.map +0 -1
  785. package/lib/components/LegendStudioTestID.js +0 -52
  786. package/lib/components/LegendStudioTestID.js.map +0 -1
  787. package/lib/components/project-viewer/ProjectViewer.d.ts.map +0 -1
  788. package/lib/components/project-viewer/ProjectViewer.js +0 -151
  789. package/lib/components/project-viewer/ProjectViewer.js.map +0 -1
  790. package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts +0 -23
  791. package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts.map +0 -1
  792. package/lib/components/project-viewer/ProjectViewerStoreProvider.js +0 -36
  793. package/lib/components/project-viewer/ProjectViewerStoreProvider.js.map +0 -1
  794. package/lib/components/shared/MultiplicityBadge.d.ts +0 -21
  795. package/lib/components/shared/MultiplicityBadge.d.ts.map +0 -1
  796. package/lib/components/shared/MultiplicityBadge.js +0 -25
  797. package/lib/components/shared/MultiplicityBadge.js.map +0 -1
  798. package/lib/components/shared/ProjectSelectorUtils.d.ts.map +0 -1
  799. package/lib/components/shared/ProjectSelectorUtils.js.map +0 -1
  800. package/lib/components/shared/TypeTree.d.ts.map +0 -1
  801. package/lib/components/shared/TypeTree.js +0 -165
  802. package/lib/components/shared/TypeTree.js.map +0 -1
  803. package/lib/components/shared/WorkspaceSelectorUtils.d.ts.map +0 -1
  804. package/lib/components/shared/WorkspaceSelectorUtils.js.map +0 -1
  805. package/lib/stores/AbstractConflictResolutionState.d.ts.map +0 -1
  806. package/lib/stores/AbstractConflictResolutionState.js.map +0 -1
  807. package/lib/stores/ChangeDetectionEvent.d.ts +0 -29
  808. package/lib/stores/ChangeDetectionEvent.d.ts.map +0 -1
  809. package/lib/stores/ChangeDetectionEvent.js +0 -31
  810. package/lib/stores/ChangeDetectionEvent.js.map +0 -1
  811. package/lib/stores/ChangeDetectionState.d.ts.map +0 -1
  812. package/lib/stores/ChangeDetectionState.js +0 -599
  813. package/lib/stores/ChangeDetectionState.js.map +0 -1
  814. package/lib/stores/Core_CodeSnippets.d.ts +0 -45
  815. package/lib/stores/Core_CodeSnippets.d.ts.map +0 -1
  816. package/lib/stores/Core_CodeSnippets.js +0 -322
  817. package/lib/stores/Core_CodeSnippets.js.map +0 -1
  818. package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +0 -52
  819. package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  820. package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  821. package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +0 -45
  822. package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  823. package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  824. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -129
  825. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  826. package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  827. package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +0 -25
  828. package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  829. package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  830. package/lib/stores/DependencyProjectViewerHelper.d.ts +0 -19
  831. package/lib/stores/DependencyProjectViewerHelper.d.ts.map +0 -1
  832. package/lib/stores/DependencyProjectViewerHelper.js +0 -23
  833. package/lib/stores/DependencyProjectViewerHelper.js.map +0 -1
  834. package/lib/stores/EditorConfig.d.ts.map +0 -1
  835. package/lib/stores/EditorConfig.js.map +0 -1
  836. package/lib/stores/EditorGraphState.d.ts.map +0 -1
  837. package/lib/stores/EditorGraphState.js +0 -529
  838. package/lib/stores/EditorGraphState.js.map +0 -1
  839. package/lib/stores/EditorSDLCState.d.ts.map +0 -1
  840. package/lib/stores/EditorSDLCState.js +0 -272
  841. package/lib/stores/EditorSDLCState.js.map +0 -1
  842. package/lib/stores/EditorStore.d.ts +0 -135
  843. package/lib/stores/EditorStore.d.ts.map +0 -1
  844. package/lib/stores/EditorStore.js +0 -702
  845. package/lib/stores/EditorStore.js.map +0 -1
  846. package/lib/stores/EditorStoreTestUtils.d.ts +0 -21
  847. package/lib/stores/EditorStoreTestUtils.d.ts.map +0 -1
  848. package/lib/stores/EditorStoreTestUtils.js +0 -53
  849. package/lib/stores/EditorStoreTestUtils.js.map +0 -1
  850. package/lib/stores/EditorTabManagerState.d.ts.map +0 -1
  851. package/lib/stores/EditorTabManagerState.js.map +0 -1
  852. package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +0 -1
  853. package/lib/stores/EmbeddedQueryBuilderState.js.map +0 -1
  854. package/lib/stores/ExplorerTreeState.d.ts.map +0 -1
  855. package/lib/stores/ExplorerTreeState.js +0 -328
  856. package/lib/stores/ExplorerTreeState.js.map +0 -1
  857. package/lib/stores/GraphEditFormModeState.d.ts.map +0 -1
  858. package/lib/stores/GraphEditFormModeState.js +0 -370
  859. package/lib/stores/GraphEditFormModeState.js.map +0 -1
  860. package/lib/stores/GraphEditGrammarModeState.d.ts.map +0 -1
  861. package/lib/stores/GraphEditGrammarModeState.js +0 -315
  862. package/lib/stores/GraphEditGrammarModeState.js.map +0 -1
  863. package/lib/stores/GraphEditorMode.d.ts.map +0 -1
  864. package/lib/stores/GraphEditorMode.js.map +0 -1
  865. package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +0 -31
  866. package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  867. package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  868. package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +0 -97
  869. package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  870. package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  871. package/lib/stores/aux-panel-state/DevToolState.d.ts.map +0 -1
  872. package/lib/stores/aux-panel-state/DevToolState.js.map +0 -1
  873. package/lib/stores/editor-state/EditorState.d.ts.map +0 -1
  874. package/lib/stores/editor-state/EditorState.js.map +0 -1
  875. package/lib/stores/editor-state/ExternalFormatState.d.ts.map +0 -1
  876. package/lib/stores/editor-state/ExternalFormatState.js +0 -83
  877. package/lib/stores/editor-state/ExternalFormatState.js.map +0 -1
  878. package/lib/stores/editor-state/FileGenerationState.d.ts.map +0 -1
  879. package/lib/stores/editor-state/FileGenerationState.js +0 -174
  880. package/lib/stores/editor-state/FileGenerationState.js.map +0 -1
  881. package/lib/stores/editor-state/FileGenerationViewerState.d.ts.map +0 -1
  882. package/lib/stores/editor-state/FileGenerationViewerState.js.map +0 -1
  883. package/lib/stores/editor-state/FileSystemState.d.ts.map +0 -1
  884. package/lib/stores/editor-state/FileSystemState.js.map +0 -1
  885. package/lib/stores/editor-state/GenerationSpecificationEditorState.d.ts.map +0 -1
  886. package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +0 -1
  887. package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +0 -1
  888. package/lib/stores/editor-state/GrammarTextEditorState.js +0 -158
  889. package/lib/stores/editor-state/GrammarTextEditorState.js.map +0 -1
  890. package/lib/stores/editor-state/GraphGenerationState.d.ts.map +0 -1
  891. package/lib/stores/editor-state/GraphGenerationState.js +0 -344
  892. package/lib/stores/editor-state/GraphGenerationState.js.map +0 -1
  893. package/lib/stores/editor-state/ModelImporterState.d.ts +0 -101
  894. package/lib/stores/editor-state/ModelImporterState.d.ts.map +0 -1
  895. package/lib/stores/editor-state/ModelImporterState.js +0 -367
  896. package/lib/stores/editor-state/ModelImporterState.js.map +0 -1
  897. package/lib/stores/editor-state/UnsupportedElementEditorState.d.ts.map +0 -1
  898. package/lib/stores/editor-state/UnsupportedElementEditorState.js.map +0 -1
  899. package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts.map +0 -1
  900. package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +0 -1
  901. package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +0 -1
  902. package/lib/stores/editor-state/element-editor-state/ClassState.js.map +0 -1
  903. package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +0 -1
  904. package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +0 -1
  905. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +0 -1
  906. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +0 -172
  907. package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +0 -1
  908. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +0 -1
  909. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +0 -70
  910. package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +0 -1
  911. package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +0 -1
  912. package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.js.map +0 -1
  913. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +0 -1
  914. package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +0 -1
  915. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +0 -1
  916. package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +0 -1
  917. package/lib/stores/editor-state/element-editor-state/UMLEditorState.d.ts.map +0 -1
  918. package/lib/stores/editor-state/element-editor-state/UMLEditorState.js.map +0 -1
  919. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +0 -1
  920. package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +0 -1
  921. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +0 -1
  922. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +0 -425
  923. package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +0 -1
  924. package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +0 -1
  925. package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +0 -1
  926. package/lib/stores/editor-state/element-editor-state/data/DataEditorState.d.ts.map +0 -1
  927. package/lib/stores/editor-state/element-editor-state/data/DataEditorState.js.map +0 -1
  928. package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +0 -1
  929. package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +0 -1
  930. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +0 -1
  931. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +0 -1
  932. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +0 -1
  933. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +0 -398
  934. package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +0 -1
  935. package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +0 -1
  936. package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +0 -1
  937. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +0 -108
  938. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +0 -1
  939. package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +0 -1
  940. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +0 -1
  941. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +0 -1
  942. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +0 -1
  943. package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +0 -1
  944. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +0 -1
  945. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +0 -42
  946. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +0 -1
  947. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +0 -1
  948. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +0 -483
  949. package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +0 -1
  950. package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +0 -1
  951. package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +0 -1
  952. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +0 -1
  953. package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +0 -1
  954. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +0 -1
  955. package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +0 -1
  956. package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +0 -1
  957. package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +0 -1
  958. package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +0 -1
  959. package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +0 -1
  960. package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +0 -1
  961. package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +0 -1
  962. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +0 -1
  963. package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +0 -1
  964. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +0 -55
  965. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +0 -1
  966. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +0 -229
  967. package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +0 -1
  968. package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +0 -1
  969. package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +0 -1
  970. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +0 -1
  971. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +0 -247
  972. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +0 -1
  973. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +0 -1
  974. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +0 -1
  975. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +0 -1
  976. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +0 -224
  977. package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +0 -1
  978. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +0 -1
  979. package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +0 -1
  980. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +0 -1
  981. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +0 -143
  982. package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +0 -1
  983. package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +0 -1
  984. package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +0 -1
  985. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +0 -1
  986. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +0 -1
  987. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +0 -1
  988. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +0 -179
  989. package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +0 -1
  990. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +0 -1
  991. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +0 -212
  992. package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +0 -1
  993. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +0 -1
  994. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +0 -315
  995. package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +0 -1
  996. package/lib/stores/project-viewer/ProjectViewerEditorMode.d.ts.map +0 -1
  997. package/lib/stores/project-viewer/ProjectViewerEditorMode.js.map +0 -1
  998. package/lib/stores/project-viewer/ProjectViewerStore.d.ts +0 -56
  999. package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +0 -1
  1000. package/lib/stores/project-viewer/ProjectViewerStore.js +0 -351
  1001. package/lib/stores/project-viewer/ProjectViewerStore.js.map +0 -1
  1002. package/lib/stores/shared/DnDUtils.d.ts.map +0 -1
  1003. package/lib/stores/shared/DnDUtils.js.map +0 -1
  1004. package/lib/stores/shared/FileSystemTreeUtils.d.ts.map +0 -1
  1005. package/lib/stores/shared/FileSystemTreeUtils.js.map +0 -1
  1006. package/lib/stores/shared/MockDataUtils.d.ts.map +0 -1
  1007. package/lib/stores/shared/MockDataUtils.js.map +0 -1
  1008. package/lib/stores/shared/ModelClassifierUtils.d.ts.map +0 -1
  1009. package/lib/stores/shared/ModelClassifierUtils.js.map +0 -1
  1010. package/lib/stores/shared/PackageTreeUtils.d.ts.map +0 -1
  1011. package/lib/stores/shared/PackageTreeUtils.js.map +0 -1
  1012. package/lib/stores/shared/TreeUtils.d.ts.map +0 -1
  1013. package/lib/stores/shared/TreeUtils.js.map +0 -1
  1014. package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +0 -1
  1015. package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.js.map +0 -1
  1016. package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +0 -1
  1017. package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +0 -1
  1018. package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +0 -1
  1019. package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +0 -1
  1020. package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +0 -1
  1021. package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +0 -1
  1022. package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +0 -1
  1023. package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +0 -1
  1024. package/lib/stores/shared/modifier/DomainGraphModifierHelper.d.ts.map +0 -1
  1025. package/lib/stores/shared/modifier/DomainGraphModifierHelper.js.map +0 -1
  1026. package/lib/stores/shared/modifier/GraphModifierHelper.d.ts.map +0 -1
  1027. package/lib/stores/shared/modifier/GraphModifierHelper.js.map +0 -1
  1028. package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +0 -1
  1029. package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +0 -1
  1030. package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +0 -1
  1031. package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +0 -1
  1032. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +0 -1
  1033. package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +0 -1
  1034. package/lib/stores/shared/modifier/Testable_GraphModifierHelper.d.ts.map +0 -1
  1035. package/lib/stores/shared/modifier/Testable_GraphModifierHelper.js.map +0 -1
  1036. package/lib/stores/shared/testable/TestableUtils.d.ts +0 -45
  1037. package/lib/stores/shared/testable/TestableUtils.d.ts.map +0 -1
  1038. package/lib/stores/shared/testable/TestableUtils.js +0 -143
  1039. package/lib/stores/shared/testable/TestableUtils.js.map +0 -1
  1040. package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts +0 -51
  1041. package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts.map +0 -1
  1042. package/lib/stores/sidebar-state/BulkServiceRegistrationState.js +0 -237
  1043. package/lib/stores/sidebar-state/BulkServiceRegistrationState.js.map +0 -1
  1044. package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +0 -1
  1045. package/lib/stores/sidebar-state/LocalChangesState.js +0 -544
  1046. package/lib/stores/sidebar-state/LocalChangesState.js.map +0 -1
  1047. package/lib/stores/sidebar-state/ProjectDependantEditorState.d.ts.map +0 -1
  1048. package/lib/stores/sidebar-state/ProjectDependantEditorState.js.map +0 -1
  1049. package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +0 -1
  1050. package/lib/stores/sidebar-state/ProjectOverviewState.js +0 -234
  1051. package/lib/stores/sidebar-state/ProjectOverviewState.js.map +0 -1
  1052. package/lib/stores/sidebar-state/WorkflowManagerState.d.ts.map +0 -1
  1053. package/lib/stores/sidebar-state/WorkflowManagerState.js +0 -356
  1054. package/lib/stores/sidebar-state/WorkflowManagerState.js.map +0 -1
  1055. package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +0 -1
  1056. package/lib/stores/sidebar-state/WorkspaceReviewState.js +0 -273
  1057. package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +0 -1
  1058. package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +0 -1
  1059. package/lib/stores/sidebar-state/WorkspaceSyncState.js +0 -382
  1060. package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +0 -1
  1061. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +0 -1
  1062. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +0 -475
  1063. package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +0 -1
  1064. package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +0 -1
  1065. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +0 -216
  1066. package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +0 -1
  1067. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +0 -100
  1068. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +0 -1
  1069. package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +0 -1
  1070. package/src/components/Core_LegendStudioApplicationPlugin.tsx +0 -112
  1071. package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +0 -453
  1072. package/src/components/project-viewer/ProjectViewer.tsx +0 -353
  1073. package/src/components/project-viewer/ProjectViewerStoreProvider.tsx +0 -56
  1074. package/src/components/shared/MultiplicityBadge.tsx +0 -39
  1075. package/src/components/shared/TypeTree.tsx +0 -290
  1076. package/src/stores/ChangeDetectionEvent.ts +0 -34
  1077. package/src/stores/ChangeDetectionState.ts +0 -954
  1078. package/src/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +0 -70
  1079. package/src/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +0 -52
  1080. package/src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +0 -212
  1081. package/src/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +0 -32
  1082. package/src/stores/DependencyProjectViewerHelper.ts +0 -39
  1083. package/src/stores/EditorGraphState.ts +0 -841
  1084. package/src/stores/EditorSDLCState.ts +0 -481
  1085. package/src/stores/EditorStore.ts +0 -978
  1086. package/src/stores/EditorStoreTestUtils.ts +0 -70
  1087. package/src/stores/EditorTabManagerState.ts +0 -203
  1088. package/src/stores/ExplorerTreeState.ts +0 -548
  1089. package/src/stores/GraphEditFormModeState.ts +0 -605
  1090. package/src/stores/GraphEditGrammarModeState.ts +0 -512
  1091. package/src/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +0 -40
  1092. package/src/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +0 -167
  1093. package/src/stores/editor-state/ExternalFormatState.ts +0 -119
  1094. package/src/stores/editor-state/FileGenerationState.ts +0 -285
  1095. package/src/stores/editor-state/GrammarTextEditorState.ts +0 -201
  1096. package/src/stores/editor-state/GraphGenerationState.ts +0 -560
  1097. package/src/stores/editor-state/ModelImporterState.ts +0 -539
  1098. package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +0 -266
  1099. package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +0 -100
  1100. package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +0 -935
  1101. package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +0 -539
  1102. package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +0 -644
  1103. package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +0 -351
  1104. package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +0 -585
  1105. package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +0 -1512
  1106. package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +0 -794
  1107. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +0 -58
  1108. package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +0 -980
  1109. package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +0 -368
  1110. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +0 -398
  1111. package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +0 -314
  1112. package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +0 -213
  1113. package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +0 -244
  1114. package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +0 -346
  1115. package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +0 -450
  1116. package/src/stores/project-viewer/ProjectViewerStore.ts +0 -614
  1117. package/src/stores/shared/PackageTreeUtils.ts +0 -469
  1118. package/src/stores/shared/testable/TestableUtils.ts +0 -219
  1119. package/src/stores/sidebar-state/BulkServiceRegistrationState.ts +0 -370
  1120. package/src/stores/sidebar-state/LocalChangesState.ts +0 -877
  1121. package/src/stores/sidebar-state/ProjectOverviewState.ts +0 -391
  1122. package/src/stores/sidebar-state/WorkflowManagerState.ts +0 -645
  1123. package/src/stores/sidebar-state/WorkspaceReviewState.ts +0 -410
  1124. package/src/stores/sidebar-state/WorkspaceSyncState.ts +0 -578
  1125. package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +0 -737
  1126. package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +0 -368
  1127. package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +0 -641
  1128. /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.d.ts +0 -0
  1129. /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.js +0 -0
  1130. /package/lib/components/{shared → editor/edit-panel/mapping-editor}/TypeTree.d.ts +0 -0
  1131. /package/lib/components/{project-viewer → project-view}/ProjectViewer.d.ts +0 -0
  1132. /package/lib/components/{shared → workspace-setup}/ProjectSelectorUtils.d.ts +0 -0
  1133. /package/lib/components/{shared → workspace-setup}/ProjectSelectorUtils.js +0 -0
  1134. /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.d.ts +0 -0
  1135. /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.js +0 -0
  1136. /package/lib/stores/{AbstractConflictResolutionState.d.ts → editor/AbstractConflictResolutionState.d.ts} +0 -0
  1137. /package/lib/stores/{AbstractConflictResolutionState.js → editor/AbstractConflictResolutionState.js} +0 -0
  1138. /package/lib/stores/{ChangeDetectionState.d.ts → editor/ChangeDetectionState.d.ts} +0 -0
  1139. /package/lib/stores/{EditorConfig.d.ts → editor/EditorConfig.d.ts} +0 -0
  1140. /package/lib/stores/{EditorConfig.js → editor/EditorConfig.js} +0 -0
  1141. /package/lib/stores/{EditorGraphState.d.ts → editor/EditorGraphState.d.ts} +0 -0
  1142. /package/lib/stores/{EditorSDLCState.d.ts → editor/EditorSDLCState.d.ts} +0 -0
  1143. /package/lib/stores/{EditorTabManagerState.d.ts → editor/EditorTabManagerState.d.ts} +0 -0
  1144. /package/lib/stores/{EditorTabManagerState.js → editor/EditorTabManagerState.js} +0 -0
  1145. /package/lib/stores/{EmbeddedQueryBuilderState.d.ts → editor/EmbeddedQueryBuilderState.d.ts} +0 -0
  1146. /package/lib/stores/{EmbeddedQueryBuilderState.js → editor/EmbeddedQueryBuilderState.js} +0 -0
  1147. /package/lib/stores/{ExplorerTreeState.d.ts → editor/ExplorerTreeState.d.ts} +0 -0
  1148. /package/lib/stores/{GraphEditFormModeState.d.ts → editor/GraphEditFormModeState.d.ts} +0 -0
  1149. /package/lib/stores/{GraphEditGrammarModeState.d.ts → editor/GraphEditGrammarModeState.d.ts} +0 -0
  1150. /package/lib/stores/{GraphEditorMode.d.ts → editor/GraphEditorMode.d.ts} +0 -0
  1151. /package/lib/stores/{GraphEditorMode.js → editor/GraphEditorMode.js} +0 -0
  1152. /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.d.ts +0 -0
  1153. /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.js +0 -0
  1154. /package/lib/stores/{editor-state → editor/editor-state}/EditorState.d.ts +0 -0
  1155. /package/lib/stores/{editor-state → editor/editor-state}/EditorState.js +0 -0
  1156. /package/lib/stores/{editor-state → editor/editor-state}/ExternalFormatState.d.ts +0 -0
  1157. /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationState.d.ts +0 -0
  1158. /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.d.ts +0 -0
  1159. /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.js +0 -0
  1160. /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.d.ts +0 -0
  1161. /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.js +0 -0
  1162. /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.d.ts +0 -0
  1163. /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.js +0 -0
  1164. /package/lib/stores/{editor-state → editor/editor-state}/GrammarTextEditorState.d.ts +0 -0
  1165. /package/lib/stores/{editor-state → editor/editor-state}/GraphGenerationState.d.ts +0 -0
  1166. /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.d.ts +0 -0
  1167. /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.js +0 -0
  1168. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.d.ts +0 -0
  1169. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.js +0 -0
  1170. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.d.ts +0 -0
  1171. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.js +0 -0
  1172. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.d.ts +0 -0
  1173. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.js +0 -0
  1174. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementExternalFormatGenerationState.d.ts +0 -0
  1175. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementFileGenerationState.d.ts +0 -0
  1176. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.d.ts +0 -0
  1177. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.js +0 -0
  1178. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.d.ts +0 -0
  1179. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.js +0 -0
  1180. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.d.ts +0 -0
  1181. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.js +0 -0
  1182. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.d.ts +0 -0
  1183. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.js +0 -0
  1184. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.d.ts +0 -0
  1185. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.js +0 -0
  1186. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/DatabaseBuilderState.d.ts +0 -0
  1187. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.d.ts +0 -0
  1188. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.js +0 -0
  1189. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.d.ts +0 -0
  1190. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.js +0 -0
  1191. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.d.ts +0 -0
  1192. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.js +0 -0
  1193. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts +0 -0
  1194. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js +0 -0
  1195. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts +0 -0
  1196. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts +0 -0
  1197. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +0 -0
  1198. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingEditorState.js +0 -0
  1199. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.d.ts +0 -0
  1200. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.js +0 -0
  1201. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.d.ts +0 -0
  1202. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.js +0 -0
  1203. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +0 -0
  1204. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingExecutionState.d.ts +0 -0
  1205. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.d.ts +0 -0
  1206. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.js +0 -0
  1207. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.d.ts +0 -0
  1208. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.js +0 -0
  1209. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +0 -0
  1210. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.js +0 -0
  1211. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts +0 -0
  1212. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js +0 -0
  1213. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts +0 -0
  1214. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +0 -0
  1215. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.d.ts +0 -0
  1216. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.js +0 -0
  1217. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.d.ts +0 -0
  1218. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.js +0 -0
  1219. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.d.ts +0 -0
  1220. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.js +0 -0
  1221. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestDataState.d.ts +0 -0
  1222. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.d.ts +0 -0
  1223. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.js +0 -0
  1224. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestableState.d.ts +0 -0
  1225. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.d.ts +0 -0
  1226. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.js +0 -0
  1227. /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestableEditorState.d.ts +0 -0
  1228. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts +0 -0
  1229. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.js +0 -0
  1230. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.d.ts +0 -0
  1231. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.js +0 -0
  1232. /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffViewState.d.ts +0 -0
  1233. /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +0 -0
  1234. /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectDependencyEditorState.d.ts +0 -0
  1235. /package/lib/stores/{shared → editor/shared}/DnDUtils.d.ts +0 -0
  1236. /package/lib/stores/{shared → editor/shared}/DnDUtils.js +0 -0
  1237. /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.d.ts +0 -0
  1238. /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.js +0 -0
  1239. /package/lib/stores/{shared → editor/shared}/MockDataUtils.d.ts +0 -0
  1240. /package/lib/stores/{shared → editor/shared}/MockDataUtils.js +0 -0
  1241. /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.d.ts +0 -0
  1242. /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.js +0 -0
  1243. /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.d.ts +0 -0
  1244. /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.js +0 -0
  1245. /package/lib/stores/{shared → editor/shared}/TreeUtils.d.ts +0 -0
  1246. /package/lib/stores/{shared → editor/shared}/TreeUtils.js +0 -0
  1247. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.d.ts +0 -0
  1248. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.js +0 -0
  1249. /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts +0 -0
  1250. /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.js +0 -0
  1251. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.d.ts +0 -0
  1252. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.js +0 -0
  1253. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.d.ts +0 -0
  1254. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.js +0 -0
  1255. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.d.ts +0 -0
  1256. /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.js +0 -0
  1257. /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.d.ts +0 -0
  1258. /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.js +0 -0
  1259. /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.d.ts +0 -0
  1260. /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.js +0 -0
  1261. /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.d.ts +0 -0
  1262. /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.js +0 -0
  1263. /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.d.ts +0 -0
  1264. /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.js +0 -0
  1265. /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.d.ts +0 -0
  1266. /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.js +0 -0
  1267. /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.d.ts +0 -0
  1268. /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.js +0 -0
  1269. /package/lib/stores/{sidebar-state → editor/sidebar-state}/LocalChangesState.d.ts +0 -0
  1270. /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.d.ts +0 -0
  1271. /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.js +0 -0
  1272. /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectOverviewState.d.ts +0 -0
  1273. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkflowManagerState.d.ts +0 -0
  1274. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceReviewState.d.ts +0 -0
  1275. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceSyncState.d.ts +0 -0
  1276. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdateConflictResolutionState.d.ts +0 -0
  1277. /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdaterState.d.ts +0 -0
  1278. /package/lib/stores/{sidebar-state → editor/sidebar-state}/testable/GlobalTestRunnerState.js +0 -0
  1279. /package/lib/stores/{DSL_Data_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1280. /package/lib/stores/{DSL_Generation_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1281. /package/lib/stores/{DSL_Mapping_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1282. /package/lib/stores/{DSL_Service_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1283. /package/lib/stores/{STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js → extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1284. /package/lib/stores/{STO_Relational_LegendStudioApplicationPlugin_Extension.js → extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js} +0 -0
  1285. /package/lib/stores/{project-viewer → project-view}/ProjectViewerEditorMode.d.ts +0 -0
  1286. /package/lib/stores/{project-viewer → project-view}/ProjectViewerEditorMode.js +0 -0
  1287. /package/src/{components/DSL_ExternalFormat_CodeSnippets.ts → application/DSL_ExternalFormat_LegendStudioCodeSnippet.ts} +0 -0
  1288. /package/src/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.ts +0 -0
  1289. /package/src/{stores/Core_CodeSnippets.ts → application/LegendStudioCodeSnippet.ts} +0 -0
  1290. /package/src/{components/LegendStudioTestID.ts → application/LegendStudioTesting.ts} +0 -0
  1291. /package/src/components/{shared → workspace-setup}/ProjectSelectorUtils.tsx +0 -0
  1292. /package/src/components/{shared → workspace-setup}/WorkspaceSelectorUtils.tsx +0 -0
  1293. /package/src/stores/{AbstractConflictResolutionState.ts → editor/AbstractConflictResolutionState.ts} +0 -0
  1294. /package/src/stores/{EditorConfig.ts → editor/EditorConfig.ts} +0 -0
  1295. /package/src/stores/{EmbeddedQueryBuilderState.ts → editor/EmbeddedQueryBuilderState.ts} +0 -0
  1296. /package/src/stores/{GraphEditorMode.ts → editor/GraphEditorMode.ts} +0 -0
  1297. /package/src/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.ts +0 -0
  1298. /package/src/stores/{editor-state → editor/editor-state}/EditorState.ts +0 -0
  1299. /package/src/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.ts +0 -0
  1300. /package/src/stores/{editor-state → editor/editor-state}/FileSystemState.ts +0 -0
  1301. /package/src/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.ts +0 -0
  1302. /package/src/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.ts +0 -0
  1303. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.ts +0 -0
  1304. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.ts +0 -0
  1305. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.ts +0 -0
  1306. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.ts +0 -0
  1307. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.ts +0 -0
  1308. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.ts +0 -0
  1309. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.ts +0 -0
  1310. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.ts +0 -0
  1311. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.ts +0 -0
  1312. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +0 -0
  1313. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.ts +0 -0
  1314. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.ts +0 -0
  1315. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.ts +0 -0
  1316. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.ts +0 -0
  1317. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.ts +0 -0
  1318. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +0 -0
  1319. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.ts +0 -0
  1320. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.ts +0 -0
  1321. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.ts +0 -0
  1322. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.ts +0 -0
  1323. /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.ts +0 -0
  1324. /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.ts +0 -0
  1325. /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.ts +0 -0
  1326. /package/src/stores/{shared → editor/shared}/DnDUtils.ts +0 -0
  1327. /package/src/stores/{shared → editor/shared}/FileSystemTreeUtils.ts +0 -0
  1328. /package/src/stores/{shared → editor/shared}/MockDataUtils.ts +0 -0
  1329. /package/src/stores/{shared → editor/shared}/ModelClassifierUtils.ts +0 -0
  1330. /package/src/stores/{shared → editor/shared}/TreeUtils.ts +0 -0
  1331. /package/src/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.ts +0 -0
  1332. /package/src/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.ts +0 -0
  1333. /package/src/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.ts +0 -0
  1334. /package/src/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.ts +0 -0
  1335. /package/src/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.ts +0 -0
  1336. /package/src/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.ts +0 -0
  1337. /package/src/stores/{shared → editor/shared}/modifier/GraphModifierHelper.ts +0 -0
  1338. /package/src/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.ts +0 -0
  1339. /package/src/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.ts +0 -0
  1340. /package/src/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.ts +0 -0
  1341. /package/src/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.ts +0 -0
  1342. /package/src/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.ts +0 -0
  1343. /package/src/stores/{project-viewer → project-view}/ProjectViewerEditorMode.ts +0 -0
@@ -1,978 +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 { ExplorerTreeState } from './ExplorerTreeState.js';
26
- import {
27
- ACTIVITY_MODE,
28
- AUX_PANEL_MODE,
29
- GRAPH_EDITOR_MODE,
30
- EDITOR_MODE,
31
- } from './EditorConfig.js';
32
- import {
33
- type GraphBuilderResult,
34
- EditorGraphState,
35
- GraphBuilderStatus,
36
- } from './EditorGraphState.js';
37
- import { ChangeDetectionState } from './ChangeDetectionState.js';
38
- import { NewElementState } from './editor/NewElementState.js';
39
- import { WorkspaceUpdaterState } from './sidebar-state/WorkspaceUpdaterState.js';
40
- import { ProjectOverviewState } from './sidebar-state/ProjectOverviewState.js';
41
- import { WorkspaceReviewState } from './sidebar-state/WorkspaceReviewState.js';
42
- import {
43
- FormLocalChangesState,
44
- type LocalChangesState,
45
- } from './sidebar-state/LocalChangesState.js';
46
- import { WorkspaceWorkflowManagerState } from './sidebar-state/WorkflowManagerState.js';
47
- import {
48
- type GeneratorFn,
49
- type PlainObject,
50
- LogEvent,
51
- isNonNullable,
52
- assertErrorThrown,
53
- guaranteeNonNullable,
54
- UnsupportedOperationError,
55
- ActionState,
56
- AssertionError,
57
- guaranteeType,
58
- type Clazz,
59
- } from '@finos/legend-shared';
60
- import { EditorSDLCState } from './EditorSDLCState.js';
61
- import { ModelImporterState } from './editor-state/ModelImporterState.js';
62
- import { ProjectConfigurationEditorState } from './editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js';
63
- import { CHANGE_DETECTION_EVENT } from './ChangeDetectionEvent.js';
64
- import type { ElementFileGenerationState } from './editor-state/element-editor-state/ElementFileGenerationState.js';
65
- import { DevToolState } from './aux-panel-state/DevToolState.js';
66
- import {
67
- generateEditorRoute,
68
- generateSetupRoute,
69
- generateViewProjectRoute,
70
- type WorkspaceEditorPathParams,
71
- } from '../application/LegendStudioNavigation.js';
72
- import { NonBlockingDialogState, PanelDisplayState } from '@finos/legend-art';
73
- import type { DSL_LegendStudioApplicationPlugin_Extension } from './LegendStudioApplicationPlugin.js';
74
- import type { Entity } from '@finos/legend-storage';
75
- import {
76
- ProjectConfiguration,
77
- WorkspaceType,
78
- type SDLCServerClient,
79
- } from '@finos/legend-server-sdlc';
80
- import { GraphManagerState, GRAPH_MANAGER_EVENT } from '@finos/legend-graph';
81
- import type { DepotServerClient } from '@finos/legend-server-depot';
82
- import type { LegendStudioPluginManager } from '../application/LegendStudioPluginManager.js';
83
- import {
84
- type CommandRegistrar,
85
- ActionAlertActionType,
86
- ActionAlertType,
87
- APPLICATION_EVENT,
88
- TAB_SIZE,
89
- } from '@finos/legend-application';
90
- import { LEGEND_STUDIO_APP_EVENT } from '../application/LegendStudioEvent.js';
91
- import type { EditorMode } from './editor/EditorMode.js';
92
- import { StandardEditorMode } from './editor/StandardEditorMode.js';
93
- import { WorkspaceUpdateConflictResolutionState } from './sidebar-state/WorkspaceUpdateConflictResolutionState.js';
94
- import { PACKAGEABLE_ELEMENT_TYPE } from './shared/ModelClassifierUtils.js';
95
- import { GlobalTestRunnerState } from './sidebar-state/testable/GlobalTestRunnerState.js';
96
- import type { LegendStudioApplicationStore } from './LegendStudioBaseStore.js';
97
- import { EmbeddedQueryBuilderState } from './EmbeddedQueryBuilderState.js';
98
- import { LEGEND_STUDIO_COMMAND_KEY } from '../application/LegendStudioCommand.js';
99
- import { EditorTabManagerState } from './EditorTabManagerState.js';
100
- import type { ProjectViewerEditorMode } from './project-viewer/ProjectViewerEditorMode.js';
101
- import { GraphEditFormModeState } from './GraphEditFormModeState.js';
102
- import type { GraphEditorMode } from './GraphEditorMode.js';
103
- import { GraphEditGrammarModeState } from './GraphEditGrammarModeState.js';
104
- import { BulkServiceRegistrationState } from './sidebar-state/BulkServiceRegistrationState.js';
105
-
106
- export abstract class EditorExtensionState {
107
- /**
108
- * This helps to better type-check for this empty abtract type
109
- * See https://github.com/finos/legend-studio/blob/master/docs/technical/typescript-usage.md#understand-typescript-structual-type-system
110
- */
111
- private readonly _$nominalTypeBrand!: 'EditorExtensionState';
112
- }
113
-
114
- export class EditorStore implements CommandRegistrar {
115
- readonly applicationStore: LegendStudioApplicationStore;
116
- readonly sdlcServerClient: SDLCServerClient;
117
- readonly depotServerClient: DepotServerClient;
118
- readonly pluginManager: LegendStudioPluginManager;
119
-
120
- readonly initState = ActionState.create();
121
- initialEntityPath?: string | undefined;
122
- editorMode: EditorMode;
123
- // NOTE: once we clear up the editor store to make modes more separated
124
- // we should remove these sets of functions. They are basically hacks to
125
- // ensure hiding parts of the UI based on the editing mode.
126
- // Instead, we will gradually move these `boolean` flags into `EditorMode`
127
- // See https://github.com/finos/legend-studio/issues/317
128
- mode = EDITOR_MODE.STANDARD;
129
-
130
- editorExtensionStates: EditorExtensionState[] = [];
131
- explorerTreeState: ExplorerTreeState;
132
- sdlcState: EditorSDLCState;
133
- graphState: EditorGraphState;
134
- graphManagerState: GraphManagerState;
135
- graphEditorMode: GraphEditorMode;
136
- changeDetectionState: ChangeDetectionState;
137
- modelImporterState: ModelImporterState;
138
- projectConfigurationEditorState: ProjectConfigurationEditorState;
139
- projectOverviewState: ProjectOverviewState;
140
- workspaceWorkflowManagerState: WorkspaceWorkflowManagerState;
141
- globalTestRunnerState: GlobalTestRunnerState;
142
- workspaceUpdaterState: WorkspaceUpdaterState;
143
- workspaceReviewState: WorkspaceReviewState;
144
- localChangesState: LocalChangesState;
145
- conflictResolutionState: WorkspaceUpdateConflictResolutionState;
146
- devToolState: DevToolState;
147
- embeddedQueryBuilderState: EmbeddedQueryBuilderState;
148
- newElementState: NewElementState;
149
- bulkServiceRegistrationState: BulkServiceRegistrationState;
150
- /**
151
- * Since we want to share element generation state across all element in the editor, we will create 1 element generate state
152
- * per file generation configuration type.
153
- */
154
- elementGenerationStates: ElementFileGenerationState[] = [];
155
- searchElementCommandState = new NonBlockingDialogState();
156
-
157
- activeAuxPanelMode: AUX_PANEL_MODE = AUX_PANEL_MODE.CONSOLE;
158
- readonly auxPanelDisplayState = new PanelDisplayState({
159
- initial: 0,
160
- default: 300,
161
- snap: 100,
162
- });
163
- activeActivity?: ACTIVITY_MODE = ACTIVITY_MODE.EXPLORER;
164
- readonly sideBarDisplayState = new PanelDisplayState({
165
- initial: 300,
166
- default: 300,
167
- snap: 150,
168
- });
169
- readonly tabManagerState = new EditorTabManagerState(this);
170
-
171
- constructor(
172
- applicationStore: LegendStudioApplicationStore,
173
- sdlcServerClient: SDLCServerClient,
174
- depotServerClient: DepotServerClient,
175
- ) {
176
- makeObservable<
177
- EditorStore,
178
- 'initStandardMode' | 'initConflictResolutionMode'
179
- >(this, {
180
- editorMode: observable,
181
- mode: observable,
182
- activeAuxPanelMode: observable,
183
- activeActivity: observable,
184
- graphEditorMode: observable,
185
-
186
- isInViewerMode: computed,
187
- isInConflictResolutionMode: computed,
188
- isInitialized: computed,
189
-
190
- setEditorMode: action,
191
- setMode: action,
192
-
193
- setActiveAuxPanelMode: action,
194
- cleanUp: action,
195
- reset: action,
196
- setActiveActivity: action,
197
-
198
- initialize: flow,
199
- initMode: flow,
200
- initStandardMode: flow,
201
- initConflictResolutionMode: flow,
202
- buildGraph: flow,
203
- toggleTextMode: flow,
204
- switchModes: flow,
205
- });
206
-
207
- this.applicationStore = applicationStore;
208
- this.sdlcServerClient = sdlcServerClient;
209
- this.depotServerClient = depotServerClient;
210
- this.pluginManager = applicationStore.pluginManager;
211
-
212
- this.editorMode = new StandardEditorMode(this);
213
-
214
- this.sdlcState = new EditorSDLCState(this);
215
- this.graphState = new EditorGraphState(this);
216
- this.graphManagerState = new GraphManagerState(
217
- applicationStore.pluginManager,
218
- applicationStore.logService,
219
- );
220
- this.graphEditorMode = new GraphEditFormModeState(this);
221
- this.changeDetectionState = new ChangeDetectionState(this, this.graphState);
222
- this.devToolState = new DevToolState(this);
223
- this.embeddedQueryBuilderState = new EmbeddedQueryBuilderState(this);
224
- // side bar panels
225
- this.explorerTreeState = new ExplorerTreeState(this);
226
- this.projectOverviewState = new ProjectOverviewState(this, this.sdlcState);
227
- this.globalTestRunnerState = new GlobalTestRunnerState(
228
- this,
229
- this.sdlcState,
230
- );
231
- this.workspaceWorkflowManagerState = new WorkspaceWorkflowManagerState(
232
- this,
233
- this.sdlcState,
234
- );
235
- this.workspaceUpdaterState = new WorkspaceUpdaterState(
236
- this,
237
- this.sdlcState,
238
- );
239
- this.workspaceReviewState = new WorkspaceReviewState(this, this.sdlcState);
240
- this.localChangesState = new FormLocalChangesState(this, this.sdlcState);
241
- this.conflictResolutionState = new WorkspaceUpdateConflictResolutionState(
242
- this,
243
- this.sdlcState,
244
- );
245
- this.newElementState = new NewElementState(this);
246
- this.bulkServiceRegistrationState = new BulkServiceRegistrationState(
247
- this,
248
- this.sdlcState,
249
- );
250
- // special (singleton) editors
251
- this.modelImporterState = new ModelImporterState(this);
252
- this.projectConfigurationEditorState = new ProjectConfigurationEditorState(
253
- this,
254
- this.sdlcState,
255
- );
256
- // extensions
257
- this.editorExtensionStates = this.pluginManager
258
- .getApplicationPlugins()
259
- .flatMap(
260
- (plugin) => plugin.getExtraEditorExtensionStateCreators?.() ?? [],
261
- )
262
- .map((creator) => creator(this))
263
- .filter(isNonNullable);
264
- }
265
-
266
- get isInitialized(): boolean {
267
- if (this.isInViewerMode) {
268
- return (
269
- (Boolean(
270
- this.sdlcState.currentProject && this.sdlcState.currentWorkspace,
271
- ) ||
272
- Boolean(
273
- (this.sdlcState.editorStore.editorMode as ProjectViewerEditorMode)
274
- .viewerStore.projectGAVCoordinates,
275
- )) &&
276
- this.graphManagerState.systemBuildState.hasSucceeded
277
- );
278
- } else {
279
- return (
280
- Boolean(
281
- this.sdlcState.currentProject &&
282
- this.sdlcState.currentWorkspace &&
283
- this.sdlcState.currentRevision &&
284
- this.sdlcState.remoteWorkspaceRevision,
285
- ) && this.graphManagerState.systemBuildState.hasSucceeded
286
- );
287
- }
288
- }
289
-
290
- get isInViewerMode(): boolean {
291
- return this.mode === EDITOR_MODE.VIEWER;
292
- }
293
-
294
- get isInConflictResolutionMode(): boolean {
295
- return this.mode === EDITOR_MODE.CONFLICT_RESOLUTION;
296
- }
297
-
298
- setEditorMode(val: EditorMode): void {
299
- this.editorMode = val;
300
- }
301
-
302
- setMode(val: EDITOR_MODE): void {
303
- this.mode = val;
304
- }
305
-
306
- cleanUp(): void {
307
- // dismiss all the alerts as these are parts of application, if we don't do this, we might
308
- // end up blocking other parts of the app
309
- // e.g. trying going to an unknown workspace, we will be redirected to the home page
310
- // but the blocking alert for not-found workspace will still block the app
311
- this.applicationStore.alertService.setBlockingAlert(undefined);
312
- this.applicationStore.alertService.setActionAlertInfo(undefined);
313
- // stop change detection to avoid memory-leak
314
- this.changeDetectionState.stop();
315
- }
316
-
317
- /**
318
- * TODO?: we should really think of how we could simplify the trigger condition below
319
- * after we refactor editor modes
320
- *
321
- * See https://github.com/finos/legend-studio/issues/317
322
- */
323
- createEditorCommandTrigger(additionalChecker?: () => boolean): () => boolean {
324
- return (): boolean =>
325
- // we don't want to leak any hotkeys when we have embedded query builder open
326
- // TODO?: we probably should come up with a more generic mechanism for this
327
- !this.embeddedQueryBuilderState.queryBuilderState &&
328
- (!additionalChecker || additionalChecker());
329
- }
330
-
331
- registerCommands(): void {
332
- this.applicationStore.commandService.registerCommand({
333
- key: LEGEND_STUDIO_COMMAND_KEY.COMPILE,
334
- trigger: this.createEditorCommandTrigger(
335
- () =>
336
- this.isInitialized &&
337
- (!this.isInConflictResolutionMode ||
338
- this.conflictResolutionState.hasResolvedAllConflicts),
339
- ),
340
- action: () => {
341
- flowResult(this.graphEditorMode.globalCompile()).catch(
342
- this.applicationStore.alertUnhandledError,
343
- );
344
- },
345
- });
346
- this.applicationStore.commandService.registerCommand({
347
- key: LEGEND_STUDIO_COMMAND_KEY.GENERATE,
348
- trigger: this.createEditorCommandTrigger(
349
- () =>
350
- this.isInitialized &&
351
- (!this.isInConflictResolutionMode ||
352
- this.conflictResolutionState.hasResolvedAllConflicts),
353
- ),
354
- action: () => {
355
- flowResult(this.graphState.graphGenerationState.globalGenerate()).catch(
356
- this.applicationStore.alertUnhandledError,
357
- );
358
- },
359
- });
360
- this.applicationStore.commandService.registerCommand({
361
- key: LEGEND_STUDIO_COMMAND_KEY.CREATE_ELEMENT,
362
- trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
363
- action: () => this.newElementState.openModal(),
364
- });
365
- this.applicationStore.commandService.registerCommand({
366
- key: LEGEND_STUDIO_COMMAND_KEY.SEARCH_ELEMENT,
367
- trigger: this.createEditorCommandTrigger(),
368
- action: () => this.searchElementCommandState.open(),
369
- });
370
- this.applicationStore.commandService.registerCommand({
371
- key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_TEXT_MODE,
372
- trigger: this.createEditorCommandTrigger(
373
- () =>
374
- this.isInitialized &&
375
- (!this.isInConflictResolutionMode ||
376
- this.conflictResolutionState.hasResolvedAllConflicts),
377
- ),
378
- action: () => {
379
- flowResult(this.toggleTextMode()).catch(
380
- this.applicationStore.alertUnhandledError,
381
- );
382
- },
383
- });
384
- this.applicationStore.commandService.registerCommand({
385
- key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_MODEL_LOADER,
386
- trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
387
- action: () => this.tabManagerState.openTab(this.modelImporterState),
388
- });
389
- this.applicationStore.commandService.registerCommand({
390
- key: LEGEND_STUDIO_COMMAND_KEY.SYNC_WITH_WORKSPACE,
391
- trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
392
- action: () => {
393
- flowResult(this.localChangesState.pushLocalChanges()).catch(
394
- this.applicationStore.alertUnhandledError,
395
- );
396
- },
397
- });
398
- this.applicationStore.commandService.registerCommand({
399
- key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_AUX_PANEL,
400
- trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
401
- action: () => this.auxPanelDisplayState.toggle(),
402
- });
403
- this.applicationStore.commandService.registerCommand({
404
- key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_EXPLORER,
405
- trigger: this.createEditorCommandTrigger(),
406
- action: () => this.setActiveActivity(ACTIVITY_MODE.EXPLORER),
407
- });
408
- this.applicationStore.commandService.registerCommand({
409
- key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_LOCAL_CHANGES,
410
- trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
411
- action: () => this.setActiveActivity(ACTIVITY_MODE.LOCAL_CHANGES),
412
- });
413
- this.applicationStore.commandService.registerCommand({
414
- key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_WORKSPACE_REVIEW,
415
- trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
416
- action: () => this.setActiveActivity(ACTIVITY_MODE.WORKSPACE_REVIEW),
417
- });
418
- this.applicationStore.commandService.registerCommand({
419
- key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_WORKSPACE_UPDATER,
420
- trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
421
- action: () => this.setActiveActivity(ACTIVITY_MODE.WORKSPACE_UPDATER),
422
- });
423
- }
424
-
425
- deregisterCommands(): void {
426
- [
427
- LEGEND_STUDIO_COMMAND_KEY.SYNC_WITH_WORKSPACE,
428
- LEGEND_STUDIO_COMMAND_KEY.CREATE_ELEMENT,
429
- LEGEND_STUDIO_COMMAND_KEY.SEARCH_ELEMENT,
430
- LEGEND_STUDIO_COMMAND_KEY.TOGGLE_TEXT_MODE,
431
- LEGEND_STUDIO_COMMAND_KEY.GENERATE,
432
- LEGEND_STUDIO_COMMAND_KEY.COMPILE,
433
- LEGEND_STUDIO_COMMAND_KEY.TOGGLE_AUX_PANEL,
434
- LEGEND_STUDIO_COMMAND_KEY.TOGGLE_MODEL_LOADER,
435
- LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_EXPLORER,
436
- LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_LOCAL_CHANGES,
437
- LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_WORKSPACE_REVIEW,
438
- LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_WORKSPACE_UPDATER,
439
- ].forEach((key) =>
440
- this.applicationStore.commandService.deregisterCommand(key),
441
- );
442
- }
443
-
444
- reset(): void {
445
- this.tabManagerState.closeAllTabs();
446
- this.projectConfigurationEditorState = new ProjectConfigurationEditorState(
447
- this,
448
- this.sdlcState,
449
- );
450
- this.explorerTreeState = new ExplorerTreeState(this);
451
- }
452
-
453
- internalizeEntityPath(params: WorkspaceEditorPathParams): void {
454
- const { projectId, entityPath } = params;
455
- const workspaceType = params.groupWorkspaceId
456
- ? WorkspaceType.GROUP
457
- : WorkspaceType.USER;
458
- const workspaceId = guaranteeNonNullable(
459
- params.groupWorkspaceId ?? params.workspaceId,
460
- `Workspace/group workspace ID is not provided`,
461
- );
462
- if (entityPath) {
463
- this.initialEntityPath = entityPath;
464
- this.applicationStore.navigationService.navigator.updateCurrentLocation(
465
- generateEditorRoute(projectId, workspaceId, workspaceType),
466
- );
467
- }
468
- }
469
-
470
- /**
471
- * This is the entry of the app logic where the initialization of editor states happens
472
- * Here, we ensure the order of calls after checking existence of current project and workspace
473
- * If either of them does not exist, we cannot proceed.
474
- */
475
- *initialize(
476
- projectId: string,
477
- workspaceId: string,
478
- workspaceType: WorkspaceType,
479
- ): GeneratorFn<void> {
480
- if (!this.initState.isInInitialState) {
481
- /**
482
- * Since React `fast-refresh` will sometimes cause `Editor` to rerender, this method will be called again
483
- * as all hooks are recalled, as such, ONLY IN DEVELOPMENT mode we allow this to not fail-fast
484
- * we also have to `undo` some of what the `cleanUp` does to this store as the cleanup part of all hooks will be triggered
485
- * as well
486
- */
487
- // eslint-disable-next-line no-process-env
488
- if (process.env.NODE_ENV === 'development') {
489
- this.applicationStore.logService.info(
490
- LogEvent.create(APPLICATION_EVENT.DEVELOPMENT_ISSUE),
491
- `Fast-refreshing the app - undoing cleanUp() and preventing initialize() recall in editor store...`,
492
- );
493
- this.changeDetectionState.start();
494
- return;
495
- }
496
- this.applicationStore.notificationService.notifyIllegalState(
497
- 'Editor store is re-initialized',
498
- );
499
- return;
500
- }
501
- this.initState.inProgress();
502
- const onLeave = (hasBuildSucceeded: boolean): void => {
503
- this.initState.complete(hasBuildSucceeded);
504
- this.initState.setMessage(undefined);
505
- };
506
-
507
- this.initState.setMessage(`Setting up workspace...`);
508
- yield flowResult(
509
- this.sdlcState.fetchCurrentProject(projectId, {
510
- suppressNotification: true,
511
- }),
512
- );
513
- if (!this.sdlcState.currentProject) {
514
- // If the project is not found or the user does not have access to it,
515
- // we will not automatically redirect them to the setup page as they will lose the URL
516
- // instead, we give them the option to:
517
- // - reload the page (in case they later gain access)
518
- // - back to the setup page
519
- this.applicationStore.alertService.setActionAlertInfo({
520
- message: `Project not found or inaccessible`,
521
- prompt: 'Please check that the project exists and request access to it',
522
- type: ActionAlertType.STANDARD,
523
- actions: [
524
- {
525
- label: 'Reload application',
526
- default: true,
527
- type: ActionAlertActionType.STANDARD,
528
- handler: (): void => {
529
- this.applicationStore.navigationService.navigator.reload();
530
- },
531
- },
532
- {
533
- label: 'Back to workspace setup',
534
- type: ActionAlertActionType.STANDARD,
535
- handler: (): void => {
536
- this.applicationStore.navigationService.navigator.goToLocation(
537
- generateSetupRoute(undefined),
538
- );
539
- },
540
- },
541
- ],
542
- });
543
- onLeave(false);
544
- return;
545
- }
546
- yield flowResult(
547
- this.sdlcState.fetchCurrentWorkspace(
548
- projectId,
549
- workspaceId,
550
- workspaceType,
551
- {
552
- suppressNotification: true,
553
- },
554
- ),
555
- );
556
- if (!this.sdlcState.currentWorkspace) {
557
- // If the workspace is not found,
558
- // we will not automatically redirect the user to the setup page as they will lose the URL
559
- // instead, we give them the option to:
560
- // - create the workspace
561
- // - view project
562
- // - back to the setup page
563
- const createWorkspaceAndRelaunch = async (): Promise<void> => {
564
- try {
565
- this.applicationStore.alertService.setBlockingAlert({
566
- message: 'Creating workspace...',
567
- prompt: 'Please do not close the application',
568
- });
569
- const workspace = await this.sdlcServerClient.createWorkspace(
570
- projectId,
571
- workspaceId,
572
- workspaceType,
573
- );
574
- this.applicationStore.alertService.setBlockingAlert(undefined);
575
- this.applicationStore.notificationService.notifySuccess(
576
- `Workspace '${workspace.workspaceId}' is succesfully created. Reloading application...`,
577
- );
578
- this.applicationStore.navigationService.navigator.reload();
579
- } catch (error) {
580
- assertErrorThrown(error);
581
- this.applicationStore.logService.error(
582
- LogEvent.create(LEGEND_STUDIO_APP_EVENT.WORKSPACE_SETUP_FAILURE),
583
- error,
584
- );
585
- this.applicationStore.notificationService.notifyError(error);
586
- }
587
- };
588
- this.applicationStore.alertService.setActionAlertInfo({
589
- message: 'Workspace not found',
590
- prompt: `Please note that you can check out the project in viewer mode. Workspace is only required if you need to work on the project.`,
591
- type: ActionAlertType.STANDARD,
592
- actions: [
593
- {
594
- label: 'View project',
595
- default: true,
596
- type: ActionAlertActionType.STANDARD,
597
- handler: (): void => {
598
- this.applicationStore.navigationService.navigator.goToLocation(
599
- generateViewProjectRoute(projectId),
600
- );
601
- },
602
- },
603
- {
604
- label: 'Create workspace',
605
- type: ActionAlertActionType.STANDARD,
606
- handler: (): void => {
607
- createWorkspaceAndRelaunch().catch(
608
- this.applicationStore.alertUnhandledError,
609
- );
610
- },
611
- },
612
- {
613
- label: 'Back to workspace setup',
614
- type: ActionAlertActionType.STANDARD,
615
- handler: (): void => {
616
- this.applicationStore.navigationService.navigator.goToLocation(
617
- generateSetupRoute(projectId, workspaceId, workspaceType),
618
- );
619
- },
620
- },
621
- ],
622
- });
623
- onLeave(false);
624
- return;
625
- }
626
- yield Promise.all([
627
- this.sdlcState.fetchCurrentRevision(
628
- projectId,
629
- this.sdlcState.activeWorkspace,
630
- ),
631
- this.graphManagerState.initializeSystem(), // this can be moved inside of `setupEngine`
632
- this.graphManagerState.graphManager.initialize(
633
- {
634
- env: this.applicationStore.config.env,
635
- tabSize: TAB_SIZE,
636
- clientConfig: {
637
- baseUrl: this.applicationStore.config.engineServerUrl,
638
- queryBaseUrl: this.applicationStore.config.engineQueryServerUrl,
639
- enableCompression: true,
640
- },
641
- },
642
- {
643
- tracerService: this.applicationStore.tracerService,
644
- },
645
- ),
646
- ]);
647
- yield flowResult(this.initMode());
648
-
649
- onLeave(true);
650
- }
651
-
652
- *initMode(): GeneratorFn<void> {
653
- switch (this.mode) {
654
- case EDITOR_MODE.STANDARD:
655
- yield flowResult(this.initStandardMode());
656
- return;
657
- case EDITOR_MODE.CONFLICT_RESOLUTION:
658
- yield flowResult(this.initConflictResolutionMode());
659
- return;
660
- default:
661
- throw new UnsupportedOperationError(
662
- `Can't initialize editor for unsupported mode '${this.mode}'`,
663
- );
664
- }
665
- }
666
-
667
- private *initStandardMode(): GeneratorFn<void> {
668
- yield Promise.all([
669
- this.buildGraph(),
670
- this.sdlcState.checkIfWorkspaceIsOutdated(),
671
- this.workspaceReviewState.fetchCurrentWorkspaceReview(),
672
- this.workspaceUpdaterState.fetchLatestCommittedReviews(),
673
- this.projectConfigurationEditorState.fetchLatestProjectStructureVersion(),
674
- this.graphState.graphGenerationState.fetchAvailableFileGenerationDescriptions(),
675
- this.graphState.graphGenerationState.externalFormatState.fetchExternalFormatsDescriptions(),
676
- this.sdlcState.fetchProjectVersions(),
677
- ]);
678
- }
679
-
680
- private *initConflictResolutionMode(): GeneratorFn<void> {
681
- this.applicationStore.alertService.setActionAlertInfo({
682
- message: 'Failed to update workspace.',
683
- prompt:
684
- 'You can discard all of your changes or review them, resolve all merge conflicts and fix any potential compilation issues as well as test failures',
685
- type: ActionAlertType.CAUTION,
686
- actions: [
687
- {
688
- label: 'Discard your changes',
689
- type: ActionAlertActionType.PROCEED_WITH_CAUTION,
690
- handler: (): void => {
691
- this.setActiveActivity(ACTIVITY_MODE.CONFLICT_RESOLUTION);
692
- flowResult(
693
- this.conflictResolutionState.discardConflictResolutionChanges(),
694
- ).catch((error) =>
695
- this.applicationStore.alertUnhandledError(error),
696
- );
697
- },
698
- },
699
- {
700
- label: 'Resolve merge conflicts',
701
- default: true,
702
- type: ActionAlertActionType.STANDARD,
703
- },
704
- ],
705
- });
706
- yield Promise.all([
707
- this.conflictResolutionState.initialize(),
708
- this.sdlcState.checkIfWorkspaceIsOutdated(),
709
- this.projectConfigurationEditorState.fetchLatestProjectStructureVersion(),
710
- this.graphState.graphGenerationState.fetchAvailableFileGenerationDescriptions(),
711
- this.graphState.graphGenerationState.externalFormatState.fetchExternalFormatsDescriptions(),
712
- this.sdlcState.fetchProjectVersions(),
713
- ]);
714
- }
715
-
716
- *buildGraph(graphEntities?: Entity[]): GeneratorFn<void> {
717
- const startTime = Date.now();
718
- let entities: Entity[];
719
- let projectConfiguration: PlainObject<ProjectConfiguration>;
720
-
721
- this.initState.setMessage(`Fetching entities...`);
722
- try {
723
- // fetch workspace entities and config at the same time
724
- const projectId = this.sdlcState.activeProject.projectId;
725
- const activeWorkspace = this.sdlcState.activeWorkspace;
726
- const result = (yield Promise.all([
727
- this.sdlcServerClient.getEntities(projectId, activeWorkspace),
728
- this.sdlcServerClient.getConfiguration(projectId, activeWorkspace),
729
- ])) as [Entity[], PlainObject<ProjectConfiguration>];
730
- entities = result[0];
731
- projectConfiguration = result[1];
732
- this.projectConfigurationEditorState.setProjectConfiguration(
733
- ProjectConfiguration.serialization.fromJson(projectConfiguration),
734
- );
735
- // make sure we set the original project configuration to a different object
736
- this.projectConfigurationEditorState.setOriginalProjectConfiguration(
737
- ProjectConfiguration.serialization.fromJson(projectConfiguration),
738
- );
739
- this.changeDetectionState.workspaceLocalLatestRevisionState.setEntities(
740
- entities,
741
- );
742
- this.applicationStore.logService.info(
743
- LogEvent.create(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS),
744
- Date.now() - startTime,
745
- 'ms',
746
- );
747
- } catch {
748
- return;
749
- } finally {
750
- this.initState.setMessage(undefined);
751
- }
752
-
753
- try {
754
- const result = (yield flowResult(
755
- // NOTE: if graph entities are provided, we will use that to build the graph.
756
- // We use this method as a way to fully reset the application with the entities, but we still use
757
- // the workspace entities for hashing as those are the base entities.
758
- this.graphState.buildGraph(graphEntities ?? entities),
759
- )) as GraphBuilderResult;
760
-
761
- if (result.error) {
762
- if (result.status === GraphBuilderStatus.REDIRECTED_TO_TEXT_MODE) {
763
- yield flowResult(
764
- this.changeDetectionState.workspaceLocalLatestRevisionState.buildEntityHashesIndex(
765
- entities,
766
- LogEvent.create(
767
- CHANGE_DETECTION_EVENT.CHANGE_DETECTION_BUILD_LOCAL_HASHES_INDEX__SUCCESS,
768
- ),
769
- ),
770
- );
771
- }
772
- return;
773
- }
774
-
775
- this.initState.setMessage(`Starting change detection engine...`);
776
-
777
- // build explorer tree
778
- this.explorerTreeState.buildImmutableModelTrees();
779
- this.explorerTreeState.build();
780
-
781
- // open element if provided an element path
782
- if (
783
- this.graphManagerState.graphBuildState.hasSucceeded &&
784
- this.explorerTreeState.buildState.hasCompleted &&
785
- this.initialEntityPath
786
- ) {
787
- try {
788
- this.graphEditorMode.openElement(
789
- this.graphManagerState.graph.getElement(this.initialEntityPath),
790
- );
791
- } catch {
792
- const elementPath = this.initialEntityPath;
793
- this.initialEntityPath = undefined;
794
- throw new AssertionError(
795
- `Can't find element with path '${elementPath}'`,
796
- );
797
- }
798
- }
799
-
800
- // ======= (RE)START CHANGE DETECTION =======
801
- this.changeDetectionState.stop();
802
- yield flowResult(this.changeDetectionState.observeGraph());
803
- yield Promise.all([
804
- this.changeDetectionState.preComputeGraphElementHashes(), // for local changes detection
805
- this.changeDetectionState.workspaceLocalLatestRevisionState.buildEntityHashesIndex(
806
- entities,
807
- LogEvent.create(
808
- CHANGE_DETECTION_EVENT.CHANGE_DETECTION_BUILD_LOCAL_HASHES_INDEX__SUCCESS,
809
- ),
810
- ),
811
-
812
- this.sdlcState.buildWorkspaceBaseRevisionEntityHashesIndex(),
813
- this.sdlcState.buildProjectLatestRevisionEntityHashesIndex(),
814
- ]);
815
- this.changeDetectionState.start();
816
- yield Promise.all([
817
- this.changeDetectionState.computeAggregatedWorkspaceChanges(true),
818
- this.changeDetectionState.computeAggregatedProjectLatestChanges(true),
819
- ]);
820
- this.applicationStore.logService.info(
821
- LogEvent.create(
822
- CHANGE_DETECTION_EVENT.CHANGE_DETECTION_RESTART__SUCCESS,
823
- ),
824
- '[ASNYC]',
825
- );
826
- // ======= FINISHED (RE)START CHANGE DETECTION =======
827
- } catch (error) {
828
- assertErrorThrown(error);
829
- this.applicationStore.logService.error(
830
- LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE),
831
- error,
832
- );
833
- // since errors have been handled accordingly, we don't need to do anything here
834
- return;
835
- } finally {
836
- this.initState.setMessage(undefined);
837
- }
838
- }
839
-
840
- setActiveActivity(
841
- activity: ACTIVITY_MODE,
842
- options?: { keepShowingIfMatchedCurrent?: boolean },
843
- ): void {
844
- if (!this.sideBarDisplayState.isOpen) {
845
- this.sideBarDisplayState.open();
846
- } else if (
847
- activity === this.activeActivity &&
848
- !options?.keepShowingIfMatchedCurrent
849
- ) {
850
- this.sideBarDisplayState.close();
851
- }
852
- this.activeActivity = activity;
853
- }
854
-
855
- setActiveAuxPanelMode(val: AUX_PANEL_MODE): void {
856
- this.activeAuxPanelMode = val;
857
- }
858
-
859
- *toggleTextMode(): GeneratorFn<void> {
860
- if (this.graphState.checkIfApplicationUpdateOperationIsRunning()) {
861
- return;
862
- }
863
- this.applicationStore.alertService.setBlockingAlert({
864
- message: 'Switching to text mode...',
865
- showLoading: true,
866
- });
867
- if (this.graphEditorMode instanceof GraphEditFormModeState) {
868
- yield flowResult(this.switchModes(GRAPH_EDITOR_MODE.GRAMMAR_TEXT));
869
- } else if (this.graphEditorMode instanceof GraphEditGrammarModeState) {
870
- yield flowResult(this.switchModes(GRAPH_EDITOR_MODE.FORM));
871
- } else {
872
- throw new UnsupportedOperationError(
873
- 'Editor only support form mode and text mode at the moment',
874
- );
875
- }
876
- }
877
-
878
- getSupportedElementTypes(): string[] {
879
- return (
880
- [
881
- PACKAGEABLE_ELEMENT_TYPE.CLASS,
882
- PACKAGEABLE_ELEMENT_TYPE.ENUMERATION,
883
- PACKAGEABLE_ELEMENT_TYPE.PROFILE,
884
- PACKAGEABLE_ELEMENT_TYPE.ASSOCIATION,
885
- PACKAGEABLE_ELEMENT_TYPE.FUNCTION,
886
- PACKAGEABLE_ELEMENT_TYPE.MEASURE,
887
- PACKAGEABLE_ELEMENT_TYPE.MAPPING,
888
- PACKAGEABLE_ELEMENT_TYPE.RUNTIME,
889
- PACKAGEABLE_ELEMENT_TYPE.CONNECTION,
890
- PACKAGEABLE_ELEMENT_TYPE.SERVICE,
891
- PACKAGEABLE_ELEMENT_TYPE.GENERATION_SPECIFICATION,
892
- PACKAGEABLE_ELEMENT_TYPE.FILE_GENERATION,
893
- PACKAGEABLE_ELEMENT_TYPE.FLAT_DATA_STORE,
894
- PACKAGEABLE_ELEMENT_TYPE.DATABASE,
895
- PACKAGEABLE_ELEMENT_TYPE.DATA,
896
- ] as string[]
897
- ).concat(
898
- this.pluginManager
899
- .getApplicationPlugins()
900
- .flatMap(
901
- (plugin) =>
902
- (
903
- plugin as DSL_LegendStudioApplicationPlugin_Extension
904
- ).getExtraSupportedElementTypes?.() ?? [],
905
- ),
906
- );
907
- }
908
-
909
- *switchModes(
910
- to: GRAPH_EDITOR_MODE,
911
- fallbackOptions?: {
912
- isCompilationFailure?: boolean;
913
- isGraphBuildFailure?: boolean;
914
- },
915
- ): GeneratorFn<void> {
916
- switch (to) {
917
- case GRAPH_EDITOR_MODE.GRAMMAR_TEXT: {
918
- const graphEditorMode = new GraphEditGrammarModeState(this);
919
- try {
920
- yield flowResult(
921
- graphEditorMode.cleanupBeforeEntering(fallbackOptions),
922
- );
923
- this.graphEditorMode = graphEditorMode;
924
- yield flowResult(
925
- this.graphEditorMode.initialize(Boolean(fallbackOptions)),
926
- );
927
- } catch (error) {
928
- assertErrorThrown(error);
929
- this.applicationStore.notificationService.notifyWarning(
930
- `Can't enter text mode: transformation to grammar text failed. Error: ${error.message}`,
931
- );
932
- this.applicationStore.alertService.setBlockingAlert(undefined);
933
- return;
934
- }
935
- break;
936
- }
937
- case GRAPH_EDITOR_MODE.FORM: {
938
- if (this.graphState.checkIfApplicationUpdateOperationIsRunning()) {
939
- return;
940
- }
941
- try {
942
- try {
943
- yield flowResult(this.graphEditorMode.onLeave(fallbackOptions));
944
- this.graphEditorMode = new GraphEditFormModeState(this);
945
- yield flowResult(this.graphEditorMode.initialize());
946
- } catch (error) {
947
- yield flowResult(this.graphEditorMode.handleCleanupFailure(error));
948
- }
949
- } catch (error) {
950
- assertErrorThrown(error);
951
- this.applicationStore.logService.error(
952
- LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE),
953
- error,
954
- );
955
- } finally {
956
- this.graphState.isApplicationLeavingGraphEditMode = false;
957
- this.applicationStore.alertService.setBlockingAlert(undefined);
958
- this.changeDetectionState.workspaceLocalLatestRevisionState.currentEntityHashesIndex =
959
- new Map<string, string>();
960
- }
961
-
962
- break;
963
- }
964
- default:
965
- throw new UnsupportedOperationError(
966
- `Editor does not support ${to} mode at the moment `,
967
- );
968
- }
969
- }
970
-
971
- getGraphEditorMode<T extends GraphEditorMode>(clazz: Clazz<T>): T {
972
- return guaranteeType(
973
- this.graphEditorMode,
974
- clazz,
975
- `Graph editor mode is not of the specified type (this is likely caused by calling this method at the wrong place)`,
976
- );
977
- }
978
- }