bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
63 lines (62 loc) • 2.42 kB
TypeScript
import { BFormCheckboxProps } from '../../types/ComponentProps';
import { CheckboxValue } from '../../types/CheckboxTypes';
type __VLS_Props = Omit<BFormCheckboxProps, 'modelValue' | 'indeterminate'>;
type __VLS_PublicProps = {
modelValue?: BFormCheckboxProps['modelValue'];
'indeterminate'?: Exclude<BFormCheckboxProps['indeterminate'], undefined>;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
default?: (props: Record<string, never>) => any;
}> & {
default?: (props: Record<string, never>) => any;
};
refs: {
_input: HTMLInputElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
blur: () => void;
element: Readonly<import('vue').ShallowRef<HTMLElement | 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;
}>, {
disabled: boolean;
autofocus: boolean;
form: string;
id: string;
name: string;
required: boolean;
size: import('../..').Size;
state: import('../..').ValidationState;
button: boolean;
wrapperAttrs: Readonly<import('../../types/AnyValuedAttributes').AttrsValue>;
value: string | boolean | CheckboxValue;
ariaLabel: string;
inline: boolean;
switch: boolean;
reverse: boolean;
plain: boolean;
ariaLabelledby: string;
buttonGroup: boolean;
buttonVariant: import('../..').ButtonVariant | null;
uncheckedValue: CheckboxValue;
inputClass: import('../../types/AnyValuedAttributes').ClassValue;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
_input: HTMLInputElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};