@finos/legend-application-studio 28.17.10 → 28.17.12
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendStudio.js +2 -3
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/ElementIconUtils.js +23 -24
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +7 -8
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioFrameworkProvider.js +3 -4
- package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts +2 -2
- package/lib/components/LegendStudioWebApplication.js +13 -14
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/ShowcaseManager.d.ts +1 -1
- package/lib/components/ShowcaseManager.js +29 -30
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.js +27 -28
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +8 -9
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +3 -4
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +5 -6
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts +1 -1
- package/lib/components/editor/QuickInput.js +5 -6
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -1
- package/lib/components/editor/StatusBar.js +11 -12
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +2 -3
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +4 -5
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +2 -3
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.d.ts +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +39 -40
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +11 -12
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +4 -5
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +14 -15
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js +14 -15
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -4
- package/lib/components/editor/editor-group/RuntimeEditor.js +29 -30
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js +3 -4
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +9 -10
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +10 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +10 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +3 -3
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +5 -6
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +13 -14
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js +2 -3
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +54 -55
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +7 -8
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +6 -7
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +5 -5
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +17 -18
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +9 -10
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +5 -6
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +10 -11
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +5 -6
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +2 -3
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js +5 -6
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +2 -3
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +6 -7
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +26 -27
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +12 -13
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +6 -6
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +16 -17
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +10 -11
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +2 -3
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +2 -3
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +15 -16
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +5 -6
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +38 -39
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +12 -13
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js +3 -4
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +5 -6
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +32 -33
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +10 -11
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +6 -7
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +7 -8
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +5 -6
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +19 -20
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +24 -25
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +29 -30
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js +14 -15
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +9 -10
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts +8 -8
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +21 -22
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +10 -11
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +21 -22
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +26 -27
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +10 -11
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js +5 -6
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +24 -25
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +32 -33
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +10 -11
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js +12 -13
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +11 -12
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +7 -7
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +29 -30
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +5 -6
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +22 -23
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +5 -5
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +30 -31
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +30 -31
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +10 -11
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +6 -7
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js +6 -7
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js +9 -10
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js +2 -3
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.js +2 -3
- package/lib/components/editor/panel-group/ConsolePanel.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +6 -7
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/panel-group/PanelGroup.d.ts +1 -1
- package/lib/components/editor/panel-group/PanelGroup.js +5 -6
- package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.js +5 -6
- package/lib/components/editor/panel-group/ProblemsPanel.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +18 -19
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +2 -2
- package/lib/components/editor/side-bar/CreateNewElementModal.js +26 -27
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -1
- package/lib/components/editor/side-bar/Explorer.js +36 -37
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +12 -13
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js +28 -29
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +17 -18
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -1
- package/lib/components/editor/side-bar/SideBar.js +12 -13
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +27 -28
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js +8 -9
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +9 -10
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +6 -7
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +6 -7
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +6 -7
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +2 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +32 -33
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +3 -4
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +7 -8
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js +10 -11
- package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.js +7 -8
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +3 -4
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js +5 -6
- package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js +9 -10
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js +23 -24
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/project-view/ProjectViewerStoreProvider.js +3 -4
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js +19 -20
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js +3 -4
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +15 -16
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +7 -8
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +6 -7
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +2 -3
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +27 -28
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js +8 -5
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +4 -3
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js +10 -8
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -1
- package/package.json +12 -12
- package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +10 -7
- package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +2 -2
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +4 -2
- package/src/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.ts +14 -12
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.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
|
*
|
@@ -57,7 +56,7 @@ export const MapperPostProcessorEditor = observer((props) => {
|
|
57
56
|
val.from &&
|
58
57
|
mapper.from === val.from).length >= 2;
|
59
58
|
const isMapperDuplicated = (val) => isSchemaMapperDuplicated(val) || isTableMapperDuplicated(val);
|
60
|
-
return (
|
59
|
+
return (_jsx(ResizablePanelGroup, { orientation: "horizontal", children: _jsx(ResizablePanel, { children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 170, minSize: 70, children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: "mapper", children: _jsx(PanelHeaderActions, { children: _jsx(DropdownMenu, { title: "Create mapper", className: "panel__header__action", disabled: isReadOnly, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: addSchemaMapper, children: "New Schema Mapper" }), _jsx(MenuContentItem, { onClick: addTableMapper, children: "New Table Mapper" })] }), menuProps: {
|
61
60
|
anchorOrigin: {
|
62
61
|
vertical: 'bottom',
|
63
62
|
horizontal: 'right',
|
@@ -67,16 +66,16 @@ export const MapperPostProcessorEditor = observer((props) => {
|
|
67
66
|
horizontal: 'right',
|
68
67
|
},
|
69
68
|
elevation: 7,
|
70
|
-
}, children:
|
69
|
+
}, children: _jsx(PlusIcon, {}) }) }) }), _jsx(PanelContent, { children: mappers.map((mapper) => (_jsx(ContextMenu, { disabled: isReadOnly, content: _jsx(MenuContent, { children: _jsx(MenuContentItem, { disabled: isReadOnly, onClick: deleteMapper(mapper), children: "Delete" }) }), menuProps: { elevation: 7 }, children: _jsx(PanelListSelectorItem, { validationError: isMapperDuplicated(mapper), isSelected: mapper === postProcessorState.selectedMapper, onSelect: () => selectMapper(mapper), children: _jsx(PanelListSelectorItemLabel, { title: mapper instanceof TableNameMapper
|
71
70
|
? 'Table Mapper'
|
72
71
|
: 'Schema Mapper', errorMessage: isMapperDuplicated(mapper)
|
73
72
|
? 'Mappers have the same values'
|
74
|
-
: undefined }
|
73
|
+
: undefined }) }) }, mapper._UUID))) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: postProcessorState.selectedMapper instanceof TableNameMapper
|
75
74
|
? 'Table Mapper'
|
76
|
-
: 'Schema Mapper' }
|
75
|
+
: 'Schema Mapper' }), _jsxs(PanelContent, { children: [!selectedMapper && (_jsx(BlankPanelContent, { children: !mappers.length
|
77
76
|
? 'Add a mapper'
|
78
|
-
: 'Choose a mapper to view' }
|
77
|
+
: 'Choose a mapper to view' })), selectedMapper && (_jsxs(PanelForm, { children: [_jsx(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedMapper.from, name: "From", update: (value) => mapper_setFrom(selectedMapper, value ?? '') }), _jsx(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedMapper.to, name: "To", update: (value) => mapper_setTo(selectedMapper, value ?? '') }), selectedSchemaNameMapper && (_jsxs(_Fragment, { children: [_jsx(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedSchemaNameMapper.from, name: "Schema - From", update: (value) => {
|
79
78
|
schemaNameMapper_setFrom(selectedSchemaNameMapper, value ?? '');
|
80
|
-
} }
|
79
|
+
} }), _jsx(PanelFormTextField, { isReadOnly: isReadOnly, value: selectedSchemaNameMapper.to, name: "Schema - To", update: (value) => schemaNameMapper_setTo(selectedSchemaNameMapper, value ?? '') })] }))] }))] })] }) })] }) }) }));
|
81
80
|
});
|
82
81
|
//# sourceMappingURL=MapperPostProcessorEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MapperPostProcessorEditor.js","sourceRoot":"","sources":["../../../../../../src/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"MapperPostProcessorEditor.js","sourceRoot":"","sources":["../../../../../../src/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,QAAQ,EACR,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,WAAW,EACX,eAAe,EACf,YAAY,EACZ,qBAAqB,EACrB,iBAAiB,EACjB,0BAA0B,EAC1B,KAAK,EACL,WAAW,EACX,YAAY,EACZ,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EACL,6BAA6B,EAC7B,gCAAgC,EAChC,cAAc,EACd,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,4EAA4E,CAAC;AAEpF,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAC/C,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,kBAAkB,EAAE,UAAU,EAAE,aAAa,EAAE,GAAG,KAAK,CAAC;IAChE,MAAM,cAAc,GAAG,kBAAkB,CAAC,cAAc,CAAC;IAEzD,MAAM,wBAAwB,GAC5B,cAAc,YAAY,eAAe;QACvC,CAAC,CAAC,cAAc,CAAC,MAAM;QACvB,CAAC,CAAC,SAAS,CAAC;IAEhB,MAAM,YAAY,GAAG,CAAC,GAAW,EAAQ,EAAE;QACzC,kBAAkB,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC;IAC5C,CAAC,CAAC;IAEF,MAAM,eAAe,GAAG,GAAS,EAAE;QACjC,6BAA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AI,EAAC,MAAM,EACX,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE,CAC1C,cAAc,CAAC,cAAc,EAAE,KAAK,IAAI,EAAE,CAAC,GAE7C,EACF,KAAC,kBAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,cAAc,CAAC,EAAE,EACxB,IAAI,EAAC,IAAI,EACT,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE,CAC1C,YAAY,CAAC,cAAc,EAAE,KAAK,IAAI,EAAE,CAAC,GAE3C,EACD,wBAAwB,IAAI,CAC3B,8BACE,KAAC,kBAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,wBAAwB,CAAC,IAAI,EACpC,IAAI,EAAC,eAAe,EACpB,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE;gEAC1C,wBAAwB,CACtB,wBAAwB,EACxB,KAAK,IAAI,EAAE,CACZ,CAAC;4DACJ,CAAC,GACD,EACF,KAAC,kBAAkB,IACjB,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,wBAAwB,CAAC,EAAE,EAClC,IAAI,EAAC,aAAa,EAClB,MAAM,EAAE,CAAC,KAAyB,EAAQ,EAAE,CAC1C,sBAAsB,CACpB,wBAAwB,EACxB,KAAK,IAAI,EAAE,CACZ,GAEH,IACD,CACJ,IACS,CACb,IACY,IACT,GACO,IACG,GACP,GACG,CACvB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -18,16 +18,16 @@ import type { ExternalFormatDataState } from '../../../../stores/editor/editor-s
|
|
18
18
|
export declare const ExternalFormatDataEditor: ((props: {
|
19
19
|
externalFormatDataState: ExternalFormatDataState;
|
20
20
|
isReadOnly: boolean;
|
21
|
-
}) => import("react/jsx-
|
21
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
22
22
|
displayName: string;
|
23
23
|
};
|
24
24
|
export declare const EmbeddedDataEditor: ((props: {
|
25
25
|
embeddedDataEditorState: EmbeddedDataEditorState;
|
26
26
|
isReadOnly: boolean;
|
27
|
-
}) => import("react/jsx-
|
27
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
28
28
|
displayName: string;
|
29
29
|
};
|
30
|
-
export declare const DataElementEditor: (() => import("react/jsx-
|
30
|
+
export declare const DataElementEditor: (() => import("react/jsx-runtime").JSX.Element) & {
|
31
31
|
displayName: string;
|
32
32
|
};
|
33
33
|
//# sourceMappingURL=DataElementEditor.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/data-editor/DataElementEditor.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
|
*
|
@@ -48,15 +47,15 @@ export const ExternalFormatDataEditor = observer((props) => {
|
|
48
47
|
.formatContentTypes;
|
49
48
|
const onContentTypeChange = (val) => externalFormatData_setContentType(externalFormatDataState.embeddedData, val);
|
50
49
|
const language = getEditorLanguageForFormat(editorStore.graphState.graphGenerationState.externalFormatState.getFormatTypeForContentType(externalFormatDataState.embeddedData.contentType));
|
51
|
-
return (
|
50
|
+
return (_jsxs("div", { className: "panel external-format-data-editor", children: [_jsxs("div", { className: "external-format-data-editor__header", children: [_jsxs("div", { className: "external-format-data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "external-format-editor-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "external-format-data-editor__header__title__label", children: externalFormatDataState.label() })] }), _jsx("div", { className: "external-format-data-editor__header__actions", children: _jsxs(DropdownMenu, { className: "external-format-data-editor__type", disabled: isReadOnly, content: _jsx(MenuContent, { className: "external-format-data-editor__dropdown", children: contentTypeOptions.map((contentType) => (_jsx(MenuContentItem, { className: "external-format-data-editor__option", onClick: () => onContentTypeChange(contentType), children: contentType }, contentType))) }), menuProps: {
|
52
51
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
53
52
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
54
|
-
}, children: [
|
53
|
+
}, children: [_jsx("div", { className: "external-format-data-editor__type__label", children: externalFormatDataState.embeddedData.contentType }), _jsx("div", { className: "external-format-data-editor__type__icon", children: _jsx(CaretDownIcon, {}) })] }) })] }), _jsx("div", { className: clsx('external-format-data-editor__content'), children: _jsx("div", { className: "external-format-data-editor__content__input", children: _jsx(CodeEditor, { language: language, inputValue: externalFormatDataState.embeddedData.data, updateInput: changeData, hideGutter: true }) }) })] }));
|
55
54
|
});
|
56
55
|
export const EmbeddedDataEditor = observer((props) => {
|
57
56
|
const { embeddedDataEditorState, isReadOnly } = props;
|
58
57
|
const embeddedDataState = embeddedDataEditorState.embeddedDataState;
|
59
|
-
return (
|
58
|
+
return (_jsx("div", { className: "panel connection-editor", children: renderEmbeddedDataEditor(embeddedDataState, isReadOnly) }));
|
60
59
|
});
|
61
60
|
export const DataElementEditor = observer(() => {
|
62
61
|
const editorStore = useEditorStore();
|
@@ -100,8 +99,8 @@ export const DataElementEditor = observer(() => {
|
|
100
99
|
}), [handleDropStereotype]);
|
101
100
|
const seeDocumentation = () => applicationStore.assistantService.openDocumentationEntry(LEGEND_STUDIO_DOCUMENTATION_KEY.QUESTION_HOW_TO_CREATE_A_DATA_ELEMENT);
|
102
101
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DATA_ELEMENT_EDITOR);
|
103
|
-
return (
|
102
|
+
return (_jsxs("div", { className: "data-editor", children: [_jsx("div", { className: "data-editor__header", children: _jsxs("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "data-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsxs("div", { className: "data-editor__header__title__label", children: ["Data Element", _jsx("button", { className: "binding-editor__header__title__label__hint", tabIndex: -1, onClick: seeDocumentation, title: "click to see more details on creating a data element", children: _jsx(InfoCircleIcon, {}) })] }), _jsx("div", { className: "data-editor__header__title__content", children: dataElement.name })] }) }), _jsx("div", { className: "uml-element-editor__tabs", children: Object.values(DATA_TAB_TYPE).map((tab) => (_jsx("div", { onClick: changeTab(tab), className: clsx('relational-connection-editor__tab', {
|
104
103
|
'relational-connection-editor__tab--active': tab === selectedTab,
|
105
|
-
}), children: prettyCONSTName(tab) }, tab
|
104
|
+
}), children: prettyCONSTName(tab) }, tab))) }), _jsxs("div", { className: "data-editor__content", children: [selectedTab === DATA_TAB_TYPE.GENERAL && (_jsx(EmbeddedDataEditor, { embeddedDataEditorState: editorState.embeddedDataState, isReadOnly: isReadOnly })), selectedTab === DATA_TAB_TYPE.STEREOTYPES && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "data-editor__header", children: [_jsxs("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "element-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "data-editor__header__title__label", children: "Stereotypes" })] }), _jsx("div", { className: "data-editor__header__actions", children: _jsx("button", { className: "data-editor__header__action", onClick: addStereotype, disabled: isReadOnly, tabIndex: -1, title: "Add Stereotype", children: _jsx(PlusIcon, {}) }) })] }), _jsx("div", { className: "data-editor__content", children: _jsx("div", { className: "data-editor__content__lists", children: _jsx(PanelDropZone, { isDragOver: isStereotypeDragOver && !isReadOnly, dropTargetConnector: dropStereotypeRef, children: _jsxs(PanelContentLists, { children: [_jsx(StereotypeDragPreviewLayer, {}), dataElement.stereotypes.map((stereotype) => (_jsx(StereotypeSelector, { annotatedElement: dataElement, stereotype: stereotype, deleteStereotype: _deleteStereotype(stereotype), isReadOnly: isReadOnly, darkTheme: true }, stereotype.value._UUID)))] }) }) }) })] })), selectedTab === DATA_TAB_TYPE.TAGGED_VALUES && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "data-editor__header", children: [_jsxs("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "data-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "data-editor__header__title__label", children: "Tagged Values" })] }), _jsx("div", { className: "data-editor__header__actions", children: _jsx("button", { className: "data-editor__header__action", onClick: addTaggedValue, disabled: isReadOnly, tabIndex: -1, title: "Add Tagged value", children: _jsx(PlusIcon, {}) }) })] }), _jsx("div", { className: "data-editor__content", children: _jsx("div", { className: "data-editor__content__lists", children: _jsx(PanelDropZone, { isDragOver: isTaggedValueDragOver && !isReadOnly, dropTargetConnector: dropTaggedValueRef, children: _jsxs(PanelContentLists, { children: [_jsx(TaggedValueDragPreviewLayer, {}), dataElement.taggedValues.map((taggedValue) => (_jsx(TaggedValueEditor, { annotatedElement: dataElement, taggedValue: taggedValue, deleteValue: deleteTaggedValue(taggedValue), isReadOnly: isReadOnly, darkTheme: true }, taggedValue._UUID)))] }) }) }) })] }))] })] }));
|
106
105
|
});
|
107
106
|
//# sourceMappingURL=DataElementEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/data-editor/DataElementEditor.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DataElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/data-editor/DataElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,aAAa,EAEb,0BAA0B,GAC3B,MAAM,qFAAqF,CAAC;AAC7F,OAAO,EACL,aAAa,EACb,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAGL,2BAA2B,EAC3B,OAA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,CAAC,UAAU,EAChD,mBAAmB,EAAE,kBAAkB,YAEvC,MAAC,iBAAiB,eAChB,KAAC,2BAA2B,KAAG,EAC9B,WAAW,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAC7C,KAAC,iBAAiB,IAChB,gBAAgB,EAAE,WAAW,EAE7B,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,iBAAiB,CAAC,WAAW,CAAC,EAC3C,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,IAAI,IAJV,WAAW,CAAC,KAAK,CAKtB,CACH,CAAC,IACgB,GACN,GACZ,GACF,IACL,CACJ,IACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -19,32 +19,32 @@ import { type EmbeddedDataState, DataElementReferenceState, ExternalFormatDataSt
|
|
19
19
|
export declare const ExternalFormatDataEditor: ((props: {
|
20
20
|
externalFormatDataState: ExternalFormatDataState;
|
21
21
|
isReadOnly: boolean;
|
22
|
-
}) => import("react/jsx-
|
22
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
23
23
|
displayName: string;
|
24
24
|
};
|
25
25
|
export declare const DataElementReferenceDataEditor: ((props: {
|
26
26
|
dataElementReferenceState: DataElementReferenceState;
|
27
27
|
isReadOnly: boolean;
|
28
|
-
}) => import("react/jsx-
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
29
29
|
displayName: string;
|
30
30
|
};
|
31
31
|
export declare const ModelEmbeddedDataEditor: ((props: {
|
32
32
|
modelDataState: ModelEmbeddedDataState;
|
33
33
|
modelStoreDataState: ModelStoreDataState;
|
34
34
|
isReadOnly: boolean;
|
35
|
-
}) => import("react/jsx-
|
35
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
36
36
|
displayName: string;
|
37
37
|
};
|
38
38
|
export declare const ModelStoreDataEditor: ((props: {
|
39
39
|
modelStoreDataState: ModelStoreDataState;
|
40
40
|
isReadOnly: boolean;
|
41
|
-
}) => import("react/jsx-
|
41
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
42
42
|
displayName: string;
|
43
43
|
};
|
44
44
|
export declare const EmbeddedDataEditor: ((props: {
|
45
45
|
embeddedDataEditorState: EmbeddedDataEditorState;
|
46
46
|
isReadOnly: boolean;
|
47
|
-
}) => import("react/jsx-
|
47
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
48
48
|
displayName: string;
|
49
49
|
};
|
50
50
|
export declare function renderEmbeddedDataEditor(embeddedDataState: EmbeddedDataState, isReadOnly: boolean): React.ReactNode;
|
@@ -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/data-editor/EmbeddedDataEditor.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
|
*
|
@@ -45,10 +44,10 @@ export const ExternalFormatDataEditor = observer((props) => {
|
|
45
44
|
const language = getEditorLanguageForFormat(editorStore.graphState.graphGenerationState.externalFormatState.getFormatTypeForContentType(externalFormatDataState.embeddedData.contentType));
|
46
45
|
const format = () => externalFormatDataState.format();
|
47
46
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_DATA_EXTERNAL_FORMAT_EDITOR);
|
48
|
-
return (
|
47
|
+
return (_jsxs("div", { className: "panel external-format-data-editor", children: [_jsxs("div", { className: "external-format-data-editor__header", children: [_jsxs("div", { className: "external-format-data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "external-format-editor-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "external-format-data-editor__header__title__label", children: externalFormatDataState.label() })] }), _jsxs("div", { className: "external-format-data-editor__header__actions", children: [_jsx("button", { className: "panel__header__action", disabled: !externalFormatDataState.supportsFormatting || isReadOnly, tabIndex: -1, onClick: format, title: "Format External Format", children: _jsx(WrenchIcon, {}) }), _jsxs(DropdownMenu, { className: "external-format-data-editor__type", disabled: isReadOnly, content: _jsx(MenuContent, { className: "external-format-data-editor__dropdown", children: contentTypeOptions.map((contentType) => (_jsx(MenuContentItem, { className: "external-format-data-editor__option", onClick: () => onContentTypeChange(contentType), children: contentType }, contentType))) }), menuProps: {
|
49
48
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
50
49
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
51
|
-
}, children: [
|
50
|
+
}, children: [_jsx("div", { className: "external-format-data-editor__type__label", children: externalFormatDataState.embeddedData.contentType }), _jsx("div", { className: "external-format-data-editor__type__icon", children: _jsx(CaretDownIcon, {}) })] })] })] }), _jsx(PanelContent, { className: "model-loader__editor", children: _jsx(CodeEditor, { language: language, inputValue: externalFormatDataState.embeddedData.data, updateInput: changeData, hideGutter: true }) })] }));
|
52
51
|
});
|
53
52
|
export const DataElementReferenceDataEditor = observer((props) => {
|
54
53
|
const { dataElementReferenceState, isReadOnly } = props;
|
@@ -64,8 +63,8 @@ export const DataElementReferenceDataEditor = observer((props) => {
|
|
64
63
|
};
|
65
64
|
const visitData = () => editorStore.graphEditorMode.openElement(dataElement);
|
66
65
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_DATA_DATA_ELEMENT_REFERENCE_EDITOR);
|
67
|
-
return (
|
68
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
66
|
+
return (_jsxs("div", { className: "panel data-element-reference-editor", children: [_jsx("div", { className: "data-element-reference-editor__header", children: _jsxs("div", { className: "data-element-reference-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "external-format-editor-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "data-element-reference-editor__header__title__label", children: dataElementReferenceState.label() })] }) }), _jsxs("div", { className: clsx('data-element-reference-editor__content'), children: [_jsxs("div", { className: "data-element-reference-editor__value", children: [_jsx("div", { className: "btn--sm data-element-reference-editor__value__label", children: _jsx(PURE_DataIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown data-element-reference-editor__value__dropdown", disabled: isReadOnly, options: options, onChange: onDataElementChange, value: selectedOption, darkMode: !applicationStore.layoutService
|
67
|
+
.TEMPORARY__isLightColorThemeEnabled }), _jsx("button", { className: "btn--dark btn--sm data-element-reference-editor__value-btn", onClick: visitData, tabIndex: -1, title: "See data element", children: _jsx(LongArrowRightIcon, {}) })] }), _jsx("div", { className: "data-element-reference-editor__content__value", children: renderEmbeddedDataEditor(dataElementReferenceState.embeddedDataValueState, isReadOnly) })] })] }));
|
69
68
|
});
|
70
69
|
export const ModelEmbeddedDataEditor = observer((props) => {
|
71
70
|
const { isReadOnly, modelStoreDataState, modelDataState } = props;
|
@@ -93,38 +92,38 @@ export const ModelEmbeddedDataEditor = observer((props) => {
|
|
93
92
|
modelStoreData_setDataModelModel(modelData, PackageableElementExplicitReference.create(val.value));
|
94
93
|
}
|
95
94
|
};
|
96
|
-
return (
|
95
|
+
return (_jsxs(_Fragment, { children: [!hideClass && (_jsxs("div", { className: "sample-data-generator__controller", children: [_jsx("div", { className: "sample-data-generator__controller__icon", title: "class", children: _jsx(PURE_ClassIcon, {}) }), _jsx(CustomSelectorInput, { ref: classSelectorRef, className: "sample-data-generator__controller__class-selector", options: classOptions, onChange: changeClass, value: selectedClassOption, darkMode: !applicationStore.layoutService
|
97
96
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: elementFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
|
98
97
|
darkMode: !applicationStore.layoutService
|
99
98
|
.TEMPORARY__isLightColorThemeEnabled,
|
100
|
-
}) }
|
99
|
+
}) })] })), renderEmbeddedDataEditor(modelDataState.embeddedDataState, isReadOnly)] }));
|
101
100
|
});
|
102
101
|
export const ModelStoreDataEditor = observer((props) => {
|
103
102
|
const { isReadOnly, modelStoreDataState } = props;
|
104
103
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_DATA_MODEL_STORE_EDITOR);
|
105
|
-
return (
|
104
|
+
return (_jsx("div", { className: "panel connection-editor", children: modelStoreDataState.modelDataStates.map((_modelDataState) => {
|
106
105
|
if (_modelDataState instanceof ModelEmbeddedDataState) {
|
107
|
-
return (
|
106
|
+
return (_jsx(ModelEmbeddedDataEditor, { modelDataState: _modelDataState, modelStoreDataState: modelStoreDataState, isReadOnly: isReadOnly }, _modelDataState.uuid));
|
108
107
|
}
|
109
|
-
return (
|
110
|
-
}) }
|
108
|
+
return (_jsx(UnsupportedEditorPanel, { text: 'Unsuppored Model Data Type', isReadOnly: false }, _modelDataState.uuid));
|
109
|
+
}) }));
|
111
110
|
});
|
112
111
|
export const EmbeddedDataEditor = observer((props) => {
|
113
112
|
const { embeddedDataEditorState, isReadOnly } = props;
|
114
|
-
return (
|
113
|
+
return (_jsx("div", { className: "panel connection-editor", children: renderEmbeddedDataEditor(embeddedDataEditorState.embeddedDataState, isReadOnly) }));
|
115
114
|
});
|
116
115
|
export function renderEmbeddedDataEditor(embeddedDataState, isReadOnly) {
|
117
116
|
if (embeddedDataState instanceof ExternalFormatDataState) {
|
118
|
-
return (
|
117
|
+
return (_jsx(ExternalFormatDataEditor, { externalFormatDataState: embeddedDataState, isReadOnly: isReadOnly }));
|
119
118
|
}
|
120
119
|
else if (embeddedDataState instanceof RelationalCSVDataState) {
|
121
|
-
return (
|
120
|
+
return (_jsx(RelationalCSVDataEditor, { dataState: embeddedDataState, isReadOnly: isReadOnly }));
|
122
121
|
}
|
123
122
|
else if (embeddedDataState instanceof DataElementReferenceState) {
|
124
|
-
return (
|
123
|
+
return (_jsx(DataElementReferenceDataEditor, { dataElementReferenceState: embeddedDataState, isReadOnly: isReadOnly }));
|
125
124
|
}
|
126
125
|
else if (embeddedDataState instanceof ModelStoreDataState) {
|
127
|
-
return (
|
126
|
+
return (_jsx(ModelStoreDataEditor, { modelStoreDataState: embeddedDataState, isReadOnly: isReadOnly }));
|
128
127
|
}
|
129
128
|
else {
|
130
129
|
const extraEmbeddedDataEditorRenderers = embeddedDataState.editorStore.pluginManager
|
@@ -136,7 +135,7 @@ export function renderEmbeddedDataEditor(embeddedDataState, isReadOnly) {
|
|
136
135
|
return editor;
|
137
136
|
}
|
138
137
|
}
|
139
|
-
return (
|
138
|
+
return (_jsxs("div", { className: "panel connection-editor", children: [_jsx("div", { className: "data-editor__header", children: _jsxs("div", { className: "data-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "element-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "data-editor__header__title__label", children: embeddedDataState.label() })] }) }), _jsx(PanelContent, { children: _jsx(UnsupportedEditorPanel, { text: "Can't display this embedded data in form-mode", isReadOnly: isReadOnly }) })] }));
|
140
139
|
}
|
141
140
|
}
|
142
141
|
//# sourceMappingURL=EmbeddedDataEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EmbeddedDataEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"EmbeddedDataEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,aAAa,EACb,IAAI,EACJ,mBAAmB,EACnB,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,cAAc,EACd,aAAa,EACb,UAAU,EAEV,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,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CAAC;YAC7D,IAAI,MAAM,EAAE,CAAC;gBACX,OAAO,MAAM,CAAC;YAChB,CAAC;QACH,CAAC;QACD,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,qBAAqB,YAClC,eAAK,SAAS,EAAC,4BAA4B,aACxC,UAAU,IAAI,CACb,cAAK,SAAS,EAAC,8BAA8B,YAC3C,KAAC,QAAQ,KAAG,GACR,CACP,EACD,cAAK,SAAS,EAAC,mCAAmC,YAC/C,iBAAiB,CAAC,KAAK,EAAE,GACtB,IACF,GACF,EACN,KAAC,YAAY,cACX,KAAC,sBAAsB,IACrB,IAAI,EAAC,+CAA+C,EACpD,UAAU,EAAE,UAAU,GACtB,GACW,IACX,CACP,CAAC;IACJ,CAAC;AACH,CAAC"}
|
@@ -22,7 +22,7 @@ export interface TableOption {
|
|
22
22
|
export declare const RelationalCSVDataEditor: ((props: {
|
23
23
|
dataState: RelationalCSVDataState;
|
24
24
|
isReadOnly: boolean;
|
25
|
-
}) => import("react/jsx-
|
25
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
26
26
|
displayName: string;
|
27
27
|
};
|
28
28
|
//# sourceMappingURL=RelationalCSVDataEditor.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/data-editor/RelationalCSVDataEditor.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
|
*
|
@@ -83,20 +82,20 @@ const RelationalTableIdentifierEditor = observer((props) => {
|
|
83
82
|
}
|
84
83
|
closeModal();
|
85
84
|
};
|
86
|
-
return (
|
85
|
+
return (_jsx(Dialog, { open: dataState.showTableIdentifierModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs("form", { onSubmit: (event) => {
|
87
86
|
event.preventDefault();
|
88
87
|
handleSubmit();
|
89
88
|
closeModal();
|
90
|
-
}, className: "modal modal--dark search-modal", children: [
|
89
|
+
}, className: "modal modal--dark search-modal", children: [_jsx("div", { className: "modal__title", children: existingDataTable
|
91
90
|
? 'Rename Relational Data Table'
|
92
|
-
: 'Add Relational Data Table' }
|
93
|
-
.TEMPORARY__isLightColorThemeEnabled }
|
91
|
+
: 'Add Relational Data Table' }), _jsx("div", { className: "relational-data-editor__identifier", children: resolvedDb && !existingDataTable ? (_jsxs(_Fragment, { children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Table" }), _jsx("div", { className: "explorer__new-element-modal__driver", children: _jsx(CustomSelectorInput, { className: "explorer__new-element-modal__driver__dropdown", options: tableOptions, onChange: onTableChange, value: selectedTable, isClearable: false, darkMode: !applicationStore.layoutService
|
92
|
+
.TEMPORARY__isLightColorThemeEnabled }) })] }), _jsx(PanelFormBooleanField, { isReadOnly: isReadOnly, value: includeBare, name: "Include Columns and First Row", prompt: "Will include table columns and first row using table definition", update: toggleIncludeBare })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "relational-data-editor__identifier__values", children: _jsx("input", { className: "panel__content__form__section__input", disabled: isReadOnly, placeholder: "schemaName", value: schemaName, onChange: changeSchemaValue }) }), _jsx("div", { className: "relational-data-editor__identifier__values", children: _jsx("input", { className: "relational-data-editor__identifier__values panel__content__form__section__input", disabled: isReadOnly, placeholder: "tableName", value: tableName, onChange: changeTableValue }) })] })) }), _jsx("div", { className: "search-modal__actions", children: _jsx("button", { className: "btn btn--dark", disabled: isDisabled || isReadOnly, children: existingDataTable ? 'Rename' : 'Add' }) })] }) }));
|
94
93
|
});
|
95
94
|
const RelationalCSVTableContextMenu = observer(forwardRef(function TestContainerContextMenu(props, ref) {
|
96
95
|
const { dataState, table } = props;
|
97
96
|
const rename = () => dataState.openIdentifierModal(table);
|
98
97
|
const remove = () => dataState.deleteTable(table);
|
99
|
-
return (
|
98
|
+
return (_jsxs(MenuContent, { ref: ref, children: [_jsx(MenuContentItem, { onClick: rename, children: "Rename" }), _jsx(MenuContentItem, { onClick: remove, children: "Delete" })] }));
|
100
99
|
}));
|
101
100
|
const ImportModal = observer((props) => {
|
102
101
|
const { isReadOnly, dataState } = props;
|
@@ -111,7 +110,7 @@ const ImportModal = observer((props) => {
|
|
111
110
|
const changeCSV = (event) => {
|
112
111
|
setCSV(event.target.value);
|
113
112
|
};
|
114
|
-
return (
|
113
|
+
return (_jsx(Dialog, { open: dataState.showImportCSVModal, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "relational-data-editor__import", children: [_jsx(ModalHeader, { title: "Import CSV" }), _jsx(ModalBody, { children: _jsx("textarea", { className: "relational-data-editor__import__textarea", spellCheck: false, placeholder: "CSV Text", value: csv, onChange: changeCSV, disabled: isReadOnly }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Import", title: "Create new query", onClick: importVal }) })] }) }));
|
115
114
|
});
|
116
115
|
export const RelationalCSVDataEditor = observer((props) => {
|
117
116
|
const { dataState, isReadOnly } = props;
|
@@ -129,12 +128,12 @@ export const RelationalCSVDataEditor = observer((props) => {
|
|
129
128
|
const isTableActive = (table) => currentTableState?.table === table;
|
130
129
|
const showCSVModal = () => dataState.setShowImportCsvModal(true);
|
131
130
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_DATA_RELATIONAL_EDITOR);
|
132
|
-
return (
|
131
|
+
return (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { minSize: 30, size: 300, children: _jsxs("div", { className: "relational-data-editor", children: [_jsxs("div", { className: "relational-data-editor__header", children: [_jsx("div", { className: "relational-data-editor__header__title", children: _jsx("div", { className: "relational-data-editor__header__title__label", children: "Relational Table Explorer" }) }), _jsxs("div", { className: "relational-data-editor__header__actions", children: [_jsx("button", { className: "schema-set-panel__header__action", onClick: showCSVModal, disabled: isReadOnly, tabIndex: -1, title: "Import CSV", children: _jsx(UploadIcon, {}) }), _jsx("button", { className: "relational-data-editor__header__action", onClick: openIdentifierModal, disabled: isReadOnly, tabIndex: -1, title: "Add Relational Table Data", children: _jsx(PlusIcon, {}) })] })] }), _jsx(MenuContent, { className: "relational-data-editor__content", children: dataState.embeddedData.tables.map((_table) => (_jsx(ContextMenu, { className: clsx('relational-data-editor-explorer__item', {
|
133
132
|
'relational-data-editor-explorer__item--selected-from-context-menu': !isTableActive(_table) &&
|
134
133
|
selectedTableFromContextMenu ===
|
135
134
|
currentTableState?.table,
|
136
135
|
}, {
|
137
136
|
'relational-data-editor-explorer__item--active': isTableActive(_table),
|
138
|
-
}), disabled: isReadOnly, content:
|
137
|
+
}), disabled: isReadOnly, content: _jsx(RelationalCSVTableContextMenu, { dataState: dataState, table: _table }), menuProps: { elevation: 7 }, onOpen: () => onContextMenuOpen(_table), onClose: () => onContextMenuClose(), children: _jsx("button", { className: clsx('relational-data-editor-explorer__item__label'), onClick: () => changeSelectedTable(_table), tabIndex: -1, children: _jsx("div", { className: "relational-data-editor-explorer__item__label__text", children: `${_table.schema}.${_table.table}` }) }) }, `${_table.table}.${_table.schema}`))) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsxs("div", { className: "relational-data-editor", children: [_jsx("div", { className: "relational-data-editor__header", children: _jsx("div", { className: "relational-data-editor__header__title", children: _jsx("div", { className: "relational-data-editor__header__title__label", children: "CSV Values" }) }) }), _jsxs("div", { className: "relational-data-editor__content", children: [currentTableState && (_jsx("div", { className: "relational-data-editor__values", children: _jsx(CodeEditor, { inputValue: currentTableState.table.values, updateInput: updateTableValues, isReadOnly: isReadOnly, language: CODE_EDITOR_LANGUAGE.TEXT }) })), !currentTableState && (_jsx(BlankPanelPlaceholder, { onClick: () => openIdentifierModal(), text: "Add a relational data table", clickActionType: "add", tooltipText: "Click to add new relational data table" })), dataState.showTableIdentifierModal && (_jsx(RelationalTableIdentifierEditor, { dataState: dataState, isReadOnly: isReadOnly })), dataState.showImportCSVModal && (_jsx(ImportModal, { dataState: dataState, isReadOnly: isReadOnly }))] })] }) })] }));
|
139
138
|
});
|
140
139
|
//# sourceMappingURL=RelationalCSVDataEditor.js.map
|