mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Refactor formatting with eslint + prettier
This commit is contained in:
@@ -40,8 +40,26 @@ import { ItemComponent } from '../shared/item.component';
|
||||
templateUrl: './untyped-item.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: true,
|
||||
imports: [NgIf, ThemedResultsBackButtonComponent, MiradorViewerComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, ThemedMediaViewerComponent, ThemedFileSectionComponent, ItemPageDateFieldComponent, ThemedMetadataRepresentationListComponent, GenericItemPageFieldComponent, ItemPageAbstractFieldComponent, ItemPageUriFieldComponent, CollectionsComponent, RouterLink, AsyncPipe, TranslateModule, ItemPageCcLicenseFieldComponent],
|
||||
imports: [
|
||||
NgIf,
|
||||
ThemedResultsBackButtonComponent,
|
||||
MiradorViewerComponent,
|
||||
ThemedItemPageTitleFieldComponent,
|
||||
DsoEditMenuComponent,
|
||||
MetadataFieldWrapperComponent,
|
||||
ThemedThumbnailComponent,
|
||||
ThemedMediaViewerComponent,
|
||||
ThemedFileSectionComponent,
|
||||
ItemPageDateFieldComponent,
|
||||
ThemedMetadataRepresentationListComponent,
|
||||
GenericItemPageFieldComponent,
|
||||
ItemPageAbstractFieldComponent,
|
||||
ItemPageUriFieldComponent,
|
||||
CollectionsComponent,
|
||||
RouterLink,
|
||||
AsyncPipe,
|
||||
TranslateModule,
|
||||
ItemPageCcLicenseFieldComponent,
|
||||
],
|
||||
})
|
||||
export class UntypedItemComponent extends ItemComponent {
|
||||
|
||||
}
|
||||
export class UntypedItemComponent extends ItemComponent {}
|
||||
|
@@ -17,6 +17,7 @@ import { ThemedMediaViewerComponent } from '../../../../../../../app/item-page/m
|
||||
import { MiradorViewerComponent } from '../../../../../../../app/item-page/mirador-viewer/mirador-viewer.component';
|
||||
import { ThemedFileSectionComponent } from '../../../../../../../app/item-page/simple/field-components/file-section/themed-file-section.component';
|
||||
import { ItemPageAbstractFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/abstract/item-page-abstract-field.component';
|
||||
import { ItemPageCcLicenseFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component';
|
||||
import { ItemPageDateFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/date/item-page-date-field.component';
|
||||
import { GenericItemPageFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/generic/generic-item-page-field.component';
|
||||
import { ThemedItemPageTitleFieldComponent } from '../../../../../../../app/item-page/simple/field-components/specific-field/title/themed-item-page-field.component';
|
||||
@@ -28,7 +29,6 @@ import { MetadataFieldWrapperComponent } from '../../../../../../../app/shared/m
|
||||
import { listableObjectComponent } from '../../../../../../../app/shared/object-collection/shared/listable-object/listable-object.decorator';
|
||||
import { ThemedResultsBackButtonComponent } from '../../../../../../../app/shared/results-back-button/themed-results-back-button.component';
|
||||
import { ThemedThumbnailComponent } from '../../../../../../../app/thumbnail/themed-thumbnail.component';
|
||||
import { ItemPageCcLicenseFieldComponent } from 'src/app/item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component';
|
||||
|
||||
/**
|
||||
* Component that represents an untyped Item page
|
||||
@@ -37,12 +37,34 @@ import { ItemPageCcLicenseFieldComponent } from 'src/app/item-page/simple/field-
|
||||
@Component({
|
||||
selector: 'ds-untyped-item',
|
||||
// styleUrls: ['./untyped-item.component.scss'],
|
||||
styleUrls: ['../../../../../../../app/item-page/simple/item-types/untyped-item/untyped-item.component.scss'],
|
||||
styleUrls: [
|
||||
'../../../../../../../app/item-page/simple/item-types/untyped-item/untyped-item.component.scss',
|
||||
],
|
||||
// templateUrl: './untyped-item.component.html',
|
||||
templateUrl: '../../../../../../../app/item-page/simple/item-types/untyped-item/untyped-item.component.html',
|
||||
templateUrl:
|
||||
'../../../../../../../app/item-page/simple/item-types/untyped-item/untyped-item.component.html',
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
standalone: true,
|
||||
imports: [NgIf, ThemedResultsBackButtonComponent, MiradorViewerComponent, ThemedItemPageTitleFieldComponent, DsoEditMenuComponent, MetadataFieldWrapperComponent, ThemedThumbnailComponent, ThemedMediaViewerComponent, ThemedFileSectionComponent, ItemPageDateFieldComponent, ThemedMetadataRepresentationListComponent, GenericItemPageFieldComponent, ItemPageAbstractFieldComponent, ItemPageUriFieldComponent, CollectionsComponent, RouterLink, AsyncPipe, TranslateModule, ItemPageCcLicenseFieldComponent],
|
||||
imports: [
|
||||
NgIf,
|
||||
ThemedResultsBackButtonComponent,
|
||||
MiradorViewerComponent,
|
||||
ThemedItemPageTitleFieldComponent,
|
||||
DsoEditMenuComponent,
|
||||
MetadataFieldWrapperComponent,
|
||||
ThemedThumbnailComponent,
|
||||
ThemedMediaViewerComponent,
|
||||
ThemedFileSectionComponent,
|
||||
ItemPageDateFieldComponent,
|
||||
ThemedMetadataRepresentationListComponent,
|
||||
GenericItemPageFieldComponent,
|
||||
ItemPageAbstractFieldComponent,
|
||||
ItemPageUriFieldComponent,
|
||||
CollectionsComponent,
|
||||
RouterLink,
|
||||
AsyncPipe,
|
||||
TranslateModule,
|
||||
ItemPageCcLicenseFieldComponent,
|
||||
],
|
||||
})
|
||||
export class UntypedItemComponent extends BaseComponent {
|
||||
}
|
||||
export class UntypedItemComponent extends BaseComponent {}
|
||||
|
Reference in New Issue
Block a user