@finos/legend-application-studio 17.0.0 → 18.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/{DSLExternalFormat_CodeSnippets.d.ts → DSL_ExternalFormat_CodeSnippets.d.ts} +1 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts.map +1 -0
- package/lib/components/{DSLExternalFormat_CodeSnippets.js → DSL_ExternalFormat_CodeSnippets.js} +1 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.js.map +1 -0
- package/lib/components/{DSLExternalFormat_LegendStudioApplicationPlugin.d.ts → DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts} +3 -3
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/{DSLExternalFormat_LegendStudioApplicationPlugin.js → DSL_ExternalFormat_LegendStudioApplicationPlugin.js} +11 -11
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/{DSLExternalFormat_LegendStudioDocumentation.d.ts → DSL_ExternalFormat_LegendStudioDocumentation.d.ts} +1 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/components/{DSLExternalFormat_LegendStudioDocumentation.js → DSL_ExternalFormat_LegendStudioDocumentation.js} +1 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.js.map +1 -0
- package/lib/components/EmbeddedQueryBuilder.d.ts +1 -0
- package/lib/components/EmbeddedQueryBuilder.d.ts.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.js +5 -26
- package/lib/components/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts +1 -0
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -0
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +1 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +2 -2
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
- package/lib/components/editor/aux-panel/Console.d.ts +1 -0
- package/lib/components/editor/aux-panel/Console.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.d.ts +1 -0
- package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -0
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts +1 -0
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +2 -2
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +6 -6
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +5 -5
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +2 -2
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.d.ts +1 -0
- package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +3 -3
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +5 -5
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js +2 -2
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +1 -0
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +2 -2
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +1 -33
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +20 -94
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +7 -9
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +3 -3
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +2 -2
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +1 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +5 -5
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/{BindingElementEditor.d.ts → DSL_ExternalFormat_BindingElementEditor.d.ts} +2 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{BindingElementEditor.js → DSL_ExternalFormat_BindingElementEditor.js} +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{ExternalFormatConnectionEditor.d.ts → DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts} +2 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{ExternalFormatConnectionEditor.js → DSL_ExternalFormat_ExternalFormatConnectionEditor.js} +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{NewSchemaSetDriver.d.ts → DSL_ExternalFormat_NewSchemaSetDriver.d.ts} +2 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{NewSchemaSetDriver.js → DSL_ExternalFormat_NewSchemaSetDriver.js} +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{SchemaSetElementEditor.d.ts → DSL_ExternalFormat_SchemaSetElementEditor.d.ts} +3 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{SchemaSetElementEditor.js → DSL_ExternalFormat_SchemaSetElementEditor.js} +6 -6
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{SchemaSetModelGenerationEditor.d.ts → DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts} +3 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{SchemaSetModelGenerationEditor.js → DSL_ExternalFormat_SchemaSetModelGenerationEditor.js} +4 -4
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +18 -3
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +41 -29
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +2 -2
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +4 -4
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +4 -4
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +5 -5
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +3 -3
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +1 -0
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -0
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -0
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +3 -3
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +1 -0
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -0
- package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +2 -2
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +3 -3
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +1 -0
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +4 -4
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/shared/DiffView.d.ts +1 -0
- package/lib/components/shared/DiffView.d.ts.map +1 -1
- package/lib/components/shared/DiffView.js +2 -2
- package/lib/components/shared/DiffView.js.map +1 -1
- package/lib/components/shared/StudioLambdaEditor.d.ts +1 -0
- package/lib/components/shared/StudioLambdaEditor.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts +1 -0
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts +1 -0
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js +2 -2
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -0
- package/lib/components/workspace-setup/CreateProjectModal.d.ts.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -0
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +9 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -10
- package/lib/index.js.map +1 -1
- package/lib/package.json +6 -6
- package/lib/stores/{DSLData_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLData_LegendStudioApplicationPlugin_Extension.js → DSL_Data_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/{DSLGeneration_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLGeneration_LegendStudioApplicationPlugin_Extension.js → DSL_Generation_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/{DSLMapping_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLMapping_LegendStudioApplicationPlugin_Extension.js → DSL_Mapping_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/{DSLService_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLService_LegendStudioApplicationPlugin_Extension.js → DSL_Service_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/LegendStudioAppEvent.d.ts +1 -0
- package/lib/stores/LegendStudioAppEvent.d.ts.map +1 -1
- package/lib/stores/LegendStudioAppEvent.js +1 -0
- package/lib/stores/LegendStudioAppEvent.js.map +1 -1
- package/lib/stores/{StoreRelational_LegendStudioApplicationPlugin_Extension.d.ts → STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js +17 -0
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/editor/NewElementState.js +7 -7
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.js +1 -1
- package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js +1 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts +1 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.js +3 -3
- package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/{BindingEditorState.d.ts → DSL_ExternalFormat_BindingEditorState.d.ts} +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/{BindingEditorState.js → DSL_ExternalFormat_BindingEditorState.js} +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/{SchemaSetEditorState.d.ts → DSL_ExternalFormat_SchemaSetEditorState.d.ts} +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/{SchemaSetEditorState.js → DSL_ExternalFormat_SchemaSetEditorState.js} +2 -2
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +3 -3
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js +23 -27
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts +0 -2
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js +1 -12
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +6 -6
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +7 -7
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +1 -5
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +9 -9
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +13 -3
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
- package/lib/stores/graphModifier/{DSLData_GraphModifierHelper.d.ts → DSL_Data_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLData_GraphModifierHelper.js → DSL_Data_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{DSLExternalFormat_GraphModifierHelper.d.ts → DSL_ExternalFormat_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLExternalFormat_GraphModifierHelper.js → DSL_ExternalFormat_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{DSLGeneration_GraphModifierHelper.d.ts → DSL_Generation_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLGeneration_GraphModifierHelper.js → DSL_Generation_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{DSLMapping_GraphModifierHelper.d.ts → DSL_Mapping_GraphModifierHelper.d.ts} +3 -2
- package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLMapping_GraphModifierHelper.js → DSL_Mapping_GraphModifierHelper.js} +5 -2
- package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{DSLService_GraphModifierHelper.d.ts → DSL_Service_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLService_GraphModifierHelper.js → DSL_Service_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{StoreFlatData_GraphModifierHelper.d.ts → STO_FlatData_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{StoreFlatData_GraphModifierHelper.js → STO_FlatData_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{StoreRelational_GraphModifierHelper.d.ts → STO_Relational_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{StoreRelational_GraphModifierHelper.js → STO_Relational_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.js.map +1 -0
- package/lib/stores/project-viewer/ProjectViewerStore.js +2 -2
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +6 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js +13 -0
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +3 -4
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +15 -15
- package/src/components/{DSLExternalFormat_CodeSnippets.ts → DSL_ExternalFormat_CodeSnippets.ts} +0 -0
- package/src/components/{DSLExternalFormat_LegendStudioApplicationPlugin.tsx → DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx} +13 -13
- package/src/components/{DSLExternalFormat_LegendStudioDocumentation.ts → DSL_ExternalFormat_LegendStudioDocumentation.ts} +0 -0
- package/src/components/EmbeddedQueryBuilder.tsx +9 -34
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +9 -3
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +6 -4
- package/src/components/editor/edit-panel/FunctionEditor.tsx +8 -8
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +15 -13
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -6
- package/src/components/editor/edit-panel/ModelImporter.tsx +3 -3
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +15 -18
- package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +3 -3
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +5 -5
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +3 -2
- package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +101 -371
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +27 -26
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +6 -5
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +2 -3
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +13 -11
- package/src/components/editor/edit-panel/external-format-editor/{BindingElementEditor.tsx → DSL_ExternalFormat_BindingElementEditor.tsx} +2 -2
- package/src/components/editor/edit-panel/external-format-editor/{ExternalFormatConnectionEditor.tsx → DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx} +1 -1
- package/src/components/editor/edit-panel/external-format-editor/{NewSchemaSetDriver.tsx → DSL_ExternalFormat_NewSchemaSetDriver.tsx} +1 -1
- package/src/components/editor/edit-panel/external-format-editor/{SchemaSetElementEditor.tsx → DSL_ExternalFormat_SchemaSetElementEditor.tsx} +6 -5
- package/src/components/editor/edit-panel/external-format-editor/{SchemaSetModelGenerationEditor.tsx → DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx} +6 -5
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +9 -5
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +7 -6
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +33 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +3 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +8 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +7 -6
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +7 -5
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +221 -116
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +3 -2
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +8 -6
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +2 -2
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +5 -4
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +7 -4
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +8 -5
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +8 -6
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +6 -4
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +3 -2
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +2 -2
- package/src/components/editor/side-bar/LocalChanges.tsx +7 -6
- package/src/components/editor/side-bar/ProjectOverview.tsx +5 -4
- package/src/components/editor/side-bar/WorkflowManager.tsx +2 -1
- package/src/components/editor/side-bar/WorkspaceReview.tsx +3 -2
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +5 -4
- package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +3 -2
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +5 -4
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +10 -1
- package/src/components/shared/DiffView.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +3 -2
- package/src/index.ts +9 -15
- package/src/stores/{DSLData_LegendStudioApplicationPlugin_Extension.ts → DSL_Data_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/{DSLGeneration_LegendStudioApplicationPlugin_Extension.ts → DSL_Generation_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/{DSLMapping_LegendStudioApplicationPlugin_Extension.ts → DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/{DSLService_LegendStudioApplicationPlugin_Extension.ts → DSL_Service_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/EditorGraphState.ts +2 -2
- package/src/stores/LegendStudioAppEvent.ts +1 -0
- package/src/stores/{StoreRelational_LegendStudioApplicationPlugin_Extension.ts → STO_Relational_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/editor/NewElementState.ts +9 -9
- package/src/stores/editor-state/FileGenerationState.ts +1 -1
- package/src/stores/editor-state/GenerationSpecificationEditorState.ts +1 -1
- package/src/stores/editor-state/GrammarTextEditorState.ts +2 -2
- package/src/stores/editor-state/GraphGenerationState.ts +5 -5
- package/src/stores/editor-state/ModelImporterState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +4 -4
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +9 -9
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +4 -4
- package/src/stores/editor-state/element-editor-state/external-format/{BindingEditorState.ts → DSL_ExternalFormat_BindingEditorState.ts} +0 -0
- package/src/stores/editor-state/element-editor-state/external-format/{SchemaSetEditorState.ts → DSL_ExternalFormat_SchemaSetEditorState.ts} +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +9 -9
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +49 -57
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementState.ts +1 -17
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +6 -6
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +8 -8
- package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +1 -5
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +18 -12
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +40 -1
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +1 -1
- package/src/stores/graphModifier/{DSLData_GraphModifierHelper.ts → DSL_Data_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{DSLExternalFormat_GraphModifierHelper.ts → DSL_ExternalFormat_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{DSLGeneration_GraphModifierHelper.ts → DSL_Generation_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{DSLMapping_GraphModifierHelper.ts → DSL_Mapping_GraphModifierHelper.ts} +12 -1
- package/src/stores/graphModifier/{DSLService_GraphModifierHelper.ts → DSL_Service_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{StoreFlatData_GraphModifierHelper.ts → STO_FlatData_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{StoreRelational_GraphModifierHelper.ts → STO_Relational_GraphModifierHelper.ts} +0 -0
- package/src/stores/project-viewer/ProjectViewerStore.ts +2 -2
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +18 -0
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +6 -5
- package/tsconfig.json +22 -22
- package/lib/components/DSLExternalFormat_CodeSnippets.d.ts.map +0 -1
- package/lib/components/DSLExternalFormat_CodeSnippets.js.map +0 -1
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/DSLExternalFormat_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/DSLExternalFormat_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetModelGenerationEditor.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetModelGenerationEditor.js.map +0 -1
- package/lib/stores/DSLData_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLData_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSLGeneration_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLGeneration_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.js +0 -17
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/BindingEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/BindingEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.js.map +0 -1
- package/lib/stores/graphModifier/DSLData_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLData_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSLGeneration_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLGeneration_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSLService_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLService_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/StoreFlatData_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/StoreFlatData_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/StoreRelational_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/StoreRelational_GraphModifierHelper.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ConnectionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAKH,OAAO,EACL,KAAK,qBAAqB,EAK3B,MAAM,0FAA0F,CAAC;AAiFlG,eAAO,MAAM,gBAAgB,WACnB;IACN,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;;CAkEF,CAAC;AAEF,eAAO,MAAM,2BAA2B;;CAiBtC,CAAC"}
|
|
@@ -19,9 +19,9 @@ import { FlatDataConnectionEditor } from './FlatDataConnectionEditor.js';
|
|
|
19
19
|
import { RelationalDatabaseConnectionEditor } from './RelationalDatabaseConnectionEditor.js';
|
|
20
20
|
import { RelationalDatabaseConnectionValueState, JsonModelConnectionValueState, FlatDataConnectionValueState, PackageableConnectionEditorState, } from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
|
21
21
|
import { UnsupportedEditorPanel } from '../../../editor/edit-panel/UnsupportedElementEditor.js';
|
|
22
|
-
import { CustomSelectorInput, LockIcon } from '@finos/legend-art';
|
|
22
|
+
import { CustomSelectorInput, LockIcon, PanelContent } from '@finos/legend-art';
|
|
23
23
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
24
|
-
import { modelConnection_setClass, modelConnection_setUrl, } from '../../../../stores/graphModifier/
|
|
24
|
+
import { modelConnection_setClass, modelConnection_setUrl, } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
25
25
|
import { buildElementOption, useApplicationNavigationContext, } from '@finos/legend-application';
|
|
26
26
|
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../../stores/LegendStudioApplicationNavigationContext.js';
|
|
27
27
|
const ModelConnectionEditor = observer((props) => {
|
|
@@ -63,7 +63,7 @@ export const ConnectionEditor = observer((props) => {
|
|
|
63
63
|
return (_jsx(UnsupportedEditorPanel, { text: "Can't display this connection in form-mode", isReadOnly: isReadOnly }));
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
|
-
return (_jsxs("div", { className: "panel connection-editor", children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: connectionValueState.label() }) }) }), _jsx(
|
|
66
|
+
return (_jsxs("div", { className: "panel connection-editor", children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: connectionValueState.label() }) }) }), _jsx(PanelContent, { children: renderConnectionValueEditor() })] }));
|
|
67
67
|
});
|
|
68
68
|
export const PackageableConnectionEditor = observer(() => {
|
|
69
69
|
const editorStore = useEditorStore();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAEL,sCAAsC,EACtC,6BAA6B,EAC7B,4BAA4B,EAC5B,gCAAgC,GACjC,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAEhG,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ConnectionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAEL,sCAAsC,EACtC,6BAA6B,EAC7B,4BAA4B,EAC5B,gCAAgC,GACjC,MAAM,0FAA0F,CAAC;AAClG,OAAO,EAAE,sBAAsB,EAAE,MAAM,wDAAwD,CAAC;AAEhG,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EACL,wBAAwB,EACxB,sBAAsB,GACvB,MAAM,qEAAqE,CAAC;AAC7E,OAAO,EACL,kBAAkB,EAClB,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gDAAgD,EAAE,MAAM,gEAAgE,CAAC;AAElI,MAAM,qBAAqB,GAAG,QAAQ,CACpC,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,oBAAoB,EAAE,UAAU,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IACzE,MAAM,UAAU,GAAG,oBAAoB,CAAC,UAAU,CAAC;IACnD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,eAAe;IACf,MAAM,YAAY,GAChB,WAAW,CAAC,iBAAiB,CAAC,aAAa,CAAC,G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C;IACF,OAAO,CACL,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,YACzC,oBAAoB,CAAC,KAAK,EAAE,GACzB,GACF,GACF,EACN,KAAC,YAAY,cAAE,2BAA2B,EAAE,GAAgB,IACxD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CAAC,GAAG,EAAE;IACvD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,WAAW,GAAG,WAAW,CAAC,qBAAqB,CACnD,gCAAgC,CACjC,CAAC;IACF,MAAM,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAE1C,+BAA+B,CAC7B,gDAAgD,CAAC,iBAAiB,CACnE,CAAC;IAEF,OAAO,CACL,KAAC,gBAAgB,IACf,qBAAqB,EAAE,WAAW,CAAC,eAAe,EAClD,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
16
17
|
import { type DatabaseBuilderState, type DatabaseBuilderTreeData } from '../../../../stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js';
|
|
17
18
|
export declare const DatabaseBuilderExplorer: ((props: {
|
|
18
19
|
treeData: DatabaseBuilderTreeData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabaseBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"DatabaseBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAwBH,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAK7B,MAAM,yFAAyF,CAAC;AAkHjG,eAAO,MAAM,uBAAuB,WAC1B;IACN,QAAQ,EAAE,uBAAuB,CAAC;IAClC,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C;;CAkDF,CAAC;AAEF,eAAO,MAAM,eAAe,WAClB;IACN,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,UAAU,EAAE,OAAO,CAAC;CACrB;;CAsIF,CAAC"}
|
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
|
-
import { Dialog, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, PanelLoadingIndicator, SaveIcon, FireIcon, clsx, TreeView, PURE_DatabaseSchemaIcon, PURE_DatabaseTableIcon, CircleIcon, ChevronDownIcon, ChevronRightIcon, CheckCircleIcon, EmptyCircleIcon, } from '@finos/legend-art';
|
|
18
|
+
import { Dialog, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, PanelLoadingIndicator, SaveIcon, FireIcon, clsx, TreeView, PURE_DatabaseSchemaIcon, PURE_DatabaseTableIcon, CircleIcon, ChevronDownIcon, ChevronRightIcon, CheckCircleIcon, EmptyCircleIcon, PanelContent, } from '@finos/legend-art';
|
|
19
19
|
import { useEffect } from 'react';
|
|
20
20
|
import { ColumnDatabaseBuilderTreeNodeData, SchemaDatabaseBuilderTreeNodeData, TableDatabaseBuilderTreeNodeData, } from '../../../../stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js';
|
|
21
21
|
import { capitalize } from '@finos/legend-shared';
|
|
@@ -118,6 +118,6 @@ export const DatabaseBuilder = observer((props) => {
|
|
|
118
118
|
Boolean(databaseBuilderState.currentDatabase), value: databaseBuilderState.currentDatabase?.path ??
|
|
119
119
|
databaseBuilderState.targetDatabasePath, onChange: changeValue })] }), databaseBuilderState.treeData && (_jsx(DatabaseBuilderExplorer, { treeData: databaseBuilderState.treeData, isReadOnly: false, databaseBuilderState: databaseBuilderState }))] })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { children: _jsxs("div", { className: "panel database-builder__generated", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "builder" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action", disabled: isReadOnly || isExecutingAction, tabIndex: -1, onClick: buildDb, title: 'Build Database...', children: _jsx(FireIcon, {}) }), _jsx("button", { className: "panel__header__action", disabled: isReadOnly || isExecutingAction, tabIndex: -1, onClick: saveOrUpdateDatabase, title: databaseBuilderState.currentDatabase
|
|
120
120
|
? 'Update database...'
|
|
121
|
-
: 'Import database...', children: _jsx(SaveIcon, {}) })] })] }), _jsx(
|
|
121
|
+
: 'Import database...', children: _jsx(SaveIcon, {}) })] })] }), _jsx(PanelContent, { children: _jsx(StudioTextInputEditor, { language: EDITOR_LANGUAGE.PURE, inputValue: databaseBuilderState.databaseGrammarCode, isReadOnly: true }) })] }) })] })] })] }) }));
|
|
122
122
|
});
|
|
123
123
|
//# sourceMappingURL=DatabaseBuilder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabaseBuilder.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,MAAM,EAEN,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,uBAAuB,EACvB,sBAAsB,EACtB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,
|
|
1
|
+
{"version":3,"file":"DatabaseBuilder.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,MAAM,EAEN,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,qBAAqB,EACrB,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,uBAAuB,EACvB,sBAAsB,EACtB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAIL,iCAAiC,EACjC,iCAAiC,EACjC,gCAAgC,GACjC,MAAM,yFAAyF,CAAC;AACjG,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AAEjF,MAAM,WAAW,GAAG,CAAC,IAAiC,EAAmB,EAAE;IACzE,IAAI,IAAI,YAAY,iCAAiC,EAAE;QACrD,OAAO,KAAC,uBAAuB,KAAG,CAAC;KACpC;SAAM,IAAI,IAAI,YAAY,gCAAgC,EAAE;QAC3D,OAAO,KAAC,sBAAsB,KAAG,CAAC;KACnC;SAAM,IAAI,IAAI,YAAY,iCAAiC,EAAE;Q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I,iBAAiB,EACzC,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,mBAAmB,YAE1B,KAAC,QAAQ,KAAG,GACL,EACT,iBACE,SAAS,EAAC,uBAAuB,EACjC,QAAQ,EAAE,UAAU,IAAI,iBAAiB,EACzC,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,oBAAoB,EAC7B,KAAK,EACH,oBAAoB,CAAC,eAAe;oEAClC,CAAC,CAAC,oBAAoB;oEACtB,CAAC,CAAC,oBAAoB,YAG1B,KAAC,QAAQ,KAAG,GACL,IACL,IACF,EACN,KAAC,YAAY,cACX,KAAC,qBAAqB,IACpB,QAAQ,EAAE,eAAe,CAAC,IAAI,EAC9B,UAAU,EAAE,oBAAoB,CAAC,mBAAmB,EACpD,UAAU,EAAE,IAAI,GAChB,GACW,IACX,GACS,IACG,IAClB,IACF,GACC,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
16
17
|
import type { FlatDataConnectionValueState } from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
|
17
18
|
export declare const FlatDataConnectionEditor: ((props: {
|
|
18
19
|
connectionValueState: FlatDataConnectionValueState;
|
package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatDataConnectionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"FlatDataConnectionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,0FAA0F,CAAC;AAG7I,eAAO,MAAM,wBAAwB,WAC3B;IACN,oBAAoB,EAAE,4BAA4B,CAAC;IACnD,UAAU,EAAE,OAAO,CAAC;CACrB;;CA0BF,CAAC"}
|
|
@@ -15,7 +15,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
|
-
import { flatDataConnection_setUrl } from '../../../../stores/graphModifier/
|
|
18
|
+
import { flatDataConnection_setUrl } from '../../../../stores/graphModifier/STO_FlatData_GraphModifierHelper.js';
|
|
19
19
|
export const FlatDataConnectionEditor = observer((props) => {
|
|
20
20
|
const { connectionValueState, isReadOnly } = props;
|
|
21
21
|
const connection = connectionValueState.connection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatDataConnectionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FlatDataConnectionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,yBAAyB,EAAE,MAAM,sEAAsE,CAAC;AAEjH,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/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts
CHANGED
|
@@ -13,40 +13,8 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
16
17
|
import { type RelationalDatabaseConnectionValueState } from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
|
17
|
-
import { EDITOR_LANGUAGE } from '@finos/legend-application';
|
|
18
|
-
/**
|
|
19
|
-
* NOTE: this is a WIP we did to quickly assemble a modular UI for relational database connection editor
|
|
20
|
-
* This is subjected to change and review, especially in terms in UX.
|
|
21
|
-
*/
|
|
22
|
-
export declare const ConnectionEditor_BooleanEditor: ((props: {
|
|
23
|
-
name: string;
|
|
24
|
-
description?: string;
|
|
25
|
-
value: boolean | undefined;
|
|
26
|
-
isReadOnly: boolean;
|
|
27
|
-
update: (value: boolean | undefined) => void;
|
|
28
|
-
}) => JSX.Element) & {
|
|
29
|
-
displayName: string;
|
|
30
|
-
};
|
|
31
|
-
export declare const ConnectionEditor_TextEditor: ((props: {
|
|
32
|
-
name: string;
|
|
33
|
-
description?: string;
|
|
34
|
-
value: string | undefined;
|
|
35
|
-
isReadOnly: boolean;
|
|
36
|
-
language: EDITOR_LANGUAGE;
|
|
37
|
-
update: (value: string | undefined) => void;
|
|
38
|
-
}) => JSX.Element) & {
|
|
39
|
-
displayName: string;
|
|
40
|
-
};
|
|
41
|
-
export declare const ConnectionEditor_ArrayEditor: ((props: {
|
|
42
|
-
name: string;
|
|
43
|
-
description?: string;
|
|
44
|
-
values: string[];
|
|
45
|
-
isReadOnly: boolean;
|
|
46
|
-
update: (updatedValues: string[]) => void;
|
|
47
|
-
}) => JSX.Element) & {
|
|
48
|
-
displayName: string;
|
|
49
|
-
};
|
|
50
18
|
export declare const RelationalDatabaseConnectionEditor: ((props: {
|
|
51
19
|
connectionValueState: RelationalDatabaseConnectionValueState;
|
|
52
20
|
isReadOnly: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationalDatabaseConnectionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"RelationalDatabaseConnectionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,sCAAsC,EAK5C,MAAM,0FAA0F,CAAC;AAk5ClG,eAAO,MAAM,kCAAkC,WACrC;IACN,oBAAoB,EAAE,sCAAsC,CAAC;IAC7D,UAAU,EAAE,OAAO,CAAC;CACrB;;CA2CF,CAAC"}
|
package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js
CHANGED
|
@@ -16,116 +16,42 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
18
|
import { CORE_AUTHENTICATION_STRATEGY_TYPE, CORE_DATASOURCE_SPEC_TYPE, RELATIONAL_DATABASE_TAB_TYPE, POST_PROCESSOR_TYPE, } from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
|
19
|
-
import {
|
|
20
|
-
import { ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, clsx, CustomSelectorInput, CheckSquareIcon, SquareIcon, TimesIcon, ErrorIcon, PencilIcon, PanelHeader, PanelHeaderActionItem, PlusIcon, PanelTextEditor, ContextMenu, MenuContent, MenuContentItem, PanelListSelectorItem, DropdownMenu, PanelTabs, BlankPanelContent, ResizablePanelSplitterLine, PanelContent, Panel, Badge, PanelListSelectorItemLabel, } from '@finos/legend-art';
|
|
19
|
+
import { ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, CustomSelectorInput, ErrorIcon, PanelHeader, PanelHeaderActionItem, PlusIcon, PanelFormTextEditor, ContextMenu, MenuContent, MenuContentItem, PanelListSelectorItem, DropdownMenu, PanelTabs, BlankPanelContent, ResizablePanelSplitterLine, PanelContent, Panel, Badge, PanelListSelectorItemLabel, PanelSection, PanelFormBooleanEditor, } from '@finos/legend-art';
|
|
21
20
|
import { capitalize, prettyCONSTName } from '@finos/legend-shared';
|
|
22
21
|
import { DatabaseType, DelegatedKerberosAuthenticationStrategy, OAuthAuthenticationStrategy, SnowflakePublicAuthenticationStrategy, ApiTokenAuthenticationStrategy, UsernamePasswordAuthenticationStrategy, GCPWorkloadIdentityFederationAuthenticationStrategy, MiddleTierUsernamePasswordAuthenticationStrategy, EmbeddedH2DatasourceSpecification, LocalH2DatasourceSpecification, SnowflakeDatasourceSpecification, DatabricksDatasourceSpecification, StaticDatasourceSpecification, BigQueryDatasourceSpecification, RedshiftDatasourceSpecification, PackageableElementExplicitReference, MapperPostProcessor, } from '@finos/legend-graph';
|
|
23
|
-
import { runInAction } from 'mobx';
|
|
24
22
|
import { DatabaseBuilder } from './DatabaseBuilder.js';
|
|
25
23
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
26
24
|
import { EDITOR_LANGUAGE, buildElementOption, } from '@finos/legend-application';
|
|
27
25
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
28
|
-
import { connection_setStore } from '../../../../stores/graphModifier/
|
|
29
|
-
import { apiTokenAuthenticationStrategy_setApiToken, bigQueryDatasourceSpecification_setDefaultDataset, bigQueryDatasourceSpecification_setProjectId, bigQueryDatasourceSpecification_setProxyHost, bigQueryDatasourceSpecification_setProxyPort, databricksDatasourceSpecification_setHostName, databricksDatasourceSpecification_setHttpPath, databricksDatasourceSpecification_setPort, databricksDatasourceSpecification_setProtocol, dBConnection_setQuoteIdentifiers, dBConnection_setType, delegatedKerberosAuthenticationStrategy_setServerPrincipal, embeddedH2DatasourceSpecification_setAutoServerMode, embeddedH2DatasourceSpecification_setDatabaseName, embeddedH2DatasourceSpecification_setDirectory, localH2DatasourceSpecification_setTestDataSetupSqls, oAuthAuthenticationStrategy_setOauthKey, oAuthAuthenticationStrategy_setScopeName, redshiftDatasourceSpecification_setClusterID, redshiftDatasourceSpecification_setDatabaseName, redshiftDatasourceSpecification_setEndpointURL, redshiftDatasourceSpecification_setHost, redshiftDatasourceSpecification_setPort, redshiftDatasourceSpecification_setRegion, snowflakeDatasourceSpec_setAccountName, snowflakeDatasourceSpec_setAccountType, snowflakeDatasourceSpec_setCloudType, snowflakeDatasourceSpec_setDatabaseName, snowflakeDatasourceSpec_setNonProxyHosts, snowflakeDatasourceSpec_setOrganization, snowflakeDatasourceSpec_setProxyHost, snowflakeDatasourceSpec_setProxyPort, snowflakeDatasourceSpec_setQuotedIdentifiersIgnoreCase, snowflakeDatasourceSpec_setRegion, snowflakeDatasourceSpec_setRole, snowflakeDatasourceSpec_setWarehouseName, snowflakePublicAuthenticationStrategy_setPassPhraseVaultReference, snowflakePublicAuthenticationStrategy_setPrivateKeyVaultReference, snowflakePublicAuthenticationStrategy_setPublicUserName, staticDatasourceSpecification_setDatabaseName, staticDatasourceSpecification_setHost, staticDatasourceSpecification_setPort, usernamePasswordAuthenticationStrategy_setBaseVaultReference, usernamePasswordAuthenticationStrategy_setPasswordVaultReference, usernamePasswordAuthenticationStrategy_setUserNameVaultReference, gcpWorkloadIdentityFederationAuthenticationStrategy_setServiceAccountEmail, gcpWorkloadIdentityFederationAuthenticationStrategy_setAdditionalGcpScopes, middleTierUsernamePasswordAuthenticationStrategy_setVaultReference, relationalDatabaseConnection_addPostProcessor, relationalDatabaseConnection_deletePostProcessor, } from '../../../../stores/graphModifier/
|
|
26
|
+
import { connection_setStore } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
27
|
+
import { apiTokenAuthenticationStrategy_setApiToken, bigQueryDatasourceSpecification_setDefaultDataset, bigQueryDatasourceSpecification_setProjectId, bigQueryDatasourceSpecification_setProxyHost, bigQueryDatasourceSpecification_setProxyPort, databricksDatasourceSpecification_setHostName, databricksDatasourceSpecification_setHttpPath, databricksDatasourceSpecification_setPort, databricksDatasourceSpecification_setProtocol, dBConnection_setQuoteIdentifiers, dBConnection_setType, delegatedKerberosAuthenticationStrategy_setServerPrincipal, embeddedH2DatasourceSpecification_setAutoServerMode, embeddedH2DatasourceSpecification_setDatabaseName, embeddedH2DatasourceSpecification_setDirectory, localH2DatasourceSpecification_setTestDataSetupSqls, oAuthAuthenticationStrategy_setOauthKey, oAuthAuthenticationStrategy_setScopeName, redshiftDatasourceSpecification_setClusterID, redshiftDatasourceSpecification_setDatabaseName, redshiftDatasourceSpecification_setEndpointURL, redshiftDatasourceSpecification_setHost, redshiftDatasourceSpecification_setPort, redshiftDatasourceSpecification_setRegion, snowflakeDatasourceSpec_setAccountName, snowflakeDatasourceSpec_setAccountType, snowflakeDatasourceSpec_setCloudType, snowflakeDatasourceSpec_setDatabaseName, snowflakeDatasourceSpec_setNonProxyHosts, snowflakeDatasourceSpec_setOrganization, snowflakeDatasourceSpec_setProxyHost, snowflakeDatasourceSpec_setProxyPort, snowflakeDatasourceSpec_setQuotedIdentifiersIgnoreCase, snowflakeDatasourceSpec_setRegion, snowflakeDatasourceSpec_setRole, snowflakeDatasourceSpec_setWarehouseName, snowflakePublicAuthenticationStrategy_setPassPhraseVaultReference, snowflakePublicAuthenticationStrategy_setPrivateKeyVaultReference, snowflakePublicAuthenticationStrategy_setPublicUserName, staticDatasourceSpecification_setDatabaseName, staticDatasourceSpecification_setHost, staticDatasourceSpecification_setPort, usernamePasswordAuthenticationStrategy_setBaseVaultReference, usernamePasswordAuthenticationStrategy_setPasswordVaultReference, usernamePasswordAuthenticationStrategy_setUserNameVaultReference, gcpWorkloadIdentityFederationAuthenticationStrategy_setServiceAccountEmail, gcpWorkloadIdentityFederationAuthenticationStrategy_setAdditionalGcpScopes, middleTierUsernamePasswordAuthenticationStrategy_setVaultReference, relationalDatabaseConnection_addPostProcessor, relationalDatabaseConnection_deletePostProcessor, } from '../../../../stores/graphModifier/STO_Relational_GraphModifierHelper.js';
|
|
30
28
|
import { MapperPostProcessorEditor } from './post-processor-editor/MapperPostProcessorEditor.js';
|
|
31
29
|
import { UnsupportedEditorPanel } from '../UnsupportedElementEditor.js';
|
|
32
|
-
/**
|
|
33
|
-
* NOTE: this is a WIP we did to quickly assemble a modular UI for relational database connection editor
|
|
34
|
-
* This is subjected to change and review, especially in terms in UX.
|
|
35
|
-
*/
|
|
36
|
-
// TODO: consider to move this to shared
|
|
37
|
-
export const ConnectionEditor_BooleanEditor = observer((props) => {
|
|
38
|
-
const { value, name, description, isReadOnly, update } = props;
|
|
39
|
-
const toggle = () => {
|
|
40
|
-
if (!isReadOnly) {
|
|
41
|
-
update(!value);
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: capitalize(name) }), _jsxs("div", { className: clsx('panel__content__form__section__toggler', {
|
|
45
|
-
'panel__content__form__section__toggler--disabled': isReadOnly,
|
|
46
|
-
}), onClick: toggle, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
|
|
47
|
-
'panel__content__form__section__toggler__btn--toggled': value,
|
|
48
|
-
}), disabled: isReadOnly, tabIndex: -1, children: value ? _jsx(CheckSquareIcon, {}) : _jsx(SquareIcon, {}) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: description })] })] }));
|
|
49
|
-
});
|
|
50
|
-
// TODO: consider to move this to shared
|
|
51
|
-
export const ConnectionEditor_TextEditor = observer((props) => {
|
|
52
|
-
const { value, name, description, isReadOnly, language, update } = props;
|
|
53
|
-
return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: capitalize(name) }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: description }), _jsx("div", { className: "panel__content__form__section__text-editor", children: _jsx(StudioTextInputEditor, { inputValue: value ?? '', updateInput: update, isReadOnly: isReadOnly, language: language }) })] }));
|
|
54
|
-
});
|
|
55
|
-
// TODO: consider to move this to shared
|
|
56
|
-
export const ConnectionEditor_ArrayEditor = observer((props) => {
|
|
57
|
-
const { name, description, values, isReadOnly, update } = props;
|
|
58
|
-
const arrayValues = values;
|
|
59
|
-
// NOTE: `showEditInput` is either boolean (to hide/show the add value button) or a number (index of the item being edited)
|
|
60
|
-
const [showEditInput, setShowEditInput] = useState(false);
|
|
61
|
-
const [itemValue, setItemValue] = useState('');
|
|
62
|
-
const showAddItemInput = () => setShowEditInput(true);
|
|
63
|
-
const showEditItemInput = (value, idx) => () => {
|
|
64
|
-
setItemValue(value);
|
|
65
|
-
setShowEditInput(idx);
|
|
66
|
-
};
|
|
67
|
-
const hideAddOrEditItemInput = () => {
|
|
68
|
-
setShowEditInput(false);
|
|
69
|
-
setItemValue('');
|
|
70
|
-
};
|
|
71
|
-
const changeItemInputValue = (event) => setItemValue(event.target.value);
|
|
72
|
-
const addValue = () => {
|
|
73
|
-
if (itemValue && !isReadOnly && !arrayValues.includes(itemValue)) {
|
|
74
|
-
update(arrayValues.concat([itemValue]));
|
|
75
|
-
}
|
|
76
|
-
hideAddOrEditItemInput();
|
|
77
|
-
};
|
|
78
|
-
const updateValue = (idx) => () => {
|
|
79
|
-
if (itemValue && !isReadOnly && !arrayValues.includes(itemValue)) {
|
|
80
|
-
runInAction(() => {
|
|
81
|
-
arrayValues[idx] = itemValue;
|
|
82
|
-
});
|
|
83
|
-
update(arrayValues);
|
|
84
|
-
}
|
|
85
|
-
hideAddOrEditItemInput();
|
|
86
|
-
};
|
|
87
|
-
const deleteValue = (idx) => () => {
|
|
88
|
-
if (!isReadOnly) {
|
|
89
|
-
runInAction(() => arrayValues.splice(idx, 1));
|
|
90
|
-
update(arrayValues);
|
|
91
|
-
// Since we keep track of the value currently being edited using the index, we have to account for it as we delete entry
|
|
92
|
-
if (typeof showEditInput === 'number' && showEditInput > idx) {
|
|
93
|
-
setShowEditInput(showEditInput - 1);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: capitalize(name) }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: description }), _jsxs("div", { className: "panel__content__form__section__list", children: [_jsxs("div", { className: "panel__content__form__section__list__items", children: [arrayValues.map((value, idx) => (
|
|
98
|
-
// NOTE: since the value must be unique, we will use it as the key
|
|
99
|
-
_jsx("div", { className: showEditInput === idx
|
|
100
|
-
? 'panel__content__form__section__list__new-item'
|
|
101
|
-
: 'panel__content__form__section__list__item', children: showEditInput === idx ? (_jsxs(_Fragment, { children: [_jsx("input", { className: "panel__content__form__section__input panel__content__form__section__list__new-item__input", spellCheck: false, disabled: isReadOnly, value: itemValue, onChange: changeItemInputValue }), _jsxs("div", { className: "panel__content__form__section__list__new-item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly || arrayValues.includes(itemValue), onClick: updateValue(idx), tabIndex: -1, children: "Save" }), _jsx("button", { className: "panel__content__form__section__list__new-item__cancel-btn btn btn--dark", disabled: isReadOnly, onClick: hideAddOrEditItemInput, tabIndex: -1, children: "Cancel" })] })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value }), _jsxs("div", { className: "panel__content__form__section__list__item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__item__edit-btn", disabled: isReadOnly, onClick: showEditItemInput(value, idx), tabIndex: -1, children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "panel__content__form__section__list__item__remove-btn", disabled: isReadOnly, onClick: deleteValue(idx), tabIndex: -1, children: _jsx(TimesIcon, {}) })] })] })) }, value))), showEditInput === true && (_jsxs("div", { className: "panel__content__form__section__list__new-item", children: [_jsx("input", { className: "panel__content__form__section__input panel__content__form__section__list__new-item__input", spellCheck: false, disabled: isReadOnly, value: itemValue, onChange: changeItemInputValue }), _jsxs("div", { className: "panel__content__form__section__list__new-item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly || arrayValues.includes(itemValue), onClick: addValue, tabIndex: -1, children: "Save" }), _jsx("button", { className: "panel__content__form__section__list__new-item__cancel-btn btn btn--dark", disabled: isReadOnly, onClick: hideAddOrEditItemInput, tabIndex: -1, children: "Cancel" })] })] }))] }), showEditInput !== true && (_jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly, onClick: showAddItemInput, tabIndex: -1, children: "Add Value" }) }))] })] }));
|
|
102
|
-
});
|
|
103
30
|
const LocalH2DatasourceSpecificationEditor = observer((props) => {
|
|
104
31
|
const { sourceSpec, isReadOnly } = props;
|
|
32
|
+
// TODO?: support CSV and toggler to go to CSV mode
|
|
105
33
|
const SQLValue = sourceSpec.testDataSetupSqls.join('\n');
|
|
106
|
-
|
|
107
|
-
return (_jsx(_Fragment, { children: _jsx(ConnectionEditor_TextEditor, { isReadOnly: isReadOnly, value: SQLValue, name: 'test data setup SQL', language: EDITOR_LANGUAGE.SQL, update: (value) => localH2DatasourceSpecification_setTestDataSetupSqls(sourceSpec, value ? [value] : []) }) }));
|
|
34
|
+
return (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: capitalize('test data setup SQL') }), _jsx("div", { className: "panel__content__form__section__text-editor", children: _jsx(StudioTextInputEditor, { inputValue: SQLValue, updateInput: (value) => localH2DatasourceSpecification_setTestDataSetupSqls(sourceSpec, value ? [value] : []), isReadOnly: isReadOnly, language: EDITOR_LANGUAGE.SQL }) })] }));
|
|
108
35
|
});
|
|
109
|
-
//data source
|
|
110
36
|
const StaticDatasourceSpecificationEditor = observer((props) => {
|
|
111
37
|
const { sourceSpec, isReadOnly } = props;
|
|
112
38
|
const changePort = (event) => {
|
|
113
39
|
const val = event.target.value;
|
|
114
40
|
staticDatasourceSpecification_setPort(sourceSpec, parseInt(val, 10));
|
|
115
41
|
};
|
|
116
|
-
return (_jsxs(
|
|
42
|
+
return (_jsxs(PanelSection, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.host, name: 'host', update: (value) => staticDatasourceSpecification_setHost(sourceSpec, value ?? '') }), _jsx("div", { className: "panel__content__form__section__header__label", children: "port" }), _jsx("input", { className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "number", disabled: isReadOnly, value: sourceSpec.port, onChange: changePort }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.databaseName, name: 'database', update: (value) => staticDatasourceSpecification_setDatabaseName(sourceSpec, value ?? '') })] }));
|
|
117
43
|
});
|
|
118
44
|
const EmbeddedH2DatasourceSpecificationEditor = observer((props) => {
|
|
119
45
|
const { sourceSpec, isReadOnly } = props;
|
|
120
|
-
return (_jsxs(
|
|
46
|
+
return (_jsxs(PanelSection, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.databaseName, name: 'database', update: (value) => embeddedH2DatasourceSpecification_setDatabaseName(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.directory, name: 'directory', update: (value) => embeddedH2DatasourceSpecification_setDirectory(sourceSpec, value ?? '') }), _jsx(PanelFormBooleanEditor, { isReadOnly: isReadOnly, value: sourceSpec.autoServerMode, name: 'auto server mode', update: (value) => embeddedH2DatasourceSpecification_setAutoServerMode(sourceSpec, Boolean(value)) })] }));
|
|
121
47
|
});
|
|
122
48
|
const DatabricksDatasourceSpecificationEditor = observer((props) => {
|
|
123
49
|
const { sourceSpec, isReadOnly } = props;
|
|
124
|
-
return (_jsxs(
|
|
50
|
+
return (_jsxs(PanelSection, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.hostname, name: "hostname", update: (value) => databricksDatasourceSpecification_setHostName(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.port, name: "port", update: (value) => databricksDatasourceSpecification_setPort(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.protocol, name: "protocol", update: (value) => databricksDatasourceSpecification_setProtocol(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.httpPath, name: "httpPath", update: (value) => databricksDatasourceSpecification_setHttpPath(sourceSpec, value ?? '') })] }));
|
|
125
51
|
});
|
|
126
52
|
const SnowflakeDatasourceSpecificationEditor = observer((props) => {
|
|
127
53
|
const { sourceSpec, isReadOnly } = props;
|
|
128
|
-
return (_jsxs(
|
|
54
|
+
return (_jsxs(PanelSection, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.accountName, name: "account", update: (value) => snowflakeDatasourceSpec_setAccountName(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.region, name: "region", update: (value) => snowflakeDatasourceSpec_setRegion(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.warehouseName, name: "warehouse", update: (value) => snowflakeDatasourceSpec_setWarehouseName(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.databaseName, name: "database", update: (value) => snowflakeDatasourceSpec_setDatabaseName(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.cloudType, name: "cloud type", update: (value) => snowflakeDatasourceSpec_setCloudType(sourceSpec, value) }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.proxyHost, name: "proxy host", update: (value) => snowflakeDatasourceSpec_setProxyHost(sourceSpec, value) }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.proxyPort, name: "proxy port", update: (value) => snowflakeDatasourceSpec_setProxyPort(sourceSpec, value) }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.nonProxyHosts, name: "non proxy hosts", update: (value) => snowflakeDatasourceSpec_setNonProxyHosts(sourceSpec, value) }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.organization, name: "organization", update: (value) => snowflakeDatasourceSpec_setOrganization(sourceSpec, value) }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.accountType, name: "account type", update: (value) => snowflakeDatasourceSpec_setAccountType(sourceSpec, value) }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.role, name: "role", update: (value) => snowflakeDatasourceSpec_setRole(sourceSpec, value) }), _jsx(PanelFormBooleanEditor, { isReadOnly: isReadOnly, value: sourceSpec.quotedIdentifiersIgnoreCase, name: "quoted identifiers ignore case", description: "Controls whether Snowflake will treat alphabetic characters in double-quoted identifiers as uppercase", update: (value) => snowflakeDatasourceSpec_setQuotedIdentifiersIgnoreCase(sourceSpec, Boolean(value)) })] }));
|
|
129
55
|
});
|
|
130
56
|
const RedshiftDatasourceSpecificationEditor = observer((props) => {
|
|
131
57
|
const { sourceSpec, isReadOnly } = props;
|
|
@@ -133,42 +59,42 @@ const RedshiftDatasourceSpecificationEditor = observer((props) => {
|
|
|
133
59
|
const val = event.target.value;
|
|
134
60
|
redshiftDatasourceSpecification_setPort(sourceSpec, parseInt(val, 10));
|
|
135
61
|
};
|
|
136
|
-
return (_jsxs(
|
|
62
|
+
return (_jsxs(PanelSection, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.host, name: "host", update: (value) => redshiftDatasourceSpecification_setHost(sourceSpec, value ?? '') }), _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "port" }), _jsx("input", { className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "number", disabled: isReadOnly, value: sourceSpec.port, onChange: changePort })] }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.databaseName, name: "database", update: (value) => redshiftDatasourceSpecification_setDatabaseName(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.region, name: "region", update: (value) => redshiftDatasourceSpecification_setRegion(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.clusterID, name: "cluster", update: (value) => redshiftDatasourceSpecification_setClusterID(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.endpointURL, name: "endpointURL", update: (value) => redshiftDatasourceSpecification_setEndpointURL(sourceSpec, value ?? '') })] }));
|
|
137
63
|
});
|
|
138
64
|
const BigQueryDatasourceSpecificationEditor = observer((props) => {
|
|
139
65
|
const { sourceSpec, isReadOnly } = props;
|
|
140
|
-
return (_jsxs(
|
|
66
|
+
return (_jsxs(PanelSection, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.projectId, name: 'project id', update: (value) => bigQueryDatasourceSpecification_setProjectId(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.defaultDataset, name: 'default dataset', update: (value) => bigQueryDatasourceSpecification_setDefaultDataset(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.proxyHost, name: "proxy host", description: "Specifies proxy host for connection to GCP BigQuery", update: (value) => bigQueryDatasourceSpecification_setProxyHost(sourceSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: sourceSpec.proxyPort, name: "proxy port", description: "Specifies proxy port for connection to GCP BigQuery", update: (value) => bigQueryDatasourceSpecification_setProxyPort(sourceSpec, value ?? '') })] }));
|
|
141
67
|
});
|
|
142
68
|
// auth strategy
|
|
143
69
|
const DelegatedKerberosAuthenticationStrategyEditor = observer((props) => {
|
|
144
70
|
const { authSpec, isReadOnly } = props;
|
|
145
|
-
return (_jsx(_Fragment, { children: _jsx(
|
|
71
|
+
return (_jsx(_Fragment, { children: _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.serverPrincipal, name: 'server principal', update: (value) => delegatedKerberosAuthenticationStrategy_setServerPrincipal(authSpec, value ?? '') }) }));
|
|
146
72
|
});
|
|
147
73
|
const ApiTokenAuthenticationStrategyEditor = observer((props) => {
|
|
148
74
|
const { authSpec, isReadOnly } = props;
|
|
149
|
-
return (_jsx(_Fragment, { children: _jsx(
|
|
75
|
+
return (_jsx(_Fragment, { children: _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.apiToken, name: 'apiTokenRef', update: (value) => apiTokenAuthenticationStrategy_setApiToken(authSpec, value ?? '') }) }));
|
|
150
76
|
});
|
|
151
77
|
const SnowflakePublicAuthenticationStrategyEditor = observer((props) => {
|
|
152
78
|
const { authSpec, isReadOnly } = props;
|
|
153
|
-
return (_jsxs(
|
|
79
|
+
return (_jsxs(PanelSection, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.privateKeyVaultReference, name: 'private key vault reference', update: (value) => snowflakePublicAuthenticationStrategy_setPrivateKeyVaultReference(authSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.passPhraseVaultReference, name: 'pass phrase vault reference', update: (value) => snowflakePublicAuthenticationStrategy_setPassPhraseVaultReference(authSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.publicUserName, name: 'public user name', update: (value) => snowflakePublicAuthenticationStrategy_setPublicUserName(authSpec, value ?? '') })] }));
|
|
154
80
|
});
|
|
155
81
|
const OAuthAuthenticationStrategyEditor = observer((props) => {
|
|
156
82
|
const { authSpec, isReadOnly } = props;
|
|
157
|
-
return (_jsxs(_Fragment, { children: [_jsx(
|
|
83
|
+
return (_jsxs(_Fragment, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.oauthKey, name: 'oauth key', update: (value) => oAuthAuthenticationStrategy_setOauthKey(authSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.scopeName, name: 'scope name', update: (value) => oAuthAuthenticationStrategy_setScopeName(authSpec, value ?? '') })] }));
|
|
158
84
|
});
|
|
159
85
|
const UsernamePasswordAuthenticationStrategyEditor = observer((props) => {
|
|
160
86
|
const { authSpec, isReadOnly } = props;
|
|
161
|
-
return (_jsxs(_Fragment, { children: [_jsx(
|
|
87
|
+
return (_jsxs(_Fragment, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.baseVaultReference, name: 'base vault reference', update: (value) => usernamePasswordAuthenticationStrategy_setBaseVaultReference(authSpec, value) }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.userNameVaultReference, name: 'user name vault reference', update: (value) => usernamePasswordAuthenticationStrategy_setUserNameVaultReference(authSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.passwordVaultReference, name: 'password vault reference', update: (value) => usernamePasswordAuthenticationStrategy_setPasswordVaultReference(authSpec, value ?? '') })] }));
|
|
162
88
|
});
|
|
163
89
|
// Middle Tier Username Password Authentication Strategy obtains credentials(username and password) from the provided vault reference
|
|
164
90
|
const MiddleTierUsernamePasswordAuthenticationStrategyEditor = observer((props) => {
|
|
165
91
|
const { authSpec, isReadOnly } = props;
|
|
166
|
-
return (_jsx(_Fragment, { children: _jsx(
|
|
92
|
+
return (_jsx(_Fragment, { children: _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.vaultReference, name: 'vault reference', description: "Specifies the cred vault reference containing connection credentials", update: (value) => middleTierUsernamePasswordAuthenticationStrategy_setVaultReference(authSpec, value ?? '') }) }));
|
|
167
93
|
});
|
|
168
94
|
const GCPWorkloadIdentityFederationAuthenticationStrategyEditor = observer((props) => {
|
|
169
95
|
const { authSpec, isReadOnly } = props;
|
|
170
96
|
const GCPScopes = authSpec.additionalGcpScopes.join('\n');
|
|
171
|
-
return (_jsxs(_Fragment, { children: [_jsx(
|
|
97
|
+
return (_jsxs(_Fragment, { children: [_jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: authSpec.serviceAccountEmail, name: 'Service Account Email', update: (value) => gcpWorkloadIdentityFederationAuthenticationStrategy_setServiceAccountEmail(authSpec, value ?? '') }), _jsx(PanelFormTextEditor, { isReadOnly: isReadOnly, value: GCPScopes, name: 'Additional GCP Scopes', update: (value) => gcpWorkloadIdentityFederationAuthenticationStrategy_setAdditionalGcpScopes(authSpec, value ? [value] : []) })] }));
|
|
172
98
|
});
|
|
173
99
|
const RelationalConnectionStoreEditor = observer((props) => {
|
|
174
100
|
const { connectionValueState, isReadOnly } = props;
|
|
@@ -392,7 +318,7 @@ const RelationalConnectionGeneralEditor = observer((props) => {
|
|
|
392
318
|
const onAuthStrategyChange = (val) => {
|
|
393
319
|
connectionValueState.changeAuthenticationStrategy(val?.value ?? CORE_AUTHENTICATION_STRATEGY_TYPE.OAUTH);
|
|
394
320
|
};
|
|
395
|
-
return (_jsx("div", { className: "relational-connection-editor", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { size: 200, minSize: 15, children: _jsxs(
|
|
321
|
+
return (_jsx("div", { className: "relational-connection-editor", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { size: 200, minSize: 15, children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: "general" }), _jsxs("div", { className: "panel__content relational-connection-editor__general", children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Database type" }), _jsx(CustomSelectorInput, { options: typeOptions, onChange: onTypeChange, value: selectedType, darkMode: true })] }), _jsx(PanelFormBooleanEditor, { isReadOnly: isReadOnly, value: connection.quoteIdentifiers, name: "Quote identifiers", description: "Specifies whether to use double-quotes for SQL identifiers", update: (value) => dBConnection_setQuoteIdentifiers(connection, Boolean(value)) })] })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { children: _jsx("div", { className: "relational-connection-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, minSize: 50, children: _jsxs("div", { className: "relational-connection-editor__auth", children: [_jsx(PanelHeader, { title: "datasource spec" }), _jsxs("div", { className: "panel__content relational-connection-editor__auth__content", children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Datasource" }), _jsx(CustomSelectorInput, { options: sourceSpecOptions, onChange: onSourceSpecChange, value: selectedSourceSpec, darkMode: true })] }), _jsx("div", { className: "relational-connection-editor__auth__properties", children: renderDatasourceSpecificationEditor(connection, isReadOnly, plugins) })] })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { children: _jsxs("div", { className: "relational-connection-editor__source", children: [_jsx(PanelHeader, { title: "authentication spec" }), _jsxs("div", { className: "panel__content relational-connection-editor__source__content", children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Authentication" }), _jsx(CustomSelectorInput, { options: authOptions, onChange: onAuthStrategyChange, value: selectedAuth, darkMode: true })] }), _jsx("div", { className: "relational-connection-editor__source__properties", children: renderAuthenticationStrategyEditor(connection, isReadOnly, plugins) })] })] }) })] }) }) })] }) }));
|
|
396
322
|
});
|
|
397
323
|
export const RelationalDatabaseConnectionEditor = observer((props) => {
|
|
398
324
|
const { connectionValueState, isReadOnly } = props;
|
|
@@ -401,6 +327,6 @@ export const RelationalDatabaseConnectionEditor = observer((props) => {
|
|
|
401
327
|
tab) => () => {
|
|
402
328
|
connectionValueState.setSelectedTab(tab);
|
|
403
329
|
};
|
|
404
|
-
return (_jsxs(
|
|
330
|
+
return (_jsxs(Panel, { children: [_jsx(PanelTabs, { tabTitles: Object.values(RELATIONAL_DATABASE_TAB_TYPE), changeTheTab: changeTab, selectedTab: selectedTab, tabClassName: "relational-connection-editor__tab" }), _jsxs(PanelContent, { children: [selectedTab === RELATIONAL_DATABASE_TAB_TYPE.GENERAL && (_jsx(RelationalConnectionGeneralEditor, { connectionValueState: connectionValueState, isReadOnly: isReadOnly })), selectedTab === RELATIONAL_DATABASE_TAB_TYPE.STORE && (_jsx(RelationalConnectionStoreEditor, { connectionValueState: connectionValueState, isReadOnly: isReadOnly })), selectedTab === RELATIONAL_DATABASE_TAB_TYPE.POST_PROCESSORS && (_jsx(PostProcessorRelationalConnectionEditor, { connectionValueState: connectionValueState, isReadOnly: isReadOnly }))] })] }));
|
|
405
331
|
});
|
|
406
332
|
//# sourceMappingURL=RelationalDatabaseConnectionEditor.js.map
|