@genpact/genome.mfe.solidify-app 1.52.0 → 3.0.0-alpha.1
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/LearnerRereview.css +1 -1
- package/dist/css/SolidifyAdministrationTaskManagement.css +1 -1
- package/dist/css/SolidifyLearner.css +1 -1
- package/dist/css/SolidifyLearnerPeerReview.css +1 -1
- package/dist/css/SolidifyLearnerProxyReview.css +1 -1
- package/dist/css/SolidifyLearnerSubmitTask.css +1 -1
- package/dist/img/plag_warning1.gif +0 -0
- package/dist/img/plag_warning2.gif +0 -0
- package/dist/solidify.css +1 -1
- package/dist/{solidify.umd.min.203.js → solidify.umd.min.341.js} +2 -2
- package/dist/{solidify.umd.min.203.js.map → solidify.umd.min.341.js.map} +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.SolidifyAbout.js +1 -1
- package/dist/solidify.umd.min.SolidifyAbout.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationAssignRoleToUser.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationAssignRoleToUser.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationLearnerEvents.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationLearnerEvents.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationManageProxy.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationMasterAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramDetails.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramDetails.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskDetails.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskDetails.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.SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewEmailQueue.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewRereviewRequests.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationharvestReport.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationsendEmailToUser.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationsendEmailToUser.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.SolidifyLearnerError.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerError.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerGating.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerGating.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerStatus.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerStatus.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.SystemUnderMaintenance.js +1 -1
- package/dist/solidify.umd.min.SystemUnderMaintenance.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
- /package/dist/css/{203.css → 341.css} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[901],{8200: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(3736),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},3948: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",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Cancel ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Confirm")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},a=[],i=(r(7658),r(4856)),o=r(1548),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}},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(3736),c=(0,u.Z)(l,s,a,!1,null,null,null),d=c.exports},8047: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(3736),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},5965: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:"",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"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",[e._v("Genome offers you a re-review option of your "+e._s(e.learnerRereviewDetails.proficiency)+" "+e._s(e.learnerRereviewDetails.skill)+" Solidify task.")]),t("p",{staticClass:"mt-2"},[e._v("Requesting a re-review does not guarantee that your task submission will pass. It means that your task submission will be reviewed thoroughly once again.")]),e._m(0),t("p",{staticClass:"mt-2"},[e._v(" Please note re-review requests are processed only once. While your request is ongoing, you will not be able to start Solidify on the same skill and proficiency. Upon re-review, if the reviewer finds the original review to be accurate, no changes will be made to your Solidify results. ")]),e._m(1),t("div",{staticClass:"mt-3"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v(" I confirm that i have read and will abide by the Plagiarism statement.")])]),e._m(2)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"mt-2"},[e._v("Your request for re-review has been accepted and is under progress.")]),e._m(3)]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[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("p",{staticClass:"mt-3"},[e._v("Please submit your task by uploading it via the "),t("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, "),t("strong",[e._v("Submit ")]),e._v("to proceed to peer reviews.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v(" You will receive an email once the re-reviews have been completed telling you if your submission passed, or if you will need to redo Solidify. This can take up to "),t("strong",[e._v("two weeks")]),e._v(" from submitting the request. ")])},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:"mt-2"},[e._v("Click on "),t("strong",[e._v("Check Status")]),e._v(" determine the re-review status.")])}],i=r(7203),o=r(3948),n=r(306),l=r(8200),u=r(8047),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 f=(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),f=(0,i.ref)(localStorage.getItem("helpmateLink")),p=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="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 request for re-review has been completed and an email is already sent to your registered email address."))}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:p,requestForRereviewSubmit:g,checkRereviewStatus:m,renderReady:l,helpmateLink:f}}}),p=f,g=r(3736),m=(0,g.Z)(p,s,a,!1,null,"7f33845c",null),y=m.exports},6540:function(e){e.exports="data:image/png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2RxzZJn5wVY1tou0xT1MPLFpAuZiG5BsvQIgG40KigGeLtHYHUkgWUowAppLXjz0BeQZYPw2ZKbh/HUdkspq46Cg8b1bR3Ge8a22aeE6EJRF7TU1Ucjz+buG4JBdSM/CAmK3rmOkQx1X1daJUiURWGUvdQFsF/httmOWcTII6ncj4NBJrjTsTI900VGTgdymO8PgkQpPzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/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},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(2339),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},3814: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:"",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"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",[e._v("Genome offers you a re-review option of your "+e._s(e.learnerRereviewDetails.proficiency)+" "+e._s(e.learnerRereviewDetails.skill)+" Solidify task.")]),t("p",{staticClass:"mt-2"},[e._v("Requesting a re-review does not guarantee that your task submission will pass. It means that your task submission will be reviewed thoroughly once again.")]),e._m(0),t("p",{staticClass:"mt-2"},[e._v(" Please note re-review requests are processed only once. While your request is ongoing, you will not be able to start Solidify on the same skill and proficiency. Upon re-review, if the reviewer finds the original review to be accurate, no changes will be made to your Solidify results. ")]),e._m(1),t("div",{staticClass:"mt-3"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v(" I confirm that i have read and will abide by the Plagiarism statement.")])]),e._m(2)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"mt-2"},[e._v("Your request for re-review has been accepted and is under progress.")]),e._m(3)]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[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("p",{staticClass:"mt-3"},[e._v("Please submit your task by uploading it via the "),t("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, "),t("strong",[e._v("Submit ")]),e._v("to proceed to peer reviews.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v(" You will receive an email once the re-reviews have been completed telling you if your submission passed, or if you will need to redo Solidify. This can take up to "),t("strong",[e._v("two weeks")]),e._v(" from submitting the request. ")])},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:"mt-2"},[e._v("Click on "),t("strong",[e._v("Check Status")]),e._v(" determine the re-review status.")])}],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},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="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 request for re-review has been completed and an email is already sent to your registered email address."))}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}}}),f=p,g=r(1001),m=(0,g.Z)(f,s,a,!1,null,"7f33845c",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+fb8toCqy3BMxZsYYf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5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.LearnerRereview.js.map
|
|
@@ -1 +1 @@
|
|
|
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,UACZj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vB,MAAOwE,GAQP,GALAN,QAAQC,IAAI,sBACZD,QAAQC,IAAIM,KAAKC,UAAUF,IAC3BlC,EAAYtC,OAAQ,EAGhB2E,EAAAA,EAAAA,aAAmBH,GAAQ,CAC7B,MAAMI,EAAMJ,EACZN,QAAQC,IAAIS,EAAIC,UAAUP,MAC1BpB,EAAclD,MAAQ4E,EAAIC,UAAUP,I,MAGpCpB,EAAclD,MAAQ,mFAExBuC,EAAiBvC,OAAQ,C,GAmC7B,OA/BAF,EAAAA,EAAAA,gBAAcC,UACZ,IACEuC,EAAYtC,OAAQ,EAEpB,MAAMyD,QAAiBN,EAA4BG,EAActD,OACjEwC,EAAuBxC,MAAQyD,EAAIa,KACnChC,EAAYtC,OAAQ,EACpBkE,QAAQC,IAAI,gCAAgCM,KAAKC,UAAUlC,EAAuBxC,UAC9EwC,EAAuBxC,MAAMoE,gBAAkB5B,EAAuBxC,MAAMqE,oCAC9E5B,EAAazC,OAAQ,EACrB0C,EAAa1C,MAAQ,iG,CAEvB,MAAOwE,GAQP,GALAN,QAAQC,IAAI,sBACZD,QAAQC,IAAIM,KAAKC,UAAUF,IAC3BlC,EAAYtC,OAAQ,EAGhB2E,EAAAA,EAAAA,aAAmBH,GAAQ,CAC7B,MAAMI,EAAMJ,EACZN,QAAQC,IAAIS,EAAIC,UAAUP,MAC1BpB,EAAclD,MAAQ4E,EAAIC,UAAUP,I,MAGpCpB,EAAclD,MAAQ,uEAExBuC,EAAiBvC,OAAQ,C,KAGtB,CACLyC,eACAC,eACAK,gBACAP,yBACAK,0BACAG,2BACAC,sBACAX,cACAtD,eAEJ,ICzJkU,I,UCOhUiB,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?f0c8","webpack://solidify/./src/components/global/ErrorMessage.vue?6244","webpack://solidify/./src/components/global/ErrorMessage.vue?c365","webpack://solidify/./src/components/global/GenericModal.vue","webpack://solidify/src/components/global/GenericModal.vue","webpack://solidify/./src/components/global/GenericModal.vue?463c","webpack://solidify/./src/components/global/GenericModal.vue?ac66","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?04dd","webpack://solidify/./src/components/global/Greetings.vue?1901","webpack://solidify/./src/components/global/Greetings.vue?4b89","webpack://solidify/./src/views/Learner_Rereview.vue","webpack://solidify/./src/utils/re_review_service.ts","webpack://solidify/./src/views/Learner_Rereview.vue?315c","webpack://solidify/./src/views/Learner_Rereview.vue?154f","webpack://solidify/./src/views/Learner_Rereview.vue?04c9"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=36ac7944&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;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',{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.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 mr-2\",staticStyle:{\"background-color\":\"grey\"},on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_vm._v(\" Cancel \")]):_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\",on:{\"click\":function($event){return _vm.$emit('Archive')}}},[_vm._v(\"Confirm\")]):_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 <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 <button\n @click=\"$emit('closeModal')\"\n v-if=\"closeVisible\"\n style=\"background-color: grey\"\n 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\"\n >\n Cancel\n </button>\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\">Confirm</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 },\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: 500px;\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/cli-service/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/cli-service/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=42422dba&\"\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=42422dba&prod&lang=postcss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full\"},[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill)+\" \")]),_c('div',{staticClass:\"my-2 md:order-2 order-1 w-full\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=40792f87&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[(_vm.learnerRereviewDetails)?_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"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\"},[(!_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',[_vm._v(\"Genome offers you a re-review option of your \"+_vm._s(_vm.learnerRereviewDetails.proficiency)+\" \"+_vm._s(_vm.learnerRereviewDetails.skill)+\" Solidify task.\")]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\"Requesting a re-review does not guarantee that your task submission will pass. It means that your task submission will be reviewed thoroughly once again.\")]),_vm._m(0),_c('p',{staticClass:\"mt-2\"},[_vm._v(\" Please note re-review requests are processed only once. While your request is ongoing, you will not be able to start Solidify on the same skill and proficiency. Upon re-review, if the reviewer finds the original review to be accurate, no changes will be made to your Solidify results. \")]),_vm._m(1),_c('div',{staticClass:\"mt-3\"},[_c('label',[_c('input',{attrs:{\"type\":\"checkbox\"},on:{\"change\":function($event){return _vm.setRereviewButtonEnable($event)}}}),_vm._v(\" I confirm that i have read and will abide by the Plagiarism statement.\")])]),_vm._m(2)]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"mt-2\"},[_vm._v(\"Your request for re-review has been accepted and is under progress.\")]),_vm._m(3)]):_vm._e()])]),_c('div',{staticClass:\"block text-center pt-12\"},[_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('p',{staticClass:\"mt-3\"},[_vm._v(\"Please submit your task by uploading it via the \"),_c('strong',[_vm._v(\"Choose File\")]),_vm._v(\" button. Once the task has been uploaded, \"),_c('strong',[_vm._v(\"Submit \")]),_vm._v(\"to proceed to peer reviews.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"mt-2\"},[_vm._v(\" You will receive an email once the re-reviews have been completed telling you if your submission passed, or if you will need to redo Solidify. This can take up to \"),_c('strong',[_vm._v(\"two weeks\")]),_vm._v(\" from submitting the request. \")])\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:\"mt-2\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"Check Status\")]),_vm._v(\" determine the re-review status.\")])\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 request for re-review has been completed and an email is already sent to your registered email address.';\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 };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_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/cli-service/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=7f33845c&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/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f33845c\",\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","message","reReviewButton","applyReview","reReviewButtonLink","_v","staticStyle","archiveButton","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","request_for_re_review","_m","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,E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ALAN,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,eAEJ,ICzJoS,I,UCOlSiB,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\":'',\"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\"},[(!_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',[_vm._v(\"Genome offers you a re-review option of your \"+_vm._s(_vm.learnerRereviewDetails.proficiency)+\" \"+_vm._s(_vm.learnerRereviewDetails.skill)+\" Solidify task.\")]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\"Requesting a re-review does not guarantee that your task submission will pass. It means that your task submission will be reviewed thoroughly once again.\")]),_vm._m(0),_c('p',{staticClass:\"mt-2\"},[_vm._v(\" Please note re-review requests are processed only once. While your request is ongoing, you will not be able to start Solidify on the same skill and proficiency. Upon re-review, if the reviewer finds the original review to be accurate, no changes will be made to your Solidify results. \")]),_vm._m(1),_c('div',{staticClass:\"mt-3\"},[_c('label',[_c('input',{attrs:{\"type\":\"checkbox\"},on:{\"change\":function($event){return _vm.setRereviewButtonEnable($event)}}}),_vm._v(\" I confirm that i have read and will abide by the Plagiarism statement.\")])]),_vm._m(2)]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"mt-2\"},[_vm._v(\"Your request for re-review has been accepted and is under progress.\")]),_vm._m(3)]):_vm._e()])]),_c('div',{staticClass:\"block text-center pt-12\"},[_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('p',{staticClass:\"mt-3\"},[_vm._v(\"Please submit your task by uploading it via the \"),_c('strong',[_vm._v(\"Choose File\")]),_vm._v(\" button. Once the task has been uploaded, \"),_c('strong',[_vm._v(\"Submit \")]),_vm._v(\"to proceed to peer reviews.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"mt-2\"},[_vm._v(\" You will receive an email once the re-reviews have been completed telling you if your submission passed, or if you will need to redo Solidify. This can take up to \"),_c('strong',[_vm._v(\"two weeks\")]),_vm._v(\" from submitting the request. \")])\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:\"mt-2\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"Check Status\")]),_vm._v(\" determine the re-review status.\")])\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 request for re-review has been completed and an email is already sent to your registered email address.';\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 };\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=7f33845c&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 \"7f33845c\",\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","request_for_re_review","_m","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,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[300],{8053:function(e,t,a){a.r(t),a.d(t,{default:function(){return h}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"about"},[t("h1",[e._v("This is an about page")]),t("router-link",{staticClass:"flex flex-col items-center px-3",attrs:{to:{name:"SolidifyHome"}}},[e._v(" Home ")]),t("ExecutionTable",{attrs:{rows:e.rows,columns:e.columns,"multi-select-enabled":!1}})],1)},l=[],o=a(7203),r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("main",[t("div",{staticClass:"p-2 mt-5 bg-white rounded-lg shadow-md"},[t("section",{staticClass:"flex items-center justify-between p-2 border border-gray-400"},[t("div",{staticClass:"filter-grid flex-none flex"},[t("button",{staticClass:"button focus:outline-none hover:text-gray-700 px-3 font-medium leading-6 text-gray-600 cursor-pointer"},[t("RefreshCcwIcon",{staticClass:"mr-2",attrs:{size:"1x"}})],1),t("div",{staticClass:"relative"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchInput,expression:"searchInput"}],staticClass:"h-10 w-72 pl-2 pr-20 border border-gray-400 z-0 focus:shadow focus:outline-none",attrs:{type:"text",name:"inputsearch"},domProps:{value:e.searchInput},on:{keydown:e.showHideCancel,input:function(t){t.target.composing||(e.searchInput=t.target.value)}}}),t("div",{staticClass:"search-action absolute top-2 right-2"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.isShowCancel,expression:"isShowCancel"}],staticClass:"text-gray-500 py-1",on:{click:e.clearInput}},[t("x-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1),t("button",{staticClass:"text-gray-500 py-1",on:{click:e.searchInput}},[t("search-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)])]),t("button",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeModal,expression:"closeModal"}],staticClass:"text-gray-500 py-1 ml-1",on:{click:e.showModal}},[t("filter-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)]),t("div",{staticClass:"flex-1 text-right text-blue-900"},[e._v(e._s(e.selectedRows.length)+" of "+e._s(e.tableRows.length)+" selected")])]),t("section",[t("div",{attrs:{id:"sixthTable"}},[t("table",{staticClass:"w-full"},[t("thead",[t("tr",{staticClass:"border border-t-0 border-gray-400"},[t("th",[e.multiSelectEnabled?t("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllSelected,expression:"isAllSelected"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isAllSelected)?e._i(e.isAllSelected,null)>-1:e.isAllSelected},on:{click:function(t){return e.selectAll()},change:function(t){var a=e.isAllSelected,s=t.target,l=!!s.checked;if(Array.isArray(a)){var o=null,r=e._i(a,o);s.checked?r<0&&(e.isAllSelected=a.concat([o])):r>-1&&(e.isAllSelected=a.slice(0,r).concat(a.slice(r+1)))}else e.isAllSelected=l}}}):e._e()]),e._l(e.columns,(function(a){return t("th",{key:a.field,staticClass:"text-left cursor-pointer bg-white text-gray-400 p-2 min-w-40%",on:{click:function(t){return e.sortTable(a.field)}}},[a.visible?t("span",[e._v(e._s(a.text))]):e._e(),a.field==e.sortColumn?t("div",{staticClass:"arrow"},[t("chevron-down-icon",{directives:[{name:"show",rawName:"v-show",value:e.ascending,expression:"ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}}),t("chevron-up-icon",{directives:[{name:"show",rawName:"v-show",value:!e.ascending,expression:"!ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}})],1):e._e()])}))],2)]),t("tbody",e._l(e.getRows(),(function(a){return t("tr",{key:a.id,staticClass:"border border-t-0 border-gray-400"},[t("td",{staticClass:"text-center p-2 last:pb-10 last:border-r-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedRows,expression:"selectedRows"}],attrs:{type:"checkbox"},domProps:{value:a.id,checked:Array.isArray(e.selectedRows)?e._i(e.selectedRows,a.id)>-1:e.selectedRows},on:{change:[function(t){var s=e.selectedRows,l=t.target,o=!!l.checked;if(Array.isArray(s)){var r=a.id,n=e._i(s,r);l.checked?n<0&&(e.selectedRows=s.concat([r])):n>-1&&(e.selectedRows=s.slice(0,n).concat(s.slice(n+1)))}else e.selectedRows=o},function(t){return e.updateSelectAll(a.id)}]}})]),e._l(e.columns,(function(s){return t("td",{key:s.field,staticClass:"text-left p-2 last:pb-10 last:border-r-0 text-blue-900"},[s.visible?t("span",[e._v(e._s(a[s.field]))]):e._e()])}))],2)})),0)]),t("div",{staticClass:"w-full text-right p-2"},[t("div",[t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedElementPerPage,expression:"selectedElementPerPage"}],staticClass:"border border-2 border-gray-400 mb-1.5 text-gray-600",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedElementPerPage=t.target.multiple?a:a[0]},function(t){return e.onChangeElementPerPage()}]}},e._l(e.elementPerPage,(function(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])})),0)]),e._l(e.numPages(),(function(a){return t("div",{key:a,staticClass:"number",class:[a==e.currentPage?"active":""],on:{click:function(t){return e.changePage(a)}}},[e._v(e._s(a))])}))],2)])])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isModalVisible,expression:"isModalVisible"}],staticClass:"modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit z-40"},[t("div",{staticClass:"w-full max-w-md bg-white shadow-lg rounded-lg border border-gray-400"},[t("header",{staticClass:"modal-header bg-gray-200 text-gray-400 p-2 overflow-hidden"},[t("button",{on:{click:function(t){return e.FilterGrid()}}},[e._v("Apply Now")]),t("button",{staticClass:"btn-close float-right",attrs:{type:"button"},on:{click:e.closeModal}},[e._v("Close")])]),t("section",{staticClass:"modal-filter-body max-h-screen overflow-y-auto"},e._l(e.columns,(function(a){return t("div",{key:a.field},[t("div",{staticClass:"border border-gray-100 px-2 pb-2 mb2",on:{click:function(e){if(e.target!==e.currentTarget)return null;a.showToggle=!a.showToggle}}},[e._v(" "+e._s(a.text)+" "),t("div",{directives:[{name:"show",rawName:"v-show",value:a.showToggle,expression:"col.showToggle"}],staticClass:"filter-data"},["string"==a.datatype?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:a.value,expression:"col.value"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:a.value},on:{input:function(t){t.target.composing||e.$set(a,"value",t.target.value)}}})]):e._e(),"number"==a.datatype?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:a.value,expression:"col.value"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number"},domProps:{value:a.value},on:{input:function(t){t.target.composing||e.$set(a,"value",t.target.value)}}})]):e._e(),"date"==a.datatype?t("div",{staticClass:"xl:flex lg:flex md:flex block"},[t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[t("label",[e._v("From ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.value.from,expression:"col.value.from"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date",id:"start-"+a.text,name:"start-"+a.text},domProps:{value:a.value.from},on:{input:function(t){t.target.composing||e.$set(a.value,"from",t.target.value)}}})]),t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[t("label",[e._v("To ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.value.to,expression:"col.value.to"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date",id:"end-"+a.text,name:"end-"+a.text},domProps:{value:a.value.to},on:{input:function(t){t.target.composing||e.$set(a.value,"to",t.target.value)}}})])]):e._e(),"datetime-local"==a.datatype?t("div",{staticClass:"xl:flex lg:flex md:flex block"},[t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[t("label",[e._v("From ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.value.from,expression:"col.value.from"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"datetime-local",id:"start-"+a.text,name:"start-"+a.text},domProps:{value:a.value.from},on:{input:function(t){t.target.composing||e.$set(a.value,"from",t.target.value)}}})]),t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[t("label",[e._v("To ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.value.to,expression:"col.value.to"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"datetime-local",id:"end-"+a.text,name:"end-"+a.text},domProps:{value:a.value.to},on:{input:function(t){t.target.composing||e.$set(a.value,"to",t.target.value)}}})])]):e._e()])])])})),0)])])])},n=[],i=(a(7658),a(4856)),c=(0,o.defineComponent)({name:"ExecutionTable",props:{rows:{type:Array,required:!0},columns:{type:Array,required:!0},multiSelectEnabled:{type:Boolean,default:!1}},components:{RefreshCcwIcon:i.Qn4,SearchIcon:i.W1M,XIcon:i.b0D,ChevronDownIcon:i.v4q,ChevronUpIcon:i.g8U,FilterIcon:i.k1n},setup(e){const t=(0,o.ref)(""),a=(0,o.ref)(!1),s=(0,o.ref)(1),l=(0,o.ref)([5,10,15,20]),r=(0,o.ref)(l.value[0]),n=(0,o.ref)(!1),i=(0,o.ref)(""),c=(0,o.ref)([]),d=(0,o.ref)(!1),u=(0,o.ref)(!1),p=(0,o.ref)(!1),v=(0,o.reactive)({}),f=[];watch((()=>e.rows),(()=>{f=e.rows})),(0,o.onMounted)((async()=>{e.columns.forEach((e=>{"date"===e.datatype||"datetime-local"===e.datatype?v[e.field]={from:"",to:""}:v[e.field]=""}))}));const g=()=>{0===t.value.length?a.value=!1:a.value=!0},m=e=>{i.value===e?n.value=!n.value:(n.value=!0,i.value=e);const t=n.value;f.sort(((a,s)=>a[e]>s[e]?t?1:-1:a[e]<s[e]?t?-1:1:0))},h=()=>{const e=Math.ceil(f.length/r.value);return e},b=()=>{const e=(s.value-1)*r.value,t=e+r.value;return f.slice(e,t)},w=()=>{d.value=!d.value,c.value=[],d.value&&(c.value=b().map((e=>e.id)))},y=t=>{console.log("updateSelectAll Called",t),e.multiSelectEnabled?b().length===c.value.length?d.value=!0:d.value=!1:(c.value=[],c.value.push(t))},x=e=>{s.value=e,y()},C=()=>{u.value=!1},_=()=>{u.value=!0},k=()=>{e.columns.forEach((e=>{"date"===e.datatype||"datetime-local"===e.datatype?v[e.field]={from:e.value.from,to:e.value.to}:v[e.field]=e.value}))},P=()=>{y(null)},A=()=>{t.value="",a.value=!1};return{searchInput:t,isShowCancel:a,showHideCancel:g,currentPage:s,elementPerPage:l,selectedElementPerPage:r,ascending:n,sortColumn:i,sortTable:m,numPages:h,getRows:b,changePage:x,selectedRows:c,selectAll:w,updateSelectAll:y,isAllSelected:d,isModalVisible:u,closeModal:C,showModal:_,showTick:p,filterData:v,FilterGrid:k,onChangeElementPerPage:P,clearInput:A,tableRows:f}}}),d=c,u=a(3736),p=(0,u.Z)(d,r,n,!1,null,"ce4af6d8",null),v=p.exports,f=(0,o.defineComponent)({name:"About",components:{ExecutionTable:v},setup(){const e=(0,o.ref)([{id:1,name:"Chandler Bing",phone:"305-917-1301",profession:"IT Manager",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:2,name:"Ross Geller",phone:"210-684-8953",profession:"Paleontologist",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:3,name:"Rachel Green",phone:"765-338-0312",profession:"Waitress",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:4,name:"Monica Geller",phone:"714-541-3336",profession:"Head Chef",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:5,name:"Joey Tribbiani",phone:"972-297-6037",profession:"Actor",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:6,name:"Phoebe Buffay",phone:"760-318-8376",profession:"Masseuse",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:7,name:"Chandler Bing",phone:"305-917-1301",profession:"IT Manager",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:8,name:"Ross Geller",phone:"210-684-8953",profession:"Paleontologist",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:9,name:"Rachel Green",phone:"765-338-0312",profession:"Waitress",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:10,name:"Monica Geller",phone:"714-541-3336",profession:"Head Chef",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:11,name:"Joey Tribbiani",phone:"972-297-6037",profession:"Actor",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:12,name:"Phoebe Buffay",phone:"760-318-8376",profession:"Masseuse",registrationDate:"01-01-2020",createdDate:"01-01-2020"}]),t=(0,o.ref)([{field:"id",text:"Id",datatype:"number",showToggle:!1,value:"",visible:!0},{field:"name",text:"Name",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"phone",text:"Phone",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"profession",text:"Profession",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"createdDate",text:"Created Date",datatype:"datetime-local",showToggle:!1,value:{from:"",to:""}},{field:"registrationDate",text:"Registration Date",datatype:"date",showToggle:!1,value:{from:"",to:""}}]);return console.log("inside About"),{rows:e,columns:t}}}),g=f,m=(0,u.Z)(g,s,l,!1,null,null,null),h=m.exports}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[300],{1701:function(e,t,a){a.r(t),a.d(t,{default:function(){return h}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"about"},[t("h1",[e._v("This is an about page")]),t("router-link",{staticClass:"flex flex-col items-center px-3",attrs:{to:{name:"SolidifyHome"}}},[e._v(" Home ")]),t("ExecutionTable",{attrs:{rows:e.rows,columns:e.columns,"multi-select-enabled":!1}})],1)},l=[],o=a(7203),r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("main",[t("div",{staticClass:"p-2 mt-5 bg-white rounded-lg shadow-md"},[t("section",{staticClass:"flex items-center justify-between p-2 border border-gray-400"},[t("div",{staticClass:"filter-grid flex-none flex"},[t("button",{staticClass:"button focus:outline-none hover:text-gray-700 px-3 font-medium leading-6 text-gray-600 cursor-pointer"},[t("RefreshCcwIcon",{staticClass:"mr-2",attrs:{size:"1x"}})],1),t("div",{staticClass:"relative"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchInput,expression:"searchInput"}],staticClass:"h-10 w-72 pl-2 pr-20 border border-gray-400 z-0 focus:shadow focus:outline-none",attrs:{type:"text",name:"inputsearch"},domProps:{value:e.searchInput},on:{keydown:e.showHideCancel,input:function(t){t.target.composing||(e.searchInput=t.target.value)}}}),t("div",{staticClass:"search-action absolute top-2 right-2"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.isShowCancel,expression:"isShowCancel"}],staticClass:"text-gray-500 py-1",on:{click:e.clearInput}},[t("x-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1),t("button",{staticClass:"text-gray-500 py-1",on:{click:e.searchInput}},[t("search-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)])]),t("button",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeModal,expression:"closeModal"}],staticClass:"text-gray-500 py-1 ml-1",on:{click:e.showModal}},[t("filter-icon",{staticClass:"custom-class",attrs:{size:"1.5x"}})],1)]),t("div",{staticClass:"flex-1 text-right text-blue-900"},[e._v(e._s(e.selectedRows.length)+" of "+e._s(e.tableRows.length)+" selected")])]),t("section",[t("div",{attrs:{id:"sixthTable"}},[t("table",{staticClass:"w-full"},[t("thead",[t("tr",{staticClass:"border border-t-0 border-gray-400"},[t("th",[e.multiSelectEnabled?t("input",{directives:[{name:"model",rawName:"v-model",value:e.isAllSelected,expression:"isAllSelected"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.isAllSelected)?e._i(e.isAllSelected,null)>-1:e.isAllSelected},on:{click:function(t){return e.selectAll()},change:function(t){var a=e.isAllSelected,s=t.target,l=!!s.checked;if(Array.isArray(a)){var o=null,r=e._i(a,o);s.checked?r<0&&(e.isAllSelected=a.concat([o])):r>-1&&(e.isAllSelected=a.slice(0,r).concat(a.slice(r+1)))}else e.isAllSelected=l}}}):e._e()]),e._l(e.columns,(function(a){return t("th",{key:a.field,staticClass:"text-left cursor-pointer bg-white text-gray-400 p-2 min-w-40%",on:{click:function(t){return e.sortTable(a.field)}}},[a.visible?t("span",[e._v(e._s(a.text))]):e._e(),a.field==e.sortColumn?t("div",{staticClass:"arrow"},[t("chevron-down-icon",{directives:[{name:"show",rawName:"v-show",value:e.ascending,expression:"ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}}),t("chevron-up-icon",{directives:[{name:"show",rawName:"v-show",value:!e.ascending,expression:"!ascending"}],staticClass:"custom-class",attrs:{size:"1.5x"}})],1):e._e()])}))],2)]),t("tbody",e._l(e.getRows(),(function(a){return t("tr",{key:a.id,staticClass:"border border-t-0 border-gray-400"},[t("td",{staticClass:"text-center p-2 last:pb-10 last:border-r-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedRows,expression:"selectedRows"}],attrs:{type:"checkbox"},domProps:{value:a.id,checked:Array.isArray(e.selectedRows)?e._i(e.selectedRows,a.id)>-1:e.selectedRows},on:{change:[function(t){var s=e.selectedRows,l=t.target,o=!!l.checked;if(Array.isArray(s)){var r=a.id,n=e._i(s,r);l.checked?n<0&&(e.selectedRows=s.concat([r])):n>-1&&(e.selectedRows=s.slice(0,n).concat(s.slice(n+1)))}else e.selectedRows=o},function(t){return e.updateSelectAll(a.id)}]}})]),e._l(e.columns,(function(s){return t("td",{key:s.field,staticClass:"text-left p-2 last:pb-10 last:border-r-0 text-blue-900"},[s.visible?t("span",[e._v(e._s(a[s.field]))]):e._e()])}))],2)})),0)]),t("div",{staticClass:"w-full text-right p-2"},[t("div",[t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedElementPerPage,expression:"selectedElementPerPage"}],staticClass:"border border-2 border-gray-400 mb-1.5 text-gray-600",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedElementPerPage=t.target.multiple?a:a[0]},function(t){return e.onChangeElementPerPage()}]}},e._l(e.elementPerPage,(function(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])})),0)]),e._l(e.numPages(),(function(a){return t("div",{key:a,staticClass:"number",class:[a==e.currentPage?"active":""],on:{click:function(t){return e.changePage(a)}}},[e._v(e._s(a))])}))],2)])])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isModalVisible,expression:"isModalVisible"}],staticClass:"modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit z-40"},[t("div",{staticClass:"w-full max-w-md bg-white shadow-lg rounded-lg border border-gray-400"},[t("header",{staticClass:"modal-header bg-gray-200 text-gray-400 p-2 overflow-hidden"},[t("button",{on:{click:function(t){return e.FilterGrid()}}},[e._v("Apply Now")]),t("button",{staticClass:"btn-close float-right",attrs:{type:"button"},on:{click:e.closeModal}},[e._v("Close")])]),t("section",{staticClass:"modal-filter-body max-h-screen overflow-y-auto"},e._l(e.columns,(function(a){return t("div",{key:a.field},[t("div",{staticClass:"border border-gray-100 px-2 pb-2 mb2",on:{click:function(e){if(e.target!==e.currentTarget)return null;a.showToggle=!a.showToggle}}},[e._v(" "+e._s(a.text)+" "),t("div",{directives:[{name:"show",rawName:"v-show",value:a.showToggle,expression:"col.showToggle"}],staticClass:"filter-data"},["string"==a.datatype?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:a.value,expression:"col.value"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:a.value},on:{input:function(t){t.target.composing||e.$set(a,"value",t.target.value)}}})]):e._e(),"number"==a.datatype?t("div",[t("input",{directives:[{name:"model",rawName:"v-model",value:a.value,expression:"col.value"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"number"},domProps:{value:a.value},on:{input:function(t){t.target.composing||e.$set(a,"value",t.target.value)}}})]):e._e(),"date"==a.datatype?t("div",{staticClass:"xl:flex lg:flex md:flex block"},[t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[t("label",[e._v("From ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.value.from,expression:"col.value.from"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date",id:"start-"+a.text,name:"start-"+a.text},domProps:{value:a.value.from},on:{input:function(t){t.target.composing||e.$set(a.value,"from",t.target.value)}}})]),t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[t("label",[e._v("To ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.value.to,expression:"col.value.to"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date",id:"end-"+a.text,name:"end-"+a.text},domProps:{value:a.value.to},on:{input:function(t){t.target.composing||e.$set(a.value,"to",t.target.value)}}})])]):e._e(),"datetime-local"==a.datatype?t("div",{staticClass:"xl:flex lg:flex md:flex block"},[t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full pr-2"},[t("label",[e._v("From ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.value.from,expression:"col.value.from"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"datetime-local",id:"start-"+a.text,name:"start-"+a.text},domProps:{value:a.value.from},on:{input:function(t){t.target.composing||e.$set(a.value,"from",t.target.value)}}})]),t("div",{staticClass:"xl:w-1/2 lg:w-1/2 md:w-1/2 w-full"},[t("label",[e._v("To ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:a.value.to,expression:"col.value.to"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"datetime-local",id:"end-"+a.text,name:"end-"+a.text},domProps:{value:a.value.to},on:{input:function(t){t.target.composing||e.$set(a.value,"to",t.target.value)}}})])]):e._e()])])])})),0)])])])},n=[],i=(a(7658),a(4856)),c=(0,o.defineComponent)({name:"ExecutionTable",props:{rows:{type:Array,required:!0},columns:{type:Array,required:!0},multiSelectEnabled:{type:Boolean,default:!1}},components:{RefreshCcwIcon:i.Qn4,SearchIcon:i.W1M,XIcon:i.b0D,ChevronDownIcon:i.v4q,ChevronUpIcon:i.g8U,FilterIcon:i.k1n},setup(e){const t=(0,o.ref)(""),a=(0,o.ref)(!1),s=(0,o.ref)(1),l=(0,o.ref)([5,10,15,20]),r=(0,o.ref)(l.value[0]),n=(0,o.ref)(!1),i=(0,o.ref)(""),c=(0,o.ref)([]),d=(0,o.ref)(!1),u=(0,o.ref)(!1),p=(0,o.ref)(!1),v=(0,o.reactive)({}),f=[];watch((()=>e.rows),(()=>{f=e.rows})),(0,o.onMounted)((async()=>{e.columns.forEach((e=>{"date"===e.datatype||"datetime-local"===e.datatype?v[e.field]={from:"",to:""}:v[e.field]=""}))}));const g=()=>{0===t.value.length?a.value=!1:a.value=!0},m=e=>{i.value===e?n.value=!n.value:(n.value=!0,i.value=e);const t=n.value;f.sort(((a,s)=>a[e]>s[e]?t?1:-1:a[e]<s[e]?t?-1:1:0))},h=()=>{const e=Math.ceil(f.length/r.value);return e},b=()=>{const e=(s.value-1)*r.value,t=e+r.value;return f.slice(e,t)},w=()=>{d.value=!d.value,c.value=[],d.value&&(c.value=b().map((e=>e.id)))},y=t=>{console.log("updateSelectAll Called",t),e.multiSelectEnabled?b().length===c.value.length?d.value=!0:d.value=!1:(c.value=[],c.value.push(t))},x=e=>{s.value=e,y()},C=()=>{u.value=!1},_=()=>{u.value=!0},k=()=>{e.columns.forEach((e=>{"date"===e.datatype||"datetime-local"===e.datatype?v[e.field]={from:e.value.from,to:e.value.to}:v[e.field]=e.value}))},P=()=>{y(null)},A=()=>{t.value="",a.value=!1};return{searchInput:t,isShowCancel:a,showHideCancel:g,currentPage:s,elementPerPage:l,selectedElementPerPage:r,ascending:n,sortColumn:i,sortTable:m,numPages:h,getRows:b,changePage:x,selectedRows:c,selectAll:w,updateSelectAll:y,isAllSelected:d,isModalVisible:u,closeModal:C,showModal:_,showTick:p,filterData:v,FilterGrid:k,onChangeElementPerPage:P,clearInput:A,tableRows:f}}}),d=c,u=a(1001),p=(0,u.Z)(d,r,n,!1,null,"ce4af6d8",null),v=p.exports,f=(0,o.defineComponent)({name:"About",components:{ExecutionTable:v},setup(){const e=(0,o.ref)([{id:1,name:"Chandler Bing",phone:"305-917-1301",profession:"IT Manager",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:2,name:"Ross Geller",phone:"210-684-8953",profession:"Paleontologist",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:3,name:"Rachel Green",phone:"765-338-0312",profession:"Waitress",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:4,name:"Monica Geller",phone:"714-541-3336",profession:"Head Chef",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:5,name:"Joey Tribbiani",phone:"972-297-6037",profession:"Actor",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:6,name:"Phoebe Buffay",phone:"760-318-8376",profession:"Masseuse",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:7,name:"Chandler Bing",phone:"305-917-1301",profession:"IT Manager",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:8,name:"Ross Geller",phone:"210-684-8953",profession:"Paleontologist",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:9,name:"Rachel Green",phone:"765-338-0312",profession:"Waitress",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:10,name:"Monica Geller",phone:"714-541-3336",profession:"Head Chef",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:11,name:"Joey Tribbiani",phone:"972-297-6037",profession:"Actor",registrationDate:"01-01-2020",createdDate:"01-01-2020"},{id:12,name:"Phoebe Buffay",phone:"760-318-8376",profession:"Masseuse",registrationDate:"01-01-2020",createdDate:"01-01-2020"}]),t=(0,o.ref)([{field:"id",text:"Id",datatype:"number",showToggle:!1,value:"",visible:!0},{field:"name",text:"Name",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"phone",text:"Phone",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"profession",text:"Profession",datatype:"string",showToggle:!1,value:"",visible:!0},{field:"createdDate",text:"Created Date",datatype:"datetime-local",showToggle:!1,value:{from:"",to:""}},{field:"registrationDate",text:"Registration Date",datatype:"date",showToggle:!1,value:{from:"",to:""}}]);return console.log("inside About"),{rows:e,columns:t}}}),g=f,m=(0,u.Z)(g,s,l,!1,null,null,null),h=m.exports}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyAbout.js.map
|