bootstrap-vue-next
Version:
BootstrapVueNext is an early and lovely component library for Vue 3 & Nuxt 3 based on Bootstrap 5 and Typescript.
59 lines (58 loc) • 2.02 kB
TypeScript
import { BFormFileProps } from '../../types/ComponentProps';
type __VLS_Props = Omit<BFormFileProps, 'modelValue'>;
type __VLS_PublicProps = {
modelValue?: Exclude<BFormFileProps['modelValue'], undefined>;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: Readonly<{
label?: (props: Record<string, never>) => any;
}> & {
label?: (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<HTMLInputElement | null>>;
focus: () => void;
reset: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: File | readonly File[] | null) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: File | readonly File[] | null) => any) | undefined;
}>, {
disabled: boolean;
autofocus: boolean;
form: string;
id: string;
name: string;
required: boolean;
size: import('../..').Size;
state: import('../..').ValidationState;
label: string;
ariaLabel: string;
labelClass: import('../../types/AnyValuedAttributes').ClassValue;
multiple: boolean;
plain: boolean;
ariaLabelledby: string;
accept: string | readonly string[];
capture: boolean | "user" | "environment";
directory: boolean;
noButton: boolean;
noDrop: boolean;
noTraverse: boolean;
}, {}, {}, {}, 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;
};
};