UNPKG

vuetning

Version:

<p align="center"> <img width="160"src="https://s3.amazonaws.com/arcthos.com/vuetning/logo.svg"> </p>

138 lines (137 loc) 3.37 kB
import { type PropType } from "vue"; import type { ValidationError } from "../slds-form-element/validation-error"; declare const _default: import("vue").DefineComponent<{ /** * Indicates whether the textarea is disabled. */ disabled: BooleanConstructor; /** * Array of error objects from vuelidate. */ errors: { type: PropType<ValidationError[]>; default: () => ValidationError[]; }; /** * Inline help text. * When using the help slot this prop is ignored. */ help: StringConstructor; /** * Textarea label. */ label: StringConstructor; /** * Textarea max length. */ maxlength: (StringConstructor | NumberConstructor)[]; /** * Textarea value. */ modelValue: any; /** * Textarea placeholder. */ placeholder: StringConstructor; /** * Indicates whether this label's textarea is required. */ required: BooleanConstructor; /** * Number of rows. */ rows: { type: NumberConstructor; default: number; }; /** * Indicates whether the textarea is stacked among other inputs. */ stacked: BooleanConstructor; /** * Tooltip text. * When using the tooltip slot this prop is ignored. */ tooltip: StringConstructor; }, unknown, unknown, { /** * Bindable form element attributes. */ formElementAttributes(): Record<string, unknown>; /** * Bindable input attributes. */ inputAttributes(): Record<string, unknown>; }, { /** * Handles the input event on the textarea. * @param event The fired event. */ handleInput(event: Event): void; /** * Handles the keyup event on the textarea. * @param event The fired event. */ onKeyUp(event: KeyboardEvent): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * Indicates whether the textarea is disabled. */ disabled: BooleanConstructor; /** * Array of error objects from vuelidate. */ errors: { type: PropType<ValidationError[]>; default: () => ValidationError[]; }; /** * Inline help text. * When using the help slot this prop is ignored. */ help: StringConstructor; /** * Textarea label. */ label: StringConstructor; /** * Textarea max length. */ maxlength: (StringConstructor | NumberConstructor)[]; /** * Textarea value. */ modelValue: any; /** * Textarea placeholder. */ placeholder: StringConstructor; /** * Indicates whether this label's textarea is required. */ required: BooleanConstructor; /** * Number of rows. */ rows: { type: NumberConstructor; default: number; }; /** * Indicates whether the textarea is stacked among other inputs. */ stacked: BooleanConstructor; /** * Tooltip text. * When using the tooltip slot this prop is ignored. */ tooltip: StringConstructor; }>>, { required: boolean; rows: number; disabled: boolean; errors: ValidationError[]; stacked: boolean; modelValue: any; }, {}>; export default _default;