Skip to content

Commit

Permalink
Refactor formatting with eslint + prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
autavares-dev committed May 3, 2024
1 parent 6df7037 commit cec5892
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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
Expand All @@ -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 {}

0 comments on commit cec5892

Please sign in to comment.