@finos/legend-application-studio 18.0.1 → 18.1.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/LegendStudio.d.ts.map +1 -1
- package/lib/application/LegendStudio.js +1 -2
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +1 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +1 -3
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +3 -4
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts.map +1 -1
- package/lib/components/editor/ActivityBar.js +3 -3
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.d.ts.map +1 -1
- package/lib/components/editor/Editor.js +81 -93
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.js +2 -3
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.js +2 -3
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +10 -10
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +5 -5
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +1 -2
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +7 -4
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +2 -2
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +14 -14
- 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.js +2 -2
- 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.js +3 -3
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +3 -3
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js +3 -3
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js.map +1 -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 +2 -3
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +3 -3
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +36 -49
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +7 -7
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +8 -17
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +2 -3
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +6 -6
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +59 -51
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -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 +58 -24
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +2 -2
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +3 -3
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +3 -3
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +15 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +3 -3
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +2 -2
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +8 -8
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +3 -3
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js +3 -3
- package/lib/components/editor/edit-panel/uml-editor/TaggedValueEditor.js.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/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +8 -8
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +4 -4
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +2 -4
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +2 -4
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.d.ts.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.js +4 -7
- package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
- package/lib/components/shared/DiffView.d.ts.map +1 -1
- package/lib/components/shared/DiffView.js +1 -2
- package/lib/components/shared/DiffView.js.map +1 -1
- package/lib/components/shared/ProjectSelectorUtils.js +1 -1
- package/lib/components/shared/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/shared/StudioLambdaEditor.d.ts +1 -1
- package/lib/components/shared/StudioLambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/StudioLambdaEditor.js +3 -2
- package/lib/components/shared/StudioLambdaEditor.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js +4 -6
- package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js +2 -2
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +2 -3
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/lib/package.json +2 -7
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -5
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.d.ts +2 -14
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +3 -48
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorStore.d.ts +1 -4
- package/lib/stores/EditorStore.d.ts.map +1 -1
- package/lib/stores/EditorStore.js +9 -20
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +7 -4
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/LegendStudioRouter.js +1 -1
- package/lib/stores/LegendStudioRouter.js.map +1 -1
- package/lib/stores/editor/NewElementState.js +4 -4
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.js +1 -1
- package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js +1 -1
- package/lib/stores/editor-state/GenerationSpecificationEditorState.js.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts +5 -5
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.js +12 -10
- package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts +3 -2
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js +9 -3
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.d.ts +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ClassState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/ClassState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/ElementFileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.d.ts +1 -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 +1 -1
- package/lib/stores/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +4 -4
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js +20 -9
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts +2 -1
- 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 +6 -5
- 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 +2 -1
- 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 +5 -4
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts +2 -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 +4 -3
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +3 -2
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +2 -2
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/shared/ModelClassifierUtils.d.ts +0 -10
- package/lib/stores/shared/ModelClassifierUtils.d.ts.map +1 -1
- package/lib/stores/shared/ModelClassifierUtils.js +0 -11
- package/lib/stores/shared/ModelClassifierUtils.js.map +1 -1
- package/lib/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.d.ts +0 -0
- package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.js +0 -0
- package/lib/stores/shared/modifier/DSL_Data_GraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.d.ts +0 -0
- package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.js +0 -0
- package/lib/stores/shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.d.ts +0 -0
- package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.js +0 -0
- package/lib/stores/shared/modifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.d.ts +7 -7
- package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.js +15 -16
- package/lib/stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.d.ts +0 -0
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.js +0 -0
- package/lib/stores/shared/modifier/DSL_Service_GraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.d.ts +0 -0
- package/lib/stores/shared/modifier/DomainGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.js +3 -3
- package/lib/stores/shared/modifier/DomainGraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/GraphModifierHelper.d.ts +0 -0
- package/lib/stores/shared/modifier/GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/GraphModifierHelper.js +0 -0
- package/lib/stores/shared/modifier/GraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier/ValueSpecificationGraphModifierHelper.d.ts → shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts} +4 -4
- package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier/ValueSpecificationGraphModifierHelper.js → shared/modifier/RawValueSpecificationGraphModifierHelper.js} +8 -9
- package/lib/stores/shared/modifier/RawValueSpecificationGraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.d.ts +0 -0
- package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.js +0 -0
- package/lib/stores/shared/modifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.d.ts +1 -1
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.js +0 -0
- package/lib/stores/shared/modifier/STO_Relational_GraphModifierHelper.js.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.d.ts +0 -0
- package/lib/stores/shared/modifier/Testable_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.js +0 -0
- package/lib/stores/shared/modifier/Testable_GraphModifierHelper.js.map +1 -0
- package/lib/stores/sidebar-state/LocalChangesState.d.ts +1 -0
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +4 -0
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +2 -2
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +6 -2
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +1 -0
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +6 -6
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +11 -16
- package/src/application/LegendStudio.tsx +1 -1
- package/src/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +1 -1
- package/src/components/EditorComponentTestUtils.tsx +2 -2
- package/src/components/LegendStudioApplication.tsx +4 -3
- package/src/components/editor/ActivityBar.tsx +6 -8
- package/src/components/editor/Editor.tsx +70 -103
- package/src/components/editor/StatusBar.tsx +25 -14
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +2 -2
- package/src/components/editor/edit-panel/EditPanel.tsx +2 -2
- package/src/components/editor/edit-panel/FunctionEditor.tsx +12 -12
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +7 -7
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +1 -1
- package/src/components/editor/edit-panel/ModelImporter.tsx +7 -8
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +27 -27
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +2 -2
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +4 -4
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +3 -3
- package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +4 -4
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +3 -3
- package/src/components/editor/edit-panel/diff-editor/EntityDiffView.tsx +1 -1
- package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +1 -1
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +5 -5
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +45 -84
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +9 -9
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +13 -33
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +7 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +6 -6
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +199 -206
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.tsx +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +250 -86
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +2 -2
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +4 -4
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +4 -1
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +6 -2
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +6 -6
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +11 -11
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +5 -5
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/StereotypeSelector.tsx +5 -5
- package/src/components/editor/edit-panel/uml-editor/TaggedValueEditor.tsx +8 -8
- package/src/components/editor/side-bar/Explorer.tsx +4 -4
- package/src/components/editor/side-bar/ProjectOverview.tsx +56 -35
- package/src/components/editor/side-bar/WorkflowManager.tsx +4 -4
- package/src/components/editor/side-bar/WorkspaceReview.tsx +15 -12
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +1 -1
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +12 -9
- package/src/components/project-viewer/ProjectViewer.tsx +14 -7
- package/src/components/shared/DiffView.tsx +1 -1
- package/src/components/shared/ProjectSelectorUtils.tsx +2 -2
- package/src/components/shared/StudioLambdaEditor.tsx +8 -8
- package/src/components/workspace-review/WorkspaceReview.tsx +32 -23
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +2 -2
- package/src/components/workspace-setup/CreateProjectModal.tsx +1 -1
- package/src/components/workspace-setup/WorkspaceSetup.tsx +2 -2
- package/src/index.ts +5 -5
- package/src/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +0 -9
- package/src/stores/EditorGraphState.ts +3 -67
- package/src/stores/EditorStore.ts +12 -24
- package/src/stores/LegendStudioBaseStore.ts +9 -5
- package/src/stores/LegendStudioRouter.ts +1 -1
- package/src/stores/editor/NewElementState.ts +4 -4
- package/src/stores/editor-state/FileGenerationState.ts +1 -1
- package/src/stores/editor-state/GenerationSpecificationEditorState.ts +1 -1
- package/src/stores/editor-state/GraphGenerationState.ts +1 -1
- package/src/stores/editor-state/ModelImporterState.ts +16 -15
- package/src/stores/editor-state/ProjectConfigurationEditorState.ts +15 -1
- package/src/stores/editor-state/element-editor-state/ClassState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/FunctionEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +4 -4
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +18 -10
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +5 -5
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +5 -8
- package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +9 -7
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/testable/TestableEditorState.ts +1 -1
- package/src/stores/project-viewer/ProjectViewerStore.ts +2 -2
- package/src/stores/shared/ModelClassifierUtils.ts +0 -11
- package/src/stores/{graphModifier → shared/modifier}/DSL_Data_GraphModifierHelper.ts +0 -0
- package/src/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.ts +0 -0
- package/src/stores/{graphModifier → shared/modifier}/DSL_Generation_GraphModifierHelper.ts +0 -0
- package/src/stores/{graphModifier → shared/modifier}/DSL_Mapping_GraphModifierHelper.ts +15 -20
- package/src/stores/{graphModifier → shared/modifier}/DSL_Service_GraphModifierHelper.ts +0 -0
- package/src/stores/{graphModifier → shared/modifier}/DomainGraphModifierHelper.ts +2 -3
- package/src/stores/{graphModifier → shared/modifier}/GraphModifierHelper.ts +0 -0
- package/src/stores/{graphModifier/ValueSpecificationGraphModifierHelper.ts → shared/modifier/RawValueSpecificationGraphModifierHelper.ts} +6 -9
- package/src/stores/{graphModifier → shared/modifier}/STO_FlatData_GraphModifierHelper.ts +0 -0
- package/src/stores/{graphModifier → shared/modifier}/STO_Relational_GraphModifierHelper.ts +1 -1
- package/src/stores/{graphModifier → shared/modifier}/Testable_GraphModifierHelper.ts +0 -0
- package/src/stores/sidebar-state/LocalChangesState.ts +7 -0
- package/src/stores/sidebar-state/ProjectOverviewState.ts +2 -2
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +7 -4
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +1 -0
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +8 -6
- package/tsconfig.json +11 -11
- package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DomainGraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DomainGraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/Testable_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/Testable_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/ValueSpecificationGraphModifierHelper.js.map +0 -1
package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx
CHANGED
|
@@ -42,9 +42,17 @@ import {
|
|
|
42
42
|
ArchiveIcon,
|
|
43
43
|
Dialog,
|
|
44
44
|
Panel,
|
|
45
|
+
PanelForm,
|
|
46
|
+
PanelSection,
|
|
47
|
+
PanelFormTextEditor,
|
|
48
|
+
CheckSquareIcon,
|
|
49
|
+
SquareIcon,
|
|
50
|
+
ExclamationTriangleIcon,
|
|
45
51
|
} from '@finos/legend-art';
|
|
46
52
|
import { flowResult } from 'mobx';
|
|
47
53
|
import {
|
|
54
|
+
type Platform,
|
|
55
|
+
PlatformConfiguration,
|
|
48
56
|
ProjectDependency,
|
|
49
57
|
type ProjectConfiguration,
|
|
50
58
|
} from '@finos/legend-server-sdlc';
|
|
@@ -52,7 +60,9 @@ import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
|
52
60
|
import {
|
|
53
61
|
ActionAlertActionType,
|
|
54
62
|
ActionAlertType,
|
|
63
|
+
DocumentationPreview,
|
|
55
64
|
EDITOR_LANGUAGE,
|
|
65
|
+
LEGEND_APPLICATION_DOCUMENTATION_KEY,
|
|
56
66
|
TextInputEditor,
|
|
57
67
|
useApplicationStore,
|
|
58
68
|
} from '@finos/legend-application';
|
|
@@ -97,20 +107,6 @@ const ProjectStructureEditor = observer(
|
|
|
97
107
|
latestVersion &&
|
|
98
108
|
(latestVersion.version > projectConfig.projectStructureVersion.version ||
|
|
99
109
|
latestProjectExtensionVersion > currentProjectExtensionVersion);
|
|
100
|
-
const changeGroupId: React.ChangeEventHandler<HTMLInputElement> = (
|
|
101
|
-
event,
|
|
102
|
-
) => {
|
|
103
|
-
if (!isReadOnly) {
|
|
104
|
-
projectConfig.setGroupId(event.target.value);
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
const changeArtifactId: React.ChangeEventHandler<HTMLInputElement> = (
|
|
108
|
-
event,
|
|
109
|
-
) => {
|
|
110
|
-
if (!isReadOnly) {
|
|
111
|
-
projectConfig.setArtifactId(event.target.value);
|
|
112
|
-
}
|
|
113
|
-
};
|
|
114
110
|
const updateVersion = (): void => {
|
|
115
111
|
flowResult(
|
|
116
112
|
editorStore.projectConfigurationEditorState.updateToLatestStructure(),
|
|
@@ -151,43 +147,32 @@ const ProjectStructureEditor = observer(
|
|
|
151
147
|
</button>
|
|
152
148
|
)}
|
|
153
149
|
</div>
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
<div className="panel__content__form__section__header__prompt">
|
|
160
|
-
The domain for artifacts generated as part of the project build
|
|
161
|
-
pipeline and published to an artifact repository
|
|
162
|
-
</div>
|
|
163
|
-
<input
|
|
164
|
-
className="panel__content__form__section__input"
|
|
165
|
-
spellCheck={false}
|
|
166
|
-
disabled={isReadOnly}
|
|
150
|
+
|
|
151
|
+
<PanelForm>
|
|
152
|
+
<PanelSection>
|
|
153
|
+
<PanelFormTextEditor
|
|
154
|
+
isReadOnly={isReadOnly}
|
|
167
155
|
value={projectConfig.groupId}
|
|
168
|
-
|
|
156
|
+
name="Group ID"
|
|
157
|
+
prompt="The domain for artifacts generated as part of the project build
|
|
158
|
+
pipeline and published to an artifact repository"
|
|
159
|
+
update={(value: string | undefined): void =>
|
|
160
|
+
projectConfig.setGroupId(value ?? '')
|
|
161
|
+
}
|
|
169
162
|
/>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
<div className="panel__content__form">
|
|
173
|
-
<div className="panel__content__form__section">
|
|
174
|
-
<div className="panel__content__form__section__header__label">
|
|
175
|
-
Artifact ID
|
|
176
|
-
</div>
|
|
177
|
-
<div className="panel__content__form__section__header__prompt">
|
|
178
|
-
The identifier (within the domain specified by group ID) for
|
|
179
|
-
artifacts generated as part of the project build pipeline and
|
|
180
|
-
published to an artifact repository
|
|
181
|
-
</div>
|
|
182
|
-
<input
|
|
183
|
-
className="panel__content__form__section__input"
|
|
184
|
-
spellCheck={false}
|
|
185
|
-
disabled={isReadOnly}
|
|
163
|
+
<PanelFormTextEditor
|
|
164
|
+
isReadOnly={isReadOnly}
|
|
186
165
|
value={projectConfig.artifactId}
|
|
187
|
-
|
|
166
|
+
name="Artifact ID"
|
|
167
|
+
prompt="The identifier (within the domain specified by group ID) for
|
|
168
|
+
artifacts generated as part of the project build pipeline and
|
|
169
|
+
published to an artifact repository"
|
|
170
|
+
update={(value: string | undefined): void =>
|
|
171
|
+
projectConfig.setArtifactId(value ?? '')
|
|
172
|
+
}
|
|
188
173
|
/>
|
|
189
|
-
</
|
|
190
|
-
</
|
|
174
|
+
</PanelSection>
|
|
175
|
+
</PanelForm>
|
|
191
176
|
</div>
|
|
192
177
|
);
|
|
193
178
|
},
|
|
@@ -228,32 +213,29 @@ const ProjectDependencyInfoModal = observer(
|
|
|
228
213
|
<div className="modal__title">{prettyCONSTName(type)}</div>
|
|
229
214
|
</div>
|
|
230
215
|
<div className="modal__body">
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
Close
|
|
255
|
-
</button>
|
|
256
|
-
</div>
|
|
216
|
+
{type === DEPENDENCY_INFO_TYPE.DEPENDENCY_TREE ? (
|
|
217
|
+
<TextInputEditor
|
|
218
|
+
inputValue={getDependencyTreeStringFromInfo(info)}
|
|
219
|
+
isReadOnly={true}
|
|
220
|
+
language={EDITOR_LANGUAGE.TEXT}
|
|
221
|
+
showMiniMap={true}
|
|
222
|
+
/>
|
|
223
|
+
) : (
|
|
224
|
+
<TextInputEditor
|
|
225
|
+
inputValue={getConflictsString(info)}
|
|
226
|
+
isReadOnly={true}
|
|
227
|
+
language={EDITOR_LANGUAGE.TEXT}
|
|
228
|
+
showMiniMap={true}
|
|
229
|
+
/>
|
|
230
|
+
)}
|
|
231
|
+
</div>
|
|
232
|
+
<div className="modal__footer">
|
|
233
|
+
<button
|
|
234
|
+
className="btn modal__footer__close-btn"
|
|
235
|
+
onClick={closeModal}
|
|
236
|
+
>
|
|
237
|
+
Close
|
|
238
|
+
</button>
|
|
257
239
|
</div>
|
|
258
240
|
</div>
|
|
259
241
|
</Dialog>
|
|
@@ -350,7 +332,7 @@ const ProjectDependencyEditor = observer(
|
|
|
350
332
|
projectDependency.versionId === MASTER_SNAPSHOT_ALIAS
|
|
351
333
|
? SNAPSHOT_VERSION_ALIAS
|
|
352
334
|
: projectDependency.versionId;
|
|
353
|
-
applicationStore.navigator.
|
|
335
|
+
applicationStore.navigator.visitAddress(
|
|
354
336
|
`${
|
|
355
337
|
applicationStore.config.baseUrl
|
|
356
338
|
}view/archive/${generateGAVCoordinates(
|
|
@@ -365,8 +347,8 @@ const ProjectDependencyEditor = observer(
|
|
|
365
347
|
// In the future, the studio instance may be part of the project data
|
|
366
348
|
const openProject = (): void => {
|
|
367
349
|
if (projectDependencyData) {
|
|
368
|
-
applicationStore.navigator.
|
|
369
|
-
applicationStore.navigator.
|
|
350
|
+
applicationStore.navigator.visitAddress(
|
|
351
|
+
applicationStore.navigator.generateAddress(
|
|
370
352
|
generateViewProjectRoute(projectDependencyData.projectId),
|
|
371
353
|
),
|
|
372
354
|
);
|
|
@@ -419,7 +401,7 @@ const ProjectDependencyEditor = observer(
|
|
|
419
401
|
}
|
|
420
402
|
onClick={openProject}
|
|
421
403
|
tabIndex={-1}
|
|
422
|
-
title=
|
|
404
|
+
title="Open Project"
|
|
423
405
|
>
|
|
424
406
|
<ExternalLinkSquareIcon />
|
|
425
407
|
</button>
|
|
@@ -432,7 +414,7 @@ const ProjectDependencyEditor = observer(
|
|
|
432
414
|
}
|
|
433
415
|
onClick={openProjectinArchive}
|
|
434
416
|
tabIndex={-1}
|
|
435
|
-
title=
|
|
417
|
+
title="Open Project in archive"
|
|
436
418
|
>
|
|
437
419
|
<ArchiveIcon />
|
|
438
420
|
</button>
|
|
@@ -441,7 +423,7 @@ const ProjectDependencyEditor = observer(
|
|
|
441
423
|
disabled={isReadOnly}
|
|
442
424
|
onClick={deleteValue}
|
|
443
425
|
tabIndex={-1}
|
|
444
|
-
title=
|
|
426
|
+
title="Close"
|
|
445
427
|
>
|
|
446
428
|
<TimesIcon />
|
|
447
429
|
</button>
|
|
@@ -450,13 +432,190 @@ const ProjectDependencyEditor = observer(
|
|
|
450
432
|
},
|
|
451
433
|
);
|
|
452
434
|
|
|
435
|
+
const PlatformDependencyViewer = observer(
|
|
436
|
+
(props: {
|
|
437
|
+
platform: PlatformConfiguration;
|
|
438
|
+
isDefault: boolean;
|
|
439
|
+
isLatestVersion?: boolean | undefined;
|
|
440
|
+
}) => {
|
|
441
|
+
const { platform, isDefault, isLatestVersion } = props;
|
|
442
|
+
|
|
443
|
+
return (
|
|
444
|
+
<div className="platform-configurations-editor__dependency">
|
|
445
|
+
<div className="platform-configurations-editor__dependency__label">
|
|
446
|
+
<div className="platform-configurations-editor__dependency__label__status">
|
|
447
|
+
{isDefault && (
|
|
448
|
+
<CheckCircleIcon
|
|
449
|
+
className="platform-configurations-editor__dependency__label__status--default"
|
|
450
|
+
title="Platform version is up to date"
|
|
451
|
+
/>
|
|
452
|
+
)}
|
|
453
|
+
{isLatestVersion !== undefined &&
|
|
454
|
+
(isLatestVersion ? (
|
|
455
|
+
<CheckCircleIcon
|
|
456
|
+
className="platform-configurations-editor__dependency__label__status--up-to-date"
|
|
457
|
+
title="Platform version is up to date"
|
|
458
|
+
/>
|
|
459
|
+
) : (
|
|
460
|
+
<ExclamationTriangleIcon
|
|
461
|
+
className="platform-configurations-editor__dependency__label__status--outdated"
|
|
462
|
+
title="Platform version is outdated"
|
|
463
|
+
/>
|
|
464
|
+
))}
|
|
465
|
+
</div>
|
|
466
|
+
<div className="platform-configurations-editor__dependency__label__text">
|
|
467
|
+
{platform.name}
|
|
468
|
+
</div>
|
|
469
|
+
<div
|
|
470
|
+
className={clsx(
|
|
471
|
+
'platform-configurations-editor__dependency__label__version',
|
|
472
|
+
)}
|
|
473
|
+
>
|
|
474
|
+
{platform.version}
|
|
475
|
+
</div>
|
|
476
|
+
</div>
|
|
477
|
+
</div>
|
|
478
|
+
);
|
|
479
|
+
},
|
|
480
|
+
);
|
|
481
|
+
|
|
482
|
+
const ProjectPlatformVersionEditor = observer(
|
|
483
|
+
(props: { projectConfig: ProjectConfiguration; isReadOnly: boolean }) => {
|
|
484
|
+
const { projectConfig, isReadOnly } = props;
|
|
485
|
+
const editorStore = useEditorStore();
|
|
486
|
+
|
|
487
|
+
const convertPlatformtoPlatformConfiguration = (
|
|
488
|
+
platforms: Platform[] | undefined,
|
|
489
|
+
): PlatformConfiguration[] | undefined => {
|
|
490
|
+
if (platforms) {
|
|
491
|
+
return platforms.map(
|
|
492
|
+
(platform) =>
|
|
493
|
+
new PlatformConfiguration(platform.name, platform.platformVersion),
|
|
494
|
+
);
|
|
495
|
+
} else {
|
|
496
|
+
return undefined;
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
|
|
500
|
+
const platformConfigurations = projectConfig.platformConfigurations;
|
|
501
|
+
const defaultPlatforms = convertPlatformtoPlatformConfiguration(
|
|
502
|
+
editorStore.sdlcServerClient.platforms,
|
|
503
|
+
);
|
|
504
|
+
const isUpToDate = platformConfigurations?.every(
|
|
505
|
+
(conf) =>
|
|
506
|
+
defaultPlatforms?.find((p) => p.name === conf.name)?.version ===
|
|
507
|
+
conf.version,
|
|
508
|
+
);
|
|
509
|
+
const updateLatestToLatestVersion = (): void => {
|
|
510
|
+
if (platformConfigurations && defaultPlatforms) {
|
|
511
|
+
projectConfig.setPlatformConfigurations(
|
|
512
|
+
platformConfigurations.map((conf) => {
|
|
513
|
+
const matchingPlatformConfig = defaultPlatforms.find(
|
|
514
|
+
(p) => p.name === conf.name,
|
|
515
|
+
);
|
|
516
|
+
if (matchingPlatformConfig) {
|
|
517
|
+
return matchingPlatformConfig;
|
|
518
|
+
}
|
|
519
|
+
return conf;
|
|
520
|
+
}),
|
|
521
|
+
);
|
|
522
|
+
}
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
const toggleOverridePlatformConfigurations = (): void => {
|
|
526
|
+
if (!projectConfig.platformConfigurations) {
|
|
527
|
+
projectConfig.setPlatformConfigurations(defaultPlatforms);
|
|
528
|
+
} else {
|
|
529
|
+
projectConfig.setPlatformConfigurations(undefined);
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
|
|
533
|
+
return (
|
|
534
|
+
<Panel>
|
|
535
|
+
<PanelForm>
|
|
536
|
+
<DocumentationPreview
|
|
537
|
+
text="By default, your project will use the latest platform
|
|
538
|
+
dependencies' versions (e.g. engine, sdlc, etc.) in the pipeline.
|
|
539
|
+
This might be undesirable when you want to produce stable
|
|
540
|
+
artifacts; in this case, you can freeze the platform dependencies'
|
|
541
|
+
versions"
|
|
542
|
+
documentationKey={
|
|
543
|
+
LEGEND_APPLICATION_DOCUMENTATION_KEY.QUESTION_WHEN_TO_CONFIGURE_PLATFORM_VERSIONS
|
|
544
|
+
}
|
|
545
|
+
/>
|
|
546
|
+
<div className="platform-configurations-editor__dependencies">
|
|
547
|
+
<div className="platform-configurations-editor__dependencies__header">
|
|
548
|
+
<div className="platform-configurations-editor__dependencies__header__left">
|
|
549
|
+
<div
|
|
550
|
+
className="platform-configurations-editor__toggler"
|
|
551
|
+
onClick={toggleOverridePlatformConfigurations}
|
|
552
|
+
>
|
|
553
|
+
<button
|
|
554
|
+
className={clsx(
|
|
555
|
+
'platform-configurations-editor__toggler__btn',
|
|
556
|
+
{
|
|
557
|
+
'platform-configurations-editor__toggler__btn--toggled':
|
|
558
|
+
Boolean(platformConfigurations),
|
|
559
|
+
},
|
|
560
|
+
)}
|
|
561
|
+
disabled={isReadOnly}
|
|
562
|
+
tabIndex={-1}
|
|
563
|
+
>
|
|
564
|
+
{platformConfigurations ? (
|
|
565
|
+
<CheckSquareIcon />
|
|
566
|
+
) : (
|
|
567
|
+
<SquareIcon />
|
|
568
|
+
)}
|
|
569
|
+
</button>
|
|
570
|
+
<div className="platform-configurations-editor__toggler__prompt">
|
|
571
|
+
{`Override platform dependencies' versions`}
|
|
572
|
+
</div>
|
|
573
|
+
</div>
|
|
574
|
+
</div>
|
|
575
|
+
{platformConfigurations && !isUpToDate && (
|
|
576
|
+
<div className="platform-configurations-editor__dependencies__header__right">
|
|
577
|
+
<button
|
|
578
|
+
className="btn btn--dark"
|
|
579
|
+
tabIndex={-1}
|
|
580
|
+
onClick={updateLatestToLatestVersion}
|
|
581
|
+
>
|
|
582
|
+
Update to the current latest platform version
|
|
583
|
+
</button>
|
|
584
|
+
</div>
|
|
585
|
+
)}
|
|
586
|
+
</div>
|
|
587
|
+
<div className="platform-configurations-editor__dependencies__content">
|
|
588
|
+
{!platformConfigurations &&
|
|
589
|
+
defaultPlatforms?.map((p) => (
|
|
590
|
+
<PlatformDependencyViewer
|
|
591
|
+
key={p.name}
|
|
592
|
+
isDefault={true}
|
|
593
|
+
platform={p}
|
|
594
|
+
/>
|
|
595
|
+
))}
|
|
596
|
+
{platformConfigurations?.map((p) => (
|
|
597
|
+
<PlatformDependencyViewer
|
|
598
|
+
key={p.name}
|
|
599
|
+
platform={p}
|
|
600
|
+
isDefault={false}
|
|
601
|
+
isLatestVersion={isUpToDate}
|
|
602
|
+
/>
|
|
603
|
+
))}
|
|
604
|
+
</div>
|
|
605
|
+
</div>
|
|
606
|
+
</PanelForm>
|
|
607
|
+
</Panel>
|
|
608
|
+
);
|
|
609
|
+
},
|
|
610
|
+
);
|
|
611
|
+
|
|
453
612
|
const ProjectDependencyActions = observer(
|
|
454
613
|
(props: { config: ProjectConfigurationEditorState }) => {
|
|
455
614
|
const { config } = props;
|
|
456
615
|
const hasConflicts = config.dependencyInfo?.conflicts.length;
|
|
457
616
|
const viewTree = (): void => {
|
|
458
617
|
if (config.dependencyInfo) {
|
|
459
|
-
config.setDependencyInfoModal(DEPENDENCY_INFO_TYPE.
|
|
618
|
+
config.setDependencyInfoModal(DEPENDENCY_INFO_TYPE.DEPENDENCY_TREE);
|
|
460
619
|
}
|
|
461
620
|
};
|
|
462
621
|
const viewConflict = (): void => {
|
|
@@ -467,11 +626,11 @@ const ProjectDependencyActions = observer(
|
|
|
467
626
|
return (
|
|
468
627
|
<div className="project-dependency-editor__info">
|
|
469
628
|
<button
|
|
470
|
-
className="
|
|
629
|
+
className="btn btn--dark"
|
|
471
630
|
tabIndex={-1}
|
|
472
631
|
onClick={viewTree}
|
|
473
632
|
disabled={!config.dependencyInfo}
|
|
474
|
-
title=
|
|
633
|
+
title="View dependency tree"
|
|
475
634
|
>
|
|
476
635
|
View Dependency Tree
|
|
477
636
|
</button>
|
|
@@ -484,7 +643,7 @@ const ProjectDependencyActions = observer(
|
|
|
484
643
|
disabled={
|
|
485
644
|
!config.dependencyInfo || !config.dependencyInfo.conflicts.length
|
|
486
645
|
}
|
|
487
|
-
title=
|
|
646
|
+
title="View any conflcits in your dependencies"
|
|
488
647
|
>
|
|
489
648
|
View Conflicts
|
|
490
649
|
</button>
|
|
@@ -506,6 +665,7 @@ export const ProjectConfigurationEditor = observer(() => {
|
|
|
506
665
|
const tabs = [
|
|
507
666
|
CONFIGURATION_EDITOR_TAB.PROJECT_STRUCTURE,
|
|
508
667
|
CONFIGURATION_EDITOR_TAB.PROJECT_DEPENDENCIES,
|
|
668
|
+
CONFIGURATION_EDITOR_TAB.PLATFORM_CONFIGURATIONS,
|
|
509
669
|
];
|
|
510
670
|
const changeTab =
|
|
511
671
|
(tab: CONFIGURATION_EDITOR_TAB): (() => void) =>
|
|
@@ -553,7 +713,7 @@ export const ProjectConfigurationEditor = observer(() => {
|
|
|
553
713
|
const disableAddButton =
|
|
554
714
|
selectedTab === CONFIGURATION_EDITOR_TAB.PROJECT_STRUCTURE || isReadOnly;
|
|
555
715
|
const updateConfigs = (): void => {
|
|
556
|
-
if (editorStore.hasUnpushedChanges) {
|
|
716
|
+
if (editorStore.localChangesState.hasUnpushedChanges) {
|
|
557
717
|
editorStore.setActionAlertInfo({
|
|
558
718
|
message: 'You have unpushed changes',
|
|
559
719
|
prompt:
|
|
@@ -566,7 +726,6 @@ export const ProjectConfigurationEditor = observer(() => {
|
|
|
566
726
|
label: 'Proceed to update project dependencies',
|
|
567
727
|
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
|
568
728
|
handler: (): void => {
|
|
569
|
-
editorStore.setIgnoreNavigationBlocking(true);
|
|
570
729
|
flowResult(configState.updateConfigs()).catch(
|
|
571
730
|
applicationStore.alertUnhandledError,
|
|
572
731
|
);
|
|
@@ -680,7 +839,12 @@ export const ProjectConfigurationEditor = observer(() => {
|
|
|
680
839
|
)}
|
|
681
840
|
</div>
|
|
682
841
|
)}
|
|
683
|
-
|
|
842
|
+
{selectedTab === CONFIGURATION_EDITOR_TAB.PLATFORM_CONFIGURATIONS && (
|
|
843
|
+
<ProjectPlatformVersionEditor
|
|
844
|
+
projectConfig={currentProjectConfiguration}
|
|
845
|
+
isReadOnly={isReadOnly}
|
|
846
|
+
/>
|
|
847
|
+
)}
|
|
684
848
|
{configState.dependencyInfo &&
|
|
685
849
|
configState.dependencyInfoModalType && (
|
|
686
850
|
<ProjectDependencyInfoModal
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
service_setDocumentation,
|
|
46
46
|
service_setPattern,
|
|
47
47
|
service_updateOwner,
|
|
48
|
-
} from '../../../../stores/
|
|
48
|
+
} from '../../../../stores/shared/modifier/DSL_Service_GraphModifierHelper.js';
|
|
49
49
|
import { validate_ServicePattern } from '@finos/legend-graph';
|
|
50
50
|
import { ServiceTestableEditor } from './testable/ServiceTestableEditor.js';
|
|
51
51
|
import { useApplicationNavigationContext } from '@finos/legend-application';
|
|
@@ -218,7 +218,7 @@ const ServiceGeneralEditor = observer(() => {
|
|
|
218
218
|
className="service-editor__pattern__parameter__action"
|
|
219
219
|
disabled={isReadOnly}
|
|
220
220
|
onClick={removePatternParameter(parameter)}
|
|
221
|
-
title=
|
|
221
|
+
title="Remove parameter"
|
|
222
222
|
tabIndex={-1}
|
|
223
223
|
>
|
|
224
224
|
<TimesIcon />
|
|
@@ -272,7 +272,7 @@ const PureExecutionContextConfigurationEditor = observer(
|
|
|
272
272
|
className="btn--dark btn--sm service-execution-editor__configuration__item__btn"
|
|
273
273
|
onClick={visitMapping}
|
|
274
274
|
tabIndex={-1}
|
|
275
|
-
title=
|
|
275
|
+
title="See mapping"
|
|
276
276
|
>
|
|
277
277
|
<LongArrowRightIcon />
|
|
278
278
|
</button>
|
|
@@ -307,7 +307,7 @@ const PureExecutionContextConfigurationEditor = observer(
|
|
|
307
307
|
className="btn--sm btn--dark service-execution-editor__configuration__item__btn"
|
|
308
308
|
onClick={visitRuntime}
|
|
309
309
|
tabIndex={-1}
|
|
310
|
-
title=
|
|
310
|
+
title="See runtime"
|
|
311
311
|
>
|
|
312
312
|
<LongArrowRightIcon />
|
|
313
313
|
</button>
|
|
@@ -355,7 +355,7 @@ export const ChangeExecutionModal = observer(
|
|
|
355
355
|
spellCheck={false}
|
|
356
356
|
value={keyValue}
|
|
357
357
|
onChange={onChange}
|
|
358
|
-
placeholder=
|
|
358
|
+
placeholder="Multi Execution Key Name"
|
|
359
359
|
validationErrorMessage={validationMessage}
|
|
360
360
|
/>
|
|
361
361
|
);
|
|
@@ -579,7 +579,7 @@ export const NewExecutionParameterModal = observer(
|
|
|
579
579
|
spellCheck={false}
|
|
580
580
|
value={keyValue}
|
|
581
581
|
onChange={onChange}
|
|
582
|
-
placeholder=
|
|
582
|
+
placeholder="Key execution name"
|
|
583
583
|
validationErrorMessage={validationMessage}
|
|
584
584
|
/>
|
|
585
585
|
</div>
|
|
@@ -42,7 +42,6 @@ import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
|
42
42
|
import {
|
|
43
43
|
EDITOR_LANGUAGE,
|
|
44
44
|
ExecutionPlanViewer,
|
|
45
|
-
LambdaParameterValuesEditor,
|
|
46
45
|
useApplicationStore,
|
|
47
46
|
} from '@finos/legend-application';
|
|
48
47
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
@@ -55,6 +54,7 @@ import {
|
|
|
55
54
|
import {
|
|
56
55
|
type QueryBuilderState,
|
|
57
56
|
ServiceQueryBuilderState,
|
|
57
|
+
LambdaParameterValuesEditor,
|
|
58
58
|
} from '@finos/legend-query-builder';
|
|
59
59
|
|
|
60
60
|
const ServiceExecutionResultViewer = observer(
|
|
@@ -466,6 +466,9 @@ export const ServiceExecutionQueryEditor = observer(
|
|
|
466
466
|
.showModal && (
|
|
467
467
|
<LambdaParameterValuesEditor
|
|
468
468
|
graph={executionState.editorStore.graphManagerState.graph}
|
|
469
|
+
observerContext={
|
|
470
|
+
executionState.editorStore.changeDetectionState.observerContext
|
|
471
|
+
}
|
|
469
472
|
lambdaParametersState={executionState.parameterState}
|
|
470
473
|
/>
|
|
471
474
|
)}
|
|
@@ -30,7 +30,7 @@ import type { ServiceTestSuite } from '@finos/legend-graph';
|
|
|
30
30
|
import { ServiceTestDataEditor } from './ServiceTestDataEditor.js';
|
|
31
31
|
import { ServiceTestsEditor } from './ServiceTestsEditor.js';
|
|
32
32
|
import { forwardRef, useState } from 'react';
|
|
33
|
-
import { testSuite_setId } from '../../../../../stores/
|
|
33
|
+
import { testSuite_setId } from '../../../../../stores/shared/modifier/Testable_GraphModifierHelper.js';
|
|
34
34
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
35
35
|
import type {
|
|
36
36
|
ServiceTestableState,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
import {
|
|
18
18
|
ContextMenu,
|
|
19
19
|
PlusIcon,
|
|
@@ -36,6 +36,7 @@ import {
|
|
|
36
36
|
TimesIcon,
|
|
37
37
|
} from '@finos/legend-art';
|
|
38
38
|
import { type ValueSpecification, PRIMITIVE_TYPE } from '@finos/legend-graph';
|
|
39
|
+
import { BasicValueSpecificationEditor } from '@finos/legend-query-builder';
|
|
39
40
|
import {
|
|
40
41
|
filterByType,
|
|
41
42
|
guaranteeNonNullable,
|
|
@@ -55,7 +56,7 @@ import type { TestAssertionEditorState } from '../../../../../stores/editor-stat
|
|
|
55
56
|
import {
|
|
56
57
|
atomicTest_setId,
|
|
57
58
|
testAssertion_setId,
|
|
58
|
-
} from '../../../../../stores/
|
|
59
|
+
} from '../../../../../stores/shared/modifier/Testable_GraphModifierHelper.js';
|
|
59
60
|
import {
|
|
60
61
|
getTestableResultFromTestResult,
|
|
61
62
|
TESTABLE_RESULT,
|
|
@@ -233,6 +234,9 @@ const ServiceTestParameterEditor = observer(
|
|
|
233
234
|
paramState.updateValueSpecification(val);
|
|
234
235
|
}}
|
|
235
236
|
graph={setupState.editorStore.graphManagerState.graph}
|
|
237
|
+
obseverContext={
|
|
238
|
+
setupState.editorStore.changeDetectionState.observerContext
|
|
239
|
+
}
|
|
236
240
|
typeCheckOption={{
|
|
237
241
|
expectedType:
|
|
238
242
|
paramState.varExpression.genericType?.value.rawType ??
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
type TestAssertionEditorState,
|
|
41
41
|
type TestAssertionState,
|
|
42
42
|
} from '../../../../stores/editor-state/element-editor-state/testable/TestAssertionState.js';
|
|
43
|
-
import { externalFormatData_setData } from '../../../../stores/
|
|
43
|
+
import { externalFormatData_setData } from '../../../../stores/shared/modifier/DSL_Data_GraphModifierHelper.js';
|
|
44
44
|
import { TESTABLE_RESULT } from '../../../../stores/sidebar-state/testable/GlobalTestRunnerState.js';
|
|
45
45
|
import { JsonDiffView } from '../../../shared/DiffView.js';
|
|
46
46
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
@@ -72,7 +72,7 @@ const EqualToJsonAsssertionEditor = observer(
|
|
|
72
72
|
disabled={testAssertionEditorState.testState.isReadOnly}
|
|
73
73
|
tabIndex={-1}
|
|
74
74
|
onClick={formatExpectedResultJSONString}
|
|
75
|
-
title=
|
|
75
|
+
title="Format JSON (Alt + Shift + F)"
|
|
76
76
|
>
|
|
77
77
|
<WrenchIcon />
|
|
78
78
|
</button>
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
annotatedElement_addStereotype,
|
|
84
84
|
annotatedElement_deleteTaggedValue,
|
|
85
85
|
association_changePropertyType,
|
|
86
|
-
} from '../../../../stores/
|
|
86
|
+
} from '../../../../stores/shared/modifier/DomainGraphModifierHelper.js';
|
|
87
87
|
import {
|
|
88
88
|
CLASS_PROPERTY_TYPE,
|
|
89
89
|
getClassPropertyType,
|
|
@@ -201,7 +201,7 @@ const AssociationPropertyBasicEditor = observer(
|
|
|
201
201
|
value={property.name}
|
|
202
202
|
spellCheck={false}
|
|
203
203
|
onChange={changeValue}
|
|
204
|
-
placeholder=
|
|
204
|
+
placeholder="Property name"
|
|
205
205
|
validationErrorMessage={
|
|
206
206
|
isPropertyDuplicated(property) ? 'Duplicated property' : undefined
|
|
207
207
|
}
|
|
@@ -213,7 +213,7 @@ const AssociationPropertyBasicEditor = observer(
|
|
|
213
213
|
options={propertyTypeOptions}
|
|
214
214
|
onChange={changePropertyType}
|
|
215
215
|
value={selectedPropertyType}
|
|
216
|
-
placeholder=
|
|
216
|
+
placeholder="Choose a type..."
|
|
217
217
|
filterOption={filterOption}
|
|
218
218
|
/>
|
|
219
219
|
)}
|
|
@@ -249,7 +249,7 @@ const AssociationPropertyBasicEditor = observer(
|
|
|
249
249
|
className="property-basic-editor__type__visit-btn"
|
|
250
250
|
onClick={openElement}
|
|
251
251
|
tabIndex={-1}
|
|
252
|
-
title=
|
|
252
|
+
title="Visit element"
|
|
253
253
|
>
|
|
254
254
|
<ArrowCircleRightIcon />
|
|
255
255
|
</button>
|
|
@@ -281,7 +281,7 @@ const AssociationPropertyBasicEditor = observer(
|
|
|
281
281
|
className="property-basic-editor__type__visit-btn"
|
|
282
282
|
onClick={openElement}
|
|
283
283
|
tabIndex={-1}
|
|
284
|
-
title=
|
|
284
|
+
title="Visit element"
|
|
285
285
|
>
|
|
286
286
|
<ArrowCircleRightIcon />
|
|
287
287
|
</button>
|
|
@@ -309,7 +309,7 @@ const AssociationPropertyBasicEditor = observer(
|
|
|
309
309
|
className="uml-element-editor__basic__detail-btn"
|
|
310
310
|
onClick={selectProperty}
|
|
311
311
|
tabIndex={-1}
|
|
312
|
-
title=
|
|
312
|
+
title="See detail"
|
|
313
313
|
>
|
|
314
314
|
<LongArrowRightIcon />
|
|
315
315
|
</button>
|