@finos/legend-application-studio 22.6.0 → 23.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.d.ts +21 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.d.ts.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.js +74 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.js.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioDocumentation.js.map +1 -0
- package/lib/application/LegendStudio.d.ts.map +1 -1
- package/lib/application/LegendStudio.js +9 -6
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.d.ts +4 -0
- package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.js +7 -1
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
- package/lib/application/LegendStudioApplicationNavigationContext.d.ts.map +1 -0
- package/lib/application/LegendStudioApplicationNavigationContext.js.map +1 -0
- package/lib/application/LegendStudioCodeSnippet.d.ts +45 -0
- package/lib/application/LegendStudioCodeSnippet.d.ts.map +1 -0
- package/lib/application/LegendStudioCodeSnippet.js +322 -0
- package/lib/application/LegendStudioCodeSnippet.js.map +1 -0
- package/lib/application/LegendStudioCommand.d.ts.map +1 -0
- package/lib/application/LegendStudioCommand.js.map +1 -0
- package/lib/application/LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/application/LegendStudioDocumentation.js.map +1 -0
- package/lib/application/LegendStudioEvent.d.ts +48 -0
- package/lib/application/LegendStudioEvent.d.ts.map +1 -0
- package/lib/application/LegendStudioEvent.js +56 -0
- package/lib/application/LegendStudioEvent.js.map +1 -0
- package/lib/application/LegendStudioEventHelper.d.ts +20 -0
- package/lib/application/LegendStudioEventHelper.d.ts.map +1 -0
- package/lib/application/LegendStudioEventHelper.js +22 -0
- package/lib/application/LegendStudioEventHelper.js.map +1 -0
- package/lib/application/LegendStudioNavigation.d.ts +77 -0
- package/lib/application/LegendStudioNavigation.d.ts.map +1 -0
- package/lib/application/LegendStudioNavigation.js +133 -0
- package/lib/application/LegendStudioNavigation.js.map +1 -0
- package/lib/application/LegendStudioPluginManager.js +1 -1
- package/lib/application/LegendStudioPluginManager.js.map +1 -1
- package/lib/application/LegendStudioSetting.d.ts +22 -0
- package/lib/application/LegendStudioSetting.d.ts.map +1 -0
- package/lib/application/LegendStudioSetting.js +29 -0
- package/lib/application/LegendStudioSetting.js.map +1 -0
- package/lib/application/LegendStudioTelemetryHelper.d.ts +33 -0
- package/lib/application/LegendStudioTelemetryHelper.d.ts.map +1 -0
- package/lib/application/LegendStudioTelemetryHelper.js +37 -0
- package/lib/application/LegendStudioTelemetryHelper.js.map +1 -0
- package/lib/application/LegendStudioTesting.d.ts +47 -0
- package/lib/application/LegendStudioTesting.d.ts.map +1 -0
- package/lib/application/LegendStudioTesting.js +52 -0
- package/lib/application/LegendStudioTesting.js.map +1 -0
- package/lib/components/EditorComponentTestUtils.d.ts +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +7 -8
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.js +1 -1
- package/lib/components/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +0 -1
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts +0 -2
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +9 -9
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.d.ts.map +1 -1
- package/lib/components/editor/ActivityBar.js +8 -8
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.d.ts.map +1 -1
- package/lib/components/editor/Editor.js +6 -2
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.d.ts +1 -1
- package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +2 -4
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.js +6 -9
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.js +2 -2
- package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
- package/lib/components/editor/aux-panel/Problems.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/Problems.js +4 -10
- package/lib/components/editor/aux-panel/Problems.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.js +19 -19
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +2 -2
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +9 -9
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +6 -6
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +9 -8
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +3 -3
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +6 -6
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +2 -2
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +6 -6
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +4 -4
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +2 -2
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +3 -3
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +4 -4
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +4 -4
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +6 -6
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +9 -9
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +6 -6
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +8 -10
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js +3 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +8 -8
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +7 -9
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +14 -9
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js +165 -0
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +3 -3
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +5 -5
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +5 -5
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +5 -5
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +1 -3
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +4 -4
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +3 -3
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +7 -7
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +14 -14
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +2 -4
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +6 -6
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js +7 -3
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +25 -17
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +9 -8
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js +19 -7
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +4 -3
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +1 -1
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.js +1 -1
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +5 -5
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +4 -4
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +5 -5
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +3 -3
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/element-preview/ElementPreview.d.ts +2 -0
- package/lib/components/element-preview/ElementPreview.d.ts.map +1 -0
- package/lib/components/element-preview/ElementPreview.js +2 -0
- package/lib/components/element-preview/ElementPreview.js.map +1 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts +27 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +90 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +43 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +301 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/project-view/ProjectViewer.d.ts.map +1 -0
- package/lib/components/project-view/ProjectViewer.js +151 -0
- package/lib/components/project-view/ProjectViewer.js.map +1 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.d.ts +23 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.d.ts.map +1 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.js +36 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -0
- package/lib/components/shared/ElementIconUtils.d.ts +1 -1
- package/lib/components/shared/ElementIconUtils.d.ts.map +1 -1
- package/lib/components/shared/ElementIconUtils.js +1 -1
- package/lib/components/shared/ElementIconUtils.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js +2 -2
- package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.js +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js +3 -3
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js +1 -1
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +3 -3
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.d.ts.map +1 -0
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +46 -0
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.d.ts.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSetup.js +9 -9
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +46 -45
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +44 -44
- package/lib/index.js.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/LegendStudioApplicationPlugin.d.ts +16 -9
- package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +26 -9
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/editor/AbstractConflictResolutionState.d.ts.map +1 -0
- package/lib/stores/editor/AbstractConflictResolutionState.js.map +1 -0
- package/lib/stores/editor/ChangeDetectionState.d.ts.map +1 -0
- package/lib/stores/editor/ChangeDetectionState.js +599 -0
- package/lib/stores/editor/ChangeDetectionState.js.map +1 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.d.ts +19 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.d.ts.map +1 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.js +23 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.js.map +1 -0
- package/lib/stores/editor/EditorConfig.d.ts.map +1 -0
- package/lib/stores/editor/EditorConfig.js.map +1 -0
- package/lib/stores/editor/EditorGraphState.d.ts +91 -0
- package/lib/stores/editor/EditorGraphState.d.ts.map +1 -0
- package/lib/stores/editor/EditorGraphState.js +529 -0
- package/lib/stores/editor/EditorGraphState.js.map +1 -0
- package/lib/stores/editor/EditorSDLCState.d.ts.map +1 -0
- package/lib/stores/editor/EditorSDLCState.js +271 -0
- package/lib/stores/editor/EditorSDLCState.js.map +1 -0
- package/lib/stores/editor/EditorStore.d.ts +135 -0
- package/lib/stores/editor/EditorStore.d.ts.map +1 -0
- package/lib/stores/editor/EditorStore.js +701 -0
- package/lib/stores/editor/EditorStore.js.map +1 -0
- package/lib/stores/editor/EditorStoreTestUtils.d.ts +21 -0
- package/lib/stores/editor/EditorStoreTestUtils.d.ts.map +1 -0
- package/lib/stores/editor/EditorStoreTestUtils.js +53 -0
- package/lib/stores/editor/EditorStoreTestUtils.js.map +1 -0
- package/lib/stores/editor/EditorTabManagerState.d.ts +47 -0
- package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -0
- package/lib/stores/editor/EditorTabManagerState.js +141 -0
- package/lib/stores/editor/EditorTabManagerState.js.map +1 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts +40 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.js +80 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.js.map +1 -0
- package/lib/stores/editor/ExplorerTreeState.d.ts.map +1 -0
- package/lib/stores/editor/ExplorerTreeState.js +328 -0
- package/lib/stores/editor/ExplorerTreeState.js.map +1 -0
- package/lib/stores/editor/GraphEditFormModeState.d.ts +81 -0
- package/lib/stores/editor/GraphEditFormModeState.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditFormModeState.js +370 -0
- package/lib/stores/editor/GraphEditFormModeState.js.map +1 -0
- package/lib/stores/editor/GraphEditGrammarModeState.d.ts +65 -0
- package/lib/stores/editor/GraphEditGrammarModeState.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditGrammarModeState.js +315 -0
- package/lib/stores/editor/GraphEditGrammarModeState.js.map +1 -0
- package/lib/stores/editor/GraphEditorMode.d.ts +51 -0
- package/lib/stores/editor/GraphEditorMode.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditorMode.js +35 -0
- package/lib/stores/editor/GraphEditorMode.js.map +1 -0
- package/lib/stores/editor/NewElementState.d.ts +5 -5
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +28 -19
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/StandardEditorMode.d.ts +1 -1
- package/lib/stores/editor/StandardEditorMode.d.ts.map +1 -1
- package/lib/stores/editor/StandardEditorMode.js +1 -1
- package/lib/stores/editor/StandardEditorMode.js.map +1 -1
- package/lib/stores/editor/aux-panel-state/DevToolState.d.ts.map +1 -0
- package/lib/stores/editor/aux-panel-state/DevToolState.js.map +1 -0
- package/lib/stores/editor/editor-state/EditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/EditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.js +83 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationState.js +174 -0
- package/lib/stores/editor/editor-state/FileGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationViewerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationViewerState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileSystemState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileSystemState.js.map +1 -0
- package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.js +158 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.js +344 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/ModelImporterState.d.ts +101 -0
- package/lib/stores/editor/editor-state/ModelImporterState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/ModelImporterState.js +367 -0
- package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -0
- package/lib/stores/editor/editor-state/UnsupportedElementEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/UnsupportedElementEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +172 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js +70 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +425 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +398 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +108 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js +881 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +29 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +42 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js +483 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.js +512 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js +665 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +55 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +229 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +247 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +224 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +143 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +179 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +212 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +315 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -0
- package/lib/stores/editor/shared/DnDUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/DnDUtils.js.map +1 -0
- package/lib/stores/editor/shared/FileSystemTreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/FileSystemTreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/MockDataUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/MockDataUtils.js.map +1 -0
- package/lib/stores/editor/shared/ModelClassifierUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/ModelClassifierUtils.js.map +1 -0
- package/lib/stores/editor/shared/PackageTreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/PackageTreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/TestableUtils.d.ts +45 -0
- package/lib/stores/editor/shared/TestableUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/TestableUtils.js +143 -0
- package/lib/stores/editor/shared/TestableUtils.js.map +1 -0
- package/lib/stores/editor/shared/TreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/TreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts +51 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +237 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts +87 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.js +543 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +234 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +356 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js +272 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js +382 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js +474 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js +215 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts +100 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +52 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +45 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +129 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +25 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +31 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +97 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/project-view/ProjectViewerEditorMode.d.ts.map +1 -0
- package/lib/stores/project-view/ProjectViewerEditorMode.js +41 -0
- package/lib/stores/project-view/ProjectViewerEditorMode.js.map +1 -0
- package/lib/stores/project-view/ProjectViewerStore.d.ts +56 -0
- package/lib/stores/project-view/ProjectViewerStore.d.ts.map +1 -0
- package/lib/stores/project-view/ProjectViewerStore.js +351 -0
- package/lib/stores/project-view/ProjectViewerStore.js.map +1 -0
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.js +4 -5
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +2 -2
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +13 -13
- package/src/application/LegendStudio.tsx +9 -8
- package/src/application/LegendStudioApplicationConfig.ts +7 -0
- package/src/application/LegendStudioEvent.ts +65 -0
- package/src/application/LegendStudioEventHelper.ts +26 -0
- package/src/application/LegendStudioNavigation.ts +233 -0
- package/src/application/LegendStudioPluginManager.ts +1 -1
- package/src/application/LegendStudioSetting.ts +31 -0
- package/src/application/LegendStudioTelemetryHelper.ts +71 -0
- package/src/components/EditorComponentTestUtils.tsx +11 -17
- package/src/components/EmbeddedQueryBuilder.tsx +2 -2
- package/src/components/LegendStudioAppInfo.tsx +0 -1
- package/src/components/LegendStudioApplication.tsx +32 -22
- package/src/components/editor/ActivityBar.tsx +11 -8
- package/src/components/editor/Editor.tsx +10 -6
- package/src/components/editor/EditorStoreProvider.tsx +2 -9
- package/src/components/editor/StatusBar.tsx +11 -10
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +1 -1
- package/src/components/editor/aux-panel/DevTool.tsx +3 -3
- package/src/components/editor/aux-panel/Problems.tsx +6 -11
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +1 -4
- package/src/components/editor/edit-panel/EditPanel.tsx +19 -19
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +2 -2
- package/src/components/editor/edit-panel/FunctionEditor.tsx +10 -10
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +7 -7
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +18 -13
- package/src/components/editor/edit-panel/ModelImporter.tsx +3 -3
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +10 -10
- package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +4 -4
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +5 -5
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +2 -2
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +7 -7
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +6 -6
- package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +1 -1
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +2 -2
- package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +3 -3
- package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/ElementNativeView.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +6 -6
- package/src/components/editor/edit-panel/element-generation-editor/FileSystemViewer.tsx +4 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +3 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx +4 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +3 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +3 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +6 -6
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +11 -11
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +7 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +8 -11
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +4 -3
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +8 -8
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +7 -10
- package/src/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +33 -10
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/TypeTree.tsx +293 -0
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +5 -5
- package/src/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +5 -5
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +5 -5
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +2 -5
- package/src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +4 -4
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +3 -3
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +6 -6
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +7 -7
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +14 -14
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +6 -7
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +6 -6
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +4 -4
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +4 -4
- package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/UMLEditor.tsx +1 -1
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +12 -8
- package/src/components/editor/side-bar/Explorer.tsx +33 -23
- package/src/components/editor/side-bar/LocalChanges.tsx +9 -13
- package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +17 -21
- package/src/components/editor/side-bar/ProjectOverview.tsx +4 -3
- package/src/components/editor/side-bar/RegisterService.tsx +2 -2
- package/src/components/editor/side-bar/SideBar.tsx +1 -1
- package/src/components/editor/side-bar/WorkflowManager.tsx +2 -2
- package/src/components/editor/side-bar/WorkspaceReview.tsx +5 -5
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +5 -5
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +4 -4
- package/src/components/element-preview/ElementPreview.tsx +0 -0
- package/src/components/extensions/Core_LegendStudioApplicationPlugin.tsx +112 -0
- package/src/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +453 -0
- package/src/components/project-view/ProjectViewer.tsx +356 -0
- package/src/components/project-view/ProjectViewerStoreProvider.tsx +56 -0
- package/src/components/shared/ElementIconUtils.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReview.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReviewPanel.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +3 -3
- package/src/components/workspace-review/WorkspaceReviewStoreProvider.tsx +1 -1
- package/src/components/workspace-setup/CreateProjectModal.tsx +3 -3
- package/src/components/workspace-setup/CreateWorkspaceModal.tsx +1 -1
- package/src/components/workspace-setup/ProjectSelectorUtils.tsx +125 -0
- package/src/components/workspace-setup/WorkspaceSetup.tsx +10 -10
- package/src/index.ts +50 -45
- package/src/stores/LegendStudioApplicationPlugin.ts +21 -8
- package/src/stores/LegendStudioBaseStore.ts +36 -11
- package/src/stores/editor/ChangeDetectionState.ts +954 -0
- package/src/stores/editor/DependencyProjectViewerHelper.ts +39 -0
- package/src/stores/editor/EditorGraphState.ts +841 -0
- package/src/stores/editor/EditorSDLCState.ts +480 -0
- package/src/stores/editor/EditorStore.ts +977 -0
- package/src/stores/editor/EditorStoreTestUtils.ts +70 -0
- package/src/stores/editor/EditorTabManagerState.ts +203 -0
- package/src/stores/editor/EmbeddedQueryBuilderState.ts +117 -0
- package/src/stores/editor/ExplorerTreeState.ts +548 -0
- package/src/stores/editor/GraphEditFormModeState.ts +605 -0
- package/src/stores/editor/GraphEditGrammarModeState.ts +512 -0
- package/src/stores/editor/GraphEditorMode.ts +77 -0
- package/src/stores/editor/NewElementState.ts +48 -32
- package/src/stores/editor/StandardEditorMode.ts +2 -2
- package/src/stores/editor/editor-state/ExternalFormatState.ts +119 -0
- package/src/stores/editor/editor-state/FileGenerationState.ts +285 -0
- package/src/stores/editor/editor-state/GrammarTextEditorState.ts +201 -0
- package/src/stores/editor/editor-state/GraphGenerationState.ts +560 -0
- package/src/stores/editor/editor-state/ModelImporterState.ts +539 -0
- package/src/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +266 -0
- package/src/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.ts +100 -0
- package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +935 -0
- package/src/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.ts +539 -0
- package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +644 -0
- package/src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts +351 -0
- package/src/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +585 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.ts +1512 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +794 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +58 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.ts +980 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.ts +880 -0
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.ts +1103 -0
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +368 -0
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +398 -0
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +314 -0
- package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +213 -0
- package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +244 -0
- package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +346 -0
- package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +450 -0
- package/src/stores/editor/shared/PackageTreeUtils.ts +469 -0
- package/src/stores/editor/shared/TestableUtils.ts +219 -0
- package/src/stores/editor/sidebar-state/BulkServiceRegistrationState.ts +370 -0
- package/src/stores/editor/sidebar-state/LocalChangesState.ts +876 -0
- package/src/stores/editor/sidebar-state/ProjectOverviewState.ts +391 -0
- package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +645 -0
- package/src/stores/editor/sidebar-state/WorkspaceReviewState.ts +409 -0
- package/src/stores/editor/sidebar-state/WorkspaceSyncState.ts +578 -0
- package/src/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +736 -0
- package/src/stores/editor/sidebar-state/WorkspaceUpdaterState.ts +367 -0
- package/src/stores/editor/sidebar-state/testable/GlobalTestRunnerState.ts +641 -0
- package/src/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +70 -0
- package/src/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +52 -0
- package/src/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +212 -0
- package/src/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +32 -0
- package/src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +40 -0
- package/src/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +167 -0
- package/src/stores/project-view/ProjectViewerEditorMode.ts +79 -0
- package/src/stores/project-view/ProjectViewerStore.ts +614 -0
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +5 -6
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +2 -2
- package/tsconfig.json +123 -122
- package/tsconfig.package.json +1 -2
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +0 -26
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.js +0 -85
- package/lib/components/Core_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts +0 -21
- package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.js +0 -74
- package/lib/components/DSL_ExternalFormat_CodeSnippets.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +0 -43
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +0 -301
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/LegendStudioTestID.d.ts +0 -47
- package/lib/components/LegendStudioTestID.d.ts.map +0 -1
- package/lib/components/LegendStudioTestID.js +0 -52
- package/lib/components/LegendStudioTestID.js.map +0 -1
- package/lib/components/project-viewer/ProjectViewer.d.ts.map +0 -1
- package/lib/components/project-viewer/ProjectViewer.js +0 -148
- package/lib/components/project-viewer/ProjectViewer.js.map +0 -1
- package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts +0 -23
- package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts.map +0 -1
- package/lib/components/project-viewer/ProjectViewerStoreProvider.js +0 -36
- package/lib/components/project-viewer/ProjectViewerStoreProvider.js.map +0 -1
- package/lib/components/shared/MultiplicityBadge.d.ts +0 -21
- package/lib/components/shared/MultiplicityBadge.d.ts.map +0 -1
- package/lib/components/shared/MultiplicityBadge.js +0 -25
- package/lib/components/shared/MultiplicityBadge.js.map +0 -1
- package/lib/components/shared/ProjectSelectorUtils.d.ts.map +0 -1
- package/lib/components/shared/ProjectSelectorUtils.js +0 -46
- package/lib/components/shared/ProjectSelectorUtils.js.map +0 -1
- package/lib/components/shared/TypeTree.d.ts.map +0 -1
- package/lib/components/shared/TypeTree.js +0 -165
- package/lib/components/shared/TypeTree.js.map +0 -1
- package/lib/components/shared/WorkspaceSelectorUtils.d.ts.map +0 -1
- package/lib/components/shared/WorkspaceSelectorUtils.js.map +0 -1
- package/lib/stores/AbstractConflictResolutionState.d.ts.map +0 -1
- package/lib/stores/AbstractConflictResolutionState.js.map +0 -1
- package/lib/stores/ChangeDetectionEvent.d.ts +0 -29
- package/lib/stores/ChangeDetectionEvent.d.ts.map +0 -1
- package/lib/stores/ChangeDetectionEvent.js +0 -31
- package/lib/stores/ChangeDetectionEvent.js.map +0 -1
- package/lib/stores/ChangeDetectionState.d.ts.map +0 -1
- package/lib/stores/ChangeDetectionState.js +0 -599
- package/lib/stores/ChangeDetectionState.js.map +0 -1
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +0 -52
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +0 -45
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -129
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +0 -25
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DependencyProjectViewerHelper.d.ts +0 -19
- package/lib/stores/DependencyProjectViewerHelper.d.ts.map +0 -1
- package/lib/stores/DependencyProjectViewerHelper.js +0 -23
- package/lib/stores/DependencyProjectViewerHelper.js.map +0 -1
- package/lib/stores/EditorConfig.d.ts.map +0 -1
- package/lib/stores/EditorConfig.js.map +0 -1
- package/lib/stores/EditorGraphState.d.ts +0 -152
- package/lib/stores/EditorGraphState.d.ts.map +0 -1
- package/lib/stores/EditorGraphState.js +0 -1023
- package/lib/stores/EditorGraphState.js.map +0 -1
- package/lib/stores/EditorSDLCState.d.ts.map +0 -1
- package/lib/stores/EditorSDLCState.js +0 -272
- package/lib/stores/EditorSDLCState.js.map +0 -1
- package/lib/stores/EditorStore.d.ts +0 -140
- package/lib/stores/EditorStore.d.ts.map +0 -1
- package/lib/stores/EditorStore.js +0 -844
- package/lib/stores/EditorStore.js.map +0 -1
- package/lib/stores/EditorStoreTestUtils.d.ts +0 -21
- package/lib/stores/EditorStoreTestUtils.d.ts.map +0 -1
- package/lib/stores/EditorStoreTestUtils.js +0 -54
- package/lib/stores/EditorStoreTestUtils.js.map +0 -1
- package/lib/stores/EditorTabManagerState.d.ts +0 -46
- package/lib/stores/EditorTabManagerState.d.ts.map +0 -1
- package/lib/stores/EditorTabManagerState.js +0 -97
- package/lib/stores/EditorTabManagerState.js.map +0 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts +0 -41
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/EmbeddedQueryBuilderState.js +0 -79
- package/lib/stores/EmbeddedQueryBuilderState.js.map +0 -1
- package/lib/stores/ExplorerTreeState.d.ts.map +0 -1
- package/lib/stores/ExplorerTreeState.js +0 -328
- package/lib/stores/ExplorerTreeState.js.map +0 -1
- package/lib/stores/LegendStudioAppEvent.d.ts +0 -37
- package/lib/stores/LegendStudioAppEvent.d.ts.map +0 -1
- package/lib/stores/LegendStudioAppEvent.js +0 -44
- package/lib/stores/LegendStudioAppEvent.js.map +0 -1
- package/lib/stores/LegendStudioApplicationNavigationContext.d.ts.map +0 -1
- package/lib/stores/LegendStudioApplicationNavigationContext.js.map +0 -1
- package/lib/stores/LegendStudioCodeSnippets.d.ts +0 -45
- package/lib/stores/LegendStudioCodeSnippets.d.ts.map +0 -1
- package/lib/stores/LegendStudioCodeSnippets.js +0 -322
- package/lib/stores/LegendStudioCodeSnippets.js.map +0 -1
- package/lib/stores/LegendStudioCommand.d.ts.map +0 -1
- package/lib/stores/LegendStudioCommand.js.map +0 -1
- package/lib/stores/LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/stores/LegendStudioDocumentation.js.map +0 -1
- package/lib/stores/LegendStudioEventService.d.ts +0 -23
- package/lib/stores/LegendStudioEventService.d.ts.map +0 -1
- package/lib/stores/LegendStudioEventService.js +0 -29
- package/lib/stores/LegendStudioEventService.js.map +0 -1
- package/lib/stores/LegendStudioRouter.d.ts +0 -78
- package/lib/stores/LegendStudioRouter.d.ts.map +0 -1
- package/lib/stores/LegendStudioRouter.js +0 -154
- package/lib/stores/LegendStudioRouter.js.map +0 -1
- package/lib/stores/LegendStudioStorage.d.ts +0 -20
- package/lib/stores/LegendStudioStorage.d.ts.map +0 -1
- package/lib/stores/LegendStudioStorage.js +0 -21
- package/lib/stores/LegendStudioStorage.js.map +0 -1
- package/lib/stores/LegendStudioTelemetry.d.ts +0 -33
- package/lib/stores/LegendStudioTelemetry.d.ts.map +0 -1
- package/lib/stores/LegendStudioTelemetry.js +0 -37
- package/lib/stores/LegendStudioTelemetry.js.map +0 -1
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +0 -31
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +0 -97
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/aux-panel-state/DevToolState.d.ts.map +0 -1
- package/lib/stores/aux-panel-state/DevToolState.js.map +0 -1
- package/lib/stores/editor-state/EditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/EditorState.js.map +0 -1
- package/lib/stores/editor-state/ExternalFormatState.d.ts.map +0 -1
- package/lib/stores/editor-state/ExternalFormatState.js +0 -83
- package/lib/stores/editor-state/ExternalFormatState.js.map +0 -1
- package/lib/stores/editor-state/FileGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileGenerationState.js +0 -174
- package/lib/stores/editor-state/FileGenerationState.js.map +0 -1
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileGenerationViewerState.js.map +0 -1
- package/lib/stores/editor-state/FileSystemState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileSystemState.js.map +0 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +0 -1
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/GrammarTextEditorState.js +0 -158
- package/lib/stores/editor-state/GrammarTextEditorState.js.map +0 -1
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/GraphGenerationState.js +0 -344
- package/lib/stores/editor-state/GraphGenerationState.js.map +0 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts +0 -101
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +0 -1
- package/lib/stores/editor-state/ModelImporterState.js +0 -367
- package/lib/stores/editor-state/ModelImporterState.js.map +0 -1
- package/lib/stores/editor-state/UnsupportedElementEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/UnsupportedElementEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +0 -172
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +0 -70
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +0 -422
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +0 -398
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +0 -108
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +0 -881
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +0 -29
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +0 -42
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +0 -490
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +0 -517
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +0 -672
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +0 -55
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +0 -229
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +0 -247
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +0 -224
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +0 -143
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +0 -179
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +0 -212
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +0 -315
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerEditorMode.d.ts.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js +0 -41
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts +0 -56
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +0 -357
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +0 -1
- package/lib/stores/shared/DnDUtils.d.ts.map +0 -1
- package/lib/stores/shared/DnDUtils.js.map +0 -1
- package/lib/stores/shared/FileSystemTreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/FileSystemTreeUtils.js.map +0 -1
- package/lib/stores/shared/MockDataUtils.d.ts.map +0 -1
- package/lib/stores/shared/MockDataUtils.js.map +0 -1
- package/lib/stores/shared/ModelClassifierUtils.d.ts.map +0 -1
- package/lib/stores/shared/ModelClassifierUtils.js.map +0 -1
- package/lib/stores/shared/PackageTreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/PackageTreeUtils.js.map +0 -1
- package/lib/stores/shared/TreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/TreeUtils.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DomainGraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DomainGraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/Testable_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/Testable_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/testable/TestableUtils.d.ts +0 -45
- package/lib/stores/shared/testable/TestableUtils.d.ts.map +0 -1
- package/lib/stores/shared/testable/TestableUtils.js +0 -143
- package/lib/stores/shared/testable/TestableUtils.js.map +0 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts +0 -51
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js +0 -237
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js.map +0 -1
- package/lib/stores/sidebar-state/LocalChangesState.d.ts +0 -84
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +0 -511
- package/lib/stores/sidebar-state/LocalChangesState.js.map +0 -1
- package/lib/stores/sidebar-state/ProjectDependantEditorState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/ProjectDependantEditorState.js.map +0 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +0 -234
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.js +0 -356
- package/lib/stores/sidebar-state/WorkflowManagerState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +0 -273
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.js +0 -382
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +0 -475
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +0 -216
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +0 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +0 -100
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +0 -1
- package/src/components/Core_LegendStudioApplicationPlugin.tsx +0 -103
- package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +0 -453
- package/src/components/project-viewer/ProjectViewer.tsx +0 -350
- package/src/components/project-viewer/ProjectViewerStoreProvider.tsx +0 -56
- package/src/components/shared/MultiplicityBadge.tsx +0 -39
- package/src/components/shared/ProjectSelectorUtils.tsx +0 -125
- package/src/components/shared/TypeTree.tsx +0 -290
- package/src/stores/ChangeDetectionEvent.ts +0 -34
- package/src/stores/ChangeDetectionState.ts +0 -954
- package/src/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +0 -70
- package/src/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +0 -52
- package/src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +0 -212
- package/src/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +0 -32
- package/src/stores/DependencyProjectViewerHelper.ts +0 -39
- package/src/stores/EditorGraphState.ts +0 -1590
- package/src/stores/EditorSDLCState.ts +0 -481
- package/src/stores/EditorStore.ts +0 -1203
- package/src/stores/EditorStoreTestUtils.ts +0 -72
- package/src/stores/EditorTabManagerState.ts +0 -138
- package/src/stores/EmbeddedQueryBuilderState.ts +0 -117
- package/src/stores/ExplorerTreeState.ts +0 -550
- package/src/stores/LegendStudioAppEvent.ts +0 -48
- package/src/stores/LegendStudioEventService.ts +0 -36
- package/src/stores/LegendStudioRouter.ts +0 -273
- package/src/stores/LegendStudioStorage.ts +0 -20
- package/src/stores/LegendStudioTelemetry.ts +0 -83
- package/src/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +0 -40
- package/src/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +0 -167
- package/src/stores/editor-state/ExternalFormatState.ts +0 -119
- package/src/stores/editor-state/FileGenerationState.ts +0 -285
- package/src/stores/editor-state/GrammarTextEditorState.ts +0 -202
- package/src/stores/editor-state/GraphGenerationState.ts +0 -556
- package/src/stores/editor-state/ModelImporterState.ts +0 -539
- package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +0 -266
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +0 -96
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +0 -935
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +0 -539
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +0 -637
- package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +0 -351
- package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +0 -585
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +0 -1514
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +0 -794
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +0 -58
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +0 -989
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +0 -889
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +0 -1116
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +0 -368
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +0 -398
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +0 -314
- package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +0 -213
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +0 -244
- package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +0 -346
- package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +0 -450
- package/src/stores/project-viewer/ProjectViewerEditorMode.ts +0 -79
- package/src/stores/project-viewer/ProjectViewerStore.ts +0 -625
- package/src/stores/shared/PackageTreeUtils.ts +0 -469
- package/src/stores/shared/testable/TestableUtils.ts +0 -219
- package/src/stores/sidebar-state/BulkServiceRegistrationState.ts +0 -370
- package/src/stores/sidebar-state/LocalChangesState.ts +0 -836
- package/src/stores/sidebar-state/ProjectOverviewState.ts +0 -391
- package/src/stores/sidebar-state/WorkflowManagerState.ts +0 -645
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +0 -410
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +0 -577
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +0 -737
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +0 -368
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +0 -641
- /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.d.ts +0 -0
- /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.js +0 -0
- /package/lib/{stores → application}/LegendStudioApplicationNavigationContext.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioApplicationNavigationContext.js +0 -0
- /package/lib/{stores → application}/LegendStudioCommand.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioCommand.js +0 -0
- /package/lib/{stores → application}/LegendStudioDocumentation.d.ts +0 -0
- /package/lib/{stores → application}/LegendStudioDocumentation.js +0 -0
- /package/lib/components/{shared → editor/edit-panel/mapping-editor}/TypeTree.d.ts +0 -0
- /package/lib/components/{project-viewer → project-view}/ProjectViewer.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/ProjectSelectorUtils.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.js +0 -0
- /package/lib/stores/{AbstractConflictResolutionState.d.ts → editor/AbstractConflictResolutionState.d.ts} +0 -0
- /package/lib/stores/{AbstractConflictResolutionState.js → editor/AbstractConflictResolutionState.js} +0 -0
- /package/lib/stores/{ChangeDetectionState.d.ts → editor/ChangeDetectionState.d.ts} +0 -0
- /package/lib/stores/{EditorConfig.d.ts → editor/EditorConfig.d.ts} +0 -0
- /package/lib/stores/{EditorConfig.js → editor/EditorConfig.js} +0 -0
- /package/lib/stores/{EditorSDLCState.d.ts → editor/EditorSDLCState.d.ts} +0 -0
- /package/lib/stores/{ExplorerTreeState.d.ts → editor/ExplorerTreeState.d.ts} +0 -0
- /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.d.ts +0 -0
- /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/EditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/EditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/ExternalFormatState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GrammarTextEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GraphGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementExternalFormatGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementFileGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/DatabaseBuilderState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingExecutionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestDataState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestableState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestableEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffViewState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectDependencyEditorState.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/DnDUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/DnDUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/MockDataUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/MockDataUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/TreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/TreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.js +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.js +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectOverviewState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkflowManagerState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceReviewState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceSyncState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdateConflictResolutionState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdaterState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/testable/GlobalTestRunnerState.js +0 -0
- /package/lib/stores/{DSL_Data_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Generation_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Mapping_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Service_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js → extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{STO_Relational_LegendStudioApplicationPlugin_Extension.js → extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{project-viewer → project-view}/ProjectViewerEditorMode.d.ts +0 -0
- /package/src/{components/DSL_ExternalFormat_CodeSnippets.ts → application/DSL_ExternalFormat_LegendStudioCodeSnippet.ts} +0 -0
- /package/src/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.ts +0 -0
- /package/src/{stores → application}/LegendStudioApplicationNavigationContext.ts +0 -0
- /package/src/{stores/LegendStudioCodeSnippets.ts → application/LegendStudioCodeSnippet.ts} +0 -0
- /package/src/{stores → application}/LegendStudioCommand.ts +0 -0
- /package/src/{stores → application}/LegendStudioDocumentation.ts +0 -0
- /package/src/{components/LegendStudioTestID.ts → application/LegendStudioTesting.ts} +0 -0
- /package/src/components/{shared → workspace-setup}/WorkspaceSelectorUtils.tsx +0 -0
- /package/src/stores/{AbstractConflictResolutionState.ts → editor/AbstractConflictResolutionState.ts} +0 -0
- /package/src/stores/{EditorConfig.ts → editor/EditorConfig.ts} +0 -0
- /package/src/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/EditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/FileSystemState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.ts +0 -0
- /package/src/stores/{shared → editor/shared}/DnDUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/FileSystemTreeUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/MockDataUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/ModelClassifierUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/TreeUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.ts +0 -0
- /package/src/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.ts +0 -0
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { observable, action, flow, makeObservable, computed, flowResult, } from 'mobx';
|
|
17
|
+
import { EditorState } from './EditorState.js';
|
|
18
|
+
import { assertErrorThrown, LogEvent, UnsupportedOperationError, isNonNullable, ActionState, assertTrue, } from '@finos/legend-shared';
|
|
19
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../application/LegendStudioEvent.js';
|
|
20
|
+
import { TAB_SIZE } from '@finos/legend-application';
|
|
21
|
+
import { SchemaSet, observe_SchemaSet, } from '@finos/legend-graph';
|
|
22
|
+
import { externalFormat_schemaSet_setFormat, externalFormat_schemaSet_setSchemas, } from '../shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js';
|
|
23
|
+
import { InnerSchemaSetEditorState } from './element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js';
|
|
24
|
+
export var MODEL_IMPORT_NATIVE_INPUT_TYPE;
|
|
25
|
+
(function (MODEL_IMPORT_NATIVE_INPUT_TYPE) {
|
|
26
|
+
MODEL_IMPORT_NATIVE_INPUT_TYPE["ENTITIES"] = "ENTITIES";
|
|
27
|
+
MODEL_IMPORT_NATIVE_INPUT_TYPE["PURE_PROTOCOL"] = "PURE_PROTOCOL";
|
|
28
|
+
MODEL_IMPORT_NATIVE_INPUT_TYPE["PURE_GRAMMAR"] = "PURE_GRAMMAR";
|
|
29
|
+
})(MODEL_IMPORT_NATIVE_INPUT_TYPE = MODEL_IMPORT_NATIVE_INPUT_TYPE || (MODEL_IMPORT_NATIVE_INPUT_TYPE = {}));
|
|
30
|
+
export var MODEL_IMPORT_TYPE;
|
|
31
|
+
(function (MODEL_IMPORT_TYPE) {
|
|
32
|
+
MODEL_IMPORT_TYPE["NATIVE"] = "NATIVE";
|
|
33
|
+
MODEL_IMPORT_TYPE["EXTERNAL_FORMAT"] = "EXTERNAL_FORMAT";
|
|
34
|
+
MODEL_IMPORT_TYPE["EXTENSIONS"] = "EXTENSIONS";
|
|
35
|
+
})(MODEL_IMPORT_TYPE = MODEL_IMPORT_TYPE || (MODEL_IMPORT_TYPE = {}));
|
|
36
|
+
export class ModelImporterEditorState {
|
|
37
|
+
editorStore;
|
|
38
|
+
modelImporterState;
|
|
39
|
+
loadModelActionState = ActionState.create();
|
|
40
|
+
constructor(modelImporterState) {
|
|
41
|
+
this.editorStore = modelImporterState.editorStore;
|
|
42
|
+
this.modelImporterState = modelImporterState;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
46
|
+
nativeType = MODEL_IMPORT_NATIVE_INPUT_TYPE.ENTITIES;
|
|
47
|
+
modelText;
|
|
48
|
+
loadCurrentProjectActionState = ActionState.create();
|
|
49
|
+
constructor(modelImporterState) {
|
|
50
|
+
super(modelImporterState);
|
|
51
|
+
makeObservable(this, {
|
|
52
|
+
nativeType: observable,
|
|
53
|
+
modelText: observable,
|
|
54
|
+
loadModelActionState: observable,
|
|
55
|
+
setModelText: action,
|
|
56
|
+
setNativeImportType: action,
|
|
57
|
+
isLoadingDisabled: computed,
|
|
58
|
+
loadCurrentProjectEntities: flow,
|
|
59
|
+
});
|
|
60
|
+
this.modelText = this.getExampleEntitiesInputText();
|
|
61
|
+
}
|
|
62
|
+
get label() {
|
|
63
|
+
return this.nativeType;
|
|
64
|
+
}
|
|
65
|
+
get allowHardReplace() {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
get isLoadingDisabled() {
|
|
69
|
+
return this.loadCurrentProjectActionState.isInProgress;
|
|
70
|
+
}
|
|
71
|
+
setModelText(val) {
|
|
72
|
+
this.modelText = val;
|
|
73
|
+
}
|
|
74
|
+
setNativeImportType(nativeImportType) {
|
|
75
|
+
if (this.nativeType !== nativeImportType) {
|
|
76
|
+
this.nativeType = nativeImportType;
|
|
77
|
+
this.modelText = this.getNativeImportExampleText(nativeImportType);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
getNativeImportExampleText(inputType) {
|
|
81
|
+
switch (inputType) {
|
|
82
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_PROTOCOL:
|
|
83
|
+
return this.getExamplePureProtocolInputText();
|
|
84
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.ENTITIES:
|
|
85
|
+
return this.getExampleEntitiesInputText();
|
|
86
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_GRAMMAR:
|
|
87
|
+
return this.getExamplePureGrammarText();
|
|
88
|
+
default:
|
|
89
|
+
return '';
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
async loadEntites() {
|
|
93
|
+
switch (this.nativeType) {
|
|
94
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_PROTOCOL: {
|
|
95
|
+
return this.editorStore.graphManagerState.graphManager.pureProtocolTextToEntities(this.modelText);
|
|
96
|
+
}
|
|
97
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.ENTITIES: {
|
|
98
|
+
return JSON.parse(this.modelText);
|
|
99
|
+
}
|
|
100
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_GRAMMAR: {
|
|
101
|
+
return this.editorStore.graphManagerState.graphManager.pureCodeToEntities(this.modelText);
|
|
102
|
+
}
|
|
103
|
+
default:
|
|
104
|
+
throw new UnsupportedOperationError(`Can't load model for input of type '${this.nativeType}'`);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
*loadCurrentProjectEntities() {
|
|
108
|
+
this.loadCurrentProjectActionState.inProgress();
|
|
109
|
+
switch (this.nativeType) {
|
|
110
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_PROTOCOL: {
|
|
111
|
+
const graphEntities = this.editorStore.graphManagerState.graphBuildState
|
|
112
|
+
.hasSucceeded
|
|
113
|
+
? this.editorStore.graphManagerState.graph.allOwnElements.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))
|
|
114
|
+
: this.editorStore.changeDetectionState
|
|
115
|
+
.workspaceLocalLatestRevisionState.entities;
|
|
116
|
+
this.modelText =
|
|
117
|
+
(yield this.editorStore.graphManagerState.graphManager.entitiesToPureProtocolText(graphEntities));
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.ENTITIES: {
|
|
121
|
+
const graphEntities = this.editorStore.graphManagerState.graphBuildState
|
|
122
|
+
.hasSucceeded
|
|
123
|
+
? this.editorStore.graphManagerState.graph.allOwnElements.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))
|
|
124
|
+
: this.editorStore.changeDetectionState
|
|
125
|
+
.workspaceLocalLatestRevisionState.entities;
|
|
126
|
+
this.modelText = JSON.stringify(graphEntities, undefined, TAB_SIZE);
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_GRAMMAR: {
|
|
130
|
+
this.modelText =
|
|
131
|
+
(yield this.editorStore.graphManagerState.graphManager.graphToPureCode(this.editorStore.graphManagerState.graph));
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
default:
|
|
135
|
+
this.loadCurrentProjectActionState.fail();
|
|
136
|
+
throw new UnsupportedOperationError(`Can't load current project entities for input type of type '${this.nativeType}'`);
|
|
137
|
+
}
|
|
138
|
+
this.loadCurrentProjectActionState.complete();
|
|
139
|
+
}
|
|
140
|
+
getExampleEntitiesInputText() {
|
|
141
|
+
return `${JSON.stringify([
|
|
142
|
+
{
|
|
143
|
+
classifierPath: 'string',
|
|
144
|
+
content: {},
|
|
145
|
+
path: 'string',
|
|
146
|
+
},
|
|
147
|
+
], undefined, TAB_SIZE)}`;
|
|
148
|
+
}
|
|
149
|
+
getExamplePureProtocolInputText() {
|
|
150
|
+
return `${this.editorStore.graphManagerState.graphManager.getExamplePureProtocolText()}`;
|
|
151
|
+
}
|
|
152
|
+
getExamplePureGrammarText() {
|
|
153
|
+
return `###Pure\n Class model::A\n {\n\n}`;
|
|
154
|
+
}
|
|
155
|
+
async loadModel() {
|
|
156
|
+
try {
|
|
157
|
+
this.loadModelActionState.inProgress();
|
|
158
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
159
|
+
message: 'Loading model...',
|
|
160
|
+
prompt: 'Please do not close the application',
|
|
161
|
+
showLoading: true,
|
|
162
|
+
});
|
|
163
|
+
const entities = await this.loadEntites();
|
|
164
|
+
const message = `loading entities from ${this.editorStore.applicationStore.config.appName} [${this.modelImporterState.replace ? `potentially affected ` : ''} ${entities.length} entities]`;
|
|
165
|
+
await this.editorStore.sdlcServerClient.updateEntities(this.editorStore.sdlcState.activeProject.projectId, this.editorStore.sdlcState.activeWorkspace, { replace: this.modelImporterState.replace, entities, message });
|
|
166
|
+
this.editorStore.applicationStore.navigationService.navigator.reload({
|
|
167
|
+
ignoreBlocking: true,
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
catch (error) {
|
|
171
|
+
assertErrorThrown(error);
|
|
172
|
+
this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.MODEL_LOADER_FAILURE), error);
|
|
173
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
174
|
+
}
|
|
175
|
+
finally {
|
|
176
|
+
this.loadModelActionState.complete();
|
|
177
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert(undefined);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
export class ExtensionModelImportRendererState {
|
|
182
|
+
importerState;
|
|
183
|
+
constructor(importerState) {
|
|
184
|
+
this.importerState = importerState;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
export class ExtensionModelImporterEditorState extends ModelImporterEditorState {
|
|
188
|
+
config;
|
|
189
|
+
rendererState;
|
|
190
|
+
constructor(config, rendererState, modelImporterState) {
|
|
191
|
+
super(modelImporterState);
|
|
192
|
+
makeObservable(this, {
|
|
193
|
+
config: observable,
|
|
194
|
+
modelImporterState: observable,
|
|
195
|
+
loadModelActionState: observable,
|
|
196
|
+
rendererState: observable,
|
|
197
|
+
isLoadingDisabled: computed,
|
|
198
|
+
setExtension: action,
|
|
199
|
+
loadModel: flow,
|
|
200
|
+
});
|
|
201
|
+
this.config = config;
|
|
202
|
+
this.rendererState = rendererState;
|
|
203
|
+
}
|
|
204
|
+
get label() {
|
|
205
|
+
return this.config.label ?? this.config.key;
|
|
206
|
+
}
|
|
207
|
+
get allowHardReplace() {
|
|
208
|
+
return Boolean(this.config.allowHardReplace);
|
|
209
|
+
}
|
|
210
|
+
get isLoadingDisabled() {
|
|
211
|
+
return false;
|
|
212
|
+
}
|
|
213
|
+
setExtension(extensionConfiguration) {
|
|
214
|
+
this.config = extensionConfiguration;
|
|
215
|
+
}
|
|
216
|
+
async loadModel() {
|
|
217
|
+
await this.config.loadModel(this.rendererState);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
const DEFAULT_SCHEMA_PACKAGE = '__internal__';
|
|
221
|
+
const DEFAULT_SCHEMA_NAME = 'MyShemaSet';
|
|
222
|
+
export class ExternalFormatModelImporterState extends ModelImporterEditorState {
|
|
223
|
+
schemaSet;
|
|
224
|
+
schemaSetEditorState;
|
|
225
|
+
description;
|
|
226
|
+
isolatedSchemaGraph;
|
|
227
|
+
constructor(description, modelImporterState) {
|
|
228
|
+
super(modelImporterState);
|
|
229
|
+
makeObservable(this, {
|
|
230
|
+
schemaSet: observable,
|
|
231
|
+
schemaSetEditorState: observable,
|
|
232
|
+
loadModelActionState: observable,
|
|
233
|
+
description: observable,
|
|
234
|
+
isolatedSchemaGraph: observable,
|
|
235
|
+
setExternalFormat: action,
|
|
236
|
+
setDescription: action,
|
|
237
|
+
isLoadingDisabled: computed,
|
|
238
|
+
});
|
|
239
|
+
this.description = description;
|
|
240
|
+
this.schemaSet = new SchemaSet(DEFAULT_SCHEMA_NAME);
|
|
241
|
+
this.schemaSet.format = description.name;
|
|
242
|
+
observe_SchemaSet(this.schemaSet);
|
|
243
|
+
const emptyGraph = this.editorStore.graphManagerState.createEmptyGraph();
|
|
244
|
+
emptyGraph.addElement(this.schemaSet, DEFAULT_SCHEMA_PACKAGE);
|
|
245
|
+
this.isolatedSchemaGraph = emptyGraph;
|
|
246
|
+
this.schemaSetEditorState = new InnerSchemaSetEditorState(false, this.schemaSet, this.editorStore, this.isolatedSchemaGraph);
|
|
247
|
+
}
|
|
248
|
+
get allowHardReplace() {
|
|
249
|
+
return true;
|
|
250
|
+
}
|
|
251
|
+
get label() {
|
|
252
|
+
return this.schemaSet.format;
|
|
253
|
+
}
|
|
254
|
+
get isLoadingDisabled() {
|
|
255
|
+
return (!this.schemaSetEditorState.schemaSetModelGenerationState.canGenerate ||
|
|
256
|
+
this.schemaSetEditorState.schemaSetModelGenerationState
|
|
257
|
+
.generatingModelsState.isInProgress ||
|
|
258
|
+
this.schemaSetEditorState.schemaSetModelGenerationState
|
|
259
|
+
.importGeneratedElementsState.isInProgress);
|
|
260
|
+
}
|
|
261
|
+
setDescription(val) {
|
|
262
|
+
this.description = val;
|
|
263
|
+
}
|
|
264
|
+
setExternalFormat(description) {
|
|
265
|
+
if (description !== this.description) {
|
|
266
|
+
this.setDescription(description);
|
|
267
|
+
externalFormat_schemaSet_setFormat(this.schemaSet, this.description.name);
|
|
268
|
+
externalFormat_schemaSet_setSchemas(this.schemaSet, []);
|
|
269
|
+
this.schemaSetEditorState.reset();
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
async loadModel() {
|
|
273
|
+
this.loadModelActionState.inProgress();
|
|
274
|
+
try {
|
|
275
|
+
this.loadModelActionState.inProgress();
|
|
276
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
|
277
|
+
message: 'Loading model...',
|
|
278
|
+
prompt: 'Please do not close the application',
|
|
279
|
+
showLoading: true,
|
|
280
|
+
});
|
|
281
|
+
const modelgenerationstate = this.schemaSetEditorState.schemaSetModelGenerationState;
|
|
282
|
+
const entities = await flowResult(modelgenerationstate.getImportEntities());
|
|
283
|
+
if (modelgenerationstate.targetBinding) {
|
|
284
|
+
const schemaEntity = this.editorStore.graphManagerState.graphManager.elementToEntity(this.schemaSet);
|
|
285
|
+
entities.push(schemaEntity);
|
|
286
|
+
}
|
|
287
|
+
assertTrue(Boolean(entities.length), 'No entities to load');
|
|
288
|
+
const message = `loading entities from ${this.editorStore.applicationStore.config.appName} [${this.modelImporterState.replace ? `potentially affected ` : ''} ${entities.length} entities]`;
|
|
289
|
+
await this.editorStore.sdlcServerClient.updateEntities(this.editorStore.sdlcState.activeProject.projectId, this.editorStore.sdlcState.activeWorkspace, { replace: this.modelImporterState.replace, entities, message });
|
|
290
|
+
this.editorStore.applicationStore.navigationService.navigator.reload({
|
|
291
|
+
ignoreBlocking: true,
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
catch (error) {
|
|
295
|
+
assertErrorThrown(error);
|
|
296
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
297
|
+
}
|
|
298
|
+
finally {
|
|
299
|
+
this.loadModelActionState.complete();
|
|
300
|
+
this.editorStore.applicationStore.alertService.setBlockingAlert(undefined);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
export class ModelImporterState extends EditorState {
|
|
305
|
+
replace = true;
|
|
306
|
+
modelImportEditorState;
|
|
307
|
+
extensionConfigs = [];
|
|
308
|
+
constructor(editorStore) {
|
|
309
|
+
super(editorStore);
|
|
310
|
+
makeObservable(this, {
|
|
311
|
+
replace: observable,
|
|
312
|
+
modelImportEditorState: observable,
|
|
313
|
+
extensionConfigs: observable,
|
|
314
|
+
setReplaceFlag: action,
|
|
315
|
+
setModelImporterExtension: action,
|
|
316
|
+
setNativeImportType: action,
|
|
317
|
+
setExternalFormatImportFormat: action,
|
|
318
|
+
setImportEditorState: action,
|
|
319
|
+
});
|
|
320
|
+
this.modelImportEditorState = new NativeModelImporterEditorState(this);
|
|
321
|
+
this.extensionConfigs = this.editorStore.pluginManager
|
|
322
|
+
.getApplicationPlugins()
|
|
323
|
+
.flatMap((plugin) => plugin.getExtraModelImporterExtensionConfigurations?.() ?? [])
|
|
324
|
+
.filter(isNonNullable);
|
|
325
|
+
}
|
|
326
|
+
get label() {
|
|
327
|
+
return 'Model Importer';
|
|
328
|
+
}
|
|
329
|
+
match(tab) {
|
|
330
|
+
return tab instanceof ModelImporterState;
|
|
331
|
+
}
|
|
332
|
+
setReplaceFlag(val) {
|
|
333
|
+
this.replace = val;
|
|
334
|
+
}
|
|
335
|
+
setImportEditorState(val) {
|
|
336
|
+
this.modelImportEditorState = val;
|
|
337
|
+
}
|
|
338
|
+
setNativeImportType(nativeImportType) {
|
|
339
|
+
const nativeEditorState = this.modelImportEditorState instanceof NativeModelImporterEditorState
|
|
340
|
+
? this.modelImportEditorState
|
|
341
|
+
: new NativeModelImporterEditorState(this);
|
|
342
|
+
nativeEditorState.setNativeImportType(nativeImportType);
|
|
343
|
+
this.setImportEditorState(nativeEditorState);
|
|
344
|
+
return nativeEditorState;
|
|
345
|
+
}
|
|
346
|
+
setExternalFormatImportFormat(externalFormat) {
|
|
347
|
+
const extensionEditorState = this.modelImportEditorState instanceof ExternalFormatModelImporterState
|
|
348
|
+
? this.modelImportEditorState
|
|
349
|
+
: new ExternalFormatModelImporterState(externalFormat, this);
|
|
350
|
+
extensionEditorState.setExternalFormat(externalFormat);
|
|
351
|
+
this.setImportEditorState(extensionEditorState);
|
|
352
|
+
return extensionEditorState;
|
|
353
|
+
}
|
|
354
|
+
setModelImporterExtension(extension) {
|
|
355
|
+
if (this.modelImportEditorState instanceof
|
|
356
|
+
ExtensionModelImporterEditorState &&
|
|
357
|
+
this.modelImportEditorState.config === extension) {
|
|
358
|
+
return this.modelImportEditorState;
|
|
359
|
+
}
|
|
360
|
+
else {
|
|
361
|
+
const modelImporterEditorState = new ExtensionModelImporterEditorState(extension, extension.getExtensionModelImportRendererStateCreator(this), this);
|
|
362
|
+
this.setImportEditorState(modelImporterEditorState);
|
|
363
|
+
return modelImporterEditorState;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
//# sourceMappingURL=ModelImporterState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelImporterState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/ModelImporterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,yBAAyB,EACzB,aAAa,EACb,WAAW,EACX,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAGpF,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,C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AgC;YACrE,CAAC,CAAC,IAAI,CAAC,sBAAsB;YAC7B,CAAC,CAAC,IAAI,gCAAgC,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QACjE,oBAAoB,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;QACvD,IAAI,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;QAChD,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,yBAAyB,CACvB,SAA8C;QAE9C,IACE,IAAI,CAAC,sBAAsB;YACzB,iCAAiC;YACnC,IAAI,CAAC,sBAAsB,CAAC,MAAM,KAAK,SAAS,EAChD;YACA,OAAO,IAAI,CAAC,sBAAsB,CAAC;SACpC;aAAM;YACL,MAAM,wBAAwB,GAAG,IAAI,iCAAiC,CACpE,SAAS,EACT,SAAS,CAAC,2CAA2C,CAAC,IAAI,CAAC,EAC3D,IAAI,CACL,CAAC;YACF,IAAI,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;YACpD,OAAO,wBAAwB,CAAC;SACjC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnsupportedElementEditorState.d.ts","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/UnsupportedElementEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAE9D,qBAAa,6BAA8B,SAAQ,kBAAkB;IACnE,SAAS,CACP,UAAU,EAAE,kBAAkB,EAC9B,WAAW,EAAE,WAAW,GACvB,kBAAkB;CAGtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnsupportedElementEditorState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/UnsupportedElementEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAIlF,MAAM,OAAO,6BAA8B,SAAQ,kBAAkB;IACnE,SAAS,CACP,UAA8B,EAC9B,WAAwB;QAExB,OAAO,IAAI,6BAA6B,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IACpE,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ClassEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,cAAc,EAAkB,MAAM,qBAAqB,CAAC;AAMrE,OAAO,EACL,UAAU,EAGX,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EAGrB,KAAK,EACN,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,gBAAiB,SAAQ,cAAc;IAClD,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,EAAE,gBAAgB,GAAG,SAAS,CAAC;gBAEnC,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB;IAcjE,IAAI,KAAK,IAAI,KAAK,CAMjB;IAED,mBAAmB,CAAC,GAAG,EAAE,gBAAgB,GAAG,SAAS,GAAG,IAAI;IAInD,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IA0CnE,qBAAqB,IAAI,IAAI;IAS7B,SAAS,CAChB,UAAU,EAAE,KAAK,EACjB,WAAW,EAAE,WAAW,GACvB,gBAAgB;CAKpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/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5B,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,eAAe,EAAE,EAAE,CAC3D,eAAe,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAC/C,CAAC;QACF,IAAI,CAAC,UAAU,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CACxD,OAAO,CAAC,mBAAmB,CAAC,SAAS,CAAC,CACvC,CAAC;IACJ,CAAC;IAEQ,SAAS,CAChB,UAAiB,EACjB,WAAwB;QAExB,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QACvE,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;QAChD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ClassState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAIjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,KAAK,EACV,KAAK,UAAU,EACf,KAAK,eAAe,EAIpB,SAAS,EAMV,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,eAAO,MAAM,0BAA0B,eAAe,CAAC;AACvD,eAAO,MAAM,gCAAgC,oBAAoB,CAAC;AAElE,qBAAa,oBAAqB,SAAQ,iBAAiB;IACzD,eAAe,EAAE,eAAe,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC;gBAEb,eAAe,EAAE,eAAe,EAAE,WAAW,EAAE,WAAW;IAatE,IAAI,QAAQ,IAAI,MAAM,CAOrB;IAED,oBAAoB,CAAC,MAAM,EAAE,S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,IAAI;CAcjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ClassState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAIL,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,SAAS,EACT,8BAA8B,EAC9B,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gCAAgC,EAChC,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,CAAC,MAAM,0BAA0B,GAAG,YAAY,CAAC;AACvD,MAAM,CAAC,MAAM,gCAAgC,GAAG,iBAAiB,CAAC;AAElE,MAAM,OAAO,oBAAqB,SAAQ,iBAAiB;IACzD,eAAe,CAAkB;IACjC,WAAW,CAAc;IAEzB,YAAY,eAAgC,EAAE,WAAwB;QACpE,KAAK,CAAC,GAAG,WAAW,IAAI,EAAE,EAAE,CAAC,CAAC;QAE9B,cAAc,CAAC,IAAI,EAAE;YACnB,eAAe,EAAE,UAAU;YAC3B,WAAW,EAAE,UAAU;YACvB,oBAAoB,EAAE,MAAM;SAC7B,CAAC,CAAC;QAEH,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,8BAA8B,CAAC;YACpC,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI;YAChC,gCAA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G,KAAK,CAAC;aACvD;SACF;IACH,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,gBAAgB,GAAG,sBAAsB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAC5D,CAAC,UAAU,EAAE,EAAE,CACb,IAAI,CAAC,gBAAgB,CAAC,IAAI,CACxB,CAAC,eAAe,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,KAAK,UAAU,CAC/D,IAAI,IAAI,eAAe,CAAC,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC,CACzD,CAAC;QACF,IAAI,CAAC,qBAAqB,GAAG,4BAA4B,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CACvE,CAAC,EAAE,EAAE,EAAE,CACL,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAC7B,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,eAAe,KAAK,EAAE,CACxC,IAAI,IAAI,oBAAoB,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,CACtD,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElementEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EACL,KAAK,WAAW,EAIjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAGxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2CAA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IAI3E,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,GAAG,IAAI;IA4B5E,uBAAuB,IAAI,IAAI;IA2B9B,sBAAsB,IAAI,WAAW,CAAC,IAAI,CAAC;IA0B5C;;;OAGG;IACH,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IAInE,qBAAqB,IAAI,IAAI;IAIpB,MAAM,IAAI,IAAI;IAIvB;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,CAChB,UAAU,EAAE,kBAAkB,EAC9B,WAAW,EAAE,WAAW,GACvB,kBAAkB;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElementEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAIrD,MAAM,gCAAgC,GAAG,CACvC,OAAe,EACf,KAAY,EACJ,EAAE,CACV,WAAW,OAAO,YAAY,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;AAE9E,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,8DAAmC,CAAA;IACnC,8DAAmC,CAAA;AACrC,CAAC,EAHW,u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AAmB,CAAC,eAAe,CAAC,EACpD,KAAK,CACN,CAAC;SACH;IACH,CAAC;IAED,CAAC,sBAAsB;QACrB,IAAI;YACF,MAAM,OAAO,GACX,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,kBAAkB,CACvE;gBACE,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,eAAe,CAC7D,IAAI,CAAC,OAAO,CACb;aACF,CACF,CAAW,CAAC;YACf,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;SAC9B;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,cAAc,CACjB,gCAAgC,CAC9B,yCAAyC,EACzC,KAAK,CACN,CACF,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,eAAe,CAAC,EACpD,KAAK,CACN,CAAC;SACH;IACH,CAAC;IAED;;;OAGG;IACH,sBAAsB,CAAC,gBAAkC;QACvD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,qBAAqB;QACnB,OAAO;IACT,CAAC;IAEQ,MAAM;QACb,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;CAgBF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElementExternalFormatGenerationState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EAGvB,qBAAqB,EACrB,SAAS,EAIV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAOjB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAOxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAGxE,qBAAa,wCAAwC;IACnD,uBAAuB,EAAE,qBAAqB,EAAE,CAAM;IACtD,SAAS,EAAE,SAAS,CAAC;;CAQtB;AAQD,qBAAa,iBAAkB,SAAQ,2BAA2B;IAChE,QAAQ,CAAC,8BAA8B,EAAE,8BAA8B,CAAC;IACxE,QAAQ,CAAC,mBAAmB,EAAE,wCAAwC,CAAC;gBAGrE,8BAA8B,EAAE,8BAA8B,EAC9D,cAAc,EAAE,wCAAwC;IAgB1D,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED,IAAI,kBAAkB,IAAI,SAAS,CAElC;IAED,cAAc,IAAI,IAAI;IAIrB,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAuC9B,kCAAkC,CAChC,UAAU,EAAE,qBAAqB,EAAE,GAClC,IAAI;IAsBP,8BAA8B,CAC5B,MAAM,EAAE,wCAAwC,EAChD,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,OAAO,GAChB,IAAI;CA8DR;AAED,qBAAa,8BAA8B;IACzC,QAAQ,CAAC,IAAI,SAAU;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,EAAE,yBAAyB,CAAC;IACvC,iBAAiB,EAAE,iBAAiB,CAAC;gBAGnC,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,yBAAyB;IAevC,UAAU,IAAI,WAAW,CAAC,IAAI,CAAC;CAYjC"}
|
package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { GenerationOutput, ConfigurationProperty, ModelUnit, observe_ModelUnit, GenerationPropertyItemType, PackageableElementExplicitReference, } from '@finos/legend-graph';
|
|
17
|
+
import { uuid, assertErrorThrown, LogEvent, isEmpty, deepEqual, AssertionError, } from '@finos/legend-shared';
|
|
18
|
+
import { action, flow, flowResult, makeObservable, observable } from 'mobx';
|
|
19
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../../application/LegendStudioEvent.js';
|
|
20
|
+
import { GENERATION_FILE_ROOT_NAME } from '../../shared/FileSystemTreeUtils.js';
|
|
21
|
+
import { configurationProperty_addConfigurationProperty, configurationProperty_setValue, } from '../../shared/modifier/DSL_Generation_GraphModifierHelper.js';
|
|
22
|
+
import { GeneratedFileStructureState } from '../FileGenerationState.js';
|
|
23
|
+
import { ElementEditorState } from './ElementEditorState.js';
|
|
24
|
+
export class ExternalFormatConfigurationSpecification {
|
|
25
|
+
configurationProperties = [];
|
|
26
|
+
modelUnit;
|
|
27
|
+
constructor() {
|
|
28
|
+
makeObservable(this, {
|
|
29
|
+
configurationProperties: observable,
|
|
30
|
+
});
|
|
31
|
+
this.modelUnit = observe_ModelUnit(new ModelUnit());
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const getNullableFileGenerationConfig = (config, name) => config.configurationProperties.find((property) => name === property.name);
|
|
35
|
+
export class XTGenerationState extends GeneratedFileStructureState {
|
|
36
|
+
elementXTSchemaGenerationState;
|
|
37
|
+
configSpecification;
|
|
38
|
+
constructor(elementXTSchemaGenerationState, fileGeneration) {
|
|
39
|
+
super(GENERATION_FILE_ROOT_NAME, elementXTSchemaGenerationState.editorStore);
|
|
40
|
+
makeObservable(this, {
|
|
41
|
+
configSpecification: observable,
|
|
42
|
+
resetGenerator: action,
|
|
43
|
+
updateFileGenerationParameters: action,
|
|
44
|
+
generate: flow,
|
|
45
|
+
});
|
|
46
|
+
this.elementXTSchemaGenerationState = elementXTSchemaGenerationState;
|
|
47
|
+
this.configSpecification = fileGeneration;
|
|
48
|
+
}
|
|
49
|
+
get rootFolder() {
|
|
50
|
+
return '';
|
|
51
|
+
}
|
|
52
|
+
get generationParentId() {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
resetGenerator() {
|
|
56
|
+
this.configSpecification.configurationProperties = [];
|
|
57
|
+
}
|
|
58
|
+
*generate() {
|
|
59
|
+
this.generatingAction.inProgress();
|
|
60
|
+
try {
|
|
61
|
+
const modelUnit = this.configSpecification.modelUnit;
|
|
62
|
+
const properties = [...this.configSpecification.configurationProperties];
|
|
63
|
+
this.addInferredConfigurationProperties(properties);
|
|
64
|
+
const result = (yield this.editorStore.graphManagerState.graphManager.generateSchemaFromExternalFormatConfig(modelUnit, undefined, properties, this.editorStore.graphManagerState.graph));
|
|
65
|
+
const output = result
|
|
66
|
+
.map((schemaSet) => schemaSet.schemas.map((e) => {
|
|
67
|
+
const o = new GenerationOutput();
|
|
68
|
+
o.content = e.content;
|
|
69
|
+
o.fileName = e.location ?? '';
|
|
70
|
+
o.format = schemaSet.format;
|
|
71
|
+
return o;
|
|
72
|
+
}))
|
|
73
|
+
.flat();
|
|
74
|
+
this.processGenerationResult(output);
|
|
75
|
+
}
|
|
76
|
+
catch (error) {
|
|
77
|
+
assertErrorThrown(error);
|
|
78
|
+
this.fileSystemState.selectedNode = undefined;
|
|
79
|
+
this.processGenerationResult([]);
|
|
80
|
+
this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE), error);
|
|
81
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
82
|
+
}
|
|
83
|
+
finally {
|
|
84
|
+
this.generatingAction.complete();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
addInferredConfigurationProperties(properties) {
|
|
88
|
+
const SCHEMA_FORMAT_PROPERTY_NAME = 'format';
|
|
89
|
+
if (!properties.find((e) => e.name === SCHEMA_FORMAT_PROPERTY_NAME)) {
|
|
90
|
+
const genProperty = new ConfigurationProperty(SCHEMA_FORMAT_PROPERTY_NAME, this.elementXTSchemaGenerationState.description.name);
|
|
91
|
+
properties.push(genProperty);
|
|
92
|
+
}
|
|
93
|
+
this.elementXTSchemaGenerationState.description.schemaGenerationProperties
|
|
94
|
+
.filter((property) => property.required &&
|
|
95
|
+
property.defaultValue &&
|
|
96
|
+
!properties.find((pv) => pv.name === property.name))
|
|
97
|
+
.forEach((toAdd) => {
|
|
98
|
+
const value = new ConfigurationProperty(toAdd.name, toAdd.defaultValue);
|
|
99
|
+
configurationProperty_addConfigurationProperty(properties, value);
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
updateFileGenerationParameters(config, generationProperty, newValue) {
|
|
103
|
+
if (generationProperty.type === GenerationPropertyItemType.MAP) {
|
|
104
|
+
if (!newValue ||
|
|
105
|
+
isEmpty(newValue) ||
|
|
106
|
+
deepEqual(newValue, generationProperty.defaultValue)) {
|
|
107
|
+
config.configurationProperties = config.configurationProperties.filter((e) => e.name !== generationProperty.name);
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
const configProperty = getNullableFileGenerationConfig(config, generationProperty.name);
|
|
111
|
+
if (configProperty) {
|
|
112
|
+
configurationProperty_setValue(configProperty, {
|
|
113
|
+
...newValue,
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
else {
|
|
117
|
+
const newItem = new ConfigurationProperty(generationProperty.name, newValue);
|
|
118
|
+
configurationProperty_addConfigurationProperty(config.configurationProperties, newItem);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
const configProperty = getNullableFileGenerationConfig(config, generationProperty.name);
|
|
124
|
+
let useDefaultValue = generationProperty.defaultValue === newValue;
|
|
125
|
+
if (generationProperty.type === GenerationPropertyItemType.BOOLEAN) {
|
|
126
|
+
useDefaultValue =
|
|
127
|
+
(generationProperty.defaultValue === 'true') ===
|
|
128
|
+
newValue;
|
|
129
|
+
}
|
|
130
|
+
const newConfigValue = useDefaultValue ? undefined : newValue;
|
|
131
|
+
if (newConfigValue !== undefined) {
|
|
132
|
+
if (configProperty) {
|
|
133
|
+
configurationProperty_setValue(configProperty, newConfigValue);
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
const newItem = new ConfigurationProperty(generationProperty.name, newConfigValue);
|
|
137
|
+
configurationProperty_addConfigurationProperty(config.configurationProperties, newItem);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
config.configurationProperties = config.configurationProperties.filter((e) => e.name !== generationProperty.name);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
export class ElementXTSchemaGenerationState {
|
|
147
|
+
uuid = uuid();
|
|
148
|
+
editorStore;
|
|
149
|
+
description;
|
|
150
|
+
xtGenerationState;
|
|
151
|
+
constructor(editorStore, description) {
|
|
152
|
+
makeObservable(this, {
|
|
153
|
+
xtGenerationState: observable,
|
|
154
|
+
regenerate: flow,
|
|
155
|
+
});
|
|
156
|
+
this.editorStore = editorStore;
|
|
157
|
+
this.description = description;
|
|
158
|
+
this.xtGenerationState = new XTGenerationState(this, new ExternalFormatConfigurationSpecification());
|
|
159
|
+
}
|
|
160
|
+
*regenerate() {
|
|
161
|
+
const currentState = this.editorStore.tabManagerState.currentTab;
|
|
162
|
+
if (currentState instanceof ElementEditorState) {
|
|
163
|
+
this.xtGenerationState.configSpecification.modelUnit.packageableElementIncludes =
|
|
164
|
+
[PackageableElementExplicitReference.create(currentState.element)];
|
|
165
|
+
yield flowResult(this.xtGenerationState.generate());
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
throw new AssertionError('Generation state must have at least an element editor opened');
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
//# sourceMappingURL=ElementExternalFormatGenerationState.js.map
|