bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
50 lines (49 loc) • 2.12 kB
TypeScript
import { BFormCheckboxProps, BFormCheckboxSlots, CheckboxValue } from '../../types';
type __VLS_Props = Omit<BFormCheckboxProps, 'modelValue' | 'indeterminate'>;
type __VLS_Slots = BFormCheckboxSlots;
type __VLS_ModelProps = {
modelValue?: BFormCheckboxProps['modelValue'];
'indeterminate'?: Exclude<BFormCheckboxProps['indeterminate'], undefined>;
};
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
blur: () => void;
element: Readonly<import('vue').ShallowRef<HTMLInputElement | null, HTMLInputElement | null>>;
focus: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: CheckboxValue | readonly CheckboxValue[] | undefined) => any;
"update:indeterminate": (value: boolean) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: CheckboxValue | readonly CheckboxValue[] | undefined) => any) | undefined;
"onUpdate:indeterminate"?: ((value: boolean) => any) | undefined;
}>, {
button: boolean;
disabled: boolean;
value: string | boolean | CheckboxValue;
autofocus: boolean;
form: string;
id: string;
name: string;
required: boolean;
size: import('../..').Size;
state: import('../..').ValidationState;
wrapperAttrs: Readonly<import('../../types/AnyValuedAttributes').AttrsValue>;
ariaLabel: string;
inline: boolean;
buttonGroup: boolean;
reverse: boolean;
switch: boolean;
plain: boolean;
ariaLabelledby: string;
buttonVariant: import('../..').ButtonVariant | null;
uncheckedValue: CheckboxValue;
inputClass: import('../../types/AnyValuedAttributes').ClassValue;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};