@genpact/genome.mfe.solidify-app 1.17.2-alpha.13 → 1.17.2-alpha.132
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/img/UNDERMAINTENANCEoffborder.gif +0 -0
- package/dist/index.html +1 -4
- package/dist/js/LearnerRereview.js +1 -1
- package/dist/js/LearnerRereview.js.map +1 -1
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js +2 -0
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -0
- package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskDetails.js +4 -4
- package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js +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/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -1
- package/dist/js/SolidifyLearner.js +2 -2
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerError.js +1 -1
- package/dist/js/SolidifyLearnerError.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/SystemUnderMaintenance.js +1 -1
- package/dist/js/SystemUnderMaintenance.js.map +1 -1
- package/dist/js/app.js +143 -143
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-c84d4944.js +2 -0
- package/dist/js/chunk-c84d4944.js.map +1 -0
- package/package.json +1 -1
- package/dist/img/Genpact_logo.png +0 -0
- package/dist/js/chunk-b735b002.js +0 -2
- package/dist/js/chunk-b735b002.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationMasterAdministration"],{"0323":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"0418":function(e,t,n){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=n("cad9")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"112f":function(e,t,n){"use strict";var r=n("7de8").version,a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var s={};function o(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");var r=Object.keys(e),a=r.length;while(a-- >0){var s=r[a],o=t[s];if(o){var i=e[s],c=void 0===i||o(i,s,e);if(!0!==c)throw new TypeError("option "+s+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+s)}}a.transitional=function(e,t,n){function a(e,t){return"[Axios v"+r+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,o){if(!1===e)throw new Error(a(r," has been removed"+(t?" in "+t:"")));return t&&!s[r]&&(s[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}},e.exports={assertOptions:o,validators:a}},"122c":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e){return r.isObject(e)&&!0===e.isAxiosError}},1464:function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},1501:function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},"1dba":function(e,t,n){e.exports=n("46c8")},"26fa":function(e,t,n){"use strict";n("8244");var r=n("1dba"),a=n.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(n){console.warn(n)}alert("Generic error")}return Promise.reject(e)})};let i="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?i="dev":"uat.genome.genpact.com"===c?i="uat":"genome-eda-rel.azurewebsites.net"===c?i="prod":c.includes("localhost")&&(i="local");let u="";u="local"===i?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${i}/aws/api/genome/solidify`,console.log(" solidify "+u),a.a.defaults.baseURL=u,a.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",o({$http:a.a});t["a"]=a.a},2998:function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,a,s,o){var i=[];i.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),r.isString(a)&&i.push("path="+a),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(){}}}()},"386e":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},3884:function(e,t,n){"use strict";var r=n("8a5d");function a(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,n){if(!t)return e;var s;if(n)s=n(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(a(t)+"="+a(e))})))})),s=o.join("&")}if(s){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+s}return e}},"46c8":function(e,t,n){"use strict";var r=n("8a5d"),a=n("1464"),s=n("6c7d"),o=n("76b7"),i=n("cc3a");function c(e){var t=new s(e),n=a(s.prototype.request,t);return r.extend(n,s.prototype,t),r.extend(n,t),n.create=function(t){return c(o(e,t))},n}var u=c(i);u.Axios=s,u.Cancel=n("82ac"),u.CancelToken=n("823a"),u.isCancel=n("0323"),u.VERSION=n("7de8").version,u.all=function(e){return Promise.all(e)},u.spread=n("c279"),u.isAxiosError=n("122c"),e.exports=u,e.exports.default=u},"4af6":function(e,t,n){"use strict";var r=n("8a5d"),a=["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,n,s,o={};return e?(r.forEach(e.split("\n"),(function(e){if(s=e.indexOf(":"),t=r.trim(e.substr(0,s)).toLowerCase(),n=r.trim(e.substr(s+1)),t){if(o[t]&&a.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}},"5cd4":function(e,t,n){"use strict";var r=n("8a5d"),a=n("cc3a");e.exports=function(e,t,n){var s=this||a;return r.forEach(n,(function(n){e=n.call(s,e,t)})),e}},"5df9":function(e,t,n){"use strict";var r=n("8a5d");function a(){this.handlers=[]}a.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},6136:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"639e":function(e,t,n){"use strict";var r=n("6136"),a=n("1501");e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},"675e":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"e",(function(){return s})),n.d(t,"d",(function(){return c}));var r=n("26fa");const a=async(e,t)=>{const n=await r["a"].post(e,t);return n},s=async(e,t)=>{let n;const r=await fetch(""+e,{method:"put",body:t});return n=r,n},o=async e=>{const t=await r["a"].get("/task/"+e);return t},i=async(e,t)=>{const n=await r["a"].post(e,{learner_task_id:t});return n},c=async(e,t)=>{const n=await r["a"].post(e,t);return n}},"6c7d":function(e,t,n){"use strict";var r=n("8a5d"),a=n("3884"),s=n("5df9"),o=n("93f9"),i=n("76b7"),c=n("112f"),u=c.validators;function l(e){this.defaults=e,this.interceptors={request:new s,response:new s}}l.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 n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));var s,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!a){var d=[o,void 0];Array.prototype.unshift.apply(d,r),d=d.concat(l),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(),m=r.shift();try{f=p(f)}catch(h){m(h);break}}try{s=o(f)}catch(h){return Promise.reject(h)}while(l.length)s=s.then(l.shift(),l.shift());return s},l.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=i(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(i(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(i(r||{},{method:e,url:t,data:n}))}})),e.exports=l},"76b7":function(e,t,n){"use strict";var r=n("8a5d");e.exports=function(e,t){t=t||{};var n={};function a(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(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(e[n],t[n])}function o(e){if(!r.isUndefined(t[e]))return a(void 0,t[e])}function i(n){return r.isUndefined(t[n])?r.isUndefined(e[n])?void 0:a(void 0,e[n]):a(void 0,t[n])}function c(n){return n in t?a(e[n],t[n]):n in e?a(void 0,e[n]):void 0}var u={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:c};return r.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||s,a=t(e);r.isUndefined(a)&&t!==c||(n[e]=a)})),n}},"7de8":function(e,t){e.exports={version:"0.25.0"}},"7f31":function(e,t,n){"use strict";var r=n("8a5d");e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"823a":function(e,t,n){"use strict";var r=n("82ac");function a(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},a.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},a.source=function(){var e,t=new a((function(t){e=t}));return{token:t,cancel:e}},e.exports=a},"82ac":function(e,t,n){"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,n){"use strict";n.d(t,"y",(function(){return a})),n.d(t,"t",(function(){return s})),n.d(t,"u",(function(){return o})),n.d(t,"e",(function(){return i})),n.d(t,"x",(function(){return c})),n.d(t,"z",(function(){return u})),n.d(t,"r",(function(){return l})),n.d(t,"s",(function(){return d})),n.d(t,"f",(function(){return f})),n.d(t,"v",(function(){return p})),n.d(t,"h",(function(){return m})),n.d(t,"j",(function(){return h})),n.d(t,"q",(function(){return g})),n.d(t,"o",(function(){return v})),n.d(t,"p",(function(){return b})),n.d(t,"m",(function(){return y})),n.d(t,"k",(function(){return w})),n.d(t,"l",(function(){return x})),n.d(t,"A",(function(){return C})),n.d(t,"C",(function(){return k})),n.d(t,"w",(function(){return S})),n.d(t,"n",(function(){return _})),n.d(t,"i",(function(){return j})),n.d(t,"g",(function(){return O})),n.d(t,"a",(function(){return A})),n.d(t,"B",(function(){return E})),n.d(t,"b",(function(){return L})),n.d(t,"d",(function(){return R})),n.d(t,"c",(function(){return T}));var r=n("26fa");const a=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},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},l=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},m=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},h=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},v=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},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},x=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data,t)),t},C=async e=>{const t=await r["a"].get(e);return t},k=async e=>{const t=await r["a"].get(e);return t},S=async e=>{const t=await r["a"].get(e);return t},_=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,t)),t},O=async e=>{let t;return await r["a"].get(e).then(e=>(t=e.data.userObj,t)),t},A=async e=>{const t=await r["a"].post("/user/role",e);return t},E=async e=>{const t=await r["a"].post("/user/removeRole",e);return t},L=async()=>{const e=await r["a"].get("role");return e},R=async e=>{const t=await r["a"].post("/user/saveLSS",e);return t},T=async e=>{const t=await r["a"].post("/user/saveEnvAccess",e);return t}},"8a5d":function(e,t,n){"use strict";var r=n("1464"),a=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 c(e){return"[object ArrayBuffer]"===a.call(e)}function u(e){return"[object FormData]"===a.call(e)}function l(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&c(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 m(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function h(e){return"[object Date]"===a.call(e)}function g(e){return"[object File]"===a.call(e)}function v(e){return"[object Blob]"===a.call(e)}function b(e){return"[object Function]"===a.call(e)}function y(e){return p(e)&&b(e.pipe)}function w(e){return"[object URLSearchParams]"===a.call(e)}function x(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function C(){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 n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.call(null,e[a],a,e)}function S(){var e={};function t(t,n){m(e[n])&&m(t)?e[n]=S(e[n],t):m(t)?e[n]=S({},t):s(t)?e[n]=t.slice():e[n]=t}for(var n=0,r=arguments.length;n<r;n++)k(arguments[n],t);return e}function _(e,t,n){return k(t,(function(t,a){e[a]=n&&"function"===typeof t?r(t,n):t})),e}function j(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}e.exports={isArray:s,isArrayBuffer:c,isBuffer:i,isFormData:u,isArrayBufferView:l,isString:d,isNumber:f,isObject:p,isPlainObject:m,isUndefined:o,isDate:h,isFile:g,isBlob:v,isFunction:b,isStream:y,isURLSearchParams:w,isStandardBrowserEnv:C,forEach:k,merge:S,extend:_,trim:x,stripBOM:j}},"93f9":function(e,t,n){"use strict";var r=n("8a5d"),a=n("5cd4"),s=n("0323"),o=n("cc3a"),i=n("82ac");function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new i("canceled")}e.exports=function(e){c(e),e.headers=e.headers||{},e.data=a.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 c(e),t.data=a.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return s(t)||(c(e),t&&t.response&&(t.response.data=a.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},"9d04":function(e,t,n){e.exports=n.p+"img/loadernew.gif"},a417:function(e,t,n){"use strict";e.exports=function(e,t,n,r,a){return e.config=t,n&&(e.code=n),e.request=r,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},aa01:function(e,t,n){"use strict";var r=n("fccd");e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},be40:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[[t("div",{staticClass:"w-full mt-4"},[t("h6",{staticClass:"mb-4"},[e._v("Seed Data")]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedMaster()}}},[e._v("Seed Masters")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.skillSync()}}},[e._v("Invoke Skill Sync Service")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.templateSeed()}}},[e._v("Seed Email Templates")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.cacheSync()}}},[e._v("syncCache")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedDefaultProgram()}}},[e._v("Seed Default Program")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedRoles()}}},[e._v("Seed Roles")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedProxyReviewers()}}},[e._v("Seed Proxy Reviewers")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.seedUser()}}},[e._v("Seed Users")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.diffAccess()}}},[e._v("Diff Access")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"hidden text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.removeDuplicateProxyAssigned()}}},[e._v("Remove Duplicate Proxy Assigned")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"hidden text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.updateS3CohortsModifiedDate()}}},[e._v("Update S3/Cohorts Learner Modified Date")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerofcon()}}},[e._v("Trigger Ofcon")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showImportLSS=!0}}},[e._v("Upload LSS Learners")])]),e.showImportLSS?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadLSSLearners}},[e._v("Upload LSS Learner")]),e.renderReady1?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),t("div",{staticClass:"w-full"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showEnvAccess=!0}}},[e._v("Upload Env Access Learners")])]),e.showEnvAccess?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadEnvAccessLearners}},[e._v("Upload Env Access Learners")]),e.renderReady1?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),t("div",{staticClass:"w-full"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){e.showServiceLineSkills=!0}}},[e._v("Upload Service_line_skills_GF_Event_ID")])]),e.showServiceLineSkills?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.uploadServiceLineSkillsGFEventIDs}},[e._v("Upload Service_line_skills_GF_Event_ID")]),e.renderReady1?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):e._e(),t("h6",{staticClass:"mb-4"},[e._v("Migrate Cohorts")]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohort()}}},[e._v("Migrate Cohorts")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohortLA()}}},[e._v("Trigger Cohort LA")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateCohortReview()}}},[e._v("Trigger Cohort Reviews")])]),t("h6",{staticClass:"mb-4"},[e._v("Migrate S2")]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS2Tasks()}}},[e._v("Migrate S2 Tasks")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS2LAImport()}}},[e._v("Import S2 LA")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS2LAMigrate()}}},[e._v("Trigger S2 LA")])])]),t("h6",{staticClass:"mb-4"},[e._v("Migrate S3")]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS3Tasks()}}},[e._v("Migrate S3 Tasks")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.migrateS3LA()}}},[e._v("Trigger S3 LA")])]),t("div",{staticClass:"w-full"},[t("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(t){return e.triggerS3Reviews()}}},[e._v("Trigger S3 Review")])])],e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2):t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},a=[],s=(n("8244"),n("4949")),o=n("1dba"),i=n.n(o),c=n("8596"),u=n("675e"),l=n("e206"),d=Object(s["b"])({setup(){const e=Object(s["f"])(),t=Object(s["f"])(!0),n=Object(s["f"])(!1),r=Object(s["f"])(!1),a=Object(s["f"])(!1),o=Object(s["f"])(),d=Object(s["f"])(),f=Object(s["f"])(),p=Object(s["f"])(),m=Object(s["f"])(),h=Object(s["f"])(!0),g=Object(s["f"])(!0),v=async e=>{try{const t=e.target.files[0],n=e.target.files[0].name,r=n.endsWith(".csv");r?(f.value=t,p.value=n):(d.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{d.value=null},6e3),f.value=null,p.value=null)}catch(t){console.log(t)}},b=async()=>{if(g.value=!1,p.value){const e=await Object(u["a"])("/v1/pretAuthUrlForUpload",{folder_name:"lss_import",key_name:p.value});m.value=e.data.preSignedUrl;const t=await Object(l["g"])(m.value,f.value);if(200===t.status){const e=await Object(c["d"])({file_key:"lss_import/"+p.value});console.log(e),o.value="LSS Record added",f.value=null,p.value=null,setTimeout(()=>{o.value=null,n.value=!1},6e3)}}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);g.value=!0},y=async()=>{if(g.value=!1,p.value){const e=await Object(u["a"])("/v1/pretAuthUrlForUpload",{folder_name:"Env_Learner_access",key_name:p.value});m.value=e.data.preSignedUrl;const t=await Object(l["h"])(m.value,f.value);if(200===t.status){console.log(" upload success");const e=await Object(c["c"])({file_key:"Env_Learner_access/"+p.value});console.log(e),o.value="Learner Record added",f.value=null,p.value=null,setTimeout(()=>{o.value=null,r.value=!1},6e3)}}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);g.value=!0},w=async()=>{if(g.value=!1,p.value){const e=await Object(u["a"])("/v1/pretAuthUrlForUpload",{folder_name:"service_line_skills",key_name:p.value});m.value=e.data.preSignedUrl;const t=await Object(l["i"])(m.value,f.value);200===t.status&&(console.log(" upload success"),o.value="File added",f.value=null,p.value=null,setTimeout(()=>{o.value=null,r.value=!1},6e3))}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);g.value=!0},x=async()=>{await Object(c["y"])("/admin/seedMasters")},C=async()=>{await Object(c["t"])("/skill/sync")},k=async()=>{await Object(c["u"])("/email/template/seed")},S=async()=>{await Object(c["e"])("/cache/sync")},_=async()=>{await Object(c["x"])("/program/seedDefault")},j=async()=>{await Object(c["z"])("/role/init")},O=async()=>{await Object(c["r"])("/user/proxy")},A=async()=>{await Object(c["s"])("/user/seed")},E=async()=>{await Object(c["n"])("user/proxy")},L=async()=>{await Object(c["f"])("/user/diff-access")},R=async()=>{await Object(c["w"])("/admin/user/ofcon")},T=async()=>{await Object(c["i"])("/migrate/cohort/program")},P=async()=>{await Object(c["v"])("/migrate/cohort")},U=async()=>{await Object(c["h"])("/migration/cohort/trigger/learner_activity")},N=async()=>{await Object(c["j"])("migration/cohort/trigger/review")},M=async()=>{await Object(c["q"])("/migration/S2/tasks")},D=async()=>{await Object(c["o"])("/migration/S2/learner_activity/import")},B=async()=>{await Object(c["p"])("/migration/S2/learner_activity/trigger")},q=async()=>{await Object(c["m"])("migration/S3/task")},F=async()=>{await Object(c["k"])("migration/S3/learner_activites/trigger")},I=async()=>{await Object(c["l"])("migration/S3/learner_reviews/trigger")},z=async()=>{try{const e=Object(c["A"])("learner/proxy/remove");console.log("res data message "+e.data.message)}catch(t){if(console.log("axios.isAxiosError(error)",i.a.isAxiosError(t)),i.a.isAxiosError(t)){var e;const n=t;console.log("err.response?.data "+(null===(e=n.response)||void 0===e?void 0:e.data))}}},J=async()=>{try{const e=Object(c["C"])("/updateCohortLearnerModifiedDate");console.log("res data message "+e.data.message)}catch(t){if(console.log("axios.isAxiosError(error)",i.a.isAxiosError(t)),i.a.isAxiosError(t)){var e;const n=t;console.log("err.response?.data "+(null===(e=n.response)||void 0===e?void 0:e.data))}}};return Object(s["c"])(async()=>{const n=await Object(c["g"])("/getUserRole");e.value=n.user_roles,e.value.length>0&&(e.value.includes("System Admin")?t.value=!0:t.value=!1)}),{skillSync:C,templateSeed:k,cacheSync:S,seedDefaultProgram:_,seedRoles:j,seedProxyReviewers:O,diffAccess:L,migrateCohortProgram:T,migrateCohort:P,seedUser:A,proxyReviewSeed:E,migrateCohortLA:U,migrateCohortReview:N,migrateS2Tasks:M,triggerS2LAImport:D,triggerS2LAMigrate:B,migrateS3Tasks:q,migrateS3LA:F,triggerS3Reviews:I,seedMaster:x,showScreen:t,removeDuplicateProxyAssigned:z,updateS3CohortsModifiedDate:J,triggerofcon:R,showImportLSS:n,showEnvAccess:r,showServiceLineSkills:a,uploadLSSLearners:b,uploadEnvAccessLearners:y,uploadServiceLineSkillsGFEventIDs:w,selectedFile:v,successMessage:o,errorMessage:d,renderReady:h,renderReady1:g}}}),f=d,p=n("169b"),m=Object(p["a"])(f,r,a,!1,null,null,null);t["default"]=m.exports},c279:function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},cad9:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var a=e[r];"."===a?e.splice(r,1):".."===a?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,a=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!a){n=t+1;break}}else-1===r&&(a=!1,r=t+1);return-1===r?"":e.slice(n,r)}function a(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}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=n(a(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=n(a(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(a(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,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var a=r(e.split("/")),s=r(n.split("/")),o=Math.min(a.length,s.length),i=o,c=0;c<o;c++)if(a[c]!==s[c]){i=c;break}var u=[];for(c=i;c<a.length;c++)u.push("..");return u=u.concat(s.slice(i)),u.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,a=!0,s=e.length-1;s>=1;--s)if(t=e.charCodeAt(s),47===t){if(!a){r=s;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,a=!0,s=0,o=e.length-1;o>=0;--o){var i=e.charCodeAt(o);if(47!==i)-1===r&&(a=!1,r=o+1),46===i?-1===t?t=o:1!==s&&(s=1):-1!==t&&(s=-1);else if(!a){n=o+1;break}}return-1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?"":e.slice(t,r)};var s="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("0418"))},cc3a:function(e,t,n){"use strict";(function(t){var r=n("8a5d"),a=n("386e"),s=n("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 c(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("e50c")),e}function u(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(a){if("SyntaxError"!==a.name)throw a}return(n||JSON.stringify)(e)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(e,t){return a(t,"Accept"),a(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"),u(e)):e}],transformResponse:[function(e){var t=this.transitional||l.transitional,n=t&&t.silentJSONParsing,a=t&&t.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||a&&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){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(o)})),e.exports=l}).call(this,n("0418"))},e206:function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return l})),n.d(t,"f",(function(){return d})),n.d(t,"d",(function(){return f}));var r=n("26fa");const a=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 n;return console.log("programName "+t),await r["a"].get("/skill/edcast/"+e).then(async e=>{n=e.data;const t=document.createElement("a");return t.href=n,t.click(),URL.revokeObjectURL(t.href),n}),n}catch(n){return n}},c=async(e,t)=>{try{const n=await fetch(""+e,{method:"put",body:t}),r=n;return r}catch(n){return console.error(n),n}},u=async(e,t)=>{try{const n=await fetch(""+e,{method:"put",body:t}),r=n;return r}catch(n){return console.error(n),n}},l=async(e,t)=>{try{const n=await fetch(""+e,{method:"put",body:t}),r=n;return r}catch(n){return console.error(n),n}},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,n){"use strict";var r=n("8a5d"),a=n("aa01"),s=n("2998"),o=n("3884"),i=n("639e"),c=n("4af6"),u=n("7f31"),l=n("fccd"),d=n("cc3a"),f=n("82ac");e.exports=function(e){return new Promise((function(t,n){var p,m=e.data,h=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}r.isFormData(m)&&delete h["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(y+":"+w)}var x=i(e.baseURL,e.url);function C(){if(b){var r="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,s=g&&"text"!==g&&"json"!==g?b.response:b.responseText,o={data:s,status:b.status,statusText:b.statusText,headers:r,config:e,request:b};a((function(e){t(e),v()}),(function(e){n(e),v()}),o),b=null}}if(b.open(e.method.toUpperCase(),o(x,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=C:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(C)},b.onabort=function(){b&&(n(l("Request aborted",e,"ECONNABORTED",b)),b=null)},b.onerror=function(){n(l("Network Error",e,null,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||u(x))&&e.xsrfCookieName?s.read(e.xsrfCookieName):void 0;k&&(h[e.xsrfHeaderName]=k)}"setRequestHeader"in b&&r.forEach(h,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete h[t]:b.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),g&&"json"!==g&&(b.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(p=function(e){b&&(n(!e||e&&e.type?new f("canceled"):e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(p),e.signal&&(e.signal.aborted?p():e.signal.addEventListener("abort",p))),m||(m=null),b.send(m)}))}},fccd:function(e,t,n){"use strict";var r=n("a417");e.exports=function(e,t,n,a,s){var o=new Error(e);return r(o,t,n,a,s)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationMasterAdministration"],{"675e":function(t,e,a){"use strict";a.d(e,"b",(function(){return c})),a.d(e,"a",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"e",(function(){return r})),a.d(e,"d",(function(){return o}));var s=a("26fa");const n=async(t,e)=>{const a=await s["b"].post(t,e);return a},r=async(t,e)=>{let a;const s=await fetch(""+t,{method:"put",body:e});return a=s,a},c=async t=>{const e=await s["b"].get("/task/"+t);return e},i=async(t,e)=>{const a=await s["b"].post(t,{learner_task_id:e});return a},o=async(t,e)=>{const a=await s["b"].post(t,e);return a}},8596:function(t,e,a){"use strict";a.d(e,"y",(function(){return n})),a.d(e,"t",(function(){return r})),a.d(e,"u",(function(){return c})),a.d(e,"e",(function(){return i})),a.d(e,"x",(function(){return o})),a.d(e,"z",(function(){return l})),a.d(e,"r",(function(){return u})),a.d(e,"s",(function(){return d})),a.d(e,"f",(function(){return b})),a.d(e,"v",(function(){return g})),a.d(e,"h",(function(){return m})),a.d(e,"j",(function(){return f})),a.d(e,"q",(function(){return v})),a.d(e,"o",(function(){return y})),a.d(e,"p",(function(){return p})),a.d(e,"m",(function(){return x})),a.d(e,"k",(function(){return w})),a.d(e,"l",(function(){return h})),a.d(e,"A",(function(){return k})),a.d(e,"C",(function(){return C})),a.d(e,"w",(function(){return _})),a.d(e,"n",(function(){return S})),a.d(e,"i",(function(){return j})),a.d(e,"g",(function(){return L})),a.d(e,"a",(function(){return O})),a.d(e,"B",(function(){return A})),a.d(e,"b",(function(){return M})),a.d(e,"d",(function(){return R})),a.d(e,"c",(function(){return E}));var s=a("26fa");const n=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},r=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},g=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},m=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},v=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data.userObj,e)),e},p=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data.userObj,e)),e},x=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},k=async t=>{const e=await s["b"].get(t);return e},C=async t=>{const e=await s["b"].get(t);return e},_=async t=>{const e=await s["b"].get(t);return e},S=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},j=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},L=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data.userObj,e)),e},O=async t=>{const e=await s["b"].post("/user/role",t);return e},A=async t=>{const e=await s["b"].post("/user/removeRole",t);return e},M=async()=>{const t=await s["b"].get("role");return t},R=async t=>{const e=await s["b"].post("/user/saveLSS",t);return e},E=async t=>{const e=await s["b"].post("/user/saveEnvAccess",t);return e}},"9d04":function(t,e,a){t.exports=a.p+"img/loadernew.gif"},be40:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"admin"},[t.showScreen?s("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[[s("div",{staticClass:"w-full mt-4"},[s("h6",{staticClass:"mb-4"},[t._v("Seed Data")]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.seedMaster()}}},[t._v("Seed Masters")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.skillSync()}}},[t._v("Invoke Skill Sync Service")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.templateSeed()}}},[t._v("Seed Email Templates")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.cacheSync()}}},[t._v("syncCache")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.seedDefaultProgram()}}},[t._v("Seed Default Program")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.seedRoles()}}},[t._v("Seed Roles")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.seedProxyReviewers()}}},[t._v("Seed Proxy Reviewers")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.seedUser()}}},[t._v("Seed Users")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.diffAccess()}}},[t._v("Diff Access")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"hidden text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.removeDuplicateProxyAssigned()}}},[t._v("Remove Duplicate Proxy Assigned")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"hidden text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.updateS3CohortsModifiedDate()}}},[t._v("Update S3/Cohorts Learner Modified Date")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.triggerofcon()}}},[t._v("Trigger Ofcon")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(e){t.showImportLSS=!0}}},[t._v("Upload LSS Learners")])]),t.showImportLSS?s("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[s("div",{staticClass:"flex"},[s("input",{attrs:{type:"file"},on:{change:t.selectedFile}})]),t.errorMessage?s("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.successMessage?s("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),s("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:t.uploadLSSLearners}},[t._v("Upload LSS Learner")]),t.renderReady1?t._e():s("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[s("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),s("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):t._e(),s("div",{staticClass:"w-full"},[s("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(e){t.showEnvAccess=!0}}},[t._v("Upload Env Access Learners")])]),t.showEnvAccess?s("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[s("div",{staticClass:"flex"},[s("input",{attrs:{type:"file"},on:{change:t.selectedFile}})]),t.errorMessage?s("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.successMessage?s("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),s("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:t.uploadEnvAccessLearners}},[t._v("Upload Env Access Learners")]),t.renderReady1?t._e():s("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[s("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),s("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):t._e(),s("div",{staticClass:"w-full"},[s("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(e){t.showServiceLineSkills=!0}}},[t._v("Upload Service_line_skills_GF_Event_ID")])]),t.showServiceLineSkills?s("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[s("div",{staticClass:"flex"},[s("input",{attrs:{type:"file"},on:{change:t.selectedFile}})]),t.errorMessage?s("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.successMessage?s("div",{staticClass:"text-green-700"},[t._v(t._s(t.successMessage))]):t._e(),s("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:t.uploadServiceLineSkillsGFEventIDs}},[t._v("Upload Service_line_skills_GF_Event_ID")]),t.renderReady1?t._e():s("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[s("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),s("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):t._e(),s("h6",{staticClass:"mb-4"},[t._v("Migrate Cohorts")]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.migrateCohort()}}},[t._v("Migrate Cohorts")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.migrateCohortLA()}}},[t._v("Trigger Cohort LA")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.migrateCohortReview()}}},[t._v("Trigger Cohort Reviews")])]),s("h6",{staticClass:"mb-4"},[t._v("Migrate S2")]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.migrateS2Tasks()}}},[t._v("Migrate S2 Tasks")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.triggerS2LAImport()}}},[t._v("Import S2 LA")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.triggerS2LAMigrate()}}},[t._v("Trigger S2 LA")])])]),s("h6",{staticClass:"mb-4"},[t._v("Migrate S3")]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.migrateS3Tasks()}}},[t._v("Migrate S3 Tasks")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.migrateS3LA()}}},[t._v("Trigger S3 LA")])]),s("div",{staticClass:"w-full"},[s("button",{staticClass:"text-white bg-blue-700 font-medium text-sm px-5 py-2.5 text-center mr-2 mb-2 bg-background-secondary",on:{click:function(e){return t.triggerS3Reviews()}}},[t._v("Trigger S3 Review")])])],t.renderReady?t._e():s("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[s("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),s("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2):s("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access")])])},n=[],r=a("c1ec"),c=a("1dba"),i=a.n(c),o=a("8596"),l=a("675e"),u=a("e206"),d=Object(r["b"])({setup(){const t=Object(r["f"])(),e=Object(r["f"])(!0),a=Object(r["f"])(!1),s=Object(r["f"])(!1),n=Object(r["f"])(!1),c=Object(r["f"])(),d=Object(r["f"])(),b=Object(r["f"])(),g=Object(r["f"])(),m=Object(r["f"])(),f=Object(r["f"])(!0),v=Object(r["f"])(!0),y=async t=>{try{const e=t.target.files[0],a=t.target.files[0].name,s=a.endsWith(".csv");s?(b.value=e,g.value=a):(d.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{d.value=null},6e3),b.value=null,g.value=null)}catch(e){console.log(e)}},p=async()=>{if(v.value=!1,g.value){const t=await Object(l["a"])("/v1/pretAuthUrlForUpload",{folder_name:"lss_import",key_name:g.value});m.value=t.data.preSignedUrl;const e=await Object(u["f"])(m.value,b.value);if(200===e.status){const t=await Object(o["d"])({file_key:"lss_import/"+g.value});console.log(t),c.value="LSS Record added",b.value=null,g.value=null,setTimeout(()=>{c.value=null,a.value=!1},6e3)}}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);v.value=!0},x=async()=>{if(v.value=!1,g.value){const t=await Object(l["a"])("/v1/pretAuthUrlForUpload",{folder_name:"Env_Learner_access",key_name:g.value});m.value=t.data.preSignedUrl;const e=await Object(u["g"])(m.value,b.value);if(200===e.status){console.log(" upload success");const t=await Object(o["c"])({file_key:"Env_Learner_access/"+g.value});console.log(t),c.value="Learner Record added",b.value=null,g.value=null,setTimeout(()=>{c.value=null,s.value=!1},6e3)}}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);v.value=!0},w=async()=>{if(v.value=!1,g.value){const t=await Object(l["a"])("/v1/pretAuthUrlForUpload",{folder_name:"service_line_skills",key_name:g.value});m.value=t.data.preSignedUrl;const e=await Object(u["h"])(m.value,b.value);200===e.status&&(console.log(" upload success"),c.value="File added",b.value=null,g.value=null,setTimeout(()=>{c.value=null,s.value=!1},6e3))}else d.value="Please Select valid file to upload",setTimeout(()=>{d.value=null},6e3);v.value=!0},h=async()=>{await Object(o["y"])("/admin/seedMasters")},k=async()=>{await Object(o["t"])("/skill/sync")},C=async()=>{await Object(o["u"])("/email/template/seed")},_=async()=>{await Object(o["e"])("/cache/sync")},S=async()=>{await Object(o["x"])("/program/seedDefault")},j=async()=>{await Object(o["z"])("/role/init")},L=async()=>{await Object(o["r"])("/user/proxy")},O=async()=>{await Object(o["s"])("/user/seed")},A=async()=>{await Object(o["n"])("user/proxy")},M=async()=>{await Object(o["f"])("/user/diff-access?isManualTrigger=true")},R=async()=>{await Object(o["w"])("/admin/user/ofcon")},E=async()=>{await Object(o["i"])("/migrate/cohort/program")},T=async()=>{await Object(o["v"])("/migrate/cohort")},U=async()=>{await Object(o["h"])("/migration/cohort/trigger/learner_activity")},D=async()=>{await Object(o["j"])("migration/cohort/trigger/review")},P=async()=>{await Object(o["q"])("/migration/S2/tasks")},F=async()=>{await Object(o["o"])("/migration/S2/learner_activity/import")},I=async()=>{await Object(o["p"])("/migration/S2/learner_activity/trigger")},G=async()=>{await Object(o["m"])("migration/S3/task")},q=async()=>{await Object(o["k"])("migration/S3/learner_activites/trigger")},z=async()=>{await Object(o["l"])("migration/S3/learner_reviews/trigger")},J=async()=>{try{const t=Object(o["A"])("learner/proxy/remove");console.log("res data message "+t.data.message)}catch(e){if(console.log("axios.isAxiosError(error)",i.a.isAxiosError(e)),i.a.isAxiosError(e)){var t;const a=e;console.log("err.response?.data "+(null===(t=a.response)||void 0===t?void 0:t.data))}}},B=async()=>{try{const t=Object(o["C"])("/updateCohortLearnerModifiedDate");console.log("res data message "+t.data.message)}catch(e){if(console.log("axios.isAxiosError(error)",i.a.isAxiosError(e)),i.a.isAxiosError(e)){var t;const a=e;console.log("err.response?.data "+(null===(t=a.response)||void 0===t?void 0:t.data))}}};return Object(r["c"])(async()=>{const a=await Object(o["g"])("/getUserRole");t.value=a.user_roles,t.value.length>0&&(t.value.includes("System Admin")?e.value=!0:e.value=!1)}),{skillSync:k,templateSeed:C,cacheSync:_,seedDefaultProgram:S,seedRoles:j,seedProxyReviewers:L,diffAccess:M,migrateCohortProgram:E,migrateCohort:T,seedUser:O,proxyReviewSeed:A,migrateCohortLA:U,migrateCohortReview:D,migrateS2Tasks:P,triggerS2LAImport:F,triggerS2LAMigrate:I,migrateS3Tasks:G,migrateS3LA:q,triggerS3Reviews:z,seedMaster:h,showScreen:e,removeDuplicateProxyAssigned:J,updateS3CohortsModifiedDate:B,triggerofcon:R,showImportLSS:a,showEnvAccess:s,showServiceLineSkills:n,uploadLSSLearners:p,uploadEnvAccessLearners:x,uploadServiceLineSkillsGFEventIDs:w,selectedFile:y,successMessage:c,errorMessage:d,renderReady:f,renderReady1:v}}}),b=d,g=a("dcde"),m=Object(g["a"])(b,s,n,!1,null,null,null);e["default"]=m.exports},e206:function(t,e,a){"use strict";a.d(e,"e",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"b",(function(){return c})),a.d(e,"a",(function(){return i})),a.d(e,"f",(function(){return o})),a.d(e,"g",(function(){return l})),a.d(e,"h",(function(){return u})),a.d(e,"d",(function(){return d}));var s=a("26fa");const n=async t=>{const e=await s["b"].get("assignProxyToCohortLearner/"+t);return e},r=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await s["b"].get(t).then(t=>(e=t.data.AllGrade,e)),e},i=async(t,e)=>{try{let a;return console.log("programName "+e),await s["b"].get("/skill/edcast/"+t).then(async t=>{a=t.data;const e=document.createElement("a");return e.href=a,e.click(),URL.revokeObjectURL(e.href),a}),a}catch(a){return a}},o=async(t,e)=>{try{const a=await fetch(""+t,{method:"put",body:e}),s=a;return s}catch(a){return console.error(a),a}},l=async(t,e)=>{try{const a=await fetch(""+t,{method:"put",body:e}),s=a;return s}catch(a){return console.error(a),a}},u=async(t,e)=>{try{const a=await fetch(""+t,{method:"put",body:e}),s=a;return s}catch(a){return console.error(a),a}},d=async t=>{try{let e;return await s["b"].get("/program/report/"+t).then(t=>(e=t.data,e)),e}catch(e){return e}}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationMasterAdministration.js.map
|