You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
743 B
28 lines
743 B
import Vue from 'vue';
|
|
import Input from './Input';
|
|
import Group from './Group';
|
|
import Search from './Search';
|
|
import TextArea from './TextArea';
|
|
import Password from './Password';
|
|
import antInputDirective from '../_util/antInputDirective';
|
|
import Base from '../base';
|
|
|
|
Vue.use(antInputDirective);
|
|
|
|
Input.Group = Group;
|
|
Input.Search = Search;
|
|
Input.TextArea = TextArea;
|
|
Input.Password = Password;
|
|
|
|
/* istanbul ignore next */
|
|
Input.install = function(Vue) {
|
|
Vue.use(Base);
|
|
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);
|
|
Vue.component(Input.Password.name, Input.Password);
|
|
};
|
|
|
|
export default Input;
|