"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = void 0;
var _locale = require("../../src/locale");
var _snippets = _interopRequireDefault(require("./snippets"));
var _default = exports["default"] = {
  snippets: _snippets["default"],
  componentName: 'Input.Search',
  "group": (0, _locale.t)('inputSearch.key_AJJQVZTEtuVM'),
  title: (0, _locale.t)('inputSearch.key_MYj9lA68Vj30'),
  category: (0, _locale.t)('inputSearch.key_dtLTcRwf2zWk'),
  props: [{
    name: 'defaultValue',
    title: {
      label: (0, _locale.t)('inputSearch.key_kFXe5yuL4Gxn'),
      tip: (0, _locale.t)('inputSearch.key_Mv23wvmCFCSw')
    },
    propType: 'string',
    setter: 'StringSetter'
  }, {
    name: 'value',
    title: {
      label: (0, _locale.t)('inputSearch.key_4eB41fk7H3AW'),
      tip: (0, _locale.t)('inputSearch.key_DxMiPgYFpH41')
    },
    propType: 'string',
    setter: 'StringSetter'
  }, {
    name: 'bordered',
    title: {
      label: (0, _locale.t)('inputSearch.key_J3sClNT0LJsr'),
      tip: (0, _locale.t)('inputSearch.key_skNfBlZ3n5f3')
    },
    propType: 'bool',
    defaultValue: true,
    setter: 'BoolSetter'
  }, {
    name: 'loading',
    title: {
      label: (0, _locale.t)('inputSearch.key_mmHbECJKb9kQ'),
      tip: 'loading'
    },
    propType: 'bool',
    setter: 'BoolSetter'
  }, {
    name: 'disabled',
    title: {
      label: (0, _locale.t)('inputSearch.key_0G2HbZpanNd6'),
      tip: (0, _locale.t)('inputSearch.key_bIHGU67l9EFO')
    },
    propType: 'bool',
    defaultValue: false,
    setter: 'BoolSetter'
  }, {
    name: 'placeholder',
    title: {
      label: (0, _locale.t)('inputSearch.key_3mVFaC0LDNrN'),
      tip: (0, _locale.t)('inputSearch.key_bEtBVrsWdlam')
    },
    propType: 'string',
    defaultValue: (0, _locale.t)('inputSearch.key_eeQv1QyBX7Vm'),
    setter: 'StringSetter'
  }, {
    name: 'size',
    title: {
      label: (0, _locale.t)('inputSearch.key_IEVNXrRuPJ5b'),
      tip: (0, _locale.t)('inputSearch.key_dzQUotImL4us')
    },
    propType: {
      type: 'oneOf',
      value: ['large', 'middle', 'small']
    },
    setter: {
      componentName: 'RadioGroupSetter',
      props: {
        options: [{
          title: (0, _locale.t)('inputSearch.key_2JFOnJ9qrXOe'),
          value: 'large'
        }, {
          title: (0, _locale.t)('inputSearch.key_eCbfty98Rbao'),
          value: 'middle'
        }, {
          title: (0, _locale.t)('inputSearch.key_wB9ZYCNLToJ0'),
          value: 'small'
        }]
      }
    },
    defaultValue: 'middle'
  }, {
    name: 'enterButton',
    title: {
      label: (0, _locale.t)('inputSearch.key_eXb85hXRPlDy'),
      tip: (0, _locale.t)('inputSearch.key_FjWYH9J9ldEg')
    },
    propType: {
      type: 'oneOfType',
      value: ['bool', 'node']
    },
    defaultValue: false
  }, {
    name: 'addonAfter',
    title: {
      label: (0, _locale.t)('inputSearch.key_6cf3IyLDhGsD'),
      tip: (0, _locale.t)('inputSearch.key_EO3NI4rTG9kg')
    },
    propType: {
      type: 'oneOfType',
      value: ['string', 'node']
    }
  }, {
    name: 'addonBefore',
    title: {
      label: (0, _locale.t)('inputSearch.key_e1ntO5TPNQTa'),
      tip: (0, _locale.t)('inputSearch.key_7BfvbIxtNnQr')
    },
    propType: {
      type: 'oneOfType',
      value: ['string', 'node']
    }
  }, {
    name: 'prefix',
    title: {
      label: (0, _locale.t)('inputSearch.key_yBYQohheZTJ1'),
      tip: (0, _locale.t)('inputSearch.key_OGbf4RhSnELC')
    },
    propType: {
      type: 'oneOfType',
      value: ['string', 'node']
    }
  }, {
    name: 'suffix',
    title: {
      label: (0, _locale.t)('inputSearch.key_Kjgzm6aV44hR'),
      tip: (0, _locale.t)('inputSearch.key_m3LiogS04MhW')
    },
    propType: {
      type: 'oneOfType',
      value: ['string', 'node']
    }
  }, {
    name: 'onChange',
    title: {
      label: (0, _locale.t)('inputSearch.key_PPRZ38TKRSJT'),
      tip: (0, _locale.t)('inputSearch.key_MZ2s80NJ4C6w')
    },
    propType: 'func'
  }, {
    name: 'onPressEnter',
    title: {
      label: (0, _locale.t)('inputSearch.key_uSZCDPmfGv8q'),
      tip: (0, _locale.t)('inputSearch.key_4YYQ7sBH3AOO')
    },
    propType: 'func'
  }, {
    name: 'onSearch',
    title: {
      label: (0, _locale.t)('inputSearch.key_FfaeSfGWzWJX'),
      tip: (0, _locale.t)('inputSearch.key_N0vI8P13ZBUK')
    },
    propType: 'func'
  }, {
    name: 'onFocus',
    title: {
      label: (0, _locale.t)('inputSearch.key_PrQwuPSsPUKD'),
      tip: (0, _locale.t)('inputSearch.key_YEYo5a4XE2we')
    },
    propType: 'func'
  }, {
    name: 'onKeyDown',
    title: {
      label: (0, _locale.t)('inputSearch.key_OGG08NP898Og'),
      tip: (0, _locale.t)('inputSearch.key_ZBTYFsxX2Vl8')
    },
    propType: 'func'
  }, {
    name: 'onKeyPress',
    title: {
      label: (0, _locale.t)('inputSearch.key_efaatVbhT6f2'),
      tip: (0, _locale.t)('inputSearch.key_Eg4kKKxz61Jx')
    },
    propType: 'func'
  }, {
    name: 'onKeyUp',
    title: {
      label: (0, _locale.t)('inputSearch.key_Bn43Ip6OpV9X'),
      tip: (0, _locale.t)('inputSearch.key_lakccHH9aOui')
    },
    propType: 'func'
  }, {
    name: 'onBlur',
    title: {
      label: (0, _locale.t)('inputSearch.key_So966Wq8ve0t'),
      tip: (0, _locale.t)('inputSearch.key_qpUAwK6n8ah3')
    },
    propType: 'func'
  }],
  configure: {
    supports: {
      style: true,
      events: false
    }
  }
};