vue-devui
Version:
DevUI components based on Vite and Vue3
49 lines (48 loc) • 1.64 kB
TypeScript
import { ModalType } from './modal-types';
import './modal.scss';
declare const _default: import("vue").DefineComponent<{
type: ModalType;
title: string;
draggable: boolean;
modelValue: boolean;
appendToBody: boolean;
showAnimation: boolean;
lockScroll: boolean;
closeOnClickOverlay: boolean;
showOverlay: boolean;
showClose: boolean;
escapable: boolean;
keepLast: boolean;
beforeClose?: ((done: () => void) => void) | undefined;
}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "update:modelValue")[], "close" | "update:modelValue", import("vue").PublicProps, Readonly<{
type: ModalType;
title: string;
draggable: boolean;
modelValue: boolean;
appendToBody: boolean;
showAnimation: boolean;
lockScroll: boolean;
closeOnClickOverlay: boolean;
showOverlay: boolean;
showClose: boolean;
escapable: boolean;
keepLast: boolean;
beforeClose?: ((done: () => void) => void) | undefined;
}> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
type: ModalType;
title: string;
draggable: boolean;
modelValue: boolean;
appendToBody: boolean;
showAnimation: boolean;
lockScroll: boolean;
closeOnClickOverlay: boolean;
showOverlay: boolean;
showClose: boolean;
escapable: boolean;
keepLast: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;