@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
package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx
CHANGED
|
@@ -22,22 +22,16 @@ import {
|
|
|
22
22
|
RELATIONAL_DATABASE_TAB_TYPE,
|
|
23
23
|
POST_PROCESSOR_TYPE,
|
|
24
24
|
} from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
|
25
|
-
import { useState } from 'react';
|
|
26
25
|
import {
|
|
27
26
|
ResizablePanelGroup,
|
|
28
27
|
ResizablePanel,
|
|
29
28
|
ResizablePanelSplitter,
|
|
30
|
-
clsx,
|
|
31
29
|
CustomSelectorInput,
|
|
32
|
-
CheckSquareIcon,
|
|
33
|
-
SquareIcon,
|
|
34
|
-
TimesIcon,
|
|
35
30
|
ErrorIcon,
|
|
36
|
-
PencilIcon,
|
|
37
31
|
PanelHeader,
|
|
38
32
|
PanelHeaderActionItem,
|
|
39
33
|
PlusIcon,
|
|
40
|
-
|
|
34
|
+
PanelFormTextEditor,
|
|
41
35
|
ContextMenu,
|
|
42
36
|
MenuContent,
|
|
43
37
|
MenuContentItem,
|
|
@@ -50,6 +44,8 @@ import {
|
|
|
50
44
|
Panel,
|
|
51
45
|
Badge,
|
|
52
46
|
PanelListSelectorItemLabel,
|
|
47
|
+
PanelSection,
|
|
48
|
+
PanelFormBooleanEditor,
|
|
53
49
|
} from '@finos/legend-art';
|
|
54
50
|
import { capitalize, prettyCONSTName } from '@finos/legend-shared';
|
|
55
51
|
|
|
@@ -75,9 +71,8 @@ import {
|
|
|
75
71
|
PackageableElementExplicitReference,
|
|
76
72
|
MapperPostProcessor,
|
|
77
73
|
} from '@finos/legend-graph';
|
|
78
|
-
import { runInAction } from 'mobx';
|
|
79
74
|
import type { LegendStudioApplicationPlugin } from '../../../../stores/LegendStudioApplicationPlugin.js';
|
|
80
|
-
import type {
|
|
75
|
+
import type { STO_Relational_LegendStudioApplicationPlugin_Extension } from '../../../../stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js';
|
|
81
76
|
import { DatabaseBuilder } from './DatabaseBuilder.js';
|
|
82
77
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
83
78
|
import {
|
|
@@ -86,7 +81,7 @@ import {
|
|
|
86
81
|
type PackageableElementOption,
|
|
87
82
|
} from '@finos/legend-application';
|
|
88
83
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
89
|
-
import { connection_setStore } from '../../../../stores/graphModifier/
|
|
84
|
+
import { connection_setStore } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
90
85
|
import {
|
|
91
86
|
apiTokenAuthenticationStrategy_setApiToken,
|
|
92
87
|
bigQueryDatasourceSpecification_setDefaultDataset,
|
|
@@ -138,87 +133,36 @@ import {
|
|
|
138
133
|
middleTierUsernamePasswordAuthenticationStrategy_setVaultReference,
|
|
139
134
|
relationalDatabaseConnection_addPostProcessor,
|
|
140
135
|
relationalDatabaseConnection_deletePostProcessor,
|
|
141
|
-
} from '../../../../stores/graphModifier/
|
|
136
|
+
} from '../../../../stores/graphModifier/STO_Relational_GraphModifierHelper.js';
|
|
142
137
|
import { MapperPostProcessorEditor } from './post-processor-editor/MapperPostProcessorEditor.js';
|
|
143
138
|
import { UnsupportedEditorPanel } from '../UnsupportedElementEditor.js';
|
|
144
139
|
import type { MapperPostProcessorEditorState } from '../../../../stores/editor-state/element-editor-state/connection/PostProcessorEditorState.js';
|
|
145
140
|
|
|
146
|
-
|
|
147
|
-
* NOTE: this is a WIP we did to quickly assemble a modular UI for relational database connection editor
|
|
148
|
-
* This is subjected to change and review, especially in terms in UX.
|
|
149
|
-
*/
|
|
150
|
-
|
|
151
|
-
// TODO: consider to move this to shared
|
|
152
|
-
export const ConnectionEditor_BooleanEditor = observer(
|
|
153
|
-
(props: {
|
|
154
|
-
name: string;
|
|
155
|
-
description?: string;
|
|
156
|
-
value: boolean | undefined;
|
|
157
|
-
isReadOnly: boolean;
|
|
158
|
-
update: (value: boolean | undefined) => void;
|
|
159
|
-
}) => {
|
|
160
|
-
const { value, name, description, isReadOnly, update } = props;
|
|
161
|
-
const toggle = (): void => {
|
|
162
|
-
if (!isReadOnly) {
|
|
163
|
-
update(!value);
|
|
164
|
-
}
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
return (
|
|
168
|
-
<div className="panel__content__form__section">
|
|
169
|
-
<div className="panel__content__form__section__header__label">
|
|
170
|
-
{capitalize(name)}
|
|
171
|
-
</div>
|
|
172
|
-
<div
|
|
173
|
-
className={clsx('panel__content__form__section__toggler', {
|
|
174
|
-
'panel__content__form__section__toggler--disabled': isReadOnly,
|
|
175
|
-
})}
|
|
176
|
-
onClick={toggle}
|
|
177
|
-
>
|
|
178
|
-
<button
|
|
179
|
-
className={clsx('panel__content__form__section__toggler__btn', {
|
|
180
|
-
'panel__content__form__section__toggler__btn--toggled': value,
|
|
181
|
-
})}
|
|
182
|
-
disabled={isReadOnly}
|
|
183
|
-
tabIndex={-1}
|
|
184
|
-
>
|
|
185
|
-
{value ? <CheckSquareIcon /> : <SquareIcon />}
|
|
186
|
-
</button>
|
|
187
|
-
<div className="panel__content__form__section__toggler__prompt">
|
|
188
|
-
{description}
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
192
|
-
);
|
|
193
|
-
},
|
|
194
|
-
);
|
|
195
|
-
|
|
196
|
-
// TODO: consider to move this to shared
|
|
197
|
-
export const ConnectionEditor_TextEditor = observer(
|
|
141
|
+
const LocalH2DatasourceSpecificationEditor = observer(
|
|
198
142
|
(props: {
|
|
199
|
-
|
|
200
|
-
description?: string;
|
|
201
|
-
value: string | undefined;
|
|
143
|
+
sourceSpec: LocalH2DatasourceSpecification;
|
|
202
144
|
isReadOnly: boolean;
|
|
203
|
-
language: EDITOR_LANGUAGE;
|
|
204
|
-
update: (value: string | undefined) => void;
|
|
205
145
|
}) => {
|
|
206
|
-
const {
|
|
146
|
+
const { sourceSpec, isReadOnly } = props;
|
|
147
|
+
// TODO?: support CSV and toggler to go to CSV mode
|
|
148
|
+
const SQLValue = sourceSpec.testDataSetupSqls.join('\n');
|
|
207
149
|
|
|
208
150
|
return (
|
|
209
151
|
<div className="panel__content__form__section">
|
|
210
152
|
<div className="panel__content__form__section__header__label">
|
|
211
|
-
{capitalize(
|
|
212
|
-
</div>
|
|
213
|
-
<div className="panel__content__form__section__header__prompt">
|
|
214
|
-
{description}
|
|
153
|
+
{capitalize('test data setup SQL')}
|
|
215
154
|
</div>
|
|
216
155
|
<div className="panel__content__form__section__text-editor">
|
|
217
156
|
<StudioTextInputEditor
|
|
218
|
-
inputValue={
|
|
219
|
-
updateInput={
|
|
157
|
+
inputValue={SQLValue}
|
|
158
|
+
updateInput={(value: string | undefined): void =>
|
|
159
|
+
localH2DatasourceSpecification_setTestDataSetupSqls(
|
|
160
|
+
sourceSpec,
|
|
161
|
+
value ? [value] : [],
|
|
162
|
+
)
|
|
163
|
+
}
|
|
220
164
|
isReadOnly={isReadOnly}
|
|
221
|
-
language={
|
|
165
|
+
language={EDITOR_LANGUAGE.SQL}
|
|
222
166
|
/>
|
|
223
167
|
</div>
|
|
224
168
|
</div>
|
|
@@ -226,216 +170,6 @@ export const ConnectionEditor_TextEditor = observer(
|
|
|
226
170
|
},
|
|
227
171
|
);
|
|
228
172
|
|
|
229
|
-
// TODO: consider to move this to shared
|
|
230
|
-
export const ConnectionEditor_ArrayEditor = observer(
|
|
231
|
-
(props: {
|
|
232
|
-
name: string;
|
|
233
|
-
description?: string;
|
|
234
|
-
values: string[];
|
|
235
|
-
isReadOnly: boolean;
|
|
236
|
-
update: (updatedValues: string[]) => void;
|
|
237
|
-
}) => {
|
|
238
|
-
const { name, description, values, isReadOnly, update } = props;
|
|
239
|
-
const arrayValues = values;
|
|
240
|
-
// NOTE: `showEditInput` is either boolean (to hide/show the add value button) or a number (index of the item being edited)
|
|
241
|
-
const [showEditInput, setShowEditInput] = useState<boolean | number>(false);
|
|
242
|
-
const [itemValue, setItemValue] = useState<string>('');
|
|
243
|
-
const showAddItemInput = (): void => setShowEditInput(true);
|
|
244
|
-
const showEditItemInput =
|
|
245
|
-
(value: string, idx: number): (() => void) =>
|
|
246
|
-
(): void => {
|
|
247
|
-
setItemValue(value);
|
|
248
|
-
setShowEditInput(idx);
|
|
249
|
-
};
|
|
250
|
-
const hideAddOrEditItemInput = (): void => {
|
|
251
|
-
setShowEditInput(false);
|
|
252
|
-
setItemValue('');
|
|
253
|
-
};
|
|
254
|
-
const changeItemInputValue: React.ChangeEventHandler<HTMLInputElement> = (
|
|
255
|
-
event,
|
|
256
|
-
) => setItemValue(event.target.value);
|
|
257
|
-
const addValue = (): void => {
|
|
258
|
-
if (itemValue && !isReadOnly && !arrayValues.includes(itemValue)) {
|
|
259
|
-
update(arrayValues.concat([itemValue]));
|
|
260
|
-
}
|
|
261
|
-
hideAddOrEditItemInput();
|
|
262
|
-
};
|
|
263
|
-
const updateValue =
|
|
264
|
-
(idx: number): (() => void) =>
|
|
265
|
-
(): void => {
|
|
266
|
-
if (itemValue && !isReadOnly && !arrayValues.includes(itemValue)) {
|
|
267
|
-
runInAction(() => {
|
|
268
|
-
arrayValues[idx] = itemValue;
|
|
269
|
-
});
|
|
270
|
-
update(arrayValues);
|
|
271
|
-
}
|
|
272
|
-
hideAddOrEditItemInput();
|
|
273
|
-
};
|
|
274
|
-
const deleteValue =
|
|
275
|
-
(idx: number): (() => void) =>
|
|
276
|
-
(): void => {
|
|
277
|
-
if (!isReadOnly) {
|
|
278
|
-
runInAction(() => arrayValues.splice(idx, 1));
|
|
279
|
-
update(arrayValues);
|
|
280
|
-
// Since we keep track of the value currently being edited using the index, we have to account for it as we delete entry
|
|
281
|
-
if (typeof showEditInput === 'number' && showEditInput > idx) {
|
|
282
|
-
setShowEditInput(showEditInput - 1);
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
};
|
|
286
|
-
|
|
287
|
-
return (
|
|
288
|
-
<div className="panel__content__form__section">
|
|
289
|
-
<div className="panel__content__form__section__header__label">
|
|
290
|
-
{capitalize(name)}
|
|
291
|
-
</div>
|
|
292
|
-
<div className="panel__content__form__section__header__prompt">
|
|
293
|
-
{description}
|
|
294
|
-
</div>
|
|
295
|
-
<div className="panel__content__form__section__list">
|
|
296
|
-
<div className="panel__content__form__section__list__items">
|
|
297
|
-
{arrayValues.map((value, idx) => (
|
|
298
|
-
// NOTE: since the value must be unique, we will use it as the key
|
|
299
|
-
<div
|
|
300
|
-
key={value}
|
|
301
|
-
className={
|
|
302
|
-
showEditInput === idx
|
|
303
|
-
? 'panel__content__form__section__list__new-item'
|
|
304
|
-
: 'panel__content__form__section__list__item'
|
|
305
|
-
}
|
|
306
|
-
>
|
|
307
|
-
{showEditInput === idx ? (
|
|
308
|
-
<>
|
|
309
|
-
<input
|
|
310
|
-
className="panel__content__form__section__input panel__content__form__section__list__new-item__input"
|
|
311
|
-
spellCheck={false}
|
|
312
|
-
disabled={isReadOnly}
|
|
313
|
-
value={itemValue}
|
|
314
|
-
onChange={changeItemInputValue}
|
|
315
|
-
/>
|
|
316
|
-
<div className="panel__content__form__section__list__new-item__actions">
|
|
317
|
-
<button
|
|
318
|
-
className="panel__content__form__section__list__new-item__add-btn btn btn--dark"
|
|
319
|
-
disabled={isReadOnly || arrayValues.includes(itemValue)}
|
|
320
|
-
onClick={updateValue(idx)}
|
|
321
|
-
tabIndex={-1}
|
|
322
|
-
>
|
|
323
|
-
Save
|
|
324
|
-
</button>
|
|
325
|
-
<button
|
|
326
|
-
className="panel__content__form__section__list__new-item__cancel-btn btn btn--dark"
|
|
327
|
-
disabled={isReadOnly}
|
|
328
|
-
onClick={hideAddOrEditItemInput}
|
|
329
|
-
tabIndex={-1}
|
|
330
|
-
>
|
|
331
|
-
Cancel
|
|
332
|
-
</button>
|
|
333
|
-
</div>
|
|
334
|
-
</>
|
|
335
|
-
) : (
|
|
336
|
-
<>
|
|
337
|
-
<div className="panel__content__form__section__list__item__value">
|
|
338
|
-
{value}
|
|
339
|
-
</div>
|
|
340
|
-
<div className="panel__content__form__section__list__item__actions">
|
|
341
|
-
<button
|
|
342
|
-
className="panel__content__form__section__list__item__edit-btn"
|
|
343
|
-
disabled={isReadOnly}
|
|
344
|
-
onClick={showEditItemInput(value, idx)}
|
|
345
|
-
tabIndex={-1}
|
|
346
|
-
>
|
|
347
|
-
<PencilIcon />
|
|
348
|
-
</button>
|
|
349
|
-
<button
|
|
350
|
-
className="panel__content__form__section__list__item__remove-btn"
|
|
351
|
-
disabled={isReadOnly}
|
|
352
|
-
onClick={deleteValue(idx)}
|
|
353
|
-
tabIndex={-1}
|
|
354
|
-
>
|
|
355
|
-
<TimesIcon />
|
|
356
|
-
</button>
|
|
357
|
-
</div>
|
|
358
|
-
</>
|
|
359
|
-
)}
|
|
360
|
-
</div>
|
|
361
|
-
))}
|
|
362
|
-
{/* ADD NEW VALUE */}
|
|
363
|
-
{showEditInput === true && (
|
|
364
|
-
<div className="panel__content__form__section__list__new-item">
|
|
365
|
-
<input
|
|
366
|
-
className="panel__content__form__section__input panel__content__form__section__list__new-item__input"
|
|
367
|
-
spellCheck={false}
|
|
368
|
-
disabled={isReadOnly}
|
|
369
|
-
value={itemValue}
|
|
370
|
-
onChange={changeItemInputValue}
|
|
371
|
-
/>
|
|
372
|
-
<div className="panel__content__form__section__list__new-item__actions">
|
|
373
|
-
<button
|
|
374
|
-
className="panel__content__form__section__list__new-item__add-btn btn btn--dark"
|
|
375
|
-
disabled={isReadOnly || arrayValues.includes(itemValue)}
|
|
376
|
-
onClick={addValue}
|
|
377
|
-
tabIndex={-1}
|
|
378
|
-
>
|
|
379
|
-
Save
|
|
380
|
-
</button>
|
|
381
|
-
<button
|
|
382
|
-
className="panel__content__form__section__list__new-item__cancel-btn btn btn--dark"
|
|
383
|
-
disabled={isReadOnly}
|
|
384
|
-
onClick={hideAddOrEditItemInput}
|
|
385
|
-
tabIndex={-1}
|
|
386
|
-
>
|
|
387
|
-
Cancel
|
|
388
|
-
</button>
|
|
389
|
-
</div>
|
|
390
|
-
</div>
|
|
391
|
-
)}
|
|
392
|
-
</div>
|
|
393
|
-
{showEditInput !== true && (
|
|
394
|
-
<div className="panel__content__form__section__list__new-item__add">
|
|
395
|
-
<button
|
|
396
|
-
className="panel__content__form__section__list__new-item__add-btn btn btn--dark"
|
|
397
|
-
disabled={isReadOnly}
|
|
398
|
-
onClick={showAddItemInput}
|
|
399
|
-
tabIndex={-1}
|
|
400
|
-
>
|
|
401
|
-
Add Value
|
|
402
|
-
</button>
|
|
403
|
-
</div>
|
|
404
|
-
)}
|
|
405
|
-
</div>
|
|
406
|
-
</div>
|
|
407
|
-
);
|
|
408
|
-
},
|
|
409
|
-
);
|
|
410
|
-
|
|
411
|
-
const LocalH2DatasourceSpecificationEditor = observer(
|
|
412
|
-
(props: {
|
|
413
|
-
sourceSpec: LocalH2DatasourceSpecification;
|
|
414
|
-
isReadOnly: boolean;
|
|
415
|
-
}) => {
|
|
416
|
-
const { sourceSpec, isReadOnly } = props;
|
|
417
|
-
const SQLValue = sourceSpec.testDataSetupSqls.join('\n');
|
|
418
|
-
// TODO: support CSV and toggler to go to CSV mode
|
|
419
|
-
return (
|
|
420
|
-
<>
|
|
421
|
-
<ConnectionEditor_TextEditor
|
|
422
|
-
isReadOnly={isReadOnly}
|
|
423
|
-
value={SQLValue}
|
|
424
|
-
name={'test data setup SQL'}
|
|
425
|
-
language={EDITOR_LANGUAGE.SQL}
|
|
426
|
-
update={(value: string | undefined): void =>
|
|
427
|
-
localH2DatasourceSpecification_setTestDataSetupSqls(
|
|
428
|
-
sourceSpec,
|
|
429
|
-
value ? [value] : [],
|
|
430
|
-
)
|
|
431
|
-
}
|
|
432
|
-
/>
|
|
433
|
-
</>
|
|
434
|
-
);
|
|
435
|
-
},
|
|
436
|
-
);
|
|
437
|
-
|
|
438
|
-
//data source
|
|
439
173
|
const StaticDatasourceSpecificationEditor = observer(
|
|
440
174
|
(props: {
|
|
441
175
|
sourceSpec: StaticDatasourceSpecification;
|
|
@@ -448,8 +182,8 @@ const StaticDatasourceSpecificationEditor = observer(
|
|
|
448
182
|
};
|
|
449
183
|
|
|
450
184
|
return (
|
|
451
|
-
|
|
452
|
-
<
|
|
185
|
+
<PanelSection>
|
|
186
|
+
<PanelFormTextEditor
|
|
453
187
|
isReadOnly={isReadOnly}
|
|
454
188
|
value={sourceSpec.host}
|
|
455
189
|
name={'host'}
|
|
@@ -457,20 +191,16 @@ const StaticDatasourceSpecificationEditor = observer(
|
|
|
457
191
|
staticDatasourceSpecification_setHost(sourceSpec, value ?? '')
|
|
458
192
|
}
|
|
459
193
|
/>
|
|
460
|
-
<div className="
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
onChange={changePort}
|
|
471
|
-
/>
|
|
472
|
-
</div>
|
|
473
|
-
<PanelTextEditor
|
|
194
|
+
<div className="panel__content__form__section__header__label">port</div>
|
|
195
|
+
<input
|
|
196
|
+
className="panel__content__form__section__input panel__content__form__section__number-input"
|
|
197
|
+
spellCheck={false}
|
|
198
|
+
type="number"
|
|
199
|
+
disabled={isReadOnly}
|
|
200
|
+
value={sourceSpec.port}
|
|
201
|
+
onChange={changePort}
|
|
202
|
+
/>
|
|
203
|
+
<PanelFormTextEditor
|
|
474
204
|
isReadOnly={isReadOnly}
|
|
475
205
|
value={sourceSpec.databaseName}
|
|
476
206
|
name={'database'}
|
|
@@ -481,7 +211,7 @@ const StaticDatasourceSpecificationEditor = observer(
|
|
|
481
211
|
)
|
|
482
212
|
}
|
|
483
213
|
/>
|
|
484
|
-
|
|
214
|
+
</PanelSection>
|
|
485
215
|
);
|
|
486
216
|
},
|
|
487
217
|
);
|
|
@@ -493,8 +223,8 @@ const EmbeddedH2DatasourceSpecificationEditor = observer(
|
|
|
493
223
|
}) => {
|
|
494
224
|
const { sourceSpec, isReadOnly } = props;
|
|
495
225
|
return (
|
|
496
|
-
|
|
497
|
-
<
|
|
226
|
+
<PanelSection>
|
|
227
|
+
<PanelFormTextEditor
|
|
498
228
|
isReadOnly={isReadOnly}
|
|
499
229
|
value={sourceSpec.databaseName}
|
|
500
230
|
name={'database'}
|
|
@@ -505,7 +235,7 @@ const EmbeddedH2DatasourceSpecificationEditor = observer(
|
|
|
505
235
|
)
|
|
506
236
|
}
|
|
507
237
|
/>
|
|
508
|
-
<
|
|
238
|
+
<PanelFormTextEditor
|
|
509
239
|
isReadOnly={isReadOnly}
|
|
510
240
|
value={sourceSpec.directory}
|
|
511
241
|
name={'directory'}
|
|
@@ -516,7 +246,7 @@ const EmbeddedH2DatasourceSpecificationEditor = observer(
|
|
|
516
246
|
)
|
|
517
247
|
}
|
|
518
248
|
/>
|
|
519
|
-
<
|
|
249
|
+
<PanelFormBooleanEditor
|
|
520
250
|
isReadOnly={isReadOnly}
|
|
521
251
|
value={sourceSpec.autoServerMode}
|
|
522
252
|
name={'auto server mode'}
|
|
@@ -527,7 +257,7 @@ const EmbeddedH2DatasourceSpecificationEditor = observer(
|
|
|
527
257
|
)
|
|
528
258
|
}
|
|
529
259
|
/>
|
|
530
|
-
|
|
260
|
+
</PanelSection>
|
|
531
261
|
);
|
|
532
262
|
},
|
|
533
263
|
);
|
|
@@ -539,8 +269,8 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
539
269
|
}) => {
|
|
540
270
|
const { sourceSpec, isReadOnly } = props;
|
|
541
271
|
return (
|
|
542
|
-
|
|
543
|
-
<
|
|
272
|
+
<PanelSection>
|
|
273
|
+
<PanelFormTextEditor
|
|
544
274
|
isReadOnly={isReadOnly}
|
|
545
275
|
value={sourceSpec.hostname}
|
|
546
276
|
name="hostname"
|
|
@@ -551,7 +281,7 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
551
281
|
)
|
|
552
282
|
}
|
|
553
283
|
/>
|
|
554
|
-
<
|
|
284
|
+
<PanelFormTextEditor
|
|
555
285
|
isReadOnly={isReadOnly}
|
|
556
286
|
value={sourceSpec.port}
|
|
557
287
|
name="port"
|
|
@@ -559,7 +289,7 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
559
289
|
databricksDatasourceSpecification_setPort(sourceSpec, value ?? '')
|
|
560
290
|
}
|
|
561
291
|
/>
|
|
562
|
-
<
|
|
292
|
+
<PanelFormTextEditor
|
|
563
293
|
isReadOnly={isReadOnly}
|
|
564
294
|
value={sourceSpec.protocol}
|
|
565
295
|
name="protocol"
|
|
@@ -570,7 +300,7 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
570
300
|
)
|
|
571
301
|
}
|
|
572
302
|
/>
|
|
573
|
-
<
|
|
303
|
+
<PanelFormTextEditor
|
|
574
304
|
isReadOnly={isReadOnly}
|
|
575
305
|
value={sourceSpec.httpPath}
|
|
576
306
|
name="httpPath"
|
|
@@ -581,7 +311,7 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
581
311
|
)
|
|
582
312
|
}
|
|
583
313
|
/>
|
|
584
|
-
|
|
314
|
+
</PanelSection>
|
|
585
315
|
);
|
|
586
316
|
},
|
|
587
317
|
);
|
|
@@ -593,8 +323,8 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
593
323
|
}) => {
|
|
594
324
|
const { sourceSpec, isReadOnly } = props;
|
|
595
325
|
return (
|
|
596
|
-
|
|
597
|
-
<
|
|
326
|
+
<PanelSection>
|
|
327
|
+
<PanelFormTextEditor
|
|
598
328
|
isReadOnly={isReadOnly}
|
|
599
329
|
value={sourceSpec.accountName}
|
|
600
330
|
name="account"
|
|
@@ -602,7 +332,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
602
332
|
snowflakeDatasourceSpec_setAccountName(sourceSpec, value ?? '')
|
|
603
333
|
}
|
|
604
334
|
/>
|
|
605
|
-
<
|
|
335
|
+
<PanelFormTextEditor
|
|
606
336
|
isReadOnly={isReadOnly}
|
|
607
337
|
value={sourceSpec.region}
|
|
608
338
|
name="region"
|
|
@@ -610,7 +340,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
610
340
|
snowflakeDatasourceSpec_setRegion(sourceSpec, value ?? '')
|
|
611
341
|
}
|
|
612
342
|
/>
|
|
613
|
-
<
|
|
343
|
+
<PanelFormTextEditor
|
|
614
344
|
isReadOnly={isReadOnly}
|
|
615
345
|
value={sourceSpec.warehouseName}
|
|
616
346
|
name="warehouse"
|
|
@@ -618,7 +348,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
618
348
|
snowflakeDatasourceSpec_setWarehouseName(sourceSpec, value ?? '')
|
|
619
349
|
}
|
|
620
350
|
/>
|
|
621
|
-
<
|
|
351
|
+
<PanelFormTextEditor
|
|
622
352
|
isReadOnly={isReadOnly}
|
|
623
353
|
value={sourceSpec.databaseName}
|
|
624
354
|
name="database"
|
|
@@ -626,7 +356,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
626
356
|
snowflakeDatasourceSpec_setDatabaseName(sourceSpec, value ?? '')
|
|
627
357
|
}
|
|
628
358
|
/>
|
|
629
|
-
<
|
|
359
|
+
<PanelFormTextEditor
|
|
630
360
|
isReadOnly={isReadOnly}
|
|
631
361
|
value={sourceSpec.cloudType}
|
|
632
362
|
name="cloud type"
|
|
@@ -634,7 +364,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
634
364
|
snowflakeDatasourceSpec_setCloudType(sourceSpec, value)
|
|
635
365
|
}
|
|
636
366
|
/>
|
|
637
|
-
<
|
|
367
|
+
<PanelFormTextEditor
|
|
638
368
|
isReadOnly={isReadOnly}
|
|
639
369
|
value={sourceSpec.proxyHost}
|
|
640
370
|
name="proxy host"
|
|
@@ -642,7 +372,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
642
372
|
snowflakeDatasourceSpec_setProxyHost(sourceSpec, value)
|
|
643
373
|
}
|
|
644
374
|
/>
|
|
645
|
-
<
|
|
375
|
+
<PanelFormTextEditor
|
|
646
376
|
isReadOnly={isReadOnly}
|
|
647
377
|
value={sourceSpec.proxyPort}
|
|
648
378
|
name="proxy port"
|
|
@@ -650,7 +380,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
650
380
|
snowflakeDatasourceSpec_setProxyPort(sourceSpec, value)
|
|
651
381
|
}
|
|
652
382
|
/>
|
|
653
|
-
<
|
|
383
|
+
<PanelFormTextEditor
|
|
654
384
|
isReadOnly={isReadOnly}
|
|
655
385
|
value={sourceSpec.nonProxyHosts}
|
|
656
386
|
name="non proxy hosts"
|
|
@@ -658,7 +388,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
658
388
|
snowflakeDatasourceSpec_setNonProxyHosts(sourceSpec, value)
|
|
659
389
|
}
|
|
660
390
|
/>
|
|
661
|
-
<
|
|
391
|
+
<PanelFormTextEditor
|
|
662
392
|
isReadOnly={isReadOnly}
|
|
663
393
|
value={sourceSpec.organization}
|
|
664
394
|
name="organization"
|
|
@@ -666,7 +396,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
666
396
|
snowflakeDatasourceSpec_setOrganization(sourceSpec, value)
|
|
667
397
|
}
|
|
668
398
|
/>
|
|
669
|
-
<
|
|
399
|
+
<PanelFormTextEditor
|
|
670
400
|
isReadOnly={isReadOnly}
|
|
671
401
|
value={sourceSpec.accountType}
|
|
672
402
|
name="account type"
|
|
@@ -674,7 +404,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
674
404
|
snowflakeDatasourceSpec_setAccountType(sourceSpec, value)
|
|
675
405
|
}
|
|
676
406
|
/>
|
|
677
|
-
<
|
|
407
|
+
<PanelFormTextEditor
|
|
678
408
|
isReadOnly={isReadOnly}
|
|
679
409
|
value={sourceSpec.role}
|
|
680
410
|
name="role"
|
|
@@ -683,7 +413,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
683
413
|
}
|
|
684
414
|
/>
|
|
685
415
|
{/* TODO: we should reconsider adding this field, it's an optional boolean, should we default it to `undefined` when it's `false`?*/}
|
|
686
|
-
<
|
|
416
|
+
<PanelFormBooleanEditor
|
|
687
417
|
isReadOnly={isReadOnly}
|
|
688
418
|
value={sourceSpec.quotedIdentifiersIgnoreCase}
|
|
689
419
|
name="quoted identifiers ignore case"
|
|
@@ -695,7 +425,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
695
425
|
)
|
|
696
426
|
}
|
|
697
427
|
/>
|
|
698
|
-
|
|
428
|
+
</PanelSection>
|
|
699
429
|
);
|
|
700
430
|
},
|
|
701
431
|
);
|
|
@@ -711,8 +441,8 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
711
441
|
redshiftDatasourceSpecification_setPort(sourceSpec, parseInt(val, 10));
|
|
712
442
|
};
|
|
713
443
|
return (
|
|
714
|
-
|
|
715
|
-
<
|
|
444
|
+
<PanelSection>
|
|
445
|
+
<PanelFormTextEditor
|
|
716
446
|
isReadOnly={isReadOnly}
|
|
717
447
|
value={sourceSpec.host}
|
|
718
448
|
name="host"
|
|
@@ -733,7 +463,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
733
463
|
onChange={changePort}
|
|
734
464
|
/>
|
|
735
465
|
</div>
|
|
736
|
-
<
|
|
466
|
+
<PanelFormTextEditor
|
|
737
467
|
isReadOnly={isReadOnly}
|
|
738
468
|
value={sourceSpec.databaseName}
|
|
739
469
|
name="database"
|
|
@@ -745,7 +475,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
745
475
|
}
|
|
746
476
|
/>
|
|
747
477
|
|
|
748
|
-
<
|
|
478
|
+
<PanelFormTextEditor
|
|
749
479
|
isReadOnly={isReadOnly}
|
|
750
480
|
value={sourceSpec.region}
|
|
751
481
|
name="region"
|
|
@@ -753,7 +483,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
753
483
|
redshiftDatasourceSpecification_setRegion(sourceSpec, value ?? '')
|
|
754
484
|
}
|
|
755
485
|
/>
|
|
756
|
-
<
|
|
486
|
+
<PanelFormTextEditor
|
|
757
487
|
isReadOnly={isReadOnly}
|
|
758
488
|
value={sourceSpec.clusterID}
|
|
759
489
|
name="cluster"
|
|
@@ -764,7 +494,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
764
494
|
)
|
|
765
495
|
}
|
|
766
496
|
/>
|
|
767
|
-
<
|
|
497
|
+
<PanelFormTextEditor
|
|
768
498
|
isReadOnly={isReadOnly}
|
|
769
499
|
value={sourceSpec.endpointURL}
|
|
770
500
|
name="endpointURL"
|
|
@@ -775,7 +505,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
775
505
|
)
|
|
776
506
|
}
|
|
777
507
|
/>
|
|
778
|
-
|
|
508
|
+
</PanelSection>
|
|
779
509
|
);
|
|
780
510
|
},
|
|
781
511
|
);
|
|
@@ -787,8 +517,8 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
787
517
|
}) => {
|
|
788
518
|
const { sourceSpec, isReadOnly } = props;
|
|
789
519
|
return (
|
|
790
|
-
|
|
791
|
-
<
|
|
520
|
+
<PanelSection>
|
|
521
|
+
<PanelFormTextEditor
|
|
792
522
|
isReadOnly={isReadOnly}
|
|
793
523
|
value={sourceSpec.projectId}
|
|
794
524
|
name={'project id'}
|
|
@@ -799,7 +529,7 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
799
529
|
)
|
|
800
530
|
}
|
|
801
531
|
/>
|
|
802
|
-
<
|
|
532
|
+
<PanelFormTextEditor
|
|
803
533
|
isReadOnly={isReadOnly}
|
|
804
534
|
value={sourceSpec.defaultDataset}
|
|
805
535
|
name={'default dataset'}
|
|
@@ -810,7 +540,7 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
810
540
|
)
|
|
811
541
|
}
|
|
812
542
|
/>
|
|
813
|
-
<
|
|
543
|
+
<PanelFormTextEditor
|
|
814
544
|
isReadOnly={isReadOnly}
|
|
815
545
|
value={sourceSpec.proxyHost}
|
|
816
546
|
name="proxy host"
|
|
@@ -822,7 +552,7 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
822
552
|
)
|
|
823
553
|
}
|
|
824
554
|
/>
|
|
825
|
-
<
|
|
555
|
+
<PanelFormTextEditor
|
|
826
556
|
isReadOnly={isReadOnly}
|
|
827
557
|
value={sourceSpec.proxyPort}
|
|
828
558
|
name="proxy port"
|
|
@@ -834,7 +564,7 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
834
564
|
)
|
|
835
565
|
}
|
|
836
566
|
/>
|
|
837
|
-
|
|
567
|
+
</PanelSection>
|
|
838
568
|
);
|
|
839
569
|
},
|
|
840
570
|
);
|
|
@@ -849,7 +579,7 @@ const DelegatedKerberosAuthenticationStrategyEditor = observer(
|
|
|
849
579
|
const { authSpec, isReadOnly } = props;
|
|
850
580
|
return (
|
|
851
581
|
<>
|
|
852
|
-
<
|
|
582
|
+
<PanelFormTextEditor
|
|
853
583
|
isReadOnly={isReadOnly}
|
|
854
584
|
value={authSpec.serverPrincipal}
|
|
855
585
|
name={'server principal'}
|
|
@@ -873,7 +603,7 @@ const ApiTokenAuthenticationStrategyEditor = observer(
|
|
|
873
603
|
const { authSpec, isReadOnly } = props;
|
|
874
604
|
return (
|
|
875
605
|
<>
|
|
876
|
-
<
|
|
606
|
+
<PanelFormTextEditor
|
|
877
607
|
isReadOnly={isReadOnly}
|
|
878
608
|
value={authSpec.apiToken}
|
|
879
609
|
name={'apiTokenRef'}
|
|
@@ -893,8 +623,8 @@ const SnowflakePublicAuthenticationStrategyEditor = observer(
|
|
|
893
623
|
}) => {
|
|
894
624
|
const { authSpec, isReadOnly } = props;
|
|
895
625
|
return (
|
|
896
|
-
|
|
897
|
-
<
|
|
626
|
+
<PanelSection>
|
|
627
|
+
<PanelFormTextEditor
|
|
898
628
|
isReadOnly={isReadOnly}
|
|
899
629
|
value={authSpec.privateKeyVaultReference}
|
|
900
630
|
name={'private key vault reference'}
|
|
@@ -905,7 +635,7 @@ const SnowflakePublicAuthenticationStrategyEditor = observer(
|
|
|
905
635
|
)
|
|
906
636
|
}
|
|
907
637
|
/>
|
|
908
|
-
<
|
|
638
|
+
<PanelFormTextEditor
|
|
909
639
|
isReadOnly={isReadOnly}
|
|
910
640
|
value={authSpec.passPhraseVaultReference}
|
|
911
641
|
name={'pass phrase vault reference'}
|
|
@@ -916,7 +646,7 @@ const SnowflakePublicAuthenticationStrategyEditor = observer(
|
|
|
916
646
|
)
|
|
917
647
|
}
|
|
918
648
|
/>
|
|
919
|
-
<
|
|
649
|
+
<PanelFormTextEditor
|
|
920
650
|
isReadOnly={isReadOnly}
|
|
921
651
|
value={authSpec.publicUserName}
|
|
922
652
|
name={'public user name'}
|
|
@@ -927,7 +657,7 @@ const SnowflakePublicAuthenticationStrategyEditor = observer(
|
|
|
927
657
|
)
|
|
928
658
|
}
|
|
929
659
|
/>
|
|
930
|
-
|
|
660
|
+
</PanelSection>
|
|
931
661
|
);
|
|
932
662
|
},
|
|
933
663
|
);
|
|
@@ -937,7 +667,7 @@ const OAuthAuthenticationStrategyEditor = observer(
|
|
|
937
667
|
const { authSpec, isReadOnly } = props;
|
|
938
668
|
return (
|
|
939
669
|
<>
|
|
940
|
-
<
|
|
670
|
+
<PanelFormTextEditor
|
|
941
671
|
isReadOnly={isReadOnly}
|
|
942
672
|
value={authSpec.oauthKey}
|
|
943
673
|
name={'oauth key'}
|
|
@@ -945,7 +675,7 @@ const OAuthAuthenticationStrategyEditor = observer(
|
|
|
945
675
|
oAuthAuthenticationStrategy_setOauthKey(authSpec, value ?? '')
|
|
946
676
|
}
|
|
947
677
|
/>
|
|
948
|
-
<
|
|
678
|
+
<PanelFormTextEditor
|
|
949
679
|
isReadOnly={isReadOnly}
|
|
950
680
|
value={authSpec.scopeName}
|
|
951
681
|
name={'scope name'}
|
|
@@ -966,7 +696,7 @@ const UsernamePasswordAuthenticationStrategyEditor = observer(
|
|
|
966
696
|
const { authSpec, isReadOnly } = props;
|
|
967
697
|
return (
|
|
968
698
|
<>
|
|
969
|
-
<
|
|
699
|
+
<PanelFormTextEditor
|
|
970
700
|
isReadOnly={isReadOnly}
|
|
971
701
|
value={authSpec.baseVaultReference}
|
|
972
702
|
name={'base vault reference'}
|
|
@@ -977,7 +707,7 @@ const UsernamePasswordAuthenticationStrategyEditor = observer(
|
|
|
977
707
|
)
|
|
978
708
|
}
|
|
979
709
|
/>
|
|
980
|
-
<
|
|
710
|
+
<PanelFormTextEditor
|
|
981
711
|
isReadOnly={isReadOnly}
|
|
982
712
|
value={authSpec.userNameVaultReference}
|
|
983
713
|
name={'user name vault reference'}
|
|
@@ -988,7 +718,7 @@ const UsernamePasswordAuthenticationStrategyEditor = observer(
|
|
|
988
718
|
)
|
|
989
719
|
}
|
|
990
720
|
/>
|
|
991
|
-
<
|
|
721
|
+
<PanelFormTextEditor
|
|
992
722
|
isReadOnly={isReadOnly}
|
|
993
723
|
value={authSpec.passwordVaultReference}
|
|
994
724
|
name={'password vault reference'}
|
|
@@ -1012,7 +742,7 @@ const MiddleTierUsernamePasswordAuthenticationStrategyEditor = observer(
|
|
|
1012
742
|
const { authSpec, isReadOnly } = props;
|
|
1013
743
|
return (
|
|
1014
744
|
<>
|
|
1015
|
-
<
|
|
745
|
+
<PanelFormTextEditor
|
|
1016
746
|
isReadOnly={isReadOnly}
|
|
1017
747
|
value={authSpec.vaultReference}
|
|
1018
748
|
name={'vault reference'}
|
|
@@ -1038,7 +768,7 @@ const GCPWorkloadIdentityFederationAuthenticationStrategyEditor = observer(
|
|
|
1038
768
|
const GCPScopes = authSpec.additionalGcpScopes.join('\n');
|
|
1039
769
|
return (
|
|
1040
770
|
<>
|
|
1041
|
-
<
|
|
771
|
+
<PanelFormTextEditor
|
|
1042
772
|
isReadOnly={isReadOnly}
|
|
1043
773
|
value={authSpec.serviceAccountEmail}
|
|
1044
774
|
name={'Service Account Email'}
|
|
@@ -1049,7 +779,7 @@ const GCPWorkloadIdentityFederationAuthenticationStrategyEditor = observer(
|
|
|
1049
779
|
)
|
|
1050
780
|
}
|
|
1051
781
|
/>
|
|
1052
|
-
<
|
|
782
|
+
<PanelFormTextEditor
|
|
1053
783
|
isReadOnly={isReadOnly}
|
|
1054
784
|
value={GCPScopes}
|
|
1055
785
|
name={'Additional GCP Scopes'}
|
|
@@ -1159,7 +889,7 @@ const renderEditorPostProcessor = (
|
|
|
1159
889
|
const extraPostProcessorEditorRenderers = plugins.flatMap(
|
|
1160
890
|
(plugin) =>
|
|
1161
891
|
(
|
|
1162
|
-
plugin as
|
|
892
|
+
plugin as STO_Relational_LegendStudioApplicationPlugin_Extension
|
|
1163
893
|
).getExtraPostProcessorEditorRenderers?.() ?? [],
|
|
1164
894
|
);
|
|
1165
895
|
for (const editorRenderer of extraPostProcessorEditorRenderers) {
|
|
@@ -1217,7 +947,7 @@ const PostProcessorRelationalConnectionEditor = observer(
|
|
|
1217
947
|
plugins.flatMap(
|
|
1218
948
|
(plugin) =>
|
|
1219
949
|
(
|
|
1220
|
-
plugin as
|
|
950
|
+
plugin as STO_Relational_LegendStudioApplicationPlugin_Extension
|
|
1221
951
|
).getExtraPostProcessorClassifiers?.() ?? [],
|
|
1222
952
|
),
|
|
1223
953
|
)
|
|
@@ -1242,7 +972,7 @@ const PostProcessorRelationalConnectionEditor = observer(
|
|
|
1242
972
|
const extraPostProcessorCreators = plugins.flatMap(
|
|
1243
973
|
(plugin) =>
|
|
1244
974
|
(
|
|
1245
|
-
plugin as
|
|
975
|
+
plugin as STO_Relational_LegendStudioApplicationPlugin_Extension
|
|
1246
976
|
).getExtraPostProcessorCreators?.() ?? [],
|
|
1247
977
|
);
|
|
1248
978
|
for (const creator of extraPostProcessorCreators) {
|
|
@@ -1269,7 +999,7 @@ const PostProcessorRelationalConnectionEditor = observer(
|
|
|
1269
999
|
const extraPostProcessorEditorClassifier = plugins.flatMap(
|
|
1270
1000
|
(plugin) =>
|
|
1271
1001
|
(
|
|
1272
|
-
plugin as
|
|
1002
|
+
plugin as STO_Relational_LegendStudioApplicationPlugin_Extension
|
|
1273
1003
|
).getExtraPostProcessorClassifierGetters?.() ?? [],
|
|
1274
1004
|
);
|
|
1275
1005
|
for (const classify of extraPostProcessorEditorClassifier) {
|
|
@@ -1450,7 +1180,7 @@ const renderDatasourceSpecificationEditor = (
|
|
|
1450
1180
|
const extraDatasourceSpecificationEditorRenderers = plugins.flatMap(
|
|
1451
1181
|
(plugin) =>
|
|
1452
1182
|
(
|
|
1453
|
-
plugin as
|
|
1183
|
+
plugin as STO_Relational_LegendStudioApplicationPlugin_Extension
|
|
1454
1184
|
).getExtraDatasourceSpecificationEditorRenderers?.() ?? [],
|
|
1455
1185
|
);
|
|
1456
1186
|
for (const editorRenderer of extraDatasourceSpecificationEditorRenderers) {
|
|
@@ -1527,7 +1257,7 @@ const renderAuthenticationStrategyEditor = (
|
|
|
1527
1257
|
const extraAuthenticationStrategyEditorRenderers = plugins.flatMap(
|
|
1528
1258
|
(plugin) =>
|
|
1529
1259
|
(
|
|
1530
|
-
plugin as
|
|
1260
|
+
plugin as STO_Relational_LegendStudioApplicationPlugin_Extension
|
|
1531
1261
|
).getExtraAuthenticationStrategyEditorRenderers?.() ?? [],
|
|
1532
1262
|
);
|
|
1533
1263
|
for (const editorRenderer of extraAuthenticationStrategyEditorRenderers) {
|
|
@@ -1574,7 +1304,7 @@ const RelationalConnectionGeneralEditor = observer(
|
|
|
1574
1304
|
plugins.flatMap(
|
|
1575
1305
|
(plugin) =>
|
|
1576
1306
|
(
|
|
1577
|
-
plugin as
|
|
1307
|
+
plugin as STO_Relational_LegendStudioApplicationPlugin_Extension
|
|
1578
1308
|
).getExtraDatasourceSpecificationTypes?.() ?? [],
|
|
1579
1309
|
),
|
|
1580
1310
|
)
|
|
@@ -1602,7 +1332,7 @@ const RelationalConnectionGeneralEditor = observer(
|
|
|
1602
1332
|
plugins.flatMap(
|
|
1603
1333
|
(plugin) =>
|
|
1604
1334
|
(
|
|
1605
|
-
plugin as
|
|
1335
|
+
plugin as STO_Relational_LegendStudioApplicationPlugin_Extension
|
|
1606
1336
|
).getExtraAuthenticationStrategyTypes?.() ?? [],
|
|
1607
1337
|
),
|
|
1608
1338
|
)
|
|
@@ -1626,7 +1356,7 @@ const RelationalConnectionGeneralEditor = observer(
|
|
|
1626
1356
|
<div className="relational-connection-editor">
|
|
1627
1357
|
<ResizablePanelGroup orientation="horizontal">
|
|
1628
1358
|
<ResizablePanel size={200} minSize={15}>
|
|
1629
|
-
<
|
|
1359
|
+
<Panel>
|
|
1630
1360
|
<PanelHeader title="general"></PanelHeader>
|
|
1631
1361
|
|
|
1632
1362
|
<div className="panel__content relational-connection-editor__general">
|
|
@@ -1641,7 +1371,7 @@ const RelationalConnectionGeneralEditor = observer(
|
|
|
1641
1371
|
darkMode={true}
|
|
1642
1372
|
/>
|
|
1643
1373
|
</div>
|
|
1644
|
-
<
|
|
1374
|
+
<PanelFormBooleanEditor
|
|
1645
1375
|
isReadOnly={isReadOnly}
|
|
1646
1376
|
value={connection.quoteIdentifiers}
|
|
1647
1377
|
name="Quote identifiers"
|
|
@@ -1651,7 +1381,7 @@ const RelationalConnectionGeneralEditor = observer(
|
|
|
1651
1381
|
}
|
|
1652
1382
|
/>
|
|
1653
1383
|
</div>
|
|
1654
|
-
</
|
|
1384
|
+
</Panel>
|
|
1655
1385
|
</ResizablePanel>
|
|
1656
1386
|
<ResizablePanelSplitter />
|
|
1657
1387
|
<ResizablePanel>
|
|
@@ -1734,14 +1464,14 @@ export const RelationalDatabaseConnectionEditor = observer(
|
|
|
1734
1464
|
);
|
|
1735
1465
|
};
|
|
1736
1466
|
return (
|
|
1737
|
-
|
|
1467
|
+
<Panel>
|
|
1738
1468
|
<PanelTabs
|
|
1739
1469
|
tabTitles={Object.values(RELATIONAL_DATABASE_TAB_TYPE)}
|
|
1740
1470
|
changeTheTab={changeTab}
|
|
1741
1471
|
selectedTab={selectedTab}
|
|
1742
1472
|
tabClassName="relational-connection-editor__tab"
|
|
1743
1473
|
/>
|
|
1744
|
-
<
|
|
1474
|
+
<PanelContent>
|
|
1745
1475
|
{selectedTab === RELATIONAL_DATABASE_TAB_TYPE.GENERAL && (
|
|
1746
1476
|
<RelationalConnectionGeneralEditor
|
|
1747
1477
|
connectionValueState={connectionValueState}
|
|
@@ -1760,8 +1490,8 @@ export const RelationalDatabaseConnectionEditor = observer(
|
|
|
1760
1490
|
isReadOnly={isReadOnly}
|
|
1761
1491
|
/>
|
|
1762
1492
|
)}
|
|
1763
|
-
</
|
|
1764
|
-
|
|
1493
|
+
</PanelContent>
|
|
1494
|
+
</Panel>
|
|
1765
1495
|
);
|
|
1766
1496
|
},
|
|
1767
1497
|
);
|