props.ts 734 B

1234567891011121314151617181920212223242526272829303132
  1. import type { ClPopupDirection, PassThroughProps } from "../../types";
  2. export type ClPopupHeaderPassThrough = {
  3. className?: string;
  4. text?: PassThroughProps;
  5. };
  6. export type ClPopupPassThrough = {
  7. className?: string;
  8. inner?: PassThroughProps;
  9. header?: ClPopupHeaderPassThrough;
  10. container?: PassThroughProps;
  11. mask?: PassThroughProps;
  12. draw?: PassThroughProps;
  13. };
  14. export type ClPopupProps = {
  15. className?: string;
  16. pt?: ClPopupPassThrough;
  17. modelValue?: boolean;
  18. title?: string;
  19. direction?: ClPopupDirection;
  20. size?: any;
  21. showHeader?: boolean;
  22. showClose?: boolean;
  23. showMask?: boolean;
  24. maskClosable?: boolean;
  25. swipeClose?: boolean;
  26. swipeCloseThreshold?: number;
  27. pointerEvents?: "auto" | "none";
  28. keepAlive?: boolean;
  29. };