'use strict';

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

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

const dropdownProps = () => ({
  "arrow": type.someType([Boolean, Object]),
  "trigger": {
    type: [Array, String]
  },
  "menu": type.objectType(),
  "overlay": index.default.any,
  /** @deprecated Please use `open` instead */
  "visible": type.booleanType(),
  "open": type.booleanType(),
  "disabled": type.booleanType(),
  "danger": type.booleanType(),
  "autofocus": type.booleanType(),
  "align": type.objectType(),
  "getPopupContainer": Function,
  "prefixCls": String,
  "transitionName": String,
  "placement": String,
  "overlayClassName": String,
  "overlayStyle": type.objectType(),
  "forceRender": type.booleanType(),
  "mouseEnterDelay": Number,
  "mouseLeaveDelay": Number,
  "openClassName": String,
  "minOverlayWidthMatchTrigger": type.booleanType(),
  "destroyPopupOnHide": type.booleanType(),
  /** @deprecated Please use `onOpenChange` instead */
  "onVisibleChange": {
    type: Function
  },
  /** @deprecated Please use `onUpdate:open` instead */
  "onUpdate:visible": {
    type: Function
  },
  "onOpenChange": {
    type: Function
  },
  "onUpdate:open": {
    type: Function
  }
});
const buttonTypesProps = buttonTypes.buttonProps();
const dropdownButtonProps = () => ({
  ...dropdownProps(),
  type: buttonTypesProps.type,
  size: String,
  htmlType: buttonTypesProps.htmlType,
  href: String,
  disabled: type.booleanType(),
  prefixCls: String,
  icon: index.default.any,
  title: String,
  loading: buttonTypesProps.loading,
  onClick: type.eventType()
});

exports.default = dropdownProps;
exports.dropdownButtonProps = dropdownButtonProps;
exports.dropdownProps = dropdownProps;
//# sourceMappingURL=props.js.map
