@finos/legend-application-studio 17.0.0 → 18.0.1
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/components/{DSLExternalFormat_CodeSnippets.d.ts → DSL_ExternalFormat_CodeSnippets.d.ts} +1 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.d.ts.map +1 -0
- package/lib/components/{DSLExternalFormat_CodeSnippets.js → DSL_ExternalFormat_CodeSnippets.js} +1 -1
- package/lib/components/DSL_ExternalFormat_CodeSnippets.js.map +1 -0
- package/lib/components/{DSLExternalFormat_LegendStudioApplicationPlugin.d.ts → DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts} +3 -3
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -0
- package/lib/components/{DSLExternalFormat_LegendStudioApplicationPlugin.js → DSL_ExternalFormat_LegendStudioApplicationPlugin.js} +11 -11
- package/lib/components/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -0
- package/lib/components/{DSLExternalFormat_LegendStudioDocumentation.d.ts → DSL_ExternalFormat_LegendStudioDocumentation.d.ts} +1 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.d.ts.map +1 -0
- package/lib/components/{DSLExternalFormat_LegendStudioDocumentation.js → DSL_ExternalFormat_LegendStudioDocumentation.js} +1 -1
- package/lib/components/DSL_ExternalFormat_LegendStudioDocumentation.js.map +1 -0
- package/lib/components/EmbeddedQueryBuilder.d.ts +1 -0
- package/lib/components/EmbeddedQueryBuilder.d.ts.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.js +5 -26
- package/lib/components/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts +1 -0
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -0
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +1 -0
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +2 -2
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
- package/lib/components/editor/aux-panel/Console.d.ts +1 -0
- package/lib/components/editor/aux-panel/Console.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.d.ts +1 -0
- package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -0
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts +1 -0
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +2 -2
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +6 -6
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts.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.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +2 -2
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.d.ts +1 -0
- package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +3 -3
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +5 -5
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js +2 -2
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js +3 -3
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +1 -0
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +2 -2
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.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.d.ts +1 -33
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +20 -94
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +7 -9
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.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.d.ts +1 -0
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +1 -0
- 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 -2
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +1 -0
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts +1 -0
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +5 -5
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/{BindingElementEditor.d.ts → DSL_ExternalFormat_BindingElementEditor.d.ts} +2 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{BindingElementEditor.js → DSL_ExternalFormat_BindingElementEditor.js} +3 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{ExternalFormatConnectionEditor.d.ts → DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts} +2 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{ExternalFormatConnectionEditor.js → DSL_ExternalFormat_ExternalFormatConnectionEditor.js} +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{NewSchemaSetDriver.d.ts → DSL_ExternalFormat_NewSchemaSetDriver.d.ts} +2 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{NewSchemaSetDriver.js → DSL_ExternalFormat_NewSchemaSetDriver.js} +2 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{SchemaSetElementEditor.d.ts → DSL_ExternalFormat_SchemaSetElementEditor.d.ts} +3 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{SchemaSetElementEditor.js → DSL_ExternalFormat_SchemaSetElementEditor.js} +6 -6
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{SchemaSetModelGenerationEditor.d.ts → DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts} +3 -2
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/external-format-editor/{SchemaSetModelGenerationEditor.js → DSL_ExternalFormat_SchemaSetModelGenerationEditor.js} +4 -4
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts.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 +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +18 -3
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +5 -5
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js +4 -4
- 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 -0
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +41 -29
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +2 -2
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +4 -4
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +4 -4
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.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.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +5 -5
- 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.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +4 -4
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js +3 -3
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts.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/UMLEditor.d.ts +1 -0
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +1 -0
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -0
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -0
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +3 -3
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +1 -0
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -0
- package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -2
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +2 -2
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -0
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +3 -3
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +1 -0
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +4 -4
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/shared/DiffView.d.ts +1 -0
- package/lib/components/shared/DiffView.d.ts.map +1 -1
- package/lib/components/shared/DiffView.js +2 -2
- package/lib/components/shared/DiffView.js.map +1 -1
- package/lib/components/shared/StudioLambdaEditor.d.ts +1 -0
- package/lib/components/shared/StudioLambdaEditor.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts +1 -0
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts +1 -0
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts.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.d.ts +1 -0
- package/lib/components/workspace-setup/CreateProjectModal.d.ts.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -0
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +9 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -10
- package/lib/index.js.map +1 -1
- package/lib/package.json +6 -6
- package/lib/stores/{DSLData_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLData_LegendStudioApplicationPlugin_Extension.js → DSL_Data_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Data_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/{DSLGeneration_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLGeneration_LegendStudioApplicationPlugin_Extension.js → DSL_Generation_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/{DSLMapping_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLMapping_LegendStudioApplicationPlugin_Extension.js → DSL_Mapping_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/{DSLService_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLService_LegendStudioApplicationPlugin_Extension.js → DSL_Service_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/LegendStudioAppEvent.d.ts +1 -0
- package/lib/stores/LegendStudioAppEvent.d.ts.map +1 -1
- package/lib/stores/LegendStudioAppEvent.js +1 -0
- package/lib/stores/LegendStudioAppEvent.js.map +1 -1
- package/lib/stores/{StoreRelational_LegendStudioApplicationPlugin_Extension.d.ts → STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts} +2 -2
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js +17 -0
- package/lib/stores/STO_Relational_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/editor/NewElementState.js +7 -7
- 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 +1 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.js +3 -3
- package/lib/stores/editor-state/ModelImporterState.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/RuntimeEditorState.js +1 -1
- 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/{BindingEditorState.d.ts → DSL_ExternalFormat_BindingEditorState.d.ts} +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/{BindingEditorState.js → DSL_ExternalFormat_BindingEditorState.js} +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/{SchemaSetEditorState.d.ts → DSL_ExternalFormat_SchemaSetEditorState.d.ts} +1 -1
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/external-format/{SchemaSetEditorState.js → DSL_ExternalFormat_SchemaSetEditorState.js} +2 -2
- package/lib/stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts +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 +3 -3
- 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 +23 -27
- 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 +0 -2
- 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 -12
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +6 -6
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js +7 -7
- 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.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js +1 -5
- 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 +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js +9 -9
- package/lib/stores/editor-state/element-editor-state/service/ServiceExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +13 -3
- 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.js +1 -1
- 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/graphModifier/{DSLData_GraphModifierHelper.d.ts → DSL_Data_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLData_GraphModifierHelper.js → DSL_Data_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/DSL_Data_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{DSLExternalFormat_GraphModifierHelper.d.ts → DSL_ExternalFormat_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLExternalFormat_GraphModifierHelper.js → DSL_ExternalFormat_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{DSLGeneration_GraphModifierHelper.d.ts → DSL_Generation_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLGeneration_GraphModifierHelper.js → DSL_Generation_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/DSL_Generation_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{DSLMapping_GraphModifierHelper.d.ts → DSL_Mapping_GraphModifierHelper.d.ts} +3 -2
- package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLMapping_GraphModifierHelper.js → DSL_Mapping_GraphModifierHelper.js} +5 -2
- package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{DSLService_GraphModifierHelper.d.ts → DSL_Service_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLService_GraphModifierHelper.js → DSL_Service_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/DSL_Service_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{StoreFlatData_GraphModifierHelper.d.ts → STO_FlatData_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{StoreFlatData_GraphModifierHelper.js → STO_FlatData_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/STO_FlatData_GraphModifierHelper.js.map +1 -0
- package/lib/stores/graphModifier/{StoreRelational_GraphModifierHelper.d.ts → STO_Relational_GraphModifierHelper.d.ts} +1 -1
- package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{StoreRelational_GraphModifierHelper.js → STO_Relational_GraphModifierHelper.js} +1 -1
- package/lib/stores/graphModifier/STO_Relational_GraphModifierHelper.js.map +1 -0
- package/lib/stores/project-viewer/ProjectViewerStore.js +2 -2
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts +6 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js +13 -0
- package/lib/stores/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +3 -4
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +15 -15
- package/src/components/{DSLExternalFormat_CodeSnippets.ts → DSL_ExternalFormat_CodeSnippets.ts} +0 -0
- package/src/components/{DSLExternalFormat_LegendStudioApplicationPlugin.tsx → DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx} +13 -13
- package/src/components/{DSLExternalFormat_LegendStudioDocumentation.ts → DSL_ExternalFormat_LegendStudioDocumentation.ts} +0 -0
- package/src/components/EmbeddedQueryBuilder.tsx +9 -34
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +9 -3
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +6 -4
- package/src/components/editor/edit-panel/FunctionEditor.tsx +8 -8
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +15 -13
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +7 -6
- package/src/components/editor/edit-panel/ModelImporter.tsx +3 -3
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +15 -18
- package/src/components/editor/edit-panel/UnsupportedElementEditor.tsx +3 -3
- package/src/components/editor/edit-panel/connection-editor/ConnectionEditor.tsx +5 -5
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +3 -2
- package/src/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +101 -371
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +27 -26
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +6 -5
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +2 -3
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +13 -11
- package/src/components/editor/edit-panel/external-format-editor/{BindingElementEditor.tsx → DSL_ExternalFormat_BindingElementEditor.tsx} +2 -2
- package/src/components/editor/edit-panel/external-format-editor/{ExternalFormatConnectionEditor.tsx → DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx} +1 -1
- package/src/components/editor/edit-panel/external-format-editor/{NewSchemaSetDriver.tsx → DSL_ExternalFormat_NewSchemaSetDriver.tsx} +1 -1
- package/src/components/editor/edit-panel/external-format-editor/{SchemaSetElementEditor.tsx → DSL_ExternalFormat_SchemaSetElementEditor.tsx} +6 -5
- package/src/components/editor/edit-panel/external-format-editor/{SchemaSetModelGenerationEditor.tsx → DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx} +6 -5
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +9 -5
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +7 -6
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +33 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingEditor.tsx +3 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +8 -7
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +7 -6
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +7 -5
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +221 -116
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +3 -2
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +8 -6
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +2 -2
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +5 -4
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +7 -4
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +8 -5
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +8 -6
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +6 -4
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +3 -2
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +2 -2
- package/src/components/editor/side-bar/LocalChanges.tsx +7 -6
- package/src/components/editor/side-bar/ProjectOverview.tsx +5 -4
- package/src/components/editor/side-bar/WorkflowManager.tsx +2 -1
- package/src/components/editor/side-bar/WorkspaceReview.tsx +3 -2
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +5 -4
- package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +3 -2
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +5 -4
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +10 -1
- package/src/components/shared/DiffView.tsx +2 -2
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +3 -2
- package/src/index.ts +9 -15
- package/src/stores/{DSLData_LegendStudioApplicationPlugin_Extension.ts → DSL_Data_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/{DSLGeneration_LegendStudioApplicationPlugin_Extension.ts → DSL_Generation_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/{DSLMapping_LegendStudioApplicationPlugin_Extension.ts → DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/{DSLService_LegendStudioApplicationPlugin_Extension.ts → DSL_Service_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/EditorGraphState.ts +2 -2
- package/src/stores/LegendStudioAppEvent.ts +1 -0
- package/src/stores/{StoreRelational_LegendStudioApplicationPlugin_Extension.ts → STO_Relational_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/editor/NewElementState.ts +9 -9
- package/src/stores/editor-state/FileGenerationState.ts +1 -1
- package/src/stores/editor-state/GenerationSpecificationEditorState.ts +1 -1
- package/src/stores/editor-state/GrammarTextEditorState.ts +2 -2
- package/src/stores/editor-state/GraphGenerationState.ts +5 -5
- package/src/stores/editor-state/ModelImporterState.ts +3 -3
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +4 -4
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +9 -9
- package/src/stores/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/data/EmbeddedDataState.ts +4 -4
- package/src/stores/editor-state/element-editor-state/external-format/{BindingEditorState.ts → DSL_ExternalFormat_BindingEditorState.ts} +0 -0
- package/src/stores/editor-state/element-editor-state/external-format/{SchemaSetEditorState.ts → DSL_ExternalFormat_SchemaSetEditorState.ts} +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +9 -9
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +49 -57
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementState.ts +1 -17
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +6 -6
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +8 -8
- package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +1 -5
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +18 -12
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +40 -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 +1 -1
- 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/graphModifier/{DSLData_GraphModifierHelper.ts → DSL_Data_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{DSLExternalFormat_GraphModifierHelper.ts → DSL_ExternalFormat_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{DSLGeneration_GraphModifierHelper.ts → DSL_Generation_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{DSLMapping_GraphModifierHelper.ts → DSL_Mapping_GraphModifierHelper.ts} +12 -1
- package/src/stores/graphModifier/{DSLService_GraphModifierHelper.ts → DSL_Service_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{StoreFlatData_GraphModifierHelper.ts → STO_FlatData_GraphModifierHelper.ts} +0 -0
- package/src/stores/graphModifier/{StoreRelational_GraphModifierHelper.ts → STO_Relational_GraphModifierHelper.ts} +0 -0
- package/src/stores/project-viewer/ProjectViewerStore.ts +2 -2
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +18 -0
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +6 -5
- package/tsconfig.json +22 -22
- package/lib/components/DSLExternalFormat_CodeSnippets.d.ts.map +0 -1
- package/lib/components/DSLExternalFormat_CodeSnippets.js.map +0 -1
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/DSLExternalFormat_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/components/DSLExternalFormat_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.js.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetModelGenerationEditor.d.ts.map +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetModelGenerationEditor.js.map +0 -1
- package/lib/stores/DSLData_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLData_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSLGeneration_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLGeneration_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.js +0 -17
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/BindingEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/BindingEditorState.js.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.d.ts.map +0 -1
- package/lib/stores/editor-state/element-editor-state/external-format/SchemaSetEditorState.js.map +0 -1
- package/lib/stores/graphModifier/DSLData_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLData_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLExternalFormat_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSLGeneration_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLGeneration_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/DSLService_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/DSLService_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/StoreFlatData_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/StoreFlatData_GraphModifierHelper.js.map +0 -1
- package/lib/stores/graphModifier/StoreRelational_GraphModifierHelper.d.ts.map +0 -1
- package/lib/stores/graphModifier/StoreRelational_GraphModifierHelper.js.map +0 -1
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
PURE_ClassIcon,
|
|
33
33
|
PURE_EnumerationIcon,
|
|
34
34
|
PURE_AssociationIcon,
|
|
35
|
+
Panel,
|
|
35
36
|
} from '@finos/legend-art';
|
|
36
37
|
import { ClassMappingEditor } from './ClassMappingEditor.js';
|
|
37
38
|
import { EnumerationMappingEditor } from './EnumerationMappingEditor.js';
|
|
@@ -241,7 +242,7 @@ export const MappingEditor = observer(() => {
|
|
|
241
242
|
</ResizablePanel>
|
|
242
243
|
<ResizablePanelSplitter />
|
|
243
244
|
<ResizablePanel>
|
|
244
|
-
<
|
|
245
|
+
<Panel>
|
|
245
246
|
<ContextMenu
|
|
246
247
|
className="panel__header mapping-editor__header"
|
|
247
248
|
disabled={true}
|
|
@@ -340,7 +341,7 @@ export const MappingEditor = observer(() => {
|
|
|
340
341
|
<div className="panel__content mapping-editor__content">
|
|
341
342
|
{renderActiveMappingElementTab()}
|
|
342
343
|
</div>
|
|
343
|
-
</
|
|
344
|
+
</Panel>
|
|
344
345
|
</ResizablePanel>
|
|
345
346
|
</ResizablePanelGroup>
|
|
346
347
|
</div>
|
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
RobotIcon,
|
|
40
40
|
PanelDropZone,
|
|
41
41
|
PencilIcon,
|
|
42
|
+
PanelContent,
|
|
42
43
|
} from '@finos/legend-art';
|
|
43
44
|
import { observer } from 'mobx-react-lite';
|
|
44
45
|
import {
|
|
@@ -79,12 +80,12 @@ import {
|
|
|
79
80
|
isStubbed_RawLambda,
|
|
80
81
|
} from '@finos/legend-graph';
|
|
81
82
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
82
|
-
import { objectInputData_setData } from '../../../../stores/graphModifier/
|
|
83
|
-
import { flatData_setData } from '../../../../stores/graphModifier/
|
|
83
|
+
import { objectInputData_setData } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
84
|
+
import { flatData_setData } from '../../../../stores/graphModifier/STO_FlatData_GraphModifierHelper.js';
|
|
84
85
|
import {
|
|
85
86
|
relationalInputData_setData,
|
|
86
87
|
relationalInputData_setInputType,
|
|
87
|
-
} from '../../../../stores/graphModifier/
|
|
88
|
+
} from '../../../../stores/graphModifier/STO_Relational_GraphModifierHelper.js';
|
|
88
89
|
import { MappingExecutionQueryBuilderState } from '../../../../stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js';
|
|
89
90
|
import type { QueryBuilderState } from '@finos/legend-query-builder';
|
|
90
91
|
|
|
@@ -382,7 +383,7 @@ const MappingExecutionQueryEditor = observer(
|
|
|
382
383
|
</div>
|
|
383
384
|
</div>
|
|
384
385
|
{!isStubbed_RawLambda(queryState.query) && (
|
|
385
|
-
<
|
|
386
|
+
<PanelContent>
|
|
386
387
|
<div className="mapping-execution-builder__query-panel__query">
|
|
387
388
|
<StudioTextInputEditor
|
|
388
389
|
inputValue={queryState.lambdaString}
|
|
@@ -391,10 +392,10 @@ const MappingExecutionQueryEditor = observer(
|
|
|
391
392
|
showMiniMap={false}
|
|
392
393
|
/>
|
|
393
394
|
</div>
|
|
394
|
-
</
|
|
395
|
+
</PanelContent>
|
|
395
396
|
)}
|
|
396
397
|
{isStubbed_RawLambda(queryState.query) && (
|
|
397
|
-
<
|
|
398
|
+
<PanelContent>
|
|
398
399
|
<PanelDropZone
|
|
399
400
|
dropTargetConnector={dropRef}
|
|
400
401
|
isDragOver={isDragOver}
|
|
@@ -407,7 +408,7 @@ const MappingExecutionQueryEditor = observer(
|
|
|
407
408
|
isDropZoneActive={canDrop}
|
|
408
409
|
/>
|
|
409
410
|
</PanelDropZone>
|
|
410
|
-
</
|
|
411
|
+
</PanelContent>
|
|
411
412
|
)}
|
|
412
413
|
{openClassMappingSelectorModal && (
|
|
413
414
|
<ClassMappingSelectorModal
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
PureInstanceSetImplementationFilterState,
|
|
69
69
|
PureInstanceSetImplementationState,
|
|
70
70
|
} from '../../../../stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js';
|
|
71
|
-
import { pureInstanceSetImpl_setMappingFilter } from '../../../../stores/graphModifier/
|
|
71
|
+
import { pureInstanceSetImpl_setMappingFilter } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
72
72
|
|
|
73
73
|
export const MappingExplorerContextMenu = observer(
|
|
74
74
|
forwardRef<
|
|
@@ -46,6 +46,7 @@ import {
|
|
|
46
46
|
PauseCircleIcon,
|
|
47
47
|
PanelDropZone,
|
|
48
48
|
PencilIcon,
|
|
49
|
+
PanelContent,
|
|
49
50
|
} from '@finos/legend-art';
|
|
50
51
|
import { useDrop } from 'react-dnd';
|
|
51
52
|
import {
|
|
@@ -86,11 +87,11 @@ import {
|
|
|
86
87
|
DEPRECATED__validate_MappingTestAssert,
|
|
87
88
|
} from '@finos/legend-graph';
|
|
88
89
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
89
|
-
import { flatData_setData } from '../../../../stores/graphModifier/
|
|
90
|
+
import { flatData_setData } from '../../../../stores/graphModifier/STO_FlatData_GraphModifierHelper.js';
|
|
90
91
|
import {
|
|
91
92
|
relationalInputData_setData,
|
|
92
93
|
relationalInputData_setInputType,
|
|
93
|
-
} from '../../../../stores/graphModifier/
|
|
94
|
+
} from '../../../../stores/graphModifier/STO_Relational_GraphModifierHelper.js';
|
|
94
95
|
import type { QueryBuilderState } from '@finos/legend-query-builder';
|
|
95
96
|
import { MappingExecutionQueryBuilderState } from '../../../../stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js';
|
|
96
97
|
|
|
@@ -273,7 +274,7 @@ const MappingTestQueryEditor = observer(
|
|
|
273
274
|
</div>
|
|
274
275
|
</div>
|
|
275
276
|
{!isStubbed_RawLambda(queryState.query) && (
|
|
276
|
-
<
|
|
277
|
+
<PanelContent>
|
|
277
278
|
<div className="mapping-test-editor__query-panel__query">
|
|
278
279
|
<StudioTextInputEditor
|
|
279
280
|
inputValue={queryState.lambdaString}
|
|
@@ -282,10 +283,10 @@ const MappingTestQueryEditor = observer(
|
|
|
282
283
|
showMiniMap={false}
|
|
283
284
|
/>
|
|
284
285
|
</div>
|
|
285
|
-
</
|
|
286
|
+
</PanelContent>
|
|
286
287
|
)}
|
|
287
288
|
{isStubbed_RawLambda(queryState.query) && (
|
|
288
|
-
<
|
|
289
|
+
<PanelContent>
|
|
289
290
|
<PanelDropZone
|
|
290
291
|
dropTargetConnector={dropRef}
|
|
291
292
|
isDragOver={isDragOver}
|
|
@@ -299,7 +300,7 @@ const MappingTestQueryEditor = observer(
|
|
|
299
300
|
disabled={isReadOnly}
|
|
300
301
|
/>
|
|
301
302
|
</PanelDropZone>
|
|
302
|
-
</
|
|
303
|
+
</PanelContent>
|
|
303
304
|
)}
|
|
304
305
|
{openClassMappingSelectorModal && (
|
|
305
306
|
<ClassMappingSelectorModal
|
package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx
CHANGED
|
@@ -24,6 +24,8 @@ import {
|
|
|
24
24
|
ArrowCircleRightIcon,
|
|
25
25
|
PlusIcon,
|
|
26
26
|
PanelDropZone,
|
|
27
|
+
Panel,
|
|
28
|
+
PanelContent,
|
|
27
29
|
} from '@finos/legend-art';
|
|
28
30
|
import {
|
|
29
31
|
CORE_DND_TYPE,
|
|
@@ -55,7 +57,7 @@ import {
|
|
|
55
57
|
operationMapping_addParameter,
|
|
56
58
|
operationMapping_changeParameter,
|
|
57
59
|
operationMapping_deleteParameter,
|
|
58
|
-
} from '../../../../stores/graphModifier/
|
|
60
|
+
} from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
59
61
|
|
|
60
62
|
interface SetImplementationOption {
|
|
61
63
|
value: SetImplementation;
|
|
@@ -195,7 +197,7 @@ export const OperationSetImplementationEditor = observer(
|
|
|
195
197
|
|
|
196
198
|
return (
|
|
197
199
|
<div className="mapping-element-editor__content">
|
|
198
|
-
<
|
|
200
|
+
<Panel>
|
|
199
201
|
<div className="panel__header">
|
|
200
202
|
<div className="panel__header__title">
|
|
201
203
|
<div className="panel__header__title__content">PARAMETERS</div>
|
|
@@ -219,7 +221,7 @@ export const OperationSetImplementationEditor = observer(
|
|
|
219
221
|
isDragOver={isDragOver && !isReadOnly}
|
|
220
222
|
dropTargetConnector={dropRef}
|
|
221
223
|
>
|
|
222
|
-
<
|
|
224
|
+
<PanelContent>
|
|
223
225
|
{setImplementation.parameters.map((param) => (
|
|
224
226
|
<div
|
|
225
227
|
key={param._UUID}
|
|
@@ -259,9 +261,9 @@ export const OperationSetImplementationEditor = observer(
|
|
|
259
261
|
)}
|
|
260
262
|
</div>
|
|
261
263
|
))}
|
|
262
|
-
</
|
|
264
|
+
</PanelContent>
|
|
263
265
|
</PanelDropZone>
|
|
264
|
-
</
|
|
266
|
+
</Panel>
|
|
265
267
|
</div>
|
|
266
268
|
);
|
|
267
269
|
},
|
|
@@ -22,12 +22,20 @@ import {
|
|
|
22
22
|
type MappingElement,
|
|
23
23
|
MappingEditorState,
|
|
24
24
|
} from '../../../../stores/editor-state/element-editor-state/mapping/MappingEditorState.js';
|
|
25
|
-
import type {
|
|
25
|
+
import type {
|
|
26
|
+
InstanceSetImplementationState,
|
|
27
|
+
PropertyMappingState,
|
|
28
|
+
} from '../../../../stores/editor-state/element-editor-state/mapping/MappingElementState.js';
|
|
26
29
|
import {
|
|
27
30
|
PurePropertyMappingState,
|
|
28
31
|
PureInstanceSetImplementationState,
|
|
29
32
|
} from '../../../../stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.js';
|
|
30
|
-
import {
|
|
33
|
+
import {
|
|
34
|
+
clsx,
|
|
35
|
+
ArrowCircleRightIcon,
|
|
36
|
+
TimesCircleIcon,
|
|
37
|
+
TimesIcon,
|
|
38
|
+
} from '@finos/legend-art';
|
|
31
39
|
import { guaranteeType, UnsupportedOperationError } from '@finos/legend-shared';
|
|
32
40
|
import {
|
|
33
41
|
type FlatDataPropertyMappingState,
|
|
@@ -42,6 +50,7 @@ import type {
|
|
|
42
50
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
43
51
|
import {
|
|
44
52
|
type Property,
|
|
53
|
+
type PropertyMapping,
|
|
45
54
|
type Type,
|
|
46
55
|
getRootSetImplementation,
|
|
47
56
|
Class,
|
|
@@ -53,15 +62,16 @@ import {
|
|
|
53
62
|
} from '@finos/legend-graph';
|
|
54
63
|
import { useApplicationStore } from '@finos/legend-application';
|
|
55
64
|
import {
|
|
65
|
+
instanceSetImpl_deletePropertyMapping,
|
|
56
66
|
setImpl_nominateRoot,
|
|
57
67
|
setImpl_setRoot,
|
|
58
|
-
} from '../../../../stores/graphModifier/
|
|
68
|
+
} from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
59
69
|
import {
|
|
60
70
|
CLASS_PROPERTY_TYPE,
|
|
61
71
|
getClassPropertyType,
|
|
62
72
|
SET_IMPLEMENTATION_TYPE,
|
|
63
73
|
} from '../../../../stores/shared/ModelClassifierUtils.js';
|
|
64
|
-
import type {
|
|
74
|
+
import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../../../stores/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
|
|
65
75
|
|
|
66
76
|
export const getExpectedReturnType = (
|
|
67
77
|
targetSetImplementation: SetImplementation | undefined,
|
|
@@ -82,6 +92,12 @@ export const PropertyMappingsEditor = observer(
|
|
|
82
92
|
isReadOnly: boolean;
|
|
83
93
|
}) => {
|
|
84
94
|
const { instanceSetImplementationState, property, isReadOnly } = props;
|
|
95
|
+
const validationErrorMessage =
|
|
96
|
+
instanceSetImplementationState.mappingElement.propertyMappings.filter(
|
|
97
|
+
(pm) => pm.property.value === property,
|
|
98
|
+
).length > 1 && !(property.genericType.value.rawType instanceof Class)
|
|
99
|
+
? 'Only one property mapping should exist per simple type (e.g. primitive, measure, unit) or enumeration type property'
|
|
100
|
+
: undefined;
|
|
85
101
|
const editorStore = useEditorStore();
|
|
86
102
|
const applicationStore = useApplicationStore();
|
|
87
103
|
const mappingEditorState =
|
|
@@ -90,12 +106,12 @@ export const PropertyMappingsEditor = observer(
|
|
|
90
106
|
const propertyBasicType = getClassPropertyType(propertyRawType);
|
|
91
107
|
const instanceSetImplementationType =
|
|
92
108
|
editorStore.graphState.getSetImplementationType(
|
|
93
|
-
instanceSetImplementationState.
|
|
109
|
+
instanceSetImplementationState.mappingElement,
|
|
94
110
|
);
|
|
95
111
|
const isEmbedded =
|
|
96
|
-
instanceSetImplementationState.
|
|
112
|
+
instanceSetImplementationState.mappingElement._isEmbedded;
|
|
97
113
|
// Parser Error
|
|
98
|
-
const propertyMappingStates =
|
|
114
|
+
const propertyMappingStates: PropertyMappingState[] =
|
|
99
115
|
instanceSetImplementationState.propertyMappingStates.filter(
|
|
100
116
|
(pm) => pm.propertyMapping.property.value === property,
|
|
101
117
|
);
|
|
@@ -107,6 +123,13 @@ export const PropertyMappingsEditor = observer(
|
|
|
107
123
|
(pm) => pm.parserError,
|
|
108
124
|
),
|
|
109
125
|
);
|
|
126
|
+
const removePropertyMapping = (pm: PropertyMapping): void => {
|
|
127
|
+
instanceSetImpl_deletePropertyMapping(
|
|
128
|
+
instanceSetImplementationState.mappingElement,
|
|
129
|
+
pm,
|
|
130
|
+
);
|
|
131
|
+
instanceSetImplementationState.decorate();
|
|
132
|
+
};
|
|
110
133
|
// Walker
|
|
111
134
|
// TODO: revisit this behavior now that we have more types of property mapping to support
|
|
112
135
|
// e.g. embedded, target set implementation, etc.
|
|
@@ -188,7 +211,25 @@ export const PropertyMappingsEditor = observer(
|
|
|
188
211
|
})}
|
|
189
212
|
>
|
|
190
213
|
<div className="property-mapping-editor__metadata">
|
|
191
|
-
<div
|
|
214
|
+
<div
|
|
215
|
+
className={clsx('property-mapping-editor__name', {
|
|
216
|
+
'property-mapping-editor__name--with-validation': Boolean(
|
|
217
|
+
validationErrorMessage,
|
|
218
|
+
),
|
|
219
|
+
})}
|
|
220
|
+
>
|
|
221
|
+
<div className={'property-mapping-editor__name__label'}>
|
|
222
|
+
{property.name}
|
|
223
|
+
</div>
|
|
224
|
+
{validationErrorMessage && (
|
|
225
|
+
<div
|
|
226
|
+
className="property-mapping-editor__name--with-validation__indicator"
|
|
227
|
+
title={validationErrorMessage}
|
|
228
|
+
>
|
|
229
|
+
<TimesCircleIcon />
|
|
230
|
+
</div>
|
|
231
|
+
)}
|
|
232
|
+
</div>
|
|
192
233
|
<div className="property-mapping-editor__info">
|
|
193
234
|
<div
|
|
194
235
|
className={clsx(
|
|
@@ -230,120 +271,184 @@ export const PropertyMappingsEditor = observer(
|
|
|
230
271
|
</div>
|
|
231
272
|
</div>
|
|
232
273
|
<div className="property-mapping-editor__content">
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
274
|
+
<div className="property-mapping-editor__entries">
|
|
275
|
+
{propertyMappingStates.map((propertyMappingState) => {
|
|
276
|
+
switch (instanceSetImplementationType) {
|
|
277
|
+
case SET_IMPLEMENTATION_TYPE.PUREINSTANCE: {
|
|
278
|
+
return (
|
|
279
|
+
<div
|
|
280
|
+
className="property-mapping-editor__entries__entry"
|
|
281
|
+
key={propertyMappingState.uuid}
|
|
282
|
+
>
|
|
283
|
+
<PurePropertyMappingEditor
|
|
284
|
+
isReadOnly={isReadOnly}
|
|
285
|
+
pureInstanceSetImplementationState={guaranteeType(
|
|
286
|
+
instanceSetImplementationState,
|
|
287
|
+
PureInstanceSetImplementationState,
|
|
288
|
+
)}
|
|
289
|
+
purePropertyMappingState={guaranteeType(
|
|
290
|
+
propertyMappingState,
|
|
291
|
+
PurePropertyMappingState,
|
|
292
|
+
)}
|
|
293
|
+
setImplementationHasParserError={
|
|
294
|
+
setImplementationHasParserError
|
|
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}
|
|
322
|
+
>
|
|
323
|
+
<FlatDataPropertyMappingEditor
|
|
324
|
+
isReadOnly={isReadOnly}
|
|
325
|
+
flatDataInstanceSetImplementationState={
|
|
326
|
+
instanceSetImplementationState as FlatDataInstanceSetImplementationState
|
|
327
|
+
}
|
|
328
|
+
flatDataPropertyMappingState={
|
|
329
|
+
propertyMappingState as FlatDataPropertyMappingState
|
|
330
|
+
}
|
|
331
|
+
setImplementationHasParserError={
|
|
332
|
+
setImplementationHasParserError
|
|
333
|
+
}
|
|
334
|
+
/>
|
|
335
|
+
{propertyMappingStates.length > 1 &&
|
|
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}
|
|
360
|
+
>
|
|
361
|
+
<RelationalPropertyMappingEditor
|
|
362
|
+
isReadOnly={isReadOnly}
|
|
363
|
+
relationalInstanceSetImplementationState={
|
|
364
|
+
instanceSetImplementationState as RootRelationalInstanceSetImplementationState
|
|
365
|
+
}
|
|
366
|
+
relationalPropertyMappingState={
|
|
367
|
+
propertyMappingState as RelationalPropertyMappingState
|
|
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(
|
|
241
405
|
instanceSetImplementationState,
|
|
242
|
-
PureInstanceSetImplementationState,
|
|
243
|
-
)}
|
|
244
|
-
purePropertyMappingState={guaranteeType(
|
|
245
406
|
propertyMappingState,
|
|
246
|
-
PurePropertyMappingState,
|
|
247
|
-
)}
|
|
248
|
-
setImplementationHasParserError={
|
|
249
|
-
setImplementationHasParserError
|
|
250
|
-
}
|
|
251
|
-
/>
|
|
252
|
-
);
|
|
253
|
-
}
|
|
254
|
-
case SET_IMPLEMENTATION_TYPE.FLAT_DATA:
|
|
255
|
-
case SET_IMPLEMENTATION_TYPE.EMBEDDED_FLAT_DATA: {
|
|
256
|
-
return (
|
|
257
|
-
<FlatDataPropertyMappingEditor
|
|
258
|
-
key={propertyMappingState.uuid}
|
|
259
|
-
isReadOnly={isReadOnly}
|
|
260
|
-
flatDataInstanceSetImplementationState={
|
|
261
|
-
instanceSetImplementationState as FlatDataInstanceSetImplementationState
|
|
262
|
-
}
|
|
263
|
-
flatDataPropertyMappingState={
|
|
264
|
-
propertyMappingState as FlatDataPropertyMappingState
|
|
265
|
-
}
|
|
266
|
-
setImplementationHasParserError={
|
|
267
|
-
setImplementationHasParserError
|
|
268
|
-
}
|
|
269
|
-
/>
|
|
270
|
-
);
|
|
271
|
-
}
|
|
272
|
-
case SET_IMPLEMENTATION_TYPE.RELATIONAL: {
|
|
273
|
-
return (
|
|
274
|
-
<RelationalPropertyMappingEditor
|
|
275
|
-
key={propertyMappingState.uuid}
|
|
276
|
-
isReadOnly={isReadOnly}
|
|
277
|
-
relationalInstanceSetImplementationState={
|
|
278
|
-
instanceSetImplementationState as RootRelationalInstanceSetImplementationState
|
|
279
|
-
}
|
|
280
|
-
relationalPropertyMappingState={
|
|
281
|
-
propertyMappingState as RelationalPropertyMappingState
|
|
282
|
-
}
|
|
283
|
-
setImplementationHasParserError={
|
|
284
|
-
setImplementationHasParserError
|
|
285
|
-
}
|
|
286
|
-
/>
|
|
287
|
-
);
|
|
288
|
-
}
|
|
289
|
-
default: {
|
|
290
|
-
const extraPropertyMappingEditorRenderers =
|
|
291
|
-
editorStore.pluginManager
|
|
292
|
-
.getApplicationPlugins()
|
|
293
|
-
.flatMap(
|
|
294
|
-
(plugin) =>
|
|
295
|
-
(
|
|
296
|
-
plugin as DSLMapping_LegendStudioApplicationPlugin_Extension
|
|
297
|
-
).getExtraPropertyMappingEditorRenderers?.() ?? [],
|
|
298
407
|
);
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
propertyMappingState,
|
|
303
|
-
);
|
|
304
|
-
if (renderedPropertyMappingEditor) {
|
|
305
|
-
return renderedPropertyMappingEditor;
|
|
408
|
+
if (renderedPropertyMappingEditor) {
|
|
409
|
+
return renderedPropertyMappingEditor;
|
|
410
|
+
}
|
|
306
411
|
}
|
|
412
|
+
throw new UnsupportedOperationError(
|
|
413
|
+
`Can't render property mapping editor: no compatible renderer available from plugins`,
|
|
414
|
+
);
|
|
307
415
|
}
|
|
308
|
-
throw new UnsupportedOperationError(
|
|
309
|
-
`Can't render property mapping editor: no compatible renderer available from plugins`,
|
|
310
|
-
);
|
|
311
416
|
}
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
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>
|
|
347
452
|
</div>
|
|
348
453
|
</div>
|
|
349
454
|
);
|
|
@@ -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/graphModifier/
|
|
48
|
+
import { purePropertyMapping_setTransformer } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
49
49
|
import { getExpectedReturnType } from './PropertyMappingsEditor.js';
|
|
50
50
|
import {
|
|
51
51
|
CLASS_PROPERTY_TYPE,
|
|
@@ -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/graphModifier/
|
|
49
|
+
import { relationalPropertyMapping_setTransformer } from '../../../../../stores/graphModifier/STO_Relational_GraphModifierHelper.js';
|
|
50
50
|
import { getExpectedReturnType } from '../PropertyMappingsEditor.js';
|
|
51
51
|
import {
|
|
52
52
|
CLASS_PROPERTY_TYPE,
|
package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx
CHANGED
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
ExternalLinkSquareIcon,
|
|
42
42
|
ArchiveIcon,
|
|
43
43
|
Dialog,
|
|
44
|
+
Panel,
|
|
44
45
|
} from '@finos/legend-art';
|
|
45
46
|
import { flowResult } from 'mobx';
|
|
46
47
|
import {
|
|
@@ -604,7 +605,7 @@ export const ProjectConfigurationEditor = observer(() => {
|
|
|
604
605
|
}
|
|
605
606
|
return (
|
|
606
607
|
<div className="project-configuration-editor">
|
|
607
|
-
<
|
|
608
|
+
<Panel>
|
|
608
609
|
<div className="panel__header">
|
|
609
610
|
<div className="panel__header__title">
|
|
610
611
|
<div className="panel__header__title__label">
|
|
@@ -689,7 +690,7 @@ export const ProjectConfigurationEditor = observer(() => {
|
|
|
689
690
|
/>
|
|
690
691
|
)}
|
|
691
692
|
</div>
|
|
692
|
-
</
|
|
693
|
+
</Panel>
|
|
693
694
|
</div>
|
|
694
695
|
);
|
|
695
696
|
});
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
service_setDocumentation,
|
|
46
46
|
service_setPattern,
|
|
47
47
|
service_updateOwner,
|
|
48
|
-
} from '../../../../stores/graphModifier/
|
|
48
|
+
} from '../../../../stores/graphModifier/DSL_Service_GraphModifierHelper.js';
|
|
49
49
|
import { validate_ServicePattern } from '@finos/legend-graph';
|
|
50
50
|
import { ServiceTestableEditor } from './testable/ServiceTestableEditor.js';
|
|
51
51
|
import { useApplicationNavigationContext } from '@finos/legend-application';
|