@genpact/genome.mfe.solidify-app 1.17.2-alpha.194 → 1.17.2-alpha.196
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/SolidifyLearner.css +1 -1
- package/dist/css/SolidifyLearnerSelectTask.css +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskDetails.js +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.SolidifyLearnerSelectTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/solidify.umd.min.js +2 -2
- 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([[723],{4735:function(e,t,a){a.d(t,{Z:function(){return u}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:a(6540)}})])])])])])},r=[],i=a(7203),l=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),a=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:a}}}),n=l,o=a(1001),c=(0,o.Z)(n,s,r,!1,null,null,null),u=c.exports},5316:function(e,t,a){a.d(t,{Z:function(){return u}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},r=[],i=a(7203),l=(0,i.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=l,o=a(1001),c=(0,o.Z)(n,s,r,!1,null,null,null),u=c.exports},1756:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.programId,proficiency:e.profName,skill:e.skillName}}),t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[t("ul",[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",[e._v("Peer Reviews")]):e._e(),t("li",[e._v("Under Review")]),t("li",[e._v("Done!")])])])]),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block"},[t("div",{staticClass:"text-gray-500"},[e._m(0),"Learner to choose task"===e.taskAssignmentStrategy?t("ul",{staticClass:"list-disc pl-8 mt1"},[e._m(1),e._m(2),t("li",[e._v("Remember not to use any client or Genpact confidential materials in your submission.")]),t("li",[e._v("If you select a mobile task (where available), you will need to manually type your submission. If you choose a desktop task you can submit a word, ppt, excel, .txt or video file.")]),e._m(3)]):e._e(),"System assigns random task to learner"===e.taskAssignmentStrategy||"System uses task sequence number to assign task"===e.taskAssignmentStrategy?t("ul",{staticClass:"list-disc pl-8 mt1"},[t("li",[e._v("Please complete the task below.")]),e._m(4),e._m(5)]):e._e()]),t("div",{staticClass:"lg:flex md:flex block mt-4"},[e.rows.length>0?t("div",{staticClass:"pt-6 lg:w-1/2 md:w-1/2 lg:pr-12 md:pr-12"},[t("table",{staticClass:"table-auto border-collapse border border-gray-400 w-full"},[e._m(6),t("tbody",e._l(e.rows,(function(a){return t("tr",{key:a.task_id,staticClass:"border border-gray-400 text-blue-900"},[t("td",{staticClass:"p-2"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.additional,expression:"additional"}],attrs:{type:"checkbox",id:"check_id"},domProps:{value:a.task_id,checked:Array.isArray(e.additional)?e._i(e.additional,a.task_id)>-1:e.additional},on:{change:[function(t){var s=e.additional,r=t.target,i=!!r.checked;if(Array.isArray(s)){var l=a.task_id,n=e._i(s,l);r.checked?n<0&&(e.additional=s.concat([l])):n>-1&&(e.additional=s.slice(0,n).concat(s.slice(n+1)))}else e.additional=i},function(t){return e.setTaskDesc(a.task_name,a.description,t)}],click:e.checkOne}}),e._v(" "+e._s(a.task_name))]),t("td",{staticClass:"p-2"},[e._v(e._s(a.task_type))])])})),0)])]):e._e(),t("div",{staticClass:"pt-6 text-gray-700 lg:w-1/2 md:w-1/2"},[t("p",{directives:[{name:"show",rawName:"v-show",value:e.taskName,expression:"taskName"}]},[t("strong",[e._v("Task Name:")]),e._v(" "+e._s(e.taskName))]),t("p",{directives:[{name:"show",rawName:"v-show",value:e.taskDesc,expression:"taskDesc"}],staticClass:"mt-2"},[t("strong",[e._v("Task Description:")])]),t("div",{staticClass:"mt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.taskDesc)}})])])]),t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("p",[e._v("Enter the work email address that we can use to notify you of your progress. If you don't have a Genpact email address, please use the client email or another email that you use.")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"appearance-none border lg:w-2/4 md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e.emailValidationMsg?t("div",{staticClass:"ui basic label pointing red"},[t("span",{staticClass:"text-red-700"},[e._v(e._s(e.emailValidationMsg)+" ")])]):e._e()])]),t("div",{staticClass:"mt-6 mb-6 text-center"},[t("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.skillId,proficiency_id:e.profId,program_id:e.programId}}}},[e._v(" Back ")]),t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:function(t){return e.createLearner()}}},[e._v("Select Task")])],1)])],1)])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("strong",[e._v("Instructions:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("Select "),t("strong",[e._v("one task")]),e._v(" from the list below. If you are working in a client-restricted environment and cannot upload a task, please select a mobile task (where available) from the list.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("Read the task description and submit your task in "),t("strong",[e._v("English only")]),e._v(".")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("You must adhere to "),t("strong",[e._v("Genpact's policies around plagiarism")]),e._v(". You must work on the task by yourself and not copy from anyone or anywhere.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("Read the task description and submit your task "),t("strong",[e._v("in English only")]),e._v(".")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" Be sure to adhere to Genpact’s Policy around plagiarism. That means do not use any confidential or client materials in your submission. The work you submit "),t("strong",[e._v("must be your own. Do not copy and paste.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",[t("tr",{staticClass:"border border-gray-400 text-gray-500"},[t("th",{staticClass:"p-2 text-left"},[e._v("Learning Task")]),t("th",{staticClass:"p-2 text-left"},[e._v("Type of Task")])])])}],i=(a(7658),a(7203)),l=a(4654),n=a(306),o=a(4735),c=a(5316),u=a(6275),d=(0,i.defineComponent)({name:"LearnerSelectTask",props:{query:{type:Object,default:()=>({})}},components:{ErrorMessage:o.Z,Greetings:c.Z},setup(e){const t=(0,i.ref)(localStorage.getItem("skillName")),a=(0,i.ref)(localStorage.getItem("proficiency")),s=(0,i.ref)(e.query.skill_id),r=(0,i.ref)(e.query.proficiency_id),o=(0,i.ref)(e.query.program_id),c=(0,i.ref)(localStorage.getItem("helpmateLink")),d=(0,i.ref)(localStorage.getItem("email")),m=(0,i.ref)(localStorage.getItem("userName")),p=(0,i.ref)(),f=(0,i.ref)(),v=(0,i.ref)(),g=(0,i.ref)([]),y=(0,i.ref)(),_=(0,i.ref)(!0),k=(0,i.ref)(),h=(0,i.ref)(),x=(0,i.ref)(),b=(0,i.ref)(!1),w=(0,i.ref)(),A=(0,i.ref)(),C=(0,i.ref)(),S=()=>{g.value=[]},I=(e,t,a)=>{const s=a.target.checked;!0===s?(_.value=!1,f.value=e,v.value=t):(_.value=!0,f.value=null,v.value=null)},L=async e=>{const t=/^\w+([.-]?\w+)*@[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+$/,a=t.test(e);return a},Z=async()=>{try{if(d.value){const t=await L(d.value);if(!t)return y.value="Enter Valid Email",void setTimeout((()=>{y.value=null}),6e3);const a={email:d.value,linked_task_id:g.value[0],skill_id:e.query.skill_id,proficiency_id:e.query.proficiency_id,program_id:e.query.program_id};k.value&&Object.assign(a,{learner_task_id:k.value}),m.value&&Object.assign(a,{fullname:m.value}),h.value=!1;const s=await(0,l.hZ)("/v1/createLearnerActivities",a),r=s.data;!1===r.emailValidation?(y.value="Enter Valid Email",setTimeout((()=>{y.value=null}),6e3)):(console.log(r.message),u.Z.push({name:"SolidifyLearnerSubmitTask",query:{learner_task_id:r.learnerTaskId,program_id:a.program_id}}))}else y.value="Please enter an email address",setTimeout((()=>{y.value=null}),6e3)}catch(t){if(h.value=!0,n.Z.isAxiosError(t)){const e=t;x.value=e.response?.data?.message}else x.value="There is some issue in registering task for learner, please contact helpmate.";b.value=!0}},R=async e=>{try{h.value=!1;const t=await(0,l.n2)("/task/search",e),a=t.data.tasks;h.value=!0,0===a.length?(x.value="There is no task available for this skill and proficiency, please contact helpmate.",b.value=!0):p.value=a}catch(t){if(h.value=!0,n.Z.isAxiosError(t)){const e=t;x.value=e.response?.data?.message}else x.value="There is an issue to fetch task record, please contact helpmate.";b.value=!0}};return(0,i.onBeforeMount)((async()=>{try{w.value=localStorage.getItem("programName"),C.value=localStorage.getItem("reviewerAssignmentStrategy"),A.value=localStorage.getItem("taskAssignmentStrategy");const t={skill:e.query.skill_id,proficiency:e.query.proficiency_id,program_id:e.query.program_id};h.value=!1;const a=await(0,l.zn)("/learner/journey/stat",t),i=a.data;if(h.value=!0,i.is_learner_not_allowed)return void u.Z.push({path:"/solidify",query:{skill_id:s.value,proficiency_id:r.value,program_id:o.value}});i.learnerData&&(i.learnerData.technical_hold&&u.Z.push({path:"/solidify",query:{skill_id:s.value,proficiency_id:r.value,program_id:o.value}}),k.value=i.learnerData.learner_task_id,"Need Reviewer and Need Reviewee"===i.learnerData.learner_status||"Need Reviewee"===i.learnerData.learner_status?u.Z.push({path:"/solidify/peerReview",query:{learner_task_id:i.learnerData.learner_task_id}}):"Need Reviewer"===i.learnerData.learner_status||"Passed"===i.learnerData.learner_status?u.Z.push({path:"/solidify/done",query:{learner_task_id:k.value}}):"infinity"!==e.query.program_id&&"Registered"===i.learnerData.learner_status&&u.Z.push({path:"/solidify/submitTask",query:{learner_task_id:i.learnerData.learner_task_id,program_id:e.query.program_id}})),await R(t)}catch(t){if(h.value=!0,n.Z.isAxiosError(t)){const e=t;x.value=e.response?.data?.message}else x.value="There is an issue in fetching Data, please contact helpmate.";b.value=!0}})),{rows:p,skillName:t,profName:a,skillId:s,profId:r,programId:o,taskName:f,taskDesc:v,additional:g,email:d,emailValidationMsg:y,buttonDisable:_,setTaskDesc:I,checkOne:S,createLearner:Z,helpmateLink:c,learnerTaskId:k,renderReady:h,fullname:m,errorResponse:x,showErrorMessage:b,programName:w,taskAssignmentStrategy:A,reviewerAssignmentStrategy:C}}}),m=d,p=a(1001),f=(0,p.Z)(m,s,r,!1,null,"00025376",null),v=f.exports},4654:function(e,t,a){a.d(t,{hZ:function(){return i},n2:function(){return r},zn:function(){return l}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},i=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a}},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAA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E6EJRF7TU1Ucjz+buG4JBdSM/CAmK3rmOkQx1X1daJUiURWGUvdQFsF/httmOWcTII6ncj4NBJrjTsTI900VGTgdymO8PgkQpPzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[723],{4735:function(e,t,a){a.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:a(6540)}})])])])])])},r=[],i=a(7203),l=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),a=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:a}}}),n=l,o=a(1001),u=(0,o.Z)(n,s,r,!1,null,null,null),c=u.exports},5316:function(e,t,a){a.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},r=[],i=a(7203),l=(0,i.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=l,o=a(1001),u=(0,o.Z)(n,s,r,!1,null,null,null),c=u.exports},3310:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.programId,proficiency:e.profName,skill:e.skillName}}),t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[t("ul",[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",[e._v("Peer Reviews")]):e._e(),t("li",[e._v("Under Review")]),t("li",[e._v("Done!")])])])]),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block"},[t("div",{staticClass:"text-gray-500"},[e._m(0),"Learner to choose task"===e.taskAssignmentStrategy?t("ul",{staticClass:"list-disc pl-8 mt1"},[e._m(1),e._m(2),e._m(3),t("li",[e._v("If you opt for a mobile-friendly task (where available), please type your submission manually and for a desktop task you have the option to upload a Word, PowerPoint, Excel, .txt, or video file.")]),e._m(4)]):e._e(),"System assigns random task to learner"===e.taskAssignmentStrategy||"System uses task sequence number to assign task"===e.taskAssignmentStrategy?t("ul",{staticClass:"list-disc pl-8 mt1"},[t("li",[e._v("Please complete the task below.")]),e._m(5),e._m(6)]):e._e()]),t("div",{staticClass:"lg:flex md:flex block mt-4"},[e.rows.length>0?t("div",{staticClass:"pt-6 lg:w-1/2 md:w-1/2 lg:pr-12 md:pr-12"},[t("table",{staticClass:"table-auto border-collapse border border-gray-400 w-full"},[e._m(7),t("tbody",e._l(e.rows,(function(a){return t("tr",{key:a.task_id,staticClass:"border border-gray-400 text-blue-900"},[t("td",{staticClass:"p-2"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.additional,expression:"additional"}],attrs:{type:"checkbox",id:"check_id"},domProps:{value:a.task_id,checked:Array.isArray(e.additional)?e._i(e.additional,a.task_id)>-1:e.additional},on:{change:[function(t){var s=e.additional,r=t.target,i=!!r.checked;if(Array.isArray(s)){var l=a.task_id,n=e._i(s,l);r.checked?n<0&&(e.additional=s.concat([l])):n>-1&&(e.additional=s.slice(0,n).concat(s.slice(n+1)))}else e.additional=i},function(t){return e.setTaskDesc(a.task_name,a.description,t)}],click:e.checkOne}}),e._v(" "+e._s(a.task_name))]),t("td",{staticClass:"p-2"},[e._v(e._s(a.task_type))])])})),0)])]):e._e(),t("div",{staticClass:"pt-6 text-gray-700 lg:w-1/2 md:w-1/2"},[t("p",{directives:[{name:"show",rawName:"v-show",value:e.taskName,expression:"taskName"}]},[t("strong",[e._v("Task Name:")]),e._v(" "+e._s(e.taskName))]),t("p",{directives:[{name:"show",rawName:"v-show",value:e.taskDesc,expression:"taskDesc"}],staticClass:"mt-2"},[t("strong",[e._v("Task Description:")])]),t("div",{staticClass:"mt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.taskDesc)}})])])]),t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("p",[e._v("Enter the work email address that we can use to notify you of your progress. If you don't have a Genpact email address, please use the client email or another email that you use.")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],staticClass:"appearance-none border lg:w-2/4 md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e.emailValidationMsg?t("div",{staticClass:"ui basic label pointing red"},[t("span",{staticClass:"text-red-700"},[e._v(e._s(e.emailValidationMsg)+" ")])]):e._e()])]),t("div",{staticClass:"mt-6 mb-6 text-center"},[t("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.skillId,proficiency_id:e.profId,program_id:e.programId}}}},[e._v(" Back ")]),t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:function(t){return e.createLearner()}}},[e._v("Select Task")])],1)])],1)])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("strong",[e._v("Instructions:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("Choose "),t("strong",[e._v("a task")]),e._v(" from the list below. If you are operating in a client-restricted environment, kindly opt for a mobile friendly task (if available) from the provided list.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("Read the task description thoroughly and ensure that your task submission is in "),t("strong",[e._v("English exclusively")]),e._v(".")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("Please refrain from including any "),t("strong",[e._v("confidential details, such as client names or logos")]),e._v(", in your submission.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("Kindly adhere to Genpact’s policies on "),t("strong",[e._v("Plagiarism")]),e._v(" and ensure that the task is submitted in your own words ("),t("strong",[e._v("No Copying-pasting")]),e._v(" from another sources).")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v("Read the task description and submit your task "),t("strong",[e._v("in English only")]),e._v(".")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" Be sure to adhere to Genpact’s Policy around plagiarism. That means do not use any confidential or client materials in your submission. The work you submit "),t("strong",[e._v("must be your own. Do not copy and paste.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",[t("tr",{staticClass:"border border-gray-400 text-gray-500"},[t("th",{staticClass:"p-2 text-left"},[e._v("Learning Task")]),t("th",{staticClass:"p-2 text-left"},[e._v("Type of Task")])])])}],i=(a(7658),a(7203)),l=a(4654),n=a(306),o=a(4735),u=a(5316),c=a(6275),d=(0,i.defineComponent)({name:"LearnerSelectTask",props:{query:{type:Object,default:()=>({})}},components:{ErrorMessage:o.Z,Greetings:u.Z},setup(e){const t=(0,i.ref)(localStorage.getItem("skillName")),a=(0,i.ref)(localStorage.getItem("proficiency")),s=(0,i.ref)(e.query.skill_id),r=(0,i.ref)(e.query.proficiency_id),o=(0,i.ref)(e.query.program_id),u=(0,i.ref)(localStorage.getItem("helpmateLink")),d=(0,i.ref)(localStorage.getItem("email")),m=(0,i.ref)(localStorage.getItem("userName")),p=(0,i.ref)(),f=(0,i.ref)(),v=(0,i.ref)(),g=(0,i.ref)([]),y=(0,i.ref)(),_=(0,i.ref)(!0),k=(0,i.ref)(),h=(0,i.ref)(),x=(0,i.ref)(),b=(0,i.ref)(!1),A=(0,i.ref)(),w=(0,i.ref)(),C=(0,i.ref)(),S=()=>{g.value=[]},I=(e,t,a)=>{const s=a.target.checked;!0===s?(_.value=!1,f.value=e,v.value=t):(_.value=!0,f.value=null,v.value=null)},L=async e=>{const t=/^\w+([.-]?\w+)*@[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+$/,a=t.test(e);return a},Z=async()=>{try{if(d.value){const t=await L(d.value);if(!t)return y.value="Enter Valid Email",void setTimeout((()=>{y.value=null}),6e3);const a={email:d.value,linked_task_id:g.value[0],skill_id:e.query.skill_id,proficiency_id:e.query.proficiency_id,program_id:e.query.program_id};k.value&&Object.assign(a,{learner_task_id:k.value}),m.value&&Object.assign(a,{fullname:m.value}),h.value=!1;const s=await(0,l.hZ)("/v1/createLearnerActivities",a),r=s.data;!1===r.emailValidation?(y.value="Enter Valid Email",setTimeout((()=>{y.value=null}),6e3)):(console.log(r.message),c.Z.push({name:"SolidifyLearnerSubmitTask",query:{learner_task_id:r.learnerTaskId,program_id:a.program_id}}))}else y.value="Please enter an email address",setTimeout((()=>{y.value=null}),6e3)}catch(t){if(h.value=!0,n.Z.isAxiosError(t)){const e=t;x.value=e.response?.data?.message}else x.value="There is some issue in registering task for learner, please contact helpmate.";b.value=!0}},R=async e=>{try{h.value=!1;const t=await(0,l.n2)("/task/search",e),a=t.data.tasks;h.value=!0,0===a.length?(x.value="There is no task available for this skill and proficiency, please contact helpmate.",b.value=!0):p.value=a}catch(t){if(h.value=!0,n.Z.isAxiosError(t)){const e=t;x.value=e.response?.data?.message}else x.value="There is an issue to fetch task record, please contact helpmate.";b.value=!0}};return(0,i.onBeforeMount)((async()=>{try{A.value=localStorage.getItem("programName"),C.value=localStorage.getItem("reviewerAssignmentStrategy"),w.value=localStorage.getItem("taskAssignmentStrategy");const t={skill:e.query.skill_id,proficiency:e.query.proficiency_id,program_id:e.query.program_id};h.value=!1;const a=await(0,l.zn)("/learner/journey/stat",t),i=a.data;if(h.value=!0,i.is_learner_not_allowed)return void c.Z.push({path:"/solidify",query:{skill_id:s.value,proficiency_id:r.value,program_id:o.value}});i.learnerData&&(i.learnerData.technical_hold&&c.Z.push({path:"/solidify",query:{skill_id:s.value,proficiency_id:r.value,program_id:o.value}}),k.value=i.learnerData.learner_task_id,"Need Reviewer and Need Reviewee"===i.learnerData.learner_status||"Need Reviewee"===i.learnerData.learner_status?c.Z.push({path:"/solidify/peerReview",query:{learner_task_id:i.learnerData.learner_task_id}}):"Need Reviewer"===i.learnerData.learner_status||"Passed"===i.learnerData.learner_status?c.Z.push({path:"/solidify/done",query:{learner_task_id:k.value}}):"infinity"!==e.query.program_id&&"Registered"===i.learnerData.learner_status&&c.Z.push({path:"/solidify/submitTask",query:{learner_task_id:i.learnerData.learner_task_id,program_id:e.query.program_id}})),await R(t)}catch(t){if(h.value=!0,n.Z.isAxiosError(t)){const e=t;x.value=e.response?.data?.message}else x.value="There is an issue in fetching Data, please contact helpmate.";b.value=!0}})),{rows:p,skillName:t,profName:a,skillId:s,profId:r,programId:o,taskName:f,taskDesc:v,additional:g,email:d,emailValidationMsg:y,buttonDisable:_,setTaskDesc:I,checkOne:S,createLearner:Z,helpmateLink:u,learnerTaskId:k,renderReady:h,fullname:m,errorResponse:x,showErrorMessage:b,programName:A,taskAssignmentStrategy:w,reviewerAssignmentStrategy:C}}}),m=d,p=a(1001),f=(0,p.Z)(m,s,r,!1,null,"c0b08d26",null),v=f.exports},4654:function(e,t,a){a.d(t,{hZ:function(){return i},n2:function(){return r},zn:function(){return l}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},i=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a}},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0uTC6y123jDowufdngeUmg2UlTBs7HxHKYhrL5NvuqLpakHFnUbyScBySEQ6aJajE1iE9kKTB5NBbBIMT7mi/T3dUj7XZFCDJlmEh/PVmDyaLKBXS1CihDlcJ8L35+7mBnLPkVyvIh0RawxxEwhmXpcYD3oq3WU6WrQ1VRzu7CG2t5Bpro1Ge7toL2zg+7n9EWmHphh/9rrxFtL/8biz9fy2sbdSF7RxlJpCsnU4wDrLY7n1AlPDgWEEhQWyNaV+zlW3kKHHJ8q9ZUkciUticxOecJMWUaG2SmZs9oG77PnWLV3Hy8r9iNdSJkY2jPAmojdYMe+1Arq5ZnuzAhi6h5SV3OXjBuV1A8MM8IAXfpqcm9oqeoZpKuhirybhaiL71J8p5LCggLU1a1i3SBt9+9w62YRN0orKSmvIP92Edm1Y/j76WzWkV+g5XbZHQrKa2kUR5aexntkagpJ1ZSQlVNGUVUDxWFebDvlhXOO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Amtgy6vsEMMU6fu2uJjU3n9Rribi7nyHggUi2di0XNq3nPZ8sMjR5JMZG4+JzieiWYdpLU1Ee8OJ0Yg7Xs9MI8L2IW1A+dfV5HDl2mLnKdHTyuavzRhC2RxzZJn5wVY1tou0xT1MPLFpAuZiG5BsvQIgG40KigGeLtHYHUkgWUowAppLXjz0BeQZYPw2ZKbh/HUdkspq46Cg8b1bR3Ge8a22aeE6EJRF7TU1Ucjz+buG4JBdSM/CAmK3rmOkQx1X1daJUiURWGUvdQFsF/httmOWcTII6ncj4NBJrjTsTI900VGTgdymO8PgkQpPzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyLearnerSelectTask.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidify.umd.min.SolidifyLearnerSelectTask.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM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cACAG,WACAe,gBACA9E,eACAqF,gBACAzD,cACAwD,WACAL,gBACAlD,mBACAyD,cACAnD,yBACAF,6BAIJ,IC5OuS,I,UCQrShB,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,sHCXhC,MAAMkG,EAAWpG,MAAO6G,EAAapB,KACnC,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,EAGNC,EAAkBvF,MAAO6G,EAAapB,KAC1C,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,EAGNiB,EAAoBvG,MAAO6G,EAAapB,KAC5C,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Select_Task.vue","webpack://solidify/./src/views/Learner_Select_Task.vue?2662","webpack://solidify/./src/views/Learner_Select_Task.vue?6fd1","webpack://solidify/./src/views/Learner_Select_Task.vue?85fe","webpack://solidify/./src/utils/select_task_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=36ac7944&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full\"},[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill)+\" \")]),_c('div',{staticClass:\"my-2 md:order-2 order-1 w-full\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=40792f87&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.programId,\"proficiency\":_vm.profName,\"skill\":_vm.skillName}}),_c('div',{staticClass:\"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[_c('ul',[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',[_vm._v(\"Under Review\")]),_c('li',[_vm._v(\"Done!\")])])])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block\"},[_c('div',{staticClass:\"text-gray-500\"},[_vm._m(0),(_vm.taskAssignmentStrategy === 'Learner to choose task')?_c('ul',{staticClass:\"list-disc pl-8 mt1\"},[_vm._m(1),_vm._m(2),_c('li',[_vm._v(\"Remember not to use any client or Genpact confidential materials in your submission.\")]),_c('li',[_vm._v(\"If you select a mobile task (where available), you will need to manually type your submission. If you choose a desktop task you can submit a word, ppt, excel, .txt or video file.\")]),_vm._m(3)]):_vm._e(),(_vm.taskAssignmentStrategy === 'System assigns random task to learner' || _vm.taskAssignmentStrategy === 'System uses task sequence number to assign task')?_c('ul',{staticClass:\"list-disc pl-8 mt1\"},[_c('li',[_vm._v(\"Please complete the task below.\")]),_vm._m(4),_vm._m(5)]):_vm._e()]),_c('div',{staticClass:\"lg:flex md:flex block mt-4\"},[(_vm.rows.length > 0)?_c('div',{staticClass:\"pt-6 lg:w-1/2 md:w-1/2 lg:pr-12 md:pr-12\"},[_c('table',{staticClass:\"table-auto border-collapse border border-gray-400 w-full\"},[_vm._m(6),_c('tbody',_vm._l((_vm.rows),function(task){return _c('tr',{key:task.task_id,staticClass:\"border border-gray-400 text-blue-900\"},[_c('td',{staticClass:\"p-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.additional),expression:\"additional\"}],attrs:{\"type\":\"checkbox\",\"id\":\"check_id\"},domProps:{\"value\":task.task_id,\"checked\":Array.isArray(_vm.additional)?_vm._i(_vm.additional,task.task_id)>-1:(_vm.additional)},on:{\"change\":[function($event){var $$a=_vm.additional,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=task.task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.additional=$$a.concat([$$v]))}else{$$i>-1&&(_vm.additional=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.additional=$$c}},function($event){return _vm.setTaskDesc(task.task_name, task.description, $event)}],\"click\":_vm.checkOne}}),_vm._v(\" \"+_vm._s(task.task_name))]),_c('td',{staticClass:\"p-2\"},[_vm._v(_vm._s(task.task_type))])])}),0)])]):_vm._e(),_c('div',{staticClass:\"pt-6 text-gray-700 lg:w-1/2 md:w-1/2\"},[_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskName),expression:\"taskName\"}]},[_c('strong',[_vm._v(\"Task Name:\")]),_vm._v(\" \"+_vm._s(_vm.taskName))]),_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskDesc),expression:\"taskDesc\"}],staticClass:\"mt-2\"},[_c('strong',[_vm._v(\"Task Description:\")])]),_c('div',{staticClass:\"mt-2 rich-text-formatter\",domProps:{\"innerHTML\":_vm._s(_vm.taskDesc)}})])])]),_c('div',{staticClass:\"block mt-4\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_vm._v(\"Enter the work email address that we can use to notify you of your progress. If you don't have a Genpact email address, please use the client email or another email that you use.\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"appearance-none border lg:w-2/4 md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),(_vm.emailValidationMsg)?_c('div',{staticClass:\"ui basic label pointing red\"},[_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.emailValidationMsg)+\" \")])]):_vm._e()])]),_c('div',{staticClass:\"mt-6 mb-6 text-center\"},[_c('router-link',{staticClass:\"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.profId, program_id: _vm.programId } }}},[_vm._v(\" Back \")]),_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":function($event){return _vm.createLearner()}}},[_vm._v(\"Select Task\")])],1)])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('strong',[_vm._v(\"Instructions:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Select \"),_c('strong',[_vm._v(\"one task\")]),_vm._v(\" from the list below. If you are working in a client-restricted environment and cannot upload a task, please select a mobile task (where available) from the list.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description and submit your task in \"),_c('strong',[_vm._v(\"English only\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"You must adhere to \"),_c('strong',[_vm._v(\"Genpact's policies around plagiarism\")]),_vm._v(\". You must work on the task by yourself and not copy from anyone or anywhere.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description and submit your task \"),_c('strong',[_vm._v(\"in English only\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\" Be sure to adhere to Genpact’s Policy around plagiarism. That means do not use any confidential or client materials in your submission. The work you submit \"),_c('strong',[_vm._v(\"must be your own. Do not copy and paste.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',[_c('tr',{staticClass:\"border border-gray-400 text-gray-500\"},[_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Learning Task\")]),_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Type of Task\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, ref, onBeforeMount } from 'vue';\nimport { taskData, registerLearner, getExistedLearner } from '@/utils/select_task_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default defineComponent({\n name: 'LearnerSelectTask',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n components: { ErrorMessage, Greetings },\n setup(props) {\n const skillName = ref(localStorage.getItem('skillName'));\n const profName = ref(localStorage.getItem('proficiency'));\n const skillId = ref(props.query.skill_id);\n const profId = ref(props.query.proficiency_id);\n const programId = ref(props.query.program_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const email = ref(localStorage.getItem('email'));\n const fullname = ref(localStorage.getItem('userName'));\n // const initialData: any = ref(localStorage.getItem('allInitialData'));\n const rows = ref();\n const taskName = ref();\n const taskDesc = ref();\n const additional = ref([]);\n const emailValidationMsg = ref();\n const buttonDisable = ref(true);\n const learnerTaskId = ref();\n const renderReady = ref();\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const taskAssignmentStrategy = ref();\n const reviewerAssignmentStrategy = ref();\n const checkOne = () => {\n additional.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setTaskDesc = (taskname: any, description: any, event: any) => {\n const cb = event.target.checked;\n\n if (cb === true) {\n buttonDisable.value = false;\n taskName.value = taskname;\n taskDesc.value = description;\n } else {\n buttonDisable.value = true;\n taskName.value = null;\n taskDesc.value = null;\n }\n };\n const emailValidate = async (emailID: string) => {\n // const emailRegexp = /^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/;\n // const emailRegexp = /^\\w+([\\.-]?\\w+)*@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/;\n const emailRegexp = /^\\w+([.-]?\\w+)*@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-]+$/;\n const isEmailValid = emailRegexp.test(emailID);\n // console.log(`validate_res ${isEmailValid}`);\n return isEmailValid;\n // Log.info(`Validate Response, ${validate_res}`);\n };\n const createLearner = async () => {\n try {\n if (!email.value) {\n emailValidationMsg.value = 'Please enter an email address';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n const validateEmail = await emailValidate(email.value);\n if (!validateEmail) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const learnerData: any = {\n email: email.value,\n linked_task_id: additional.value[0],\n skill_id: props.query.skill_id,\n proficiency_id: props.query.proficiency_id,\n program_id: props.query.program_id,\n };\n if (learnerTaskId.value) {\n Object.assign(learnerData, { learner_task_id: learnerTaskId.value });\n }\n if (fullname.value) {\n Object.assign(learnerData, { fullname: fullname.value });\n }\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await registerLearner('/v1/createLearnerActivities', learnerData);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const createRes: any = res.data;\n if (createRes.emailValidation === false) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n console.log(createRes.message);\n router.push({ name: 'SolidifyLearnerSubmitTask', query: { learner_task_id: createRes.learnerTaskId, program_id: learnerData.program_id } });\n }\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue in registering task for learner, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(`Error in creating ${error}`);\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getTaskData = async (data: any) => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await taskData('/task/search', data);\n // console.log(`res for task search ${JSON.stringify(res)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const taskresponse: any = res.data.tasks;\n renderReady.value = true;\n if (taskresponse.length === 0) {\n errorResponse.value = 'There is no task available for this skill and proficiency, please contact helpmate.';\n showErrorMessage.value = true;\n } else {\n rows.value = taskresponse;\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch task record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n try {\n programName.value = localStorage.getItem('programName');\n reviewerAssignmentStrategy.value = localStorage.getItem('reviewerAssignmentStrategy');\n taskAssignmentStrategy.value = localStorage.getItem('taskAssignmentStrategy');\n // router.go(0);\n const data = {\n skill: props.query.skill_id,\n proficiency: props.query.proficiency_id,\n program_id: props.query.program_id,\n };\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getExistedLearner('/learner/journey/stat', data);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const existingRecord: any = res.data;\n renderReady.value = true;\n if (existingRecord.is_learner_not_allowed) {\n // console.log('inside learner not allowed');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: profId.value, program_id: programId.value } });\n return;\n }\n if (existingRecord.learnerData) {\n if (existingRecord.learnerData.technical_hold) {\n // console.log('learner on hold select task');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: profId.value, program_id: programId.value } });\n }\n learnerTaskId.value = existingRecord.learnerData.learner_task_id;\n if (existingRecord.learnerData.learner_status === 'Need Reviewer and Need Reviewee' || existingRecord.learnerData.learner_status === 'Need Reviewee') {\n router.push({ path: '/solidify/peerReview', query: { learner_task_id: existingRecord.learnerData.learner_task_id } });\n } else if (existingRecord.learnerData.learner_status === 'Need Reviewer' || existingRecord.learnerData.learner_status === 'Passed') router.push({ path: '/solidify/done', query: { learner_task_id: learnerTaskId.value } });\n else if (props.query.program_id !== 'infinity' && existingRecord.learnerData.learner_status === 'Registered') {\n router.push({ path: '/solidify/submitTask', query: { learner_task_id: existingRecord.learnerData.learner_task_id, program_id: props.query.program_id } });\n }\n }\n await getTaskData(data);\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching Data, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n\n return {\n rows,\n // columns,\n skillName,\n profName,\n skillId,\n profId,\n programId,\n taskName,\n taskDesc,\n additional,\n email,\n emailValidationMsg,\n buttonDisable,\n setTaskDesc,\n checkOne,\n createLearner,\n helpmateLink,\n learnerTaskId,\n renderReady,\n fullname,\n errorResponse,\n showErrorMessage,\n programName,\n taskAssignmentStrategy,\n reviewerAssignmentStrategy,\n // cohortPanel,\n // solidifyPanel,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Select_Task.vue?vue&type=template&id=00025376&scoped=true&\"\nimport script from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Select_Task.vue?vue&type=style&index=0&id=00025376&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"00025376\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport $http from '../plugins/axios';\n\n// import axios from 'axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\nconst taskData = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst registerLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst getExistedLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\nexport { taskData, registerLearner, getExistedLearner };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","program","_v","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","programId","profName","skillName","reviewerAssignmentStrategy","_m","taskAssignmentStrategy","rows","length","_l","task","key","task_id","directives","rawName","additional","expression","Array","isArray","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","setTaskDesc","task_name","description","checkOne","task_type","taskName","taskDesc","email","composing","emailValidationMsg","query","skill_id","skillId","proficiency_id","profId","program_id","class","buttonDisable","createLearner","errorResponse","Object","components","ErrorMessage","Greetings","fullname","learnerTaskId","programName","taskname","event","cb","emailValidate","emailRegexp","isEmailValid","test","emailID","validateEmail","setTimeout","learnerData","linked_task_id","assign","learner_task_id","res","registerLearner","createRes","data","emailValidation","console","log","message","router","error","axios","err","response","getTaskData","taskData","taskresponse","tasks","getExistedLearner","existingRecord","is_learner_not_allowed","path","technical_hold","learner_status","url","$http"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"solidify.umd.min.SolidifyLearnerSelectTask.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CA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BAAiBzB,WAAYtE,EAAMiE,MAAMK,qBAGxIuC,EAAYV,E,CAClB,MAAOM,GAEP,GADAlF,EAAYZ,OAAQ,EAChB+F,EAAAA,EAAAA,aAAmBD,GAAQ,CAC7B,MAAME,EAAMF,EAEZ/B,EAAc/D,MAASgG,EAAIC,UAAUT,MAA8BI,O,MAGnE7B,EAAc/D,MAAQ,+DAExBa,EAAiBb,OAAQ,C,KAItB,CACLoB,OAEAJ,YACAD,WACAyC,UACAE,SACA5C,YACAmC,WACAC,WACAtB,aACAuB,QACAE,qBACAQ,gBACAjB,cACAG,WACAe,gBACA9E,eACAqF,gBACAzD,cACAwD,WACAL,gBACAlD,mBACAyD,cACAnD,yBACAF,6BAIJ,IC5OuS,I,UCQrShB,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,sHCXhC,MAAMkG,EAAWpG,MAAO6G,EAAapB,KACnC,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,EAGNC,EAAkBvF,MAAO6G,EAAapB,KAC1C,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,EAGNiB,EAAoBvG,MAAO6G,EAAapB,KAC5C,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Select_Task.vue","webpack://solidify/./src/views/Learner_Select_Task.vue?2662","webpack://solidify/./src/views/Learner_Select_Task.vue?6fd1","webpack://solidify/./src/views/Learner_Select_Task.vue?85fe","webpack://solidify/./src/utils/select_task_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=36ac7944&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full\"},[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill)+\" \")]),_c('div',{staticClass:\"my-2 md:order-2 order-1 w-full\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=40792f87&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.programId,\"proficiency\":_vm.profName,\"skill\":_vm.skillName}}),_c('div',{staticClass:\"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[_c('ul',[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',[_vm._v(\"Under Review\")]),_c('li',[_vm._v(\"Done!\")])])])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block\"},[_c('div',{staticClass:\"text-gray-500\"},[_vm._m(0),(_vm.taskAssignmentStrategy === 'Learner to choose task')?_c('ul',{staticClass:\"list-disc pl-8 mt1\"},[_vm._m(1),_vm._m(2),_vm._m(3),_c('li',[_vm._v(\"If you opt for a mobile-friendly task (where available), please type your submission manually and for a desktop task you have the option to upload a Word, PowerPoint, Excel, .txt, or video file.\")]),_vm._m(4)]):_vm._e(),(_vm.taskAssignmentStrategy === 'System assigns random task to learner' || _vm.taskAssignmentStrategy === 'System uses task sequence number to assign task')?_c('ul',{staticClass:\"list-disc pl-8 mt1\"},[_c('li',[_vm._v(\"Please complete the task below.\")]),_vm._m(5),_vm._m(6)]):_vm._e()]),_c('div',{staticClass:\"lg:flex md:flex block mt-4\"},[(_vm.rows.length > 0)?_c('div',{staticClass:\"pt-6 lg:w-1/2 md:w-1/2 lg:pr-12 md:pr-12\"},[_c('table',{staticClass:\"table-auto border-collapse border border-gray-400 w-full\"},[_vm._m(7),_c('tbody',_vm._l((_vm.rows),function(task){return _c('tr',{key:task.task_id,staticClass:\"border border-gray-400 text-blue-900\"},[_c('td',{staticClass:\"p-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.additional),expression:\"additional\"}],attrs:{\"type\":\"checkbox\",\"id\":\"check_id\"},domProps:{\"value\":task.task_id,\"checked\":Array.isArray(_vm.additional)?_vm._i(_vm.additional,task.task_id)>-1:(_vm.additional)},on:{\"change\":[function($event){var $$a=_vm.additional,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=task.task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.additional=$$a.concat([$$v]))}else{$$i>-1&&(_vm.additional=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.additional=$$c}},function($event){return _vm.setTaskDesc(task.task_name, task.description, $event)}],\"click\":_vm.checkOne}}),_vm._v(\" \"+_vm._s(task.task_name))]),_c('td',{staticClass:\"p-2\"},[_vm._v(_vm._s(task.task_type))])])}),0)])]):_vm._e(),_c('div',{staticClass:\"pt-6 text-gray-700 lg:w-1/2 md:w-1/2\"},[_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskName),expression:\"taskName\"}]},[_c('strong',[_vm._v(\"Task Name:\")]),_vm._v(\" \"+_vm._s(_vm.taskName))]),_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskDesc),expression:\"taskDesc\"}],staticClass:\"mt-2\"},[_c('strong',[_vm._v(\"Task Description:\")])]),_c('div',{staticClass:\"mt-2 rich-text-formatter\",domProps:{\"innerHTML\":_vm._s(_vm.taskDesc)}})])])]),_c('div',{staticClass:\"block mt-4\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_vm._v(\"Enter the work email address that we can use to notify you of your progress. If you don't have a Genpact email address, please use the client email or another email that you use.\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"appearance-none border lg:w-2/4 md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),(_vm.emailValidationMsg)?_c('div',{staticClass:\"ui basic label pointing red\"},[_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.emailValidationMsg)+\" \")])]):_vm._e()])]),_c('div',{staticClass:\"mt-6 mb-6 text-center\"},[_c('router-link',{staticClass:\"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.profId, program_id: _vm.programId } }}},[_vm._v(\" Back \")]),_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":function($event){return _vm.createLearner()}}},[_vm._v(\"Select Task\")])],1)])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('strong',[_vm._v(\"Instructions:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Choose \"),_c('strong',[_vm._v(\"a task\")]),_vm._v(\" from the list below. If you are operating in a client-restricted environment, kindly opt for a mobile friendly task (if available) from the provided list.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description thoroughly and ensure that your task submission is in \"),_c('strong',[_vm._v(\"English exclusively\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Please refrain from including any \"),_c('strong',[_vm._v(\"confidential details, such as client names or logos\")]),_vm._v(\", in your submission.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Kindly adhere to Genpact’s policies on \"),_c('strong',[_vm._v(\"Plagiarism\")]),_vm._v(\" and ensure that the task is submitted in your own words (\"),_c('strong',[_vm._v(\"No Copying-pasting\")]),_vm._v(\" from another sources).\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description and submit your task \"),_c('strong',[_vm._v(\"in English only\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\" Be sure to adhere to Genpact’s Policy around plagiarism. That means do not use any confidential or client materials in your submission. The work you submit \"),_c('strong',[_vm._v(\"must be your own. Do not copy and paste.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',[_c('tr',{staticClass:\"border border-gray-400 text-gray-500\"},[_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Learning Task\")]),_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Type of Task\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, ref, onBeforeMount } from 'vue';\nimport { taskData, registerLearner, getExistedLearner } from '@/utils/select_task_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default defineComponent({\n name: 'LearnerSelectTask',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n components: { ErrorMessage, Greetings },\n setup(props) {\n const skillName = ref(localStorage.getItem('skillName'));\n const profName = ref(localStorage.getItem('proficiency'));\n const skillId = ref(props.query.skill_id);\n const profId = ref(props.query.proficiency_id);\n const programId = ref(props.query.program_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const email = ref(localStorage.getItem('email'));\n const fullname = ref(localStorage.getItem('userName'));\n // const initialData: any = ref(localStorage.getItem('allInitialData'));\n const rows = ref();\n const taskName = ref();\n const taskDesc = ref();\n const additional = ref([]);\n const emailValidationMsg = ref();\n const buttonDisable = ref(true);\n const learnerTaskId = ref();\n const renderReady = ref();\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const taskAssignmentStrategy = ref();\n const reviewerAssignmentStrategy = ref();\n const checkOne = () => {\n additional.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setTaskDesc = (taskname: any, description: any, event: any) => {\n const cb = event.target.checked;\n\n if (cb === true) {\n buttonDisable.value = false;\n taskName.value = taskname;\n taskDesc.value = description;\n } else {\n buttonDisable.value = true;\n taskName.value = null;\n taskDesc.value = null;\n }\n };\n const emailValidate = async (emailID: string) => {\n // const emailRegexp = /^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/;\n // const emailRegexp = /^\\w+([\\.-]?\\w+)*@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/;\n const emailRegexp = /^\\w+([.-]?\\w+)*@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-]+$/;\n const isEmailValid = emailRegexp.test(emailID);\n // console.log(`validate_res ${isEmailValid}`);\n return isEmailValid;\n // Log.info(`Validate Response, ${validate_res}`);\n };\n const createLearner = async () => {\n try {\n if (!email.value) {\n emailValidationMsg.value = 'Please enter an email address';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n const validateEmail = await emailValidate(email.value);\n if (!validateEmail) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const learnerData: any = {\n email: email.value,\n linked_task_id: additional.value[0],\n skill_id: props.query.skill_id,\n proficiency_id: props.query.proficiency_id,\n program_id: props.query.program_id,\n };\n if (learnerTaskId.value) {\n Object.assign(learnerData, { learner_task_id: learnerTaskId.value });\n }\n if (fullname.value) {\n Object.assign(learnerData, { fullname: fullname.value });\n }\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await registerLearner('/v1/createLearnerActivities', learnerData);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const createRes: any = res.data;\n if (createRes.emailValidation === false) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n console.log(createRes.message);\n router.push({ name: 'SolidifyLearnerSubmitTask', query: { learner_task_id: createRes.learnerTaskId, program_id: learnerData.program_id } });\n }\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue in registering task for learner, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(`Error in creating ${error}`);\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getTaskData = async (data: any) => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await taskData('/task/search', data);\n // console.log(`res for task search ${JSON.stringify(res)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const taskresponse: any = res.data.tasks;\n renderReady.value = true;\n if (taskresponse.length === 0) {\n errorResponse.value = 'There is no task available for this skill and proficiency, please contact helpmate.';\n showErrorMessage.value = true;\n } else {\n rows.value = taskresponse;\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch task record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n try {\n programName.value = localStorage.getItem('programName');\n reviewerAssignmentStrategy.value = localStorage.getItem('reviewerAssignmentStrategy');\n taskAssignmentStrategy.value = localStorage.getItem('taskAssignmentStrategy');\n // router.go(0);\n const data = {\n skill: props.query.skill_id,\n proficiency: props.query.proficiency_id,\n program_id: props.query.program_id,\n };\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getExistedLearner('/learner/journey/stat', data);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const existingRecord: any = res.data;\n renderReady.value = true;\n if (existingRecord.is_learner_not_allowed) {\n // console.log('inside learner not allowed');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: profId.value, program_id: programId.value } });\n return;\n }\n if (existingRecord.learnerData) {\n if (existingRecord.learnerData.technical_hold) {\n // console.log('learner on hold select task');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: profId.value, program_id: programId.value } });\n }\n learnerTaskId.value = existingRecord.learnerData.learner_task_id;\n if (existingRecord.learnerData.learner_status === 'Need Reviewer and Need Reviewee' || existingRecord.learnerData.learner_status === 'Need Reviewee') {\n router.push({ path: '/solidify/peerReview', query: { learner_task_id: existingRecord.learnerData.learner_task_id } });\n } else if (existingRecord.learnerData.learner_status === 'Need Reviewer' || existingRecord.learnerData.learner_status === 'Passed') router.push({ path: '/solidify/done', query: { learner_task_id: learnerTaskId.value } });\n else if (props.query.program_id !== 'infinity' && existingRecord.learnerData.learner_status === 'Registered') {\n router.push({ path: '/solidify/submitTask', query: { learner_task_id: existingRecord.learnerData.learner_task_id, program_id: props.query.program_id } });\n }\n }\n await getTaskData(data);\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching Data, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n\n return {\n rows,\n // columns,\n skillName,\n profName,\n skillId,\n profId,\n programId,\n taskName,\n taskDesc,\n additional,\n email,\n emailValidationMsg,\n buttonDisable,\n setTaskDesc,\n checkOne,\n createLearner,\n helpmateLink,\n learnerTaskId,\n renderReady,\n fullname,\n errorResponse,\n showErrorMessage,\n programName,\n taskAssignmentStrategy,\n reviewerAssignmentStrategy,\n // cohortPanel,\n // solidifyPanel,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Select_Task.vue?vue&type=template&id=c0b08d26&scoped=true&\"\nimport script from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Select_Task.vue?vue&type=style&index=0&id=c0b08d26&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c0b08d26\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport $http from '../plugins/axios';\n\n// import axios from 'axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\nconst taskData = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst registerLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst getExistedLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\nexport { taskData, registerLearner, getExistedLearner };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","program","_v","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","programId","profName","skillName","reviewerAssignmentStrategy","_m","taskAssignmentStrategy","rows","length","_l","task","key","task_id","directives","rawName","additional","expression","Array","isArray","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","setTaskDesc","task_name","description","checkOne","task_type","taskName","taskDesc","email","composing","emailValidationMsg","query","skill_id","skillId","proficiency_id","profId","program_id","class","buttonDisable","createLearner","errorResponse","Object","components","ErrorMessage","Greetings","fullname","learnerTaskId","programName","taskname","event","cb","emailValidate","emailRegexp","isEmailValid","test","emailID","validateEmail","setTimeout","learnerData","linked_task_id","assign","learner_task_id","res","registerLearner","createRes","data","emailValidation","console","log","message","router","error","axios","err","response","getTaskData","taskData","taskresponse","tasks","getExistedLearner","existingRecord","is_learner_not_allowed","path","technical_hold","learner_status","url","$http"],"sourceRoot":""}
|