2018-07-26 05:25:02 +00:00
|
|
|
import Vue from 'vue'
|
2017-12-06 10:54:20 +00:00
|
|
|
import Input from './Input'
|
|
|
|
import Group from './Group'
|
|
|
|
import Search from './Search'
|
2017-12-07 04:31:12 +00:00
|
|
|
import TextArea from './TextArea'
|
2018-07-26 05:25:02 +00:00
|
|
|
import antInputDirective from '../_util/antInputDirective'
|
|
|
|
|
|
|
|
Vue.use(antInputDirective)
|
2017-12-06 10:54:20 +00:00
|
|
|
|
|
|
|
Input.Group = Group
|
|
|
|
Input.Search = Search
|
2017-12-07 04:31:12 +00:00
|
|
|
Input.TextArea = TextArea
|
2018-09-19 05:21:57 +00:00
|
|
|
|
|
|
|
/* istanbul ignore next */
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2017-12-06 10:54:20 +00:00
|
|
|
export default Input
|