RED-3686 - updated interfaces names
This commit is contained in:
parent
2d518ead35
commit
7cd98b83ad
@ -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<CommentsTemplate> implements OnInit {
|
||||
export class CommentsComponent extends ContextComponent<CommentsContext> implements OnInit {
|
||||
@Input() annotation: AnnotationWrapper;
|
||||
readonly trackBy = trackByFactory();
|
||||
readonly file$: Observable<File>;
|
||||
|
||||
@ -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<PageIndicatorTemplate> implements OnChanges, OnInit {
|
||||
export class PageIndicatorComponent extends ContextComponent<PageIndicatorContext> implements OnChanges, OnInit {
|
||||
@Input() active = false;
|
||||
@Input() showDottedIcon = false;
|
||||
@Input() number: number;
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 49e78069991c619bb2488b3b945a08a6aabafb93
|
||||
Subproject commit 767837c0deb93c475afe30150b3c169726168277
|
||||
Loading…
x
Reference in New Issue
Block a user