@finos/legend-application-studio 26.1.7 → 26.1.9
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/__lib__/DSL_ExternalFormat_LegendStudioDocumentation.js +1 -1
- package/lib/__lib__/DSL_ExternalFormat_LegendStudioDocumentation.js.map +1 -1
- package/lib/__lib__/LegendStudioApplicationNavigationContext.js +1 -1
- package/lib/__lib__/LegendStudioApplicationNavigationContext.js.map +1 -1
- package/lib/__lib__/LegendStudioCommand.js +1 -1
- package/lib/__lib__/LegendStudioCommand.js.map +1 -1
- package/lib/__lib__/LegendStudioDocumentation.js +1 -1
- package/lib/__lib__/LegendStudioDocumentation.js.map +1 -1
- package/lib/__lib__/LegendStudioEvent.js +1 -1
- package/lib/__lib__/LegendStudioEvent.js.map +1 -1
- package/lib/__lib__/LegendStudioNavigation.js +1 -1
- package/lib/__lib__/LegendStudioNavigation.js.map +1 -1
- package/lib/__lib__/LegendStudioSetting.js +1 -1
- package/lib/__lib__/LegendStudioSetting.js.map +1 -1
- package/lib/__lib__/LegendStudioTesting.d.ts +1 -1
- package/lib/__lib__/LegendStudioTesting.d.ts.map +1 -1
- package/lib/__lib__/LegendStudioTesting.js +2 -2
- package/lib/__lib__/LegendStudioTesting.js.map +1 -1
- package/lib/__lib__/STO_Relational_LegendStudioCommand.js +1 -1
- package/lib/__lib__/STO_Relational_LegendStudioCommand.js.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendStudioApplicationConfig.js +2 -4
- package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioWebApplication.js +16 -4
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.js +1 -1
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/INTERNAL__UnknownFunctionActivatorEdtior.d.ts.map +1 -1
- package/lib/components/editor/editor-group/INTERNAL__UnknownFunctionActivatorEdtior.js +2 -2
- package/lib/components/editor/editor-group/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +5 -5
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.js +6 -6
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +2 -2
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.js +2 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +2 -2
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +15 -2
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +46 -5
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +18 -3
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +4 -4
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +5 -5
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +2 -2
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +3 -3
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +0 -3
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +36 -72
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +3 -3
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +5 -5
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +3 -3
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +3 -3
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +2 -2
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +2 -2
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +5 -0
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +53 -8
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +6 -4
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +7 -3
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +3 -3
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +2 -2
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +7 -7
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +5 -5
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +2 -2
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +2 -2
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.js +1 -1
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +9 -9
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +1 -2
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +7 -7
- package/lib/stores/editor/EditorConfig.d.ts +3 -3
- package/lib/stores/editor/EditorConfig.d.ts.map +1 -1
- package/lib/stores/editor/EditorConfig.js +10 -10
- package/lib/stores/editor/EditorConfig.js.map +1 -1
- package/lib/stores/editor/EditorGraphState.js +2 -2
- package/lib/stores/editor/EditorGraphState.js.map +1 -1
- package/lib/stores/editor/EditorStore.d.ts.map +1 -1
- package/lib/stores/editor/EditorStore.js +4 -10
- package/lib/stores/editor/EditorStore.js.map +1 -1
- package/lib/stores/editor/ExplorerTreeState.js +1 -1
- package/lib/stores/editor/ExplorerTreeState.js.map +1 -1
- package/lib/stores/editor/NewElementState.js +1 -1
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/editor-state/ExternalFormatState.js +1 -1
- package/lib/stores/editor/editor-state/ExternalFormatState.js.map +1 -1
- package/lib/stores/editor/editor-state/ModelImporterState.js +2 -2
- package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js +4 -4
- package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts +22 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js +56 -5
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/DEPRECATED__MappingTestState.js +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/mapping/DEPRECATED__MappingTestState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js +3 -3
- package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts +12 -12
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js +114 -62
- package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.d.ts +4 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js +24 -10
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts +5 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +23 -16
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts +3 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +14 -10
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts +3 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js +29 -8
- package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts +2 -2
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js +9 -7
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts +14 -2
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +76 -6
- package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +1 -1
- package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +1 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +1 -1
- package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
- package/lib/stores/editor/panel-group/DevToolPanelState.d.ts +1 -0
- package/lib/stores/editor/panel-group/DevToolPanelState.d.ts.map +1 -1
- package/lib/stores/editor/panel-group/DevToolPanelState.js +12 -0
- package/lib/stores/editor/panel-group/DevToolPanelState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +1 -1
- package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +1 -1
- package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js +1 -1
- package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
- package/lib/stores/editor/utils/DnDUtils.js +1 -1
- package/lib/stores/editor/utils/DnDUtils.js.map +1 -1
- package/lib/stores/editor/utils/MockDataUtils.d.ts +4 -1
- package/lib/stores/editor/utils/MockDataUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/MockDataUtils.js +71 -3
- package/lib/stores/editor/utils/MockDataUtils.js.map +1 -1
- package/lib/stores/editor/utils/ModelClassifierUtils.js +3 -3
- package/lib/stores/editor/utils/ModelClassifierUtils.js.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.d.ts +1 -2
- package/lib/stores/editor/utils/TestableUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.js +4 -13
- package/lib/stores/editor/utils/TestableUtils.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Data_GraphModifierHelper.d.ts +6 -2
- package/lib/stores/graph-modifier/DSL_Data_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/DSL_Data_GraphModifierHelper.js +23 -4
- package/lib/stores/graph-modifier/DSL_Data_GraphModifierHelper.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js +1 -1
- package/lib/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.js.map +1 -1
- package/lib/stores/graph-modifier/STO_Relational_GraphModifierHelper.d.ts +1 -0
- package/lib/stores/graph-modifier/STO_Relational_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/graph-modifier/STO_Relational_GraphModifierHelper.js +3 -0
- package/lib/stores/graph-modifier/STO_Relational_GraphModifierHelper.js.map +1 -1
- package/lib/stores/project-view/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-view/ProjectViewerStore.js +4 -9
- package/lib/stores/project-view/ProjectViewerStore.js.map +1 -1
- package/package.json +17 -17
- package/src/__lib__/LegendStudioTesting.ts +1 -1
- package/src/application/LegendStudioApplicationConfig.ts +1 -2
- package/src/components/LegendStudioWebApplication.tsx +25 -6
- package/src/components/editor/ActivityBar.tsx +1 -1
- package/src/components/editor/editor-group/GenerationSpecificationEditor.tsx +6 -11
- package/src/components/editor/editor-group/INTERNAL__UnknownFunctionActivatorEdtior.tsx +10 -10
- package/src/components/editor/editor-group/ModelImporter.tsx +17 -15
- package/src/components/editor/editor-group/RuntimeEditor.tsx +19 -28
- package/src/components/editor/editor-group/connection-editor/ConnectionEditor.tsx +10 -10
- package/src/components/editor/editor-group/connection-editor/DatabaseBuilder.tsx +9 -18
- package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +13 -0
- package/src/components/editor/editor-group/data-editor/DataElementEditor.tsx +5 -4
- package/src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx +129 -3
- package/src/components/editor/editor-group/data-editor/RelationalCSVDataEditor.tsx +65 -0
- package/src/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.tsx +10 -11
- package/src/components/editor/editor-group/element-generation-editor/FileSystemViewer.tsx +13 -13
- package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.tsx +6 -3
- package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +29 -36
- package/src/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.tsx +9 -8
- package/src/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.tsx +13 -12
- package/src/components/editor/editor-group/mapping-editor/MappingEditor.tsx +0 -6
- package/src/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.tsx +27 -37
- package/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx +159 -366
- package/src/components/editor/editor-group/mapping-editor/MappingTestsExplorer.tsx +3 -2
- package/src/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.tsx +9 -8
- package/src/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.tsx +17 -14
- package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx +17 -21
- package/src/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.tsx +18 -19
- package/src/components/editor/editor-group/service-editor/ServiceEditor.tsx +3 -2
- package/src/components/editor/editor-group/service-editor/ServiceExecutionEditor.tsx +9 -8
- package/src/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.tsx +187 -61
- package/src/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.tsx +42 -35
- package/src/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.tsx +85 -83
- package/src/components/editor/editor-group/testable/TestableSharedComponents.tsx +6 -8
- package/src/components/editor/editor-group/uml-editor/AssociationEditor.tsx +7 -6
- package/src/components/editor/editor-group/uml-editor/ClassEditor.tsx +13 -12
- package/src/components/editor/editor-group/uml-editor/EnumerationEditor.tsx +24 -27
- package/src/components/editor/editor-group/uml-editor/ProfileEditor.tsx +5 -4
- package/src/components/editor/editor-group/uml-editor/PropertyEditor.tsx +5 -4
- package/src/components/editor/side-bar/SideBar.tsx +1 -1
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +18 -20
- package/src/stores/editor/EditorConfig.ts +3 -3
- package/src/stores/editor/EditorStore.ts +5 -23
- package/src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts +75 -4
- package/src/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.ts +157 -69
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.ts +45 -10
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +37 -15
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +16 -9
- package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestableState.ts +57 -6
- package/src/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.ts +10 -6
- package/src/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.ts +92 -3
- package/src/stores/editor/panel-group/DevToolPanelState.ts +25 -0
- package/src/stores/editor/utils/MockDataUtils.ts +109 -1
- package/src/stores/editor/utils/TestableUtils.ts +4 -19
- package/src/stores/graph-modifier/DSL_Data_GraphModifierHelper.ts +45 -6
- package/src/stores/graph-modifier/DSL_Mapping_GraphModifierHelper.ts +1 -1
- package/src/stores/graph-modifier/STO_Relational_GraphModifierHelper.ts +6 -0
- package/src/stores/project-view/ProjectViewerStore.ts +3 -25
@@ -29,6 +29,7 @@ import {
|
|
29
29
|
PanelContent,
|
30
30
|
PanelFormTextField,
|
31
31
|
PanelHeader,
|
32
|
+
PanelHeaderActions,
|
32
33
|
PanelLoadingIndicator,
|
33
34
|
RefreshIcon,
|
34
35
|
WrenchIcon,
|
@@ -306,12 +307,9 @@ const TestAssertionResultViewer = observer(
|
|
306
307
|
|
307
308
|
return (
|
308
309
|
<>
|
309
|
-
<
|
310
|
-
<
|
311
|
-
|
312
|
-
</div>
|
313
|
-
<div className="panel__header__actions"></div>
|
314
|
-
</div>
|
310
|
+
<PanelHeader title="result">
|
311
|
+
<PanelHeaderActions />
|
312
|
+
</PanelHeader>
|
315
313
|
<PanelContent className="testable-test-assertion-result__content">
|
316
314
|
<div
|
317
315
|
className={clsx('testable-test-assertion-result__summary', {
|
@@ -499,12 +497,12 @@ export const TestAssertionEditor = observer(
|
|
499
497
|
</div>
|
500
498
|
</div>
|
501
499
|
<div className="testable-test-assertion-editor__content">
|
502
|
-
{selectedTab === TEST_ASSERTION_TAB.
|
500
|
+
{selectedTab === TEST_ASSERTION_TAB.SETUP && (
|
503
501
|
<div className="testable-test-assertion-editor__setup">
|
504
502
|
{renderContent(testAssertionState.assertionState)}
|
505
503
|
</div>
|
506
504
|
)}
|
507
|
-
{selectedTab === TEST_ASSERTION_TAB.
|
505
|
+
{selectedTab === TEST_ASSERTION_TAB.RESULT && (
|
508
506
|
<TestAssertionResultViewer
|
509
507
|
testAssertionEditorState={testAssertionState}
|
510
508
|
/>
|
@@ -45,6 +45,7 @@ import {
|
|
45
45
|
Panel,
|
46
46
|
InfoCircleIcon,
|
47
47
|
PanelHeader,
|
48
|
+
PanelContentLists,
|
48
49
|
} from '@finos/legend-art';
|
49
50
|
import { getElementIcon } from '../../../ElementIconUtils.js';
|
50
51
|
import { prettyCONSTName, guaranteeType } from '@finos/legend-shared';
|
@@ -562,7 +563,7 @@ export const AssociationEditor = observer(
|
|
562
563
|
})}
|
563
564
|
>
|
564
565
|
{selectedTab === UML_EDITOR_TAB.PROPERTIES && (
|
565
|
-
<
|
566
|
+
<PanelContentLists>
|
566
567
|
<AssociationPropertyBasicEditor
|
567
568
|
association={association}
|
568
569
|
property={getFirstAssociatedProperty(association)}
|
@@ -579,14 +580,14 @@ export const AssociationEditor = observer(
|
|
579
580
|
)}
|
580
581
|
isReadOnly={isReadOnly}
|
581
582
|
/>
|
582
|
-
</
|
583
|
+
</PanelContentLists>
|
583
584
|
)}
|
584
585
|
{selectedTab === UML_EDITOR_TAB.TAGGED_VALUES && (
|
585
586
|
<PanelDropZone
|
586
587
|
isDragOver={isTaggedValueDragOver && !isReadOnly}
|
587
588
|
dropTargetConnector={dropTaggedValueRef}
|
588
589
|
>
|
589
|
-
<
|
590
|
+
<PanelContentLists>
|
590
591
|
<TaggedValueDragPreviewLayer />
|
591
592
|
{association.taggedValues.map((taggedValue) => (
|
592
593
|
<TaggedValueEditor
|
@@ -597,7 +598,7 @@ export const AssociationEditor = observer(
|
|
597
598
|
isReadOnly={isReadOnly}
|
598
599
|
/>
|
599
600
|
))}
|
600
|
-
</
|
601
|
+
</PanelContentLists>
|
601
602
|
</PanelDropZone>
|
602
603
|
)}
|
603
604
|
{selectedTab === UML_EDITOR_TAB.STEREOTYPES && (
|
@@ -605,7 +606,7 @@ export const AssociationEditor = observer(
|
|
605
606
|
isDragOver={isStereotypeDragOver && !isReadOnly}
|
606
607
|
dropTargetConnector={dropStereotypeRef}
|
607
608
|
>
|
608
|
-
<
|
609
|
+
<PanelContentLists>
|
609
610
|
<StereotypeDragPreviewLayer />
|
610
611
|
{association.stereotypes.map((stereotype) => (
|
611
612
|
<StereotypeSelector
|
@@ -616,7 +617,7 @@ export const AssociationEditor = observer(
|
|
616
617
|
isReadOnly={isReadOnly}
|
617
618
|
/>
|
618
619
|
))}
|
619
|
-
</
|
620
|
+
</PanelContentLists>
|
620
621
|
</PanelDropZone>
|
621
622
|
)}
|
622
623
|
</div>
|
@@ -46,6 +46,7 @@ import {
|
|
46
46
|
PanelDropZone,
|
47
47
|
Panel,
|
48
48
|
PanelDnDEntry,
|
49
|
+
PanelContentLists,
|
49
50
|
} from '@finos/legend-art';
|
50
51
|
import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
|
51
52
|
import { PropertyEditor } from './PropertyEditor.js';
|
@@ -1216,7 +1217,7 @@ const PropertiesEditor = observer(
|
|
1216
1217
|
isDragOver={isPropertyDragOver && !isReadOnly}
|
1217
1218
|
dropTargetConnector={dropPropertyRef}
|
1218
1219
|
>
|
1219
|
-
<
|
1220
|
+
<PanelContentLists>
|
1220
1221
|
<DragPreviewLayer
|
1221
1222
|
labelGetter={(item: ClassPropertyDragSource): string =>
|
1222
1223
|
item.property.name === '' ? '(unknown)' : item.property.name
|
@@ -1233,7 +1234,7 @@ const PropertiesEditor = observer(
|
|
1233
1234
|
isReadOnly={isReadOnly}
|
1234
1235
|
/>
|
1235
1236
|
))}
|
1236
|
-
</
|
1237
|
+
</PanelContentLists>
|
1237
1238
|
</PanelDropZone>
|
1238
1239
|
);
|
1239
1240
|
},
|
@@ -1299,7 +1300,7 @@ const DerviedPropertiesEditor = observer(
|
|
1299
1300
|
isDragOver={isDerivedPropertyDragOver && !isReadOnly}
|
1300
1301
|
dropTargetConnector={dropDerivedPropertyRef}
|
1301
1302
|
>
|
1302
|
-
<
|
1303
|
+
<PanelContentLists>
|
1303
1304
|
<DragPreviewLayer
|
1304
1305
|
labelGetter={(item: ClassDerivedPropertyDragSource): string =>
|
1305
1306
|
item.derivedProperty.name === ''
|
@@ -1323,7 +1324,7 @@ const DerviedPropertiesEditor = observer(
|
|
1323
1324
|
isReadOnly={isReadOnly}
|
1324
1325
|
/>
|
1325
1326
|
))}
|
1326
|
-
</
|
1327
|
+
</PanelContentLists>
|
1327
1328
|
</PanelDropZone>
|
1328
1329
|
);
|
1329
1330
|
},
|
@@ -1350,7 +1351,7 @@ const ConstraintsEditor = observer(
|
|
1350
1351
|
);
|
1351
1352
|
|
1352
1353
|
return (
|
1353
|
-
<
|
1354
|
+
<PanelContentLists>
|
1354
1355
|
<DragPreviewLayer
|
1355
1356
|
labelGetter={(item: ClassConstraintDragSource): string =>
|
1356
1357
|
item.constraint.name === '' ? '(unknown)' : item.constraint.name
|
@@ -1372,7 +1373,7 @@ const ConstraintsEditor = observer(
|
|
1372
1373
|
isReadOnly={isReadOnly}
|
1373
1374
|
/>
|
1374
1375
|
))}
|
1375
|
-
</
|
1376
|
+
</PanelContentLists>
|
1376
1377
|
);
|
1377
1378
|
},
|
1378
1379
|
);
|
@@ -1441,7 +1442,7 @@ const SupertypesEditor = observer(
|
|
1441
1442
|
isDragOver={isSuperTypeDragOver && !isReadOnly}
|
1442
1443
|
dropTargetConnector={dropSuperTypeRef}
|
1443
1444
|
>
|
1444
|
-
<
|
1445
|
+
<PanelContentLists>
|
1445
1446
|
<DragPreviewLayer
|
1446
1447
|
labelGetter={(item: ClassSuperTypeDragSource): string =>
|
1447
1448
|
item.superType.value.rawType.name
|
@@ -1457,7 +1458,7 @@ const SupertypesEditor = observer(
|
|
1457
1458
|
isReadOnly={isReadOnly}
|
1458
1459
|
/>
|
1459
1460
|
))}
|
1460
|
-
</
|
1461
|
+
</PanelContentLists>
|
1461
1462
|
</PanelDropZone>
|
1462
1463
|
);
|
1463
1464
|
},
|
@@ -1504,7 +1505,7 @@ const TaggedValuesEditor = observer(
|
|
1504
1505
|
isDragOver={isTaggedValueDragOver && !isReadOnly}
|
1505
1506
|
dropTargetConnector={dropTaggedValueRef}
|
1506
1507
|
>
|
1507
|
-
<
|
1508
|
+
<PanelContentLists>
|
1508
1509
|
<TaggedValueDragPreviewLayer />
|
1509
1510
|
{_class.taggedValues.map((taggedValue) => (
|
1510
1511
|
<TaggedValueEditor
|
@@ -1515,7 +1516,7 @@ const TaggedValuesEditor = observer(
|
|
1515
1516
|
isReadOnly={isReadOnly}
|
1516
1517
|
/>
|
1517
1518
|
))}
|
1518
|
-
</
|
1519
|
+
</PanelContentLists>
|
1519
1520
|
</PanelDropZone>
|
1520
1521
|
);
|
1521
1522
|
},
|
@@ -1564,7 +1565,7 @@ const StereotypesEditor = observer(
|
|
1564
1565
|
isDragOver={isStereotypeDragOver && !isReadOnly}
|
1565
1566
|
dropTargetConnector={dropStereotypeRef}
|
1566
1567
|
>
|
1567
|
-
<
|
1568
|
+
<PanelContentLists>
|
1568
1569
|
<StereotypeDragPreviewLayer />
|
1569
1570
|
{_class.stereotypes.map((stereotype) => (
|
1570
1571
|
<StereotypeSelector
|
@@ -1575,7 +1576,7 @@ const StereotypesEditor = observer(
|
|
1575
1576
|
isReadOnly={isReadOnly}
|
1576
1577
|
/>
|
1577
1578
|
))}
|
1578
|
-
</
|
1579
|
+
</PanelContentLists>
|
1579
1580
|
</PanelDropZone>
|
1580
1581
|
);
|
1581
1582
|
},
|
@@ -49,6 +49,10 @@ import {
|
|
49
49
|
Panel,
|
50
50
|
PanelContent,
|
51
51
|
PanelDnDEntry,
|
52
|
+
PanelHeader,
|
53
|
+
PanelHeaderActionItem,
|
54
|
+
PanelHeaderActions,
|
55
|
+
PanelContentLists,
|
52
56
|
} from '@finos/legend-art';
|
53
57
|
import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
|
54
58
|
import {
|
@@ -307,7 +311,7 @@ const EnumEditor = observer(
|
|
307
311
|
return (
|
308
312
|
<div className="uml-element-editor enum-editor">
|
309
313
|
<div data-testid={LEGEND_STUDIO_TEST_ID.PANEL} className="panel">
|
310
|
-
<
|
314
|
+
<PanelHeader>
|
311
315
|
<div className="panel__header__title">
|
312
316
|
{isReadOnly && (
|
313
317
|
<div className="uml-element-editor__header__lock">
|
@@ -317,17 +321,12 @@ const EnumEditor = observer(
|
|
317
321
|
<div className="panel__header__title__label">enum</div>
|
318
322
|
<div className="panel__header__title__content">{_enum.name}</div>
|
319
323
|
</div>
|
320
|
-
<
|
321
|
-
<
|
322
|
-
className="panel__header__action"
|
323
|
-
onClick={deselectValue}
|
324
|
-
tabIndex={-1}
|
325
|
-
title="Close"
|
326
|
-
>
|
324
|
+
<PanelHeaderActions>
|
325
|
+
<PanelHeaderActionItem onClick={deselectValue} title="Close">
|
327
326
|
<TimesIcon />
|
328
|
-
</
|
329
|
-
</
|
330
|
-
</
|
327
|
+
</PanelHeaderActionItem>
|
328
|
+
</PanelHeaderActions>
|
329
|
+
</PanelHeader>
|
331
330
|
<div
|
332
331
|
data-testid={LEGEND_STUDIO_TEST_ID.UML_ELEMENT_EDITOR__TABS_HEADER}
|
333
332
|
className="panel__header uml-element-editor__tabs__header"
|
@@ -345,17 +344,15 @@ const EnumEditor = observer(
|
|
345
344
|
</div>
|
346
345
|
))}
|
347
346
|
</div>
|
348
|
-
<
|
349
|
-
<
|
350
|
-
className="panel__header__action"
|
347
|
+
<PanelHeaderActions>
|
348
|
+
<PanelHeaderActionItem
|
351
349
|
disabled={isReadOnly}
|
352
350
|
onClick={addValue}
|
353
|
-
tabIndex={-1}
|
354
351
|
title={addButtonTitle}
|
355
352
|
>
|
356
353
|
<PlusIcon />
|
357
|
-
</
|
358
|
-
</
|
354
|
+
</PanelHeaderActionItem>
|
355
|
+
</PanelHeaderActions>
|
359
356
|
</div>
|
360
357
|
<PanelContent>
|
361
358
|
{selectedTab === UML_EDITOR_TAB.TAGGED_VALUES && (
|
@@ -363,7 +360,7 @@ const EnumEditor = observer(
|
|
363
360
|
isDragOver={isTaggedValueDragOver && !isReadOnly}
|
364
361
|
dropTargetConnector={dropTaggedValueRef}
|
365
362
|
>
|
366
|
-
<
|
363
|
+
<PanelContentLists>
|
367
364
|
<TaggedValueDragPreviewLayer />
|
368
365
|
{_enum.taggedValues.map((taggedValue) => (
|
369
366
|
<TaggedValueEditor
|
@@ -374,7 +371,7 @@ const EnumEditor = observer(
|
|
374
371
|
isReadOnly={isReadOnly}
|
375
372
|
/>
|
376
373
|
))}
|
377
|
-
</
|
374
|
+
</PanelContentLists>
|
378
375
|
</PanelDropZone>
|
379
376
|
)}
|
380
377
|
{selectedTab === UML_EDITOR_TAB.STEREOTYPES && (
|
@@ -382,7 +379,7 @@ const EnumEditor = observer(
|
|
382
379
|
isDragOver={isStereotypeDragOver && !isReadOnly}
|
383
380
|
dropTargetConnector={dropStereotypeRef}
|
384
381
|
>
|
385
|
-
<
|
382
|
+
<PanelContentLists>
|
386
383
|
<StereotypeDragPreviewLayer />
|
387
384
|
{_enum.stereotypes.map((stereotype) => (
|
388
385
|
<StereotypeSelector
|
@@ -393,7 +390,7 @@ const EnumEditor = observer(
|
|
393
390
|
isReadOnly={isReadOnly}
|
394
391
|
/>
|
395
392
|
))}
|
396
|
-
</
|
393
|
+
</PanelContentLists>
|
397
394
|
</PanelDropZone>
|
398
395
|
)}
|
399
396
|
</PanelContent>
|
@@ -631,7 +628,7 @@ export const EnumerationEditor = observer(
|
|
631
628
|
</div>
|
632
629
|
<PanelContent>
|
633
630
|
{selectedTab === UML_EDITOR_TAB.ENUM_VALUES && (
|
634
|
-
<
|
631
|
+
<PanelContentLists>
|
635
632
|
<DragPreviewLayer
|
636
633
|
labelGetter={(item: EnumValueDragSource): string =>
|
637
634
|
item.enumValue.name === ''
|
@@ -649,14 +646,14 @@ export const EnumerationEditor = observer(
|
|
649
646
|
isReadOnly={isReadOnly}
|
650
647
|
/>
|
651
648
|
))}
|
652
|
-
</
|
649
|
+
</PanelContentLists>
|
653
650
|
)}
|
654
651
|
{selectedTab === UML_EDITOR_TAB.TAGGED_VALUES && (
|
655
652
|
<PanelDropZone
|
656
653
|
isDragOver={isTaggedValueDragOver && !isReadOnly}
|
657
654
|
dropTargetConnector={dropTaggedValueRef}
|
658
655
|
>
|
659
|
-
<
|
656
|
+
<PanelContentLists>
|
660
657
|
<TaggedValueDragPreviewLayer />
|
661
658
|
{enumeration.taggedValues.map((taggedValue) => (
|
662
659
|
<TaggedValueEditor
|
@@ -667,7 +664,7 @@ export const EnumerationEditor = observer(
|
|
667
664
|
isReadOnly={isReadOnly}
|
668
665
|
/>
|
669
666
|
))}
|
670
|
-
</
|
667
|
+
</PanelContentLists>
|
671
668
|
</PanelDropZone>
|
672
669
|
)}
|
673
670
|
{selectedTab === UML_EDITOR_TAB.STEREOTYPES && (
|
@@ -675,7 +672,7 @@ export const EnumerationEditor = observer(
|
|
675
672
|
isDragOver={isStereotypeDragOver && !isReadOnly}
|
676
673
|
dropTargetConnector={dropStereotypeRef}
|
677
674
|
>
|
678
|
-
<
|
675
|
+
<PanelContentLists>
|
679
676
|
<StereotypeDragPreviewLayer />
|
680
677
|
{enumeration.stereotypes.map((stereotype) => (
|
681
678
|
<StereotypeSelector
|
@@ -686,7 +683,7 @@ export const EnumerationEditor = observer(
|
|
686
683
|
isReadOnly={isReadOnly}
|
687
684
|
/>
|
688
685
|
))}
|
689
|
-
</
|
686
|
+
</PanelContentLists>
|
690
687
|
</PanelDropZone>
|
691
688
|
)}
|
692
689
|
</PanelContent>
|
@@ -32,6 +32,7 @@ import {
|
|
32
32
|
Panel,
|
33
33
|
PanelContent,
|
34
34
|
PanelDnDEntry,
|
35
|
+
PanelContentLists,
|
35
36
|
} from '@finos/legend-art';
|
36
37
|
import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
|
37
38
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
@@ -355,7 +356,7 @@ export const ProfileEditor = observer((props: { profile: Profile }) => {
|
|
355
356
|
</div>
|
356
357
|
<PanelContent>
|
357
358
|
{selectedTab === UML_EDITOR_TAB.TAGS && (
|
358
|
-
<
|
359
|
+
<PanelContentLists>
|
359
360
|
<DragPreviewLayer
|
360
361
|
labelGetter={(item: TagDragSource): string =>
|
361
362
|
item.tag.value === '' ? '(unknown)' : item.tag.value
|
@@ -371,10 +372,10 @@ export const ProfileEditor = observer((props: { profile: Profile }) => {
|
|
371
372
|
isReadOnly={isReadOnly}
|
372
373
|
/>
|
373
374
|
))}
|
374
|
-
</
|
375
|
+
</PanelContentLists>
|
375
376
|
)}
|
376
377
|
{selectedTab === UML_EDITOR_TAB.STEREOTYPES && (
|
377
|
-
<
|
378
|
+
<PanelContentLists>
|
378
379
|
<DragPreviewLayer
|
379
380
|
labelGetter={(item: StereotypeDragSource): string =>
|
380
381
|
item.stereotype.value === ''
|
@@ -392,7 +393,7 @@ export const ProfileEditor = observer((props: { profile: Profile }) => {
|
|
392
393
|
isReadOnly={isReadOnly}
|
393
394
|
/>
|
394
395
|
))}
|
395
|
-
</
|
396
|
+
</PanelContentLists>
|
396
397
|
)}
|
397
398
|
</PanelContent>
|
398
399
|
</Panel>
|
@@ -27,6 +27,7 @@ import {
|
|
27
27
|
CustomSelectorInput,
|
28
28
|
LockIcon,
|
29
29
|
PanelContent,
|
30
|
+
PanelContentLists,
|
30
31
|
PanelDropZone,
|
31
32
|
PanelForm,
|
32
33
|
PanelFormSection,
|
@@ -280,7 +281,7 @@ export const PropertyEditor = observer(
|
|
280
281
|
isDragOver={isTaggedValueDragOver && !isReadOnly}
|
281
282
|
dropTargetConnector={dropTaggedValueRef}
|
282
283
|
>
|
283
|
-
<
|
284
|
+
<PanelContentLists>
|
284
285
|
<TaggedValueDragPreviewLayer />
|
285
286
|
{property.taggedValues.map((taggedValue) => (
|
286
287
|
<TaggedValueEditor
|
@@ -291,7 +292,7 @@ export const PropertyEditor = observer(
|
|
291
292
|
isReadOnly={isReadOnly}
|
292
293
|
/>
|
293
294
|
))}
|
294
|
-
</
|
295
|
+
</PanelContentLists>
|
295
296
|
</PanelDropZone>
|
296
297
|
)}
|
297
298
|
{selectedTab === UML_EDITOR_TAB.STEREOTYPES && (
|
@@ -299,7 +300,7 @@ export const PropertyEditor = observer(
|
|
299
300
|
isDragOver={isStereotypeDragOver && !isReadOnly}
|
300
301
|
dropTargetConnector={dropStereotypeRef}
|
301
302
|
>
|
302
|
-
<
|
303
|
+
<PanelContentLists>
|
303
304
|
<StereotypeDragPreviewLayer />
|
304
305
|
{property.stereotypes.map((stereotype) => (
|
305
306
|
<StereotypeSelector
|
@@ -310,7 +311,7 @@ export const PropertyEditor = observer(
|
|
310
311
|
isReadOnly={isReadOnly}
|
311
312
|
/>
|
312
313
|
))}
|
313
|
-
</
|
314
|
+
</PanelContentLists>
|
314
315
|
</PanelDropZone>
|
315
316
|
)}
|
316
317
|
</PanelContent>
|
@@ -53,7 +53,7 @@ export const SideBar = observer(() => {
|
|
53
53
|
workflowManagerState={editorStore.workspaceWorkflowManagerState}
|
54
54
|
/>
|
55
55
|
);
|
56
|
-
case ACTIVITY_MODE.
|
56
|
+
case ACTIVITY_MODE.TEST_RUNNER:
|
57
57
|
return (
|
58
58
|
<GlobalTestRunner
|
59
59
|
globalTestRunnerState={editorStore.globalTestRunnerState}
|
@@ -58,7 +58,7 @@ import {
|
|
58
58
|
} from '@finos/legend-shared';
|
59
59
|
import { observer } from 'mobx-react-lite';
|
60
60
|
import { forwardRef, useEffect, useState } from 'react';
|
61
|
-
import {
|
61
|
+
import { TEST_RUNNER_TABS } from '../../../../stores/editor/EditorConfig.js';
|
62
62
|
import {
|
63
63
|
type TestableExplorerTreeNodeData,
|
64
64
|
type GlobalTestRunnerState,
|
@@ -429,7 +429,7 @@ export const GlobalTestRunner = observer(
|
|
429
429
|
const editorStore = useEditorStore();
|
430
430
|
const globalTestRunnerState = props.globalTestRunnerState;
|
431
431
|
const isDispatchingAction = globalTestRunnerState.isDispatchingAction;
|
432
|
-
const testRunnerTabs = (Object.values(
|
432
|
+
const testRunnerTabs = (Object.values(TEST_RUNNER_TABS) as string[])
|
433
433
|
.concat(
|
434
434
|
editorStore.pluginManager
|
435
435
|
.getApplicationPlugins()
|
@@ -443,7 +443,7 @@ export const GlobalTestRunner = observer(
|
|
443
443
|
}));
|
444
444
|
|
445
445
|
const [selectedTab, setSelectedTab] = useState(
|
446
|
-
|
446
|
+
TEST_RUNNER_TABS.TEST_RUNNER.valueOf(),
|
447
447
|
);
|
448
448
|
|
449
449
|
const changeTab = (tab: string): void => {
|
@@ -496,10 +496,10 @@ export const GlobalTestRunner = observer(
|
|
496
496
|
const reset = (): void => globalTestRunnerState.init(true);
|
497
497
|
|
498
498
|
const renderTestRunnerTab = (): React.ReactNode => {
|
499
|
-
if (selectedTab ===
|
499
|
+
if (selectedTab === TEST_RUNNER_TABS.TEST_RUNNER) {
|
500
500
|
return (
|
501
501
|
<div
|
502
|
-
data-testid={LEGEND_STUDIO_TEST_ID.
|
502
|
+
data-testid={LEGEND_STUDIO_TEST_ID.TEST_RUNNER}
|
503
503
|
className="panel global-test-runner"
|
504
504
|
>
|
505
505
|
<PanelHeader className="panel__header side-bar__header">
|
@@ -535,6 +535,19 @@ export const GlobalTestRunner = observer(
|
|
535
535
|
</button>
|
536
536
|
</div>
|
537
537
|
</PanelHeader>
|
538
|
+
<div className="panel__header__tabs panel__header__test__runner__tabs">
|
539
|
+
{testRunnerTabs.map((tab) => (
|
540
|
+
<div
|
541
|
+
key={tab.value}
|
542
|
+
onClick={() => changeTab(tab.value)}
|
543
|
+
className={clsx('panel__header__tab', {
|
544
|
+
['panel__header__tab--active']: tab.value === selectedTab,
|
545
|
+
})}
|
546
|
+
>
|
547
|
+
{toTitleCase(prettyCONSTName(tab.value))}
|
548
|
+
</div>
|
549
|
+
))}
|
550
|
+
</div>
|
538
551
|
<PanelContent className="side-bar__content">
|
539
552
|
<PanelLoadingIndicator isLoading={isDispatchingAction} />
|
540
553
|
<Panel className="side-bar__panel">
|
@@ -587,21 +600,6 @@ export const GlobalTestRunner = observer(
|
|
587
600
|
|
588
601
|
return (
|
589
602
|
<Panel>
|
590
|
-
<div className="panel__header panel__header--dark">
|
591
|
-
<div className="panel__header__tabs">
|
592
|
-
{testRunnerTabs.map((tab) => (
|
593
|
-
<div
|
594
|
-
key={tab.value}
|
595
|
-
onClick={() => changeTab(tab.value)}
|
596
|
-
className={clsx('panel__header__tab', {
|
597
|
-
['panel__header__tab--active']: tab.value === selectedTab,
|
598
|
-
})}
|
599
|
-
>
|
600
|
-
{toTitleCase(prettyCONSTName(tab.value))}
|
601
|
-
</div>
|
602
|
-
))}
|
603
|
-
</div>
|
604
|
-
</div>
|
605
603
|
<PanelContent>{renderTestRunnerTab()}</PanelContent>
|
606
604
|
</Panel>
|
607
605
|
);
|
@@ -21,8 +21,8 @@ export enum EDITOR_MODE {
|
|
21
21
|
VIEWER = 'VIEWER',
|
22
22
|
}
|
23
23
|
|
24
|
-
export enum
|
25
|
-
|
24
|
+
export enum TEST_RUNNER_TABS {
|
25
|
+
TEST_RUNNER = 'Test Runner',
|
26
26
|
}
|
27
27
|
|
28
28
|
export enum ACTIVITY_MODE {
|
@@ -35,7 +35,7 @@ export enum ACTIVITY_MODE {
|
|
35
35
|
REVIEW = 'REVIEW',
|
36
36
|
PROJECT_OVERVIEW = 'PROJECT_OVERVIEW',
|
37
37
|
WORKFLOW_MANAGER = 'WORKFLOW_MANAGER',
|
38
|
-
|
38
|
+
TEST_RUNNER = 'TEST_RUNNER',
|
39
39
|
REGISTER_SERVICES = 'REGISTER_SERVICES',
|
40
40
|
}
|
41
41
|
|
@@ -56,16 +56,15 @@ import {
|
|
56
56
|
AssertionError,
|
57
57
|
guaranteeType,
|
58
58
|
type Clazz,
|
59
|
-
returnUndefOnError,
|
60
|
-
downloadFileUsingDataURI,
|
61
|
-
formatDate,
|
62
|
-
ContentType,
|
63
59
|
} from '@finos/legend-shared';
|
64
60
|
import { EditorSDLCState } from './EditorSDLCState.js';
|
65
61
|
import { ModelImporterState } from './editor-state/ModelImporterState.js';
|
66
62
|
import { ProjectConfigurationEditorState } from './editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js';
|
67
63
|
import type { ElementFileGenerationState } from './editor-state/element-editor-state/ElementFileGenerationState.js';
|
68
|
-
import {
|
64
|
+
import {
|
65
|
+
DevToolPanelState,
|
66
|
+
payloadDebugger,
|
67
|
+
} from './panel-group/DevToolPanelState.js';
|
69
68
|
import {
|
70
69
|
generateEditorRoute,
|
71
70
|
generateSetupRoute,
|
@@ -89,7 +88,6 @@ import {
|
|
89
88
|
ActionAlertType,
|
90
89
|
APPLICATION_EVENT,
|
91
90
|
DEFAULT_TAB_SIZE,
|
92
|
-
DEFAULT_DATE_TIME_FORMAT,
|
93
91
|
} from '@finos/legend-application';
|
94
92
|
import { LEGEND_STUDIO_APP_EVENT } from '../../__lib__/LegendStudioEvent.js';
|
95
93
|
import type { EditorMode } from './EditorMode.js';
|
@@ -668,23 +666,7 @@ export class EditorStore implements CommandRegistrar {
|
|
668
666
|
baseUrl: this.applicationStore.config.engineServerUrl,
|
669
667
|
queryBaseUrl: this.applicationStore.config.engineQueryServerUrl,
|
670
668
|
enableCompression: true,
|
671
|
-
payloadDebugger
|
672
|
-
const content =
|
673
|
-
returnUndefOnError(() =>
|
674
|
-
JSON.stringify(payload, undefined, 2),
|
675
|
-
) ??
|
676
|
-
returnUndefOnError(() => `${payload}`) ??
|
677
|
-
'';
|
678
|
-
// TODO: we can also copy the debug content to clipboard
|
679
|
-
downloadFileUsingDataURI(
|
680
|
-
`PAYLOAD_DEBUG__${identifier}__${formatDate(
|
681
|
-
new Date(Date.now()),
|
682
|
-
DEFAULT_DATE_TIME_FORMAT,
|
683
|
-
)}.json`,
|
684
|
-
content,
|
685
|
-
ContentType.TEXT_PLAIN,
|
686
|
-
);
|
687
|
-
},
|
669
|
+
payloadDebugger,
|
688
670
|
},
|
689
671
|
},
|
690
672
|
{
|