@genpact/genome.mfe.solidify-app 1.17.2-alpha.242 → 1.17.2-alpha.243
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.
- package/dist/solidify.umd.min.LearnerRereview.js +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/solidify.umd.min.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,UAAWF,EAAG,OAAO,CAACG,YAAY,oHAAoH,CAACH,EAAG,aAAa,CAACI,MAAM,CAAC,KAAO,eAAe,CAACJ,EAAG,MAAM,CAACG,YAAY,gBAAgBE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,MAAM,cAAc,IAAI,CAACP,EAAG,MAAM,CAACG,YAAY,iBAAiBE,GAAG,CAAC,MAAQ,SAASC,GAAQA,EAAOE,iBAAkB,IAAI,CAAEV,EAAIW,aAAcT,EAAG,MAAM,CAACG,YA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AO,CAChCgK,OAAQ,MACRtG,KAAMqG,IAEFE,EAAiBnD,EACvB,OAAOmD,C,CACP,MAAOC,GAEP,OADAlG,QAAQD,MAAMmG,GACPA,C,GAIEC,EAAiBrL,MAAOkB,EAAUoK,KAC7C,IAAItD,EAMJ,aAJMC,EAAAA,EAAAA,KAAW/G,EAAKoK,GAAapD,MAAMlH,IACvCgH,EAAMhH,EAAS+G,KAAKwC,MACbvC,KAEFA,CAAG,EAGCuD,EAA0BvL,MAAOkB,EAAU6G,KACtD,IAAIC,EAMJ,aAJMC,EAAAA,EAAAA,KAAW/G,EAAK6G,GAAMG,MAAMlH,IAChCgH,EAAMhH,EAAS+G,KAAKwC,MACbvC,KAEFA,CAAG,EAGCwD,EAAWxL,UACtBkF,QAAQ0C,IAAI,yBAAyB6D,KAAKC,UAAU3D,MACpD,MAAM4D,QAAiB1D,EAAAA,EAAAA,KAAW,eAAgBF,GAClD,OAAO4D,CAAQ,EAGJC,EAAmB5L,UAC9B,IACE,IAAIgI,EAgBJ,aAfMC,EAAAA,EAAAA,IAAU,0BAA0BqC,KAAapC,MAAKlI,UAE1DgI,EAAMhH,EAAS+G,KAWRC,KAEFA,C,CACP,MAAO/C,GACP,OAAOA,C","sources":["webpack://solidify/./src/components/global/GenericModal.vue","webpack://solidify/src/components/global/GenericModal.vue","webpack://solidify/./src/components/global/GenericModal.vue?8dbf","webpack://solidify/./src/components/global/GenericModal.vue?0027","webpack://solidify/./src/views/Admin/GenAIReviewedSubmissions.vue","webpack://solidify/./src/utils/admin/zip.ts","webpack://solidify/./src/components/global/RangeSlider.vue","webpack://solidify/./src/components/global/RangeSlider.vue?980b","webpack://solidify/./src/components/global/RangeSlider.vue?1be1","webpack://solidify/./src/components/global/RangeSlider.vue?34cb","webpack://solidify/./src/views/Admin/GenAIReviewedSubmissions.vue?84f6","webpack://solidify/./src/views/Admin/GenAIReviewedSubmissions.vue?eedc","webpack://solidify/./src/views/Admin/GenAIReviewedSubmissions.vue?523d","webpack://solidify/./src/utils/admin/assign_proxy_service.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;return (_vm.isVisible)?_c('main',{staticClass:\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\"},[_c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-overlay\",on:{\"click\":function($event){return _vm.$emit('close-modal')}}},[_c('div',{staticClass:\"modal relative\",on:{\"click\":function($event){$event.stopPropagation();}}},[(_vm.closeVisible)?_c('div',{staticClass:\"absolute right-0 pr-4 top-5 cursor-pointer\",on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_c('x-icon',{attrs:{\"size\":\"1.5x\"}})],1):_vm._e(),_c('div',{staticClass:\"bg-white\"},[_c('div',[(_vm.popUpImage1 || _vm.popUpImage2)?_c('div',{staticClass:\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\"},[_c('div',[_c('strong',[_vm._v(\"Do you want to mark the submission Plagiarised?\")])])]):_vm._e(),(_vm.popUpImage1)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-3/12\",attrs:{\"src\":require(\"@/assets/images/plag_warning1.gif\")}})]):_vm._e(),(_vm.popUpImage2)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-2/5\",attrs:{\"src\":require(\"@/assets/images/plag_warning2.gif\")}})]):_vm._e()]),_c('div',{staticClass:\"text-gray-500 px-4\",domProps:{\"innerHTML\":_vm._s(_vm.message)}}),_c('div',{staticClass:\"pb-4 pt-4 bg-white flex flex-col items-center\"},[(_vm.reReviewButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview(_vm.reReviewButtonLink)}}},[_vm._v(\" Apply Re-Review \")]):_vm._e(),(_vm.archiveButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",on:{\"click\":function($event){return _vm.$emit('Archive')}}},[_vm._v(\"Yes\")]):_vm._e(),(_vm.closeVisible)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",staticStyle:{\"background-color\":\"grey\"},on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_vm._v(\" Restart Solidify \")]):_vm._e(),(_vm.linkButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.navigate(_vm.link)}}},[_vm._v(_vm._s(_vm.linkButton))]):_vm._e()])])])])])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <main v-if=\"isVisible\" class=\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\">\n <transition name=\"modal-fade\">\n <div class=\"modal-overlay\" @click=\"$emit('close-modal')\">\n <div class=\"modal relative\" @click.stop>\n <!-- <h6>Saved!</h6> -->\n <div @click=\"$emit('closeModal')\" class=\"absolute right-0 pr-4 top-5 cursor-pointer\" v-if=\"closeVisible\">\n <x-icon size=\"1.5x\"></x-icon>\n </div>\n <div class=\"bg-white\">\n <!-- adding gif in Plagiarism warning from Peer Review page-->\n\n <div>\n <div v-if=\"popUpImage1 || popUpImage2\" class=\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\">\n <div><strong>Do you want to mark the submission Plagiarised?</strong></div>\n </div>\n <div v-if=\"popUpImage1\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning1.gif\" class=\"block px-4 pb-2 mx-auto w-3/12\" />\n </div>\n <div v-if=\"popUpImage2\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning2.gif\" class=\"block px-4 pb-2 mx-auto w-2/5\" />\n </div>\n </div>\n\n <div class=\"text-gray-500 px-4\" v-html=\"message\"></div>\n <div class=\"pb-4 pt-4 bg-white flex flex-col items-center\">\n <button @click=\"applyReview(reReviewButtonLink)\" v-if=\"reReviewButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">\n Apply Re-Review\n </button>\n\n <button @click=\"$emit('Archive')\" v-if=\"archiveButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\">Yes</button>\n <button\n @click=\"$emit('closeModal')\"\n v-if=\"closeVisible\"\n style=\"background-color: grey\"\n class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\"\n >\n Restart Solidify\n </button>\n <button @click=\"navigate(link)\" v-if=\"linkButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">{{ linkButton }}</button>\n <!-- <button class=\"py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">Helpmate</button> -->\n </div>\n </div>\n </div>\n </div>\n </transition>\n </main>\n</template>\n\n<script>\nimport { XIcon } from 'vue-feather-icons';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default {\n components: { XIcon },\n name: 'Generic',\n props: {\n isVisible: {\n type: Boolean,\n default: false,\n required: true,\n },\n message: {\n type: String,\n default: '',\n required: true,\n },\n closeVisible: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n archiveButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButtonLink: {\n type: String,\n default: '',\n required: false,\n },\n link: {\n type: String,\n default: '',\n required: false,\n },\n linkButton: {\n type: String,\n default: '',\n required: false,\n },\n popUpImage1: {\n type: Boolean,\n default: false,\n required: false,\n },\n popUpImage2: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n setup() {\n const applyReview = async (reReviewButtonLink) => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: reReviewButtonLink } });\n };\n const navigate = (link) => {\n window.location.href = link;\n };\n return { applyReview, navigate };\n },\n};\n</script>\n\n<style lang=\"postcss\">\n.modal-overlay {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n justify-content: center;\n background-color: #000000da;\n}\n.modal {\n text-align: center;\n background-color: white;\n height: 200px;\n width: 600px;\n margin-top: 10%;\n padding: 40px 0;\n /* border-radius: 20px; */\n}\np {\n /* font-weight: 500; */\n font-size: 16px;\n margin: 20px 0;\n}\n/* button {\n background-color: #ac003e;\n width: 150px;\n height: 40px;\n color: white;\n font-size: 14px;\n border-radius: 16px;\n margin-top: 50px;\n} */\n.modal-fade-enter,\n.modal-fade-leave-to {\n opacity: 0;\n}\n.modal-fade-enter-active,\n.modal-fade-leave-active {\n transition: opacity 0.5s ease;\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericModal.vue?vue&type=template&id=3e9f0c82&\"\nimport script from \"./GenericModal.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericModal.vue?vue&type=style&index=0&id=3e9f0c82&prod&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 null,\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:\"flex w-full mt-6 gap-4\"},[_c('div',{staticClass:\"w-full mb-4\"},[_vm._m(1),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.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($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedSkill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"disabled\":\"\"},domProps:{\"value\":null}},[_vm._v(\"Select Skill\")]),_vm._l((_vm.skills),function(skill){return _c('option',{key:skill.skill_id,domProps:{\"value\":skill.skill_id}},[_vm._v(_vm._s(skill.skill_alias))])})],2)]),_c('div',{staticClass:\"w-full mb-4\"},[_vm._m(2),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.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($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedProficiency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"disabled\":\"\"},domProps:{\"value\":null}},[_vm._v(\"Select Proficiency\")]),_vm._l((_vm.proficiency),function(prof){return _c('option',{key:prof.prof_id,domProps:{\"value\":prof.prof_id}},[_vm._v(_vm._s(prof.prof_name))])})],2)]),_c('div',{staticClass:\"flex items-center w-full mb-4 gap-4\"},[_c('button',{staticClass:\"mt-7 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.getSubmissions()}}},[_vm._v(\"Search\")]),_c('button',{staticClass:\"mt-7 inline-block py-2.5 px-4 text-white shadow-md disabled:!bg-gray-300 bg-background-secondary\",attrs:{\"disabled\":!_vm.filteredSubmissions?.length},on:{\"click\":function($event){return _vm.downloadZip()}}},[_c('DownloadIcon',{attrs:{\"size\":\"20\"}})],1)])]),_c('div',[_vm._m(3),_c('RangeSlider',{attrs:{\"valueMin\":_vm.fromRange,\"valueMax\":_vm.toRange},on:{\"update\":_vm.onUpdate}})],1),(_vm.successMessage)?_c('div',{staticClass:\"text-green-700\"},[_vm._v(_vm._s(_vm.successMessage))]):_vm._e(),_c('div',{staticClass:\"w-full mb-8 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-4 tableScroll\"},[_vm._m(4),_c('tbody',{staticClass:\"opacity-80 align-bottom\"},[_vm._l((_vm.filteredSubmissions),function(task){return _c('tr',{key:task.task_id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.name}},[_vm._v(_vm._s(task.name))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.folder}},[_vm._v(_vm._s(task.folder))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.size}},[_vm._v(_vm._s(task.size))])])}),(!_vm.filteredSubmissions?.length)?_c('tr',{staticClass:\"text-center\"},[_c('td',{staticClass:\"p-4\",attrs:{\"colspan\":\"3\"}},[_vm._v(\"No data found...\")])]):_vm._e()],2)]),_c('Generic',{attrs:{\"is-visible\":_vm.modalVisible,\"message\":_vm.modalMessage,\"close-visible\":true},on:{\"closeModal\":_vm.closeModal}})],1)]),(!_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(\"GenAI Reviewed Submissions\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Skill \"),_c('span',{staticClass:\"text-red-700 font-bold\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Proficiency \"),_c('span',{staticClass:\"text-red-700 font-bold\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal pb-4\"},[_vm._v(\" Score Range \"),_c('span',{staticClass:\"text-red-700 font-bold\"},[_vm._v(\"*\")])])\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 p-2 px-3 text-background-secondary\"},[_vm._v(\"Name\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Folder\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Size\")])])])\n}]\n\nexport { render, staticRenderFns }","interface FileEntry {\n name: string;\n url: string;\n folder: string;\n size: number;\n}\n\nexport async function createZipFromUrls(files: FileEntry[], zipName = 'solidify_tasks.zip') {\n // CRC32 Table\n const crcTable = (() => {\n const table: number[] = [];\n for (let n = 0; n < 256; n++) {\n let c = n;\n for (let k = 0; k < 8; k++) {\n c = c & 1 ? 0xedb88320 ^ (c >>> 1) : c >>> 1;\n }\n table[n] = c;\n }\n return table;\n })();\n\n const crc32 = (buffer: ArrayBuffer): number => {\n let crc = 0 ^ -1;\n const bytes = new Uint8Array(buffer);\n for (const byte of bytes) {\n crc = (crc >>> 8) ^ crcTable[(crc ^ byte) & 0xff];\n }\n return (crc ^ -1) >>> 0;\n };\n\n const fetchFile = async (url: string): Promise<ArrayBuffer> => {\n const response = await fetch(url);\n if (!response.ok) throw new Error(`Failed to fetch ${url}`);\n return response.arrayBuffer();\n };\n\n // ZIP Structure Creators\n const createLocalFileHeader = (fileName: string, crc: number, compressedSize: number, uncompressedSize: number): Uint8Array => {\n const encoder = new TextEncoder();\n const nameBytes = encoder.encode(fileName);\n const header = new DataView(new ArrayBuffer(30 + nameBytes.length));\n header.setUint32(0, 0x04034b50, true); // Signature\n header.setUint16(4, 0x0014, true); // Version needed\n header.setUint16(6, 0x0800, true); // Flags (UTF-8)\n header.setUint16(8, 0, true); // Compression method\n header.setUint16(10, 0, true); // Mod time\n header.setUint16(12, 0, true); // Mod date\n header.setUint32(14, crc, true); // CRC-32\n header.setUint32(18, compressedSize, true);\n header.setUint32(22, uncompressedSize, true);\n header.setUint16(26, nameBytes.length, true);\n header.setUint16(28, 0, true); // Extra field length\n const headerBytes = new Uint8Array(header.buffer);\n headerBytes.set(nameBytes, 30);\n return headerBytes;\n };\n const createCentralDirectoryEntry = (fileName: string, crc: number, compressedSize: number, uncompressedSize: number, offset: number): Uint8Array => {\n const encoder = new TextEncoder();\n const nameBytes = encoder.encode(fileName);\n const entry = new DataView(new ArrayBuffer(46 + nameBytes.length));\n entry.setUint32(0, 0x02014b50, true); // Signature\n entry.setUint16(4, 0x0014, true); // Version made by\n entry.setUint16(6, 0x0014, true); // Version needed\n entry.setUint16(8, 0x0800, true); // Flags (UTF-8)\n entry.setUint16(10, 0, true); // Compression method\n entry.setUint16(12, 0, true); // Mod time\n entry.setUint16(14, 0, true); // Mod date\n entry.setUint32(16, crc, true); // CRC-32\n entry.setUint32(20, compressedSize, true);\n entry.setUint32(24, uncompressedSize, true);\n entry.setUint16(28, nameBytes.length, true);\n entry.setUint16(30, 0, true); // Extra field length\n entry.setUint16(32, 0, true); // Comment length\n entry.setUint16(34, 0, true); // Disk number\n entry.setUint16(36, 0, true); // Internal attributes\n entry.setUint32(38, 0, true); // External attributes\n entry.setUint32(42, offset, true); // Header offset\n const entryBytes = new Uint8Array(entry.buffer);\n entryBytes.set(nameBytes, 46);\n return entryBytes;\n };\n const createEndOfCentralDirectory = (entriesCount: number, cdSize: number, cdOffset: number): Uint8Array => {\n const end = new DataView(new ArrayBuffer(22));\n end.setUint32(0, 0x06054b50, true); // Signature\n end.setUint16(4, 0, true); // Disk number\n end.setUint16(6, 0, true); // Start disk\n end.setUint16(8, entriesCount, true); // Disk entries\n end.setUint16(10, entriesCount, true); // Total entries\n end.setUint32(12, cdSize, true); // CD size\n end.setUint32(16, cdOffset, true); // CD offset\n end.setUint16(20, 0, true); // Comment length\n return new Uint8Array(end.buffer);\n };\n try {\n const zipParts: Uint8Array[] = [];\n const centralDirectory: Uint8Array[] = [];\n let currentOffset = 0;\n\n const usedPaths = new Map<string, number>();\n\n for (const { name, url, folder } of files) {\n const fileData = await fetchFile(url);\n const crc = crc32(fileData);\n const size = fileData.byteLength;\n\n const basePath = folder ? `${folder}/${name}` : name;\n let fullPath = basePath;\n\n let count = usedPaths.get(basePath) || 0;\n while (usedPaths.has(fullPath)) {\n count++;\n const extIndex = name.lastIndexOf('.');\n const nameWithoutExt = name.slice(0, extIndex);\n const ext = name.slice(extIndex);\n const newName = `${nameWithoutExt}_${count}${ext}`;\n fullPath = folder ? `${folder}/${newName}` : newName;\n }\n usedPaths.set(basePath, count);\n usedPaths.set(fullPath, 1);\n\n const header = createLocalFileHeader(fullPath, crc, size, size);\n zipParts.push(header);\n zipParts.push(new Uint8Array(fileData));\n\n const cdEntry = createCentralDirectoryEntry(fullPath, crc, size, size, currentOffset);\n centralDirectory.push(cdEntry);\n currentOffset += header.byteLength + size;\n }\n\n const cdSize = centralDirectory.reduce((sum, entry) => sum + entry.byteLength, 0);\n const cdOffset = currentOffset;\n const endRecord = createEndOfCentralDirectory(files.length, cdSize, cdOffset);\n\n const zipBlob = new Blob([...zipParts, ...centralDirectory, endRecord], { type: 'application/zip' });\n\n const link = document.createElement('a');\n link.href = URL.createObjectURL(zipBlob);\n link.download = zipName;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n URL.revokeObjectURL(link.href);\n } catch (error) {\n console.error('Error creating ZIP file:', error);\n throw error;\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full max-w-md py-6\"},[_c('div',{staticClass:\"relative h-1\"},[_c('div',{staticClass:\"absolute top-1/2 transform -translate-y-1/2 w-full h-2 bg-gray-300 rounded-full\"}),_c('div',{staticClass:\"absolute top-1/2 transform -translate-y-1/2 h-2 bg-genpact-darkest-blue rounded-full\",style:({ left: _vm.minPercent + '%', width: _vm.rangeWidth + '%' })}),_c('div',{staticClass:\"absolute -top-9 text-xs text-white px-2 py-1 bg-genpact-darkest-blue rounded shadow\",style:({ left: `calc(${_vm.minPercent}% - 10px)` })},[_vm._v(\" \"+_vm._s(_vm.minVal)+\" \")]),_c('div',{staticClass:\"absolute -top-9 text-xs text-white px-2 py-1 bg-genpact-darkest-blue rounded shadow\",style:({ left: `calc(${_vm.maxPercent}% - 22px)` })},[_vm._v(\" \"+_vm._s(_vm.maxVal)+\" \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.minVal),expression:\"minVal\",modifiers:{\"number\":true}}],staticClass:\"absolute w-full appearance-none bg-transparent pointer-events-none\",staticStyle:{\"z-index\":\"30\"},attrs:{\"type\":\"range\",\"min\":\"0\",\"max\":\"100\"},domProps:{\"value\":(_vm.minVal)},on:{\"input\":_vm.handleMinChange,\"__r\":function($event){_vm.minVal=_vm._n($event.target.value)},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.maxVal),expression:\"maxVal\",modifiers:{\"number\":true}}],staticClass:\"absolute w-full appearance-none bg-transparent pointer-events-none\",staticStyle:{\"z-index\":\"20\"},attrs:{\"type\":\"range\",\"min\":\"0\",\"max\":\"100\"},domProps:{\"value\":(_vm.maxVal)},on:{\"input\":_vm.handleMaxChange,\"__r\":function($event){_vm.maxVal=_vm._n($event.target.value)},\"blur\":function($event){return _vm.$forceUpdate()}}})])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, ref, computed, watch, SetupContext } from 'vue';\n\nexport default defineComponent({\n name: 'RangeSlider',\n props: {\n valueMin: {\n type: Number,\n default: 20,\n },\n valueMax: {\n type: Number,\n default: 80,\n },\n },\n setup(props, { emit }: SetupContext) {\n const minVal = ref<number>(props.valueMin);\n const maxVal = ref<number>(props.valueMax);\n\n const handleMinChange = () => {\n if (minVal.value > maxVal.value - 1) {\n minVal.value = maxVal.value - 1;\n }\n emitValues();\n };\n\n const handleMaxChange = () => {\n if (maxVal.value < minVal.value + 1) {\n maxVal.value = minVal.value + 1;\n }\n emitValues();\n };\n\n const emitValues = () => {\n emit('update', { min: minVal.value, max: maxVal.value });\n };\n\n // Sync with props\n watch(\n () => props.valueMin,\n (val) => (minVal.value = val),\n );\n watch(\n () => props.valueMax,\n (val) => (maxVal.value = val),\n );\n\n const minPercent = computed(() => (minVal.value / 100) * 100);\n const maxPercent = computed(() => (maxVal.value / 100) * 100);\n const rangeWidth = computed(() => maxPercent.value - minPercent.value);\n\n return {\n minVal,\n maxVal,\n handleMinChange,\n handleMaxChange,\n minPercent,\n maxPercent,\n rangeWidth,\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!./RangeSlider.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!./RangeSlider.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RangeSlider.vue?vue&type=template&id=04fe50ed&scoped=true&\"\nimport script from \"./RangeSlider.vue?vue&type=script&lang=ts&\"\nexport * from \"./RangeSlider.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RangeSlider.vue?vue&type=style&index=0&id=04fe50ed&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 \"04fe50ed\",\n null\n \n)\n\nexport default component.exports","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { invokeGetAllGenAIReviewedSubmissions } from '@/utils/admin/task_management_service';\nimport Generic from '@/components/global/GenericModal.vue';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\nimport { invokegetSkillProf } from '@/utils/admin/assign_proxy_service';\nimport { createZipFromUrls } from '@/utils/admin/zip';\nimport { DownloadIcon } from 'vue-feather-icons';\nimport RangeSlider from '@/components/global/RangeSlider.vue';\n\nexport default defineComponent({\n name: 'GenAIReviewedSubmissions',\n\n components: { Generic, DownloadIcon, RangeSlider },\n\n setup() {\n const fromRange = ref(10);\n const toRange = ref(90);\n const renderReady = ref(true);\n const submissions = ref();\n const userRole = ref();\n const showScreen = ref(true);\n const successMessage = ref();\n const skills = ref();\n const proficiency = ref();\n const selectedSkill = ref(null);\n const selectedProficiency = ref(null);\n const modalVisible = ref(false);\n const modalMessage = ref();\n const filteredSubmissions = ref();\n\n onBeforeMount(async () => {\n const role: any = await invokeGetUserRole('/getUserRole');\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 getSkillandProf();\n });\n\n const getSkillandProf = async () => {\n renderReady.value = false;\n const dataRes: any = await invokegetSkillProf('/getAllSkillProf?skill_type=genome');\n skills.value = dataRes.skill;\n proficiency.value = dataRes.proficiency;\n renderReady.value = true;\n };\n\n const getSubmissions = async () => {\n if (!selectedSkill.value || !selectedProficiency.value) return;\n renderReady.value = false;\n const payload = {\n skillId: selectedSkill.value,\n proficiencyId: selectedProficiency.value,\n fromRange: fromRange.value,\n toRange: toRange.value,\n };\n submissions.value = await invokeGetAllGenAIReviewedSubmissions('/learners/submissions', payload);\n console.log('submissions', submissions.value);\n filteredSubmissions.value = submissions.value;\n renderReady.value = true;\n };\n\n const downloadZip = () => {\n createZipFromUrls(filteredSubmissions.value, 'genome_solidify_tasks_2025_04_17').catch(console.error);\n };\n\n const onUpdate = ({ min, max }: { min: number; max: number }) => {\n fromRange.value = min;\n toRange.value = max;\n };\n\n const closeModal = () => {\n modalVisible.value = false;\n };\n\n return {\n fromRange,\n toRange,\n renderReady,\n submissions,\n showScreen,\n successMessage,\n skills,\n proficiency,\n selectedSkill,\n selectedProficiency,\n modalVisible,\n modalMessage,\n filteredSubmissions,\n getSubmissions,\n downloadZip,\n closeModal,\n onUpdate,\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!./GenAIReviewedSubmissions.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!./GenAIReviewedSubmissions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GenAIReviewedSubmissions.vue?vue&type=template&id=294b0f04&scoped=true&\"\nimport script from \"./GenAIReviewedSubmissions.vue?vue&type=script&lang=ts&\"\nexport * from \"./GenAIReviewedSubmissions.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GenAIReviewedSubmissions.vue?vue&type=style&index=0&id=294b0f04&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 \"294b0f04\",\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/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","isVisible","staticClass","attrs","on","$event","$emit","stopPropagation","closeVisible","_e","popUpImage1","popUpImage2","_v","require","domProps","_s","message","reReviewButton","applyReview","reReviewButtonLink","archiveButton","staticStyle","linkButton","navigate","link","staticRenderFns","components","XIcon","name","props","type","Boolean","default","required","String","setup","router","path","query","learner_task_id","window","location","href","component","_setupProxy","showScreen","_m","directives","rawName","value","selectedSkill","expression","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","multiple","_l","skills","skill","key","skill_id","skill_alias","selectedProficiency","proficiency","prof","prof_id","prof_name","getSubmissions","filteredSubmissions","length","downloadZip","fromRange","toRange","onUpdate","successMessage","task","task_id","folder","size","modalVisible","modalMessage","closeModal","renderReady","async","createZipFromUrls","files","zipName","crcTable","table","n","c","k","crc32","buffer","crc","bytes","Uint8Array","byte","fetchFile","response","fetch","url","ok","Error","arrayBuffer","createLocalFileHeader","fileName","compressedSize","uncompressedSize","encoder","TextEncoder","nameBytes","encode","header","DataView","ArrayBuffer","setUint32","setUint16","headerBytes","set","createCentralDirectoryEntry","offset","entry","entryBytes","createEndOfCentralDirectory","entriesCount","cdSize","cdOffset","end","zipParts","centralDirectory","currentOffset","usedPaths","Map","fileData","byteLength","basePath","fullPath","count","get","has","extIndex","lastIndexOf","nameWithoutExt","slice","ext","newName","push","cdEntry","reduce","sum","endRecord","zipBlob","Blob","document","createElement","URL","createObjectURL","download","body","appendChild","click","removeChild","revokeObjectURL","error","console","style","left","minPercent","width","rangeWidth","minVal","maxPercent","maxVal","modifiers","handleMinChange","_n","$forceUpdate","handleMaxChange","defineComponent","valueMin","Number","valueMax","emit","ref","emitValues","min","max","watch","computed","Generic","DownloadIcon","RangeSlider","submissions","userRole","onBeforeMount","role","invokeGetUserRole","user_roles","includes","getSkillandProf","dataRes","invokegetSkillProf","payload","skillId","proficiencyId","invokeGetAllGenAIReviewedSubmissions","log","catch","invokeLearnerForProxyReviewer","data","res","$http","then","invokeGetProxyList","allProxyList","invokeAssignProxyToLearners","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","invokegetAllProgram","program_name","invokegetAllTaskByProgram","programId","tasks","getAllOffCycleByByProgram","learnerDetails","invokeArchieveTask","taskData","updateOffcyclestatus","getTaskById","getTaskres","taskId","uploadBulkTasks","bulkTaskFile","method","uploadResponse","err","importBulkTask","bulkTasData","resetActiveTaskSequence","saveTask","JSON","stringify","savedRes","invokeExportTask"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAII,UAAWF,EAAG,OAAO,CAACG,YAAY,oHAAoH,CAACH,EAAG,aAAa,CAACI,MAAM,CAAC,KAAO,eAAe,CAACJ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,IAAI8K,EACJ,IAKE,aAJM7C,EAAAA,EAAAA,IAAU,SAAS8C,KAAU7C,MAAMlH,IACvC8J,EAAa9J,EAAS+G,KAAKA,KACpB+C,KAEFA,C,CACP,MAAO7F,GACP,OAAOA,C,GAGE+F,EAAkBhL,MAAOkB,EAAU+J,KAC9C,IACE,MAAMjD,QAAY/G,MAAM,GAAGC,IAAO,CAChCgK,OAAQ,MACRtG,KAAMqG,IAEFE,EAAiBnD,EACvB,OAAOmD,C,CACP,MAAOC,GAEP,OADAlG,QAAQD,MAAMmG,GACPA,C,GAIEC,EAAiBrL,MAAOkB,EAAUoK,KAC7C,IAAItD,EAMJ,aAJMC,EAAAA,EAAAA,KAAW/G,EAAKoK,GAAapD,MAAMlH,IACvCgH,EAAMhH,EAAS+G,KAAKwC,MACbvC,KAEFA,CAAG,EAGCuD,EAA0BvL,MAAOkB,EAAU6G,KACtD,IAAIC,EAMJ,aAJMC,EAAAA,EAAAA,KAAW/G,EAAK6G,GAAMG,MAAMlH,IAChCgH,EAAMhH,EAAS+G,KAAKwC,MACbvC,KAEFA,CAAG,EAGCwD,EAAWxL,UACtBkF,QAAQ0C,IAAI,yBAAyB6D,KAAKC,UAAU3D,MACpD,MAAM4D,QAAiB1D,EAAAA,EAAAA,KAAW,eAAgBF,GAClD,OAAO4D,CAAQ,EAGJC,EAAmB5L,UAC9B,IACE,IAAIgI,EAgBJ,aAfMC,EAAAA,EAAAA,IAAU,0BAA0BqC,KAAapC,MAAKlI,UAE1DgI,EAAMhH,EAAS+G,KAWRC,KAEFA,C,CACP,MAAO/C,GACP,OAAOA,C","sources":["webpack://solidify/./src/components/global/GenericModal.vue","webpack://solidify/src/components/global/GenericModal.vue","webpack://solidify/./src/components/global/GenericModal.vue?8dbf","webpack://solidify/./src/components/global/GenericModal.vue?0027","webpack://solidify/./src/views/Admin/GenAIReviewedSubmissions.vue","webpack://solidify/./src/utils/admin/zip.ts","webpack://solidify/./src/components/global/RangeSlider.vue","webpack://solidify/./src/components/global/RangeSlider.vue?980b","webpack://solidify/./src/components/global/RangeSlider.vue?1be1","webpack://solidify/./src/components/global/RangeSlider.vue?34cb","webpack://solidify/./src/views/Admin/GenAIReviewedSubmissions.vue?84f6","webpack://solidify/./src/views/Admin/GenAIReviewedSubmissions.vue?eedc","webpack://solidify/./src/views/Admin/GenAIReviewedSubmissions.vue?523d","webpack://solidify/./src/utils/admin/assign_proxy_service.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;return (_vm.isVisible)?_c('main',{staticClass:\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\"},[_c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-overlay\",on:{\"click\":function($event){return _vm.$emit('close-modal')}}},[_c('div',{staticClass:\"modal relative\",on:{\"click\":function($event){$event.stopPropagation();}}},[(_vm.closeVisible)?_c('div',{staticClass:\"absolute right-0 pr-4 top-5 cursor-pointer\",on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_c('x-icon',{attrs:{\"size\":\"1.5x\"}})],1):_vm._e(),_c('div',{staticClass:\"bg-white\"},[_c('div',[(_vm.popUpImage1 || _vm.popUpImage2)?_c('div',{staticClass:\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\"},[_c('div',[_c('strong',[_vm._v(\"Do you want to mark the submission Plagiarised?\")])])]):_vm._e(),(_vm.popUpImage1)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-3/12\",attrs:{\"src\":require(\"@/assets/images/plag_warning1.gif\")}})]):_vm._e(),(_vm.popUpImage2)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-2/5\",attrs:{\"src\":require(\"@/assets/images/plag_warning2.gif\")}})]):_vm._e()]),_c('div',{staticClass:\"text-gray-500 px-4\",domProps:{\"innerHTML\":_vm._s(_vm.message)}}),_c('div',{staticClass:\"pb-4 pt-4 bg-white flex flex-col items-center\"},[(_vm.reReviewButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview(_vm.reReviewButtonLink)}}},[_vm._v(\" Apply Re-Review \")]):_vm._e(),(_vm.archiveButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",on:{\"click\":function($event){return _vm.$emit('Archive')}}},[_vm._v(\"Yes\")]):_vm._e(),(_vm.closeVisible)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",staticStyle:{\"background-color\":\"grey\"},on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_vm._v(\" No \")]):_vm._e(),(_vm.linkButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.navigate(_vm.link)}}},[_vm._v(_vm._s(_vm.linkButton))]):_vm._e()])])])])])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <main v-if=\"isVisible\" class=\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\">\n <transition name=\"modal-fade\">\n <div class=\"modal-overlay\" @click=\"$emit('close-modal')\">\n <div class=\"modal relative\" @click.stop>\n <!-- <h6>Saved!</h6> -->\n <div @click=\"$emit('closeModal')\" class=\"absolute right-0 pr-4 top-5 cursor-pointer\" v-if=\"closeVisible\">\n <x-icon size=\"1.5x\"></x-icon>\n </div>\n <div class=\"bg-white\">\n <!-- adding gif in Plagiarism warning from Peer Review page-->\n\n <div>\n <div v-if=\"popUpImage1 || popUpImage2\" class=\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\">\n <div><strong>Do you want to mark the submission Plagiarised?</strong></div>\n </div>\n <div v-if=\"popUpImage1\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning1.gif\" class=\"block px-4 pb-2 mx-auto w-3/12\" />\n </div>\n <div v-if=\"popUpImage2\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning2.gif\" class=\"block px-4 pb-2 mx-auto w-2/5\" />\n </div>\n </div>\n\n <div class=\"text-gray-500 px-4\" v-html=\"message\"></div>\n <div class=\"pb-4 pt-4 bg-white flex flex-col items-center\">\n <button @click=\"applyReview(reReviewButtonLink)\" v-if=\"reReviewButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">\n Apply Re-Review\n </button>\n\n <button @click=\"$emit('Archive')\" v-if=\"archiveButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\">Yes</button>\n <button\n @click=\"$emit('closeModal')\"\n v-if=\"closeVisible\"\n style=\"background-color: grey\"\n class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\"\n >\n No\n </button>\n <button @click=\"navigate(link)\" v-if=\"linkButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">{{ linkButton }}</button>\n <!-- <button class=\"py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">Helpmate</button> -->\n </div>\n </div>\n </div>\n </div>\n </transition>\n </main>\n</template>\n\n<script>\nimport { XIcon } from 'vue-feather-icons';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default {\n components: { XIcon },\n name: 'Generic',\n props: {\n isVisible: {\n type: Boolean,\n default: false,\n required: true,\n },\n message: {\n type: String,\n default: '',\n required: true,\n },\n closeVisible: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n archiveButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButtonLink: {\n type: String,\n default: '',\n required: false,\n },\n link: {\n type: String,\n default: '',\n required: false,\n },\n linkButton: {\n type: String,\n default: '',\n required: false,\n },\n popUpImage1: {\n type: Boolean,\n default: false,\n required: false,\n },\n popUpImage2: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n setup() {\n const applyReview = async (reReviewButtonLink) => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: reReviewButtonLink } });\n };\n const navigate = (link) => {\n window.location.href = link;\n };\n return { applyReview, navigate };\n },\n};\n</script>\n\n<style lang=\"postcss\">\n.modal-overlay {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n justify-content: center;\n background-color: #000000da;\n}\n.modal {\n text-align: center;\n background-color: white;\n height: 200px;\n width: 600px;\n margin-top: 10%;\n padding: 40px 0;\n /* border-radius: 20px; */\n}\np {\n /* font-weight: 500; */\n font-size: 16px;\n margin: 20px 0;\n}\n/* button {\n background-color: #ac003e;\n width: 150px;\n height: 40px;\n color: white;\n font-size: 14px;\n border-radius: 16px;\n margin-top: 50px;\n} */\n.modal-fade-enter,\n.modal-fade-leave-to {\n opacity: 0;\n}\n.modal-fade-enter-active,\n.modal-fade-leave-active {\n transition: opacity 0.5s ease;\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericModal.vue?vue&type=template&id=a79f0784&\"\nimport script from \"./GenericModal.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericModal.vue?vue&type=style&index=0&id=a79f0784&prod&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 null,\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:\"flex w-full mt-6 gap-4\"},[_c('div',{staticClass:\"w-full mb-4\"},[_vm._m(1),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.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($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedSkill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"disabled\":\"\"},domProps:{\"value\":null}},[_vm._v(\"Select Skill\")]),_vm._l((_vm.skills),function(skill){return _c('option',{key:skill.skill_id,domProps:{\"value\":skill.skill_id}},[_vm._v(_vm._s(skill.skill_alias))])})],2)]),_c('div',{staticClass:\"w-full mb-4\"},[_vm._m(2),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.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($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedProficiency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"disabled\":\"\"},domProps:{\"value\":null}},[_vm._v(\"Select Proficiency\")]),_vm._l((_vm.proficiency),function(prof){return _c('option',{key:prof.prof_id,domProps:{\"value\":prof.prof_id}},[_vm._v(_vm._s(prof.prof_name))])})],2)]),_c('div',{staticClass:\"flex items-center w-full mb-4 gap-4\"},[_c('button',{staticClass:\"mt-7 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.getSubmissions()}}},[_vm._v(\"Search\")]),_c('button',{staticClass:\"mt-7 inline-block py-2.5 px-4 text-white shadow-md disabled:!bg-gray-300 bg-background-secondary\",attrs:{\"disabled\":!_vm.filteredSubmissions?.length},on:{\"click\":function($event){return _vm.downloadZip()}}},[_c('DownloadIcon',{attrs:{\"size\":\"20\"}})],1)])]),_c('div',[_vm._m(3),_c('RangeSlider',{attrs:{\"valueMin\":_vm.fromRange,\"valueMax\":_vm.toRange},on:{\"update\":_vm.onUpdate}})],1),(_vm.successMessage)?_c('div',{staticClass:\"text-green-700\"},[_vm._v(_vm._s(_vm.successMessage))]):_vm._e(),_c('div',{staticClass:\"w-full mb-8 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-4 tableScroll\"},[_vm._m(4),_c('tbody',{staticClass:\"opacity-80 align-bottom\"},[_vm._l((_vm.filteredSubmissions),function(task){return _c('tr',{key:task.task_id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.name}},[_vm._v(_vm._s(task.name))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.folder}},[_vm._v(_vm._s(task.folder))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":task.size}},[_vm._v(_vm._s(task.size))])])}),(!_vm.filteredSubmissions?.length)?_c('tr',{staticClass:\"text-center\"},[_c('td',{staticClass:\"p-4\",attrs:{\"colspan\":\"3\"}},[_vm._v(\"No data found...\")])]):_vm._e()],2)]),_c('Generic',{attrs:{\"is-visible\":_vm.modalVisible,\"message\":_vm.modalMessage,\"close-visible\":true},on:{\"closeModal\":_vm.closeModal}})],1)]),(!_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(\"GenAI Reviewed Submissions\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Skill \"),_c('span',{staticClass:\"text-red-700 font-bold\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Proficiency \"),_c('span',{staticClass:\"text-red-700 font-bold\"},[_vm._v(\"*\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal pb-4\"},[_vm._v(\" Score Range \"),_c('span',{staticClass:\"text-red-700 font-bold\"},[_vm._v(\"*\")])])\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 p-2 px-3 text-background-secondary\"},[_vm._v(\"Name\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Folder\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Size\")])])])\n}]\n\nexport { render, staticRenderFns }","interface FileEntry {\n name: string;\n url: string;\n folder: string;\n size: number;\n}\n\nexport async function createZipFromUrls(files: FileEntry[], zipName = 'solidify_tasks.zip') {\n // CRC32 Table\n const crcTable = (() => {\n const table: number[] = [];\n for (let n = 0; n < 256; n++) {\n let c = n;\n for (let k = 0; k < 8; k++) {\n c = c & 1 ? 0xedb88320 ^ (c >>> 1) : c >>> 1;\n }\n table[n] = c;\n }\n return table;\n })();\n\n const crc32 = (buffer: ArrayBuffer): number => {\n let crc = 0 ^ -1;\n const bytes = new Uint8Array(buffer);\n for (const byte of bytes) {\n crc = (crc >>> 8) ^ crcTable[(crc ^ byte) & 0xff];\n }\n return (crc ^ -1) >>> 0;\n };\n\n const fetchFile = async (url: string): Promise<ArrayBuffer> => {\n const response = await fetch(url);\n if (!response.ok) throw new Error(`Failed to fetch ${url}`);\n return response.arrayBuffer();\n };\n\n // ZIP Structure Creators\n const createLocalFileHeader = (fileName: string, crc: number, compressedSize: number, uncompressedSize: number): Uint8Array => {\n const encoder = new TextEncoder();\n const nameBytes = encoder.encode(fileName);\n const header = new DataView(new ArrayBuffer(30 + nameBytes.length));\n header.setUint32(0, 0x04034b50, true); // Signature\n header.setUint16(4, 0x0014, true); // Version needed\n header.setUint16(6, 0x0800, true); // Flags (UTF-8)\n header.setUint16(8, 0, true); // Compression method\n header.setUint16(10, 0, true); // Mod time\n header.setUint16(12, 0, true); // Mod date\n header.setUint32(14, crc, true); // CRC-32\n header.setUint32(18, compressedSize, true);\n header.setUint32(22, uncompressedSize, true);\n header.setUint16(26, nameBytes.length, true);\n header.setUint16(28, 0, true); // Extra field length\n const headerBytes = new Uint8Array(header.buffer);\n headerBytes.set(nameBytes, 30);\n return headerBytes;\n };\n const createCentralDirectoryEntry = (fileName: string, crc: number, compressedSize: number, uncompressedSize: number, offset: number): Uint8Array => {\n const encoder = new TextEncoder();\n const nameBytes = encoder.encode(fileName);\n const entry = new DataView(new ArrayBuffer(46 + nameBytes.length));\n entry.setUint32(0, 0x02014b50, true); // Signature\n entry.setUint16(4, 0x0014, true); // Version made by\n entry.setUint16(6, 0x0014, true); // Version needed\n entry.setUint16(8, 0x0800, true); // Flags (UTF-8)\n entry.setUint16(10, 0, true); // Compression method\n entry.setUint16(12, 0, true); // Mod time\n entry.setUint16(14, 0, true); // Mod date\n entry.setUint32(16, crc, true); // CRC-32\n entry.setUint32(20, compressedSize, true);\n entry.setUint32(24, uncompressedSize, true);\n entry.setUint16(28, nameBytes.length, true);\n entry.setUint16(30, 0, true); // Extra field length\n entry.setUint16(32, 0, true); // Comment length\n entry.setUint16(34, 0, true); // Disk number\n entry.setUint16(36, 0, true); // Internal attributes\n entry.setUint32(38, 0, true); // External attributes\n entry.setUint32(42, offset, true); // Header offset\n const entryBytes = new Uint8Array(entry.buffer);\n entryBytes.set(nameBytes, 46);\n return entryBytes;\n };\n const createEndOfCentralDirectory = (entriesCount: number, cdSize: number, cdOffset: number): Uint8Array => {\n const end = new DataView(new ArrayBuffer(22));\n end.setUint32(0, 0x06054b50, true); // Signature\n end.setUint16(4, 0, true); // Disk number\n end.setUint16(6, 0, true); // Start disk\n end.setUint16(8, entriesCount, true); // Disk entries\n end.setUint16(10, entriesCount, true); // Total entries\n end.setUint32(12, cdSize, true); // CD size\n end.setUint32(16, cdOffset, true); // CD offset\n end.setUint16(20, 0, true); // Comment length\n return new Uint8Array(end.buffer);\n };\n try {\n const zipParts: Uint8Array[] = [];\n const centralDirectory: Uint8Array[] = [];\n let currentOffset = 0;\n\n const usedPaths = new Map<string, number>();\n\n for (const { name, url, folder } of files) {\n const fileData = await fetchFile(url);\n const crc = crc32(fileData);\n const size = fileData.byteLength;\n\n const basePath = folder ? `${folder}/${name}` : name;\n let fullPath = basePath;\n\n let count = usedPaths.get(basePath) || 0;\n while (usedPaths.has(fullPath)) {\n count++;\n const extIndex = name.lastIndexOf('.');\n const nameWithoutExt = name.slice(0, extIndex);\n const ext = name.slice(extIndex);\n const newName = `${nameWithoutExt}_${count}${ext}`;\n fullPath = folder ? `${folder}/${newName}` : newName;\n }\n usedPaths.set(basePath, count);\n usedPaths.set(fullPath, 1);\n\n const header = createLocalFileHeader(fullPath, crc, size, size);\n zipParts.push(header);\n zipParts.push(new Uint8Array(fileData));\n\n const cdEntry = createCentralDirectoryEntry(fullPath, crc, size, size, currentOffset);\n centralDirectory.push(cdEntry);\n currentOffset += header.byteLength + size;\n }\n\n const cdSize = centralDirectory.reduce((sum, entry) => sum + entry.byteLength, 0);\n const cdOffset = currentOffset;\n const endRecord = createEndOfCentralDirectory(files.length, cdSize, cdOffset);\n\n const zipBlob = new Blob([...zipParts, ...centralDirectory, endRecord], { type: 'application/zip' });\n\n const link = document.createElement('a');\n link.href = URL.createObjectURL(zipBlob);\n link.download = zipName;\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n URL.revokeObjectURL(link.href);\n } catch (error) {\n console.error('Error creating ZIP file:', error);\n throw error;\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full max-w-md py-6\"},[_c('div',{staticClass:\"relative h-1\"},[_c('div',{staticClass:\"absolute top-1/2 transform -translate-y-1/2 w-full h-2 bg-gray-300 rounded-full\"}),_c('div',{staticClass:\"absolute top-1/2 transform -translate-y-1/2 h-2 bg-genpact-darkest-blue rounded-full\",style:({ left: _vm.minPercent + '%', width: _vm.rangeWidth + '%' })}),_c('div',{staticClass:\"absolute -top-9 text-xs text-white px-2 py-1 bg-genpact-darkest-blue rounded shadow\",style:({ left: `calc(${_vm.minPercent}% - 10px)` })},[_vm._v(\" \"+_vm._s(_vm.minVal)+\" \")]),_c('div',{staticClass:\"absolute -top-9 text-xs text-white px-2 py-1 bg-genpact-darkest-blue rounded shadow\",style:({ left: `calc(${_vm.maxPercent}% - 22px)` })},[_vm._v(\" \"+_vm._s(_vm.maxVal)+\" \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.minVal),expression:\"minVal\",modifiers:{\"number\":true}}],staticClass:\"absolute w-full appearance-none bg-transparent pointer-events-none\",staticStyle:{\"z-index\":\"30\"},attrs:{\"type\":\"range\",\"min\":\"0\",\"max\":\"100\"},domProps:{\"value\":(_vm.minVal)},on:{\"input\":_vm.handleMinChange,\"__r\":function($event){_vm.minVal=_vm._n($event.target.value)},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.maxVal),expression:\"maxVal\",modifiers:{\"number\":true}}],staticClass:\"absolute w-full appearance-none bg-transparent pointer-events-none\",staticStyle:{\"z-index\":\"20\"},attrs:{\"type\":\"range\",\"min\":\"0\",\"max\":\"100\"},domProps:{\"value\":(_vm.maxVal)},on:{\"input\":_vm.handleMaxChange,\"__r\":function($event){_vm.maxVal=_vm._n($event.target.value)},\"blur\":function($event){return _vm.$forceUpdate()}}})])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, ref, computed, watch, SetupContext } from 'vue';\n\nexport default defineComponent({\n name: 'RangeSlider',\n props: {\n valueMin: {\n type: Number,\n default: 20,\n },\n valueMax: {\n type: Number,\n default: 80,\n },\n },\n setup(props, { emit }: SetupContext) {\n const minVal = ref<number>(props.valueMin);\n const maxVal = ref<number>(props.valueMax);\n\n const handleMinChange = () => {\n if (minVal.value > maxVal.value - 1) {\n minVal.value = maxVal.value - 1;\n }\n emitValues();\n };\n\n const handleMaxChange = () => {\n if (maxVal.value < minVal.value + 1) {\n maxVal.value = minVal.value + 1;\n }\n emitValues();\n };\n\n const emitValues = () => {\n emit('update', { min: minVal.value, max: maxVal.value });\n };\n\n // Sync with props\n watch(\n () => props.valueMin,\n (val) => (minVal.value = val),\n );\n watch(\n () => props.valueMax,\n (val) => (maxVal.value = val),\n );\n\n const minPercent = computed(() => (minVal.value / 100) * 100);\n const maxPercent = computed(() => (maxVal.value / 100) * 100);\n const rangeWidth = computed(() => maxPercent.value - minPercent.value);\n\n return {\n minVal,\n maxVal,\n handleMinChange,\n handleMaxChange,\n minPercent,\n maxPercent,\n rangeWidth,\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!./RangeSlider.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!./RangeSlider.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RangeSlider.vue?vue&type=template&id=04fe50ed&scoped=true&\"\nimport script from \"./RangeSlider.vue?vue&type=script&lang=ts&\"\nexport * from \"./RangeSlider.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RangeSlider.vue?vue&type=style&index=0&id=04fe50ed&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 \"04fe50ed\",\n null\n \n)\n\nexport default component.exports","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { invokeGetAllGenAIReviewedSubmissions } from '@/utils/admin/task_management_service';\nimport Generic from '@/components/global/GenericModal.vue';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\nimport { invokegetSkillProf } from '@/utils/admin/assign_proxy_service';\nimport { createZipFromUrls } from '@/utils/admin/zip';\nimport { DownloadIcon } from 'vue-feather-icons';\nimport RangeSlider from '@/components/global/RangeSlider.vue';\n\nexport default defineComponent({\n name: 'GenAIReviewedSubmissions',\n\n components: { Generic, DownloadIcon, RangeSlider },\n\n setup() {\n const fromRange = ref(10);\n const toRange = ref(90);\n const renderReady = ref(true);\n const submissions = ref();\n const userRole = ref();\n const showScreen = ref(true);\n const successMessage = ref();\n const skills = ref();\n const proficiency = ref();\n const selectedSkill = ref(null);\n const selectedProficiency = ref(null);\n const modalVisible = ref(false);\n const modalMessage = ref();\n const filteredSubmissions = ref();\n\n onBeforeMount(async () => {\n const role: any = await invokeGetUserRole('/getUserRole');\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 getSkillandProf();\n });\n\n const getSkillandProf = async () => {\n renderReady.value = false;\n const dataRes: any = await invokegetSkillProf('/getAllSkillProf?skill_type=genome');\n skills.value = dataRes.skill;\n proficiency.value = dataRes.proficiency;\n renderReady.value = true;\n };\n\n const getSubmissions = async () => {\n if (!selectedSkill.value || !selectedProficiency.value) return;\n renderReady.value = false;\n const payload = {\n skillId: selectedSkill.value,\n proficiencyId: selectedProficiency.value,\n fromRange: fromRange.value,\n toRange: toRange.value,\n };\n submissions.value = await invokeGetAllGenAIReviewedSubmissions('/learners/submissions', payload);\n console.log('submissions', submissions.value);\n filteredSubmissions.value = submissions.value;\n renderReady.value = true;\n };\n\n const downloadZip = () => {\n createZipFromUrls(filteredSubmissions.value, 'genome_solidify_tasks_2025_04_17').catch(console.error);\n };\n\n const onUpdate = ({ min, max }: { min: number; max: number }) => {\n fromRange.value = min;\n toRange.value = max;\n };\n\n const closeModal = () => {\n modalVisible.value = false;\n };\n\n return {\n fromRange,\n toRange,\n renderReady,\n submissions,\n showScreen,\n successMessage,\n skills,\n proficiency,\n selectedSkill,\n selectedProficiency,\n modalVisible,\n modalMessage,\n filteredSubmissions,\n getSubmissions,\n downloadZip,\n closeModal,\n onUpdate,\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!./GenAIReviewedSubmissions.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!./GenAIReviewedSubmissions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GenAIReviewedSubmissions.vue?vue&type=template&id=294b0f04&scoped=true&\"\nimport script from \"./GenAIReviewedSubmissions.vue?vue&type=script&lang=ts&\"\nexport * from \"./GenAIReviewedSubmissions.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GenAIReviewedSubmissions.vue?vue&type=style&index=0&id=294b0f04&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 \"294b0f04\",\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/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","isVisible","staticClass","attrs","on","$event","$emit","stopPropagation","closeVisible","_e","popUpImage1","popUpImage2","_v","require","domProps","_s","message","reReviewButton","applyReview","reReviewButtonLink","archiveButton","staticStyle","linkButton","navigate","link","staticRenderFns","components","XIcon","name","props","type","Boolean","default","required","String","setup","router","path","query","learner_task_id","window","location","href","component","_setupProxy","showScreen","_m","directives","rawName","value","selectedSkill","expression","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","multiple","_l","skills","skill","key","skill_id","skill_alias","selectedProficiency","proficiency","prof","prof_id","prof_name","getSubmissions","filteredSubmissions","length","downloadZip","fromRange","toRange","onUpdate","successMessage","task","task_id","folder","size","modalVisible","modalMessage","closeModal","renderReady","async","createZipFromUrls","files","zipName","crcTable","table","n","c","k","crc32","buffer","crc","bytes","Uint8Array","byte","fetchFile","response","fetch","url","ok","Error","arrayBuffer","createLocalFileHeader","fileName","compressedSize","uncompressedSize","encoder","TextEncoder","nameBytes","encode","header","DataView","ArrayBuffer","setUint32","setUint16","headerBytes","set","createCentralDirectoryEntry","offset","entry","entryBytes","createEndOfCentralDirectory","entriesCount","cdSize","cdOffset","end","zipParts","centralDirectory","currentOffset","usedPaths","Map","fileData","byteLength","basePath","fullPath","count","get","has","extIndex","lastIndexOf","nameWithoutExt","slice","ext","newName","push","cdEntry","reduce","sum","endRecord","zipBlob","Blob","document","createElement","URL","createObjectURL","download","body","appendChild","click","removeChild","revokeObjectURL","error","console","style","left","minPercent","width","rangeWidth","minVal","maxPercent","maxVal","modifiers","handleMinChange","_n","$forceUpdate","handleMaxChange","defineComponent","valueMin","Number","valueMax","emit","ref","emitValues","min","max","watch","computed","Generic","DownloadIcon","RangeSlider","submissions","userRole","onBeforeMount","role","invokeGetUserRole","user_roles","includes","getSkillandProf","dataRes","invokegetSkillProf","payload","skillId","proficiencyId","invokeGetAllGenAIReviewedSubmissions","log","catch","invokeLearnerForProxyReviewer","data","res","$http","then","invokeGetProxyList","allProxyList","invokeAssignProxyToLearners","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","invokegetAllProgram","program_name","invokegetAllTaskByProgram","programId","tasks","getAllOffCycleByByProgram","learnerDetails","invokeArchieveTask","taskData","updateOffcyclestatus","getTaskById","getTaskres","taskId","uploadBulkTasks","bulkTaskFile","method","uploadResponse","err","importBulkTask","bulkTasData","resetActiveTaskSequence","saveTask","JSON","stringify","savedRes","invokeExportTask"],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[989],{5583:function(e,t,a){a.d(t,{Z:function(){return d}});var l=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:a(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:a(5861)}})]):e._e()]),t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Restart Solidify ")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},s=[],r=(a(7658),a(4856)),n=a(1496),i={components:{XIcon:r.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{n.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},o=i,c=a(1001),u=(0,c.Z)(o,l,s,!1,null,null,null),d=u.exports},8153:function(e,t,a){a.d(t,{Z:function(){return u}});var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex mt-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:e.placeHolder1},domProps:{value:e.search},on:{keyup:function(t){e.filterProgramDetails(),e.$emit("Filtered",e.filteredProgramDetails)},input:function(t){t.target.composing||(e.search=t.target.value)}}})])},s=[],r=a(7203),n=(0,r.defineComponent)({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=(0,r.ref)(""),a=(0,r.ref)(),l=(0,r.ref)(),s=(0,r.ref)(),n=()=>{s.value=e.data,l.value=s.value.filter((e=>e.toLowerCase().includes(t.value.toLowerCase())))};return(0,r.onBeforeMount)((async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)})),{placeHolder1:a,filteredProgramDetails:l,filterProgramDetails:n,search:t}}}),i=n,o=a(1001),c=(0,o.Z)(i,l,s,!1,null,null,null),u=c.exports},6074:function(e,t,a){a.r(t),a.d(t,{default:function(){return h}});var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return 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-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter Task ")]),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-full 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._e(),e.showSkillProf?t("div",{staticClass:"w-full 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._e(),t("div",{staticClass:"w-full mb-4"},[e.searchBtn?t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchTask()}}},[e._v("Search Task")]):e._e()])]),t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"pr-3 mb-4 w-full"},[e.showTaskImportBtn?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){e.showTaskImport=!0}}},[e._v("Upload Task")]):e._e(),e.showSequencBtn?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:e.resetTaskOrder}},[e._v("Reset Task Sequence")]):e._e(),e.showExportBtn?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:e.exportTask}},[e._v("Export Task")]):e._e(),e.showArchivedTasks?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.filterArchivedTasks(!1)}}},[e._v("Show Unarchived Tasks")]):e._e(),e.showArchivedTasks?e._e():t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.filterArchivedTasks(!0)}}},[e._v("Show Archived Tasks")])])]),e.showTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.BulksuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.BulksuccessMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkImportTask}},[e._v("Import Task")])]):e._e(),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewTaskDetails()}}},[e._v("View Task")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.archiveBtn,expression:"archiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.archieveTask()}}},[e._v("Archive Task")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.unArchiveBtn,expression:"unArchiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.archieveTask()}}},[e._v("UnArchive Task")]),e.archiveBtn?t("button",{directives:[{name:"show",rawName:"v-show",value:e.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.createOffCycle()}}},[e._v("Create Off-Cycle")]):e._e()])]),e.showSingleTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.SinglesuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.SinglesuccessMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkSingleImportTask}},[e._v("Import Single Task")])]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.taskDetails?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("SearchBar",{attrs:{data:e.taskDetailsArray,placeholder:"Search By Task Name"},on:{Filtered:e.getFilteredList}}),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.filteredTaskDetails,(function(a){return t("tr",{key:a.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.task_id},domProps:{value:a.task_id,checked:Array.isArray(e.taskCheckOne)?e._i(e.taskCheckOne,a.task_id)>-1:e.taskCheckOne},on:{change:[function(t){var l=e.taskCheckOne,s=t.target,r=!!s.checked;if(Array.isArray(l)){var n=a.task_id,i=e._i(l,n);s.checked?i<0&&(e.taskCheckOne=l.concat([n])):i>-1&&(e.taskCheckOne=l.slice(0,i).concat(l.slice(i+1)))}else e.taskCheckOne=r},function(t){return e.showTaskBtn(t,a.task_id,a.is_archive)}],click:e.taskcheckedOne}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_name}},[e._v(e._s(a.task_name))]),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.task_type}},[e._v(e._s(a.task_type))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.modified_date}},[e._v(e._s(a.created_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.modified_date}},[e._v(e._s(a.modified_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.modified_by}},[e._v(e._s(a.modified_by))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_order}},[e._v(e._s(a.task_order))])])})),0)]),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":e.modalButtonVisible},on:{closeModal:e.closeModal,Archive:e.archieveTaskFunction}})],1):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")])])},s=[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("Task Management")])])},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("Is Archive")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner Type")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Created Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified By")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Sequence Number")])])])}],r=(a(7658),a(7203)),n=a(1602),i=a.n(n),o=a(9649),c=a(1496),u=a(5583),d=a(5279),v=a(568),f=a(8709),p=a(8153),g=(0,r.defineComponent)({name:"TaskManagement",components:{Generic:u.Z,SearchBar:p.Z},setup(){const e=(0,r.ref)(),t=(0,r.ref)(!0),a=(0,r.ref)(),l=(0,r.ref)([]),s=(0,r.ref)("Select Program"),n=(0,r.ref)(),u=(0,r.ref)(),p=(0,r.ref)(),g=(0,r.ref)(!0),m=(0,r.ref)(!1),k=(0,r.ref)(!1),y=(0,r.ref)(),h=(0,r.ref)(),_=(0,r.ref)(),w=(0,r.ref)(),b=(0,r.ref)(),x=(0,r.ref)(!1),S=(0,r.ref)(),C=(0,r.ref)(),T=(0,r.ref)(),I=(0,r.ref)(),Z=(0,r.ref)("Select Skill"),P=(0,r.ref)("Select Proficiency"),B=(0,r.ref)(!1),A=(0,r.ref)(!1),M=(0,r.ref)(!1),O=(0,r.ref)(!1),$=(0,r.ref)(!1),N=(0,r.ref)(!1),D=(0,r.ref)(),V=(0,r.ref)(),U=(0,r.ref)(!1),q=(0,r.ref)(),F=(0,r.ref)(!1),R={},j=(0,r.ref)(),L=(0,r.ref)(),Y=(0,r.ref)(!1);let J;const G=()=>{l.value=[]},X=(e,t,a)=>{const l=e.target.checked;!0===l?(u.value=t,n.value=!0,O.value=!0,!0===a?(C.value=!1,x.value=!1,S.value=!0):(C.value=!0,x.value=!0,S.value=!1)):(n.value=!1,x.value=!1,S.value=!1,O.value=!1,$.value=!1)},z=async()=>{t.value=!1,a.value=await(0,o.VA)("/getAllTaskByProgram",R),j.value=a.value.map((e=>e.task_name)),L.value=a.value,console.log("taskDetailsArray",j);for(let e=0;e<a.value.length;e+=1){const t=a.value[e];t.created_date&&(t.created_date=i()(t.created_date).format("MMM Do YYYY, h:mm a"),t.modified_date=i()(t.modified_date).format("MMM Do YYYY, h:mm a"))}a.value=a.value.sort(((e,t)=>e.task_name.localeCompare(t.task_name))),"infinity"===s.value?M.value=!1:M.value=!0,t.value=!0},E=async()=>{"Select Program"!==s.value&&Object.assign(R,{program_id:s.value}),"Select Skill"!==Z.value&&Object.assign(R,{skill_id:Z.value}),"Select Proficiency"!==P.value&&Object.assign(R,{proficiency_id:P.value}),"Select Program"!==s.value&&(n.value=!1,x.value=!1,S.value=!1,n.value=!1,O.value=!1,await z())},H=async e=>{t.value=!1,localStorage.setItem("program",e.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),s.value=e.target.value,"Select Program"!==s.value?(k.value=!0,N.value=!0,A.value=!0,"infinity"===s.value?(M.value=!1,Z.value="Select Skill",P.value="Select Proficiency",B.value=!0):(B.value=!1,Z.value="",P.value="",M.value=!0)):(k.value=!1,m.value=!1,A.value=!1,N.value=!1,B.value=!1),t.value=!0},W=async e=>{localStorage.setItem("skill",e.target.value),Z.value=e.target.value,"Select Skill"===Z.value&&(Z.value="")},Q=async e=>{localStorage.setItem("proficiency",e.target.value),P.value=e.target.value,"Select Proficiency"===P.value&&(P.value="")},K=async()=>{t.value=!1,e.value=await(0,o.dr)("/cache?cache=program"),t.value=!0},ee=async()=>{c.Z.push({name:"SolidifyAdministrationTaskDetails",query:{task_id:u.value}})},te=async e=>{try{const t=e.target.files[0],a=t.name,l=a.endsWith(".csv");l?(y.value=a,h.value=t):(_.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((()=>{_.value=null}),6e3),h.value=null,y.value=null)}catch(t){console.log(t)}},ae=async()=>{if(h.value){const e=i()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,r=await(0,v.ux)("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",r),b.value=r.data.preSignedUrl;const n=await(0,o.q$)(b.value,h.value);if(200===n.status){const e={task_id:u.value,file_key:`${l}`},r=await(0,o.$M)("/task/importSingleTask",e);console.log(r),t.value=!1,D.value="Task Updated",h.value=null,y.value=null,a.value=await(0,o.VA)("/getAllTaskByProgram",{program_id:s.value}),t.value=!0,setTimeout((()=>{D.value=null,$.value=!1}),6e3)}}else _.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((()=>{_.value=null}),6e3)},le=async()=>{if(h.value){const e=i()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,r=await(0,v.ux)("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",r),b.value=r.data.preSignedUrl;const n=await(0,o.q$)(b.value,h.value);if(200===n.status){const e={program_id:s.value,file_key:`${l}`},r=await(0,o.$M)("/task/import",e);console.log(r),t.value=!1,V.value="Task added",h.value=null,y.value=null,a.value=await(0,o.VA)("/getAllTaskByProgram",{program_id:s.value}),t.value=!0,setTimeout((()=>{V.value=null,m.value=!1}),6e3)}}else _.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((()=>{_.value=null}),6e3)},se=async()=>{t.value=!1;const e=await(0,f.QZ)("/getAllSkillProf?skill_type=genome");T.value=e.skill,I.value=e.proficiency,t.value=!0},re=async()=>{const e=s.value;"infinity"!==e&&await(0,o.jz)("/resetActiveTaskOrder ",{program_id:e}),await z()},ne=async()=>{t.value=!1,J={task_id:u.value,archive_type:C.value},U.value=!0,J.archive_type?q.value="Archiving a task also archives linked offcycle tasks. Please confirm if you want to proceed.":q.value="Unarchiving a task also unarchives linked offcycle tasks. Please confirm if you want to proceed.",F.value=!0,t.value=!0},ie=()=>{const t=e.value.find((e=>e.program_id===s.value));console.log(`programDetail ${JSON.stringify(t)}`);const l=a.value.find((e=>e.task_id===u.value));if(console.log(`taskDetail ${JSON.stringify(l)}`),console.log("programId",s.value),console.log("programName",t.program_name),console.log("linkedTaskId",u.value),console.log("taskName",l.task_name),console.log("taskType",l.task_type),localStorage.setItem("programId",s.value),localStorage.setItem("programName",t.program_name),localStorage.setItem("linkedTaskId",u.value),"infinity"===s.value){localStorage.setItem("skillId",Z.value);const e=T.value.find((e=>e.skill_id===Z.value));console.log(`skillDetail ${JSON.stringify(e)}`),localStorage.setItem("skillName",e.skill_alias);const t=I.value.find((e=>e.prof_id===P.value));console.log(`profDetail ${JSON.stringify(t)}`),localStorage.setItem("proficiencyId",P.value),localStorage.setItem("proficiencyName",t.prof_name),console.log("skill",Z.value),console.log("skill Name",e.skill_alias),console.log("proficiency",P.value),console.log("prof Name",t.prof_name)}localStorage.setItem("taskName",l.task_name),localStorage.setItem("taskType",l.task_type),c.Z.push({name:"SolidifyAdministrationCreateOffCycle"})},oe=async()=>{t.value=!1,w.value="The task report is being processed. You should get that over email in next 15 minutes",setTimeout((()=>{w.value=null}),6e3),t.value=!0,await(0,o.gs)(s.value)},ce=()=>{U.value=!1},ue=async()=>{t.value=!1,U.value=!1,await(0,o.HX)("/archieveTask",J),console.log("inside archieveTask"),await re(),x.value=!1,S.value=!1,n.value=!1,l.value=[],t.value=!0},de=e=>{L.value=a.value.filter((t=>e.includes(t.task_name)&&t.is_archive===Y.value)),console.log("filteredTaskDetails",L.value)},ve=e=>{Y.value=e,L.value=e?a.value.filter((e=>!0===e.is_archive)):a.value.filter((e=>!0!==e.is_archive))};return(0,r.onBeforeMount)((async()=>{const e=await(0,d.GF)("/getUserRole");p.value=e.user_roles,p.value.length>0&&(p.value.includes("System Admin")||p.value.includes("System Admin View Access")||p.value.includes("Community Manager")||p.value.includes("Program Admin")?g.value=!0:g.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 K(),await se(),localStorage.getItem("program")&&(s.value=localStorage.getItem("program")||"Select Program",Object.assign(R,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(Z.value=localStorage.getItem("skill")||"Select Skill",Object.assign(R,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(P.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(R,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",R),"Select Program"!==localStorage.getItem("program")&&(N.value=!0,k.value=!0,await z(),ve(Y.value)),A.value=!0,"infinity"===s.value?(B.value=!0,M.value=!1):B.value=!1})),{renderReady:t,programDetails:e,getSelectedProgram:H,taskDetails:a,taskCheckOne:l,taskcheckedOne:G,checkedTaskId:u,showTaskBtn:X,taskBtn:n,viewTaskDetails:ee,showScreen:g,archieveTask:ne,selectedProgram:s,showTaskImport:m,showTaskImportBtn:k,bulkImportTask:le,selectedFile:te,errorMessage:_,successMessage:w,archiveBtn:x,unArchiveBtn:S,getTaskDetails:z,skills:T,proficiency:I,getSelectedSkill:W,getSelectedProficiency:Q,showSkillProf:B,searchBtn:A,resetTaskOrder:re,showSequencBtn:M,createOffCycle:ie,selectedSkill:Z,selectedProficiency:P,searchTask:E,singleTaskBtn:O,showSingleTaskImport:$,bulkSingleImportTask:ae,exportTask:oe,showExportBtn:N,SinglesuccessMessage:D,BulksuccessMessage:V,modalVisible:U,modalMessage:q,closeModal:ce,modalButtonVisible:F,archieveTaskFunction:ue,taskDetailsArray:j,getFilteredList:de,filteredTaskDetails:L,filterArchivedTasks:ve,showArchivedTasks:Y}}}),m=g,k=a(1001),y=(0,k.Z)(m,l,s,!1,null,"e99bcd34",null),h=y.exports},8709:function(e,t,a){a.d(t,{G7:function(){return s},Nl:function(){return n},QZ:function(){return r},kn:function(){return i}});var l=a(7129);const s=async(e,t)=>{const a=await l.Z.post(e,t);return a},r=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},n=async(e,t)=>{let a;return await l.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},i=async(e,t)=>{const a=await l.Z.post(e,t);return a}},5279:function(e,t,a){a.d(t,{$d:function(){return s},$i:function(){return x},Ao:function(){return m},DU:function(){return p},EX:function(){return A},F5:function(){return M},FS:function(){return v},GF:function(){return I},Iu:function(){return n},J1:function(){return b},Jf:function(){return h},Kk:function(){return k},N9:function(){return Z},P8:function(){return u},VP:function(){return y},Vz:function(){return S},WX:function(){return f},X$:function(){return _},XP:function(){return r},Yb:function(){return T},a4:function(){return P},dH:function(){return w},gh:function(){return g},nb:function(){return o},oA:function(){return C},r4:function(){return d},sd:function(){return c},wp:function(){return i},xJ:function(){return B}});var l=a(7129);const s=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},r=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},n=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},p=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},g=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},m=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data.userObj,t))),t},k=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data.userObj,t))),t},y=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data.userObj,t))),t},h=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},_=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},w=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},b=async e=>{const t=await l.Z.get(e);return t},x=async e=>{const t=await l.Z.get(e);return t},S=async e=>{const t=await l.Z.get(e);return t},C=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},T=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},I=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data.userObj,t))),t},Z=async e=>{const t=await l.Z.post("/user/role",e);return t},P=async e=>{const t=await l.Z.post("/user/removeRole",e);return t},B=async()=>{const e=await l.Z.get("role");return e},A=async e=>{const t=await l.Z.post("/user/saveLSS",e);return t},M=async e=>{const t=await l.Z.post("/user/saveEnvAccess",e);return t}},9649:function(e,t,a){a.d(t,{$M:function(){return v},F9:function(){return p},HX:function(){return o},V$:function(){return c},VA:function(){return r},Vz:function(){return n},dr:function(){return s},gs:function(){return g},jz:function(){return f},q$:function(){return d},rP:function(){return i},yW:function(){return u}});var l=a(7129);const s=async e=>{let t;return await l.Z.get(e).then((e=>(console.log("Response",e),t=e.data.response.program_name,t))),t},r=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},n=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e?.data?.data,a))),a},i=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.learnerDetails,a))),a},o=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},c=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data,a))),a},u=async e=>{let t;try{return await l.Z.get(`/task/${e}`).then((e=>(t=e.data.data,t))),t}catch(a){return a}},d=async(e,t)=>{try{const a=await fetch(`${e}`,{method:"put",body:t}),l=a;return l}catch(a){return console.error(a),a}},v=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},f=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},p=async e=>{console.log(`inside save task data ${JSON.stringify(e)}`);const t=await l.Z.post("/task/create",e);return t},g=async e=>{try{let t;return await l.Z.get(`/admin/task/taskExport/${e}`).then((async e=>(t=e.data,t))),t}catch(t){return t}}},568:function(e,t,a){a.d(t,{JV:function(){return u},ie:function(){return i},rC:function(){return o},sc:function(){return r},t$:function(){return c},ux:function(){return s},yW:function(){return n}});var l=a(7129);const s=async(e,t)=>{const a=await l.Z.post(e,t);return a},r=async(e,t)=>{let a;const l=await fetch(`${e}`,{method:"put",body:t});return a=l,a},n=async e=>{const t=await l.Z.get(`/task/${e}`);return t},i=async(e,t)=>{const a=await l.Z.post(e,{learner_task_id:t});return a},o=async(e,t)=>{const a=await l.Z.post(e,t);return a},c=async(e,t)=>{const a=await l.Z.post(e,t);return a},u=async(e,t)=>await l.Z.post(e,t)},2191:function(e,t,a){e.exports=a.p+"img/plag_warning1.gif"},5861:function(e,t,a){e.exports=a.p+"img/plag_warning2.gif"}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[989],{9719:function(e,t,a){a.d(t,{Z:function(){return d}});var l=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:a(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:a(5861)}})]):e._e()]),t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" No ")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},s=[],r=(a(7658),a(4856)),n=a(1496),i={components:{XIcon:r.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{n.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},o=i,c=a(1001),u=(0,c.Z)(o,l,s,!1,null,null,null),d=u.exports},8153:function(e,t,a){a.d(t,{Z:function(){return u}});var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex mt-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:e.placeHolder1},domProps:{value:e.search},on:{keyup:function(t){e.filterProgramDetails(),e.$emit("Filtered",e.filteredProgramDetails)},input:function(t){t.target.composing||(e.search=t.target.value)}}})])},s=[],r=a(7203),n=(0,r.defineComponent)({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=(0,r.ref)(""),a=(0,r.ref)(),l=(0,r.ref)(),s=(0,r.ref)(),n=()=>{s.value=e.data,l.value=s.value.filter((e=>e.toLowerCase().includes(t.value.toLowerCase())))};return(0,r.onBeforeMount)((async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)})),{placeHolder1:a,filteredProgramDetails:l,filterProgramDetails:n,search:t}}}),i=n,o=a(1001),c=(0,o.Z)(i,l,s,!1,null,null,null),u=c.exports},6074:function(e,t,a){a.r(t),a.d(t,{default:function(){return h}});var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return 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-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter Task ")]),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-full 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._e(),e.showSkillProf?t("div",{staticClass:"w-full 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._e(),t("div",{staticClass:"w-full mb-4"},[e.searchBtn?t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchTask()}}},[e._v("Search Task")]):e._e()])]),t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"pr-3 mb-4 w-full"},[e.showTaskImportBtn?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){e.showTaskImport=!0}}},[e._v("Upload Task")]):e._e(),e.showSequencBtn?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:e.resetTaskOrder}},[e._v("Reset Task Sequence")]):e._e(),e.showExportBtn?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:e.exportTask}},[e._v("Export Task")]):e._e(),e.showArchivedTasks?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.filterArchivedTasks(!1)}}},[e._v("Show Unarchived Tasks")]):e._e(),e.showArchivedTasks?e._e():t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.filterArchivedTasks(!0)}}},[e._v("Show Archived Tasks")])])]),e.showTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.BulksuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.BulksuccessMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkImportTask}},[e._v("Import Task")])]):e._e(),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewTaskDetails()}}},[e._v("View Task")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.archiveBtn,expression:"archiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.archieveTask()}}},[e._v("Archive Task")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.unArchiveBtn,expression:"unArchiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.archieveTask()}}},[e._v("UnArchive Task")]),e.archiveBtn?t("button",{directives:[{name:"show",rawName:"v-show",value:e.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.createOffCycle()}}},[e._v("Create Off-Cycle")]):e._e()])]),e.showSingleTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.SinglesuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.SinglesuccessMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkSingleImportTask}},[e._v("Import Single Task")])]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.taskDetails?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("SearchBar",{attrs:{data:e.taskDetailsArray,placeholder:"Search By Task Name"},on:{Filtered:e.getFilteredList}}),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.filteredTaskDetails,(function(a){return t("tr",{key:a.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.task_id},domProps:{value:a.task_id,checked:Array.isArray(e.taskCheckOne)?e._i(e.taskCheckOne,a.task_id)>-1:e.taskCheckOne},on:{change:[function(t){var l=e.taskCheckOne,s=t.target,r=!!s.checked;if(Array.isArray(l)){var n=a.task_id,i=e._i(l,n);s.checked?i<0&&(e.taskCheckOne=l.concat([n])):i>-1&&(e.taskCheckOne=l.slice(0,i).concat(l.slice(i+1)))}else e.taskCheckOne=r},function(t){return e.showTaskBtn(t,a.task_id,a.is_archive)}],click:e.taskcheckedOne}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_name}},[e._v(e._s(a.task_name))]),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.task_type}},[e._v(e._s(a.task_type))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.modified_date}},[e._v(e._s(a.created_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.modified_date}},[e._v(e._s(a.modified_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.modified_by}},[e._v(e._s(a.modified_by))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_order}},[e._v(e._s(a.task_order))])])})),0)]),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":e.modalButtonVisible},on:{closeModal:e.closeModal,Archive:e.archieveTaskFunction}})],1):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")])])},s=[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("Task Management")])])},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("Is Archive")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner Type")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Created Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified By")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Sequence Number")])])])}],r=(a(7658),a(7203)),n=a(1602),i=a.n(n),o=a(9649),c=a(1496),u=a(9719),d=a(5279),v=a(568),f=a(8709),p=a(8153),g=(0,r.defineComponent)({name:"TaskManagement",components:{Generic:u.Z,SearchBar:p.Z},setup(){const e=(0,r.ref)(),t=(0,r.ref)(!0),a=(0,r.ref)(),l=(0,r.ref)([]),s=(0,r.ref)("Select Program"),n=(0,r.ref)(),u=(0,r.ref)(),p=(0,r.ref)(),g=(0,r.ref)(!0),m=(0,r.ref)(!1),k=(0,r.ref)(!1),y=(0,r.ref)(),h=(0,r.ref)(),_=(0,r.ref)(),w=(0,r.ref)(),b=(0,r.ref)(),x=(0,r.ref)(!1),S=(0,r.ref)(),C=(0,r.ref)(),T=(0,r.ref)(),I=(0,r.ref)(),Z=(0,r.ref)("Select Skill"),P=(0,r.ref)("Select Proficiency"),B=(0,r.ref)(!1),A=(0,r.ref)(!1),M=(0,r.ref)(!1),O=(0,r.ref)(!1),$=(0,r.ref)(!1),N=(0,r.ref)(!1),D=(0,r.ref)(),V=(0,r.ref)(),U=(0,r.ref)(!1),q=(0,r.ref)(),F=(0,r.ref)(!1),j={},L=(0,r.ref)(),R=(0,r.ref)(),Y=(0,r.ref)(!1);let J;const G=()=>{l.value=[]},X=(e,t,a)=>{const l=e.target.checked;!0===l?(u.value=t,n.value=!0,O.value=!0,!0===a?(C.value=!1,x.value=!1,S.value=!0):(C.value=!0,x.value=!0,S.value=!1)):(n.value=!1,x.value=!1,S.value=!1,O.value=!1,$.value=!1)},z=async()=>{t.value=!1,a.value=await(0,o.VA)("/getAllTaskByProgram",j),L.value=a.value.map((e=>e.task_name)),R.value=a.value,console.log("taskDetailsArray",L);for(let e=0;e<a.value.length;e+=1){const t=a.value[e];t.created_date&&(t.created_date=i()(t.created_date).format("MMM Do YYYY, h:mm a"),t.modified_date=i()(t.modified_date).format("MMM Do YYYY, h:mm a"))}a.value=a.value.sort(((e,t)=>e.task_name.localeCompare(t.task_name))),"infinity"===s.value?M.value=!1:M.value=!0,t.value=!0},E=async()=>{"Select Program"!==s.value&&Object.assign(j,{program_id:s.value}),"Select Skill"!==Z.value&&Object.assign(j,{skill_id:Z.value}),"Select Proficiency"!==P.value&&Object.assign(j,{proficiency_id:P.value}),"Select Program"!==s.value&&(n.value=!1,x.value=!1,S.value=!1,n.value=!1,O.value=!1,await z())},H=async e=>{t.value=!1,localStorage.setItem("program",e.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),s.value=e.target.value,"Select Program"!==s.value?(k.value=!0,N.value=!0,A.value=!0,"infinity"===s.value?(M.value=!1,Z.value="Select Skill",P.value="Select Proficiency",B.value=!0):(B.value=!1,Z.value="",P.value="",M.value=!0)):(k.value=!1,m.value=!1,A.value=!1,N.value=!1,B.value=!1),t.value=!0},W=async e=>{localStorage.setItem("skill",e.target.value),Z.value=e.target.value,"Select Skill"===Z.value&&(Z.value="")},Q=async e=>{localStorage.setItem("proficiency",e.target.value),P.value=e.target.value,"Select Proficiency"===P.value&&(P.value="")},K=async()=>{t.value=!1,e.value=await(0,o.dr)("/cache?cache=program"),t.value=!0},ee=async()=>{c.Z.push({name:"SolidifyAdministrationTaskDetails",query:{task_id:u.value}})},te=async e=>{try{const t=e.target.files[0],a=t.name,l=a.endsWith(".csv");l?(y.value=a,h.value=t):(_.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((()=>{_.value=null}),6e3),h.value=null,y.value=null)}catch(t){console.log(t)}},ae=async()=>{if(h.value){const e=i()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,r=await(0,v.ux)("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",r),b.value=r.data.preSignedUrl;const n=await(0,o.q$)(b.value,h.value);if(200===n.status){const e={task_id:u.value,file_key:`${l}`},r=await(0,o.$M)("/task/importSingleTask",e);console.log(r),t.value=!1,D.value="Task Updated",h.value=null,y.value=null,a.value=await(0,o.VA)("/getAllTaskByProgram",{program_id:s.value}),t.value=!0,setTimeout((()=>{D.value=null,$.value=!1}),6e3)}}else _.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((()=>{_.value=null}),6e3)},le=async()=>{if(h.value){const e=i()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,r=await(0,v.ux)("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",r),b.value=r.data.preSignedUrl;const n=await(0,o.q$)(b.value,h.value);if(200===n.status){const e={program_id:s.value,file_key:`${l}`},r=await(0,o.$M)("/task/import",e);console.log(r),t.value=!1,V.value="Task added",h.value=null,y.value=null,a.value=await(0,o.VA)("/getAllTaskByProgram",{program_id:s.value}),t.value=!0,setTimeout((()=>{V.value=null,m.value=!1}),6e3)}}else _.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((()=>{_.value=null}),6e3)},se=async()=>{t.value=!1;const e=await(0,f.QZ)("/getAllSkillProf?skill_type=genome");T.value=e.skill,I.value=e.proficiency,t.value=!0},re=async()=>{const e=s.value;"infinity"!==e&&await(0,o.jz)("/resetActiveTaskOrder ",{program_id:e}),await z()},ne=async()=>{t.value=!1,J={task_id:u.value,archive_type:C.value},U.value=!0,J.archive_type?q.value="Archiving a task also archives linked offcycle tasks. Please confirm if you want to proceed.":q.value="Unarchiving a task also unarchives linked offcycle tasks. Please confirm if you want to proceed.",F.value=!0,t.value=!0},ie=()=>{const t=e.value.find((e=>e.program_id===s.value));console.log(`programDetail ${JSON.stringify(t)}`);const l=a.value.find((e=>e.task_id===u.value));if(console.log(`taskDetail ${JSON.stringify(l)}`),console.log("programId",s.value),console.log("programName",t.program_name),console.log("linkedTaskId",u.value),console.log("taskName",l.task_name),console.log("taskType",l.task_type),localStorage.setItem("programId",s.value),localStorage.setItem("programName",t.program_name),localStorage.setItem("linkedTaskId",u.value),"infinity"===s.value){localStorage.setItem("skillId",Z.value);const e=T.value.find((e=>e.skill_id===Z.value));console.log(`skillDetail ${JSON.stringify(e)}`),localStorage.setItem("skillName",e.skill_alias);const t=I.value.find((e=>e.prof_id===P.value));console.log(`profDetail ${JSON.stringify(t)}`),localStorage.setItem("proficiencyId",P.value),localStorage.setItem("proficiencyName",t.prof_name),console.log("skill",Z.value),console.log("skill Name",e.skill_alias),console.log("proficiency",P.value),console.log("prof Name",t.prof_name)}localStorage.setItem("taskName",l.task_name),localStorage.setItem("taskType",l.task_type),c.Z.push({name:"SolidifyAdministrationCreateOffCycle"})},oe=async()=>{t.value=!1,w.value="The task report is being processed. You should get that over email in next 15 minutes",setTimeout((()=>{w.value=null}),6e3),t.value=!0,await(0,o.gs)(s.value)},ce=()=>{U.value=!1},ue=async()=>{t.value=!1,U.value=!1,await(0,o.HX)("/archieveTask",J),console.log("inside archieveTask"),await re(),x.value=!1,S.value=!1,n.value=!1,l.value=[],t.value=!0},de=e=>{R.value=a.value.filter((t=>e.includes(t.task_name)&&t.is_archive===Y.value)),console.log("filteredTaskDetails",R.value)},ve=e=>{Y.value=e,R.value=e?a.value.filter((e=>!0===e.is_archive)):a.value.filter((e=>!0!==e.is_archive))};return(0,r.onBeforeMount)((async()=>{const e=await(0,d.GF)("/getUserRole");p.value=e.user_roles,p.value.length>0&&(p.value.includes("System Admin")||p.value.includes("System Admin View Access")||p.value.includes("Community Manager")||p.value.includes("Program Admin")?g.value=!0:g.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 K(),await se(),localStorage.getItem("program")&&(s.value=localStorage.getItem("program")||"Select Program",Object.assign(j,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(Z.value=localStorage.getItem("skill")||"Select Skill",Object.assign(j,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(P.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(j,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",j),"Select Program"!==localStorage.getItem("program")&&(N.value=!0,k.value=!0,await z(),ve(Y.value)),A.value=!0,"infinity"===s.value?(B.value=!0,M.value=!1):B.value=!1})),{renderReady:t,programDetails:e,getSelectedProgram:H,taskDetails:a,taskCheckOne:l,taskcheckedOne:G,checkedTaskId:u,showTaskBtn:X,taskBtn:n,viewTaskDetails:ee,showScreen:g,archieveTask:ne,selectedProgram:s,showTaskImport:m,showTaskImportBtn:k,bulkImportTask:le,selectedFile:te,errorMessage:_,successMessage:w,archiveBtn:x,unArchiveBtn:S,getTaskDetails:z,skills:T,proficiency:I,getSelectedSkill:W,getSelectedProficiency:Q,showSkillProf:B,searchBtn:A,resetTaskOrder:re,showSequencBtn:M,createOffCycle:ie,selectedSkill:Z,selectedProficiency:P,searchTask:E,singleTaskBtn:O,showSingleTaskImport:$,bulkSingleImportTask:ae,exportTask:oe,showExportBtn:N,SinglesuccessMessage:D,BulksuccessMessage:V,modalVisible:U,modalMessage:q,closeModal:ce,modalButtonVisible:F,archieveTaskFunction:ue,taskDetailsArray:L,getFilteredList:de,filteredTaskDetails:R,filterArchivedTasks:ve,showArchivedTasks:Y}}}),m=g,k=a(1001),y=(0,k.Z)(m,l,s,!1,null,"e99bcd34",null),h=y.exports},8709:function(e,t,a){a.d(t,{G7:function(){return s},Nl:function(){return n},QZ:function(){return r},kn:function(){return i}});var l=a(7129);const s=async(e,t)=>{const a=await l.Z.post(e,t);return a},r=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},n=async(e,t)=>{let a;return await l.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},i=async(e,t)=>{const a=await l.Z.post(e,t);return a}},5279:function(e,t,a){a.d(t,{$d:function(){return s},$i:function(){return x},Ao:function(){return m},DU:function(){return p},EX:function(){return A},F5:function(){return M},FS:function(){return v},GF:function(){return I},Iu:function(){return n},J1:function(){return b},Jf:function(){return h},Kk:function(){return k},N9:function(){return Z},P8:function(){return u},VP:function(){return y},Vz:function(){return S},WX:function(){return f},X$:function(){return _},XP:function(){return r},Yb:function(){return T},a4:function(){return P},dH:function(){return w},gh:function(){return g},nb:function(){return o},oA:function(){return C},r4:function(){return d},sd:function(){return c},wp:function(){return i},xJ:function(){return B}});var l=a(7129);const s=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},r=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},n=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},p=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},g=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},m=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data.userObj,t))),t},k=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data.userObj,t))),t},y=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data.userObj,t))),t},h=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},_=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},w=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},b=async e=>{const t=await l.Z.get(e);return t},x=async e=>{const t=await l.Z.get(e);return t},S=async e=>{const t=await l.Z.get(e);return t},C=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},T=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data,t))),t},I=async e=>{let t;return await l.Z.get(e).then((e=>(t=e.data.userObj,t))),t},Z=async e=>{const t=await l.Z.post("/user/role",e);return t},P=async e=>{const t=await l.Z.post("/user/removeRole",e);return t},B=async()=>{const e=await l.Z.get("role");return e},A=async e=>{const t=await l.Z.post("/user/saveLSS",e);return t},M=async e=>{const t=await l.Z.post("/user/saveEnvAccess",e);return t}},9649:function(e,t,a){a.d(t,{$M:function(){return v},F9:function(){return p},HX:function(){return o},V$:function(){return c},VA:function(){return r},Vz:function(){return n},dr:function(){return s},gs:function(){return g},jz:function(){return f},q$:function(){return d},rP:function(){return i},yW:function(){return u}});var l=a(7129);const s=async e=>{let t;return await l.Z.get(e).then((e=>(console.log("Response",e),t=e.data.response.program_name,t))),t},r=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},n=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e?.data?.data,a))),a},i=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.learnerDetails,a))),a},o=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},c=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data,a))),a},u=async e=>{let t;try{return await l.Z.get(`/task/${e}`).then((e=>(t=e.data.data,t))),t}catch(a){return a}},d=async(e,t)=>{try{const a=await fetch(`${e}`,{method:"put",body:t}),l=a;return l}catch(a){return console.error(a),a}},v=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},f=async(e,t)=>{let a;return await l.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},p=async e=>{console.log(`inside save task data ${JSON.stringify(e)}`);const t=await l.Z.post("/task/create",e);return t},g=async e=>{try{let t;return await l.Z.get(`/admin/task/taskExport/${e}`).then((async e=>(t=e.data,t))),t}catch(t){return t}}},568:function(e,t,a){a.d(t,{JV:function(){return u},ie:function(){return i},rC:function(){return o},sc:function(){return r},t$:function(){return c},ux:function(){return s},yW:function(){return n}});var l=a(7129);const s=async(e,t)=>{const a=await l.Z.post(e,t);return a},r=async(e,t)=>{let a;const l=await fetch(`${e}`,{method:"put",body:t});return a=l,a},n=async e=>{const t=await l.Z.get(`/task/${e}`);return t},i=async(e,t)=>{const a=await l.Z.post(e,{learner_task_id:t});return a},o=async(e,t)=>{const a=await l.Z.post(e,t);return a},c=async(e,t)=>{const a=await l.Z.post(e,t);return a},u=async(e,t)=>await l.Z.post(e,t)},2191:function(e,t,a){e.exports=a.p+"img/plag_warning1.gif"},5861:function(e,t,a){e.exports=a.p+"img/plag_warning2.gif"}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyAdministrationTaskManagement.js.map
|