/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 built by swimly
 * @license MIT
 */

'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var popupProps = {
  attach: {
    type: [String, Function],
    default: "body"
  },
  content: {
    type: [String, Function]
  },
  default: {
    type: [String, Function]
  },
  delay: {
    type: [Number, Array]
  },
  destroyOnClose: Boolean,
  disabled: Boolean,
  hideEmptyPopup: Boolean,
  overlayClassName: {
    type: [String, Object, Array]
  },
  overlayInnerClassName: {
    type: [String, Object, Array]
  },
  overlayInnerStyle: {
    type: [Boolean, Object, Function]
  },
  overlayStyle: {
    type: [Boolean, Object, Function]
  },
  placement: {
    type: String,
    default: "top"
  },
  showArrow: Boolean,
  trigger: {
    type: String,
    default: "hover",
    validator(val) {
      if (!val) return true;
      return ["hover", "click", "focus", "context-menu"].includes(val);
    }
  },
  triggerElement: {
    type: [String, Function]
  },
  visible: {
    type: Boolean,
    default: void 0
  },
  defaultVisible: Boolean,
  zIndex: {
    type: Number
  },
  onScroll: Function,
  onVisibleChange: Function
};

exports["default"] = popupProps;
//# sourceMappingURL=props.js.map
