UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

52 lines (51 loc) 2.39 kB
import { default as _Modal } from './src/index.vue'; export declare const Modal: import('../withInstall').SFCWithInstall<{ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./src/types').Props> & Readonly<{ onClose?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onOk?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { close: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; ok: (...args: any[]) => void; }, import('vue').PublicProps, { title: string; maskClose: boolean; }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, { contentEl: HTMLDivElement; headerEl: HTMLDivElement; }, any, import('vue').ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import('./src/types').Props> & Readonly<{ onClose?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onOk?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, { title: string; maskClose: boolean; }>; __isFragment?: never; __isTeleport?: never; __isSuspense?: never; } & import('vue').ComponentOptionsBase<Readonly<import('./src/types').Props> & Readonly<{ onClose?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onOk?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { close: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; ok: (...args: any[]) => void; }, string, { title: string; maskClose: boolean; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => { $slots: { default?(_: {}): any; }; })> & Record<string, any>; export type ModalInstance = InstanceType<typeof _Modal>;