import Toolbar from './toolbar.vue'
import ListView from './listView/listView.vue'
import ListViewBody from './listView/listView-body.js'
import Button from './el-button.vue'
import Dialog from './el-dialog.vue'
import Lang from './lang.vue'
import InputTags from './InputTags.vue'
import Position from './Position.vue'
import PhotoSwipe from './photoswipe/index.js'
import ElBigdataTable from './vue-element-bigdata-table/table.vue'

const components = {
  install: Vue => {
    Vue.component('ElToolbar', Toolbar)
    Vue.component('ElBigdataTable', ElBigdataTable)
    Vue.component('ElListView', ListView)
    Vue.component('ElListViewBody', ListViewBody)
    Vue.component('ElButton', Button)
    Vue.component('ElDialog', Dialog)
    Vue.component('lang', Lang)
    Vue.component('ElInputTags', InputTags)
    Vue.component('ElPosition', Position)
    // Vue.component('VerifyItem', VerifyItem)
    Vue.use(PhotoSwipe)
  }
}

// 导出组件
export default components
