@finos/legend-application-studio 28.17.8 → 28.17.10
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendStudio.js +3 -2
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/ElementIconUtils.js +24 -23
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +8 -7
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioFrameworkProvider.js +4 -3
- package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts +2 -2
- package/lib/components/LegendStudioWebApplication.js +14 -13
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/ShowcaseManager.d.ts +1 -1
- package/lib/components/ShowcaseManager.js +30 -29
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.js +28 -27
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +9 -8
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +4 -3
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +6 -5
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts +1 -1
- package/lib/components/editor/QuickInput.js +6 -5
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -1
- package/lib/components/editor/StatusBar.js +12 -11
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +3 -2
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +5 -4
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +3 -2
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.d.ts +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +40 -39
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +12 -11
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +5 -4
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +15 -14
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js +15 -14
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -4
- package/lib/components/editor/editor-group/RuntimeEditor.js +30 -29
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js +4 -3
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +10 -9
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +11 -10
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +11 -10
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +3 -3
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +6 -5
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +14 -13
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js +3 -2
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +55 -54
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +8 -7
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +7 -6
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +5 -5
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +18 -17
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +10 -9
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +6 -5
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +11 -10
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +6 -5
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +3 -2
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js +6 -5
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +3 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +7 -6
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +27 -26
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +13 -12
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +6 -6
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +17 -16
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +11 -10
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +3 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +3 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +16 -15
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +6 -5
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +39 -38
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +13 -12
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js +4 -3
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +6 -5
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +33 -32
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +11 -10
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +7 -6
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +8 -7
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +6 -5
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +20 -19
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +25 -24
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +30 -29
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js +15 -14
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +10 -9
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts +8 -8
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +22 -21
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +11 -10
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +22 -21
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +27 -26
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +11 -10
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js +6 -5
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +25 -24
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +33 -32
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +11 -10
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js +13 -12
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +12 -11
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +7 -7
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +30 -29
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +6 -5
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +23 -22
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +5 -5
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +31 -30
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +31 -30
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +11 -10
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +7 -6
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js +7 -6
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js +10 -9
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js +3 -2
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.js +3 -2
- package/lib/components/editor/panel-group/ConsolePanel.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +7 -6
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/panel-group/PanelGroup.d.ts +1 -1
- package/lib/components/editor/panel-group/PanelGroup.js +6 -5
- package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.js +6 -5
- package/lib/components/editor/panel-group/ProblemsPanel.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +19 -18
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +2 -2
- package/lib/components/editor/side-bar/CreateNewElementModal.js +27 -26
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -1
- package/lib/components/editor/side-bar/Explorer.js +37 -36
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +13 -12
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js +29 -28
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +18 -17
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -1
- package/lib/components/editor/side-bar/SideBar.js +13 -12
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +28 -27
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js +9 -8
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +10 -9
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +7 -6
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +7 -6
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +7 -6
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +2 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +33 -32
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +4 -3
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +8 -7
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js +11 -10
- package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.js +8 -7
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +4 -3
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js +6 -5
- package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js +10 -9
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js +24 -23
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/project-view/ProjectViewerStoreProvider.js +4 -3
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js +20 -19
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js +4 -3
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +16 -15
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +8 -7
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +7 -6
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +3 -2
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +28 -27
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +5 -5
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -26,7 +27,7 @@ import { DatabaseSchemaExplorer } from './DatabaseSchemaExplorer.js';
|
|
26
27
|
import { DataGrid, } from '@finos/legend-lego/data-grid';
|
27
28
|
const QueryResultCellRenderer = observer((params) => {
|
28
29
|
const cellValue = params.value;
|
29
|
-
return (
|
30
|
+
return (_jsxDEV("div", { className: clsx('query-builder__result__values__table__cell'), children: _jsxDEV("span", { children: cellValue }, void 0, false, { fileName: _jsxFileName, lineNumber: 70, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 13 }, this));
|
30
31
|
});
|
31
32
|
const QueryBuilderGridResult = observer((props) => {
|
32
33
|
const { executionResult } = props;
|
@@ -41,10 +42,10 @@ const QueryBuilderGridResult = observer((props) => {
|
|
41
42
|
row.rowNumber = rowIdx;
|
42
43
|
return row;
|
43
44
|
});
|
44
|
-
return (
|
45
|
+
return (_jsxDEV("div", { className: "query-builder__result__values__table", children: _jsxDEV("div", { className: clsx('query-builder__result__tds-grid', {
|
45
46
|
'ag-theme-balham': !darkMode,
|
46
47
|
'ag-theme-balham-dark': darkMode,
|
47
|
-
}), children:
|
48
|
+
}), children: _jsxDEV(DataGrid, { rowData: rowData, gridOptions: {
|
48
49
|
suppressScrollOnNewData: true,
|
49
50
|
getRowId: (data) => data.data.rowNumber,
|
50
51
|
},
|
@@ -62,7 +63,7 @@ const QueryBuilderGridResult = observer((props) => {
|
|
62
63
|
cellRendererParams: {
|
63
64
|
tdsExecutionResult: executionResult,
|
64
65
|
},
|
65
|
-
})) }) }) }));
|
66
|
+
})) }, void 0, false, { fileName: _jsxFileName, lineNumber: 101, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 95, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 93, columnNumber: 13 }, this));
|
66
67
|
});
|
67
68
|
export const DatabaseBuilderModalContent = observer((props) => {
|
68
69
|
const { databaseBuilderState } = props;
|
@@ -85,12 +86,12 @@ export const DatabaseBuilderModalContent = observer((props) => {
|
|
85
86
|
flowResult(schemaExplorerState.fetchDatabaseMetadata()).catch(applicationStore.alertUnhandledError);
|
86
87
|
}, [applicationStore, schemaExplorerState]);
|
87
88
|
useConditionedApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DATABASE_BUILDER, databaseBuilderState.showModal);
|
88
|
-
return (
|
89
|
+
return (_jsxDEV(ModalBody, { className: "database-builder__content", children: [_jsxDEV(PanelLoadingIndicator, { isLoading: isExecutingAction }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 9 }, this), _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 450, children: _jsxDEV(ResizablePanelGroup, { children: [_jsxDEV(ResizablePanel, { children: _jsxDEV("div", { className: "database-builder__config", children: [_jsxDEV(PanelHeader, { title: "schema explorer" }, void 0, false, { fileName: _jsxFileName, lineNumber: 178, columnNumber: 19 }, this), _jsxDEV(PanelContent, { className: "database-builder__config__content", children: schemaExplorerState.treeData && (_jsxDEV(DatabaseSchemaExplorer, { treeData: schemaExplorerState.treeData, isReadOnly: false, schemaExplorerState: databaseBuilderState.schemaExplorerState }, void 0, false, { fileName: _jsxFileName, lineNumber: 180, columnNumber: 55 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 179, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 177, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 176, columnNumber: 15 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: 'var(--color-dark-grey-250)' }, void 0, false, { fileName: _jsxFileName, lineNumber: 193, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 192, columnNumber: 15 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV("div", { className: "database-builder__config", children: [_jsxDEV(PanelHeader, { title: "preview" }, void 0, false, { fileName: _jsxFileName, lineNumber: 199, columnNumber: 19 }, this), _jsxDEV(PanelContent, { className: "database-builder__config__content", children: databaseBuilderState.schemaExplorerState.previewer && (_jsxDEV(QueryBuilderGridResult, { executionResult: databaseBuilderState.schemaExplorerState.previewer }, void 0, false, { fileName: _jsxFileName, lineNumber: 201, columnNumber: 77 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 200, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 198, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 197, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 175, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 174, columnNumber: 11 }, this), _jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 213, columnNumber: 11 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV(Panel, { className: "database-builder__model", children: [_jsxDEV(PanelHeader, { title: "database model" }, void 0, false, { fileName: _jsxFileName, lineNumber: 216, columnNumber: 15 }, this), _jsxDEV(PanelContent, { children: _jsxDEV("div", { className: "database-builder__modeler", children: [_jsxDEV("div", { className: "panel__content__form__section database-builder__modeler__path", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Target Database Path" }, void 0, false, { fileName: _jsxFileName, lineNumber: 220, columnNumber: 21 }, this), _jsxDEV(InputWithInlineValidation, { className: "panel__content__form__section__input", spellCheck: false, onChange: onTargetPathChange, disabled: schemaExplorerState.makeTargetDatabasePathEditable
|
89
90
|
? false
|
90
91
|
: !isCreatingNewDatabase, value: schemaExplorerState.makeTargetDatabasePathEditable ||
|
91
92
|
isCreatingNewDatabase
|
92
93
|
? schemaExplorerState.targetDatabasePath
|
93
|
-
: schemaExplorerState.database.path, error: elementAlreadyExistsMessage, showEditableIcon: true })] }),
|
94
|
+
: schemaExplorerState.database.path, error: elementAlreadyExistsMessage, showEditableIcon: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 223, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 219, columnNumber: 19 }, this), _jsxDEV("div", { className: "database-builder__modeler__preview", children: [_jsxDEV("div", { className: "database-builder__modeler__preview__header", children: "readonly" }, void 0, false, { fileName: _jsxFileName, lineNumber: 243, columnNumber: 21 }, this), databaseBuilderState.databaseGrammarCode && (_jsxDEV(CodeEditor, { language: CODE_EDITOR_LANGUAGE.PURE, inputValue: databaseBuilderState.databaseGrammarCode, isReadOnly: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 246, columnNumber: 67 }, this)), !databaseBuilderState.databaseGrammarCode && (_jsxDEV(BlankPanelContent, { children: "No database preview" }, void 0, false, { fileName: _jsxFileName, lineNumber: 253, columnNumber: 68 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 218, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 217, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 215, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 173, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 13 }, this));
|
94
95
|
});
|
95
96
|
export const DatabaseBuilderWizard = observer((props) => {
|
96
97
|
const { databaseBuilderState, isReadOnly } = props;
|
@@ -112,12 +113,12 @@ export const DatabaseBuilderWizard = observer((props) => {
|
|
112
113
|
const isExecutingAction = schemaExplorerState.isGeneratingDatabase ||
|
113
114
|
schemaExplorerState.isUpdatingDatabase ||
|
114
115
|
schemaExplorerState.previewDataState.isInProgress;
|
115
|
-
return (
|
116
|
+
return (_jsxDEV(Dialog, { open: databaseBuilderState.showModal, onClose: noop, classes: { container: 'search-modal__container' }, PaperProps: {
|
116
117
|
classes: {
|
117
118
|
root: 'search-modal__inner-container database-builder__container',
|
118
119
|
},
|
119
|
-
}, children:
|
120
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "database-builder", children: [_jsxDEV(ModalHeader, { children: [_jsxDEV(ModalTitle, { title: "Database Builder" }, void 0, false, { fileName: _jsxFileName, lineNumber: 319, columnNumber: 13 }, this), _jsxDEV(ModalHeaderActions, { children: _jsxDEV("button", { className: "modal__header__action", tabIndex: -1, onClick: closeModal, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 326, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 321, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 320, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 318, columnNumber: 11 }, this), _jsxDEV(DatabaseBuilderModalContent, { databaseBuilderState: databaseBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly || isExecutingAction, onClick: preview, title: "Preview database model...", children: "Preview" }, void 0, false, { fileName: _jsxFileName, lineNumber: 334, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly ||
|
120
121
|
isExecutingAction ||
|
121
|
-
Boolean(elementAlreadyExistsMessage), onClick: updateDatabase, children: "Update Database" })] })] }) }));
|
122
|
+
Boolean(elementAlreadyExistsMessage), onClick: updateDatabase, children: "Update Database" }, void 0, false, { fileName: _jsxFileName, lineNumber: 342, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 333, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 312, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 301, columnNumber: 13 }, this));
|
122
123
|
});
|
123
124
|
//# 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,IAA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ACzC,QAAQ,EAAE,UAAU,IAAI,iBAAiB,EACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,2BAA2B,4GAGf,EACpB,QAAC,iBAAiB,IAChB,SAAS,EAAC,+BAA+B,EACzC,QAAQ,EACN,UAAU;gCACV,iBAAiB;gCACjB,OAAO,CAAC,2BAA2B,CAAC,EAEtC,OAAO,EAAE,cAAc,oHAGL,uFACR,sFACR,uFACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/connection-editor/DatabaseEditorHelper.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -18,13 +19,13 @@ import { BinaryTypeIcon, ToggleIcon, ClockIcon, HashtagIcon, QuestionCircleIcon,
|
|
18
19
|
import { Real, Binary, Bit, Other, Date, Timestamp, Numeric, Decimal, VarBinary, Char, VarChar, Double, Float, Integer, TinyInt, SmallInt, BigInt, SemiStructured, Json, } from '@finos/legend-graph';
|
19
20
|
export const renderColumnTypeIcon = (type) => {
|
20
21
|
if (type instanceof VarChar || type instanceof Char) {
|
21
|
-
return (
|
22
|
+
return (_jsxDEV(StringTypeIcon, { className: "relation-source-tree__icon relation-source-tree__icon__string" }, void 0, false, { fileName: _jsxFileName, lineNumber: 54, columnNumber: 13 }, this));
|
22
23
|
}
|
23
24
|
else if (type instanceof VarBinary || type instanceof Binary) {
|
24
|
-
return (
|
25
|
+
return (_jsxDEV(BinaryTypeIcon, { className: "relation-source-tree__icon relation-source-tree__icon__binary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 58, columnNumber: 13 }, this));
|
25
26
|
}
|
26
27
|
else if (type instanceof Bit) {
|
27
|
-
return (
|
28
|
+
return (_jsxDEV(ToggleIcon, { className: "relation-source-tree__icon relation-source-tree__icon__boolean" }, void 0, false, { fileName: _jsxFileName, lineNumber: 62, columnNumber: 13 }, this));
|
28
29
|
}
|
29
30
|
else if (type instanceof Numeric ||
|
30
31
|
type instanceof Decimal ||
|
@@ -35,20 +36,20 @@ export const renderColumnTypeIcon = (type) => {
|
|
35
36
|
type instanceof BigInt ||
|
36
37
|
type instanceof SmallInt ||
|
37
38
|
type instanceof TinyInt) {
|
38
|
-
return (
|
39
|
+
return (_jsxDEV(HashtagIcon, { className: "relation-source-tree__icon relation-source-tree__icon__number" }, void 0, false, { fileName: _jsxFileName, lineNumber: 76, columnNumber: 13 }, this));
|
39
40
|
}
|
40
41
|
else if (type instanceof Date || type instanceof Timestamp) {
|
41
|
-
return (
|
42
|
+
return (_jsxDEV(ClockIcon, { className: "relation-source-tree__icon relation-source-tree__icon__time" }, void 0, false, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 13 }, this));
|
42
43
|
}
|
43
44
|
else if (type instanceof SemiStructured) {
|
44
|
-
return (
|
45
|
+
return (_jsxDEV(ShapeTriangleIcon, { className: "relation-source-tree__icon relation-source-tree__icon__semi-structured" }, void 0, false, { fileName: _jsxFileName, lineNumber: 84, columnNumber: 13 }, this));
|
45
46
|
}
|
46
47
|
else if (type instanceof Json) {
|
47
|
-
return (
|
48
|
+
return (_jsxDEV(SerializeIcon, { className: "relation-source-tree__icon relation-source-tree__icon__json" }, void 0, false, { fileName: _jsxFileName, lineNumber: 88, columnNumber: 13 }, this));
|
48
49
|
}
|
49
50
|
else if (type instanceof Other) {
|
50
|
-
return (
|
51
|
+
return (_jsxDEV(QuestionCircleIcon, { className: "relation-source-tree__icon relation-source-tree__icon__unknown" }, void 0, false, { fileName: _jsxFileName, lineNumber: 92, columnNumber: 13 }, this));
|
51
52
|
}
|
52
|
-
return (
|
53
|
+
return (_jsxDEV(QuestionCircleIcon, { className: "relation-source-tree__icon relation-source-tree__icon__unknown" }, void 0, false, { fileName: _jsxFileName, lineNumber: 96, columnNumber: 11 }, this));
|
53
54
|
};
|
54
55
|
//# 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,QAAC,cAAc,IAAC,SAAS,EAAC,+DAA+D,sFAAG,CAC7F,CAAC;IACJ,CAAC;SAAM,IAAI,IAAI,YAAY,SAAS,IAAI,IAAI,YAAY,MAAM,EAAE,CAAC;QAC/D,OAAO,CACL,QAAC,cAAc,IAAC,SAAS,EAAC,+DAA+D,sFAAG,CAC7F,CAAC;IACJ,CAAC;SAAM,IAAI,IAAI,YAAY,GAAG,EAAE,CAAC;QAC/B,OAAO,CACL,QAAC,UAAU,IAAC,SAAS,EAAC,gEAAgE,sFAAG,CAC1F,CAAC;IACJ,CAAC;SAAM,IACL,IAAI,YAAY,OAAO;QACvB,IAAI,YAAY,OAAO;QACvB,IAAI,YAAY,MAAM;QACtB,IAAI,YAAY,KAAK;QACrB,IAAI,YAAY,IAAI;QACpB,IAAI,YAAY,OAAO;QACvB,IAAI,YAAY,MAAM;QACtB,IAAI,YAAY,QAAQ;QACxB,IAAI,YAAY,OAAO,EACvB,CAAC;QACD,OAAO,CACL,QAAC,WAAW,IAAC,SAAS,EAAC,+DAA+D,sFAAG,CAC1F,CAAC;IACJ,CAAC;SAAM,IAAI,IAAI,YAAY,IAAI,IAAI,IAAI,YAAY,SAAS,EAAE,CAAC;QAC7D,OAAO,CACL,QAAC,SAAS,IAAC,SAAS,EAAC,6DAA6D,sFAAG,CACtF,CAAC;IACJ,CAAC;SAAM,IAAI,IAAI,YAAY,cAAc,EAAE,CAAC;QAC1C,OAAO,CACL,QAAC,iBAAiB,IAAC,SAAS,EAAC,wEAAwE,sFAAG,CACzG,CAAC;IACJ,CAAC;SAAM,IAAI,IAAI,YAAY,IAAI,EAAE,CAAC;QAChC,OAAO,CACL,QAAC,aAAa,IAAC,SAAS,EAAC,6DAA6D,sFAAG,CAC1F,CAAC;IACJ,CAAC;SAAM,IAAI,IAAI,YAAY,KAAK,EAAE,CAAC;QACjC,OAAO,CACL,QAAC,kBAAkB,IAAC,SAAS,EAAC,gEAAgE,sFAAG,CAClG,CAAC;IACJ,CAAC;IACD,OAAO,CACL,QAAC,kBAAkB,IAAC,SAAS,EAAC,gEAAgE,sFAAG,CAClG,CAAC;AACJ,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-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-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-runtime").JSX.Element) & {
|
25
|
+
}) => import("react/jsx-dev-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-runtime").JSX.Element) & {
|
31
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
32
32
|
displayName: string;
|
33
33
|
};
|
34
34
|
//# sourceMappingURL=DatabaseModelBuilder.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/connection-editor/DatabaseModelBuilder.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -36,13 +37,13 @@ export const DatabaseModelPackageInput = observer((props) => {
|
|
36
37
|
: !isValidPath(databaseModelBuilderState.targetPackage)
|
37
38
|
? 'Invalid target package path'
|
38
39
|
: undefined;
|
39
|
-
return (
|
40
|
+
return (_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Target Package" }, void 0, false, { fileName: _jsxFileName, lineNumber: 83, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Target Package of Mapping and Models Generated" }, void 0, false, { fileName: _jsxFileName, lineNumber: 86, columnNumber: 9 }, this), _jsxDEV(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 }, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 81, columnNumber: 13 }, this));
|
40
41
|
});
|
41
42
|
export const DatabaseModelPreviewEditor = observer((props) => {
|
42
43
|
const { databaseModelBuilderState, grammarCode } = props;
|
43
44
|
const isExecutingAction = databaseModelBuilderState.generatingModelState.isInProgress ||
|
44
45
|
databaseModelBuilderState.saveModelState.isInProgress;
|
45
|
-
return (
|
46
|
+
return (_jsxDEV(Panel, { className: "database-builder__model", children: [_jsxDEV(PanelHeader, { title: "database model" }, void 0, false, { fileName: _jsxFileName, lineNumber: 116, columnNumber: 9 }, this), _jsxDEV(PanelContent, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: isExecutingAction }, void 0, false, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 11 }, this), _jsxDEV("div", { className: "database-builder__modeler", children: _jsxDEV("div", { className: "database-builder__modeler__preview", children: [_jsxDEV("div", { className: "database-builder__modeler__preview__header", children: "readonly" }, void 0, false, { fileName: _jsxFileName, lineNumber: 121, columnNumber: 15 }, this), databaseModelBuilderState.generatedGrammarCode && (_jsxDEV(CodeEditor, { language: CODE_EDITOR_LANGUAGE.PURE, inputValue: grammarCode, isReadOnly: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 124, columnNumber: 67 }, this)), !databaseModelBuilderState.generatedGrammarCode && (_jsxDEV(BlankPanelContent, { children: "No model preview" }, void 0, false, { fileName: _jsxFileName, lineNumber: 131, columnNumber: 68 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 120, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 119, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 117, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 13 }, this));
|
46
47
|
});
|
47
48
|
export const DatabaseModelBuilder = observer((props) => {
|
48
49
|
const { databaseModelBuilderState, isReadOnly } = props;
|
@@ -62,10 +63,10 @@ export const DatabaseModelBuilder = observer((props) => {
|
|
62
63
|
flowResult(databaseModelBuilderState.previewDatabaseModels()).catch(applicationStore.alertUnhandledError);
|
63
64
|
}, [applicationStore, databaseModelBuilderState]);
|
64
65
|
useConditionedApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DATABASE_MODEL_BUILDER, databaseModelBuilderState.showModal);
|
65
|
-
return (
|
66
|
+
return (_jsxDEV(Dialog, { open: databaseModelBuilderState.showModal, classes: { container: 'search-modal__container' }, onClose: noop, PaperProps: {
|
66
67
|
classes: {
|
67
68
|
root: 'search-modal__inner-container database-builder__container',
|
68
69
|
},
|
69
|
-
}, children:
|
70
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "database-builder", children: [_jsxDEV(ModalHeader, { children: [_jsxDEV(ModalTitle, { title: "Database Model Builder" }, void 0, false, { fileName: _jsxFileName, lineNumber: 204, columnNumber: 13 }, this), _jsxDEV(ModalHeaderActions, { children: _jsxDEV("button", { className: "modal__header__action", tabIndex: -1, onClick: closeModal, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 206, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 205, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 203, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "database-builder__content", children: _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 450, children: _jsxDEV("div", { className: "database-builder__config", children: [_jsxDEV(PanelHeader, { title: "schema explorer" }, void 0, false, { fileName: _jsxFileName, lineNumber: 219, columnNumber: 19 }, this), _jsxDEV(PanelContent, { className: "database-builder__config__content", children: _jsxDEV(DatabaseModelPackageInput, { databaseModelBuilderState: databaseModelBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 221, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 220, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 218, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 217, columnNumber: 15 }, this), _jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 227, columnNumber: 15 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV(DatabaseModelPreviewEditor, { databaseModelBuilderState: databaseModelBuilderState, grammarCode: databaseModelBuilderState.generatedGrammarCode }, void 0, false, { fileName: _jsxFileName, lineNumber: 229, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 228, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 216, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 215, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly || isExecutingAction, onClick: preview, title: "Preview models...", children: "Preview" }, void 0, false, { fileName: _jsxFileName, lineNumber: 237, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { className: "database-builder__action--btn", disabled: isReadOnly || isExecutingAction, onClick: saveModels, children: "Save Models" }, void 0, false, { fileName: _jsxFileName, lineNumber: 245, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 236, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 197, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 13 }, this));
|
70
71
|
});
|
71
72
|
//# 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;AAE3C,OAAO,EACL,iBAAiB,EACjB,MAAM,EACN,yBAAyB,EACzB,KAAK,EACL,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,UAAU,EACV,KAAK,EACL,YAAY,EACZ,WAAW,EACX,qBAAqB,EACrB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,SAAS,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gDAAgD,EAAE,MAAM,iEAAiE,CAAC;AACnI,OAAO,EACL,mBAAmB,EACnB,0CAA0C,GAC3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAC/C,CAAC,KAA+D,EAAE,EAAE;IAClE,MAAM,EAAE,yBAAyB,EAAE,GAAG,KAAK,CAAC;IAE5C,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,mBAAmB,GAAG,OAAO,CACjC,GAAG,EAAE,CACH,QAAQ,CACN,GAAG,EAAE,CAAC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BAAyB,IACxB,yBAAyB,EAAE,yBAAyB,uFACpD,uFACW,uFACX,uFACS,EACjB,QAAC,sBAAsB,yFAAG,EAC1B,QAAC,cAAc,cACb,QAAC,0BAA0B,IACzB,yBAAyB,EAAE,yBAAyB,EACpD,WAAW,EAAE,yBAAyB,CAAC,oBAAoB,uFAC3D,uFACa,uFACG,uFACZ,EACZ,QAAC,WAAW,eACV,QAAC,iBAAiB,IAChB,SAAS,EAAC,+BAA+B,EACzC,QAAQ,EAAE,UAAU,IAAI,iBAAiB,EACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAC,mBAAmB,4GAGP,EACpB,QAAC,iBAAiB,IAChB,SAAS,EAAC,+BAA+B,EACzC,QAAQ,EAAE,UAAU,IAAI,iBAAiB,EACzC,OAAO,EAAE,UAAU,gHAGD,uFACR,sFACR,uFACD,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-runtime").JSX.Element) & {
|
31
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
32
32
|
displayName: string;
|
33
33
|
};
|
34
34
|
//# sourceMappingURL=DatabaseSchemaExplorer.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -24,10 +25,10 @@ import { stringifyDataType } from '@finos/legend-graph';
|
|
24
25
|
import { forwardRef } from 'react';
|
25
26
|
const getDatabaseSchemaNodeIcon = (node) => {
|
26
27
|
if (node instanceof DatabaseSchemaExplorerTreeSchemaNodeData) {
|
27
|
-
return (
|
28
|
+
return (_jsxDEV("div", { className: "database-schema-explorer__icon--schema", children: _jsxDEV(PURE_DatabaseSchemaIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 52, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 50, columnNumber: 13 }, this));
|
28
29
|
}
|
29
30
|
else if (node instanceof DatabaseSchemaExplorerTreeTableNodeData) {
|
30
|
-
return (
|
31
|
+
return (_jsxDEV("div", { className: "database-schema-explorer__icon--table", children: _jsxDEV(PURE_DatabaseTableIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 58, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 56, columnNumber: 13 }, this));
|
31
32
|
}
|
32
33
|
else if (node instanceof DatabaseSchemaExplorerTreeColumnNodeData) {
|
33
34
|
return renderColumnTypeIcon(node.column.type);
|
@@ -39,7 +40,7 @@ export const DatabaseSchemaExplorerTreeNodeContainer = observer(forwardRef(funct
|
|
39
40
|
const { toggleCheckedNode, isPartiallySelected, isPreviewDataDisabled, previewData, } = innerProps;
|
40
41
|
const isExpandable = Boolean(!node.childrenIds || node.childrenIds.length) &&
|
41
42
|
!(node instanceof DatabaseSchemaExplorerTreeColumnNodeData);
|
42
|
-
const nodeExpandIcon = isExpandable ? (node.isOpen ? (
|
43
|
+
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsxDEV(ChevronDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 96, columnNumber: 24 }, this)) : (_jsxDEV(ChevronRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 98, columnNumber: 14 }, this))) : (_jsxDEV("div", {}, void 0, false, { fileName: _jsxFileName, lineNumber: 101, columnNumber: 12 }, this));
|
43
44
|
const nodeTypeIcon = getDatabaseSchemaNodeIcon(node);
|
44
45
|
const toggleExpandNode = () => {
|
45
46
|
onNodeSelect?.(node);
|
@@ -54,23 +55,23 @@ export const DatabaseSchemaExplorerTreeNodeContainer = observer(forwardRef(funct
|
|
54
55
|
return null;
|
55
56
|
}
|
56
57
|
else if (isPartiallySelected(_node)) {
|
57
|
-
return
|
58
|
+
return _jsxDEV(CircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 121, columnNumber: 17 }, this);
|
58
59
|
}
|
59
60
|
else if (_node.isChecked) {
|
60
|
-
return
|
61
|
+
return _jsxDEV(CheckCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 123, columnNumber: 17 }, this);
|
61
62
|
}
|
62
|
-
return
|
63
|
+
return _jsxDEV(EmptyCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 125, columnNumber: 15 }, this);
|
63
64
|
};
|
64
|
-
return (
|
65
|
+
return (_jsxDEV("div", { className: "tree-view__node__container", ref: ref, style: {
|
65
66
|
paddingLeft: `${level * (stepPaddingInRem ?? 1)}rem`,
|
66
67
|
display: 'flex',
|
67
|
-
}, onClick: toggleExpandNode, children: [
|
68
|
+
}, onClick: toggleExpandNode, children: [_jsxDEV("div", { className: "tree-view__node__icon database-schema-explorer__node__icon__group", children: [_jsxDEV("div", { className: "database-schema-explorer__expand-icon", children: nodeExpandIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 139, columnNumber: 13 }, this), _jsxDEV("div", { className: "database-schema-explorer__checker-icon", onClick: (event) => {
|
68
69
|
event.stopPropagation();
|
69
70
|
toggleCheckedNode(node);
|
70
|
-
}, children: renderCheckedIcon(node) }),
|
71
|
+
}, children: renderCheckedIcon(node) }, void 0, false, { fileName: _jsxFileName, lineNumber: 142, columnNumber: 13 }, this), _jsxDEV("div", { className: "database-schema-explorer__type-icon", children: nodeTypeIcon }, void 0, false, { fileName: _jsxFileName, lineNumber: 151, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 138, columnNumber: 11 }, this), _jsxDEV("div", { className: "tree-view__node__label database-schema-explorer__node__label", children: [node.label, node instanceof DatabaseSchemaExplorerTreeColumnNodeData && (_jsxDEV("div", { className: "database-schema-explorer__node__type", children: _jsxDEV("div", { className: "database-schema-explorer__node__type__label", children: stringifyDataType(node.column.type) }, void 0, false, { fileName: _jsxFileName, lineNumber: 159, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 157, columnNumber: 75 }, this)), isPrimaryKeyColumn && (_jsxDEV("div", { className: "database-schema-explorer__node__pk", title: "Primary Key", children: _jsxDEV(KeyIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 169, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 164, columnNumber: 37 }, this)), !isPreviewDataDisabled(node) && (_jsxDEV("button", { className: "query-builder-explorer-tree__node__action", tabIndex: -1, onClick: (event) => {
|
71
72
|
event.stopPropagation();
|
72
73
|
previewData(node);
|
73
|
-
}, title: "Preview Table Data", children:
|
74
|
+
}, title: "Preview Table Data", children: _jsxDEV(EyeIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 182, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 47 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 155, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 15 }, this));
|
74
75
|
}));
|
75
76
|
export const DatabaseSchemaExplorer = observer((props) => {
|
76
77
|
const { treeData, schemaExplorerState, treeNodeContainerComponent } = props;
|
@@ -95,7 +96,7 @@ export const DatabaseSchemaExplorer = observer((props) => {
|
|
95
96
|
};
|
96
97
|
const isPreviewDataDisabled = (node) => !(node instanceof DatabaseSchemaExplorerTreeTableNodeData ||
|
97
98
|
node instanceof DatabaseSchemaExplorerTreeColumnNodeData);
|
98
|
-
return (
|
99
|
+
return (_jsxDEV(TreeView, { className: "database-schema-explorer", components: {
|
99
100
|
TreeNodeContainer: treeNodeContainerComponent ??
|
100
101
|
DatabaseSchemaExplorerTreeNodeContainer,
|
101
102
|
}, innerProps: {
|
@@ -103,6 +104,6 @@ export const DatabaseSchemaExplorer = observer((props) => {
|
|
103
104
|
isPartiallySelected,
|
104
105
|
previewData,
|
105
106
|
isPreviewDataDisabled,
|
106
|
-
}, treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes }));
|
107
|
+
}, treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes }, void 0, false, { fileName: _jsxFileName, lineNumber: 246, columnNumber: 13 }, this));
|
107
108
|
});
|
108
109
|
//# 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;AACx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ConnectionValueState } from '../../../../stores/editor/edi
|
|
17
17
|
export declare const FlatDataConnectionEditor: ((props: {
|
18
18
|
connectionValueState: FlatDataConnectionValueState;
|
19
19
|
isReadOnly: boolean;
|
20
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
21
21
|
displayName: string;
|
22
22
|
};
|
23
23
|
//# sourceMappingURL=FlatDataConnectionEditor.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -21,6 +22,6 @@ export const FlatDataConnectionEditor = observer((props) => {
|
|
21
22
|
const connection = connectionValueState.connection;
|
22
23
|
// url
|
23
24
|
const changeUrl = (event) => flatDataConnection_setUrl(connection, event.target.value);
|
24
|
-
return (
|
25
|
+
return (_jsxDEV("div", { className: "panel__content__form", children: _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "URL" }, void 0, false, { fileName: _jsxFileName, lineNumber: 34, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Specifies the connection URL" }, void 0, false, { fileName: _jsxFileName, lineNumber: 37, columnNumber: 11 }, this), _jsxDEV("textarea", { className: "panel__content__form__section__textarea connection-editor__model-connection-url__textarea", spellCheck: false, value: connection.url, onChange: changeUrl, disabled: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 40, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 33, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 31, columnNumber: 13 }, this));
|
25
26
|
});
|
26
27
|
//# 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,iBAAK,SAAS,EAAC,sBAAsB,YACnC,iBAAK,SAAS,EAAC,+BAA+B,aAC5C,iBAAK,SAAS,EAAC,8CAA8C,uGAEvD,EACN,iBAAK,SAAS,EAAC,+CAA+C,gIAExD,EACN,sBACE,SAAS,EAAC,2FAA2F,EACrG,UAAU,EAAE,KAAK,EACjB,KAAK,EAAE,UAAU,CAAC,GAAG,EACrB,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,UAAU,sFACpB,qFACE,sFACF,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-runtime").JSX.Element) & {
|
28
|
+
}) => import("react/jsx-dev-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-runtime").JSX.Element) & {
|
34
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
35
35
|
displayName: string;
|
36
36
|
};
|
37
37
|
//# sourceMappingURL=RelationalDatabaseConnectionEditor.d.ts.map
|