UNPKG

tdesign-mobile-vue

Version:
277 lines (276 loc) 10.2 kB
import './style'; import { TdSearchProps } from './type'; export * from './type'; export type SearchProps = TdSearchProps; export declare const Search: { new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ action: { type: import("vue").PropType<TdSearchProps['action']>; default: TdSearchProps['action']; }; autocompleteOptions: { type: import("vue").PropType<TdSearchProps['autocompleteOptions']>; }; center: BooleanConstructor; clearTrigger: { type: import("vue").PropType<TdSearchProps['clearTrigger']>; default: TdSearchProps['clearTrigger']; validator(val: TdSearchProps['clearTrigger']): boolean; }; clearable: { type: BooleanConstructor; default: boolean; }; cursorColor: { type: StringConstructor; default: string; }; disabled: BooleanConstructor; focus: BooleanConstructor; leftIcon: { type: import("vue").PropType<TdSearchProps['leftIcon']>; default: TdSearchProps['leftIcon']; }; maxcharacter: { type: NumberConstructor; }; maxlength: { type: import("vue").PropType<TdSearchProps['maxlength']>; }; placeholder: { type: StringConstructor; default: string; }; readonly: { type: BooleanConstructor; default: any; }; resultList: { type: import("vue").PropType<TdSearchProps['resultList']>; default: () => TdSearchProps['resultList']; }; shape: { type: import("vue").PropType<TdSearchProps['shape']>; default: TdSearchProps['shape']; validator(val: TdSearchProps['shape']): boolean; }; value: { type: StringConstructor; default: any; }; modelValue: { type: StringConstructor; default: any; }; defaultValue: { type: StringConstructor; default: string; }; onActionClick: import("vue").PropType<TdSearchProps['onActionClick']>; onBlur: import("vue").PropType<TdSearchProps['onBlur']>; onChange: import("vue").PropType<TdSearchProps['onChange']>; onClear: import("vue").PropType<TdSearchProps['onClear']>; onFocus: import("vue").PropType<TdSearchProps['onFocus']>; onSearch: import("vue").PropType<TdSearchProps['onSearch']>; onSubmit: import("vue").PropType<TdSearchProps['onSubmit']>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, { action: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); center: boolean; clearTrigger: "always" | "focus"; clearable: boolean; cursorColor: string; disabled: boolean; focus: boolean; leftIcon: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); placeholder: string; readonly: boolean; resultList: string[]; shape: "round" | "square"; value: string; modelValue: string; defaultValue: string; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("vue").ExtractPropTypes<{ action: { type: import("vue").PropType<TdSearchProps['action']>; default: TdSearchProps['action']; }; autocompleteOptions: { type: import("vue").PropType<TdSearchProps['autocompleteOptions']>; }; center: BooleanConstructor; clearTrigger: { type: import("vue").PropType<TdSearchProps['clearTrigger']>; default: TdSearchProps['clearTrigger']; validator(val: TdSearchProps['clearTrigger']): boolean; }; clearable: { type: BooleanConstructor; default: boolean; }; cursorColor: { type: StringConstructor; default: string; }; disabled: BooleanConstructor; focus: BooleanConstructor; leftIcon: { type: import("vue").PropType<TdSearchProps['leftIcon']>; default: TdSearchProps['leftIcon']; }; maxcharacter: { type: NumberConstructor; }; maxlength: { type: import("vue").PropType<TdSearchProps['maxlength']>; }; placeholder: { type: StringConstructor; default: string; }; readonly: { type: BooleanConstructor; default: any; }; resultList: { type: import("vue").PropType<TdSearchProps['resultList']>; default: () => TdSearchProps['resultList']; }; shape: { type: import("vue").PropType<TdSearchProps['shape']>; default: TdSearchProps['shape']; validator(val: TdSearchProps['shape']): boolean; }; value: { type: StringConstructor; default: any; }; modelValue: { type: StringConstructor; default: any; }; defaultValue: { type: StringConstructor; default: string; }; onActionClick: import("vue").PropType<TdSearchProps['onActionClick']>; onBlur: import("vue").PropType<TdSearchProps['onBlur']>; onChange: import("vue").PropType<TdSearchProps['onChange']>; onClear: import("vue").PropType<TdSearchProps['onClear']>; onFocus: import("vue").PropType<TdSearchProps['onFocus']>; onSearch: import("vue").PropType<TdSearchProps['onSearch']>; onSubmit: import("vue").PropType<TdSearchProps['onSubmit']>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, { action: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); center: boolean; clearTrigger: "always" | "focus"; clearable: boolean; cursorColor: string; disabled: boolean; focus: boolean; leftIcon: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); placeholder: string; readonly: boolean; resultList: string[]; shape: "round" | "square"; value: string; modelValue: string; defaultValue: string; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ action: { type: import("vue").PropType<TdSearchProps['action']>; default: TdSearchProps['action']; }; autocompleteOptions: { type: import("vue").PropType<TdSearchProps['autocompleteOptions']>; }; center: BooleanConstructor; clearTrigger: { type: import("vue").PropType<TdSearchProps['clearTrigger']>; default: TdSearchProps['clearTrigger']; validator(val: TdSearchProps['clearTrigger']): boolean; }; clearable: { type: BooleanConstructor; default: boolean; }; cursorColor: { type: StringConstructor; default: string; }; disabled: BooleanConstructor; focus: BooleanConstructor; leftIcon: { type: import("vue").PropType<TdSearchProps['leftIcon']>; default: TdSearchProps['leftIcon']; }; maxcharacter: { type: NumberConstructor; }; maxlength: { type: import("vue").PropType<TdSearchProps['maxlength']>; }; placeholder: { type: StringConstructor; default: string; }; readonly: { type: BooleanConstructor; default: any; }; resultList: { type: import("vue").PropType<TdSearchProps['resultList']>; default: () => TdSearchProps['resultList']; }; shape: { type: import("vue").PropType<TdSearchProps['shape']>; default: TdSearchProps['shape']; validator(val: TdSearchProps['shape']): boolean; }; value: { type: StringConstructor; default: any; }; modelValue: { type: StringConstructor; default: any; }; defaultValue: { type: StringConstructor; default: string; }; onActionClick: import("vue").PropType<TdSearchProps['onActionClick']>; onBlur: import("vue").PropType<TdSearchProps['onBlur']>; onChange: import("vue").PropType<TdSearchProps['onChange']>; onClear: import("vue").PropType<TdSearchProps['onClear']>; onFocus: import("vue").PropType<TdSearchProps['onFocus']>; onSearch: import("vue").PropType<TdSearchProps['onSearch']>; onSubmit: import("vue").PropType<TdSearchProps['onSubmit']>; }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, { action: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); center: boolean; clearTrigger: "always" | "focus"; clearable: boolean; cursorColor: string; disabled: boolean; focus: boolean; leftIcon: string | ((h: typeof import('vue').h) => import("@/common").TNodeReturnValue); placeholder: string; readonly: boolean; resultList: string[]; shape: "round" | "square"; value: string; modelValue: string; defaultValue: string; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin; export default Search;