/** * @license * Copyright 厦门乾元盛世科技有限公司 All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file. */ import { EventEmitter, OnInit, ElementRef } from '@angular/core'; import 'rxjs/add/operator/debounceTime'; import 'rxjs/add/operator/distinctUntilChanged'; export declare class WeUISearchBar implements OnInit { /** * @i18n */ defaults: any; /** * 是否必填 */ required: boolean; /** * @i18n * placeholder 规定帮助用户填写输入字段的提示。 */ placeholder: string; /** * @i18n 取消 */ cancelText: string; /** * 输入事件 */ search: EventEmitter; searchBox: ElementRef; focusing: boolean; value: string; private searchTerms; constructor(); ngOnInit(): void; doFocus(): void; onFocus(): void; onBlur(): void; onCancel(): void; push(term: string): void; clear(): void; }