/**
 * ldesign v0.2.2
 * (c) 2022年9月20日 swimly
 * @license MIT
 */

'use strict';

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

var DropdownProps = {
  direction: {
    type: String,
    "default": "right",
    validator: function validator(val) {
      return ["left", "right"].includes(val);
    }
  },
  disabled: Boolean,
  hideAfterItemClick: {
    type: Boolean,
    "default": true
  },
  maxColumnWidth: {
    type: [String, Number],
    "default": 100
  },
  maxHeight: {
    type: [Number, String],
    "default": 300
  },
  minColumnWidth: {
    type: [String, Number],
    "default": 10
  },
  options: {
    type: Array,
    "default": function _default() {
      return [];
    }
  },
  placement: {
    type: String,
    "default": "bottom-left",
    validator: function validator(val) {
      return ["top", "left", "right", "bottom", "top-left", "top-right", "bottom-left", "bottom-right", "left-top", "left-bottom", "right-top", "right-bottom"].includes(val);
    }
  },
  popupProps: {
    type: Object
  },
  trigger: {
    type: String,
    "default": "hover",
    validator: function validator(val) {
      return ["hover", "click", "focus", "context-menu"].includes(val);
    }
  },
  onClick: Function
};
var DropdownItemProps = {
  active: Boolean,
  content: {
    type: [String, Function],
    "default": ""
  },
  disabled: Boolean,
  divider: Boolean,
  value: {
    type: [String, Number, Object]
  },
  path: String,
  hasChildren: {
    type: Boolean,
    "default": false
  },
  onClick: Function
};
var props = {
  DropdownProps: DropdownProps,
  DropdownItemProps: DropdownItemProps
};

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