oui-kit
Version:
🎯 *UI toolkit with a French touch* 🇫🇷
56 lines (55 loc) • 1.77 kB
TypeScript
type __VLS_Props = {
title?: string;
titleChoose?: string;
description?: string;
accept?: string;
disabled?: boolean;
required?: boolean;
id?: string;
openFileDialog?: (options: {
accept?: string;
multiple?: boolean;
}) => Promise<undefined | {
dataUri: string;
filename: string;
}>;
};
type __VLS_PublicProps = {
modelValue: string | undefined;
'filename'?: string | undefined;
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
title?(_: {}): any;
description?(_: {}): any;
default?(_: {}): any;
preview?(_: {
filename: string | undefined;
}): any;
};
refs: {
dropZoneRef: HTMLDivElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:modelValue": (value: string | undefined) => any;
"update:filename": (value: string | undefined) => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
"onUpdate:filename"?: ((value: string | undefined) => any) | undefined;
}>, {
disabled: boolean;
accept: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
dropZoneRef: HTMLDivElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};