UNPKG

ng-cw-v12

Version:

Angular UI component library

38 lines (37 loc) 1.51 kB
import { HttpClient } from '@angular/common/http'; import { ElementRef, EventEmitter } from '@angular/core'; import { LocalService } from './local.service'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class PoiComponent { private eleRef; private http; private ls; ncClick: EventEmitter<any>; ncClear: EventEmitter<any>; ncMapType: 'baidu' | 'gaode' | 'tianditu' | 'tencent'; ncToken: string; ncCity: string; ncPlaceholder: string; ncWidth: string; ncShowType: 'simple' | 'detailed'; ncDelay: number; parametersOk: boolean; searchBarShow: boolean; poiKey: string; poiInputing: boolean; poiTipsList: Array<any>; poiTipsListShow: boolean; $poiKeyChangeSubject: Subject<any>; constructor(eleRef: ElementRef, http: HttpClient, ls: LocalService); ngOnInit(): void; searchBarLeave(): void; searchInputLeave(): void; showSearch(): void; poiKeyChange(): void; searchPoiTips(): Promise<void>; poiTipsClick(item: any): void; clearPoi(): void; static ɵfac: i0.ɵɵFactoryDeclaration<PoiComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PoiComponent, "nc-poi", never, { "ncMapType": "ncMapType"; "ncToken": "ncToken"; "ncCity": "ncCity"; "ncPlaceholder": "ncPlaceholder"; "ncWidth": "ncWidth"; "ncShowType": "ncShowType"; "ncDelay": "ncDelay"; }, { "ncClick": "ncClick"; "ncClear": "ncClear"; }, never, never>; }