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

'use strict';

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

var SelectProps = {
  autoWidth: Boolean,
  bordered: {
    type: Boolean,
    "default": true
  },
  borderless: Boolean,
  clearable: Boolean,
  collapsedItems: {
    type: Function
  },
  creatable: Boolean,
  disabled: Boolean,
  empty: {
    type: [String, Function],
    "default": ""
  },
  filter: {
    type: Function
  },
  filterable: Boolean,
  inputProps: {
    type: Object
  },
  inputValue: {
    type: [String, Number],
    "default": void 0
  },
  defaultInputValue: {
    type: [String, Number]
  },
  keys: {
    type: Object
  },
  loading: Boolean,
  loadingText: {
    type: [String, Function],
    "default": ""
  },
  max: {
    type: Number,
    "default": 0
  },
  minCollapsedNum: {
    type: Number,
    "default": 0
  },
  multiple: Boolean,
  options: {
    type: Array,
    "default": function _default() {
      return [];
    }
  },
  panelBottomContent: {
    type: [String, Function]
  },
  panelTopContent: {
    type: [String, Function]
  },
  placeholder: {
    type: String,
    "default": void 0
  },
  popupProps: {
    type: Object
  },
  popupVisible: {
    type: Boolean,
    "default": void 0
  },
  prefixIcon: {
    type: Function
  },
  readonly: Boolean,
  reserveKeyword: Boolean,
  scroll: {
    type: Object
  },
  selectInputProps: {
    type: Object
  },
  showArrow: {
    type: Boolean,
    "default": true
  },
  size: {
    type: String,
    "default": "medium",
    validator: function validator(val) {
      if (!val) return true;
      return ["small", "medium", "large"].includes(val);
    }
  },
  status: {
    type: String,
    validator: function validator(val) {
      if (!val) return true;
      return ["default", "success", "warning", "error"].includes(val);
    }
  },
  tagInputProps: {
    type: Object
  },
  tagProps: {
    type: Object
  },
  tips: {
    type: [String, Function]
  },
  value: {
    type: [String, Number, Object, Array],
    "default": void 0
  },
  defaultValue: {
    type: [String, Number, Object, Array]
  },
  valueDisplay: {
    type: [String, Function]
  },
  valueType: {
    type: String,
    "default": "value",
    validator: function validator(val) {
      if (!val) return true;
      return ["value", "object"].includes(val);
    }
  },
  onBlur: Function,
  onChange: Function,
  onClear: Function,
  onCreate: Function,
  onEnter: Function,
  onFocus: Function,
  onInputChange: Function,
  onPopupVisibleChange: Function,
  onRemove: Function,
  onSearch: Function,
  onVisibleChange: Function
};
var SelectOptionGroupProps = {
  divider: {
    type: Boolean,
    "default": true
  },
  label: {
    type: String,
    "default": ""
  }
};
var SelectOptionProps = {
  content: {
    type: [String, Function]
  },
  "default": {
    type: [String, Function]
  },
  disabled: Boolean,
  label: {
    type: String,
    "default": ""
  },
  value: {
    type: [String, Number]
  }
};
var props = {
  SelectProps: SelectProps,
  SelectOptionGroupProps: SelectOptionGroupProps,
  SelectOptionProps: SelectOptionProps
};

exports.SelectOptionGroupProps = SelectOptionGroupProps;
exports.SelectOptionProps = SelectOptionProps;
exports.SelectProps = SelectProps;
exports["default"] = props;
//# sourceMappingURL=props.js.map
