67611: Refactored import button to separate component within object-collection + moved calling of import modal to external-source tab

This commit is contained in:
Kristof De Langhe
2019-12-05 14:06:29 +01:00
parent 6ada3fae5b
commit 7a904f9bf7
13 changed files with 223 additions and 46 deletions

View File

@@ -176,6 +176,7 @@ import { MetadataRepresentationListComponent } from '../+item-page/simple/metada
import { SelectableListItemControlComponent } from './object-collection/shared/selectable-list-item-control/selectable-list-item-control.component';
import { DsDynamicLookupRelationExternalSourceTabComponent } from './form/builder/ds-dynamic-form-ui/relation-lookup-modal/external-source-tab/dynamic-lookup-relation-external-source-tab.component';
import { ExternalSourceEntryImportModalComponent } from './form/builder/ds-dynamic-form-ui/relation-lookup-modal/external-source-tab/external-source-entry-import-modal/external-source-entry-import-modal.component';
import { ImportableListItemControlComponent } from './object-collection/shared/importable-list-item-control/importable-list-item-control.component';
const MODULES = [
// Do NOT include UniversalModule, HttpModule, or JsonpModule here
@@ -333,7 +334,8 @@ const COMPONENTS = [
CollectionSelectComponent,
MetadataRepresentationLoaderComponent,
SelectableListItemControlComponent,
ExternalSourceEntryImportModalComponent
ExternalSourceEntryImportModalComponent,
ImportableListItemControlComponent
];
const ENTRY_COMPONENTS = [