@genpact/genome.mfe.solidify-app 1.17.2-alpha.160 → 1.17.2-alpha.162

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.
Files changed (32) hide show
  1. package/dist/css/SolidifyAdministrationEmailTemplateManagement.css +1 -1
  2. package/dist/css/SolidifyAdministrationNeedReviewerReport.css +1 -1
  3. package/dist/css/SolidifyAdministrationProgramAdministration.css +1 -1
  4. package/dist/css/SolidifyAdministrationTaskManagement.css +1 -1
  5. package/dist/css/SolidifyLearnerDone.css +1 -1
  6. package/dist/css/SolidifyLearnerPeerReview.css +1 -1
  7. package/dist/css/SolidifyLearnerProxyReview.css +1 -1
  8. package/dist/css/SolidifyLearnerSelectTask.css +1 -1
  9. package/dist/css/SolidifyLearnerSubmitTask.css +1 -1
  10. package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
  11. package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
  12. package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js +1 -1
  13. package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js.map +1 -1
  14. package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
  15. package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js.map +1 -1
  16. package/dist/solidify.umd.min.SolidifyAdministrationProgramDetails.js +1 -1
  17. package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
  18. package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js.map +1 -1
  19. package/dist/solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js +1 -1
  20. package/dist/solidify.umd.min.SolidifyLearnerDone.js +1 -1
  21. package/dist/solidify.umd.min.SolidifyLearnerDone.js.map +1 -1
  22. package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
  23. package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js.map +1 -1
  24. package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
  25. package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js.map +1 -1
  26. package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js +1 -1
  27. package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js.map +1 -1
  28. package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +1 -1
  29. package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js.map +1 -1
  30. package/dist/solidify.umd.min.js +2 -2
  31. package/dist/solidify.umd.min.js.map +1 -1
  32. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[412],{8153:function(e,t,a){a.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex mt-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:e.placeHolder1},domProps:{value:e.search},on:{keyup:function(t){e.filterProgramDetails(),e.$emit("Filtered",e.filteredProgramDetails)},input:function(t){t.target.composing||(e.search=t.target.value)}}})])},s=[],l=a(7203),n=(0,l.defineComponent)({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=(0,l.ref)(""),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),n=()=>{s.value=e.data,r.value=s.value.filter((e=>e.toLowerCase().includes(t.value.toLowerCase())))};return(0,l.onBeforeMount)((async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)})),{placeHolder1:a,filteredProgramDetails:r,filterProgramDetails:n,search:t}}}),o=n,i=a(1001),c=(0,i.Z)(o,r,s,!1,null,null,null),u=c.exports},408:function(e,t,a){a.r(t),a.d(t,{default:function(){return k}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"flex w-full mt-6 justify-end items-center gap-2"},[t("div",{staticClass:"w-1/5"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.rangeStart,expression:"rangeStart"}],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"},domProps:{value:e.rangeStart},on:{input:function(t){t.target.composing||(e.rangeStart=t.target.value)}}})]),t("div",{staticClass:"w-1/5"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.rangeEnd,expression:"rangeEnd"}],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"},domProps:{value:e.rangeEnd},on:{input:function(t){t.target.composing||(e.rangeEnd=t.target.value)}}})]),t("div",{staticClass:"pr-3"},[t("button",{staticClass:"inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.triggerProxyReport()}}},[e._v("Export All Proxy Report")])])]),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow text-background-secondary p-4"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter Task ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProgram,expression:"selectedProgram"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProgram=t.target.multiple?a:a[0]},function(t){return e.getSelectedProgram(t)}]}},[t("option",[e._v("Select Program")]),e._l(e.programDetails,(function(a){return t("option",{key:a.program_id,domProps:{value:a.program_id}},[e._v(e._s(a.program_display_name?a.program_display_name:a.program_name))])}))],2)]),e.showSkillProf?t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedSkill=t.target.multiple?a:a[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2)]):e._e(),e.showSkillProf?t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProficiency=t.target.multiple?a:a[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2)]):e._e(),t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Ageing ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedAgeing,expression:"selectedAgeing"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-3 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedAgeing=t.target.multiple?a:a[0]},function(t){return e.performAgeingFilter(t)}]}},[t("option",[e._v("Select Ageing")]),e._l(e.ageingValues,(function(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])}))],2)]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md",class:e.showSearchBtn?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!e.showSearchBtn},on:{click:function(t){return e.getLearnerForProxy()}}},[e._v(" Search Learners ")])])]),e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.proxyButtonVisible?t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showProxy()}}},[e._v("View available Proxy")]),e.nudgeButtonVisible?t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.sendNudge()}}},[e._v("Send Proxy Nudge")]):e._e()])]):e._e(),e.reportSuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.learnerData?t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white rounded"},[t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner ID")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy OHR")]),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Skill")]):e._e(),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proficiency")]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Assignment Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Re-review")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.filteredLearnerData,(function(a){return t("tr",{key:a.id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,a.learner_task_id)>-1:e.selectedTaskId},on:{change:[function(t){var r=e.selectedTaskId,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.learner_task_id,o=e._i(r,n);s.checked?o<0&&(e.selectedTaskId=r.concat([n])):o>-1&&(e.selectedTaskId=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedTaskId=l},function(t){return e.setProxyBtn(t)}]}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.learner_task_id))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_key))]),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skillName))]):e._e(),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiencyName))]):e._e(),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.isRereview))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.ageing))])])})),0)])])]):e._e(),e.isVisible?t("div",{staticClass:"w-full mt-4%"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyList?t("div",{staticClass:"w-full flex mt-6"},[t("SearchBar",{attrs:{data:e.proxyDetailsArray,placeholder:"Search By Proxy Name"},on:{Filtered:e.getFilteredList}})],1):e._e(),e.proxyAssignedBtn?t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Re-assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.filteredproxyDetails,(function(a,r){return t("tr",{key:r,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:a.proxy_ohr},domProps:{value:a.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,a.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(t){var r=e.selectedProxyOhr,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.proxy_ohr,o=e._i(r,n);s.checked?o<0&&(e.selectedProxyOhr=r.concat([n])):o>-1&&(e.selectedProxyOhr=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedProxyOhr=l},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_email))]),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))])])})),0)])])]):e._e()])]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("All Proxy Review Request")])])}],l=(a(7658),a(7203)),n=a(8709),o=a(1068),i=a(5279),c=a(1602),u=a.n(c),d=a(9649),p=a(306),g=a(1815),y=a(1232),f=a(9261),v=a(8153),x=(0,l.defineComponent)({name:"ViewAllProgramProxyAssignment",components:{SearchBar:v.Z},setup(){const e=(0,l.ref)(),t=(0,l.ref)(),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),c=(0,l.ref)(),v=(0,l.ref)(!1),x=(0,l.ref)(!1),m=(0,l.ref)(),_=(0,l.ref)([]),h=(0,l.ref)(),k=(0,l.ref)(!1),w=(0,l.ref)(),b=(0,l.ref)(!0),C=(0,l.ref)(),P=(0,l.ref)(),S=(0,l.ref)(),A=(0,l.ref)(),Z=(0,l.ref)(!1),O=(0,l.ref)("Select Program"),$=(0,l.ref)(!1),D=(0,l.ref)(),N=(0,l.ref)(!1),T=(0,l.ref)(!1),M=(0,l.ref)(),R=(0,l.ref)(!1),L=(0,l.ref)("Select Ageing"),Y=(0,l.ref)(),I=(0,l.ref)(),B=(0,l.ref)(),E=(0,l.ref)(["0-5","5-10","10-15","15-20",">20"]),V=(0,l.ref)(""),F=(0,l.ref)(""),J=()=>{h.value=[]},q=()=>{let t,a;console.log(L.value);let r=!1;"Select Ageing"!==L.value?(L.value.includes(">")?(t=L.value.slice(1),r=!0):[t,a]=L.value.split("-"),console.log(t,a),Y.value=e.value.filter((e=>{if(console.log(e.ageing,e.ageing>=t&&(r||e.ageing<=a)),e.ageing>=t&&(r||e.ageing<=a))return e}))):Y.value=e.value},j=async()=>{const e=[];Y.value.filter((t=>{for(let a=0;a<_.value.length;a+=1)_.value[a]===t.learner_task_id&&e.push({learner_task_id:t.learner_task_id,proxyOhr:t.proxy_key})}));const t={nudge_arr:e};console.log(" Proxy OHR ",t);try{r.value=!1;const e=await(0,y.F)("/proxyreview/nudge",t);console.log(e),D.value=e.data.message,r.value=!0,N.value=!0,T.value=!1,window.scroll(0,0),r.value=!0,setTimeout((()=>{N.value=!1}),5e3)}catch(a){if(r.value=!0,p.Z.isAxiosError(a)){const e=a;r.value=!0,D.value=e.response?.data?.message,T.value=!0,N.value=!1,setTimeout((()=>{T.value=!1}),5e3)}}},H=e=>{const t=e.target.checked;!0===t?(console.log("selected Task id",_.value),x.value=!0):0===_.value.length&&(x.value=!1,v.value=!1)},G=async()=>{r.value=!1;const e=await(0,n.QZ)("/getAllSkillProf?skill_type=genome");t.value=e.skill,a.value=e.proficiency,r.value=!0},Q=async()=>{r.value=!1,A.value=await(0,d.dr)("/cache?cache=program"),r.value=!0},X=async t=>{r.value=!1,localStorage.setItem("program",t.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),O.value=t.target.value,"Select Program"!==O.value?($.value=!0,"infinity"===O.value?(await G(),s.value="Select Skill",c.value="Select Proficiency",Z.value=!0):(Z.value=!1,s.value="",c.value="")):($.value=!1,Z.value=!1),x.value=!1,R.value=!1,e.value=[],v.value=!1,_.value=[],Y.value=[],r.value=!0},U=async()=>{try{const l={linked_program_name:O.value,skill:s.value,proficiency:c.value};console.log({data:l}),r.value=!1,await J(),_.value=[],x.value=!1,v.value=!1;const n=await(0,o.cQ)(l);e.value=n.data.allProxyList;for(let r=0;r<e.value.length;r+=1){const s=e.value[r];console.log(`res ${JSON.stringify(s)}`);const l=u()().utc().format("YYYY-MM-DD");if(s.assignment_date){const e=u()(s.assignment_date).utc().format("YYYY-MM-DD");s.ageing=u()(l).diff(u()(e),"days"),s.assignment_date=u()(s.assignment_date).format("DD-MM-YYYY")}if(s.proxy_requested_date&&(s.proxy_requested_date=u()(s.proxy_requested_date).format("DD-MM-YYYY")),"infinity"===O.value){if(s.skill){const e=t.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.skill_id;return console.log(`skill ${t}`),!!t&&t===s.skill}));console.log(`learnerSkillArr ${JSON.stringify(e)}`),s.skillName=e[0].skill_alias}else s.skillName="";if(s.proficiency){const e=a.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.prof_id;return console.log(`prof ${t}`),!!t&&t===s.proficiency}));console.log(`learnerProfArr ${JSON.stringify(e)}`),s.proficiencyName=e[0].prof_name}else s.proficiencyName=""}}const i=await(0,f.uA)(O.value),d="PROXY_NUDGE",p=i.prog_detail.email_templates;R.value=void 0!==p[d],Y.value=e.value,q(),e.value=e.value.sort(((e,t)=>t.ageing-e.ageing))}catch(l){console.log(l)}r.value=!0},z=async e=>{s.value=e.target.value,console.log(`selectedSkill.value ${s.value}`)},W=async e=>{c.value=e.target.value,console.log(`selectedProficiency.value ${c.value}`)},K=async()=>{console.log(`selectedTaskId.value[0] ${_.value[0]}`);let t=`/v2/admin/proxy/program/${O.value}`;const a=e.value.filter((e=>_.value[0]===e.learner_task_id));console.log(`selectedLearnerArr ${a}`),"infinity"===O.value&&(C.value=a[0].skill,P.value=a[0].proficiency,t=`/v2/admin/proxy/program/infinity/skill/${C.value}`),v.value=!0,r.value=!1;const s=await(0,g.oA)(t);m.value=s.all_proxies,I.value=m.value.map((e=>e.proxy_name)),B.value=m.value,r.value=!0,console.log("Proxy List",m.value)},ee=e=>{B.value=m.value.filter((t=>e.includes(t.proxy_name))),console.log("filteredproxyDetails",B.value)},te=async e=>{const t=e.target.checked;k.value=!0===t},ae=async()=>{try{console.log(`selectedProxyOhr.value[0] ${h.value[0]}`),console.log(`selectedSkill.value ${s.value}`),console.log(`selectedProficiency.value ${c.value}`),r.value=!1;const e={proxy_key:h.value[0],learners:_.value,linked_program_name:O.value,skill:C.value,proficiency:P.value},t=await(0,n.kn)("/proxyreview",e);D.value=t?.data.message,N.value=!0,setTimeout((()=>{N.value=!1}),6e3),v.value=!1,await U(),r.value=!0,console.log("data ohr",t)}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),r.value=!0,D.value=t.response?.data?.message,console.log(`errorMessage.value ${M.value}`),T.value=!0,setTimeout((()=>{T.value=!1}),6e3)}}},re=async()=>{try{if(!V.value||!F.value)return D.value="Start Date or End Date should not be empty",T.value=!0,void setTimeout((()=>{T.value=!1}),6e3);const e=await(0,o.yc)(`/admin/proxy/export?start_date=${V.value}&end_date=${F.value}`);S.value="The report will be emailed to you",setTimeout((()=>{S.value=null}),6e3),console.log(`Report Trigger Response ${e}`)}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),r.value=!0,D.value=t.response?.data?.message,console.log(`errorMessage.value ${M.value}`),T.value=!0,setTimeout((()=>{T.value=!1}),6e3)}}};return(0,l.onBeforeMount)((async()=>{await Q();const e=await(0,i.GF)("/getUserRole");w.value=e.user_roles,w.value.length>0&&(w.value.includes("System Admin")||w.value.includes("Community Manager")||w.value.includes("Proxy Admin")?b.value=!0:b.value=!1)})),{learnerData:e,skills:t,proficiency:a,renderReady:r,selectedSkill:s,selectedProficiency:c,getSelectedSkill:z,getSelectedProficiency:W,isVisible:v,showProxy:K,getSkillandProf:G,getLearnerForProxy:U,selectedTaskId:_,proxyButtonVisible:x,setProxyBtn:H,proxyList:m,selectedProxyOhr:h,checkOne:J,showAssignProxyBtn:te,proxyAssignedBtn:k,assignLearnerToProxy:ae,showScreen:b,triggerProxyReport:re,reportSuccessMessage:S,programDetails:A,getSelectedProgram:X,showSearchBtn:$,selectedProgram:O,showSkillProf:Z,resMessage:D,showSuccessMessage:N,showErrorMessage:T,errorMessage:M,performAgeingFilter:q,ageingValues:E,filteredLearnerData:Y,selectedAgeing:L,sendNudge:j,nudgeButtonVisible:R,getFilteredList:ee,filteredproxyDetails:B,proxyDetailsArray:I,rangeStart:V,rangeEnd:F}}}),m=x,_=a(1001),h=(0,_.Z)(m,r,s,!1,null,"7ac7a042",null),k=h.exports},1055:function(e,t,a){a.r(t),a.d(t,{default:function(){return f}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"pr-3 mb-4 w-full text-right"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.triggerProxyReport()}}},[e._v("Export All Proxy Report")])])]),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow text-background-secondary p-4"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedSkill(t)}}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2)]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedProficiency(t)}}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2)]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.getLearnerForProxy()}}},[e._v("Search Learner")])])]),e.proxyButtonVisible?t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.showProxy()}}},[e._v("View available Proxy")])])]):e._e(),e.reportSuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.learnerData?t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white rounded"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.learnerData,(function(a){return t("tr",{key:a.id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,a.learner_task_id)>-1:e.selectedTaskId},on:{click:function(t){return e.setProxyBtn(t)},change:function(t){var r=e.selectedTaskId,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.learner_task_id,o=e._i(r,n);s.checked?o<0&&(e.selectedTaskId=r.concat([n])):o>-1&&(e.selectedTaskId=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedTaskId=l}}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.learner_task_id))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_key))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skillName))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiencyName))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.isRereview))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.ageing))])])})),0)])])]):e._e(),e.isVisible?t("div",{staticClass:"w-full mt-4%"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Re-assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(2),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(a){return t("tr",{key:a.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:a.proxy_ohr},domProps:{value:a.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,a.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(t){var r=e.selectedProxyOhr,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.proxy_ohr,o=e._i(r,n);s.checked?o<0&&(e.selectedProxyOhr=r.concat([n])):o>-1&&(e.selectedProxyOhr=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedProxyOhr=l},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_email))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))])])})),0)])])]):e._e()])]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("All Proxy Review Request")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner ID")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy OHR")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Assignment Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Re-review")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])])}],l=a(7203),n=a(8709),o=a(1068),i=a(5279),c=a(1602),u=a.n(c),d=(0,l.defineComponent)({name:"AssignProxy",setup(){const e=(0,l.ref)(),t=(0,l.ref)(),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),c=(0,l.ref)(),d=(0,l.ref)(!1),p=(0,l.ref)(!1),g=(0,l.ref)(),y=(0,l.ref)([]),f=(0,l.ref)(),v=(0,l.ref)(!1),x=(0,l.ref)(),m=(0,l.ref)(!0),_=(0,l.ref)(),h=(0,l.ref)(),k=(0,l.ref)(),w=()=>{f.value=[]},b=e=>{y.value=[];const t=e.target.checked;!0===t?p.value=!0:(p.value=!1,d.value=!1)},C={},P=async()=>{r.value=!1;const e=await(0,n.QZ)("/getAllSkillProf?skill_type=genome");t.value=e.skill,a.value=e.proficiency,r.value=!0},S=async()=>{try{console.log(C),r.value=!1,await w(),y.value=[];const s=await(0,o._A)(C);e.value=s.data.allProxyList;for(let r=0;r<e.value.length;r+=1){const s=e.value[r];console.log(`res ${JSON.stringify(s)}`);const l=u()().utc().format("YYYY-MM-DD");if(s.assignment_date){const e=u()(s.assignment_date).utc().format("YYYY-MM-DD");s.ageing=u()(l).diff(u()(e),"days"),s.assignment_date=u()(s.assignment_date).format("DD-MM-YYYY")}if(s.proxy_requested_date&&(s.proxy_requested_date=u()(s.proxy_requested_date).format("DD-MM-YYYY")),s.skill){const e=t.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.skill_id;return console.log(`skill ${t}`),!!t&&t===s.skill}));console.log(`learnerSkillArr ${JSON.stringify(e)}`),s.skillName=e[0].skill_alias}else s.skillName="";if(s.proficiency){const e=a.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.prof_id;return console.log(`prof ${t}`),!!t&&t===s.proficiency}));console.log(`learnerProfArr ${JSON.stringify(e)}`),s.proficiencyName=e[0].prof_name}else s.proficiencyName=""}e.value=e.value.sort(((e,t)=>t.ageing-e.ageing)),r.value=!0}catch(s){console.log(s)}},A=async e=>{s.value=e.target.value,Object.assign(C,{skill:s.value})},Z=async e=>{c.value=e.target.value,Object.assign(C,{proficiency:c.value})},O=async()=>{console.log(`selectedTaskId.value[0] ${y.value[0]}`);const t=e.value.filter((e=>y.value[0]===e.learner_task_id));console.log(`selectedLearnerArr ${t}`),_.value=t[0].skill,h.value=t[0].proficiency,d.value=!0,r.value=!1,g.value=await(0,n.Nl)("/getAllProxyBySkill",_.value),r.value=!0,console.log("Proxy List",g.value)},$=async e=>{const t=e.target.checked;v.value=!0===t},D=async()=>{try{console.log(`selectedProxyOhr.value[0] ${f.value[0]}`),console.log(`selectedSkill.value ${_.value}`),console.log(`selectedProficiency.value ${h.value}`),r.value=!1;const e={proxy_key:f.value[0],learners:y.value,linked_program_name:"infinity",skill:_.value,proficiency:h.value},t=await(0,n.kn)("/proxyreview",e);d.value=!1,await S(),r.value=!0,console.log("data ohr",t)}catch(e){console.log("data ohr",e)}},N=async()=>{const e=await(0,o.yc)("/admin/proxy/export");k.value="The report will be emailed to you",setTimeout((()=>{k.value=null}),6e3),console.log(`Report Trigger Response ${e}`)};return(0,l.onBeforeMount)((async()=>{await P();const e=await(0,i.GF)("/getUserRole");x.value=e.user_roles,x.value.length>0&&(x.value.includes("System Admin")||x.value.includes("Community Manager")||x.value.includes("Proxy Admin")?m.value=!0:m.value=!1)})),{learnerData:e,skills:t,proficiency:a,renderReady:r,getSelectedSkill:A,getSelectedProficiency:Z,isVisible:d,showProxy:O,getSkillandProf:P,getLearnerForProxy:S,selectedTaskId:y,proxyButtonVisible:p,setProxyBtn:b,proxyList:g,selectedProxyOhr:f,checkOne:w,showAssignProxyBtn:$,proxyAssignedBtn:v,assignLearnerToProxy:D,showScreen:m,triggerProxyReport:N,reportSuccessMessage:k}}}),p=d,g=a(1001),y=(0,g.Z)(p,r,s,!1,null,"6f090fc0",null),f=y.exports},8709:function(e,t,a){a.d(t,{G7:function(){return s},Nl:function(){return n},QZ:function(){return l},kn:function(){return o}});var r=a(7129);const s=async(e,t)=>{const a=await r.Z.post(e,t);return a},l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async(e,t)=>{let a;return await r.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},o=async(e,t)=>{const a=await r.Z.post(e,t);return a}},1815:function(e,t,a){a.d(t,{Lo:function(){return n},M0:function(){return o},QZ:function(){return s},Z9:function(){return i},oA:function(){return l}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{const t=await r.Z.get(e);return t.data},n=async(e,t)=>{const a=await r.Z.post(e,t);return a.data},o=async(e,t)=>{const a=await r.Z.post(e,t);return a.data.resp_message},i=async(e,t)=>{const a=await r.Z.post(e,t);return a.data.resp_message}},5279:function(e,t,a){a.d(t,{$d:function(){return s},$i:function(){return b},Ao:function(){return v},DU:function(){return y},EX:function(){return D},F5:function(){return N},FS:function(){return p},GF:function(){return A},Iu:function(){return n},J1:function(){return w},Jf:function(){return _},Kk:function(){return x},N9:function(){return Z},P8:function(){return u},VP:function(){return m},Vz:function(){return C},WX:function(){return g},X$:function(){return h},XP:function(){return l},Yb:function(){return S},a4:function(){return O},dH:function(){return k},gh:function(){return f},nb:function(){return i},oA:function(){return P},r4:function(){return d},sd:function(){return c},wp:function(){return o},xJ:function(){return $}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},p=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},g=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},y=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},x=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},m=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},_=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},h=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},k=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},w=async e=>{const t=await r.Z.get(e);return t},b=async e=>{const t=await r.Z.get(e);return t},C=async e=>{const t=await r.Z.get(e);return t},P=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},S=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},A=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},Z=async e=>{const t=await r.Z.post("/user/role",e);return t},O=async e=>{const t=await r.Z.post("/user/removeRole",e);return t},$=async()=>{const e=await r.Z.get("role");return e},D=async e=>{const t=await r.Z.post("/user/saveLSS",e);return t},N=async e=>{const t=await r.Z.post("/user/saveEnvAccess",e);return t}},9261:function(e,t,a){a.d(t,{DC:function(){return l},JS:function(){return n},uA:function(){return s}});var r=a(7129);const s=async e=>{try{let t;return await r.Z.get(`/program/${e}`).then((e=>(t=e.data,t))),t}catch(t){return t}},l=async e=>{try{let t;return console.log("inside update Program Service"),await r.Z.put("/program",e).then((e=>(console.log("program Response",e),t=e.data,t))),t}catch(t){return t}},n=async e=>{const t=await r.Z.post("/program/email/event/create",e);return t}},9649:function(e,t,a){a.d(t,{$M:function(){return d},F9:function(){return g},HX:function(){return o},V$:function(){return i},VA:function(){return l},dr:function(){return s},gs:function(){return y},jz:function(){return p},q$:function(){return u},rP:function(){return n},yW:function(){return c}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(console.log("Response",e),t=e.data.response.program_name,t))),t},l=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},n=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.learnerDetails,a))),a},o=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},i=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},c=async e=>{let t;try{return await r.Z.get(`/task/${e}`).then((e=>(t=e.data.data,t))),t}catch(a){return a}},u=async(e,t)=>{try{const a=await fetch(`${e}`,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},d=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},p=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},g=async e=>{console.log(`inside save task data ${JSON.stringify(e)}`);const t=await r.Z.post("/task/create",e);return t},y=async e=>{try{let t;return await r.Z.get(`/admin/task/taskExport/${e}`).then((async e=>(t=e.data,t))),t}catch(t){return t}}},1068:function(e,t,a){a.d(t,{Ho:function(){return s},_A:function(){return l},cQ:function(){return n},yc:function(){return o}});var r=a(7129);const s=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},l=async e=>{const t=await r.Z.post("getAllProxyAssignedLearner",e);return t},n=async e=>{const t=await r.Z.post("program/proxies/learners",e);return t},o=async e=>{const t=await r.Z.get(e);return t}},9756:function(e,t,a){e.exports=a.p+"img/loadernew.gif"}}]);
1
+ "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[412],{8153:function(e,t,a){a.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex mt-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:e.placeHolder1},domProps:{value:e.search},on:{keyup:function(t){e.filterProgramDetails(),e.$emit("Filtered",e.filteredProgramDetails)},input:function(t){t.target.composing||(e.search=t.target.value)}}})])},s=[],l=a(7203),n=(0,l.defineComponent)({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=(0,l.ref)(""),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),n=()=>{s.value=e.data,r.value=s.value.filter((e=>e.toLowerCase().includes(t.value.toLowerCase())))};return(0,l.onBeforeMount)((async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)})),{placeHolder1:a,filteredProgramDetails:r,filterProgramDetails:n,search:t}}}),o=n,i=a(1001),c=(0,i.Z)(o,r,s,!1,null,null,null),u=c.exports},408:function(e,t,a){a.r(t),a.d(t,{default:function(){return k}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"flex w-full mt-6 justify-end items-center gap-2"},[t("div",{staticClass:"w-1/5"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.rangeStart,expression:"rangeStart"}],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"},domProps:{value:e.rangeStart},on:{input:function(t){t.target.composing||(e.rangeStart=t.target.value)}}})]),t("div",{staticClass:"w-1/5"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.rangeEnd,expression:"rangeEnd"}],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"},domProps:{value:e.rangeEnd},on:{input:function(t){t.target.composing||(e.rangeEnd=t.target.value)}}})]),t("div",{staticClass:"pr-3"},[t("button",{staticClass:"inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.triggerProxyReport()}}},[e._v("Export All Proxy Report")])])]),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow text-background-secondary p-4"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter Task ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProgram,expression:"selectedProgram"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProgram=t.target.multiple?a:a[0]},function(t){return e.getSelectedProgram(t)}]}},[t("option",[e._v("Select Program")]),e._l(e.programDetails,(function(a){return t("option",{key:a.program_id,domProps:{value:a.program_id}},[e._v(e._s(a.program_display_name?a.program_display_name:a.program_name))])}))],2)]),e.showSkillProf?t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedSkill=t.target.multiple?a:a[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2)]):e._e(),e.showSkillProf?t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProficiency=t.target.multiple?a:a[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2)]):e._e(),t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Ageing ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedAgeing,expression:"selectedAgeing"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-3 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedAgeing=t.target.multiple?a:a[0]},function(t){return e.performAgeingFilter(t)}]}},[t("option",[e._v("Select Ageing")]),e._l(e.ageingValues,(function(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])}))],2)]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md",class:e.showSearchBtn?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!e.showSearchBtn},on:{click:function(t){return e.getLearnerForProxy()}}},[e._v(" Search Learners ")])])]),e.showSuccessMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?t("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.proxyButtonVisible?t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showProxy()}}},[e._v("View available Proxy")]),e.nudgeButtonVisible?t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.sendNudge()}}},[e._v("Send Proxy Nudge")]):e._e()])]):e._e(),e.reportSuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.learnerData?t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white rounded"},[t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner ID")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy OHR")]),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Skill")]):e._e(),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proficiency")]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Assignment Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Re-review")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.filteredLearnerData,(function(a){return t("tr",{key:a.id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,a.learner_task_id)>-1:e.selectedTaskId},on:{change:[function(t){var r=e.selectedTaskId,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.learner_task_id,o=e._i(r,n);s.checked?o<0&&(e.selectedTaskId=r.concat([n])):o>-1&&(e.selectedTaskId=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedTaskId=l},function(t){return e.setProxyBtn(t)}]}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.learner_task_id))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_key))]),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skillName))]):e._e(),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiencyName))]):e._e(),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.isRereview))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.ageing))])])})),0)])])]):e._e(),e.isVisible?t("div",{staticClass:"w-full mt-4%"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyList?t("div",{staticClass:"w-full flex mt-6"},[t("SearchBar",{attrs:{data:e.proxyDetailsArray,placeholder:"Search By Proxy Name"},on:{Filtered:e.getFilteredList}})],1):e._e(),e.proxyAssignedBtn?t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Re-assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.filteredproxyDetails,(function(a,r){return t("tr",{key:r,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:a.proxy_ohr},domProps:{value:a.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,a.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(t){var r=e.selectedProxyOhr,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.proxy_ohr,o=e._i(r,n);s.checked?o<0&&(e.selectedProxyOhr=r.concat([n])):o>-1&&(e.selectedProxyOhr=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedProxyOhr=l},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_email))]),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))])])})),0)])])]):e._e()])]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("All Proxy Review Request")])])}],l=(a(7658),a(7203)),n=a(8709),o=a(1068),i=a(5279),c=a(1602),u=a.n(c),d=a(9649),p=a(306),g=a(1815),y=a(1232),f=a(2027),v=a(8153),x=(0,l.defineComponent)({name:"ViewAllProgramProxyAssignment",components:{SearchBar:v.Z},setup(){const e=(0,l.ref)(),t=(0,l.ref)(),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),c=(0,l.ref)(),v=(0,l.ref)(!1),x=(0,l.ref)(!1),m=(0,l.ref)(),_=(0,l.ref)([]),h=(0,l.ref)(),k=(0,l.ref)(!1),w=(0,l.ref)(),b=(0,l.ref)(!0),C=(0,l.ref)(),P=(0,l.ref)(),S=(0,l.ref)(),A=(0,l.ref)(),Z=(0,l.ref)(!1),O=(0,l.ref)("Select Program"),$=(0,l.ref)(!1),D=(0,l.ref)(),N=(0,l.ref)(!1),T=(0,l.ref)(!1),M=(0,l.ref)(),R=(0,l.ref)(!1),L=(0,l.ref)("Select Ageing"),Y=(0,l.ref)(),I=(0,l.ref)(),B=(0,l.ref)(),E=(0,l.ref)(["0-5","5-10","10-15","15-20",">20"]),V=(0,l.ref)(""),F=(0,l.ref)(""),J=()=>{h.value=[]},q=()=>{let t,a;console.log(L.value);let r=!1;"Select Ageing"!==L.value?(L.value.includes(">")?(t=L.value.slice(1),r=!0):[t,a]=L.value.split("-"),console.log(t,a),Y.value=e.value.filter((e=>{if(console.log(e.ageing,e.ageing>=t&&(r||e.ageing<=a)),e.ageing>=t&&(r||e.ageing<=a))return e}))):Y.value=e.value},j=async()=>{const e=[];Y.value.filter((t=>{for(let a=0;a<_.value.length;a+=1)_.value[a]===t.learner_task_id&&e.push({learner_task_id:t.learner_task_id,proxyOhr:t.proxy_key})}));const t={nudge_arr:e};console.log(" Proxy OHR ",t);try{r.value=!1;const e=await(0,y.F)("/proxyreview/nudge",t);console.log(e),D.value=e.data.message,r.value=!0,N.value=!0,T.value=!1,window.scroll(0,0),r.value=!0,setTimeout((()=>{N.value=!1}),5e3)}catch(a){if(r.value=!0,p.Z.isAxiosError(a)){const e=a;r.value=!0,D.value=e.response?.data?.message,T.value=!0,N.value=!1,setTimeout((()=>{T.value=!1}),5e3)}}},H=e=>{const t=e.target.checked;!0===t?(console.log("selected Task id",_.value),x.value=!0):0===_.value.length&&(x.value=!1,v.value=!1)},G=async()=>{r.value=!1;const e=await(0,n.QZ)("/getAllSkillProf?skill_type=genome");t.value=e.skill,a.value=e.proficiency,r.value=!0},Q=async()=>{r.value=!1,A.value=await(0,d.dr)("/cache?cache=program"),r.value=!0},X=async t=>{r.value=!1,localStorage.setItem("program",t.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),O.value=t.target.value,"Select Program"!==O.value?($.value=!0,"infinity"===O.value?(await G(),s.value="Select Skill",c.value="Select Proficiency",Z.value=!0):(Z.value=!1,s.value="",c.value="")):($.value=!1,Z.value=!1),x.value=!1,R.value=!1,e.value=[],v.value=!1,_.value=[],Y.value=[],r.value=!0},U=async()=>{try{const l={linked_program_name:O.value,skill:s.value,proficiency:c.value};console.log({data:l}),r.value=!1,await J(),_.value=[],x.value=!1,v.value=!1;const n=await(0,o.cQ)(l);e.value=n.data.allProxyList;for(let r=0;r<e.value.length;r+=1){const s=e.value[r];console.log(`res ${JSON.stringify(s)}`);const l=u()().utc().format("YYYY-MM-DD");if(s.assignment_date){const e=u()(s.assignment_date).utc().format("YYYY-MM-DD");s.ageing=u()(l).diff(u()(e),"days"),s.assignment_date=u()(s.assignment_date).format("DD-MM-YYYY")}if(s.proxy_requested_date&&(s.proxy_requested_date=u()(s.proxy_requested_date).format("DD-MM-YYYY")),"infinity"===O.value){if(s.skill){const e=t.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.skill_id;return console.log(`skill ${t}`),!!t&&t===s.skill}));console.log(`learnerSkillArr ${JSON.stringify(e)}`),s.skillName=e[0].skill_alias}else s.skillName="";if(s.proficiency){const e=a.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.prof_id;return console.log(`prof ${t}`),!!t&&t===s.proficiency}));console.log(`learnerProfArr ${JSON.stringify(e)}`),s.proficiencyName=e[0].prof_name}else s.proficiencyName=""}}const i=await(0,f.uA)(O.value),d="PROXY_NUDGE",p=i.prog_detail.email_templates;R.value=void 0!==p[d],Y.value=e.value,q(),e.value=e.value.sort(((e,t)=>t.ageing-e.ageing))}catch(l){console.log(l)}r.value=!0},z=async e=>{s.value=e.target.value,console.log(`selectedSkill.value ${s.value}`)},W=async e=>{c.value=e.target.value,console.log(`selectedProficiency.value ${c.value}`)},K=async()=>{console.log(`selectedTaskId.value[0] ${_.value[0]}`);let t=`/v2/admin/proxy/program/${O.value}`;const a=e.value.filter((e=>_.value[0]===e.learner_task_id));console.log(`selectedLearnerArr ${a}`),"infinity"===O.value&&(C.value=a[0].skill,P.value=a[0].proficiency,t=`/v2/admin/proxy/program/infinity/skill/${C.value}`),v.value=!0,r.value=!1;const s=await(0,g.oA)(t);m.value=s.all_proxies,I.value=m.value.map((e=>e.proxy_name)),B.value=m.value,r.value=!0,console.log("Proxy List",m.value)},ee=e=>{B.value=m.value.filter((t=>e.includes(t.proxy_name))),console.log("filteredproxyDetails",B.value)},te=async e=>{const t=e.target.checked;k.value=!0===t},ae=async()=>{try{console.log(`selectedProxyOhr.value[0] ${h.value[0]}`),console.log(`selectedSkill.value ${s.value}`),console.log(`selectedProficiency.value ${c.value}`),r.value=!1;const e={proxy_key:h.value[0],learners:_.value,linked_program_name:O.value,skill:C.value,proficiency:P.value},t=await(0,n.kn)("/proxyreview",e);D.value=t?.data.message,N.value=!0,setTimeout((()=>{N.value=!1}),6e3),v.value=!1,await U(),r.value=!0,console.log("data ohr",t)}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),r.value=!0,D.value=t.response?.data?.message,console.log(`errorMessage.value ${M.value}`),T.value=!0,setTimeout((()=>{T.value=!1}),6e3)}}},re=async()=>{try{if(!V.value||!F.value)return D.value="Start Date or End Date should not be empty",T.value=!0,void setTimeout((()=>{T.value=!1}),6e3);const e=await(0,o.yc)(`/admin/proxy/export?start_date=${V.value}&end_date=${F.value}`);S.value="The report will be emailed to you",setTimeout((()=>{S.value=null}),6e3),console.log(`Report Trigger Response ${e}`)}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),r.value=!0,D.value=t.response?.data?.message,console.log(`errorMessage.value ${M.value}`),T.value=!0,setTimeout((()=>{T.value=!1}),6e3)}}};return(0,l.onBeforeMount)((async()=>{await Q();const e=await(0,i.GF)("/getUserRole");w.value=e.user_roles,w.value.length>0&&(w.value.includes("System Admin")||w.value.includes("Community Manager")||w.value.includes("Proxy Admin")?b.value=!0:b.value=!1)})),{learnerData:e,skills:t,proficiency:a,renderReady:r,selectedSkill:s,selectedProficiency:c,getSelectedSkill:z,getSelectedProficiency:W,isVisible:v,showProxy:K,getSkillandProf:G,getLearnerForProxy:U,selectedTaskId:_,proxyButtonVisible:x,setProxyBtn:H,proxyList:m,selectedProxyOhr:h,checkOne:J,showAssignProxyBtn:te,proxyAssignedBtn:k,assignLearnerToProxy:ae,showScreen:b,triggerProxyReport:re,reportSuccessMessage:S,programDetails:A,getSelectedProgram:X,showSearchBtn:$,selectedProgram:O,showSkillProf:Z,resMessage:D,showSuccessMessage:N,showErrorMessage:T,errorMessage:M,performAgeingFilter:q,ageingValues:E,filteredLearnerData:Y,selectedAgeing:L,sendNudge:j,nudgeButtonVisible:R,getFilteredList:ee,filteredproxyDetails:B,proxyDetailsArray:I,rangeStart:V,rangeEnd:F}}}),m=x,_=a(1001),h=(0,_.Z)(m,r,s,!1,null,"7ac7a042",null),k=h.exports},1055:function(e,t,a){a.r(t),a.d(t,{default:function(){return f}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"pr-3 mb-4 w-full text-right"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.triggerProxyReport()}}},[e._v("Export All Proxy Report")])])]),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow text-background-secondary p-4"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedSkill(t)}}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2)]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(t){return e.getSelectedProficiency(t)}}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2)]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.getLearnerForProxy()}}},[e._v("Search Learner")])])]),e.proxyButtonVisible?t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.showProxy()}}},[e._v("View available Proxy")])])]):e._e(),e.reportSuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.learnerData?t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white rounded"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.learnerData,(function(a){return t("tr",{key:a.id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,a.learner_task_id)>-1:e.selectedTaskId},on:{click:function(t){return e.setProxyBtn(t)},change:function(t){var r=e.selectedTaskId,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.learner_task_id,o=e._i(r,n);s.checked?o<0&&(e.selectedTaskId=r.concat([n])):o>-1&&(e.selectedTaskId=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedTaskId=l}}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.learner_task_id))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_key))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skillName))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiencyName))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.isRereview))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.ageing))])])})),0)])])]):e._e(),e.isVisible?t("div",{staticClass:"w-full mt-4%"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Re-assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(2),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(a){return t("tr",{key:a.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:a.proxy_ohr},domProps:{value:a.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,a.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(t){var r=e.selectedProxyOhr,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.proxy_ohr,o=e._i(r,n);s.checked?o<0&&(e.selectedProxyOhr=r.concat([n])):o>-1&&(e.selectedProxyOhr=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedProxyOhr=l},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_email))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))])])})),0)])])]):e._e()])]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("All Proxy Review Request")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner ID")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy OHR")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Assignment Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Re-review")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])])}],l=a(7203),n=a(8709),o=a(1068),i=a(5279),c=a(1602),u=a.n(c),d=(0,l.defineComponent)({name:"AssignProxy",setup(){const e=(0,l.ref)(),t=(0,l.ref)(),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),c=(0,l.ref)(),d=(0,l.ref)(!1),p=(0,l.ref)(!1),g=(0,l.ref)(),y=(0,l.ref)([]),f=(0,l.ref)(),v=(0,l.ref)(!1),x=(0,l.ref)(),m=(0,l.ref)(!0),_=(0,l.ref)(),h=(0,l.ref)(),k=(0,l.ref)(),w=()=>{f.value=[]},b=e=>{y.value=[];const t=e.target.checked;!0===t?p.value=!0:(p.value=!1,d.value=!1)},C={},P=async()=>{r.value=!1;const e=await(0,n.QZ)("/getAllSkillProf?skill_type=genome");t.value=e.skill,a.value=e.proficiency,r.value=!0},S=async()=>{try{console.log(C),r.value=!1,await w(),y.value=[];const s=await(0,o._A)(C);e.value=s.data.allProxyList;for(let r=0;r<e.value.length;r+=1){const s=e.value[r];console.log(`res ${JSON.stringify(s)}`);const l=u()().utc().format("YYYY-MM-DD");if(s.assignment_date){const e=u()(s.assignment_date).utc().format("YYYY-MM-DD");s.ageing=u()(l).diff(u()(e),"days"),s.assignment_date=u()(s.assignment_date).format("DD-MM-YYYY")}if(s.proxy_requested_date&&(s.proxy_requested_date=u()(s.proxy_requested_date).format("DD-MM-YYYY")),s.skill){const e=t.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.skill_id;return console.log(`skill ${t}`),!!t&&t===s.skill}));console.log(`learnerSkillArr ${JSON.stringify(e)}`),s.skillName=e[0].skill_alias}else s.skillName="";if(s.proficiency){const e=a.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.prof_id;return console.log(`prof ${t}`),!!t&&t===s.proficiency}));console.log(`learnerProfArr ${JSON.stringify(e)}`),s.proficiencyName=e[0].prof_name}else s.proficiencyName=""}e.value=e.value.sort(((e,t)=>t.ageing-e.ageing)),r.value=!0}catch(s){console.log(s)}},A=async e=>{s.value=e.target.value,Object.assign(C,{skill:s.value})},Z=async e=>{c.value=e.target.value,Object.assign(C,{proficiency:c.value})},O=async()=>{console.log(`selectedTaskId.value[0] ${y.value[0]}`);const t=e.value.filter((e=>y.value[0]===e.learner_task_id));console.log(`selectedLearnerArr ${t}`),_.value=t[0].skill,h.value=t[0].proficiency,d.value=!0,r.value=!1,g.value=await(0,n.Nl)("/getAllProxyBySkill",_.value),r.value=!0,console.log("Proxy List",g.value)},$=async e=>{const t=e.target.checked;v.value=!0===t},D=async()=>{try{console.log(`selectedProxyOhr.value[0] ${f.value[0]}`),console.log(`selectedSkill.value ${_.value}`),console.log(`selectedProficiency.value ${h.value}`),r.value=!1;const e={proxy_key:f.value[0],learners:y.value,linked_program_name:"infinity",skill:_.value,proficiency:h.value},t=await(0,n.kn)("/proxyreview",e);d.value=!1,await S(),r.value=!0,console.log("data ohr",t)}catch(e){console.log("data ohr",e)}},N=async()=>{const e=await(0,o.yc)("/admin/proxy/export");k.value="The report will be emailed to you",setTimeout((()=>{k.value=null}),6e3),console.log(`Report Trigger Response ${e}`)};return(0,l.onBeforeMount)((async()=>{await P();const e=await(0,i.GF)("/getUserRole");x.value=e.user_roles,x.value.length>0&&(x.value.includes("System Admin")||x.value.includes("Community Manager")||x.value.includes("Proxy Admin")?m.value=!0:m.value=!1)})),{learnerData:e,skills:t,proficiency:a,renderReady:r,getSelectedSkill:A,getSelectedProficiency:Z,isVisible:d,showProxy:O,getSkillandProf:P,getLearnerForProxy:S,selectedTaskId:y,proxyButtonVisible:p,setProxyBtn:b,proxyList:g,selectedProxyOhr:f,checkOne:w,showAssignProxyBtn:$,proxyAssignedBtn:v,assignLearnerToProxy:D,showScreen:m,triggerProxyReport:N,reportSuccessMessage:k}}}),p=d,g=a(1001),y=(0,g.Z)(p,r,s,!1,null,"6f090fc0",null),f=y.exports},8709:function(e,t,a){a.d(t,{G7:function(){return s},Nl:function(){return n},QZ:function(){return l},kn:function(){return o}});var r=a(7129);const s=async(e,t)=>{const a=await r.Z.post(e,t);return a},l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async(e,t)=>{let a;return await r.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},o=async(e,t)=>{const a=await r.Z.post(e,t);return a}},1815:function(e,t,a){a.d(t,{Lo:function(){return n},M0:function(){return o},QZ:function(){return s},Z9:function(){return i},oA:function(){return l}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{const t=await r.Z.get(e);return t.data},n=async(e,t)=>{const a=await r.Z.post(e,t);return a.data},o=async(e,t)=>{const a=await r.Z.post(e,t);return a.data.resp_message},i=async(e,t)=>{const a=await r.Z.post(e,t);return a.data.resp_message}},5279:function(e,t,a){a.d(t,{$d:function(){return s},$i:function(){return b},Ao:function(){return v},DU:function(){return y},EX:function(){return D},F5:function(){return N},FS:function(){return p},GF:function(){return A},Iu:function(){return n},J1:function(){return w},Jf:function(){return _},Kk:function(){return x},N9:function(){return Z},P8:function(){return u},VP:function(){return m},Vz:function(){return C},WX:function(){return g},X$:function(){return h},XP:function(){return l},Yb:function(){return S},a4:function(){return O},dH:function(){return k},gh:function(){return f},nb:function(){return i},oA:function(){return P},r4:function(){return d},sd:function(){return c},wp:function(){return o},xJ:function(){return $}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},p=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},g=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},y=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},x=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},m=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},_=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},h=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},k=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},w=async e=>{const t=await r.Z.get(e);return t},b=async e=>{const t=await r.Z.get(e);return t},C=async e=>{const t=await r.Z.get(e);return t},P=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},S=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},A=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},Z=async e=>{const t=await r.Z.post("/user/role",e);return t},O=async e=>{const t=await r.Z.post("/user/removeRole",e);return t},$=async()=>{const e=await r.Z.get("role");return e},D=async e=>{const t=await r.Z.post("/user/saveLSS",e);return t},N=async e=>{const t=await r.Z.post("/user/saveEnvAccess",e);return t}},2027:function(e,t,a){a.d(t,{DC:function(){return l},JS:function(){return n},uA:function(){return s}});var r=a(7129);const s=async e=>{try{let t;return await r.Z.get(`/program/${e}`).then((e=>(t=e.data,t))),t}catch(t){return t}},l=async e=>{try{let t;return console.log("inside update Program Service"),await r.Z.put("/program",e).then((e=>(console.log("program Response",e),t=e.data,t))),t}catch(t){return t}},n=async e=>{const t=await r.Z.post("/program/email/event/create",e);return t}},9649:function(e,t,a){a.d(t,{$M:function(){return d},F9:function(){return g},HX:function(){return o},V$:function(){return i},VA:function(){return l},dr:function(){return s},gs:function(){return y},jz:function(){return p},q$:function(){return u},rP:function(){return n},yW:function(){return c}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(console.log("Response",e),t=e.data.response.program_name,t))),t},l=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},n=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.learnerDetails,a))),a},o=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},i=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},c=async e=>{let t;try{return await r.Z.get(`/task/${e}`).then((e=>(t=e.data.data,t))),t}catch(a){return a}},u=async(e,t)=>{try{const a=await fetch(`${e}`,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},d=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},p=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},g=async e=>{console.log(`inside save task data ${JSON.stringify(e)}`);const t=await r.Z.post("/task/create",e);return t},y=async e=>{try{let t;return await r.Z.get(`/admin/task/taskExport/${e}`).then((async e=>(t=e.data,t))),t}catch(t){return t}}},1068:function(e,t,a){a.d(t,{Ho:function(){return s},_A:function(){return l},cQ:function(){return n},yc:function(){return o}});var r=a(7129);const s=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},l=async e=>{const t=await r.Z.post("getAllProxyAssignedLearner",e);return t},n=async e=>{const t=await r.Z.post("program/proxies/learners",e);return t},o=async e=>{const t=await r.Z.get(e);return t}},9756:function(e,t,a){e.exports=a.p+"img/loadernew.gif"}}]);
2
2
  //# sourceMappingURL=solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js.map
@@ -1,2 +1,2 @@
1
- "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[781],{4735:function(e,t,a){a.d(t,{Z:function(){return u}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:a(6540)}})])])])])])},r=[],i=a(7203),l=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),a=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:a}}}),o=l,n=a(1001),c=(0,n.Z)(o,s,r,!1,null,null,null),u=c.exports},4365:function(e,t,a){a.d(t,{Z:function(){return u}});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"},[t("span",[e._v(e._s(e.proficiency)+" - ")]),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))])])])},r=[],i=a(7203),l=(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}}}),o=l,n=a(1001),c=(0,n.Z)(o,s,r,!1,null,null,null),u=c.exports},590:function(e,t,a){a.r(t),a.d(t,{default:function(){return b}});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():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.getLearner.statusRes.linked_program_name,proficiency:e.proficiency,skill:e.skill}}),t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[e.pass||e.fail?t("ul",{staticClass:"done"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{staticClass:"active"},[e._v("Done!")])]):e._e(),e.needReviewer?t("ul",{staticClass:"underReview"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{},[e._v("Done!")])]):e._e()])]),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[e.pass?t("div",{staticClass:"text-gray-600"},[e._m(0),"infinity"===e.programName?t("div",[t("p",{staticClass:"pt-3"},[e._v("Now remember to do the followning:")]),t("ol",{staticClass:"list-decimal pl-8 mt-3"},[t("li",[e._v(" Mark yourself as "),t("b",[e._v(e._s(e.nextProficiency)+" "+e._s(e.skill))]),e._v(" in "),t("a",{staticClass:"italic text-blue-900 underline",attrs:{href:"https://genome.genpact.com/my-profile"}},[e._v("My Profile")]),e._v(". ")])])]):e._e(),t("div",{staticClass:"mt-4",domProps:{innerHTML:e._s(e.allReviewerComments)}}),e.feedbackshow?t("div",[t("p",{staticClass:"pt-6"},[e._v("Please rate your Solidify journey experience.")]),t("div",{staticClass:"border border-gray-300 px-4 py-6 mt-2"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"1"},domProps:{checked:e._q(e.feedback,"1")},on:{change:function(t){e.feedback="1"}}}),e._v(" 1 - Poor")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"2"},domProps:{checked:e._q(e.feedback,"2")},on:{change:function(t){e.feedback="2"}}}),e._v(" 2 - Below Average")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"3"},domProps:{checked:e._q(e.feedback,"3")},on:{change:function(t){e.feedback="3"}}}),e._v(" 3 - Avergae")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"4"},domProps:{checked:e._q(e.feedback,"4")},on:{change:function(t){e.feedback="4"}}}),e._v(" 4 - Above Average")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"5"},domProps:{checked:e._q(e.feedback,"5")},on:{change:function(t){e.feedback="5"}}}),e._v(" 5 - Excellent")])]),e.validationShow?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.ratingValidationMsg))]):e._e(),t("div",{staticClass:"pt-4"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.comment,expression:"comment"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.comment},on:{input:function(t){t.target.composing||(e.comment=t.target.value)}}}),e.validationShow?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.commentValidationMsg))]):e._e()]),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:function(t){return e.creatFeedback()}}},[e._v(" Submit Feedback ")])])]):e._e()]):e._e(),e.fail?t("div",{staticClass:"text-gray-600"},[e._m(1),e.isProgramRestartable?t("p",{staticClass:"pt-3"},[e._v("Unfortunately, you did not pass Solidify. Please try again by Clicking "),t("strong",[e._v("Start Solidify")]),e._v(".")]):t("p",{staticClass:"pt-3"},[e._v("Unfortunately, you did not pass Solidify.")]),e._m(2),t("div",{staticClass:"mt-4",domProps:{innerHTML:e._s(e.allReviewerComments)}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isProgramRestartable,expression:"isProgramRestartable"}]},[e._m(3),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("router-link",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.getLearner.statusRes.skill,proficiency_id:e.getLearner.statusRes.proficiency,program_id:e.getLearner.statusRes.linked_program_name}}}},[e._v(" Start Solidify ")])],1)]),e.learnerEligibleForRereview?[t("p",{staticClass:"pt-6"},[e._v("However, if you're confident about your submission and do not feel 100% satisfied with the reviewers' comments, you can apply for a re-review of your submission.")]),e._m(4),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:function(t){return e.applyReview()}}},[e._v(" Re-review ")])])]:e._e()],2):e._e(),e.needReviewer?t("div",{staticClass:"text-gray-600"},[t("div",["Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?[t("p",{staticClass:"pt-2"},[e._v("Thank you for doing reviews.")]),t("p",{staticClass:"pt-2"},[e._v("The task is being reviewed by your colleagues, who are going through the same process you just did as they review your task.")]),t("p",{staticClass:"pt-2"},[e._v(" You will receive an email once the reviews have been completed telling you if your submissions passed, or if you will need to redo Solidify. Typically, this process may take 7-10 working days from the day of task submission. ")])]:[t("p",{staticClass:"pt-2"},[e._v("Thank you for submitting your task.")]),t("p",{staticClass:"pt-2"},[e._v("Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.")])],e._m(5),t("p",{staticClass:"pt-12"},[e._v(" Preview Status as of "),t("strong",[e._v(e._s(e.lastModifiedDate))])])],2),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",attrs:{to:{name:"SolidifyLearnerFail"}},on:{click:function(t){return e.getLearnerDetails()}}},[e._v(" Check Status ")])])]):e._e()])])],1)])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Congratulations you have passed Solidify! You have successfully submitted your task, done your peer reviews, and had your task reviewed.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Please Try Again!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("Here is what your reviewers had to say about your task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[t("b",[e._v("Please click below to start Solidify again for skill and proficiency. You can redo Solidify as many times as you need.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[e._v("Click on "),t("strong",[e._v("Re-review")]),e._v(" to request for re-review")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("You can also click the "),t("strong",[e._v("Check Status")]),e._v(" button to see if your colleagues have reviewed your submission.")])}],i=(a(7658),a(7203)),l=a(1602),o=a.n(l),n=a(1920),c=a(306),u=a(4735),d=a(4365),v=a(6408),m=(0,i.defineComponent)({name:"LearnerSubmitTask",components:{ErrorMessage:u.Z,Greetings:d.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(!1),a=(0,i.ref)(!1),s=(0,i.ref)(!1),r=(0,i.ref)(),l=(0,i.ref)(),u=(0,i.ref)(localStorage.getItem("skillName")),d=(0,i.ref)(localStorage.getItem("proficiency")),m=(0,i.ref)(localStorage.getItem("programId")),f=(0,i.ref)(localStorage.getItem("skillId")),g=(0,i.ref)(localStorage.getItem("profId")),p=(0,i.ref)(),b=(0,i.ref)(),y=(0,i.ref)(e.query.learner_task_id),_=(0,i.ref)(localStorage.getItem("helpmateLink")),k=(0,i.ref)(),w=(0,i.ref)(),x=(0,i.ref)(),h=(0,i.ref)(!1),C=(0,i.ref)(),A=(0,i.ref)(),R=(0,i.ref)(!0),S=(0,i.ref)(!0),L=(0,i.ref)(),P=(0,i.ref)(!1),M=(0,i.ref)(),I=(0,i.ref)(!1),Z=(0,i.ref)(),G=(0,i.ref)(),U=async()=>{try{k.value=!1;const e=await(0,n.G)("learnerStatus",y.value);r.value=e.data,G.value=r.value.program_reviewer_strategy,console.log(`getLearner.value ${JSON.stringify(r.value)}`),k.value=!0,console.log("status",JSON.stringify(r.value)),"notpassed"===r.value.statusRes?(k.value=!0,M.value=r.value.statusMessage,I.value=!0,s.value=!1):"Passed"===r.value.statusRes.learner_status?(t.value=!0,s.value=!1,l.value=r.value.statusRes.all_reviewer_comments):"Fail"===r.value.statusRes.learner_status?(a.value=!0,s.value=!1,l.value=r.value.statusRes.all_reviewer_comments,console.log(`getLearner.value.statusRes.linked_program_name ${r.value.statusRes.linked_program_name}`),console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${"infinity"!==r.value.statusRes.linked_program_name}`),"infinity"!==r.value.statusRes.linked_program_name&&(S.value=!1),L.value=r.value.program_is_restartable,r.value.learner_eligible_for_rereview&&(P.value=!0)):"Need Reviewer"===r.value.statusRes.learner_status&&(r.value.is_learner_not_allowed&&(console.log("learner on hold submit task"),v.Z.push({path:"/solidify",query:{skill_id:f.value,proficiency_id:g.value,program_id:m.value}})),s.value=!0,b.value=o()(r.value.statusRes.modified_date).format("dddd, MMMM Do YYYY, h:mm:ss a"),console.log(`lastModifiedDate.value ${b.value}`)),r.value.feedback?R.value=!1:R.value=!0}catch(e){if(k.value=!0,console.log("error while fetching learner details",e),c.Z.isAxiosError(e)){const t=e;M.value=t.response?.data?.message}else M.value="There is an issue while fetching learner status, please contact helpmate.";I.value=!0}},T=async()=>{try{if(k.value=!1,x.value)if(w.value){const e={learner_task_id:y.value,skill_id:localStorage.getItem("skillId"),proficiency_id:localStorage.getItem("profId"),skill_name:u.value,proficiency_name:d.value,program_id:localStorage.getItem("programId"),learner_key:localStorage.getItem("user_key"),rating:x.value,comment:w.value},t=await(0,n.d)("/createFeedback",e),a=t.data;console.log(`res after creating feedback ${JSON.stringify(a)}`),await U(),k.value=!0}else k.value=!0,h.value=!0,A.value="Please add comment",setTimeout((()=>{A.value=null,h.value=!1}),6e3);else k.value=!0,h.value=!0,C.value="Please select Rating",setTimeout((()=>{C.value=null,h.value=!1}),6e3)}catch(e){if(console.log(e),k.value=!0,c.Z.isAxiosError(e)){const t=e;M.value=t.response?.data?.message}else M.value="There is some issue while creating feedback, please contact helpmate.";I.value=!0}};(0,i.onBeforeMount)((async()=>{Z.value=localStorage.getItem("programName"),U(),"Beginner"===d.value?p.value="Intermediate":"Intermediate"===d.value?p.value="Proficient":"Proficient"===d.value&&(p.value="Expert")}));const J=async()=>{v.Z.push({path:"/solidify/rereview",query:{learner_task_id:y.value}})};return{pass:t,fail:a,skill:u,proficiency:d,allReviewerComments:l,getLearner:r,needReviewer:s,getLearnerDetails:U,lastModifiedDate:b,helpmateLink:_,renderReady:k,nextProficiency:p,creatFeedback:T,comment:w,feedback:x,commentValidationMsg:A,ratingValidationMsg:C,validationShow:h,feedbackshow:R,learnerEligibleForRereview:P,applyReview:J,isProgramInfinity:S,errorResponse:M,showErrorMessage:I,programName:Z,reviewerAssignmentStrategy:G,isProgramRestartable:L}}}),f=m,g=a(1001),p=(0,g.Z)(f,s,r,!1,null,"fb599762",null),b=p.exports},1920:function(e,t,a){a.d(t,{G:function(){return r},d:function(){return i}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.get(`${e}/${t}`);return a},i=async(e,t)=>{const a=await s.Z.post(e,t);return a}},9756:function(e,t,a){e.exports=a.p+"img/loadernew.gif"},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0uTC6y123jDowufdngeUmg2UlTBs7HxHKYhrL5NvuqLpakHFnUbyScBySEQ6aJajE1iE9kKTB5NBbBIMT7mi/T3dUj7XZFCDJlmEh/PVmDyaLKBXS1CihDlcJ8L35+7mBnLPkVyvIh0RawxxEwhmXpcYD3oq3WU6WrQ1VRzu7CG2t5Bpro1Ge7toL2zg+7n9EWmHphh/9rrxFtL/8biz9fy2sbdSF7RxlJpCsnU4wDrLY7n1AlPDgWEEhQWyNaV+zlW3kKHHJ8q9ZUkciUticxOecJMWUaG2SmZs9oG77PnWLV3Hy8r9iNdSJkY2jPAmojdYMe+1Arq5ZnuzAhi6h5SV3OXjBuV1A8MM8IAXfpqcm9oqeoZpKuhirybhaiL71J8p5LCggLU1a1i3SBt9+9w62YRN0orKSmvIP92Edm1Y/j76WzWkV+g5XbZHQrKa2kUR5aexntkagpJ1ZSQlVNGU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k5qjgZ1TghfzNzAmtgy6vsEMMU6fu2uJjU3n9Rribi7nyHggUi2di0XNq3nPZ8sMjR5JMZG4+JzieiWYdpLU1Ee8OJ0Yg7Xs9MI8L2IW1A+dfV5HDl2mLnKdHTyuavzRhC2RxzZJn5wVY1tou0xT1MPLFpAuZiG5BsvQIgG40KigGeLtHYHUkgWUowAppLXjz0BeQZYPw2ZKbh/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([[781],{4735:function(e,t,a){a.d(t,{Z:function(){return u}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:a(6540)}})])])])])])},r=[],i=a(7203),l=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),a=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:a}}}),o=l,n=a(1001),c=(0,n.Z)(o,s,r,!1,null,null,null),u=c.exports},4365:function(e,t,a){a.d(t,{Z:function(){return u}});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"},[t("span",[e._v(e._s(e.proficiency)+" - ")]),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))])])])},r=[],i=a(7203),l=(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}}}),o=l,n=a(1001),c=(0,n.Z)(o,s,r,!1,null,null,null),u=c.exports},1604:function(e,t,a){a.r(t),a.d(t,{default:function(){return b}});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():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.getLearner.statusRes.linked_program_name,proficiency:e.proficiency,skill:e.skill}}),t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[e.pass||e.fail?t("ul",{staticClass:"done"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{staticClass:"active"},[e._v("Done!")])]):e._e(),e.needReviewer?t("ul",{staticClass:"underReview"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{},[e._v("Done!")])]):e._e()])]),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[e.pass?t("div",{staticClass:"text-gray-600"},[e._m(0),"infinity"===e.programName?t("div",[t("p",{staticClass:"pt-3"},[e._v("Now remember to do the followning:")]),t("ol",{staticClass:"list-decimal pl-8 mt-3"},[t("li",[e._v(" Mark yourself as "),t("b",[e._v(e._s(e.nextProficiency)+" "+e._s(e.skill))]),e._v(" in "),t("a",{staticClass:"italic text-blue-900 underline",attrs:{href:"https://genome.genpact.com/my-profile"}},[e._v("My Profile")]),e._v(". ")])])]):e._e(),t("div",{staticClass:"mt-4",domProps:{innerHTML:e._s(e.allReviewerComments)}}),e.feedbackshow?t("div",[t("p",{staticClass:"pt-6"},[e._v("Please rate your Solidify journey experience.")]),t("div",{staticClass:"border border-gray-300 px-4 py-6 mt-2"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"1"},domProps:{checked:e._q(e.feedback,"1")},on:{change:function(t){e.feedback="1"}}}),e._v(" 1 - Poor")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"2"},domProps:{checked:e._q(e.feedback,"2")},on:{change:function(t){e.feedback="2"}}}),e._v(" 2 - Below Average")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"3"},domProps:{checked:e._q(e.feedback,"3")},on:{change:function(t){e.feedback="3"}}}),e._v(" 3 - Avergae")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"4"},domProps:{checked:e._q(e.feedback,"4")},on:{change:function(t){e.feedback="4"}}}),e._v(" 4 - Above Average")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.feedback,expression:"feedback"}],attrs:{type:"radio",name:"q",value:"5"},domProps:{checked:e._q(e.feedback,"5")},on:{change:function(t){e.feedback="5"}}}),e._v(" 5 - Excellent")])]),e.validationShow?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.ratingValidationMsg))]):e._e(),t("div",{staticClass:"pt-4"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.comment,expression:"comment"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.comment},on:{input:function(t){t.target.composing||(e.comment=t.target.value)}}}),e.validationShow?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.commentValidationMsg))]):e._e()]),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:function(t){return e.creatFeedback()}}},[e._v(" Submit Feedback ")])])]):e._e()]):e._e(),e.fail?t("div",{staticClass:"text-gray-600"},[e._m(1),e.isProgramRestartable?t("p",{staticClass:"pt-3"},[e._v("Unfortunately, you did not pass Solidify. Please try again by Clicking "),t("strong",[e._v("Start Solidify")]),e._v(".")]):t("p",{staticClass:"pt-3"},[e._v("Unfortunately, you did not pass Solidify.")]),e._m(2),t("div",{staticClass:"mt-4",domProps:{innerHTML:e._s(e.allReviewerComments)}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isProgramRestartable,expression:"isProgramRestartable"}]},[e._m(3),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("router-link",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.getLearner.statusRes.skill,proficiency_id:e.getLearner.statusRes.proficiency,program_id:e.getLearner.statusRes.linked_program_name}}}},[e._v(" Start Solidify ")])],1)]),e.learnerEligibleForRereview?[t("p",{staticClass:"pt-6"},[e._v("However, if you're confident about your submission and do not feel 100% satisfied with the reviewers' comments, you can apply for a re-review of your submission.")]),e._m(4),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:function(t){return e.applyReview()}}},[e._v(" Re-review ")])])]:e._e()],2):e._e(),e.needReviewer?t("div",{staticClass:"text-gray-600"},[t("div",["Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?[t("p",{staticClass:"pt-2"},[e._v("Thank you for doing reviews.")]),t("p",{staticClass:"pt-2"},[e._v("The task is being reviewed by your colleagues, who are going through the same process you just did as they review your task.")]),t("p",{staticClass:"pt-2"},[e._v(" You will receive an email once the reviews have been completed telling you if your submissions passed, or if you will need to redo Solidify. Typically, this process may take 7-10 working days from the day of task submission. ")])]:[t("p",{staticClass:"pt-2"},[e._v("Thank you for submitting your task.")]),t("p",{staticClass:"pt-2"},[e._v("Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.")])],e._m(5),t("p",{staticClass:"pt-12"},[e._v(" Preview Status as of "),t("strong",[e._v(e._s(e.lastModifiedDate))])])],2),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",attrs:{to:{name:"SolidifyLearnerFail"}},on:{click:function(t){return e.getLearnerDetails()}}},[e._v(" Check Status ")])])]):e._e()])])],1)])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Congratulations you have passed Solidify! You have successfully submitted your task, done your peer reviews, and had your task reviewed.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Please Try Again!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("Here is what your reviewers had to say about your task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[t("b",[e._v("Please click below to start Solidify again for skill and proficiency. You can redo Solidify as many times as you need.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[e._v("Click on "),t("strong",[e._v("Re-review")]),e._v(" to request for re-review")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("You can also click the "),t("strong",[e._v("Check Status")]),e._v(" button to see if your submission has been reviewed.")])}],i=(a(7658),a(7203)),l=a(1602),o=a.n(l),n=a(1920),c=a(306),u=a(4735),d=a(4365),v=a(6408),m=(0,i.defineComponent)({name:"LearnerSubmitTask",components:{ErrorMessage:u.Z,Greetings:d.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(!1),a=(0,i.ref)(!1),s=(0,i.ref)(!1),r=(0,i.ref)(),l=(0,i.ref)(),u=(0,i.ref)(localStorage.getItem("skillName")),d=(0,i.ref)(localStorage.getItem("proficiency")),m=(0,i.ref)(localStorage.getItem("programId")),f=(0,i.ref)(localStorage.getItem("skillId")),g=(0,i.ref)(localStorage.getItem("profId")),p=(0,i.ref)(),b=(0,i.ref)(),y=(0,i.ref)(e.query.learner_task_id),_=(0,i.ref)(localStorage.getItem("helpmateLink")),k=(0,i.ref)(),w=(0,i.ref)(),x=(0,i.ref)(),h=(0,i.ref)(!1),C=(0,i.ref)(),A=(0,i.ref)(),R=(0,i.ref)(!0),S=(0,i.ref)(!0),L=(0,i.ref)(),P=(0,i.ref)(!1),M=(0,i.ref)(),I=(0,i.ref)(!1),Z=(0,i.ref)(),G=(0,i.ref)(),U=async()=>{try{k.value=!1;const e=await(0,n.G)("learnerStatus",y.value);r.value=e.data,G.value=r.value.program_reviewer_strategy,console.log(`getLearner.value ${JSON.stringify(r.value)}`),k.value=!0,console.log("status",JSON.stringify(r.value)),"notpassed"===r.value.statusRes?(k.value=!0,M.value=r.value.statusMessage,I.value=!0,s.value=!1):"Passed"===r.value.statusRes.learner_status?(t.value=!0,s.value=!1,l.value=r.value.statusRes.all_reviewer_comments):"Fail"===r.value.statusRes.learner_status?(a.value=!0,s.value=!1,l.value=r.value.statusRes.all_reviewer_comments,console.log(`getLearner.value.statusRes.linked_program_name ${r.value.statusRes.linked_program_name}`),console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${"infinity"!==r.value.statusRes.linked_program_name}`),"infinity"!==r.value.statusRes.linked_program_name&&(S.value=!1),L.value=r.value.program_is_restartable,r.value.learner_eligible_for_rereview&&(P.value=!0)):"Need Reviewer"===r.value.statusRes.learner_status&&(r.value.is_learner_not_allowed&&(console.log("learner on hold submit task"),v.Z.push({path:"/solidify",query:{skill_id:f.value,proficiency_id:g.value,program_id:m.value}})),s.value=!0,b.value=o()(r.value.statusRes.modified_date).format("dddd, MMMM Do YYYY, h:mm:ss a"),console.log(`lastModifiedDate.value ${b.value}`)),r.value.feedback?R.value=!1:R.value=!0}catch(e){if(k.value=!0,console.log("error while fetching learner details",e),c.Z.isAxiosError(e)){const t=e;M.value=t.response?.data?.message}else M.value="There is an issue while fetching learner status, please contact helpmate.";I.value=!0}},T=async()=>{try{if(k.value=!1,x.value)if(w.value){const e={learner_task_id:y.value,skill_id:localStorage.getItem("skillId"),proficiency_id:localStorage.getItem("profId"),skill_name:u.value,proficiency_name:d.value,program_id:localStorage.getItem("programId"),learner_key:localStorage.getItem("user_key"),rating:x.value,comment:w.value},t=await(0,n.d)("/createFeedback",e),a=t.data;console.log(`res after creating feedback ${JSON.stringify(a)}`),await U(),k.value=!0}else k.value=!0,h.value=!0,A.value="Please add comment",setTimeout((()=>{A.value=null,h.value=!1}),6e3);else k.value=!0,h.value=!0,C.value="Please select Rating",setTimeout((()=>{C.value=null,h.value=!1}),6e3)}catch(e){if(console.log(e),k.value=!0,c.Z.isAxiosError(e)){const t=e;M.value=t.response?.data?.message}else M.value="There is some issue while creating feedback, please contact helpmate.";I.value=!0}};(0,i.onBeforeMount)((async()=>{Z.value=localStorage.getItem("programName"),U(),"Beginner"===d.value?p.value="Intermediate":"Intermediate"===d.value?p.value="Proficient":"Proficient"===d.value&&(p.value="Expert")}));const J=async()=>{v.Z.push({path:"/solidify/rereview",query:{learner_task_id:y.value}})};return{pass:t,fail:a,skill:u,proficiency:d,allReviewerComments:l,getLearner:r,needReviewer:s,getLearnerDetails:U,lastModifiedDate:b,helpmateLink:_,renderReady:k,nextProficiency:p,creatFeedback:T,comment:w,feedback:x,commentValidationMsg:A,ratingValidationMsg:C,validationShow:h,feedbackshow:R,learnerEligibleForRereview:P,applyReview:J,isProgramInfinity:S,errorResponse:M,showErrorMessage:I,programName:Z,reviewerAssignmentStrategy:G,isProgramRestartable:L}}}),f=m,g=a(1001),p=(0,g.Z)(f,s,r,!1,null,"0834cf74",null),b=p.exports},1920:function(e,t,a){a.d(t,{G:function(){return r},d:function(){return i}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.get(`${e}/${t}`);return a},i=async(e,t)=>{const a=await s.Z.post(e,t);return a}},9756:function(e,t,a){e.exports=a.p+"img/loadernew.gif"},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjE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PzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="}}]);
2
2
  //# sourceMappingURL=solidify.umd.min.SolidifyLearnerDone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"solidify.umd.min.SolidifyLearnerDone.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOC,SAAS,CAAC,UAAYN,EAAIO,GAAGP,EAAIQ,eAAeN,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,IAAI,CAACO,MAAM,CAAC,KAAOT,EAAIU,aAAa,OAAS,WAAW,CAACR,EAAG,MAAM,CAACG,YAAY,UAAUI,MAAM,CAAC,IAAME,EAAQ,kBACve,EACIC,EAAkB,G,UCCtB,GAAeC,EAAAA,EAAAA,iBAAgB,CAC7BC,KAAM,eACNC,MAAO,CACLC,aAAc,CACZC,KAAMC,OACNC,QAAS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AYH,MACduB,EAAgBvB,MAAQ,eACO,iBAAtBG,EAAYH,MACrBuB,EAAgBvB,MAAQ,aACO,eAAtBG,EAAYH,QACrBuB,EAAgBvB,MAAQ,S,IAI5B,MAAM8C,EAAc/C,UAClB2E,EAAAA,EAAAA,KAAY,CAAEC,KAAM,qBAAsBlC,MAAO,CAAEiB,gBAAiBD,EAAczD,QAAU,EAG9F,MAAO,CACLiB,OACAC,OACAd,QACAD,cACAqB,sBACAV,aACAM,eACA4B,oBACAD,mBACA/D,eACA2B,cACAY,kBACAgB,gBACAJ,UACAP,WACAU,uBACAJ,sBACAD,iBACAR,eACAoB,6BACAC,cACAa,oBACAV,gBACArC,mBACAU,cACAH,6BACAqB,uBAEJ,ICjNgS,I,UCQ9RvC,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,4FCXhC,MAAM4D,EAAmB9D,MAAO6F,EAAaC,KAS3C,MAAMjC,QAAYkC,EAAAA,EAAAA,IAAU,GAAGF,KAAOC,KACtC,OAAOjC,CAAG,EAGN6B,EAAe1F,MAAO6F,EAAaR,KAQvC,MAAMxB,QAAYkC,EAAAA,EAAAA,KAAWF,EAAKR,GAClC,OAAOxB,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","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_Done.vue","webpack://solidify/./src/views/Learner_Done.vue?e918","webpack://solidify/./src/views/Learner_Done.vue?3570","webpack://solidify/./src/views/Learner_Done.vue?1a28","webpack://solidify/./src/utils/done_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/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,_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\"},[_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]),_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=77a3270e&\"\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)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.getLearner.statusRes.linked_program_name,\"proficiency\":_vm.proficiency,\"skill\":_vm.skill}}),_c('div',{staticClass:\"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[(_vm.pass || _vm.fail)?_c('ul',{staticClass:\"done\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Done!\")])]):_vm._e(),(_vm.needReviewer)?_c('ul',{staticClass:\"underReview\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{},[_vm._v(\"Done!\")])]):_vm._e()])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block mt-4\"},[(_vm.pass)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(0),(_vm.programName === 'infinity')?_c('div',[_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Now remember to do the followning:\")]),_c('ol',{staticClass:\"list-decimal pl-8 mt-3\"},[_c('li',[_vm._v(\" Mark yourself as \"),_c('b',[_vm._v(_vm._s(_vm.nextProficiency)+\" \"+_vm._s(_vm.skill))]),_vm._v(\" in \"),_c('a',{staticClass:\"italic text-blue-900 underline\",attrs:{\"href\":\"https://genome.genpact.com/my-profile\"}},[_vm._v(\"My Profile\")]),_vm._v(\". \")])])]):_vm._e(),_c('div',{staticClass:\"mt-4\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}}),(_vm.feedbackshow)?_c('div',[_c('p',{staticClass:\"pt-6\"},[_vm._v(\"Please rate your Solidify journey experience.\")]),_c('div',{staticClass:\"border border-gray-300 px-4 py-6 mt-2\"},[_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"1\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"1\")},on:{\"change\":function($event){_vm.feedback=\"1\"}}}),_vm._v(\" 1 - Poor\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"2\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"2\")},on:{\"change\":function($event){_vm.feedback=\"2\"}}}),_vm._v(\" 2 - Below Average\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"3\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"3\")},on:{\"change\":function($event){_vm.feedback=\"3\"}}}),_vm._v(\" 3 - Avergae\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"4\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"4\")},on:{\"change\":function($event){_vm.feedback=\"4\"}}}),_vm._v(\" 4 - Above Average\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"5\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"5\")},on:{\"change\":function($event){_vm.feedback=\"5\"}}}),_vm._v(\" 5 - Excellent\")])]),(_vm.validationShow)?_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.ratingValidationMsg))]):_vm._e(),_c('div',{staticClass:\"pt-4\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.comment),expression:\"comment\"}],staticClass:\"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none\",attrs:{\"id\":\"exampleFormControlTextarea1\",\"rows\":\"3\",\"placeholder\":\"Your message\"},domProps:{\"value\":(_vm.comment)},on:{\"input\":function($event){if($event.target.composing)return;_vm.comment=$event.target.value}}}),(_vm.validationShow)?_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.commentValidationMsg))]):_vm._e()]),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.creatFeedback()}}},[_vm._v(\" Submit Feedback \")])])]):_vm._e()]):_vm._e(),(_vm.fail)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(1),(_vm.isProgramRestartable)?_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Unfortunately, you did not pass Solidify. Please try again by Clicking \"),_c('strong',[_vm._v(\"Start Solidify\")]),_vm._v(\".\")]):_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Unfortunately, you did not pass Solidify.\")]),_vm._m(2),_c('div',{staticClass:\"mt-4\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isProgramRestartable),expression:\"isProgramRestartable\"}]},[_vm._m(3),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('router-link',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.getLearner.statusRes.skill, proficiency_id: _vm.getLearner.statusRes.proficiency, program_id: _vm.getLearner.statusRes.linked_program_name } }}},[_vm._v(\" Start Solidify \")])],1)]),(_vm.learnerEligibleForRereview)?[_c('p',{staticClass:\"pt-6\"},[_vm._v(\"However, if you're confident about your submission and do not feel 100% satisfied with the reviewers' comments, you can apply for a re-review of your submission.\")]),_vm._m(4),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview()}}},[_vm._v(\" Re-review \")])])]:_vm._e()],2):_vm._e(),(_vm.needReviewer)?_c('div',{staticClass:\"text-gray-600\"},[_c('div',[(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Thank you for doing reviews.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"The task is being reviewed by your colleagues, who are going through the same process you just did as they review your task.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" You will receive an email once the reviews have been completed telling you if your submissions passed, or if you will need to redo Solidify. Typically, this process may take 7-10 working days from the day of task submission. \")])]:[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Thank you for submitting your task.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.\")])],_vm._m(5),_c('p',{staticClass:\"pt-12\"},[_vm._v(\" Preview Status as of \"),_c('strong',[_vm._v(_vm._s(_vm.lastModifiedDate))])])],2),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",attrs:{\"to\":{ name: 'SolidifyLearnerFail' }},on:{\"click\":function($event){return _vm.getLearnerDetails()}}},[_vm._v(\" Check Status \")])])]):_vm._e()])])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('b',[_vm._v(\"Congratulations you have passed Solidify! You have successfully submitted your task, done your peer reviews, and had your task reviewed.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('b',[_vm._v(\"Please Try Again!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('b',[_vm._v(\"Here is what your reviewers had to say about your task\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_c('b',[_vm._v(\"Please click below to start Solidify again for skill and proficiency. You can redo Solidify as many times as you need.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"Re-review\")]),_vm._v(\" to request for re-review\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"You can also click the \"),_c('strong',[_vm._v(\"Check Status\")]),_vm._v(\" button to see if your colleagues have reviewed your submission.\")])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport Moment from 'moment';\nimport { getLearnerStatus, saveFeedback } from '@/utils/done_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '../router';\n// import moment from 'moment';\n\n// import store from '@/store';\n\nexport default defineComponent({\n name: 'LearnerSubmitTask',\n components: { ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const pass = ref(false);\n const fail = ref(false);\n const needReviewer = ref(false);\n const getLearner = ref();\n const allReviewerComments = ref();\n const skill = ref(localStorage.getItem('skillName'));\n const proficiency = ref(localStorage.getItem('proficiency'));\n const programId = ref(localStorage.getItem('programId'));\n const skillId = ref(localStorage.getItem('skillId'));\n const proficiencyId = ref(localStorage.getItem('profId'));\n const nextProficiency = ref();\n const lastModifiedDate = ref();\n const learnerTaskId = ref(props.query.learner_task_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const renderReady = ref();\n const comment = ref();\n const feedback = ref();\n const validationShow = ref(false);\n const ratingValidationMsg = ref();\n const commentValidationMsg = ref();\n const feedbackshow = ref(true);\n const isProgramInfinity = ref(true);\n const isProgramRestartable = ref();\n const learnerEligibleForRereview = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const reviewerAssignmentStrategy = ref();\n const getLearnerDetails = async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getLearnerStatus('learnerStatus', learnerTaskId.value);\n getLearner.value = res.data;\n reviewerAssignmentStrategy.value = getLearner.value.program_reviewer_strategy;\n console.log(`getLearner.value ${JSON.stringify(getLearner.value)}`);\n renderReady.value = true;\n console.log('status', JSON.stringify(getLearner.value));\n if (getLearner.value.statusRes === 'notpassed') {\n renderReady.value = true;\n errorResponse.value = getLearner.value.statusMessage;\n showErrorMessage.value = true;\n needReviewer.value = false;\n } else if (getLearner.value.statusRes.learner_status === 'Passed') {\n pass.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n } else if (getLearner.value.statusRes.learner_status === 'Fail') {\n fail.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n console.log(`getLearner.value.statusRes.linked_program_name ${getLearner.value.statusRes.linked_program_name}`);\n console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${getLearner.value.statusRes.linked_program_name !== 'infinity'}`);\n if (getLearner.value.statusRes.linked_program_name !== 'infinity') isProgramInfinity.value = false;\n isProgramRestartable.value = getLearner.value.program_is_restartable;\n if (getLearner.value.learner_eligible_for_rereview) learnerEligibleForRereview.value = true;\n } else if (getLearner.value.statusRes.learner_status === 'Need Reviewer') {\n if (getLearner.value.is_learner_not_allowed) {\n console.log('learner on hold submit task');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: proficiencyId.value, program_id: programId.value } });\n }\n needReviewer.value = true;\n // let localTime = Moment.utc(getLearner.value.statusRes.modified_date).toDate();\n // let date = new Date();\n lastModifiedDate.value = Moment(getLearner.value.statusRes.modified_date).format('dddd, MMMM Do YYYY, h:mm:ss a');\n console.log(`lastModifiedDate.value ${lastModifiedDate.value}`);\n // lastModifiedDate.value = date;\n }\n if (getLearner.value.feedback) {\n feedbackshow.value = false;\n } else {\n feedbackshow.value = true;\n }\n } catch (error) {\n renderReady.value = true;\n console.log('error while fetching learner details', error);\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue while fetching learner status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n const creatFeedback = async () => {\n try {\n renderReady.value = false;\n if (!feedback.value) {\n renderReady.value = true;\n validationShow.value = true;\n ratingValidationMsg.value = 'Please select Rating';\n setTimeout(() => {\n ratingValidationMsg.value = null;\n validationShow.value = false;\n }, 6000);\n } else if (!comment.value) {\n renderReady.value = true;\n validationShow.value = true;\n commentValidationMsg.value = 'Please add comment';\n setTimeout(() => {\n commentValidationMsg.value = null;\n validationShow.value = false;\n }, 6000);\n } else {\n const feedbackData = {\n learner_task_id: learnerTaskId.value,\n skill_id: localStorage.getItem('skillId'),\n proficiency_id: localStorage.getItem('profId'),\n skill_name: skill.value,\n proficiency_name: proficiency.value,\n program_id: localStorage.getItem('programId'),\n learner_key: localStorage.getItem('user_key'),\n rating: feedback.value,\n comment: comment.value,\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await saveFeedback('/createFeedback', feedbackData);\n const feedbackRes = res.data;\n console.log(`res after creating feedback ${JSON.stringify(feedbackRes)}`);\n await getLearnerDetails();\n renderReady.value = true;\n }\n } catch (error) {\n console.log(error);\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue while creating feedback, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n // renderReady.value = false;\n programName.value = localStorage.getItem('programName');\n getLearnerDetails();\n if (proficiency.value === 'Beginner') {\n nextProficiency.value = 'Intermediate';\n } else if (proficiency.value === 'Intermediate') {\n nextProficiency.value = 'Proficient';\n } else if (proficiency.value === 'Proficient') {\n nextProficiency.value = 'Expert';\n }\n // renderReady.value = true;\n });\n const applyReview = async () => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: learnerTaskId.value } });\n };\n // const welcomeMsg = computed(() => store.getters['landing/welcomeMessage']);\n return {\n pass,\n fail,\n skill,\n proficiency,\n allReviewerComments,\n getLearner,\n needReviewer,\n getLearnerDetails,\n lastModifiedDate,\n helpmateLink,\n renderReady,\n nextProficiency,\n creatFeedback,\n comment,\n feedback,\n commentValidationMsg,\n ratingValidationMsg,\n validationShow,\n feedbackshow,\n learnerEligibleForRereview,\n applyReview,\n isProgramInfinity,\n errorResponse,\n showErrorMessage,\n programName,\n reviewerAssignmentStrategy,\n isProgramRestartable,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Done.vue?vue&type=template&id=fb599762&scoped=true&\"\nimport script from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Done.vue?vue&type=style&index=0&id=fb599762&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fb599762\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../plugins/axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst getLearnerStatus = async (url: string, learnerTaskIid: string) => {\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.get(`${url}/${learnerTaskIid}`).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.get(`${url}/${learnerTaskIid}`);\n return res;\n};\n\nconst saveFeedback = async (url: string, feedbackData: any) => {\n // let res;\n // await $http.post(url, feedbackData).then((response) => {\n // console.log('axios response', response);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.post(url, feedbackData);\n return res;\n};\n\nexport { getLearnerStatus, saveFeedback };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","_v","proficiency","skill","username","program","item","split","reverse","join","renderReady","showErrorMessage","_e","getLearner","statusRes","linked_program_name","pass","fail","reviewerAssignmentStrategy","needReviewer","_m","programName","nextProficiency","allReviewerComments","feedbackshow","directives","rawName","feedback","expression","_q","on","$event","validationShow","ratingValidationMsg","comment","target","composing","commentValidationMsg","creatFeedback","isProgramRestartable","query","skill_id","proficiency_id","program_id","learnerEligibleForRereview","applyReview","lastModifiedDate","getLearnerDetails","errorResponse","components","ErrorMessage","Greetings","Object","programId","skillId","proficiencyId","learnerTaskId","learner_task_id","isProgramInfinity","res","getLearnerStatus","data","program_reviewer_strategy","console","log","JSON","stringify","statusMessage","learner_status","all_reviewer_comments","program_is_restartable","learner_eligible_for_rereview","is_learner_not_allowed","router","path","Moment","modified_date","format","error","axios","err","response","message","feedbackData","skill_name","proficiency_name","learner_key","rating","saveFeedback","feedbackRes","setTimeout","url","learnerTaskIid","$http"],"sourceRoot":""}
1
+ {"version":3,"file":"solidify.umd.min.SolidifyLearnerDone.js","mappings":"iNAAA,IAAIA,EAAS,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,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X,OAAQ,EAChBgF,EAAAA,EAAAA,aAAmBD,GAAQ,CAC7B,MAAME,EAAMF,EAEZ9B,EAAcjD,MAASiF,EAAIC,UAAUpB,MAA8BqB,O,MAGnElC,EAAcjD,MAAQ,wEAExBY,EAAiBZ,OAAQ,C,IAG7BF,EAAAA,EAAAA,gBAAcC,UAEZuB,EAAYtB,MAAQJ,aAAaC,QAAQ,eACzCmD,IAC0B,aAAtB7C,EAAYH,MACduB,EAAgBvB,MAAQ,eACO,iBAAtBG,EAAYH,MACrBuB,EAAgBvB,MAAQ,aACO,eAAtBG,EAAYH,QACrBuB,EAAgBvB,MAAQ,S,IAI5B,MAAM8C,EAAc/C,UAClB2E,EAAAA,EAAAA,KAAY,CAAEC,KAAM,qBAAsBlC,MAAO,CAAEiB,gBAAiBD,EAAczD,QAAU,EAG9F,MAAO,CACLiB,OACAC,OACAd,QACAD,cACAqB,sBACAV,aACAM,eACA4B,oBACAD,mBACA/D,eACA2B,cACAY,kBACAgB,gBACAJ,UACAP,WACAU,uBACAJ,sBACAD,iBACAR,eACAoB,6BACAC,cACAa,oBACAV,gBACArC,mBACAU,cACAH,6BACAqB,uBAEJ,ICjNgS,I,UCQ9RvC,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,4FCXhC,MAAM4D,EAAmB9D,MAAO6F,EAAaC,KAS3C,MAAMjC,QAAYkC,EAAAA,EAAAA,IAAU,GAAGF,KAAOC,KACtC,OAAOjC,CAAG,EAGN6B,EAAe1F,MAAO6F,EAAaR,KAQvC,MAAMxB,QAAYkC,EAAAA,EAAAA,KAAWF,EAAKR,GAClC,OAAOxB,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","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_Done.vue","webpack://solidify/./src/views/Learner_Done.vue?e918","webpack://solidify/./src/views/Learner_Done.vue?3570","webpack://solidify/./src/views/Learner_Done.vue?1a28","webpack://solidify/./src/utils/done_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/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,_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\"},[_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]),_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=77a3270e&\"\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)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.getLearner.statusRes.linked_program_name,\"proficiency\":_vm.proficiency,\"skill\":_vm.skill}}),_c('div',{staticClass:\"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[(_vm.pass || _vm.fail)?_c('ul',{staticClass:\"done\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Done!\")])]):_vm._e(),(_vm.needReviewer)?_c('ul',{staticClass:\"underReview\"},[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',{staticClass:\"active\"},[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',{staticClass:\"active\"},[_vm._v(\"Under Review\")]),_c('li',{},[_vm._v(\"Done!\")])]):_vm._e()])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block mt-4\"},[(_vm.pass)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(0),(_vm.programName === 'infinity')?_c('div',[_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Now remember to do the followning:\")]),_c('ol',{staticClass:\"list-decimal pl-8 mt-3\"},[_c('li',[_vm._v(\" Mark yourself as \"),_c('b',[_vm._v(_vm._s(_vm.nextProficiency)+\" \"+_vm._s(_vm.skill))]),_vm._v(\" in \"),_c('a',{staticClass:\"italic text-blue-900 underline\",attrs:{\"href\":\"https://genome.genpact.com/my-profile\"}},[_vm._v(\"My Profile\")]),_vm._v(\". \")])])]):_vm._e(),_c('div',{staticClass:\"mt-4\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}}),(_vm.feedbackshow)?_c('div',[_c('p',{staticClass:\"pt-6\"},[_vm._v(\"Please rate your Solidify journey experience.\")]),_c('div',{staticClass:\"border border-gray-300 px-4 py-6 mt-2\"},[_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"1\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"1\")},on:{\"change\":function($event){_vm.feedback=\"1\"}}}),_vm._v(\" 1 - Poor\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"2\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"2\")},on:{\"change\":function($event){_vm.feedback=\"2\"}}}),_vm._v(\" 2 - Below Average\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"3\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"3\")},on:{\"change\":function($event){_vm.feedback=\"3\"}}}),_vm._v(\" 3 - Avergae\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"4\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"4\")},on:{\"change\":function($event){_vm.feedback=\"4\"}}}),_vm._v(\" 4 - Above Average\")]),_c('label',{staticClass:\"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.feedback),expression:\"feedback\"}],attrs:{\"type\":\"radio\",\"name\":\"q\",\"value\":\"5\"},domProps:{\"checked\":_vm._q(_vm.feedback,\"5\")},on:{\"change\":function($event){_vm.feedback=\"5\"}}}),_vm._v(\" 5 - Excellent\")])]),(_vm.validationShow)?_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.ratingValidationMsg))]):_vm._e(),_c('div',{staticClass:\"pt-4\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.comment),expression:\"comment\"}],staticClass:\"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none\",attrs:{\"id\":\"exampleFormControlTextarea1\",\"rows\":\"3\",\"placeholder\":\"Your message\"},domProps:{\"value\":(_vm.comment)},on:{\"input\":function($event){if($event.target.composing)return;_vm.comment=$event.target.value}}}),(_vm.validationShow)?_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.commentValidationMsg))]):_vm._e()]),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.creatFeedback()}}},[_vm._v(\" Submit Feedback \")])])]):_vm._e()]):_vm._e(),(_vm.fail)?_c('div',{staticClass:\"text-gray-600\"},[_vm._m(1),(_vm.isProgramRestartable)?_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Unfortunately, you did not pass Solidify. Please try again by Clicking \"),_c('strong',[_vm._v(\"Start Solidify\")]),_vm._v(\".\")]):_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Unfortunately, you did not pass Solidify.\")]),_vm._m(2),_c('div',{staticClass:\"mt-4\",domProps:{\"innerHTML\":_vm._s(_vm.allReviewerComments)}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isProgramRestartable),expression:\"isProgramRestartable\"}]},[_vm._m(3),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('router-link',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.getLearner.statusRes.skill, proficiency_id: _vm.getLearner.statusRes.proficiency, program_id: _vm.getLearner.statusRes.linked_program_name } }}},[_vm._v(\" Start Solidify \")])],1)]),(_vm.learnerEligibleForRereview)?[_c('p',{staticClass:\"pt-6\"},[_vm._v(\"However, if you're confident about your submission and do not feel 100% satisfied with the reviewers' comments, you can apply for a re-review of your submission.\")]),_vm._m(4),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview()}}},[_vm._v(\" Re-review \")])])]:_vm._e()],2):_vm._e(),(_vm.needReviewer)?_c('div',{staticClass:\"text-gray-600\"},[_c('div',[(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Thank you for doing reviews.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"The task is being reviewed by your colleagues, who are going through the same process you just did as they review your task.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" You will receive an email once the reviews have been completed telling you if your submissions passed, or if you will need to redo Solidify. Typically, this process may take 7-10 working days from the day of task submission. \")])]:[_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Thank you for submitting your task.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.\")])],_vm._m(5),_c('p',{staticClass:\"pt-12\"},[_vm._v(\" Preview Status as of \"),_c('strong',[_vm._v(_vm._s(_vm.lastModifiedDate))])])],2),_c('div',{staticClass:\"mt-6 mb-4 text-center\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75\",attrs:{\"to\":{ name: 'SolidifyLearnerFail' }},on:{\"click\":function($event){return _vm.getLearnerDetails()}}},[_vm._v(\" Check Status \")])])]):_vm._e()])])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('b',[_vm._v(\"Congratulations you have passed Solidify! You have successfully submitted your task, done your peer reviews, and had your task reviewed.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',[_c('b',[_vm._v(\"Please Try Again!\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('b',[_vm._v(\"Here is what your reviewers had to say about your task\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_c('b',[_vm._v(\"Please click below to start Solidify again for skill and proficiency. You can redo Solidify as many times as you need.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-6\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"Re-review\")]),_vm._v(\" to request for re-review\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"You can also click the \"),_c('strong',[_vm._v(\"Check Status\")]),_vm._v(\" button to see if your submission has been reviewed.\")])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport Moment from 'moment';\nimport { getLearnerStatus, saveFeedback } from '@/utils/done_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '../router';\n// import moment from 'moment';\n\n// import store from '@/store';\n\nexport default defineComponent({\n name: 'LearnerSubmitTask',\n components: { ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const pass = ref(false);\n const fail = ref(false);\n const needReviewer = ref(false);\n const getLearner = ref();\n const allReviewerComments = ref();\n const skill = ref(localStorage.getItem('skillName'));\n const proficiency = ref(localStorage.getItem('proficiency'));\n const programId = ref(localStorage.getItem('programId'));\n const skillId = ref(localStorage.getItem('skillId'));\n const proficiencyId = ref(localStorage.getItem('profId'));\n const nextProficiency = ref();\n const lastModifiedDate = ref();\n const learnerTaskId = ref(props.query.learner_task_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const renderReady = ref();\n const comment = ref();\n const feedback = ref();\n const validationShow = ref(false);\n const ratingValidationMsg = ref();\n const commentValidationMsg = ref();\n const feedbackshow = ref(true);\n const isProgramInfinity = ref(true);\n const isProgramRestartable = ref();\n const learnerEligibleForRereview = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const reviewerAssignmentStrategy = ref();\n const getLearnerDetails = async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getLearnerStatus('learnerStatus', learnerTaskId.value);\n getLearner.value = res.data;\n reviewerAssignmentStrategy.value = getLearner.value.program_reviewer_strategy;\n console.log(`getLearner.value ${JSON.stringify(getLearner.value)}`);\n renderReady.value = true;\n console.log('status', JSON.stringify(getLearner.value));\n if (getLearner.value.statusRes === 'notpassed') {\n renderReady.value = true;\n errorResponse.value = getLearner.value.statusMessage;\n showErrorMessage.value = true;\n needReviewer.value = false;\n } else if (getLearner.value.statusRes.learner_status === 'Passed') {\n pass.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n } else if (getLearner.value.statusRes.learner_status === 'Fail') {\n fail.value = true;\n needReviewer.value = false;\n allReviewerComments.value = getLearner.value.statusRes.all_reviewer_comments;\n console.log(`getLearner.value.statusRes.linked_program_name ${getLearner.value.statusRes.linked_program_name}`);\n console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${getLearner.value.statusRes.linked_program_name !== 'infinity'}`);\n if (getLearner.value.statusRes.linked_program_name !== 'infinity') isProgramInfinity.value = false;\n isProgramRestartable.value = getLearner.value.program_is_restartable;\n if (getLearner.value.learner_eligible_for_rereview) learnerEligibleForRereview.value = true;\n } else if (getLearner.value.statusRes.learner_status === 'Need Reviewer') {\n if (getLearner.value.is_learner_not_allowed) {\n console.log('learner on hold submit task');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: proficiencyId.value, program_id: programId.value } });\n }\n needReviewer.value = true;\n // let localTime = Moment.utc(getLearner.value.statusRes.modified_date).toDate();\n // let date = new Date();\n lastModifiedDate.value = Moment(getLearner.value.statusRes.modified_date).format('dddd, MMMM Do YYYY, h:mm:ss a');\n console.log(`lastModifiedDate.value ${lastModifiedDate.value}`);\n // lastModifiedDate.value = date;\n }\n if (getLearner.value.feedback) {\n feedbackshow.value = false;\n } else {\n feedbackshow.value = true;\n }\n } catch (error) {\n renderReady.value = true;\n console.log('error while fetching learner details', error);\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue while fetching learner status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n const creatFeedback = async () => {\n try {\n renderReady.value = false;\n if (!feedback.value) {\n renderReady.value = true;\n validationShow.value = true;\n ratingValidationMsg.value = 'Please select Rating';\n setTimeout(() => {\n ratingValidationMsg.value = null;\n validationShow.value = false;\n }, 6000);\n } else if (!comment.value) {\n renderReady.value = true;\n validationShow.value = true;\n commentValidationMsg.value = 'Please add comment';\n setTimeout(() => {\n commentValidationMsg.value = null;\n validationShow.value = false;\n }, 6000);\n } else {\n const feedbackData = {\n learner_task_id: learnerTaskId.value,\n skill_id: localStorage.getItem('skillId'),\n proficiency_id: localStorage.getItem('profId'),\n skill_name: skill.value,\n proficiency_name: proficiency.value,\n program_id: localStorage.getItem('programId'),\n learner_key: localStorage.getItem('user_key'),\n rating: feedback.value,\n comment: comment.value,\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await saveFeedback('/createFeedback', feedbackData);\n const feedbackRes = res.data;\n console.log(`res after creating feedback ${JSON.stringify(feedbackRes)}`);\n await getLearnerDetails();\n renderReady.value = true;\n }\n } catch (error) {\n console.log(error);\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue while creating feedback, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n // renderReady.value = false;\n programName.value = localStorage.getItem('programName');\n getLearnerDetails();\n if (proficiency.value === 'Beginner') {\n nextProficiency.value = 'Intermediate';\n } else if (proficiency.value === 'Intermediate') {\n nextProficiency.value = 'Proficient';\n } else if (proficiency.value === 'Proficient') {\n nextProficiency.value = 'Expert';\n }\n // renderReady.value = true;\n });\n const applyReview = async () => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: learnerTaskId.value } });\n };\n // const welcomeMsg = computed(() => store.getters['landing/welcomeMessage']);\n return {\n pass,\n fail,\n skill,\n proficiency,\n allReviewerComments,\n getLearner,\n needReviewer,\n getLearnerDetails,\n lastModifiedDate,\n helpmateLink,\n renderReady,\n nextProficiency,\n creatFeedback,\n comment,\n feedback,\n commentValidationMsg,\n ratingValidationMsg,\n validationShow,\n feedbackshow,\n learnerEligibleForRereview,\n applyReview,\n isProgramInfinity,\n errorResponse,\n showErrorMessage,\n programName,\n reviewerAssignmentStrategy,\n isProgramRestartable,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Done.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Done.vue?vue&type=template&id=0834cf74&scoped=true&\"\nimport script from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Done.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Done.vue?vue&type=style&index=0&id=0834cf74&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0834cf74\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../plugins/axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nconst getLearnerStatus = async (url: string, learnerTaskIid: string) => {\n // let res;\n // // eslint-disable-next-line camelcase\n // await $http.get(`${url}/${learnerTaskIid}`).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.get(`${url}/${learnerTaskIid}`);\n return res;\n};\n\nconst saveFeedback = async (url: string, feedbackData: any) => {\n // let res;\n // await $http.post(url, feedbackData).then((response) => {\n // console.log('axios response', response);\n // res = response.data;\n // return res;\n // });\n // return res;\n const res = await $http.post(url, feedbackData);\n return res;\n};\n\nexport { getLearnerStatus, saveFeedback };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","_v","proficiency","skill","username","program","item","split","reverse","join","renderReady","showErrorMessage","_e","getLearner","statusRes","linked_program_name","pass","fail","reviewerAssignmentStrategy","needReviewer","_m","programName","nextProficiency","allReviewerComments","feedbackshow","directives","rawName","feedback","expression","_q","on","$event","validationShow","ratingValidationMsg","comment","target","composing","commentValidationMsg","creatFeedback","isProgramRestartable","query","skill_id","proficiency_id","program_id","learnerEligibleForRereview","applyReview","lastModifiedDate","getLearnerDetails","errorResponse","components","ErrorMessage","Greetings","Object","programId","skillId","proficiencyId","learnerTaskId","learner_task_id","isProgramInfinity","res","getLearnerStatus","data","program_reviewer_strategy","console","log","JSON","stringify","statusMessage","learner_status","all_reviewer_comments","program_is_restartable","learner_eligible_for_rereview","is_learner_not_allowed","router","path","Moment","modified_date","format","error","axios","err","response","message","feedbackData","skill_name","proficiency_name","learner_key","rating","saveFeedback","feedbackRes","setTimeout","url","learnerTaskIid","$http"],"sourceRoot":""}