import { ExtractPublicPropTypes } from "../../_utils/naive/extract-public-props.js"; import { MaybeArray } from "../../_utils/vue/call.js"; import "../../_utils/index.js"; import { ButtonProps } from "../../button/src/Button.js"; import { CardSize } from "../../card/src/public-types.js"; import { CardSegmented, CardSlots } from "../../card/src/Card.js"; import "../../card/index.js"; import { IconPlacement } from "../../dialog/src/interface.js"; import { ModalTheme, ModalThemeOverrides } from "../styles/light.js"; import "../styles/index.js"; import { ModalDraggableOptions } from "./interface.js"; import { DialogSlots } from "../../dialog/src/Dialog.js"; import "../../dialog/index.js"; import "../../index.js"; import { CSSProperties, PropType, Ref, SlotsType, VNode } from "vue"; //#region src/modal/src/Modal.d.ts declare const modalProps: { draggable: PropType; onEsc: PropType<() => void>; 'onUpdate:show': PropType void>>; onUpdateShow: PropType void>>; onAfterEnter: PropType<() => void>; onBeforeLeave: PropType<() => void>; onAfterLeave: PropType<() => void>; onClose: PropType<() => Promise | boolean | any>; onPositiveClick: PropType<() => Promise | boolean | any>; onNegativeClick: PropType<() => Promise | boolean | any>; onMaskClick: PropType<(e: MouseEvent) => void>; internalDialog: BooleanConstructor; internalModal: BooleanConstructor; internalAppear: { type: PropType; default: undefined; }; overlayStyle: PropType; onBeforeHide: PropType<() => void>; onAfterHide: PropType<() => void>; onHide: PropType<(value: false) => void>; unstableShowMask: { type: BooleanConstructor; default: undefined; }; icon: PropType<() => import("vue").VNodeChild>; type: { readonly type: PropType<"info" | "success" | "warning" | "error" | "default">; readonly default: "default"; }; title: PropType import("vue").VNodeChild)>; closable: { readonly type: BooleanConstructor; readonly default: true; }; negativeText: StringConstructor; positiveText: StringConstructor; positiveButtonProps: PropType; negativeButtonProps: PropType; content: PropType import("vue").VNodeChild)>; action: PropType<() => import("vue").VNodeChild>; showIcon: { readonly type: BooleanConstructor; readonly default: true; }; loading: BooleanConstructor; bordered: BooleanConstructor; iconPlacement: PropType; titleClass: PropType>; titleStyle: PropType; contentClass: PropType>; contentStyle: PropType; actionClass: PropType>; actionStyle: PropType; closeFocusable: BooleanConstructor; contentScrollable: BooleanConstructor; headerClass: StringConstructor; headerStyle: PropType; headerExtraClass: StringConstructor; headerExtraStyle: PropType; footerClass: StringConstructor; footerStyle: PropType; embedded: BooleanConstructor; segmented: { readonly type: PropType; readonly default: false; }; size: PropType; hoverable: BooleanConstructor; role: StringConstructor; tag: { readonly type: PropType; readonly default: "div"; }; cover: PropType<() => import("vue").VNodeChild>; footer: PropType<() => import("vue").VNodeChild>; headerExtra: PropType<() => import("vue").VNodeChild>; show: BooleanConstructor; showMask: { type: BooleanConstructor; default: boolean; }; maskClosable: { type: BooleanConstructor; default: boolean; }; preset: PropType<"confirm" | "dialog" | "card">; to: PropType; displayDirective: { type: PropType<"if" | "show">; default: string; }; transformOrigin: { type: PropType<"center" | "mouse">; default: string; }; zIndex: NumberConstructor; autoFocus: { type: BooleanConstructor; default: boolean; }; trapFocus: { type: BooleanConstructor; default: boolean; }; closeOnEsc: { type: BooleanConstructor; default: boolean; }; blockScroll: { type: BooleanConstructor; default: boolean; }; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }; type ModalProps = ExtractPublicPropTypes; type ModalSlots = Omit & { default?: (props: { draggableClass: string; }) => VNode[]; }; declare const _default: import("vue").DefineComponent; onEsc: PropType<() => void>; 'onUpdate:show': PropType void>>; onUpdateShow: PropType void>>; onAfterEnter: PropType<() => void>; onBeforeLeave: PropType<() => void>; onAfterLeave: PropType<() => void>; onClose: PropType<() => Promise | boolean | any>; onPositiveClick: PropType<() => Promise | boolean | any>; onNegativeClick: PropType<() => Promise | boolean | any>; onMaskClick: PropType<(e: MouseEvent) => void>; internalDialog: BooleanConstructor; internalModal: BooleanConstructor; internalAppear: { type: PropType; default: undefined; }; overlayStyle: PropType; onBeforeHide: PropType<() => void>; onAfterHide: PropType<() => void>; onHide: PropType<(value: false) => void>; unstableShowMask: { type: BooleanConstructor; default: undefined; }; icon: PropType<() => import("vue").VNodeChild>; type: { readonly type: PropType<"info" | "success" | "warning" | "error" | "default">; readonly default: "default"; }; title: PropType import("vue").VNodeChild)>; closable: { readonly type: BooleanConstructor; readonly default: true; }; negativeText: StringConstructor; positiveText: StringConstructor; positiveButtonProps: PropType; negativeButtonProps: PropType; content: PropType import("vue").VNodeChild)>; action: PropType<() => import("vue").VNodeChild>; showIcon: { readonly type: BooleanConstructor; readonly default: true; }; loading: BooleanConstructor; bordered: BooleanConstructor; iconPlacement: PropType; titleClass: PropType>; titleStyle: PropType; contentClass: PropType>; contentStyle: PropType; actionClass: PropType>; actionStyle: PropType; closeFocusable: BooleanConstructor; contentScrollable: BooleanConstructor; headerClass: StringConstructor; headerStyle: PropType; headerExtraClass: StringConstructor; headerExtraStyle: PropType; footerClass: StringConstructor; footerStyle: PropType; embedded: BooleanConstructor; segmented: { readonly type: PropType; readonly default: false; }; size: PropType; hoverable: BooleanConstructor; role: StringConstructor; tag: { readonly type: PropType; readonly default: "div"; }; cover: PropType<() => import("vue").VNodeChild>; footer: PropType<() => import("vue").VNodeChild>; headerExtra: PropType<() => import("vue").VNodeChild>; show: BooleanConstructor; showMask: { type: BooleanConstructor; default: boolean; }; maskClosable: { type: BooleanConstructor; default: boolean; }; preset: PropType<"confirm" | "dialog" | "card">; to: PropType; displayDirective: { type: PropType<"if" | "show">; default: string; }; transformOrigin: { type: PropType<"center" | "mouse">; default: string; }; zIndex: NumberConstructor; autoFocus: { type: BooleanConstructor; default: boolean; }; trapFocus: { type: BooleanConstructor; default: boolean; }; closeOnEsc: { type: BooleanConstructor; default: boolean; }; blockScroll: { type: BooleanConstructor; default: boolean; }; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }>, { mergedClsPrefix: Ref; namespace: import("vue").ComputedRef; isMounted: Readonly>; containerRef: Ref; presetProps: import("vue").ComputedRef; handleEsc: (e: KeyboardEvent) => void; handleAfterLeave: () => void; handleClickoutside: (e: MouseEvent) => void; handleBeforeLeave: () => void; doUpdateShow: (show: boolean) => void; handleNegativeClick: () => void; handlePositiveClick: () => void; handleCloseClick: () => void; cssVars: Ref | undefined; themeClass: Ref | undefined; onRender: (() => void) | undefined; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly; onEsc: PropType<() => void>; 'onUpdate:show': PropType void>>; onUpdateShow: PropType void>>; onAfterEnter: PropType<() => void>; onBeforeLeave: PropType<() => void>; onAfterLeave: PropType<() => void>; onClose: PropType<() => Promise | boolean | any>; onPositiveClick: PropType<() => Promise | boolean | any>; onNegativeClick: PropType<() => Promise | boolean | any>; onMaskClick: PropType<(e: MouseEvent) => void>; internalDialog: BooleanConstructor; internalModal: BooleanConstructor; internalAppear: { type: PropType; default: undefined; }; overlayStyle: PropType; onBeforeHide: PropType<() => void>; onAfterHide: PropType<() => void>; onHide: PropType<(value: false) => void>; unstableShowMask: { type: BooleanConstructor; default: undefined; }; icon: PropType<() => import("vue").VNodeChild>; type: { readonly type: PropType<"info" | "success" | "warning" | "error" | "default">; readonly default: "default"; }; title: PropType import("vue").VNodeChild)>; closable: { readonly type: BooleanConstructor; readonly default: true; }; negativeText: StringConstructor; positiveText: StringConstructor; positiveButtonProps: PropType; negativeButtonProps: PropType; content: PropType import("vue").VNodeChild)>; action: PropType<() => import("vue").VNodeChild>; showIcon: { readonly type: BooleanConstructor; readonly default: true; }; loading: BooleanConstructor; bordered: BooleanConstructor; iconPlacement: PropType; titleClass: PropType>; titleStyle: PropType; contentClass: PropType>; contentStyle: PropType; actionClass: PropType>; actionStyle: PropType; closeFocusable: BooleanConstructor; contentScrollable: BooleanConstructor; headerClass: StringConstructor; headerStyle: PropType; headerExtraClass: StringConstructor; headerExtraStyle: PropType; footerClass: StringConstructor; footerStyle: PropType; embedded: BooleanConstructor; segmented: { readonly type: PropType; readonly default: false; }; size: PropType; hoverable: BooleanConstructor; role: StringConstructor; tag: { readonly type: PropType; readonly default: "div"; }; cover: PropType<() => import("vue").VNodeChild>; footer: PropType<() => import("vue").VNodeChild>; headerExtra: PropType<() => import("vue").VNodeChild>; show: BooleanConstructor; showMask: { type: BooleanConstructor; default: boolean; }; maskClosable: { type: BooleanConstructor; default: boolean; }; preset: PropType<"confirm" | "dialog" | "card">; to: PropType; displayDirective: { type: PropType<"if" | "show">; default: string; }; transformOrigin: { type: PropType<"center" | "mouse">; default: string; }; zIndex: NumberConstructor; autoFocus: { type: BooleanConstructor; default: boolean; }; trapFocus: { type: BooleanConstructor; default: boolean; }; closeOnEsc: { type: BooleanConstructor; default: boolean; }; blockScroll: { type: BooleanConstructor; default: boolean; }; theme: PropType; themeOverrides: PropType; builtinThemeOverrides: PropType; }>> & Readonly<{}>, { loading: boolean; type: "error" | "info" | "success" | "warning" | "default"; showIcon: boolean; bordered: boolean; closable: boolean; show: boolean; transformOrigin: "center" | "mouse"; tag: keyof HTMLElementTagNameMap; contentScrollable: boolean; embedded: boolean; segmented: boolean | CardSegmented; hoverable: boolean; closeFocusable: boolean; displayDirective: "show" | "if"; blockScroll: boolean; closeOnEsc: boolean; autoFocus: boolean; maskClosable: boolean; showMask: boolean; trapFocus: boolean; internalDialog: boolean; internalModal: boolean; internalAppear: boolean | undefined; unstableShowMask: boolean; }, SlotsType, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; //#endregion export { ModalProps, ModalSlots, _default as default, modalProps };