@finos/legend-application-studio 23.0.0 → 23.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.d.ts +21 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.d.ts.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.js +74 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioCodeSnippet.js.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/application/DSL_ExternalFormat_LegendStudioDocumentation.js.map +1 -0
- package/lib/application/LegendStudio.js +1 -1
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/application/LegendStudioCodeSnippet.d.ts +45 -0
- package/lib/application/LegendStudioCodeSnippet.d.ts.map +1 -0
- package/lib/application/LegendStudioCodeSnippet.js +322 -0
- package/lib/application/LegendStudioCodeSnippet.js.map +1 -0
- package/lib/application/LegendStudioEvent.d.ts +12 -1
- package/lib/application/LegendStudioEvent.d.ts.map +1 -1
- package/lib/application/LegendStudioEvent.js +12 -0
- package/lib/application/LegendStudioEvent.js.map +1 -1
- package/lib/application/LegendStudioNavigation.d.ts +1 -2
- package/lib/application/LegendStudioNavigation.d.ts.map +1 -1
- package/lib/application/LegendStudioNavigation.js +1 -22
- package/lib/application/LegendStudioNavigation.js.map +1 -1
- package/lib/application/LegendStudioPluginManager.js +1 -1
- package/lib/application/LegendStudioPluginManager.js.map +1 -1
- package/lib/application/LegendStudioTesting.d.ts +47 -0
- package/lib/application/LegendStudioTesting.d.ts.map +1 -0
- package/lib/application/LegendStudioTesting.js +52 -0
- package/lib/application/LegendStudioTesting.js.map +1 -0
- package/lib/components/EditorComponentTestUtils.d.ts +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +3 -3
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +1 -1
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.d.ts.map +1 -1
- package/lib/components/editor/ActivityBar.js +2 -2
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +1 -1
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.d.ts +1 -1
- package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +1 -1
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/StatusBar.js +2 -2
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
- package/lib/components/editor/aux-panel/Problems.js +1 -1
- package/lib/components/editor/aux-panel/Problems.js.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.js +19 -19
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +6 -6
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +4 -4
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +3 -3
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +2 -2
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +3 -3
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +2 -2
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +5 -5
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +3 -3
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +2 -2
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +2 -2
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +4 -4
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +6 -6
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +9 -9
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +7 -7
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +7 -7
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +6 -6
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +13 -8
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js +165 -0
- package/lib/components/editor/edit-panel/mapping-editor/TypeTree.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js +3 -3
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +3 -3
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +3 -3
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +4 -4
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +3 -3
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +5 -5
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +6 -6
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +3 -3
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js +3 -3
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +8 -8
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +6 -6
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js +19 -7
- package/lib/components/editor/side-bar/ProjectDependantsEditor.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +3 -2
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +1 -1
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.js +1 -1
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +4 -4
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +4 -4
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +4 -4
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +3 -3
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/element-preview/ElementPreview.d.ts +2 -0
- package/lib/components/element-preview/ElementPreview.d.ts.map +1 -0
- package/lib/components/element-preview/ElementPreview.js +2 -0
- package/lib/components/element-preview/ElementPreview.js.map +1 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts +27 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +90 -0
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +43 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +301 -0
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/project-view/ProjectViewer.d.ts.map +1 -0
- package/lib/components/project-view/ProjectViewer.js +151 -0
- package/lib/components/project-view/ProjectViewer.js.map +1 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.d.ts +23 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.d.ts.map +1 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.js +36 -0
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -0
- package/lib/components/shared/ElementIconUtils.d.ts +1 -1
- package/lib/components/shared/ElementIconUtils.d.ts.map +1 -1
- package/lib/components/shared/ElementIconUtils.js +1 -1
- package/lib/components/shared/ElementIconUtils.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.js +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js +3 -3
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js +1 -1
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.d.ts.map +1 -0
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.d.ts.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSetup.js +3 -3
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +42 -42
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +41 -41
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.d.ts +4 -4
- package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +1 -0
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/editor/AbstractConflictResolutionState.d.ts.map +1 -0
- package/lib/stores/editor/AbstractConflictResolutionState.js.map +1 -0
- package/lib/stores/editor/ChangeDetectionState.d.ts.map +1 -0
- package/lib/stores/editor/ChangeDetectionState.js +599 -0
- package/lib/stores/editor/ChangeDetectionState.js.map +1 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.d.ts +19 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.d.ts.map +1 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.js +23 -0
- package/lib/stores/editor/DependencyProjectViewerHelper.js.map +1 -0
- package/lib/stores/editor/EditorConfig.d.ts.map +1 -0
- package/lib/stores/editor/EditorConfig.js.map +1 -0
- package/lib/stores/editor/EditorGraphState.d.ts.map +1 -0
- package/lib/stores/editor/EditorGraphState.js +529 -0
- package/lib/stores/editor/EditorGraphState.js.map +1 -0
- package/lib/stores/editor/EditorSDLCState.d.ts.map +1 -0
- package/lib/stores/editor/EditorSDLCState.js +271 -0
- package/lib/stores/editor/EditorSDLCState.js.map +1 -0
- package/lib/stores/editor/EditorStore.d.ts +135 -0
- package/lib/stores/editor/EditorStore.d.ts.map +1 -0
- package/lib/stores/editor/EditorStore.js +701 -0
- package/lib/stores/editor/EditorStore.js.map +1 -0
- package/lib/stores/editor/EditorStoreTestUtils.d.ts +21 -0
- package/lib/stores/editor/EditorStoreTestUtils.d.ts.map +1 -0
- package/lib/stores/editor/EditorStoreTestUtils.js +53 -0
- package/lib/stores/editor/EditorStoreTestUtils.js.map +1 -0
- package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -0
- package/lib/stores/editor/EditorTabManagerState.js.map +1 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/EmbeddedQueryBuilderState.js.map +1 -0
- package/lib/stores/editor/ExplorerTreeState.d.ts.map +1 -0
- package/lib/stores/editor/ExplorerTreeState.js +328 -0
- package/lib/stores/editor/ExplorerTreeState.js.map +1 -0
- package/lib/stores/editor/GraphEditFormModeState.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditFormModeState.js +370 -0
- package/lib/stores/editor/GraphEditFormModeState.js.map +1 -0
- package/lib/stores/editor/GraphEditGrammarModeState.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditGrammarModeState.js +315 -0
- package/lib/stores/editor/GraphEditGrammarModeState.js.map +1 -0
- package/lib/stores/editor/GraphEditorMode.d.ts.map +1 -0
- package/lib/stores/editor/GraphEditorMode.js.map +1 -0
- package/lib/stores/editor/NewElementState.d.ts +3 -3
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +9 -9
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/StandardEditorMode.d.ts +1 -1
- package/lib/stores/editor/StandardEditorMode.d.ts.map +1 -1
- package/lib/stores/editor/aux-panel-state/DevToolState.d.ts.map +1 -0
- package/lib/stores/editor/aux-panel-state/DevToolState.js.map +1 -0
- package/lib/stores/editor/editor-state/EditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/EditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.js +83 -0
- package/lib/stores/editor/editor-state/ExternalFormatState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationState.js +174 -0
- package/lib/stores/editor/editor-state/FileGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationViewerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationViewerState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileSystemState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/FileSystemState.js.map +1 -0
- package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GenerationSpecificationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.js +158 -0
- package/lib/stores/editor/editor-state/GrammarTextEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.js +344 -0
- package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/ModelImporterState.d.ts +101 -0
- package/lib/stores/editor/editor-state/ModelImporterState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/ModelImporterState.js +367 -0
- package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -0
- package/lib/stores/editor/editor-state/UnsupportedElementEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/UnsupportedElementEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ClassState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +172 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js +70 -0
- package/lib/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FileGenerationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +425 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +398 -0
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +108 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +42 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js +483 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +55 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +229 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +247 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +224 -0
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +143 -0
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +179 -0
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +212 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +315 -0
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -0
- package/lib/stores/editor/shared/DnDUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/DnDUtils.js.map +1 -0
- package/lib/stores/editor/shared/FileSystemTreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/FileSystemTreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/MockDataUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/MockDataUtils.js.map +1 -0
- package/lib/stores/editor/shared/ModelClassifierUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/ModelClassifierUtils.js.map +1 -0
- package/lib/stores/editor/shared/PackageTreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/PackageTreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/TestableUtils.d.ts +45 -0
- package/lib/stores/editor/shared/TestableUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/TestableUtils.js +143 -0
- package/lib/stores/editor/shared/TestableUtils.js.map +1 -0
- package/lib/stores/editor/shared/TreeUtils.d.ts.map +1 -0
- package/lib/stores/editor/shared/TreeUtils.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Data_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/DomainGraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/editor/shared/modifier/Testable_GraphModifierHelper.js.map +1 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts +51 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +237 -0
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.js +543 -0
- package/lib/stores/editor/sidebar-state/LocalChangesState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectDependantEditorState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +234 -0
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +356 -0
- package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js +272 -0
- package/lib/stores/editor/sidebar-state/WorkspaceReviewState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js +382 -0
- package/lib/stores/editor/sidebar-state/WorkspaceSyncState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js +474 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js +215 -0
- package/lib/stores/editor/sidebar-state/WorkspaceUpdaterState.js.map +1 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts +100 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -0
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +52 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +45 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +129 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +25 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +31 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +97 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/project-view/ProjectViewerEditorMode.d.ts.map +1 -0
- package/lib/stores/project-view/ProjectViewerEditorMode.js.map +1 -0
- package/lib/stores/project-view/ProjectViewerStore.d.ts +56 -0
- package/lib/stores/project-view/ProjectViewerStore.d.ts.map +1 -0
- package/lib/stores/project-view/ProjectViewerStore.js +351 -0
- package/lib/stores/project-view/ProjectViewerStore.js.map +1 -0
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.js +3 -4
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
- package/package.json +4 -4
- package/src/application/LegendStudio.tsx +1 -1
- package/src/application/LegendStudioEvent.ts +17 -0
- package/src/application/LegendStudioNavigation.ts +1 -42
- package/src/application/LegendStudioPluginManager.ts +1 -1
- package/src/components/EditorComponentTestUtils.tsx +3 -3
- package/src/components/EmbeddedQueryBuilder.tsx +1 -1
- package/src/components/LegendStudioApplication.tsx +8 -1
- package/src/components/editor/ActivityBar.tsx +5 -2
- package/src/components/editor/Editor.tsx +1 -1
- package/src/components/editor/EditorStoreProvider.tsx +1 -1
- package/src/components/editor/StatusBar.tsx +2 -2
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +1 -1
- package/src/components/editor/aux-panel/Problems.tsx +2 -2
- package/src/components/editor/edit-panel/EditPanel.tsx +19 -19
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +1 -1
- package/src/components/editor/edit-panel/FunctionEditor.tsx +7 -7
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -7
- package/src/components/editor/edit-panel/ModelImporter.tsx +2 -2
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +7 -7
- package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +5 -5
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +2 -2
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +6 -6
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +5 -5
- package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +1 -1
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +2 -2
- package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/ElementNativeView.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/ElementXTGenerationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +6 -6
- package/src/components/editor/edit-panel/element-generation-editor/FileSystemViewer.tsx +4 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +3 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx +4 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +3 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +3 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +6 -6
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +11 -11
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +6 -6
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +7 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +7 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +6 -6
- package/src/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +32 -9
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/TypeTree.tsx +293 -0
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectDependencyEditor.tsx +3 -3
- package/src/components/editor/edit-panel/service-editor/BulkServiceRegistrationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +3 -3
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +4 -4
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +6 -6
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +3 -3
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +6 -6
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +3 -3
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +3 -3
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +4 -4
- package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/UMLEditor.tsx +1 -1
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +8 -8
- package/src/components/editor/side-bar/Explorer.tsx +9 -9
- package/src/components/editor/side-bar/LocalChanges.tsx +6 -6
- package/src/components/editor/side-bar/ProjectDependantsEditor.tsx +16 -20
- package/src/components/editor/side-bar/ProjectOverview.tsx +3 -2
- package/src/components/editor/side-bar/RegisterService.tsx +2 -2
- package/src/components/editor/side-bar/SideBar.tsx +1 -1
- package/src/components/editor/side-bar/WorkflowManager.tsx +2 -2
- package/src/components/editor/side-bar/WorkspaceReview.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +4 -4
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +4 -4
- package/src/components/element-preview/ElementPreview.tsx +0 -0
- package/src/components/extensions/Core_LegendStudioApplicationPlugin.tsx +112 -0
- package/src/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +453 -0
- package/src/components/project-view/ProjectViewer.tsx +356 -0
- package/src/components/project-view/ProjectViewerStoreProvider.tsx +56 -0
- package/src/components/shared/ElementIconUtils.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReview.tsx +1 -1
- package/src/components/workspace-review/WorkspaceReviewPanel.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +3 -3
- package/src/components/workspace-review/WorkspaceReviewStoreProvider.tsx +1 -1
- package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
- package/src/components/workspace-setup/WorkspaceSetup.tsx +3 -3
- package/src/index.ts +42 -41
- package/src/stores/LegendStudioApplicationPlugin.ts +7 -4
- package/src/stores/LegendStudioBaseStore.ts +1 -0
- package/src/stores/editor/ChangeDetectionState.ts +954 -0
- package/src/stores/editor/DependencyProjectViewerHelper.ts +39 -0
- package/src/stores/editor/EditorGraphState.ts +841 -0
- package/src/stores/editor/EditorSDLCState.ts +480 -0
- package/src/stores/editor/EditorStore.ts +977 -0
- package/src/stores/editor/EditorStoreTestUtils.ts +70 -0
- package/src/stores/editor/EditorTabManagerState.ts +203 -0
- package/src/stores/editor/ExplorerTreeState.ts +548 -0
- package/src/stores/editor/GraphEditFormModeState.ts +605 -0
- package/src/stores/editor/GraphEditGrammarModeState.ts +512 -0
- package/src/stores/editor/NewElementState.ts +12 -12
- package/src/stores/editor/StandardEditorMode.ts +1 -1
- package/src/stores/editor/editor-state/ExternalFormatState.ts +119 -0
- package/src/stores/editor/editor-state/FileGenerationState.ts +285 -0
- package/src/stores/editor/editor-state/GrammarTextEditorState.ts +201 -0
- package/src/stores/editor/editor-state/GraphGenerationState.ts +560 -0
- package/src/stores/editor/editor-state/ModelImporterState.ts +539 -0
- package/src/stores/editor/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +266 -0
- package/src/stores/editor/editor-state/element-editor-state/ElementFileGenerationState.ts +100 -0
- package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +935 -0
- package/src/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.ts +539 -0
- package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +644 -0
- package/src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts +351 -0
- package/src/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +585 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.ts +1512 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +794 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +58 -0
- package/src/stores/editor/editor-state/element-editor-state/mapping/MappingExecutionState.ts +980 -0
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +368 -0
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +398 -0
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +314 -0
- package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +213 -0
- package/src/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +244 -0
- package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +346 -0
- package/src/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +450 -0
- package/src/stores/editor/shared/PackageTreeUtils.ts +469 -0
- package/src/stores/editor/shared/TestableUtils.ts +219 -0
- package/src/stores/editor/sidebar-state/BulkServiceRegistrationState.ts +370 -0
- package/src/stores/editor/sidebar-state/LocalChangesState.ts +876 -0
- package/src/stores/editor/sidebar-state/ProjectOverviewState.ts +391 -0
- package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +645 -0
- package/src/stores/editor/sidebar-state/WorkspaceReviewState.ts +409 -0
- package/src/stores/editor/sidebar-state/WorkspaceSyncState.ts +578 -0
- package/src/stores/editor/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +736 -0
- package/src/stores/editor/sidebar-state/WorkspaceUpdaterState.ts +367 -0
- package/src/stores/editor/sidebar-state/testable/GlobalTestRunnerState.ts +641 -0
- package/src/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +70 -0
- package/src/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +52 -0
- package/src/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +212 -0
- package/src/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +32 -0
- package/src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +40 -0
- package/src/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +167 -0
- package/src/stores/project-view/ProjectViewerStore.ts +614 -0
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +4 -5
- package/tsconfig.json +114 -115
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +0 -27
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.js +0 -90
- package/lib/components/Core_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts +0 -21
- package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.js +0 -74
- package/lib/components/DSL_ExternalFormat_CodeSnippets.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts +0 -43
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +0 -301
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/LegendStudioTestID.d.ts +0 -47
- package/lib/components/LegendStudioTestID.d.ts.map +0 -1
- package/lib/components/LegendStudioTestID.js +0 -52
- package/lib/components/LegendStudioTestID.js.map +0 -1
- package/lib/components/project-viewer/ProjectViewer.d.ts.map +0 -1
- package/lib/components/project-viewer/ProjectViewer.js +0 -151
- package/lib/components/project-viewer/ProjectViewer.js.map +0 -1
- package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts +0 -23
- package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts.map +0 -1
- package/lib/components/project-viewer/ProjectViewerStoreProvider.js +0 -36
- package/lib/components/project-viewer/ProjectViewerStoreProvider.js.map +0 -1
- package/lib/components/shared/MultiplicityBadge.d.ts +0 -21
- package/lib/components/shared/MultiplicityBadge.d.ts.map +0 -1
- package/lib/components/shared/MultiplicityBadge.js +0 -25
- package/lib/components/shared/MultiplicityBadge.js.map +0 -1
- package/lib/components/shared/ProjectSelectorUtils.d.ts.map +0 -1
- package/lib/components/shared/ProjectSelectorUtils.js.map +0 -1
- package/lib/components/shared/TypeTree.d.ts.map +0 -1
- package/lib/components/shared/TypeTree.js +0 -165
- package/lib/components/shared/TypeTree.js.map +0 -1
- package/lib/components/shared/WorkspaceSelectorUtils.d.ts.map +0 -1
- package/lib/components/shared/WorkspaceSelectorUtils.js.map +0 -1
- package/lib/stores/AbstractConflictResolutionState.d.ts.map +0 -1
- package/lib/stores/AbstractConflictResolutionState.js.map +0 -1
- package/lib/stores/ChangeDetectionEvent.d.ts +0 -29
- package/lib/stores/ChangeDetectionEvent.d.ts.map +0 -1
- package/lib/stores/ChangeDetectionEvent.js +0 -31
- package/lib/stores/ChangeDetectionEvent.js.map +0 -1
- package/lib/stores/ChangeDetectionState.d.ts.map +0 -1
- package/lib/stores/ChangeDetectionState.js +0 -599
- package/lib/stores/ChangeDetectionState.js.map +0 -1
- package/lib/stores/Core_CodeSnippets.d.ts +0 -45
- package/lib/stores/Core_CodeSnippets.d.ts.map +0 -1
- package/lib/stores/Core_CodeSnippets.js +0 -322
- package/lib/stores/Core_CodeSnippets.js.map +0 -1
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +0 -52
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts +0 -45
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -129
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts +0 -25
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DependencyProjectViewerHelper.d.ts +0 -19
- package/lib/stores/DependencyProjectViewerHelper.d.ts.map +0 -1
- package/lib/stores/DependencyProjectViewerHelper.js +0 -23
- package/lib/stores/DependencyProjectViewerHelper.js.map +0 -1
- package/lib/stores/EditorConfig.d.ts.map +0 -1
- package/lib/stores/EditorConfig.js.map +0 -1
- package/lib/stores/EditorGraphState.d.ts.map +0 -1
- package/lib/stores/EditorGraphState.js +0 -529
- package/lib/stores/EditorGraphState.js.map +0 -1
- package/lib/stores/EditorSDLCState.d.ts.map +0 -1
- package/lib/stores/EditorSDLCState.js +0 -272
- package/lib/stores/EditorSDLCState.js.map +0 -1
- package/lib/stores/EditorStore.d.ts +0 -135
- package/lib/stores/EditorStore.d.ts.map +0 -1
- package/lib/stores/EditorStore.js +0 -702
- package/lib/stores/EditorStore.js.map +0 -1
- package/lib/stores/EditorStoreTestUtils.d.ts +0 -21
- package/lib/stores/EditorStoreTestUtils.d.ts.map +0 -1
- package/lib/stores/EditorStoreTestUtils.js +0 -53
- package/lib/stores/EditorStoreTestUtils.js.map +0 -1
- package/lib/stores/EditorTabManagerState.d.ts.map +0 -1
- package/lib/stores/EditorTabManagerState.js.map +0 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/EmbeddedQueryBuilderState.js.map +0 -1
- package/lib/stores/ExplorerTreeState.d.ts.map +0 -1
- package/lib/stores/ExplorerTreeState.js +0 -328
- package/lib/stores/ExplorerTreeState.js.map +0 -1
- package/lib/stores/GraphEditFormModeState.d.ts.map +0 -1
- package/lib/stores/GraphEditFormModeState.js +0 -370
- package/lib/stores/GraphEditFormModeState.js.map +0 -1
- package/lib/stores/GraphEditGrammarModeState.d.ts.map +0 -1
- package/lib/stores/GraphEditGrammarModeState.js +0 -315
- package/lib/stores/GraphEditGrammarModeState.js.map +0 -1
- package/lib/stores/GraphEditorMode.d.ts.map +0 -1
- package/lib/stores/GraphEditorMode.js.map +0 -1
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +0 -31
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +0 -97
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/aux-panel-state/DevToolState.d.ts.map +0 -1
- package/lib/stores/aux-panel-state/DevToolState.js.map +0 -1
- package/lib/stores/editor-state/EditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/EditorState.js.map +0 -1
- package/lib/stores/editor-state/ExternalFormatState.d.ts.map +0 -1
- package/lib/stores/editor-state/ExternalFormatState.js +0 -83
- package/lib/stores/editor-state/ExternalFormatState.js.map +0 -1
- package/lib/stores/editor-state/FileGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileGenerationState.js +0 -174
- package/lib/stores/editor-state/FileGenerationState.js.map +0 -1
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileGenerationViewerState.js.map +0 -1
- package/lib/stores/editor-state/FileSystemState.d.ts.map +0 -1
- package/lib/stores/editor-state/FileSystemState.js.map +0 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +0 -1
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/GrammarTextEditorState.js +0 -158
- package/lib/stores/editor-state/GrammarTextEditorState.js.map +0 -1
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/GraphGenerationState.js +0 -344
- package/lib/stores/editor-state/GraphGenerationState.js.map +0 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts +0 -101
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +0 -1
- package/lib/stores/editor-state/ModelImporterState.js +0 -367
- package/lib/stores/editor-state/ModelImporterState.js.map +0 -1
- package/lib/stores/editor-state/UnsupportedElementEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/UnsupportedElementEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js +0 -172
- package/lib/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +0 -70
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +0 -425
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/connection/PostProcessorEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +0 -398
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +0 -108
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +0 -42
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +0 -483
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTabManagerState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +0 -55
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +0 -229
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +0 -247
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +0 -224
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +0 -143
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +0 -1
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +0 -179
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +0 -212
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +0 -315
- package/lib/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerEditorMode.d.ts.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts +0 -56
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +0 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +0 -351
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +0 -1
- package/lib/stores/shared/DnDUtils.d.ts.map +0 -1
- package/lib/stores/shared/DnDUtils.js.map +0 -1
- package/lib/stores/shared/FileSystemTreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/FileSystemTreeUtils.js.map +0 -1
- package/lib/stores/shared/MockDataUtils.d.ts.map +0 -1
- package/lib/stores/shared/MockDataUtils.js.map +0 -1
- package/lib/stores/shared/ModelClassifierUtils.d.ts.map +0 -1
- package/lib/stores/shared/ModelClassifierUtils.js.map +0 -1
- package/lib/stores/shared/PackageTreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/PackageTreeUtils.js.map +0 -1
- package/lib/stores/shared/TreeUtils.d.ts.map +0 -1
- package/lib/stores/shared/TreeUtils.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/DomainGraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/DomainGraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/modifier/Testable_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/shared/modifier/Testable_GraphModifierHelper.js.map +0 -1
- package/lib/stores/shared/testable/TestableUtils.d.ts +0 -45
- package/lib/stores/shared/testable/TestableUtils.d.ts.map +0 -1
- package/lib/stores/shared/testable/TestableUtils.js +0 -143
- package/lib/stores/shared/testable/TestableUtils.js.map +0 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts +0 -51
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js +0 -237
- package/lib/stores/sidebar-state/BulkServiceRegistrationState.js.map +0 -1
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +0 -544
- package/lib/stores/sidebar-state/LocalChangesState.js.map +0 -1
- package/lib/stores/sidebar-state/ProjectDependantEditorState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/ProjectDependantEditorState.js.map +0 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +0 -234
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.js +0 -356
- package/lib/stores/sidebar-state/WorkflowManagerState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +0 -273
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.js +0 -382
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +0 -475
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +0 -216
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +0 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +0 -100
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +0 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +0 -1
- package/src/components/Core_LegendStudioApplicationPlugin.tsx +0 -112
- package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +0 -453
- package/src/components/project-viewer/ProjectViewer.tsx +0 -353
- package/src/components/project-viewer/ProjectViewerStoreProvider.tsx +0 -56
- package/src/components/shared/MultiplicityBadge.tsx +0 -39
- package/src/components/shared/TypeTree.tsx +0 -290
- package/src/stores/ChangeDetectionEvent.ts +0 -34
- package/src/stores/ChangeDetectionState.ts +0 -954
- package/src/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +0 -70
- package/src/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts +0 -52
- package/src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +0 -212
- package/src/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.ts +0 -32
- package/src/stores/DependencyProjectViewerHelper.ts +0 -39
- package/src/stores/EditorGraphState.ts +0 -841
- package/src/stores/EditorSDLCState.ts +0 -481
- package/src/stores/EditorStore.ts +0 -978
- package/src/stores/EditorStoreTestUtils.ts +0 -70
- package/src/stores/EditorTabManagerState.ts +0 -203
- package/src/stores/ExplorerTreeState.ts +0 -548
- package/src/stores/GraphEditFormModeState.ts +0 -605
- package/src/stores/GraphEditGrammarModeState.ts +0 -512
- package/src/stores/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +0 -40
- package/src/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +0 -167
- package/src/stores/editor-state/ExternalFormatState.ts +0 -119
- package/src/stores/editor-state/FileGenerationState.ts +0 -285
- package/src/stores/editor-state/GrammarTextEditorState.ts +0 -201
- package/src/stores/editor-state/GraphGenerationState.ts +0 -560
- package/src/stores/editor-state/ModelImporterState.ts +0 -539
- package/src/stores/editor-state/element-editor-state/ElementExternalFormatGenerationState.ts +0 -266
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +0 -100
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +0 -935
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +0 -539
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +0 -644
- package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +0 -351
- package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +0 -585
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +0 -1512
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +0 -794
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +0 -58
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +0 -980
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +0 -368
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +0 -398
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +0 -314
- package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +0 -213
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +0 -244
- package/src/stores/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.ts +0 -346
- package/src/stores/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.ts +0 -450
- package/src/stores/project-viewer/ProjectViewerStore.ts +0 -614
- package/src/stores/shared/PackageTreeUtils.ts +0 -469
- package/src/stores/shared/testable/TestableUtils.ts +0 -219
- package/src/stores/sidebar-state/BulkServiceRegistrationState.ts +0 -370
- package/src/stores/sidebar-state/LocalChangesState.ts +0 -877
- package/src/stores/sidebar-state/ProjectOverviewState.ts +0 -391
- package/src/stores/sidebar-state/WorkflowManagerState.ts +0 -645
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +0 -410
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +0 -578
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +0 -737
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +0 -368
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +0 -641
- /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.d.ts +0 -0
- /package/lib/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.js +0 -0
- /package/lib/components/{shared → editor/edit-panel/mapping-editor}/TypeTree.d.ts +0 -0
- /package/lib/components/{project-viewer → project-view}/ProjectViewer.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/ProjectSelectorUtils.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/ProjectSelectorUtils.js +0 -0
- /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.d.ts +0 -0
- /package/lib/components/{shared → workspace-setup}/WorkspaceSelectorUtils.js +0 -0
- /package/lib/stores/{AbstractConflictResolutionState.d.ts → editor/AbstractConflictResolutionState.d.ts} +0 -0
- /package/lib/stores/{AbstractConflictResolutionState.js → editor/AbstractConflictResolutionState.js} +0 -0
- /package/lib/stores/{ChangeDetectionState.d.ts → editor/ChangeDetectionState.d.ts} +0 -0
- /package/lib/stores/{EditorConfig.d.ts → editor/EditorConfig.d.ts} +0 -0
- /package/lib/stores/{EditorConfig.js → editor/EditorConfig.js} +0 -0
- /package/lib/stores/{EditorGraphState.d.ts → editor/EditorGraphState.d.ts} +0 -0
- /package/lib/stores/{EditorSDLCState.d.ts → editor/EditorSDLCState.d.ts} +0 -0
- /package/lib/stores/{EditorTabManagerState.d.ts → editor/EditorTabManagerState.d.ts} +0 -0
- /package/lib/stores/{EditorTabManagerState.js → editor/EditorTabManagerState.js} +0 -0
- /package/lib/stores/{EmbeddedQueryBuilderState.d.ts → editor/EmbeddedQueryBuilderState.d.ts} +0 -0
- /package/lib/stores/{EmbeddedQueryBuilderState.js → editor/EmbeddedQueryBuilderState.js} +0 -0
- /package/lib/stores/{ExplorerTreeState.d.ts → editor/ExplorerTreeState.d.ts} +0 -0
- /package/lib/stores/{GraphEditFormModeState.d.ts → editor/GraphEditFormModeState.d.ts} +0 -0
- /package/lib/stores/{GraphEditGrammarModeState.d.ts → editor/GraphEditGrammarModeState.d.ts} +0 -0
- /package/lib/stores/{GraphEditorMode.d.ts → editor/GraphEditorMode.d.ts} +0 -0
- /package/lib/stores/{GraphEditorMode.js → editor/GraphEditorMode.js} +0 -0
- /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.d.ts +0 -0
- /package/lib/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/EditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/EditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/ExternalFormatState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/FileSystemState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GrammarTextEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/GraphGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementExternalFormatGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/ElementFileGenerationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/RuntimeEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/ConnectionEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/DatabaseBuilderState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/data/EmbeddedDataState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementDecorator.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingExecutionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestDataState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestableState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestableEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.js +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffViewState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectConfigurationEditorState.d.ts +0 -0
- /package/lib/stores/{editor-state → editor/editor-state}/project-configuration-editor-state/ProjectDependencyEditorState.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/DnDUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/DnDUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/FileSystemTreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/MockDataUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/MockDataUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/ModelClassifierUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/PackageTreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/TreeUtils.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/TreeUtils.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.js +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.d.ts +0 -0
- /package/lib/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.js +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/LocalChangesState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.js +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/ProjectOverviewState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkflowManagerState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceReviewState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceSyncState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdateConflictResolutionState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/WorkspaceUpdaterState.d.ts +0 -0
- /package/lib/stores/{sidebar-state → editor/sidebar-state}/testable/GlobalTestRunnerState.js +0 -0
- /package/lib/stores/{DSL_Data_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Generation_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Mapping_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{DSL_Service_LegendStudioApplicationPlugin_Extension.js → extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js → extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{STO_Relational_LegendStudioApplicationPlugin_Extension.js → extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.js} +0 -0
- /package/lib/stores/{project-viewer → project-view}/ProjectViewerEditorMode.d.ts +0 -0
- /package/lib/stores/{project-viewer → project-view}/ProjectViewerEditorMode.js +0 -0
- /package/src/{components/DSL_ExternalFormat_CodeSnippets.ts → application/DSL_ExternalFormat_LegendStudioCodeSnippet.ts} +0 -0
- /package/src/{components → application}/DSL_ExternalFormat_LegendStudioDocumentation.ts +0 -0
- /package/src/{stores/Core_CodeSnippets.ts → application/LegendStudioCodeSnippet.ts} +0 -0
- /package/src/{components/LegendStudioTestID.ts → application/LegendStudioTesting.ts} +0 -0
- /package/src/components/{shared → workspace-setup}/ProjectSelectorUtils.tsx +0 -0
- /package/src/components/{shared → workspace-setup}/WorkspaceSelectorUtils.tsx +0 -0
- /package/src/stores/{AbstractConflictResolutionState.ts → editor/AbstractConflictResolutionState.ts} +0 -0
- /package/src/stores/{EditorConfig.ts → editor/EditorConfig.ts} +0 -0
- /package/src/stores/{EmbeddedQueryBuilderState.ts → editor/EmbeddedQueryBuilderState.ts} +0 -0
- /package/src/stores/{GraphEditorMode.ts → editor/GraphEditorMode.ts} +0 -0
- /package/src/stores/{aux-panel-state → editor/aux-panel-state}/DevToolState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/EditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/FileGenerationViewerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/FileSystemState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/GenerationSpecificationEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/UnsupportedElementEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ClassState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/ElementEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FileGenerationEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/FunctionEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/UMLEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/connection/PostProcessorEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/data/DataEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingElementState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTabManagerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/MappingTestState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/PureInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceExecutionState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/ServiceTestRunnerState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/service/testable/ServiceTestEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/element-editor-state/testable/TestAssertionState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityChangeConflictEditorState.ts +0 -0
- /package/src/stores/{editor-state → editor/editor-state}/entity-diff-editor-state/EntityDiffEditorState.ts +0 -0
- /package/src/stores/{shared → editor/shared}/DnDUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/FileSystemTreeUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/MockDataUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/ModelClassifierUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/TreeUtils.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Data_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_ExternalFormat_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Generation_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Mapping_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DSL_Service_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/DomainGraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/RawValueSpecificationGraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/STO_FlatData_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/STO_Relational_GraphModifierHelper.ts +0 -0
- /package/src/stores/{shared → editor/shared}/modifier/Testable_GraphModifierHelper.ts +0 -0
- /package/src/stores/{sidebar-state → editor/sidebar-state}/ProjectDependantEditorState.ts +0 -0
- /package/src/stores/{project-viewer → project-view}/ProjectViewerEditorMode.ts +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
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 { assertErrorThrown, LogEvent, ActionState, } from '@finos/legend-shared';
|
|
17
|
+
import { flow, action, makeObservable, observable } from 'mobx';
|
|
18
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../application/LegendStudioEvent.js';
|
|
19
|
+
import { ElementXTSchemaGenerationState } from './element-editor-state/ElementExternalFormatGenerationState.js';
|
|
20
|
+
export var EmbeddedDataType;
|
|
21
|
+
(function (EmbeddedDataType) {
|
|
22
|
+
EmbeddedDataType["EXTERNAL_FORMAT_DATA"] = "EXTERNAL_FORMAT";
|
|
23
|
+
EmbeddedDataType["MODEL_STORE_DATA"] = "MODEL_STORE";
|
|
24
|
+
EmbeddedDataType["RELATIONAL_CSV"] = "RELATIONAL";
|
|
25
|
+
EmbeddedDataType["DATA_ELEMENT"] = "DATA_ELEMENT";
|
|
26
|
+
})(EmbeddedDataType = EmbeddedDataType || (EmbeddedDataType = {}));
|
|
27
|
+
export class ExternalFormatState {
|
|
28
|
+
fetchingDescriptionsState = ActionState.create();
|
|
29
|
+
editorStore;
|
|
30
|
+
externalFormatsDescriptions = [];
|
|
31
|
+
schemaGenerationStates = [];
|
|
32
|
+
constructor(editorStore) {
|
|
33
|
+
makeObservable(this, {
|
|
34
|
+
externalFormatsDescriptions: observable,
|
|
35
|
+
schemaGenerationStates: observable,
|
|
36
|
+
setExternalFormatsDescriptions: action,
|
|
37
|
+
fetchExternalFormatsDescriptions: flow,
|
|
38
|
+
});
|
|
39
|
+
this.editorStore = editorStore;
|
|
40
|
+
}
|
|
41
|
+
get formatTypes() {
|
|
42
|
+
return this.externalFormatsDescriptions.map((e) => e.name);
|
|
43
|
+
}
|
|
44
|
+
get formatTypeOptions() {
|
|
45
|
+
return this.externalFormatsDescriptions.map((types) => ({
|
|
46
|
+
value: types.name,
|
|
47
|
+
label: types.name,
|
|
48
|
+
}));
|
|
49
|
+
}
|
|
50
|
+
get formatContentTypes() {
|
|
51
|
+
return this.externalFormatsDescriptions.map((e) => e.contentTypes).flat();
|
|
52
|
+
}
|
|
53
|
+
get externalFormatDescriptionsWithModelGenerationSupport() {
|
|
54
|
+
return this.externalFormatsDescriptions.filter((d) => d.supportsModelGeneration);
|
|
55
|
+
}
|
|
56
|
+
getFormatTypeForContentType(contentType) {
|
|
57
|
+
return this.externalFormatsDescriptions.find((externalFormatDescription) => externalFormatDescription.contentTypes[0] === contentType)?.name;
|
|
58
|
+
}
|
|
59
|
+
setExternalFormatsDescriptions(externalFormatsDescriptions) {
|
|
60
|
+
this.externalFormatsDescriptions = externalFormatsDescriptions;
|
|
61
|
+
}
|
|
62
|
+
*fetchExternalFormatsDescriptions() {
|
|
63
|
+
try {
|
|
64
|
+
this.fetchingDescriptionsState.inProgress();
|
|
65
|
+
const externalFormatDescriptions = (yield this.editorStore.graphManagerState.graphManager.getAvailableExternalFormatsDescriptions());
|
|
66
|
+
this.setExternalFormatsDescriptions(externalFormatDescriptions);
|
|
67
|
+
this.schemaGenerationStates = externalFormatDescriptions
|
|
68
|
+
.filter((s) => s.supportsSchemaGeneration)
|
|
69
|
+
.map((descr) => new ElementXTSchemaGenerationState(this.editorStore, descr));
|
|
70
|
+
this.fetchingDescriptionsState.complete();
|
|
71
|
+
}
|
|
72
|
+
catch (error) {
|
|
73
|
+
assertErrorThrown(error);
|
|
74
|
+
this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.EXTERNAL_FORMAT_FAILURE), error);
|
|
75
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
76
|
+
this.fetchingDescriptionsState.fail();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
getTypeDescription(type) {
|
|
80
|
+
return this.externalFormatsDescriptions.find((e) => e.name === type);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=ExternalFormatState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalFormatState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/ExternalFormatState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEhE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAE,8BAA8B,EAAE,MAAM,gEAAgE,CAAC;AAOhH,MAAM,CAAN,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,4DAAwC,CAAA;IACxC,oDAAgC,CAAA;IAChC,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;AAC/B,CAAC,EALW,gBAAgB,GAAhB,gBAAgB,KAAhB,gBAAgB,QAK3B;AAED,MAAM,OAAO,mBAAmB;IAC9B,yBAAyB,GAAG,WAAW,CAAC,MAAM,EA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Ae,CACb,OAAO,EAAE,kBAAkB,GAAG,MAAM,GACnC,2BAA2B,CAAC,kBAAkB,CAAC,GAAG,MAAM,GAAG,SAAS;IAQvE,eAAe,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM,GAAG,IAAI;IAY3D,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,GAAG,MAAM,GAAG,IAAI;CAM/D"}
|
|
@@ -0,0 +1,174 @@
|
|
|
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, makeObservable, flow } from 'mobx';
|
|
17
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../application/LegendStudioEvent.js';
|
|
18
|
+
import { FileSystem_Directory, GENERATION_FILE_ROOT_NAME, getFileSystemTreeData, buildFileSystemDirectory, } from '../shared/FileSystemTreeUtils.js';
|
|
19
|
+
import { assertErrorThrown, deepEqual, isEmpty, LogEvent, ActionState, } from '@finos/legend-shared';
|
|
20
|
+
import { ConfigurationProperty, GenerationPropertyItemType, PackageableElement, PackageableElementReference, PackageableElementExplicitReference, ELEMENT_PATH_DELIMITER, getNullableFileGenerationConfig, } from '@finos/legend-graph';
|
|
21
|
+
import { configurationProperty_setValue, configurationProperty_addConfigurationProperty, fileGeneration_addScopeElement, fileGeneration_deleteScopeElement, } from '../shared/modifier/DSL_Generation_GraphModifierHelper.js';
|
|
22
|
+
import { FileSystemState } from './FileSystemState.js';
|
|
23
|
+
export class GeneratedFileStructureState {
|
|
24
|
+
editorStore;
|
|
25
|
+
fileSystemState;
|
|
26
|
+
generatingAction = ActionState.create();
|
|
27
|
+
rootDirectoryName;
|
|
28
|
+
constructor(rootDirectory, editorStore) {
|
|
29
|
+
this.rootDirectoryName = rootDirectory;
|
|
30
|
+
this.fileSystemState = new FileSystemState(rootDirectory);
|
|
31
|
+
this.editorStore = editorStore;
|
|
32
|
+
}
|
|
33
|
+
processGenerationResult(output) {
|
|
34
|
+
this.fileSystemState.root = new FileSystem_Directory(this.rootDirectoryName);
|
|
35
|
+
this.fileSystemState.filesIndex = new Map();
|
|
36
|
+
const openedNodeIds = this.fileSystemState.directoryTreeData
|
|
37
|
+
? Array.from(this.fileSystemState.directoryTreeData.nodes.values())
|
|
38
|
+
.filter((node) => node.isOpen)
|
|
39
|
+
.map((node) => node.id)
|
|
40
|
+
: [];
|
|
41
|
+
const generationResultIndex = new Map();
|
|
42
|
+
const rootFolder = this.rootFolder;
|
|
43
|
+
output.forEach((entry) => {
|
|
44
|
+
entry.cleanFileName(rootFolder);
|
|
45
|
+
if (generationResultIndex.has(entry.fileName)) {
|
|
46
|
+
this.editorStore.applicationStore.logService.warn(LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE), 'Found 2 generation outputs with same path');
|
|
47
|
+
}
|
|
48
|
+
generationResultIndex.set(entry.fileName, {
|
|
49
|
+
value: entry,
|
|
50
|
+
parentId: this.generationParentId,
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
// take generation outputs and put them into the root directory
|
|
54
|
+
buildFileSystemDirectory(this.fileSystemState.root, generationResultIndex, this.fileSystemState.filesIndex);
|
|
55
|
+
this.fileSystemState.directoryTreeData = getFileSystemTreeData(this.fileSystemState.root);
|
|
56
|
+
this.fileSystemState.reprocessNodeTree(Array.from(generationResultIndex.values()), this.fileSystemState.directoryTreeData, openedNodeIds);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export class FileGenerationState extends GeneratedFileStructureState {
|
|
60
|
+
fileGeneration;
|
|
61
|
+
constructor(editorStore, fileGeneration) {
|
|
62
|
+
super(GENERATION_FILE_ROOT_NAME, editorStore);
|
|
63
|
+
makeObservable(this, {
|
|
64
|
+
generatingAction: observable,
|
|
65
|
+
fileSystemState: observable,
|
|
66
|
+
resetGenerator: action,
|
|
67
|
+
processGenerationResult: action,
|
|
68
|
+
addScopeElement: action,
|
|
69
|
+
deleteScopeElement: action,
|
|
70
|
+
updateFileGenerationParameters: action,
|
|
71
|
+
generate: flow,
|
|
72
|
+
});
|
|
73
|
+
this.fileGeneration = fileGeneration;
|
|
74
|
+
}
|
|
75
|
+
get rootFolder() {
|
|
76
|
+
return (this.fileGeneration.generationOutputPath ??
|
|
77
|
+
this.fileGeneration.path.split(ELEMENT_PATH_DELIMITER).join('_'));
|
|
78
|
+
}
|
|
79
|
+
get generationParentId() {
|
|
80
|
+
return this.fileGeneration.path;
|
|
81
|
+
}
|
|
82
|
+
resetGenerator() {
|
|
83
|
+
this.fileGeneration.configurationProperties = [];
|
|
84
|
+
}
|
|
85
|
+
updateFileGenerationParameters(fileGeneration, generationProperty, newValue) {
|
|
86
|
+
if (generationProperty.type === GenerationPropertyItemType.MAP) {
|
|
87
|
+
if (!newValue ||
|
|
88
|
+
isEmpty(newValue) ||
|
|
89
|
+
deepEqual(newValue, generationProperty.defaultValue)) {
|
|
90
|
+
fileGeneration.configurationProperties =
|
|
91
|
+
fileGeneration.configurationProperties.filter((e) => e.name !== generationProperty.name);
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const configProperty = getNullableFileGenerationConfig(fileGeneration, generationProperty.name);
|
|
95
|
+
if (configProperty) {
|
|
96
|
+
configurationProperty_setValue(configProperty, {
|
|
97
|
+
...newValue,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
const newItem = new ConfigurationProperty(generationProperty.name, newValue);
|
|
102
|
+
configurationProperty_addConfigurationProperty(fileGeneration.configurationProperties, newItem);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
const configProperty = getNullableFileGenerationConfig(fileGeneration, generationProperty.name);
|
|
108
|
+
let useDefaultValue = generationProperty.defaultValue === newValue;
|
|
109
|
+
if (generationProperty.type === GenerationPropertyItemType.BOOLEAN) {
|
|
110
|
+
useDefaultValue =
|
|
111
|
+
(generationProperty.defaultValue === 'true') ===
|
|
112
|
+
newValue;
|
|
113
|
+
}
|
|
114
|
+
const newConfigValue = useDefaultValue ? undefined : newValue;
|
|
115
|
+
if (newConfigValue !== undefined) {
|
|
116
|
+
if (configProperty) {
|
|
117
|
+
configurationProperty_setValue(configProperty, newConfigValue);
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
const newItem = new ConfigurationProperty(generationProperty.name, newConfigValue);
|
|
121
|
+
configurationProperty_addConfigurationProperty(fileGeneration.configurationProperties, newItem);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
fileGeneration.configurationProperties =
|
|
126
|
+
fileGeneration.configurationProperties.filter((e) => e.name !== generationProperty.name);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
*generate() {
|
|
131
|
+
this.generatingAction.inProgress();
|
|
132
|
+
try {
|
|
133
|
+
// avoid wasting a network call when the scope is empty, we can short-circuit this
|
|
134
|
+
if (!this.fileGeneration.scopeElements.length) {
|
|
135
|
+
this.fileSystemState.selectedNode = undefined;
|
|
136
|
+
this.processGenerationResult([]);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
const mode = this.editorStore.graphState.graphGenerationState.getFileGenerationConfiguration(this.fileGeneration.type).generationMode;
|
|
140
|
+
const result = (yield this.editorStore.graphManagerState.graphManager.generateFile(this.fileGeneration, mode, this.editorStore.graphManagerState.graph));
|
|
141
|
+
this.processGenerationResult(result);
|
|
142
|
+
}
|
|
143
|
+
catch (error) {
|
|
144
|
+
assertErrorThrown(error);
|
|
145
|
+
this.fileSystemState.selectedNode = undefined;
|
|
146
|
+
this.processGenerationResult([]);
|
|
147
|
+
this.editorStore.applicationStore.logService.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.GENERATION_FAILURE), error);
|
|
148
|
+
this.editorStore.applicationStore.notificationService.notifyError(error);
|
|
149
|
+
}
|
|
150
|
+
finally {
|
|
151
|
+
this.generatingAction.complete();
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
getScopeElement(element) {
|
|
155
|
+
return this.fileGeneration.scopeElements.find((el) => el instanceof PackageableElementReference
|
|
156
|
+
? el.value === element
|
|
157
|
+
: element === el);
|
|
158
|
+
}
|
|
159
|
+
addScopeElement(element) {
|
|
160
|
+
const el = this.getScopeElement(element);
|
|
161
|
+
if (!el) {
|
|
162
|
+
fileGeneration_addScopeElement(this.fileGeneration, element instanceof PackageableElement
|
|
163
|
+
? PackageableElementExplicitReference.create(element)
|
|
164
|
+
: element);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
deleteScopeElement(element) {
|
|
168
|
+
const el = this.getScopeElement(element);
|
|
169
|
+
if (el) {
|
|
170
|
+
fileGeneration_deleteScopeElement(this.fileGeneration, el);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
//# sourceMappingURL=FileGenerationState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileGenerationState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/FileGenerationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAGL,oBAAoB,EACpB,y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O,KAAK,EAAE,CACnB,CAAC;IACJ,CAAC;IAED,eAAe,CAAC,OAAoC;QAClD,MAAM,EAAE,GAAG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;QACzC,IAAI,CAAC,EAAE,EAAE;YACP,8BAA8B,CAC5B,IAAI,CAAC,cAAc,EACnB,OAAO,YAAY,kBAAkB;gBACnC,CAAC,CAAC,mCAAmC,CAAC,MAAM,CAAC,OAAO,CAAC;gBACrD,CAAC,CAAC,OAAO,CACZ,CAAC;SACH;IACH,CAAC;IAED,kBAAkB,CAAC,OAAoC;QACrD,MAAM,EAAE,GAAG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;QACzC,IAAI,EAAE,EAAE;YACN,iCAAiC,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;SAC5D;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileGenerationViewerState.d.ts","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/FileGenerationViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,eAAe,EAAY,MAAM,2BAA2B,CAAC;AAGtE,eAAO,MAAM,cAAc,YAChB,MAAM,UACP,MAAM,GAAG,SAAS,KACzB,MAWF,CAAC;AAEF,eAAO,MAAM,0BAA0B,YAC5B,MAAM,KACd,eASF,CAAC;AAEF,qBAAa,yBAA0B,SAAQ,WAAW;IACxD,IAAI,EAAE,eAAe,CAAC;gBAEV,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,eAAe;IAY3D,IAAI,KAAK,IAAI,MAAM,CAElB;IAEQ,KAAK,CAAC,GAAG,EAAE,WAAW,GAAG,OAAO;IAIzC,IAAI,iBAAiB,IAAI,MAAM,CAE9B;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileGenerationViewerState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/FileGenerationViewerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,OAAe,EACf,MAA0B,EAClB,EAAE;IACV,QAAQ,MAAM,EAAE,WAAW,EAAE,EAAE;QAC7B,KAAK,eAAe,CAAC,IAAI;YACvB,OAAO,CACL,kBAAkB,CAAC,GAAG,EAAE,CACtB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,CACzD,IAAI,OAAO,CACb,CAAC;QACJ;YACE,OAAO,OAAO,CAAC;KAClB;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,MAAe,EACE,EAAE;IACnB,QAAQ,MAAM,EAAE,WAAW,EAAE,EAAE;QAC7B,KAAK,eAAe,CAAC,IAAI;YACvB,OAAO,eAAe,CAAC,IAAI,CAAC;QAC9B,KAAK,eAAe,CAAC,IAAI;YACvB,OAAO,eAAe,CAAC,IAAI,CAAC;QAC9B;YACE,OAAO,eAAe,CAAC,IAAI,CAAC;KAC/B;AACH,CAAC,CAAC;AAEF,MAAM,OAAO,yBAA0B,SAAQ,WAAW;IACxD,IAAI,CAAkB;IAEtB,YAAY,WAAwB,EAAE,IAA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AC9B,QAAQ,EAAE,QAAQ,CAAC,sBAAsB,CAAC,EAC1C,aAAa,EAAE,MAAM,EAAE,GACtB,IAAI;IAsBP,gBAAgB,CACd,IAAI,EAAE,sBAAsB,EAC5B,QAAQ,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GACzC,IAAI;IAWP,eAAe,CAAC,IAAI,CAAC,EAAE,sBAAsB,GAAG,IAAI;CASrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileSystemState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/FileSystemState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAIL,oBAAoB,EACpB,QAAQ,EACR,iCAAiC,EACjC,kBAAkB,GACnB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,OAAO,eAAe;IAC1B,IAAI,CAAuB;IAC3B,iBAAiB,CAAgD;IACjE,YAAY,CAAsC;IAClD,UAAU,GAAG,IAAI,GAAG,EAA2B,CAAC;IAEhD,YAAY,IAAY;QACtB,IAAI,CAAC,IAAI,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,CAAC;QAC3C,cAAc,CAAC,IAAI,EAAE;YACnB,IAAI,EAAE,UAAU;YAChB,iBAAiB,EAAE,UAAU,CAAC,GAAG;YACjC,YAAY,EAAE,UAAU,CAAC,GAAG;YAC5B,iBAAiB,EAAE,MAAM;YACzB,oBAAoB,EAAE,MAAM;YAC5B,gBAAgB,EAAE,MAAM;YACxB,eAAe,EAAE,MAAM;SACxB,CAAC,CAAC;IACL,CAAC;IAED,oBAAoB,CAAC,aAAqB;QACxC,OAAO,oBAAoB,CAAC,oBAAoB,CAC9C,IAAI,CAAC,IAAI,EACT,aAAa,EACb,IAAI,CACL,CAAC;IACJ,CAAC;IAED,oBAAoB,CAClB,iBAAmD;QAEnD,IAAI,CAA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Ae,CAAC,IAAI,CAAC,CAAC;QAC3B,IAAI,CAAC,oBAAoB,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,eAAe,CAAC,IAA6B;QAC3C,IAAI,IAAI,CAAC,YAAY,EAAE;YACrB,IAAI,CAAC,YAAY,CAAC,UAAU,GAAG,KAAK,CAAC;SACtC;QACD,IAAI,IAAI,EAAE;YACR,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACxB;QACD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenerationSpecificationEditorState.d.ts","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/GenerationSpecificationEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AASlF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EACL,uBAAuB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAC;AAM7B,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,uBAAuB,CAAC;CACpC;AAED,MAAM,MAAM,4BAA4B,GAAG,4BAA4B,CAAC;AACxE,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,IAAI,SAAU;IACvB,IAAI,EAAE,kBAAkB,CAAC;gBAEb,IAAI,EAAE,kBAAkB;CAGrC;AAED,qBAAa,kCAAmC,SAAQ,kBAAkB;IACxE,YAAY,UAAS;IACrB,wBAAwB,EAAE,uBAAuB,EAAE,CAAM;gBAE7C,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB;IAgBjE,IAAI,IAAI,IAAI,uBAAuB,CAMlC;IAED,wBAAwB,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;IAUxD,qBAAqB,CAAC,IAAI,EAAE,kBAAkB,GAAG,IAAI;IAQrD,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;IAQ/D,SAAS,CACP,UAAU,EAAE,kBAAkB,EAC9B,WAAW,EAAE,WAAW,GACvB,kBAAkB;CAGtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenerationSpecificationEditorState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/GenerationSpecificationEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EACL,aAAa,EACb,IAAI,EACJ,cAAc,EACd,WAAW,EACX,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpE,OAAO,EACL,uBAAuB,GAGxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,+BAA+B,EAC/B,4CAA4C,GAC7C,MAAM,0DAA0D,CAAC;AAOlE,MAAM,OAAO,uBAAuB;IACzB,IAAI,GAAG,IAAI,EAAE,CAAC;IACvB,IAAI,CAAqB;IAEzB,YAAY,IAAwB;QAClC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF;AAED,MAAM,OAAO,kCAAmC,SAAQ,kBAAkB;IACxE,YAAY,GAAG,KAAK,CAAC;IACrB,wBAAwB,GAA8B,EAAE,CAAC;IAEzD,YAAY,WAAwB,EAAE,OAA2B;QAC/D,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAE5B,cAAc,CAAC,IAAI,EAAE;YACnB,YAAY,EAAE,UAAU;YACxB,wBAAwB,EAAE,UAAU;YACpC,IAAI,EAAE,QAAQ;YACd,wBAAwB,EAAE,MAAM;YAChC,qBAAqB,EAAE,MAAM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AU,CAAC,CAAC;IACzE,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GrammarTextEditorState.d.ts","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/GrammarTextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGrD,OAAO,EACL,KAAK,kBAAkB,EAwBxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAqB5D,qBAAa,sBAAsB;IACjC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAElC,gBAAgB,SAAM;IACtB,8BAA8B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpD,QAAQ,EAAE,OAAO,CAAC;IAClB,oBAAoB,CAAC,EAAE,kBAAkB,GAAG,SAAS,CAAC;gBAE1C,WAAW,EAAE,WAAW;IAoBpC,IAAI,oBAAoB,IAAI,MAAM,CAEjC;IAED,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIvC,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI/B,uBAAuB,CAAC,QAAQ,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI;IAIvE,mCAAmC,IAAI,IAAI;IAI3C,iCAAiC,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI;CAsFrE"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { action, makeObservable, observable } from 'mobx';
|
|
17
|
+
import { hashValue, UnsupportedOperationError } from '@finos/legend-shared';
|
|
18
|
+
import { Profile, Enumeration, Class, Association, Mapping, ConcreteFunctionDefinition, Service, FlatData, PackageableConnection, PackageableRuntime, JsonModelConnection, XmlModelConnection, FlatDataConnection, FileGenerationSpecification, GenerationSpecification, Measure, Database, RelationalDatabaseConnection, DataElement, ModelChainConnection, PURE_ELEMENT_NAME, PURE_CONNECTION_NAME, } from '@finos/legend-graph';
|
|
19
|
+
import { generatePackageableElementTreeNodeDataLabel } from '../shared/PackageTreeUtils.js';
|
|
20
|
+
import { LEGEND_STUDIO_SETTING_KEY } from '../../../application/LegendStudioSetting.js';
|
|
21
|
+
const getGrammarElementTypeLabelRegexString = (typeLabel, elementPath) => (`^([^\\S\\n])*${typeLabel}` + // start with type label (accounted for spaces, but not newline)
|
|
22
|
+
`(\\s+<<.*>>)?` + // account for stereotype
|
|
23
|
+
`(\\s+\\{.*\\})?` + // account for tagged value
|
|
24
|
+
`\\s+${elementPath
|
|
25
|
+
.replaceAll('*', '\\*')
|
|
26
|
+
.replaceAll('(', '\\(')
|
|
27
|
+
.replaceAll(')', '\\)')
|
|
28
|
+
.replaceAll('[', '\\[')
|
|
29
|
+
.replaceAll(']', '\\]')}` + // element path (might contain [],(),*)
|
|
30
|
+
`[\\s\\n]`) // account for termination after element path
|
|
31
|
+
.replace(/\$/g, '\\$'); // replace special character $ by \\$
|
|
32
|
+
export class GrammarTextEditorState {
|
|
33
|
+
editorStore;
|
|
34
|
+
graphGrammarText = '';
|
|
35
|
+
currentElementLabelRegexString;
|
|
36
|
+
wrapText;
|
|
37
|
+
forcedCursorPosition;
|
|
38
|
+
constructor(editorStore) {
|
|
39
|
+
makeObservable(this, {
|
|
40
|
+
graphGrammarText: observable,
|
|
41
|
+
currentElementLabelRegexString: observable,
|
|
42
|
+
wrapText: observable,
|
|
43
|
+
forcedCursorPosition: observable,
|
|
44
|
+
setGraphGrammarText: action,
|
|
45
|
+
setWrapText: action,
|
|
46
|
+
setForcedCursorPosition: action,
|
|
47
|
+
resetCurrentElementLabelRegexString: action,
|
|
48
|
+
setCurrentElementLabelRegexString: action,
|
|
49
|
+
});
|
|
50
|
+
this.editorStore = editorStore;
|
|
51
|
+
this.wrapText =
|
|
52
|
+
this.editorStore.applicationStore.settingService.getBooleanValue(LEGEND_STUDIO_SETTING_KEY.EDITOR_WRAP_TEXT) ?? false;
|
|
53
|
+
}
|
|
54
|
+
get currentTextGraphHash() {
|
|
55
|
+
return hashValue(this.graphGrammarText);
|
|
56
|
+
}
|
|
57
|
+
setGraphGrammarText(code) {
|
|
58
|
+
this.graphGrammarText = code;
|
|
59
|
+
}
|
|
60
|
+
setWrapText(val) {
|
|
61
|
+
this.wrapText = val;
|
|
62
|
+
}
|
|
63
|
+
setForcedCursorPosition(position) {
|
|
64
|
+
this.forcedCursorPosition = position;
|
|
65
|
+
}
|
|
66
|
+
resetCurrentElementLabelRegexString() {
|
|
67
|
+
this.currentElementLabelRegexString = undefined;
|
|
68
|
+
}
|
|
69
|
+
setCurrentElementLabelRegexString(element) {
|
|
70
|
+
let typeLabel;
|
|
71
|
+
if (element instanceof Class) {
|
|
72
|
+
typeLabel = PURE_ELEMENT_NAME.CLASS;
|
|
73
|
+
}
|
|
74
|
+
else if (element instanceof Association) {
|
|
75
|
+
typeLabel = PURE_ELEMENT_NAME.ASSOCIATION;
|
|
76
|
+
}
|
|
77
|
+
else if (element instanceof Enumeration) {
|
|
78
|
+
typeLabel = PURE_ELEMENT_NAME.ENUMERATION;
|
|
79
|
+
}
|
|
80
|
+
else if (element instanceof Measure) {
|
|
81
|
+
typeLabel = PURE_ELEMENT_NAME.MEASURE;
|
|
82
|
+
}
|
|
83
|
+
else if (element instanceof Profile) {
|
|
84
|
+
typeLabel = PURE_ELEMENT_NAME.PROFILE;
|
|
85
|
+
}
|
|
86
|
+
else if (element instanceof ConcreteFunctionDefinition) {
|
|
87
|
+
typeLabel = PURE_ELEMENT_NAME.FUNCTION;
|
|
88
|
+
}
|
|
89
|
+
else if (element instanceof FlatData) {
|
|
90
|
+
typeLabel = PURE_ELEMENT_NAME.FLAT_DATA;
|
|
91
|
+
}
|
|
92
|
+
else if (element instanceof Database) {
|
|
93
|
+
typeLabel = PURE_ELEMENT_NAME.DATABASE;
|
|
94
|
+
}
|
|
95
|
+
else if (element instanceof Mapping) {
|
|
96
|
+
typeLabel = PURE_ELEMENT_NAME.MAPPING;
|
|
97
|
+
}
|
|
98
|
+
else if (element instanceof Service) {
|
|
99
|
+
typeLabel = PURE_ELEMENT_NAME.SERVICE;
|
|
100
|
+
}
|
|
101
|
+
else if (element instanceof FileGenerationSpecification) {
|
|
102
|
+
typeLabel = PURE_ELEMENT_NAME.FILE_GENERATION;
|
|
103
|
+
}
|
|
104
|
+
else if (element instanceof GenerationSpecification) {
|
|
105
|
+
typeLabel = PURE_ELEMENT_NAME.GENERATION_SPECIFICATION;
|
|
106
|
+
}
|
|
107
|
+
else if (element instanceof PackageableConnection) {
|
|
108
|
+
if (element.connectionValue instanceof JsonModelConnection) {
|
|
109
|
+
typeLabel = PURE_CONNECTION_NAME.JSON_MODEL_CONNECTION;
|
|
110
|
+
}
|
|
111
|
+
else if (element.connectionValue instanceof XmlModelConnection) {
|
|
112
|
+
typeLabel = PURE_CONNECTION_NAME.XML_MODEL_CONNECTION;
|
|
113
|
+
}
|
|
114
|
+
else if (element.connectionValue instanceof FlatDataConnection) {
|
|
115
|
+
typeLabel = PURE_CONNECTION_NAME.FLAT_DATA_CONNECTION;
|
|
116
|
+
}
|
|
117
|
+
else if (element.connectionValue instanceof ModelChainConnection) {
|
|
118
|
+
typeLabel = PURE_CONNECTION_NAME.MODEL_CHAIN_CONNECTION;
|
|
119
|
+
}
|
|
120
|
+
else if (element.connectionValue instanceof RelationalDatabaseConnection) {
|
|
121
|
+
typeLabel = PURE_CONNECTION_NAME.RELATIONAL_DATABASE_CONNECTION;
|
|
122
|
+
}
|
|
123
|
+
const extraPureGrammarConnectionLabelers = this.editorStore.pluginManager
|
|
124
|
+
.getPureGraphManagerPlugins()
|
|
125
|
+
.flatMap((plugin) => plugin.getExtraPureGrammarConnectionLabelers?.() ?? []);
|
|
126
|
+
for (const labeler of extraPureGrammarConnectionLabelers) {
|
|
127
|
+
const _typeLabel = labeler(element.connectionValue);
|
|
128
|
+
if (_typeLabel) {
|
|
129
|
+
typeLabel = _typeLabel;
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
else if (element instanceof PackageableRuntime) {
|
|
135
|
+
typeLabel = PURE_ELEMENT_NAME.RUNTIME;
|
|
136
|
+
}
|
|
137
|
+
else if (element instanceof DataElement) {
|
|
138
|
+
typeLabel = PURE_ELEMENT_NAME.DATA_ELEMENT;
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
const extraPureGrammarElementLabelers = this.editorStore.pluginManager
|
|
142
|
+
.getPureGraphManagerPlugins()
|
|
143
|
+
.flatMap((plugin) => plugin.getExtraPureGrammarElementLabelers?.() ?? []);
|
|
144
|
+
for (const labeler of extraPureGrammarElementLabelers) {
|
|
145
|
+
const _typeLabel = labeler(element);
|
|
146
|
+
if (_typeLabel) {
|
|
147
|
+
typeLabel = _typeLabel;
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
if (!typeLabel) {
|
|
153
|
+
throw new UnsupportedOperationError(`Can't construct label for element type in Pure grammar: no compatible labeler available from plugins`, element);
|
|
154
|
+
}
|
|
155
|
+
this.currentElementLabelRegexString = getGrammarElementTypeLabelRegexString(typeLabel, `${element.package?.path}::${generatePackageableElementTreeNodeDataLabel(element)}`);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=GrammarTextEditorState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GrammarTextEditorState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/GrammarTextEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAC5E,OAAO,EAGL,OAAO,EACP,WAAW,EACX,KAAK,EACL,WAAW,EACX,OAAO,EACP,0BAA0B,EAC1B,OAAO,EACP,QAAQ,EACR,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,2BAA2B,EAC3B,uBAAuB,EACvB,OAAO,EACP,QAAQ,EACR,4BAA4B,EAC5B,WAAW,EACX,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,2CAA2C,EAAE,MAAM,+BAA+B,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAExF,MAAM,qCAAqC,GAAG,CAC5C,SAAiB,EACjB,WAAmB,EACX,EAAE,CACV,CACE,gBAAgB,SAAS,EAAE,GAAG,gEAAgE;IAC9F,eAAe,GAAG,yBAAyB;IAC3C,iBAAiB,GAAG,2BAA2B;IAC/C,OAAO,WAAW;SACf,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC;SACtB,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC;SACtB,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC;SACtB,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC;SACtB,UAAU,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,GAAG,uCAA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E;oBACd,SAAS,GAAG,UAAU,CAAC;oBACvB,MAAM;iBACP;aACF;SACF;QACD,IAAI,CAAC,SAAS,EAAE;YACd,MAAM,IAAI,yBAAyB,CACjC,sGAAsG,EACtG,OAAO,CACR,CAAC;SACH;QACD,IAAI,CAAC,8BAA8B,GAAG,qCAAqC,CACzE,SAAS,EACT,GAAG,OAAO,CAAC,OAAO,EAAE,IAAI,KAAK,2CAA2C,CACtE,OAAO,CACR,EAAE,CACJ,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GraphGenerationState.d.ts","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/GraphGenerationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAUH,OAAO,EACL,KAAK,WAAW,EAMhB,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,sBAAsB,EAC3B,KAAK,UAAU,EACf,oBAAoB,EAEpB,eAAe,EAMhB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGpD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,gBAAgB,EAOtB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAO/D,eAAO,MAAM,qCAAqC,8BACrB,CAAC;AAE9B,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,qBAAa,oBAAoB;IAC/B,WAAW,EAAE,WAAW,CAAC;IACzB,uBAAuB,UAAS;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