/**
 * ldesign v0.2.14
 * (c) 2022/11/2 16:16 built by swimly
 * @license MIT
 */

const SelectProps = {
  autoWidth: Boolean,
  borderless: Boolean,
  clearable: Boolean,
  collapsedItems: {
    type: Function
  },
  creatable: Boolean,
  disabled: Boolean,
  empty: {
    type: [String, Function]
  },
  filter: {
    type: Function
  },
  filterable: Boolean,
  inputProps: {
    type: Object
  },
  inputValue: {
    type: [String, Number]
  },
  defaultInputValue: {
    type: [String, Number]
  },
  keys: {
    type: Object
  },
  loading: Boolean,
  loadingText: {
    type: [String, Function]
  },
  max: {
    type: Number,
    default: 0
  },
  minCollapsedNum: {
    type: Number,
    default: 0
  },
  multiple: Boolean,
  options: {
    type: Array
  },
  panelBottomContent: {
    type: [String, Function]
  },
  panelTopContent: {
    type: [String, Function]
  },
  placeholder: {
    type: String,
    default: void 0
  },
  popupProps: {
    type: Object
  },
  popupVisible: Boolean,
  defaultPopupVisible: Boolean,
  prefixIcon: {
    type: Function
  },
  readonly: Boolean,
  reserveKeyword: Boolean,
  scroll: {
    type: Object
  },
  selectInputProps: {
    type: Object
  },
  showArrow: {
    type: Boolean,
    default: true
  },
  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);
    }
  },
  tagInputProps: {
    type: Object
  },
  tagProps: {
    type: Object
  },
  tips: {
    type: [String, Function]
  },
  value: {
    type: [String, Number, Object, Array]
  },
  defaultValue: {
    type: [String, Number, Object, Array]
  },
  valueDisplay: {
    type: [String, Function]
  },
  valueType: {
    type: String,
    default: "value",
    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
};
const SelectOptionGroupProps = {
  divider: {
    type: Boolean,
    default: true
  },
  label: {
    type: String,
    default: ""
  }
};
const SelectOptionProps = {
  checkAll: Boolean,
  content: {
    type: [String, Function]
  },
  default: {
    type: [String, Function]
  },
  disabled: Boolean,
  label: {
    type: String,
    default: ""
  },
  value: {
    type: [String, Number]
  }
};
var props = {
  SelectProps,
  SelectOptionGroupProps,
  SelectOptionProps
};

export { SelectOptionGroupProps, SelectOptionProps, SelectProps, props as default };
//# sourceMappingURL=props.js.map
