import { Event, InitModelOf, LookupRow, PropertyChangeEvent, ProposalChooser, ProposalChooserActiveFilterSelectedEvent, ProposalChooserLookupRowSelectedEvent, ScoutKeyboardEvent, SmartField, SmartFieldLookupResult, SmartFieldTouchPopupEventMap, SmartFieldTouchPopupModel, Status, StatusOrModel, TouchPopup } from '../../../index'; /** * Info: this class must have the same interface as SmartFieldPopup. That's why there's some * copy/pasted code here, because we don't have multi inheritance. */ export declare class SmartFieldTouchPopup extends TouchPopup implements SmartFieldTouchPopupModel { model: SmartFieldTouchPopupModel; eventMap: SmartFieldTouchPopupEventMap; self: SmartFieldTouchPopup; _field: SmartField; protected _widget: ProposalChooser; field: SmartField; lookupResult: SmartFieldLookupResult; smartField: SmartField; protected _initialFieldState: SmartFieldTouchPopupInitialFieldState; constructor(); protected _init(options: InitModelOf): void; protected _initDelegatedEvents(): string[]; protected _initWidget(options: SmartFieldTouchPopupModel): void; protected _getFieldState(): SmartFieldTouchPopupInitialFieldState; protected _createProposalChooser(): ProposalChooser; protected _fieldOverrides(): InitModelOf>; protected _onMouseDownOutside(): void; /** * Delegates the key event to the proposal chooser. */ delegateKeyEvent(event: ScoutKeyboardEvent & JQuery.Event): void; getSelectedLookupRow(): LookupRow; protected _triggerEvent(event: ProposalChooserActiveFilterSelectedEvent | ProposalChooserLookupRowSelectedEvent): void; setLookupResult(result: SmartFieldLookupResult): void; setStatus(status: StatusOrModel): void; clearLookupRows(): void; selectFirstLookupRow(): void; selectLookupRow(): void; protected _onPropertyChange(event: PropertyChangeEvent>): void; protected _beforeClosePopup(event: Event>): void; } export type SmartFieldTouchPopupInitialFieldState = { value: TValue; displayText: string; errorStatus: Status; lookupRow: LookupRow; }; //# sourceMappingURL=SmartFieldTouchPopup.d.ts.map