All Downloads are FREE. Search and download functionalities are using the official Maven repository.

frontend.dist.js.app.9ce3eba4.js.map Maven / Gradle / Ivy

There is a newer version: 3.0.0-alpha-29
Show newest version
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/App.vue?733c","webpack:///src/App.vue","webpack:///./src/App.vue?1160","webpack:///./src/App.vue?bff9","webpack:///./src/store.js","webpack:///./src/router.js","webpack:///./src/main.js","webpack:///./src/App.vue?c650","webpack:///./src/components/SideBar.vue?386b","webpack:///src/components/SideBar.vue","webpack:///./src/components/SideBar.vue?b259","webpack:///./src/components/SideBar.vue?d026","webpack:///./src/components/SideBar.vue?7115","webpack:///./src/utils.mjs"],"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","_vm","this","_h","$createElement","_c","_self","staticRenderFns","component","Vue","use","Vuex","Store","state","allModels","ready","loggedInUser","token","inviteLink","hasUsers","settings","mutations","SET_MODELS","models","SET_USER","user","SET_TOKEN","SET_HAS_USERS","READY","actions","getModels","commit","axios","response","filter","viewableOnCMS","init","dispatch","localStorage","getItem","catch","removeItem","finally","logInWithToken","loginResponseToken","url","method","headers","userResponse","setItem","defaults","authorization","logIn","loginAttempt","auth","username","password","logOut","cookie","getters","getModel","modelPath","path","includes","isModerator","loggedIn","permissions","elepyInitialized","requireLogin","to","from","next","proceed","store","watch","query","redirect","fullPath","immediate","noLogin","VueRouter","routes","beforeEnter","children","meta","title","router","base","scrollBehavior","savedPosition","x","y","config","productionTip","render","h","App","$mount","Utils","attrs","_m","staticClass","_v","_l","model","_s","on","displayResponse","display","displayError","UIkit","notification","status","pos","properties","modal","dialog","marked","sanitize","location","redir"],"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,EAAk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[" \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-127e3074\":\"0ee21aa7\",\"chunk-2d0e1fe1\":\"3391d123\",\"chunk-43584e6c\":\"9421f825\",\"chunk-6dea528a\":\"0a2d745b\",\"chunk-0b3c1f8e\":\"a544f3fc\",\"chunk-2d0b37ae\":\"ea5ddc9b\",\"chunk-2d0b722b\":\"e7747653\",\"chunk-74d2724a\":\"741c1a38\"}[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-43584e6c\":1,\"chunk-6dea528a\":1,\"chunk-0b3c1f8e\":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-127e3074\":\"31d6cfe0\",\"chunk-2d0e1fe1\":\"31d6cfe0\",\"chunk-43584e6c\":\"fa750ab0\",\"chunk-6dea528a\":\"3fc0cc77\",\"chunk-0b3c1f8e\":\"b1770c16\",\"chunk-2d0b37ae\":\"31d6cfe0\",\"chunk-2d0b722b\":\"31d6cfe0\",\"chunk-74d2724a\":\"31d6cfe0\"}[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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('router-view')}\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!./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=15174fe0&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\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 axios from \"axios\"\nimport Vue from \"vue\"\nimport Vuex from \"vuex\";\n\nVue.use(Vuex);\n\nexport default new Vuex.Store({\n    state: {\n        allModels: [],\n        ready: false,\n        loggedInUser: null,\n        token: null,\n        inviteLink: null,\n        hasUsers: null,\n        settings: null\n    },\n    mutations: {\n        SET_MODELS(state, models) {\n            state.allModels = models;\n        },\n        SET_USER(state, user) {\n            state.loggedInUser = user\n        },\n        SET_TOKEN(state, token) {\n            state.token = token;\n        },\n        SET_HAS_USERS(state, value) {\n            state.hasUsers = value\n        },\n        READY(state) {\n            state.ready = true;\n        }\n\n    },\n    actions: {\n\n        async getModels({commit}) {\n            return axios.get(\"/config\")\n                .then(response => commit('SET_MODELS', response.data.filter(m => m.viewableOnCMS)));\n        },\n\n        async init({dispatch, commit}) {\n            let token = window.localStorage.getItem('token');\n\n            await axios.get(\"/elepy-has-users\")\n                .then(() =>\n                    commit('SET_HAS_USERS', true))\n                .catch(() =>\n                    commit('SET_HAS_USERS', false));\n            if (token != null) {\n               return dispatch('logInWithToken', token)\n                    .catch(() => window.localStorage.removeItem('token'))\n                    .finally(() => commit(\"READY\"));\n            } else {\n               return commit(\"READY\");\n            }\n        },\n        async logInWithToken({commit, dispatch}, loginResponseToken) {\n            let userResponse = (await axios({\n                url: \"/elepy-logged-in-user\",\n                method: 'get',\n                headers: {'Authorization': 'Bearer ' + loginResponseToken}\n            })).data;\n\n            await dispatch('getModels');\n\n            window.localStorage.setItem(\"token\", loginResponseToken);\n\n            axios.defaults.headers.authorization = 'Bearer ' + loginResponseToken;\n            \n            commit(\"SET_USER\", userResponse);\n            commit(\"SET_TOKEN\", loginResponseToken)\n        },\n        async logIn({dispatch}, loginAttempt) {\n            delete axios.defaults.headers[\"authorization\"];\n            let loginResponseToken = (await axios({\n                url: \"/elepy-token-login\",\n                method: 'post',\n                auth: {\n                    username: loginAttempt.username,\n                    password: loginAttempt.password\n                }\n            })).data;\n            return dispatch('logInWithToken', loginResponseToken)\n        },\n\n        logOut({commit}) {\n            document.cookie = \"ELEPY_TOKEN=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;\";\n            window.localStorage.removeItem('token');\n            delete axios.defaults.headers[\"authorization\"];\n            commit(\"SET_USER\", null);\n        }\n    },\n    getters: {\n        getModel: state => (modelPath) => state.allModels.filter((m) => m.path.includes(modelPath))[0],\n\n        isModerator: (state, getters) =>\n            getters.loggedIn && (\n            state.loggedInUser.permissions.includes(\"moderator\")\n            || state.loggedInUser.permissions.includes(\"owner\")),\n\n        loggedIn: state => state.loggedInUser != null,\n\n        elepyInitialized: state => {\n            return state.hasUsers\n        },\n\n        ready: state => state.ready === true\n\n    }\n});","import Vue from 'vue'\nimport VueRouter from 'vue-router'\n\nimport store from './store'\n\nconst requireLogin = (to, from, next) => {\n\n    function proceed() {\n        if (store.getters.loggedIn) {\n            next();\n        }\n    }\n\n    store.watch(\n        (state, getters) => getters.ready,\n        (value) => {\n            if (value === true) {\n                if (!store.getters.loggedIn) {\n                    next({\n                        path: '/login',\n                        query: {\n                            redirect: to.fullPath,\n                        },\n                    });\n                } else {\n                    proceed();\n                }\n            } else {\n                proceed()\n            }\n        },\n        {immediate: true}\n    )\n\n\n};\n\nconst noLogin = (to, from, next) => {\n\n    store.watch(\n        (state, getters) => getters.elepyInitialized,\n        (value) => {\n            if (value === true && to.path !== '/login') {\n                next({\n                    path: '/login',\n                });\n            } else if (value === false && to.path !== '/initial-user') {\n                next({\n                    path: '/initial-user',\n                });\n\n            } else {\n                next();\n            }\n\n        },\n        {immediate: true}\n    );\n\n};\nVue.use(VueRouter)\n\nconst routes = [\n    {\n        path: '/login',\n        component: () => import( './views/LoginView.vue'),\n        beforeEnter: noLogin\n    },\n    {\n        path: '/initial-user',\n        component: () => import( './views/InitialUserView.vue'),\n        beforeEnter: noLogin\n    },\n\n    {\n        path: '/',\n        component: () => import( './views/MainView.vue'),\n        beforeEnter: requireLogin,\n        children: [\n\n            {\n                path: '/',\n                component: () => import( './views/HomeView.vue'),\n            },\n            {\n                path: '/:modelPath',\n                name: 'generic',\n                // route level code-splitting\n                // this generates a separate chunk (about.[hash].js) for this route\n                // which is lazy-loaded when the route is visited.\n                component: () => import( './views/ModelView.vue'),\n                meta: {\n                    title: null,\n                    auth: false\n                },\n            },\n\n            {\n                path: '/:modelPath/edit/:recordId',\n\n                component: () => import( './views/EditRecordView.vue')\n            },\n            {\n                path: '/:modelPath/add',\n\n                component: () => import( './views/AddRecordView.vue')\n            }\n        ]\n    },\n\n\n];\n\nconst router = new VueRouter({\n    mode: 'history',\n    base: '/elepy-admin',\n    routes,\n    scrollBehavior(to, from, savedPosition) {\n        if (savedPosition) {\n            return savedPosition\n        } else {\n            return {x: 0, y: 0}\n        }\n    },\n});\n\nexport default router","import Vue from 'vue'\nimport App from './App.vue'\nimport store from \"./store\";\nimport Utils from \"./utils\"\nimport router from './router'\nimport axios from \"axios\"\nimport UIkit from 'uikit';\n\nVue.config.productionTip = false;\n\n\nif (process.env.NODE_ENV !== 'production') {\n    // This is the URL to the instance that gets run from 'develop_frontend.sh'\n    axios.defaults.baseURL = 'http://localhost:7331';\n}\nnew Vue({\n    router,\n    store,\n    render: h => h(App),\n}).$mount('#app');\n\nUtils.url = \"\";\nstore.dispatch('init');\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!./App.vue?vue&type=style&index=0&lang=scss&\"; 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!./App.vue?vue&type=style&index=0&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"sidebar\"}},[_vm._m(0),_c('div',{staticClass:\"uk-padding\"},[_c('div',{staticClass:\"models uk-light\"},[_c('h4',{staticClass:\"uk-heading-bullet\"},[_vm._v(\"Resources\")]),_c('ul',{staticClass:\"link-list uk-list\"},_vm._l((this.allModels),function(model){return _c('li',{key:model.name},[_c('router-link',{attrs:{\"to\":model.path}},[_vm._v(_vm._s(model.name))])],1)}),0),_c('h4',{staticClass:\"uk-heading-bullet\"},[_vm._v(\"More Links\")]),_c('ul',{staticClass:\"link-list uk-list\"},[_c('li',[_c('router-link',{attrs:{\"to\":\"/\"}},[_vm._v(\"Admin Home\")])],1),_c('li',[_c('a',{on:{\"click\":_vm.logOut}},[_vm._v(\"Log out\")])])])]),_vm._m(1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:\"sidebar-header uk-flex uk-flex-center\",attrs:{\"href\":\"/admin\"}},[_c('img',{staticClass:\"banner-image\",attrs:{\"src\":\"https://docs.elepy.com/images/banner.jpg\",\"alt\":\"logo\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"sidebar-footer\"},[_c('p',[_vm._v(\" Proudly powered by \"),_c('a',{attrs:{\"href\":\"https://elepy.com\",\"target\":\"_blank\"}},[_vm._v(\"Elepy \")])])])}]\n\nexport { render, staticRenderFns }","\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=49992b9b&\"\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&lang=scss&\"\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 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!./SideBar.vue?vue&type=style&index=0&lang=scss&\"; 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!./SideBar.vue?vue&type=style&index=0&lang=scss&\"","import UIkit from \"uikit\";\nimport marked from 'marked';\n\nexport default {\n    url: \"\",\n    displayResponse(response) {\n        this.display(response);\n    },\n    displayError(error) {\n        if(error.response == null){\n            UIkit.notification(error, {\n                status: \"danger\",\n                pos: \"bottom-center\"\n            });\n        }else{\n            this.display(error.response)\n        }\n    },\n    display(response) {\n        if (response.data.properties == null) {\n            UIkit.notification(response.data.message??response.data, {\n                status: \"primary\",\n                pos: \"bottom-center\"\n            });\n        }else{\n            switch (response.data.properties.type) {\n                case \"HTML\":\n                    UIkit.modal.dialog(response.data.message);\n                    break;\n                case \"MARKDOWN\":\n                    UIkit.modal.dialog(marked(response.data.message, {\n                        sanitize: false\n                    }));\n                    break;\n                case \"MESSAGE\":\n                    UIkit.notification(response.data.message, {\n                        status: \"success\",\n                        pos: \"bottom-center\"\n                    });\n                    break;\n                case \"ERROR\":\n                    UIkit.notification(response.data.message, {\n                        status: \"danger\",\n                        pos: \"bottom-center\"\n                    });\n                    break;\n                case \"REDIRECT\":\n                    window.location = response.data.message;\n                    break;\n                default:\n                    if (response.status < 300) {\n                        UIkit.notification(response.data.message, {\n                            status: \"success\",\n                            pos: \"bottom-center\"\n                        });\n                    } else {\n                        UIkit.notification(response.data.message, {\n                            status: \"danger\",\n                            pos: \"bottom-center\"\n                        });\n                    }\n                    break;\n            }\n        }\n\n\n\n\n\n    },\n    redir(error) {\n        if (error.response.data.message != null) {\n            window.location = error.response.data.message;\n        } else {\n            window.location = error.response.data;\n\n        }\n    }\n}"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy