import { IClassOf } from "@web-atoms/core/dist/core/types"; import XNode from "@web-atoms/core/dist/core/XNode"; import { AtomStyle } from "@web-atoms/core/dist/web/styles/AtomStyle"; import { IStyleDeclaration } from "@web-atoms/core/dist/web/styles/IStyleDeclaration"; import { AtomXFControl } from "@web-atoms/core/dist/xf/controls/AtomXFControl"; export declare type ItemSearchFunction = ((item: any, search: string) => boolean) | string[]; export declare class AtomXFComboBoxStyle extends AtomStyle { get root(): IStyleDeclaration; } export default class AtomXFComboBox extends AtomXFControl { static itemTemplate: (attributes: Partial, ...nodes: XNode[]) => XNode; static promptTemplate: (attributes: Partial, ...nodes: XNode[]) => XNode; static selectionViewTemplate: (attributes: Partial, ...nodes: XNode[]) => XNode; prompt: string; itemTemplate: IClassOf; promptTemplate: IClassOf; showAsPopup: boolean; showSearch: boolean; searchText: string; selectedItem: any; selectionViewTemplate: any; search: ItemSearchFunction; /** * Warning, this will be removed in future, do not use this */ itemPadding: number; items: any[]; value: any; valuePath: string | ((item: any) => string); dropDownImage: any; /** * Event fired when selection is changed by the user */ eventSelectionChanged: any; constructor(a: any, e?: any); onPropertyChanged(name: keyof AtomXFComboBox): void; filterItems(s: ItemSearchFunction, searchText: string, items: any[]): any[]; protected preCreate(): void; protected create(): void; protected openPopup(): Promise; } //# sourceMappingURL=AtomXFComboBox.d.ts.map