@finos/legend-application-studio 16.0.1 → 17.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/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.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.js +2 -6
- package/lib/components/EmbeddedQueryBuilder.js.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/edit-panel/FunctionEditor.js +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +4 -4
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +19 -4
- 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.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +6 -6
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- 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/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 +2 -2
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.js +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +2 -5
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +2 -5
- 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.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.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +2 -2
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +3 -2
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts.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/ServiceExecutionEditor.js +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +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.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.js +2 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +2 -2
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.js.map +1 -1
- 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.js +4 -4
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/shared/ElementIconUtils.js +1 -1
- package/lib/components/shared/ElementIconUtils.js.map +1 -1
- package/lib/components/{workspace-setup/ProjectSelector.d.ts → shared/ProjectSelectorUtils.d.ts} +9 -7
- 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/TypeTree.js +2 -2
- package/lib/components/shared/TypeTree.js.map +1 -1
- package/lib/components/{workspace-setup/WorkspaceSetupStoreProvider.d.ts → shared/WorkspaceSelectorUtils.d.ts} +8 -8
- 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-setup/{ProjectCreateModal.d.ts → CreateProjectModal.d.ts} +1 -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/components/workspace-setup/CreateWorkspaceModal.d.ts +22 -0
- 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 +9 -6
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -7
- package/lib/index.js.map +1 -1
- package/lib/package.json +4 -4
- package/lib/stores/{DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.d.ts → DSLGeneration_LegendStudioApplicationPlugin_Extension.d.ts} +5 -2
- package/lib/stores/DSLGeneration_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -0
- package/lib/stores/{DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.js → DSLGeneration_LegendStudioApplicationPlugin_Extension.js} +1 -1
- package/lib/stores/DSLGeneration_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.map +1 -1
- package/lib/stores/LegendStudioAppEvent.js +2 -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/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +5 -2
- 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 +1 -1
- 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/GraphGenerationState.d.ts +1 -1
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +2 -2
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js +3 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.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/mapping/MappingEditorState.d.ts +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +1 -1
- 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 +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingTestState.js.map +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 +1 -1
- 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 +15 -20
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js +1 -1
- package/lib/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js.map +1 -1
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.js +1 -1
- package/lib/stores/graphModifier/DSLMapping_GraphModifierHelper.js.map +1 -1
- 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 +2 -1
- 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/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 +137 -133
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +13 -13
- package/src/application/LegendStudioApplicationConfig.ts +12 -5
- package/src/components/EditorComponentTestUtils.tsx +1 -6
- package/src/components/EmbeddedQueryBuilder.tsx +2 -8
- 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/edit-panel/FunctionEditor.tsx +1 -1
- package/src/components/editor/edit-panel/GenerationSpecificationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +4 -4
- package/src/components/editor/edit-panel/RuntimeEditor.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +31 -3
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +16 -11
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +2 -3
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +4 -4
- package/src/components/editor/edit-panel/external-format-editor/BindingElementEditor.tsx +1 -1
- package/src/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.tsx +0 -1
- package/src/components/editor/edit-panel/mapping-editor/ClassMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/FlatDataRecordTypeTree.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +2 -14
- package/src/components/editor/edit-panel/mapping-editor/MappingExplorer.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +1 -9
- 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 +1 -1
- package/src/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.tsx +1 -1
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +2 -2
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +1 -1
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +5 -5
- package/src/components/editor/edit-panel/service-editor/NewServiceModal.tsx +2 -3
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +1 -1
- 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 +1 -1
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +2 -2
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +1 -1
- package/src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx +1 -1
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +5 -2
- package/src/components/editor/side-bar/Explorer.tsx +5 -5
- package/src/components/editor/side-bar/LocalChanges.tsx +1 -1
- package/src/components/editor/side-bar/WorkspaceReview.tsx +1 -1
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +2 -8
- 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-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 +9 -9
- package/src/stores/{DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.ts → DSLGeneration_LegendStudioApplicationPlugin_Extension.ts} +4 -1
- package/src/stores/EditorGraphState.ts +2 -3
- 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 +3 -0
- package/src/stores/LegendStudioBaseStore.ts +7 -4
- package/src/stores/LegendStudioRouter.ts +1 -1
- package/src/stores/editor/NewElementState.ts +5 -1
- package/src/stores/editor-state/FileGenerationState.ts +1 -1
- package/src/stores/editor-state/FileGenerationViewerState.ts +1 -1
- package/src/stores/editor-state/GraphGenerationState.ts +6 -6
- package/src/stores/editor-state/ProjectConfigurationEditorState.ts +2 -1
- package/src/stores/editor-state/element-editor-state/RuntimeEditorState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingEditorState.ts +2 -2
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/mapping/MappingTestState.ts +1 -1
- package/src/stores/editor-state/element-editor-state/service/ServiceExecutionState.ts +1 -2
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +33 -32
- package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts +1 -1
- package/src/stores/graphModifier/DSLMapping_GraphModifierHelper.ts +1 -1
- package/src/stores/project-viewer/ProjectViewerStore.ts +6 -6
- 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/workspace-setup/WorkspaceSetupStore.ts +208 -190
- package/tsconfig.json +12 -12
- package/lib/components/workspace-setup/ProjectCreateModal.d.ts.map +0 -1
- 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.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/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
- package/lib/stores/DSLGenerationSpecification_LegendStudioApplicationPlugin_Extension.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
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
UnsupportedOperationError,
|
|
29
29
|
getNullableFirstElement,
|
|
30
30
|
assertTrue,
|
|
31
|
+
URL_SEPARATOR,
|
|
31
32
|
} from '@finos/legend-shared';
|
|
32
33
|
import { LEGEND_STUDIO_APP_EVENT } from '../../../LegendStudioAppEvent.js';
|
|
33
34
|
import { Version } from '@finos/legend-server-sdlc';
|
|
@@ -36,7 +37,7 @@ import {
|
|
|
36
37
|
type ServiceRegistrationResult,
|
|
37
38
|
ServiceExecutionMode,
|
|
38
39
|
} from '@finos/legend-graph';
|
|
39
|
-
import {
|
|
40
|
+
import { ServiceRegistrationEnvironmentConfig } from '../../../../application/LegendStudioApplicationConfig.js';
|
|
40
41
|
import {
|
|
41
42
|
ActionAlertActionType,
|
|
42
43
|
ActionAlertType,
|
|
@@ -44,6 +45,19 @@ import {
|
|
|
44
45
|
|
|
45
46
|
export const LATEST_PROJECT_REVISION = 'Latest Project Revision';
|
|
46
47
|
|
|
48
|
+
export const generateServiceManagementUrl = (
|
|
49
|
+
baseUrl: string,
|
|
50
|
+
serviceUrlPattern: string,
|
|
51
|
+
): string =>
|
|
52
|
+
`${baseUrl}${
|
|
53
|
+
URL_SEPARATOR +
|
|
54
|
+
encodeURIComponent(
|
|
55
|
+
serviceUrlPattern[0] === URL_SEPARATOR
|
|
56
|
+
? serviceUrlPattern.substring(1)
|
|
57
|
+
: serviceUrlPattern,
|
|
58
|
+
)
|
|
59
|
+
}`;
|
|
60
|
+
|
|
47
61
|
const getServiceExecutionMode = (mode: string): ServiceExecutionMode => {
|
|
48
62
|
switch (mode) {
|
|
49
63
|
case ServiceExecutionMode.FULL_INTERACTIVE:
|
|
@@ -59,22 +73,15 @@ const getServiceExecutionMode = (mode: string): ServiceExecutionMode => {
|
|
|
59
73
|
}
|
|
60
74
|
};
|
|
61
75
|
|
|
62
|
-
const URL_SEPARATOR = '/';
|
|
63
|
-
|
|
64
76
|
interface ServiceVersionOption {
|
|
65
77
|
label: string;
|
|
66
78
|
value: Version | string;
|
|
67
79
|
}
|
|
68
80
|
|
|
69
|
-
export enum SERVICE_REGISTRATION_PHASE {
|
|
70
|
-
REGISTERING_SERVICE = 'REGISTERING_SERVICE',
|
|
71
|
-
ACTIVATING_SERVICE = 'ACTIVATING_SERVICE',
|
|
72
|
-
}
|
|
73
|
-
|
|
74
81
|
export class ServiceRegistrationState {
|
|
75
82
|
readonly editorStore: EditorStore;
|
|
76
83
|
readonly service: Service;
|
|
77
|
-
readonly registrationOptions:
|
|
84
|
+
readonly registrationOptions: ServiceRegistrationEnvironmentConfig[] = [];
|
|
78
85
|
registrationState = ActionState.create();
|
|
79
86
|
serviceEnv?: string | undefined;
|
|
80
87
|
serviceExecutionMode?: ServiceExecutionMode | undefined;
|
|
@@ -86,7 +93,7 @@ export class ServiceRegistrationState {
|
|
|
86
93
|
constructor(
|
|
87
94
|
editorStore: EditorStore,
|
|
88
95
|
service: Service,
|
|
89
|
-
registrationOptions:
|
|
96
|
+
registrationOptions: ServiceRegistrationEnvironmentConfig[],
|
|
90
97
|
enableModesWithVersioning: boolean,
|
|
91
98
|
) {
|
|
92
99
|
makeAutoObservable(this, {
|
|
@@ -151,13 +158,13 @@ export class ServiceRegistrationState {
|
|
|
151
158
|
this.setServiceExecutionMode(this.executionModes[0]);
|
|
152
159
|
}
|
|
153
160
|
|
|
154
|
-
get options():
|
|
161
|
+
get options(): ServiceRegistrationEnvironmentConfig[] {
|
|
155
162
|
if (this.enableModesWithVersioning) {
|
|
156
163
|
return this.registrationOptions;
|
|
157
164
|
}
|
|
158
165
|
return this.registrationOptions
|
|
159
166
|
.map((_envConfig) => {
|
|
160
|
-
const envConfig = new
|
|
167
|
+
const envConfig = new ServiceRegistrationEnvironmentConfig();
|
|
161
168
|
envConfig.env = _envConfig.env;
|
|
162
169
|
envConfig.executionUrl = _envConfig.executionUrl;
|
|
163
170
|
envConfig.managementUrl = _envConfig.managementUrl;
|
|
@@ -215,9 +222,7 @@ export class ServiceRegistrationState {
|
|
|
215
222
|
const projectConfig = guaranteeNonNullable(
|
|
216
223
|
this.editorStore.projectConfigurationEditorState.projectConfiguration,
|
|
217
224
|
);
|
|
218
|
-
this.registrationState.setMessage(
|
|
219
|
-
SERVICE_REGISTRATION_PHASE.REGISTERING_SERVICE,
|
|
220
|
-
);
|
|
225
|
+
this.registrationState.setMessage(`Registering service...`);
|
|
221
226
|
const serviceRegistrationResult =
|
|
222
227
|
(yield this.editorStore.graphManagerState.graphManager.registerService(
|
|
223
228
|
this.service,
|
|
@@ -227,12 +232,12 @@ export class ServiceRegistrationState {
|
|
|
227
232
|
versionInput,
|
|
228
233
|
serverUrl,
|
|
229
234
|
guaranteeNonNullable(this.serviceExecutionMode),
|
|
230
|
-
|
|
235
|
+
{
|
|
236
|
+
TEMPORARY__useStoreModel: this.TEMPORARY__useStoreModel,
|
|
237
|
+
},
|
|
231
238
|
)) as ServiceRegistrationResult;
|
|
232
239
|
if (this.activatePostRegistration) {
|
|
233
|
-
this.registrationState.setMessage(
|
|
234
|
-
SERVICE_REGISTRATION_PHASE.ACTIVATING_SERVICE,
|
|
235
|
-
);
|
|
240
|
+
this.registrationState.setMessage(`Activating service...`);
|
|
236
241
|
yield this.editorStore.graphManagerState.graphManager.activateService(
|
|
237
242
|
serverUrl,
|
|
238
243
|
serviceRegistrationResult.serviceInstanceId,
|
|
@@ -240,20 +245,13 @@ export class ServiceRegistrationState {
|
|
|
240
245
|
}
|
|
241
246
|
assertNonEmptyString(
|
|
242
247
|
serviceRegistrationResult.pattern,
|
|
243
|
-
'Service registration pattern is missing',
|
|
248
|
+
'Service registration pattern is missing or empty',
|
|
244
249
|
);
|
|
245
|
-
|
|
246
|
-
serviceRegistrationResult.pattern
|
|
247
|
-
} registered ${this.activatePostRegistration ? 'and activated ' : ''}`;
|
|
248
|
-
const encodedServicePattern =
|
|
249
|
-
URL_SEPARATOR +
|
|
250
|
-
encodeURIComponent(
|
|
251
|
-
serviceRegistrationResult.pattern[0] === URL_SEPARATOR
|
|
252
|
-
? serviceRegistrationResult.pattern.substring(1)
|
|
253
|
-
: serviceRegistrationResult.pattern,
|
|
254
|
-
);
|
|
250
|
+
|
|
255
251
|
this.editorStore.setActionAlertInfo({
|
|
256
|
-
message
|
|
252
|
+
message: `Service with pattern ${
|
|
253
|
+
serviceRegistrationResult.pattern
|
|
254
|
+
} registered ${this.activatePostRegistration ? 'and activated ' : ''}`,
|
|
257
255
|
prompt: 'You can now launch and monitor the operation of your service',
|
|
258
256
|
type: ActionAlertType.STANDARD,
|
|
259
257
|
onEnter: (): void => this.editorStore.setBlockGlobalHotkeys(true),
|
|
@@ -264,7 +262,10 @@ export class ServiceRegistrationState {
|
|
|
264
262
|
type: ActionAlertActionType.PROCEED,
|
|
265
263
|
handler: (): void => {
|
|
266
264
|
this.editorStore.applicationStore.navigator.openNewWindow(
|
|
267
|
-
|
|
265
|
+
generateServiceManagementUrl(
|
|
266
|
+
config.managementUrl,
|
|
267
|
+
serviceRegistrationResult.pattern,
|
|
268
|
+
),
|
|
268
269
|
);
|
|
269
270
|
},
|
|
270
271
|
default: true,
|
package/src/stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.ts
CHANGED
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
import {
|
|
56
56
|
createMockEnumerationProperty,
|
|
57
57
|
createMockPrimitiveProperty,
|
|
58
|
-
} from '../../../../shared/
|
|
58
|
+
} from '../../../../shared/MockDataUtils.js';
|
|
59
59
|
import {
|
|
60
60
|
createRelationalDataFromCSV,
|
|
61
61
|
EmbeddedDataConnectionTypeVisitor,
|
|
@@ -250,7 +250,7 @@ export const enumValueMapping_updateSourceValue = action(
|
|
|
250
250
|
sourceValue_setValue(
|
|
251
251
|
sourceValue,
|
|
252
252
|
sourceType instanceof Type && sourceType.name === PRIMITIVE_TYPE.INTEGER
|
|
253
|
-
? parseInt(val as string)
|
|
253
|
+
? parseInt(val as string, 10)
|
|
254
254
|
: val,
|
|
255
255
|
);
|
|
256
256
|
}
|
|
@@ -32,7 +32,11 @@ import {
|
|
|
32
32
|
generateViewRevisionRoute,
|
|
33
33
|
generateViewProjectRoute,
|
|
34
34
|
} from '../LegendStudioRouter.js';
|
|
35
|
-
import
|
|
35
|
+
import {
|
|
36
|
+
type Entity,
|
|
37
|
+
type ProjectGAVCoordinates,
|
|
38
|
+
parseGAVCoordinates,
|
|
39
|
+
} from '@finos/legend-storage';
|
|
36
40
|
import {
|
|
37
41
|
ProjectConfiguration,
|
|
38
42
|
Revision,
|
|
@@ -42,11 +46,7 @@ import {
|
|
|
42
46
|
} from '@finos/legend-server-sdlc';
|
|
43
47
|
import { LEGEND_STUDIO_APP_EVENT } from '../LegendStudioAppEvent.js';
|
|
44
48
|
import { TAB_SIZE } from '@finos/legend-application';
|
|
45
|
-
import {
|
|
46
|
-
type ProjectGAVCoordinates,
|
|
47
|
-
parseGAVCoordinates,
|
|
48
|
-
ProjectData,
|
|
49
|
-
} from '@finos/legend-server-depot';
|
|
49
|
+
import { ProjectData } from '@finos/legend-server-depot';
|
|
50
50
|
import {
|
|
51
51
|
type WorkflowManagerState,
|
|
52
52
|
ProjectVersionWorkflowManagerState,
|
|
File without changes
|
|
@@ -30,7 +30,10 @@ import {
|
|
|
30
30
|
DATE_FORMAT,
|
|
31
31
|
DATE_TIME_FORMAT,
|
|
32
32
|
} from '@finos/legend-graph';
|
|
33
|
-
import {
|
|
33
|
+
import {
|
|
34
|
+
CLASS_PROPERTY_TYPE,
|
|
35
|
+
getClassPropertyType,
|
|
36
|
+
} from './ModelClassifierUtils.js';
|
|
34
37
|
import type { MappingElementSource } from '../editor-state/element-editor-state/mapping/MappingEditorState.js';
|
|
35
38
|
|
|
36
39
|
export const createMockPrimitiveProperty = (
|
|
File without changes
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { isNonNullable, addUniqueEntry } from '@finos/legend-shared';
|
|
18
|
-
import type { PackageTreeNodeData } from './
|
|
18
|
+
import type { PackageTreeNodeData } from './TreeUtils.js';
|
|
19
19
|
import type { TreeNodeData, TreeData } from '@finos/legend-art';
|
|
20
20
|
import type { EditorStore } from '../EditorStore.js';
|
|
21
|
-
import { CORE_DND_TYPE } from './
|
|
21
|
+
import { CORE_DND_TYPE } from './DnDUtils.js';
|
|
22
22
|
import type { DSL_LegendStudioApplicationPlugin_Extension } from '../LegendStudioApplicationPlugin.js';
|
|
23
23
|
import {
|
|
24
24
|
type PackageableElement,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from '@finos/legend-shared';
|
|
48
48
|
import { EmbeddedDataType } from '../../editor-state/ExternalFormatState.js';
|
|
49
49
|
import type { EditorStore } from '../../EditorStore.js';
|
|
50
|
-
import { createMockDataForMappingElementSource } from '../
|
|
50
|
+
import { createMockDataForMappingElementSource } from '../MockDataUtils.js';
|
|
51
51
|
|
|
52
52
|
export const createBareExternalFormat = (
|
|
53
53
|
contentType?: string | undefined,
|