UNPKG

@fesjs/fes-design

Version:
176 lines (175 loc) 5.84 kB
declare const Modal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ show: BooleanConstructor; displayDirective: { readonly type: import("vue").PropType<"show" | "if">; readonly default: "show"; }; closable: { readonly type: BooleanConstructor; readonly default: true; }; mask: { readonly type: BooleanConstructor; readonly default: true; }; maskClosable: { readonly type: BooleanConstructor; readonly default: true; }; escClosable: { readonly type: BooleanConstructor; readonly default: true; }; type: { readonly type: import("vue").PropType<"info" | "success" | "error" | "warning" | "confirm">; }; title: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | (() => import("vue").VNodeChild)>; okText: StringConstructor; okLoading: BooleanConstructor; cancelText: StringConstructor; showCancel: { readonly type: BooleanConstructor; readonly default: true; }; width: { readonly type: import("vue").PropType<string | number>; readonly default: 520; }; maxHeight: { readonly type: import("vue").PropType<string | number>; }; top: { readonly type: import("vue").PropType<string | number>; readonly default: 50; }; bottom: { readonly type: import("vue").PropType<string | number>; readonly default: 50; }; verticalCenter: BooleanConstructor; center: BooleanConstructor; footer: { readonly type: BooleanConstructor; readonly default: true; }; getContainer: { readonly type: import("vue").PropType<() => HTMLElement>; }; fullScreen: { readonly type: BooleanConstructor; readonly default: false; }; contentClass: StringConstructor; wrapperClass: StringConstructor; useAnimation: { readonly type: BooleanConstructor; readonly default: true; }; content: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | (() => import("vue").VNodeChild)>; forGlobal: BooleanConstructor; cancelLoading: BooleanConstructor; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "update:show" | "ok" | "after-enter" | "after-leave")[], "cancel" | "update:show" | "ok" | "after-enter" | "after-leave", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ show: BooleanConstructor; displayDirective: { readonly type: import("vue").PropType<"show" | "if">; readonly default: "show"; }; closable: { readonly type: BooleanConstructor; readonly default: true; }; mask: { readonly type: BooleanConstructor; readonly default: true; }; maskClosable: { readonly type: BooleanConstructor; readonly default: true; }; escClosable: { readonly type: BooleanConstructor; readonly default: true; }; type: { readonly type: import("vue").PropType<"info" | "success" | "error" | "warning" | "confirm">; }; title: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | (() => import("vue").VNodeChild)>; okText: StringConstructor; okLoading: BooleanConstructor; cancelText: StringConstructor; showCancel: { readonly type: BooleanConstructor; readonly default: true; }; width: { readonly type: import("vue").PropType<string | number>; readonly default: 520; }; maxHeight: { readonly type: import("vue").PropType<string | number>; }; top: { readonly type: import("vue").PropType<string | number>; readonly default: 50; }; bottom: { readonly type: import("vue").PropType<string | number>; readonly default: 50; }; verticalCenter: BooleanConstructor; center: BooleanConstructor; footer: { readonly type: BooleanConstructor; readonly default: true; }; getContainer: { readonly type: import("vue").PropType<() => HTMLElement>; }; fullScreen: { readonly type: BooleanConstructor; readonly default: false; }; contentClass: StringConstructor; wrapperClass: StringConstructor; useAnimation: { readonly type: BooleanConstructor; readonly default: true; }; content: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | (() => import("vue").VNodeChild)>; forGlobal: BooleanConstructor; cancelLoading: BooleanConstructor; }>> & Readonly<{ onCancel?: (...args: any[]) => any; "onUpdate:show"?: (...args: any[]) => any; onOk?: (...args: any[]) => any; "onAfter-enter"?: (...args: any[]) => any; "onAfter-leave"?: (...args: any[]) => any; }>, { closable: boolean; center: boolean; top: string | number; bottom: string | number; width: string | number; footer: boolean; show: boolean; displayDirective: "show" | "if"; mask: boolean; maskClosable: boolean; escClosable: boolean; showCancel: boolean; okLoading: boolean; fullScreen: boolean; useAnimation: boolean; verticalCenter: boolean; forGlobal: boolean; cancelLoading: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default Modal;