vuetning
Version:
<p align="center"> <img width="160"src="https://s3.amazonaws.com/arcthos.com/vuetning/logo.svg"> </p>
78 lines (77 loc) • 2.29 kB
TypeScript
import { type PropType } from "vue";
import { type ValidationError } from "../slds-form-element/validation-error";
import { type CheckboxGroupOption } from "./checkbox-group-option";
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<CheckboxGroupOption[]>;
default: () => any[];
};
required: BooleanConstructor;
/**
* Indicates whether the input is stacked among other inputs.
*/
stacked: BooleanConstructor;
tooltip: StringConstructor;
}, unknown, unknown, {}, {
/**
* Handles the click event on the checkbox group.
* @param event The fired event.
* @param option The clicked option.
*/
handleClick(event: Event, option: CheckboxGroupOption): 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<CheckboxGroupOption[]>;
default: () => any[];
};
required: BooleanConstructor;
/**
* Indicates whether the input is stacked among other inputs.
*/
stacked: BooleanConstructor;
tooltip: StringConstructor;
}>>, {
required: boolean;
disabled: boolean;
errors: ValidationError[];
stacked: boolean;
modelValue: string[];
options: CheckboxGroupOption[];
}, {}>;
export default _default;