71712: confirmation modal for export + tests &

- request causing error because of issue #756, commented out for now &
- drop event prevention in a HostListener like dragover event
This commit is contained in:
Marie Verdonck
2020-07-27 18:17:37 +02:00
parent 66cdf9dd18
commit 3e0f4a54e6
9 changed files with 228 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ import { MissingTranslationHandler, TranslateModule } from '@ngx-translate/core'
import { NgxPaginationModule } from 'ngx-pagination';
import { ComcolRoleComponent } from './comcol-forms/edit-comcol-page/comcol-role/comcol-role.component';
import { ConfirmationModalComponent } from './confirmation-modal/confirmation-modal.component';
import { ExportMetadataSelectorComponent } from './dso-selector/modal-wrappers/export-metadata-selector/export-metadata-selector.component';
import { FileDropzoneNoUploaderComponent } from './file-dropzone-no-uploader/file-dropzone-no-uploader.component';
import { PublicationListElementComponent } from './object-list/item-list-element/item-types/publication/publication-list-element.component';
@@ -401,7 +402,8 @@ const COMPONENTS = [
GroupSearchBoxComponent,
FileDownloadLinkComponent,
CollectionDropdownComponent,
ExportMetadataSelectorComponent
ExportMetadataSelectorComponent,
ConfirmationModalComponent
];
const ENTRY_COMPONENTS = [
@@ -478,7 +480,8 @@ const ENTRY_COMPONENTS = [
ClaimedTaskActionsEditMetadataComponent,
FileDownloadLinkComponent,
CurationFormComponent,
ExportMetadataSelectorComponent
ExportMetadataSelectorComponent,
ConfirmationModalComponent
];
const SHARED_ITEM_PAGE_COMPONENTS = [