@finos/legend-application-studio 28.17.8 → 28.17.10
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendStudio.js +3 -2
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/ElementIconUtils.js +24 -23
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +8 -7
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioFrameworkProvider.js +4 -3
- package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts +2 -2
- package/lib/components/LegendStudioWebApplication.js +14 -13
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/ShowcaseManager.d.ts +1 -1
- package/lib/components/ShowcaseManager.js +30 -29
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.js +28 -27
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +9 -8
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +4 -3
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +6 -5
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts +1 -1
- package/lib/components/editor/QuickInput.js +6 -5
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -1
- package/lib/components/editor/StatusBar.js +12 -11
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +3 -2
- 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 +5 -4
- 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 +3 -2
- 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 +40 -39
- 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 +12 -11
- 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 +5 -4
- 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 +15 -14
- 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 +15 -14
- 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 +30 -29
- 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 +4 -3
- 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 +10 -9
- 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 +11 -10
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +11 -10
- 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 +6 -5
- 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 +14 -13
- 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 +3 -2
- 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 +55 -54
- 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 +8 -7
- 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 +7 -6
- 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 +18 -17
- 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 +10 -9
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +6 -5
- 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 +11 -10
- 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 +6 -5
- 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 +3 -2
- 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 +6 -5
- 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 +3 -2
- 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 +7 -6
- 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 +27 -26
- 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 +13 -12
- 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 +17 -16
- 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 +11 -10
- 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 +3 -2
- 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 +3 -2
- 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 +16 -15
- 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 +6 -5
- 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 +39 -38
- 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 +13 -12
- 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 +4 -3
- 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 +6 -5
- 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 +33 -32
- 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 +9 -8
- 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 +11 -10
- 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 +7 -6
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +8 -7
- 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 +12 -11
- 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 +6 -5
- 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 +20 -19
- 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 +25 -24
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +5 -4
- 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 +12 -11
- 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 +30 -29
- 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 +12 -11
- 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 +9 -8
- 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 +5 -4
- 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 +15 -14
- 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 +10 -9
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +9 -8
- 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 +22 -21
- 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 +5 -4
- 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 +11 -10
- 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 +9 -8
- 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 +22 -21
- 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 +27 -26
- 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 +11 -10
- 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 +6 -5
- 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 +25 -24
- 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 +33 -32
- 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 +11 -10
- 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 +13 -12
- 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 +12 -11
- 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 +30 -29
- 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 +6 -5
- 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 +23 -22
- 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 +31 -30
- 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 +8 -7
- 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 +31 -30
- 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 +11 -10
- 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 +8 -7
- 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 +8 -7
- 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 +7 -6
- 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 +7 -6
- 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 +10 -9
- 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 +3 -2
- 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 +3 -2
- 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 +7 -6
- 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 +6 -5
- 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 +6 -5
- 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 +19 -18
- 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 +27 -26
- 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 +37 -36
- 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 +13 -12
- 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 +29 -28
- 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 +18 -17
- 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 +13 -12
- 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 +28 -27
- 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 +9 -8
- 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 +10 -9
- 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 +7 -6
- 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 +7 -6
- 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 +7 -6
- 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 +33 -32
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +4 -3
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +8 -7
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js +11 -10
- 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 +8 -7
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +4 -3
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js +6 -5
- 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 +10 -9
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js +24 -23
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/project-view/ProjectViewerStoreProvider.js +4 -3
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js +20 -19
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js +4 -3
- 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 +16 -15
- 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 +8 -7
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +7 -6
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +3 -2
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +28 -27
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +5 -5
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/side-bar/RegisterService.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -28,39 +29,39 @@ import { useApplicationStore } from '@finos/legend-application';
|
|
28
29
|
import { CodeEditor, CODE_EDITOR_LANGUAGE, } from '@finos/legend-lego/code-editor';
|
29
30
|
export const getRegistrationStatusIcon = (isSelected, registrationResult) => {
|
30
31
|
if (registrationResult === REGISTRATION_RESULT.SUCCESS) {
|
31
|
-
return (
|
32
|
+
return (_jsxDEV("div", { title: "Service registered successfully", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--succeeded", children: _jsxDEV(CheckCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 72, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 67, columnNumber: 13 }, this));
|
32
33
|
}
|
33
34
|
else if (registrationResult === REGISTRATION_RESULT.IN_PROGRESS &&
|
34
35
|
isSelected) {
|
35
|
-
return (
|
36
|
+
return (_jsxDEV("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: _jsxDEV(CircleNotchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 79, columnNumber: 13 }, this));
|
36
37
|
}
|
37
38
|
else if (registrationResult === REGISTRATION_RESULT.FAILED) {
|
38
|
-
return (
|
39
|
+
return (_jsxDEV("div", { title: "Service Registration Failed", className: "bulk-service-registration__item__link__content__status__indicator bulk-service-registration__item__link__content__status__indicator--failed", children: _jsxDEV(TimesCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 93, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 88, columnNumber: 13 }, this));
|
39
40
|
}
|
40
41
|
else {
|
41
|
-
return (
|
42
|
+
return (_jsxDEV("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: _jsxDEV(EmptyCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 102, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 97, columnNumber: 13 }, this));
|
42
43
|
}
|
43
44
|
};
|
44
45
|
const ServiceContextMenu = observer(forwardRef(function ServiceContextMenu(props, ref) {
|
45
46
|
const { serviceState, globalServiceRegistrationState } = props;
|
46
47
|
const applicationStore = useApplicationStore();
|
47
|
-
return (
|
48
|
-
ServiceRegistrationSuccess && (
|
48
|
+
return (_jsxDEV(MenuContent, { children: [serviceState.registrationResult instanceof
|
49
|
+
ServiceRegistrationSuccess && (_jsxDEV(MenuContentItem, { onClick: () => {
|
49
50
|
const config = guaranteeNonNullable(globalServiceRegistrationState.serviceConfigState.options.find((info) => info.env ===
|
50
51
|
globalServiceRegistrationState.serviceConfigState
|
51
52
|
.serviceEnv));
|
52
53
|
applicationStore.navigationService.navigator.visitAddress(generateServiceManagementUrl(config.managementUrl, serviceState.service.pattern));
|
53
|
-
}, children: "Launch Service" })), serviceState.registrationResult instanceof ServiceRegistrationFail && (
|
54
|
+
}, children: "Launch Service" }, void 0, false, { fileName: _jsxFileName, lineNumber: 121, columnNumber: 42 }, this)), serviceState.registrationResult instanceof ServiceRegistrationFail && (_jsxDEV(MenuContentItem, { onClick: () => globalServiceRegistrationState.setFailingView(serviceState.registrationResult), children: "View Error" }, void 0, false, { fileName: _jsxFileName, lineNumber: 143, columnNumber: 81 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 13 }, this));
|
54
55
|
}));
|
55
56
|
const ServiceFailViewer = observer((props) => {
|
56
57
|
const { globalBulkServiceRegistrationState, failure } = props;
|
57
58
|
const applicationStore = globalBulkServiceRegistrationState.editorStore.applicationStore;
|
58
59
|
const closeLogViewer = () => globalBulkServiceRegistrationState.setFailingView(undefined);
|
59
|
-
return (
|
60
|
+
return (_jsxDEV(Dialog, { open: Boolean(failure), onClose: closeLogViewer, classes: {
|
60
61
|
root: 'editor-modal__root-container',
|
61
62
|
container: 'editor-modal__container',
|
62
63
|
paper: 'editor-modal__content',
|
63
|
-
}, children:
|
64
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsxDEV(ModalHeader, { title: guaranteeNonNullable(failure?.service).path }, void 0, false, { fileName: _jsxFileName, lineNumber: 185, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: failure instanceof ServiceRegistrationFail && (_jsxDEV(CodeEditor, { inputValue: failure.errorMessage, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT }, void 0, false, { fileName: _jsxFileName, lineNumber: 187, columnNumber: 61 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { text: "Close", onClick: closeLogViewer, type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 196, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 195, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 179, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 169, columnNumber: 13 }, this));
|
64
65
|
});
|
65
66
|
export const RegisterService = observer((props) => {
|
66
67
|
const editorStore = useEditorStore();
|
@@ -83,18 +84,18 @@ export const RegisterService = observer((props) => {
|
|
83
84
|
useEffect(() => {
|
84
85
|
editorStore.globalBulkServiceRegistrationState.init();
|
85
86
|
}, [editorStore.globalBulkServiceRegistrationState]);
|
86
|
-
const serviceItems = () => (
|
87
|
-
.isServiceRegistering.isInProgress, serviceState.registrationResult)) }),
|
87
|
+
const serviceItems = () => (_jsxDEV(_Fragment, { children: editorStore.globalBulkServiceRegistrationState.bulkServiceRegistrationStates.map((serviceState) => (_jsxDEV(ContextMenu, { content: _jsxDEV(ServiceContextMenu, { globalServiceRegistrationState: editorStore.globalBulkServiceRegistrationState, serviceState: serviceState }, void 0, false, { fileName: _jsxFileName, lineNumber: 257, columnNumber: 24 }, this), children: _jsxDEV("div", { className: clsx('side-bar__panel__item'), children: [_jsxDEV("div", { className: clsx('bulk-service-registration__service__container bulk-service-registration__explorer__service__container'), children: [_jsxDEV("div", { className: "bulk-service-registration__services-tree__node__icon__type", children: getRegistrationStatusIcon(serviceState.isSelected, getServiceRegistrationResult(editorStore.globalBulkServiceRegistrationState
|
88
|
+
.isServiceRegistering.isInProgress, serviceState.registrationResult)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 272, columnNumber: 19 }, this), _jsxDEV("div", { className: "bulk-service-registration__explorer__service__result__icon__type", children: _jsxDEV(PURE_ServiceIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 283, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 282, columnNumber: 19 }, this), _jsxDEV("div", { className: "bulk-service-registration__item__link__content", children: _jsxDEV("div", { className: "bulk-service-registration__item__link__content__id", children: serviceState.service.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 286, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 285, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 267, columnNumber: 17 }, this), _jsxDEV("button", { type: "button", className: clsx('bulk-service-registration__section__toggler__btn ', {
|
88
89
|
'bulk-service-registration__section__toggler__btn--toggled ': serviceState.isSelected,
|
89
90
|
}), onClick: () => {
|
90
91
|
selectService(serviceState);
|
91
|
-
}, tabIndex: -1, children: serviceState.isSelected ? (
|
92
|
-
return (
|
93
|
-
.showRegistrationConfig, children:
|
94
|
-
.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal bulk-service-registration__service__editor'), children: [
|
92
|
+
}, tabIndex: -1, children: serviceState.isSelected ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 305, columnNumber: 47 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 307, columnNumber: 24 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 291, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 266, columnNumber: 15 }, this) }, serviceState.service._UUID, false, { fileName: _jsxFileName, lineNumber: 254, columnNumber: 30 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 251, columnNumber: 50 }, this));
|
93
|
+
return (_jsxDEV("div", { "data-testid": LEGEND_STUDIO_TEST_ID.BULK_REGISTRATION, className: "panel bulk-service-registration", children: [_jsxDEV("div", { className: "panel__header side-bar__header", children: [_jsxDEV("div", { className: "panel__header__title bulk-service-registration__header__title", children: _jsxDEV("div", { className: "panel__header__title__content side-bar__header__title__content", children: "REGISTER SERVICES" }, void 0, false, { fileName: _jsxFileName, lineNumber: 325, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 324, columnNumber: 11 }, this), _jsxDEV("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: _jsxDEV(PlayIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 339, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 329, columnNumber: 11 }, this), _jsxDEV(Dialog, { onClose: noop, open: editorStore.globalBulkServiceRegistrationState
|
94
|
+
.showRegistrationConfig, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService
|
95
|
+
.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal bulk-service-registration__service__editor'), children: [_jsxDEV("div", { className: "bulk-service-registration__header", children: [_jsxDEV("div", { className: "bulk-service-registration__header__actions" }, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 17 }, this), _jsxDEV("button", { className: "bulk-service-registration__header__action", tabIndex: -1, onClick: () => editorStore.globalBulkServiceRegistrationState.setShowRegConfig(false), children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 368, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 357, columnNumber: 15 }, this), _jsxDEV("div", { className: "bulk-service-registration__panel__content__form", children: _jsxDEV(BulkServiceRegistrationEditor, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 372, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 371, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 341, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 323, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header side-bar__header", children: [_jsxDEV("div", { className: "panel__header__title bulk-service-registration__header__title", children: _jsxDEV("div", { className: "panel__header__title__content side-bar__header__title__content", children: "Select All" }, void 0, false, { fileName: _jsxFileName, lineNumber: 379, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 378, columnNumber: 11 }, this), _jsxDEV("button", { type: "button", className: clsx('panel__header__action bulk-service-registration__section__toggler__btn ', {
|
95
96
|
'panel__header__action bulk-service-registration__section__toggler__btn--toggled ': editorStore.globalBulkServiceRegistrationState
|
96
97
|
.selectAllServices,
|
97
98
|
}), onClick: toggleSelectAllServices, tabIndex: -1, children: editorStore.globalBulkServiceRegistrationState
|
98
|
-
.selectAllServices ? (
|
99
|
+
.selectAllServices ? (_jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 397, columnNumber: 37 }, this)) : (_jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 399, columnNumber: 18 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 383, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 377, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content side-bar__content", children: _jsxDEV("div", { className: "panel side-bar__panel", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: _jsxDEV("div", { className: "panel__header__title__content", children: "SERVICES" }, void 0, false, { fileName: _jsxFileName, lineNumber: 408, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 407, columnNumber: 15 }, this), _jsxDEV("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] }, void 0, true, { fileName: _jsxFileName, lineNumber: 410, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 406, columnNumber: 13 }, this), _jsxDEV(PanelContent, { children: serviceItems() }, void 0, false, { fileName: _jsxFileName, lineNumber: 424, columnNumber: 13 }, this), editorStore.globalBulkServiceRegistrationState.failingView && (_jsxDEV(ServiceFailViewer, { globalBulkServiceRegistrationState: editorStore.globalBulkServiceRegistrationState, failure: editorStore.globalBulkServiceRegistrationState.failingView }, void 0, false, { fileName: _jsxFileName, lineNumber: 425, columnNumber: 77 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 405, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 404, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 318, columnNumber: 13 }, this));
|
99
100
|
});
|
100
101
|
//# 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,4BAA4B,GAE7B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,iEAAiE,CAAC;AAChH,OAAO,EAAE,oBAAoB,EAAE,IAAI,EAAE,M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AAW,uFAE5D,CACH,uFACG,sFACF,uFACF,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-runtime").JSX.Element) & {
|
19
|
+
export declare const SideBar: (() => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=SideBar.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/side-bar/SideBar.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -35,29 +36,29 @@ export const SideBar = observer(() => {
|
|
35
36
|
const renderSideBar = () => {
|
36
37
|
switch (editorStore.activeActivity) {
|
37
38
|
case ACTIVITY_MODE.EXPLORER:
|
38
|
-
return
|
39
|
+
return _jsxDEV(Explorer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 43, columnNumber: 15 }, this);
|
39
40
|
case ACTIVITY_MODE.LOCAL_CHANGES:
|
40
|
-
return
|
41
|
+
return _jsxDEV(LocalChanges, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 45, columnNumber: 15 }, this);
|
41
42
|
case ACTIVITY_MODE.WORKSPACE_REVIEW:
|
42
|
-
return
|
43
|
+
return _jsxDEV(WorkspaceReview, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 47, columnNumber: 15 }, this);
|
43
44
|
case ACTIVITY_MODE.WORKSPACE_UPDATER:
|
44
|
-
return
|
45
|
+
return _jsxDEV(WorkspaceUpdater, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 49, columnNumber: 15 }, this);
|
45
46
|
case ACTIVITY_MODE.CONFLICT_RESOLUTION:
|
46
|
-
return
|
47
|
+
return _jsxDEV(WorkspaceUpdateConflictResolver, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 51, columnNumber: 15 }, this);
|
47
48
|
case ACTIVITY_MODE.PROJECT_OVERVIEW:
|
48
|
-
return
|
49
|
+
return _jsxDEV(ProjectOverview, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 53, columnNumber: 15 }, this);
|
49
50
|
case ACTIVITY_MODE.WORKFLOW_MANAGER:
|
50
|
-
return (
|
51
|
+
return (_jsxDEV(WorkflowManager, { workflowManagerState: editorStore.workspaceWorkflowManagerState }, void 0, false, { fileName: _jsxFileName, lineNumber: 55, columnNumber: 17 }, this));
|
51
52
|
case ACTIVITY_MODE.TEST_RUNNER:
|
52
|
-
return (
|
53
|
+
return (_jsxDEV(GlobalTestRunner, { globalTestRunnerState: editorStore.globalTestRunnerState }, void 0, false, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 17 }, this));
|
53
54
|
case ACTIVITY_MODE.REGISTER_SERVICES:
|
54
|
-
return (
|
55
|
+
return (_jsxDEV(RegisterService, { globalBulkServiceRegistrationState: editorStore.globalBulkServiceRegistrationState }, void 0, false, { fileName: _jsxFileName, lineNumber: 67, columnNumber: 17 }, this));
|
55
56
|
case USER_JOURNEYS.END_TO_END_WORKFLOWS:
|
56
|
-
return (
|
57
|
+
return (_jsxDEV(EndToEndWorkflow, { globalEndToEndWorkflowState: editorStore.globalEndToEndWorkflowState }, void 0, false, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 17 }, this));
|
57
58
|
default:
|
58
59
|
return null;
|
59
60
|
}
|
60
61
|
};
|
61
|
-
return (
|
62
|
+
return (_jsxDEV("div", { className: "side-bar", children: _jsxDEV("div", { className: "side-bar__view", children: renderSideBar() }, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 87, columnNumber: 11 }, this));
|
62
63
|
});
|
63
64
|
//# 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,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAE9E;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,GAAG,EAAE;IACnC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IAErC,MAAM,aAAa,GAAG,GAAoB,EAAE;QAC1C,QAAQ,WAAW,CAAC,cAAc,EAAE,CAAC;YACnC,KAAK,aAAa,CAAC,QAAQ;gBACzB,OAAO,QAAC,QAAQ,wFAAG,CAAC;YACtB,KAAK,aAAa,CAAC,aAAa;gBAC9B,OAAO,QAAC,YAAY,wFAAG,CAAC;YAC1B,KAAK,aAAa,CAAC,gBAAgB;gBACjC,OAAO,QAAC,eAAe,wFAAG,CAAC;YAC7B,KAAK,aAAa,CAAC,iBAAiB;gBAClC,OAAO,QAAC,gBAAgB,wFAAG,CAAC;YAC9B,KAAK,aAAa,CAAC,mBAAmB;gBACpC,OAAO,QAAC,+BAA+B,wFAAG,CAAC;YAC7C,KAAK,aAAa,CAAC,gBAAgB;gBACjC,OAAO,QAAC,eAAe,wFAAG,CAAC;YAC7B,KAAK,aAAa,CAAC,gBAAgB;gBACjC,OAAO,CACL,QAAC,eAAe,IACd,oBAAoB,EAAE,WAAW,CAAC,6BAA6B,sFAC/D,CACH,CAAC;YACJ,KAAK,aAAa,CAAC,WAAW;gBAC5B,OAAO,CACL,QAAC,gBAAgB,IACf,qBAAqB,EAAE,WAAW,CAAC,qBAAqB,sFACxD,CACH,CAAC;YACJ,KAAK,aAAa,CAAC,iBAAiB;gBAClC,OAAO,CACL,QAAC,eAAe,IACd,kCAAkC,EAChC,WAAW,CAAC,kCAAkC,sFAEhD,CACH,CAAC;YACJ,KAAK,aAAa,CAAC,oBAAoB;gBACrC,OAAO,CACL,QAAC,gBAAgB,IACf,2BAA2B,EACzB,WAAW,CAAC,2BAA2B,sFAEzC,CACH,CAAC;YACJ;gBACE,OAAO,IAAI,CAAC;QAChB,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,iBAAK,SAAS,EAAC,UAAU,YACvB,iBAAK,SAAS,EAAC,gBAAgB,YAAE,aAAa,EAAE,qFAAO,sFACnD,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-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=WorkflowManager.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/side-bar/WorkflowManager.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -27,36 +28,36 @@ import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-edito
|
|
27
28
|
const getWorkflowStatusIcon = (workflowStatus) => {
|
28
29
|
switch (workflowStatus) {
|
29
30
|
case WorkflowStatus.PENDING:
|
30
|
-
return (
|
31
|
+
return (_jsxDEV("div", { title: "Pipeline is suspended", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--suspended", children: _jsxDEV(PauseCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 15 }, this));
|
31
32
|
case WorkflowStatus.IN_PROGRESS:
|
32
|
-
return (
|
33
|
+
return (_jsxDEV("div", { title: "Pipeline is running", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--in-progress", children: _jsxDEV(CircleNotchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 15 }, this));
|
33
34
|
case WorkflowStatus.SUCCEEDED:
|
34
|
-
return (
|
35
|
+
return (_jsxDEV("div", { title: "Pipeline succeeded", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--succeeded", children: _jsxDEV(CheckCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 98, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 93, columnNumber: 15 }, this));
|
35
36
|
case WorkflowStatus.FAILED:
|
36
|
-
return (
|
37
|
+
return (_jsxDEV("div", { title: "Pipeline failed", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--failed", children: _jsxDEV(TimesCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 107, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 102, columnNumber: 15 }, this));
|
37
38
|
case WorkflowStatus.CANCELED:
|
38
|
-
return (
|
39
|
+
return (_jsxDEV("div", { title: "Pipeline is canceled", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--canceled", children: _jsxDEV(BanIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 116, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 111, columnNumber: 15 }, this));
|
39
40
|
case WorkflowStatus.UNKNOWN:
|
40
41
|
default:
|
41
|
-
return (
|
42
|
+
return (_jsxDEV("div", { title: "Pipeline status is unknown", className: "workflow-manager__item__link__content__status__indicator workflow-manager__item__link__content__status__indicator--unknown", children: _jsxDEV(QuestionCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 126, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 121, columnNumber: 15 }, this));
|
42
43
|
}
|
43
44
|
};
|
44
45
|
const getWorkflowJobStatusIcon = (workflowStatus) => {
|
45
46
|
switch (workflowStatus) {
|
46
47
|
case WorkflowJobStatus.WAITING:
|
47
48
|
case WorkflowJobStatus.WAITING_MANUAL:
|
48
|
-
return (
|
49
|
+
return (_jsxDEV("div", { title: "Pipeline is suspended", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--suspended", children: _jsxDEV(PauseCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 143, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 138, columnNumber: 15 }, this));
|
49
50
|
case WorkflowJobStatus.IN_PROGRESS:
|
50
|
-
return (
|
51
|
+
return (_jsxDEV("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: _jsxDEV(CircleNotchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 152, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 147, columnNumber: 15 }, this));
|
51
52
|
case WorkflowJobStatus.SUCCEEDED:
|
52
|
-
return (
|
53
|
+
return (_jsxDEV("div", { title: "Pipeline succeeded", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--succeeded", children: _jsxDEV(CheckCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 161, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 15 }, this));
|
53
54
|
case WorkflowJobStatus.FAILED:
|
54
|
-
return (
|
55
|
+
return (_jsxDEV("div", { title: "Pipeline failed", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--failed", children: _jsxDEV(TimesCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 165, columnNumber: 15 }, this));
|
55
56
|
case WorkflowJobStatus.CANCELED:
|
56
|
-
return (
|
57
|
+
return (_jsxDEV("div", { title: "Pipeline is canceled", className: "workspace-workflow-jobs__item__link__content__status__indicator workspace-workflow-jobs__item__link__content__status__indicator--canceled", children: _jsxDEV(BanIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 179, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 174, columnNumber: 15 }, this));
|
57
58
|
case WorkflowJobStatus.UNKNOWN:
|
58
59
|
default:
|
59
|
-
return (
|
60
|
+
return (_jsxDEV("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: _jsxDEV(QuestionCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 189, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 184, columnNumber: 15 }, this));
|
60
61
|
}
|
61
62
|
};
|
62
63
|
const WorkflowJobLogsViewer = observer((props) => {
|
@@ -72,11 +73,11 @@ const WorkflowJobLogsViewer = observer((props) => {
|
|
72
73
|
logState.refreshJobLogs(job);
|
73
74
|
};
|
74
75
|
const logs = logState.logs;
|
75
|
-
return (
|
76
|
+
return (_jsxDEV(Dialog, { open: Boolean(logState.job), onClose: closeLogViewer, classes: {
|
76
77
|
root: 'editor-modal__root-container',
|
77
78
|
container: 'editor-modal__container',
|
78
79
|
paper: 'editor-modal__content',
|
79
|
-
}, children:
|
80
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsxDEV(PanelLoadingIndicator, { isLoading: logState.fetchJobLogState.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 230, columnNumber: 11 }, this), _jsxDEV(ModalHeader, { children: [_jsxDEV(ModalTitle, { title: `Logs for ${job.name} #${job.id}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 13 }, this), _jsxDEV(ModalHeaderActions, { children: _jsxDEV("button", { className: "modal__header__action", disabled: !jobIsInProgress, title: "Refresh", onClick: refreshLogs, children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 236, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 235, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 233, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: _jsxDEV(CodeEditor, { inputValue: logs, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT }, void 0, false, { fileName: _jsxFileName, lineNumber: 247, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 246, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { text: "Close", onClick: closeLogViewer, type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 254, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 253, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 224, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 13 }, this));
|
80
81
|
});
|
81
82
|
const WorkflowExplorerContextMenu = observer(forwardRef(function WorkflowExplorerContextMenu(props, ref) {
|
82
83
|
const { node, workflowManagerState, workflowState, treeData } = props;
|
@@ -109,33 +110,33 @@ const WorkflowExplorerContextMenu = observer(forwardRef(function WorkflowExplore
|
|
109
110
|
applicationStore.navigationService.navigator.visitAddress(node.workflow.webURL);
|
110
111
|
}
|
111
112
|
};
|
112
|
-
return (
|
113
|
+
return (_jsxDEV(MenuContent, { "data-testid": LEGEND_STUDIO_TEST_ID.EXPLORER_CONTEXT_MENU, children: [node instanceof WorkflowJobTreeNodeData && (_jsxDEV(_Fragment, { children: [_jsxDEV(MenuContentItem, { onClick: viewLogs, children: "View Logs" }, void 0, false, { fileName: _jsxFileName, lineNumber: 314, columnNumber: 13 }, this), _jsxDEV(MenuContentItem, { onClick: visitWeburl, children: "Visit Job" }, void 0, false, { fileName: _jsxFileName, lineNumber: 315, columnNumber: 13 }, this), node.workflowJob.status !== WorkflowJobStatus.IN_PROGRESS && (_jsxDEV(MenuContentItem, { onClick: retryJob, children: "Retry Job" }, void 0, false, { fileName: _jsxFileName, lineNumber: 316, columnNumber: 76 }, this)), node.workflowJob.status === WorkflowJobStatus.IN_PROGRESS && (_jsxDEV(MenuContentItem, { onClick: cancelJob, children: "Cancel Job" }, void 0, false, { fileName: _jsxFileName, lineNumber: 319, columnNumber: 76 }, this)), node.workflowJob.status === WorkflowJobStatus.WAITING_MANUAL && (_jsxDEV(MenuContentItem, { onClick: runManualJob, children: "Run Manual Job" }, void 0, false, { fileName: _jsxFileName, lineNumber: 322, columnNumber: 79 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 312, columnNumber: 54 }, this)), node instanceof WorkflowTreeNodeData && (_jsxDEV(MenuContentItem, { onClick: visitWeburl, children: "Visit Workflow" }, void 0, false, { fileName: _jsxFileName, lineNumber: 329, columnNumber: 51 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 310, columnNumber: 13 }, this));
|
113
114
|
}));
|
114
115
|
const WorkflowTreeNodeContainer = (props) => {
|
115
116
|
const { node, level, stepPaddingInRem, onNodeSelect } = props;
|
116
117
|
const { workflowManagerState, treeData, workflowState } = props.innerProps;
|
117
|
-
const expandIcon = !(node instanceof WorkflowTreeNodeData) ? (
|
118
|
+
const expandIcon = !(node instanceof WorkflowTreeNodeData) ? (_jsxDEV("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 351, columnNumber: 65 }, this)) : node.isOpen ? (_jsxDEV(ChevronDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 353, columnNumber: 22 }, this)) : (_jsxDEV(ChevronRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 355, columnNumber: 8 }, this));
|
118
119
|
const nodeIcon = node instanceof WorkflowTreeNodeData
|
119
120
|
? getWorkflowStatusIcon(node.workflow.status)
|
120
121
|
: getWorkflowJobStatusIcon(guaranteeType(node, WorkflowJobTreeNodeData).workflowJob.status);
|
121
122
|
const selectNode = (event) => onNodeSelect?.(node);
|
122
|
-
return (
|
123
|
+
return (_jsxDEV(ContextMenu, { content: _jsxDEV(WorkflowExplorerContextMenu, { workflowManagerState: workflowManagerState, workflowState: workflowState, treeData: treeData, node: node }, void 0, false, { fileName: _jsxFileName, lineNumber: 368, columnNumber: 16 }, this), menuProps: { elevation: 7 }, children: _jsxDEV("div", { className: clsx('tree-view__node__container workflow-manager__explorer__workflow-tree__node__container'), onClick: selectNode, style: {
|
123
124
|
paddingLeft: `${level * (stepPaddingInRem ?? 1)}rem`,
|
124
125
|
display: 'flex',
|
125
|
-
}, children: [
|
126
|
+
}, children: [_jsxDEV("div", { className: "tree-view__node__icon workflow-manager__explorer__workflow-tree__node__icon", children: [_jsxDEV("div", { className: "workflow-manager__explorer__workflow-tree__node__icon__expand", children: expandIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 389, columnNumber: 11 }, this), _jsxDEV("div", { className: "workflow-manager__explorer__workflow-tree__node__icon__type", children: nodeIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 392, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 388, columnNumber: 9 }, this), node instanceof WorkflowTreeNodeData && (_jsxDEV("a", { className: "workflow-manager__item__link", rel: "noopener noreferrer", target: "_blank", href: node.workflow.webURL, title: "See workflow detail", children: _jsxDEV("div", { className: "workflow-manager__item__link__content", children: [_jsxDEV("span", { className: "workflow-manager__item__link__content__id", children: ["#", node.label] }, void 0, true, { fileName: _jsxFileName, lineNumber: 405, columnNumber: 15 }, this), _jsxDEV("span", { className: "workflow-manager__item__link__content__created-at", children: `created ${formatDistanceToNow(node.workflow.createdAt, {
|
126
127
|
includeSeconds: true,
|
127
128
|
addSuffix: true,
|
128
|
-
})}` })] }) })), node instanceof WorkflowJobTreeNodeData && (
|
129
|
+
})}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 408, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 404, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 396, columnNumber: 51 }, this)), node instanceof WorkflowJobTreeNodeData && (_jsxDEV("a", { className: "workflow-manager__item__link", rel: "noopener noreferrer", target: "_blank", href: node.workflowJob.webURL, title: "See job detail", children: _jsxDEV("div", { className: "workflow-manager__item__link__content", children: [_jsxDEV("span", { className: "workflow-manager__item__link__content__id", children: node.workflowJob.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 426, columnNumber: 15 }, this), _jsxDEV("span", { className: "workflow-manager__item__link__content__created-at", children: `created ${formatDistanceToNow(node.workflowJob.createdAt, {
|
129
130
|
includeSeconds: true,
|
130
131
|
addSuffix: true,
|
131
|
-
})}` })] }) }))] }) }));
|
132
|
+
})}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 429, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 425, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 417, columnNumber: 54 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 378, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 366, columnNumber: 11 }, this));
|
132
133
|
};
|
133
134
|
export const WorkflowManager = observer((props) => {
|
134
135
|
const applicationStore = useApplicationStore();
|
135
136
|
const workflowManagerState = props.workflowManagerState;
|
136
137
|
const isDispatchingAction = workflowManagerState.fetchWorkflowsState.isInProgress ||
|
137
138
|
Boolean(workflowManagerState.workflowStates.find((e) => e.isExecutingWorkflowRequest));
|
138
|
-
const renderWorkflowContent = () => (
|
139
|
+
const renderWorkflowContent = () => (_jsxDEV(_Fragment, { children: [workflowManagerState.workflowStates.map((workflowState) => {
|
139
140
|
const onNodeSelect = (node) => {
|
140
141
|
workflowState.onTreeNodeSelect(node, workflowState.treeData);
|
141
142
|
};
|
@@ -147,20 +148,20 @@ export const WorkflowManager = observer((props) => {
|
|
147
148
|
}
|
148
149
|
return [];
|
149
150
|
};
|
150
|
-
return (
|
151
|
+
return (_jsxDEV(TreeView, { components: {
|
151
152
|
TreeNodeContainer: WorkflowTreeNodeContainer,
|
152
153
|
}, treeData: workflowState.treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
|
153
154
|
workflowManagerState,
|
154
155
|
workflowState: workflowState,
|
155
156
|
treeData: workflowState.treeData,
|
156
|
-
} }, workflowState.uuid));
|
157
|
-
}), workflowManagerState.logState.job && (
|
157
|
+
} }, workflowState.uuid, false, { fileName: _jsxFileName, lineNumber: 471, columnNumber: 19 }, this));
|
158
|
+
}), workflowManagerState.logState.job && (_jsxDEV(WorkflowJobLogsViewer, { logState: workflowManagerState.logState, workflowState: workflowManagerState }, void 0, false, { fileName: _jsxFileName, lineNumber: 488, columnNumber: 48 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 454, columnNumber: 59 }, this));
|
158
159
|
const refresh = applicationStore.guardUnhandledError(() => flowResult(workflowManagerState.fetchAllWorkflows()));
|
159
160
|
useEffect(() => {
|
160
161
|
flowResult(workflowManagerState.fetchAllWorkflows()).catch(applicationStore.alertUnhandledError);
|
161
162
|
}, [applicationStore, workflowManagerState]);
|
162
|
-
return (
|
163
|
+
return (_jsxDEV("div", { className: "panel workflow-manager", children: [_jsxDEV("div", { className: "panel__header side-bar__header", children: [_jsxDEV("div", { className: "panel__header__title workflow-manager__header__title", children: _jsxDEV("div", { className: "panel__header__title__content side-bar__header__title__content", children: "WORKFLOW MANAGER" }, void 0, false, { fileName: _jsxFileName, lineNumber: 510, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 509, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__header__actions side-bar__header__actions", children: _jsxDEV("button", { className: clsx('panel__header__action side-bar__header__action workflow-manager__refresh-btn', {
|
163
164
|
'workflow-manager__refresh-btn--loading': isDispatchingAction,
|
164
|
-
}), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children:
|
165
|
+
}), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 527, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 515, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 514, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 508, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content side-bar__content", children: [_jsxDEV(PanelLoadingIndicator, { isLoading: isDispatchingAction }, void 0, false, { fileName: _jsxFileName, lineNumber: 532, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel side-bar__panel", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: _jsxDEV("div", { className: "panel__header__title__content", children: "WORKFLOWS" }, void 0, false, { fileName: _jsxFileName, lineNumber: 536, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 535, columnNumber: 15 }, this), _jsxDEV("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: workflowManagerState.workflowStates.length }, void 0, false, { fileName: _jsxFileName, lineNumber: 538, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 534, columnNumber: 13 }, this), _jsxDEV(PanelContent, { children: renderWorkflowContent() }, void 0, false, { fileName: _jsxFileName, lineNumber: 547, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 533, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 531, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 506, columnNumber: 13 }, this));
|
165
166
|
});
|
166
167
|
//# 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,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9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SAAS,YAEf,KAAC,WAAW,KAAG,GACR,GACL,IACF,EACN,eAAK,SAAS,EAAC,kCAAkC,aAC/C,KAAC,qBAAqB,IAAC,SAAS,EAAE,mBAAmB,GAAI,EACzD,eAAK,SAAS,EAAC,uBAAuB,aACpC,eAAK,SAAS,EAAC,eAAe,aAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,+BAA+B,0BAAgB,GAC1D,EACN,cACE,SAAS,EAAC,wCAAwC,iBAEhD,qBAAqB,CAAC,mCAAmC,YAG1D,oBAAoB,CAAC,cAAc,CAAC,MAAM,GACvC,IACF,EACN,KAAC,YAAY,cAAE,qBAAqB,EAAE,GAAgB,IAClD,IACF,IACF,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,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,mB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sFACF,uFACF,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-runtime").JSX.Element) & {
|
16
|
+
export declare const WorkspaceReviewDiffs: (() => import("react/jsx-dev-runtime").JSX.Element) & {
|
17
17
|
displayName: string;
|
18
18
|
};
|
19
|
-
export declare const WorkspaceReview: (() => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
export declare const WorkspaceReview: (() => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=WorkspaceReview.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/side-bar/WorkspaceReview.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -37,10 +38,10 @@ export const WorkspaceReviewDiffs = observer(() => {
|
|
37
38
|
diff.oldPath === currentTabState.fromEntityPath &&
|
38
39
|
diff.newPath === currentTabState.toEntityPath;
|
39
40
|
const openChange = (diff) => () => workspaceReviewState.openReviewChange(diff);
|
40
|
-
return (
|
41
|
+
return (_jsxDEV("div", { className: "panel side-bar__panel workspace-review__diffs", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: [_jsxDEV("div", { className: "panel__header__title__content", children: "CHANGES" }, void 0, false, { fileName: _jsxFileName, lineNumber: 63, columnNumber: 11 }, this), _jsxDEV("div", { className: "side-bar__panel__title__info", title: "All changes made in the workspace since the revision the workspace is created", children: _jsxDEV(InfoCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 64, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 62, columnNumber: 9 }, this), _jsxDEV("div", { className: "side-bar__panel__header__changes-count", "data-testid": LEGEND_STUDIO_TEST_ID.SIDEBAR_PANEL_HEADER__CHANGES_COUNT, children: changes.length }, void 0, false, { fileName: _jsxFileName, lineNumber: 71, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 7 }, this), _jsxDEV(PanelContent, { children: changes
|
41
42
|
.slice()
|
42
43
|
.sort(entityDiffSorter)
|
43
|
-
.map((diff) => (
|
44
|
+
.map((diff) => (_jsxDEV(EntityDiffSideBarItem, { diff: diff, isSelected: isSelectedDiff(diff), openDiff: openChange(diff) }, diff.key, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 27 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 11 }, this));
|
44
45
|
});
|
45
46
|
export const WorkspaceReview = observer(() => {
|
46
47
|
const editorStore = useEditorStore();
|
@@ -121,15 +122,15 @@ export const WorkspaceReview = observer(() => {
|
|
121
122
|
reviewTitleInputRef.current?.focus();
|
122
123
|
}
|
123
124
|
}, [editorStore.activeActivity]);
|
124
|
-
return (
|
125
|
+
return (_jsxDEV("div", { className: "panel workspace-review", children: [_jsxDEV("div", { className: "panel__header side-bar__header", children: [_jsxDEV("div", { className: "panel__header__title workspace-review__header__title", children: _jsxDEV("div", { className: "panel__header__title__content side-bar__header__title__content", children: "REVIEW" }, void 0, false, { fileName: _jsxFileName, lineNumber: 209, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 208, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header__actions side-bar__header__actions", children: [_jsxDEV("button", { className: clsx('panel__header__action side-bar__header__action workspace-review__refresh-btn', {
|
125
126
|
'workspace-review__refresh-btn--loading': workspaceReviewState.isRefreshingWorkspaceChangesDetector,
|
126
|
-
}), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children:
|
127
|
+
}), disabled: isDispatchingAction, onClick: refresh, tabIndex: -1, title: "Refresh", children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 227, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 11 }, this), _jsxDEV("button", { className: "panel__header__action side-bar__header__action workspace-review__close-btn", disabled: !workspaceReview || isDispatchingAction, onClick: closeReview, tabIndex: -1, title: "Close review", children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 236, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 229, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 213, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 207, columnNumber: 7 }, this), _jsxDEV("div", { className: "panel__content side-bar__content", children: [_jsxDEV(PanelLoadingIndicator, { isLoading: isDispatchingAction }, void 0, false, { fileName: _jsxFileName, lineNumber: 241, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel workspace-review", children: [!workspaceReview && (_jsxDEV(_Fragment, { children: _jsxDEV("form", { className: "workspace-review__title", onSubmit: (event) => {
|
127
128
|
event.preventDefault();
|
128
|
-
}, children: [
|
129
|
+
}, children: [_jsxDEV("div", { className: "workspace-review__title__content", children: _jsxDEV("input", { className: "workspace-review__title__content__input input--dark", ref: reviewTitleInputRef, spellCheck: false, value: workspaceReviewState.reviewTitle, disabled: Boolean(workspaceReview), onChange: editReviewTitle, placeholder: "Title" }, void 0, false, { fileName: _jsxFileName, lineNumber: 252, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 251, columnNumber: 17 }, this), _jsxDEV("button", { className: clsx('btn--dark btn--sm', {
|
129
130
|
'btn--error': workspaceContainsSnapshotDependencies,
|
130
|
-
}), onClick: createReview, disabled: isCreateReviewDisabled, title: createReviewTitle, children:
|
131
|
+
}), onClick: createReview, disabled: isCreateReviewDisabled, title: createReviewTitle, children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 270, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 262, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 245, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 243, columnNumber: 33 }, this)), workspaceReview && (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "workspace-review__title", children: [_jsxDEV("div", { className: "workspace-review__title__content", children: _jsxDEV("div", { className: "workspace-review__title__content__input workspace-review__title__content__input--with-link", title: "See review detail", children: _jsxDEV("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: [_jsxDEV("span", { className: "workspace-review__title__content__input__link__review-name", children: workspaceReview.title }, void 0, false, { fileName: _jsxFileName, lineNumber: 297, columnNumber: 23 }, this), _jsxDEV("div", { className: "workspace-review__title__content__input__link__btn", children: _jsxDEV(ExternalLinkSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 301, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 300, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 283, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 279, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 278, columnNumber: 17 }, this), _jsxDEV("button", { className: clsx('btn--dark btn--sm workspace-review__merge-review-btn', { 'btn--error': workspaceContainsSnapshotDependencies }), onClick: commitReview, disabled: isCommitReviewDisabled, tabIndex: -1, title: commitReviewTitle, children: _jsxDEV(TruncatedGitMergeIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 316, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 306, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 277, columnNumber: 15 }, this), _jsxDEV("div", { className: "workspace-review__title__content__review-status", children: `created ${formatDistanceToNow(workspaceReview.createdAt, {
|
131
132
|
includeSeconds: true,
|
132
133
|
addSuffix: true,
|
133
|
-
})}` })] })),
|
134
|
+
})}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 319, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 275, columnNumber: 32 }, this)), _jsxDEV(WorkspaceReviewDiffs, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 327, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 240, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 205, columnNumber: 11 }, this));
|
134
135
|
});
|
135
136
|
//# sourceMappingURL=WorkspaceReview.js.map
|