@genpact/genome.mfe.solidify-app 1.17.2-alpha.237 → 1.17.2-alpha.239
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/SolidifyLearner.css +1 -1
- package/dist/css/SolidifyLearnerDone.css +1 -1
- package/dist/css/SolidifyLearnerSubmitTask.css +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js +2 -2
- package/dist/solidify.umd.min.SolidifyLearner.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/solidify.umd.min.js +2 -2
- package/dist/solidify.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:#000000da}.modal{text-align:center;background-color:#fff;height:200px;width:600px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}.ul-nav ul[data-v-1dde1255]{display:flex;width:100%}.ul-nav ul li.active[data-v-1dde1255]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-1dde1255]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-1dde1255]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-1dde1255]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-1dde1255]{padding-left:20px!important}.box-overflow1[data-v-1dde1255]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-1dde1255]{overflow-x:scroll}.box-overflow1[data-v-1dde1255]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-419ed66a]{display:flex;width:100%}.ul-nav ul li.active[data-v-419ed66a]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-419ed66a]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-419ed66a]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-419ed66a]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-419ed66a]{padding-left:20px!important}.box-overflow1[data-v-419ed66a]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-419ed66a]{overflow-x:scroll}.box-overflow1[data-v-419ed66a]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-
|
|
1
|
+
.modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:#000000da}.modal{text-align:center;background-color:#fff;height:200px;width:600px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}.ul-nav ul[data-v-1dde1255]{display:flex;width:100%}.ul-nav ul li.active[data-v-1dde1255]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-1dde1255]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-1dde1255]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-1dde1255]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-1dde1255]{padding-left:20px!important}.box-overflow1[data-v-1dde1255]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-1dde1255]{overflow-x:scroll}.box-overflow1[data-v-1dde1255]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-419ed66a]{display:flex;width:100%}.ul-nav ul li.active[data-v-419ed66a]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-419ed66a]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-419ed66a]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-419ed66a]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-419ed66a]{padding-left:20px!important}.box-overflow1[data-v-419ed66a]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-419ed66a]{overflow-x:scroll}.box-overflow1[data-v-419ed66a]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-249255e6]{display:flex;width:100%}.ul-nav ul li.active[data-v-249255e6]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-249255e6]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-249255e6]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-249255e6]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-249255e6]{padding-left:20px!important;margin-right:10px!important}.box-overflow1[data-v-249255e6]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-249255e6]{overflow-x:scroll}.box-overflow1[data-v-249255e6]{max-height:none;overflow-y:auto}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ul-nav ul[data-v-
|
|
1
|
+
.ul-nav ul[data-v-652b5871]{display:flex;width:100%}.ul-nav ul li.active[data-v-652b5871]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-652b5871]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-652b5871]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-652b5871]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-652b5871]{padding-left:20px!important}.box-overflow1[data-v-652b5871]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-652b5871]{overflow-x:scroll}.box-overflow1[data-v-652b5871]{max-height:none;overflow-y:auto}.ul-nav .done li[data-v-652b5871]:first-child,.ul-nav .done li[data-v-652b5871]:nth-child(2),.ul-nav .done li[data-v-652b5871]:nth-child(3),.ul-nav .done li[data-v-652b5871]:nth-child(4),.ul-nav .done li[data-v-652b5871]:nth-child(5),.ul-nav .underReview li[data-v-652b5871]:first-child,.ul-nav .underReview li[data-v-652b5871]:nth-child(2),.ul-nav .underReview li[data-v-652b5871]:nth-child(3),.ul-nav .underReview li[data-v-652b5871]:nth-child(4){display:none}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.animate-blink[data-v-edd982f2]{animation:blink-edd982f2 1s step-start infinite}@keyframes blink-edd982f2{0%,to{opacity:1}50%{opacity:0}}.ul-nav ul[data-v-
|
|
1
|
+
.animate-blink[data-v-edd982f2]{animation:blink-edd982f2 1s step-start infinite}@keyframes blink-edd982f2{0%,to{opacity:1}50%{opacity:0}}.ul-nav ul[data-v-03ae1450]{display:flex;width:100%}.ul-nav ul li.active[data-v-03ae1450]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-03ae1450]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-03ae1450]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-03ae1450]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-03ae1450]{padding-left:20px!important}.box-overflow1[data-v-03ae1450]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-03ae1450]{overflow-x:scroll}.box-overflow1[data-v-03ae1450]{max-height:none;overflow-y:auto}.ul-nav li[data-v-03ae1450]:first-child,.ul-nav li[data-v-03ae1450]:nth-child(2){display:none}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[901],{4735:function(e,t,r){r.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:r(6540)}})])])])])])},a=[],i=r(7203),o=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),r=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:r}}}),n=o,l=r(1001),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},6629:function(e,t,r){r.d(t,{Z:function(){return d}});var s=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:r(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:r(5861)}})]):e._e()]),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.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 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):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",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" No ")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 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()},a=[],i=(r(7658),r(4856)),o=r(1496),n={components:{XIcon:i.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{o.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},l=n,u=r(1001),c=(0,u.Z)(l,s,a,!1,null,null,null),d=c.exports},5316:function(e,t,r){r.d(t,{Z:function(){return c}});var s=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))])])])},a=[],i=r(7203),o=(0,i.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=o,l=r(1001),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},641:function(e,t,r){r.r(t),r.d(t,{default:function(){return y}});var s=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.learnerRereviewDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.learnerRereviewDetails.program,proficiency:e.learnerRereviewDetails.proficiency,skill:e.learnerRereviewDetails.skill}}),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"p-4 mb-3 rounded-lg shadow border border-gray-200"},[e._m(0),e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[e._m(1),t("p",[e._v("You'll receive email confirmation once the review is complete (allow up to 2 weeks).")]),e._m(2),t("p",{staticClass:"pt-6"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v(" By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.")])]),e._m(3)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"pt-4"},[e._v("Your request for re-review has been accepted and is currently in progress.")]),e._m(4)]):e._e()])])]),t("div",{staticClass:"block text-center pt-6"},[t("div",{staticClass:"mb-4 text-center"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.requestForRereviewSubmit}},[e._v(" Re-review ")]),e.learnerRereviewDetails.request_for_re_review?t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.checkRereviewStatus}},[e._v(" Check Status ")]):e._e()])])])],1)]):e._e()],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:r(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("strong",[e._v("Re-Review Request")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-4"},[t("strong",[e._v("Important:")]),e._v(" Requesting a re-review doesn't guarantee your task will be approved.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",[t("strong",[e._v("Key Limitations: ")])]),t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v("Each submission gets only one re-review opportunity.")]),t("li",[e._v("You cannot start a new Solidify process for the same skill while your re-review is pending")]),t("li",[e._v("If our reviewers determine the original assessment was correct, your results will remain unchanged.")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v('"Re-review"')]),e._v(" to continue.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("Click "),t("strong",[e._v("'Check Status'")]),e._v(" to track the status of the re-review.")])}],i=r(7203),o=r(6629),n=r(306),l=r(4735),u=r(5316),c=r(7129);const d=async e=>{const t=await c.Z.get(`/learnerRereviewStatus/${e}`);return t},p=async(e,t)=>{const r=await c.Z.post("/learnerRereview",{learner_task_id:e,requestFromAdmin:t});return r};var v=(0,i.defineComponent)({name:"LearnerRereview",components:{Generic:o.Z,ErrorMessage:l.Z,Greetings:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(e.query.learner_task_id),r=(0,i.ref)(),s=(0,i.ref)(!1),a=(0,i.ref)(),o=(0,i.ref)(!0),l=(0,i.ref)(!1),u=(0,i.ref)(),c=(0,i.ref)(!1),v=(0,i.ref)(localStorage.getItem("helpmateLink")),f=e=>{const t=e.target.checked;!0===t?(o.value=!1,console.log(o.value)):(o.value=!0,console.log(o.value))},g=async()=>{try{if(l.value=!1,r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested)return s.value=!0,void(a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now");const e=await p(t.value,!1);r.value.request_for_re_review=e.data?.request_for_re_review,r.value.re_review_status=e.data?.re_review_status,l.value=!0,s.value=!0,a.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in requesting for review, please contact helpmate.";c.value=!0}},m=async()=>{try{l.value=!1;const e=await d(t.value);return r.value=e.data,l.value=!0,console.log(`after check status ${JSON.stringify(r)}`),void("Re-review Accepted Proxy Assigned"===r.value.re_review_status||"Re-review Accepted Proxy Unavailable"===r.value.re_review_status?(s.value=!0,a.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."):"Complete"===r.value.re_review_status&&(s.value=!0,a.value="Dear learner,<br>Your re-review has been completed. Please check your registered email for details."))}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in fetching learner re-review status, please contact helpmate.";c.value=!0}};return(0,i.onBeforeMount)((async()=>{try{l.value=!1;const e=await d(t.value);r.value=e.data,l.value=!0,console.log(`learnerRereviewDetails.value ${JSON.stringify(r.value)}`),r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested&&(s.value=!0,a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now")}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue to fetch existing record, please contact helpmate.";c.value=!0}})),{modalVisible:s,modalMessage:a,buttonDisable:o,learnerRereviewDetails:r,setRereviewButtonEnable:f,requestForRereviewSubmit:g,checkRereviewStatus:m,renderReady:l,helpmateLink:v,showErrorMessage:c}}}),f=v,g=r(1001),m=(0,g.Z)(f,s,a,!1,null,"263978ec",null),y=m.exports},2191:function(e,t,r){e.exports=r.p+"img/plag_warning1.gif"},5861:function(e,t,r){e.exports=r.p+"img/plag_warning2.gif"},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/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XjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[901],{4735:function(e,t,r){r.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:r(6540)}})])])])])])},a=[],i=r(7203),o=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),r=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:r}}}),n=o,l=r(1001),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},5583:function(e,t,r){r.d(t,{Z:function(){return d}});var s=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:r(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:r(5861)}})]):e._e()]),t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Restart Solidify ")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},a=[],i=(r(7658),r(4856)),o=r(1496),n={components:{XIcon:i.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{o.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},l=n,u=r(1001),c=(0,u.Z)(l,s,a,!1,null,null,null),d=c.exports},5316:function(e,t,r){r.d(t,{Z:function(){return c}});var s=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))])])])},a=[],i=r(7203),o=(0,i.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=o,l=r(1001),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},4071:function(e,t,r){r.r(t),r.d(t,{default:function(){return y}});var s=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.learnerRereviewDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.learnerRereviewDetails.program,proficiency:e.learnerRereviewDetails.proficiency,skill:e.learnerRereviewDetails.skill}}),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"p-4 mb-3 rounded-lg shadow border border-gray-200"},[e._m(0),e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",{staticClass:"pt-4"},[e._v("Requesting a re-review doesn't guarantee that your submission will pass. You'll receive an email once the review is complete (allow up to 2 weeks).")]),e._m(1),t("p",{staticClass:"pt-6"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v(" By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.")])]),e._m(2)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"pt-4"},[e._v("Your request for re-review has been accepted and is currently in progress.")]),e._m(3)]):e._e()])])]),t("div",{staticClass:"block text-center pt-6"},[t("div",{staticClass:"mb-4 text-center"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.requestForRereviewSubmit}},[e._v(" Re-review ")]),e.learnerRereviewDetails.request_for_re_review?t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.checkRereviewStatus}},[e._v(" Check Status ")]):e._e()])])])],1)]):e._e()],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:r(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("strong",[e._v("Re-Review Request")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",[t("strong",[e._v("Key Limitations: ")])]),t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v("Each submission is eligible for only one re-review.")]),t("li",[e._v("You cannot start a new Solidify journey for the same skill while your re-review is pending.")]),t("li",[e._v("If our reviewers determine the original assessment was correct, your results will remain unchanged.")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v('"Re-review"')]),e._v(" to continue.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("Click "),t("strong",[e._v("'Check Status'")]),e._v(" to track the status of the re-review.")])}],i=r(7203),o=r(5583),n=r(306),l=r(4735),u=r(5316),c=r(7129);const d=async e=>{const t=await c.Z.get(`/learnerRereviewStatus/${e}`);return t},v=async(e,t)=>{const r=await c.Z.post("/learnerRereview",{learner_task_id:e,requestFromAdmin:t});return r};var p=(0,i.defineComponent)({name:"LearnerRereview",components:{Generic:o.Z,ErrorMessage:l.Z,Greetings:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(e.query.learner_task_id),r=(0,i.ref)(),s=(0,i.ref)(!1),a=(0,i.ref)(),o=(0,i.ref)(!0),l=(0,i.ref)(!1),u=(0,i.ref)(),c=(0,i.ref)(!1),p=(0,i.ref)(localStorage.getItem("helpmateLink")),f=e=>{const t=e.target.checked;!0===t?(o.value=!1,console.log(o.value)):(o.value=!0,console.log(o.value))},g=async()=>{try{if(l.value=!1,r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested)return s.value=!0,void(a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now");const e=await v(t.value,!1);r.value.request_for_re_review=e.data?.request_for_re_review,r.value.re_review_status=e.data?.re_review_status,l.value=!0,s.value=!0,a.value="<strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete."}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in requesting for review, please contact helpmate.";c.value=!0}},m=async()=>{try{l.value=!1;const e=await d(t.value);return r.value=e.data,l.value=!0,console.log(`after check status ${JSON.stringify(r)}`),void("Re-review Accepted Proxy Assigned"===r.value.re_review_status||"Re-review Accepted Proxy Unavailable"===r.value.re_review_status?(s.value=!0,a.value="<br><strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete."):"Complete"===r.value.re_review_status&&(s.value=!0,a.value="<br><br>Great news! Your re-review is complete — check your email for details."))}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in fetching learner re-review status, please contact helpmate.";c.value=!0}};return(0,i.onBeforeMount)((async()=>{try{l.value=!1;const e=await d(t.value);r.value=e.data,l.value=!0,console.log(`learnerRereviewDetails.value ${JSON.stringify(r.value)}`),r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested&&(s.value=!0,a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now")}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue to fetch existing record, please contact helpmate.";c.value=!0}})),{modalVisible:s,modalMessage:a,buttonDisable:o,learnerRereviewDetails:r,setRereviewButtonEnable:f,requestForRereviewSubmit:g,checkRereviewStatus:m,renderReady:l,helpmateLink:p,showErrorMessage:c}}}),f=p,g=r(1001),m=(0,g.Z)(f,s,a,!1,null,"70520834",null),y=m.exports},2191:function(e,t,r){e.exports=r.p+"img/plag_warning1.gif"},5861:function(e,t,r){e.exports=r.p+"img/plag_warning2.gif"},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0uTC6y123jDowufdngeUmg2UlTBs7HxHKYhrL5NvuqLpakHFnUbyScBySEQ6aJajE1iE9kKTB5NBbBIMT7mi/T3dUj7XZFCDJlmEh/PVmDyaLKBXS1CihDlcJ8L35+7mBnLPkVyvIh0RawxxEwhmXpcYD3oq3WU6WrQ1VRzu7CG2t5Bpro1Ge7toL2zg+7n9EWmHphh/9rrxFtL/8biz9fy2sbdSF7RxlJpCsnU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oS,I,UCOlSxC,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/GenericModal.vue","webpack://solidify/src/components/global/GenericModal.vue","webpack://solidify/./src/components/global/GenericModal.vue?8dbf","webpack://solidify/./src/components/global/GenericModal.vue?0027","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Rereview.vue","webpack://solidify/./src/utils/re_review_service.ts","webpack://solidify/./src/views/Learner_Rereview.vue?0630","webpack://solidify/./src/views/Learner_Rereview.vue?08a1","webpack://solidify/./src/views/Learner_Rereview.vue?2523"],"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/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/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/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;return (_vm.isVisible)?_c('main',{staticClass:\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\"},[_c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-overlay\",on:{\"click\":function($event){return _vm.$emit('close-modal')}}},[_c('div',{staticClass:\"modal relative\",on:{\"click\":function($event){$event.stopPropagation();}}},[(_vm.closeVisible)?_c('div',{staticClass:\"absolute right-0 pr-4 top-5 cursor-pointer\",on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_c('x-icon',{attrs:{\"size\":\"1.5x\"}})],1):_vm._e(),_c('div',{staticClass:\"bg-white\"},[_c('div',[(_vm.popUpImage1 || _vm.popUpImage2)?_c('div',{staticClass:\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\"},[_c('div',[_c('strong',[_vm._v(\"Do you want to mark the submission Plagiarised?\")])])]):_vm._e(),(_vm.popUpImage1)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-3/12\",attrs:{\"src\":require(\"@/assets/images/plag_warning1.gif\")}})]):_vm._e(),(_vm.popUpImage2)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-2/5\",attrs:{\"src\":require(\"@/assets/images/plag_warning2.gif\")}})]):_vm._e()]),_c('div',{staticClass:\"text-gray-500 px-4\",domProps:{\"innerHTML\":_vm._s(_vm.message)}}),_c('div',{staticClass:\"pb-6 pt-4 bg-white\"},[(_vm.reReviewButton)?_c('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($event){return _vm.applyReview(_vm.reReviewButtonLink)}}},[_vm._v(\" Apply Re-Review \")]):_vm._e(),(_vm.archiveButton)?_c('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\",on:{\"click\":function($event){return _vm.$emit('Archive')}}},[_vm._v(\"Yes\")]):_vm._e(),(_vm.closeVisible)?_c('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\",staticStyle:{\"background-color\":\"grey\"},on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_vm._v(\" No \")]):_vm._e(),(_vm.linkButton)?_c('button',{staticClass:\"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.navigate(_vm.link)}}},[_vm._v(_vm._s(_vm.linkButton))]):_vm._e()])])])])])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <main v-if=\"isVisible\" class=\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\">\n <transition name=\"modal-fade\">\n <div class=\"modal-overlay\" @click=\"$emit('close-modal')\">\n <div class=\"modal relative\" @click.stop>\n <!-- <h6>Saved!</h6> -->\n <div @click=\"$emit('closeModal')\" class=\"absolute right-0 pr-4 top-5 cursor-pointer\" v-if=\"closeVisible\">\n <x-icon size=\"1.5x\"></x-icon>\n </div>\n <div class=\"bg-white\">\n <!-- adding gif in Plagiarism warning from Peer Review page-->\n\n <div>\n <div v-if=\"popUpImage1 || popUpImage2\" class=\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\">\n <div><strong>Do you want to mark the submission Plagiarised?</strong></div>\n </div>\n <div v-if=\"popUpImage1\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning1.gif\" class=\"block px-4 pb-2 mx-auto w-3/12\" />\n </div>\n <div v-if=\"popUpImage2\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning2.gif\" class=\"block px-4 pb-2 mx-auto w-2/5\" />\n </div>\n </div>\n\n <div class=\"text-gray-500 px-4\" v-html=\"message\"></div>\n <div class=\"pb-6 pt-4 bg-white\">\n <button @click=\"applyReview(reReviewButtonLink)\" v-if=\"reReviewButton\" class=\"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\">\n Apply Re-Review\n </button>\n\n <button @click=\"$emit('Archive')\" v-if=\"archiveButton\" class=\"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\">Yes</button>\n <button @click=\"$emit('closeModal')\" v-if=\"closeVisible\" style=\"background-color: grey\" class=\"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\">\n No\n </button>\n <button @click=\"navigate(link)\" v-if=\"linkButton\" class=\"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\">{{ linkButton }}</button>\n <!-- <button class=\"py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">Helpmate</button> -->\n </div>\n </div>\n </div>\n </div>\n </transition>\n </main>\n</template>\n\n<script>\nimport { XIcon } from 'vue-feather-icons';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default {\n components: { XIcon },\n name: 'Generic',\n props: {\n isVisible: {\n type: Boolean,\n default: false,\n required: true,\n },\n message: {\n type: String,\n default: '',\n required: true,\n },\n closeVisible: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n archiveButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButtonLink: {\n type: String,\n default: '',\n required: false,\n },\n link: {\n type: String,\n default: '',\n required: false,\n },\n linkButton: {\n type: String,\n default: '',\n required: false,\n },\n popUpImage1: {\n type: Boolean,\n default: false,\n required: false,\n },\n popUpImage2: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n setup() {\n const applyReview = async (reReviewButtonLink) => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: reReviewButtonLink } });\n };\n const navigate = (link) => {\n window.location.href = link;\n };\n return { applyReview, navigate };\n },\n};\n</script>\n\n<style lang=\"postcss\">\n.modal-overlay {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n justify-content: center;\n background-color: #000000da;\n}\n.modal {\n text-align: center;\n background-color: white;\n height: 200px;\n width: 600px;\n margin-top: 10%;\n padding: 40px 0;\n /* border-radius: 20px; */\n}\np {\n /* font-weight: 500; */\n font-size: 16px;\n margin: 20px 0;\n}\n/* button {\n background-color: #ac003e;\n width: 150px;\n height: 40px;\n color: white;\n font-size: 14px;\n border-radius: 16px;\n margin-top: 50px;\n} */\n.modal-fade-enter,\n.modal-fade-leave-to {\n opacity: 0;\n}\n.modal-fade-enter-active,\n.modal-fade-leave-active {\n transition: opacity 0.5s ease;\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericModal.vue?vue&type=template&id=266e9535&\"\nimport script from \"./GenericModal.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericModal.vue?vue&type=style&index=0&id=266e9535&prod&lang=postcss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"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/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/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/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)?[(_vm.learnerRereviewDetails)?_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.learnerRereviewDetails.program,\"proficiency\":_vm.learnerRereviewDetails.proficiency,\"skill\":_vm.learnerRereviewDetails.skill}}),_c('Generic',{attrs:{\"is-visible\":_vm.modalVisible,\"message\":_vm.modalMessage}}),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3\"},[_c('div',{staticClass:\"block mt-4\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('div',{staticClass:\"p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_vm._m(0),(!_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_vm._m(1),_c('p',[_vm._v(\"You'll receive email confirmation once the review is complete (allow up to 2 weeks).\")]),_vm._m(2),_c('p',{staticClass:\"pt-6\"},[_c('label',[_c('input',{attrs:{\"type\":\"checkbox\"},on:{\"change\":function($event){return _vm.setRereviewButtonEnable($event)}}}),_vm._v(\" By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.\")])]),_vm._m(3)]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"pt-4\"},[_vm._v(\"Your request for re-review has been accepted and is currently in progress.\")]),_vm._m(4)]):_vm._e()])])]),_c('div',{staticClass:\"block text-center pt-6\"},[_c('div',{staticClass:\"mb-4 text-center\"},[(!_vm.learnerRereviewDetails.request_for_re_review)?_c('button',{staticClass:\"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":_vm.requestForRereviewSubmit}},[_vm._v(\" Re-review \")]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('button',{staticClass:\"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":_vm.checkRereviewStatus}},[_vm._v(\" Check Status \")]):_vm._e()])])])],1)]):_vm._e()]:_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('div',[_c('strong',[_vm._v(\"Re-Review Request\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-4\"},[_c('strong',[_vm._v(\"Important:\")]),_vm._v(\" Requesting a re-review doesn't guarantee your task will be approved.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"pt-4\"},[_c('p',[_c('strong',[_vm._v(\"Key Limitations: \")])]),_c('ul',{staticClass:\"mt-2 list-disc pl-8\"},[_c('li',[_vm._v(\"Each submission gets only one re-review opportunity.\")]),_c('li',[_vm._v(\"You cannot start a new Solidify process for the same skill while your re-review is pending\")]),_c('li',[_vm._v(\"If our reviewers determine the original assessment was correct, your results will remain unchanged.\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"mt-2\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"\\\"Re-review\\\"\")]),_vm._v(\" to continue.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click \"),_c('strong',[_vm._v(\"'Check Status'\")]),_vm._v(\" to track the status of the re-review.\")])\n}]\n\nexport { render, staticRenderFns }","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport $http from '../plugins/axios';\n\nconst fetchLearnerStatusForReview = async (learnerTaskId: string) => {\n // let reReviewStatusResponse: any;\n // try {\n // await $http.get(`/learnerRereviewStatus/${learnerTaskId}`).then((response) => {\n // reReviewStatusResponse = response.data;\n // return reReviewStatusResponse;\n // });\n // return reReviewStatusResponse;\n // } catch (error) {\n // return error;\n // }\n const reReviewStatusResponse = await $http.get(`/learnerRereviewStatus/${learnerTaskId}`);\n return reReviewStatusResponse;\n};\n\nconst requestForRereview = async (learnerTaskId: string, requestFromAdmin: boolean) => {\n // try {\n // let res: any;\n // await $http.post('/learnerRereview/', { learner_task_id: learnerTaskId, requestFromAdmin }).then((response) => {\n // res = response.data;\n // return res;\n // });\n // return res;\n // } catch (error) {\n // return error;\n // }\n const res = await $http.post('/learnerRereview', { learner_task_id: learnerTaskId, requestFromAdmin });\n return res;\n};\nexport { fetchLearnerStatusForReview, requestForRereview };\n","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n// import router from '@/router';\nimport Generic from '@/components/global/GenericModal.vue';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\nimport { fetchLearnerStatusForReview, requestForRereview } from '../utils/re_review_service';\n\nexport default defineComponent({\n name: 'LearnerRereview',\n components: { Generic, ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const learnerTaskId = ref(props.query.learner_task_id);\n const learnerRereviewDetails = ref();\n const modalVisible = ref(false);\n const modalMessage = ref();\n const buttonDisable = ref(true);\n const renderReady = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setRereviewButtonEnable = (e: any) => {\n const cb = e.target.checked;\n if (cb === true) {\n buttonDisable.value = false;\n console.log(buttonDisable.value);\n } else {\n buttonDisable.value = true;\n console.log(buttonDisable.value);\n }\n };\n\n const requestForRereviewSubmit = async () => {\n try {\n renderReady.value = false;\n if (learnerRereviewDetails.value.is_plagiarised && learnerRereviewDetails.value.plagiarism_reevaluation_requested) {\n modalVisible.value = true;\n modalMessage.value = 'Learner already requested for re-evaluation for plagiarism so cannot request for re-review now';\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await requestForRereview(learnerTaskId.value, false);\n learnerRereviewDetails.value.request_for_re_review = res.data?.request_for_re_review;\n learnerRereviewDetails.value.re_review_status = res.data?.re_review_status;\n renderReady.value = true;\n modalVisible.value = true;\n modalMessage.value = 'Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed.';\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = `There is an issue in requesting for review ${error}`;\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in requesting for review, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(error);\n }\n };\n const checkRereviewStatus = async () => {\n try {\n renderReady.value = false;\n const res = await fetchLearnerStatusForReview(learnerTaskId.value);\n learnerRereviewDetails.value = res.data;\n renderReady.value = true;\n console.log(`after check status ${JSON.stringify(learnerRereviewDetails)}`);\n if (learnerRereviewDetails.value.re_review_status === 'Re-review Accepted Proxy Assigned' || learnerRereviewDetails.value.re_review_status === 'Re-review Accepted Proxy Unavailable') {\n modalVisible.value = true;\n modalMessage.value = 'Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed.';\n } else if (learnerRereviewDetails.value.re_review_status === 'Complete') {\n modalVisible.value = true;\n modalMessage.value = 'Dear learner,<br>Your re-review has been completed. Please check your registered email for details.';\n }\n return;\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = `There is an issue in fetching learner re-review status ${error}`;\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching learner re-review status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n\n onBeforeMount(async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await fetchLearnerStatusForReview(learnerTaskId.value);\n learnerRereviewDetails.value = res.data;\n renderReady.value = true;\n console.log(`learnerRereviewDetails.value ${JSON.stringify(learnerRereviewDetails.value)}`);\n if (learnerRereviewDetails.value.is_plagiarised && learnerRereviewDetails.value.plagiarism_reevaluation_requested) {\n modalVisible.value = true;\n modalMessage.value = 'Learner already requested for re-evaluation for plagiarism so cannot request for re-review now';\n }\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = 'There is an issue to fetch existing record';\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch existing record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n return {\n modalVisible,\n modalMessage,\n buttonDisable,\n learnerRereviewDetails,\n setRereviewButtonEnable,\n requestForRereviewSubmit,\n checkRereviewStatus,\n renderReady,\n helpmateLink,\n showErrorMessage,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Rereview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Rereview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Rereview.vue?vue&type=template&id=263978ec&scoped=true&\"\nimport script from \"./Learner_Rereview.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Rereview.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"263978ec\",\n null\n \n)\n\nexport default component.exports"],"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","isVisible","on","$event","$emit","stopPropagation","closeVisible","_e","popUpImage1","popUpImage2","_v","message","reReviewButton","applyReview","reReviewButtonLink","archiveButton","staticStyle","linkButton","navigate","link","components","XIcon","Boolean","required","router","path","query","learner_task_id","window","location","href","program","proficiency","skill","username","item","split","reverse","join","renderReady","showErrorMessage","learnerRereviewDetails","modalVisible","modalMessage","_m","request_for_re_review","setRereviewButtonEnable","class","buttonDisable","requestForRereviewSubmit","checkRereviewStatus","errorResponse","fetchLearnerStatusForReview","reReviewStatusResponse","$http","learnerTaskId","requestForRereview","requestFromAdmin","res","Generic","ErrorMessage","Greetings","Object","e","cb","target","checked","console","log","is_plagiarised","plagiarism_reevaluation_requested","data","re_review_status","error","JSON","stringify","axios","err","response"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"solidify.umd.min.LearnerRereview.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,QAAS,KAGbC,MAAML,GACJ,MAAMP,GAAWa,EAAAA,EAAAA,KAAI,IACfX,GAAeW,EAAAA,EAAAA,KAAIC,aAAaC,QAAQ,iBAI9C,OAHAC,EAAAA,EAAAA,gBAAcC,UACZjB,EAASkB,MAAQX,EAAMC,YAAY,IAE9B,CAAER,WAAUE,eACrB,IClB4S,I,UCO1SiB,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,KACA,MAIF,EAAee,EAAiB,O,uDClBhC,IAAI5B,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAQF,EAAI4B,UAAW1B,EAAG,OAAO,CAACG,YAAY,oHAAoH,CAACH,EAAG,aAAa,CAACO,MAAM,CAAC,KAAO,eAAe,CAACP,EAAG,MAAM,CAACG,YAAY,gBAAgBwB,GAAG,CAAC,M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BACtC9B,EAAa3C,OAAQ,EACrB4C,EAAa5C,MAAQ,kF,CAGvB,MAAO0E,GAQP,GALAN,QAAQC,IAAI,sBACZD,QAAQC,IAAIM,KAAKC,UAAUF,IAC3BlC,EAAYxC,OAAQ,EAGhB6E,EAAAA,EAAAA,aAAmBH,GAAQ,CAC7B,MAAMI,EAAMJ,EACZN,QAAQC,IAAIS,EAAIC,UAAUP,MAC1BpB,EAAcpD,MAAQ8E,EAAIC,UAAUP,I,MAGpCpB,EAAcpD,MAAQ,mFAExByC,EAAiBzC,OAAQ,C,GAmC7B,OA/BAF,EAAAA,EAAAA,gBAAcC,UACZ,IACEyC,EAAYxC,OAAQ,EAEpB,MAAM2D,QAAiBN,EAA4BG,EAAcxD,OACjE0C,EAAuB1C,MAAQ2D,EAAIa,KACnChC,EAAYxC,OAAQ,EACpBoE,QAAQC,IAAI,gCAAgCM,KAAKC,UAAUlC,EAAuB1C,UAC9E0C,EAAuB1C,MAAMsE,gBAAkB5B,EAAuB1C,MAAMuE,oCAC9E5B,EAAa3C,OAAQ,EACrB4C,EAAa5C,MAAQ,iG,CAEvB,MAAO0E,GAQP,GALAN,QAAQC,IAAI,sBACZD,QAAQC,IAAIM,KAAKC,UAAUF,IAC3BlC,EAAYxC,OAAQ,EAGhB6E,EAAAA,EAAAA,aAAmBH,GAAQ,CAC7B,MAAMI,EAAMJ,EACZN,QAAQC,IAAIS,EAAIC,UAAUP,MAC1BpB,EAAcpD,MAAQ8E,EAAIC,UAAUP,I,MAGpCpB,EAAcpD,MAAQ,uEAExByC,EAAiBzC,OAAQ,C,KAGtB,CACL2C,eACAC,eACAK,gBACAP,yBACAK,0BACAG,2BACAC,sBACAX,cACAxD,eACAyD,mBAEJ,IC1JoS,I,UCOlSxC,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/GenericModal.vue","webpack://solidify/src/components/global/GenericModal.vue","webpack://solidify/./src/components/global/GenericModal.vue?8dbf","webpack://solidify/./src/components/global/GenericModal.vue?0027","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Rereview.vue","webpack://solidify/./src/utils/re_review_service.ts","webpack://solidify/./src/views/Learner_Rereview.vue?0630","webpack://solidify/./src/views/Learner_Rereview.vue?08a1","webpack://solidify/./src/views/Learner_Rereview.vue?2523"],"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/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/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/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;return (_vm.isVisible)?_c('main',{staticClass:\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\"},[_c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-overlay\",on:{\"click\":function($event){return _vm.$emit('close-modal')}}},[_c('div',{staticClass:\"modal relative\",on:{\"click\":function($event){$event.stopPropagation();}}},[(_vm.closeVisible)?_c('div',{staticClass:\"absolute right-0 pr-4 top-5 cursor-pointer\",on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_c('x-icon',{attrs:{\"size\":\"1.5x\"}})],1):_vm._e(),_c('div',{staticClass:\"bg-white\"},[_c('div',[(_vm.popUpImage1 || _vm.popUpImage2)?_c('div',{staticClass:\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\"},[_c('div',[_c('strong',[_vm._v(\"Do you want to mark the submission Plagiarised?\")])])]):_vm._e(),(_vm.popUpImage1)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-3/12\",attrs:{\"src\":require(\"@/assets/images/plag_warning1.gif\")}})]):_vm._e(),(_vm.popUpImage2)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-2/5\",attrs:{\"src\":require(\"@/assets/images/plag_warning2.gif\")}})]):_vm._e()]),_c('div',{staticClass:\"text-gray-500 px-4\",domProps:{\"innerHTML\":_vm._s(_vm.message)}}),_c('div',{staticClass:\"pb-4 pt-4 bg-white flex flex-col items-center\"},[(_vm.reReviewButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview(_vm.reReviewButtonLink)}}},[_vm._v(\" Apply Re-Review \")]):_vm._e(),(_vm.archiveButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",on:{\"click\":function($event){return _vm.$emit('Archive')}}},[_vm._v(\"Yes\")]):_vm._e(),(_vm.closeVisible)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",staticStyle:{\"background-color\":\"grey\"},on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_vm._v(\" Restart Solidify \")]):_vm._e(),(_vm.linkButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.navigate(_vm.link)}}},[_vm._v(_vm._s(_vm.linkButton))]):_vm._e()])])])])])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <main v-if=\"isVisible\" class=\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\">\n <transition name=\"modal-fade\">\n <div class=\"modal-overlay\" @click=\"$emit('close-modal')\">\n <div class=\"modal relative\" @click.stop>\n <!-- <h6>Saved!</h6> -->\n <div @click=\"$emit('closeModal')\" class=\"absolute right-0 pr-4 top-5 cursor-pointer\" v-if=\"closeVisible\">\n <x-icon size=\"1.5x\"></x-icon>\n </div>\n <div class=\"bg-white\">\n <!-- adding gif in Plagiarism warning from Peer Review page-->\n\n <div>\n <div v-if=\"popUpImage1 || popUpImage2\" class=\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\">\n <div><strong>Do you want to mark the submission Plagiarised?</strong></div>\n </div>\n <div v-if=\"popUpImage1\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning1.gif\" class=\"block px-4 pb-2 mx-auto w-3/12\" />\n </div>\n <div v-if=\"popUpImage2\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning2.gif\" class=\"block px-4 pb-2 mx-auto w-2/5\" />\n </div>\n </div>\n\n <div class=\"text-gray-500 px-4\" v-html=\"message\"></div>\n <div class=\"pb-4 pt-4 bg-white flex flex-col items-center\">\n <button @click=\"applyReview(reReviewButtonLink)\" v-if=\"reReviewButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">\n Apply Re-Review\n </button>\n\n <button @click=\"$emit('Archive')\" v-if=\"archiveButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\">Yes</button>\n <button\n @click=\"$emit('closeModal')\"\n v-if=\"closeVisible\"\n style=\"background-color: grey\"\n class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\"\n >\n Restart Solidify\n </button>\n <button @click=\"navigate(link)\" v-if=\"linkButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">{{ linkButton }}</button>\n <!-- <button class=\"py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">Helpmate</button> -->\n </div>\n </div>\n </div>\n </div>\n </transition>\n </main>\n</template>\n\n<script>\nimport { XIcon } from 'vue-feather-icons';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default {\n components: { XIcon },\n name: 'Generic',\n props: {\n isVisible: {\n type: Boolean,\n default: false,\n required: true,\n },\n message: {\n type: String,\n default: '',\n required: true,\n },\n closeVisible: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n archiveButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButtonLink: {\n type: String,\n default: '',\n required: false,\n },\n link: {\n type: String,\n default: '',\n required: false,\n },\n linkButton: {\n type: String,\n default: '',\n required: false,\n },\n popUpImage1: {\n type: Boolean,\n default: false,\n required: false,\n },\n popUpImage2: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n setup() {\n const applyReview = async (reReviewButtonLink) => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: reReviewButtonLink } });\n };\n const navigate = (link) => {\n window.location.href = link;\n };\n return { applyReview, navigate };\n },\n};\n</script>\n\n<style lang=\"postcss\">\n.modal-overlay {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n justify-content: center;\n background-color: #000000da;\n}\n.modal {\n text-align: center;\n background-color: white;\n height: 200px;\n width: 600px;\n margin-top: 10%;\n padding: 40px 0;\n /* border-radius: 20px; */\n}\np {\n /* font-weight: 500; */\n font-size: 16px;\n margin: 20px 0;\n}\n/* button {\n background-color: #ac003e;\n width: 150px;\n height: 40px;\n color: white;\n font-size: 14px;\n border-radius: 16px;\n margin-top: 50px;\n} */\n.modal-fade-enter,\n.modal-fade-leave-to {\n opacity: 0;\n}\n.modal-fade-enter-active,\n.modal-fade-leave-active {\n transition: opacity 0.5s ease;\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericModal.vue?vue&type=template&id=3e9f0c82&\"\nimport script from \"./GenericModal.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericModal.vue?vue&type=style&index=0&id=3e9f0c82&prod&lang=postcss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"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/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/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/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)?[(_vm.learnerRereviewDetails)?_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.learnerRereviewDetails.program,\"proficiency\":_vm.learnerRereviewDetails.proficiency,\"skill\":_vm.learnerRereviewDetails.skill}}),_c('Generic',{attrs:{\"is-visible\":_vm.modalVisible,\"message\":_vm.modalMessage}}),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3\"},[_c('div',{staticClass:\"block mt-4\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('div',{staticClass:\"p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_vm._m(0),(!_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"pt-4\"},[_vm._v(\"Requesting a re-review doesn't guarantee that your submission will pass. You'll receive an email once the review is complete (allow up to 2 weeks).\")]),_vm._m(1),_c('p',{staticClass:\"pt-6\"},[_c('label',[_c('input',{attrs:{\"type\":\"checkbox\"},on:{\"change\":function($event){return _vm.setRereviewButtonEnable($event)}}}),_vm._v(\" By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.\")])]),_vm._m(2)]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"pt-4\"},[_vm._v(\"Your request for re-review has been accepted and is currently in progress.\")]),_vm._m(3)]):_vm._e()])])]),_c('div',{staticClass:\"block text-center pt-6\"},[_c('div',{staticClass:\"mb-4 text-center\"},[(!_vm.learnerRereviewDetails.request_for_re_review)?_c('button',{staticClass:\"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":_vm.requestForRereviewSubmit}},[_vm._v(\" Re-review \")]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('button',{staticClass:\"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":_vm.checkRereviewStatus}},[_vm._v(\" Check Status \")]):_vm._e()])])])],1)]):_vm._e()]:_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('div',[_c('strong',[_vm._v(\"Re-Review Request\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"pt-4\"},[_c('p',[_c('strong',[_vm._v(\"Key Limitations: \")])]),_c('ul',{staticClass:\"mt-2 list-disc pl-8\"},[_c('li',[_vm._v(\"Each submission is eligible for only one re-review.\")]),_c('li',[_vm._v(\"You cannot start a new Solidify journey for the same skill while your re-review is pending.\")]),_c('li',[_vm._v(\"If our reviewers determine the original assessment was correct, your results will remain unchanged.\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"mt-2\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"\\\"Re-review\\\"\")]),_vm._v(\" to continue.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click \"),_c('strong',[_vm._v(\"'Check Status'\")]),_vm._v(\" to track the status of the re-review.\")])\n}]\n\nexport { render, staticRenderFns }","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport $http from '../plugins/axios';\n\nconst fetchLearnerStatusForReview = async (learnerTaskId: string) => {\n // let reReviewStatusResponse: any;\n // try {\n // await $http.get(`/learnerRereviewStatus/${learnerTaskId}`).then((response) => {\n // reReviewStatusResponse = response.data;\n // return reReviewStatusResponse;\n // });\n // return reReviewStatusResponse;\n // } catch (error) {\n // return error;\n // }\n const reReviewStatusResponse = await $http.get(`/learnerRereviewStatus/${learnerTaskId}`);\n return reReviewStatusResponse;\n};\n\nconst requestForRereview = async (learnerTaskId: string, requestFromAdmin: boolean) => {\n // try {\n // let res: any;\n // await $http.post('/learnerRereview/', { learner_task_id: learnerTaskId, requestFromAdmin }).then((response) => {\n // res = response.data;\n // return res;\n // });\n // return res;\n // } catch (error) {\n // return error;\n // }\n const res = await $http.post('/learnerRereview', { learner_task_id: learnerTaskId, requestFromAdmin });\n return res;\n};\nexport { fetchLearnerStatusForReview, requestForRereview };\n","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n// import router from '@/router';\nimport Generic from '@/components/global/GenericModal.vue';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\nimport { fetchLearnerStatusForReview, requestForRereview } from '../utils/re_review_service';\n\nexport default defineComponent({\n name: 'LearnerRereview',\n components: { Generic, ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const learnerTaskId = ref(props.query.learner_task_id);\n const learnerRereviewDetails = ref();\n const modalVisible = ref(false);\n const modalMessage = ref();\n const buttonDisable = ref(true);\n const renderReady = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setRereviewButtonEnable = (e: any) => {\n const cb = e.target.checked;\n if (cb === true) {\n buttonDisable.value = false;\n console.log(buttonDisable.value);\n } else {\n buttonDisable.value = true;\n console.log(buttonDisable.value);\n }\n };\n\n const requestForRereviewSubmit = async () => {\n try {\n renderReady.value = false;\n if (learnerRereviewDetails.value.is_plagiarised && learnerRereviewDetails.value.plagiarism_reevaluation_requested) {\n modalVisible.value = true;\n modalMessage.value = 'Learner already requested for re-evaluation for plagiarism so cannot request for re-review now';\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await requestForRereview(learnerTaskId.value, false);\n learnerRereviewDetails.value.request_for_re_review = res.data?.request_for_re_review;\n learnerRereviewDetails.value.re_review_status = res.data?.re_review_status;\n renderReady.value = true;\n modalVisible.value = true;\n modalMessage.value = '<strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete.';\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = `There is an issue in requesting for review ${error}`;\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in requesting for review, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(error);\n }\n };\n const checkRereviewStatus = async () => {\n try {\n renderReady.value = false;\n const res = await fetchLearnerStatusForReview(learnerTaskId.value);\n learnerRereviewDetails.value = res.data;\n renderReady.value = true;\n console.log(`after check status ${JSON.stringify(learnerRereviewDetails)}`);\n if (learnerRereviewDetails.value.re_review_status === 'Re-review Accepted Proxy Assigned' || learnerRereviewDetails.value.re_review_status === 'Re-review Accepted Proxy Unavailable') {\n modalVisible.value = true;\n modalMessage.value = '<br><strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete.';\n } else if (learnerRereviewDetails.value.re_review_status === 'Complete') {\n modalVisible.value = true;\n modalMessage.value = '<br><br>Great news! Your re-review is complete — check your email for details.';\n }\n return;\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = `There is an issue in fetching learner re-review status ${error}`;\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching learner re-review status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n\n onBeforeMount(async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await fetchLearnerStatusForReview(learnerTaskId.value);\n learnerRereviewDetails.value = res.data;\n renderReady.value = true;\n console.log(`learnerRereviewDetails.value ${JSON.stringify(learnerRereviewDetails.value)}`);\n if (learnerRereviewDetails.value.is_plagiarised && learnerRereviewDetails.value.plagiarism_reevaluation_requested) {\n modalVisible.value = true;\n modalMessage.value = 'Learner already requested for re-evaluation for plagiarism so cannot request for re-review now';\n }\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = 'There is an issue to fetch existing record';\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch existing record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n return {\n modalVisible,\n modalMessage,\n buttonDisable,\n learnerRereviewDetails,\n setRereviewButtonEnable,\n requestForRereviewSubmit,\n checkRereviewStatus,\n renderReady,\n helpmateLink,\n showErrorMessage,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Rereview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Rereview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Rereview.vue?vue&type=template&id=70520834&scoped=true&\"\nimport script from \"./Learner_Rereview.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Rereview.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"70520834\",\n null\n \n)\n\nexport default component.exports"],"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","isVisible","on","$event","$emit","stopPropagation","closeVisible","_e","popUpImage1","popUpImage2","_v","message","reReviewButton","applyReview","reReviewButtonLink","archiveButton","staticStyle","linkButton","navigate","link","components","XIcon","Boolean","required","router","path","query","learner_task_id","window","location","href","program","proficiency","skill","username","item","split","reverse","join","renderReady","showErrorMessage","learnerRereviewDetails","modalVisible","modalMessage","_m","request_for_re_review","setRereviewButtonEnable","class","buttonDisable","requestForRereviewSubmit","checkRereviewStatus","errorResponse","fetchLearnerStatusForReview","reReviewStatusResponse","$http","learnerTaskId","requestForRereview","requestFromAdmin","res","Generic","ErrorMessage","Greetings","Object","e","cb","target","checked","console","log","is_plagiarised","plagiarism_reevaluation_requested","data","re_review_status","error","JSON","stringify","axios","err","response"],"sourceRoot":""}
|