@hmcts/media-viewer
Version:
34 lines • 1.88 kB
TypeScript
import { EventEmitter, ElementRef } from '@angular/core';
import { Annotation } from './annotation.model';
import { Rectangle } from './rectangle/rectangle.model';
import { Store } from '@ngrx/store';
import * as fromStore from '../../../store/reducers/reducers';
import { SelectionAnnotation } from '../../models/event-select.model';
import { ToolbarEventService } from '../../../toolbar/toolbar-event.service';
import * as i0 from "@angular/core";
export declare class AnnotationViewComponent {
private readonly toolbarEvents;
private store;
set annotation(value: any);
anno: Annotation;
selected: boolean;
zoom: number;
rotate: number;
set selectedAnnoId(selectedId: {
annotationId: string;
});
pageHeight: number;
pageWidth: number;
update: EventEmitter<Annotation>;
delete: EventEmitter<Annotation>;
annotationClick: EventEmitter<SelectionAnnotation>;
container: ElementRef;
constructor(toolbarEvents: ToolbarEventService, store: Store<fromStore.AnnotationSetState>);
onSelect(): void;
onRectangleUpdate(rectangle: Rectangle): void;
deleteHighlight(): void;
addOrEditComment(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<AnnotationViewComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<AnnotationViewComponent, "mv-annotation", never, { "annotation": { "alias": "annotation"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "selectedAnnoId": { "alias": "selectedAnnoId"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; }, { "update": "update"; "delete": "delete"; "annotationClick": "annotationClick"; }, never, never, false, never>;
}
//# sourceMappingURL=annotation-view.component.d.ts.map