@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
|
@@ -0,0 +1,701 @@
|
|
|
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 { ExplorerTreeState } from './ExplorerTreeState.js';
|
|
18
|
+
import { ACTIVITY_MODE, AUX_PANEL_MODE, GRAPH_EDITOR_MODE, EDITOR_MODE, } from './EditorConfig.js';
|
|
19
|
+
import { EditorGraphState, GraphBuilderStatus, } from './EditorGraphState.js';
|
|
20
|
+
import { ChangeDetectionState } from './ChangeDetectionState.js';
|
|
21
|
+
import { NewElementState } from './NewElementState.js';
|
|
22
|
+
import { WorkspaceUpdaterState } from './sidebar-state/WorkspaceUpdaterState.js';
|
|
23
|
+
import { ProjectOverviewState } from './sidebar-state/ProjectOverviewState.js';
|
|
24
|
+
import { WorkspaceReviewState } from './sidebar-state/WorkspaceReviewState.js';
|
|
25
|
+
import { FormLocalChangesState, } from './sidebar-state/LocalChangesState.js';
|
|
26
|
+
import { WorkspaceWorkflowManagerState } from './sidebar-state/WorkflowManagerState.js';
|
|
27
|
+
import { LogEvent, isNonNullable, assertErrorThrown, guaranteeNonNullable, UnsupportedOperationError, ActionState, AssertionError, guaranteeType, } from '@finos/legend-shared';
|
|
28
|
+
import { EditorSDLCState } from './EditorSDLCState.js';
|
|
29
|
+
import { ModelImporterState } from './editor-state/ModelImporterState.js';
|
|
30
|
+
import { ProjectConfigurationEditorState } from './editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js';
|
|
31
|
+
import { DevToolState } from './aux-panel-state/DevToolState.js';
|
|
32
|
+
import { generateEditorRoute, generateSetupRoute, generateViewProjectRoute, } from '../../application/LegendStudioNavigation.js';
|
|
33
|
+
import { NonBlockingDialogState, PanelDisplayState } from '@finos/legend-art';
|
|
34
|
+
import { ProjectConfiguration, WorkspaceType, } from '@finos/legend-server-sdlc';
|
|
35
|
+
import { GraphManagerState, GRAPH_MANAGER_EVENT } from '@finos/legend-graph';
|
|
36
|
+
import { ActionAlertActionType, ActionAlertType, APPLICATION_EVENT, TAB_SIZE, } from '@finos/legend-application';
|
|
37
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../application/LegendStudioEvent.js';
|
|
38
|
+
import { StandardEditorMode } from './StandardEditorMode.js';
|
|
39
|
+
import { WorkspaceUpdateConflictResolutionState } from './sidebar-state/WorkspaceUpdateConflictResolutionState.js';
|
|
40
|
+
import { PACKAGEABLE_ELEMENT_TYPE } from './shared/ModelClassifierUtils.js';
|
|
41
|
+
import { GlobalTestRunnerState } from './sidebar-state/testable/GlobalTestRunnerState.js';
|
|
42
|
+
import { EmbeddedQueryBuilderState } from './EmbeddedQueryBuilderState.js';
|
|
43
|
+
import { LEGEND_STUDIO_COMMAND_KEY } from '../../application/LegendStudioCommand.js';
|
|
44
|
+
import { EditorTabManagerState } from './EditorTabManagerState.js';
|
|
45
|
+
import { GraphEditFormModeState } from './GraphEditFormModeState.js';
|
|
46
|
+
import { GraphEditGrammarModeState } from './GraphEditGrammarModeState.js';
|
|
47
|
+
import { BulkServiceRegistrationState } from './sidebar-state/BulkServiceRegistrationState.js';
|
|
48
|
+
export class EditorExtensionState {
|
|
49
|
+
/**
|
|
50
|
+
* This helps to better type-check for this empty abtract type
|
|
51
|
+
* See https://github.com/finos/legend-studio/blob/master/docs/technical/typescript-usage.md#understand-typescript-structual-type-system
|
|
52
|
+
*/
|
|
53
|
+
_$nominalTypeBrand;
|
|
54
|
+
}
|
|
55
|
+
export class EditorStore {
|
|
56
|
+
applicationStore;
|
|
57
|
+
sdlcServerClient;
|
|
58
|
+
depotServerClient;
|
|
59
|
+
pluginManager;
|
|
60
|
+
initState = ActionState.create();
|
|
61
|
+
initialEntityPath;
|
|
62
|
+
editorMode;
|
|
63
|
+
// NOTE: once we clear up the editor store to make modes more separated
|
|
64
|
+
// we should remove these sets of functions. They are basically hacks to
|
|
65
|
+
// ensure hiding parts of the UI based on the editing mode.
|
|
66
|
+
// Instead, we will gradually move these `boolean` flags into `EditorMode`
|
|
67
|
+
// See https://github.com/finos/legend-studio/issues/317
|
|
68
|
+
mode = EDITOR_MODE.STANDARD;
|
|
69
|
+
editorExtensionStates = [];
|
|
70
|
+
explorerTreeState;
|
|
71
|
+
sdlcState;
|
|
72
|
+
graphState;
|
|
73
|
+
graphManagerState;
|
|
74
|
+
graphEditorMode;
|
|
75
|
+
changeDetectionState;
|
|
76
|
+
modelImporterState;
|
|
77
|
+
projectConfigurationEditorState;
|
|
78
|
+
projectOverviewState;
|
|
79
|
+
workspaceWorkflowManagerState;
|
|
80
|
+
globalTestRunnerState;
|
|
81
|
+
workspaceUpdaterState;
|
|
82
|
+
workspaceReviewState;
|
|
83
|
+
localChangesState;
|
|
84
|
+
conflictResolutionState;
|
|
85
|
+
devToolState;
|
|
86
|
+
embeddedQueryBuilderState;
|
|
87
|
+
newElementState;
|
|
88
|
+
bulkServiceRegistrationState;
|
|
89
|
+
/**
|
|
90
|
+
* Since we want to share element generation state across all element in the editor, we will create 1 element generate state
|
|
91
|
+
* per file generation configuration type.
|
|
92
|
+
*/
|
|
93
|
+
elementGenerationStates = [];
|
|
94
|
+
searchElementCommandState = new NonBlockingDialogState();
|
|
95
|
+
activeAuxPanelMode = AUX_PANEL_MODE.CONSOLE;
|
|
96
|
+
auxPanelDisplayState = new PanelDisplayState({
|
|
97
|
+
initial: 0,
|
|
98
|
+
default: 300,
|
|
99
|
+
snap: 100,
|
|
100
|
+
});
|
|
101
|
+
activeActivity = ACTIVITY_MODE.EXPLORER;
|
|
102
|
+
sideBarDisplayState = new PanelDisplayState({
|
|
103
|
+
initial: 300,
|
|
104
|
+
default: 300,
|
|
105
|
+
snap: 150,
|
|
106
|
+
});
|
|
107
|
+
tabManagerState = new EditorTabManagerState(this);
|
|
108
|
+
constructor(applicationStore, sdlcServerClient, depotServerClient) {
|
|
109
|
+
makeObservable(this, {
|
|
110
|
+
editorMode: observable,
|
|
111
|
+
mode: observable,
|
|
112
|
+
activeAuxPanelMode: observable,
|
|
113
|
+
activeActivity: observable,
|
|
114
|
+
graphEditorMode: observable,
|
|
115
|
+
isInViewerMode: computed,
|
|
116
|
+
isInConflictResolutionMode: computed,
|
|
117
|
+
isInitialized: computed,
|
|
118
|
+
setEditorMode: action,
|
|
119
|
+
setMode: action,
|
|
120
|
+
setActiveAuxPanelMode: action,
|
|
121
|
+
cleanUp: action,
|
|
122
|
+
reset: action,
|
|
123
|
+
setActiveActivity: action,
|
|
124
|
+
initialize: flow,
|
|
125
|
+
initMode: flow,
|
|
126
|
+
initStandardMode: flow,
|
|
127
|
+
initConflictResolutionMode: flow,
|
|
128
|
+
buildGraph: flow,
|
|
129
|
+
toggleTextMode: flow,
|
|
130
|
+
switchModes: flow,
|
|
131
|
+
});
|
|
132
|
+
this.applicationStore = applicationStore;
|
|
133
|
+
this.sdlcServerClient = sdlcServerClient;
|
|
134
|
+
this.depotServerClient = depotServerClient;
|
|
135
|
+
this.pluginManager = applicationStore.pluginManager;
|
|
136
|
+
this.editorMode = new StandardEditorMode(this);
|
|
137
|
+
this.sdlcState = new EditorSDLCState(this);
|
|
138
|
+
this.graphState = new EditorGraphState(this);
|
|
139
|
+
this.graphManagerState = new GraphManagerState(applicationStore.pluginManager, applicationStore.logService);
|
|
140
|
+
this.graphEditorMode = new GraphEditFormModeState(this);
|
|
141
|
+
this.changeDetectionState = new ChangeDetectionState(this, this.graphState);
|
|
142
|
+
this.devToolState = new DevToolState(this);
|
|
143
|
+
this.embeddedQueryBuilderState = new EmbeddedQueryBuilderState(this);
|
|
144
|
+
// side bar panels
|
|
145
|
+
this.explorerTreeState = new ExplorerTreeState(this);
|
|
146
|
+
this.projectOverviewState = new ProjectOverviewState(this, this.sdlcState);
|
|
147
|
+
this.globalTestRunnerState = new GlobalTestRunnerState(this, this.sdlcState);
|
|
148
|
+
this.workspaceWorkflowManagerState = new WorkspaceWorkflowManagerState(this, this.sdlcState);
|
|
149
|
+
this.workspaceUpdaterState = new WorkspaceUpdaterState(this, this.sdlcState);
|
|
150
|
+
this.workspaceReviewState = new WorkspaceReviewState(this, this.sdlcState);
|
|
151
|
+
this.localChangesState = new FormLocalChangesState(this, this.sdlcState);
|
|
152
|
+
this.conflictResolutionState = new WorkspaceUpdateConflictResolutionState(this, this.sdlcState);
|
|
153
|
+
this.newElementState = new NewElementState(this);
|
|
154
|
+
this.bulkServiceRegistrationState = new BulkServiceRegistrationState(this, this.sdlcState);
|
|
155
|
+
// special (singleton) editors
|
|
156
|
+
this.modelImporterState = new ModelImporterState(this);
|
|
157
|
+
this.projectConfigurationEditorState = new ProjectConfigurationEditorState(this, this.sdlcState);
|
|
158
|
+
// extensions
|
|
159
|
+
this.editorExtensionStates = this.pluginManager
|
|
160
|
+
.getApplicationPlugins()
|
|
161
|
+
.flatMap((plugin) => plugin.getExtraEditorExtensionStateCreators?.() ?? [])
|
|
162
|
+
.map((creator) => creator(this))
|
|
163
|
+
.filter(isNonNullable);
|
|
164
|
+
}
|
|
165
|
+
get isInitialized() {
|
|
166
|
+
if (this.isInViewerMode) {
|
|
167
|
+
return ((Boolean(this.sdlcState.currentProject && this.sdlcState.currentWorkspace) ||
|
|
168
|
+
Boolean(this.sdlcState.editorStore.editorMode
|
|
169
|
+
.viewerStore.projectGAVCoordinates)) &&
|
|
170
|
+
this.graphManagerState.systemBuildState.hasSucceeded);
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
return (Boolean(this.sdlcState.currentProject &&
|
|
174
|
+
this.sdlcState.currentWorkspace &&
|
|
175
|
+
this.sdlcState.currentRevision &&
|
|
176
|
+
this.sdlcState.remoteWorkspaceRevision) && this.graphManagerState.systemBuildState.hasSucceeded);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
get isInViewerMode() {
|
|
180
|
+
return this.mode === EDITOR_MODE.VIEWER;
|
|
181
|
+
}
|
|
182
|
+
get isInConflictResolutionMode() {
|
|
183
|
+
return this.mode === EDITOR_MODE.CONFLICT_RESOLUTION;
|
|
184
|
+
}
|
|
185
|
+
setEditorMode(val) {
|
|
186
|
+
this.editorMode = val;
|
|
187
|
+
}
|
|
188
|
+
setMode(val) {
|
|
189
|
+
this.mode = val;
|
|
190
|
+
}
|
|
191
|
+
cleanUp() {
|
|
192
|
+
// dismiss all the alerts as these are parts of application, if we don't do this, we might
|
|
193
|
+
// end up blocking other parts of the app
|
|
194
|
+
// e.g. trying going to an unknown workspace, we will be redirected to the home page
|
|
195
|
+
// but the blocking alert for not-found workspace will still block the app
|
|
196
|
+
this.applicationStore.alertService.setBlockingAlert(undefined);
|
|
197
|
+
this.applicationStore.alertService.setActionAlertInfo(undefined);
|
|
198
|
+
// stop change detection to avoid memory-leak
|
|
199
|
+
this.changeDetectionState.stop();
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* TODO?: we should really think of how we could simplify the trigger condition below
|
|
203
|
+
* after we refactor editor modes
|
|
204
|
+
*
|
|
205
|
+
* See https://github.com/finos/legend-studio/issues/317
|
|
206
|
+
*/
|
|
207
|
+
createEditorCommandTrigger(additionalChecker) {
|
|
208
|
+
return () =>
|
|
209
|
+
// we don't want to leak any hotkeys when we have embedded query builder open
|
|
210
|
+
// TODO?: we probably should come up with a more generic mechanism for this
|
|
211
|
+
!this.embeddedQueryBuilderState.queryBuilderState &&
|
|
212
|
+
(!additionalChecker || additionalChecker());
|
|
213
|
+
}
|
|
214
|
+
registerCommands() {
|
|
215
|
+
this.applicationStore.commandService.registerCommand({
|
|
216
|
+
key: LEGEND_STUDIO_COMMAND_KEY.COMPILE,
|
|
217
|
+
trigger: this.createEditorCommandTrigger(() => this.isInitialized &&
|
|
218
|
+
(!this.isInConflictResolutionMode ||
|
|
219
|
+
this.conflictResolutionState.hasResolvedAllConflicts)),
|
|
220
|
+
action: () => {
|
|
221
|
+
flowResult(this.graphEditorMode.globalCompile()).catch(this.applicationStore.alertUnhandledError);
|
|
222
|
+
},
|
|
223
|
+
});
|
|
224
|
+
this.applicationStore.commandService.registerCommand({
|
|
225
|
+
key: LEGEND_STUDIO_COMMAND_KEY.GENERATE,
|
|
226
|
+
trigger: this.createEditorCommandTrigger(() => this.isInitialized &&
|
|
227
|
+
(!this.isInConflictResolutionMode ||
|
|
228
|
+
this.conflictResolutionState.hasResolvedAllConflicts)),
|
|
229
|
+
action: () => {
|
|
230
|
+
flowResult(this.graphState.graphGenerationState.globalGenerate()).catch(this.applicationStore.alertUnhandledError);
|
|
231
|
+
},
|
|
232
|
+
});
|
|
233
|
+
this.applicationStore.commandService.registerCommand({
|
|
234
|
+
key: LEGEND_STUDIO_COMMAND_KEY.CREATE_ELEMENT,
|
|
235
|
+
trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
|
|
236
|
+
action: () => this.newElementState.openModal(),
|
|
237
|
+
});
|
|
238
|
+
this.applicationStore.commandService.registerCommand({
|
|
239
|
+
key: LEGEND_STUDIO_COMMAND_KEY.SEARCH_ELEMENT,
|
|
240
|
+
trigger: this.createEditorCommandTrigger(),
|
|
241
|
+
action: () => this.searchElementCommandState.open(),
|
|
242
|
+
});
|
|
243
|
+
this.applicationStore.commandService.registerCommand({
|
|
244
|
+
key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_TEXT_MODE,
|
|
245
|
+
trigger: this.createEditorCommandTrigger(() => this.isInitialized &&
|
|
246
|
+
(!this.isInConflictResolutionMode ||
|
|
247
|
+
this.conflictResolutionState.hasResolvedAllConflicts)),
|
|
248
|
+
action: () => {
|
|
249
|
+
flowResult(this.toggleTextMode()).catch(this.applicationStore.alertUnhandledError);
|
|
250
|
+
},
|
|
251
|
+
});
|
|
252
|
+
this.applicationStore.commandService.registerCommand({
|
|
253
|
+
key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_MODEL_LOADER,
|
|
254
|
+
trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
|
|
255
|
+
action: () => this.tabManagerState.openTab(this.modelImporterState),
|
|
256
|
+
});
|
|
257
|
+
this.applicationStore.commandService.registerCommand({
|
|
258
|
+
key: LEGEND_STUDIO_COMMAND_KEY.SYNC_WITH_WORKSPACE,
|
|
259
|
+
trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
|
|
260
|
+
action: () => {
|
|
261
|
+
flowResult(this.localChangesState.pushLocalChanges()).catch(this.applicationStore.alertUnhandledError);
|
|
262
|
+
},
|
|
263
|
+
});
|
|
264
|
+
this.applicationStore.commandService.registerCommand({
|
|
265
|
+
key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_AUX_PANEL,
|
|
266
|
+
trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
|
|
267
|
+
action: () => this.auxPanelDisplayState.toggle(),
|
|
268
|
+
});
|
|
269
|
+
this.applicationStore.commandService.registerCommand({
|
|
270
|
+
key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_EXPLORER,
|
|
271
|
+
trigger: this.createEditorCommandTrigger(),
|
|
272
|
+
action: () => this.setActiveActivity(ACTIVITY_MODE.EXPLORER),
|
|
273
|
+
});
|
|
274
|
+
this.applicationStore.commandService.registerCommand({
|
|
275
|
+
key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_LOCAL_CHANGES,
|
|
276
|
+
trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
|
|
277
|
+
action: () => this.setActiveActivity(ACTIVITY_MODE.LOCAL_CHANGES),
|
|
278
|
+
});
|
|
279
|
+
this.applicationStore.commandService.registerCommand({
|
|
280
|
+
key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_WORKSPACE_REVIEW,
|
|
281
|
+
trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
|
|
282
|
+
action: () => this.setActiveActivity(ACTIVITY_MODE.WORKSPACE_REVIEW),
|
|
283
|
+
});
|
|
284
|
+
this.applicationStore.commandService.registerCommand({
|
|
285
|
+
key: LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_WORKSPACE_UPDATER,
|
|
286
|
+
trigger: this.createEditorCommandTrigger(() => !this.isInViewerMode),
|
|
287
|
+
action: () => this.setActiveActivity(ACTIVITY_MODE.WORKSPACE_UPDATER),
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
deregisterCommands() {
|
|
291
|
+
[
|
|
292
|
+
LEGEND_STUDIO_COMMAND_KEY.SYNC_WITH_WORKSPACE,
|
|
293
|
+
LEGEND_STUDIO_COMMAND_KEY.CREATE_ELEMENT,
|
|
294
|
+
LEGEND_STUDIO_COMMAND_KEY.SEARCH_ELEMENT,
|
|
295
|
+
LEGEND_STUDIO_COMMAND_KEY.TOGGLE_TEXT_MODE,
|
|
296
|
+
LEGEND_STUDIO_COMMAND_KEY.GENERATE,
|
|
297
|
+
LEGEND_STUDIO_COMMAND_KEY.COMPILE,
|
|
298
|
+
LEGEND_STUDIO_COMMAND_KEY.TOGGLE_AUX_PANEL,
|
|
299
|
+
LEGEND_STUDIO_COMMAND_KEY.TOGGLE_MODEL_LOADER,
|
|
300
|
+
LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_EXPLORER,
|
|
301
|
+
LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_LOCAL_CHANGES,
|
|
302
|
+
LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_WORKSPACE_REVIEW,
|
|
303
|
+
LEGEND_STUDIO_COMMAND_KEY.TOGGLE_SIDEBAR_WORKSPACE_UPDATER,
|
|
304
|
+
].forEach((key) => this.applicationStore.commandService.deregisterCommand(key));
|
|
305
|
+
}
|
|
306
|
+
reset() {
|
|
307
|
+
this.tabManagerState.closeAllTabs();
|
|
308
|
+
this.projectConfigurationEditorState = new ProjectConfigurationEditorState(this, this.sdlcState);
|
|
309
|
+
this.explorerTreeState = new ExplorerTreeState(this);
|
|
310
|
+
}
|
|
311
|
+
internalizeEntityPath(params) {
|
|
312
|
+
const { projectId, entityPath } = params;
|
|
313
|
+
const workspaceType = params.groupWorkspaceId
|
|
314
|
+
? WorkspaceType.GROUP
|
|
315
|
+
: WorkspaceType.USER;
|
|
316
|
+
const workspaceId = guaranteeNonNullable(params.groupWorkspaceId ?? params.workspaceId, `Workspace/group workspace ID is not provided`);
|
|
317
|
+
if (entityPath) {
|
|
318
|
+
this.initialEntityPath = entityPath;
|
|
319
|
+
this.applicationStore.navigationService.navigator.updateCurrentLocation(generateEditorRoute(projectId, workspaceId, workspaceType));
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* This is the entry of the app logic where the initialization of editor states happens
|
|
324
|
+
* Here, we ensure the order of calls after checking existence of current project and workspace
|
|
325
|
+
* If either of them does not exist, we cannot proceed.
|
|
326
|
+
*/
|
|
327
|
+
*initialize(projectId, workspaceId, workspaceType) {
|
|
328
|
+
if (!this.initState.isInInitialState) {
|
|
329
|
+
/**
|
|
330
|
+
* Since React `fast-refresh` will sometimes cause `Editor` to rerender, this method will be called again
|
|
331
|
+
* as all hooks are recalled, as such, ONLY IN DEVELOPMENT mode we allow this to not fail-fast
|
|
332
|
+
* we also have to `undo` some of what the `cleanUp` does to this store as the cleanup part of all hooks will be triggered
|
|
333
|
+
* as well
|
|
334
|
+
*/
|
|
335
|
+
// eslint-disable-next-line no-process-env
|
|
336
|
+
if (process.env.NODE_ENV === 'development') {
|
|
337
|
+
this.applicationStore.logService.info(LogEvent.create(APPLICATION_EVENT.DEVELOPMENT_ISSUE), `Fast-refreshing the app - undoing cleanUp() and preventing initialize() recall in editor store...`);
|
|
338
|
+
this.changeDetectionState.start();
|
|
339
|
+
return;
|
|
340
|
+
}
|
|
341
|
+
this.applicationStore.notificationService.notifyIllegalState('Editor store is re-initialized');
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
344
|
+
this.initState.inProgress();
|
|
345
|
+
const onLeave = (hasBuildSucceeded) => {
|
|
346
|
+
this.initState.complete(hasBuildSucceeded);
|
|
347
|
+
this.initState.setMessage(undefined);
|
|
348
|
+
};
|
|
349
|
+
this.initState.setMessage(`Setting up workspace...`);
|
|
350
|
+
yield flowResult(this.sdlcState.fetchCurrentProject(projectId, {
|
|
351
|
+
suppressNotification: true,
|
|
352
|
+
}));
|
|
353
|
+
if (!this.sdlcState.currentProject) {
|
|
354
|
+
// If the project is not found or the user does not have access to it,
|
|
355
|
+
// we will not automatically redirect them to the setup page as they will lose the URL
|
|
356
|
+
// instead, we give them the option to:
|
|
357
|
+
// - reload the page (in case they later gain access)
|
|
358
|
+
// - back to the setup page
|
|
359
|
+
this.applicationStore.alertService.setActionAlertInfo({
|
|
360
|
+
message: `Project not found or inaccessible`,
|
|
361
|
+
prompt: 'Please check that the project exists and request access to it',
|
|
362
|
+
type: ActionAlertType.STANDARD,
|
|
363
|
+
actions: [
|
|
364
|
+
{
|
|
365
|
+
label: 'Reload application',
|
|
366
|
+
default: true,
|
|
367
|
+
type: ActionAlertActionType.STANDARD,
|
|
368
|
+
handler: () => {
|
|
369
|
+
this.applicationStore.navigationService.navigator.reload();
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
label: 'Back to workspace setup',
|
|
374
|
+
type: ActionAlertActionType.STANDARD,
|
|
375
|
+
handler: () => {
|
|
376
|
+
this.applicationStore.navigationService.navigator.goToLocation(generateSetupRoute(undefined));
|
|
377
|
+
},
|
|
378
|
+
},
|
|
379
|
+
],
|
|
380
|
+
});
|
|
381
|
+
onLeave(false);
|
|
382
|
+
return;
|
|
383
|
+
}
|
|
384
|
+
yield flowResult(this.sdlcState.fetchCurrentWorkspace(projectId, workspaceId, workspaceType, {
|
|
385
|
+
suppressNotification: true,
|
|
386
|
+
}));
|
|
387
|
+
if (!this.sdlcState.currentWorkspace) {
|
|
388
|
+
// If the workspace is not found,
|
|
389
|
+
// we will not automatically redirect the user to the setup page as they will lose the URL
|
|
390
|
+
// instead, we give them the option to:
|
|
391
|
+
// - create the workspace
|
|
392
|
+
// - view project
|
|
393
|
+
// - back to the setup page
|
|
394
|
+
const createWorkspaceAndRelaunch = async () => {
|
|
395
|
+
try {
|
|
396
|
+
this.applicationStore.alertService.setBlockingAlert({
|
|
397
|
+
message: 'Creating workspace...',
|
|
398
|
+
prompt: 'Please do not close the application',
|
|
399
|
+
});
|
|
400
|
+
const workspace = await this.sdlcServerClient.createWorkspace(projectId, workspaceId, workspaceType);
|
|
401
|
+
this.applicationStore.alertService.setBlockingAlert(undefined);
|
|
402
|
+
this.applicationStore.notificationService.notifySuccess(`Workspace '${workspace.workspaceId}' is succesfully created. Reloading application...`);
|
|
403
|
+
this.applicationStore.navigationService.navigator.reload();
|
|
404
|
+
}
|
|
405
|
+
catch (error) {
|
|
406
|
+
assertErrorThrown(error);
|
|
407
|
+
this.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.WORKSPACE_SETUP_FAILURE), error);
|
|
408
|
+
this.applicationStore.notificationService.notifyError(error);
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
this.applicationStore.alertService.setActionAlertInfo({
|
|
412
|
+
message: 'Workspace not found',
|
|
413
|
+
prompt: `Please note that you can check out the project in viewer mode. Workspace is only required if you need to work on the project.`,
|
|
414
|
+
type: ActionAlertType.STANDARD,
|
|
415
|
+
actions: [
|
|
416
|
+
{
|
|
417
|
+
label: 'View project',
|
|
418
|
+
default: true,
|
|
419
|
+
type: ActionAlertActionType.STANDARD,
|
|
420
|
+
handler: () => {
|
|
421
|
+
this.applicationStore.navigationService.navigator.goToLocation(generateViewProjectRoute(projectId));
|
|
422
|
+
},
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
label: 'Create workspace',
|
|
426
|
+
type: ActionAlertActionType.STANDARD,
|
|
427
|
+
handler: () => {
|
|
428
|
+
createWorkspaceAndRelaunch().catch(this.applicationStore.alertUnhandledError);
|
|
429
|
+
},
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
label: 'Back to workspace setup',
|
|
433
|
+
type: ActionAlertActionType.STANDARD,
|
|
434
|
+
handler: () => {
|
|
435
|
+
this.applicationStore.navigationService.navigator.goToLocation(generateSetupRoute(projectId, workspaceId, workspaceType));
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
],
|
|
439
|
+
});
|
|
440
|
+
onLeave(false);
|
|
441
|
+
return;
|
|
442
|
+
}
|
|
443
|
+
yield Promise.all([
|
|
444
|
+
this.sdlcState.fetchCurrentRevision(projectId, this.sdlcState.activeWorkspace),
|
|
445
|
+
this.graphManagerState.initializeSystem(),
|
|
446
|
+
this.graphManagerState.graphManager.initialize({
|
|
447
|
+
env: this.applicationStore.config.env,
|
|
448
|
+
tabSize: TAB_SIZE,
|
|
449
|
+
clientConfig: {
|
|
450
|
+
baseUrl: this.applicationStore.config.engineServerUrl,
|
|
451
|
+
queryBaseUrl: this.applicationStore.config.engineQueryServerUrl,
|
|
452
|
+
enableCompression: true,
|
|
453
|
+
},
|
|
454
|
+
}, {
|
|
455
|
+
tracerService: this.applicationStore.tracerService,
|
|
456
|
+
}),
|
|
457
|
+
]);
|
|
458
|
+
yield flowResult(this.initMode());
|
|
459
|
+
onLeave(true);
|
|
460
|
+
}
|
|
461
|
+
*initMode() {
|
|
462
|
+
switch (this.mode) {
|
|
463
|
+
case EDITOR_MODE.STANDARD:
|
|
464
|
+
yield flowResult(this.initStandardMode());
|
|
465
|
+
return;
|
|
466
|
+
case EDITOR_MODE.CONFLICT_RESOLUTION:
|
|
467
|
+
yield flowResult(this.initConflictResolutionMode());
|
|
468
|
+
return;
|
|
469
|
+
default:
|
|
470
|
+
throw new UnsupportedOperationError(`Can't initialize editor for unsupported mode '${this.mode}'`);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
*initStandardMode() {
|
|
474
|
+
yield Promise.all([
|
|
475
|
+
this.buildGraph(),
|
|
476
|
+
this.sdlcState.checkIfWorkspaceIsOutdated(),
|
|
477
|
+
this.workspaceReviewState.fetchCurrentWorkspaceReview(),
|
|
478
|
+
this.workspaceUpdaterState.fetchLatestCommittedReviews(),
|
|
479
|
+
this.projectConfigurationEditorState.fetchLatestProjectStructureVersion(),
|
|
480
|
+
this.graphState.graphGenerationState.fetchAvailableFileGenerationDescriptions(),
|
|
481
|
+
this.graphState.graphGenerationState.externalFormatState.fetchExternalFormatsDescriptions(),
|
|
482
|
+
this.sdlcState.fetchProjectVersions(),
|
|
483
|
+
]);
|
|
484
|
+
}
|
|
485
|
+
*initConflictResolutionMode() {
|
|
486
|
+
this.applicationStore.alertService.setActionAlertInfo({
|
|
487
|
+
message: 'Failed to update workspace.',
|
|
488
|
+
prompt: 'You can discard all of your changes or review them, resolve all merge conflicts and fix any potential compilation issues as well as test failures',
|
|
489
|
+
type: ActionAlertType.CAUTION,
|
|
490
|
+
actions: [
|
|
491
|
+
{
|
|
492
|
+
label: 'Discard your changes',
|
|
493
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
494
|
+
handler: () => {
|
|
495
|
+
this.setActiveActivity(ACTIVITY_MODE.CONFLICT_RESOLUTION);
|
|
496
|
+
flowResult(this.conflictResolutionState.discardConflictResolutionChanges()).catch((error) => this.applicationStore.alertUnhandledError(error));
|
|
497
|
+
},
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
label: 'Resolve merge conflicts',
|
|
501
|
+
default: true,
|
|
502
|
+
type: ActionAlertActionType.STANDARD,
|
|
503
|
+
},
|
|
504
|
+
],
|
|
505
|
+
});
|
|
506
|
+
yield Promise.all([
|
|
507
|
+
this.conflictResolutionState.initialize(),
|
|
508
|
+
this.sdlcState.checkIfWorkspaceIsOutdated(),
|
|
509
|
+
this.projectConfigurationEditorState.fetchLatestProjectStructureVersion(),
|
|
510
|
+
this.graphState.graphGenerationState.fetchAvailableFileGenerationDescriptions(),
|
|
511
|
+
this.graphState.graphGenerationState.externalFormatState.fetchExternalFormatsDescriptions(),
|
|
512
|
+
this.sdlcState.fetchProjectVersions(),
|
|
513
|
+
]);
|
|
514
|
+
}
|
|
515
|
+
*buildGraph(graphEntities) {
|
|
516
|
+
const startTime = Date.now();
|
|
517
|
+
let entities;
|
|
518
|
+
let projectConfiguration;
|
|
519
|
+
this.initState.setMessage(`Fetching entities...`);
|
|
520
|
+
try {
|
|
521
|
+
// fetch workspace entities and config at the same time
|
|
522
|
+
const projectId = this.sdlcState.activeProject.projectId;
|
|
523
|
+
const activeWorkspace = this.sdlcState.activeWorkspace;
|
|
524
|
+
const result = (yield Promise.all([
|
|
525
|
+
this.sdlcServerClient.getEntities(projectId, activeWorkspace),
|
|
526
|
+
this.sdlcServerClient.getConfiguration(projectId, activeWorkspace),
|
|
527
|
+
]));
|
|
528
|
+
entities = result[0];
|
|
529
|
+
projectConfiguration = result[1];
|
|
530
|
+
this.projectConfigurationEditorState.setProjectConfiguration(ProjectConfiguration.serialization.fromJson(projectConfiguration));
|
|
531
|
+
// make sure we set the original project configuration to a different object
|
|
532
|
+
this.projectConfigurationEditorState.setOriginalProjectConfiguration(ProjectConfiguration.serialization.fromJson(projectConfiguration));
|
|
533
|
+
this.changeDetectionState.workspaceLocalLatestRevisionState.setEntities(entities);
|
|
534
|
+
this.applicationStore.logService.info(LogEvent.create(GRAPH_MANAGER_EVENT.FETCH_GRAPH_ENTITIES__SUCCESS), Date.now() - startTime, 'ms');
|
|
535
|
+
}
|
|
536
|
+
catch {
|
|
537
|
+
return;
|
|
538
|
+
}
|
|
539
|
+
finally {
|
|
540
|
+
this.initState.setMessage(undefined);
|
|
541
|
+
}
|
|
542
|
+
try {
|
|
543
|
+
const result = (yield flowResult(
|
|
544
|
+
// NOTE: if graph entities are provided, we will use that to build the graph.
|
|
545
|
+
// We use this method as a way to fully reset the application with the entities, but we still use
|
|
546
|
+
// the workspace entities for hashing as those are the base entities.
|
|
547
|
+
this.graphState.buildGraph(graphEntities ?? entities)));
|
|
548
|
+
if (result.error) {
|
|
549
|
+
if (result.status === GraphBuilderStatus.REDIRECTED_TO_TEXT_MODE) {
|
|
550
|
+
yield flowResult(this.changeDetectionState.workspaceLocalLatestRevisionState.buildEntityHashesIndex(entities, LogEvent.create(LEGEND_STUDIO_APP_EVENT.CHANGE_DETECTION_BUILD_LOCAL_HASHES_INDEX__SUCCESS)));
|
|
551
|
+
}
|
|
552
|
+
return;
|
|
553
|
+
}
|
|
554
|
+
this.initState.setMessage(`Starting change detection engine...`);
|
|
555
|
+
// build explorer tree
|
|
556
|
+
this.explorerTreeState.buildImmutableModelTrees();
|
|
557
|
+
this.explorerTreeState.build();
|
|
558
|
+
// open element if provided an element path
|
|
559
|
+
if (this.graphManagerState.graphBuildState.hasSucceeded &&
|
|
560
|
+
this.explorerTreeState.buildState.hasCompleted &&
|
|
561
|
+
this.initialEntityPath) {
|
|
562
|
+
try {
|
|
563
|
+
this.graphEditorMode.openElement(this.graphManagerState.graph.getElement(this.initialEntityPath));
|
|
564
|
+
}
|
|
565
|
+
catch {
|
|
566
|
+
const elementPath = this.initialEntityPath;
|
|
567
|
+
this.initialEntityPath = undefined;
|
|
568
|
+
throw new AssertionError(`Can't find element with path '${elementPath}'`);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
// ======= (RE)START CHANGE DETECTION =======
|
|
572
|
+
this.changeDetectionState.stop();
|
|
573
|
+
yield flowResult(this.changeDetectionState.observeGraph());
|
|
574
|
+
yield Promise.all([
|
|
575
|
+
this.changeDetectionState.preComputeGraphElementHashes(),
|
|
576
|
+
this.changeDetectionState.workspaceLocalLatestRevisionState.buildEntityHashesIndex(entities, LogEvent.create(LEGEND_STUDIO_APP_EVENT.CHANGE_DETECTION_BUILD_LOCAL_HASHES_INDEX__SUCCESS)),
|
|
577
|
+
this.sdlcState.buildWorkspaceBaseRevisionEntityHashesIndex(),
|
|
578
|
+
this.sdlcState.buildProjectLatestRevisionEntityHashesIndex(),
|
|
579
|
+
]);
|
|
580
|
+
this.changeDetectionState.start();
|
|
581
|
+
yield Promise.all([
|
|
582
|
+
this.changeDetectionState.computeAggregatedWorkspaceChanges(true),
|
|
583
|
+
this.changeDetectionState.computeAggregatedProjectLatestChanges(true),
|
|
584
|
+
]);
|
|
585
|
+
this.applicationStore.logService.info(LogEvent.create(LEGEND_STUDIO_APP_EVENT.CHANGE_DETECTION_RESTART__SUCCESS), '[ASNYC]');
|
|
586
|
+
// ======= FINISHED (RE)START CHANGE DETECTION =======
|
|
587
|
+
}
|
|
588
|
+
catch (error) {
|
|
589
|
+
assertErrorThrown(error);
|
|
590
|
+
this.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.GRAPH_BUILDER_FAILURE), error);
|
|
591
|
+
// since errors have been handled accordingly, we don't need to do anything here
|
|
592
|
+
return;
|
|
593
|
+
}
|
|
594
|
+
finally {
|
|
595
|
+
this.initState.setMessage(undefined);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
setActiveActivity(activity, options) {
|
|
599
|
+
if (!this.sideBarDisplayState.isOpen) {
|
|
600
|
+
this.sideBarDisplayState.open();
|
|
601
|
+
}
|
|
602
|
+
else if (activity === this.activeActivity &&
|
|
603
|
+
!options?.keepShowingIfMatchedCurrent) {
|
|
604
|
+
this.sideBarDisplayState.close();
|
|
605
|
+
}
|
|
606
|
+
this.activeActivity = activity;
|
|
607
|
+
}
|
|
608
|
+
setActiveAuxPanelMode(val) {
|
|
609
|
+
this.activeAuxPanelMode = val;
|
|
610
|
+
}
|
|
611
|
+
*toggleTextMode() {
|
|
612
|
+
if (this.graphState.checkIfApplicationUpdateOperationIsRunning()) {
|
|
613
|
+
return;
|
|
614
|
+
}
|
|
615
|
+
this.applicationStore.alertService.setBlockingAlert({
|
|
616
|
+
message: 'Switching to text mode...',
|
|
617
|
+
showLoading: true,
|
|
618
|
+
});
|
|
619
|
+
if (this.graphEditorMode instanceof GraphEditFormModeState) {
|
|
620
|
+
yield flowResult(this.switchModes(GRAPH_EDITOR_MODE.GRAMMAR_TEXT));
|
|
621
|
+
}
|
|
622
|
+
else if (this.graphEditorMode instanceof GraphEditGrammarModeState) {
|
|
623
|
+
yield flowResult(this.switchModes(GRAPH_EDITOR_MODE.FORM));
|
|
624
|
+
}
|
|
625
|
+
else {
|
|
626
|
+
throw new UnsupportedOperationError('Editor only support form mode and text mode at the moment');
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
getSupportedElementTypes() {
|
|
630
|
+
return [
|
|
631
|
+
PACKAGEABLE_ELEMENT_TYPE.CLASS,
|
|
632
|
+
PACKAGEABLE_ELEMENT_TYPE.ENUMERATION,
|
|
633
|
+
PACKAGEABLE_ELEMENT_TYPE.PROFILE,
|
|
634
|
+
PACKAGEABLE_ELEMENT_TYPE.ASSOCIATION,
|
|
635
|
+
PACKAGEABLE_ELEMENT_TYPE.FUNCTION,
|
|
636
|
+
PACKAGEABLE_ELEMENT_TYPE.MEASURE,
|
|
637
|
+
PACKAGEABLE_ELEMENT_TYPE.MAPPING,
|
|
638
|
+
PACKAGEABLE_ELEMENT_TYPE.RUNTIME,
|
|
639
|
+
PACKAGEABLE_ELEMENT_TYPE.CONNECTION,
|
|
640
|
+
PACKAGEABLE_ELEMENT_TYPE.SERVICE,
|
|
641
|
+
PACKAGEABLE_ELEMENT_TYPE.GENERATION_SPECIFICATION,
|
|
642
|
+
PACKAGEABLE_ELEMENT_TYPE.FILE_GENERATION,
|
|
643
|
+
PACKAGEABLE_ELEMENT_TYPE.FLAT_DATA_STORE,
|
|
644
|
+
PACKAGEABLE_ELEMENT_TYPE.DATABASE,
|
|
645
|
+
PACKAGEABLE_ELEMENT_TYPE.DATA,
|
|
646
|
+
].concat(this.pluginManager
|
|
647
|
+
.getApplicationPlugins()
|
|
648
|
+
.flatMap((plugin) => plugin.getExtraSupportedElementTypes?.() ?? []));
|
|
649
|
+
}
|
|
650
|
+
*switchModes(to, fallbackOptions) {
|
|
651
|
+
switch (to) {
|
|
652
|
+
case GRAPH_EDITOR_MODE.GRAMMAR_TEXT: {
|
|
653
|
+
const graphEditorMode = new GraphEditGrammarModeState(this);
|
|
654
|
+
try {
|
|
655
|
+
yield flowResult(graphEditorMode.cleanupBeforeEntering(fallbackOptions));
|
|
656
|
+
this.graphEditorMode = graphEditorMode;
|
|
657
|
+
yield flowResult(this.graphEditorMode.initialize(Boolean(fallbackOptions)));
|
|
658
|
+
}
|
|
659
|
+
catch (error) {
|
|
660
|
+
assertErrorThrown(error);
|
|
661
|
+
this.applicationStore.notificationService.notifyWarning(`Can't enter text mode: transformation to grammar text failed. Error: ${error.message}`);
|
|
662
|
+
this.applicationStore.alertService.setBlockingAlert(undefined);
|
|
663
|
+
return;
|
|
664
|
+
}
|
|
665
|
+
break;
|
|
666
|
+
}
|
|
667
|
+
case GRAPH_EDITOR_MODE.FORM: {
|
|
668
|
+
if (this.graphState.checkIfApplicationUpdateOperationIsRunning()) {
|
|
669
|
+
return;
|
|
670
|
+
}
|
|
671
|
+
try {
|
|
672
|
+
try {
|
|
673
|
+
yield flowResult(this.graphEditorMode.onLeave(fallbackOptions));
|
|
674
|
+
this.graphEditorMode = new GraphEditFormModeState(this);
|
|
675
|
+
yield flowResult(this.graphEditorMode.initialize());
|
|
676
|
+
}
|
|
677
|
+
catch (error) {
|
|
678
|
+
yield flowResult(this.graphEditorMode.handleCleanupFailure(error));
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
catch (error) {
|
|
682
|
+
assertErrorThrown(error);
|
|
683
|
+
this.applicationStore.logService.error(LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE), error);
|
|
684
|
+
}
|
|
685
|
+
finally {
|
|
686
|
+
this.graphState.isApplicationLeavingGraphEditMode = false;
|
|
687
|
+
this.applicationStore.alertService.setBlockingAlert(undefined);
|
|
688
|
+
this.changeDetectionState.workspaceLocalLatestRevisionState.currentEntityHashesIndex =
|
|
689
|
+
new Map();
|
|
690
|
+
}
|
|
691
|
+
break;
|
|
692
|
+
}
|
|
693
|
+
default:
|
|
694
|
+
throw new UnsupportedOperationError(`Editor does not support ${to} mode at the moment `);
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
getGraphEditorMode(clazz) {
|
|
698
|
+
return guaranteeType(this.graphEditorMode, clazz, `Graph editor mode is not of the specified type (this is likely caused by calling this method at the wrong place)`);
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
//# sourceMappingURL=EditorStore.js.map
|