@finos/legend-application-studio 28.17.8 → 28.17.10
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendStudio.js +3 -2
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/ElementIconUtils.js +24 -23
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +8 -7
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioFrameworkProvider.js +4 -3
- package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts +2 -2
- package/lib/components/LegendStudioWebApplication.js +14 -13
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/ShowcaseManager.d.ts +1 -1
- package/lib/components/ShowcaseManager.js +30 -29
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.js +28 -27
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +9 -8
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +4 -3
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +6 -5
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts +1 -1
- package/lib/components/editor/QuickInput.js +6 -5
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -1
- package/lib/components/editor/StatusBar.js +12 -11
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +3 -2
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +5 -4
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +3 -2
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.d.ts +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +40 -39
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +12 -11
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +5 -4
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +15 -14
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js +15 -14
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -4
- package/lib/components/editor/editor-group/RuntimeEditor.js +30 -29
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js +4 -3
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +10 -9
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +11 -10
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +11 -10
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +3 -3
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +6 -5
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +14 -13
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js +3 -2
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +55 -54
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +8 -7
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +7 -6
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +5 -5
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +18 -17
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +10 -9
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +6 -5
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +11 -10
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +6 -5
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +3 -2
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js +6 -5
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +3 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +7 -6
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +27 -26
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +13 -12
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +6 -6
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +17 -16
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +11 -10
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +3 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +3 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +16 -15
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +6 -5
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +39 -38
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +13 -12
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js +4 -3
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +6 -5
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +33 -32
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +11 -10
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +7 -6
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +8 -7
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +6 -5
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +20 -19
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +25 -24
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +30 -29
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js +15 -14
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +10 -9
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts +8 -8
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +22 -21
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +11 -10
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +22 -21
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +27 -26
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +11 -10
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js +6 -5
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +25 -24
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +33 -32
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +11 -10
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js +13 -12
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +12 -11
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +7 -7
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +30 -29
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +6 -5
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +23 -22
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +5 -5
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +31 -30
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +31 -30
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +11 -10
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +7 -6
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js +7 -6
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js +10 -9
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js +3 -2
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.js +3 -2
- package/lib/components/editor/panel-group/ConsolePanel.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +7 -6
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/panel-group/PanelGroup.d.ts +1 -1
- package/lib/components/editor/panel-group/PanelGroup.js +6 -5
- package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.js +6 -5
- package/lib/components/editor/panel-group/ProblemsPanel.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +19 -18
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +2 -2
- package/lib/components/editor/side-bar/CreateNewElementModal.js +27 -26
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -1
- package/lib/components/editor/side-bar/Explorer.js +37 -36
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +13 -12
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js +29 -28
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +18 -17
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -1
- package/lib/components/editor/side-bar/SideBar.js +13 -12
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +28 -27
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js +9 -8
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +10 -9
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +7 -6
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +7 -6
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +7 -6
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +2 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +33 -32
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +4 -3
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +8 -7
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js +11 -10
- package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.js +8 -7
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +4 -3
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js +6 -5
- package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js +10 -9
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js +24 -23
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/project-view/ProjectViewerStoreProvider.js +4 -3
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js +20 -19
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js +4 -3
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +16 -15
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +8 -7
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +7 -6
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +3 -2
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +28 -27
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +5 -5
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/mapping-editor/MappingExplorer.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -91,7 +92,7 @@ export const MappingExplorerContextMenu = observer(forwardRef(function MappingEx
|
|
91
92
|
!mappingElement.filter;
|
92
93
|
const allowRemoveFilter = mappingElement instanceof PureInstanceSetImplementation &&
|
93
94
|
Boolean(mappingElement.filter);
|
94
|
-
return (
|
95
|
+
return (_jsxDEV(MenuContent, { ref: ref, children: [mappingElement instanceof SetImplementation && (_jsxDEV(MenuContentItem, { onClick: queryMappingElement, children: "Query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 175, columnNumber: 58 }, this)), mappingElement instanceof SetImplementation && (_jsxDEV(MenuContentItem, { onClick: createTestForMappingElement, children: "Test" }, void 0, false, { fileName: _jsxFileName, lineNumber: 178, columnNumber: 58 }, this)), allowAddFilter && (_jsxDEV(MenuContentItem, { onClick: addMappingFilter, children: "Add Filter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 183, columnNumber: 29 }, this)), allowRemoveFilter && (_jsxDEV(MenuContentItem, { onClick: removeMappingFilter, children: "Remove Filter" }, void 0, false, { fileName: _jsxFileName, lineNumber: 188, columnNumber: 32 }, this)), mappingElement && (_jsxDEV(MenuContentItem, { onClick: removeMappingElement, children: "Delete" }, void 0, false, { fileName: _jsxFileName, lineNumber: 193, columnNumber: 29 }, this)), !mappingElement && openNewMapingModal && (_jsxDEV(MenuContentItem, { onClick: openNewMapingModal, children: "Create new mapping element" }, void 0, false, { fileName: _jsxFileName, lineNumber: 198, columnNumber: 52 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 173, columnNumber: 13 }, this));
|
95
96
|
}));
|
96
97
|
export const MappingElementExplorer = observer((props) => {
|
97
98
|
const { mappingElement, openNewMapingModal, isReadOnly } = props;
|
@@ -114,9 +115,9 @@ export const MappingElementExplorer = observer((props) => {
|
|
114
115
|
const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] = useState(false);
|
115
116
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
116
117
|
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
117
|
-
return (
|
118
|
+
return (_jsxDEV(ContextMenu, { disabled: isReadOnly, content: _jsxDEV(MappingExplorerContextMenu, { mappingElement: mappingElement, openNewMapingModal: openNewMapingModal }, void 0, false, { fileName: _jsxFileName, lineNumber: 247, columnNumber: 18 }, this), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxDEV("div", { ref: dragRef, className: clsx('mapping-explorer__item', {
|
118
119
|
'mapping-explorer__item--selected-from-context-menu': !isActive && isSelectedFromContextMenu,
|
119
|
-
}, { 'mapping-explorer__item--active': isActive }), children:
|
120
|
+
}, { 'mapping-explorer__item--active': isActive }), children: _jsxDEV("button", { className: "mapping-explorer__item__label", onClick: openMappingElement, tabIndex: -1, title: `${toSentenceCase(getMappingElementType(mappingElement)).toLowerCase()} mapping '${mappingElement.id.value}' for '${mappingElementTarget.name}'`, children: [_jsxDEV("div", { className: "mapping-explorer__item__label__icon", children: getElementIcon(mappingElementTarget, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 278, columnNumber: 13 }, this), _jsxDEV("div", { className: "mapping-explorer__item__label__text", children: getMappingElementLabel(mappingElement, editorStore).value }, void 0, false, { fileName: _jsxFileName, lineNumber: 281, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 268, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 257, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 244, columnNumber: 13 }, this));
|
120
121
|
});
|
121
122
|
const MappingElementTreeNodeContainer = observer((props) => {
|
122
123
|
const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
|
@@ -128,7 +129,7 @@ const MappingElementTreeNodeContainer = observer((props) => {
|
|
128
129
|
? mappingEditorState.currentTabState.mappingElement
|
129
130
|
: undefined;
|
130
131
|
const isExpandable = Boolean(node.childrenIds?.length);
|
131
|
-
const nodeExpandIcon = isExpandable ? (node.isOpen ? (
|
132
|
+
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsxDEV(ChevronDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 313, columnNumber: 22 }, this)) : (_jsxDEV(ChevronRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 315, columnNumber: 12 }, this))) : (_jsxDEV("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 318, columnNumber: 10 }, this));
|
132
133
|
const mappingElementTarget = getMappingElementTarget(mappingElement);
|
133
134
|
const mappingElementTooltipText = mappingElement instanceof PropertyMapping && mappingElement._isEmbedded
|
134
135
|
? `Embedded class mapping '${mappingElement.id.value}' for property '${mappingElement.property.value.name}' (${mappingElement.property.value.genericType.value.rawType.name}) of type '${mappingElement.sourceSetImplementation.value.class.value.name}'`
|
@@ -147,13 +148,13 @@ const MappingElementTreeNodeContainer = observer((props) => {
|
|
147
148
|
const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] = useState(false);
|
148
149
|
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
149
150
|
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
150
|
-
return (
|
151
|
+
return (_jsxDEV(ContextMenu, { disabled: isReadOnly, content: _jsxDEV(MappingExplorerContextMenu, { mappingElement: mappingElement }, void 0, false, { fileName: _jsxFileName, lineNumber: 354, columnNumber: 18 }, this), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxDEV("div", { className: clsx('tree-view__node__container', {
|
151
152
|
'mapping-explorer__item--selected-from-context-menu': !isActive && isSelectedFromContextMenu,
|
152
153
|
}, { 'mapping-explorer__item--active': isActive }), onClick: selectNode, ref: dragRef, style: {
|
153
154
|
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 1) + 0.5}rem`,
|
154
155
|
display: 'flex',
|
155
|
-
}, children:
|
156
|
-
Boolean(mappingElement.filter) && (
|
156
|
+
}, children: _jsxDEV("button", { className: "mapping-explorer__item__label", tabIndex: -1, title: mappingElementTooltipText, children: [_jsxDEV("div", { className: "tree-view__node__expand-icon", onClick: onExpandIconClick, children: nodeExpandIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 380, columnNumber: 13 }, this), _jsxDEV("div", { className: "mapping-explorer__item__label__icon", children: getElementIcon(mappingElementTarget, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 386, columnNumber: 13 }, this), _jsxDEV("div", { className: "mapping-explorer__item__label__text", children: getMappingElementLabel(mappingElement, editorStore).value }, void 0, false, { fileName: _jsxFileName, lineNumber: 389, columnNumber: 13 }, this), mappingElement instanceof PureInstanceSetImplementation &&
|
157
|
+
Boolean(mappingElement.filter) && (_jsxDEV("div", { className: "mapping-explorer__item__label__filter-icon", children: _jsxDEV(FilterIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 395, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 393, columnNumber: 50 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 375, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 351, columnNumber: 13 }, this));
|
157
158
|
});
|
158
159
|
const getMappingIdentitySortString = (me, type) => `${type.name}-${type.path}-${me.id.value}`;
|
159
160
|
export const MappingExplorer = observer((props) => {
|
@@ -200,13 +201,13 @@ export const MappingExplorer = observer((props) => {
|
|
200
201
|
const onNodeSelect = (node) => mappingEditorState.onMappingExplorerTreeNodeSelect(node);
|
201
202
|
const onNodeExpand = (node) => mappingEditorState.onMappingExplorerTreeNodeExpand(node);
|
202
203
|
const getMappingElementTreeChildNodes = (node) => mappingEditorState.getMappingExplorerTreeChildNodes(node);
|
203
|
-
return (
|
204
|
+
return (_jsxDEV("div", { "data-testid": LEGEND_STUDIO_TEST_ID.MAPPING_EXPLORER, className: "panel mapping-explorer", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: clsx('panel__header__title', {
|
204
205
|
'panel__header__title--with-generation-origin': generationParentElement,
|
205
|
-
}), children: [isReadOnly && (
|
206
|
+
}), children: [isReadOnly && (_jsxDEV("div", { title: "Read Only", className: "mapping-explorer__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 496, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 494, columnNumber: 27 }, this)), _jsxDEV("div", { className: "panel__header__title__label", children: "mapping" }, void 0, false, { fileName: _jsxFileName, lineNumber: 499, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__header__title__content", children: mapping.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 500, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 488, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header__actions", children: [!generationParentElement && (_jsxDEV("button", { className: "panel__header__action", onClick: openNewMapingModal, disabled: isReadOnly, tabIndex: -1, title: "Create new mapping element", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 511, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 503, columnNumber: 41 }, this)), generationParentElement && (_jsxDEV("button", { className: "mapping-explorer__header__generation-origin", onClick: visitGenerationParentElement, tabIndex: -1, title: `Visit generation parent '${generationParentElement.path}'`, children: [_jsxDEV("div", { className: "mapping-explorer__header__generation-origin__label", children: _jsxDEV(FireIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 522, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 521, columnNumber: 15 }, this), _jsxDEV("div", { className: "mapping-explorer__header__generation-origin__parent-name", children: generationParentElement.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 524, columnNumber: 15 }, this), _jsxDEV("div", { className: "mapping-explorer__header__generation-origin__visit-btn", children: _jsxDEV(StickArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 528, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 527, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 514, columnNumber: 40 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 502, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 487, columnNumber: 7 }, this), _jsxDEV(ContextMenu, { className: "panel__content", disabled: isReadOnly, content: _jsxDEV(MappingExplorerContextMenu, { openNewMapingModal: openNewMapingModal }, void 0, false, { fileName: _jsxFileName, lineNumber: 537, columnNumber: 18 }, this), menuProps: { elevation: 7 }, children: _jsxDEV(PanelDropZone, { isDragOver: isDragOver && !isReadOnly, dropTargetConnector: dropRef, children: _jsxDEV("div", { className: "mapping-explorer__content", children: [_jsxDEV(TreeView, { components: {
|
206
207
|
TreeNodeContainer: MappingElementTreeNodeContainer,
|
207
208
|
}, treeData: mappingElementsTreeData, onNodeSelect: onNodeSelect, getChildNodes: getMappingElementTreeChildNodes, innerProps: {
|
208
209
|
isReadOnly,
|
209
210
|
onNodeExpand,
|
210
|
-
} }), !isReadOnly && !mappingElements.length && (
|
211
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 547, columnNumber: 13 }, this), !isReadOnly && !mappingElements.length && (_jsxDEV(BlankPanelPlaceholder, { text: "Add a mapping element", onClick: openNewMapingModal, clickActionType: "add", tooltipText: "Drop a class or an enumeration to start creating mappings", isDropZoneActive: isDragOver && !isReadOnly, disabled: isReadOnly, previewText: "No mapping" }, void 0, false, { fileName: _jsxFileName, lineNumber: 559, columnNumber: 57 }, this)), _jsxDEV(NewMappingElementModal, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 570, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 546, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 542, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 534, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 482, columnNumber: 11 }, this));
|
211
212
|
});
|
212
213
|
//# sourceMappingURL=MappingExplorer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MappingExplorer.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/mapping-editor/MappingExplorer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,aAAa,EACb,wBAAwB,GACzB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAEL,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,WAAW,EACX,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA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D,EACD,CAAC,UAAU,IAAI,CAAC,eAAe,CAAC,MAAM,IAAI,CACzC,KAAC,qBAAqB,IACpB,IAAI,EAAC,uBAAuB,EAC5B,OAAO,EAAE,kBAAkB,EAC3B,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,2DAA2D,EACvE,gBAAgB,EAAE,UAAU,IAAI,CAAC,UAAU,EAC3C,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAC,YAAY,GACxB,CACH,EACD,KAAC,sBAAsB,KAAG,IACtB,GACQ,GACJ,IACV,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"MappingExplorer.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/mapping-editor/MappingExplorer.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,aAAa,EACb,wBAAwB,GACzB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAEL,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,EACf,UAAU,EACV,aAAa,EACb,qBAAqB,EACrB,WAAW,EACX,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,4FAA4F,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAGL,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,2FAA2F,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,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AE,UAAU,EACpB,WAAW,EAAC,YAAY,uFACxB,CACH,EACD,QAAC,sBAAsB,yFAAG,uFACtB,sFACQ,sFACJ,uFACV,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import type { MappingTestableState } from '../../../../stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js';
|
17
17
|
export declare const MappingTestableEditor: ((props: {
|
18
18
|
mappingTestableState: MappingTestableState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=MappingTestableEditor.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -77,12 +78,12 @@ const CreateTestSuiteModal = observer((props) => {
|
|
77
78
|
flowResult(creatorState.createAndAddTestSuite(selectedClass, suiteName, testName)).catch(editorStore.applicationStore.alertUnhandledError);
|
78
79
|
}
|
79
80
|
};
|
80
|
-
return (
|
81
|
+
return (_jsxDEV(Dialog, { open: true, onClose: close, TransitionProps: {
|
81
82
|
onEnter: handleEnter,
|
82
|
-
}, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children:
|
83
|
-
.TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a class...", isClearable: true })] })] }),
|
83
|
+
}, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsxDEV(ModalHeader, { children: _jsxDEV(ModalTitle, { title: "Create Mapping Test Suite" }, void 0, false, { fileName: _jsxFileName, lineNumber: 202, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 201, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: [_jsxDEV(PanelLoadingIndicator, { className: "panel-loading-indicator--in__modal", isLoading: creatorState.isCreatingSuiteState.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 205, columnNumber: 13 }, this), creatorState.isCreatingSuiteState.message && (_jsxDEV(PanelFormSection, { children: _jsxDEV("div", { className: "service-registration-editor__progress-msg", children: `${creatorState.isCreatingSuiteState.message}...` }, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 209, columnNumber: 60 }, this)), _jsxDEV(PanelFormTextField, { ref: inputRef, name: "Test Suite Name", prompt: "Unique Identifier for Test suite i.e Person_suite", value: suiteName, placeholder: "Suite Name", update: (value) => setSuiteName(value ?? ''), errorMessage: validateTestableId(suiteName, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 216, columnNumber: 13 }, this), _jsxDEV(PanelFormTextField, { name: "Test Name", prompt: "Unique Identifier for first test in suite", placeholder: "Test Name", value: testName, update: (value) => setTestName(value ?? ''), errorMessage: validateTestableId(testName, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 227, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Class Mapping" }, void 0, false, { fileName: _jsxFileName, lineNumber: 238, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Mapped Class for which you would like to build test suite for" }, void 0, false, { fileName: _jsxFileName, lineNumber: 241, columnNumber: 15 }, this), _jsxDEV(CustomSelectorInput, { options: mappedClassOptions, onChange: changeClassOption, value: selectedClassOption, formatOptionLabel: getPackageableElementOptionFormatter({}), darkMode: !applicationStore.layoutService
|
84
|
+
.TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a class...", isClearable: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 244, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 237, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 204, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { disabled: !isValid || creatorState.isCreatingSuiteState.isInProgress, title: !isValid
|
84
85
|
? 'Suite Name and Test Name Required'
|
85
|
-
: 'Create Test Suite', onClick: create, text: "Create" }),
|
86
|
+
: 'Create Test Suite', onClick: create, text: "Create" }, void 0, false, { fileName: _jsxFileName, lineNumber: 259, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { onClick: close, text: "Close", type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 271, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 258, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 196, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 13 }, this));
|
86
87
|
});
|
87
88
|
const CreateTestModal = observer((props) => {
|
88
89
|
const { mappingSuiteState } = props;
|
@@ -125,8 +126,8 @@ const CreateTestModal = observer((props) => {
|
|
125
126
|
close();
|
126
127
|
}
|
127
128
|
};
|
128
|
-
return (
|
129
|
-
.TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a class...", isClearable: true })] }))] }),
|
129
|
+
return (_jsxDEV(Dialog, { open: mappingSuiteState.showCreateModal, onClose: close, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsxDEV(ModalHeader, { children: _jsxDEV(ModalTitle, { title: "Create Mapping Test" }, void 0, false, { fileName: _jsxFileName, lineNumber: 345, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 344, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: [_jsxDEV(PanelFormTextField, { name: "Name", prompt: "", value: id, update: (value) => setId(value ?? ''), errorMessage: errorMessage }, void 0, false, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 13 }, this), !testData && (_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Class Mapping" }, void 0, false, { fileName: _jsxFileName, lineNumber: 357, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Mapped Class for which you would like to build test suite for" }, void 0, false, { fileName: _jsxFileName, lineNumber: 360, columnNumber: 17 }, this), _jsxDEV(CustomSelectorInput, { ref: mappedClassSelectorRef, options: mappedClassOptions, onChange: changeClassOption, value: selectedClassOption, darkMode: !applicationStore.layoutService
|
130
|
+
.TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a class...", isClearable: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 363, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 355, columnNumber: 28 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 347, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { disabled: !isValid, onClick: create, text: "Create" }, void 0, false, { fileName: _jsxFileName, lineNumber: 379, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { onClick: close, text: "Close", type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 384, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 378, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 339, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 332, columnNumber: 13 }, this));
|
130
131
|
});
|
131
132
|
const CreateStoreTestDataModal = observer((props) => {
|
132
133
|
const { mappingTestState } = props;
|
@@ -215,10 +216,10 @@ const CreateStoreTestDataModal = observer((props) => {
|
|
215
216
|
close();
|
216
217
|
}
|
217
218
|
};
|
218
|
-
return (
|
219
|
-
.TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a store...", isClearable: true })] }),
|
220
|
-
.TEMPORARY__isLightColorThemeEnabled }) })] }), embeddedDataType === EmbeddedDataType.DATA_ELEMENT && (
|
221
|
-
.TEMPORARY__isLightColorThemeEnabled }) })] }))] }),
|
219
|
+
return (_jsxDEV(Dialog, { open: mappingTestableDataState.showNewModal, onClose: close, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "search-modal", children: [_jsxDEV(ModalTitle, { title: "Create Store Test Data" }, void 0, false, { fileName: _jsxFileName, lineNumber: 528, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: [_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Store to add test data" }, void 0, false, { fileName: _jsxFileName, lineNumber: 531, columnNumber: 15 }, this), _jsxDEV(CustomSelectorInput, { ref: mappedStoreRef, options: selectedStoreOptions, onChange: changeStoreOption, formatOptionLabel: getPackageableElementOptionFormatter({}), value: selectedStoreOption, darkMode: !applicationStore.layoutService
|
220
|
+
.TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a store...", isClearable: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 534, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 530, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Data Type" }, void 0, false, { fileName: _jsxFileName, lineNumber: 549, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Test data type that will be used to mock store (defaulted based on store)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 552, columnNumber: 15 }, this), _jsxDEV("div", { className: "explorer__new-element-modal__driver", children: _jsxDEV(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: embeddedOptions, onChange: onEmbeddedTypeChange, value: embeddedDataTypeOption, isClearable: false, darkMode: !applicationStore.layoutService
|
221
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 557, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 556, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 548, columnNumber: 13 }, this), embeddedDataType === EmbeddedDataType.DATA_ELEMENT && (_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Data Element" }, void 0, false, { fileName: _jsxFileName, lineNumber: 572, columnNumber: 17 }, this), _jsxDEV("div", { className: "explorer__new-element-modal__driver", children: _jsxDEV(CustomSelectorInput, { className: "panel__content__form__section__dropdown data-element-reference-editor__value__dropdown", disabled: isReadOnly, options: dataElementOptions, onChange: onDataElementChange, value: selectedDataElement, darkMode: !applicationStore.layoutService
|
222
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 576, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 575, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 570, columnNumber: 69 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 529, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { disabled: !isValid, onClick: create, text: "Create" }, void 0, false, { fileName: _jsxFileName, lineNumber: 592, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { onClick: close, text: "Close", type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 597, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 591, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 522, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 515, columnNumber: 13 }, this));
|
222
223
|
});
|
223
224
|
const MappingTestSuiteQueryEditor = observer((props) => {
|
224
225
|
const { testSuiteState, mappingTestableState, isReadOnly } = props;
|
@@ -254,7 +255,7 @@ const MappingTestSuiteQueryEditor = observer((props) => {
|
|
254
255
|
applicationStore.notificationService.notifyError(`Can't save query: ${error.message}`);
|
255
256
|
}
|
256
257
|
});
|
257
|
-
return (
|
258
|
+
return (_jsxDEV("button", { className: "query-builder__dialog__header__custom-action", tabIndex: -1, disabled: isReadOnly, onClick: save, children: "Save Query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 666, columnNumber: 27 }, this));
|
258
259
|
},
|
259
260
|
},
|
260
261
|
],
|
@@ -262,10 +263,10 @@ const MappingTestSuiteQueryEditor = observer((props) => {
|
|
262
263
|
}));
|
263
264
|
});
|
264
265
|
const clearQuery = applicationStore.guardUnhandledError(() => flowResult(testableQueryState.updateLamba(stub_RawLambda())));
|
265
|
-
return (
|
266
|
+
return (_jsxDEV("div", { className: "panel mapping-test-editor__query-panel", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: _jsxDEV("div", { className: "panel__header__title__label", children: "query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 692, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 691, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__header__actions", children: _jsxDEV("div", { className: "btn__dropdown-combo", children: [_jsxDEV("button", { className: "btn__dropdown-combo__label", onClick: editWithQueryBuilder(), title: "Edit Query", tabIndex: -1, children: [_jsxDEV(PencilIcon, { className: "btn__dropdown-combo__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 702, columnNumber: 17 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__label__title", children: "Edit Query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 703, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 696, columnNumber: 15 }, this), _jsxDEV(DropdownMenu, { className: "btn__dropdown-combo__dropdown-btn", content: _jsxDEV(MenuContent, { children: [_jsxDEV(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: editWithQueryBuilder(true), children: "Text Mode" }, void 0, false, { fileName: _jsxFileName, lineNumber: 711, columnNumber: 21 }, this), _jsxDEV(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: clearQuery, children: "Clear Query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 717, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 709, columnNumber: 26 }, this), menuProps: {
|
266
267
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
267
268
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
268
|
-
}, children:
|
269
|
+
}, children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 730, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 707, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 695, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 694, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 690, columnNumber: 9 }, this), !isStubbed_RawLambda(testableQueryState.query) && (_jsxDEV(PanelContent, { children: _jsxDEV("div", { className: "mapping-test-editor__query-panel__query", children: _jsxDEV(CodeEditor, { inputValue: testableQueryState.lambdaString, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE, hideMinimap: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 738, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 737, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 735, columnNumber: 61 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 688, columnNumber: 13 }, this));
|
269
270
|
});
|
270
271
|
const StoreTestDataEditor = observer((props) => {
|
271
272
|
const { mappingTestState, storeTestDataState } = props;
|
@@ -321,7 +322,7 @@ const StoreTestDataEditor = observer((props) => {
|
|
321
322
|
// TODO add extensions
|
322
323
|
return true;
|
323
324
|
};
|
324
|
-
return (
|
325
|
+
return (_jsxDEV("div", { className: "service-test-data-editor", children: [_jsxDEV("div", { className: "service-test-suite-editor__header", children: [_jsxDEV("div", { className: "service-test-suite-editor__header__title", children: _jsxDEV("div", { className: "service-test-suite-editor__header__title__label", children: "input data" }, void 0, false, { fileName: _jsxFileName, lineNumber: 829, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 828, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__header__actions", children: isUsingReference ? (_jsxDEV("button", { className: "panel__header__action service-execution-editor__test-data__generate-btn", onClick: changeToUseMyOwn, disabled: !isUsingReference, title: "Use own data", tabIndex: -1, children: _jsxDEV("div", { className: "service-execution-editor__test-data__generate-btn__label", children: _jsxDEV("div", { className: "service-execution-editor__test-data__generate-btn__label__title", children: "Own Data" }, void 0, false, { fileName: _jsxFileName, lineNumber: 843, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 842, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 834, columnNumber: 34 }, this)) : (_jsxDEV("button", { className: "panel__header__action service-execution-editor__test-data__generate-btn", onClick: open, title: "Use Shared Data via Defined Data Element", disabled: !dataElements.length, tabIndex: -1, children: _jsxDEV("div", { className: "service-execution-editor__test-data__generate-btn__label", children: _jsxDEV("div", { className: "service-execution-editor__test-data__generate-btn__label__title", children: "Shared Data" }, void 0, false, { fileName: _jsxFileName, lineNumber: 857, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 856, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 848, columnNumber: 18 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 833, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 827, columnNumber: 9 }, this), storeTestDataState.dataElementModal && (_jsxDEV(SharedDataElementModal, { isReadOnly: false, editorStore: storeTestDataState.editorStore, close: close, filterBy: filter, handler: sharedDataHandler }, void 0, false, { fileName: _jsxFileName, lineNumber: 866, columnNumber: 50 }, this)), _jsxDEV(EmbeddedDataEditor, { isReadOnly: isReadOnly, embeddedDataEditorState: storeTestDataState.embeddedEditorState }, void 0, false, { fileName: _jsxFileName, lineNumber: 875, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 825, columnNumber: 13 }, this));
|
325
326
|
});
|
326
327
|
const MappingTestEditor = observer((props) => {
|
327
328
|
const { mappingTestState } = props;
|
@@ -330,10 +331,10 @@ const MappingTestEditor = observer((props) => {
|
|
330
331
|
const addStoreTestData = () => {
|
331
332
|
mappingTestableDataState.setShowModal(true);
|
332
333
|
};
|
333
|
-
return (
|
334
|
+
return (_jsxDEV("div", { className: "service-test-editor panel", children: _jsxDEV("div", { className: "panel mapping-testable-editor", children: _jsxDEV("div", { className: "mapping-testable-editor__content", children: _jsxDEV(ResizablePanelGroup, { orientation: "horizontal", children: [_jsxDEV(ResizablePanel, { size: 120, children: _jsxDEV("div", { className: "service-test-data-editor panel", children: _jsxDEV("div", { className: "service-test-editor__setup__configuration", children: _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Test Documentation" }, void 0, false, { fileName: _jsxFileName, lineNumber: 902, columnNumber: 23 }, this), _jsxDEV("textarea", { className: "panel__content__form__section__textarea mapping-testable-editor__doc__textarea", spellCheck: false, value: mappingTest.doc ?? '', onChange: (event) => {
|
334
335
|
atomicTest_setDoc(mappingTest, event.target.value ? event.target.value : undefined);
|
335
|
-
} })] }) }) }) }),
|
336
|
-
.length ? (
|
336
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 905, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 901, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 900, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 899, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 898, columnNumber: 15 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 921, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 920, columnNumber: 15 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { children: _jsxDEV("div", { className: "service-test-data-editor panel", children: [mappingTestableDataState.dataHolder.storeTestData
|
337
|
+
.length ? (_jsxDEV(_Fragment, { children: mappingTestableDataState.selectedDataState && (_jsxDEV(StoreTestDataEditor, { storeTestDataState: mappingTestableDataState.selectedDataState, mappingTestState: mappingTestState }, void 0, false, { fileName: _jsxFileName, lineNumber: 930, columnNumber: 75 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 928, columnNumber: 36 }, this)) : (_jsxDEV(BlankPanelPlaceholder, { text: "Add Store Test Data", onClick: addStoreTestData, clickActionType: "add", tooltipText: "Click to add store test data" }, void 0, false, { fileName: _jsxFileName, lineNumber: 939, columnNumber: 28 }, this)), mappingTestableDataState.showNewModal && (_jsxDEV(CreateStoreTestDataModal, { mappingTestState: mappingTestState }, void 0, false, { fileName: _jsxFileName, lineNumber: 947, columnNumber: 66 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 926, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 925, columnNumber: 19 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 955, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 954, columnNumber: 19 }, this), _jsxDEV(ResizablePanel, { children: mappingTestState.selectedAsertionState && (_jsxDEV(TestAssertionEditor, { testAssertionState: mappingTestState.selectedAsertionState }, void 0, false, { fileName: _jsxFileName, lineNumber: 958, columnNumber: 65 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 957, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 924, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 923, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 897, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 896, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 895, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 893, columnNumber: 13 }, this));
|
337
338
|
});
|
338
339
|
const MappingTestableContextMenu = observer(forwardRef(function TestContainerContextMenu(props, ref) {
|
339
340
|
const { addName, add, rename, _delete } = props;
|
@@ -342,7 +343,7 @@ const MappingTestableContextMenu = observer(forwardRef(function TestContainerCon
|
|
342
343
|
};
|
343
344
|
const remove = () => _delete?.();
|
344
345
|
const handleRename = () => rename?.();
|
345
|
-
return (
|
346
|
+
return (_jsxDEV(MenuContent, { ref: ref, children: [rename && (_jsxDEV(MenuContentItem, { onClick: handleRename, children: "Rename" }, void 0, false, { fileName: _jsxFileName, lineNumber: 994, columnNumber: 21 }, this)), _delete && _jsxDEV(MenuContentItem, { onClick: remove, children: "Delete" }, void 0, false, { fileName: _jsxFileName, lineNumber: 997, columnNumber: 20 }, this), addName && rename && (_jsxDEV(MenuContentItem, { onClick: addTest, children: `Add ${addName}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 998, columnNumber: 32 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 992, columnNumber: 13 }, this));
|
346
347
|
}));
|
347
348
|
const MappingTestItem = observer((props) => {
|
348
349
|
const { mappingTestState, suiteState } = props;
|
@@ -371,9 +372,9 @@ const MappingTestItem = observer((props) => {
|
|
371
372
|
const runTest = () => {
|
372
373
|
flowResult(mappingTestState.runTest()).catch(mappingTestState.editorStore.applicationStore.alertUnhandledError);
|
373
374
|
};
|
374
|
-
return (
|
375
|
+
return (_jsxDEV(ContextMenu, { className: clsx('testable-test-explorer__item', {
|
375
376
|
'testable-test-explorer__item--selected-from-context-menu': !isActive && isSelectedFromContextMenu,
|
376
|
-
}, { 'testable-test-explorer__item--active': isActive }), disabled: isReadOnly, content:
|
377
|
+
}, { 'testable-test-explorer__item--active': isActive }), disabled: isReadOnly, content: _jsxDEV(MappingTestableContextMenu, { addName: "Test", add: add, _delete: _delete, rename: rename }, void 0, false, { fileName: _jsxFileName, lineNumber: 1057, columnNumber: 18 }, this), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxDEV("button", { className: clsx('testable-test-explorer__item__label'), onClick: openTest, tabIndex: -1, children: [_jsxDEV("div", { className: "testable-test-explorer__item__label__icon", children: resultIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 1074, columnNumber: 11 }, this), _jsxDEV("div", { className: "testable-test-explorer__item__label__text", children: mappingTest.id }, void 0, false, { fileName: _jsxFileName, lineNumber: 1077, columnNumber: 11 }, this), _jsxDEV("div", { className: "mapping-test-explorer__item__actions", children: _jsxDEV("button", { className: "mapping-test-explorer__item__action mapping-test-explorer__run-test-btn", onClick: runTest, disabled: mappingTestState.runningTestAction.isInProgress, tabIndex: -1, title: `Run ${mappingTestState.test.id}`, children: _jsxDEV(PlayIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1088, columnNumber: 16 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1081, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1080, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1069, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1046, columnNumber: 13 }, this));
|
377
378
|
});
|
378
379
|
const MappingTestSuiteEditor = observer((props) => {
|
379
380
|
const { mappingTestSuiteState } = props;
|
@@ -389,14 +390,14 @@ const MappingTestSuiteEditor = observer((props) => {
|
|
389
390
|
};
|
390
391
|
const renderMappingTestEditor = () => {
|
391
392
|
if (selectedTestState) {
|
392
|
-
return
|
393
|
+
return _jsxDEV(MappingTestEditor, { mappingTestState: selectedTestState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1117, columnNumber: 15 }, this);
|
393
394
|
}
|
394
395
|
else if (!mappingTestSuiteState.suite.tests.length) {
|
395
|
-
return (
|
396
|
+
return (_jsxDEV(BlankPanelPlaceholder, { text: "Add Mapping Test", onClick: addTest, clickActionType: "add", tooltipText: "Click to add mapping test" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1119, columnNumber: 17 }, this));
|
396
397
|
}
|
397
398
|
return null;
|
398
399
|
};
|
399
|
-
return (
|
400
|
+
return (_jsxDEV(ResizablePanelGroup, { orientation: "horizontal", children: [_jsxDEV(ResizablePanel, { size: 300, minSize: 28, children: _jsxDEV(MappingTestSuiteQueryEditor, { testSuiteState: mappingTestSuiteState, mappingTestableState: mappingTestSuiteState.mappingTestableState, isReadOnly: isReadOnly }, mappingTestSuiteState.queryState.uuid, false, { fileName: _jsxFileName, lineNumber: 1133, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1132, columnNumber: 9 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1141, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1140, columnNumber: 9 }, this), _jsxDEV(ResizablePanel, { minSize: 56, children: _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 200, minSize: 28, children: [_jsxDEV("div", { className: "binding-editor__header", children: [_jsxDEV("div", { className: "binding-editor__header__title", children: _jsxDEV("div", { className: "panel__header__title__content", children: "Tests" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1148, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1147, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__header__actions", children: [_jsxDEV("button", { className: "panel__header__action testable-test-explorer__play__all__icon", tabIndex: -1, onClick: runTests, title: "Run All Tests", children: _jsxDEV(RunAllIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1157, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1151, columnNumber: 19 }, this), _jsxDEV("button", { className: "panel__header__action testable-test-explorer__play__all__icon", tabIndex: -1, onClick: runFailingTests, title: "Run All Failing Tests", children: _jsxDEV(RunErrorsIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1165, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1159, columnNumber: 19 }, this), _jsxDEV("button", { className: "panel__header__action", tabIndex: -1, onClick: addTest, title: "Add Mapping Test", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1173, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1167, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1150, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1146, columnNumber: 15 }, this), _jsxDEV(PanelContent, { children: [mappingTestSuiteState.testStates.map((test) => (_jsxDEV(MappingTestItem, { mappingTestState: test, suiteState: mappingTestSuiteState }, test.uuid, false, { fileName: _jsxFileName, lineNumber: 1178, columnNumber: 66 }, this))), mappingTestSuiteState.showCreateModal && (_jsxDEV(CreateTestModal, { mappingSuiteState: mappingTestSuiteState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1185, columnNumber: 60 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1177, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1145, columnNumber: 13 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1191, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1190, columnNumber: 13 }, this), _jsxDEV(ResizablePanel, { minSize: 28, children: renderMappingTestEditor() }, void 0, false, { fileName: _jsxFileName, lineNumber: 1193, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1144, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1143, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1130, columnNumber: 13 }, this));
|
400
401
|
});
|
401
402
|
const MappingTestSuiteItem = observer((props) => {
|
402
403
|
const { suite, mappingTestableState } = props;
|
@@ -428,9 +429,9 @@ const MappingTestSuiteItem = observer((props) => {
|
|
428
429
|
const runSuite = () => {
|
429
430
|
flowResult(mappingTestableState.runSuite(suite)).catch(mappingTestableState.editorStore.applicationStore.alertUnhandledError);
|
430
431
|
};
|
431
|
-
return (
|
432
|
+
return (_jsxDEV(ContextMenu, { className: clsx('testable-test-explorer__item', {
|
432
433
|
'testable-test-explorer__item--selected-from-context-menu': !isActive && isSelectedFromContextMenu,
|
433
|
-
}, { 'testable-test-explorer__item--active': isActive }), disabled: isReadOnly, content:
|
434
|
+
}, { 'testable-test-explorer__item--active': isActive }), disabled: isReadOnly, content: _jsxDEV(MappingTestableContextMenu, { addName: "Suite", add: add, _delete: _delete, rename: rename }, void 0, false, { fileName: _jsxFileName, lineNumber: 1254, columnNumber: 18 }, this), menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxDEV("button", { className: clsx('testable-test-explorer__item__label'), onClick: openSuite, tabIndex: -1, children: [_jsxDEV("div", { className: "testable-test-explorer__item__label__icon", children: resultIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 1271, columnNumber: 11 }, this), _jsxDEV("div", { className: "testable-test-explorer__item__label__text", children: suite.id }, void 0, false, { fileName: _jsxFileName, lineNumber: 1274, columnNumber: 11 }, this), _jsxDEV("div", { className: "mapping-test-explorer__item__actions", children: _jsxDEV("button", { className: "mapping-test-explorer__item__action mapping-test-explorer__run-test-btn", onClick: runSuite, disabled: isRunning, tabIndex: -1, title: `Run ${suite.id}`, children: _jsxDEV(PlayIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1285, columnNumber: 16 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1278, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1277, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1266, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1243, columnNumber: 13 }, this));
|
434
435
|
});
|
435
436
|
export const MappingTestableEditor = observer((props) => {
|
436
437
|
const { mappingTestableState } = props;
|
@@ -450,10 +451,10 @@ export const MappingTestableEditor = observer((props) => {
|
|
450
451
|
};
|
451
452
|
const renderSuiteState = () => {
|
452
453
|
if (selectedSuiteState) {
|
453
|
-
return (
|
454
|
+
return (_jsxDEV(MappingTestSuiteEditor, { mappingTestSuiteState: selectedSuiteState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1313, columnNumber: 17 }, this));
|
454
455
|
}
|
455
456
|
else if (!suites.length) {
|
456
|
-
return (
|
457
|
+
return (_jsxDEV(BlankPanelPlaceholder, { text: "Add Test Suite", onClick: addSuite, clickActionType: "add", tooltipText: "Click to add test suite" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1317, columnNumber: 17 }, this));
|
457
458
|
}
|
458
459
|
return null;
|
459
460
|
};
|
@@ -461,6 +462,6 @@ export const MappingTestableEditor = observer((props) => {
|
|
461
462
|
mappingTestableState.renameTestableComponent(val);
|
462
463
|
};
|
463
464
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.MAPPING_EDITOR_TEST);
|
464
|
-
return (
|
465
|
+
return (_jsxDEV("div", { className: "service-test-suite-editor panel", children: _jsxDEV("div", { className: "service-test-suite-editor", children: [_jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 200, minSize: 28, children: [_jsxDEV("div", { className: "binding-editor__header", children: [_jsxDEV("div", { className: "binding-editor__header__title", children: _jsxDEV("div", { className: "panel__header__title__content", children: "Test Suites" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1342, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1341, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__header__actions", children: [_jsxDEV("button", { className: "panel__header__action testable-test-explorer__play__all__icon", tabIndex: -1, onClick: runSuites, title: "Run All Suites", children: _jsxDEV(RunAllIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1353, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1347, columnNumber: 19 }, this), _jsxDEV("button", { className: "panel__header__action testable-test-explorer__play__all__icon", tabIndex: -1, onClick: runFailingTests, title: "Run All Failing Tests", children: _jsxDEV(RunErrorsIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1361, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1355, columnNumber: 19 }, this), _jsxDEV("button", { className: "panel__header__action", tabIndex: -1, onClick: addSuite, title: "Add Mapping Suite", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1369, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1363, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1346, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1340, columnNumber: 15 }, this), _jsxDEV(PanelContent, { children: [suites.map((suite) => (_jsxDEV(MappingTestSuiteItem, { mappingTestableState: mappingTestableState, suite: suite }, suite.id, false, { fileName: _jsxFileName, lineNumber: 1374, columnNumber: 41 }, this))), !suites.length && (_jsxDEV(BlankPanelPlaceholder, { text: "Add Test Suite", onClick: addSuite, clickActionType: "add", tooltipText: "Click to add test suite" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1381, columnNumber: 37 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1373, columnNumber: 15 }, this), !suites.length && (_jsxDEV(BlankPanelPlaceholder, { disabled: mappingEditorState.isReadOnly, onClick: addSuite, text: "Add a Test Suite", clickActionType: "add", tooltipText: "Click to add a new mapping test suite" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1390, columnNumber: 35 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1339, columnNumber: 13 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1401, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1400, columnNumber: 13 }, this), _jsxDEV(ResizablePanel, { minSize: 56, children: _jsxDEV("div", { className: "panel mapping-testable-editorr", children: _jsxDEV("div", { className: "mapping-testable-editor__content", children: renderSuiteState() }, void 0, false, { fileName: _jsxFileName, lineNumber: 1405, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1404, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1403, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1338, columnNumber: 11 }, this), mappingTestableState.createSuiteState && (_jsxDEV(CreateTestSuiteModal, { creatorState: mappingTestableState.createSuiteState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1411, columnNumber: 54 }, this)), mappingTestableState.testableComponentToRename && (_jsxDEV(RenameModal, { val: mappingTestableState.testableComponentToRename.id, isReadOnly: isReadOnly, showModal: true, closeModal: () => mappingTestableState.setRenameComponent(undefined), setValue: (val) => renameTestingComponent(val), errorMessageFunc: (_val) => validateTestableId(_val, undefined) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1416, columnNumber: 63 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1337, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1335, columnNumber: 13 }, this));
|
465
466
|
});
|
466
467
|
//# sourceMappingURL=MappingTestableEditor.js.map
|