UNPKG

tdesign-mobile-vue

Version:
199 lines (198 loc) 6.37 kB
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ action: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); }; autocompleteOptions: { type: import("vue").PropType<import("@/components").AutocompleteOption[]>; }; center: BooleanConstructor; clearTrigger: { type: import("vue").PropType<"always" | "focus">; default: "always" | "focus"; validator(val: "always" | "focus"): boolean; }; clearable: { type: BooleanConstructor; default: boolean; }; cursorColor: { type: StringConstructor; default: string; }; disabled: BooleanConstructor; focus: BooleanConstructor; leftIcon: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); }; maxcharacter: { type: NumberConstructor; }; maxlength: { type: import("vue").PropType<string | number>; }; placeholder: { type: StringConstructor; default: string; }; readonly: { type: BooleanConstructor; default: any; }; resultList: { type: import("vue").PropType<string[]>; default: () => string[]; }; shape: { type: import("vue").PropType<"round" | "square">; default: "round" | "square"; validator(val: "round" | "square"): boolean; }; value: { type: StringConstructor; default: any; }; modelValue: { type: StringConstructor; default: any; }; defaultValue: { type: StringConstructor; default: string; }; onActionClick: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onBlur: import("vue").PropType<(context: { value: string; e: FocusEvent; }) => void>; onChange: import("vue").PropType<(value: string, context: { trigger: "clear" | "input-change" | "option-click"; e?: InputEvent | MouseEvent; }) => void>; onClear: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onFocus: import("vue").PropType<(context: { value: string; e: FocusEvent; }) => void>; onSearch: import("vue").PropType<(context?: { value: string; trigger: "clear" | "option-click" | "submit"; e?: InputEvent | MouseEvent; }) => void>; onSubmit: import("vue").PropType<(context: { value: string; e: KeyboardEvent; }) => void>; }>, () => 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<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); }; autocompleteOptions: { type: import("vue").PropType<import("@/components").AutocompleteOption[]>; }; center: BooleanConstructor; clearTrigger: { type: import("vue").PropType<"always" | "focus">; default: "always" | "focus"; validator(val: "always" | "focus"): boolean; }; clearable: { type: BooleanConstructor; default: boolean; }; cursorColor: { type: StringConstructor; default: string; }; disabled: BooleanConstructor; focus: BooleanConstructor; leftIcon: { type: import("vue").PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); }; maxcharacter: { type: NumberConstructor; }; maxlength: { type: import("vue").PropType<string | number>; }; placeholder: { type: StringConstructor; default: string; }; readonly: { type: BooleanConstructor; default: any; }; resultList: { type: import("vue").PropType<string[]>; default: () => string[]; }; shape: { type: import("vue").PropType<"round" | "square">; default: "round" | "square"; validator(val: "round" | "square"): boolean; }; value: { type: StringConstructor; default: any; }; modelValue: { type: StringConstructor; default: any; }; defaultValue: { type: StringConstructor; default: string; }; onActionClick: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onBlur: import("vue").PropType<(context: { value: string; e: FocusEvent; }) => void>; onChange: import("vue").PropType<(value: string, context: { trigger: "clear" | "input-change" | "option-click"; e?: InputEvent | MouseEvent; }) => void>; onClear: import("vue").PropType<(context: { e: MouseEvent; }) => void>; onFocus: import("vue").PropType<(context: { value: string; e: FocusEvent; }) => void>; onSearch: import("vue").PropType<(context?: { value: string; trigger: "clear" | "option-click" | "submit"; e?: InputEvent | MouseEvent; }) => void>; onSubmit: import("vue").PropType<(context: { value: string; e: KeyboardEvent; }) => void>; }>> & Readonly<{}>, { action: string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); center: boolean; clearTrigger: "always" | "focus"; clearable: boolean; cursorColor: string; disabled: boolean; focus: boolean; leftIcon: string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); placeholder: string; readonly: boolean; resultList: string[]; shape: "round" | "square"; value: string; modelValue: string; defaultValue: string; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;