/**
 * ldesign v0.2.22
 * (c) 2022/12/7 16:21 built by swimly
 * @license MIT
 */

var props = {
  autoWidth: Boolean,
  borderless: Boolean,
  clearable: Boolean,
  collapsedItems: {
    type: Function
  },
  data: {
    type: Array,
    default: () => []
  },
  disabled: Boolean,
  empty: {
    type: [String, Function],
    default: ""
  },
  filter: {
    type: Function
  },
  filterable: Boolean,
  inputProps: {
    type: Object
  },
  inputValue: {
    type: [String, Number]
  },
  defaultInputValue: {
    type: [String, Number]
  },
  loading: Boolean,
  loadingText: {
    type: [String, Function]
  },
  max: {
    type: Number,
    default: 0
  },
  minCollapsedNum: {
    type: Number,
    default: 0
  },
  multiple: Boolean,
  placeholder: {
    type: String,
    default: void 0
  },
  popupProps: {
    type: Object
  },
  popupVisible: Boolean,
  prefixIcon: {
    type: Function
  },
  readonly: Boolean,
  selectInputProps: {
    type: Object
  },
  size: {
    type: String,
    default: "medium",
    validator(val) {
      if (!val) return true;
      return ["small", "medium", "large"].includes(val);
    }
  },
  status: {
    type: String,
    validator(val) {
      if (!val) return true;
      return ["default", "success", "warning", "error"].includes(val);
    }
  },
  tagProps: {
    type: Object
  },
  tips: {
    type: [String, Function]
  },
  treeProps: {
    type: Object
  },
  value: {
    type: [String, Number, Object, Array]
  },
  defaultValue: {
    type: [String, Number, Object, Array]
  },
  valueDisplay: {
    type: Function
  },
  valueType: {
    type: String,
    default: "value",
    validator(val) {
      if (!val) return true;
      return ["value", "object"].includes(val);
    }
  },
  onBlur: Function,
  onChange: Function,
  onClear: Function,
  onFocus: Function,
  onInputChange: Function,
  onPopupVisibleChange: Function,
  onRemove: Function,
  onSearch: Function
};

export { props as default };
//# sourceMappingURL=props.js.map
