bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
67 lines (66 loc) • 2.44 kB
TypeScript
import { BFormCheckboxGroupProps } from '../../types/ComponentProps';
type __VLS_Props = Omit<BFormCheckboxGroupProps, 'modelValue'>;
declare const normalizeOptions: import('vue').ComputedRef<{
[key: string]: unknown;
text: string | undefined;
value: any;
disabled: boolean | undefined;
}[]>;
type __VLS_PublicProps = {
modelValue?: Exclude<BFormCheckboxGroupProps['modelValue'], undefined>;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
default?: (props: Record<string, never>) => any;
first?: (props: Record<string, never>) => any;
option: (props: (typeof normalizeOptions.value)[number]) => any;
}> & {
default?: (props: Record<string, never>) => any;
first?: (props: Record<string, never>) => any;
option: (props: (typeof normalizeOptions.value)[number]) => any;
};
refs: {
_element: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
blur: () => void;
focus: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: readonly import('../..').CheckboxValue[]) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: readonly import('../..').CheckboxValue[]) => any) | undefined;
}>, {
disabled: boolean;
ariaInvalid: import('../..').AriaInvalid;
autofocus: boolean;
form: string;
id: string;
name: string;
required: boolean;
size: import('../..').Size;
state: import('../..').ValidationState;
stacked: boolean;
options: readonly import('../..').CheckboxOptionRaw[];
validated: boolean;
reverse: boolean;
buttons: boolean;
valueField: string;
textField: string;
disabledField: string;
plain: boolean;
buttonVariant: import('../..').ButtonVariant | null;
switches: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
_element: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};