* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
Because {element} is a child of <InputElement>, we get a circular reference when also adding "element.props" to <InputElement>, as <InputElement> will be cloned to <{element}> within InputElement.tsx. As a consequence, we get an infinitive circular loop of Element->Props->Children->Element->Props->Children->Element->Props->Children->…
React seems to detect and automatically fix this infinitive loop. But when using the smaller and faster Inferno as a replacement library of React, we get a "RangeError: Maximum call stack size exceeded".
This commit fixes this bug by not attaching {...element.props} to <InputElement>.
All tests did pass and I did not notice any changes in the behaviour of the AutoComplete component. But now, AutoComplete works also with Inferno and not only with React.
* refactor: extract injectLocale and refactor Pagination, ref: #5103
* refactor: use injectLocale in Popconfirm, ref: #5103
* refactor: use injectLocale in TimePicker
* refactor: use injectLocale in Transfer
* refactor: use injectLocale in TreeSelect
* refactor: remove useless code in AutoComplete
* test: update snapshot