/** * YhDialog - 对话框 * @description 旗舰级弹窗组件,深度对标 市面组件库 / Naive UI。支持亚克力玻璃态、智能拖拽、锁定滚动、焦点捕获等顶级能力。 */ import { type CSSProperties } from 'vue'; declare var __VLS_13: {}, __VLS_31: {}, __VLS_37: {}; type __VLS_Slots = {} & { header?: (props: typeof __VLS_13) => any; } & { default?: (props: typeof __VLS_31) => any; } & { footer?: (props: typeof __VLS_37) => any; }; declare const __VLS_component: import("vue").DefineComponent; }; readonly showIcon: { readonly type: BooleanConstructor; readonly default: true; }; readonly style: { readonly type: import("vue").PropType; }; readonly titleClass: StringConstructor; readonly titleStyle: import("vue").PropType; readonly transformOrigin: { readonly type: import("vue").PropType<"mouse" | "center">; readonly default: "mouse"; }; readonly type: { readonly type: import("vue").PropType<"error" | "success" | "warning" | "info" | "default">; readonly default: "default"; }; readonly loading: { readonly type: BooleanConstructor; readonly default: false; }; readonly content: { readonly type: import("vue").PropType; }; readonly contentClass: StringConstructor; readonly contentStyle: import("vue").PropType; readonly action: { readonly type: import("vue").PropType<() => import("vue").VNode | import("vue").Component>; }; readonly actionClass: StringConstructor; readonly actionStyle: import("vue").PropType; readonly autoFocus: { readonly type: BooleanConstructor; readonly default: true; }; readonly width: { readonly type: import("vue").PropType; readonly default: "50%"; }; readonly top: { readonly type: StringConstructor; readonly default: "15vh"; }; readonly fullscreen: { readonly type: BooleanConstructor; readonly default: false; }; readonly alignCenter: { readonly type: BooleanConstructor; readonly default: false; }; readonly center: { readonly type: BooleanConstructor; readonly default: false; }; readonly glass: { readonly type: BooleanConstructor; readonly default: false; }; readonly draggable: { readonly type: BooleanConstructor; readonly default: false; }; readonly lockScroll: { readonly type: BooleanConstructor; readonly default: true; }; readonly modal: { readonly type: BooleanConstructor; readonly default: true; }; readonly closeOnClickModal: { readonly type: BooleanConstructor; readonly default: true; }; readonly closeOnPressEscape: { readonly type: BooleanConstructor; readonly default: true; }; readonly showClose: { readonly type: BooleanConstructor; readonly default: true; }; readonly closeIcon: { readonly type: StringConstructor; readonly default: "close"; }; readonly destroyOnClose: { readonly type: BooleanConstructor; readonly default: false; }; readonly overflow: { readonly type: BooleanConstructor; readonly default: false; }; readonly showFooter: { readonly type: BooleanConstructor; readonly default: true; }; readonly cancelText: { readonly type: StringConstructor; readonly default: ""; }; readonly confirmText: { readonly type: StringConstructor; readonly default: ""; }; readonly modalClass: StringConstructor; readonly customClass: StringConstructor; readonly zIndex: { readonly type: NumberConstructor; readonly default: 2000; }; readonly beforeClose: { readonly type: import("vue").PropType<(done: () => void) => void>; }; readonly teleportTo: { readonly type: import("vue").PropType; readonly default: "body"; }; readonly headerAlignCenter: { readonly type: BooleanConstructor; readonly default: false; }; readonly headerAlign: { readonly type: import("vue").PropType<"left" | "center" | "right">; readonly default: "left"; }; readonly contentAlign: { readonly type: import("vue").PropType<"left" | "center" | "right">; readonly default: "left"; }; readonly footerAlignCenter: { readonly type: BooleanConstructor; readonly default: false; }; readonly footerAlign: { readonly type: import("vue").PropType<"left" | "center" | "right">; readonly default: "right"; }; readonly swapFooterButtons: { readonly type: BooleanConstructor; readonly default: false; }; readonly themeOverrides: { readonly type: import("vue").PropType; readonly default: undefined; }; }>, { visible: import("vue").Ref; dialogRef: import("vue").Ref; handleClose: () => void; handleCancel: () => void; handleConfirm: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, { readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars; readonly type: "default" | "info" | "warning" | "error" | "success"; readonly loading: boolean; readonly top: string; readonly zIndex: number; readonly width: string | number; readonly transformOrigin: "center" | "mouse"; readonly overflow: boolean; readonly center: boolean; readonly glass: boolean; readonly closeOnPressEscape: boolean; readonly fullscreen: boolean; readonly modelValue: boolean; readonly draggable: boolean; readonly modal: boolean; readonly closeOnClickModal: boolean; readonly showClose: boolean; readonly closeIcon: string; readonly destroyOnClose: boolean; readonly teleportTo: string | HTMLElement; readonly showFooter: boolean; readonly lockScroll: boolean; readonly showIcon: boolean; readonly autoFocus: boolean; readonly alignCenter: boolean; readonly cancelText: string; readonly confirmText: string; readonly headerAlignCenter: boolean; readonly headerAlign: "left" | "right" | "center"; readonly contentAlign: "left" | "right" | "center"; readonly footerAlignCenter: boolean; readonly footerAlign: "left" | "right" | "center"; readonly swapFooterButtons: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; declare const _default: __VLS_WithSlots; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };