oui-kit
Version:
🎯 *UI toolkit with a French touch* 🇫🇷
57 lines (56 loc) • 1.75 kB
TypeScript
type __VLS_Props = {
close?: boolean;
allowCancel?: boolean;
title?: string;
transition?: string;
forceSheet?: boolean;
noSheet?: boolean;
size?: 'small' | 'normal' | 'large' | 'max';
};
declare const __VLS_defaults: {
modelValue: boolean;
};
type __VLS_PublicProps = {
modelValue?: typeof __VLS_defaults['modelValue'];
} & __VLS_Props;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
close?(_: {}): any;
title?(_: {}): any;
header?(_: {}): any;
default?(_: {}): any;
footer?(_: {}): any;
};
refs: {
root: 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, {
cancel: () => any;
close: () => any;
"update:modelValue": (value: boolean) => any;
open: () => any;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onCancel?: (() => any) | undefined;
onClose?: (() => any) | undefined;
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
onOpen?: (() => any) | undefined;
}>, {
close: boolean;
size: "small" | "normal" | "large" | "max";
allowCancel: boolean;
forceSheet: boolean;
noSheet: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
root: 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;
};
};