bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
54 lines (53 loc) • 2.01 kB
text/typescript
import { BFormFileProps, BFormFileSlots } from '../../types';
type __VLS_Props = Omit<BFormFileProps, 'modelValue'>;
type __VLS_Slots = BFormFileSlots;
type __VLS_ModelProps = {
modelValue?: Exclude<BFormFileProps['modelValue'], undefined>;
};
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {
blur: () => void;
element: import('vue').ComputedRef<HTMLButtonElement | HTMLInputElement | null>;
focus: () => void;
reset: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (value: Event) => any;
"update:modelValue": (value: File | readonly File[] | null) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onChange?: ((value: Event) => any) | undefined;
"onUpdate:modelValue"?: ((value: File | readonly File[] | null) => any) | undefined;
}>, {
disabled: boolean;
autofocus: boolean;
form: string;
id: string;
name: string;
placeholder: string;
required: boolean;
size: import('../..').Size;
state: import('../..').ValidationState;
label: string;
ariaLabel: string;
labelClass: import('../../types/AnyValuedAttributes').ClassValue;
multiple: boolean;
plain: boolean;
ariaLabelledby: string;
ariaLiveFormatter: (files: readonly File[]) => string;
accept: string | readonly string[];
browseText: string;
capture: "user" | "environment";
directory: boolean;
dropPlaceholder: string;
fileNameFormatter: (files: readonly File[]) => string;
noButton: boolean;
noDrop: boolean;
showFileNames: boolean;
}, {}, {}, {}, 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;
};
};