mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
added error component and coverage for new components
This commit is contained in:
@@ -9,25 +9,26 @@ import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
import { NgxPaginationModule } from 'ngx-pagination';
|
||||
|
||||
import { PaginationComponent } from './pagination/pagination.component';
|
||||
import { EnumKeysPipe } from './utils/enum-keys-pipe';
|
||||
import { FileSizePipe } from './utils/file-size-pipe';
|
||||
import { ThumbnailComponent } from '../thumbnail/thumbnail.component';
|
||||
import { SafeUrlPipe } from './utils/safe-url-pipe';
|
||||
import { TruncatePipe } from './utils/truncate.pipe';
|
||||
|
||||
import { CollectionListElementComponent } from '../object-list/collection-list-element/collection-list-element.component';
|
||||
import { ComcolPageContentComponent } from './comcol-page-content/comcol-page-content.component';
|
||||
import { ComcolPageHeaderComponent } from './comcol-page-header/comcol-page-header.component';
|
||||
import { ComcolPageLogoComponent } from './comcol-page-logo/comcol-page-logo.component';
|
||||
import { EnumKeysPipe } from './utils/enum-keys-pipe';
|
||||
import { CommunityListElementComponent } from '../object-list/community-list-element/community-list-element.component';
|
||||
import { ErrorComponent } from './error/error.component';
|
||||
import { LoadingComponent } from './loading/loading.component';
|
||||
import { ItemListElementComponent } from '../object-list/item-list-element/item-list-element.component';
|
||||
import { ObjectListComponent } from './object-list/object-list.component';
|
||||
import { ObjectListElementComponent } from '../object-list/object-list-element/object-list-element.component';
|
||||
import { ItemListElementComponent } from '../object-list/item-list-element/item-list-element.component';
|
||||
import { CommunityListElementComponent } from '../object-list/community-list-element/community-list-element.component';
|
||||
import { CollectionListElementComponent } from '../object-list/collection-list-element/collection-list-element.component';
|
||||
import { TruncatePipe } from './utils/truncate.pipe';
|
||||
import { WrapperListElementComponent } from '../object-list/wrapper-list-element/wrapper-list-element.component';
|
||||
import { PaginationComponent } from './pagination/pagination.component';
|
||||
import { ThumbnailComponent } from '../thumbnail/thumbnail.component';
|
||||
import { SearchResultListElementComponent } from '../object-list/search-result-list-element/search-result-list-element.component';
|
||||
import { SearchFormComponent } from './search-form/search-form.component';
|
||||
import { LoadingComponent } from './loading/loading.component';
|
||||
import { WrapperListElementComponent } from '../object-list/wrapper-list-element/wrapper-list-element.component';
|
||||
|
||||
const MODULES = [
|
||||
// Do NOT include UniversalModule, HttpModule, or JsonpModule here
|
||||
@@ -42,31 +43,32 @@ const MODULES = [
|
||||
|
||||
const PIPES = [
|
||||
// put shared pipes here
|
||||
EnumKeysPipe,
|
||||
FileSizePipe,
|
||||
SafeUrlPipe,
|
||||
EnumKeysPipe,
|
||||
TruncatePipe
|
||||
];
|
||||
|
||||
const COMPONENTS = [
|
||||
// put shared components here
|
||||
PaginationComponent,
|
||||
ThumbnailComponent,
|
||||
ComcolPageContentComponent,
|
||||
ComcolPageHeaderComponent,
|
||||
ComcolPageLogoComponent,
|
||||
ErrorComponent,
|
||||
LoadingComponent,
|
||||
ObjectListComponent,
|
||||
ObjectListElementComponent,
|
||||
WrapperListElementComponent,
|
||||
PaginationComponent,
|
||||
SearchFormComponent,
|
||||
LoadingComponent
|
||||
ThumbnailComponent,
|
||||
WrapperListElementComponent
|
||||
];
|
||||
|
||||
const ENTRY_COMPONENTS = [
|
||||
// put shared entry components (components that are created dynamically) here
|
||||
ItemListElementComponent,
|
||||
CollectionListElementComponent,
|
||||
CommunityListElementComponent,
|
||||
ItemListElementComponent,
|
||||
SearchResultListElementComponent
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user