@finos/legend-application-studio 19.1.0 → 20.0.0
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/application/LegendStudioApplicationConfig.d.ts +6 -0
- package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.js +7 -0
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +23 -50
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.d.ts +0 -1
- package/lib/components/EmbeddedQueryBuilder.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts +0 -1
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +0 -1
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.js +10 -3
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +0 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +11 -3
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
- package/lib/components/editor/aux-panel/Console.d.ts +0 -1
- package/lib/components/editor/aux-panel/Console.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/Console.js +2 -1
- package/lib/components/editor/aux-panel/Console.js.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.d.ts +0 -1
- package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.js +4 -7
- package/lib/components/editor/aux-panel/DevTool.js.map +1 -1
- package/lib/components/editor/aux-panel/Problems.d.ts +19 -0
- package/lib/components/editor/aux-panel/Problems.d.ts.map +1 -0
- package/lib/components/editor/aux-panel/Problems.js +48 -0
- package/lib/components/editor/aux-panel/Problems.js.map +1 -0
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +0 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts +0 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +36 -25
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.d.ts +0 -1
- package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +0 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +16 -16
- 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 +0 -1
- 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 +4 -4
- 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 +0 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +0 -1
- 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 +0 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +20 -6
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +0 -1
- 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 +0 -1
- 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 +0 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts +0 -1
- 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 +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts +0 -1
- 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 +0 -1
- 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 +0 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- 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 +0 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +0 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +0 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +3 -3
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +0 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +0 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +3 -3
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +0 -1
- package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +0 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/shared/DiffView.d.ts +0 -1
- 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/workspace-review/WorkspaceReviewPanel.d.ts +0 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts +0 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +0 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +0 -1
- 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/package.json +6 -6
- package/lib/stores/ChangeDetectionState.d.ts +2 -0
- package/lib/stores/ChangeDetectionState.d.ts.map +1 -1
- package/lib/stores/ChangeDetectionState.js +12 -6
- package/lib/stores/ChangeDetectionState.js.map +1 -1
- package/lib/stores/EditorConfig.d.ts +2 -1
- package/lib/stores/EditorConfig.d.ts.map +1 -1
- package/lib/stores/EditorConfig.js +1 -0
- package/lib/stores/EditorConfig.js.map +1 -1
- package/lib/stores/EditorGraphState.d.ts +17 -16
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +152 -94
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorSDLCState.d.ts +6 -6
- package/lib/stores/EditorSDLCState.d.ts.map +1 -1
- package/lib/stores/EditorSDLCState.js +52 -27
- package/lib/stores/EditorSDLCState.js.map +1 -1
- package/lib/stores/EditorStore.js +1 -1
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.js +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -1
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +14 -5
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/StandardEditorMode.d.ts.map +1 -1
- package/lib/stores/editor/StandardEditorMode.js +2 -2
- package/lib/stores/editor/StandardEditorMode.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.d.ts +3 -3
- package/lib/stores/editor-state/FileGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.js +9 -5
- package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts +6 -4
- package/lib/stores/editor-state/GrammarTextEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/GrammarTextEditorState.js +14 -8
- package/lib/stores/editor-state/GrammarTextEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts +0 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js +0 -5
- package/lib/stores/editor-state/element-editor-state/ClassEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts +0 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js +0 -3
- package/lib/stores/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts +2 -2
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +5 -4
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts +0 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js +0 -4
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +0 -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 +0 -6
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts +6 -6
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +24 -14
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts +6 -6
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +30 -15
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +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 +1 -1
- 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 +4 -4
- 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 +54 -44
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.d.ts +13 -13
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +71 -63
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +19 -4
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.d.ts +8 -8
- package/lib/stores/sidebar-state/WorkflowManagerState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkflowManagerState.js +15 -11
- package/lib/stores/sidebar-state/WorkflowManagerState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts +3 -3
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +21 -6
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts +2 -2
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.js +9 -7
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts +2 -2
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +8 -4
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts +2 -2
- package/lib/stores/workspace-review/WorkspaceReviewStore.d.ts.map +1 -1
- package/lib/stores/workspace-review/WorkspaceReviewStore.js +27 -10
- package/lib/stores/workspace-review/WorkspaceReviewStore.js.map +1 -1
- package/package.json +15 -15
- package/src/application/LegendStudioApplicationConfig.ts +7 -0
- package/src/components/EditorComponentTestUtils.tsx +64 -60
- package/src/components/editor/StatusBar.tsx +38 -3
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +32 -10
- package/src/components/editor/aux-panel/Console.tsx +4 -3
- package/src/components/editor/aux-panel/DevTool.tsx +47 -79
- package/src/components/editor/aux-panel/Problems.tsx +103 -0
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +48 -36
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +61 -61
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +21 -25
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +23 -23
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +2 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +19 -22
- package/src/components/editor/side-bar/Explorer.tsx +5 -3
- package/src/components/editor/side-bar/ProjectOverview.tsx +5 -3
- package/src/components/shared/DiffView.tsx +2 -2
- package/src/stores/ChangeDetectionState.ts +17 -8
- package/src/stores/EditorConfig.ts +1 -0
- package/src/stores/EditorGraphState.ts +223 -136
- package/src/stores/EditorSDLCState.ts +65 -30
- package/src/stores/EditorStore.ts +1 -1
- package/src/stores/EmbeddedQueryBuilderState.ts +1 -1
- package/src/stores/editor/NewElementState.ts +24 -5
- package/src/stores/editor/StandardEditorMode.ts +4 -2
- package/src/stores/editor-state/FileGenerationState.ts +19 -8
- package/src/stores/editor-state/GrammarTextEditorState.ts +18 -10
- package/src/stores/editor-state/element-editor-state/ClassEditorState.ts +0 -12
- package/src/stores/editor-state/element-editor-state/ElementEditorState.ts +0 -4
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +8 -6
- package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +0 -5
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +0 -11
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +29 -15
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +37 -23
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +4 -3
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +63 -48
- package/src/stores/project-viewer/ProjectViewerStore.ts +5 -3
- package/src/stores/sidebar-state/LocalChangesState.ts +130 -115
- package/src/stores/sidebar-state/ProjectOverviewState.ts +19 -4
- package/src/stores/sidebar-state/WorkflowManagerState.ts +28 -31
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +24 -8
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +11 -16
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +11 -7
- package/src/stores/workspace-review/WorkspaceReviewStore.ts +39 -12
- package/tsconfig.json +1 -0
|
@@ -23,10 +23,8 @@ import {
|
|
|
23
23
|
} from 'monaco-editor';
|
|
24
24
|
import {
|
|
25
25
|
ContextMenu,
|
|
26
|
-
revealError,
|
|
27
|
-
setErrorMarkers,
|
|
28
26
|
disposeEditor,
|
|
29
|
-
|
|
27
|
+
getBaseTextEditorOptions,
|
|
30
28
|
resetLineNumberGutterWidth,
|
|
31
29
|
clsx,
|
|
32
30
|
WordWrapIcon,
|
|
@@ -36,6 +34,10 @@ import {
|
|
|
36
34
|
HackerIcon,
|
|
37
35
|
PanelContent,
|
|
38
36
|
useResizeDetector,
|
|
37
|
+
setWarningMarkers,
|
|
38
|
+
clearMarkers,
|
|
39
|
+
setErrorMarkers,
|
|
40
|
+
moveCursorToPosition,
|
|
39
41
|
} from '@finos/legend-art';
|
|
40
42
|
import {
|
|
41
43
|
TAB_SIZE,
|
|
@@ -779,7 +781,9 @@ export const GrammarTextEditor = observer(() => {
|
|
|
779
781
|
const grammarTextEditorState = editorStore.grammarTextEditorState;
|
|
780
782
|
const currentElementLabelRegexString =
|
|
781
783
|
grammarTextEditorState.currentElementLabelRegexString;
|
|
782
|
-
const error =
|
|
784
|
+
const error = editorStore.graphState.error;
|
|
785
|
+
|
|
786
|
+
const forcedCursorPosition = grammarTextEditorState.forcedCursorPosition;
|
|
783
787
|
const value = normalizeLineEnding(grammarTextEditorState.graphGrammarText);
|
|
784
788
|
const textEditorRef = useRef<HTMLDivElement>(null);
|
|
785
789
|
const hoverProviderDisposer = useRef<IDisposable | undefined>(undefined);
|
|
@@ -804,15 +808,15 @@ export const GrammarTextEditor = observer(() => {
|
|
|
804
808
|
if (!editor && textEditorRef.current) {
|
|
805
809
|
const element = textEditorRef.current;
|
|
806
810
|
const _editor = monacoEditorAPI.create(element, {
|
|
807
|
-
...
|
|
811
|
+
...getBaseTextEditorOptions(),
|
|
808
812
|
language: EDITOR_LANGUAGE.PURE,
|
|
809
813
|
theme: EDITOR_THEME.LEGEND,
|
|
810
814
|
renderValidationDecorations: 'on',
|
|
811
815
|
});
|
|
812
816
|
_editor.onDidChangeModelContent(() => {
|
|
813
817
|
grammarTextEditorState.setGraphGrammarText(getEditorValue(_editor));
|
|
814
|
-
|
|
815
|
-
// we can technically can reset the current element label regex string here
|
|
818
|
+
clearMarkers();
|
|
819
|
+
// NOTE: we can technically can reset the current element label regex string here
|
|
816
820
|
// but if we do that on first load, the cursor will not jump to the current element
|
|
817
821
|
// also, it's better to place that logic in an effect that watches for the regex string
|
|
818
822
|
});
|
|
@@ -882,17 +886,42 @@ export const GrammarTextEditor = observer(() => {
|
|
|
882
886
|
const editorModel = editor.getModel();
|
|
883
887
|
if (editorModel) {
|
|
884
888
|
editorModel.updateOptions({ tabSize: TAB_SIZE });
|
|
885
|
-
if (
|
|
886
|
-
|
|
889
|
+
if (
|
|
890
|
+
!editorStore.graphState.areProblemsStale &&
|
|
891
|
+
error?.sourceInformation
|
|
892
|
+
) {
|
|
893
|
+
setErrorMarkers(editorModel, [
|
|
894
|
+
{
|
|
895
|
+
message: error.message,
|
|
896
|
+
startLineNumber: error.sourceInformation.startLine,
|
|
897
|
+
startColumn: error.sourceInformation.startColumn,
|
|
898
|
+
endLineNumber: error.sourceInformation.endLine,
|
|
899
|
+
endColumn: error.sourceInformation.endColumn,
|
|
900
|
+
},
|
|
901
|
+
]);
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
if (
|
|
905
|
+
!editorStore.graphState.areProblemsStale &&
|
|
906
|
+
editorStore.graphState.warnings.length
|
|
907
|
+
) {
|
|
908
|
+
setWarningMarkers(
|
|
887
909
|
editorModel,
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
910
|
+
editorStore.graphState.warnings
|
|
911
|
+
.map((warning) => {
|
|
912
|
+
if (!warning.sourceInformation) {
|
|
913
|
+
return undefined;
|
|
914
|
+
}
|
|
915
|
+
return {
|
|
916
|
+
message: warning.message,
|
|
917
|
+
startLineNumber: warning.sourceInformation.startLine,
|
|
918
|
+
startColumn: warning.sourceInformation.startColumn,
|
|
919
|
+
endLineNumber: warning.sourceInformation.endLine,
|
|
920
|
+
endColumn: warning.sourceInformation.endColumn,
|
|
921
|
+
};
|
|
922
|
+
})
|
|
923
|
+
.filter(isNonNullable),
|
|
893
924
|
);
|
|
894
|
-
} else {
|
|
895
|
-
monacoEditorAPI.setModelMarkers(editorModel, 'Error', []);
|
|
896
925
|
}
|
|
897
926
|
}
|
|
898
927
|
// Disable editing if user is in viewer mode
|
|
@@ -1124,28 +1153,11 @@ export const GrammarTextEditor = observer(() => {
|
|
|
1124
1153
|
},
|
|
1125
1154
|
});
|
|
1126
1155
|
|
|
1127
|
-
/**
|
|
1128
|
-
* Reveal error has to be in an effect like this because, we want to reveal the error.
|
|
1129
|
-
* For this to happen, the editor needs to gain focus. However, if the user clicks on the
|
|
1130
|
-
* exit hackermode button, the editor loses focus, and the blocking modal pops up. This modal
|
|
1131
|
-
* in turn traps the focus and preventing the editor from gaining the focus to reveal the error.
|
|
1132
|
-
* As such we want to dismiss the modal before revealing the error, however, as of the current flow
|
|
1133
|
-
* dismissing the modal is called when we set the parser/compiler error. So if this logic belongs to
|
|
1134
|
-
* the normal rendering logic, and not an effect, it might happen just when the modal is still present
|
|
1135
|
-
* to make sure the modal is dismissed, we should place this logic in an effect to make sure it happens
|
|
1136
|
-
* slightly later, also it's better to have this as part of an effect in response to change in the errors
|
|
1137
|
-
*/
|
|
1138
1156
|
useEffect(() => {
|
|
1139
|
-
if (editor) {
|
|
1140
|
-
|
|
1141
|
-
revealError(
|
|
1142
|
-
editor,
|
|
1143
|
-
error.sourceInformation.startLine,
|
|
1144
|
-
error.sourceInformation.startColumn,
|
|
1145
|
-
);
|
|
1146
|
-
}
|
|
1157
|
+
if (editor && forcedCursorPosition) {
|
|
1158
|
+
moveCursorToPosition(editor, forcedCursorPosition);
|
|
1147
1159
|
}
|
|
1148
|
-
}, [editor,
|
|
1160
|
+
}, [editor, forcedCursorPosition]);
|
|
1149
1161
|
|
|
1150
1162
|
/**
|
|
1151
1163
|
* This effect helps to navigate to the currently selected element in the explorer tree
|
package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
ErrorIcon,
|
|
31
31
|
PanelHeader,
|
|
32
32
|
PlusIcon,
|
|
33
|
-
|
|
33
|
+
PanelFormTextField,
|
|
34
34
|
ContextMenu,
|
|
35
35
|
MenuContent,
|
|
36
36
|
MenuContentItem,
|
|
@@ -43,8 +43,7 @@ import {
|
|
|
43
43
|
Panel,
|
|
44
44
|
Badge,
|
|
45
45
|
PanelListSelectorItemLabel,
|
|
46
|
-
|
|
47
|
-
PanelFormBooleanEditor,
|
|
46
|
+
PanelFormBooleanField,
|
|
48
47
|
PanelHeaderActions,
|
|
49
48
|
} from '@finos/legend-art';
|
|
50
49
|
import { capitalize, prettyCONSTName } from '@finos/legend-shared';
|
|
@@ -182,8 +181,8 @@ const StaticDatasourceSpecificationEditor = observer(
|
|
|
182
181
|
};
|
|
183
182
|
|
|
184
183
|
return (
|
|
185
|
-
|
|
186
|
-
<
|
|
184
|
+
<>
|
|
185
|
+
<PanelFormTextField
|
|
187
186
|
isReadOnly={isReadOnly}
|
|
188
187
|
value={sourceSpec.host}
|
|
189
188
|
name="host"
|
|
@@ -200,7 +199,7 @@ const StaticDatasourceSpecificationEditor = observer(
|
|
|
200
199
|
value={sourceSpec.port}
|
|
201
200
|
onChange={changePort}
|
|
202
201
|
/>
|
|
203
|
-
<
|
|
202
|
+
<PanelFormTextField
|
|
204
203
|
isReadOnly={isReadOnly}
|
|
205
204
|
value={sourceSpec.databaseName}
|
|
206
205
|
name="database"
|
|
@@ -211,7 +210,7 @@ const StaticDatasourceSpecificationEditor = observer(
|
|
|
211
210
|
)
|
|
212
211
|
}
|
|
213
212
|
/>
|
|
214
|
-
|
|
213
|
+
</>
|
|
215
214
|
);
|
|
216
215
|
},
|
|
217
216
|
);
|
|
@@ -223,8 +222,8 @@ const EmbeddedH2DatasourceSpecificationEditor = observer(
|
|
|
223
222
|
}) => {
|
|
224
223
|
const { sourceSpec, isReadOnly } = props;
|
|
225
224
|
return (
|
|
226
|
-
|
|
227
|
-
<
|
|
225
|
+
<>
|
|
226
|
+
<PanelFormTextField
|
|
228
227
|
isReadOnly={isReadOnly}
|
|
229
228
|
value={sourceSpec.databaseName}
|
|
230
229
|
name="database"
|
|
@@ -235,7 +234,7 @@ const EmbeddedH2DatasourceSpecificationEditor = observer(
|
|
|
235
234
|
)
|
|
236
235
|
}
|
|
237
236
|
/>
|
|
238
|
-
<
|
|
237
|
+
<PanelFormTextField
|
|
239
238
|
isReadOnly={isReadOnly}
|
|
240
239
|
value={sourceSpec.directory}
|
|
241
240
|
name="directory"
|
|
@@ -246,7 +245,7 @@ const EmbeddedH2DatasourceSpecificationEditor = observer(
|
|
|
246
245
|
)
|
|
247
246
|
}
|
|
248
247
|
/>
|
|
249
|
-
<
|
|
248
|
+
<PanelFormBooleanField
|
|
250
249
|
isReadOnly={isReadOnly}
|
|
251
250
|
value={sourceSpec.autoServerMode}
|
|
252
251
|
name="auto server mode"
|
|
@@ -257,7 +256,7 @@ const EmbeddedH2DatasourceSpecificationEditor = observer(
|
|
|
257
256
|
)
|
|
258
257
|
}
|
|
259
258
|
/>
|
|
260
|
-
|
|
259
|
+
</>
|
|
261
260
|
);
|
|
262
261
|
},
|
|
263
262
|
);
|
|
@@ -269,8 +268,8 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
269
268
|
}) => {
|
|
270
269
|
const { sourceSpec, isReadOnly } = props;
|
|
271
270
|
return (
|
|
272
|
-
|
|
273
|
-
<
|
|
271
|
+
<>
|
|
272
|
+
<PanelFormTextField
|
|
274
273
|
isReadOnly={isReadOnly}
|
|
275
274
|
value={sourceSpec.hostname}
|
|
276
275
|
name="hostname"
|
|
@@ -281,7 +280,7 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
281
280
|
)
|
|
282
281
|
}
|
|
283
282
|
/>
|
|
284
|
-
<
|
|
283
|
+
<PanelFormTextField
|
|
285
284
|
isReadOnly={isReadOnly}
|
|
286
285
|
value={sourceSpec.port}
|
|
287
286
|
name="port"
|
|
@@ -289,7 +288,7 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
289
288
|
databricksDatasourceSpecification_setPort(sourceSpec, value ?? '')
|
|
290
289
|
}
|
|
291
290
|
/>
|
|
292
|
-
<
|
|
291
|
+
<PanelFormTextField
|
|
293
292
|
isReadOnly={isReadOnly}
|
|
294
293
|
value={sourceSpec.protocol}
|
|
295
294
|
name="protocol"
|
|
@@ -300,7 +299,7 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
300
299
|
)
|
|
301
300
|
}
|
|
302
301
|
/>
|
|
303
|
-
<
|
|
302
|
+
<PanelFormTextField
|
|
304
303
|
isReadOnly={isReadOnly}
|
|
305
304
|
value={sourceSpec.httpPath}
|
|
306
305
|
name="httpPath"
|
|
@@ -311,7 +310,7 @@ const DatabricksDatasourceSpecificationEditor = observer(
|
|
|
311
310
|
)
|
|
312
311
|
}
|
|
313
312
|
/>
|
|
314
|
-
|
|
313
|
+
</>
|
|
315
314
|
);
|
|
316
315
|
},
|
|
317
316
|
);
|
|
@@ -323,8 +322,8 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
323
322
|
}) => {
|
|
324
323
|
const { sourceSpec, isReadOnly } = props;
|
|
325
324
|
return (
|
|
326
|
-
|
|
327
|
-
<
|
|
325
|
+
<>
|
|
326
|
+
<PanelFormTextField
|
|
328
327
|
isReadOnly={isReadOnly}
|
|
329
328
|
value={sourceSpec.accountName}
|
|
330
329
|
name="account"
|
|
@@ -332,7 +331,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
332
331
|
snowflakeDatasourceSpec_setAccountName(sourceSpec, value ?? '')
|
|
333
332
|
}
|
|
334
333
|
/>
|
|
335
|
-
<
|
|
334
|
+
<PanelFormTextField
|
|
336
335
|
isReadOnly={isReadOnly}
|
|
337
336
|
value={sourceSpec.region}
|
|
338
337
|
name="region"
|
|
@@ -340,7 +339,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
340
339
|
snowflakeDatasourceSpec_setRegion(sourceSpec, value ?? '')
|
|
341
340
|
}
|
|
342
341
|
/>
|
|
343
|
-
<
|
|
342
|
+
<PanelFormTextField
|
|
344
343
|
isReadOnly={isReadOnly}
|
|
345
344
|
value={sourceSpec.warehouseName}
|
|
346
345
|
name="warehouse"
|
|
@@ -348,7 +347,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
348
347
|
snowflakeDatasourceSpec_setWarehouseName(sourceSpec, value ?? '')
|
|
349
348
|
}
|
|
350
349
|
/>
|
|
351
|
-
<
|
|
350
|
+
<PanelFormTextField
|
|
352
351
|
isReadOnly={isReadOnly}
|
|
353
352
|
value={sourceSpec.databaseName}
|
|
354
353
|
name="database"
|
|
@@ -356,7 +355,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
356
355
|
snowflakeDatasourceSpec_setDatabaseName(sourceSpec, value ?? '')
|
|
357
356
|
}
|
|
358
357
|
/>
|
|
359
|
-
<
|
|
358
|
+
<PanelFormTextField
|
|
360
359
|
isReadOnly={isReadOnly}
|
|
361
360
|
value={sourceSpec.cloudType}
|
|
362
361
|
name="cloud type"
|
|
@@ -364,7 +363,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
364
363
|
snowflakeDatasourceSpec_setCloudType(sourceSpec, value)
|
|
365
364
|
}
|
|
366
365
|
/>
|
|
367
|
-
<
|
|
366
|
+
<PanelFormTextField
|
|
368
367
|
isReadOnly={isReadOnly}
|
|
369
368
|
value={sourceSpec.proxyHost}
|
|
370
369
|
name="proxy host"
|
|
@@ -372,7 +371,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
372
371
|
snowflakeDatasourceSpec_setProxyHost(sourceSpec, value)
|
|
373
372
|
}
|
|
374
373
|
/>
|
|
375
|
-
<
|
|
374
|
+
<PanelFormTextField
|
|
376
375
|
isReadOnly={isReadOnly}
|
|
377
376
|
value={sourceSpec.proxyPort}
|
|
378
377
|
name="proxy port"
|
|
@@ -380,7 +379,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
380
379
|
snowflakeDatasourceSpec_setProxyPort(sourceSpec, value)
|
|
381
380
|
}
|
|
382
381
|
/>
|
|
383
|
-
<
|
|
382
|
+
<PanelFormTextField
|
|
384
383
|
isReadOnly={isReadOnly}
|
|
385
384
|
value={sourceSpec.nonProxyHosts}
|
|
386
385
|
name="non proxy hosts"
|
|
@@ -388,7 +387,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
388
387
|
snowflakeDatasourceSpec_setNonProxyHosts(sourceSpec, value)
|
|
389
388
|
}
|
|
390
389
|
/>
|
|
391
|
-
<
|
|
390
|
+
<PanelFormTextField
|
|
392
391
|
isReadOnly={isReadOnly}
|
|
393
392
|
value={sourceSpec.organization}
|
|
394
393
|
name="organization"
|
|
@@ -396,7 +395,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
396
395
|
snowflakeDatasourceSpec_setOrganization(sourceSpec, value)
|
|
397
396
|
}
|
|
398
397
|
/>
|
|
399
|
-
<
|
|
398
|
+
<PanelFormTextField
|
|
400
399
|
isReadOnly={isReadOnly}
|
|
401
400
|
value={sourceSpec.accountType}
|
|
402
401
|
name="account type"
|
|
@@ -404,7 +403,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
404
403
|
snowflakeDatasourceSpec_setAccountType(sourceSpec, value)
|
|
405
404
|
}
|
|
406
405
|
/>
|
|
407
|
-
<
|
|
406
|
+
<PanelFormTextField
|
|
408
407
|
isReadOnly={isReadOnly}
|
|
409
408
|
value={sourceSpec.role}
|
|
410
409
|
name="role"
|
|
@@ -413,7 +412,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
413
412
|
}
|
|
414
413
|
/>
|
|
415
414
|
{/* TODO: we should reconsider adding this field, it's an optional boolean, should we default it to `undefined` when it's `false`?*/}
|
|
416
|
-
<
|
|
415
|
+
<PanelFormBooleanField
|
|
417
416
|
isReadOnly={isReadOnly}
|
|
418
417
|
value={sourceSpec.quotedIdentifiersIgnoreCase}
|
|
419
418
|
name="quoted identifiers ignore case"
|
|
@@ -425,7 +424,7 @@ const SnowflakeDatasourceSpecificationEditor = observer(
|
|
|
425
424
|
)
|
|
426
425
|
}
|
|
427
426
|
/>
|
|
428
|
-
|
|
427
|
+
</>
|
|
429
428
|
);
|
|
430
429
|
},
|
|
431
430
|
);
|
|
@@ -441,8 +440,8 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
441
440
|
redshiftDatasourceSpecification_setPort(sourceSpec, parseInt(val, 10));
|
|
442
441
|
};
|
|
443
442
|
return (
|
|
444
|
-
|
|
445
|
-
<
|
|
443
|
+
<>
|
|
444
|
+
<PanelFormTextField
|
|
446
445
|
isReadOnly={isReadOnly}
|
|
447
446
|
value={sourceSpec.host}
|
|
448
447
|
name="host"
|
|
@@ -463,7 +462,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
463
462
|
onChange={changePort}
|
|
464
463
|
/>
|
|
465
464
|
</div>
|
|
466
|
-
<
|
|
465
|
+
<PanelFormTextField
|
|
467
466
|
isReadOnly={isReadOnly}
|
|
468
467
|
value={sourceSpec.databaseName}
|
|
469
468
|
name="database"
|
|
@@ -475,7 +474,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
475
474
|
}
|
|
476
475
|
/>
|
|
477
476
|
|
|
478
|
-
<
|
|
477
|
+
<PanelFormTextField
|
|
479
478
|
isReadOnly={isReadOnly}
|
|
480
479
|
value={sourceSpec.region}
|
|
481
480
|
name="region"
|
|
@@ -483,7 +482,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
483
482
|
redshiftDatasourceSpecification_setRegion(sourceSpec, value ?? '')
|
|
484
483
|
}
|
|
485
484
|
/>
|
|
486
|
-
<
|
|
485
|
+
<PanelFormTextField
|
|
487
486
|
isReadOnly={isReadOnly}
|
|
488
487
|
value={sourceSpec.clusterID}
|
|
489
488
|
name="cluster"
|
|
@@ -494,7 +493,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
494
493
|
)
|
|
495
494
|
}
|
|
496
495
|
/>
|
|
497
|
-
<
|
|
496
|
+
<PanelFormTextField
|
|
498
497
|
isReadOnly={isReadOnly}
|
|
499
498
|
value={sourceSpec.endpointURL}
|
|
500
499
|
name="endpointURL"
|
|
@@ -505,7 +504,7 @@ const RedshiftDatasourceSpecificationEditor = observer(
|
|
|
505
504
|
)
|
|
506
505
|
}
|
|
507
506
|
/>
|
|
508
|
-
|
|
507
|
+
</>
|
|
509
508
|
);
|
|
510
509
|
},
|
|
511
510
|
);
|
|
@@ -517,8 +516,8 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
517
516
|
}) => {
|
|
518
517
|
const { sourceSpec, isReadOnly } = props;
|
|
519
518
|
return (
|
|
520
|
-
|
|
521
|
-
<
|
|
519
|
+
<>
|
|
520
|
+
<PanelFormTextField
|
|
522
521
|
isReadOnly={isReadOnly}
|
|
523
522
|
value={sourceSpec.projectId}
|
|
524
523
|
name="project id"
|
|
@@ -529,7 +528,7 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
529
528
|
)
|
|
530
529
|
}
|
|
531
530
|
/>
|
|
532
|
-
<
|
|
531
|
+
<PanelFormTextField
|
|
533
532
|
isReadOnly={isReadOnly}
|
|
534
533
|
value={sourceSpec.defaultDataset}
|
|
535
534
|
name="default dataset"
|
|
@@ -540,7 +539,7 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
540
539
|
)
|
|
541
540
|
}
|
|
542
541
|
/>
|
|
543
|
-
<
|
|
542
|
+
<PanelFormTextField
|
|
544
543
|
isReadOnly={isReadOnly}
|
|
545
544
|
value={sourceSpec.proxyHost}
|
|
546
545
|
name="proxy host"
|
|
@@ -552,7 +551,7 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
552
551
|
)
|
|
553
552
|
}
|
|
554
553
|
/>
|
|
555
|
-
<
|
|
554
|
+
<PanelFormTextField
|
|
556
555
|
isReadOnly={isReadOnly}
|
|
557
556
|
value={sourceSpec.proxyPort}
|
|
558
557
|
name="proxy port"
|
|
@@ -564,7 +563,7 @@ const BigQueryDatasourceSpecificationEditor = observer(
|
|
|
564
563
|
)
|
|
565
564
|
}
|
|
566
565
|
/>
|
|
567
|
-
|
|
566
|
+
</>
|
|
568
567
|
);
|
|
569
568
|
},
|
|
570
569
|
);
|
|
@@ -579,7 +578,7 @@ const DelegatedKerberosAuthenticationStrategyEditor = observer(
|
|
|
579
578
|
const { authSpec, isReadOnly } = props;
|
|
580
579
|
return (
|
|
581
580
|
<>
|
|
582
|
-
<
|
|
581
|
+
<PanelFormTextField
|
|
583
582
|
isReadOnly={isReadOnly}
|
|
584
583
|
value={authSpec.serverPrincipal}
|
|
585
584
|
name="server principal"
|
|
@@ -603,7 +602,7 @@ const ApiTokenAuthenticationStrategyEditor = observer(
|
|
|
603
602
|
const { authSpec, isReadOnly } = props;
|
|
604
603
|
return (
|
|
605
604
|
<>
|
|
606
|
-
<
|
|
605
|
+
<PanelFormTextField
|
|
607
606
|
isReadOnly={isReadOnly}
|
|
608
607
|
value={authSpec.apiToken}
|
|
609
608
|
name="apiTokenRef"
|
|
@@ -623,8 +622,8 @@ const SnowflakePublicAuthenticationStrategyEditor = observer(
|
|
|
623
622
|
}) => {
|
|
624
623
|
const { authSpec, isReadOnly } = props;
|
|
625
624
|
return (
|
|
626
|
-
|
|
627
|
-
<
|
|
625
|
+
<>
|
|
626
|
+
<PanelFormTextField
|
|
628
627
|
isReadOnly={isReadOnly}
|
|
629
628
|
value={authSpec.privateKeyVaultReference}
|
|
630
629
|
name="private key vault reference"
|
|
@@ -635,7 +634,7 @@ const SnowflakePublicAuthenticationStrategyEditor = observer(
|
|
|
635
634
|
)
|
|
636
635
|
}
|
|
637
636
|
/>
|
|
638
|
-
<
|
|
637
|
+
<PanelFormTextField
|
|
639
638
|
isReadOnly={isReadOnly}
|
|
640
639
|
value={authSpec.passPhraseVaultReference}
|
|
641
640
|
name="pass phrase vault reference"
|
|
@@ -646,7 +645,7 @@ const SnowflakePublicAuthenticationStrategyEditor = observer(
|
|
|
646
645
|
)
|
|
647
646
|
}
|
|
648
647
|
/>
|
|
649
|
-
<
|
|
648
|
+
<PanelFormTextField
|
|
650
649
|
isReadOnly={isReadOnly}
|
|
651
650
|
value={authSpec.publicUserName}
|
|
652
651
|
name="public user name"
|
|
@@ -657,7 +656,7 @@ const SnowflakePublicAuthenticationStrategyEditor = observer(
|
|
|
657
656
|
)
|
|
658
657
|
}
|
|
659
658
|
/>
|
|
660
|
-
|
|
659
|
+
</>
|
|
661
660
|
);
|
|
662
661
|
},
|
|
663
662
|
);
|
|
@@ -667,7 +666,7 @@ const OAuthAuthenticationStrategyEditor = observer(
|
|
|
667
666
|
const { authSpec, isReadOnly } = props;
|
|
668
667
|
return (
|
|
669
668
|
<>
|
|
670
|
-
<
|
|
669
|
+
<PanelFormTextField
|
|
671
670
|
isReadOnly={isReadOnly}
|
|
672
671
|
value={authSpec.oauthKey}
|
|
673
672
|
name="oauth key"
|
|
@@ -675,7 +674,7 @@ const OAuthAuthenticationStrategyEditor = observer(
|
|
|
675
674
|
oAuthAuthenticationStrategy_setOauthKey(authSpec, value ?? '')
|
|
676
675
|
}
|
|
677
676
|
/>
|
|
678
|
-
<
|
|
677
|
+
<PanelFormTextField
|
|
679
678
|
isReadOnly={isReadOnly}
|
|
680
679
|
value={authSpec.scopeName}
|
|
681
680
|
name="scope name"
|
|
@@ -696,7 +695,7 @@ const UsernamePasswordAuthenticationStrategyEditor = observer(
|
|
|
696
695
|
const { authSpec, isReadOnly } = props;
|
|
697
696
|
return (
|
|
698
697
|
<>
|
|
699
|
-
<
|
|
698
|
+
<PanelFormTextField
|
|
700
699
|
isReadOnly={isReadOnly}
|
|
701
700
|
value={authSpec.baseVaultReference}
|
|
702
701
|
name="base vault reference"
|
|
@@ -707,7 +706,7 @@ const UsernamePasswordAuthenticationStrategyEditor = observer(
|
|
|
707
706
|
)
|
|
708
707
|
}
|
|
709
708
|
/>
|
|
710
|
-
<
|
|
709
|
+
<PanelFormTextField
|
|
711
710
|
isReadOnly={isReadOnly}
|
|
712
711
|
value={authSpec.userNameVaultReference}
|
|
713
712
|
name="user name vault reference"
|
|
@@ -718,7 +717,7 @@ const UsernamePasswordAuthenticationStrategyEditor = observer(
|
|
|
718
717
|
)
|
|
719
718
|
}
|
|
720
719
|
/>
|
|
721
|
-
<
|
|
720
|
+
<PanelFormTextField
|
|
722
721
|
isReadOnly={isReadOnly}
|
|
723
722
|
value={authSpec.passwordVaultReference}
|
|
724
723
|
name="password vault reference"
|
|
@@ -742,7 +741,7 @@ const MiddleTierUsernamePasswordAuthenticationStrategyEditor = observer(
|
|
|
742
741
|
const { authSpec, isReadOnly } = props;
|
|
743
742
|
return (
|
|
744
743
|
<>
|
|
745
|
-
<
|
|
744
|
+
<PanelFormTextField
|
|
746
745
|
isReadOnly={isReadOnly}
|
|
747
746
|
value={authSpec.vaultReference}
|
|
748
747
|
name="vault reference"
|
|
@@ -768,7 +767,7 @@ const GCPWorkloadIdentityFederationAuthenticationStrategyEditor = observer(
|
|
|
768
767
|
const GCPScopes = authSpec.additionalGcpScopes.join('\n');
|
|
769
768
|
return (
|
|
770
769
|
<>
|
|
771
|
-
<
|
|
770
|
+
<PanelFormTextField
|
|
772
771
|
isReadOnly={isReadOnly}
|
|
773
772
|
value={authSpec.serviceAccountEmail}
|
|
774
773
|
name="Service Account Email"
|
|
@@ -779,7 +778,7 @@ const GCPWorkloadIdentityFederationAuthenticationStrategyEditor = observer(
|
|
|
779
778
|
)
|
|
780
779
|
}
|
|
781
780
|
/>
|
|
782
|
-
<
|
|
781
|
+
<PanelFormTextField
|
|
783
782
|
isReadOnly={isReadOnly}
|
|
784
783
|
value={GCPScopes}
|
|
785
784
|
name="Additional GCP Scopes"
|
|
@@ -1084,6 +1083,7 @@ const PostProcessorRelationalConnectionEditor = observer(
|
|
|
1084
1083
|
title={`Post-Processor ${idx + 1}`}
|
|
1085
1084
|
/>
|
|
1086
1085
|
<Badge
|
|
1086
|
+
className="badge--right"
|
|
1087
1087
|
title={getPostProcessorLabel(postProcessor)}
|
|
1088
1088
|
/>
|
|
1089
1089
|
</PanelListSelectorItem>
|
|
@@ -1370,7 +1370,7 @@ const RelationalConnectionGeneralEditor = observer(
|
|
|
1370
1370
|
darkMode={true}
|
|
1371
1371
|
/>
|
|
1372
1372
|
</div>
|
|
1373
|
-
<
|
|
1373
|
+
<PanelFormBooleanField
|
|
1374
1374
|
isReadOnly={isReadOnly}
|
|
1375
1375
|
value={connection.quoteIdentifiers}
|
|
1376
1376
|
name="Quote identifiers"
|