@genpact/genome.mfe.solidify-app 1.43.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/SolidifyAdministrationViewAllProxyRequests.css +1 -1
- package/dist/css/SolidifyLearner.css +1 -1
- package/dist/css/SolidifyLearnerDone.css +1 -1
- package/dist/css/SolidifyLearnerSelectTask.css +1 -1
- package/dist/css/SolidifyLearnerStatus.css +1 -1
- package/dist/solidify.css +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerStatus.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerStatus.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/solidify.umd.min.js +2 -2
- package/dist/solidify.umd.min.js.map +1 -1
- 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([[885],{2645:function(e,t,a){a.r(t),a.d(t,{default:function(){return _}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[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:"w-8 mt-7 mb-4"},[t("button",{staticClass:"mt-4 mr-2 text-blue-900 shadow-md",on:{click:function(t){return e.refreshPage()}}},[t("RefreshCcwIcon",{staticClass:"mr-2",attrs:{size:"1x"}})],1)]),t("div",{staticClass:"w-1/4 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter By Status ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedstatus,expression:"selectedstatus"}],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.selectedstatus=t.target.multiple?a:a[0]},function(t){return e.getSelectedStatus(t)}]}},[t("option",{attrs:{value:""}},[e._v("Select Status")]),e._l(e.proxyStatus,(function(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])}))],2)])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.reviewBtnShow,expression:"reviewBtnShow"}],staticClass:"flex w-full"},[t("router-link",{staticClass:"mt-6 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",attrs:{to:{name:"SolidifyLearnerProxyReview",query:{learner_task_id:e.learnerTaskId}},target:"_blank"}},[e._v("Review")])],1),t("div",{staticClass:"w-full mt-1 tableScroll"},[t("table",{staticClass:"w-full text-center text-md bg-white shadow rounded mb-4"},[t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Task Name")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Task Submission Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("ID - Learner Activities")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Assign Date")]),e.showDeassignCol?t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Deassign Date")]):e._e(),e.showCompletionCol?t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Completion Date")]):e._e(),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("is Re-review")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Status")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.proxyLearnerDetails,(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.reviewCheckOne,expression:"reviewCheckOne"}],attrs:{type:"checkbox",id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.reviewCheckOne)?e._i(e.reviewCheckOne,a.learner_task_id)>-1:e.reviewCheckOne},on:{change:[function(t){var s=e.reviewCheckOne,r=t.target,n=!!r.checked;if(Array.isArray(s)){var i=a.learner_task_id,l=e._i(s,i);r.checked?l<0&&(e.reviewCheckOne=s.concat([i])):l>-1&&(e.reviewCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.reviewCheckOne=n},function(t){return e.showReviewBtn(t,a.learner_task_id,a.review_status)}],click:e.assignedcheckedOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skill))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiency))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.task_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.submission_date))]),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_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),e.showDeassignCol?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.deassignment_date))]):e._e(),e.showCompletionCol?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.completion_date))]):e._e(),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.review_status))])])})),0)])]),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...")])])])])},r=[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("My Proxy Review Request")])])}],n=a(7203),i=a(4856),l=a(1068),
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[885],{2645:function(e,t,a){a.r(t),a.d(t,{default:function(){return _}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[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:"w-8 mt-7 mb-4"},[t("button",{staticClass:"mt-4 mr-2 text-blue-900 shadow-md",on:{click:function(t){return e.refreshPage()}}},[t("RefreshCcwIcon",{staticClass:"mr-2",attrs:{size:"1x"}})],1)]),t("div",{staticClass:"w-1/4 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter By Status ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedstatus,expression:"selectedstatus"}],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.selectedstatus=t.target.multiple?a:a[0]},function(t){return e.getSelectedStatus(t)}]}},[t("option",{attrs:{value:""}},[e._v("Select Status")]),e._l(e.proxyStatus,(function(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])}))],2)])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.reviewBtnShow,expression:"reviewBtnShow"}],staticClass:"flex w-full"},[t("router-link",{staticClass:"mt-6 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",attrs:{to:{name:"SolidifyLearnerProxyReview",query:{learner_task_id:e.learnerTaskId}},target:"_blank"}},[e._v("Review")])],1),t("div",{staticClass:"w-full mt-1 tableScroll"},[t("table",{staticClass:"w-full text-center text-md bg-white shadow rounded mb-4"},[t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Task Name")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Task Submission Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("ID - Learner Activities")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Assign Date")]),e.showDeassignCol?t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Deassign Date")]):e._e(),e.showCompletionCol?t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Completion Date")]):e._e(),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("is Re-review")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Status")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.proxyLearnerDetails,(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.reviewCheckOne,expression:"reviewCheckOne"}],attrs:{type:"checkbox",id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.reviewCheckOne)?e._i(e.reviewCheckOne,a.learner_task_id)>-1:e.reviewCheckOne},on:{change:[function(t){var s=e.reviewCheckOne,r=t.target,n=!!r.checked;if(Array.isArray(s)){var i=a.learner_task_id,l=e._i(s,i);r.checked?l<0&&(e.reviewCheckOne=s.concat([i])):l>-1&&(e.reviewCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.reviewCheckOne=n},function(t){return e.showReviewBtn(t,a.learner_task_id,a.review_status)}],click:e.assignedcheckedOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skill))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiency))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.task_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.submission_date))]),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_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),e.showDeassignCol?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.deassignment_date))]):e._e(),e.showCompletionCol?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.completion_date))]):e._e(),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.review_status))])])})),0)])]),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...")])])])])},r=[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("My Proxy Review Request")])])}],n=a(7203),i=a(4856),l=a(1068),o=a(1602),c=a.n(o),d=(0,n.defineComponent)({components:{RefreshCcwIcon:i.Qn4},name:"ViewRereviewRequests",setup(){const e=(0,n.ref)(),t=(0,n.ref)(),a=(0,n.ref)(),s=(0,n.ref)([]),r=(0,n.ref)(!1),i=(0,n.ref)(),o=(0,n.ref)(),d=(0,n.ref)(""),u=(0,n.ref)(!1),p=(0,n.ref)(!1),v=(0,n.ref)(0),_=(0,n.ref)(0),x=()=>{s.value=[]},f=(e,t,a)=>{const s=e.target.checked;!0===s&&"active"===a?(r.value=!0,i.value=t):r.value=!1},m=async()=>{try{t.value=!1,_.value=0,v.value=0,p.value=!1,u.value=!1;const e=await(0,l.Ho)("/learnerTaskToProxyReview",{review_status:d.value});a.value=e.learnerToProxyAssign,o.value=e.reviewStatus;for(let t=0;t<a.value.length;t+=1){const e=a.value[t];e.assignment_date&&(e.assignment_date=c()(e.assignment_date).utc().format("YYYY-MM-DD")),e.submission_date&&(e.submission_date=c()(e.submission_date).utc().format("YYYY-MM-DD")),e.proxy_requested_date&&(e.proxy_requested_date=c()(e.proxy_requested_date).utc().format("YYYY-MM-DD")),e.completion_date?(_.value+=1,e.completion_date=c()(e.completion_date).utc().format("YYYY-MM-DD")):e.completion_date="",e.deassignment_date?(v.value+=1,e.deassignment_date=c()(e.deassignment_date).utc().format("YYYY-MM-DD")):e.deassignment_date=""}_.value>0&&(p.value=!0),v.value>0&&(u.value=!0),t.value=!0}catch(e){}},y=async()=>{s.value=[],i.value="",r.value=!1,await m()},w=async e=>{d.value=e.target.value,await m()};return(0,n.onBeforeMount)((async()=>{await m()})),{LearnerDetails:e,renderReady:t,proxyLearnerDetails:a,getProxyLearner:m,reviewCheckOne:s,reviewBtnShow:r,learnerTaskId:i,assignedcheckedOne:x,showReviewBtn:f,refreshPage:y,proxyStatus:o,getSelectedStatus:w,selectedstatus:d,showDeassignCol:u,showCompletionCol:p}}}),u=d,p=a(3736),v=(0,p.Z)(u,s,r,!1,null,"e086cae2",null),_=v.exports},1068:function(e,t,a){a.d(t,{Ho:function(){return r},_A:function(){return n},cQ:function(){return i},yc:function(){return l}});var s=a(7129);const r=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},n=async e=>{const t=await s.Z.post("getAllProxyAssignedLearner",e);return t},i=async e=>{const t=await s.Z.post("program/proxies/learners",e);return t},l=async e=>{const t=await s.Z.post("admin/proxy/export",e);return t}}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyAdministrationViewProxyRequests.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidify.umd.min.SolidifyAdministrationViewProxyRequests.js","mappings":"8NAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,SAAS,CAACH,EAAG,MAAM,CAACG,YAAY,6EAA6E,CAACL,EAAIM,GAAG,GAAGJ,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,SAAS,CAACG,YAAY,oCAAoCE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIS,aAAa,IAAI,CAACP,EAAG,iBAAiB,CAACG,YAAY,OAAOK,MAAM,CAAC,KAAO,SAAS,KAAKR,EAAG,MAAM,CAACG,YAAY,cAAc,CAACH,EAAG,QAAQ,CAACG,YAAY,kEAAkE,CAACL,EAAIW,GAAG,wBAAwBT,EAAG,SAAS,CAACU,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOf,EAAIgB,eAAgBC,WAAW,mBAAmBZ,YAAY,4JAA4JE,GAAG,CAAC,OAAS,CAAC,SAASC,GAAQ,IAAIU,EAAgBC,MAAMC,UAAUC,OAAOC,KAAKd,EAAOe,OAAOC,SAAQ,SAASC,GAAG,OAAOA,EAAEC,QAAQ,IAAGC,KAAI,SAASF,GAAG,IAAIG,EAAM,WAAYH,EAAIA,EAAEI,OAASJ,EAAEV,MAAM,OAAOa,CAAG,IAAI5B,EAAIgB,eAAeR,EAAOe,OAAOO,SAAWZ,EAAgBA,EAAc,EAAE,EAAE,SAASV,GAAQ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GAAY,OACd,EACArG,EACA0E,GACA,EACA,KACA,WACA,MAIF,EAAe2B,EAAiB,O,8ICbzB,MAAMZ,EAAmBF,MAAOe,EAAavD,KAClD,IAAIyC,EAMJ,aALMe,EAAAA,EAAAA,KAAWD,EAAKvD,GAAMyD,MAAMV,IAChCN,EAAMM,EAAS/C,KAERyC,KAEFA,CAAG,EAGCiB,EAA6BlB,UACxC,MAAMC,QAAYe,EAAAA,EAAAA,KAAW,6BAA8BxD,GAC3D,OAAOyC,CAAG,EAGCkB,EAAwCnB,UACnD,MAAMC,QAAYe,EAAAA,EAAAA,KAAW,2BAA4BxD,GACzD,OAAOyC,CAAG,EAOCmB,EAAmCpB,UAC9C,MAAMC,QAAYe,EAAAA,EAAAA,IAAUD,GAC5B,OAAOd,CAAG,C","sources":["webpack://solidify/./src/views/Admin/View_Proxy_Requests.vue","webpack://solidify/./src/views/Admin/View_Proxy_Requests.vue?8431","webpack://solidify/./src/views/Admin/View_Proxy_Requests.vue?21bc","webpack://solidify/./src/views/Admin/View_Proxy_Requests.vue?1200","webpack://solidify/./src/utils/admin/view_proxy_request_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-8 mt-7 mb-4\"},[_c('button',{staticClass:\"mt-4 mr-2 text-blue-900 shadow-md\",on:{\"click\":function($event){return _vm.refreshPage()}}},[_c('RefreshCcwIcon',{staticClass:\"mr-2\",attrs:{\"size\":\"1x\"}})],1)]),_c('div',{staticClass:\"w-1/4 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Filter By Status \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedstatus),expression:\"selectedstatus\"}],staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedstatus=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.getSelectedStatus($event)}]}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"Select Status\")]),_vm._l((_vm.proxyStatus),function(status){return _c('option',{key:status,domProps:{\"value\":status}},[_vm._v(_vm._s(status))])})],2)])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.reviewBtnShow),expression:\"reviewBtnShow\"}],staticClass:\"flex w-full\"},[_c('router-link',{staticClass:\"mt-6 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",attrs:{\"to\":{ name: 'SolidifyLearnerProxyReview', query: { learner_task_id: _vm.learnerTaskId } },\"target\":\"_blank\"}},[_vm._v(\"Review\")])],1),_c('div',{staticClass:\"w-full mt-1 tableScroll\"},[_c('table',{staticClass:\"w-full text-center text-md bg-white shadow rounded mb-4\"},[_c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"py-2 pl-3 pr-0 w-6\"}),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Skill\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Proficiency\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Task Name\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Task Submission Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"ID - Learner Activities\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Proxy Requested Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Assign Date\")]),(_vm.showDeassignCol)?_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Deassign Date\")]):_vm._e(),(_vm.showCompletionCol)?_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Completion Date\")]):_vm._e(),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"is Re-review\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Status\")])])]),_c('tbody',{staticClass:\"opacity-80 -text-blue-800\"},_vm._l((_vm.proxyLearnerDetails),function(data){return _c('tr',{key:data.id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reviewCheckOne),expression:\"reviewCheckOne\"}],attrs:{\"type\":\"checkbox\",\"id\":data.learner_task_id},domProps:{\"value\":data.learner_task_id,\"checked\":Array.isArray(_vm.reviewCheckOne)?_vm._i(_vm.reviewCheckOne,data.learner_task_id)>-1:(_vm.reviewCheckOne)},on:{\"change\":[function($event){var $$a=_vm.reviewCheckOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=data.learner_task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.reviewCheckOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.reviewCheckOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.reviewCheckOne=$$c}},function($event){return _vm.showReviewBtn($event, data.learner_task_id, data.review_status)}],\"click\":_vm.assignedcheckedOne}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.skill))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.proficiency))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.task_name))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.submission_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.learner_task_id))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.proxy_requested_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.assignment_date))]),(_vm.showDeassignCol)?_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.deassignment_date))]):_vm._e(),(_vm.showCompletionCol)?_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.completion_date))]):_vm._e(),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.isRereview))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.review_status))])])}),0)])]),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"My Proxy Review Request\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { RefreshCcwIcon } from 'vue-feather-icons';\nimport { invokeGetLearner } from '@/utils/admin/view_proxy_request_service';\nimport moment from 'moment';\n// import { XIcon } from 'vue-feather-icons';\n\nexport default defineComponent({\n components: { RefreshCcwIcon },\n name: 'ViewRereviewRequests',\n setup() {\n const LearnerDetails = ref();\n const renderReady = ref();\n const proxyLearnerDetails = ref();\n const reviewCheckOne = ref([]);\n const reviewBtnShow = ref(false);\n const learnerTaskId = ref();\n const proxyStatus = ref();\n const selectedstatus = ref('');\n const showDeassignCol = ref(false);\n const showCompletionCol = ref(false);\n const deassignCount = ref(0);\n const completionCount = ref(0);\n const assignedcheckedOne = () => {\n // console.log('inside assignedCheckONe');\n reviewCheckOne.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showReviewBtn = (event: any, taskId: any, status: any) => {\n // console.log('Event', event);\n const cb = event.target.checked;\n if (cb === true && status === 'active') {\n reviewBtnShow.value = true;\n learnerTaskId.value = taskId;\n } else {\n reviewBtnShow.value = false;\n }\n };\n const getProxyLearner = async () => {\n try {\n renderReady.value = false;\n completionCount.value = 0;\n deassignCount.value = 0;\n showCompletionCol.value = false;\n showDeassignCol.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await invokeGetLearner('/learnerTaskToProxyReview', { review_status: selectedstatus.value });\n\n proxyLearnerDetails.value = res.learnerToProxyAssign;\n proxyStatus.value = res.reviewStatus;\n // selectedstatus.value = proxyStatus.value.ACTIVE;\n for (let index = 0; index < proxyLearnerDetails.value.length; index += 1) {\n const response = proxyLearnerDetails.value[index];\n if (response.assignment_date) {\n response.assignment_date = moment(response.assignment_date).utc().format('YYYY-MM-DD');\n }\n if (response.submission_date) {\n response.submission_date = moment(response.submission_date).utc().format('YYYY-MM-DD');\n }\n if (response.proxy_requested_date) {\n response.proxy_requested_date = moment(response.proxy_requested_date).utc().format('YYYY-MM-DD');\n }\n if (response.completion_date) {\n completionCount.value += 1;\n response.completion_date = moment(response.completion_date).utc().format('YYYY-MM-DD');\n } else {\n response.completion_date = '';\n }\n if (response.deassignment_date) {\n deassignCount.value += 1;\n response.deassignment_date = moment(response.deassignment_date).utc().format('YYYY-MM-DD');\n } else {\n response.deassignment_date = '';\n }\n }\n // console.log(`deassignCount.value ${deassignCount.value}`);\n if (completionCount.value > 0) showCompletionCol.value = true;\n if (deassignCount.value > 0) showDeassignCol.value = true;\n renderReady.value = true;\n } catch (error) {\n // console.log(error);\n }\n };\n const refreshPage = async () => {\n reviewCheckOne.value = [];\n // selectedstatus.value = '';\n // console.log('selected Status Value', selectedstatus.value);\n // blankSelection.value = '';\n learnerTaskId.value = '';\n reviewBtnShow.value = false;\n await getProxyLearner();\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedStatus = async (e: any) => {\n selectedstatus.value = e.target.value;\n // console.log('selected Status value', selectedstatus.value);\n // if (selectedstatus.value) {\n await getProxyLearner();\n // }\n };\n onBeforeMount(async () => {\n await getProxyLearner();\n });\n return {\n LearnerDetails,\n renderReady,\n proxyLearnerDetails,\n getProxyLearner,\n reviewCheckOne,\n reviewBtnShow,\n learnerTaskId,\n assignedcheckedOne,\n showReviewBtn,\n refreshPage,\n proxyStatus,\n getSelectedStatus,\n selectedstatus,\n showDeassignCol,\n showCompletionCol,\n };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./View_Proxy_Requests.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./View_Proxy_Requests.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./View_Proxy_Requests.vue?vue&type=template&id=e086cae2&scoped=true&\"\nimport script from \"./View_Proxy_Requests.vue?vue&type=script&lang=ts&\"\nexport * from \"./View_Proxy_Requests.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./View_Proxy_Requests.vue?vue&type=style&index=0&id=e086cae2&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e086cae2\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const invokeGetLearner = async (url: string, data: any) => {\n let res;\n await $http.post(url, data).then((response) => {\n res = response.data;\n // console.log(res);\n return res;\n });\n return res;\n};\n\nexport const getAllProxyAssignedLearner = async (data: any) => {\n const res = await $http.post('getAllProxyAssignedLearner', data);\n return res;\n};\n\nexport const getAllProxyAssignedLearnersForProgram = async (data: any) => {\n const res = await $http.post('program/proxies/learners', data);\n return res;\n};\n\nexport const deassignProxyFromLearners = async (data: any) => {\n const res = await $http.post('deassignProxy', data);\n return res;\n};\nexport const invokeAssignedProxyTriggerReport = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","_m","on","$event","refreshPage","attrs","_v","directives","name","rawName","value","selectedstatus","expression","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","multiple","getSelectedStatus","_l","proxyStatus","status","key","domProps","_s","reviewBtnShow","query","learner_task_id","learnerTaskId","showDeassignCol","_e","showCompletionCol","proxyLearnerDetails","data","id","reviewCheckOne","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","showReviewBtn","review_status","assignedcheckedOne","skill","proficiency","task_name","submission_date","proxy_requested_date","assignment_date","deassignment_date","completion_date","isRereview","renderReady","require","staticRenderFns","defineComponent","components","RefreshCcwIcon","setup","LearnerDetails","ref","deassignCount","completionCount","event","taskId","cb","getProxyLearner","async","res","invokeGetLearner","learnerToProxyAssign","reviewStatus","index","length","response","moment","utc","format","error","e","onBeforeMount","component","url","$http","then","getAllProxyAssignedLearner","getAllProxyAssignedLearnersForProgram","invokeAss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KvD,GAAMyD,MAAMV,IAChCN,EAAMM,EAAS/C,KAERyC,KAEFA,CAAG,EAGCiB,EAA6BlB,UACxC,MAAMC,QAAYe,EAAAA,EAAAA,KAAW,6BAA8BxD,GAC3D,OAAOyC,CAAG,EAGCkB,EAAwCnB,UACnD,MAAMC,QAAYe,EAAAA,EAAAA,KAAW,2BAA4BxD,GACzD,OAAOyC,CAAG,EAOCmB,EAAmCpB,UAC9C,MAAMC,QAAYe,EAAAA,EAAAA,KAAW,qBAAsBxD,GACnD,OAAOyC,CAAG,C","sources":["webpack://solidify/./src/views/Admin/View_Proxy_Requests.vue","webpack://solidify/./src/views/Admin/View_Proxy_Requests.vue?8431","webpack://solidify/./src/views/Admin/View_Proxy_Requests.vue?21bc","webpack://solidify/./src/views/Admin/View_Proxy_Requests.vue?1200","webpack://solidify/./src/utils/admin/view_proxy_request_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-8 mt-7 mb-4\"},[_c('button',{staticClass:\"mt-4 mr-2 text-blue-900 shadow-md\",on:{\"click\":function($event){return _vm.refreshPage()}}},[_c('RefreshCcwIcon',{staticClass:\"mr-2\",attrs:{\"size\":\"1x\"}})],1)]),_c('div',{staticClass:\"w-1/4 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Filter By Status \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedstatus),expression:\"selectedstatus\"}],staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedstatus=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.getSelectedStatus($event)}]}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"Select Status\")]),_vm._l((_vm.proxyStatus),function(status){return _c('option',{key:status,domProps:{\"value\":status}},[_vm._v(_vm._s(status))])})],2)])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.reviewBtnShow),expression:\"reviewBtnShow\"}],staticClass:\"flex w-full\"},[_c('router-link',{staticClass:\"mt-6 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",attrs:{\"to\":{ name: 'SolidifyLearnerProxyReview', query: { learner_task_id: _vm.learnerTaskId } },\"target\":\"_blank\"}},[_vm._v(\"Review\")])],1),_c('div',{staticClass:\"w-full mt-1 tableScroll\"},[_c('table',{staticClass:\"w-full text-center text-md bg-white shadow rounded mb-4\"},[_c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"py-2 pl-3 pr-0 w-6\"}),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Skill\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Proficiency\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Task Name\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Task Submission Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"ID - Learner Activities\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Proxy Requested Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Assign Date\")]),(_vm.showDeassignCol)?_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Deassign Date\")]):_vm._e(),(_vm.showCompletionCol)?_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Completion Date\")]):_vm._e(),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"is Re-review\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Status\")])])]),_c('tbody',{staticClass:\"opacity-80 -text-blue-800\"},_vm._l((_vm.proxyLearnerDetails),function(data){return _c('tr',{key:data.id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reviewCheckOne),expression:\"reviewCheckOne\"}],attrs:{\"type\":\"checkbox\",\"id\":data.learner_task_id},domProps:{\"value\":data.learner_task_id,\"checked\":Array.isArray(_vm.reviewCheckOne)?_vm._i(_vm.reviewCheckOne,data.learner_task_id)>-1:(_vm.reviewCheckOne)},on:{\"change\":[function($event){var $$a=_vm.reviewCheckOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=data.learner_task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.reviewCheckOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.reviewCheckOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.reviewCheckOne=$$c}},function($event){return _vm.showReviewBtn($event, data.learner_task_id, data.review_status)}],\"click\":_vm.assignedcheckedOne}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.skill))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.proficiency))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.task_name))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.submission_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.learner_task_id))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.proxy_requested_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.assignment_date))]),(_vm.showDeassignCol)?_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.deassignment_date))]):_vm._e(),(_vm.showCompletionCol)?_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.completion_date))]):_vm._e(),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.isRereview))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.review_status))])])}),0)])]),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"My Proxy Review Request\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { RefreshCcwIcon } from 'vue-feather-icons';\nimport { invokeGetLearner } from '@/utils/admin/view_proxy_request_service';\nimport moment from 'moment';\n// import { XIcon } from 'vue-feather-icons';\n\nexport default defineComponent({\n components: { RefreshCcwIcon },\n name: 'ViewRereviewRequests',\n setup() {\n const LearnerDetails = ref();\n const renderReady = ref();\n const proxyLearnerDetails = ref();\n const reviewCheckOne = ref([]);\n const reviewBtnShow = ref(false);\n const learnerTaskId = ref();\n const proxyStatus = ref();\n const selectedstatus = ref('');\n const showDeassignCol = ref(false);\n const showCompletionCol = ref(false);\n const deassignCount = ref(0);\n const completionCount = ref(0);\n const assignedcheckedOne = () => {\n // console.log('inside assignedCheckONe');\n reviewCheckOne.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showReviewBtn = (event: any, taskId: any, status: any) => {\n // console.log('Event', event);\n const cb = event.target.checked;\n if (cb === true && status === 'active') {\n reviewBtnShow.value = true;\n learnerTaskId.value = taskId;\n } else {\n reviewBtnShow.value = false;\n }\n };\n const getProxyLearner = async () => {\n try {\n renderReady.value = false;\n completionCount.value = 0;\n deassignCount.value = 0;\n showCompletionCol.value = false;\n showDeassignCol.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await invokeGetLearner('/learnerTaskToProxyReview', { review_status: selectedstatus.value });\n\n proxyLearnerDetails.value = res.learnerToProxyAssign;\n proxyStatus.value = res.reviewStatus;\n // selectedstatus.value = proxyStatus.value.ACTIVE;\n for (let index = 0; index < proxyLearnerDetails.value.length; index += 1) {\n const response = proxyLearnerDetails.value[index];\n if (response.assignment_date) {\n response.assignment_date = moment(response.assignment_date).utc().format('YYYY-MM-DD');\n }\n if (response.submission_date) {\n response.submission_date = moment(response.submission_date).utc().format('YYYY-MM-DD');\n }\n if (response.proxy_requested_date) {\n response.proxy_requested_date = moment(response.proxy_requested_date).utc().format('YYYY-MM-DD');\n }\n if (response.completion_date) {\n completionCount.value += 1;\n response.completion_date = moment(response.completion_date).utc().format('YYYY-MM-DD');\n } else {\n response.completion_date = '';\n }\n if (response.deassignment_date) {\n deassignCount.value += 1;\n response.deassignment_date = moment(response.deassignment_date).utc().format('YYYY-MM-DD');\n } else {\n response.deassignment_date = '';\n }\n }\n // console.log(`deassignCount.value ${deassignCount.value}`);\n if (completionCount.value > 0) showCompletionCol.value = true;\n if (deassignCount.value > 0) showDeassignCol.value = true;\n renderReady.value = true;\n } catch (error) {\n // console.log(error);\n }\n };\n const refreshPage = async () => {\n reviewCheckOne.value = [];\n // selectedstatus.value = '';\n // console.log('selected Status Value', selectedstatus.value);\n // blankSelection.value = '';\n learnerTaskId.value = '';\n reviewBtnShow.value = false;\n await getProxyLearner();\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedStatus = async (e: any) => {\n selectedstatus.value = e.target.value;\n // console.log('selected Status value', selectedstatus.value);\n // if (selectedstatus.value) {\n await getProxyLearner();\n // }\n };\n onBeforeMount(async () => {\n await getProxyLearner();\n });\n return {\n LearnerDetails,\n renderReady,\n proxyLearnerDetails,\n getProxyLearner,\n reviewCheckOne,\n reviewBtnShow,\n learnerTaskId,\n assignedcheckedOne,\n showReviewBtn,\n refreshPage,\n proxyStatus,\n getSelectedStatus,\n selectedstatus,\n showDeassignCol,\n showCompletionCol,\n };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./View_Proxy_Requests.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./View_Proxy_Requests.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./View_Proxy_Requests.vue?vue&type=template&id=e086cae2&scoped=true&\"\nimport script from \"./View_Proxy_Requests.vue?vue&type=script&lang=ts&\"\nexport * from \"./View_Proxy_Requests.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./View_Proxy_Requests.vue?vue&type=style&index=0&id=e086cae2&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e086cae2\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const invokeGetLearner = async (url: string, data: any) => {\n let res;\n await $http.post(url, data).then((response) => {\n res = response.data;\n // console.log(res);\n return res;\n });\n return res;\n};\n\nexport const getAllProxyAssignedLearner = async (data: any) => {\n const res = await $http.post('getAllProxyAssignedLearner', data);\n return res;\n};\n\nexport const getAllProxyAssignedLearnersForProgram = async (data: any) => {\n const res = await $http.post('program/proxies/learners', data);\n return res;\n};\n\nexport const deassignProxyFromLearners = async (data: any) => {\n const res = await $http.post('deassignProxy', data);\n return res;\n};\nexport const invokeAssignedProxyTriggerReport = async (data: any) => {\n const res = await $http.post('admin/proxy/export', data);\n return res;\n};\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","_m","on","$event","refreshPage","attrs","_v","directives","name","rawName","value","selectedstatus","expression","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","multiple","getSelectedStatus","_l","proxyStatus","status","key","domProps","_s","reviewBtnShow","query","learner_task_id","learnerTaskId","showDeassignCol","_e","showCompletionCol","proxyLearnerDetails","data","id","reviewCheckOne","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","showReviewBtn","review_status","assignedcheckedOne","skill","proficiency","task_name","submission_date","proxy_requested_date","assignment_date","deassignment_date","completion_date","isRereview","renderReady","require","staticRenderFns","defineComponent","components","RefreshCcwIcon","setup","LearnerDetails","ref","deassignCount","completionCount","event","taskId","cb","getProxyLearner","async","res","invokeGetLearner","learnerToProxyAssign","reviewStatus","index","length","response","moment","utc","format","error","e","onBeforeMount","component","url","$http","then","getAllProxyAssignedLearner","getAllProxyAssignedLearnersForProgram","invokeAssignedProxyTriggerReport"],"sourceRoot":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[345],{8200:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-16 px-32"},[z("div",{staticClass:"md:px-0 lg:px-0 text-center"},[z("div",{staticClass:"text-gray-500"},[z("div",{staticClass:"pt-2",domProps:{innerHTML:M._s(M.errorMsg)}})]),z("div",{staticClass:"pt-8"},[z("a",{attrs:{href:M.helpmateLink,target:"_blank"}},[z("img",{staticClass:"mx-auto",attrs:{src:b(6540)}})])])])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(M){const z=(0,A.ref)(""),b=(0,A.ref)(localStorage.getItem("helpmateLink"));return(0,A.onBeforeMount)((async()=>{z.value=M.errorMessage})),{errorMsg:z,helpmateLink:b}}}),q=c,o=b(3736),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},3948:function(M,z,b){"use strict";b.d(z,{Z:function(){return a}});var p=function(){var M=this,z=M._self._c;return M.isVisible?z("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[z("transition",{attrs:{name:"modal-fade"}},[z("div",{staticClass:"modal-overlay",on:{click:function(z){return M.$emit("close-modal")}}},[z("div",{staticClass:"modal relative",on:{click:function(M){M.stopPropagation()}}},[M.closeVisible?z("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(z){return M.$emit("closeModal")}}},[z("x-icon",{attrs:{size:"1.5x"}})],1):M._e(),z("div",{staticClass:"bg-white"},[z("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:M._s(M.message)}}),z("div",{staticClass:"pb-6 pt-4 bg-white"},[M.reReviewButton?z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.applyReview(M.reReviewButtonLink)}}},[M._v(" Apply Re-Review ")]):M._e(),M.closeVisible?z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(z){return M.$emit("closeModal")}}},[M._v(" Cancel ")]):M._e(),M.archiveButton?z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.$emit("Archive")}}},[M._v("Confirm")]):M._e(),M.linkButton?z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.navigate(M.link)}}},[M._v(M._s(M.linkButton))]):M._e()])])])])])],1):M._e()},O=[],A=(b(7658),b(4856)),c=b(6545),q={components:{XIcon:A.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1}},setup(){const M=async M=>{c.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})},z=M=>{window.location.href=M};return{applyReview:M,navigate:z}}},o=q,W=b(3736),d=(0,W.Z)(o,p,O,!1,null,null,null),a=d.exports},8889:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[z("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},[z("span",[M._v(M._s(M.proficiency)+" - ")]),M._v(M._s(M.skill)+" ")]),z("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[z("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[M._v("Hi, "+M._s(M.username))])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const M=(0,A.ref)("");return(0,A.onBeforeMount)((async()=>{const z=localStorage.getItem("userName")||"Learner";M.value=z.split(",").reverse().join(" ")})),{username:M}}}),q=c,o=b(3736),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},9158:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return y}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-auto mt-10 containers allBoxImg"},[M.renderReady?[M.showErrorMessage?M._e():[M.initialData?z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-12"},[z("Greetings",{attrs:{program:M.programId,proficiency:M.initialData.proficiency,skill:M.initialData.skill}}),z("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Home")]),z("li",[M._v("Task")]),z("li",[M._v("Submit")]),"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?z("li",[M._v("Peer Reviews")]):M._e(),z("li",[M._v("Under Review")]),z("li",[M._v("Done!")])])])]),z("Generic",{attrs:{"is-visible":M.modalVisible,message:M.modalMessage,"close-visible":M.modalCloseVisible,"re-review-button":M.modalButtonVisible,"re-review-button-link":M.modalButtonLink},on:{closeModal:M.closeModal}}),z("GenericV2",{attrs:{"cross-visible":!1,"is-visible":M.modalV2Visible},on:{Cancel:M.closeModalV2}},[z("div",{staticClass:"py-3 bg-white"},[z("p",{staticClass:"text-left"},[M._v("Please note Genome does not allow proficiency completion outside of the "),z("strong",[M._v("BITS")]),M._v(" sequence.")]),z("p",{staticClass:"text-left"},[M._v(" You have already started a learning task at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level that is different from your My Profile ("+M._s(M.initialData.proficiency)+") proficiency. ")]),z("br"),z("p",{staticClass:"text-left"},[M._v("Select one option below:")]),z("ol",{staticClass:"list-decimal pl-6 pb-6"},[z("li",{staticClass:"pl-1 text-left"},[M._v(" Select Terminate to end your "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" solidify journey and start at your My Profile ("+M._s(M.initialData.proficiency)+") proficiency ")]),z("li",{staticClass:"pl-1 text-left"},[M._v("Select Continue to proceed with your current solidify journey at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level")])]),z("button",{staticClass:"px-4 py-2 mr-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:M.continueExistingJourney}},[M._v(" Continue ")]),z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:M.terminateExistingJourney}},[M._v("Terminate")])])]),"infinity"===M.programId?z("SolidifyLanding",{attrs:{data:M.initialData}}):M._e(),"infinity"!==M.programId?z("CohortLanding",{attrs:{data:M.initialData}}):M._e(),z("div",{staticClass:"mt-4 mb-4 text-center"},[z("router-link",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{skill_id:M.skillId,proficiency_id:M.proficiencyId,program_id:M.programId}}}},[M._v(" Go ")])],1)],1)]):M._e()],M.showErrorMessage?z("ErrorMessage",{attrs:{"error-message":M.errorResponse}}):M._e()]:M._e(),M.renderReady?M._e():z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[z("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:b(9756),alt:"Loader Gif"}}),z("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[M._v("Loading...")])])],2)},O=[],A=(b(7658),b(7203)),c=b(1602),q=b.n(c),o=b(7881),W=b.n(o),d=b(3948),a=b(7900),R=b(8889),n=b(7129);const e=async(M,z)=>{console.log(n.Z);const b=n.Z.post(M,z);return b};var i=b(306),L=b(8200),f=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},[M._m(0),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-gray-500 leading-6"},[M._m(1),z("ol",{staticClass:"pt-2 pl-3"},[z("li",[M._v(" 1. Marked yourself as"),z("strong",[M._v(" "+M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill)+" ")]),M._v("in "),M._m(2)]),z("li",[M._v(" 2. Completed"),z("strong",[M._v(" Immerse for "+M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill)+" ")]),M._v(". ")]),z("li",[M._v(" 3. Completed "),z("strong",[M._v("Transform")]),M._v(" by attending a "),z("strong",[M._v("Guru Connect")]),M._v(" "),z("strong",[M._v("or")]),M._v(" a "),z("strong",[M._v("Guru Forum")]),M._v(" for "),z("strong",[M._v(M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill))])])]),M._m(3),M._m(4),M._m(5)])])])},t=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"block mt-4 lg:flex md:flex"},[z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Select a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks marked specifically for you!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})]),z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})]),z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})]),z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by your colleagues and you have done your reviews, it will be time to change your proficiency in My Profile!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-4"},[M._v("Before starting Solidify you "),z("strong",[M._v("must have done the following:")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("em",[z("u",[z("a",{attrs:{target:"_blank",href:"http://genome.genpact.com/my-profile?page=0"}},[M._v("My Profile")]),M._v(".")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-1"},[M._v(" You can check that you have done the prerequisites by visiting "),z("u",[z("em",[z("a",{attrs:{href:"https://genome.genpact.com/my-performance",target:"_blank"}},[M._v("My Performance")])])]),M._v(". ")])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-5"},[M._v("If you have not completed the pre-requisites please"),z("strong",[M._v(" do so now")]),M._v(", otherwise you will not complete a Wave.")])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",[M._v("Click "),z("strong",[M._v("Go")]),M._v(" to continue!")])}],r=(0,A.defineComponent)({name:"SolidifyLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)();return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b}}}),u=r,B=b(3736),N=(0,B.Z)(u,f,t,!1,null,"f36e1698",null),X=N.exports,s=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},["Learner to choose task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(0),M._m(1),M._m(2),M._m(3)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(4),M._m(5),M._m(6),M._m(7)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(8),M._m(9),M._m(10)]),"Learner to choose task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(11),M._m(12),M._m(13)]),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-gray text-sm leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v("Welcome to Solidify for "+M._s(M.initialData.skill)+". Now is the chance to show what you have learned while doing Immerse and Transform.")]),z("p",{staticClass:"pt-1"},[M._v("Before starting Solidify, you should have done the following:")]),z("ol",{staticClass:"pt-1 pl-3"},[z("li",[M._v("Completed Immerse for "+M._s(M.initialData.skill))]),z("li",[M._v("Completed Transform for "+M._s(M.initialData.skill))])]),M._m(14)])])])},l=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Select a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks (where available) marked specifically for you!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-2"},[M._v("Click "),z("strong",{staticClass:"text-navy"},[M._v("Go")]),M._v(" to start your Solidify journey!")])}],m=(0,A.defineComponent)({name:"CohortLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(!1),O=(0,A.ref)(!1),c=(0,A.ref)(!1),q=(0,A.ref)(!1);return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b,selectTaskwithPeerReview:p,systemAssignTaskwithPeerReview:O,systemAssignTaskwithSignleReview:c,selectTaskwithSignleReview:q}}}),T=m,g=(0,B.Z)(T,s,l,!1,null,"9c6ea3fc",null),v=g.exports,C=b(1232),E=b(6545),S=(0,A.defineComponent)({name:"LearnerHome",components:{Generic:d.Z,ErrorMessage:L.Z,SolidifyLanding:X,CohortLanding:v,GenericV2:a.Z,Greetings:R.Z},props:{query:{type:Object,default:()=>({})}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(),O=(0,A.ref)(),c=(0,A.ref)(),o=(0,A.ref)(!1),d=(0,A.ref)(),a=(0,A.ref)(!1),R=(0,A.ref)(!1),n=(0,A.ref)(),L=(0,A.ref)(),f=(0,A.ref)(!1),t=(0,A.ref)(!1),r=(0,A.ref)(),u=(0,A.ref)('It looks like you have not tagged yourself correctly in <a target="_blank" href="http://genome.genpact.com/my-profile?page=0"><strong>My Profile</strong></a>. The learners in band 5 and 4A in operations need to start at Beginner proficiency level and subsequently move to higher levels of proficiency. You should be at a beginner for all skills unless you have already completed a Beginner Wave. Check on <a href="https://genome.genpact.com/" target="_blank"><strong>Genome</strong></a> now to see which skills you need to update. Once you fix your My Profile, you will get access to Solidify again within 48 hours.');(0,A.onBeforeMount)((async()=>{try{z.value=M.query.skill_id,b.value=M.query.proficiency_id,p.value=M.query.program_id,L.value=!1;const A=W().tz.guess(),i={skill:z.value,proficiency:b.value,program_id:p.value,timezone:A},B=await e("/learner/journey/stat",i);if(O.value=B.data,O.value){if(console.log("in learner landing screen"),O.value.userObj&&(O.value.userObj.last_accessed_on&&localStorage.setItem("lastAccess",q()(O.value.userObj.last_accessed_on).format("MMM Do YYYY, h:mm a")),O.value.userObj.user_fullName&&localStorage.setItem("userName",O.value.userObj.user_fullName),O.value.userObj.user_email&&localStorage.setItem("email",O.value.userObj.user_email),O.value.userObj.user_key&&localStorage.setItem("user_key",O.value.userObj.user_key)),O.value.system_under_maintainence)return console.log("inside learner under manitenance"),localStorage.setItem("errorMsg",O.value.maintenance_message),void E.Z.push({path:"/solidify/systemUnderMaintenance"}).catch();if(O.value.is_learner_not_allowed)return console.log("inside learner not allowed"),a.value=!0,n.value="Please contact helpmate.",void(L.value=!0);if(O.value.isSkillSunet)return console.log("inside skill is sunset"),L.value=!0,c.value=O.value.message,void(o.value=!0);if(O.value.is_learner_not_in_program)return console.log("inside is_learner_in_program"),L.value=!0,c.value="You have not been assigned to this program",void(o.value=!0);if(O.value.is_cohort_not_started)return console.log("inside is_learner_in_program"),L.value=!0,c.value=`You may not start Solidify for this cohort until ${O.value.cohort_startDate}. Please log in again on that date.`,void(o.value=!0);if(!0===O.value.plagiarism_reEvalution_inProgress)return console.log("inside is_learner_plagiarized"),L.value=!0,c.value="You may not start Solidify until the plagiarism status is complete.",void(o.value=!0);if(O.value.cohortFailedData&&(console.log("inside cohortFailedData if"),"Fail"===O.value.cohortFailedData.learner_status&&"infinity"!==O.value.cohortFailedData.linked_program_name&&(console.log("inside learner_status if"),E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.cohortFailedData.learner_task_id}}))),console.log(`initialData.value.skill ${O.value.skill}`),!O.value.skill)return console.log("inside no skill"),L.value=!0,c.value="Skill Not Found",void(o.value=!0);if(console.log(`initialData.value.proficiency ${O.value.proficiency}`),!O.value.proficiency)return console.log("inside no prof"),L.value=!0,c.value="Proficiency Not Found",void(o.value=!0);if(console.log(`initialData.value.userObj ${O.value.userObj}`),!O.value.userObj)return console.log("inside no user obj"),L.value=!0,c.value="User Profile Not Found",void(o.value=!0);if(console.log(`!initialData.value.userObj.diff_access_status ${O.value.userObj.diff_access_status}`),"suspended"===O.value.userObj.diff_access_status)return console.log("inside suspended"),L.value=!0,c.value=u.value,void(o.value=!0);if(O.value.userObj.diff_access_status||(O.value.userObj.diff_access_status="active"),O.value.learnerData&&O.value.learnerData.technical_hold)return a.value=!0,n.value=`Your submission for ${O.value.skill}-${O.value.proficiency} is under evaluation. This process may take up to 7 business days.`,void(L.value=!0);if(console.log(`initialData.value.reReviewStatus ${O.value.reReviewStatus}`),"infinity"===p.value&&O.value.reReviewStatus&&(!O.value.reReviewStatus.is_plagiarised||!O.value.reReviewStatus.plagiarism_reevaluation_requested||"complete"!==O.value.reReviewStatus.plagiarism_reevaluation_status)&&(console.log(`initialData.value.reReviewStatus.request_for_re_review ${O.value.reReviewStatus.request_for_re_review}`),O.value.reReviewStatus.request_for_re_review||(a.value=!0,n.value="You can apply for re-review",f.value=!0,t.value=!0,r.value=O.value.reReviewStatus.learner_task_id),console.log(`initialData.value.reReviewStatus.re_review_status ${O.value.reReviewStatus.re_review_status}`),"infinity"===p.value&&("Re-review Accepted Proxy Assigned"===O.value.reReviewStatus.re_review_status||"Re-review Accepted Proxy Unavailable"===O.value.reReviewStatus.re_review_status)))return console.log("inside nrereview is in progeress"),L.value=!0,c.value="Re-review Status is in-progress",void(o.value=!0);console.log(`initialData.value.learnerData ${O.value.learnerData}`),L.value=!0,d.value=O.value.systemSetting.helpmate_link,console.log("before setting local storage"),localStorage.setItem("skillId",z.value),localStorage.setItem("profId",b.value),localStorage.setItem("programId",p.value),localStorage.setItem("skillName",O.value.skill),localStorage.setItem("proficiency",O.value.proficiency),localStorage.setItem("helpmateLink",d.value),localStorage.setItem("programName",O.value.program_details.program_name),localStorage.setItem("reviewerAssignmentStrategy",O.value.program_details.reviewer_strategy),localStorage.setItem("taskAssignmentStrategy",O.value.program_details.task_strategy),console.log("after setting local storage"),O.value.learnerData&&("Registered"===O.value.learnerData.learner_status?E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value}}):"Need Reviewer and Need Reviewee"===O.value.learnerData.learner_status||"Need Reviewee"===O.value.learnerData.learner_status?E.Z.push({path:"/solidify/peerReview",query:{learner_task_id:O.value.learnerData.learner_task_id}}):"Passed"!==O.value.learnerData.learner_status&&"Need Reviewer"!==O.value.learnerData.learner_status||E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.learnerData.learner_task_id}})),console.log(`initialData.value.existedLearnerDiffProf ${O.value.existedLearnerDiffProf}`),O.value.existedLearnerDiffProf&&(R.value=!0)}}catch(A){if(console.log("inside catch error"),console.log(JSON.stringify(A)),L.value=!0,i.Z.isAxiosError(A)){const M=A;c.value=M.response?.data?.message}else c.value="Something went wrong, please contact helpmate.";o.value=!0}}));const B=()=>{a.value=!1},N=()=>{R.value=!1},X=async()=>{console.log("continue");const M=O.value.existedLearnerDiffProf;E.Z.replace({path:"/solidify",query:{skill_id:M.skill,proficiency_id:M.proficiency,program_id:M.linked_program_name}}),E.Z.go(0),N()},s=async()=>{try{L.value=!1,console.log("learner journey terminated"),console.log(O.value.existedLearnerDiffProf);const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,C.F)("/learner/terminate",M);N(),L.value=!0,console.log(z)}catch(M){if(console.log("inside catch error"),console.log(JSON.stringify(M)),L.value=!0,i.Z.isAxiosError(M)){const z=M;console.log(z.response?.data),c.value=z.response?.data}else c.value="There is an issue in requesting for review, please contact helpmate."}};return{skillId:z,proficiencyId:b,programId:p,initialData:O,helpmateLink:d,modalVisible:a,modalV2Visible:R,modalMessage:n,renderReady:L,closeModal:B,closeModalV2:N,terminateExistingJourney:s,continueExistingJourney:X,modalCloseVisible:f,modalButtonVisible:t,modalButtonLink:r,showErrorMessage:o,errorResponse:c}}}),x=S,h=(0,B.Z)(x,p,O,!1,null,"5be3e2d4",null),y=h.exports},7881:function(M,z,b){var p=M.exports=b(8158);p.tz.load(b(1128))},8158:function(M,z,b){var p,O,A;b(7658),
|
|
1
|
+
(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[345],{8200:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-16 px-32"},[z("div",{staticClass:"md:px-0 lg:px-0 text-center"},[z("div",{staticClass:"text-gray-500"},[z("div",{staticClass:"pt-2",domProps:{innerHTML:M._s(M.errorMsg)}})]),z("div",{staticClass:"pt-8"},[z("a",{attrs:{href:M.helpmateLink,target:"_blank"}},[z("img",{staticClass:"mx-auto",attrs:{src:b(6540)}})])])])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(M){const z=(0,A.ref)(""),b=(0,A.ref)(localStorage.getItem("helpmateLink"));return(0,A.onBeforeMount)((async()=>{z.value=M.errorMessage})),{errorMsg:z,helpmateLink:b}}}),q=c,o=b(3736),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},3948:function(M,z,b){"use strict";b.d(z,{Z:function(){return a}});var p=function(){var M=this,z=M._self._c;return M.isVisible?z("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[z("transition",{attrs:{name:"modal-fade"}},[z("div",{staticClass:"modal-overlay",on:{click:function(z){return M.$emit("close-modal")}}},[z("div",{staticClass:"modal relative",on:{click:function(M){M.stopPropagation()}}},[M.closeVisible?z("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(z){return M.$emit("closeModal")}}},[z("x-icon",{attrs:{size:"1.5x"}})],1):M._e(),z("div",{staticClass:"bg-white"},[z("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:M._s(M.message)}}),z("div",{staticClass:"pb-6 pt-4 bg-white"},[M.reReviewButton?z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.applyReview(M.reReviewButtonLink)}}},[M._v(" Apply Re-Review ")]):M._e(),M.closeVisible?z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(z){return M.$emit("closeModal")}}},[M._v(" Cancel ")]):M._e(),M.archiveButton?z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.$emit("Archive")}}},[M._v("Confirm")]):M._e(),M.linkButton?z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.navigate(M.link)}}},[M._v(M._s(M.linkButton))]):M._e()])])])])])],1):M._e()},O=[],A=(b(7658),b(4856)),c=b(1548),q={components:{XIcon:A.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1}},setup(){const M=async M=>{c.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})},z=M=>{window.location.href=M};return{applyReview:M,navigate:z}}},o=q,W=b(3736),d=(0,W.Z)(o,p,O,!1,null,null,null),a=d.exports},8047:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[z("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===M.program?z("span",[M._v(M._s(M.proficiency)+" - ")]):M._e(),M._v(M._s(M.skill)+" ")]),z("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[z("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[M._v("Hi, "+M._s(M.username))])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const M=(0,A.ref)("");return(0,A.onBeforeMount)((async()=>{const z=localStorage.getItem("userName")||"Learner";M.value=z.split(",").reverse().join(" ")})),{username:M}}}),q=c,o=b(3736),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},4507:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return y}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-auto mt-10 containers allBoxImg"},[M.renderReady?[M.showErrorMessage?M._e():[M.initialData?z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-12"},[z("Greetings",{attrs:{program:M.programId,proficiency:M.initialData.proficiency,skill:M.initialData.skill}}),z("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Home")]),z("li",[M._v("Task")]),z("li",[M._v("Submit")]),"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?z("li",[M._v("Peer Reviews")]):M._e(),z("li",[M._v("Under Review")]),z("li",[M._v("Done!")])])])]),z("Generic",{attrs:{"is-visible":M.modalVisible,message:M.modalMessage,"close-visible":M.modalCloseVisible,"re-review-button":M.modalButtonVisible,"re-review-button-link":M.modalButtonLink},on:{closeModal:M.closeModal}}),z("GenericV2",{attrs:{"cross-visible":!1,"is-visible":M.modalV2Visible},on:{Cancel:M.closeModalV2}},[z("div",{staticClass:"py-3 bg-white"},[z("p",{staticClass:"text-left"},[M._v("Please note Genome does not allow proficiency completion outside of the "),z("strong",[M._v("BITS")]),M._v(" sequence.")]),z("p",{staticClass:"text-left"},[M._v(" You have already started a learning task at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level that is different from your My Profile ("+M._s(M.initialData.proficiency)+") proficiency. ")]),z("br"),z("p",{staticClass:"text-left"},[M._v("Select one option below:")]),z("ol",{staticClass:"list-decimal pl-6 pb-6"},[z("li",{staticClass:"pl-1 text-left"},[M._v(" Select Terminate to end your "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" solidify journey and start at your My Profile ("+M._s(M.initialData.proficiency)+") proficiency ")]),z("li",{staticClass:"pl-1 text-left"},[M._v("Select Continue to proceed with your current solidify journey at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level")])]),z("button",{staticClass:"px-4 py-2 mr-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:M.continueExistingJourney}},[M._v(" Continue ")]),z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:M.terminateExistingJourney}},[M._v("Terminate")])])]),"infinity"===M.programId?z("SolidifyLanding",{attrs:{data:M.initialData}}):M._e(),"infinity"!==M.programId?z("CohortLanding",{attrs:{data:M.initialData}}):M._e(),z("div",{staticClass:"mt-4 mb-4 text-center"},[z("router-link",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{skill_id:M.skillId,proficiency_id:M.proficiencyId,program_id:M.programId}}}},[M._v(" Go ")])],1)],1)]):M._e()],M.showErrorMessage?z("ErrorMessage",{attrs:{"error-message":M.errorResponse}}):M._e()]:M._e(),M.renderReady?M._e():z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[z("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:b(9756),alt:"Loader Gif"}}),z("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[M._v("Loading...")])])],2)},O=[],A=(b(7658),b(7203)),c=b(1602),q=b.n(c),o=b(7881),W=b.n(o),d=b(3948),a=b(7900),R=b(8047),n=b(7129);const e=async(M,z)=>{console.log(n.Z);const b=n.Z.post(M,z);return b};var i=b(306),L=b(8200),f=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},[M._m(0),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-gray-500 leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v("To complete Solidify you will need to:")]),z("ol",{staticClass:"pt-2 pl-3"},[z("li",[M._v(" Mark yourself "+M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill)+" on "),M._m(1)]),z("li",[M._v("Complete Immerse for "+M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill)+".")]),z("li",[M._v("Complete Transform for "+M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill))])]),z("p",{staticClass:"pt-1"},[M._v(" You know your prerequisites are done when your "+M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill)+" skill dial on "),M._m(2),M._v(' says "Go do Solidify." You can also check the Wave Completion table on '),M._m(3),M._v(". ")]),z("p",[M._v(" For more information, please watch this "),z("u",[z("a",{attrs:{target:"_blank",href:M.videoUrl}},[M._v("Video.")])])]),z("p",[M._v("You can always click on the floating Genius Icon for more help.")]),M._m(4)])])])},t=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"block mt-4 lg:flex md:flex"},[z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Select a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks marked specifically for you!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})]),z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})]),z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})]),z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by your colleagues and you have done your reviews, it will be time to change your proficiency in My Profile!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("u",[z("a",{attrs:{target:"_blank",href:"http://genome.genpact.com/my-profile?page=0"}},[M._v("My Profile")]),M._v(".")])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("u",[z("a",{attrs:{href:"https://genome.genpact.com/my-plan",target:"_blank"}},[M._v("My Plan")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("u",[z("a",{attrs:{href:"https://genome.genpact.com/my-performance",target:"_blank"}},[M._v("My Performance")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",[M._v("Click "),z("strong",[M._v("Go")]),M._v(" to continue!")])}],r=(0,A.defineComponent)({name:"SolidifyLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)();return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b}}}),u=r,B=b(3736),N=(0,B.Z)(u,f,t,!1,null,"6d0184b8",null),X=N.exports,s=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},["Learner to choose task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(0),M._m(1),M._m(2),M._m(3)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(4),M._m(5),M._m(6),M._m(7)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(8),M._m(9),M._m(10)]),"Learner to choose task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(11),M._m(12),M._m(13)]),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-gray text-sm leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v("Welcome to Solidify for "+M._s(M.initialData.skill)+". Now is the chance to show what you have learned while doing Immerse and Transform.")]),z("p",{staticClass:"pt-1"},[M._v("Before starting Solidify, you should have done the following:")]),z("ol",{staticClass:"pt-1 pl-3"},[z("li",[M._v("Completed Immerse for "+M._s(M.initialData.skill))]),z("li",[M._v("Completed Transform for "+M._s(M.initialData.skill))])]),M._m(14)])])])},l=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Select a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks (where available) marked specifically for you!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-2"},[M._v("Click "),z("strong",{staticClass:"text-navy"},[M._v("Go")]),M._v(" to start your Solidify journey!")])}],m=(0,A.defineComponent)({name:"CohortLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(!1),O=(0,A.ref)(!1),c=(0,A.ref)(!1),q=(0,A.ref)(!1);return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b,selectTaskwithPeerReview:p,systemAssignTaskwithPeerReview:O,systemAssignTaskwithSignleReview:c,selectTaskwithSignleReview:q}}}),T=m,g=(0,B.Z)(T,s,l,!1,null,"9c6ea3fc",null),v=g.exports,C=b(1232),E=b(1548),S=(0,A.defineComponent)({name:"LearnerHome",components:{Generic:d.Z,ErrorMessage:L.Z,SolidifyLanding:X,CohortLanding:v,GenericV2:a.Z,Greetings:R.Z},props:{query:{type:Object,default:()=>({})}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(),O=(0,A.ref)(),c=(0,A.ref)(),o=(0,A.ref)(!1),d=(0,A.ref)(),a=(0,A.ref)(!1),R=(0,A.ref)(!1),n=(0,A.ref)(),L=(0,A.ref)(),f=(0,A.ref)(!1),t=(0,A.ref)(!1),r=(0,A.ref)(),u=(0,A.ref)('It looks like you have not tagged yourself correctly in <a target="_blank" href="http://genome.genpact.com/my-profile?page=0"><strong>My Profile</strong></a>. The learners in band 5 and 4A in operations need to start at Beginner proficiency level and subsequently move to higher levels of proficiency. You should be at a beginner for all skills unless you have already completed a Beginner Wave. Check on <a href="https://genome.genpact.com/" target="_blank"><strong>Genome</strong></a> now to see which skills you need to update. Once you fix your My Profile, you will get access to Solidify again within 48 hours.');(0,A.onBeforeMount)((async()=>{try{z.value=M.query.skill_id,b.value=M.query.proficiency_id,p.value=M.query.program_id,L.value=!1;const A=W().tz.guess(),i={skill:z.value,proficiency:b.value,program_id:p.value,timezone:A},B=await e("/learner/journey/stat",i);if(O.value=B.data,O.value){if(console.log("in learner landing screen"),O.value.userObj&&(O.value.userObj.last_accessed_on&&localStorage.setItem("lastAccess",q()(O.value.userObj.last_accessed_on).format("MMM Do YYYY, h:mm a")),O.value.userObj.user_fullName&&localStorage.setItem("userName",O.value.userObj.user_fullName),O.value.userObj.user_email&&localStorage.setItem("email",O.value.userObj.user_email),O.value.userObj.user_key&&localStorage.setItem("user_key",O.value.userObj.user_key)),O.value.system_under_maintainence)return console.log("inside learner under manitenance"),localStorage.setItem("errorMsg",O.value.maintenance_message),void E.Z.push({path:"/solidify/systemUnderMaintenance"}).catch();if(O.value.is_learner_not_allowed)return console.log("inside learner not allowed"),a.value=!0,n.value="Please contact helpmate.",void(L.value=!0);if(O.value.isSkillSunet)return console.log("inside skill is sunset"),L.value=!0,c.value=O.value.message,void(o.value=!0);if(O.value.is_learner_not_in_program)return console.log("inside is_learner_in_program"),L.value=!0,c.value="You have not been assigned to this program",void(o.value=!0);if(O.value.is_cohort_not_started)return console.log("inside is_learner_in_program"),L.value=!0,c.value=`You may not start Solidify for this cohort until ${O.value.cohort_startDate}. Please log in again on that date.`,void(o.value=!0);if(!0===O.value.plagiarism_reEvalution_inProgress)return console.log("inside is_learner_plagiarized"),L.value=!0,c.value="You may not start Solidify until the plagiarism status is complete.",void(o.value=!0);if(O.value.cohortFailedData&&(console.log("inside cohortFailedData if"),"Fail"===O.value.cohortFailedData.learner_status&&"infinity"!==O.value.cohortFailedData.linked_program_name&&(console.log("inside learner_status if"),E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.cohortFailedData.learner_task_id}}))),console.log(`initialData.value.skill ${O.value.skill}`),!O.value.skill)return console.log("inside no skill"),L.value=!0,c.value="Skill Not Found",void(o.value=!0);if(console.log(`initialData.value.proficiency ${O.value.proficiency}`),!O.value.proficiency)return console.log("inside no prof"),L.value=!0,c.value="Proficiency Not Found",void(o.value=!0);if(console.log(`initialData.value.userObj ${O.value.userObj}`),!O.value.userObj)return console.log("inside no user obj"),L.value=!0,c.value="User Profile Not Found",void(o.value=!0);if(console.log(`!initialData.value.userObj.diff_access_status ${O.value.userObj.diff_access_status}`),"suspended"===O.value.userObj.diff_access_status)return console.log("inside suspended"),L.value=!0,c.value=u.value,void(o.value=!0);if(O.value.userObj.diff_access_status||(O.value.userObj.diff_access_status="active"),O.value.learnerData&&O.value.learnerData.technical_hold)return a.value=!0,n.value=`Your submission for ${O.value.skill}-${O.value.proficiency} is under evaluation. This process may take up to 7 business days.`,void(L.value=!0);if(console.log(`initialData.value.reReviewStatus ${O.value.reReviewStatus}`),"infinity"===p.value&&O.value.reReviewStatus&&(!O.value.reReviewStatus.is_plagiarised||!O.value.reReviewStatus.plagiarism_reevaluation_requested||"complete"!==O.value.reReviewStatus.plagiarism_reevaluation_status)&&(console.log(`initialData.value.reReviewStatus.request_for_re_review ${O.value.reReviewStatus.request_for_re_review}`),O.value.reReviewStatus.request_for_re_review||(a.value=!0,n.value="You can apply for re-review",f.value=!0,t.value=!0,r.value=O.value.reReviewStatus.learner_task_id),console.log(`initialData.value.reReviewStatus.re_review_status ${O.value.reReviewStatus.re_review_status}`),"infinity"===p.value&&("Re-review Accepted Proxy Assigned"===O.value.reReviewStatus.re_review_status||"Re-review Accepted Proxy Unavailable"===O.value.reReviewStatus.re_review_status)))return console.log("inside nrereview is in progeress"),L.value=!0,c.value="Re-review Status is in-progress",void(o.value=!0);console.log(`initialData.value.learnerData ${O.value.learnerData}`),L.value=!0,d.value=O.value.systemSetting.helpmate_link,console.log("before setting local storage"),localStorage.setItem("skillId",z.value),localStorage.setItem("profId",b.value),localStorage.setItem("programId",p.value),localStorage.setItem("skillName",O.value.skill),localStorage.setItem("proficiency",O.value.proficiency),localStorage.setItem("helpmateLink",d.value),localStorage.setItem("programName",O.value.program_details.program_name),localStorage.setItem("reviewerAssignmentStrategy",O.value.program_details.reviewer_strategy),localStorage.setItem("taskAssignmentStrategy",O.value.program_details.task_strategy),console.log("after setting local storage"),O.value.learnerData&&("Registered"===O.value.learnerData.learner_status?E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value}}):"Need Reviewer and Need Reviewee"===O.value.learnerData.learner_status||"Need Reviewee"===O.value.learnerData.learner_status?E.Z.push({path:"/solidify/peerReview",query:{learner_task_id:O.value.learnerData.learner_task_id}}):"Passed"!==O.value.learnerData.learner_status&&"Need Reviewer"!==O.value.learnerData.learner_status||E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.learnerData.learner_task_id}})),console.log(`initialData.value.existedLearnerDiffProf ${O.value.existedLearnerDiffProf}`),O.value.existedLearnerDiffProf&&(R.value=!0)}}catch(A){if(console.log("inside catch error"),console.log(JSON.stringify(A)),L.value=!0,i.Z.isAxiosError(A)){const M=A;c.value=M.response?.data?.message}else c.value="Something went wrong, please contact helpmate.";o.value=!0}}));const B=()=>{a.value=!1},N=()=>{R.value=!1},X=async()=>{console.log("continue");const M=O.value.existedLearnerDiffProf;E.Z.replace({path:"/solidify",query:{skill_id:M.skill,proficiency_id:M.proficiency,program_id:M.linked_program_name}}),E.Z.go(0),N()},s=async()=>{try{L.value=!1,console.log("learner journey terminated"),console.log(O.value.existedLearnerDiffProf);const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,C.F)("/learner/terminate",M);N(),L.value=!0,console.log(z)}catch(M){if(console.log("inside catch error"),console.log(JSON.stringify(M)),L.value=!0,i.Z.isAxiosError(M)){const z=M;console.log(z.response?.data),c.value=z.response?.data}else c.value="There is an issue in requesting for review, please contact helpmate."}};return{skillId:z,proficiencyId:b,programId:p,initialData:O,helpmateLink:d,modalVisible:a,modalV2Visible:R,modalMessage:n,renderReady:L,closeModal:B,closeModalV2:N,terminateExistingJourney:s,continueExistingJourney:X,modalCloseVisible:f,modalButtonVisible:t,modalButtonLink:r,showErrorMessage:o,errorResponse:c}}}),x=S,h=(0,B.Z)(x,p,O,!1,null,"5be3e2d4",null),y=h.exports},7881:function(M,z,b){var p=M.exports=b(8158);p.tz.load(b(1128))},8158:function(M,z,b){var p,O,A;b(7658),
|
|
2
2
|
//! moment-timezone.js
|
|
3
3
|
//! version : 0.5.43
|
|
4
4
|
//! Copyright (c) JS Foundation and other contributors
|