constants.d.ts 452 B

1234567891011
  1. import type { CSSProperties, ComputedRef, InjectionKey, Ref } from 'vue';
  2. import type { UseNamespaceReturn } from 'element-plus/es/hooks';
  3. export type DialogContext = {
  4. dialogRef: Ref<HTMLElement | undefined>;
  5. headerRef: Ref<HTMLElement | undefined>;
  6. bodyId: Ref<string>;
  7. ns: UseNamespaceReturn;
  8. rendered: Ref<boolean>;
  9. style: ComputedRef<CSSProperties>;
  10. };
  11. export declare const dialogInjectionKey: InjectionKey<DialogContext>;