This commit is contained in:
2025-09-24 20:35:15 +08:00
parent 39679f7330
commit 8a458ff0a4
12033 changed files with 1537546 additions and 13292 deletions

View File

@@ -0,0 +1,32 @@
import type { CSSProperties, Ref, TransitionProps } from 'vue';
import type { DialogProps } from './dialog';
export declare const useDialog: (props: DialogProps, targetRef: Ref<HTMLElement | undefined>) => {
afterEnter: () => void;
afterLeave: () => void;
beforeLeave: () => void;
handleClose: () => void;
onModalClick: () => void;
close: () => void;
doClose: () => void;
onOpenAutoFocus: () => void;
onCloseAutoFocus: () => void;
onCloseRequested: () => void;
onFocusoutPrevented: (event: CustomEvent) => void;
titleId: Ref<string>;
bodyId: Ref<string>;
closed: Ref<boolean>;
style: import("vue").ComputedRef<CSSProperties>;
overlayDialogStyle: import("vue").ComputedRef<CSSProperties>;
rendered: Ref<boolean>;
visible: Ref<boolean>;
zIndex: Ref<number>;
transitionConfig: import("vue").ComputedRef<TransitionProps | {
name: string | TransitionProps;
onAfterEnter: () => void;
onBeforeLeave: () => void;
onAfterLeave: () => void;
}>;
_draggable: import("vue").ComputedRef<boolean>;
_alignCenter: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
_overflow: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
};