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/vue-loader/d2247c2ab854df548f5b6946fc12f284.json
2019-08-11 20:48:02 +02:00

1 line
No EOL
11 KiB
JSON

{"remainingRequest":"/home/soeren/dev/keksaccountgui/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/soeren/dev/keksaccountgui/src/components/MenuMobile.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/soeren/dev/keksaccountgui/src/components/MenuMobile.vue","mtime":1561109751587},{"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":1549812933000},{"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\nexport default {\n name: 'MenuMobile',\n components: {\n },\n data () {\n return {\n big: true,\n bgcolor: \"transparent\",\n flat: true,\n nameBig: '',\n nameSmall: '',\n sideMenu: this.$store.state.sideMenu,\n menu: [\n { icon: 'home', title: 'Login' , link: \"Login\" },\n { icon: 'info', title: 'Invited' },\n { icon: 'warning', title: 'Register' }\n ],\n menu2: [\n { icon: 'home', title: 'Apps' },\n { icon: 'info', title: 'Admin' },\n { icon: 'warning', title: 'Account' }\n ],\n menu3: []\n }\n },\n computed: {\n setting: (name) => {\n //this.$store.getters.getSettingValue(this.$store.state, name);\n }\n },\n methods: {\n generateMenu: function () {\n this.menu = [];\n if(!this.$store.state.loggedIn) {\n this.menu.push({ icon: 'home', title: 'Login' , link: \"Login\" });\n if(this.$store.getters.getSettingValue(\"invites\")) {\n this.menu.push({ icon: 'home', title: 'Invited' , link: \"Invited\" });\n }\n if(this.$store.getters.getSettingValue(\"registration_possible\")) {\n this.menu.push({ icon: 'home', title: 'Register' , link: \"Register\" });\n }\n } else {\n if(this.$store.getters.getMe.developer) {\n this.menu.push({ icon: 'home', title: 'Apps' , link: \"Apps\" });\n }\n if(this.$store.getters.getMe.admin) {\n this.menu.push({ icon: 'home', title: 'Admin' , link: \"Admin\" });\n }\n this.menu.push({ icon: 'home', title: 'Profile' , link: \"profile\", submenu: true, menu: [\n { icon: 'home', title: 'Logout' , link: \"Logout\" }\n ] });\n }\n },\n handleScroll: function (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 },\n mounted: function () {\n this.nameBig = this.$store.getters.getSettingValue(\"name_big\");\n this.nameSmall = this.$store.getters.getSettingValue(\"name_small\");\n this.generateMenu();\n }\n}\n",{"version":3,"sources":["MenuMobile.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"MenuMobile.vue","sourceRoot":"src/components","sourcesContent":["<template>\n <v-navigation-drawer\n stateless\n absolute\n value=\"true\"\n v-model=\"$store.state.sideMenu\"\n >\n <v-list>\n <v-list-tile>\n <v-list-tile-action>\n <v-icon>home</v-icon>\n </v-list-tile-action>\n <v-list-tile-title>Home</v-list-tile-title>\n </v-list-tile>\n\n <v-list-tile>\n <v-list-tile-action>\n <v-icon>home</v-icon>\n </v-list-tile-action>\n <v-list-tile-title>Apps</v-list-tile-title>\n </v-list-tile>\n\n <v-list-group\n prepend-icon=\"account_circle\"\n value=\"true\"\n >\n <template v-slot:activator>\n <v-list-tile>\n <v-list-tile-title>Admin</v-list-tile-title>\n </v-list-tile>\n </template>\n\n <v-list-tile>\n <v-list-tile-action>\n </v-list-tile-action>\n <v-list-tile-title>Settings</v-list-tile-title>\n </v-list-tile>\n <v-list-tile>\n <v-list-tile-action>\n </v-list-tile-action>\n <v-list-tile-title>Users</v-list-tile-title>\n </v-list-tile>\n <v-list-tile>\n <v-list-tile-action>\n </v-list-tile-action>\n <v-list-tile-title>Apps</v-list-tile-title>\n </v-list-tile>\n <v-list-tile>\n <v-list-tile-action>\n </v-list-tile-action>\n <v-list-tile-title>Invites</v-list-tile-title>\n </v-list-tile>\n\n\n </v-list-group>\n\n <v-list-group\n prepend-icon=\"account_circle\"\n value=\"true\"\n >\n <template v-slot:activator>\n <v-list-tile>\n <v-list-tile-title>Users</v-list-tile-title>\n </v-list-tile>\n </template>\n <v-list-group\n no-action\n sub-group\n value=\"true\"\n >\n <template v-slot:activator>\n <v-list-tile>\n <v-list-tile-title>Admin</v-list-tile-title>\n </v-list-tile>\n </template>\n\n <v-list-tile\n v-for=\"(admin, i) in admins\"\n :key=\"i\"\n @click=\"\"\n >\n <v-list-tile-title v-text=\"admin[0]\"></v-list-tile-title>\n <v-list-tile-action>\n <v-icon v-text=\"admin[1]\"></v-icon>\n </v-list-tile-action>\n </v-list-tile>\n </v-list-group>\n\n <v-list-group\n sub-group\n no-action\n >\n <template v-slot:activator>\n <v-list-tile>\n <v-list-tile-title>Actions</v-list-tile-title>\n </v-list-tile>\n </template>\n <v-list-tile\n v-for=\"(crud, i) in cruds\"\n :key=\"i\"\n @click=\"\"\n >\n <v-list-tile-title v-text=\"crud[0]\"></v-list-tile-title>\n <v-list-tile-action>\n <v-icon v-text=\"crud[1]\"></v-icon>\n </v-list-tile-action>\n </v-list-tile>\n </v-list-group>\n </v-list-group>\n </v-list>\n </v-navigation-drawer>\n</template>\n\n<script>\n\n export default {\n name: 'MenuMobile',\n components: {\n },\n data () {\n return {\n big: true,\n bgcolor: \"transparent\",\n flat: true,\n nameBig: '',\n nameSmall: '',\n sideMenu: this.$store.state.sideMenu,\n menu: [\n { icon: 'home', title: 'Login' , link: \"Login\" },\n { icon: 'info', title: 'Invited' },\n { icon: 'warning', title: 'Register' }\n ],\n menu2: [\n { icon: 'home', title: 'Apps' },\n { icon: 'info', title: 'Admin' },\n { icon: 'warning', title: 'Account' }\n ],\n menu3: []\n }\n },\n computed: {\n setting: (name) => {\n //this.$store.getters.getSettingValue(this.$store.state, name);\n }\n },\n methods: {\n generateMenu: function () {\n this.menu = [];\n if(!this.$store.state.loggedIn) {\n this.menu.push({ icon: 'home', title: 'Login' , link: \"Login\" });\n if(this.$store.getters.getSettingValue(\"invites\")) {\n this.menu.push({ icon: 'home', title: 'Invited' , link: \"Invited\" });\n }\n if(this.$store.getters.getSettingValue(\"registration_possible\")) {\n this.menu.push({ icon: 'home', title: 'Register' , link: \"Register\" });\n }\n } else {\n if(this.$store.getters.getMe.developer) {\n this.menu.push({ icon: 'home', title: 'Apps' , link: \"Apps\" });\n }\n if(this.$store.getters.getMe.admin) {\n this.menu.push({ icon: 'home', title: 'Admin' , link: \"Admin\" });\n }\n this.menu.push({ icon: 'home', title: 'Profile' , link: \"profile\", submenu: true, menu: [\n { icon: 'home', title: 'Logout' , link: \"Logout\" }\n ] });\n }\n },\n handleScroll: function (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 },\n mounted: function () {\n this.nameBig = this.$store.getters.getSettingValue(\"name_big\");\n this.nameSmall = this.$store.getters.getSettingValue(\"name_small\");\n this.generateMenu();\n }\n }\n</script>"]}]}