@finos/legend-application-studio 19.0.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/FunctionEditor.js +31 -5
- package/lib/components/editor/edit-panel/FunctionEditor.js.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 +15 -9
- 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/shared/PackageTreeUtils.d.ts +1 -0
- package/lib/stores/shared/PackageTreeUtils.d.ts.map +1 -1
- package/lib/stores/shared/PackageTreeUtils.js +5 -2
- package/lib/stores/shared/PackageTreeUtils.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 +85 -78
- 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/FunctionEditor.tsx +49 -3
- 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 +34 -10
- 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/shared/PackageTreeUtils.ts +10 -1
- package/src/stores/sidebar-state/LocalChangesState.ts +151 -142
- 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
|
@@ -39,14 +39,7 @@ import {
|
|
|
39
39
|
ContentType,
|
|
40
40
|
} from '@finos/legend-shared';
|
|
41
41
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
42
|
-
import {
|
|
43
|
-
observable,
|
|
44
|
-
flow,
|
|
45
|
-
action,
|
|
46
|
-
makeObservable,
|
|
47
|
-
makeAutoObservable,
|
|
48
|
-
flowResult,
|
|
49
|
-
} from 'mobx';
|
|
42
|
+
import { observable, flow, action, makeObservable, flowResult } from 'mobx';
|
|
50
43
|
import { createMockDataForMappingElementSource } from '../../../shared/MockDataUtils.js';
|
|
51
44
|
import {
|
|
52
45
|
type MappingTest,
|
|
@@ -393,9 +386,10 @@ export enum MAPPING_TEST_EDITOR_TAB_TYPE {
|
|
|
393
386
|
|
|
394
387
|
export class MappingTestState {
|
|
395
388
|
readonly uuid = uuid();
|
|
389
|
+
readonly editorStore: EditorStore;
|
|
390
|
+
readonly mappingEditorState: MappingEditorState;
|
|
391
|
+
|
|
396
392
|
selectedTab = MAPPING_TEST_EDITOR_TAB_TYPE.SETUP;
|
|
397
|
-
editorStore: EditorStore;
|
|
398
|
-
mappingEditorState: MappingEditorState;
|
|
399
393
|
result: TEST_RESULT = TEST_RESULT.NONE;
|
|
400
394
|
test: MappingTest;
|
|
401
395
|
runTime = 0;
|
|
@@ -416,13 +410,25 @@ export class MappingTestState {
|
|
|
416
410
|
test: MappingTest,
|
|
417
411
|
mappingEditorState: MappingEditorState,
|
|
418
412
|
) {
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
413
|
+
makeObservable(this, {
|
|
414
|
+
selectedTab: observable,
|
|
415
|
+
result: observable,
|
|
416
|
+
test: observable,
|
|
417
|
+
runTime: observable,
|
|
418
|
+
isSkipped: observable,
|
|
419
|
+
errorRunningTest: observable,
|
|
420
|
+
testExecutionResultText: observable,
|
|
421
|
+
isRunningTest: observable,
|
|
422
|
+
isExecutingTest: observable,
|
|
423
|
+
queryState: observable,
|
|
424
|
+
inputDataState: observable,
|
|
425
|
+
assertionState: observable,
|
|
426
|
+
isGeneratingPlan: observable,
|
|
427
|
+
executionPlanState: observable,
|
|
428
|
+
testRunPromise: observable,
|
|
424
429
|
setIsRunningTest: action,
|
|
425
430
|
setSelectedTab: action,
|
|
431
|
+
setTestRunPromise: action,
|
|
426
432
|
resetTestRunStatus: action,
|
|
427
433
|
setResult: action,
|
|
428
434
|
toggleSkipTest: action,
|
|
@@ -432,6 +438,9 @@ export class MappingTestState {
|
|
|
432
438
|
setInputDataStateBasedOnSource: action,
|
|
433
439
|
updateAssertion: action,
|
|
434
440
|
generatePlan: flow,
|
|
441
|
+
regenerateExpectedResult: flow,
|
|
442
|
+
runTest: flow,
|
|
443
|
+
onTestStateOpen: flow,
|
|
435
444
|
});
|
|
436
445
|
|
|
437
446
|
this.editorStore = editorStore;
|
|
@@ -454,9 +463,9 @@ export class MappingTestState {
|
|
|
454
463
|
this.selectedTab = val;
|
|
455
464
|
}
|
|
456
465
|
|
|
457
|
-
setTestRunPromise
|
|
466
|
+
setTestRunPromise(promise: Promise<ExecutionResult> | undefined): void {
|
|
458
467
|
this.testRunPromise = promise;
|
|
459
|
-
}
|
|
468
|
+
}
|
|
460
469
|
|
|
461
470
|
buildQueryState(): MappingTestQueryState {
|
|
462
471
|
const queryState = new MappingTestQueryState(
|
|
@@ -518,21 +527,26 @@ export class MappingTestState {
|
|
|
518
527
|
this.runTime = 0;
|
|
519
528
|
this.setResult(TEST_RESULT.NONE);
|
|
520
529
|
}
|
|
530
|
+
|
|
521
531
|
setResult(result: TEST_RESULT): void {
|
|
522
532
|
this.result = result;
|
|
523
533
|
}
|
|
534
|
+
|
|
524
535
|
toggleSkipTest(): void {
|
|
525
536
|
this.isSkipped = !this.isSkipped;
|
|
526
537
|
}
|
|
527
|
-
|
|
538
|
+
|
|
539
|
+
setQueryState(queryState: MappingTestQueryState): void {
|
|
528
540
|
this.queryState = queryState;
|
|
529
|
-
}
|
|
530
|
-
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
setInputDataState(inputDataState: MappingTestInputDataState): void {
|
|
531
544
|
this.inputDataState = inputDataState;
|
|
532
|
-
}
|
|
533
|
-
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
setAssertionState(assertionState: MappingTestAssertionState): void {
|
|
534
548
|
this.assertionState = assertionState;
|
|
535
|
-
}
|
|
549
|
+
}
|
|
536
550
|
|
|
537
551
|
setInputDataStateBasedOnSource(
|
|
538
552
|
source: MappingElementSource | undefined,
|
|
@@ -300,9 +300,10 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
|
|
|
300
300
|
// or any of its dependencies
|
|
301
301
|
...Array.from(
|
|
302
302
|
(
|
|
303
|
-
(yield
|
|
304
|
-
|
|
305
|
-
|
|
303
|
+
(yield this.editorStore.graphState.getIndexedDependencyEntities()) as Map<
|
|
304
|
+
string,
|
|
305
|
+
Entity[]
|
|
306
|
+
>
|
|
306
307
|
).keys(),
|
|
307
308
|
).map((coordinatesInText) => {
|
|
308
309
|
const { groupId, artifactId } = parseGACoordinates(coordinatesInText);
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { action, computed,
|
|
17
|
+
import { action, computed, flow, makeObservable, observable } from 'mobx';
|
|
18
18
|
import { MINIMUM_SERVICE_OWNERS } from '../../../editor-state/element-editor-state/service/ServiceEditorState.js';
|
|
19
19
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
20
20
|
import {
|
|
@@ -89,7 +89,8 @@ export class ServiceRegistrationState {
|
|
|
89
89
|
readonly editorStore: EditorStore;
|
|
90
90
|
readonly service: Service;
|
|
91
91
|
readonly registrationOptions: ServiceRegistrationEnvironmentConfig[] = [];
|
|
92
|
-
registrationState = ActionState.create();
|
|
92
|
+
readonly registrationState = ActionState.create();
|
|
93
|
+
|
|
93
94
|
serviceEnv?: string | undefined;
|
|
94
95
|
serviceExecutionMode?: ServiceExecutionMode | undefined;
|
|
95
96
|
projectVersion?: Version | string | undefined;
|
|
@@ -103,16 +104,26 @@ export class ServiceRegistrationState {
|
|
|
103
104
|
registrationOptions: ServiceRegistrationEnvironmentConfig[],
|
|
104
105
|
enableModesWithVersioning: boolean,
|
|
105
106
|
) {
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
makeObservable(this, {
|
|
108
|
+
serviceEnv: observable,
|
|
109
|
+
serviceExecutionMode: observable,
|
|
110
|
+
projectVersion: observable,
|
|
111
|
+
activatePostRegistration: observable,
|
|
112
|
+
enableModesWithVersioning: observable,
|
|
113
|
+
TEMPORARY__useStoreModel: observable,
|
|
108
114
|
executionModes: computed,
|
|
109
|
-
|
|
115
|
+
options: computed,
|
|
116
|
+
versionOptions: computed,
|
|
117
|
+
setServiceEnv: action,
|
|
118
|
+
setServiceExecutionMode: action,
|
|
110
119
|
setProjectVersion: action,
|
|
120
|
+
setActivatePostRegistration: action,
|
|
111
121
|
setUseStoreModelWithFullInteractive: action,
|
|
112
122
|
initialize: action,
|
|
123
|
+
updateVersion: action,
|
|
113
124
|
updateType: action,
|
|
114
125
|
updateEnv: action,
|
|
115
|
-
|
|
126
|
+
registerService: flow,
|
|
116
127
|
});
|
|
117
128
|
|
|
118
129
|
this.editorStore = editorStore;
|
|
@@ -123,48 +134,6 @@ export class ServiceRegistrationState {
|
|
|
123
134
|
this.registrationState.setMessageFormatter(prettyCONSTName);
|
|
124
135
|
}
|
|
125
136
|
|
|
126
|
-
setServiceEnv(val: string | undefined): void {
|
|
127
|
-
this.serviceEnv = val;
|
|
128
|
-
}
|
|
129
|
-
setServiceExecutionMode(val: ServiceExecutionMode | undefined): void {
|
|
130
|
-
this.serviceExecutionMode = val;
|
|
131
|
-
}
|
|
132
|
-
setProjectVersion(val: Version | string | undefined): void {
|
|
133
|
-
this.projectVersion = val;
|
|
134
|
-
}
|
|
135
|
-
setActivatePostRegistration(val: boolean): void {
|
|
136
|
-
this.activatePostRegistration = val;
|
|
137
|
-
}
|
|
138
|
-
setUseStoreModelWithFullInteractive(val: boolean): void {
|
|
139
|
-
this.TEMPORARY__useStoreModel = val;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
initialize(): void {
|
|
143
|
-
this.serviceEnv = getNullableFirstElement(this.registrationOptions)?.env;
|
|
144
|
-
this.serviceExecutionMode = this.executionModes[0];
|
|
145
|
-
this.updateVersion();
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
updateVersion(): void {
|
|
149
|
-
if (this.serviceExecutionMode === ServiceExecutionMode.SEMI_INTERACTIVE) {
|
|
150
|
-
this.projectVersion = LATEST_PROJECT_REVISION;
|
|
151
|
-
} else if (this.serviceExecutionMode === ServiceExecutionMode.PROD) {
|
|
152
|
-
this.projectVersion = this.editorStore.sdlcState.projectVersions[0];
|
|
153
|
-
} else {
|
|
154
|
-
this.projectVersion = undefined;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
updateType(val: ServiceExecutionMode | undefined): void {
|
|
159
|
-
this.setServiceExecutionMode(val);
|
|
160
|
-
this.updateVersion();
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
updateEnv(val: string | undefined): void {
|
|
164
|
-
this.setServiceEnv(val);
|
|
165
|
-
this.setServiceExecutionMode(this.executionModes[0]);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
137
|
get options(): ServiceRegistrationEnvironmentConfig[] {
|
|
169
138
|
if (this.enableModesWithVersioning) {
|
|
170
139
|
return this.registrationOptions;
|
|
@@ -214,6 +183,52 @@ export class ServiceRegistrationState {
|
|
|
214
183
|
return undefined;
|
|
215
184
|
}
|
|
216
185
|
|
|
186
|
+
setServiceEnv(val: string | undefined): void {
|
|
187
|
+
this.serviceEnv = val;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
setServiceExecutionMode(val: ServiceExecutionMode | undefined): void {
|
|
191
|
+
this.serviceExecutionMode = val;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
setProjectVersion(val: Version | string | undefined): void {
|
|
195
|
+
this.projectVersion = val;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
setActivatePostRegistration(val: boolean): void {
|
|
199
|
+
this.activatePostRegistration = val;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
setUseStoreModelWithFullInteractive(val: boolean): void {
|
|
203
|
+
this.TEMPORARY__useStoreModel = val;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
initialize(): void {
|
|
207
|
+
this.serviceEnv = getNullableFirstElement(this.registrationOptions)?.env;
|
|
208
|
+
this.serviceExecutionMode = this.executionModes[0];
|
|
209
|
+
this.updateVersion();
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
updateVersion(): void {
|
|
213
|
+
if (this.serviceExecutionMode === ServiceExecutionMode.SEMI_INTERACTIVE) {
|
|
214
|
+
this.projectVersion = LATEST_PROJECT_REVISION;
|
|
215
|
+
} else if (this.serviceExecutionMode === ServiceExecutionMode.PROD) {
|
|
216
|
+
this.projectVersion = this.editorStore.sdlcState.projectVersions[0];
|
|
217
|
+
} else {
|
|
218
|
+
this.projectVersion = undefined;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
updateType(val: ServiceExecutionMode | undefined): void {
|
|
223
|
+
this.setServiceExecutionMode(val);
|
|
224
|
+
this.updateVersion();
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
updateEnv(val: string | undefined): void {
|
|
228
|
+
this.setServiceEnv(val);
|
|
229
|
+
this.setServiceExecutionMode(this.executionModes[0]);
|
|
230
|
+
}
|
|
231
|
+
|
|
217
232
|
*registerService(): GeneratorFn<void> {
|
|
218
233
|
try {
|
|
219
234
|
this.registrationState.inProgress();
|
|
@@ -280,9 +280,11 @@ export class ProjectViewerStore {
|
|
|
280
280
|
this.editorStore.graphManagerState.dependenciesBuildState.setMessage(
|
|
281
281
|
`Fetching dependencies...`,
|
|
282
282
|
);
|
|
283
|
-
const dependencyEntitiesIndex =
|
|
284
|
-
this.editorStore.graphState.getIndexedDependencyEntities()
|
|
285
|
-
|
|
283
|
+
const dependencyEntitiesIndex =
|
|
284
|
+
(yield this.editorStore.graphState.getIndexedDependencyEntities()) as Map<
|
|
285
|
+
string,
|
|
286
|
+
Entity[]
|
|
287
|
+
>;
|
|
286
288
|
stopWatch.record(GRAPH_MANAGER_EVENT.GRAPH_DEPENDENCIES_FETCHED);
|
|
287
289
|
|
|
288
290
|
return {
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
FileGenerationSpecification,
|
|
41
41
|
GenerationSpecification,
|
|
42
42
|
DataElement,
|
|
43
|
+
generateFunctionPrettyName,
|
|
43
44
|
} from '@finos/legend-graph';
|
|
44
45
|
|
|
45
46
|
const getElementProjectExplorerDnDType = (
|
|
@@ -105,6 +106,14 @@ export const getSelectedPackageTreeNodePackage = (
|
|
|
105
106
|
: node.packageableElement.package
|
|
106
107
|
: undefined;
|
|
107
108
|
|
|
109
|
+
export const generatePackageableElementTreeNodeDataLabel = (
|
|
110
|
+
element: PackageableElement,
|
|
111
|
+
node?: PackageTreeNodeData,
|
|
112
|
+
): string =>
|
|
113
|
+
element instanceof ConcreteFunctionDefinition
|
|
114
|
+
? generateFunctionPrettyName(element, false)
|
|
115
|
+
: node?.label ?? element.name;
|
|
116
|
+
|
|
108
117
|
export const getPackableElementTreeNodeData = (
|
|
109
118
|
editorStore: EditorStore,
|
|
110
119
|
element: PackageableElement,
|
|
@@ -112,7 +121,7 @@ export const getPackableElementTreeNodeData = (
|
|
|
112
121
|
): PackageTreeNodeData => ({
|
|
113
122
|
id: element.path,
|
|
114
123
|
dndType: getElementProjectExplorerDnDType(editorStore, element),
|
|
115
|
-
label: element
|
|
124
|
+
label: generatePackageableElementTreeNodeDataLabel(element),
|
|
116
125
|
childrenIds:
|
|
117
126
|
element instanceof Package
|
|
118
127
|
? element.children
|