@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,422 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { assertErrorThrown, LogEvent, addUniqueEntry, assertNonEmptyString, assertTrue, guaranteeNonNullable, isNonNullable, filterByType, ActionState, } from '@finos/legend-shared';
|
|
17
|
+
import { observable, action, makeObservable, flow, flowResult } from 'mobx';
|
|
18
|
+
import { LEGEND_STUDIO_APP_EVENT } from '../../../LegendStudioAppEvent.js';
|
|
19
|
+
import { DatabaseBuilderInput, DatabasePattern, TargetDatabase, PackageableElementExplicitReference, Column, Database, isValidFullPath, resolvePackagePathAndElementName, isStubbed_PackageableElement, getSchema, getNullableSchema, getNullableTable, } from '@finos/legend-graph';
|
|
20
|
+
import { connection_setStore } from '../../../graphModifier/DSLMapping_GraphModifierHelper.js';
|
|
21
|
+
export class DatabaseBuilderTreeNodeData {
|
|
22
|
+
isOpen;
|
|
23
|
+
id;
|
|
24
|
+
label;
|
|
25
|
+
parentId;
|
|
26
|
+
childrenIds;
|
|
27
|
+
isChecked = false;
|
|
28
|
+
constructor(id, label, parentId) {
|
|
29
|
+
this.id = id;
|
|
30
|
+
this.label = label;
|
|
31
|
+
this.parentId = parentId;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export class SchemaDatabaseBuilderTreeNodeData extends DatabaseBuilderTreeNodeData {
|
|
35
|
+
schema;
|
|
36
|
+
constructor(id, parentId, schema) {
|
|
37
|
+
super(id, schema.name, parentId);
|
|
38
|
+
this.schema = schema;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class TableDatabaseBuilderTreeNodeData extends DatabaseBuilderTreeNodeData {
|
|
42
|
+
table;
|
|
43
|
+
constructor(id, parentId, table) {
|
|
44
|
+
super(id, table.name, parentId);
|
|
45
|
+
this.table = table;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export class ColumnDatabaseBuilderTreeNodeData extends DatabaseBuilderTreeNodeData {
|
|
49
|
+
column;
|
|
50
|
+
constructor(id, parentId, column) {
|
|
51
|
+
super(id, column.name, parentId);
|
|
52
|
+
this.column = column;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
const WILDCARD = '%';
|
|
56
|
+
export class DatabaseBuilderState {
|
|
57
|
+
editorStore;
|
|
58
|
+
connection;
|
|
59
|
+
showModal = false;
|
|
60
|
+
databaseGrammarCode = '';
|
|
61
|
+
isBuildingDatabase = false;
|
|
62
|
+
isSavingDatabase = false;
|
|
63
|
+
targetDatabasePath;
|
|
64
|
+
treeData;
|
|
65
|
+
constructor(editorStore, connection) {
|
|
66
|
+
makeObservable(this, {
|
|
67
|
+
showModal: observable,
|
|
68
|
+
targetDatabasePath: observable,
|
|
69
|
+
isBuildingDatabase: observable,
|
|
70
|
+
databaseGrammarCode: observable,
|
|
71
|
+
isSavingDatabase: observable,
|
|
72
|
+
setTargetDatabasePath: action,
|
|
73
|
+
setShowModal: action,
|
|
74
|
+
setDatabaseGrammarCode: action,
|
|
75
|
+
setTreeData: action,
|
|
76
|
+
treeData: observable,
|
|
77
|
+
onNodeSelect: flow,
|
|
78
|
+
buildDatabaseGrammar: flow,
|
|
79
|
+
buildDatabaseFromInput: flow,
|
|
80
|
+
buildDatabaseWithTreeData: flow,
|
|
81
|
+
createOrUpdateDatabase: flow,
|
|
82
|
+
fetchSchemaDefinitions: flow,
|
|
83
|
+
fetchSchemaMetadata: flow,
|
|
84
|
+
fetchTableMetadata: flow,
|
|
85
|
+
});
|
|
86
|
+
this.connection = connection;
|
|
87
|
+
this.editorStore = editorStore;
|
|
88
|
+
this.targetDatabasePath = this.currentDatabase?.path ?? 'store::MyDatabase';
|
|
89
|
+
}
|
|
90
|
+
setShowModal(val) {
|
|
91
|
+
this.showModal = val;
|
|
92
|
+
}
|
|
93
|
+
setTreeData(builderTreeData) {
|
|
94
|
+
this.treeData = builderTreeData;
|
|
95
|
+
}
|
|
96
|
+
setDatabaseGrammarCode(val) {
|
|
97
|
+
this.databaseGrammarCode = val;
|
|
98
|
+
}
|
|
99
|
+
setTargetDatabasePath(val) {
|
|
100
|
+
this.targetDatabasePath = val;
|
|
101
|
+
}
|
|
102
|
+
*onNodeSelect(node, treeData) {
|
|
103
|
+
if (node instanceof SchemaDatabaseBuilderTreeNodeData &&
|
|
104
|
+
!node.childrenIds) {
|
|
105
|
+
yield flowResult(this.fetchSchemaMetadata(node, treeData));
|
|
106
|
+
}
|
|
107
|
+
else if (node instanceof TableDatabaseBuilderTreeNodeData &&
|
|
108
|
+
!node.childrenIds) {
|
|
109
|
+
yield flowResult(this.fetchTableMetadata(node, treeData));
|
|
110
|
+
}
|
|
111
|
+
node.isOpen = !node.isOpen;
|
|
112
|
+
this.setTreeData({ ...treeData });
|
|
113
|
+
}
|
|
114
|
+
getChildNodes(node, treeData) {
|
|
115
|
+
return node.childrenIds
|
|
116
|
+
?.map((n) => treeData.nodes.get(n))
|
|
117
|
+
.filter(isNonNullable);
|
|
118
|
+
}
|
|
119
|
+
toggleCheckedNode(node, treeData) {
|
|
120
|
+
node.isChecked = !node.isChecked;
|
|
121
|
+
if (node instanceof SchemaDatabaseBuilderTreeNodeData) {
|
|
122
|
+
this.getChildNodes(node, treeData)?.forEach((n) => {
|
|
123
|
+
n.isChecked = node.isChecked;
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
else if (node instanceof TableDatabaseBuilderTreeNodeData) {
|
|
127
|
+
if (node.parentId) {
|
|
128
|
+
const parent = treeData.nodes.get(node.parentId);
|
|
129
|
+
if (parent &&
|
|
130
|
+
this.getChildNodes(parent, treeData)?.every((e) => e.isChecked === node.isChecked)) {
|
|
131
|
+
parent.isChecked = node.isChecked;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
// TODO: handle ColumnDatabaseBuilderTreeNodeData
|
|
136
|
+
this.setTreeData({ ...treeData });
|
|
137
|
+
}
|
|
138
|
+
buildNonEnrichedDbBuilderInput(schema) {
|
|
139
|
+
const databaseBuilderInput = new DatabaseBuilderInput(this.connection);
|
|
140
|
+
const [packagePath, databaseName] = this.getDatabasePackageAndName();
|
|
141
|
+
databaseBuilderInput.targetDatabase = new TargetDatabase(packagePath, databaseName);
|
|
142
|
+
databaseBuilderInput.config.maxTables = undefined;
|
|
143
|
+
databaseBuilderInput.config.enrichTables = Boolean(schema);
|
|
144
|
+
databaseBuilderInput.config.patterns = [
|
|
145
|
+
new DatabasePattern(schema ?? WILDCARD, WILDCARD),
|
|
146
|
+
];
|
|
147
|
+
return databaseBuilderInput;
|
|
148
|
+
}
|
|
149
|
+
*fetchSchemaDefinitions() {
|
|
150
|
+
try {
|
|
151
|
+
this.isBuildingDatabase = true;
|
|
152
|
+
const databaseBuilderInput = this.buildNonEnrichedDbBuilderInput();
|
|
153
|
+
const database = (yield flowResult(this.buildDatabaseFromInput(databaseBuilderInput)));
|
|
154
|
+
const rootIds = [];
|
|
155
|
+
const nodes = new Map();
|
|
156
|
+
database.schemas
|
|
157
|
+
.slice()
|
|
158
|
+
.sort((schemaA, schemaB) => schemaA.name.localeCompare(schemaB.name))
|
|
159
|
+
.forEach((dbSchema) => {
|
|
160
|
+
const schemaId = dbSchema.name;
|
|
161
|
+
rootIds.push(schemaId);
|
|
162
|
+
const schemaNode = new SchemaDatabaseBuilderTreeNodeData(schemaId, undefined, dbSchema);
|
|
163
|
+
schemaNode.isChecked = Boolean(this.currentDatabase?.schemas.find((cSchema) => cSchema.name === dbSchema.name));
|
|
164
|
+
nodes.set(schemaId, schemaNode);
|
|
165
|
+
});
|
|
166
|
+
const treeData = { rootIds, nodes, database };
|
|
167
|
+
this.setTreeData(treeData);
|
|
168
|
+
}
|
|
169
|
+
catch (error) {
|
|
170
|
+
assertErrorThrown(error);
|
|
171
|
+
this.editorStore.applicationStore.log.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE), error);
|
|
172
|
+
this.editorStore.applicationStore.notifyError(error);
|
|
173
|
+
}
|
|
174
|
+
finally {
|
|
175
|
+
this.isBuildingDatabase = false;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
*fetchSchemaMetadata(schemaNode, treeData) {
|
|
179
|
+
try {
|
|
180
|
+
this.isBuildingDatabase = true;
|
|
181
|
+
const schema = schemaNode.schema;
|
|
182
|
+
const databaseBuilderInput = this.buildNonEnrichedDbBuilderInput(schema.name);
|
|
183
|
+
const database = (yield flowResult(this.buildDatabaseFromInput(databaseBuilderInput)));
|
|
184
|
+
const tables = getSchema(database, schema.name).tables;
|
|
185
|
+
const childrenIds = schemaNode.childrenIds ?? [];
|
|
186
|
+
schema.tables = tables;
|
|
187
|
+
tables
|
|
188
|
+
.slice()
|
|
189
|
+
.sort((tableA, tableB) => tableA.name.localeCompare(tableB.name))
|
|
190
|
+
.forEach((table) => {
|
|
191
|
+
table.schema = schema;
|
|
192
|
+
const tableId = `${schema.name}.${table.name}`;
|
|
193
|
+
const tableNode = new TableDatabaseBuilderTreeNodeData(tableId, schemaNode.id, table);
|
|
194
|
+
if (this.currentDatabase) {
|
|
195
|
+
const matchingSchema = getNullableSchema(this.currentDatabase, schema.name);
|
|
196
|
+
tableNode.isChecked = Boolean(matchingSchema
|
|
197
|
+
? getNullableTable(matchingSchema, table.name)
|
|
198
|
+
: undefined);
|
|
199
|
+
}
|
|
200
|
+
else {
|
|
201
|
+
tableNode.isChecked = false;
|
|
202
|
+
}
|
|
203
|
+
treeData.nodes.set(tableId, tableNode);
|
|
204
|
+
addUniqueEntry(childrenIds, tableId);
|
|
205
|
+
});
|
|
206
|
+
schemaNode.childrenIds = childrenIds;
|
|
207
|
+
this.setTreeData({ ...treeData });
|
|
208
|
+
}
|
|
209
|
+
catch (error) {
|
|
210
|
+
assertErrorThrown(error);
|
|
211
|
+
this.editorStore.applicationStore.log.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE), error);
|
|
212
|
+
this.editorStore.applicationStore.notifyError(error);
|
|
213
|
+
}
|
|
214
|
+
finally {
|
|
215
|
+
this.isBuildingDatabase = false;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
*fetchTableMetadata(tableNode, treeData) {
|
|
219
|
+
try {
|
|
220
|
+
const databaseBuilderInput = new DatabaseBuilderInput(this.connection);
|
|
221
|
+
const [packagePath, databaseName] = resolvePackagePathAndElementName(this.targetDatabasePath);
|
|
222
|
+
databaseBuilderInput.targetDatabase = new TargetDatabase(packagePath, databaseName);
|
|
223
|
+
const config = databaseBuilderInput.config;
|
|
224
|
+
config.maxTables = undefined;
|
|
225
|
+
config.enrichTables = true;
|
|
226
|
+
config.enrichColumns = true;
|
|
227
|
+
config.enrichPrimaryKeys = true;
|
|
228
|
+
const table = tableNode.table;
|
|
229
|
+
config.patterns = [new DatabasePattern(table.schema.name, table.name)];
|
|
230
|
+
const database = (yield flowResult(this.buildDatabaseFromInput(databaseBuilderInput)));
|
|
231
|
+
const enrichedTable = database.schemas
|
|
232
|
+
.find((s) => table.schema.name === s.name)
|
|
233
|
+
?.tables.find((t) => t.name === table.name);
|
|
234
|
+
if (enrichedTable) {
|
|
235
|
+
this.addColumnsNodeToTableNode(tableNode, enrichedTable, treeData);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
catch (error) {
|
|
239
|
+
assertErrorThrown(error);
|
|
240
|
+
this.editorStore.applicationStore.log.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE), error);
|
|
241
|
+
this.editorStore.applicationStore.notifyError(error);
|
|
242
|
+
}
|
|
243
|
+
finally {
|
|
244
|
+
this.isBuildingDatabase = false;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
addColumnsNodeToTableNode(tableNode, enrichedTable, treeData) {
|
|
248
|
+
const columns = enrichedTable.columns.filter(filterByType(Column));
|
|
249
|
+
tableNode.table.columns = columns;
|
|
250
|
+
this.removeChildren(tableNode, treeData);
|
|
251
|
+
const childrenIds = [];
|
|
252
|
+
const tableId = tableNode.id;
|
|
253
|
+
columns
|
|
254
|
+
.slice()
|
|
255
|
+
.sort((colA, colB) => colA.name.localeCompare(colB.name))
|
|
256
|
+
.forEach((c) => {
|
|
257
|
+
const columnId = `${tableId}.${c.name}`;
|
|
258
|
+
const columnNode = new ColumnDatabaseBuilderTreeNodeData(columnId, tableId, c);
|
|
259
|
+
c.owner = tableNode.table;
|
|
260
|
+
treeData.nodes.set(columnId, columnNode);
|
|
261
|
+
addUniqueEntry(childrenIds, columnId);
|
|
262
|
+
});
|
|
263
|
+
tableNode.childrenIds = childrenIds;
|
|
264
|
+
}
|
|
265
|
+
removeChildren(node, treeData) {
|
|
266
|
+
const currentChildren = node.childrenIds;
|
|
267
|
+
if (currentChildren) {
|
|
268
|
+
currentChildren.forEach((c) => treeData.nodes.delete(c));
|
|
269
|
+
node.childrenIds = undefined;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
getDatabasePackageAndName() {
|
|
273
|
+
if (this.currentDatabase) {
|
|
274
|
+
return [
|
|
275
|
+
guaranteeNonNullable(this.currentDatabase.package).path,
|
|
276
|
+
this.currentDatabase.name,
|
|
277
|
+
];
|
|
278
|
+
}
|
|
279
|
+
assertNonEmptyString(this.targetDatabasePath, 'Must specify database path');
|
|
280
|
+
assertTrue(isValidFullPath(this.targetDatabasePath), 'Invalid database path');
|
|
281
|
+
return resolvePackagePathAndElementName(this.targetDatabasePath, this.targetDatabasePath);
|
|
282
|
+
}
|
|
283
|
+
*buildDatabaseWithTreeData() {
|
|
284
|
+
try {
|
|
285
|
+
if (this.treeData) {
|
|
286
|
+
const dbTreeData = this.treeData;
|
|
287
|
+
this.isBuildingDatabase = true;
|
|
288
|
+
const databaseBuilderInput = new DatabaseBuilderInput(this.connection);
|
|
289
|
+
const [packagePath, databaseName] = this.getDatabasePackageAndName();
|
|
290
|
+
databaseBuilderInput.targetDatabase = new TargetDatabase(packagePath, databaseName);
|
|
291
|
+
const config = databaseBuilderInput.config;
|
|
292
|
+
config.maxTables = undefined;
|
|
293
|
+
config.enrichTables = true;
|
|
294
|
+
config.enrichColumns = true;
|
|
295
|
+
config.enrichPrimaryKeys = true;
|
|
296
|
+
dbTreeData.rootIds
|
|
297
|
+
.map((e) => dbTreeData.nodes.get(e))
|
|
298
|
+
.filter(isNonNullable)
|
|
299
|
+
.forEach((schemaNode) => {
|
|
300
|
+
if (schemaNode instanceof SchemaDatabaseBuilderTreeNodeData) {
|
|
301
|
+
const tableNodes = this.getChildNodes(schemaNode, dbTreeData);
|
|
302
|
+
const allChecked = tableNodes?.every((t) => t.isChecked === true);
|
|
303
|
+
if (allChecked ||
|
|
304
|
+
(schemaNode.isChecked && !schemaNode.childrenIds)) {
|
|
305
|
+
config.patterns.push(new DatabasePattern(schemaNode.schema.name, WILDCARD));
|
|
306
|
+
}
|
|
307
|
+
else {
|
|
308
|
+
tableNodes?.forEach((t) => {
|
|
309
|
+
if (t instanceof TableDatabaseBuilderTreeNodeData &&
|
|
310
|
+
t.isChecked) {
|
|
311
|
+
config.patterns.push(new DatabasePattern(schemaNode.schema.name, t.table.name));
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
const entities = (yield this.editorStore.graphManagerState.graphManager.buildDatabase(databaseBuilderInput));
|
|
318
|
+
const dbGrammar = (yield this.editorStore.graphManagerState.graphManager.entitiesToPureCode(entities));
|
|
319
|
+
this.setDatabaseGrammarCode(dbGrammar);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
catch (error) {
|
|
323
|
+
assertErrorThrown(error);
|
|
324
|
+
this.editorStore.applicationStore.log.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE), error);
|
|
325
|
+
this.editorStore.applicationStore.notifyError(error);
|
|
326
|
+
}
|
|
327
|
+
finally {
|
|
328
|
+
this.isBuildingDatabase = false;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
getSchemasFromTreeNode(tree) {
|
|
332
|
+
return Array.from(tree.nodes.values())
|
|
333
|
+
.map((e) => {
|
|
334
|
+
if (e instanceof SchemaDatabaseBuilderTreeNodeData) {
|
|
335
|
+
return e.schema;
|
|
336
|
+
}
|
|
337
|
+
return undefined;
|
|
338
|
+
})
|
|
339
|
+
.filter(isNonNullable);
|
|
340
|
+
}
|
|
341
|
+
*buildDatabaseGrammar(grammar) {
|
|
342
|
+
const entities = (yield this.editorStore.graphManagerState.graphManager.pureCodeToEntities(grammar));
|
|
343
|
+
const dbGraph = this.editorStore.graphManagerState.createEmptyGraph();
|
|
344
|
+
(yield this.editorStore.graphManagerState.graphManager.buildGraph(dbGraph, entities, ActionState.create()));
|
|
345
|
+
assertTrue(dbGraph.ownDatabases.length === 1, 'Expected one database to be generated from grammar');
|
|
346
|
+
return dbGraph.ownDatabases[0];
|
|
347
|
+
}
|
|
348
|
+
*buildDatabaseFromInput(databaseBuilderInput) {
|
|
349
|
+
const entities = (yield this.editorStore.graphManagerState.graphManager.buildDatabase(databaseBuilderInput));
|
|
350
|
+
const dbGraph = this.editorStore.graphManagerState.createEmptyGraph();
|
|
351
|
+
(yield this.editorStore.graphManagerState.graphManager.buildGraph(dbGraph, entities, ActionState.create()));
|
|
352
|
+
assertTrue(dbGraph.ownDatabases.length === 1, 'Expected one database to be generated from input');
|
|
353
|
+
return dbGraph.ownDatabases[0];
|
|
354
|
+
}
|
|
355
|
+
*createOrUpdateDatabase() {
|
|
356
|
+
try {
|
|
357
|
+
this.isSavingDatabase = true;
|
|
358
|
+
assertNonEmptyString(this.databaseGrammarCode, 'Database grammar is empty');
|
|
359
|
+
const database = (yield flowResult(this.buildDatabaseGrammar(this.databaseGrammarCode)));
|
|
360
|
+
let currentDatabase;
|
|
361
|
+
const isUpdating = Boolean(this.currentDatabase);
|
|
362
|
+
if (!this.currentDatabase) {
|
|
363
|
+
const newDatabase = new Database(database.name);
|
|
364
|
+
connection_setStore(this.connection, PackageableElementExplicitReference.create(newDatabase));
|
|
365
|
+
const packagePath = guaranteeNonNullable(database.package?.name, 'Database package is missing');
|
|
366
|
+
yield flowResult(this.editorStore.addElement(newDatabase, packagePath, false));
|
|
367
|
+
currentDatabase = newDatabase;
|
|
368
|
+
}
|
|
369
|
+
else {
|
|
370
|
+
currentDatabase = this.currentDatabase;
|
|
371
|
+
}
|
|
372
|
+
if (this.treeData) {
|
|
373
|
+
const schemas = this.getSchemasFromTreeNode(this.treeData);
|
|
374
|
+
this.updateDatabase(currentDatabase, database, schemas);
|
|
375
|
+
this.editorStore.applicationStore.notifySuccess(`Database successfully '${isUpdating ? 'updated' : 'created'}. ${!isUpdating ? 'Recompiling...' : ''}`);
|
|
376
|
+
this.fetchSchemaDefinitions();
|
|
377
|
+
if (isUpdating) {
|
|
378
|
+
yield flowResult(this.editorStore.graphState.globalCompileInFormMode({
|
|
379
|
+
message: `Can't compile graph after editing database. Redirecting you to text mode`,
|
|
380
|
+
}));
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
catch (error) {
|
|
385
|
+
assertErrorThrown(error);
|
|
386
|
+
this.editorStore.applicationStore.log.error(LogEvent.create(LEGEND_STUDIO_APP_EVENT.DATABASE_BUILDER_FAILURE), error);
|
|
387
|
+
this.editorStore.applicationStore.notifyError(error);
|
|
388
|
+
}
|
|
389
|
+
finally {
|
|
390
|
+
this.isSavingDatabase = false;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
updateDatabase(current, generatedDb, allSchemas) {
|
|
394
|
+
// remove shemas not defined
|
|
395
|
+
current.schemas = current.schemas.filter((schema) => {
|
|
396
|
+
if (allSchemas.find((c) => c.name === schema.name) &&
|
|
397
|
+
!generatedDb.schemas.find((c) => c.name === schema.name)) {
|
|
398
|
+
return false;
|
|
399
|
+
}
|
|
400
|
+
return true;
|
|
401
|
+
});
|
|
402
|
+
// update existing schemas
|
|
403
|
+
generatedDb.schemas.forEach((schema) => {
|
|
404
|
+
schema._OWNER = current;
|
|
405
|
+
const currentSchemaIndex = current.schemas.findIndex((c) => c.name === schema.name);
|
|
406
|
+
if (currentSchemaIndex !== -1) {
|
|
407
|
+
current.schemas[currentSchemaIndex] = schema;
|
|
408
|
+
}
|
|
409
|
+
else {
|
|
410
|
+
current.schemas.push(schema);
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
get currentDatabase() {
|
|
415
|
+
const store = this.connection.store.value;
|
|
416
|
+
if (store instanceof Database && !isStubbed_PackageableElement(store)) {
|
|
417
|
+
return store;
|
|
418
|
+
}
|
|
419
|
+
return undefined;
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
//# sourceMappingURL=DatabaseBuilderState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatabaseBuilderState.js","sourceRoot":"","sources":["../../../../../src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAGL,iBAAiB,EACjB,QAAQ,EACR,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,OAAO,EAIL,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,mC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,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,CAAC,EACxD;gBACA,OAAO,KAAK,CAAC;aACd;YACD,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;QACH,0BAA0B;QAC1B,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;YACpC,MAA2B,CAAC,MAAM,GAAG,OAAO,CAAC;YAC9C,MAAM,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAClD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,IAAI,CAC9B,CAAC;YACF,IAAI,kBAAkB,KAAK,CAAC,CAAC,EAAE;gBAC7B,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,GAAG,MAAM,CAAC;aAC9C;iBAAM;gBACL,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aAC9B;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAED,IAAI,eAAe;QACjB,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC;QAC1C,IAAI,KAAK,YAAY,QAAQ,IAAI,CAAC,4BAA4B,CAAC,KAAK,CAAC,EAAE;YACrE,OAAO,KAAK,CAAC;SACd;QACD,OAAO,SAAS,CAAC;IACnB,CAAC;CACF"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { DataElement, type EmbeddedData, type PackageableElement } from '@finos/legend-graph';
|
|
17
|
+
import type { EditorStore } from '../../../EditorStore.js';
|
|
18
|
+
import { ElementEditorState } from '../ElementEditorState.js';
|
|
19
|
+
import { type EmbeddedDataState } from './EmbeddedDataState.js';
|
|
20
|
+
export declare enum DATA_TAB_TYPE {
|
|
21
|
+
GENERAL = "GENERAL",
|
|
22
|
+
STEREOTYPES = "STEREOTYPES",
|
|
23
|
+
TAGGED_VALUES = "TAGGED_VALUES"
|
|
24
|
+
}
|
|
25
|
+
export declare type EmbeddedDataTypeOption = {
|
|
26
|
+
value: string;
|
|
27
|
+
label: string;
|
|
28
|
+
};
|
|
29
|
+
export declare class EmbeddedDataEditorState {
|
|
30
|
+
/**
|
|
31
|
+
* NOTE: used to force component remount on state change
|
|
32
|
+
*/
|
|
33
|
+
readonly uuid: string;
|
|
34
|
+
editorStore: EditorStore;
|
|
35
|
+
embeddedData: EmbeddedData;
|
|
36
|
+
embeddedDataState: EmbeddedDataState;
|
|
37
|
+
constructor(editorStore: EditorStore, embeddedData: EmbeddedData);
|
|
38
|
+
}
|
|
39
|
+
export declare class PackageableDataEditorState extends ElementEditorState {
|
|
40
|
+
embeddedDataState: EmbeddedDataEditorState;
|
|
41
|
+
selectedTab: DATA_TAB_TYPE;
|
|
42
|
+
constructor(editorStore: EditorStore, element: PackageableElement);
|
|
43
|
+
setSelectedTab(val: DATA_TAB_TYPE): void;
|
|
44
|
+
get data(): DataElement;
|
|
45
|
+
reprocess(newElement: PackageableElement, editorStore: EditorStore): ElementEditorState;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=DataEditorState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor-state/element-editor-state/data/DataEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,wBAAwB,CAAC;AAEhC,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;CAChC;AAED,oBAAY,sBAAsB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,qBAAa,uBAAuB;IAClC;;OAEG;IACH,QAAQ,CAAC,IAAI,SAAU;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;gBAEzB,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY;CAQjE;AAED,qBAAa,0BAA2B,SAAQ,kBAAkB;IAChE,iBAAiB,EAAE,uBAAuB,CAAC;IAC3C,WAAW,gBAAyB;gBAExB,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB;IAgBjE,cAAc,CAAC,GAAG,EAAE,aAAa,GAAG,IAAI;IAIxC,IAAI,IAAI,IAAI,WAAW,CAMtB;IAED,SAAS,CACP,UAAU,EAAE,kBAAkB,EAC9B,WAAW,EAAE,WAAW,GACvB,kBAAkB;CAItB"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { DataElement, } from '@finos/legend-graph';
|
|
17
|
+
import { guaranteeType, uuid } from '@finos/legend-shared';
|
|
18
|
+
import { action, computed, makeObservable, observable } from 'mobx';
|
|
19
|
+
import { ElementEditorState } from '../ElementEditorState.js';
|
|
20
|
+
import { buildEmbeddedDataEditorState, } from './EmbeddedDataState.js';
|
|
21
|
+
export var DATA_TAB_TYPE;
|
|
22
|
+
(function (DATA_TAB_TYPE) {
|
|
23
|
+
DATA_TAB_TYPE["GENERAL"] = "GENERAL";
|
|
24
|
+
DATA_TAB_TYPE["STEREOTYPES"] = "STEREOTYPES";
|
|
25
|
+
DATA_TAB_TYPE["TAGGED_VALUES"] = "TAGGED_VALUES";
|
|
26
|
+
})(DATA_TAB_TYPE = DATA_TAB_TYPE || (DATA_TAB_TYPE = {}));
|
|
27
|
+
export class EmbeddedDataEditorState {
|
|
28
|
+
/**
|
|
29
|
+
* NOTE: used to force component remount on state change
|
|
30
|
+
*/
|
|
31
|
+
uuid = uuid();
|
|
32
|
+
editorStore;
|
|
33
|
+
embeddedData;
|
|
34
|
+
embeddedDataState;
|
|
35
|
+
constructor(editorStore, embeddedData) {
|
|
36
|
+
this.editorStore = editorStore;
|
|
37
|
+
this.embeddedData = embeddedData;
|
|
38
|
+
this.embeddedDataState = buildEmbeddedDataEditorState(embeddedData, editorStore);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export class PackageableDataEditorState extends ElementEditorState {
|
|
42
|
+
embeddedDataState;
|
|
43
|
+
selectedTab = DATA_TAB_TYPE.GENERAL;
|
|
44
|
+
constructor(editorStore, element) {
|
|
45
|
+
super(editorStore, element);
|
|
46
|
+
makeObservable(this, {
|
|
47
|
+
data: computed,
|
|
48
|
+
selectedTab: observable,
|
|
49
|
+
setSelectedTab: action,
|
|
50
|
+
reprocess: action,
|
|
51
|
+
});
|
|
52
|
+
this.embeddedDataState = new EmbeddedDataEditorState(editorStore, this.data.data);
|
|
53
|
+
}
|
|
54
|
+
setSelectedTab(val) {
|
|
55
|
+
this.selectedTab = val;
|
|
56
|
+
}
|
|
57
|
+
get data() {
|
|
58
|
+
return guaranteeType(this.element, DataElement, `Element inside data editor state must be a DataElement`);
|
|
59
|
+
}
|
|
60
|
+
reprocess(newElement, editorStore) {
|
|
61
|
+
const editorState = new PackageableDataEditorState(editorStore, newElement);
|
|
62
|
+
return editorState;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=DataEditorState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor-state/element-editor-state/data/DataEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,GAGZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAEL,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAEhC,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,4CAA2B,CAAA;IAC3B,gDAA+B,CAAA;AACjC,CAAC,EAJW,aAAa,GAAb,aAAa,KAAb,aAAa,QAIxB;A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
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { type EmbeddedData, type DataElement, DataElementReference, ExternalFormatData, ModelStoreData, RelationalCSVData, RelationalCSVDataTable } from '@finos/legend-graph';
|
|
17
|
+
import type { EditorStore } from '../../../EditorStore.js';
|
|
18
|
+
export declare const createEmbeddedData: (type: string, editorStore: EditorStore) => EmbeddedData;
|
|
19
|
+
export declare abstract class EmbeddedDataState {
|
|
20
|
+
editorStore: EditorStore;
|
|
21
|
+
embeddedData: EmbeddedData;
|
|
22
|
+
constructor(editorStore: EditorStore, embeddedData: EmbeddedData);
|
|
23
|
+
abstract label(): string;
|
|
24
|
+
}
|
|
25
|
+
export declare class ExternalFormatDataState extends EmbeddedDataState {
|
|
26
|
+
embeddedData: ExternalFormatData;
|
|
27
|
+
constructor(editorStore: EditorStore, embeddedData: ExternalFormatData);
|
|
28
|
+
label(): string;
|
|
29
|
+
get supportsFormatting(): boolean;
|
|
30
|
+
format(): void;
|
|
31
|
+
}
|
|
32
|
+
export declare class ModelStoreDataState extends EmbeddedDataState {
|
|
33
|
+
embeddedData: ModelStoreData;
|
|
34
|
+
constructor(editorStore: EditorStore, embeddedData: ModelStoreData);
|
|
35
|
+
label(): string;
|
|
36
|
+
}
|
|
37
|
+
export declare class RelationalCSVDataTableState {
|
|
38
|
+
readonly editorStore: EditorStore;
|
|
39
|
+
table: RelationalCSVDataTable;
|
|
40
|
+
constructor(table: RelationalCSVDataTable, editorStore: EditorStore);
|
|
41
|
+
updateTableValues(val: string): void;
|
|
42
|
+
}
|
|
43
|
+
export declare class IdentifierTableState {
|
|
44
|
+
table: RelationalCSVDataTable | undefined;
|
|
45
|
+
dataState: RelationalCSVDataState;
|
|
46
|
+
schemaName: string;
|
|
47
|
+
tableName: string;
|
|
48
|
+
constructor(dataState: RelationalCSVDataState);
|
|
49
|
+
setTable(table: RelationalCSVDataTable | undefined): void;
|
|
50
|
+
setTableName(val: string): void;
|
|
51
|
+
setSchemaName(val: string): void;
|
|
52
|
+
get isEditingDisabled(): boolean;
|
|
53
|
+
handleSubmit(): void;
|
|
54
|
+
}
|
|
55
|
+
export declare class RelationalCSVDataState extends EmbeddedDataState {
|
|
56
|
+
embeddedData: RelationalCSVData;
|
|
57
|
+
showTableIdentifierModal: boolean;
|
|
58
|
+
tableIdentifierState: IdentifierTableState;
|
|
59
|
+
selectedTable: RelationalCSVDataTableState | undefined;
|
|
60
|
+
constructor(editorStore: EditorStore, embeddedData: RelationalCSVData);
|
|
61
|
+
openIdentifierModal(renameTable?: RelationalCSVDataTable | undefined): void;
|
|
62
|
+
closeModal(): void;
|
|
63
|
+
resetSelectedTable(): void;
|
|
64
|
+
deleteTable(val: RelationalCSVDataTable): void;
|
|
65
|
+
changeSelectedTable(val: RelationalCSVDataTable): void;
|
|
66
|
+
label(): string;
|
|
67
|
+
}
|
|
68
|
+
export declare class DataElementReferenceState extends EmbeddedDataState {
|
|
69
|
+
embeddedData: DataElementReference;
|
|
70
|
+
embeddedDataValueState: EmbeddedDataState;
|
|
71
|
+
constructor(editorStore: EditorStore, embeddedData: DataElementReference);
|
|
72
|
+
label(): string;
|
|
73
|
+
setDataElement(dataElement: DataElement): void;
|
|
74
|
+
buildValueState(): EmbeddedDataState;
|
|
75
|
+
}
|
|
76
|
+
export declare class UnsupportedDataState extends EmbeddedDataState {
|
|
77
|
+
label(): string;
|
|
78
|
+
}
|
|
79
|
+
export declare function buildEmbeddedDataEditorState(_embeddedData: EmbeddedData, editorStore: EditorStore): EmbeddedDataState;
|
|
80
|
+
//# sourceMappingURL=EmbeddedDataState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbeddedDataState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EACL,KAAK,YAAY,EAEjB,KAAK,WAAW,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAc3D,eAAO,MAAM,kBAAkB,SACvB,MAAM,eACC,WAAW,KACvB,YAuCF,CAAC;AAEF,8BAAsB,iBAAiB;IACrC,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;gBAEf,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY;IAKhE,QAAQ,CAAC,KAAK,IAAI,MAAM;CACzB;AAED,qBAAa,uBAAwB,SAAQ,iBAAiB;IACnD,YAAY,EAAE,kBAAkB,CAAC;gBAE9B,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,kBAAkB;IAQtE,KAAK,IAAI,MAAM;IAIf,IAAI,kBAAkB,IAAI,OAAO,CAEhC;IAED,MAAM,IAAI,IAAI;CAMf;AAED,qBAAa,mBAAoB,SAAQ,iBAAiB;IAC/C,YAAY,EAAE,cAAc,CAAC;gBAE1B,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,cAAc;IAKlE,KAAK,IAAI,MAAM;CAGhB;AAED,qBAAa,2BAA2B;IACtC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,KAAK,EAAE,sBAAsB,CAAC;gBAClB,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,WAAW;IA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