tdesign-mobile-vue
Version:
tdesign-mobile-vue
107 lines (106 loc) • 2.96 kB
TypeScript
import { TdInputProps } from './type';
import { PropType } from 'vue';
declare const _default: {
align: {
type: PropType<TdInputProps['align']>;
default: TdInputProps['align'];
validator(val: TdInputProps['align']): boolean;
};
allowInputOverMax: BooleanConstructor;
autocomplete: {
type: StringConstructor;
default: any;
};
autofocus: BooleanConstructor;
borderless: BooleanConstructor;
clearTrigger: {
type: PropType<TdInputProps['clearTrigger']>;
default: TdInputProps['clearTrigger'];
validator(val: TdInputProps['clearTrigger']): boolean;
};
clearable: BooleanConstructor;
cursorColor: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: any;
};
enterkeyhint: {
type: PropType<TdInputProps['enterkeyhint']>;
validator(val: TdInputProps['enterkeyhint']): boolean;
};
extra: {
type: PropType<TdInputProps['extra']>;
};
format: {
type: PropType<TdInputProps['format']>;
};
label: {
type: PropType<TdInputProps['label']>;
};
layout: {
type: PropType<TdInputProps['layout']>;
default: TdInputProps['layout'];
validator(val: TdInputProps['layout']): boolean;
};
maxcharacter: {
type: NumberConstructor;
};
maxlength: {
type: PropType<TdInputProps['maxlength']>;
};
name: {
type: StringConstructor;
default: string;
};
placeholder: {
type: StringConstructor;
default: any;
};
prefixIcon: {
type: PropType<TdInputProps['prefixIcon']>;
};
readonly: {
type: BooleanConstructor;
default: any;
};
spellCheck: BooleanConstructor;
status: {
type: PropType<TdInputProps['status']>;
default: TdInputProps['status'];
validator(val: TdInputProps['status']): boolean;
};
suffix: {
type: PropType<TdInputProps['suffix']>;
};
suffixIcon: {
type: PropType<TdInputProps['suffixIcon']>;
};
tips: {
type: PropType<TdInputProps['tips']>;
};
type: {
type: PropType<TdInputProps['type']>;
default: TdInputProps['type'];
validator(val: TdInputProps['type']): boolean;
};
value: {
type: PropType<TdInputProps['value']>;
default: TdInputProps['value'];
};
modelValue: {
type: PropType<TdInputProps['value']>;
default: TdInputProps['value'];
};
defaultValue: {
type: PropType<TdInputProps['defaultValue']>;
};
onBlur: PropType<TdInputProps['onBlur']>;
onChange: PropType<TdInputProps['onChange']>;
onClear: PropType<TdInputProps['onClear']>;
onFocus: PropType<TdInputProps['onFocus']>;
onValidate: PropType<TdInputProps['onValidate']>;
};
export default _default;