Skip to content

Commit dd7988d

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-1817 Added mapping for full and small rendering
1 parent 291d4ba commit dd7988d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import { TagComponent } from './tag/tag.component';
1818
import { TextComponent } from './text/text.component';
1919
import { ThumbnailRenderingComponent } from './thumbnail/thumbnail.component';
2020
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";
2123

2224
export const layoutBoxesMap = new Map<FieldRenderingType, MetadataBoxFieldRenderOptions>([
2325
[FieldRenderingType.TEXT, { componentRef: TextComponent, structured: false } as MetadataBoxFieldRenderOptions],
@@ -65,4 +67,12 @@ export const layoutBoxesMap = new Map<FieldRenderingType, MetadataBoxFieldRender
6567
componentRef: LonghtmlComponent,
6668
structured: false,
6769
} as MetadataBoxFieldRenderOptions],
70+
[FieldRenderingType.CCLICENSEFULL, {
71+
componentRef: CcLicenseLargeComponent,
72+
structured: false,
73+
} as MetadataBoxFieldRenderOptions],
74+
[FieldRenderingType.CCLICENSESMALL, {
75+
componentRef: CcLicenseSmallComponent,
76+
structured: false,
77+
} as MetadataBoxFieldRenderOptions],
6878
]);

0 commit comments

Comments
 (0)