UNPKG

vuetning

Version:

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

115 lines (114 loc) 3.02 kB
import { type PropType } from "vue"; import type { ValidationError } from "./validation-error"; declare const _default: import("vue").DefineComponent<{ /** * Indicates whether the form element is bordered. */ bordered: 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; /** * Input label. * When using the label slot this prop is ignored. */ label: StringConstructor; /** * Indicates whether this label's input is required. */ required: BooleanConstructor; /** * Indicates whether the input is stacked among other inputs. */ stacked: BooleanConstructor; /** * Indicates whether to suppress error messages. */ suppressErrors: BooleanConstructor; /** * Tooltip text. * When using the tooltip slot this prop is ignored. */ tooltip: StringConstructor; }, unknown, { /** * Input ID. */ inputId: string; }, { /** * The CSS class names for the form element. */ formElementClassNames(): string; /** * Indicates whether this form element has error messages. */ hasErrorMessages(): boolean; /** * Indicates whether this form element has inline help. */ hasInlineHelp(): boolean; /** * Indicates whether this form element has a label. */ hasLabel(): boolean; /** * Indicates whether this form element has a tooltip. */ hasTooltip(): boolean; }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * Indicates whether the form element is bordered. */ bordered: 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; /** * Input label. * When using the label slot this prop is ignored. */ label: StringConstructor; /** * Indicates whether this label's input is required. */ required: BooleanConstructor; /** * Indicates whether the input is stacked among other inputs. */ stacked: BooleanConstructor; /** * Indicates whether to suppress error messages. */ suppressErrors: BooleanConstructor; /** * Tooltip text. * When using the tooltip slot this prop is ignored. */ tooltip: StringConstructor; }>>, { required: boolean; bordered: boolean; errors: ValidationError[]; stacked: boolean; suppressErrors: boolean; }, {}>; export default _default;