@genpact/genome.mfe.solidify-app 1.17.2-alpha.31 → 1.17.2-alpha.34
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/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/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 +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.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/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/app.js +1 -1
- 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"],{"0323":function(e,t,a){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,a){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=a("cad9")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"112f":function(e,t,a){"use strict";var n=a("7de8").version,r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}}));var o={};function s(e,t,a){if("object"!==typeof e)throw new TypeError("options must be an object");var n=Object.keys(e),r=n.length;while(r-- >0){var o=n[r],s=t[o];if(s){var i=e[o],c=void 0===i||s(i,o,e);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==a)throw Error("Unknown option "+o)}}r.transitional=function(e,t,a){function r(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(a?". "+a:"")}return function(a,n,s){if(!1===e)throw new Error(r(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(r(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(a,n,s)}},e.exports={assertOptions:s,validators:r}},"122c":function(e,t,a){"use strict";var n=a("8a5d");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,a){"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),n=0;n<a.length;n++)a[n]=arguments[n];return e.apply(t,a)}}},1501:function(e,t,a){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,a){e.exports=a("46c8")},"220b":function(e,t,a){"use strict";a("a396")},"26fa":function(e,t,a){"use strict";var n=a("1dba"),r=a.n(n);function o({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var s=({$http:e})=>{o({$http:e}),e.interceptors.request.use(t=>(o({$http:e}),t),e=>Promise.reject(e)),e.interceptors.response.use(e=>e,e=>{if(console.log("inside interceptor"),console.warn(e.message,{...e}),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status "+e.response.status),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,{...t}),console.warn(JSON.stringify({...t}))}catch(a){console.warn(a)}alert("Generic error")}return Promise.reject(e)})};let i="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?i="dev":"uat.genome.genpact.com"===c?i="uat":"genome-eda-rel.azurewebsites.net"===c?i="prod":c.includes("localhost")&&(i="local");let l="";l="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+l),r.a.defaults.baseURL=l,r.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",s({$http:r.a});t["a"]=r.a},"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")]),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")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.singleTaskBtn,expression:"singleTaskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){e.showSingleTaskImport=!0}}},[e._v("Import Single Task")])])]),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("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.taskDetails,(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 s=a.task_id,i=e._i(n,s);r.checked?i<0&&(e.taskCheckOne=n.concat([s])):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)])]):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("d1ce"),s=a("bb03"),i=a.n(s),c=a("3212"),l=a("afbc"),u=a("8596"),f=a("675e"),d=a("6235"),p=Object(o["b"])({name:"TaskManagement",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"),s=Object(o["f"])(),p=Object(o["f"])(),v=Object(o["f"])(),m=Object(o["f"])(!0),h=Object(o["f"])(!1),g=Object(o["f"])(!1),y=Object(o["f"])(),b=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"])(),C=Object(o["f"])(),j=Object(o["f"])(),T=Object(o["f"])("Select Skill"),P=Object(o["f"])("Select Proficiency"),A=Object(o["f"])(!1),N=Object(o["f"])(!1),I=Object(o["f"])(!1),E=Object(o["f"])(!1),B=Object(o["f"])(!1),R=Object(o["f"])(!1),U=Object(o["f"])(),L=Object(o["f"])(),M={},D=()=>{n.value=[]},q=(e,t,a)=>{const n=e.target.checked;!0===n?(p.value=t,s.value=!0,E.value=!0,!0===a?(O.value=!1,_.value=!1,S.value=!0):(O.value=!0,_.value=!0,S.value=!1)):(s.value=!1,_.value=!1,S.value=!1,E.value=!1,B.value=!1)},J=async()=>{t.value=!1,a.value=await Object(c["f"])("/getAllTaskByProgram",M);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?I.value=!1:I.value=!0,t.value=!0},F=async()=>{"Select Program"!==r.value&&Object.assign(M,{program_id:r.value}),"Select Skill"!==T.value&&Object.assign(M,{skill_id:T.value}),"Select Proficiency"!==P.value&&Object.assign(M,{proficiency_id:P.value}),"Select Program"!==r.value&&(s.value=!1,_.value=!1,S.value=!1,s.value=!1,E.value=!1,await J())},$=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?(g.value=!0,R.value=!0,N.value=!0,"infinity"===r.value?(I.value=!1,T.value="Select Skill",P.value="Select Proficiency",A.value=!0):(A.value=!1,T.value="",P.value="",I.value=!0)):(g.value=!1,h.value=!1,N.value=!1,R.value=!1,A.value=!1),t.value=!0},z=async e=>{localStorage.setItem("skill",e.target.value),T.value=e.target.value,"Select Skill"===T.value&&(T.value="")},V=async e=>{localStorage.setItem("proficiency",e.target.value),P.value=e.target.value,"Select Proficiency"===P.value&&(P.value="")},H=async()=>{t.value=!1,e.value=await Object(c["e"])("/cache?cache=program"),t.value=!0},Y=async()=>{l["a"].push({path:"taskDetails",query:{task_id:p.value}})},W=async e=>{try{const t=e.target.files[0],a=t.name,n=a.endsWith(".csv");n?(y.value=a,b.value=t):(k.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{k.value=null},6e3),b.value=null,y.value=null)}catch(t){console.log(t)}},X=async()=>{if(b.value){const e=i()().format("llll");t.value=!1;const n=`${r.value}_${e}.csv`,o=await Object(f["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:n});console.log("presigned URL",o),x.value=o.data.preSignedUrl;const s=await Object(c["i"])(x.value,b.value);if(200===s.status){const e={task_id:p.value,file_key:""+n},o=await Object(c["b"])("/task/importSingleTask",e);console.log(o),t.value=!1,U.value="Task Updated",b.value=null,y.value=null,a.value=await Object(c["f"])("/getAllTaskByProgram",{program_id:r.value}),t.value=!0,setTimeout(()=>{U.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)},G=async()=>{if(b.value){const e=i()().format("llll");t.value=!1;const n=`${r.value}_${e}.csv`,o=await Object(f["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:n});console.log("presigned URL",o),x.value=o.data.preSignedUrl;const s=await Object(c["i"])(x.value,b.value);if(200===s.status){const e={program_id:r.value,file_key:""+n},o=await Object(c["b"])("/task/import",e);console.log(o),t.value=!1,L.value="Task added",b.value=null,y.value=null,a.value=await Object(c["f"])("/getAllTaskByProgram",{program_id:r.value}),t.value=!0,setTimeout(()=>{L.value=null,h.value=!1},6e3)}}else k.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{k.value=null},6e3)},K=async()=>{t.value=!1;const e=await Object(d["e"])("/getAllSkillProf/genome");C.value=e.skill,j.value=e.proficiency,t.value=!0},Q=async()=>{const e=r.value;"infinity"!==e&&await Object(c["g"])("/resetActiveTaskOrder ",{program_id:e}),await J()},Z=async()=>{t.value=!1;const e={task_id:p.value,archive_type:O.value};await Object(c["c"])("/archieveTask",e),await Q(),_.value=!1,S.value=!1,s.value=!1,n.value=[],t.value=!0},ee=()=>{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===p.value);if(console.log("taskDetail "+JSON.stringify(n)),console.log("programId",r.value),console.log("programName",t.program_name),console.log("linkedTaskId",p.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",p.value),"infinity"===r.value){localStorage.setItem("skillId",T.value);const e=C.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===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")},te=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["d"])(r.value)};return Object(o["c"])(async()=>{const e=await Object(u["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")?m.value=!0:m.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 H(),await K(),localStorage.getItem("program")&&(r.value=localStorage.getItem("program")||"Select Program",Object.assign(M,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(T.value=localStorage.getItem("skill")||"Select Skill",Object.assign(M,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(P.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(M,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",M),"Select Program"!==localStorage.getItem("program")&&(R.value=!0,g.value=!0,await J()),N.value=!0,"infinity"===r.value?(A.value=!0,I.value=!1):A.value=!1}),{renderReady:t,programDetails:e,getSelectedProgram:$,taskDetails:a,taskCheckOne:n,taskcheckedOne:D,checkedTaskId:p,showTaskBtn:q,taskBtn:s,viewTaskDetails:Y,showScreen:m,archieveTask:Z,selectedProgram:r,showTaskImport:h,showTaskImportBtn:g,bulkImportTask:G,selectedFile:W,errorMessage:k,successMessage:w,archiveBtn:_,unArchiveBtn:S,getTaskDetails:J,skills:C,proficiency:j,getSelectedSkill:z,getSelectedProficiency:V,showSkillProf:A,searchBtn:N,resetTaskOrder:Q,showSequencBtn:I,createOffCycle:ee,selectedSkill:T,selectedProficiency:P,searchTask:F,singleTaskBtn:E,showSingleTaskImport:B,bulkSingleImportTask:X,exportTask:te,showExportBtn:R,SinglesuccessMessage:U,BulksuccessMessage:L}}}),v=p,m=(a("220b"),a("bce8")),h=Object(m["a"])(v,n,r,!1,null,"cd3f837e",null);t["default"]=h.exports},2998:function(e,t,a){"use strict";var n=a("8a5d");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,a,r,o,s){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),n.isString(r)&&i.push("path="+r),n.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},3212:function(e,t,a){"use strict";a.d(t,"e",(function(){return r})),a.d(t,"f",(function(){return o})),a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"b",(function(){return l})),a.d(t,"g",(function(){return u})),a.d(t,"h",(function(){return f})),a.d(t,"d",(function(){return d}));var n=a("26fa");const r=async e=>{let t;return await n["a"].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["a"].post(e,t).then(e=>(a=e.data.tasks,a)),a},s=async(e,t)=>{let a;return await n["a"].post(e,t).then(e=>(a=e.data.tasks,a)),a},i=async e=>{let t;try{return await n["a"].get("/task/"+e).then(e=>(t=e.data.data,t)),t}catch(a){return a}},c=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),n=a;return n}catch(a){return console.error(a),a}},l=async(e,t)=>{let a;return await n["a"].post(e,t).then(e=>(a=e.data.tasks,a)),a},u=async(e,t)=>{let a;return await n["a"].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 n["a"].post("/task/create",e);return t},d=async e=>{try{let t;return await n["a"].get("/admin/task/taskExport/"+e).then(async e=>(t=e.data,t)),t}catch(t){return t}}},"386e":function(e,t,a){"use strict";var n=a("8a5d");e.exports=function(e,t){n.forEach(e,(function(a,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[n])}))}},3884:function(e,t,a){"use strict";var n=a("8a5d");function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,a){if(!t)return e;var o;if(a)o=a(t);else if(n.isURLSearchParams(t))o=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(r(t)+"="+r(e))})))})),o=s.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"46c8":function(e,t,a){"use strict";var n=a("8a5d"),r=a("1464"),o=a("6c7d"),s=a("76b7"),i=a("cc3a");function c(e){var t=new o(e),a=r(o.prototype.request,t);return n.extend(a,o.prototype,t),n.extend(a,t),a.create=function(t){return c(s(e,t))},a}var l=c(i);l.Axios=o,l.Cancel=a("82ac"),l.CancelToken=a("823a"),l.isCancel=a("0323"),l.VERSION=a("7de8").version,l.all=function(e){return Promise.all(e)},l.spread=a("c279"),l.isAxiosError=a("122c"),e.exports=l,e.exports.default=l},"4af6":function(e,t,a){"use strict";var n=a("8a5d"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,a,o,s={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),a=n.trim(e.substr(o+1)),t){if(s[t]&&r.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([a]):s[t]?s[t]+", "+a:a}})),s):s}},"5cd4":function(e,t,a){"use strict";var n=a("8a5d"),r=a("cc3a");e.exports=function(e,t,a){var o=this||r;return n.forEach(a,(function(a){e=a.call(o,e,t)})),e}},"5df9":function(e,t,a){"use strict";var n=a("8a5d");function r(){this.handlers=[]}r.prototype.use=function(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},6136:function(e,t,a){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},6235:function(e,t,a){"use strict";a.d(t,"c",(function(){return r})),a.d(t,"e",(function(){return o})),a.d(t,"b",(function(){return s})),a.d(t,"d",(function(){return i})),a.d(t,"a",(function(){return c}));var n=a("26fa");const r=async(e,t)=>{const a=await n["a"].post(e,t);return a},o=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},s=async(e,t)=>{let a;return await n["a"].get(`${e}/${t}`).then(e=>(a=e.data.allProxyList,a)),a},i=async(e,t)=>{const a=await n["a"].post(e,t);return a},c=async(e,t)=>{const a=await n["a"].post(e,t);return a}},"639e":function(e,t,a){"use strict";var n=a("6136"),r=a("1501");e.exports=function(e,t){return e&&!n(t)?r(e,t):t}},"675e":function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),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 c}));var n=a("26fa");const r=async(e,t)=>{const a=await n["a"].post(e,t);return a},o=async(e,t)=>{let a;const n=await fetch(""+e,{method:"put",body:t});return a=n,a},s=async e=>{const t=await n["a"].get("/task/"+e);return t},i=async(e,t)=>{const a=await n["a"].post(e,{learner_task_id:t});return a},c=async(e,t)=>{const a=await n["a"].post(e,t);return a}},"6c7d":function(e,t,a){"use strict";var n=a("8a5d"),r=a("3884"),o=a("5df9"),s=a("93f9"),i=a("76b7"),c=a("112f"),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var a=t.transitional;void 0!==a&&c.assertOptions(a,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!r){var f=[s,void 0];Array.prototype.unshift.apply(f,n),f=f.concat(u),o=Promise.resolve(t);while(f.length)o=o.then(f.shift(),f.shift());return o}var d=t;while(n.length){var p=n.shift(),v=n.shift();try{d=p(d)}catch(m){v(m);break}}try{o=s(d)}catch(m){return Promise.reject(m)}while(u.length)o=o.then(u.shift(),u.shift());return o},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,a){return this.request(i(a||{},{method:e,url:t,data:(a||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,n){return this.request(i(n||{},{method:e,url:t,data:a}))}})),e.exports=u},"76b7":function(e,t,a){"use strict";var n=a("8a5d");e.exports=function(e,t){t=t||{};var a={};function r(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(a){return n.isUndefined(t[a])?n.isUndefined(e[a])?void 0:r(void 0,e[a]):r(e[a],t[a])}function s(e){if(!n.isUndefined(t[e]))return r(void 0,t[e])}function i(a){return n.isUndefined(t[a])?n.isUndefined(e[a])?void 0:r(void 0,e[a]):r(void 0,t[a])}function c(a){return a in t?r(e[a],t[a]):a in e?r(void 0,e[a]):void 0}var l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||o,r=t(e);n.isUndefined(r)&&t!==c||(a[e]=r)})),a}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,a){"use strict";var n=a("8a5d");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function r(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=r(window.location.href),function(t){var a=n.isString(t)?r(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,a){"use strict";var n=a("82ac");function r(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var a=this;this.promise.then((function(e){if(a._listeners){var t,n=a._listeners.length;for(t=0;t<n;t++)a._listeners[t](e);a._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){a.subscribe(e),t=e})).then(e);return n.cancel=function(){a.unsubscribe(t)},n},e((function(e){a.reason||(a.reason=new n(e),t(a.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},r.source=function(){var e,t=new r((function(t){e=t}));return{token:t,cancel:e}},e.exports=r},"82ac":function(e,t,a){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},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 s})),a.d(t,"e",(function(){return i})),a.d(t,"x",(function(){return c})),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 m})),a.d(t,"q",(function(){return h})),a.d(t,"o",(function(){return g})),a.d(t,"p",(function(){return y})),a.d(t,"m",(function(){return b})),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 C})),a.d(t,"g",(function(){return j})),a.d(t,"a",(function(){return T})),a.d(t,"B",(function(){return P})),a.d(t,"b",(function(){return A})),a.d(t,"d",(function(){return N})),a.d(t,"c",(function(){return I}));var n=a("26fa");const r=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data.userObj,t)),t},g=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},k=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{const t=await n["a"].get(e);return t},_=async e=>{const t=await n["a"].get(e);return t},S=async e=>{const t=await n["a"].get(e);return t},O=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},C=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data.userObj,t)),t},T=async e=>{const t=await n["a"].post("/user/role",e);return t},P=async e=>{const t=await n["a"].post("/user/removeRole",e);return t},A=async()=>{const e=await n["a"].get("role");return e},N=async e=>{const t=await n["a"].post("/user/saveLSS",e);return t},I=async e=>{const t=await n["a"].post("/user/saveEnvAccess",e);return t}},"85b3":function(e,t,a){var n=a("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-cd3f837e]{position:fixed;top:30%;left:42%}.tableScroll[data-v-cd3f837e]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},"8a5d":function(e,t,a){"use strict";var n=a("1464"),r=Object.prototype.toString;function o(e){return Array.isArray(e)}function s(e){return"undefined"===typeof e}function i(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===r.call(e)}function l(e){return"[object FormData]"===r.call(e)}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function f(e){return"string"===typeof e}function d(e){return"number"===typeof e}function p(e){return null!==e&&"object"===typeof e}function v(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===r.call(e)}function h(e){return"[object File]"===r.call(e)}function g(e){return"[object Blob]"===r.call(e)}function y(e){return"[object Function]"===r.call(e)}function b(e){return p(e)&&y(e.pipe)}function k(e){return"[object URLSearchParams]"===r.call(e)}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function x(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function _(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var a=0,n=e.length;a<n;a++)t.call(null,e[a],a,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function S(){var e={};function t(t,a){v(e[a])&&v(t)?e[a]=S(e[a],t):v(t)?e[a]=S({},t):o(t)?e[a]=t.slice():e[a]=t}for(var a=0,n=arguments.length;a<n;a++)_(arguments[a],t);return e}function O(e,t,a){return _(t,(function(t,r){e[r]=a&&"function"===typeof t?n(t,a):t})),e}function C(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:o,isArrayBuffer:c,isBuffer:i,isFormData:l,isArrayBufferView:u,isString:f,isNumber:d,isObject:p,isPlainObject:v,isUndefined:s,isDate:m,isFile:h,isBlob:g,isFunction:y,isStream:b,isURLSearchParams:k,isStandardBrowserEnv:x,forEach:_,merge:S,extend:O,trim:w,stripBOM:C}},"93f9":function(e,t,a){"use strict";var n=a("8a5d"),r=a("5cd4"),o=a("0323"),s=a("cc3a"),i=a("82ac");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){c(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.adapter;return t(e).then((function(t){return c(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},a396:function(e,t,a){var n=a("85b3");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("c69b").default;r("bcf33032",n,!0,{sourceMap:!1,shadowMode:!1})},a417:function(e,t,a){"use strict";e.exports=function(e,t,a,n,r){return e.config=t,a&&(e.code=a),e.request=n,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},aa01:function(e,t,a){"use strict";var n=a("fccd");e.exports=function(e,t,a){var r=a.config.validateStatus;a.status&&r&&!r(a.status)?t(n("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},c279:function(e,t,a){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,a){(function(e){function a(e,t){for(var a=0,n=e.length-1;n>=0;n--){var r=e[n];"."===r?e.splice(n,1):".."===r?(e.splice(n,1),a++):a&&(e.splice(n,1),a--)}if(t)for(;a--;a)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,a=0,n=-1,r=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!r){a=t+1;break}}else-1===n&&(r=!1,n=t+1);return-1===n?"":e.slice(a,n)}function r(e,t){if(e.filter)return e.filter(t);for(var a=[],n=0;n<e.length;n++)t(e[n],n,e)&&a.push(e[n]);return a}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,n="/"===s.charAt(0))}return t=a(r(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),s="/"===o(e,-1);return e=a(r(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&s&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,a){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var a=e.length-1;a>=0;a--)if(""!==e[a])break;return t>a?[]:e.slice(t,a-t+1)}e=t.resolve(e).substr(1),a=t.resolve(a).substr(1);for(var r=n(e.split("/")),o=n(a.split("/")),s=Math.min(r.length,o.length),i=s,c=0;c<s;c++)if(r[c]!==o[c]){i=c;break}var l=[];for(c=i;c<r.length;c++)l.push("..");return l=l.concat(o.slice(i)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),a=47===t,n=-1,r=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!r){n=o;break}}else r=!1;return-1===n?a?"/":".":a&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var a=n(e);return t&&a.substr(-1*t.length)===t&&(a=a.substr(0,a.length-t.length)),a},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,a=0,n=-1,r=!0,o=0,s=e.length-1;s>=0;--s){var i=e.charCodeAt(s);if(47!==i)-1===n&&(r=!1,n=s+1),46===i?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!r){a=s+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===a+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,a){return e.substr(t,a)}:function(e,t,a){return t<0&&(t=e.length+t),e.substr(t,a)}}).call(this,a("0418"))},cc3a:function(e,t,a){"use strict";(function(t){var n=a("8a5d"),r=a("386e"),o=a("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=a("e50c")),e}function l(e,t,a){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(a||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),l(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,a=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,s=!a&&"json"===this.responseType;if(s||r&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(s){if("SyntaxError"===i.name)throw o(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){u.headers[e]=n.merge(s)})),e.exports=u}).call(this,a("0418"))},e50c:function(e,t,a){"use strict";var n=a("8a5d"),r=a("aa01"),o=a("2998"),s=a("3884"),i=a("639e"),c=a("4af6"),l=a("7f31"),u=a("fccd"),f=a("cc3a"),d=a("82ac");e.exports=function(e){return new Promise((function(t,a){var p,v=e.data,m=e.headers,h=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}n.isFormData(v)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",k=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+k)}var w=i(e.baseURL,e.url);function x(){if(y){var n="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,o=h&&"text"!==h&&"json"!==h?y.response:y.responseText,s={data:o,status:y.status,statusText:y.statusText,headers:n,config:e,request:y};r((function(e){t(e),g()}),(function(e){a(e),g()}),s),y=null}}if(y.open(e.method.toUpperCase(),s(w,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=x:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(x)},y.onabort=function(){y&&(a(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){a(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var _=(e.withCredentials||l(w))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;_&&(m[e.xsrfHeaderName]=_)}"setRequestHeader"in y&&n.forEach(m,(function(e,t){"undefined"===typeof v&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),h&&"json"!==h&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(a(!e||e&&e.type?new d("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),v||(v=null),y.send(v)}))}},fccd:function(e,t,a){"use strict";var n=a("a417");e.exports=function(e,t,a,r,o){var s=new Error(e);return n(s,t,a,r,o)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationTaskManagement"],{"0323":function(e,t,a){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,a){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,n="/";t.cwd=function(){return n},t.chdir=function(t){e||(e=a("cad9")),n=e.resolve(t,n)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"0552":function(e,t,a){"use strict";a("c276")},"112f":function(e,t,a){"use strict";var n=a("7de8").version,r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}}));var o={};function s(e,t,a){if("object"!==typeof e)throw new TypeError("options must be an object");var n=Object.keys(e),r=n.length;while(r-- >0){var o=n[r],s=t[o];if(s){var i=e[o],c=void 0===i||s(i,o,e);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==a)throw Error("Unknown option "+o)}}r.transitional=function(e,t,a){function r(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(a?". "+a:"")}return function(a,n,s){if(!1===e)throw new Error(r(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(r(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(a,n,s)}},e.exports={assertOptions:s,validators:r}},"122c":function(e,t,a){"use strict";var n=a("8a5d");e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,a){"use strict";e.exports=function(e,t){return function(){for(var a=new Array(arguments.length),n=0;n<a.length;n++)a[n]=arguments[n];return e.apply(t,a)}}},1501:function(e,t,a){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,a){e.exports=a("46c8")},"26fa":function(e,t,a){"use strict";var n=a("1dba"),r=a.n(n);function o({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var s=({$http:e})=>{o({$http:e}),e.interceptors.request.use(t=>(o({$http:e}),t),e=>Promise.reject(e)),e.interceptors.response.use(e=>e,e=>{if(console.log("inside interceptor"),console.warn(e.message,{...e}),!e||!e.response||!e.response.config)return Promise.reject(e);if(e.response&&e.response.config&&"newRelic"===e.response.config.requestName)return Promise.reject(e);try{console.log("error.response.status "+e.response.status),(e.response&&401===e.response.status||e.response&&403===e.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(t){try{console.warn(t,{...t}),console.warn(JSON.stringify({...t}))}catch(a){console.warn(a)}alert("Generic error")}return Promise.reject(e)})};let i="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?i="dev":"uat.genome.genpact.com"===c?i="uat":"genome-eda-rel.azurewebsites.net"===c?i="prod":c.includes("localhost")&&(i="local");let l="";l="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+l),r.a.defaults.baseURL=l,r.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",s({$http:r.a});t["a"]=r.a},"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")]),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")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.singleTaskBtn,expression:"singleTaskBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){e.showSingleTaskImport=!0}}},[e._v("Import Single Task")])])]),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("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.taskDetails,(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 s=a.task_id,i=e._i(n,s);r.checked?i<0&&(e.taskCheckOne=n.concat([s])):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)])]):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("d1ce"),s=a("bb03"),i=a.n(s),c=a("3212"),l=a("afbc"),u=a("8596"),f=a("675e"),d=a("6235"),p=Object(o["b"])({name:"TaskManagement",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"),s=Object(o["f"])(),p=Object(o["f"])(),v=Object(o["f"])(),m=Object(o["f"])(!0),h=Object(o["f"])(!1),g=Object(o["f"])(!1),y=Object(o["f"])(),b=Object(o["f"])(),k=Object(o["f"])(),w=Object(o["f"])(),_=Object(o["f"])(),x=Object(o["f"])(!1),S=Object(o["f"])(),O=Object(o["f"])(),C=Object(o["f"])(),j=Object(o["f"])(),T=Object(o["f"])("Select Skill"),P=Object(o["f"])("Select Proficiency"),A=Object(o["f"])(!1),N=Object(o["f"])(!1),I=Object(o["f"])(!1),E=Object(o["f"])(!1),B=Object(o["f"])(!1),R=Object(o["f"])(!1),U=Object(o["f"])(),L=Object(o["f"])(),M={},D=()=>{n.value=[]},q=(e,t,a)=>{const n=e.target.checked;!0===n?(p.value=t,s.value=!0,E.value=!0,!0===a?(O.value=!1,x.value=!1,S.value=!0):(O.value=!0,x.value=!0,S.value=!1)):(s.value=!1,x.value=!1,S.value=!1,E.value=!1,B.value=!1)},J=async()=>{t.value=!1,a.value=await Object(c["f"])("/getAllTaskByProgram",M);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?I.value=!1:I.value=!0,t.value=!0},F=async()=>{"Select Program"!==r.value&&Object.assign(M,{program_id:r.value}),"Select Skill"!==T.value&&Object.assign(M,{skill_id:T.value}),"Select Proficiency"!==P.value&&Object.assign(M,{proficiency_id:P.value}),"Select Program"!==r.value&&(s.value=!1,x.value=!1,S.value=!1,s.value=!1,E.value=!1,await J())},$=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?(g.value=!0,R.value=!0,N.value=!0,"infinity"===r.value?(I.value=!1,T.value="Select Skill",P.value="Select Proficiency",A.value=!0):(A.value=!1,T.value="",P.value="",I.value=!0)):(g.value=!1,h.value=!1,N.value=!1,R.value=!1,A.value=!1),t.value=!0},z=async e=>{localStorage.setItem("skill",e.target.value),T.value=e.target.value,"Select Skill"===T.value&&(T.value="")},V=async e=>{localStorage.setItem("proficiency",e.target.value),P.value=e.target.value,"Select Proficiency"===P.value&&(P.value="")},H=async()=>{t.value=!1,e.value=await Object(c["e"])("/cache?cache=program"),t.value=!0},Y=async()=>{l["a"].push({path:"taskDetails",query:{task_id:p.value}})},W=async e=>{try{const t=e.target.files[0],a=t.name,n=a.endsWith(".csv");n?(y.value=a,b.value=t):(k.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{k.value=null},6e3),b.value=null,y.value=null)}catch(t){console.log(t)}},X=async()=>{if(b.value){const e=i()().format("llll");t.value=!1;const n=`${r.value}_${e}.csv`,o=await Object(f["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:n});console.log("presigned URL",o),_.value=o.data.preSignedUrl;const s=await Object(c["i"])(_.value,b.value);if(200===s.status){const e={task_id:p.value,file_key:""+n},o=await Object(c["b"])("/task/importSingleTask",e);console.log(o),t.value=!1,U.value="Task Updated",b.value=null,y.value=null,a.value=await Object(c["f"])("/getAllTaskByProgram",{program_id:r.value}),t.value=!0,setTimeout(()=>{U.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)},G=async()=>{if(b.value){const e=i()().format("llll");t.value=!1;const n=`${r.value}_${e}.csv`,o=await Object(f["a"])("/v1/pretAuthUrlForUpload",{folder_name:"task_import",key_name:n});console.log("presigned URL",o),_.value=o.data.preSignedUrl;const s=await Object(c["i"])(_.value,b.value);if(200===s.status){const e={program_id:r.value,file_key:""+n},o=await Object(c["b"])("/task/import",e);console.log(o),t.value=!1,L.value="Task added",b.value=null,y.value=null,a.value=await Object(c["f"])("/getAllTaskByProgram",{program_id:r.value}),t.value=!0,setTimeout(()=>{L.value=null,h.value=!1},6e3)}}else k.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{k.value=null},6e3)},K=async()=>{t.value=!1;const e=await Object(d["d"])("/getAllSkillProf?skill_type=genome");C.value=e.skill,j.value=e.proficiency,t.value=!0},Q=async()=>{const e=r.value;"infinity"!==e&&await Object(c["g"])("/resetActiveTaskOrder ",{program_id:e}),await J()},Z=async()=>{t.value=!1;const e={task_id:p.value,archive_type:O.value};await Object(c["c"])("/archieveTask",e),await Q(),x.value=!1,S.value=!1,s.value=!1,n.value=[],t.value=!0},ee=()=>{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===p.value);if(console.log("taskDetail "+JSON.stringify(n)),console.log("programId",r.value),console.log("programName",t.program_name),console.log("linkedTaskId",p.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",p.value),"infinity"===r.value){localStorage.setItem("skillId",T.value);const e=C.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===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")},te=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["d"])(r.value)};return Object(o["c"])(async()=>{const e=await Object(u["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")?m.value=!0:m.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 H(),await K(),localStorage.getItem("program")&&(r.value=localStorage.getItem("program")||"Select Program",Object.assign(M,{program_id:localStorage.getItem("program")})),localStorage.getItem("skill")&&(T.value=localStorage.getItem("skill")||"Select Skill",Object.assign(M,{skill_id:localStorage.getItem("skill")})),localStorage.getItem("proficiency")&&(P.value=localStorage.getItem("proficiency")||"Select Proficiency",Object.assign(M,{proficiency_id:localStorage.getItem("proficiency")})),console.log("Local Storage Value",M),"Select Program"!==localStorage.getItem("program")&&(R.value=!0,g.value=!0,await J()),N.value=!0,"infinity"===r.value?(A.value=!0,I.value=!1):A.value=!1}),{renderReady:t,programDetails:e,getSelectedProgram:$,taskDetails:a,taskCheckOne:n,taskcheckedOne:D,checkedTaskId:p,showTaskBtn:q,taskBtn:s,viewTaskDetails:Y,showScreen:m,archieveTask:Z,selectedProgram:r,showTaskImport:h,showTaskImportBtn:g,bulkImportTask:G,selectedFile:W,errorMessage:k,successMessage:w,archiveBtn:x,unArchiveBtn:S,getTaskDetails:J,skills:C,proficiency:j,getSelectedSkill:z,getSelectedProficiency:V,showSkillProf:A,searchBtn:N,resetTaskOrder:Q,showSequencBtn:I,createOffCycle:ee,selectedSkill:T,selectedProficiency:P,searchTask:F,singleTaskBtn:E,showSingleTaskImport:B,bulkSingleImportTask:X,exportTask:te,showExportBtn:R,SinglesuccessMessage:U,BulksuccessMessage:L}}}),v=p,m=(a("0552"),a("bce8")),h=Object(m["a"])(v,n,r,!1,null,"9cc473e8",null);t["default"]=h.exports},2998:function(e,t,a){"use strict";var n=a("8a5d");e.exports=n.isStandardBrowserEnv()?function(){return{write:function(e,t,a,r,o,s){var i=[];i.push(e+"="+encodeURIComponent(t)),n.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),n.isString(r)&&i.push("path="+r),n.isString(o)&&i.push("domain="+o),!0===s&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},3212:function(e,t,a){"use strict";a.d(t,"e",(function(){return r})),a.d(t,"f",(function(){return o})),a.d(t,"c",(function(){return s})),a.d(t,"a",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"b",(function(){return l})),a.d(t,"g",(function(){return u})),a.d(t,"h",(function(){return f})),a.d(t,"d",(function(){return d}));var n=a("26fa");const r=async e=>{let t;return await n["a"].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["a"].post(e,t).then(e=>(a=e.data.tasks,a)),a},s=async(e,t)=>{let a;return await n["a"].post(e,t).then(e=>(a=e.data.tasks,a)),a},i=async e=>{let t;try{return await n["a"].get("/task/"+e).then(e=>(t=e.data.data,t)),t}catch(a){return a}},c=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),n=a;return n}catch(a){return console.error(a),a}},l=async(e,t)=>{let a;return await n["a"].post(e,t).then(e=>(a=e.data.tasks,a)),a},u=async(e,t)=>{let a;return await n["a"].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 n["a"].post("/task/create",e);return t},d=async e=>{try{let t;return await n["a"].get("/admin/task/taskExport/"+e).then(async e=>(t=e.data,t)),t}catch(t){return t}}},"386e":function(e,t,a){"use strict";var n=a("8a5d");e.exports=function(e,t){n.forEach(e,(function(a,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[n])}))}},3884:function(e,t,a){"use strict";var n=a("8a5d");function r(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,a){if(!t)return e;var o;if(a)o=a(t);else if(n.isURLSearchParams(t))o=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(r(t)+"="+r(e))})))})),o=s.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"46c8":function(e,t,a){"use strict";var n=a("8a5d"),r=a("1464"),o=a("6c7d"),s=a("76b7"),i=a("cc3a");function c(e){var t=new o(e),a=r(o.prototype.request,t);return n.extend(a,o.prototype,t),n.extend(a,t),a.create=function(t){return c(s(e,t))},a}var l=c(i);l.Axios=o,l.Cancel=a("82ac"),l.CancelToken=a("823a"),l.isCancel=a("0323"),l.VERSION=a("7de8").version,l.all=function(e){return Promise.all(e)},l.spread=a("c279"),l.isAxiosError=a("122c"),e.exports=l,e.exports.default=l},"4af6":function(e,t,a){"use strict";var n=a("8a5d"),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,a,o,s={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),a=n.trim(e.substr(o+1)),t){if(s[t]&&r.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([a]):s[t]?s[t]+", "+a:a}})),s):s}},"5cd4":function(e,t,a){"use strict";var n=a("8a5d"),r=a("cc3a");e.exports=function(e,t,a){var o=this||r;return n.forEach(a,(function(a){e=a.call(o,e,t)})),e}},"5df9":function(e,t,a){"use strict";var n=a("8a5d");function r(){this.handlers=[]}r.prototype.use=function(e,t,a){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!a&&a.synchronous,runWhen:a?a.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=r},6136:function(e,t,a){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"615f":function(e,t,a){var n=a("a8d8");t=n(!1),t.push([e.i,".pageLoader[data-v-9cc473e8]{position:fixed;top:30%;left:42%}.tableScroll[data-v-9cc473e8]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},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 s})),a.d(t,"a",(function(){return i}));var n=a("26fa");const r=async(e,t)=>{const a=await n["a"].post(e,t);return a},o=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},s=async(e,t)=>{let a;return await n["a"].get(`${e}/${t}`).then(e=>(a=e.data.allProxyList,a)),a},i=async(e,t)=>{const a=await n["a"].post(e,t);return a}},"639e":function(e,t,a){"use strict";var n=a("6136"),r=a("1501");e.exports=function(e,t){return e&&!n(t)?r(e,t):t}},"675e":function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),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 c}));var n=a("26fa");const r=async(e,t)=>{const a=await n["a"].post(e,t);return a},o=async(e,t)=>{let a;const n=await fetch(""+e,{method:"put",body:t});return a=n,a},s=async e=>{const t=await n["a"].get("/task/"+e);return t},i=async(e,t)=>{const a=await n["a"].post(e,{learner_task_id:t});return a},c=async(e,t)=>{const a=await n["a"].post(e,t);return a}},"6c7d":function(e,t,a){"use strict";var n=a("8a5d"),r=a("3884"),o=a("5df9"),s=a("93f9"),i=a("76b7"),c=a("112f"),l=c.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e,t){if("string"===typeof e?(t=t||{},t.url=e):t=e||{},!t.url)throw new Error("Provided config url is not valid");t=i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var a=t.transitional;void 0!==a&&c.assertOptions(a,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!r){var f=[s,void 0];Array.prototype.unshift.apply(f,n),f=f.concat(u),o=Promise.resolve(t);while(f.length)o=o.then(f.shift(),f.shift());return o}var d=t;while(n.length){var p=n.shift(),v=n.shift();try{d=p(d)}catch(m){v(m);break}}try{o=s(d)}catch(m){return Promise.reject(m)}while(u.length)o=o.then(u.shift(),u.shift());return o},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,a){return this.request(i(a||{},{method:e,url:t,data:(a||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,n){return this.request(i(n||{},{method:e,url:t,data:a}))}})),e.exports=u},"76b7":function(e,t,a){"use strict";var n=a("8a5d");e.exports=function(e,t){t=t||{};var a={};function r(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(a){return n.isUndefined(t[a])?n.isUndefined(e[a])?void 0:r(void 0,e[a]):r(e[a],t[a])}function s(e){if(!n.isUndefined(t[e]))return r(void 0,t[e])}function i(a){return n.isUndefined(t[a])?n.isUndefined(e[a])?void 0:r(void 0,e[a]):r(void 0,t[a])}function c(a){return a in t?r(e[a],t[a]):a in e?r(void 0,e[a]):void 0}var l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=l[e]||o,r=t(e);n.isUndefined(r)&&t!==c||(a[e]=r)})),a}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,a){"use strict";var n=a("8a5d");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function r(e){var n=e;return t&&(a.setAttribute("href",n),n=a.href),a.setAttribute("href",n),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname}}return e=r(window.location.href),function(t){var a=n.isString(t)?r(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,a){"use strict";var n=a("82ac");function r(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var a=this;this.promise.then((function(e){if(a._listeners){var t,n=a._listeners.length;for(t=0;t<n;t++)a._listeners[t](e);a._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){a.subscribe(e),t=e})).then(e);return n.cancel=function(){a.unsubscribe(t)},n},e((function(e){a.reason||(a.reason=new n(e),t(a.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},r.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},r.source=function(){var e,t=new r((function(t){e=t}));return{token:t,cancel:e}},e.exports=r},"82ac":function(e,t,a){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},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 s})),a.d(t,"e",(function(){return i})),a.d(t,"x",(function(){return c})),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 m})),a.d(t,"q",(function(){return h})),a.d(t,"o",(function(){return g})),a.d(t,"p",(function(){return y})),a.d(t,"m",(function(){return b})),a.d(t,"k",(function(){return k})),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 O})),a.d(t,"i",(function(){return C})),a.d(t,"g",(function(){return j})),a.d(t,"a",(function(){return T})),a.d(t,"B",(function(){return P})),a.d(t,"b",(function(){return A})),a.d(t,"d",(function(){return N})),a.d(t,"c",(function(){return I}));var n=a("26fa");const r=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data.userObj,t)),t},g=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},k=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},_=async e=>{const t=await n["a"].get(e);return t},x=async e=>{const t=await n["a"].get(e);return t},S=async e=>{const t=await n["a"].get(e);return t},O=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},C=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await n["a"].get(e).then(e=>(t=e.data.userObj,t)),t},T=async e=>{const t=await n["a"].post("/user/role",e);return t},P=async e=>{const t=await n["a"].post("/user/removeRole",e);return t},A=async()=>{const e=await n["a"].get("role");return e},N=async e=>{const t=await n["a"].post("/user/saveLSS",e);return t},I=async e=>{const t=await n["a"].post("/user/saveEnvAccess",e);return t}},"8a5d":function(e,t,a){"use strict";var n=a("1464"),r=Object.prototype.toString;function o(e){return Array.isArray(e)}function s(e){return"undefined"===typeof e}function i(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function c(e){return"[object ArrayBuffer]"===r.call(e)}function l(e){return"[object FormData]"===r.call(e)}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(e.buffer),t}function f(e){return"string"===typeof e}function d(e){return"number"===typeof e}function p(e){return null!==e&&"object"===typeof e}function v(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===r.call(e)}function h(e){return"[object File]"===r.call(e)}function g(e){return"[object Blob]"===r.call(e)}function y(e){return"[object Function]"===r.call(e)}function b(e){return p(e)&&y(e.pipe)}function k(e){return"[object URLSearchParams]"===r.call(e)}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function _(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var a=0,n=e.length;a<n;a++)t.call(null,e[a],a,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}function S(){var e={};function t(t,a){v(e[a])&&v(t)?e[a]=S(e[a],t):v(t)?e[a]=S({},t):o(t)?e[a]=t.slice():e[a]=t}for(var a=0,n=arguments.length;a<n;a++)x(arguments[a],t);return e}function O(e,t,a){return x(t,(function(t,r){e[r]=a&&"function"===typeof t?n(t,a):t})),e}function C(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:o,isArrayBuffer:c,isBuffer:i,isFormData:l,isArrayBufferView:u,isString:f,isNumber:d,isObject:p,isPlainObject:v,isUndefined:s,isDate:m,isFile:h,isBlob:g,isFunction:y,isStream:b,isURLSearchParams:k,isStandardBrowserEnv:_,forEach:x,merge:S,extend:O,trim:w,stripBOM:C}},"93f9":function(e,t,a){"use strict";var n=a("8a5d"),r=a("5cd4"),o=a("0323"),s=a("cc3a"),i=a("82ac");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){c(e),e.headers=e.headers||{},e.data=r.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.adapter;return t(e).then((function(t){return c(e),t.data=r.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=r.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},a417:function(e,t,a){"use strict";e.exports=function(e,t,a,n,r){return e.config=t,a&&(e.code=a),e.request=n,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},aa01:function(e,t,a){"use strict";var n=a("fccd");e.exports=function(e,t,a){var r=a.config.validateStatus;a.status&&r&&!r(a.status)?t(n("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},c276:function(e,t,a){var n=a("615f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var r=a("c69b").default;r("909d5618",n,!0,{sourceMap:!1,shadowMode:!1})},c279:function(e,t,a){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,a){(function(e){function a(e,t){for(var a=0,n=e.length-1;n>=0;n--){var r=e[n];"."===r?e.splice(n,1):".."===r?(e.splice(n,1),a++):a&&(e.splice(n,1),a--)}if(t)for(;a--;a)e.unshift("..");return e}function n(e){"string"!==typeof e&&(e+="");var t,a=0,n=-1,r=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!r){a=t+1;break}}else-1===n&&(r=!1,n=t+1);return-1===n?"":e.slice(a,n)}function r(e,t){if(e.filter)return e.filter(t);for(var a=[],n=0;n<e.length;n++)t(e[n],n,e)&&a.push(e[n]);return a}t.resolve=function(){for(var t="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s=o>=0?arguments[o]:e.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(t=s+"/"+t,n="/"===s.charAt(0))}return t=a(r(t.split("/"),(function(e){return!!e})),!n).join("/"),(n?"/":"")+t||"."},t.normalize=function(e){var n=t.isAbsolute(e),s="/"===o(e,-1);return e=a(r(e.split("/"),(function(e){return!!e})),!n).join("/"),e||n||(e="."),e&&s&&(e+="/"),(n?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,a){function n(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var a=e.length-1;a>=0;a--)if(""!==e[a])break;return t>a?[]:e.slice(t,a-t+1)}e=t.resolve(e).substr(1),a=t.resolve(a).substr(1);for(var r=n(e.split("/")),o=n(a.split("/")),s=Math.min(r.length,o.length),i=s,c=0;c<s;c++)if(r[c]!==o[c]){i=c;break}var l=[];for(c=i;c<r.length;c++)l.push("..");return l=l.concat(o.slice(i)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),a=47===t,n=-1,r=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!r){n=o;break}}else r=!1;return-1===n?a?"/":".":a&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var a=n(e);return t&&a.substr(-1*t.length)===t&&(a=a.substr(0,a.length-t.length)),a},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,a=0,n=-1,r=!0,o=0,s=e.length-1;s>=0;--s){var i=e.charCodeAt(s);if(47!==i)-1===n&&(r=!1,n=s+1),46===i?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!r){a=s+1;break}}return-1===t||-1===n||0===o||1===o&&t===n-1&&t===a+1?"":e.slice(t,n)};var o="b"==="ab".substr(-1)?function(e,t,a){return e.substr(t,a)}:function(e,t,a){return t<0&&(t=e.length+t),e.substr(t,a)}}).call(this,a("0418"))},cc3a:function(e,t,a){"use strict";(function(t){var n=a("8a5d"),r=a("386e"),o=a("a417"),s={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=a("e50c")),e}function l(e,t,a){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(a||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),l(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,a=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,s=!a&&"json"===this.responseType;if(s||r&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(s){if("SyntaxError"===i.name)throw o(i,this,"E_JSON_PARSE");throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){u.headers[e]=n.merge(s)})),e.exports=u}).call(this,a("0418"))},e50c:function(e,t,a){"use strict";var n=a("8a5d"),r=a("aa01"),o=a("2998"),s=a("3884"),i=a("639e"),c=a("4af6"),l=a("7f31"),u=a("fccd"),f=a("cc3a"),d=a("82ac");e.exports=function(e){return new Promise((function(t,a){var p,v=e.data,m=e.headers,h=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}n.isFormData(v)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var b=e.auth.username||"",k=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+k)}var w=i(e.baseURL,e.url);function _(){if(y){var n="getAllResponseHeaders"in y?c(y.getAllResponseHeaders()):null,o=h&&"text"!==h&&"json"!==h?y.response:y.responseText,s={data:o,status:y.status,statusText:y.statusText,headers:n,config:e,request:y};r((function(e){t(e),g()}),(function(e){a(e),g()}),s),y=null}}if(y.open(e.method.toUpperCase(),s(w,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(_)},y.onabort=function(){y&&(a(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){a(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var x=(e.withCredentials||l(w))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;x&&(m[e.xsrfHeaderName]=x)}"setRequestHeader"in y&&n.forEach(m,(function(e,t){"undefined"===typeof v&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),h&&"json"!==h&&(y.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){y&&(a(!e||e&&e.type?new d("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),v||(v=null),y.send(v)}))}},fccd:function(e,t,a){"use strict";var n=a("a417");e.exports=function(e,t,a,r,o){var s=new Error(e);return n(s,t,a,r,o)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationTaskManagement.js.map
|