{"version":3,"sources":["webpack:///./src/views/modules/lms/student/buddy/admin/checklist/index.vue","webpack:///src/views/modules/lms/student/buddy/admin/checklist/index.vue","webpack:///./src/views/modules/lms/student/buddy/admin/checklist/index.vue?690e","webpack:///./src/views/modules/lms/student/buddy/admin/checklist/index.vue?48a7","webpack:///./src/constants/index.js","webpack:///./src/views/modules/lms/student/buddy/admin/checklist/index.js"],"names":["render","_vm","this","_c","_self","staticClass","on","$event","closeLevel2","ref","attrs","navbarMode","staticStyle","name","_v","onLevelsDetail","directives","rawName","value","$route","expression","class","concat","myResBaseUrl","logout","mustJoinCourses","staticRenderFns","components","vueCustomScrollbar","userCover","component","loading","AsyncLoading","error","AsyncLoadError","delay","timeout","studentHeader","studentNav","studentCalendar","partUserSidebar","buddLevels","data","all","finished","levels","buddyLevels","contstants","created","fetchResBase","mounted","init","$store","dispatch","store","destroyed","methods","_objectSpread","level","$router","push","params","id","code","getFieldFromConstants","field","rv","filter","x","length","$refs","lmsv4header","undefined","state","app","activeGroup","resBaseUrl","mapActions","toggleBodyClass","addRemoveClass","className","el","document","body","classList","add","remove","responsiveLayout","level2","show","resetResponsiveLayoutConfig","getConfigValueByKey","key","groupSettings","reset","bgColor","borderColor","title","index"],"mappings":"wJAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAACF,EAAG,eAAeA,EAAG,MAAM,CAACE,YAAY,4BAA4BC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAON,EAAIO,iBAAiB,CAACL,EAAG,iBAAiB,CAACM,IAAI,cAAcJ,YAAY,SAASK,MAAM,CAAC,WAAaT,EAAIU,YAAYL,GAAG,CAAC,oBAAoB,SAASC,GAAQN,EAAIU,WAAWJ,MAAWJ,EAAG,MAAM,CAACE,YAAY,mBAAmBO,YAAY,CAAC,OAAS,uBAAuB,CAACT,EAAG,uBAAuB,CAACS,YAAY,CAAC,OAAS,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unk-21519a1d.b1d8a24c.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"container lms-wrapper-two\"},[_c('student-nav'),_c('div',{staticClass:\"lms-content buddy-content\",on:{\"click\":function($event){return _vm.closeLevel2()}}},[_c('student-header',{ref:\"lmsv4header\",staticClass:\"filled\",attrs:{\"navbarmode\":_vm.navbarMode},on:{\"update:navbarmode\":function($event){_vm.navbarMode=$event}}}),_c('div',{staticClass:\"lms-content-body\",staticStyle:{\"height\":\"calc(100vh - 80px)\"}},[_c('vue-custom-scrollbar',{staticStyle:{\"height\":\"calc(100vh - 80px)\"}},[_c('div',{staticClass:\"container-fluid mg-y-20\"},[_c('div',{staticClass:\"d-flex align-items-center mg-b-20\"},[_c('nav',{attrs:{\"aria-label\":\"breadcrumb\"}},[_c('ol',{staticClass:\"breadcrumb breadcrumb-style4 mg-b-10\"},[_c('li',{staticClass:\"breadcrumb-item\"},[_c('router-link',{staticClass:\"tx-11\",staticStyle:{\"color\":\"#444\"},attrs:{\"to\":{ name: 'buddyAdminDashboard' }}},[_vm._v(\"Onboarding\")])],1),_c('li',{staticClass:\"breadcrumb-item active tx-14\",attrs:{\"aria-current\":\"page\"}},[_vm._v(\"Checklist\")])])])]),_c('budd-levels',{on:{\"on-detail\":_vm.onLevelsDetail}})],1)])],1),_c('vue-custom-scrollbar',{staticClass:\"lms-sidebar-right\"},[_c('div',{staticClass:\"lms-sidebar-right-header\"},[_c('div',{staticClass:\"pos-absolute r-20 t-20\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.name=='buddyParticipant'),expression:\"$route.name=='buddyParticipant'\"}],class:`dropdown dropdown-profile`},[_c('a',{staticClass:\"dropdown-link\",attrs:{\"href\":\"\",\"data-toggle\":\"dropdown\"}},[_c('img',{attrs:{\"src\":`${_vm.myResBaseUrl}v4-assets/icon1.png`}})]),_c('div',{staticClass:\"divide-y dropdown-menu dropdown-menu-right tx-13\"},[_c('router-link',{staticClass:\"dropdown-item pd-l-0-f mg-b-15\",attrs:{\"to\":\"/lms/profile\",\"role\":\"button\"}},[_c('feather',{staticClass:\"ht-20-f mg-r-5\",staticStyle:{\"width\":\"20px\",\"height\":\"20px\"},attrs:{\"type\":\"user\"}}),_vm._v(\"Профайл \")],1),_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 mg-r-5\",staticStyle:{\"width\":\"20px\",\"height\":\"20px\"},attrs:{\"type\":\"log-out\"}}),_vm._v(\"Гарах \")],1)],1)])]),_c('a',[_c('part-user-sidebar',{attrs:{\"mustJoinCourses\":_vm.mustJoinCourses}})],1)]),_c('div',{staticClass:\"lms-sidebar-right-body\"},[_c('vc-calendar',{attrs:{\"is-expanded\":\"\",\"title-position\":\"left\",\"color\":\"red\"}})],1),_c('div',{staticClass:\"lms-sidebar-right-footer\"})])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"container lms-wrapper-two\">\n \n <student-nav />\n\n <div class=\"lms-content buddy-content\" @click=\"closeLevel2()\">\n <student-header class=\"filled\" :navbarmode.sync=\"navbarMode\" ref=\"lmsv4header\" />\n \n <div class=\"lms-content-body\" style=\"height: calc(100vh - 80px)\">\n \n \n <vue-custom-scrollbar class=\"\" style=\"height: calc(100vh - 80px);\">\n <div class=\"container-fluid mg-y-20\">\n <div class=\"d-flex align-items-center mg-b-20\">\n <nav aria-label=\"breadcrumb\">\n <ol class=\"breadcrumb breadcrumb-style4 mg-b-10\">\n <li class=\"breadcrumb-item\"><router-link :to=\"{ name: 'buddyAdminDashboard' }\" class=\"tx-11\" style=\"color: #444\">Onboarding</router-link></li>\n <li class=\"breadcrumb-item active tx-14\" aria-current=\"page\">Checklist</li>\n </ol>\n </nav>\n </div>\n \n\n <!-- <div class=\"check-outer wd-100p\">\n <div v-for=\"(n, i) in $store.state.buddy.boxSummary\" :class=\"`tx-white mg-b-20 check-item check-code-${n.code} pd-x-40 pd-y-30`\" >\n <div class=\"text-center tx-semibold tx-14 mg-b-40\">{{ n.boxName }}</div>\n \n <vc-donut\n :sections=\"[\n {\n value: 21,\n color: 'white',\n },\n ]\"\n :background=\"getFieldFromConstants('bgColor', n)\"\n :foreground=\"getFieldFromConstants('borderColor', n)\"\n :size=\"100\"\n unit=\"%\"\n :thickness=\"12\"\n :total=\"100\"\n :start-angle=\"0\"\n >\n <div class=\"tx-semibold\">\n <div class=\"tx-lg-28 tx-md-20 tx-sm-16 tx-xs-14 tx-white\">\n 21%\n </div>\n <div class=\"tx-lg-16 tx-md-14 tx-sm-12 tx-xs-8 tx-color-04\">2512/615</div>\n </div>\n </vc-donut>\n\n <div @click=\"$router.push({name: 'buddyAdminChecklist1Detail', params: {id: n.code}})\" role=\"button\" style=\"left: 50%; transform: translate(-50%, 0%); border-radius: 30px;\" class=\"text-center pos-absolute b-20 bg-white-1 tx-16 tx-semibold pd-x-40 pd-y-10\">ДÑлгÑÑ€Ñнгүй</div>\n </div>\n </div> -->\n\n <budd-levels @on-detail=\"onLevelsDetail\"></budd-levels>\n\n </div>\n\n </vue-custom-scrollbar>\n </div>\n\n <vue-custom-scrollbar\n class=\"lms-sidebar-right\"\n >\n <div class=\"lms-sidebar-right-header\">\n <div class=\"pos-absolute r-20 t-20\">\n <div :class=\"`dropdown dropdown-profile`\" v-show=\"$route.name=='buddyParticipant'\">\n <a href class=\"dropdown-link\" data-toggle=\"dropdown\">\n <img :src=\"`${myResBaseUrl}v4-assets/icon1.png`\" />\n </a>\n <div class=\"divide-y dropdown-menu dropdown-menu-right tx-13\">\n <router-link to=\"/lms/profile\" class=\"dropdown-item pd-l-0-f mg-b-15\" role=\"button\">\n <feather type=\"user\" class=\"ht-20-f mg-r-5\" style=\"width: 20px; height: 20px;\"></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 mg-r-5\" style=\"width: 20px; height: 20px;\"></feather\n >Гарах\n </a>\n </div>\n </div>\n </div>\n <a >\n <part-user-sidebar :mustJoinCourses=\"mustJoinCourses\"></part-user-sidebar>\n </a>\n </div>\n \n <div class=\"lms-sidebar-right-body\">\n\n <vc-calendar is-expanded title-position=\"left\" color=\"red\" /> \n </div>\n\n <div class=\"lms-sidebar-right-footer\">\n </div>\n </vue-custom-scrollbar>\n </div>\n\n \n\n </div>\n</template>\n\n<script>\nimport { mapActions } from \"vuex\";\n\nimport vueCustomScrollbar from \"vue-custom-scrollbar\";\nimport AsyncLoadError from \"@/components/base/asyncLoadingError\";\nimport AsyncLoading from \"@/components/base/asyncLoading\";\n\nimport { request } from \"@/api/all\";\nimport { getConfigValueByKey } from \"@/libs/util\";\nimport contstants from \"@/constants\";\n\nexport default {\n components: {\n vueCustomScrollbar,\n userCover: () => ({\n component: import(\"@/views/modules/lms/components/userCover.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000,\n }),\n studentHeader: () => ({\n component: import(\"@/views/modules/lms/student/components/header.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000\n }),\n studentNav: () => ({\n component: import(\"@/views/modules/lms/student/components/nav.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000,\n }),\n studentCalendar: () => ({\n component: import(\"@/views/modules/lms/teacher/components/calendar.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000,\n }),\n partUserSidebar: () => ({\n component: import( \"@/views/modules/lms/student/parts/userSidebar.vue\" ),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000,\n }),\n buddLevels: () => ({\n component: import(\"@/views/modules/lms/student/buddy/components/levels.vue\"),\n loading: AsyncLoading,\n error: AsyncLoadError,\n delay: 100,\n timeout: 5000,\n }),\n },\n data() {\n return {\n myResBaseUrl: \"https://res.gosmart.mn/\",\n navbarMode: 0,\n mustJoinCourses: {\n all: 0,\n finished: 0,\n },\n levels: [],\n buddyLevels: contstants.levels,\n };\n },\n // beforeCreate() {\n // require('@/assets/scss/pages/learning.scss');\n // },\n created() {\n this.fetchResBase();\n },\n mounted() {\n this.init();\n this.$store.dispatch('buddy/handleBoxNames',{ store: this.$store });\n },\n destroyed() {\n //this.toggleBodyClass(\"removeClass\", \"app-lms\");\n },\n methods: {\n onLevelsDetail(level){\n this.$router.push(\n {\n name: 'buddyAdminChecklist1Detail', \n params: {id: level.code}\n }\n );\n },\n getFieldFromConstants(field, level){\n // console.log('getFieldFromConstants', field);\n let rv='';\n if(this.buddyLevels.filter(x=>x.code==level.code).length ){\n rv= this.buddyLevels.filter(x=>x.code==level.code)[0][field];\n }\n return rv\n },\n logout(){\n this.$refs.lmsv4header.logout();\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 ...mapActions([\"handleAside\", \"resetResponsiveLayoutConfig\", \"handleMainLayoutConfig\"]),\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 closeLevel2() {\n if (this.$store.state.app.responsiveLayout.level2.show)\n this.resetResponsiveLayoutConfig(document);\n },\n \n getConfigValueByKey(key) {\n return getConfigValueByKey(this.$store.state.app.groupSettings, key);\n },\n init(reset) {\n // this.toggleBodyClass(\"addClass\", \"dynamic-locker\");\n // request({\n // api: { method: \"POST\", url: \"buddy/admin/GetBoxSummary\" },\n // data: { \n // templateId: null\n // },\n // store: this.$store,\n // }).then((res) => {\n // this.toggleBodyClass(\"removeClass\", \"dynamic-locker\");\n // if(res!=false){\n // console.log('res',res);\n // // this.levels= res.data.list;\n // }\n // });\n },\n \n },\n};\n</script>","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!./index.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!./index.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=01859f54\"\nimport script from \"./index.vue?vue&type=script&lang=js\"\nexport * from \"./index.vue?vue&type=script&lang=js\"\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 default {\n levels: [\n {code: 1, bgColor: '#9627DD', borderColor: '#CD81FF', title: 'Ðжлын Ñхний өдөр'},\n {code: 7, bgColor: '#17A0E2', borderColor: '#31B6FD', title: 'Ðжлын Ñхний 7 хоног'},\n {code: 30, bgColor: '#e04a69', borderColor: '#E63459', title: 'Ðжлын Ñхний 30 хоног'},\n {code: 60, bgColor: '#12A0A1', borderColor: '#32BBBC', title: 'Ðжлын Ñхний 60-90 хоног'},\n {code: 0, bgColor: '#3AC37A', borderColor: '#57DA95', title: 'БÑлтгÑл үе'},\n ]\n}","import index from \"./index.vue\";\nexport default index;\n"],"sourceRoot":""}