@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
|
@@ -70,13 +70,13 @@ import {
|
|
|
70
70
|
enumMapping_setEnumValueMappings,
|
|
71
71
|
enumValueMapping_addSourceValue,
|
|
72
72
|
enumValueMapping_setSourceValues,
|
|
73
|
-
|
|
73
|
+
instanceSetImpl_setPropertyMappings,
|
|
74
74
|
operationMapping_setParameters,
|
|
75
75
|
pureInstanceSetImpl_setPropertyMappings,
|
|
76
76
|
purePropertyMapping_setTransformer,
|
|
77
|
-
} from '../../../graphModifier/
|
|
78
|
-
import { rootRelationalSetImp_setPropertyMappings } from '../../../graphModifier/
|
|
79
|
-
import type {
|
|
77
|
+
} from '../../../graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
78
|
+
import { rootRelationalSetImp_setPropertyMappings } from '../../../graphModifier/STO_Relational_GraphModifierHelper.js';
|
|
79
|
+
import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../../DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Iterate through all properties (including supertypes' properties) of the set implementation
|
|
@@ -208,14 +208,8 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
208
208
|
propertyType instanceof Unit ||
|
|
209
209
|
propertyType instanceof Measure
|
|
210
210
|
) {
|
|
211
|
-
// only allow one property mapping per primitive property
|
|
212
|
-
assertTrue(
|
|
213
|
-
!existingPropertyMappings.length ||
|
|
214
|
-
existingPropertyMappings.length === 1,
|
|
215
|
-
'Only one property mapping should exist per simple type (e.g. primitive, measure, unit) property',
|
|
216
|
-
);
|
|
217
211
|
return existingPropertyMappings.length
|
|
218
|
-
?
|
|
212
|
+
? existingPropertyMappings
|
|
219
213
|
: [
|
|
220
214
|
new PurePropertyMapping(
|
|
221
215
|
setImplementation,
|
|
@@ -226,14 +220,8 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
226
220
|
),
|
|
227
221
|
];
|
|
228
222
|
} else if (propertyType instanceof Enumeration) {
|
|
229
|
-
// only allow one property mapping per enumeration property
|
|
230
|
-
assertTrue(
|
|
231
|
-
!existingPropertyMappings.length ||
|
|
232
|
-
existingPropertyMappings.length === 1,
|
|
233
|
-
'Only one property mapping should exist per enumeration type property',
|
|
234
|
-
);
|
|
235
223
|
const enumerationPropertyMapping = existingPropertyMappings.length
|
|
236
|
-
?
|
|
224
|
+
? existingPropertyMappings
|
|
237
225
|
: [
|
|
238
226
|
new PurePropertyMapping(
|
|
239
227
|
setImplementation,
|
|
@@ -323,10 +311,15 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
323
311
|
pureInstanceSetImpl_setPropertyMappings(
|
|
324
312
|
setImplementation,
|
|
325
313
|
decoratedPropertyMappings.concat(
|
|
326
|
-
propertyMappingsBeforeDecoration
|
|
327
|
-
(
|
|
328
|
-
|
|
329
|
-
|
|
314
|
+
propertyMappingsBeforeDecoration
|
|
315
|
+
.filter(
|
|
316
|
+
(propertyMapping) =>
|
|
317
|
+
!isStubbed_RawLambda(propertyMapping.transform),
|
|
318
|
+
)
|
|
319
|
+
.filter(
|
|
320
|
+
(propertyMapping) =>
|
|
321
|
+
!decoratedPropertyMappings.includes(propertyMapping),
|
|
322
|
+
),
|
|
330
323
|
),
|
|
331
324
|
this.editorStore.changeDetectionState.observerContext,
|
|
332
325
|
);
|
|
@@ -355,14 +348,8 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
355
348
|
propertyType instanceof Unit ||
|
|
356
349
|
propertyType instanceof Measure
|
|
357
350
|
) {
|
|
358
|
-
// only allow one property mapping per primitive property
|
|
359
|
-
assertTrue(
|
|
360
|
-
!existingPropertyMappings.length ||
|
|
361
|
-
existingPropertyMappings.length === 1,
|
|
362
|
-
'Only one property mapping should exist per simple type (e.g. primitive, measure, unit) property',
|
|
363
|
-
);
|
|
364
351
|
return existingPropertyMappings.length
|
|
365
|
-
?
|
|
352
|
+
? existingPropertyMappings
|
|
366
353
|
: [
|
|
367
354
|
new FlatDataPropertyMapping(
|
|
368
355
|
setImplementation,
|
|
@@ -439,13 +426,20 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
439
426
|
setImplementation,
|
|
440
427
|
decoratePropertyMapping,
|
|
441
428
|
);
|
|
442
|
-
|
|
429
|
+
instanceSetImpl_setPropertyMappings(
|
|
443
430
|
setImplementation,
|
|
444
431
|
decoratedPropertyMappings.concat(
|
|
445
|
-
propertyMappingsBeforeDecoration
|
|
446
|
-
(
|
|
447
|
-
|
|
448
|
-
|
|
432
|
+
propertyMappingsBeforeDecoration
|
|
433
|
+
.filter(
|
|
434
|
+
(propertyMapping) =>
|
|
435
|
+
(propertyMapping instanceof FlatDataPropertyMapping &&
|
|
436
|
+
!isStubbed_RawLambda(propertyMapping.transform)) ||
|
|
437
|
+
propertyMapping instanceof EmbeddedFlatDataPropertyMapping,
|
|
438
|
+
)
|
|
439
|
+
.filter(
|
|
440
|
+
(propertyMapping) =>
|
|
441
|
+
!decoratedPropertyMappings.includes(propertyMapping),
|
|
442
|
+
),
|
|
449
443
|
),
|
|
450
444
|
this.editorStore.changeDetectionState.observerContext,
|
|
451
445
|
);
|
|
@@ -486,15 +480,9 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
486
480
|
propertyType instanceof Unit ||
|
|
487
481
|
propertyType instanceof Measure
|
|
488
482
|
) {
|
|
489
|
-
// only allow one property mapping per primitive property
|
|
490
|
-
assertTrue(
|
|
491
|
-
!existingPropertyMappings.length ||
|
|
492
|
-
existingPropertyMappings.length === 1,
|
|
493
|
-
'Only one property mapping should exist per simple type (e.g. primitive, measure, unit) property',
|
|
494
|
-
);
|
|
495
483
|
if (existingPropertyMappings.length) {
|
|
496
484
|
// TODO?: do we want to check the type of the property mapping here?
|
|
497
|
-
return
|
|
485
|
+
return existingPropertyMappings;
|
|
498
486
|
}
|
|
499
487
|
const newPropertyMapping = new RelationalPropertyMapping(
|
|
500
488
|
setImplementation,
|
|
@@ -506,16 +494,10 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
506
494
|
stub_RawRelationalOperationElement();
|
|
507
495
|
return [newPropertyMapping];
|
|
508
496
|
} else if (propertyType instanceof Enumeration) {
|
|
509
|
-
// only allow one property mapping per enumeration property
|
|
510
|
-
assertTrue(
|
|
511
|
-
!existingPropertyMappings.length ||
|
|
512
|
-
existingPropertyMappings.length === 1,
|
|
513
|
-
'Only one property mapping should exist per enumeration type property',
|
|
514
|
-
);
|
|
515
497
|
let ePropertyMapping: PropertyMapping[] = [];
|
|
516
498
|
if (existingPropertyMappings.length) {
|
|
517
499
|
// TODO?: do we want to check the type of the property mapping here?
|
|
518
|
-
ePropertyMapping =
|
|
500
|
+
ePropertyMapping = existingPropertyMappings;
|
|
519
501
|
} else {
|
|
520
502
|
const newPropertyMapping = new RelationalPropertyMapping(
|
|
521
503
|
setImplementation,
|
|
@@ -613,13 +595,23 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
613
595
|
setImplementation,
|
|
614
596
|
decoratePropertyMapping,
|
|
615
597
|
);
|
|
616
|
-
|
|
598
|
+
instanceSetImpl_setPropertyMappings(
|
|
617
599
|
setImplementation,
|
|
618
600
|
decoratedPropertyMappings.concat(
|
|
619
|
-
propertyMappingsBeforeDecoration
|
|
620
|
-
(
|
|
621
|
-
|
|
622
|
-
|
|
601
|
+
propertyMappingsBeforeDecoration
|
|
602
|
+
.filter(
|
|
603
|
+
(propertyMapping) =>
|
|
604
|
+
(propertyMapping instanceof RelationalPropertyMapping &&
|
|
605
|
+
!isStubbed_RawRelationalOperationElement(
|
|
606
|
+
propertyMapping.relationalOperation,
|
|
607
|
+
)) ||
|
|
608
|
+
propertyMapping instanceof
|
|
609
|
+
EmbeddedRelationalInstanceSetImplementation,
|
|
610
|
+
)
|
|
611
|
+
.filter(
|
|
612
|
+
(propertyMapping) =>
|
|
613
|
+
!decoratedPropertyMappings.includes(propertyMapping),
|
|
614
|
+
),
|
|
623
615
|
),
|
|
624
616
|
this.editorStore.changeDetectionState.observerContext,
|
|
625
617
|
);
|
|
@@ -637,7 +629,7 @@ export class MappingElementDecorator implements SetImplementationVisitor<void> {
|
|
|
637
629
|
.flatMap(
|
|
638
630
|
(plugin) =>
|
|
639
631
|
(
|
|
640
|
-
plugin as
|
|
632
|
+
plugin as DSL_Mapping_LegendStudioApplicationPlugin_Extension
|
|
641
633
|
).getExtraSetImplementationDecorators?.() ?? [],
|
|
642
634
|
);
|
|
643
635
|
for (const decorator of extraSetImplementationDecorators) {
|
|
@@ -708,7 +700,7 @@ export class MappingElementDecorationCleaner
|
|
|
708
700
|
visit_PureInstanceSetImplementation(
|
|
709
701
|
setImplementation: PureInstanceSetImplementation,
|
|
710
702
|
): void {
|
|
711
|
-
|
|
703
|
+
instanceSetImpl_setPropertyMappings(
|
|
712
704
|
setImplementation,
|
|
713
705
|
setImplementation.propertyMappings.filter(
|
|
714
706
|
(propertyMapping) => !isStubbed_RawLambda(propertyMapping.transform),
|
|
@@ -722,7 +714,7 @@ export class MappingElementDecorationCleaner
|
|
|
722
714
|
| FlatDataInstanceSetImplementation
|
|
723
715
|
| EmbeddedFlatDataPropertyMapping,
|
|
724
716
|
): void {
|
|
725
|
-
|
|
717
|
+
instanceSetImpl_setPropertyMappings(
|
|
726
718
|
setImplementation,
|
|
727
719
|
setImplementation.propertyMappings.filter(
|
|
728
720
|
(propertyMapping) =>
|
|
@@ -778,7 +770,7 @@ export class MappingElementDecorationCleaner
|
|
|
778
770
|
.flatMap(
|
|
779
771
|
(plugin) =>
|
|
780
772
|
(
|
|
781
|
-
plugin as
|
|
773
|
+
plugin as DSL_Mapping_LegendStudioApplicationPlugin_Extension
|
|
782
774
|
).getExtraSetImplementationDecorationCleaners?.() ?? [],
|
|
783
775
|
);
|
|
784
776
|
for (const decorationCleaner of extraSetImplementationDecorationCleaners) {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { observable,
|
|
17
|
+
import { observable, makeObservable, action, flow } from 'mobx';
|
|
18
18
|
import { type GeneratorFn, uuid } from '@finos/legend-shared';
|
|
19
19
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
20
20
|
import type { MappingElement } from './MappingEditorState.js';
|
|
@@ -43,20 +43,6 @@ export class MappingElementState {
|
|
|
43
43
|
|
|
44
44
|
export abstract class SetImplementationState extends MappingElementState {
|
|
45
45
|
declare mappingElement: SetImplementation;
|
|
46
|
-
|
|
47
|
-
constructor(editorStore: EditorStore, setImplementation: SetImplementation) {
|
|
48
|
-
super(editorStore, setImplementation);
|
|
49
|
-
|
|
50
|
-
makeObservable(this, {
|
|
51
|
-
setImplementation: computed,
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
this.mappingElement = setImplementation;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
get setImplementation(): SetImplementation {
|
|
58
|
-
return this.mappingElement;
|
|
59
|
-
}
|
|
60
46
|
}
|
|
61
47
|
|
|
62
48
|
export abstract class InstanceSetImplementationState extends SetImplementationState {
|
|
@@ -77,8 +63,6 @@ export abstract class InstanceSetImplementationState extends SetImplementationSt
|
|
|
77
63
|
decorate: action,
|
|
78
64
|
convertPropertyMappingTransformObjects: flow,
|
|
79
65
|
});
|
|
80
|
-
|
|
81
|
-
this.mappingElement = setImplementation;
|
|
82
66
|
}
|
|
83
67
|
|
|
84
68
|
setSelectedType(type: Type | undefined): void {
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
toGrammarString,
|
|
44
44
|
isValidJSONString,
|
|
45
45
|
createUrlStringFromData,
|
|
46
|
-
|
|
46
|
+
stringifyLosslessJSON,
|
|
47
47
|
guaranteeType,
|
|
48
48
|
ContentType,
|
|
49
49
|
generateEnumerableNameFromToken,
|
|
@@ -111,18 +111,18 @@ import {
|
|
|
111
111
|
objectInputData_setData,
|
|
112
112
|
runtime_addIdentifiedConnection,
|
|
113
113
|
runtime_addMapping,
|
|
114
|
-
} from '../../../graphModifier/
|
|
115
|
-
import { flatData_setData } from '../../../graphModifier/
|
|
114
|
+
} from '../../../graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
115
|
+
import { flatData_setData } from '../../../graphModifier/STO_FlatData_GraphModifierHelper.js';
|
|
116
116
|
import {
|
|
117
117
|
service_addTestSuite,
|
|
118
118
|
service_initNewService,
|
|
119
119
|
service_setExecution,
|
|
120
|
-
} from '../../../graphModifier/
|
|
120
|
+
} from '../../../graphModifier/DSL_Service_GraphModifierHelper.js';
|
|
121
121
|
import {
|
|
122
122
|
localH2DatasourceSpecification_setTestDataSetupCsv,
|
|
123
123
|
localH2DatasourceSpecification_setTestDataSetupSqls,
|
|
124
124
|
relationalInputData_setData,
|
|
125
|
-
} from '../../../graphModifier/
|
|
125
|
+
} from '../../../graphModifier/STO_Relational_GraphModifierHelper.js';
|
|
126
126
|
import {
|
|
127
127
|
createEmptyEqualToJsonAssertion,
|
|
128
128
|
createBareExternalFormat,
|
|
@@ -752,7 +752,7 @@ export class MappingExecutionState {
|
|
|
752
752
|
},
|
|
753
753
|
)) as ExecutionResult;
|
|
754
754
|
this.setExecutionResultText(
|
|
755
|
-
|
|
755
|
+
stringifyLosslessJSON(
|
|
756
756
|
extractExecutionResultValues(result),
|
|
757
757
|
undefined,
|
|
758
758
|
TAB_SIZE,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
fromGrammarString,
|
|
32
32
|
toGrammarString,
|
|
33
33
|
createUrlStringFromData,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
parseLosslessJSON,
|
|
35
|
+
stringifyLosslessJSON,
|
|
36
36
|
tryToMinifyLosslessJSONString,
|
|
37
37
|
tryToFormatLosslessJSONString,
|
|
38
38
|
tryToMinifyJSONString,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
LambdaEditorState,
|
|
90
90
|
TAB_SIZE,
|
|
91
91
|
} from '@finos/legend-application';
|
|
92
|
-
import { flatData_setData } from '../../../graphModifier/
|
|
92
|
+
import { flatData_setData } from '../../../graphModifier/STO_FlatData_GraphModifierHelper.js';
|
|
93
93
|
import {
|
|
94
94
|
expectedOutputMappingTestAssert_setExpectedOutput,
|
|
95
95
|
mappingTest_setAssert,
|
|
@@ -97,12 +97,12 @@ import {
|
|
|
97
97
|
objectInputData_setData,
|
|
98
98
|
runtime_addIdentifiedConnection,
|
|
99
99
|
runtime_addMapping,
|
|
100
|
-
} from '../../../graphModifier/
|
|
100
|
+
} from '../../../graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
101
101
|
import {
|
|
102
102
|
localH2DatasourceSpecification_setTestDataSetupCsv,
|
|
103
103
|
localH2DatasourceSpecification_setTestDataSetupSqls,
|
|
104
104
|
relationalInputData_setData,
|
|
105
|
-
} from '../../../graphModifier/
|
|
105
|
+
} from '../../../graphModifier/STO_Relational_GraphModifierHelper.js';
|
|
106
106
|
|
|
107
107
|
export enum TEST_RESULT {
|
|
108
108
|
NONE = 'NONE', // test has not run yet
|
|
@@ -641,7 +641,7 @@ export class MappingTestState {
|
|
|
641
641
|
this.assertionState instanceof MappingTestExpectedOutputAssertionState
|
|
642
642
|
) {
|
|
643
643
|
this.assertionState.setExpectedResult(
|
|
644
|
-
|
|
644
|
+
stringifyLosslessJSON(
|
|
645
645
|
extractExecutionResultValues(result),
|
|
646
646
|
undefined,
|
|
647
647
|
TAB_SIZE,
|
|
@@ -700,7 +700,7 @@ export class MappingTestState {
|
|
|
700
700
|
this.setTestRunPromise(promise);
|
|
701
701
|
const result = (yield promise) as ExecutionResult;
|
|
702
702
|
if (this.testRunPromise === promise) {
|
|
703
|
-
this.testExecutionResultText =
|
|
703
|
+
this.testExecutionResultText = stringifyLosslessJSON(
|
|
704
704
|
extractExecutionResultValues(result),
|
|
705
705
|
undefined,
|
|
706
706
|
TAB_SIZE,
|
|
@@ -712,7 +712,7 @@ export class MappingTestState {
|
|
|
712
712
|
// TODO: this logic should probably be better handled in by engine mapping test runner
|
|
713
713
|
assertionMatched =
|
|
714
714
|
hashObject(extractExecutionResultValues(result)) ===
|
|
715
|
-
hashObject(
|
|
715
|
+
hashObject(parseLosslessJSON(this.assertionState.expectedResult));
|
|
716
716
|
} else {
|
|
717
717
|
throw new UnsupportedOperationError();
|
|
718
718
|
}
|
package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
isStubbed_RawLambda,
|
|
41
41
|
} from '@finos/legend-graph';
|
|
42
42
|
import { LambdaEditorState } from '@finos/legend-application';
|
|
43
|
-
import { pureInstanceSetImpl_setMappingFilter } from '../../../graphModifier/
|
|
43
|
+
import { pureInstanceSetImpl_setMappingFilter } from '../../../graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
44
44
|
|
|
45
45
|
export class PurePropertyMappingState extends PropertyMappingState {
|
|
46
46
|
editorStore: EditorStore;
|
|
@@ -178,7 +178,6 @@ export class PureInstanceSetImplementationFilterState extends LambdaEditorState
|
|
|
178
178
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
179
179
|
error,
|
|
180
180
|
);
|
|
181
|
-
GRAPH_MANAGER_EVENT;
|
|
182
181
|
}
|
|
183
182
|
} else {
|
|
184
183
|
this.clearErrors();
|
|
@@ -207,7 +206,6 @@ export class PureInstanceSetImplementationFilterState extends LambdaEditorState
|
|
|
207
206
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
208
207
|
error,
|
|
209
208
|
);
|
|
210
|
-
GRAPH_MANAGER_EVENT;
|
|
211
209
|
}
|
|
212
210
|
} else {
|
|
213
211
|
this.clearErrors();
|
|
@@ -315,7 +313,6 @@ export class PureInstanceSetImplementationState extends InstanceSetImplementatio
|
|
|
315
313
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
316
314
|
error,
|
|
317
315
|
);
|
|
318
|
-
GRAPH_MANAGER_EVENT;
|
|
319
316
|
} finally {
|
|
320
317
|
this.isConvertingTransformLambdaObjects = false;
|
|
321
318
|
}
|
|
@@ -340,7 +337,6 @@ export class PureInstanceSetImplementationState extends InstanceSetImplementatio
|
|
|
340
337
|
LogEvent.create(GRAPH_MANAGER_EVENT.PARSING_FAILURE),
|
|
341
338
|
error,
|
|
342
339
|
);
|
|
343
|
-
GRAPH_MANAGER_EVENT;
|
|
344
340
|
} finally {
|
|
345
341
|
this.isConvertingTransformLambdaObjects = false;
|
|
346
342
|
}
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
ActionState,
|
|
21
21
|
assertErrorThrown,
|
|
22
22
|
LogEvent,
|
|
23
|
-
|
|
23
|
+
stringifyLosslessJSON,
|
|
24
24
|
UnsupportedOperationError,
|
|
25
25
|
filterByType,
|
|
26
26
|
} from '@finos/legend-shared';
|
|
@@ -31,6 +31,8 @@ import {
|
|
|
31
31
|
} from '../../../editor-state/element-editor-state/RuntimeEditorState.js';
|
|
32
32
|
import {
|
|
33
33
|
buildParametersLetLambdaFunc,
|
|
34
|
+
DEFAULT_TYPEAHEAD_SEARCH_LIMIT,
|
|
35
|
+
DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH,
|
|
34
36
|
ExecutionPlanState,
|
|
35
37
|
LambdaEditorState,
|
|
36
38
|
LambdaParametersState,
|
|
@@ -40,17 +42,18 @@ import {
|
|
|
40
42
|
} from '@finos/legend-application';
|
|
41
43
|
import {
|
|
42
44
|
type ServiceExecution,
|
|
43
|
-
KeyedExecutionParameter,
|
|
44
45
|
type PureExecution,
|
|
45
46
|
type Mapping,
|
|
46
47
|
type Runtime,
|
|
47
48
|
type ExecutionResult,
|
|
48
49
|
type LightQuery,
|
|
49
50
|
type PackageableRuntime,
|
|
50
|
-
PureSingleExecution,
|
|
51
|
-
PureMultiExecution,
|
|
52
51
|
type RawExecutionPlan,
|
|
53
52
|
type PackageableElementReference,
|
|
53
|
+
type QueryInfo,
|
|
54
|
+
PureSingleExecution,
|
|
55
|
+
PureMultiExecution,
|
|
56
|
+
KeyedExecutionParameter,
|
|
54
57
|
GRAPH_MANAGER_EVENT,
|
|
55
58
|
RawLambda,
|
|
56
59
|
EngineRuntime,
|
|
@@ -67,7 +70,7 @@ import {
|
|
|
67
70
|
stub_Mapping,
|
|
68
71
|
} from '@finos/legend-graph';
|
|
69
72
|
import { type Entity, parseGACoordinates } from '@finos/legend-storage';
|
|
70
|
-
import { runtime_addMapping } from '../../../graphModifier/
|
|
73
|
+
import { runtime_addMapping } from '../../../graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
71
74
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
72
75
|
import {
|
|
73
76
|
keyedExecutionParameter_setKey,
|
|
@@ -78,7 +81,7 @@ import {
|
|
|
78
81
|
pureSingleExecution_setMapping,
|
|
79
82
|
pureSingleExecution_setRuntime,
|
|
80
83
|
service_setExecution,
|
|
81
|
-
} from '../../../graphModifier/
|
|
84
|
+
} from '../../../graphModifier/DSL_Service_GraphModifierHelper.js';
|
|
82
85
|
|
|
83
86
|
export class ServiceExecutionParameterState extends LambdaParametersState {
|
|
84
87
|
executionState: ServicePureExecutionState;
|
|
@@ -232,9 +235,11 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
|
|
|
232
235
|
const content =
|
|
233
236
|
(yield this.editorStore.graphManagerState.graphManager.lambdaToPureCode(
|
|
234
237
|
(yield this.editorStore.graphManagerState.graphManager.pureCodeToLambda(
|
|
235
|
-
(
|
|
236
|
-
|
|
237
|
-
|
|
238
|
+
(
|
|
239
|
+
(yield this.editorStore.graphManagerState.graphManager.getQueryInfo(
|
|
240
|
+
query.id,
|
|
241
|
+
)) as QueryInfo
|
|
242
|
+
).content,
|
|
238
243
|
)) as RawLambda,
|
|
239
244
|
true,
|
|
240
245
|
)) as string;
|
|
@@ -273,7 +278,8 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
|
|
|
273
278
|
}
|
|
274
279
|
|
|
275
280
|
*loadQueries(searchText: string): GeneratorFn<void> {
|
|
276
|
-
const isValidSearchString =
|
|
281
|
+
const isValidSearchString =
|
|
282
|
+
searchText.length >= DEFAULT_TYPEAHEAD_SEARCH_MINIMUM_SEARCH_LENGTH;
|
|
277
283
|
this.loadQueriesState.inProgress();
|
|
278
284
|
try {
|
|
279
285
|
const searchSpecification = new QuerySearchSpecification();
|
|
@@ -285,7 +291,7 @@ export class ServicePureExecutionQueryState extends LambdaEditorState {
|
|
|
285
291
|
searchSpecification.searchTerm = isValidSearchString
|
|
286
292
|
? searchText
|
|
287
293
|
: undefined;
|
|
288
|
-
searchSpecification.limit =
|
|
294
|
+
searchSpecification.limit = DEFAULT_TYPEAHEAD_SEARCH_LIMIT;
|
|
289
295
|
searchSpecification.projectCoordinates = [
|
|
290
296
|
// either get queries for the current project
|
|
291
297
|
currentProjectCoordinates,
|
|
@@ -584,7 +590,7 @@ export abstract class ServicePureExecutionState extends ServiceExecutionState {
|
|
|
584
590
|
const result = (yield promise) as ExecutionResult;
|
|
585
591
|
if (this.queryRunPromise === promise) {
|
|
586
592
|
this.setExecutionResultText(
|
|
587
|
-
|
|
593
|
+
stringifyLosslessJSON(result, undefined, TAB_SIZE),
|
|
588
594
|
);
|
|
589
595
|
this.parameterState.setParameters([]);
|
|
590
596
|
}
|
|
@@ -29,13 +29,20 @@ import {
|
|
|
29
29
|
getNullableFirstElement,
|
|
30
30
|
assertTrue,
|
|
31
31
|
URL_SEPARATOR,
|
|
32
|
+
filterByType,
|
|
32
33
|
} from '@finos/legend-shared';
|
|
33
34
|
import { LEGEND_STUDIO_APP_EVENT } from '../../../LegendStudioAppEvent.js';
|
|
34
35
|
import { Version } from '@finos/legend-server-sdlc';
|
|
35
36
|
import {
|
|
36
37
|
type Service,
|
|
37
38
|
type ServiceRegistrationResult,
|
|
39
|
+
type PureExecution,
|
|
38
40
|
ServiceExecutionMode,
|
|
41
|
+
buildLambdaVariableExpressions,
|
|
42
|
+
VariableExpression,
|
|
43
|
+
TYPICAL_MULTIPLICITY_TYPE,
|
|
44
|
+
generateMultiplicityString,
|
|
45
|
+
multiplicityComparator,
|
|
39
46
|
} from '@finos/legend-graph';
|
|
40
47
|
import { ServiceRegistrationEnvironmentConfig } from '../../../../application/LegendStudioApplicationConfig.js';
|
|
41
48
|
import {
|
|
@@ -186,7 +193,7 @@ export class ServiceRegistrationState {
|
|
|
186
193
|
get versionOptions(): ServiceVersionOption[] | undefined {
|
|
187
194
|
if (
|
|
188
195
|
this.enableModesWithVersioning &&
|
|
189
|
-
|
|
196
|
+
this.serviceExecutionMode !== ServiceExecutionMode.FULL_INTERACTIVE
|
|
190
197
|
) {
|
|
191
198
|
const options: ServiceVersionOption[] =
|
|
192
199
|
this.editorStore.sdlcState.projectVersions.map((version) => ({
|
|
@@ -314,5 +321,37 @@ export class ServiceRegistrationState {
|
|
|
314
321
|
'Service version can not be empty in Semi-interactive and Prod service type',
|
|
315
322
|
);
|
|
316
323
|
}
|
|
324
|
+
|
|
325
|
+
// validate service parameter multiplicities
|
|
326
|
+
const supportedServiceParamMultiplicties = [
|
|
327
|
+
TYPICAL_MULTIPLICITY_TYPE.ONE,
|
|
328
|
+
TYPICAL_MULTIPLICITY_TYPE.ZEROMANY,
|
|
329
|
+
TYPICAL_MULTIPLICITY_TYPE.ZEROONE,
|
|
330
|
+
].map((p) =>
|
|
331
|
+
this.editorStore.graphManagerState.graph.getTypicalMultiplicity(p),
|
|
332
|
+
);
|
|
333
|
+
const invalidParams = buildLambdaVariableExpressions(
|
|
334
|
+
(this.service.execution as PureExecution).func,
|
|
335
|
+
this.editorStore.graphManagerState,
|
|
336
|
+
)
|
|
337
|
+
.filter(filterByType(VariableExpression))
|
|
338
|
+
.filter(
|
|
339
|
+
(p) =>
|
|
340
|
+
!supportedServiceParamMultiplicties.some((m) =>
|
|
341
|
+
multiplicityComparator(m, p.multiplicity),
|
|
342
|
+
),
|
|
343
|
+
);
|
|
344
|
+
assertTrue(
|
|
345
|
+
invalidParams.length === 0,
|
|
346
|
+
`Parameter(s)${invalidParams.map(
|
|
347
|
+
(p) =>
|
|
348
|
+
` ${p.name}: [${generateMultiplicityString(
|
|
349
|
+
p.multiplicity.lowerBound,
|
|
350
|
+
p.multiplicity.upperBound,
|
|
351
|
+
)}]`,
|
|
352
|
+
)} has/have unsupported multiplicity. Supported multiplicities include ${supportedServiceParamMultiplicties.map(
|
|
353
|
+
(m) => ` [${generateMultiplicityString(m.lowerBound, m.upperBound)}]`,
|
|
354
|
+
)}.`,
|
|
355
|
+
);
|
|
317
356
|
}
|
|
318
357
|
}
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts
CHANGED
|
@@ -51,7 +51,7 @@ import type { EditorStore } from '../../../../EditorStore.js';
|
|
|
51
51
|
import {
|
|
52
52
|
service_addConnectionTestData,
|
|
53
53
|
service_setConnectionTestDataEmbeddedData,
|
|
54
|
-
} from '../../../../graphModifier/
|
|
54
|
+
} from '../../../../graphModifier/DSL_Service_GraphModifierHelper.js';
|
|
55
55
|
import {
|
|
56
56
|
createMockEnumerationProperty,
|
|
57
57
|
createMockPrimitiveProperty,
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts
CHANGED
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
service_setParameterValues,
|
|
36
36
|
service_setParameterValueSpec,
|
|
37
37
|
service_setSerializationFormat,
|
|
38
|
-
} from '../../../../graphModifier/
|
|
38
|
+
} from '../../../../graphModifier/DSL_Service_GraphModifierHelper.js';
|
|
39
39
|
import {
|
|
40
40
|
assertErrorThrown,
|
|
41
41
|
deleteEntry,
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestableState.ts
CHANGED
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
service_addTest,
|
|
47
47
|
service_addTestSuite,
|
|
48
48
|
service_deleteTestSuite,
|
|
49
|
-
} from '../../../../graphModifier/
|
|
49
|
+
} from '../../../../graphModifier/DSL_Service_GraphModifierHelper.js';
|
|
50
50
|
import { createEmptyEqualToJsonAssertion } from '../../../../shared/testable/TestableUtils.js';
|
|
51
51
|
import type { ServiceEditorState } from '../ServiceEditorState.js';
|
|
52
52
|
import { ServiceTestDataState } from './ServiceTestDataState.js';
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from '@finos/legend-shared';
|
|
37
37
|
import { action, flow, makeObservable, observable } from 'mobx';
|
|
38
38
|
import type { EditorStore } from '../../../EditorStore.js';
|
|
39
|
-
import { externalFormatData_setData } from '../../../graphModifier/
|
|
39
|
+
import { externalFormatData_setData } from '../../../graphModifier/DSL_Data_GraphModifierHelper.js';
|
|
40
40
|
import {
|
|
41
41
|
getTestableResultFromAssertionStatus,
|
|
42
42
|
TESTABLE_RESULT,
|
package/src/stores/graphModifier/{DSLData_GraphModifierHelper.ts → DSL_Data_GraphModifierHelper.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
} from '@finos/legend-shared';
|
|
87
87
|
import { action } from 'mobx';
|
|
88
88
|
|
|
89
|
-
export const
|
|
89
|
+
export const instanceSetImpl_setPropertyMappings = action(
|
|
90
90
|
(
|
|
91
91
|
si: InstanceSetImplementation,
|
|
92
92
|
pm: PropertyMapping[],
|
|
@@ -97,6 +97,17 @@ export const mapping_setPropertyMappings = action(
|
|
|
97
97
|
);
|
|
98
98
|
},
|
|
99
99
|
);
|
|
100
|
+
|
|
101
|
+
export const instanceSetImpl_deletePropertyMapping = action(
|
|
102
|
+
(si: InstanceSetImplementation, pm: PropertyMapping): void => {
|
|
103
|
+
deleteEntry(
|
|
104
|
+
si.propertyMappings,
|
|
105
|
+
pm,
|
|
106
|
+
(p1, p2) => p1.property._UUID === p2.property._UUID,
|
|
107
|
+
);
|
|
108
|
+
},
|
|
109
|
+
);
|
|
110
|
+
|
|
100
111
|
export const setImpl_setRoot = action(
|
|
101
112
|
(owner: SetImplementation, val: boolean): void => {
|
|
102
113
|
owner.root.value = val;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -202,7 +202,7 @@ export class ProjectViewerStore {
|
|
|
202
202
|
// fetch entities
|
|
203
203
|
stopWatch.record();
|
|
204
204
|
this.editorStore.initState.setMessage(`Fetching entities...`);
|
|
205
|
-
if (versionId) {
|
|
205
|
+
if (versionId && !revisionId) {
|
|
206
206
|
// get version info if a version is specified
|
|
207
207
|
this.version =
|
|
208
208
|
versionId !== this.latestVersion.id.id
|
|
@@ -223,7 +223,7 @@ export class ProjectViewerStore {
|
|
|
223
223
|
versionId,
|
|
224
224
|
),
|
|
225
225
|
])) as [Entity[], PlainObject<ProjectConfiguration>];
|
|
226
|
-
} else if (revisionId) {
|
|
226
|
+
} else if (revisionId && !versionId) {
|
|
227
227
|
// get revision info if a revision is specified
|
|
228
228
|
this.revision =
|
|
229
229
|
revisionId !== this.currentRevision.id
|