@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
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
18
18
|
import { WorkspaceType } from '@finos/legend-server-sdlc';
|
|
19
19
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
20
|
-
import { generatePath } from '
|
|
20
|
+
import { generatePath } from '@finos/legend-application';
|
|
21
21
|
|
|
22
22
|
export enum LEGEND_STUDIO_PATH_PARAM_TOKEN {
|
|
23
23
|
PROJECT_ID = 'projectId',
|
|
@@ -80,18 +80,18 @@ import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../DSL
|
|
|
80
80
|
import {
|
|
81
81
|
packageableConnection_setConnectionValue,
|
|
82
82
|
runtime_addMapping,
|
|
83
|
-
} from '../
|
|
83
|
+
} from '../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
84
84
|
import {
|
|
85
85
|
fileGeneration_setScopeElements,
|
|
86
86
|
fileGeneration_setType,
|
|
87
87
|
generationSpecification_addGenerationElement,
|
|
88
|
-
} from '../
|
|
88
|
+
} from '../shared/modifier/DSL_Generation_GraphModifierHelper.js';
|
|
89
89
|
import {
|
|
90
90
|
service_initNewService,
|
|
91
91
|
service_setExecution,
|
|
92
|
-
} from '../
|
|
92
|
+
} from '../shared/modifier/DSL_Service_GraphModifierHelper.js';
|
|
93
93
|
import type { EmbeddedDataTypeOption } from '../editor-state/element-editor-state/data/DataEditorState.js';
|
|
94
|
-
import { dataElement_setEmbeddedData } from '../
|
|
94
|
+
import { dataElement_setEmbeddedData } from '../shared/modifier/DSL_Data_GraphModifierHelper.js';
|
|
95
95
|
import { PACKAGEABLE_ELEMENT_TYPE } from '../shared/ModelClassifierUtils.js';
|
|
96
96
|
import {
|
|
97
97
|
buildElementOption,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
fileGeneration_addConfigurationProperty,
|
|
55
55
|
fileGeneration_addScopeElement,
|
|
56
56
|
fileGeneration_deleteScopeElement,
|
|
57
|
-
} from '../
|
|
57
|
+
} from '../shared/modifier/DSL_Generation_GraphModifierHelper.js';
|
|
58
58
|
|
|
59
59
|
export class FileGenerationState {
|
|
60
60
|
editorStore: EditorStore;
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
generationSpecification_addNode,
|
|
34
34
|
generationSpecification_deleteGenerationNode,
|
|
35
|
-
} from '../
|
|
35
|
+
} from '../shared/modifier/DSL_Generation_GraphModifierHelper.js';
|
|
36
36
|
|
|
37
37
|
export interface GenerationSpecNodeDragSource {
|
|
38
38
|
nodeState: GenerationTreeNodeState;
|
|
@@ -66,7 +66,7 @@ import { ExternalFormatState } from './ExternalFormatState.js';
|
|
|
66
66
|
import {
|
|
67
67
|
generationSpecification_addFileGeneration,
|
|
68
68
|
generationSpecification_addGenerationElement,
|
|
69
|
-
} from '../
|
|
69
|
+
} from '../shared/modifier/DSL_Generation_GraphModifierHelper.js';
|
|
70
70
|
|
|
71
71
|
export const DEFAULT_GENERATION_SPECIFICATION_NAME =
|
|
72
72
|
'MyGenerationSpecification';
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
externalFormat_schemaSet_setFormat,
|
|
51
51
|
externalFormat_schemaSet_setSchemas,
|
|
52
|
-
} from '../
|
|
52
|
+
} from '../shared/modifier/DSL_ExternalFormat_GraphModifierHelper.js';
|
|
53
53
|
import { InnerSchemaSetEditorState } from './element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js';
|
|
54
54
|
|
|
55
55
|
export enum MODEL_IMPORT_NATIVE_INPUT_TYPE {
|
|
@@ -67,7 +67,7 @@ export enum MODEL_IMPORT_TYPE {
|
|
|
67
67
|
export abstract class ModelImporterEditorState {
|
|
68
68
|
readonly editorStore: EditorStore;
|
|
69
69
|
readonly modelImporterState: ModelImporterState;
|
|
70
|
-
loadModelActionState = ActionState.create();
|
|
70
|
+
readonly loadModelActionState = ActionState.create();
|
|
71
71
|
|
|
72
72
|
constructor(modelImporterState: ModelImporterState) {
|
|
73
73
|
this.editorStore = modelImporterState.editorStore;
|
|
@@ -80,7 +80,7 @@ export abstract class ModelImporterEditorState {
|
|
|
80
80
|
|
|
81
81
|
abstract get isLoadingDisabled(): boolean;
|
|
82
82
|
|
|
83
|
-
abstract loadModel():
|
|
83
|
+
abstract loadModel(): Promise<void>;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
@@ -235,7 +235,7 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
|
235
235
|
return `###Pure\n Class model::A\n {\n\n}`;
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
|
|
238
|
+
async loadModel(): Promise<void> {
|
|
239
239
|
try {
|
|
240
240
|
this.loadModelActionState.inProgress();
|
|
241
241
|
this.editorStore.setBlockingAlert({
|
|
@@ -243,17 +243,18 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
|
243
243
|
prompt: 'Please do not close the application',
|
|
244
244
|
showLoading: true,
|
|
245
245
|
});
|
|
246
|
-
const entities =
|
|
246
|
+
const entities = await this.loadEntites();
|
|
247
247
|
const message = `loading entities from ${
|
|
248
248
|
this.editorStore.applicationStore.config.appName
|
|
249
249
|
} [${this.modelImporterState.replace ? `potentially affected ` : ''} ${
|
|
250
250
|
entities.length
|
|
251
251
|
} entities]`;
|
|
252
|
-
|
|
252
|
+
await this.editorStore.sdlcServerClient.updateEntities(
|
|
253
253
|
this.editorStore.sdlcState.activeProject.projectId,
|
|
254
254
|
this.editorStore.sdlcState.activeWorkspace,
|
|
255
255
|
{ replace: this.modelImporterState.replace, entities, message },
|
|
256
256
|
);
|
|
257
|
+
this.editorStore.setIgnoreNavigationBlocking(true);
|
|
257
258
|
this.editorStore.applicationStore.navigator.reload();
|
|
258
259
|
} catch (error) {
|
|
259
260
|
assertErrorThrown(error);
|
|
@@ -317,8 +318,8 @@ export class ExtensionModelImporterEditorState extends ModelImporterEditorState
|
|
|
317
318
|
this.config = extensionConfiguration;
|
|
318
319
|
}
|
|
319
320
|
|
|
320
|
-
|
|
321
|
-
|
|
321
|
+
async loadModel(): Promise<void> {
|
|
322
|
+
await this.config.loadModel(this.rendererState);
|
|
322
323
|
}
|
|
323
324
|
}
|
|
324
325
|
|
|
@@ -393,7 +394,7 @@ export class ExternalFormatModelImporterState extends ModelImporterEditorState {
|
|
|
393
394
|
}
|
|
394
395
|
}
|
|
395
396
|
|
|
396
|
-
|
|
397
|
+
async loadModel(): Promise<void> {
|
|
397
398
|
this.loadModelActionState.inProgress();
|
|
398
399
|
try {
|
|
399
400
|
this.loadModelActionState.inProgress();
|
|
@@ -404,15 +405,14 @@ export class ExternalFormatModelImporterState extends ModelImporterEditorState {
|
|
|
404
405
|
});
|
|
405
406
|
const modelgenerationstate =
|
|
406
407
|
this.schemaSetEditorState.schemaSetModelGenerationState;
|
|
407
|
-
const entities =
|
|
408
|
+
const entities = await flowResult(
|
|
408
409
|
modelgenerationstate.getImportEntities(),
|
|
409
|
-
)
|
|
410
|
+
);
|
|
410
411
|
if (modelgenerationstate.targetBinding) {
|
|
411
|
-
const schemaEntity =
|
|
412
|
+
const schemaEntity =
|
|
412
413
|
this.editorStore.graphManagerState.graphManager.elementToEntity(
|
|
413
414
|
this.schemaSet,
|
|
414
|
-
)
|
|
415
|
-
)) as Entity;
|
|
415
|
+
);
|
|
416
416
|
entities.push(schemaEntity);
|
|
417
417
|
}
|
|
418
418
|
assertTrue(Boolean(entities.length), 'No entities to load');
|
|
@@ -421,11 +421,12 @@ export class ExternalFormatModelImporterState extends ModelImporterEditorState {
|
|
|
421
421
|
} [${this.modelImporterState.replace ? `potentially affected ` : ''} ${
|
|
422
422
|
entities.length
|
|
423
423
|
} entities]`;
|
|
424
|
-
|
|
424
|
+
await this.editorStore.sdlcServerClient.updateEntities(
|
|
425
425
|
this.editorStore.sdlcState.activeProject.projectId,
|
|
426
426
|
this.editorStore.sdlcState.activeWorkspace,
|
|
427
427
|
{ replace: this.modelImporterState.replace, entities, message },
|
|
428
428
|
);
|
|
429
|
+
this.editorStore.setIgnoreNavigationBlocking(true);
|
|
429
430
|
this.editorStore.applicationStore.navigator.reload();
|
|
430
431
|
} catch (error) {
|
|
431
432
|
assertErrorThrown(error);
|
|
@@ -30,12 +30,14 @@ import {
|
|
|
30
30
|
LogEvent,
|
|
31
31
|
assertErrorThrown,
|
|
32
32
|
guaranteeNonNullable,
|
|
33
|
+
hashArray,
|
|
33
34
|
} from '@finos/legend-shared';
|
|
34
35
|
import type { EditorSDLCState } from '../EditorSDLCState.js';
|
|
35
36
|
import {
|
|
36
37
|
type ProjectConfiguration,
|
|
37
38
|
ProjectStructureVersion,
|
|
38
39
|
UpdateProjectConfigurationCommand,
|
|
40
|
+
UpdatePlatformConfigurationsCommand,
|
|
39
41
|
} from '@finos/legend-server-sdlc';
|
|
40
42
|
import { LEGEND_STUDIO_APP_EVENT } from '../LegendStudioAppEvent.js';
|
|
41
43
|
import {
|
|
@@ -51,10 +53,11 @@ import { generateGAVCoordinates } from '@finos/legend-storage';
|
|
|
51
53
|
export enum CONFIGURATION_EDITOR_TAB {
|
|
52
54
|
PROJECT_STRUCTURE = 'PROJECT_STRUCTURE',
|
|
53
55
|
PROJECT_DEPENDENCIES = 'PROJECT_DEPENDENCIES',
|
|
56
|
+
PLATFORM_CONFIGURATIONS = 'PLATFORM_CONFIGURATIONS',
|
|
54
57
|
}
|
|
55
58
|
|
|
56
59
|
export enum DEPENDENCY_INFO_TYPE {
|
|
57
|
-
|
|
60
|
+
DEPENDENCY_TREE = 'dependency tree',
|
|
58
61
|
CONFLICTS = 'conflicts',
|
|
59
62
|
}
|
|
60
63
|
|
|
@@ -356,6 +359,17 @@ export class ProjectConfigurationEditorState extends EditorState {
|
|
|
356
359
|
this.currentProjectConfiguration.projectStructureVersion,
|
|
357
360
|
`update project configuration from ${this.editorStore.applicationStore.config.appName}`,
|
|
358
361
|
);
|
|
362
|
+
|
|
363
|
+
if (
|
|
364
|
+
hashArray(this.originalConfig.platformConfigurations ?? []) !==
|
|
365
|
+
hashArray(this.currentProjectConfiguration.platformConfigurations ?? [])
|
|
366
|
+
) {
|
|
367
|
+
updateProjectConfigurationCommand.platformConfigurations =
|
|
368
|
+
new UpdatePlatformConfigurationsCommand(
|
|
369
|
+
this.currentProjectConfiguration.platformConfigurations,
|
|
370
|
+
);
|
|
371
|
+
}
|
|
372
|
+
|
|
359
373
|
updateProjectConfigurationCommand.projectDependenciesToAdd =
|
|
360
374
|
this.currentProjectConfiguration.projectDependencies.filter(
|
|
361
375
|
(dep) =>
|
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
getAllClassConstraints,
|
|
37
37
|
getAllClassDerivedProperties,
|
|
38
38
|
} from '@finos/legend-graph';
|
|
39
|
-
import { LambdaEditorState } from '@finos/legend-application';
|
|
40
39
|
import {
|
|
41
40
|
constraint_setFunctionDefinition,
|
|
42
41
|
derivedProperty_setBody,
|
|
43
42
|
derivedProperty_setParameters,
|
|
44
|
-
} from '../../
|
|
43
|
+
} from '../../shared/modifier/DomainGraphModifierHelper.js';
|
|
44
|
+
import { LambdaEditorState } from '@finos/legend-query-builder';
|
|
45
45
|
|
|
46
46
|
export const CONSTRAINT_SOURCE_ID_LABEL = 'constraint';
|
|
47
47
|
export const DERIVED_PROPERTY_SOURCE_ID_LABEL = 'derivedProperty';
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
createObservableFileGeneration,
|
|
28
28
|
fileGeneration_setType,
|
|
29
|
-
} from '../../
|
|
29
|
+
} from '../../shared/modifier/DSL_Generation_GraphModifierHelper.js';
|
|
30
30
|
import { handlePostCreateAction } from '../../editor/NewElementState.js';
|
|
31
31
|
|
|
32
32
|
export class ElementFileGenerationState {
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
buildSourceInformationSourceId,
|
|
36
36
|
isStubbed_PackageableElement,
|
|
37
37
|
} from '@finos/legend-graph';
|
|
38
|
-
import { LambdaEditorState } from '@finos/legend-
|
|
38
|
+
import { LambdaEditorState } from '@finos/legend-query-builder';
|
|
39
39
|
|
|
40
40
|
export enum FUNCTION_SPEC_TAB {
|
|
41
41
|
GENERAL = 'GENERAL',
|
|
@@ -67,14 +67,14 @@ import {
|
|
|
67
67
|
generateIdentifiedConnectionId,
|
|
68
68
|
} from '@finos/legend-graph';
|
|
69
69
|
import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
|
|
70
|
-
import { packageableElementReference_setValue } from '../../
|
|
70
|
+
import { packageableElementReference_setValue } from '../../shared/modifier/DomainGraphModifierHelper.js';
|
|
71
71
|
import {
|
|
72
72
|
runtime_addIdentifiedConnection,
|
|
73
73
|
runtime_addMapping,
|
|
74
74
|
runtime_addUniqueStoreConnectionsForStore,
|
|
75
75
|
runtime_deleteIdentifiedConnection,
|
|
76
76
|
runtime_deleteMapping,
|
|
77
|
-
} from '../../
|
|
77
|
+
} from '../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
78
78
|
|
|
79
79
|
export const getClassMappingStore = (
|
|
80
80
|
setImplementation: SetImplementation,
|
|
@@ -59,7 +59,7 @@ import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../
|
|
|
59
59
|
import {
|
|
60
60
|
relationDbConnection_setNewAuthenticationStrategy,
|
|
61
61
|
relationDbConnection_setDatasourceSpecification,
|
|
62
|
-
} from '../../../
|
|
62
|
+
} from '../../../shared/modifier/STO_Relational_GraphModifierHelper.js';
|
|
63
63
|
import {
|
|
64
64
|
MapperPostProcessorEditorState,
|
|
65
65
|
type PostProcessorEditorState,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
getNullableSchema,
|
|
50
50
|
getNullableTable,
|
|
51
51
|
} from '@finos/legend-graph';
|
|
52
|
-
import { connection_setStore } from '../../../
|
|
52
|
+
import { connection_setStore } from '../../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
53
53
|
|
|
54
54
|
export abstract class DatabaseBuilderTreeNodeData implements TreeNodeData {
|
|
55
55
|
isOpen?: boolean | undefined;
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
relationalData_setTableName,
|
|
43
43
|
relationalData_setTableSchemaName,
|
|
44
44
|
relationalData_setTableValues,
|
|
45
|
-
} from '../../../
|
|
45
|
+
} from '../../../shared/modifier/DSL_Data_GraphModifierHelper.js';
|
|
46
46
|
import { EmbeddedDataType } from '../../ExternalFormatState.js';
|
|
47
47
|
|
|
48
48
|
export const createEmbeddedData = (
|
|
@@ -55,7 +55,7 @@ import { type EntityChange, EntityChangeType } from '@finos/legend-server-sdlc';
|
|
|
55
55
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
56
56
|
import { ElementEditorState } from '../ElementEditorState.js';
|
|
57
57
|
import { LEGEND_STUDIO_APP_EVENT } from '../../../LegendStudioAppEvent.js';
|
|
58
|
-
import { configurationProperty_setValue } from '../../../
|
|
58
|
+
import { configurationProperty_setValue } from '../../../shared/modifier/DSL_Generation_GraphModifierHelper.js';
|
|
59
59
|
|
|
60
60
|
export enum SCHEMA_SET_TAB_TYPE {
|
|
61
61
|
SCHEMAS = 'SCHEMAS',
|
|
@@ -99,13 +99,12 @@ import {
|
|
|
99
99
|
stub_Class,
|
|
100
100
|
findPropertyMapping,
|
|
101
101
|
} from '@finos/legend-graph';
|
|
102
|
-
import { LambdaEditorState } from '@finos/legend-application';
|
|
103
102
|
import type {
|
|
104
103
|
DSL_Mapping_LegendStudioApplicationPlugin_Extension,
|
|
105
104
|
MappingElementLabel,
|
|
106
105
|
} from '../../../DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
|
|
107
106
|
import type { LegendStudioApplicationPlugin } from '../../../LegendStudioApplicationPlugin.js';
|
|
108
|
-
import { flatData_setSourceRootRecordType } from '../../../
|
|
107
|
+
import { flatData_setSourceRootRecordType } from '../../../shared/modifier/STO_FlatData_GraphModifierHelper.js';
|
|
109
108
|
import {
|
|
110
109
|
pureInstanceSetImpl_setSrcClass,
|
|
111
110
|
mapping_addClassMapping,
|
|
@@ -117,9 +116,10 @@ import {
|
|
|
117
116
|
mapping_deleteTest,
|
|
118
117
|
setImpl_updateRootOnCreate,
|
|
119
118
|
setImpl_updateRootOnDelete,
|
|
120
|
-
} from '../../../
|
|
119
|
+
} from '../../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
121
120
|
import { BASIC_SET_IMPLEMENTATION_TYPE } from '../../../shared/ModelClassifierUtils.js';
|
|
122
|
-
import { rootRelationalSetImp_setMainTableAlias } from '../../../
|
|
121
|
+
import { rootRelationalSetImp_setMainTableAlias } from '../../../shared/modifier/STO_Relational_GraphModifierHelper.js';
|
|
122
|
+
import { LambdaEditorState } from '@finos/legend-query-builder';
|
|
123
123
|
|
|
124
124
|
export interface MappingExplorerTreeNodeData extends TreeNodeData {
|
|
125
125
|
mappingElement: MappingElement;
|
|
@@ -67,15 +67,15 @@ import {
|
|
|
67
67
|
} from '@finos/legend-graph';
|
|
68
68
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
enumerationMapping_setEnumValueMappings,
|
|
71
71
|
enumValueMapping_addSourceValue,
|
|
72
72
|
enumValueMapping_setSourceValues,
|
|
73
|
-
|
|
73
|
+
instanceSetImplementation_setPropertyMappings,
|
|
74
74
|
operationMapping_setParameters,
|
|
75
75
|
pureInstanceSetImpl_setPropertyMappings,
|
|
76
76
|
purePropertyMapping_setTransformer,
|
|
77
|
-
} from '../../../
|
|
78
|
-
import { rootRelationalSetImp_setPropertyMappings } from '../../../
|
|
77
|
+
} from '../../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
78
|
+
import { rootRelationalSetImp_setPropertyMappings } from '../../../shared/modifier/STO_Relational_GraphModifierHelper.js';
|
|
79
79
|
import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../../DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -157,7 +157,7 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
if (enumValueMappingsToAdd.length) {
|
|
160
|
-
|
|
160
|
+
enumerationMapping_setEnumValueMappings(
|
|
161
161
|
enumerationMapping,
|
|
162
162
|
enumerationMapping.enumValueMappings.concat(enumValueMappingsToAdd),
|
|
163
163
|
);
|
|
@@ -311,6 +311,8 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
311
311
|
pureInstanceSetImpl_setPropertyMappings(
|
|
312
312
|
setImplementation,
|
|
313
313
|
decoratedPropertyMappings.concat(
|
|
314
|
+
// NOTE: here, we remove some low-quality property mappings
|
|
315
|
+
// i.e. stubbed property mappings from before adding new decorated property mappings
|
|
314
316
|
propertyMappingsBeforeDecoration
|
|
315
317
|
.filter(
|
|
316
318
|
(propertyMapping) =>
|
|
@@ -426,9 +428,12 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
426
428
|
setImplementation,
|
|
427
429
|
decoratePropertyMapping,
|
|
428
430
|
);
|
|
429
|
-
|
|
431
|
+
instanceSetImplementation_setPropertyMappings(
|
|
430
432
|
setImplementation,
|
|
431
433
|
decoratedPropertyMappings.concat(
|
|
434
|
+
// NOTE: here, we remove some low-quality property mappings
|
|
435
|
+
// i.e. stubbed property mappings, incompatible property mappings
|
|
436
|
+
// from before adding new decorated property mappings
|
|
432
437
|
propertyMappingsBeforeDecoration
|
|
433
438
|
.filter(
|
|
434
439
|
(propertyMapping) =>
|
|
@@ -595,9 +600,12 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
595
600
|
setImplementation,
|
|
596
601
|
decoratePropertyMapping,
|
|
597
602
|
);
|
|
598
|
-
|
|
603
|
+
instanceSetImplementation_setPropertyMappings(
|
|
599
604
|
setImplementation,
|
|
600
605
|
decoratedPropertyMappings.concat(
|
|
606
|
+
// NOTE: here, we remove some low-quality property mappings
|
|
607
|
+
// i.e. stubbed property mappings, incompatible property mappings
|
|
608
|
+
// from before adding new decorated property mappings
|
|
601
609
|
propertyMappingsBeforeDecoration
|
|
602
610
|
.filter(
|
|
603
611
|
(propertyMapping) =>
|
|
@@ -669,7 +677,7 @@ export class MappingElementDecorationCleaner
|
|
|
669
677
|
enumValueMapping.sourceValues.filter(isNonNullable),
|
|
670
678
|
);
|
|
671
679
|
});
|
|
672
|
-
|
|
680
|
+
enumerationMapping_setEnumValueMappings(
|
|
673
681
|
enumerationMapping,
|
|
674
682
|
nonEmptyEnumValueMappings,
|
|
675
683
|
);
|
|
@@ -700,7 +708,7 @@ export class MappingElementDecorationCleaner
|
|
|
700
708
|
visit_PureInstanceSetImplementation(
|
|
701
709
|
setImplementation: PureInstanceSetImplementation,
|
|
702
710
|
): void {
|
|
703
|
-
|
|
711
|
+
instanceSetImplementation_setPropertyMappings(
|
|
704
712
|
setImplementation,
|
|
705
713
|
setImplementation.propertyMappings.filter(
|
|
706
714
|
(propertyMapping) => !isStubbed_RawLambda(propertyMapping.transform),
|
|
@@ -714,7 +722,7 @@ export class MappingElementDecorationCleaner
|
|
|
714
722
|
| FlatDataInstanceSetImplementation
|
|
715
723
|
| EmbeddedFlatDataPropertyMapping,
|
|
716
724
|
): void {
|
|
717
|
-
|
|
725
|
+
instanceSetImplementation_setPropertyMappings(
|
|
718
726
|
setImplementation,
|
|
719
727
|
setImplementation.propertyMappings.filter(
|
|
720
728
|
(propertyMapping) =>
|
|
@@ -24,7 +24,7 @@ import type {
|
|
|
24
24
|
SetImplementation,
|
|
25
25
|
Type,
|
|
26
26
|
} from '@finos/legend-graph';
|
|
27
|
-
import { LambdaEditorState } from '@finos/legend-
|
|
27
|
+
import { LambdaEditorState } from '@finos/legend-query-builder';
|
|
28
28
|
|
|
29
29
|
export class MappingElementState {
|
|
30
30
|
readonly uuid = uuid();
|
|
@@ -104,30 +104,30 @@ import {
|
|
|
104
104
|
ActionAlertActionType,
|
|
105
105
|
ActionAlertType,
|
|
106
106
|
ExecutionPlanState,
|
|
107
|
-
LambdaEditorState,
|
|
108
107
|
TAB_SIZE,
|
|
109
108
|
} from '@finos/legend-application';
|
|
110
109
|
import {
|
|
111
110
|
objectInputData_setData,
|
|
112
111
|
runtime_addIdentifiedConnection,
|
|
113
112
|
runtime_addMapping,
|
|
114
|
-
} from '../../../
|
|
115
|
-
import { flatData_setData } from '../../../
|
|
113
|
+
} from '../../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
114
|
+
import { flatData_setData } from '../../../shared/modifier/STO_FlatData_GraphModifierHelper.js';
|
|
116
115
|
import {
|
|
117
116
|
service_addTestSuite,
|
|
118
117
|
service_initNewService,
|
|
119
118
|
service_setExecution,
|
|
120
|
-
} from '../../../
|
|
119
|
+
} from '../../../shared/modifier/DSL_Service_GraphModifierHelper.js';
|
|
121
120
|
import {
|
|
122
121
|
localH2DatasourceSpecification_setTestDataSetupCsv,
|
|
123
122
|
localH2DatasourceSpecification_setTestDataSetupSqls,
|
|
124
123
|
relationalInputData_setData,
|
|
125
|
-
} from '../../../
|
|
124
|
+
} from '../../../shared/modifier/STO_Relational_GraphModifierHelper.js';
|
|
126
125
|
import {
|
|
127
126
|
createEmptyEqualToJsonAssertion,
|
|
128
127
|
createBareExternalFormat,
|
|
129
128
|
} from '../../../shared/testable/TestableUtils.js';
|
|
130
129
|
import { SERIALIZATION_FORMAT } from '../service/testable/ServiceTestEditorState.js';
|
|
130
|
+
import { LambdaEditorState } from '@finos/legend-query-builder';
|
|
131
131
|
|
|
132
132
|
export class MappingExecutionQueryState extends LambdaEditorState {
|
|
133
133
|
editorStore: EditorStore;
|
|
@@ -84,12 +84,8 @@ import {
|
|
|
84
84
|
generateIdentifiedConnectionId,
|
|
85
85
|
DEPRECATED__validate_MappingTest,
|
|
86
86
|
} from '@finos/legend-graph';
|
|
87
|
-
import {
|
|
88
|
-
|
|
89
|
-
LambdaEditorState,
|
|
90
|
-
TAB_SIZE,
|
|
91
|
-
} from '@finos/legend-application';
|
|
92
|
-
import { flatData_setData } from '../../../graphModifier/STO_FlatData_GraphModifierHelper.js';
|
|
87
|
+
import { ExecutionPlanState, TAB_SIZE } from '@finos/legend-application';
|
|
88
|
+
import { flatData_setData } from '../../../shared/modifier/STO_FlatData_GraphModifierHelper.js';
|
|
93
89
|
import {
|
|
94
90
|
expectedOutputMappingTestAssert_setExpectedOutput,
|
|
95
91
|
mappingTest_setAssert,
|
|
@@ -97,12 +93,13 @@ import {
|
|
|
97
93
|
objectInputData_setData,
|
|
98
94
|
runtime_addIdentifiedConnection,
|
|
99
95
|
runtime_addMapping,
|
|
100
|
-
} from '../../../
|
|
96
|
+
} from '../../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
101
97
|
import {
|
|
102
98
|
localH2DatasourceSpecification_setTestDataSetupCsv,
|
|
103
99
|
localH2DatasourceSpecification_setTestDataSetupSqls,
|
|
104
100
|
relationalInputData_setData,
|
|
105
|
-
} from '../../../
|
|
101
|
+
} from '../../../shared/modifier/STO_Relational_GraphModifierHelper.js';
|
|
102
|
+
import { LambdaEditorState } from '@finos/legend-query-builder';
|
|
106
103
|
|
|
107
104
|
export enum TEST_RESULT {
|
|
108
105
|
NONE = 'NONE', // test has not run yet
|
package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts
CHANGED
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
stub_RawLambda,
|
|
40
40
|
isStubbed_RawLambda,
|
|
41
41
|
} from '@finos/legend-graph';
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
42
|
+
import { pureInstanceSetImpl_setMappingFilter } from '../../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
43
|
+
import { LambdaEditorState } from '@finos/legend-query-builder';
|
|
44
44
|
|
|
45
45
|
export class PurePropertyMappingState extends PropertyMappingState {
|
|
46
46
|
editorStore: EditorStore;
|
|
@@ -30,14 +30,9 @@ import {
|
|
|
30
30
|
RuntimeEditorState,
|
|
31
31
|
} from '../../../editor-state/element-editor-state/RuntimeEditorState.js';
|
|
32
32
|
import {
|
|
33
|
-
buildParametersLetLambdaFunc,
|
|
34
33
|
DEFAULT_TYPEAHEAD_SEARCH_LIMIT,
|
|
35
34
|
DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH,
|
|
36
35
|
ExecutionPlanState,
|
|
37
|
-
LambdaEditorState,
|
|
38
|
-
LambdaParametersState,
|
|
39
|
-
LambdaParameterState,
|
|
40
|
-
PARAMETER_SUBMIT_ACTION,
|
|
41
36
|
TAB_SIZE,
|
|
42
37
|
} from '@finos/legend-application';
|
|
43
38
|
import {
|
|
@@ -70,7 +65,7 @@ import {
|
|
|
70
65
|
stub_Mapping,
|
|
71
66
|
} from '@finos/legend-graph';
|
|
72
67
|
import { type Entity, parseGACoordinates } from '@finos/legend-storage';
|
|
73
|
-
import { runtime_addMapping } from '../../../
|
|
68
|
+
import { runtime_addMapping } from '../../../shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
74
69
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
75
70
|
import {
|
|
76
71
|
keyedExecutionParameter_setKey,
|
|
@@ -81,7 +76,14 @@ import {
|
|
|
81
76
|
pureSingleExecution_setMapping,
|
|
82
77
|
pureSingleExecution_setRuntime,
|
|
83
78
|
service_setExecution,
|
|
84
|
-
} from '../../../
|
|
79
|
+
} from '../../../shared/modifier/DSL_Service_GraphModifierHelper.js';
|
|
80
|
+
import {
|
|
81
|
+
buildParametersLetLambdaFunc,
|
|
82
|
+
LambdaEditorState,
|
|
83
|
+
LambdaParametersState,
|
|
84
|
+
LambdaParameterState,
|
|
85
|
+
PARAMETER_SUBMIT_ACTION,
|
|
86
|
+
} from '@finos/legend-query-builder';
|
|
85
87
|
|
|
86
88
|
export class ServiceExecutionParameterState extends LambdaParametersState {
|
|
87
89
|
executionState: ServicePureExecutionState;
|
|
@@ -268,7 +268,7 @@ export class ServiceRegistrationState {
|
|
|
268
268
|
label: 'Launch Service',
|
|
269
269
|
type: ActionAlertActionType.PROCEED,
|
|
270
270
|
handler: (): void => {
|
|
271
|
-
this.editorStore.applicationStore.navigator.
|
|
271
|
+
this.editorStore.applicationStore.navigator.visitAddress(
|
|
272
272
|
generateServiceManagementUrl(
|
|
273
273
|
config.managementUrl,
|
|
274
274
|
serviceRegistrationResult.pattern,
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts
CHANGED
|
@@ -51,7 +51,7 @@ import type { EditorStore } from '../../../../EditorStore.js';
|
|
|
51
51
|
import {
|
|
52
52
|
service_addConnectionTestData,
|
|
53
53
|
service_setConnectionTestDataEmbeddedData,
|
|
54
|
-
} from '../../../../
|
|
54
|
+
} from '../../../../shared/modifier/DSL_Service_GraphModifierHelper.js';
|
|
55
55
|
import {
|
|
56
56
|
createMockEnumerationProperty,
|
|
57
57
|
createMockPrimitiveProperty,
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts
CHANGED
|
@@ -23,7 +23,6 @@ import {
|
|
|
23
23
|
ParameterValue,
|
|
24
24
|
buildLambdaVariableExpressions,
|
|
25
25
|
VariableExpression,
|
|
26
|
-
generateVariableExpressionMockValue,
|
|
27
26
|
} from '@finos/legend-graph';
|
|
28
27
|
import { action, flow, makeObservable, observable } from 'mobx';
|
|
29
28
|
import { TestableTestEditorState } from '../../testable/TestableEditorState.js';
|
|
@@ -35,7 +34,7 @@ import {
|
|
|
35
34
|
service_setParameterValues,
|
|
36
35
|
service_setParameterValueSpec,
|
|
37
36
|
service_setSerializationFormat,
|
|
38
|
-
} from '../../../../
|
|
37
|
+
} from '../../../../shared/modifier/DSL_Service_GraphModifierHelper.js';
|
|
39
38
|
import {
|
|
40
39
|
assertErrorThrown,
|
|
41
40
|
deleteEntry,
|
|
@@ -46,6 +45,7 @@ import {
|
|
|
46
45
|
uuid,
|
|
47
46
|
} from '@finos/legend-shared';
|
|
48
47
|
import type { EditorStore } from '../../../../EditorStore.js';
|
|
48
|
+
import { generateVariableExpressionMockValue } from '@finos/legend-query-builder';
|
|
49
49
|
|
|
50
50
|
export enum SERIALIZATION_FORMAT {
|
|
51
51
|
PURE = 'PURE',
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts
CHANGED
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
service_addTest,
|
|
47
47
|
service_addTestSuite,
|
|
48
48
|
service_deleteTestSuite,
|
|
49
|
-
} from '../../../../
|
|
49
|
+
} from '../../../../shared/modifier/DSL_Service_GraphModifierHelper.js';
|
|
50
50
|
import { createEmptyEqualToJsonAssertion } from '../../../../shared/testable/TestableUtils.js';
|
|
51
51
|
import type { ServiceEditorState } from '../ServiceEditorState.js';
|
|
52
52
|
import { ServiceTestDataState } from './ServiceTestDataState.js';
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from '@finos/legend-shared';
|
|
37
37
|
import { action, flow, makeObservable, observable } from 'mobx';
|
|
38
38
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
39
|
-
import { externalFormatData_setData } from '../../../
|
|
39
|
+
import { externalFormatData_setData } from '../../../shared/modifier/DSL_Data_GraphModifierHelper.js';
|
|
40
40
|
import {
|
|
41
41
|
getTestableResultFromAssertionStatus,
|
|
42
42
|
TESTABLE_RESULT,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from '@finos/legend-shared';
|
|
36
36
|
import { action, makeObservable, observable } from 'mobx';
|
|
37
37
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
38
|
-
import { atomicTest_addAssertion } from '../../../
|
|
38
|
+
import { atomicTest_addAssertion } from '../../../shared/modifier/Testable_GraphModifierHelper.js';
|
|
39
39
|
import { createEmptyEqualToJsonAssertion } from '../../../shared/testable/TestableUtils.js';
|
|
40
40
|
import { TESTABLE_RESULT } from '../../../sidebar-state/testable/GlobalTestRunnerState.js';
|
|
41
41
|
import {
|