@finos/legend-application-studio 28.17.10 → 28.17.12
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 +12 -12
- 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/editor-group/service-editor/ServiceEditor.tsx";
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -180,23 +179,23 @@ const ServiceGeneralEditor = observer(() => {
|
|
180
179
|
useEffect(() => {
|
181
180
|
patternRef.current?.focus();
|
182
181
|
}, [serviceState]);
|
183
|
-
return (
|
182
|
+
return (_jsxs(PanelContentLists, { className: "service-editor__general", children: [_jsx(PanelForm, { children: _jsx(PanelFormValidatedTextField, { ref: patternRef, name: "URL Pattern", isReadOnly: isReadOnly, className: "service-editor__pattern__input", errorMessageClassName: "service-editor__pattern__input", prompt: _jsxs(_Fragment, { children: ["Specifies the URL pattern of the service (e.g. /myService/", _jsx("span", { className: "service-editor__pattern__example__param", children: `{param}` }), ")"] }), update: (value) => {
|
184
183
|
updatePattern(value ?? '');
|
185
|
-
}, validate: getValidationMessage, value: pattern }
|
186
|
-
service.patternParameters.map((parameter) => (
|
187
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
184
|
+
}, validate: getValidationMessage, value: pattern }) }), _jsx(PanelForm, { children: _jsxs("div", { className: "panel__content__form__section service-editor__parameters", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Parameters" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "URL parameters (each must be surrounded by curly braces) will be passed as arguments for the execution query. Note that if the service is configured to use multi-execution, one of the URL parameters must be chosen as the execution key." }), _jsxs("div", { className: "service-editor__parameters__list", children: [!service.patternParameters.length && (_jsx("div", { className: "service-editor__parameters__list__empty", children: "No parameter" })), Boolean(service.patternParameters.length) &&
|
185
|
+
service.patternParameters.map((parameter) => (_jsxs("div", { className: "service-editor__parameter", children: [_jsx("div", { className: "service-editor__parameter__text", children: parameter }), _jsx("div", { className: "service-editor__parameter__actions", children: _jsx("button", { className: "service-editor__parameter__action", disabled: isReadOnly, onClick: removePatternParameter(parameter), title: "Remove parameter", tabIndex: -1, children: _jsx(TimesIcon, {}) }) })] }, parameter)))] })] }) }), _jsx(PanelForm, { children: _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Documentation" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: `Provide a brief description of the service's functionalities and usage` }), _jsx("textarea", { className: "panel__content__form__section__textarea service-editor__documentation__input", spellCheck: false, disabled: isReadOnly, value: service.documentation, onChange: changeDocumentation })] }) }), _jsx(PanelForm, { children: _jsx(PanelFormBooleanField, { isReadOnly: isReadOnly, value: service.autoActivateUpdates, name: "Auto Activate Updates", prompt: "Specifies if the new generation should be automatically activated;\n only valid when latest revision is selected upon service\n registration", update: toggleAutoActivateUpdates }) }), _jsxs(PanelForm, { children: [owners.length === 0 && (_jsxs("div", { children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Ownership" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "The ownership model you want to use to control your service." }), _jsx(CustomSelectorInput, { options: OWNERSHIP_OPTIONS, onChange: onOwnershipChange, value: serviceState.selectedOwnership, darkMode: !applicationStore.layoutService
|
186
|
+
.TEMPORARY__isLightColorThemeEnabled })] }), ownership instanceof DeploymentOwnership && (_jsx("div", { className: "panel__content__form__section", children: _jsxs("div", { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Deployment Identifier :" }), _jsx("input", { className: "panel__content__form__section__input", spellCheck: false, disabled: isReadOnly, value: ownership.identifier, onChange: updateDeploymentIdentifier })] }) })), ownership instanceof UserListOwnership && (_jsx("div", { className: "panel__content__form__section", children: _jsxs("div", { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Users :" }), _jsxs("div", { className: "panel__content__form__section__list", children: [_jsxs("div", { className: "panel__content__form__section__list__items", "data-testid": LEGEND_STUDIO_TEST_ID.PANEL_CONTENT_FORM_SECTION_LIST_ITEMS, children: [ownership.users.map((value, idx) => (_jsx("div", { className: showOwnerEditInput === idx
|
188
187
|
? 'panel__content__form__section__list__new-item'
|
189
|
-
: 'panel__content__form__section__list__item', children: showOwnerEditInput === idx ? (
|
190
|
-
ownership.users.includes(ownerInputValue), onClick: updateUser(idx), tabIndex: -1, children: "Save" }
|
191
|
-
.TEMPORARY__isLightColorThemeEnabled, onInputChange: onSearchTextChange, onChange: onUserOptionChange, isMulti: true }
|
192
|
-
ownerInputs.some((i) => ownership.users.includes(i)), onClick: addUser, tabIndex: -1, children: "Save" }
|
193
|
-
showOwnerEditInput !== true && (
|
194
|
-
owners).` }
|
188
|
+
: 'panel__content__form__section__list__item', children: showOwnerEditInput === idx ? (_jsxs(_Fragment, { children: [_jsx("input", { className: "panel__content__form__section__input panel__content__form__section__list__new-item__input", spellCheck: false, disabled: isReadOnly, value: ownerInputValue, onChange: changeUserOwnerInputValue }), _jsxs("div", { className: "panel__content__form__section__list__new-item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly ||
|
189
|
+
ownership.users.includes(ownerInputValue), onClick: updateUser(idx), tabIndex: -1, children: "Save" }), _jsx("button", { className: "panel__content__form__section__list__new-item__cancel-btn btn btn--dark", disabled: isReadOnly, onClick: hideAddOrEditOwnerInput, tabIndex: -1, children: "Cancel" })] })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value }), _jsxs("div", { className: "panel__content__form__section__list__item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__item__edit-btn", disabled: isReadOnly, onClick: showEditOwnerInput(value, idx), tabIndex: -1, children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "panel__content__form__section__list__item__remove-btn", disabled: isReadOnly, onClick: deleteUser(idx), tabIndex: -1, children: _jsx(TimesIcon, {}) })] })] })) }, value))), showOwnerEditInput === true && (_jsxs("div", { className: "panel__content__form__section__list__new-item", children: [_jsx(CustomSelectorInput, { className: "service-editor__owner__selector", placeholder: "Enter an owner...", spellCheck: false, inputValue: searchText, options: userOptions, allowCreating: true, isLoading: isLoadingUsers, disabled: isReadOnly, darkMode: !applicationStore.layoutService
|
190
|
+
.TEMPORARY__isLightColorThemeEnabled, onInputChange: onSearchTextChange, onChange: onUserOptionChange, isMulti: true }), _jsxs("div", { className: "panel__content__form__section__list__new-item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark service-editor__owner__action", disabled: isReadOnly ||
|
191
|
+
ownerInputs.some((i) => ownership.users.includes(i)), onClick: addUser, tabIndex: -1, children: "Save" }), _jsx("button", { className: "panel__content__form__section__list__new-item__cancel-btn btn btn--dark service-editor__owner__action", disabled: isReadOnly, onClick: hideAddOrEditOwnerInput, tabIndex: -1, children: "Cancel" })] })] }))] }), ownership.users.length < MINIMUM_SERVICE_OWNERS &&
|
192
|
+
showOwnerEditInput !== true && (_jsxs("div", { className: "service-editor__owner__validation", title: `${MINIMUM_SERVICE_OWNERS} owners required`, children: [_jsx(ErrorIcon, {}), _jsxs("div", { className: "service-editor__owner__validation-label", children: ["Service requires at least ", MINIMUM_SERVICE_OWNERS, ' ', "owners"] })] })), showOwnerEditInput !== true && (_jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly, onClick: showAddOwnerInput, tabIndex: -1, title: "Add owner", children: "Add Value" }) }))] })] }) }))] })), owners.length > 0 && (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Owners (deprecated)" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: `Specifies who can manage and operate the service (requires minimum ${MINIMUM_SERVICE_OWNERS}
|
193
|
+
owners).` }), _jsxs("div", { className: "panel__content__form__section__list", children: [_jsxs("div", { className: "panel__content__form__section__list__items", "data-testid": LEGEND_STUDIO_TEST_ID.PANEL_CONTENT_FORM_SECTION_LIST_ITEMS, children: [owners.map((value, idx) => (_jsx("div", { className: showOwnerEditInput === idx
|
195
194
|
? 'panel__content__form__section__list__new-item'
|
196
|
-
: 'panel__content__form__section__list__item', children: showOwnerEditInput === idx ? (
|
197
|
-
.TEMPORARY__isLightColorThemeEnabled, onInputChange: onSearchTextChange, onChange: onUserOptionChange, isMulti: true }
|
198
|
-
ownerInputs.some((i) => owners.includes(i)), onClick: addOwner, tabIndex: -1, children: "Save" }
|
199
|
-
showOwnerEditInput !== true && (
|
195
|
+
: 'panel__content__form__section__list__item', children: showOwnerEditInput === idx ? (_jsxs(_Fragment, { children: [_jsx("input", { className: "panel__content__form__section__input panel__content__form__section__list__new-item__input", spellCheck: false, disabled: isReadOnly, value: ownerInputValue, onChange: changeOwnerInputValue }), _jsxs("div", { className: "panel__content__form__section__list__new-item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly || owners.includes(ownerInputValue), onClick: updateOwner(idx), tabIndex: -1, children: "Save" }), _jsx("button", { className: "panel__content__form__section__list__new-item__cancel-btn btn btn--dark", disabled: isReadOnly, onClick: hideAddOrEditOwnerInput, tabIndex: -1, children: "Cancel" })] })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value }), _jsxs("div", { className: "panel__content__form__section__list__item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__item__edit-btn", disabled: isReadOnly, onClick: showEditOwnerInput(value, idx), tabIndex: -1, children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "panel__content__form__section__list__item__remove-btn", disabled: isReadOnly, onClick: deleteOwner(idx), tabIndex: -1, children: _jsx(TimesIcon, {}) })] })] })) }, value))), showOwnerEditInput === true && (_jsxs("div", { className: "panel__content__form__section__list__new-item", children: [_jsx(CustomSelectorInput, { className: "service-editor__owner__selector", placeholder: "Enter an owner...", spellCheck: false, inputValue: searchText, options: userOptions, allowCreating: true, isLoading: isLoadingUsers, disabled: isReadOnly, darkMode: !applicationStore.layoutService
|
196
|
+
.TEMPORARY__isLightColorThemeEnabled, onInputChange: onSearchTextChange, onChange: onUserOptionChange, isMulti: true }), _jsxs("div", { className: "panel__content__form__section__list__new-item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark service-editor__owner__action", disabled: isReadOnly ||
|
197
|
+
ownerInputs.some((i) => owners.includes(i)), onClick: addOwner, tabIndex: -1, children: "Save" }), _jsx("button", { className: "panel__content__form__section__list__new-item__cancel-btn btn btn--dark service-editor__owner__action", disabled: isReadOnly, onClick: hideAddOrEditOwnerInput, tabIndex: -1, children: "Cancel" })] })] }))] }), owners.length < MINIMUM_SERVICE_OWNERS &&
|
198
|
+
showOwnerEditInput !== true && (_jsxs("div", { className: "service-editor__owner__validation", title: `${MINIMUM_SERVICE_OWNERS} owners required`, children: [_jsx(ErrorIcon, {}), _jsxs("div", { className: "service-editor__owner__validation-label", children: ["Service requires at least ", MINIMUM_SERVICE_OWNERS, " owners"] })] })), showOwnerEditInput !== true && (_jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly, onClick: showAddOwnerInput, tabIndex: -1, title: "Add owner", children: "Add Value" }) }))] })] }))] })] }));
|
200
199
|
});
|
201
200
|
export const ServiceEditor = observer(() => {
|
202
201
|
const editorStore = useEditorStore();
|
@@ -209,15 +208,15 @@ export const ServiceEditor = observer(() => {
|
|
209
208
|
const renderServiceEditorTab = () => {
|
210
209
|
switch (selectedTab) {
|
211
210
|
case SERVICE_TAB.GENERAL:
|
212
|
-
return
|
211
|
+
return _jsx(ServiceGeneralEditor, {});
|
213
212
|
case SERVICE_TAB.EXECUTION:
|
214
|
-
return
|
213
|
+
return _jsx(ServiceExecutionEditor, {});
|
215
214
|
case SERVICE_TAB.REGISTRATION:
|
216
|
-
return
|
215
|
+
return _jsx(ServiceRegistrationEditor, {});
|
217
216
|
case SERVICE_TAB.TEST:
|
218
|
-
return (
|
217
|
+
return (_jsx(ServiceTestableEditor, { serviceTestableState: serviceState.testableState }));
|
219
218
|
case SERVICE_TAB.POST_VALIDATION:
|
220
|
-
return (
|
219
|
+
return (_jsx(ServicePostValidationsEditor, { validationState: serviceState.postValidationState }));
|
221
220
|
default:
|
222
221
|
return null;
|
223
222
|
}
|
@@ -236,9 +235,9 @@ export const ServiceEditor = observer(() => {
|
|
236
235
|
default:
|
237
236
|
break;
|
238
237
|
}
|
239
|
-
return doc ?
|
238
|
+
return doc ? _jsx(DocumentationLink, { documentationKey: doc }) : null;
|
240
239
|
};
|
241
|
-
return (
|
240
|
+
return (_jsx("div", { className: "service-editor", children: _jsxs("div", { className: "panel", children: [_jsx("div", { className: "panel__header", children: _jsxs("div", { className: "panel__header__title", children: [isReadOnly && (_jsx("div", { className: "uml-element-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "panel__header__title__label", children: "service" }), _jsx("div", { className: "panel__header__title__content", children: service.name })] }) }), _jsx("div", { className: "panel__header service-editor__header--with-tabs", children: _jsx("div", { className: "uml-element-editor__tabs", children: Object.values(SERVICE_TAB)
|
242
241
|
.filter((tab) => {
|
243
242
|
if (tab === SERVICE_TAB.REGISTRATION) {
|
244
243
|
return Boolean(editorStore.applicationStore.config.options
|
@@ -246,8 +245,8 @@ export const ServiceEditor = observer(() => {
|
|
246
245
|
}
|
247
246
|
return true;
|
248
247
|
})
|
249
|
-
.map((tab) => (
|
248
|
+
.map((tab) => (_jsxs("div", { onClick: changeTab(tab), className: clsx('service-editor__tab', {
|
250
249
|
'service-editor__tab--active': tab === selectedTab,
|
251
|
-
}), children: [prettyCONSTName(tab), renderTabDocLInk(tab)] }, tab
|
250
|
+
}), children: [prettyCONSTName(tab), renderTabDocLInk(tab)] }, tab))) }) }), _jsx("div", { className: "panel__content service-editor__content", children: renderServiceEditorTab() })] }) }));
|
252
251
|
});
|
253
252
|
//# sourceMappingURL=ServiceEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ServiceEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/service-editor/ServiceEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,WAAW,EACX,iBAAiB,GAElB,MAAM,2FAA2F,CAAC;AACnG,OAAO,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,SAAS,EACT,SAAS,EACT,qBAAqB,EACrB,SAAS,EACT,mBAAmB,EACnB,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,8BAA8B,EAC9B,8BAA8B,EAC9B,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAC3B,oCAAoC,GACrC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,+BAA+B,EAC/B,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gDAAgD,EAAE,MAAM,iEAAiE,CAAC;AACnI,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,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ACpB,gBAAgB,CAAC,GAAG,CAAC,KAPjB,GAAG,4EAQJ,CACP,CAAC,uFACA,sFACF,EACN,iBAAK,SAAS,EAAC,wCAAwC,YACpD,sBAAsB,EAAE,sFACrB,sFACF,uFACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"ServiceEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/service-editor/ServiceEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sBAAsB,EACtB,kBAAkB,EAClB,WAAW,EACX,iBAAiB,GAElB,MAAM,2FAA2F,CAAC;AACnG,OAAO,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,SAAS,EACT,SAAS,EACT,qBAAqB,EACrB,SAAS,EACT,mBAAmB,EACnB,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,8BAA8B,EAC9B,8BAA8B,EAC9B,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAC3B,oCAAoC,GACrC,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,+BAA+B,EAC/B,mBAAmB,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AG,KAAK,WAAW;6BACnD,CAAC,aAED,eAAe,CAAC,GAAG,CAAC,EACpB,gBAAgB,CAAC,GAAG,CAAC,KAPjB,GAAG,CAQJ,CACP,CAAC,GACA,GACF,EACN,cAAK,SAAS,EAAC,wCAAwC,YACpD,sBAAsB,EAAE,GACrB,IACF,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -17,16 +17,16 @@ import { ServicePureExecutionState, MultiServicePureExecutionState } from '../..
|
|
17
17
|
export declare const ChangeExecutionModal: ((props: {
|
18
18
|
executionState: ServicePureExecutionState;
|
19
19
|
isReadOnly: boolean;
|
20
|
-
}) => import("react/jsx-
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
21
21
|
displayName: string;
|
22
22
|
};
|
23
23
|
export declare const NewExecutionParameterModal: ((props: {
|
24
24
|
executionState: MultiServicePureExecutionState;
|
25
25
|
isReadOnly: boolean;
|
26
|
-
}) => import("react/jsx-
|
26
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
27
27
|
displayName: string;
|
28
28
|
};
|
29
|
-
export declare const ServiceExecutionEditor: (() => import("react/jsx-
|
29
|
+
export declare const ServiceExecutionEditor: (() => import("react/jsx-runtime").JSX.Element) & {
|
30
30
|
displayName: string;
|
31
31
|
};
|
32
32
|
//# sourceMappingURL=ServiceExecutionEditor.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/editor-group/service-editor/ServiceExecutionEditor.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -43,7 +42,7 @@ const PureExecutionContextConfigurationEditor = observer((props) => {
|
|
43
42
|
const isMappingEmpty = validate_PureExecutionMapping(executionContext.mapping.value);
|
44
43
|
const mapping = executionContext.mapping.value;
|
45
44
|
const mappingOptions = editorStore.graphManagerState.usableMappings.map(buildElementOption);
|
46
|
-
const noMappingLabel = (
|
45
|
+
const noMappingLabel = (_jsxs("div", { className: "service-execution-editor__configuration__mapping-option--empty", title: isMappingEmpty?.messages.join('\n') ?? '', children: [_jsx("div", { className: "service-execution-editor__configuration__mapping-option--empty__label", children: "(none)" }), _jsx(ErrorIcon, {})] }));
|
47
46
|
const selectedMappingOption = {
|
48
47
|
value: mapping,
|
49
48
|
label: isMappingEmpty ? noMappingLabel : mapping.path,
|
@@ -58,7 +57,7 @@ const PureExecutionContextConfigurationEditor = observer((props) => {
|
|
58
57
|
// runtime
|
59
58
|
const runtime = executionContext.runtime;
|
60
59
|
const isRuntimePointer = runtime instanceof RuntimePointer;
|
61
|
-
const customRuntimeLabel = (
|
60
|
+
const customRuntimeLabel = (_jsxs("div", { className: "service-execution-editor__configuration__runtime-option--custom", children: [_jsx(CogIcon, {}), _jsx("div", { className: "service-execution-editor__configuration__runtime-option--custom__label", children: CUSTOM_LABEL })] }));
|
62
61
|
// only show custom runtime option when a runtime pointer is currently selected
|
63
62
|
let runtimeOptions = !isRuntimePointer
|
64
63
|
? []
|
@@ -76,9 +75,9 @@ const PureExecutionContextConfigurationEditor = observer((props) => {
|
|
76
75
|
: undefined;
|
77
76
|
const selectedRuntimeOption = {
|
78
77
|
value: runtime,
|
79
|
-
label: runtime instanceof RuntimePointer ? (
|
78
|
+
label: runtime instanceof RuntimePointer ? (_jsxs("div", { className: "service-execution-editor__configuration__runtime-option__pointer", title: undefined, children: [_jsx("div", { className: clsx('service-execution-editor__configuration__runtime-option__pointer__label', {
|
80
79
|
'service-execution-editor__configuration__runtime-option__pointer__label--with-warning': Boolean(runtimePointerWarning),
|
81
|
-
}), children: runtime.packageableRuntime.value.path }
|
80
|
+
}), children: runtime.packageableRuntime.value.path }), runtimePointerWarning && (_jsx("div", { className: "service-execution-editor__configuration__runtime-option__pointer__warning", title: runtimePointerWarning, children: _jsx(ExclamationTriangleIcon, {}) }))] })) : (customRuntimeLabel),
|
82
81
|
};
|
83
82
|
const onRuntimeSelectionChange = (val) => {
|
84
83
|
if (val.value === undefined) {
|
@@ -120,9 +119,9 @@ const PureExecutionContextConfigurationEditor = observer((props) => {
|
|
120
119
|
}), [handleMappingOrRuntimeDrop]);
|
121
120
|
// close runtime editor as we leave service editor
|
122
121
|
useEffect(() => () => pureExecutionState.closeRuntimeEditor(), [executionContextState, pureExecutionState]);
|
123
|
-
return (
|
124
|
-
.TEMPORARY__isLightColorThemeEnabled, hasError: isMappingEmpty }
|
125
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
122
|
+
return (_jsx(PanelContent, { children: _jsx(PanelDropZone, { dropTargetConnector: dropMappingOrRuntimeRef, isDragOver: isMappingOrRuntimeDragOver && !isReadOnly, children: _jsxs("div", { className: "service-execution-editor__configuration__items", children: [_jsxs("div", { className: "service-execution-editor__configuration__item", children: [_jsx("div", { className: "btn--sm service-execution-editor__configuration__item__label", children: _jsx(PURE_MappingIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown service-execution-editor__configuration__item__dropdown", disabled: isReadOnly, options: mappingOptions, onChange: onMappingSelectionChange, value: selectedMappingOption, darkMode: !applicationStore.layoutService
|
123
|
+
.TEMPORARY__isLightColorThemeEnabled, hasError: isMappingEmpty }), _jsx("button", { className: "btn--dark btn--sm service-execution-editor__configuration__item__btn", onClick: visitMapping, tabIndex: -1, title: "See mapping", children: _jsx(LongArrowRightIcon, {}) })] }), _jsxs("div", { className: "service-execution-editor__configuration__item", children: [_jsx("div", { className: "btn--sm service-execution-editor__configuration__item__label", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown service-execution-editor__configuration__item__dropdown", disabled: isReadOnly, options: runtimeOptions, onChange: onRuntimeSelectionChange, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
|
124
|
+
.TEMPORARY__isLightColorThemeEnabled }), !isRuntimePointer && (_jsx("button", { className: "btn--sm btn--dark service-execution-editor__configuration__item__btn", disabled: Boolean(isReadOnly || isMappingEmpty), onClick: openRuntimeEditor, tabIndex: -1, title: isReadOnly ? 'See runtime' : 'Configure custom runtime', children: _jsx(CogIcon, {}) })), isRuntimePointer && (_jsx("button", { className: "btn--sm btn--dark service-execution-editor__configuration__item__btn", onClick: visitRuntime, tabIndex: -1, title: "See runtime", children: _jsx(LongArrowRightIcon, {}) })), _jsx(EmbeddedRuntimeEditor, { runtimeEditorState: pureExecutionState.runtimeEditorState, isReadOnly: serviceState.isReadOnly, onClose: () => pureExecutionState.closeRuntimeEditor() })] })] }) }) }));
|
126
125
|
});
|
127
126
|
export const ChangeExecutionModal = observer((props) => {
|
128
127
|
const { executionState, isReadOnly } = props;
|
@@ -136,7 +135,7 @@ export const ChangeExecutionModal = observer((props) => {
|
|
136
135
|
const onChange = (event) => {
|
137
136
|
executionState.setMultiExecutionKey(event.target.value);
|
138
137
|
};
|
139
|
-
return (
|
138
|
+
return (_jsx(InputWithInlineValidation, { className: "service-execution-editor__input input-group__input", spellCheck: false, value: keyValue, onChange: onChange, placeholder: "Multi Execution Key Name", error: validationMessage }));
|
140
139
|
}
|
141
140
|
else if (executionState instanceof MultiServicePureExecutionState) {
|
142
141
|
const currentOption = executionState.singleExecutionKey
|
@@ -157,22 +156,22 @@ export const ChangeExecutionModal = observer((props) => {
|
|
157
156
|
executionState.setSingleExecutionKey(val.value);
|
158
157
|
}
|
159
158
|
};
|
160
|
-
return (
|
161
|
-
.TEMPORARY__isLightColorThemeEnabled, disable: isReadOnly }
|
159
|
+
return (_jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown", options: multiOptions, onChange: _onChange, value: currentOption, escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
160
|
+
.TEMPORARY__isLightColorThemeEnabled, disable: isReadOnly }));
|
162
161
|
}
|
163
162
|
return null;
|
164
163
|
};
|
165
|
-
return (
|
164
|
+
return (_jsx(Dialog, { open: executionState.showChangeExecModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { onSubmit: (event) => {
|
166
165
|
event.preventDefault();
|
167
166
|
executionState.changeExecution();
|
168
167
|
closeModal();
|
169
|
-
}, className: "modal modal--dark search-modal", children: [
|
168
|
+
}, className: "modal modal--dark search-modal", children: [_jsx("div", { className: "modal__title", children: `Change to ${isChangingToMulti ? 'multi' : 'single'} execution` }), _jsx("div", { className: "service-execution-editor__change__modal", children: renderChangeExecution() }), _jsx("div", { className: "search-modal__actions", children: _jsx("button", { className: "btn btn--dark", disabled: isReadOnly || executionState.isChangeExecutionDisabled(), children: "Change" }) })] }) }));
|
170
169
|
});
|
171
170
|
const PureSingleExecutionEditor = observer((props) => {
|
172
171
|
const { singleExecutionState } = props;
|
173
172
|
// close runtime editor as we leave service editor
|
174
173
|
useEffect(() => () => singleExecutionState.closeRuntimeEditor(), [singleExecutionState]);
|
175
|
-
return (
|
174
|
+
return (_jsx("div", { className: "service-execution-editor__execution", children: _jsx(Panel, { children: _jsx("div", { className: "panel__content service-editor__content", children: _jsx(PureExecutionContextConfigurationEditor, { pureExecutionState: singleExecutionState, executionContextState: singleExecutionState.selectedExecutionContextState }) }) }) }));
|
176
175
|
});
|
177
176
|
const KeyExecutionContextMenu = observer(forwardRef(function TestContainerContextMenu(props, ref) {
|
178
177
|
const { multiExecutionState, keyExecutionParameter } = props;
|
@@ -185,7 +184,7 @@ const KeyExecutionContextMenu = observer(forwardRef(function TestContainerContex
|
|
185
184
|
const add = () => {
|
186
185
|
multiExecutionState.setNewKeyParameterModal(true);
|
187
186
|
};
|
188
|
-
return (
|
187
|
+
return (_jsxs(MenuContent, { ref: ref, children: [_jsx(MenuContentItem, { onClick: rename, children: "Rename" }), _jsx(MenuContentItem, { onClick: remove, children: "Delete" }), _jsx(MenuContentItem, { onClick: add, children: "Create a new key" })] }));
|
189
188
|
}));
|
190
189
|
const KeyExecutionItem = observer((props) => {
|
191
190
|
const { multiExecutionState, keyExecutionParameter, isReadOnly } = props;
|
@@ -195,9 +194,9 @@ const KeyExecutionItem = observer((props) => {
|
|
195
194
|
const openKeyedExecution = () => multiExecutionState.changeKeyedExecutionParameter(keyExecutionParameter);
|
196
195
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
197
196
|
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
198
|
-
return (
|
197
|
+
return (_jsx(ContextMenu, { className: clsx('service-multi-execution-editor__item', {
|
199
198
|
'service-multi-execution-editor__item--selected-from-context-menu': !isActive && isSelectedFromContextMenu,
|
200
|
-
}, { 'service-multi-execution-editor__item--active': isActive }), disabled: isReadOnly, content:
|
199
|
+
}, { 'service-multi-execution-editor__item--active': isActive }), disabled: isReadOnly, content: _jsx(KeyExecutionContextMenu, { multiExecutionState: multiExecutionState, keyExecutionParameter: keyExecutionParameter, isReadOnly: isReadOnly }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsx("button", { className: clsx('service-multi-execution-editor__item__label'), onClick: openKeyedExecution, tabIndex: -1, children: keyExecutionParameter.key }) }));
|
201
200
|
});
|
202
201
|
export const NewExecutionParameterModal = observer((props) => {
|
203
202
|
const [keyValue, setKeyValue] = useState('');
|
@@ -211,12 +210,12 @@ export const NewExecutionParameterModal = observer((props) => {
|
|
211
210
|
const onChange = (event) => {
|
212
211
|
setKeyValue(event.target.value);
|
213
212
|
};
|
214
|
-
return (
|
213
|
+
return (_jsx(Dialog, { open: executionState.newKeyParameterModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { onSubmit: (event) => {
|
215
214
|
event.preventDefault();
|
216
215
|
executionState.addExecutionParameter(keyValue);
|
217
216
|
setKeyValue('');
|
218
217
|
closeModal();
|
219
|
-
}, className: "modal modal--dark search-modal", children: [
|
218
|
+
}, className: "modal modal--dark search-modal", children: [_jsx(ModalTitle, { title: "New Execution Context" }), _jsx("div", { className: "service-execution-editor__change__modal", children: _jsx(InputWithInlineValidation, { className: "service-execution-editor__input input-group__input", spellCheck: false, value: keyValue, onChange: onChange, placeholder: "Key execution name", error: validationMessage }) }), _jsx("div", { className: "search-modal__actions", children: _jsx("button", { className: "btn btn--dark", disabled: isReadOnly || Boolean(validationMessage), children: "Add" }) })] }) }));
|
220
219
|
});
|
221
220
|
const RenameModal = observer((props) => {
|
222
221
|
const { val, isReadOnly, showModal, closeModal, setValue } = props;
|
@@ -224,11 +223,11 @@ const RenameModal = observer((props) => {
|
|
224
223
|
const changeValue = (event) => {
|
225
224
|
setInputValue(event.target.value);
|
226
225
|
};
|
227
|
-
return (
|
226
|
+
return (_jsx(Dialog, { open: showModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { onSubmit: (event) => {
|
228
227
|
event.preventDefault();
|
229
228
|
setValue(inputValue);
|
230
229
|
closeModal();
|
231
|
-
}, className: "modal modal--dark search-modal", children: [
|
230
|
+
}, className: "modal modal--dark search-modal", children: [_jsx(ModalTitle, { title: "Rename" }), _jsx("input", { className: "panel__content__form__section__input", spellCheck: false, disabled: isReadOnly, value: inputValue, onChange: changeValue }), _jsx("div", { className: "search-modal__actions", children: _jsx("button", { className: "btn btn--dark", disabled: isReadOnly, children: "Rename" }) })] }) }));
|
232
231
|
});
|
233
232
|
const MultiPureExecutionEditor = observer((props) => {
|
234
233
|
const { multiExecutionState } = props;
|
@@ -240,7 +239,7 @@ const MultiPureExecutionEditor = observer((props) => {
|
|
240
239
|
const editReviewTitle = (event) => {
|
241
240
|
multiExecutionState.setExecutionKey(event.target.value);
|
242
241
|
};
|
243
|
-
return (
|
242
|
+
return (_jsx("div", { className: "service-execution-editor__execution", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsxs(ResizablePanel, { size: 300, minSize: 200, children: [_jsx("div", { className: "service-multi-execution-editor__header", children: _jsxs("div", { className: "service-multi-execution-editor__header__content", children: [_jsx("div", { className: "btn--sm service-multi-execution-editor__header__content__label", children: _jsx(KeyIcon, {}) }), _jsx("input", { className: "service-multi-execution-editor__header__content__input input--dark", spellCheck: false, value: key, onChange: editReviewTitle, placeholder: "Execution context key" })] }) }), _jsxs("div", { className: "service-multi-execution-editor__panel", children: [_jsxs(PanelHeader, { children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__content", children: "Execution Contexts" }) }), _jsx(PanelHeaderActions, { children: _jsx(PanelHeaderActionItem, { disabled: multiExecutionState.serviceEditorState.isReadOnly, onClick: addExecutionKey, title: "Add an execution context", children: _jsx(PlusIcon, {}) }) })] }), multiExecutionState.keyedExecutionParameters.map((executionParameter) => (_jsx(KeyExecutionItem, { multiExecutionState: multiExecutionState, keyExecutionParameter: executionParameter, isReadOnly: multiExecutionState.serviceEditorState.isReadOnly }, executionParameter.key))), !multiExecutionState.keyedExecutionParameters.length && (_jsx(BlankPanelPlaceholder, { text: "Add an execution context", onClick: addExecutionKey, clickActionType: "add", tooltipText: "Click to add an execution context" }))] }), multiExecutionState.newKeyParameterModal && (_jsx(NewExecutionParameterModal, { executionState: multiExecutionState, isReadOnly: multiExecutionState.serviceEditorState.isReadOnly })), multiExecutionState.renameKey && (_jsx(RenameModal, { val: multiExecutionState.renameKey.key, isReadOnly: multiExecutionState.serviceEditorState.isReadOnly, showModal: true, closeModal: () => multiExecutionState.setRenameKey(undefined), setValue: (val) => multiExecutionState.changeKeyValue(guaranteeNonNullable(multiExecutionState.renameKey), val) }))] }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { minSize: 56, children: multiExecutionState.selectedExecutionContextState ? (_jsx(PureExecutionContextConfigurationEditor, { pureExecutionState: multiExecutionState, executionContextState: multiExecutionState.selectedExecutionContextState })) : (_jsx(BlankPanelPlaceholder, { text: "Add an execution context", onClick: addExecutionKey, clickActionType: "add", tooltipText: "Click to add an execution context" })) })] }) }));
|
244
243
|
});
|
245
244
|
const ServicePureExecutionEditor = observer((props) => {
|
246
245
|
const { servicePureExecutionState, isReadOnly } = props;
|
@@ -254,25 +253,25 @@ const ServicePureExecutionEditor = observer((props) => {
|
|
254
253
|
};
|
255
254
|
const renderExecutionEditor = () => {
|
256
255
|
if (servicePureExecutionState instanceof SingleServicePureExecutionState) {
|
257
|
-
return (
|
256
|
+
return (_jsx(PureSingleExecutionEditor, { singleExecutionState: servicePureExecutionState }));
|
258
257
|
}
|
259
258
|
else if (servicePureExecutionState instanceof MultiServicePureExecutionState) {
|
260
|
-
return (
|
259
|
+
return (_jsx(MultiPureExecutionEditor, { multiExecutionState: servicePureExecutionState }));
|
261
260
|
}
|
262
|
-
return (
|
261
|
+
return (_jsx(UnsupportedEditorPanel, { text: "Can't display this execution in form-mode", isReadOnly: serviceState.isReadOnly }));
|
263
262
|
};
|
264
263
|
if (servicePureExecutionState instanceof InlineServicePureExecutionState) {
|
265
|
-
return (
|
264
|
+
return (_jsx("div", { className: "service-execution-editor", children: _jsx(ServiceExecutionQueryEditor, { executionState: servicePureExecutionState, isReadOnly: isReadOnly }) }));
|
266
265
|
}
|
267
266
|
else {
|
268
|
-
return (
|
267
|
+
return (_jsx("div", { className: "service-execution-editor", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { size: 500, minSize: 28, children: _jsx(ServiceExecutionQueryEditor, { executionState: servicePureExecutionState, isReadOnly: isReadOnly }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { minSize: 56, children: _jsx("div", { className: "service-execution-editor__content", children: _jsxs(Panel, { children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label service-editor__execution__label--test", children: "context" }) }), _jsx("div", { className: "service-multi-execution-editor__actions", children: (servicePureExecutionState instanceof
|
269
268
|
SingleServicePureExecutionState ||
|
270
269
|
servicePureExecutionState instanceof
|
271
|
-
MultiServicePureExecutionState) && (
|
270
|
+
MultiServicePureExecutionState) && (_jsx("button", { className: "service-multi-execution-editor__action", tabIndex: -1, onClick: showChangeExecutionModal, title: `Switch to ${servicePureExecutionState instanceof
|
272
271
|
SingleServicePureExecutionState
|
273
272
|
? 'multi execution'
|
274
|
-
: 'single execution'}`, children: isMultiExecution ? (
|
275
|
-
.isReadOnly }
|
273
|
+
: 'single execution'}`, children: isMultiExecution ? (_jsx(ArrowsJoinIcon, {})) : (_jsx(ArrowsSplitIcon, {})) })) })] }), _jsxs("div", { className: "panel__content service-execution-editor__configuration__content", children: [renderExecutionEditor(), servicePureExecutionState.showChangeExecModal && (_jsx(ChangeExecutionModal, { executionState: servicePureExecutionState, isReadOnly: servicePureExecutionState.serviceEditorState
|
274
|
+
.isReadOnly }))] })] }) }) })] }) }));
|
276
275
|
}
|
277
276
|
});
|
278
277
|
export const ServiceExecutionEditor = observer(() => {
|
@@ -281,8 +280,8 @@ export const ServiceExecutionEditor = observer(() => {
|
|
281
280
|
const executionState = serviceState.executionState;
|
282
281
|
const isReadOnly = serviceState.isReadOnly;
|
283
282
|
if (executionState instanceof ServicePureExecutionState) {
|
284
|
-
return (
|
283
|
+
return (_jsx(ServicePureExecutionEditor, { servicePureExecutionState: executionState, isReadOnly: isReadOnly }));
|
285
284
|
}
|
286
|
-
return (
|
285
|
+
return (_jsx(UnsupportedEditorPanel, { text: "Can't display this service execution in form-mode", isReadOnly: serviceState.isReadOnly }));
|
287
286
|
});
|
288
287
|
//# sourceMappingURL=ServiceExecutionEditor.js.map
|