@finos/legend-application-studio 18.0.1 → 18.0.2
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 +12 -12
- 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 +1 -1
- 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 +9 -10
- 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 +5 -3
- 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 +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js +1 -1
- 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 +22 -22
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +1 -1
- 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 +34 -40
- 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 +7 -4
- 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 +1 -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
|
@@ -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 {
|
|
@@ -112,7 +112,7 @@ export class ProjectViewerStore {
|
|
|
112
112
|
if (entityPath) {
|
|
113
113
|
this.elementPath = entityPath;
|
|
114
114
|
if (projectId) {
|
|
115
|
-
this.editorStore.applicationStore.navigator.
|
|
115
|
+
this.editorStore.applicationStore.navigator.goToLocation(
|
|
116
116
|
versionId
|
|
117
117
|
? generateViewVersionRoute(projectId, versionId)
|
|
118
118
|
: revisionId
|
|
@@ -125,7 +125,7 @@ export class ProjectViewerStore {
|
|
|
125
125
|
artifactId,
|
|
126
126
|
versionId: _versionId,
|
|
127
127
|
} = parseGAVCoordinates(gav);
|
|
128
|
-
this.editorStore.applicationStore.navigator.
|
|
128
|
+
this.editorStore.applicationStore.navigator.goToLocation(
|
|
129
129
|
generateViewProjectByGAVRoute(groupId, artifactId, _versionId),
|
|
130
130
|
);
|
|
131
131
|
}
|
|
@@ -74,14 +74,3 @@ export enum BASIC_SET_IMPLEMENTATION_TYPE {
|
|
|
74
74
|
OPERATION = 'operation',
|
|
75
75
|
INSTANCE = 'instance',
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
export enum SET_IMPLEMENTATION_TYPE {
|
|
79
|
-
OPERATION = 'operation',
|
|
80
|
-
MERGE_OPERATION = 'mergeOperation',
|
|
81
|
-
PUREINSTANCE = 'pureInstance',
|
|
82
|
-
FLAT_DATA = 'flatData',
|
|
83
|
-
EMBEDDED_FLAT_DATA = 'embeddedFlatData',
|
|
84
|
-
RELATIONAL = 'relational',
|
|
85
|
-
EMBEDDED_RELATIONAL = 'embeddedRelational',
|
|
86
|
-
AGGREGATION_AWARE = 'aggregationAware',
|
|
87
|
-
}
|
|
File without changes
|
package/src/stores/{graphModifier → shared/modifier}/DSL_ExternalFormat_GraphModifierHelper.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
} from '@finos/legend-shared';
|
|
87
87
|
import { action } from 'mobx';
|
|
88
88
|
|
|
89
|
-
export const
|
|
89
|
+
export const instanceSetImplementation_setPropertyMappings = action(
|
|
90
90
|
(
|
|
91
91
|
si: InstanceSetImplementation,
|
|
92
92
|
pm: PropertyMapping[],
|
|
@@ -98,23 +98,18 @@ export const instanceSetImpl_setPropertyMappings = action(
|
|
|
98
98
|
},
|
|
99
99
|
);
|
|
100
100
|
|
|
101
|
-
export const
|
|
101
|
+
export const instanceSetImplementation_deletePropertyMapping = action(
|
|
102
102
|
(si: InstanceSetImplementation, pm: PropertyMapping): void => {
|
|
103
|
-
deleteEntry(
|
|
104
|
-
si.propertyMappings,
|
|
105
|
-
pm,
|
|
106
|
-
(p1, p2) => p1.property._UUID === p2.property._UUID,
|
|
107
|
-
);
|
|
103
|
+
deleteEntry(si.propertyMappings, pm);
|
|
108
104
|
},
|
|
109
105
|
);
|
|
110
106
|
|
|
111
|
-
export const
|
|
107
|
+
export const setImplementation_setRoot = action(
|
|
112
108
|
(owner: SetImplementation, val: boolean): void => {
|
|
113
109
|
owner.root.value = val;
|
|
114
110
|
},
|
|
115
111
|
);
|
|
116
112
|
|
|
117
|
-
//
|
|
118
113
|
export const mapping_addClassMapping = action(
|
|
119
114
|
(
|
|
120
115
|
mapping: Mapping,
|
|
@@ -179,13 +174,13 @@ export const mapping_addTest = action(
|
|
|
179
174
|
|
|
180
175
|
// --------------------------------------------- Enumeration Mapping -------------------------------------
|
|
181
176
|
|
|
182
|
-
export const
|
|
177
|
+
export const enumerationMapping_setId = action(
|
|
183
178
|
(eM: EnumerationMapping, val: string): void => {
|
|
184
179
|
eM.id.value = val;
|
|
185
180
|
},
|
|
186
181
|
);
|
|
187
182
|
|
|
188
|
-
export const
|
|
183
|
+
export const enumerationMapping_setSourceType = action(
|
|
189
184
|
(
|
|
190
185
|
eM: EnumerationMapping,
|
|
191
186
|
value: PackageableElementReference<Type> | undefined,
|
|
@@ -196,18 +191,18 @@ export const enumMapping_setSourceType = action(
|
|
|
196
191
|
},
|
|
197
192
|
);
|
|
198
193
|
|
|
199
|
-
export const
|
|
194
|
+
export const enumerationMapping_setEnumValueMappings = action(
|
|
200
195
|
(eM: EnumerationMapping, value: EnumValueMapping[]): void => {
|
|
201
196
|
eM.enumValueMappings = value.map(observe_EnumValueMapping);
|
|
202
197
|
},
|
|
203
198
|
);
|
|
204
|
-
export const
|
|
199
|
+
export const enumerationMapping_updateSourceType = action(
|
|
205
200
|
(
|
|
206
201
|
eM: EnumerationMapping,
|
|
207
202
|
value: PackageableElementReference<Type> | undefined,
|
|
208
203
|
): void => {
|
|
209
204
|
if (eM.sourceType?.value !== value?.value) {
|
|
210
|
-
|
|
205
|
+
enumerationMapping_setSourceType(eM, value);
|
|
211
206
|
eM.enumValueMappings = eM.enumValueMappings.map((enumValueMapping) => {
|
|
212
207
|
enumValueMapping.sourceValues = [];
|
|
213
208
|
enumValueMapping.sourceValues.push(
|
|
@@ -362,15 +357,15 @@ export const setImpl_updateRootOnCreate = action(
|
|
|
362
357
|
setImp.class.value,
|
|
363
358
|
).filter((si) => si !== setImp);
|
|
364
359
|
if (classMappingsWithSimilarTarget.length) {
|
|
365
|
-
|
|
360
|
+
setImplementation_setRoot(setImp, false);
|
|
366
361
|
if (classMappingsWithSimilarTarget.length === 1) {
|
|
367
|
-
|
|
362
|
+
setImplementation_setRoot(
|
|
368
363
|
classMappingsWithSimilarTarget[0] as SetImplementation,
|
|
369
364
|
false,
|
|
370
365
|
);
|
|
371
366
|
}
|
|
372
367
|
} else {
|
|
373
|
-
|
|
368
|
+
setImplementation_setRoot(setImp, true);
|
|
374
369
|
}
|
|
375
370
|
},
|
|
376
371
|
);
|
|
@@ -387,7 +382,7 @@ export const setImpl_updateRootOnDelete = action(
|
|
|
387
382
|
setImp.class.value,
|
|
388
383
|
).filter((si) => si !== setImp);
|
|
389
384
|
if (classMappingsWithSimilarTarget.length === 1) {
|
|
390
|
-
|
|
385
|
+
setImplementation_setRoot(
|
|
391
386
|
classMappingsWithSimilarTarget[0] as SetImplementation,
|
|
392
387
|
false,
|
|
393
388
|
);
|
|
@@ -409,10 +404,10 @@ export const setImpl_nominateRoot = action(
|
|
|
409
404
|
);
|
|
410
405
|
classMappingsWithSimilarTarget.forEach((si) => {
|
|
411
406
|
if (si !== setImp) {
|
|
412
|
-
|
|
407
|
+
setImplementation_setRoot(si, false);
|
|
413
408
|
}
|
|
414
409
|
});
|
|
415
|
-
|
|
410
|
+
setImplementation_setRoot(setImp, true);
|
|
416
411
|
},
|
|
417
412
|
);
|
|
418
413
|
|
|
File without changes
|
|
@@ -59,7 +59,6 @@ import {
|
|
|
59
59
|
observe_TaggedValue,
|
|
60
60
|
observe_Constraint,
|
|
61
61
|
observe_GenericType,
|
|
62
|
-
observe_Multiplicity,
|
|
63
62
|
observe_Type,
|
|
64
63
|
observe_Unit,
|
|
65
64
|
observe_RawLambda,
|
|
@@ -194,7 +193,7 @@ export const property_setGenericType = action(
|
|
|
194
193
|
);
|
|
195
194
|
export const property_setMultiplicity = action(
|
|
196
195
|
(_property: Property | DerivedProperty, value: Multiplicity): void => {
|
|
197
|
-
_property.multiplicity =
|
|
196
|
+
_property.multiplicity = value;
|
|
198
197
|
},
|
|
199
198
|
);
|
|
200
199
|
export const stereotypeReference_setValue = action(
|
|
@@ -356,7 +355,7 @@ export const function_setReturnType = action(
|
|
|
356
355
|
);
|
|
357
356
|
export const function_setReturnMultiplicity = action(
|
|
358
357
|
(_func: ConcreteFunctionDefinition, val: Multiplicity): void => {
|
|
359
|
-
_func.returnMultiplicity =
|
|
358
|
+
_func.returnMultiplicity = val;
|
|
360
359
|
},
|
|
361
360
|
);
|
|
362
361
|
|
|
File without changes
|
|
@@ -17,25 +17,22 @@ import {
|
|
|
17
17
|
type Multiplicity,
|
|
18
18
|
type RawVariableExpression,
|
|
19
19
|
type Type,
|
|
20
|
-
observe_Multiplicity,
|
|
21
20
|
observe_Type,
|
|
22
21
|
} from '@finos/legend-graph';
|
|
23
22
|
import { action } from 'mobx';
|
|
24
23
|
|
|
25
|
-
// --------------------------------------------- Raw Value Specification -------------------------------------
|
|
26
|
-
|
|
27
24
|
export const rawVariableExpression_setName = action(
|
|
28
|
-
(
|
|
29
|
-
|
|
25
|
+
(target: RawVariableExpression, value: string): void => {
|
|
26
|
+
target.name = value;
|
|
30
27
|
},
|
|
31
28
|
);
|
|
32
29
|
export const rawVariableExpression_setType = action(
|
|
33
|
-
(
|
|
34
|
-
|
|
30
|
+
(target: RawVariableExpression, value: Type): void => {
|
|
31
|
+
target.type.value = observe_Type(value);
|
|
35
32
|
},
|
|
36
33
|
);
|
|
37
34
|
export const rawVariableExpression_setMultiplicity = action(
|
|
38
|
-
(
|
|
39
|
-
|
|
35
|
+
(target: RawVariableExpression, value: Multiplicity): void => {
|
|
36
|
+
target.multiplicity = value;
|
|
40
37
|
},
|
|
41
38
|
);
|
|
File without changes
|