From 7cd98b83ad638c6da6df5fa80fc83493d6b56f3c Mon Sep 17 00:00:00 2001 From: Valentin Mihai Date: Fri, 22 Jul 2022 16:24:54 +0300 Subject: [PATCH] RED-3686 - updated interfaces names --- .../file-preview/components/comments/comments.component.ts | 4 ++-- .../components/page-indicator/page-indicator.component.ts | 4 ++-- libs/common-ui | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/red-ui/src/app/modules/file-preview/components/comments/comments.component.ts b/apps/red-ui/src/app/modules/file-preview/components/comments/comments.component.ts index 042813839..0e05e8124 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/comments/comments.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/comments/comments.component.ts @@ -10,7 +10,7 @@ import { tap } from 'rxjs/operators'; import { FilePreviewStateService } from '../../services/file-preview-state.service'; import { ManualRedactionService } from '../../services/manual-redaction.service'; -interface CommentsTemplate { +interface CommentsContext { dossier: Dossier; file: File; hiddenComments: boolean; @@ -22,7 +22,7 @@ interface CommentsTemplate { styleUrls: ['./comments.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) -export class CommentsComponent extends ContextComponent implements OnInit { +export class CommentsComponent extends ContextComponent implements OnInit { @Input() annotation: AnnotationWrapper; readonly trackBy = trackByFactory(); readonly file$: Observable; diff --git a/apps/red-ui/src/app/modules/file-preview/components/page-indicator/page-indicator.component.ts b/apps/red-ui/src/app/modules/file-preview/components/page-indicator/page-indicator.component.ts index 1dd17ef59..12f71c175 100644 --- a/apps/red-ui/src/app/modules/file-preview/components/page-indicator/page-indicator.component.ts +++ b/apps/red-ui/src/app/modules/file-preview/components/page-indicator/page-indicator.component.ts @@ -9,7 +9,7 @@ import { PageRotationService } from '../../../pdf-viewer/services/page-rotation. import { ContextComponent } from '@iqser/common-ui'; import { tap } from 'rxjs/operators'; -interface PageIndicatorTemplate { +interface PageIndicatorContext { isRotated: boolean; } @@ -19,7 +19,7 @@ interface PageIndicatorTemplate { styleUrls: ['./page-indicator.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) -export class PageIndicatorComponent extends ContextComponent implements OnChanges, OnInit { +export class PageIndicatorComponent extends ContextComponent implements OnChanges, OnInit { @Input() active = false; @Input() showDottedIcon = false; @Input() number: number; diff --git a/libs/common-ui b/libs/common-ui index 49e780699..767837c0d 160000 --- a/libs/common-ui +++ b/libs/common-ui @@ -1 +1 @@ -Subproject commit 49e78069991c619bb2488b3b945a08a6aabafb93 +Subproject commit 767837c0deb93c475afe30150b3c169726168277