interface.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import _extends from "@babel/runtime/helpers/esm/extends";
  2. export const innerProps = {
  3. visible: Boolean,
  4. prefixCls: String,
  5. zIndex: Number,
  6. destroyPopupOnHide: Boolean,
  7. forceRender: Boolean,
  8. arrow: {
  9. type: Boolean,
  10. default: true
  11. },
  12. // Legacy Motion
  13. animation: [String, Object],
  14. transitionName: String,
  15. // Measure
  16. stretch: {
  17. type: String
  18. },
  19. // Align
  20. align: {
  21. type: Object
  22. },
  23. point: {
  24. type: Object
  25. },
  26. getRootDomNode: {
  27. type: Function
  28. },
  29. getClassNameFromAlign: {
  30. type: Function
  31. },
  32. onAlign: {
  33. type: Function
  34. },
  35. onMouseenter: {
  36. type: Function
  37. },
  38. onMouseleave: {
  39. type: Function
  40. },
  41. onMousedown: {
  42. type: Function
  43. },
  44. onTouchstart: {
  45. type: Function
  46. }
  47. };
  48. export const mobileProps = _extends(_extends({}, innerProps), {
  49. mobile: {
  50. type: Object
  51. }
  52. });
  53. export const popupProps = _extends(_extends({}, innerProps), {
  54. mask: Boolean,
  55. mobile: {
  56. type: Object
  57. },
  58. maskAnimation: String,
  59. maskTransitionName: String
  60. });