@genpact/genome.mfe.solidify-app 1.17.2-alpha.108 → 1.17.2-alpha.109

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/js/LearnerRereview.js +1 -1
  2. package/dist/js/LearnerRereview.js.map +1 -1
  3. package/dist/js/SolidifyAbout.js +1 -1
  4. package/dist/js/SolidifyAbout.js.map +1 -1
  5. package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
  6. package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
  7. package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
  8. package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
  9. package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
  10. package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
  11. package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
  12. package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
  13. package/dist/js/SolidifyAdministrationOffcycleDashboard.js +1 -1
  14. package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -1
  15. package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
  16. package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
  17. package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
  18. package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
  19. package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
  20. package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
  21. package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
  22. package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
  23. package/dist/js/SolidifyLearner.js +2 -2
  24. package/dist/js/SolidifyLearner.js.map +1 -1
  25. package/dist/js/SolidifyLearnerDone.js +1 -1
  26. package/dist/js/SolidifyLearnerDone.js.map +1 -1
  27. package/dist/js/SolidifyLearnerError.js +1 -1
  28. package/dist/js/SolidifyLearnerError.js.map +1 -1
  29. package/dist/js/SolidifyLearnerGating.js +1 -1
  30. package/dist/js/SolidifyLearnerGating.js.map +1 -1
  31. package/dist/js/SolidifyLearnerPeerReview.js +1 -1
  32. package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
  33. package/dist/js/SolidifyLearnerProxyReview.js +1 -1
  34. package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
  35. package/dist/js/SolidifyLearnerSelectTask.js +1 -1
  36. package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
  37. package/dist/js/SolidifyLearnerStatus.js +1 -1
  38. package/dist/js/SolidifyLearnerStatus.js.map +1 -1
  39. package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
  40. package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
  41. package/dist/js/app.js +46 -46
  42. package/dist/js/app.js.map +1 -1
  43. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationTaskManagement"],{"07d3":function(e,t,a){var l=a("a8d8");t=l(!1),t.push([e.i,".modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:rgba(0,0,0,.8549019607843137)}.modal{text-align:center;background-color:#fff;height:200px;width:500px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}",""]),e.exports=t},"276f":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter Task ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProgram,expression:"selectedProgram"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProgram=t.target.multiple?a:a[0]},function(t){return e.getSelectedProgram(t)}]}},[t("option",[e._v("Select Program")]),e._l(e.programDetails,(function(a){return t("option",{key:a.program_id,domProps:{value:a.program_id}},[e._v(e._s(a.program_display_name?a.program_display_name:a.program_name))])}))],2)]),e.showSkillProf?t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedSkill=t.target.multiple?a:a[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2)]):e._e(),e.showSkillProf?t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProficiency=t.target.multiple?a:a[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2)]):e._e(),t("div",{staticClass:"w-full mb-4"},[e.searchBtn?t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchTask()}}},[e._v("Search Task")]):e._e()])]),t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"pr-3 mb-4 w-full"},[e.showTaskImportBtn?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){e.showTaskImport=!0}}},[e._v("Upload Task")]):e._e(),e.showSequencBtn?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:e.resetTaskOrder}},[e._v("Reset Task Sequence")]):e._e(),e.showExportBtn?t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:e.exportTask}},[e._v("Export Task")]):e._e()])]),e.showTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.BulksuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.BulksuccessMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkImportTask}},[e._v("Import Task")])]):e._e(),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewTaskDetails()}}},[e._v("View Task")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.archiveBtn,expression:"archiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.archieveTask()}}},[e._v("Archive Task")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.unArchiveBtn,expression:"unArchiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.archieveTask()}}},[e._v("UnArchive Task")]),e.archiveBtn?t("button",{directives:[{name:"show",rawName:"v-show",value:e.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.createOffCycle()}}},[e._v("Create Off-Cycle")]):e._e()])]),e.showSingleTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.SinglesuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.SinglesuccessMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkSingleImportTask}},[e._v("Import Single Task")])]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.taskDetails?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("SearchBar",{attrs:{data:e.taskDetailsArray,placeholder:"Search By Task Name"},on:{Filtered:e.getFilteredList}}),t("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 tableScroll"},[e._m(1),t("tbody",{staticClass:"opacity-80 align-bottom"},e._l(e.filteredTaskDetails,(function(a){return t("tr",{key:a.task_id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:a.task_id},domProps:{value:a.task_id,checked:Array.isArray(e.taskCheckOne)?e._i(e.taskCheckOne,a.task_id)>-1:e.taskCheckOne},on:{change:[function(t){var l=e.taskCheckOne,s=t.target,n=!!s.checked;if(Array.isArray(l)){var r=a.task_id,o=e._i(l,r);s.checked?o<0&&(e.taskCheckOne=l.concat([r])):o>-1&&(e.taskCheckOne=l.slice(0,o).concat(l.slice(o+1)))}else e.taskCheckOne=n},function(t){return e.showTaskBtn(t,a.task_id,a.is_archive)}],click:e.taskcheckedOne}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_name}},[e._v(e._s(a.task_name))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.is_archive}},[e._v(e._s(a.is_archive))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_type}},[e._v(e._s(a.task_type))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.created_date}},[e._v(e._s(a.created_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_order}},[e._v(e._s(a.task_order))])])})),0)]),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":e.modalButtonVisible},on:{closeModal:e.closeModal,Archive:e.archieveTaskFunction}})],1):e._e()]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex justify-between"},[t("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[e._v("Task Management")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Is Archive")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner Type")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Created Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Sequence Number")])])])}],n=(a("f9f6"),a("6bcf")),r=a("bb03"),o=a.n(r),c=a("3212"),i=a("afbc"),u=a("2c72"),d=a("8596"),v=a("675e"),f=a("6235"),g=a("faec"),p=Object(n["b"])({name:"TaskManagement",components:{Generic:u["a"],SearchBar:g["a"]},setup(){const e=Object(n["f"])(),t=Object(n["f"])(!0),a=Object(n["f"])(),l=Object(n["f"])([]),s=Object(n["f"])("Select Program"),r=Object(n["f"])(),u=Object(n["f"])(),g=Object(n["f"])(),p=Object(n["f"])(!0),m=Object(n["f"])(!1),b=Object(n["f"])(!1),k=Object(n["f"])(),y=Object(n["f"])(),h=Object(n["f"])(),w=Object(n["f"])(),_=Object(n["f"])(),x=Object(n["f"])(!1),S=Object(n["f"])(),C=Object(n["f"])(),O=Object(n["f"])(),j=Object(n["f"])(),T=Object(n["f"])("Select Skill"),I=Object(n["f"])("Select Proficiency"),P=Object(n["f"])(!1),B=Object(n["f"])(!1),A=Object(n["f"])(!1),M=Object(n["f"])(!1),N=Object(n["f"])(!1),D=Object(n["f"])(!1),L=Object(n["f"])(),R=Object(n["f"])(),q=Object(n["f"])(!1),V=Object(n["f"])(),U=Object(n["f"])(!1),F={},$=Object(n["f"])(),J=Object(n["f"])();let Y;const E=()=>{l.value=[]},z=(e,t,a)=>{const l=e.target.checked;!0===l?(u.value=t,r.value=!0,M.value=!0,!0===a?(C.value=!1,x.value=!1,S.value=!0):(C.value=!0,x.value=!0,S.value=!1)):(r.value=!1,x.value=!1,S.value=!1,M.value=!1,N.value=!1)},G=async()=>{t.value=!1,a.value=await Object(c["g"])("/getAllTaskByProgram",F),$.value=a.value.map(e=>e.task_name),J.value=a.value,console.log("taskDetailsArray",$);for(let e=0;e<a.value.length;e+=1){const t=a.value[e];t.created_date&&(t.created_date=o()(t.created_date).format("MMM Do YYYY, h:mm a"))}a.value=a.value.sort((e,t)=>e.task_name.localeCompare(t.task_name)),"infinity"===s.value?A.value=!1:A.value=!0,t.value=!0},H=async()=>{"Select Program"!==s.value&&Object.assign(F,{program_id:s.value}),"Select Skill"!==T.value&&Object.assign(F,{skill_id:T.value}),"Select Proficiency"!==I.value&&Object.assign(F,{proficiency_id:I.value}),"Select Program"!==s.value&&(r.value=!1,x.value=!1,S.value=!1,r.value=!1,M.value=!1,await G())},W=async e=>{t.value=!1,localStorage.setItem("program",e.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),s.value=e.target.value,"Select Program"!==s.value?(b.value=!0,D.value=!0,B.value=!0,"infinity"===s.value?(A.value=!1,T.value="Select Skill",I.value="Select Proficiency",P.value=!0):(P.value=!1,T.value="",I.value="",A.value=!0)):(b.value=!1,m.value=!1,B.value=!1,D.value=!1,P.value=!1),t.value=!0},X=async e=>{localStorage.setItem("skill",e.target.value),T.value=e.target.value,"Select Skill"===T.value&&(T.value="")},K=async e=>{localStorage.setItem("proficiency",e.target.value),I.value=e.target.value,"Select Proficiency"===I.value&&(I.value="")},Q=async()=>{t.value=!1,e.value=await Object(c["f"])("/cache?cache=program"),t.value=!0},Z=async()=>{i["a"].push({path:"taskDetails",query:{task_id:u.value}})},ee=async e=>{try{const t=e.target.files[0],a=t.name,l=a.endsWith(".csv");l?(k.value=a,y.value=t):(h.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{h.value=null},6e3),y.value=null,k.value=null)}catch(t){console.log(t)}},te=async()=>{if(y.value){const e=o()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,n=await Object(v["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",n),_.value=n.data.preSignedUrl;const r=await Object(c["k"])(_.value,y.value);if(200===r.status){const e={task_id:u.value,file_key:""+l},n=await Object(c["c"])("/task/importSingleTask",e);console.log(n),t.value=!1,L.value="Task Updated",y.value=null,k.value=null,a.value=await Object(c["g"])("/getAllTaskByProgram",{program_id:s.value}),t.value=!0,setTimeout(()=>{L.value=null,N.value=!1},6e3)}}else h.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{h.value=null},6e3)},ae=async()=>{if(y.value){const e=o()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,n=await Object(v["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",n),_.value=n.data.preSignedUrl;const r=await Object(c["k"])(_.value,y.value);if(200===r.status){const e={program_id:s.value,file_key:""+l},n=await Object(c["c"])("/task/import",e);console.log(n),t.value=!1,R.value="Task added",y.value=null,k.value=null,a.value=await Object(c["g"])("/getAllTaskByProgram",{program_id:s.value}),t.value=!0,setTimeout(()=>{R.value=null,m.value=!1},6e3)}}else h.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{h.value=null},6e3)},le=async()=>{t.value=!1;const e=await Object(f["d"])("/getAllSkillProf?skill_type=genome");O.value=e.skill,j.value=e.proficiency,t.value=!0},se=async()=>{const e=s.value;"infinity"!==e&&await Object(c["h"])("/resetActiveTaskOrder ",{program_id:e}),await G()},ne=async()=>{t.value=!1,Y={task_id:u.value,archive_type:C.value},q.value=!0,Y.archive_type?V.value="Archiving a task also archives linked offcycle tasks. Please confirm if you want to proceed.":V.value="Unarchiving a task also unarchives linked offcycle tasks. Please confirm if you want to proceed.",U.value=!0,t.value=!0},re=()=>{const t=e.value.find(e=>e.program_id===s.value);console.log("programDetail "+JSON.stringify(t));const l=a.value.find(e=>e.task_id===u.value);if(console.log("taskDetail "+JSON.stringify(l)),console.log("programId",s.value),console.log("programName",t.program_name),console.log("linkedTaskId",u.value),console.log("taskName",l.task_name),console.log("taskType",l.task_type),localStorage.setItem("programId",s.value),localStorage.setItem("programName",t.program_name),localStorage.setItem("linkedTaskId",u.value),"infinity"===s.value){localStorage.setItem("skillId",T.value);const e=O.value.find(e=>e.skill_id===T.value);console.log("skillDetail "+JSON.stringify(e)),localStorage.setItem("skillName",e.skill_alias);const t=j.value.find(e=>e.prof_id===I.value);console.log("profDetail "+JSON.stringify(t)),localStorage.setItem("proficiencyId",I.value),localStorage.setItem("proficiencyName",t.prof_name),console.log("skill",T.value),console.log("skill Name",e.skill_alias),console.log("proficiency",I.value),console.log("prof Name",t.prof_name)}localStorage.setItem("taskName",l.task_name),localStorage.setItem("taskType",l.task_type),i["a"].push("createOffcycle")},oe=async()=>{t.value=!1,w.value="The task report is being processed. You should get that over email in next 15 minutes",setTimeout(()=>{w.value=null},6e3),t.value=!0,await Object(c["e"])(s.value)},ce=()=>{q.value=!1},ie=async()=>{t.value=!1,q.value=!1,await Object(c["d"])("/archieveTask",Y),console.log("inside archieveTask"),await se(),x.value=!1,S.value=!1,r.value=!1,l.value=[],t.value=!0},ue=e=>{J.value=a.value.filter(t=>e.includes(t.task_name)),console.log("filteredTaskDetails",J.value)};return Object(n["c"])(async()=>{const e=await Object(d["g"])("/getUserRole");g.value=e.user_roles,g.value.length>0&&(g.value.includes("System Admin")||g.value.includes("System Admin View Access")||g.value.includes("Community Manager")||g.value.includes("Program Admin")?p.value=!0:p.value=!1),localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),await Q(),await le(),localStorage.getItem("program")&&(s.value=localStorage.getItem("program")||"Select Program",Object.assign(F,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(T.value=localStorage.getItem("skill")||"Select Skill",Object.assign(F,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(I.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(F,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",F),"Select Program"!==localStorage.getItem("program")&&(D.value=!0,b.value=!0,await G()),B.value=!0,"infinity"===s.value?(P.value=!0,A.value=!1):P.value=!1}),{renderReady:t,programDetails:e,getSelectedProgram:W,taskDetails:a,taskCheckOne:l,taskcheckedOne:E,checkedTaskId:u,showTaskBtn:z,taskBtn:r,viewTaskDetails:Z,showScreen:p,archieveTask:ne,selectedProgram:s,showTaskImport:m,showTaskImportBtn:b,bulkImportTask:ae,selectedFile:ee,errorMessage:h,successMessage:w,archiveBtn:x,unArchiveBtn:S,getTaskDetails:G,skills:O,proficiency:j,getSelectedSkill:X,getSelectedProficiency:K,showSkillProf:P,searchBtn:B,resetTaskOrder:se,showSequencBtn:A,createOffCycle:re,selectedSkill:T,selectedProficiency:I,searchTask:H,singleTaskBtn:M,showSingleTaskImport:N,bulkSingleImportTask:te,exportTask:oe,showExportBtn:D,SinglesuccessMessage:L,BulksuccessMessage:R,modalVisible:q,modalMessage:V,closeModal:ce,modalButtonVisible:U,archieveTaskFunction:ie,taskDetailsArray:$,getFilteredList:ue,filteredTaskDetails:J}}}),m=p,b=(a("317a"),a("8619")),k=Object(b["a"])(m,l,s,!1,null,"0eedea57",null);t["default"]=k.exports},"2c72":function(e,t,a){"use strict";var l=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Cancel ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Confirm")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},s=[],n=(a("f9f6"),a("949b")),r=a("afbc"),o={components:{XIcon:n["g"]},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1}},setup(){const e=async e=>{r["a"].push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},c=o,i=(a("916d"),a("8619")),u=Object(i["a"])(c,l,s,!1,null,null,null);t["a"]=u.exports},"317a":function(e,t,a){"use strict";a("5f8c")},3212:function(e,t,a){"use strict";a.d(t,"f",(function(){return s})),a.d(t,"g",(function(){return n})),a.d(t,"a",(function(){return r})),a.d(t,"d",(function(){return o})),a.d(t,"j",(function(){return c})),a.d(t,"b",(function(){return i})),a.d(t,"k",(function(){return u})),a.d(t,"c",(function(){return d})),a.d(t,"h",(function(){return v})),a.d(t,"i",(function(){return f})),a.d(t,"e",(function(){return g}));var l=a("26fa");const s=async e=>{let t;return await l["b"].get(e).then(e=>(console.log("Response",e),t=e.data.response.program_name,t)),t},n=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},r=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data.learnerDetails,a)),a},o=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},c=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data,a)),a},i=async e=>{let t;try{return await l["b"].get("/task/"+e).then(e=>(t=e.data.data,t)),t}catch(a){return a}},u=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),l=a;return l}catch(a){return console.error(a),a}},d=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},v=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},f=async e=>{console.log("inside save task data "+JSON.stringify(e));const t=await l["b"].post("/task/create",e);return t},g=async e=>{try{let t;return await l["b"].get("/admin/task/taskExport/"+e).then(async e=>(t=e.data,t)),t}catch(t){return t}}},"5f8c":function(e,t,a){var l=a("b90c");l.__esModule&&(l=l.default),"string"===typeof l&&(l=[[e.i,l,""]]),l.locals&&(e.exports=l.locals);var s=a("c69b").default;s("46a00708",l,!0,{sourceMap:!1,shadowMode:!1})},6235:function(e,t,a){"use strict";a.d(t,"c",(function(){return s})),a.d(t,"d",(function(){return n})),a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return o}));var l=a("26fa");const s=async(e,t)=>{const a=await l["b"].post(e,t);return a},n=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},r=async(e,t)=>{let a;return await l["b"].get(`${e}/${t}`).then(e=>(a=e.data.allProxyList,a)),a},o=async(e,t)=>{const a=await l["b"].post(e,t);return a}},"675e":function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return s})),a.d(t,"c",(function(){return o})),a.d(t,"e",(function(){return n})),a.d(t,"d",(function(){return c}));var l=a("26fa");const s=async(e,t)=>{const a=await l["b"].post(e,t);return a},n=async(e,t)=>{let a;const l=await fetch(""+e,{method:"put",body:t});return a=l,a},r=async e=>{const t=await l["b"].get("/task/"+e);return t},o=async(e,t)=>{const a=await l["b"].post(e,{learner_task_id:t});return a},c=async(e,t)=>{const a=await l["b"].post(e,t);return a}},8596:function(e,t,a){"use strict";a.d(t,"y",(function(){return s})),a.d(t,"t",(function(){return n})),a.d(t,"u",(function(){return r})),a.d(t,"e",(function(){return o})),a.d(t,"x",(function(){return c})),a.d(t,"z",(function(){return i})),a.d(t,"r",(function(){return u})),a.d(t,"s",(function(){return d})),a.d(t,"f",(function(){return v})),a.d(t,"v",(function(){return f})),a.d(t,"h",(function(){return g})),a.d(t,"j",(function(){return p})),a.d(t,"q",(function(){return m})),a.d(t,"o",(function(){return b})),a.d(t,"p",(function(){return k})),a.d(t,"m",(function(){return y})),a.d(t,"k",(function(){return h})),a.d(t,"l",(function(){return w})),a.d(t,"A",(function(){return _})),a.d(t,"C",(function(){return x})),a.d(t,"w",(function(){return S})),a.d(t,"n",(function(){return C})),a.d(t,"i",(function(){return O})),a.d(t,"g",(function(){return j})),a.d(t,"a",(function(){return T})),a.d(t,"B",(function(){return I})),a.d(t,"b",(function(){return P})),a.d(t,"d",(function(){return B})),a.d(t,"c",(function(){return A}));var l=a("26fa");const s=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},n=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},r=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},g=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data.userObj,t)),t},k=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},_=async e=>{const t=await l["b"].get(e);return t},x=async e=>{const t=await l["b"].get(e);return t},S=async e=>{const t=await l["b"].get(e);return t},C=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},O=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data.userObj,t)),t},T=async e=>{const t=await l["b"].post("/user/role",e);return t},I=async e=>{const t=await l["b"].post("/user/removeRole",e);return t},P=async()=>{const e=await l["b"].get("role");return e},B=async e=>{const t=await l["b"].post("/user/saveLSS",e);return t},A=async e=>{const t=await l["b"].post("/user/saveEnvAccess",e);return t}},"916d":function(e,t,a){"use strict";a("b692")},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},b692:function(e,t,a){var l=a("07d3");l.__esModule&&(l=l.default),"string"===typeof l&&(l=[[e.i,l,""]]),l.locals&&(e.exports=l.locals);var s=a("c69b").default;s("0a4786f6",l,!0,{sourceMap:!1,shadowMode:!1})},b90c:function(e,t,a){var l=a("a8d8");t=l(!1),t.push([e.i,".pageLoader[data-v-0eedea57]{position:fixed;top:30%;left:42%}.tableScroll[data-v-0eedea57]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},faec:function(e,t,a){"use strict";var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex mt-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:e.placeHolder1},domProps:{value:e.search},on:{keyup:function(t){e.filterProgramDetails(),e.$emit("Filtered",e.filteredProgramDetails)},input:function(t){t.target.composing||(e.search=t.target.value)}}})])},s=[],n=a("6bcf"),r=Object(n["b"])({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=Object(n["f"])(""),a=Object(n["f"])(),l=Object(n["f"])(),s=Object(n["f"])(),r=()=>{s.value=e.data,l.value=s.value.filter(e=>e.toLowerCase().includes(t.value.toLowerCase()))};return Object(n["c"])(async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)}),{placeHolder1:a,filteredProgramDetails:l,filterProgramDetails:r,search:t}}}),o=r,c=a("8619"),i=Object(c["a"])(o,l,s,!1,null,null,null);t["a"]=i.exports}}]);
1
+ (window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationTaskManagement"],{"00bd":function(e,t,a){var n=a("815e");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"0342":function(e,t,a){var n=a("09bd");e.exports=function(e){var t=+e;return t!==t||0===t?0:n(t)}},"0572":function(e,t){e.exports={}},"073d":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"07d3":function(e,t,a){var n=a("a8d8");t=n(!1),t.push([e.i,".modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:rgba(0,0,0,.8549019607843137)}.modal{text-align:center;background-color:#fff;height:200px;width:500px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}",""]),e.exports=t},"09bd":function(e,t){var a=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?n:a)(t)}},"0bd7":function(e,t,a){var n=a("9dce"),r=a("4833"),o=a("1d31"),c=a("5c13");e.exports=function(e,t,a){for(var i=r(t),s=c.f,l=o.f,u=0;u<i.length;u++){var f=i[u];n(e,f)||a&&n(a,f)||s(e,f,l(t,f))}}},"0fe5":function(e,t,a){var n=a("7d3c"),r=a("743a"),o="__core-js_shared__",c=n[o]||r(o,{});e.exports=c},1e3:function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},"123b":function(e,t,a){var n=a("0342"),r=Math.max,o=Math.min;e.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):o(a,t)}},"186a":function(e,t,a){var n=a("7d3c"),r=a("f6ba"),o=n.document,c=r(o)&&r(o.createElement);e.exports=function(e){return c?o.createElement(e):{}}},"1d31":function(e,t,a){var n=a("caa9"),r=a("c683"),o=a("52bd"),c=a("38c8"),i=a("9a69"),s=a("79b1"),l=a("9dce"),u=a("9dca"),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=i(e),t=s(t),u)try{return f(e,t)}catch(a){}if(l(e,t))return c(!r(o.f,e,t),e[t])}},"211b":function(e,t,a){var n=a("b1ab"),r=a("9dce"),o=a("9a69"),c=a("5435").indexOf,i=a("0572"),s=n([].push);e.exports=function(e,t){var a,n=o(e),l=0,u=[];for(a in n)!r(i,a)&&r(n,a)&&s(u,a);while(t.length>l)r(n,a=t[l++])&&(~c(u,a)||s(u,a));return u}},"23ea":function(e,t,a){var n=a("c683"),r=a("9de2"),o=a("f6ba"),c=TypeError;e.exports=function(e,t){var a,i;if("string"===t&&r(a=e.toString)&&!o(i=n(a,e)))return i;if(r(a=e.valueOf)&&!o(i=n(a,e)))return i;if("string"!==t&&r(a=e.toString)&&!o(i=n(a,e)))return i;throw c("Can't convert object to primitive value")}},"276f":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter Task ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProgram,expression:"selectedProgram"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProgram=t.target.multiple?a:a[0]},function(t){return e.getSelectedProgram(t)}]}},[t("option",[e._v("Select Program")]),e._l(e.programDetails,(function(a){return t("option",{key:a.program_id,domProps:{value:a.program_id}},[e._v(e._s(a.program_display_name?a.program_display_name:a.program_name))])}))],2)]),e.showSkillProf?t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedSkill=t.target.multiple?a:a[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2)]):e._e(),e.showSkillProf?t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:[function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedProficiency=t.target.multiple?a:a[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2)]):e._e(),t("div",{staticClass:"w-full mb-4"},[e.searchBtn?t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchTask()}}},[e._v("Search Task")]):e._e()])]),t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"pr-3 mb-4 w-full"},[e.showTaskImportBtn?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){e.showTaskImport=!0}}},[e._v("Upload Task")]):e._e(),e.showSequencBtn?t("button",{staticClass:"mt-2 mr-4 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:e.resetTaskOrder}},[e._v("Reset Task Sequence")]):e._e(),e.showExportBtn?t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:e.exportTask}},[e._v("Export Task")]):e._e()])]),e.showTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.BulksuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.BulksuccessMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkImportTask}},[e._v("Import Task")])]):e._e(),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewTaskDetails()}}},[e._v("View Task")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.archiveBtn,expression:"archiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.archieveTask()}}},[e._v("Archive Task")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.unArchiveBtn,expression:"unArchiveBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.archieveTask()}}},[e._v("UnArchive Task")]),e.archiveBtn?t("button",{directives:[{name:"show",rawName:"v-show",value:e.taskBtn,expression:"taskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.createOffCycle()}}},[e._v("Create Off-Cycle")]):e._e()])]),e.showSingleTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.SinglesuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.SinglesuccessMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.bulkSingleImportTask}},[e._v("Import Single Task")])]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.taskDetails?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("SearchBar",{attrs:{data:e.taskDetailsArray,placeholder:"Search By Task Name"},on:{Filtered:e.getFilteredList}}),t("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 tableScroll"},[e._m(1),t("tbody",{staticClass:"opacity-80 align-bottom"},e._l(e.filteredTaskDetails,(function(a){return t("tr",{key:a.task_id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:a.task_id},domProps:{value:a.task_id,checked:Array.isArray(e.taskCheckOne)?e._i(e.taskCheckOne,a.task_id)>-1:e.taskCheckOne},on:{change:[function(t){var n=e.taskCheckOne,r=t.target,o=!!r.checked;if(Array.isArray(n)){var c=a.task_id,i=e._i(n,c);r.checked?i<0&&(e.taskCheckOne=n.concat([c])):i>-1&&(e.taskCheckOne=n.slice(0,i).concat(n.slice(i+1)))}else e.taskCheckOne=o},function(t){return e.showTaskBtn(t,a.task_id,a.is_archive)}],click:e.taskcheckedOne}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_name}},[e._v(e._s(a.task_name))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.is_archive}},[e._v(e._s(a.is_archive))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_type}},[e._v(e._s(a.task_type))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.created_date}},[e._v(e._s(a.created_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.task_order}},[e._v(e._s(a.task_order))])])})),0)]),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":e.modalButtonVisible},on:{closeModal:e.closeModal,Archive:e.archieveTaskFunction}})],1):e._e()]),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex justify-between"},[t("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[e._v("Task Management")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Is Archive")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner Type")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Created Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Sequence Number")])])])}],o=(a("f9f6"),a("6bcf")),c=a("bb03"),i=a.n(c),s=a("3212"),l=a("afbc"),u=a("2c72"),f=a("8596"),d=a("675e"),p=a("6235"),v=a("faec"),g=Object(o["b"])({name:"TaskManagement",components:{Generic:u["a"],SearchBar:v["a"]},setup(){const e=Object(o["f"])(),t=Object(o["f"])(!0),a=Object(o["f"])(),n=Object(o["f"])([]),r=Object(o["f"])("Select Program"),c=Object(o["f"])(),u=Object(o["f"])(),v=Object(o["f"])(),g=Object(o["f"])(!0),b=Object(o["f"])(!1),m=Object(o["f"])(!1),y=Object(o["f"])(),h=Object(o["f"])(),k=Object(o["f"])(),w=Object(o["f"])(),x=Object(o["f"])(),_=Object(o["f"])(!1),S=Object(o["f"])(),O=Object(o["f"])(),j=Object(o["f"])(),C=Object(o["f"])(),T=Object(o["f"])("Select Skill"),P=Object(o["f"])("Select Proficiency"),I=Object(o["f"])(!1),B=Object(o["f"])(!1),M=Object(o["f"])(!1),A=Object(o["f"])(!1),D=Object(o["f"])(!1),N=Object(o["f"])(!1),E=Object(o["f"])(),L=Object(o["f"])(),F=Object(o["f"])(!1),R=Object(o["f"])(),q=Object(o["f"])(!1),V={},U=Object(o["f"])(),$=Object(o["f"])();let z;const G=()=>{n.value=[]},J=(e,t,a)=>{const n=e.target.checked;!0===n?(u.value=t,c.value=!0,A.value=!0,!0===a?(O.value=!1,_.value=!1,S.value=!0):(O.value=!0,_.value=!0,S.value=!1)):(c.value=!1,_.value=!1,S.value=!1,A.value=!1,D.value=!1)},Y=async()=>{t.value=!1,a.value=await Object(s["g"])("/getAllTaskByProgram",V),U.value=a.value.map(e=>e.task_name),$.value=a.value,console.log("taskDetailsArray",U);for(let e=0;e<a.value.length;e+=1){const t=a.value[e];t.created_date&&(t.created_date=i()(t.created_date).format("MMM Do YYYY, h:mm a"))}a.value=a.value.sort((e,t)=>e.task_name.localeCompare(t.task_name)),"infinity"===r.value?M.value=!1:M.value=!0,t.value=!0},H=async()=>{"Select Program"!==r.value&&Object.assign(V,{program_id:r.value}),"Select Skill"!==T.value&&Object.assign(V,{skill_id:T.value}),"Select Proficiency"!==P.value&&Object.assign(V,{proficiency_id:P.value}),"Select Program"!==r.value&&(c.value=!1,_.value=!1,S.value=!1,c.value=!1,A.value=!1,await Y())},W=async e=>{t.value=!1,localStorage.setItem("program",e.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),r.value=e.target.value,"Select Program"!==r.value?(m.value=!0,N.value=!0,B.value=!0,"infinity"===r.value?(M.value=!1,T.value="Select Skill",P.value="Select Proficiency",I.value=!0):(I.value=!1,T.value="",P.value="",M.value=!0)):(m.value=!1,b.value=!1,B.value=!1,N.value=!1,I.value=!1),t.value=!0},X=async e=>{localStorage.setItem("skill",e.target.value),T.value=e.target.value,"Select Skill"===T.value&&(T.value="")},K=async e=>{localStorage.setItem("proficiency",e.target.value),P.value=e.target.value,"Select Proficiency"===P.value&&(P.value="")},Q=async()=>{t.value=!1,e.value=await Object(s["f"])("/cache?cache=program"),t.value=!0},Z=async()=>{l["a"].push({path:"taskDetails",query:{task_id:u.value}})},ee=async e=>{try{const t=e.target.files[0],a=t.name,n=a.endsWith(".csv");n?(y.value=a,h.value=t):(k.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{k.value=null},6e3),h.value=null,y.value=null)}catch(t){console.log(t)}},te=async()=>{if(h.value){const e=i()().format("llll");t.value=!1;const n=`${r.value}_${e}.csv`,o=await Object(d["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:n});console.log("presigned URL",o),x.value=o.data.preSignedUrl;const c=await Object(s["k"])(x.value,h.value);if(200===c.status){const e={task_id:u.value,file_key:""+n},o=await Object(s["c"])("/task/importSingleTask",e);console.log(o),t.value=!1,E.value="Task Updated",h.value=null,y.value=null,a.value=await Object(s["g"])("/getAllTaskByProgram",{program_id:r.value}),t.value=!0,setTimeout(()=>{E.value=null,D.value=!1},6e3)}}else k.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{k.value=null},6e3)},ae=async()=>{if(h.value){const e=i()().format("llll");t.value=!1;const n=`${r.value}_${e}.csv`,o=await Object(d["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:n});console.log("presigned URL",o),x.value=o.data.preSignedUrl;const c=await Object(s["k"])(x.value,h.value);if(200===c.status){const e={program_id:r.value,file_key:""+n},o=await Object(s["c"])("/task/import",e);console.log(o),t.value=!1,L.value="Task added",h.value=null,y.value=null,a.value=await Object(s["g"])("/getAllTaskByProgram",{program_id:r.value}),t.value=!0,setTimeout(()=>{L.value=null,b.value=!1},6e3)}}else k.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{k.value=null},6e3)},ne=async()=>{t.value=!1;const e=await Object(p["d"])("/getAllSkillProf?skill_type=genome");j.value=e.skill,C.value=e.proficiency,t.value=!0},re=async()=>{const e=r.value;"infinity"!==e&&await Object(s["h"])("/resetActiveTaskOrder ",{program_id:e}),await Y()},oe=async()=>{t.value=!1,z={task_id:u.value,archive_type:O.value},F.value=!0,z.archive_type?R.value="Archiving a task also archives linked offcycle tasks. Please confirm if you want to proceed.":R.value="Unarchiving a task also unarchives linked offcycle tasks. Please confirm if you want to proceed.",q.value=!0,t.value=!0},ce=()=>{const t=e.value.find(e=>e.program_id===r.value);console.log("programDetail "+JSON.stringify(t));const n=a.value.find(e=>e.task_id===u.value);if(console.log("taskDetail "+JSON.stringify(n)),console.log("programId",r.value),console.log("programName",t.program_name),console.log("linkedTaskId",u.value),console.log("taskName",n.task_name),console.log("taskType",n.task_type),localStorage.setItem("programId",r.value),localStorage.setItem("programName",t.program_name),localStorage.setItem("linkedTaskId",u.value),"infinity"===r.value){localStorage.setItem("skillId",T.value);const e=j.value.find(e=>e.skill_id===T.value);console.log("skillDetail "+JSON.stringify(e)),localStorage.setItem("skillName",e.skill_alias);const t=C.value.find(e=>e.prof_id===P.value);console.log("profDetail "+JSON.stringify(t)),localStorage.setItem("proficiencyId",P.value),localStorage.setItem("proficiencyName",t.prof_name),console.log("skill",T.value),console.log("skill Name",e.skill_alias),console.log("proficiency",P.value),console.log("prof Name",t.prof_name)}localStorage.setItem("taskName",n.task_name),localStorage.setItem("taskType",n.task_type),l["a"].push("createOffcycle")},ie=async()=>{t.value=!1,w.value="The task report is being processed. You should get that over email in next 15 minutes",setTimeout(()=>{w.value=null},6e3),t.value=!0,await Object(s["e"])(r.value)},se=()=>{F.value=!1},le=async()=>{t.value=!1,F.value=!1,await Object(s["d"])("/archieveTask",z),console.log("inside archieveTask"),await re(),_.value=!1,S.value=!1,c.value=!1,n.value=[],t.value=!0},ue=e=>{$.value=a.value.filter(t=>e.includes(t.task_name)),console.log("filteredTaskDetails",$.value)};return Object(o["c"])(async()=>{const e=await Object(f["g"])("/getUserRole");v.value=e.user_roles,v.value.length>0&&(v.value.includes("System Admin")||v.value.includes("System Admin View Access")||v.value.includes("Community Manager")||v.value.includes("Program Admin")?g.value=!0:g.value=!1),localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),await Q(),await ne(),localStorage.getItem("program")&&(r.value=localStorage.getItem("program")||"Select Program",Object.assign(V,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(T.value=localStorage.getItem("skill")||"Select Skill",Object.assign(V,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(P.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(V,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",V),"Select Program"!==localStorage.getItem("program")&&(N.value=!0,m.value=!0,await Y()),B.value=!0,"infinity"===r.value?(I.value=!0,M.value=!1):I.value=!1}),{renderReady:t,programDetails:e,getSelectedProgram:W,taskDetails:a,taskCheckOne:n,taskcheckedOne:G,checkedTaskId:u,showTaskBtn:J,taskBtn:c,viewTaskDetails:Z,showScreen:g,archieveTask:oe,selectedProgram:r,showTaskImport:b,showTaskImportBtn:m,bulkImportTask:ae,selectedFile:ee,errorMessage:k,successMessage:w,archiveBtn:_,unArchiveBtn:S,getTaskDetails:Y,skills:j,proficiency:C,getSelectedSkill:X,getSelectedProficiency:K,showSkillProf:I,searchBtn:B,resetTaskOrder:re,showSequencBtn:M,createOffCycle:ce,selectedSkill:T,selectedProficiency:P,searchTask:H,singleTaskBtn:A,showSingleTaskImport:D,bulkSingleImportTask:te,exportTask:ie,showExportBtn:N,SinglesuccessMessage:E,BulksuccessMessage:L,modalVisible:F,modalMessage:R,closeModal:se,modalButtonVisible:q,archieveTaskFunction:le,taskDetailsArray:U,getFilteredList:ue,filteredTaskDetails:$}}}),b=g,m=(a("317a"),a("8619")),y=Object(m["a"])(b,n,r,!1,null,"0eedea57",null);t["default"]=y.exports},"2c72":function(e,t,a){"use strict";var n=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" Cancel ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Confirm")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},r=[],o=(a("f9f6"),a("949b")),c=a("afbc"),i={components:{XIcon:o["g"]},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1}},setup(){const e=async e=>{c["a"].push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},s=i,l=(a("916d"),a("8619")),u=Object(l["a"])(s,n,r,!1,null,null,null);t["a"]=u.exports},"2c81":function(e,t,a){var n=a("57bb"),r=a("0fe5");(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"2deb":function(e,t,a){var n=a("7d3c"),r=a("9de2"),o=n.WeakMap;e.exports=r(o)&&/native code/.test(String(o))},"317a":function(e,t,a){"use strict";a("5f8c")},3212:function(e,t,a){"use strict";a.d(t,"f",(function(){return r})),a.d(t,"g",(function(){return o})),a.d(t,"a",(function(){return c})),a.d(t,"d",(function(){return i})),a.d(t,"j",(function(){return s})),a.d(t,"b",(function(){return l})),a.d(t,"k",(function(){return u})),a.d(t,"c",(function(){return f})),a.d(t,"h",(function(){return d})),a.d(t,"i",(function(){return p})),a.d(t,"e",(function(){return v}));var n=a("26fa");const r=async e=>{let t;return await n["b"].get(e).then(e=>(console.log("Response",e),t=e.data.response.program_name,t)),t},o=async(e,t)=>{let a;return await n["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},c=async(e,t)=>{let a;return await n["b"].post(e,t).then(e=>(a=e.data.learnerDetails,a)),a},i=async(e,t)=>{let a;return await n["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},s=async(e,t)=>{let a;return await n["b"].post(e,t).then(e=>(a=e.data,a)),a},l=async e=>{let t;try{return await n["b"].get("/task/"+e).then(e=>(t=e.data.data,t)),t}catch(a){return a}},u=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),n=a;return n}catch(a){return console.error(a),a}},f=async(e,t)=>{let a;return await n["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},d=async(e,t)=>{let a;return await n["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},p=async e=>{console.log("inside save task data "+JSON.stringify(e));const t=await n["b"].post("/task/create",e);return t},v=async e=>{try{let t;return await n["b"].get("/admin/task/taskExport/"+e).then(async e=>(t=e.data,t)),t}catch(t){return t}}},"32b4":function(e,t,a){var n=a("b1ab"),r=a("9de2"),o=a("0fe5"),c=n(Function.toString);r(o.inspectSource)||(o.inspectSource=function(e){return c(e)}),e.exports=o.inspectSource},3470:function(e,t,a){"use strict";var n=a("caa9"),r=a("00bd"),o=TypeError,c=Object.getOwnPropertyDescriptor,i=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=i?function(e,t){if(r(e)&&!c(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"34ae":function(e,t,a){var n=a("211b"),r=a("a64a"),o=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},3508:function(e,t){var a="object"==typeof document&&document.all,n="undefined"==typeof a&&void 0!==a;e.exports={all:a,IS_HTMLDDA:n}},"385f":function(e,t,a){var n=a("0342"),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},"38c8":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"3ef0":function(e,t,a){var n=a("cae3"),r=a("9de2"),o=a("6f30"),c=a("4160"),i=Object;e.exports=c?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return r(t)&&o(t.prototype,i(e))}},4160:function(e,t,a){var n=a("42c1");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"42c1":function(e,t,a){var n=a("d0e9"),r=a("073d");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"43b7":function(e,t,a){var n=a("073d"),r=a("9de2"),o=/#|\.prototype\./,c=function(e,t){var a=s[i(e)];return a==u||a!=l&&(r(t)?n(t):!!t)},i=c.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=c.data={},l=c.NATIVE="N",u=c.POLYFILL="P";e.exports=c},4833:function(e,t,a){var n=a("cae3"),r=a("b1ab"),o=a("34ae"),c=a("84d9"),i=a("8d23"),s=r([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(i(e)),a=c.f;return a?s(t,a(e)):t}},"52bd":function(e,t,a){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},5435:function(e,t,a){var n=a("9a69"),r=a("123b"),o=a("7f94"),c=function(e){return function(t,a,c){var i,s=n(t),l=o(s),u=r(c,l);if(e&&a!=a){while(l>u)if(i=s[u++],i!=i)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===a)return e||u||0;return!e&&-1}};e.exports={includes:c(!0),indexOf:c(!1)}},"57bb":function(e,t){e.exports=!1},"59ff":function(e,t,a){var n=a("c683"),r=a("f6ba"),o=a("3ef0"),c=a("dd05"),i=a("23ea"),s=a("e285"),l=TypeError,u=s("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var a,s=c(e,u);if(s){if(void 0===t&&(t="default"),a=n(s,e,t),!r(a)||o(a))return a;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}},"5c13":function(e,t,a){var n=a("caa9"),r=a("9dca"),o=a("dba4"),c=a("8d23"),i=a("79b1"),s=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=n?o?function(e,t,a){if(c(e),t=i(t),c(a),"function"===typeof e&&"prototype"===t&&"value"in a&&p in a&&!a[p]){var n=u(e,t);n&&n[p]&&(e[t]=a.value,a={configurable:d in a?a[d]:n[d],enumerable:f in a?a[f]:n[f],writable:!1})}return l(e,t,a)}:l:function(e,t,a){if(c(e),t=i(t),c(a),r)try{return l(e,t,a)}catch(n){}if("get"in a||"set"in a)throw s("Accessors not supported");return"value"in a&&(e[t]=a.value),e}},"5f66":function(e,t){e.exports=function(e){return null===e||void 0===e}},"5f8c":function(e,t,a){var n=a("b90c");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("c69b").default;r("46a00708",n,!0,{sourceMap:!1,shadowMode:!1})},6235:function(e,t,a){"use strict";a.d(t,"c",(function(){return r})),a.d(t,"d",(function(){return o})),a.d(t,"b",(function(){return c})),a.d(t,"a",(function(){return i}));var n=a("26fa");const r=async(e,t)=>{const a=await n["b"].post(e,t);return a},o=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},c=async(e,t)=>{let a;return await n["b"].get(`${e}/${t}`).then(e=>(a=e.data.allProxyList,a)),a},i=async(e,t)=>{const a=await n["b"].post(e,t);return a}},"675e":function(e,t,a){"use strict";a.d(t,"b",(function(){return c})),a.d(t,"a",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"e",(function(){return o})),a.d(t,"d",(function(){return s}));var n=a("26fa");const r=async(e,t)=>{const a=await n["b"].post(e,t);return a},o=async(e,t)=>{let a;const n=await fetch(""+e,{method:"put",body:t});return a=n,a},c=async e=>{const t=await n["b"].get("/task/"+e);return t},i=async(e,t)=>{const a=await n["b"].post(e,{learner_task_id:t});return a},s=async(e,t)=>{const a=await n["b"].post(e,t);return a}},"6cc5":function(e,t,a){var n=a("caa9"),r=a("9dce"),o=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=r(o,"name"),s=i&&"something"===function(){}.name,l=i&&(!n||n&&c(o,"name").configurable);e.exports={EXISTS:i,PROPER:s,CONFIGURABLE:l}},"6f30":function(e,t,a){var n=a("b1ab");e.exports=n({}.isPrototypeOf)},7086:function(e,t){var a=String;e.exports=function(e){try{return a(e)}catch(t){return"Object"}}},"743a":function(e,t,a){var n=a("7d3c"),r=Object.defineProperty;e.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(a){n[e]=t}return t}},"79b1":function(e,t,a){var n=a("59ff"),r=a("3ef0");e.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}},"7b20":function(e,t,a){var n=a("9de2"),r=a("7086"),o=TypeError;e.exports=function(e){if(n(e))return e;throw o(r(e)+" is not a function")}},"7d3c":function(e,t,a){(function(t){var a=function(e){return e&&e.Math==Math&&e};e.exports=a("object"==typeof globalThis&&globalThis)||a("object"==typeof window&&window)||a("object"==typeof self&&self)||a("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,a("d8fc"))},"7f94":function(e,t,a){var n=a("385f");e.exports=function(e){return n(e.length)}},8098:function(e,t,a){var n=a("caa9"),r=a("5c13"),o=a("38c8");e.exports=n?function(e,t,a){return r.f(e,t,o(1,a))}:function(e,t,a){return e[t]=a,e}},"815e":function(e,t,a){var n=a("b1ab"),r=n({}.toString),o=n("".slice);e.exports=function(e){return o(r(e),8,-1)}},"84d9":function(e,t){t.f=Object.getOwnPropertySymbols},8596:function(e,t,a){"use strict";a.d(t,"y",(function(){return r})),a.d(t,"t",(function(){return o})),a.d(t,"u",(function(){return c})),a.d(t,"e",(function(){return i})),a.d(t,"x",(function(){return s})),a.d(t,"z",(function(){return l})),a.d(t,"r",(function(){return u})),a.d(t,"s",(function(){return f})),a.d(t,"f",(function(){return d})),a.d(t,"v",(function(){return p})),a.d(t,"h",(function(){return v})),a.d(t,"j",(function(){return g})),a.d(t,"q",(function(){return b})),a.d(t,"o",(function(){return m})),a.d(t,"p",(function(){return y})),a.d(t,"m",(function(){return h})),a.d(t,"k",(function(){return k})),a.d(t,"l",(function(){return w})),a.d(t,"A",(function(){return x})),a.d(t,"C",(function(){return _})),a.d(t,"w",(function(){return S})),a.d(t,"n",(function(){return O})),a.d(t,"i",(function(){return j})),a.d(t,"g",(function(){return C})),a.d(t,"a",(function(){return T})),a.d(t,"B",(function(){return P})),a.d(t,"b",(function(){return I})),a.d(t,"d",(function(){return B})),a.d(t,"c",(function(){return M}));var n=a("26fa");const r=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},g=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},b=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data.userObj,t)),t},m=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data.userObj,t)),t},h=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},k=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{const t=await n["b"].get(e);return t},_=async e=>{const t=await n["b"].get(e);return t},S=async e=>{const t=await n["b"].get(e);return t},O=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},C=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data.userObj,t)),t},T=async e=>{const t=await n["b"].post("/user/role",e);return t},P=async e=>{const t=await n["b"].post("/user/removeRole",e);return t},I=async()=>{const e=await n["b"].get("role");return e},B=async e=>{const t=await n["b"].post("/user/saveLSS",e);return t},M=async e=>{const t=await n["b"].post("/user/saveEnvAccess",e);return t}},"89c6":function(e,t,a){var n=a("7d3c"),r=a("1d31").f,o=a("8098"),c=a("a025"),i=a("743a"),s=a("0bd7"),l=a("43b7");e.exports=function(e,t){var a,u,f,d,p,v,g=e.target,b=e.global,m=e.stat;if(u=b?n:m?n[g]||i(g,{}):(n[g]||{}).prototype,u)for(f in t){if(p=t[f],e.dontCallGetSet?(v=r(u,f),d=v&&v.value):d=u[f],a=l(b?f:g+(m?".":"#")+f,e.forced),!a&&void 0!==d){if(typeof p==typeof d)continue;s(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),c(u,f,p,e)}}},"89e7":function(e,t,a){var n=a("b1ab"),r=0,o=Math.random(),c=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+c(++r+o,36)}},"8d23":function(e,t,a){var n=a("f6ba"),r=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw o(r(e)+" is not an object")}},"916d":function(e,t,a){"use strict";a("b692")},"9a69":function(e,t,a){var n=a("f02e"),r=a("fd6a");e.exports=function(e){return n(r(e))}},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},"9dca":function(e,t,a){var n=a("caa9"),r=a("073d"),o=a("186a");e.exports=!n&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"9dce":function(e,t,a){var n=a("b1ab"),r=a("ab90"),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(r(e),t)}},"9de2":function(e,t,a){var n=a("3508"),r=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},a025:function(e,t,a){var n=a("9de2"),r=a("5c13"),o=a("baa9"),c=a("743a");e.exports=function(e,t,a,i){i||(i={});var s=i.enumerable,l=void 0!==i.name?i.name:t;if(n(a)&&o(a,l,i),i.global)s?e[t]=a:c(t,a);else{try{i.unsafe?e[t]&&(s=!0):delete e[t]}catch(u){}s?e[t]=a:r.f(e,t,{value:a,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e}},a2e2:function(e,t,a){var n,r,o,c=a("2deb"),i=a("7d3c"),s=a("f6ba"),l=a("8098"),u=a("9dce"),f=a("0fe5"),d=a("d9ad"),p=a("0572"),v="Object already initialized",g=i.TypeError,b=i.WeakMap,m=function(e){return o(e)?r(e):n(e,{})},y=function(e){return function(t){var a;if(!s(t)||(a=r(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return a}};if(c||f.state){var h=f.state||(f.state=new b);h.get=h.get,h.has=h.has,h.set=h.set,n=function(e,t){if(h.has(e))throw g(v);return t.facade=e,h.set(e,t),t},r=function(e){return h.get(e)||{}},o=function(e){return h.has(e)}}else{var k=d("state");p[k]=!0,n=function(e,t){if(u(e,k))throw g(v);return t.facade=e,l(e,k,t),t},r=function(e){return u(e,k)?e[k]:{}},o=function(e){return u(e,k)}}e.exports={set:n,get:r,has:o,enforce:m,getterFor:y}},a64a:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},ab90:function(e,t,a){var n=a("fd6a"),r=Object;e.exports=function(e){return r(n(e))}},b1ab:function(e,t,a){var n=a("c43a"),r=Function.prototype,o=r.call,c=n&&r.bind.bind(o,o);e.exports=n?c:function(e){return function(){return o.apply(e,arguments)}}},b692:function(e,t,a){var n=a("07d3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("c69b").default;r("0a4786f6",n,!0,{sourceMap:!1,shadowMode:!1})},b90c:function(e,t,a){var n=a("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-0eedea57]{position:fixed;top:30%;left:42%}.tableScroll[data-v-0eedea57]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},baa9:function(e,t,a){var n=a("b1ab"),r=a("073d"),o=a("9de2"),c=a("9dce"),i=a("caa9"),s=a("6cc5").CONFIGURABLE,l=a("32b4"),u=a("a2e2"),f=u.enforce,d=u.get,p=String,v=Object.defineProperty,g=n("".slice),b=n("".replace),m=n([].join),y=i&&!r((function(){return 8!==v((function(){}),"length",{value:8}).length})),h=String(String).split("String"),k=e.exports=function(e,t,a){"Symbol("===g(p(t),0,7)&&(t="["+b(p(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),a&&a.getter&&(t="get "+t),a&&a.setter&&(t="set "+t),(!c(e,"name")||s&&e.name!==t)&&(i?v(e,"name",{value:t,configurable:!0}):e.name=t),y&&a&&c(a,"arity")&&e.length!==a.arity&&v(e,"length",{value:a.arity});try{a&&c(a,"constructor")&&a.constructor?i&&v(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(r){}var n=f(e);return c(n,"source")||(n.source=m(h,"string"==typeof t?t:"")),e};Function.prototype.toString=k((function(){return o(this)&&d(this).source||l(this)}),"toString")},c43a:function(e,t,a){var n=a("073d");e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},c683:function(e,t,a){var n=a("c43a"),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},c7de:function(e,t){var a=TypeError,n=9007199254740991;e.exports=function(e){if(e>n)throw a("Maximum allowed index exceeded");return e}},caa9:function(e,t,a){var n=a("073d");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},cae3:function(e,t,a){var n=a("7d3c"),r=a("9de2"),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e]):n[e]&&n[e][t]}},d0e9:function(e,t,a){var n,r,o=a("7d3c"),c=a("1000"),i=o.process,s=o.Deno,l=i&&i.versions||s&&s.version,u=l&&l.v8;u&&(n=u.split("."),r=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(r=+n[1]))),e.exports=r},d9ad:function(e,t,a){var n=a("2c81"),r=a("89e7"),o=n("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},dba4:function(e,t,a){var n=a("caa9"),r=a("073d");e.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},dd05:function(e,t,a){var n=a("7b20"),r=a("5f66");e.exports=function(e,t){var a=e[t];return r(a)?void 0:n(a)}},e285:function(e,t,a){var n=a("7d3c"),r=a("2c81"),o=a("9dce"),c=a("89e7"),i=a("42c1"),s=a("4160"),l=n.Symbol,u=r("wks"),f=s?l["for"]||l:l&&l.withoutSetter||c;e.exports=function(e){return o(u,e)||(u[e]=i&&o(l,e)?l[e]:f("Symbol."+e)),u[e]}},f02e:function(e,t,a){var n=a("b1ab"),r=a("073d"),o=a("815e"),c=Object,i=n("".split);e.exports=r((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i(e,""):c(e)}:c},f6ba:function(e,t,a){var n=a("9de2"),r=a("3508"),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===o}:function(e){return"object"==typeof e?null!==e:n(e)}},f9f6:function(e,t,a){"use strict";var n=a("89c6"),r=a("ab90"),o=a("7f94"),c=a("3470"),i=a("c7de"),s=a("073d"),l=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},f=l||!u();n({target:"Array",proto:!0,arity:1,forced:f},{push:function(e){var t=r(this),a=o(t),n=arguments.length;i(a+n);for(var s=0;s<n;s++)t[a]=arguments[s],a++;return c(t,a),a}})},faec:function(e,t,a){"use strict";var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex mt-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:e.placeHolder1},domProps:{value:e.search},on:{keyup:function(t){e.filterProgramDetails(),e.$emit("Filtered",e.filteredProgramDetails)},input:function(t){t.target.composing||(e.search=t.target.value)}}})])},r=[],o=a("6bcf"),c=Object(o["b"])({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=Object(o["f"])(""),a=Object(o["f"])(),n=Object(o["f"])(),r=Object(o["f"])(),c=()=>{r.value=e.data,n.value=r.value.filter(e=>e.toLowerCase().includes(t.value.toLowerCase()))};return Object(o["c"])(async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)}),{placeHolder1:a,filteredProgramDetails:n,filterProgramDetails:c,search:t}}}),i=c,s=a("8619"),l=Object(s["a"])(i,n,r,!1,null,null,null);t["a"]=l.exports},fd6a:function(e,t,a){var n=a("5f66"),r=TypeError;e.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}}}]);
2
2
  //# sourceMappingURL=SolidifyAdministrationTaskManagement.js.map