import GetLoginInfoService from '@vue2-client/base-client/plugins/GetLoginInfoService'
import GetAppDataService from '@vue2-client/base-client/plugins/AppData'
import getConfig from '@vue2-client/base-client/plugins/Config'
import moment from '@vue2-client/base-client/plugins/moment'
import recording from '@vue2-client/base-client/plugins/Recording'
import ComponentRegistryPlugin from '@vue2-client/base-client/plugins/ComponentRegistryPlugin'
import FrontLogicPlugin from '@vue2-client/base-client/plugins/FrontLogicPlugin'

import VueI18nPlugin from './i18n-extend'
import AuthorityPlugin from './authority-plugin'
import TabsPagePlugin from './tabs-page-plugin'

const Plugins = {
  install: function (Vue) {
    Vue.use(GetLoginInfoService)
    Vue.use(GetAppDataService)
    Vue.use(getConfig)
    Vue.use(moment)
    Vue.use(VueI18nPlugin)
    Vue.use(AuthorityPlugin)
    Vue.use(TabsPagePlugin)
    Vue.use(recording)
    Vue.use(ComponentRegistryPlugin)
    Vue.use(FrontLogicPlugin)
  }
}
export default Plugins
