@finos/legend-application-studio 23.0.0 → 23.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.js +1 -1
- package/lib/application/LegendStudio.js.map +1 -1
- 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/LegendStudioEvent.d.ts +12 -1
- package/lib/application/LegendStudioEvent.d.ts.map +1 -1
- package/lib/application/LegendStudioEvent.js +12 -0
- package/lib/application/LegendStudioEvent.js.map +1 -1
- package/lib/application/LegendStudioNavigation.d.ts +1 -2
- package/lib/application/LegendStudioNavigation.d.ts.map +1 -1
- package/lib/application/LegendStudioNavigation.js +1 -22
- package/lib/application/LegendStudioNavigation.js.map +1 -1
- package/lib/application/LegendStudioPluginManager.js +1 -1
- package/lib/application/LegendStudioPluginManager.js.map +1 -1
- 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 +3 -3
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +1 -1
- 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 +2 -2
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +1 -1
- 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 +1 -1
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/StatusBar.js +2 -2
- 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/Problems.js +1 -1
- package/lib/components/editor/aux-panel/Problems.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 +1 -1
- 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 +6 -6
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +4 -4
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +3 -3
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +1 -1
- 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 +5 -5
- 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 +3 -3
- 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 +2 -2
- 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 +3 -3
- 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 +5 -5
- 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 +7 -7
- 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/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 +7 -7
- 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 +6 -6
- 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 +4 -4
- 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 +13 -8
- 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 +1 -1
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 -1
- 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 +1 -1
- 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 +5 -5
- 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 +6 -6
- 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 +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +3 -3
- 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 +1 -1
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +1 -1
- 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 +3 -3
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +8 -8
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +6 -6
- 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 +3 -2
- 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 +4 -4
- 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 +4 -4
- 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 +1 -1
- 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 +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.d.ts.map +1 -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 +3 -3
- 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 +42 -42
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +41 -41
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.d.ts +4 -4
- 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 +1 -0
- 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.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.map +1 -0
- package/lib/stores/editor/EditorTabManagerState.js.map +1 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts.map +1 -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.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.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.map +1 -0
- package/lib/stores/editor/GraphEditorMode.js.map +1 -0
- package/lib/stores/editor/NewElementState.d.ts +3 -3
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +9 -9
- 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/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.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.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.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.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.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.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 +3 -4
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
- package/package.json +4 -4
- package/src/application/LegendStudio.tsx +1 -1
- package/src/application/LegendStudioEvent.ts +17 -0
- package/src/application/LegendStudioNavigation.ts +1 -42
- package/src/application/LegendStudioPluginManager.ts +1 -1
- package/src/components/EditorComponentTestUtils.tsx +3 -3
- package/src/components/EmbeddedQueryBuilder.tsx +1 -1
- package/src/components/LegendStudioApplication.tsx +8 -1
- package/src/components/editor/ActivityBar.tsx +5 -2
- package/src/components/editor/Editor.tsx +1 -1
- package/src/components/editor/EditorStoreProvider.tsx +1 -1
- package/src/components/editor/StatusBar.tsx +2 -2
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +1 -1
- package/src/components/editor/aux-panel/Problems.tsx +2 -2
- package/src/components/editor/edit-panel/EditPanel.tsx +19 -19
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +1 -1
- package/src/components/editor/edit-panel/FunctionEditor.tsx +7 -7
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -7
- package/src/components/editor/edit-panel/ModelImporter.tsx +2 -2
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +7 -7
- package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +1 -1
- 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 +6 -6
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +5 -5
- 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 +2 -2
- 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 -3
- 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 +6 -6
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +7 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +7 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +6 -6
- 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 +4 -4
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +32 -9
- 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 +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +3 -3
- package/src/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +3 -3
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +2 -2
- 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 +2 -2
- 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 +5 -5
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +6 -6
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +3 -3
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +3 -3
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +4 -4
- package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/UMLEditor.tsx +1 -1
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +8 -8
- package/src/components/editor/side-bar/Explorer.tsx +9 -9
- package/src/components/editor/side-bar/LocalChanges.tsx +6 -6
- package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +16 -20
- package/src/components/editor/side-bar/ProjectOverview.tsx +3 -2
- 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 +4 -4
- 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 +4 -4
- 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 +1 -1
- 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 +1 -1
- package/src/components/workspace-setup/WorkspaceSetup.tsx +3 -3
- package/src/index.ts +42 -41
- package/src/stores/LegendStudioApplicationPlugin.ts +7 -4
- package/src/stores/LegendStudioBaseStore.ts +1 -0
- 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/ExplorerTreeState.ts +548 -0
- package/src/stores/editor/GraphEditFormModeState.ts +605 -0
- package/src/stores/editor/GraphEditGrammarModeState.ts +512 -0
- package/src/stores/editor/NewElementState.ts +12 -12
- package/src/stores/editor/StandardEditorMode.ts +1 -1
- 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/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/ProjectViewerStore.ts +614 -0
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +4 -5
- package/tsconfig.json +114 -115
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +0 -27
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.js +0 -90
- 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 -151
- 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.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/Core_CodeSnippets.d.ts +0 -45
- package/lib/stores/Core_CodeSnippets.d.ts.map +0 -1
- package/lib/stores/Core_CodeSnippets.js +0 -322
- package/lib/stores/Core_CodeSnippets.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.map +0 -1
- package/lib/stores/EditorGraphState.js +0 -529
- 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 -135
- package/lib/stores/EditorStore.d.ts.map +0 -1
- package/lib/stores/EditorStore.js +0 -702
- 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 -53
- package/lib/stores/EditorStoreTestUtils.js.map +0 -1
- package/lib/stores/EditorTabManagerState.d.ts.map +0 -1
- package/lib/stores/EditorTabManagerState.js.map +0 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +0 -1
- 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/GraphEditFormModeState.d.ts.map +0 -1
- package/lib/stores/GraphEditFormModeState.js +0 -370
- package/lib/stores/GraphEditFormModeState.js.map +0 -1
- package/lib/stores/GraphEditGrammarModeState.d.ts.map +0 -1
- package/lib/stores/GraphEditGrammarModeState.js +0 -315
- package/lib/stores/GraphEditGrammarModeState.js.map +0 -1
- package/lib/stores/GraphEditorMode.d.ts.map +0 -1
- package/lib/stores/GraphEditorMode.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 -425
- 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.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.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 -483
- 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.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.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.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 -351
- 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.map +0 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +0 -544
- 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 -112
- package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +0 -453
- package/src/components/project-viewer/ProjectViewer.tsx +0 -353
- package/src/components/project-viewer/ProjectViewerStoreProvider.tsx +0 -56
- package/src/components/shared/MultiplicityBadge.tsx +0 -39
- 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 -841
- package/src/stores/EditorSDLCState.ts +0 -481
- package/src/stores/EditorStore.ts +0 -978
- package/src/stores/EditorStoreTestUtils.ts +0 -70
- package/src/stores/EditorTabManagerState.ts +0 -203
- package/src/stores/ExplorerTreeState.ts +0 -548
- package/src/stores/GraphEditFormModeState.ts +0 -605
- package/src/stores/GraphEditGrammarModeState.ts +0 -512
- 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 -201
- package/src/stores/editor-state/GraphGenerationState.ts +0 -560
- 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 -100
- 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 -644
- 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 -1512
- 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 -980
- 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/ProjectViewerStore.ts +0 -614
- 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 -877
- 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 -578
- 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/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}/ProjectSelectorUtils.js +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/{EditorGraphState.d.ts → editor/EditorGraphState.d.ts} +0 -0
- /package/lib/stores/{EditorSDLCState.d.ts → editor/EditorSDLCState.d.ts} +0 -0
- /package/lib/stores/{EditorTabManagerState.d.ts → editor/EditorTabManagerState.d.ts} +0 -0
- /package/lib/stores/{EditorTabManagerState.js → editor/EditorTabManagerState.js} +0 -0
- /package/lib/stores/{EmbeddedQueryBuilderState.d.ts → editor/EmbeddedQueryBuilderState.d.ts} +0 -0
- /package/lib/stores/{EmbeddedQueryBuilderState.js → editor/EmbeddedQueryBuilderState.js} +0 -0
- /package/lib/stores/{ExplorerTreeState.d.ts → editor/ExplorerTreeState.d.ts} +0 -0
- /package/lib/stores/{GraphEditFormModeState.d.ts → editor/GraphEditFormModeState.d.ts} +0 -0
- /package/lib/stores/{GraphEditGrammarModeState.d.ts → editor/GraphEditGrammarModeState.d.ts} +0 -0
- /package/lib/stores/{GraphEditorMode.d.ts → editor/GraphEditorMode.d.ts} +0 -0
- /package/lib/stores/{GraphEditorMode.js → editor/GraphEditorMode.js} +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/MappingEditorState.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/MappingExecutionQueryBuilderState.d.ts +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/MappingTestState.js +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/ServiceExecutionState.js +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}/LocalChangesState.d.ts +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/lib/stores/{project-viewer → project-view}/ProjectViewerEditorMode.js +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/Core_CodeSnippets.ts → application/LegendStudioCodeSnippet.ts} +0 -0
- /package/src/{components/LegendStudioTestID.ts → application/LegendStudioTesting.ts} +0 -0
- /package/src/components/{shared → workspace-setup}/ProjectSelectorUtils.tsx +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/{EmbeddedQueryBuilderState.ts → editor/EmbeddedQueryBuilderState.ts} +0 -0
- /package/src/stores/{GraphEditorMode.ts → editor/GraphEditorMode.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/MappingTestState.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/ServiceExecutionState.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
- /package/src/stores/{project-viewer → project-view}/ProjectViewerEditorMode.ts +0 -0
|
@@ -0,0 +1,876 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {
|
|
18
|
+
action,
|
|
19
|
+
makeObservable,
|
|
20
|
+
flowResult,
|
|
21
|
+
flow,
|
|
22
|
+
observable,
|
|
23
|
+
computed,
|
|
24
|
+
} from 'mobx';
|
|
25
|
+
import type { EditorStore } from '../EditorStore.js';
|
|
26
|
+
import type { EditorSDLCState } from '../EditorSDLCState.js';
|
|
27
|
+
import {
|
|
28
|
+
type GeneratorFn,
|
|
29
|
+
type PlainObject,
|
|
30
|
+
LogEvent,
|
|
31
|
+
assertErrorThrown,
|
|
32
|
+
downloadFileUsingDataURI,
|
|
33
|
+
guaranteeNonNullable,
|
|
34
|
+
ContentType,
|
|
35
|
+
NetworkClientError,
|
|
36
|
+
HttpStatus,
|
|
37
|
+
deleteEntry,
|
|
38
|
+
assertTrue,
|
|
39
|
+
readFileAsText,
|
|
40
|
+
ActionState,
|
|
41
|
+
formatDate,
|
|
42
|
+
} from '@finos/legend-shared';
|
|
43
|
+
import {
|
|
44
|
+
TAB_SIZE,
|
|
45
|
+
ActionAlertType,
|
|
46
|
+
ActionAlertActionType,
|
|
47
|
+
} from '@finos/legend-application';
|
|
48
|
+
import { EntityDiffViewState } from '../editor-state/entity-diff-editor-state/EntityDiffViewState.js';
|
|
49
|
+
import { SPECIAL_REVISION_ALIAS } from '../editor-state/entity-diff-editor-state/EntityDiffEditorState.js';
|
|
50
|
+
import type { Entity } from '@finos/legend-storage';
|
|
51
|
+
import {
|
|
52
|
+
type EntityChangeConflict,
|
|
53
|
+
EntityDiff,
|
|
54
|
+
EntityChange,
|
|
55
|
+
Revision,
|
|
56
|
+
EntityChangeType,
|
|
57
|
+
} from '@finos/legend-server-sdlc';
|
|
58
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../application/LegendStudioEvent.js';
|
|
59
|
+
import { WorkspaceSyncState } from './WorkspaceSyncState.js';
|
|
60
|
+
import { ACTIVITY_MODE } from '../EditorConfig.js';
|
|
61
|
+
import { EntityChangeConflictEditorState } from '../editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js';
|
|
62
|
+
import { DATE_TIME_FORMAT } from '@finos/legend-graph';
|
|
63
|
+
|
|
64
|
+
class PatchLoaderState {
|
|
65
|
+
readonly editorStore: EditorStore;
|
|
66
|
+
readonly sdlcState: EditorSDLCState;
|
|
67
|
+
|
|
68
|
+
changes: EntityChange[] | undefined;
|
|
69
|
+
currentChanges: EntityChange[] = [];
|
|
70
|
+
isLoadingChanges = false;
|
|
71
|
+
showModal = false;
|
|
72
|
+
isValidPatch = false;
|
|
73
|
+
|
|
74
|
+
constructor(editorStore: EditorStore, sdlcState: EditorSDLCState) {
|
|
75
|
+
makeObservable(this, {
|
|
76
|
+
changes: observable,
|
|
77
|
+
currentChanges: observable,
|
|
78
|
+
isLoadingChanges: observable,
|
|
79
|
+
showModal: observable,
|
|
80
|
+
isValidPatch: observable,
|
|
81
|
+
overiddingChanges: computed,
|
|
82
|
+
openModal: action,
|
|
83
|
+
closeModal: action,
|
|
84
|
+
setIsValidPatch: action,
|
|
85
|
+
setPatchChanges: action,
|
|
86
|
+
deleteChange: action,
|
|
87
|
+
loadPatchFile: flow,
|
|
88
|
+
applyChanges: flow,
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
this.editorStore = editorStore;
|
|
92
|
+
this.sdlcState = sdlcState;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
get overiddingChanges(): EntityChange[] {
|
|
96
|
+
if (this.changes?.length) {
|
|
97
|
+
return this.changes.filter((change) =>
|
|
98
|
+
this.currentChanges.find(
|
|
99
|
+
(local) => local.entityPath === change.entityPath,
|
|
100
|
+
),
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
return [];
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
openModal(localChanges: EntityChange[]): void {
|
|
107
|
+
this.currentChanges = localChanges;
|
|
108
|
+
this.showModal = true;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
closeModal(): void {
|
|
112
|
+
this.currentChanges = [];
|
|
113
|
+
this.setPatchChanges(undefined);
|
|
114
|
+
this.showModal = false;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
setIsValidPatch(val: boolean): void {
|
|
118
|
+
this.isValidPatch = val;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
setPatchChanges(changes: EntityChange[] | undefined): void {
|
|
122
|
+
this.changes = changes;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
deleteChange(change: EntityChange): void {
|
|
126
|
+
if (this.changes) {
|
|
127
|
+
deleteEntry(this.changes, change);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
*loadPatchFile(file: File): GeneratorFn<void> {
|
|
132
|
+
try {
|
|
133
|
+
this.setPatchChanges(undefined);
|
|
134
|
+
assertTrue(
|
|
135
|
+
file.type === ContentType.APPLICATION_JSON,
|
|
136
|
+
`Patch file expected to be of type 'JSON'`,
|
|
137
|
+
);
|
|
138
|
+
const fileText = (yield readFileAsText(file)) as string;
|
|
139
|
+
const entityChanges = JSON.parse(fileText) as {
|
|
140
|
+
entityChanges: PlainObject<EntityChange>[];
|
|
141
|
+
};
|
|
142
|
+
const changes = entityChanges.entityChanges.map((e) =>
|
|
143
|
+
EntityChange.serialization.fromJson(e),
|
|
144
|
+
);
|
|
145
|
+
this.setPatchChanges(changes);
|
|
146
|
+
this.setIsValidPatch(true);
|
|
147
|
+
} catch (error) {
|
|
148
|
+
assertErrorThrown(error);
|
|
149
|
+
this.setIsValidPatch(false);
|
|
150
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
151
|
+
`Can't load patch: Error: ${error.message}`,
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
*applyChanges(): GeneratorFn<void> {
|
|
157
|
+
if (this.changes?.length) {
|
|
158
|
+
try {
|
|
159
|
+
const changes = this.changes;
|
|
160
|
+
this.closeModal();
|
|
161
|
+
yield flowResult(
|
|
162
|
+
this.editorStore.graphState.loadEntityChangesToGraph(
|
|
163
|
+
changes,
|
|
164
|
+
undefined,
|
|
165
|
+
),
|
|
166
|
+
);
|
|
167
|
+
} catch (error) {
|
|
168
|
+
assertErrorThrown(error);
|
|
169
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
170
|
+
`Can't apply patch changes: Error: ${error.message}`,
|
|
171
|
+
);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export abstract class LocalChangesState {
|
|
178
|
+
readonly editorStore: EditorStore;
|
|
179
|
+
readonly sdlcState: EditorSDLCState;
|
|
180
|
+
readonly workspaceSyncState: WorkspaceSyncState;
|
|
181
|
+
readonly pushChangesState = ActionState.create();
|
|
182
|
+
readonly refreshLocalChangesDetectorState = ActionState.create();
|
|
183
|
+
readonly refreshWorkspaceSyncStatusState = ActionState.create();
|
|
184
|
+
readonly patchLoaderState: PatchLoaderState;
|
|
185
|
+
|
|
186
|
+
constructor(editorStore: EditorStore, sdlcState: EditorSDLCState) {
|
|
187
|
+
makeObservable(this, {
|
|
188
|
+
hasUnpushedChanges: computed,
|
|
189
|
+
refreshWorkspaceSyncStatus: flow,
|
|
190
|
+
refreshLocalChanges: flow,
|
|
191
|
+
pushLocalChanges: flow,
|
|
192
|
+
processConflicts: flow,
|
|
193
|
+
restartChangeDetection: flow,
|
|
194
|
+
});
|
|
195
|
+
|
|
196
|
+
this.editorStore = editorStore;
|
|
197
|
+
this.sdlcState = sdlcState;
|
|
198
|
+
this.patchLoaderState = new PatchLoaderState(editorStore, sdlcState);
|
|
199
|
+
this.workspaceSyncState = new WorkspaceSyncState(editorStore, sdlcState);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
get hasUnpushedChanges(): boolean {
|
|
203
|
+
return Boolean(
|
|
204
|
+
this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState
|
|
205
|
+
.changes.length,
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
downloadLocalChanges(): void {
|
|
210
|
+
const fileName = `entityChanges_(${this.sdlcState.currentProject?.name}_${
|
|
211
|
+
this.sdlcState.activeWorkspace.workspaceId
|
|
212
|
+
})_${formatDate(new Date(Date.now()), DATE_TIME_FORMAT)}.json`;
|
|
213
|
+
const content = JSON.stringify(
|
|
214
|
+
{
|
|
215
|
+
message: '', // TODO?
|
|
216
|
+
entityChanges: this.computeLocalEntityChanges(),
|
|
217
|
+
revisionId: this.sdlcState.activeRevision.id,
|
|
218
|
+
},
|
|
219
|
+
undefined,
|
|
220
|
+
TAB_SIZE,
|
|
221
|
+
);
|
|
222
|
+
downloadFileUsingDataURI(fileName, content, ContentType.APPLICATION_JSON);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
alertUnsavedChanges(onProceed: () => void): void {
|
|
226
|
+
if (this.hasUnpushedChanges) {
|
|
227
|
+
this.editorStore.applicationStore.alertService.setActionAlertInfo({
|
|
228
|
+
message:
|
|
229
|
+
'Unsaved changes will be lost if you continue. Do you still want to proceed?',
|
|
230
|
+
type: ActionAlertType.CAUTION,
|
|
231
|
+
actions: [
|
|
232
|
+
{
|
|
233
|
+
label: 'Proceed',
|
|
234
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
235
|
+
handler: (): void => onProceed(),
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
label: 'Abort',
|
|
239
|
+
type: ActionAlertActionType.PROCEED,
|
|
240
|
+
default: true,
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
});
|
|
244
|
+
} else {
|
|
245
|
+
onProceed();
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
*refreshWorkspaceSyncStatus(): GeneratorFn<void> {
|
|
250
|
+
try {
|
|
251
|
+
this.refreshWorkspaceSyncStatusState.inProgress();
|
|
252
|
+
const currentRemoteRevision =
|
|
253
|
+
this.sdlcState.activeRemoteWorkspaceRevision;
|
|
254
|
+
yield flowResult(
|
|
255
|
+
this.sdlcState.fetchRemoteWorkspaceRevision(
|
|
256
|
+
this.sdlcState.activeProject.projectId,
|
|
257
|
+
this.sdlcState.activeWorkspace,
|
|
258
|
+
),
|
|
259
|
+
);
|
|
260
|
+
if (
|
|
261
|
+
currentRemoteRevision.id !==
|
|
262
|
+
this.sdlcState.activeRemoteWorkspaceRevision.id
|
|
263
|
+
) {
|
|
264
|
+
if (this.sdlcState.isWorkspaceOutOfSync) {
|
|
265
|
+
this.workspaceSyncState.fetchIncomingRevisions();
|
|
266
|
+
const remoteWorkspaceEntities =
|
|
267
|
+
(yield this.editorStore.sdlcServerClient.getEntitiesByRevision(
|
|
268
|
+
this.sdlcState.activeProject.projectId,
|
|
269
|
+
this.sdlcState.activeWorkspace,
|
|
270
|
+
this.sdlcState.activeRemoteWorkspaceRevision.id,
|
|
271
|
+
)) as Entity[];
|
|
272
|
+
this.editorStore.changeDetectionState.workspaceRemoteLatestRevisionState.setEntities(
|
|
273
|
+
remoteWorkspaceEntities,
|
|
274
|
+
);
|
|
275
|
+
yield flowResult(
|
|
276
|
+
this.editorStore.changeDetectionState.workspaceRemoteLatestRevisionState.buildEntityHashesIndex(
|
|
277
|
+
remoteWorkspaceEntities,
|
|
278
|
+
LogEvent.create(
|
|
279
|
+
LEGEND_STUDIO_APP_EVENT.CHANGE_DETECTION_BUILD_LOCAL_HASHES_INDEX__SUCCESS,
|
|
280
|
+
),
|
|
281
|
+
),
|
|
282
|
+
);
|
|
283
|
+
yield flowResult(
|
|
284
|
+
this.editorStore.changeDetectionState.computeAggregatedWorkspaceRemoteChanges(),
|
|
285
|
+
);
|
|
286
|
+
} else {
|
|
287
|
+
this.editorStore.changeDetectionState.workspaceRemoteLatestRevisionState.setEntities(
|
|
288
|
+
[],
|
|
289
|
+
);
|
|
290
|
+
this.editorStore.changeDetectionState.setPotentialWorkspacePullConflicts(
|
|
291
|
+
[],
|
|
292
|
+
);
|
|
293
|
+
this.editorStore.changeDetectionState.setAggregatedWorkspaceRemoteChanges(
|
|
294
|
+
[],
|
|
295
|
+
);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
} catch (error) {
|
|
299
|
+
assertErrorThrown(error);
|
|
300
|
+
this.editorStore.applicationStore.logService.error(
|
|
301
|
+
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
302
|
+
error,
|
|
303
|
+
);
|
|
304
|
+
} finally {
|
|
305
|
+
this.refreshWorkspaceSyncStatusState.complete();
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
abstract refreshLocalChanges(): GeneratorFn<void>;
|
|
310
|
+
|
|
311
|
+
abstract processConflicts(): GeneratorFn<void>;
|
|
312
|
+
|
|
313
|
+
abstract getCurrentHashIndexes(): Map<string, string>;
|
|
314
|
+
|
|
315
|
+
abstract stopChangeDetection(): void;
|
|
316
|
+
|
|
317
|
+
abstract restartChangeDetection(): GeneratorFn<void>;
|
|
318
|
+
|
|
319
|
+
abstract computeLocalEntityChanges(): EntityChange[];
|
|
320
|
+
|
|
321
|
+
*pushLocalChanges(pushMessage?: string): GeneratorFn<void> {
|
|
322
|
+
if (
|
|
323
|
+
this.pushChangesState.isInProgress ||
|
|
324
|
+
this.editorStore.workspaceUpdaterState.isUpdatingWorkspace
|
|
325
|
+
) {
|
|
326
|
+
return;
|
|
327
|
+
}
|
|
328
|
+
// check if the workspace is in conflict resolution mode
|
|
329
|
+
yield flowResult(this.processConflicts());
|
|
330
|
+
|
|
331
|
+
this.pushChangesState.inProgress();
|
|
332
|
+
const startTime = Date.now();
|
|
333
|
+
const localChanges = this.computeLocalEntityChanges();
|
|
334
|
+
if (!localChanges.length) {
|
|
335
|
+
this.pushChangesState.complete();
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
yield flowResult(
|
|
339
|
+
this.sdlcState.fetchRemoteWorkspaceRevision(
|
|
340
|
+
this.sdlcState.activeProject.projectId,
|
|
341
|
+
this.sdlcState.activeWorkspace,
|
|
342
|
+
),
|
|
343
|
+
);
|
|
344
|
+
if (this.sdlcState.isWorkspaceOutOfSync) {
|
|
345
|
+
// ensure changes/conflicts have been computed for latest remote version
|
|
346
|
+
const remoteWorkspaceEntities =
|
|
347
|
+
(yield this.editorStore.sdlcServerClient.getEntitiesByRevision(
|
|
348
|
+
this.sdlcState.activeProject.projectId,
|
|
349
|
+
this.sdlcState.activeWorkspace,
|
|
350
|
+
this.sdlcState.activeRemoteWorkspaceRevision.id,
|
|
351
|
+
)) as Entity[];
|
|
352
|
+
this.editorStore.changeDetectionState.workspaceRemoteLatestRevisionState.setEntities(
|
|
353
|
+
remoteWorkspaceEntities,
|
|
354
|
+
);
|
|
355
|
+
yield flowResult(
|
|
356
|
+
this.editorStore.changeDetectionState.workspaceRemoteLatestRevisionState.buildEntityHashesIndex(
|
|
357
|
+
remoteWorkspaceEntities,
|
|
358
|
+
LogEvent.create(
|
|
359
|
+
LEGEND_STUDIO_APP_EVENT.CHANGE_DETECTION_BUILD_LOCAL_HASHES_INDEX__SUCCESS,
|
|
360
|
+
),
|
|
361
|
+
),
|
|
362
|
+
);
|
|
363
|
+
yield flowResult(
|
|
364
|
+
this.editorStore.changeDetectionState.computeAggregatedWorkspaceRemoteChanges(),
|
|
365
|
+
);
|
|
366
|
+
this.editorStore.applicationStore.alertService.setActionAlertInfo({
|
|
367
|
+
message: 'Local workspace is out-of-sync',
|
|
368
|
+
prompt: 'Please pull remote changes before pushing your local changes',
|
|
369
|
+
type: ActionAlertType.CAUTION,
|
|
370
|
+
actions: [
|
|
371
|
+
{
|
|
372
|
+
label: 'Pull remote changes',
|
|
373
|
+
type: ActionAlertActionType.STANDARD,
|
|
374
|
+
default: true,
|
|
375
|
+
handler: (): void => {
|
|
376
|
+
this.editorStore.setActiveActivity(ACTIVITY_MODE.LOCAL_CHANGES);
|
|
377
|
+
flowResult(this.workspaceSyncState.pullChanges()).catch(
|
|
378
|
+
this.editorStore.applicationStore.alertUnhandledError,
|
|
379
|
+
);
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
label: 'Cancel',
|
|
384
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
385
|
+
},
|
|
386
|
+
],
|
|
387
|
+
});
|
|
388
|
+
this.pushChangesState.complete();
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
const currentHashesIndex = this.getCurrentHashIndexes();
|
|
392
|
+
|
|
393
|
+
try {
|
|
394
|
+
const nullableRevisionChange =
|
|
395
|
+
(yield this.editorStore.sdlcServerClient.performEntityChanges(
|
|
396
|
+
this.sdlcState.activeProject.projectId,
|
|
397
|
+
this.sdlcState.activeWorkspace,
|
|
398
|
+
{
|
|
399
|
+
message:
|
|
400
|
+
pushMessage ??
|
|
401
|
+
`pushed new changes from ${
|
|
402
|
+
this.editorStore.applicationStore.config.appName
|
|
403
|
+
} [potentially affected ${
|
|
404
|
+
localChanges.length === 1
|
|
405
|
+
? '1 entity'
|
|
406
|
+
: `${localChanges.length} entities`
|
|
407
|
+
}]`,
|
|
408
|
+
entityChanges: localChanges,
|
|
409
|
+
revisionId: this.sdlcState.activeRevision.id,
|
|
410
|
+
},
|
|
411
|
+
)) as PlainObject<Revision> | undefined;
|
|
412
|
+
const revisionChange = guaranteeNonNullable(
|
|
413
|
+
nullableRevisionChange,
|
|
414
|
+
`Can't push an empty change set. This may be due to an error with change detection`,
|
|
415
|
+
);
|
|
416
|
+
const latestRevision = Revision.serialization.fromJson(revisionChange);
|
|
417
|
+
this.sdlcState.setCurrentRevision(latestRevision); // update current revision to the latest
|
|
418
|
+
this.sdlcState.setWorkspaceLatestRevision(latestRevision);
|
|
419
|
+
const syncFinishedTime = Date.now();
|
|
420
|
+
|
|
421
|
+
this.editorStore.applicationStore.logService.info(
|
|
422
|
+
LogEvent.create(LEGEND_STUDIO_APP_EVENT.PUSH_LOCAL_CHANGES__SUCCESS),
|
|
423
|
+
syncFinishedTime - startTime,
|
|
424
|
+
'ms',
|
|
425
|
+
);
|
|
426
|
+
|
|
427
|
+
// ======= (RE)START CHANGE DETECTION =======
|
|
428
|
+
|
|
429
|
+
this.stopChangeDetection();
|
|
430
|
+
|
|
431
|
+
try {
|
|
432
|
+
/**
|
|
433
|
+
* Here we try to rebuild local hash index. If failed, we will use local hash index, but for veracity, it's best to use entities
|
|
434
|
+
* coming from the server.
|
|
435
|
+
*/
|
|
436
|
+
const entities =
|
|
437
|
+
(yield this.editorStore.sdlcServerClient.getEntitiesByRevision(
|
|
438
|
+
this.sdlcState.activeProject.projectId,
|
|
439
|
+
this.sdlcState.activeWorkspace,
|
|
440
|
+
latestRevision.id,
|
|
441
|
+
)) as Entity[];
|
|
442
|
+
this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.setEntities(
|
|
443
|
+
entities,
|
|
444
|
+
);
|
|
445
|
+
yield flowResult(
|
|
446
|
+
this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.buildEntityHashesIndex(
|
|
447
|
+
entities,
|
|
448
|
+
LogEvent.create(
|
|
449
|
+
LEGEND_STUDIO_APP_EVENT.CHANGE_DETECTION_BUILD_LOCAL_HASHES_INDEX__SUCCESS,
|
|
450
|
+
),
|
|
451
|
+
),
|
|
452
|
+
);
|
|
453
|
+
this.editorStore.tabManagerState.refreshCurrentEntityDiffViewer();
|
|
454
|
+
} catch (error) {
|
|
455
|
+
assertErrorThrown(error);
|
|
456
|
+
/**
|
|
457
|
+
* NOTE: there is a known problem with the SDLC server where if we try to fetch the entities right after syncing, there is a chance
|
|
458
|
+
* that we get entities from the older commit (i.e. potentially some caching issue). As such, to account for this case, we will
|
|
459
|
+
* not try to get entities for the workspace HEAD, but for the revision returned from the syncing call (i.e. this must be the latest revision)
|
|
460
|
+
* if we get a 404, we will do a refresh and warn user about this. Otherwise, if we get other types of error, we will assume this is a network
|
|
461
|
+
* failure and use local workspace hashes index
|
|
462
|
+
*/
|
|
463
|
+
if (error instanceof NetworkClientError) {
|
|
464
|
+
if (error.response.status === HttpStatus.NOT_FOUND) {
|
|
465
|
+
this.editorStore.applicationStore.logService.error(
|
|
466
|
+
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
467
|
+
`Can't fetch entities for the latest workspace revision immediately after syncing`,
|
|
468
|
+
error,
|
|
469
|
+
);
|
|
470
|
+
}
|
|
471
|
+
this.editorStore.applicationStore.alertService.setActionAlertInfo({
|
|
472
|
+
message: `Change detection engine failed to build hashes index for workspace after syncing`,
|
|
473
|
+
prompt:
|
|
474
|
+
'To fix this, you can either try to keep refreshing local changes until success or trust and reuse current workspace hashes index',
|
|
475
|
+
type: ActionAlertType.CAUTION,
|
|
476
|
+
actions: [
|
|
477
|
+
{
|
|
478
|
+
label: 'Use local hashes index',
|
|
479
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
480
|
+
handler: (): void => {
|
|
481
|
+
this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.setEntityHashesIndex(
|
|
482
|
+
currentHashesIndex,
|
|
483
|
+
);
|
|
484
|
+
this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.setIsBuildingEntityHashesIndex(
|
|
485
|
+
false,
|
|
486
|
+
);
|
|
487
|
+
},
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
label: 'Refresh changes',
|
|
491
|
+
type: ActionAlertActionType.STANDARD,
|
|
492
|
+
default: true,
|
|
493
|
+
handler: this.editorStore.applicationStore.guardUnhandledError(
|
|
494
|
+
() => flowResult(this.refreshLocalChanges()),
|
|
495
|
+
),
|
|
496
|
+
},
|
|
497
|
+
],
|
|
498
|
+
});
|
|
499
|
+
} else {
|
|
500
|
+
throw error;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
yield flowResult(this.restartChangeDetection());
|
|
504
|
+
this.editorStore.applicationStore.logService.info(
|
|
505
|
+
LogEvent.create(
|
|
506
|
+
LEGEND_STUDIO_APP_EVENT.CHANGE_DETECTION_RESTART__SUCCESS,
|
|
507
|
+
),
|
|
508
|
+
Date.now() - syncFinishedTime,
|
|
509
|
+
'ms',
|
|
510
|
+
);
|
|
511
|
+
// ======= FINISHED (RE)START CHANGE DETECTION =======
|
|
512
|
+
} catch (error) {
|
|
513
|
+
assertErrorThrown(error);
|
|
514
|
+
this.editorStore.applicationStore.logService.error(
|
|
515
|
+
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
516
|
+
error,
|
|
517
|
+
);
|
|
518
|
+
if (
|
|
519
|
+
error instanceof NetworkClientError &&
|
|
520
|
+
error.response.status === HttpStatus.CONFLICT
|
|
521
|
+
) {
|
|
522
|
+
// NOTE: a confict here indicates that the reference revision ID sent along with update call
|
|
523
|
+
// does not match the HEAD of the workspace, therefore, we need to prompt user to refresh the application
|
|
524
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
525
|
+
'Syncing failed. Current workspace revision is not the latest. Please backup your work and refresh the application',
|
|
526
|
+
);
|
|
527
|
+
// TODO: maybe we should do more here, e.g. prompt the user to download the patch, but that is for later
|
|
528
|
+
} else {
|
|
529
|
+
this.editorStore.applicationStore.notificationService.notifyError(
|
|
530
|
+
error,
|
|
531
|
+
);
|
|
532
|
+
}
|
|
533
|
+
} finally {
|
|
534
|
+
this.pushChangesState.complete();
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export class FormLocalChangesState extends LocalChangesState {
|
|
540
|
+
constructor(editorStore: EditorStore, sdlcState: EditorSDLCState) {
|
|
541
|
+
super(editorStore, sdlcState);
|
|
542
|
+
makeObservable(this, {
|
|
543
|
+
openPotentialWorkspacePullConflict: action,
|
|
544
|
+
});
|
|
545
|
+
}
|
|
546
|
+
openLocalChange(diff: EntityDiff): void {
|
|
547
|
+
const fromEntityGetter = (
|
|
548
|
+
entityPath: string | undefined,
|
|
549
|
+
): Entity | undefined => {
|
|
550
|
+
if (entityPath) {
|
|
551
|
+
return this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.entities.find(
|
|
552
|
+
(e) => e.path === entityPath,
|
|
553
|
+
);
|
|
554
|
+
}
|
|
555
|
+
return undefined;
|
|
556
|
+
};
|
|
557
|
+
const toEntityGetter = (
|
|
558
|
+
entityPath: string | undefined,
|
|
559
|
+
): Entity | undefined => {
|
|
560
|
+
if (!entityPath) {
|
|
561
|
+
return undefined;
|
|
562
|
+
}
|
|
563
|
+
const element =
|
|
564
|
+
this.editorStore.graphManagerState.graph.getNullableElement(entityPath);
|
|
565
|
+
if (!element) {
|
|
566
|
+
return undefined;
|
|
567
|
+
}
|
|
568
|
+
const entity =
|
|
569
|
+
this.editorStore.graphManagerState.graphManager.elementToEntity(
|
|
570
|
+
element,
|
|
571
|
+
{
|
|
572
|
+
pruneSourceInformation: true,
|
|
573
|
+
},
|
|
574
|
+
);
|
|
575
|
+
return entity;
|
|
576
|
+
};
|
|
577
|
+
const fromEntity = EntityDiff.shouldOldEntityExist(diff)
|
|
578
|
+
? guaranteeNonNullable(
|
|
579
|
+
fromEntityGetter(diff.getValidatedOldPath()),
|
|
580
|
+
`Can't find entity with path '${diff.oldPath}'`,
|
|
581
|
+
)
|
|
582
|
+
: undefined;
|
|
583
|
+
const toEntity = EntityDiff.shouldNewEntityExist(diff)
|
|
584
|
+
? guaranteeNonNullable(
|
|
585
|
+
toEntityGetter(diff.getValidatedNewPath()),
|
|
586
|
+
`Can't find entity with path '${diff.newPath}'`,
|
|
587
|
+
)
|
|
588
|
+
: undefined;
|
|
589
|
+
this.editorStore.tabManagerState.openTab(
|
|
590
|
+
new EntityDiffViewState(
|
|
591
|
+
this.editorStore,
|
|
592
|
+
SPECIAL_REVISION_ALIAS.WORKSPACE_HEAD,
|
|
593
|
+
SPECIAL_REVISION_ALIAS.LOCAL,
|
|
594
|
+
diff.oldPath,
|
|
595
|
+
diff.newPath,
|
|
596
|
+
fromEntity,
|
|
597
|
+
toEntity,
|
|
598
|
+
fromEntityGetter,
|
|
599
|
+
toEntityGetter,
|
|
600
|
+
),
|
|
601
|
+
);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
openWorkspacePullChange(diff: EntityDiff): void {
|
|
605
|
+
const fromEntityGetter = (
|
|
606
|
+
entityPath: string | undefined,
|
|
607
|
+
): Entity | undefined => {
|
|
608
|
+
if (entityPath) {
|
|
609
|
+
return this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.entities.find(
|
|
610
|
+
(e) => e.path === entityPath,
|
|
611
|
+
);
|
|
612
|
+
}
|
|
613
|
+
return undefined;
|
|
614
|
+
};
|
|
615
|
+
const toEntityGetter = (
|
|
616
|
+
entityPath: string | undefined,
|
|
617
|
+
): Entity | undefined => {
|
|
618
|
+
if (entityPath) {
|
|
619
|
+
return this.editorStore.changeDetectionState.workspaceRemoteLatestRevisionState.entities.find(
|
|
620
|
+
(e) => e.path === entityPath,
|
|
621
|
+
);
|
|
622
|
+
}
|
|
623
|
+
return undefined;
|
|
624
|
+
};
|
|
625
|
+
const fromEntity = EntityDiff.shouldOldEntityExist(diff)
|
|
626
|
+
? guaranteeNonNullable(
|
|
627
|
+
fromEntityGetter(diff.getValidatedOldPath()),
|
|
628
|
+
`Can't find entity with path '${diff.oldPath}'`,
|
|
629
|
+
)
|
|
630
|
+
: undefined;
|
|
631
|
+
const toEntity = EntityDiff.shouldNewEntityExist(diff)
|
|
632
|
+
? guaranteeNonNullable(
|
|
633
|
+
toEntityGetter(diff.getValidatedNewPath()),
|
|
634
|
+
`Can't find entity with path '${diff.newPath}'`,
|
|
635
|
+
)
|
|
636
|
+
: undefined;
|
|
637
|
+
this.editorStore.tabManagerState.openTab(
|
|
638
|
+
new EntityDiffViewState(
|
|
639
|
+
this.editorStore,
|
|
640
|
+
SPECIAL_REVISION_ALIAS.LOCAL,
|
|
641
|
+
SPECIAL_REVISION_ALIAS.WORKSPACE_HEAD,
|
|
642
|
+
diff.oldPath,
|
|
643
|
+
diff.newPath,
|
|
644
|
+
fromEntity,
|
|
645
|
+
toEntity,
|
|
646
|
+
fromEntityGetter,
|
|
647
|
+
toEntityGetter,
|
|
648
|
+
),
|
|
649
|
+
);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
openPotentialWorkspacePullConflict(conflict: EntityChangeConflict): void {
|
|
653
|
+
const baseEntityGetter = (
|
|
654
|
+
entityPath: string | undefined,
|
|
655
|
+
): Entity | undefined =>
|
|
656
|
+
entityPath
|
|
657
|
+
? this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState.entities.find(
|
|
658
|
+
(e) => e.path === entityPath,
|
|
659
|
+
)
|
|
660
|
+
: undefined;
|
|
661
|
+
const currentChangeEntityGetter = (
|
|
662
|
+
entityPath: string | undefined,
|
|
663
|
+
): Entity | undefined =>
|
|
664
|
+
entityPath
|
|
665
|
+
? this.editorStore.graphManagerState.graph.allOwnElements
|
|
666
|
+
.map((element) =>
|
|
667
|
+
this.editorStore.graphManagerState.graphManager.elementToEntity(
|
|
668
|
+
element,
|
|
669
|
+
),
|
|
670
|
+
)
|
|
671
|
+
.find((e) => e.path === entityPath)
|
|
672
|
+
: undefined;
|
|
673
|
+
const incomingChangeEntityGetter = (
|
|
674
|
+
entityPath: string | undefined,
|
|
675
|
+
): Entity | undefined =>
|
|
676
|
+
entityPath
|
|
677
|
+
? this.editorStore.changeDetectionState.workspaceRemoteLatestRevisionState.entities.find(
|
|
678
|
+
(e) => e.path === entityPath,
|
|
679
|
+
)
|
|
680
|
+
: undefined;
|
|
681
|
+
const conflictEditorState = new EntityChangeConflictEditorState(
|
|
682
|
+
this.editorStore,
|
|
683
|
+
this.editorStore.conflictResolutionState,
|
|
684
|
+
conflict.entityPath,
|
|
685
|
+
SPECIAL_REVISION_ALIAS.WORKSPACE_BASE,
|
|
686
|
+
SPECIAL_REVISION_ALIAS.LOCAL,
|
|
687
|
+
SPECIAL_REVISION_ALIAS.WORKSPACE_HEAD,
|
|
688
|
+
baseEntityGetter(conflict.entityPath),
|
|
689
|
+
currentChangeEntityGetter(conflict.entityPath),
|
|
690
|
+
incomingChangeEntityGetter(conflict.entityPath),
|
|
691
|
+
baseEntityGetter,
|
|
692
|
+
currentChangeEntityGetter,
|
|
693
|
+
incomingChangeEntityGetter,
|
|
694
|
+
);
|
|
695
|
+
conflictEditorState.setReadOnly(true);
|
|
696
|
+
this.editorStore.tabManagerState.openTab(conflictEditorState);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
*refreshLocalChanges(): GeneratorFn<void> {
|
|
700
|
+
const startTime = Date.now();
|
|
701
|
+
this.refreshLocalChangesDetectorState.inProgress();
|
|
702
|
+
try {
|
|
703
|
+
// ======= (RE)START CHANGE DETECTION =======
|
|
704
|
+
this.editorStore.changeDetectionState.stop();
|
|
705
|
+
yield Promise.all([
|
|
706
|
+
this.sdlcState.buildWorkspaceLatestRevisionEntityHashesIndex(),
|
|
707
|
+
this.editorStore.changeDetectionState.preComputeGraphElementHashes(),
|
|
708
|
+
]);
|
|
709
|
+
this.editorStore.changeDetectionState.start();
|
|
710
|
+
this.editorStore.applicationStore.logService.info(
|
|
711
|
+
LogEvent.create(
|
|
712
|
+
LEGEND_STUDIO_APP_EVENT.CHANGE_DETECTION_RESTART__SUCCESS,
|
|
713
|
+
),
|
|
714
|
+
Date.now() - startTime,
|
|
715
|
+
'ms',
|
|
716
|
+
);
|
|
717
|
+
// ======= FINISHED (RE)START CHANGE DETECTION =======
|
|
718
|
+
} catch (error) {
|
|
719
|
+
assertErrorThrown(error);
|
|
720
|
+
this.editorStore.applicationStore.logService.error(
|
|
721
|
+
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
722
|
+
error,
|
|
723
|
+
);
|
|
724
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
725
|
+
this.sdlcState.handleChangeDetectionRefreshIssue(error);
|
|
726
|
+
} finally {
|
|
727
|
+
this.refreshLocalChangesDetectorState.complete();
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
*processConflicts(): GeneratorFn<void> {
|
|
732
|
+
try {
|
|
733
|
+
const isInConflictResolutionMode = (yield flowResult(
|
|
734
|
+
this.sdlcState.checkIfCurrentWorkspaceIsInConflictResolutionMode(),
|
|
735
|
+
)) as boolean;
|
|
736
|
+
if (isInConflictResolutionMode) {
|
|
737
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
738
|
+
message: 'Workspace is in conflict resolution mode',
|
|
739
|
+
prompt: 'Please refresh the application',
|
|
740
|
+
});
|
|
741
|
+
return;
|
|
742
|
+
}
|
|
743
|
+
} catch (error) {
|
|
744
|
+
assertErrorThrown(error);
|
|
745
|
+
this.editorStore.applicationStore.notificationService.notifyWarning(
|
|
746
|
+
'Failed to check if current workspace is in conflict resolution mode',
|
|
747
|
+
);
|
|
748
|
+
return;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* Get entitiy changes to prepare for syncing
|
|
754
|
+
*/
|
|
755
|
+
computeLocalEntityChanges(): EntityChange[] {
|
|
756
|
+
const baseHashesIndex = this.editorStore.isInConflictResolutionMode
|
|
757
|
+
? this.editorStore.changeDetectionState
|
|
758
|
+
.conflictResolutionHeadRevisionState.entityHashesIndex
|
|
759
|
+
: this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState
|
|
760
|
+
.entityHashesIndex;
|
|
761
|
+
const originalPaths = new Set(Array.from(baseHashesIndex.keys()));
|
|
762
|
+
const entityChanges: EntityChange[] = [];
|
|
763
|
+
this.editorStore.graphManagerState.graph.allOwnElements.forEach(
|
|
764
|
+
(element) => {
|
|
765
|
+
const elementPath = element.path;
|
|
766
|
+
if (baseHashesIndex.get(elementPath) !== element.hashCode) {
|
|
767
|
+
const entity =
|
|
768
|
+
this.editorStore.graphManagerState.graphManager.elementToEntity(
|
|
769
|
+
element,
|
|
770
|
+
{
|
|
771
|
+
pruneSourceInformation: true,
|
|
772
|
+
},
|
|
773
|
+
);
|
|
774
|
+
entityChanges.push({
|
|
775
|
+
classifierPath: entity.classifierPath,
|
|
776
|
+
entityPath: element.path,
|
|
777
|
+
content: entity.content,
|
|
778
|
+
type:
|
|
779
|
+
baseHashesIndex.get(elementPath) !== undefined
|
|
780
|
+
? EntityChangeType.MODIFY
|
|
781
|
+
: EntityChangeType.CREATE,
|
|
782
|
+
});
|
|
783
|
+
}
|
|
784
|
+
originalPaths.delete(elementPath);
|
|
785
|
+
},
|
|
786
|
+
);
|
|
787
|
+
Array.from(originalPaths).forEach((path) => {
|
|
788
|
+
entityChanges.push({
|
|
789
|
+
type: EntityChangeType.DELETE,
|
|
790
|
+
entityPath: path,
|
|
791
|
+
});
|
|
792
|
+
});
|
|
793
|
+
return entityChanges;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
getCurrentHashIndexes(): Map<string, string> {
|
|
797
|
+
return this.editorStore.changeDetectionState.snapshotLocalEntityHashesIndex();
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
stopChangeDetection(): void {
|
|
801
|
+
this.editorStore.changeDetectionState.stop();
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
*restartChangeDetection(): GeneratorFn<void> {
|
|
805
|
+
yield this.editorStore.changeDetectionState.preComputeGraphElementHashes();
|
|
806
|
+
this.editorStore.changeDetectionState.start();
|
|
807
|
+
yield Promise.all([
|
|
808
|
+
this.editorStore.changeDetectionState.computeAggregatedWorkspaceChanges(
|
|
809
|
+
true,
|
|
810
|
+
),
|
|
811
|
+
]);
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
export class TextLocalChangesState extends LocalChangesState {
|
|
816
|
+
localChanges: EntityChange[] = [];
|
|
817
|
+
|
|
818
|
+
constructor(editorStore: EditorStore, sdlcState: EditorSDLCState) {
|
|
819
|
+
super(editorStore, sdlcState);
|
|
820
|
+
makeObservable(this, {
|
|
821
|
+
setLocalChanges: action,
|
|
822
|
+
});
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
setLocalChanges(val: EntityChange[]): void {
|
|
826
|
+
this.localChanges = val;
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
*refreshLocalChanges(): GeneratorFn<void> {
|
|
830
|
+
this.refreshLocalChangesDetectorState.inProgress();
|
|
831
|
+
try {
|
|
832
|
+
yield Promise.all([
|
|
833
|
+
this.sdlcState.buildWorkspaceLatestRevisionEntityHashesIndex(),
|
|
834
|
+
this.editorStore.changeDetectionState.preComputeGraphElementHashes(),
|
|
835
|
+
]);
|
|
836
|
+
this.editorStore.changeDetectionState.computeLocalChangesInTextMode(
|
|
837
|
+
this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState
|
|
838
|
+
.entities,
|
|
839
|
+
);
|
|
840
|
+
} catch (error) {
|
|
841
|
+
assertErrorThrown(error);
|
|
842
|
+
this.editorStore.applicationStore.logService.error(
|
|
843
|
+
LogEvent.create(LEGEND_STUDIO_APP_EVENT.SDLC_MANAGER_FAILURE),
|
|
844
|
+
error,
|
|
845
|
+
);
|
|
846
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
847
|
+
this.sdlcState.handleChangeDetectionRefreshIssue(error);
|
|
848
|
+
} finally {
|
|
849
|
+
this.refreshLocalChangesDetectorState.complete();
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
*processConflicts(): GeneratorFn<void> {
|
|
854
|
+
return;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
getCurrentHashIndexes(): Map<string, string> {
|
|
858
|
+
return this.editorStore.changeDetectionState
|
|
859
|
+
.workspaceLocalLatestRevisionState.currentEntityHashesIndex;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
stopChangeDetection(): void {
|
|
863
|
+
this.localChanges = [];
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
computeLocalEntityChanges(): EntityChange[] {
|
|
867
|
+
return this.localChanges;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
*restartChangeDetection(): GeneratorFn<void> {
|
|
871
|
+
this.editorStore.changeDetectionState.computeLocalChangesInTextMode(
|
|
872
|
+
this.editorStore.changeDetectionState.workspaceLocalLatestRevisionState
|
|
873
|
+
.entities,
|
|
874
|
+
);
|
|
875
|
+
}
|
|
876
|
+
}
|