mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
18 lines
1.0 KiB
TypeScript
18 lines
1.0 KiB
TypeScript
import { Component } from '@angular/core';
|
|
import { SearchResultListElementComponent } from '../search-result-list-element.component';
|
|
import { Collection } from '../../../../core/shared/collection.model';
|
|
import { CollectionSearchResult } from '../../../object-collection/shared/collection-search-result.model';
|
|
import { ViewMode } from '../../../../core/shared/view-mode.model';
|
|
import { listableObjectComponent } from '../../../object-collection/shared/listable-object/listable-object.decorator';
|
|
|
|
@Component({
|
|
selector: 'ds-collection-search-result-list-element',
|
|
styleUrls: ['../search-result-list-element.component.scss', 'collection-search-result-list-element.component.scss'],
|
|
templateUrl: 'collection-search-result-list-element.component.html'
|
|
})
|
|
/**
|
|
* Component representing a collection search result in list view
|
|
*/
|
|
@listableObjectComponent(CollectionSearchResult, ViewMode.ListElement)
|
|
export class CollectionSearchResultListElementComponent extends SearchResultListElementComponent<CollectionSearchResult, Collection> {}
|