2018-03-07 14:28:48 +01:00
|
|
|
import Vue from 'vue'
|
2018-03-08 09:41:39 +01:00
|
|
|
import ElementUI from 'element-ui'
|
|
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
2018-09-22 15:29:14 +02:00
|
|
|
import locale from 'element-ui/lib/locale/lang/en'
|
2022-03-20 17:19:20 +01:00
|
|
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
2022-03-22 13:04:36 +01:00
|
|
|
import {
|
|
|
|
faAnglesRight,
|
|
|
|
faAnglesLeft,
|
|
|
|
faHome,
|
|
|
|
faBell,
|
|
|
|
faAt,
|
|
|
|
faEnvelope,
|
|
|
|
faUsers,
|
|
|
|
faStar,
|
|
|
|
faBookmark,
|
|
|
|
faGlobe,
|
|
|
|
faSearch,
|
|
|
|
faHashtag,
|
2022-03-22 13:23:51 +01:00
|
|
|
faListUl,
|
|
|
|
faTimesCircle,
|
|
|
|
faCamera,
|
|
|
|
faUnlock,
|
|
|
|
faLock,
|
|
|
|
faEyeSlash,
|
2022-03-22 13:27:45 +01:00
|
|
|
faEye,
|
2022-03-22 13:41:56 +01:00
|
|
|
faPlus,
|
2022-03-22 13:58:14 +01:00
|
|
|
faXmark,
|
|
|
|
faSquarePollHorizontal,
|
|
|
|
faRetweet,
|
2022-03-22 14:04:24 +01:00
|
|
|
faUserPlus,
|
|
|
|
faReply,
|
2022-03-26 17:26:45 +01:00
|
|
|
faEllipsis,
|
|
|
|
faGear,
|
|
|
|
faPalette,
|
|
|
|
faUser,
|
|
|
|
faNetworkWired,
|
2022-03-26 17:32:19 +01:00
|
|
|
faLanguage,
|
|
|
|
faAlignLeft,
|
2022-03-26 17:43:19 +01:00
|
|
|
faFilter,
|
|
|
|
faRotate,
|
2022-04-04 14:12:34 +02:00
|
|
|
faSliders,
|
|
|
|
faUserXmark,
|
|
|
|
faHourglass,
|
2022-04-04 14:52:01 +02:00
|
|
|
faCheck,
|
|
|
|
faQuoteRight,
|
|
|
|
faThumbTack
|
2022-03-22 13:04:36 +01:00
|
|
|
} from '@fortawesome/free-solid-svg-icons'
|
2022-03-26 17:43:19 +01:00
|
|
|
import { faFaceSmile, faPenToSquare } from '@fortawesome/free-regular-svg-icons'
|
2022-03-20 17:19:20 +01:00
|
|
|
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
2018-03-09 07:21:25 +01:00
|
|
|
import 'vue-awesome/icons'
|
2021-05-22 11:29:02 +02:00
|
|
|
import Icon from 'vue-awesome/components/Icon'
|
2018-04-15 10:45:14 +02:00
|
|
|
import Popper from 'vue-popperjs'
|
2019-12-22 15:36:57 +01:00
|
|
|
import 'vue-popperjs/dist/vue-popper.css'
|
2018-04-22 15:07:58 +02:00
|
|
|
import { sync } from 'vuex-router-sync'
|
|
|
|
import shortkey from 'vue-shortkey'
|
2018-08-10 14:49:12 +02:00
|
|
|
import VueI18Next from '@panter/vue-i18next'
|
2020-06-18 16:35:51 +02:00
|
|
|
import 'vue-resize/dist/vue-resize.css'
|
|
|
|
import VueResize from 'vue-resize'
|
2020-10-14 18:01:55 +02:00
|
|
|
import VueVirtualScroller from 'vue-virtual-scroller'
|
|
|
|
import 'vue-virtual-scroller/dist/vue-virtual-scroller.css'
|
2018-03-07 14:28:48 +01:00
|
|
|
|
2018-03-26 03:51:30 +02:00
|
|
|
import './assets/fonts/fonts.css'
|
2019-03-20 16:07:21 +01:00
|
|
|
import App from './App.vue'
|
2019-04-17 14:05:47 +02:00
|
|
|
import router from '@/router'
|
2018-03-07 14:28:48 +01:00
|
|
|
import store from './store'
|
2018-08-12 16:17:57 +02:00
|
|
|
import i18next from '~/src/config/i18n'
|
2018-03-07 14:28:48 +01:00
|
|
|
|
2022-03-22 13:04:36 +01:00
|
|
|
library.add(
|
|
|
|
faAnglesRight,
|
|
|
|
faAnglesLeft,
|
|
|
|
faHome,
|
|
|
|
faBell,
|
|
|
|
faAt,
|
|
|
|
faEnvelope,
|
|
|
|
faUsers,
|
|
|
|
faStar,
|
|
|
|
faBookmark,
|
|
|
|
faGlobe,
|
|
|
|
faSearch,
|
|
|
|
faHashtag,
|
2022-03-22 13:23:51 +01:00
|
|
|
faListUl,
|
|
|
|
faTimesCircle,
|
|
|
|
faCamera,
|
|
|
|
faUnlock,
|
|
|
|
faLock,
|
|
|
|
faEyeSlash,
|
2022-03-22 13:27:45 +01:00
|
|
|
faEye,
|
2022-03-22 13:41:56 +01:00
|
|
|
faPlus,
|
|
|
|
faFaceSmile,
|
2022-03-22 13:58:14 +01:00
|
|
|
faXmark,
|
|
|
|
faSquarePollHorizontal,
|
|
|
|
faRetweet,
|
2022-03-22 14:04:24 +01:00
|
|
|
faUserPlus,
|
|
|
|
faReply,
|
2022-03-26 17:26:45 +01:00
|
|
|
faEllipsis,
|
|
|
|
faGear,
|
|
|
|
faPalette,
|
|
|
|
faUser,
|
|
|
|
faNetworkWired,
|
2022-03-26 17:32:19 +01:00
|
|
|
faLanguage,
|
|
|
|
faAlignLeft,
|
2022-03-26 17:43:19 +01:00
|
|
|
faFilter,
|
|
|
|
faPenToSquare,
|
|
|
|
faRotate,
|
2022-04-04 14:12:34 +02:00
|
|
|
faSliders,
|
|
|
|
faXmark,
|
|
|
|
faUserXmark,
|
|
|
|
faHourglass,
|
|
|
|
faUserPlus,
|
2022-04-04 14:52:01 +02:00
|
|
|
faCheck,
|
|
|
|
faQuoteRight,
|
|
|
|
faThumbTack
|
2022-03-22 13:04:36 +01:00
|
|
|
)
|
2022-03-20 17:19:20 +01:00
|
|
|
|
2018-09-22 15:29:14 +02:00
|
|
|
Vue.use(ElementUI, { locale })
|
2018-04-22 15:07:58 +02:00
|
|
|
Vue.use(shortkey)
|
2018-08-10 14:49:12 +02:00
|
|
|
Vue.use(VueI18Next)
|
2020-06-18 16:35:51 +02:00
|
|
|
Vue.use(VueResize)
|
2020-10-14 18:01:55 +02:00
|
|
|
Vue.use(VueVirtualScroller)
|
2018-04-15 10:45:14 +02:00
|
|
|
Vue.component('popper', Popper)
|
2022-03-20 17:19:20 +01:00
|
|
|
Vue.component('font-awesome-icon', FontAwesomeIcon)
|
|
|
|
Vue.component('icon', Icon)
|
2018-03-08 09:41:39 +01:00
|
|
|
|
2018-04-22 15:07:58 +02:00
|
|
|
sync(store, router)
|
|
|
|
|
2018-03-07 14:28:48 +01:00
|
|
|
Vue.config.productionTip = false
|
|
|
|
|
2019-03-21 15:23:57 +01:00
|
|
|
const i18n: VueI18Next = new VueI18Next(i18next)
|
2018-08-10 14:49:12 +02:00
|
|
|
|
2018-03-07 14:28:48 +01:00
|
|
|
/* eslint-disable no-new */
|
|
|
|
new Vue({
|
|
|
|
components: { App },
|
2018-08-10 14:49:12 +02:00
|
|
|
i18n: i18n,
|
2018-03-07 14:28:48 +01:00
|
|
|
router,
|
|
|
|
store,
|
|
|
|
template: '<App/>'
|
|
|
|
}).$mount('#app')
|