1f51fbeb3c1d1f5cfead58f5f4efbfbab26e6c6161ef038768afc53cb2ab23c5707387812c5f12b0221302f95143fd7a7d847c5dfb313df5df6e9fb59b01fb 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import type { CSSProperties, StyleValue } from 'vue';
  2. import type { UsePopperReturn } from 'element-plus/es/hooks';
  3. import type { UsePopperContentReturn } from './use-content';
  4. import type { PopperContentProps } from '../content';
  5. export declare const usePopperContentDOM: (props: PopperContentProps, { attributes, styles, role, }: Pick<UsePopperReturn, "attributes" | "styles"> & Pick<UsePopperContentReturn, "role">) => {
  6. ariaModal: import("vue").ComputedRef<string | undefined>;
  7. arrowStyle: import("vue").ComputedRef<CSSProperties>;
  8. contentAttrs: import("vue").ComputedRef<{
  9. [key: string]: string | boolean;
  10. }>;
  11. contentClass: import("vue").ComputedRef<((string | {
  12. [x: string]: boolean;
  13. } | (string | {
  14. [x: string]: boolean;
  15. } | (string | {
  16. [x: string]: boolean;
  17. } | (string | {
  18. [x: string]: boolean;
  19. } | (string | {
  20. [x: string]: boolean;
  21. } | (string | {
  22. [x: string]: boolean;
  23. } | (string | {
  24. [x: string]: boolean;
  25. } | (string | {
  26. [x: string]: boolean;
  27. } | (string | {
  28. [x: string]: boolean;
  29. } | (string | {
  30. [x: string]: boolean;
  31. } | (string | {
  32. [x: string]: boolean;
  33. } | (string | {
  34. [x: string]: boolean;
  35. } | any)[])[])[])[])[])[])[])[])[])[])[]) | undefined)[]>;
  36. contentStyle: import("vue").ComputedRef<StyleValue[]>;
  37. contentZIndex: import("vue").Ref<number>;
  38. updateZIndex: () => void;
  39. };
  40. export type UsePopperContentDOMReturn = ReturnType<typeof usePopperContentDOM>;