@hmcts/media-viewer
Version:
21 lines • 1.09 kB
TypeScript
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
import { Annotation } from '../../../annotation-set/annotation-view/annotation.model';
import { Store } from '@ngrx/store';
import * as fromStore from '../../../../store/reducers/reducers';
import * as i0 from "@angular/core";
export declare class CommentSearchComponent implements AfterViewInit, OnDestroy {
private store;
readonly annotations: Annotation[];
searchInput: ElementRef<HTMLInputElement>;
searchString: string;
searchResults: Annotation[];
searchIndex: number;
constructor(store: Store<fromStore.AnnotationSetState>);
ngAfterViewInit(): void;
ngOnDestroy(): void;
searchComments(searchText: string): void;
clearSearch(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<CommentSearchComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CommentSearchComponent, "mv-comment-search", never, { "annotations": { "alias": "annotations"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=comment-search.component.d.ts.map