@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,1114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import { useState, useEffect, useCallback, forwardRef } from 'react';
|
|
18
|
+
import { observer } from 'mobx-react-lite';
|
|
19
|
+
import {
|
|
20
|
+
type RuntimeEditorState,
|
|
21
|
+
PackageableRuntimeEditorState,
|
|
22
|
+
RuntimeEditorRuntimeTabState,
|
|
23
|
+
IdentifiedConnectionsEditorTabState,
|
|
24
|
+
IdentifiedConnectionsPerClassEditorTabState,
|
|
25
|
+
IdentifiedConnectionsPerStoreEditorTabState,
|
|
26
|
+
} from '../../../stores/editor-state/element-editor-state/RuntimeEditorState.js';
|
|
27
|
+
import type { EditorStore } from '../../../stores/EditorStore.js';
|
|
28
|
+
import {
|
|
29
|
+
clsx,
|
|
30
|
+
Dialog,
|
|
31
|
+
type TreeNodeContainerProps,
|
|
32
|
+
ResizablePanel,
|
|
33
|
+
ResizablePanelGroup,
|
|
34
|
+
ResizablePanelSplitter,
|
|
35
|
+
ResizablePanelSplitterLine,
|
|
36
|
+
TreeView,
|
|
37
|
+
ContextMenu,
|
|
38
|
+
CustomSelectorInput,
|
|
39
|
+
createFilter,
|
|
40
|
+
BlankPanelContent,
|
|
41
|
+
MenuContent,
|
|
42
|
+
MenuContentItem,
|
|
43
|
+
BlankPanelPlaceholder,
|
|
44
|
+
PURE_RuntimeIcon,
|
|
45
|
+
PURE_ConnectionIcon,
|
|
46
|
+
PURE_ModelStoreIcon,
|
|
47
|
+
PURE_ClassIcon,
|
|
48
|
+
PURE_MappingIcon,
|
|
49
|
+
ChevronDownIcon,
|
|
50
|
+
ChevronRightIcon,
|
|
51
|
+
PlusIcon,
|
|
52
|
+
TimesIcon,
|
|
53
|
+
LongArrowRightIcon,
|
|
54
|
+
CogIcon,
|
|
55
|
+
CaretRightIcon,
|
|
56
|
+
} from '@finos/legend-art';
|
|
57
|
+
import { getElementIcon } from '../../shared/ElementIconUtils.js';
|
|
58
|
+
import type { RuntimeExplorerTreeNodeData } from '../../../stores/shared/TreeUtil.js';
|
|
59
|
+
import { ConnectionEditor } from './connection-editor/ConnectionEditor.js';
|
|
60
|
+
import {
|
|
61
|
+
type UMLEditorElementDropTarget,
|
|
62
|
+
CORE_DND_TYPE,
|
|
63
|
+
ElementDragSource,
|
|
64
|
+
} from '../../../stores/shared/DnDUtil.js';
|
|
65
|
+
import { useDrop } from 'react-dnd';
|
|
66
|
+
import {
|
|
67
|
+
assertErrorThrown,
|
|
68
|
+
guaranteeType,
|
|
69
|
+
UnsupportedOperationError,
|
|
70
|
+
} from '@finos/legend-shared';
|
|
71
|
+
import type { ConnectionEditorState } from '../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
|
72
|
+
import { useEditorStore } from '../EditorStoreProvider.js';
|
|
73
|
+
import {
|
|
74
|
+
type PackageableElementReference,
|
|
75
|
+
Connection,
|
|
76
|
+
ConnectionPointer,
|
|
77
|
+
Runtime,
|
|
78
|
+
IdentifiedConnection,
|
|
79
|
+
RuntimePointer,
|
|
80
|
+
ModelStore,
|
|
81
|
+
Mapping,
|
|
82
|
+
Class,
|
|
83
|
+
Store,
|
|
84
|
+
PackageableConnection,
|
|
85
|
+
JsonModelConnection,
|
|
86
|
+
XmlModelConnection,
|
|
87
|
+
FlatDataConnection,
|
|
88
|
+
RelationalDatabaseConnection,
|
|
89
|
+
PackageableElementExplicitReference,
|
|
90
|
+
ModelChainConnection,
|
|
91
|
+
generateIdentifiedConnectionId,
|
|
92
|
+
} from '@finos/legend-graph';
|
|
93
|
+
import {
|
|
94
|
+
useApplicationNavigationContext,
|
|
95
|
+
useApplicationStore,
|
|
96
|
+
buildElementOption,
|
|
97
|
+
type PackageableElementOption,
|
|
98
|
+
} from '@finos/legend-application';
|
|
99
|
+
import type { DSLMapping_LegendStudioApplicationPlugin_Extension } from '../../../stores/DSLMapping_LegendStudioApplicationPlugin_Extension.js';
|
|
100
|
+
import {
|
|
101
|
+
runtime_addIdentifiedConnection,
|
|
102
|
+
runtime_deleteIdentifiedConnection,
|
|
103
|
+
} from '../../../stores/graphModifier/DSLMapping_GraphModifierHelper.js';
|
|
104
|
+
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../stores/LegendStudioApplicationNavigationContext.js';
|
|
105
|
+
|
|
106
|
+
const getConnectionTooltipText = (
|
|
107
|
+
connection: Connection,
|
|
108
|
+
editorStore: EditorStore,
|
|
109
|
+
): string => {
|
|
110
|
+
const connectionValue =
|
|
111
|
+
connection instanceof ConnectionPointer
|
|
112
|
+
? connection.packageableConnection.value.connectionValue
|
|
113
|
+
: connection;
|
|
114
|
+
if (connectionValue instanceof JsonModelConnection) {
|
|
115
|
+
return `JSON model connection \u2022 Class ${connectionValue.class.value.path}`;
|
|
116
|
+
} else if (connectionValue instanceof XmlModelConnection) {
|
|
117
|
+
return `XML model connection \u2022 Class ${connectionValue.class.value.path}`;
|
|
118
|
+
} else if (connectionValue instanceof FlatDataConnection) {
|
|
119
|
+
return `Flat-data connection \u2022 Flat-data store ${connectionValue.store.value.path}`;
|
|
120
|
+
} else if (connectionValue instanceof RelationalDatabaseConnection) {
|
|
121
|
+
return `Relational database connection \u2020 database store ${connectionValue.store.value.path}`;
|
|
122
|
+
} else if (connectionValue instanceof ModelChainConnection) {
|
|
123
|
+
return `Model chain connection \u2022`;
|
|
124
|
+
}
|
|
125
|
+
const extraConnectionToolTipTexts = editorStore.pluginManager
|
|
126
|
+
.getApplicationPlugins()
|
|
127
|
+
.flatMap(
|
|
128
|
+
(plugin) =>
|
|
129
|
+
(
|
|
130
|
+
plugin as DSLMapping_LegendStudioApplicationPlugin_Extension
|
|
131
|
+
).getExtraRuntimeConnectionTooltipTextBuilders?.() ?? [],
|
|
132
|
+
);
|
|
133
|
+
for (const builder of extraConnectionToolTipTexts) {
|
|
134
|
+
const tooltipText = builder(connectionValue);
|
|
135
|
+
if (tooltipText) {
|
|
136
|
+
return tooltipText;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
throw new UnsupportedOperationError(
|
|
140
|
+
`Can't build tooltip text for connection: no compatible builder available from plugins`,
|
|
141
|
+
connection,
|
|
142
|
+
);
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
const IdentifiedConnectionsPerStoreExplorerContextMenu = observer(
|
|
146
|
+
forwardRef<
|
|
147
|
+
HTMLDivElement,
|
|
148
|
+
{
|
|
149
|
+
identifiedConnection?: IdentifiedConnection;
|
|
150
|
+
deleteIdentifiedConnection?: () => void;
|
|
151
|
+
createNewIdentifiedConnection: () => void;
|
|
152
|
+
}
|
|
153
|
+
>(function IdentifiedConnectionsPerStoreExplorerContextMenu(props, ref) {
|
|
154
|
+
const {
|
|
155
|
+
identifiedConnection,
|
|
156
|
+
deleteIdentifiedConnection,
|
|
157
|
+
createNewIdentifiedConnection,
|
|
158
|
+
} = props;
|
|
159
|
+
const remove = (): void => deleteIdentifiedConnection?.();
|
|
160
|
+
|
|
161
|
+
return (
|
|
162
|
+
<MenuContent ref={ref}>
|
|
163
|
+
{identifiedConnection && (
|
|
164
|
+
<MenuContentItem onClick={remove}>Remove</MenuContentItem>
|
|
165
|
+
)}
|
|
166
|
+
{!identifiedConnection && (
|
|
167
|
+
<MenuContentItem onClick={createNewIdentifiedConnection}>
|
|
168
|
+
Create a new connection for store
|
|
169
|
+
</MenuContentItem>
|
|
170
|
+
)}
|
|
171
|
+
</MenuContent>
|
|
172
|
+
);
|
|
173
|
+
}),
|
|
174
|
+
);
|
|
175
|
+
|
|
176
|
+
export const IdentifiedConnectionsPerStoreExplorerItem = observer(
|
|
177
|
+
(props: {
|
|
178
|
+
identifiedConnection: IdentifiedConnection;
|
|
179
|
+
currentRuntimeEditorTabState: IdentifiedConnectionsEditorTabState;
|
|
180
|
+
isActive: boolean;
|
|
181
|
+
isReadOnly: boolean;
|
|
182
|
+
}) => {
|
|
183
|
+
const {
|
|
184
|
+
identifiedConnection,
|
|
185
|
+
currentRuntimeEditorTabState,
|
|
186
|
+
isActive,
|
|
187
|
+
isReadOnly,
|
|
188
|
+
} = props;
|
|
189
|
+
const editorStore = useEditorStore();
|
|
190
|
+
const openConnection = (): void =>
|
|
191
|
+
currentRuntimeEditorTabState.openIdentifiedConnection(
|
|
192
|
+
identifiedConnection,
|
|
193
|
+
);
|
|
194
|
+
const deleteConnection = (): void =>
|
|
195
|
+
currentRuntimeEditorTabState.deleteIdentifiedConnection(
|
|
196
|
+
identifiedConnection,
|
|
197
|
+
);
|
|
198
|
+
const openNewConnectionModal = (): void =>
|
|
199
|
+
currentRuntimeEditorTabState.addIdentifiedConnection();
|
|
200
|
+
// context menu
|
|
201
|
+
const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] =
|
|
202
|
+
useState(false);
|
|
203
|
+
const onContextMenuOpen = (): void => setIsSelectedFromContextMenu(true);
|
|
204
|
+
const onContextMenuClose = (): void => setIsSelectedFromContextMenu(false);
|
|
205
|
+
return (
|
|
206
|
+
<ContextMenu
|
|
207
|
+
className={clsx(
|
|
208
|
+
'runtime-explorer__item',
|
|
209
|
+
{
|
|
210
|
+
'context-menu__trigger--on-menu-open':
|
|
211
|
+
!isActive && isSelectedFromContextMenu,
|
|
212
|
+
},
|
|
213
|
+
{ 'runtime-explorer__item--active': isActive },
|
|
214
|
+
)}
|
|
215
|
+
disabled={isReadOnly}
|
|
216
|
+
content={
|
|
217
|
+
<IdentifiedConnectionsPerStoreExplorerContextMenu
|
|
218
|
+
identifiedConnection={identifiedConnection}
|
|
219
|
+
deleteIdentifiedConnection={deleteConnection}
|
|
220
|
+
createNewIdentifiedConnection={openNewConnectionModal}
|
|
221
|
+
/>
|
|
222
|
+
}
|
|
223
|
+
menuProps={{ elevation: 7 }}
|
|
224
|
+
onOpen={onContextMenuOpen}
|
|
225
|
+
onClose={onContextMenuClose}
|
|
226
|
+
>
|
|
227
|
+
<button
|
|
228
|
+
className="runtime-explorer__item__label runtime-explorer__item__label--simple"
|
|
229
|
+
onClick={openConnection}
|
|
230
|
+
tabIndex={-1}
|
|
231
|
+
title={getConnectionTooltipText(
|
|
232
|
+
identifiedConnection.connection,
|
|
233
|
+
editorStore,
|
|
234
|
+
)}
|
|
235
|
+
>
|
|
236
|
+
<div className="runtime-explorer__item__label__icon">
|
|
237
|
+
<PURE_ConnectionIcon />
|
|
238
|
+
</div>
|
|
239
|
+
{/* TODO: we might want to add connection type label here */}
|
|
240
|
+
<div className="runtime-explorer__item__label__text">
|
|
241
|
+
{identifiedConnection.id}
|
|
242
|
+
</div>
|
|
243
|
+
</button>
|
|
244
|
+
</ContextMenu>
|
|
245
|
+
);
|
|
246
|
+
},
|
|
247
|
+
);
|
|
248
|
+
|
|
249
|
+
const getRuntimeExplorerTreeNodeIcon = (
|
|
250
|
+
editorStore: EditorStore,
|
|
251
|
+
node: RuntimeExplorerTreeNodeData,
|
|
252
|
+
): React.ReactNode => {
|
|
253
|
+
if (node.data instanceof Runtime) {
|
|
254
|
+
return <PURE_RuntimeIcon />;
|
|
255
|
+
} else if (node.data instanceof ModelStore) {
|
|
256
|
+
return <PURE_ModelStoreIcon />;
|
|
257
|
+
} else if (node.data instanceof Connection) {
|
|
258
|
+
return <PURE_ConnectionIcon />;
|
|
259
|
+
}
|
|
260
|
+
return getElementIcon(editorStore, node.data);
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
const getRuntimeExplorerTreeNodeTooltipText = (
|
|
264
|
+
node: RuntimeExplorerTreeNodeData,
|
|
265
|
+
): string | undefined => {
|
|
266
|
+
if (node.data instanceof Runtime) {
|
|
267
|
+
return ''; // number of mapping and stores
|
|
268
|
+
} else if (node.data instanceof ModelStore) {
|
|
269
|
+
return '';
|
|
270
|
+
} else if (node.data instanceof Store) {
|
|
271
|
+
/* do nothing */
|
|
272
|
+
} else if (node.data instanceof Class) {
|
|
273
|
+
// return `JSON model connection \u2022 Class ${connectionValue.class.path}`;
|
|
274
|
+
}
|
|
275
|
+
return undefined;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
const RuntimeExplorerTreeNodeContainer = observer(
|
|
279
|
+
(
|
|
280
|
+
props: TreeNodeContainerProps<
|
|
281
|
+
RuntimeExplorerTreeNodeData,
|
|
282
|
+
{
|
|
283
|
+
isReadOnly: boolean;
|
|
284
|
+
runtimeEditorState: RuntimeEditorState;
|
|
285
|
+
onNodeExpand: (node: RuntimeExplorerTreeNodeData) => void;
|
|
286
|
+
}
|
|
287
|
+
>,
|
|
288
|
+
) => {
|
|
289
|
+
const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
|
|
290
|
+
const { runtimeEditorState, onNodeExpand } = innerProps;
|
|
291
|
+
const editorStore = useEditorStore();
|
|
292
|
+
const isExpandable = Boolean(node.childrenIds?.length);
|
|
293
|
+
const nodeExpandIcon = isExpandable ? (
|
|
294
|
+
node.isOpen ? (
|
|
295
|
+
<ChevronDownIcon />
|
|
296
|
+
) : (
|
|
297
|
+
<ChevronRightIcon />
|
|
298
|
+
)
|
|
299
|
+
) : (
|
|
300
|
+
<div />
|
|
301
|
+
);
|
|
302
|
+
const selectNode = (): void => onNodeSelect?.(node);
|
|
303
|
+
const onExpandIconClick = (): void => onNodeExpand(node);
|
|
304
|
+
// Selection
|
|
305
|
+
const isActive = runtimeEditorState.isTreeNodeSelected(node);
|
|
306
|
+
|
|
307
|
+
return (
|
|
308
|
+
<div
|
|
309
|
+
className={clsx(
|
|
310
|
+
'tree-view__node__container runtime-explorer__tree__node__container',
|
|
311
|
+
{ 'runtime-explorer__item--active': isActive },
|
|
312
|
+
)}
|
|
313
|
+
onClick={selectNode}
|
|
314
|
+
style={{
|
|
315
|
+
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 1) + 0.5}rem`,
|
|
316
|
+
display: 'flex',
|
|
317
|
+
}}
|
|
318
|
+
>
|
|
319
|
+
<button
|
|
320
|
+
className="runtime-explorer__item__label"
|
|
321
|
+
tabIndex={-1}
|
|
322
|
+
title={getRuntimeExplorerTreeNodeTooltipText(node)}
|
|
323
|
+
>
|
|
324
|
+
<div
|
|
325
|
+
className="tree-view__node__expand-icon"
|
|
326
|
+
onClick={onExpandIconClick}
|
|
327
|
+
>
|
|
328
|
+
{nodeExpandIcon}
|
|
329
|
+
</div>
|
|
330
|
+
<div className="runtime-explorer__item__label__icon">
|
|
331
|
+
{getRuntimeExplorerTreeNodeIcon(editorStore, node)}
|
|
332
|
+
</div>
|
|
333
|
+
{node.data instanceof Runtime && (
|
|
334
|
+
<>
|
|
335
|
+
<div className="runtime-explorer__item__label__text">
|
|
336
|
+
{node.label} ~
|
|
337
|
+
</div>
|
|
338
|
+
<div className="runtime-explorer__item__label__runtime__mapping__icon">
|
|
339
|
+
<PURE_MappingIcon />
|
|
340
|
+
</div>
|
|
341
|
+
{/* TODO: handle when there are multiple mappings */}
|
|
342
|
+
<div className="runtime-explorer__item__label__runtime__mapping__text">
|
|
343
|
+
{runtimeEditorState.runtimeValue.mappings.length
|
|
344
|
+
? (
|
|
345
|
+
runtimeEditorState.runtimeValue
|
|
346
|
+
.mappings[0] as PackageableElementReference<Mapping>
|
|
347
|
+
).value.name
|
|
348
|
+
: '(no mapping)'}
|
|
349
|
+
</div>
|
|
350
|
+
</>
|
|
351
|
+
)}
|
|
352
|
+
{node.data instanceof Store && (
|
|
353
|
+
<div className="runtime-explorer__item__label__text">
|
|
354
|
+
{node.label}
|
|
355
|
+
</div>
|
|
356
|
+
)}
|
|
357
|
+
{node.data instanceof Class && (
|
|
358
|
+
<div className="runtime-explorer__item__label__text">
|
|
359
|
+
{node.label}
|
|
360
|
+
</div>
|
|
361
|
+
)}
|
|
362
|
+
</button>
|
|
363
|
+
</div>
|
|
364
|
+
);
|
|
365
|
+
},
|
|
366
|
+
);
|
|
367
|
+
|
|
368
|
+
const RuntimeExplorer = observer(
|
|
369
|
+
(props: { runtimeEditorState: RuntimeEditorState; isReadOnly: boolean }) => {
|
|
370
|
+
const { runtimeEditorState, isReadOnly } = props;
|
|
371
|
+
const runtime = runtimeEditorState.runtime;
|
|
372
|
+
const runtimeValue = runtimeEditorState.runtimeValue;
|
|
373
|
+
const runtimeName =
|
|
374
|
+
runtime instanceof RuntimePointer
|
|
375
|
+
? runtime.packageableRuntime.value.name
|
|
376
|
+
: '(custom)';
|
|
377
|
+
// explorer tree data
|
|
378
|
+
const treeData = runtimeEditorState.explorerTreeData;
|
|
379
|
+
const onNodeSelect = (node: RuntimeExplorerTreeNodeData): void =>
|
|
380
|
+
runtimeEditorState.onExplorerTreeNodeSelect(node);
|
|
381
|
+
const onNodeExpand = (node: RuntimeExplorerTreeNodeData): void =>
|
|
382
|
+
runtimeEditorState.onExplorerTreeNodeExpand(node);
|
|
383
|
+
const getTreeChildNodes = (
|
|
384
|
+
node: RuntimeExplorerTreeNodeData,
|
|
385
|
+
): RuntimeExplorerTreeNodeData[] =>
|
|
386
|
+
runtimeEditorState.getExplorerTreeChildNodes(node);
|
|
387
|
+
// DnD
|
|
388
|
+
const handleDropRuntimeSubElement = useCallback(
|
|
389
|
+
(item: UMLEditorElementDropTarget): void => {
|
|
390
|
+
const element = item.data.packageableElement;
|
|
391
|
+
if (!isReadOnly) {
|
|
392
|
+
if (element instanceof PackageableConnection) {
|
|
393
|
+
runtimeEditorState.addIdentifiedConnection(
|
|
394
|
+
new IdentifiedConnection(
|
|
395
|
+
generateIdentifiedConnectionId(runtimeValue),
|
|
396
|
+
new ConnectionPointer(
|
|
397
|
+
PackageableElementExplicitReference.create(element),
|
|
398
|
+
),
|
|
399
|
+
),
|
|
400
|
+
);
|
|
401
|
+
} else if (element instanceof Mapping) {
|
|
402
|
+
runtimeEditorState.addMapping(element);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
[isReadOnly, runtimeEditorState, runtimeValue],
|
|
407
|
+
);
|
|
408
|
+
const [{ isRuntimeSubElementDragOver }, dropRuntimeSubElementRef] = useDrop(
|
|
409
|
+
() => ({
|
|
410
|
+
accept: [
|
|
411
|
+
CORE_DND_TYPE.PROJECT_EXPLORER_CONNECTION,
|
|
412
|
+
CORE_DND_TYPE.PROJECT_EXPLORER_MAPPING,
|
|
413
|
+
],
|
|
414
|
+
drop: (item: ElementDragSource): void =>
|
|
415
|
+
handleDropRuntimeSubElement(item),
|
|
416
|
+
collect: (monitor): { isRuntimeSubElementDragOver: boolean } => ({
|
|
417
|
+
isRuntimeSubElementDragOver: monitor.isOver({ shallow: true }),
|
|
418
|
+
}),
|
|
419
|
+
}),
|
|
420
|
+
[handleDropRuntimeSubElement],
|
|
421
|
+
);
|
|
422
|
+
|
|
423
|
+
useEffect(() => {
|
|
424
|
+
runtimeEditorState.decorateRuntimeConnections();
|
|
425
|
+
runtimeEditorState.reprocessCurrentTabState();
|
|
426
|
+
runtimeEditorState.reprocessRuntimeExplorerTree();
|
|
427
|
+
return (): void => runtimeEditorState.cleanUpDecoration();
|
|
428
|
+
}, [runtimeEditorState]);
|
|
429
|
+
|
|
430
|
+
return (
|
|
431
|
+
<div className="panel runtime-explorer">
|
|
432
|
+
<div className="panel__header">
|
|
433
|
+
<div className="panel__header__title">
|
|
434
|
+
<div className="panel__header__title__label">runtime</div>
|
|
435
|
+
<div className="panel__header__title__content">{runtimeName}</div>
|
|
436
|
+
</div>
|
|
437
|
+
</div>
|
|
438
|
+
<ContextMenu
|
|
439
|
+
className="panel__content"
|
|
440
|
+
disabled={true}
|
|
441
|
+
menuProps={{ elevation: 7 }}
|
|
442
|
+
>
|
|
443
|
+
<div ref={dropRuntimeSubElementRef} className="dnd__dropzone">
|
|
444
|
+
<div
|
|
445
|
+
className={clsx({ dnd__overlay: isRuntimeSubElementDragOver })}
|
|
446
|
+
/>
|
|
447
|
+
<div className="panel__content__list">
|
|
448
|
+
<TreeView
|
|
449
|
+
components={{
|
|
450
|
+
TreeNodeContainer: RuntimeExplorerTreeNodeContainer,
|
|
451
|
+
}}
|
|
452
|
+
treeData={treeData}
|
|
453
|
+
onNodeSelect={onNodeSelect}
|
|
454
|
+
getChildNodes={getTreeChildNodes}
|
|
455
|
+
innerProps={{
|
|
456
|
+
isReadOnly,
|
|
457
|
+
runtimeEditorState,
|
|
458
|
+
onNodeExpand,
|
|
459
|
+
}}
|
|
460
|
+
/>
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
</ContextMenu>
|
|
464
|
+
</div>
|
|
465
|
+
);
|
|
466
|
+
},
|
|
467
|
+
);
|
|
468
|
+
|
|
469
|
+
const IdentifiedConnectionEditor = observer(
|
|
470
|
+
(props: {
|
|
471
|
+
runtimeEditorState: RuntimeEditorState;
|
|
472
|
+
currentRuntimeEditorTabState: IdentifiedConnectionsEditorTabState;
|
|
473
|
+
connectionEditorState: ConnectionEditorState;
|
|
474
|
+
identifiedConnection: IdentifiedConnection;
|
|
475
|
+
isReadOnly: boolean;
|
|
476
|
+
}) => {
|
|
477
|
+
const {
|
|
478
|
+
runtimeEditorState,
|
|
479
|
+
currentRuntimeEditorTabState,
|
|
480
|
+
connectionEditorState,
|
|
481
|
+
identifiedConnection,
|
|
482
|
+
isReadOnly,
|
|
483
|
+
} = props;
|
|
484
|
+
const applicationStore = useApplicationStore();
|
|
485
|
+
const runtimeValue = runtimeEditorState.runtimeValue;
|
|
486
|
+
// TODO: add runtime connection id
|
|
487
|
+
// connection pointer
|
|
488
|
+
const isEmbeddedConnection = !(
|
|
489
|
+
identifiedConnection.connection instanceof ConnectionPointer
|
|
490
|
+
);
|
|
491
|
+
const embeddedConnectionLabel = (
|
|
492
|
+
<div className="runtime-connection-editor__connection-option--custom">
|
|
493
|
+
<CogIcon />
|
|
494
|
+
<div className="runtime-connection-editor__connection-option--custom__label">
|
|
495
|
+
(custom)
|
|
496
|
+
</div>
|
|
497
|
+
</div>
|
|
498
|
+
);
|
|
499
|
+
// only show custom connnection option when a connnection pointer is currently selected
|
|
500
|
+
let connectionOptions = isEmbeddedConnection
|
|
501
|
+
? []
|
|
502
|
+
: ([{ label: embeddedConnectionLabel }] as {
|
|
503
|
+
label: string | React.ReactNode;
|
|
504
|
+
value?: PackageableConnection;
|
|
505
|
+
}[]);
|
|
506
|
+
connectionOptions = connectionOptions.concat(
|
|
507
|
+
currentRuntimeEditorTabState.packageableConnections.map(
|
|
508
|
+
(packageableConnection) => ({
|
|
509
|
+
label: packageableConnection.path,
|
|
510
|
+
value: packageableConnection,
|
|
511
|
+
}),
|
|
512
|
+
),
|
|
513
|
+
);
|
|
514
|
+
const selectedConnectionOption = {
|
|
515
|
+
value: identifiedConnection.connection,
|
|
516
|
+
label: isEmbeddedConnection
|
|
517
|
+
? embeddedConnectionLabel
|
|
518
|
+
: guaranteeType(identifiedConnection.connection, ConnectionPointer)
|
|
519
|
+
.packageableConnection.value.path,
|
|
520
|
+
};
|
|
521
|
+
const editorStore = useEditorStore();
|
|
522
|
+
const onConnectionSelectionChange = (val: {
|
|
523
|
+
label: string | React.ReactNode;
|
|
524
|
+
value?: PackageableConnection;
|
|
525
|
+
}): void => {
|
|
526
|
+
if (val.value === undefined) {
|
|
527
|
+
let customConnection: Connection;
|
|
528
|
+
try {
|
|
529
|
+
customConnection =
|
|
530
|
+
currentRuntimeEditorTabState.createDefaultConnection();
|
|
531
|
+
} catch (error) {
|
|
532
|
+
assertErrorThrown(error);
|
|
533
|
+
applicationStore.notifyWarning(error.message);
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
const newIdentifiedConnection = new IdentifiedConnection(
|
|
537
|
+
generateIdentifiedConnectionId(runtimeValue),
|
|
538
|
+
customConnection,
|
|
539
|
+
);
|
|
540
|
+
runtime_addIdentifiedConnection(
|
|
541
|
+
runtimeValue,
|
|
542
|
+
newIdentifiedConnection,
|
|
543
|
+
editorStore.changeDetectionState.observerContext,
|
|
544
|
+
);
|
|
545
|
+
runtime_deleteIdentifiedConnection(runtimeValue, identifiedConnection);
|
|
546
|
+
currentRuntimeEditorTabState.openIdentifiedConnection(
|
|
547
|
+
newIdentifiedConnection,
|
|
548
|
+
);
|
|
549
|
+
} else if (
|
|
550
|
+
val.value instanceof PackageableConnection &&
|
|
551
|
+
(!(identifiedConnection.connection instanceof ConnectionPointer) ||
|
|
552
|
+
val.value !==
|
|
553
|
+
identifiedConnection.connection.packageableConnection.value)
|
|
554
|
+
) {
|
|
555
|
+
const connectionPointer = new ConnectionPointer(
|
|
556
|
+
PackageableElementExplicitReference.create(val.value),
|
|
557
|
+
);
|
|
558
|
+
const newIdentifiedConnection = new IdentifiedConnection(
|
|
559
|
+
generateIdentifiedConnectionId(runtimeValue),
|
|
560
|
+
connectionPointer,
|
|
561
|
+
);
|
|
562
|
+
runtime_addIdentifiedConnection(
|
|
563
|
+
runtimeValue,
|
|
564
|
+
newIdentifiedConnection,
|
|
565
|
+
editorStore.changeDetectionState.observerContext,
|
|
566
|
+
);
|
|
567
|
+
runtime_deleteIdentifiedConnection(runtimeValue, identifiedConnection);
|
|
568
|
+
currentRuntimeEditorTabState.openIdentifiedConnection(
|
|
569
|
+
newIdentifiedConnection,
|
|
570
|
+
);
|
|
571
|
+
}
|
|
572
|
+
};
|
|
573
|
+
const visitConnection = (): void => {
|
|
574
|
+
if (identifiedConnection.connection instanceof ConnectionPointer) {
|
|
575
|
+
editorStore.openElement(
|
|
576
|
+
identifiedConnection.connection.packageableConnection.value,
|
|
577
|
+
);
|
|
578
|
+
}
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
return (
|
|
582
|
+
<div className="runtime-connection-editor">
|
|
583
|
+
<div className="panel runtime-connection-editor__pointer">
|
|
584
|
+
<div className="panel__header">
|
|
585
|
+
<div className="panel__header__title">
|
|
586
|
+
<div className="panel__header__title__label">
|
|
587
|
+
runtime connection
|
|
588
|
+
</div>
|
|
589
|
+
</div>
|
|
590
|
+
</div>
|
|
591
|
+
<div className="panel__content">
|
|
592
|
+
<div className="runtime-connection-editor__connection-option">
|
|
593
|
+
<div className="runtime-connection-editor__connection-option__label">
|
|
594
|
+
<PURE_ConnectionIcon />
|
|
595
|
+
</div>
|
|
596
|
+
<CustomSelectorInput
|
|
597
|
+
className="panel__content__form__section__dropdown"
|
|
598
|
+
disabled={isReadOnly}
|
|
599
|
+
options={connectionOptions}
|
|
600
|
+
onChange={onConnectionSelectionChange}
|
|
601
|
+
value={selectedConnectionOption}
|
|
602
|
+
darkMode={true}
|
|
603
|
+
/>
|
|
604
|
+
{!isEmbeddedConnection && (
|
|
605
|
+
<button
|
|
606
|
+
className="btn--dark btn--sm runtime-connection-editor__connection-option__visit-btn"
|
|
607
|
+
onClick={visitConnection}
|
|
608
|
+
tabIndex={-1}
|
|
609
|
+
title={'See connection'}
|
|
610
|
+
>
|
|
611
|
+
<LongArrowRightIcon />
|
|
612
|
+
</button>
|
|
613
|
+
)}
|
|
614
|
+
</div>
|
|
615
|
+
</div>
|
|
616
|
+
</div>
|
|
617
|
+
<div className="runtime-connection-editor__embedded">
|
|
618
|
+
<ConnectionEditor
|
|
619
|
+
connectionEditorState={connectionEditorState}
|
|
620
|
+
disableChangingStore={true}
|
|
621
|
+
isReadOnly={isReadOnly}
|
|
622
|
+
/>
|
|
623
|
+
</div>
|
|
624
|
+
</div>
|
|
625
|
+
);
|
|
626
|
+
},
|
|
627
|
+
);
|
|
628
|
+
|
|
629
|
+
const IdentifiedConnectionsPerStoreEditor = observer(
|
|
630
|
+
(props: {
|
|
631
|
+
runtimeEditorState: RuntimeEditorState;
|
|
632
|
+
currentRuntimeEditorTabState: IdentifiedConnectionsEditorTabState;
|
|
633
|
+
isReadOnly: boolean;
|
|
634
|
+
}) => {
|
|
635
|
+
const { isReadOnly, currentRuntimeEditorTabState, runtimeEditorState } =
|
|
636
|
+
props;
|
|
637
|
+
const isEmbeddedRuntime = runtimeEditorState.isEmbeddedRuntime;
|
|
638
|
+
const connectionEditorState =
|
|
639
|
+
currentRuntimeEditorTabState.getConnectionEditorState();
|
|
640
|
+
const identifiedConnection =
|
|
641
|
+
currentRuntimeEditorTabState.identifiedConnectionEditorState
|
|
642
|
+
?.idenfitiedConnection;
|
|
643
|
+
// explorer
|
|
644
|
+
const addNewConnection = (): void =>
|
|
645
|
+
currentRuntimeEditorTabState.addIdentifiedConnection();
|
|
646
|
+
// DnD
|
|
647
|
+
const handleDropConnection = useCallback(
|
|
648
|
+
(item: UMLEditorElementDropTarget): void => {
|
|
649
|
+
const element = item.data.packageableElement;
|
|
650
|
+
if (
|
|
651
|
+
!isReadOnly &&
|
|
652
|
+
element instanceof PackageableConnection &&
|
|
653
|
+
currentRuntimeEditorTabState.packageableConnections.includes(element)
|
|
654
|
+
) {
|
|
655
|
+
currentRuntimeEditorTabState.addIdentifiedConnection(element);
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
[currentRuntimeEditorTabState, isReadOnly],
|
|
659
|
+
);
|
|
660
|
+
const [{ isConnectionDragOver, dragItem }, dropConnectionRef] = useDrop(
|
|
661
|
+
() => ({
|
|
662
|
+
accept: [CORE_DND_TYPE.PROJECT_EXPLORER_CONNECTION],
|
|
663
|
+
drop: (item: ElementDragSource): void => handleDropConnection(item),
|
|
664
|
+
collect: (
|
|
665
|
+
monitor,
|
|
666
|
+
): {
|
|
667
|
+
isConnectionDragOver: boolean;
|
|
668
|
+
dragItem: ElementDragSource | null;
|
|
669
|
+
} => ({
|
|
670
|
+
isConnectionDragOver: monitor.isOver({ shallow: true }),
|
|
671
|
+
dragItem: monitor.getItem<ElementDragSource | null>(),
|
|
672
|
+
}),
|
|
673
|
+
}),
|
|
674
|
+
[handleDropConnection],
|
|
675
|
+
);
|
|
676
|
+
const canDropConnection =
|
|
677
|
+
!isReadOnly &&
|
|
678
|
+
dragItem instanceof ElementDragSource &&
|
|
679
|
+
dragItem.data.packageableElement instanceof PackageableConnection &&
|
|
680
|
+
currentRuntimeEditorTabState.packageableConnections.includes(
|
|
681
|
+
dragItem.data.packageableElement,
|
|
682
|
+
);
|
|
683
|
+
|
|
684
|
+
return (
|
|
685
|
+
<div className="runtime-store-connections-editor">
|
|
686
|
+
<ResizablePanelGroup orientation="vertical">
|
|
687
|
+
<ResizablePanel size={300} minSize={300}>
|
|
688
|
+
<div className="panel runtime-explorer">
|
|
689
|
+
<div className="panel__header">
|
|
690
|
+
{currentRuntimeEditorTabState instanceof
|
|
691
|
+
IdentifiedConnectionsPerStoreEditorTabState && (
|
|
692
|
+
<div className="panel__header__title">
|
|
693
|
+
<div className="panel__header__title__label">store</div>
|
|
694
|
+
<div className="panel__header__title__content">
|
|
695
|
+
{currentRuntimeEditorTabState.store.name}
|
|
696
|
+
</div>
|
|
697
|
+
</div>
|
|
698
|
+
)}
|
|
699
|
+
{currentRuntimeEditorTabState instanceof
|
|
700
|
+
IdentifiedConnectionsPerClassEditorTabState && (
|
|
701
|
+
<div className="panel__header__title">
|
|
702
|
+
<div className="panel__header__title__label">store</div>
|
|
703
|
+
<div className="panel__header__title__content">
|
|
704
|
+
ModelStore
|
|
705
|
+
</div>
|
|
706
|
+
<div className="runtime-store-connections-editor__model-store__arrow-icon">
|
|
707
|
+
<CaretRightIcon />
|
|
708
|
+
</div>
|
|
709
|
+
<div className="runtime-store-connections-editor__model-store__class-icon">
|
|
710
|
+
<PURE_ClassIcon />
|
|
711
|
+
</div>
|
|
712
|
+
<div className="runtime-store-connections-editor__model-store__class-name">
|
|
713
|
+
{currentRuntimeEditorTabState.class.name}
|
|
714
|
+
</div>
|
|
715
|
+
</div>
|
|
716
|
+
)}
|
|
717
|
+
<div className="panel__header__actions">
|
|
718
|
+
<button
|
|
719
|
+
className="panel__header__action"
|
|
720
|
+
disabled={isReadOnly}
|
|
721
|
+
tabIndex={-1}
|
|
722
|
+
onClick={addNewConnection}
|
|
723
|
+
title="Add Connection..."
|
|
724
|
+
>
|
|
725
|
+
<PlusIcon />
|
|
726
|
+
</button>
|
|
727
|
+
</div>
|
|
728
|
+
</div>
|
|
729
|
+
<ContextMenu
|
|
730
|
+
className="panel__content"
|
|
731
|
+
disabled={isReadOnly}
|
|
732
|
+
content={
|
|
733
|
+
<IdentifiedConnectionsPerStoreExplorerContextMenu
|
|
734
|
+
createNewIdentifiedConnection={addNewConnection}
|
|
735
|
+
/>
|
|
736
|
+
}
|
|
737
|
+
menuProps={{ elevation: 7 }}
|
|
738
|
+
>
|
|
739
|
+
<div ref={dropConnectionRef} className="dnd__dropzone">
|
|
740
|
+
{Boolean(
|
|
741
|
+
currentRuntimeEditorTabState.identifiedConnections.length,
|
|
742
|
+
) && (
|
|
743
|
+
<>
|
|
744
|
+
<div
|
|
745
|
+
className={clsx({ dnd__overlay: isConnectionDragOver })}
|
|
746
|
+
/>
|
|
747
|
+
<div className="panel__content__list">
|
|
748
|
+
{currentRuntimeEditorTabState.identifiedConnections.map(
|
|
749
|
+
(rtConnection) => (
|
|
750
|
+
<IdentifiedConnectionsPerStoreExplorerItem
|
|
751
|
+
key={rtConnection._UUID}
|
|
752
|
+
identifiedConnection={rtConnection}
|
|
753
|
+
currentRuntimeEditorTabState={
|
|
754
|
+
currentRuntimeEditorTabState
|
|
755
|
+
}
|
|
756
|
+
isActive={rtConnection === identifiedConnection}
|
|
757
|
+
isReadOnly={isReadOnly}
|
|
758
|
+
/>
|
|
759
|
+
),
|
|
760
|
+
)}
|
|
761
|
+
</div>
|
|
762
|
+
</>
|
|
763
|
+
)}
|
|
764
|
+
{!currentRuntimeEditorTabState.identifiedConnections
|
|
765
|
+
.length && (
|
|
766
|
+
<BlankPanelPlaceholder
|
|
767
|
+
placeholderText="Add a connection"
|
|
768
|
+
onClick={addNewConnection}
|
|
769
|
+
clickActionType="add"
|
|
770
|
+
tooltipText="Drop a connection to add it to the list, or click to add an embedded connection"
|
|
771
|
+
dndProps={
|
|
772
|
+
isEmbeddedRuntime
|
|
773
|
+
? undefined
|
|
774
|
+
: {
|
|
775
|
+
isDragOver: isConnectionDragOver,
|
|
776
|
+
canDrop: canDropConnection,
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
readOnlyProps={
|
|
780
|
+
!isReadOnly
|
|
781
|
+
? undefined
|
|
782
|
+
: {
|
|
783
|
+
placeholderText: 'No connection',
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
/>
|
|
787
|
+
)}
|
|
788
|
+
</div>
|
|
789
|
+
</ContextMenu>
|
|
790
|
+
</div>
|
|
791
|
+
</ResizablePanel>
|
|
792
|
+
<ResizablePanelSplitter>
|
|
793
|
+
<ResizablePanelSplitterLine color="var(--color-dark-grey-200)" />
|
|
794
|
+
</ResizablePanelSplitter>
|
|
795
|
+
<ResizablePanel>
|
|
796
|
+
{connectionEditorState && identifiedConnection && (
|
|
797
|
+
<IdentifiedConnectionEditor
|
|
798
|
+
runtimeEditorState={runtimeEditorState}
|
|
799
|
+
currentRuntimeEditorTabState={currentRuntimeEditorTabState}
|
|
800
|
+
connectionEditorState={connectionEditorState}
|
|
801
|
+
identifiedConnection={identifiedConnection}
|
|
802
|
+
isReadOnly={isReadOnly}
|
|
803
|
+
/>
|
|
804
|
+
)}
|
|
805
|
+
{(!connectionEditorState || !identifiedConnection) && (
|
|
806
|
+
<div className="panel">
|
|
807
|
+
<div className="panel__header">
|
|
808
|
+
<div className="panel__header__title">
|
|
809
|
+
<div className="panel__header__title__label">
|
|
810
|
+
runtime connection
|
|
811
|
+
</div>
|
|
812
|
+
</div>
|
|
813
|
+
</div>
|
|
814
|
+
<div className="panel__content">
|
|
815
|
+
<BlankPanelContent>No connection selected</BlankPanelContent>
|
|
816
|
+
</div>
|
|
817
|
+
</div>
|
|
818
|
+
)}
|
|
819
|
+
</ResizablePanel>
|
|
820
|
+
</ResizablePanelGroup>
|
|
821
|
+
</div>
|
|
822
|
+
);
|
|
823
|
+
},
|
|
824
|
+
);
|
|
825
|
+
|
|
826
|
+
const RuntimeMappingEditor = observer(
|
|
827
|
+
(props: {
|
|
828
|
+
runtimeEditorState: RuntimeEditorState;
|
|
829
|
+
mappingRef: PackageableElementReference<Mapping>;
|
|
830
|
+
isReadOnly: boolean;
|
|
831
|
+
}) => {
|
|
832
|
+
const { runtimeEditorState, mappingRef, isReadOnly } = props;
|
|
833
|
+
const editorStore = useEditorStore();
|
|
834
|
+
const runtimeValue = runtimeEditorState.runtimeValue;
|
|
835
|
+
const mappingOptions = editorStore.graphManagerState.graph.ownMappings
|
|
836
|
+
.filter((m) => !runtimeValue.mappings.map((_m) => _m.value).includes(m))
|
|
837
|
+
.map(buildElementOption);
|
|
838
|
+
const filterOption = createFilter({
|
|
839
|
+
ignoreCase: true,
|
|
840
|
+
ignoreAccents: false,
|
|
841
|
+
stringify: (option: PackageableElementOption<Mapping>): string =>
|
|
842
|
+
option.value.path,
|
|
843
|
+
});
|
|
844
|
+
const selectedMappingOption = {
|
|
845
|
+
value: mappingRef,
|
|
846
|
+
label: mappingRef.value.name,
|
|
847
|
+
};
|
|
848
|
+
const changeMapping = (val: PackageableElementOption<Mapping>): void =>
|
|
849
|
+
runtimeEditorState.changeMapping(mappingRef, val.value);
|
|
850
|
+
const deleteMapping = (): void =>
|
|
851
|
+
runtimeEditorState.deleteMapping(mappingRef);
|
|
852
|
+
const visitMapping = (): void => editorStore.openElement(mappingRef.value);
|
|
853
|
+
|
|
854
|
+
return (
|
|
855
|
+
<div className="panel__content__form__section__list__item--customized runtime-mapping-editor">
|
|
856
|
+
<CustomSelectorInput
|
|
857
|
+
className="runtime-mapping-editor__mapping"
|
|
858
|
+
disabled={isReadOnly}
|
|
859
|
+
options={mappingOptions}
|
|
860
|
+
onChange={changeMapping}
|
|
861
|
+
value={selectedMappingOption}
|
|
862
|
+
placeholder="Choose a class"
|
|
863
|
+
filterOption={filterOption}
|
|
864
|
+
darkMode={true}
|
|
865
|
+
/>
|
|
866
|
+
<button
|
|
867
|
+
className="btn--dark btn__icon--dark"
|
|
868
|
+
onClick={visitMapping}
|
|
869
|
+
tabIndex={-1}
|
|
870
|
+
title="Visit Mapping"
|
|
871
|
+
>
|
|
872
|
+
<LongArrowRightIcon />
|
|
873
|
+
</button>
|
|
874
|
+
{!isReadOnly && (
|
|
875
|
+
<button
|
|
876
|
+
className="btn--dark btn__icon--dark btn--caution"
|
|
877
|
+
disabled={runtimeValue.mappings.length < 2}
|
|
878
|
+
onClick={deleteMapping}
|
|
879
|
+
tabIndex={-1}
|
|
880
|
+
title="Remove"
|
|
881
|
+
>
|
|
882
|
+
<TimesIcon />
|
|
883
|
+
</button>
|
|
884
|
+
)}
|
|
885
|
+
</div>
|
|
886
|
+
);
|
|
887
|
+
},
|
|
888
|
+
);
|
|
889
|
+
|
|
890
|
+
const RuntimeGeneralEditor = observer(
|
|
891
|
+
(props: {
|
|
892
|
+
runtimeEditorState: RuntimeEditorState;
|
|
893
|
+
runtimeEditorTabState: RuntimeEditorRuntimeTabState;
|
|
894
|
+
isReadOnly: boolean;
|
|
895
|
+
}) => {
|
|
896
|
+
const { runtimeEditorState, isReadOnly } = props;
|
|
897
|
+
const editorStore = useEditorStore();
|
|
898
|
+
const runtime = runtimeEditorState.runtime;
|
|
899
|
+
const runtimeValue = runtimeEditorState.runtimeValue;
|
|
900
|
+
const isRuntimeEmbedded = !(runtime instanceof RuntimePointer);
|
|
901
|
+
// mappings
|
|
902
|
+
const mappings = editorStore.graphManagerState.graph.ownMappings.filter(
|
|
903
|
+
(mapping) => !runtimeValue.mappings.map((m) => m.value).includes(mapping),
|
|
904
|
+
);
|
|
905
|
+
const allowAddingMapping = !isReadOnly && Boolean(mappings.length);
|
|
906
|
+
const addMapping = (): void => {
|
|
907
|
+
if (allowAddingMapping) {
|
|
908
|
+
runtimeEditorState.addMapping(mappings[0] as Mapping);
|
|
909
|
+
}
|
|
910
|
+
};
|
|
911
|
+
const handleDropMapping = useCallback(
|
|
912
|
+
(item: UMLEditorElementDropTarget): void => {
|
|
913
|
+
const element = item.data.packageableElement;
|
|
914
|
+
if (
|
|
915
|
+
!isReadOnly &&
|
|
916
|
+
// Have to be a mapping
|
|
917
|
+
element instanceof Mapping &&
|
|
918
|
+
// Must not be an already specified mapping
|
|
919
|
+
!runtimeValue.mappings.map((m) => m.value).includes(element)
|
|
920
|
+
) {
|
|
921
|
+
runtimeEditorState.addMapping(element);
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
[isReadOnly, runtimeEditorState, runtimeValue.mappings],
|
|
925
|
+
);
|
|
926
|
+
const [{ isMappingDragOver }, dropMappingRef] = useDrop(
|
|
927
|
+
() => ({
|
|
928
|
+
accept: [CORE_DND_TYPE.PROJECT_EXPLORER_MAPPING],
|
|
929
|
+
drop: (item: ElementDragSource): void => handleDropMapping(item),
|
|
930
|
+
collect: (monitor): { isMappingDragOver: boolean } => ({
|
|
931
|
+
isMappingDragOver: monitor.isOver({ shallow: true }),
|
|
932
|
+
}),
|
|
933
|
+
}),
|
|
934
|
+
[handleDropMapping],
|
|
935
|
+
);
|
|
936
|
+
|
|
937
|
+
return (
|
|
938
|
+
<div className="panel runtime-explorer">
|
|
939
|
+
<div className="panel__header"></div>
|
|
940
|
+
<div
|
|
941
|
+
ref={dropMappingRef}
|
|
942
|
+
className="panel__content dnd__overlay__container"
|
|
943
|
+
>
|
|
944
|
+
<div
|
|
945
|
+
className={clsx({ dnd__overlay: isMappingDragOver && !isReadOnly })}
|
|
946
|
+
/>
|
|
947
|
+
<div className="panel__content__form">
|
|
948
|
+
<div className="panel__content__form__section">
|
|
949
|
+
<div className="panel__content__form__section__header__label">
|
|
950
|
+
Mappings
|
|
951
|
+
</div>
|
|
952
|
+
<div className="panel__content__form__section__header__prompt">
|
|
953
|
+
Specifies the list of mappings covered by this runtime
|
|
954
|
+
</div>
|
|
955
|
+
<div className="panel__content__form__section__list">
|
|
956
|
+
{runtimeValue.mappings.map((mappingRef) => (
|
|
957
|
+
<RuntimeMappingEditor
|
|
958
|
+
key={mappingRef.value._UUID}
|
|
959
|
+
runtimeEditorState={runtimeEditorState}
|
|
960
|
+
mappingRef={mappingRef}
|
|
961
|
+
isReadOnly={isReadOnly || isRuntimeEmbedded}
|
|
962
|
+
/>
|
|
963
|
+
))}
|
|
964
|
+
{!isRuntimeEmbedded && (
|
|
965
|
+
<div className="panel__content__form__section__list__new-item__add">
|
|
966
|
+
<button
|
|
967
|
+
className="panel__content__form__section__list__new-item__add-btn btn btn--dark"
|
|
968
|
+
disabled={!allowAddingMapping}
|
|
969
|
+
tabIndex={-1}
|
|
970
|
+
onClick={addMapping}
|
|
971
|
+
title="Add Mapping"
|
|
972
|
+
>
|
|
973
|
+
Add Value
|
|
974
|
+
</button>
|
|
975
|
+
</div>
|
|
976
|
+
)}
|
|
977
|
+
</div>
|
|
978
|
+
</div>
|
|
979
|
+
</div>
|
|
980
|
+
</div>
|
|
981
|
+
</div>
|
|
982
|
+
);
|
|
983
|
+
},
|
|
984
|
+
);
|
|
985
|
+
|
|
986
|
+
const RuntimeEditorPanel = observer(
|
|
987
|
+
(props: { runtimeEditorState: RuntimeEditorState; isReadOnly: boolean }) => {
|
|
988
|
+
const { runtimeEditorState, isReadOnly } = props;
|
|
989
|
+
const currentRuntimeEditorTabState = runtimeEditorState.currentTabState;
|
|
990
|
+
if (
|
|
991
|
+
currentRuntimeEditorTabState instanceof
|
|
992
|
+
IdentifiedConnectionsEditorTabState
|
|
993
|
+
) {
|
|
994
|
+
return (
|
|
995
|
+
<IdentifiedConnectionsPerStoreEditor
|
|
996
|
+
key={runtimeEditorState.uuid}
|
|
997
|
+
runtimeEditorState={runtimeEditorState}
|
|
998
|
+
currentRuntimeEditorTabState={currentRuntimeEditorTabState}
|
|
999
|
+
isReadOnly={isReadOnly}
|
|
1000
|
+
/>
|
|
1001
|
+
);
|
|
1002
|
+
} else if (
|
|
1003
|
+
currentRuntimeEditorTabState instanceof RuntimeEditorRuntimeTabState
|
|
1004
|
+
) {
|
|
1005
|
+
return (
|
|
1006
|
+
<RuntimeGeneralEditor
|
|
1007
|
+
key={runtimeEditorState.uuid}
|
|
1008
|
+
runtimeEditorState={runtimeEditorState}
|
|
1009
|
+
runtimeEditorTabState={currentRuntimeEditorTabState}
|
|
1010
|
+
isReadOnly={isReadOnly}
|
|
1011
|
+
/>
|
|
1012
|
+
);
|
|
1013
|
+
}
|
|
1014
|
+
return <div />; // no need for splash screen since will always show at least a tab
|
|
1015
|
+
},
|
|
1016
|
+
);
|
|
1017
|
+
|
|
1018
|
+
export const RuntimeEditor = observer(
|
|
1019
|
+
(props: { runtimeEditorState: RuntimeEditorState; isReadOnly: boolean }) => {
|
|
1020
|
+
const { runtimeEditorState, isReadOnly } = props;
|
|
1021
|
+
|
|
1022
|
+
return (
|
|
1023
|
+
<div className="runtime-editor">
|
|
1024
|
+
<ResizablePanelGroup orientation="vertical">
|
|
1025
|
+
<ResizablePanel size={300} minSize={300}>
|
|
1026
|
+
<RuntimeExplorer
|
|
1027
|
+
runtimeEditorState={runtimeEditorState}
|
|
1028
|
+
isReadOnly={isReadOnly}
|
|
1029
|
+
/>
|
|
1030
|
+
</ResizablePanel>
|
|
1031
|
+
<ResizablePanelSplitter>
|
|
1032
|
+
<ResizablePanelSplitterLine color="var(--color-dark-grey-200)" />
|
|
1033
|
+
</ResizablePanelSplitter>
|
|
1034
|
+
<ResizablePanel>
|
|
1035
|
+
<RuntimeEditorPanel
|
|
1036
|
+
runtimeEditorState={runtimeEditorState}
|
|
1037
|
+
isReadOnly={isReadOnly}
|
|
1038
|
+
/>
|
|
1039
|
+
</ResizablePanel>
|
|
1040
|
+
</ResizablePanelGroup>
|
|
1041
|
+
</div>
|
|
1042
|
+
);
|
|
1043
|
+
},
|
|
1044
|
+
);
|
|
1045
|
+
|
|
1046
|
+
export const PackageableRuntimeEditor = observer(() => {
|
|
1047
|
+
const editorStore = useEditorStore();
|
|
1048
|
+
const editorState = editorStore.getCurrentEditorState(
|
|
1049
|
+
PackageableRuntimeEditorState,
|
|
1050
|
+
);
|
|
1051
|
+
const isReadOnly = editorState.isReadOnly;
|
|
1052
|
+
|
|
1053
|
+
useApplicationNavigationContext(
|
|
1054
|
+
LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.RUNTIME_EDITOR,
|
|
1055
|
+
);
|
|
1056
|
+
|
|
1057
|
+
return (
|
|
1058
|
+
<RuntimeEditor
|
|
1059
|
+
runtimeEditorState={editorState.runtimeEditorState}
|
|
1060
|
+
isReadOnly={isReadOnly}
|
|
1061
|
+
/>
|
|
1062
|
+
);
|
|
1063
|
+
});
|
|
1064
|
+
|
|
1065
|
+
export const EmbeddedRuntimeEditor = observer(
|
|
1066
|
+
(props: {
|
|
1067
|
+
runtimeEditorState?: RuntimeEditorState | undefined;
|
|
1068
|
+
isReadOnly: boolean;
|
|
1069
|
+
onClose: () => void;
|
|
1070
|
+
}) => {
|
|
1071
|
+
const { runtimeEditorState, onClose, isReadOnly } = props;
|
|
1072
|
+
const closeEditor = (): void => onClose();
|
|
1073
|
+
if (!runtimeEditorState) {
|
|
1074
|
+
return null;
|
|
1075
|
+
}
|
|
1076
|
+
return (
|
|
1077
|
+
<Dialog
|
|
1078
|
+
open={Boolean(runtimeEditorState)}
|
|
1079
|
+
onClose={closeEditor}
|
|
1080
|
+
classes={{
|
|
1081
|
+
root: 'editor-modal__root-container',
|
|
1082
|
+
container: 'editor-modal__container',
|
|
1083
|
+
paper: 'editor-modal__content',
|
|
1084
|
+
}}
|
|
1085
|
+
>
|
|
1086
|
+
<div className="modal modal--dark editor-modal embedded-runtime-editor">
|
|
1087
|
+
<div className="modal__header">
|
|
1088
|
+
<div className="modal__title">
|
|
1089
|
+
<div className="modal__title__icon">
|
|
1090
|
+
<CogIcon />
|
|
1091
|
+
</div>
|
|
1092
|
+
<div className="modal__title__label">custom runtime</div>
|
|
1093
|
+
</div>
|
|
1094
|
+
<div className="modal__header__actions">
|
|
1095
|
+
<button
|
|
1096
|
+
className="modal__header__action"
|
|
1097
|
+
tabIndex={-1}
|
|
1098
|
+
onClick={closeEditor}
|
|
1099
|
+
>
|
|
1100
|
+
<TimesIcon />
|
|
1101
|
+
</button>
|
|
1102
|
+
</div>
|
|
1103
|
+
</div>
|
|
1104
|
+
<div className="modal__body modal__body--footless">
|
|
1105
|
+
<RuntimeEditor
|
|
1106
|
+
runtimeEditorState={runtimeEditorState}
|
|
1107
|
+
isReadOnly={isReadOnly}
|
|
1108
|
+
/>
|
|
1109
|
+
</div>
|
|
1110
|
+
</div>
|
|
1111
|
+
</Dialog>
|
|
1112
|
+
);
|
|
1113
|
+
},
|
|
1114
|
+
);
|