@finos/legend-application-studio 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +3 -0
- package/lib/application/LegendStudio.d.ts +26 -0
- package/lib/application/LegendStudio.d.ts.map +1 -0
- package/lib/application/LegendStudio.js +60 -0
- package/lib/application/LegendStudio.js.map +1 -0
- package/lib/application/LegendStudioApplicationConfig.d.ts +72 -0
- package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -0
- package/lib/application/LegendStudioApplicationConfig.js +79 -0
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -0
- package/lib/application/LegendStudioPluginManager.d.ts +33 -0
- package/lib/application/LegendStudioPluginManager.d.ts.map +1 -0
- package/lib/application/LegendStudioPluginManager.js +54 -0
- package/lib/application/LegendStudioPluginManager.js.map +1 -0
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +25 -0
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/Core_LegendStudioApplicationPlugin.js +79 -0
- package/lib/components/Core_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/DSLExternalFormat_CodeSnippets.d.ts +21 -0
- package/lib/components/DSLExternalFormat_CodeSnippets.d.ts.map +1 -0
- package/lib/components/DSLExternalFormat_CodeSnippets.js +74 -0
- package/lib/components/DSLExternalFormat_CodeSnippets.js.map +1 -0
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.d.ts +41 -0
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.js +289 -0
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/DSLExternalFormat_LegendStudioDocumentation.d.ts +21 -0
- package/lib/components/DSLExternalFormat_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/components/DSLExternalFormat_LegendStudioDocumentation.js +22 -0
- package/lib/components/DSLExternalFormat_LegendStudioDocumentation.js.map +1 -0
- package/lib/components/EditorComponentTestUtils.d.ts +129 -0
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -0
- package/lib/components/EditorComponentTestUtils.js +250 -0
- package/lib/components/EditorComponentTestUtils.js.map +1 -0
- package/lib/components/LegendStudioAppInfo.d.ts +21 -0
- package/lib/components/LegendStudioAppInfo.d.ts.map +1 -0
- package/lib/components/LegendStudioAppInfo.js +106 -0
- package/lib/components/LegendStudioAppInfo.js.map +1 -0
- package/lib/components/LegendStudioApplication.d.ts +28 -0
- package/lib/components/LegendStudioApplication.d.ts.map +1 -0
- package/lib/components/LegendStudioApplication.js +80 -0
- package/lib/components/LegendStudioApplication.js.map +1 -0
- package/lib/components/LegendStudioBaseStoreProvider.d.ts +25 -0
- package/lib/components/LegendStudioBaseStoreProvider.d.ts.map +1 -0
- package/lib/components/LegendStudioBaseStoreProvider.js +34 -0
- package/lib/components/LegendStudioBaseStoreProvider.js.map +1 -0
- package/lib/components/LegendStudioTestID.d.ts +47 -0
- package/lib/components/LegendStudioTestID.d.ts.map +1 -0
- package/lib/components/LegendStudioTestID.js +52 -0
- package/lib/components/LegendStudioTestID.js.map +1 -0
- package/lib/components/editor/ActivityBar.d.ts +28 -0
- package/lib/components/editor/ActivityBar.d.ts.map +1 -0
- package/lib/components/editor/ActivityBar.js +166 -0
- package/lib/components/editor/ActivityBar.js.map +1 -0
- package/lib/components/editor/Editor.d.ts +18 -0
- package/lib/components/editor/Editor.d.ts.map +1 -0
- package/lib/components/editor/Editor.js +176 -0
- package/lib/components/editor/Editor.js.map +1 -0
- package/lib/components/editor/EditorStoreProvider.d.ts +23 -0
- package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -0
- package/lib/components/editor/EditorStoreProvider.js +39 -0
- package/lib/components/editor/EditorStoreProvider.js.map +1 -0
- package/lib/components/editor/StatusBar.d.ts +22 -0
- package/lib/components/editor/StatusBar.d.ts.map +1 -0
- package/lib/components/editor/StatusBar.js +145 -0
- package/lib/components/editor/StatusBar.js.map +1 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +20 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +58 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -0
- package/lib/components/editor/aux-panel/Console.d.ts +20 -0
- package/lib/components/editor/aux-panel/Console.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/Console.js +21 -0
- package/lib/components/editor/aux-panel/Console.js.map +1 -0
- package/lib/components/editor/aux-panel/DevTool.d.ts +20 -0
- package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/DevTool.js +35 -0
- package/lib/components/editor/aux-panel/DevTool.js.map +1 -0
- package/lib/components/editor/command/project-search.css +1 -0
- package/lib/components/editor/command/project-search.css.map +1 -0
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +20 -0
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -0
- package/lib/components/editor/command-center/ProjectSearchCommand.js +60 -0
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -0
- package/lib/components/editor/edit-panel/EditPanel.d.ts +22 -0
- package/lib/components/editor/edit-panel/EditPanel.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/EditPanel.js +212 -0
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -0
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts +20 -0
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +32 -0
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -0
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts +36 -0
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/FunctionEditor.js +278 -0
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts +20 -0
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +216 -0
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +892 -0
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/ModelLoader.d.ts +20 -0
- package/lib/components/editor/edit-panel/ModelLoader.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/ModelLoader.js +96 -0
- package/lib/components/editor/edit-panel/ModelLoader.js.map +1 -0
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +43 -0
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/RuntimeEditor.js +364 -0
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts +26 -0
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js +38 -0
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +28 -0
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +75 -0
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +31 -0
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +123 -0
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -0
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +24 -0
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +26 -0
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +66 -0
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +321 -0
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +34 -0
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +104 -0
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts +38 -0
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +89 -0
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +24 -0
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js +69 -0
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +31 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +449 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +31 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +71 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +25 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js +71 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +23 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js +44 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts +65 -0
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +398 -0
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.d.ts +20 -0
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.js +146 -0
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.d.ts +22 -0
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.js +57 -0
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.d.ts +31 -0
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.js +66 -0
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.d.ts +20 -0
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.js +153 -0
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts +36 -0
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +131 -0
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts +33 -0
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +166 -0
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +26 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +140 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.d.ts +22 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +78 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts +30 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +270 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +38 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +118 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.d.ts +21 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +115 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +65 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +266 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts +34 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +214 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +70 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +238 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts +37 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js +157 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts +20 -0
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js +152 -0
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts +24 -0
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +100 -0
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +27 -0
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +149 -0
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +26 -0
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +167 -0
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +26 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +134 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.d.ts +45 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.js +205 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -0
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts +20 -0
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +221 -0
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts +27 -0
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.js +57 -0
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts +20 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +127 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +33 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +277 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +24 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +111 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts +20 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js +94 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +33 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +143 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +37 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +61 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +15 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +179 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +109 -0
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +188 -0
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +31 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +521 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +206 -0
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts +23 -0
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +84 -0
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts +25 -0
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +92 -0
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.d.ts +26 -0
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +58 -0
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.d.ts +26 -0
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +69 -0
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts +20 -0
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js +31 -0
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.js.map +1 -0
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +22 -0
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -0
- package/lib/components/editor/side-bar/CreateNewElementModal.js +285 -0
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -0
- package/lib/components/editor/side-bar/Explorer.d.ts +20 -0
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -0
- package/lib/components/editor/side-bar/Explorer.js +319 -0
- package/lib/components/editor/side-bar/Explorer.js.map +1 -0
- package/lib/components/editor/side-bar/LocalChanges.d.ts +20 -0
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -0
- package/lib/components/editor/side-bar/LocalChanges.js +113 -0
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -0
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +23 -0
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -0
- package/lib/components/editor/side-bar/ProjectOverview.js +230 -0
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -0
- package/lib/components/editor/side-bar/SideBar.d.ts +23 -0
- package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -0
- package/lib/components/editor/side-bar/SideBar.js +57 -0
- package/lib/components/editor/side-bar/SideBar.js.map +1 -0
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +23 -0
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -0
- package/lib/components/editor/side-bar/WorkflowManager.js +161 -0
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -0
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +23 -0
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -0
- package/lib/components/editor/side-bar/WorkspaceReview.js +146 -0
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -0
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +20 -0
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -0
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +79 -0
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -0
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +20 -0
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts.map +1 -0
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +70 -0
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -0
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +20 -0
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -0
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +103 -0
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -0
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +24 -0
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -0
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +129 -0
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -0
- package/lib/components/project-viewer/ProjectViewer.d.ts +18 -0
- package/lib/components/project-viewer/ProjectViewer.d.ts.map +1 -0
- package/lib/components/project-viewer/ProjectViewer.js +166 -0
- package/lib/components/project-viewer/ProjectViewer.js.map +1 -0
- package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts +23 -0
- package/lib/components/project-viewer/ProjectViewerStoreProvider.d.ts.map +1 -0
- package/lib/components/project-viewer/ProjectViewerStoreProvider.js +36 -0
- package/lib/components/project-viewer/ProjectViewerStoreProvider.js.map +1 -0
- package/lib/components/shared/DiffView.d.ts +35 -0
- package/lib/components/shared/DiffView.d.ts.map +1 -0
- package/lib/components/shared/DiffView.js +94 -0
- package/lib/components/shared/DiffView.js.map +1 -0
- package/lib/components/shared/ElementIconUtils.d.ts +21 -0
- package/lib/components/shared/ElementIconUtils.d.ts.map +1 -0
- package/lib/components/shared/ElementIconUtils.js +96 -0
- package/lib/components/shared/ElementIconUtils.js.map +1 -0
- package/lib/components/shared/MultiplicityBadge.d.ts +21 -0
- package/lib/components/shared/MultiplicityBadge.d.ts.map +1 -0
- package/lib/components/shared/MultiplicityBadge.js +25 -0
- package/lib/components/shared/MultiplicityBadge.js.map +1 -0
- package/lib/components/shared/StudioLambdaEditor.d.ts +40 -0
- package/lib/components/shared/StudioLambdaEditor.d.ts.map +1 -0
- package/lib/components/shared/StudioLambdaEditor.js +50 -0
- package/lib/components/shared/StudioLambdaEditor.js.map +1 -0
- package/lib/components/shared/StudioTextInputEditor.d.ts +28 -0
- package/lib/components/shared/StudioTextInputEditor.d.ts.map +1 -0
- package/lib/components/shared/StudioTextInputEditor.js +36 -0
- package/lib/components/shared/StudioTextInputEditor.js.map +1 -0
- package/lib/components/shared/TypeTree.d.ts +22 -0
- package/lib/components/shared/TypeTree.d.ts.map +1 -0
- package/lib/components/shared/TypeTree.js +165 -0
- package/lib/components/shared/TypeTree.js.map +1 -0
- package/lib/components/workspace-review/WorkspaceReview.d.ts +18 -0
- package/lib/components/workspace-review/WorkspaceReview.d.ts.map +1 -0
- package/lib/components/workspace-review/WorkspaceReview.js +84 -0
- package/lib/components/workspace-review/WorkspaceReview.js.map +1 -0
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts +20 -0
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +1 -0
- package/lib/components/workspace-review/WorkspaceReviewPanel.js +57 -0
- package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +1 -0
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts +20 -0
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts.map +1 -0
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js +106 -0
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -0
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.d.ts +22 -0
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.d.ts.map +1 -0
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js +34 -0
- package/lib/components/workspace-review/WorkspaceReviewStoreProvider.js.map +1 -0
- package/lib/components/workspace-setup/ProjectCreateModal.d.ts +20 -0
- package/lib/components/workspace-setup/ProjectCreateModal.d.ts.map +1 -0
- package/lib/components/workspace-setup/ProjectCreateModal.js +203 -0
- package/lib/components/workspace-setup/ProjectCreateModal.js.map +1 -0
- package/lib/components/workspace-setup/ProjectSelector.d.ts +22 -0
- package/lib/components/workspace-setup/ProjectSelector.d.ts.map +1 -0
- package/lib/components/workspace-setup/ProjectSelector.js +65 -0
- package/lib/components/workspace-setup/ProjectSelector.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSelector.d.ts +22 -0
- package/lib/components/workspace-setup/WorkspaceSelector.d.ts.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSelector.js +57 -0
- package/lib/components/workspace-setup/WorkspaceSelector.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSetup.d.ts +18 -0
- package/lib/components/workspace-setup/WorkspaceSetup.d.ts.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSetup.js +155 -0
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSetupStoreProvider.d.ts +23 -0
- package/lib/components/workspace-setup/WorkspaceSetupStoreProvider.d.ts.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSetupStoreProvider.js +34 -0
- package/lib/components/workspace-setup/WorkspaceSetupStoreProvider.js.map +1 -0
- package/lib/index.css +17 -0
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +70 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +75 -0
- package/lib/index.js.map +1 -0
- package/lib/package.json +101 -0
- package/lib/stores/AbstractConflictResolutionState.d.ts +39 -0
- package/lib/stores/AbstractConflictResolutionState.d.ts.map +1 -0
- package/lib/stores/AbstractConflictResolutionState.js +32 -0
- package/lib/stores/AbstractConflictResolutionState.js.map +1 -0
- package/lib/stores/ChangeDetectionEvent.d.ts +29 -0
- package/lib/stores/ChangeDetectionEvent.d.ts.map +1 -0
- package/lib/stores/ChangeDetectionEvent.js +31 -0
- package/lib/stores/ChangeDetectionEvent.js.map +1 -0
- package/lib/stores/ChangeDetectionState.d.ts +211 -0
- package/lib/stores/ChangeDetectionState.d.ts.map +1 -0
- package/lib/stores/ChangeDetectionState.js +523 -0
- package/lib/stores/ChangeDetectionState.js.map +1 -0
- package/lib/stores/DSLData_LegendStudioApplicationPlugin_Extension.d.ts +51 -0
- package/lib/stores/DSLData_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/DSLData_LegendStudioApplicationPlugin_Extension.js +17 -0
- package/lib/stores/DSLData_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.d.ts +42 -0
- package/lib/stores/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.js +17 -0
- package/lib/stores/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.d.ts +138 -0
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.js +17 -0
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.d.ts +35 -0
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.js +17 -0
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/EditorConfig.d.ts +75 -0
- package/lib/stores/EditorConfig.d.ts.map +1 -0
- package/lib/stores/EditorConfig.js +81 -0
- package/lib/stores/EditorConfig.js.map +1 -0
- package/lib/stores/EditorGraphState.d.ts +133 -0
- package/lib/stores/EditorGraphState.d.ts.map +1 -0
- package/lib/stores/EditorGraphState.js +848 -0
- package/lib/stores/EditorGraphState.js.map +1 -0
- package/lib/stores/EditorSDLCState.d.ts +59 -0
- package/lib/stores/EditorSDLCState.d.ts.map +1 -0
- package/lib/stores/EditorSDLCState.js +245 -0
- package/lib/stores/EditorSDLCState.js.map +1 -0
- package/lib/stores/EditorStore.d.ts +174 -0
- package/lib/stores/EditorStore.d.ts.map +1 -0
- package/lib/stores/EditorStore.js +992 -0
- package/lib/stores/EditorStore.js.map +1 -0
- package/lib/stores/EditorStoreTestUtils.d.ts +21 -0
- package/lib/stores/EditorStoreTestUtils.d.ts.map +1 -0
- package/lib/stores/EditorStoreTestUtils.js +54 -0
- package/lib/stores/EditorStoreTestUtils.js.map +1 -0
- package/lib/stores/ExplorerTreeState.d.ts +67 -0
- package/lib/stores/ExplorerTreeState.d.ts.map +1 -0
- package/lib/stores/ExplorerTreeState.js +271 -0
- package/lib/stores/ExplorerTreeState.js.map +1 -0
- package/lib/stores/LegendStudioAppEvent.d.ts +29 -0
- package/lib/stores/LegendStudioAppEvent.d.ts.map +1 -0
- package/lib/stores/LegendStudioAppEvent.js +34 -0
- package/lib/stores/LegendStudioAppEvent.js.map +1 -0
- package/lib/stores/LegendStudioApplicationNavigationContext.d.ts +38 -0
- package/lib/stores/LegendStudioApplicationNavigationContext.d.ts.map +1 -0
- package/lib/stores/LegendStudioApplicationNavigationContext.js +41 -0
- package/lib/stores/LegendStudioApplicationNavigationContext.js.map +1 -0
- package/lib/stores/LegendStudioApplicationPlugin.d.ts +218 -0
- package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/stores/LegendStudioApplicationPlugin.js +27 -0
- package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/stores/LegendStudioBaseStore.d.ts +38 -0
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -0
- package/lib/stores/LegendStudioBaseStore.js +159 -0
- package/lib/stores/LegendStudioBaseStore.js.map +1 -0
- package/lib/stores/LegendStudioCodeSnippets.d.ts +43 -0
- package/lib/stores/LegendStudioCodeSnippets.d.ts.map +1 -0
- package/lib/stores/LegendStudioCodeSnippets.js +307 -0
- package/lib/stores/LegendStudioCodeSnippets.js.map +1 -0
- package/lib/stores/LegendStudioDocumentation.d.ts +63 -0
- package/lib/stores/LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/stores/LegendStudioDocumentation.js +73 -0
- package/lib/stores/LegendStudioDocumentation.js.map +1 -0
- package/lib/stores/LegendStudioEventService.d.ts +23 -0
- package/lib/stores/LegendStudioEventService.d.ts.map +1 -0
- package/lib/stores/LegendStudioEventService.js +29 -0
- package/lib/stores/LegendStudioEventService.js.map +1 -0
- package/lib/stores/LegendStudioRouter.d.ts +76 -0
- package/lib/stores/LegendStudioRouter.d.ts.map +1 -0
- package/lib/stores/LegendStudioRouter.js +119 -0
- package/lib/stores/LegendStudioRouter.js.map +1 -0
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.d.ts +61 -0
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.js +17 -0
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/aux-panel-state/DevToolState.d.ts +21 -0
- package/lib/stores/aux-panel-state/DevToolState.d.ts.map +1 -0
- package/lib/stores/aux-panel-state/DevToolState.js +24 -0
- package/lib/stores/aux-panel-state/DevToolState.js.map +1 -0
- package/lib/stores/editor/EditorMode.d.ts +22 -0
- package/lib/stores/editor/EditorMode.d.ts.map +1 -0
- package/lib/stores/editor/EditorMode.js +18 -0
- package/lib/stores/editor/EditorMode.js.map +1 -0
- package/lib/stores/editor/NewElementState.d.ts +125 -0
- package/lib/stores/editor/NewElementState.d.ts.map +1 -0
- package/lib/stores/editor/NewElementState.js +553 -0
- package/lib/stores/editor/NewElementState.js.map +1 -0
- package/lib/stores/editor/StandardEditorMode.d.ts +23 -0
- package/lib/stores/editor/StandardEditorMode.d.ts.map +1 -0
- package/lib/stores/editor/StandardEditorMode.js +28 -0
- package/lib/stores/editor/StandardEditorMode.js.map +1 -0
- package/lib/stores/editor-state/EditorState.d.ts +26 -0
- package/lib/stores/editor-state/EditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/EditorState.js +27 -0
- package/lib/stores/editor-state/EditorState.js.map +1 -0
- package/lib/stores/editor-state/ExternalFormatState.d.ts +42 -0
- package/lib/stores/editor-state/ExternalFormatState.d.ts.map +1 -0
- package/lib/stores/editor-state/ExternalFormatState.js +74 -0
- package/lib/stores/editor-state/ExternalFormatState.js.map +1 -0
- package/lib/stores/editor-state/FileGenerationState.d.ts +44 -0
- package/lib/stores/editor-state/FileGenerationState.d.ts.map +1 -0
- package/lib/stores/editor-state/FileGenerationState.js +217 -0
- package/lib/stores/editor-state/FileGenerationState.js.map +1 -0
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts +27 -0
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts.map +1 -0
- package/lib/stores/editor-state/FileGenerationViewerState.js +52 -0
- package/lib/stores/editor-state/FileGenerationViewerState.js.map +1 -0
- package/lib/stores/editor-state/GenerationSpecificationEditorState.d.ts +40 -0
- package/lib/stores/editor-state/GenerationSpecificationEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js +73 -0
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +1 -0
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts +31 -0
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/GrammarTextEditorState.js +143 -0
- package/lib/stores/editor-state/GrammarTextEditorState.js.map +1 -0
- package/lib/stores/editor-state/GraphGenerationState.d.ts +74 -0
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +1 -0
- package/lib/stores/editor-state/GraphGenerationState.js +349 -0
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -0
- package/lib/stores/editor-state/ModelLoaderState.d.ts +52 -0
- package/lib/stores/editor-state/ModelLoaderState.d.ts.map +1 -0
- package/lib/stores/editor-state/ModelLoaderState.js +199 -0
- package/lib/stores/editor-state/ModelLoaderState.js.map +1 -0
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts +53 -0
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js +191 -0
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js.map +1 -0
- package/lib/stores/editor-state/UnsupportedElementEditorState.d.ts +22 -0
- package/lib/stores/editor-state/UnsupportedElementEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/UnsupportedElementEditorState.js +22 -0
- package/lib/stores/editor-state/UnsupportedElementEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts +31 -0
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js +88 -0
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ClassState.d.ts +59 -0
- package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ClassState.js +271 -0
- package/lib/stores/editor-state/element-editor-state/ClassState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts +43 -0
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +104 -0
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts +30 -0
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +69 -0
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.d.ts +27 -0
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.js +43 -0
- package/lib/stores/editor-state/element-editor-state/FileGenerationEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts +46 -0
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +156 -0
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts +115 -0
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +522 -0
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.d.ts +35 -0
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.js +69 -0
- package/lib/stores/editor-state/element-editor-state/UMLEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts +92 -0
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +339 -0
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts +76 -0
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +422 -0
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.d.ts +47 -0
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.js +65 -0
- package/lib/stores/editor-state/element-editor-state/data/DataEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.d.ts +80 -0
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js +254 -0
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/BindingEditorState.d.ts +30 -0
- package/lib/stores/editor-state/element-editor-state/external-format/BindingEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/BindingEditorState.js +47 -0
- package/lib/stores/editor-state/element-editor-state/external-format/BindingEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.d.ts +68 -0
- package/lib/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.js +277 -0
- package/lib/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts +71 -0
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js +236 -0
- package/lib/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +111 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +888 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts +65 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js +389 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts +46 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js +73 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts +101 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +448 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts +123 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +461 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +55 -0
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +235 -0
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts +22 -0
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js +25 -0
- package/lib/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/relational/DatabaseEditorHelper.d.ts +19 -0
- package/lib/stores/editor-state/element-editor-state/mapping/relational/DatabaseEditorHelper.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/relational/DatabaseEditorHelper.js +108 -0
- package/lib/stores/editor-state/element-editor-state/mapping/relational/DatabaseEditorHelper.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts +69 -0
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js +225 -0
- package/lib/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts +41 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js +76 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts +158 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +566 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts +55 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +207 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts +23 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.js +24 -0
- package/lib/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts +63 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +235 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts +81 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +277 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts +54 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +208 -0
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.d.ts +86 -0
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +230 -0
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.d.ts +55 -0
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +140 -0
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts +92 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +383 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts +28 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js +43 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts +68 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.d.ts.map +1 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js +172 -0
- package/lib/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -0
- package/lib/stores/graphModifier/DSLData_GraphModifierHelper.d.ts +27 -0
- package/lib/stores/graphModifier/DSLData_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/DSLData_GraphModifierHelper.js +50 -0
- package/lib/stores/graphModifier/DSLData_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.d.ts +33 -0
- package/lib/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.js +69 -0
- package/lib/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/DSLGeneration_GraphModifierHelper.d.ts +32 -0
- package/lib/stores/graphModifier/DSLGeneration_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/DSLGeneration_GraphModifierHelper.js +80 -0
- package/lib/stores/graphModifier/DSLGeneration_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.d.ts +84 -0
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.js +249 -0
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/DSLService_GraphModifierHelper.d.ts +45 -0
- package/lib/stores/graphModifier/DSLService_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/DSLService_GraphModifierHelper.js +111 -0
- package/lib/stores/graphModifier/DSLService_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/DomainGraphModifierHelper.d.ts +59 -0
- package/lib/stores/graphModifier/DomainGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/DomainGraphModifierHelper.js +175 -0
- package/lib/stores/graphModifier/DomainGraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/GraphModifierHelper.d.ts +22 -0
- package/lib/stores/graphModifier/GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/GraphModifierHelper.js +45 -0
- package/lib/stores/graphModifier/GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/StoreFlatData_GraphModifierHelper.d.ts +21 -0
- package/lib/stores/graphModifier/StoreFlatData_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/StoreFlatData_GraphModifierHelper.js +33 -0
- package/lib/stores/graphModifier/StoreFlatData_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/StoreRelational_GraphModifierHelper.d.ts +73 -0
- package/lib/stores/graphModifier/StoreRelational_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/StoreRelational_GraphModifierHelper.js +194 -0
- package/lib/stores/graphModifier/StoreRelational_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/Testable_GraphModifierHelper.d.ts +22 -0
- package/lib/stores/graphModifier/Testable_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/Testable_GraphModifierHelper.js +35 -0
- package/lib/stores/graphModifier/Testable_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.d.ts +20 -0
- package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.js +28 -0
- package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.js.map +1 -0
- package/lib/stores/project-viewer/ProjectViewerEditorMode.d.ts +23 -0
- package/lib/stores/project-viewer/ProjectViewerEditorMode.d.ts.map +1 -0
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js +34 -0
- package/lib/stores/project-viewer/ProjectViewerEditorMode.js.map +1 -0
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts +59 -0
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -0
- package/lib/stores/project-viewer/ProjectViewerStore.js +349 -0
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -0
- package/lib/stores/shared/DnDUtil.d.ts +68 -0
- package/lib/stores/shared/DnDUtil.d.ts.map +1 -0
- package/lib/stores/shared/DnDUtil.js +78 -0
- package/lib/stores/shared/DnDUtil.js.map +1 -0
- package/lib/stores/shared/FileGenerationTreeUtil.d.ts +57 -0
- package/lib/stores/shared/FileGenerationTreeUtil.d.ts.map +1 -0
- package/lib/stores/shared/FileGenerationTreeUtil.js +221 -0
- package/lib/stores/shared/FileGenerationTreeUtil.js.map +1 -0
- package/lib/stores/shared/MockDataUtil.d.ts +25 -0
- package/lib/stores/shared/MockDataUtil.d.ts.map +1 -0
- package/lib/stores/shared/MockDataUtil.js +114 -0
- package/lib/stores/shared/MockDataUtil.js.map +1 -0
- package/lib/stores/shared/ModelUtil.d.ts +61 -0
- package/lib/stores/shared/ModelUtil.d.ts.map +1 -0
- package/lib/stores/shared/ModelUtil.js +83 -0
- package/lib/stores/shared/ModelUtil.js.map +1 -0
- package/lib/stores/shared/PackageTreeUtil.d.ts +32 -0
- package/lib/stores/shared/PackageTreeUtil.d.ts.map +1 -0
- package/lib/stores/shared/PackageTreeUtil.js +220 -0
- package/lib/stores/shared/PackageTreeUtil.js.map +1 -0
- package/lib/stores/shared/TreeUtil.d.ts +36 -0
- package/lib/stores/shared/TreeUtil.d.ts.map +1 -0
- package/lib/stores/shared/TreeUtil.js +17 -0
- package/lib/stores/shared/TreeUtil.js.map +1 -0
- package/lib/stores/shared/testable/TestableUtils.d.ts +45 -0
- package/lib/stores/shared/testable/TestableUtils.d.ts.map +1 -0
- package/lib/stores/shared/testable/TestableUtils.js +142 -0
- package/lib/stores/shared/testable/TestableUtils.js.map +1 -0
- package/lib/stores/sidebar-state/LocalChangesState.d.ts +57 -0
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/LocalChangesState.js +409 -0
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -0
- package/lib/stores/sidebar-state/ProjectOverviewState.d.ts +49 -0
- package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/ProjectOverviewState.js +170 -0
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -0
- package/lib/stores/sidebar-state/WorkflowManagerState.d.ts +110 -0
- package/lib/stores/sidebar-state/WorkflowManagerState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/WorkflowManagerState.js +352 -0
- package/lib/stores/sidebar-state/WorkflowManagerState.js.map +1 -0
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts +47 -0
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +254 -0
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -0
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts +70 -0
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/WorkspaceSyncState.js +382 -0
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -0
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts +53 -0
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +472 -0
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -0
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts +36 -0
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +210 -0
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -0
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +102 -0
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -0
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js +413 -0
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -0
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +45 -0
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +1 -0
- package/lib/stores/workspace-review/WorkspaceReviewStore.js +185 -0
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -0
- package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts +72 -0
- package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -0
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +240 -0
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -0
- package/package.json +101 -0
- package/src/application/LegendStudio.tsx +97 -0
- package/src/application/LegendStudioApplicationConfig.ts +148 -0
- package/src/application/LegendStudioPluginManager.ts +76 -0
- package/src/components/Core_LegendStudioApplicationPlugin.tsx +92 -0
- package/src/components/DSLExternalFormat_CodeSnippets.ts +78 -0
- package/src/components/DSLExternalFormat_LegendStudioApplicationPlugin.tsx +437 -0
- package/src/components/DSLExternalFormat_LegendStudioDocumentation.ts +21 -0
- package/src/components/EditorComponentTestUtils.tsx +452 -0
- package/src/components/LegendStudioAppInfo.tsx +312 -0
- package/src/components/LegendStudioApplication.tsx +223 -0
- package/src/components/LegendStudioBaseStoreProvider.tsx +69 -0
- package/src/components/LegendStudioTestID.ts +63 -0
- package/src/components/editor/ActivityBar.tsx +396 -0
- package/src/components/editor/Editor.tsx +317 -0
- package/src/components/editor/EditorStoreProvider.tsx +69 -0
- package/src/components/editor/StatusBar.tsx +359 -0
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +135 -0
- package/src/components/editor/aux-panel/Console.tsx +25 -0
- package/src/components/editor/aux-panel/DevTool.tsx +118 -0
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +146 -0
- package/src/components/editor/edit-panel/EditPanel.tsx +578 -0
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +106 -0
- package/src/components/editor/edit-panel/FunctionEditor.tsx +838 -0
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +615 -0
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +1244 -0
- package/src/components/editor/edit-panel/ModelLoader.tsx +264 -0
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +1114 -0
- package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +83 -0
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +193 -0
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +354 -0
- package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +51 -0
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +1504 -0
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +383 -0
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +300 -0
- package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +257 -0
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +800 -0
- package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +177 -0
- package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +203 -0
- package/src/components/editor/edit-panel/element-generation-editor/ElementNativeView.tsx +61 -0
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +1484 -0
- package/src/components/editor/edit-panel/external-format-editor/BindingElementEditor.tsx +482 -0
- package/src/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.tsx +98 -0
- package/src/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.tsx +92 -0
- package/src/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.tsx +583 -0
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +307 -0
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +550 -0
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +328 -0
- package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +160 -0
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +614 -0
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +220 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +348 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +814 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +594 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +779 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.tsx +508 -0
- package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +279 -0
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +265 -0
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +351 -0
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +420 -0
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +362 -0
- package/src/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.tsx +390 -0
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +529 -0
- package/src/components/editor/edit-panel/service-editor/NewServiceModal.tsx +115 -0
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +485 -0
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +889 -0
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +368 -0
- package/src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx +221 -0
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +428 -0
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +232 -0
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +749 -0
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +362 -0
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +569 -0
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +1534 -0
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +600 -0
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +250 -0
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +239 -0
- package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +142 -0
- package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +199 -0
- package/src/components/editor/edit-panel/uml-editor/UMLEditor.tsx +47 -0
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +518 -0
- package/src/components/editor/side-bar/Explorer.tsx +914 -0
- package/src/components/editor/side-bar/LocalChanges.tsx +433 -0
- package/src/components/editor/side-bar/ProjectOverview.tsx +886 -0
- package/src/components/editor/side-bar/SideBar.tsx +71 -0
- package/src/components/editor/side-bar/WorkflowManager.tsx +529 -0
- package/src/components/editor/side-bar/WorkspaceReview.tsx +341 -0
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +276 -0
- package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +206 -0
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +279 -0
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +459 -0
- package/src/components/project-viewer/ProjectViewer.tsx +358 -0
- package/src/components/project-viewer/ProjectViewerStoreProvider.tsx +56 -0
- package/src/components/shared/DiffView.tsx +151 -0
- package/src/components/shared/ElementIconUtils.tsx +141 -0
- package/src/components/shared/MultiplicityBadge.tsx +39 -0
- package/src/components/shared/StudioLambdaEditor.tsx +140 -0
- package/src/components/shared/StudioTextInputEditor.tsx +83 -0
- package/src/components/shared/TypeTree.tsx +290 -0
- package/src/components/workspace-review/WorkspaceReview.tsx +247 -0
- package/src/components/workspace-review/WorkspaceReviewPanel.tsx +190 -0
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +250 -0
- package/src/components/workspace-review/WorkspaceReviewStoreProvider.tsx +58 -0
- package/src/components/workspace-setup/ProjectCreateModal.tsx +756 -0
- package/src/components/workspace-setup/ProjectSelector.tsx +148 -0
- package/src/components/workspace-setup/WorkspaceSelector.tsx +135 -0
- package/src/components/workspace-setup/WorkspaceSetup.tsx +406 -0
- package/src/components/workspace-setup/WorkspaceSetupStoreProvider.tsx +56 -0
- package/src/index.ts +113 -0
- package/src/stores/AbstractConflictResolutionState.ts +55 -0
- package/src/stores/ChangeDetectionEvent.ts +34 -0
- package/src/stores/ChangeDetectionState.ts +819 -0
- package/src/stores/DSLData_LegendStudioApplicationPlugin_Extension.ts +72 -0
- package/src/stores/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.ts +49 -0
- package/src/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.ts +230 -0
- package/src/stores/DSLService_LegendStudioApplicationPlugin_Extension.ts +46 -0
- package/src/stores/EditorConfig.ts +81 -0
- package/src/stores/EditorGraphState.ts +1243 -0
- package/src/stores/EditorSDLCState.ts +440 -0
- package/src/stores/EditorStore.ts +1463 -0
- package/src/stores/EditorStoreTestUtils.ts +73 -0
- package/src/stores/ExplorerTreeState.ts +413 -0
- package/src/stores/LegendStudioAppEvent.ts +35 -0
- package/src/stores/LegendStudioApplicationNavigationContext.ts +46 -0
- package/src/stores/LegendStudioApplicationPlugin.ts +331 -0
- package/src/stores/LegendStudioBaseStore.ts +239 -0
- package/src/stores/LegendStudioCodeSnippets.ts +350 -0
- package/src/stores/LegendStudioDocumentation.ts +84 -0
- package/src/stores/LegendStudioEventService.ts +36 -0
- package/src/stores/LegendStudioRouter.ts +222 -0
- package/src/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.ts +100 -0
- package/src/stores/aux-panel-state/DevToolState.ts +27 -0
- package/src/stores/editor/EditorMode.ts +22 -0
- package/src/stores/editor/NewElementState.ts +835 -0
- package/src/stores/editor/StandardEditorMode.ts +35 -0
- package/src/stores/editor-state/EditorState.ts +32 -0
- package/src/stores/editor-state/ExternalFormatState.ts +107 -0
- package/src/stores/editor-state/FileGenerationState.ts +319 -0
- package/src/stores/editor-state/FileGenerationViewerState.ts +70 -0
- package/src/stores/editor-state/GenerationSpecificationEditorState.ts +125 -0
- package/src/stores/editor-state/GrammarTextEditorState.ts +181 -0
- package/src/stores/editor-state/GraphGenerationState.ts +554 -0
- package/src/stores/editor-state/ModelLoaderState.ts +278 -0
- package/src/stores/editor-state/ProjectConfigurationEditorState.ts +300 -0
- package/src/stores/editor-state/UnsupportedElementEditorState.ts +28 -0
- package/src/stores/editor-state/element-editor-state/ClassEditorState.ts +140 -0
- package/src/stores/editor-state/element-editor-state/ClassState.ts +419 -0
- package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +159 -0
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +94 -0
- package/src/stores/editor-state/element-editor-state/FileGenerationEditorState.ts +69 -0
- package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +231 -0
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +935 -0
- package/src/stores/editor-state/element-editor-state/UMLEditorState.ts +84 -0
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +475 -0
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +637 -0
- package/src/stores/editor-state/element-editor-state/data/DataEditorState.ts +100 -0
- package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +351 -0
- package/src/stores/editor-state/element-editor-state/external-format/BindingEditorState.ts +61 -0
- package/src/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.ts +397 -0
- package/src/stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.ts +397 -0
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +1528 -0
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +794 -0
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementState.ts +111 -0
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +895 -0
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +803 -0
- package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +349 -0
- package/src/stores/editor-state/element-editor-state/mapping/UnsupportedInstanceSetImplementationState.ts +27 -0
- package/src/stores/editor-state/element-editor-state/mapping/relational/DatabaseEditorHelper.tsx +134 -0
- package/src/stores/editor-state/element-editor-state/mapping/relational/RelationalInstanceSetImplementationState.ts +350 -0
- package/src/stores/editor-state/element-editor-state/service/ServiceEditorState.ts +114 -0
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +907 -0
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +312 -0
- package/src/stores/editor-state/element-editor-state/service/ServiceTestRunnerState.ts +31 -0
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +365 -0
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +405 -0
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +293 -0
- package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +319 -0
- package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +205 -0
- package/src/stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +547 -0
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.ts +48 -0
- package/src/stores/editor-state/entity-diff-editor-state/EntityDiffViewState.ts +228 -0
- package/src/stores/graphModifier/DSLData_GraphModifierHelper.ts +104 -0
- package/src/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.ts +138 -0
- package/src/stores/graphModifier/DSLGeneration_GraphModifierHelper.ts +188 -0
- package/src/stores/graphModifier/DSLMapping_GraphModifierHelper.ts +563 -0
- package/src/stores/graphModifier/DSLService_GraphModifierHelper.ts +243 -0
- package/src/stores/graphModifier/DomainGraphModifierHelper.ts +349 -0
- package/src/stores/graphModifier/GraphModifierHelper.ts +80 -0
- package/src/stores/graphModifier/StoreFlatData_GraphModifierHelper.ts +60 -0
- package/src/stores/graphModifier/StoreRelational_GraphModifierHelper.ts +413 -0
- package/src/stores/graphModifier/Testable_GraphModifierHelper.ts +58 -0
- package/src/stores/graphModifier/ValueSpecificationGraphModifierHelper.ts +41 -0
- package/src/stores/project-viewer/ProjectViewerEditorMode.ts +59 -0
- package/src/stores/project-viewer/ProjectViewerStore.ts +597 -0
- package/src/stores/shared/DnDUtil.ts +102 -0
- package/src/stores/shared/FileGenerationTreeUtil.ts +340 -0
- package/src/stores/shared/MockDataUtil.ts +191 -0
- package/src/stores/shared/ModelUtil.ts +87 -0
- package/src/stores/shared/PackageTreeUtil.ts +310 -0
- package/src/stores/shared/TreeUtil.ts +49 -0
- package/src/stores/shared/testable/TestableUtils.ts +213 -0
- package/src/stores/sidebar-state/LocalChangesState.ts +689 -0
- package/src/stores/sidebar-state/ProjectOverviewState.ts +287 -0
- package/src/stores/sidebar-state/WorkflowManagerState.ts +648 -0
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +384 -0
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +578 -0
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +728 -0
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +358 -0
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +576 -0
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +272 -0
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +374 -0
- package/tsconfig.json +256 -0
|
@@ -0,0 +1,553 @@
|
|
|
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, observable, computed, makeObservable, makeAutoObservable, flowResult, } from 'mobx';
|
|
17
|
+
import { IllegalStateError, guaranteeType, UnsupportedOperationError, guaranteeNonNullable, } from '@finos/legend-shared';
|
|
18
|
+
import { decorateRuntimeWithNewMapping } from '../editor-state/element-editor-state/RuntimeEditorState.js';
|
|
19
|
+
import { DEFAULT_GENERATION_SPECIFICATION_NAME, } from '../editor-state/GraphGenerationState.js';
|
|
20
|
+
import { PRIMITIVE_TYPE, TYPICAL_MULTIPLICITY_TYPE, ELEMENT_PATH_DELIMITER, Package, Class, Association, Enumeration, ConcreteFunctionDefinition, Profile, Mapping, FlatData, Service, PackageableConnection, PackageableRuntime, PureSingleExecution, EngineRuntime, JsonModelConnection, FileGenerationSpecification, GenerationSpecification, FlatDataConnection, Database, PackageableElementExplicitReference, RelationalDatabaseConnection, DatabaseType, StaticDatasourceSpecification, DefaultH2AuthenticationStrategy, ModelGenerationSpecification, DataElement, stub_RawLambda, stub_Database, } from '@finos/legend-graph';
|
|
21
|
+
import { packageableConnection_setConnectionValue, runtime_addMapping, } from '../graphModifier/DSLMapping_GraphModifierHelper.js';
|
|
22
|
+
import { fileGeneration_setScopeElements, fileGeneration_setType, generationSpecification_addGenerationElement, } from '../graphModifier/DSLGeneration_GraphModifierHelper.js';
|
|
23
|
+
import { service_initNewService, service_setExecution, } from '../graphModifier/DSLService_GraphModifierHelper.js';
|
|
24
|
+
import { dataElement_setEmbeddedData } from '../graphModifier/DSLData_GraphModifierHelper.js';
|
|
25
|
+
import { PACKAGEABLE_ELEMENT_TYPE } from '../shared/ModelUtil.js';
|
|
26
|
+
import { EmbeddedDataType } from '../editor-state/ExternalFormatState.js';
|
|
27
|
+
import { createEmbeddedData } from '../editor-state/element-editor-state/data/EmbeddedDataState.js';
|
|
28
|
+
export const resolvePackageAndElementName = (_package, isPackageRoot, name) => {
|
|
29
|
+
const index = name.lastIndexOf(ELEMENT_PATH_DELIMITER);
|
|
30
|
+
const elementName = index === -1 ? name : name.substring(index + 2, name.length);
|
|
31
|
+
const additionalPackageName = index === -1 ? '' : name.substring(0, index);
|
|
32
|
+
const selectedPackageName = isPackageRoot ? '' : _package.path;
|
|
33
|
+
const packagePath = !selectedPackageName && !additionalPackageName
|
|
34
|
+
? ''
|
|
35
|
+
: selectedPackageName
|
|
36
|
+
? `${selectedPackageName}${additionalPackageName
|
|
37
|
+
? `${ELEMENT_PATH_DELIMITER}${additionalPackageName}`
|
|
38
|
+
: ''}`
|
|
39
|
+
: additionalPackageName;
|
|
40
|
+
return [packagePath, elementName];
|
|
41
|
+
};
|
|
42
|
+
export const handlePostCreateAction = async (element, editorStore) => {
|
|
43
|
+
// post creation handling
|
|
44
|
+
if (element instanceof FileGenerationSpecification ||
|
|
45
|
+
element instanceof ModelGenerationSpecification) {
|
|
46
|
+
const generationElement = element;
|
|
47
|
+
const generationSpecifications = editorStore.graphManagerState.graph.ownGenerationSpecifications;
|
|
48
|
+
let generationSpec;
|
|
49
|
+
if (generationSpecifications.length) {
|
|
50
|
+
// TODO? handle case when more than one generation specification
|
|
51
|
+
generationSpec = generationSpecifications[0];
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
generationSpec = new GenerationSpecification(DEFAULT_GENERATION_SPECIFICATION_NAME);
|
|
55
|
+
await flowResult(editorStore.addElement(generationSpec, guaranteeNonNullable(generationElement.package).path, false));
|
|
56
|
+
}
|
|
57
|
+
generationSpecification_addGenerationElement(generationSpec, generationElement);
|
|
58
|
+
}
|
|
59
|
+
const extraElementEditorPostCreateActions = editorStore.pluginManager
|
|
60
|
+
.getApplicationPlugins()
|
|
61
|
+
.flatMap((plugin) => plugin.getExtraElementEditorPostCreateActions?.() ?? []);
|
|
62
|
+
for (const postCreateAction of extraElementEditorPostCreateActions) {
|
|
63
|
+
postCreateAction(editorStore, element);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
export class NewElementDriver {
|
|
67
|
+
editorStore;
|
|
68
|
+
constructor(editorStore) {
|
|
69
|
+
this.editorStore = editorStore;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export class NewPackageableRuntimeDriver extends NewElementDriver {
|
|
73
|
+
mapping;
|
|
74
|
+
constructor(editorStore) {
|
|
75
|
+
super(editorStore);
|
|
76
|
+
makeObservable(this, {
|
|
77
|
+
mapping: observable,
|
|
78
|
+
setMapping: action,
|
|
79
|
+
isValid: computed,
|
|
80
|
+
});
|
|
81
|
+
const mappings = this.editorStore.graphManagerState.graph.ownMappings;
|
|
82
|
+
if (mappings.length) {
|
|
83
|
+
this.mapping = mappings[0];
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
setMapping(mapping) {
|
|
87
|
+
this.mapping = mapping;
|
|
88
|
+
}
|
|
89
|
+
get isValid() {
|
|
90
|
+
return Boolean(this.mapping);
|
|
91
|
+
}
|
|
92
|
+
createElement(name) {
|
|
93
|
+
const runtime = new PackageableRuntime(name);
|
|
94
|
+
runtime.runtimeValue = new EngineRuntime();
|
|
95
|
+
runtime_addMapping(runtime.runtimeValue, PackageableElementExplicitReference.create(guaranteeNonNullable(this.mapping)));
|
|
96
|
+
return runtime;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export class NewConnectionValueDriver {
|
|
100
|
+
editorStore;
|
|
101
|
+
constructor(editorStore) {
|
|
102
|
+
this.editorStore = editorStore;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
export class NewPureModelConnectionDriver extends NewConnectionValueDriver {
|
|
106
|
+
class;
|
|
107
|
+
constructor(editorStore) {
|
|
108
|
+
super(editorStore);
|
|
109
|
+
makeObservable(this, {
|
|
110
|
+
class: observable,
|
|
111
|
+
setClass: action,
|
|
112
|
+
isValid: computed,
|
|
113
|
+
});
|
|
114
|
+
const classes = this.editorStore.graphManagerState.graph.ownClasses;
|
|
115
|
+
if (classes.length) {
|
|
116
|
+
this.class = classes[0];
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
setClass(_class) {
|
|
120
|
+
this.class = _class;
|
|
121
|
+
}
|
|
122
|
+
get isValid() {
|
|
123
|
+
return Boolean(this.class);
|
|
124
|
+
}
|
|
125
|
+
createConnection(store) {
|
|
126
|
+
return new JsonModelConnection(PackageableElementExplicitReference.create(store), PackageableElementExplicitReference.create(guaranteeNonNullable(this.class)));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
export class NewFlatDataConnectionDriver extends NewConnectionValueDriver {
|
|
130
|
+
constructor(editorStore) {
|
|
131
|
+
super(editorStore);
|
|
132
|
+
makeObservable(this, {
|
|
133
|
+
isValid: computed,
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
get isValid() {
|
|
137
|
+
return true;
|
|
138
|
+
}
|
|
139
|
+
createConnection(store) {
|
|
140
|
+
return new FlatDataConnection(PackageableElementExplicitReference.create(store));
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
export class NewRelationalDatabaseConnectionDriver extends NewConnectionValueDriver {
|
|
144
|
+
constructor(editorStore) {
|
|
145
|
+
super(editorStore);
|
|
146
|
+
makeObservable(this, {
|
|
147
|
+
isValid: computed,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
get isValid() {
|
|
151
|
+
return true;
|
|
152
|
+
}
|
|
153
|
+
createConnection(store) {
|
|
154
|
+
let selectedStore;
|
|
155
|
+
if (store instanceof Database) {
|
|
156
|
+
selectedStore = store;
|
|
157
|
+
}
|
|
158
|
+
else {
|
|
159
|
+
const dbs = this.editorStore.graphManagerState.graph.ownDatabases;
|
|
160
|
+
selectedStore = dbs.length ? dbs[0] : stub_Database();
|
|
161
|
+
}
|
|
162
|
+
return new RelationalDatabaseConnection(PackageableElementExplicitReference.create(selectedStore), DatabaseType.H2, new StaticDatasourceSpecification('dummyHost', 80, 'myDb'), new DefaultH2AuthenticationStrategy());
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
export var CONNECTION_TYPE;
|
|
166
|
+
(function (CONNECTION_TYPE) {
|
|
167
|
+
CONNECTION_TYPE["RELATIONAL"] = "RELATIONAL";
|
|
168
|
+
CONNECTION_TYPE["MODEL_CONNECTION"] = "MODEL_CONNECTION";
|
|
169
|
+
})(CONNECTION_TYPE = CONNECTION_TYPE || (CONNECTION_TYPE = {}));
|
|
170
|
+
const getConnectionType = (val) => {
|
|
171
|
+
if (val instanceof NewPureModelConnectionDriver) {
|
|
172
|
+
return CONNECTION_TYPE.MODEL_CONNECTION;
|
|
173
|
+
}
|
|
174
|
+
return CONNECTION_TYPE.RELATIONAL;
|
|
175
|
+
};
|
|
176
|
+
export class NewPackageableConnectionDriver extends NewElementDriver {
|
|
177
|
+
store;
|
|
178
|
+
newConnectionValueDriver;
|
|
179
|
+
constructor(editorStore) {
|
|
180
|
+
super(editorStore);
|
|
181
|
+
makeObservable(this, {
|
|
182
|
+
store: observable,
|
|
183
|
+
newConnectionValueDriver: observable,
|
|
184
|
+
setStore: action,
|
|
185
|
+
changeConnectionState: action,
|
|
186
|
+
isValid: computed,
|
|
187
|
+
});
|
|
188
|
+
this.newConnectionValueDriver =
|
|
189
|
+
this.getNewConnectionValueDriverBasedOnStore(undefined);
|
|
190
|
+
}
|
|
191
|
+
geDriverConnectionType() {
|
|
192
|
+
return getConnectionType(this.newConnectionValueDriver);
|
|
193
|
+
}
|
|
194
|
+
changeConnectionState(val) {
|
|
195
|
+
switch (val) {
|
|
196
|
+
case CONNECTION_TYPE.MODEL_CONNECTION:
|
|
197
|
+
this.newConnectionValueDriver = new NewPureModelConnectionDriver(this.editorStore);
|
|
198
|
+
break;
|
|
199
|
+
case CONNECTION_TYPE.RELATIONAL:
|
|
200
|
+
this.newConnectionValueDriver =
|
|
201
|
+
new NewRelationalDatabaseConnectionDriver(this.editorStore);
|
|
202
|
+
break;
|
|
203
|
+
default:
|
|
204
|
+
null;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
getNewConnectionValueDriverBasedOnStore(store) {
|
|
208
|
+
if (store === undefined) {
|
|
209
|
+
return new NewPureModelConnectionDriver(this.editorStore);
|
|
210
|
+
}
|
|
211
|
+
else if (store instanceof FlatData) {
|
|
212
|
+
return new NewFlatDataConnectionDriver(this.editorStore);
|
|
213
|
+
}
|
|
214
|
+
else if (store instanceof Database) {
|
|
215
|
+
return new NewRelationalDatabaseConnectionDriver(this.editorStore);
|
|
216
|
+
}
|
|
217
|
+
const extraNewConnectionDriverCreators = this.editorStore.pluginManager
|
|
218
|
+
.getApplicationPlugins()
|
|
219
|
+
.flatMap((plugin) => plugin.getExtraNewConnectionDriverCreators?.() ?? []);
|
|
220
|
+
for (const creator of extraNewConnectionDriverCreators) {
|
|
221
|
+
const driver = creator(this.editorStore, store);
|
|
222
|
+
if (driver) {
|
|
223
|
+
return driver;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
throw new UnsupportedOperationError(`Can't create new connection driver for store: no compatible creator available from plugins`, store);
|
|
227
|
+
}
|
|
228
|
+
setStore(store) {
|
|
229
|
+
this.store = store;
|
|
230
|
+
this.newConnectionValueDriver =
|
|
231
|
+
this.getNewConnectionValueDriverBasedOnStore(store);
|
|
232
|
+
}
|
|
233
|
+
get isValid() {
|
|
234
|
+
return this.newConnectionValueDriver.isValid;
|
|
235
|
+
}
|
|
236
|
+
createElement(name) {
|
|
237
|
+
const connection = new PackageableConnection(name);
|
|
238
|
+
packageableConnection_setConnectionValue(connection, this.newConnectionValueDriver.createConnection(this.store ?? this.editorStore.graphManagerState.graph.modelStore), this.editorStore.changeDetectionState.observerContext); // default to model store
|
|
239
|
+
return connection;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
export class NewServiceDriver extends NewElementDriver {
|
|
243
|
+
mappingOption;
|
|
244
|
+
constructor(editorStore) {
|
|
245
|
+
super(editorStore);
|
|
246
|
+
makeObservable(this, {
|
|
247
|
+
mappingOption: observable,
|
|
248
|
+
setMappingOption: action,
|
|
249
|
+
isValid: computed,
|
|
250
|
+
createElement: action,
|
|
251
|
+
});
|
|
252
|
+
this.mappingOption = editorStore.mappingOptions[0];
|
|
253
|
+
}
|
|
254
|
+
setMappingOption(val) {
|
|
255
|
+
this.mappingOption = val;
|
|
256
|
+
}
|
|
257
|
+
get isValid() {
|
|
258
|
+
return Boolean(this.mappingOption);
|
|
259
|
+
}
|
|
260
|
+
createElement(name) {
|
|
261
|
+
const mappingOption = guaranteeNonNullable(this.mappingOption);
|
|
262
|
+
const _mapping = mappingOption.value;
|
|
263
|
+
const mapping = PackageableElementExplicitReference.create(_mapping);
|
|
264
|
+
const service = new Service(name);
|
|
265
|
+
const runtimes = this.editorStore.graphManagerState.graph.ownRuntimes.concat(this.editorStore.graphManagerState.graph.dependencyManager.runtimes);
|
|
266
|
+
const compatibleRuntimes = runtimes.filter((runtime) => runtime.runtimeValue.mappings.map((m) => m.value).includes(_mapping));
|
|
267
|
+
let runtimeValue;
|
|
268
|
+
if (compatibleRuntimes.length) {
|
|
269
|
+
runtimeValue = compatibleRuntimes[0].runtimeValue;
|
|
270
|
+
}
|
|
271
|
+
else {
|
|
272
|
+
const engineRuntime = new EngineRuntime();
|
|
273
|
+
runtime_addMapping(engineRuntime, mapping);
|
|
274
|
+
decorateRuntimeWithNewMapping(engineRuntime, _mapping, this.editorStore);
|
|
275
|
+
runtimeValue = engineRuntime;
|
|
276
|
+
}
|
|
277
|
+
service_setExecution(service, new PureSingleExecution(stub_RawLambda(), service, mapping, runtimeValue), this.editorStore.changeDetectionState.observerContext);
|
|
278
|
+
service_initNewService(service);
|
|
279
|
+
const currentUserId = this.editorStore.graphManagerState.graphManager.TEMPORARY__getEngineConfig()
|
|
280
|
+
.currentUserId;
|
|
281
|
+
if (currentUserId) {
|
|
282
|
+
service.owners = [currentUserId];
|
|
283
|
+
}
|
|
284
|
+
return service;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
export class NewFileGenerationDriver extends NewElementDriver {
|
|
288
|
+
typeOption;
|
|
289
|
+
constructor(editorStore) {
|
|
290
|
+
super(editorStore);
|
|
291
|
+
makeObservable(this, {
|
|
292
|
+
typeOption: observable,
|
|
293
|
+
setTypeOption: action,
|
|
294
|
+
});
|
|
295
|
+
this.typeOption = editorStore.graphState.graphGenerationState
|
|
296
|
+
.fileGenerationConfigurationOptions.length
|
|
297
|
+
? editorStore.graphState.graphGenerationState
|
|
298
|
+
.fileGenerationConfigurationOptions[0]
|
|
299
|
+
: undefined;
|
|
300
|
+
}
|
|
301
|
+
setTypeOption(typeOption) {
|
|
302
|
+
this.typeOption = typeOption;
|
|
303
|
+
}
|
|
304
|
+
get isValid() {
|
|
305
|
+
return Boolean(this.typeOption);
|
|
306
|
+
}
|
|
307
|
+
createElement(name) {
|
|
308
|
+
const fileGeneration = new FileGenerationSpecification(name);
|
|
309
|
+
fileGeneration_setType(fileGeneration, guaranteeNonNullable(this.typeOption).value);
|
|
310
|
+
// default to all packages
|
|
311
|
+
fileGeneration_setScopeElements(fileGeneration, this.editorStore.graphManagerState.graph.root.children
|
|
312
|
+
.filter((element) => element instanceof Package)
|
|
313
|
+
.map((element) => PackageableElementExplicitReference.create(element)));
|
|
314
|
+
return fileGeneration;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
// Note: Main reason for driver is to disallow if generation specification already exists
|
|
318
|
+
export class NewGenerationSpecificationDriver extends NewElementDriver {
|
|
319
|
+
constructor(editorStore) {
|
|
320
|
+
super(editorStore);
|
|
321
|
+
makeObservable(this, {
|
|
322
|
+
isValid: computed,
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
get isValid() {
|
|
326
|
+
return !this.editorStore.graphManagerState.graph.ownGenerationSpecifications
|
|
327
|
+
.length;
|
|
328
|
+
}
|
|
329
|
+
createElement(name) {
|
|
330
|
+
return new GenerationSpecification(name);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
export class NewDataElementDriver extends NewElementDriver {
|
|
334
|
+
embeddedDataOption;
|
|
335
|
+
constructor(editorStore) {
|
|
336
|
+
super(editorStore);
|
|
337
|
+
makeObservable(this, {
|
|
338
|
+
embeddedDataOption: observable,
|
|
339
|
+
setEmbeddedDataOption: action,
|
|
340
|
+
});
|
|
341
|
+
this.embeddedDataOption = {
|
|
342
|
+
label: EmbeddedDataType.EXTERNAL_FORMAT_DATA,
|
|
343
|
+
value: EmbeddedDataType.EXTERNAL_FORMAT_DATA,
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
setEmbeddedDataOption(typeOption) {
|
|
347
|
+
this.embeddedDataOption = typeOption;
|
|
348
|
+
}
|
|
349
|
+
createElement(name) {
|
|
350
|
+
const embeddedDataOption = guaranteeNonNullable(this.embeddedDataOption);
|
|
351
|
+
const dataElement = new DataElement(name);
|
|
352
|
+
const data = createEmbeddedData(embeddedDataOption.value, this.editorStore);
|
|
353
|
+
dataElement_setEmbeddedData(dataElement, data, this.editorStore.changeDetectionState.observerContext);
|
|
354
|
+
return dataElement;
|
|
355
|
+
}
|
|
356
|
+
get isValid() {
|
|
357
|
+
return Boolean(this.embeddedDataOption);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
export class NewElementState {
|
|
361
|
+
editorStore;
|
|
362
|
+
showModal = false;
|
|
363
|
+
showType = false;
|
|
364
|
+
type;
|
|
365
|
+
_package;
|
|
366
|
+
name = '';
|
|
367
|
+
newElementDriver;
|
|
368
|
+
constructor(editorStore) {
|
|
369
|
+
makeAutoObservable(this, {
|
|
370
|
+
editorStore: false,
|
|
371
|
+
setShowModal: action,
|
|
372
|
+
setName: action,
|
|
373
|
+
setShowType: action,
|
|
374
|
+
setNewElementDriver: action,
|
|
375
|
+
setPackage: action,
|
|
376
|
+
setElementType: action,
|
|
377
|
+
openModal: action,
|
|
378
|
+
closeModal: action,
|
|
379
|
+
createElement: action,
|
|
380
|
+
});
|
|
381
|
+
this.editorStore = editorStore;
|
|
382
|
+
this.type = PACKAGEABLE_ELEMENT_TYPE.PACKAGE;
|
|
383
|
+
}
|
|
384
|
+
get elementAndPackageName() {
|
|
385
|
+
return resolvePackageAndElementName(this.selectedPackage, this._package === this.editorStore.graphManagerState.graph.root, this.name);
|
|
386
|
+
}
|
|
387
|
+
get selectedPackage() {
|
|
388
|
+
return this._package
|
|
389
|
+
? this._package
|
|
390
|
+
: this.editorStore.explorerTreeState.getSelectedNodePackage();
|
|
391
|
+
}
|
|
392
|
+
get isValid() {
|
|
393
|
+
return this.newElementDriver?.isValid ?? true;
|
|
394
|
+
}
|
|
395
|
+
setShowModal(val) {
|
|
396
|
+
this.showModal = val;
|
|
397
|
+
}
|
|
398
|
+
setName(name) {
|
|
399
|
+
this.name = name;
|
|
400
|
+
}
|
|
401
|
+
setShowType(showType) {
|
|
402
|
+
this.showType = showType;
|
|
403
|
+
}
|
|
404
|
+
setNewElementDriver(newElementDriver) {
|
|
405
|
+
this.newElementDriver = newElementDriver;
|
|
406
|
+
}
|
|
407
|
+
setPackage(_package) {
|
|
408
|
+
this._package = _package;
|
|
409
|
+
}
|
|
410
|
+
getNewElementDriver(clazz) {
|
|
411
|
+
return guaranteeType(this.newElementDriver, clazz, `New element driver is not of the specified type (this is likely caused by calling this method at the wrong place)`);
|
|
412
|
+
}
|
|
413
|
+
setElementType(newType) {
|
|
414
|
+
if (this.type !== newType) {
|
|
415
|
+
let driver = undefined;
|
|
416
|
+
switch (newType) {
|
|
417
|
+
case PACKAGEABLE_ELEMENT_TYPE.RUNTIME:
|
|
418
|
+
driver = new NewPackageableRuntimeDriver(this.editorStore);
|
|
419
|
+
break;
|
|
420
|
+
case PACKAGEABLE_ELEMENT_TYPE.CONNECTION:
|
|
421
|
+
driver = new NewPackageableConnectionDriver(this.editorStore);
|
|
422
|
+
break;
|
|
423
|
+
case PACKAGEABLE_ELEMENT_TYPE.FILE_GENERATION:
|
|
424
|
+
driver = new NewFileGenerationDriver(this.editorStore);
|
|
425
|
+
break;
|
|
426
|
+
case PACKAGEABLE_ELEMENT_TYPE.GENERATION_SPECIFICATION:
|
|
427
|
+
driver = new NewGenerationSpecificationDriver(this.editorStore);
|
|
428
|
+
break;
|
|
429
|
+
case PACKAGEABLE_ELEMENT_TYPE.DATA:
|
|
430
|
+
driver = new NewDataElementDriver(this.editorStore);
|
|
431
|
+
break;
|
|
432
|
+
case PACKAGEABLE_ELEMENT_TYPE.SERVICE:
|
|
433
|
+
driver = new NewServiceDriver(this.editorStore);
|
|
434
|
+
break;
|
|
435
|
+
default: {
|
|
436
|
+
const extraNewElementDriverCreators = this.editorStore.pluginManager
|
|
437
|
+
.getApplicationPlugins()
|
|
438
|
+
.flatMap((plugin) => plugin.getExtraNewElementDriverCreators?.() ?? []);
|
|
439
|
+
for (const creator of extraNewElementDriverCreators) {
|
|
440
|
+
const _driver = creator(this.editorStore, newType);
|
|
441
|
+
if (_driver) {
|
|
442
|
+
driver = _driver;
|
|
443
|
+
break;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
break;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
this.setNewElementDriver(driver);
|
|
450
|
+
this.type = newType;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
openModal(type, _package) {
|
|
454
|
+
this.setShowModal(true);
|
|
455
|
+
this.setElementType(type ?? PACKAGEABLE_ELEMENT_TYPE.PACKAGE);
|
|
456
|
+
this.setPackage(_package);
|
|
457
|
+
this.setShowType(!type);
|
|
458
|
+
}
|
|
459
|
+
closeModal() {
|
|
460
|
+
this.setShowModal(false);
|
|
461
|
+
this.setElementType(PACKAGEABLE_ELEMENT_TYPE.PACKAGE);
|
|
462
|
+
this.setPackage(undefined);
|
|
463
|
+
this.setShowType(false);
|
|
464
|
+
this.setName('');
|
|
465
|
+
}
|
|
466
|
+
*save() {
|
|
467
|
+
if (this.name && this.isValid) {
|
|
468
|
+
const [packagePath, elementName] = this.elementAndPackageName;
|
|
469
|
+
if (this.editorStore.graphManagerState.graph.getNullablePackage(packagePath) === this.editorStore.graphManagerState.graph.root &&
|
|
470
|
+
this.type !== PACKAGEABLE_ELEMENT_TYPE.PACKAGE) {
|
|
471
|
+
throw new IllegalStateError(`Can't create elements for type other than 'package' in root package`);
|
|
472
|
+
}
|
|
473
|
+
else {
|
|
474
|
+
const element = this.createElement(elementName);
|
|
475
|
+
yield flowResult(this.editorStore.addElement(element, packagePath, true));
|
|
476
|
+
// post creation handling
|
|
477
|
+
yield handlePostCreateAction(element, this.editorStore);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
this.closeModal();
|
|
481
|
+
}
|
|
482
|
+
createElement(name) {
|
|
483
|
+
let element;
|
|
484
|
+
switch (this.type) {
|
|
485
|
+
case PACKAGEABLE_ELEMENT_TYPE.PACKAGE:
|
|
486
|
+
element = new Package(name);
|
|
487
|
+
break;
|
|
488
|
+
case PACKAGEABLE_ELEMENT_TYPE.CLASS:
|
|
489
|
+
element = new Class(name);
|
|
490
|
+
break;
|
|
491
|
+
case PACKAGEABLE_ELEMENT_TYPE.ASSOCIATION:
|
|
492
|
+
element = new Association(name);
|
|
493
|
+
break;
|
|
494
|
+
case PACKAGEABLE_ELEMENT_TYPE.ENUMERATION:
|
|
495
|
+
element = new Enumeration(name);
|
|
496
|
+
break;
|
|
497
|
+
case PACKAGEABLE_ELEMENT_TYPE.PROFILE:
|
|
498
|
+
element = new Profile(name);
|
|
499
|
+
break;
|
|
500
|
+
// default for function -> return type: String, return Multiplicity 1
|
|
501
|
+
case PACKAGEABLE_ELEMENT_TYPE.FUNCTION:
|
|
502
|
+
element = new ConcreteFunctionDefinition(name, PackageableElementExplicitReference.create(this.editorStore.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.STRING)), this.editorStore.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE));
|
|
503
|
+
break;
|
|
504
|
+
case PACKAGEABLE_ELEMENT_TYPE.MAPPING:
|
|
505
|
+
element = new Mapping(name);
|
|
506
|
+
break;
|
|
507
|
+
case PACKAGEABLE_ELEMENT_TYPE.FLAT_DATA_STORE:
|
|
508
|
+
element = new FlatData(name);
|
|
509
|
+
break;
|
|
510
|
+
case PACKAGEABLE_ELEMENT_TYPE.DATABASE:
|
|
511
|
+
element = new Database(name);
|
|
512
|
+
break;
|
|
513
|
+
case PACKAGEABLE_ELEMENT_TYPE.SERVICE: {
|
|
514
|
+
element =
|
|
515
|
+
this.getNewElementDriver(NewServiceDriver).createElement(name);
|
|
516
|
+
break;
|
|
517
|
+
}
|
|
518
|
+
case PACKAGEABLE_ELEMENT_TYPE.CONNECTION:
|
|
519
|
+
element = this.getNewElementDriver(NewPackageableConnectionDriver).createElement(name);
|
|
520
|
+
break;
|
|
521
|
+
case PACKAGEABLE_ELEMENT_TYPE.RUNTIME:
|
|
522
|
+
element = this.getNewElementDriver(NewPackageableRuntimeDriver).createElement(name);
|
|
523
|
+
break;
|
|
524
|
+
case PACKAGEABLE_ELEMENT_TYPE.FILE_GENERATION:
|
|
525
|
+
element = this.getNewElementDriver(NewFileGenerationDriver).createElement(name);
|
|
526
|
+
break;
|
|
527
|
+
case PACKAGEABLE_ELEMENT_TYPE.DATA:
|
|
528
|
+
element =
|
|
529
|
+
this.getNewElementDriver(NewDataElementDriver).createElement(name);
|
|
530
|
+
break;
|
|
531
|
+
case PACKAGEABLE_ELEMENT_TYPE.GENERATION_SPECIFICATION:
|
|
532
|
+
element = new GenerationSpecification(name);
|
|
533
|
+
break;
|
|
534
|
+
default: {
|
|
535
|
+
const extraNewElementFromStateCreators = this.editorStore.pluginManager
|
|
536
|
+
.getApplicationPlugins()
|
|
537
|
+
.flatMap((plugin) => plugin.getExtraNewElementFromStateCreators?.() ?? []);
|
|
538
|
+
for (const creator of extraNewElementFromStateCreators) {
|
|
539
|
+
const _element = creator(this.type, name, this);
|
|
540
|
+
if (_element) {
|
|
541
|
+
element = _element;
|
|
542
|
+
break;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
if (!element) {
|
|
546
|
+
throw new UnsupportedOperationError(`Can't create element of type '${this.type}': no compatible element creator available from plugins`);
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
return element;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
//# sourceMappingURL=NewElementState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NewElementState.js","sourceRoot":"","sources":["../../../src/stores/editor/NewElementState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,QAAQ,EACR,cAAc,EACd,kBAAkB,EAClB,UAAU,GACX,MAAM,MAAM,CAAC;AAEd,OAAO,EAGL,iBAAiB,EACjB,aAAa,EACb,yBAAyB,EACzB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,6BAA6B,EAAE,MAAM,4DAA4D,CAAC;AAE3G,OAAO,EAEL,qCAAqC,GACtC,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAOL,cAAc,EACd,yBAAyB,EACzB,sBAAsB,EACtB,OAAO,EACP,KAAK,EACL,WAAW,EACX,WAAW,EACX,0BAA0B,EAC1B,OAAO,EACP,OAAO,EACP,QAAQ,EACR,OAAO,EACP,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACnB,2BAA2B,EAC3B,uBAAuB,EACvB,kBAAkB,EAClB,QAAQ,EACR,mCAAmC,EACnC,4BAA4B,EAC5B,YAAY,EACZ,6BAA6B,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;gBACtB,MAAM;YACR,KAAK,wBAAwB,CAAC,eAAe;gBAC3C,OAAO,GAAG,IAAI,CAAC,mBAAmB,CAChC,uBAAuB,CACxB,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;gBACtB,MAAM;YACR,KAAK,wBAAwB,CAAC,IAAI;gBAChC,OAAO;oBACL,IAAI,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;gBACrE,MAAM;YACR,KAAK,wBAAwB,CAAC,wBAAwB;gBACpD,OAAO,GAAG,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;gBAC5C,MAAM;YACR,OAAO,CAAC,CAAC;gBACP,MAAM,gCAAgC,GAAG,IAAI,CAAC,WAAW,CAAC,aAAa;qBACpE,qBAAqB,EAAE;qBACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,mCAAmC,EAAE,EAAE,IAAI,EAAE,CAClD,CAAC;gBACJ,KAAK,MAAM,OAAO,IAAI,gCAAgC,EAAE;oBACtD,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;oBAChD,IAAI,QAAQ,EAAE;wBACZ,OAAO,GAAG,QAAQ,CAAC;wBACnB,MAAM;qBACP;iBACF;gBACD,IAAI,CAAC,OAAO,EAAE;oBACZ,MAAM,IAAI,yBAAyB,CACjC,iCAAiC,IAAI,CAAC,IAAI,yDAAyD,CACpG,CAAC;iBACH;aACF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 type { EditorStore } from '../EditorStore.js';
|
|
17
|
+
import { EditorMode } from './EditorMode.js';
|
|
18
|
+
export declare class StandardEditorMode extends EditorMode {
|
|
19
|
+
editorStore: EditorStore;
|
|
20
|
+
constructor(editorStore: EditorStore);
|
|
21
|
+
generateElementLink(elementPath: string): string;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=StandardEditorMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StandardEditorMode.d.ts","sourceRoot":"","sources":["../../../src/stores/editor/StandardEditorMode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,qBAAa,kBAAmB,SAAQ,UAAU;IAChD,WAAW,EAAE,WAAW,CAAC;gBAEb,WAAW,EAAE,WAAW;IAKpC,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM;CAMjD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { generateViewEntityRoute } from '../LegendStudioRouter.js';
|
|
17
|
+
import { EditorMode } from './EditorMode.js';
|
|
18
|
+
export class StandardEditorMode extends EditorMode {
|
|
19
|
+
editorStore;
|
|
20
|
+
constructor(editorStore) {
|
|
21
|
+
super();
|
|
22
|
+
this.editorStore = editorStore;
|
|
23
|
+
}
|
|
24
|
+
generateElementLink(elementPath) {
|
|
25
|
+
return generateViewEntityRoute(this.editorStore.sdlcState.activeProject.projectId, elementPath);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=StandardEditorMode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StandardEditorMode.js","sourceRoot":"","sources":["../../../src/stores/editor/StandardEditorMode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,OAAO,kBAAmB,SAAQ,UAAU;IAChD,WAAW,CAAc;IAEzB,YAAY,WAAwB;QAClC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,mBAAmB,CAAC,WAAmB;QACrC,OAAO,uBAAuB,CAC5B,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,aAAa,CAAC,SAAS,EAClD,WAAW,CACZ,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 type { EditorStore } from '../EditorStore.js';
|
|
17
|
+
export declare abstract class EditorState {
|
|
18
|
+
/**
|
|
19
|
+
* NOTE: used to detect when an element editor state changes so we can force a remount of the editor component
|
|
20
|
+
*/
|
|
21
|
+
readonly uuid: string;
|
|
22
|
+
editorStore: EditorStore;
|
|
23
|
+
constructor(editorStore: EditorStore);
|
|
24
|
+
abstract get headerName(): string;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=EditorState.d.ts.map
|