tdesign-mobile-vue
Version:
tdesign-mobile-vue
251 lines (250 loc) • 8.99 kB
TypeScript
import { PropType } from 'vue';
import { InputValue } from './type';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
align: {
type: PropType<import("@/components").TdInputProps['align']>;
default: import("@/components").TdInputProps['align'];
validator(val: import("@/components").TdInputProps['align']): boolean;
};
allowInputOverMax: BooleanConstructor;
autocomplete: {
type: StringConstructor;
default: any;
};
autofocus: BooleanConstructor;
borderless: BooleanConstructor;
clearTrigger: {
type: PropType<import("@/components").TdInputProps['clearTrigger']>;
default: import("@/components").TdInputProps['clearTrigger'];
validator(val: import("@/components").TdInputProps['clearTrigger']): boolean;
};
clearable: BooleanConstructor;
cursorColor: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: any;
};
enterkeyhint: {
type: PropType<import("@/components").TdInputProps['enterkeyhint']>;
validator(val: import("@/components").TdInputProps['enterkeyhint']): boolean;
};
extra: {
type: PropType<import("@/components").TdInputProps['extra']>;
};
format: {
type: PropType<import("@/components").TdInputProps['format']>;
};
label: {
type: PropType<import("@/components").TdInputProps['label']>;
};
layout: {
type: PropType<import("@/components").TdInputProps['layout']>;
default: import("@/components").TdInputProps['layout'];
validator(val: import("@/components").TdInputProps['layout']): boolean;
};
maxcharacter: {
type: NumberConstructor;
};
maxlength: {
type: PropType<import("@/components").TdInputProps['maxlength']>;
};
name: {
type: StringConstructor;
default: string;
};
placeholder: {
type: StringConstructor;
default: any;
};
prefixIcon: {
type: PropType<import("@/components").TdInputProps['prefixIcon']>;
};
readonly: {
type: BooleanConstructor;
default: any;
};
spellCheck: BooleanConstructor;
status: {
type: PropType<import("@/components").TdInputProps['status']>;
default: import("@/components").TdInputProps['status'];
validator(val: import("@/components").TdInputProps['status']): boolean;
};
suffix: {
type: PropType<import("@/components").TdInputProps['suffix']>;
};
suffixIcon: {
type: PropType<import("@/components").TdInputProps['suffixIcon']>;
};
tips: {
type: PropType<import("@/components").TdInputProps['tips']>;
};
type: {
type: PropType<import("@/components").TdInputProps['type']>;
default: import("@/components").TdInputProps['type'];
validator(val: import("@/components").TdInputProps['type']): boolean;
};
value: {
type: PropType<import("@/components").TdInputProps['value']>;
default: import("@/components").TdInputProps['value'];
};
modelValue: {
type: PropType<import("@/components").TdInputProps['value']>;
default: import("@/components").TdInputProps['value'];
};
defaultValue: {
type: PropType<import("@/components").TdInputProps['defaultValue']>;
};
onBlur: PropType<import("@/components").TdInputProps['onBlur']>;
onChange: PropType<import("@/components").TdInputProps['onChange']>;
onClear: PropType<import("@/components").TdInputProps['onClear']>;
onFocus: PropType<import("@/components").TdInputProps['onFocus']>;
onValidate: PropType<import("@/components").TdInputProps['onValidate']>;
labelAlign: {
type: StringConstructor;
default: string;
};
pattern: {
type: StringConstructor;
};
inputmode: {
type: PropType<'search' | 'text' | 'none' | 'url' | 'tel' | 'email' | 'numeric' | 'decimal'>;
validator(val: string): boolean;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
align: {
type: PropType<import("@/components").TdInputProps['align']>;
default: import("@/components").TdInputProps['align'];
validator(val: import("@/components").TdInputProps['align']): boolean;
};
allowInputOverMax: BooleanConstructor;
autocomplete: {
type: StringConstructor;
default: any;
};
autofocus: BooleanConstructor;
borderless: BooleanConstructor;
clearTrigger: {
type: PropType<import("@/components").TdInputProps['clearTrigger']>;
default: import("@/components").TdInputProps['clearTrigger'];
validator(val: import("@/components").TdInputProps['clearTrigger']): boolean;
};
clearable: BooleanConstructor;
cursorColor: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: any;
};
enterkeyhint: {
type: PropType<import("@/components").TdInputProps['enterkeyhint']>;
validator(val: import("@/components").TdInputProps['enterkeyhint']): boolean;
};
extra: {
type: PropType<import("@/components").TdInputProps['extra']>;
};
format: {
type: PropType<import("@/components").TdInputProps['format']>;
};
label: {
type: PropType<import("@/components").TdInputProps['label']>;
};
layout: {
type: PropType<import("@/components").TdInputProps['layout']>;
default: import("@/components").TdInputProps['layout'];
validator(val: import("@/components").TdInputProps['layout']): boolean;
};
maxcharacter: {
type: NumberConstructor;
};
maxlength: {
type: PropType<import("@/components").TdInputProps['maxlength']>;
};
name: {
type: StringConstructor;
default: string;
};
placeholder: {
type: StringConstructor;
default: any;
};
prefixIcon: {
type: PropType<import("@/components").TdInputProps['prefixIcon']>;
};
readonly: {
type: BooleanConstructor;
default: any;
};
spellCheck: BooleanConstructor;
status: {
type: PropType<import("@/components").TdInputProps['status']>;
default: import("@/components").TdInputProps['status'];
validator(val: import("@/components").TdInputProps['status']): boolean;
};
suffix: {
type: PropType<import("@/components").TdInputProps['suffix']>;
};
suffixIcon: {
type: PropType<import("@/components").TdInputProps['suffixIcon']>;
};
tips: {
type: PropType<import("@/components").TdInputProps['tips']>;
};
type: {
type: PropType<import("@/components").TdInputProps['type']>;
default: import("@/components").TdInputProps['type'];
validator(val: import("@/components").TdInputProps['type']): boolean;
};
value: {
type: PropType<import("@/components").TdInputProps['value']>;
default: import("@/components").TdInputProps['value'];
};
modelValue: {
type: PropType<import("@/components").TdInputProps['value']>;
default: import("@/components").TdInputProps['value'];
};
defaultValue: {
type: PropType<import("@/components").TdInputProps['defaultValue']>;
};
onBlur: PropType<import("@/components").TdInputProps['onBlur']>;
onChange: PropType<import("@/components").TdInputProps['onChange']>;
onClear: PropType<import("@/components").TdInputProps['onClear']>;
onFocus: PropType<import("@/components").TdInputProps['onFocus']>;
onValidate: PropType<import("@/components").TdInputProps['onValidate']>;
labelAlign: {
type: StringConstructor;
default: string;
};
pattern: {
type: StringConstructor;
};
inputmode: {
type: PropType<'search' | 'text' | 'none' | 'url' | 'tel' | 'email' | 'numeric' | 'decimal'>;
validator(val: string): boolean;
};
}>> & Readonly<{}>, {
align: "center" | "left" | "right";
allowInputOverMax: boolean;
autocomplete: string;
autofocus: boolean;
borderless: boolean;
clearTrigger: "always" | "focus";
clearable: boolean;
cursorColor: string;
disabled: boolean;
layout: "horizontal" | "vertical";
name: string;
placeholder: string;
readonly: boolean;
spellCheck: boolean;
status: "default" | "error" | "success" | "warning";
type: "hidden" | "number" | "password" | "search" | "submit" | "tel" | "text" | "url";
value: InputValue;
modelValue: InputValue;
labelAlign: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;