@finos/legend-application-studio 28.17.10 → 28.17.11
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendStudio.js +2 -3
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/ElementIconUtils.js +23 -24
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +7 -8
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioFrameworkProvider.js +3 -4
- package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts +2 -2
- package/lib/components/LegendStudioWebApplication.js +13 -14
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/ShowcaseManager.d.ts +1 -1
- package/lib/components/ShowcaseManager.js +29 -30
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.js +27 -28
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +8 -9
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +3 -4
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +5 -6
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts +1 -1
- package/lib/components/editor/QuickInput.js +5 -6
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -1
- package/lib/components/editor/StatusBar.js +11 -12
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +2 -3
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +4 -5
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +2 -3
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.d.ts +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +39 -40
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +11 -12
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +4 -5
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +14 -15
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js +14 -15
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -4
- package/lib/components/editor/editor-group/RuntimeEditor.js +29 -30
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js +3 -4
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +9 -10
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +10 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +10 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +3 -3
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +5 -6
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +13 -14
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js +2 -3
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +54 -55
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +7 -8
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +6 -7
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +5 -5
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +17 -18
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +9 -10
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +5 -6
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +10 -11
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +5 -6
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +2 -3
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js +5 -6
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +2 -3
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +6 -7
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +26 -27
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +12 -13
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +6 -6
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +16 -17
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +10 -11
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +2 -3
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +2 -3
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +15 -16
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +5 -6
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +38 -39
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +12 -13
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js +3 -4
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +5 -6
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +32 -33
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +10 -11
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +6 -7
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +7 -8
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +5 -6
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +19 -20
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +24 -25
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +29 -30
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js +14 -15
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +9 -10
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts +8 -8
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +21 -22
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +10 -11
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +21 -22
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +26 -27
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +10 -11
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js +5 -6
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +24 -25
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +32 -33
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +10 -11
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js +12 -13
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +11 -12
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +7 -7
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +29 -30
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +5 -6
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +22 -23
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +5 -5
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +30 -31
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +30 -31
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +10 -11
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +6 -7
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js +6 -7
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js +9 -10
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js +2 -3
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.js +2 -3
- package/lib/components/editor/panel-group/ConsolePanel.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +6 -7
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/panel-group/PanelGroup.d.ts +1 -1
- package/lib/components/editor/panel-group/PanelGroup.js +5 -6
- package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.js +5 -6
- package/lib/components/editor/panel-group/ProblemsPanel.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +18 -19
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +2 -2
- package/lib/components/editor/side-bar/CreateNewElementModal.js +26 -27
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -1
- package/lib/components/editor/side-bar/Explorer.js +36 -37
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +12 -13
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js +28 -29
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +17 -18
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -1
- package/lib/components/editor/side-bar/SideBar.js +12 -13
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +27 -28
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js +8 -9
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +9 -10
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +6 -7
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +6 -7
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +6 -7
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +2 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +32 -33
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +3 -4
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +7 -8
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js +10 -11
- package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.js +7 -8
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +3 -4
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js +5 -6
- package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js +9 -10
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js +23 -24
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/project-view/ProjectViewerStoreProvider.js +3 -4
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js +19 -20
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js +3 -4
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +15 -16
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +7 -8
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +6 -7
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +2 -3
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +27 -28
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js +8 -5
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +4 -3
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js +10 -8
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -1
- package/package.json +4 -4
- package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +10 -7
- package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +2 -2
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +4 -2
- package/src/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.ts +14 -12
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -47,11 +46,11 @@ export const NewParameterModal = observer((props) => {
|
|
47
46
|
setupState.setNewParameterValueName(val.value);
|
48
47
|
}
|
49
48
|
};
|
50
|
-
return (
|
49
|
+
return (_jsx(Dialog, { open: setupState.showNewParameterModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { onSubmit: (event) => {
|
51
50
|
event.preventDefault();
|
52
51
|
setupState.addParameterValue();
|
53
|
-
}, className: "modal modal--dark search-modal", children: [
|
54
|
-
.TEMPORARY__isLightColorThemeEnabled, disable: isReadOnly }
|
52
|
+
}, className: "modal modal--dark search-modal", children: [_jsx("div", { className: "modal__title", children: "New Test Parameter Value " }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown", options: options, onChange: onChange, value: currentOption, escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
53
|
+
.TEMPORARY__isLightColorThemeEnabled, disable: isReadOnly }), _jsx("div", { className: "search-modal__actions", children: _jsx("button", { className: "btn btn--dark", disabled: isReadOnly, children: "Add" }) })] }) }));
|
55
54
|
});
|
56
55
|
const ServiceTestParameterEditor = observer((props) => {
|
57
56
|
const { serviceTestState, paramState, isReadOnly, contentTypeParamPair } = props;
|
@@ -77,19 +76,19 @@ const ServiceTestParameterEditor = observer((props) => {
|
|
77
76
|
paramState.updateValueSpecification(paramState.valueSpec);
|
78
77
|
}
|
79
78
|
};
|
80
|
-
return (
|
79
|
+
return (_jsxs("div", { className: "panel__content__form__section", children: [_jsxs("div", { className: "panel__content__form__section__header__label", children: [paramState.parameterValue.name, _jsx("button", { className: clsx('type-tree__node__type__label', {}), tabIndex: -1, title: type, children: type })] }), _jsx(_Fragment, { children: contentTypeParamPair ? (_jsxs("div", { className: "service-test-editor__setup__parameter__code-editor", children: [_jsx("textarea", { className: "panel__content__form__section__textarea value-spec-editor__input", spellCheck: false, value: paramValue, placeholder: paramState.valueSpec
|
81
80
|
.values[0] === ''
|
82
81
|
? '(empty)'
|
83
82
|
: undefined, onChange: (event) => {
|
84
83
|
updateParamValue(event.target.value);
|
85
|
-
} }
|
84
|
+
} }), showPopUp && (_jsx(ExternalFormatParameterEditorModal, { valueSpec: paramState.valueSpec, varExpression: paramState.varExpression, isReadOnly: isReadOnly, onClose: closePopUp, updateParamValue: updateParamValue, contentTypeParamPair: contentTypeParamPair })), _jsxs("div", { className: "service-test-editor__setup__parameter__value__actions", children: [_jsx("button", { className: clsx('service-test-editor__setup__parameter__code-editor__expand-btn'), onClick: openInPopUp, tabIndex: -1, title: "Open in a popup...", children: _jsx(FilledWindowMaximizeIcon, {}) }), _jsx("button", { className: clsx('btn--icon btn--dark btn--sm service-test-editor__setup__parameter__code-editor__expand-btn'), disabled: isReadOnly || paramIsRequired, onClick: () => setupState.removeParamValueState(paramState), tabIndex: -1, title: paramIsRequired ? 'Parameter Required' : 'Remove Parameter', children: _jsx(TimesIcon, {}) })] })] })) : (_jsxs("div", { className: "service-test-editor__setup__parameter__value", children: [_jsx(BasicValueSpecificationEditor, { valueSpecification: paramState.valueSpec, setValueSpecification: (val) => {
|
86
85
|
paramState.updateValueSpecification(val);
|
87
86
|
}, graph: setupState.editorStore.graphManagerState.graph, obseverContext: setupState.editorStore.changeDetectionState.observerContext, typeCheckOption: {
|
88
87
|
expectedType: paramState.varExpression.genericType?.value.rawType ??
|
89
88
|
PrimitiveType.STRING,
|
90
89
|
}, className: "query-builder__parameters__value__editor", resetValue: () => {
|
91
90
|
paramState.resetValueSpec();
|
92
|
-
} }
|
91
|
+
} }), _jsx("div", { className: "service-test-editor__setup__parameter__value__actions", children: _jsx("button", { className: "btn--icon btn--dark btn--sm", disabled: isReadOnly || paramIsRequired, onClick: () => setupState.removeParamValueState(paramState), tabIndex: -1, title: paramIsRequired ? 'Parameter Required' : 'Remove Parameter', children: _jsx(TimesIcon, {}) }) })] })) })] }, paramState.parameterValue.name));
|
93
92
|
});
|
94
93
|
const ServiceTestSetupEditor = observer((props) => {
|
95
94
|
const { serviceTestState } = props;
|
@@ -122,12 +121,12 @@ const ServiceTestSetupEditor = observer((props) => {
|
|
122
121
|
useEffect(() => {
|
123
122
|
setupState.syncWithQuery();
|
124
123
|
}, [setupState]);
|
125
|
-
return (
|
126
|
-
.TEMPORARY__isLightColorThemeEnabled, disable: isReadOnly }
|
127
|
-
PureMultiExecution && (
|
128
|
-
.TEMPORARY__isLightColorThemeEnabled, isMulti: true, disable: isReadOnly, placeholder: "Choose keys..." }
|
124
|
+
return (_jsxs("div", { "data-testid": LEGEND_STUDIO_TEST_ID.SERVICE_TEST_EDITOR__SETUP, className: "panel service-test-editor", children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "service-test-suite-editor__header__title", children: _jsx("div", { className: "service-test-suite-editor__header__title__label", children: "setup" }) }) }), _jsx("div", { className: "service-test-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { size: 230, minSize: 28, children: _jsxs("div", { className: "service-test-data-editor panel", children: [_jsx("div", { className: "service-test-suite-editor__header", children: _jsx("div", { className: "service-test-suite-editor__header__title", children: _jsx("div", { className: "service-test-suite-editor__header__title__label", children: "configuration" }) }) }), _jsxs("div", { className: "service-test-editor__setup__configuration", children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Serialization Format" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Format to serialize execution result" }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown", options: options, onChange: onSerializationFormatChange, value: selectedSerializationFormat, isClearable: true, escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
125
|
+
.TEMPORARY__isLightColorThemeEnabled, disable: isReadOnly })] }), setupState.testState.testable.execution instanceof
|
126
|
+
PureMultiExecution && (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Keys" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Specify keys for each test to run assertions against selected env keys" }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown", options: keyOptions, onChange: onKeyOptionChange, value: selectedKeys, isClearable: true, escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
127
|
+
.TEMPORARY__isLightColorThemeEnabled, isMulti: true, disable: isReadOnly, placeholder: "Choose keys..." })] }))] })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { minSize: 56, children: _jsxs("div", { "data-testid": LEGEND_STUDIO_TEST_ID.SERVICE_TEST_EDITOR__SETUP__PARAMETERS, className: "service-test-data-editor panel", children: [_jsxs("div", { className: "service-test-suite-editor__header", children: [_jsx("div", { className: "service-test-suite-editor__header__title", children: _jsx("div", { className: "service-test-suite-editor__header__title__label", children: "parameters" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action service-execution-editor__test-data__generate-btn", onClick: generateParameterValues, title: "Generate test parameter values", tabIndex: -1, children: _jsxs("div", { className: "service-execution-editor__test-data__generate-btn__label", children: [_jsx(RefreshIcon, { className: "service-execution-editor__test-data__generate-btn__label__icon" }), _jsx("div", { className: "service-execution-editor__test-data__generate-btn__label__title", children: "Generate" })] }) }), _jsx("button", { className: "panel__header__action", tabIndex: -1, disabled: !setupState.newParamOptions.length, onClick: addParameter, title: "Add Parameter Value", children: _jsx(PlusIcon, {}) })] })] }), _jsx("div", { className: "service-test-editor__setup__parameters", children: setupState.parameterValueStates
|
129
128
|
.filter(filterByType(ServiceValueSpecificationTestParameterState))
|
130
|
-
.map((paramState) => (
|
129
|
+
.map((paramState) => (_jsx(ServiceTestParameterEditor, { isReadOnly: isReadOnly, paramState: paramState, serviceTestState: serviceTestState, contentTypeParamPair: getContentTypeWithParamFromQuery(resolveServiceQueryRawLambda(serviceTestState.service), serviceTestState.editorStore).find((pair) => pair.param === paramState.parameterValue.name) }, paramState.uuid))) }), setupState.showNewParameterModal && (_jsx(NewParameterModal, { setupState: setupState, isReadOnly: false }))] }) })] }) })] }));
|
131
130
|
});
|
132
131
|
const TestAssertionsEditor = observer((props) => {
|
133
132
|
const { serviceTestState } = props;
|
@@ -142,15 +141,15 @@ const TestAssertionsEditor = observer((props) => {
|
|
142
141
|
const runTest = () => {
|
143
142
|
flowResult(serviceTestState.runTest()).catch(editorStore.applicationStore.alertUnhandledError);
|
144
143
|
};
|
145
|
-
return (
|
146
|
-
.serviceEditorState.isReadOnly }, assertionState.assertion.id
|
144
|
+
return (_jsx("div", { className: "panel service-test-editor", children: hideExplorer && selectedAsertionState ? (_jsx(TestAssertionEditor, { testAssertionState: selectedAsertionState })) : (_jsx("div", { className: "service-test-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsxs(ResizablePanel, { minSize: 100, size: 200, children: [_jsxs("div", { className: "binding-editor__header", children: [_jsxs("div", { className: "binding-editor__header__title", children: [_jsxs("div", { className: "testable-test-assertion-explorer__header__summary", children: [_jsx("div", { className: "testable-test-assertion-explorer__header__summary__icon testable-test-assertion-explorer__header__summary__icon--assertion", children: _jsx(TestTubeIcon, {}) }), _jsx("div", { children: serviceTestState.assertionCount })] }), _jsxs("div", { className: "testable-test-assertion-explorer__header__summary", children: [_jsx("div", { className: "testable-test-assertion-explorer__header__summary__icon testable-test-assertion-explorer__header__summary__icon--passed", children: _jsx(CheckCircleIcon, {}) }), _jsx("div", { children: serviceTestState.assertionPassed })] }), _jsxs("div", { className: "testable-test-assertion-explorer__header__summary", children: [_jsx("div", { className: "testable-test-assertion-explorer__header__summary__icon testable-test-assertion-explorer__header__summary__icon--failed", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { children: serviceTestState.assertionFailed })] })] }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action testable-test-explorer__play__all__icon", tabIndex: -1, onClick: runTest, title: "Run All Assertions", children: _jsx(RunAllIcon, {}) }), _jsx("button", { className: "panel__header__action", tabIndex: -1, onClick: addAssertion, title: "Add Test Assertion", children: _jsx(PlusIcon, {}) })] })] }), _jsx("div", { children: serviceTestState.assertionEditorStates.map((assertionState) => (_jsx(TestAssertionItem, { testableTestState: serviceTestState, testAssertionEditorState: assertionState, isReadOnly: serviceTestState.suiteState.testableState
|
145
|
+
.serviceEditorState.isReadOnly }, assertionState.assertion.id))) }), serviceTestState.assertionToRename && (_jsx(RenameModal, { val: serviceTestState.assertionToRename.id, isReadOnly: isReadOnly, showModal: true, closeModal: () => serviceTestState.setAssertionToRename(undefined), setValue: renameAssertion }))] }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: selectedAsertionState && (_jsx(TestAssertionEditor, { testAssertionState: selectedAsertionState })) })] }) })) }));
|
147
146
|
});
|
148
147
|
const ServiceTestEditor = observer((props) => {
|
149
148
|
const { serviceTestState } = props;
|
150
149
|
const selectedTab = serviceTestState.selectedTab;
|
151
|
-
return (
|
150
|
+
return (_jsxs("div", { className: "service-test-editor panel", children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header service-test-editor__header--with-tabs", children: _jsx("div", { className: "uml-element-editor__tabs", children: Object.values(TESTABLE_TEST_TAB).map((tab) => (_jsx("div", { onClick: () => serviceTestState.setSelectedTab(tab), className: clsx('service-test-editor__tab', {
|
152
151
|
'service-test-editor__tab--active': tab === serviceTestState.selectedTab,
|
153
|
-
}), children: prettyCONSTName(tab) }, tab
|
152
|
+
}), children: prettyCONSTName(tab) }, tab))) }) }) }), _jsxs("div", { className: "service-test-editor", children: [selectedTab === TESTABLE_TEST_TAB.SETUP && (_jsx(ServiceTestSetupEditor, { serviceTestState: serviceTestState })), selectedTab === TESTABLE_TEST_TAB.ASSERTION && (_jsx(TestAssertionsEditor, { serviceTestState: serviceTestState }))] })] }));
|
154
153
|
});
|
155
154
|
const ServiceTestDataContextMenu = observer(forwardRef(function TestContainerContextMenu(props, ref) {
|
156
155
|
const { suiteState, serviceTestState } = props;
|
@@ -160,8 +159,8 @@ const ServiceTestDataContextMenu = observer(forwardRef(function TestContainerCon
|
|
160
159
|
const remove = () => suiteState.deleteTest(serviceTestState);
|
161
160
|
const rename = () => suiteState.setTestToRename(serviceTestState.test);
|
162
161
|
const runTest = serviceTestState.editorStore.applicationStore.guardUnhandledError(() => flowResult(serviceTestState.runTest()));
|
163
|
-
return (
|
164
|
-
serviceTestState.runningTestAction.isInProgress, onClick: runTest, children: "Run test" }
|
162
|
+
return (_jsxs(MenuContent, { ref: ref, children: [_jsx(MenuContentItem, { disabled: suiteState.runningTestState.isInProgress ||
|
163
|
+
serviceTestState.runningTestAction.isInProgress, onClick: runTest, children: "Run test" }), _jsx(MenuContentItem, { onClick: rename, children: "Rename" }), _jsx(MenuContentItem, { onClick: remove, children: "Delete" }), _jsx(MenuContentItem, { onClick: addTest, children: "Add test" })] }));
|
165
164
|
}));
|
166
165
|
const ServiceTestItem = observer((props) => {
|
167
166
|
const { serviceTestState, suiteState } = props;
|
@@ -179,10 +178,10 @@ const ServiceTestItem = observer((props) => {
|
|
179
178
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
180
179
|
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
181
180
|
const runTest = serviceTestState.editorStore.applicationStore.guardUnhandledError(() => flowResult(serviceTestState.runTest()));
|
182
|
-
return (
|
181
|
+
return (_jsx(ContextMenu, { disabled: isReadOnly, content: _jsx(ServiceTestDataContextMenu, { suiteState: suiteState, serviceTestState: serviceTestState }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("div", { className: clsx('testable-test-explorer__item', {
|
183
182
|
'testable-test-explorer__item--selected-from-context-menu': !isActive && isSelectedFromContextMenu,
|
184
|
-
}, { 'testable-test-explorer__item--active': isActive }), children: [
|
185
|
-
serviceTestState.runningTestAction.isInProgress, tabIndex: -1, title: `Run ${serviceTest.id}`, children:
|
183
|
+
}, { 'testable-test-explorer__item--active': isActive }), children: [_jsxs("button", { className: clsx('testable-test-explorer__item__label'), onClick: openTest, tabIndex: -1, children: [_jsx("div", { className: "testable-test-explorer__item__label__icon", children: resultIcon }), _jsx("div", { className: "testable-test-explorer__item__label__text", children: serviceTest.id })] }), _jsx("div", { className: "mapping-test-explorer__item__actions", children: _jsx("button", { className: "mapping-test-explorer__item__action mapping-test-explorer__run-test-btn", onClick: runTest, disabled: suiteState.runningTestState.isInProgress ||
|
184
|
+
serviceTestState.runningTestAction.isInProgress, tabIndex: -1, title: `Run ${serviceTest.id}`, children: _jsx(PlayIcon, {}) }) })] }) }));
|
186
185
|
});
|
187
186
|
export const ServiceTestsEditor = observer((props) => {
|
188
187
|
const { suiteState } = props;
|
@@ -196,6 +195,6 @@ export const ServiceTestsEditor = observer((props) => {
|
|
196
195
|
flowResult(suiteState.runFailingTests()).catch(editorStore.applicationStore.alertUnhandledError);
|
197
196
|
};
|
198
197
|
const renameTest = (val) => atomicTest_setId(guaranteeNonNullable(suiteState.testToRename), val);
|
199
|
-
return (
|
198
|
+
return (_jsxs("div", { "data-testid": LEGEND_STUDIO_TEST_ID.SERVICE_TEST_EDITOR, className: "panel service-test-editor", children: [_jsx("div", { className: "service-test-suite-editor__header", children: _jsx("div", { className: "service-test-suite-editor__header__title", children: _jsx("div", { className: "service-test-suite-editor__header__title__label service-test-suite-editor__header__title__label--tests", children: "tests" }) }) }), _jsx("div", { className: "service-test-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsxs(ResizablePanel, { minSize: 100, size: 300, children: [_jsxs("div", { className: "binding-editor__header", children: [_jsxs("div", { className: "binding-editor__header__title", children: [_jsxs("div", { className: "testable-test-assertion-explorer__header__summary", children: [_jsx("div", { className: "testable-test-assertion-explorer__header__summary__icon testable-test-assertion-explorer__header__summary__icon--test", children: _jsx(FlaskIcon, {}) }), _jsx("div", { children: suiteState.testCount })] }), _jsxs("div", { className: "testable-test-assertion-explorer__header__summary", children: [_jsx("div", { className: "testable-test-assertion-explorer__header__summary__icon testable-test-assertion-explorer__header__summary__icon--passed", children: _jsx(CheckCircleIcon, {}) }), _jsx("div", { children: suiteState.testPassed })] }), _jsxs("div", { className: "testable-test-assertion-explorer__header__summary", children: [_jsx("div", { className: "testable-test-assertion-explorer__header__summary__icon testable-test-assertion-explorer__header__summary__icon--failed", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { children: suiteState.testFailed })] })] }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action testable-test-explorer__play__all__icon", tabIndex: -1, onClick: runSuite, title: "Run Suite Tests", children: _jsx(RunAllIcon, {}) }), _jsx("button", { className: "panel__header__action testable-test-explorer__play__all__icon", tabIndex: -1, onClick: runFailingTests, title: "Run All Failing Tests", children: _jsx(RunErrorsIcon, {}) }), _jsx("button", { className: "panel__header__action", tabIndex: -1, onClick: addTest, title: "Add Service Test", children: _jsx(PlusIcon, {}) })] })] }), _jsx("div", { children: suiteState.testStates.map((testState) => (_jsx(ServiceTestItem, { suiteState: suiteState, serviceTestState: testState }, testState.test.id))) }), suiteState.testToRename && (_jsx(RenameModal, { val: suiteState.testToRename.id, isReadOnly: isReadOnly, showModal: true, closeModal: () => suiteState.setTestToRename(undefined), setValue: renameTest }))] }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: suiteState.selectedTestState && (_jsx(ServiceTestEditor, { serviceTestState: suiteState.selectedTestState })) })] }) })] }));
|
200
199
|
});
|
201
200
|
//# sourceMappingURL=ServiceTestsEditor.js.map
|
package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ServiceTestsEditor.js","sourceRoot":"","sources":["../../../../../../src/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,WAAW,EACX,eAAe,EACf,IAAI,EACJ,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,MAAM,EACN,WAAW,EACX,SAAS,EACT,wBAAwB,EACxB,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,6BAA6B,EAC7B,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAIL,2CAA2C,GAC5C,MAAM,2GAA2G,CAAC;AACnH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gGAAgG,CAAC;AACnI,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,+BAA+B,EAC/B,eAAe,GAChB,MAAM,8EAA8E,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EACL,kCAAkC,EAClC,WAAW,EACX,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,4CAA4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AAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"ServiceTestsEditor.js","sourceRoot":"","sources":["../../../../../../src/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,WAAW,EACX,eAAe,EACf,IAAI,EACJ,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,YAAY,EACZ,mBAAmB,EACnB,MAAM,EACN,WAAW,EACX,SAAS,EACT,wBAAwB,EACxB,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,6BAA6B,EAC7B,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAIL,2CAA2C,GAC5C,MAAM,2GAA2G,CAAC;AACnH,OAAO,EAAE,iBAAiB,EAAE,MAAM,gGAAgG,CAAC;AACnI,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EACL,+BAA+B,EAC/B,eAAe,GAChB,MAAM,8EAA8E,CAAC;AACtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AACvF,OAAO,EACL,kCAAkC,EAClC,WAAW,EACX,mBAAmB,EACnB,iBAAiB,GAClB,MA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,EACT,iBACE,SAAS,EAAC,+DAA+D,EACzE,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,eAAe,EACxB,KAAK,EAAC,uBAAuB,YAE7B,KAAC,aAAa,KAAG,GACV,EACT,iBACE,SAAS,EAAC,uBAAuB,EACjC,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,kBAAkB,YAExB,KAAC,QAAQ,KAAG,GACL,IACL,IACF,EACN,wBACG,UAAU,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CACxC,KAAC,eAAe,IAEd,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,SAAS,IAFtB,SAAS,CAAC,IAAI,CAAC,EAAE,CAGtB,CACH,CAAC,GACE,EACL,UAAU,CAAC,YAAY,IAAI,CAC1B,KAAC,WAAW,IACV,GAAG,EAAE,UAAU,CAAC,YAAY,CAAC,EAAE,EAC/B,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,IAAI,EACf,UAAU,EAAE,GAAS,EAAE,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,EAC7D,QAAQ,EAAE,UAAU,GACpB,CACH,IACc,EACjB,KAAC,sBAAsB,cACrB,KAAC,0BAA0B,IAAC,KAAK,EAAC,4BAA4B,GAAG,GAC1C,EACzB,KAAC,cAAc,cACZ,UAAU,CAAC,iBAAiB,IAAI,CAC/B,KAAC,iBAAiB,IAChB,gBAAgB,EAAE,UAAU,CAAC,iBAAiB,GAC9C,CACH,GACc,IACG,GAClB,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -25,7 +25,7 @@ export declare const SharedDataElementModal: ((props: {
|
|
25
25
|
editorStore: EditorStore;
|
26
26
|
isReadOnly: boolean;
|
27
27
|
close: () => void;
|
28
|
-
}) => import("react/jsx-
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
29
29
|
displayName: string;
|
30
30
|
};
|
31
31
|
export declare const RenameModal: ((props: {
|
@@ -35,7 +35,7 @@ export declare const RenameModal: ((props: {
|
|
35
35
|
showModal: boolean;
|
36
36
|
closeModal: () => void;
|
37
37
|
errorMessageFunc?: (val: string) => string | undefined;
|
38
|
-
}) => import("react/jsx-
|
38
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
39
39
|
displayName: string;
|
40
40
|
};
|
41
41
|
export declare const TestAssertionContextMenu: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<{
|
@@ -46,12 +46,12 @@ export declare const TestAssertionItem: ((props: {
|
|
46
46
|
testAssertionEditorState: TestAssertionEditorState;
|
47
47
|
testableTestState: TestableTestEditorState;
|
48
48
|
isReadOnly: boolean;
|
49
|
-
}) => import("react/jsx-
|
49
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
50
50
|
displayName: string;
|
51
51
|
};
|
52
52
|
export declare const TestAssertionEditor: ((props: {
|
53
53
|
testAssertionState: TestAssertionEditorState;
|
54
|
-
}) => import("react/jsx-
|
54
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
55
55
|
displayName: string;
|
56
56
|
};
|
57
57
|
export declare const ExternalFormatParameterEditorModal: ((props: {
|
@@ -61,7 +61,7 @@ export declare const ExternalFormatParameterEditorModal: ((props: {
|
|
61
61
|
onClose: () => void;
|
62
62
|
updateParamValue: (val: string) => void;
|
63
63
|
contentTypeParamPair: TestParamContentType;
|
64
|
-
}) => import("react/jsx-
|
64
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
65
65
|
displayName: string;
|
66
66
|
};
|
67
67
|
//# sourceMappingURL=TestableSharedComponents.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/testable/TestableSharedComponents.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -49,8 +48,8 @@ export const SharedDataElementModal = observer((props) => {
|
|
49
48
|
}
|
50
49
|
close();
|
51
50
|
};
|
52
|
-
return (
|
53
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
51
|
+
return (_jsx(Dialog, { open: true, onClose: close, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "service-test-data-modal", children: [_jsx(ModalBody, { children: _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Data Element" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown data-element-reference-editor__value__dropdown", disabled: false, options: dataElementOptions, onChange: onDataElementChange, formatOptionLabel: getPackageableElementOptionFormatter({}), value: selectedDataElement, darkMode: !applicationStore.layoutService
|
52
|
+
.TEMPORARY__isLightColorThemeEnabled }) })] }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly, onClick: change, title: "Change to use Data Element", children: "Change" }) })] }) }));
|
54
53
|
});
|
55
54
|
export const RenameModal = observer((props) => {
|
56
55
|
const { val, isReadOnly, showModal, closeModal, setValue, errorMessageFunc, } = props;
|
@@ -59,11 +58,11 @@ export const RenameModal = observer((props) => {
|
|
59
58
|
setInputValue(_val ?? '');
|
60
59
|
};
|
61
60
|
const errorMessage = errorMessageFunc?.(inputValue);
|
62
|
-
return (
|
61
|
+
return (_jsx(Dialog, { open: showModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { onSubmit: (event) => {
|
63
62
|
event.preventDefault();
|
64
63
|
setValue(inputValue);
|
65
64
|
closeModal();
|
66
|
-
}, className: "modal modal--dark search-modal", children: [
|
65
|
+
}, className: "modal modal--dark search-modal", children: [_jsx(ModalBody, { children: _jsx(PanelFormTextField, { name: "Rename", isReadOnly: isReadOnly, value: inputValue, update: changeValue, errorMessage: errorMessage }) }), _jsx("div", { className: "search-modal__actions", children: _jsx("button", { className: "btn btn--dark", disabled: isReadOnly || Boolean(errorMessage), children: "Rename" }) })] }) }));
|
67
66
|
});
|
68
67
|
const EqualToJsonAsssertionEditor = observer((props) => {
|
69
68
|
const { equalToJsonAssertionState, testAssertionEditorState } = props;
|
@@ -71,9 +70,9 @@ const EqualToJsonAsssertionEditor = observer((props) => {
|
|
71
70
|
const formatExpectedResultJSONString = () => {
|
72
71
|
externalFormatData_setData(assertion.expected, tryToFormatLosslessJSONString(assertion.expected.data));
|
73
72
|
};
|
74
|
-
return (
|
73
|
+
return (_jsxs(_Fragment, { children: [_jsxs(PanelHeader, { children: [_jsx(PanelHeader, { title: "expected" }), _jsx("div", { className: "panel__header__actions", children: _jsx("button", { className: "panel__header__action", disabled: testAssertionEditorState.testState.isReadOnly, tabIndex: -1, onClick: formatExpectedResultJSONString, title: "Format JSON (Alt + Shift + F)", children: _jsx(WrenchIcon, {}) }) })] }), _jsx("div", { className: "equal-to-json-editor__content panel__content", children: _jsx("div", { className: "equal-to-json-editor__content__data", children: _jsx(CodeEditor, { inputValue: assertion.expected.data, language: CODE_EDITOR_LANGUAGE.JSON, updateInput: (val) => {
|
75
74
|
equalToJsonAssertionState.setExpectedValue(val);
|
76
|
-
}, hideGutter: true }
|
75
|
+
}, hideGutter: true }) }) })] }));
|
77
76
|
});
|
78
77
|
const EqualToAsssertionEditor = observer((props) => {
|
79
78
|
const { equalToAssertionState, testAssertionEditorState } = props;
|
@@ -86,12 +85,12 @@ const EqualToAsssertionEditor = observer((props) => {
|
|
86
85
|
equalToAssertionState.updateValueSpec(valSpec);
|
87
86
|
}
|
88
87
|
};
|
89
|
-
return (
|
88
|
+
return (_jsx(_Fragment, { children: _jsx("div", { className: "equal-to-editor__content", children: _jsx("div", { className: "equal-to-editor__content__data", children: _jsx(BasicValueSpecificationEditor, { valueSpecification: equalToAssertionState.valueSpec, setValueSpecification: (val) => {
|
90
89
|
equalToAssertionState.updateValueSpec(val);
|
91
90
|
}, graph: editorStore.graphManagerState.graph, obseverContext: editorStore.changeDetectionState.observerContext, resetValue: resetNode, typeCheckOption: {
|
92
91
|
expectedType: equalToAssertionState.valueSpec.genericType?.value.rawType ??
|
93
92
|
PrimitiveType.STRING,
|
94
|
-
} }
|
93
|
+
} }) }) }) }));
|
95
94
|
});
|
96
95
|
const EqualToJsonAssertFailViewer = observer((props) => {
|
97
96
|
const { equalToJsonAssertFailState } = props;
|
@@ -100,20 +99,20 @@ const EqualToJsonAssertFailViewer = observer((props) => {
|
|
100
99
|
const close = () => equalToJsonAssertFailState.setDiffModal(false);
|
101
100
|
const expected = equalToJsonAssertFailState.status.expected;
|
102
101
|
const actual = equalToJsonAssertFailState.status.actual;
|
103
|
-
return (
|
102
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "equal-to-json-editor__message", onClick: open, children: `<Click to see difference>` }), equalToJsonAssertFailState.diffModal && (_jsx(Dialog, { open: Boolean(equalToJsonAssertFailState.diffModal), onClose: close, classes: {
|
104
103
|
root: 'editor-modal__root-container',
|
105
104
|
container: 'editor-modal__container',
|
106
105
|
paper: 'editor-modal__content',
|
107
|
-
}, children:
|
108
|
-
.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [
|
106
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService
|
107
|
+
.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal", children: [_jsx(ModalHeader, { children: _jsxs("div", { className: "equal-to-json-result__diff__summary", children: [_jsx("div", { className: "equal-to-json-result__diff__header__label", children: "expected" }), _jsx("div", { className: "equal-to-json-result__diff__icon", children: _jsx(CompareIcon, {}) }), _jsx("div", { className: "equal-to-json-result__diff__header__label", children: "actual" })] }) }), _jsx(ModalBody, { children: _jsx(JSONDiffView, { from: expected, to: actual, lossless: true }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: close, type: "secondary" }) })] }) }))] }));
|
109
108
|
});
|
110
109
|
const TestErrorViewer = observer((props) => {
|
111
110
|
const { testError } = props;
|
112
|
-
return (
|
111
|
+
return (_jsx(_Fragment, { children: _jsx("div", { className: "testable-test-assertion-result__summary-info", children: testError.error }) }));
|
113
112
|
});
|
114
113
|
const AssertFailViewer = observer((props) => {
|
115
114
|
const { assertFailState } = props;
|
116
|
-
return (
|
115
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "testable-test-assertion-result__summary-info", children: assertFailState.status.message }), assertFailState instanceof EqualToJsonAssertFailState && (_jsx(EqualToJsonAssertFailViewer, { equalToJsonAssertFailState: assertFailState }))] }));
|
117
116
|
});
|
118
117
|
const TestAssertionResultViewer = observer((props) => {
|
119
118
|
const { testAssertionEditorState } = props;
|
@@ -122,10 +121,10 @@ const TestAssertionResultViewer = observer((props) => {
|
|
122
121
|
const renderAssertionResult = (assertionResultState) => {
|
123
122
|
const _statusState = assertionResultState.statusState;
|
124
123
|
if (assertionResultState.testResult instanceof TestError) {
|
125
|
-
return
|
124
|
+
return _jsx(TestErrorViewer, { testError: assertionResultState.testResult });
|
126
125
|
}
|
127
126
|
else if (_statusState instanceof TestAssertionStatusState) {
|
128
|
-
return _statusState instanceof AssertFailState ? (
|
127
|
+
return _statusState instanceof AssertFailState ? (_jsx(AssertFailViewer, { assertFailState: _statusState })) : null;
|
129
128
|
}
|
130
129
|
return null;
|
131
130
|
};
|
@@ -133,28 +132,28 @@ const TestAssertionResultViewer = observer((props) => {
|
|
133
132
|
const _statusState = assertionResultState.statusState;
|
134
133
|
if (_statusState === undefined ||
|
135
134
|
_statusState instanceof TestAssertionStatusState) {
|
136
|
-
return (
|
135
|
+
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "testable-test-assertion-result__summary-info", children: ["Result: ", prettyCONSTName(assertionResult)] }), renderAssertionResult(assertionResultState)] }));
|
137
136
|
}
|
138
137
|
else {
|
139
138
|
return Array.from(_statusState.entries()).map((state) => {
|
140
139
|
const _key = state[0];
|
141
140
|
const resultState = state[1];
|
142
|
-
return (
|
141
|
+
return (_jsxs("div", { className: "testable-test-assertion-result__summary-multi", children: [_jsx("div", { children: _key }), _jsxs("div", { className: "testable-test-assertion-result__summary-info", children: ["Result: ", prettyCONSTName(resultState.result)] }), renderAssertionResult(resultState)] }, _key));
|
143
142
|
});
|
144
143
|
}
|
145
144
|
};
|
146
|
-
return (
|
145
|
+
return (_jsxs(_Fragment, { children: [_jsx(PanelHeader, { title: "result", children: _jsx(PanelHeaderActions, {}) }), _jsxs(PanelContent, { className: "testable-test-assertion-result__content", children: [_jsxs("div", { className: clsx('testable-test-assertion-result__summary', {
|
147
146
|
'testable-test-assertion-result__summary--fail': assertionResult === TESTABLE_RESULT.ERROR ||
|
148
147
|
assertionResult === TESTABLE_RESULT.FAILED,
|
149
148
|
'testable-test-assertion-result__summary--success': assertionResult === TESTABLE_RESULT.PASSED,
|
150
|
-
}), children: [
|
149
|
+
}), children: [_jsx("div", { className: "testable-test-assertion-result__summary-main", children: "Assertion Result Summary" }), assertionResult === TESTABLE_RESULT.IN_PROGRESS && (_jsx("div", { className: "testable-test-assertion-result__summary-info", children: "Running assertion..." })), assertionResult !== TESTABLE_RESULT.IN_PROGRESS && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "testable-test-assertion-result__summary-info", children: ["Id: ", testAssertionEditorState.assertion.id] }), _jsxs("div", { className: "testable-test-assertion-result__summary-info", children: ["Type: ", testAssertionEditorState.assertionState.label()] }), renderResultView(parentAssertionResultState)] }))] }), _jsx("div", {})] })] }));
|
151
150
|
});
|
152
151
|
export const TestAssertionContextMenu = observer(forwardRef(function TestContainerContextMenu(props, ref) {
|
153
152
|
const { testableTestState: testableTestState, testAssertionState } = props;
|
154
153
|
const rename = () => testableTestState.setAssertionToRename(testAssertionState.assertion);
|
155
154
|
const remove = () => testableTestState.deleteAssertion(testAssertionState);
|
156
155
|
const add = () => testableTestState.addAssertion();
|
157
|
-
return (
|
156
|
+
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 assert" })] }));
|
158
157
|
}));
|
159
158
|
export const TestAssertionItem = observer((props) => {
|
160
159
|
const { testAssertionEditorState, isReadOnly, testableTestState } = props;
|
@@ -170,9 +169,9 @@ export const TestAssertionItem = observer((props) => {
|
|
170
169
|
const openTestAssertion = () => testableTestState.openAssertion(testAssertion);
|
171
170
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
172
171
|
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
173
|
-
return (
|
172
|
+
return (_jsx(ContextMenu, { className: clsx('testable-test-assertion-explorer__item', {
|
174
173
|
'testable-test-assertion-explorer__item--selected-from-context-menu': !isActive && isSelectedFromContextMenu,
|
175
|
-
}, { 'testable-test-assertion-explorer__item--active': isActive }), disabled: isReadOnly, content:
|
174
|
+
}, { 'testable-test-assertion-explorer__item--active': isActive }), disabled: isReadOnly, content: _jsx(TestAssertionContextMenu, { testableTestState: testableTestState, testAssertionState: testAssertionEditorState }), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("button", { className: clsx('testable-test-assertion-explorer__item__label'), onClick: openTestAssertion, tabIndex: -1, children: [_jsx("div", { className: "testable-test-assertion-explorer__item__label__icon testable-test-assertion-explorer__test-result-indicator__container", children: resultIcon }), _jsx("div", { className: "testable-test-assertion-explorer__item__label__text", children: testAssertion.id })] }) }));
|
176
175
|
});
|
177
176
|
export const TestAssertionEditor = observer((props) => {
|
178
177
|
const { testAssertionState } = props;
|
@@ -184,20 +183,20 @@ export const TestAssertionEditor = observer((props) => {
|
|
184
183
|
const changeTab = (val) => testAssertionState.setSelectedTab(val);
|
185
184
|
const renderContent = (state) => {
|
186
185
|
if (state instanceof EqualToJsonAssertionState) {
|
187
|
-
return (
|
186
|
+
return (_jsx(EqualToJsonAsssertionEditor, { equalToJsonAssertionState: state, testAssertionEditorState: testAssertionState }));
|
188
187
|
}
|
189
188
|
else if (state instanceof EqualToAssertionState) {
|
190
|
-
return (
|
189
|
+
return (_jsx(EqualToAsssertionEditor, { equalToAssertionState: state, testAssertionEditorState: testAssertionState }));
|
191
190
|
}
|
192
|
-
return (
|
191
|
+
return (_jsx(UnsupportedEditorPanel, { text: "Can't display this assertion in form-mode", isReadOnly: isReadOnly }));
|
193
192
|
};
|
194
193
|
const generate = () => {
|
195
194
|
testAssertionState.generateExpected();
|
196
195
|
};
|
197
196
|
const isRunning = testAssertionState.generatingExpectedAction.isInProgress;
|
198
|
-
return (
|
197
|
+
return (_jsxs("div", { className: "testable-test-assertion-editor", children: [_jsx(PanelLoadingIndicator, { isLoading: isRunning }), _jsxs("div", { className: "testable-test-assertion-editor__header", children: [_jsx("div", { className: "testable-test-assertion-editor__header__tabs", children: Object.values(TEST_ASSERTION_TAB).map((tab) => (_jsx("div", { onClick: () => changeTab(tab), className: clsx('testable-test-assertion-editor__header__tab', {
|
199
198
|
'testable-test-assertion-editor__header__tab--active': tab === selectedTab,
|
200
|
-
}), children: prettyCONSTName(tab) }, tab
|
199
|
+
}), children: prettyCONSTName(tab) }, tab))) }), _jsx("div", { className: "testable-test-assertion-editor__header__actions", children: _jsx("button", { className: "panel__header__action service-execution-editor__test-data__generate-btn", onClick: generate, title: "Generate expected result if possible", disabled: isDisabled, tabIndex: -1, children: _jsxs("div", { className: "service-execution-editor__test-data__generate-btn__label", children: [_jsx(RefreshIcon, { className: "service-execution-editor__test-data__generate-btn__label__icon" }), _jsx("div", { className: "service-execution-editor__test-data__generate-btn__label__title", children: "Generate" })] }) }) })] }), _jsxs("div", { className: "testable-test-assertion-editor__content", children: [selectedTab === TEST_ASSERTION_TAB.EXPECTED && (_jsx("div", { className: "testable-test-assertion-editor__setup", children: renderContent(testAssertionState.assertionState) })), selectedTab === TEST_ASSERTION_TAB.RESULT && (_jsx(TestAssertionResultViewer, { testAssertionEditorState: testAssertionState }))] })] }));
|
201
200
|
});
|
202
201
|
export const ExternalFormatParameterEditorModal = observer((props) => {
|
203
202
|
const { valueSpec, varExpression, isReadOnly, onClose, updateParamValue, contentTypeParamPair, } = props;
|
@@ -205,9 +204,9 @@ export const ExternalFormatParameterEditorModal = observer((props) => {
|
|
205
204
|
const paramValue = varExpression.genericType?.value.rawType === PrimitiveType.BYTE
|
206
205
|
? atob(valueSpec.values[0])
|
207
206
|
: valueSpec.values[0];
|
208
|
-
return (
|
207
|
+
return (_jsx(Dialog, { open: true, onClose: onClose, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal lambda-editor__popup__modal'), children: [_jsx(ModalHeader, { children: _jsx(ModalTitle, { title: "Edit Parameter Value" }) }), _jsx(ModalBody, { children: _jsx("div", { className: "service-test-editor__setup__parameter__code-editor__container", children: _jsx("div", { className: "service-test-editor__setup__parameter__code-editor__container__content", children: _jsx(CodeEditor, { inputValue: paramValue, updateInput: updateParamValue, isReadOnly: isReadOnly, language: contentTypeParamPair.contentType ===
|
209
208
|
ContentType.APPLICATION_JSON.toString()
|
210
209
|
? CODE_EDITOR_LANGUAGE.JSON
|
211
|
-
: CODE_EDITOR_LANGUAGE.TEXT }
|
210
|
+
: CODE_EDITOR_LANGUAGE.TEXT }) }) }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: onClose, type: "secondary" }) })] }) }));
|
212
211
|
});
|
213
212
|
//# sourceMappingURL=TestableSharedComponents.js.map
|