@finos/legend-application-studio 20.1.2 → 20.2.0
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/components/Core_LegendStudioApplicationPlugin.js +13 -13
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +4 -4
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.d.ts +2 -2
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.js +2 -2
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +19 -19
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.js +52 -73
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +5 -5
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +3 -3
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +3 -3
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +14 -14
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +4 -4
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts.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.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +3 -3
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- 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/diff-editor/EntityDiffView.js +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
- 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 +3 -3
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +1 -1
- 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_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/mapping-editor/ClassMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.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 +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +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 +11 -9
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +2 -2
- 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/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +5 -4
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js.map +1 -1
- 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 +10 -3
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +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 +8 -8
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.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.d.ts.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/Explorer.js +5 -5
- 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/WorkspaceReview.js +4 -4
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +6 -6
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +6 -6
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.js +16 -16
- package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js +4 -4
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/EditorGraphState.d.ts +1 -1
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +24 -44
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorSDLCState.js +3 -3
- package/lib/stores/EditorSDLCState.js.map +1 -1
- package/lib/stores/EditorStore.d.ts +19 -42
- package/lib/stores/EditorStore.d.ts.map +1 -1
- package/lib/stores/EditorStore.js +42 -223
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EditorTabManagerState.d.ts +56 -0
- package/lib/stores/EditorTabManagerState.d.ts.map +1 -0
- package/lib/stores/EditorTabManagerState.js +144 -0
- package/lib/stores/EditorTabManagerState.js.map +1 -0
- package/lib/stores/ExplorerTreeState.d.ts.map +1 -1
- package/lib/stores/ExplorerTreeState.js +1 -1
- package/lib/stores/ExplorerTreeState.js.map +1 -1
- package/lib/stores/LegendStudioDocumentation.d.ts +14 -14
- package/lib/stores/LegendStudioDocumentation.js +14 -14
- package/lib/stores/editor-state/EditorState.d.ts +7 -6
- package/lib/stores/editor-state/EditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/EditorState.js +3 -6
- package/lib/stores/editor-state/EditorState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts +5 -4
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts.map +1 -1
- package/lib/stores/editor-state/FileGenerationViewerState.js +11 -8
- package/lib/stores/editor-state/FileGenerationViewerState.js.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +10 -16
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts +2 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.js +4 -1
- package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts +2 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js +5 -2
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts +13 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +9 -2
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +1 -3
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +2 -3
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts +7 -6
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js +7 -3
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts +3 -2
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +6 -2
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts +19 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.js +19 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts +3 -2
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +6 -2
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts +7 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +21 -2
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts +5 -3
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +8 -4
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts +7 -5
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +19 -12
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/shared/DnDUtils.d.ts +1 -1
- package/lib/stores/shared/DnDUtils.d.ts.map +1 -1
- package/lib/stores/shared/DnDUtils.js.map +1 -1
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts +1 -0
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js +3 -0
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +4 -4
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts +6 -6
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +7 -7
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +2 -2
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/package.json +10 -10
- package/src/components/Core_LegendStudioApplicationPlugin.tsx +13 -13
- package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +4 -4
- package/src/components/DSL_ExternalFormat_LegendStudioDocumentation.ts +2 -2
- package/src/components/LegendStudioApplication.tsx +0 -3
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +4 -1
- package/src/components/editor/edit-panel/EditPanel.tsx +74 -181
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +5 -5
- package/src/components/editor/edit-panel/FunctionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +7 -5
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +16 -20
- package/src/components/editor/edit-panel/ModelImporter.tsx +1 -1
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +6 -9
- package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +4 -3
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +3 -3
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +4 -3
- package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +1 -1
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +6 -5
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +2 -1
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +14 -9
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +2 -2
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +4 -2
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +14 -4
- package/src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx +2 -1
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +47 -8
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +3 -2
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +12 -8
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +3 -2
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +2 -1
- 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 +2 -1
- package/src/components/editor/side-bar/Explorer.tsx +5 -5
- package/src/components/editor/side-bar/LocalChanges.tsx +6 -6
- package/src/components/editor/side-bar/WorkspaceReview.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +6 -6
- package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +6 -6
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +6 -6
- package/src/components/workspace-review/WorkspaceReviewPanel.tsx +20 -24
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +4 -4
- package/src/index.ts +1 -0
- package/src/stores/EditorGraphState.ts +39 -54
- package/src/stores/EditorSDLCState.ts +3 -3
- package/src/stores/EditorStore.ts +59 -303
- package/src/stores/EditorTabManagerState.ts +175 -0
- package/src/stores/ExplorerTreeState.ts +3 -1
- package/src/stores/LegendStudioDocumentation.ts +14 -14
- package/src/stores/editor-state/EditorState.ts +9 -8
- package/src/stores/editor-state/FileGenerationViewerState.ts +12 -8
- package/src/stores/editor-state/GraphGenerationState.ts +14 -26
- package/src/stores/editor-state/ModelImporterState.ts +5 -1
- package/src/stores/editor-state/ProjectConfigurationEditorState.ts +6 -2
- package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +23 -2
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +7 -8
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementState.ts +15 -6
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +7 -2
- package/src/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.ts +19 -0
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +7 -2
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +32 -0
- package/src/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +21 -4
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts +1 -1
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +28 -12
- package/src/stores/project-viewer/ProjectViewerStore.ts +1 -1
- package/src/stores/shared/DnDUtils.ts +1 -1
- package/src/stores/shared/modifier/DSL_Service_GraphModifierHelper.ts +6 -0
- package/src/stores/sidebar-state/LocalChangesState.ts +4 -4
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +1 -1
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +6 -6
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +7 -7
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +2 -2
- package/tsconfig.json +2 -0
|
@@ -309,7 +309,7 @@ export class EditorGraphState {
|
|
|
309
309
|
|
|
310
310
|
clearProblems(): void {
|
|
311
311
|
this.error = undefined;
|
|
312
|
-
this.editorStore.
|
|
312
|
+
this.editorStore.tabManagerState.tabs
|
|
313
313
|
.filter(filterByType(ElementEditorState))
|
|
314
314
|
.forEach((editorState) => editorState.clearCompilationError());
|
|
315
315
|
this.mostRecentFormModeCompilationGraphHash = undefined;
|
|
@@ -424,7 +424,9 @@ export class EditorGraphState {
|
|
|
424
424
|
projectConfigurationEditorState.setSelectedTab(
|
|
425
425
|
CONFIGURATION_EDITOR_TAB.PROJECT_DEPENDENCIES,
|
|
426
426
|
);
|
|
427
|
-
this.editorStore.
|
|
427
|
+
this.editorStore.tabManagerState.openTab(
|
|
428
|
+
projectConfigurationEditorState,
|
|
429
|
+
);
|
|
428
430
|
} else if (error instanceof GraphDataDeserializationError) {
|
|
429
431
|
// if something goes wrong with de-serialization, redirect to model importer to fix
|
|
430
432
|
this.redirectToModelImporterForDebugging(error);
|
|
@@ -501,7 +503,9 @@ export class EditorGraphState {
|
|
|
501
503
|
);
|
|
502
504
|
// Making an async call
|
|
503
505
|
nativeImporterState.loadCurrentProjectEntities();
|
|
504
|
-
this.editorStore.
|
|
506
|
+
this.editorStore.tabManagerState.openTab(
|
|
507
|
+
this.editorStore.modelImporterState,
|
|
508
|
+
);
|
|
505
509
|
}
|
|
506
510
|
|
|
507
511
|
/**
|
|
@@ -620,13 +624,14 @@ export class EditorGraphState {
|
|
|
620
624
|
false,
|
|
621
625
|
);
|
|
622
626
|
if (element) {
|
|
623
|
-
this.editorStore.
|
|
627
|
+
this.editorStore.tabManagerState.openElementEditor(element);
|
|
624
628
|
if (
|
|
625
|
-
this.editorStore.
|
|
629
|
+
this.editorStore.tabManagerState.currentTab instanceof
|
|
630
|
+
ElementEditorState
|
|
626
631
|
) {
|
|
627
632
|
// check if we can reveal the error in the element editor state
|
|
628
633
|
fallbackToTextModeForDebugging =
|
|
629
|
-
!this.editorStore.
|
|
634
|
+
!this.editorStore.tabManagerState.currentTab.revealCompilationError(
|
|
630
635
|
error,
|
|
631
636
|
);
|
|
632
637
|
}
|
|
@@ -801,8 +806,10 @@ export class EditorGraphState {
|
|
|
801
806
|
this.editorStore.grammarTextEditorState.setGraphGrammarText('');
|
|
802
807
|
this.editorStore.grammarTextEditorState.resetCurrentElementLabelRegexString();
|
|
803
808
|
this.editorStore.setGraphEditMode(GRAPH_EDITOR_MODE.FORM);
|
|
804
|
-
if (this.editorStore.
|
|
805
|
-
this.editorStore.
|
|
809
|
+
if (this.editorStore.tabManagerState.currentTab) {
|
|
810
|
+
this.editorStore.tabManagerState.openTab(
|
|
811
|
+
this.editorStore.tabManagerState.currentTab,
|
|
812
|
+
);
|
|
806
813
|
}
|
|
807
814
|
} catch (error) {
|
|
808
815
|
assertErrorThrown(error);
|
|
@@ -880,7 +887,7 @@ export class EditorGraphState {
|
|
|
880
887
|
* so far it is tempting to refer to elements in the graph from various editor state. On top of that, change detection
|
|
881
888
|
* sometimes obfuscate the investigation but we have cleared it out with explicit disposing of reaction
|
|
882
889
|
* 2. Reusable models, at this point in time, we haven't completed stabilize the logic for handling generated models, as well
|
|
883
|
-
* as
|
|
890
|
+
* as dependencies, we intended to save computation time by reusing these while updating the graph. This can pose potential
|
|
884
891
|
* danger as well. Beware the way when we start to make system/project dependencies references elements of current graph
|
|
885
892
|
* e.g. when we have a computed value in a immutable class that get all subclasses, etc.
|
|
886
893
|
* 3. We reprocess editor states to ensure good UX, e.g. find tabs to keep open, find tree nodes to expand, etc.
|
|
@@ -947,8 +954,8 @@ export class EditorGraphState {
|
|
|
947
954
|
*
|
|
948
955
|
* @risk memory-leak
|
|
949
956
|
*/
|
|
950
|
-
const
|
|
951
|
-
const
|
|
957
|
+
const openedTabStates = this.editorStore.tabManagerState.tabs;
|
|
958
|
+
const currentTabState = this.editorStore.tabManagerState.currentTab;
|
|
952
959
|
/**
|
|
953
960
|
* We remove the current editor state so that we no longer let React displays the element that belongs to the old graph
|
|
954
961
|
* NOTE: this causes an UI flash, but this is in many way, acceptable since the user probably should know that we are
|
|
@@ -958,7 +965,7 @@ export class EditorGraphState {
|
|
|
958
965
|
* e.g. if the current editor is a class, we stub the class, create a new class editor state around it and copy over
|
|
959
966
|
* navigation information, etc.
|
|
960
967
|
*/
|
|
961
|
-
this.editorStore.
|
|
968
|
+
this.editorStore.tabManagerState.closeAllTabs();
|
|
962
969
|
|
|
963
970
|
this.editorStore.changeDetectionState.stop(); // stop change detection before disposing hash
|
|
964
971
|
yield flowResult(graph_dispose(this.editorStore.graphManagerState.graph));
|
|
@@ -1007,24 +1014,9 @@ export class EditorGraphState {
|
|
|
1007
1014
|
// this.editorStore.explorerTreeState = new ExplorerTreeState(this.applicationStore, this.editorStore);
|
|
1008
1015
|
// this.editorStore.explorerTreeState.buildImmutableModelTrees();
|
|
1009
1016
|
// this.editorStore.explorerTreeState.build();
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
*
|
|
1014
|
-
* FIXME: we allow this so the UX stays the same but this can cause memory leak
|
|
1015
|
-
* we should change `reprocess` model to do something like having source information
|
|
1016
|
-
* on the form to navigate to it properly so that information is not dependent on the
|
|
1017
|
-
* graph, but on the component itself, with IDs and such.
|
|
1018
|
-
*
|
|
1019
|
-
* @risk memory-leak
|
|
1020
|
-
*/
|
|
1021
|
-
this.editorStore.openedEditorStates = openedEditorStates
|
|
1022
|
-
.map((editorState) =>
|
|
1023
|
-
this.editorStore.reprocessElementEditorState(editorState),
|
|
1024
|
-
)
|
|
1025
|
-
.filter(isNonNullable);
|
|
1026
|
-
this.editorStore.setCurrentEditorState(
|
|
1027
|
-
this.editorStore.findCurrentEditorState(currentEditorState),
|
|
1017
|
+
this.editorStore.tabManagerState.recoverTabs(
|
|
1018
|
+
openedTabStates,
|
|
1019
|
+
currentTabState,
|
|
1028
1020
|
);
|
|
1029
1021
|
|
|
1030
1022
|
this.editorStore.applicationStore.log.info(
|
|
@@ -1060,7 +1052,7 @@ export class EditorGraphState {
|
|
|
1060
1052
|
prompt: 'Refreshing full application...',
|
|
1061
1053
|
showLoading: true,
|
|
1062
1054
|
});
|
|
1063
|
-
this.editorStore.
|
|
1055
|
+
this.editorStore.tabManagerState.closeAllTabs();
|
|
1064
1056
|
this.editorStore.cleanUp();
|
|
1065
1057
|
yield flowResult(this.editorStore.buildGraph(entities));
|
|
1066
1058
|
} else {
|
|
@@ -1091,9 +1083,9 @@ export class EditorGraphState {
|
|
|
1091
1083
|
*
|
|
1092
1084
|
* @risk memory-leak
|
|
1093
1085
|
*/
|
|
1094
|
-
const
|
|
1095
|
-
const
|
|
1096
|
-
this.editorStore.
|
|
1086
|
+
const openedTabStates = this.editorStore.tabManagerState.tabs;
|
|
1087
|
+
const currentTabState = this.editorStore.tabManagerState.currentTab;
|
|
1088
|
+
this.editorStore.tabManagerState.closeAllTabs();
|
|
1097
1089
|
|
|
1098
1090
|
yield flowResult(
|
|
1099
1091
|
this.editorStore.graphManagerState.graph.generationModel.dispose(),
|
|
@@ -1116,15 +1108,9 @@ export class EditorGraphState {
|
|
|
1116
1108
|
* @risk memory-leak
|
|
1117
1109
|
*/
|
|
1118
1110
|
this.editorStore.explorerTreeState.reprocess();
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
.map((editorState) =>
|
|
1123
|
-
this.editorStore.reprocessElementEditorState(editorState),
|
|
1124
|
-
)
|
|
1125
|
-
.filter(isNonNullable);
|
|
1126
|
-
this.editorStore.setCurrentEditorState(
|
|
1127
|
-
this.editorStore.findCurrentEditorState(currentEditorState),
|
|
1111
|
+
this.editorStore.tabManagerState.recoverTabs(
|
|
1112
|
+
openedTabStates,
|
|
1113
|
+
currentTabState,
|
|
1128
1114
|
);
|
|
1129
1115
|
} catch (error) {
|
|
1130
1116
|
assertErrorThrown(error);
|
|
@@ -1217,18 +1203,17 @@ export class EditorGraphState {
|
|
|
1217
1203
|
startErrorMessage + getConflictsString(dependencyInfo),
|
|
1218
1204
|
);
|
|
1219
1205
|
} else {
|
|
1206
|
+
const conflictMessages = Array.from(dependencyProjects.entries())
|
|
1207
|
+
.filter(([, v]) => v.size > 1)
|
|
1208
|
+
.map(
|
|
1209
|
+
([k, v]) =>
|
|
1210
|
+
`project: ${k}\n versions: ${Array.from(v.values()).join(
|
|
1211
|
+
',',
|
|
1212
|
+
)}`,
|
|
1213
|
+
)
|
|
1214
|
+
.join('\n\n');
|
|
1220
1215
|
throw new UnsupportedOperationError(
|
|
1221
|
-
startErrorMessage +
|
|
1222
|
-
Array.from(dependencyProjects.entries())
|
|
1223
|
-
.map(([k, v]) => {
|
|
1224
|
-
if (v.size > 1) {
|
|
1225
|
-
`project: ${k}\n versions: \n${Array.from(
|
|
1226
|
-
v.values(),
|
|
1227
|
-
).join('\n')}`;
|
|
1228
|
-
}
|
|
1229
|
-
return '';
|
|
1230
|
-
})
|
|
1231
|
-
.join('\n'),
|
|
1216
|
+
startErrorMessage + conflictMessages,
|
|
1232
1217
|
);
|
|
1233
1218
|
}
|
|
1234
1219
|
}
|
|
@@ -386,7 +386,7 @@ export class EditorSDLCState {
|
|
|
386
386
|
),
|
|
387
387
|
),
|
|
388
388
|
);
|
|
389
|
-
this.editorStore.
|
|
389
|
+
this.editorStore.tabManagerState.refreshCurrentEntityDiffViewer();
|
|
390
390
|
} catch (error) {
|
|
391
391
|
assertErrorThrown(error);
|
|
392
392
|
this.editorStore.applicationStore.log.error(
|
|
@@ -416,7 +416,7 @@ export class EditorSDLCState {
|
|
|
416
416
|
),
|
|
417
417
|
),
|
|
418
418
|
);
|
|
419
|
-
this.editorStore.
|
|
419
|
+
this.editorStore.tabManagerState.refreshCurrentEntityDiffViewer();
|
|
420
420
|
} catch (error) {
|
|
421
421
|
assertErrorThrown(error);
|
|
422
422
|
this.editorStore.applicationStore.log.error(
|
|
@@ -445,7 +445,7 @@ export class EditorSDLCState {
|
|
|
445
445
|
),
|
|
446
446
|
),
|
|
447
447
|
);
|
|
448
|
-
this.editorStore.
|
|
448
|
+
this.editorStore.tabManagerState.refreshCurrentEntityDiffViewer();
|
|
449
449
|
} catch (error) {
|
|
450
450
|
assertErrorThrown(error);
|
|
451
451
|
this.editorStore.applicationStore.log.error(
|