UNPKG

@minto-ai/mt-ui

Version:

UI组件库

166 lines (165 loc) 5.4 kB
declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ default: any; title: any; footer: any; }> & { default: any; title: any; footer: any; }; refs: {}; rootEl: any; }; type __VLS_TemplateResult = ReturnType<typeof __VLS_template>; declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{ readonly modelValue: { readonly type: BooleanConstructor; readonly default: false; }; readonly appendTo: { readonly type: import('vue').PropType<string | HTMLElement>; readonly default: "body"; }; readonly mask: { readonly type: BooleanConstructor; readonly default: true; }; readonly destroyOnClose: { readonly type: BooleanConstructor; readonly default: false; }; readonly top: { readonly type: import('vue').PropType<string | number>; readonly validator: (value: number | string) => boolean; readonly default: "15vh"; }; readonly width: { readonly type: import('vue').PropType<string | number>; readonly validator: (value: number | string) => boolean; readonly default: "fit-content"; }; readonly padding: { readonly type: import('vue').PropType<Array<number | number> | number | string>; readonly validator: (value: number | string | Array<number | string>) => boolean; readonly default: () => number[]; }; readonly showClose: { readonly type: BooleanConstructor; readonly default: true; }; readonly title: { readonly type: StringConstructor; readonly default: ""; }; readonly alignCenter: { readonly type: BooleanConstructor; readonly default: false; }; readonly closeOnClickModal: { readonly type: BooleanConstructor; readonly default: true; }; readonly beforeClose: { readonly type: import('vue').PropType<() => Promise<any>>; readonly default: () => Promise<void>; }; readonly background: { readonly type: StringConstructor; readonly default: "#fff"; }; readonly zIndex: { readonly type: NumberConstructor; }; }>, { close: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { "update:modelValue": (args_0: boolean) => any; close: () => any; closed: () => any; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ readonly modelValue: { readonly type: BooleanConstructor; readonly default: false; }; readonly appendTo: { readonly type: import('vue').PropType<string | HTMLElement>; readonly default: "body"; }; readonly mask: { readonly type: BooleanConstructor; readonly default: true; }; readonly destroyOnClose: { readonly type: BooleanConstructor; readonly default: false; }; readonly top: { readonly type: import('vue').PropType<string | number>; readonly validator: (value: number | string) => boolean; readonly default: "15vh"; }; readonly width: { readonly type: import('vue').PropType<string | number>; readonly validator: (value: number | string) => boolean; readonly default: "fit-content"; }; readonly padding: { readonly type: import('vue').PropType<Array<number | number> | number | string>; readonly validator: (value: number | string | Array<number | string>) => boolean; readonly default: () => number[]; }; readonly showClose: { readonly type: BooleanConstructor; readonly default: true; }; readonly title: { readonly type: StringConstructor; readonly default: ""; }; readonly alignCenter: { readonly type: BooleanConstructor; readonly default: false; }; readonly closeOnClickModal: { readonly type: BooleanConstructor; readonly default: true; }; readonly beforeClose: { readonly type: import('vue').PropType<() => Promise<any>>; readonly default: () => Promise<void>; }; readonly background: { readonly type: StringConstructor; readonly default: "#fff"; }; readonly zIndex: { readonly type: NumberConstructor; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined; onClose?: (() => any) | undefined; onClosed?: (() => any) | undefined; }>, { readonly top: string | number; readonly background: string; readonly title: string; readonly mask: boolean; readonly width: string | number; readonly showClose: boolean; readonly padding: string | number | number[]; readonly modelValue: boolean; readonly appendTo: string | HTMLElement; readonly destroyOnClose: boolean; readonly alignCenter: boolean; readonly closeOnClickModal: boolean; readonly beforeClose: () => Promise<any>; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };