1 line
No EOL
14 KiB
JSON
1 line
No EOL
14 KiB
JSON
{"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/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":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//\nexport default {\n name: 'MenuMobile',\n components: {},\n data: function 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',\n title: 'Login',\n link: \"Login\"\n }, {\n icon: 'info',\n title: 'Invited'\n }, {\n icon: 'warning',\n title: 'Register'\n }],\n menu2: [{\n icon: 'home',\n title: 'Apps'\n }, {\n icon: 'info',\n title: 'Admin'\n }, {\n icon: 'warning',\n title: 'Account'\n }],\n menu3: []\n };\n },\n computed: {\n setting: function setting(name) {//this.$store.getters.getSettingValue(this.$store.state, name);\n }\n },\n methods: {\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 },\n mounted: function mounted() {\n this.nameBig = this.$store.getters.getSettingValue(\"name_big\");\n this.nameSmall = this.$store.getters.getSettingValue(\"name_small\");\n this.generateMenu();\n }\n};",{"version":3,"sources":["MenuMobile.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,sBAAA,GAAA,EAAA,EAAA,EAAA;AACA,UAAA,GAAA,CAAA,KAAA,GAAA,GAAA,EAAA;AACA,aAAA,GAAA,GAAA,KAAA;AACA,aAAA,OAAA,GAAA,MAAA;AACA,aAAA,IAAA,GAAA,KAAA;AACA,OAJA,MAIA;AACA,aAAA,GAAA,GAAA,IAAA;AACA,aAAA,OAAA,GAAA,aAAA;AACA,aAAA,IAAA,GAAA,IAAA;AACA;AACA;AAjCA,GA9BA;AAiEA,EAAA,OAAA,EAAA,mBAAA;AACA,SAAA,OAAA,GAAA,KAAA,MAAA,CAAA,OAAA,CAAA,eAAA,CAAA,UAAA,CAAA;AACA,SAAA,SAAA,GAAA,KAAA,MAAA,CAAA,OAAA,CAAA,eAAA,CAAA,YAAA,CAAA;AACA,SAAA,YAAA;AACA;AArEA,CAAA","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>"],"sourceRoot":"src/components"}]} |