UNPKG

@hmcts/media-viewer

Version:
27 lines 1.62 kB
import { OnInit } from '@angular/core'; import { Annotation } from './annotation-view/annotation.model'; import { Observable } from 'rxjs'; import { SelectionAnnotation } from '../models/event-select.model'; import { CommentService } from '../comment-set/comment/comment.service'; import { Store } from '@ngrx/store'; import * as fromStore from '../../store/reducers/reducers'; import * as i0 from "@angular/core"; export declare class AnnotationSetComponent implements OnInit { private store; private readonly commentService; page: number; annotations: Annotation[]; zoom: number; rotate: number; pageHeight: number; pageWidth: number; selectedAnnotation$: Observable<SelectionAnnotation>; constructor(store: Store<fromStore.AnnotationSetState>, commentService: CommentService); ngOnInit(): void; onAnnotationUpdate(annotation: Annotation): void; onAnnotationDelete(annotation: Annotation): void; selectAnnotation(selectedAnnotation: SelectionAnnotation): void; static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationSetComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationSetComponent, "mv-annotation-set", never, { "page": { "alias": "page"; "required": false; }; "annotations": { "alias": "annotations"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; }, {}, never, never, false, never>; } //# sourceMappingURL=annotation-set.component.d.ts.map