tdesign-mobile-vue
Version:
tdesign-mobile-vue
160 lines (159 loc) • 5.33 kB
TypeScript
import { TdSearchProps } from './type';
declare const _default: import("vue").DefineComponent<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']>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, 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<{}>, {
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").ComponentProvideOptions, true, {}, any>;
export default _default;