@genpact/genome.mfe.solidify-app 1.4.1-alpha.44 → 1.4.1-alpha.47
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/Genpact_logo.png +0 -0
- package/dist/fonts/GuardianEgyp-Light.otf +0 -0
- package/dist/fonts/GuardianTextEgyp-Bold.otf +0 -0
- package/dist/img/loadernew.gif +0 -0
- package/dist/index.html +4 -1
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +17 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/js/SolidifyLearner.js +1 -278
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -278
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerFail.js +1 -1
- package/dist/js/SolidifyLearnerFail.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerNotFound.js +1 -1
- package/dist/js/SolidifyLearnerNotFound.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/app.js +278 -16
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-2f70a91d.js +2 -0
- package/dist/js/chunk-2f70a91d.js.map +1 -0
- package/package.json +1 -1
- package/CHANGELOG.md +0 -1728
- package/dist/.DS_Store +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/js/chunk-10a7fb9b.js +0 -2
- package/dist/js/chunk-10a7fb9b.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministration"],{"9a62":function(t,s,a){"use strict";a.r(s);var p=function(){var t=this,s=t.$createElement;t._self._c;return t._m(0)},e=[function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Operational data")])]),a("div",{staticClass:"w-full mt-4"},[a("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over"},[a("thead",{staticClass:"opacity-90 -text-blue-800"},[a("tr",{staticClass:"border-b"},[a("th",{staticClass:"text-left py-2 pl-3 pr-0"}),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Full name")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Email")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("OHR")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Modified")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Level name")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Skill name")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Task name")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Final grade")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Pass or fail")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Task reviewers count")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Task reviewees count")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Task completion date")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Status")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Learner type")])])]),a("tbody",{staticClass:"opacity-80 -text-blue-800"},[a("tr",{staticClass:"border-b hover:bg-gray-300"},[a("td",{staticClass:"py-2 pl-3 pr-0 text-sm"},[a("input",{attrs:{type:"checkbox"}})]),a("td",{staticClass:"p-2 px-3"},[t._v("System Generated")]),a("td",{staticClass:"p-2 px-3"}),a("td",{staticClass:"p-2 px-3"},[t._v("NA")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Beginner")]),a("td",{staticClass:"p-2 px-3"},[t._v("Client Relationships")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile Friendly - Improve Communication using the Meeting Plan")]),a("td",{staticClass:"p-2 px-3"},[t._v("0.00")]),a("td",{staticClass:"p-2 px-3"},[t._v("Pass")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Passed")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile")])]),a("tr",{staticClass:"border-b bg-gray-100 hover:bg-gray-300"},[a("td",{staticClass:"py-2 pl-3 pr-0 text-sm"},[a("input",{attrs:{type:"checkbox"}})]),a("td",{staticClass:"p-2 px-3"},[t._v("System Generated")]),a("td",{staticClass:"p-2 px-3"}),a("td",{staticClass:"p-2 px-3"},[t._v("NA")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Beginner")]),a("td",{staticClass:"p-2 px-3"},[t._v("Client Relationships")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile Friendly - Improve Communication using the Meeting Plan")]),a("td",{staticClass:"p-2 px-3"},[t._v("0.00")]),a("td",{staticClass:"p-2 px-3"},[t._v("Pass")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Passed")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile")])]),a("tr",{staticClass:"border-b hover:bg-gray-300"},[a("td",{staticClass:"py-2 pl-3 pr-0 text-sm"},[a("input",{attrs:{type:"checkbox"}})]),a("td",{staticClass:"p-2 px-3"},[t._v("System Generated")]),a("td",{staticClass:"p-2 px-3"}),a("td",{staticClass:"p-2 px-3"},[t._v("NA")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Beginner")]),a("td",{staticClass:"p-2 px-3"},[t._v("Client Relationships")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile Friendly - Improve Communication using the Meeting Plan")]),a("td",{staticClass:"p-2 px-3"},[t._v("0.00")]),a("td",{staticClass:"p-2 px-3"},[t._v("Pass")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Passed")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile")])]),a("tr",{staticClass:"border-b bg-gray-100 hover:bg-gray-300"},[a("td",{staticClass:"py-2 pl-3 pr-0 text-sm"},[a("input",{attrs:{type:"checkbox"}})]),a("td",{staticClass:"p-2 px-3"},[t._v("System Generated")]),a("td",{staticClass:"p-2 px-3"}),a("td",{staticClass:"p-2 px-3"},[t._v("NA")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Beginner")]),a("td",{staticClass:"p-2 px-3"},[t._v("Client Relationships")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile Friendly - Improve Communication using the Meeting Plan")]),a("td",{staticClass:"p-2 px-3"},[t._v("0.00")]),a("td",{staticClass:"p-2 px-3"},[t._v("Pass")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Passed")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile")])]),a("tr",{staticClass:"border-b hover:bg-gray-300"},[a("td",{staticClass:"py-2 pl-3 pr-0 text-sm"},[a("input",{attrs:{type:"checkbox"}})]),a("td",{staticClass:"p-2 px-3"},[t._v("System Generated")]),a("td",{staticClass:"p-2 px-3"}),a("td",{staticClass:"p-2 px-3"},[t._v("NA")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Beginner")]),a("td",{staticClass:"p-2 px-3"},[t._v("Client Relationships")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile Friendly - Improve Communication using the Meeting Plan")]),a("td",{staticClass:"p-2 px-3"},[t._v("0.00")]),a("td",{staticClass:"p-2 px-3"},[t._v("Pass")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Passed")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile")])]),a("tr",{staticClass:"border-b bg-gray-100 hover:bg-gray-300"},[a("td",{staticClass:"py-2 pl-3 pr-0 text-sm"},[a("input",{attrs:{type:"checkbox"}})]),a("td",{staticClass:"p-2 px-3"},[t._v("System Generated")]),a("td",{staticClass:"p-2 px-3"}),a("td",{staticClass:"p-2 px-3"},[t._v("NA")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Beginner")]),a("td",{staticClass:"p-2 px-3"},[t._v("Client Relationships")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile Friendly - Improve Communication using the Meeting Plan")]),a("td",{staticClass:"p-2 px-3"},[t._v("0.00")]),a("td",{staticClass:"p-2 px-3"},[t._v("Pass")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Passed")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile")])]),a("tr",{staticClass:"border-b hover:bg-gray-300"},[a("td",{staticClass:"py-2 pl-3 pr-0 text-sm"},[a("input",{attrs:{type:"checkbox"}})]),a("td",{staticClass:"p-2 px-3"},[t._v("System Generated")]),a("td",{staticClass:"p-2 px-3"}),a("td",{staticClass:"p-2 px-3"},[t._v("NA")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Beginner")]),a("td",{staticClass:"p-2 px-3"},[t._v("Client Relationships")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile Friendly - Improve Communication using the Meeting Plan")]),a("td",{staticClass:"p-2 px-3"},[t._v("0.00")]),a("td",{staticClass:"p-2 px-3"},[t._v("Pass")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Passed")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile")])]),a("tr",{staticClass:"border-b bg-gray-100 hover:bg-gray-300"},[a("td",{staticClass:"py-2 pl-3 pr-0 text-sm"},[a("input",{attrs:{type:"checkbox"}})]),a("td",{staticClass:"p-2 px-3"},[t._v("System Generated")]),a("td",{staticClass:"p-2 px-3"}),a("td",{staticClass:"p-2 px-3"},[t._v("NA")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Beginner")]),a("td",{staticClass:"p-2 px-3"},[t._v("Client Relationships")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile Friendly - Improve Communication using the Meeting Plan")]),a("td",{staticClass:"p-2 px-3"},[t._v("0.00")]),a("td",{staticClass:"p-2 px-3"},[t._v("Pass")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("0")]),a("td",{staticClass:"p-2 px-3"},[t._v("Aug 13, 2021 7:29:24 PM")]),a("td",{staticClass:"p-2 px-3"},[t._v("Passed")]),a("td",{staticClass:"p-2 px-3"},[t._v("Mobile")])])])])])])}],i=a("54c7"),l=Object(i["b"])({name:"OperationalTab"}),c=l,d=a("2490"),x=Object(d["a"])(c,p,e,!1,null,null,null);s["default"]=x.exports}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministration"],{"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,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=a("cad9")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"0ce8":function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-8c4babd2]{position:fixed;top:30%;left:42%}.tableScroll[data-v-8c4babd2]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},"112f":function(e,t,a){"use strict";var r=a("7de8").version,n={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){n[e]=function(a){return typeof a===e||"a"+(t<1?"n ":" ")+e}}));var s={};function o(e,t,a){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),n=r.length;while(n-- >0){var s=r[n],o=t[s];if(o){var i=e[s],l=void 0===i||o(i,s,e);if(!0!==l)throw new TypeError("option "+s+" must be "+l)}else if(!0!==a)throw Error("Unknown option "+s)}}n.transitional=function(e,t,a){function n(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(a?". "+a:"")}return function(a,r,o){if(!1===e)throw new Error(n(r," has been removed"+(t?" in "+t:"")));return t&&!s[r]&&(s[r]=!0,console.warn(n(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(a,r,o)}},e.exports={assertOptions:o,validators:n}},"122c":function(e,t,a){"use strict";var r=a("8a5d");e.exports=function(e){return r.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),r=0;r<a.length;r++)a[r]=arguments[r];return e.apply(t,a)}}},1495:function(e,t,a){var r=a("a2ba");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("7264e0e6",r,!0,{sourceMap:!1,shadowMode:!1})},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";a("fc6e");var r=a("1dba"),n=a.n(r);function s({$http:e}){const t=localStorage.getItem("accessToken");t?e.defaults.headers.common.Authorization="Bearer "+t:delete e.defaults.headers.common.Authorization}var o=({$http:e})=>{s({$http:e}),e.interceptors.request.use(t=>(s({$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:l}=window.location;console.log(" solidify "+l),"dev.genome.genpact.com"===l?i="dev":"uat.genome.genpact.com"===l?i="uat":"genome-eda-rel.azurewebsites.net"===l?i="prod":l.includes("localhost")&&(i="local");let c="";c="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+c),n.a.defaults.baseURL=c,n.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",o({$http:n.a});t["a"]=n.a},2998:function(e,t,a){"use strict";var r=a("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,a,n,s,o){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),r.isString(n)&&i.push("path="+n),r.isString(s)&&i.push("domain="+s),!0===o&&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(){}}}()},"34a0":function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-167508a7]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"386e":function(e,t,a){"use strict";var r=a("8a5d");e.exports=function(e,t){r.forEach(e,(function(a,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[r])}))}},3884:function(e,t,a){"use strict";var r=a("8a5d");function n(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 s;if(a)s=a(t);else if(r.isURLSearchParams(t))s=t.toString();else{var o=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),o.push(n(t)+"="+n(e))})))})),s=o.join("&")}if(s){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},"425e":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"d",(function(){return s})),a.d(t,"e",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return l}));var r=a("26fa");const n=async(e,t)=>{const a=await r["a"].post(e,t);return a},s=async e=>{const t=await r["a"].get(e);return t},o=async e=>{const t=await r["a"].get("learnerTaskToProxyReview/"+e);return t},i=async(e,t)=>{const a=await r["a"].post(e,t);return a},l=async(e,t)=>{console.log(t),console.log(e);const a=await fetch(e),r=await a.blob(),n=URL.createObjectURL(r),s=document.createElement("a");s.setAttribute("download",t),s.href=n,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(n)}},"46c8":function(e,t,a){"use strict";var r=a("8a5d"),n=a("1464"),s=a("6c7d"),o=a("76b7"),i=a("cc3a");function l(e){var t=new s(e),a=n(s.prototype.request,t);return r.extend(a,s.prototype,t),r.extend(a,t),a.create=function(t){return l(o(e,t))},a}var c=l(i);c.Axios=s,c.Cancel=a("82ac"),c.CancelToken=a("823a"),c.isCancel=a("0323"),c.VERSION=a("7de8").version,c.all=function(e){return Promise.all(e)},c.spread=a("c279"),c.isAxiosError=a("122c"),e.exports=c,e.exports.default=c},"4af6":function(e,t,a){"use strict";var r=a("8a5d"),n=["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,s,o={};return e?(r.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),a=r.trim(e.substr(s+1)),t){if(o[t]&&n.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([a]):o[t]?o[t]+", "+a:a}})),o):o}},5429:function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"admin"},[r("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),r("div",{staticClass:"w-full mt-4 mb-4 tableScroll"},[r("table",{staticClass:"text-center w-full text-md bg-white shadow rounded mb-4"},[e._m(1),r("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.gradeData,(function(t){return r("tr",{key:t.review_id,staticClass:"border-b hover:bg-gray-300"},[r("td",{staticClass:"p-2 px-3 w-6"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.checkOne,expression:"checkOne"}],attrs:{type:"checkbox"},domProps:{value:t.review_id,checked:Array.isArray(e.checkOne)?e._i(e.checkOne,t.review_id)>-1:e.checkOne},on:{change:[function(a){var r=e.checkOne,n=a.target,s=!!n.checked;if(Array.isArray(r)){var o=t.review_id,i=e._i(r,o);n.checked?i<0&&(e.checkOne=r.concat([o])):i>-1&&(e.checkOne=r.slice(0,i).concat(r.slice(i+1)))}else e.checkOne=s},function(a){return e.getQuestion(a,t.reviewer_response,t.reviewer_comment)}],click:e.checkedOne}})]),r("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.reviewer_key))]),r("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.is_proxy_reviewer))]),r("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.reviewer_grade))]),r("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.review_start_date))]),r("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.review_end_date))])])})),0)])]),e.showChecklistPanel?r("div",{staticClass:"p-8 w-full border border-gray-300 mb-4"},[e._l(e.reviewerTask,(function(t,a){return r("div",{key:a,staticClass:"mb-3"},[r("p",[r("b",[e._v("Checklist Question "+e._s(a+1))])]),r("div",{staticClass:"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-1"},[e._v(e._s(t.text))]),r("p",[e._v(e._s(t.response))])])})),r("div",{staticClass:"w-full"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v("Reviewer Comments ")]),r("p",{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",attrs:{disabled:""},domProps:{innerHTML:e._s(e.comment)}})])],2):e._e(),r("div",{staticClass:"w-full px-3 text-center mb-6"},[r("router-link",{staticClass:"inline-block py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministration"}}},[e._v(" Back ")])],1),e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Learner Grades")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",{staticClass:"opacity-90 -text-blue-800"},[a("tr",{staticClass:"border-b"},[a("th",{staticClass:"p-2 px-3 text-background-secondary w-6"}),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Reviewer OHR")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Is Proxy Reviewer")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Grade")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Review Start Date")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Review End Date")])])])}],s=a("6610"),o=a("f9e0"),i=a.n(o),l=a("e206"),c=Object(s["b"])({name:"LearnerGrades",props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(s["f"])(),a=Object(s["f"])(e.query.learner_task_id),r=Object(s["f"])(!0),n=Object(s["f"])(!1),o=Object(s["f"])([]),c=Object(s["f"])(),u=Object(s["f"])(),d=()=>{o.value=[]},f=async()=>{r.value=!1,t.value=await Object(l["b"])("/learnerGrades/"+a.value);for(let e=0;e<t.value.length;e+=1){const a=t.value[e];a.review_start_date=i()(a.review_start_date).format("MMM Do YYYY, h:mm a"),a.review_end_date=i()(a.review_end_date).format("MMM Do YYYY, h:mm a")}r.value=!0},p=(e,t,a)=>{const r=e.target.checked;!0===r?(n.value=!0,c.value=t,u.value=a):n.value=!1};return Object(s["c"])(async()=>{await f()}),{gradeData:t,renderReady:r,checkOne:o,checkedOne:d,getQuestion:p,reviewerTask:c,showChecklistPanel:n,comment:u}}}),u=c,d=(a("c8f7"),a("b709")),f=Object(d["a"])(u,r,n,!1,null,"62962c7b",null);t["default"]=f.exports},"5cd4":function(e,t,a){"use strict";var r=a("8a5d"),n=a("cc3a");e.exports=function(e,t,a){var s=this||n;return r.forEach(a,(function(a){e=a.call(s,e,t)})),e}},"5df9":function(e,t,a){"use strict";var r=a("8a5d");function n(){this.handlers=[]}n.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},n.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},n.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=n},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 n})),a.d(t,"d",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return i}));var r=a("26fa");const n=async(e,t)=>{const a=await r["a"].post(e,t);return a},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async(e,t)=>{let a;return await r["a"].get(`${e}/${t}`).then(e=>(a=e.data.allProxyList,a)),a},i=async(e,t)=>{let a;return await r["a"].post(e,t).then(e=>(a=e.data.allProxyList,a)),a}},"639e":function(e,t,a){"use strict";var r=a("6136"),n=a("1501");e.exports=function(e,t){return e&&!r(t)?n(e,t):t}},"664d":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"admin"},[r("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e._m(0),e.showSuccessMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.renderReady?r("div",{staticClass:"w-full mt-4"},[r("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[r("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Learner Task Id ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.learner_task_id,expression:"getLearner.learner_task_id"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.getLearner.learner_task_id},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"learner_task_id",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Program ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.learnerOtherDetails.linked_program_name,expression:"learnerOtherDetails.linked_program_name"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.learnerOtherDetails.linked_program_name},on:{input:function(t){t.target.composing||e.$set(e.learnerOtherDetails,"linked_program_name",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Task ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.learnerOtherDetails.taskName,expression:"learnerOtherDetails.taskName"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.learnerOtherDetails.taskName},on:{input:function(t){t.target.composing||e.$set(e.learnerOtherDetails,"taskName",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.learnerOtherDetails.skillName,expression:"learnerOtherDetails.skillName"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.learnerOtherDetails.skillName},on:{input:function(t){t.target.composing||e.$set(e.learnerOtherDetails,"skillName",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.learnerOtherDetails.proficiencyName,expression:"learnerOtherDetails.proficiencyName"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.learnerOtherDetails.proficiencyName},on:{input:function(t){t.target.composing||e.$set(e.learnerOtherDetails,"proficiencyName",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Data origin ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.migrated_from,expression:"getLearner.migrated_from"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.getLearner.migrated_from},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"migrated_from",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" is OffCycle ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.is_offCycle,expression:"getLearner.is_offCycle"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.getLearner.is_offCycle},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"is_offCycle",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" OHR ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.learner_key,expression:"getLearner.learner_key"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.getLearner.learner_key},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"learner_key",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Full Name ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.fullname,expression:"getLearner.fullname"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.getLearner.fullname},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"fullname",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Email ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.email,expression:"getLearner.email"}],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",attrs:{disabled:"",type:"text"},domProps:{value:e.getLearner.email},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"email",t.target.value)}}})]),"Desktop"===e.learnerOtherDetails.taskType?r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[e.showdonwloadBtn?r("button",{staticClass:"inline-block mt-2 py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:e.learnerSubmissionClicked}},[e._v(" Download Learner Submission ")]):e._e()]):e._e(),"Mobile"===e.learnerOtherDetails.taskType?r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[e._m(1),r("p",[e._v(e._s(e.getLearner.learner_submission_text))])]):e._e(),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Task Registration Date ")]),r("div",{staticClass:"flex"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.registration_date,expression:"getLearner.registration_date"}],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",attrs:{type:"date"},domProps:{value:e.getLearner.registration_date},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"registration_date",t.target.value)}}})])]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Task Submission Date ")]),r("div",{staticClass:"flex"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.submission_date,expression:"getLearner.submission_date"}],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",attrs:{type:"date"},domProps:{value:e.getLearner.submission_date},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"submission_date",t.target.value)}}})])]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Task Completion Date ")]),r("div",{staticClass:"flex"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.completion_date,expression:"getLearner.completion_date"}],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",attrs:{type:"date"},domProps:{value:e.getLearner.completion_date},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"completion_date",t.target.value)}}})])]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Final Grade ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.aggregated_grade,expression:"getLearner.aggregated_grade"}],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",attrs:{type:"number"},domProps:{value:e.getLearner.aggregated_grade},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"aggregated_grade",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Task Reviewer Count ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.task_reviewer_count,expression:"getLearner.task_reviewer_count"}],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",attrs:{type:"number"},domProps:{value:e.getLearner.task_reviewer_count},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"task_reviewer_count",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Task Reviewees Count ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.task_reviewee_count,expression:"getLearner.task_reviewee_count"}],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",attrs:{type:"number"},domProps:{value:e.getLearner.task_reviewee_count},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"task_reviewee_count",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Currently Assigned Reviewee ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.currently_assigned_reviewee,expression:"getLearner.currently_assigned_reviewee"}],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",attrs:{type:"number",disabled:""},domProps:{value:e.getLearner.currently_assigned_reviewee},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"currently_assigned_reviewee",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Reviewee Assigned Date ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.reviewee_assigned_time,expression:"getLearner.reviewee_assigned_time"}],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",attrs:{type:"number",disabled:""},domProps:{value:e.getLearner.reviewee_assigned_time},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"reviewee_assigned_time",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Reviewee expiration Date ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.reviewee_expiration_time,expression:"getLearner.reviewee_expiration_time"}],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",attrs:{type:"number",disabled:""},domProps:{value:e.getLearner.reviewee_expiration_time},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"reviewee_expiration_time",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Request for Re-review ")]),r("span",{staticClass:"text-background-secondary pr-2"},[e._v("Yes")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.request_for_re_review,expression:"getLearner.request_for_re_review"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"True"},domProps:{checked:e._q(e.getLearner.request_for_re_review,"true")},on:{change:function(t){return e.$set(e.getLearner,"request_for_re_review","true")}}}),r("span",{staticClass:"text-background-secondary px-2"},[e._v("No")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.request_for_re_review,expression:"getLearner.request_for_re_review"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"False"},domProps:{checked:e._q(e.getLearner.request_for_re_review,"false")},on:{change:function(t){return e.$set(e.getLearner,"request_for_re_review","false")}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Re-review status ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.re_review_status,expression:"getLearner.re_review_status"}],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.$set(e.getLearner,"re_review_status",t.target.multiple?a:a[0])}}},[r("option",{attrs:{value:""}},[e._v("Select One")]),e._l(e.rereviewStatusName,(function(t){return r("option",{key:t.Id,domProps:{value:t.Id}},[e._v(e._s(t.name))])}))],2)]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Re-review requested date ")]),r("div",{staticClass:"flex"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.re_review_requested_date,expression:"getLearner.re_review_requested_date"}],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",attrs:{type:"date"},domProps:{value:e.getLearner.re_review_requested_date},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"re_review_requested_date",t.target.value)}}})])]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Status ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.learner_status,expression:"getLearner.learner_status"}],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.$set(e.getLearner,"learner_status",t.target.multiple?a:a[0])}}},e._l(e.statusName,(function(t){return r("option",{key:t.Id,domProps:{value:t.Id}},[e._v(e._s(t.name))])})),0)]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Pass or Fail ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedValue,expression:"selectedValue"}],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.selectedValue=t.target.multiple?a:a[0]}}},e._l(e.passFail,(function(t){return r("option",{key:t.Id,domProps:{value:t.Id}},[e._v(e._s(t.Name))])})),0),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Reviewee ID ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.getLearner.currently_assigned_reviewee,expression:"getLearner.currently_assigned_reviewee"}],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",attrs:{disabled:"",type:"number"},domProps:{value:e.getLearner.currently_assigned_reviewee},on:{input:function(t){t.target.composing||e.$set(e.getLearner,"currently_assigned_reviewee",t.target.value)}}})]),r("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" All Reviewer Comments ")]),r("p",{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",attrs:{disabled:""},domProps:{innerHTML:e._s(e.getLearner.all_reviewer_comments)}})]),r("div",{staticClass:"w-full px-3 text-center mt-4"},[r("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministration"}}},[e._v(" Back ")]),r("button",{directives:[{name:"show",rawName:"v-show",value:e.showUpdateBtn,expression:"showUpdateBtn"}],staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.updateRecord()}}},[e._v("Update")])],1)])])]):e._e(),e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl -text-blue-900"},[e._v("Learner Journey")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",[a("strong",[e._v("View Learner Submission:")])])}],s=(a("fc6e"),a("6610")),o=a("1dba"),i=a.n(o),l=a("f9e0"),c=a.n(l),u=a("26fa");const d=async(e,t)=>{let a;return await u["a"].get(`${e}/${t}`).then(e=>(a=e.data,a)),a},f=async(e,t)=>{try{let a;return await u["a"].post(e,t).then(e=>(console.log("prsigned Response",e),a=e.data.preSignedUrl,a)),a}catch(a){return a}},p=async(e,t)=>{try{let a;return await u["a"].post(e,t).then(e=>(console.log("prsigned Response",e),a=e.data.operationData,a)),a}catch(a){return a}};var v=a("8596"),m=a("425e"),g=Object(s["b"])({name:"OperationalTabDetails",props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(s["f"])(e.query.learner_task_id),a=Object(s["f"])(),r=Object(s["f"])(),n=Object(s["f"])(),o=Object(s["f"])(),l=Object(s["f"])(),u=Object(s["f"])(),g=Object(s["f"])(),b=Object(s["f"])(!1),h=Object(s["f"])(!1),y=Object(s["f"])(),w=Object(s["f"])(!1),_=Object(s["f"])(!0),x=Object(s["f"])(),k=[{Id:"undefined",Name:"select"},{Id:"Pass",Name:"Pass"},{Id:"Fail",Name:"Fail"}],C=[{Id:"Not Started",name:"Not Started"},{Id:"Registered",name:"Registered"},{Id:"Submitted",name:"Submitted"},{Id:"Need Reviewer",name:"Need Reviewer"},{Id:"Need Reviewee",name:"Need Reviewee"},{Id:"Need Reviewer and Need Reviewee",name:"Need Reviewer and Need Reviewee"},{Id:"Passed",name:"Passed"},{Id:"Fail",name:"Fail"},{Id:"Done",name:"Done"}],O=[{Id:"Re-review Accepted Proxy Assigned",name:"Re-review Accepted Proxy Assigned"},{Id:"Re-review Accepted Proxy Unavailable",name:"Re-review Accepted Proxy Unavailable"},{Id:"Complete",name:"Complete"}],L=async()=>{try{a.value=!1;const e=await d("/learnerDetails",t.value);r.value=e.learnerDetails,n.value=e.otherDetails,r&&(console.log("Learner Status",r.value.learner_status),r.value.re_review_status||(r.value.re_review_status=!1),r.value.registration_date&&(r.value.registration_date=c()(r.value.registration_date).format("YYYY-MM-DD")),r.value.submission_date&&(r.value.submission_date=c()(r.value.submission_date).format("YYYY-MM-DD")),r.value.completion_date&&(r.value.completion_date=c()(r.value.completion_date).format("YYYY-MM-DD"),console.log("completion Date",r.value.completion_date)),r.value.reviewee_assigned_time&&(r.value.reviewee_assigned_time=c()(r.value.reviewee_assigned_time).format("YYYY-MM-DD")),r.value.re_review_requested_date&&(r.value.re_review_requested_date=c()(r.value.re_review_requested_date).format("YYYY-MM-DD")),console.log("status",r.value.learner_status),"Passed"!==r.value.learner_status&&"Fail"!==r.value.learner_status&&(console.log("inside status"),r.value.pass_or_fail=null),"Registered"!==r.value.learner_status&&null!==r.value.learner_status||(_.value=!1)),l.value=r.value.pass_or_fail,a.value=!0}catch(e){console.log(e)}},j=async()=>{try{console.log("Task Completion Date",r.value.completion_date),console.log("Task Completion Date",typeof r.value.completion_date),void 0===l.value&&(l.value=""),l.value&&(r.value.pass_or_fail=l.value),a.value=!1,r.value.completion_date=c()(r.value.completion_date).utc().format(),console.log("Get Learner Value with utc",r.value);const e=await p("/updateLearnerJourney",r.value);await L(),a.value=!0,y.value=e,h.value=!0,setTimeout(()=>{h.value=!1},6e3)}catch(n){if(i.a.isAxiosError(n)){var e,t;const r=n;console.log(null===(e=r.response)||void 0===e?void 0:e.data),a.value=!0,y.value=null===(t=r.response)||void 0===t?void 0:t.data.message,console.log("errorMessage.value "+u.value),w.value=!0,setTimeout(()=>{w.value=!1},6e3)}}},S=async()=>{try{const e={file_name:r.value.learner_submission,task_id:r.value.learner_task_id};a.value=!1,o.value=await f("/v1/pretAuthUrlForDownload",e),await Object(m["a"])(o.value,r.value.learner_submission),a.value=!0}catch(e){console.log("Save Task Data",e)}};return Object(s["c"])(async()=>{const e=await Object(v["g"])("/getUserRole");g.value=e.user_roles,g.value.length>0?g.value.includes("System Admin")&&(b.value=!0):b.value=!1,await L()}),{renderReady:a,getLearner:r,preSignedUrl:o,selectedValue:l,passFail:k,updateRecord:j,errorMessage:u,learnerSubmissionClicked:S,loggedInUserRoles:g,showUpdateBtn:b,statusName:C,showSuccessMessage:h,resMessage:y,showErrorMessage:w,showdonwloadBtn:_,completionDate:x,learnerOtherDetails:n,rereviewStatusName:O}}}),b=g,h=(a("b69c"),a("b709")),y=Object(h["a"])(b,r,n,!1,null,"167508a7",null);t["default"]=y.exports},"675e":function(e,t,a){"use strict";a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"e",(function(){return s})),a.d(t,"d",(function(){return l}));var r=a("26fa");const n=async(e,t)=>{const a=await r["a"].post(e,t);return a},s=async(e,t)=>{let a;const r=await fetch(""+e,{method:"put",body:t});return a=r,a},o=async e=>{const t=await r["a"].get("/task/"+e);return t},i=async(e,t)=>{const a=await r["a"].post(e,{learner_task_id:t});return a},l=async(e,t)=>{const a=await r["a"].post(e,t);return a}},"6c7d":function(e,t,a){"use strict";var r=a("8a5d"),n=a("3884"),s=a("5df9"),o=a("93f9"),i=a("76b7"),l=a("112f"),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new s,response:new s}}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&&l.assertOptions(a,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var r=[],n=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(n=n&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var s,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!n){var d=[o,void 0];Array.prototype.unshift.apply(d,r),d=d.concat(u),s=Promise.resolve(t);while(d.length)s=s.then(d.shift(),d.shift());return s}var f=t;while(r.length){var p=r.shift(),v=r.shift();try{f=p(f)}catch(m){v(m);break}}try{s=o(f)}catch(m){return Promise.reject(m)}while(u.length)s=s.then(u.shift(),u.shift());return s},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),n(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.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}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,a,r){return this.request(i(r||{},{method:e,url:t,data:a}))}})),e.exports=u},"76b7":function(e,t,a){"use strict";var r=a("8a5d");e.exports=function(e,t){t=t||{};var a={};function n(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(a){return r.isUndefined(t[a])?r.isUndefined(e[a])?void 0:n(void 0,e[a]):n(e[a],t[a])}function o(e){if(!r.isUndefined(t[e]))return n(void 0,t[e])}function i(a){return r.isUndefined(t[a])?r.isUndefined(e[a])?void 0:n(void 0,e[a]):n(void 0,t[a])}function l(a){return a in t?n(e[a],t[a]):a in e?n(void 0,e[a]):void 0}var c={url:o,method:o,data:o,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:l};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||s,n=t(e);r.isUndefined(n)&&t!==l||(a[e]=n)})),a}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,a){"use strict";var r=a("8a5d");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");function n(e){var r=e;return t&&(a.setAttribute("href",r),r=a.href),a.setAttribute("href",r),{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=n(window.location.href),function(t){var a=r.isString(t)?n(t):t;return a.protocol===e.protocol&&a.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,a){"use strict";var r=a("82ac");function n(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,r=a._listeners.length;for(t=0;t<r;t++)a._listeners[t](e);a._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){a.subscribe(e),t=e})).then(e);return r.cancel=function(){a.unsubscribe(t)},r},e((function(e){a.reason||(a.reason=new r(e),t(a.reason))}))}n.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},n.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},n.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},n.source=function(){var e,t=new n((function(t){e=t}));return{token:t,cancel:e}},e.exports=n},"82ac":function(e,t,a){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},8596:function(e,t,a){"use strict";a.d(t,"y",(function(){return n})),a.d(t,"t",(function(){return s})),a.d(t,"u",(function(){return o})),a.d(t,"e",(function(){return i})),a.d(t,"x",(function(){return l})),a.d(t,"z",(function(){return c})),a.d(t,"r",(function(){return u})),a.d(t,"s",(function(){return d})),a.d(t,"f",(function(){return f})),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 g})),a.d(t,"o",(function(){return b})),a.d(t,"p",(function(){return h})),a.d(t,"m",(function(){return y})),a.d(t,"k",(function(){return w})),a.d(t,"l",(function(){return _})),a.d(t,"A",(function(){return x})),a.d(t,"C",(function(){return k})),a.d(t,"w",(function(){return C})),a.d(t,"n",(function(){return O})),a.d(t,"i",(function(){return L})),a.d(t,"g",(function(){return j})),a.d(t,"a",(function(){return S})),a.d(t,"B",(function(){return P})),a.d(t,"b",(function(){return N})),a.d(t,"d",(function(){return A})),a.d(t,"c",(function(){return E}));var r=a("26fa");const n=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},m=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},g=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},b=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},h=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},w=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},_=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{const t=await r["a"].get(e);return t},k=async e=>{const t=await r["a"].get(e);return t},C=async e=>{const t=await r["a"].get(e);return t},O=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},L=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},S=async e=>{const t=await r["a"].post("/user/role",e);return t},P=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},N=async()=>{const e=await r["a"].get("role");return e},A=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},E=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},"881a":function(e,t,a){"use strict";a("1495")},"8a5d":function(e,t,a){"use strict";var r=a("1464"),n=Object.prototype.toString;function s(e){return Array.isArray(e)}function o(e){return"undefined"===typeof e}function i(e){return null!==e&&!o(e)&&null!==e.constructor&&!o(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"[object ArrayBuffer]"===n.call(e)}function c(e){return"[object FormData]"===n.call(e)}function u(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer),t}function d(e){return"string"===typeof e}function f(e){return"number"===typeof e}function p(e){return null!==e&&"object"===typeof e}function v(e){if("[object Object]"!==n.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function m(e){return"[object Date]"===n.call(e)}function g(e){return"[object File]"===n.call(e)}function b(e){return"[object Blob]"===n.call(e)}function h(e){return"[object Function]"===n.call(e)}function y(e){return p(e)&&h(e.pipe)}function w(e){return"[object URLSearchParams]"===n.call(e)}function _(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 k(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),s(e))for(var a=0,r=e.length;a<r;a++)t.call(null,e[a],a,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.call(null,e[n],n,e)}function C(){var e={};function t(t,a){v(e[a])&&v(t)?e[a]=C(e[a],t):v(t)?e[a]=C({},t):s(t)?e[a]=t.slice():e[a]=t}for(var a=0,r=arguments.length;a<r;a++)k(arguments[a],t);return e}function O(e,t,a){return k(t,(function(t,n){e[n]=a&&"function"===typeof t?r(t,a):t})),e}function L(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:s,isArrayBuffer:l,isBuffer:i,isFormData:c,isArrayBufferView:u,isString:d,isNumber:f,isObject:p,isPlainObject:v,isUndefined:o,isDate:m,isFile:g,isBlob:b,isFunction:h,isStream:y,isURLSearchParams:w,isStandardBrowserEnv:x,forEach:k,merge:C,extend:O,trim:_,stripBOM:L}},"8ef1":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"admin"},[r("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),r("div",{staticClass:"w-full mb-8 tableScroll"},[r("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[e._m(1),r("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.eventData,(function(t){return r("tr",{key:t.id,staticClass:"border-b hover:bg-gray-300"},[r("td",{staticClass:"p-2 px-3 text-left",attrs:{title:t.desc}},[e._v(e._s(t.desc))]),r("td",{staticClass:"p-2 px-3 text-center"},[e._v(e._s(t.created_date))]),r("td",{staticClass:"p-2 px-3 text-left"},[e._v(e._s(t.sub_event_type))])])})),0)])]),r("div",{staticClass:"w-full px-3 text-center mt-4"},[r("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministration"}}},[e._v(" Back ")])],1),e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Learner Events")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",{staticClass:"opacity-90 -text-blue-800"},[a("tr",{staticClass:"border-b"},[a("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[e._v("Event Details")]),a("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("Event Date")]),a("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[e._v("Status")])])])}],s=a("6610"),o=a("f9e0"),i=a.n(o),l=a("26fa");const c=async(e,t)=>{try{let a;return console.log("parameter data",t),await l["a"].post(e,t).then(e=>(a=e.data.eventDeatils,a)),a}catch(a){return a}};var u=Object(s["b"])({name:"LearnerEvents",props:{query:{type:Object,default:()=>({})}},setup(e){const t=Object(s["f"])(),a=Object(s["f"])(e.query.learner_task_id),r=Object(s["f"])(!0),n=async()=>{r.value=!1;const e=await c("/v1/getSolidifyEventByTaskId",{learner_task_id:a.value}),n=e.sort((e,t)=>i()(t.created_date).utc().unix()-i()(e.created_date).utc().unix());for(let t=0;t<n.length;t+=1){const e=n[t];e.created_date=i()(e.created_date).format("DD-MM-YYYY hh:mm:ss a")}t.value=n,r.value=!0};return Object(s["c"])(async()=>{await n()}),{eventData:t,renderReady:r}}}),d=u,f=(a("aad4"),a("b709")),p=Object(f["a"])(d,r,n,!1,null,"8c4babd2",null);t["default"]=p.exports},"93f9":function(e,t,a){"use strict";var r=a("8a5d"),n=a("5cd4"),s=a("0323"),o=a("cc3a"),i=a("82ac");function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){l(e),e.headers=e.headers||{},e.data=n.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||o.adapter;return t(e).then((function(t){return l(e),t.data=n.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(l(e),t&&t.response&&(t.response.data=n.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},9689:function(e,t,a){var r=a("a661");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("4eeb0058",r,!0,{sourceMap:!1,shadowMode:!1})},"974a":function(e,t,a){var r=a("34a0");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("348f8ea4",r,!0,{sourceMap:!1,shadowMode:!1})},"9a62":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"admin"},[e.showScreen?r("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),r("div",{staticClass:"w-full mt-4"},[r("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[r("div",{staticClass:"flex w-full mt-6"},[r("div",{staticClass:"w-full pr-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Search by OHR/email ")]),r("input",{directives:[{name:"model",rawName:"v-model",value:e.ohrEmail,expression:"ohrEmail"}],staticClass:"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.ohrEmail},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchData()},keydown:e.showHideCancel,input:function(t){t.target.composing||(e.ohrEmail=t.target.value)}}})]),r("div",{staticClass:"w-full pr-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),r("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)}]}},[r("option",[e._v("Select Skill")]),e._l(e.skills,(function(t){return r("option",{key:t.skill_id,domProps:{value:t.skill_id}},[e._v(e._s(t.skill_alias))])}))],2)]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.showProficiency,expression:"showProficiency"}],staticClass:"w-full pr-3 mb-4"},[r("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),r("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)}]}},[r("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(t){return r("option",{key:t.prof_id,domProps:{value:t.prof_id}},[e._v(e._s(t.prof_name))])}))],2)]),r("div",{staticClass:"w-full mb-4"},[r("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchData()}}},[e._v("Search")])])])])]),r("div",{staticClass:"flex w-full mt-2"},[r("div",{staticClass:"mt-10 text-left w-4/6 mb-2"},[e.showdiffAccess?r("label",{staticClass:"block tracking-wide -text-blue-800 font-normal"},[r("span",{staticClass:"opacity-80"},[e._v("Differential access status -")]),e._v(" "),r("span",{staticClass:"capitalize text-background-secondary font-bold"},[e._v(e._s(e.diffAccess))])]):e._e()]),r("div")]),r("div",{staticClass:"flex w-full"},[r("div",{staticClass:"w-full pr-3 mb-4"},[r("button",{directives:[{name:"show",rawName:"v-show",value:e.journeyBtnShow,expression:"journeyBtnShow"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewLearnerDetails()}}},[e._v("Learner Journey")]),r("button",{directives:[{name:"show",rawName:"v-show",value:e.showEventBtn,expression:"showEventBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewEvents()}}},[e._v("View Events")]),r("button",{directives:[{name:"show",rawName:"v-show",value:e.showGradBtn,expression:"showGradBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.viewGrades()}}},[e._v("View Grades")]),r("button",{directives:[{name:"show",rawName:"v-show",value:e.showDeleteBtn,expression:"showDeleteBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.DeleteLearnerDetails()}}},[e._v("Delete")]),r("button",{directives:[{name:"show",rawName:"v-show",value:e.showUploadBtn,expression:"showUploadBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showTaskImport=!0}}},[e._v("Upload Learner Submission")]),r("button",{directives:[{name:"show",rawName:"v-show",value:e.showPlagiarismBtn,expression:"showPlagiarismBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showProxy()}}},[e._v("Re-evaluate Plagiarism")])])]),e.showSuccessMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?r("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showReEvaluatePanel?r("div",{staticClass:"w-full mt-4% mb-4"},[r("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?r("div",{staticClass:"w-1/4 pr-3 mb-4"},[r("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Assign Proxy")])]):e._e(),r("div",{staticClass:"w-full mt-4"},[r("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(1),r("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(t){return r("tr",{key:t.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[r("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:t.proxy_ohr},domProps:{value:t.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,t.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(a){var r=e.selectedProxyOhr,n=a.target,s=!!n.checked;if(Array.isArray(r)){var o=t.proxy_ohr,i=e._i(r,o);n.checked?i<0&&(e.selectedProxyOhr=r.concat([o])):i>-1&&(e.selectedProxyOhr=r.slice(0,i).concat(r.slice(i+1)))}else e.selectedProxyOhr=s},function(t){return e.showAssignProxyBtn(t)}],click:e.proxyCheckedOne}})]),r("td",{staticClass:"p-2 px-3"},[e._v(e._s(t.email))]),r("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(t.proxy_ohr))])])})),0)])])]):e._e(),e.showTaskImport?r("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[r("div",{staticClass:"flex"},[r("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?r("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?r("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),r("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.submitSubmiision}},[e._v("Upload Learner Submission")])]):e._e(),e.learnerData?r("div",{staticClass:"w-full mb-8 tableScroll"},[r("table",{staticClass:"text-left w-full text-md bg-white shadow rounded mb-4"},[e._m(2),r("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.learnerData,(function(t){return r("tr",{key:t.learner_task_id,staticClass:"border-b hover:bg-gray-300"},[r("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.checkOne,expression:"checkOne"}],attrs:{type:"checkbox"},domProps:{value:t.learner_task_id,checked:Array.isArray(e.checkOne)?e._i(e.checkOne,t.learner_task_id)>-1:e.checkOne},on:{change:[function(a){var r=e.checkOne,n=a.target,s=!!n.checked;if(Array.isArray(r)){var o=t.learner_task_id,i=e._i(r,o);n.checked?i<0&&(e.checkOne=r.concat([o])):i>-1&&(e.checkOne=r.slice(0,i).concat(r.slice(i+1)))}else e.checkOne=s},function(a){return e.showJourneyBtn(a,t.learner_task_id,t.learner_status,t.is_plagiarised,t.skill,t.proficiency,t.learner_key)}],click:e.checkedOne}})]),r("td",{staticClass:"p-2 px-3",attrs:{title:t.fullname}},[e._v(e._s(t.fullname))]),r("td",{staticClass:"p-2 px-3",attrs:{title:t.email}},[e._v(e._s(t.email))]),r("td",{staticClass:"p-2 px-3 text-center",attrs:{title:t.learner_key}},[e._v(e._s(t.learner_key))]),r("td",{staticClass:"p-2 px-3",attrs:{title:t.proficiencyName}},[e._v(e._s(t.proficiencyName))]),r("td",{staticClass:"p-2 px-3",attrs:{title:t.skillName}},[e._v(e._s(t.skillName))]),r("td",{staticClass:"p-2 px-3",attrs:{title:t.learner_status}},[e._v(e._s(t.learner_status))]),r("td",{staticClass:"p-2 px-3",attrs:{title:t.registration_date}},[e._v(e._s(t.registration_date))]),r("td",{staticClass:"p-2 px-3",attrs:{title:t.submission_date}},[e._v(e._s(t.submission_date))]),r("td",{staticClass:"p-2 px-3",attrs:{title:t.completion_date}},[e._v(e._s(t.completion_date))])])})),0)])]):e._e(),e.renderReady?e._e():r("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[r("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),r("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):r("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")])])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Operational data")])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",{staticClass:"opacity-90 -text-blue-800"},[a("tr",{staticClass:"border-b"},[a("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),a("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("thead",{staticClass:"opacity-90 -text-blue-800"},[a("tr",{staticClass:"border-b"},[a("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Full name")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Email")]),a("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("OHR")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Skill")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Status")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Registration Date")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Submission Date")]),a("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Completion Date")])])])}],s=(a("fc6e"),a("6610")),o=a("f9e0"),i=a.n(o),l=a("26fa");const c=async(e,t)=>{let a;return await l["a"].post(e,t).then(e=>(a=e.data,a)),a},u=async(e,t)=>{let a;return await l["a"].post(e,t).then(e=>(a=e.data,a)),a},d=async(e,t)=>{const a=await l["a"].post(e,t);return a},f=async e=>{let t;return await l["a"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await l["a"].get(e).then(e=>(t=e.data,t)),t};var v=a("8596"),m=a("afbc"),g=a("675e"),b=a("6235"),h=a("1dba"),y=a.n(h),w=Object(s["b"])({name:"OperationalTab",setup(){const e=Object(s["f"])(),t=Object(s["f"])(),a=Object(s["f"])(),r=Object(s["f"])(),n=Object(s["f"])(),o=Object(s["f"])(!0),l=Object(s["f"])(!1),h=Object(s["f"])(!1),w=Object(s["f"])(!1),_=Object(s["f"])([]),x=Object(s["f"])(!1),k=Object(s["f"])(!1),C=Object(s["f"])(!1),O=Object(s["f"])(!1),L=Object(s["f"])(),j=Object(s["f"])(),S=Object(s["f"])(!0),P=Object(s["f"])(),N=Object(s["f"])(!1),A=Object(s["f"])(!1),E=Object(s["f"])(!1),D=Object(s["f"])(!1),R=Object(s["f"])(),T=Object(s["f"])(),M=Object(s["f"])(),B=Object(s["f"])(),U=Object(s["f"])(),$=Object(s["f"])(),q=Object(s["f"])("Select Skill"),I=Object(s["f"])("Select Proficiency"),Y={},F=Object(s["f"])(!1),J=Object(s["f"])(!1),G=Object(s["f"])(),H=Object(s["f"])(),V=Object(s["f"])(),z=Object(s["f"])(),X=Object(s["f"])([]),W=Object(s["f"])(!1),Q=Object(s["f"])(),K=Object(s["f"])(!1),Z=()=>{_.value=[]},ee=()=>{X.value=[]},te=(e,t,a,r,n,s,o)=>{const i=e.target.checked;!0===i?(E.value=!1,x.value=!0,k.value=!0,C.value=!0,O.value=!0,L.value=t,G.value=n,z.value=o,H.value=s,console.log("Learner OHR "+z.value),localStorage.setItem("inputValue",P.value),"Registered"===a&&j.value.includes("System Admin")?h.value=!0:h.value=!1,F.value=!0===r):(x.value=!1,k.value=!1,h.value=!1,C.value=!1,F.value=!1,E.value=!1)},ae=()=>{m["a"].push({path:"administration/OperationalTabDetails",query:{learner_task_id:L.value}})},re=()=>{m["a"].push({path:"administration/learnerevents",query:{learner_task_id:L.value}})},ne=()=>{m["a"].push({path:"administration/Learnergrades",query:{learner_task_id:L.value}})},se=async()=>{o.value=!1;const e=await p("/getAllSkillProf ");t.value=e.skill,a.value=e.proficiency,o.value=!0},oe=async()=>{try{E.value=!1,o.value=!1;const t=await c("/getAllOperationData",Y);if(e.value=t.operationData,e.value)for(let a=0;a<e.value.length;a+=1){const t=e.value[a];t.registration_date&&(t.registration_date=i()(t.registration_date).format("DD-MM-YYYY")),t.completion_date&&(t.completion_date=i()(t.completion_date).format("DD-MM-YYYY")),t.submission_date&&(t.submission_date=i()(t.submission_date).format("DD-MM-YYYY"))}localStorage.removeItem("inputValue"),localStorage.getItem("diff_access_status")&&(R.value=localStorage.getItem("diff_access_status"),N.value=!0),o.value=!0}catch(t){console.log(t)}},ie=async()=>{P.value&&(Object.assign(Y,{ohrEmail:P.value}),await oe())},le=async()=>{o.value=!1,await f("/deleteRegisteredLearner/"+L.value),await oe(),o.value=!0},ce=()=>{P.value="",w.value=!1},ue=()=>{P.value?w.value=!0:w.value=!1},de=async e=>{try{const t=e.target.files[0],a=e.target.files[0].name,r=e.target.files[0].size/1024/1024;r>200?(B.value="fileSize greater than 200 MB",setTimeout(()=>{B.value=null},6e3)):(T.value=t,M.value=a)}catch(t){console.log(t)}},fe=async()=>{if(M.value){o.value=!1;const e=await Object(g["a"])("/v1/pretAuthUrlForUploadLearner",{file_name:M.value,learner_task_id:L.value}),t=e.data;$.value=t.preSignedUrl;const a=await Object(g["e"])($.value,T.value);if(console.log("Upload Response",a),200===a.status){const e={learner_submission:M.value,learner_task_id:L.value},t=await u("/uploadLearnerSubmissionFromAdmin",e);console.log(t),U.value="File uploaded Successfully",setTimeout(()=>{U.value=null,A.value=!1,oe()},6e3)}else B.value="There is issue in the file upload",setTimeout(()=>{B.value=null},6e3);o.value=!0}},pe=async e=>{I.value=e.target.value,"Select Proficiency"===I.value?(I.value="Select Proficiency",Object.assign(Y,{proficiency_id:""})):Object.assign(Y,{proficiency_id:I.value})},ve=async e=>{q.value=e.target.value,"Select Skill"===q.value?(q.value="Select Skill",D.value=!1,Object.assign(Y,{skill_id:"",proficiency_id:""})):(Object.assign(Y,{skill_id:q.value}),D.value=!0)},me=async()=>{o.value=!1,E.value=!0,V.value=await Object(b["b"])("/getAllProxyBySkill",G.value),o.value=!0,console.log("Proxy List",V.value)},ge=async()=>{console.log("Assign Proxy");try{o.value=!1;const e={learner:L.value,proxy_key:X.value[0],learner_key:z.value,skill:G.value,proficiency:H.value};console.log("Selected Data",e);const t=await d("/reevaluatePlagiarism",e);E.value=!1,o.value=!0,console.log("assignProxyRes?.data.message",null===t||void 0===t?void 0:t.data.message),Q.value=null===t||void 0===t?void 0:t.data.message,W.value=!0,setTimeout(()=>{W.value=!1},6e3),await oe()}catch(a){if(y.a.isAxiosError(a)){var e,t;const r=a;console.log("err.response?.data",null===(e=r.response)||void 0===e?void 0:e.data),o.value=!0,Q.value=null===(t=r.response)||void 0===t?void 0:t.data.message,console.log("errorMessage.value "+B.value),K.value=!0,setTimeout(()=>{K.value=!1},6e3)}}},be=async e=>{const t=e.target.checked;J.value=!0===t};return Object(s["c"])(async()=>{const e=await Object(v["g"])("/getUserRole");j.value=e.user_roles,j.value.length>0&&(j.value.includes("System Admin")||j.value.includes("System Admin View Access")||j.value.includes("Program Admin")?(console.log("inside Role"),S.value=!0,await se()):S.value=!1),localStorage.getItem("inputValue")&&(P.value=localStorage.getItem("inputValue"),Object.assign(Y,{ohrEmail:localStorage.getItem("inputValue")}),await oe())}),{learnerData:e,skills:t,proficiency:a,programme:r,status:n,showOperationTab:l,renderReady:o,checkOne:_,checkedOne:Z,showJourneyBtn:te,journeyBtnShow:x,viewLearnerDetails:ae,ohrEmail:P,searchData:ie,showDeleteBtn:h,DeleteLearnerDetails:le,isShowCancel:w,clearInput:ce,showHideCancel:ue,showEventBtn:k,viewEvents:re,showGradBtn:C,viewGrades:ne,showScreen:S,showdiffAccess:N,diffAccess:R,showUploadBtn:O,submitSubmiision:fe,showTaskImport:A,selectedFile:de,preSignedUrl:$,successMessage:U,errorMessage:B,getSkillandProf:se,getSelectedSkill:ve,selectedProficiency:I,selectedSkill:q,getSelectedProficiency:pe,showProficiency:D,showPlagiarismBtn:F,showReEvaluatePanel:E,checkedSkill:G,showProxy:me,proxyList:V,proxyAssignedBtn:J,assignLearnerToProxy:ge,selectedProxyOhr:X,showAssignProxyBtn:be,showSuccessMessage:W,resMessage:Q,showErrorMessage:K,proxyCheckedOne:ee}}}),_=w,x=(a("881a"),a("b709")),k=Object(x["a"])(_,r,n,!1,null,"6076e916",null);t["default"]=k.exports},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},a2ba:function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-6076e916]{position:fixed;top:30%;left:42%}.tableScroll[data-v-6076e916]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},a417:function(e,t,a){"use strict";e.exports=function(e,t,a,r,n){return e.config=t,a&&(e.code=a),e.request=r,e.response=n,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}},a661:function(e,t,a){var r=a("a8d8");t=r(!1),t.push([e.i,".pageLoader[data-v-62962c7b]{position:fixed;top:30%;left:42%}.tableScroll[data-v-62962c7b]{max-height:50vh;overflow-y:auto}",""]),e.exports=t},aa01:function(e,t,a){"use strict";var r=a("fccd");e.exports=function(e,t,a){var n=a.config.validateStatus;a.status&&n&&!n(a.status)?t(r("Request failed with status code "+a.status,a.config,null,a.request,a)):e(a)}},aad4:function(e,t,a){"use strict";a("e556")},b69c:function(e,t,a){"use strict";a("974a")},c279:function(e,t,a){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},c8f7:function(e,t,a){"use strict";a("9689")},cad9:function(e,t,a){(function(e){function a(e,t){for(var a=0,r=e.length-1;r>=0;r--){var n=e[r];"."===n?e.splice(r,1):".."===n?(e.splice(r,1),a++):a&&(e.splice(r,1),a--)}if(t)for(;a--;a)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,a=0,r=-1,n=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!n){a=t+1;break}}else-1===r&&(n=!1,r=t+1);return-1===r?"":e.slice(a,r)}function n(e,t){if(e.filter)return e.filter(t);for(var a=[],r=0;r<e.length;r++)t(e[r],r,e)&&a.push(e[r]);return a}t.resolve=function(){for(var t="",r=!1,s=arguments.length-1;s>=-1&&!r;s--){var o=s>=0?arguments[s]:e.cwd();if("string"!==typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,r="/"===o.charAt(0))}return t=a(n(t.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+t||"."},t.normalize=function(e){var r=t.isAbsolute(e),o="/"===s(e,-1);return e=a(n(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&o&&(e+="/"),(r?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(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 r(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 n=r(e.split("/")),s=r(a.split("/")),o=Math.min(n.length,s.length),i=o,l=0;l<o;l++)if(n[l]!==s[l]){i=l;break}var c=[];for(l=i;l<n.length;l++)c.push("..");return c=c.concat(s.slice(i)),c.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,r=-1,n=!0,s=e.length-1;s>=1;--s)if(t=e.charCodeAt(s),47===t){if(!n){r=s;break}}else n=!1;return-1===r?a?"/":".":a&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var a=r(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,r=-1,n=!0,s=0,o=e.length-1;o>=0;--o){var i=e.charCodeAt(o);if(47!==i)-1===r&&(n=!1,r=o+1),46===i?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!n){a=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===a+1?"":e.slice(t,r)};var s="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 r=a("8a5d"),n=a("386e"),s=a("a417"),o={"Content-Type":"application/x-www-form-urlencoded"};function i(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function l(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=a("e50c")),e}function c(e,t,a){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(n){if("SyntaxError"!==n.name)throw n}return(a||JSON.stringify)(e)}var u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:l(),transformRequest:[function(e,t){return n(t,"Accept"),n(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(i(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(i(t,"application/json"),c(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,a=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,o=!a&&"json"===this.responseType;if(o||n&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw s(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, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(o)})),e.exports=u}).call(this,a("0418"))},e206:function(e,t,a){"use strict";a.d(t,"e",(function(){return n})),a.d(t,"c",(function(){return s})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"g",(function(){return l})),a.d(t,"h",(function(){return c})),a.d(t,"i",(function(){return u})),a.d(t,"f",(function(){return d})),a.d(t,"d",(function(){return f}));var r=a("26fa");const n=async e=>{const t=await r["a"].get("assignProxyToCohortLearner/"+e);return t},s=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.AllGrade,t)),t},i=async(e,t)=>{try{let a;return console.log("programName "+t),await r["a"].get("/skill/edcast/"+e).then(async e=>{a=e.data;const t=document.createElement("a");return t.href=a,t.click(),URL.revokeObjectURL(t.href),a}),a}catch(a){return a}},l=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},c=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},u=async(e,t)=>{try{const a=await fetch(""+e,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},d=async e=>{try{let t;return await r["a"].post("/program/proxy",e).then(e=>(t=e.data,t)),t}catch(t){return t}},f=async e=>{try{let t;return await r["a"].get("/program/report/"+e).then(e=>(t=e.data,t)),t}catch(t){return t}}},e50c:function(e,t,a){"use strict";var r=a("8a5d"),n=a("aa01"),s=a("2998"),o=a("3884"),i=a("639e"),l=a("4af6"),c=a("7f31"),u=a("fccd"),d=a("cc3a"),f=a("82ac");e.exports=function(e){return new Promise((function(t,a){var p,v=e.data,m=e.headers,g=e.responseType;function b(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(v)&&delete m["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(y+":"+w)}var _=i(e.baseURL,e.url);function x(){if(h){var r="getAllResponseHeaders"in h?l(h.getAllResponseHeaders()):null,s=g&&"text"!==g&&"json"!==g?h.response:h.responseText,o={data:s,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};n((function(e){t(e),b()}),(function(e){a(e),b()}),o),h=null}}if(h.open(e.method.toUpperCase(),o(_,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=x:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(x)},h.onabort=function(){h&&(a(u("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){a(u("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),a(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||c(_))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;k&&(m[e.xsrfHeaderName]=k)}"setRequestHeader"in h&&r.forEach(m,(function(e,t){"undefined"===typeof v&&"content-type"===t.toLowerCase()?delete m[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),g&&"json"!==g&&(h.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){h&&(a(!e||e&&e.type?new f("canceled"):e),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),v||(v=null),h.send(v)}))}},e556:function(e,t,a){var r=a("0ce8");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var n=a("c69b").default;n("fae6472a",r,!0,{sourceMap:!1,shadowMode:!1})},fccd:function(e,t,a){"use strict";var r=a("a417");e.exports=function(e,t,a,n,s){var o=new Error(e);return r(o,t,a,n,s)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministration.js.map
|