tdesign-mobile-vue
Version:
tdesign-mobile-vue
135 lines (134 loc) • 4.88 kB
TypeScript
import { TextareaValue } from './type';
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
allowInputOverMax: BooleanConstructor;
autofocus: BooleanConstructor;
autosize: {
type: import("vue").PropType<import("@/components").TdTextareaProps['autosize']>;
default: import("@/components").TdTextareaProps['autosize'];
};
bordered: BooleanConstructor;
cursorColor: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: any;
};
indicator: BooleanConstructor;
label: {
type: import("vue").PropType<import("@/components").TdTextareaProps['label']>;
};
layout: {
type: import("vue").PropType<import("@/components").TdTextareaProps['layout']>;
default: import("@/components").TdTextareaProps['layout'];
validator(val: import("@/components").TdTextareaProps['layout']): boolean;
};
maxcharacter: {
type: NumberConstructor;
};
maxlength: {
type: import("vue").PropType<import("@/components").TdTextareaProps['maxlength']>;
};
name: {
type: StringConstructor;
default: string;
};
placeholder: {
type: StringConstructor;
default: any;
};
readonly: {
type: BooleanConstructor;
default: any;
};
value: {
type: import("vue").PropType<import("@/components").TdTextareaProps['value']>;
default: import("@/components").TdTextareaProps['value'];
};
modelValue: {
type: import("vue").PropType<import("@/components").TdTextareaProps['value']>;
default: import("@/components").TdTextareaProps['value'];
};
defaultValue: {
type: import("vue").PropType<import("@/components").TdTextareaProps['defaultValue']>;
};
onBlur: import("vue").PropType<import("@/components").TdTextareaProps['onBlur']>;
onChange: import("vue").PropType<import("@/components").TdTextareaProps['onChange']>;
onFocus: import("vue").PropType<import("@/components").TdTextareaProps['onFocus']>;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
allowInputOverMax: BooleanConstructor;
autofocus: BooleanConstructor;
autosize: {
type: import("vue").PropType<import("@/components").TdTextareaProps['autosize']>;
default: import("@/components").TdTextareaProps['autosize'];
};
bordered: BooleanConstructor;
cursorColor: {
type: StringConstructor;
default: string;
};
disabled: {
type: BooleanConstructor;
default: any;
};
indicator: BooleanConstructor;
label: {
type: import("vue").PropType<import("@/components").TdTextareaProps['label']>;
};
layout: {
type: import("vue").PropType<import("@/components").TdTextareaProps['layout']>;
default: import("@/components").TdTextareaProps['layout'];
validator(val: import("@/components").TdTextareaProps['layout']): boolean;
};
maxcharacter: {
type: NumberConstructor;
};
maxlength: {
type: import("vue").PropType<import("@/components").TdTextareaProps['maxlength']>;
};
name: {
type: StringConstructor;
default: string;
};
placeholder: {
type: StringConstructor;
default: any;
};
readonly: {
type: BooleanConstructor;
default: any;
};
value: {
type: import("vue").PropType<import("@/components").TdTextareaProps['value']>;
default: import("@/components").TdTextareaProps['value'];
};
modelValue: {
type: import("vue").PropType<import("@/components").TdTextareaProps['value']>;
default: import("@/components").TdTextareaProps['value'];
};
defaultValue: {
type: import("vue").PropType<import("@/components").TdTextareaProps['defaultValue']>;
};
onBlur: import("vue").PropType<import("@/components").TdTextareaProps['onBlur']>;
onChange: import("vue").PropType<import("@/components").TdTextareaProps['onChange']>;
onFocus: import("vue").PropType<import("@/components").TdTextareaProps['onFocus']>;
}>> & Readonly<{}>, {
allowInputOverMax: boolean;
autofocus: boolean;
autosize: boolean | {
minRows?: number;
maxRows?: number;
};
bordered: boolean;
cursorColor: string;
disabled: boolean;
indicator: boolean;
layout: "horizontal" | "vertical";
name: string;
placeholder: string;
readonly: boolean;
value: TextareaValue;
modelValue: TextareaValue;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;