UNPKG

svantic

Version:

A set of Fomantic-UI components for Svelte framework

135 lines (134 loc) 4.57 kB
/** @typedef {typeof __propDef.props} SearchProps */ /** @typedef {typeof __propDef.events} SearchEvents */ /** @typedef {typeof __propDef.slots} SearchSlots */ export default class Search extends SvelteComponentTyped<{ class: any; style: any; aligned: any; onMount: any; disabled?: boolean; placeholder?: string; loading?: boolean; settings?: {}; isVisible?: () => any; ready?: () => Promise<any>; fluid?: boolean; speed?: string; long?: boolean; scrolling?: boolean; setValue?: (value: any) => any; getValue?: () => any; query?: (callback: any) => any; animation?: string; local?: boolean; short?: boolean; category?: boolean; displayMessage?: (text: any, type: any) => any; searchLocal?: (query: any) => any; hasMinimumCharacters?: () => Promise<any>; searchRemote?: (query: any, callback: any) => any; searchObject?: (query: any, object: any, searchFields: any) => any; cancelQuery?: () => any; isFocused?: () => any; isEmpty?: () => any; getResult?: (value: any) => any; readCache?: (query: any) => any; clearCache?: (query: any) => any; writeCache?: (query: any) => any; addResults?: (html: any) => any; showResults?: (callback: any) => any; hideResults?: (callback: any) => any; generateResults?: (response: any) => any; }, { change: Event; input: Event; keyup: KeyboardEvent; keydown: KeyboardEvent; keypress: KeyboardEvent; focus: FocusEvent; blur: FocusEvent; mount: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }, {}> { get query(): (callback: any) => any; get displayMessage(): (text: any, type: any) => any; get searchLocal(): (query: any) => any; get hasMinimumCharacters(): () => Promise<any>; get searchRemote(): (query: any, callback: any) => any; get searchObject(): (query: any, object: any, searchFields: any) => any; get cancelQuery(): () => any; get isFocused(): () => any; get isVisible(): () => any; get isEmpty(): () => any; get getValue(): () => any; get getResult(): (value: any) => any; get setValue(): (value: any) => any; get readCache(): (query: any) => any; get clearCache(): (query: any) => any; get writeCache(): (query: any) => any; get addResults(): (html: any) => any; get showResults(): (callback: any) => any; get hideResults(): (callback: any) => any; get generateResults(): (response: any) => any; get ready(): () => Promise<any>; } export type SearchProps = typeof __propDef.props; export type SearchEvents = typeof __propDef.events; export type SearchSlots = typeof __propDef.slots; import { SvelteComponentTyped } from "svelte"; declare const __propDef: { props: { class: any; style: any; aligned: any; onMount: any; disabled?: boolean; placeholder?: string; loading?: boolean; settings?: {}; isVisible?: () => any; ready?: () => Promise<any>; fluid?: boolean; speed?: string; long?: boolean; scrolling?: boolean; setValue?: (value: any) => any; getValue?: () => any; query?: (callback: any) => any; animation?: string; local?: boolean; short?: boolean; category?: boolean; displayMessage?: (text: any, type: any) => any; searchLocal?: (query: any) => any; hasMinimumCharacters?: () => Promise<any>; searchRemote?: (query: any, callback: any) => any; searchObject?: (query: any, object: any, searchFields: any) => any; cancelQuery?: () => any; isFocused?: () => any; isEmpty?: () => any; getResult?: (value: any) => any; readCache?: (query: any) => any; clearCache?: (query: any) => any; writeCache?: (query: any) => any; addResults?: (html: any) => any; showResults?: (callback: any) => any; hideResults?: (callback: any) => any; generateResults?: (response: any) => any; }; events: { change: Event; input: Event; keyup: KeyboardEvent; keydown: KeyboardEvent; keypress: KeyboardEvent; focus: FocusEvent; blur: FocusEvent; mount: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }; slots: {}; }; export {};