UNPKG

@neocomplexx/ngx-neo-completer-mat

Version:
17 lines (16 loc) 884 B
import { Observable } from 'rxjs'; import { LocalData } from './local-data'; import { RemoteData } from './remote-data'; import { LocalDataFactory } from './local-data-factory'; import { RemoteDataFactory } from './remote-data-factory'; import * as i0 from "@angular/core"; export declare class CompleterService { private localDataFactory; private remoteDataFactory; constructor(localDataFactory: LocalDataFactory, // Using any instead of () => LocalData because of AoT errors remoteDataFactory: RemoteDataFactory); local(data: any[] | Observable<any>, searchFields?: string | null, titleField?: string | null): LocalData; remote(url: string | null, searchFields?: string | null, titleField?: string | null): RemoteData; static ɵfac: i0.ɵɵFactoryDef<CompleterService, never>; static ɵprov: i0.ɵɵInjectableDef<CompleterService>; }