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

'use strict';

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

var props = {
  autoFocus: Boolean,
  clearable: Boolean,
  default: {
    type: [String, Function]
  },
  disabled: Boolean,
  filter: {
    type: Function
  },
  filterable: {
    type: Boolean,
    default: true
  },
  highlightKeyword: {
    type: Boolean,
    default: true
  },
  inputProps: {
    type: Object
  },
  options: {
    type: Array
  },
  panelBottomContent: {
    type: [String, Function]
  },
  panelTopContent: {
    type: [String, Function]
  },
  placeholder: {
    type: String,
    default: void 0
  },
  popupProps: {
    type: Object
  },
  readonly: Boolean,
  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);
    }
  },
  textareaProps: {
    type: Object
  },
  tips: {
    type: [String, Function]
  },
  triggerElement: {
    type: [String, Function]
  },
  value: {
    type: String,
    default: void 0
  },
  defaultValue: {
    type: String,
    default: ""
  },
  onBlur: Function,
  onChange: Function,
  onClear: Function,
  onCompositionend: Function,
  onCompositionstart: Function,
  onEnter: Function,
  onFocus: Function,
  onSelect: Function
};

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