@genpact/genome.mfe.solidify-app 1.17.2-alpha.186 → 1.17.2-alpha.188
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/SolidifyAdministrationProgramAdministration.css +1 -1
- package/dist/css/SolidifyLearnerSubmitTask.css +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationMasterAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.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([[832],{8153:function(t,e,a){a.d(e,{Z:function(){return u}});var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full flex mt-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:t.placeHolder1},domProps:{value:t.search},on:{keyup:function(e){t.filterProgramDetails(),t.$emit("Filtered",t.filteredProgramDetails)},input:function(e){e.target.composing||(t.search=e.target.value)}}})])},n=[],s=a(7203),l=(0,s.defineComponent)({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(t){const e=(0,s.ref)(""),a=(0,s.ref)(),r=(0,s.ref)(),n=(0,s.ref)(),l=()=>{n.value=t.data,r.value=n.value.filter((t=>t.toLowerCase().includes(e.value.toLowerCase())))};return(0,s.onBeforeMount)((async()=>{a.value=t.placeholder,console.log("props.placeholder",t.placeholder)})),{placeHolder1:a,filteredProgramDetails:r,filterProgramDetails:l,search:e}}}),o=l,i=a(1001),c=(0,i.Z)(o,r,n,!1,null,null,null),u=c.exports},4572:function(t,e,a){a.r(e),a.d(e,{default:function(){return y}});var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.userRole?e("div",{staticClass:"admin program_admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),t.reportSuccessMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.reportSuccessMessage))]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),e("div",{staticClass:"w-full flex mt-6"},[e("SearchBar",{attrs:{data:t.ProgramDetailsArray,placeholder:"Search By Program Name"},on:{Filtered:t.getFilteredList}})],1),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewProgramDetails()}}},[t._v("View Program Details")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewParticipant()}}},[t._v("View Participants")]):t._e(),t.edcastBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.getEdcastUrl()}}},[t._v("Generate URL")]):t._e(),t.showReportBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerReport()}}},[t._v("Generate Participant Report")]):t._e(),t.showTriggerProxyAssignment?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerProxyAssignmentForCohort()}}},[t._v("Trigger Proxy Assignment")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.manageEmailTemplates()}}},[t._v("Manage Email Templates")]):t._e()])]),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.filteredProgramDetails,(function(a){return e("tr",{key:a.program_id,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.programCheckOne,expression:"programCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:a.program_id},domProps:{value:a.program_id,checked:Array.isArray(t.programCheckOne)?t._i(t.programCheckOne,a.program_id)>-1:t.programCheckOne},on:{change:[function(e){var r=t.programCheckOne,n=e.target,s=!!n.checked;if(Array.isArray(r)){var l=a.program_id,o=t._i(r,l);n.checked?o<0&&(t.programCheckOne=r.concat([l])):o>-1&&(t.programCheckOne=r.slice(0,o).concat(r.slice(o+1)))}else t.programCheckOne=s},function(e){return t.showProgramDetailsBtn(e,a.program_id,a.participants,a.program_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3 text-left"},[t._v(t._s(a.program_display_name?a.program_display_name:a.program_name))]),e("td",{staticClass:"p-2 px-3 text-left capitalize"},[t._v(t._s(a.isAcademy))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(a.start_date))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(a.end_date))])])})),0)])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")]),[t.showParticipant?e("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"},[e("transition",{attrs:{name:"modal-fade"}},[e("div",{staticClass:"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center"},[e("div",{staticClass:"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8"},[e("div",{staticClass:"justify-content"},[e("div",{staticClass:"text-xl px-3 text-left"},[t._v(t._s(t.selectedProgramName))]),e("div",{staticClass:"absolute right-2 pr-4 top-9 cursor-pointer",on:{click:function(e){return t.closeModal()}}},[e("x-icon",{attrs:{size:"1.5x"}})],1)]),e("div",{staticClass:"pt-4 tableScroll1"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over text-left"},[e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"},[t._v("Participant OHR")])])]),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.participantList,(function(a){return e("tr",{key:a,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t._v(t._s(a))])])})),0)])])])])])],1):t._e()],t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2):t._e()},n=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Program Administration")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("Program Name")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("is Academy")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("Start Date")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("End Date")])])])}],s=(a(7658),a(7203)),l=a(4856),o=a(1602),i=a.n(o),c=a(306),u=a(6275),d=a(5279),p=a(8153),g=a(998),m=(0,s.defineComponent)({name:"ProgramAdministration",components:{XIcon:l.b0D,SearchBar:p.Z},setup(){const t=(0,s.ref)(!1),e=(0,s.ref)(!1),a=(0,s.ref)(),r=(0,s.ref)(),n=(0,s.ref)(),l=(0,s.ref)(),o=(0,s.ref)([]),p=(0,s.ref)(),m=(0,s.ref)(),f=(0,s.ref)(0),v=(0,s.ref)(),h=(0,s.ref)(),y=(0,s.ref)(!1),w=(0,s.ref)(),x=(0,s.ref)(),_=(0,s.ref)(!1),b=(0,s.ref)(),C=(0,s.ref)(),k=(0,s.ref)(),P=(0,s.ref)(),Z=(0,s.ref)(),S=(0,s.ref)(!1),A=(0,s.ref)(!1),D=(0,s.ref)(!1),O=(0,s.ref)(!1),R=(0,s.ref)(!1),B=(0,s.ref)(!1),M=()=>{o.value=[]},T=async()=>{f.value+=1,m.value=null,p.value=null},L=async t=>{try{const e=t.target.files[0],a=e.name,r=a.endsWith(".csv");r?(p.value=a,m.value=e):(b.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((()=>{b.value=null}),6e3),f.value+=1,m.value=null,p.value=null)}catch(e){console.log(e)}},$=async()=>{l.value=!1;const t=await(0,g.Os)("/program"),e=t.data,r=e.sort(((t,e)=>i()(e.start_date).utc().unix()-i()(t.start_date).utc().unix()));for(let a=0;a<r.length;a+=1){const t=r[a];t.start_date=i()(t.start_date).format("DD-MM-YYYY"),t.end_date=i()(t.end_date).format("DD-MM-YYYY")}a.value=r,l.value=!0},F=(t,e,a,r)=>{const n=t.target.checked;!0===n?(h.value=!0,v.value=e,w.value=a,x.value=r,P.value.includes("System Admin")&&"infinity"!==e&&(B.value=!0),(P.value.includes("Program Admin")||P.value.includes("System Admin"))&&(O.value=!0,"infinity"===v.value||"S2"===v.value?(D.value=!1,R.value=!1):(D.value=!0,R.value=!0))):(h.value=!1,O.value=!1)},E=async()=>{l.value=!1,await(0,g.xo)(v.value,x.value),l.value=!0},Y=async()=>{y.value=!0},j=async()=>{y.value=!1,o.value=[],h.value=!1,await $()},N=()=>{const t=u.Z.resolve({name:"SolidifyAdministrationProgramDetails",query:{program_id:v.value}});window.open(t.href,"_blank")},U=async()=>{l.value=!1;const t=await(0,g.eR)(v.value);k.value="The report will be emailed to you",setTimeout((()=>{k.value=null}),6e3),console.log(`Report Trigger Response ${t}`),l.value=!0},G=async()=>{try{const t=await(0,g.td)(v.value),e=t.data;k.value=e.message,setTimeout((()=>{k.value=null}),6e3),console.log(`Report Trigger Response ${JSON.stringify(e)}`)}catch(t){if(l.value=!0,console.log(`error peer review ${t}`),c.Z.isAxiosError(t)){const e=t;l.value=!0,b.value=e.response?.data?.message,setTimeout((()=>{b.value=null}),2e3)}}},I=t=>{n.value=a.value.filter((e=>t.includes(e.program_name))),console.log("filteredProgramDetails",n.value)},V=()=>{u.Z.push({name:"SolidifyAdministrationManageEmailTemplates",query:{program_id:v.value}})};return(0,s.onBeforeMount)((async()=>{const t=await(0,d.GF)("/getUserRole");Z.value=t.user_key,P.value=t.user_roles,P.value.length>0&&(P.value.includes("Program Admin")||P.value.includes("System Admin")||P.value.includes("System Admin View Access")?S.value=!0:S.value=!1,await $()),console.log("ProgramDetails.value",a.value),n.value=a.value,r.value=a.value.map((t=>t.program_name))})),{openShareModal:t,openShareModalParticipant:e,ProgramDetails:a,renderReady:l,programCheckOne:o,checkOne:M,selectedProgramId:v,showProgramDetailsBtn:F,programBtnShow:h,viewParticipant:Y,showParticipant:y,participantList:w,closeModal:j,viewProgramDetails:N,selectedProgramName:x,getEdcastUrl:E,showBulkParticipantPanel:_,selectedFile:L,clearFile:T,bulkParticipantsFile:m,errorMessage:b,showScreen:S,userRole:P,loggedInUser:Z,fileInputKey:f,successMessage:C,showReportBtn:D,showTaskImport:A,triggerReport:U,edcastBtnShow:O,showBulkBtn:R,reportSuccessMessage:k,triggerProxyAssignmentForCohort:G,showTriggerProxyAssignment:B,filteredProgramDetails:n,getFilteredList:I,ProgramDetailsArray:r,manageEmailTemplates:V}}}),f=m,v=a(1001),h=(0,v.Z)(f,r,n,!1,null,"9d5d23d4",null),y=h.exports},5279:function(t,e,a){a.d(e,{$d:function(){return n},$i:function(){return C},Ao:function(){return v},DU:function(){return m},EX:function(){return R},F5:function(){return B},FS:function(){return p},GF:function(){return S},Iu:function(){return l},J1:function(){return b},Jf:function(){return w},Kk:function(){return h},N9:function(){return A},P8:function(){return u},VP:function(){return y},Vz:function(){return k},WX:function(){return g},X$:function(){return x},XP:function(){return s},Yb:function(){return Z},a4:function(){return D},dH:function(){return _},gh:function(){return f},nb:function(){return i},oA:function(){return P},r4:function(){return d},sd:function(){return c},wp:function(){return o},xJ:function(){return O}});var r=a(7129);const n=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},s=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},l=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},o=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},i=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},c=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},u=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},d=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},p=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},g=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},m=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},f=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},v=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},h=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},y=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},w=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},x=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},_=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},b=async t=>{const e=await r.Z.get(t);return e},C=async t=>{const e=await r.Z.get(t);return e},k=async t=>{const e=await r.Z.get(t);return e},P=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},Z=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},S=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},A=async t=>{const e=await r.Z.post("/user/role",t);return e},D=async t=>{const e=await r.Z.post("/user/removeRole",t);return e},O=async()=>{const t=await r.Z.get("role");return t},R=async t=>{const e=await r.Z.post("/user/saveLSS",t);return e},B=async t=>{const e=await r.Z.post("/user/saveEnvAccess",t);return e}},998:function(t,e,a){a.d(e,{Cf:function(){return i},Os:function(){return s},Sg:function(){return u},cg:function(){return l},eR:function(){return d},gT:function(){return c},td:function(){return n},xo:function(){return o}});var r=a(7129);const n=async t=>{const e=await r.Z.get(`assignProxyToCohortLearner/${t}`);return e},s=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},l=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.AllGrade,e))),e},o=async(t,e)=>{try{let a;return console.log(`programName ${e}`),await r.Z.get(`/skill/edcast/${t}`).then((async t=>{a=t.data;const e=document.createElement("a");return e.href=a,e.click(),URL.revokeObjectURL(e.href),a})),a}catch(a){return a}},i=async(t,e)=>{try{const a=await fetch(`${t}`,{method:"put",body:e}),r=a;return r}catch(a){return console.error(a),a}},c=async(t,e)=>{try{const a=await fetch(`${t}`,{method:"put",body:e}),r=a;return r}catch(a){return console.error(a),a}},u=async(t,e)=>{try{const a=await fetch(`${t}`,{method:"put",body:e}),r=a;return r}catch(a){return console.error(a),a}},d=async t=>{try{let e;return await r.Z.get(`/program/report/${t}`).then((t=>(e=t.data,e))),e}catch(e){return e}}}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[832],{1819:function(t,e,a){a.r(e),a.d(e,{default:function(){return w}});var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.userRole?e("div",{staticClass:"admin program_admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),t.reportSuccessMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.reportSuccessMessage))]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full pr-3 mb-4"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchProgText,expression:"searchProgText"}],staticClass:"appearance-none border w-full rounded py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:"Search By Program Name"},domProps:{value:t.searchProgText},on:{input:function(e){e.target.composing||(t.searchProgText=e.target.value)}}})]),e("div",{staticClass:"w-full pr-3 mb-4"},[e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4",on:{click:function(e){return t.searchPrograms()}}},[t._v("Search")])])]),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewProgramDetails()}}},[t._v("View Program Details")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewParticipant()}}},[t._v("View Participants")]):t._e(),t.edcastBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.getEdcastUrl()}}},[t._v("Generate URL")]):t._e(),t.showReportBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerReport()}}},[t._v("Generate Participant Report")]):t._e(),t.showTriggerProxyAssignment?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerProxyAssignmentForCohort()}}},[t._v("Trigger Proxy Assignment")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.manageEmailTemplates()}}},[t._v("Manage Email Templates")]):t._e()])]),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.filteredProgramDetails,(function(a){return e("tr",{key:a.program_id,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.programCheckOne,expression:"programCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:a.program_id},domProps:{value:a.program_id,checked:Array.isArray(t.programCheckOne)?t._i(t.programCheckOne,a.program_id)>-1:t.programCheckOne},on:{change:[function(e){var r=t.programCheckOne,n=e.target,s=!!n.checked;if(Array.isArray(r)){var o=a.program_id,i=t._i(r,o);n.checked?i<0&&(t.programCheckOne=r.concat([o])):i>-1&&(t.programCheckOne=r.slice(0,i).concat(r.slice(i+1)))}else t.programCheckOne=s},function(e){return t.showProgramDetailsBtn(e,a.program_id,a.participants,a.program_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3 text-left"},[t._v(t._s(a.program_display_name?a.program_display_name:a.program_name))]),e("td",{staticClass:"p-2 px-3 text-left capitalize"},[t._v(t._s(a.isAcademy))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(a.start_date))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(a.end_date))])])})),0)])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")]),[t.showParticipant?e("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"},[e("transition",{attrs:{name:"modal-fade"}},[e("div",{staticClass:"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center"},[e("div",{staticClass:"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8"},[e("div",{staticClass:"justify-content"},[e("div",{staticClass:"text-xl px-3 text-left"},[t._v(t._s(t.selectedProgramName))]),e("div",{staticClass:"absolute right-2 pr-4 top-9 cursor-pointer",on:{click:function(e){return t.closeModal()}}},[e("x-icon",{attrs:{size:"1.5x"}})],1)]),e("div",{staticClass:"pt-4 tableScroll1"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over text-left"},[e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"},[t._v("Participant OHR")])])]),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.participantList,(function(a){return e("tr",{key:a,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t._v(t._s(a))])])})),0)])])])])])],1):t._e()],t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2):t._e()},n=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Program Administration")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("Program Name")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("is Academy")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("Start Date")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("End Date")])])])}],s=(a(7658),a(7203)),o=a(4856),i=a(1602),c=a.n(i),l=a(306),u=a(6275),d=a(5279),g=a(998),p=a(9649),m=a(1232),f=(0,s.defineComponent)({name:"ProgramAdministration",components:{XIcon:o.b0D},setup(){const t=(0,s.ref)(!1),e=(0,s.ref)(!1),a=(0,s.ref)(),r=(0,s.ref)(),n=(0,s.ref)(),o=(0,s.ref)([]),i=(0,s.ref)(),f=(0,s.ref)(),y=(0,s.ref)(0),v=(0,s.ref)(),h=(0,s.ref)(),w=(0,s.ref)(!1),x=(0,s.ref)(),b=(0,s.ref)(),_=(0,s.ref)(!1),C=(0,s.ref)(),k=(0,s.ref)(),P=(0,s.ref)(),Z=(0,s.ref)(),S=(0,s.ref)(),A=(0,s.ref)(!1),R=(0,s.ref)(!1),T=(0,s.ref)(!1),O=(0,s.ref)(!1),$=(0,s.ref)(!1),M=(0,s.ref)(!1),D=(0,s.ref)(),B=(0,s.ref)([]),E=(0,s.ref)(""),L=()=>{o.value=[]},F=async()=>{y.value+=1,f.value=null,i.value=null},N=async t=>{try{const e=t.target.files[0],a=e.name,r=a.endsWith(".csv");r?(i.value=a,f.value=e):(C.value="Please Select valid file to upload, only CSV file is allowed",setTimeout((()=>{C.value=null}),6e3),y.value+=1,f.value=null,i.value=null)}catch(e){console.log(e)}},j=async()=>{n.value=!1;const t=await(0,m.F)("/programs",{programNames:B.value}),e=t.data?.data,a=e.sort(((t,e)=>c()(e.start_date).utc().unix()-c()(t.start_date).utc().unix()));for(let r=0;r<a.length;r+=1){const t=a[r];t.start_date=c()(t.start_date).format("DD-MM-YYYY"),t.end_date=c()(t.end_date).format("DD-MM-YYYY")}r.value=a,n.value=!0},Y=async()=>{n.value=!1,D.value=await(0,p.dr)("/cache?cache=program"),n.value=!0},U=(t,e,a,r)=>{const n=t.target.checked;!0===n?(h.value=!0,v.value=e,x.value=a,b.value=r,Z.value.includes("System Admin")&&"infinity"!==e&&(M.value=!0),(Z.value.includes("Program Admin")||Z.value.includes("System Admin"))&&(O.value=!0,"infinity"===v.value||"S2"===v.value?(T.value=!1,$.value=!1):(T.value=!0,$.value=!0))):(h.value=!1,O.value=!1)},V=async()=>{n.value=!1,await(0,g.xo)(v.value,b.value),n.value=!0},I=async()=>{w.value=!0},G=async()=>{w.value=!1,o.value=[],h.value=!1,await H()},X=()=>{const t=u.Z.resolve({name:"SolidifyAdministrationProgramDetails",query:{program_id:v.value}});window.open(t.href,"_blank")},z=async()=>{n.value=!1;const t=await(0,g.eR)(v.value);P.value="The report will be emailed to you",setTimeout((()=>{P.value=null}),6e3),console.log(`Report Trigger Response ${t}`),n.value=!0},J=async()=>{try{const t=await(0,g.td)(v.value),e=t.data;P.value=e.message,setTimeout((()=>{P.value=null}),6e3),console.log(`Report Trigger Response ${JSON.stringify(e)}`)}catch(t){if(n.value=!0,console.log(`error peer review ${t}`),l.Z.isAxiosError(t)){const e=t;n.value=!0,C.value=e.response?.data?.message,setTimeout((()=>{C.value=null}),2e3)}}},q=()=>{u.Z.push({name:"SolidifyAdministrationManageEmailTemplates",query:{program_id:v.value}})},H=async()=>{console.log("programLists.value",D.value),B.value=D.value.filter((t=>t.program_name.toLowerCase().includes(E.value))),console.log("ProgramIdsArr",{data:B.value}),await j()};return(0,s.onBeforeMount)((async()=>{const t=await(0,d.GF)("/getUserRole");S.value=t.user_key,Z.value=t.user_roles,Z.value.length>0&&(Z.value.includes("Program Admin")||Z.value.includes("System Admin")||Z.value.includes("System Admin View Access")?A.value=!0:A.value=!1,await Y())})),{openShareModal:t,openShareModalParticipant:e,renderReady:n,programCheckOne:o,checkOne:L,selectedProgramId:v,showProgramDetailsBtn:U,programBtnShow:h,viewParticipant:I,showParticipant:w,participantList:x,closeModal:G,viewProgramDetails:X,selectedProgramName:b,getEdcastUrl:V,showBulkParticipantPanel:_,selectedFile:N,clearFile:F,bulkParticipantsFile:f,errorMessage:C,showScreen:A,userRole:Z,loggedInUser:S,fileInputKey:y,successMessage:k,showReportBtn:T,showTaskImport:R,triggerReport:z,edcastBtnShow:O,showBulkBtn:$,reportSuccessMessage:P,triggerProxyAssignmentForCohort:J,showTriggerProxyAssignment:M,filteredProgramDetails:r,ProgramDetailsArray:a,manageEmailTemplates:q,searchPrograms:H,searchProgText:E}}}),y=f,v=a(1001),h=(0,v.Z)(y,r,n,!1,null,"7864a55c",null),w=h.exports},5279:function(t,e,a){a.d(e,{$d:function(){return n},$i:function(){return C},Ao:function(){return y},DU:function(){return m},EX:function(){return O},F5:function(){return $},FS:function(){return g},GF:function(){return S},Iu:function(){return o},J1:function(){return _},Jf:function(){return w},Kk:function(){return v},N9:function(){return A},P8:function(){return u},VP:function(){return h},Vz:function(){return k},WX:function(){return p},X$:function(){return x},XP:function(){return s},Yb:function(){return Z},a4:function(){return R},dH:function(){return b},gh:function(){return f},nb:function(){return c},oA:function(){return P},r4:function(){return d},sd:function(){return l},wp:function(){return i},xJ:function(){return T}});var r=a(7129);const n=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},s=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},o=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},i=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},c=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},l=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},u=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},d=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},g=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},p=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},m=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},f=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},y=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},v=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},h=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},w=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},x=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},b=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},_=async t=>{const e=await r.Z.get(t);return e},C=async t=>{const e=await r.Z.get(t);return e},k=async t=>{const e=await r.Z.get(t);return e},P=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},Z=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},S=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},A=async t=>{const e=await r.Z.post("/user/role",t);return e},R=async t=>{const e=await r.Z.post("/user/removeRole",t);return e},T=async()=>{const t=await r.Z.get("role");return t},O=async t=>{const e=await r.Z.post("/user/saveLSS",t);return e},$=async t=>{const e=await r.Z.post("/user/saveEnvAccess",t);return e}},998:function(t,e,a){a.d(e,{Cf:function(){return i},Sg:function(){return l},cg:function(){return s},eR:function(){return u},gT:function(){return c},td:function(){return n},xo:function(){return o}});var r=a(7129);const n=async t=>{const e=await r.Z.get(`assignProxyToCohortLearner/${t}`);return e},s=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.AllGrade,e))),e},o=async(t,e)=>{try{let a;return console.log(`programName ${e}`),await r.Z.get(`/skill/edcast/${t}`).then((async t=>{a=t.data;const e=document.createElement("a");return e.href=a,e.click(),URL.revokeObjectURL(e.href),a})),a}catch(a){return a}},i=async(t,e)=>{try{const a=await fetch(`${t}`,{method:"put",body:e}),r=a;return r}catch(a){return console.error(a),a}},c=async(t,e)=>{try{const a=await fetch(`${t}`,{method:"put",body:e}),r=a;return r}catch(a){return console.error(a),a}},l=async(t,e)=>{try{const a=await fetch(`${t}`,{method:"put",body:e}),r=a;return r}catch(a){return console.error(a),a}},u=async t=>{try{let e;return await r.Z.get(`/program/report/${t}`).then((t=>(e=t.data,e))),e}catch(e){return e}}},9649:function(t,e,a){a.d(e,{$M:function(){return d},F9:function(){return p},HX:function(){return i},V$:function(){return c},VA:function(){return s},dr:function(){return n},gs:function(){return m},jz:function(){return g},q$:function(){return u},rP:function(){return o},yW:function(){return l}});var r=a(7129);const n=async t=>{let e;return await r.Z.get(t).then((t=>(console.log("Response",t),e=t.data.response.program_name,e))),e},s=async(t,e)=>{let a;return await r.Z.post(t,e).then((t=>(a=t.data.tasks,a))),a},o=async(t,e)=>{let a;return await r.Z.post(t,e).then((t=>(a=t.data.learnerDetails,a))),a},i=async(t,e)=>{let a;return await r.Z.post(t,e).then((t=>(a=t.data.tasks,a))),a},c=async(t,e)=>{let a;return await r.Z.post(t,e).then((t=>(a=t.data,a))),a},l=async t=>{let e;try{return await r.Z.get(`/task/${t}`).then((t=>(e=t.data.data,e))),e}catch(a){return a}},u=async(t,e)=>{try{const a=await fetch(`${t}`,{method:"put",body:e}),r=a;return r}catch(a){return console.error(a),a}},d=async(t,e)=>{let a;return await r.Z.post(t,e).then((t=>(a=t.data.tasks,a))),a},g=async(t,e)=>{let a;return await r.Z.post(t,e).then((t=>(a=t.data.tasks,a))),a},p=async t=>{console.log(`inside save task data ${JSON.stringify(t)}`);const e=await r.Z.post("/task/create",t);return e},m=async t=>{try{let e;return await r.Z.get(`/admin/task/taskExport/${t}`).then((async t=>(e=t.data,e))),e}catch(e){return e}}}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyAdministrationProgramAdministration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidify.umd.min.SolidifyAdministrationProgramAdministration.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,QAAQ,CAACI,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOT,EAAIU,OAAQC,WAAW,WAAWN,YAAY,gHAAgHO,MAAM,CAAC,KAAO,OAAO,YAAcZ,EAAIa,cAAcC,SAAS,CAAC,MAASd,EAAIU,QAASK,GAAG,CAAC,MAAQ,SAASC,GAAQhB,EAAIiB,uBAAyBjB,EAAIkB,MAAM,WAAYlB,EAAImB,uBAAuB,EAAE,MAAQ,SAASH,GAAWA,EAAOI,OAAOC,YAAiBrB,EAAIU,OAAOM,EAAOI,OAAOX,MAAK,MACnoB,EACIa,EAAkB,G,UCCtB,GAAeC,EAAAA,EAAAA,iBAAgB,CAC7BhB,KAAM,YAENiB,MAAO,CAAEC,KAAM,CAACC,OAAQC,YAAa,CAAEC,KAAMC,OAAQC,QAAS,WAC9DC,MAAMP,GACJ,MAAMd,GAASsB,EAAAA,EAAAA,KAAI,IACbnB,GAAemB,EAAAA,EAAAA,OACfb,GAAyBa,EAAAA,EAAAA,OACzBC,GAAiBD,EAAAA,EAAAA,OACjBf,EAAuBA,KAE3BgB,EAAexB,MAAQe,EAAMC,KAC7BN,EAAuBV,MAAQwB,EAAexB,MAAMyB,QAAQC,GAAYA,EAAQC,cAAcC,SAAS3B,EAAOD,MAAM2B,gBAAe,EAQrI,OALAE,EAAAA,EAAAA,gBAAcC,UAEZ1B,EAAaJ,MAAQe,EAAMG,YAC3Ba,QAAQC,IAAI,oBAAqBjB,EAAMG,YAAY,I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,CACP,MAAOrD,GAEP,OADA9G,QAAQ2E,MAAMmC,GACPA,C,GAGEuD,EAAmCtK,MAAOyH,EAAUuC,KAC/D,IACE,MAAMxD,QAAYyD,MAAM,GAAGxC,IAAO,CAChCyC,OAAQ,MACRC,KAAMH,IAEFI,EAAiB5D,EACvB,OAAO4D,C,CACP,MAAOrD,GAEP,OADA9G,QAAQ2E,MAAMmC,GACPA,C,GAgBER,EAAsBvG,UACjC,IACE,IAAIuK,EAKJ,aAJM/C,EAAAA,EAAAA,IAAU,mBAAmB5B,KAAa8B,MAAMV,IACpDuD,EAAYvD,EAAS9H,KACdqL,KAEFA,C,CACP,MAAO3F,GACP,OAAOA,C","sources":["webpack://solidify/./src/components/global/SearchBar.vue","webpack://solidify/./src/components/global/SearchBar.vue?f7b9","webpack://solidify/./src/components/global/SearchBar.vue?b082","webpack://solidify/./src/components/global/SearchBar.vue?f9bc","webpack://solidify/./src/views/Admin/Program_Administration.vue","webpack://solidify/./src/views/Admin/Program_Administration.vue?1962","webpack://solidify/./src/views/Admin/Program_Administration.vue?7484","webpack://solidify/./src/views/Admin/Program_Administration.vue?995a","webpack://solidify/./src/utils/admin/master_service.ts","webpack://solidify/./src/utils/admin/program_administration_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full flex mt-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\",\"placeholder\":_vm.placeHolder1},domProps:{\"value\":(_vm.search)},on:{\"keyup\":function($event){_vm.filterProgramDetails() & _vm.$emit('Filtered', _vm.filteredProgramDetails)},\"input\":function($event){if($event.target.composing)return;_vm.search=$event.target.value}}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'SearchBar',\n // eslint-disable-next-line vue/require-default-prop\n props: { data: [Array], placeholder: { type: String, default: 'Search' } },\n setup(props) {\n const search = ref('');\n const placeHolder1 = ref();\n const filteredProgramDetails = ref();\n const ProgramDetails = ref();\n const filterProgramDetails = () => {\n // console.log('props.data', props.data);\n ProgramDetails.value = props.data;\n filteredProgramDetails.value = ProgramDetails.value.filter((program) => program.toLowerCase().includes(search.value.toLowerCase()));\n // console.log('filteredProgramDetails', filteredProgramDetails);\n };\n onBeforeMount(async () => {\n // console.log('props.data onbefore mount', props.data);\n placeHolder1.value = props.placeholder;\n console.log('props.placeholder', props.placeholder);\n });\n return { placeHolder1, filteredProgramDetails, filterProgramDetails, search };\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!./SearchBar.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!./SearchBar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SearchBar.vue?vue&type=template&id=7e210d5c&\"\nimport script from \"./SearchBar.vue?vue&type=script&lang=ts&\"\nexport * from \"./SearchBar.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 (_vm.userRole)?_c('div',{staticClass:\"admin program_admin\"},[(_vm.showScreen)?_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),(_vm.reportSuccessMessage)?_c('div',{staticClass:\"text-green-700\"},[_vm._v(_vm._s(_vm.reportSuccessMessage))]):_vm._e(),(_vm.errorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e(),_c('div',{staticClass:\"w-full flex mt-6\"},[_c('SearchBar',{attrs:{\"data\":_vm.ProgramDetailsArray,\"placeholder\":\"Search By Program Name\"},on:{\"Filtered\":_vm.getFilteredList}})],1),_c('div',{staticClass:\"w-full flex mt-6\"},[_c('div',{staticClass:\"w-full text-left\"},[(_vm.programBtnShow)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.viewProgramDetails()}}},[_vm._v(\"View Program Details\")]):_vm._e(),(_vm.programBtnShow)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.viewParticipant()}}},[_vm._v(\"View Participants\")]):_vm._e(),(_vm.edcastBtnShow)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.getEdcastUrl()}}},[_vm._v(\"Generate URL\")]):_vm._e(),(_vm.showReportBtn)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.triggerReport()}}},[_vm._v(\"Generate Participant Report\")]):_vm._e(),(_vm.showTriggerProxyAssignment)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.triggerProxyAssignmentForCohort()}}},[_vm._v(\"Trigger Proxy Assignment\")]):_vm._e(),(_vm.programBtnShow)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.manageEmailTemplates()}}},[_vm._v(\"Manage Email Templates\")]):_vm._e()])]),_c('div',{staticClass:\"w-full mt-4 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-4\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.filteredProgramDetails),function(program){return _c('tr',{key:program.program_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.programCheckOne),expression:\"programCheckOne\"}],staticClass:\"cursor-pointer\",attrs:{\"type\":\"checkbox\",\"id\":program.program_id},domProps:{\"value\":program.program_id,\"checked\":Array.isArray(_vm.programCheckOne)?_vm._i(_vm.programCheckOne,program.program_id)>-1:(_vm.programCheckOne)},on:{\"change\":[function($event){var $$a=_vm.programCheckOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=program.program_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.programCheckOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.programCheckOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.programCheckOne=$$c}},function($event){return _vm.showProgramDetailsBtn($event, program.program_id, program.participants, program.program_name)}],\"click\":_vm.checkOne}})]),_c('td',{staticClass:\"p-2 px-3 text-left\"},[_vm._v(_vm._s(program.program_display_name ? program.program_display_name : program.program_name))]),_c('td',{staticClass:\"p-2 px-3 text-left capitalize\"},[_vm._v(_vm._s(program.isAcademy))]),_c('td',{staticClass:\"p-2 px-3 text-center\"},[_vm._v(_vm._s(program.start_date))]),_c('td',{staticClass:\"p-2 px-3 text-center\"},[_vm._v(_vm._s(program.end_date))])])}),0)])])]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")]),[(_vm.showParticipant)?_c('main',{staticClass:\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\"},[_c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center\"},[_c('div',{staticClass:\"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8\"},[_c('div',{staticClass:\"justify-content\"},[_c('div',{staticClass:\"text-xl px-3 text-left\"},[_vm._v(_vm._s(_vm.selectedProgramName))]),_c('div',{staticClass:\"absolute right-2 pr-4 top-9 cursor-pointer\",on:{\"click\":function($event){return _vm.closeModal()}}},[_c('x-icon',{attrs:{\"size\":\"1.5x\"}})],1)]),_c('div',{staticClass:\"pt-4 tableScroll1\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-4 text-over text-left\"},[_c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"py-2 pl-3 pr-0 w-6\"},[_vm._v(\"Participant OHR\")])])]),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.participantList),function(participant){return _c('tr',{key:participant,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_vm._v(_vm._s(participant))])])}),0)])])])])])],1):_vm._e()],(!_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()],2):_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(\"Program Administration\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _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 text-left\"},[_vm._v(\"Program Name\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-left\"},[_vm._v(\"is Academy\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-center\"},[_vm._v(\"Start Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-center\"},[_vm._v(\"End Date\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { XIcon } from 'vue-feather-icons';\nimport moment from 'moment';\nimport axios, { AxiosError } from 'axios';\n// eslint-disable-next-line\nimport router from '@/router';\n// import { getPreSignedUrl } from '@/utils/learner_submit_service';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\n// eslint-disable-next-line\nimport SearchBar from '@/components/global/SearchBar.vue';\n// eslint-disable-next-line\nimport { getEdcaseURL, invokeGetProgramDetails, invokeTriggerReport } from '../../utils/admin/program_administration_service';\n// eslint-disable-next-line\nimport { triggerProxyAssignmentForSpecialProgram } from '../../utils/admin/program_administration_service';\n// import { getPreSignedUrl } from '@/utils/learner_submit_service';\n\nexport default defineComponent({\n name: 'ProgramAdministration',\n components: { XIcon, SearchBar },\n setup() {\n const openShareModal = ref(false);\n const openShareModalParticipant = ref(false);\n const ProgramDetails = ref();\n const ProgramDetailsArray = ref();\n const filteredProgramDetails = ref();\n const renderReady = ref();\n const programCheckOne = ref([]);\n const bulkParticipantFileName = ref();\n const bulkParticipantsFile = ref();\n const fileInputKey = ref(0);\n const selectedProgramId = ref();\n const programBtnShow = ref();\n const showParticipant = ref(false);\n const participantList = ref();\n const selectedProgramName = ref();\n const showBulkParticipantPanel = ref(false);\n const errorMessage = ref();\n const successMessage = ref();\n const reportSuccessMessage = ref();\n // const preSignedUrl = ref();\n const userRole = ref();\n const loggedInUser = ref();\n const showScreen = ref(false);\n const showTaskImport = ref(false);\n const showReportBtn = ref(false);\n const edcastBtnShow = ref(false);\n const showBulkBtn = ref(false);\n const showTriggerProxyAssignment = ref(false);\n const checkOne = () => {\n programCheckOne.value = [];\n };\n const clearFile = async () => {\n fileInputKey.value += 1;\n bulkParticipantsFile.value = null;\n bulkParticipantFileName.value = null;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const selectedFile = async (event: any) => {\n try {\n const file = event.target.files[0];\n const fileName = file.name;\n const isFileCSV = fileName.endsWith('.csv');\n if (!isFileCSV) {\n errorMessage.value = 'Please Select valid file to upload, only CSV file is allowed';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n fileInputKey.value += 1;\n bulkParticipantsFile.value = null;\n bulkParticipantFileName.value = null;\n } else {\n bulkParticipantFileName.value = fileName;\n bulkParticipantsFile.value = file;\n }\n } catch (error) {\n console.log(error);\n }\n };\n const getProgramDetails = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const programDetailsRes: any = await invokeGetProgramDetails('/program');\n const filtered = programDetailsRes.data;\n // let filtered;\n // if (userRole.value.includes('System Admin')) {\n // filtered = allPrograms;\n // } else {\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // filtered = allPrograms.filter((el: any) => {\n // const programAdmin = el.program_admin;\n // if (programAdmin) {\n // return programAdmin.includes(loggedInUser.value);\n // }\n // return false;\n // });\n // }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sortedArray = filtered.sort((a: any, b: any) => moment(b.start_date).utc().unix() - moment(a.start_date).utc().unix());\n for (let index = 0; index < sortedArray.length; index += 1) {\n const element = sortedArray[index];\n element.start_date = moment(element.start_date).format('DD-MM-YYYY');\n element.end_date = moment(element.end_date).format('DD-MM-YYYY');\n }\n ProgramDetails.value = sortedArray;\n renderReady.value = true;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showProgramDetailsBtn = (event: any, programId: any, participants: any, programName: any) => {\n const cb = event.target.checked;\n if (cb === true) {\n programBtnShow.value = true;\n selectedProgramId.value = programId;\n participantList.value = participants;\n selectedProgramName.value = programName;\n if (userRole.value.includes('System Admin') && programId !== 'infinity') {\n showTriggerProxyAssignment.value = true;\n }\n if (userRole.value.includes('Program Admin') || userRole.value.includes('System Admin')) {\n edcastBtnShow.value = true;\n // showTaskImport.value = true;\n if (selectedProgramId.value === 'infinity' || selectedProgramId.value === 'S2') {\n showReportBtn.value = false;\n showBulkBtn.value = false;\n } else {\n showReportBtn.value = true;\n showBulkBtn.value = true;\n }\n }\n } else {\n programBtnShow.value = false;\n edcastBtnShow.value = false;\n }\n };\n const getEdcastUrl = async () => {\n renderReady.value = false;\n await getEdcaseURL(selectedProgramId.value, selectedProgramName.value);\n renderReady.value = true;\n };\n const viewParticipant = async () => {\n showParticipant.value = true;\n };\n const closeModal = async () => {\n showParticipant.value = false;\n programCheckOne.value = [];\n programBtnShow.value = false;\n await getProgramDetails();\n };\n const viewProgramDetails = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationProgramDetails', query: { program_id: selectedProgramId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'programDetails', query: { program_id: selectedProgramId.value } });\n };\n // const bulkImportParticipants = async () => {\n // const now = moment().format('llll');\n // renderReady.value = false;\n // const keyName = `Program_Proxy_Admin_Participants_${selectedProgramId.value}_${now}.csv`;\n // console.log('key Name', keyName);\n // console.log('File Name', bulkParticipantFileName.value);\n // console.log('File', bulkParticipantsFile.value);\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const preSignedRes: any = await getPreSignedUrl('/v1/pretAuthUrlForUpload', {\n // folder_name: 'task_import',\n // key_name: keyName,\n // });\n // console.log('presigned URL', preSignedRes);\n // preSignedUrl.value = preSignedRes.data.preSignedUrl;\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const uploadedRes: any = await uploadBulkParticipants(preSignedUrl.value, bulkParticipantsFile.value);\n // if (uploadedRes.status === 200) {\n // const bulkImportObj = {\n // program_id: selectedProgramId.value,\n // file_key: `task_import/${keyName}`,\n // };\n // const importList = await updateBulkParticipants(bulkImportObj);\n // console.log(importList);\n // renderReady.value = false;\n // successMessage.value = 'Participant added';\n // bulkParticipantsFile.value = null;\n // bulkParticipantFileName.value = null;\n // renderReady.value = true;\n // setTimeout(() => {\n // successMessage.value = null;\n // showTaskImport.value = false;\n // }, 6000);\n // }\n // };\n const triggerReport = async () => {\n renderReady.value = false;\n const reportResponse = await invokeTriggerReport(selectedProgramId.value);\n reportSuccessMessage.value = 'The report will be emailed to you';\n setTimeout(() => {\n reportSuccessMessage.value = null;\n }, 6000);\n console.log(`Report Trigger Response ${reportResponse}`);\n renderReady.value = true;\n };\n\n const triggerProxyAssignmentForCohort = async () => {\n try {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await triggerProxyAssignmentForSpecialProgram(selectedProgramId.value);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const triggerRes: any = res.data;\n reportSuccessMessage.value = triggerRes.message;\n setTimeout(() => {\n reportSuccessMessage.value = null;\n }, 6000);\n console.log(`Report Trigger Response ${JSON.stringify(triggerRes)}`);\n } catch (error) {\n renderReady.value = true;\n console.log(`error peer review ${error}`);\n // localStorage.setItem('errorMsg', 'There is an issue while fetching peer learner task to review, please contact with helpmate');\n // router.push({ path: 'Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n renderReady.value = true;\n errorMessage.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n setTimeout(() => {\n errorMessage.value = null;\n }, 2000);\n }\n }\n };\n const getFilteredList = (value) => {\n // filteredProgramDetails.value = value;\n // console.log('ProgramDetails.value in final', ProgramDetails.value);\n filteredProgramDetails.value = ProgramDetails.value.filter((program) => value.includes(program.program_name));\n console.log('filteredProgramDetails', filteredProgramDetails.value);\n };\n const manageEmailTemplates = () => {\n router.push({ name: 'SolidifyAdministrationManageEmailTemplates', query: { program_id: selectedProgramId.value } });\n };\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n loggedInUser.value = role.user_key;\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n if (userRole.value.includes('Program Admin') || userRole.value.includes('System Admin') || userRole.value.includes('System Admin View Access')) {\n showScreen.value = true;\n } else {\n showScreen.value = false;\n }\n await getProgramDetails();\n }\n console.log('ProgramDetails.value', ProgramDetails.value);\n filteredProgramDetails.value = ProgramDetails.value;\n ProgramDetailsArray.value = ProgramDetails.value.map((Program) => Program.program_name);\n // console.log('ProgramDetailsArray.value', ProgramDetailsArray.value);\n });\n return {\n openShareModal,\n openShareModalParticipant,\n ProgramDetails,\n renderReady,\n programCheckOne,\n checkOne,\n selectedProgramId,\n showProgramDetailsBtn,\n programBtnShow,\n viewParticipant,\n showParticipant,\n participantList,\n closeModal,\n viewProgramDetails,\n selectedProgramName,\n getEdcastUrl,\n showBulkParticipantPanel,\n selectedFile,\n clearFile,\n bulkParticipantsFile,\n errorMessage,\n // bulkImportParticipants,\n showScreen,\n userRole,\n loggedInUser,\n fileInputKey,\n successMessage,\n showReportBtn,\n showTaskImport,\n triggerReport,\n edcastBtnShow,\n showBulkBtn,\n reportSuccessMessage,\n triggerProxyAssignmentForCohort,\n showTriggerProxyAssignment,\n // moment,\n filteredProgramDetails,\n getFilteredList,\n ProgramDetailsArray,\n manageEmailTemplates,\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!./Program_Administration.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!./Program_Administration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Program_Administration.vue?vue&type=template&id=9d5d23d4&scoped=true&\"\nimport script from \"./Program_Administration.vue?vue&type=script&lang=ts&\"\nexport * from \"./Program_Administration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Program_Administration.vue?vue&type=style&index=0&id=9d5d23d4&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 \"9d5d23d4\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeseedMaster = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeSkillSync = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeTemplateSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeCacheSync = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeseedDefaultProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeseedRoles = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeSeedProxyReviewers = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeSeedUser = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeDiffAccess = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokemigrateCohort = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortLA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortReview = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeS2TasksMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAImport = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Task = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3LA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Review = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const removeDuplicateProxyLearner = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const updateS3CohortsLearnerModifiedDate = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const invokeofcon = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n// export const invokeMasterSeed = async (url: string) => {\n// let res;\n// // eslint-disable-next-line camelcase\n// await $http.get(`${url}}`).then((response) => {\n// res = response.data;\n// return res;\n// });\n// return res;\n// };\n\nexport const invokeProxyReviewSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeMigrateCohortProgram = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeGetUserRole = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\n\nexport const assignRoleToUser = async (data: any) => {\n const res = await $http.post('/user/role', data);\n return res;\n};\n\nexport const removeRoleFromUser = async (data: any) => {\n const res = await $http.post('/user/removeRole', data);\n return res;\n};\n\nexport const getAllRoles = async () => {\n const res = await $http.get('role');\n return res;\n};\nexport const importLSS = async (key: any) => {\n const res = await $http.post('/user/saveLSS', key);\n return res;\n};\nexport const importEnvaccess = async (key: any) => {\n const res = await $http.post('/user/saveEnvAccess', key);\n return res;\n};\n","/* 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// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const triggerProxyAssignmentForSpecialProgram = async (programId: string) => {\n const res = await $http.get(`assignProxyToCohortLearner/${programId}`);\n return res;\n};\n\nexport const invokeGetProgramDetails = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getLearnerGrade = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data.AllGrade;\n return res;\n });\n return res;\n};\n\n// const downloadEdcastUrl = async (urlToDownloadSusbmission: string, programName: string) => {\n// console.log(`programName ${programName}`);\n// const myRequest = new Request(urlToDownloadSusbmission, {\n// method: 'GET',\n// headers: {\n// 'X-Requested-By': 'XMLHttpRequest',\n// 'Content-Type': 'application/json',\n// },\n// mode: 'no-cors',\n// cache: 'default',\n// });\n// // fetch(myRequest).then((response: any) => {\n// // const fileURL = window.URL.createObjectURL(new Blob([response.data]));\n// // const fileLink = document.createElement('a');\n// // fileLink.href = fileURL;\n// // fileLink.setAttribute('download', 'Ed-castUrl.csv');\n// // document.body.appendChild(fileLink);\n\n// // fileLink.click();\n// // });\n// fetch(myRequest).then((response: any) => {\n// const fileURL = window.URL.createObjectURL(new Blob([response.data], { type: 'text/csv' }));\n// const fileLink = document.createElement('a');\n// fileLink.href = fileURL;\n// // fileLink.setAttribute('download', learnerSubmission);\n// // document.body.appendChild(fileLink);\n\n// // fileLink.click();\n// fileLink.download = 'EdcastUrl.csv';\n// fileLink.click();\n// URL.revokeObjectURL(fileLink.href);\n// });\n// };\n\nexport const getEdcaseURL = async (programId: string, programName: string) => {\n try {\n console.log(`programName ${programName}`);\n let res;\n await $http.get(`/skill/edcast/${programId}`).then(async (response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n // await downloadEdcastUrl(res, programName);\n const fileLink = document.createElement('a');\n fileLink.href = res;\n // fileLink.setAttribute('download', learnerSubmission);\n // document.body.appendChild(fileLink);\n\n // fileLink.click();\n // fileLink.download = 'EdcastUrl.csv';\n fileLink.click();\n URL.revokeObjectURL(fileLink.href);\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n\nexport const uploadBulkParticipants = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const uploadEnvAccessUsers = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\nexport const uploadServiceLineSkillsGFEventID = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const updateBulkParticipants = async (bulkImportData: any) => {\n try {\n let updateRes;\n await $http.post('/program/proxy', bulkImportData).then((response: any) => {\n updateRes = response.data;\n return updateRes;\n });\n return updateRes;\n } catch (error) {\n return error;\n }\n};\nexport const invokeTriggerReport = async (programId: any) => {\n try {\n let updateRes;\n await $http.get(`/program/report/${programId}`).then((response: any) => {\n updateRes = response.data;\n return updateRes;\n });\n return updateRes;\n } catch (error) {\n return error;\n }\n};\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","directives","name","rawName","value","search","expression","attrs","placeHolder1","domProps","on","$event","filterProgramDetails","$emit","filteredProgramDetails","target","composing","staticRenderFns","defineComponent","props","data","Array","placeholder","type","String","default","setup","ref","ProgramDetails","filter","program","toLowerCase","includes","onBeforeMount","async","console","log","component","userRole","showScreen","_m","reportSuccessMessage","_v","_s","_e","errorMessage","ProgramDetailsArray","getFilteredList","programBtnShow","viewProgramDetails","viewParticipant","edcastBtnShow","getEdcastUrl","showReportBtn","triggerReport","showTriggerProxyAssignment","triggerProxyAssignmentForCohort","manageEmailTemplates","_l","key","program_id","programCheckOne","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","showProgramDetailsBtn","participants","program_name","checkOne","program_display_name","isAcademy","start_date","end_date","showParticipant","selectedProgramName","closeModal","participantList","participant","renderReady","require","components","XIcon","SearchBar","openShareModal","openShareModalParticipant","bulkParticipantFileName","bulkParticipantsFile","fileInputKey","selectedProgramId","showBulkParticipantPanel","successMessage","loggedInUser","showTaskImport","showBulkBtn","clearFile","selectedFile","file","event","files","fileName","isFileCSV","endsWith","setTimeout","error","getProgramDetails","programDetailsRes","invokeGetProgramDetails","filtered","sortedArray","sort","a","b","moment","utc","unix","index","length","element","format","programId","programName","cb","getEdcaseURL","routeData","router","query","window","open","href","reportResponse","invokeTriggerReport","res","triggerProxyAssignmentForSpecialProgram","triggerRes","message","JSON","stringify","axios","err","response","role","invokeGetUserRole","user_key","user_roles","map","Program","invokeseedMaster","$http","url","then","invokeSkillSync","invokeTemplateSeed","invokeCacheSync","invokeseedDefaultProgram","invokeseedRoles","invokeSeedProxyReviewers","invokeSeedUser","invokeDiffAccess","invokemigrateCohort","invokeMigrateCohortLA","invokeMigrateCohortReview","invokeS2TasksMigration","userObj","invokeS2LAImport","invokeS2LAMigration","invokeMigrateS3Task","invokeMigrateS3LA","invokeMigrateS3Review","removeDuplicateProxyLearner","updateS3CohortsLearnerModifiedDate","invokeofcon","invokeProxyReviewSeed","invokeMigrateCohortProgram","assignRoleToUser","removeRoleFromUser","getAllRoles","importLSS","importEnvaccess","getLearnerGrade","AllGrade","fileLink","document","createElement","click","URL","revokeObjectURL","uploadBulkParticipants","bulkTaskFile","fetch","method","body","uploadResponse","uploadEnvAccessUsers","uploadServiceLineSkillsGFEventID","updateRes"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"solidify.umd.min.SolidifyAdministrationProgramAdministration.js","mappings":"8NAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAQJ,EAAIK,SAAUH,EAAG,MAAM,CAACI,YAAY,uBAAuB,CAAEN,EAAIO,WAAYL,EAAG,MAAM,CAACI,YAAY,6EAA6E,CAACN,EAAIQ,GAAG,GAAIR,EAAIS,qBAAsBP,EAAG,MAAM,CAACI,YAAY,kBAAkB,CAACN,EAAIU,GAAGV,EAAIW,GAAGX,EAAIS,yBAAyBT,EAAIY,KAAMZ,EAAIa,aAAcX,EAAG,MAAM,CAACI,YAAY,gBAAgB,CAACN,EAAIU,GAAGV,EAAIW,GAAGX,EAAIa,iBAAiBb,EAAIY,KAAKV,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,OADAzC,QAAQD,MAAM0C,GACPA,C,GAIEsE,EAAiBzH,MAAO+D,EAAU2D,KAC7C,IAAI9E,EAMJ,aAJMkB,EAAAA,EAAAA,KAAWC,EAAK2D,GAAa1D,MAAMZ,IACvCR,EAAMQ,EAASnC,KAAK8F,MACbnE,KAEFA,CAAG,EAGC+E,EAA0B3H,MAAO+D,EAAU9C,KACtD,IAAI2B,EAMJ,aAJMkB,EAAAA,EAAAA,KAAWC,EAAK9C,GAAM+C,MAAMZ,IAChCR,EAAMQ,EAASnC,KAAK8F,MACbnE,KAEFA,CAAG,EAGCgF,EAAW5H,UACtBU,QAAQC,IAAI,yBAAyBqC,KAAKC,UAAUhC,MACpD,MAAM4G,QAAiB/D,EAAAA,EAAAA,KAAW,eAAgB7C,GAClD,OAAO4G,CAAQ,EAGJC,EAAmB9H,UAC9B,IACE,IAAI4C,EAgBJ,aAfMkB,EAAAA,EAAAA,IAAU,0BAA0B/B,KAAaiC,MAAKhE,UAE1D4C,EAAMQ,EAASnC,KAWR2B,KAEFA,C,CACP,MAAOnC,GACP,OAAOA,C","sources":["webpack://solidify/./src/views/Admin/Program_Administration.vue","webpack://solidify/./src/views/Admin/Program_Administration.vue?1962","webpack://solidify/./src/views/Admin/Program_Administration.vue?7484","webpack://solidify/./src/views/Admin/Program_Administration.vue?995a","webpack://solidify/./src/utils/admin/master_service.ts","webpack://solidify/./src/utils/admin/program_administration_service.ts","webpack://solidify/./src/utils/admin/task_management_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return (_vm.userRole)?_c('div',{staticClass:\"admin program_admin\"},[(_vm.showScreen)?_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),(_vm.reportSuccessMessage)?_c('div',{staticClass:\"text-green-700\"},[_vm._v(_vm._s(_vm.reportSuccessMessage))]):_vm._e(),(_vm.errorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e(),_c('div',{staticClass:\"w-full flex mt-6\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchProgText),expression:\"searchProgText\"}],staticClass:\"appearance-none border w-full rounded py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\",\"placeholder\":\"Search By Program Name\"},domProps:{\"value\":(_vm.searchProgText)},on:{\"input\":function($event){if($event.target.composing)return;_vm.searchProgText=$event.target.value}}})]),_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4\",on:{\"click\":function($event){return _vm.searchPrograms()}}},[_vm._v(\"Search\")])])]),_c('div',{staticClass:\"w-full flex mt-6\"},[_c('div',{staticClass:\"w-full text-left\"},[(_vm.programBtnShow)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.viewProgramDetails()}}},[_vm._v(\"View Program Details\")]):_vm._e(),(_vm.programBtnShow)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.viewParticipant()}}},[_vm._v(\"View Participants\")]):_vm._e(),(_vm.edcastBtnShow)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.getEdcastUrl()}}},[_vm._v(\"Generate URL\")]):_vm._e(),(_vm.showReportBtn)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.triggerReport()}}},[_vm._v(\"Generate Participant Report\")]):_vm._e(),(_vm.showTriggerProxyAssignment)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.triggerProxyAssignmentForCohort()}}},[_vm._v(\"Trigger Proxy Assignment\")]):_vm._e(),(_vm.programBtnShow)?_c('button',{staticClass:\"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4\",on:{\"click\":function($event){return _vm.manageEmailTemplates()}}},[_vm._v(\"Manage Email Templates\")]):_vm._e()])]),_c('div',{staticClass:\"w-full mt-4 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-4\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.filteredProgramDetails),function(program){return _c('tr',{key:program.program_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.programCheckOne),expression:\"programCheckOne\"}],staticClass:\"cursor-pointer\",attrs:{\"type\":\"checkbox\",\"id\":program.program_id},domProps:{\"value\":program.program_id,\"checked\":Array.isArray(_vm.programCheckOne)?_vm._i(_vm.programCheckOne,program.program_id)>-1:(_vm.programCheckOne)},on:{\"change\":[function($event){var $$a=_vm.programCheckOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=program.program_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.programCheckOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.programCheckOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.programCheckOne=$$c}},function($event){return _vm.showProgramDetailsBtn($event, program.program_id, program.participants, program.program_name)}],\"click\":_vm.checkOne}})]),_c('td',{staticClass:\"p-2 px-3 text-left\"},[_vm._v(_vm._s(program.program_display_name ? program.program_display_name : program.program_name))]),_c('td',{staticClass:\"p-2 px-3 text-left capitalize\"},[_vm._v(_vm._s(program.isAcademy))]),_c('td',{staticClass:\"p-2 px-3 text-center\"},[_vm._v(_vm._s(program.start_date))]),_c('td',{staticClass:\"p-2 px-3 text-center\"},[_vm._v(_vm._s(program.end_date))])])}),0)])])]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")]),[(_vm.showParticipant)?_c('main',{staticClass:\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\"},[_c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center\"},[_c('div',{staticClass:\"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8\"},[_c('div',{staticClass:\"justify-content\"},[_c('div',{staticClass:\"text-xl px-3 text-left\"},[_vm._v(_vm._s(_vm.selectedProgramName))]),_c('div',{staticClass:\"absolute right-2 pr-4 top-9 cursor-pointer\",on:{\"click\":function($event){return _vm.closeModal()}}},[_c('x-icon',{attrs:{\"size\":\"1.5x\"}})],1)]),_c('div',{staticClass:\"pt-4 tableScroll1\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-4 text-over text-left\"},[_c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"py-2 pl-3 pr-0 w-6\"},[_vm._v(\"Participant OHR\")])])]),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.participantList),function(participant){return _c('tr',{key:participant,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_vm._v(_vm._s(participant))])])}),0)])])])])])],1):_vm._e()],(!_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()],2):_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(\"Program Administration\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _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 text-left\"},[_vm._v(\"Program Name\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-left\"},[_vm._v(\"is Academy\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-center\"},[_vm._v(\"Start Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-center\"},[_vm._v(\"End Date\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\nimport { XIcon } from 'vue-feather-icons';\nimport moment from 'moment';\nimport axios, { AxiosError } from 'axios';\n// eslint-disable-next-line\nimport router from '@/router';\n// import { getPreSignedUrl } from '@/utils/learner_submit_service';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\n// eslint-disable-next-line\n// import SearchBar from '@/components/global/SearchBar.vue';\n// eslint-disable-next-line\nimport { getEdcaseURL, invokeGetProgramDetails, invokeTriggerReport } from '../../utils/admin/program_administration_service';\n// eslint-disable-next-line\nimport { triggerProxyAssignmentForSpecialProgram } from '../../utils/admin/program_administration_service';\nimport { invokegetAllProgram } from '@/utils/admin/task_management_service';\nimport { postApi } from '@/utils/ApiCalls';\n// import { getPreSignedUrl } from '@/utils/learner_submit_service';\n\nexport default defineComponent({\n name: 'ProgramAdministration',\n // components: { XIcon, SearchBar },\n components: { XIcon },\n setup() {\n const openShareModal = ref(false);\n const openShareModalParticipant = ref(false);\n // const ProgramDetails = ref();\n const ProgramDetailsArray = ref();\n const filteredProgramDetails = ref();\n const renderReady = ref();\n const programCheckOne = ref([]);\n const bulkParticipantFileName = ref();\n const bulkParticipantsFile = ref();\n const fileInputKey = ref(0);\n const selectedProgramId = ref();\n const programBtnShow = ref();\n const showParticipant = ref(false);\n const participantList = ref();\n const selectedProgramName = ref();\n const showBulkParticipantPanel = ref(false);\n const errorMessage = ref();\n const successMessage = ref();\n const reportSuccessMessage = ref();\n // const preSignedUrl = ref();\n const userRole = ref();\n const loggedInUser = ref();\n const showScreen = ref(false);\n const showTaskImport = ref(false);\n const showReportBtn = ref(false);\n const edcastBtnShow = ref(false);\n const showBulkBtn = ref(false);\n const showTriggerProxyAssignment = ref(false);\n const programLists = ref();\n const programIdsArr = ref([]);\n const searchProgText = ref('');\n const checkOne = () => {\n programCheckOne.value = [];\n };\n const clearFile = async () => {\n fileInputKey.value += 1;\n bulkParticipantsFile.value = null;\n bulkParticipantFileName.value = null;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const selectedFile = async (event: any) => {\n try {\n const file = event.target.files[0];\n const fileName = file.name;\n const isFileCSV = fileName.endsWith('.csv');\n if (!isFileCSV) {\n errorMessage.value = 'Please Select valid file to upload, only CSV file is allowed';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n fileInputKey.value += 1;\n bulkParticipantsFile.value = null;\n bulkParticipantFileName.value = null;\n } else {\n bulkParticipantFileName.value = fileName;\n bulkParticipantsFile.value = file;\n }\n } catch (error) {\n console.log(error);\n }\n };\n // const getProgramDetails = async () => {\n // renderReady.value = false;\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const programDetailsRes: any = await invokeGetProgramDetails('/program');\n // const filtered = programDetailsRes.data;\n // // let filtered;\n // // if (userRole.value.includes('System Admin')) {\n // // filtered = allPrograms;\n // // } else {\n // // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // // filtered = allPrograms.filter((el: any) => {\n // // const programAdmin = el.program_admin;\n // // if (programAdmin) {\n // // return programAdmin.includes(loggedInUser.value);\n // // }\n // // return false;\n // // });\n // // }\n\n // // eslint-disable-next-line @typescript-eslint/no-explicit-any\n // const sortedArray = filtered.sort((a: any, b: any) => moment(b.start_date).utc().unix() - moment(a.start_date).utc().unix());\n // for (let index = 0; index < sortedArray.length; index += 1) {\n // const element = sortedArray[index];\n // element.start_date = moment(element.start_date).format('DD-MM-YYYY');\n // element.end_date = moment(element.end_date).format('DD-MM-YYYY');\n // }\n // ProgramDetails.value = sortedArray;\n // renderReady.value = true;\n // };\n const getSelectedProgramDetails = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const programDetailsRes: any = await postApi('/programs', { programNames: programIdsArr.value });\n // console.log(`programDetailsRes`, { programDetailsRes });\n const filtered = programDetailsRes.data?.data;\n // console.log(filtered, { filtered });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sortedArray = filtered.sort((a: any, b: any) => moment(b.start_date).utc().unix() - moment(a.start_date).utc().unix());\n for (let index = 0; index < sortedArray.length; index += 1) {\n const element = sortedArray[index];\n element.start_date = moment(element.start_date).format('DD-MM-YYYY');\n element.end_date = moment(element.end_date).format('DD-MM-YYYY');\n }\n // console.log(`sortedArray`, { sortedArray });\n // ProgramDetails.value = sortedArray;\n filteredProgramDetails.value = sortedArray;\n renderReady.value = true;\n };\n const getAllPrograms = async () => {\n renderReady.value = false;\n programLists.value = await invokegetAllProgram('/cache?cache=program');\n // console.log(programDetails.value);\n renderReady.value = true;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showProgramDetailsBtn = (event: any, programId: any, participants: any, programName: any) => {\n const cb = event.target.checked;\n if (cb === true) {\n programBtnShow.value = true;\n selectedProgramId.value = programId;\n participantList.value = participants;\n selectedProgramName.value = programName;\n if (userRole.value.includes('System Admin') && programId !== 'infinity') {\n showTriggerProxyAssignment.value = true;\n }\n if (userRole.value.includes('Program Admin') || userRole.value.includes('System Admin')) {\n edcastBtnShow.value = true;\n // showTaskImport.value = true;\n if (selectedProgramId.value === 'infinity' || selectedProgramId.value === 'S2') {\n showReportBtn.value = false;\n showBulkBtn.value = false;\n } else {\n showReportBtn.value = true;\n showBulkBtn.value = true;\n }\n }\n } else {\n programBtnShow.value = false;\n edcastBtnShow.value = false;\n }\n };\n const getEdcastUrl = async () => {\n renderReady.value = false;\n await getEdcaseURL(selectedProgramId.value, selectedProgramName.value);\n renderReady.value = true;\n };\n const viewParticipant = async () => {\n showParticipant.value = true;\n };\n const closeModal = async () => {\n showParticipant.value = false;\n programCheckOne.value = [];\n programBtnShow.value = false;\n // await getProgramDetails();\n await searchPrograms();\n };\n const viewProgramDetails = () => {\n const routeData = router.resolve({ name: 'SolidifyAdministrationProgramDetails', query: { program_id: selectedProgramId.value } });\n window.open(routeData.href, '_blank');\n // router.push({ path: 'programDetails', query: { program_id: selectedProgramId.value } });\n };\n const triggerReport = async () => {\n renderReady.value = false;\n const reportResponse = await invokeTriggerReport(selectedProgramId.value);\n reportSuccessMessage.value = 'The report will be emailed to you';\n setTimeout(() => {\n reportSuccessMessage.value = null;\n }, 6000);\n console.log(`Report Trigger Response ${reportResponse}`);\n renderReady.value = true;\n };\n\n const triggerProxyAssignmentForCohort = async () => {\n try {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await triggerProxyAssignmentForSpecialProgram(selectedProgramId.value);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const triggerRes: any = res.data;\n reportSuccessMessage.value = triggerRes.message;\n setTimeout(() => {\n reportSuccessMessage.value = null;\n }, 6000);\n console.log(`Report Trigger Response ${JSON.stringify(triggerRes)}`);\n } catch (error) {\n renderReady.value = true;\n console.log(`error peer review ${error}`);\n // localStorage.setItem('errorMsg', 'There is an issue while fetching peer learner task to review, please contact with helpmate');\n // router.push({ path: 'Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n renderReady.value = true;\n errorMessage.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n setTimeout(() => {\n errorMessage.value = null;\n }, 2000);\n }\n }\n };\n // const getFilteredList = (value) => {\n // // filteredProgramDetails.value = value;\n // // console.log('ProgramDetails.value in final', ProgramDetails.value);\n // filteredProgramDetails.value = ProgramDetails.value.filter((program) => value.includes(program.program_name));\n // console.log('filteredProgramDetails', filteredProgramDetails.value);\n // };\n const manageEmailTemplates = () => {\n router.push({ name: 'SolidifyAdministrationManageEmailTemplates', query: { program_id: selectedProgramId.value } });\n };\n const searchPrograms = async () => {\n // await getProgramDetails();\n console.log('programLists.value', programLists.value);\n programIdsArr.value = programLists.value.filter((program) => program.program_name.toLowerCase().includes(searchProgText.value));\n console.log(`ProgramIdsArr`, { data: programIdsArr.value });\n await getSelectedProgramDetails();\n };\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n loggedInUser.value = role.user_key;\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n if (userRole.value.includes('Program Admin') || userRole.value.includes('System Admin') || userRole.value.includes('System Admin View Access')) {\n showScreen.value = true;\n } else {\n showScreen.value = false;\n }\n // await getProgramDetails();\n await getAllPrograms();\n }\n\n // console.log('ProgramDetailsArray.value', ProgramDetailsArray.value);\n });\n return {\n openShareModal,\n openShareModalParticipant,\n // ProgramDetails,\n renderReady,\n programCheckOne,\n checkOne,\n selectedProgramId,\n showProgramDetailsBtn,\n programBtnShow,\n viewParticipant,\n showParticipant,\n participantList,\n closeModal,\n viewProgramDetails,\n selectedProgramName,\n getEdcastUrl,\n showBulkParticipantPanel,\n selectedFile,\n clearFile,\n bulkParticipantsFile,\n errorMessage,\n // bulkImportParticipants,\n showScreen,\n userRole,\n loggedInUser,\n fileInputKey,\n successMessage,\n showReportBtn,\n showTaskImport,\n triggerReport,\n edcastBtnShow,\n showBulkBtn,\n reportSuccessMessage,\n triggerProxyAssignmentForCohort,\n showTriggerProxyAssignment,\n // moment,\n filteredProgramDetails,\n // getFilteredList,\n ProgramDetailsArray,\n manageEmailTemplates,\n searchPrograms,\n searchProgText,\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!./Program_Administration.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!./Program_Administration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Program_Administration.vue?vue&type=template&id=7864a55c&scoped=true&\"\nimport script from \"./Program_Administration.vue?vue&type=script&lang=ts&\"\nexport * from \"./Program_Administration.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Program_Administration.vue?vue&type=style&index=0&id=7864a55c&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 \"7864a55c\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeseedMaster = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeSkillSync = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeTemplateSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeCacheSync = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeseedDefaultProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeseedRoles = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeSeedProxyReviewers = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeSeedUser = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeDiffAccess = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokemigrateCohort = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortLA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortReview = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeS2TasksMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAImport = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Task = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3LA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Review = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const removeDuplicateProxyLearner = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const updateS3CohortsLearnerModifiedDate = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const invokeofcon = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n// export const invokeMasterSeed = async (url: string) => {\n// let res;\n// // eslint-disable-next-line camelcase\n// await $http.get(`${url}}`).then((response) => {\n// res = response.data;\n// return res;\n// });\n// return res;\n// };\n\nexport const invokeProxyReviewSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeMigrateCohortProgram = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeGetUserRole = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\n\nexport const assignRoleToUser = async (data: any) => {\n const res = await $http.post('/user/role', data);\n return res;\n};\n\nexport const removeRoleFromUser = async (data: any) => {\n const res = await $http.post('/user/removeRole', data);\n return res;\n};\n\nexport const getAllRoles = async () => {\n const res = await $http.get('role');\n return res;\n};\nexport const importLSS = async (key: any) => {\n const res = await $http.post('/user/saveLSS', key);\n return res;\n};\nexport const importEnvaccess = async (key: any) => {\n const res = await $http.post('/user/saveEnvAccess', key);\n return res;\n};\n","/* 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// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const triggerProxyAssignmentForSpecialProgram = async (programId: string) => {\n const res = await $http.get(`assignProxyToCohortLearner/${programId}`);\n return res;\n};\n\nexport const invokeGetProgramDetails = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getLearnerGrade = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data.AllGrade;\n return res;\n });\n return res;\n};\n\n// const downloadEdcastUrl = async (urlToDownloadSusbmission: string, programName: string) => {\n// console.log(`programName ${programName}`);\n// const myRequest = new Request(urlToDownloadSusbmission, {\n// method: 'GET',\n// headers: {\n// 'X-Requested-By': 'XMLHttpRequest',\n// 'Content-Type': 'application/json',\n// },\n// mode: 'no-cors',\n// cache: 'default',\n// });\n// // fetch(myRequest).then((response: any) => {\n// // const fileURL = window.URL.createObjectURL(new Blob([response.data]));\n// // const fileLink = document.createElement('a');\n// // fileLink.href = fileURL;\n// // fileLink.setAttribute('download', 'Ed-castUrl.csv');\n// // document.body.appendChild(fileLink);\n\n// // fileLink.click();\n// // });\n// fetch(myRequest).then((response: any) => {\n// const fileURL = window.URL.createObjectURL(new Blob([response.data], { type: 'text/csv' }));\n// const fileLink = document.createElement('a');\n// fileLink.href = fileURL;\n// // fileLink.setAttribute('download', learnerSubmission);\n// // document.body.appendChild(fileLink);\n\n// // fileLink.click();\n// fileLink.download = 'EdcastUrl.csv';\n// fileLink.click();\n// URL.revokeObjectURL(fileLink.href);\n// });\n// };\n\nexport const getEdcaseURL = async (programId: string, programName: string) => {\n try {\n console.log(`programName ${programName}`);\n let res;\n await $http.get(`/skill/edcast/${programId}`).then(async (response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n // await downloadEdcastUrl(res, programName);\n const fileLink = document.createElement('a');\n fileLink.href = res;\n // fileLink.setAttribute('download', learnerSubmission);\n // document.body.appendChild(fileLink);\n\n // fileLink.click();\n // fileLink.download = 'EdcastUrl.csv';\n fileLink.click();\n URL.revokeObjectURL(fileLink.href);\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n\nexport const uploadBulkParticipants = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const uploadEnvAccessUsers = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\nexport const uploadServiceLineSkillsGFEventID = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const updateBulkParticipants = async (bulkImportData: any) => {\n try {\n let updateRes;\n await $http.post('/program/proxy', bulkImportData).then((response: any) => {\n updateRes = response.data;\n return updateRes;\n });\n return updateRes;\n } catch (error) {\n return error;\n }\n};\nexport const invokeTriggerReport = async (programId: any) => {\n try {\n let updateRes;\n await $http.get(`/program/report/${programId}`).then((response: any) => {\n updateRes = response.data;\n return updateRes;\n });\n return updateRes;\n } catch (error) {\n return error;\n }\n};\n","/* 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// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\nexport const invokegetAllProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n console.log('Response', response);\n res = response.data.response.program_name;\n return res;\n });\n return res;\n};\n\nexport const invokegetAllTaskByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\nexport const getAllOffCycleByByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.learnerDetails;\n return res;\n });\n return res;\n};\nexport const invokeArchieveTask = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\nexport const updateOffcyclestatus = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getTaskById = async (taskId: any) => {\n let getTaskres: any;\n try {\n await $http.get(`/task/${taskId}`).then((response) => {\n getTaskres = response.data.data;\n return getTaskres;\n });\n return getTaskres;\n } catch (error) {\n return error;\n }\n};\nexport const uploadBulkTasks = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const importBulkTask = async (url: any, bulkTasData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, bulkTasData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const resetActiveTaskSequence = async (url: any, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const saveTask = async (data: any) => {\n console.log(`inside save task data ${JSON.stringify(data)}`);\n const savedRes = await $http.post('/task/create', data);\n return savedRes;\n};\n\nexport const invokeExportTask = async (programId: string) => {\n try {\n let res;\n await $http.get(`/admin/task/taskExport/${programId}`).then(async (response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n // await downloadEdcastUrl(res, programName);\n // const fileLink = document.createElement('a');\n // fileLink.href = res;\n // fileLink.setAttribute('download', learnerSubmission);\n // document.body.appendChild(fileLink);\n\n // fileLink.click();\n // fileLink.download = 'EdcastUrl.csv';\n // fileLink.click();\n // URL.revokeObjectURL(fileLink.href);\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n"],"names":["render","_vm","this","_c","_self","_setupProxy","userRole","staticClass","showScreen","_m","reportSuccessMessage","_v","_s","_e","errorMessage","directives","name","rawName","value","searchProgText","expression","attrs","domProps","on","$event","target","composing","searchPrograms","programBtnShow","viewProgramDetails","viewParticipant","edcastBtnShow","getEdcastUrl","showReportBtn","triggerReport","showTriggerProxyAssignment","triggerProxyAssignmentForCohort","manageEmailTemplates","_l","filteredProgramDetails","program","key","program_id","programCheckOne","Array","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","showProgramDetailsBtn","participants","program_name","checkOne","program_display_name","isAcademy","start_date","end_date","showParticipant","selectedProgramName","closeModal","participantList","participant","renderReady","require","staticRenderFns","defineComponent","components","XIcon","setup","openShareModal","ref","openShareModalParticipant","ProgramDetailsArray","bulkParticipantFileName","bulkParticipantsFile","fileInputKey","selectedProgramId","showBulkParticipantPanel","successMessage","loggedInUser","showTaskImport","showBulkBtn","programLists","programIdsArr","clearFile","async","selectedFile","file","event","files","fileName","isFileCSV","endsWith","setTimeout","error","console","log","getSelectedProgramDetails","programDetailsRes","postApi","programNames","filtered","data","sortedArray","sort","a","b","moment","utc","unix","index","length","element","format","getAllPrograms","invokegetAllProgram","programId","programName","cb","includes","getEdcaseURL","routeData","router","query","window","open","href","reportResponse","invokeTriggerReport","res","triggerProxyAssignmentForSpecialProgram","triggerRes","message","JSON","stringify","axios","err","response","filter","toLowerCase","onBeforeMount","role","invokeGetUserRole","user_key","user_roles","component","invokeseedMaster","$http","url","then","invokeSkillSync","invokeTemplateSeed","invokeCacheSync","invokeseedDefaultProgram","invokeseedRoles","invokeSeedProxyReviewers","invokeSeedUser","invokeDiffAccess","invokemigrateCohort","invokeMigrateCohortLA","invokeMigrateCohortReview","invokeS2TasksMigration","userObj","invokeS2LAImport","invokeS2LAMigration","invokeMigrateS3Task","invokeMigrateS3LA","invokeMigrateS3Review","removeDuplicateProxyLearner","updateS3CohortsLearnerModifiedDate","invokeofcon","invokeProxyReviewSeed","invokeMigrateCohortProgram","assignRoleToUser","removeRoleFromUser","getAllRoles","importLSS","importEnvaccess","getLearnerGrade","AllGrade","fileLink","document","createElement","click","URL","revokeObjectURL","uploadBulkParticipants","bulkTaskFile","fetch","method","body","uploadResponse","uploadEnvAccessUsers","uploadServiceLineSkillsGFEventID","updateRes","invokegetAllTaskByProgram","tasks","getAllOffCycleByByProgram","learnerDetails","invokeArchieveTask","taskData","updateOffcyclestatus","getTaskById","getTaskres","taskId","uploadBulkTasks","importBulkTask","bulkTasData","resetActiveTaskSequence","saveTask","savedRes","invokeExportTask"],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[612],{4735:function(e,a,t){t.d(a,{Z:function(){return u}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"flex"},[a("div",{staticClass:"w-full pt-16 px-32"},[a("div",{staticClass:"md:px-0 lg:px-0 text-center"},[a("div",{staticClass:"text-gray-500"},[a("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),a("div",{staticClass:"pt-8"},[a("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[a("img",{staticClass:"mx-auto",attrs:{src:t(6540)}})])])])])])},i=[],r=t(7203),l=(0,r.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const a=(0,r.ref)(""),t=(0,r.ref)(localStorage.getItem("helpmateLink"));return(0,r.onBeforeMount)((async()=>{a.value=e.errorMessage})),{errorMsg:a,helpmateLink:t}}}),n=l,o=t(1001),c=(0,o.Z)(n,s,i,!1,null,null,null),u=c.exports},5316:function(e,a,t){t.d(a,{Z:function(){return u}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[a("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?a("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),a("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[a("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],r=t(7203),l=(0,r.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,r.ref)("");return(0,r.onBeforeMount)((async()=>{const a=localStorage.getItem("userName")||"Learner";e.value=a.split(",").reverse().join(" ")})),{username:e}}}),n=l,o=t(1001),c=(0,o.Z)(n,s,i,!1,null,null,null),u=c.exports},5893:function(e,a,t){t.r(a),t.d(a,{default:function(){return h}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[a("div",{staticClass:"flex"},[a("div",{staticClass:"w-full pt-12"},[a("Greetings",{attrs:{program:e.programId,proficiency:e.profName,skill:e.skillName}}),a("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[a("div",{staticClass:"ul-nav w-full"},[a("ul",[a("li",{staticClass:"active"},[e._v("Home")]),a("li",{staticClass:"active"},[e._v("Task")]),a("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?a("li",[e._v("Peer Reviews")]):e._e(),a("li",[e._v("Under Review")]),a("li",[e._v("Done!")])])])]),a("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[a("div",{staticClass:"block mt-4 mb-4"},[e.submissionError?a("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.submissionError)+" ")]):e._e(),a("div",{staticClass:"text-gray-600"},[a("div",["infinity"!==e.programName&&"Desktop"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, click "),a("strong",[e._v("Submit")]),e._v(". ")]):e._e(),"infinity"===e.programName&&"Desktop"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, "),a("strong",[e._v("Submit")]),e._v(" to proceed to peer reviews. ")]):e._e(),"Desktop"===e.taskType?a("p",{staticClass:"pt-2"},[e._v(" You can only submit "),a("strong",[e._v("one file")]),e._v(", but feel free to use links in the file you submit. You can submit a word, pdf, ppt, excel, .txt or video. The maximum file size is "),a("strong",[e._v("200MB")]),e._v(". A larger file may take more time to upload, please be patient and do not click refresh until the page finishes loading. ")]):e._e(),"Mobile"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by typing it into in the text box below, then click on 'Submit'. Also, ensure your task submission is within a 500-word limit, and is over 100 words. If you would like to attach a video, you can do so by sending a link to where the video is hosted. ")]):e._e(),e._m(0)]),a("div",{staticClass:"mt-4"},[a("p",{staticClass:"pt-2"},[a("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))]),e._m(1),a("div",{staticClass:"mt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.taskDesc)}})]),"Desktop"===e.taskType?a("div",{staticClass:"mt-4"},["infinity"===e.programId?a("p",[a("strong",[e._v("If you don't want to complete this task anymore, ")]),e._v('you can choose another one by clicking "Select Different Task".')]):e._e(),"infinity"===e.programId?a("p",{staticClass:"pt-2"},[a("strong",[e._v("Upload")]),e._v(' the file you created for this task by clicking on "Submit".')]):e._e(),"infinity"!==e.programId?a("p",{staticClass:"pt-2"},[e._v("Upload the file you created for this then click "),a("strong",[e._v("Submit")]),e._v(" to continue.")]):e._e(),"infinity"===e.programId?a("p",{staticClass:"pt-2"},[a("strong",[e._v("If you want to start your Solidify journey again,")]),e._v(" you can do so by clicking “Restart Solidify”")]):e._e(),a("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),a("div",{staticClass:"flex items-center gap-2",staticStyle:{"max-width":"250px"}},[a("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file"},on:{change:e.selectedFile}}),e.learnerSubmission?a("x-icon",{attrs:{size:"1.5x"},on:{click:function(a){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?a("div",{staticClass:"pt-12"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{keyup:function(a){return e.checkQuestionLength(e.learnerSubmission)},input:function(a){a.target.composing||(e.learnerSubmission=a.target.value)}}}),a("div",[e.questionWordCount<100?a("div",{staticClass:"text-red-700"},[e._v("(Minimum 100 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])]):e._e(),e.fileValidationMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e(),e._m(2),e.checkForPlagiarismProgramLevel&&e.checkForPlagiarismTaskLevel?a("div",[a("ul",{staticClass:"pt-2 pl-8"},[a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check0")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check0",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that this task submission is my own work, based on my personal study/ research and any content taken from the internet has been referenced.")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check1",value:"check1"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check1")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check1",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that this task submission does not contain/ use any client/ Genpact confidential materials.")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check2",value:"check2"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check2")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check2",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I have checked my submission for plagiarism against popular internet sites like "),e._m(3),e._v(" and no significant plagiarism was found.")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check3",value:"check3"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check3")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check3",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I have not copied this submission from anyone or anywhere including work submitted by my colleagues/ team members.")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check4",value:"check4"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check4")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check4",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I understand that plagiarism is an infringement of other's work, and is a violation of Genpact's code of conduct which will lead to unsuccessful completion of Solidify and/ or disciplinary action.")])])]),a("li",[e.palgiarismErrorMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.palgiarismErrorMsg))]):e._e()])]),e._m(4)]):a("div",[a("ul",{staticClass:"pt-2 pl-8"},[a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check0")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check0",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that this task submission does not contain/ use any client/ Genpact confidential materials.")])])])]),e.palgiarismErrorMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.palgiarismErrorMsg))]):e._e()])])]),a("div",{staticClass:"block text-center pt-12"},[e._m(5),a("div",{staticClass:"mb-4 text-center"},["infinity"===e.programId?a("button",{staticClass:"inline-block mt-2 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",on:{click:e.switchTask}},[e._v(" Select Different Task ")]):e._e(),a("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.submitSubmiision}},[e._v(" Submit Task ")]),"infinity"===e.programId?a("button",{staticClass:"inline-block mt-2 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",on:{click:function(a){return e.restart()}}},[e._v(" Restart Solidify ")]):e._e()])])])],1)])],e.showErrorMessage?a("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():a("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[a("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:t(9756),alt:"Loader Gif"}}),a("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},i=[function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[e._v(" You must work on the task by yourself, and your submission must be in "),a("strong",[e._v("English")]),e._v(" only. "),a("strong",[e._v("Do not copy and paste,")]),e._v(" or you may be in violation of Genpact’s integrity statement. ")])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[a("strong",[e._v("Task Description:")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"pt-2"},[a("p",{staticClass:"pt-2"},[e._v("By submitting a task, you are certifying that your work follows the guidelines in the statement(s) below.")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("strong",[a("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),a("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(", "),a("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"mt-3"},[e._v(" To learn more about the importance of originality in your content submission and what is plagiarism, watch this "),a("strong",[a("a",{staticClass:"underline",attrs:{href:"https://dcl.genpact.com/media/9df055db-c09e-4e2a-843e-a5b950003d89",target:"blank"}},[e._v("video")]),e._v(".")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"pt-4"},[a("p",{staticClass:"text-xl"},[a("em",[e._v("Please don't click the browser back button")])])])}],r=(t(7658),t(7203)),l=t(4856),n=t(568),o=t(4654),c=t(306),u=t(4735),m=t(5316),d=t(6275),p=(0,r.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:l.b0D,ErrorMessage:u.Z,Greetings:m.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const a=(0,r.ref)(),t=(0,r.ref)(e.query.learner_task_id),s=(0,r.ref)(localStorage.getItem("programId")),i=(0,r.ref)(localStorage.getItem("skillId")),l=(0,r.ref)(localStorage.getItem("profId")),u=(0,r.ref)(localStorage.getItem("skillName")),m=(0,r.ref)(localStorage.getItem("proficiency")),p=(0,r.ref)(localStorage.getItem("helpmateLink")),v=(0,r.ref)(),g=(0,r.ref)(),f=(0,r.ref)(),h=(0,r.ref)(),b=(0,r.ref)(),y=(0,r.ref)(!1),k=(0,r.ref)(null),_=(0,r.ref)(),x=(0,r.ref)(),w=(0,r.ref)(),A=(0,r.ref)(!0),C=(0,r.ref)([]),S=(0,r.ref)(),I=(0,r.ref)(),L=(0,r.ref)(0),T=(0,r.ref)(),M=(0,r.ref)(!1),P=(0,r.ref)(),Z=(0,r.ref)(!1),R=(0,r.ref)(),D=(0,r.ref)(),U=(0,r.ref)(),G=(0,r.ref)(0),E=(0,r.ref)(""),N=e=>{G.value=e.split(" ").filter((e=>""!==e)).length,A.value=G.value<100},J=async()=>{L.value+=1,console.log(`before ${x.value}`),x.value=null,A.value=!0,console.log(`after ${x.value}`)},W=async e=>{try{if(k.value=e.target.files[0],k.value){x.value=e.target.files[0].name;const a=e.target.files[0].size/1024/1024;k.value&&(A.value=!1),a>200&&(_.value="fileSize greater than 200 MB")}}catch(a){if(console.log(a),M.value=!0,c.Z.isAxiosError(a)){const e=a;P.value=e.response?.data?.message}else P.value="Something went wrong, please contact helpmate.";Z.value=!0}},j=async()=>{try{if(M.value=!1,console.log("plagiarismcb",C),y.value&&b.value&&5!==C.value.length)return M.value=!0,I.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{I.value=null}),6e3);if((!y.value||!b.value)&&1!==C.value.length)return M.value=!0,I.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{I.value=null}),6e3);if(x.value){const e={learner_submission:x.value.trim(),learner_task_id:t.value,skill:i.value,proficiency:l.value,linked_program_name:s.value,task_type:f.value,linked_task_id:a.value,assinged_reviewer_count:0};let r;if("Desktop"===f.value){const a=await(0,n.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:x.value,learner_task_id:t.value}),s=a.data;w.value=s.preSignedUrl;const i=await(0,n.sc)(w.value,k.value);200===i.status?r=await(0,n.rC)("/v1/uploadLearnerSubmission",e):(M.value=!0,P.value="There is issue in the file upload, please contact with helpmate.",Z.value=!0)}else r=await(0,n.rC)("/v1/uploadLearnerSubmission",e);200===r.status?(console.log(r),"Please upload non empty file"===r.data.message?(E.value="The submission does not meet the minimum task word limit of 100 words. Please upload a valid submission.",J(),setTimeout((()=>{E.value=""}),6e3),M.value=!0):d.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:e.learner_task_id}}),"Learner on hold"===r.data.message&&(console.log("learner on hold submit task"),d.Z.push({path:"/solidify",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}}))):(M.value=!0,P.value="There is some issue while submitting learner submission, please contact with helpmate.",Z.value=!0)}else"Mobile"===f.value?(M.value=!0,x.value||(_.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{_.value=null}),6e3))):"Desktop"===f.value&&(M.value=!0,console.log(`learnerSubmission.value ${x.value}`),x.value||(_.value="please select File",setTimeout((()=>{_.value=null}),6e3)))}catch(e){if(M.value=!0,console.log(`error ${e}`),c.Z.isAxiosError(e)){const a=e;P.value=a.response?.data?.message}else P.value="There is some issue while submitting learner submission, please contact with helpmate.";Z.value=!0}},z=async()=>{try{M.value=!1,console.log("Learner Status",T.value),"Registered"!==T.value?(M.value=!0,console.log(`inside if ${T.value}`),P.value="Learner Status is not registered.",Z.value=!0):d.Z.push({name:"SolidifyLearnerSelectTask",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}})}catch(e){if(M.value=!0,c.Z.isAxiosError(e)){const a=e;P.value=a.response?.data?.message}else P.value="There is an issue with the switching, please contact with helpmate.";Z.value=!0}},q=async()=>{try{if(M.value=!1,"Registered"!==T.value)M.value=!0,P.value="Learner Status is not registered.",Z.value=!0;else{const e=await(0,n.ie)("/v1/restartLearnerJourney",t.value);console.log("restartLearnerJourney",e);const a='your task was removed successfully, you can restart journey again from <a href="https://genome.genpact.com/my-plan" target="_blank" class="text-background-secondary"><strong>MyPlan</strong></a>';e?(localStorage.setItem("message",a),d.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"no",isProxyReview:"no",showChevron:"no"}})):(M.value=!0,P.value="There is an issue in the restart Journey, please contact helpmate.",Z.value=!0)}}catch(e){if(M.value=!0,console.log(e),c.Z.isAxiosError(e)){const a=e;P.value=a.response?.data?.message}else P.value="There is an issue in the restart Journey, please contact with helpmate.";Z.value=!0}},F=e=>{M.value=!1,console.log(`task data ${JSON.stringify(e)}`);const t=e;M.value=!0,t?(a.value=t.task_id,f.value=t.task_type,v.value=t.task_name,g.value=t.description,i.value=t.skill,l.value=t.proficiency,h.value=t.linked_task_group,b.value=!0===t.checkForPlagiarism):(P.value="There is an issue to fetch task, please contact helpmate.",Z.value=!0)};return(0,r.onBeforeMount)((async()=>{try{M.value=!1,R.value=localStorage.getItem("programName"),U.value=localStorage.getItem("reviewerAssignmentStrategy"),D.value=localStorage.getItem("taskAssignmentStrategy");const e=await(0,o.zn)("/learner/journey/stat",{skill:i.value,proficiency:l.value,program_id:s.value}),a=e.data;F(a.taskDetails),y.value=!0===a.program_details.plagiarism_enabled,M.value=!0,a.learnerData&&(a.learnerData.technical_hold&&(console.log("learner on hold select task"),d.Z.push({path:"/solidify",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}})),console.log(`learner Data value ${JSON.stringify(a.learnerData)}`),console.log(`learnerStatus value ${a.learnerData.learner_status}`),T.value=a.learnerData.learner_status,t.value=a.learnerData.learner_task_id,"Need Reviewer and Need Reviewee"===a.learnerData.learner_status||"Need Reviewee"===a.learnerData.learner_status?d.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:a.learnerData.learner_task_id}}):"Need Reviewer"!==a.learnerData.learner_status&&"Passed"!==a.learnerData.learner_status||d.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:t.value}}))}catch(e){if(M.value=!0,c.Z.isAxiosError(e)){const a=e;P.value=a.response?.data?.message}else P.value="There is an issue to fetch existing record, please contact with helpmate.";Z.value=!0}})),{learnerSubmissionFile:k,skillName:u,profName:m,skillId:i,proficiencyId:l,programId:s,taskType:f,taskName:v,taskDesc:g,linkedTask:h,submitSubmiision:j,learnerSubmission:x,selectedFile:W,fileValidationMsg:_,restart:q,switchTask:z,learnerTaskId:t,preSignedUrl:w,buttonDisable:A,validationError:S,clearFile:J,fileInputKey:L,helpmateLink:p,learnerStatus:T,renderReady:M,errorResponse:P,showErrorMessage:Z,plagiarismcb:C,palgiarismErrorMsg:I,programName:R,taskAssignmentStrategy:D,reviewerAssignmentStrategy:U,checkForPlagiarismTaskLevel:b,checkForPlagiarismProgramLevel:y,checkQuestionLength:N,questionWordCount:G,submissionError:E}}}),v=p,g=t(1001),f=(0,g.Z)(v,s,i,!1,null,"6ac7e450",null),h=f.exports},568:function(e,a,t){t.d(a,{ie:function(){return n},rC:function(){return o},sc:function(){return r},ux:function(){return i},yW:function(){return l}});var s=t(7129);const i=async(e,a)=>{const t=await s.Z.post(e,a);return t},r=async(e,a)=>{let t;const s=await fetch(`${e}`,{method:"put",body:a});return t=s,t},l=async e=>{const a=await s.Z.get(`/task/${e}`);return a},n=async(e,a)=>{const t=await s.Z.post(e,{learner_task_id:a});return t},o=async(e,a)=>{const t=await s.Z.post(e,a);return t}},4654:function(e,a,t){t.d(a,{hZ:function(){return r},n2:function(){return i},zn:function(){return l}});var s=t(7129);const i=async(e,a)=>{const t=await s.Z.post(e,a);return t},r=async(e,a)=>{const t=await s.Z.post(e,a);return t},l=async(e,a)=>{const t=await s.Z.post(e,a);return t}},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZ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Ge8a22aeE6EJRF7TU1Ucjz+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([[612],{4735:function(e,a,t){t.d(a,{Z:function(){return u}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"flex"},[a("div",{staticClass:"w-full pt-16 px-32"},[a("div",{staticClass:"md:px-0 lg:px-0 text-center"},[a("div",{staticClass:"text-gray-500"},[a("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),a("div",{staticClass:"pt-8"},[a("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[a("img",{staticClass:"mx-auto",attrs:{src:t(6540)}})])])])])])},i=[],r=t(7203),l=(0,r.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const a=(0,r.ref)(""),t=(0,r.ref)(localStorage.getItem("helpmateLink"));return(0,r.onBeforeMount)((async()=>{a.value=e.errorMessage})),{errorMsg:a,helpmateLink:t}}}),n=l,o=t(1001),c=(0,o.Z)(n,s,i,!1,null,null,null),u=c.exports},5316:function(e,a,t){t.d(a,{Z:function(){return u}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[a("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?a("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),a("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[a("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],r=t(7203),l=(0,r.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,r.ref)("");return(0,r.onBeforeMount)((async()=>{const a=localStorage.getItem("userName")||"Learner";e.value=a.split(",").reverse().join(" ")})),{username:e}}}),n=l,o=t(1001),c=(0,o.Z)(n,s,i,!1,null,null,null),u=c.exports},8890:function(e,a,t){t.r(a),t.d(a,{default:function(){return h}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[a("div",{staticClass:"flex"},[a("div",{staticClass:"w-full pt-12"},[a("Greetings",{attrs:{program:e.programId,proficiency:e.profName,skill:e.skillName}}),a("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[a("div",{staticClass:"ul-nav w-full"},[a("ul",[a("li",{staticClass:"active"},[e._v("Home")]),a("li",{staticClass:"active"},[e._v("Task")]),a("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?a("li",[e._v("Peer Reviews")]):e._e(),a("li",[e._v("Under Review")]),a("li",[e._v("Done!")])])])]),a("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[a("div",{staticClass:"block mt-4 mb-4"},[e.submissionError?a("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.submissionError)+" ")]):e._e(),a("div",{staticClass:"text-gray-600"},[a("div",["infinity"!==e.programName&&"Desktop"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, click "),a("strong",[e._v("Submit")]),e._v(". ")]):e._e(),"infinity"===e.programName&&"Desktop"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, "),a("strong",[e._v("Submit")]),e._v(" to proceed to peer reviews. ")]):e._e(),"Desktop"===e.taskType?a("p",{staticClass:"pt-2"},[e._v(" You can only submit "),a("strong",[e._v("one file")]),e._v(", but feel free to use links in the file you submit. You can submit a word, pdf, ppt, excel, .txt or video. The maximum file size is "),a("strong",[e._v("200MB")]),e._v(". A larger file may take more time to upload, please be patient and do not click refresh until the page finishes loading. ")]):e._e(),"Mobile"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by typing it into in the text box below, then click on 'Submit'. Also, ensure your task submission is within a 500-word limit, and is over 100 words. If you would like to attach a video, you can do so by sending a link to where the video is hosted. ")]):e._e(),e._m(0)]),a("div",{staticClass:"mt-4"},[a("p",{staticClass:"pt-2"},[a("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))]),e._m(1),a("div",{staticClass:"mt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.taskDesc)}})]),"Desktop"===e.taskType?a("div",{staticClass:"mt-4"},["infinity"===e.programId?a("p",[a("strong",[e._v("If you don't want to complete this task anymore, ")]),e._v('you can choose another one by clicking "Select Different Task".')]):e._e(),"infinity"===e.programId?a("p",{staticClass:"pt-2"},[a("strong",[e._v("Upload")]),e._v(' the file you created for this task by clicking on "Submit".')]):e._e(),"infinity"!==e.programId?a("p",{staticClass:"pt-2"},[e._v("Upload the file you created for this then click "),a("strong",[e._v("Submit")]),e._v(" to continue.")]):e._e(),"infinity"===e.programId?a("p",{staticClass:"pt-2"},[a("strong",[e._v("If you want to start your Solidify journey again,")]),e._v(" you can do so by clicking “Restart Solidify”")]):e._e(),a("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),a("div",{staticClass:"flex items-center gap-2",staticStyle:{"max-width":"250px"}},[a("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file"},on:{change:e.selectedFile}}),e.learnerSubmission?a("x-icon",{attrs:{size:"1.5x"},on:{click:function(a){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?a("div",{staticClass:"pt-12"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{keyup:function(a){return e.checkQuestionLength(e.learnerSubmission)},input:function(a){a.target.composing||(e.learnerSubmission=a.target.value)}}}),a("div",[e.questionWordCount<100?a("div",{staticClass:"text-red-700"},[e._v("(Minimum 100 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])]):e._e(),e.fileValidationMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e(),e._m(2),e.checkForPlagiarismProgramLevel&&e.checkForPlagiarismTaskLevel?a("div",[a("ul",{staticClass:"pt-2 pl-8"},[a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check0")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check0",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that this task submission is my own work, based on my personal study/ research and any content taken from the internet has been referenced.")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check1",value:"check1"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check1")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check1",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that this task submission does not contain/ use any client/ Genpact confidential materials.")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check2",value:"check2"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check2")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check2",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I have checked my submission for plagiarism against popular internet sites like "),e._m(3),e._v(" and no significant plagiarism was found.")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check3",value:"check3"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check3")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check3",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I have not copied this submission from anyone or anywhere including work submitted by my colleagues/ team members.")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check4",value:"check4"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check4")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check4",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I understand that plagiarism is an infringement of other's work, and is a violation of Genpact's code of conduct which will lead to unsuccessful completion of Solidify and/ or disciplinary action.")])])]),a("li",[e.palgiarismErrorMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.palgiarismErrorMsg))]):e._e()])]),e._m(4)]):a("div",[a("ul",{staticClass:"pt-2 pl-8"},[a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check0")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check0",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that this task submission does not contain/ use any client/ Genpact confidential materials.")])])])]),e.palgiarismErrorMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.palgiarismErrorMsg))]):e._e()])])]),a("div",{staticClass:"block text-center pt-12"},[e._m(5),a("div",{staticClass:"mb-4 text-center"},["infinity"===e.programId?a("button",{staticClass:"inline-block mt-2 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",on:{click:e.switchTask}},[e._v(" Select Different Task ")]):e._e(),a("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.submitSubmiision}},[e._v(" Submit Task ")]),"infinity"===e.programId?a("button",{staticClass:"inline-block mt-2 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",on:{click:function(a){return e.restart()}}},[e._v(" Restart Solidify ")]):e._e()])])])],1)])],e.showErrorMessage?a("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():a("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[a("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:t(9756),alt:"Loader Gif"}}),a("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},i=[function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[e._v(" You must work on the task by yourself, and your submission must be in "),a("strong",[e._v("English")]),e._v(" only. "),a("strong",[e._v("Do not copy and paste,")]),e._v(" or you may be in violation of Genpact’s integrity statement. ")])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[a("strong",[e._v("Task Description:")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"pt-2"},[a("p",{staticClass:"pt-2"},[e._v("By submitting a task, you are certifying that your work follows the guidelines in the statement(s) below.")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("strong",[a("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),a("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(", "),a("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"mt-3"},[e._v(" To learn more about the importance of originality in your content submission and what is plagiarism, watch this "),a("strong",[a("a",{staticClass:"underline",attrs:{href:"https://dcl.genpact.com/media/9df055db-c09e-4e2a-843e-a5b950003d89",target:"blank"}},[e._v("video")]),e._v(".")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"pt-4"},[a("p",{staticClass:"text-xl"},[a("em",[e._v("Please don't click the browser back button")])])])}],r=(t(7658),t(7203)),l=t(4856),n=t(568),o=t(4654),c=t(306),u=t(4735),m=t(5316),d=t(6275),p=(0,r.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:l.b0D,ErrorMessage:u.Z,Greetings:m.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const a=(0,r.ref)(),t=(0,r.ref)(e.query.learner_task_id),s=(0,r.ref)(localStorage.getItem("programId")),i=(0,r.ref)(localStorage.getItem("skillId")),l=(0,r.ref)(localStorage.getItem("profId")),u=(0,r.ref)(localStorage.getItem("skillName")),m=(0,r.ref)(localStorage.getItem("proficiency")),p=(0,r.ref)(localStorage.getItem("helpmateLink")),v=(0,r.ref)(),g=(0,r.ref)(),f=(0,r.ref)(),h=(0,r.ref)(),b=(0,r.ref)(),y=(0,r.ref)(!1),k=(0,r.ref)(null),_=(0,r.ref)(),x=(0,r.ref)(),w=(0,r.ref)(),A=(0,r.ref)(!0),C=(0,r.ref)([]),S=(0,r.ref)(),I=(0,r.ref)(),L=(0,r.ref)(0),T=(0,r.ref)(),M=(0,r.ref)(!1),P=(0,r.ref)(),Z=(0,r.ref)(!1),R=(0,r.ref)(),D=(0,r.ref)(),U=(0,r.ref)(),G=(0,r.ref)(0),E=(0,r.ref)(""),N=e=>{G.value=e.split(" ").filter((e=>""!==e)).length,A.value=G.value<100},J=async()=>{L.value+=1,console.log(`before ${x.value}`),x.value=null,A.value=!0,console.log(`after ${x.value}`)},W=async e=>{try{if(k.value=e.target.files[0],k.value){x.value=e.target.files[0].name;const a=e.target.files[0].size/1024/1024;k.value&&(A.value=!1),a>200&&(_.value="Uploaded filesize is greater than 200 MB",setTimeout((()=>{_.value=null}),6e3),A.value=!0)}}catch(a){if(console.log(a),M.value=!0,c.Z.isAxiosError(a)){const e=a;P.value=e.response?.data?.message}else P.value="Something went wrong, please contact helpmate.";Z.value=!0}},j=async()=>{try{if(M.value=!1,console.log("plagiarismcb",C),y.value&&b.value&&5!==C.value.length)return M.value=!0,I.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{I.value=null}),6e3);if((!y.value||!b.value)&&1!==C.value.length)return M.value=!0,I.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{I.value=null}),6e3);if(x.value){const e={learner_submission:x.value.trim(),learner_task_id:t.value,skill:i.value,proficiency:l.value,linked_program_name:s.value,task_type:f.value,linked_task_id:a.value,assinged_reviewer_count:0};let r;if("Desktop"===f.value){const a=await(0,n.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:x.value,learner_task_id:t.value}),s=a.data;w.value=s.preSignedUrl;const i=await(0,n.sc)(w.value,k.value);200===i.status?r=await(0,n.rC)("/v1/uploadLearnerSubmission",e):(M.value=!0,P.value="There is issue in the file upload, please contact with helpmate.",Z.value=!0)}else r=await(0,n.rC)("/v1/uploadLearnerSubmission",e);200===r.status?(console.log(r),"Please upload non empty file"===r.data.message?(E.value="The submission does not meet the minimum task word limit of 100 words. Please upload a valid submission.",J(),setTimeout((()=>{E.value=""}),6e3),M.value=!0):d.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:e.learner_task_id}}),"Learner on hold"===r.data.message&&(console.log("learner on hold submit task"),d.Z.push({path:"/solidify",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}}))):(M.value=!0,P.value="There is some issue while submitting learner submission, please contact with helpmate.",Z.value=!0)}else"Mobile"===f.value?(M.value=!0,x.value||(_.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{_.value=null}),6e3))):"Desktop"===f.value&&(M.value=!0,console.log(`learnerSubmission.value ${x.value}`),x.value||(_.value="please select File",setTimeout((()=>{_.value=null}),6e3)))}catch(e){if(M.value=!0,console.log(`error ${e}`),c.Z.isAxiosError(e)){const a=e;P.value=a.response?.data?.message}else P.value="There is some issue while submitting learner submission, please contact with helpmate.";Z.value=!0}},z=async()=>{try{M.value=!1,console.log("Learner Status",T.value),"Registered"!==T.value?(M.value=!0,console.log(`inside if ${T.value}`),P.value="Learner Status is not registered.",Z.value=!0):d.Z.push({name:"SolidifyLearnerSelectTask",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}})}catch(e){if(M.value=!0,c.Z.isAxiosError(e)){const a=e;P.value=a.response?.data?.message}else P.value="There is an issue with the switching, please contact with helpmate.";Z.value=!0}},q=async()=>{try{if(M.value=!1,"Registered"!==T.value)M.value=!0,P.value="Learner Status is not registered.",Z.value=!0;else{const e=await(0,n.ie)("/v1/restartLearnerJourney",t.value);console.log("restartLearnerJourney",e);const a='your task was removed successfully, you can restart journey again from <a href="https://genome.genpact.com/my-plan" target="_blank" class="text-background-secondary"><strong>MyPlan</strong></a>';e?(localStorage.setItem("message",a),d.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"no",isProxyReview:"no",showChevron:"no"}})):(M.value=!0,P.value="There is an issue in the restart Journey, please contact helpmate.",Z.value=!0)}}catch(e){if(M.value=!0,console.log(e),c.Z.isAxiosError(e)){const a=e;P.value=a.response?.data?.message}else P.value="There is an issue in the restart Journey, please contact with helpmate.";Z.value=!0}},F=e=>{M.value=!1,console.log(`task data ${JSON.stringify(e)}`);const t=e;M.value=!0,t?(a.value=t.task_id,f.value=t.task_type,v.value=t.task_name,g.value=t.description,i.value=t.skill,l.value=t.proficiency,h.value=t.linked_task_group,b.value=!0===t.checkForPlagiarism):(P.value="There is an issue to fetch task, please contact helpmate.",Z.value=!0)};return(0,r.onBeforeMount)((async()=>{try{M.value=!1,R.value=localStorage.getItem("programName"),U.value=localStorage.getItem("reviewerAssignmentStrategy"),D.value=localStorage.getItem("taskAssignmentStrategy");const e=await(0,o.zn)("/learner/journey/stat",{skill:i.value,proficiency:l.value,program_id:s.value}),a=e.data;F(a.taskDetails),y.value=!0===a.program_details.plagiarism_enabled,M.value=!0,a.learnerData&&(a.learnerData.technical_hold&&(console.log("learner on hold select task"),d.Z.push({path:"/solidify",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}})),console.log(`learner Data value ${JSON.stringify(a.learnerData)}`),console.log(`learnerStatus value ${a.learnerData.learner_status}`),T.value=a.learnerData.learner_status,t.value=a.learnerData.learner_task_id,"Need Reviewer and Need Reviewee"===a.learnerData.learner_status||"Need Reviewee"===a.learnerData.learner_status?d.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:a.learnerData.learner_task_id}}):"Need Reviewer"!==a.learnerData.learner_status&&"Passed"!==a.learnerData.learner_status||d.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:t.value}}))}catch(e){if(M.value=!0,c.Z.isAxiosError(e)){const a=e;P.value=a.response?.data?.message}else P.value="There is an issue to fetch existing record, please contact with helpmate.";Z.value=!0}})),{learnerSubmissionFile:k,skillName:u,profName:m,skillId:i,proficiencyId:l,programId:s,taskType:f,taskName:v,taskDesc:g,linkedTask:h,submitSubmiision:j,learnerSubmission:x,selectedFile:W,fileValidationMsg:_,restart:q,switchTask:z,learnerTaskId:t,preSignedUrl:w,buttonDisable:A,validationError:S,clearFile:J,fileInputKey:L,helpmateLink:p,learnerStatus:T,renderReady:M,errorResponse:P,showErrorMessage:Z,plagiarismcb:C,palgiarismErrorMsg:I,programName:R,taskAssignmentStrategy:D,reviewerAssignmentStrategy:U,checkForPlagiarismTaskLevel:b,checkForPlagiarismProgramLevel:y,checkQuestionLength:N,questionWordCount:G,submissionError:E}}}),v=p,g=t(1001),f=(0,g.Z)(v,s,i,!1,null,"38af499e",null),h=f.exports},568:function(e,a,t){t.d(a,{ie:function(){return n},rC:function(){return o},sc:function(){return r},ux:function(){return i},yW:function(){return l}});var s=t(7129);const i=async(e,a)=>{const t=await s.Z.post(e,a);return t},r=async(e,a)=>{let t;const s=await fetch(`${e}`,{method:"put",body:a});return t=s,t},l=async e=>{const a=await s.Z.get(`/task/${e}`);return a},n=async(e,a)=>{const t=await s.Z.post(e,{learner_task_id:a});return t},o=async(e,a)=>{const t=await s.Z.post(e,a);return t}},4654:function(e,a,t){t.d(a,{hZ:function(){return r},n2:function(){return i},zn:function(){return l}});var s=t(7129);const i=async(e,a)=>{const t=await s.Z.post(e,a);return t},r=async(e,a)=>{const t=await s.Z.post(e,a);return t},l=async(e,a)=>{const t=await s.Z.post(e,a);return t}},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+g5XbZHQrKa2kUR5aexntkagpJ1ZSQlVNGUVUDxWFebDvlhXOOngePOkUdME8WAsyRuf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