Skip to content

Commit ce8cdee

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-1817 Lint fix
1 parent 0cb455b commit ce8cdee

5 files changed

Lines changed: 30 additions & 20 deletions

File tree

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/cc-license-large/cc-license-large.component.spec.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { ComponentFixture, TestBed } from '@angular/core/testing';
1+
import {
2+
ComponentFixture,
3+
TestBed,
4+
} from '@angular/core/testing';
25

36
import { CcLicenseLargeComponent } from './cc-license-large.component';
47

@@ -8,10 +11,10 @@ describe('CcLicenseLargeComponent', () => {
811

912
beforeEach(async () => {
1013
await TestBed.configureTestingModule({
11-
imports: [CcLicenseLargeComponent]
14+
imports: [CcLicenseLargeComponent],
1215
})
13-
.compileComponents();
14-
16+
.compileComponents();
17+
1518
fixture = TestBed.createComponent(CcLicenseLargeComponent);
1619
component = fixture.componentInstance;
1720
fixture.detectChanges();

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/cc-license-large/cc-license-large.component.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
import { Component, Input } from '@angular/core';
21
import {
3-
ItemPageCcLicenseFieldComponent
4-
} from "../../../../../../../item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component";
5-
import {RenderingTypeValueModelComponent} from "../rendering-type-value.model";
2+
Component,
3+
Input,
4+
} from '@angular/core';
5+
6+
import { ItemPageCcLicenseFieldComponent } from '../../../../../../../item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component';
7+
import { RenderingTypeValueModelComponent } from '../rendering-type-value.model';
68

79
@Component({
810
selector: 'ds-cc-license-large',
911
standalone: true,
1012
imports: [ItemPageCcLicenseFieldComponent],
1113
templateUrl: './cc-license-large.component.html',
12-
styleUrl: './cc-license-large.component.scss'
14+
styleUrl: './cc-license-large.component.scss',
1315
})
1416
export class CcLicenseLargeComponent extends RenderingTypeValueModelComponent {
1517

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/cc-license-small/cc-license-small.component.spec.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { ComponentFixture, TestBed } from '@angular/core/testing';
1+
import {
2+
ComponentFixture,
3+
TestBed,
4+
} from '@angular/core/testing';
25

36
import { CcLicenseSmallComponent } from './cc-license-small.component';
47

@@ -8,10 +11,10 @@ describe('CcLicenseSmallComponent', () => {
811

912
beforeEach(async () => {
1013
await TestBed.configureTestingModule({
11-
imports: [CcLicenseSmallComponent]
14+
imports: [CcLicenseSmallComponent],
1215
})
13-
.compileComponents();
14-
16+
.compileComponents();
17+
1518
fixture = TestBed.createComponent(CcLicenseSmallComponent);
1619
component = fixture.componentInstance;
1720
fixture.detectChanges();

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/cc-license-small/cc-license-small.component.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
import {Component, Input} from '@angular/core';
21
import {
3-
ItemPageCcLicenseFieldComponent
4-
} from "../../../../../../../item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component";
5-
import {RenderingTypeValueModelComponent} from "../rendering-type-value.model";
2+
Component,
3+
Input,
4+
} from '@angular/core';
5+
6+
import { ItemPageCcLicenseFieldComponent } from '../../../../../../../item-page/simple/field-components/specific-field/cc-license/item-page-cc-license-field.component';
7+
import { RenderingTypeValueModelComponent } from '../rendering-type-value.model';
68

79
@Component({
810
selector: 'ds-cc-license-small',
911
standalone: true,
1012
imports: [ItemPageCcLicenseFieldComponent],
1113
templateUrl: './cc-license-small.component.html',
12-
styleUrl: './cc-license-small.component.scss'
14+
styleUrl: './cc-license-small.component.scss',
1315
})
1416
export class CcLicenseSmallComponent extends RenderingTypeValueModelComponent {
1517

src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/metadata-box-rendering-map.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { AdvancedAttachmentComponent } from './advanced-attachment/advanced-attachment.component';
22
import { AttachmentComponent } from './attachment/attachment.component';
3+
import { CcLicenseLargeComponent } from './cc-license-large/cc-license-large.component';
4+
import { CcLicenseSmallComponent } from './cc-license-small/cc-license-small.component';
35
import { CrisrefComponent } from './crisref/crisref.component';
46
import { DateComponent } from './date/date.component';
57
import { FieldRenderingType } from './field-rendering-type';
@@ -18,8 +20,6 @@ import { TagComponent } from './tag/tag.component';
1820
import { TextComponent } from './text/text.component';
1921
import { ThumbnailRenderingComponent } from './thumbnail/thumbnail.component';
2022
import { ValuepairComponent } from './valuepair/valuepair.component';
21-
import {CcLicenseLargeComponent} from "./cc-license-large/cc-license-large.component";
22-
import {CcLicenseSmallComponent} from "./cc-license-small/cc-license-small.component";
2323

2424
export const layoutBoxesMap = new Map<FieldRenderingType, MetadataBoxFieldRenderOptions>([
2525
[FieldRenderingType.TEXT, { componentRef: TextComponent, structured: false } as MetadataBoxFieldRenderOptions],

0 commit comments

Comments
 (0)