This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/.cache/babel-loader/3d74e7fc0e8e302951480e6b4178a0c6.json

1 line
15 KiB
JSON
Raw Normal View History

2019-08-11 18:48:02 +00:00
{"remainingRequest":"/home/soeren/dev/keksaccountgui/node_modules/babel-loader/lib/index.js!/home/soeren/dev/keksaccountgui/node_modules/vuetify-loader/lib/loader.js!/home/soeren/dev/keksaccountgui/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/soeren/dev/keksaccountgui/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/soeren/dev/keksaccountgui/src/components/Menu.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/soeren/dev/keksaccountgui/src/components/Menu.vue","mtime":1563967903333},{"path":"/home/soeren/dev/keksaccountgui/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/vuetify-loader/lib/loader.js","mtime":1564062719000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport UserServie from \"../services/User\";\nexport default {\n name: 'Menu',\n components: {},\n data: function data() {\n return {\n big: true,\n bgcolor: \"transparent\",\n flat: true,\n nameBig: '',\n nameSmall: ''\n };\n },\n computed: {\n setting: function setting(name) {//this.$store.getters.getSettingValue(this.$store.state, name);\n }\n },\n methods: {\n toggleSideMenu: function toggleSideMenu() {\n console.log(\"TOGGLE\");\n this.$store.state.sideMenu = !this.$store.state.sideMenu;\n },\n generateMenu: function generateMenu() {\n this.menu = [];\n\n if (!this.$store.state.loggedIn) {\n this.menu.push({\n icon: 'home',\n title: 'Login',\n link: \"Login\"\n });\n\n if (this.$store.getters.getSettingValue(\"invites\")) {\n this.menu.push({\n icon: 'home',\n title: 'Invited',\n link: \"Invited\"\n });\n }\n\n if (this.$store.getters.getSettingValue(\"registration_possible\")) {\n this.menu.push({\n icon: 'home',\n title: 'Register',\n link: \"Register\"\n });\n }\n } else {\n if (this.$store.getters.getMe.developer) {\n this.menu.push({\n icon: 'home',\n title: 'Apps',\n link: \"Apps\"\n });\n }\n\n if (this.$store.getters.getMe.admin) {\n this.menu.push({\n icon: 'home',\n title: 'Admin',\n link: \"Admin\"\n });\n }\n\n this.menu.push({\n icon: 'home',\n title: 'Profile',\n link: \"profile\",\n submenu: true,\n menu: [{\n icon: 'home',\n title: 'Logout',\n link: \"Logout\"\n }]\n });\n }\n },\n handleScroll: function handleScroll(evt, el) {\n if (evt.pageY > 100) {\n this.big = false;\n this.bgcolor = \"#fff\";\n this.flat = false;\n } else {\n this.big = true;\n this.bgcolor = \"transparent\";\n this.flat = true;\n }\n },\n clickLoogut: function clickLoogut() {\n UserServie.logout();\n this.$store.dispatch('checkAccount');\n this.$router.push({\n \"path\": \"login\"\n });\n }\n },\n mounted: function mounted() {\n this.nameBig = this.$store.getters.getSet