2019-01-12 03:33:27 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Input from './Input';
|
|
|
|
import Group from './Group';
|
|
|
|
import Search from './Search';
|
|
|
|
import TextArea from './TextArea';
|
|
|
|
import antInputDirective from '../_util/antInputDirective';
|
2018-07-26 05:25:02 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Vue.use(antInputDirective);
|
2017-12-06 10:54:20 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
Input.Group = Group;
|
|
|
|
Input.Search = Search;
|
|
|
|
Input.TextArea = TextArea;
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2019-01-12 03:33:27 +00:00
|
|
|
Input.install = function(Vue) {
|
|
|
|
Vue.component(Input.name, Input);
|
|
|
|
Vue.component(Input.Group.name, Input.Group);
|
|
|
|
Vue.component(Input.Search.name, Input.Search);
|
|
|
|
Vue.component(Input.TextArea.name, Input.TextArea);
|
|
|
|
};
|
2018-09-19 05:21:57 +00:00
|
|
|
|
2019-01-12 03:33:27 +00:00
|
|
|
export default Input;
|