UNPKG

tdesign-mobile-vue

Version:
94 lines (93 loc) 2.61 kB
import { PropType } from 'vue'; declare const _default: { action: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; default: string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue); }; autocompleteOptions: { type: PropType<import("@/components").AutocompleteOption[]>; }; center: BooleanConstructor; clearTrigger: { type: 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: 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: PropType<string | number>; }; placeholder: { type: StringConstructor; default: string; }; readonly: { type: BooleanConstructor; default: any; }; resultList: { type: PropType<string[]>; default: () => string[]; }; shape: { type: 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: PropType<(context: { e: MouseEvent; }) => void>; onBlur: PropType<(context: { value: string; e: FocusEvent; }) => void>; onChange: PropType<(value: string, context: { trigger: "clear" | "input-change" | "option-click"; e?: InputEvent | MouseEvent; }) => void>; onClear: PropType<(context: { e: MouseEvent; }) => void>; onFocus: PropType<(context: { value: string; e: FocusEvent; }) => void>; onSearch: PropType<(context?: { value: string; trigger: "clear" | "option-click" | "submit"; e?: InputEvent | MouseEvent; }) => void>; onSubmit: PropType<(context: { value: string; e: KeyboardEvent; }) => void>; }; export default _default;