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

var MenuProps = {
  collapsed: Boolean,
  expanded: {
    type: Array
  },
  defaultExpanded: {
    type: Array
  },
  expandMutex: Boolean,
  expandType: {
    type: String,
    "default": "normal",
    validator: function validator(val) {
      return ["normal", "popup"].includes(val);
    }
  },
  logo: {
    type: Function
  },
  operations: {
    type: Function
  },
  theme: {
    type: String,
    "default": "light",
    validator: function validator(val) {
      return ["light", "dark"].includes(val);
    }
  },
  value: {
    type: [String, Number]
  },
  defaultValue: {
    type: [String, Number]
  },
  width: {
    type: [String, Number, Array],
    "default": "232px"
  },
  onChange: Function,
  onExpand: Function
};
var MenuItemProps = {
  content: {
    type: [String, Function]
  },
  "default": {
    type: [String, Function]
  },
  disabled: Boolean,
  href: {
    type: String,
    "default": ""
  },
  icon: {
    type: Function
  },
  replace: Boolean,
  router: {
    type: Object
  },
  target: {
    type: String,
    validator: function validator(val) {
      return ["_blank", "_self", "_parent", "_top"].includes(val);
    }
  },
  to: {
    type: [String, Object]
  },
  value: {
    type: [String, Number]
  },
  onClick: Function
};
var MenuGroupProps = {
  title: {
    type: [String, Function]
  }
};
var HeadMenuProps = {
  expanded: {
    type: Array
  },
  defaultExpanded: {
    type: Array
  },
  expandType: {
    type: String,
    "default": "normal",
    validator: function validator(val) {
      return ["normal", "popup"].includes(val);
    }
  },
  logo: {
    type: Function
  },
  operations: {
    type: Function
  },
  theme: {
    type: String,
    "default": "light",
    validator: function validator(val) {
      return ["light", "dark"].includes(val);
    }
  },
  value: {
    type: [String, Number]
  },
  defaultValue: {
    type: [String, Number]
  },
  onChange: Function,
  onExpand: Function
};
var SubMenuProps = {
  content: {
    type: [String, Function]
  },
  "default": {
    type: [String, Function]
  },
  disabled: Boolean,
  icon: {
    type: Function
  },
  title: {
    type: [String, Function]
  },
  value: {
    type: [String, Number]
  }
};
var props = {
  MenuProps: MenuProps,
  MenuItemProps: MenuItemProps,
  MenuGroupProps: MenuGroupProps,
  SubMenuProps: SubMenuProps
};

export { HeadMenuProps, MenuGroupProps, MenuItemProps, MenuProps, SubMenuProps, props as default };
//# sourceMappingURL=props.js.map
