From 0c3555b8a658e68babdbdf2d7f5b214ec13290d7 Mon Sep 17 00:00:00 2001 From: Anindya Dhruba Date: Thu, 16 Mar 2017 20:54:10 +0600 Subject: [PATCH] Credits build added --- public/js/app.js | 433 +++++++++++++++++++++++------------------------ 1 file changed, 211 insertions(+), 222 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index cbbe305..a35879a 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -22371,7 +22371,7 @@ module.exports = function spread(callback) { "use strict"; Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shared_TopMenu_vue__ = __webpack_require__(96); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shared_TopMenu_vue__ = __webpack_require__(70); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__shared_TopMenu_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__shared_TopMenu_vue__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shared_Notification_vue__ = __webpack_require__(69); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__shared_Notification_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__shared_Notification_vue__); @@ -22897,7 +22897,72 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument }; /***/ }), -/* 49 */, +/* 49 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__config__ = __webpack_require__(2); +/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__(3); +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + + +/* harmony default export */ __webpack_exports__["default"] = { + name: 'top-menu', + data() { + return { + siteName: __WEBPACK_IMPORTED_MODULE_0__config__["a" /* siteName */] + }; + }, + computed: _extends({}, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1_vuex__["a" /* mapState */])({ + user: state => state.authUser + })), + methods: { + logout() { + this.$store.dispatch('logoutRequest').then(() => { + this.$router.push({ name: 'login' }); + }); + } + } +}; + +/***/ }), /* 50 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { @@ -42819,7 +42884,7 @@ var Component = __webpack_require__(0)( /* script */ __webpack_require__(37), /* template */ - __webpack_require__(78), + __webpack_require__(77), /* scopeId */ null, /* cssModules */ @@ -42853,7 +42918,7 @@ var Component = __webpack_require__(0)( /* script */ __webpack_require__(38), /* template */ - __webpack_require__(77), + __webpack_require__(76), /* scopeId */ null, /* cssModules */ @@ -42887,7 +42952,7 @@ var Component = __webpack_require__(0)( /* script */ __webpack_require__(39), /* template */ - __webpack_require__(75), + __webpack_require__(74), /* scopeId */ null, /* cssModules */ @@ -42989,7 +43054,7 @@ var Component = __webpack_require__(0)( /* script */ __webpack_require__(42), /* template */ - __webpack_require__(79), + __webpack_require__(78), /* scopeId */ null, /* cssModules */ @@ -43057,7 +43122,7 @@ var Component = __webpack_require__(0)( /* script */ __webpack_require__(44), /* template */ - __webpack_require__(80), + __webpack_require__(79), /* scopeId */ null, /* cssModules */ @@ -43091,7 +43156,7 @@ var Component = __webpack_require__(0)( /* script */ __webpack_require__(45), /* template */ - __webpack_require__(81), + __webpack_require__(80), /* scopeId */ null, /* cssModules */ @@ -43159,7 +43224,7 @@ var Component = __webpack_require__(0)( /* script */ __webpack_require__(47), /* template */ - __webpack_require__(76), + __webpack_require__(75), /* scopeId */ null, /* cssModules */ @@ -43193,7 +43258,7 @@ var Component = __webpack_require__(0)( /* script */ __webpack_require__(48), /* template */ - __webpack_require__(74), + __webpack_require__(73), /* scopeId */ null, /* cssModules */ @@ -43220,7 +43285,40 @@ module.exports = Component.exports /***/ }), -/* 70 */, +/* 70 */ +/***/ (function(module, exports, __webpack_require__) { + +var Component = __webpack_require__(0)( + /* script */ + __webpack_require__(49), + /* template */ + __webpack_require__(81), + /* scopeId */ + null, + /* cssModules */ + null +) +Component.options.__file = "/Volumes/Data/Code/laravel-vue-spa/resources/assets/js/components/shared/TopMenu.vue" +if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key !== "__esModule"})) {console.error("named exports are not supported in *.vue files.")} +if (Component.options.functional) {console.error("[vue-loader] TopMenu.vue: functional components are not supported with templates, they should use render functions.")} + +/* hot reload */ +if (false) {(function () { + var hotAPI = require("vue-hot-reload-api") + hotAPI.install(require("vue"), false) + if (!hotAPI.compatible) return + module.hot.accept() + if (!module.hot.data) { + hotAPI.createRecord("data-v-afe8a2ca", Component.options) + } else { + hotAPI.reload("data-v-afe8a2ca", Component.options) + } +})()} + +module.exports = Component.exports + + +/***/ }), /* 71 */ /***/ (function(module, exports, __webpack_require__) { @@ -43267,8 +43365,7 @@ if (false) { } /***/ }), -/* 73 */, -/* 74 */ +/* 73 */ /***/ (function(module, exports, __webpack_require__) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; @@ -43317,7 +43414,7 @@ if (false) { } /***/ }), -/* 75 */ +/* 74 */ /***/ (function(module, exports, __webpack_require__) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; @@ -43350,17 +43447,17 @@ if (false) { } /***/ }), -/* 76 */ +/* 75 */ /***/ (function(module, exports, __webpack_require__) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; return _c('footer', [_c('hr'), _vm._v(" "), _c('div', { staticClass: "container" - }, [_vm._v("\n ©"), _vm._m(0), _vm._m(1)])]) + }, [_vm._v("\n ©"), _vm._m(0), _vm._v(" "), _vm._m(1)])]) },staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; return _c('span', [_vm._v(_vm._s(_vm.siteName))]) },function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('span', [_vm._v(_vm._s(_vm.currentYear))]) + return _c('span', [_vm._v(_vm._s(_vm.currentYear) + ", developed by "), _c('strong', [_vm._v("Anindya Dhruba")])]) }]} module.exports.render._withStripped = true if (false) { @@ -43371,7 +43468,7 @@ if (false) { } /***/ }), -/* 77 */ +/* 76 */ /***/ (function(module, exports, __webpack_require__) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; @@ -43392,7 +43489,7 @@ if (false) { } /***/ }), -/* 78 */ +/* 77 */ /***/ (function(module, exports, __webpack_require__) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; @@ -43412,7 +43509,7 @@ if (false) { } /***/ }), -/* 79 */ +/* 78 */ /***/ (function(module, exports, __webpack_require__) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; @@ -43433,7 +43530,7 @@ if (false) { } /***/ }), -/* 80 */ +/* 79 */ /***/ (function(module, exports, __webpack_require__) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; @@ -43530,7 +43627,7 @@ if (false) { } /***/ }), -/* 81 */ +/* 80 */ /***/ (function(module, exports, __webpack_require__) { module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; @@ -43586,6 +43683,98 @@ if (false) { } } +/***/ }), +/* 81 */ +/***/ (function(module, exports, __webpack_require__) { + +module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; + return _c('nav', { + staticClass: "navbar navbar-default navbar-static-top" + }, [_c('div', { + staticClass: "container" + }, [_c('div', { + staticClass: "navbar-header" + }, [_vm._m(0), _vm._v(" "), _vm._m(1)], 1), _vm._v(" "), _c('div', { + staticClass: "collapse navbar-collapse", + attrs: { + "id": "navbar" + } + }, [_c('ul', { + staticClass: "nav navbar-nav navbar-right" + }, [_c('router-link', { + attrs: { + "to": { + name: 'index' + }, + "tag": "li", + "activeClass": "active", + "exact": "" + } + }, [_c('a', [_vm._v("Home")])]), _vm._v(" "), (!_vm.user.authenticated) ? _c('router-link', { + attrs: { + "to": { + name: 'login' + }, + "tag": "li", + "activeClass": "active", + "exact": "" + } + }, [_c('a', [_vm._v("Login")])]) : _vm._e(), _vm._v(" "), (_vm.user.authenticated) ? _c('router-link', { + attrs: { + "to": { + name: 'profile' + }, + "tag": "li", + "activeClass": "active" + } + }, [_c('a', [_vm._v("Profile")])]) : _vm._e(), _vm._v(" "), (_vm.user.authenticated) ? _c('li', [_c('a', { + attrs: { + "href": "#" + }, + on: { + "click": function($event) { + $event.preventDefault(); + _vm.logout() + } + } + }, [_vm._v("Logout")])]) : _vm._e()], 1)])])]) +},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; + return _c('button', { + staticClass: "navbar-toggle collapsed", + attrs: { + "type": "button", + "data-toggle": "collapse", + "data-target": "#navbar", + "aria-expanded": "false", + "aria-controls": "navbar" + } + }, [_c('span', { + staticClass: "sr-only" + }, [_vm._v("Toggle navigation")]), _vm._v(" "), _c('span', { + staticClass: "icon-bar" + }), _vm._v(" "), _c('span', { + staticClass: "icon-bar" + }), _vm._v(" "), _c('span', { + staticClass: "icon-bar" + })]) +},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; + return _c('router-link', { + staticClass: "navbar-brand", + attrs: { + "to": { + name: 'index' + } + } + }, [_vm._v(_vm._s(_vm.siteName))]) +}]} +module.exports.render._withStripped = true +if (false) { + module.hot.accept() + if (module.hot.data) { + require("vue-hot-reload-api").rerender("data-v-afe8a2ca", module.exports) + } +} + /***/ }), /* 82 */ /***/ (function(module, exports, __webpack_require__) { @@ -46105,205 +46294,5 @@ __webpack_require__(17); module.exports = __webpack_require__(18); -/***/ }), -/* 87 */, -/* 88 */, -/* 89 */, -/* 90 */, -/* 91 */, -/* 92 */, -/* 93 */, -/* 94 */, -/* 95 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__config__ = __webpack_require__(2); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vuex__ = __webpack_require__(3); -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// - - - - -/* harmony default export */ __webpack_exports__["default"] = { - name: 'top-menu', - data() { - return { - siteName: __WEBPACK_IMPORTED_MODULE_0__config__["a" /* siteName */] - }; - }, - computed: _extends({}, __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_1_vuex__["a" /* mapState */])({ - user: state => state.authUser - })), - methods: { - logout() { - this.$store.dispatch('logoutRequest').then(() => { - this.$router.push({ name: 'login' }); - }); - } - } -}; - -/***/ }), -/* 96 */ -/***/ (function(module, exports, __webpack_require__) { - -var Component = __webpack_require__(0)( - /* script */ - __webpack_require__(95), - /* template */ - __webpack_require__(97), - /* scopeId */ - null, - /* cssModules */ - null -) -Component.options.__file = "/Volumes/Data/Code/laravel-vue-spa/resources/assets/js/components/shared/TopMenu.vue" -if (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== "default" && key !== "__esModule"})) {console.error("named exports are not supported in *.vue files.")} -if (Component.options.functional) {console.error("[vue-loader] TopMenu.vue: functional components are not supported with templates, they should use render functions.")} - -/* hot reload */ -if (false) {(function () { - var hotAPI = require("vue-hot-reload-api") - hotAPI.install(require("vue"), false) - if (!hotAPI.compatible) return - module.hot.accept() - if (!module.hot.data) { - hotAPI.createRecord("data-v-afe8a2ca", Component.options) - } else { - hotAPI.reload("data-v-afe8a2ca", Component.options) - } -})()} - -module.exports = Component.exports - - -/***/ }), -/* 97 */ -/***/ (function(module, exports, __webpack_require__) { - -module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('nav', { - staticClass: "navbar navbar-default navbar-static-top" - }, [_c('div', { - staticClass: "container" - }, [_c('div', { - staticClass: "navbar-header" - }, [_vm._m(0), _vm._v(" "), _vm._m(1)], 1), _vm._v(" "), _c('div', { - staticClass: "collapse navbar-collapse", - attrs: { - "id": "navbar" - } - }, [_c('ul', { - staticClass: "nav navbar-nav navbar-right" - }, [_c('router-link', { - attrs: { - "to": { - name: 'index' - }, - "tag": "li", - "activeClass": "active", - "exact": "" - } - }, [_c('a', [_vm._v("Home")])]), _vm._v(" "), (!_vm.user.authenticated) ? _c('router-link', { - attrs: { - "to": { - name: 'login' - }, - "tag": "li", - "activeClass": "active", - "exact": "" - } - }, [_c('a', [_vm._v("Login")])]) : _vm._e(), _vm._v(" "), (_vm.user.authenticated) ? _c('router-link', { - attrs: { - "to": { - name: 'profile' - }, - "tag": "li", - "activeClass": "active" - } - }, [_c('a', [_vm._v("Profile")])]) : _vm._e(), _vm._v(" "), (_vm.user.authenticated) ? _c('li', [_c('a', { - attrs: { - "href": "#" - }, - on: { - "click": function($event) { - $event.preventDefault(); - _vm.logout() - } - } - }, [_vm._v("Logout")])]) : _vm._e()], 1)])])]) -},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('button', { - staticClass: "navbar-toggle collapsed", - attrs: { - "type": "button", - "data-toggle": "collapse", - "data-target": "#navbar", - "aria-expanded": "false", - "aria-controls": "navbar" - } - }, [_c('span', { - staticClass: "sr-only" - }, [_vm._v("Toggle navigation")]), _vm._v(" "), _c('span', { - staticClass: "icon-bar" - }), _vm._v(" "), _c('span', { - staticClass: "icon-bar" - }), _vm._v(" "), _c('span', { - staticClass: "icon-bar" - })]) -},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h; - return _c('router-link', { - staticClass: "navbar-brand", - attrs: { - "to": { - name: 'index' - } - } - }, [_vm._v(_vm._s(_vm.siteName))]) -}]} -module.exports.render._withStripped = true -if (false) { - module.hot.accept() - if (module.hot.data) { - require("vue-hot-reload-api").rerender("data-v-afe8a2ca", module.exports) - } -} - /***/ }) /******/ ]); \ No newline at end of file