@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
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
ResizablePanel,
|
|
20
20
|
PlusIcon,
|
|
21
21
|
ResizablePanelSplitter,
|
|
22
|
-
|
|
22
|
+
PanelFormTextField,
|
|
23
23
|
PanelForm,
|
|
24
24
|
ContextMenu,
|
|
25
25
|
MenuContent,
|
|
@@ -32,7 +32,6 @@ import {
|
|
|
32
32
|
PanelHeader,
|
|
33
33
|
PanelContent,
|
|
34
34
|
PanelListSelectorItemLabel,
|
|
35
|
-
PanelSection,
|
|
36
35
|
PanelHeaderActions,
|
|
37
36
|
} from '@finos/legend-art';
|
|
38
37
|
import {
|
|
@@ -232,28 +231,25 @@ export const MapperPostProcessorEditor = observer(
|
|
|
232
231
|
)}
|
|
233
232
|
{selectedMapper && (
|
|
234
233
|
<PanelForm>
|
|
235
|
-
<
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
/>
|
|
252
|
-
</PanelSection>
|
|
253
|
-
|
|
234
|
+
<PanelFormTextField
|
|
235
|
+
isReadOnly={isReadOnly}
|
|
236
|
+
value={selectedMapper.from}
|
|
237
|
+
name="From"
|
|
238
|
+
update={(value: string | undefined): void =>
|
|
239
|
+
mapper_setFrom(selectedMapper, value ?? '')
|
|
240
|
+
}
|
|
241
|
+
/>
|
|
242
|
+
<PanelFormTextField
|
|
243
|
+
isReadOnly={isReadOnly}
|
|
244
|
+
value={selectedMapper.to}
|
|
245
|
+
name="To"
|
|
246
|
+
update={(value: string | undefined): void =>
|
|
247
|
+
mapper_setTo(selectedMapper, value ?? '')
|
|
248
|
+
}
|
|
249
|
+
/>
|
|
254
250
|
{selectedSchemaNameMapper && (
|
|
255
|
-
|
|
256
|
-
<
|
|
251
|
+
<>
|
|
252
|
+
<PanelFormTextField
|
|
257
253
|
isReadOnly={isReadOnly}
|
|
258
254
|
value={selectedSchemaNameMapper.from}
|
|
259
255
|
name="Schema - From"
|
|
@@ -264,7 +260,7 @@ export const MapperPostProcessorEditor = observer(
|
|
|
264
260
|
);
|
|
265
261
|
}}
|
|
266
262
|
/>
|
|
267
|
-
<
|
|
263
|
+
<PanelFormTextField
|
|
268
264
|
isReadOnly={isReadOnly}
|
|
269
265
|
value={selectedSchemaNameMapper.to}
|
|
270
266
|
name="Schema - To"
|
|
@@ -275,7 +271,7 @@ export const MapperPostProcessorEditor = observer(
|
|
|
275
271
|
)
|
|
276
272
|
}
|
|
277
273
|
/>
|
|
278
|
-
|
|
274
|
+
</>
|
|
279
275
|
)}
|
|
280
276
|
</PanelForm>
|
|
281
277
|
)}
|
|
@@ -46,10 +46,9 @@ import {
|
|
|
46
46
|
clsx,
|
|
47
47
|
CustomSelectorInput,
|
|
48
48
|
disposeEditor,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
getBaseTextEditorOptions,
|
|
50
|
+
moveCursorToPosition,
|
|
51
51
|
setErrorMarkers,
|
|
52
|
-
revealError,
|
|
53
52
|
resetLineNumberGutterWidth,
|
|
54
53
|
getEditorValue,
|
|
55
54
|
normalizeLineEnding,
|
|
@@ -57,6 +56,7 @@ import {
|
|
|
57
56
|
ArrowDownIcon,
|
|
58
57
|
ArrowUpIcon,
|
|
59
58
|
useResizeDetector,
|
|
59
|
+
clearMarkers,
|
|
60
60
|
} from '@finos/legend-art';
|
|
61
61
|
import { TextDiffView } from '../../../shared/DiffView.js';
|
|
62
62
|
import { getPrettyLabelForRevision } from '../../../../stores/editor-state/entity-diff-editor-state/EntityDiffEditorState.js';
|
|
@@ -193,7 +193,7 @@ const MergeConflictEditor = observer(
|
|
|
193
193
|
if (!editor && textInputRef.current) {
|
|
194
194
|
const element = textInputRef.current;
|
|
195
195
|
const _editor = monacoEditorAPI.create(element, {
|
|
196
|
-
...
|
|
196
|
+
...getBaseTextEditorOptions(),
|
|
197
197
|
theme: EDITOR_THEME.LEGEND,
|
|
198
198
|
language: EDITOR_LANGUAGE.PURE,
|
|
199
199
|
minimap: { enabled: false },
|
|
@@ -376,16 +376,17 @@ const MergeConflictEditor = observer(
|
|
|
376
376
|
if (editorModel) {
|
|
377
377
|
editorModel.updateOptions({ tabSize: TAB_SIZE });
|
|
378
378
|
if (error?.sourceInformation) {
|
|
379
|
-
setErrorMarkers(
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
379
|
+
setErrorMarkers(editorModel, [
|
|
380
|
+
{
|
|
381
|
+
message: error.message,
|
|
382
|
+
startLineNumber: error.sourceInformation.startLine,
|
|
383
|
+
startColumn: error.sourceInformation.startColumn,
|
|
384
|
+
endLineNumber: error.sourceInformation.endLine,
|
|
385
|
+
endColumn: error.sourceInformation.endColumn,
|
|
386
|
+
},
|
|
387
|
+
]);
|
|
387
388
|
} else {
|
|
388
|
-
|
|
389
|
+
clearMarkers();
|
|
389
390
|
}
|
|
390
391
|
}
|
|
391
392
|
|
|
@@ -549,11 +550,10 @@ const MergeConflictEditor = observer(
|
|
|
549
550
|
useEffect(() => {
|
|
550
551
|
if (editor) {
|
|
551
552
|
if (error?.sourceInformation) {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
error.sourceInformation.
|
|
555
|
-
|
|
556
|
-
);
|
|
553
|
+
moveCursorToPosition(editor, {
|
|
554
|
+
lineNumber: error.sourceInformation.startLine,
|
|
555
|
+
column: error.sourceInformation.startColumn,
|
|
556
|
+
});
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
}, [editor, error, error?.sourceInformation]);
|
|
@@ -563,11 +563,11 @@ const MergeConflictEditor = observer(
|
|
|
563
563
|
editor &&
|
|
564
564
|
conflictEditorState.currentMergeEditorConflict !== undefined
|
|
565
565
|
) {
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
1,
|
|
570
|
-
);
|
|
566
|
+
moveCursorToPosition(editor, {
|
|
567
|
+
lineNumber:
|
|
568
|
+
conflictEditorState.currentMergeEditorConflict.startHeader,
|
|
569
|
+
column: 1,
|
|
570
|
+
});
|
|
571
571
|
}
|
|
572
572
|
}, [
|
|
573
573
|
editor,
|
|
@@ -444,8 +444,9 @@ export const EnumerationMappingEditor = observer(
|
|
|
444
444
|
'mapping-element-editor__metadata__chunk',
|
|
445
445
|
'mapping-element-editor__metadata__driver-chunk',
|
|
446
446
|
'background--primitive',
|
|
447
|
+
'mapping-element-editor__metadata__source-chunk--primitive',
|
|
447
448
|
{
|
|
448
|
-
'mapping-element-editor__metadata__source--none':
|
|
449
|
+
'mapping-element-editor__metadata__source-chunk--none':
|
|
449
450
|
!sourceType,
|
|
450
451
|
},
|
|
451
452
|
)}
|
package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx
CHANGED
|
@@ -42,8 +42,7 @@ import {
|
|
|
42
42
|
Dialog,
|
|
43
43
|
Panel,
|
|
44
44
|
PanelForm,
|
|
45
|
-
|
|
46
|
-
PanelFormTextEditor,
|
|
45
|
+
PanelFormTextField,
|
|
47
46
|
CheckSquareIcon,
|
|
48
47
|
SquareIcon,
|
|
49
48
|
ExclamationTriangleIcon,
|
|
@@ -150,29 +149,27 @@ const ProjectStructureEditor = observer(
|
|
|
150
149
|
</div>
|
|
151
150
|
|
|
152
151
|
<PanelForm>
|
|
153
|
-
<
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
prompt="The domain for artifacts generated as part of the project build
|
|
152
|
+
<PanelFormTextField
|
|
153
|
+
isReadOnly={isReadOnly}
|
|
154
|
+
value={projectConfig.groupId}
|
|
155
|
+
name="Group ID"
|
|
156
|
+
prompt="The domain for artifacts generated as part of the project build
|
|
159
157
|
pipeline and published to an artifact repository"
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
158
|
+
update={(value: string | undefined): void =>
|
|
159
|
+
projectConfig.setGroupId(value ?? '')
|
|
160
|
+
}
|
|
161
|
+
/>
|
|
162
|
+
<PanelFormTextField
|
|
163
|
+
isReadOnly={isReadOnly}
|
|
164
|
+
value={projectConfig.artifactId}
|
|
165
|
+
name="Artifact ID"
|
|
166
|
+
prompt="The identifier (within the domain specified by group ID) for
|
|
169
167
|
artifacts generated as part of the project build pipeline and
|
|
170
168
|
published to an artifact repository"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
</PanelSection>
|
|
169
|
+
update={(value: string | undefined): void =>
|
|
170
|
+
projectConfig.setArtifactId(value ?? '')
|
|
171
|
+
}
|
|
172
|
+
/>
|
|
176
173
|
</PanelForm>
|
|
177
174
|
</div>
|
|
178
175
|
);
|
|
@@ -268,7 +268,7 @@ const ExplorerContextMenu = observer(
|
|
|
268
268
|
);
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
|
-
const
|
|
271
|
+
const copyWorkspaceElementLink = (): void => {
|
|
272
272
|
if (node) {
|
|
273
273
|
applicationStore
|
|
274
274
|
.copyTextToClipboard(
|
|
@@ -279,7 +279,9 @@ const ExplorerContextMenu = observer(
|
|
|
279
279
|
),
|
|
280
280
|
)
|
|
281
281
|
.then(() =>
|
|
282
|
-
applicationStore.notifySuccess(
|
|
282
|
+
applicationStore.notifySuccess(
|
|
283
|
+
'Copied workspace element link to clipboard',
|
|
284
|
+
),
|
|
283
285
|
)
|
|
284
286
|
.catch(applicationStore.alertUnhandledError);
|
|
285
287
|
}
|
|
@@ -333,7 +335,7 @@ const ExplorerContextMenu = observer(
|
|
|
333
335
|
View in Project
|
|
334
336
|
</MenuContentItem>
|
|
335
337
|
)}
|
|
336
|
-
<MenuContentItem onClick={
|
|
338
|
+
<MenuContentItem onClick={copyWorkspaceElementLink}>
|
|
337
339
|
Copy Link
|
|
338
340
|
</MenuContentItem>
|
|
339
341
|
</>
|
|
@@ -71,11 +71,13 @@ const ShareProjectModal = observer(
|
|
|
71
71
|
: applicationStore.navigator.generateAddress(
|
|
72
72
|
generateViewProjectRoute(projectId),
|
|
73
73
|
);
|
|
74
|
-
const
|
|
74
|
+
const copyProjectElementLink = (): void => {
|
|
75
75
|
applicationStore
|
|
76
76
|
.copyTextToClipboard(projectLink)
|
|
77
77
|
.then(() =>
|
|
78
|
-
applicationStore.notifySuccess(
|
|
78
|
+
applicationStore.notifySuccess(
|
|
79
|
+
'Copied project element link to clipboard',
|
|
80
|
+
),
|
|
79
81
|
)
|
|
80
82
|
.catch(applicationStore.alertUnhandledError)
|
|
81
83
|
.finally(() => closeModal());
|
|
@@ -136,7 +138,7 @@ const ShareProjectModal = observer(
|
|
|
136
138
|
<button
|
|
137
139
|
className="btn--wide btn--dark"
|
|
138
140
|
disabled={isFetchingProject}
|
|
139
|
-
onClick={
|
|
141
|
+
onClick={copyProjectElementLink}
|
|
140
142
|
>
|
|
141
143
|
Copy Link
|
|
142
144
|
</button>
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from '@finos/legend-application';
|
|
27
27
|
import {
|
|
28
28
|
disposeDiffEditor,
|
|
29
|
-
|
|
29
|
+
getBaseTextEditorOptions,
|
|
30
30
|
useResizeDetector,
|
|
31
31
|
} from '@finos/legend-art';
|
|
32
32
|
import {
|
|
@@ -64,7 +64,7 @@ export const TextDiffView = observer(
|
|
|
64
64
|
if (!editor && editorRef.current) {
|
|
65
65
|
const element = editorRef.current;
|
|
66
66
|
const _editor = monacoEditorAPI.createDiffEditor(element, {
|
|
67
|
-
...
|
|
67
|
+
...getBaseTextEditorOptions(),
|
|
68
68
|
theme: EDITOR_THEME.LEGEND,
|
|
69
69
|
readOnly: true,
|
|
70
70
|
});
|
|
@@ -271,12 +271,14 @@ export class ChangeDetectionState {
|
|
|
271
271
|
aggregatedConflictResolutionChanges: EntityDiff[] = [];
|
|
272
272
|
conflicts: EntityChangeConflict[] = []; // conflicts in conflict resolution mode (derived from aggregated workspace changes and conflict resolution changes)
|
|
273
273
|
resolutions: EntityChangeConflictResolution[] = [];
|
|
274
|
+
currentGraphHash: string | undefined;
|
|
274
275
|
|
|
275
276
|
observerContext: ObserverContext;
|
|
276
277
|
|
|
277
278
|
constructor(editorStore: EditorStore, graphState: EditorGraphState) {
|
|
278
279
|
makeObservable(this, {
|
|
279
280
|
resolutions: observable,
|
|
281
|
+
currentGraphHash: observable,
|
|
280
282
|
projectLatestRevisionState: observable.ref,
|
|
281
283
|
conflictResolutionBaseRevisionState: observable.ref,
|
|
282
284
|
conflictResolutionHeadRevisionState: observable.ref,
|
|
@@ -355,6 +357,15 @@ export class ChangeDetectionState {
|
|
|
355
357
|
this.potentialWorkspacePullConflicts = conflicts;
|
|
356
358
|
}
|
|
357
359
|
|
|
360
|
+
getCurrentGraphHash(): string {
|
|
361
|
+
return hashObject(
|
|
362
|
+
Array.from(this.snapshotLocalEntityHashesIndex(true).entries())
|
|
363
|
+
// sort to ensure this array order does not affect change detection status
|
|
364
|
+
.sort((a, b) => a[0].localeCompare(b[0]))
|
|
365
|
+
.map(([key, value]) => `${key}@${value}`),
|
|
366
|
+
);
|
|
367
|
+
}
|
|
368
|
+
|
|
358
369
|
stop(force = false): void {
|
|
359
370
|
this.changeDetectionReaction?.();
|
|
360
371
|
this.changeDetectionReaction = undefined;
|
|
@@ -407,16 +418,10 @@ export class ChangeDetectionState {
|
|
|
407
418
|
* See https://medium.com/terria/when-and-why-does-mobxs-keepalive-cause-a-memory-leak-8c29feb9ff55
|
|
408
419
|
*/
|
|
409
420
|
this.changeDetectionReaction = reaction(
|
|
410
|
-
|
|
411
|
-
() =>
|
|
412
|
-
hashObject(
|
|
413
|
-
Array.from(this.snapshotLocalEntityHashesIndex(true).entries())
|
|
414
|
-
// sort to ensure this array order does not affect change detection status
|
|
415
|
-
.sort((a, b) => a[0].localeCompare(b[0]))
|
|
416
|
-
.map(([key, value]) => `${key}@${value}`),
|
|
417
|
-
),
|
|
421
|
+
() => this.getCurrentGraphHash(),
|
|
418
422
|
() => {
|
|
419
423
|
flowResult(this.computeLocalChanges(true)).catch(noop());
|
|
424
|
+
this.currentGraphHash = this.getCurrentGraphHash();
|
|
420
425
|
},
|
|
421
426
|
{
|
|
422
427
|
// fire reaction immediately to compute the first changeset
|
|
@@ -426,11 +431,15 @@ export class ChangeDetectionState {
|
|
|
426
431
|
},
|
|
427
432
|
);
|
|
428
433
|
|
|
434
|
+
// set initial current graph hash
|
|
435
|
+
this.currentGraphHash = this.getCurrentGraphHash();
|
|
436
|
+
|
|
429
437
|
// dispose and remove the disposers for `keepAlive` computations for elements' hash code
|
|
430
438
|
this.graphElementHashCodeKeepAliveComputationDisposers.forEach((disposer) =>
|
|
431
439
|
disposer(),
|
|
432
440
|
);
|
|
433
441
|
this.graphElementHashCodeKeepAliveComputationDisposers = [];
|
|
442
|
+
|
|
434
443
|
this.initState.pass();
|
|
435
444
|
}
|
|
436
445
|
|