UNPKG

vuetning

Version:

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

78 lines (77 loc) 2.33 kB
import { type CheckboxButtonGroupOption } from "./checkbox-button-group-option"; import { type PropType } from "vue"; import type { ValidationError } from "../slds-form-element/validation-error"; declare const _default: import("vue").DefineComponent<{ 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; label: StringConstructor; modelValue: { type: PropType<string[]>; default: () => any[]; }; options: { type: PropType<CheckboxButtonGroupOption[]>; default: () => any[]; }; required: BooleanConstructor; tooltip: StringConstructor; /** * Indicates whether the input is stacked among other inputs. */ stacked: BooleanConstructor; }, unknown, unknown, {}, { /** * Handles the click event on the checkbox button. * @param event The fired event. * @param option The clicked option. */ handleClick(event: Event, option: CheckboxButtonGroupOption): void; }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ 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; label: StringConstructor; modelValue: { type: PropType<string[]>; default: () => any[]; }; options: { type: PropType<CheckboxButtonGroupOption[]>; default: () => any[]; }; required: BooleanConstructor; tooltip: StringConstructor; /** * Indicates whether the input is stacked among other inputs. */ stacked: BooleanConstructor; }>>, { required: boolean; disabled: boolean; errors: ValidationError[]; stacked: boolean; modelValue: string[]; options: CheckboxButtonGroupOption[]; }, {}>; export default _default;