1 line
5.1 KiB
JSON
1 line
5.1 KiB
JSON
|
{"remainingRequest":"/home/soeren/dev/keksaccountgui/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/soeren/dev/keksaccountgui/src/App.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/soeren/dev/keksaccountgui/src/App.vue","mtime":1558711570903},{"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\nexport default {\n name: 'App',\n components: {\n },\n data () {\n return {\n big: true,\n bgcolor: \"transparent\",\n flat: true,\n nameBig: '',\n nameSmall: '',\n menu: [\n { icon: 'home', title: '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 }\n },\n computed: {\n setting: (name) => {\n //this.$store.getters.getSettingValue(this.$store.state, name);\n }\n },\n methods: {\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.$store.dispatch('checkAccount');\n console.log(\"MOUNTED\");\n this.$store.dispatch('getSettings').then(() => {\n this.nameBig = this.$store.getters.getSettingValue(\"name_big\");\n this.nameSmall = this.$store.getters.getSettingValue(\"name_small\");\n });\n\n }\n}\n",{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA;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;;AAEA;AACA","file":"App.vue","sourceRoot":"src","sourcesContent":["<template>\n <v-app v-scroll=\"handleScroll\" v-if=\"$store.getters.getAllDataLoaded\">\n <v-toolbar app :flat=\"flat\" :prominent=\"big\" :dense=\"!big\" :color=\"bgcolor\" clipped-left >\n <v-toolbar-title class=\"headline text-uppercase\" >\n <span>{{ nameBig }}</span>\n <span class=\"font-weight-light\">{{ nameSmall }}</span>\n </v-toolbar-title>\n <v-spacer></v-spacer>\n <v-toolbar-items class=\"hidden-sm-and-down\">\n <v-btn\n v-for=\"item in menu\"\n :key=\"item.icon\"\n :to=\"item.link\"\n flat\n >{{ item.title }}</v-btn>\n </v-toolbar-items>\n <v-menu class=\"hidden-md-and-up\">\n <v-toolbar-side-icon slot=\"activator\"></v-toolbar-side-icon>\n <v-list>\n <v-list-tile v-for=\"item in menu\" :key=\"item.icon\">\n <v-list-tile-content>\n <v-list-tile-title>{{ item.title }}</v-list-tile-title>\n </v-list-tile-content>\n </v-list-tile>\n </v-list>\n </v-menu>\n\n </v-toolbar>\n\n\n <v-content style=\"background-color: #fff;\">\n <router-view></router-view>\n </v-content>\n </v-app>\n</template>\n\n<script>\nexport default {\n name: 'App',\n components: {\n },\n data () {\n return {\n big: true,\n bgcolor: \"transparent\",\n flat: true,\n nameBig: '',\n nameSmall: '',\
|