@genpact/genome.mfe.solidify-app 1.17.2-alpha.254 → 1.17.2-alpha.256

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/solidify.umd.min.LearnerRereview.js +1 -1
  2. package/dist/solidify.umd.min.LearnerRereview.js.map +1 -1
  3. package/dist/solidify.umd.min.SolidifyAdministration.js +1 -1
  4. package/dist/solidify.umd.min.SolidifyAdministration.js.map +1 -1
  5. package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js +1 -1
  6. package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js.map +1 -1
  7. package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
  8. package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
  9. package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js +1 -1
  10. package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js.map +1 -1
  11. package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js +1 -1
  12. package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js.map +1 -1
  13. package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js +1 -1
  14. package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js.map +1 -1
  15. package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js +1 -1
  16. package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js.map +1 -1
  17. package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
  18. package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js.map +1 -1
  19. package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
  20. package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js.map +1 -1
  21. package/dist/solidify.umd.min.SolidifyLearner.js +1 -1
  22. package/dist/solidify.umd.min.SolidifyLearner.js.map +1 -1
  23. package/dist/solidify.umd.min.SolidifyLearnerDone.js +1 -1
  24. package/dist/solidify.umd.min.SolidifyLearnerDone.js.map +1 -1
  25. package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
  26. package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js.map +1 -1
  27. package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
  28. package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js.map +1 -1
  29. package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js +1 -1
  30. package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js.map +1 -1
  31. package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +1 -1
  32. package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js.map +1 -1
  33. package/dist/solidify.umd.min.js +2 -2
  34. package/dist/solidify.umd.min.js.map +1 -1
  35. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js","mappings":"8NAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,SAAS,CAAEL,EAAIM,WAAYJ,EAAG,MAAM,CAACG,YAAY,6EAA6E,CAACL,EAAIO,GAAG,GAAGL,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAAEL,EAAIQ,UAAWN,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,QAAQ,CAACG,YAAY,kEAAkE,CAACL,EAAIS,GAAG,eAAeP,EAAG,QAAQ,CAACG,YAAY,4JAA4JK,MAAM,CAAC,KAAO,OAAO,SAAW,IAAIC,SAAS,CAAC,MAAQX,EAAIY,iBAAiBZ,EAAIa,KAAMb,EAAIc,cAAeZ,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAAC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MG,EAASJ,KACRC,KAEFA,CAAG,EAECgD,EAAc1F,UACzB,IAAI2F,EACJ,IAKE,aAJMhD,EAAAA,EAAAA,IAAU,SAAS/C,KAAUgD,MAAMC,IACvC8C,EAAa9C,EAASJ,KAAKA,KACpBkD,KAEFA,C,CACP,MAAOC,GACP,OAAOA,C,GAGEC,EAAkB7F,MAAOwC,EAAUsD,KAC9C,IACE,MAAMpD,QAAYqD,MAAM,GAAGvD,IAAO,CAChCwD,OAAQ,MACRC,KAAMH,IAEFI,EAAiBxD,EACvB,OAAOwD,C,CACP,MAAOC,GAEP,OADA7G,QAAQsG,MAAMO,GACPA,C,GAIEC,EAAiBpG,MAAOwC,EAAU6D,KAC7C,IAAI3D,EAMJ,aAJMC,EAAAA,EAAAA,KAAWH,EAAK6D,GAAazD,MAAMC,IACvCH,EAAMG,EAASJ,KAAK0C,MACbzC,KAEFA,CAAG,EAGC4D,EAA0BtG,MAAOwC,EAAUC,KACtD,IAAIC,EAMJ,aAJMC,EAAAA,EAAAA,KAAWH,EAAKC,GAAMG,MAAMC,IAChCH,EAAMG,EAASJ,KAAK0C,MACbzC,KAEFA,CAAG,EAGC6D,EAAWvG,UACtBV,QAAQC,IAAI,yBAAyB6B,KAAKC,UAAUoB,MACpD,MAAM+D,QAAiB7D,EAAAA,EAAAA,KAAW,eAAgBF,GAClD,OAAO+D,CAAQ,EAGJC,EAAmBzG,UAC9B,IACE,IAAI0C,EAgBJ,aAfMC,EAAAA,EAAAA,IAAU,0BAA0BuC,KAAatC,MAAK5C,UAE1D0C,EAAMG,EAASJ,KAWRC,KAEFA,C,CACP,MAAOkD,GACP,OAAOA,C","sources":["webpack://solidify/./src/views/Admin/Create_OffCycles.vue","webpack://solidify/./src/views/Admin/Create_OffCycles.vue?74f1","webpack://solidify/./src/views/Admin/Create_OffCycles.vue?0b91","webpack://solidify/./src/views/Admin/Create_OffCycles.vue?933f","webpack://solidify/./src/views/Admin/Reviewer_Report.vue","webpack://solidify/./src/views/Admin/Reviewer_Report.vue?c74f","webpack://solidify/./src/views/Admin/Reviewer_Report.vue?c2a4","webpack://solidify/./src/views/Admin/Reviewer_Report.vue?3f41","webpack://solidify/./src/utils/admin/assign_proxy_service.ts","webpack://solidify/./src/utils/admin/harvest_report.ts","webpack://solidify/./src/utils/admin/master_service.ts","webpack://solidify/./src/utils/admin/task_management_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[(_vm.searchBtn)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Program \")]),_c('input',{staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.programName}})]):_vm._e(),(_vm.showSkillProf)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Skill \")]),_c('input',{staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.skillName}})]):_vm._e(),(_vm.showSkillProf)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Proficiency \")]),_c('input',{staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.profName}})]):_vm._e()]),_c('div',{staticClass:\"flex w-full\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[(_vm.archiveBtn)?_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskBtn),expression:\"taskBtn\"}],staticClass:\"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.createOffCycle()}}},[_vm._v(\"Create Off-Cycle\")]):_vm._e()])]),(_vm.newTaskDetails)?_c('div',{staticClass:\"w-full mb-2 h-50 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-1 tableScroll\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 align-bottom\"},_vm._l((_vm.newTaskDetails),function(task){return _c('tr',{key:task.task_id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.taskCheckOne),expression:\"taskCheckOne\"}],attrs:{\"type\":\"checkbox\",\"id\":task.task_id},domProps:{\"value\":task.task_id,\"checked\":Array.isArray(_vm.taskCheckOne)?_vm._i(_vm.taskCheckOne,task.task_id)>-1:(_vm.taskCheckOne)},on:{\"change\":[function($event){var $$a=_vm.taskCheckOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=task.task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.taskCheckOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.taskCheckOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.taskCheckOne=$$c}},function($event){return _vm.showTaskBtn($event, task.task_id, task.is_archive)}],\"click\":_vm.taskcheckedOne}})]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.task_name}},[_vm._v(_vm._s(task.task_name))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.is_archive}},[_vm._v(_vm._s(task.is_archive))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.task_type}},[_vm._v(_vm._s(task.task_type))])])}),0)])]):_vm._e(),(_vm.searchBtn)?_c('div',{staticClass:\"w-full text-center mb-4\"},[_c('router-link',{staticClass:\"inline-block mt-8 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md\",attrs:{\"to\":{ name: 'SolidifyAdministrationOffcycleDashboard' }}},[_vm._v(\"Back\")])],1):_vm._e()]),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full flex justify-between\"},[_c('div',{staticClass:\"w-full text-center text-3xl text-background-secondary\"},[_vm._v(\"Create Offcycle(Select Task)\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"text-left py-2 pl-3 pr-0 w-6 text-background-secondary\"}),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Task Name\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Is Archive\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Learner Type\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { invokegetAllProgram, invokegetAllTaskByProgram } from '@/utils/admin/task_management_service';\n// eslint-disable-next-line\nimport router from '@/router';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\nimport { invokegetSkillProf } from '@/utils/admin/assign_proxy_service';\n\nexport default defineComponent({\n name: 'OffcycleManagement',\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n\n setup(props) {\n const programDetails = ref();\n const renderReady = ref(true);\n const taskDetails = ref();\n const taskCheckOne = ref([]);\n const selectedProgram = ref(props.query.Program_id);\n const taskBtn = ref();\n const checkedTaskId = ref();\n const userRole = ref();\n const showScreen = ref(true);\n const errorMessage = ref();\n const successMessage = ref();\n const archiveBtn = ref(false);\n const unArchiveBtn = ref();\n const skills = ref();\n const proficiency = ref();\n const selectedSkill = ref(props.query.skill_id);\n console.log('selectedSkill', selectedSkill);\n const selectedProficiency = ref(props.query.proficiency_id);\n const showSkillProf = ref(false);\n const searchBtn = ref(false);\n const skillName = ref();\n const programName = ref();\n const profName = ref();\n const newTaskDetails = ref();\n const taskData = {};\n const taskcheckedOne = () => {\n taskCheckOne.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showTaskBtn = (event: any, taskId: any, isArchive: any) => {\n const cb = event.target.checked;\n if (cb === true) {\n checkedTaskId.value = taskId;\n taskBtn.value = true;\n if (isArchive === true) {\n archiveBtn.value = false;\n unArchiveBtn.value = true;\n } else {\n archiveBtn.value = true;\n unArchiveBtn.value = false;\n }\n } else {\n taskBtn.value = false;\n archiveBtn.value = false;\n unArchiveBtn.value = false;\n }\n };\n const getTaskDetails = async () => {\n renderReady.value = false;\n Object.assign(taskData, { program_id: selectedProgram.value });\n Object.assign(taskData, { skill_id: selectedSkill.value });\n Object.assign(taskData, { proficiency_id: selectedProficiency.value });\n console.log('taskdata', taskData);\n taskDetails.value = await invokegetAllTaskByProgram('/getAllTaskByProgram', taskData);\n renderReady.value = true;\n };\n const getProgram = async () => {\n renderReady.value = false;\n programDetails.value = await invokegetAllProgram('/cache?cache=program');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const prog = programDetails.value.find((program: any) => program.program_id === selectedProgram.value);\n programName.value = prog.program_display_name ? prog.program_display_name : prog.program_name;\n renderReady.value = true;\n };\n const getSkillandProf = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = await invokegetSkillProf('/getAllSkillProf?skill_type=genome');\n skills.value = dataRes.skill;\n proficiency.value = dataRes.proficiency;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n skillName.value = skills.value.find((skill: any) => skill.skill_id === selectedSkill.value).skill_alias;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n profName.value = proficiency.value.find((prof: any) => prof.prof_id === selectedProficiency.value).prof_name;\n renderReady.value = true;\n };\n const createOffCycle = () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const programDetail = programDetails.value.find((program: any) => program.program_id === selectedProgram.value);\n console.log(`programDetail ${JSON.stringify(programDetail)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const taskDetail = taskDetails.value.find((task: any) => task.task_id === checkedTaskId.value);\n console.log(`taskDetail ${JSON.stringify(taskDetail)}`);\n console.log('programId', selectedProgram.value);\n console.log('programName', programDetail.program_name);\n console.log('linkedTaskId', checkedTaskId.value);\n\n console.log('taskName', taskDetail.task_name);\n console.log('taskType', taskDetail.task_type);\n localStorage.setItem('programId', selectedProgram.value);\n localStorage.setItem('programName', programDetail.program_name);\n localStorage.setItem('linkedTaskId', checkedTaskId.value);\n if (selectedProgram.value === 'infinity') {\n localStorage.setItem('skillId', selectedSkill.value);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const skillDetail = skills.value.find((skill: any) => skill.skill_id === selectedSkill.value);\n console.log(`skillDetail ${JSON.stringify(skillDetail)}`);\n localStorage.setItem('skillName', skillDetail.skill_alias);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const profDetail = proficiency.value.find((prof: any) => prof.prof_id === selectedProficiency.value);\n console.log(`profDetail ${JSON.stringify(profDetail)}`);\n localStorage.setItem('proficiencyId', selectedProficiency.value);\n localStorage.setItem('proficiencyName', profDetail.prof_name);\n console.log('skill', selectedSkill.value);\n console.log('skill Name', skillDetail.skill_alias);\n console.log('proficiency', selectedProficiency.value);\n console.log('prof Name', profDetail.prof_name);\n }\n localStorage.setItem('taskName', taskDetail.task_name);\n localStorage.setItem('taskType', taskDetail.task_type);\n router.push({ name: 'SolidifyAdministrationCreateOffCycle' });\n };\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n if (userRole.value.includes('System Admin') || userRole.value.includes('System Admin View Access') || userRole.value.includes('Community Manager') || userRole.value.includes('Program Admin')) {\n showScreen.value = true;\n } else {\n showScreen.value = false;\n }\n }\n await getProgram();\n await getTaskDetails();\n newTaskDetails.value = taskDetails.value.filter((task) => task.is_archive === false);\n searchBtn.value = true;\n if (selectedProgram.value === 'infinity') {\n await getSkillandProf();\n showSkillProf.value = true;\n } else {\n showSkillProf.value = false;\n }\n });\n return {\n renderReady,\n programDetails,\n taskDetails,\n newTaskDetails,\n taskCheckOne,\n taskcheckedOne,\n checkedTaskId,\n showTaskBtn,\n taskBtn,\n showScreen,\n selectedProgram,\n errorMessage,\n successMessage,\n archiveBtn,\n unArchiveBtn,\n getTaskDetails,\n skills,\n proficiency,\n showSkillProf,\n searchBtn,\n createOffCycle,\n selectedSkill,\n selectedProficiency,\n skillName,\n profName,\n programName,\n };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Create_OffCycles.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Create_OffCycles.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Create_OffCycles.vue?vue&type=template&id=677b6451&scoped=true&\"\nimport script from \"./Create_OffCycles.vue?vue&type=script&lang=ts&\"\nexport * from \"./Create_OffCycles.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Create_OffCycles.vue?vue&type=style&index=0&id=677b6451&prod&scoped=true&lang=postcss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"677b6451\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"max-w-6xl m-auto shadow p-4 text-background-secondary\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-full mb-4\"},[_c('button',{staticClass:\"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.triggerReviewerReport()}}},[_vm._v(\"Trigger Need Reviewer Report\")])])]),(_vm.successMessage)?_c('div',{staticClass:\"text-green-700\"},[_vm._v(_vm._s(_vm.successMessage))]):_vm._e()])])]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Need Reviewer Report\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\nimport { invokeReviewerReport } from '@/utils/admin/harvest_report';\n// eslint-disable-next-line\n// import router from '@/router';\n// import { XIcon } from 'vue-feather-icons';\n\nexport default defineComponent({\n name: 'ReviewerReport',\n setup() {\n const userRole = ref();\n const errorMessage = ref();\n const successMessage = ref();\n const showScreen = ref(true);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const triggerReviewerReport = async () => {\n await invokeReviewerReport('/admin/report/NR');\n successMessage.value = 'The report is being processed. You should get that over email in next 15 minutes';\n setTimeout(() => {\n successMessage.value = null;\n }, 6000);\n };\n\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n console.log('inside length');\n if (userRole.value.includes('System Admin') || userRole.value.includes('Proxy Admin') || userRole.value.includes('Community Manager')) {\n showScreen.value = true;\n } else {\n showScreen.value = false;\n }\n }\n });\n return {\n showScreen,\n triggerReviewerReport,\n errorMessage,\n successMessage,\n };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Reviewer_Report.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Reviewer_Report.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Reviewer_Report.vue?vue&type=template&id=11a710d6&scoped=true&\"\nimport script from \"./Reviewer_Report.vue?vue&type=script&lang=ts&\"\nexport * from \"./Reviewer_Report.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Reviewer_Report.vue?vue&type=style&index=0&id=11a710d6&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11a710d6\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const invokeLearnerForProxyReviewer = async (url: string, data: any) => {\n // let res;\n // eslint-disable-next-line camelcase\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n const res = await $http.post(url, data);\n return res;\n};\nexport const invokegetSkillProf = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeGetProxyList = async (url: string, skillId: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(`${url}/${skillId}`).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data.allProxyList;\n return res;\n });\n return res;\n};\n\nexport const invokeProgramProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\nexport const invokegetAllProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\n\nexport const invokeAssignProxyToLearners = async (url: string, data: any) => {\n // let res;\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const invokegetSkillProf = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeReport = async (url: string, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeReviewerReport = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokePlagiarismReport = async (url: string, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeFeedbackReport = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\n","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeseedMaster = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeSkillSync = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeTemplateSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeCacheSync = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeseedDefaultProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeseedRoles = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeSeedProxyReviewers = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeSeedUser = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeDiffAccess = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokemigrateCohort = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortLA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortReview = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeS2TasksMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAImport = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Task = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3LA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Review = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const removeDuplicateProxyLearner = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const updateS3CohortsLearnerModifiedDate = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const invokeofcon = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n// export const invokeMasterSeed = async (url: string) => {\n// let res;\n// // eslint-disable-next-line camelcase\n// await $http.get(`${url}}`).then((response) => {\n// res = response.data;\n// return res;\n// });\n// return res;\n// };\n\nexport const invokeProxyReviewSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeMigrateCohortProgram = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeGetUserRole = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\n\nexport const assignRoleToUser = async (data: any) => {\n const res = await $http.post('/user/role', data);\n return res;\n};\n\nexport const removeRoleFromUser = async (data: any) => {\n const res = await $http.post('/user/removeRole', data);\n return res;\n};\n\nexport const getAllRoles = async () => {\n const res = await $http.get('role');\n return res;\n};\nexport const importLSS = async (key: any) => {\n const res = await $http.post('/user/saveLSS', key);\n return res;\n};\nexport const importEnvaccess = async (key: any) => {\n const res = await $http.post('/user/saveEnvAccess', key);\n return res;\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const invokegetAllProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n console.log('Response', response);\n res = response.data.response.program_name;\n return res;\n });\n return res;\n};\n\nexport const invokegetAllTaskByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const invokeGetAllGenAIReviewedSubmissions = async (url: string, payload: any) => {\n let res: any;\n // eslint-disable-next-line camelcase\n await $http.post(url, payload).then((response) => {\n res = response?.data?.data;\n return res;\n });\n return res;\n};\nexport const getAllOffCycleByByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.learnerDetails;\n return res;\n });\n return res;\n};\nexport const invokeArchieveTask = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\nexport const updateOffcyclestatus = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getTaskById = async (taskId: any) => {\n let getTaskres: any;\n try {\n await $http.get(`/task/${taskId}`).then((response) => {\n getTaskres = response.data.data;\n return getTaskres;\n });\n return getTaskres;\n } catch (error) {\n return error;\n }\n};\nexport const uploadBulkTasks = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const importBulkTask = async (url: any, bulkTasData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, bulkTasData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const resetActiveTaskSequence = async (url: any, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const saveTask = async (data: any) => {\n console.log(`inside save task data ${JSON.stringify(data)}`);\n const savedRes = await $http.post('/task/create', data);\n return savedRes;\n};\n\nexport const invokeExportTask = async (programId: string) => {\n try {\n let res;\n await $http.get(`/admin/task/taskExport/${programId}`).then(async (response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n // await downloadEdcastUrl(res, programName);\n // const fileLink = document.createElement('a');\n // fileLink.href = res;\n // fileLink.setAttribute('download', learnerSubmission);\n // document.body.appendChild(fileLink);\n\n // fileLink.click();\n // fileLink.download = 'EdcastUrl.csv';\n // fileLink.click();\n // URL.revokeObjectURL(fileLink.href);\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","showScreen","_m","searchBtn","_v","attrs","domProps","programName","_e","showSkillProf","skillName","profName","archiveBtn","directives","name","rawName","value","taskBtn","expression","on","$event","createOffCycle","newTaskDetails","_l","task","key","task_id","taskCheckOne","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","showTaskBtn","is_archive","taskcheckedOne","task_name","_s","task_type","renderReady","require","staticRenderFns","defineComponent","props","query","type","Object","default","setup","programDetails","ref","taskDetails","selectedProgram","Program_id","checkedTaskId","userRole","errorMessage","successMessage","unArchiveBtn","skills","proficiency","selectedSkill","skill_id","console","log","selectedProficiency","proficiency_id","taskData","event","taskId","isArchive","cb","getTaskDetails","async","assign","program_id","invokegetAllTaskByProgram","getProgram","invokegetAllProgram","prog","find","program","program_display_name","program_name","getSkillandProf","dataRes","invokegetSkillProf","skill","skill_alias","prof","prof_id","prof_name","programDetail","JSON","stringify","taskDetail","localStorage","setItem","skillDetail","profDetail","router","onBeforeMount","role","invokeGetUserRole","user_roles","length","includes","filter","component","triggerReviewerReport","invokeReviewerReport","setTimeout","invokeLearnerForProxyReviewer","url","data","res","$http","then","response","invokeGetProxyList","skillId","allProxyList","invokeAssignProxyToLearners","invokeReport","invokePlagiarismReport","invokeFeedbackReport","invokeseedMaster","invokeSkillSync","invokeTemplateSeed","invokeCacheSync","invokeseedDefaultProgram","invokeseedRoles","invokeSeedProxyReviewers","invokeSeedUser","invokeDiffAccess","invokemigrateCohort","invokeMigrateCohortLA","invokeMigrateCohortReview","invokeS2TasksMigration","userObj","invokeS2LAImport","invokeS2LAMigration","invokeMigrateS3Task","invokeMigrateS3LA","invokeMigrateS3Review","removeDuplicateProxyLearner","updateS3CohortsLearnerModifiedDate","invokeofcon","invokeProxyReviewSeed","invokeMigrateCohortProgram","assignRoleToUser","removeRoleFromUser","getAllRoles","importLSS","importEnvaccess","programId","tasks","invokeGetAllGenAIReviewedSubmissions","payload","getAllOffCycleByByProgram","learnerDetails","invokeArchieveTask","updateOffcyclestatus","getTaskById","getTaskres","error","uploadBulkTasks","bulkTaskFile","fetch","method","body","uploadResponse","err","importBulkTask","bulkTasData","resetActiveTaskSequence","saveTask","savedRes","invokeExportTask"],"sourceRoot":""}
1
+ {"version":3,"file":"solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js","mappings":"8NAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,SAAS,CAAEL,EAAIM,WAAYJ,EAAG,MAAM,CAACG,YAAY,6EAA6E,CAACL,EAAIO,GAAG,GAAGL,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAAEL,EAAIQ,UAAWN,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,QAAQ,CAACG,YAAY,kEAAkE,CAACL,EAAIS,GAAG,eAAeP,EAAG,QAAQ,CAACG,YAAY,4JAA4JK,MAAM,CAAC,KAAO,OAAO,SAAW,IAAIC,SAAS,CAAC,MAAQX,EAAIY,iBAAiBZ,EAAIa,KAAMb,EAAI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AAA,KAAWH,EAAK9C,GAAUkD,MAAMC,IACpCH,EAAMG,EAASJ,KACRC,KAEFA,CAAG,EAECgD,EAAc1F,UACzB,IAAI2F,EACJ,IAKE,aAJMhD,EAAAA,EAAAA,IAAU,SAAS/C,KAAUgD,MAAMC,IACvC8C,EAAa9C,EAASJ,KAAKA,KACpBkD,KAEFA,C,CACP,MAAOC,GACP,OAAOA,C,GAGEC,EAAkB7F,MAAOwC,EAAUsD,KAC9C,IACE,MAAMpD,QAAYqD,MAAM,GAAGvD,IAAO,CAChCwD,OAAQ,MACRC,KAAMH,IAEFI,EAAiBxD,EACvB,OAAOwD,C,CACP,MAAOC,GAEP,OADA7G,QAAQsG,MAAMO,GACPA,C,GAIEC,EAAiBpG,MAAOwC,EAAU6D,KAC7C,IAAI3D,EAMJ,aAJMC,EAAAA,EAAAA,KAAWH,EAAK6D,GAAazD,MAAMC,IACvCH,EAAMG,EAASJ,KAAK0C,MACbzC,KAEFA,CAAG,EAGC4D,EAA0BtG,MAAOwC,EAAUC,KACtD,IAAIC,EAMJ,aAJMC,EAAAA,EAAAA,KAAWH,EAAKC,GAAMG,MAAMC,IAChCH,EAAMG,EAASJ,KAAK0C,MACbzC,KAEFA,CAAG,EAGC6D,EAAWvG,UACtBV,QAAQC,IAAI,yBAAyB6B,KAAKC,UAAUoB,MACpD,MAAM+D,QAAiB7D,EAAAA,EAAAA,KAAW,eAAgBF,GAClD,OAAO+D,CAAQ,EAGJC,EAAmBzG,UAC9B,IACE,IAAI0C,EAgBJ,aAfMC,EAAAA,EAAAA,IAAU,0BAA0BuC,KAAatC,MAAK5C,UAE1D0C,EAAMG,EAASJ,KAWRC,KAEFA,C,CACP,MAAOkD,GACP,OAAOA,C","sources":["webpack://solidify/./src/views/Admin/Create_OffCycles.vue","webpack://solidify/./src/views/Admin/Create_OffCycles.vue?74f1","webpack://solidify/./src/views/Admin/Create_OffCycles.vue?0b91","webpack://solidify/./src/views/Admin/Create_OffCycles.vue?933f","webpack://solidify/./src/views/Admin/Reviewer_Report.vue","webpack://solidify/./src/views/Admin/Reviewer_Report.vue?c74f","webpack://solidify/./src/views/Admin/Reviewer_Report.vue?c2a4","webpack://solidify/./src/views/Admin/Reviewer_Report.vue?3f41","webpack://solidify/./src/utils/admin/assign_proxy_service.ts","webpack://solidify/./src/utils/admin/harvest_report.ts","webpack://solidify/./src/utils/admin/master_service.ts","webpack://solidify/./src/utils/admin/task_management_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[(_vm.searchBtn)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Program \")]),_c('input',{staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.programName}})]):_vm._e(),(_vm.showSkillProf)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Skill \")]),_c('input',{staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.skillName}})]):_vm._e(),(_vm.showSkillProf)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Proficiency \")]),_c('input',{staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",attrs:{\"type\":\"text\",\"disabled\":\"\"},domProps:{\"value\":_vm.profName}})]):_vm._e()]),_c('div',{staticClass:\"flex w-full\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[(_vm.archiveBtn)?_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskBtn),expression:\"taskBtn\"}],staticClass:\"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.createOffCycle()}}},[_vm._v(\"Create Off-Cycle\")]):_vm._e()])]),(_vm.newTaskDetails)?_c('div',{staticClass:\"w-full mb-2 h-50 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-1 tableScroll\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 align-bottom\"},_vm._l((_vm.newTaskDetails),function(task){return _c('tr',{key:task.task_id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.taskCheckOne),expression:\"taskCheckOne\"}],attrs:{\"type\":\"checkbox\",\"id\":task.task_id},domProps:{\"value\":task.task_id,\"checked\":Array.isArray(_vm.taskCheckOne)?_vm._i(_vm.taskCheckOne,task.task_id)>-1:(_vm.taskCheckOne)},on:{\"change\":[function($event){var $$a=_vm.taskCheckOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=task.task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.taskCheckOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.taskCheckOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.taskCheckOne=$$c}},function($event){return _vm.showTaskBtn($event, task.task_id, task.is_archive)}],\"click\":_vm.taskcheckedOne}})]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.task_name}},[_vm._v(_vm._s(task.task_name))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.is_archive}},[_vm._v(_vm._s(task.is_archive))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.task_type}},[_vm._v(_vm._s(task.task_type))])])}),0)])]):_vm._e(),(_vm.searchBtn)?_c('div',{staticClass:\"w-full text-center mb-4\"},[_c('router-link',{staticClass:\"inline-block mt-8 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md\",attrs:{\"to\":{ name: 'SolidifyAdministrationOffcycleDashboard' }}},[_vm._v(\"Back\")])],1):_vm._e()]),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full flex justify-between\"},[_c('div',{staticClass:\"w-full text-center text-3xl text-background-secondary\"},[_vm._v(\"Create Offcycle(Select Task)\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"text-left py-2 pl-3 pr-0 w-6 text-background-secondary\"}),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Task Name\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Is Archive\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Learner Type\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { invokegetAllProgram, invokegetAllTaskByProgram } from '@/utils/admin/task_management_service';\n// eslint-disable-next-line\nimport router from '@/router';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\nimport { invokegetSkillProf } from '@/utils/admin/assign_proxy_service';\n\nexport default defineComponent({\n name: 'OffcycleManagement',\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n\n setup(props) {\n const programDetails = ref();\n const renderReady = ref(true);\n const taskDetails = ref();\n const taskCheckOne = ref([]);\n const selectedProgram = ref(props.query.Program_id);\n const taskBtn = ref();\n const checkedTaskId = ref();\n const userRole = ref();\n const showScreen = ref(true);\n const errorMessage = ref();\n const successMessage = ref();\n const archiveBtn = ref(false);\n const unArchiveBtn = ref();\n const skills = ref();\n const proficiency = ref();\n const selectedSkill = ref(props.query.skill_id);\n console.log('selectedSkill', selectedSkill);\n const selectedProficiency = ref(props.query.proficiency_id);\n const showSkillProf = ref(false);\n const searchBtn = ref(false);\n const skillName = ref();\n const programName = ref();\n const profName = ref();\n const newTaskDetails = ref();\n const taskData = {};\n const taskcheckedOne = () => {\n taskCheckOne.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showTaskBtn = (event: any, taskId: any, isArchive: any) => {\n const cb = event.target.checked;\n if (cb === true) {\n checkedTaskId.value = taskId;\n taskBtn.value = true;\n if (isArchive === true) {\n archiveBtn.value = false;\n unArchiveBtn.value = true;\n } else {\n archiveBtn.value = true;\n unArchiveBtn.value = false;\n }\n } else {\n taskBtn.value = false;\n archiveBtn.value = false;\n unArchiveBtn.value = false;\n }\n };\n const getTaskDetails = async () => {\n renderReady.value = false;\n Object.assign(taskData, { program_id: selectedProgram.value });\n Object.assign(taskData, { skill_id: selectedSkill.value });\n Object.assign(taskData, { proficiency_id: selectedProficiency.value });\n console.log('taskdata', taskData);\n taskDetails.value = await invokegetAllTaskByProgram('/getAllTaskByProgram', taskData);\n renderReady.value = true;\n };\n const getProgram = async () => {\n renderReady.value = false;\n programDetails.value = await invokegetAllProgram('/cache?cache=program');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const prog = programDetails.value.find((program: any) => program.program_id === selectedProgram.value);\n programName.value = prog.program_display_name ? prog.program_display_name : prog.program_name;\n renderReady.value = true;\n };\n const getSkillandProf = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = await invokegetSkillProf('/getAllSkillProf?skill_type=genome');\n skills.value = dataRes.skill;\n proficiency.value = dataRes.proficiency;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n skillName.value = skills.value.find((skill: any) => skill.skill_id === selectedSkill.value).skill_alias;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n profName.value = proficiency.value.find((prof: any) => prof.prof_id === selectedProficiency.value).prof_name;\n renderReady.value = true;\n };\n const createOffCycle = () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const programDetail = programDetails.value.find((program: any) => program.program_id === selectedProgram.value);\n console.log(`programDetail ${JSON.stringify(programDetail)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const taskDetail = taskDetails.value.find((task: any) => task.task_id === checkedTaskId.value);\n console.log(`taskDetail ${JSON.stringify(taskDetail)}`);\n console.log('programId', selectedProgram.value);\n console.log('programName', programDetail.program_name);\n console.log('linkedTaskId', checkedTaskId.value);\n\n console.log('taskName', taskDetail.task_name);\n console.log('taskType', taskDetail.task_type);\n localStorage.setItem('programId', selectedProgram.value);\n localStorage.setItem('programName', programDetail.program_name);\n localStorage.setItem('linkedTaskId', checkedTaskId.value);\n if (selectedProgram.value === 'infinity') {\n localStorage.setItem('skillId', selectedSkill.value);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const skillDetail = skills.value.find((skill: any) => skill.skill_id === selectedSkill.value);\n console.log(`skillDetail ${JSON.stringify(skillDetail)}`);\n localStorage.setItem('skillName', skillDetail.skill_alias);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const profDetail = proficiency.value.find((prof: any) => prof.prof_id === selectedProficiency.value);\n console.log(`profDetail ${JSON.stringify(profDetail)}`);\n localStorage.setItem('proficiencyId', selectedProficiency.value);\n localStorage.setItem('proficiencyName', profDetail.prof_name);\n console.log('skill', selectedSkill.value);\n console.log('skill Name', skillDetail.skill_alias);\n console.log('proficiency', selectedProficiency.value);\n console.log('prof Name', profDetail.prof_name);\n }\n localStorage.setItem('taskName', taskDetail.task_name);\n localStorage.setItem('taskType', taskDetail.task_type);\n router.push({ name: 'SolidifyAdministrationCreateOffCycle' });\n };\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n if (userRole.value.includes('System Admin') || userRole.value.includes('System Admin View Access') || userRole.value.includes('Community Manager') || userRole.value.includes('Program Admin')) {\n showScreen.value = true;\n } else {\n showScreen.value = false;\n }\n }\n await getProgram();\n await getTaskDetails();\n newTaskDetails.value = taskDetails.value.filter((task) => task.is_archive === false);\n searchBtn.value = true;\n if (selectedProgram.value === 'infinity') {\n await getSkillandProf();\n showSkillProf.value = true;\n } else {\n showSkillProf.value = false;\n }\n });\n return {\n renderReady,\n programDetails,\n taskDetails,\n newTaskDetails,\n taskCheckOne,\n taskcheckedOne,\n checkedTaskId,\n showTaskBtn,\n taskBtn,\n showScreen,\n selectedProgram,\n errorMessage,\n successMessage,\n archiveBtn,\n unArchiveBtn,\n getTaskDetails,\n skills,\n proficiency,\n showSkillProf,\n searchBtn,\n createOffCycle,\n selectedSkill,\n selectedProficiency,\n skillName,\n profName,\n programName,\n };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Create_OffCycles.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Create_OffCycles.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Create_OffCycles.vue?vue&type=template&id=677b6451&scoped=true&\"\nimport script from \"./Create_OffCycles.vue?vue&type=script&lang=ts&\"\nexport * from \"./Create_OffCycles.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Create_OffCycles.vue?vue&type=style&index=0&id=677b6451&prod&scoped=true&lang=postcss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"677b6451\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"max-w-6xl m-auto shadow p-4 text-background-secondary\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-full mb-4\"},[_c('button',{staticClass:\"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.triggerReviewerReport()}}},[_vm._v(\"Trigger Need Reviewer Report\")])])]),(_vm.successMessage)?_c('div',{staticClass:\"text-green-700\"},[_vm._v(_vm._s(_vm.successMessage))]):_vm._e()])])]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Need Reviewer Report\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\nimport { invokeReviewerReport } from '@/utils/admin/harvest_report';\n// eslint-disable-next-line\n// import router from '@/router';\n// import { XIcon } from 'vue-feather-icons';\n\nexport default defineComponent({\n name: 'ReviewerReport',\n setup() {\n const userRole = ref();\n const errorMessage = ref();\n const successMessage = ref();\n const showScreen = ref(true);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const triggerReviewerReport = async () => {\n await invokeReviewerReport('/admin/report/NR');\n successMessage.value = 'The report is being processed. You should get that over email in next 15 minutes';\n setTimeout(() => {\n successMessage.value = null;\n }, 6000);\n };\n\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n console.log('inside length');\n if (userRole.value.includes('System Admin') || userRole.value.includes('Proxy Admin') || userRole.value.includes('Community Manager')) {\n showScreen.value = true;\n } else {\n showScreen.value = false;\n }\n }\n });\n return {\n showScreen,\n triggerReviewerReport,\n errorMessage,\n successMessage,\n };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Reviewer_Report.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Reviewer_Report.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Reviewer_Report.vue?vue&type=template&id=11a710d6&scoped=true&\"\nimport script from \"./Reviewer_Report.vue?vue&type=script&lang=ts&\"\nexport * from \"./Reviewer_Report.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Reviewer_Report.vue?vue&type=style&index=0&id=11a710d6&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11a710d6\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const invokeLearnerForProxyReviewer = async (url: string, data: any) => {\n // let res;\n // eslint-disable-next-line camelcase\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n const res = await $http.post(url, data);\n return res;\n};\nexport const invokegetSkillProf = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeGetProxyList = async (url: string, skillId: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(`${url}/${skillId}`).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data.allProxyList;\n return res;\n });\n return res;\n};\n\nexport const invokeProgramProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\nexport const invokegetAllProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\n\nexport const invokeAssignProxyToLearners = async (url: string, data: any) => {\n // let res;\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const invokegetSkillProf = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeReport = async (url: string, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeReviewerReport = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokePlagiarismReport = async (url: string, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeFeedbackReport = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\n","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeseedMaster = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeSkillSync = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeTemplateSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeCacheSync = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeseedDefaultProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeseedRoles = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeSeedProxyReviewers = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeSeedUser = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeDiffAccess = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokemigrateCohort = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortLA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortReview = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeS2TasksMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAImport = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Task = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3LA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Review = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const removeDuplicateProxyLearner = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const updateS3CohortsLearnerModifiedDate = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const invokeofcon = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n// export const invokeMasterSeed = async (url: string) => {\n// let res;\n// // eslint-disable-next-line camelcase\n// await $http.get(`${url}}`).then((response) => {\n// res = response.data;\n// return res;\n// });\n// return res;\n// };\n\nexport const invokeProxyReviewSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeMigrateCohortProgram = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeGetUserRole = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\n\nexport const assignRoleToUser = async (data: any) => {\n const res = await $http.post('/user/role', data);\n return res;\n};\n\nexport const removeRoleFromUser = async (data: any) => {\n const res = await $http.post('/user/removeRole', data);\n return res;\n};\n\nexport const getAllRoles = async () => {\n const res = await $http.get('role');\n return res;\n};\nexport const importLSS = async (key: any) => {\n const res = await $http.post('/user/saveLSS', key);\n return res;\n};\nexport const importEnvaccess = async (key: any) => {\n const res = await $http.post('/user/saveEnvAccess', key);\n return res;\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const invokegetAllProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n console.log('Response', response);\n res = response.data.response.program_name;\n return res;\n });\n return res;\n};\n\nexport const invokegetAllTaskByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const invokeGetAllGenAIReviewedSubmissions = async (url: string, payload: any) => {\n let res: any;\n // eslint-disable-next-line camelcase\n await $http.post(url, payload).then((response) => {\n res = response?.data?.data;\n return res;\n });\n return res;\n};\nexport const getAllOffCycleByByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.learnerDetails;\n return res;\n });\n return res;\n};\nexport const invokeArchieveTask = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\nexport const updateOffcyclestatus = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getTaskById = async (taskId: any) => {\n let getTaskres: any;\n try {\n await $http.get(`/task/${taskId}`).then((response) => {\n getTaskres = response.data.data;\n return getTaskres;\n });\n return getTaskres;\n } catch (error) {\n return error;\n }\n};\nexport const uploadBulkTasks = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const importBulkTask = async (url: any, bulkTasData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, bulkTasData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const resetActiveTaskSequence = async (url: any, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const saveTask = async (data: any) => {\n console.log(`inside save task data ${JSON.stringify(data)}`);\n const savedRes = await $http.post('/task/create', data);\n return savedRes;\n};\n\nexport const invokeExportTask = async (programId: string) => {\n try {\n let res;\n await $http.get(`/admin/task/taskExport/${programId}`).then(async (response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n // await downloadEdcastUrl(res, programName);\n // const fileLink = document.createElement('a');\n // fileLink.href = res;\n // fileLink.setAttribute('download', learnerSubmission);\n // document.body.appendChild(fileLink);\n\n // fileLink.click();\n // fileLink.download = 'EdcastUrl.csv';\n // fileLink.click();\n // URL.revokeObjectURL(fileLink.href);\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","showScreen","_m","searchBtn","_v","attrs","domProps","programName","_e","showSkillProf","skillName","profName","archiveBtn","directives","name","rawName","value","taskBtn","expression","on","$event","createOffCycle","newTaskDetails","_l","task","key","task_id","taskCheckOne","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","showTaskBtn","is_archive","taskcheckedOne","task_name","_s","task_type","renderReady","require","staticRenderFns","defineComponent","props","query","type","Object","default","setup","programDetails","ref","taskDetails","selectedProgram","Program_id","checkedTaskId","userRole","errorMessage","successMessage","unArchiveBtn","skills","proficiency","selectedSkill","skill_id","console","log","selectedProficiency","proficiency_id","taskData","event","taskId","isArchive","cb","getTaskDetails","async","assign","program_id","invokegetAllTaskByProgram","getProgram","invokegetAllProgram","prog","find","program","program_display_name","program_name","getSkillandProf","dataRes","invokegetSkillProf","skill","skill_alias","prof","prof_id","prof_name","programDetail","JSON","stringify","taskDetail","localStorage","setItem","skillDetail","profDetail","router","onBeforeMount","role","invokeGetUserRole","user_roles","length","includes","filter","component","triggerReviewerReport","invokeReviewerReport","setTimeout","invokeLearnerForProxyReviewer","url","data","res","$http","then","response","invokeGetProxyList","skillId","allProxyList","invokeAssignProxyToLearners","invokeReport","invokePlagiarismReport","invokeFeedbackReport","invokeseedMaster","invokeSkillSync","invokeTemplateSeed","invokeCacheSync","invokeseedDefaultProgram","invokeseedRoles","invokeSeedProxyReviewers","invokeSeedUser","invokeDiffAccess","invokemigrateCohort","invokeMigrateCohortLA","invokeMigrateCohortReview","invokeS2TasksMigration","userObj","invokeS2LAImport","invokeS2LAMigration","invokeMigrateS3Task","invokeMigrateS3LA","invokeMigrateS3Review","removeDuplicateProxyLearner","updateS3CohortsLearnerModifiedDate","invokeofcon","invokeProxyReviewSeed","invokeMigrateCohortProgram","assignRoleToUser","removeRoleFromUser","getAllRoles","importLSS","importEnvaccess","programId","tasks","invokeGetAllGenAIReviewedSubmissions","payload","getAllOffCycleByByProgram","learnerDetails","invokeArchieveTask","updateOffcyclestatus","getTaskById","getTaskres","error","uploadBulkTasks","bulkTaskFile","fetch","method","body","uploadResponse","err","importBulkTask","bulkTasData","resetActiveTaskSequence","saveTask","savedRes","invokeExportTask"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[670],{2985:function(e,t,a){a.r(t),a.d(t,{default:function(){return m}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.userRole?t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Program ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProgram,expression:"selectedProgram"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProgram=t.target.multiple?a:a[0]},function(t){return e.getSelectedProgram(t)}]}},[t("option",[e._v("Select Program")]),e._l(e.programDetails,(function(a){return t("option",{key:a.program_id,domProps:{value:a.program_id}},[e._v(e._s(a.program_display_name?a.program_display_name:a.program_name))])}))],2)]),e.showSkillProf?t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedSkill=t.target.multiple?a:a[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2),e.skillErrorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.skillErrorMessage))]):e._e()]):e._e(),e.showSkillProf?t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProficiency=t.target.multiple?a:a[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2),e.proficiencyError?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.proficiencyError))]):e._e()]):e._e(),e.searchBtn?t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.searchTask()}}},[e._v("Search")]),t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.exportOffcycle()}}},[e._v("Export")])]):e._e()]),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),t("div",{staticClass:"flex w-full mt-6"},[e.searchBtn?t("div",{staticClass:"pr-3 mb-4 w-full"},[t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.createOffcycle()}}},[e._v("Create Offcycle")]),e.showIsOffcycleActive&&e.showInactiveButton?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.filterTaskDetails(!1)}}},[e._v("Show Inactive Offcycles")]):e._e(),!e.showIsOffcycleActive&&e.showInactiveButton?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.filterTaskDetails(!0)}}},[e._v("Show Active Offcycles")]):e._e(),t("button",{directives:[{name:"show",rawName:"v-show",value:e.offCycleDetailsBtnShow,expression:"offCycleDetailsBtnShow"}],staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.viewOffCycleDetails()}}},[e._v("View Details")])]):e._e()]),e.taskDetails?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 tableScroll"},[e._m(1),t("tbody",{staticClass:"opacity-80 align-bottom"},e._l(e.newTaskDetails,(function(a){return t("tr",{key:a.learner_task_id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.taskCheckOne)?e._i(e.taskCheckOne,a.learner_task_id)>-1:e.taskCheckOne},on:{click:e.taskcheckedOne,change:[function(t){var r=e.taskCheckOne,l=t.target,n=!!l.checked;if(Array.isArray(r)){var s=a.learner_task_id,c=e._i(r,s);l.checked?c<0&&(e.taskCheckOne=r.concat([s])):c>-1&&(e.taskCheckOne=r.slice(0,c).concat(r.slice(c+1)))}else e.taskCheckOne=n},function(t){return e.showTaskBtn(t,a.learner_task_id,a.is_offcycle_active,a.linked_task_id)}]}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.taskName}},[e._v(e._s(a.taskName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.is_archive}},[e._v(e._s(a.is_archive))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.is_offcycle_active}},[e._v(e._s(1==a.is_offcycle_active))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_type}},[e._v(e._s(a.task_type))])])})),0)])]):e._e()]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])]):e._e()},l=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex justify-between"},[t("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[e._v("Offcycle Dashboard")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task IsArchive")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Is Offcycle Active")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task type")])])])}],n=(a(7658),a(7203)),s=a(9649),c=a(5279),o=a(8709),i=a(442),u=a(9955),f=a(7129),d=(0,n.defineComponent)({name:"OffcycleDashboard",components:{},setup(){const e=(0,n.ref)(),t=(0,n.ref)(!0),a=(0,n.ref)(),r=(0,n.ref)(),l=(0,n.ref)(!0),d=(0,n.ref)([]),v=(0,n.ref)("Select Program"),g=(0,n.ref)(),y=(0,n.ref)(),m=(0,n.ref)(),p=(0,n.ref)(!0),k=(0,n.ref)(),h=(0,n.ref)(),_=(0,n.ref)(),w=(0,n.ref)(),b=(0,n.ref)("Select Skill"),S=(0,n.ref)("Select Proficiency"),x=(0,n.ref)(!1),C=(0,n.ref)(!1),P=(0,n.ref)(!1);let Z={};const O=(0,n.ref)(),I=(0,n.ref)(),A=(0,n.ref)(!1),T=()=>{d.value=[]},D=(e,t,a,r)=>{const l=e.target.checked;!0===l?(g.value=t,y.value=r,A.value=!0,console.log("isOffCycleActive",a)):A.value=!1},N=async e=>{r.value=e?a.value.filter((e=>1===Number(e.is_offcycle_active))):a.value.filter((e=>1!==Number(e.is_offcycle_active))),l.value=e},j=async()=>{t.value=!1,a.value=await(0,s.rP)("/getAllOffcycleByProgram",Z),await N(!0),console.log("taskDetails.value ",a.value),t.value=!0},$=async()=>{try{const e={};"Select Program"!==v.value&&(Object.assign(e,{program_id:v.value}),"Select Skill"!==b.value&&(Object.assign(e,{skill_id:b.value}),"Select Proficiency"!==S.value&&Object.assign(e,{proficiency_id:S.value}))),await(0,u.Yg)("/offcycle/fetch?action=report",e),h.value="The report is being processed. You should get that over email in next 15 minutes",setTimeout((()=>{h.value=null}),6e3)}catch(e){if(f.Z.isAxiosError(e)){const a=e;console.log("err.response?.data",a.response?.data),t.value=!0,k.value=a.response?.data?.message,console.log(`errorMessage.value ${k.value}`),setTimeout((()=>{k.value=null}),6e3)}}},B=async()=>{if(P.value=!0,Z={},"Select Program"!==v.value){if(Object.assign(Z,{program_id:v.value}),console.log("task data",Z),"Select Skill"!==b.value&&(Object.assign(Z,{skill_id:b.value}),console.log("task data",Z),"Select Proficiency"!==S.value&&(Object.assign(Z,{proficiency_id:S.value}),console.log("task data",Z))),"infinity"===v.value){if("Select Skill"===b.value)return O.value="Please Select Skill",void setTimeout((()=>{O.value=null}),6e3);if("Select Proficiency"===S.value)return I.value="Please Select Proficiency",void setTimeout((()=>{I.value=null}),6e3)}await j()}else a.value={},r.value={},P.value=!1},M=async e=>{t.value=!1,localStorage.setItem("program",e.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),v.value=e.target.value,"Select Program"!==v.value?(C.value=!0,"infinity"===v.value?(b.value="Select Skill",S.value="Select Proficiency",x.value=!0):(x.value=!1,b.value="",S.value="")):(localStorage.setItem("program","Select Program"),P.value=!1,x.value=!1),t.value=!0},E=async e=>{localStorage.setItem("skill",e.target.value),b.value=e.target.value,"Select Skill"===b.value&&localStorage.removeItem("skill")},V=async e=>{localStorage.setItem("proficiency",e.target.value),S.value=e.target.value,"Select Proficiency"===S.value&&localStorage.removeItem("proficiency")},R=async()=>{t.value=!1,e.value=await(0,s.dr)("/cache?cache=program"),console.log(e.value),t.value=!0},L=async()=>{t.value=!1;const e=await(0,o.QZ)("/getAllSkillProf?skill_type=genome");_.value=e.skill,w.value=e.proficiency,t.value=!0},F=()=>{i.Z.push({name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:g.value}})},X=()=>{console.log("selectedProgram.value inside create offcycle",v.value),console.log("selectedSkill.value inside create offcycle",b.value),console.log("selectedProficiency.value inside create offcycle",S.value),"infinity"!==v.value&&"Select Program"!==v.value||"Select Skill"!==b.value&&"Select Proficiency"!==S.value&&S.value?(console.log("selectedProgram.value",v.value),"infinity"!==v.value?i.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:v.value}}):i.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:v.value,skill_id:b.value,proficiency_id:S.value}})):(k.value="Please select Program, and in case of infinity please select skill and proficiency",setTimeout((()=>{k.value=null}),6e3))};return(0,n.onBeforeMount)((async()=>{const e=await(0,c.GF)("/getUserRole");if(m.value=e.user_roles,m.value.length>0&&(m.value.includes("System Admin")||m.value.includes("System Admin View Access")||m.value.includes("Program Admin")?p.value=!0:p.value=!1),localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),await R(),await L(),localStorage.getItem("program")&&(v.value=localStorage.getItem("program")||"Select Program",Object.assign(Z,{program_id:localStorage.getItem("program")}),localStorage.getItem("skill")&&(b.value=localStorage.getItem("skill")||"Select Skill",Object.assign(Z,{skill_id:localStorage.getItem("skill")}),localStorage.getItem("proficiency")&&(S.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(Z,{proficiency_id:localStorage.getItem("proficiency")})))),console.log("Local Storage Value",Z),localStorage.getItem("program")&&"Select Program"!==localStorage.getItem("program")){console.log("inside onbefore");try{await j()}catch(a){if(f.Z.isAxiosError(a)){const e=a;console.log("err.response?.data",e.response?.data),t.value=!0,k.value=e.response?.data?.message,console.log(`errorMessage.value ${k.value}`),setTimeout((()=>{k.value=null}),6e3)}}}C.value=!0,"Select Program"!==v.value&&(P.value=!0),"infinity"===v.value?x.value=!0:x.value=!1})),{renderReady:t,programDetails:e,getSelectedProgram:M,taskDetails:a,taskCheckOne:d,taskcheckedOne:T,checkedTaskId:g,showTaskBtn:D,showScreen:p,selectedProgram:v,errorMessage:k,successMessage:h,getTaskDetails:j,skills:_,proficiency:w,getSelectedSkill:E,getSelectedProficiency:V,showSkillProf:x,searchBtn:C,selectedSkill:b,selectedProficiency:S,searchTask:B,exportOffcycle:$,offCycleDetailsBtnShow:A,viewOffCycleDetails:F,createOffcycle:X,showIsOffcycleActive:l,newTaskDetails:r,filterTaskDetails:N,userRole:m,showInactiveButton:P,skillErrorMessage:O,proficiencyError:I}}}),v=d,g=a(1001),y=(0,g.Z)(v,r,l,!1,null,"726fb9dd",null),m=y.exports},8709:function(e,t,a){a.d(t,{G7:function(){return l},Nl:function(){return s},QZ:function(){return n},kn:function(){return c}});var r=a(7129);const l=async(e,t)=>{const a=await r.Z.post(e,t);return a},n=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},s=async(e,t)=>{let a;return await r.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},c=async(e,t)=>{const a=await r.Z.post(e,t);return a}},9955:function(e,t,a){a.d(t,{Yg:function(){return n},sw:function(){return l}});var r=a(7129);const l=async(e,t)=>{const a=await r.Z.post(e,t);return a},n=async(e,t)=>{const a=await r.Z.post(e,t);return a}},5279:function(e,t,a){a.d(t,{$d:function(){return l},$i:function(){return S},Ao:function(){return m},DU:function(){return g},EX:function(){return T},F5:function(){return D},FS:function(){return d},GF:function(){return Z},Iu:function(){return s},J1:function(){return b},Jf:function(){return h},Kk:function(){return p},N9:function(){return O},P8:function(){return u},VP:function(){return k},Vz:function(){return x},WX:function(){return v},X$:function(){return _},XP:function(){return n},Yb:function(){return P},a4:function(){return I},dH:function(){return w},gh:function(){return y},nb:function(){return o},oA:function(){return C},r4:function(){return f},sd:function(){return i},wp:function(){return c},xJ:function(){return A}});var r=a(7129);const l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},g=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},y=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},m=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},p=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},k=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},h=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},_=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},w=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},b=async e=>{const t=await r.Z.get(e);return t},S=async e=>{const t=await r.Z.get(e);return t},x=async e=>{const t=await r.Z.get(e);return t},C=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},P=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},Z=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},O=async e=>{const t=await r.Z.post("/user/role",e);return t},I=async e=>{const t=await r.Z.post("/user/removeRole",e);return t},A=async()=>{const e=await r.Z.get("role");return e},T=async e=>{const t=await r.Z.post("/user/saveLSS",e);return t},D=async e=>{const t=await r.Z.post("/user/saveEnvAccess",e);return t}},9649:function(e,t,a){a.d(t,{$M:function(){return d},F9:function(){return g},HX:function(){return o},V$:function(){return i},VA:function(){return n},Vz:function(){return s},dr:function(){return l},gs:function(){return y},jz:function(){return v},q$:function(){return f},rP:function(){return c},yW:function(){return u}});var r=a(7129);const l=async e=>{let t;return await r.Z.get(e).then((e=>(console.log("Response",e),t=e.data.response.program_name,t))),t},n=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},s=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e?.data?.data,a))),a},c=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.learnerDetails,a))),a},o=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},i=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},u=async e=>{let t;try{return await r.Z.get(`/task/${e}`).then((e=>(t=e.data.data,t))),t}catch(a){return a}},f=async(e,t)=>{try{const a=await fetch(`${e}`,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},d=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},v=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},g=async e=>{console.log(`inside save task data ${JSON.stringify(e)}`);const t=await r.Z.post("/task/create",e);return t},y=async e=>{try{let t;return await r.Z.get(`/admin/task/taskExport/${e}`).then((async e=>(t=e.data,t))),t}catch(t){return t}}}}]);
1
+ "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[670],{2985:function(e,t,a){a.r(t),a.d(t,{default:function(){return m}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.userRole?t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Program ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProgram,expression:"selectedProgram"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProgram=t.target.multiple?a:a[0]},function(t){return e.getSelectedProgram(t)}]}},[t("option",[e._v("Select Program")]),e._l(e.programDetails,(function(a){return t("option",{key:a.program_id,domProps:{value:a.program_id}},[e._v(e._s(a.program_display_name?a.program_display_name:a.program_name))])}))],2)]),e.showSkillProf?t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedSkill=t.target.multiple?a:a[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2),e.skillErrorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.skillErrorMessage))]):e._e()]):e._e(),e.showSkillProf?t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProficiency=t.target.multiple?a:a[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2),e.proficiencyError?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.proficiencyError))]):e._e()]):e._e(),e.searchBtn?t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.searchTask()}}},[e._v("Search")]),t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.exportOffcycle()}}},[e._v("Export")])]):e._e()]),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),t("div",{staticClass:"flex w-full mt-6"},[e.searchBtn?t("div",{staticClass:"pr-3 mb-4 w-full"},[t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.createOffcycle()}}},[e._v("Create Offcycle")]),e.showIsOffcycleActive&&e.showInactiveButton?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.filterTaskDetails(!1)}}},[e._v("Show Inactive Offcycles")]):e._e(),!e.showIsOffcycleActive&&e.showInactiveButton?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.filterTaskDetails(!0)}}},[e._v("Show Active Offcycles")]):e._e(),t("button",{directives:[{name:"show",rawName:"v-show",value:e.offCycleDetailsBtnShow,expression:"offCycleDetailsBtnShow"}],staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.viewOffCycleDetails()}}},[e._v("View Details")])]):e._e()]),e.taskDetails?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 tableScroll"},[e._m(1),t("tbody",{staticClass:"opacity-80 align-bottom"},e._l(e.newTaskDetails,(function(a){return t("tr",{key:a.learner_task_id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.taskCheckOne)?e._i(e.taskCheckOne,a.learner_task_id)>-1:e.taskCheckOne},on:{click:e.taskcheckedOne,change:[function(t){var r=e.taskCheckOne,l=t.target,n=!!l.checked;if(Array.isArray(r)){var s=a.learner_task_id,c=e._i(r,s);l.checked?c<0&&(e.taskCheckOne=r.concat([s])):c>-1&&(e.taskCheckOne=r.slice(0,c).concat(r.slice(c+1)))}else e.taskCheckOne=n},function(t){return e.showTaskBtn(t,a.learner_task_id,a.is_offcycle_active,a.linked_task_id)}]}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.taskName}},[e._v(e._s(a.taskName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.is_archive}},[e._v(e._s(a.is_archive))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.is_offcycle_active}},[e._v(e._s(1==a.is_offcycle_active))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_type}},[e._v(e._s(a.task_type))])])})),0)])]):e._e()]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])]):e._e()},l=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex justify-between"},[t("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[e._v("Offcycle Dashboard")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task IsArchive")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Is Offcycle Active")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task type")])])])}],n=(a(7658),a(7203)),s=a(9649),c=a(5279),o=a(8709),i=a(4642),u=a(9955),f=a(7129),d=(0,n.defineComponent)({name:"OffcycleDashboard",components:{},setup(){const e=(0,n.ref)(),t=(0,n.ref)(!0),a=(0,n.ref)(),r=(0,n.ref)(),l=(0,n.ref)(!0),d=(0,n.ref)([]),v=(0,n.ref)("Select Program"),g=(0,n.ref)(),y=(0,n.ref)(),m=(0,n.ref)(),p=(0,n.ref)(!0),k=(0,n.ref)(),h=(0,n.ref)(),_=(0,n.ref)(),w=(0,n.ref)(),b=(0,n.ref)("Select Skill"),S=(0,n.ref)("Select Proficiency"),x=(0,n.ref)(!1),C=(0,n.ref)(!1),P=(0,n.ref)(!1);let Z={};const O=(0,n.ref)(),I=(0,n.ref)(),A=(0,n.ref)(!1),T=()=>{d.value=[]},D=(e,t,a,r)=>{const l=e.target.checked;!0===l?(g.value=t,y.value=r,A.value=!0,console.log("isOffCycleActive",a)):A.value=!1},N=async e=>{r.value=e?a.value.filter((e=>1===Number(e.is_offcycle_active))):a.value.filter((e=>1!==Number(e.is_offcycle_active))),l.value=e},j=async()=>{t.value=!1,a.value=await(0,s.rP)("/getAllOffcycleByProgram",Z),await N(!0),console.log("taskDetails.value ",a.value),t.value=!0},$=async()=>{try{const e={};"Select Program"!==v.value&&(Object.assign(e,{program_id:v.value}),"Select Skill"!==b.value&&(Object.assign(e,{skill_id:b.value}),"Select Proficiency"!==S.value&&Object.assign(e,{proficiency_id:S.value}))),await(0,u.Yg)("/offcycle/fetch?action=report",e),h.value="The report is being processed. You should get that over email in next 15 minutes",setTimeout((()=>{h.value=null}),6e3)}catch(e){if(f.Z.isAxiosError(e)){const a=e;console.log("err.response?.data",a.response?.data),t.value=!0,k.value=a.response?.data?.message,console.log(`errorMessage.value ${k.value}`),setTimeout((()=>{k.value=null}),6e3)}}},B=async()=>{if(P.value=!0,Z={},"Select Program"!==v.value){if(Object.assign(Z,{program_id:v.value}),console.log("task data",Z),"Select Skill"!==b.value&&(Object.assign(Z,{skill_id:b.value}),console.log("task data",Z),"Select Proficiency"!==S.value&&(Object.assign(Z,{proficiency_id:S.value}),console.log("task data",Z))),"infinity"===v.value){if("Select Skill"===b.value)return O.value="Please Select Skill",void setTimeout((()=>{O.value=null}),6e3);if("Select Proficiency"===S.value)return I.value="Please Select Proficiency",void setTimeout((()=>{I.value=null}),6e3)}await j()}else a.value={},r.value={},P.value=!1},M=async e=>{t.value=!1,localStorage.setItem("program",e.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),v.value=e.target.value,"Select Program"!==v.value?(C.value=!0,"infinity"===v.value?(b.value="Select Skill",S.value="Select Proficiency",x.value=!0):(x.value=!1,b.value="",S.value="")):(localStorage.setItem("program","Select Program"),P.value=!1,x.value=!1),t.value=!0},E=async e=>{localStorage.setItem("skill",e.target.value),b.value=e.target.value,"Select Skill"===b.value&&localStorage.removeItem("skill")},V=async e=>{localStorage.setItem("proficiency",e.target.value),S.value=e.target.value,"Select Proficiency"===S.value&&localStorage.removeItem("proficiency")},R=async()=>{t.value=!1,e.value=await(0,s.dr)("/cache?cache=program"),console.log(e.value),t.value=!0},L=async()=>{t.value=!1;const e=await(0,o.QZ)("/getAllSkillProf?skill_type=genome");_.value=e.skill,w.value=e.proficiency,t.value=!0},F=()=>{i.Z.push({name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:g.value}})},X=()=>{console.log("selectedProgram.value inside create offcycle",v.value),console.log("selectedSkill.value inside create offcycle",b.value),console.log("selectedProficiency.value inside create offcycle",S.value),"infinity"!==v.value&&"Select Program"!==v.value||"Select Skill"!==b.value&&"Select Proficiency"!==S.value&&S.value?(console.log("selectedProgram.value",v.value),"infinity"!==v.value?i.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:v.value}}):i.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:v.value,skill_id:b.value,proficiency_id:S.value}})):(k.value="Please select Program, and in case of infinity please select skill and proficiency",setTimeout((()=>{k.value=null}),6e3))};return(0,n.onBeforeMount)((async()=>{const e=await(0,c.GF)("/getUserRole");if(m.value=e.user_roles,m.value.length>0&&(m.value.includes("System Admin")||m.value.includes("System Admin View Access")||m.value.includes("Program Admin")?p.value=!0:p.value=!1),localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),await R(),await L(),localStorage.getItem("program")&&(v.value=localStorage.getItem("program")||"Select Program",Object.assign(Z,{program_id:localStorage.getItem("program")}),localStorage.getItem("skill")&&(b.value=localStorage.getItem("skill")||"Select Skill",Object.assign(Z,{skill_id:localStorage.getItem("skill")}),localStorage.getItem("proficiency")&&(S.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(Z,{proficiency_id:localStorage.getItem("proficiency")})))),console.log("Local Storage Value",Z),localStorage.getItem("program")&&"Select Program"!==localStorage.getItem("program")){console.log("inside onbefore");try{await j()}catch(a){if(f.Z.isAxiosError(a)){const e=a;console.log("err.response?.data",e.response?.data),t.value=!0,k.value=e.response?.data?.message,console.log(`errorMessage.value ${k.value}`),setTimeout((()=>{k.value=null}),6e3)}}}C.value=!0,"Select Program"!==v.value&&(P.value=!0),"infinity"===v.value?x.value=!0:x.value=!1})),{renderReady:t,programDetails:e,getSelectedProgram:M,taskDetails:a,taskCheckOne:d,taskcheckedOne:T,checkedTaskId:g,showTaskBtn:D,showScreen:p,selectedProgram:v,errorMessage:k,successMessage:h,getTaskDetails:j,skills:_,proficiency:w,getSelectedSkill:E,getSelectedProficiency:V,showSkillProf:x,searchBtn:C,selectedSkill:b,selectedProficiency:S,searchTask:B,exportOffcycle:$,offCycleDetailsBtnShow:A,viewOffCycleDetails:F,createOffcycle:X,showIsOffcycleActive:l,newTaskDetails:r,filterTaskDetails:N,userRole:m,showInactiveButton:P,skillErrorMessage:O,proficiencyError:I}}}),v=d,g=a(1001),y=(0,g.Z)(v,r,l,!1,null,"726fb9dd",null),m=y.exports},8709:function(e,t,a){a.d(t,{G7:function(){return l},Nl:function(){return s},QZ:function(){return n},kn:function(){return c}});var r=a(7129);const l=async(e,t)=>{const a=await r.Z.post(e,t);return a},n=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},s=async(e,t)=>{let a;return await r.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},c=async(e,t)=>{const a=await r.Z.post(e,t);return a}},9955:function(e,t,a){a.d(t,{Yg:function(){return n},sw:function(){return l}});var r=a(7129);const l=async(e,t)=>{const a=await r.Z.post(e,t);return a},n=async(e,t)=>{const a=await r.Z.post(e,t);return a}},5279:function(e,t,a){a.d(t,{$d:function(){return l},$i:function(){return S},Ao:function(){return m},DU:function(){return g},EX:function(){return T},F5:function(){return D},FS:function(){return d},GF:function(){return Z},Iu:function(){return s},J1:function(){return b},Jf:function(){return h},Kk:function(){return p},N9:function(){return O},P8:function(){return u},VP:function(){return k},Vz:function(){return x},WX:function(){return v},X$:function(){return _},XP:function(){return n},Yb:function(){return P},a4:function(){return I},dH:function(){return w},gh:function(){return y},nb:function(){return o},oA:function(){return C},r4:function(){return f},sd:function(){return i},wp:function(){return c},xJ:function(){return A}});var r=a(7129);const l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},g=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},y=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},m=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},p=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},k=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},h=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},_=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},w=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},b=async e=>{const t=await r.Z.get(e);return t},S=async e=>{const t=await r.Z.get(e);return t},x=async e=>{const t=await r.Z.get(e);return t},C=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},P=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},Z=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},O=async e=>{const t=await r.Z.post("/user/role",e);return t},I=async e=>{const t=await r.Z.post("/user/removeRole",e);return t},A=async()=>{const e=await r.Z.get("role");return e},T=async e=>{const t=await r.Z.post("/user/saveLSS",e);return t},D=async e=>{const t=await r.Z.post("/user/saveEnvAccess",e);return t}},9649:function(e,t,a){a.d(t,{$M:function(){return d},F9:function(){return g},HX:function(){return o},V$:function(){return i},VA:function(){return n},Vz:function(){return s},dr:function(){return l},gs:function(){return y},jz:function(){return v},q$:function(){return f},rP:function(){return c},yW:function(){return u}});var r=a(7129);const l=async e=>{let t;return await r.Z.get(e).then((e=>(console.log("Response",e),t=e.data.response.program_name,t))),t},n=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},s=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e?.data?.data,a))),a},c=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.learnerDetails,a))),a},o=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},i=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},u=async e=>{let t;try{return await r.Z.get(`/task/${e}`).then((e=>(t=e.data.data,t))),t}catch(a){return a}},f=async(e,t)=>{try{const a=await fetch(`${e}`,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},d=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},v=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},g=async e=>{console.log(`inside save task data ${JSON.stringify(e)}`);const t=await r.Z.post("/task/create",e);return t},y=async e=>{try{let t;return await r.Z.get(`/admin/task/taskExport/${e}`).then((async e=>(t=e.data,t))),t}catch(t){return t}}}}]);
2
2
  //# sourceMappingURL=solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js.map