mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-16 01:41:15 +08:00
da0f17d1b6
# Conflicts: # components/affix/index.jsx # components/alert/index.jsx # components/back-top/index.jsx # components/carousel/index.jsx # components/cascader/index.jsx # components/comment/index.jsx # components/config-provider/index.jsx # components/divider/index.jsx # components/drawer/index.jsx # components/form/Form.jsx # components/input-number/index.jsx # components/menu/index.jsx # components/modal/confirm.js # components/modal/index.js # components/popconfirm/index.jsx # components/popover/index.jsx # components/rate/index.jsx # components/steps/index.jsx # components/switch/index.jsx # components/time-picker/index.jsx # components/tree-select/index.jsx # site/components.js
28 lines
743 B
JavaScript
28 lines
743 B
JavaScript
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;
|