mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Merge branch 'minor-themed-component-fixes_contribute-7.6' into minor-themed-component-fixes_contribute-main
# Conflicts: # src/app/entity-groups/journal-entities/item-list-elements/search-result-list-elements/journal-issue/journal-issue-search-result-list-element.component.html # src/app/entity-groups/journal-entities/item-list-elements/search-result-list-elements/journal-volume/journal-volume-search-result-list-element.component.html # src/app/entity-groups/journal-entities/item-list-elements/search-result-list-elements/journal/journal-search-result-list-element.component.html # src/app/entity-groups/research-entities/item-list-elements/search-result-list-elements/org-unit/org-unit-search-result-list-element.component.html # src/app/entity-groups/research-entities/item-list-elements/search-result-list-elements/person/person-search-result-list-element.component.html # src/app/entity-groups/research-entities/item-list-elements/search-result-list-elements/project/project-search-result-list-element.component.html # src/app/entity-groups/research-entities/submission/item-list-elements/person/person-search-result-list-submission-element.component.html # src/app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.html # src/app/shared/object-list/sidebar-search-list-element/community/community-sidebar-search-list-element.component.ts
This commit is contained in:
@@ -3,12 +3,12 @@
|
|||||||
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
||||||
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out">
|
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="linkType === linkTypes.None" class="lead item-list-title dont-break-out">
|
<span *ngIf="linkType === linkTypes.None" class="lead item-list-title dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
||||||
|
@@ -26,7 +26,7 @@ import { TruncatableComponent } from '../../../../../shared/truncatable/truncata
|
|||||||
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
||||||
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
import { JournalIssueSearchResultListElementComponent } from './journal-issue-search-result-list-element.component';
|
import { JournalIssueSearchResultListElementComponent } from './journal-issue-search-result-list-element.component';
|
||||||
|
|
||||||
let journalIssueListElementComponent: JournalIssueSearchResultListElementComponent;
|
let journalIssueListElementComponent: JournalIssueSearchResultListElementComponent;
|
||||||
@@ -108,7 +108,7 @@ describe('JournalIssueSearchResultListElementComponent', () => {
|
|||||||
}).overrideComponent(JournalIssueSearchResultListElementComponent, {
|
}).overrideComponent(JournalIssueSearchResultListElementComponent, {
|
||||||
add: { changeDetection: ChangeDetectionStrategy.Default } ,
|
add: { changeDetection: ChangeDetectionStrategy.Default } ,
|
||||||
remove: {
|
remove: {
|
||||||
imports: [ThumbnailComponent, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent],
|
imports: [ThemedThumbnailComponent, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent],
|
||||||
} },
|
} },
|
||||||
).compileComponents();
|
).compileComponents();
|
||||||
}));
|
}));
|
||||||
@@ -129,7 +129,7 @@ describe('JournalIssueSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should add thumbnail element', () => {
|
it('should add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeTruthy();
|
expect(thumbnailElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -215,7 +215,7 @@ describe('JournalIssueSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should not add thumbnail element', () => {
|
it('should not add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeFalsy();
|
expect(thumbnailElement).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -13,7 +13,7 @@ import { listableObjectComponent } from '../../../../../shared/object-collection
|
|||||||
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
||||||
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
||||||
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@listableObjectComponent('JournalIssueSearchResult', ViewMode.ListElement)
|
@listableObjectComponent('JournalIssueSearchResult', ViewMode.ListElement)
|
||||||
@Component({
|
@Component({
|
||||||
@@ -21,7 +21,7 @@ import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component
|
|||||||
styleUrls: ['./journal-issue-search-result-list-element.component.scss'],
|
styleUrls: ['./journal-issue-search-result-list-element.component.scss'],
|
||||||
templateUrl: './journal-issue-search-result-list-element.component.html',
|
templateUrl: './journal-issue-search-result-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, RouterLink, ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
imports: [NgIf, RouterLink, ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* The component for displaying a list element for an item search result of the type Journal Issue
|
* The component for displaying a list element for an item search result of the type Journal Issue
|
||||||
|
@@ -3,12 +3,12 @@
|
|||||||
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
||||||
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out">
|
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="linkType === linkTypes.None" class="lead item-list-title dont-break-out">
|
<span *ngIf="linkType === linkTypes.None" class="lead item-list-title dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
||||||
|
@@ -26,7 +26,7 @@ import { TruncatableComponent } from '../../../../../shared/truncatable/truncata
|
|||||||
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
||||||
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
import { JournalVolumeSearchResultListElementComponent } from './journal-volume-search-result-list-element.component';
|
import { JournalVolumeSearchResultListElementComponent } from './journal-volume-search-result-list-element.component';
|
||||||
|
|
||||||
let journalVolumeListElementComponent: JournalVolumeSearchResultListElementComponent;
|
let journalVolumeListElementComponent: JournalVolumeSearchResultListElementComponent;
|
||||||
@@ -103,7 +103,7 @@ describe('JournalVolumeSearchResultListElementComponent', () => {
|
|||||||
add: { changeDetection: ChangeDetectionStrategy.Default },
|
add: { changeDetection: ChangeDetectionStrategy.Default },
|
||||||
remove: {
|
remove: {
|
||||||
imports: [
|
imports: [
|
||||||
ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent,
|
ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
@@ -125,7 +125,7 @@ describe('JournalVolumeSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should add thumbnail element', () => {
|
it('should add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeTruthy();
|
expect(thumbnailElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -196,7 +196,7 @@ describe('JournalVolumeSearchResultListElementComponent', () => {
|
|||||||
add: { changeDetection: ChangeDetectionStrategy.Default },
|
add: { changeDetection: ChangeDetectionStrategy.Default },
|
||||||
remove: {
|
remove: {
|
||||||
imports: [
|
imports: [
|
||||||
ThumbnailComponent,
|
ThemedThumbnailComponent,
|
||||||
ThemedBadgesComponent,
|
ThemedBadgesComponent,
|
||||||
TruncatableComponent,
|
TruncatableComponent,
|
||||||
TruncatablePartComponent,
|
TruncatablePartComponent,
|
||||||
@@ -217,7 +217,7 @@ describe('JournalVolumeSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should not add thumbnail element', () => {
|
it('should not add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeFalsy();
|
expect(thumbnailElement).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -13,7 +13,7 @@ import { listableObjectComponent } from '../../../../../shared/object-collection
|
|||||||
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
||||||
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
||||||
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@listableObjectComponent('JournalVolumeSearchResult', ViewMode.ListElement)
|
@listableObjectComponent('JournalVolumeSearchResult', ViewMode.ListElement)
|
||||||
@Component({
|
@Component({
|
||||||
@@ -21,7 +21,7 @@ import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component
|
|||||||
styleUrls: ['./journal-volume-search-result-list-element.component.scss'],
|
styleUrls: ['./journal-volume-search-result-list-element.component.scss'],
|
||||||
templateUrl: './journal-volume-search-result-list-element.component.html',
|
templateUrl: './journal-volume-search-result-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, RouterLink, ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
imports: [NgIf, RouterLink, ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* The component for displaying a list element for an item search result of the type Journal Volume
|
* The component for displaying a list element for an item search result of the type Journal Volume
|
||||||
|
@@ -2,12 +2,12 @@
|
|||||||
<div *ngIf="showThumbnails" class="col-3 col-md-2">
|
<div *ngIf="showThumbnails" class="col-3 col-md-2">
|
||||||
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
||||||
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out">
|
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="linkType === linkTypes.None" class="lead item-list-title dont-break-out">
|
<span *ngIf="linkType === linkTypes.None" class="lead item-list-title dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
||||||
|
@@ -26,7 +26,7 @@ import { TruncatableComponent } from '../../../../../shared/truncatable/truncata
|
|||||||
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
||||||
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
import { JournalSearchResultListElementComponent } from './journal-search-result-list-element.component';
|
import { JournalSearchResultListElementComponent } from './journal-search-result-list-element.component';
|
||||||
|
|
||||||
let journalListElementComponent: JournalSearchResultListElementComponent;
|
let journalListElementComponent: JournalSearchResultListElementComponent;
|
||||||
@@ -99,7 +99,7 @@ describe('JournalSearchResultListElementComponent', () => {
|
|||||||
add: { changeDetection: ChangeDetectionStrategy.Default },
|
add: { changeDetection: ChangeDetectionStrategy.Default },
|
||||||
remove: {
|
remove: {
|
||||||
imports: [
|
imports: [
|
||||||
ThumbnailComponent,
|
ThemedThumbnailComponent,
|
||||||
ThemedBadgesComponent,
|
ThemedBadgesComponent,
|
||||||
TruncatableComponent,
|
TruncatableComponent,
|
||||||
TruncatablePartComponent,
|
TruncatablePartComponent,
|
||||||
@@ -124,7 +124,7 @@ describe('JournalSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should add thumbnail element', () => {
|
it('should add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeTruthy();
|
expect(thumbnailElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -185,7 +185,7 @@ describe('JournalSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should not add thumbnail element', () => {
|
it('should not add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeFalsy();
|
expect(thumbnailElement).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -13,7 +13,7 @@ import { listableObjectComponent } from '../../../../../shared/object-collection
|
|||||||
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
||||||
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
||||||
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@listableObjectComponent('JournalSearchResult', ViewMode.ListElement)
|
@listableObjectComponent('JournalSearchResult', ViewMode.ListElement)
|
||||||
@Component({
|
@Component({
|
||||||
@@ -21,7 +21,7 @@ import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component
|
|||||||
styleUrls: ['./journal-search-result-list-element.component.scss'],
|
styleUrls: ['./journal-search-result-list-element.component.scss'],
|
||||||
templateUrl: './journal-search-result-list-element.component.html',
|
templateUrl: './journal-search-result-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, RouterLink, ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
imports: [NgIf, RouterLink, ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* The component for displaying a list element for an item search result of the type Journal
|
* The component for displaying a list element for an item search result of the type Journal
|
||||||
|
@@ -3,18 +3,18 @@
|
|||||||
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
||||||
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
[defaultImage]="'assets/images/orgunit-placeholder.svg'"
|
[defaultImage]="'assets/images/orgunit-placeholder.svg'"
|
||||||
[alt]="'thumbnail.orgunit.alt'"
|
[alt]="'thumbnail.orgunit.alt'"
|
||||||
[placeholder]="'thumbnail.orgunit.placeholder'">
|
[placeholder]="'thumbnail.orgunit.placeholder'">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
[defaultImage]="'assets/images/orgunit-placeholder.svg'"
|
[defaultImage]="'assets/images/orgunit-placeholder.svg'"
|
||||||
[alt]="'thumbnail.orgunit.alt'"
|
[alt]="'thumbnail.orgunit.alt'"
|
||||||
[placeholder]="'thumbnail.orgunit.placeholder'">
|
[placeholder]="'thumbnail.orgunit.placeholder'">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
||||||
|
@@ -124,7 +124,7 @@ describe('OrgUnitSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should add thumbnail element', () => {
|
it('should add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeTruthy();
|
expect(thumbnailElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -190,7 +190,7 @@ describe('OrgUnitSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should not add thumbnail element', () => {
|
it('should not add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeNull();
|
expect(thumbnailElement).toBeNull();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -13,7 +13,7 @@ import { listableObjectComponent } from '../../../../../shared/object-collection
|
|||||||
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
||||||
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
||||||
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@listableObjectComponent('OrgUnitSearchResult', ViewMode.ListElement)
|
@listableObjectComponent('OrgUnitSearchResult', ViewMode.ListElement)
|
||||||
@Component({
|
@Component({
|
||||||
@@ -21,7 +21,7 @@ import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component
|
|||||||
styleUrls: ['./org-unit-search-result-list-element.component.scss'],
|
styleUrls: ['./org-unit-search-result-list-element.component.scss'],
|
||||||
templateUrl: './org-unit-search-result-list-element.component.html',
|
templateUrl: './org-unit-search-result-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, RouterLink, ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, AsyncPipe, TranslateModule],
|
imports: [NgIf, RouterLink, ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, AsyncPipe, TranslateModule],
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* The component for displaying a list element for an item search result of the type Organisation Unit
|
* The component for displaying a list element for an item search result of the type Organisation Unit
|
||||||
|
@@ -3,18 +3,18 @@
|
|||||||
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
||||||
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
[defaultImage]="'assets/images/person-placeholder.svg'"
|
[defaultImage]="'assets/images/person-placeholder.svg'"
|
||||||
[alt]="'thumbnail.person.alt'"
|
[alt]="'thumbnail.person.alt'"
|
||||||
[placeholder]="'thumbnail.person.placeholder'">
|
[placeholder]="'thumbnail.person.placeholder'">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
[defaultImage]="'assets/images/person-placeholder.svg'"
|
[defaultImage]="'assets/images/person-placeholder.svg'"
|
||||||
[alt]="'thumbnail.person.alt'"
|
[alt]="'thumbnail.person.alt'"
|
||||||
[placeholder]="'thumbnail.person.placeholder'">
|
[placeholder]="'thumbnail.person.placeholder'">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9 col-md-10' : 'col-12'">
|
<div [ngClass]="showThumbnails ? 'col-9 col-md-10' : 'col-12'">
|
||||||
|
@@ -124,7 +124,7 @@ describe('PersonSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should add thumbnail element', () => {
|
it('should add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeTruthy();
|
expect(thumbnailElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -192,7 +192,7 @@ describe('PersonSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should not add thumbnail element', () => {
|
it('should not add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeFalsy();
|
expect(thumbnailElement).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -23,7 +23,7 @@ import { ItemSearchResultListElementComponent } from '../../../../../shared/obje
|
|||||||
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
||||||
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
||||||
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@listableObjectComponent('PersonSearchResult', ViewMode.ListElement)
|
@listableObjectComponent('PersonSearchResult', ViewMode.ListElement)
|
||||||
@Component({
|
@Component({
|
||||||
@@ -31,7 +31,7 @@ import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component
|
|||||||
styleUrls: ['./person-search-result-list-element.component.scss'],
|
styleUrls: ['./person-search-result-list-element.component.scss'],
|
||||||
templateUrl: './person-search-result-list-element.component.html',
|
templateUrl: './person-search-result-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, RouterLink, ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe, TranslateModule],
|
imports: [NgIf, RouterLink, ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe, TranslateModule],
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* The component for displaying a list element for an item search result of the type Person
|
* The component for displaying a list element for an item search result of the type Person
|
||||||
|
@@ -3,18 +3,18 @@
|
|||||||
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
||||||
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
[defaultImage]="'assets/images/project-placeholder.svg'"
|
[defaultImage]="'assets/images/project-placeholder.svg'"
|
||||||
[alt]="'thumbnail.project.alt'"
|
[alt]="'thumbnail.project.alt'"
|
||||||
[placeholder]="'thumbnail.project.placeholder'">
|
[placeholder]="'thumbnail.project.placeholder'">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
[defaultImage]="'assets/images/project-placeholder.svg'"
|
[defaultImage]="'assets/images/project-placeholder.svg'"
|
||||||
[alt]="'thumbnail.project.alt'"
|
[alt]="'thumbnail.project.alt'"
|
||||||
[placeholder]="'thumbnail.project.placeholder'">
|
[placeholder]="'thumbnail.project.placeholder'">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
||||||
|
@@ -24,7 +24,7 @@ import { ThemeService } from '../../../../../shared/theme-support/theme.service'
|
|||||||
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
||||||
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
||||||
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
import { TruncatePipe } from '../../../../../shared/utils/truncate.pipe';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
import { ProjectSearchResultListElementComponent } from './project-search-result-list-element.component';
|
import { ProjectSearchResultListElementComponent } from './project-search-result-list-element.component';
|
||||||
|
|
||||||
let projectListElementComponent: ProjectSearchResultListElementComponent;
|
let projectListElementComponent: ProjectSearchResultListElementComponent;
|
||||||
@@ -94,7 +94,7 @@ describe('ProjectSearchResultListElementComponent', () => {
|
|||||||
schemas: [NO_ERRORS_SCHEMA],
|
schemas: [NO_ERRORS_SCHEMA],
|
||||||
}).overrideComponent(ProjectSearchResultListElementComponent, {
|
}).overrideComponent(ProjectSearchResultListElementComponent, {
|
||||||
add: { changeDetection: ChangeDetectionStrategy.Default },
|
add: { changeDetection: ChangeDetectionStrategy.Default },
|
||||||
remove: { imports: [ThumbnailComponent, TruncatableComponent, ThemedBadgesComponent] },
|
remove: { imports: [ThemedThumbnailComponent, TruncatableComponent, ThemedBadgesComponent] },
|
||||||
}).compileComponents();
|
}).compileComponents();
|
||||||
}));
|
}));
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@ describe('ProjectSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should add thumbnail element', () => {
|
it('should add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeTruthy();
|
expect(thumbnailElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -175,7 +175,7 @@ describe('ProjectSearchResultListElementComponent', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should not add thumbnail element', () => {
|
it('should not add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeFalsy();
|
expect(thumbnailElement).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -11,7 +11,7 @@ import { ThemedBadgesComponent } from '../../../../../shared/object-collection/s
|
|||||||
import { listableObjectComponent } from '../../../../../shared/object-collection/shared/listable-object/listable-object.decorator';
|
import { listableObjectComponent } from '../../../../../shared/object-collection/shared/listable-object/listable-object.decorator';
|
||||||
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
import { ItemSearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
||||||
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../shared/truncatable/truncatable.component';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@listableObjectComponent('ProjectSearchResult', ViewMode.ListElement)
|
@listableObjectComponent('ProjectSearchResult', ViewMode.ListElement)
|
||||||
@Component({
|
@Component({
|
||||||
@@ -19,7 +19,7 @@ import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component
|
|||||||
styleUrls: ['./project-search-result-list-element.component.scss'],
|
styleUrls: ['./project-search-result-list-element.component.scss'],
|
||||||
templateUrl: './project-search-result-list-element.component.html',
|
templateUrl: './project-search-result-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, RouterLink, ThumbnailComponent, NgClass, TruncatableComponent, ThemedBadgesComponent, AsyncPipe],
|
imports: [NgIf, RouterLink, ThemedThumbnailComponent, NgClass, TruncatableComponent, ThemedBadgesComponent, AsyncPipe],
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* The component for displaying a list element for an item search result of the type Project
|
* The component for displaying a list element for an item search result of the type Project
|
||||||
|
@@ -2,18 +2,18 @@
|
|||||||
<div *ngIf="showThumbnails" class="col-3 col-md-2">
|
<div *ngIf="showThumbnails" class="col-3 col-md-2">
|
||||||
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
|
||||||
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" class="dont-break-out">
|
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
[defaultImage]="'assets/images/person-placeholder.svg'"
|
[defaultImage]="'assets/images/person-placeholder.svg'"
|
||||||
[alt]="'thumbnail.person.alt'"
|
[alt]="'thumbnail.person.alt'"
|
||||||
[placeholder]="'thumbnail.person.placeholder'">
|
[placeholder]="'thumbnail.person.placeholder'">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async"
|
||||||
[defaultImage]="'assets/images/person-placeholder.svg'"
|
[defaultImage]="'assets/images/person-placeholder.svg'"
|
||||||
[alt]="'thumbnail.person.alt'"
|
[alt]="'thumbnail.person.alt'"
|
||||||
[placeholder]="'thumbnail.person.placeholder'">
|
[placeholder]="'thumbnail.person.placeholder'">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
||||||
|
@@ -213,8 +213,8 @@ describe('PersonSearchResultListElementSubmissionComponent', () => {
|
|||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should add the ds-thumbnail element', () => {
|
it('should add the thumbnail element', () => {
|
||||||
const thumbnail = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnail = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnail).toBeTruthy();
|
expect(thumbnail).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -266,8 +266,8 @@ describe('PersonSearchResultListElementSubmissionComponent', () => {
|
|||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not add the ds-thumbnail element', () => {
|
it('should not add the thumbnail element', () => {
|
||||||
const thumbnail = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnail = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnail).toBeNull();
|
expect(thumbnail).toBeNull();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -29,7 +29,7 @@ import { listableObjectComponent } from '../../../../../shared/object-collection
|
|||||||
import { SearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/search-result-list-element.component';
|
import { SearchResultListElementComponent } from '../../../../../shared/object-list/search-result-list-element/search-result-list-element.component';
|
||||||
import { SelectableListService } from '../../../../../shared/object-list/selectable-list/selectable-list.service';
|
import { SelectableListService } from '../../../../../shared/object-list/selectable-list/selectable-list.service';
|
||||||
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
import { TruncatableService } from '../../../../../shared/truncatable/truncatable.service';
|
||||||
import { ThumbnailComponent } from '../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../thumbnail/themed-thumbnail.component';
|
||||||
import { NameVariantModalComponent } from '../../name-variant-modal/name-variant-modal.component';
|
import { NameVariantModalComponent } from '../../name-variant-modal/name-variant-modal.component';
|
||||||
import { PersonInputSuggestionsComponent } from './person-suggestions/person-input-suggestions.component';
|
import { PersonInputSuggestionsComponent } from './person-suggestions/person-input-suggestions.component';
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ import { PersonInputSuggestionsComponent } from './person-suggestions/person-inp
|
|||||||
styleUrls: ['./person-search-result-list-submission-element.component.scss'],
|
styleUrls: ['./person-search-result-list-submission-element.component.scss'],
|
||||||
templateUrl: './person-search-result-list-submission-element.component.html',
|
templateUrl: './person-search-result-list-submission-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, ThumbnailComponent, NgClass, PersonInputSuggestionsComponent, FormsModule, NgFor, AsyncPipe],
|
imports: [NgIf, ThemedThumbnailComponent, NgClass, PersonInputSuggestionsComponent, FormsModule, NgFor, AsyncPipe],
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -20,8 +20,8 @@
|
|||||||
[image]="(thumbnailsRD$ | async)?.payload?.page[0]?._links.content.href || thumbnailPlaceholder"
|
[image]="(thumbnailsRD$ | async)?.payload?.page[0]?._links.content.href || thumbnailPlaceholder"
|
||||||
[preview]="false"
|
[preview]="false"
|
||||||
></ds-themed-media-viewer-image>
|
></ds-themed-media-viewer-image>
|
||||||
<ds-thumbnail *ngIf="!(mediaOptions.image && mediaOptions.video)"
|
<ds-themed-thumbnail *ngIf="!(mediaOptions.image && mediaOptions.video)"
|
||||||
[thumbnail]="(thumbnailsRD$ | async)?.payload?.page[0]">
|
[thumbnail]="(thumbnailsRD$ | async)?.payload?.page[0]">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
@@ -34,7 +34,7 @@ import { hasValue } from '../../shared/empty.util';
|
|||||||
import { ThemedLoadingComponent } from '../../shared/loading/themed-loading.component';
|
import { ThemedLoadingComponent } from '../../shared/loading/themed-loading.component';
|
||||||
import { followLink } from '../../shared/utils/follow-link-config.model';
|
import { followLink } from '../../shared/utils/follow-link-config.model';
|
||||||
import { VarDirective } from '../../shared/utils/var.directive';
|
import { VarDirective } from '../../shared/utils/var.directive';
|
||||||
import { ThumbnailComponent } from '../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../thumbnail/themed-thumbnail.component';
|
||||||
import { ThemedMediaViewerImageComponent } from './media-viewer-image/themed-media-viewer-image.component';
|
import { ThemedMediaViewerImageComponent } from './media-viewer-image/themed-media-viewer-image.component';
|
||||||
import { ThemedMediaViewerVideoComponent } from './media-viewer-video/themed-media-viewer-video.component';
|
import { ThemedMediaViewerVideoComponent } from './media-viewer-video/themed-media-viewer-video.component';
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ import { ThemedMediaViewerVideoComponent } from './media-viewer-video/themed-med
|
|||||||
styleUrls: ['./media-viewer.component.scss'],
|
styleUrls: ['./media-viewer.component.scss'],
|
||||||
imports: [
|
imports: [
|
||||||
ThemedMediaViewerImageComponent,
|
ThemedMediaViewerImageComponent,
|
||||||
ThumbnailComponent,
|
ThemedThumbnailComponent,
|
||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
NgIf,
|
NgIf,
|
||||||
ThemedMediaViewerVideoComponent,
|
ThemedMediaViewerVideoComponent,
|
||||||
|
@@ -54,7 +54,7 @@ import {
|
|||||||
* Used to choose a dso from to export metadata of
|
* Used to choose a dso from to export metadata of
|
||||||
*/
|
*/
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-export-metadata-selector',
|
selector: 'ds-export-batch-selector',
|
||||||
templateUrl: '../dso-selector-modal-wrapper.component.html',
|
templateUrl: '../dso-selector-modal-wrapper.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
imports: [NgIf, DSOSelectorComponent, TranslateModule],
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div *ngIf="showThumbnails" class="col-3 col-md-2">
|
<div *ngIf="showThumbnails" class="col-3 col-md-2">
|
||||||
<ds-thumbnail [thumbnail]="item?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="item?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
||||||
<div *ngIf="item" @fadeInOut>
|
<div *ngIf="item" @fadeInOut>
|
||||||
|
@@ -17,7 +17,7 @@ import { of as observableOf } from 'rxjs';
|
|||||||
|
|
||||||
import { APP_CONFIG } from '../../../../../config/app-config.interface';
|
import { APP_CONFIG } from '../../../../../config/app-config.interface';
|
||||||
import { Item } from '../../../../core/shared/item.model';
|
import { Item } from '../../../../core/shared/item.model';
|
||||||
import { ThumbnailComponent } from '../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../thumbnail/themed-thumbnail.component';
|
||||||
import { TranslateLoaderMock } from '../../../mocks/translate-loader.mock';
|
import { TranslateLoaderMock } from '../../../mocks/translate-loader.mock';
|
||||||
import { ThemedBadgesComponent } from '../../../object-collection/shared/badges/themed-badges.component';
|
import { ThemedBadgesComponent } from '../../../object-collection/shared/badges/themed-badges.component';
|
||||||
import { ItemCollectionComponent } from '../../../object-collection/shared/mydspace-item-collection/item-collection.component';
|
import { ItemCollectionComponent } from '../../../object-collection/shared/mydspace-item-collection/item-collection.component';
|
||||||
@@ -116,7 +116,7 @@ describe('ItemListPreviewComponent', () => {
|
|||||||
add: { changeDetection: ChangeDetectionStrategy.Default },
|
add: { changeDetection: ChangeDetectionStrategy.Default },
|
||||||
remove: {
|
remove: {
|
||||||
imports: [
|
imports: [
|
||||||
ThumbnailComponent, ThemedBadgesComponent,
|
ThemedThumbnailComponent, ThemedBadgesComponent,
|
||||||
TruncatableComponent, TruncatablePartComponent,
|
TruncatableComponent, TruncatablePartComponent,
|
||||||
ItemSubmitterComponent, ItemCollectionComponent,
|
ItemSubmitterComponent, ItemCollectionComponent,
|
||||||
],
|
],
|
||||||
@@ -139,8 +139,8 @@ describe('ItemListPreviewComponent', () => {
|
|||||||
component.item = mockItemWithAuthorAndDate;
|
component.item = mockItemWithAuthorAndDate;
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
it('should add the ds-thumbnail element', () => {
|
it('should add the thumbnail element', () => {
|
||||||
const thumbnail = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnail = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnail).toBeTruthy();
|
expect(thumbnail).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -228,7 +228,7 @@ describe('ItemListPreviewComponent', () => {
|
|||||||
add: { changeDetection: ChangeDetectionStrategy.Default },
|
add: { changeDetection: ChangeDetectionStrategy.Default },
|
||||||
remove: {
|
remove: {
|
||||||
imports: [
|
imports: [
|
||||||
ThumbnailComponent, ThemedBadgesComponent,
|
ThemedThumbnailComponent, ThemedBadgesComponent,
|
||||||
TruncatableComponent, TruncatablePartComponent,
|
TruncatableComponent, TruncatablePartComponent,
|
||||||
ItemSubmitterComponent, ItemCollectionComponent,
|
ItemSubmitterComponent, ItemCollectionComponent,
|
||||||
],
|
],
|
||||||
@@ -250,8 +250,8 @@ describe('ItemListPreviewComponent', () => {
|
|||||||
component.item = mockItemWithAuthorAndDate;
|
component.item = mockItemWithAuthorAndDate;
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
it('should add the ds-thumbnail element', () => {
|
it('should add the thumbnail element', () => {
|
||||||
const thumbnail = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnail = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnail).toBeFalsy();
|
expect(thumbnail).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -20,7 +20,7 @@ import {
|
|||||||
} from '../../../../../config/app-config.interface';
|
} from '../../../../../config/app-config.interface';
|
||||||
import { DSONameService } from '../../../../core/breadcrumbs/dso-name.service';
|
import { DSONameService } from '../../../../core/breadcrumbs/dso-name.service';
|
||||||
import { Item } from '../../../../core/shared/item.model';
|
import { Item } from '../../../../core/shared/item.model';
|
||||||
import { ThumbnailComponent } from '../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../thumbnail/themed-thumbnail.component';
|
||||||
import { fadeInOut } from '../../../animations/fade';
|
import { fadeInOut } from '../../../animations/fade';
|
||||||
import { ThemedBadgesComponent } from '../../../object-collection/shared/badges/themed-badges.component';
|
import { ThemedBadgesComponent } from '../../../object-collection/shared/badges/themed-badges.component';
|
||||||
import { ItemCollectionComponent } from '../../../object-collection/shared/mydspace-item-collection/item-collection.component';
|
import { ItemCollectionComponent } from '../../../object-collection/shared/mydspace-item-collection/item-collection.component';
|
||||||
@@ -38,7 +38,7 @@ import { TruncatablePartComponent } from '../../../truncatable/truncatable-part/
|
|||||||
templateUrl: 'item-list-preview.component.html',
|
templateUrl: 'item-list-preview.component.html',
|
||||||
animations: [fadeInOut],
|
animations: [fadeInOut],
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, ItemSubmitterComponent, ItemCollectionComponent, AsyncPipe, TranslateModule],
|
imports: [NgIf, ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, ItemSubmitterComponent, ItemCollectionComponent, AsyncPipe, TranslateModule],
|
||||||
})
|
})
|
||||||
export class ItemListPreviewComponent implements OnInit {
|
export class ItemListPreviewComponent implements OnInit {
|
||||||
|
|
||||||
|
@@ -2,12 +2,12 @@
|
|||||||
<div *ngIf="showThumbnails" class="col-3 col-md-2">
|
<div *ngIf="showThumbnails" class="col-3 col-md-2">
|
||||||
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
<a *ngIf="linkType !== linkTypes.None" [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
|
||||||
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
[routerLink]="[itemPageRoute]" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</a>
|
</a>
|
||||||
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
<span *ngIf="linkType === linkTypes.None" class="dont-break-out">
|
||||||
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
<ds-themed-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
|
||||||
</ds-thumbnail>
|
</ds-themed-thumbnail>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
<div [ngClass]="showThumbnails ? 'col-9' : 'col-md-12'">
|
||||||
|
@@ -247,8 +247,8 @@ describe('ItemSearchResultListElementComponent', () => {
|
|||||||
expect(publicationListElementComponent.showThumbnails).toBeTrue();
|
expect(publicationListElementComponent.showThumbnails).toBeTrue();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should add ds-thumbnail element', () => {
|
it('should add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeTruthy();
|
expect(thumbnailElement).toBeTruthy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -428,8 +428,8 @@ describe('ItemSearchResultListElementComponent', () => {
|
|||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should not add ds-thumbnail element', () => {
|
it('should not add thumbnail element', () => {
|
||||||
const thumbnailElement = fixture.debugElement.query(By.css('ds-thumbnail'));
|
const thumbnailElement = fixture.debugElement.query(By.css('ds-themed-thumbnail'));
|
||||||
expect(thumbnailElement).toBeFalsy();
|
expect(thumbnailElement).toBeFalsy();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@@ -10,7 +10,7 @@ import { RouterLink } from '@angular/router';
|
|||||||
import { Item } from '../../../../../../core/shared/item.model';
|
import { Item } from '../../../../../../core/shared/item.model';
|
||||||
import { ViewMode } from '../../../../../../core/shared/view-mode.model';
|
import { ViewMode } from '../../../../../../core/shared/view-mode.model';
|
||||||
import { getItemPageRoute } from '../../../../../../item-page/item-page-routing-paths';
|
import { getItemPageRoute } from '../../../../../../item-page/item-page-routing-paths';
|
||||||
import { ThumbnailComponent } from '../../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../../thumbnail/themed-thumbnail.component';
|
||||||
import { ThemedBadgesComponent } from '../../../../../object-collection/shared/badges/themed-badges.component';
|
import { ThemedBadgesComponent } from '../../../../../object-collection/shared/badges/themed-badges.component';
|
||||||
import { ItemSearchResult } from '../../../../../object-collection/shared/item-search-result.model';
|
import { ItemSearchResult } from '../../../../../object-collection/shared/item-search-result.model';
|
||||||
import { listableObjectComponent } from '../../../../../object-collection/shared/listable-object/listable-object.decorator';
|
import { listableObjectComponent } from '../../../../../object-collection/shared/listable-object/listable-object.decorator';
|
||||||
@@ -25,7 +25,7 @@ import { SearchResultListElementComponent } from '../../../search-result-list-el
|
|||||||
styleUrls: ['./item-search-result-list-element.component.scss'],
|
styleUrls: ['./item-search-result-list-element.component.scss'],
|
||||||
templateUrl: './item-search-result-list-element.component.html',
|
templateUrl: './item-search-result-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, RouterLink, ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
imports: [NgIf, RouterLink, ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
||||||
})
|
})
|
||||||
/**
|
/**
|
||||||
* The component for displaying a list element for an item search result of the type Publication
|
* The component for displaying a list element for an item search result of the type Publication
|
||||||
|
@@ -17,7 +17,7 @@ import { SidebarSearchListElementComponent } from '../sidebar-search-list-elemen
|
|||||||
@listableObjectComponent(CommunitySearchResult, ViewMode.ListElement, Context.SideBarSearchModal)
|
@listableObjectComponent(CommunitySearchResult, ViewMode.ListElement, Context.SideBarSearchModal)
|
||||||
@listableObjectComponent(CommunitySearchResult, ViewMode.ListElement, Context.SideBarSearchModalCurrent)
|
@listableObjectComponent(CommunitySearchResult, ViewMode.ListElement, Context.SideBarSearchModalCurrent)
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-collection-sidebar-search-list-element',
|
selector: 'ds-community-sidebar-search-list-element',
|
||||||
templateUrl: '../sidebar-search-list-element.component.html',
|
templateUrl: '../sidebar-search-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
imports: [TruncatablePartComponent, NgClass, NgIf, AsyncPipe, TranslateModule],
|
||||||
|
@@ -10,7 +10,7 @@ import { ThemedMediaViewerImageComponent } from '../../../../../app/item-page/me
|
|||||||
import { ThemedMediaViewerVideoComponent } from '../../../../../app/item-page/media-viewer/media-viewer-video/themed-media-viewer-video.component';
|
import { ThemedMediaViewerVideoComponent } from '../../../../../app/item-page/media-viewer/media-viewer-video/themed-media-viewer-video.component';
|
||||||
import { ThemedLoadingComponent } from '../../../../../app/shared/loading/themed-loading.component';
|
import { ThemedLoadingComponent } from '../../../../../app/shared/loading/themed-loading.component';
|
||||||
import { VarDirective } from '../../../../../app/shared/utils/var.directive';
|
import { VarDirective } from '../../../../../app/shared/utils/var.directive';
|
||||||
import { ThumbnailComponent } from '../../../../../app/thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../app/thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-media-viewer',
|
selector: 'ds-media-viewer',
|
||||||
@@ -21,7 +21,7 @@ import { ThumbnailComponent } from '../../../../../app/thumbnail/thumbnail.compo
|
|||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [
|
imports: [
|
||||||
ThemedMediaViewerImageComponent,
|
ThemedMediaViewerImageComponent,
|
||||||
ThumbnailComponent,
|
ThemedThumbnailComponent,
|
||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
NgIf,
|
NgIf,
|
||||||
ThemedMediaViewerVideoComponent,
|
ThemedMediaViewerVideoComponent,
|
||||||
|
@@ -14,7 +14,7 @@ import { ItemSubmitterComponent } from '../../../../../../../app/shared/object-c
|
|||||||
import { ItemListPreviewComponent as BaseComponent } from '../../../../../../../app/shared/object-list/my-dspace-result-list-element/item-list-preview/item-list-preview.component';
|
import { ItemListPreviewComponent as BaseComponent } from '../../../../../../../app/shared/object-list/my-dspace-result-list-element/item-list-preview/item-list-preview.component';
|
||||||
import { TruncatableComponent } from '../../../../../../../app/shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../../../app/shared/truncatable/truncatable.component';
|
||||||
import { TruncatablePartComponent } from '../../../../../../../app/shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../../../app/shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { ThumbnailComponent } from '../../../../../../../app/thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ds-item-list-preview',
|
selector: 'ds-item-list-preview',
|
||||||
@@ -32,7 +32,7 @@ import { ThumbnailComponent } from '../../../../../../../app/thumbnail/thumbnail
|
|||||||
NgFor,
|
NgFor,
|
||||||
NgIf,
|
NgIf,
|
||||||
ThemedBadgesComponent,
|
ThemedBadgesComponent,
|
||||||
ThumbnailComponent,
|
ThemedThumbnailComponent,
|
||||||
TranslateModule,
|
TranslateModule,
|
||||||
TruncatableComponent,
|
TruncatableComponent,
|
||||||
TruncatablePartComponent,
|
TruncatablePartComponent,
|
||||||
|
@@ -15,7 +15,7 @@ import { listableObjectComponent } from '../../../../../../../../../app/shared/o
|
|||||||
import { ItemSearchResultListElementComponent as BaseComponent } from '../../../../../../../../../app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
import { ItemSearchResultListElementComponent as BaseComponent } from '../../../../../../../../../app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component';
|
||||||
import { TruncatableComponent } from '../../../../../../../../../app/shared/truncatable/truncatable.component';
|
import { TruncatableComponent } from '../../../../../../../../../app/shared/truncatable/truncatable.component';
|
||||||
import { TruncatablePartComponent } from '../../../../../../../../../app/shared/truncatable/truncatable-part/truncatable-part.component';
|
import { TruncatablePartComponent } from '../../../../../../../../../app/shared/truncatable/truncatable-part/truncatable-part.component';
|
||||||
import { ThumbnailComponent } from '../../../../../../thumbnail/thumbnail.component';
|
import { ThemedThumbnailComponent } from '../../../../../../../../../app/thumbnail/themed-thumbnail.component';
|
||||||
|
|
||||||
@listableObjectComponent('PublicationSearchResult', ViewMode.ListElement, Context.Any, 'custom')
|
@listableObjectComponent('PublicationSearchResult', ViewMode.ListElement, Context.Any, 'custom')
|
||||||
@listableObjectComponent(ItemSearchResult, ViewMode.ListElement, Context.Any, 'custom')
|
@listableObjectComponent(ItemSearchResult, ViewMode.ListElement, Context.Any, 'custom')
|
||||||
@@ -26,7 +26,7 @@ import { ThumbnailComponent } from '../../../../../../thumbnail/thumbnail.compon
|
|||||||
// templateUrl: './item-search-result-list-element.component.html',
|
// templateUrl: './item-search-result-list-element.component.html',
|
||||||
templateUrl: '../../../../../../../../../app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.html',
|
templateUrl: '../../../../../../../../../app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.html',
|
||||||
standalone: true,
|
standalone: true,
|
||||||
imports: [NgIf, RouterLink, ThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
imports: [NgIf, RouterLink, ThemedThumbnailComponent, NgClass, ThemedBadgesComponent, TruncatableComponent, TruncatablePartComponent, NgFor, AsyncPipe],
|
||||||
|
|
||||||
})
|
})
|
||||||
export class ItemSearchResultListElementComponent extends BaseComponent {
|
export class ItemSearchResultListElementComponent extends BaseComponent {
|
||||||
|
Reference in New Issue
Block a user