@hmcts/media-viewer
Version:
34 lines • 1.49 kB
TypeScript
import { ElementRef, OnInit, OnDestroy, AfterViewInit } from '@angular/core';
import { ToolbarButtonVisibilityService } from '../toolbar-button-visibility.service';
import { ToolbarEventService } from '../toolbar-event.service';
import * as i0 from "@angular/core";
export declare class SearchBarComponent implements OnInit, OnDestroy, AfterViewInit {
readonly toolbarButtons: ToolbarButtonVisibilityService;
readonly toolbarEvents: ToolbarEventService;
findInput: ElementRef<HTMLInputElement>;
findNext: ElementRef<HTMLAnchorElement>;
highlightAll: boolean;
matchCase: boolean;
wholeWord: boolean;
resultsText: string;
searchText: string;
resultCount: number;
private subscriptions;
advancedSearchVisible: boolean;
constructor(toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService);
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnDestroy(): void;
onWindowKeyDown(e: KeyboardEvent): void;
searchNext(): void;
searchPrev(): void;
search(): void;
private setSearchResultsCount;
onEscapeKeyPress(e: KeyboardEvent): void;
onEnterKeyPress(e: KeyboardEvent): void;
toggleAdvancedSearch(): void;
toggleSearchBar(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "mv-search-bar", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=search-bar.component.d.ts.map