UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

36 lines (35 loc) 1.23 kB
import { ElementRef, EventEmitter } from '@angular/core'; import { BasePickerResults } from '../base-picker-results/BasePickerResults'; import { NovoLabelService } from '../../../../services/novo-label-service'; export declare class EntityPickerResult { labels: NovoLabelService; match: any; term: any; constructor(labels: NovoLabelService); /** * @name escapeRegexp * @param queryToEscape * * @description This function captures the whole query string and replace it with the string that will be used to * match. */ escapeRegexp(queryToEscape: any): any; /** * @name highlight * @param match * @param query * * @description This function should return a <strong>-tag wrapped HTML string. */ highlight(match: any, query: any): any; getIconForResult(result?: any): string; renderTimestamp(date?: any): string; getNameForResult(result?: any): string; } export declare class EntityPickerResults extends BasePickerResults { labels: NovoLabelService; select: EventEmitter<any>; constructor(element: ElementRef, labels: NovoLabelService); getListElement(): any; selectMatch(event?: any, item?: any): boolean; }