@genpact/genome.mfe.solidify-app 1.47.0 → 1.48.0
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/css/SolidifyAdministrationProgramAdministration.css +1 -1
- package/dist/css/SolidifyLearnerDone.css +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.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.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.SolidifyLearnerDone.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOC,SAAS,CAAC,UAAYN,EAAIO,GAAGP,EAAIQ,eAAeN,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,IAAI,CAACO,MAAM,CAAC,KAAOT,EAAIU,aAAa,OAAS,WAAW,CAACR,EAAG,MAAM,CAACG,YAAY,UAAUI,MAAM,CAAC,IAAME,EAAQ,kBACve,EACIC,EAAkB,G,UCCtB,GAAeC,EAAAA,EAAAA,iBAAgB,CAC7BC,KAAM,eACNC,MAAO,CACLC,aAAc,CACZC,KAAMC,OACNC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BAAcC,UAEZuB,EAAYtB,MAAQJ,aAAaC,QAAQ,eACzCkD,IAC0B,aAAtB3C,EAAYJ,MACdwD,EAAgBxD,MAAQ,eACO,iBAAtBI,EAAYJ,MACrBwD,EAAgBxD,MAAQ,aACO,eAAtBI,EAAYJ,QACrBwD,EAAgBxD,MAAQ,S,IAI5B,MAAM6C,EAAc9C,UAClB2E,EAAAA,EAAAA,KAAY,CAAEC,KAAM,qBAAsBnC,MAAO,CAAEkB,gBAAiBD,EAAczD,QAAU,EAG9F,MAAO,CACLiB,OACAC,OACAZ,QACAF,cACAmB,sBACAT,aACAM,eACA2B,oBACAD,mBACA9D,eACA4B,cACA4C,kBACAlB,gBACAJ,UACAP,WACAU,uBACAJ,sBACAD,iBACAR,eACAoB,6BACAC,cACAc,oBACAX,gBACAnC,mBACAS,cACAH,6BACAoB,uBAEJ,ICjN8T,I,UCQ5TtC,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,4FCXhC,MAAM4D,EAAmB9D,MAAO6F,EAAaC,KAS3C,MAAMjC,QAAYkC,EAAAA,EAAAA,IAAU,GAAGF,KAAOC,KACtC,OAAOjC,CAAG,EAGN6B,EAAe1F,MAAO6F,EAAaR,KAQvC,MAAMxB,QAAYkC,EAAAA,EAAAA,KAAWF,EAAKR,GAClC,OAAOxB,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?f0c8","webpack://solidify/./src/components/global/ErrorMessage.vue?6244","webpack://solidify/./src/components/global/ErrorMessage.vue?c365","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?04dd","webpack://solidify/./src/components/global/Greetings.vue?1901","webpack://solidify/./src/components/global/Greetings.vue?4b89","webpack://solidify/./src/views/Learner_Done.vue","webpack://solidify/./src/views/Learner_Done.vue?9a8c","webpack://solidify/./src/views/Learner_Done.vue?a9f8","webpack://solidify/./src/views/Learner_Done.vue?568e","webpack://solidify/./src/utils/done_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=36ac7944&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full\"},[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill)+\" \")]),_c('div',{staticClass:\"my-2 md:order-2 order-1 w-full\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=40792f87&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.getLearner.statusRes.linked_program_name,\"proficiency\":_vm.proficiency,\"skill\":_vm.skill}}),_c('div',{staticClass:\"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[(_vm.pass || _vm.fail)?_c('ul',{staticClass:\"done\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Done!\")])]):_vm._e(),(_vm.needReviewer)?_c('ul',{staticClass:\"underReview\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{},[_vm._v(\"Done!\")])]):_vm._e()])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block mt-4\"},[(_vm.pass)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(0),(_vm.programName === 'infinity')?_c('div',[(_vm.proficiency === 'Expert')?_c('p',[_c('br'),_vm._v(\"Genome has more to offer, so go to \"),_c('a',{staticClass:\"italic text-blue-900 underline\",attrs:{\"href\":\"https://genome.genpact.com/my-plan\"}},[_vm._v(\"My Plan\")]),_vm._v(\" and keep Learning.\")]):_c('p',[_c('br'),_vm._v(\"Your proficiency will be updated for \"+_vm._s(_vm.skill)+\" in \"),_c('a',{staticClass:\"italic text-blue-900 underline\",attrs:{\"href\":\"https://genome.genpact.com/my-profile\"}},[_vm._v(\"My Profile\")]),_vm._v(\". Keep Learning at next level.\")])]):_vm._e(),_c('div',{staticClass:\"mt-4\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}}),(_vm.feedbackshow)?_c('div',[_c('p',{staticClass:\"pt-6\"},[_vm._v(\"Please rate your Solidify journey experience.\")]),_c('div',{staticClass:\"border border-gray-300 px-4 py-6 mt-2\"},[_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"1\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"1\")},on:{\"change\":function($event){_vm.feedback=\"1\"}}}),_vm._v(\" 1 - Poor\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"2\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"2\")},on:{\"change\":function($event){_vm.feedback=\"2\"}}}),_vm._v(\" 2 - Below Average\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"3\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"3\")},on:{\"change\":function($event){_vm.feedback=\"3\"}}}),_vm._v(\" 3 - Average\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"4\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"4\")},on:{\"change\":function($event){_vm.feedback=\"4\"}}}),_vm._v(\" 4 - Above Average\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"5\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"5\")},on:{\"change\":function($event){_vm.feedback=\"5\"}}}),_vm._v(\" 5 - Excellent\")])]),(_vm.validationShow)?_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.ratingValidationMsg))]):_vm._e(),_c('div',{staticClass:\"pt-4\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.comment),expression:\"comment\"}],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\":(_vm.comment)},on:{\"input\":function($event){if($event.target.composing)return;_vm.comment=$event.target.value}}}),(_vm.validationShow)?_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.commentValidationMsg))]):_vm._e()]),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.creatFeedback()}}},[_vm._v(\" Submit Feedback \")])])]):_vm._e()]):_vm._e(),(_vm.fail)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(1),(_vm.isProgramRestartable)?_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Unfortunately, you did not pass Solidify. Please try again by Clicking \"),_c('strong',[_vm._v(\"Start Solidify\")]),_vm._v(\".\")]):_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Unfortunately, you did not pass Solidify.\")]),_vm._m(2),_c('div',{staticClass:\"mt-4\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isProgramRestartable),expression:\"isProgramRestartable\"}]},[_vm._m(3),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('router-link',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.getLearner.statusRes.skill, proficiency_id: _vm.getLearner.statusRes.proficiency, program_id: _vm.getLearner.statusRes.linked_program_name } }}},[_vm._v(\" Start Solidify \")])],1)]),(_vm.learnerEligibleForRereview)?[_c('p',{staticClass:\"pt-6\"},[_vm._v(\"However, if you're confident about your submission and do not feel 100% satisfied with the reviewers' comments, you can apply for a re-review of your submission.\")]),_vm._m(4),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview()}}},[_vm._v(\" Re-review \")])])]:_vm._e()],2):_vm._e(),(_vm.needReviewer)?_c('div',{staticClass:\"text-gray-600\"},[_c('div',[(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Thank you for doing reviews.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"The task is being reviewed by your colleagues, who are going through the same process you just did as they review your task.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" You will receive an email once the reviews have been completed telling you if your submissions passed, or if you will need to redo Solidify. Typically, this process may take 7-10 working days from the day of task submission. \")])]:[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Thank you for submitting your task.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.\")])],_vm._m(5),_c('p',{staticClass:\"pt-12\"},[_vm._v(\" Preview Status as of \"),_c('strong',[_vm._v(_vm._s(_vm.lastModifiedDate))])])],2),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",attrs:{\"to\":{ name: 'SolidifyLearnerFail' }},on:{\"click\":function($event){return _vm.getLearnerDetails()}}},[_vm._v(\" Check Status \")])])]):_vm._e()])])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_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()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('b',[_vm._v(\"Congratulations you have passed Solidify! You have successfully submitted your task, done your peer reviews, and had your task reviewed.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('b',[_vm._v(\"Please Try Again!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('b',[_vm._v(\"Here is what your reviewers had to say about your task\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_c('b',[_vm._v(\"Please click below to start Solidify again for skill and proficiency. You can redo Solidify as many times as you need.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"Re-review\")]),_vm._v(\" to request for re-review\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"You can also click the \"),_c('strong',[_vm._v(\"Check Status\")]),_vm._v(\" button to see if your submission has been reviewed.\")])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport Moment from 'moment';\nimport { getLearnerStatus, saveFeedback } from '@/utils/done_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '../router';\n// import moment from 'moment';\n\n// import store from '@/store';\n\nexport default defineComponent({\n name: 'LearnerSubmitTask',\n components: { ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const pass = ref(false);\n const fail = ref(false);\n const needReviewer = ref(false);\n const getLearner = ref();\n const allReviewerComments = ref();\n const skill = ref(localStorage.getItem('skillName'));\n const proficiency = ref(localStorage.getItem('proficiency'));\n const programId = ref(localStorage.getItem('programId'));\n const skillId = ref(localStorage.getItem('skillId'));\n const proficiencyId = ref(localStorage.getItem('profId'));\n const nextProficiency = ref();\n const lastModifiedDate = ref();\n const learnerTaskId = ref(props.query.learner_task_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const renderReady = ref();\n const comment = ref();\n const feedback = ref();\n const validationShow = ref(false);\n const ratingValidationMsg = ref();\n const commentValidationMsg = ref();\n const feedbackshow = ref(true);\n const isProgramInfinity = ref(true);\n const isProgramRestartable = ref();\n const learnerEligibleForRereview = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const reviewerAssignmentStrategy = ref();\n const getLearnerDetails = async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getLearnerStatus('learnerStatus', learnerTaskId.value);\n getLearner.value = res.data;\n reviewerAssignmentStrategy.value = getLearner.value.program_reviewer_strategy;\n console.log(`getLearner.value ${JSON.stringify(getLearner.value)}`);\n renderReady.value = true;\n console.log('status', JSON.stringify(getLearner.value));\n if (getLearner.value.statusRes === 'notpassed') {\n renderReady.value = true;\n errorResponse.value = getLearner.value.statusMessage;\n showErrorMessage.value = true;\n needReviewer.value = false;\n } else if (getLearner.value.statusRes.learner_status === 'Passed') {\n pass.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n } else if (getLearner.value.statusRes.learner_status === 'Fail') {\n fail.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n console.log(`getLearner.value.statusRes.linked_program_name ${getLearner.value.statusRes.linked_program_name}`);\n console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${getLearner.value.statusRes.linked_program_name !== 'infinity'}`);\n if (getLearner.value.statusRes.linked_program_name !== 'infinity') isProgramInfinity.value = false;\n isProgramRestartable.value = getLearner.value.program_is_restartable;\n if (getLearner.value.learner_eligible_for_rereview) learnerEligibleForRereview.value = true;\n } else if (getLearner.value.statusRes.learner_status === 'Need Reviewer') {\n if (getLearner.value.is_learner_not_allowed) {\n console.log('learner on hold submit task');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: proficiencyId.value, program_id: programId.value } });\n }\n needReviewer.value = true;\n // let localTime = Moment.utc(getLearner.value.statusRes.modified_date).toDate();\n // let date = new Date();\n lastModifiedDate.value = Moment(getLearner.value.statusRes.modified_date).format('dddd, MMMM Do YYYY, h:mm:ss a');\n console.log(`lastModifiedDate.value ${lastModifiedDate.value}`);\n // lastModifiedDate.value = date;\n }\n if (getLearner.value.feedback) {\n feedbackshow.value = false;\n } else {\n feedbackshow.value = true;\n }\n } catch (error) {\n renderReady.value = true;\n console.log('error while fetching learner details', error);\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue while fetching learner status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n const creatFeedback = async () => {\n try {\n renderReady.value = false;\n if (!feedback.value) {\n renderReady.value = true;\n validationShow.value = true;\n ratingValidationMsg.value = 'Please select Rating';\n setTimeout(() => {\n ratingValidationMsg.value = null;\n validationShow.value = false;\n }, 6000);\n } else if (!comment.value) {\n renderReady.value = true;\n validationShow.value = true;\n commentValidationMsg.value = 'Please add comment';\n setTimeout(() => {\n commentValidationMsg.value = null;\n validationShow.value = false;\n }, 6000);\n } else {\n const feedbackData = {\n learner_task_id: learnerTaskId.value,\n skill_id: localStorage.getItem('skillId'),\n proficiency_id: localStorage.getItem('profId'),\n skill_name: skill.value,\n proficiency_name: proficiency.value,\n program_id: localStorage.getItem('programId'),\n learner_key: localStorage.getItem('user_key'),\n rating: feedback.value,\n comment: comment.value,\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await saveFeedback('/createFeedback', feedbackData);\n const feedbackRes = res.data;\n console.log(`res after creating feedback ${JSON.stringify(feedbackRes)}`);\n await getLearnerDetails();\n renderReady.value = true;\n }\n } catch (error) {\n console.log(error);\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue while creating feedback, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n // renderReady.value = false;\n programName.value = localStorage.getItem('programName');\n getLearnerDetails();\n if (proficiency.value === 'Beginner') {\n nextProficiency.value = 'Intermediate';\n } else if (proficiency.value === 'Intermediate') {\n nextProficiency.value = 'Proficient';\n } else if (proficiency.value === 'Proficient') {\n nextProficiency.value = 'Expert';\n }\n // renderReady.value = true;\n });\n const applyReview = async () => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: learnerTaskId.value } });\n };\n // const welcomeMsg = computed(() => store.getters['landing/welcomeMessage']);\n return {\n pass,\n fail,\n skill,\n proficiency,\n allReviewerComments,\n getLearner,\n needReviewer,\n getLearnerDetails,\n lastModifiedDate,\n helpmateLink,\n renderReady,\n nextProficiency,\n creatFeedback,\n comment,\n feedback,\n commentValidationMsg,\n ratingValidationMsg,\n validationShow,\n feedbackshow,\n learnerEligibleForRereview,\n applyReview,\n isProgramInfinity,\n errorResponse,\n showErrorMessage,\n programName,\n reviewerAssignmentStrategy,\n isProgramRestartable,\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Done.vue?vue&type=template&id=78a44bd8&scoped=true&\"\nimport script from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Done.vue?vue&type=style&index=0&id=78a44bd8&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"78a44bd8\",\n null\n \n)\n\nexport default component.exports","/* 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\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst getLearnerStatus = async (url: string, learnerTaskIid: string) => {\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.get(`${url}/${learnerTaskIid}`).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.get(`${url}/${learnerTaskIid}`);\n return res;\n};\n\nconst saveFeedback = async (url: string, feedbackData: any) => {\n // let res;\n // await $http.post(url, feedbackData).then((response) => {\n // console.log('axios response', response);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.post(url, feedbackData);\n return res;\n};\n\nexport { getLearnerStatus, saveFeedback };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","program","_v","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","getLearner","statusRes","linked_program_name","pass","fail","reviewerAssignmentStrategy","needReviewer","_m","programName","allReviewerComments","feedbackshow","directives","rawName","feedback","expression","_q","on","$event","validationShow","ratingValidationMsg","comment","target","composing","commentValidationMsg","creatFeedback","isProgramRestartable","query","skill_id","proficiency_id","program_id","learnerEligibleForRereview","applyReview","lastModifiedDate","getLearnerDetails","errorResponse","components","ErrorMessage","Greetings","Object","programId","skillId","proficiencyId","nextProficiency","learnerTaskId","learner_task_id","isProgramInfinity","res","getLearnerStatus","data","program_reviewer_strategy","console","log","JSON","stringify","statusMessage","learner_status","all_reviewer_comments","program_is_restartable","learner_eligible_for_rereview","is_learner_not_allowed","router","path","Moment","modified_date","format","error","axios","err","response","message","feedbackData","skill_name","proficiency_name","learner_key","rating","saveFeedback","feedbackRes","setTimeout","url","learnerTaskIid","$http"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"solidify.umd.min.SolidifyLearnerDone.js","mappings":"iNAAA,IAAIA,EAAS,W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C7Bf,QAAQC,IAAI,0BAA0BzB,EAAiB1C,Q,EAQzD,MAAOsF,GAGP,GAFA1E,EAAYZ,OAAQ,EACpBkE,QAAQC,IAAI,uCAAwCmB,GAChDC,EAAAA,EAAAA,aAAmBD,GAAQ,CAC7B,MAAME,EAAMF,EAEZ1C,EAAc5C,MAASwF,EAAIC,UAAUzB,MAA8B0B,O,MAGnE9C,EAAc5C,MAAQ,4EAExBa,EAAiBb,OAAQ,C,IAuD7BF,EAAAA,EAAAA,gBAAcC,UAEZwB,EAAYvB,MAAQJ,aAAaC,QAAQ,eACzC8C,IAC0B,aAAtBvC,EAAYJ,MACdqD,EAAgBrD,MAAQ,eACO,iBAAtBI,EAAYJ,MACrBqD,EAAgBrD,MAAQ,aACO,eAAtBI,EAAYJ,QACrBqD,EAAgBrD,MAAQ,S,IAI5B,MAAMoC,EAAcrC,UAClB6E,EAAAA,EAAAA,KAAY,CAAEC,KAAM,qBAAsBhD,MAAO,CAAE0B,gBAAiBD,EAActD,QAAU,EAG9F,MAAO,CACLiB,OACAC,OACAZ,QACAF,cACAkB,sBACAR,aACAM,eACAkB,uBACAd,SACAmB,oBACAD,mBACA1D,eACA4B,cACAyC,kBAEAG,UACAC,WACAG,uBACAD,sBACAD,iBAEAzB,6BACAG,cACAyB,oBACAjB,gBACA/B,mBACAU,cACAJ,6BACAM,uBAEJ,IClO8T,I,UCQ5TxB,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,qECXhC,MAAM8D,EAAmBhE,MAAO4F,EAAaC,KAS3C,MAAM9B,QAAY+B,EAAAA,EAAAA,IAAU,GAAGF,KAAOC,KACtC,OAAO9B,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?f0c8","webpack://solidify/./src/components/global/ErrorMessage.vue?6244","webpack://solidify/./src/components/global/ErrorMessage.vue?c365","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?04dd","webpack://solidify/./src/components/global/Greetings.vue?1901","webpack://solidify/./src/components/global/Greetings.vue?4b89","webpack://solidify/./src/views/Learner_Done.vue","webpack://solidify/./src/views/Learner_Done.vue?9a8c","webpack://solidify/./src/views/Learner_Done.vue?a9f8","webpack://solidify/./src/views/Learner_Done.vue?568e","webpack://solidify/./src/utils/done_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=36ac7944&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full\"},[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill)+\" \")]),_c('div',{staticClass:\"my-2 md:order-2 order-1 w-full\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=40792f87&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.getLearner.statusRes.linked_program_name,\"proficiency\":_vm.proficiency,\"skill\":_vm.skill}}),_c('div',{staticClass:\"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[(_vm.pass || _vm.fail)?_c('ul',{staticClass:\"done\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Done!\")])]):_vm._e(),(_vm.needReviewer)?_c('ul',{staticClass:\"underReview\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{},[_vm._v(\"Done!\")])]):_vm._e()])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block mt-4\"},[(_vm.pass)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(0),_c('div',{staticClass:\"mt-4\"},[_vm._v(\"Reviewer Comments :\")]),_c('div',{staticClass:\"mt-2\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}}),(_vm.programName === 'infinity')?_c('div',[_vm._m(1),_c('div',{staticClass:\"mt-2\"},[_c('p',[_vm._v(\" Help us improve and share your Solidify experience, by clicking \"),_c('strong',[_c('a',{staticClass:\"italic text-blue-900 underline\",attrs:{\"href\":_vm.vocUrl}},[_vm._v(\"here\")]),_vm._v(\".\")])])])]):_vm._e()]):_vm._e(),(_vm.fail)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(2),(_vm.isProgramRestartable)?_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Unfortunately, you did not pass Solidify. Please try again by Clicking \"),_c('strong',[_vm._v(\"Start Solidify\")]),_vm._v(\".\")]):_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Unfortunately, you did not pass Solidify.\")]),_vm._m(3),_c('div',{staticClass:\"mt-4\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isProgramRestartable),expression:\"isProgramRestartable\"}]},[_vm._m(4),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('router-link',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.getLearner.statusRes.skill, proficiency_id: _vm.getLearner.statusRes.proficiency, program_id: _vm.getLearner.statusRes.linked_program_name } }}},[_vm._v(\" Start Solidify \")])],1)]),(_vm.learnerEligibleForRereview)?[_c('p',{staticClass:\"pt-6\"},[_vm._v(\"However, if you're confident about your submission and do not feel 100% satisfied with the reviewers' comments, you can apply for a re-review of your submission.\")]),_vm._m(5),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview()}}},[_vm._v(\" Re-review \")])])]:_vm._e()],2):_vm._e(),(_vm.needReviewer)?_c('div',{staticClass:\"text-gray-600\"},[_c('div',[(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Thank you for doing reviews.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" The task is being reviewed by your colleagues, who are going through the same process you just did as they review your task. The reviewer comments for your submission will be displayed at the Done Page. \")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" You will receive an email once the reviews have been completed telling you if your submissions passed, or if you will need to redo Solidify. Typically, this process may take 7-10 working days from the day of task submission. \")]),_vm._m(6),_vm._l((_vm.peerReviewTimestamps),function(reviewerTimestamp,index){return _c('p',{key:index,staticClass:\"pt-2\"},[_vm._v(\" Peer Review \"+_vm._s(index + 1)+\" : \"),_c('strong',[_vm._v(_vm._s(reviewerTimestamp)+\".\")])])})]:[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Thank you for submitting your task.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.\")])],_vm._m(7),_c('p',{staticClass:\"pt-6\"},[_vm._v(\" Status as of \"),_c('strong',[_vm._v(_vm._s(_vm.lastModifiedDate))])])],2),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",attrs:{\"to\":{ name: 'SolidifyLearnerFail' }},on:{\"click\":function($event){return _vm.getLearnerDetails()}}},[_vm._v(\" Refresh \")])])]):_vm._e()])])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_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()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('b',[_vm._v(\"Congratulations on successfully completing Solidify!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mt-2\"},[_c('p',[_vm._v(\"We value your insights!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('b',[_vm._v(\"Please Try Again!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('b',[_vm._v(\"Here is what your reviewers had to say about your task\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_c('b',[_vm._v(\"Please click below to start Solidify again for skill and proficiency. You can redo Solidify as many times as you need.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"Re-review\")]),_vm._v(\" to request for re-review\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_c('strong',[_vm._v(\"Review Status of Your Submission :\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click on the \"),_c('strong',[_vm._v(\"Refresh\")]),_vm._v(\" button to see the current review status of your submission.\")])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport Moment from 'moment';\nimport { getLearnerStatus } from '@/utils/done_service';\n//import { saveFeedback } from '@/utils/done_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '../router';\n// import moment from 'moment';\n\n// import store from '@/store';\n\nexport default defineComponent({\n name: 'LearnerSubmitTask',\n components: { ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const pass = ref(false);\n const fail = ref(false);\n const needReviewer = ref(false);\n const peerReviewTimestamps = ref();\n const mandatoryReviewsCount = ref();\n const vocUrl = ref('');\n const getLearner = ref();\n const allReviewerComments = ref();\n const skill = ref(localStorage.getItem('skillName'));\n const proficiency = ref(localStorage.getItem('proficiency'));\n const programId = ref(localStorage.getItem('programId'));\n const skillId = ref(localStorage.getItem('skillId'));\n const proficiencyId = ref(localStorage.getItem('profId'));\n const nextProficiency = ref();\n const lastModifiedDate = ref();\n const learnerTaskId = ref(props.query.learner_task_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const renderReady = ref();\n const comment = ref();\n const feedback = ref();\n const validationShow = ref(false);\n const ratingValidationMsg = ref();\n const commentValidationMsg = ref();\n // const feedbackshow = ref(true);\n const isProgramInfinity = ref(true);\n const isProgramRestartable = ref();\n const learnerEligibleForRereview = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const reviewerAssignmentStrategy = ref();\n const getLearnerDetails = async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getLearnerStatus('learnerStatus', learnerTaskId.value);\n getLearner.value = res.data;\n reviewerAssignmentStrategy.value = getLearner.value.program_reviewer_strategy;\n console.log(`getLearner.value ${JSON.stringify(getLearner.value)}`);\n renderReady.value = true;\n console.log('status', JSON.stringify(getLearner.value));\n if (getLearner.value.statusRes === 'notpassed') {\n renderReady.value = true;\n errorResponse.value = getLearner.value.statusMessage;\n showErrorMessage.value = true;\n needReviewer.value = false;\n } else if (getLearner.value.statusRes.learner_status === 'Passed') {\n vocUrl.value = getLearner.value.vocUrl;\n pass.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n } else if (getLearner.value.statusRes.learner_status === 'Fail') {\n fail.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n console.log(`getLearner.value.statusRes.linked_program_name ${getLearner.value.statusRes.linked_program_name}`);\n console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${getLearner.value.statusRes.linked_program_name !== 'infinity'}`);\n if (getLearner.value.statusRes.linked_program_name !== 'infinity') isProgramInfinity.value = false;\n isProgramRestartable.value = getLearner.value.program_is_restartable;\n if (getLearner.value.learner_eligible_for_rereview) learnerEligibleForRereview.value = true;\n } else if (getLearner.value.statusRes.learner_status === 'Need Reviewer') {\n if (getLearner.value.is_learner_not_allowed) {\n console.log('learner on hold submit task');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: proficiencyId.value, program_id: programId.value } });\n }\n needReviewer.value = true;\n // let localTime = Moment.utc(getLearner.value.statusRes.modified_date).toDate();\n // let date = new Date();\n lastModifiedDate.value = Moment(getLearner.value.statusRes.modified_date).format('dddd, MMMM Do YYYY, h:mm:ss a');\n mandatoryReviewsCount.value = getLearner.value.mandatoryReviewsCount || 3;\n //assigning values for peer review timestamps\n\n const peerReviewTimestampsTemp: string[] = [];\n for (let i = 0; i < mandatoryReviewsCount.value; i++) {\n let reviewerTimestamp = 'Reviewer to be assigned';\n if (getLearner.value.reviewers_status && getLearner.value.reviewers_status[i]) reviewerTimestamp = 'Reviewed on ' + Moment(getLearner.value.reviewers_status[i].review_end_date).format('dddd, MMMM Do YYYY');\n peerReviewTimestampsTemp.push(reviewerTimestamp);\n }\n peerReviewTimestamps.value = peerReviewTimestampsTemp;\n console.log(`lastModifiedDate.value ${lastModifiedDate.value}`);\n // lastModifiedDate.value = date;\n }\n // if (getLearner.value.feedback) {\n // feedbackshow.value = false;\n // } else {\n // feedbackshow.value = true;\n // }\n } catch (error) {\n renderReady.value = true;\n console.log('error while fetching learner details', error);\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue while fetching learner status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n // const creatFeedback = async () => {\n // try {\n // renderReady.value = false;\n // if (!feedback.value) {\n // renderReady.value = true;\n // validationShow.value = true;\n // ratingValidationMsg.value = 'Please select Rating';\n // setTimeout(() => {\n // ratingValidationMsg.value = null;\n // validationShow.value = false;\n // }, 6000);\n // } else if (!comment.value) {\n // renderReady.value = true;\n // validationShow.value = true;\n // commentValidationMsg.value = 'Please add comment';\n // setTimeout(() => {\n // commentValidationMsg.value = null;\n // validationShow.value = false;\n // }, 6000);\n // } else {\n // const feedbackData = {\n // learner_task_id: learnerTaskId.value,\n // skill_id: localStorage.getItem('skillId'),\n // proficiency_id: localStorage.getItem('profId'),\n // skill_name: skill.value,\n // proficiency_name: proficiency.value,\n // program_id: localStorage.getItem('programId'),\n // learner_key: localStorage.getItem('user_key'),\n // rating: feedback.value,\n // comment: comment.value,\n // };\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const res: any = await saveFeedback('/createFeedback', feedbackData);\n // const feedbackRes = res.data;\n // console.log(`res after creating feedback ${JSON.stringify(feedbackRes)}`);\n // await getLearnerDetails();\n // renderReady.value = true;\n // }\n // } catch (error) {\n // console.log(error);\n // renderReady.value = true;\n // if (axios.isAxiosError(error)) {\n // const err = error as AxiosError;\n // // console.log(err.response?.data);\n // errorResponse.value = (err.response?.data as { message: string })?.message;\n // // console.log(`errorMessage.value ${errorMessage.value}`);\n // } else {\n // errorResponse.value = 'There is some issue while creating feedback, please contact helpmate.';\n // }\n // showErrorMessage.value = true;\n // }\n // };\n onBeforeMount(async () => {\n // renderReady.value = false;\n programName.value = localStorage.getItem('programName');\n getLearnerDetails();\n if (proficiency.value === 'Beginner') {\n nextProficiency.value = 'Intermediate';\n } else if (proficiency.value === 'Intermediate') {\n nextProficiency.value = 'Proficient';\n } else if (proficiency.value === 'Proficient') {\n nextProficiency.value = 'Expert';\n }\n // renderReady.value = true;\n });\n const applyReview = async () => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: learnerTaskId.value } });\n };\n // const welcomeMsg = computed(() => store.getters['landing/welcomeMessage']);\n return {\n pass,\n fail,\n skill,\n proficiency,\n allReviewerComments,\n getLearner,\n needReviewer,\n peerReviewTimestamps,\n vocUrl,\n getLearnerDetails,\n lastModifiedDate,\n helpmateLink,\n renderReady,\n nextProficiency,\n // creatFeedback,\n comment,\n feedback,\n commentValidationMsg,\n ratingValidationMsg,\n validationShow,\n // feedbackshow,\n learnerEligibleForRereview,\n applyReview,\n isProgramInfinity,\n errorResponse,\n showErrorMessage,\n programName,\n reviewerAssignmentStrategy,\n isProgramRestartable,\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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.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/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Done.vue?vue&type=template&id=362ec9f9&scoped=true&\"\nimport script from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Done.vue?vue&type=style&index=0&id=362ec9f9&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"362ec9f9\",\n null\n \n)\n\nexport default component.exports","/* 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\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst getLearnerStatus = async (url: string, learnerTaskIid: string) => {\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.get(`${url}/${learnerTaskIid}`).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.get(`${url}/${learnerTaskIid}`);\n return res;\n};\n\nconst saveFeedback = async (url: string, feedbackData: any) => {\n // let res;\n // await $http.post(url, feedbackData).then((response) => {\n // console.log('axios response', response);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.post(url, feedbackData);\n return res;\n};\n\nexport { getLearnerStatus, saveFeedback };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","program","_v","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","getLearner","statusRes","linked_program_name","pass","fail","reviewerAssignmentStrategy","needReviewer","_m","allReviewerComments","programName","vocUrl","isProgramRestartable","directives","rawName","expression","query","skill_id","proficiency_id","program_id","learnerEligibleForRereview","on","$event","applyReview","_l","peerReviewTimestamps","reviewerTimestamp","index","key","lastModifiedDate","getLearnerDetails","errorResponse","components","ErrorMessage","Greetings","Object","mandatoryReviewsCount","programId","skillId","proficiencyId","nextProficiency","learnerTaskId","learner_task_id","comment","feedback","validationShow","ratingValidationMsg","commentValidationMsg","isProgramInfinity","res","getLearnerStatus","data","program_reviewer_strategy","console","log","JSON","stringify","statusMessage","learner_status","all_reviewer_comments","program_is_restartable","learner_eligible_for_rereview","is_learner_not_allowed","router","path","Moment","modified_date","format","peerReviewTimestampsTemp","i","reviewers_status","review_end_date","push","error","axios","err","response","message","url","learnerTaskIid","$http"],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[896],{8200:function(e,t,s){s.d(t,{Z:function(){return u}});var a=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:s(6540)}})])])])])])},i=[],r=s(7203),l=(0,r.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,r.ref)(""),s=(0,r.ref)(localStorage.getItem("helpmateLink"));return(0,r.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),o=l,n=s(3736),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},3948:function(e,t,s){s.d(t,{Z:function(){return d}});var a=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Cancel ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Confirm")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},i=[],r=(s(7658),s(4856)),l=s(1548),o={components:{XIcon:r.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1}},setup(){const e=async e=>{l.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},n=o,c=s(3736),u=(0,c.Z)(n,a,i,!1,null,null,null),d=u.exports},8047:function(e,t,s){s.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],r=s(7203),l=(0,r.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,r.ref)("");return(0,r.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),o=l,n=s(3736),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},2143:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.revieweeDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.programId,proficiency:e.proficiency,skill:e.skill}}),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:"bloc text-2xl text-center text-background-secondary"},[e._v(e._s(e.revieweeDetails.reviewee_count_string))]),t("div",{staticClass:"block"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"mt-4 p-8 border border-gray-300 lg:mr-6 md:mr-6 mr-0"},["infinity"===e.programId?t("div",{},[t("p",[e._v("Welcome to the review stage of Solidify. You must complete 3 peer reviews in order to pass Solidify.")]),t("p",{staticClass:"pt-2"},[e._v(" A single review should take about 15 minutes, but if needed you can leave this page and come back within "+e._s(e.reviewerHoldTime)+" hours. Remember, other learners are waiting on you to complete their own Solidify, so please do the review as soon as possible. If you have not done this review within "+e._s(e.reviewerHoldTime)+" hours, it could be assigned to someone else and you will need to do an additional peer review. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("You must be on a desktop in order to download the task. The review will not work on a mobile device or tablet.")]):e._e(),e._m(1),e.isPlagiarismEnabled?t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v('Read the "'),t("strong",[e._v("Learner task submission")]),e._v('".')]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),e._m(2),e._m(3),t("li",[e._v(" Remember, plagiarism is an integrity violation. Citing works is perfectly acceptable, and you will need to use some judgment when marking a task as plagiarized. When you mark a task as plagiarized you are saying it was directly copied from other sources, the task is an integrity violation, and it will be failed. ")]),t("li",[e._v("If the task is not plagiarized, review and score the task by referring to the scoring rubric")]),t("li",[e._v("Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task!")]),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])]):e._e(),e.isPlagiarismEnabled?e._e():t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner’s submission.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),t("li",[e._v("Review and score the task by referring to the scoring rubric.")]),t("li",[e._v("Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task!")]),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])])]):e._e(),"infinity"!==e.programId?t("div",{},[t("p",[e._v("Welcome to the review stage of Solidify. You must complete "+e._s(e.revieweeDetails.mandatory_reviews)+" reviews to pass Solidify.")]),t("p",{staticClass:"pt-2"},[e._v(" A single review should take about 15 minutes, but if needed you can leave this page and come back. Remember, other learners are waiting on you to complete their own Solidify, so please do the review as soon as possible. If you have not done this review "),t("strong",[e._v("within "+e._s(e.reviewerHoldTime)+" hours")]),e._v(", it could be assigned to someone else and you will need to review a different task. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("You must be on a desktop to download the task. This review will not work on a mobile device or tablet.")]):e._e(),e._m(4),t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner's "),t("strong",[e._v("submission")]),e._v(".")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])])]):e._e(),t("div",{staticClass:"mt-8"},[t("p",[t("strong",[e._v("Task Name")]),e._v(": "+e._s(e.revieweeDetails.task_details.task_name))]),e._m(5),t("p",{staticClass:"pt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.revieweeDetails.task_details.description)}})]),"Desktop"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"text-left"},[t("button",{staticClass:"inline-block mt-2 py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:e.learnerSubmissionClicked}},[e._v(" Download Learner Task Submission ")])]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"mt-2"},[e._m(6),t("p",[e._v(e._s(e.revieweeDetails.learner_submission))])]):e._e(),t("div",{staticClass:"mt-8"},["infinity"===e.programId?t("p",[e._v("Please do not include any self-identifying information.")]):e._e(),e.isPlagiarismEnabled?t("div",{staticClass:"border border-background-secondary p-4 mt-2"},[e._m(7),e._m(8),t("p",{staticClass:"pt-2"},[e._v("Did you find the submission plagiarised?")]),t("div",{staticClass:"mt-1 text-sm"},[t("div",{staticClass:"checkboxNewUi"},[t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_yes"},domProps:{value:!0,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!0)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!0,l=e._i(s,r);a.checked?l<0&&(e.plagiarismCheckOne=s.concat([r])):l>-1&&(e.plagiarismCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!0)}],click:e.checkOne}}),t("label",{attrs:{for:"plagriarism_check_yes"}},[e._v("Yes")])]),t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_no"},domProps:{value:!1,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!1)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!1,l=e._i(s,r);a.checked?l<0&&(e.plagiarismCheckOne=s.concat([r])):l>-1&&(e.plagiarismCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!1)}],click:e.checkOne}}),t("label",{attrs:{for:"plagriarism_check_no"}},[e._v("No")])])])]),e.showplagiarismUpload?t("div",{staticClass:"mt-6 w-full flex justify-left items-start"},[t("div",{staticClass:"w-1/2 pr-8 border-r-1 border-gray-500",class:e.accessRestrictionCheck?"disabledbutton":""},[t("p",{staticClass:"w-3/4"},[e._v("If you found the submission significantly plagiarised,")]),t("p",{staticClass:"w-3/4"},[e._v("please upload a screenshot of the evidence in .png format")]),t("div",{staticClass:"flex pt-2 items-center gap-2",staticStyle:{"max-width":"250px"}},[t("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file",accept:".png,.PNG"},on:{change:e.selectedFile}}),e.plagiarismSubmissionFile?t("x-icon",{staticClass:"cursor-pointer",attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1),t("p",{staticClass:"pt-1 text-[14px]"},[e._v("Maximum file size: 5 MB")])]),t("div",{staticClass:"w-1/2 checkboxNewUi",class:e.plagiarismSubmissionFile?"disabledbutton":""},[t("div",{staticClass:"checkboxUi w-3/4"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.accessRestrictionCheck,expression:"accessRestrictionCheck"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"access_restriction"},domProps:{value:!1,checked:Array.isArray(e.accessRestrictionCheck)?e._i(e.accessRestrictionCheck,!1)>-1:e.accessRestrictionCheck},on:{change:function(t){var s=e.accessRestrictionCheck,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!1,l=e._i(s,r);a.checked?l<0&&(e.accessRestrictionCheck=s.concat([r])):l>-1&&(e.accessRestrictionCheck=s.slice(0,l).concat(s.slice(l+1)))}else e.accessRestrictionCheck=i}}}),t("label",{attrs:{for:"access_restriction"}},[e._v("I am unable to upload proof as I am working in an access restricted environment.")])])])]):e._e()]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",[e._m(9),t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[t("strong",[e._v("1")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),e._v(") - Demonstrates no evidence of meeting the performance expectation or learning goal related to this question. ")]),t("li",[t("strong",[e._v("2")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),e._v(") - Demonstrates little evidence of meeting the performance expectation or learning goal related to this question. ")]),t("li",[t("strong",[e._v("3")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.average?e.likertScale.average:"Average"))]),e._v(") - Demonstrates some evidence of meeting the performance expectation or learning goal related to this question. ")]),t("li",[t("strong",[e._v("4")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),e._v(") - Demonstrates evidence of meeting the required performance expectation or learning goal related to this question. ")]),t("li",[t("strong",[e._v("5")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))]),e._v(") - Demonstrates evidence of meeting more than the performance expectation or learning goal related to this question. ")])])]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",{staticClass:"mt-6 p-8 border border-gray-300 lg:mr-6 md:mr-6 mr-0"},e._l(e.revieweeDetails.task_details.task_questions,(function(s,a){return t("div",{key:a,staticClass:"mb-3"},[t("p",[t("b",[e._v("Checklist Question "+e._s(a+1))])]),t("div",{staticClass:"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-1"},[e._v(e._s(s.text))]),"Scale"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" 1 - "+e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"25"},domProps:{checked:e._q(s.response,"25")},on:{change:[function(t){return e.$set(s,"response","25")},e.enableSubmitButton]}}),e._v(" 2 - "+e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"50"},domProps:{checked:e._q(s.response,"50")},on:{change:[function(t){return e.$set(s,"response","50")},e.enableSubmitButton]}}),e._v(" 3 - "+e._s(e.likertScale.average?e.likertScale.average:"Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"75"},domProps:{checked:e._q(s.response,"75")},on:{change:[function(t){return e.$set(s,"response","75")},e.enableSubmitButton]}}),e._v(" 4 - "+e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" 5 - "+e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))])]):e._e(),"Yes/No"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" Yes")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" No")])]):e._e()])})),0):e._e()]),t("div",{staticClass:"mb-3"},[e._m(10),t("p",[e._v("Share what you liked, and what you thought could be improved. The ratings should be in line with your feedback.")]),t("div",{staticClass:"mt-1"},[e._m(11),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.reviewerComment,expression:"reviewerComment"}],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 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{maxlength:"10000",rows:"3",placeholder:""},domProps:{value:e.reviewerComment},on:{keyup:function(t){return e.checkQuestionLength(e.reviewerComment)},input:function(t){t.target.composing||(e.reviewerComment=t.target.value)}}}),t("div",[e.questionWordCount<10?t("div",{staticClass:"text-red-700"},[e._v("(Minimum 10 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])])])]),t("div",{staticClass:"mt-6 mb-4 text-center"},[e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e._m(12),t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 text-white shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.submitReview}},[e._v(" Submit Review ")])])])])])],1)]):e._e(),t("GenericModal",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.confirmPlagiarism}})],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:s(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},i=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[t("ul",[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),t("li",{staticClass:"active"},[e._v("Peer Reviews")]),t("li",[e._v("Under Review")]),t("li",[e._v("Done!")])])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To review the task:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" Review the submission for plagiarism by checking against sites like "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")]),e._v(". ")]),e._v("Paste the text from the submission and click on scan for plagiarism. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" If the result shows significantly plagiarized, take a screenshot of the plagiarism and save it. then click “yes” for if the task was plagiarized and upload the screenshot you just saved. You must upload the evidence only in png format. The maximum file size is "),t("strong",[e._v("5MB")]),e._v(". If the submission is not plagiarised, mark no. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To review the task:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Description")]),e._v(":")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("Learner's Submission:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("How to check for plagiarism - ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v(" You may refer to popular internet sites like "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")])]),e._v(" to check for possible plagiarism. ")]),t("li",[e._v("Paste the submitted text and click on Scan for plagiarism")]),t("li",[e._v("Results will show whether the submission is plagiarized or not.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Scoring Rubric:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[e._v("Please enter your comments in the text box below. Comments are "),t("strong",[e._v("mandatory")]),e._v(" and will be sent to your peers, so remember to give constructive feedback!")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Reviewer Comment")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Submit Review button will be disabled until you view the learner's submission.")])])}],r=(s(7658),s(7203)),l=s(306),o=s(8200),n=s(4856),c=s(1548),u=s(1920),d=s(3948),v=s(8047),m=s(9609),p=(0,r.defineComponent)({name:"LearnerSubmitTask",props:{query:{type:Object,default:()=>({})}},components:{ErrorMessage:o.Z,GenericModal:d.Z,XIcon:n.b0D,Greetings:v.Z},setup(e){const t=(0,r.ref)(!1),s=(0,r.ref)(),a=(0,r.ref)(!1),i=(0,r.ref)(""),o=(0,r.ref)(),n=(0,r.ref)(localStorage.getItem("skillId")),d=(0,r.ref)(localStorage.getItem("profId")),v=(0,r.ref)(localStorage.getItem("programId")),p=(0,r.ref)(localStorage.getItem("programName")),g=(0,r.ref)(),_=(0,r.ref)(),f=(0,r.ref)(),h=(0,r.ref)(),k=(0,r.ref)(),b=(0,r.ref)(),w=(0,r.ref)(),y=(0,r.ref)(!1),x=(0,r.ref)(!1),C=(0,r.ref)(!1),S=(0,r.ref)(!1),R=(0,r.ref)(),A=(0,r.ref)(),P=(0,r.ref)(),q=(0,r.ref)(),D=(0,r.ref)(),L=(0,r.ref)(),M=(0,r.ref)(),I=(0,r.ref)(),T=(0,r.ref)(localStorage.getItem("helpmateLink")),Z=(0,r.ref)([]),B=(0,r.ref)(!1),U=(0,r.ref)({}),E=(0,r.ref)(!1),N='<div class="px-4">\n <div class="font-bold text-left mb-3">By marking "Yes", you confirm the below:</div>\n <ul class="list-disc text-left px-6">\n <li>The submission is significantly copied from the Internet and is not referenced.</li>\n <li>The learner will receive a \'Fail\' notification with a copy marked to the respective manager and HR.</li>\n </ul>\n </div>',G=(0,r.ref)(!1),O=(0,r.ref)(0),W=(0,r.ref)(!1),z=(0,r.ref)(0),j=e=>{O.value=e.split(" ").filter((e=>""!==e)).length,G.value=O.value>=10},Y=()=>{Z.value=[]},V=async()=>{z.value+=1,P.value=null};(0,r.onBeforeMount)((async()=>{try{o.value=e.query.learner_task_id,k.value=!1;const t=await(0,m.uZ)(`/learnerTaskToReview/${o.value}`),a=t.data;if(k.value=!0,a.data.is_learner_not_allowed&&(console.log("learner on hold submit task"),c.Z.push({path:"/solidify",query:{skill_id:n.value,proficiency_id:d.value,program_id:v.value}})),a.data.errorMessage)y.value=!0,b.value=a.data.errorMessage;else if(a.data.message)localStorage.setItem("message",a.data.message),c.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"yes",learnerTaskId:o.value,isProxyReview:"no",showChevron:"yes"}});else if("Need Reviewer"===a.data.learner_status||"Fail"===a.data.learner_status||"Passed"===a.data.learner_status)c.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:o.value}});else{s.value=a.data,U.value=s.value.task_details.likertScale?s.value.task_details.likertScale:{},g.value=s.value.skill,_.value=s.value.proficiency;const e=parseInt(s.value.reviewer_hold_time_in_minutes,10)/60,t=!!s.value.is_plagiarism_enabled&&s.value.is_plagiarism_enabled;I.value=s.value.url_to_upload_plag_evidence,console.log(`plagiarismEnabled ${t}`),S.value=!0===t,Number.isInteger(e)?f.value=e:f.value=e.toFixed(2)}}catch(t){if(k.value=!0,l.Z.isAxiosError(t)){const e=t;b.value=e.response?.data?.message}else b.value="There is an issue while fetching peer learner task to review, please contact helpmate.";y.value=!0}}));const H=()=>{let e=!0;s.value.task_details.task_questions.forEach(((t,s)=>{console.log(`que.response ${t.response} index ${s}`),t.response?(console.log(`inside if allQuestionAnswered before${e}`),e=e&&!0):(console.log(`inside else allQuestionAnswered before ${e}`),e=e&&!1)})),console.log(`allQuestionAnswered ${JSON.stringify(e)} `),!e||"Desktop"===s.value.task_details.task_type&&!a.value?t.value=!1:t.value=!0,console.log(`isButtonEnabled ${JSON.stringify(t)} `)},J=async()=>{try{const e={file_name:s.value.learner_submission,task_id:s.value.reviewee_id};k.value=!1;const t=await(0,m.R1)("/v1/pretAuthUrlForDownload",e);h.value=t.data.preSignedUrl,await(0,m.ng)(h.value,s.value.learner_submission),k.value=!0,a.value=!0,H()}catch(e){if(k.value=!0,l.Z.isAxiosError(e)){const t=e;b.value=t.response?.data?.message}else b.value="There is an issue while donwloading learner submission, please contact helpmate.";y.value=!0}},F=async e=>{try{const t=e.target.files[0],s=e.target.files[0].name,a=e.target.files[0].size/1024/1024;a>5?(R.value="fileSize greater than 5 MB",setTimeout((()=>{R.value=null}),6e3)):(P.value=t,q.value=s)}catch(t){P.value=null,q.value=null,console.log(t)}},X=async()=>{try{if(k.value=!1,S.value){if(console.log(`isPlagiarised.value ${w.value}`),w.value&&!W.value){if(!P.value)return k.value=!0,R.value="Please upload plagiarism evidence screenshot",void setTimeout((()=>{R.value=null}),6e3);if(L.value=q.value,console.log("ext.value",M.value),k.value=!1,console.log("evidenceFileName value",L.value),!q.value.endsWith("png")&&!q.value.endsWith("PNG"))return k.value=!0,R.value="You can upload only jpg, jpeg, and png",void setTimeout((()=>{R.value=null}),6e3);const e=await(0,u.G)("learnerStatus",s.value.reviewee_id);"Need Reviewer"!==e.data.current_status&&"Need Reviewer and Need Reviewee"!==e.data.current_status||(D.value=await(0,m.aQ)(I.value,P.value),w.value=!0)}if(void 0===w.value)return k.value=!0,R.value="Please Select Plagiarism Checkbox",void setTimeout((()=>{R.value=null}),6e3)}const e={reviewer_task_id:o.value,reviewee_task_id:s.value.reviewee_id,reviewer_comment:i.value,reviewer_response:s.value.task_details.task_questions,is_plagiarised:w.value,plagiarism_evidence:L.value},t=await(0,m.eZ)("/learnerReview",e),a=t.data;a.message&&(k.value=!1,localStorage.setItem("message",a.message),c.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"yes",learnerTaskId:o.value,isProxyReview:"no",showChevron:"yes"}})),"Need Reviewer and Need Reviewee"!==a.reviewer_updated_status&&"Need Reviewee"!==a.reviewer_updated_status||(k.value=!1,c.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:o.value}}),c.Z.go(0)),"Need Reviewer"!==a.reviewer_updated_status&&"Passed"!==a.reviewer_updated_status&&"Fail"!==a.reviewer_updated_status||(k.value=!1,c.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:o.value}}))}catch(e){if(k.value=!0,l.Z.isAxiosError(e)){const t=e;b.value=t.response?.data?.message}else b.value="There is an issue while submitting peer review, please contact with helpmate.";y.value=!0}},Q=()=>{E.value=!1,w.value=void 0,B.value=!1;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,x.value=!1,H(),Y()},K=()=>{E.value=!1},$=async(e,t)=>{if(B.value=e.target.checked,console.log(`isPlagiarizedChecked ${B.value}`),w.value=t,console.log("isPlagiarised",{isPlagiarised:w.value}),!0===B.value&&!0===t){C.value=!0,E.value=!0;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="0";x.value=!0,await H()}else if(!0===B.value&&!1===t){for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,x.value=!1,await H()}else{for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,w.value=void 0,x.value=!1,await H()}};return{revieweeDetails:s,isButtonEnabled:t,enableSubmitButton:H,learnerSubmissionClicked:J,reviewerComment:i,submitReview:X,skill:g,proficiency:_,reviewerHoldTime:f,preSignedUrl:h,errorResponse:b,showErrorMessage:y,helpmateLink:T,renderReady:k,questionEnable:x,isPlagiarised:w,showplagiarismUpload:C,errorMessage:R,successMessage:A,selectedFile:F,plagiarismSubmissionFile:P,plagiarismSubmission:q,isPlagiarismEnabled:S,evidenceFileName:L,checkPlagiarised:$,programId:v,programName:p,ext:M,plagUrlForUpload:I,plagiarismCheckOne:Z,isPlagiarizedChecked:B,checkOne:Y,likertScale:U,confirmPlagiarism:K,cancelPlagiarism:Q,modalVisible:E,modalMessage:N,checkQuestionLength:j,minReviewWordCount:G,questionWordCount:O,accessRestrictionCheck:W,clearFile:V,fileInputKey:z}}}),g=p,_=s(3736),f=(0,_.Z)(g,a,i,!1,null,"66013bc9",null),h=f.exports},1920:function(e,t,s){s.d(t,{G:function(){return i},d:function(){return r}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.get(`${e}/${t}`);return s},r=async(e,t)=>{const s=await a.Z.post(e,t);return s}},9609:function(e,t,s){s.d(t,{R1:function(){return i},Yo:function(){return l},aQ:function(){return c},eZ:function(){return o},ng:function(){return n},uZ:function(){return r}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.post(e,t);return s},r=async e=>{const t=await a.Z.get(e);return t},l=async e=>{const t=await a.Z.get(`learnerTaskToProxyReview/${e}`);return t},o=async(e,t)=>{const s=await a.Z.post(e,t);return s},n=async(e,t)=>{console.log(t),console.log(e);const s=await fetch(e),a=await s.blob(),i=URL.createObjectURL(a),r=document.createElement("a");r.setAttribute("download",t),r.href=i,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(i)},c=async(e,t)=>{try{const s=await fetch(`${e}`,{method:"put",body:t}),a=s;return a}catch(s){return console.error(s),s}}},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1n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gT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[896],{8200:function(e,t,s){s.d(t,{Z:function(){return u}});var a=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:s(6540)}})])])])])])},i=[],r=s(7203),l=(0,r.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,r.ref)(""),s=(0,r.ref)(localStorage.getItem("helpmateLink"));return(0,r.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),o=l,n=s(3736),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},3948:function(e,t,s){s.d(t,{Z:function(){return d}});var a=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Cancel ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Confirm")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},i=[],r=(s(7658),s(4856)),l=s(1548),o={components:{XIcon:r.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1}},setup(){const e=async e=>{l.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},n=o,c=s(3736),u=(0,c.Z)(n,a,i,!1,null,null,null),d=u.exports},8047:function(e,t,s){s.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],r=s(7203),l=(0,r.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,r.ref)("");return(0,r.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),o=l,n=s(3736),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},2143:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.revieweeDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.programId,proficiency:e.proficiency,skill:e.skill}}),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:"bloc text-2xl text-center text-background-secondary"},[e._v(e._s(e.revieweeDetails.reviewee_count_string))]),t("div",{staticClass:"block"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"mt-4 p-8 border border-gray-300 lg:mr-6 md:mr-6 mr-0"},["infinity"===e.programId?t("div",{},[t("p",[e._v("Welcome to the review stage of Solidify. You must complete 3 peer reviews in order to pass Solidify.")]),t("p",{staticClass:"pt-2"},[e._v(" A single review should take about 15 minutes, but if needed you can leave this page and come back within "+e._s(e.reviewerHoldTime)+" hours. Remember, other learners are waiting on you to complete their own Solidify, so please do the review as soon as possible. If you have not done this review within "+e._s(e.reviewerHoldTime)+" hours, it could be assigned to someone else and you will need to do an additional peer review. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("You must be on a desktop in order to download the task. The review will not work on a mobile device or tablet.")]):e._e(),e._m(1),e.isPlagiarismEnabled?t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v('Read the "'),t("strong",[e._v("Learner task submission")]),e._v('".')]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),e._m(2),e._m(3),t("li",[e._v(" Remember, plagiarism is an integrity violation. Citing works is perfectly acceptable, and you will need to use some judgment when marking a task as plagiarized. When you mark a task as plagiarized you are saying it was directly copied from other sources, the task is an integrity violation, and it will be failed. ")]),t("li",[e._v("If the task is not plagiarized, review and score the task by referring to the scoring rubric")]),t("li",[e._v("Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task!")]),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])]):e._e(),e.isPlagiarismEnabled?e._e():t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner’s submission.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),t("li",[e._v("Review and score the task by referring to the scoring rubric.")]),t("li",[e._v("Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task!")]),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])])]):e._e(),"infinity"!==e.programId?t("div",{},[t("p",[e._v("Welcome to the review stage of Solidify. You must complete "+e._s(e.revieweeDetails.mandatory_reviews)+" reviews to pass Solidify.")]),t("p",{staticClass:"pt-2"},[e._v(" A single review should take about 15 minutes, but if needed you can leave this page and come back. Remember, other learners are waiting on you to complete their own Solidify, so please do the review as soon as possible. If you have not done this review "),t("strong",[e._v("within "+e._s(e.reviewerHoldTime)+" hours")]),e._v(", it could be assigned to someone else and you will need to review a different task. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("You must be on a desktop to download the task. This review will not work on a mobile device or tablet.")]):e._e(),e._m(4),t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner's "),t("strong",[e._v("submission")]),e._v(".")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])])]):e._e(),t("div",{staticClass:"mt-8"},[t("p",[t("strong",[e._v("Task Name")]),e._v(": "+e._s(e.revieweeDetails.task_details.task_name))]),e._m(5),t("p",{staticClass:"pt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.revieweeDetails.task_details.description)}})]),"Desktop"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"text-left"},[t("button",{staticClass:"inline-block mt-2 py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:e.learnerSubmissionClicked}},[e._v(" Download Learner Task Submission ")])]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"mt-2"},[e._m(6),t("p",[e._v(e._s(e.revieweeDetails.learner_submission))])]):e._e(),t("div",{staticClass:"mt-8"},["infinity"===e.programId?t("p",[e._v("Please do not include any self-identifying information.")]):e._e(),e.isPlagiarismEnabled?t("div",{staticClass:"border border-background-secondary p-4 mt-2"},[e._m(7),e._m(8),t("p",{staticClass:"pt-2"},[e._v("Did you find the submission plagiarised?")]),t("div",{staticClass:"mt-1 text-sm"},[t("div",{staticClass:"checkboxNewUi"},[t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_yes"},domProps:{value:!0,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!0)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!0,l=e._i(s,r);a.checked?l<0&&(e.plagiarismCheckOne=s.concat([r])):l>-1&&(e.plagiarismCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!0)}],click:e.checkOne}}),t("label",{attrs:{for:"plagriarism_check_yes"}},[e._v("Yes")])]),t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_no"},domProps:{value:!1,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!1)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!1,l=e._i(s,r);a.checked?l<0&&(e.plagiarismCheckOne=s.concat([r])):l>-1&&(e.plagiarismCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!1)}],click:e.checkOne}}),t("label",{attrs:{for:"plagriarism_check_no"}},[e._v("No")])])])]),e.showplagiarismUpload?t("div",{staticClass:"mt-6 w-full flex justify-left items-start"},[t("div",{staticClass:"w-1/2 pr-8 border-r-1 border-gray-500",class:e.accessRestrictionCheck?"disabledbutton":""},[t("p",{staticClass:"w-3/4"},[e._v("If you found the submission significantly plagiarised,")]),t("p",{staticClass:"w-3/4"},[e._v("please upload a screenshot of the evidence in .png format")]),t("div",{staticClass:"flex pt-2 items-center gap-2",staticStyle:{"max-width":"250px"}},[t("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file",accept:".png,.PNG"},on:{change:e.selectedFile}}),e.plagiarismSubmissionFile?t("x-icon",{staticClass:"cursor-pointer",attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1),t("p",{staticClass:"pt-1 text-[14px]"},[e._v("Maximum file size: 5 MB")])]),t("div",{staticClass:"w-1/2 checkboxNewUi",class:e.plagiarismSubmissionFile?"disabledbutton":""},[t("div",{staticClass:"checkboxUi w-3/4"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.accessRestrictionCheck,expression:"accessRestrictionCheck"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"access_restriction"},domProps:{value:!1,checked:Array.isArray(e.accessRestrictionCheck)?e._i(e.accessRestrictionCheck,!1)>-1:e.accessRestrictionCheck},on:{change:function(t){var s=e.accessRestrictionCheck,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!1,l=e._i(s,r);a.checked?l<0&&(e.accessRestrictionCheck=s.concat([r])):l>-1&&(e.accessRestrictionCheck=s.slice(0,l).concat(s.slice(l+1)))}else e.accessRestrictionCheck=i}}}),t("label",{attrs:{for:"access_restriction"}},[e._v("I am unable to upload proof as I am working in an access restricted environment.")])])])]):e._e()]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",[e._m(9),t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[t("strong",[e._v("1")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),e._v(") - Demonstrates no evidence of meeting the performance expectation or learning goal related to this question. ")]),t("li",[t("strong",[e._v("2")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),e._v(") - Demonstrates little evidence of meeting the performance expectation or learning goal related to this question. ")]),t("li",[t("strong",[e._v("3")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.average?e.likertScale.average:"Average"))]),e._v(") - Demonstrates some evidence of meeting the performance expectation or learning goal related to this question. ")]),t("li",[t("strong",[e._v("4")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),e._v(") - Demonstrates evidence of meeting the required performance expectation or learning goal related to this question. ")]),t("li",[t("strong",[e._v("5")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))]),e._v(") - Demonstrates evidence of meeting more than the performance expectation or learning goal related to this question. ")])])]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",{staticClass:"mt-6 p-8 border border-gray-300 lg:mr-6 md:mr-6 mr-0"},e._l(e.revieweeDetails.task_details.task_questions,(function(s,a){return t("div",{key:a,staticClass:"mb-3"},[t("p",[t("b",[e._v("Checklist Question "+e._s(a+1))])]),t("div",{staticClass:"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-1"},[e._v(e._s(s.text))]),"Scale"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" 1 - "+e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"25"},domProps:{checked:e._q(s.response,"25")},on:{change:[function(t){return e.$set(s,"response","25")},e.enableSubmitButton]}}),e._v(" 2 - "+e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"50"},domProps:{checked:e._q(s.response,"50")},on:{change:[function(t){return e.$set(s,"response","50")},e.enableSubmitButton]}}),e._v(" 3 - "+e._s(e.likertScale.average?e.likertScale.average:"Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"75"},domProps:{checked:e._q(s.response,"75")},on:{change:[function(t){return e.$set(s,"response","75")},e.enableSubmitButton]}}),e._v(" 4 - "+e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" 5 - "+e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))])]):e._e(),"Yes/No"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" Yes")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" No")])]):e._e()])})),0):e._e()]),t("div",{staticClass:"mb-3"},[e._m(10),t("p",[e._v("Share what you liked, and what you thought could be improved. The ratings should be in line with your feedback.")]),t("div",{staticClass:"mt-1"},[e._m(11),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.reviewerComment,expression:"reviewerComment"}],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 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{maxlength:"10000",rows:"3",placeholder:""},domProps:{value:e.reviewerComment},on:{keyup:function(t){return e.checkQuestionLength(e.reviewerComment)},input:function(t){t.target.composing||(e.reviewerComment=t.target.value)}}}),t("div",[e.questionWordCount<10?t("div",{staticClass:"text-red-700"},[e._v("(Minimum 10 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])])])]),t("div",{staticClass:"mt-6 mb-4 text-center"},[e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e._m(12),t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 text-white shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.submitReview}},[e._v(" Submit Review ")])])])])])],1)]):e._e(),t("GenericModal",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.confirmPlagiarism}})],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:s(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},i=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[t("ul",[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),t("li",{staticClass:"active"},[e._v("Peer Reviews")]),t("li",[e._v("Under Review")]),t("li",[e._v("Done!")])])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To review the task:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" Review the submission for plagiarism by checking against sites like "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")]),e._v(". ")]),e._v("Paste the text from the submission and click on scan for plagiarism. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" If the result shows significantly plagiarized, take a screenshot of the plagiarism and save it. then click “yes” for if the task was plagiarized and upload the screenshot you just saved. You must upload the evidence only in png format. The maximum file size is "),t("strong",[e._v("5MB")]),e._v(". If the submission is not plagiarised, mark no. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To review the task:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Description")]),e._v(":")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("Learner's Submission:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("How to check for plagiarism - ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v(" You may refer to popular internet sites like "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")])]),e._v(" to check for possible plagiarism. ")]),t("li",[e._v("Paste the submitted text and click on Scan for plagiarism")]),t("li",[e._v("Results will show whether the submission is plagiarized or not.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Scoring Rubric:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[e._v("Please enter your comments in the text box below. Comments are "),t("strong",[e._v("mandatory")]),e._v(" and will be sent to your peers, so remember to give constructive feedback!")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Reviewer Comment")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Submit Review button will be disabled until you view the learner's submission.")])])}],r=(s(7658),s(7203)),l=s(306),o=s(8200),n=s(4856),c=s(1548),u=s(1920),d=s(3948),v=s(8047),m=s(9609),p=(0,r.defineComponent)({name:"LearnerSubmitTask",props:{query:{type:Object,default:()=>({})}},components:{ErrorMessage:o.Z,GenericModal:d.Z,XIcon:n.b0D,Greetings:v.Z},setup(e){const t=(0,r.ref)(!1),s=(0,r.ref)(),a=(0,r.ref)(!1),i=(0,r.ref)(""),o=(0,r.ref)(),n=(0,r.ref)(localStorage.getItem("skillId")),d=(0,r.ref)(localStorage.getItem("profId")),v=(0,r.ref)(localStorage.getItem("programId")),p=(0,r.ref)(localStorage.getItem("programName")),g=(0,r.ref)(),_=(0,r.ref)(),f=(0,r.ref)(),h=(0,r.ref)(),k=(0,r.ref)(),b=(0,r.ref)(),w=(0,r.ref)(),y=(0,r.ref)(!1),x=(0,r.ref)(!1),C=(0,r.ref)(!1),S=(0,r.ref)(!1),R=(0,r.ref)(),A=(0,r.ref)(),P=(0,r.ref)(),q=(0,r.ref)(),D=(0,r.ref)(),L=(0,r.ref)(),M=(0,r.ref)(),I=(0,r.ref)(),T=(0,r.ref)(localStorage.getItem("helpmateLink")),Z=(0,r.ref)([]),B=(0,r.ref)(!1),U=(0,r.ref)({}),E=(0,r.ref)(!1),N='<div class="px-4">\n <div class="font-bold text-left mb-3">By marking "Yes", you confirm the below:</div>\n <ul class="list-disc text-left px-6">\n <li>The submission is significantly copied from the Internet and is not referenced.</li>\n <li>The learner will receive a \'Fail\' notification with a copy marked to the respective manager and HR.</li>\n </ul>\n </div>',G=(0,r.ref)(!1),O=(0,r.ref)(0),W=(0,r.ref)(!1),z=(0,r.ref)(0),j=e=>{O.value=e.split(" ").filter((e=>""!==e)).length,G.value=O.value>=10},Y=()=>{Z.value=[]},V=async()=>{z.value+=1,P.value=null};(0,r.onBeforeMount)((async()=>{try{o.value=e.query.learner_task_id,k.value=!1;const t=await(0,m.uZ)(`/learnerTaskToReview/${o.value}`),a=t.data;if(k.value=!0,a.data.is_learner_not_allowed&&(console.log("learner on hold submit task"),c.Z.push({path:"/solidify",query:{skill_id:n.value,proficiency_id:d.value,program_id:v.value}})),a.data.errorMessage)y.value=!0,b.value=a.data.errorMessage;else if(a.data.message)localStorage.setItem("message",a.data.message),c.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"yes",learnerTaskId:o.value,isProxyReview:"no",showChevron:"yes"}});else if("Need Reviewer"===a.data.learner_status||"Fail"===a.data.learner_status||"Passed"===a.data.learner_status)c.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:o.value}});else{s.value=a.data,U.value=s.value.task_details.likertScale?s.value.task_details.likertScale:{},g.value=s.value.skill,_.value=s.value.proficiency;const e=parseInt(s.value.reviewer_hold_time_in_minutes,10)/60,t=!!s.value.is_plagiarism_enabled&&s.value.is_plagiarism_enabled;I.value=s.value.url_to_upload_plag_evidence,console.log(`plagiarismEnabled ${t}`),S.value=!0===t,Number.isInteger(e)?f.value=e:f.value=e.toFixed(2)}}catch(t){if(k.value=!0,l.Z.isAxiosError(t)){const e=t;b.value=e.response?.data?.message}else b.value="There is an issue while fetching peer learner task to review, please contact helpmate.";y.value=!0}}));const H=()=>{let e=!0;s.value.task_details.task_questions.forEach(((t,s)=>{console.log(`que.response ${t.response} index ${s}`),t.response?(console.log(`inside if allQuestionAnswered before${e}`),e=e&&!0):(console.log(`inside else allQuestionAnswered before ${e}`),e=e&&!1)})),console.log(`allQuestionAnswered ${JSON.stringify(e)} `),!e||"Desktop"===s.value.task_details.task_type&&!a.value?t.value=!1:t.value=!0,console.log(`isButtonEnabled ${JSON.stringify(t)} `)},J=async()=>{try{const e={file_name:s.value.learner_submission,task_id:s.value.reviewee_id};k.value=!1;const t=await(0,m.R1)("/v1/pretAuthUrlForDownload",e);h.value=t.data.preSignedUrl,await(0,m.ng)(h.value,s.value.learner_submission),k.value=!0,a.value=!0,H()}catch(e){if(k.value=!0,l.Z.isAxiosError(e)){const t=e;b.value=t.response?.data?.message}else b.value="There is an issue while donwloading learner submission, please contact helpmate.";y.value=!0}},F=async e=>{try{const t=e.target.files[0],s=e.target.files[0].name,a=e.target.files[0].size/1024/1024;a>5?(R.value="fileSize greater than 5 MB",setTimeout((()=>{R.value=null}),6e3)):(P.value=t,q.value=s)}catch(t){P.value=null,q.value=null,console.log(t)}},X=async()=>{try{if(k.value=!1,S.value){if(console.log(`isPlagiarised.value ${w.value}`),w.value&&!W.value){if(!P.value)return k.value=!0,R.value="Please upload plagiarism evidence screenshot",void setTimeout((()=>{R.value=null}),6e3);if(L.value=q.value,console.log("ext.value",M.value),k.value=!1,console.log("evidenceFileName value",L.value),!q.value.endsWith("png")&&!q.value.endsWith("PNG"))return k.value=!0,R.value="You can upload only jpg, jpeg, and png",void setTimeout((()=>{R.value=null}),6e3);const e=await(0,u.G)("learnerStatus",s.value.reviewee_id);"Need Reviewer"!==e.data.current_status&&"Need Reviewer and Need Reviewee"!==e.data.current_status||(D.value=await(0,m.aQ)(I.value,P.value),w.value=!0)}if(void 0===w.value)return k.value=!0,R.value="Please Select Plagiarism Checkbox",void setTimeout((()=>{R.value=null}),6e3)}const e={reviewer_task_id:o.value,reviewee_task_id:s.value.reviewee_id,reviewer_comment:i.value,reviewer_response:s.value.task_details.task_questions,is_plagiarised:w.value,plagiarism_evidence:L.value},t=await(0,m.eZ)("/learnerReview",e),a=t.data;a.message&&(k.value=!1,localStorage.setItem("message",a.message),c.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"yes",learnerTaskId:o.value,isProxyReview:"no",showChevron:"yes"}})),"Need Reviewer and Need Reviewee"!==a.reviewer_updated_status&&"Need Reviewee"!==a.reviewer_updated_status||(k.value=!1,c.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:o.value}}),c.Z.go(0)),"Need Reviewer"!==a.reviewer_updated_status&&"Passed"!==a.reviewer_updated_status&&"Fail"!==a.reviewer_updated_status||(k.value=!1,c.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:o.value}}))}catch(e){if(k.value=!0,l.Z.isAxiosError(e)){const t=e;b.value=t.response?.data?.message}else b.value="There is an issue while submitting peer review, please contact with helpmate.";y.value=!0}},Q=()=>{E.value=!1,w.value=void 0,B.value=!1;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,x.value=!1,H(),Y()},K=()=>{E.value=!1},$=async(e,t)=>{if(B.value=e.target.checked,console.log(`isPlagiarizedChecked ${B.value}`),w.value=t,console.log("isPlagiarised",{isPlagiarised:w.value}),!0===B.value&&!0===t){C.value=!0,E.value=!0;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="0";x.value=!0,await H()}else if(!0===B.value&&!1===t){for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,x.value=!1,await H()}else{for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,w.value=void 0,x.value=!1,await H()}};return{revieweeDetails:s,isButtonEnabled:t,enableSubmitButton:H,learnerSubmissionClicked:J,reviewerComment:i,submitReview:X,skill:g,proficiency:_,reviewerHoldTime:f,preSignedUrl:h,errorResponse:b,showErrorMessage:y,helpmateLink:T,renderReady:k,questionEnable:x,isPlagiarised:w,showplagiarismUpload:C,errorMessage:R,successMessage:A,selectedFile:F,plagiarismSubmissionFile:P,plagiarismSubmission:q,isPlagiarismEnabled:S,evidenceFileName:L,checkPlagiarised:$,programId:v,programName:p,ext:M,plagUrlForUpload:I,plagiarismCheckOne:Z,isPlagiarizedChecked:B,checkOne:Y,likertScale:U,confirmPlagiarism:K,cancelPlagiarism:Q,modalVisible:E,modalMessage:N,checkQuestionLength:j,minReviewWordCount:G,questionWordCount:O,accessRestrictionCheck:W,clearFile:V,fileInputKey:z}}}),g=p,_=s(3736),f=(0,_.Z)(g,a,i,!1,null,"66013bc9",null),h=f.exports},1920:function(e,t,s){s.d(t,{G:function(){return i}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.get(`${e}/${t}`);return s}},9609:function(e,t,s){s.d(t,{R1:function(){return i},Yo:function(){return l},aQ:function(){return c},eZ:function(){return o},ng:function(){return n},uZ:function(){return r}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.post(e,t);return s},r=async e=>{const t=await a.Z.get(e);return t},l=async e=>{const t=await a.Z.get(`learnerTaskToProxyReview/${e}`);return t},o=async(e,t)=>{const s=await a.Z.post(e,t);return s},n=async(e,t)=>{console.log(t),console.log(e);const s=await fetch(e),a=await s.blob(),i=URL.createObjectURL(a),r=document.createElement("a");r.setAttribute("download",t),r.href=i,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(i)},c=async(e,t)=>{try{const s=await fetch(`${e}`,{method:"put",body:t}),a=s;return a}catch(s){return console.error(s),s}}},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh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