@@ -18,11 +18,13 @@ import {
1818} from 'rxjs' ;
1919
2020import { DSONameService } from '../../../../../../../app/core/breadcrumbs/dso-name.service' ;
21+ import { AccessStatusDataService } from '../../../../../../../app/core/data/access-status-data.service' ;
2122import { BitstreamDataService } from '../../../../../../../app/core/data/bitstream-data.service' ;
2223import { PaginatedList } from '../../../../../../../app/core/data/paginated-list.model' ;
2324import { RemoteData } from '../../../../../../../app/core/data/remote-data' ;
2425import { PaginationService } from '../../../../../../../app/core/pagination/pagination.service' ;
2526import { Bitstream } from '../../../../../../../app/core/shared/bitstream.model' ;
27+ import { getFirstCompletedRemoteData } from '../../../../../../../app/core/shared/operators' ;
2628import { DownloadLinkService } from '../../../../../../../app/datashare/download-link.service' ;
2729import { FileSectionComponent as BaseComponent } from '../../../../../../../app/item-page/simple/field-components/file-section/file-section.component' ;
2830import { GenericItemPageFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/generic/generic-item-page-field.component' ;
@@ -34,18 +36,6 @@ import {
3436import { ThemedFileDownloadLinkComponent } from '../../../../../../../app/shared/file-download-link/themed-file-download-link.component' ;
3537import { ThemedLoadingComponent } from '../../../../../../../app/shared/loading/themed-loading.component' ;
3638import { MetadataFieldWrapperComponent } from '../../../../../../../app/shared/metadata-field-wrapper/metadata-field-wrapper.component' ;
37- import { FileSizePipe } from '../../../../../../../app/shared/utils/file-size-pipe' ;
38- import { VarDirective } from '../../../../../../../app/shared/utils/var.directive' ;
39- import { getFirstCompletedRemoteData } from '../../../../../../../app/core/shared/operators' ;
40- import { filter , map , Observable , switchMap , tap } from 'rxjs' ;
41- import { RemoteData } from '../../../../../../../app/core/data/remote-data' ;
42- import { PaginatedList } from '../../../../../../../app/core/data/paginated-list.model' ;
43- import { Bitstream } from '../../../../../../../app/core/shared/bitstream.model' ;
44- import { hasValue , isEmpty } from '../../../../../../../app/shared/empty.util' ;
45- import { PaginationComponentOptions } from '../../../../../../../app/shared/pagination/pagination-component-options.model' ;
46- import { followLink } from '../../../../../../../app/shared/utils/follow-link-config.model' ;
47- import { BitstreamDataService } from '../../../../../../../app/core/data/bitstream-data.service' ;
48- import { AccessStatusDataService } from '../../../../../../../app/core/data/access-status-data.service' ;
4939import { NotificationsService } from '../../../../../../../app/shared/notifications/notifications.service' ;
5040import { PaginationComponent } from '../../../../../../../app/shared/pagination/pagination.component' ;
5141import { PaginationComponentOptions } from '../../../../../../../app/shared/pagination/pagination-component-options.model' ;
0 commit comments