'use strict';

var index = require('../_util/vue-types/index.js');

function returnEmptyString() {
  return "";
}
function returnDocument(element) {
  if (element)
    return element.ownerDocument;
  return window.document;
}
function noop() {
}
const triggerProps = () => ({
  action: index.default.oneOfType([index.default.string, index.default.arrayOf(index.default.string)]).def([]),
  showAction: index.default.any.def([]),
  hideAction: index.default.any.def([]),
  getPopupClassNameFromAlign: index.default.any.def(returnEmptyString),
  onPopupVisibleChange: Function,
  afterPopupVisibleChange: index.default.func.def(noop),
  popup: index.default.any,
  popupStyle: { type: Object, default: void 0 },
  prefixCls: index.default.string.def("rc-trigger-popup"),
  popupClassName: index.default.string.def(""),
  popupPlacement: String,
  builtinPlacements: index.default.object,
  popupTransitionName: String,
  popupAnimation: index.default.any,
  mouseEnterDelay: index.default.number.def(0),
  mouseLeaveDelay: index.default.number.def(0.1),
  zIndex: Number,
  focusDelay: index.default.number.def(0),
  blurDelay: index.default.number.def(0.15),
  getPopupContainer: Function,
  getDocument: index.default.func.def(returnDocument),
  forceRender: { type: Boolean, default: void 0 },
  destroyPopupOnHide: { type: Boolean, default: false },
  mask: { type: Boolean, default: false },
  maskClosable: { type: Boolean, default: true },
  // onPopupAlign: PropTypes.func.def(noop),
  popupAlign: index.default.object.def(() => ({})),
  popupVisible: { type: Boolean, default: void 0 },
  defaultPopupVisible: { type: Boolean, default: false },
  maskTransitionName: String,
  maskAnimation: String,
  stretch: String,
  alignPoint: { type: Boolean, default: void 0 },
  // Maybe we can support user pass position in the future
  autoDestroy: { type: Boolean, default: false },
  mobile: Object,
  getTriggerDOMNode: Function
});

exports.noop = noop;
exports.triggerProps = triggerProps;
//# sourceMappingURL=interface.js.map
