From fa297f23de01040d0d94c06501857b918817640d Mon Sep 17 00:00:00 2001 From: Chris Bellas Date: Thu, 22 Apr 2021 10:11:23 +0300 Subject: [PATCH] Added config fetching for dynamic URLs --- api/.env.example | 3 +++ api/app/Http/Controllers/ConfigController.php | 17 +++++++++++++++++ api/dashboard/src/pages/panel/components/ceptd.vue | 18 +++++++++++++++++- api/dashboard/src/pages/panel/components/mltd.vue | 18 +++++++++++++++++- api/dashboard/src/pages/panel/components/od.vue | 18 +++++++++++++++++- api/public/js/app.23ea6e4d.js | 2 -- api/public/js/app.23ea6e4d.js.map | 1 - api/public/js/app.3c181a04.js | 2 ++ api/public/js/app.3c181a04.js.map | 1 + api/public/js/chunk-2d0c55f2.5c85b614.js | 2 ++ api/public/js/chunk-2d0c55f2.5c85b614.js.map | 1 + api/public/js/chunk-2d0c55f2.d73ee58d.js | 2 -- api/public/js/chunk-2d0c55f2.d73ee58d.js.map | 1 - api/public/js/chunk-2d0d70a2.7ea12236.js | 2 ++ api/public/js/chunk-2d0d70a2.7ea12236.js.map | 1 + api/public/js/chunk-2d0d70a2.bbc301fd.js | 2 -- api/public/js/chunk-2d0d70a2.bbc301fd.js.map | 1 - api/public/js/chunk-2d0e55df.3d7ea4b4.js | 2 ++ api/public/js/chunk-2d0e55df.3d7ea4b4.js.map | 1 + api/public/js/chunk-2d0e55df.f9fbdca6.js | 2 -- api/public/js/chunk-2d0e55df.f9fbdca6.js.map | 1 - api/public/js/chunk-2d0e99de.aec631ff.js | 2 -- api/public/js/chunk-2d0e99de.aec631ff.js.map | 1 - api/public/js/chunk-2d0e99de.fb0153a3.js | 2 ++ api/public/js/chunk-2d0e99de.fb0153a3.js.map | 1 + api/public/js/chunk-2d224ec2.03a05a00.js | 2 ++ api/public/js/chunk-2d224ec2.03a05a00.js.map | 1 + api/public/js/chunk-2d224ec2.3db49a2c.js | 2 -- api/public/js/chunk-2d224ec2.3db49a2c.js.map | 1 - api/public/js/chunk-ad9746d8.917304d6.js | 2 -- api/public/js/chunk-ad9746d8.917304d6.js.map | 1 - api/public/js/chunk-ad9746d8.9562ee9e.js | 2 ++ api/public/js/chunk-ad9746d8.9562ee9e.js.map | 1 + api/resources/views/index.blade.php | 2 +- api/routes/api.php | 2 +- 35 files changed, 94 insertions(+), 26 deletions(-) create mode 100644 api/app/Http/Controllers/ConfigController.php delete mode 100644 api/public/js/app.23ea6e4d.js delete mode 100644 api/public/js/app.23ea6e4d.js.map create mode 100644 api/public/js/app.3c181a04.js create mode 100644 api/public/js/app.3c181a04.js.map create mode 100644 api/public/js/chunk-2d0c55f2.5c85b614.js create mode 100644 api/public/js/chunk-2d0c55f2.5c85b614.js.map delete mode 100644 api/public/js/chunk-2d0c55f2.d73ee58d.js delete mode 100644 api/public/js/chunk-2d0c55f2.d73ee58d.js.map create mode 100644 api/public/js/chunk-2d0d70a2.7ea12236.js create mode 100644 api/public/js/chunk-2d0d70a2.7ea12236.js.map delete mode 100644 api/public/js/chunk-2d0d70a2.bbc301fd.js delete mode 100644 api/public/js/chunk-2d0d70a2.bbc301fd.js.map create mode 100644 api/public/js/chunk-2d0e55df.3d7ea4b4.js create mode 100644 api/public/js/chunk-2d0e55df.3d7ea4b4.js.map delete mode 100644 api/public/js/chunk-2d0e55df.f9fbdca6.js delete mode 100644 api/public/js/chunk-2d0e55df.f9fbdca6.js.map delete mode 100644 api/public/js/chunk-2d0e99de.aec631ff.js delete mode 100644 api/public/js/chunk-2d0e99de.aec631ff.js.map create mode 100644 api/public/js/chunk-2d0e99de.fb0153a3.js create mode 100644 api/public/js/chunk-2d0e99de.fb0153a3.js.map create mode 100644 api/public/js/chunk-2d224ec2.03a05a00.js create mode 100644 api/public/js/chunk-2d224ec2.03a05a00.js.map delete mode 100644 api/public/js/chunk-2d224ec2.3db49a2c.js delete mode 100644 api/public/js/chunk-2d224ec2.3db49a2c.js.map delete mode 100644 api/public/js/chunk-ad9746d8.917304d6.js delete mode 100644 api/public/js/chunk-ad9746d8.917304d6.js.map create mode 100644 api/public/js/chunk-ad9746d8.9562ee9e.js create mode 100644 api/public/js/chunk-ad9746d8.9562ee9e.js.map diff --git a/api/.env.example b/api/.env.example index e24d7d6..29355a6 100644 --- a/api/.env.example +++ b/api/.env.example @@ -48,3 +48,6 @@ KEYCLOAK_USER_PROVIDER_CREDENTIAL=name KEYCLOAK_TOKEN_PRINCIPAL_ATTRIBUTE=preferred_username KEYCLOAK_APPEND_DECODED_TOKEN=false KEYCLOAK_ALLOWED_RESOURCES=account + +KIBANA_PORT=5611 +GRAFANA_PORT=3001 diff --git a/api/app/Http/Controllers/ConfigController.php b/api/app/Http/Controllers/ConfigController.php new file mode 100644 index 0000000..13f1c1e --- /dev/null +++ b/api/app/Http/Controllers/ConfigController.php @@ -0,0 +1,17 @@ + env('APP_URL'), + 'kibana_url' => env('APP_URL') . ':' . env('KIBANA_PORT'), + 'grafana_url' => env('APP_URL') . ':' . env('GRAFANA_PORT') + ]; + } +} diff --git a/api/dashboard/src/pages/panel/components/ceptd.vue b/api/dashboard/src/pages/panel/components/ceptd.vue index c84244c..dd2f61f 100644 --- a/api/dashboard/src/pages/panel/components/ceptd.vue +++ b/api/dashboard/src/pages/panel/components/ceptd.vue @@ -5,11 +5,27 @@ \n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Sidebar.vue?vue&type=template&id=466c867c&scoped=true&\"\nimport script from \"./Sidebar.vue?vue&type=script&lang=js&\"\nexport * from \"./Sidebar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Sidebar.vue?vue&type=style&index=0&id=466c867c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"466c867c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-navbar',{staticClass:\"bottom-shadow mb-3\",attrs:{\"variant\":\"white\"}},[_c('b-button',{staticClass:\"no-outline\",attrs:{\"variant\":\"none\"},on:{\"click\":function($event){return _vm.$store.dispatch('ui/toggle', 'sidebarShow')}}},[_c('fa',{attrs:{\"icon\":\"bars\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainHeader.vue?vue&type=template&id=3c68b016&scoped=true&\"\nimport script from \"./MainHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./MainHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MainHeader.vue?vue&type=style&index=0&id=3c68b016&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3c68b016\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./panel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./panel.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./panel.vue?vue&type=template&id=03a4fafb&scoped=true&\"\nimport script from \"./panel.vue?vue&type=script&lang=js&\"\nexport * from \"./panel.vue?vue&type=script&lang=js&\"\nimport style0 from \"./panel.vue?vue&type=style&index=0&id=03a4fafb&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"03a4fafb\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('loading',{ref:\"loading\"}),_c('transition',{attrs:{\"name\":\"page\",\"mode\":\"out-in\"}},[(_vm.layout)?_c(_vm.layout,{tag:\"component\"}):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress\",style:({\n width: (_vm.percent + \"%\"),\n height: _vm.height,\n opacity: _vm.show ? 1 : 0,\n 'background-color': _vm.canSuccess ? _vm.color : _vm.failedColor\n})})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=4a92ff42&scoped=true&\"\nimport script from \"./Loading.vue?vue&type=script&lang=js&\"\nexport * from \"./Loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=4a92ff42&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4a92ff42\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=7e821574&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\n// Load store modules dynamically.\nconst requireContext = require.context('./modules', false, /.*\\.js$/)\n\nconst modules = requireContext.keys()\n .map(file =>\n [file.replace(/(^.\\/)|(\\.js$)/g, ''), requireContext(file)]\n )\n .reduce((modules, [name, module]) => {\n if (module.namespaced === undefined) {\n module.namespaced = true\n }\n\n return { ...modules, [name]: module }\n }, {})\n\nexport default new Vuex.Store({\n modules\n})\n","function page (path) {\n return () => import(`~/pages/${path}`).then(m => m.default || m)\n}\n\nexport default [\n {\n path: '/',\n name: 'panel',\n redirect: '/dashboard',\n component: page('panel/index.vue'),\n children: [\n {\n path: 'dashboard',\n name: 'panel.dashboard',\n component: page('panel/dashboard.vue')\n },\n {\n path: 'components/mltd',\n name: 'panel.components.mltd',\n component: page('panel/components/mltd.vue')\n },\n {\n path: 'components/od',\n name: 'panel.components.od',\n component: page('panel/components/od.vue')\n },\n {\n path: 'components/ceptd',\n name: 'panel.components.ceptd',\n component: page('panel/components/ceptd.vue')\n }\n ]\n }\n // { path: '/login', name: 'login', component: page('login.vue') }\n]\n","import Vue from 'vue'\nimport store from '~/store'\nimport routes from './routes'\nimport Router from 'vue-router'\nimport { sync } from 'vuex-router-sync'\n\nVue.use(Router)\n\n// The middleware for every page of the application.\nconst globalMiddleware = ['check-auth']\n\n// Load middleware modules dynamically.\nconst routeMiddleware = resolveMiddleware(\n require.context('~/middleware', false, /.*\\.js$/)\n)\n\nconst router = createRouter()\n\nsync(store, router)\n\nexport default router\n\n/**\n * Create a new router instance.\n *\n * @return {Router}\n */\nfunction createRouter () {\n const router = new Router({\n scrollBehavior,\n mode: 'history',\n routes\n })\n\n router.beforeEach(beforeEach)\n router.afterEach(afterEach)\n\n return router\n}\n\n/**\n * Global router guard.\n *\n * @param {Route} to\n * @param {Route} from\n * @param {Function} next\n */\nasync function beforeEach (to, from, next) {\n let components = []\n\n try {\n // Get the matched components and resolve them.\n components = await resolveComponents(\n router.getMatchedComponents({ ...to })\n )\n } catch (error) {\n if (/^Loading( CSS)? chunk (\\d)+ failed\\./.test(error.message)) {\n window.location.reload(true)\n return\n }\n }\n\n if (components.length === 0) {\n return next()\n }\n\n // Start the loading bar.\n if (components[components.length - 1].loading !== false) {\n router.app.$nextTick(() => router.app.$loading.start())\n }\n\n // Get the middleware for all the matched components.\n const middleware = getMiddleware(components)\n\n // Call each middleware.\n callMiddleware(middleware, to, from, (...args) => {\n // Set the application layout only if \"next()\" was called with no args.\n if (args.length === 0) {\n router.app.setLayout(components[0].layout || '')\n }\n\n next(...args)\n })\n}\n\n/**\n * Global after hook.\n *\n * @param {Route} to\n * @param {Route} from\n * @param {Function} next\n */\nasync function afterEach (to, from, next) {\n await router.app.$nextTick()\n\n router.app.$loading.finish()\n}\n\n/**\n * Call each middleware.\n *\n * @param {Array} middleware\n * @param {Route} to\n * @param {Route} from\n * @param {Function} next\n */\nfunction callMiddleware (middleware, to, from, next) {\n const stack = middleware.reverse()\n\n const _next = (...args) => {\n // Stop if \"_next\" was called with an argument or the stack is empty.\n if (args.length > 0 || stack.length === 0) {\n if (args.length > 0) {\n router.app.$loading.finish()\n }\n\n return next(...args)\n }\n\n const middleware = stack.pop()\n\n if (typeof middleware === 'function') {\n middleware(to, from, _next)\n } else if (routeMiddleware[middleware]) {\n routeMiddleware[middleware](to, from, _next)\n } else {\n throw Error(`Undefined middleware [${middleware}]`)\n }\n }\n\n _next()\n}\n\n/**\n * Resolve async components.\n *\n * @param {Array} components\n * @return {Array}\n */\nfunction resolveComponents (components) {\n return Promise.all(components.map(component => {\n return typeof component === 'function' ? component() : component\n }))\n}\n\n/**\n * Merge the the global middleware with the components middleware.\n *\n * @param {Array} components\n * @return {Array}\n */\nfunction getMiddleware (components) {\n const middleware = [...globalMiddleware]\n\n components.filter(c => c.middleware).forEach(component => {\n if (Array.isArray(component.middleware)) {\n middleware.push(...component.middleware)\n } else {\n middleware.push(component.middleware)\n }\n })\n\n return middleware\n}\n\n/**\n * Scroll Behavior\n *\n * @link https://router.vuejs.org/en/advanced/scroll-behavior.html\n *\n * @param {Route} to\n * @param {Route} from\n * @param {Object|undefined} savedPosition\n * @return {Object}\n */\nfunction scrollBehavior (to, from, savedPosition) {\n if (savedPosition) {\n return savedPosition\n }\n\n if (to.hash) {\n return { selector: to.hash }\n }\n\n const [component] = router.getMatchedComponents({ ...to }).slice(-1)\n\n if (component && component.scrollToTop === false) {\n return {}\n }\n\n return { x: 0, y: 0 }\n}\n\n/**\n * @param {Object} requireContext\n * @return {Object}\n */\nfunction resolveMiddleware (requireContext) {\n return requireContext.keys()\n .map(file =>\n [file.replace(/(^.\\/)|(\\.js$)/g, ''), requireContext(file)]\n )\n .reduce((guards, [name, guard]) => (\n { ...guards, [name]: guard.default }\n ), {})\n}\n","import axios from 'axios'\nimport store from '~/store'\n\n// Request interceptor\naxios.interceptors.request.use(request => {\n request.baseURL = process.env.VUE_APP_BASE_URL\n\n // const token = store.getters['auth/token']\n // if (token) {\n // request.headers.common.Authorization = `Bearer ${token}`\n // }\n\n const locale = store.getters['lang/locale']\n if (locale) {\n request.headers.common['Accept-Language'] = locale\n }\n\n // request.headers['X-Socket-Id'] = Echo.socketId()\n\n return request\n})\n\n// Response interceptor\naxios.interceptors.response.use(response => response, error => {\n return Promise.reject(error)\n})\n","import Vue from 'vue'\nimport { library } from '@fortawesome/fontawesome-svg-core'\nimport { FontAwesomeIcon, FontAwesomeLayers } from '@fortawesome/vue-fontawesome'\nimport {\n faUser, faLock, faSignOutAlt, faEnvelope, faArrowDown, faArrowUp, faCogs, faBars, faStop, faSearch\n} from '@fortawesome/free-solid-svg-icons'\n\nlibrary.add(\n faUser, faLock, faSignOutAlt, faEnvelope, faArrowDown, faArrowUp, faCogs, faBars, faStop, faSearch\n)\n\nVue.component('fa', FontAwesomeIcon)\nVue.component('fa-layers', FontAwesomeLayers)\n","import 'core-js/stable'\nimport Vue from 'vue'\nimport { BootstrapVue, IconsPlugin } from 'bootstrap-vue'\nimport Toasted from 'vue-toasted'\nimport App from './App'\nimport router from './router'\nimport store from './store'\nimport '~/plugins'\n\nimport '~/assets/scss/custom.scss'\n\n// Install BootstrapVue\nVue.use(BootstrapVue)\n// Optionally install the BootstrapVue icon components plugin\nVue.use(IconsPlugin)\nVue.use(Toasted, {\n position: 'bottom-center',\n duration: 5000\n})\n\nVue.config.performance = true\n\nnew Vue({\n router,\n store,\n ...App\n}).$mount('#app')\n","var map = {\n\t\"./auth.js\": \"c7d4\",\n\t\"./ui.js\": \"f01d\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"6c17\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainHeader.vue?vue&type=style&index=0&id=3c68b016&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainHeader.vue?vue&type=style&index=0&id=3c68b016&scoped=true&lang=css&\"","// import store from '~/store'\n\nexport default async (to, from, next) => {\n // if (!store.getters['auth/check'] && store.getters['auth/token']) {\n // try {\n // await store.dispatch('auth/fetchUser')\n // } catch (e) { }\n // }\n\n next()\n}\n","var map = {\n\t\"./panel.vue\": \"56d0\",\n\t\"./public.vue\": \"a657\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"81be\";","var map = {\n\t\"./auth.js\": \"efbe\",\n\t\"./check-auth.js\": \"74a4\",\n\t\"./guest.js\": \"0a6b\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"9091\";","// auth.js\nexport const LOGOUT = 'LOGOUT'\nexport const SAVE_TOKEN = 'SAVE_TOKEN'\nexport const FETCH_USER = 'FETCH_USER'\nexport const FETCH_USER_SUCCESS = 'FETCH_USER_SUCCESS'\nexport const FETCH_USER_FAILURE = 'FETCH_USER_FAILURE'\n\n// ui.js\nexport const TOGGLE = 'TOGGLE'\n","var map = {\n\t\"./login\": [\n\t\t\"c6f7\",\n\t\t\"chunk-ad9746d8\"\n\t],\n\t\"./login.vue\": [\n\t\t\"c6f7\",\n\t\t\"chunk-ad9746d8\"\n\t],\n\t\"./panel\": [\n\t\t\"e1cc\",\n\t\t\"chunk-2d224ec2\"\n\t],\n\t\"./panel/\": [\n\t\t\"e1cc\",\n\t\t\"chunk-2d224ec2\"\n\t],\n\t\"./panel/components/ceptd\": [\n\t\t\"8dfb\",\n\t\t\"chunk-2d0e99de\"\n\t],\n\t\"./panel/components/ceptd.vue\": [\n\t\t\"8dfb\",\n\t\t\"chunk-2d0e99de\"\n\t],\n\t\"./panel/components/mltd\": [\n\t\t\"93d3\",\n\t\t\"chunk-2d0e55df\"\n\t],\n\t\"./panel/components/mltd.vue\": [\n\t\t\"93d3\",\n\t\t\"chunk-2d0e55df\"\n\t],\n\t\"./panel/components/od\": [\n\t\t\"3f8a\",\n\t\t\"chunk-2d0c55f2\"\n\t],\n\t\"./panel/components/od.vue\": [\n\t\t\"3f8a\",\n\t\t\"chunk-2d0c55f2\"\n\t],\n\t\"./panel/dashboard\": [\n\t\t\"74b1\",\n\t\t\"chunk-2d0d70a2\"\n\t],\n\t\"./panel/dashboard.vue\": [\n\t\t\"74b1\",\n\t\t\"chunk-2d0d70a2\"\n\t],\n\t\"./panel/index\": [\n\t\t\"e1cc\",\n\t\t\"chunk-2d224ec2\"\n\t],\n\t\"./panel/index.vue\": [\n\t\t\"e1cc\",\n\t\t\"chunk-2d224ec2\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"a383\";\nmodule.exports = webpackAsyncContext;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"base\"},[_c('header'),_c('router-view'),_c('footer')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./public.vue?vue&type=template&id=7d981356&scoped=true&\"\nimport script from \"./public.vue?vue&type=script&lang=js&\"\nexport * from \"./public.vue?vue&type=script&lang=js&\"\nimport style0 from \"./public.vue?vue&type=style&index=0&id=7d981356&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7d981356\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=style&index=0&id=466c867c&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=style&index=0&id=466c867c&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./panel.vue?vue&type=style&index=0&id=03a4fafb&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./panel.vue?vue&type=style&index=0&id=03a4fafb&scoped=true&lang=css&\"","import axios from 'axios'\nimport Cookies from 'js-cookie'\nimport * as types from '../mutation-types'\n\n// state\nexport const state = {\n user: null,\n token: Cookies.get('token')\n}\n\n// getters\nexport const getters = {\n user: state => state.user,\n token: state => state.token,\n check: state => state.user !== null\n}\n\n// mutations\nexport const mutations = {\n [types.SAVE_TOKEN] (state, { token, remember }) {\n state.token = token\n Cookies.set('token', token, { expires: remember ? 365 : null })\n },\n\n [types.FETCH_USER_SUCCESS] (state, { user }) {\n state.user = user\n },\n\n [types.FETCH_USER_FAILURE] (state) {\n state.token = null\n Cookies.remove('token')\n },\n\n [types.LOGOUT] (state) {\n state.user = null\n state.token = null\n\n Cookies.remove('token')\n }\n}\n\n// actions\nexport const actions = {\n saveToken ({ commit, dispatch }, payload) {\n commit(types.SAVE_TOKEN, payload)\n },\n\n async fetchUser ({ commit }) {\n try {\n const { data } = await axios.get('/user')\n\n commit(types.FETCH_USER_SUCCESS, { user: data })\n } catch (e) {\n commit(types.FETCH_USER_FAILURE)\n }\n },\n\n async logout ({ commit }) {\n try {\n await axios.post('/logout')\n } catch (e) { }\n\n commit(types.LOGOUT)\n }\n}\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=4a92ff42&scoped=true&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=4a92ff42&scoped=true&lang=css&\"","// import store from '~/store'\n\nexport default async (to, from, next) => {\n // if (!store.getters['auth/check']) {\n // next({ name: 'login' })\n // } else {\n next()\n // }\n}\n","import * as types from '../mutation-types'\n\n// state\nexport const state = {\n sidebarShow: true,\n sidebarMinimize: false\n}\n\n// getters\nexport const getters = {\n sidebarShow: state => state.sidebarShow,\n sidebarMinimize: state => state.sidebarMinimize\n}\n\n// mutations\nexport const mutations = {\n [types.TOGGLE] (state, variable) {\n state[variable] = !state[variable]\n }\n}\n\n// actions\nexport const actions = {\n toggle ({ commit }, variable) {\n commit(types.TOGGLE, variable)\n }\n}\n"],"sourceRoot":""} \ No newline at end of file diff --git a/api/public/js/app.3c181a04.js b/api/public/js/app.3c181a04.js new file mode 100644 index 0000000..8513a1d --- /dev/null +++ b/api/public/js/app.3c181a04.js @@ -0,0 +1,2 @@ +(function(e){function t(t){for(var r,a,u=t[0],i=t[1],s=t[2],d=0,f=[];d95&&e.finish()}),100),this},set:function(e){return this.show=!0,this.canSuccess=!0,this.percent=Math.floor(e),this},get:function(){return Math.floor(this.percent)},increase:function(e){return this.percent=this.percent+Math.floor(e),this},decrease:function(e){return this.percent=this.percent-Math.floor(e),this},finish:function(){return this.percent=100,this.hide(),this},pause:function(){return clearInterval(this._timer),this},hide:function(){var e=this;return clearInterval(this._timer),this._timer=null,setTimeout((function(){e.show=!1,e.$nextTick((function(){setTimeout((function(){e.percent=0}),200)}))}),500),this},fail:function(){return this.canSuccess=!1,this}}},m=h,b=(n("dc51"),n("2877")),v=Object(b["a"])(m,l,p,!1,null,"4a92ff42",null),g=v.exports,k=n("81be"),w=k.keys().map((function(e){return[e.replace(/(^.\/)|(\.vue$)/g,""),k(e)]})).reduce((function(e,t){var n=Object(f["a"])(t,2),r=n[0],a=n[1];return e[r]=a.default||a,e}),{}),y={el:"#app",components:{Loading:g},data:function(){return{layout:null,defaultLayout:"default"}},metaInfo:function(){var e=Object({VUE_APP_BASE_URL:"/api",NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_NAME;return{title:e,titleTemplate:"%s · ".concat(e)}},mounted:function(){this.$loading=this.$refs.loading},methods:{setLayout:function(e){e&&w[e]||(e=this.defaultLayout),this.layout=w[e]}}},O=y,j=Object(b["a"])(O,s,d,!1,null,null,null),_=j.exports,x=(n("99af"),n("4de4"),n("4160"),n("fb6a"),n("3ca3"),n("159b"),n("96cf"),n("ade3")),E=n("2909"),S=n("1da1"),C=n("2f62");a["default"].use(C["a"]);var T=n("6c17"),L=T.keys().map((function(e){return[e.replace(/(^.\/)|(\.js$)/g,""),T(e)]})).reduce((function(e,t){var n=Object(f["a"])(t,2),a=n[0],o=n[1];return void 0===o.namespaced&&(o.namespaced=!0),Object(r["a"])({},e,Object(x["a"])({},a,o))}),{}),M=new C["a"].Store({modules:L});function U(e){return function(){return n("a383")("./".concat(e)).then((function(e){return e.default||e}))}}var $=[{path:"/",name:"panel",redirect:"/dashboard",component:U("panel/index.vue"),children:[{path:"dashboard",name:"panel.dashboard",component:U("panel/dashboard.vue")},{path:"components/mltd",name:"panel.components.mltd",component:U("panel/components/mltd.vue")},{path:"components/od",name:"panel.components.od",component:U("panel/components/od.vue")},{path:"components/ceptd",name:"panel.components.ceptd",component:U("panel/components/ceptd.vue")}]}],P=n("8c4f"),R=n("31bd");a["default"].use(P["a"]);var A=["check-auth"],N=Q(n("9091")),D=I();Object(R["sync"])(M,D);var F=D;function I(){var e=new P["a"]({scrollBehavior:J,mode:"history",routes:$});return e.beforeEach(B),e.afterEach(V),e}function B(e,t,n){return H.apply(this,arguments)}function H(){return H=Object(S["a"])(regeneratorRuntime.mark((function e(t,n,a){var o,c;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=[],e.prev=1,e.next=4,G(D.getMatchedComponents(Object(r["a"])({},t)));case 4:o=e.sent,e.next=12;break;case 7:if(e.prev=7,e.t0=e["catch"](1),!/^Loading( CSS)? chunk (\d)+ failed\./.test(e.t0.message)){e.next=12;break}return window.location.reload(!0),e.abrupt("return");case 12:if(0!==o.length){e.next=14;break}return e.abrupt("return",a());case 14:!1!==o[o.length-1].loading&&D.app.$nextTick((function(){return D.app.$loading.start()})),c=K(o),z(c,t,n,(function(){0===arguments.length&&D.app.setLayout(o[0].layout||""),a.apply(void 0,arguments)}));case 17:case"end":return e.stop()}}),e,null,[[1,7]])}))),H.apply(this,arguments)}function V(e,t,n){return q.apply(this,arguments)}function q(){return q=Object(S["a"])(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,D.app.$nextTick();case 2:D.app.$loading.finish();case 3:case"end":return e.stop()}}),e)}))),q.apply(this,arguments)}function z(e,t,n,r){var a=e.reverse(),o=function e(){if(arguments.length>0||0===a.length)return arguments.length>0&&D.app.$loading.finish(),r.apply(void 0,arguments);var o=a.pop();if("function"===typeof o)o(t,n,e);else{if(!N[o])throw Error("Undefined middleware [".concat(o,"]"));N[o](t,n,e)}};o()}function G(e){return Promise.all(e.map((function(e){return"function"===typeof e?e():e})))}function K(e){var t=[].concat(A);return e.filter((function(e){return e.middleware})).forEach((function(e){Array.isArray(e.middleware)?t.push.apply(t,Object(E["a"])(e.middleware)):t.push(e.middleware)})),t}function J(e,t,n){if(n)return n;if(e.hash)return{selector:e.hash};var a=D.getMatchedComponents(Object(r["a"])({},e)).slice(-1),o=Object(f["a"])(a,1),c=o[0];return c&&!1===c.scrollToTop?{}:{x:0,y:0}}function Q(e){return e.keys().map((function(t){return[t.replace(/(^.\/)|(\.js$)/g,""),e(t)]})).reduce((function(e,t){var n=Object(f["a"])(t,2),a=n[0],o=n[1];return Object(r["a"])({},e,Object(x["a"])({},a,o.default))}),{})}var W=n("bc3a"),X=n.n(W);X.a.interceptors.request.use((function(e){e.baseURL="/api";var t=M.getters["lang/locale"];return t&&(e.headers.common["Accept-Language"]=t),e})),X.a.interceptors.response.use((function(e){return e}),(function(e){return Promise.reject(e)}));var Y=n("ecee"),Z=n("ad3d"),ee=n("c074");Y["c"].add(ee["j"],ee["f"],ee["h"],ee["e"],ee["a"],ee["b"],ee["d"],ee["c"],ee["i"],ee["g"]),a["default"].component("fa",Z["a"]),a["default"].component("fa-layers",Z["b"]);n("bb35");a["default"].use(o["a"]),a["default"].use(c["a"]),a["default"].use(i.a,{position:"bottom-center",duration:5e3}),a["default"].config.performance=!0,new a["default"](Object(r["a"])({router:F,store:M},_)).$mount("#app")},"6c17":function(e,t,n){var r={"./auth.js":"c7d4","./ui.js":"f01d"};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id="6c17"},"71c6":function(e,t,n){"use strict";var r=n("bb10"),a=n.n(r);a.a},"74a4":function(e,t,n){"use strict";n.r(t);n("96cf");var r=n("1da1");t["default"]=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:r();case 1:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()},"81be":function(e,t,n){var r={"./panel.vue":"56d0","./public.vue":"a657"};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id="81be"},9091:function(e,t,n){var r={"./auth.js":"efbe","./check-auth.js":"74a4","./guest.js":"0a6b"};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id="9091"},"9fb0":function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return c})),n.d(t,"e",(function(){return u}));var r="LOGOUT",a="SAVE_TOKEN",o="FETCH_USER_SUCCESS",c="FETCH_USER_FAILURE",u="TOGGLE"},a383:function(e,t,n){var r={"./login":["c6f7","chunk-ad9746d8"],"./login.vue":["c6f7","chunk-ad9746d8"],"./panel":["e1cc","chunk-2d224ec2"],"./panel/":["e1cc","chunk-2d224ec2"],"./panel/components/ceptd":["8dfb","chunk-2d0e99de"],"./panel/components/ceptd.vue":["8dfb","chunk-2d0e99de"],"./panel/components/mltd":["93d3","chunk-2d0e55df"],"./panel/components/mltd.vue":["93d3","chunk-2d0e55df"],"./panel/components/od":["3f8a","chunk-2d0c55f2"],"./panel/components/od.vue":["3f8a","chunk-2d0c55f2"],"./panel/dashboard":["74b1","chunk-2d0d70a2"],"./panel/dashboard.vue":["74b1","chunk-2d0d70a2"],"./panel/index":["e1cc","chunk-2d224ec2"],"./panel/index.vue":["e1cc","chunk-2d224ec2"]};function a(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],a=t[0];return n.e(t[1]).then((function(){return n(a)}))}a.keys=function(){return Object.keys(r)},a.id="a383",e.exports=a},a657:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"base"},[n("header"),n("router-view"),n("footer")],1)},a=[],o={name:"PublicLayout"},c=o,u=(n("5047"),n("2877")),i=Object(u["a"])(c,r,a,!1,null,"7d981356",null);t["default"]=i.exports},ae14:function(e,t,n){"use strict";var r=n("3597"),a=n.n(r);a.a},b77a:function(e,t,n){"use strict";var r=n("b864"),a=n.n(r);a.a},b864:function(e,t,n){},bb10:function(e,t,n){},bb35:function(e,t,n){},c7d4:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return f})),n.d(t,"getters",(function(){return l})),n.d(t,"mutations",(function(){return p})),n.d(t,"actions",(function(){return h}));n("96cf");var r,a=n("1da1"),o=n("ade3"),c=n("bc3a"),u=n.n(c),i=n("a78e"),s=n.n(i),d=n("9fb0"),f={user:null,token:s.a.get("token")},l={user:function(e){return e.user},token:function(e){return e.token},check:function(e){return null!==e.user}},p=(r={},Object(o["a"])(r,d["d"],(function(e,t){var n=t.token,r=t.remember;e.token=n,s.a.set("token",n,{expires:r?365:null})})),Object(o["a"])(r,d["b"],(function(e,t){var n=t.user;e.user=n})),Object(o["a"])(r,d["a"],(function(e){e.token=null,s.a.remove("token")})),Object(o["a"])(r,d["c"],(function(e){e.user=null,e.token=null,s.a.remove("token")})),r),h={saveToken:function(e,t){var n=e.commit;e.dispatch;n(d["d"],t)},fetchUser:function(e){return Object(a["a"])(regeneratorRuntime.mark((function t(){var n,r,a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.prev=1,t.next=4,u.a.get("/user");case 4:r=t.sent,a=r.data,n(d["b"],{user:a}),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](1),n(d["a"]);case 12:case"end":return t.stop()}}),t,null,[[1,9]])})))()},logout:function(e){return Object(a["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.commit,t.prev=1,t.next=4,u.a.post("/logout");case 4:t.next=8;break;case 6:t.prev=6,t.t0=t["catch"](1);case 8:n(d["c"]);case 9:case"end":return t.stop()}}),t,null,[[1,6]])})))()}}},dc51:function(e,t,n){"use strict";var r=n("0ce0"),a=n.n(r);a.a},efbe:function(e,t,n){"use strict";n.r(t);n("96cf");var r=n("1da1");t["default"]=function(){var e=Object(r["a"])(regeneratorRuntime.mark((function e(t,n,r){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:r();case 1:case"end":return e.stop()}}),e)})));return function(t,n,r){return e.apply(this,arguments)}}()},f01d:function(e,t,n){"use strict";n.r(t),n.d(t,"state",(function(){return o})),n.d(t,"getters",(function(){return c})),n.d(t,"mutations",(function(){return u})),n.d(t,"actions",(function(){return i}));var r=n("ade3"),a=n("9fb0"),o={sidebarShow:!0,sidebarMinimize:!1},c={sidebarShow:function(e){return e.sidebarShow},sidebarMinimize:function(e){return e.sidebarMinimize}},u=Object(r["a"])({},a["e"],(function(e,t){e[t]=!e[t]})),i={toggle:function(e,t){var n=e.commit;n(a["e"],t)}}},fa04:function(e,t,n){}}); +//# sourceMappingURL=app.3c181a04.js.map \ No newline at end of file diff --git a/api/public/js/app.3c181a04.js.map b/api/public/js/app.3c181a04.js.map new file mode 100644 index 0000000..fc05754 --- /dev/null +++ b/api/public/js/app.3c181a04.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/middleware/guest.js","webpack:///./src/layouts/public.vue?e81d","webpack:///./src/layouts/panel.vue?9fef","webpack:///./src/containers/Sidebar.vue?6465","webpack:///src/containers/Sidebar.vue","webpack:///./src/containers/Sidebar.vue?da49","webpack:///./src/containers/Sidebar.vue?9e2c","webpack:///./src/containers/MainHeader.vue?c456","webpack:///src/containers/MainHeader.vue","webpack:///./src/containers/MainHeader.vue?e455","webpack:///./src/containers/MainHeader.vue?f374","webpack:///src/layouts/panel.vue","webpack:///./src/layouts/panel.vue?35cd","webpack:///./src/layouts/panel.vue?119b","webpack:///./src/App.vue?4ed4","webpack:///./src/Loading.vue?095a","webpack:///src/Loading.vue","webpack:///./src/Loading.vue?b83e","webpack:///./src/Loading.vue?71b5","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue","webpack:///./src/store/index.js","webpack:///./src/router/routes.js","webpack:///./src/router/index.js","webpack:///./src/plugins/axios.js","webpack:///./src/plugins/fontawesome.js","webpack:///./src/main.js","webpack:///./src/store/modules sync nonrecursive .*\\.js$","webpack:///./src/containers/MainHeader.vue?cec7","webpack:///./src/middleware/check-auth.js","webpack:///./src/layouts sync nonrecursive .*\\.vue$","webpack:///./src/middleware sync nonrecursive .*\\.js$","webpack:///./src/store/mutation-types.js","webpack:///./src/pages lazy ^\\.\\/.*$ namespace object","webpack:///./src/layouts/public.vue?a728","webpack:///src/layouts/public.vue","webpack:///./src/layouts/public.vue?3a7c","webpack:///./src/layouts/public.vue?4545","webpack:///./src/containers/Sidebar.vue?c2fa","webpack:///./src/layouts/panel.vue?e5fe","webpack:///./src/store/modules/auth.js","webpack:///./src/Loading.vue?5476","webpack:///./src/middleware/auth.js","webpack:///./src/store/modules/ui.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","to","from","next","render","_vm","this","_h","$createElement","_c","_self","staticClass","class","sidebarShow","attrs","staticRenderFns","_v","component","on","$event","$store","dispatch","methods","components","Sidebar","computed","ref","layout","_e","style","width","percent","height","opacity","show","canSuccess","color","failedColor","start","_timer","clearInterval","_cut","Math","floor","duration","setInterval","set","num","increase","decrease","finish","hide","pause","fail","Vue","use","Vuex","requireContext","require","keys","map","file","replace","reduce","namespaced","Store","page","path","default","redirect","children","Router","globalMiddleware","routeMiddleware","resolveMiddleware","router","createRouter","sync","store","scrollBehavior","routes","beforeEach","afterEach","resolveComponents","getMatchedComponents","test","location","reload","loading","app","$nextTick","$loading","middleware","getMiddleware","callMiddleware","setLayout","stack","reverse","_next","pop","filter","forEach","Array","isArray","savedPosition","hash","selector","scrollToTop","x","y","guards","guard","axios","interceptors","baseURL","process","locale","getters","headers","common","response","library","add","faUser","faLock","faSignOutAlt","faEnvelope","faArrowDown","faArrowUp","faCogs","faBars","faStop","faSearch","FontAwesomeIcon","FontAwesomeLayers","BootstrapVue","IconsPlugin","Toasted","position","config","performance","App","$mount","webpackContext","req","id","webpackContextResolve","LOGOUT","SAVE_TOKEN","FETCH_USER_SUCCESS","FETCH_USER_FAILURE","TOGGLE","webpackAsyncContext","ids","state","user","token","Cookies","check","mutations","types","remember","expires","remove","actions","saveToken","payload","commit","fetchUser","logout","post","sidebarMinimize","variable","toggle"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJjB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GA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G,YAAa,SAAA6I,GAAK,OAAIA,EAAM7I,aAC5B8J,gBAAiB,SAAAjB,GAAK,OAAIA,EAAMiB,kBAIrBZ,EAAY,kBACtBC,QADmB,SACJN,EAAOkB,GACrBlB,EAAMkB,IAAalB,EAAMkB,MAKhBR,EAAU,CACrBS,OADqB,WACDD,GAAU,IAApBL,EAAoB,EAApBA,OACRA,EAAOP,OAAcY,M","file":"js/app.3c181a04.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-2d0c55f2\":\"5c85b614\",\"chunk-2d0d70a2\":\"7ea12236\",\"chunk-2d0e55df\":\"3d7ea4b4\",\"chunk-2d0e99de\":\"fb0153a3\",\"chunk-2d224ec2\":\"03a05a00\",\"chunk-ad9746d8\":\"9562ee9e\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-ad9746d8\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-2d0c55f2\":\"31d6cfe0\",\"chunk-2d0d70a2\":\"31d6cfe0\",\"chunk-2d0e55df\":\"31d6cfe0\",\"chunk-2d0e99de\":\"31d6cfe0\",\"chunk-2d224ec2\":\"31d6cfe0\",\"chunk-ad9746d8\":\"9a04f192\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","// import store from '~/store'\n\nexport default (to, from, next) => {\n next()\n // if (store.getters['auth/check']) {\n // next({ name: 'home' })\n // } else {\n // next()\n // }\n}\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=style&index=0&id=7d981356&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=style&index=0&id=7d981356&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-flex\",class:{ 'toggled': !_vm.sidebarShow },attrs:{\"id\":\"wrapper\"}},[_c('sidebar'),_c('div',{attrs:{\"id\":\"page-content-wrapper\"}},[_c('main-header'),_c('div',{staticClass:\"container-fluid\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[_c('router-view')],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"border-right\",attrs:{\"id\":\"sidebar-wrapper\"}},[_c('div',{staticClass:\"sidebar-header\"},[_vm._v(\" KEA \")]),_c('ul',{staticClass:\"list-group list-group-flush\"},[_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'panel.dashboard' }}},[_vm._v(\" Dashboard \")])],1),_c('h6',{staticClass:\"text-center pt-3\"},[_vm._v(\" Monitor \")]),_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'panel.components.mltd' }}},[_vm._v(\" MLTD \")])],1),_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'panel.components.od' }}},[_vm._v(\" OD \")])],1),_c('li',[_c('router-link',{attrs:{\"to\":{ name: 'panel.components.ceptd' }}},[_vm._v(\" CEPTD \")])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Sidebar.vue?vue&type=template&id=466c867c&scoped=true&\"\nimport script from \"./Sidebar.vue?vue&type=script&lang=js&\"\nexport * from \"./Sidebar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Sidebar.vue?vue&type=style&index=0&id=466c867c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"466c867c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-navbar',{staticClass:\"bottom-shadow mb-3\",attrs:{\"variant\":\"white\"}},[_c('b-button',{staticClass:\"no-outline\",attrs:{\"variant\":\"none\"},on:{\"click\":function($event){return _vm.$store.dispatch('ui/toggle', 'sidebarShow')}}},[_c('fa',{attrs:{\"icon\":\"bars\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainHeader.vue?vue&type=template&id=3c68b016&scoped=true&\"\nimport script from \"./MainHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./MainHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MainHeader.vue?vue&type=style&index=0&id=3c68b016&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3c68b016\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./panel.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./panel.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./panel.vue?vue&type=template&id=03a4fafb&scoped=true&\"\nimport script from \"./panel.vue?vue&type=script&lang=js&\"\nexport * from \"./panel.vue?vue&type=script&lang=js&\"\nimport style0 from \"./panel.vue?vue&type=style&index=0&id=03a4fafb&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"03a4fafb\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('loading',{ref:\"loading\"}),_c('transition',{attrs:{\"name\":\"page\",\"mode\":\"out-in\"}},[(_vm.layout)?_c(_vm.layout,{tag:\"component\"}):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress\",style:({\n width: (_vm.percent + \"%\"),\n height: _vm.height,\n opacity: _vm.show ? 1 : 0,\n 'background-color': _vm.canSuccess ? _vm.color : _vm.failedColor\n})})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Loading.vue?vue&type=template&id=4a92ff42&scoped=true&\"\nimport script from \"./Loading.vue?vue&type=script&lang=js&\"\nexport * from \"./Loading.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Loading.vue?vue&type=style&index=0&id=4a92ff42&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4a92ff42\",\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=7e821574&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nVue.use(Vuex)\n\n// Load store modules dynamically.\nconst requireContext = require.context('./modules', false, /.*\\.js$/)\n\nconst modules = requireContext.keys()\n .map(file =>\n [file.replace(/(^.\\/)|(\\.js$)/g, ''), requireContext(file)]\n )\n .reduce((modules, [name, module]) => {\n if (module.namespaced === undefined) {\n module.namespaced = true\n }\n\n return { ...modules, [name]: module }\n }, {})\n\nexport default new Vuex.Store({\n modules\n})\n","function page (path) {\n return () => import(`~/pages/${path}`).then(m => m.default || m)\n}\n\nexport default [\n {\n path: '/',\n name: 'panel',\n redirect: '/dashboard',\n component: page('panel/index.vue'),\n children: [\n {\n path: 'dashboard',\n name: 'panel.dashboard',\n component: page('panel/dashboard.vue')\n },\n {\n path: 'components/mltd',\n name: 'panel.components.mltd',\n component: page('panel/components/mltd.vue')\n },\n {\n path: 'components/od',\n name: 'panel.components.od',\n component: page('panel/components/od.vue')\n },\n {\n path: 'components/ceptd',\n name: 'panel.components.ceptd',\n component: page('panel/components/ceptd.vue')\n }\n ]\n }\n // { path: '/login', name: 'login', component: page('login.vue') }\n]\n","import Vue from 'vue'\nimport store from '~/store'\nimport routes from './routes'\nimport Router from 'vue-router'\nimport { sync } from 'vuex-router-sync'\n\nVue.use(Router)\n\n// The middleware for every page of the application.\nconst globalMiddleware = ['check-auth']\n\n// Load middleware modules dynamically.\nconst routeMiddleware = resolveMiddleware(\n require.context('~/middleware', false, /.*\\.js$/)\n)\n\nconst router = createRouter()\n\nsync(store, router)\n\nexport default router\n\n/**\n * Create a new router instance.\n *\n * @return {Router}\n */\nfunction createRouter () {\n const router = new Router({\n scrollBehavior,\n mode: 'history',\n routes\n })\n\n router.beforeEach(beforeEach)\n router.afterEach(afterEach)\n\n return router\n}\n\n/**\n * Global router guard.\n *\n * @param {Route} to\n * @param {Route} from\n * @param {Function} next\n */\nasync function beforeEach (to, from, next) {\n let components = []\n\n try {\n // Get the matched components and resolve them.\n components = await resolveComponents(\n router.getMatchedComponents({ ...to })\n )\n } catch (error) {\n if (/^Loading( CSS)? chunk (\\d)+ failed\\./.test(error.message)) {\n window.location.reload(true)\n return\n }\n }\n\n if (components.length === 0) {\n return next()\n }\n\n // Start the loading bar.\n if (components[components.length - 1].loading !== false) {\n router.app.$nextTick(() => router.app.$loading.start())\n }\n\n // Get the middleware for all the matched components.\n const middleware = getMiddleware(components)\n\n // Call each middleware.\n callMiddleware(middleware, to, from, (...args) => {\n // Set the application layout only if \"next()\" was called with no args.\n if (args.length === 0) {\n router.app.setLayout(components[0].layout || '')\n }\n\n next(...args)\n })\n}\n\n/**\n * Global after hook.\n *\n * @param {Route} to\n * @param {Route} from\n * @param {Function} next\n */\nasync function afterEach (to, from, next) {\n await router.app.$nextTick()\n\n router.app.$loading.finish()\n}\n\n/**\n * Call each middleware.\n *\n * @param {Array} middleware\n * @param {Route} to\n * @param {Route} from\n * @param {Function} next\n */\nfunction callMiddleware (middleware, to, from, next) {\n const stack = middleware.reverse()\n\n const _next = (...args) => {\n // Stop if \"_next\" was called with an argument or the stack is empty.\n if (args.length > 0 || stack.length === 0) {\n if (args.length > 0) {\n router.app.$loading.finish()\n }\n\n return next(...args)\n }\n\n const middleware = stack.pop()\n\n if (typeof middleware === 'function') {\n middleware(to, from, _next)\n } else if (routeMiddleware[middleware]) {\n routeMiddleware[middleware](to, from, _next)\n } else {\n throw Error(`Undefined middleware [${middleware}]`)\n }\n }\n\n _next()\n}\n\n/**\n * Resolve async components.\n *\n * @param {Array} components\n * @return {Array}\n */\nfunction resolveComponents (components) {\n return Promise.all(components.map(component => {\n return typeof component === 'function' ? component() : component\n }))\n}\n\n/**\n * Merge the the global middleware with the components middleware.\n *\n * @param {Array} components\n * @return {Array}\n */\nfunction getMiddleware (components) {\n const middleware = [...globalMiddleware]\n\n components.filter(c => c.middleware).forEach(component => {\n if (Array.isArray(component.middleware)) {\n middleware.push(...component.middleware)\n } else {\n middleware.push(component.middleware)\n }\n })\n\n return middleware\n}\n\n/**\n * Scroll Behavior\n *\n * @link https://router.vuejs.org/en/advanced/scroll-behavior.html\n *\n * @param {Route} to\n * @param {Route} from\n * @param {Object|undefined} savedPosition\n * @return {Object}\n */\nfunction scrollBehavior (to, from, savedPosition) {\n if (savedPosition) {\n return savedPosition\n }\n\n if (to.hash) {\n return { selector: to.hash }\n }\n\n const [component] = router.getMatchedComponents({ ...to }).slice(-1)\n\n if (component && component.scrollToTop === false) {\n return {}\n }\n\n return { x: 0, y: 0 }\n}\n\n/**\n * @param {Object} requireContext\n * @return {Object}\n */\nfunction resolveMiddleware (requireContext) {\n return requireContext.keys()\n .map(file =>\n [file.replace(/(^.\\/)|(\\.js$)/g, ''), requireContext(file)]\n )\n .reduce((guards, [name, guard]) => (\n { ...guards, [name]: guard.default }\n ), {})\n}\n","import axios from 'axios'\nimport store from '~/store'\n\n// Request interceptor\naxios.interceptors.request.use(request => {\n request.baseURL = process.env.VUE_APP_BASE_URL\n\n // const token = store.getters['auth/token']\n // if (token) {\n // request.headers.common.Authorization = `Bearer ${token}`\n // }\n\n const locale = store.getters['lang/locale']\n if (locale) {\n request.headers.common['Accept-Language'] = locale\n }\n\n // request.headers['X-Socket-Id'] = Echo.socketId()\n\n return request\n})\n\n// Response interceptor\naxios.interceptors.response.use(response => response, error => {\n return Promise.reject(error)\n})\n","import Vue from 'vue'\nimport { library } from '@fortawesome/fontawesome-svg-core'\nimport { FontAwesomeIcon, FontAwesomeLayers } from '@fortawesome/vue-fontawesome'\nimport {\n faUser, faLock, faSignOutAlt, faEnvelope, faArrowDown, faArrowUp, faCogs, faBars, faStop, faSearch\n} from '@fortawesome/free-solid-svg-icons'\n\nlibrary.add(\n faUser, faLock, faSignOutAlt, faEnvelope, faArrowDown, faArrowUp, faCogs, faBars, faStop, faSearch\n)\n\nVue.component('fa', FontAwesomeIcon)\nVue.component('fa-layers', FontAwesomeLayers)\n","import 'core-js/stable'\nimport Vue from 'vue'\nimport { BootstrapVue, IconsPlugin } from 'bootstrap-vue'\nimport Toasted from 'vue-toasted'\nimport App from './App'\nimport router from './router'\nimport store from './store'\nimport '~/plugins'\n\nimport '~/assets/scss/custom.scss'\n\n// Install BootstrapVue\nVue.use(BootstrapVue)\n// Optionally install the BootstrapVue icon components plugin\nVue.use(IconsPlugin)\nVue.use(Toasted, {\n position: 'bottom-center',\n duration: 5000\n})\n\nVue.config.performance = true\n\nnew Vue({\n router,\n store,\n ...App\n}).$mount('#app')\n","var map = {\n\t\"./auth.js\": \"c7d4\",\n\t\"./ui.js\": \"f01d\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"6c17\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainHeader.vue?vue&type=style&index=0&id=3c68b016&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainHeader.vue?vue&type=style&index=0&id=3c68b016&scoped=true&lang=css&\"","// import store from '~/store'\n\nexport default async (to, from, next) => {\n // if (!store.getters['auth/check'] && store.getters['auth/token']) {\n // try {\n // await store.dispatch('auth/fetchUser')\n // } catch (e) { }\n // }\n\n next()\n}\n","var map = {\n\t\"./panel.vue\": \"56d0\",\n\t\"./public.vue\": \"a657\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"81be\";","var map = {\n\t\"./auth.js\": \"efbe\",\n\t\"./check-auth.js\": \"74a4\",\n\t\"./guest.js\": \"0a6b\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"9091\";","// auth.js\nexport const LOGOUT = 'LOGOUT'\nexport const SAVE_TOKEN = 'SAVE_TOKEN'\nexport const FETCH_USER = 'FETCH_USER'\nexport const FETCH_USER_SUCCESS = 'FETCH_USER_SUCCESS'\nexport const FETCH_USER_FAILURE = 'FETCH_USER_FAILURE'\n\n// ui.js\nexport const TOGGLE = 'TOGGLE'\n","var map = {\n\t\"./login\": [\n\t\t\"c6f7\",\n\t\t\"chunk-ad9746d8\"\n\t],\n\t\"./login.vue\": [\n\t\t\"c6f7\",\n\t\t\"chunk-ad9746d8\"\n\t],\n\t\"./panel\": [\n\t\t\"e1cc\",\n\t\t\"chunk-2d224ec2\"\n\t],\n\t\"./panel/\": [\n\t\t\"e1cc\",\n\t\t\"chunk-2d224ec2\"\n\t],\n\t\"./panel/components/ceptd\": [\n\t\t\"8dfb\",\n\t\t\"chunk-2d0e99de\"\n\t],\n\t\"./panel/components/ceptd.vue\": [\n\t\t\"8dfb\",\n\t\t\"chunk-2d0e99de\"\n\t],\n\t\"./panel/components/mltd\": [\n\t\t\"93d3\",\n\t\t\"chunk-2d0e55df\"\n\t],\n\t\"./panel/components/mltd.vue\": [\n\t\t\"93d3\",\n\t\t\"chunk-2d0e55df\"\n\t],\n\t\"./panel/components/od\": [\n\t\t\"3f8a\",\n\t\t\"chunk-2d0c55f2\"\n\t],\n\t\"./panel/components/od.vue\": [\n\t\t\"3f8a\",\n\t\t\"chunk-2d0c55f2\"\n\t],\n\t\"./panel/dashboard\": [\n\t\t\"74b1\",\n\t\t\"chunk-2d0d70a2\"\n\t],\n\t\"./panel/dashboard.vue\": [\n\t\t\"74b1\",\n\t\t\"chunk-2d0d70a2\"\n\t],\n\t\"./panel/index\": [\n\t\t\"e1cc\",\n\t\t\"chunk-2d224ec2\"\n\t],\n\t\"./panel/index.vue\": [\n\t\t\"e1cc\",\n\t\t\"chunk-2d224ec2\"\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = \"a383\";\nmodule.exports = webpackAsyncContext;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"base\"},[_c('header'),_c('router-view'),_c('footer')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./public.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./public.vue?vue&type=template&id=7d981356&scoped=true&\"\nimport script from \"./public.vue?vue&type=script&lang=js&\"\nexport * from \"./public.vue?vue&type=script&lang=js&\"\nimport style0 from \"./public.vue?vue&type=style&index=0&id=7d981356&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7d981356\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=style&index=0&id=466c867c&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Sidebar.vue?vue&type=style&index=0&id=466c867c&scoped=true&lang=css&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./panel.vue?vue&type=style&index=0&id=03a4fafb&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./panel.vue?vue&type=style&index=0&id=03a4fafb&scoped=true&lang=css&\"","import axios from 'axios'\nimport Cookies from 'js-cookie'\nimport * as types from '../mutation-types'\n\n// state\nexport const state = {\n user: null,\n token: Cookies.get('token')\n}\n\n// getters\nexport const getters = {\n user: state => state.user,\n token: state => state.token,\n check: state => state.user !== null\n}\n\n// mutations\nexport const mutations = {\n [types.SAVE_TOKEN] (state, { token, remember }) {\n state.token = token\n Cookies.set('token', token, { expires: remember ? 365 : null })\n },\n\n [types.FETCH_USER_SUCCESS] (state, { user }) {\n state.user = user\n },\n\n [types.FETCH_USER_FAILURE] (state) {\n state.token = null\n Cookies.remove('token')\n },\n\n [types.LOGOUT] (state) {\n state.user = null\n state.token = null\n\n Cookies.remove('token')\n }\n}\n\n// actions\nexport const actions = {\n saveToken ({ commit, dispatch }, payload) {\n commit(types.SAVE_TOKEN, payload)\n },\n\n async fetchUser ({ commit }) {\n try {\n const { data } = await axios.get('/user')\n\n commit(types.FETCH_USER_SUCCESS, { user: data })\n } catch (e) {\n commit(types.FETCH_USER_FAILURE)\n }\n },\n\n async logout ({ commit }) {\n try {\n await axios.post('/logout')\n } catch (e) { }\n\n commit(types.LOGOUT)\n }\n}\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=4a92ff42&scoped=true&lang=css&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Loading.vue?vue&type=style&index=0&id=4a92ff42&scoped=true&lang=css&\"","// import store from '~/store'\n\nexport default async (to, from, next) => {\n // if (!store.getters['auth/check']) {\n // next({ name: 'login' })\n // } else {\n next()\n // }\n}\n","import * as types from '../mutation-types'\n\n// state\nexport const state = {\n sidebarShow: true,\n sidebarMinimize: false\n}\n\n// getters\nexport const getters = {\n sidebarShow: state => state.sidebarShow,\n sidebarMinimize: state => state.sidebarMinimize\n}\n\n// mutations\nexport const mutations = {\n [types.TOGGLE] (state, variable) {\n state[variable] = !state[variable]\n }\n}\n\n// actions\nexport const actions = {\n toggle ({ commit }, variable) {\n commit(types.TOGGLE, variable)\n }\n}\n"],"sourceRoot":""} \ No newline at end of file diff --git a/api/public/js/chunk-2d0c55f2.5c85b614.js b/api/public/js/chunk-2d0c55f2.5c85b614.js new file mode 100644 index 0000000..ac5768f --- /dev/null +++ b/api/public/js/chunk-2d0c55f2.5c85b614.js @@ -0,0 +1,2 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0c55f2"],{"3f8a":function(e,r,t){"use strict";t.r(r);var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticStyle:{height:"90vh"}},[t("iframe",{attrs:{width:"100%",height:"100%",src:e.src,frameborder:"0"}})])},a=[],c=(t("96cf"),t("1da1")),i=t("bc3a"),s=t.n(i),o={name:"OD",data:function(){return{src:"",params:"/d/qDDyJZ6Wz/od?orgId=1"}},created:function(){this.config()},methods:{config:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function r(){var t,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,s.a.get("/config");case 3:t=r.sent,n=t.data,e.src=n.kibana_url+e.params,r.next=11;break;case 8:r.prev=8,r.t0=r["catch"](0),e.$toasted.error("Error fetching Grafana URL!");case 11:case"end":return r.stop()}}),r,null,[[0,8]])})))()}}},u=o,f=t("2877"),d=Object(f["a"])(u,n,a,!1,null,"4c1485ec",null);r["default"]=d.exports}}]); +//# sourceMappingURL=chunk-2d0c55f2.5c85b614.js.map \ No newline at end of file diff --git a/api/public/js/chunk-2d0c55f2.5c85b614.js.map b/api/public/js/chunk-2d0c55f2.5c85b614.js.map new file mode 100644 index 0000000..5464bc8 --- /dev/null +++ b/api/public/js/chunk-2d0c55f2.5c85b614.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///./src/pages/panel/components/od.vue?306b","webpack:///src/pages/panel/components/od.vue","webpack:///./src/pages/panel/components/od.vue?d888","webpack:///./src/pages/panel/components/od.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticStyle","attrs","src","staticRenderFns","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,CAAC,OAAS,SAAS,CAACF,EAAG,SAAS,CAACG,MAAM,CAAC,MAAQ,OAAO,OAAS,OAAO,IAAMP,EAAIQ,IAAI,YAAc,UACrNC,EAAkB,G,6CCQtB,GACE,KAAF,KACE,KAFF,WAGI,MAAJ,CACM,IAAN,GACM,OAAN,4BAGE,QARF,WASI,KAAJ,UAEE,QAAF,CACI,OADJ,WACM,IAAN,OAAM,OAAN,uKAEA,mBAFA,gBAEA,EAFA,EAEA,KACA,4BAHA,mDAKA,gDALA,8DCrB0W,I,YCOtWC,EAAY,eACd,EACAX,EACAU,GACA,EACA,KACA,WACA,MAIa,aAAAC,E","file":"js/chunk-2d0c55f2.5c85b614.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticStyle:{\"height\":\"90vh\"}},[_c('iframe',{attrs:{\"width\":\"100%\",\"height\":\"100%\",\"src\":_vm.src,\"frameborder\":\"0\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","