@finos/legend-application-studio 22.6.0 → 23.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.d.ts +21 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.d.ts.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.js +74 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.js.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioDocumentation.js.map +1 -0
- package/lib/application/LegendStudio.d.ts.map +1 -1
- package/lib/application/LegendStudio.js +9 -6
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.d.ts +4 -0
- package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.js +7 -1
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
- package/lib/application/LegendStudioApplicationNavigationContext.d.ts.map +1 -0
- package/lib/application/LegendStudioApplicationNavigationContext.js.map +1 -0
- package/lib/application/LegendStudioCodeSnippet.d.ts +45 -0
- package/lib/application/LegendStudioCodeSnippet.d.ts.map +1 -0
- package/lib/application/LegendStudioCodeSnippet.js +322 -0
- package/lib/application/LegendStudioCodeSnippet.js.map +1 -0
- package/lib/application/LegendStudioCommand.d.ts.map +1 -0
- package/lib/application/LegendStudioCommand.js.map +1 -0
- package/lib/application/LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/application/LegendStudioDocumentation.js.map +1 -0
- package/lib/application/LegendStudioEvent.d.ts +48 -0
- package/lib/application/LegendStudioEvent.d.ts.map +1 -0
- package/lib/application/LegendStudioEvent.js +56 -0
- package/lib/application/LegendStudioEvent.js.map +1 -0
- package/lib/application/LegendStudioEventHelper.d.ts +20 -0
- package/lib/application/LegendStudioEventHelper.d.ts.map +1 -0
- package/lib/application/LegendStudioEventHelper.js +22 -0
- package/lib/application/LegendStudioEventHelper.js.map +1 -0
- package/lib/application/LegendStudioNavigation.d.ts +77 -0
- package/lib/application/LegendStudioNavigation.d.ts.map +1 -0
- package/lib/application/LegendStudioNavigation.js +133 -0
- package/lib/application/LegendStudioNavigation.js.map +1 -0
- package/lib/application/LegendStudioPluginManager.js +1 -1
- package/lib/application/LegendStudioPluginManager.js.map +1 -1
- package/lib/application/LegendStudioSetting.d.ts +22 -0
- package/lib/application/LegendStudioSetting.d.ts.map +1 -0
- package/lib/application/LegendStudioSetting.js +29 -0
- package/lib/application/LegendStudioSetting.js.map +1 -0
- package/lib/application/LegendStudioTelemetryHelper.d.ts +33 -0
- package/lib/application/LegendStudioTelemetryHelper.d.ts.map +1 -0
- package/lib/application/LegendStudioTelemetryHelper.js +37 -0
- package/lib/application/LegendStudioTelemetryHelper.js.map +1 -0
- package/lib/application/LegendStudioTesting.d.ts +47 -0
- package/lib/application/LegendStudioTesting.d.ts.map +1 -0
- package/lib/application/LegendStudioTesting.js +52 -0
- package/lib/application/LegendStudioTesting.js.map +1 -0
- package/lib/components/EditorComponentTestUtils.d.ts +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +7 -8
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.js +1 -1
- package/lib/components/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +0 -1
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts +0 -2
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +9 -9
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.d.ts.map +1 -1
- package/lib/components/editor/ActivityBar.js +8 -8
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.d.ts.map +1 -1
- package/lib/components/editor/Editor.js +6 -2
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.d.ts +1 -1
- package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +2 -4
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.js +6 -9
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.js +2 -2
- package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
- package/lib/components/editor/aux-panel/Problems.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/Problems.js +4 -10
- package/lib/components/editor/aux-panel/Problems.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.js +19 -19
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +2 -2
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +9 -9
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +6 -6
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +9 -8
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +3 -3
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +6 -6
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +2 -2
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +6 -6
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +4 -4
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +2 -2
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +3 -3
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +4 -4
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +4 -4
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +6 -6
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +9 -9
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +6 -6
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +8 -10
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js +3 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +8 -8
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +7 -9
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +14 -9
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js +165 -0
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +3 -3
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +5 -5
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +5 -5
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +5 -5
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +1 -3
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +4 -4
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +3 -3
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +7 -7
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +14 -14
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +2 -4
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +6 -6
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js +7 -3
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +25 -17
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +9 -8
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js +19 -7
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +4 -3
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +1 -1
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.js +1 -1
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +5 -5
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +4 -4
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +5 -5
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +3 -3
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/element-preview/ElementPreview.d.ts +2 -0
- package/lib/components/element-preview/ElementPreview.d.ts.map +1 -0
- package/lib/components/element-preview/ElementPreview.js +2 -0
- package/lib/components/element-preview/ElementPreview.js.map +1 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts +27 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +90 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +43 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +301 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/project-view/ProjectViewer.d.ts.map +1 -0
- package/lib/components/project-view/ProjectViewer.js +151 -0
- package/lib/components/project-view/ProjectViewer.js.map +1 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.d.ts +23 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.d.ts.map +1 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.js +36 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -0
- package/lib/components/shared/ElementIconUtils.d.ts +1 -1
- package/lib/components/shared/ElementIconUtils.d.ts.map +1 -1
- package/lib/components/shared/ElementIconUtils.js +1 -1
- package/lib/components/shared/ElementIconUtils.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js +2 -2
- package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.js +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js +3 -3
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js +1 -1
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +3 -3
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.d.ts.map +1 -0
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +46 -0
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.d.ts.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSetup.js +9 -9
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +46 -45
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +44 -44
- package/lib/index.js.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/LegendStudioApplicationPlugin.d.ts +16 -9
- package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +26 -9
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/editor/AbstractConflictResolutionState.d.ts.map +1 -0
- package/lib/stores/editor/AbstractConflictResolutionState.js.map +1 -0
- package/lib/stores/editor/ChangeDetectionState.d.ts.map +1 -0
- package/lib/stores/editor/ChangeDetectionState.js +599 -0
- package/lib/stores/editor/ChangeDetectionState.js.map +1 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.d.ts +19 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.d.ts.map +1 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.js +23 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.js.map +1 -0
- package/lib/stores/editor/EditorConfig.d.ts.map +1 -0
- package/lib/stores/editor/EditorConfig.js.map +1 -0
- package/lib/stores/editor/EditorGraphState.d.ts +91 -0
- package/lib/stores/editor/EditorGraphState.d.ts.map +1 -0
- package/lib/stores/editor/EditorGraphState.js +529 -0
- package/lib/stores/editor/EditorGraphState.js.map +1 -0
- package/lib/stores/editor/EditorSDLCState.d.ts.map +1 -0
- package/lib/stores/editor/EditorSDLCState.js +271 -0
- package/lib/stores/editor/EditorSDLCState.js.map +1 -0
- package/lib/stores/editor/EditorStore.d.ts +135 -0
- package/lib/stores/editor/EditorStore.d.ts.map +1 -0
- package/lib/stores/editor/EditorStore.js +701 -0
- package/lib/stores/editor/EditorStore.js.map +1 -0
- package/lib/stores/editor/EditorStoreTestUtils.d.ts +21 -0
- package/lib/stores/editor/EditorStoreTestUtils.d.ts.map +1 -0
- package/lib/stores/editor/EditorStoreTestUtils.js +53 -0
- package/lib/stores/editor/EditorStoreTestUtils.js.map +1 -0
- package/lib/stores/editor/EditorTabManagerState.d.ts +47 -0
- package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -0
- package/lib/stores/editor/EditorTabManagerState.js +141 -0
- package/lib/stores/editor/EditorTabManagerState.js.map +1 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts +40 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.js +80 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.js.map +1 -0
- package/lib/stores/editor/ExplorerTreeState.d.ts.map +1 -0
- package/lib/stores/editor/ExplorerTreeState.js +328 -0
- package/lib/stores/editor/ExplorerTreeState.js.map +1 -0
- package/lib/stores/editor/GraphEditFormModeState.d.ts +81 -0
- package/lib/stores/editor/GraphEditFormModeState.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditFormModeState.js +370 -0
- package/lib/stores/editor/GraphEditFormModeState.js.map +1 -0
- package/lib/stores/editor/GraphEditGrammarModeState.d.ts +65 -0
- package/lib/stores/editor/GraphEditGrammarModeState.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditGrammarModeState.js +315 -0
- package/lib/stores/editor/GraphEditGrammarModeState.js.map +1 -0
- package/lib/stores/editor/GraphEditorMode.d.ts +51 -0
- package/lib/stores/editor/GraphEditorMode.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditorMode.js +35 -0
- package/lib/stores/editor/GraphEditorMode.js.map +1 -0
- package/lib/stores/editor/NewElementState.d.ts +5 -5
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +28 -19
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/StandardEditorMode.d.ts +1 -1
- package/lib/stores/editor/StandardEditorMode.d.ts.map +1 -1
- package/lib/stores/editor/StandardEditorMode.js +1 -1
- package/lib/stores/editor/StandardEditorMode.js.map +1 -1
- package/lib/stores/editor/aux-panel-state/DevToolState.d.ts.map +1 -0
- package/lib/stores/editor/aux-panel-state/DevToolState.js.map +1 -0
- package/lib/stores/editor/editor-state/EditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/EditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.js +83 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationState.js +174 -0
- package/lib/stores/editor/editor-state/FileGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationViewerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationViewerState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileSystemState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileSystemState.js.map +1 -0
- package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.js +158 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.js +344 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/ModelImporterState.d.ts +101 -0
- package/lib/stores/editor/editor-state/ModelImporterState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/ModelImporterState.js +367 -0
- package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -0
- package/lib/stores/editor/editor-state/UnsupportedElementEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/UnsupportedElementEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +172 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js +70 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +425 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +398 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +108 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js +881 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +29 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +42 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js +483 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.js +512 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js +665 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +55 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +229 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +247 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +224 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +143 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +179 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +212 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +315 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -0
- package/lib/stores/editor/shared/DnDUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/DnDUtils.js.map +1 -0
- package/lib/stores/editor/shared/FileSystemTreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/FileSystemTreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/MockDataUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/MockDataUtils.js.map +1 -0
- package/lib/stores/editor/shared/ModelClassifierUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/ModelClassifierUtils.js.map +1 -0
- package/lib/stores/editor/shared/PackageTreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/PackageTreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/TestableUtils.d.ts +45 -0
- package/lib/stores/editor/shared/TestableUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/TestableUtils.js +143 -0
- package/lib/stores/editor/shared/TestableUtils.js.map +1 -0
- package/lib/stores/editor/shared/TreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/TreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts +51 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +237 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts +87 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.js +543 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +234 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +356 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js +272 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js +382 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js +474 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js +215 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts +100 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +52 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +45 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +129 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +25 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +31 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +97 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/project-view/ProjectViewerEditorMode.d.ts.map +1 -0
- package/lib/stores/project-view/ProjectViewerEditorMode.js +41 -0
- package/lib/stores/project-view/ProjectViewerEditorMode.js.map +1 -0
- package/lib/stores/project-view/ProjectViewerStore.d.ts +56 -0
- package/lib/stores/project-view/ProjectViewerStore.d.ts.map +1 -0
- package/lib/stores/project-view/ProjectViewerStore.js +351 -0
- package/lib/stores/project-view/ProjectViewerStore.js.map +1 -0
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.js +4 -5
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +2 -2
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +13 -13
- package/src/application/LegendStudio.tsx +9 -8
- package/src/application/LegendStudioApplicationConfig.ts +7 -0
- package/src/application/LegendStudioEvent.ts +65 -0
- package/src/application/LegendStudioEventHelper.ts +26 -0
- package/src/application/LegendStudioNavigation.ts +233 -0
- package/src/application/LegendStudioPluginManager.ts +1 -1
- package/src/application/LegendStudioSetting.ts +31 -0
- package/src/application/LegendStudioTelemetryHelper.ts +71 -0
- package/src/components/EditorComponentTestUtils.tsx +11 -17
- package/src/components/EmbeddedQueryBuilder.tsx +2 -2
- package/src/components/LegendStudioAppInfo.tsx +0 -1
- package/src/components/LegendStudioApplication.tsx +32 -22
- package/src/components/editor/ActivityBar.tsx +11 -8
- package/src/components/editor/Editor.tsx +10 -6
- package/src/components/editor/EditorStoreProvider.tsx +2 -9
- package/src/components/editor/StatusBar.tsx +11 -10
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +1 -1
- package/src/components/editor/aux-panel/DevTool.tsx +3 -3
- package/src/components/editor/aux-panel/Problems.tsx +6 -11
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +1 -4
- package/src/components/editor/edit-panel/EditPanel.tsx +19 -19
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +2 -2
- package/src/components/editor/edit-panel/FunctionEditor.tsx +10 -10
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +7 -7
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +18 -13
- package/src/components/editor/edit-panel/ModelImporter.tsx +3 -3
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +10 -10
- package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +4 -4
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +5 -5
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +2 -2
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +7 -7
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +6 -6
- package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +1 -1
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +2 -2
- package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +3 -3
- package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/ElementNativeView.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +6 -6
- package/src/components/editor/edit-panel/element-generation-editor/FileSystemViewer.tsx +4 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +3 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx +4 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +3 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +3 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +6 -6
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +11 -11
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +7 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +8 -11
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +4 -3
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +8 -8
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +7 -10
- package/src/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +33 -10
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/TypeTree.tsx +293 -0
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +5 -5
- package/src/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +5 -5
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +5 -5
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +2 -5
- package/src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +4 -4
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +3 -3
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +6 -6
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +7 -7
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +14 -14
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +6 -7
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +6 -6
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +4 -4
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +4 -4
- package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/UMLEditor.tsx +1 -1
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +12 -8
- package/src/components/editor/side-bar/Explorer.tsx +33 -23
- package/src/components/editor/side-bar/LocalChanges.tsx +9 -13
- package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +17 -21
- package/src/components/editor/side-bar/ProjectOverview.tsx +4 -3
- package/src/components/editor/side-bar/RegisterService.tsx +2 -2
- package/src/components/editor/side-bar/SideBar.tsx +1 -1
- package/src/components/editor/side-bar/WorkflowManager.tsx +2 -2
- package/src/components/editor/side-bar/WorkspaceReview.tsx +5 -5
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +5 -5
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +4 -4
- package/src/components/element-preview/ElementPreview.tsx +0 -0
- package/src/components/extensions/Core_LegendStudioApplicationPlugin.tsx +112 -0
- package/src/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +453 -0
- package/src/components/project-view/ProjectViewer.tsx +356 -0
- package/src/components/project-view/ProjectViewerStoreProvider.tsx +56 -0
- package/src/components/shared/ElementIconUtils.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReview.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReviewPanel.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +3 -3
- package/src/components/workspace-review/WorkspaceReviewStoreProvider.tsx +1 -1
- package/src/components/workspace-setup/CreateProjectModal.tsx +3 -3
- package/src/components/workspace-setup/CreateWorkspaceModal.tsx +1 -1
- package/src/components/workspace-setup/ProjectSelectorUtils.tsx +125 -0
- package/src/components/workspace-setup/WorkspaceSetup.tsx +10 -10
- package/src/index.ts +50 -45
- package/src/stores/LegendStudioApplicationPlugin.ts +21 -8
- package/src/stores/LegendStudioBaseStore.ts +36 -11
- package/src/stores/editor/ChangeDetectionState.ts +954 -0
- package/src/stores/editor/DependencyProjectViewerHelper.ts +39 -0
- package/src/stores/editor/EditorGraphState.ts +841 -0
- package/src/stores/editor/EditorSDLCState.ts +480 -0
- package/src/stores/editor/EditorStore.ts +977 -0
- package/src/stores/editor/EditorStoreTestUtils.ts +70 -0
- package/src/stores/editor/EditorTabManagerState.ts +203 -0
- package/src/stores/editor/EmbeddedQueryBuilderState.ts +117 -0
- package/src/stores/editor/ExplorerTreeState.ts +548 -0
- package/src/stores/editor/GraphEditFormModeState.ts +605 -0
- package/src/stores/editor/GraphEditGrammarModeState.ts +512 -0
- package/src/stores/editor/GraphEditorMode.ts +77 -0
- package/src/stores/editor/NewElementState.ts +48 -32
- package/src/stores/editor/StandardEditorMode.ts +2 -2
- package/src/stores/editor/editor-state/ExternalFormatState.ts +119 -0
- package/src/stores/editor/editor-state/FileGenerationState.ts +285 -0
- package/src/stores/editor/editor-state/GrammarTextEditorState.ts +201 -0
- package/src/stores/editor/editor-state/GraphGenerationState.ts +560 -0
- package/src/stores/editor/editor-state/ModelImporterState.ts +539 -0
- package/src/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +266 -0
- package/src/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.ts +100 -0
- package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +935 -0
- package/src/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.ts +539 -0
- package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +644 -0
- package/src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts +351 -0
- package/src/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +585 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.ts +1512 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +794 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +58 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.ts +980 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.ts +880 -0
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.ts +1103 -0
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +368 -0
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +398 -0
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +314 -0
- package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +213 -0
- package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +244 -0
- package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +346 -0
- package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +450 -0
- package/src/stores/editor/shared/PackageTreeUtils.ts +469 -0
- package/src/stores/editor/shared/TestableUtils.ts +219 -0
- package/src/stores/editor/sidebar-state/BulkServiceRegistrationState.ts +370 -0
- package/src/stores/editor/sidebar-state/LocalChangesState.ts +876 -0
- package/src/stores/editor/sidebar-state/ProjectOverviewState.ts +391 -0
- package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +645 -0
- package/src/stores/editor/sidebar-state/WorkspaceReviewState.ts +409 -0
- package/src/stores/editor/sidebar-state/WorkspaceSyncState.ts +578 -0
- package/src/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +736 -0
- package/src/stores/editor/sidebar-state/WorkspaceUpdaterState.ts +367 -0
- package/src/stores/editor/sidebar-state/testable/GlobalTestRunnerState.ts +641 -0
- package/src/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +70 -0
- package/src/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +52 -0
- package/src/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +212 -0
- package/src/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +32 -0
- package/src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +40 -0
- package/src/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +167 -0
- package/src/stores/project-view/ProjectViewerEditorMode.ts +79 -0
- package/src/stores/project-view/ProjectViewerStore.ts +614 -0
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +5 -6
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +2 -2
- package/tsconfig.json +123 -122
- package/tsconfig.package.json +1 -2
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +0 -26
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.js +0 -85
- package/lib/components/Core_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts +0 -21
- package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.js +0 -74
- package/lib/components/DSL_ExternalFormat_CodeSnippets.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +0 -43
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +0 -301
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/LegendStudioTestID.d.ts +0 -47
- package/lib/components/LegendStudioTestID.d.ts.map +0 -1
- package/lib/components/LegendStudioTestID.js +0 -52
- package/lib/components/LegendStudioTestID.js.map +0 -1
- package/lib/components/project-viewer/ProjectViewer.d.ts.map +0 -1
- package/lib/components/project-viewer/ProjectViewer.js +0 -148
- package/lib/components/project-viewer/ProjectViewer.js.map +0 -1
- package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts +0 -23
- package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts.map +0 -1
- package/lib/components/project-viewer/ProjectViewerStoreProvider.js +0 -36
- package/lib/components/project-viewer/ProjectViewerStoreProvider.js.map +0 -1
- package/lib/components/shared/MultiplicityBadge.d.ts +0 -21
- package/lib/components/shared/MultiplicityBadge.d.ts.map +0 -1
- package/lib/components/shared/MultiplicityBadge.js +0 -25
- package/lib/components/shared/MultiplicityBadge.js.map +0 -1
- package/lib/components/shared/ProjectSelectorUtils.d.ts.map +0 -1
- package/lib/components/shared/ProjectSelectorUtils.js +0 -46
- package/lib/components/shared/ProjectSelectorUtils.js.map +0 -1
- package/lib/components/shared/TypeTree.d.ts.map +0 -1
- package/lib/components/shared/TypeTree.js +0 -165
- package/lib/components/shared/TypeTree.js.map +0 -1
- package/lib/components/shared/WorkspaceSelectorUtils.d.ts.map +0 -1
- package/lib/components/shared/WorkspaceSelectorUtils.js.map +0 -1
- package/lib/stores/AbstractConflictResolutionState.d.ts.map +0 -1
- package/lib/stores/AbstractConflictResolutionState.js.map +0 -1
- package/lib/stores/ChangeDetectionEvent.d.ts +0 -29
- package/lib/stores/ChangeDetectionEvent.d.ts.map +0 -1
- package/lib/stores/ChangeDetectionEvent.js +0 -31
- package/lib/stores/ChangeDetectionEvent.js.map +0 -1
- package/lib/stores/ChangeDetectionState.d.ts.map +0 -1
- package/lib/stores/ChangeDetectionState.js +0 -599
- package/lib/stores/ChangeDetectionState.js.map +0 -1
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +0 -52
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +0 -45
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -129
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +0 -25
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DependencyProjectViewerHelper.d.ts +0 -19
- package/lib/stores/DependencyProjectViewerHelper.d.ts.map +0 -1
- package/lib/stores/DependencyProjectViewerHelper.js +0 -23
- package/lib/stores/DependencyProjectViewerHelper.js.map +0 -1
- package/lib/stores/EditorConfig.d.ts.map +0 -1
- package/lib/stores/EditorConfig.js.map +0 -1
- package/lib/stores/EditorGraphState.d.ts +0 -152
- package/lib/stores/EditorGraphState.d.ts.map +0 -1
- package/lib/stores/EditorGraphState.js +0 -1023
- package/lib/stores/EditorGraphState.js.map +0 -1
- package/lib/stores/EditorSDLCState.d.ts.map +0 -1
- package/lib/stores/EditorSDLCState.js +0 -272
- package/lib/stores/EditorSDLCState.js.map +0 -1
- package/lib/stores/EditorStore.d.ts +0 -140
- package/lib/stores/EditorStore.d.ts.map +0 -1
- package/lib/stores/EditorStore.js +0 -844
- package/lib/stores/EditorStore.js.map +0 -1
- package/lib/stores/EditorStoreTestUtils.d.ts +0 -21
- package/lib/stores/EditorStoreTestUtils.d.ts.map +0 -1
- package/lib/stores/EditorStoreTestUtils.js +0 -54
- package/lib/stores/EditorStoreTestUtils.js.map +0 -1
- package/lib/stores/EditorTabManagerState.d.ts +0 -46
- package/lib/stores/EditorTabManagerState.d.ts.map +0 -1
- package/lib/stores/EditorTabManagerState.js +0 -97
- package/lib/stores/EditorTabManagerState.js.map +0 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts +0 -41
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/EmbeddedQueryBuilderState.js +0 -79
- package/lib/stores/EmbeddedQueryBuilderState.js.map +0 -1
- package/lib/stores/ExplorerTreeState.d.ts.map +0 -1
- package/lib/stores/ExplorerTreeState.js +0 -328
- package/lib/stores/ExplorerTreeState.js.map +0 -1
- package/lib/stores/LegendStudioAppEvent.d.ts +0 -37
- package/lib/stores/LegendStudioAppEvent.d.ts.map +0 -1
- package/lib/stores/LegendStudioAppEvent.js +0 -44
- package/lib/stores/LegendStudioAppEvent.js.map +0 -1
- package/lib/stores/LegendStudioApplicationNavigationContext.d.ts.map +0 -1
- package/lib/stores/LegendStudioApplicationNavigationContext.js.map +0 -1
- package/lib/stores/LegendStudioCodeSnippets.d.ts +0 -45
- package/lib/stores/LegendStudioCodeSnippets.d.ts.map +0 -1
- package/lib/stores/LegendStudioCodeSnippets.js +0 -322
- package/lib/stores/LegendStudioCodeSnippets.js.map +0 -1
- package/lib/stores/LegendStudioCommand.d.ts.map +0 -1
- package/lib/stores/LegendStudioCommand.js.map +0 -1
- package/lib/stores/LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/stores/LegendStudioDocumentation.js.map +0 -1
- package/lib/stores/LegendStudioEventService.d.ts +0 -23
- package/lib/stores/LegendStudioEventService.d.ts.map +0 -1
- package/lib/stores/LegendStudioEventService.js +0 -29
- package/lib/stores/LegendStudioEventService.js.map +0 -1
- package/lib/stores/LegendStudioRouter.d.ts +0 -78
- package/lib/stores/LegendStudioRouter.d.ts.map +0 -1
- package/lib/stores/LegendStudioRouter.js +0 -154
- package/lib/stores/LegendStudioRouter.js.map +0 -1
- package/lib/stores/LegendStudioStorage.d.ts +0 -20
- package/lib/stores/LegendStudioStorage.d.ts.map +0 -1
- package/lib/stores/LegendStudioStorage.js +0 -21
- package/lib/stores/LegendStudioStorage.js.map +0 -1
- package/lib/stores/LegendStudioTelemetry.d.ts +0 -33
- package/lib/stores/LegendStudioTelemetry.d.ts.map +0 -1
- package/lib/stores/LegendStudioTelemetry.js +0 -37
- package/lib/stores/LegendStudioTelemetry.js.map +0 -1
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +0 -31
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +0 -97
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/aux-panel-state/DevToolState.d.ts.map +0 -1
- package/lib/stores/aux-panel-state/DevToolState.js.map +0 -1
- package/lib/stores/editor-state/EditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/EditorState.js.map +0 -1
- package/lib/stores/editor-state/ExternalFormatState.d.ts.map +0 -1
- package/lib/stores/editor-state/ExternalFormatState.js +0 -83
- package/lib/stores/editor-state/ExternalFormatState.js.map +0 -1
- package/lib/stores/editor-state/FileGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileGenerationState.js +0 -174
- package/lib/stores/editor-state/FileGenerationState.js.map +0 -1
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileGenerationViewerState.js.map +0 -1
- package/lib/stores/editor-state/FileSystemState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileSystemState.js.map +0 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +0 -1
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/GrammarTextEditorState.js +0 -158
- package/lib/stores/editor-state/GrammarTextEditorState.js.map +0 -1
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/GraphGenerationState.js +0 -344
- package/lib/stores/editor-state/GraphGenerationState.js.map +0 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts +0 -101
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +0 -1
- package/lib/stores/editor-state/ModelImporterState.js +0 -367
- package/lib/stores/editor-state/ModelImporterState.js.map +0 -1
- package/lib/stores/editor-state/UnsupportedElementEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/UnsupportedElementEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +0 -172
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +0 -70
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +0 -422
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +0 -398
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +0 -108
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +0 -881
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +0 -29
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +0 -42
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +0 -490
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +0 -517
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +0 -672
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +0 -55
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +0 -229
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +0 -247
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +0 -224
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +0 -143
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +0 -179
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +0 -212
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +0 -315
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerEditorMode.d.ts.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js +0 -41
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts +0 -56
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +0 -357
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +0 -1
- package/lib/stores/shared/DnDUtils.d.ts.map +0 -1
- package/lib/stores/shared/DnDUtils.js.map +0 -1
- package/lib/stores/shared/FileSystemTreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/FileSystemTreeUtils.js.map +0 -1
- package/lib/stores/shared/MockDataUtils.d.ts.map +0 -1
- package/lib/stores/shared/MockDataUtils.js.map +0 -1
- package/lib/stores/shared/ModelClassifierUtils.d.ts.map +0 -1
- package/lib/stores/shared/ModelClassifierUtils.js.map +0 -1
- package/lib/stores/shared/PackageTreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/PackageTreeUtils.js.map +0 -1
- package/lib/stores/shared/TreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/TreeUtils.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DomainGraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DomainGraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/Testable_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/Testable_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/testable/TestableUtils.d.ts +0 -45
- package/lib/stores/shared/testable/TestableUtils.d.ts.map +0 -1
- package/lib/stores/shared/testable/TestableUtils.js +0 -143
- package/lib/stores/shared/testable/TestableUtils.js.map +0 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts +0 -51
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js +0 -237
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js.map +0 -1
- package/lib/stores/sidebar-state/LocalChangesState.d.ts +0 -84
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +0 -511
- package/lib/stores/sidebar-state/LocalChangesState.js.map +0 -1
- package/lib/stores/sidebar-state/ProjectDependantEditorState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/ProjectDependantEditorState.js.map +0 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +0 -234
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.js +0 -356
- package/lib/stores/sidebar-state/WorkflowManagerState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +0 -273
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.js +0 -382
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +0 -475
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +0 -216
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +0 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +0 -100
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +0 -1
- package/src/components/Core_LegendStudioApplicationPlugin.tsx +0 -103
- package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +0 -453
- package/src/components/project-viewer/ProjectViewer.tsx +0 -350
- package/src/components/project-viewer/ProjectViewerStoreProvider.tsx +0 -56
- package/src/components/shared/MultiplicityBadge.tsx +0 -39
- package/src/components/shared/ProjectSelectorUtils.tsx +0 -125
- package/src/components/shared/TypeTree.tsx +0 -290
- package/src/stores/ChangeDetectionEvent.ts +0 -34
- package/src/stores/ChangeDetectionState.ts +0 -954
- package/src/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +0 -70
- package/src/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +0 -52
- package/src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +0 -212
- package/src/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +0 -32
- package/src/stores/DependencyProjectViewerHelper.ts +0 -39
- package/src/stores/EditorGraphState.ts +0 -1590
- package/src/stores/EditorSDLCState.ts +0 -481
- package/src/stores/EditorStore.ts +0 -1203
- package/src/stores/EditorStoreTestUtils.ts +0 -72
- package/src/stores/EditorTabManagerState.ts +0 -138
- package/src/stores/EmbeddedQueryBuilderState.ts +0 -117
- package/src/stores/ExplorerTreeState.ts +0 -550
- package/src/stores/LegendStudioAppEvent.ts +0 -48
- package/src/stores/LegendStudioEventService.ts +0 -36
- package/src/stores/LegendStudioRouter.ts +0 -273
- package/src/stores/LegendStudioStorage.ts +0 -20
- package/src/stores/LegendStudioTelemetry.ts +0 -83
- package/src/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +0 -40
- package/src/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +0 -167
- package/src/stores/editor-state/ExternalFormatState.ts +0 -119
- package/src/stores/editor-state/FileGenerationState.ts +0 -285
- package/src/stores/editor-state/GrammarTextEditorState.ts +0 -202
- package/src/stores/editor-state/GraphGenerationState.ts +0 -556
- package/src/stores/editor-state/ModelImporterState.ts +0 -539
- package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +0 -266
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +0 -96
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +0 -935
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +0 -539
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +0 -637
- package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +0 -351
- package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +0 -585
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +0 -1514
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +0 -794
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +0 -58
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +0 -989
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +0 -889
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +0 -1116
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +0 -368
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +0 -398
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +0 -314
- package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +0 -213
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +0 -244
- package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +0 -346
- package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +0 -450
- package/src/stores/project-viewer/ProjectViewerEditorMode.ts +0 -79
- package/src/stores/project-viewer/ProjectViewerStore.ts +0 -625
- package/src/stores/shared/PackageTreeUtils.ts +0 -469
- package/src/stores/shared/testable/TestableUtils.ts +0 -219
- package/src/stores/sidebar-state/BulkServiceRegistrationState.ts +0 -370
- package/src/stores/sidebar-state/LocalChangesState.ts +0 -836
- package/src/stores/sidebar-state/ProjectOverviewState.ts +0 -391
- package/src/stores/sidebar-state/WorkflowManagerState.ts +0 -645
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +0 -410
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +0 -577
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +0 -737
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +0 -368
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +0 -641
- /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.d.ts +0 -0
- /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.js +0 -0
- /package/lib/{stores → application}/LegendStudioApplicationNavigationContext.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioApplicationNavigationContext.js +0 -0
- /package/lib/{stores → application}/LegendStudioCommand.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioCommand.js +0 -0
- /package/lib/{stores → application}/LegendStudioDocumentation.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioDocumentation.js +0 -0
- /package/lib/components/{shared → editor/edit-panel/mapping-editor}/TypeTree.d.ts +0 -0
- /package/lib/components/{project-viewer → project-view}/ProjectViewer.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/ProjectSelectorUtils.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.js +0 -0
- /package/lib/stores/{AbstractConflictResolutionState.d.ts → editor/AbstractConflictResolutionState.d.ts} +0 -0
- /package/lib/stores/{AbstractConflictResolutionState.js → editor/AbstractConflictResolutionState.js} +0 -0
- /package/lib/stores/{ChangeDetectionState.d.ts → editor/ChangeDetectionState.d.ts} +0 -0
- /package/lib/stores/{EditorConfig.d.ts → editor/EditorConfig.d.ts} +0 -0
- /package/lib/stores/{EditorConfig.js → editor/EditorConfig.js} +0 -0
- /package/lib/stores/{EditorSDLCState.d.ts → editor/EditorSDLCState.d.ts} +0 -0
- /package/lib/stores/{ExplorerTreeState.d.ts → editor/ExplorerTreeState.d.ts} +0 -0
- /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.d.ts +0 -0
- /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/EditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/EditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/ExternalFormatState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GrammarTextEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GraphGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementExternalFormatGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementFileGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/DatabaseBuilderState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingExecutionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestDataState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestableState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestableEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffViewState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectDependencyEditorState.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/DnDUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/DnDUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/MockDataUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/MockDataUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/TreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/TreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.js +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.js +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectOverviewState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkflowManagerState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceReviewState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceSyncState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdateConflictResolutionState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdaterState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/testable/GlobalTestRunnerState.js +0 -0
- /package/lib/stores/{DSL_Data_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Generation_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Mapping_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Service_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js → extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{STO_Relational_LegendStudioApplicationPlugin_Extension.js → extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{project-viewer → project-view}/ProjectViewerEditorMode.d.ts +0 -0
- /package/src/{components/DSL_ExternalFormat_CodeSnippets.ts → application/DSL_ExternalFormat_LegendStudioCodeSnippet.ts} +0 -0
- /package/src/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.ts +0 -0
- /package/src/{stores → application}/LegendStudioApplicationNavigationContext.ts +0 -0
- /package/src/{stores/LegendStudioCodeSnippets.ts → application/LegendStudioCodeSnippet.ts} +0 -0
- /package/src/{stores → application}/LegendStudioCommand.ts +0 -0
- /package/src/{stores → application}/LegendStudioDocumentation.ts +0 -0
- /package/src/{components/LegendStudioTestID.ts → application/LegendStudioTesting.ts} +0 -0
- /package/src/components/{shared → workspace-setup}/WorkspaceSelectorUtils.tsx +0 -0
- /package/src/stores/{AbstractConflictResolutionState.ts → editor/AbstractConflictResolutionState.ts} +0 -0
- /package/src/stores/{EditorConfig.ts → editor/EditorConfig.ts} +0 -0
- /package/src/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/EditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/FileSystemState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.ts +0 -0
- /package/src/stores/{shared → editor/shared}/DnDUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/FileSystemTreeUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/MockDataUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/ModelClassifierUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/TreeUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.ts +0 -0
- /package/src/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.ts +0 -0
|
@@ -1,1023 +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
|
-
import { action, computed, flow, flowResult, makeObservable, observable, } from 'mobx';
|
|
17
|
-
import { CHANGE_DETECTION_EVENT } from './ChangeDetectionEvent.js';
|
|
18
|
-
import { GRAPH_EDITOR_MODE, AUX_PANEL_MODE } from './EditorConfig.js';
|
|
19
|
-
import { LogEvent, assertType, UnsupportedOperationError, assertErrorThrown, assertTrue, isNonNullable, NetworkClientError, guaranteeNonNullable, StopWatch, filterByType, ActionState, } from '@finos/legend-shared';
|
|
20
|
-
import { ElementEditorState } from './editor-state/element-editor-state/ElementEditorState.js';
|
|
21
|
-
import { GraphGenerationState } from './editor-state/GraphGenerationState.js';
|
|
22
|
-
import { MODEL_IMPORT_NATIVE_INPUT_TYPE } from './editor-state/ModelImporterState.js';
|
|
23
|
-
import { EntitiesWithOrigin, generateGAVCoordinates, } from '@finos/legend-storage';
|
|
24
|
-
import { EntityChangeType, ProjectConfiguration, applyEntityChanges, } from '@finos/legend-server-sdlc';
|
|
25
|
-
import { ProjectVersionEntities, ProjectData, ProjectDependencyCoordinates, RawProjectDependencyReport, buildDependencyReport, } from '@finos/legend-server-depot';
|
|
26
|
-
import { GRAPH_MANAGER_EVENT, CompilationError, EngineError, extractSourceInformationCoordinates, Package, Profile, PrimitiveType, Enumeration, Class, Association, Mapping, ConcreteFunctionDefinition, Service, FlatData, PackageableConnection, PackageableRuntime, FileGenerationSpecification, GenerationSpecification, Measure, Unit, Database, SectionIndex, DependencyGraphBuilderError, GraphDataDeserializationError, GraphBuilderError, DataElement, createGraphBuilderReport, reportGraphAnalytics, } from '@finos/legend-graph';
|
|
27
|
-
import { ActionAlertActionType, ActionAlertType, ApplicationTelemetry, } from '@finos/legend-application';
|
|
28
|
-
import { CONFIGURATION_EDITOR_TAB } from './editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js';
|
|
29
|
-
import { graph_dispose } from './shared/modifier/GraphModifierHelper.js';
|
|
30
|
-
import { PACKAGEABLE_ELEMENT_TYPE } from './shared/ModelClassifierUtils.js';
|
|
31
|
-
import { GlobalTestRunnerState } from './sidebar-state/testable/GlobalTestRunnerState.js';
|
|
32
|
-
import { LEGEND_STUDIO_APP_EVENT } from './LegendStudioAppEvent.js';
|
|
33
|
-
import { ExplorerTreeState } from './ExplorerTreeState.js';
|
|
34
|
-
import { LegendStudioTelemetry } from './LegendStudioTelemetry.js';
|
|
35
|
-
import { LEGEND_STUDIO_SETTINGS_KEY } from './LegendStudioStorage.js';
|
|
36
|
-
export var GraphBuilderStatus;
|
|
37
|
-
(function (GraphBuilderStatus) {
|
|
38
|
-
GraphBuilderStatus["SUCCEEDED"] = "SUCCEEDED";
|
|
39
|
-
GraphBuilderStatus["FAILED"] = "FAILED";
|
|
40
|
-
GraphBuilderStatus["REDIRECTED_TO_TEXT_MODE"] = "REDIRECTED_TO_TEXT_MODE";
|
|
41
|
-
})(GraphBuilderStatus = GraphBuilderStatus || (GraphBuilderStatus = {}));
|
|
42
|
-
export var FormModeCompilationOutcome;
|
|
43
|
-
(function (FormModeCompilationOutcome) {
|
|
44
|
-
FormModeCompilationOutcome["SKIPPED"] = "SKIPPED";
|
|
45
|
-
FormModeCompilationOutcome["SUCCEEDED"] = "SUCCEEDED";
|
|
46
|
-
FormModeCompilationOutcome["FAILED"] = "FAILED";
|
|
47
|
-
FormModeCompilationOutcome["FAILED_WITH_ERROR_REVEALED"] = "FAILED_WITH_ERROR_REVEALED";
|
|
48
|
-
FormModeCompilationOutcome["FAILED_AND_FALLBACK_TO_TEXT_MODE"] = "FAILED_AND_FALLBACK_TO_TEXTMODE";
|
|
49
|
-
})(FormModeCompilationOutcome = FormModeCompilationOutcome || (FormModeCompilationOutcome = {}));
|
|
50
|
-
export class EditorGraphState {
|
|
51
|
-
editorStore;
|
|
52
|
-
graphGenerationState;
|
|
53
|
-
isInitializingGraph = false;
|
|
54
|
-
isRunningGlobalCompile = false;
|
|
55
|
-
isRunningGlobalGenerate = false;
|
|
56
|
-
isApplicationLeavingTextMode = false;
|
|
57
|
-
isUpdatingGraph = false; // critical synchronous update to refresh the graph
|
|
58
|
-
isUpdatingApplication = false; // including graph update and async operations such as change detection
|
|
59
|
-
warnings = [];
|
|
60
|
-
error;
|
|
61
|
-
mostRecentTextModeCompilationGraphHash;
|
|
62
|
-
mostRecentFormModeCompilationGraphHash;
|
|
63
|
-
enableStrictMode;
|
|
64
|
-
constructor(editorStore) {
|
|
65
|
-
makeObservable(this, {
|
|
66
|
-
isInitializingGraph: observable,
|
|
67
|
-
isRunningGlobalCompile: observable,
|
|
68
|
-
isRunningGlobalGenerate: observable,
|
|
69
|
-
isApplicationLeavingTextMode: observable,
|
|
70
|
-
isUpdatingGraph: observable,
|
|
71
|
-
isUpdatingApplication: observable,
|
|
72
|
-
warnings: observable,
|
|
73
|
-
error: observable,
|
|
74
|
-
mostRecentFormModeCompilationGraphHash: observable,
|
|
75
|
-
mostRecentTextModeCompilationGraphHash: observable,
|
|
76
|
-
enableStrictMode: observable,
|
|
77
|
-
problems: computed,
|
|
78
|
-
areProblemsStale: computed,
|
|
79
|
-
isApplicationUpdateOperationIsRunning: computed,
|
|
80
|
-
clearProblems: action,
|
|
81
|
-
setEnableStrictMode: action,
|
|
82
|
-
buildGraph: flow,
|
|
83
|
-
loadEntityChangesToGraph: flow,
|
|
84
|
-
globalCompileInFormMode: flow,
|
|
85
|
-
globalCompileInTextMode: flow,
|
|
86
|
-
leaveTextMode: flow,
|
|
87
|
-
updateGraphAndApplicationInFormMode: flow,
|
|
88
|
-
updateGraphAndApplicationInTextMode: flow,
|
|
89
|
-
updateGenerationGraphAndApplication: flow,
|
|
90
|
-
rebuildDependencies: flow,
|
|
91
|
-
});
|
|
92
|
-
this.editorStore = editorStore;
|
|
93
|
-
this.graphGenerationState = new GraphGenerationState(this.editorStore);
|
|
94
|
-
this.enableStrictMode =
|
|
95
|
-
this.editorStore.applicationStore.storageService.settingsStore.getBooleanValue(LEGEND_STUDIO_SETTINGS_KEY.EDITOR_STRICT_MODE, false);
|
|
96
|
-
}
|
|
97
|
-
get problems() {
|
|
98
|
-
return [this.error, ...this.warnings].filter(isNonNullable);
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* This function is temporary. There is no good way to detect if a problem not coming from
|
|
102
|
-
* the main graph at the moment. In text mode, we can rely on the fact that the source information
|
|
103
|
-
* has line 0 column 0. But this is not the case for form mode, so this is just temporary
|
|
104
|
-
* to help with text-mode.
|
|
105
|
-
*/
|
|
106
|
-
TEMPORARY__removeDependencyProblems(problems) {
|
|
107
|
-
return problems.filter((problem) => {
|
|
108
|
-
if (problem.sourceInformation) {
|
|
109
|
-
return !(problem.sourceInformation.startLine === 0 &&
|
|
110
|
-
problem.sourceInformation.startColumn === 0 &&
|
|
111
|
-
problem.sourceInformation.endLine === 0 &&
|
|
112
|
-
problem.sourceInformation.endColumn === 0);
|
|
113
|
-
}
|
|
114
|
-
return true;
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
get areProblemsStale() {
|
|
118
|
-
return ((this.editorStore.isInFormMode &&
|
|
119
|
-
this.mostRecentFormModeCompilationGraphHash !==
|
|
120
|
-
this.editorStore.changeDetectionState.currentGraphHash) ||
|
|
121
|
-
(this.editorStore.isInGrammarTextMode &&
|
|
122
|
-
this.mostRecentTextModeCompilationGraphHash !==
|
|
123
|
-
this.editorStore.grammarTextEditorState.currentTextGraphHash));
|
|
124
|
-
}
|
|
125
|
-
get isApplicationUpdateOperationIsRunning() {
|
|
126
|
-
return (this.isRunningGlobalCompile ||
|
|
127
|
-
this.isRunningGlobalGenerate ||
|
|
128
|
-
this.isApplicationLeavingTextMode ||
|
|
129
|
-
this.isUpdatingApplication ||
|
|
130
|
-
this.isInitializingGraph);
|
|
131
|
-
}
|
|
132
|
-
checkIfApplicationUpdateOperationIsRunning() {
|
|
133
|
-
if (this.isRunningGlobalGenerate) {
|
|
134
|
-
this.editorStore.applicationStore.notificationService.notifyWarning('Please wait for model generation to complete');
|
|
135
|
-
return true;
|
|
136
|
-
}
|
|
137
|
-
if (this.isRunningGlobalCompile) {
|
|
138
|
-
this.editorStore.applicationStore.notificationService.notifyWarning('Please wait for graph compilation to complete');
|
|
139
|
-
return true;
|
|
140
|
-
}
|
|
141
|
-
if (this.isApplicationLeavingTextMode) {
|
|
142
|
-
this.editorStore.applicationStore.notificationService.notifyWarning('Please wait for editor to leave text mode completely');
|
|
143
|
-
return true;
|
|
144
|
-
}
|
|
145
|
-
if (this.isUpdatingApplication) {
|
|
146
|
-
this.editorStore.applicationStore.notificationService.notifyWarning('Please wait for editor state to rebuild');
|
|
147
|
-
return true;
|
|
148
|
-
}
|
|
149
|
-
if (this.isInitializingGraph) {
|
|
150
|
-
this.editorStore.applicationStore.notificationService.notifyWarning('Please wait for editor initialization to complete');
|
|
151
|
-
return true;
|
|
152
|
-
}
|
|
153
|
-
return false;
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* Get entitiy changes to prepare for syncing
|
|
157
|
-
*/
|
|
158
|
-
computeLocalEntityChanges() {
|
|
159
|
-
const baseHashesIndex = this.editorStore.isInConflictResolutionMode
|
|
160
|
-
? this.editorStore.changeDetectionState
|
|
161
|
-
.conflictResolutionHeadRevisionState.entityHashesIndex
|
|
162
|
-
: this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState
|
|
163
|
-
.entityHashesIndex;
|
|
164
|
-
const originalPaths = new Set(Array.from(baseHashesIndex.keys()));
|
|
165
|
-
const entityChanges = [];
|
|
166
|
-
this.editorStore.graphManagerState.graph.allOwnElements.forEach((element) => {
|
|
167
|
-
const elementPath = element.path;
|
|
168
|
-
if (baseHashesIndex.get(elementPath) !== element.hashCode) {
|
|
169
|
-
const entity = this.editorStore.graphManagerState.graphManager.elementToEntity(element, {
|
|
170
|
-
pruneSourceInformation: true,
|
|
171
|
-
});
|
|
172
|
-
entityChanges.push({
|
|
173
|
-
classifierPath: entity.classifierPath,
|
|
174
|
-
entityPath: element.path,
|
|
175
|
-
content: entity.content,
|
|
176
|
-
type: baseHashesIndex.get(elementPath) !== undefined
|
|
177
|
-
? EntityChangeType.MODIFY
|
|
178
|
-
: EntityChangeType.CREATE,
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
originalPaths.delete(elementPath);
|
|
182
|
-
});
|
|
183
|
-
Array.from(originalPaths).forEach((path) => {
|
|
184
|
-
entityChanges.push({
|
|
185
|
-
type: EntityChangeType.DELETE,
|
|
186
|
-
entityPath: path,
|
|
187
|
-
});
|
|
188
|
-
});
|
|
189
|
-
return entityChanges;
|
|
190
|
-
}
|
|
191
|
-
clearProblems() {
|
|
192
|
-
this.error = undefined;
|
|
193
|
-
this.editorStore.tabManagerState.tabs
|
|
194
|
-
.filter(filterByType(ElementEditorState))
|
|
195
|
-
.forEach((editorState) => editorState.clearCompilationError());
|
|
196
|
-
this.mostRecentFormModeCompilationGraphHash = undefined;
|
|
197
|
-
this.mostRecentTextModeCompilationGraphHash = undefined;
|
|
198
|
-
this.warnings = [];
|
|
199
|
-
}
|
|
200
|
-
setEnableStrictMode(val) {
|
|
201
|
-
this.enableStrictMode = val;
|
|
202
|
-
}
|
|
203
|
-
*buildGraph(entities) {
|
|
204
|
-
try {
|
|
205
|
-
this.isInitializingGraph = true;
|
|
206
|
-
const stopWatch = new StopWatch();
|
|
207
|
-
// reset
|
|
208
|
-
this.editorStore.graphManagerState.resetGraph();
|
|
209
|
-
// fetch and build dependencies
|
|
210
|
-
stopWatch.record();
|
|
211
|
-
const dependencyManager = this.editorStore.graphManagerState.createEmptyDependencyManager();
|
|
212
|
-
this.editorStore.graphManagerState.graph.dependencyManager =
|
|
213
|
-
dependencyManager;
|
|
214
|
-
this.editorStore.graphManagerState.dependenciesBuildState.setMessage(`Fetching dependencies...`);
|
|
215
|
-
const dependencyEntitiesIndex = (yield flowResult(this.getIndexedDependencyEntities()));
|
|
216
|
-
stopWatch.record(GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS);
|
|
217
|
-
const dependency_buildReport = createGraphBuilderReport();
|
|
218
|
-
yield this.editorStore.graphManagerState.graphManager.buildDependencies(this.editorStore.graphManagerState.coreModel, this.editorStore.graphManagerState.systemModel, dependencyManager, dependencyEntitiesIndex, this.editorStore.graphManagerState.dependenciesBuildState, {}, dependency_buildReport);
|
|
219
|
-
dependency_buildReport.timings[GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS] = stopWatch.getRecord(GRAPH_MANAGER_EVENT.FETCH_GRAPH_DEPENDENCIES__SUCCESS);
|
|
220
|
-
// build graph
|
|
221
|
-
const graph_buildReport = createGraphBuilderReport();
|
|
222
|
-
yield this.editorStore.graphManagerState.graphManager.buildGraph(this.editorStore.graphManagerState.graph, entities, this.editorStore.graphManagerState.graphBuildState, {
|
|
223
|
-
TEMPORARY__preserveSectionIndex: this.editorStore.applicationStore.config.options
|
|
224
|
-
.TEMPORARY__preserveSectionIndex,
|
|
225
|
-
strict: this.enableStrictMode,
|
|
226
|
-
}, graph_buildReport);
|
|
227
|
-
// build generations
|
|
228
|
-
const generation_buildReport = createGraphBuilderReport();
|
|
229
|
-
yield this.editorStore.graphManagerState.graphManager.buildGenerations(this.editorStore.graphManagerState.graph, this.graphGenerationState.generatedEntities, this.editorStore.graphManagerState.generationsBuildState, {}, generation_buildReport);
|
|
230
|
-
// report
|
|
231
|
-
stopWatch.record(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS);
|
|
232
|
-
const graphBuilderReportData = {
|
|
233
|
-
timings: this.editorStore.applicationStore.timeService.finalizeTimingsRecord(stopWatch),
|
|
234
|
-
dependencies: dependency_buildReport,
|
|
235
|
-
dependenciesCount: this.editorStore.graphManagerState.graph.dependencyManager
|
|
236
|
-
.numberOfDependencies,
|
|
237
|
-
graph: graph_buildReport,
|
|
238
|
-
generations: generation_buildReport,
|
|
239
|
-
generationsCount: this.graphGenerationState.generatedEntities.size,
|
|
240
|
-
};
|
|
241
|
-
ApplicationTelemetry.logEvent_GraphInitializationSucceeded(this.editorStore.applicationStore.telemetryService, graphBuilderReportData);
|
|
242
|
-
this.editorStore.applicationStore.logService.info(LogEvent.create(GRAPH_MANAGER_EVENT.INITIALIZE_GRAPH__SUCCESS), graphBuilderReportData);
|
|
243
|
-
// add generation specification if model generation elements exists in graph and no generation specification
|
|
244
|
-
yield flowResult(this.graphGenerationState.possiblyAddMissingGenerationSpecifications());
|
|
245
|
-
return {
|
|
246
|
-
status: GraphBuilderStatus.SUCCEEDED,
|
|
247
|
-
};
|
|
248
|
-
}
|
|
249
|
-
catch (error) {
|
|
250
|
-
assertErrorThrown(error);
|
|
251
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE), error);
|
|
252
|
-
if (error instanceof DependencyGraphBuilderError) {
|
|
253
|
-
this.editorStore.graphManagerState.graphBuildState.fail();
|
|
254
|
-
// no recovery if dependency models cannot be built, this makes assumption that all dependencies models are compiled successfully
|
|
255
|
-
// TODO: we might want to handle this more gracefully when we can show people the dependency model element in the future
|
|
256
|
-
this.editorStore.applicationStore.notificationService.notifyError(`Can't initialize dependency models. Error: ${error.message}`);
|
|
257
|
-
const projectConfigurationEditorState = this.editorStore.projectConfigurationEditorState;
|
|
258
|
-
projectConfigurationEditorState.setSelectedTab(CONFIGURATION_EDITOR_TAB.PROJECT_DEPENDENCIES);
|
|
259
|
-
this.editorStore.tabManagerState.openTab(projectConfigurationEditorState);
|
|
260
|
-
}
|
|
261
|
-
else if (error instanceof GraphDataDeserializationError) {
|
|
262
|
-
// if something goes wrong with de-serialization, redirect to model importer to fix
|
|
263
|
-
this.redirectToModelImporterForDebugging(error);
|
|
264
|
-
}
|
|
265
|
-
else if (error instanceof NetworkClientError) {
|
|
266
|
-
this.editorStore.graphManagerState.graphBuildState.fail();
|
|
267
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Can't build graph. Error: ${error.message}`);
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
// TODO: we should split this into 2 notifications when we support multiple notifications
|
|
271
|
-
this.editorStore.applicationStore.notificationService.notifyError(`Can't build graph. Redirected to text mode for debugging. Error: ${error.message}`);
|
|
272
|
-
try {
|
|
273
|
-
const editorGrammar = (yield this.editorStore.graphManagerState.graphManager.entitiesToPureCode(entities));
|
|
274
|
-
yield flowResult(this.editorStore.grammarTextEditorState.setGraphGrammarText(editorGrammar));
|
|
275
|
-
}
|
|
276
|
-
catch (error2) {
|
|
277
|
-
assertErrorThrown(error2);
|
|
278
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE), error2);
|
|
279
|
-
if (error2 instanceof NetworkClientError) {
|
|
280
|
-
// in case the server cannot even transform the JSON due to corrupted protocol, we can redirect to model importer
|
|
281
|
-
this.redirectToModelImporterForDebugging(error2);
|
|
282
|
-
return {
|
|
283
|
-
status: GraphBuilderStatus.FAILED,
|
|
284
|
-
error: error2,
|
|
285
|
-
};
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
yield flowResult(this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.GRAMMAR_TEXT));
|
|
289
|
-
yield flowResult(this.globalCompileInTextMode({
|
|
290
|
-
ignoreBlocking: true,
|
|
291
|
-
suppressCompilationFailureMessage: true,
|
|
292
|
-
}));
|
|
293
|
-
return {
|
|
294
|
-
status: GraphBuilderStatus.REDIRECTED_TO_TEXT_MODE,
|
|
295
|
-
error,
|
|
296
|
-
};
|
|
297
|
-
}
|
|
298
|
-
return {
|
|
299
|
-
status: GraphBuilderStatus.FAILED,
|
|
300
|
-
error,
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
finally {
|
|
304
|
-
this.isInitializingGraph = false;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
redirectToModelImporterForDebugging(error) {
|
|
308
|
-
if (this.editorStore.isInConflictResolutionMode) {
|
|
309
|
-
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
310
|
-
message: `Can't de-serialize graph model from entities`,
|
|
311
|
-
prompt: `Please refresh the application and abort conflict resolution`,
|
|
312
|
-
});
|
|
313
|
-
return;
|
|
314
|
-
}
|
|
315
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Can't de-serialize graph model from entities. Redirected to model importer for debugging. Error: ${error.message}`);
|
|
316
|
-
const nativeImporterState = this.editorStore.modelImporterState.setNativeImportType(MODEL_IMPORT_NATIVE_INPUT_TYPE.ENTITIES);
|
|
317
|
-
// Making an async call
|
|
318
|
-
nativeImporterState.loadCurrentProjectEntities();
|
|
319
|
-
this.editorStore.tabManagerState.openTab(this.editorStore.modelImporterState);
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
* Loads entity changes to graph and updates application.
|
|
323
|
-
*/
|
|
324
|
-
*loadEntityChangesToGraph(changes, baseEntities) {
|
|
325
|
-
try {
|
|
326
|
-
assertTrue(this.editorStore.isInFormMode, `Can't apply entity changes: operation only supported in form mode`);
|
|
327
|
-
const entities = baseEntities ??
|
|
328
|
-
this.editorStore.graphManagerState.graph.allOwnElements.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element));
|
|
329
|
-
const modifiedEntities = applyEntityChanges(entities, changes);
|
|
330
|
-
yield flowResult(this.updateGraphAndApplicationInFormMode(modifiedEntities));
|
|
331
|
-
}
|
|
332
|
-
catch (error) {
|
|
333
|
-
assertErrorThrown(error);
|
|
334
|
-
this.editorStore.applicationStore.notificationService.notifyError(`Can't load entity changes: ${error.message}`);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
// TODO: when we support showing multiple notifications, we can take this options out as the only users of this
|
|
338
|
-
// is delete element flow, where we want to say `re-compiling graph after deletion`, but because sometimes, compilation
|
|
339
|
-
// is so fast, the message flashes, so we want to combine with the message in this method
|
|
340
|
-
*globalCompileInFormMode(options) {
|
|
341
|
-
assertTrue(this.editorStore.isInFormMode, 'Editor must be in form mode to call this method');
|
|
342
|
-
if (this.checkIfApplicationUpdateOperationIsRunning()) {
|
|
343
|
-
return FormModeCompilationOutcome.SKIPPED;
|
|
344
|
-
}
|
|
345
|
-
const stopWatch = new StopWatch();
|
|
346
|
-
const report = reportGraphAnalytics(this.editorStore.graphManagerState.graph);
|
|
347
|
-
LegendStudioTelemetry.logEvent_GraphCompilationLaunched(this.editorStore.applicationStore.telemetryService);
|
|
348
|
-
const currentGraphHash = this.editorStore.changeDetectionState.currentGraphHash;
|
|
349
|
-
try {
|
|
350
|
-
this.isRunningGlobalCompile = true;
|
|
351
|
-
this.clearProblems();
|
|
352
|
-
if (options?.openConsole) {
|
|
353
|
-
this.editorStore.setActiveAuxPanelMode(AUX_PANEL_MODE.CONSOLE);
|
|
354
|
-
}
|
|
355
|
-
// NOTE: here we always keep the source information while compiling in form mode
|
|
356
|
-
// so that the form parts where the user interacted with (i.e. where the lamdbas source
|
|
357
|
-
// information are populated), can reveal compilation error. If compilation errors
|
|
358
|
-
// show up in other parts, the user will get redirected to text-mode
|
|
359
|
-
const compilationResult = (yield this.editorStore.graphManagerState.graphManager.compileGraph(this.editorStore.graphManagerState.graph, {
|
|
360
|
-
keepSourceInformation: true,
|
|
361
|
-
}, report));
|
|
362
|
-
this.warnings = compilationResult.warnings
|
|
363
|
-
? this.TEMPORARY__removeDependencyProblems(compilationResult.warnings)
|
|
364
|
-
: [];
|
|
365
|
-
this.mostRecentFormModeCompilationGraphHash = currentGraphHash;
|
|
366
|
-
if (!options?.disableNotificationOnSuccess) {
|
|
367
|
-
if (this.warnings.length) {
|
|
368
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Compilation suceeded with warnings`);
|
|
369
|
-
}
|
|
370
|
-
else {
|
|
371
|
-
if (!options?.disableNotificationOnSuccess) {
|
|
372
|
-
this.editorStore.applicationStore.notificationService.notifySuccess('Compiled successfully');
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
report.timings =
|
|
377
|
-
this.editorStore.applicationStore.timeService.finalizeTimingsRecord(stopWatch, report.timings);
|
|
378
|
-
LegendStudioTelemetry.logEvent_GraphCompilationSucceeded(this.editorStore.applicationStore.telemetryService, report);
|
|
379
|
-
return FormModeCompilationOutcome.SUCCEEDED;
|
|
380
|
-
}
|
|
381
|
-
catch (error) {
|
|
382
|
-
assertErrorThrown(error);
|
|
383
|
-
// TODO: we probably should make this pattern of error the handling for all other exceptions in the codebase
|
|
384
|
-
// i.e. there should be a catch-all handler (we can use if-else construct to check error types)
|
|
385
|
-
assertType(error, EngineError, `Unhandled exception:\n${error}`);
|
|
386
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE), error);
|
|
387
|
-
this.mostRecentFormModeCompilationGraphHash = currentGraphHash;
|
|
388
|
-
let fallbackToTextModeForDebugging = true;
|
|
389
|
-
// if compilation failed, we try to reveal the error in form mode,
|
|
390
|
-
// if even this fail, we will fall back to show it in text mode
|
|
391
|
-
if (error instanceof CompilationError) {
|
|
392
|
-
const errorCoordinates = extractSourceInformationCoordinates(error.sourceInformation);
|
|
393
|
-
if (errorCoordinates) {
|
|
394
|
-
const element = this.editorStore.graphManagerState.graph.getNullableElement(guaranteeNonNullable(errorCoordinates[0], `Can't reveal compilation error: element path is missing`), false);
|
|
395
|
-
if (element) {
|
|
396
|
-
this.editorStore.tabManagerState.openElementEditor(element);
|
|
397
|
-
if (this.editorStore.tabManagerState.currentTab instanceof
|
|
398
|
-
ElementEditorState) {
|
|
399
|
-
// check if we can reveal the error in the element editor state
|
|
400
|
-
fallbackToTextModeForDebugging =
|
|
401
|
-
!this.editorStore.tabManagerState.currentTab.revealCompilationError(error);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
// decide if we need to fall back to text mode for debugging
|
|
407
|
-
if (fallbackToTextModeForDebugging) {
|
|
408
|
-
// TODO: when we support showing multiple notifications, we can split this into 2
|
|
409
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(options?.message ??
|
|
410
|
-
'Compilation failed and error cannot be located in form mode. Redirected to text mode for debugging.');
|
|
411
|
-
try {
|
|
412
|
-
const code = (yield this.editorStore.graphManagerState.graphManager.graphToPureCode(this.editorStore.graphManagerState.graph));
|
|
413
|
-
this.editorStore.grammarTextEditorState.setGraphGrammarText(code);
|
|
414
|
-
}
|
|
415
|
-
catch (error2) {
|
|
416
|
-
assertErrorThrown(error2);
|
|
417
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Can't enter text mode. Transformation to grammar text failed: ${error2.message}`);
|
|
418
|
-
return FormModeCompilationOutcome.FAILED;
|
|
419
|
-
}
|
|
420
|
-
yield flowResult(this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.GRAMMAR_TEXT));
|
|
421
|
-
yield flowResult(this.globalCompileInTextMode({
|
|
422
|
-
ignoreBlocking: true,
|
|
423
|
-
suppressCompilationFailureMessage: true,
|
|
424
|
-
disableNotificationOnSuccess: options?.disableNotificationOnSuccess,
|
|
425
|
-
}));
|
|
426
|
-
return FormModeCompilationOutcome.FAILED_AND_FALLBACK_TO_TEXT_MODE;
|
|
427
|
-
}
|
|
428
|
-
else {
|
|
429
|
-
this.error = error;
|
|
430
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Compilation failed: ${error.message}`);
|
|
431
|
-
return FormModeCompilationOutcome.FAILED_WITH_ERROR_REVEALED;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
finally {
|
|
435
|
-
this.isRunningGlobalCompile = false;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
// TODO: when we support showing multiple notifications, we can take this `suppressCompilationFailureMessage` out as
|
|
439
|
-
// we can show the transition between form mode and text mode warning and the compilation failure warning at the same time
|
|
440
|
-
*globalCompileInTextMode(options) {
|
|
441
|
-
assertTrue(this.editorStore.isInGrammarTextMode, 'Editor must be in text mode to call this method');
|
|
442
|
-
if (!options?.ignoreBlocking &&
|
|
443
|
-
this.checkIfApplicationUpdateOperationIsRunning()) {
|
|
444
|
-
return;
|
|
445
|
-
}
|
|
446
|
-
const stopWatch = new StopWatch();
|
|
447
|
-
const report = reportGraphAnalytics(this.editorStore.graphManagerState.graph);
|
|
448
|
-
LegendStudioTelemetry.logEvent_TextCompilationLaunched(this.editorStore.applicationStore.telemetryService);
|
|
449
|
-
const currentGraphHash = this.editorStore.grammarTextEditorState.currentTextGraphHash;
|
|
450
|
-
try {
|
|
451
|
-
this.isRunningGlobalCompile = true;
|
|
452
|
-
this.clearProblems();
|
|
453
|
-
if (options?.openConsole) {
|
|
454
|
-
this.editorStore.setActiveAuxPanelMode(AUX_PANEL_MODE.CONSOLE);
|
|
455
|
-
}
|
|
456
|
-
const compilationResult = (yield this.editorStore.graphManagerState.graphManager.compileText(this.editorStore.grammarTextEditorState.graphGrammarText, this.editorStore.graphManagerState.graph, {}, report));
|
|
457
|
-
const entities = compilationResult.entities;
|
|
458
|
-
this.mostRecentTextModeCompilationGraphHash = currentGraphHash;
|
|
459
|
-
this.warnings = compilationResult.warnings
|
|
460
|
-
? this.TEMPORARY__removeDependencyProblems(compilationResult.warnings)
|
|
461
|
-
: [];
|
|
462
|
-
if (!options?.disableNotificationOnSuccess) {
|
|
463
|
-
if (this.warnings.length) {
|
|
464
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Compilation suceeded with warnings`);
|
|
465
|
-
}
|
|
466
|
-
else {
|
|
467
|
-
if (!options?.disableNotificationOnSuccess) {
|
|
468
|
-
this.editorStore.applicationStore.notificationService.notifySuccess('Compiled successfully');
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
stopWatch.record();
|
|
473
|
-
yield flowResult(this.updateGraphAndApplicationInTextMode(entities));
|
|
474
|
-
stopWatch.record(GRAPH_MANAGER_EVENT.UPDATE_AND_REBUILD_GRAPH__SUCCESS);
|
|
475
|
-
// Remove `SectionIndex when computing changes in text mode as engine after
|
|
476
|
-
// transforming grammarToJson would return `SectionIndex` which is not
|
|
477
|
-
// required to do change detection.
|
|
478
|
-
yield flowResult(this.editorStore.changeDetectionState.computeLocalChangesInTextMode(this.editorStore.graphManagerState.graphManager.getElementEntities(entities)));
|
|
479
|
-
report.timings =
|
|
480
|
-
this.editorStore.applicationStore.timeService.finalizeTimingsRecord(stopWatch, report.timings);
|
|
481
|
-
LegendStudioTelemetry.logEvent_TextCompilationSucceeded(this.editorStore.applicationStore.telemetryService, report);
|
|
482
|
-
}
|
|
483
|
-
catch (error) {
|
|
484
|
-
assertErrorThrown(error);
|
|
485
|
-
this.mostRecentTextModeCompilationGraphHash = currentGraphHash;
|
|
486
|
-
if (error instanceof EngineError) {
|
|
487
|
-
this.error = error;
|
|
488
|
-
if (error.sourceInformation) {
|
|
489
|
-
this.editorStore.grammarTextEditorState.setForcedCursorPosition({
|
|
490
|
-
lineNumber: error.sourceInformation.startLine,
|
|
491
|
-
column: error.sourceInformation.startColumn,
|
|
492
|
-
});
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
if (!this.editorStore.applicationStore.notificationService.notification ||
|
|
496
|
-
!options?.suppressCompilationFailureMessage) {
|
|
497
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Compilation failed: ${error.message}`);
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
finally {
|
|
501
|
-
this.isRunningGlobalCompile = false;
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
*leaveTextMode() {
|
|
505
|
-
assertTrue(this.editorStore.isInGrammarTextMode, 'Editor must be in text mode to call this method');
|
|
506
|
-
if (this.checkIfApplicationUpdateOperationIsRunning()) {
|
|
507
|
-
return;
|
|
508
|
-
}
|
|
509
|
-
try {
|
|
510
|
-
this.isApplicationLeavingTextMode = true;
|
|
511
|
-
this.clearProblems();
|
|
512
|
-
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
513
|
-
message: 'Compiling graph before leaving text mode...',
|
|
514
|
-
showLoading: true,
|
|
515
|
-
});
|
|
516
|
-
try {
|
|
517
|
-
const compilationResult = (yield this.editorStore.graphManagerState.graphManager.compileText(this.editorStore.grammarTextEditorState.graphGrammarText, this.editorStore.graphManagerState.graph,
|
|
518
|
-
// surpress the modal to reveal error properly in the text editor
|
|
519
|
-
// if the blocking modal is not dismissed, the edior will not be able to gain focus as modal has a focus trap
|
|
520
|
-
// therefore, the editor will not be able to get the focus
|
|
521
|
-
{
|
|
522
|
-
onError: () => this.editorStore.applicationStore.alertService.setBlockingAlert(undefined),
|
|
523
|
-
}));
|
|
524
|
-
this.warnings = compilationResult.warnings
|
|
525
|
-
? this.TEMPORARY__removeDependencyProblems(compilationResult.warnings)
|
|
526
|
-
: [];
|
|
527
|
-
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
528
|
-
message: 'Leaving text mode and rebuilding graph...',
|
|
529
|
-
showLoading: true,
|
|
530
|
-
});
|
|
531
|
-
yield flowResult(this.updateGraphAndApplicationInFormMode(compilationResult.entities));
|
|
532
|
-
this.mostRecentFormModeCompilationGraphHash =
|
|
533
|
-
this.editorStore.changeDetectionState.getCurrentGraphHash();
|
|
534
|
-
this.editorStore.grammarTextEditorState.setGraphGrammarText('');
|
|
535
|
-
this.editorStore.grammarTextEditorState.resetCurrentElementLabelRegexString();
|
|
536
|
-
yield flowResult(this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.FORM));
|
|
537
|
-
if (this.editorStore.tabManagerState.currentTab) {
|
|
538
|
-
this.editorStore.tabManagerState.openTab(this.editorStore.tabManagerState.currentTab);
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
catch (error) {
|
|
542
|
-
assertErrorThrown(error);
|
|
543
|
-
this.mostRecentFormModeCompilationGraphHash =
|
|
544
|
-
this.editorStore.changeDetectionState.getCurrentGraphHash();
|
|
545
|
-
if (error instanceof EngineError && error.sourceInformation) {
|
|
546
|
-
this.editorStore.grammarTextEditorState.setForcedCursorPosition({
|
|
547
|
-
lineNumber: error.sourceInformation.startLine,
|
|
548
|
-
column: error.sourceInformation.startColumn,
|
|
549
|
-
});
|
|
550
|
-
}
|
|
551
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE), 'Compilation failed:', error);
|
|
552
|
-
if (this.editorStore.graphManagerState.graphBuildState.hasFailed) {
|
|
553
|
-
// TODO: when we support showing multiple notification, we can split this into 2 messages
|
|
554
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Can't build graph, please resolve compilation error before leaving text mode. Compilation failed with error: ${error.message}`);
|
|
555
|
-
}
|
|
556
|
-
else {
|
|
557
|
-
this.editorStore.applicationStore.notificationService.notifyWarning(`Compilation failed: ${error.message}`);
|
|
558
|
-
this.editorStore.applicationStore.alertService.setActionAlertInfo({
|
|
559
|
-
message: 'Project is not in a compiled state',
|
|
560
|
-
prompt: 'All changes made since the last time the graph was built successfully will be lost',
|
|
561
|
-
type: ActionAlertType.CAUTION,
|
|
562
|
-
actions: [
|
|
563
|
-
{
|
|
564
|
-
label: 'Discard Changes',
|
|
565
|
-
handler: () => {
|
|
566
|
-
flowResult(this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.FORM)).catch(this.editorStore.applicationStore.alertUnhandledError);
|
|
567
|
-
},
|
|
568
|
-
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
569
|
-
},
|
|
570
|
-
{
|
|
571
|
-
label: 'Stay',
|
|
572
|
-
default: true,
|
|
573
|
-
type: ActionAlertActionType.PROCEED,
|
|
574
|
-
},
|
|
575
|
-
],
|
|
576
|
-
});
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
catch (error) {
|
|
581
|
-
assertErrorThrown(error);
|
|
582
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE), error);
|
|
583
|
-
}
|
|
584
|
-
finally {
|
|
585
|
-
this.isApplicationLeavingTextMode = false;
|
|
586
|
-
this.editorStore.applicationStore.alertService.setBlockingAlert(undefined);
|
|
587
|
-
this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.currentEntityHashesIndex =
|
|
588
|
-
new Map();
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
/**
|
|
592
|
-
* NOTE: this can post memory-leak issue if we start having immutable elements referencing current graph elements:
|
|
593
|
-
* e.g. subclass analytics on the immutable class, etc.
|
|
594
|
-
*
|
|
595
|
-
* @risk memory-leak
|
|
596
|
-
*/
|
|
597
|
-
*rebuildDependencies(newGraph) {
|
|
598
|
-
if (this.editorStore.graphManagerState.dependenciesBuildState.hasSucceeded) {
|
|
599
|
-
newGraph.dependencyManager =
|
|
600
|
-
this.editorStore.graphManagerState.graph.dependencyManager;
|
|
601
|
-
}
|
|
602
|
-
else {
|
|
603
|
-
this.editorStore.projectConfigurationEditorState.setProjectConfiguration(ProjectConfiguration.serialization.fromJson((yield this.editorStore.sdlcServerClient.getConfiguration(this.editorStore.sdlcState.activeProject.projectId, this.editorStore.sdlcState.activeWorkspace))));
|
|
604
|
-
const dependencyManager = this.editorStore.graphManagerState.createEmptyDependencyManager();
|
|
605
|
-
newGraph.dependencyManager = dependencyManager;
|
|
606
|
-
const dependenciesBuildState = ActionState.create();
|
|
607
|
-
yield this.editorStore.graphManagerState.graphManager.buildDependencies(this.editorStore.graphManagerState.coreModel, this.editorStore.graphManagerState.systemModel, dependencyManager, (yield flowResult(this.getIndexedDependencyEntities())), dependenciesBuildState);
|
|
608
|
-
// NOTE: here we don't want to modify the current graph build state directly
|
|
609
|
-
// instead, we quietly run this in the background and then sync it with the current build state
|
|
610
|
-
this.editorStore.graphManagerState.dependenciesBuildState.sync(dependenciesBuildState);
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
/**
|
|
614
|
-
* Creates a new explorer tree state when compiling in text mode. It resets the explorer state properly
|
|
615
|
-
* after the new graph is built. It tries to maintain the explorer state similar to what it was before compilation.
|
|
616
|
-
* To achieve that we store node ids of the opened nodes before creating a new explorer state. After creating a
|
|
617
|
-
* new state we open the nodes which were opened before so that user see the same explorer state as before.
|
|
618
|
-
*/
|
|
619
|
-
reprocessExplorerTreeInTextMode() {
|
|
620
|
-
const mainTreeOpenedNodeIds = this.editorStore.explorerTreeState.treeData
|
|
621
|
-
? Array.from(this.editorStore.explorerTreeState.treeData.nodes.values())
|
|
622
|
-
.filter((node) => node.isOpen)
|
|
623
|
-
.map((node) => node.id)
|
|
624
|
-
: [];
|
|
625
|
-
const generationTreeOpenedNodeIds = this.editorStore.explorerTreeState
|
|
626
|
-
.generationTreeData
|
|
627
|
-
? Array.from(this.editorStore.explorerTreeState.generationTreeData.nodes.values())
|
|
628
|
-
.filter((node) => node.isOpen)
|
|
629
|
-
.map((node) => node.id)
|
|
630
|
-
: [];
|
|
631
|
-
// Storing dependencyTree, filegenerationTree, systemTree as is as they don't
|
|
632
|
-
// hold any reference to actual graph
|
|
633
|
-
const systemTreeData = this.editorStore.explorerTreeState.systemTreeData;
|
|
634
|
-
const dependencyTreeData = this.editorStore.explorerTreeState.dependencyTreeData;
|
|
635
|
-
const selectedNodeId = this.editorStore.explorerTreeState.selectedNode?.id;
|
|
636
|
-
this.editorStore.explorerTreeState = new ExplorerTreeState(this.editorStore);
|
|
637
|
-
this.editorStore.explorerTreeState.systemTreeData = systemTreeData;
|
|
638
|
-
this.editorStore.explorerTreeState.dependencyTreeData = dependencyTreeData;
|
|
639
|
-
this.editorStore.explorerTreeState.buildTreeInTextMode();
|
|
640
|
-
this.editorStore.explorerTreeState.openExplorerTreeNodes(mainTreeOpenedNodeIds, generationTreeOpenedNodeIds, selectedNodeId);
|
|
641
|
-
}
|
|
642
|
-
/**
|
|
643
|
-
* NOTE: IMPORTANT! This method is both a savior and a sinner. It helps reprocessing the graph state to use a new graph
|
|
644
|
-
* built from the new model context data, it resets the graph properly. The bane here is that resetting the graph properly is
|
|
645
|
-
* not trivial, for example, in the cleanup phase, there are things we want to re-use, such as the one-time processed system
|
|
646
|
-
* metamodels or the `reusable` metamodels from project dependencies. There are also explorer states like the package tree,
|
|
647
|
-
* opened tabs, change detection, etc. to take care of. There are a lot of potential pitfalls. For these, we will add the
|
|
648
|
-
* marker:
|
|
649
|
-
*
|
|
650
|
-
* @risk memory-leak
|
|
651
|
-
*
|
|
652
|
-
* to indicate we should check carefully these pieces when we detect memory issue as it might still
|
|
653
|
-
* be referring to the old graph
|
|
654
|
-
*
|
|
655
|
-
* In the past, we have found that there are a few potential root causes for memory leak:
|
|
656
|
-
* 1. State management Mobx allows references, as such, it is sometimes hard to trace down which references can cause problem
|
|
657
|
-
* We have to understand that the behind this updater is very simple (replace), yet to do it cleanly is not easy, since
|
|
658
|
-
* so far it is tempting to refer to elements in the graph from various editor state. On top of that, change detection
|
|
659
|
-
* sometimes obfuscate the investigation but we have cleared it out with explicit disposing of reaction
|
|
660
|
-
* 2. Reusable models, at this point in time, we haven't completed stabilize the logic for handling generated models, as well
|
|
661
|
-
* as dependencies, we intended to save computation time by reusing these while updating the graph. This can pose potential
|
|
662
|
-
* danger as well. Beware the way when we start to make system/project dependencies references elements of current graph
|
|
663
|
-
* e.g. when we have a computed value in a immutable class that get all subclasses, etc.
|
|
664
|
-
* 3. We reprocess editor states to ensure good UX, e.g. find tabs to keep open, find tree nodes to expand, etc.
|
|
665
|
-
* after updating the graph. These in our experience is the **MOST COMMON** source of memory leak. It is actually
|
|
666
|
-
* quite predictable since structures like tabs and tree node embeds graph data, which are references to the old graph
|
|
667
|
-
*
|
|
668
|
-
* NOTE: One big obfuscating factor is overlapping graph refresh. Sometimes, we observed that calling this update graph
|
|
669
|
-
* method multiple times can throws Mobx off and causes reusing change detection state to cause memory-leak. As such,
|
|
670
|
-
* we have blocked the possibility of calling compilation/graph-update/generation simultaneously
|
|
671
|
-
*
|
|
672
|
-
* A note on how to debug memory-leak issue:
|
|
673
|
-
* 1. Open browser Memory monitor
|
|
674
|
-
* 2. Go to text mode and compile multiple times (triggering graph update)
|
|
675
|
-
* 3. Try to force garbage collection, if we see memory goes up after while, it's pretty clear that this is memory-leak
|
|
676
|
-
* (note that since we disallow stacking multiple compilation and graph update, we have simplify the detection a lot)
|
|
677
|
-
* See https://auth0.com/blog/four-types-of-leaks-in-your-javascript-code-and-how-to-get-rid-of-them/
|
|
678
|
-
*/
|
|
679
|
-
*updateGraphAndApplicationInFormMode(entities) {
|
|
680
|
-
const startTime = Date.now();
|
|
681
|
-
this.isUpdatingApplication = true;
|
|
682
|
-
this.isUpdatingGraph = true;
|
|
683
|
-
try {
|
|
684
|
-
const newGraph = this.editorStore.graphManagerState.createEmptyGraph();
|
|
685
|
-
yield flowResult(this.rebuildDependencies(newGraph));
|
|
686
|
-
/**
|
|
687
|
-
* Backup and editor states info before resetting. Here we store the element paths of the
|
|
688
|
-
* elements editors as element paths don't refer to the actual graph. We can find the element
|
|
689
|
-
* from the new graph that is built by using element path and can reprocess the element editor states.
|
|
690
|
-
* The other kind of editors we reprocess are file generation editors, we store them as is as they don't
|
|
691
|
-
* hold any reference to the actual graph.
|
|
692
|
-
*/
|
|
693
|
-
const openedTabPaths = [];
|
|
694
|
-
this.editorStore.tabManagerState.tabs.forEach((state) => {
|
|
695
|
-
if (state instanceof ElementEditorState) {
|
|
696
|
-
openedTabPaths.push(state.elementPath);
|
|
697
|
-
}
|
|
698
|
-
});
|
|
699
|
-
// Only stores editor state for file generation editors as they don't hold any references to the
|
|
700
|
-
// actual graph.
|
|
701
|
-
const currentTabState = this.editorStore.tabManagerState.currentTab instanceof
|
|
702
|
-
ElementEditorState
|
|
703
|
-
? undefined
|
|
704
|
-
: this.editorStore.tabManagerState.currentTab;
|
|
705
|
-
const currentTabElementPath = this.editorStore.tabManagerState.currentTab instanceof
|
|
706
|
-
ElementEditorState
|
|
707
|
-
? this.editorStore.tabManagerState.currentTab.elementPath
|
|
708
|
-
: undefined;
|
|
709
|
-
/**
|
|
710
|
-
* We remove the current editor state so that we no longer let React displays the element that belongs to the old graph
|
|
711
|
-
* NOTE: this causes an UI flash, but this is in many way, acceptable since the user probably should know that we are
|
|
712
|
-
* refreshing the memory graph anyway.
|
|
713
|
-
*
|
|
714
|
-
* If this is really bothering, we can handle it by building mocked replica of the current editor state using stub element
|
|
715
|
-
* e.g. if the current editor is a class, we stub the class, create a new class editor state around it and copy over
|
|
716
|
-
* navigation information, etc.
|
|
717
|
-
*/
|
|
718
|
-
this.editorStore.tabManagerState.closeAllTabs();
|
|
719
|
-
this.editorStore.changeDetectionState.stop(); // stop change detection before disposing hash
|
|
720
|
-
yield flowResult(graph_dispose(this.editorStore.graphManagerState.graph));
|
|
721
|
-
const graphBuildState = ActionState.create();
|
|
722
|
-
yield this.editorStore.graphManagerState.graphManager.buildGraph(newGraph, entities, graphBuildState, {
|
|
723
|
-
TEMPORARY__preserveSectionIndex: this.editorStore.applicationStore.config.options
|
|
724
|
-
.TEMPORARY__preserveSectionIndex,
|
|
725
|
-
strict: this.enableStrictMode,
|
|
726
|
-
});
|
|
727
|
-
// Activity States
|
|
728
|
-
this.editorStore.globalTestRunnerState = new GlobalTestRunnerState(this.editorStore, this.editorStore.sdlcState);
|
|
729
|
-
// NOTE: build model generation entities every-time we rebuild the graph - should we do this?
|
|
730
|
-
const generationsBuildState = ActionState.create();
|
|
731
|
-
yield this.editorStore.graphManagerState.graphManager.buildGenerations(newGraph, this.graphGenerationState.generatedEntities, generationsBuildState);
|
|
732
|
-
this.editorStore.graphManagerState.graph = newGraph;
|
|
733
|
-
// NOTE: here we don't want to modify the current graph build state directly
|
|
734
|
-
// instead, we quietly run this in the background and then sync it with the current build state
|
|
735
|
-
this.editorStore.graphManagerState.graphBuildState.sync(graphBuildState);
|
|
736
|
-
this.editorStore.graphManagerState.generationsBuildState.sync(generationsBuildState);
|
|
737
|
-
this.editorStore.explorerTreeState.reprocess();
|
|
738
|
-
/**
|
|
739
|
-
* Re-build the editor states which were opened before from the information we have stored before
|
|
740
|
-
* creating the new graph
|
|
741
|
-
*/
|
|
742
|
-
this.editorStore.tabManagerState.recoverTabs(openedTabPaths, currentTabState, currentTabElementPath);
|
|
743
|
-
this.editorStore.applicationStore.logService.info(LogEvent.create(GRAPH_MANAGER_EVENT.UPDATE_AND_REBUILD_GRAPH__SUCCESS), '[TOTAL]', Date.now() - startTime, 'ms');
|
|
744
|
-
this.isUpdatingGraph = false;
|
|
745
|
-
// ======= (RE)START CHANGE DETECTION =======
|
|
746
|
-
yield flowResult(this.editorStore.changeDetectionState.observeGraph());
|
|
747
|
-
yield this.editorStore.changeDetectionState.preComputeGraphElementHashes();
|
|
748
|
-
this.editorStore.changeDetectionState.start();
|
|
749
|
-
this.editorStore.applicationStore.logService.info(LogEvent.create(CHANGE_DETECTION_EVENT.CHANGE_DETECTION_RESTART__SUCCESS), '[ASYNC]');
|
|
750
|
-
// ======= FINISHED (RE)START CHANGE DETECTION =======
|
|
751
|
-
}
|
|
752
|
-
catch (error) {
|
|
753
|
-
assertErrorThrown(error);
|
|
754
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE), error);
|
|
755
|
-
this.editorStore.changeDetectionState.stop(true); // force stop change detection
|
|
756
|
-
this.isUpdatingGraph = false;
|
|
757
|
-
// Note: in the future this function will probably be ideal to refactor when we have different classes for each mode
|
|
758
|
-
// as we would handle this error differently in `text` mode and `form` mode.
|
|
759
|
-
if (error instanceof GraphBuilderError) {
|
|
760
|
-
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
761
|
-
message: `Can't build graph: ${error.message}`,
|
|
762
|
-
prompt: 'Refreshing full application...',
|
|
763
|
-
showLoading: true,
|
|
764
|
-
});
|
|
765
|
-
this.editorStore.tabManagerState.closeAllTabs();
|
|
766
|
-
this.editorStore.cleanUp();
|
|
767
|
-
yield flowResult(this.editorStore.buildGraph(entities));
|
|
768
|
-
}
|
|
769
|
-
}
|
|
770
|
-
finally {
|
|
771
|
-
this.isUpdatingApplication = false;
|
|
772
|
-
this.editorStore.applicationStore.alertService.setBlockingAlert(undefined);
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
*updateGraphAndApplicationInTextMode(entities) {
|
|
776
|
-
const startTime = Date.now();
|
|
777
|
-
this.isUpdatingApplication = true;
|
|
778
|
-
this.isUpdatingGraph = true;
|
|
779
|
-
try {
|
|
780
|
-
const newGraph = this.editorStore.graphManagerState.createEmptyGraph();
|
|
781
|
-
yield flowResult(this.rebuildDependencies(newGraph));
|
|
782
|
-
yield flowResult(graph_dispose(this.editorStore.graphManagerState.graph));
|
|
783
|
-
const graphBuildState = ActionState.create();
|
|
784
|
-
yield this.editorStore.graphManagerState.graphManager.buildLightGraph(newGraph, entities, graphBuildState, {
|
|
785
|
-
TEMPORARY__preserveSectionIndex: this.editorStore.applicationStore.config.options
|
|
786
|
-
.TEMPORARY__preserveSectionIndex,
|
|
787
|
-
strict: this.enableStrictMode,
|
|
788
|
-
});
|
|
789
|
-
this.editorStore.graphManagerState.graph = newGraph;
|
|
790
|
-
// NOTE: here we don't want to modify the current graph build state directly
|
|
791
|
-
// instead, we quietly run this in the background and then sync it with the current build state
|
|
792
|
-
this.editorStore.graphManagerState.graphBuildState.sync(graphBuildState);
|
|
793
|
-
this.reprocessExplorerTreeInTextMode();
|
|
794
|
-
this.editorStore.applicationStore.logService.info(LogEvent.create(GRAPH_MANAGER_EVENT.UPDATE_AND_REBUILD_GRAPH__SUCCESS), '[TOTAL]', Date.now() - startTime, 'ms');
|
|
795
|
-
this.isUpdatingGraph = false;
|
|
796
|
-
}
|
|
797
|
-
catch (error) {
|
|
798
|
-
assertErrorThrown(error);
|
|
799
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE), error);
|
|
800
|
-
this.isUpdatingGraph = false;
|
|
801
|
-
if (error instanceof GraphBuilderError) {
|
|
802
|
-
this.editorStore.applicationStore.notificationService.notifyError(`Can't build graph: ${error.message}`);
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
finally {
|
|
806
|
-
this.isUpdatingApplication = false;
|
|
807
|
-
this.editorStore.applicationStore.alertService.setBlockingAlert(undefined);
|
|
808
|
-
}
|
|
809
|
-
}
|
|
810
|
-
/**
|
|
811
|
-
* Used to update generation model and generation graph using the generated entities
|
|
812
|
-
* does not alter the main or dependency model
|
|
813
|
-
*/
|
|
814
|
-
*updateGenerationGraphAndApplication() {
|
|
815
|
-
assertTrue(this.editorStore.graphManagerState.graphBuildState.hasSucceeded &&
|
|
816
|
-
this.editorStore.graphManagerState.dependenciesBuildState.hasSucceeded, 'Both main model and dependencies must be processed to built generation graph');
|
|
817
|
-
this.isUpdatingApplication = true;
|
|
818
|
-
try {
|
|
819
|
-
/**
|
|
820
|
-
* Backup and editor states info before resetting
|
|
821
|
-
*/
|
|
822
|
-
const openedTabEditorPaths = [];
|
|
823
|
-
this.editorStore.tabManagerState.tabs.forEach((state) => {
|
|
824
|
-
if (state instanceof ElementEditorState) {
|
|
825
|
-
openedTabEditorPaths.push(state.elementPath);
|
|
826
|
-
}
|
|
827
|
-
});
|
|
828
|
-
const currentTabState = this.editorStore.tabManagerState.currentTab instanceof
|
|
829
|
-
ElementEditorState
|
|
830
|
-
? undefined
|
|
831
|
-
: this.editorStore.tabManagerState.currentTab;
|
|
832
|
-
const currentTabElementPath = this.editorStore.tabManagerState.currentTab instanceof
|
|
833
|
-
ElementEditorState
|
|
834
|
-
? this.editorStore.tabManagerState.currentTab.elementPath
|
|
835
|
-
: undefined;
|
|
836
|
-
this.editorStore.tabManagerState.closeAllTabs();
|
|
837
|
-
yield flowResult(this.editorStore.graphManagerState.graph.generationModel.dispose());
|
|
838
|
-
// we reset the generation model
|
|
839
|
-
this.editorStore.graphManagerState.graph.generationModel =
|
|
840
|
-
this.editorStore.graphManagerState.createEmptyGenerationModel();
|
|
841
|
-
yield this.editorStore.graphManagerState.graphManager.buildGenerations(this.editorStore.graphManagerState.graph, this.graphGenerationState.generatedEntities, this.editorStore.graphManagerState.generationsBuildState);
|
|
842
|
-
this.editorStore.explorerTreeState.reprocess();
|
|
843
|
-
this.editorStore.tabManagerState.recoverTabs(openedTabEditorPaths, currentTabState, currentTabElementPath);
|
|
844
|
-
}
|
|
845
|
-
catch (error) {
|
|
846
|
-
assertErrorThrown(error);
|
|
847
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE), error);
|
|
848
|
-
this.editorStore.applicationStore.notificationService.notifyError(`Can't build graph: ${error.message}`);
|
|
849
|
-
}
|
|
850
|
-
finally {
|
|
851
|
-
this.isUpdatingApplication = false;
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
async getIndexedDependencyEntities() {
|
|
855
|
-
const dependencyEntitiesIndex = new Map();
|
|
856
|
-
const currentConfiguration = this.editorStore.projectConfigurationEditorState
|
|
857
|
-
.currentProjectConfiguration;
|
|
858
|
-
try {
|
|
859
|
-
if (currentConfiguration.projectDependencies.length) {
|
|
860
|
-
const dependencyCoordinates = await this.buildProjectDependencyCoordinates(currentConfiguration.projectDependencies);
|
|
861
|
-
// NOTE: if A@v1 is transitive dependencies of 2 or more
|
|
862
|
-
// direct dependencies, metadata server will take care of deduplication
|
|
863
|
-
const dependencyEntitiesJson = await this.editorStore.depotServerClient.collectDependencyEntities(dependencyCoordinates.map((e) => ProjectDependencyCoordinates.serialization.toJson(e)), true, true);
|
|
864
|
-
const dependencyEntities = dependencyEntitiesJson.map((e) => ProjectVersionEntities.serialization.fromJson(e));
|
|
865
|
-
const dependencyProjects = new Map();
|
|
866
|
-
dependencyEntities.forEach((dependencyInfo) => {
|
|
867
|
-
const projectId = dependencyInfo.id;
|
|
868
|
-
// There are a few validations that must be done:P
|
|
869
|
-
// 1. Unlike above, if in the depdendency graph, we have both A@v1 and A@v2
|
|
870
|
-
// then we need to throw. Both SDLC and metadata server should handle this
|
|
871
|
-
// validation, but haven't, so for now, we can do that in Studio.
|
|
872
|
-
// 2. Same as the previous case, but for version-to-version transformation
|
|
873
|
-
// This is a special case that needs handling, right now, SDLC does auto
|
|
874
|
-
// healing, by scanning all the path and convert them into versioned path
|
|
875
|
-
// e.g. model::someClass -> project1::v1_0_0::model::someClass
|
|
876
|
-
// But this is a rare and advanced use-case which we will not attempt to handle now.
|
|
877
|
-
if (dependencyProjects.has(projectId)) {
|
|
878
|
-
dependencyProjects.get(projectId)?.add(dependencyInfo.versionId);
|
|
879
|
-
}
|
|
880
|
-
else {
|
|
881
|
-
dependencyProjects.set(dependencyInfo.id, new Set([dependencyInfo.versionId]));
|
|
882
|
-
}
|
|
883
|
-
dependencyEntitiesIndex.set(dependencyInfo.id, new EntitiesWithOrigin(dependencyInfo.groupId, dependencyInfo.artifactId, dependencyInfo.versionId, dependencyInfo.entities));
|
|
884
|
-
});
|
|
885
|
-
const hasConflicts = Array.from(dependencyProjects.entries()).find(([k, v]) => v.size > 1);
|
|
886
|
-
if (hasConflicts) {
|
|
887
|
-
let dependencyInfo;
|
|
888
|
-
try {
|
|
889
|
-
const dependencyTree = await this.editorStore.depotServerClient.analyzeDependencyTree(dependencyCoordinates.map((e) => ProjectDependencyCoordinates.serialization.toJson(e)));
|
|
890
|
-
const rawReport = RawProjectDependencyReport.serialization.fromJson(dependencyTree);
|
|
891
|
-
dependencyInfo = buildDependencyReport(rawReport);
|
|
892
|
-
}
|
|
893
|
-
catch (error) {
|
|
894
|
-
assertErrorThrown(error);
|
|
895
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DEPOT_MANAGER_FAILURE), error);
|
|
896
|
-
}
|
|
897
|
-
const startErrorMessage = 'Depending on multiple versions of a project is not supported. Found conflicts:\n';
|
|
898
|
-
if (dependencyInfo?.conflicts.length) {
|
|
899
|
-
const conflictingProjects = dependencyInfo.conflicts
|
|
900
|
-
.map((c) => `project: ${c.groupId}:${c.artifactId}\nversions:[${c.versions
|
|
901
|
-
.map((v) => v.versionId)
|
|
902
|
-
.join(',')}]`)
|
|
903
|
-
.join('\n');
|
|
904
|
-
throw new UnsupportedOperationError(startErrorMessage + conflictingProjects);
|
|
905
|
-
}
|
|
906
|
-
else {
|
|
907
|
-
const conflictMessages = Array.from(dependencyProjects.entries())
|
|
908
|
-
.filter(([, v]) => v.size > 1)
|
|
909
|
-
.map(([k, v]) => `project: ${k}\n versions: ${Array.from(v.values()).join(',')}`)
|
|
910
|
-
.join('\n\n');
|
|
911
|
-
throw new UnsupportedOperationError(startErrorMessage + conflictMessages);
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
}
|
|
916
|
-
catch (error) {
|
|
917
|
-
assertErrorThrown(error);
|
|
918
|
-
const message = `Can't acquire dependency entitites. Error: ${error.message}`;
|
|
919
|
-
this.editorStore.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE), message);
|
|
920
|
-
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
921
|
-
throw new DependencyGraphBuilderError(error);
|
|
922
|
-
}
|
|
923
|
-
return dependencyEntitiesIndex;
|
|
924
|
-
}
|
|
925
|
-
async buildProjectDependencyCoordinates(projectDependencies) {
|
|
926
|
-
return Promise.all(projectDependencies.map((dep) => {
|
|
927
|
-
/**
|
|
928
|
-
* We expect current dependency ids to be in the format of {groupId}:{artifactId}.
|
|
929
|
-
* For the legacy dependency we must fetch the corresponding coordinates (group, artifact ids) from the depot server
|
|
930
|
-
*
|
|
931
|
-
* @backwardCompatibility
|
|
932
|
-
*/
|
|
933
|
-
if (dep.isLegacyDependency) {
|
|
934
|
-
return this.editorStore.depotServerClient
|
|
935
|
-
.getProjectById(dep.projectId)
|
|
936
|
-
.then((projects) => {
|
|
937
|
-
const projectsData = projects.map((p) => ProjectData.serialization.fromJson(p));
|
|
938
|
-
if (projectsData.length !== 1) {
|
|
939
|
-
throw new Error(`Expected 1 project for project ID '${dep.projectId}'. Got ${projectsData.length} projects with coordinates ${projectsData
|
|
940
|
-
.map((i) => `'${generateGAVCoordinates(i.groupId, i.artifactId, undefined)}'`)
|
|
941
|
-
.join(', ')}.`);
|
|
942
|
-
}
|
|
943
|
-
const project = projectsData[0];
|
|
944
|
-
return new ProjectDependencyCoordinates(project.groupId, project.artifactId, dep.versionId);
|
|
945
|
-
});
|
|
946
|
-
}
|
|
947
|
-
else {
|
|
948
|
-
return Promise.resolve(new ProjectDependencyCoordinates(guaranteeNonNullable(dep.groupId), guaranteeNonNullable(dep.artifactId), dep.versionId));
|
|
949
|
-
}
|
|
950
|
-
}));
|
|
951
|
-
}
|
|
952
|
-
// -------------------------------------------------- UTILITIES -----------------------------------------------------
|
|
953
|
-
getPackageableElementType(element) {
|
|
954
|
-
if (element instanceof PrimitiveType) {
|
|
955
|
-
return PACKAGEABLE_ELEMENT_TYPE.PRIMITIVE;
|
|
956
|
-
}
|
|
957
|
-
else if (element instanceof Package) {
|
|
958
|
-
return PACKAGEABLE_ELEMENT_TYPE.PACKAGE;
|
|
959
|
-
}
|
|
960
|
-
else if (element instanceof Class) {
|
|
961
|
-
return PACKAGEABLE_ELEMENT_TYPE.CLASS;
|
|
962
|
-
}
|
|
963
|
-
else if (element instanceof Association) {
|
|
964
|
-
return PACKAGEABLE_ELEMENT_TYPE.ASSOCIATION;
|
|
965
|
-
}
|
|
966
|
-
else if (element instanceof Enumeration) {
|
|
967
|
-
return PACKAGEABLE_ELEMENT_TYPE.ENUMERATION;
|
|
968
|
-
}
|
|
969
|
-
else if (element instanceof Measure) {
|
|
970
|
-
return PACKAGEABLE_ELEMENT_TYPE.MEASURE;
|
|
971
|
-
}
|
|
972
|
-
else if (element instanceof Unit) {
|
|
973
|
-
return PACKAGEABLE_ELEMENT_TYPE.UNIT;
|
|
974
|
-
}
|
|
975
|
-
else if (element instanceof Profile) {
|
|
976
|
-
return PACKAGEABLE_ELEMENT_TYPE.PROFILE;
|
|
977
|
-
}
|
|
978
|
-
else if (element instanceof ConcreteFunctionDefinition) {
|
|
979
|
-
return PACKAGEABLE_ELEMENT_TYPE.FUNCTION;
|
|
980
|
-
}
|
|
981
|
-
else if (element instanceof FlatData) {
|
|
982
|
-
return PACKAGEABLE_ELEMENT_TYPE.FLAT_DATA_STORE;
|
|
983
|
-
}
|
|
984
|
-
else if (element instanceof Database) {
|
|
985
|
-
return PACKAGEABLE_ELEMENT_TYPE.DATABASE;
|
|
986
|
-
}
|
|
987
|
-
else if (element instanceof Mapping) {
|
|
988
|
-
return PACKAGEABLE_ELEMENT_TYPE.MAPPING;
|
|
989
|
-
}
|
|
990
|
-
else if (element instanceof Service) {
|
|
991
|
-
return PACKAGEABLE_ELEMENT_TYPE.SERVICE;
|
|
992
|
-
}
|
|
993
|
-
else if (element instanceof PackageableConnection) {
|
|
994
|
-
return PACKAGEABLE_ELEMENT_TYPE.CONNECTION;
|
|
995
|
-
}
|
|
996
|
-
else if (element instanceof PackageableRuntime) {
|
|
997
|
-
return PACKAGEABLE_ELEMENT_TYPE.RUNTIME;
|
|
998
|
-
}
|
|
999
|
-
else if (element instanceof FileGenerationSpecification) {
|
|
1000
|
-
return PACKAGEABLE_ELEMENT_TYPE.FILE_GENERATION;
|
|
1001
|
-
}
|
|
1002
|
-
else if (element instanceof GenerationSpecification) {
|
|
1003
|
-
return PACKAGEABLE_ELEMENT_TYPE.GENERATION_SPECIFICATION;
|
|
1004
|
-
}
|
|
1005
|
-
else if (element instanceof SectionIndex) {
|
|
1006
|
-
return PACKAGEABLE_ELEMENT_TYPE.SECTION_INDEX;
|
|
1007
|
-
}
|
|
1008
|
-
else if (element instanceof DataElement) {
|
|
1009
|
-
return PACKAGEABLE_ELEMENT_TYPE.DATA;
|
|
1010
|
-
}
|
|
1011
|
-
const extraElementTypeLabelGetters = this.editorStore.pluginManager
|
|
1012
|
-
.getApplicationPlugins()
|
|
1013
|
-
.flatMap((plugin) => plugin.getExtraElementClassifiers?.() ?? []);
|
|
1014
|
-
for (const labelGetter of extraElementTypeLabelGetters) {
|
|
1015
|
-
const label = labelGetter(element);
|
|
1016
|
-
if (label) {
|
|
1017
|
-
return label;
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
throw new UnsupportedOperationError(`Can't get type label for element '${element.path}': no compatible label getter available from plugins`);
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
//# sourceMappingURL=EditorGraphState.js.map
|