@finos/legend-application-studio 16.0.2 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/LegendStudioApplicationConfig.d.ts +4 -3
- package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.js +9 -3
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
- 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/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +2 -2
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.d.ts +1 -0
- package/lib/components/EmbeddedQueryBuilder.d.ts.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.js +6 -31
- 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/LegendStudioApplication.js +1 -1
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/LegendStudioBaseStoreProvider.d.ts +0 -2
- package/lib/components/LegendStudioBaseStoreProvider.d.ts.map +1 -1
- package/lib/components/LegendStudioBaseStoreProvider.js +2 -2
- package/lib/components/LegendStudioBaseStoreProvider.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.d.ts.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +2 -3
- package/lib/components/editor/EditorStoreProvider.js.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 +4 -4
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +38 -97
- 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 +10 -12
- 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 +2 -2
- 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/ElementGenerationEditor.js +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/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 +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 +7 -7
- 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} +4 -4
- 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} +7 -7
- 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 +2 -2
- 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 +6 -6
- 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 +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.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 +4 -4
- 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 +7 -10
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.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 +6 -9
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.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/NewMappingElementModal.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.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 +5 -5
- 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 +4 -4
- 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 +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.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 +2 -2
- 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 +4 -3
- 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/NewServiceModal.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.js.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 +5 -5
- 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/ServiceExecutionQueryEditor.js +1 -4
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.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/ServiceRegistrationEditor.js +8 -8
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.js.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/ServiceTestDataEditor.js +2 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.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 +4 -4
- 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 +5 -5
- 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 +3 -3
- 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/CreateNewElementModal.js +5 -2
- package/lib/components/editor/side-bar/CreateNewElementModal.js.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/Explorer.js +4 -4
- package/lib/components/editor/side-bar/Explorer.js.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 +4 -4
- 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 +3 -3
- 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 +4 -4
- 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/ElementIconUtils.js +1 -1
- package/lib/components/shared/ElementIconUtils.js.map +1 -1
- package/lib/components/shared/ProjectSelectorUtils.d.ts +24 -0
- package/lib/components/shared/ProjectSelectorUtils.d.ts.map +1 -0
- package/lib/components/shared/ProjectSelectorUtils.js +28 -0
- package/lib/components/shared/ProjectSelectorUtils.js.map +1 -0
- package/lib/components/shared/StudioLambdaEditor.d.ts +1 -0
- package/lib/components/shared/StudioLambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/TypeTree.js +2 -2
- package/lib/components/shared/TypeTree.js.map +1 -1
- package/lib/components/shared/WorkspaceSelectorUtils.d.ts +23 -0
- package/lib/components/shared/WorkspaceSelectorUtils.d.ts.map +1 -0
- package/lib/components/shared/WorkspaceSelectorUtils.js +24 -0
- package/lib/components/shared/WorkspaceSelectorUtils.js.map +1 -0
- 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/{ProjectCreateModal.d.ts → CreateProjectModal.d.ts} +2 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts.map +1 -0
- package/lib/components/workspace-setup/{ProjectCreateModal.js → CreateProjectModal.js} +4 -4
- package/lib/components/workspace-setup/{ProjectCreateModal.js.map → CreateProjectModal.js.map} +1 -1
- package/lib/{stores/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.js → components/workspace-setup/CreateWorkspaceModal.d.ts} +8 -2
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts.map +1 -0
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +67 -0
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -0
- package/lib/components/workspace-setup/WorkspaceSetup.d.ts +2 -0
- package/lib/components/workspace-setup/WorkspaceSetup.d.ts.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +96 -115
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +17 -15
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +17 -16
- package/lib/index.js.map +1 -1
- package/lib/package.json +9 -9
- 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/{DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.d.ts → DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts} +5 -2
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/DSL_Generation_LegendStudioApplicationPlugin_Extension.js +17 -0
- 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/{DSLService_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/{DSLMapping_LegendStudioApplicationPlugin_Extension.js → DSL_Service_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSL_Service_LegendStudioApplicationPlugin_Extension.js.map +1 -0
- package/lib/stores/EditorGraphState.d.ts +1 -1
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +3 -2
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorStore.d.ts +6 -8
- package/lib/stores/EditorStore.d.ts.map +1 -1
- package/lib/stores/EditorStore.js +39 -13
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EditorStoreTestUtils.d.ts.map +1 -1
- package/lib/stores/EditorStoreTestUtils.js +1 -1
- package/lib/stores/EditorStoreTestUtils.js.map +1 -1
- package/lib/stores/ExplorerTreeState.d.ts +2 -2
- package/lib/stores/ExplorerTreeState.d.ts.map +1 -1
- package/lib/stores/ExplorerTreeState.js +2 -2
- package/lib/stores/ExplorerTreeState.js.map +1 -1
- package/lib/stores/LegendStudioAppEvent.d.ts +1 -0
- package/lib/stores/LegendStudioAppEvent.d.ts.map +1 -1
- package/lib/stores/LegendStudioAppEvent.js +3 -0
- package/lib/stores/LegendStudioAppEvent.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts +2 -3
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +7 -2
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/LegendStudioRouter.js +1 -1
- package/lib/stores/LegendStudioRouter.js.map +1 -1
- package/lib/stores/{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.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +12 -9
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.d.ts +1 -1
- package/lib/stores/editor-state/FileGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/FileGenerationState.js +2 -2
- package/lib/stores/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts +1 -1
- package/lib/stores/editor-state/FileGenerationViewerState.d.ts.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.d.ts +1 -1
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +3 -3
- 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/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js +2 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.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.d.ts +1 -1
- package/lib/stores/editor-state/element-editor-state/RuntimeEditorState.d.ts.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 +2 -2
- 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 +5 -5
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js +2 -2
- 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 +7 -7
- 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 +8 -8
- 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 +10 -10
- 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 +5 -8
- 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 +16 -21
- 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 +2 -2
- 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} +1 -1
- package/lib/stores/graphModifier/DSL_Mapping_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graphModifier/{DSLMapping_GraphModifierHelper.js → DSL_Mapping_GraphModifierHelper.js} +2 -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.d.ts +1 -2
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +4 -3
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/shared/{DnDUtil.d.ts → DnDUtils.d.ts} +2 -2
- package/lib/stores/shared/DnDUtils.d.ts.map +1 -0
- package/lib/stores/shared/{DnDUtil.js → DnDUtils.js} +1 -1
- package/lib/stores/shared/DnDUtils.js.map +1 -0
- package/lib/stores/shared/{FileGenerationTreeUtil.d.ts → FileGenerationTreeUtils.d.ts} +1 -1
- package/lib/stores/shared/FileGenerationTreeUtils.d.ts.map +1 -0
- package/lib/stores/shared/{FileGenerationTreeUtil.js → FileGenerationTreeUtils.js} +1 -1
- package/lib/stores/shared/FileGenerationTreeUtils.js.map +1 -0
- package/lib/stores/shared/{MockDataUtil.d.ts → MockDataUtils.d.ts} +1 -1
- package/lib/stores/shared/MockDataUtils.d.ts.map +1 -0
- package/lib/stores/shared/{MockDataUtil.js → MockDataUtils.js} +2 -2
- package/lib/stores/shared/MockDataUtils.js.map +1 -0
- package/lib/stores/shared/{ModelUtil.d.ts → ModelClassifierUtils.d.ts} +1 -1
- package/lib/stores/shared/ModelClassifierUtils.d.ts.map +1 -0
- package/lib/stores/shared/{ModelUtil.js → ModelClassifierUtils.js} +1 -1
- package/lib/stores/shared/ModelClassifierUtils.js.map +1 -0
- package/lib/stores/shared/{PackageTreeUtil.d.ts → PackageTreeUtils.d.ts} +2 -2
- package/lib/stores/shared/PackageTreeUtils.d.ts.map +1 -0
- package/lib/stores/shared/{PackageTreeUtil.js → PackageTreeUtils.js} +2 -2
- package/lib/stores/shared/PackageTreeUtils.js.map +1 -0
- package/lib/stores/shared/{TreeUtil.d.ts → TreeUtils.d.ts} +2 -2
- package/lib/stores/shared/TreeUtils.d.ts.map +1 -0
- package/lib/stores/shared/{TreeUtil.js → TreeUtils.js} +1 -1
- package/lib/stores/shared/TreeUtils.js.map +1 -0
- package/lib/stores/shared/testable/TestableUtils.js +1 -1
- package/lib/stores/shared/testable/TestableUtils.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 +18 -33
- package/lib/stores/workspace-setup/WorkspaceSetupStore.d.ts.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +136 -133
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +18 -18
- package/src/application/LegendStudioApplicationConfig.ts +12 -5
- 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/EditorComponentTestUtils.tsx +1 -6
- package/src/components/EmbeddedQueryBuilder.tsx +10 -41
- package/src/components/LegendStudioApplication.tsx +1 -1
- package/src/components/LegendStudioBaseStoreProvider.tsx +2 -5
- package/src/components/editor/EditorStoreProvider.tsx +1 -6
- 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 +7 -6
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +16 -14
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +11 -10
- package/src/components/editor/edit-panel/ModelImporter.tsx +3 -3
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +17 -20
- 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 +131 -373
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +42 -36
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +2 -2
- 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/ElementGenerationEditor.tsx +2 -3
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +15 -13
- package/src/components/editor/edit-panel/external-format-editor/{BindingElementEditor.tsx → DSL_ExternalFormat_BindingElementEditor.tsx} +3 -3
- 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 -6
- 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 +4 -4
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +10 -6
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +8 -7
- 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 +10 -21
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +8 -15
- package/src/components/editor/edit-panel/mapping-editor/MappingTestsExplorer.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +2 -6
- package/src/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.tsx +8 -6
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +6 -6
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +2 -2
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +7 -4
- package/src/components/editor/edit-panel/service-editor/NewServiceModal.tsx +2 -3
- package/src/components/editor/edit-panel/service-editor/ServiceEditor.tsx +1 -1
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +9 -7
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +1 -8
- package/src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx +15 -10
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +3 -3
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +5 -4
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +5 -4
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +5 -4
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +9 -7
- package/src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx +6 -4
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +4 -3
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +7 -4
- package/src/components/editor/side-bar/Explorer.tsx +5 -5
- package/src/components/editor/side-bar/LocalChanges.tsx +8 -7
- 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 +4 -3
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +7 -12
- 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/shared/ElementIconUtils.tsx +1 -1
- package/src/components/shared/ProjectSelectorUtils.tsx +63 -0
- package/src/components/shared/TypeTree.tsx +3 -3
- package/src/components/shared/WorkspaceSelectorUtils.tsx +45 -0
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +3 -2
- package/src/components/workspace-setup/{ProjectCreateModal.tsx → CreateProjectModal.tsx} +7 -3
- package/src/components/workspace-setup/CreateWorkspaceModal.tsx +178 -0
- package/src/components/workspace-setup/WorkspaceSetup.tsx +300 -346
- package/src/index.ts +17 -23
- package/src/stores/{DSLData_LegendStudioApplicationPlugin_Extension.ts → DSL_Data_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/{DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.ts → DSL_Generation_LegendStudioApplicationPlugin_Extension.ts} +4 -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 +4 -5
- package/src/stores/EditorStore.ts +52 -19
- package/src/stores/EditorStoreTestUtils.ts +0 -1
- package/src/stores/ExplorerTreeState.ts +3 -3
- package/src/stores/LegendStudioAppEvent.ts +4 -0
- package/src/stores/LegendStudioBaseStore.ts +7 -4
- package/src/stores/LegendStudioRouter.ts +1 -1
- package/src/stores/{StoreRelational_LegendStudioApplicationPlugin_Extension.ts → STO_Relational_LegendStudioApplicationPlugin_Extension.ts} +1 -1
- package/src/stores/editor/NewElementState.ts +14 -10
- package/src/stores/editor-state/FileGenerationState.ts +2 -2
- package/src/stores/editor-state/FileGenerationViewerState.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 +7 -7
- package/src/stores/editor-state/ModelImporterState.ts +3 -3
- package/src/stores/editor-state/ProjectConfigurationEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/ElementFileGenerationState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +5 -5
- 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 +11 -11
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementDecorator.ts +5 -5
- package/src/stores/editor-state/element-editor-state/mapping/MappingElementState.ts +1 -17
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +7 -7
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +9 -9
- package/src/stores/editor-state/element-editor-state/mapping/PureInstanceSetImplementationState.ts +1 -5
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +19 -14
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +34 -33
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +2 -2
- 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} +1 -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 +8 -8
- package/src/stores/shared/{DnDUtil.ts → DnDUtils.ts} +1 -1
- package/src/stores/shared/{FileGenerationTreeUtil.ts → FileGenerationTreeUtils.ts} +0 -0
- package/src/stores/shared/{MockDataUtil.ts → MockDataUtils.ts} +4 -1
- package/src/stores/shared/{ModelUtil.ts → ModelClassifierUtils.ts} +0 -0
- package/src/stores/shared/{PackageTreeUtil.ts → PackageTreeUtils.ts} +2 -2
- package/src/stores/shared/{TreeUtil.ts → TreeUtils.ts} +1 -1
- package/src/stores/shared/testable/TestableUtils.ts +1 -1
- package/src/stores/sidebar-state/testable/GlobalTestRunnerState.ts +18 -0
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +210 -191
- package/tsconfig.json +33 -33
- 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/components/workspace-setup/ProjectCreateModal.d.ts.map +0 -1
- package/lib/components/workspace-setup/ProjectSelector.d.ts +0 -22
- package/lib/components/workspace-setup/ProjectSelector.d.ts.map +0 -1
- package/lib/components/workspace-setup/ProjectSelector.js +0 -65
- package/lib/components/workspace-setup/ProjectSelector.js.map +0 -1
- package/lib/components/workspace-setup/WorkspaceSelector.d.ts +0 -22
- package/lib/components/workspace-setup/WorkspaceSelector.d.ts.map +0 -1
- package/lib/components/workspace-setup/WorkspaceSelector.js +0 -57
- package/lib/components/workspace-setup/WorkspaceSelector.js.map +0 -1
- package/lib/components/workspace-setup/WorkspaceSetupStoreProvider.d.ts +0 -23
- package/lib/components/workspace-setup/WorkspaceSetupStoreProvider.d.ts.map +0 -1
- package/lib/components/workspace-setup/WorkspaceSetupStoreProvider.js +0 -34
- package/lib/components/workspace-setup/WorkspaceSetupStoreProvider.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/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLGenerationSpecification_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
- package/lib/stores/shared/DnDUtil.d.ts.map +0 -1
- package/lib/stores/shared/DnDUtil.js.map +0 -1
- package/lib/stores/shared/FileGenerationTreeUtil.d.ts.map +0 -1
- package/lib/stores/shared/FileGenerationTreeUtil.js.map +0 -1
- package/lib/stores/shared/MockDataUtil.d.ts.map +0 -1
- package/lib/stores/shared/MockDataUtil.js.map +0 -1
- package/lib/stores/shared/ModelUtil.d.ts.map +0 -1
- package/lib/stores/shared/ModelUtil.js.map +0 -1
- package/lib/stores/shared/PackageTreeUtil.d.ts.map +0 -1
- package/lib/stores/shared/PackageTreeUtil.js.map +0 -1
- package/lib/stores/shared/TreeUtil.d.ts.map +0 -1
- package/lib/stores/shared/TreeUtil.js.map +0 -1
- package/src/components/workspace-setup/ProjectSelector.tsx +0 -148
- package/src/components/workspace-setup/WorkspaceSelector.tsx +0 -135
- package/src/components/workspace-setup/WorkspaceSetupStoreProvider.tsx +0 -56
|
@@ -17,14 +17,14 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
18
|
import { clsx, CustomSelectorInput, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanelSplitterLine, TimesIcon, LockIcon, PanelDropZone, } from '@finos/legend-art';
|
|
19
19
|
import { filterByType, guaranteeNonNullable, prettyCONSTName, } from '@finos/legend-shared';
|
|
20
|
-
import { BINDING_TAB_TYPE, BindingEditorState, } from '../../../../stores/editor-state/element-editor-state/external-format/
|
|
20
|
+
import { BINDING_TAB_TYPE, BindingEditorState, } from '../../../../stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js';
|
|
21
21
|
import { PackageableElementExplicitReference, SchemaSet, } from '@finos/legend-graph';
|
|
22
22
|
import { useCallback, useRef } from 'react';
|
|
23
23
|
import { useDrop } from 'react-dnd';
|
|
24
24
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
25
25
|
import { getElementIcon } from '../../../shared/ElementIconUtils.js';
|
|
26
|
-
import { CORE_DND_TYPE, } from '../../../../stores/shared/
|
|
27
|
-
import { externalFormat_Binding_setContentType, externalFormat_Binding_setSchemaId, externalFormat_Binding_setSchemaSet, externalFormat_modelUnit_addPackageableElementExcludes, externalFormat_modelUnit_addPackageableElementIncludes, externalFormat_modelUnit_deletePackageableElementExcludes, externalFormat_modelUnit_deletePackageableElementIncludes, } from '../../../../stores/graphModifier/
|
|
26
|
+
import { CORE_DND_TYPE, } from '../../../../stores/shared/DnDUtils.js';
|
|
27
|
+
import { externalFormat_Binding_setContentType, externalFormat_Binding_setSchemaId, externalFormat_Binding_setSchemaSet, externalFormat_modelUnit_addPackageableElementExcludes, externalFormat_modelUnit_addPackageableElementIncludes, externalFormat_modelUnit_deletePackageableElementExcludes, externalFormat_modelUnit_deletePackageableElementIncludes, } from '../../../../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
|
|
28
28
|
const BindingScopeEntryEditor = observer((props) => {
|
|
29
29
|
const { elementRef, removeElement, isReadOnly } = props;
|
|
30
30
|
const editorStore = useEditorStore();
|
|
@@ -143,4 +143,4 @@ export const BindingEditor = observer(() => {
|
|
|
143
143
|
'relational-connection-editor__tab--active': tab === selectedTab,
|
|
144
144
|
}), children: prettyCONSTName(tab) }, tab))) }), _jsxs("div", { className: "binding-editor_content", children: [selectedTab === BINDING_TAB_TYPE.GENERAL && (_jsxs(_Fragment, { children: [_jsx("div", { className: "binding-editor__header", children: _jsxs("div", { className: "binding-editor__header__title", children: [isReadOnly && (_jsx("div", { className: "element-editor__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "binding-editor__header__title__label", children: "General" })] }) }), _jsx("div", { className: "binding-editor__content", children: _jsx("div", { className: "binding-editor__content__lists", children: _jsx(BindingGeneralEditor, { editorState: editorState, isReadOnly: isReadOnly }) }) })] })), selectedTab === BINDING_TAB_TYPE.MODELS && (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsxs(ResizablePanel, { minSize: 280, maxSize: 550, children: [_jsx("div", { className: "binding-editor__header", children: _jsx("div", { className: "binding-editor__header__title", children: _jsx("div", { className: "binding-editor__header__title__label", children: "Model Includes" }) }) }), _jsx("div", { className: "binding-editor__header__prompt", children: "Specifies the list of models included" }), _jsx(BindingScopeEditor, { elements: modelUnit.packageableElementIncludes, addElement: addInclusion, removeElement: removeInclusion, allowAddingElement: allowAddingElement, handleDropElement: handleDropInclusion, isReadOnly: isReadOnly }, editorState.uuid)] }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsxs(ResizablePanel, { children: [_jsx("div", { className: "binding-editor__header", children: _jsx("div", { className: "binding-editor__header__title", children: _jsx("div", { className: "binding-editor__header__title__label", children: "Model Excludes" }) }) }), _jsx("div", { className: "binding-editor__header__prompt", children: "Specifies the list of models excluded" }), _jsx(BindingScopeEditor, { elements: modelUnit.packageableElementExcludes, addElement: addExclusion, removeElement: removeExclusion, allowAddingElement: allowAddingElement, handleDropElement: handleDropExclusion, isReadOnly: isReadOnly }, editorState.uuid)] })] }))] })] }));
|
|
145
145
|
});
|
|
146
|
-
//# sourceMappingURL=
|
|
146
|
+
//# sourceMappingURL=DSL_ExternalFormat_BindingElementEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_BindingElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,IAAI,EACJ,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,SAAS,EACT,QAAQ,EACR,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,+GAA+G,CAAC;AACvH,OAAO,EACL,mCAAmC,EACnC,SAAS,GAGV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MA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AAC,sCAAsC,+BAE/C,GACF,GACF,EACN,cAAK,SAAS,EAAC,gCAAgC,sDAEzC,EACN,KAAC,kBAAkB,IAEjB,QAAQ,EAAE,SAAS,CAAC,0BAA0B,EAC9C,UAAU,EAAE,YAAY,EACxB,aAAa,EAAE,eAAe,EAC9B,kBAAkB,EAAE,kBAAkB,EACtC,iBAAiB,EAAE,mBAAmB,EACtC,UAAU,EAAE,UAAU,IANjB,WAAW,CAAC,IAAI,CAOrB,IACa,IACG,CACvB,IACG,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
1
2
|
import { ExternalFormatConnection, type Binding } from '@finos/legend-graph';
|
|
2
3
|
import { ConnectionValueState } from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
|
3
4
|
import type { EditorStore } from '../../../../stores/EditorStore.js';
|
|
@@ -18,4 +19,4 @@ export declare class NewExternalFormatConnectionDriver extends NewConnectionValu
|
|
|
18
19
|
get isValid(): boolean;
|
|
19
20
|
createConnection(store: Binding): ExternalFormatConnection;
|
|
20
21
|
}
|
|
21
|
-
//# sourceMappingURL=
|
|
22
|
+
//# sourceMappingURL=DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.tsx"],"names":[],"mappings":";AAgBA,OAAO,EACL,wBAAwB,EAGxB,KAAK,OAAO,EACb,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,0FAA0F,CAAC;AAChI,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AAGxF,qBAAa,kCAAmC,SAAQ,oBAAoB;IACjE,UAAU,EAAE,wBAAwB,CAAC;gBAElC,WAAW,EAAE,WAAW,EAAE,UAAU,EAAE,wBAAwB;IAK1E,KAAK,IAAI,MAAM;CAGhB;AAED,eAAO,MAAM,8BAA8B,WACjC;IACN,oBAAoB,EAAE,kCAAkC,CAAC;IACzD,UAAU,EAAE,OAAO,CAAC;CACrB;;CA4BF,CAAC;AAEF,qBAAa,iCAAkC,SAAQ,wBAAwB,CAAC,wBAAwB,CAAC;gBAC3F,WAAW,EAAE,WAAW;IAQpC,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,wBAAwB;CAS3D"}
|
|
@@ -19,7 +19,7 @@ import { ExternalFormatConnection, PackageableElementExplicitReference, UrlStrea
|
|
|
19
19
|
import { computed, makeObservable } from 'mobx';
|
|
20
20
|
import { ConnectionValueState } from '../../../../stores/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
|
21
21
|
import { NewConnectionValueDriver } from '../../../../stores/editor/NewElementState.js';
|
|
22
|
-
import { externalFormat_urlStream_setUrl } from '../../../../stores/graphModifier/
|
|
22
|
+
import { externalFormat_urlStream_setUrl } from '../../../../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
|
|
23
23
|
export class ExternalFormatConnectionValueState extends ConnectionValueState {
|
|
24
24
|
connection;
|
|
25
25
|
constructor(editorStore, connection) {
|
|
@@ -54,4 +54,4 @@ export class NewExternalFormatConnectionDriver extends NewConnectionValueDriver
|
|
|
54
54
|
return externalFormatConnection;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
//# sourceMappingURL=
|
|
57
|
+
//# sourceMappingURL=DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_ExternalFormatConnectionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/ed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K,EACjB,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC,GAAG,EACpC,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,UAAU,GACpB,IACE,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,OAAO,iCAAkC,SAAQ,wBAAkD;IACvG,YAAY,WAAwB;QAClC,KAAK,CAAC,WAAW,CAAC,CAAC;QAEnB,cAAc,CAAC,IAAI,EAAE;YACnB,OAAO,EAAE,QAAQ;SAClB,CAAC,CAAC;IACL,CAAC;IAED,IAAI,OAAO;QACT,OAAO,IAAI,CAAC;IACd,CAAC;IAED,gBAAgB,CAAC,KAAc;QAC7B,MAAM,wBAAwB,GAAG,IAAI,wBAAwB,CAC3D,mCAAmC,CAAC,MAAM,CAAC,KAAK,CAAC,CAClD,CAAC;QACF,MAAM,SAAS,GAAG,IAAI,SAAS,EAAE,CAAC;QAClC,+BAA+B,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;QAC/C,wBAAwB,CAAC,cAAc,GAAG,SAAS,CAAC;QACpD,OAAO,wBAAwB,CAAC;IAClC,CAAC;CACF"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
16
17
|
import { SchemaSet } from '@finos/legend-graph';
|
|
17
18
|
import type { EditorStore } from '../../../../stores/EditorStore.js';
|
|
18
19
|
import { NewElementDriver } from '../../../../stores/editor/NewElementState.js';
|
|
@@ -27,4 +28,4 @@ export declare class NewSchemaSetDriver extends NewElementDriver<SchemaSet> {
|
|
|
27
28
|
export declare const NewSchemaSetDriverEditor: (() => JSX.Element) & {
|
|
28
29
|
displayName: string;
|
|
29
30
|
};
|
|
30
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_NewSchemaSetDriver.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAKhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAErE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAEvG,qBAAa,kBAAmB,SAAQ,gBAAgB,CAAC,SAAS,CAAC;IACjE,YAAY,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;gBAExC,WAAW,EAAE,WAAW;IAepC,eAAe,CAAC,UAAU,EAAE,wBAAwB,GAAG,SAAS,GAAG,IAAI;IAIvE,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS;CAQvC;AAED,eAAO,MAAM,wBAAwB;;CA4BnC,CAAC"}
|
|
@@ -20,7 +20,7 @@ import { guaranteeNonNullable } from '@finos/legend-shared';
|
|
|
20
20
|
import { makeObservable, observable, action } from 'mobx';
|
|
21
21
|
import { observer } from 'mobx-react-lite';
|
|
22
22
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
23
|
-
import { externalFormat_schemaSet_setFormat } from '../../../../stores/graphModifier/
|
|
23
|
+
import { externalFormat_schemaSet_setFormat } from '../../../../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
|
|
24
24
|
import { NewElementDriver } from '../../../../stores/editor/NewElementState.js';
|
|
25
25
|
export class NewSchemaSetDriver extends NewElementDriver {
|
|
26
26
|
formatOption;
|
|
@@ -63,4 +63,4 @@ export const NewSchemaSetDriverEditor = observer(() => {
|
|
|
63
63
|
};
|
|
64
64
|
return (_jsx("div", { children: _jsx("div", { className: "", children: _jsx(CustomSelectorInput, { className: "sub-panel__content__form__section__dropdown", options: options, onChange: onTypeSelectionChange, value: newConnectionDriver.formatOption }) }) }));
|
|
65
65
|
});
|
|
66
|
-
//# sourceMappingURL=
|
|
66
|
+
//# sourceMappingURL=DSL_ExternalFormat_NewSchemaSetDriver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_NewSchemaSetDriver.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,kCAAkC,EAAE,MAAM,4EAA4E,CAAC;AAChI,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAGhF,MAAM,OAAO,kBAAmB,SAAQ,gBAA2B;IACjE,YAAY,CAAwC;IAEpD,YAAY,WAAwB;QAClC,KAAK,CAAC,WAAW,CAAC,CAAC;QAEnB,cAAc,CAAC,IAAI,EAAE;YACnB,YAAY,EAAE,UAAU;YACxB,eAAe,EAAE,MAAM;SACxB,CAAC,CAAC;QAEH,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC,oBAAoB;aAC5D,mBAAmB,CAAC,iBAAiB,CAAC,MAAM;YAC7C,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC,oBA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@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
import { SchemaSetEditorState, type InnerSchemaSetEditorState } from '../../../../stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js';
|
|
17
18
|
export declare const SchemaSetGeneralEditor: ((props: {
|
|
18
19
|
schemaSetEditorState: InnerSchemaSetEditorState | SchemaSetEditorState;
|
|
19
20
|
isReadOnly: boolean;
|
|
@@ -23,4 +24,4 @@ export declare const SchemaSetGeneralEditor: ((props: {
|
|
|
23
24
|
export declare const SchemaSetEditor: (() => JSX.Element) & {
|
|
24
25
|
displayName: string;
|
|
25
26
|
};
|
|
26
|
-
//# sourceMappingURL=
|
|
27
|
+
//# sourceMappingURL=DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_SchemaSetElementEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAuBH,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,EAE/B,MAAM,iHAAiH,CAAC;AA0JzH,eAAO,MAAM,sBAAsB,WACzB;IACN,oBAAoB,EAAE,yBAAyB,GAAG,oBAAoB,CAAC;IACvE,UAAU,EAAE,OAAO,CAAC;CACrB;;CA0KF,CAAC;AAEF,eAAO,MAAM,eAAe;;CA+F1B,CAAC"}
|
|
@@ -15,17 +15,17 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
|
-
import { clsx, ContextMenu, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanelSplitterLine, LockIcon, PlusIcon, PanelLoadingIndicator, UploadIcon, Dialog, TimesIcon, BlankPanelContent, MenuContent, MenuContentItem, } from '@finos/legend-art';
|
|
18
|
+
import { clsx, ContextMenu, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanelSplitterLine, LockIcon, PlusIcon, PanelLoadingIndicator, UploadIcon, Dialog, TimesIcon, BlankPanelContent, MenuContent, MenuContentItem, PanelContent, } from '@finos/legend-art';
|
|
19
19
|
import { ExternalFormatSchema as Schema } from '@finos/legend-graph';
|
|
20
20
|
import { flowResult } from 'mobx';
|
|
21
|
-
import { SchemaSetEditorState, SCHEMA_SET_TAB_TYPE, } from '../../../../stores/editor-state/element-editor-state/external-format/
|
|
21
|
+
import { SchemaSetEditorState, SCHEMA_SET_TAB_TYPE, } from '../../../../stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js';
|
|
22
22
|
import { EDITOR_LANGUAGE } from '@finos/legend-application';
|
|
23
23
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
24
24
|
import { getEditorLanguageFromFormat } from '../../../../stores/editor-state/FileGenerationViewerState.js';
|
|
25
25
|
import { guaranteeNonNullable, prettyCONSTName } from '@finos/legend-shared';
|
|
26
26
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
27
|
-
import { externalFormat_schemaSet_addSchema, externalFormat_schemaSet_deleteSchema, externalFormat_schema_setContent, externalFormat_schema_setId, externalFormat_schema_setLocation, } from '../../../../stores/graphModifier/
|
|
28
|
-
import { SchemaSetModelGenerationEditor } from './
|
|
27
|
+
import { externalFormat_schemaSet_addSchema, externalFormat_schemaSet_deleteSchema, externalFormat_schema_setContent, externalFormat_schema_setId, externalFormat_schema_setLocation, } from '../../../../stores/graphModifier/DSL_ExternalFormat_GraphModifierHelper.js';
|
|
28
|
+
import { SchemaSetModelGenerationEditor } from './DSL_ExternalFormat_SchemaSetModelGenerationEditor.js';
|
|
29
29
|
const SchemaLoader = observer((props) => {
|
|
30
30
|
const { schemaSetEditorState } = props;
|
|
31
31
|
const importState = schemaSetEditorState.importSchemaContentState;
|
|
@@ -43,7 +43,7 @@ const SchemaLoader = observer((props) => {
|
|
|
43
43
|
};
|
|
44
44
|
return (_jsx(Dialog, { onClose: onClose, open: importState.importSchemaModal, TransitionProps: {
|
|
45
45
|
appear: false, // disable transition
|
|
46
|
-
}, children: _jsxs("div", { className: "modal modal--dark modal--scrollable patch-loader", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: _jsx("div", { className: "modal__title__label", children: "Schema Content Loader" }) }) }), _jsxs("div", { className: "modal__body", children: [_jsx(PanelLoadingIndicator, { isLoading: importState.loadingSchemaContentState.isInProgress }), _jsx("div", { children: _jsx("input", { id: "upload-file", type: "file", name: "myFiles", onChange: onChange, multiple: true }) }), importState.files && (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Schema Files" }), _jsx("div", { className: "panel__content__form__section__list", children: _jsx("div", { className: "panel__content__form__section__list__items", children: importState.files.map((value) => (_jsxs("div", { className: "panel__content__form__section__list__item", children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value.name }), _jsx("div", { className: "panel__content__form__section__list__item__actions", children: _jsx("button", { title: "Remove change", className: "panel__content__form__section__list__item__remove-btn", onClick: () => importState.removeFile(value), tabIndex: -1, children: _jsx(TimesIcon, {}) }) })] }, value.name))) }) })] }))] }), _jsx("div", { className: "modal__footer", children: _jsx("button", {
|
|
46
|
+
}, children: _jsxs("div", { className: "modal modal--dark modal--scrollable patch-loader", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: _jsx("div", { className: "modal__title__label", children: "Schema Content Loader" }) }) }), _jsxs("div", { className: "modal__body", children: [_jsx(PanelLoadingIndicator, { isLoading: importState.loadingSchemaContentState.isInProgress }), _jsx("div", { children: _jsx("input", { id: "upload-file", type: "file", name: "myFiles", onChange: onChange, multiple: true }) }), importState.files && (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Schema Files" }), _jsx("div", { className: "panel__content__form__section__list", children: _jsx("div", { className: "panel__content__form__section__list__items", children: importState.files.map((value) => (_jsxs("div", { className: "panel__content__form__section__list__item", children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value.name }), _jsx("div", { className: "panel__content__form__section__list__item__actions", children: _jsx("button", { title: "Remove change", className: "panel__content__form__section__list__item__remove-btn", onClick: () => importState.removeFile(value), tabIndex: -1, children: _jsx(TimesIcon, {}) }) })] }, value.name))) }) })] }))] }), _jsx("div", { className: "modal__footer", children: _jsx("button", { className: "btn btn--dark blocking-alert__action--standard", onClick: importSchemas, disabled: !importState.files?.length, children: "Import Schemas" }) })] }) }));
|
|
47
47
|
});
|
|
48
48
|
const SchemaBasicEditor = observer((props) => {
|
|
49
49
|
const { schema, isReadOnly, language } = props;
|
|
@@ -121,9 +121,9 @@ export const SchemaSetEditor = observer(() => {
|
|
|
121
121
|
?.supportsModelGeneration;
|
|
122
122
|
return supportsModelGeneraiton ? (_jsx(SchemaSetModelGenerationEditor, { modelGenerationState: schemaSetEditorState.schemaSetModelGenerationState, isReadOnly: isReadOnly })) : (_jsxs(BlankPanelContent, { children: ["Format ", schemaSet.format, " does not support Model Generation"] }));
|
|
123
123
|
};
|
|
124
|
-
return (_jsxs("div", { className: "panel schema-set-panel", children: [_jsx("div", { className: "schema-set-panel__header", children: _jsxs("div", { className: "schema-set-panel__header__title", children: [schemaSetEditorState.isReadOnly && (_jsx("div", { className: "schema-set-panel__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "schema-set-panel__header__title__label", children: "Schema Set" }), _jsx("div", { className: "schema-set-panel__header__title__content", children: schemaSetEditorState.schemaSet.name })] }) }), _jsxs(
|
|
124
|
+
return (_jsxs("div", { className: "panel schema-set-panel", children: [_jsx("div", { className: "schema-set-panel__header", children: _jsxs("div", { className: "schema-set-panel__header__title", children: [schemaSetEditorState.isReadOnly && (_jsx("div", { className: "schema-set-panel__header__lock", children: _jsx(LockIcon, {}) })), _jsx("div", { className: "schema-set-panel__header__title__label", children: "Schema Set" }), _jsx("div", { className: "schema-set-panel__header__title__content", children: schemaSetEditorState.schemaSet.name })] }) }), _jsxs(PanelContent, { children: [_jsx(PanelLoadingIndicator, { isLoading: isFetchingDescriptions }), _jsx("div", { className: "panel__header", children: _jsx("div", { className: "uml-element-editor__tabs", children: Object.values(SCHEMA_SET_TAB_TYPE).map((tab) => (_jsx("div", { onClick: changeTab(tab), className: clsx('relational-connection-editor__tab', {
|
|
125
125
|
'relational-connection-editor__tab--active': tab === currentTab,
|
|
126
126
|
}), children: prettyCONSTName(tab) }, tab))) }) }), _jsxs("div", { className: "panel__content file-generation-editor__content", children: [currentTab === SCHEMA_SET_TAB_TYPE.SCHEMAS && (_jsx(SchemaSetGeneralEditor, { schemaSetEditorState: schemaSetEditorState, isReadOnly: isReadOnly })), currentTab === SCHEMA_SET_TAB_TYPE.GENERATE_MODEL &&
|
|
127
127
|
renderMainEditPanel()] })] })] }));
|
|
128
128
|
});
|
|
129
|
-
//# sourceMappingURL=
|
|
129
|
+
//# sourceMappingURL=DSL_ExternalFormat_SchemaSetElementEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_SchemaSetElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,QAAQ,EACR,QAAQ,EACR,qBAAqB,EACrB,UAAU,EACV,MAAM,EACN,SAAS,EACT,iBAAiB,EACjB,WAAW,E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I,EAC5D,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,0BAA0B,YACtC,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAC/C,cAEE,OAAO,EAAE,SAAS,CAAC,GAAG,CAAC,EACvB,SAAS,EAAE,IAAI,CAAC,mCAAmC,EAAE;oCACnD,2CAA2C,EACzC,GAAG,KAAK,UAAU;iCACrB,CAAC,YAED,eAAe,CAAC,GAAG,CAAC,IAPhB,GAAG,CAQJ,CACP,CAAC,GACE,GACF,EAEN,eAAK,SAAS,EAAC,gDAAgD,aAC5D,UAAU,KAAK,mBAAmB,CAAC,OAAO,IAAI,CAC7C,KAAC,sBAAsB,IACrB,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,UAAU,GACtB,CACH,EAEA,UAAU,KAAK,mBAAmB,CAAC,cAAc;gCAChD,mBAAmB,EAAE,IACnB,IACO,IACX,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
17
|
+
import type { SchemaSetModelGenerationState } from '../../../../stores/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js';
|
|
17
18
|
export declare const SchemaSetModelGenerationEditor: ((props: {
|
|
18
19
|
modelGenerationState: SchemaSetModelGenerationState;
|
|
19
20
|
isReadOnly: boolean;
|
|
20
21
|
}) => JSX.Element) & {
|
|
21
22
|
displayName: string;
|
|
22
23
|
};
|
|
23
|
-
//# sourceMappingURL=
|
|
24
|
+
//# sourceMappingURL=DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iHAAiH,CAAC;AAqBrK,eAAO,MAAM,8BAA8B,WACjC;IACN,oBAAoB,EAAE,6BAA6B,CAAC;IACpD,UAAU,EAAE,OAAO,CAAC;CACrB;;CAqLF,CAAC"}
|
|
@@ -19,7 +19,7 @@ import { flowResult } from 'mobx';
|
|
|
19
19
|
import { observer } from 'mobx-react-lite';
|
|
20
20
|
import { useMemo } from 'react';
|
|
21
21
|
import { debounce } from '@finos/legend-shared';
|
|
22
|
-
import { clsx, InputWithInlineValidation, PanelLoadingIndicator, RefreshIcon, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanelSplitterLine, } from '@finos/legend-art';
|
|
22
|
+
import { clsx, InputWithInlineValidation, PanelContent, PanelLoadingIndicator, RefreshIcon, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanelSplitterLine, } from '@finos/legend-art';
|
|
23
23
|
import { GenerationPropertyEditor } from '../element-generation-editor/FileGenerationEditor.js';
|
|
24
24
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
25
25
|
import { EDITOR_LANGUAGE } from '@finos/legend-application';
|
|
@@ -59,7 +59,7 @@ export const SchemaSetModelGenerationEditor = observer((props) => {
|
|
|
59
59
|
const importGeneratedElements = () => {
|
|
60
60
|
modelGenerationState.importGeneratedModelsIntoGraph();
|
|
61
61
|
};
|
|
62
|
-
return (_jsx("div", { className: "panel__content file-generation-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 250, minSize: 50, children: _jsxs("div", { className: "panel file-generation-editor__configuration", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: `${format} configuration` }) }), _jsx("div", { className: "panel__header__actions", children: _jsx("button", { className: "panel__header__action file-generation-editor__configuration__reset-btn", tabIndex: -1, disabled: isReadOnly || !properties.length, onClick: regenerate, title: 'Reset to default configuration', children: _jsx(RefreshIcon, {}) }) })] }), _jsx(
|
|
62
|
+
return (_jsx("div", { className: "panel__content file-generation-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 250, minSize: 50, children: _jsxs("div", { className: "panel file-generation-editor__configuration", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: `${format} configuration` }) }), _jsx("div", { className: "panel__header__actions", children: _jsx("button", { className: "panel__header__action file-generation-editor__configuration__reset-btn", tabIndex: -1, disabled: isReadOnly || !properties.length, onClick: regenerate, title: 'Reset to default configuration', children: _jsx(RefreshIcon, {}) }) })] }), _jsx(PanelContent, { children: _jsxs("div", { className: "file-generation-editor__configuration__content", children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: 'Target Binding Path' }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: 'If path is provided, a binding will be generated alongside the models. The binding will ensure the schema and models are compatible through compile time validations.' }), _jsx(InputWithInlineValidation, { className: "query-builder__parameters__parameter__name__input input-group__input", spellCheck: false, value: modelGenerationState.targetBinding, onChange: changeTargetBindingPath, placeholder: `Target binding path`, validationErrorMessage: targetBindingPathValidationMessage })] }), modelGenerationState.modelGenerationProperties
|
|
63
63
|
.filter((property) => !Object.values(HIDDEN_CONFIGURATION_PROPERTIES).includes(property.name))
|
|
64
64
|
.map((abstractGenerationProperty) => (_jsx(GenerationPropertyEditor, { update: update, isReadOnly: isReadOnly, getConfigValue: getConfigValue, property: abstractGenerationProperty }, abstractGenerationProperty.name)))] }) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsxs("div", { className: "panel generation-result-viewer__file", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "result" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: clsx('panel__header__action generation-result-viewer__regenerate-btn', {
|
|
65
65
|
' generation-result-viewer__regenerate-btn--loading': modelGenerationState.generatingModelsState
|
|
@@ -68,8 +68,8 @@ export const SchemaSetModelGenerationEditor = observer((props) => {
|
|
|
68
68
|
.isInProgress,
|
|
69
69
|
}), tabIndex: -1, disabled: modelGenerationState.generatingModelsState.isInProgress ||
|
|
70
70
|
modelGenerationState.importGeneratedElementsState
|
|
71
|
-
.isInProgress, onClick: regenerate, title: 'Re-generate', children: _jsx(RefreshIcon, {}) }), !modelGenerationState.isolatedGraph && (_jsx("button", { className: "btn--dark model-loader__header__load-btn", onClick: importGeneratedElements, disabled: modelGenerationState.generationValue === '', tabIndex: -1, title: "Import generated elements", children: "Import" }))] })] }), _jsxs(
|
|
71
|
+
.isInProgress, onClick: regenerate, title: 'Re-generate', children: _jsx(RefreshIcon, {}) }), !modelGenerationState.isolatedGraph && (_jsx("button", { className: "btn--dark model-loader__header__load-btn", onClick: importGeneratedElements, disabled: modelGenerationState.generationValue === '', tabIndex: -1, title: "Import generated elements", children: "Import" }))] })] }), _jsxs(PanelContent, { children: [_jsx(PanelLoadingIndicator, { isLoading: modelGenerationState.generatingModelsState.isInProgress ||
|
|
72
72
|
modelGenerationState.importGeneratedElementsState
|
|
73
73
|
.isInProgress }), _jsx(StudioTextInputEditor, { inputValue: modelGenerationState.generationValue, isReadOnly: true, language: EDITOR_LANGUAGE.PURE })] })] }) })] }) }));
|
|
74
74
|
});
|
|
75
|
-
//# sourceMappingURL=
|
|
75
|
+
//# sourceMappingURL=DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_SchemaSetModelGenerationEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EACL,IAAI,EACJ,yBAAyB,EACzB,YAAY,EACZ,qBAAqB,EACrB,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,GAC3B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAE5D,IAAK,+BAEJ;AAFD,WAAK,+BAA+B;IAClC,oDAAiB,CAAA;AACnB,CAAC,EAFI,+BAA+B,KAA/B,+BAA+B,QAEnC;AAED,MAAM,CAAC,MAAM,8BAA8B,GAAG,QAAQ,CACpD,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,oBAAoB,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACnD,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,WAAW,CAAC,gBAAgB,CAAC;IAC3E,MAAM,MAAM,GAAG,oBAAoB,CAAC,SAAS,CAAC,MAAM,CAAC;IACrD,MAAM,WAAW,GAAG,oBAAoB,CAAC,WAAW,CAAC;IACrD,MAAM,UAAU,GAAG,WAAW,EAAE,yBAAyB,IAAI,EAAE,CAAC;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AAqB,IACpB,UAAU,EAAE,oBAAoB,CAAC,eAAe,EAChD,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,eAAe,CAAC,IAAI,GAC9B,IACW,IACX,GACS,IACG,GAClB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
16
17
|
import { type SetImplementation, OperationSetImplementation } from '@finos/legend-graph';
|
|
17
18
|
export declare const OperatorSelector: ((props: {
|
|
18
19
|
setImplementation: OperationSetImplementation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassMappingEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ClassMappingEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAeH,OAAO,EACL,KAAK,iBAAiB,EAMtB,0BAA0B,EAE3B,MAAM,qBAAqB,CAAC;AAU7B,eAAO,MAAM,gBAAgB,WACnB;IACN,iBAAiB,EAAE,0BAA0B,CAAC;IAC9C,UAAU,EAAE,OAAO,CAAC;CACrB;;CA6BF,CAAC;AAEF,oBAAY,yBAAyB;IACnC,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,UAAU,mBAAmB;CAC9B;AAED,eAAO,MAAM,kBAAkB,WACrB;IAAE,iBAAiB,EAAE,iBAAiB,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE;;CAuNtE,CAAC"}
|
|
@@ -22,8 +22,8 @@ import { getElementTypeIcon } from '../../../shared/ElementIconUtils.js';
|
|
|
22
22
|
import { MappingEditorState } from '../../../../stores/editor-state/element-editor-state/mapping/MappingEditorState.js';
|
|
23
23
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
24
24
|
import { fromElementPathToMappingElementId, OperationSetImplementation, OperationType, } from '@finos/legend-graph';
|
|
25
|
-
import { setImpl_nominateRoot, operationMapping_setOperation, operationMapping_setParameters, setImpl_setRoot, } from '../../../../stores/graphModifier/
|
|
26
|
-
import { SET_IMPLEMENTATION_TYPE } from '../../../../stores/shared/
|
|
25
|
+
import { setImpl_nominateRoot, operationMapping_setOperation, operationMapping_setParameters, setImpl_setRoot, } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
26
|
+
import { SET_IMPLEMENTATION_TYPE } from '../../../../stores/shared/ModelClassifierUtils.js';
|
|
27
27
|
export const OperatorSelector = observer((props) => {
|
|
28
28
|
const { setImplementation, isReadOnly } = props;
|
|
29
29
|
const operationsOptions = Object.values(OperationType).map((value) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassMappingEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EACL,IAAI,EACJ,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oFAAoF,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAML,iCAAiC,EACjC,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAC7B,8BAA8B,EAC9B,eAAe,GAChB,MAAM,
|
|
1
|
+
{"version":3,"file":"ClassMappingEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EACL,IAAI,EACJ,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oFAAoF,CAAC;AACxH,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAML,iCAAiC,EACjC,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAC7B,8BAA8B,EAC9B,eAAe,GAChB,MAAM,qEAAqE,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAG5F,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CACtC,CAAC,KAGA,EAAE,EAAE;IACH,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAChD,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACrE,KAAK;QACL,KAAK,EAAE,KAAK;KACb,CAAC,CAAC,CAAC;IACJ,MAAM,kBAAkB,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AM,IAAI,iBAAiB,CAAC,IAAI,CAChC,kBACE,SAAS,EAAE,IAAI,CACb,yCAAyC,EACzC,8CAA8C,EAC9C;gCACE,uDAAuD,EACrD,iBAAiB,CAAC,IAAI,CAAC,KAAK;6BAC/B,CACF,EACD,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,UAAU,EACpB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,8BAA8B,aAEpC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAC9B,KAAC,eAAe,KAAG,CACpB,CAAC,CAAC,CAAC,CACF,KAAC,eAAe,KAAG,CACpB,YAEM,CACV,IACG,EACL,iBAAiB,YAAY,0BAA0B,IAAI,CAC1D,KAAC,gCAAgC,IAC/B,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,GACtB,CACH,EACA,WAAW,CAAC,iBAAiB,CAAC,2BAA2B,CACxD,iBAAiB,CAClB,IAAI,CACH,KAAC,+BAA+B,IAC9B,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,GACtB,CACH,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
16
17
|
import { Type, Enum, type SourceValue, type EnumerationMapping } from '@finos/legend-graph';
|
|
17
18
|
export declare const SourceValueInput: ((props: {
|
|
18
19
|
sourceValue: SourceValue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumerationMappingEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"EnumerationMappingEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAuCH,OAAO,EAEL,IAAI,EACJ,IAAI,EAGJ,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAIxB,MAAM,qBAAqB,CAAC;AAkG7B,eAAO,MAAM,gBAAgB;iBAEZ,WAAW;mBACT,IAAI,GAAG,SAAS;6BACN,IAAI,GAAG,MAAM,GAAG,SAAS,KAAK,IAAI;uBACxC,MAAM,IAAI;gBACjB,OAAO;;;CAqGtB,CAAC;AA+EF,eAAO,MAAM,wBAAwB,WAC3B;IAAE,kBAAkB,EAAE,kBAAkB,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE;;CAqNxE,CAAC"}
|
|
@@ -16,18 +16,18 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
16
16
|
*/
|
|
17
17
|
import { useRef, useState, useEffect, useCallback } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
|
-
import { Dialog, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, clsx, CustomSelectorInput, BlankPanelPlaceholder, createFilter, PURE_EnumerationIcon, PencilIcon, TimesIcon, PlusIcon, PanelDropZone, } from '@finos/legend-art';
|
|
19
|
+
import { Dialog, ResizablePanel, ResizablePanelGroup, ResizablePanelSplitter, clsx, CustomSelectorInput, BlankPanelPlaceholder, createFilter, PURE_EnumerationIcon, PencilIcon, TimesIcon, PlusIcon, PanelDropZone, Panel, PanelContent, } from '@finos/legend-art';
|
|
20
20
|
import { MappingEditorState } from '../../../../stores/editor-state/element-editor-state/mapping/MappingEditorState.js';
|
|
21
21
|
import { TypeTree } from '../../../shared/TypeTree.js';
|
|
22
22
|
import { useDrop } from 'react-dnd';
|
|
23
|
-
import { CORE_DND_TYPE, TypeDragSource, } from '../../../../stores/shared/
|
|
23
|
+
import { CORE_DND_TYPE, TypeDragSource, } from '../../../../stores/shared/DnDUtils.js';
|
|
24
24
|
import { LEGEND_STUDIO_TEST_ID } from '../../../LegendStudioTestID.js';
|
|
25
25
|
import { noop } from '@finos/legend-shared';
|
|
26
26
|
import { MappingElementDecorator, MappingElementDecorationCleaner, } from '../../../../stores/editor-state/element-editor-state/mapping/MappingElementDecorator.js';
|
|
27
27
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
28
28
|
import { PRIMITIVE_TYPE, Type, Enum, Enumeration, getEnumValueNames, PackageableElementExplicitReference, } from '@finos/legend-graph';
|
|
29
|
-
import { enumMapping_updateSourceType, enumValueMapping_addSourceValue, enumValueMapping_deleteSourceValue, enumValueMapping_updateSourceValue, } from '../../../../stores/graphModifier/
|
|
30
|
-
import { buildElementOption, } from '@finos/legend-application';
|
|
29
|
+
import { enumMapping_updateSourceType, enumValueMapping_addSourceValue, enumValueMapping_deleteSourceValue, enumValueMapping_updateSourceValue, } from '../../../../stores/graphModifier/DSL_Mapping_GraphModifierHelper.js';
|
|
30
|
+
import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-application';
|
|
31
31
|
const EnumerationMappingSourceSelectorModal = observer((props) => {
|
|
32
32
|
const { enumerationMapping, closeModal, open } = props;
|
|
33
33
|
const editorStore = useEditorStore();
|
|
@@ -65,7 +65,7 @@ const EnumerationMappingSourceSelectorModal = observer((props) => {
|
|
|
65
65
|
classes: {
|
|
66
66
|
root: 'search-modal__inner-container',
|
|
67
67
|
},
|
|
68
|
-
}, children: _jsxs("div", { className: "modal search-modal", children: [_jsx("div", { className: "modal__title", children: "Choose a source" }), _jsx(CustomSelectorInput, { ref: sourceSelectorRef, options: options, onChange: changeSourceType, value: selectedSourceType, placeholder: 'Choose a data type or an enumeration...', isClearable: true, filterOption: filterOption })] }) }));
|
|
68
|
+
}, children: _jsxs("div", { className: "modal search-modal", children: [_jsx("div", { className: "modal__title", children: "Choose a source" }), _jsx(CustomSelectorInput, { ref: sourceSelectorRef, options: options, onChange: changeSourceType, value: selectedSourceType, placeholder: 'Choose a data type or an enumeration...', isClearable: true, filterOption: filterOption, formatOptionLabel: getPackageableElementOptionFormatter({}) })] }) }));
|
|
69
69
|
});
|
|
70
70
|
export const SourceValueInput = observer((props) => {
|
|
71
71
|
const { sourceValue, updateSourceValue, deleteSourceValue, expectedType, isReadOnly, } = props;
|
|
@@ -154,6 +154,6 @@ export const EnumerationMappingEditor = observer((props) => {
|
|
|
154
154
|
? 'default ID'
|
|
155
155
|
: enumerationMapping.id.value })), _jsx("div", { className: "mapping-element-editor__metadata__sub-chunk", children: "for" }), _jsxs("div", { className: "mapping-element-editor__metadata__sub-chunk mapping-element-editor__metadata__target", children: [_jsx("div", { className: "mapping-element-editor__metadata__target__type icon", children: _jsx(PURE_EnumerationIcon, {}) }), _jsx("div", { className: "mapping-element-editor__metadata__target__label", children: enumeration.value.name })] })] }), sourceType && (_jsxs("div", { className: clsx('mapping-element-editor__metadata__chunk', 'mapping-element-editor__metadata__driver-chunk', 'background--primitive', {
|
|
156
156
|
'mapping-element-editor__metadata__source--none': !sourceType,
|
|
157
|
-
}), children: [_jsx("div", { className: "mapping-element-editor__metadata__sub-chunk", children: "using" }), _jsx("div", { className: "mapping-element-editor__metadata__sub-chunk mapping-element-editor__metadata__driver__type", children: sourceType.name })] })), !sourceType && (_jsx("div", { className: clsx('mapping-element-editor__metadata__chunk', 'mapping-element-editor__metadata__source-chunk', 'mapping-element-editor__metadata__source-chunk--none'), children: _jsx("div", { className: "mapping-element-editor__metadata__sub-chunk", children: "with no source" }) }))] }), _jsx("div", { className: "mapping-element-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { minSize: 300, children: _jsxs(
|
|
157
|
+
}), children: [_jsx("div", { className: "mapping-element-editor__metadata__sub-chunk", children: "using" }), _jsx("div", { className: "mapping-element-editor__metadata__sub-chunk mapping-element-editor__metadata__driver__type", children: sourceType.name })] })), !sourceType && (_jsx("div", { className: clsx('mapping-element-editor__metadata__chunk', 'mapping-element-editor__metadata__source-chunk', 'mapping-element-editor__metadata__source-chunk--none'), children: _jsx("div", { className: "mapping-element-editor__metadata__sub-chunk", children: "with no source" }) }))] }), _jsx("div", { className: "mapping-element-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { minSize: 300, children: _jsxs(Panel, { children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__content", children: "ENUMS" }) }) }), _jsx("div", { className: "panel__content enumeration-mapping-editor__enum-values", children: enumeration.value.values.map((enumValue) => (_jsx(EnumValueMappingEditor, { enumValue: enumValue, enumerationMapping: enumerationMapping, sourceType: enumerationMapping.sourceType, isReadOnly: isReadOnly }, enumValue.name))) })] }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { size: 300, minSize: 300, children: _jsxs("div", { "data-testid": LEGEND_STUDIO_TEST_ID.SOURCE_PANEL, className: "panel source-panel", children: [_jsxs("div", { className: "panel__header", children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "source" }), _jsx("div", { className: "panel__header__title__content", children: sourceType?.name ?? '(none)' })] }), _jsx("div", { className: "panel__header__actions", children: _jsx("button", { className: "panel__header__action", onClick: showSourceSelectorModal, disabled: isReadOnly, tabIndex: -1, title: 'Select Source...', children: _jsx(PencilIcon, {}) }) })] }), _jsx(PanelContent, { children: _jsxs(PanelDropZone, { dropTargetConnector: dropRef, isDragOver: Boolean(sourceType) && isDragOver && !isReadOnly, children: [sourceType && (_jsx("div", { className: "source-panel__explorer", children: sourceType instanceof Enumeration && (_jsx(TypeTree, { type: sourceType })) })), !sourceType && (_jsx(BlankPanelPlaceholder, { text: "Choose a source", onClick: showSourceSelectorModal, clickActionType: "add", tooltipText: "Drop an enumeration", isDropZoneActive: canDrop, disabled: isReadOnly, previewText: "No source" })), _jsx(EnumerationMappingSourceSelectorModal, { enumerationMapping: enumerationMapping, open: openSourceSelectorModal, closeModal: hideSourceSelectorModal })] }) })] }) })] }) })] }) }));
|
|
158
158
|
});
|
|
159
159
|
//# sourceMappingURL=EnumerationMappingEditor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumerationMappingEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,MAAM,EAEN,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,IAAI,EACJ,mBAAmB,EACnB,qBAAqB,EACrB,YAAY,EACZ,oBAAoB,EACpB,UAAU,EACV,SAAS,EACT,QAAQ,EACR,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,oFAAoF,CAAC;AACxH,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAIL,aAAa,EACb,cAAc,GACf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EACL,uBAAuB,EACvB,+BAA+B,GAChC,MAAM,yFAAyF,CAAC;AACjG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,cAAc,EACd,IAAI,EACJ,IAAI,EACJ,WAAW,EAKX,iBAAiB,EACjB,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/B,kCAAkC,EAClC,kCAAkC,GACnC,MAA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zD,cAAK,SAAS,EAAC,+BAA+B,YAC3C,UAAU,EAAE,IAAI,IAAI,QAAQ,GACzB,IACF,EACN,cAAK,SAAS,EAAC,wBAAwB,YACrC,iBACE,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,uBAAuB,EAChC,QAAQ,EAAE,UAAU,EACpB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,kBAAkB,YAEzB,KAAC,UAAU,KAAG,GACP,GACL,IACF,EACN,cAAK,SAAS,EAAC,gBAAgB,YAC7B,MAAC,aAAa,IACZ,mBAAmB,EAAE,OAAO,EAC5B,UAAU,EACR,OAAO,CAAC,UAAU,CAAC,IAAI,UAAU,IAAI,CAAC,UAAU,aAGjD,UAAU,IAAI,CACb,cAAK,SAAS,EAAC,wBAAwB,YACpC,UAAU,YAAY,WAAW,IAAI,CACpC,KAAC,QAAQ,IAAC,IAAI,EAAE,UAAU,GAAI,CAC/B,GAEG,CACP,EACA,CAAC,UAAU,IAAI,CACd,KAAC,qBAAqB,IACpB,IAAI,EAAC,iBAAiB,EACtB,OAAO,EAAE,uBAAuB,EAChC,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,qBAAqB,EACjC,gBAAgB,EAAE,OAAO,EACzB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAC,WAAW,GACvB,CACH,EACD,KAAC,qCAAqC,IACpC,kBAAkB,EAAE,kBAAkB,EACtC,IAAI,EAAE,uBAAuB,EAC7B,UAAU,EAAE,uBAAuB,GACnC,IACY,GACZ,IACF,GACS,IACG,GAClB,IACF,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"EnumerationMappingEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAA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UAAU,KAAG,GACP,GACL,IACF,EACN,KAAC,YAAY,cACX,MAAC,aAAa,IACZ,mBAAmB,EAAE,OAAO,EAC5B,UAAU,EACR,OAAO,CAAC,UAAU,CAAC,IAAI,UAAU,IAAI,CAAC,UAAU,aAGjD,UAAU,IAAI,CACb,cAAK,SAAS,EAAC,wBAAwB,YACpC,UAAU,YAAY,WAAW,IAAI,CACpC,KAAC,QAAQ,IAAC,IAAI,EAAE,UAAU,GAAI,CAC/B,GAEG,CACP,EACA,CAAC,UAAU,IAAI,CACd,KAAC,qBAAqB,IACpB,IAAI,EAAC,iBAAiB,EACtB,OAAO,EAAE,uBAAuB,EAChC,eAAe,EAAC,KAAK,EACrB,WAAW,EAAC,qBAAqB,EACjC,gBAAgB,EAAE,OAAO,EACzB,QAAQ,EAAE,UAAU,EACpB,WAAW,EAAC,WAAW,GACvB,CACH,EACD,KAAC,qCAAqC,IACpC,kBAAkB,EAAE,kBAAkB,EACtC,IAAI,EAAE,uBAAuB,EAC7B,UAAU,EAAE,uBAAuB,GACnC,IACY,GACH,IACX,GACS,IACG,GAClB,IACF,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
|
16
17
|
import type { FlatDataPropertyMappingState, FlatDataInstanceSetImplementationState } from '../../../../stores/editor-state/element-editor-state/mapping/FlatDataInstanceSetImplementationState.js';
|
|
17
18
|
export declare const FlatDataPropertyMappingEditor: ((props: {
|
|
18
19
|
flatDataPropertyMappingState: FlatDataPropertyMappingState;
|
package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatDataPropertyMappingEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"FlatDataPropertyMappingEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAaH,OAAO,KAAK,EACV,4BAA4B,EAC5B,sCAAsC,EACvC,MAAM,wGAAwG,CAAC;AAmMhH,eAAO,MAAM,6BAA6B,WAChC;IACN,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,sCAAsC,EAAE,sCAAsC,CAAC;IAC/E,+BAA+B,EAAE,OAAO,CAAC;IACzC,UAAU,EAAE,OAAO,CAAC;CACrB;;CAkGF,CAAC"}
|
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
16
16
|
*/
|
|
17
17
|
import { useCallback } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
|
-
import { CORE_DND_TYPE, FlatDataColumnDragSource, } from '../../../../stores/shared/
|
|
19
|
+
import { CORE_DND_TYPE, FlatDataColumnDragSource, } from '../../../../stores/shared/DnDUtils.js';
|
|
20
20
|
import { MappingEditorState, } from '../../../../stores/editor-state/element-editor-state/mapping/MappingEditorState.js';
|
|
21
21
|
import { clsx, CustomSelectorInput, ArrowCircleRightIcon, } from '@finos/legend-art';
|
|
22
22
|
import { useDrop } from 'react-dnd';
|
|
@@ -24,8 +24,8 @@ import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
|
24
24
|
import { guaranteeType } from '@finos/legend-shared';
|
|
25
25
|
import { Enumeration, EnumerationMapping, FlatDataPropertyMapping, getEnumerationMappingsByEnumeration, getRawGenericType, EnumerationMappingExplicitReference, } from '@finos/legend-graph';
|
|
26
26
|
import { StudioLambdaEditor } from '../../../shared/StudioLambdaEditor.js';
|
|
27
|
-
import { flatDataPropertyMapping_setTransformer } from '../../../../stores/graphModifier/
|
|
28
|
-
import { CLASS_PROPERTY_TYPE, getClassPropertyType, } from '../../../../stores/shared/
|
|
27
|
+
import { flatDataPropertyMapping_setTransformer } from '../../../../stores/graphModifier/STO_FlatData_GraphModifierHelper.js';
|
|
28
|
+
import { CLASS_PROPERTY_TYPE, getClassPropertyType, } from '../../../../stores/shared/ModelClassifierUtils.js';
|
|
29
29
|
const SimplePropertyMappingEditor = observer((props) => {
|
|
30
30
|
const { propertyMappingState, drop, dragItem, transformProps } = props;
|
|
31
31
|
const propertyMapping = propertyMappingState.propertyMapping;
|
package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatDataPropertyMappingEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,aAAa,EACb,wBAAwB,GACzB,MAAM,
|
|
1
|
+
{"version":3,"file":"FlatDataPropertyMappingEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,aAAa,EACb,wBAAwB,GACzB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,kBAAkB,GACnB,MAAM,oFAAoF,CAAC;AAK5F,OAAO,EACL,IAAI,EACJ,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAA0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