@finos/legend-application-studio 28.17.10 → 28.17.11
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendStudio.js +2 -3
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/ElementIconUtils.js +23 -24
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +7 -8
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioFrameworkProvider.js +3 -4
- package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts +2 -2
- package/lib/components/LegendStudioWebApplication.js +13 -14
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/ShowcaseManager.d.ts +1 -1
- package/lib/components/ShowcaseManager.js +29 -30
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.js +27 -28
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +8 -9
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +3 -4
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +5 -6
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts +1 -1
- package/lib/components/editor/QuickInput.js +5 -6
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -1
- package/lib/components/editor/StatusBar.js +11 -12
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +2 -3
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +4 -5
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +2 -3
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.d.ts +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +39 -40
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +11 -12
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +4 -5
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +14 -15
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js +14 -15
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -4
- package/lib/components/editor/editor-group/RuntimeEditor.js +29 -30
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js +3 -4
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +9 -10
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +10 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +10 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +3 -3
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +5 -6
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +13 -14
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js +2 -3
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +54 -55
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +7 -8
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +6 -7
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +5 -5
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +17 -18
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +9 -10
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +5 -6
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +10 -11
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +5 -6
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +2 -3
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js +5 -6
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +2 -3
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +6 -7
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +26 -27
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +12 -13
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +6 -6
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +16 -17
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +10 -11
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +2 -3
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +2 -3
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +15 -16
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +5 -6
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +38 -39
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +12 -13
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js +3 -4
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +5 -6
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +32 -33
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +10 -11
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +6 -7
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +7 -8
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +5 -6
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +19 -20
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +24 -25
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +29 -30
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js +14 -15
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +9 -10
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts +8 -8
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +21 -22
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +10 -11
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +21 -22
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +26 -27
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +10 -11
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js +5 -6
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +24 -25
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +32 -33
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +10 -11
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js +12 -13
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +11 -12
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +7 -7
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +29 -30
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +5 -6
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +22 -23
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +5 -5
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +30 -31
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +30 -31
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +10 -11
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +6 -7
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js +6 -7
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js +9 -10
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js +2 -3
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.js +2 -3
- package/lib/components/editor/panel-group/ConsolePanel.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +6 -7
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/panel-group/PanelGroup.d.ts +1 -1
- package/lib/components/editor/panel-group/PanelGroup.js +5 -6
- package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.js +5 -6
- package/lib/components/editor/panel-group/ProblemsPanel.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +18 -19
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +2 -2
- package/lib/components/editor/side-bar/CreateNewElementModal.js +26 -27
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -1
- package/lib/components/editor/side-bar/Explorer.js +36 -37
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +12 -13
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js +28 -29
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +17 -18
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -1
- package/lib/components/editor/side-bar/SideBar.js +12 -13
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +27 -28
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js +8 -9
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +9 -10
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +6 -7
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +6 -7
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +6 -7
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +2 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +32 -33
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +3 -4
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +7 -8
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js +10 -11
- package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.js +7 -8
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +3 -4
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js +5 -6
- package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js +9 -10
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js +23 -24
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/project-view/ProjectViewerStoreProvider.js +3 -4
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js +19 -20
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js +3 -4
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +15 -16
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +7 -8
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +6 -7
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +2 -3
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +27 -28
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js +8 -5
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +4 -3
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js +10 -8
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -1
- package/package.json +4 -4
- package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +10 -7
- package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +2 -2
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +4 -2
- package/src/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.ts +14 -12
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/side-bar/RegisterService.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -29,39 +28,39 @@ import { useApplicationStore } from '@finos/legend-application';
|
|
29
28
|
import { CodeEditor, CODE_EDITOR_LANGUAGE, } from '@finos/legend-lego/code-editor';
|
30
29
|
export const getRegistrationStatusIcon = (isSelected, registrationResult) => {
|
31
30
|
if (registrationResult === REGISTRATION_RESULT.SUCCESS) {
|
32
|
-
return (
|
31
|
+
return (_jsx("div", { title: "Service registered successfully", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--succeeded", children: _jsx(CheckCircleIcon, {}) }));
|
33
32
|
}
|
34
33
|
else if (registrationResult === REGISTRATION_RESULT.IN_PROGRESS &&
|
35
34
|
isSelected) {
|
36
|
-
return (
|
35
|
+
return (_jsx("div", { title: "Service registration in progress", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--in-progress", children: _jsx(CircleNotchIcon, {}) }));
|
37
36
|
}
|
38
37
|
else if (registrationResult === REGISTRATION_RESULT.FAILED) {
|
39
|
-
return (
|
38
|
+
return (_jsx("div", { title: "Service Registration Failed", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--failed", children: _jsx(TimesCircleIcon, {}) }));
|
40
39
|
}
|
41
40
|
else {
|
42
|
-
return (
|
41
|
+
return (_jsx("div", { title: "Service is not registered", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--unknown", children: _jsx(EmptyCircleIcon, {}) }));
|
43
42
|
}
|
44
43
|
};
|
45
44
|
const ServiceContextMenu = observer(forwardRef(function ServiceContextMenu(props, ref) {
|
46
45
|
const { serviceState, globalServiceRegistrationState } = props;
|
47
46
|
const applicationStore = useApplicationStore();
|
48
|
-
return (
|
49
|
-
ServiceRegistrationSuccess && (
|
47
|
+
return (_jsxs(MenuContent, { children: [serviceState.registrationResult instanceof
|
48
|
+
ServiceRegistrationSuccess && (_jsx(MenuContentItem, { onClick: () => {
|
50
49
|
const config = guaranteeNonNullable(globalServiceRegistrationState.serviceConfigState.options.find((info) => info.env ===
|
51
50
|
globalServiceRegistrationState.serviceConfigState
|
52
51
|
.serviceEnv));
|
53
52
|
applicationStore.navigationService.navigator.visitAddress(generateServiceManagementUrl(config.managementUrl, serviceState.service.pattern));
|
54
|
-
}, children: "Launch Service" }
|
53
|
+
}, children: "Launch Service" })), serviceState.registrationResult instanceof ServiceRegistrationFail && (_jsx(MenuContentItem, { onClick: () => globalServiceRegistrationState.setFailingView(serviceState.registrationResult), children: "View Error" }))] }));
|
55
54
|
}));
|
56
55
|
const ServiceFailViewer = observer((props) => {
|
57
56
|
const { globalBulkServiceRegistrationState, failure } = props;
|
58
57
|
const applicationStore = globalBulkServiceRegistrationState.editorStore.applicationStore;
|
59
58
|
const closeLogViewer = () => globalBulkServiceRegistrationState.setFailingView(undefined);
|
60
|
-
return (
|
59
|
+
return (_jsx(Dialog, { open: Boolean(failure), onClose: closeLogViewer, classes: {
|
61
60
|
root: 'editor-modal__root-container',
|
62
61
|
container: 'editor-modal__container',
|
63
62
|
paper: 'editor-modal__content',
|
64
|
-
}, children:
|
63
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsx(ModalHeader, { title: guaranteeNonNullable(failure?.service).path }), _jsx(ModalBody, { children: failure instanceof ServiceRegistrationFail && (_jsx(CodeEditor, { inputValue: failure.errorMessage, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT })) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: closeLogViewer, type: "secondary" }) })] }) }));
|
65
64
|
});
|
66
65
|
export const RegisterService = observer((props) => {
|
67
66
|
const editorStore = useEditorStore();
|
@@ -84,18 +83,18 @@ export const RegisterService = observer((props) => {
|
|
84
83
|
useEffect(() => {
|
85
84
|
editorStore.globalBulkServiceRegistrationState.init();
|
86
85
|
}, [editorStore.globalBulkServiceRegistrationState]);
|
87
|
-
const serviceItems = () => (
|
88
|
-
.isServiceRegistering.isInProgress, serviceState.registrationResult)) }
|
86
|
+
const serviceItems = () => (_jsx(_Fragment, { children: editorStore.globalBulkServiceRegistrationState.bulkServiceRegistrationStates.map((serviceState) => (_jsx(ContextMenu, { content: _jsx(ServiceContextMenu, { globalServiceRegistrationState: editorStore.globalBulkServiceRegistrationState, serviceState: serviceState }), children: _jsxs("div", { className: clsx('side-bar__panel__item'), children: [_jsxs("div", { className: clsx('bulk-service-registration__service__container bulk-service-registration__explorer__service__container'), children: [_jsx("div", { className: "bulk-service-registration__services-tree__node__icon__type", children: getRegistrationStatusIcon(serviceState.isSelected, getServiceRegistrationResult(editorStore.globalBulkServiceRegistrationState
|
87
|
+
.isServiceRegistering.isInProgress, serviceState.registrationResult)) }), _jsx("div", { className: "bulk-service-registration__explorer__service__result__icon__type", children: _jsx(PURE_ServiceIcon, {}) }), _jsx("div", { className: "bulk-service-registration__item__link__content", children: _jsx("div", { className: "bulk-service-registration__item__link__content__id", children: serviceState.service.name }) })] }), _jsx("button", { type: "button", className: clsx('bulk-service-registration__section__toggler__btn ', {
|
89
88
|
'bulk-service-registration__section__toggler__btn--toggled ': serviceState.isSelected,
|
90
89
|
}), onClick: () => {
|
91
90
|
selectService(serviceState);
|
92
|
-
}, tabIndex: -1, children: serviceState.isSelected ? (
|
93
|
-
return (
|
94
|
-
.showRegistrationConfig, children:
|
95
|
-
.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal bulk-service-registration__service__editor'), children: [
|
91
|
+
}, tabIndex: -1, children: serviceState.isSelected ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) })] }) }, serviceState.service._UUID))) }));
|
92
|
+
return (_jsxs("div", { "data-testid": LEGEND_STUDIO_TEST_ID.BULK_REGISTRATION, className: "panel bulk-service-registration", children: [_jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title bulk-service-registration__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "REGISTER SERVICES" }) }), _jsx("button", { className: "panel__header__action bulk-service-registration__service__header__action bulk-service-registration__play-btn", onClick: () => editorStore.globalBulkServiceRegistrationState.setShowRegConfig(true), tabIndex: -1, title: "Register All Services", children: _jsx(PlayIcon, {}) }), _jsx(Dialog, { onClose: noop, open: editorStore.globalBulkServiceRegistrationState
|
93
|
+
.showRegistrationConfig, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService
|
94
|
+
.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal bulk-service-registration__service__editor'), children: [_jsxs("div", { className: "bulk-service-registration__header", children: [_jsx("div", { className: "bulk-service-registration__header__actions" }), _jsx("button", { className: "bulk-service-registration__header__action", tabIndex: -1, onClick: () => editorStore.globalBulkServiceRegistrationState.setShowRegConfig(false), children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "bulk-service-registration__panel__content__form", children: _jsx(BulkServiceRegistrationEditor, {}) })] }) })] }), _jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title bulk-service-registration__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "Select All" }) }), _jsx("button", { type: "button", className: clsx('panel__header__action bulk-service-registration__section__toggler__btn ', {
|
96
95
|
'panel__header__action bulk-service-registration__section__toggler__btn--toggled ': editorStore.globalBulkServiceRegistrationState
|
97
96
|
.selectAllServices,
|
98
97
|
}), onClick: toggleSelectAllServices, tabIndex: -1, children: editorStore.globalBulkServiceRegistrationState
|
99
|
-
.selectAllServices ? (
|
98
|
+
.selectAllServices ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) })] }), _jsx("div", { className: "panel__content side-bar__content", children: _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__content", children: "SERVICES" }) }), _jsxs("div", { className: "bulk-service-registration__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: [editorStore.globalBulkServiceRegistrationState.bulkServiceRegistrationStates.filter((serviceState) => serviceState.isSelected).length, ' ', "/ ", services.length] })] }), _jsx(PanelContent, { children: serviceItems() }), editorStore.globalBulkServiceRegistrationState.failingView && (_jsx(ServiceFailViewer, { globalBulkServiceRegistrationState: editorStore.globalBulkServiceRegistrationState, failure: editorStore.globalBulkServiceRegistrationState.failingView }))] }) })] }));
|
100
99
|
});
|
101
100
|
//# sourceMappingURL=RegisterService.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RegisterService.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/RegisterService.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"RegisterService.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/RegisterService.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,KAAK,EACL,SAAS,EACT,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,eAAe,EACf,WAAW,EACX,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,mBAAmB,EACnB,4BAA4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,OAAO,EACL,WAAW,CAAC,kCAAkC,CAAC,WAAW,GAE5D,CACH,IACG,GACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
/**
|
17
17
|
* Wrapper component around different implementations of sidebar, such as to view domain, to manage SDLC, etc.
|
18
18
|
*/
|
19
|
-
export declare const SideBar: (() => import("react/jsx-
|
19
|
+
export declare const SideBar: (() => import("react/jsx-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=SideBar.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/side-bar/SideBar.tsx";
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -36,29 +35,29 @@ export const SideBar = observer(() => {
|
|
36
35
|
const renderSideBar = () => {
|
37
36
|
switch (editorStore.activeActivity) {
|
38
37
|
case ACTIVITY_MODE.EXPLORER:
|
39
|
-
return
|
38
|
+
return _jsx(Explorer, {});
|
40
39
|
case ACTIVITY_MODE.LOCAL_CHANGES:
|
41
|
-
return
|
40
|
+
return _jsx(LocalChanges, {});
|
42
41
|
case ACTIVITY_MODE.WORKSPACE_REVIEW:
|
43
|
-
return
|
42
|
+
return _jsx(WorkspaceReview, {});
|
44
43
|
case ACTIVITY_MODE.WORKSPACE_UPDATER:
|
45
|
-
return
|
44
|
+
return _jsx(WorkspaceUpdater, {});
|
46
45
|
case ACTIVITY_MODE.CONFLICT_RESOLUTION:
|
47
|
-
return
|
46
|
+
return _jsx(WorkspaceUpdateConflictResolver, {});
|
48
47
|
case ACTIVITY_MODE.PROJECT_OVERVIEW:
|
49
|
-
return
|
48
|
+
return _jsx(ProjectOverview, {});
|
50
49
|
case ACTIVITY_MODE.WORKFLOW_MANAGER:
|
51
|
-
return (
|
50
|
+
return (_jsx(WorkflowManager, { workflowManagerState: editorStore.workspaceWorkflowManagerState }));
|
52
51
|
case ACTIVITY_MODE.TEST_RUNNER:
|
53
|
-
return (
|
52
|
+
return (_jsx(GlobalTestRunner, { globalTestRunnerState: editorStore.globalTestRunnerState }));
|
54
53
|
case ACTIVITY_MODE.REGISTER_SERVICES:
|
55
|
-
return (
|
54
|
+
return (_jsx(RegisterService, { globalBulkServiceRegistrationState: editorStore.globalBulkServiceRegistrationState }));
|
56
55
|
case USER_JOURNEYS.END_TO_END_WORKFLOWS:
|
57
|
-
return (
|
56
|
+
return (_jsx(EndToEndWorkflow, { globalEndToEndWorkflowState: editorStore.globalEndToEndWorkflowState }));
|
58
57
|
default:
|
59
58
|
return null;
|
60
59
|
}
|
61
60
|
};
|
62
|
-
return (
|
61
|
+
return (_jsx("div", { className: "side-bar", children: _jsx("div", { className: "side-bar__view", children: renderSideBar() }) }));
|
63
62
|
});
|
64
63
|
//# sourceMappingURL=SideBar.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SideBar.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/SideBar.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"SideBar.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/SideBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,aAAa,GACd,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,C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KAAC,eAAe,IACd,kCAAkC,EAChC,WAAW,CAAC,kCAAkC,GAEhD,CACH,CAAC;YACJ,KAAK,aAAa,CAAC,oBAAoB;gBACrC,OAAO,CACL,KAAC,gBAAgB,IACf,2BAA2B,EACzB,WAAW,CAAC,2BAA2B,GAEzC,CACH,CAAC;YACJ;gBACE,OAAO,IAAI,CAAC;QAChB,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,UAAU,YACvB,cAAK,SAAS,EAAC,gBAAgB,YAAE,aAAa,EAAE,GAAO,GACnD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import { type WorkflowManagerState } from '../../../stores/editor/sidebar-state/WorkflowManagerState.js';
|
17
17
|
export declare const WorkflowManager: ((props: {
|
18
18
|
workflowManagerState: WorkflowManagerState;
|
19
|
-
}) => import("react/jsx-
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=WorkflowManager.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/side-bar/WorkflowManager.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -28,36 +27,36 @@ import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-edito
|
|
28
27
|
const getWorkflowStatusIcon = (workflowStatus) => {
|
29
28
|
switch (workflowStatus) {
|
30
29
|
case WorkflowStatus.PENDING:
|
31
|
-
return (
|
30
|
+
return (_jsx("div", { title: "Pipeline is suspended", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--suspended", children: _jsx(PauseCircleIcon, {}) }));
|
32
31
|
case WorkflowStatus.IN_PROGRESS:
|
33
|
-
return (
|
32
|
+
return (_jsx("div", { title: "Pipeline is running", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--in-progress", children: _jsx(CircleNotchIcon, {}) }));
|
34
33
|
case WorkflowStatus.SUCCEEDED:
|
35
|
-
return (
|
34
|
+
return (_jsx("div", { title: "Pipeline succeeded", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--succeeded", children: _jsx(CheckCircleIcon, {}) }));
|
36
35
|
case WorkflowStatus.FAILED:
|
37
|
-
return (
|
36
|
+
return (_jsx("div", { title: "Pipeline failed", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--failed", children: _jsx(TimesCircleIcon, {}) }));
|
38
37
|
case WorkflowStatus.CANCELED:
|
39
|
-
return (
|
38
|
+
return (_jsx("div", { title: "Pipeline is canceled", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--canceled", children: _jsx(BanIcon, {}) }));
|
40
39
|
case WorkflowStatus.UNKNOWN:
|
41
40
|
default:
|
42
|
-
return (
|
41
|
+
return (_jsx("div", { title: "Pipeline status is unknown", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--unknown", children: _jsx(QuestionCircleIcon, {}) }));
|
43
42
|
}
|
44
43
|
};
|
45
44
|
const getWorkflowJobStatusIcon = (workflowStatus) => {
|
46
45
|
switch (workflowStatus) {
|
47
46
|
case WorkflowJobStatus.WAITING:
|
48
47
|
case WorkflowJobStatus.WAITING_MANUAL:
|
49
|
-
return (
|
48
|
+
return (_jsx("div", { title: "Pipeline is suspended", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--suspended", children: _jsx(PauseCircleIcon, {}) }));
|
50
49
|
case WorkflowJobStatus.IN_PROGRESS:
|
51
|
-
return (
|
50
|
+
return (_jsx("div", { title: "Pipeline is running", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--in-progress", children: _jsx(CircleNotchIcon, {}) }));
|
52
51
|
case WorkflowJobStatus.SUCCEEDED:
|
53
|
-
return (
|
52
|
+
return (_jsx("div", { title: "Pipeline succeeded", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--succeeded", children: _jsx(CheckCircleIcon, {}) }));
|
54
53
|
case WorkflowJobStatus.FAILED:
|
55
|
-
return (
|
54
|
+
return (_jsx("div", { title: "Pipeline failed", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--failed", children: _jsx(TimesCircleIcon, {}) }));
|
56
55
|
case WorkflowJobStatus.CANCELED:
|
57
|
-
return (
|
56
|
+
return (_jsx("div", { title: "Pipeline is canceled", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--canceled", children: _jsx(BanIcon, {}) }));
|
58
57
|
case WorkflowJobStatus.UNKNOWN:
|
59
58
|
default:
|
60
|
-
return (
|
59
|
+
return (_jsx("div", { title: "Pipeline status is unknown", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--unknown", children: _jsx(QuestionCircleIcon, {}) }));
|
61
60
|
}
|
62
61
|
};
|
63
62
|
const WorkflowJobLogsViewer = observer((props) => {
|
@@ -73,11 +72,11 @@ const WorkflowJobLogsViewer = observer((props) => {
|
|
73
72
|
logState.refreshJobLogs(job);
|
74
73
|
};
|
75
74
|
const logs = logState.logs;
|
76
|
-
return (
|
75
|
+
return (_jsx(Dialog, { open: Boolean(logState.job), onClose: closeLogViewer, classes: {
|
77
76
|
root: 'editor-modal__root-container',
|
78
77
|
container: 'editor-modal__container',
|
79
78
|
paper: 'editor-modal__content',
|
80
|
-
}, children:
|
79
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsx(PanelLoadingIndicator, { isLoading: logState.fetchJobLogState.isInProgress }), _jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: `Logs for ${job.name} #${job.id}` }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", disabled: !jobIsInProgress, title: "Refresh", onClick: refreshLogs, children: _jsx(RefreshIcon, {}) }) })] }), _jsx(ModalBody, { children: _jsx(CodeEditor, { inputValue: logs, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: closeLogViewer, type: "secondary" }) })] }) }));
|
81
80
|
});
|
82
81
|
const WorkflowExplorerContextMenu = observer(forwardRef(function WorkflowExplorerContextMenu(props, ref) {
|
83
82
|
const { node, workflowManagerState, workflowState, treeData } = props;
|
@@ -110,33 +109,33 @@ const WorkflowExplorerContextMenu = observer(forwardRef(function WorkflowExplore
|
|
110
109
|
applicationStore.navigationService.navigator.visitAddress(node.workflow.webURL);
|
111
110
|
}
|
112
111
|
};
|
113
|
-
return (
|
112
|
+
return (_jsxs(MenuContent, { "data-testid": LEGEND_STUDIO_TEST_ID.EXPLORER_CONTEXT_MENU, children: [node instanceof WorkflowJobTreeNodeData && (_jsxs(_Fragment, { children: [_jsx(MenuContentItem, { onClick: viewLogs, children: "View Logs" }), _jsx(MenuContentItem, { onClick: visitWeburl, children: "Visit Job" }), node.workflowJob.status !== WorkflowJobStatus.IN_PROGRESS && (_jsx(MenuContentItem, { onClick: retryJob, children: "Retry Job" })), node.workflowJob.status === WorkflowJobStatus.IN_PROGRESS && (_jsx(MenuContentItem, { onClick: cancelJob, children: "Cancel Job" })), node.workflowJob.status === WorkflowJobStatus.WAITING_MANUAL && (_jsx(MenuContentItem, { onClick: runManualJob, children: "Run Manual Job" }))] })), node instanceof WorkflowTreeNodeData && (_jsx(MenuContentItem, { onClick: visitWeburl, children: "Visit Workflow" }))] }));
|
114
113
|
}));
|
115
114
|
const WorkflowTreeNodeContainer = (props) => {
|
116
115
|
const { node, level, stepPaddingInRem, onNodeSelect } = props;
|
117
116
|
const { workflowManagerState, treeData, workflowState } = props.innerProps;
|
118
|
-
const expandIcon = !(node instanceof WorkflowTreeNodeData) ? (
|
117
|
+
const expandIcon = !(node instanceof WorkflowTreeNodeData) ? (_jsx("div", {})) : node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}));
|
119
118
|
const nodeIcon = node instanceof WorkflowTreeNodeData
|
120
119
|
? getWorkflowStatusIcon(node.workflow.status)
|
121
120
|
: getWorkflowJobStatusIcon(guaranteeType(node, WorkflowJobTreeNodeData).workflowJob.status);
|
122
121
|
const selectNode = (event) => onNodeSelect?.(node);
|
123
|
-
return (
|
122
|
+
return (_jsx(ContextMenu, { content: _jsx(WorkflowExplorerContextMenu, { workflowManagerState: workflowManagerState, workflowState: workflowState, treeData: treeData, node: node }), menuProps: { elevation: 7 }, children: _jsxs("div", { className: clsx('tree-view__node__container workflow-manager__explorer__workflow-tree__node__container'), onClick: selectNode, style: {
|
124
123
|
paddingLeft: `${level * (stepPaddingInRem ?? 1)}rem`,
|
125
124
|
display: 'flex',
|
126
|
-
}, children: [
|
125
|
+
}, children: [_jsxs("div", { className: "tree-view__node__icon workflow-manager__explorer__workflow-tree__node__icon", children: [_jsx("div", { className: "workflow-manager__explorer__workflow-tree__node__icon__expand", children: expandIcon }), _jsx("div", { className: "workflow-manager__explorer__workflow-tree__node__icon__type", children: nodeIcon })] }), node instanceof WorkflowTreeNodeData && (_jsx("a", { className: "workflow-manager__item__link", rel: "noopener noreferrer", target: "_blank", href: node.workflow.webURL, title: "See workflow detail", children: _jsxs("div", { className: "workflow-manager__item__link__content", children: [_jsxs("span", { className: "workflow-manager__item__link__content__id", children: ["#", node.label] }), _jsx("span", { className: "workflow-manager__item__link__content__created-at", children: `created ${formatDistanceToNow(node.workflow.createdAt, {
|
127
126
|
includeSeconds: true,
|
128
127
|
addSuffix: true,
|
129
|
-
})}` }
|
128
|
+
})}` })] }) })), node instanceof WorkflowJobTreeNodeData && (_jsx("a", { className: "workflow-manager__item__link", rel: "noopener noreferrer", target: "_blank", href: node.workflowJob.webURL, title: "See job detail", children: _jsxs("div", { className: "workflow-manager__item__link__content", children: [_jsx("span", { className: "workflow-manager__item__link__content__id", children: node.workflowJob.name }), _jsx("span", { className: "workflow-manager__item__link__content__created-at", children: `created ${formatDistanceToNow(node.workflowJob.createdAt, {
|
130
129
|
includeSeconds: true,
|
131
130
|
addSuffix: true,
|
132
|
-
})}` }
|
131
|
+
})}` })] }) }))] }) }));
|
133
132
|
};
|
134
133
|
export const WorkflowManager = observer((props) => {
|
135
134
|
const applicationStore = useApplicationStore();
|
136
135
|
const workflowManagerState = props.workflowManagerState;
|
137
136
|
const isDispatchingAction = workflowManagerState.fetchWorkflowsState.isInProgress ||
|
138
137
|
Boolean(workflowManagerState.workflowStates.find((e) => e.isExecutingWorkflowRequest));
|
139
|
-
const renderWorkflowContent = () => (
|
138
|
+
const renderWorkflowContent = () => (_jsxs(_Fragment, { children: [workflowManagerState.workflowStates.map((workflowState) => {
|
140
139
|
const onNodeSelect = (node) => {
|
141
140
|
workflowState.onTreeNodeSelect(node, workflowState.treeData);
|
142
141
|
};
|
@@ -148,20 +147,20 @@ export const WorkflowManager = observer((props) => {
|
|
148
147
|
}
|
149
148
|
return [];
|
150
149
|
};
|
151
|
-
return (
|
150
|
+
return (_jsx(TreeView, { components: {
|
152
151
|
TreeNodeContainer: WorkflowTreeNodeContainer,
|
153
152
|
}, treeData: workflowState.treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
|
154
153
|
workflowManagerState,
|
155
154
|
workflowState: workflowState,
|
156
155
|
treeData: workflowState.treeData,
|
157
|
-
} }, workflowState.uuid
|
158
|
-
}), workflowManagerState.logState.job && (
|
156
|
+
} }, workflowState.uuid));
|
157
|
+
}), workflowManagerState.logState.job && (_jsx(WorkflowJobLogsViewer, { logState: workflowManagerState.logState, workflowState: workflowManagerState }))] }));
|
159
158
|
const refresh = applicationStore.guardUnhandledError(() => flowResult(workflowManagerState.fetchAllWorkflows()));
|
160
159
|
useEffect(() => {
|
161
160
|
flowResult(workflowManagerState.fetchAllWorkflows()).catch(applicationStore.alertUnhandledError);
|
162
161
|
}, [applicationStore, workflowManagerState]);
|
163
|
-
return (
|
162
|
+
return (_jsxs("div", { className: "panel workflow-manager", children: [_jsxs("div", { className: "panel__header side-bar__header", children: [_jsx("div", { className: "panel__header__title workflow-manager__header__title", children: _jsx("div", { className: "panel__header__title__content side-bar__header__title__content", children: "WORKFLOW MANAGER" }) }), _jsx("div", { className: "panel__header__actions side-bar__header__actions", children: _jsx("button", { className: clsx('panel__header__action side-bar__header__action workflow-manager__refresh-btn', {
|
164
163
|
'workflow-manager__refresh-btn--loading': isDispatchingAction,
|
165
|
-
}), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children:
|
164
|
+
}), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children: _jsx(RefreshIcon, {}) }) })] }), _jsxs("div", { className: "panel__content side-bar__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isDispatchingAction }), _jsxs("div", { className: "panel side-bar__panel", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__content", children: "WORKFLOWS" }) }), _jsx("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: workflowManagerState.workflowStates.length })] }), _jsx(PanelContent, { children: renderWorkflowContent() })] })] })] }));
|
166
165
|
});
|
167
166
|
//# sourceMappingURL=WorkflowManager.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WorkflowManager.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkflowManager.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,S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CAAwC,EAAE,mBAAmB;6BAC9D,CACF,EACD,QAAQ,EAAE,mBAAmB,EAC7B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,SAAS,YAEf,QAAC,WAAW,yFAAG,uFACR,uFACL,sFACF,EACN,iBAAK,SAAS,EAAC,kCAAkC,aAC/C,QAAC,qBAAqB,IAAC,SAAS,EAAE,mBAAmB,uFAAI,EACzD,iBAAK,SAAS,EAAC,uBAAuB,aACpC,iBAAK,SAAS,EAAC,eAAe,aAC5B,iBAAK,SAAS,EAAC,sBAAsB,YACnC,iBAAK,SAAS,EAAC,+BAA+B,8GAAgB,uFAC1D,EACN,iBACE,SAAS,EAAC,wCAAwC,iBAEhD,qBAAqB,CAAC,mCAAmC,YAG1D,oBAAoB,CAAC,cAAc,CAAC,MAAM,uFACvC,uFACF,EACN,QAAC,YAAY,cAAE,qBAAqB,EAAE,uFAAgB,uFAClD,sFACF,uFACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"WorkflowManager.js","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/WorkflowManager.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,IAAI,EACJ,MAAM,EACN,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,eAAe,EACf,OAAO,EACP,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE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,cAAE,qBAAqB,EAAE,GAAgB,IAClD,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -13,10 +13,10 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export declare const WorkspaceReviewDiffs: (() => import("react/jsx-
|
16
|
+
export declare const WorkspaceReviewDiffs: (() => import("react/jsx-runtime").JSX.Element) & {
|
17
17
|
displayName: string;
|
18
18
|
};
|
19
|
-
export declare const WorkspaceReview: (() => import("react/jsx-
|
19
|
+
export declare const WorkspaceReview: (() => import("react/jsx-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=WorkspaceReview.d.ts.map
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/side-bar/WorkspaceReview.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -38,10 +37,10 @@ export const WorkspaceReviewDiffs = observer(() => {
|
|
38
37
|
diff.oldPath === currentTabState.fromEntityPath &&
|
39
38
|
diff.newPath === currentTabState.toEntityPath;
|
40
39
|
const openChange = (diff) => () => workspaceReviewState.openReviewChange(diff);
|
41
|
-
return (
|
40
|
+
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(PanelContent, { children: changes
|
42
41
|
.slice()
|
43
42
|
.sort(entityDiffSorter)
|
44
|
-
.map((diff) => (
|
43
|
+
.map((diff) => (_jsx(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key))) })] }));
|
45
44
|
});
|
46
45
|
export const WorkspaceReview = observer(() => {
|
47
46
|
const editorStore = useEditorStore();
|
@@ -122,15 +121,15 @@ export const WorkspaceReview = observer(() => {
|
|
122
121
|
reviewTitleInputRef.current?.focus();
|
123
122
|
}
|
124
123
|
}, [editorStore.activeActivity]);
|
125
|
-
return (
|
124
|
+
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', {
|
126
125
|
'workspace-review__refresh-btn--loading': workspaceReviewState.isRefreshingWorkspaceChangesDetector,
|
127
|
-
}), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children:
|
126
|
+
}), 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: (event) => {
|
128
127
|
event.preventDefault();
|
129
|
-
}, children: [
|
128
|
+
}, 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', {
|
130
129
|
'btn--error': workspaceContainsSnapshotDependencies,
|
131
|
-
}), onClick: createReview, disabled: isCreateReviewDisabled, title: createReviewTitle, children:
|
130
|
+
}), onClick: createReview, disabled: isCreateReviewDisabled, title: createReviewTitle, 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("button", { className: "workspace-review__title__content__input__link", tabIndex: -1, onClick: () => applicationStore.navigationService.navigator.visitAddress(applicationStore.navigationService.navigator.generateAddress(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: isCommitReviewDisabled, tabIndex: -1, title: commitReviewTitle, children: _jsx(TruncatedGitMergeIcon, {}) })] }), _jsx("div", { className: "workspace-review__title__content__review-status", children: `created ${formatDistanceToNow(workspaceReview.createdAt, {
|
132
131
|
includeSeconds: true,
|
133
132
|
addSuffix: true,
|
134
|
-
})}` }
|
133
|
+
})}` })] })), _jsx(WorkspaceReviewDiffs, {})] })] })] }));
|
135
134
|
});
|
136
135
|
//# sourceMappingURL=WorkspaceReview.js.map
|