@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,7 +36,7 @@ import {
|
|
|
36
36
|
TimesCircleIcon,
|
|
37
37
|
TimesIcon,
|
|
38
38
|
} from '@finos/legend-art';
|
|
39
|
-
import { guaranteeType
|
|
39
|
+
import { guaranteeType } from '@finos/legend-shared';
|
|
40
40
|
import {
|
|
41
41
|
type FlatDataPropertyMappingState,
|
|
42
42
|
FlatDataInstanceSetImplementationState,
|
|
@@ -59,19 +59,21 @@ import {
|
|
|
59
59
|
PureInstanceSetImplementation,
|
|
60
60
|
EmbeddedFlatDataPropertyMapping,
|
|
61
61
|
OperationSetImplementation,
|
|
62
|
+
FlatDataInstanceSetImplementation,
|
|
63
|
+
RootRelationalInstanceSetImplementation,
|
|
62
64
|
} from '@finos/legend-graph';
|
|
63
65
|
import { useApplicationStore } from '@finos/legend-application';
|
|
64
66
|
import {
|
|
65
|
-
|
|
67
|
+
instanceSetImplementation_deletePropertyMapping,
|
|
66
68
|
setImpl_nominateRoot,
|
|
67
|
-
|
|
68
|
-
} from '../../../../stores/
|
|
69
|
+
setImplementation_setRoot,
|
|
70
|
+
} from '../../../../stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
69
71
|
import {
|
|
70
72
|
CLASS_PROPERTY_TYPE,
|
|
71
73
|
getClassPropertyType,
|
|
72
|
-
SET_IMPLEMENTATION_TYPE,
|
|
73
74
|
} from '../../../../stores/shared/ModelClassifierUtils.js';
|
|
74
75
|
import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../../../stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
|
|
76
|
+
import { Fragment } from 'react';
|
|
75
77
|
|
|
76
78
|
export const getExpectedReturnType = (
|
|
77
79
|
targetSetImplementation: SetImplementation | undefined,
|
|
@@ -85,18 +87,65 @@ export const getExpectedReturnType = (
|
|
|
85
87
|
}
|
|
86
88
|
};
|
|
87
89
|
|
|
88
|
-
|
|
90
|
+
const GenericPropertyMappingEditorEntry = observer(
|
|
91
|
+
(props: {
|
|
92
|
+
children: React.ReactNode;
|
|
93
|
+
instanceSetImplementationState: InstanceSetImplementationState;
|
|
94
|
+
propertyMappingStates: PropertyMappingState[];
|
|
95
|
+
propertyMappingState: PropertyMappingState;
|
|
96
|
+
propertyBasicType: CLASS_PROPERTY_TYPE;
|
|
97
|
+
}) => {
|
|
98
|
+
const {
|
|
99
|
+
children,
|
|
100
|
+
instanceSetImplementationState,
|
|
101
|
+
propertyMappingStates,
|
|
102
|
+
propertyMappingState,
|
|
103
|
+
propertyBasicType,
|
|
104
|
+
} = props;
|
|
105
|
+
|
|
106
|
+
const removePropertyMapping = (pm: PropertyMapping): void => {
|
|
107
|
+
instanceSetImplementation_deletePropertyMapping(
|
|
108
|
+
instanceSetImplementationState.mappingElement,
|
|
109
|
+
pm,
|
|
110
|
+
);
|
|
111
|
+
instanceSetImplementationState.decorate();
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
return (
|
|
115
|
+
<div className="property-mapping-editor__generic-entry">
|
|
116
|
+
{children}
|
|
117
|
+
{propertyMappingStates.length > 1 &&
|
|
118
|
+
propertyBasicType !== CLASS_PROPERTY_TYPE.CLASS && (
|
|
119
|
+
<button
|
|
120
|
+
className="property-mapping-editor__generic-entry__remove-btn"
|
|
121
|
+
onClick={() =>
|
|
122
|
+
removePropertyMapping(propertyMappingState.propertyMapping)
|
|
123
|
+
}
|
|
124
|
+
tabIndex={-1}
|
|
125
|
+
title="Remove"
|
|
126
|
+
>
|
|
127
|
+
<TimesIcon />
|
|
128
|
+
</button>
|
|
129
|
+
)}
|
|
130
|
+
</div>
|
|
131
|
+
);
|
|
132
|
+
},
|
|
133
|
+
);
|
|
134
|
+
|
|
135
|
+
export const PropertyMappingEditor = observer(
|
|
89
136
|
(props: {
|
|
90
137
|
property: Property;
|
|
91
138
|
instanceSetImplementationState: InstanceSetImplementationState;
|
|
92
139
|
isReadOnly: boolean;
|
|
93
140
|
}) => {
|
|
94
141
|
const { instanceSetImplementationState, property, isReadOnly } = props;
|
|
142
|
+
const instanceSetImplementation =
|
|
143
|
+
instanceSetImplementationState.mappingElement;
|
|
95
144
|
const validationErrorMessage =
|
|
96
|
-
|
|
145
|
+
instanceSetImplementation.propertyMappings.filter(
|
|
97
146
|
(pm) => pm.property.value === property,
|
|
98
147
|
).length > 1 && !(property.genericType.value.rawType instanceof Class)
|
|
99
|
-
? 'Only one property mapping should exist per
|
|
148
|
+
? 'Only one property mapping should exist per property of type other than class (e.g. primitive, measure, enumeration)'
|
|
100
149
|
: undefined;
|
|
101
150
|
const editorStore = useEditorStore();
|
|
102
151
|
const applicationStore = useApplicationStore();
|
|
@@ -104,12 +153,7 @@ export const PropertyMappingsEditor = observer(
|
|
|
104
153
|
editorStore.getCurrentEditorState(MappingEditorState);
|
|
105
154
|
const propertyRawType = property.genericType.value.rawType;
|
|
106
155
|
const propertyBasicType = getClassPropertyType(propertyRawType);
|
|
107
|
-
const
|
|
108
|
-
editorStore.graphState.getSetImplementationType(
|
|
109
|
-
instanceSetImplementationState.mappingElement,
|
|
110
|
-
);
|
|
111
|
-
const isEmbedded =
|
|
112
|
-
instanceSetImplementationState.mappingElement._isEmbedded;
|
|
156
|
+
const isEmbedded = instanceSetImplementation._isEmbedded;
|
|
113
157
|
// Parser Error
|
|
114
158
|
const propertyMappingStates: PropertyMappingState[] =
|
|
115
159
|
instanceSetImplementationState.propertyMappingStates.filter(
|
|
@@ -123,22 +167,20 @@ export const PropertyMappingsEditor = observer(
|
|
|
123
167
|
(pm) => pm.parserError,
|
|
124
168
|
),
|
|
125
169
|
);
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
// See https://github.com/finos/legend-studio/issues/310
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* TODO: revisit this behavior now that we have more types of property mapping to support
|
|
173
|
+
* e.g. embedded, target set implementation, etc.
|
|
174
|
+
* See https://github.com/finos/legend-studio/issues/310
|
|
175
|
+
*
|
|
176
|
+
* @modularize
|
|
177
|
+
* TODO: modularize this for other types
|
|
178
|
+
* See https://github.com/finos/legend-studio/issues/65
|
|
179
|
+
*/
|
|
137
180
|
const visitOrCreateMappingElement = (): void => {
|
|
138
181
|
if (propertyRawType instanceof Class) {
|
|
139
182
|
if (
|
|
140
|
-
|
|
141
|
-
PureInstanceSetImplementation
|
|
183
|
+
instanceSetImplementation instanceof PureInstanceSetImplementation
|
|
142
184
|
) {
|
|
143
185
|
const rootMappingElement = getRootSetImplementation(
|
|
144
186
|
mappingEditorState.mapping,
|
|
@@ -146,7 +188,7 @@ export const PropertyMappingsEditor = observer(
|
|
|
146
188
|
);
|
|
147
189
|
if (rootMappingElement) {
|
|
148
190
|
if (!rootMappingElement.root.value) {
|
|
149
|
-
|
|
191
|
+
setImplementation_setRoot(rootMappingElement, true);
|
|
150
192
|
}
|
|
151
193
|
const parent = rootMappingElement._PARENT;
|
|
152
194
|
if (parent !== mappingEditorState.element) {
|
|
@@ -204,6 +246,91 @@ export const PropertyMappingsEditor = observer(
|
|
|
204
246
|
}
|
|
205
247
|
};
|
|
206
248
|
|
|
249
|
+
const renderPropertyMappingEntry = (
|
|
250
|
+
propertyMappingState: PropertyMappingState,
|
|
251
|
+
): React.ReactNode => {
|
|
252
|
+
if (instanceSetImplementation instanceof PureInstanceSetImplementation) {
|
|
253
|
+
return (
|
|
254
|
+
<PurePropertyMappingEditor
|
|
255
|
+
isReadOnly={isReadOnly}
|
|
256
|
+
pureInstanceSetImplementationState={guaranteeType(
|
|
257
|
+
instanceSetImplementationState,
|
|
258
|
+
PureInstanceSetImplementationState,
|
|
259
|
+
)}
|
|
260
|
+
purePropertyMappingState={guaranteeType(
|
|
261
|
+
propertyMappingState,
|
|
262
|
+
PurePropertyMappingState,
|
|
263
|
+
)}
|
|
264
|
+
setImplementationHasParserError={setImplementationHasParserError}
|
|
265
|
+
/>
|
|
266
|
+
);
|
|
267
|
+
} else if (
|
|
268
|
+
instanceSetImplementation instanceof
|
|
269
|
+
FlatDataInstanceSetImplementation ||
|
|
270
|
+
instanceSetImplementation instanceof EmbeddedFlatDataPropertyMapping
|
|
271
|
+
) {
|
|
272
|
+
return (
|
|
273
|
+
<FlatDataPropertyMappingEditor
|
|
274
|
+
isReadOnly={isReadOnly}
|
|
275
|
+
flatDataInstanceSetImplementationState={
|
|
276
|
+
instanceSetImplementationState as FlatDataInstanceSetImplementationState
|
|
277
|
+
}
|
|
278
|
+
flatDataPropertyMappingState={
|
|
279
|
+
propertyMappingState as FlatDataPropertyMappingState
|
|
280
|
+
}
|
|
281
|
+
setImplementationHasParserError={setImplementationHasParserError}
|
|
282
|
+
/>
|
|
283
|
+
);
|
|
284
|
+
} else if (
|
|
285
|
+
instanceSetImplementation instanceof
|
|
286
|
+
RootRelationalInstanceSetImplementation
|
|
287
|
+
) {
|
|
288
|
+
return (
|
|
289
|
+
<RelationalPropertyMappingEditor
|
|
290
|
+
isReadOnly={isReadOnly}
|
|
291
|
+
relationalInstanceSetImplementationState={
|
|
292
|
+
instanceSetImplementationState as RootRelationalInstanceSetImplementationState
|
|
293
|
+
}
|
|
294
|
+
relationalPropertyMappingState={
|
|
295
|
+
propertyMappingState as RelationalPropertyMappingState
|
|
296
|
+
}
|
|
297
|
+
setImplementationHasParserError={setImplementationHasParserError}
|
|
298
|
+
/>
|
|
299
|
+
);
|
|
300
|
+
} else {
|
|
301
|
+
const extraPropertyMappingEditorRenderers = editorStore.pluginManager
|
|
302
|
+
.getApplicationPlugins()
|
|
303
|
+
.flatMap(
|
|
304
|
+
(plugin) =>
|
|
305
|
+
(
|
|
306
|
+
plugin as DSL_Mapping_LegendStudioApplicationPlugin_Extension
|
|
307
|
+
).getExtraPropertyMappingEditorRenderers?.() ?? [],
|
|
308
|
+
);
|
|
309
|
+
for (const renderer of extraPropertyMappingEditorRenderers) {
|
|
310
|
+
const renderedPropertyMappingEditor = renderer(
|
|
311
|
+
instanceSetImplementationState,
|
|
312
|
+
propertyMappingState,
|
|
313
|
+
);
|
|
314
|
+
if (renderedPropertyMappingEditor) {
|
|
315
|
+
return (
|
|
316
|
+
<Fragment key={propertyMappingState.uuid}>
|
|
317
|
+
{renderedPropertyMappingEditor}
|
|
318
|
+
</Fragment>
|
|
319
|
+
);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
return (
|
|
324
|
+
<div
|
|
325
|
+
className="property-mapping-editor__entry--unsupported"
|
|
326
|
+
key={propertyMappingState.uuid}
|
|
327
|
+
>
|
|
328
|
+
Unsupported property mapping
|
|
329
|
+
</div>
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
|
|
207
334
|
return (
|
|
208
335
|
<div
|
|
209
336
|
className={clsx('property-mapping-editor', {
|
|
@@ -218,7 +345,7 @@ export const PropertyMappingsEditor = observer(
|
|
|
218
345
|
),
|
|
219
346
|
})}
|
|
220
347
|
>
|
|
221
|
-
<div className=
|
|
348
|
+
<div className="property-mapping-editor__name__label">
|
|
222
349
|
{property.name}
|
|
223
350
|
</div>
|
|
224
351
|
{validationErrorMessage && (
|
|
@@ -259,7 +386,7 @@ export const PropertyMappingsEditor = observer(
|
|
|
259
386
|
className="property-mapping-editor__type__visit-btn"
|
|
260
387
|
onClick={visitOrCreateMappingElement}
|
|
261
388
|
tabIndex={-1}
|
|
262
|
-
title=
|
|
389
|
+
title="Visit mapping element"
|
|
263
390
|
>
|
|
264
391
|
<ArrowCircleRightIcon />
|
|
265
392
|
</button>
|
|
@@ -271,184 +398,50 @@ export const PropertyMappingsEditor = observer(
|
|
|
271
398
|
</div>
|
|
272
399
|
</div>
|
|
273
400
|
<div className="property-mapping-editor__content">
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
/>
|
|
297
|
-
{propertyMappingStates.length > 1 &&
|
|
298
|
-
propertyBasicType !== CLASS_PROPERTY_TYPE.CLASS && (
|
|
299
|
-
<button
|
|
300
|
-
className="property-mapping-editor__entries__entry__remove-btn"
|
|
301
|
-
onClick={() =>
|
|
302
|
-
removePropertyMapping(
|
|
303
|
-
propertyMappingState.propertyMapping,
|
|
304
|
-
)
|
|
305
|
-
}
|
|
306
|
-
tabIndex={-1}
|
|
307
|
-
title="Remove"
|
|
308
|
-
disabled={propertyMappingState.lambdaString === ''}
|
|
309
|
-
>
|
|
310
|
-
<TimesIcon />
|
|
311
|
-
</button>
|
|
312
|
-
)}
|
|
313
|
-
</div>
|
|
314
|
-
);
|
|
315
|
-
}
|
|
316
|
-
case SET_IMPLEMENTATION_TYPE.FLAT_DATA:
|
|
317
|
-
case SET_IMPLEMENTATION_TYPE.EMBEDDED_FLAT_DATA: {
|
|
318
|
-
return (
|
|
319
|
-
<div
|
|
320
|
-
className="property-mapping-editor__entries__entry"
|
|
321
|
-
key={propertyMappingState.uuid}
|
|
401
|
+
{propertyMappingStates.map((propertyMappingState) => (
|
|
402
|
+
<GenericPropertyMappingEditorEntry
|
|
403
|
+
key={propertyMappingState.uuid}
|
|
404
|
+
instanceSetImplementationState={instanceSetImplementationState}
|
|
405
|
+
propertyBasicType={propertyBasicType}
|
|
406
|
+
propertyMappingStates={propertyMappingStates}
|
|
407
|
+
propertyMappingState={propertyMappingState}
|
|
408
|
+
>
|
|
409
|
+
{renderPropertyMappingEntry(propertyMappingState)}
|
|
410
|
+
</GenericPropertyMappingEditorEntry>
|
|
411
|
+
))}
|
|
412
|
+
{propertyBasicType === CLASS_PROPERTY_TYPE.CLASS &&
|
|
413
|
+
!propertyMappingStates.length && (
|
|
414
|
+
<>
|
|
415
|
+
{isEmbedded && (
|
|
416
|
+
<div className="property-mapping-editor__entry--empty">
|
|
417
|
+
Click
|
|
418
|
+
<button
|
|
419
|
+
className="property-mapping-editor__entry--empty__visit-btn"
|
|
420
|
+
onClick={visitOrCreateMappingElement}
|
|
421
|
+
tabIndex={-1}
|
|
422
|
+
title="Create mapping element"
|
|
322
423
|
>
|
|
323
|
-
<
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
propertyBasicType !== CLASS_PROPERTY_TYPE.CLASS && (
|
|
337
|
-
<button
|
|
338
|
-
key={propertyMappingState.uuid}
|
|
339
|
-
className="property-mapping-editor__entries__entry__remove-btn"
|
|
340
|
-
onClick={() =>
|
|
341
|
-
removePropertyMapping(
|
|
342
|
-
propertyMappingState.propertyMapping,
|
|
343
|
-
)
|
|
344
|
-
}
|
|
345
|
-
tabIndex={-1}
|
|
346
|
-
title="Remove"
|
|
347
|
-
disabled={propertyMappingState.lambdaString === ''}
|
|
348
|
-
>
|
|
349
|
-
<TimesIcon />
|
|
350
|
-
</button>
|
|
351
|
-
)}
|
|
352
|
-
</div>
|
|
353
|
-
);
|
|
354
|
-
}
|
|
355
|
-
case SET_IMPLEMENTATION_TYPE.RELATIONAL: {
|
|
356
|
-
return (
|
|
357
|
-
<div
|
|
358
|
-
className="property-mapping-editor__entries__entry"
|
|
359
|
-
key={propertyMappingState.uuid}
|
|
424
|
+
<ArrowCircleRightIcon />
|
|
425
|
+
</button>
|
|
426
|
+
{`to create an embedded class mapping for property '${property.name}'.`}
|
|
427
|
+
</div>
|
|
428
|
+
)}
|
|
429
|
+
{!isEmbedded && (
|
|
430
|
+
<div className="property-mapping-editor__entry--empty">
|
|
431
|
+
No set implementation found. Click
|
|
432
|
+
<button
|
|
433
|
+
className="property-mapping-editor__entry--empty__visit-btn"
|
|
434
|
+
onClick={visitOrCreateMappingElement}
|
|
435
|
+
tabIndex={-1}
|
|
436
|
+
title="Create mapping element"
|
|
360
437
|
>
|
|
361
|
-
<
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}
|
|
369
|
-
setImplementationHasParserError={
|
|
370
|
-
setImplementationHasParserError
|
|
371
|
-
}
|
|
372
|
-
/>
|
|
373
|
-
{propertyMappingStates.length > 1 &&
|
|
374
|
-
propertyBasicType !== CLASS_PROPERTY_TYPE.CLASS && (
|
|
375
|
-
<button
|
|
376
|
-
className="property-mapping-editor__entries__entry__remove-btn"
|
|
377
|
-
key={propertyMappingState.uuid}
|
|
378
|
-
onClick={() =>
|
|
379
|
-
removePropertyMapping(
|
|
380
|
-
propertyMappingState.propertyMapping,
|
|
381
|
-
)
|
|
382
|
-
}
|
|
383
|
-
tabIndex={-1}
|
|
384
|
-
title="Remove"
|
|
385
|
-
disabled={propertyMappingState.lambdaString === ''}
|
|
386
|
-
>
|
|
387
|
-
<TimesIcon />
|
|
388
|
-
</button>
|
|
389
|
-
)}
|
|
390
|
-
</div>
|
|
391
|
-
);
|
|
392
|
-
}
|
|
393
|
-
default: {
|
|
394
|
-
const extraPropertyMappingEditorRenderers =
|
|
395
|
-
editorStore.pluginManager
|
|
396
|
-
.getApplicationPlugins()
|
|
397
|
-
.flatMap(
|
|
398
|
-
(plugin) =>
|
|
399
|
-
(
|
|
400
|
-
plugin as DSL_Mapping_LegendStudioApplicationPlugin_Extension
|
|
401
|
-
).getExtraPropertyMappingEditorRenderers?.() ?? [],
|
|
402
|
-
);
|
|
403
|
-
for (const renderer of extraPropertyMappingEditorRenderers) {
|
|
404
|
-
const renderedPropertyMappingEditor = renderer(
|
|
405
|
-
instanceSetImplementationState,
|
|
406
|
-
propertyMappingState,
|
|
407
|
-
);
|
|
408
|
-
if (renderedPropertyMappingEditor) {
|
|
409
|
-
return renderedPropertyMappingEditor;
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
throw new UnsupportedOperationError(
|
|
413
|
-
`Can't render property mapping editor: no compatible renderer available from plugins`,
|
|
414
|
-
);
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
})}
|
|
418
|
-
{propertyBasicType === CLASS_PROPERTY_TYPE.CLASS &&
|
|
419
|
-
!propertyMappingStates.length && (
|
|
420
|
-
<>
|
|
421
|
-
{isEmbedded && (
|
|
422
|
-
<div className="property-mapping-editor__entry--empty">
|
|
423
|
-
Click
|
|
424
|
-
<button
|
|
425
|
-
className="property-mapping-editor__entry--empty__visit-btn"
|
|
426
|
-
onClick={visitOrCreateMappingElement}
|
|
427
|
-
tabIndex={-1}
|
|
428
|
-
title={'Create mapping element'}
|
|
429
|
-
>
|
|
430
|
-
<ArrowCircleRightIcon />
|
|
431
|
-
</button>
|
|
432
|
-
{`to create an embedded class mapping for property '${property.name}'.`}
|
|
433
|
-
</div>
|
|
434
|
-
)}
|
|
435
|
-
{!isEmbedded && (
|
|
436
|
-
<div className="property-mapping-editor__entry--empty">
|
|
437
|
-
No set implementation found. Click
|
|
438
|
-
<button
|
|
439
|
-
className="property-mapping-editor__entry--empty__visit-btn"
|
|
440
|
-
onClick={visitOrCreateMappingElement}
|
|
441
|
-
tabIndex={-1}
|
|
442
|
-
title={'Create mapping element'}
|
|
443
|
-
>
|
|
444
|
-
<ArrowCircleRightIcon />
|
|
445
|
-
</button>
|
|
446
|
-
{`to create a root class mapping for '${propertyRawType.name}'.`}
|
|
447
|
-
</div>
|
|
448
|
-
)}
|
|
449
|
-
</>
|
|
450
|
-
)}
|
|
451
|
-
</div>
|
|
438
|
+
<ArrowCircleRightIcon />
|
|
439
|
+
</button>
|
|
440
|
+
{`to create a root class mapping for '${propertyRawType.name}'.`}
|
|
441
|
+
</div>
|
|
442
|
+
)}
|
|
443
|
+
</>
|
|
444
|
+
)}
|
|
452
445
|
</div>
|
|
453
446
|
</div>
|
|
454
447
|
);
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
EnumerationMappingExplicitReference,
|
|
46
46
|
} from '@finos/legend-graph';
|
|
47
47
|
import { StudioLambdaEditor } from '../../../shared/StudioLambdaEditor.js';
|
|
48
|
-
import { purePropertyMapping_setTransformer } from '../../../../stores/
|
|
48
|
+
import { purePropertyMapping_setTransformer } from '../../../../stores/shared/modifier/DSL_Mapping_GraphModifierHelper.js';
|
|
49
49
|
import { getExpectedReturnType } from './PropertyMappingsEditor.js';
|
|
50
50
|
import {
|
|
51
51
|
CLASS_PROPERTY_TYPE,
|
|
@@ -196,13 +196,13 @@ const EnumerationPropertyMappingEditor = observer(
|
|
|
196
196
|
options={options}
|
|
197
197
|
onChange={handleSelectionChange}
|
|
198
198
|
value={{ value: transformerLabel, label: transformerLabel }}
|
|
199
|
-
placeholder=
|
|
199
|
+
placeholder="Select an existing enumeration mapping"
|
|
200
200
|
/>
|
|
201
201
|
<button
|
|
202
202
|
className="property-mapping-editor__entry__visit-btn"
|
|
203
203
|
onClick={visit}
|
|
204
204
|
tabIndex={-1}
|
|
205
|
-
title=
|
|
205
|
+
title="Visit enumeration mapping"
|
|
206
206
|
>
|
|
207
207
|
<ArrowCircleRightIcon />
|
|
208
208
|
</button>
|
|
@@ -289,7 +289,7 @@ const ClassPropertyMappingEditor = observer(
|
|
|
289
289
|
className="property-mapping-editor__entry__visit-btn"
|
|
290
290
|
onClick={visit}
|
|
291
291
|
tabIndex={-1}
|
|
292
|
-
title=
|
|
292
|
+
title="Visit class mapping"
|
|
293
293
|
>
|
|
294
294
|
<ArrowCircleRightIcon />
|
|
295
295
|
</button>
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
EnumerationMappingExplicitReference,
|
|
47
47
|
} from '@finos/legend-graph';
|
|
48
48
|
import { StudioLambdaEditor } from '../../../../shared/StudioLambdaEditor.js';
|
|
49
|
-
import { relationalPropertyMapping_setTransformer } from '../../../../../stores/
|
|
49
|
+
import { relationalPropertyMapping_setTransformer } from '../../../../../stores/shared/modifier/STO_Relational_GraphModifierHelper.js';
|
|
50
50
|
import { getExpectedReturnType } from '../PropertyMappingsEditor.js';
|
|
51
51
|
import {
|
|
52
52
|
CLASS_PROPERTY_TYPE,
|
|
@@ -157,13 +157,13 @@ const EnumerationPropertyMappingEditor = observer(
|
|
|
157
157
|
options={options}
|
|
158
158
|
onChange={handleSelectionChange}
|
|
159
159
|
value={{ value: transformerLabel, label: transformerLabel }}
|
|
160
|
-
placeholder=
|
|
160
|
+
placeholder="Select an existing enumeration mapping"
|
|
161
161
|
/>
|
|
162
162
|
<button
|
|
163
163
|
className="property-mapping-editor__entry__visit-btn"
|
|
164
164
|
onClick={visit}
|
|
165
165
|
tabIndex={-1}
|
|
166
|
-
title=
|
|
166
|
+
title="Visit enumeration mapping"
|
|
167
167
|
>
|
|
168
168
|
<ArrowCircleRightIcon />
|
|
169
169
|
</button>
|
|
@@ -244,7 +244,7 @@ const ClassPropertyMappingEditor = observer(
|
|
|
244
244
|
className="property-mapping-editor__entry__visit-btn"
|
|
245
245
|
onClick={visit}
|
|
246
246
|
tabIndex={-1}
|
|
247
|
-
title=
|
|
247
|
+
title="Visit class mapping"
|
|
248
248
|
>
|
|
249
249
|
<ArrowCircleRightIcon />
|
|
250
250
|
</button>
|
package/src/components/editor/edit-panel/mapping-editor/relational/TableOrViewSourceTree.tsx
CHANGED
|
@@ -300,7 +300,7 @@ const RelationalOperationElementTreeNodeContainer: React.FC<
|
|
|
300
300
|
// primitiveType && primitiveType === selectedType,
|
|
301
301
|
// })}
|
|
302
302
|
tabIndex={-1}
|
|
303
|
-
title=
|
|
303
|
+
title="Column Type"
|
|
304
304
|
>
|
|
305
305
|
{generateColumnTypeLabel(guaranteeType(node.column, Column).type)}
|
|
306
306
|
</button>
|