{"version":3,"sources":["webpack:///./src/views/home/apps/stf/researcher/components/header.vue","webpack:///src/views/home/apps/stf/researcher/components/header.vue","webpack:///./src/views/home/apps/stf/researcher/components/header.vue?08b9","webpack:///./src/views/home/apps/stf/researcher/components/header.vue?7a1b","webpack:///./src/views/home/apps/stf/researcher/components/header.vue?9073"],"names":["render","_vm","this","_c","_self","staticClass","on","$event","closeLevel2","directives","name","rawName","value","showBackdrop","expression","attrs","stopPropagation","showLevel2","concat","myResBaseUrl","$store","state","app","skin","dark","_e","style","activeGroup","logo","_v","_s","$route","class","mustJoinCourses","all","finished","color","user","userInfo","avator","fullName","position","isMobile","id","params","mode","staticStyle","logout","staticRenderFns","components","locTypeCascader","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","headerBarNotification","headerBarLocalmail","props","navbarmode","type","Number","default","filterType","filterName","String","data","filterParams","created","fetchResBase","mounted","initStat","methods","_objectSpread","mapActions","_this","request","api","method","url","store","then","res","$emit","dashboard","stat","pointCount","notFinishedCount","searchHandler","$router","push","md","cnm","d1","d2","searchHandlerFromCascader","e","toggleBodyClass","addRemoveClass","className","el","document","body","classList","add","remove","undefined","resBaseUrl","openSidebar","_this2","handleLoading","isLoading","handleLogOut","handleDynamicMenuLoaded","handleLevel2ResponsiveLayoutConfig","responsiveLayout","level2","show","resetResponsiveLayoutConfig"],"mappings":"+IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,SAAS,CAACE,YAAY,6BAA6BC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAON,EAAIO,iBAAiB,CAACL,EAAG,MAAM,CAACM,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOX,EAAIY,aAAcC,WAAW,iBAAiBT,YAAY,oBAAoBF,EAAG,MAAM,CAACE,YAAY,qBAAqB,CAACF,EAAG,IAAI,CAACE,YAAY,QAAQU,MAAM,CAAC,KAAO,UAAUT,GAAG,CAAC,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,IAAAK,YAAAkF,YACA,SAAAzF,OAAAC,MAAAC,IAAAK,YAAAkF,aAEA,KAAA1F,aAAA,KAAAC,OAAAC,MAAAC,IAAAK,YAAAkF,aAGAC,YAAA,aAGA/D,OAAA,eAAAgE,EAAA,KACA,KAAAC,cAAA,CAAAC,WAAA,IACA,KAAAC,aAAA,CAAAhC,MAAA,KAAA9D,SAAA+D,MAAA,SAAAC,GACA,GAAAA,IACA2B,EAAAI,yBAAA,GACAJ,EAAAC,cAAA,CAAAC,WAAA,IACAF,EAAApB,QAAAC,KAAA,CAAAlF,KAAA,eAIAO,WAAA,WACA,KAAAJ,cAAA,EACA,KAAAuG,mCAAA,CACAb,kBACAF,UAAA,qBAGA,KAAAF,gBAAA,gCAEA3F,YAAA,WAQA,OAPA,KAAAK,cAAA,EACA,KAAAO,OAAAC,MAAAC,IAAA+F,iBAAAC,OAAAC,MACA,KAAAC,4BAAAjB,UAGA,KAAAJ,gBAAA,mCAEA,MC/T0Z,I,wBCQtZhD,EAAY,eACd,EACAnD,EACAgD,GACA,EACA,KACA,KACA,MAIa,aAAAG,E,sECnBf","file":"js/chunk-8a0af4f2.c9533c15.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('header',{staticClass:\"lms-content-header pd-x-20\",on:{\"click\":function($event){return _vm.closeLevel2()}}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showBackdrop),expression:\"showBackdrop\"}],staticClass:\"header-backdrop\"}),_c('div',{staticClass:\"d-block d-lg-none\"},[_c('a',{staticClass:\"pd-10\",attrs:{\"role\":\"button\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.showLevel2()}}},[_c('img',{staticClass:\"ht-32 wd-32\",attrs:{\"src\":`${_vm.myResBaseUrl}v4-assets/svgicon/menu/solid/menu-line-horizontal.svg`}})])]),_c('div',{staticClass:\"d-block d-lg-none mg-l-10 hdr-logo\"},[_c('router-link',{attrs:{\"to\":\"/\"}},[_c('div',{staticClass:\"d-flex align-items-center head-branding\"},[_c('div',{staticClass:\"avatar avatar-sm mg-r-8\"},[(!_vm.$store.state.app.skin.dark)?_c('img',{staticClass:\"mg-r-10\",style:(`max-width: 60px; max-height: 50px`),attrs:{\"src\":`${_vm.myResBaseUrl}${_vm.$store.state.app.activeGroup.logo}`}}):_vm._e()]),_c('span',{staticClass:\"tx-20 tx-color-01 tx-semibold d-none\"},[_vm._v(_vm._s(_vm.$store.state.app.activeGroup.name))])])])],1),_c('div',{staticClass:\"d-none d-md-block mg-l-10 tx-20\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.app.activeGroup.name)+\" \")]),_c('div',{staticClass:\"d-flex mg-l-auto\"},[_c('nav',{staticClass:\"lmsNav\",attrs:{\"id\":\"directNav\"}},[_c('header-bar-notification'),_c('header-bar-localmail'),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.name!='lmsParticipant'),expression:\"$route.name!='lmsParticipant'\"}],class:`dropdown dropdown-profile`},[_c('a',{staticClass:\"dropdown-link\",attrs:{\"href\":\"\",\"data-toggle\":\"dropdown\"}},[_c('vc-donut',{staticClass:\"avator-bg\",attrs:{\"sections\":[\n {\n value:\n _vm.mustJoinCourses.all > 0\n ? (_vm.mustJoinCourses.finished * 100) / _vm.mustJoinCourses.all\n : 0,\n color: '#2856a8',\n },\n ],\"background\":\"#fafafa\",\"foreground\":\"#fff\",\"size\":55,\"unit\":\"px\",\"thickness\":8,\"total\":100,\"start-angle\":-30,\"auto-adjust-text-size\":true}},[_c('div',{staticClass:\"mg-y-20\"},[_c('img',{staticClass:\"rounded-circle wd-40 ht-40\",attrs:{\"src\":`${_vm.$store.state.user.userInfo.avator}`}})])]),_c('span',{staticClass:\"user-label\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.user.userInfo.fullName)+\" \"),_c('img',{attrs:{\"src\":`${_vm.myResBaseUrl}v4-assets/svgicon/arrows/outline/direction-down 01.svg`}})])],1),_c('div',{staticClass:\"dropdown-menu dropdown-menu-right tx-13\"},[_c('div',{staticClass:\"avatar avatar-lg mg-b-15\"},[_c('img',{staticClass:\"rounded-circle\",attrs:{\"src\":`${_vm.$store.state.user.userInfo.avator}`,\"alt\":\"\"}})]),_c('h6',{staticClass:\"tx-semibold mg-b-5\"},[_vm._v(\" \"+_vm._s(_vm.$store.state.user.userInfo.fullName)+\" \")]),_c('p',{staticClass:\"mg-b-25 tx-12 tx-color-03 text-truncate\",attrs:{\"title\":_vm.$store.state.user.userInfo.position}},[_vm._v(\" \"+_vm._s(_vm.$store.state.user.userInfo.position)+\" \")]),(\n !_vm.$store.state.app.isMobile &&\n !(\n _vm.$store.state.app.activeGroup.id == 9241 ||\n _vm.$store.state.app.activeGroup.id == 9249\n )\n )?_c('router-link',{staticClass:\"dropdown-item d-flex align-items-center pd-l-0-f\",attrs:{\"to\":{ name: 'settings', params: { mode: '2' } }}},[_c('feather',{staticClass:\"ht-20-f ht-20-f mg-r-5\",staticStyle:{\"width\":\"20px\",\"height\":\"20px\"},attrs:{\"type\":\"settings\"}}),_vm._v(\"Тохиргоо \")],1):_vm._e(),(\n !_vm.$store.state.app.isMobile &&\n (_vm.$store.state.app.activeGroup.id == 9241 || _vm.$store.state.app.activeGroup.id == 9249)\n )?_c('router-link',{staticClass:\"dropdown-item d-flex align-items-center pd-l-0-f\",attrs:{\"to\":{ name: 'settings', params: { mode: '3' } }}},[_c('feather',{staticClass:\"ht-20-f ht-20-f mg-r-5\",staticStyle:{\"width\":\"20px\",\"height\":\"20px\"},attrs:{\"type\":\"settings\"}}),_vm._v(\"Тохиргоо \")],1):_vm._e(),_c('a',{staticClass:\"dropdown-item pd-l-0-f mg-t-0-f\",attrs:{\"role\":\"button\"},on:{\"click\":_vm.logout}},[_c('feather',{staticClass:\"ht-20-f ht-20-f mg-r-5\",staticStyle:{\"width\":\"20px\",\"height\":\"20px\"},attrs:{\"type\":\"log-out\"}}),_vm._v(\"Гарах \")],1)],1)])],1)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <header class=\"lms-content-header pd-x-20\" @click=\"closeLevel2()\">\n <div v-show=\"showBackdrop\" class=\"header-backdrop\"></div>\n \n <div class=\"d-block d-lg-none\">\n <a @click.stop=\"showLevel2()\" class=\"pd-10\" role=\"button\">\n <img :src=\"`${myResBaseUrl}v4-assets/svgicon/menu/solid/menu-line-horizontal.svg`\" class=\"ht-32 wd-32\" />\n </a> \n </div>\n <div class=\"d-block d-lg-none mg-l-10 hdr-logo\">\n <router-link to=\"/\">\n <div class=\"d-flex align-items-center head-branding\">\n <div class=\"avatar avatar-sm mg-r-8\">\n <img class=\"mg-r-10\"\n v-if=\"!$store.state.app.skin.dark\"\n :src=\"`${myResBaseUrl}${$store.state.app.activeGroup.logo}`\"\n :style=\"`max-width: 60px; max-height: 50px`\"\n />\n </div>\n <span class=\"tx-20 tx-color-01 tx-semibold d-none\">{{$store.state.app.activeGroup.name}}</span>\n </div>\n\n </router-link>\n </div>\n\n \n <div class=\"d-none d-md-block mg-l-10 tx-20\">\n {{ $store.state.app.activeGroup.name }}\n </div>\n <div class=\"d-flex mg-l-auto\">\n <nav id=\"directNav\" class=\"lmsNav\">\n <header-bar-notification></header-bar-notification>\n <header-bar-localmail></header-bar-localmail>\n\n <div :class=\"`dropdown dropdown-profile`\" v-show=\"$route.name!='lmsParticipant'\">\n <a href class=\"dropdown-link\" data-toggle=\"dropdown\">\n\n <vc-donut\n :sections=\"[\n {\n value:\n mustJoinCourses.all > 0\n ? (mustJoinCourses.finished * 100) / mustJoinCourses.all\n : 0,\n color: '#2856a8',\n },\n ]\"\n class=\"avator-bg\"\n \n background=\"#fafafa\"\n foreground=\"#fff\"\n :size=\"55\"\n unit=\"px\"\n :thickness=\"8\"\n :total=\"100\"\n :start-angle=\"-30\"\n :auto-adjust-text-size=\"true\"\n >\n <div class=\" mg-y-20\">\n <img\n :src=\"`${$store.state.user.userInfo.avator}`\"\n class=\"rounded-circle wd-40 ht-40\"\n />\n </div>\n </vc-donut>\n\n <!-- <div class=\"avatar avatar-md pd-5 mg-r-10\">\n <img\n :src=\"`${$store.state.user.userInfo.avator}`\"\n class=\"rounded-circle\"\n alt\n />\n </div> -->\n <span class=\"user-label\">\n {{ $store.state.user.userInfo.fullName }}\n <img :src=\"`${myResBaseUrl}v4-assets/svgicon/arrows/outline/direction-down 01.svg`\" />\n </span>\n </a>\n <div class=\"dropdown-menu dropdown-menu-right tx-13\">\n <div class=\"avatar avatar-lg mg-b-15\">\n <img\n :src=\"`${$store.state.user.userInfo.avator}`\"\n class=\"rounded-circle\"\n alt\n />\n </div>\n <h6 class=\"tx-semibold mg-b-5\">\n {{ $store.state.user.userInfo.fullName }}\n </h6>\n <p\n class=\"mg-b-25 tx-12 tx-color-03 text-truncate\"\n :title=\"$store.state.user.userInfo.position\"\n >\n {{ $store.state.user.userInfo.position }}\n </p>\n <router-link\n v-if=\"\n !$store.state.app.isMobile &&\n !(\n $store.state.app.activeGroup.id == 9241 ||\n $store.state.app.activeGroup.id == 9249\n )\n \"\n :to=\"{ name: 'settings', params: { mode: '2' } }\"\n class=\"dropdown-item d-flex align-items-center pd-l-0-f\"\n >\n <feather\n type=\"settings\"\n class=\"ht-20-f ht-20-f mg-r-5\" style=\"width: 20px; height: 20px;\"\n ></feather\n >Тохиргоо\n </router-link>\n <router-link\n v-if=\"\n !$store.state.app.isMobile &&\n ($store.state.app.activeGroup.id == 9241 || $store.state.app.activeGroup.id == 9249)\n \"\n :to=\"{ name: 'settings', params: { mode: '3' } }\"\n class=\"dropdown-item d-flex align-items-center pd-l-0-f\" \n >\n <feather\n type=\"settings\"\n class=\"ht-20-f ht-20-f mg-r-5\" style=\"width: 20px; height: 20px;\"\n ></feather\n >Тохиргоо\n </router-link>\n <a @click=\"logout\" class=\"dropdown-item pd-l-0-f mg-t-0-f\" role=\"button\">\n <feather type=\"log-out\" class=\"ht-20-f ht-20-f mg-r-5\" style=\"width: 20px; height: 20px;\"></feather\n >Гарах\n </a>\n </div>\n </div>\n </nav>\n </div>\n\n \n\n </header>\n <!-- <header\n slot=\"content-header\"\n class=\"navbar navbar-header\"\n >\n <div class=\"container\" @click=\"closeLevel2()\">\n <a @click.stop=\"showLevel2()\" class=\"burger-menu d-lg-none\">\n <feather type=\"menu\" class=\"wd-20-f ht-20-f\"></feather>\n </a>\n <div class=\"navbar-right\">\n <a\n class=\"burger-menu d-lg-none\"\n v-if=\"$store.state.app.responsiveLayout.level2.show\"\n >\n <feather type=\"arrow-right\" class=\"wd-20-f ht-20-f\"></feather>\n </a>\n <a\n @click.stop=\"$emit('toggle-filter-drawer')\"\n class=\"burger-menu d-lg-none\"\n v-if=\"$route.name == 'lmsCourses'\"\n >\n <feather type=\"filter\" class=\"wd-20-f ht-20-f\"></feather>\n </a>\n </div>\n </div>\n </header> -->\n</template>\n\n<script>\nimport { mapActions } from \"vuex\";\n\nimport AsyncLoadError from \"@/components/base/asyncLoadingError\";\nimport AsyncLoading from \"@/components/base/asyncLoading\";\n\nimport { request } from \"@/api/all\";\n\nexport default {\n components:{\n locTypeCascader: () => ({\n component: import(\"@/components/task/edit/components/locTypeCascader\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000\n }),\n headerBarNotification: () => ({\n component: import(\"@/components/modules/team/headerBarNotification\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000,\n }),\n headerBarLocalmail: () => ({\n component: import(\"@/views/modules/localmail/headerBarMailNotification\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000,\n }),\n },\n props: {\n navbarmode: {\n type: Number,\n default: () => 0\n },\n filterType: {\n type: Number,\n default: () => 0\n },\n filterName: {\n type: String,\n default: () => \"Хайх ...\"\n },\n },\n data(){\n return{\n showBackdrop: false,\n filterParams:{\n type: -1,\n name: null\n },\n myResBaseUrl: \"https://res.gosmart.mn/\",\n mustJoinCourses:{\n all: null,\n finished: null,\n },\n }\n },\n created() {\n this.fetchResBase();\n },\n mounted(){\n this.initStat();\n },\n methods: {\n ...mapActions([\n \"resetResponsiveLayoutConfig\",\n \"handleLevel2ResponsiveLayoutConfig\",\n \"handleLoading\",\n \"handleLogOut\",\n \"handleDynamicMenuLoaded\"\n ]),\n initStat(){\n request({\n api: { method: \"POST\", url: \"v2/learn/studentHomeData\" },\n store: this.$store,\n }).then((res) => {\n if (res != false) {\n this.$emit('on-home-stat', res.data);\n if(this.$store.state.app.activeGroup.id==9241 ||this.$store.state.app.activeGroup.id==9249){\n this.mustJoinCourses = res.data.dashboard.mustJoinCourses;\n }else{\n this.mustJoinCourses = {\n all: res.data.dashboard.stat.pointCount,\n finished: res.data.dashboard.stat.pointCount - res.data.dashboard.stat.notFinishedCount\n };\n }\n }\n });\n },\n searchHandler(){\n if(this.$route.name=='lmsCourses'){\n this.$emit('on-filter', this.filterParams);\n }else{\n this.$router.push({\n name: 'lmsCourses',\n params: { md: 1, cnm: this.filterParams.name, type: this.filterParams.type, d1: \"null\", d2: \"null\" }\n });\n }\n },\n searchHandlerFromCascader(e){\n if(this.$route.name=='lmsCourses'){\n this.searchHandler();\n }\n },\n toggleBodyClass(addRemoveClass, className) {\n const el = document.body;\n\n if (addRemoveClass === \"addClass\") {\n el.classList.add(className);\n } else {\n el.classList.remove(className);\n }\n },\n fetchResBase() {\n if (\n this.$store.state.app.activeGroup.resBaseUrl != undefined &&\n this.$store.state.app.activeGroup.resBaseUrl != \"\"\n ) {\n this.myResBaseUrl = this.$store.state.app.activeGroup.resBaseUrl;\n }\n },\n openSidebar(){\n\n },\n logout(){\n this.handleLoading({ isLoading: true });\n this.handleLogOut({ store: this.$store }).then((res) => {\n if (res != false) {\n this.handleDynamicMenuLoaded(false);\n this.handleLoading({ isLoading: false });\n this.$router.push({ name: \"login\" });\n }\n });\n },\n showLevel2() {\n this.showBackdrop= true;\n this.handleLevel2ResponsiveLayoutConfig({\n document: document,\n className: \"lms-sidebar-show\"\n });\n\n this.toggleBodyClass(\"addClass\", \"lms-sidebar-show\");\n },\n closeLevel2() {\n this.showBackdrop= false;\n if (this.$store.state.app.responsiveLayout.level2.show) {\n this.resetResponsiveLayoutConfig(document);\n }\n\n this.toggleBodyClass(\"removeClass\", \"lms-sidebar-show\");\n\n return false;\n }\n }\n};\n</script>\n\n<style>\n.header-backdrop{\n position: fixed; \n inset: 0px; \n background: rgba(0,0,0,0.3); \n z-index: 6; \n visibility: visible; \n opacity: 1;\n}\n</style>\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!./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!./header.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./header.vue?vue&type=template&id=11efa5ba\"\nimport script from \"./header.vue?vue&type=script&lang=js\"\nexport * from \"./header.vue?vue&type=script&lang=js\"\nimport style0 from \"./header.vue?vue&type=style&index=0&id=11efa5ba&prod&lang=css\"\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","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./header.vue?vue&type=style&index=0&id=11efa5ba&prod&lang=css\""],"sourceRoot":""}