'use strict';

require('../../../utils/index.cjs');
var vueTypes = require('../../../utils/vue/vueTypes.cjs');

function returnEmptyString() {
  return "";
}
function returnDocument(element) {
  if (element)
    return element.ownerDocument;
  return window.document;
}
function noop() {
}
function triggerProps() {
  return {
    action: vueTypes.default.oneOfType([vueTypes.default.string, vueTypes.default.arrayOf(vueTypes.default.string)]).def([]),
    showAction: vueTypes.default.any.def([]),
    hideAction: vueTypes.default.any.def([]),
    getPopupClassNameFromAlign: vueTypes.default.any.def(returnEmptyString),
    onPopupVisibleChange: Function,
    afterPopupVisibleChange: vueTypes.default.func.def(noop),
    popup: vueTypes.default.any,
    popupStyle: { type: Object, default: void 0 },
    prefixCls: vueTypes.default.string.def("rc-trigger-popup"),
    popupClassName: vueTypes.default.string.def(""),
    popupPlacement: String,
    builtinPlacements: vueTypes.default.object,
    popupTransitionName: String,
    popupAnimation: vueTypes.default.any,
    mouseEnterDelay: vueTypes.default.number.def(0),
    mouseLeaveDelay: vueTypes.default.number.def(0.1),
    zIndex: Number,
    focusDelay: vueTypes.default.number.def(0),
    blurDelay: vueTypes.default.number.def(0.15),
    getPopupContainer: Function,
    getDocument: vueTypes.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: vueTypes.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.cjs.map
