@finos/legend-application-studio 28.17.10 → 28.17.11
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendStudio.js +2 -3
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/ElementIconUtils.js +23 -24
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +7 -8
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioFrameworkProvider.js +3 -4
- package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts +2 -2
- package/lib/components/LegendStudioWebApplication.js +13 -14
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/ShowcaseManager.d.ts +1 -1
- package/lib/components/ShowcaseManager.js +29 -30
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.js +27 -28
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +8 -9
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +3 -4
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +5 -6
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts +1 -1
- package/lib/components/editor/QuickInput.js +5 -6
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -1
- package/lib/components/editor/StatusBar.js +11 -12
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +2 -3
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +4 -5
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +2 -3
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.d.ts +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +39 -40
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +11 -12
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +4 -5
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +14 -15
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js +14 -15
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -4
- package/lib/components/editor/editor-group/RuntimeEditor.js +29 -30
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js +3 -4
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +9 -10
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +10 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +10 -11
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +3 -3
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +5 -6
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +13 -14
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js +2 -3
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +54 -55
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +7 -8
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +6 -7
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +5 -5
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +17 -18
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +9 -10
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +5 -6
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +10 -11
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +5 -6
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +2 -3
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js +5 -6
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +2 -3
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +6 -7
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +26 -27
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +12 -13
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +6 -6
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +16 -17
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +10 -11
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +2 -3
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +2 -3
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +15 -16
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +5 -6
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +38 -39
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +12 -13
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js +3 -4
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +5 -6
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +32 -33
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +10 -11
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +6 -7
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +7 -8
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +5 -6
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +19 -20
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +24 -25
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +29 -30
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +11 -12
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js +14 -15
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +9 -10
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts +8 -8
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +21 -22
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +4 -5
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +10 -11
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +8 -9
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +21 -22
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +26 -27
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +10 -11
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js +5 -6
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +24 -25
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +32 -33
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +10 -11
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js +12 -13
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +11 -12
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +7 -7
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +29 -30
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +5 -6
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +22 -23
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +5 -5
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +30 -31
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +30 -31
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +10 -11
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +7 -8
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +6 -7
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js +6 -7
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js +9 -10
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js +2 -3
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.js +2 -3
- package/lib/components/editor/panel-group/ConsolePanel.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +6 -7
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/panel-group/PanelGroup.d.ts +1 -1
- package/lib/components/editor/panel-group/PanelGroup.js +5 -6
- package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.js +5 -6
- package/lib/components/editor/panel-group/ProblemsPanel.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +18 -19
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +2 -2
- package/lib/components/editor/side-bar/CreateNewElementModal.js +26 -27
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -1
- package/lib/components/editor/side-bar/Explorer.js +36 -37
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +12 -13
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js +28 -29
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +17 -18
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -1
- package/lib/components/editor/side-bar/SideBar.js +12 -13
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +27 -28
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js +8 -9
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +9 -10
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +6 -7
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +6 -7
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +6 -7
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +2 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +32 -33
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +3 -4
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +7 -8
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js +10 -11
- package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.js +7 -8
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +3 -4
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js +5 -6
- package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js +9 -10
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js +23 -24
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/project-view/ProjectViewerStoreProvider.js +3 -4
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js +19 -20
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js +3 -4
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +15 -16
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +7 -8
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +6 -7
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +2 -3
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +27 -28
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js +8 -5
- package/lib/stores/editor/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +4 -3
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js +10 -8
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -1
- package/package.json +4 -4
- package/src/stores/editor/editor-state/element-editor-state/RuntimeEditorState.ts +10 -7
- package/src/stores/editor/editor-state/element-editor-state/function-activator/testable/FunctionTestableState.ts +2 -2
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +4 -2
- package/src/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.ts +14 -12
@@ -1,5 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -27,7 +26,7 @@ import { DatabaseSchemaExplorer } from './DatabaseSchemaExplorer.js';
|
|
27
26
|
import { DataGrid, } from '@finos/legend-lego/data-grid';
|
28
27
|
const QueryResultCellRenderer = observer((params) => {
|
29
28
|
const cellValue = params.value;
|
30
|
-
return (
|
29
|
+
return (_jsx("div", { className: clsx('query-builder__result__values__table__cell'), children: _jsx("span", { children: cellValue }) }));
|
31
30
|
});
|
32
31
|
const QueryBuilderGridResult = observer((props) => {
|
33
32
|
const { executionResult } = props;
|
@@ -42,10 +41,10 @@ const QueryBuilderGridResult = observer((props) => {
|
|
42
41
|
row.rowNumber = rowIdx;
|
43
42
|
return row;
|
44
43
|
});
|
45
|
-
return (
|
44
|
+
return (_jsx("div", { className: "query-builder__result__values__table", children: _jsx("div", { className: clsx('query-builder__result__tds-grid', {
|
46
45
|
'ag-theme-balham': !darkMode,
|
47
46
|
'ag-theme-balham-dark': darkMode,
|
48
|
-
}), children:
|
47
|
+
}), children: _jsx(DataGrid, { rowData: rowData, gridOptions: {
|
49
48
|
suppressScrollOnNewData: true,
|
50
49
|
getRowId: (data) => data.data.rowNumber,
|
51
50
|
},
|
@@ -63,7 +62,7 @@ const QueryBuilderGridResult = observer((props) => {
|
|
63
62
|
cellRendererParams: {
|
64
63
|
tdsExecutionResult: executionResult,
|
65
64
|
},
|
66
|
-
})) }
|
65
|
+
})) }) }) }));
|
67
66
|
});
|
68
67
|
export const DatabaseBuilderModalContent = observer((props) => {
|
69
68
|
const { databaseBuilderState } = props;
|
@@ -86,12 +85,12 @@ export const DatabaseBuilderModalContent = observer((props) => {
|
|
86
85
|
flowResult(schemaExplorerState.fetchDatabaseMetadata()).catch(applicationStore.alertUnhandledError);
|
87
86
|
}, [applicationStore, schemaExplorerState]);
|
88
87
|
useConditionedApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DATABASE_BUILDER, databaseBuilderState.showModal);
|
89
|
-
return (
|
88
|
+
return (_jsxs(ModalBody, { className: "database-builder__content", children: [_jsx(PanelLoadingIndicator, { isLoading: isExecutingAction }), _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, children: _jsxs(ResizablePanelGroup, { children: [_jsx(ResizablePanel, { children: _jsxs("div", { className: "database-builder__config", children: [_jsx(PanelHeader, { title: "schema explorer" }), _jsx(PanelContent, { className: "database-builder__config__content", children: schemaExplorerState.treeData && (_jsx(DatabaseSchemaExplorer, { treeData: schemaExplorerState.treeData, isReadOnly: false, schemaExplorerState: databaseBuilderState.schemaExplorerState })) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: 'var(--color-dark-grey-250)' }) }), _jsx(ResizablePanel, { children: _jsxs("div", { className: "database-builder__config", children: [_jsx(PanelHeader, { title: "preview" }), _jsx(PanelContent, { className: "database-builder__config__content", children: databaseBuilderState.schemaExplorerState.previewer && (_jsx(QueryBuilderGridResult, { executionResult: databaseBuilderState.schemaExplorerState.previewer })) })] }) })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { children: _jsxs(Panel, { className: "database-builder__model", children: [_jsx(PanelHeader, { title: "database model" }), _jsx(PanelContent, { children: _jsxs("div", { className: "database-builder__modeler", children: [_jsxs("div", { className: "panel__content__form__section database-builder__modeler__path", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Target Database Path" }), _jsx(InputWithInlineValidation, { className: "panel__content__form__section__input", spellCheck: false, onChange: onTargetPathChange, disabled: schemaExplorerState.makeTargetDatabasePathEditable
|
90
89
|
? false
|
91
90
|
: !isCreatingNewDatabase, value: schemaExplorerState.makeTargetDatabasePathEditable ||
|
92
91
|
isCreatingNewDatabase
|
93
92
|
? schemaExplorerState.targetDatabasePath
|
94
|
-
: schemaExplorerState.database.path, error: elementAlreadyExistsMessage, showEditableIcon: true }
|
93
|
+
: schemaExplorerState.database.path, error: elementAlreadyExistsMessage, showEditableIcon: true })] }), _jsxs("div", { className: "database-builder__modeler__preview", children: [_jsx("div", { className: "database-builder__modeler__preview__header", children: "readonly" }), databaseBuilderState.databaseGrammarCode && (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.PURE, inputValue: databaseBuilderState.databaseGrammarCode, isReadOnly: true })), !databaseBuilderState.databaseGrammarCode && (_jsx(BlankPanelContent, { children: "No database preview" }))] })] }) })] }) })] })] }));
|
95
94
|
});
|
96
95
|
export const DatabaseBuilderWizard = observer((props) => {
|
97
96
|
const { databaseBuilderState, isReadOnly } = props;
|
@@ -113,12 +112,12 @@ export const DatabaseBuilderWizard = observer((props) => {
|
|
113
112
|
const isExecutingAction = schemaExplorerState.isGeneratingDatabase ||
|
114
113
|
schemaExplorerState.isUpdatingDatabase ||
|
115
114
|
schemaExplorerState.previewDataState.isInProgress;
|
116
|
-
return (
|
115
|
+
return (_jsx(Dialog, { open: databaseBuilderState.showModal, onClose: noop, classes: { container: 'search-modal__container' }, PaperProps: {
|
117
116
|
classes: {
|
118
117
|
root: 'search-modal__inner-container database-builder__container',
|
119
118
|
},
|
120
|
-
}, children:
|
119
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "database-builder", children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: "Database Builder" }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: closeModal, children: _jsx(TimesIcon, {}) }) })] }), _jsx(DatabaseBuilderModalContent, { databaseBuilderState: databaseBuilderState }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly || isExecutingAction, onClick: preview, title: "Preview database model...", children: "Preview" }), _jsx(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly ||
|
121
120
|
isExecutingAction ||
|
122
|
-
Boolean(elementAlreadyExistsMessage), onClick: updateDatabase, children: "Update Database" }
|
121
|
+
Boolean(elementAlreadyExistsMessage), onClick: updateDatabase, children: "Update Database" })] })] }) }));
|
123
122
|
});
|
124
123
|
//# sourceMappingURL=DatabaseBuilderWizard.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DatabaseBuilderWizard.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DatabaseBuilderWizard.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,MAAM,EACN,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACrB,YAAY,EACZ,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,KAAK,EACL,yBAAyB,EACzB,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAoB,MAAM,sBAAsB,CAAC;AACzE,OAAO,EACL,mBAAmB,EACnB,0CAA0C,GAC3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,gDAAgD,EAAE,MAAM,iEAAiE,CAAC;AACnI,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AAExC,OAAO,EAAE,sBAAsB,EA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F,MAAM,iBAAiB,GACrB,mBAAmB,CAAC,oBAAoB;QACxC,mBAAmB,CAAC,kBAAkB;QACtC,mBAAmB,CAAC,gBAAgB,CAAC,YAAY,CAAC;IAEpD,OAAO,CACL,KAAC,MAAM,IACL,IAAI,EAAE,oBAAoB,CAAC,SAAS,EACpC,OAAO,EAAE,IAAI,EACb,OAAO,EAAE,EAAE,SAAS,EAAE,yBAAyB,EAAE,EACjD,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,IAAI,EAAE,2DAA2D;aAClE;SACF,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,EAErE,SAAS,EAAC,kBAAkB,aAE5B,MAAC,WAAW,eACV,KAAC,UAAU,IAAC,KAAK,EAAC,kBAAkB,GAAG,EACvC,KAAC,kBAAkB,cACjB,iBACE,SAAS,EAAC,uBAAuB,EACjC,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,UAAU,YAEnB,KAAC,SAAS,KAAG,GACN,GACU,IACT,EACd,KAAC,2BAA2B,IAC1B,oBAAoB,EAAE,oBAAoB,GAC1C,EACF,MAAC,WAAW,eACV,KAAC,iBAAiB,IAChB,SAAS,EAAC,+BAA+B,EACzC,QAAQ,EAAE,UAAU,IAAI,iBAAiB,EACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,2BAA2B,wBAGf,EACpB,KAAC,iBAAiB,IAChB,SAAS,EAAC,+BAA+B,EACzC,QAAQ,EACN,UAAU;gCACV,iBAAiB;gCACjB,OAAO,CAAC,2BAA2B,CAAC,EAEtC,OAAO,EAAE,cAAc,gCAGL,IACR,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -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/DatabaseEditorHelper.tsx";
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -19,13 +18,13 @@ import { BinaryTypeIcon, ToggleIcon, ClockIcon, HashtagIcon, QuestionCircleIcon,
|
|
19
18
|
import { Real, Binary, Bit, Other, Date, Timestamp, Numeric, Decimal, VarBinary, Char, VarChar, Double, Float, Integer, TinyInt, SmallInt, BigInt, SemiStructured, Json, } from '@finos/legend-graph';
|
20
19
|
export const renderColumnTypeIcon = (type) => {
|
21
20
|
if (type instanceof VarChar || type instanceof Char) {
|
22
|
-
return (
|
21
|
+
return (_jsx(StringTypeIcon, { className: "relation-source-tree__icon relation-source-tree__icon__string" }));
|
23
22
|
}
|
24
23
|
else if (type instanceof VarBinary || type instanceof Binary) {
|
25
|
-
return (
|
24
|
+
return (_jsx(BinaryTypeIcon, { className: "relation-source-tree__icon relation-source-tree__icon__binary" }));
|
26
25
|
}
|
27
26
|
else if (type instanceof Bit) {
|
28
|
-
return (
|
27
|
+
return (_jsx(ToggleIcon, { className: "relation-source-tree__icon relation-source-tree__icon__boolean" }));
|
29
28
|
}
|
30
29
|
else if (type instanceof Numeric ||
|
31
30
|
type instanceof Decimal ||
|
@@ -36,20 +35,20 @@ export const renderColumnTypeIcon = (type) => {
|
|
36
35
|
type instanceof BigInt ||
|
37
36
|
type instanceof SmallInt ||
|
38
37
|
type instanceof TinyInt) {
|
39
|
-
return (
|
38
|
+
return (_jsx(HashtagIcon, { className: "relation-source-tree__icon relation-source-tree__icon__number" }));
|
40
39
|
}
|
41
40
|
else if (type instanceof Date || type instanceof Timestamp) {
|
42
|
-
return (
|
41
|
+
return (_jsx(ClockIcon, { className: "relation-source-tree__icon relation-source-tree__icon__time" }));
|
43
42
|
}
|
44
43
|
else if (type instanceof SemiStructured) {
|
45
|
-
return (
|
44
|
+
return (_jsx(ShapeTriangleIcon, { className: "relation-source-tree__icon relation-source-tree__icon__semi-structured" }));
|
46
45
|
}
|
47
46
|
else if (type instanceof Json) {
|
48
|
-
return (
|
47
|
+
return (_jsx(SerializeIcon, { className: "relation-source-tree__icon relation-source-tree__icon__json" }));
|
49
48
|
}
|
50
49
|
else if (type instanceof Other) {
|
51
|
-
return (
|
50
|
+
return (_jsx(QuestionCircleIcon, { className: "relation-source-tree__icon relation-source-tree__icon__unknown" }));
|
52
51
|
}
|
53
|
-
return (
|
52
|
+
return (_jsx(QuestionCircleIcon, { className: "relation-source-tree__icon relation-source-tree__icon__unknown" }));
|
54
53
|
};
|
55
54
|
//# sourceMappingURL=DatabaseEditorHelper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DatabaseEditorHelper.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseEditorHelper.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DatabaseEditorHelper.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseEditorHelper.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,UAAU,EACV,SAAS,EACT,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,IAAI,EACJ,MAAM,EACN,GAAG,EACH,KAAK,EACL,IAAI,EACJ,SAAS,EACT,OAAO,EACP,OAAO,EACP,SAAS,EACT,IAAI,EACJ,OAAO,EACP,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,QAAQ,EACR,MAAM,EACN,cAAc,EACd,IAAI,GACL,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,IAAwB,EACP,EAAE;IACnB,IAAI,IAAI,YAAY,OAAO,IAAI,IAAI,YAAY,IAAI,EAAE,CAAC;QACpD,OAAO,CACL,KAAC,cAAc,IAAC,SAAS,EAAC,+DAA+D,GAAG,CAC7F,CAAC;IACJ,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,CAAC,CAAC"}
|
@@ -16,19 +16,19 @@
|
|
16
16
|
import type { DatabaseModelBuilderState } from '../../../../stores/editor/editor-state/element-editor-state/connection/DatabaseModelBuilderState.js';
|
17
17
|
export declare const DatabaseModelPackageInput: ((props: {
|
18
18
|
databaseModelBuilderState: DatabaseModelBuilderState;
|
19
|
-
}) => import("react/jsx-
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
export declare const DatabaseModelPreviewEditor: ((props: {
|
23
23
|
databaseModelBuilderState: DatabaseModelBuilderState;
|
24
24
|
grammarCode: string;
|
25
|
-
}) => import("react/jsx-
|
25
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
26
26
|
displayName: string;
|
27
27
|
};
|
28
28
|
export declare const DatabaseModelBuilder: ((props: {
|
29
29
|
databaseModelBuilderState: DatabaseModelBuilderState;
|
30
30
|
isReadOnly: boolean;
|
31
|
-
}) => import("react/jsx-
|
31
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
32
32
|
displayName: string;
|
33
33
|
};
|
34
34
|
//# sourceMappingURL=DatabaseModelBuilder.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/connection-editor/DatabaseModelBuilder.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -37,13 +36,13 @@ export const DatabaseModelPackageInput = observer((props) => {
|
|
37
36
|
: !isValidPath(databaseModelBuilderState.targetPackage)
|
38
37
|
? 'Invalid target package path'
|
39
38
|
: undefined;
|
40
|
-
return (
|
39
|
+
return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Target Package" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Target Package of Mapping and Models Generated" }), _jsx(InputWithInlineValidation, { className: "query-builder__variables__variable__name__input input-group__input", spellCheck: false, value: databaseModelBuilderState.targetPackage, onChange: changeTargetPackage, placeholder: "Target package path", error: targetPackageValidationMessage, showEditableIcon: true })] }));
|
41
40
|
});
|
42
41
|
export const DatabaseModelPreviewEditor = observer((props) => {
|
43
42
|
const { databaseModelBuilderState, grammarCode } = props;
|
44
43
|
const isExecutingAction = databaseModelBuilderState.generatingModelState.isInProgress ||
|
45
44
|
databaseModelBuilderState.saveModelState.isInProgress;
|
46
|
-
return (
|
45
|
+
return (_jsxs(Panel, { className: "database-builder__model", children: [_jsx(PanelHeader, { title: "database model" }), _jsxs(PanelContent, { children: [_jsx(PanelLoadingIndicator, { isLoading: isExecutingAction }), _jsx("div", { className: "database-builder__modeler", children: _jsxs("div", { className: "database-builder__modeler__preview", children: [_jsx("div", { className: "database-builder__modeler__preview__header", children: "readonly" }), databaseModelBuilderState.generatedGrammarCode && (_jsx(CodeEditor, { language: CODE_EDITOR_LANGUAGE.PURE, inputValue: grammarCode, isReadOnly: true })), !databaseModelBuilderState.generatedGrammarCode && (_jsx(BlankPanelContent, { children: "No model preview" }))] }) })] })] }));
|
47
46
|
});
|
48
47
|
export const DatabaseModelBuilder = observer((props) => {
|
49
48
|
const { databaseModelBuilderState, isReadOnly } = props;
|
@@ -63,10 +62,10 @@ export const DatabaseModelBuilder = observer((props) => {
|
|
63
62
|
flowResult(databaseModelBuilderState.previewDatabaseModels()).catch(applicationStore.alertUnhandledError);
|
64
63
|
}, [applicationStore, databaseModelBuilderState]);
|
65
64
|
useConditionedApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DATABASE_MODEL_BUILDER, databaseModelBuilderState.showModal);
|
66
|
-
return (
|
65
|
+
return (_jsx(Dialog, { open: databaseModelBuilderState.showModal, classes: { container: 'search-modal__container' }, onClose: noop, PaperProps: {
|
67
66
|
classes: {
|
68
67
|
root: 'search-modal__inner-container database-builder__container',
|
69
68
|
},
|
70
|
-
}, children:
|
69
|
+
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "database-builder", children: [_jsxs(ModalHeader, { children: [_jsx(ModalTitle, { title: "Database Model Builder" }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", tabIndex: -1, onClick: closeModal, children: _jsx(TimesIcon, {}) }) })] }), _jsx(ModalBody, { className: "database-builder__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, children: _jsxs("div", { className: "database-builder__config", children: [_jsx(PanelHeader, { title: "schema explorer" }), _jsx(PanelContent, { className: "database-builder__config__content", children: _jsx(DatabaseModelPackageInput, { databaseModelBuilderState: databaseModelBuilderState }) })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { children: _jsx(DatabaseModelPreviewEditor, { databaseModelBuilderState: databaseModelBuilderState, grammarCode: databaseModelBuilderState.generatedGrammarCode }) })] }) }), _jsxs(ModalFooter, { children: [_jsx(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly || isExecutingAction, onClick: preview, title: "Preview models...", children: "Preview" }), _jsx(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly || isExecutingAction, onClick: saveModels, children: "Save Models" })] })] }) }));
|
71
70
|
});
|
72
71
|
//# sourceMappingURL=DatabaseModelBuilder.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DatabaseModelBuilder.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseModelBuilder.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DatabaseModelBuilder.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseModelBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC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O,EAAE,OAAO,EAChB,KAAK,EAAC,mBAAmB,wBAGP,EACpB,KAAC,iBAAiB,IAChB,SAAS,EAAC,+BAA+B,EACzC,QAAQ,EAAE,UAAU,IAAI,iBAAiB,EACzC,OAAO,EAAE,UAAU,4BAGD,IACR,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -28,7 +28,7 @@ export declare const DatabaseSchemaExplorer: ((props: {
|
|
28
28
|
treeData: DatabaseExplorerTreeData;
|
29
29
|
isReadOnly?: boolean | undefined;
|
30
30
|
treeNodeContainerComponent?: React.FC<DatabaseSchemaExplorerTreeNodeContainerProps> | undefined;
|
31
|
-
}) => import("react/jsx-
|
31
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
32
32
|
displayName: string;
|
33
33
|
};
|
34
34
|
//# sourceMappingURL=DatabaseSchemaExplorer.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/connection-editor/DatabaseSchemaExplorer.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -25,10 +24,10 @@ import { stringifyDataType } from '@finos/legend-graph';
|
|
25
24
|
import { forwardRef } from 'react';
|
26
25
|
const getDatabaseSchemaNodeIcon = (node) => {
|
27
26
|
if (node instanceof DatabaseSchemaExplorerTreeSchemaNodeData) {
|
28
|
-
return (
|
27
|
+
return (_jsx("div", { className: "database-schema-explorer__icon--schema", children: _jsx(PURE_DatabaseSchemaIcon, {}) }));
|
29
28
|
}
|
30
29
|
else if (node instanceof DatabaseSchemaExplorerTreeTableNodeData) {
|
31
|
-
return (
|
30
|
+
return (_jsx("div", { className: "database-schema-explorer__icon--table", children: _jsx(PURE_DatabaseTableIcon, {}) }));
|
32
31
|
}
|
33
32
|
else if (node instanceof DatabaseSchemaExplorerTreeColumnNodeData) {
|
34
33
|
return renderColumnTypeIcon(node.column.type);
|
@@ -40,7 +39,7 @@ export const DatabaseSchemaExplorerTreeNodeContainer = observer(forwardRef(funct
|
|
40
39
|
const { toggleCheckedNode, isPartiallySelected, isPreviewDataDisabled, previewData, } = innerProps;
|
41
40
|
const isExpandable = Boolean(!node.childrenIds || node.childrenIds.length) &&
|
42
41
|
!(node instanceof DatabaseSchemaExplorerTreeColumnNodeData);
|
43
|
-
const nodeExpandIcon = isExpandable ? (node.isOpen ? (
|
42
|
+
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
44
43
|
const nodeTypeIcon = getDatabaseSchemaNodeIcon(node);
|
45
44
|
const toggleExpandNode = () => {
|
46
45
|
onNodeSelect?.(node);
|
@@ -55,23 +54,23 @@ export const DatabaseSchemaExplorerTreeNodeContainer = observer(forwardRef(funct
|
|
55
54
|
return null;
|
56
55
|
}
|
57
56
|
else if (isPartiallySelected(_node)) {
|
58
|
-
return
|
57
|
+
return _jsx(CircleIcon, {});
|
59
58
|
}
|
60
59
|
else if (_node.isChecked) {
|
61
|
-
return
|
60
|
+
return _jsx(CheckCircleIcon, {});
|
62
61
|
}
|
63
|
-
return
|
62
|
+
return _jsx(EmptyCircleIcon, {});
|
64
63
|
};
|
65
|
-
return (
|
64
|
+
return (_jsxs("div", { className: "tree-view__node__container", ref: ref, style: {
|
66
65
|
paddingLeft: `${level * (stepPaddingInRem ?? 1)}rem`,
|
67
66
|
display: 'flex',
|
68
|
-
}, onClick: toggleExpandNode, children: [
|
67
|
+
}, onClick: toggleExpandNode, children: [_jsxs("div", { className: "tree-view__node__icon database-schema-explorer__node__icon__group", children: [_jsx("div", { className: "database-schema-explorer__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: "database-schema-explorer__checker-icon", onClick: (event) => {
|
69
68
|
event.stopPropagation();
|
70
69
|
toggleCheckedNode(node);
|
71
|
-
}, children: renderCheckedIcon(node) }
|
70
|
+
}, children: renderCheckedIcon(node) }), _jsx("div", { className: "database-schema-explorer__type-icon", children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label database-schema-explorer__node__label", children: [node.label, node instanceof DatabaseSchemaExplorerTreeColumnNodeData && (_jsx("div", { className: "database-schema-explorer__node__type", children: _jsx("div", { className: "database-schema-explorer__node__type__label", children: stringifyDataType(node.column.type) }) })), isPrimaryKeyColumn && (_jsx("div", { className: "database-schema-explorer__node__pk", title: "Primary Key", children: _jsx(KeyIcon, {}) })), !isPreviewDataDisabled(node) && (_jsx("button", { className: "query-builder-explorer-tree__node__action", tabIndex: -1, onClick: (event) => {
|
72
71
|
event.stopPropagation();
|
73
72
|
previewData(node);
|
74
|
-
}, title: "Preview Table Data", children:
|
73
|
+
}, title: "Preview Table Data", children: _jsx(EyeIcon, {}) }))] })] }));
|
75
74
|
}));
|
76
75
|
export const DatabaseSchemaExplorer = observer((props) => {
|
77
76
|
const { treeData, schemaExplorerState, treeNodeContainerComponent } = props;
|
@@ -96,7 +95,7 @@ export const DatabaseSchemaExplorer = observer((props) => {
|
|
96
95
|
};
|
97
96
|
const isPreviewDataDisabled = (node) => !(node instanceof DatabaseSchemaExplorerTreeTableNodeData ||
|
98
97
|
node instanceof DatabaseSchemaExplorerTreeColumnNodeData);
|
99
|
-
return (
|
98
|
+
return (_jsx(TreeView, { className: "database-schema-explorer", components: {
|
100
99
|
TreeNodeContainer: treeNodeContainerComponent ??
|
101
100
|
DatabaseSchemaExplorerTreeNodeContainer,
|
102
101
|
}, innerProps: {
|
@@ -104,6 +103,6 @@ export const DatabaseSchemaExplorer = observer((props) => {
|
|
104
103
|
isPartiallySelected,
|
105
104
|
previewData,
|
106
105
|
isPreviewDataDisabled,
|
107
|
-
}, treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes }
|
106
|
+
}, treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes }));
|
108
107
|
});
|
109
108
|
//# sourceMappingURL=DatabaseSchemaExplorer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DatabaseSchemaExplorer.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DatabaseSchemaExplorer.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,QAAQ,EACR,uBAAuB,EACvB,sBAAsB,EACtB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,OAAO,EACP,OAAO,EACP,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,wCAAwC,EACxC,wCAAwC,EACxC,uCAAuC,GAExC,MAAM,gGAAgG,CAAC;AACxG,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,MAAM,yBAAyB,GAAG,CAChC,IAAwC,EACvB,EAAE;IACnB,IAAI,IAAI,YAAY,wCAAwC,EAAE,CAAC;QAC7D,OAAO,CACL,cAAK,SAAS,EAAC,wCAAwC,YACrD,KAAC,uBAAuB,KAAG,GACvB,CACP,CAAC;IACJ,CAAC;SAAM,IAAI,IAAI,YAAY,uCAAuC,EAAE,CAAC;QACnE,OAAO,CACL,cAAK,SAAS,EAAC,uCAAuC,YACpD,KAAC,sBAAsB,KAA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AAC;QACJ,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IACF,MAAM,iBAAiB,GAAG,CACxB,IAAwC,EAClC,EAAE,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAEjE,MAAM,WAAW,GAAG,CAAC,IAAwC,EAAQ,EAAE;QACrE,UAAU,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CACrD,gBAAgB,CAAC,mBAAmB,CACrC,CAAC;IACJ,CAAC,CAAC;IAEF,MAAM,qBAAqB,GAAG,CAC5B,IAAwC,EAC/B,EAAE,CACX,CAAC,CACC,IAAI,YAAY,uCAAuC;QACvD,IAAI,YAAY,wCAAwC,CACzD,CAAC;IAEJ,OAAO,CACL,KAAC,QAAQ,IACP,SAAS,EAAC,0BAA0B,EACpC,UAAU,EAAE;YACV,iBAAiB,EACf,0BAA0B;gBAC1B,uCAAuC;SAC1C,EACD,UAAU,EAAE;YACV,iBAAiB;YACjB,mBAAmB;YACnB,WAAW;YACX,qBAAqB;SACtB,EACD,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,aAAa,EAAE,aAAa,GAC5B,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -17,7 +17,7 @@ import type { FlatDataConnectionValueState } from '../../../../stores/editor/edi
|
|
17
17
|
export declare const FlatDataConnectionEditor: ((props: {
|
18
18
|
connectionValueState: FlatDataConnectionValueState;
|
19
19
|
isReadOnly: boolean;
|
20
|
-
}) => import("react/jsx-
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
21
21
|
displayName: string;
|
22
22
|
};
|
23
23
|
//# sourceMappingURL=FlatDataConnectionEditor.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/connection-editor/FlatDataConnectionEditor.tsx";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
3
2
|
/**
|
4
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
5
4
|
*
|
@@ -22,6 +21,6 @@ export const FlatDataConnectionEditor = observer((props) => {
|
|
22
21
|
const connection = connectionValueState.connection;
|
23
22
|
// url
|
24
23
|
const changeUrl = (event) => flatDataConnection_setUrl(connection, event.target.value);
|
25
|
-
return (
|
24
|
+
return (_jsx("div", { className: "panel__content__form", children: _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "URL" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Specifies the connection URL" }), _jsx("textarea", { className: "panel__content__form__section__textarea connection-editor__model-connection-url__textarea", spellCheck: false, value: connection.url, onChange: changeUrl, disabled: isReadOnly })] }) }));
|
26
25
|
});
|
27
26
|
//# sourceMappingURL=FlatDataConnectionEditor.js.map
|
package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FlatDataConnectionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FlatDataConnectionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,uEAAuE,CAAC;AAElH,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAC9C,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,oBAAoB,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACnD,MAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC;IACnD,MAAM;IACN,MAAM,SAAS,GAAkD,CAAC,KAAK,EAAE,EAAE,CACzE,yBAAyB,CAAC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC5D,OAAO,CACL,cAAK,SAAS,EAAC,sBAAsB,YACnC,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,8CAA8C,oBAEvD,EACN,cAAK,SAAS,EAAC,+CAA+C,6CAExD,EACN,mBACE,SAAS,EAAC,2FAA2F,EACrG,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,UAAU,CAAC,GAAG,EACrB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,UAAU,GACpB,IACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts
CHANGED
@@ -25,13 +25,13 @@ export declare const RelationalConnectionGeneralEditor: ((props: {
|
|
25
25
|
connectionValueState: RelationalDatabaseConnectionValueState;
|
26
26
|
isReadOnly: boolean;
|
27
27
|
hideHeader?: boolean;
|
28
|
-
}) => import("react/jsx-
|
28
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
29
29
|
displayName: string;
|
30
30
|
};
|
31
31
|
export declare const RelationalDatabaseConnectionEditor: ((props: {
|
32
32
|
connectionValueState: RelationalDatabaseConnectionValueState;
|
33
33
|
isReadOnly: boolean;
|
34
|
-
}) => import("react/jsx-
|
34
|
+
}) => import("react/jsx-runtime").JSX.Element) & {
|
35
35
|
displayName: string;
|
36
36
|
};
|
37
37
|
//# sourceMappingURL=RelationalDatabaseConnectionEditor.d.ts.map
|