@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,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
export declare const WorkspaceReviewDiffs: (() => JSX.Element) & {
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const WorkspaceReview: (() => JSX.Element) & {
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=WorkspaceReview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceReview.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceReview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA+BH,eAAO,MAAM,oBAAoB;;CAkD/B,CAAC;AAEH,eAAO,MAAM,eAAe;;CAmP1B,CAAC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { useRef, useEffect } from 'react';
|
|
18
|
+
import { observer } from 'mobx-react-lite';
|
|
19
|
+
import { Link } from 'react-router-dom';
|
|
20
|
+
import { EntityDiffViewState } from '../../../stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js';
|
|
21
|
+
import { EntityDiffSideBarItem } from '../../editor/edit-panel/diff-editor/EntityDiffView.js';
|
|
22
|
+
import { clsx, PanelLoadingIndicator, TruncatedGitMergeIcon, RefreshIcon, InfoCircleIcon, TimesIcon, PlusIcon, ExternalLinkSquareIcon, } from '@finos/legend-art';
|
|
23
|
+
import { ACTIVITY_MODE } from '../../../stores/EditorConfig.js';
|
|
24
|
+
import { formatDistanceToNow } from 'date-fns';
|
|
25
|
+
import { generateReviewRoute } from '../../../stores/LegendStudioRouter.js';
|
|
26
|
+
import { LEGEND_STUDIO_TEST_ID } from '../../LegendStudioTestID.js';
|
|
27
|
+
import { flowResult } from 'mobx';
|
|
28
|
+
import { entityDiffSorter } from '../../../stores/EditorSDLCState.js';
|
|
29
|
+
import { useEditorStore } from '../EditorStoreProvider.js';
|
|
30
|
+
import { ActionAlertType, ActionAlertActionType, } from '@finos/legend-application';
|
|
31
|
+
import { useLegendStudioApplicationStore } from '../../LegendStudioBaseStoreProvider.js';
|
|
32
|
+
export const WorkspaceReviewDiffs = observer(() => {
|
|
33
|
+
const editorStore = useEditorStore();
|
|
34
|
+
const workspaceReviewState = editorStore.workspaceReviewState;
|
|
35
|
+
const currentEditorState = editorStore.currentEditorState;
|
|
36
|
+
const changes = editorStore.changeDetectionState.aggregatedWorkspaceChanges;
|
|
37
|
+
const isSelectedDiff = (diff) => currentEditorState instanceof EntityDiffViewState &&
|
|
38
|
+
diff.oldPath === currentEditorState.fromEntityPath &&
|
|
39
|
+
diff.newPath === currentEditorState.toEntityPath;
|
|
40
|
+
const openChange = (diff) => () => workspaceReviewState.openReviewChange(diff);
|
|
41
|
+
return (_jsxs("div", { className: "panel side-bar__panel workspace-review__diffs", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__content", children: "CHANGES" }), _jsx("div", { className: "side-bar__panel__title__info", title: "All changes made in the workspace since the revision the workspace is created", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: changes.length })] }), _jsx("div", { className: "panel__content", children: changes
|
|
42
|
+
.slice()
|
|
43
|
+
.sort(entityDiffSorter)
|
|
44
|
+
.map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key))) })] }));
|
|
45
|
+
});
|
|
46
|
+
export const WorkspaceReview = observer(() => {
|
|
47
|
+
const editorStore = useEditorStore();
|
|
48
|
+
const applicationStore = useLegendStudioApplicationStore();
|
|
49
|
+
const workspaceReviewState = editorStore.workspaceReviewState;
|
|
50
|
+
const workspaceContainsSnapshotDependencies = editorStore.projectConfigurationEditorState.containsSnapshotDependencies;
|
|
51
|
+
const workspaceReview = workspaceReviewState.workspaceReview;
|
|
52
|
+
// Review Title
|
|
53
|
+
const reviewTitleInputRef = useRef(null);
|
|
54
|
+
const editReviewTitle = (event) => {
|
|
55
|
+
if (!workspaceReview) {
|
|
56
|
+
workspaceReviewState.setReviewTitle(event.target.value);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
const isDispatchingAction = workspaceReviewState.isCreatingWorkspaceReview ||
|
|
60
|
+
workspaceReviewState.isFetchingCurrentWorkspaceReview ||
|
|
61
|
+
workspaceReviewState.isRefreshingWorkspaceChangesDetector ||
|
|
62
|
+
workspaceReviewState.isCommittingWorkspaceReview ||
|
|
63
|
+
workspaceReviewState.isClosingWorkspaceReview ||
|
|
64
|
+
workspaceReviewState.isRecreatingWorkspaceAfterCommittingReview;
|
|
65
|
+
const refresh = () => {
|
|
66
|
+
flowResult(workspaceReviewState.refreshWorkspaceChanges()).catch(applicationStore.alertUnhandledError);
|
|
67
|
+
flowResult(workspaceReviewState.fetchCurrentWorkspaceReview()).catch(applicationStore.alertUnhandledError);
|
|
68
|
+
};
|
|
69
|
+
const closeReview = () => {
|
|
70
|
+
workspaceReviewState.setReviewTitle('');
|
|
71
|
+
flowResult(workspaceReviewState.closeWorkspaceReview()).catch(applicationStore.alertUnhandledError);
|
|
72
|
+
};
|
|
73
|
+
const commitReview = () => {
|
|
74
|
+
if (workspaceReview && !isDispatchingAction) {
|
|
75
|
+
const commit = () => {
|
|
76
|
+
workspaceReviewState.setReviewTitle('');
|
|
77
|
+
flowResult(workspaceReviewState.commitWorkspaceReview(workspaceReview)).catch(applicationStore.alertUnhandledError);
|
|
78
|
+
};
|
|
79
|
+
if (editorStore.hasUnpushedChanges) {
|
|
80
|
+
editorStore.setActionAlertInfo({
|
|
81
|
+
message: 'You have unpushed changes',
|
|
82
|
+
prompt: 'This action will discard these changes and refresh the application',
|
|
83
|
+
type: ActionAlertType.CAUTION,
|
|
84
|
+
onEnter: () => editorStore.setBlockGlobalHotkeys(true),
|
|
85
|
+
onClose: () => editorStore.setBlockGlobalHotkeys(false),
|
|
86
|
+
actions: [
|
|
87
|
+
{
|
|
88
|
+
label: 'Proceed to commit review',
|
|
89
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
90
|
+
handler: () => {
|
|
91
|
+
editorStore.setIgnoreNavigationBlocking(true);
|
|
92
|
+
commit();
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
label: 'Abort',
|
|
97
|
+
type: ActionAlertActionType.PROCEED,
|
|
98
|
+
default: true,
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
commit();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
const createReview = () => {
|
|
109
|
+
if (workspaceReviewState.reviewTitle &&
|
|
110
|
+
!workspaceReview &&
|
|
111
|
+
!isDispatchingAction) {
|
|
112
|
+
flowResult(workspaceReviewState.createWorkspaceReview(workspaceReviewState.reviewTitle)).catch(applicationStore.alertUnhandledError);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
// since the review can be changed by other people, we can refresh it more proactively
|
|
116
|
+
// the diffs are caused by the current user though, so we should handle that as part
|
|
117
|
+
// of `syncWithWorkspace` for example; in case it is bad, user can click refresh to make it right again
|
|
118
|
+
useEffect(() => {
|
|
119
|
+
flowResult(workspaceReviewState.fetchCurrentWorkspaceReview()).catch(applicationStore.alertUnhandledError);
|
|
120
|
+
}, [applicationStore, workspaceReviewState]);
|
|
121
|
+
useEffect(() => {
|
|
122
|
+
if (editorStore.activeActivity === ACTIVITY_MODE.WORKSPACE_REVIEW) {
|
|
123
|
+
reviewTitleInputRef.current?.focus();
|
|
124
|
+
}
|
|
125
|
+
}, [editorStore.activeActivity]);
|
|
126
|
+
return (_jsxs("div", { className: "panel workspace-review", children: [_jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title workspace-review__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "REVIEW" }) }), _jsxs("div", { className: "panel__header__actions side-bar__header__actions", children: [_jsx("button", { className: clsx('panel__header__action side-bar__header__action workspace-review__refresh-btn', {
|
|
127
|
+
'workspace-review__refresh-btn--loading': workspaceReviewState.isRefreshingWorkspaceChangesDetector,
|
|
128
|
+
}), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children: _jsx(RefreshIcon, {}) }), _jsx("button", { className: "panel__header__action side-bar__header__action workspace-review__close-btn", disabled: !workspaceReview || isDispatchingAction, onClick: closeReview, tabIndex: -1, title: "Close review", children: _jsx(TimesIcon, {}) })] })] }), _jsxs("div", { className: "panel__content side-bar__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isDispatchingAction }), _jsxs("div", { className: "panel workspace-review", children: [!workspaceReview && (_jsx(_Fragment, { children: _jsxs("form", { className: "workspace-review__title", onSubmit: (e) => {
|
|
129
|
+
e.preventDefault();
|
|
130
|
+
}, children: [_jsx("div", { className: "workspace-review__title__content", children: _jsx("input", { className: "workspace-review__title__content__input input--dark", ref: reviewTitleInputRef, spellCheck: false, value: workspaceReviewState.reviewTitle, disabled: Boolean(workspaceReview), onChange: editReviewTitle, placeholder: 'Title' }) }), _jsx("button", { className: clsx('btn--dark btn--sm', {
|
|
131
|
+
'btn--error': workspaceContainsSnapshotDependencies,
|
|
132
|
+
}), onClick: createReview, disabled: isDispatchingAction ||
|
|
133
|
+
Boolean(workspaceReview) ||
|
|
134
|
+
!workspaceReviewState.reviewTitle ||
|
|
135
|
+
workspaceContainsSnapshotDependencies, title: !workspaceContainsSnapshotDependencies
|
|
136
|
+
? 'Create review'
|
|
137
|
+
: `Can't create review: workspace has snapshot dependencies`, children: _jsx(PlusIcon, {}) })] }) })), workspaceReview && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "workspace-review__title", children: [_jsx("div", { className: "workspace-review__title__content", children: _jsx("div", { className: "workspace-review__title__content__input workspace-review__title__content__input--with-link", title: 'See review detail', children: _jsxs(Link, { className: "workspace-review__title__content__input__link", rel: "noopener noreferrer", target: "_blank", to: generateReviewRoute(workspaceReview.projectId, workspaceReview.id), children: [_jsx("span", { className: "workspace-review__title__content__input__link__review-name", children: workspaceReview.title }), _jsx("div", { className: "workspace-review__title__content__input__link__btn", children: _jsx(ExternalLinkSquareIcon, {}) })] }) }) }), _jsx("button", { className: clsx('btn--dark btn--sm workspace-review__merge-review-btn', { 'btn--error': workspaceContainsSnapshotDependencies }), onClick: commitReview, disabled: isDispatchingAction ||
|
|
138
|
+
Boolean(!workspaceReview) ||
|
|
139
|
+
workspaceContainsSnapshotDependencies, tabIndex: -1, title: !workspaceContainsSnapshotDependencies
|
|
140
|
+
? 'Commit review'
|
|
141
|
+
: `Can't commit review: workspace has snapshot dependencies`, children: _jsx(TruncatedGitMergeIcon, {}) })] }), _jsxs("div", { className: "workspace-review__title__content__review-status", children: ["created", ' ', formatDistanceToNow(workspaceReview.createdAt, {
|
|
142
|
+
includeSeconds: true,
|
|
143
|
+
addSuffix: true,
|
|
144
|
+
})] })] })), _jsx(WorkspaceReviewDiffs, {})] })] })] }));
|
|
145
|
+
});
|
|
146
|
+
//# sourceMappingURL=WorkspaceReview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceReview.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceReview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8EAA8E,CAAC;AACnH,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAC9F,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,qBAAqB,EACrB,WAAW,EACX,cAAc,EACd,SAAS,EACT,QAAQ,EACR,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,OAAO,E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B,MAAC,IAAI,IACH,SAAS,EAAC,+CAA+C,EACzD,GAAG,EAAC,qBAAqB,EACzB,MAAM,EAAC,QAAQ,EACf,EAAE,EAAE,mBAAmB,CACrB,eAAe,CAAC,SAAS,EACzB,eAAe,CAAC,EAAE,CACnB,aAED,eAAM,SAAS,EAAC,4DAA4D,YACzE,eAAe,CAAC,KAAK,GACjB,EACP,cAAK,SAAS,EAAC,oDAAoD,YACjE,KAAC,sBAAsB,KAAG,GACtB,IACD,GACH,GACF,EACN,iBACE,SAAS,EAAE,IAAI,CACb,sDAAsD,EACtD,EAAE,YAAY,EAAE,qCAAqC,EAAE,CACxD,EACD,OAAO,EAAE,YAAY,EACrB,QAAQ,EACN,mBAAmB;oDACnB,OAAO,CAAC,CAAC,eAAe,CAAC;oDACzB,qCAAqC,EAEvC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EACH,CAAC,qCAAqC;oDACpC,CAAC,CAAC,eAAe;oDACjB,CAAC,CAAC,0DAA0D,YAGhE,KAAC,qBAAqB,KAAG,GAClB,IACL,EACN,eAAK,SAAS,EAAC,iDAAiD,wBACtD,GAAG,EACV,mBAAmB,CAAC,eAAe,CAAC,SAAS,EAAE;gDAC9C,cAAc,EAAE,IAAI;gDACpB,SAAS,EAAE,IAAI;6CAChB,CAAC,IACE,IACL,CACJ,EACD,KAAC,oBAAoB,KAAG,IACpB,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
export declare const WorkspaceSyncConflictResolver: (() => JSX.Element) & {
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=WorkspaceSyncConflictResolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceSyncConflictResolver.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,eAAO,MAAM,6BAA6B;;CAmOxC,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { observer } from 'mobx-react-lite';
|
|
18
|
+
import { useEditorStore } from '../EditorStoreProvider.js';
|
|
19
|
+
import { noop } from '@finos/legend-shared';
|
|
20
|
+
import { clsx, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanelSplitterLine, InfoCircleIcon, TimesIcon, Dialog, } from '@finos/legend-art';
|
|
21
|
+
import { EntityChangeConflictEditor, EntityChangeConflictSideBarItem, } from '../edit-panel/diff-editor/EntityChangeConflictEditor.js';
|
|
22
|
+
import { EntityChangeConflictEditorState } from '../../../stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js';
|
|
23
|
+
import { EntityDiffSideBarItem, EntityDiffView, } from '../edit-panel/diff-editor/EntityDiffView.js';
|
|
24
|
+
import { EntityDiffViewState } from '../../../stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js';
|
|
25
|
+
import { entityDiffSorter } from '../../../stores/EditorSDLCState.js';
|
|
26
|
+
import { flowResult } from 'mobx';
|
|
27
|
+
import { useApplicationStore } from '@finos/legend-application';
|
|
28
|
+
export const WorkspaceSyncConflictResolver = observer(() => {
|
|
29
|
+
const editorStore = useEditorStore();
|
|
30
|
+
const applicationStore = useApplicationStore();
|
|
31
|
+
const updateState = editorStore.localChangesState.workspaceSyncState;
|
|
32
|
+
const updateConflictState = updateState.workspaceSyncConflictResolutionState;
|
|
33
|
+
const currentDiffEditorState = updateConflictState.currentDiffEditorState;
|
|
34
|
+
const openMergedEditorStates = updateConflictState.openMergedEditorStates;
|
|
35
|
+
const conflicts = updateConflictState.pendingConflicts;
|
|
36
|
+
const hadResolvedAllConflicts = !conflicts.length;
|
|
37
|
+
const changes = updateConflictState.changes;
|
|
38
|
+
const openConflict = (conflict) => () => {
|
|
39
|
+
updateConflictState.openConflict(conflict);
|
|
40
|
+
};
|
|
41
|
+
const isSelectedConflict = (conflict) => currentDiffEditorState instanceof EntityChangeConflictEditorState &&
|
|
42
|
+
conflict.entityPath === currentDiffEditorState.entityPath;
|
|
43
|
+
const closeTabOnMiddleClick = (conflictState) => (event) => {
|
|
44
|
+
if (event.nativeEvent.button === 1) {
|
|
45
|
+
updateConflictState.closeConflict(conflictState);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const closeTab = (conflictState) => (event) => updateConflictState.closeConflict(conflictState);
|
|
49
|
+
const openTab = (conflictState) => () => updateConflictState.openState(conflictState);
|
|
50
|
+
const isSelectedDiff = (diff) => currentDiffEditorState instanceof EntityDiffViewState &&
|
|
51
|
+
diff.oldPath === currentDiffEditorState.fromEntityPath &&
|
|
52
|
+
diff.newPath === currentDiffEditorState.toEntityPath;
|
|
53
|
+
const openChange = (diff) => () => {
|
|
54
|
+
updateConflictState.openConflictResolutionChange(diff);
|
|
55
|
+
};
|
|
56
|
+
const applyResolutions = () => {
|
|
57
|
+
if (!conflicts.length) {
|
|
58
|
+
flowResult(updateState.applyResolutionChanges()).catch(applicationStore.alertUnhandledError);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const abort = () => updateState.resetConflictState();
|
|
62
|
+
return (_jsx(Dialog, { open: updateConflictState.showModal, onClose: noop, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("div", { className: "modal modal--dark editor-modal query-builder__dialog", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: "Resolve Merge Conflicts" }) }), _jsx("div", { className: "modal__body", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 350, minSize: 350, children: _jsxs("div", { className: "panel explorer", children: [_jsx("div", { className: "panel__header workspace-sync-conflict-resolver__changes__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__content workspace-sync-conflict-resolver__changes__header__title__content", children: "All Changes" }) }) }), _jsx("div", { className: "panel__content explorer__content__container", children: _jsx(ResizablePanelGroup, { orientation: "horizontal", children: _jsxs("div", { className: "panel workspace-sync-conflict-resolver__changes__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__content", children: "CHANGES" }), _jsx("div", { className: "workspace-sync-conflict-resolver__changes__panel__title__info", title: "All local changes that have not been yet pushed with the server", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "workspace-sync-conflict-resolver__changes__panel__header__changes-count", children: changes.length + conflicts.length })] }), _jsxs("div", { className: "panel__content", children: [!hadResolvedAllConflicts && (_jsxs(_Fragment, { children: [conflicts
|
|
63
|
+
.slice()
|
|
64
|
+
.sort((a, b) => a.entityName.localeCompare(b.entityName))
|
|
65
|
+
.map((conflict) => (_jsx(EntityChangeConflictSideBarItem, { conflict: conflict, isSelected: isSelectedConflict(conflict), openConflict: openConflict(conflict) }, `conflict-${conflict.entityPath}`))), Boolean(conflicts.length) &&
|
|
66
|
+
Boolean(changes.length) && (_jsx("div", { className: "diff-panel__item-section-separator" })), changes
|
|
67
|
+
.slice()
|
|
68
|
+
.sort(entityDiffSorter)
|
|
69
|
+
.map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key)))] })), hadResolvedAllConflicts &&
|
|
70
|
+
changes
|
|
71
|
+
.slice()
|
|
72
|
+
.sort(entityDiffSorter)
|
|
73
|
+
.map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key)))] })] }) }) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsxs("div", { className: "workspace-sync-conflict-resolver", children: [_jsx("div", { className: "workspace-sync-conflict-resolver__header", children: _jsx("div", { className: "workspace-sync-conflict-resolver__header__tabs", children: openMergedEditorStates.map((mergedState) => (_jsx("div", { className: clsx('workspace-sync-conflict-resolver__header__tab', {
|
|
74
|
+
'workspace-sync-conflict-resolver__header__tab--active': mergedState === currentDiffEditorState,
|
|
75
|
+
}), onMouseUp: closeTabOnMiddleClick(mergedState), children: _jsxs("div", { className: "edit-panel__header__tab__content", children: [_jsx("button", { className: "workspace-sync-conflict-resolver__header__tab__label", tabIndex: -1, onClick: openTab(mergedState), title: mergedState.headerName, children: mergedState.headerName }), _jsx("button", { className: "workspace-sync-conflict-resolver__header__tab__close-btn", onClick: closeTab(mergedState), tabIndex: -1, title: 'Close', children: _jsx(TimesIcon, {}) })] }) }, mergedState.uuid))) }) }), _jsxs("div", { className: "panel__content", children: [updateConflictState.currentDiffEditorState instanceof
|
|
76
|
+
EntityChangeConflictEditorState && (_jsx(EntityChangeConflictEditor, { conflictEditorState: updateConflictState.currentDiffEditorState })), updateConflictState.currentDiffEditorState instanceof
|
|
77
|
+
EntityDiffViewState && (_jsx(EntityDiffView, { entityDiffViewState: updateConflictState.currentDiffEditorState }))] })] }) })] }) }), _jsxs("div", { className: "modal__footer", children: [_jsx("button", { type: "button", className: "btn btn--primary btn--dark", disabled: Boolean(conflicts.length), title: "Apply Resolutions", onClick: applyResolutions, children: "Apply Resolutions" }), _jsx("button", { type: "button", title: "Aborts", className: "btn btn--dark", onClick: abort, children: "Abort" })] })] }) }));
|
|
78
|
+
});
|
|
79
|
+
//# sourceMappingURL=WorkspaceSyncConflictResolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceSyncConflictResolver.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EACL,IAAI,EACJ,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,MAAM,GACP,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EAAE,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C,CAAC,EACZ,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,EAC7B,KAAK,EAAE,WAAW,CAAC,UAAU,YAE5B,WAAW,CAAC,UAAU,GAChB,EACT,iBACE,SAAS,EAAC,0DAA0D,EACpE,OAAO,EAAE,QAAQ,CAAC,WAAW,CAAC,EAC9B,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,OAAO,YAEd,KAAC,SAAS,KAAG,GACN,IACL,IA3BD,WAAW,CAAC,IAAI,CA4BjB,CACP,CAAC,GACE,GACF,EACN,eAAK,SAAS,EAAC,gBAAgB,aAC5B,mBAAmB,CAAC,sBAAsB;oDACzC,+BAA+B,IAAI,CACnC,KAAC,0BAA0B,IACzB,mBAAmB,EACjB,mBAAmB,CAAC,sBAAsB,GAE5C,CACH,EACA,mBAAmB,CAAC,sBAAsB;oDACzC,mBAAmB,IAAI,CACvB,KAAC,cAAc,IACb,mBAAmB,EACjB,mBAAmB,CAAC,sBAAsB,GAE5C,CACH,IACG,IACF,GACS,IACG,GAClB,EACN,eAAK,SAAS,EAAC,eAAe,aAC5B,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,4BAA4B,EACtC,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,EACnC,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,gBAAgB,kCAGlB,EACT,iBACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,QAAQ,EACd,SAAS,EAAC,eAAe,EACzB,OAAO,EAAE,KAAK,sBAGP,IACL,IACF,GACC,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
export declare const WorkspaceUpdateConflictResolver: (() => JSX.Element) & {
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=WorkspaceUpdateConflictResolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceUpdateConflictResolver.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAyBH,eAAO,MAAM,+BAA+B;;CAsK1C,CAAC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { observer } from 'mobx-react-lite';
|
|
18
|
+
import { EntityDiffViewState } from '../../../stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js';
|
|
19
|
+
import { EntityDiffSideBarItem } from '../edit-panel/diff-editor/EntityDiffView.js';
|
|
20
|
+
import { PanelLoadingIndicator, CloudDownloadIcon, CheckIcon, TimesIcon, InfoCircleIcon, BanIcon, } from '@finos/legend-art';
|
|
21
|
+
import { EntityChangeConflictSideBarItem } from '../edit-panel/diff-editor/EntityChangeConflictEditor.js';
|
|
22
|
+
import { EntityChangeConflictEditorState } from '../../../stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js';
|
|
23
|
+
import { LEGEND_STUDIO_TEST_ID } from '../../LegendStudioTestID.js';
|
|
24
|
+
import { flowResult } from 'mobx';
|
|
25
|
+
import { entityDiffSorter } from '../../../stores/EditorSDLCState.js';
|
|
26
|
+
import { useEditorStore } from '../EditorStoreProvider.js';
|
|
27
|
+
import { useApplicationStore } from '@finos/legend-application';
|
|
28
|
+
export const WorkspaceUpdateConflictResolver = observer(() => {
|
|
29
|
+
const editorStore = useEditorStore();
|
|
30
|
+
const applicationStore = useApplicationStore();
|
|
31
|
+
const sdlcState = editorStore.sdlcState;
|
|
32
|
+
const currentEditorState = editorStore.currentEditorState;
|
|
33
|
+
const conflictResolutionState = editorStore.conflictResolutionState;
|
|
34
|
+
// Actions
|
|
35
|
+
const isRunningTask = editorStore.workspaceUpdaterState.isUpdatingWorkspace ||
|
|
36
|
+
conflictResolutionState.isInitializingConflictResolution ||
|
|
37
|
+
conflictResolutionState.isAcceptingConflictResolution ||
|
|
38
|
+
conflictResolutionState.isDiscardingConflictResolutionChanges ||
|
|
39
|
+
conflictResolutionState.isAbortingConflictResolution;
|
|
40
|
+
const updateWorkspace = applicationStore.guardUnhandledError(() => flowResult(editorStore.workspaceUpdaterState.updateWorkspace()));
|
|
41
|
+
const accept = applicationStore.guardUnhandledError(() => flowResult(conflictResolutionState.acceptConflictResolution()));
|
|
42
|
+
const discardChanges = applicationStore.guardUnhandledError(() => flowResult(conflictResolutionState.discardConflictResolutionChanges()));
|
|
43
|
+
const abort = applicationStore.guardUnhandledError(() => flowResult(conflictResolutionState.abortConflictResolution()));
|
|
44
|
+
// Conflicts
|
|
45
|
+
const conflicts = conflictResolutionState.conflicts;
|
|
46
|
+
const isSelectedConflict = (conflict) => currentEditorState instanceof EntityChangeConflictEditorState &&
|
|
47
|
+
conflict.entityPath === currentEditorState.entityPath;
|
|
48
|
+
const openConflict = (conflict) => () => conflictResolutionState.openConflict(conflict);
|
|
49
|
+
// Changes
|
|
50
|
+
const changes = conflictResolutionState.changes;
|
|
51
|
+
const openChange = (diff) => () => conflictResolutionState.openConflictResolutionChange(diff);
|
|
52
|
+
const isSelectedDiff = (diff) => currentEditorState instanceof EntityDiffViewState &&
|
|
53
|
+
diff.oldPath === currentEditorState.fromEntityPath &&
|
|
54
|
+
diff.newPath === currentEditorState.toEntityPath;
|
|
55
|
+
return (_jsxs("div", { className: "panel conflict-resolution", children: [_jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title conflict-resolution__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "CONFLICT RESOLUTION" }) }), _jsxs("div", { className: "panel__header__actions side-bar__header__actions", children: [_jsx("button", { className: "panel__header__action side-bar__header__action conflict-resolution__update-btn", onClick: updateWorkspace, disabled: !sdlcState.isWorkspaceOutdated || isRunningTask, tabIndex: -1, title: "Update workspace", children: _jsx(CloudDownloadIcon, {}) }), _jsx("button", { className: "panel__header__action side-bar__header__action", onClick: accept, disabled: !conflictResolutionState.hasResolvedAllConflicts || isRunningTask, tabIndex: -1, title: "Accept resolution", children: _jsx(CheckIcon, {}) }), _jsx("button", { className: "panel__header__action side-bar__header__action", onClick: discardChanges, disabled: isRunningTask, tabIndex: -1, title: "Discard all changes made in the workspace", children: _jsx(TimesIcon, {}) }), _jsx("button", { className: "panel__header__action side-bar__header__action", onClick: abort, disabled: isRunningTask, tabIndex: -1, title: "Abort conflict resolution", children: _jsx(BanIcon, {}) })] })] }), _jsxs("div", { className: "panel__content side-bar__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isRunningTask }), _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__content", children: "CHANGES" }), _jsx("div", { className: "side-bar__panel__title__info", title: "All changes made in the workspace applied on top of the project revision the workspace is updated to", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: changes.length +
|
|
56
|
+
(conflictResolutionState.hasResolvedAllConflicts
|
|
57
|
+
? 0
|
|
58
|
+
: conflicts.length) })] }), _jsxs("div", { className: "panel__content", children: [!conflictResolutionState.hasResolvedAllConflicts && (_jsxs(_Fragment, { children: [conflicts
|
|
59
|
+
.slice()
|
|
60
|
+
.sort((a, b) => a.entityName.localeCompare(b.entityName))
|
|
61
|
+
.map((conflict) => (_jsx(EntityChangeConflictSideBarItem, { conflict: conflict, isSelected: isSelectedConflict(conflict), openConflict: openConflict(conflict) }, `conflict-${conflict.entityPath}`))), Boolean(conflicts.length) && Boolean(changes.length) && (_jsx("div", { className: "diff-panel__item-section-separator" })), changes
|
|
62
|
+
.slice()
|
|
63
|
+
.sort(entityDiffSorter)
|
|
64
|
+
.map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key)))] })), conflictResolutionState.hasResolvedAllConflicts &&
|
|
65
|
+
changes
|
|
66
|
+
.slice()
|
|
67
|
+
.sort(entityDiffSorter)
|
|
68
|
+
.map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key)))] })] })] })] }));
|
|
69
|
+
});
|
|
70
|
+
//# sourceMappingURL=WorkspaceUpdateConflictResolver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceUpdateConflictResolver.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,8EAA8E,CAAC;AACnH,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,SAAS,EACT,SAAS,EACT,cAAc,EACd,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,+BAA+B,EAAE,MAAM,yDAAyD,CAAC;AAC1G,OAAO,EAAE,+BAA+B,EAAE,MAAM,0FAA0F,CAAC;AAC3I,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAKlC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,CAAC,MAAM,+BAA+B,GAAG,QAAQ,CAAC,GAAG,EAAE;IAC3D,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;IACxC,MAAM,kBAAkB,GAAG,WAAW,CAAC,kBAAkB,CAAC;IAC1D,MAAM,uBAAuB,GAAG,WAAW,CAAC,uBAAuB,CAAC;IACpE,UAAU;IACV,MAAM,aAAa,GACjB,WAAW,CAAC,qBAAqB,CAAC,mBAAmB;QACrD,uBAAuB,CAAC,gCAA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,uBAAuB;wCAC9C,OAAO;6CACJ,KAAK,EAAE;6CACP,IAAI,CAAC,gBAAgB,CAAC;6CACtB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACb,KAAC,qBAAqB,IAEpB,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,cAAc,CAAC,IAAI,CAAC,EAChC,QAAQ,EAAE,UAAU,CAAC,IAAI,CAAC,IAHrB,IAAI,CAAC,GAAG,CAIb,CACH,CAAC,IACF,IACF,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
export declare const WorkspaceUpdater: (() => JSX.Element) & {
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=WorkspaceUpdater.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceUpdater.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceUpdater.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAmCH,eAAO,MAAM,gBAAgB;;CAqO3B,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { useEffect } from 'react';
|
|
18
|
+
import { observer } from 'mobx-react-lite';
|
|
19
|
+
import { EntityDiffViewState } from '../../../stores/editor-state/entity-diff-editor-state/EntityDiffViewState.js';
|
|
20
|
+
import { EntityDiffSideBarItem } from '../../editor/edit-panel/diff-editor/EntityDiffView.js';
|
|
21
|
+
import { clsx, PanelLoadingIndicator, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanelSplitterLine, CloudDownloadIcon, RefreshIcon, InfoCircleIcon, } from '@finos/legend-art';
|
|
22
|
+
import { Link } from 'react-router-dom';
|
|
23
|
+
import { EntityChangeConflictSideBarItem } from '../../editor/edit-panel/diff-editor/EntityChangeConflictEditor.js';
|
|
24
|
+
import { EntityChangeConflictEditorState } from '../../../stores/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js';
|
|
25
|
+
import { generateReviewRoute } from '../../../stores/LegendStudioRouter.js';
|
|
26
|
+
import { LEGEND_STUDIO_TEST_ID } from '../../LegendStudioTestID.js';
|
|
27
|
+
import { flowResult } from 'mobx';
|
|
28
|
+
import { entityDiffSorter } from '../../../stores/EditorSDLCState.js';
|
|
29
|
+
import { useEditorStore } from '../EditorStoreProvider.js';
|
|
30
|
+
import { ActionAlertType, ActionAlertActionType, } from '@finos/legend-application';
|
|
31
|
+
import { useLegendStudioApplicationStore } from '../../LegendStudioBaseStoreProvider.js';
|
|
32
|
+
export const WorkspaceUpdater = observer(() => {
|
|
33
|
+
const editorStore = useEditorStore();
|
|
34
|
+
const applicationStore = useLegendStudioApplicationStore();
|
|
35
|
+
const sdlcState = editorStore.sdlcState;
|
|
36
|
+
const currentEditorState = editorStore.currentEditorState;
|
|
37
|
+
const workspaceUpdaterState = editorStore.workspaceUpdaterState;
|
|
38
|
+
// Actions
|
|
39
|
+
const updateWorkspace = () => {
|
|
40
|
+
if (editorStore.hasUnpushedChanges) {
|
|
41
|
+
editorStore.setActionAlertInfo({
|
|
42
|
+
message: 'You have unpushed changes',
|
|
43
|
+
prompt: 'This action will discard these changes and refresh the application',
|
|
44
|
+
type: ActionAlertType.CAUTION,
|
|
45
|
+
onEnter: () => editorStore.setBlockGlobalHotkeys(true),
|
|
46
|
+
onClose: () => editorStore.setBlockGlobalHotkeys(false),
|
|
47
|
+
actions: [
|
|
48
|
+
{
|
|
49
|
+
label: 'Proceed to update workspace',
|
|
50
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
51
|
+
handler: () => {
|
|
52
|
+
editorStore.setIgnoreNavigationBlocking(true);
|
|
53
|
+
flowResult(workspaceUpdaterState.updateWorkspace()).catch(applicationStore.alertUnhandledError);
|
|
54
|
+
},
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
label: 'Abort',
|
|
58
|
+
type: ActionAlertActionType.PROCEED,
|
|
59
|
+
default: true,
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
flowResult(workspaceUpdaterState.updateWorkspace()).catch(applicationStore.alertUnhandledError);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
const refreshWorkspaceUpdater = applicationStore.guardUnhandledError(() => flowResult(workspaceUpdaterState.refreshWorkspaceUpdater()));
|
|
69
|
+
const isDispatchingAction = workspaceUpdaterState.isUpdatingWorkspace ||
|
|
70
|
+
sdlcState.isCheckingIfWorkspaceIsOutdated ||
|
|
71
|
+
workspaceUpdaterState.isRefreshingWorkspaceUpdater;
|
|
72
|
+
// Conflicts
|
|
73
|
+
const conflicts = editorStore.changeDetectionState.potentialWorkspaceUpdateConflicts;
|
|
74
|
+
const isSelectedConflict = (conflict) => currentEditorState instanceof EntityChangeConflictEditorState &&
|
|
75
|
+
conflict.entityPath === currentEditorState.entityPath;
|
|
76
|
+
const openPotentialConflict = (conflict) => () => workspaceUpdaterState.openPotentialWorkspaceUpdateConflict(conflict);
|
|
77
|
+
// Changes
|
|
78
|
+
const changes = editorStore.changeDetectionState.aggregatedProjectLatestChanges;
|
|
79
|
+
const changesWithoutConflicts = changes.filter((change) => !conflicts
|
|
80
|
+
.map((conflict) => conflict.entityPath)
|
|
81
|
+
.includes(change.entityPath));
|
|
82
|
+
const isSelectedDiff = (diff) => currentEditorState instanceof EntityDiffViewState &&
|
|
83
|
+
diff.oldPath === currentEditorState.fromEntityPath &&
|
|
84
|
+
diff.newPath === currentEditorState.toEntityPath;
|
|
85
|
+
const openChange = (diff) => () => workspaceUpdaterState.openProjectLatestChange(diff);
|
|
86
|
+
// Committed Reviews
|
|
87
|
+
const commitedReviews = workspaceUpdaterState.committedReviewsBetweenWorkspaceBaseAndProjectLatest;
|
|
88
|
+
// since the project latest changes can be affected by other users, we refresh it more proactively
|
|
89
|
+
useEffect(() => {
|
|
90
|
+
flowResult(workspaceUpdaterState.refreshWorkspaceUpdater()).catch(applicationStore.alertUnhandledError);
|
|
91
|
+
}, [applicationStore, workspaceUpdaterState]);
|
|
92
|
+
return (_jsxs("div", { className: "panel workspace-updater", children: [_jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title workspace-updater__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "WORKSPACE UPDATER" }) }), _jsxs("div", { className: "panel__header__actions side-bar__header__actions", children: [_jsx("button", { className: clsx('panel__header__action side-bar__header__action workspace-updater__refresh-btn', {
|
|
93
|
+
'workspace-updater__refresh-btn--loading': workspaceUpdaterState.isRefreshingWorkspaceUpdater,
|
|
94
|
+
}), onClick: refreshWorkspaceUpdater, disabled: isDispatchingAction, tabIndex: -1, title: "Refresh", children: _jsx(RefreshIcon, {}) }), _jsx("button", { className: "panel__header__action side-bar__header__action workspace-updater__update-btn", onClick: updateWorkspace, disabled: !sdlcState.isWorkspaceOutdated || isDispatchingAction, tabIndex: -1, title: "Update workspace", children: _jsx(CloudDownloadIcon, {}) })] })] }), _jsxs("div", { className: "panel__content side-bar__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isDispatchingAction }), _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { size: 400, minSize: 28, children: _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__content", children: "CHANGES" }), _jsx("div", { className: "side-bar__panel__title__info", title: 'All changes made to project since the revision the workspace is created.\nPotential workspace update conflicts are also shown if they exist', children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: changes.length })] }), _jsxs("div", { className: "panel__content", children: [conflicts
|
|
95
|
+
.slice()
|
|
96
|
+
.sort((a, b) => a.entityName.localeCompare(b.entityName))
|
|
97
|
+
.map((conflict) => (_jsx(EntityChangeConflictSideBarItem, { conflict: conflict, isSelected: isSelectedConflict(conflict), openConflict: openPotentialConflict(conflict) }, `conflict-${conflict.entityPath}`))), Boolean(conflicts.length) &&
|
|
98
|
+
Boolean(changesWithoutConflicts.length) && (_jsx("div", { className: "diff-panel__item-section-separator" })), changesWithoutConflicts
|
|
99
|
+
.slice()
|
|
100
|
+
.sort(entityDiffSorter)
|
|
101
|
+
.map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key)))] })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-100)" }) }), _jsx(ResizablePanel, { minSize: 28, children: _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__content", children: "COMMITTED REVIEWS" }), _jsx("div", { className: "side-bar__panel__title__info", title: "All committed reviews in the project since the revision the workspace is created", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: commitedReviews.length })] }), _jsx("div", { className: "panel__content", children: commitedReviews.map((review) => (_jsx(Link, { className: "side-bar__panel__item workspace-updater__review__link", rel: "noopener noreferrer", target: "_blank", to: generateReviewRoute(review.projectId, review.id), title: 'See review detail', children: _jsxs("div", { className: "workspace-updater__review", children: [_jsx("span", { className: "workspace-updater__review__name", children: review.title }), _jsx("span", { className: "workspace-updater__review__info", children: review.author.name })] }) }, review.id))) })] }) })] })] })] }));
|
|
102
|
+
});
|
|
103
|
+
//# sourceMappingURL=WorkspaceUpdater.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkspaceUpdater.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkspaceUpdater.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,8EAA8E,CAAC;AACnH,OAAO,EAAE,qBAAqB,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,CAAC,EAAE,CAAC,EACpD,KAAK,EAAE,mBAAmB,YAE1B,eAAK,SAAS,EAAC,2BAA2B,aACxC,eAAM,SAAS,EAAC,iCAAiC,YAC9C,MAAM,CAAC,KAAK,GACR,EACP,eAAM,SAAS,EAAC,iCAAiC,YAC9C,MAAM,CAAC,MAAM,CAAC,IAAI,GACd,IACH,IAdD,MAAM,CAAC,EAAE,CAeT,CACR,CAAC,GACE,IACF,GACS,IACG,IAClB,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
import { type GlobalTestRunnerState, TESTABLE_RESULT } from '../../../../stores/sidebar-state/testable/GlobalTestRunnerState.js';
|
|
18
|
+
export declare const getTestableResultIcon: (testableResult: TESTABLE_RESULT) => React.ReactNode;
|
|
19
|
+
export declare const GlobalTestRunner: ((props: {
|
|
20
|
+
globalTestRunnerState: GlobalTestRunnerState;
|
|
21
|
+
}) => JSX.Element) & {
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=GlobalTestRunner.d.ts.map
|