@genpact/genome.mfe.solidify-app 1.17.2-alpha.134 → 1.17.2-alpha.135
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/index.html +1 -1
- package/dist/js/LearnerRereview.js +1 -1
- package/dist/js/LearnerRereview.js.map +1 -1
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskDetails.js +2 -2
- package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -1
- package/dist/js/SolidifyLearner.js +2 -2
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerError.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/SystemUnderMaintenance.js.map +1 -1
- package/dist/js/app.js +33 -33
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-67247812.js +2 -0
- package/dist/js/chunk-67247812.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-8e14f706.js +0 -2
- package/dist/js/chunk-8e14f706.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationTaskManagement"],{"276f":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"admin"},[e.showScreen?l("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),l("div",{staticClass:"w-full mt-4"},[l("div",{staticClass:"flex w-full mt-6"},[l("div",{staticClass:"w-full pr-3 mb-4"},[l("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter Task ")]),l("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)}]}},[l("option",[e._v("Select Program")]),e._l(e.programDetails,(function(t){return l("option",{key:t.program_id,domProps:{value:t.program_id}},[e._v(e._s(t.program_display_name?t.program_display_name:t.program_name))])}))],2)]),e.showSkillProf?l("div",{staticClass:"w-full pr-3 mb-4"},[l("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),l("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)}]}},[l("option",[e._v("Select Skill")]),e._l(e.skills,(function(t){return l("option",{key:t.skill_id,domProps:{value:t.skill_id}},[e._v(e._s(t.skill_alias))])}))],2)]):e._e(),e.showSkillProf?l("div",{staticClass:"w-full pr-3 mb-4"},[l("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),l("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)}]}},[l("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(t){return l("option",{key:t.prof_id,domProps:{value:t.prof_id}},[e._v(e._s(t.prof_name))])}))],2)]):e._e(),l("div",{staticClass:"w-full mb-4"},[e.searchBtn?l("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()])]),l("div",{staticClass:"flex w-full mt-6"},[l("div",{staticClass:"pr-3 mb-4 w-full"},[e.showTaskImportBtn?l("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?l("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?l("button",{staticClass:"mt-2 mr-4 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.showArchivedTasks?l("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){return e.filterArchivedTasks(!1)}}},[e._v("Show Unarchived Tasks")]):e._e(),e.showArchivedTasks?e._e():l("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.filterArchivedTasks(!0)}}},[e._v("Show Archived Tasks")])])]),e.showTaskImport?l("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[l("div",{staticClass:"flex"},[l("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?l("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.BulksuccessMessage?l("div",{staticClass:"text-green-700"},[e._v(e._s(e.BulksuccessMessage))]):e._e(),l("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(),l("div",{staticClass:"flex w-full"},[l("div",{staticClass:"w-full pr-3 mb-4"},[l("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")]),l("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")]),l("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?l("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?l("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[l("div",{staticClass:"flex"},[l("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?l("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.SinglesuccessMessage?l("div",{staticClass:"text-green-700"},[e._v(e._s(e.SinglesuccessMessage))]):e._e(),l("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?l("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.taskDetails?l("div",{staticClass:"w-full mb-8 tableScroll"},[l("SearchBar",{attrs:{data:e.taskDetailsArray,placeholder:"Search By Task Name"},on:{Filtered:e.getFilteredList}}),l("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 tableScroll"},[e._m(1),l("tbody",{staticClass:"opacity-80 align-bottom"},e._l(e.filteredTaskDetails,(function(t){return l("tr",{key:t.task_id,staticClass:"border-b hover:bg-gray-300"},[l("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[l("input",{directives:[{name:"model",rawName:"v-model",value:e.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:t.task_id},domProps:{value:t.task_id,checked:Array.isArray(e.taskCheckOne)?e._i(e.taskCheckOne,t.task_id)>-1:e.taskCheckOne},on:{change:[function(a){var l=e.taskCheckOne,s=a.target,r=!!s.checked;if(Array.isArray(l)){var n=t.task_id,o=e._i(l,n);s.checked?o<0&&(e.taskCheckOne=l.concat([n])):o>-1&&(e.taskCheckOne=l.slice(0,o).concat(l.slice(o+1)))}else e.taskCheckOne=r},function(a){return e.showTaskBtn(a,t.task_id,t.is_archive)}],click:e.taskcheckedOne}})]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.task_name}},[e._v(e._s(t.task_name))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.is_archive}},[e._v(e._s(t.is_archive))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.task_type}},[e._v(e._s(t.task_type))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.created_date}},[e._v(e._s(t.created_date))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.task_order}},[e._v(e._s(t.task_order))])])})),0)]),l("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():l("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[l("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),l("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):l("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.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full flex justify-between"},[a("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[e._v("Task Management")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",{staticClass:"opacity-90"},[a("tr",{staticClass:"border-b"},[a("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task Name")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Is Archive")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner Type")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Created Date")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Sequence Number")])])])}],r=a("c1ec"),n=a("1635"),o=a.n(n),c=a("3212"),i=a("afbc"),u=a("2c72"),d=a("8596"),v=a("675e"),f=a("6235"),g=a("faec"),p=Object(r["b"])({name:"TaskManagement",components:{Generic:u["a"],SearchBar:g["a"]},setup(){const e=Object(r["f"])(),t=Object(r["f"])(!0),a=Object(r["f"])(),l=Object(r["f"])([]),s=Object(r["f"])("Select Program"),n=Object(r["f"])(),u=Object(r["f"])(),g=Object(r["f"])(),p=Object(r["f"])(!0),m=Object(r["f"])(!1),k=Object(r["f"])(!1),b=Object(r["f"])(),y=Object(r["f"])(),h=Object(r["f"])(),w=Object(r["f"])(),_=Object(r["f"])(),x=Object(r["f"])(!1),S=Object(r["f"])(),C=Object(r["f"])(),O=Object(r["f"])(),j=Object(r["f"])(),T=Object(r["f"])("Select Skill"),I=Object(r["f"])("Select Proficiency"),P=Object(r["f"])(!1),B=Object(r["f"])(!1),A=Object(r["f"])(!1),M=Object(r["f"])(!1),N=Object(r["f"])(!1),D=Object(r["f"])(!1),L=Object(r["f"])(),R=Object(r["f"])(),$=Object(r["f"])(!1),q=Object(r["f"])(),V=Object(r["f"])(!1),U={},F=Object(r["f"])(),E=Object(r["f"])(),J=Object(r["f"])(!1);let Y;const z=()=>{l.value=[]},G=(e,t,a)=>{const l=e.target.checked;!0===l?(u.value=t,n.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)):(n.value=!1,x.value=!1,S.value=!1,M.value=!1,N.value=!1)},H=async()=>{t.value=!1,a.value=await Object(c["g"])("/getAllTaskByProgram",U),F.value=a.value.map(e=>e.task_name),E.value=a.value,console.log("taskDetailsArray",F);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},W=async()=>{"Select Program"!==s.value&&Object.assign(U,{program_id:s.value}),"Select Skill"!==T.value&&Object.assign(U,{skill_id:T.value}),"Select Proficiency"!==I.value&&Object.assign(U,{proficiency_id:I.value}),"Select Program"!==s.value&&(n.value=!1,x.value=!1,S.value=!1,n.value=!1,M.value=!1,await H())},X=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?(k.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)):(k.value=!1,m.value=!1,B.value=!1,D.value=!1,P.value=!1),t.value=!0},K=async e=>{localStorage.setItem("skill",e.target.value),T.value=e.target.value,"Select Skill"===T.value&&(T.value="")},Q=async e=>{localStorage.setItem("proficiency",e.target.value),I.value=e.target.value,"Select Proficiency"===I.value&&(I.value="")},Z=async()=>{t.value=!1,e.value=await Object(c["f"])("/cache?cache=program"),t.value=!0},ee=async()=>{i["a"].push({path:"taskDetails",query:{task_id:u.value}})},te=async e=>{try{const t=e.target.files[0],a=t.name,l=a.endsWith(".csv");l?(b.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,b.value=null)}catch(t){console.log(t)}},ae=async()=>{if(y.value){const e=o()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,r=await Object(v["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",r),_.value=r.data.preSignedUrl;const n=await Object(c["k"])(_.value,y.value);if(200===n.status){const e={task_id:u.value,file_key:""+l},r=await Object(c["c"])("/task/importSingleTask",e);console.log(r),t.value=!1,L.value="Task Updated",y.value=null,b.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)},le=async()=>{if(y.value){const e=o()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,r=await Object(v["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",r),_.value=r.data.preSignedUrl;const n=await Object(c["k"])(_.value,y.value);if(200===n.status){const e={program_id:s.value,file_key:""+l},r=await Object(c["c"])("/task/import",e);console.log(r),t.value=!1,R.value="Task added",y.value=null,b.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)},se=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},re=async()=>{const e=s.value;"infinity"!==e&&await Object(c["h"])("/resetActiveTaskOrder ",{program_id:e}),await H()},ne=async()=>{t.value=!1,Y={task_id:u.value,archive_type:C.value},$.value=!0,Y.archive_type?q.value="Archiving a task also archives linked offcycle tasks. Please confirm if you want to proceed.":q.value="Unarchiving a task also unarchives linked offcycle tasks. Please confirm if you want to proceed.",V.value=!0,t.value=!0},oe=()=>{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")},ce=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)},ie=()=>{$.value=!1},ue=async()=>{t.value=!1,$.value=!1,await Object(c["d"])("/archieveTask",Y),console.log("inside archieveTask"),await re(),x.value=!1,S.value=!1,n.value=!1,l.value=[],t.value=!0},de=e=>{E.value=a.value.filter(t=>e.includes(t.task_name)&&t.is_archive===J.value),console.log("filteredTaskDetails",E.value)},ve=e=>{J.value=e,E.value=e?a.value.filter(e=>!0===e.is_archive):a.value.filter(e=>!0!==e.is_archive)};return Object(r["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 Z(),await se(),localStorage.getItem("program")&&(s.value=localStorage.getItem("program")||"Select Program",Object.assign(U,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(T.value=localStorage.getItem("skill")||"Select Skill",Object.assign(U,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(I.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(U,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",U),"Select Program"!==localStorage.getItem("program")&&(D.value=!0,k.value=!0,await H(),ve(J.value)),B.value=!0,"infinity"===s.value?(P.value=!0,A.value=!1):P.value=!1}),{renderReady:t,programDetails:e,getSelectedProgram:X,taskDetails:a,taskCheckOne:l,taskcheckedOne:z,checkedTaskId:u,showTaskBtn:G,taskBtn:n,viewTaskDetails:ee,showScreen:p,archieveTask:ne,selectedProgram:s,showTaskImport:m,showTaskImportBtn:k,bulkImportTask:le,selectedFile:te,errorMessage:h,successMessage:w,archiveBtn:x,unArchiveBtn:S,getTaskDetails:H,skills:O,proficiency:j,getSelectedSkill:K,getSelectedProficiency:Q,showSkillProf:P,searchBtn:B,resetTaskOrder:re,showSequencBtn:A,createOffCycle:oe,selectedSkill:T,selectedProficiency:I,searchTask:W,singleTaskBtn:M,showSingleTaskImport:N,bulkSingleImportTask:ae,exportTask:ce,showExportBtn:D,SinglesuccessMessage:L,BulksuccessMessage:R,modalVisible:$,modalMessage:q,closeModal:ie,modalButtonVisible:V,archieveTaskFunction:ue,taskDetailsArray:F,getFilteredList:de,filteredTaskDetails:E,filterArchivedTasks:ve,showArchivedTasks:J}}}),m=p,k=(a("5793"),a("dcde")),b=Object(k["a"])(m,l,s,!1,null,"2bd3dd5e",null);t["default"]=b.exports},"2c72":function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("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"},[a("transition",{attrs:{name:"modal-fade"}},[a("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[a("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?a("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[a("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),a("div",{staticClass:"bg-white"},[a("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),a("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?a("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?a("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?a("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?a("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=[],r=a("949b"),n=a("afbc"),o={components:{XIcon:r["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=>{n["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("dcde")),u=Object(i["a"])(c,l,s,!1,null,null,null);t["a"]=u.exports},3212:function(e,t,a){"use strict";a.d(t,"f",(function(){return s})),a.d(t,"g",(function(){return r})),a.d(t,"a",(function(){return n})),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},r=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},n=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}}},5793:function(e,t,a){"use strict";a("f462")},6235:function(e,t,a){"use strict";a.d(t,"c",(function(){return s})),a.d(t,"d",(function(){return r})),a.d(t,"b",(function(){return n})),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},r=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},n=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}},6610:function(e,t,a){var l=a("d7eb");l.__esModule&&(l=l.default),"string"===typeof l&&(l=[[e.i,l,""]]),l.locals&&(e.exports=l.locals);var s=a("c69b").default;s("ffe3731e",l,!0,{sourceMap:!1,shadowMode:!1})},"675e":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return s})),a.d(t,"c",(function(){return o})),a.d(t,"e",(function(){return r})),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},r=async(e,t)=>{let a;const l=await fetch(""+e,{method:"put",body:t});return a=l,a},n=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 r})),a.d(t,"u",(function(){return n})),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 k})),a.d(t,"p",(function(){return b})),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},r=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},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},k=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},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("6610")},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},d7eb:function(e,t,a){var l=a("740a");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},f462:function(e,t,a){var l=a("faad");l.__esModule&&(l=l.default),"string"===typeof l&&(l=[[e.i,l,""]]),l.locals&&(e.exports=l.locals);var s=a("c69b").default;s("173d8910",l,!0,{sourceMap:!1,shadowMode:!1})},faad:function(e,t,a){var l=a("740a");t=l(!1),t.push([e.i,".pageLoader[data-v-2bd3dd5e]{position:fixed;top:30%;left:42%}.tableScroll[data-v-2bd3dd5e]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},faec:function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full flex mt-6"},[a("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=[],r=a("c1ec"),n=Object(r["b"])({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=Object(r["f"])(""),a=Object(r["f"])(),l=Object(r["f"])(),s=Object(r["f"])(),n=()=>{s.value=e.data,l.value=s.value.filter(e=>e.toLowerCase().includes(t.value.toLowerCase()))};return Object(r["c"])(async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)}),{placeHolder1:a,filteredProgramDetails:l,filterProgramDetails:n,search:t}}}),o=n,c=a("dcde"),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"],{"276f":function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,l=e._self._c||t;return l("div",{staticClass:"admin"},[e.showScreen?l("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),l("div",{staticClass:"w-full mt-4"},[l("div",{staticClass:"flex w-full mt-6"},[l("div",{staticClass:"w-full pr-3 mb-4"},[l("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Filter Task ")]),l("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)}]}},[l("option",[e._v("Select Program")]),e._l(e.programDetails,(function(t){return l("option",{key:t.program_id,domProps:{value:t.program_id}},[e._v(e._s(t.program_display_name?t.program_display_name:t.program_name))])}))],2)]),e.showSkillProf?l("div",{staticClass:"w-full pr-3 mb-4"},[l("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),l("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)}]}},[l("option",[e._v("Select Skill")]),e._l(e.skills,(function(t){return l("option",{key:t.skill_id,domProps:{value:t.skill_id}},[e._v(e._s(t.skill_alias))])}))],2)]):e._e(),e.showSkillProf?l("div",{staticClass:"w-full pr-3 mb-4"},[l("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),l("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)}]}},[l("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(t){return l("option",{key:t.prof_id,domProps:{value:t.prof_id}},[e._v(e._s(t.prof_name))])}))],2)]):e._e(),l("div",{staticClass:"w-full mb-4"},[e.searchBtn?l("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()])]),l("div",{staticClass:"flex w-full mt-6"},[l("div",{staticClass:"pr-3 mb-4 w-full"},[e.showTaskImportBtn?l("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?l("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?l("button",{staticClass:"mt-2 mr-4 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.showArchivedTasks?l("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){return e.filterArchivedTasks(!1)}}},[e._v("Show Unarchived Tasks")]):e._e(),e.showArchivedTasks?e._e():l("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.filterArchivedTasks(!0)}}},[e._v("Show Archived Tasks")])])]),e.showTaskImport?l("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[l("div",{staticClass:"flex"},[l("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?l("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.BulksuccessMessage?l("div",{staticClass:"text-green-700"},[e._v(e._s(e.BulksuccessMessage))]):e._e(),l("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(),l("div",{staticClass:"flex w-full"},[l("div",{staticClass:"w-full pr-3 mb-4"},[l("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")]),l("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")]),l("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?l("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?l("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[l("div",{staticClass:"flex"},[l("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?l("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.SinglesuccessMessage?l("div",{staticClass:"text-green-700"},[e._v(e._s(e.SinglesuccessMessage))]):e._e(),l("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?l("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e.taskDetails?l("div",{staticClass:"w-full mb-8 tableScroll"},[l("SearchBar",{attrs:{data:e.taskDetailsArray,placeholder:"Search By Task Name"},on:{Filtered:e.getFilteredList}}),l("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 tableScroll"},[e._m(1),l("tbody",{staticClass:"opacity-80 align-bottom"},e._l(e.filteredTaskDetails,(function(t){return l("tr",{key:t.task_id,staticClass:"border-b hover:bg-gray-300"},[l("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[l("input",{directives:[{name:"model",rawName:"v-model",value:e.taskCheckOne,expression:"taskCheckOne"}],attrs:{type:"checkbox",id:t.task_id},domProps:{value:t.task_id,checked:Array.isArray(e.taskCheckOne)?e._i(e.taskCheckOne,t.task_id)>-1:e.taskCheckOne},on:{change:[function(a){var l=e.taskCheckOne,s=a.target,r=!!s.checked;if(Array.isArray(l)){var n=t.task_id,o=e._i(l,n);s.checked?o<0&&(e.taskCheckOne=l.concat([n])):o>-1&&(e.taskCheckOne=l.slice(0,o).concat(l.slice(o+1)))}else e.taskCheckOne=r},function(a){return e.showTaskBtn(a,t.task_id,t.is_archive)}],click:e.taskcheckedOne}})]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.task_name}},[e._v(e._s(t.task_name))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.is_archive}},[e._v(e._s(t.is_archive))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.task_type}},[e._v(e._s(t.task_type))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.modified_date}},[e._v(e._s(t.modified_date))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.modified_by}},[e._v(e._s(t.modified_by))]),l("td",{staticClass:"p-2 px-3",attrs:{title:t.task_order}},[e._v(e._s(t.task_order))])])})),0)]),l("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():l("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[l("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),l("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):l("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.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full flex justify-between"},[a("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[e._v("Task Management")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",{staticClass:"opacity-90"},[a("tr",{staticClass:"border-b"},[a("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Task Name")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Is Archive")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Learner Type")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified Date")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Modified By")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Sequence Number")])])])}],r=a("c1ec"),n=a("1635"),o=a.n(n),i=a("3212"),c=a("afbc"),u=a("2c72"),d=a("8596"),v=a("675e"),f=a("6235"),g=a("faec"),p=Object(r["b"])({name:"TaskManagement",components:{Generic:u["a"],SearchBar:g["a"]},setup(){const e=Object(r["f"])(),t=Object(r["f"])(!0),a=Object(r["f"])(),l=Object(r["f"])([]),s=Object(r["f"])("Select Program"),n=Object(r["f"])(),u=Object(r["f"])(),g=Object(r["f"])(),p=Object(r["f"])(!0),m=Object(r["f"])(!1),k=Object(r["f"])(!1),b=Object(r["f"])(),y=Object(r["f"])(),h=Object(r["f"])(),w=Object(r["f"])(),_=Object(r["f"])(),x=Object(r["f"])(!1),S=Object(r["f"])(),C=Object(r["f"])(),O=Object(r["f"])(),j=Object(r["f"])(),T=Object(r["f"])("Select Skill"),I=Object(r["f"])("Select Proficiency"),P=Object(r["f"])(!1),B=Object(r["f"])(!1),A=Object(r["f"])(!1),M=Object(r["f"])(!1),N=Object(r["f"])(!1),D=Object(r["f"])(!1),L=Object(r["f"])(),R=Object(r["f"])(),$=Object(r["f"])(!1),q=Object(r["f"])(),V=Object(r["f"])(!1),U={},F=Object(r["f"])(),E=Object(r["f"])(),Y=Object(r["f"])(!1);let J;const z=()=>{l.value=[]},G=(e,t,a)=>{const l=e.target.checked;!0===l?(u.value=t,n.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)):(n.value=!1,x.value=!1,S.value=!1,M.value=!1,N.value=!1)},H=async()=>{t.value=!1,a.value=await Object(i["g"])("/getAllTaskByProgram",U),F.value=a.value.map(e=>e.task_name),E.value=a.value,console.log("taskDetailsArray",F);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"),t.modified_date=o()(t.modified_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},W=async()=>{"Select Program"!==s.value&&Object.assign(U,{program_id:s.value}),"Select Skill"!==T.value&&Object.assign(U,{skill_id:T.value}),"Select Proficiency"!==I.value&&Object.assign(U,{proficiency_id:I.value}),"Select Program"!==s.value&&(n.value=!1,x.value=!1,S.value=!1,n.value=!1,M.value=!1,await H())},X=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?(k.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)):(k.value=!1,m.value=!1,B.value=!1,D.value=!1,P.value=!1),t.value=!0},K=async e=>{localStorage.setItem("skill",e.target.value),T.value=e.target.value,"Select Skill"===T.value&&(T.value="")},Q=async e=>{localStorage.setItem("proficiency",e.target.value),I.value=e.target.value,"Select Proficiency"===I.value&&(I.value="")},Z=async()=>{t.value=!1,e.value=await Object(i["f"])("/cache?cache=program"),t.value=!0},ee=async()=>{c["a"].push({path:"taskDetails",query:{task_id:u.value}})},te=async e=>{try{const t=e.target.files[0],a=t.name,l=a.endsWith(".csv");l?(b.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,b.value=null)}catch(t){console.log(t)}},ae=async()=>{if(y.value){const e=o()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,r=await Object(v["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",r),_.value=r.data.preSignedUrl;const n=await Object(i["k"])(_.value,y.value);if(200===n.status){const e={task_id:u.value,file_key:""+l},r=await Object(i["c"])("/task/importSingleTask",e);console.log(r),t.value=!1,L.value="Task Updated",y.value=null,b.value=null,a.value=await Object(i["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)},le=async()=>{if(y.value){const e=o()().format("llll");t.value=!1;const l=`${s.value}_${e}.csv`,r=await Object(v["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:l});console.log("presigned URL",r),_.value=r.data.preSignedUrl;const n=await Object(i["k"])(_.value,y.value);if(200===n.status){const e={program_id:s.value,file_key:""+l},r=await Object(i["c"])("/task/import",e);console.log(r),t.value=!1,R.value="Task added",y.value=null,b.value=null,a.value=await Object(i["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)},se=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},re=async()=>{const e=s.value;"infinity"!==e&&await Object(i["h"])("/resetActiveTaskOrder ",{program_id:e}),await H()},ne=async()=>{t.value=!1,J={task_id:u.value,archive_type:C.value},$.value=!0,J.archive_type?q.value="Archiving a task also archives linked offcycle tasks. Please confirm if you want to proceed.":q.value="Unarchiving a task also unarchives linked offcycle tasks. Please confirm if you want to proceed.",V.value=!0,t.value=!0},oe=()=>{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),c["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(i["e"])(s.value)},ce=()=>{$.value=!1},ue=async()=>{t.value=!1,$.value=!1,await Object(i["d"])("/archieveTask",J),console.log("inside archieveTask"),await re(),x.value=!1,S.value=!1,n.value=!1,l.value=[],t.value=!0},de=e=>{E.value=a.value.filter(t=>e.includes(t.task_name)&&t.is_archive===Y.value),console.log("filteredTaskDetails",E.value)},ve=e=>{Y.value=e,E.value=e?a.value.filter(e=>!0===e.is_archive):a.value.filter(e=>!0!==e.is_archive)};return Object(r["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 Z(),await se(),localStorage.getItem("program")&&(s.value=localStorage.getItem("program")||"Select Program",Object.assign(U,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(T.value=localStorage.getItem("skill")||"Select Skill",Object.assign(U,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(I.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(U,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",U),"Select Program"!==localStorage.getItem("program")&&(D.value=!0,k.value=!0,await H(),ve(Y.value)),B.value=!0,"infinity"===s.value?(P.value=!0,A.value=!1):P.value=!1}),{renderReady:t,programDetails:e,getSelectedProgram:X,taskDetails:a,taskCheckOne:l,taskcheckedOne:z,checkedTaskId:u,showTaskBtn:G,taskBtn:n,viewTaskDetails:ee,showScreen:p,archieveTask:ne,selectedProgram:s,showTaskImport:m,showTaskImportBtn:k,bulkImportTask:le,selectedFile:te,errorMessage:h,successMessage:w,archiveBtn:x,unArchiveBtn:S,getTaskDetails:H,skills:O,proficiency:j,getSelectedSkill:K,getSelectedProficiency:Q,showSkillProf:P,searchBtn:B,resetTaskOrder:re,showSequencBtn:A,createOffCycle:oe,selectedSkill:T,selectedProficiency:I,searchTask:W,singleTaskBtn:M,showSingleTaskImport:N,bulkSingleImportTask:ae,exportTask:ie,showExportBtn:D,SinglesuccessMessage:L,BulksuccessMessage:R,modalVisible:$,modalMessage:q,closeModal:ce,modalButtonVisible:V,archieveTaskFunction:ue,taskDetailsArray:F,getFilteredList:de,filteredTaskDetails:E,filterArchivedTasks:ve,showArchivedTasks:Y}}}),m=p,k=(a("fb42"),a("dcde")),b=Object(k["a"])(m,l,s,!1,null,"0d1713b3",null);t["default"]=b.exports},"2c72":function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.isVisible?a("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"},[a("transition",{attrs:{name:"modal-fade"}},[a("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[a("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?a("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[a("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),a("div",{staticClass:"bg-white"},[a("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),a("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?a("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?a("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?a("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?a("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=[],r=a("949b"),n=a("afbc"),o={components:{XIcon:r["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=>{n["a"].push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},i=o,c=(a("916d"),a("dcde")),u=Object(c["a"])(i,l,s,!1,null,null,null);t["a"]=u.exports},3212:function(e,t,a){"use strict";a.d(t,"f",(function(){return s})),a.d(t,"g",(function(){return r})),a.d(t,"a",(function(){return n})),a.d(t,"d",(function(){return o})),a.d(t,"j",(function(){return i})),a.d(t,"b",(function(){return c})),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},r=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data.tasks,a)),a},n=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},i=async(e,t)=>{let a;return await l["b"].post(e,t).then(e=>(a=e.data,a)),a},c=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}}},3562:function(e,t,a){var l=a("4238");l.__esModule&&(l=l.default),"string"===typeof l&&(l=[[e.i,l,""]]),l.locals&&(e.exports=l.locals);var s=a("c69b").default;s("37682d9b",l,!0,{sourceMap:!1,shadowMode:!1})},4238:function(e,t,a){var l=a("5a0f");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},4396:function(e,t,a){var l=a("5a0f");t=l(!1),t.push([e.i,".pageLoader[data-v-0d1713b3]{position:fixed;top:30%;left:42%}.tableScroll[data-v-0d1713b3]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},6235:function(e,t,a){"use strict";a.d(t,"c",(function(){return s})),a.d(t,"d",(function(){return r})),a.d(t,"b",(function(){return n})),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},r=async e=>{let t;return await l["b"].get(e).then(e=>(t=e.data,t)),t},n=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 n})),a.d(t,"a",(function(){return s})),a.d(t,"c",(function(){return o})),a.d(t,"e",(function(){return r})),a.d(t,"d",(function(){return i}));var l=a("26fa");const s=async(e,t)=>{const a=await l["b"].post(e,t);return a},r=async(e,t)=>{let a;const l=await fetch(""+e,{method:"put",body:t});return a=l,a},n=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},i=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 r})),a.d(t,"u",(function(){return n})),a.d(t,"e",(function(){return o})),a.d(t,"x",(function(){return i})),a.d(t,"z",(function(){return c})),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 k})),a.d(t,"p",(function(){return b})),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},r=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},o=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},c=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},k=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},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("3562")},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},d910:function(e,t,a){var l=a("4396");l.__esModule&&(l=l.default),"string"===typeof l&&(l=[[e.i,l,""]]),l.locals&&(e.exports=l.locals);var s=a("c69b").default;s("4c0134c0",l,!0,{sourceMap:!1,shadowMode:!1})},faec:function(e,t,a){"use strict";var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full flex mt-6"},[a("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=[],r=a("c1ec"),n=Object(r["b"])({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=Object(r["f"])(""),a=Object(r["f"])(),l=Object(r["f"])(),s=Object(r["f"])(),n=()=>{s.value=e.data,l.value=s.value.filter(e=>e.toLowerCase().includes(t.value.toLowerCase()))};return Object(r["c"])(async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)}),{placeHolder1:a,filteredProgramDetails:l,filterProgramDetails:n,search:t}}}),o=n,i=a("dcde"),c=Object(i["a"])(o,l,s,!1,null,null,null);t["a"]=c.exports},fb42:function(e,t,a){"use strict";a("d910")}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationTaskManagement.js.map
|