Files
pig-farm-controller-fe/node_modules/element-plus/lib/components/dialog/src/constants.d.ts
2025-09-19 14:25:20 +08:00

13 lines
516 B
TypeScript

import type { CSSProperties, ComputedRef, InjectionKey, Ref } from 'vue';
import type { UseNamespaceReturn } from 'element-plus/es/hooks';
export type DialogContext = {
dialogRef: Ref<HTMLElement | undefined>;
headerRef: Ref<HTMLElement | undefined>;
bodyId: Ref<string>;
ns: UseNamespaceReturn;
rendered: Ref<boolean>;
style: ComputedRef<CSSProperties>;
};
export declare const dialogInjectionKey: InjectionKey<DialogContext>;
export declare const DEFAULT_DIALOG_TRANSITION = "dialog-fade";