@genpact/genome.mfe.solidify-app 1.17.2-alpha.254 → 1.17.2-alpha.256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/solidify.umd.min.LearnerRereview.js +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.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.SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.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.SolidifyLearnerDone.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.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.SolidifyLearnerSelectTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/solidify.umd.min.js +2 -2
- package/dist/solidify.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidify.umd.min.SolidifyAdministration.js","mappings":"8NAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,SAAS,CAAEL,EAAIM,WAAYJ,EAAG,MAAM,CAACG,YAAY,6EAA6E,CAACL,EAAIO,GAAG,GAAGL,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,yDAAyD,CAACH,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,QAAQ,CAACG,YAAY,kEAAkE,CAACL,EAAIQ,GAAG,2BAA2BN,EAAG,QAAQ,CAACO,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOZ,EAAIa,SAAUC,WAAW,aAAaT,YAAY,sHAAsHU,MAAM,CAAC,KAAO,QAAQC,SAAS,CAAC,MAAShB,EAAIa,UAAWI,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAIA,EAAOC,KAAKC,QAAQ,QAAQpB,E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A,KAAWD,EAAK,CAAEnH,gBAAiBsC,IAEjE,OAAO2H,CAAU,EAKbC,EAA0BvG,MAAOwD,EAAUrH,KAW/C,MAAMqK,QAA4B/C,EAAAA,EAAAA,KAAWD,EAAKrH,GAClD,OAAOqK,CAAmB,EAGtBC,EAAwBzG,MAAOwD,EAAUrH,KAC7C,MAAMuK,QAAoBjD,EAAAA,EAAAA,KAAWD,EAAKrH,GAC1C,OAAOuK,CAAW,EAGdC,EAAqB3G,MAAOwD,EAAUrH,UAC7BsH,EAAAA,EAAAA,KAAWD,EAAKrH,E","sources":["webpack://solidify/./src/views/Admin/Operational_Tab.vue","webpack://solidify/./src/views/Admin/Operational_Tab.vue?b936","webpack://solidify/./src/views/Admin/Operational_Tab.vue?d565","webpack://solidify/./src/views/Admin/Operational_Tab.vue?d5ef","webpack://solidify/./src/utils/admin/assign_proxy_service.ts","webpack://solidify/./src/utils/admin/master_service.ts","webpack://solidify/./src/utils/admin/operation_service.ts","webpack://solidify/./src/utils/learner_submit_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"max-w-6xl m-auto shadow p-4 text-background-secondary\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Search by OHR/email \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ohrEmail),expression:\"ohrEmail\"}],staticClass:\"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.ohrEmail)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.searchData()},\"keydown\":_vm.showHideCancel,\"input\":function($event){if($event.target.composing)return;_vm.ohrEmail=$event.target.value}}})]),_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Skill \")]),_c('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]},function($event){return _vm.getSelectedSkill($event)}]}},[_c('option',[_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',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showProficiency),expression:\"showProficiency\"}],staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Proficiency \")]),_c('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]},function($event){return _vm.getSelectedProficiency($event)}]}},[_c('option',[_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:\"w-full mb-4\"},[_c('button',{staticClass:\"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.searchData()}}},[_vm._v(\"Search\")])])])])]),_c('div',{staticClass:\"flex w-full mt-2\"},[_c('div',{staticClass:\"mt-10 text-left w-4/6 mb-2\"},[(_vm.showdiffAccess)?_c('label',{staticClass:\"block tracking-wide -text-blue-800 font-normal\"},[_c('span',{staticClass:\"opacity-80\"},[_vm._v(\"Differential access status -\")]),_vm._v(\" \"),_c('span',{staticClass:\"capitalize text-background-secondary font-bold\"},[_vm._v(_vm._s(_vm.diffAccess))])]):_vm._e()]),_c('div')]),_c('div',{staticClass:\"flex w-full\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.journeyBtnShow),expression:\"journeyBtnShow\"}],staticClass:\"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.viewLearnerDetails()}}},[_vm._v(\"Learner Journey\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showEventBtn),expression:\"showEventBtn\"}],staticClass:\"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.viewEvents()}}},[_vm._v(\"View Events\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showGradBtn),expression:\"showGradBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.viewGrades()}}},[_vm._v(\"View Grades\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showDeleteBtn),expression:\"showDeleteBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.DeleteLearnerDetails()}}},[_vm._v(\"Delete\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showUploadBtn),expression:\"showUploadBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.uploadLearnerSubmission()}}},[_vm._v(\"Upload Learner Submission\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.holdLearnerBtn),expression:\"holdLearnerBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.showLearnerHoldPanel()}}},[_vm._v(_vm._s(_vm.isLearnerOnHold ? 'Unhold Learner' : 'Hold Learner'))]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showPlagiarismBtn),expression:\"showPlagiarismBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.showProxy()}}},[_vm._v(\"Re-evaluate Plagiarism\")])])]),(_vm.showSuccessMessage)?_c('div',{staticClass:\"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white\"},[_vm._v(\" \"+_vm._s(_vm.resMessage)+\" \")]):_vm._e(),(_vm.showErrorMessage)?_c('div',{staticClass:\"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white\"},[_vm._v(\" \"+_vm._s(_vm.resMessage)+\" \")]):_vm._e(),(_vm.showReEvaluatePanel)?_c('div',{staticClass:\"w-full mt-4% mb-4\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Available Proxy\")]),(_vm.proxyAssignedBtn)?_c('div',{staticClass:\"w-1/4 pr-3 mb-4\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.assignLearnerToProxy()}}},[_vm._v(\"Assign Proxy\")])]):_vm._e(),_c('div',{staticClass:\"w-full mt-4\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded text-over\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.proxyList),function(proxy){return _c('tr',{key:proxy.proxy_ohr,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedProxyOhr),expression:\"selectedProxyOhr\"}],attrs:{\"type\":\"checkbox\",\"id\":proxy.proxy_ohr},domProps:{\"value\":proxy.proxy_ohr,\"checked\":Array.isArray(_vm.selectedProxyOhr)?_vm._i(_vm.selectedProxyOhr,proxy.proxy_ohr)>-1:(_vm.selectedProxyOhr)},on:{\"change\":[function($event){var $$a=_vm.selectedProxyOhr,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=proxy.proxy_ohr,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selectedProxyOhr=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selectedProxyOhr=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selectedProxyOhr=$$c}},function($event){return _vm.showAssignProxyBtn($event)}],\"click\":_vm.proxyCheckedOne}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_name))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_email))]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(_vm._s(proxy.proxy_ohr))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_role))])])}),0)])])]):_vm._e(),(_vm.showTaskImport)?_c('div',{staticClass:\"border border-background-secondary mt-6 p-8 w-full\"},[_c('div',{staticClass:\"flex\"},[_c('input',{attrs:{\"type\":\"file\"},on:{\"change\":_vm.selectedFile}})]),(_vm.errorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e(),(_vm.successMessage)?_c('div',{staticClass:\"text-green-700\"},[_vm._v(_vm._s(_vm.successMessage))]):_vm._e(),_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mt-4\",on:{\"click\":_vm.submitSubmiision}},[_vm._v(\"Upload Learner Submission\")])]):_vm._e(),(_vm.learnerHoldPanel)?_c('div',{staticClass:\"border border-background-secondary mt-6 mb-6 p-8 w-full\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Enter Reason \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.learnerHoldReason),expression:\"learnerHoldReason\"}],staticClass:\"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\",\"disabled\":_vm.isLearnerOnHold === true},domProps:{\"value\":(_vm.learnerHoldReason)},on:{\"input\":function($event){if($event.target.composing)return;_vm.learnerHoldReason=$event.target.value}}})]),_c('div',{staticClass:\"w-full mb-4\"},[_c('button',{staticClass:\"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.callHoldLearner()}}},[_vm._v(_vm._s(_vm.isLearnerOnHold ? 'Unhold Learner' : 'Hold Learner'))])])])]):_vm._e(),(_vm.learnerData)?_c('div',{staticClass:\"w-full mb-8 tableScroll\"},[_c('table',{staticClass:\"text-left w-full text-md bg-white shadow rounded mb-4\"},[_vm._m(2),_c('tbody',{staticClass:\"opacity-80 -text-blue-800\"},_vm._l((_vm.learnerData),function(operationalData){return _c('tr',{key:operationalData.learner_task_id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checkOne),expression:\"checkOne\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"value\":operationalData.learner_task_id,\"checked\":Array.isArray(_vm.checkOne)?_vm._i(_vm.checkOne,operationalData.learner_task_id)>-1:(_vm.checkOne)},on:{\"change\":[function($event){var $$a=_vm.checkOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=operationalData.learner_task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.checkOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.checkOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.checkOne=$$c}},function($event){return _vm.showJourneyBtn(\n $event,\n operationalData.learner_task_id,\n operationalData.linked_task_id,\n operationalData.learner_status,\n operationalData.is_plagiarised,\n operationalData.skill,\n operationalData.proficiency,\n operationalData.learner_key,\n operationalData.technical_hold,\n operationalData.reason_for_hold,\n )}],\"click\":_vm.checkedOne}})]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.fullname}},[_vm._v(_vm._s(operationalData.fullname))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.email}},[_vm._v(_vm._s(operationalData.email))]),_c('td',{staticClass:\"p-2 px-3 text-center\",attrs:{\"title\":operationalData.learner_key}},[_vm._v(_vm._s(operationalData.learner_key))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.proficiencyName}},[_vm._v(_vm._s(operationalData.proficiencyName))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.skillName}},[_vm._v(_vm._s(operationalData.skillName))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.learner_status}},[_vm._v(_vm._s(operationalData.learner_status))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.registration_date}},[_vm._v(_vm._s(operationalData.registration_date))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.submission_date}},[_vm._v(_vm._s(operationalData.submission_date))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.completion_date}},[_vm._v(_vm._s(operationalData.completion_date))])])}),0)])]):_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Operational data\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"text-left py-2 pl-3 pr-0 w-6 text-background-secondary\"}),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Name\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Email\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"OHR\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Role\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"py-2 pl-3 pr-0 w-6\"}),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Full name\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Email\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-center\"},[_vm._v(\"OHR\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Proficiency\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Skill\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Status\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Registration Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Submission Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Completion Date\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n// import { SearchIcon, XIcon } from 'vue-feather-icons';\n// import axios, { AxiosError } from 'axios';\nimport moment from 'moment';\n// eslint-disable-next-line object-curly-newline\nimport { invokegetOperationData, invokeDeleteLearnerJourney, updateLearnerRecord, invokegetSkillProf, invokeAssignProxyToPlagiarizedLearners, invokeHoldLearnerJourney } from '@/utils/admin/operation_service';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\n// eslint-disable-next-line\nimport router from '@/router';\nimport { getPreSignedUrl, uploadSubmission } from '@/utils/learner_submit_service';\nimport { invokeGetProxyList } from '@/utils/admin/assign_proxy_service';\nimport axios, { AxiosError } from 'axios';\n\nexport default defineComponent({\n name: 'OperationalTab',\n // components: { SearchIcon, XIcon },\n setup() {\n const learnerData = ref();\n const skills = ref();\n const proficiency = ref();\n const programme = ref();\n const status = ref();\n const renderReady = ref(true);\n const showOperationTab = ref(false);\n const showDeleteBtn = ref(false);\n const isShowCancel = ref(false);\n const checkOne = ref([]);\n const journeyBtnShow = ref(false);\n const showEventBtn = ref(false);\n const showGradBtn = ref(false);\n const showUploadBtn = ref(false);\n const learnerTaskId = ref();\n const userRole = ref();\n const showScreen = ref(true);\n const ohrEmail = ref();\n const showdiffAccess = ref(false);\n const showTaskImport = ref(false);\n const showReEvaluatePanel = ref(false);\n const showProficiency = ref(false);\n const diffAccess = ref();\n const learnerSubmissionFile = ref();\n const learnerSubmission = ref();\n const errorMessage = ref();\n const successMessage = ref();\n const preSignedUrl = ref();\n const selectedSkill = ref('Select Skill');\n const selectedProficiency = ref('Select Proficiency');\n const submitFilterData = {};\n const showPlagiarismBtn = ref(false);\n const proxyAssignedBtn = ref(false);\n const checkedSkill = ref();\n const checkedProficiency = ref();\n const proxyList = ref();\n const learnerOHR = ref();\n const selectedProxyOhr = ref([]);\n const showSuccessMessage = ref(false);\n const resMessage = ref();\n const showErrorMessage = ref(false);\n const linkedTaskId = ref();\n const holdLearnerBtn = ref(false);\n const learnerHoldPanel = ref(false);\n const isLearnerOnHold = ref(false);\n const learnerHoldReason = ref('');\n // const noData = ref();\n const checkedOne = () => {\n checkOne.value = [];\n };\n const proxyCheckedOne = () => {\n selectedProxyOhr.value = [];\n };\n\n const showLearnerHoldPanel = () => {\n learnerHoldPanel.value = !learnerHoldPanel.value;\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showJourneyBtn = (event: any, taskId: any, journeyTaskId: any, taskStatus: any, isPlagiarised: any, skill: any, level: any, ohr: any, technicalHold: any, reasonForHold: any) => {\n const cb = event.target.checked;\n if (cb === true) {\n showReEvaluatePanel.value = false;\n journeyBtnShow.value = true;\n showEventBtn.value = true;\n showGradBtn.value = true;\n showUploadBtn.value = true;\n holdLearnerBtn.value = true;\n learnerTaskId.value = taskId;\n checkedSkill.value = skill;\n learnerOHR.value = ohr;\n isLearnerOnHold.value = technicalHold === 1;\n learnerHoldReason.value = technicalHold === 1 ? reasonForHold : '';\n checkedProficiency.value = level;\n linkedTaskId.value = journeyTaskId;\n console.log(`Learner OHR ${learnerOHR.value}`);\n localStorage.setItem('inputValue', ohrEmail.value);\n if (taskStatus === 'Registered' && userRole.value.includes('System Admin')) {\n showDeleteBtn.value = true;\n } else {\n showDeleteBtn.value = false;\n }\n if (isPlagiarised === true) {\n showPlagiarismBtn.value = true;\n } else {\n showPlagiarismBtn.value = false;\n }\n } else {\n journeyBtnShow.value = false;\n holdLearnerBtn.value = false;\n isLearnerOnHold.value = false;\n showEventBtn.value = false;\n showDeleteBtn.value = false;\n showGradBtn.value = false;\n showPlagiarismBtn.value = false;\n showReEvaluatePanel.value = false;\n }\n };\n const viewLearnerDetails = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationOperationalDetails', query: { learner_task_id: learnerTaskId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'administration/OperationalTabDetails', query: { learner_task_id: learnerTaskId.value } });\n };\n const uploadLearnerSubmission = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationUploadSubmission', query: { linked_task_id: linkedTaskId.value, learner_task_id: learnerTaskId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'administration/uploadSubmission', query: { linked_task_id: linkedTaskId.value, learner_task_id: learnerTaskId.value } });\n };\n const viewEvents = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationLearnerEvents', query: { learner_task_id: learnerTaskId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'administration/learnerevents', query: { learner_task_id: learnerTaskId.value } });\n };\n const viewGrades = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationLearnerGrades', query: { learner_task_id: learnerTaskId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'administration/Learnergrades', query: { learner_task_id: learnerTaskId.value } });\n };\n const getSkillandProf = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = await invokegetSkillProf('/getAllSkillProf');\n skills.value = dataRes.skill;\n proficiency.value = dataRes.proficiency;\n renderReady.value = true;\n };\n const getLearnerData = async () => {\n try {\n showReEvaluatePanel.value = false;\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = await invokegetOperationData('/getAllOperationData', submitFilterData);\n learnerData.value = dataRes.operationData;\n diffAccess.value = dataRes.diffStatus;\n console.log('diffAccess.value', diffAccess.value);\n if (diffAccess.value) {\n showdiffAccess.value = true;\n }\n if (learnerData.value) {\n for (let index = 0; index < learnerData.value.length; index += 1) {\n const res = learnerData.value[index];\n if (res.registration_date) {\n res.registration_date = moment(res.registration_date).format('DD-MM-YYYY');\n }\n if (res.completion_date) {\n res.completion_date = moment(res.completion_date).format('DD-MM-YYYY');\n }\n if (res.submission_date) {\n res.submission_date = moment(res.submission_date).format('DD-MM-YYYY');\n }\n }\n }\n localStorage.removeItem('inputValue');\n\n renderReady.value = true;\n } catch (error) {\n console.log(error);\n }\n };\n const searchData = async () => {\n if (ohrEmail.value) {\n Object.assign(submitFilterData, { ohrEmail: ohrEmail.value });\n await getLearnerData();\n }\n };\n const DeleteLearnerDetails = async () => {\n renderReady.value = false;\n await invokeDeleteLearnerJourney(`/deleteRegisteredLearner/${learnerTaskId.value}`);\n await getLearnerData();\n renderReady.value = true;\n };\n const clearInput = () => {\n ohrEmail.value = '';\n isShowCancel.value = false;\n };\n const showHideCancel = () => {\n if (!ohrEmail.value) isShowCancel.value = false;\n else isShowCancel.value = true;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const selectedFile = async (event: any) => {\n try {\n // eslint-disable-next-line prefer-destructuring\n const file = event.target.files[0];\n const fileName = event.target.files[0].name;\n\n const fileSize = event.target.files[0].size / 1024 / 1024;\n\n if (fileSize > 200) {\n errorMessage.value = 'fileSize greater than 200 MB';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else {\n learnerSubmissionFile.value = file;\n learnerSubmission.value = fileName;\n }\n } catch (error) {\n console.log(error);\n }\n };\n const submitSubmiision = async () => {\n if (learnerSubmission.value) {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const resPresSigned: any = await getPreSignedUrl('/v1/pretAuthUrlForUploadLearner', {\n file_name: learnerSubmission.value,\n learner_task_id: learnerTaskId.value,\n });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const preSignedRes: any = resPresSigned.data;\n preSignedUrl.value = preSignedRes.preSignedUrl;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const uploadedRes: any = await uploadSubmission(preSignedUrl.value, learnerSubmissionFile.value);\n console.log('Upload Response', uploadedRes);\n if (uploadedRes.status === 200) {\n const data = {\n learner_submission: learnerSubmission.value,\n learner_task_id: learnerTaskId.value,\n };\n // renderReady.value = false;\n const updateRes = await updateLearnerRecord('/uploadLearnerSubmissionFromAdmin', data);\n console.log(updateRes);\n successMessage.value = 'File uploaded Successfully';\n setTimeout(() => {\n successMessage.value = null;\n showTaskImport.value = false;\n getLearnerData();\n }, 6000);\n } else {\n errorMessage.value = 'There is issue in the file upload';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n }\n renderReady.value = true;\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedProficiency = async (e: any) => {\n selectedProficiency.value = e.target.value;\n if (selectedProficiency.value === 'Select Proficiency') {\n selectedProficiency.value = 'Select Proficiency';\n Object.assign(submitFilterData, { proficiency_id: '' });\n } else {\n Object.assign(submitFilterData, { proficiency_id: selectedProficiency.value });\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedSkill = async (e: any) => {\n // console.log(e.target.removeAttr('selected'));\n selectedSkill.value = e.target.value;\n if (selectedSkill.value === 'Select Skill') {\n selectedSkill.value = 'Select Skill';\n showProficiency.value = false;\n Object.assign(submitFilterData, { skill_id: '', proficiency_id: '' });\n } else {\n Object.assign(submitFilterData, { skill_id: selectedSkill.value });\n showProficiency.value = true;\n }\n };\n const showProxy = async () => {\n renderReady.value = false;\n showReEvaluatePanel.value = true;\n proxyList.value = await invokeGetProxyList('/getAllProxyBySkill', checkedSkill.value);\n renderReady.value = true;\n console.log('Proxy List', proxyList.value);\n };\n const assignLearnerToProxy = async () => {\n console.log('Assign Proxy');\n try {\n renderReady.value = false;\n const data = {\n learner: learnerTaskId.value,\n proxy_key: selectedProxyOhr.value[0],\n learner_key: learnerOHR.value,\n skill: checkedSkill.value,\n proficiency: checkedProficiency.value,\n };\n console.log('Selected Data', data);\n const assignProxyRes = await invokeAssignProxyToPlagiarizedLearners('/reevaluatePlagiarism', data);\n showReEvaluatePanel.value = false;\n renderReady.value = true;\n console.log('assignProxyRes?.data.message', assignProxyRes?.data.message);\n resMessage.value = assignProxyRes?.data.message;\n showSuccessMessage.value = true;\n setTimeout(() => {\n showSuccessMessage.value = false;\n }, 6000);\n await getLearnerData();\n // console.log('data ohr', assignProxyRes);\n } catch (error) {\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log('err.response?.data', err.response?.data);\n renderReady.value = true;\n resMessage.value = (err.response?.data as { message: string })?.message;\n console.log(`errorMessage.value ${errorMessage.value}`);\n showErrorMessage.value = true;\n setTimeout(() => {\n showErrorMessage.value = false;\n }, 6000);\n }\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const callHoldLearner = async () => {\n renderReady.value = false;\n const data = {\n learner_task_id: learnerTaskId.value,\n action: !isLearnerOnHold.value === true ? '1' : '0',\n reason: learnerHoldReason.value,\n };\n try {\n const res = await invokeHoldLearnerJourney('/admin/learner/perform_technical_hold', data);\n console.log(res);\n successMessage.value = res;\n isLearnerOnHold.value = !isLearnerOnHold.value;\n setTimeout(() => {\n successMessage.value = null;\n getLearnerData();\n }, 6000);\n renderReady.value = true;\n } catch (error) {\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log('err.response?.data', err.response?.data);\n renderReady.value = true;\n resMessage.value = (err.response?.data as { message: string })?.message;\n console.log(`errorMessage.value ${errorMessage.value}`);\n showErrorMessage.value = true;\n setTimeout(() => {\n showErrorMessage.value = false;\n }, 6000);\n }\n }\n learnerHoldPanel.value = false;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showAssignProxyBtn = async (event: any) => {\n const proxyOhr = event.target.checked;\n if (proxyOhr === true) {\n proxyAssignedBtn.value = true;\n } else {\n proxyAssignedBtn.value = false;\n }\n };\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n if (userRole.value.includes('System Admin') || userRole.value.includes('System Admin View Access') || userRole.value.includes('Program Admin')) {\n console.log('inside Role');\n showScreen.value = true;\n await getSkillandProf();\n } else {\n showScreen.value = false;\n }\n }\n // if (userRole.value.includes('System Admin View Access')) {\n // showDeleteBtn.value\n // }\n if (localStorage.getItem('inputValue')) {\n ohrEmail.value = localStorage.getItem('inputValue');\n Object.assign(submitFilterData, { ohrEmail: localStorage.getItem('inputValue') });\n await getLearnerData();\n }\n });\n return {\n learnerData,\n skills,\n proficiency,\n programme,\n status,\n showOperationTab,\n renderReady,\n checkOne,\n checkedOne,\n showJourneyBtn,\n journeyBtnShow,\n viewLearnerDetails,\n ohrEmail,\n searchData,\n showDeleteBtn,\n DeleteLearnerDetails,\n isShowCancel,\n clearInput,\n showHideCancel,\n showEventBtn,\n viewEvents,\n showGradBtn,\n viewGrades,\n showScreen,\n showdiffAccess,\n diffAccess,\n showUploadBtn,\n submitSubmiision,\n showTaskImport,\n selectedFile,\n preSignedUrl,\n successMessage,\n errorMessage,\n getSkillandProf,\n getSelectedSkill,\n selectedProficiency,\n selectedSkill,\n getSelectedProficiency,\n showProficiency,\n showPlagiarismBtn,\n showReEvaluatePanel,\n checkedSkill,\n showProxy,\n proxyList,\n proxyAssignedBtn,\n assignLearnerToProxy,\n selectedProxyOhr,\n showAssignProxyBtn,\n showSuccessMessage,\n resMessage,\n showErrorMessage,\n proxyCheckedOne,\n linkedTaskId,\n uploadLearnerSubmission,\n holdLearnerBtn,\n learnerHoldPanel,\n showLearnerHoldPanel,\n callHoldLearner,\n isLearnerOnHold,\n learnerHoldReason,\n // noData,\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!./Operational_Tab.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!./Operational_Tab.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Operational_Tab.vue?vue&type=template&id=389aa30b&scoped=true&\"\nimport script from \"./Operational_Tab.vue?vue&type=script&lang=ts&\"\nexport * from \"./Operational_Tab.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Operational_Tab.vue?vue&type=style&index=0&id=389aa30b&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 \"389aa30b\",\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\nexport const invokegetOperationData = async (url: string, params: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, params).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const updateLearnerRecord = async (url: string, params: any) => {\n const savedRes = await $http.post(url, params);\n return savedRes;\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.post(url, params).then((response) => {\n // res = response.data;\n // return res;\n // });\n // return res;\n};\nexport const invokeAssignProxyToPlagiarizedLearners = async (url: string, params: any) => {\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.post(url, params).then((response) => {\n // res = response.data.operationData;\n // return res;\n // });\n // return res;\n const res = await $http.post(url, params);\n return res;\n};\nexport const invokeDeleteLearnerJourney = 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 invokeHoldLearnerJourney = async (url: string, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\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};\n// export 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// };\n// export 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// export 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// };\n// export 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// };\n// export 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// };\n// export 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// export 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// };\n// export const invokeGetUserRole = 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","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\n// import axios from 'axios';\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\nimport $http from '../plugins/axios';\n\nconst getPreSignedUrl = async (url: any, data: any) => {\n // let preSignedurl;\n // await $http.post(url, data).then((r: any) => {\n // console.log('prsigned Response', r);\n // preSignedurl = r.data;\n // return preSignedurl;\n // });\n // return preSignedurl;\n const preSignedurl = await $http.post(url, data);\n return preSignedurl;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n// eslint-disable-next-line consistent-return\nconst uploadSubmission = async (url: any, learnerFile: any) => {\n let uploadResponse;\n const res = await fetch(`${url}`, {\n method: 'put',\n body: learnerFile,\n });\n // eslint-disable-next-line prefer-const\n uploadResponse = res;\n return uploadResponse;\n // const nAxios = axios.create();\n\n // delete $http.defaults.headers.common.Authorization;\n // await nAxios.put(url, learnerFile).then((res: any) => {\n // uploadResponse = res;\n // console.log(`upload learner submission ${JSON.stringify(uploadResponse)}`);\n // return uploadResponse;\n // });\n // return uploadResponse;\n};\nconst getTaskById = async (taskId: any) => {\n const getTaskres: any = await $http.get(`/task/${taskId}`);\n // getTaskres = response.data.data;\n return getTaskres;\n};\n\nconst restarLearnerJourney = async (url: any, taskId: any) => {\n // let restartres: any;\n // try {\n // await $http.post(url, { learner_task_id: taskId }).then((response) => {\n // restartres = response;\n // return restartres;\n // });\n // return restartres;\n // } catch (error) {\n // return error;\n // }\n const restartres: any = await $http.post(url, { learner_task_id: taskId });\n // restartres = response;\n return restartres;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n// eslint-disable-next-line consistent-return\nconst updateLearnerSubmission = async (url: any, learnerData: any) => {\n // try {\n // let updateSubmissionRes;\n // await $http.post(url, learnerData).then((response) => {\n // updateSubmissionRes = response;\n // return updateSubmissionRes;\n // });\n // return updateSubmissionRes;\n // } catch (error) {\n // console.log(`Error in updating Learner Submission ${error}`);\n // }\n const updateSubmissionRes = await $http.post(url, learnerData);\n return updateSubmissionRes;\n};\n\nconst updateGenAISubmission = async (url: any, learnerData: any) => {\n const genAIApiRes = await $http.post(url, learnerData);\n return genAIApiRes;\n};\n\nconst fetchGenAIResponse = async (url: any, learnerData: any) => {\n return await $http.post(url, learnerData);\n};\n\n// eslint-disable-next-line\nexport { getTaskById, getPreSignedUrl, restarLearnerJourney, uploadSubmission, updateLearnerSubmission, updateGenAISubmission, fetchGenAIResponse };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","showScreen","_m","_v","directives","name","rawName","value","ohrEmail","expression","attrs","domProps","on","$event","type","indexOf","_k","keyCode","key","searchData","showHideCancel","target","composing","selectedSkill","$$selectedVal","Array","prototype","filter","call","options","o","selected","map","val","_value","multiple","getSelectedSkill","_l","skills","skill","skill_id","_s","skill_alias","showProficiency","selectedProficiency","getSelectedProficiency","proficiency","prof","prof_id","prof_name","showdiffAccess","diffAccess","_e","journeyBtnShow","viewLearnerDetails","showEventBtn","viewEvents","showGradBtn","viewGrades","showDeleteBtn","DeleteLearnerDetails","showUploadBtn","uploadLearnerSubmission","holdLearnerBtn","showLearnerHoldPanel","isLearnerOnHold","showPlagiarismBtn","showProxy","showSuccessMessage","resMessage","showErrorMessage","showReEvaluatePanel","proxyAssignedBtn","assignLearnerToProxy","proxyList","proxy","proxy_ohr","selectedProxyOhr","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","showAssignProxyBtn","proxyCheckedOne","proxy_name","proxy_email","proxy_role","showTaskImport","selectedFile","errorMessage","successMessage","submitSubmiision","learnerHoldPanel","learnerHoldReason","callHoldLearner","learnerData","operationalData","learner_task_id","checkOne","showJourneyBtn","linked_task_id","learner_status","is_plagiarised","learner_key","technical_hold","reason_for_hold","checkedOne","fullname","email","proficiencyName","skillName","registration_date","submission_date","completion_date","renderReady","require","staticRenderFns","defineComponent","setup","ref","programme","status","showOperationTab","isShowCancel","learnerTaskId","userRole","learnerSubmissionFile","learnerSubmission","preSignedUrl","submitFilterData","checkedSkill","checkedProficiency","learnerOHR","linkedTaskId","event","taskId","journeyTaskId","taskStatus","isPlagiarised","level","ohr","technicalHold","reasonForHold","cb","console","log","localStorage","setItem","includes","routeData","router","query","window","open","href","getSkillandProf","async","dataRes","invokegetSkillProf","getLearnerData","invokegetOperationData","operationData","diffStatus","index","length","res","moment","format","removeItem","error","Object","assign","invokeDeleteLearnerJourney","clearInput","file","files","fileName","fileSize","size","setTimeout","resPresSigned","getPreSignedUrl","file_name","preSignedRes","data","uploadedRes","uploadSubmission","learner_submission","updateRes","updateLearnerRecord","e","proficiency_id","invokeGetProxyList","learner","proxy_key","assignProxyRes","invokeAssignProxyToPlagiarizedLearners","message","axios","err","response","action","reason","invokeHoldLearnerJourney","proxyOhr","onBeforeMount","role","invokeGetUserRole","user_roles","getItem","component","invokeLearnerForProxyReviewer","url","$http","then","skillId","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","params","savedRes","preSignedurl","learnerFile","uploadResponse","fetch","method","body","getTaskById","getTaskres","restarLearnerJourney","restartres","updateLearnerSubmission","updateSubmissionRes","updateGenAISubmission","genAIApiRes","fetchGenAIResponse"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"solidify.umd.min.SolidifyAdministration.js","mappings":"8NAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAAC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AqBF,UAChC,IAAIS,EAOJ,aALMgD,EAAAA,EAAAA,IAAUD,GAAKE,MAAMd,IAEzBnC,EAAMmC,EAAShB,KACRnB,KAEFA,CAAG,C,qNCzDZ,MAAMgB,EAAkBzB,MAAOwD,EAAU5B,KAQvC,MAAMiE,QAAqBpC,EAAAA,EAAAA,KAAWD,EAAK5B,GAC3C,OAAOiE,CAAY,EAKf/D,EAAmB9B,MAAOwD,EAAUsC,KACxC,IAAIC,EACJ,MAAMtF,QAAYuF,MAAM,GAAGxC,IAAO,CAChCyC,OAAQ,MACRC,KAAMJ,IAIR,OADAC,EAAiBtF,EACVsF,CAAc,EAWjBI,EAAcnG,UAClB,MAAMoG,QAAwB3C,EAAAA,EAAAA,IAAU,SAAS9E,KAEjD,OAAOyH,CAAU,EAGbC,EAAuBrG,MAAOwD,EAAU7E,KAW5C,MAAM2H,QAAwB7C,EAAAA,EAAAA,KAAWD,EAAK,CAAEnH,gBAAiBsC,IAEjE,OAAO2H,CAAU,EAKbC,EAA0BvG,MAAOwD,EAAUrH,KAW/C,MAAMqK,QAA4B/C,EAAAA,EAAAA,KAAWD,EAAKrH,GAClD,OAAOqK,CAAmB,EAGtBC,EAAwBzG,MAAOwD,EAAUrH,KAC7C,MAAMuK,QAAoBjD,EAAAA,EAAAA,KAAWD,EAAKrH,GAC1C,OAAOuK,CAAW,EAGdC,EAAqB3G,MAAOwD,EAAUrH,UAC7BsH,EAAAA,EAAAA,KAAWD,EAAKrH,E","sources":["webpack://solidify/./src/views/Admin/Operational_Tab.vue","webpack://solidify/./src/views/Admin/Operational_Tab.vue?b936","webpack://solidify/./src/views/Admin/Operational_Tab.vue?d565","webpack://solidify/./src/views/Admin/Operational_Tab.vue?d5ef","webpack://solidify/./src/utils/admin/assign_proxy_service.ts","webpack://solidify/./src/utils/admin/master_service.ts","webpack://solidify/./src/utils/admin/operation_service.ts","webpack://solidify/./src/utils/learner_submit_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"max-w-6xl m-auto shadow p-4 text-background-secondary\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Search by OHR/email \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ohrEmail),expression:\"ohrEmail\"}],staticClass:\"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.ohrEmail)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.searchData()},\"keydown\":_vm.showHideCancel,\"input\":function($event){if($event.target.composing)return;_vm.ohrEmail=$event.target.value}}})]),_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Skill \")]),_c('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]},function($event){return _vm.getSelectedSkill($event)}]}},[_c('option',[_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',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showProficiency),expression:\"showProficiency\"}],staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Proficiency \")]),_c('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]},function($event){return _vm.getSelectedProficiency($event)}]}},[_c('option',[_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:\"w-full mb-4\"},[_c('button',{staticClass:\"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.searchData()}}},[_vm._v(\"Search\")])])])])]),_c('div',{staticClass:\"flex w-full mt-2\"},[_c('div',{staticClass:\"mt-10 text-left w-4/6 mb-2\"},[(_vm.showdiffAccess)?_c('label',{staticClass:\"block tracking-wide -text-blue-800 font-normal\"},[_c('span',{staticClass:\"opacity-80\"},[_vm._v(\"Differential access status -\")]),_vm._v(\" \"),_c('span',{staticClass:\"capitalize text-background-secondary font-bold\"},[_vm._v(_vm._s(_vm.diffAccess))])]):_vm._e()]),_c('div')]),_c('div',{staticClass:\"flex w-full\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.journeyBtnShow),expression:\"journeyBtnShow\"}],staticClass:\"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.viewLearnerDetails()}}},[_vm._v(\"Learner Journey\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showEventBtn),expression:\"showEventBtn\"}],staticClass:\"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.viewEvents()}}},[_vm._v(\"View Events\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showGradBtn),expression:\"showGradBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.viewGrades()}}},[_vm._v(\"View Grades\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showDeleteBtn),expression:\"showDeleteBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.DeleteLearnerDetails()}}},[_vm._v(\"Delete\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showUploadBtn),expression:\"showUploadBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.uploadLearnerSubmission()}}},[_vm._v(\"Upload Learner Submission\")]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.holdLearnerBtn),expression:\"holdLearnerBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.showLearnerHoldPanel()}}},[_vm._v(_vm._s(_vm.isLearnerOnHold ? 'Unhold Learner' : 'Hold Learner'))]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showPlagiarismBtn),expression:\"showPlagiarismBtn\"}],staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2\",on:{\"click\":function($event){return _vm.showProxy()}}},[_vm._v(\"Re-evaluate Plagiarism\")])])]),(_vm.showSuccessMessage)?_c('div',{staticClass:\"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white\"},[_vm._v(\" \"+_vm._s(_vm.resMessage)+\" \")]):_vm._e(),(_vm.showErrorMessage)?_c('div',{staticClass:\"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white\"},[_vm._v(\" \"+_vm._s(_vm.resMessage)+\" \")]):_vm._e(),(_vm.showReEvaluatePanel)?_c('div',{staticClass:\"w-full mt-4% mb-4\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Available Proxy\")]),(_vm.proxyAssignedBtn)?_c('div',{staticClass:\"w-1/4 pr-3 mb-4\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.assignLearnerToProxy()}}},[_vm._v(\"Assign Proxy\")])]):_vm._e(),_c('div',{staticClass:\"w-full mt-4\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded text-over\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.proxyList),function(proxy){return _c('tr',{key:proxy.proxy_ohr,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedProxyOhr),expression:\"selectedProxyOhr\"}],attrs:{\"type\":\"checkbox\",\"id\":proxy.proxy_ohr},domProps:{\"value\":proxy.proxy_ohr,\"checked\":Array.isArray(_vm.selectedProxyOhr)?_vm._i(_vm.selectedProxyOhr,proxy.proxy_ohr)>-1:(_vm.selectedProxyOhr)},on:{\"change\":[function($event){var $$a=_vm.selectedProxyOhr,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=proxy.proxy_ohr,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selectedProxyOhr=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selectedProxyOhr=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selectedProxyOhr=$$c}},function($event){return _vm.showAssignProxyBtn($event)}],\"click\":_vm.proxyCheckedOne}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_name))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_email))]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(_vm._s(proxy.proxy_ohr))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_role))])])}),0)])])]):_vm._e(),(_vm.showTaskImport)?_c('div',{staticClass:\"border border-background-secondary mt-6 p-8 w-full\"},[_c('div',{staticClass:\"flex\"},[_c('input',{attrs:{\"type\":\"file\"},on:{\"change\":_vm.selectedFile}})]),(_vm.errorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e(),(_vm.successMessage)?_c('div',{staticClass:\"text-green-700\"},[_vm._v(_vm._s(_vm.successMessage))]):_vm._e(),_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mt-4\",on:{\"click\":_vm.submitSubmiision}},[_vm._v(\"Upload Learner Submission\")])]):_vm._e(),(_vm.learnerHoldPanel)?_c('div',{staticClass:\"border border-background-secondary mt-6 mb-6 p-8 w-full\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Enter Reason \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.learnerHoldReason),expression:\"learnerHoldReason\"}],staticClass:\"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\",\"disabled\":_vm.isLearnerOnHold === true},domProps:{\"value\":(_vm.learnerHoldReason)},on:{\"input\":function($event){if($event.target.composing)return;_vm.learnerHoldReason=$event.target.value}}})]),_c('div',{staticClass:\"w-full mb-4\"},[_c('button',{staticClass:\"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.callHoldLearner()}}},[_vm._v(_vm._s(_vm.isLearnerOnHold ? 'Unhold Learner' : 'Hold Learner'))])])])]):_vm._e(),(_vm.learnerData)?_c('div',{staticClass:\"w-full mb-8 tableScroll\"},[_c('table',{staticClass:\"text-left w-full text-md bg-white shadow rounded mb-4\"},[_vm._m(2),_c('tbody',{staticClass:\"opacity-80 -text-blue-800\"},_vm._l((_vm.learnerData),function(operationalData){return _c('tr',{key:operationalData.learner_task_id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checkOne),expression:\"checkOne\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"value\":operationalData.learner_task_id,\"checked\":Array.isArray(_vm.checkOne)?_vm._i(_vm.checkOne,operationalData.learner_task_id)>-1:(_vm.checkOne)},on:{\"change\":[function($event){var $$a=_vm.checkOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=operationalData.learner_task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.checkOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.checkOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.checkOne=$$c}},function($event){return _vm.showJourneyBtn(\n $event,\n operationalData.learner_task_id,\n operationalData.linked_task_id,\n operationalData.learner_status,\n operationalData.is_plagiarised,\n operationalData.skill,\n operationalData.proficiency,\n operationalData.learner_key,\n operationalData.technical_hold,\n operationalData.reason_for_hold,\n )}],\"click\":_vm.checkedOne}})]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.fullname}},[_vm._v(_vm._s(operationalData.fullname))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.email}},[_vm._v(_vm._s(operationalData.email))]),_c('td',{staticClass:\"p-2 px-3 text-center\",attrs:{\"title\":operationalData.learner_key}},[_vm._v(_vm._s(operationalData.learner_key))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.proficiencyName}},[_vm._v(_vm._s(operationalData.proficiencyName))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.skillName}},[_vm._v(_vm._s(operationalData.skillName))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.learner_status}},[_vm._v(_vm._s(operationalData.learner_status))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.registration_date}},[_vm._v(_vm._s(operationalData.registration_date))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.submission_date}},[_vm._v(_vm._s(operationalData.submission_date))]),_c('td',{staticClass:\"p-2 px-3\",attrs:{\"title\":operationalData.completion_date}},[_vm._v(_vm._s(operationalData.completion_date))])])}),0)])]):_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Operational data\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"text-left py-2 pl-3 pr-0 w-6 text-background-secondary\"}),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Name\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Email\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"OHR\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Role\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"py-2 pl-3 pr-0 w-6\"}),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Full name\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Email\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-center\"},[_vm._v(\"OHR\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Proficiency\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Skill\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Status\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Registration Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Submission Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Completion Date\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n// import { SearchIcon, XIcon } from 'vue-feather-icons';\n// import axios, { AxiosError } from 'axios';\nimport moment from 'moment';\n// eslint-disable-next-line object-curly-newline\nimport { invokegetOperationData, invokeDeleteLearnerJourney, updateLearnerRecord, invokegetSkillProf, invokeAssignProxyToPlagiarizedLearners, invokeHoldLearnerJourney } from '@/utils/admin/operation_service';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\n// eslint-disable-next-line\nimport router from '@/router';\nimport { getPreSignedUrl, uploadSubmission } from '@/utils/learner_submit_service';\nimport { invokeGetProxyList } from '@/utils/admin/assign_proxy_service';\nimport axios, { AxiosError } from 'axios';\n\nexport default defineComponent({\n name: 'OperationalTab',\n // components: { SearchIcon, XIcon },\n setup() {\n const learnerData = ref();\n const skills = ref();\n const proficiency = ref();\n const programme = ref();\n const status = ref();\n const renderReady = ref(true);\n const showOperationTab = ref(false);\n const showDeleteBtn = ref(false);\n const isShowCancel = ref(false);\n const checkOne = ref([]);\n const journeyBtnShow = ref(false);\n const showEventBtn = ref(false);\n const showGradBtn = ref(false);\n const showUploadBtn = ref(false);\n const learnerTaskId = ref();\n const userRole = ref();\n const showScreen = ref(true);\n const ohrEmail = ref();\n const showdiffAccess = ref(false);\n const showTaskImport = ref(false);\n const showReEvaluatePanel = ref(false);\n const showProficiency = ref(false);\n const diffAccess = ref();\n const learnerSubmissionFile = ref();\n const learnerSubmission = ref();\n const errorMessage = ref();\n const successMessage = ref();\n const preSignedUrl = ref();\n const selectedSkill = ref('Select Skill');\n const selectedProficiency = ref('Select Proficiency');\n const submitFilterData = {};\n const showPlagiarismBtn = ref(false);\n const proxyAssignedBtn = ref(false);\n const checkedSkill = ref();\n const checkedProficiency = ref();\n const proxyList = ref();\n const learnerOHR = ref();\n const selectedProxyOhr = ref([]);\n const showSuccessMessage = ref(false);\n const resMessage = ref();\n const showErrorMessage = ref(false);\n const linkedTaskId = ref();\n const holdLearnerBtn = ref(false);\n const learnerHoldPanel = ref(false);\n const isLearnerOnHold = ref(false);\n const learnerHoldReason = ref('');\n // const noData = ref();\n const checkedOne = () => {\n checkOne.value = [];\n };\n const proxyCheckedOne = () => {\n selectedProxyOhr.value = [];\n };\n\n const showLearnerHoldPanel = () => {\n learnerHoldPanel.value = !learnerHoldPanel.value;\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showJourneyBtn = (event: any, taskId: any, journeyTaskId: any, taskStatus: any, isPlagiarised: any, skill: any, level: any, ohr: any, technicalHold: any, reasonForHold: any) => {\n const cb = event.target.checked;\n if (cb === true) {\n showReEvaluatePanel.value = false;\n journeyBtnShow.value = true;\n showEventBtn.value = true;\n showGradBtn.value = true;\n showUploadBtn.value = true;\n holdLearnerBtn.value = true;\n learnerTaskId.value = taskId;\n checkedSkill.value = skill;\n learnerOHR.value = ohr;\n isLearnerOnHold.value = technicalHold === 1;\n learnerHoldReason.value = technicalHold === 1 ? reasonForHold : '';\n checkedProficiency.value = level;\n linkedTaskId.value = journeyTaskId;\n console.log(`Learner OHR ${learnerOHR.value}`);\n localStorage.setItem('inputValue', ohrEmail.value);\n if (taskStatus === 'Registered' && userRole.value.includes('System Admin')) {\n showDeleteBtn.value = true;\n } else {\n showDeleteBtn.value = false;\n }\n if (isPlagiarised === true) {\n showPlagiarismBtn.value = true;\n } else {\n showPlagiarismBtn.value = false;\n }\n } else {\n journeyBtnShow.value = false;\n holdLearnerBtn.value = false;\n isLearnerOnHold.value = false;\n showEventBtn.value = false;\n showDeleteBtn.value = false;\n showGradBtn.value = false;\n showPlagiarismBtn.value = false;\n showReEvaluatePanel.value = false;\n }\n };\n const viewLearnerDetails = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationOperationalDetails', query: { learner_task_id: learnerTaskId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'administration/OperationalTabDetails', query: { learner_task_id: learnerTaskId.value } });\n };\n const uploadLearnerSubmission = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationUploadSubmission', query: { linked_task_id: linkedTaskId.value, learner_task_id: learnerTaskId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'administration/uploadSubmission', query: { linked_task_id: linkedTaskId.value, learner_task_id: learnerTaskId.value } });\n };\n const viewEvents = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationLearnerEvents', query: { learner_task_id: learnerTaskId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'administration/learnerevents', query: { learner_task_id: learnerTaskId.value } });\n };\n const viewGrades = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationLearnerGrades', query: { learner_task_id: learnerTaskId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'administration/Learnergrades', query: { learner_task_id: learnerTaskId.value } });\n };\n const getSkillandProf = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = await invokegetSkillProf('/getAllSkillProf');\n skills.value = dataRes.skill;\n proficiency.value = dataRes.proficiency;\n renderReady.value = true;\n };\n const getLearnerData = async () => {\n try {\n showReEvaluatePanel.value = false;\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = await invokegetOperationData('/getAllOperationData', submitFilterData);\n learnerData.value = dataRes.operationData;\n diffAccess.value = dataRes.diffStatus;\n console.log('diffAccess.value', diffAccess.value);\n if (diffAccess.value) {\n showdiffAccess.value = true;\n }\n if (learnerData.value) {\n for (let index = 0; index < learnerData.value.length; index += 1) {\n const res = learnerData.value[index];\n if (res.registration_date) {\n res.registration_date = moment(res.registration_date).format('DD-MM-YYYY');\n }\n if (res.completion_date) {\n res.completion_date = moment(res.completion_date).format('DD-MM-YYYY');\n }\n if (res.submission_date) {\n res.submission_date = moment(res.submission_date).format('DD-MM-YYYY');\n }\n }\n }\n localStorage.removeItem('inputValue');\n\n renderReady.value = true;\n } catch (error) {\n console.log(error);\n }\n };\n const searchData = async () => {\n if (ohrEmail.value) {\n Object.assign(submitFilterData, { ohrEmail: ohrEmail.value });\n await getLearnerData();\n }\n };\n const DeleteLearnerDetails = async () => {\n renderReady.value = false;\n await invokeDeleteLearnerJourney(`/deleteRegisteredLearner/${learnerTaskId.value}`);\n await getLearnerData();\n renderReady.value = true;\n };\n const clearInput = () => {\n ohrEmail.value = '';\n isShowCancel.value = false;\n };\n const showHideCancel = () => {\n if (!ohrEmail.value) isShowCancel.value = false;\n else isShowCancel.value = true;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const selectedFile = async (event: any) => {\n try {\n // eslint-disable-next-line prefer-destructuring\n const file = event.target.files[0];\n const fileName = event.target.files[0].name;\n\n const fileSize = event.target.files[0].size / 1024 / 1024;\n\n if (fileSize > 200) {\n errorMessage.value = 'fileSize greater than 200 MB';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else {\n learnerSubmissionFile.value = file;\n learnerSubmission.value = fileName;\n }\n } catch (error) {\n console.log(error);\n }\n };\n const submitSubmiision = async () => {\n if (learnerSubmission.value) {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const resPresSigned: any = await getPreSignedUrl('/v1/pretAuthUrlForUploadLearner', {\n file_name: learnerSubmission.value,\n learner_task_id: learnerTaskId.value,\n });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const preSignedRes: any = resPresSigned.data;\n preSignedUrl.value = preSignedRes.preSignedUrl;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const uploadedRes: any = await uploadSubmission(preSignedUrl.value, learnerSubmissionFile.value);\n console.log('Upload Response', uploadedRes);\n if (uploadedRes.status === 200) {\n const data = {\n learner_submission: learnerSubmission.value,\n learner_task_id: learnerTaskId.value,\n };\n // renderReady.value = false;\n const updateRes = await updateLearnerRecord('/uploadLearnerSubmissionFromAdmin', data);\n console.log(updateRes);\n successMessage.value = 'File uploaded Successfully';\n setTimeout(() => {\n successMessage.value = null;\n showTaskImport.value = false;\n getLearnerData();\n }, 6000);\n } else {\n errorMessage.value = 'There is issue in the file upload';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n }\n renderReady.value = true;\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedProficiency = async (e: any) => {\n selectedProficiency.value = e.target.value;\n if (selectedProficiency.value === 'Select Proficiency') {\n selectedProficiency.value = 'Select Proficiency';\n Object.assign(submitFilterData, { proficiency_id: '' });\n } else {\n Object.assign(submitFilterData, { proficiency_id: selectedProficiency.value });\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedSkill = async (e: any) => {\n // console.log(e.target.removeAttr('selected'));\n selectedSkill.value = e.target.value;\n if (selectedSkill.value === 'Select Skill') {\n selectedSkill.value = 'Select Skill';\n showProficiency.value = false;\n Object.assign(submitFilterData, { skill_id: '', proficiency_id: '' });\n } else {\n Object.assign(submitFilterData, { skill_id: selectedSkill.value });\n showProficiency.value = true;\n }\n };\n const showProxy = async () => {\n renderReady.value = false;\n showReEvaluatePanel.value = true;\n proxyList.value = await invokeGetProxyList('/getAllProxyBySkill', checkedSkill.value);\n renderReady.value = true;\n console.log('Proxy List', proxyList.value);\n };\n const assignLearnerToProxy = async () => {\n console.log('Assign Proxy');\n try {\n renderReady.value = false;\n const data = {\n learner: learnerTaskId.value,\n proxy_key: selectedProxyOhr.value[0],\n learner_key: learnerOHR.value,\n skill: checkedSkill.value,\n proficiency: checkedProficiency.value,\n };\n console.log('Selected Data', data);\n const assignProxyRes = await invokeAssignProxyToPlagiarizedLearners('/reevaluatePlagiarism', data);\n showReEvaluatePanel.value = false;\n renderReady.value = true;\n console.log('assignProxyRes?.data.message', assignProxyRes?.data.message);\n resMessage.value = assignProxyRes?.data.message;\n showSuccessMessage.value = true;\n setTimeout(() => {\n showSuccessMessage.value = false;\n }, 6000);\n await getLearnerData();\n // console.log('data ohr', assignProxyRes);\n } catch (error) {\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log('err.response?.data', err.response?.data);\n renderReady.value = true;\n resMessage.value = (err.response?.data as { message: string })?.message;\n console.log(`errorMessage.value ${errorMessage.value}`);\n showErrorMessage.value = true;\n setTimeout(() => {\n showErrorMessage.value = false;\n }, 6000);\n }\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const callHoldLearner = async () => {\n renderReady.value = false;\n const data = {\n learner_task_id: learnerTaskId.value,\n action: !isLearnerOnHold.value === true ? '1' : '0',\n reason: learnerHoldReason.value,\n };\n try {\n const res = await invokeHoldLearnerJourney('/admin/learner/perform_technical_hold', data);\n console.log(res);\n successMessage.value = res;\n isLearnerOnHold.value = !isLearnerOnHold.value;\n setTimeout(() => {\n successMessage.value = null;\n getLearnerData();\n }, 6000);\n renderReady.value = true;\n } catch (error) {\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log('err.response?.data', err.response?.data);\n renderReady.value = true;\n resMessage.value = (err.response?.data as { message: string })?.message;\n console.log(`errorMessage.value ${errorMessage.value}`);\n showErrorMessage.value = true;\n setTimeout(() => {\n showErrorMessage.value = false;\n }, 6000);\n }\n }\n learnerHoldPanel.value = false;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showAssignProxyBtn = async (event: any) => {\n const proxyOhr = event.target.checked;\n if (proxyOhr === true) {\n proxyAssignedBtn.value = true;\n } else {\n proxyAssignedBtn.value = false;\n }\n };\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n if (userRole.value.includes('System Admin') || userRole.value.includes('System Admin View Access') || userRole.value.includes('Program Admin')) {\n console.log('inside Role');\n showScreen.value = true;\n await getSkillandProf();\n } else {\n showScreen.value = false;\n }\n }\n // if (userRole.value.includes('System Admin View Access')) {\n // showDeleteBtn.value\n // }\n if (localStorage.getItem('inputValue')) {\n ohrEmail.value = localStorage.getItem('inputValue');\n Object.assign(submitFilterData, { ohrEmail: localStorage.getItem('inputValue') });\n await getLearnerData();\n }\n });\n return {\n learnerData,\n skills,\n proficiency,\n programme,\n status,\n showOperationTab,\n renderReady,\n checkOne,\n checkedOne,\n showJourneyBtn,\n journeyBtnShow,\n viewLearnerDetails,\n ohrEmail,\n searchData,\n showDeleteBtn,\n DeleteLearnerDetails,\n isShowCancel,\n clearInput,\n showHideCancel,\n showEventBtn,\n viewEvents,\n showGradBtn,\n viewGrades,\n showScreen,\n showdiffAccess,\n diffAccess,\n showUploadBtn,\n submitSubmiision,\n showTaskImport,\n selectedFile,\n preSignedUrl,\n successMessage,\n errorMessage,\n getSkillandProf,\n getSelectedSkill,\n selectedProficiency,\n selectedSkill,\n getSelectedProficiency,\n showProficiency,\n showPlagiarismBtn,\n showReEvaluatePanel,\n checkedSkill,\n showProxy,\n proxyList,\n proxyAssignedBtn,\n assignLearnerToProxy,\n selectedProxyOhr,\n showAssignProxyBtn,\n showSuccessMessage,\n resMessage,\n showErrorMessage,\n proxyCheckedOne,\n linkedTaskId,\n uploadLearnerSubmission,\n holdLearnerBtn,\n learnerHoldPanel,\n showLearnerHoldPanel,\n callHoldLearner,\n isLearnerOnHold,\n learnerHoldReason,\n // noData,\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!./Operational_Tab.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!./Operational_Tab.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Operational_Tab.vue?vue&type=template&id=389aa30b&scoped=true&\"\nimport script from \"./Operational_Tab.vue?vue&type=script&lang=ts&\"\nexport * from \"./Operational_Tab.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Operational_Tab.vue?vue&type=style&index=0&id=389aa30b&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 \"389aa30b\",\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\nexport const invokegetOperationData = async (url: string, params: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, params).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const updateLearnerRecord = async (url: string, params: any) => {\n const savedRes = await $http.post(url, params);\n return savedRes;\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.post(url, params).then((response) => {\n // res = response.data;\n // return res;\n // });\n // return res;\n};\nexport const invokeAssignProxyToPlagiarizedLearners = async (url: string, params: any) => {\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.post(url, params).then((response) => {\n // res = response.data.operationData;\n // return res;\n // });\n // return res;\n const res = await $http.post(url, params);\n return res;\n};\nexport const invokeDeleteLearnerJourney = 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 invokeHoldLearnerJourney = async (url: string, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\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};\n// export 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// };\n// export 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// export 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// };\n// export 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// };\n// export 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// };\n// export 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// export 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// };\n// export const invokeGetUserRole = 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","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\n// import axios from 'axios';\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\nimport $http from '../plugins/axios';\n\nconst getPreSignedUrl = async (url: any, data: any) => {\n // let preSignedurl;\n // await $http.post(url, data).then((r: any) => {\n // console.log('prsigned Response', r);\n // preSignedurl = r.data;\n // return preSignedurl;\n // });\n // return preSignedurl;\n const preSignedurl = await $http.post(url, data);\n return preSignedurl;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n// eslint-disable-next-line consistent-return\nconst uploadSubmission = async (url: any, learnerFile: any) => {\n let uploadResponse;\n const res = await fetch(`${url}`, {\n method: 'put',\n body: learnerFile,\n });\n // eslint-disable-next-line prefer-const\n uploadResponse = res;\n return uploadResponse;\n // const nAxios = axios.create();\n\n // delete $http.defaults.headers.common.Authorization;\n // await nAxios.put(url, learnerFile).then((res: any) => {\n // uploadResponse = res;\n // console.log(`upload learner submission ${JSON.stringify(uploadResponse)}`);\n // return uploadResponse;\n // });\n // return uploadResponse;\n};\nconst getTaskById = async (taskId: any) => {\n const getTaskres: any = await $http.get(`/task/${taskId}`);\n // getTaskres = response.data.data;\n return getTaskres;\n};\n\nconst restarLearnerJourney = async (url: any, taskId: any) => {\n // let restartres: any;\n // try {\n // await $http.post(url, { learner_task_id: taskId }).then((response) => {\n // restartres = response;\n // return restartres;\n // });\n // return restartres;\n // } catch (error) {\n // return error;\n // }\n const restartres: any = await $http.post(url, { learner_task_id: taskId });\n // restartres = response;\n return restartres;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n// eslint-disable-next-line consistent-return\nconst updateLearnerSubmission = async (url: any, learnerData: any) => {\n // try {\n // let updateSubmissionRes;\n // await $http.post(url, learnerData).then((response) => {\n // updateSubmissionRes = response;\n // return updateSubmissionRes;\n // });\n // return updateSubmissionRes;\n // } catch (error) {\n // console.log(`Error in updating Learner Submission ${error}`);\n // }\n const updateSubmissionRes = await $http.post(url, learnerData);\n return updateSubmissionRes;\n};\n\nconst updateGenAISubmission = async (url: any, learnerData: any) => {\n const genAIApiRes = await $http.post(url, learnerData);\n return genAIApiRes;\n};\n\nconst fetchGenAIResponse = async (url: any, learnerData: any) => {\n return await $http.post(url, learnerData);\n};\n\n// eslint-disable-next-line\nexport { getTaskById, getPreSignedUrl, restarLearnerJourney, uploadSubmission, updateLearnerSubmission, updateGenAISubmission, fetchGenAIResponse };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","showScreen","_m","_v","directives","name","rawName","value","ohrEmail","expression","attrs","domProps","on","$event","type","indexOf","_k","keyCode","key","searchData","showHideCancel","target","composing","selectedSkill","$$selectedVal","Array","prototype","filter","call","options","o","selected","map","val","_value","multiple","getSelectedSkill","_l","skills","skill","skill_id","_s","skill_alias","showProficiency","selectedProficiency","getSelectedProficiency","proficiency","prof","prof_id","prof_name","showdiffAccess","diffAccess","_e","journeyBtnShow","viewLearnerDetails","showEventBtn","viewEvents","showGradBtn","viewGrades","showDeleteBtn","DeleteLearnerDetails","showUploadBtn","uploadLearnerSubmission","holdLearnerBtn","showLearnerHoldPanel","isLearnerOnHold","showPlagiarismBtn","showProxy","showSuccessMessage","resMessage","showErrorMessage","showReEvaluatePanel","proxyAssignedBtn","assignLearnerToProxy","proxyList","proxy","proxy_ohr","selectedProxyOhr","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","showAssignProxyBtn","proxyCheckedOne","proxy_name","proxy_email","proxy_role","showTaskImport","selectedFile","errorMessage","successMessage","submitSubmiision","learnerHoldPanel","learnerHoldReason","callHoldLearner","learnerData","operationalData","learner_task_id","checkOne","showJourneyBtn","linked_task_id","learner_status","is_plagiarised","learner_key","technical_hold","reason_for_hold","checkedOne","fullname","email","proficiencyName","skillName","registration_date","submission_date","completion_date","renderReady","require","staticRenderFns","defineComponent","setup","ref","programme","status","showOperationTab","isShowCancel","learnerTaskId","userRole","learnerSubmissionFile","learnerSubmission","preSignedUrl","submitFilterData","checkedSkill","checkedProficiency","learnerOHR","linkedTaskId","event","taskId","journeyTaskId","taskStatus","isPlagiarised","level","ohr","technicalHold","reasonForHold","cb","console","log","localStorage","setItem","includes","routeData","router","query","window","open","href","getSkillandProf","async","dataRes","invokegetSkillProf","getLearnerData","invokegetOperationData","operationData","diffStatus","index","length","res","moment","format","removeItem","error","Object","assign","invokeDeleteLearnerJourney","clearInput","file","files","fileName","fileSize","size","setTimeout","resPresSigned","getPreSignedUrl","file_name","preSignedRes","data","uploadedRes","uploadSubmission","learner_submission","updateRes","updateLearnerRecord","e","proficiency_id","invokeGetProxyList","learner","proxy_key","assignProxyRes","invokeAssignProxyToPlagiarizedLearners","message","axios","err","response","action","reason","invokeHoldLearnerJourney","proxyOhr","onBeforeMount","role","invokeGetUserRole","user_roles","getItem","component","invokeLearnerForProxyReviewer","url","$http","then","skillId","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","params","savedRes","preSignedurl","learnerFile","uploadResponse","fetch","method","body","getTaskById","getTaskres","restarLearnerJourney","restartres","updateLearnerSubmission","updateSubmissionRes","updateGenAISubmission","genAIApiRes","fetchGenAIResponse"],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[704],{460:function(e,t,a){a.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:a(3126)}})])])])])])},r=[],l=a(7203),n=(0,l.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,l.ref)(""),a=(0,l.ref)(localStorage.getItem("helpmateLink"));return(0,l.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:a}}}),i=n,o=a(1001),u=(0,o.Z)(i,s,r,!1,null,null,null),c=u.exports},7495:function(e,t,a){a.r(t),a.d(t,{default:function(){return oe}});var s,r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",["infinity"===e.programId?t("p",[e._v(" Proficiency: "),t("strong",[e._v(e._s(e.profName))])]):e._e(),"infinity"===e.programId?t("p",{staticClass:"pt-2"},[e._v(" Skill: "),t("strong",[e._v(e._s(e.skill))])]):e._e(),"infinity"!==e.programId?t("p",{staticClass:"pt-2"},[e._v(" Program: "),t("strong",[e._v(e._s(e.programName))])]):e._e(),t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))])]),"Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[e._m(1),t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?t("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[e._m(2),t("div",{staticClass:"mb-4 text-center"},[null!==e.skillId&&null!==e.proficiencyId?t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId,skill_id:e.skillId,proficiency_id:e.proficiencyId}}}},[e._v("Back")]):t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[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...")])])],2)])},l=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Create Off-Cycle Task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Upload the file to create off-cycle task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",{staticClass:"text-xl"},[t("em",[e._v("Please don't click the browser back button")])])])}],n=(a(7658),a(7203)),i=a(4856),o=a(306),u=(a(3767),a(8585),a(8696),new Uint8Array(16));function c(){if(!s&&(s="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(u)}var f=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function d(e){return"string"===typeof e&&f.test(e)}for(var m=d,v=[],p=0;p<256;++p)v.push((p+256).toString(16).substr(1));function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]).toLowerCase();if(!m(a))throw TypeError("Stringified UUID is invalid");return a}var y,b,x=g,h=0,_=0;function w(e,t,a){var s=t&&a||0,r=t||new Array(16);e=e||{};var l=e.node||y,n=void 0!==e.clockseq?e.clockseq:b;if(null==l||null==n){var i=e.random||(e.rng||c)();null==l&&(l=y=[1|i[0],i[1],i[2],i[3],i[4],i[5]]),null==n&&(n=b=16383&(i[6]<<8|i[7]))}var o=void 0!==e.msecs?e.msecs:Date.now(),u=void 0!==e.nsecs?e.nsecs:_+1,f=o-h+(u-_)/1e4;if(f<0&&void 0===e.clockseq&&(n=n+1&16383),(f<0||o>h)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");h=o,_=u,b=n,o+=122192928e5;var d=(1e4*(268435455&o)+u)%4294967296;r[s++]=d>>>24&255,r[s++]=d>>>16&255,r[s++]=d>>>8&255,r[s++]=255&d;var m=o/4294967296*1e4&268435455;r[s++]=m>>>8&255,r[s++]=255&m,r[s++]=m>>>24&15|16,r[s++]=m>>>16&255,r[s++]=n>>>8|128,r[s++]=255&n;for(var v=0;v<6;++v)r[s+v]=l[v];return t||x(r)}var k=w;function C(e){if(!m(e))throw TypeError("Invalid UUID");var t,a=new Uint8Array(16);return a[0]=(t=parseInt(e.slice(0,8),16))>>>24,a[1]=t>>>16&255,a[2]=t>>>8&255,a[3]=255&t,a[4]=(t=parseInt(e.slice(9,13),16))>>>8,a[5]=255&t,a[6]=(t=parseInt(e.slice(14,18),16))>>>8,a[7]=255&t,a[8]=(t=parseInt(e.slice(19,23),16))>>>8,a[9]=255&t,a[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,a[11]=t/4294967296&255,a[12]=t>>>24&255,a[13]=t>>>16&255,a[14]=t>>>8&255,a[15]=255&t,a}var S=C;function M(e){e=unescape(encodeURIComponent(e));for(var t=[],a=0;a<e.length;++a)t.push(e.charCodeAt(a));return t}var I="6ba7b810-9dad-11d1-80b4-00c04fd430c8",T="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function E(e,t,a){function s(e,s,r,l){if("string"===typeof e&&(e=M(e)),"string"===typeof s&&(s=S(s)),16!==s.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var n=new Uint8Array(16+e.length);if(n.set(s),n.set(e,s.length),n=a(n),n[6]=15&n[6]|t,n[8]=63&n[8]|128,r){l=l||0;for(var i=0;i<16;++i)r[l+i]=n[i];return r}return x(n)}try{s.name=e}catch(r){}return s.DNS=I,s.URL=T,s}function A(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var a=0;a<t.length;++a)e[a]=t.charCodeAt(a)}return U(R(L(e),8*e.length))}function U(e){for(var t=[],a=32*e.length,s="0123456789abcdef",r=0;r<a;r+=8){var l=e[r>>5]>>>r%32&255,n=parseInt(s.charAt(l>>>4&15)+s.charAt(15&l),16);t.push(n)}return t}function Z(e){return 14+(e+64>>>9<<4)+1}function R(e,t){e[t>>5]|=128<<t%32,e[Z(t)-1]=t;for(var a=1732584193,s=-271733879,r=-1732584194,l=271733878,n=0;n<e.length;n+=16){var i=a,o=s,u=r,c=l;a=P(a,s,r,l,e[n],7,-680876936),l=P(l,a,s,r,e[n+1],12,-389564586),r=P(r,l,a,s,e[n+2],17,606105819),s=P(s,r,l,a,e[n+3],22,-1044525330),a=P(a,s,r,l,e[n+4],7,-176418897),l=P(l,a,s,r,e[n+5],12,1200080426),r=P(r,l,a,s,e[n+6],17,-1473231341),s=P(s,r,l,a,e[n+7],22,-45705983),a=P(a,s,r,l,e[n+8],7,1770035416),l=P(l,a,s,r,e[n+9],12,-1958414417),r=P(r,l,a,s,e[n+10],17,-42063),s=P(s,r,l,a,e[n+11],22,-1990404162),a=P(a,s,r,l,e[n+12],7,1804603682),l=P(l,a,s,r,e[n+13],12,-40341101),r=P(r,l,a,s,e[n+14],17,-1502002290),s=P(s,r,l,a,e[n+15],22,1236535329),a=B(a,s,r,l,e[n+1],5,-165796510),l=B(l,a,s,r,e[n+6],9,-1069501632),r=B(r,l,a,s,e[n+11],14,643717713),s=B(s,r,l,a,e[n],20,-373897302),a=B(a,s,r,l,e[n+5],5,-701558691),l=B(l,a,s,r,e[n+10],9,38016083),r=B(r,l,a,s,e[n+15],14,-660478335),s=B(s,r,l,a,e[n+4],20,-405537848),a=B(a,s,r,l,e[n+9],5,568446438),l=B(l,a,s,r,e[n+14],9,-1019803690),r=B(r,l,a,s,e[n+3],14,-187363961),s=B(s,r,l,a,e[n+8],20,1163531501),a=B(a,s,r,l,e[n+13],5,-1444681467),l=B(l,a,s,r,e[n+2],9,-51403784),r=B(r,l,a,s,e[n+7],14,1735328473),s=B(s,r,l,a,e[n+12],20,-1926607734),a=V(a,s,r,l,e[n+5],4,-378558),l=V(l,a,s,r,e[n+8],11,-2022574463),r=V(r,l,a,s,e[n+11],16,1839030562),s=V(s,r,l,a,e[n+14],23,-35309556),a=V(a,s,r,l,e[n+1],4,-1530992060),l=V(l,a,s,r,e[n+4],11,1272893353),r=V(r,l,a,s,e[n+7],16,-155497632),s=V(s,r,l,a,e[n+10],23,-1094730640),a=V(a,s,r,l,e[n+13],4,681279174),l=V(l,a,s,r,e[n],11,-358537222),r=V(r,l,a,s,e[n+3],16,-722521979),s=V(s,r,l,a,e[n+6],23,76029189),a=V(a,s,r,l,e[n+9],4,-640364487),l=V(l,a,s,r,e[n+12],11,-421815835),r=V(r,l,a,s,e[n+15],16,530742520),s=V(s,r,l,a,e[n+2],23,-995338651),a=q(a,s,r,l,e[n],6,-198630844),l=q(l,a,s,r,e[n+7],10,1126891415),r=q(r,l,a,s,e[n+14],15,-1416354905),s=q(s,r,l,a,e[n+5],21,-57434055),a=q(a,s,r,l,e[n+12],6,1700485571),l=q(l,a,s,r,e[n+3],10,-1894986606),r=q(r,l,a,s,e[n+10],15,-1051523),s=q(s,r,l,a,e[n+1],21,-2054922799),a=q(a,s,r,l,e[n+8],6,1873313359),l=q(l,a,s,r,e[n+15],10,-30611744),r=q(r,l,a,s,e[n+6],15,-1560198380),s=q(s,r,l,a,e[n+13],21,1309151649),a=q(a,s,r,l,e[n+4],6,-145523070),l=q(l,a,s,r,e[n+11],10,-1120210379),r=q(r,l,a,s,e[n+2],15,718787259),s=q(s,r,l,a,e[n+9],21,-343485551),a=F(a,i),s=F(s,o),r=F(r,u),l=F(l,c)}return[a,s,r,l]}function L(e){if(0===e.length)return[];for(var t=8*e.length,a=new Uint32Array(Z(t)),s=0;s<t;s+=8)a[s>>5]|=(255&e[s/8])<<s%32;return a}function F(e,t){var a=(65535&e)+(65535&t),s=(e>>16)+(t>>16)+(a>>16);return s<<16|65535&a}function N(e,t){return e<<t|e>>>32-t}function D(e,t,a,s,r,l){return F(N(F(F(t,e),F(s,l)),r),a)}function P(e,t,a,s,r,l,n){return D(t&a|~t&s,e,t,r,l,n)}function B(e,t,a,s,r,l,n){return D(t&s|a&~s,e,t,r,l,n)}function V(e,t,a,s,r,l,n){return D(t^a^s,e,t,r,l,n)}function q(e,t,a,s,r,l,n){return D(a^(t|~s),e,t,r,l,n)}var $=A,O=E("v3",48,$),z=O;function j(e,t,a){e=e||{};var s=e.random||(e.rng||c)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){a=a||0;for(var r=0;r<16;++r)t[a+r]=s[r];return t}return x(s)}var K=j;function Y(e,t,a,s){switch(e){case 0:return t&a^~t&s;case 1:return t^a^s;case 2:return t&a^t&s^a&s;case 3:return t^a^s}}function G(e,t){return e<<t|e>>>32-t}function J(e){var t=[1518500249,1859775393,2400959708,3395469782],a=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var s=unescape(encodeURIComponent(e));e=[];for(var r=0;r<s.length;++r)e.push(s.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var l=e.length/4+2,n=Math.ceil(l/16),i=new Array(n),o=0;o<n;++o){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=e[64*o+4*c]<<24|e[64*o+4*c+1]<<16|e[64*o+4*c+2]<<8|e[64*o+4*c+3];i[o]=u}i[n-1][14]=8*(e.length-1)/Math.pow(2,32),i[n-1][14]=Math.floor(i[n-1][14]),i[n-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<n;++f){for(var d=new Uint32Array(80),m=0;m<16;++m)d[m]=i[f][m];for(var v=16;v<80;++v)d[v]=G(d[v-3]^d[v-8]^d[v-14]^d[v-16],1);for(var p=a[0],g=a[1],y=a[2],b=a[3],x=a[4],h=0;h<80;++h){var _=Math.floor(h/20),w=G(p,5)+Y(_,g,y,b)+x+t[_]+d[h]>>>0;x=b,b=y,y=G(g,30)>>>0,g=p,p=w}a[0]=a[0]+p>>>0,a[1]=a[1]+g>>>0,a[2]=a[2]+y>>>0,a[3]=a[3]+b>>>0,a[4]=a[4]+x>>>0}return[a[0]>>24&255,a[0]>>16&255,a[0]>>8&255,255&a[0],a[1]>>24&255,a[1]>>16&255,a[1]>>8&255,255&a[1],a[2]>>24&255,a[2]>>16&255,a[2]>>8&255,255&a[2],a[3]>>24&255,a[3]>>16&255,a[3]>>8&255,255&a[3],a[4]>>24&255,a[4]>>16&255,a[4]>>8&255,255&a[4]]}var W=J,X=E("v5",80,W),H=X,Q={v1:k,v3:z,v4:K,v5:H};var ee=a(442),te=a(568),ae=a(9955),se=a(460),re=(0,n.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:i.b0D,ErrorMessage:se.Z},setup(){const e=(0,n.ref)(localStorage.getItem("linkedTaskId")),t=(0,n.ref)(Q.v1()),a=(0,n.ref)(localStorage.getItem("programId")),s=(0,n.ref)(localStorage.getItem("programName")),r=(0,n.ref)(localStorage.getItem("skillId"));console.log("skill Id in createoffcyclle",r);const l=(0,n.ref)(localStorage.getItem("proficiencyId")),i=(0,n.ref)(localStorage.getItem("skillName")),u=(0,n.ref)(localStorage.getItem("proficiencyName")),c=(0,n.ref)(localStorage.getItem("taskName")),f=(0,n.ref)(localStorage.getItem("taskType")),d=(0,n.ref)(null),m=(0,n.ref)(),v=(0,n.ref)(),p=(0,n.ref)(),g=(0,n.ref)(!0),y=(0,n.ref)(),b=(0,n.ref)(0),x=(0,n.ref)(!1),h=(0,n.ref)(),_=(0,n.ref)(!1),w=(0,n.ref)(),k=(0,n.ref)(!1),C=async()=>{b.value+=1,console.log(`before ${v.value}`),v.value=null,console.log(`after ${v.value}`)},S=e=>{const t=e.target.checked;!0===t?(g.value=!1,console.log(g.value)):(g.value=!0,console.log(g.value))},M=async e=>{try{d.value=e.target.files[0],v.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(m.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),x.value=!0,o.Z.isAxiosError(t)){const e=t;h.value=e.response?.data?.message}else h.value="Something went wrong, please contact helpmate.";k.value=!0}},I=async()=>{try{if(x.value=!1,v.value){let s;if("Desktop"===f.value){const n={linked_program_name:a.value,learner_task_id:t.value,skill:r.value,proficiency:l.value,linked_task_id:e.value,learner_submission:v.value},i=await(0,te.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:t.value}),o=i.data;p.value=o.preSignedUrl;const u=await(0,te.sc)(p.value,d.value);200===u.status?s=await(0,ae.sw)("/offcycle/create",n):(x.value=!0,h.value="There is issue in the file upload, please contact with helpmate.",k.value=!0)}else{const n={linked_program_name:a.value,learner_task_id:t.value,skill:r.value,proficiency:l.value,linked_task_id:e.value,learner_submission_text:v.value};s=await(0,ae.sw)("/offcycle/create",n)}200===s.status?(x.value=!0,w.value=s.data.message,_.value=!0,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"),null!==r.value&&null!==l.value?ee.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:a.value,skill_id:r.value,proficiency_id:l.value}}):ee.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:a.value}})):(x.value=!0,h.value="There is some issue while submitting learner submission, please contact with helpmate.",k.value=!0)}else"Mobile"===f.value?(x.value=!0,v.value||(m.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{m.value=null}),6e3))):"Desktop"===f.value&&(x.value=!0,console.log(`learnerSubmission.value ${v.value}`),v.value||(m.value="please select File",setTimeout((()=>{m.value=null}),6e3)))}catch(s){if(x.value=!0,console.log(`error ${s}`),o.Z.isAxiosError(s)){const e=s;h.value=e.response?.data?.message}else h.value="There is some issue while submitting learner submission, please contact with helpmate.";k.value=!0}};return(0,n.onBeforeMount)((async()=>{x.value=!0})),{learnerSubmissionFile:d,skillId:r,proficiencyId:l,programId:a,taskType:f,taskName:c,submitSubmiision:I,learnerSubmission:v,selectedFile:M,fileValidationMsg:m,learnerTaskId:t,preSignedUrl:p,buttonDisable:g,setButtonEnable:S,validationError:y,clearFile:C,fileInputKey:b,renderReady:x,errorResponse:h,showErrorMessage:k,programName:s,skill:i,profName:u,showSuccessMessage:_,resMessage:w}}}),le=re,ne=a(1001),ie=(0,ne.Z)(le,r,l,!1,null,"6bbf6ab7",null),oe=ie.exports},195:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:e.learnerTaskId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v(" Update Submission ")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[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...")])])],2)])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Update Learner Submission")])])}],l=a(7203),n=a(306),i=a(8451),o=a(568),u=a(460),c=(0,l.defineComponent)({name:"UpdateSubmission",components:{ErrorMessage:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,l.ref)(e.query.linked_task_id);console.log("Task ID",t.value);const a=(0,l.ref)(e.query.learner_task_id),s=(0,l.ref)(),r=(0,l.ref)(),u=(0,l.ref)(),c=(0,l.ref)(null),f=(0,l.ref)(),d=(0,l.ref)(!0),m=(0,l.ref)(),v=(0,l.ref)(0),p=(0,l.ref)(!1),g=(0,l.ref)(),y=(0,l.ref)(!1),b=(0,l.ref)(),x=(0,l.ref)(!1),h=async e=>{try{c.value=e.target.files[0],u.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(r.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),p.value=!0,n.Z.isAxiosError(t)){const e=t;g.value=e.response?.data?.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},_=async()=>{try{if(p.value=!1,u.value){let e;const t={learner_task_id:a.value,learner_submission:u.value,taskType:s.value};if("Desktop"===s.value){const s=await(0,o.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:u.value,learner_task_id:a.value}),r=s.data;f.value=r.preSignedUrl;const l=await(0,o.sc)(f.value,c.value);200===l.status?e=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",t):(p.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(p.value=!0,b.value=e.data.message,y.value=!0,setTimeout((()=>{b.value=null,y.value=!1}),6e3)):(p.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout((()=>{b.value=null,y.value=!1}),6e3))}else"Mobile"===s.value?(p.value=!0,u.value||(r.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{r.value=null}),6e3))):"Desktop"===s.value&&(p.value=!0,console.log(`learnerSubmission.value ${u.value}`),u.value||(r.value="please select File",setTimeout((()=>{r.value=null}),6e3)))}catch(e){if(p.value=!0,console.log(`error ${e}`),n.Z.isAxiosError(e)){const t=e;g.value=t.response?.data?.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},w=async()=>{p.value=!1;const e=await(0,o.yW)(t.value);console.log(`task data ${JSON.stringify(e)}`);const a=e.data.data;a?s.value=a.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),p.value=!0};return(0,l.onBeforeMount)((async()=>{await w()})),{taskType:s,learnerTaskId:a,renderReady:p,errorResponse:g,showErrorMessage:x,showSuccessMessage:y,resMessage:b,fileValidationMsg:r,submitSubmiision:_,learnerSubmission:u,selectedFile:h,preSignedUrl:f,buttonDisable:d,validationError:m,fileInputKey:v}}}),f=c,d=a(1001),m=(0,d.Z)(f,s,r,!1,null,"01303efb",null),v=m.exports},475:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministration"}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[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...")])])],2)])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Submit Learner Submission")])])}],l=a(7203),n=a(306),i=a(8451),o=a(568),u=a(460),c=(0,l.defineComponent)({name:"UploadSubmission",components:{ErrorMessage:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,l.ref)(e.query.linked_task_id);console.log("Task ID",t.value);const a=(0,l.ref)(e.query.learner_task_id),s=(0,l.ref)(),r=(0,l.ref)(),u=(0,l.ref)(),c=(0,l.ref)(null),f=(0,l.ref)(),d=(0,l.ref)(!0),m=(0,l.ref)(),v=(0,l.ref)(0),p=(0,l.ref)(!1),g=(0,l.ref)(),y=(0,l.ref)(!1),b=(0,l.ref)(),x=(0,l.ref)(!1),h=async e=>{try{c.value=e.target.files[0],u.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(r.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),p.value=!0,n.Z.isAxiosError(t)){const e=t;g.value=e.response?.data?.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},_=async()=>{try{if(p.value=!1,u.value){let e;const r={learner_task_id:a.value,learner_submission:u.value,taskType:s.value,linkedTaskId:t.value};if("Desktop"===s.value){const t=await(0,o.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:u.value,learner_task_id:a.value}),s=t.data;f.value=s.preSignedUrl;const l=await(0,o.sc)(f.value,c.value);200===l.status?e=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",r):(p.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",r);200===e.status?(p.value=!0,b.value=e.data.message,y.value=!0,setTimeout((()=>{b.value=null,y.value=!1}),6e3)):(p.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout((()=>{b.value=null,y.value=!1}),6e3))}else"Mobile"===s.value?(p.value=!0,u.value||(r.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{r.value=null}),6e3))):"Desktop"===s.value&&(p.value=!0,console.log(`learnerSubmission.value ${u.value}`),u.value||(r.value="please select File",setTimeout((()=>{r.value=null}),6e3)))}catch(e){if(p.value=!0,console.log(`error ${e}`),n.Z.isAxiosError(e)){const t=e;g.value=t.response?.data?.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},w=async()=>{p.value=!1;const e=await(0,o.yW)(t.value);console.log(`task data ${JSON.stringify(e)}`);const a=e.data.data;a?s.value=a.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),p.value=!0};return(0,l.onBeforeMount)((async()=>{await w()})),{taskType:s,learnerTaskId:a,renderReady:p,errorResponse:g,showErrorMessage:x,showSuccessMessage:y,resMessage:b,fileValidationMsg:r,submitSubmiision:_,learnerSubmission:u,selectedFile:h,preSignedUrl:f,buttonDisable:d,validationError:m,fileInputKey:v}}}),f=c,d=a(1001),m=(0,d.Z)(f,s,r,!1,null,"c2f7f0d6",null),v=m.exports},9955:function(e,t,a){a.d(t,{Yg:function(){return l},sw:function(){return r}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a}},8451:function(e,t,a){a.d(t,{Lu:function(){return r},O6:function(){return i},QZ:function(){return u},R2:function(){return o},X5:function(){return n},oE:function(){return l}});var s=a(7129);const r=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a},n=async(e,t)=>{const a=await s.Z.post(e,t);return a},i=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},o=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},u=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t}},568:function(e,t,a){a.d(t,{JV:function(){return c},ie:function(){return i},rC:function(){return o},sc:function(){return l},t$:function(){return u},ux:function(){return r},yW:function(){return n}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{let a;const s=await fetch(`${e}`,{method:"put",body:t});return a=s,a},n=async e=>{const t=await s.Z.get(`/task/${e}`);return t},i=async(e,t)=>{const a=await s.Z.post(e,{learner_task_id:t});return a},o=async(e,t)=>{const a=await s.Z.post(e,t);return a},u=async(e,t)=>{const a=await s.Z.post(e,t);return a},c=async(e,t)=>await s.Z.post(e,t)},3126:function(e,t,a){e.exports=a.p+"img/support.svg"}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[704],{460:function(e,t,a){a.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:a(3126)}})])])])])])},r=[],l=a(7203),n=(0,l.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,l.ref)(""),a=(0,l.ref)(localStorage.getItem("helpmateLink"));return(0,l.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:a}}}),i=n,o=a(1001),u=(0,o.Z)(i,s,r,!1,null,null,null),c=u.exports},7495:function(e,t,a){a.r(t),a.d(t,{default:function(){return oe}});var s,r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",["infinity"===e.programId?t("p",[e._v(" Proficiency: "),t("strong",[e._v(e._s(e.profName))])]):e._e(),"infinity"===e.programId?t("p",{staticClass:"pt-2"},[e._v(" Skill: "),t("strong",[e._v(e._s(e.skill))])]):e._e(),"infinity"!==e.programId?t("p",{staticClass:"pt-2"},[e._v(" Program: "),t("strong",[e._v(e._s(e.programName))])]):e._e(),t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))])]),"Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[e._m(1),t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?t("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[e._m(2),t("div",{staticClass:"mb-4 text-center"},[null!==e.skillId&&null!==e.proficiencyId?t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId,skill_id:e.skillId,proficiency_id:e.proficiencyId}}}},[e._v("Back")]):t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[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...")])])],2)])},l=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Create Off-Cycle Task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Upload the file to create off-cycle task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",{staticClass:"text-xl"},[t("em",[e._v("Please don't click the browser back button")])])])}],n=(a(7658),a(7203)),i=a(4856),o=a(306),u=(a(3767),a(8585),a(8696),new Uint8Array(16));function c(){if(!s&&(s="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(u)}var f=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function d(e){return"string"===typeof e&&f.test(e)}for(var m=d,v=[],p=0;p<256;++p)v.push((p+256).toString(16).substr(1));function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]).toLowerCase();if(!m(a))throw TypeError("Stringified UUID is invalid");return a}var y,b,x=g,h=0,_=0;function w(e,t,a){var s=t&&a||0,r=t||new Array(16);e=e||{};var l=e.node||y,n=void 0!==e.clockseq?e.clockseq:b;if(null==l||null==n){var i=e.random||(e.rng||c)();null==l&&(l=y=[1|i[0],i[1],i[2],i[3],i[4],i[5]]),null==n&&(n=b=16383&(i[6]<<8|i[7]))}var o=void 0!==e.msecs?e.msecs:Date.now(),u=void 0!==e.nsecs?e.nsecs:_+1,f=o-h+(u-_)/1e4;if(f<0&&void 0===e.clockseq&&(n=n+1&16383),(f<0||o>h)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");h=o,_=u,b=n,o+=122192928e5;var d=(1e4*(268435455&o)+u)%4294967296;r[s++]=d>>>24&255,r[s++]=d>>>16&255,r[s++]=d>>>8&255,r[s++]=255&d;var m=o/4294967296*1e4&268435455;r[s++]=m>>>8&255,r[s++]=255&m,r[s++]=m>>>24&15|16,r[s++]=m>>>16&255,r[s++]=n>>>8|128,r[s++]=255&n;for(var v=0;v<6;++v)r[s+v]=l[v];return t||x(r)}var k=w;function C(e){if(!m(e))throw TypeError("Invalid UUID");var t,a=new Uint8Array(16);return a[0]=(t=parseInt(e.slice(0,8),16))>>>24,a[1]=t>>>16&255,a[2]=t>>>8&255,a[3]=255&t,a[4]=(t=parseInt(e.slice(9,13),16))>>>8,a[5]=255&t,a[6]=(t=parseInt(e.slice(14,18),16))>>>8,a[7]=255&t,a[8]=(t=parseInt(e.slice(19,23),16))>>>8,a[9]=255&t,a[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,a[11]=t/4294967296&255,a[12]=t>>>24&255,a[13]=t>>>16&255,a[14]=t>>>8&255,a[15]=255&t,a}var S=C;function M(e){e=unescape(encodeURIComponent(e));for(var t=[],a=0;a<e.length;++a)t.push(e.charCodeAt(a));return t}var I="6ba7b810-9dad-11d1-80b4-00c04fd430c8",T="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function E(e,t,a){function s(e,s,r,l){if("string"===typeof e&&(e=M(e)),"string"===typeof s&&(s=S(s)),16!==s.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var n=new Uint8Array(16+e.length);if(n.set(s),n.set(e,s.length),n=a(n),n[6]=15&n[6]|t,n[8]=63&n[8]|128,r){l=l||0;for(var i=0;i<16;++i)r[l+i]=n[i];return r}return x(n)}try{s.name=e}catch(r){}return s.DNS=I,s.URL=T,s}function A(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var a=0;a<t.length;++a)e[a]=t.charCodeAt(a)}return U(R(L(e),8*e.length))}function U(e){for(var t=[],a=32*e.length,s="0123456789abcdef",r=0;r<a;r+=8){var l=e[r>>5]>>>r%32&255,n=parseInt(s.charAt(l>>>4&15)+s.charAt(15&l),16);t.push(n)}return t}function Z(e){return 14+(e+64>>>9<<4)+1}function R(e,t){e[t>>5]|=128<<t%32,e[Z(t)-1]=t;for(var a=1732584193,s=-271733879,r=-1732584194,l=271733878,n=0;n<e.length;n+=16){var i=a,o=s,u=r,c=l;a=P(a,s,r,l,e[n],7,-680876936),l=P(l,a,s,r,e[n+1],12,-389564586),r=P(r,l,a,s,e[n+2],17,606105819),s=P(s,r,l,a,e[n+3],22,-1044525330),a=P(a,s,r,l,e[n+4],7,-176418897),l=P(l,a,s,r,e[n+5],12,1200080426),r=P(r,l,a,s,e[n+6],17,-1473231341),s=P(s,r,l,a,e[n+7],22,-45705983),a=P(a,s,r,l,e[n+8],7,1770035416),l=P(l,a,s,r,e[n+9],12,-1958414417),r=P(r,l,a,s,e[n+10],17,-42063),s=P(s,r,l,a,e[n+11],22,-1990404162),a=P(a,s,r,l,e[n+12],7,1804603682),l=P(l,a,s,r,e[n+13],12,-40341101),r=P(r,l,a,s,e[n+14],17,-1502002290),s=P(s,r,l,a,e[n+15],22,1236535329),a=B(a,s,r,l,e[n+1],5,-165796510),l=B(l,a,s,r,e[n+6],9,-1069501632),r=B(r,l,a,s,e[n+11],14,643717713),s=B(s,r,l,a,e[n],20,-373897302),a=B(a,s,r,l,e[n+5],5,-701558691),l=B(l,a,s,r,e[n+10],9,38016083),r=B(r,l,a,s,e[n+15],14,-660478335),s=B(s,r,l,a,e[n+4],20,-405537848),a=B(a,s,r,l,e[n+9],5,568446438),l=B(l,a,s,r,e[n+14],9,-1019803690),r=B(r,l,a,s,e[n+3],14,-187363961),s=B(s,r,l,a,e[n+8],20,1163531501),a=B(a,s,r,l,e[n+13],5,-1444681467),l=B(l,a,s,r,e[n+2],9,-51403784),r=B(r,l,a,s,e[n+7],14,1735328473),s=B(s,r,l,a,e[n+12],20,-1926607734),a=V(a,s,r,l,e[n+5],4,-378558),l=V(l,a,s,r,e[n+8],11,-2022574463),r=V(r,l,a,s,e[n+11],16,1839030562),s=V(s,r,l,a,e[n+14],23,-35309556),a=V(a,s,r,l,e[n+1],4,-1530992060),l=V(l,a,s,r,e[n+4],11,1272893353),r=V(r,l,a,s,e[n+7],16,-155497632),s=V(s,r,l,a,e[n+10],23,-1094730640),a=V(a,s,r,l,e[n+13],4,681279174),l=V(l,a,s,r,e[n],11,-358537222),r=V(r,l,a,s,e[n+3],16,-722521979),s=V(s,r,l,a,e[n+6],23,76029189),a=V(a,s,r,l,e[n+9],4,-640364487),l=V(l,a,s,r,e[n+12],11,-421815835),r=V(r,l,a,s,e[n+15],16,530742520),s=V(s,r,l,a,e[n+2],23,-995338651),a=q(a,s,r,l,e[n],6,-198630844),l=q(l,a,s,r,e[n+7],10,1126891415),r=q(r,l,a,s,e[n+14],15,-1416354905),s=q(s,r,l,a,e[n+5],21,-57434055),a=q(a,s,r,l,e[n+12],6,1700485571),l=q(l,a,s,r,e[n+3],10,-1894986606),r=q(r,l,a,s,e[n+10],15,-1051523),s=q(s,r,l,a,e[n+1],21,-2054922799),a=q(a,s,r,l,e[n+8],6,1873313359),l=q(l,a,s,r,e[n+15],10,-30611744),r=q(r,l,a,s,e[n+6],15,-1560198380),s=q(s,r,l,a,e[n+13],21,1309151649),a=q(a,s,r,l,e[n+4],6,-145523070),l=q(l,a,s,r,e[n+11],10,-1120210379),r=q(r,l,a,s,e[n+2],15,718787259),s=q(s,r,l,a,e[n+9],21,-343485551),a=F(a,i),s=F(s,o),r=F(r,u),l=F(l,c)}return[a,s,r,l]}function L(e){if(0===e.length)return[];for(var t=8*e.length,a=new Uint32Array(Z(t)),s=0;s<t;s+=8)a[s>>5]|=(255&e[s/8])<<s%32;return a}function F(e,t){var a=(65535&e)+(65535&t),s=(e>>16)+(t>>16)+(a>>16);return s<<16|65535&a}function N(e,t){return e<<t|e>>>32-t}function D(e,t,a,s,r,l){return F(N(F(F(t,e),F(s,l)),r),a)}function P(e,t,a,s,r,l,n){return D(t&a|~t&s,e,t,r,l,n)}function B(e,t,a,s,r,l,n){return D(t&s|a&~s,e,t,r,l,n)}function V(e,t,a,s,r,l,n){return D(t^a^s,e,t,r,l,n)}function q(e,t,a,s,r,l,n){return D(a^(t|~s),e,t,r,l,n)}var $=A,O=E("v3",48,$),z=O;function j(e,t,a){e=e||{};var s=e.random||(e.rng||c)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){a=a||0;for(var r=0;r<16;++r)t[a+r]=s[r];return t}return x(s)}var K=j;function Y(e,t,a,s){switch(e){case 0:return t&a^~t&s;case 1:return t^a^s;case 2:return t&a^t&s^a&s;case 3:return t^a^s}}function G(e,t){return e<<t|e>>>32-t}function J(e){var t=[1518500249,1859775393,2400959708,3395469782],a=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var s=unescape(encodeURIComponent(e));e=[];for(var r=0;r<s.length;++r)e.push(s.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var l=e.length/4+2,n=Math.ceil(l/16),i=new Array(n),o=0;o<n;++o){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=e[64*o+4*c]<<24|e[64*o+4*c+1]<<16|e[64*o+4*c+2]<<8|e[64*o+4*c+3];i[o]=u}i[n-1][14]=8*(e.length-1)/Math.pow(2,32),i[n-1][14]=Math.floor(i[n-1][14]),i[n-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<n;++f){for(var d=new Uint32Array(80),m=0;m<16;++m)d[m]=i[f][m];for(var v=16;v<80;++v)d[v]=G(d[v-3]^d[v-8]^d[v-14]^d[v-16],1);for(var p=a[0],g=a[1],y=a[2],b=a[3],x=a[4],h=0;h<80;++h){var _=Math.floor(h/20),w=G(p,5)+Y(_,g,y,b)+x+t[_]+d[h]>>>0;x=b,b=y,y=G(g,30)>>>0,g=p,p=w}a[0]=a[0]+p>>>0,a[1]=a[1]+g>>>0,a[2]=a[2]+y>>>0,a[3]=a[3]+b>>>0,a[4]=a[4]+x>>>0}return[a[0]>>24&255,a[0]>>16&255,a[0]>>8&255,255&a[0],a[1]>>24&255,a[1]>>16&255,a[1]>>8&255,255&a[1],a[2]>>24&255,a[2]>>16&255,a[2]>>8&255,255&a[2],a[3]>>24&255,a[3]>>16&255,a[3]>>8&255,255&a[3],a[4]>>24&255,a[4]>>16&255,a[4]>>8&255,255&a[4]]}var W=J,X=E("v5",80,W),H=X,Q={v1:k,v3:z,v4:K,v5:H};var ee=a(4642),te=a(568),ae=a(9955),se=a(460),re=(0,n.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:i.b0D,ErrorMessage:se.Z},setup(){const e=(0,n.ref)(localStorage.getItem("linkedTaskId")),t=(0,n.ref)(Q.v1()),a=(0,n.ref)(localStorage.getItem("programId")),s=(0,n.ref)(localStorage.getItem("programName")),r=(0,n.ref)(localStorage.getItem("skillId"));console.log("skill Id in createoffcyclle",r);const l=(0,n.ref)(localStorage.getItem("proficiencyId")),i=(0,n.ref)(localStorage.getItem("skillName")),u=(0,n.ref)(localStorage.getItem("proficiencyName")),c=(0,n.ref)(localStorage.getItem("taskName")),f=(0,n.ref)(localStorage.getItem("taskType")),d=(0,n.ref)(null),m=(0,n.ref)(),v=(0,n.ref)(),p=(0,n.ref)(),g=(0,n.ref)(!0),y=(0,n.ref)(),b=(0,n.ref)(0),x=(0,n.ref)(!1),h=(0,n.ref)(),_=(0,n.ref)(!1),w=(0,n.ref)(),k=(0,n.ref)(!1),C=async()=>{b.value+=1,console.log(`before ${v.value}`),v.value=null,console.log(`after ${v.value}`)},S=e=>{const t=e.target.checked;!0===t?(g.value=!1,console.log(g.value)):(g.value=!0,console.log(g.value))},M=async e=>{try{d.value=e.target.files[0],v.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(m.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),x.value=!0,o.Z.isAxiosError(t)){const e=t;h.value=e.response?.data?.message}else h.value="Something went wrong, please contact helpmate.";k.value=!0}},I=async()=>{try{if(x.value=!1,v.value){let s;if("Desktop"===f.value){const n={linked_program_name:a.value,learner_task_id:t.value,skill:r.value,proficiency:l.value,linked_task_id:e.value,learner_submission:v.value},i=await(0,te.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:t.value}),o=i.data;p.value=o.preSignedUrl;const u=await(0,te.sc)(p.value,d.value);200===u.status?s=await(0,ae.sw)("/offcycle/create",n):(x.value=!0,h.value="There is issue in the file upload, please contact with helpmate.",k.value=!0)}else{const n={linked_program_name:a.value,learner_task_id:t.value,skill:r.value,proficiency:l.value,linked_task_id:e.value,learner_submission_text:v.value};s=await(0,ae.sw)("/offcycle/create",n)}200===s.status?(x.value=!0,w.value=s.data.message,_.value=!0,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"),null!==r.value&&null!==l.value?ee.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:a.value,skill_id:r.value,proficiency_id:l.value}}):ee.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:a.value}})):(x.value=!0,h.value="There is some issue while submitting learner submission, please contact with helpmate.",k.value=!0)}else"Mobile"===f.value?(x.value=!0,v.value||(m.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{m.value=null}),6e3))):"Desktop"===f.value&&(x.value=!0,console.log(`learnerSubmission.value ${v.value}`),v.value||(m.value="please select File",setTimeout((()=>{m.value=null}),6e3)))}catch(s){if(x.value=!0,console.log(`error ${s}`),o.Z.isAxiosError(s)){const e=s;h.value=e.response?.data?.message}else h.value="There is some issue while submitting learner submission, please contact with helpmate.";k.value=!0}};return(0,n.onBeforeMount)((async()=>{x.value=!0})),{learnerSubmissionFile:d,skillId:r,proficiencyId:l,programId:a,taskType:f,taskName:c,submitSubmiision:I,learnerSubmission:v,selectedFile:M,fileValidationMsg:m,learnerTaskId:t,preSignedUrl:p,buttonDisable:g,setButtonEnable:S,validationError:y,clearFile:C,fileInputKey:b,renderReady:x,errorResponse:h,showErrorMessage:k,programName:s,skill:i,profName:u,showSuccessMessage:_,resMessage:w}}}),le=re,ne=a(1001),ie=(0,ne.Z)(le,r,l,!1,null,"6bbf6ab7",null),oe=ie.exports},195:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:e.learnerTaskId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v(" Update Submission ")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[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...")])])],2)])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Update Learner Submission")])])}],l=a(7203),n=a(306),i=a(8451),o=a(568),u=a(460),c=(0,l.defineComponent)({name:"UpdateSubmission",components:{ErrorMessage:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,l.ref)(e.query.linked_task_id);console.log("Task ID",t.value);const a=(0,l.ref)(e.query.learner_task_id),s=(0,l.ref)(),r=(0,l.ref)(),u=(0,l.ref)(),c=(0,l.ref)(null),f=(0,l.ref)(),d=(0,l.ref)(!0),m=(0,l.ref)(),v=(0,l.ref)(0),p=(0,l.ref)(!1),g=(0,l.ref)(),y=(0,l.ref)(!1),b=(0,l.ref)(),x=(0,l.ref)(!1),h=async e=>{try{c.value=e.target.files[0],u.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(r.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),p.value=!0,n.Z.isAxiosError(t)){const e=t;g.value=e.response?.data?.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},_=async()=>{try{if(p.value=!1,u.value){let e;const t={learner_task_id:a.value,learner_submission:u.value,taskType:s.value};if("Desktop"===s.value){const s=await(0,o.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:u.value,learner_task_id:a.value}),r=s.data;f.value=r.preSignedUrl;const l=await(0,o.sc)(f.value,c.value);200===l.status?e=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",t):(p.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(p.value=!0,b.value=e.data.message,y.value=!0,setTimeout((()=>{b.value=null,y.value=!1}),6e3)):(p.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout((()=>{b.value=null,y.value=!1}),6e3))}else"Mobile"===s.value?(p.value=!0,u.value||(r.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{r.value=null}),6e3))):"Desktop"===s.value&&(p.value=!0,console.log(`learnerSubmission.value ${u.value}`),u.value||(r.value="please select File",setTimeout((()=>{r.value=null}),6e3)))}catch(e){if(p.value=!0,console.log(`error ${e}`),n.Z.isAxiosError(e)){const t=e;g.value=t.response?.data?.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},w=async()=>{p.value=!1;const e=await(0,o.yW)(t.value);console.log(`task data ${JSON.stringify(e)}`);const a=e.data.data;a?s.value=a.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),p.value=!0};return(0,l.onBeforeMount)((async()=>{await w()})),{taskType:s,learnerTaskId:a,renderReady:p,errorResponse:g,showErrorMessage:x,showSuccessMessage:y,resMessage:b,fileValidationMsg:r,submitSubmiision:_,learnerSubmission:u,selectedFile:h,preSignedUrl:f,buttonDisable:d,validationError:m,fileInputKey:v}}}),f=c,d=a(1001),m=(0,d.Z)(f,s,r,!1,null,"01303efb",null),v=m.exports},475:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministration"}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[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...")])])],2)])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Submit Learner Submission")])])}],l=a(7203),n=a(306),i=a(8451),o=a(568),u=a(460),c=(0,l.defineComponent)({name:"UploadSubmission",components:{ErrorMessage:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,l.ref)(e.query.linked_task_id);console.log("Task ID",t.value);const a=(0,l.ref)(e.query.learner_task_id),s=(0,l.ref)(),r=(0,l.ref)(),u=(0,l.ref)(),c=(0,l.ref)(null),f=(0,l.ref)(),d=(0,l.ref)(!0),m=(0,l.ref)(),v=(0,l.ref)(0),p=(0,l.ref)(!1),g=(0,l.ref)(),y=(0,l.ref)(!1),b=(0,l.ref)(),x=(0,l.ref)(!1),h=async e=>{try{c.value=e.target.files[0],u.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(r.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),p.value=!0,n.Z.isAxiosError(t)){const e=t;g.value=e.response?.data?.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},_=async()=>{try{if(p.value=!1,u.value){let e;const r={learner_task_id:a.value,learner_submission:u.value,taskType:s.value,linkedTaskId:t.value};if("Desktop"===s.value){const t=await(0,o.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:u.value,learner_task_id:a.value}),s=t.data;f.value=s.preSignedUrl;const l=await(0,o.sc)(f.value,c.value);200===l.status?e=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",r):(p.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",r);200===e.status?(p.value=!0,b.value=e.data.message,y.value=!0,setTimeout((()=>{b.value=null,y.value=!1}),6e3)):(p.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout((()=>{b.value=null,y.value=!1}),6e3))}else"Mobile"===s.value?(p.value=!0,u.value||(r.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{r.value=null}),6e3))):"Desktop"===s.value&&(p.value=!0,console.log(`learnerSubmission.value ${u.value}`),u.value||(r.value="please select File",setTimeout((()=>{r.value=null}),6e3)))}catch(e){if(p.value=!0,console.log(`error ${e}`),n.Z.isAxiosError(e)){const t=e;g.value=t.response?.data?.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},w=async()=>{p.value=!1;const e=await(0,o.yW)(t.value);console.log(`task data ${JSON.stringify(e)}`);const a=e.data.data;a?s.value=a.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),p.value=!0};return(0,l.onBeforeMount)((async()=>{await w()})),{taskType:s,learnerTaskId:a,renderReady:p,errorResponse:g,showErrorMessage:x,showSuccessMessage:y,resMessage:b,fileValidationMsg:r,submitSubmiision:_,learnerSubmission:u,selectedFile:h,preSignedUrl:f,buttonDisable:d,validationError:m,fileInputKey:v}}}),f=c,d=a(1001),m=(0,d.Z)(f,s,r,!1,null,"c2f7f0d6",null),v=m.exports},9955:function(e,t,a){a.d(t,{Yg:function(){return l},sw:function(){return r}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a}},8451:function(e,t,a){a.d(t,{Lu:function(){return r},O6:function(){return i},QZ:function(){return u},R2:function(){return o},X5:function(){return n},oE:function(){return l}});var s=a(7129);const r=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a},n=async(e,t)=>{const a=await s.Z.post(e,t);return a},i=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},o=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},u=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t}},568:function(e,t,a){a.d(t,{JV:function(){return c},ie:function(){return i},rC:function(){return o},sc:function(){return l},t$:function(){return u},ux:function(){return r},yW:function(){return n}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{let a;const s=await fetch(`${e}`,{method:"put",body:t});return a=s,a},n=async e=>{const t=await s.Z.get(`/task/${e}`);return t},i=async(e,t)=>{const a=await s.Z.post(e,{learner_task_id:t});return a},o=async(e,t)=>{const a=await s.Z.post(e,t);return a},u=async(e,t)=>{const a=await s.Z.post(e,t);return a},c=async(e,t)=>await s.Z.post(e,t)},3126:function(e,t,a){e.exports=a.p+"img/support.svg"}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyAdministrationCreateOffCyele.js.map
|