From e3010ec1a69c2bbfc23ce79612a28caf9ae5b046 Mon Sep 17 00:00:00 2001 From: Rogelio Morey Date: Thu, 25 Mar 2021 23:24:26 -0400 Subject: [PATCH] fix: Pass domain to remove token cookie --- dist/gw-header.common.js | 71 +++++++++++++++++------------- dist/gw-header.common.js.map | 2 +- dist/gw-header.css | 2 +- dist/gw-header.umd.js | 71 +++++++++++++++++------------- dist/gw-header.umd.js.map | 2 +- dist/gw-header.umd.min.js | 2 +- dist/gw-header.umd.min.js.map | 2 +- src/components/gw-header.vue | 5 +++ src/components/gw-user-options.vue | 6 ++- 9 files changed, 95 insertions(+), 68 deletions(-) diff --git a/dist/gw-header.common.js b/dist/gw-header.common.js index 6f87b70..9fca3a5 100644 --- a/dist/gw-header.common.js +++ b/dist/gw-header.common.js @@ -87,13 +87,6 @@ module.exports = /************************************************************************/ /******/ ({ -/***/ "5dc2": -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin - -/***/ }), - /***/ "672a": /***/ (function(module, __webpack_exports__, __webpack_require__) { @@ -105,25 +98,32 @@ module.exports = /***/ }), -/***/ "6a8c": +/***/ "9268": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_01c6e844_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5dc2"); -/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_01c6e844_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_01c6e844_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d9e4"); +/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); /* unused harmony reexport * */ - /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_01c6e844_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); + /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), -/***/ "9268": +/***/ "9e9b": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d9e4"); -/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_5963409e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ab4b"); +/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_5963409e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_5963409e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); /* unused harmony reexport * */ - /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); + /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_5963409e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); + +/***/ }), + +/***/ "ab4b": +/***/ (function(module, exports, __webpack_require__) { + +// extracted by mini-css-extract-plugin /***/ }), @@ -549,12 +549,12 @@ var gw_notifications_component = normalizeComponent( ) /* harmony default export */ var gw_notifications = (gw_notifications_component.exports); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10916de4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-user-options.vue?vue&type=template&id=46b2671d& -var gw_user_optionsvue_type_template_id_46b2671d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:"user-bar",attrs:{"x":_vm.userDropdownCoordenates.x,"y":_vm.userDropdownCoordenates.y,"is-icon":false}},[_c('template',{slot:"btn"},[_c('div',{staticClass:"user-name"},[_c('span',{staticClass:"bold"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(" "+_vm._s(_vm.userData.lastname))])]),_vm._t("icon",[_c('i',{staticClass:"fas fa-chevron-down"})]),_c('div',{staticClass:"profile-image"},[(_vm.userData.photo)?_c('img',{attrs:{"src":_vm.userData.photo.url}}):_c('img',{attrs:{"src":__webpack_require__("af9d")}})])],2),_c('template',{slot:"body"},[(_vm.showOptions)?_c('span',{staticClass:"dropdown-title"},[_vm._v("My Profile")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:"dropdown-item",attrs:{"to":{ name: option.route }}},[_c('span',[_vm._v(" "+_vm._s(option.label)+" ")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:"dropdown-item logout-button",attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v("Logout")]),_c('i',{staticClass:"fas fa-sign-out-alt"})])])],2)} -var gw_user_optionsvue_type_template_id_46b2671d_staticRenderFns = [] +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10916de4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-user-options.vue?vue&type=template&id=e3fd80e4& +var gw_user_optionsvue_type_template_id_e3fd80e4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:"user-bar",attrs:{"x":_vm.userDropdownCoordenates.x,"y":_vm.userDropdownCoordenates.y,"is-icon":false}},[_c('template',{slot:"btn"},[_c('div',{staticClass:"user-name"},[_c('span',{staticClass:"bold"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(" "+_vm._s(_vm.userData.lastname))])]),_vm._t("icon",[_c('i',{staticClass:"fas fa-chevron-down"})]),_c('div',{staticClass:"profile-image"},[(_vm.userData.photo)?_c('img',{attrs:{"src":_vm.userData.photo.url}}):_c('img',{attrs:{"src":__webpack_require__("af9d")}})])],2),_c('template',{slot:"body"},[(_vm.showOptions)?_c('span',{staticClass:"dropdown-title"},[_vm._v("My Profile")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:"dropdown-item",attrs:{"to":{ name: option.route }}},[_c('span',[_vm._v(" "+_vm._s(option.label)+" ")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:"dropdown-item logout-button",attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v("Logout")]),_c('i',{staticClass:"fas fa-sign-out-alt"})])])],2)} +var gw_user_optionsvue_type_template_id_e3fd80e4_staticRenderFns = [] -// CONCATENATED MODULE: ./src/components/gw-user-options.vue?vue&type=template&id=46b2671d& +// CONCATENATED MODULE: ./src/components/gw-user-options.vue?vue&type=template&id=e3fd80e4& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-user-options.vue?vue&type=script&lang=js& // @@ -609,6 +609,10 @@ var gw_user_optionsvue_type_template_id_46b2671d_staticRenderFns = [] type: Object, required: true }, + domain: { + type: String, + required: true + }, showOptions: { type: Boolean, default: true @@ -685,7 +689,7 @@ var gw_user_optionsvue_type_template_id_46b2671d_staticRenderFns = [] }).then(() => { Cookies.remove("token", { path: "/", - domain: Object({"NODE_ENV":"production","BASE_URL":"/"}).VUE_APP_DOMAIN + domain: this.domain }); this.$store.dispatch("User/setToken", null); this.$store.dispatch("Application/resetGlobalData"); @@ -713,8 +717,8 @@ var gw_user_optionsvue_type_style_index_0_lang_scss_ = __webpack_require__("672a var gw_user_options_component = normalizeComponent( components_gw_user_optionsvue_type_script_lang_js_, - gw_user_optionsvue_type_template_id_46b2671d_render, - gw_user_optionsvue_type_template_id_46b2671d_staticRenderFns, + gw_user_optionsvue_type_template_id_e3fd80e4_render, + gw_user_optionsvue_type_template_id_e3fd80e4_staticRenderFns, false, null, null, @@ -723,12 +727,12 @@ var gw_user_options_component = normalizeComponent( ) /* harmony default export */ var gw_user_options = (gw_user_options_component.exports); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10916de4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-header.vue?vue&type=template&id=01c6e844&scoped=true& -var gw_headervue_type_template_id_01c6e844_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header app-header",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:"sidebar-toggle",on:{"click":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{"src":"/img/icons/hamburguer-menu.png"}})]),_c('div',{staticClass:"header-container"},[_c('div',{staticClass:"left-side-header d-flex h-100"},[(!_vm.hideCompaniesSwitcher)?_vm._t("companies-switcher",[_c('gw-companies-switcher',{attrs:{"branch-data":_vm.companyBranchData,"company-data":_vm.companyData,"companies-list":_vm.companiesList},on:{"select":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t("app-switcher",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{"apps-list":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:"right-side-header d-flex"},[_c('gw-user-options',{attrs:{"company-data":_vm.companyData,"user-data":_vm.userData,"show-options":_vm.showUserOptions,"dropdown-mapper":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{"count":_vm.notificationsCount},on:{"toggle-notifications":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])} -var gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns = [] +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10916de4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-header.vue?vue&type=template&id=5963409e&scoped=true& +var gw_headervue_type_template_id_5963409e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header app-header",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:"sidebar-toggle",on:{"click":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{"src":"/img/icons/hamburguer-menu.png"}})]),_c('div',{staticClass:"header-container"},[_c('div',{staticClass:"left-side-header d-flex h-100"},[(!_vm.hideCompaniesSwitcher)?_vm._t("companies-switcher",[_c('gw-companies-switcher',{attrs:{"branch-data":_vm.companyBranchData,"company-data":_vm.companyData,"companies-list":_vm.companiesList},on:{"select":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t("app-switcher",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{"apps-list":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:"right-side-header d-flex"},[_c('gw-user-options',{attrs:{"company-data":_vm.companyData,"domain":_vm.domain,"user-data":_vm.userData,"show-options":_vm.showUserOptions,"dropdown-mapper":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{"count":_vm.notificationsCount},on:{"toggle-notifications":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])} +var gw_headervue_type_template_id_5963409e_scoped_true_staticRenderFns = [] -// CONCATENATED MODULE: ./src/components/gw-header.vue?vue&type=template&id=01c6e844&scoped=true& +// CONCATENATED MODULE: ./src/components/gw-header.vue?vue&type=template&id=5963409e&scoped=true& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-header.vue?vue&type=script&lang=js& // @@ -773,6 +777,7 @@ var gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns = [] // // // +// @@ -823,6 +828,10 @@ var gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns = [] } }, + domain: { + type: String, + default: Object({"NODE_ENV":"production","BASE_URL":"/"}).VUE_APP_DOMAIN || "" + }, notificationsCount: { type: Number, required: true @@ -851,8 +860,8 @@ var gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns = [] }); // CONCATENATED MODULE: ./src/components/gw-header.vue?vue&type=script&lang=js& /* harmony default export */ var components_gw_headervue_type_script_lang_js_ = (gw_headervue_type_script_lang_js_); -// EXTERNAL MODULE: ./src/components/gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true& -var gw_headervue_type_style_index_0_id_01c6e844_lang_scss_scoped_true_ = __webpack_require__("6a8c"); +// EXTERNAL MODULE: ./src/components/gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true& +var gw_headervue_type_style_index_0_id_5963409e_lang_scss_scoped_true_ = __webpack_require__("9e9b"); // CONCATENATED MODULE: ./src/components/gw-header.vue @@ -865,11 +874,11 @@ var gw_headervue_type_style_index_0_id_01c6e844_lang_scss_scoped_true_ = __webpa var gw_header_component = normalizeComponent( components_gw_headervue_type_script_lang_js_, - gw_headervue_type_template_id_01c6e844_scoped_true_render, - gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns, + gw_headervue_type_template_id_5963409e_scoped_true_render, + gw_headervue_type_template_id_5963409e_scoped_true_staticRenderFns, false, null, - "01c6e844", + "5963409e", null ) diff --git a/dist/gw-header.common.js.map b/dist/gw-header.common.js.map index 64b67e1..18690ec 100644 --- a/dist/gw-header.common.js.map +++ b/dist/gw-header.common.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://gw-header/webpack/bootstrap","webpack://gw-header/./src/components/gw-header.vue?373d","webpack://gw-header/./src/components/gw-user-options.vue?c9b6","webpack://gw-header/./src/components/gw-header.vue?17d6","webpack://gw-header/./src/components/gw-companies-switcher.vue?d312","webpack://gw-header/./src/assets/icons/avatar-icon.png","webpack://gw-header/./src/components/gw-app-switcher.vue?2583","webpack://gw-header/./src/components/gw-user-options.vue?4cd0","webpack://gw-header/./src/components/gw-companies-switcher.vue?49b0","webpack://gw-header/./src/components/gw-app-switcher.vue?c3c7","webpack://gw-header/./src/components/gw-notifications.vue?4009","webpack://gw-header/./src/components/gw-notifications.vue?a0c5","webpack://gw-header/./node_modules/current-script-polyfill/currentScript.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://gw-header/./src/components/gw-app-switcher.vue?bd0b","webpack://gw-header/src/components/gw-app-switcher.vue","webpack://gw-header/./src/components/gw-app-switcher.vue?ed5c","webpack://gw-header/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://gw-header/./src/components/gw-app-switcher.vue?3cdf","webpack://gw-header/./src/components/gw-companies-switcher.vue?f76d","webpack://gw-header/src/components/gw-companies-switcher.vue","webpack://gw-header/./src/components/gw-companies-switcher.vue?333e","webpack://gw-header/./src/components/gw-companies-switcher.vue?ce7b","webpack://gw-header/./src/components/gw-notifications.vue?f732","webpack://gw-header/src/components/gw-notifications.vue","webpack://gw-header/./src/components/gw-notifications.vue?3f15","webpack://gw-header/./src/components/gw-notifications.vue?54d6","webpack://gw-header/./src/components/gw-user-options.vue?1821","webpack://gw-header/src/components/gw-user-options.vue","webpack://gw-header/./src/components/gw-user-options.vue?a04e","webpack://gw-header/./src/components/gw-user-options.vue?9a44","webpack://gw-header/./src/components/gw-header.vue?ad80","webpack://gw-header/src/components/gw-header.vue","webpack://gw-header/./src/components/gw-header.vue?d4fe","webpack://gw-header/./src/components/gw-header.vue?28f6","webpack://gw-header/./src/index.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["GwHeader"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA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CA;AAsCA;AACA,kBADA;AAEA;AAFA,KAtCA;AA0CA;AACA,mBADA;AAEA;AAFA,KA1CA;AA8CA;AACA,kBADA;AAEA;AAFA,KA9CA;AAkDA;AACA,mBADA;AAEA;AAFA;AAlDA;AARA,G;;AChDmU,CAAgB,kHAAG,EAAC,C;;;;;ACAnP;AACvC;AACL;AACsC;;;AAG9F;AAC0F;AAC1F,IAAI,mBAAS,GAAG,kBAAU;AAC1B,EAAE,4CAAM;AACR,EAAE,yDAAM;AACR,EAAE,kEAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEe,iEAAS,Q;;ACnBxB;AACA;AACA;AACA;AACA;AAEA;AAOeA,iDAAf,E;;ACbA;AAAA;AAAA;AAAA;AAAwB;AACA;AACT,kFAAG;AACI","file":"gw-header.common.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAC3npUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZddktsgDMffOUWPgCSExHGwgZneoMfvH0Kcze52Z/rx0IeYCWBZSEI/4SSh//g+wjdcVCSGpOa55BxxpZIKV0w83q7bSDGtfl2yH+H+SR6uBwyRPDRz3/oVcn0ssLTlx7M82Lnt+Da0H9wNyvTMmGw934aEb3La96HsdTW92c79k5fPmO9hv7tPhmQ0hT3hwF1IIvo8vQgikCIVY0ZPAsfo51wlLYl+nrtwTd8l75q9y12sWy7PqQgxX2E/52jLST/P3crQ24jo4fnpgcnl4kPuxmg+Rr/trqaMTOWwN3XfyppB8UAqZS3LaLbS7BhnK2iOLZ4g1kDzQDsDFWJke1CiRpUG9TWedCLExJ0NI/PJsmQuxoXPBSXNRoMNeFoQB6sT1ARivmKh5bcsfyc5PDeCJhOMEVZ8aOEz4Z+0y9AYs3SJol+5Qlw8axphTHKzhxaA0Ng51ZXf1cKbuolvwAoI6kqzY4M1HjcTh9KjtmRxFuhpTCHejgZZ2waQIvhWBEMCAjGjmClTNGYjQh4dfCoiZ0l8gACpcqMwwEYkA47z9I01RkuXlW9ivFoAQnFQDGhwgAArJUX9WHLUUFXRFFQ1q6lr0Zolp6w5Z8vzHVVNLJlaNjO3YtXFk6tnN3cvXgsXwStMSy4WipdSaoXTCtMVqys0aj34kCMdeuTDDj/KUU+Uz5lOPfNpp5/lrI2bNBz/lpuF5q202qmjlHrq2nO37r30OlBrQ0YaOvKw4aOMelHbVJ+p0TtyX1OjTW0SS0vPHtQgNruboPk60ckMxDgRiNskgILmySw6pcST3GQWC+NQKIMa6YTTaBIDwdSJddDF7kHuS25B029x41+RCxPdvyAXJrpN7iO3T6i1ur5RZAGap3DmNMrAiw0K3St7nd9JfzyGvzXwMvQy9DL0MvQy9DL0MvT/GBr48YC/muEnkuSQ4bCBMzYAAAACYktHRAD/h4/MvwAAAAlwSFlzAAAFEwAABRMBWjvKTwAAAAd0SU1FB+MGDRM2Gzw3q0EAAAIMSURBVFjDrZg9SyNBGICfmCwGk/gJhwfHdhcucFpqK6J/wE5UbAT/gH9CrLUTBLW1sBWx0ebqiF/BIgiKhYTLFYH17rWS+5qdfXdmZsvNPs/Mu/PO+25AN8qscMQ9gnDPESuUCTiWeEL+uZ5YCgMvsfsf/P3apeQv2EvFC8KeL37diheEdR/8MJ1MQYdhG6LPKlhjKHMSQ6y5r+Aic/6CcGFDFKz3EoqKafwkQlxCNK7CQ5Fxt3cwoA7lgFuISiRKQcSrywpeuVPh79LxWdv0WCU4dt+mddU2rfvk8k4mfsfvLKpwacVfUvE97mJuUvE3xCEqQo0DI/6AWriaNs3hHydrh0OmdQ8WckgKfGEQ+M51+tnjKoiZZ4o6NaDLLd84oR0mOAUWOTe+g3MWc0XAOGYyt+mMTz+xpcrkLbfeosKZCi8IZ/nTraIsl7/LZi5FkdNceEE4VdY/ADZz4wVhU4ufc8ILwpyuj245C1qannvDGS8IG1n4Ki9egheq9pq8yohX5o+wav9B02v+gtC04Se88YIwkR6ihSDn70K6YDaIYDat4PTRIwogSCjzy7SCySB4iJg0h6gRrEVomAVjwQRjZsHnYIK6WRDuz4F+s6AbTNBN+xDapuedxz22bZ9Uoyyz71gRWuyzzKius6vS4CsfifnAJyJqxH9lSUKbLgkPPNPmkSZX/DCB3gDL/mt1oBj/BAAAAABJRU5ErkJggg==\"","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"","// document.currentScript polyfill by Adam Miller\n\n// MIT license\n\n(function(document){\n var currentScript = \"currentScript\",\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n\n // If browser needs currentScript polyfill, add get currentScript() to the document object\n if (!(currentScript in document)) {\n Object.defineProperty(document, currentScript, {\n get: function(){\n\n // IE 6-10 supports script readyState\n // IE 10+ support stack trace\n try { throw new Error(); }\n catch (err) {\n\n // Find the second match for the \"at\" string to get file src url from stack.\n // Specifically works with the format of stack traces in IE.\n var i, res = ((/.*at [^\\(]*\\((.*):.+:.+\\)$/ig).exec(err.stack) || [false])[1];\n\n // For all scripts on the page, if src matches or if ready state is interactive, return the script tag\n for(i in scripts){\n if(scripts[i].src == res || scripts[i].readyState == \"interactive\"){\n return scripts[i];\n }\n }\n\n // If no match, return null\n return null;\n }\n }\n });\n }\n})(document);\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n require('current-script-polyfill')\n }\n\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"app-switcher\",attrs:{\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('span',{staticClass:\"app-mode\"},[_vm._v(\"Apps\")]),_c('i',{staticClass:\"fas fa-th\"})]),_c('template',{slot:\"body\"},_vm._l((_vm.appsList),function(app){return _c('a',{key:(\"app-\" + (app.id)),staticClass:\"dropdown-item\",attrs:{\"href\":app.url,\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(app.name))])])}),0)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./gw-app-switcher.vue?vue&type=template&id=1292016a&\"\nimport script from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"company-switcher\"},[_c('multiselect',{attrs:{\"disabled\":!_vm.shouldActivateSwitcher,\"allow-empty\":false,\"options\":_vm.companiesList,\"searchable\":false,\"show-labels\":false,\"value\":_vm.branchData,\"group-values\":\"branches\",\"group-label\":\"name\",\"label\":\"name\"},on:{\"select\":function (company) { return _vm.$emit('select', company); }}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-companies-switcher.vue?vue&type=template&id=467032be&\"\nimport script from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"notification-badge\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('toggle-notifications')}}},[(_vm.count)?_c('span',{staticClass:\"notification-bubble\"}):_vm._e(),_c('i',{staticClass:\"fas fa-bell\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-notifications.vue?vue&type=template&id=47d14338&scoped=true&\"\nimport script from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47d14338\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"user-bar\",attrs:{\"x\":_vm.userDropdownCoordenates.x,\"y\":_vm.userDropdownCoordenates.y,\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('div',{staticClass:\"user-name\"},[_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(\" \"+_vm._s(_vm.userData.lastname))])]),_vm._t(\"icon\",[_c('i',{staticClass:\"fas fa-chevron-down\"})]),_c('div',{staticClass:\"profile-image\"},[(_vm.userData.photo)?_c('img',{attrs:{\"src\":_vm.userData.photo.url}}):_c('img',{attrs:{\"src\":require(\"../assets/icons/avatar-icon.png\")}})])],2),_c('template',{slot:\"body\"},[(_vm.showOptions)?_c('span',{staticClass:\"dropdown-title\"},[_vm._v(\"My Profile\")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:\"dropdown-item\",attrs:{\"to\":{ name: option.route }}},[_c('span',[_vm._v(\" \"+_vm._s(option.label)+\" \")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:\"dropdown-item logout-button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v(\"Logout\")]),_c('i',{staticClass:\"fas fa-sign-out-alt\"})])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-user-options.vue?vue&type=template&id=46b2671d&\"\nimport script from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header app-header\",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:\"sidebar-toggle\",on:{\"click\":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{\"src\":\"/img/icons/hamburguer-menu.png\"}})]),_c('div',{staticClass:\"header-container\"},[_c('div',{staticClass:\"left-side-header d-flex h-100\"},[(!_vm.hideCompaniesSwitcher)?_vm._t(\"companies-switcher\",[_c('gw-companies-switcher',{attrs:{\"branch-data\":_vm.companyBranchData,\"company-data\":_vm.companyData,\"companies-list\":_vm.companiesList},on:{\"select\":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t(\"app-switcher\",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{\"apps-list\":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:\"right-side-header d-flex\"},[_c('gw-user-options',{attrs:{\"company-data\":_vm.companyData,\"user-data\":_vm.userData,\"show-options\":_vm.showUserOptions,\"dropdown-mapper\":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{\"count\":_vm.notificationsCount},on:{\"toggle-notifications\":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-header.vue?vue&type=template&id=01c6e844&scoped=true&\"\nimport script from \"./gw-header.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01c6e844\",\n null\n \n)\n\nexport default component.exports","import GwAppSwitcher from \"./components/gw-app-switcher\";\nimport GwCompaniesSwitcher from \"./components/gw-companies-switcher\";\nimport GwNotifications from \"./components/gw-notifications\";\nimport GwUserOptions from \"./components/gw-user-options\";\nimport GwHeader from \"./components/gw-header\";\n\nexport {\n GwAppSwitcher,\n GwCompaniesSwitcher,\n GwNotifications,\n GwUserOptions\n}\n\nexport default GwHeader;\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://gw-header/webpack/bootstrap","webpack://gw-header/./src/components/gw-user-options.vue?c9b6","webpack://gw-header/./src/components/gw-companies-switcher.vue?d312","webpack://gw-header/./src/components/gw-header.vue?47c8","webpack://gw-header/./src/components/gw-header.vue?dfdb","webpack://gw-header/./src/assets/icons/avatar-icon.png","webpack://gw-header/./src/components/gw-app-switcher.vue?2583","webpack://gw-header/./src/components/gw-user-options.vue?4cd0","webpack://gw-header/./src/components/gw-companies-switcher.vue?49b0","webpack://gw-header/./src/components/gw-app-switcher.vue?c3c7","webpack://gw-header/./src/components/gw-notifications.vue?4009","webpack://gw-header/./src/components/gw-notifications.vue?a0c5","webpack://gw-header/./node_modules/current-script-polyfill/currentScript.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://gw-header/./src/components/gw-app-switcher.vue?bd0b","webpack://gw-header/src/components/gw-app-switcher.vue","webpack://gw-header/./src/components/gw-app-switcher.vue?ed5c","webpack://gw-header/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://gw-header/./src/components/gw-app-switcher.vue?3cdf","webpack://gw-header/./src/components/gw-companies-switcher.vue?f76d","webpack://gw-header/src/components/gw-companies-switcher.vue","webpack://gw-header/./src/components/gw-companies-switcher.vue?333e","webpack://gw-header/./src/components/gw-companies-switcher.vue?ce7b","webpack://gw-header/./src/components/gw-notifications.vue?f732","webpack://gw-header/src/components/gw-notifications.vue","webpack://gw-header/./src/components/gw-notifications.vue?3f15","webpack://gw-header/./src/components/gw-notifications.vue?54d6","webpack://gw-header/./src/components/gw-user-options.vue?f806","webpack://gw-header/src/components/gw-user-options.vue","webpack://gw-header/./src/components/gw-user-options.vue?a04e","webpack://gw-header/./src/components/gw-user-options.vue?9a44","webpack://gw-header/./src/components/gw-header.vue?74c3","webpack://gw-header/src/components/gw-header.vue","webpack://gw-header/./src/components/gw-header.vue?d4fe","webpack://gw-header/./src/components/gw-header.vue?28f6","webpack://gw-header/./src/index.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["GwHeader"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;AClFA;AAAA;AAAA;AAAmc,CAAgB,ifAAG,EAAC,C;;;;;;;;ACAvd;AAAA;AAAA;AAAyc,CAAgB,ufAAG,EAAC,C;;;;;;;;ACA7d;AAAA;AAAA;AAAqd,CAAgB,mgBAAG,EAAC,C;;;;;;;ACAze,uC;;;;;;;ACAA,iCAAiC,4zD;;;;;;;ACAjC,uC;;;;;;;ACAA,uC;;;;;;;ACAA,uC;;;;;;;;ACAA;AAAA;AAAA;AAAmc,CAAgB,ifAAG,EAAC,C;;;;;;;ACAvd,uC;;;;;;;;ACAA;AAAA;AAAA;AAA4d,CAAgB,0gBAAG,EAAC,C;;;;;;;ACAhf;;AAEA;;AAEA;AACA;AACA,wDAAwD;;AAExD;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,mBAAmB;AAChC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;A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ache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAC3npUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZddktsgDMffOUWPgCSExHGwgZneoMfvH0Kcze52Z/rx0IeYCWBZSEI/4SSh//g+wjdcVCSGpOa55BxxpZIKV0w83q7bSDGtfl2yH+H+SR6uBwyRPDRz3/oVcn0ssLTlx7M82Lnt+Da0H9wNyvTMmGw934aEb3La96HsdTW92c79k5fPmO9hv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Kz3EoqKafwkQlxCNK7CQ5Fxt3cwoA7lgFuISiRKQcSrywpeuVPh79LxWdv0WCU4dt+mddU2rfvk8k4mfsfvLKpwacVfUvE97mJuUvE3xCEqQo0DI/6AWriaNs3hHydrh0OmdQ8WckgKfGEQ+M51+tnjKoiZZ4o6NaDLLd84oR0mOAUWOTe+g3MWc0XAOGYyt+mMTz+xpcrkLbfeosKZCi8IZ/nTraIsl7/LZi5FkdNceEE4VdY/ADZz4wVhU4ufc8ILwpyuj245C1qannvDGS8IG1n4Ki9egheq9pq8yohX5o+wav9B02v+gtC04Se88YIwkR6ihSDn70K6YDaIYDat4PTRIwogSCjzy7SCySB4iJg0h6gRrEVomAVjwQRjZsHnYIK6WRDuz4F+s6AbTNBN+xDapuedxz22bZ9Uoyyz71gRWuyzzKius6vS4CsfifnAJyJqxH9lSUKbLgkPPNPmkSZX/DCB3gDL/mt1oBj/BAAAAABJRU5ErkJggg==\"","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"","// document.currentScript polyfill by Adam Miller\n\n// MIT license\n\n(function(document){\n var currentScript = \"currentScript\",\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n\n // If browser needs currentScript polyfill, add get currentScript() to the document object\n if (!(currentScript in document)) {\n Object.defineProperty(document, currentScript, {\n get: function(){\n\n // IE 6-10 supports script readyState\n // IE 10+ support stack trace\n try { throw new Error(); }\n catch (err) {\n\n // Find the second match for the \"at\" string to get file src url from stack.\n // Specifically works with the format of stack traces in IE.\n var i, res = ((/.*at [^\\(]*\\((.*):.+:.+\\)$/ig).exec(err.stack) || [false])[1];\n\n // For all scripts on the page, if src matches or if ready state is interactive, return the script tag\n for(i in scripts){\n if(scripts[i].src == res || scripts[i].readyState == \"interactive\"){\n return scripts[i];\n }\n }\n\n // If no match, return null\n return null;\n }\n }\n });\n }\n})(document);\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n require('current-script-polyfill')\n }\n\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"app-switcher\",attrs:{\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('span',{staticClass:\"app-mode\"},[_vm._v(\"Apps\")]),_c('i',{staticClass:\"fas fa-th\"})]),_c('template',{slot:\"body\"},_vm._l((_vm.appsList),function(app){return _c('a',{key:(\"app-\" + (app.id)),staticClass:\"dropdown-item\",attrs:{\"href\":app.url,\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(app.name))])])}),0)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./gw-app-switcher.vue?vue&type=template&id=1292016a&\"\nimport script from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"company-switcher\"},[_c('multiselect',{attrs:{\"disabled\":!_vm.shouldActivateSwitcher,\"allow-empty\":false,\"options\":_vm.companiesList,\"searchable\":false,\"show-labels\":false,\"value\":_vm.branchData,\"group-values\":\"branches\",\"group-label\":\"name\",\"label\":\"name\"},on:{\"select\":function (company) { return _vm.$emit('select', company); }}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-companies-switcher.vue?vue&type=template&id=467032be&\"\nimport script from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"notification-badge\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('toggle-notifications')}}},[(_vm.count)?_c('span',{staticClass:\"notification-bubble\"}):_vm._e(),_c('i',{staticClass:\"fas fa-bell\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-notifications.vue?vue&type=template&id=47d14338&scoped=true&\"\nimport script from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47d14338\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"user-bar\",attrs:{\"x\":_vm.userDropdownCoordenates.x,\"y\":_vm.userDropdownCoordenates.y,\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('div',{staticClass:\"user-name\"},[_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(\" \"+_vm._s(_vm.userData.lastname))])]),_vm._t(\"icon\",[_c('i',{staticClass:\"fas fa-chevron-down\"})]),_c('div',{staticClass:\"profile-image\"},[(_vm.userData.photo)?_c('img',{attrs:{\"src\":_vm.userData.photo.url}}):_c('img',{attrs:{\"src\":require(\"../assets/icons/avatar-icon.png\")}})])],2),_c('template',{slot:\"body\"},[(_vm.showOptions)?_c('span',{staticClass:\"dropdown-title\"},[_vm._v(\"My Profile\")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:\"dropdown-item\",attrs:{\"to\":{ name: option.route }}},[_c('span',[_vm._v(\" \"+_vm._s(option.label)+\" \")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:\"dropdown-item logout-button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v(\"Logout\")]),_c('i',{staticClass:\"fas fa-sign-out-alt\"})])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-user-options.vue?vue&type=template&id=e3fd80e4&\"\nimport script from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header app-header\",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:\"sidebar-toggle\",on:{\"click\":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{\"src\":\"/img/icons/hamburguer-menu.png\"}})]),_c('div',{staticClass:\"header-container\"},[_c('div',{staticClass:\"left-side-header d-flex h-100\"},[(!_vm.hideCompaniesSwitcher)?_vm._t(\"companies-switcher\",[_c('gw-companies-switcher',{attrs:{\"branch-data\":_vm.companyBranchData,\"company-data\":_vm.companyData,\"companies-list\":_vm.companiesList},on:{\"select\":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t(\"app-switcher\",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{\"apps-list\":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:\"right-side-header d-flex\"},[_c('gw-user-options',{attrs:{\"company-data\":_vm.companyData,\"domain\":_vm.domain,\"user-data\":_vm.userData,\"show-options\":_vm.showUserOptions,\"dropdown-mapper\":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{\"count\":_vm.notificationsCount},on:{\"toggle-notifications\":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-header.vue?vue&type=template&id=5963409e&scoped=true&\"\nimport script from \"./gw-header.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5963409e\",\n null\n \n)\n\nexport default component.exports","import GwAppSwitcher from \"./components/gw-app-switcher\";\nimport GwCompaniesSwitcher from \"./components/gw-companies-switcher\";\nimport GwNotifications from \"./components/gw-notifications\";\nimport GwUserOptions from \"./components/gw-user-options\";\nimport GwHeader from \"./components/gw-header\";\n\nexport {\n GwAppSwitcher,\n GwCompaniesSwitcher,\n GwNotifications,\n GwUserOptions\n}\n\nexport default GwHeader;\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/gw-header.css b/dist/gw-header.css index 5efcd8d..d6d1f8b 100644 --- a/dist/gw-header.css +++ b/dist/gw-header.css @@ -1 +1 @@ -.app-switcher{position:relative;display:flex;align-items:center;padding:0 20px;color:var(--base-color)}.app-switcher:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:40%;background-color:#4b4b4b}.app-switcher .bp-dropdown__btn{height:100%}.app-switcher .bp-dropdown__btn .app-mode{font-size:15px!important;font-family:Roboto;font-weight:700;display:block;text-align:center;margin-right:10px;margin-bottom:2px}@media (max-width:992px){.app-switcher{order:1;margin-right:0;padding:0 10px}.app-switcher #app-grid{position:absolute;left:0;margin:0;top:0;width:100%;height:100%;background:none}}.company-switcher{display:flex;align-items:center;position:relative;margin-right:10px}.company-switcher .multiselect .multiselect__select{font-family:Font Awesome\ 5 Pro;font-weight:900;display:flex;align-items:center;justify-content:center;z-index:1}.company-switcher .multiselect .multiselect__select:before{border-width:0;content:"\f078";top:auto;margin-top:0;color:#4b4b4b;z-index:1}.company-switcher .multiselect .multiselect__tags{border:0;display:flex;align-items:center;padding-top:0;padding-left:0;position:relative}.company-switcher .multiselect .multiselect__tags .multiselect__single{margin-bottom:0;text-transform:uppercase;font-size:20px;font-weight:700;letter-spacing:3.2px;font-family:Lato,sans-serif;color:#4b4b4b}.company-switcher .multiselect .multiselect__content-wrapper{width:auto}.company-switcher .multiselect.multiselect--active .multiselect__select{transform:rotate(0)}.company-switcher .multiselect.multiselect--disabled{background:initial;opacity:1}.company-switcher .multiselect.multiselect--disabled .multiselect__select{display:none}.company-switcher .multiselect.multiselect--disabled .multiselect__tags{padding-right:10px}@media (max-width:992px){.company-switcher{padding:0 5px}.company-switcher /deep/ .multiselect .multiselect__content{position:fixed;width:100%;left:0;border:0;background-color:#fff}}@media (max-width:576px){.company-switcher{margin-left:5px}}.notification-badge[data-v-47d14338]{display:flex;align-items:center;position:relative;font-size:20px;color:#a4afb7;cursor:pointer;margin-left:20px}.notification-badge .notification-bubble[data-v-47d14338]{position:absolute;width:13px;height:13px;border-radius:100%;background-color:red;display:flex;align-items:center;justify-content:center;border:2px solid #fff;right:-4px;top:0}@media (max-width:992px){.notification-badge[data-v-47d14338]{display:none}}.user-bar{display:flex;height:100%;align-items:center}.user-bar .user-name{margin-right:15px;text-transform:capitalize;font-family:Source Sans Pro,sans-serif;color:#4d4f5c}.user-bar .fa-chevron-down{color:#a4afb7;margin-right:10px}.user-bar .profile-image{width:30px;height:30px;display:flex;align-items:center;justify-content:center;overflow:hidden}.user-bar .profile-image img{width:100%;border-radius:100%;height:auto}.user-bar .logout-button{display:flex;justify-content:space-between;align-items:center}.user-bar .logout-button *{color:var(--secondary-color)}.user-bar .logout-button:hover *{color:inherit}@media screen and (max-width:768px){.user-bar{padding:0 5px}.user-bar .user-name{display:none}}.app-header[data-v-01c6e844]{position:fixed;left:0;top:0;z-index:1000;height:60px;width:100%;background-color:#fff;border-bottom:1px solid #e6e6e6;padding:0;padding-left:70px;display:flex}.app-header.menu-pinned[data-v-01c6e844]{padding-left:280px}@media (max-width:991px){.app-header[data-v-01c6e844]{padding-left:0}}.app-header .header-container[data-v-01c6e844]{display:flex;justify-content:space-between;align-items:center;height:100%;margin-right:auto;margin-left:auto;padding-left:30px;padding-right:30px;flex:1}@media (min-width:1824px){.app-header .header-container[data-v-01c6e844]{width:1700px}}@media (max-width:991px){.app-header .header-container[data-v-01c6e844]{padding-left:0}}@media (max-width:576px){.app-header .header-container[data-v-01c6e844]{padding-right:10px}}.app-header .sidebar-toggle[data-v-01c6e844]{display:none}@media (max-width:991px){.app-header .sidebar-toggle[data-v-01c6e844]{cursor:pointer;display:flex;width:59px;height:100%;background-color:var(--base-color);align-items:center;justify-content:center;margin-right:20px}}.app-header .notifications-center[data-v-01c6e844]{order:3;margin-left:15px;display:flex;align-items:center}.app-header .notifications-center .header-icon[data-v-01c6e844]{position:relative}.desactivate-lm[data-v-01c6e844]{cursor:not-allowed}.desactivate-lm p[data-v-01c6e844],.desactivate-lm span[data-v-01c6e844]{color:#ccc;border-color:#ccc}@media (max-width:992px){.app-header .notifications-center[data-v-01c6e844]{display:none}}@media screen and (max-width:768px){.app-header .free-trial-icon[data-v-01c6e844]{display:none}} \ No newline at end of file +.app-switcher{position:relative;display:flex;align-items:center;padding:0 20px;color:var(--base-color)}.app-switcher:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:1px;height:40%;background-color:#4b4b4b}.app-switcher .bp-dropdown__btn{height:100%}.app-switcher .bp-dropdown__btn .app-mode{font-size:15px!important;font-family:Roboto;font-weight:700;display:block;text-align:center;margin-right:10px;margin-bottom:2px}@media (max-width:992px){.app-switcher{order:1;margin-right:0;padding:0 10px}.app-switcher #app-grid{position:absolute;left:0;margin:0;top:0;width:100%;height:100%;background:none}}.company-switcher{display:flex;align-items:center;position:relative;margin-right:10px}.company-switcher .multiselect .multiselect__select{font-family:Font Awesome\ 5 Pro;font-weight:900;display:flex;align-items:center;justify-content:center;z-index:1}.company-switcher .multiselect .multiselect__select:before{border-width:0;content:"\f078";top:auto;margin-top:0;color:#4b4b4b;z-index:1}.company-switcher .multiselect .multiselect__tags{border:0;display:flex;align-items:center;padding-top:0;padding-left:0;position:relative}.company-switcher .multiselect .multiselect__tags .multiselect__single{margin-bottom:0;text-transform:uppercase;font-size:20px;font-weight:700;letter-spacing:3.2px;font-family:Lato,sans-serif;color:#4b4b4b}.company-switcher .multiselect .multiselect__content-wrapper{width:auto}.company-switcher .multiselect.multiselect--active .multiselect__select{transform:rotate(0)}.company-switcher .multiselect.multiselect--disabled{background:initial;opacity:1}.company-switcher .multiselect.multiselect--disabled .multiselect__select{display:none}.company-switcher .multiselect.multiselect--disabled .multiselect__tags{padding-right:10px}@media (max-width:992px){.company-switcher{padding:0 5px}.company-switcher /deep/ .multiselect .multiselect__content{position:fixed;width:100%;left:0;border:0;background-color:#fff}}@media (max-width:576px){.company-switcher{margin-left:5px}}.notification-badge[data-v-47d14338]{display:flex;align-items:center;position:relative;font-size:20px;color:#a4afb7;cursor:pointer;margin-left:20px}.notification-badge .notification-bubble[data-v-47d14338]{position:absolute;width:13px;height:13px;border-radius:100%;background-color:red;display:flex;align-items:center;justify-content:center;border:2px solid #fff;right:-4px;top:0}@media (max-width:992px){.notification-badge[data-v-47d14338]{display:none}}.user-bar{display:flex;height:100%;align-items:center}.user-bar .user-name{margin-right:15px;text-transform:capitalize;font-family:Source Sans Pro,sans-serif;color:#4d4f5c}.user-bar .fa-chevron-down{color:#a4afb7;margin-right:10px}.user-bar .profile-image{width:30px;height:30px;display:flex;align-items:center;justify-content:center;overflow:hidden}.user-bar .profile-image img{width:100%;border-radius:100%;height:auto}.user-bar .logout-button{display:flex;justify-content:space-between;align-items:center}.user-bar .logout-button *{color:var(--secondary-color)}.user-bar .logout-button:hover *{color:inherit}@media screen and (max-width:768px){.user-bar{padding:0 5px}.user-bar .user-name{display:none}}.app-header[data-v-5963409e]{position:fixed;left:0;top:0;z-index:1000;height:60px;width:100%;background-color:#fff;border-bottom:1px solid #e6e6e6;padding:0;padding-left:70px;display:flex}.app-header.menu-pinned[data-v-5963409e]{padding-left:280px}@media (max-width:991px){.app-header[data-v-5963409e]{padding-left:0}}.app-header .header-container[data-v-5963409e]{display:flex;justify-content:space-between;align-items:center;height:100%;margin-right:auto;margin-left:auto;padding-left:30px;padding-right:30px;flex:1}@media (min-width:1824px){.app-header .header-container[data-v-5963409e]{width:1700px}}@media (max-width:991px){.app-header .header-container[data-v-5963409e]{padding-left:0}}@media (max-width:576px){.app-header .header-container[data-v-5963409e]{padding-right:10px}}.app-header .sidebar-toggle[data-v-5963409e]{display:none}@media (max-width:991px){.app-header .sidebar-toggle[data-v-5963409e]{cursor:pointer;display:flex;width:59px;height:100%;background-color:var(--base-color);align-items:center;justify-content:center;margin-right:20px}}.app-header .notifications-center[data-v-5963409e]{order:3;margin-left:15px;display:flex;align-items:center}.app-header .notifications-center .header-icon[data-v-5963409e]{position:relative}.desactivate-lm[data-v-5963409e]{cursor:not-allowed}.desactivate-lm p[data-v-5963409e],.desactivate-lm span[data-v-5963409e]{color:#ccc;border-color:#ccc}@media (max-width:992px){.app-header .notifications-center[data-v-5963409e]{display:none}}@media screen and (max-width:768px){.app-header .free-trial-icon[data-v-5963409e]{display:none}} \ No newline at end of file diff --git a/dist/gw-header.umd.js b/dist/gw-header.umd.js index 05bee44..d848830 100644 --- a/dist/gw-header.umd.js +++ b/dist/gw-header.umd.js @@ -96,13 +96,6 @@ return /******/ (function(modules) { // webpackBootstrap /************************************************************************/ /******/ ({ -/***/ "5dc2": -/***/ (function(module, exports, __webpack_require__) { - -// extracted by mini-css-extract-plugin - -/***/ }), - /***/ "672a": /***/ (function(module, __webpack_exports__, __webpack_require__) { @@ -114,25 +107,32 @@ return /******/ (function(modules) { // webpackBootstrap /***/ }), -/***/ "6a8c": +/***/ "9268": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_01c6e844_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5dc2"); -/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_01c6e844_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_01c6e844_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d9e4"); +/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); /* unused harmony reexport * */ - /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_01c6e844_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); + /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); /***/ }), -/***/ "9268": +/***/ "9e9b": /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d9e4"); -/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_5963409e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ab4b"); +/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_5963409e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_5963409e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); /* unused harmony reexport * */ - /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_companies_switcher_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); + /* unused harmony default export */ var _unused_webpack_default_export = (_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_gw_header_vue_vue_type_style_index_0_id_5963409e_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a); + +/***/ }), + +/***/ "ab4b": +/***/ (function(module, exports, __webpack_require__) { + +// extracted by mini-css-extract-plugin /***/ }), @@ -558,12 +558,12 @@ var gw_notifications_component = normalizeComponent( ) /* harmony default export */ var gw_notifications = (gw_notifications_component.exports); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10916de4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-user-options.vue?vue&type=template&id=46b2671d& -var gw_user_optionsvue_type_template_id_46b2671d_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:"user-bar",attrs:{"x":_vm.userDropdownCoordenates.x,"y":_vm.userDropdownCoordenates.y,"is-icon":false}},[_c('template',{slot:"btn"},[_c('div',{staticClass:"user-name"},[_c('span',{staticClass:"bold"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(" "+_vm._s(_vm.userData.lastname))])]),_vm._t("icon",[_c('i',{staticClass:"fas fa-chevron-down"})]),_c('div',{staticClass:"profile-image"},[(_vm.userData.photo)?_c('img',{attrs:{"src":_vm.userData.photo.url}}):_c('img',{attrs:{"src":__webpack_require__("af9d")}})])],2),_c('template',{slot:"body"},[(_vm.showOptions)?_c('span',{staticClass:"dropdown-title"},[_vm._v("My Profile")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:"dropdown-item",attrs:{"to":{ name: option.route }}},[_c('span',[_vm._v(" "+_vm._s(option.label)+" ")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:"dropdown-item logout-button",attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v("Logout")]),_c('i',{staticClass:"fas fa-sign-out-alt"})])])],2)} -var gw_user_optionsvue_type_template_id_46b2671d_staticRenderFns = [] +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10916de4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-user-options.vue?vue&type=template&id=e3fd80e4& +var gw_user_optionsvue_type_template_id_e3fd80e4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:"user-bar",attrs:{"x":_vm.userDropdownCoordenates.x,"y":_vm.userDropdownCoordenates.y,"is-icon":false}},[_c('template',{slot:"btn"},[_c('div',{staticClass:"user-name"},[_c('span',{staticClass:"bold"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(" "+_vm._s(_vm.userData.lastname))])]),_vm._t("icon",[_c('i',{staticClass:"fas fa-chevron-down"})]),_c('div',{staticClass:"profile-image"},[(_vm.userData.photo)?_c('img',{attrs:{"src":_vm.userData.photo.url}}):_c('img',{attrs:{"src":__webpack_require__("af9d")}})])],2),_c('template',{slot:"body"},[(_vm.showOptions)?_c('span',{staticClass:"dropdown-title"},[_vm._v("My Profile")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:"dropdown-item",attrs:{"to":{ name: option.route }}},[_c('span',[_vm._v(" "+_vm._s(option.label)+" ")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:"dropdown-item logout-button",attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v("Logout")]),_c('i',{staticClass:"fas fa-sign-out-alt"})])])],2)} +var gw_user_optionsvue_type_template_id_e3fd80e4_staticRenderFns = [] -// CONCATENATED MODULE: ./src/components/gw-user-options.vue?vue&type=template&id=46b2671d& +// CONCATENATED MODULE: ./src/components/gw-user-options.vue?vue&type=template&id=e3fd80e4& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-user-options.vue?vue&type=script&lang=js& // @@ -618,6 +618,10 @@ var gw_user_optionsvue_type_template_id_46b2671d_staticRenderFns = [] type: Object, required: true }, + domain: { + type: String, + required: true + }, showOptions: { type: Boolean, default: true @@ -694,7 +698,7 @@ var gw_user_optionsvue_type_template_id_46b2671d_staticRenderFns = [] }).then(() => { Cookies.remove("token", { path: "/", - domain: Object({"NODE_ENV":"production","BASE_URL":"/"}).VUE_APP_DOMAIN + domain: this.domain }); this.$store.dispatch("User/setToken", null); this.$store.dispatch("Application/resetGlobalData"); @@ -722,8 +726,8 @@ var gw_user_optionsvue_type_style_index_0_lang_scss_ = __webpack_require__("672a var gw_user_options_component = normalizeComponent( components_gw_user_optionsvue_type_script_lang_js_, - gw_user_optionsvue_type_template_id_46b2671d_render, - gw_user_optionsvue_type_template_id_46b2671d_staticRenderFns, + gw_user_optionsvue_type_template_id_e3fd80e4_render, + gw_user_optionsvue_type_template_id_e3fd80e4_staticRenderFns, false, null, null, @@ -732,12 +736,12 @@ var gw_user_options_component = normalizeComponent( ) /* harmony default export */ var gw_user_options = (gw_user_options_component.exports); -// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10916de4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-header.vue?vue&type=template&id=01c6e844&scoped=true& -var gw_headervue_type_template_id_01c6e844_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header app-header",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:"sidebar-toggle",on:{"click":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{"src":"/img/icons/hamburguer-menu.png"}})]),_c('div',{staticClass:"header-container"},[_c('div',{staticClass:"left-side-header d-flex h-100"},[(!_vm.hideCompaniesSwitcher)?_vm._t("companies-switcher",[_c('gw-companies-switcher',{attrs:{"branch-data":_vm.companyBranchData,"company-data":_vm.companyData,"companies-list":_vm.companiesList},on:{"select":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t("app-switcher",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{"apps-list":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:"right-side-header d-flex"},[_c('gw-user-options',{attrs:{"company-data":_vm.companyData,"user-data":_vm.userData,"show-options":_vm.showUserOptions,"dropdown-mapper":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{"count":_vm.notificationsCount},on:{"toggle-notifications":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])} -var gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns = [] +// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"10916de4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-header.vue?vue&type=template&id=5963409e&scoped=true& +var gw_headervue_type_template_id_5963409e_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"header app-header",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:"sidebar-toggle",on:{"click":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{"src":"/img/icons/hamburguer-menu.png"}})]),_c('div',{staticClass:"header-container"},[_c('div',{staticClass:"left-side-header d-flex h-100"},[(!_vm.hideCompaniesSwitcher)?_vm._t("companies-switcher",[_c('gw-companies-switcher',{attrs:{"branch-data":_vm.companyBranchData,"company-data":_vm.companyData,"companies-list":_vm.companiesList},on:{"select":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t("app-switcher",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{"apps-list":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:"right-side-header d-flex"},[_c('gw-user-options',{attrs:{"company-data":_vm.companyData,"domain":_vm.domain,"user-data":_vm.userData,"show-options":_vm.showUserOptions,"dropdown-mapper":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{"count":_vm.notificationsCount},on:{"toggle-notifications":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])} +var gw_headervue_type_template_id_5963409e_scoped_true_staticRenderFns = [] -// CONCATENATED MODULE: ./src/components/gw-header.vue?vue&type=template&id=01c6e844&scoped=true& +// CONCATENATED MODULE: ./src/components/gw-header.vue?vue&type=template&id=5963409e&scoped=true& // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/gw-header.vue?vue&type=script&lang=js& // @@ -782,6 +786,7 @@ var gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns = [] // // // +// @@ -832,6 +837,10 @@ var gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns = [] } }, + domain: { + type: String, + default: Object({"NODE_ENV":"production","BASE_URL":"/"}).VUE_APP_DOMAIN || "" + }, notificationsCount: { type: Number, required: true @@ -860,8 +869,8 @@ var gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns = [] }); // CONCATENATED MODULE: ./src/components/gw-header.vue?vue&type=script&lang=js& /* harmony default export */ var components_gw_headervue_type_script_lang_js_ = (gw_headervue_type_script_lang_js_); -// EXTERNAL MODULE: ./src/components/gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true& -var gw_headervue_type_style_index_0_id_01c6e844_lang_scss_scoped_true_ = __webpack_require__("6a8c"); +// EXTERNAL MODULE: ./src/components/gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true& +var gw_headervue_type_style_index_0_id_5963409e_lang_scss_scoped_true_ = __webpack_require__("9e9b"); // CONCATENATED MODULE: ./src/components/gw-header.vue @@ -874,11 +883,11 @@ var gw_headervue_type_style_index_0_id_01c6e844_lang_scss_scoped_true_ = __webpa var gw_header_component = normalizeComponent( components_gw_headervue_type_script_lang_js_, - gw_headervue_type_template_id_01c6e844_scoped_true_render, - gw_headervue_type_template_id_01c6e844_scoped_true_staticRenderFns, + gw_headervue_type_template_id_5963409e_scoped_true_render, + gw_headervue_type_template_id_5963409e_scoped_true_staticRenderFns, false, null, - "01c6e844", + "5963409e", null ) diff --git a/dist/gw-header.umd.js.map b/dist/gw-header.umd.js.map index 41b6fc5..3ed9a08 100644 --- a/dist/gw-header.umd.js.map +++ b/dist/gw-header.umd.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://gw-header/webpack/universalModuleDefinition","webpack://gw-header/webpack/bootstrap","webpack://gw-header/./src/components/gw-header.vue?373d","webpack://gw-header/./src/components/gw-user-options.vue?c9b6","webpack://gw-header/./src/components/gw-header.vue?17d6","webpack://gw-header/./src/components/gw-companies-switcher.vue?d312","webpack://gw-header/./src/assets/icons/avatar-icon.png","webpack://gw-header/./src/components/gw-app-switcher.vue?2583","webpack://gw-header/./src/components/gw-user-options.vue?4cd0","webpack://gw-header/./src/components/gw-companies-switcher.vue?49b0","webpack://gw-header/./src/components/gw-app-switcher.vue?c3c7","webpack://gw-header/./src/components/gw-notifications.vue?4009","webpack://gw-header/./src/components/gw-notifications.vue?a0c5","webpack://gw-header/./node_modules/current-script-polyfill/currentScript.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://gw-header/./src/components/gw-app-switcher.vue?bd0b","webpack://gw-header/src/components/gw-app-switcher.vue","webpack://gw-header/./src/components/gw-app-switcher.vue?ed5c","webpack://gw-header/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://gw-header/./src/components/gw-app-switcher.vue?3cdf","webpack://gw-header/./src/components/gw-companies-switcher.vue?f76d","webpack://gw-header/src/components/gw-companies-switcher.vue","webpack://gw-header/./src/components/gw-companies-switcher.vue?333e","webpack://gw-header/./src/components/gw-companies-switcher.vue?ce7b","webpack://gw-header/./src/components/gw-notifications.vue?f732","webpack://gw-header/src/components/gw-notifications.vue","webpack://gw-header/./src/components/gw-notifications.vue?3f15","webpack://gw-header/./src/components/gw-notifications.vue?54d6","webpack://gw-header/./src/components/gw-user-options.vue?1821","webpack://gw-header/src/components/gw-user-options.vue","webpack://gw-header/./src/components/gw-user-options.vue?a04e","webpack://gw-header/./src/components/gw-user-options.vue?9a44","webpack://gw-header/./src/components/gw-header.vue?ad80","webpack://gw-header/src/components/gw-header.vue","webpack://gw-header/./src/components/gw-header.vue?d4fe","webpack://gw-header/./src/components/gw-header.vue?28f6","webpack://gw-header/./src/index.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["GwHeader"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;AClFA,uC;;;;;;;;ACAA;AAAA;AAAA;AAAmc,CAAgB,ifAAG,EAAC,C;;;;;;;;ACAvd;AAAA;AAAA;AAAqd,CAAgB,mgBAAG,EAAC,C;;;;;;;;ACAze;AAAA;AAAA;AAAyc,CAAgB,ufAAG,EAAC,C;;;;;;;ACA7d,iCAAiC,4zD;;;;;;;ACAjC,uC;;;;;;;ACAA,uC;;;;;;;ACAA,uC;;;;;;;;ACAA;AAAA;AAAA;AAAmc,CAAgB,ifAAG,EAAC,C;;;;;;;ACAvd,uC;;;;;;;;ACAA;AAAA;AAAA;AAA4d,CAAgB,0gBAAG,EAAC,C;;;;;;;ACAhf;;AAEA;;AAEA;AACA;AACA,wDAAwD;;AAExD;AACA;AACA;AACA;;AAEA;AACA;AACA,aAAa,mBAAmB;AAChC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,CAAC;;;;;;;;;;;;ACnCD;;AAEA;AACA,MAAM,IAAuC;AAC7C,IAAI,mBAAO,CAAC,MAAyB;AACrC;;AAEA;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACe,sDAAI;;;ACdnB,0BAA0B,aAAa,0BAA0B,wBAAwB,sBAAsB,kCAAkC,iBAAiB,iBAAiB,WAAW,aAAa,uBAAuB,2BAA2B,wBAAwB,mBAAmB,YAAY,qCAAqC,eAAe,2DAA2D,kCAAkC,0CAA0C;AAC/e;;;;;;;;;;;;;;;;;;;;;;;;;;ACoBA;AACA,uBADA;AAEA;AACA;AACA,iBADA;;AAEA;AACA;AACA;;AAJA;AADA;AAFA,G;;ACrByU,CAAgB,8HAAG,EAAC,C;;;;;ACA7V;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC5F8F;AAC3B;AACL;AACc;;;AAG5E;AAC0F;AAC1F,gBAAgB,kBAAU;AAC1B,EAAE,kDAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEe,qE;;ACnBf,IAAI,yDAAM,gBAAgB,aAAa,0BAA0B,wBAAwB,iBAAiB,+BA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AqC,YAAY,OAAO,wCAAwC,cAAc,+BAA+B,YAAY,4CAA4C,wFAAwF,OAAO,sGAAsG,KAAK,6BAA6B,+CAA+C,IAAI,oFAAoF,OAAO,0BAA0B,2BAA2B,uCAAuC,wBAAwB,OAAO,iIAAiI,iDAAiD,OAAO,+BAA+B,KAAK,wCAAwC,2CAA2C;AAC3uC,IAAI,kEAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0CnB;AACA;AACA;AACA;AAEA;AACA,kBADA;AAEA;AACA,kCADA;AAEA,8CAFA;AAGA,qCAHA;AAIA;AAJA,GAFA;AAQA;AACA;AACA,iBADA;;AAEA;AACA;AACA;;AAJA,KADA;AAOA;AACA,kBADA;;AAEA;AACA;AACA;;AAJA,KAPA;AAaA;AACA,kBADA;AAEA;AAFA,KAbA;AAiBA;AACA,kBADA;AAEA,oBAFA;;AAGA;AACA;AACA;;AALA,KAjBA;AAwBA;AACA,iBADA;;AAEA;AACA;AACA;;AAJA,KAxBA;AA8BA;AACA,kBADA;AAEA;AAFA,KA9BA;AAkCA;AACA,mBADA;AAEA;AAFA,KAlCA;AAsCA;AACA,kBADA;AAEA;AAFA,KAtCA;AA0CA;AACA,mBADA;AAEA;AAFA,KA1CA;AA8CA;AACA,kBADA;AAEA;AAFA,KA9CA;AAkDA;AACA,mBADA;AAEA;AAFA;AAlDA;AARA,G;;AChDmU,CAAgB,kHAAG,EAAC,C;;;;;ACAnP;AACvC;AACL;AACsC;;;AAG9F;AAC0F;AAC1F,IAAI,mBAAS,GAAG,kBAAU;AAC1B,EAAE,4CAAM;AACR,EAAE,yDAAM;AACR,EAAE,kEAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEe,iEAAS,Q;;ACnBxB;AACA;AACA;AACA;AACA;AAEA;AAOeA,iDAAf,E;;ACbA;AAAA;AAAA;AAAA;AAAwB;AACA;AACT,kFAAG;AACI","file":"gw-header.umd.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"gw-header\"] = factory();\n\telse\n\t\troot[\"gw-header\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAC3npUWHRSYXcgcHJvZml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/gJhwfHdhcucFpqK6J/wE5UbAT/gH9CrLUTBLW1sBWx0ebqiF/BIgiKhYTLFYH17rWS+5qdfXdmZsvNPs/Mu/PO+25AN8qscMQ9gnDPESuUCTiWeEL+uZ5YCgMvsfsf/P3apeQv2EvFC8KeL37diheEdR/8MJ1MQYdhG6LPKlhjKHMSQ6y5r+Aic/6CcGFDFKz3EoqKafwkQlxCNK7CQ5Fxt3cwoA7lgFuISiRKQcSrywpeuVPh79LxWdv0WCU4dt+mddU2rfvk8k4mfsfvLKpwacVfUvE97mJuUvE3xCEqQo0DI/6AWriaNs3hHydrh0OmdQ8WckgKfGEQ+M51+tnjKoiZZ4o6NaDLLd84oR0mOAUWOTe+g3MWc0XAOGYyt+mMTz+xpcrkLbfeosKZCi8IZ/nTraIsl7/LZi5FkdNceEE4VdY/ADZz4wVhU4ufc8ILwpyuj245C1qannvDGS8IG1n4Ki9egheq9pq8yohX5o+wav9B02v+gtC04Se88YIwkR6ihSDn70K6YDaIYDat4PTRIwogSCjzy7SCySB4iJg0h6gRrEVomAVjwQRjZsHnYIK6WRDuz4F+s6AbTNBN+xDapuedxz22bZ9Uoyyz71gRWuyzzKius6vS4CsfifnAJyJqxH9lSUKbLgkPPNPmkSZX/DCB3gDL/mt1oBj/BAAAAABJRU5ErkJggg==\"","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"","// document.currentScript polyfill by Adam Miller\n\n// MIT license\n\n(function(document){\n var currentScript = \"currentScript\",\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n\n // If browser needs currentScript polyfill, add get currentScript() to the document object\n if (!(currentScript in document)) {\n Object.defineProperty(document, currentScript, {\n get: function(){\n\n // IE 6-10 supports script readyState\n // IE 10+ support stack trace\n try { throw new Error(); }\n catch (err) {\n\n // Find the second match for the \"at\" string to get file src url from stack.\n // Specifically works with the format of stack traces in IE.\n var i, res = ((/.*at [^\\(]*\\((.*):.+:.+\\)$/ig).exec(err.stack) || [false])[1];\n\n // For all scripts on the page, if src matches or if ready state is interactive, return the script tag\n for(i in scripts){\n if(scripts[i].src == res || scripts[i].readyState == \"interactive\"){\n return scripts[i];\n }\n }\n\n // If no match, return null\n return null;\n }\n }\n });\n }\n})(document);\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n require('current-script-polyfill')\n }\n\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"app-switcher\",attrs:{\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('span',{staticClass:\"app-mode\"},[_vm._v(\"Apps\")]),_c('i',{staticClass:\"fas fa-th\"})]),_c('template',{slot:\"body\"},_vm._l((_vm.appsList),function(app){return _c('a',{key:(\"app-\" + (app.id)),staticClass:\"dropdown-item\",attrs:{\"href\":app.url,\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(app.name))])])}),0)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./gw-app-switcher.vue?vue&type=template&id=1292016a&\"\nimport script from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"company-switcher\"},[_c('multiselect',{attrs:{\"disabled\":!_vm.shouldActivateSwitcher,\"allow-empty\":false,\"options\":_vm.companiesList,\"searchable\":false,\"show-labels\":false,\"value\":_vm.branchData,\"group-values\":\"branches\",\"group-label\":\"name\",\"label\":\"name\"},on:{\"select\":function (company) { return _vm.$emit('select', company); }}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-companies-switcher.vue?vue&type=template&id=467032be&\"\nimport script from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"notification-badge\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('toggle-notifications')}}},[(_vm.count)?_c('span',{staticClass:\"notification-bubble\"}):_vm._e(),_c('i',{staticClass:\"fas fa-bell\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-notifications.vue?vue&type=template&id=47d14338&scoped=true&\"\nimport script from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47d14338\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"user-bar\",attrs:{\"x\":_vm.userDropdownCoordenates.x,\"y\":_vm.userDropdownCoordenates.y,\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('div',{staticClass:\"user-name\"},[_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(\" \"+_vm._s(_vm.userData.lastname))])]),_vm._t(\"icon\",[_c('i',{staticClass:\"fas fa-chevron-down\"})]),_c('div',{staticClass:\"profile-image\"},[(_vm.userData.photo)?_c('img',{attrs:{\"src\":_vm.userData.photo.url}}):_c('img',{attrs:{\"src\":require(\"../assets/icons/avatar-icon.png\")}})])],2),_c('template',{slot:\"body\"},[(_vm.showOptions)?_c('span',{staticClass:\"dropdown-title\"},[_vm._v(\"My Profile\")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:\"dropdown-item\",attrs:{\"to\":{ name: option.route }}},[_c('span',[_vm._v(\" \"+_vm._s(option.label)+\" \")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:\"dropdown-item logout-button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v(\"Logout\")]),_c('i',{staticClass:\"fas fa-sign-out-alt\"})])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-user-options.vue?vue&type=template&id=46b2671d&\"\nimport script from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header app-header\",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:\"sidebar-toggle\",on:{\"click\":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{\"src\":\"/img/icons/hamburguer-menu.png\"}})]),_c('div',{staticClass:\"header-container\"},[_c('div',{staticClass:\"left-side-header d-flex h-100\"},[(!_vm.hideCompaniesSwitcher)?_vm._t(\"companies-switcher\",[_c('gw-companies-switcher',{attrs:{\"branch-data\":_vm.companyBranchData,\"company-data\":_vm.companyData,\"companies-list\":_vm.companiesList},on:{\"select\":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t(\"app-switcher\",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{\"apps-list\":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:\"right-side-header d-flex\"},[_c('gw-user-options',{attrs:{\"company-data\":_vm.companyData,\"user-data\":_vm.userData,\"show-options\":_vm.showUserOptions,\"dropdown-mapper\":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{\"count\":_vm.notificationsCount},on:{\"toggle-notifications\":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-header.vue?vue&type=template&id=01c6e844&scoped=true&\"\nimport script from \"./gw-header.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01c6e844\",\n null\n \n)\n\nexport default component.exports","import GwAppSwitcher from \"./components/gw-app-switcher\";\nimport GwCompaniesSwitcher from \"./components/gw-companies-switcher\";\nimport GwNotifications from \"./components/gw-notifications\";\nimport GwUserOptions from \"./components/gw-user-options\";\nimport GwHeader from \"./components/gw-header\";\n\nexport {\n GwAppSwitcher,\n GwCompaniesSwitcher,\n GwNotifications,\n GwUserOptions\n}\n\nexport default GwHeader;\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://gw-header/webpack/universalModuleDefinition","webpack://gw-header/webpack/bootstrap","webpack://gw-header/./src/components/gw-user-options.vue?c9b6","webpack://gw-header/./src/components/gw-companies-switcher.vue?d312","webpack://gw-header/./src/components/gw-header.vue?47c8","webpack://gw-header/./src/components/gw-header.vue?dfdb","webpack://gw-header/./src/assets/icons/avatar-icon.png","webpack://gw-header/./src/components/gw-app-switcher.vue?2583","webpack://gw-header/./src/components/gw-user-options.vue?4cd0","webpack://gw-header/./src/components/gw-companies-switcher.vue?49b0","webpack://gw-header/./src/components/gw-app-switcher.vue?c3c7","webpack://gw-header/./src/components/gw-notifications.vue?4009","webpack://gw-header/./src/components/gw-notifications.vue?a0c5","webpack://gw-header/./node_modules/current-script-polyfill/currentScript.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://gw-header/./src/components/gw-app-switcher.vue?bd0b","webpack://gw-header/src/components/gw-app-switcher.vue","webpack://gw-header/./src/components/gw-app-switcher.vue?ed5c","webpack://gw-header/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://gw-header/./src/components/gw-app-switcher.vue?3cdf","webpack://gw-header/./src/components/gw-companies-switcher.vue?f76d","webpack://gw-header/src/components/gw-companies-switcher.vue","webpack://gw-header/./src/components/gw-companies-switcher.vue?333e","webpack://gw-header/./src/components/gw-companies-switcher.vue?ce7b","webpack://gw-header/./src/components/gw-notifications.vue?f732","webpack://gw-header/src/components/gw-notifications.vue","webpack://gw-header/./src/components/gw-notifications.vue?3f15","webpack://gw-header/./src/components/gw-notifications.vue?54d6","webpack://gw-header/./src/components/gw-user-options.vue?f806","webpack://gw-header/src/components/gw-user-options.vue","webpack://gw-header/./src/components/gw-user-options.vue?a04e","webpack://gw-header/./src/components/gw-user-options.vue?9a44","webpack://gw-header/./src/components/gw-header.vue?74c3","webpack://gw-header/src/components/gw-header.vue","webpack://gw-header/./src/components/gw-header.vue?d4fe","webpack://gw-header/./src/components/gw-header.vue?28f6","webpack://gw-header/./src/index.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["GwHeader"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QAC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AwB,sBAAsB,kCAAkC,iBAAiB,iBAAiB,WAAW,aAAa,uBAAuB,2BAA2B,wBAAwB,mBAAmB,YAAY,qCAAqC,eAAe,2DAA2D,kCAAkC,0CAA0C;AAC/e;;;;;;;;;;;;;;;;;;;;;;;;;;ACoBA;AACA,uBADA;AAEA;AACA;AACA,iBADA;;AAEA;AACA;AACA;;AAJA;AADA;AAFA,G;;ACrByU,CAAgB,8HAAG,EAAC,C;;;;;ACA7V;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,qBAAqB;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC5F8F;AAC3B;AACL;AACc;;;AAG5E;AAC0F;AAC1F,gBAAgB,kBAAU;AAC1B,EAAE,kDAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEe,qE;;ACnBf,IAAI,yDAAM,gBAAgB,aAAa,0BAA0B,wBAAwB,iBAAiB,+BAA+B,oBAAoB,OAAO,mNAAmN,KAAK,6BAA6B,qCAAqC,IAAI;AAClc,IAAI,kEAAe;;;;;;;;;;;;;;;;;;;;;;;;ACiBnB;;;;;AAKA;AACA,6BADA;AAEA;AACA;AACA,kBADA;AAEA;AAFA,KADA;AAKA;AACA,kBADA;AAEA;AAFA,KALA;AASA;AACA,iBADA;;AAEA;AACA;AACA;;AAJA;AATA,GAFA;AAkBA;A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AI,kEAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2CnB;AACA;AACA;AACA;AAEA;AACA,kBADA;AAEA;AACA,kCADA;AAEA,8CAFA;AAGA,qCAHA;AAIA;AAJA,GAFA;AAQA;AACA;AACA,iBADA;;AAEA;AACA;AACA;;AAJA,KADA;AAOA;AACA,kBADA;;AAEA;AACA;AACA;;AAJA,KAPA;AAaA;AACA,kBADA;AAEA;AAFA,KAbA;AAiBA;AACA,kBADA;AAEA,oBAFA;;AAGA;AACA;AACA;;AALA,KAjBA;AAwBA;AACA,iBADA;;AAEA;AACA;AACA;;AAJA,KAxBA;AA8BA;AACA,kBADA;AAEA;AAFA,KA9BA;AAkCA;AACA,kBADA;AAEA;AAFA,KAlCA;AAsCA;AACA,mBADA;AAEA;AAFA,KAtCA;AA0CA;AACA,kBADA;AAEA;AAFA,KA1CA;AA8CA;AACA,mBADA;AAEA;AAFA,KA9CA;AAkDA;AACA,kBADA;AAEA;AAFA,KAlDA;AAsDA;AACA,mBADA;AAEA;AAFA;AAtDA;AARA,G;;ACjDmU,CAAgB,kHAAG,EAAC,C;;;;;ACAnP;AACvC;AACL;AACsC;;;AAG9F;AAC0F;AAC1F,IAAI,mBAAS,GAAG,kBAAU;AAC1B,EAAE,4CAAM;AACR,EAAE,yDAAM;AACR,EAAE,kEAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEe,iEAAS,Q;;ACnBxB;AACA;AACA;AACA;AACA;AAEA;AAOeA,iDAAf,E;;ACbA;AAAA;AAAA;AAAA;AAAwB;AACA;AACT,kFAAG;AACI","file":"gw-header.umd.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"gw-header\"] = factory();\n\telse\n\t\troot[\"gw-header\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAC3npUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZddktsgDMffOUWPgCSExHGwgZneoMfvH0Kcze52Z/rx0IeYCWBZSEI/4SSh//g+wjdcVCSGpOa55BxxpZIKV0w83q7bSDGtfl2yH+H+SR6uBwyRPDRz3/oVcn0ssLTlx7M82Lnt+Da0H9w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dhG6LPKlhjKHMSQ6y5r+Aic/6CcGFDFKz3EoqKafwkQlxCNK7CQ5Fxt3cwoA7lgFuISiRKQcSrywpeuVPh79LxWdv0WCU4dt+mddU2rfvk8k4mfsfvLKpwacVfUvE97mJuUvE3xCEqQo0DI/6AWriaNs3hHydrh0OmdQ8WckgKfGEQ+M51+tnjKoiZZ4o6NaDLLd84oR0mOAUWOTe+g3MWc0XAOGYyt+mMTz+xpcrkLbfeosKZCi8IZ/nTraIsl7/LZi5FkdNceEE4VdY/ADZz4wVhU4ufc8ILwpyuj245C1qannvDGS8IG1n4Ki9egheq9pq8yohX5o+wav9B02v+gtC04Se88YIwkR6ihSDn70K6YDaIYDat4PTRIwogSCjzy7SCySB4iJg0h6gRrEVomAVjwQRjZsHnYIK6WRDuz4F+s6AbTNBN+xDapuedxz22bZ9Uoyyz71gRWuyzzKius6vS4CsfifnAJyJqxH9lSUKbLgkPPNPmkSZX/DCB3gDL/mt1oBj/BAAAAABJRU5ErkJggg==\"","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"","// document.currentScript polyfill by Adam Miller\n\n// MIT license\n\n(function(document){\n var currentScript = \"currentScript\",\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n\n // If browser needs currentScript polyfill, add get currentScript() to the document object\n if (!(currentScript in document)) {\n Object.defineProperty(document, currentScript, {\n get: function(){\n\n // IE 6-10 supports script readyState\n // IE 10+ support stack trace\n try { throw new Error(); }\n catch (err) {\n\n // Find the second match for the \"at\" string to get file src url from stack.\n // Specifically works with the format of stack traces in IE.\n var i, res = ((/.*at [^\\(]*\\((.*):.+:.+\\)$/ig).exec(err.stack) || [false])[1];\n\n // For all scripts on the page, if src matches or if ready state is interactive, return the script tag\n for(i in scripts){\n if(scripts[i].src == res || scripts[i].readyState == \"interactive\"){\n return scripts[i];\n }\n }\n\n // If no match, return null\n return null;\n }\n }\n });\n }\n})(document);\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n require('current-script-polyfill')\n }\n\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"app-switcher\",attrs:{\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('span',{staticClass:\"app-mode\"},[_vm._v(\"Apps\")]),_c('i',{staticClass:\"fas fa-th\"})]),_c('template',{slot:\"body\"},_vm._l((_vm.appsList),function(app){return _c('a',{key:(\"app-\" + (app.id)),staticClass:\"dropdown-item\",attrs:{\"href\":app.url,\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(app.name))])])}),0)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./gw-app-switcher.vue?vue&type=template&id=1292016a&\"\nimport script from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"company-switcher\"},[_c('multiselect',{attrs:{\"disabled\":!_vm.shouldActivateSwitcher,\"allow-empty\":false,\"options\":_vm.companiesList,\"searchable\":false,\"show-labels\":false,\"value\":_vm.branchData,\"group-values\":\"branches\",\"group-label\":\"name\",\"label\":\"name\"},on:{\"select\":function (company) { return _vm.$emit('select', company); }}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-companies-switcher.vue?vue&type=template&id=467032be&\"\nimport script from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"notification-badge\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('toggle-notifications')}}},[(_vm.count)?_c('span',{staticClass:\"notification-bubble\"}):_vm._e(),_c('i',{staticClass:\"fas fa-bell\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-notifications.vue?vue&type=template&id=47d14338&scoped=true&\"\nimport script from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47d14338\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"user-bar\",attrs:{\"x\":_vm.userDropdownCoordenates.x,\"y\":_vm.userDropdownCoordenates.y,\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('div',{staticClass:\"user-name\"},[_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(\" \"+_vm._s(_vm.userData.lastname))])]),_vm._t(\"icon\",[_c('i',{staticClass:\"fas fa-chevron-down\"})]),_c('div',{staticClass:\"profile-image\"},[(_vm.userData.photo)?_c('img',{attrs:{\"src\":_vm.userData.photo.url}}):_c('img',{attrs:{\"src\":require(\"../assets/icons/avatar-icon.png\")}})])],2),_c('template',{slot:\"body\"},[(_vm.showOptions)?_c('span',{staticClass:\"dropdown-title\"},[_vm._v(\"My Profile\")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:\"dropdown-item\",attrs:{\"to\":{ name: option.route }}},[_c('span',[_vm._v(\" \"+_vm._s(option.label)+\" \")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:\"dropdown-item logout-button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v(\"Logout\")]),_c('i',{staticClass:\"fas fa-sign-out-alt\"})])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-user-options.vue?vue&type=template&id=e3fd80e4&\"\nimport script from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header app-header\",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:\"sidebar-toggle\",on:{\"click\":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{\"src\":\"/img/icons/hamburguer-menu.png\"}})]),_c('div',{staticClass:\"header-container\"},[_c('div',{staticClass:\"left-side-header d-flex h-100\"},[(!_vm.hideCompaniesSwitcher)?_vm._t(\"companies-switcher\",[_c('gw-companies-switcher',{attrs:{\"branch-data\":_vm.companyBranchData,\"company-data\":_vm.companyData,\"companies-list\":_vm.companiesList},on:{\"select\":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t(\"app-switcher\",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{\"apps-list\":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:\"right-side-header d-flex\"},[_c('gw-user-options',{attrs:{\"company-data\":_vm.companyData,\"domain\":_vm.domain,\"user-data\":_vm.userData,\"show-options\":_vm.showUserOptions,\"dropdown-mapper\":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{\"count\":_vm.notificationsCount},on:{\"toggle-notifications\":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-header.vue?vue&type=template&id=5963409e&scoped=true&\"\nimport script from \"./gw-header.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5963409e\",\n null\n \n)\n\nexport default component.exports","import GwAppSwitcher from \"./components/gw-app-switcher\";\nimport GwCompaniesSwitcher from \"./components/gw-companies-switcher\";\nimport GwNotifications from \"./components/gw-notifications\";\nimport GwUserOptions from \"./components/gw-user-options\";\nimport GwHeader from \"./components/gw-header\";\n\nexport {\n GwAppSwitcher,\n GwCompaniesSwitcher,\n GwNotifications,\n GwUserOptions\n}\n\nexport default GwHeader;\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/gw-header.umd.min.js b/dist/gw-header.umd.min.js index 97157c2..f3db76f 100644 --- a/dist/gw-header.umd.min.js +++ b/dist/gw-header.umd.min.js @@ -1,2 +1,2 @@ -(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["gw-header"]=e():t["gw-header"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"5dc2":function(t,e,n){},"672a":function(t,e,n){"use strict";var a=n("c245"),r=n.n(a);r.a},"6a8c":function(t,e,n){"use strict";var a=n("5dc2"),r=n.n(a);r.a},9268:function(t,e,n){"use strict";var a=n("d9e4"),r=n.n(a);r.a},af9d:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAC3npUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZddktsgDMffOUWPgCSExHGwgZneoMfvH0Kcze52Z/rx0IeYCWBZSEI/4SSh//g+wjdcVCSGpOa55BxxpZIKV0w83q7bSDGtfl2yH+H+SR6uBwyRPDRz3/oVcn0ssLTlx7M82Lnt+Da0H9wNyvTMmGw934aEb3La96HsdTW92c79k5fPmO9hv7tPhmQ0hT3hwF1IIvo8vQgikCIVY0ZPAsfo51wlLYl+nrtwTd8l75q9y12sWy7PqQgxX2E/52jLST/P3crQ24jo4fnpgcnl4kPuxmg+Rr/trqaMTOWwN3XfyppB8UAqZS3LaLbS7BhnK2iOLZ4g1kDzQDsDFWJke1CiRpUG9TWedCLExJ0NI/PJsmQuxoXPBSXNRoMNeFoQB6sT1ARivmKh5bcsfyc5PDeCJhOMEVZ8aOEz4Z+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Zz4wVhU4ufc8ILwpyuj245C1qannvDGS8IG1n4Ki9egheq9pq8yohX5o+wav9B02v+gtC04Se88YIwkR6ihSDn70K6YDaIYDat4PTRIwogSCjzy7SCySB4iJg0h6gRrEVomAVjwQRjZsHnYIK6WRDuz4F+s6AbTNBN+xDapuedxz22bZ9Uoyyz71gRWuyzzKius6vS4CsfifnAJyJqxH9lSUKbLgkPPNPmkSZX/DCB3gDL/mt1oBj/BAAAAABJRU5ErkJggg=="},b5e6:function(t,e,n){},c245:function(t,e,n){},d9e4:function(t,e,n){},dc6c:function(t,e,n){"use strict";var a=n("b5e6"),r=n.n(a);r.a},f01d:function(t,e,n){},f49c:function(t,e,n){"use strict";var a=n("f01d"),r=n.n(a);r.a},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(a){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(a.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fb15:function(t,e,n){"use strict";var a;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(a=window.document.currentScript)&&(a=a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=a[1]));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dropdown",{staticClass:"app-switcher",attrs:{"is-icon":!1}},[n("template",{slot:"btn"},[n("span",{staticClass:"app-mode"},[t._v("Apps")]),n("i",{staticClass:"fas fa-th"})]),n("template",{slot:"body"},t._l(t.appsList,(function(e){return n("a",{key:"app-"+e.id,staticClass:"dropdown-item",attrs:{href:e.url,target:"_blank"}},[n("span",[t._v(t._s(e.name))])])})),0)],2)},s=[],o={name:"GwAppSwitcher",props:{appsList:{type:Array,default(){return[]}}}},i=o;n("dc6c");function c(t,e,n,a,r,s,o,i){var c,p="function"===typeof t?t.options:t;if(e&&(p.render=e,p.staticRenderFns=n,p._compiled=!0),a&&(p.functional=!0),s&&(p._scopeId="data-v-"+s),o?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},p._ssrRegister=c):r&&(c=i?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(p.functional){p._injectStyles=c;var u=p.render;p.render=function(t,e){return c.call(e),u(t,e)}}else{var l=p.beforeCreate;p.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:p}}var p=c(i,r,s,!1,null,null,null),u=p.exports,l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"company-switcher"},[n("multiselect",{attrs:{disabled:!t.shouldActivateSwitcher,"allow-empty":!1,options:t.companiesList,searchable:!1,"show-labels":!1,value:t.branchData,"group-values":"branches","group-label":"name",label:"name"},on:{select:function(e){return t.$emit("select",e)}}})],1)},d=[],f={name:"GwCompaniesSwitcher",props:{companyData:{type:Object,required:!0},branchData:{type:Object,required:!0},companiesList:{type:Array,default(){return[]}}},computed:{shouldActivateSwitcher(){return this.companiesList.length>1||this.companyData.branches&&this.companyData.branches.length>1}}},m=f,h=(n("9268"),c(m,l,d,!1,null,null,null)),w=h.exports,g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"notification-badge",on:{click:function(e){return e.preventDefault(),t.$emit("toggle-notifications")}}},[t.count?n("span",{staticClass:"notification-bubble"}):t._e(),n("i",{staticClass:"fas fa-bell"})])},y=[],v={name:"GwNotifications",props:{count:{type:Number,required:!0}}},A=v,b=(n("f49c"),c(A,g,y,!1,null,"47d14338",null)),C=b.exports,S=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("dropdown",{staticClass:"user-bar",attrs:{x:t.userDropdownCoordenates.x,y:t.userDropdownCoordenates.y,"is-icon":!1}},[a("template",{slot:"btn"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"bold"},[t._v(t._s(t.userData.firstname))]),a("span",[t._v(" "+t._s(t.userData.lastname))])]),t._t("icon",[a("i",{staticClass:"fas fa-chevron-down"})]),a("div",{staticClass:"profile-image"},[t.userData.photo?a("img",{attrs:{src:t.userData.photo.url}}):a("img",{attrs:{src:n("af9d")}})])],2),a("template",{slot:"body"},[t.showOptions?a("span",{staticClass:"dropdown-title"},[t._v("My Profile")]):t._e(),t.showOptions?a("div",[t._l(t.userOptionsList,(function(e){return[!e.validateAcl||t.$can(e.name,"settingsmenu")?a("router-link",{key:e.route,staticClass:"dropdown-item",attrs:{to:{name:e.route}}},[a("span",[t._v(" "+t._s(e.label)+" ")])]):t._e()]}))],2):t._e(),a("a",{staticClass:"dropdown-item logout-button",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.logout()}}},[a("span",[t._v("Logout")]),a("i",{staticClass:"fas fa-sign-out-alt"})])])],2)},D=[],_={name:"GwUserOptions",props:{companyData:{type:Object,required:!0},showOptions:{type:Boolean,default:!0},userData:{type:Object,required:!0},dropdownMapper:{type:Object,default(){return{}}}},data(){return{userDropdownCoordenates:{x:-45,y:0},userDropdownOptions:[{name:"user-settings",label:"Users Settings",route:"settingsUsersProfile"},{label:"{company} Settings",route:"settingsCompaniesProfile",name:"companies-settings",validateAcl:!0},{label:"App Settings",route:"settingsAppsCustomFieldsList",name:"app-settings",validateAcl:!0},{label:"Companies Manager",route:"settingsManagerList",name:"companies-manager",validateAcl:!0}]}},computed:{userOptionsList(){return this.userDropdownOptions.map(t=>{const e=this.dropdownMapper[t.name]||t.label;return t.label=e.replace("{company}",this.companyData.name),t})}},created(){this.handleUserDropdownCoordenates()},methods:{handleUserDropdownCoordenates(){window.innerWidth<=768&&(this.userDropdownCoordenates.x=-145)},logout(){axios({method:"PUT",url:"/auth/logout"}).then(()=>{Cookies.remove("token",{path:"/",domain:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DOMAIN}),this.$store.dispatch("User/setToken",null),this.$store.dispatch("Application/resetGlobalData"),this.$router.push({name:"login"})})}}},O=_,x=(n("672a"),c(O,S,D,!1,null,null,null)),M=x.exports,j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header app-header",class:{"menu-pinned":"opened"==t.sidebarState}},[n("div",{staticClass:"sidebar-toggle",on:{click:function(e){return t.$emit("handle-sidebar")}}},[n("img",{attrs:{src:"/img/icons/hamburguer-menu.png"}})]),n("div",{staticClass:"header-container"},[n("div",{staticClass:"left-side-header d-flex h-100"},[t.hideCompaniesSwitcher?t._e():t._t("companies-switcher",[n("gw-companies-switcher",{attrs:{"branch-data":t.companyBranchData,"company-data":t.companyData,"companies-list":t.companiesList},on:{select:function(e){return t.$emit("selected-company",e)}}})]),t._t("app-switcher",[t.appsList.length>1?n("gw-app-switcher",{attrs:{"apps-list":t.appsList}}):t._e()])],2),n("div",{staticClass:"right-side-header d-flex"},[n("gw-user-options",{attrs:{"company-data":t.companyData,"user-data":t.userData,"show-options":t.showUserOptions,"dropdown-mapper":t.dropdownMapper}}),t.showNotifications?n("gw-notifications",{attrs:{count:t.notificationsCount},on:{"toggle-notifications":function(e){return t.$emit("toggle-notifications")}}}):t._e()],1)])])},L=[],E={name:"GwHeader",components:{GwAppSwitcher:u,GwCompaniesSwitcher:w,GwNotifications:C,GwUserOptions:M},props:{appsList:{type:Array,default(){return[]}},dropdownMapper:{type:Object,default(){return{}}},companyBranchData:{type:Object,required:!0},companyData:{type:Object,required:!0,validator(t){return t.name}},companiesList:{type:Array,default(){return[]}},notificationsCount:{type:Number,required:!0},showNotifications:{type:Boolean,default:!0},sidebarState:{type:String,default:"hover"},showUserOptions:{type:Boolean,default:!0},userData:{type:Object,required:!0},hideCompaniesSwitcher:{type:Boolean,default:!1}}},N=E,T=(n("6a8c"),c(N,j,L,!1,null,"01c6e844",null)),U=T.exports,B=U;n.d(e,"GwAppSwitcher",(function(){return u})),n.d(e,"GwCompaniesSwitcher",(function(){return w})),n.d(e,"GwNotifications",(function(){return C})),n.d(e,"GwUserOptions",(function(){return M}));e["default"]=B}})})); +(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["gw-header"]=e():t["gw-header"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(a){if(e[a])return e[a].exports;var r=e[a]={i:a,l:!1,exports:{}};return t[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,a){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(a,r,function(e){return t[e]}.bind(null,r));return a},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"672a":function(t,e,n){"use strict";var a=n("c245"),r=n.n(a);r.a},9268:function(t,e,n){"use strict";var a=n("d9e4"),r=n.n(a);r.a},"9e9b":function(t,e,n){"use strict";var a=n("ab4b"),r=n.n(a);r.a},ab4b:function(t,e,n){},af9d:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAC3npUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZddktsgDMffOUWPgCSExHGwgZneoMfvH0Kcze52Z/rx0IeYCWBZSEI/4SSh//g+wjdcVCSGpOa55BxxpZIKV0w83q7bSDGtfl2yH+H+SR6uBwyRPDRz3/oVcn0ssLTlx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diheEdR/8MJ1MQYdhG6LPKlhjKHMSQ6y5r+Aic/6CcGFDFKz3EoqKafwkQlxCNK7CQ5Fxt3cwoA7lgFuISiRKQcSrywpeuVPh79LxWdv0WCU4dt+mddU2rfvk8k4mfsfvLKpwacVfUvE97mJuUvE3xCEqQo0DI/6AWriaNs3hHydrh0OmdQ8WckgKfGEQ+M51+tnjKoiZZ4o6NaDLLd84oR0mOAUWOTe+g3MWc0XAOGYyt+mMTz+xpcrkLbfeosKZCi8IZ/nTraIsl7/LZi5FkdNceEE4VdY/ADZz4wVhU4ufc8ILwpyuj245C1qannvDGS8IG1n4Ki9egheq9pq8yohX5o+wav9B02v+gtC04Se88YIwkR6ihSDn70K6YDaIYDat4PTRIwogSCjzy7SCySB4iJg0h6gRrEVomAVjwQRjZsHnYIK6WRDuz4F+s6AbTNBN+xDapuedxz22bZ9Uoyyz71gRWuyzzKius6vS4CsfifnAJyJqxH9lSUKbLgkPPNPmkSZX/DCB3gDL/mt1oBj/BAAAAABJRU5ErkJggg=="},b5e6:function(t,e,n){},c245:function(t,e,n){},d9e4:function(t,e,n){},dc6c:function(t,e,n){"use strict";var a=n("b5e6"),r=n.n(a);r.a},f01d:function(t,e,n){},f49c:function(t,e,n){"use strict";var a=n("f01d"),r=n.n(a);r.a},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(a){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(a.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fb15:function(t,e,n){"use strict";var a;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(a=window.document.currentScript)&&(a=a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=a[1]));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("dropdown",{staticClass:"app-switcher",attrs:{"is-icon":!1}},[n("template",{slot:"btn"},[n("span",{staticClass:"app-mode"},[t._v("Apps")]),n("i",{staticClass:"fas fa-th"})]),n("template",{slot:"body"},t._l(t.appsList,(function(e){return n("a",{key:"app-"+e.id,staticClass:"dropdown-item",attrs:{href:e.url,target:"_blank"}},[n("span",[t._v(t._s(e.name))])])})),0)],2)},o=[],s={name:"GwAppSwitcher",props:{appsList:{type:Array,default(){return[]}}}},i=s;n("dc6c");function c(t,e,n,a,r,o,s,i){var c,p="function"===typeof t?t.options:t;if(e&&(p.render=e,p.staticRenderFns=n,p._compiled=!0),a&&(p.functional=!0),o&&(p._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},p._ssrRegister=c):r&&(c=i?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(p.functional){p._injectStyles=c;var u=p.render;p.render=function(t,e){return c.call(e),u(t,e)}}else{var l=p.beforeCreate;p.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:p}}var p=c(i,r,o,!1,null,null,null),u=p.exports,l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"company-switcher"},[n("multiselect",{attrs:{disabled:!t.shouldActivateSwitcher,"allow-empty":!1,options:t.companiesList,searchable:!1,"show-labels":!1,value:t.branchData,"group-values":"branches","group-label":"name",label:"name"},on:{select:function(e){return t.$emit("select",e)}}})],1)},d=[],f={name:"GwCompaniesSwitcher",props:{companyData:{type:Object,required:!0},branchData:{type:Object,required:!0},companiesList:{type:Array,default(){return[]}}},computed:{shouldActivateSwitcher(){return this.companiesList.length>1||this.companyData.branches&&this.companyData.branches.length>1}}},m=f,h=(n("9268"),c(m,l,d,!1,null,null,null)),w=h.exports,g=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"notification-badge",on:{click:function(e){return e.preventDefault(),t.$emit("toggle-notifications")}}},[t.count?n("span",{staticClass:"notification-bubble"}):t._e(),n("i",{staticClass:"fas fa-bell"})])},y=[],v={name:"GwNotifications",props:{count:{type:Number,required:!0}}},b=v,A=(n("f49c"),c(b,g,y,!1,null,"47d14338",null)),C=A.exports,S=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("dropdown",{staticClass:"user-bar",attrs:{x:t.userDropdownCoordenates.x,y:t.userDropdownCoordenates.y,"is-icon":!1}},[a("template",{slot:"btn"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"bold"},[t._v(t._s(t.userData.firstname))]),a("span",[t._v(" "+t._s(t.userData.lastname))])]),t._t("icon",[a("i",{staticClass:"fas fa-chevron-down"})]),a("div",{staticClass:"profile-image"},[t.userData.photo?a("img",{attrs:{src:t.userData.photo.url}}):a("img",{attrs:{src:n("af9d")}})])],2),a("template",{slot:"body"},[t.showOptions?a("span",{staticClass:"dropdown-title"},[t._v("My Profile")]):t._e(),t.showOptions?a("div",[t._l(t.userOptionsList,(function(e){return[!e.validateAcl||t.$can(e.name,"settingsmenu")?a("router-link",{key:e.route,staticClass:"dropdown-item",attrs:{to:{name:e.route}}},[a("span",[t._v(" "+t._s(e.label)+" ")])]):t._e()]}))],2):t._e(),a("a",{staticClass:"dropdown-item logout-button",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.logout()}}},[a("span",[t._v("Logout")]),a("i",{staticClass:"fas fa-sign-out-alt"})])])],2)},D=[],_={name:"GwUserOptions",props:{companyData:{type:Object,required:!0},domain:{type:String,required:!0},showOptions:{type:Boolean,default:!0},userData:{type:Object,required:!0},dropdownMapper:{type:Object,default(){return{}}}},data(){return{userDropdownCoordenates:{x:-45,y:0},userDropdownOptions:[{name:"user-settings",label:"Users Settings",route:"settingsUsersProfile"},{label:"{company} Settings",route:"settingsCompaniesProfile",name:"companies-settings",validateAcl:!0},{label:"App Settings",route:"settingsAppsCustomFieldsList",name:"app-settings",validateAcl:!0},{label:"Companies Manager",route:"settingsManagerList",name:"companies-manager",validateAcl:!0}]}},computed:{userOptionsList(){return this.userDropdownOptions.map(t=>{const e=this.dropdownMapper[t.name]||t.label;return t.label=e.replace("{company}",this.companyData.name),t})}},created(){this.handleUserDropdownCoordenates()},methods:{handleUserDropdownCoordenates(){window.innerWidth<=768&&(this.userDropdownCoordenates.x=-145)},logout(){axios({method:"PUT",url:"/auth/logout"}).then(()=>{Cookies.remove("token",{path:"/",domain:this.domain}),this.$store.dispatch("User/setToken",null),this.$store.dispatch("Application/resetGlobalData"),this.$router.push({name:"login"})})}}},O=_,x=(n("672a"),c(O,S,D,!1,null,null,null)),M=x.exports,j=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header app-header",class:{"menu-pinned":"opened"==t.sidebarState}},[n("div",{staticClass:"sidebar-toggle",on:{click:function(e){return t.$emit("handle-sidebar")}}},[n("img",{attrs:{src:"/img/icons/hamburguer-menu.png"}})]),n("div",{staticClass:"header-container"},[n("div",{staticClass:"left-side-header d-flex h-100"},[t.hideCompaniesSwitcher?t._e():t._t("companies-switcher",[n("gw-companies-switcher",{attrs:{"branch-data":t.companyBranchData,"company-data":t.companyData,"companies-list":t.companiesList},on:{select:function(e){return t.$emit("selected-company",e)}}})]),t._t("app-switcher",[t.appsList.length>1?n("gw-app-switcher",{attrs:{"apps-list":t.appsList}}):t._e()])],2),n("div",{staticClass:"right-side-header d-flex"},[n("gw-user-options",{attrs:{"company-data":t.companyData,domain:t.domain,"user-data":t.userData,"show-options":t.showUserOptions,"dropdown-mapper":t.dropdownMapper}}),t.showNotifications?n("gw-notifications",{attrs:{count:t.notificationsCount},on:{"toggle-notifications":function(e){return t.$emit("toggle-notifications")}}}):t._e()],1)])])},L=[],E={name:"GwHeader",components:{GwAppSwitcher:u,GwCompaniesSwitcher:w,GwNotifications:C,GwUserOptions:M},props:{appsList:{type:Array,default(){return[]}},dropdownMapper:{type:Object,default(){return{}}},companyBranchData:{type:Object,required:!0},companyData:{type:Object,required:!0,validator(t){return t.name}},companiesList:{type:Array,default(){return[]}},domain:{type:String,default:Object({NODE_ENV:"production",BASE_URL:"/"}).VUE_APP_DOMAIN||""},notificationsCount:{type:Number,required:!0},showNotifications:{type:Boolean,default:!0},sidebarState:{type:String,default:"hover"},showUserOptions:{type:Boolean,default:!0},userData:{type:Object,required:!0},hideCompaniesSwitcher:{type:Boolean,default:!1}}},N=E,T=(n("9e9b"),c(N,j,L,!1,null,"5963409e",null)),U=T.exports,B=U;n.d(e,"GwAppSwitcher",(function(){return u})),n.d(e,"GwCompaniesSwitcher",(function(){return w})),n.d(e,"GwNotifications",(function(){return C})),n.d(e,"GwUserOptions",(function(){return M}));e["default"]=B}})})); //# sourceMappingURL=gw-header.umd.min.js.map \ No newline at end of file diff --git a/dist/gw-header.umd.min.js.map b/dist/gw-header.umd.min.js.map index 969d1ef..9611569 100644 --- a/dist/gw-header.umd.min.js.map +++ b/dist/gw-header.umd.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://gw-header/webpack/universalModuleDefinition","webpack://gw-header/webpack/bootstrap","webpack://gw-header/./src/components/gw-user-options.vue?c9b6","webpack://gw-header/./src/components/gw-header.vue?17d6","webpack://gw-header/./src/components/gw-companies-switcher.vue?d312","webpack://gw-header/./src/assets/icons/avatar-icon.png","webpack://gw-header/./src/components/gw-app-switcher.vue?c3c7","webpack://gw-header/./src/components/gw-notifications.vue?a0c5","webpack://gw-header/./node_modules/current-script-polyfill/currentScript.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://gw-header/./src/components/gw-app-switcher.vue?bd0b","webpack://gw-header/src/components/gw-app-switcher.vue","webpack://gw-header/./src/components/gw-app-switcher.vue?ed5c","webpack://gw-header/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://gw-header/./src/components/gw-app-switcher.vue?3cdf","webpack://gw-header/./src/components/gw-companies-switcher.vue?f76d","webpack://gw-header/src/components/gw-companies-switcher.vue","webpack://gw-header/./src/components/gw-companies-switcher.vue?333e","webpack://gw-header/./src/components/gw-companies-switcher.vue?ce7b","webpack://gw-header/./src/components/gw-notifications.vue?f732","webpack://gw-header/src/components/gw-notifications.vue","webpack://gw-header/./src/components/gw-notifications.vue?3f15","webpack://gw-header/./src/components/gw-notifications.vue?54d6","webpack://gw-header/./src/components/gw-user-options.vue?1821","webpack://gw-header/src/components/gw-user-options.vue","webpack://gw-header/./src/components/gw-user-options.vue?a04e","webpack://gw-header/./src/components/gw-user-options.vue?9a44","webpack://gw-header/./src/components/gw-header.vue?ad80","webpack://gw-header/src/components/gw-header.vue","webpack://gw-header/./src/components/gw-header.vue?d4fe","webpack://gw-header/./src/components/gw-header.vue?28f6","webpack://gw-header/./src/index.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","document","currentScript","scripts","getElementsByTagName","Error","err","res","exec","stack","src","readyState","window","match","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","_l","app","url","_s","staticRenderFns","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","component","shouldActivateSwitcher","companiesList","branchData","on","company","$emit","$event","preventDefault","_e","userDropdownCoordenates","x","y","userData","firstname","lastname","_t","photo","option","validateAcl","$can","route","label","logout","class","sidebarState","hideCompaniesSwitcher","companyBranchData","companyData","appsList","length","showUserOptions","dropdownMapper","notificationsCount","GwHeader"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA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CACM,KAAN,MACM,UACE,MAAR,KAGI,eAAJ,CACM,KAAN,OACM,UACE,MAAR,KAGI,kBAAJ,CACM,KAAN,OACM,UAAN,GAEI,YAAJ,CACM,KAAN,OACM,UAAN,EACM,UAAN,GACQ,OAAR,SAGI,cAAJ,CACM,KAAN,MACM,UACE,MAAR,KAGI,mBAAJ,CACM,KAAN,OACM,UAAN,GAEI,kBAAJ,CACM,KAAN,QACM,SAAN,GAEI,aAAJ,CACM,KAAN,OACM,QAAN,SAEI,gBAAJ,CACM,KAAN,QACM,SAAN,GAEI,SAAJ,CACM,KAAN,OACM,UAAN,GAEI,sBAAJ,CACM,KAAN,QACM,SAAN,KC5GmV,ICQ/U,G,UAAY,EACd,EACA,EACA,GACA,EACA,KACA,WACA,OAIa,I,QCNAyB,ICbf,gMAEe","file":"gw-header.umd.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"gw-header\"] = factory();\n\telse\n\t\troot[\"gw-header\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAC3npUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZddktsgDMffOUWPgCSExHGwgZneoMfvH0Kcze52Z/rx0IeYCWBZSEI/4SSh//g+wjdcVCSGpOa55BxxpZIKV0w83q7bSDGtfl2yH+H+SR6uBwyRPDRz3/oVcn0ssLTlx7M82Lnt+Da0H9wNyvTMmGw934aEb3La96HsdTW92c79k5fPmO9hv7tPhmQ0hT3hwF1IIvo8vQgikCIVY0ZPAsfo51wlLYl+nrtwTd8l75q9y12sWy7PqQgxX2E/52jLST/P3crQ24jo4fnpgcnl4kPuxmg+Rr/trqaMTOWwN3XfyppB8UAqZS3LaLbS7BhnK2iOLZ4g1kDzQDsDFWJke1CiRpUG9TWedCLExJ0NI/PJsmQuxoXPBSXNRoMNeFoQB6sT1ARivmKh5bcsfyc5PDeCJhOMEVZ8aOEz4Z+0y9AYs3SJol+5Qlw8axphTHKzhxaA0Ng51ZXf1cKbuolvwAoI6kqzY4M1HjcTh9KjtmRxFuhpTCHejgZZ2waQIvhWBEMCAjGjmClTNGYjQh4dfCoiZ0l8gACpcqMwwEYkA47z9I01RkuXlW9ivFoAQnFQDGhwgAArJUX9W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9Uoyyz71gRWuyzzKius6vS4CsfifnAJyJqxH9lSUKbLgkPPNPmkSZX/DCB3gDL/mt1oBj/BAAAAABJRU5ErkJggg==\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"","// document.currentScript polyfill by Adam Miller\n\n// MIT license\n\n(function(document){\n var currentScript = \"currentScript\",\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n\n // If browser needs currentScript polyfill, add get currentScript() to the document object\n if (!(currentScript in document)) {\n Object.defineProperty(document, currentScript, {\n get: function(){\n\n // IE 6-10 supports script readyState\n // IE 10+ support stack trace\n try { throw new Error(); }\n catch (err) {\n\n // Find the second match for the \"at\" string to get file src url from stack.\n // Specifically works with the format of stack traces in IE.\n var i, res = ((/.*at [^\\(]*\\((.*):.+:.+\\)$/ig).exec(err.stack) || [false])[1];\n\n // For all scripts on the page, if src matches or if ready state is interactive, return the script tag\n for(i in scripts){\n if(scripts[i].src == res || scripts[i].readyState == \"interactive\"){\n return scripts[i];\n }\n }\n\n // If no match, return null\n return null;\n }\n }\n });\n }\n})(document);\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n require('current-script-polyfill')\n }\n\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"app-switcher\",attrs:{\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('span',{staticClass:\"app-mode\"},[_vm._v(\"Apps\")]),_c('i',{staticClass:\"fas fa-th\"})]),_c('template',{slot:\"body\"},_vm._l((_vm.appsList),function(app){return _c('a',{key:(\"app-\" + (app.id)),staticClass:\"dropdown-item\",attrs:{\"href\":app.url,\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(app.name))])])}),0)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./gw-app-switcher.vue?vue&type=template&id=1292016a&\"\nimport script from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"company-switcher\"},[_c('multiselect',{attrs:{\"disabled\":!_vm.shouldActivateSwitcher,\"allow-empty\":false,\"options\":_vm.companiesList,\"searchable\":false,\"show-labels\":false,\"value\":_vm.branchData,\"group-values\":\"branches\",\"group-label\":\"name\",\"label\":\"name\"},on:{\"select\":function (company) { return _vm.$emit('select', company); }}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-companies-switcher.vue?vue&type=template&id=467032be&\"\nimport script from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"notification-badge\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('toggle-notifications')}}},[(_vm.count)?_c('span',{staticClass:\"notification-bubble\"}):_vm._e(),_c('i',{staticClass:\"fas fa-bell\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-notifications.vue?vue&type=template&id=47d14338&scoped=true&\"\nimport script from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47d14338\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"user-bar\",attrs:{\"x\":_vm.userDropdownCoordenates.x,\"y\":_vm.userDropdownCoordenates.y,\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('div',{staticClass:\"user-name\"},[_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(\" \"+_vm._s(_vm.userData.lastname))])]),_vm._t(\"icon\",[_c('i',{staticClass:\"fas fa-chevron-down\"})]),_c('div',{staticClass:\"profile-image\"},[(_vm.userData.photo)?_c('img',{attrs:{\"src\":_vm.userData.photo.url}}):_c('img',{attrs:{\"src\":require(\"../assets/icons/avatar-icon.png\")}})])],2),_c('template',{slot:\"body\"},[(_vm.showOptions)?_c('span',{staticClass:\"dropdown-title\"},[_vm._v(\"My Profile\")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:\"dropdown-item\",attrs:{\"to\":{ name: option.route }}},[_c('span',[_vm._v(\" \"+_vm._s(option.label)+\" \")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:\"dropdown-item logout-button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v(\"Logout\")]),_c('i',{staticClass:\"fas fa-sign-out-alt\"})])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-user-options.vue?vue&type=template&id=46b2671d&\"\nimport script from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header app-header\",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:\"sidebar-toggle\",on:{\"click\":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{\"src\":\"/img/icons/hamburguer-menu.png\"}})]),_c('div',{staticClass:\"header-container\"},[_c('div',{staticClass:\"left-side-header d-flex h-100\"},[(!_vm.hideCompaniesSwitcher)?_vm._t(\"companies-switcher\",[_c('gw-companies-switcher',{attrs:{\"branch-data\":_vm.companyBranchData,\"company-data\":_vm.companyData,\"companies-list\":_vm.companiesList},on:{\"select\":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t(\"app-switcher\",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{\"apps-list\":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:\"right-side-header d-flex\"},[_c('gw-user-options',{attrs:{\"company-data\":_vm.companyData,\"user-data\":_vm.userData,\"show-options\":_vm.showUserOptions,\"dropdown-mapper\":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{\"count\":_vm.notificationsCount},on:{\"toggle-notifications\":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-header.vue?vue&type=template&id=01c6e844&scoped=true&\"\nimport script from \"./gw-header.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-header.vue?vue&type=style&index=0&id=01c6e844&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01c6e844\",\n null\n \n)\n\nexport default component.exports","import GwAppSwitcher from \"./components/gw-app-switcher\";\nimport GwCompaniesSwitcher from \"./components/gw-companies-switcher\";\nimport GwNotifications from \"./components/gw-notifications\";\nimport GwUserOptions from \"./components/gw-user-options\";\nimport GwHeader from \"./components/gw-header\";\n\nexport {\n GwAppSwitcher,\n GwCompaniesSwitcher,\n GwNotifications,\n GwUserOptions\n}\n\nexport default GwHeader;\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://gw-header/webpack/universalModuleDefinition","webpack://gw-header/webpack/bootstrap","webpack://gw-header/./src/components/gw-user-options.vue?c9b6","webpack://gw-header/./src/components/gw-companies-switcher.vue?d312","webpack://gw-header/./src/components/gw-header.vue?47c8","webpack://gw-header/./src/assets/icons/avatar-icon.png","webpack://gw-header/./src/components/gw-app-switcher.vue?c3c7","webpack://gw-header/./src/components/gw-notifications.vue?a0c5","webpack://gw-header/./node_modules/current-script-polyfill/currentScript.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://gw-header/./src/components/gw-app-switcher.vue?bd0b","webpack://gw-header/src/components/gw-app-switcher.vue","webpack://gw-header/./src/components/gw-app-switcher.vue?ed5c","webpack://gw-header/./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack://gw-header/./src/components/gw-app-switcher.vue?3cdf","webpack://gw-header/./src/components/gw-companies-switcher.vue?f76d","webpack://gw-header/src/components/gw-companies-switcher.vue","webpack://gw-header/./src/components/gw-companies-switcher.vue?333e","webpack://gw-header/./src/components/gw-companies-switcher.vue?ce7b","webpack://gw-header/./src/components/gw-notifications.vue?f732","webpack://gw-header/src/components/gw-notifications.vue","webpack://gw-header/./src/components/gw-notifications.vue?3f15","webpack://gw-header/./src/components/gw-notifications.vue?54d6","webpack://gw-header/./src/components/gw-user-options.vue?f806","webpack://gw-header/src/components/gw-user-options.vue","webpack://gw-header/./src/components/gw-user-options.vue?a04e","webpack://gw-header/./src/components/gw-user-options.vue?9a44","webpack://gw-header/./src/components/gw-header.vue?74c3","webpack://gw-header/src/components/gw-header.vue","webpack://gw-header/./src/components/gw-header.vue?d4fe","webpack://gw-header/./src/components/gw-header.vue?28f6","webpack://gw-header/./src/index.js","webpack://gw-header/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"names":["root","factory","exports","module","define","amd","self","this","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","document","currentScript","scripts","getElementsByTagName","Error","err","res","exec","stack","src","readyState","window","match","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","_l","app","url","_s","staticRenderFns","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","component","shouldActivateSwitcher","companiesList","branchData","on","company","$emit","$event","preventDefault","_e","userDropdownCoordenates","x","y","userData","firstname","lastname","_t","photo","option","validateAcl","$can","route","label","logout","class","sidebarState","hideCompaniesSwitcher","companyBranchData","companyData","appsList","length","domain","showUserOptions","dropdownMapper","notificationsCount","GwHeader"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,kBAAZC,QACdA,QAAQ,aAAeD,IAEvBD,EAAK,aAAeC,KARtB,CASoB,qBAATK,KAAuBA,KAAOC,MAAO,WAChD,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUR,QAGnC,IAAIC,EAASK,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHV,QAAS,IAUV,OANAW,EAAQH,GAAUI,KAAKX,EAA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AN,SAEI,gBAAJ,CACM,KAAN,QACM,SAAN,GAEI,SAAJ,CACM,KAAN,OACM,UAAN,GAEI,sBAAJ,CACM,KAAN,QACM,SAAN,KCjHmV,ICQ/U,G,UAAY,EACd,EACA,EACA,GACA,EACA,KACA,WACA,OAIa,I,QCNA0B,ICbf,gMAEe","file":"gw-header.umd.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"gw-header\"] = factory();\n\telse\n\t\troot[\"gw-header\"] = factory();\n})((typeof self !== 'undefined' ? self : this), function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"fb15\");\n","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAQAAAD9CzEMAAAC3npUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZddktsgDMffOUWPgCSExHGwgZneoMfvH0Kcze52Z/rx0IeYCWBZSEI/4SSh//g+wjdcVCSGpOa55BxxpZIKV0w83q7bSDGtfl2yH+H+SR6uBwyRPDRz3/oVcn0ssLTlx7M82Lnt+Da0H9wNyvTMmGw934aEb3La96HsdTW92c79k5fPmO9hv7tPhmQ0hT3hwF1IIvo8vQgikCIVY0ZPAsfo51wlLYl+nrtwTd8l75q9y12sWy7PqQgxX2E/52jLST/P3crQ24jo4fnpgcnl4kPuxmg+Rr/trqaMTOWwN3XfyppB8UAqZS3LaLbS7BhnK2iOLZ4g1kDzQDsDFWJke1CiRpUG9TWedCLExJ0NI/PJsmQuxoXPBSXNRoMNeFoQB6sT1ARivmKh5bcsfyc5PDeCJhOMEVZ8aOEz4Z+0y9AYs3SJol+5Qlw8axphTHKzhxaA0Ng51ZXf1cKbuolvwAoI6kqzY4M1HjcTh9KjtmRxFuhpTCHejgZZ2waQIvhWBEMCAjGjmClTNGYjQh4dfCoiZ0l8gACpcqMwwEYkA47z9I01RkuXlW9ivFoAQnFQDGhwgAArJUX9WHLUUFXRFFQ1q6lr0Zolp6w5Z8vzHVVNLJlaNjO3YtXFk6tnN3cvXgsXwStMSy4WipdSaoXTCtMVqys0aj34kCMdeuTDDj/KUU+Uz5lOPfNpp5/lrI2bNBz/lpuF5q202qmjlHrq2nO37r30OlBrQ0YaOvKw4aOMelHbVJ+p0TtyX1OjTW0SS0vPHtQgNruboPk60ckMxDgRiNskgILmySw6pcST3GQWC+NQKIMa6YTTaBIDwdSJddDF7kHuS25B029x41+RCxPdvyAXJrpN7iO3T6i1ur5RZAGap3DmNMrAiw0K3St7nd9JfzyGvzXwMvQy9DL0MvQy9DL0MvT/GBr48YC/muEnkuSQ4bCBMzYAAAACYktHRAD/h4/MvwAAAAlwSFlzAAAFEwAABRMBWjvKTwAAAAd0SU1FB+MGDRM2Gzw3q0EAAAIMSURBVFjDrZg9SyNBGICfmCwGk/gJhwfHdhcucFpqK6J/wE5UbAT/gH9CrLUTBLW1sBWx0ebqiF/BIgiKhYTLFYH17rWS+5qdfXdmZsvNPs/Mu/PO+25AN8qscMQ9gnDPESuUCTiWeEL+uZ5YCgMvsfsf/P3apeQv2EvFC8KeL37diheEdR/8MJ1MQYdhG6LPKlhjKHMSQ6y5r+Aic/6CcGFDFKz3EoqKafwkQlxCNK7CQ5Fxt3cwoA7lgFuISiRKQcSrywpeuVPh79LxWdv0WCU4dt+mddU2rfvk8k4mfsfvLKpwacVfUvE97mJuUvE3xCEqQo0DI/6AWriaNs3hHydrh0OmdQ8WckgKfGEQ+M51+tnjKoiZZ4o6NaDLLd84oR0mOAUWOTe+g3MWc0XAOGYyt+mMTz+xpcrkLbfeosKZCi8IZ/nTraIsl7/LZi5FkdNceEE4VdY/ADZz4wVhU4ufc8ILwpyuj245C1qannvDGS8IG1n4Ki9egheq9pq8yohX5o+wav9B02v+gtC04Se88YIwkR6ihSDn70K6YDaIYDat4PTRIwogSCjzy7SCySB4iJg0h6gRrEVomAVjwQRjZsHnYIK6WRDuz4F+s6AbTNBN+xDapuedxz22bZ9Uoyyz71gRWuyzzKius6vS4CsfifnAJyJqxH9lSUKbLgkPPNPmkSZX/DCB3gDL/mt1oBj/BAAAAABJRU5ErkJggg==\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"","// document.currentScript polyfill by Adam Miller\n\n// MIT license\n\n(function(document){\n var currentScript = \"currentScript\",\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n\n // If browser needs currentScript polyfill, add get currentScript() to the document object\n if (!(currentScript in document)) {\n Object.defineProperty(document, currentScript, {\n get: function(){\n\n // IE 6-10 supports script readyState\n // IE 10+ support stack trace\n try { throw new Error(); }\n catch (err) {\n\n // Find the second match for the \"at\" string to get file src url from stack.\n // Specifically works with the format of stack traces in IE.\n var i, res = ((/.*at [^\\(]*\\((.*):.+:.+\\)$/ig).exec(err.stack) || [false])[1];\n\n // For all scripts on the page, if src matches or if ready state is interactive, return the script tag\n for(i in scripts){\n if(scripts[i].src == res || scripts[i].readyState == \"interactive\"){\n return scripts[i];\n }\n }\n\n // If no match, return null\n return null;\n }\n }\n });\n }\n})(document);\n","// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n require('current-script-polyfill')\n }\n\n var i\n if ((i = window.document.currentScript) && (i = i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/))) {\n __webpack_public_path__ = i[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"app-switcher\",attrs:{\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('span',{staticClass:\"app-mode\"},[_vm._v(\"Apps\")]),_c('i',{staticClass:\"fas fa-th\"})]),_c('template',{slot:\"body\"},_vm._l((_vm.appsList),function(app){return _c('a',{key:(\"app-\" + (app.id)),staticClass:\"dropdown-item\",attrs:{\"href\":app.url,\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(app.name))])])}),0)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-app-switcher.vue?vue&type=script&lang=js&\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent (\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier, /* server only */\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./gw-app-switcher.vue?vue&type=template&id=1292016a&\"\nimport script from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-app-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-app-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"company-switcher\"},[_c('multiselect',{attrs:{\"disabled\":!_vm.shouldActivateSwitcher,\"allow-empty\":false,\"options\":_vm.companiesList,\"searchable\":false,\"show-labels\":false,\"value\":_vm.branchData,\"group-values\":\"branches\",\"group-label\":\"name\",\"label\":\"name\"},on:{\"select\":function (company) { return _vm.$emit('select', company); }}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-companies-switcher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-companies-switcher.vue?vue&type=template&id=467032be&\"\nimport script from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-companies-switcher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-companies-switcher.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"notification-badge\",on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('toggle-notifications')}}},[(_vm.count)?_c('span',{staticClass:\"notification-bubble\"}):_vm._e(),_c('i',{staticClass:\"fas fa-bell\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-notifications.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-notifications.vue?vue&type=template&id=47d14338&scoped=true&\"\nimport script from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-notifications.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-notifications.vue?vue&type=style&index=0&id=47d14338&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47d14338\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dropdown',{staticClass:\"user-bar\",attrs:{\"x\":_vm.userDropdownCoordenates.x,\"y\":_vm.userDropdownCoordenates.y,\"is-icon\":false}},[_c('template',{slot:\"btn\"},[_c('div',{staticClass:\"user-name\"},[_c('span',{staticClass:\"bold\"},[_vm._v(_vm._s(_vm.userData.firstname))]),_c('span',[_vm._v(\" \"+_vm._s(_vm.userData.lastname))])]),_vm._t(\"icon\",[_c('i',{staticClass:\"fas fa-chevron-down\"})]),_c('div',{staticClass:\"profile-image\"},[(_vm.userData.photo)?_c('img',{attrs:{\"src\":_vm.userData.photo.url}}):_c('img',{attrs:{\"src\":require(\"../assets/icons/avatar-icon.png\")}})])],2),_c('template',{slot:\"body\"},[(_vm.showOptions)?_c('span',{staticClass:\"dropdown-title\"},[_vm._v(\"My Profile\")]):_vm._e(),(_vm.showOptions)?_c('div',[_vm._l((_vm.userOptionsList),function(option){return [(!option.validateAcl || _vm.$can(option.name, 'settingsmenu'))?_c('router-link',{key:option.route,staticClass:\"dropdown-item\",attrs:{\"to\":{ name: option.route }}},[_c('span',[_vm._v(\" \"+_vm._s(option.label)+\" \")])]):_vm._e()]})],2):_vm._e(),_c('a',{staticClass:\"dropdown-item logout-button\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.logout()}}},[_c('span',[_vm._v(\"Logout\")]),_c('i',{staticClass:\"fas fa-sign-out-alt\"})])])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-user-options.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-user-options.vue?vue&type=template&id=e3fd80e4&\"\nimport script from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-user-options.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-user-options.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"header app-header\",class:{ 'menu-pinned': _vm.sidebarState == 'opened' }},[_c('div',{staticClass:\"sidebar-toggle\",on:{\"click\":function($event){return _vm.$emit('handle-sidebar')}}},[_c('img',{attrs:{\"src\":\"/img/icons/hamburguer-menu.png\"}})]),_c('div',{staticClass:\"header-container\"},[_c('div',{staticClass:\"left-side-header d-flex h-100\"},[(!_vm.hideCompaniesSwitcher)?_vm._t(\"companies-switcher\",[_c('gw-companies-switcher',{attrs:{\"branch-data\":_vm.companyBranchData,\"company-data\":_vm.companyData,\"companies-list\":_vm.companiesList},on:{\"select\":function (company) { return _vm.$emit('selected-company', company); }}})]):_vm._e(),_vm._t(\"app-switcher\",[(_vm.appsList.length > 1)?_c('gw-app-switcher',{attrs:{\"apps-list\":_vm.appsList}}):_vm._e()])],2),_c('div',{staticClass:\"right-side-header d-flex\"},[_c('gw-user-options',{attrs:{\"company-data\":_vm.companyData,\"domain\":_vm.domain,\"user-data\":_vm.userData,\"show-options\":_vm.showUserOptions,\"dropdown-mapper\":_vm.dropdownMapper}}),(_vm.showNotifications)?_c('gw-notifications',{attrs:{\"count\":_vm.notificationsCount},on:{\"toggle-notifications\":function($event){return _vm.$emit('toggle-notifications')}}}):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./gw-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./gw-header.vue?vue&type=template&id=5963409e&scoped=true&\"\nimport script from \"./gw-header.vue?vue&type=script&lang=js&\"\nexport * from \"./gw-header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./gw-header.vue?vue&type=style&index=0&id=5963409e&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5963409e\",\n null\n \n)\n\nexport default component.exports","import GwAppSwitcher from \"./components/gw-app-switcher\";\nimport GwCompaniesSwitcher from \"./components/gw-companies-switcher\";\nimport GwNotifications from \"./components/gw-notifications\";\nimport GwUserOptions from \"./components/gw-user-options\";\nimport GwHeader from \"./components/gw-header\";\n\nexport {\n GwAppSwitcher,\n GwCompaniesSwitcher,\n GwNotifications,\n GwUserOptions\n}\n\nexport default GwHeader;\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"sourceRoot":""} \ No newline at end of file diff --git a/src/components/gw-header.vue b/src/components/gw-header.vue index 0db3838..672cc33 100644 --- a/src/components/gw-header.vue +++ b/src/components/gw-header.vue @@ -26,6 +26,7 @@
{ - Cookies.remove("token", { path: "/", domain: process.env.VUE_APP_DOMAIN }); + Cookies.remove("token", { path: "/", domain: this.domain }); this.$store.dispatch("User/setToken", null); this.$store.dispatch("Application/resetGlobalData"); this.$router.push({ name: "login" });