UNPKG

tdesign-mobile-vue

Version:
117 lines (116 loc) 3.94 kB
import { PropType } from 'vue'; declare const _default: { align: { type: PropType<"center" | "left" | "right">; default: "center" | "left" | "right"; validator(val: "center" | "left" | "right"): boolean; }; allowInputOverMax: BooleanConstructor; autocomplete: { type: StringConstructor; default: any; }; autofocus: BooleanConstructor; borderless: BooleanConstructor; clearTrigger: { type: PropType<"always" | "focus">; default: "always" | "focus"; validator(val: "always" | "focus"): boolean; }; clearable: BooleanConstructor; cursorColor: { type: StringConstructor; default: string; }; disabled: { type: BooleanConstructor; default: any; }; enterkeyhint: { type: PropType<"done" | "enter" | "go" | "next" | "previous" | "search" | "send">; validator(val: "done" | "enter" | "go" | "next" | "previous" | "search" | "send"): boolean; }; extra: { type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; format: { type: PropType<import("@/components").InputFormatType>; }; label: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; layout: { type: PropType<"horizontal" | "vertical">; default: "horizontal" | "vertical"; validator(val: "horizontal" | "vertical"): boolean; }; maxcharacter: { type: NumberConstructor; }; maxlength: { type: PropType<string | number>; }; name: { type: StringConstructor; default: string; }; placeholder: { type: StringConstructor; default: any; }; prefixIcon: { type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; readonly: { type: BooleanConstructor; default: any; }; spellCheck: BooleanConstructor; status: { type: PropType<"default" | "error" | "success" | "warning">; default: "default" | "error" | "success" | "warning"; validator(val: "default" | "error" | "success" | "warning"): boolean; }; suffix: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; suffixIcon: { type: PropType<(h: typeof import("vue").h) => import("@/common").SlotReturnValue>; }; tips: { type: PropType<string | ((h: typeof import("vue").h) => import("@/common").SlotReturnValue)>; }; type: { type: PropType<"hidden" | "number" | "password" | "search" | "submit" | "tel" | "text" | "url">; default: "hidden" | "number" | "password" | "search" | "submit" | "tel" | "text" | "url"; validator(val: "hidden" | "number" | "password" | "search" | "submit" | "tel" | "text" | "url"): boolean; }; value: { type: PropType<import("@/components").InputValue>; default: import("@/components").InputValue; }; modelValue: { type: PropType<import("@/components").InputValue>; default: import("@/components").InputValue; }; defaultValue: { type: PropType<import("@/components").InputValue>; }; onBlur: PropType<(value: import("@/components").InputValue, context: { e: FocusEvent; }) => void>; onChange: PropType<(value: import("@/components").InputValue, context?: { e?: CompositionEvent | InputEvent | MouseEvent; trigger: "clear" | "initial" | "input"; }) => void>; onClear: PropType<(context: { e: TouchEvent; }) => void>; onFocus: PropType<(value: import("@/components").InputValue, context: { e: FocusEvent; }) => void>; onValidate: PropType<(context: { error?: "below-minimum" | "exceed-maximum"; }) => void>; }; export default _default;