2019-01-12 11:33:27 +08:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Input from './Input';
|
|
|
|
import Group from './Group';
|
|
|
|
import Search from './Search';
|
|
|
|
import TextArea from './TextArea';
|
2019-04-07 17:19:18 +08:00
|
|
|
import Password from './Password';
|
2019-01-12 11:33:27 +08:00
|
|
|
import antInputDirective from '../_util/antInputDirective';
|
2019-08-28 10:50:19 +08:00
|
|
|
import Base from '../base';
|
2018-07-26 13:25:02 +08:00
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
Vue.use(antInputDirective);
|
2017-12-06 18:54:20 +08:00
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
Input.Group = Group;
|
|
|
|
Input.Search = Search;
|
|
|
|
Input.TextArea = TextArea;
|
2019-04-07 17:19:18 +08:00
|
|
|
Input.Password = Password;
|
2018-09-19 13:21:57 +08:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
2019-01-12 11:33:27 +08:00
|
|
|
Input.install = function(Vue) {
|
2019-08-28 10:50:19 +08:00
|
|
|
Vue.use(Base);
|
2019-01-12 11:33:27 +08:00
|
|
|
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);
|
2019-04-07 17:19:18 +08:00
|
|
|
Vue.component(Input.Password.name, Input.Password);
|
2019-01-12 11:33:27 +08:00
|
|
|
};
|
2018-09-19 13:21:57 +08:00
|
|
|
|
2019-01-12 11:33:27 +08:00
|
|
|
export default Input;
|