@genpact/genome.mfe.solidify-app 1.17.2-alpha.111 → 1.17.2-alpha.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyLearner.js +2 -2
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/app.js +3 -3
- package/dist/js/app.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"00bd":function(t,e,r){var n=r("815e");t.exports=Array.isArray||function(t){return"Array"==n(t)}},"0342":function(t,e,r){var n=r("09bd");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"0572":function(t,e){t.exports={}},"073d":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"09bd":function(t,e){var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?n:r)(e)}},"0bd7":function(t,e,r){var n=r("9dce"),a=r("4833"),o=r("1d31"),c=r("5c13");t.exports=function(t,e,r){for(var i=a(e),s=c.f,u=o.f,l=0;l<i.length;l++){var f=i[l];n(t,f)||r&&n(r,f)||s(t,f,u(e,f))}}},"0fe5":function(t,e,r){var n=r("7d3c"),a=r("743a"),o="__core-js_shared__",c=n[o]||a(o,{});t.exports=c},1e3:function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},"123b":function(t,e,r){var n=r("0342"),a=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?a(r+e,0):o(r,e)}},"186a":function(t,e,r){var n=r("7d3c"),a=r("f6ba"),o=n.document,c=a(o)&&a(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"1d31":function(t,e,r){var n=r("caa9"),a=r("c683"),o=r("52bd"),c=r("38c8"),i=r("9a69"),s=r("79b1"),u=r("9dce"),l=r("9dca"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=i(t),e=s(e),l)try{return f(t,e)}catch(r){}if(u(t,e))return c(!a(o.f,t,e),t[e])}},"211b":function(t,e,r){var n=r("b1ab"),a=r("9dce"),o=r("9a69"),c=r("5435").indexOf,i=r("0572"),s=n([].push);t.exports=function(t,e){var r,n=o(t),u=0,l=[];for(r in n)!a(i,r)&&a(n,r)&&s(l,r);while(e.length>u)a(n,r=e[u++])&&(~c(l,r)||s(l,r));return l}},"23ea":function(t,e,r){var n=r("c683"),a=r("9de2"),o=r("f6ba"),c=TypeError;t.exports=function(t,e){var r,i;if("string"===e&&a(r=t.toString)&&!o(i=n(r,t)))return i;if(a(r=t.valueOf)&&!o(i=n(r,t)))return i;if("string"!==e&&a(r=t.toString)&&!o(i=n(r,t)))return i;throw c("Can't convert object to primitive value")}},"2c81":function(t,e,r){var n=r("57bb"),a=r("0fe5");(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"2deb":function(t,e,r){var n=r("7d3c"),a=r("9de2"),o=n.WeakMap;t.exports=a(o)&&/native code/.test(String(o))},"310f":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-4c631bc7]{position:fixed;top:30%;left:42%}.tableScroll[data-v-4c631bc7]{max-height:50vh;overflow-y:auto}.tableScroll1[data-v-4c631bc7]{max-height:60vh;overflow-y:auto}.modal-overlay[data-v-4c631bc7]{background-color:rgba(0,0,0,.8549019607843137)}.modal-fade-enter[data-v-4c631bc7],.modal-fade-leave-to[data-v-4c631bc7]{opacity:0}.modal-fade-enter-active[data-v-4c631bc7],.modal-fade-leave-active[data-v-4c631bc7]{transition:opacity .5s ease}",""]),t.exports=e},"32b4":function(t,e,r){var n=r("b1ab"),a=r("9de2"),o=r("0fe5"),c=n(Function.toString);a(o.inspectSource)||(o.inspectSource=function(t){return c(t)}),t.exports=o.inspectSource},3470:function(t,e,r){"use strict";var n=r("caa9"),a=r("00bd"),o=TypeError,c=Object.getOwnPropertyDescriptor,i=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=i?function(t,e){if(a(t)&&!c(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"34ae":function(t,e,r){var n=r("211b"),a=r("a64a"),o=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},3508:function(t,e){var r="object"==typeof document&&document.all,n="undefined"==typeof r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}},"385f":function(t,e,r){var n=r("0342"),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},"38c8":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"3ef0":function(t,e,r){var n=r("cae3"),a=r("9de2"),o=r("6f30"),c=r("4160"),i=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return a(e)&&o(e.prototype,i(t))}},4160:function(t,e,r){var n=r("42c1");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"42c1":function(t,e,r){var n=r("d0e9"),a=r("073d");t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"43b7":function(t,e,r){var n=r("073d"),a=r("9de2"),o=/#|\.prototype\./,c=function(t,e){var r=s[i(t)];return r==l||r!=u&&(a(e)?n(e):!!e)},i=c.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=c.data={},u=c.NATIVE="N",l=c.POLYFILL="P";t.exports=c},4833:function(t,e,r){var n=r("cae3"),a=r("b1ab"),o=r("34ae"),c=r("84d9"),i=r("8d23"),s=a([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(i(t)),r=c.f;return r?s(e,r(t)):e}},"52bd":function(t,e,r){"use strict";var n={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!n.call({1:2},1);e.f=o?function(t){var e=a(this,t);return!!e&&e.enumerable}:n},"53a9":function(t,e,r){"use strict";r("b024")},5435:function(t,e,r){var n=r("9a69"),a=r("123b"),o=r("7f94"),c=function(t){return function(e,r,c){var i,s=n(e),u=o(s),l=a(c,u);if(t&&r!=r){while(u>l)if(i=s[l++],i!=i)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"57bb":function(t,e){t.exports=!1},"59ff":function(t,e,r){var n=r("c683"),a=r("f6ba"),o=r("3ef0"),c=r("dd05"),i=r("23ea"),s=r("e285"),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!a(t)||o(t))return t;var r,s=c(t,l);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!a(r)||o(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},"5c13":function(t,e,r){var n=r("caa9"),a=r("9dca"),o=r("dba4"),c=r("8d23"),i=r("79b1"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?o?function(t,e,r){if(c(t),e=i(e),c(r),"function"===typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=l(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(c(t),e=i(e),c(r),a)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"5f66":function(t,e){t.exports=function(t){return null===t||void 0===t}},"6cc5":function(t,e,r){var n=r("caa9"),a=r("9dce"),o=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=a(o,"name"),s=i&&"something"===function(){}.name,u=i&&(!n||n&&c(o,"name").configurable);t.exports={EXISTS:i,PROPER:s,CONFIGURABLE:u}},"6f30":function(t,e,r){var n=r("b1ab");t.exports=n({}.isPrototypeOf)},7086:function(t,e){var r=String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},"743a":function(t,e,r){var n=r("7d3c"),a=Object.defineProperty;t.exports=function(t,e){try{a(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},"79b1":function(t,e,r){var n=r("59ff"),a=r("3ef0");t.exports=function(t){var e=n(t,"string");return a(e)?e:e+""}},"7b20":function(t,e,r){var n=r("9de2"),a=r("7086"),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(a(t)+" is not a function")}},"7d3c":function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r("d8fc"))},"7f94":function(t,e,r){var n=r("385f");t.exports=function(t){return n(t.length)}},8098:function(t,e,r){var n=r("caa9"),a=r("5c13"),o=r("38c8");t.exports=n?function(t,e,r){return a.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},"815e":function(t,e,r){var n=r("b1ab"),a=n({}.toString),o=n("".slice);t.exports=function(t){return o(a(t),8,-1)}},"84d9":function(t,e){e.f=Object.getOwnPropertySymbols},8596:function(t,e,r){"use strict";r.d(e,"y",(function(){return a})),r.d(e,"t",(function(){return o})),r.d(e,"u",(function(){return c})),r.d(e,"e",(function(){return i})),r.d(e,"x",(function(){return s})),r.d(e,"z",(function(){return u})),r.d(e,"r",(function(){return l})),r.d(e,"s",(function(){return f})),r.d(e,"f",(function(){return d})),r.d(e,"v",(function(){return p})),r.d(e,"h",(function(){return b})),r.d(e,"j",(function(){return v})),r.d(e,"q",(function(){return g})),r.d(e,"o",(function(){return m})),r.d(e,"p",(function(){return y})),r.d(e,"m",(function(){return h})),r.d(e,"k",(function(){return x})),r.d(e,"l",(function(){return w})),r.d(e,"A",(function(){return O})),r.d(e,"C",(function(){return _})),r.d(e,"w",(function(){return j})),r.d(e,"n",(function(){return C})),r.d(e,"i",(function(){return S})),r.d(e,"g",(function(){return P})),r.d(e,"a",(function(){return k})),r.d(e,"B",(function(){return A})),r.d(e,"b",(function(){return D})),r.d(e,"d",(function(){return E})),r.d(e,"c",(function(){return M}));var n=r("26fa");const a=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},v=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},g=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},m=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},h=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},O=async t=>{const e=await n["b"].get(t);return e},_=async t=>{const e=await n["b"].get(t);return e},j=async t=>{const e=await n["b"].get(t);return e},C=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},P=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},k=async t=>{const e=await n["b"].post("/user/role",t);return e},A=async t=>{const e=await n["b"].post("/user/removeRole",t);return e},D=async()=>{const t=await n["b"].get("role");return t},E=async t=>{const e=await n["b"].post("/user/saveLSS",t);return e},M=async t=>{const e=await n["b"].post("/user/saveEnvAccess",t);return e}},"89c6":function(t,e,r){var n=r("7d3c"),a=r("1d31").f,o=r("8098"),c=r("a025"),i=r("743a"),s=r("0bd7"),u=r("43b7");t.exports=function(t,e){var r,l,f,d,p,b,v=t.target,g=t.global,m=t.stat;if(l=g?n:m?n[v]||i(v,{}):(n[v]||{}).prototype,l)for(f in e){if(p=e[f],t.dontCallGetSet?(b=a(l,f),d=b&&b.value):d=l[f],r=u(g?f:v+(m?".":"#")+f,t.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;s(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),c(l,f,p,t)}}},"89e7":function(t,e,r){var n=r("b1ab"),a=0,o=Math.random(),c=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++a+o,36)}},"8d23":function(t,e,r){var n=r("f6ba"),a=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(a(t)+" is not an object")}},"9a69":function(t,e,r){var n=r("f02e"),a=r("fd6a");t.exports=function(t){return n(a(t))}},"9d04":function(t,e,r){t.exports=r.p+"img/loadernew.gif"},"9dca":function(t,e,r){var n=r("caa9"),a=r("073d"),o=r("186a");t.exports=!n&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"9dce":function(t,e,r){var n=r("b1ab"),a=r("ab90"),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(a(t),e)}},"9de2":function(t,e,r){var n=r("3508"),a=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===a}:function(t){return"function"==typeof t}},a025:function(t,e,r){var n=r("9de2"),a=r("5c13"),o=r("baa9"),c=r("743a");t.exports=function(t,e,r,i){i||(i={});var s=i.enumerable,u=void 0!==i.name?i.name:e;if(n(r)&&o(r,u,i),i.global)s?t[e]=r:c(e,r);else{try{i.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=r:a.f(t,e,{value:r,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t}},a2e2:function(t,e,r){var n,a,o,c=r("2deb"),i=r("7d3c"),s=r("f6ba"),u=r("8098"),l=r("9dce"),f=r("0fe5"),d=r("d9ad"),p=r("0572"),b="Object already initialized",v=i.TypeError,g=i.WeakMap,m=function(t){return o(t)?a(t):n(t,{})},y=function(t){return function(e){var r;if(!s(e)||(r=a(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}};if(c||f.state){var h=f.state||(f.state=new g);h.get=h.get,h.has=h.has,h.set=h.set,n=function(t,e){if(h.has(t))throw v(b);return e.facade=t,h.set(t,e),e},a=function(t){return h.get(t)||{}},o=function(t){return h.has(t)}}else{var x=d("state");p[x]=!0,n=function(t,e){if(l(t,x))throw v(b);return e.facade=t,u(t,x,e),e},a=function(t){return l(t,x)?t[x]:{}},o=function(t){return l(t,x)}}t.exports={set:n,get:a,has:o,enforce:m,getterFor:y}},a64a:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},ab90:function(t,e,r){var n=r("fd6a"),a=Object;t.exports=function(t){return a(n(t))}},b024:function(t,e,r){var n=r("310f");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=r("c69b").default;a("02c5d4ce",n,!0,{sourceMap:!1,shadowMode:!1})},b1ab:function(t,e,r){var n=r("c43a"),a=Function.prototype,o=a.call,c=n&&a.bind.bind(o,o);t.exports=n?c:function(t){return function(){return o.apply(t,arguments)}}},baa9:function(t,e,r){var n=r("b1ab"),a=r("073d"),o=r("9de2"),c=r("9dce"),i=r("caa9"),s=r("6cc5").CONFIGURABLE,u=r("32b4"),l=r("a2e2"),f=l.enforce,d=l.get,p=String,b=Object.defineProperty,v=n("".slice),g=n("".replace),m=n([].join),y=i&&!a((function(){return 8!==b((function(){}),"length",{value:8}).length})),h=String(String).split("String"),x=t.exports=function(t,e,r){"Symbol("===v(p(e),0,7)&&(e="["+g(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!c(t,"name")||s&&t.name!==e)&&(i?b(t,"name",{value:e,configurable:!0}):t.name=e),y&&r&&c(r,"arity")&&t.length!==r.arity&&b(t,"length",{value:r.arity});try{r&&c(r,"constructor")&&r.constructor?i&&b(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(a){}var n=f(t);return c(n,"source")||(n.source=m(h,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return o(this)&&d(this).source||u(this)}),"toString")},c43a:function(t,e,r){var n=r("073d");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},c683:function(t,e,r){var n=r("c43a"),a=Function.prototype.call;t.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},c7de:function(t,e){var r=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw r("Maximum allowed index exceeded");return t}},caa9:function(t,e,r){var n=r("073d");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},cae3:function(t,e,r){var n=r("7d3c"),a=r("9de2"),o=function(t){return a(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},d0e9:function(t,e,r){var n,a,o=r("7d3c"),c=r("1000"),i=o.process,s=o.Deno,u=i&&i.versions||s&&s.version,l=u&&u.v8;l&&(n=l.split("."),a=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!a&&c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(a=+n[1]))),t.exports=a},d9ad:function(t,e,r){var n=r("2c81"),a=r("89e7"),o=n("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},dba4:function(t,e,r){var n=r("caa9"),a=r("073d");t.exports=n&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},dd05:function(t,e,r){var n=r("7b20"),a=r("5f66");t.exports=function(t,e){var r=t[e];return a(r)?void 0:n(r)}},e206:function(t,e,r){"use strict";r.d(e,"e",(function(){return a})),r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return i})),r.d(e,"f",(function(){return s})),r.d(e,"g",(function(){return u})),r.d(e,"h",(function(){return l})),r.d(e,"d",(function(){return f}));var n=r("26fa");const a=async t=>{const e=await n["b"].get("assignProxyToCohortLearner/"+t);return e},o=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.AllGrade,e)),e},i=async(t,e)=>{try{let r;return console.log("programName "+e),await n["b"].get("/skill/edcast/"+t).then(async t=>{r=t.data;const e=document.createElement("a");return e.href=r,e.click(),URL.revokeObjectURL(e.href),r}),r}catch(r){return r}},s=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},u=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},l=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},f=async t=>{try{let e;return await n["b"].get("/program/report/"+t).then(t=>(e=t.data,e)),e}catch(e){return e}}},e285:function(t,e,r){var n=r("7d3c"),a=r("2c81"),o=r("9dce"),c=r("89e7"),i=r("42c1"),s=r("4160"),u=n.Symbol,l=a("wks"),f=s?u["for"]||u:u&&u.withoutSetter||c;t.exports=function(t){return o(l,t)||(l[t]=i&&o(u,t)?u[t]:f("Symbol."+t)),l[t]}},ee89:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.userRole?e("div",{staticClass:"admin program_admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),t.reportSuccessMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.reportSuccessMessage))]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),e("div",{staticClass:"w-full flex mt-6"},[e("SearchBar",{attrs:{data:t.ProgramDetailsArray,placeholder:"Search By Program Name"},on:{Filtered:t.getFilteredList}})],1),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewProgramDetails()}}},[t._v("View Program Details")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewParticipant()}}},[t._v("View Participants")]):t._e(),t.edcastBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.getEdcastUrl()}}},[t._v("Generate Ed-cast URL")]):t._e(),t.showReportBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerReport()}}},[t._v("Generate Participant Report")]):t._e(),t.showTriggerProxyAssignment?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerProxyAssignmentForCohort()}}},[t._v("Trigger Proxy Assignment")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.manageEmailTemplates()}}},[t._v("Manage Email Templates")]):t._e()])]),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.filteredProgramDetails,(function(r){return e("tr",{key:r.program_id,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.programCheckOne,expression:"programCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:r.program_id},domProps:{value:r.program_id,checked:Array.isArray(t.programCheckOne)?t._i(t.programCheckOne,r.program_id)>-1:t.programCheckOne},on:{change:[function(e){var n=t.programCheckOne,a=e.target,o=!!a.checked;if(Array.isArray(n)){var c=r.program_id,i=t._i(n,c);a.checked?i<0&&(t.programCheckOne=n.concat([c])):i>-1&&(t.programCheckOne=n.slice(0,i).concat(n.slice(i+1)))}else t.programCheckOne=o},function(e){return t.showProgramDetailsBtn(e,r.program_id,r.participants,r.program_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3 text-left"},[t._v(t._s(r.program_display_name?r.program_display_name:r.program_name))]),e("td",{staticClass:"p-2 px-3 text-left capitalize"},[t._v(t._s(r.isAcademy))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(r.start_date))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(r.end_date))])])})),0)])])]):e("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")]),[t.showParticipant?e("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[e("transition",{attrs:{name:"modal-fade"}},[e("div",{staticClass:"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center"},[e("div",{staticClass:"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8"},[e("div",{staticClass:"justify-content"},[e("div",{staticClass:"text-xl px-3 text-left"},[t._v(t._s(t.selectedProgramName))]),e("div",{staticClass:"absolute right-2 pr-4 top-9 cursor-pointer",on:{click:function(e){return t.closeModal()}}},[e("x-icon",{attrs:{size:"1.5x"}})],1)]),e("div",{staticClass:"pt-4 tableScroll1"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over text-left"},[e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"},[t._v("Participant OHR")])])]),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.participantList,(function(r){return e("tr",{key:r,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t._v(t._s(r))])])})),0)])])])])])],1):t._e()],t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2):t._e()},a=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Program Administration")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("Program Name")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("is Academy")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("Start Date")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("End Date")])])])}],o=(r("f9f6"),r("6bcf")),c=r("949b"),i=r("bb03"),s=r.n(i),u=r("1dba"),l=r.n(u),f=r("afbc"),d=r("8596"),p=r("faec"),b=r("e206"),v=Object(o["b"])({name:"ProgramAdministration",components:{XIcon:c["g"],SearchBar:p["a"]},setup(){const t=Object(o["f"])(!1),e=Object(o["f"])(!1),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])(),c=Object(o["f"])(),i=Object(o["f"])([]),u=Object(o["f"])(),p=Object(o["f"])(),v=Object(o["f"])(0),g=Object(o["f"])(),m=Object(o["f"])(),y=Object(o["f"])(!1),h=Object(o["f"])(),x=Object(o["f"])(),w=Object(o["f"])(!1),O=Object(o["f"])(),_=Object(o["f"])(),j=Object(o["f"])(),C=Object(o["f"])(),S=Object(o["f"])(),P=Object(o["f"])(!1),k=Object(o["f"])(!1),A=Object(o["f"])(!1),D=Object(o["f"])(!1),E=Object(o["f"])(!1),M=Object(o["f"])(!1),T=()=>{i.value=[]},L=async()=>{v.value+=1,p.value=null,u.value=null},R=async t=>{try{const e=t.target.files[0],r=e.name,n=r.endsWith(".csv");n?(u.value=r,p.value=e):(O.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{O.value=null},6e3),v.value+=1,p.value=null,u.value=null)}catch(e){console.log(e)}},B=async()=>{c.value=!1;const t=await Object(b["c"])("/program"),e=t.data,n=e.sort((t,e)=>s()(e.start_date).utc().unix()-s()(t.start_date).utc().unix());for(let r=0;r<n.length;r+=1){const t=n[r];t.start_date=s()(t.start_date).format("DD-MM-YYYY"),t.end_date=s()(t.end_date).format("DD-MM-YYYY")}r.value=n,c.value=!0},F=(t,e,r,n)=>{const a=t.target.checked;!0===a?(m.value=!0,g.value=e,h.value=r,x.value=n,C.value.includes("System Admin")&&"infinity"!==e&&(M.value=!0),(C.value.includes("Program Admin")||C.value.includes("System Admin"))&&(D.value=!0,"infinity"===g.value||"S2"===g.value?(A.value=!1,E.value=!1):(A.value=!0,E.value=!0))):(m.value=!1,D.value=!1)},I=async()=>{c.value=!1,await Object(b["a"])(g.value,x.value),c.value=!0},N=async()=>{y.value=!0},z=async()=>{y.value=!1,i.value=[],m.value=!1,await B()},Y=()=>{const t=f["a"].resolve({path:"programDetails",query:{program_id:g.value}});window.open(t.href,"_blank")},U=async()=>{c.value=!1;const t=await Object(b["d"])(g.value);j.value="The report will be emailed to you",setTimeout(()=>{j.value=null},6e3),console.log("Report Trigger Response "+t),c.value=!0},G=async()=>{try{const t=await Object(b["e"])(g.value),e=t.data;j.value=e.message,setTimeout(()=>{j.value=null},6e3),console.log("Report Trigger Response "+JSON.stringify(e))}catch(e){if(c.value=!0,console.log("error peer review "+e),l.a.isAxiosError(e)){var t;const r=e;c.value=!0,O.value=null===(t=r.response)||void 0===t?void 0:t.data.message,setTimeout(()=>{O.value=null},2e3)}}},H=t=>{a.value=r.value.filter(e=>t.includes(e.program_name)),console.log("filteredProgramDetails",a.value)},V=()=>{f["a"].push({path:"manageEmailTemplates",query:{program_id:g.value}})};return Object(o["c"])(async()=>{const t=await Object(d["g"])("/getUserRole");S.value=t.user_key,C.value=t.user_roles,C.value.length>0&&(C.value.includes("Program Admin")||C.value.includes("System Admin")||C.value.includes("System Admin View Access")?P.value=!0:P.value=!1,await B()),console.log("ProgramDetails.value",r.value),a.value=r.value,n.value=r.value.map(t=>t.program_name)}),{openShareModal:t,openShareModalParticipant:e,ProgramDetails:r,renderReady:c,programCheckOne:i,checkOne:T,selectedProgramId:g,showProgramDetailsBtn:F,programBtnShow:m,viewParticipant:N,showParticipant:y,participantList:h,closeModal:z,viewProgramDetails:Y,selectedProgramName:x,getEdcastUrl:I,showBulkParticipantPanel:w,selectedFile:R,clearFile:L,bulkParticipantsFile:p,errorMessage:O,showScreen:P,userRole:C,loggedInUser:S,fileInputKey:v,successMessage:_,showReportBtn:A,showTaskImport:k,triggerReport:U,edcastBtnShow:D,showBulkBtn:E,reportSuccessMessage:j,triggerProxyAssignmentForCohort:G,showTriggerProxyAssignment:M,filteredProgramDetails:a,getFilteredList:H,ProgramDetailsArray:n,manageEmailTemplates:V}}}),g=v,m=(r("53a9"),r("8619")),y=Object(m["a"])(g,n,a,!1,null,"4c631bc7",null);e["default"]=y.exports},f02e:function(t,e,r){var n=r("b1ab"),a=r("073d"),o=r("815e"),c=Object,i=n("".split);t.exports=a((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i(t,""):c(t)}:c},f6ba:function(t,e,r){var n=r("9de2"),a=r("3508"),o=a.all;t.exports=a.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===o}:function(t){return"object"==typeof t?null!==t:n(t)}},f9f6:function(t,e,r){"use strict";var n=r("89c6"),a=r("ab90"),o=r("7f94"),c=r("3470"),i=r("c7de"),s=r("073d"),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=u||!l();n({target:"Array",proto:!0,arity:1,forced:f},{push:function(t){var e=a(this),r=o(e),n=arguments.length;i(r+n);for(var s=0;s<n;s++)e[r]=arguments[s],r++;return c(e,r),r}})},faec:function(t,e,r){"use strict";var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full flex mt-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:t.placeHolder1},domProps:{value:t.search},on:{keyup:function(e){t.filterProgramDetails(),t.$emit("Filtered",t.filteredProgramDetails)},input:function(e){e.target.composing||(t.search=e.target.value)}}})])},a=[],o=r("6bcf"),c=Object(o["b"])({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(t){const e=Object(o["f"])(""),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])(),c=()=>{a.value=t.data,n.value=a.value.filter(t=>t.toLowerCase().includes(e.value.toLowerCase()))};return Object(o["c"])(async()=>{r.value=t.placeholder,console.log("props.placeholder",t.placeholder)}),{placeHolder1:r,filteredProgramDetails:n,filterProgramDetails:c,search:e}}}),i=c,s=r("8619"),u=Object(s["a"])(i,n,a,!1,null,null,null);e["a"]=u.exports},fd6a:function(t,e,r){var n=r("5f66"),a=TypeError;t.exports=function(t){if(n(t))throw a("Can't call method on "+t);return t}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"00bd":function(t,e,r){var n=r("815e");t.exports=Array.isArray||function(t){return"Array"==n(t)}},"0342":function(t,e,r){var n=r("09bd");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"0572":function(t,e){t.exports={}},"073d":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"09bd":function(t,e){var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?n:r)(e)}},"0bd7":function(t,e,r){var n=r("9dce"),a=r("4833"),o=r("1d31"),c=r("5c13");t.exports=function(t,e,r){for(var i=a(e),s=c.f,u=o.f,l=0;l<i.length;l++){var f=i[l];n(t,f)||r&&n(r,f)||s(t,f,u(e,f))}}},"0fe5":function(t,e,r){var n=r("7d3c"),a=r("743a"),o="__core-js_shared__",c=n[o]||a(o,{});t.exports=c},1e3:function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},"123b":function(t,e,r){var n=r("0342"),a=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?a(r+e,0):o(r,e)}},"186a":function(t,e,r){var n=r("7d3c"),a=r("f6ba"),o=n.document,c=a(o)&&a(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"19c6":function(t,e,r){var n=r("48ea");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=r("c69b").default;a("e0f114ae",n,!0,{sourceMap:!1,shadowMode:!1})},"1d31":function(t,e,r){var n=r("caa9"),a=r("c683"),o=r("52bd"),c=r("38c8"),i=r("9a69"),s=r("79b1"),u=r("9dce"),l=r("9dca"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=i(t),e=s(e),l)try{return f(t,e)}catch(r){}if(u(t,e))return c(!a(o.f,t,e),t[e])}},"211b":function(t,e,r){var n=r("b1ab"),a=r("9dce"),o=r("9a69"),c=r("5435").indexOf,i=r("0572"),s=n([].push);t.exports=function(t,e){var r,n=o(t),u=0,l=[];for(r in n)!a(i,r)&&a(n,r)&&s(l,r);while(e.length>u)a(n,r=e[u++])&&(~c(l,r)||s(l,r));return l}},"23ea":function(t,e,r){var n=r("c683"),a=r("9de2"),o=r("f6ba"),c=TypeError;t.exports=function(t,e){var r,i;if("string"===e&&a(r=t.toString)&&!o(i=n(r,t)))return i;if(a(r=t.valueOf)&&!o(i=n(r,t)))return i;if("string"!==e&&a(r=t.toString)&&!o(i=n(r,t)))return i;throw c("Can't convert object to primitive value")}},"2c81":function(t,e,r){var n=r("57bb"),a=r("0fe5");(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"2deb":function(t,e,r){var n=r("7d3c"),a=r("9de2"),o=n.WeakMap;t.exports=a(o)&&/native code/.test(String(o))},"32b4":function(t,e,r){var n=r("b1ab"),a=r("9de2"),o=r("0fe5"),c=n(Function.toString);a(o.inspectSource)||(o.inspectSource=function(t){return c(t)}),t.exports=o.inspectSource},3470:function(t,e,r){"use strict";var n=r("caa9"),a=r("00bd"),o=TypeError,c=Object.getOwnPropertyDescriptor,i=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=i?function(t,e){if(a(t)&&!c(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"34ae":function(t,e,r){var n=r("211b"),a=r("a64a"),o=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},3508:function(t,e){var r="object"==typeof document&&document.all,n="undefined"==typeof r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}},"385f":function(t,e,r){var n=r("0342"),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},"38c8":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"3ef0":function(t,e,r){var n=r("cae3"),a=r("9de2"),o=r("6f30"),c=r("4160"),i=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return a(e)&&o(e.prototype,i(t))}},4160:function(t,e,r){var n=r("42c1");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"42c1":function(t,e,r){var n=r("d0e9"),a=r("073d");t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"43b7":function(t,e,r){var n=r("073d"),a=r("9de2"),o=/#|\.prototype\./,c=function(t,e){var r=s[i(t)];return r==l||r!=u&&(a(e)?n(e):!!e)},i=c.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=c.data={},u=c.NATIVE="N",l=c.POLYFILL="P";t.exports=c},4833:function(t,e,r){var n=r("cae3"),a=r("b1ab"),o=r("34ae"),c=r("84d9"),i=r("8d23"),s=a([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(i(t)),r=c.f;return r?s(e,r(t)):e}},"48ea":function(t,e,r){var n=r("a8d8");e=n(!1),e.push([t.i,".pageLoader[data-v-2caf83d4]{position:fixed;top:30%;left:42%}.tableScroll[data-v-2caf83d4]{max-height:50vh;overflow-y:auto}.tableScroll1[data-v-2caf83d4]{max-height:60vh;overflow-y:auto}.modal-overlay[data-v-2caf83d4]{background-color:rgba(0,0,0,.8549019607843137)}.modal-fade-enter[data-v-2caf83d4],.modal-fade-leave-to[data-v-2caf83d4]{opacity:0}.modal-fade-enter-active[data-v-2caf83d4],.modal-fade-leave-active[data-v-2caf83d4]{transition:opacity .5s ease}",""]),t.exports=e},"52bd":function(t,e,r){"use strict";var n={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,o=a&&!n.call({1:2},1);e.f=o?function(t){var e=a(this,t);return!!e&&e.enumerable}:n},5435:function(t,e,r){var n=r("9a69"),a=r("123b"),o=r("7f94"),c=function(t){return function(e,r,c){var i,s=n(e),u=o(s),l=a(c,u);if(t&&r!=r){while(u>l)if(i=s[l++],i!=i)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"57bb":function(t,e){t.exports=!1},"59ff":function(t,e,r){var n=r("c683"),a=r("f6ba"),o=r("3ef0"),c=r("dd05"),i=r("23ea"),s=r("e285"),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!a(t)||o(t))return t;var r,s=c(t,l);if(s){if(void 0===e&&(e="default"),r=n(s,t,e),!a(r)||o(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},"5c13":function(t,e,r){var n=r("caa9"),a=r("9dca"),o=r("dba4"),c=r("8d23"),i=r("79b1"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?o?function(t,e,r){if(c(t),e=i(e),c(r),"function"===typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=l(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(c(t),e=i(e),c(r),a)try{return u(t,e,r)}catch(n){}if("get"in r||"set"in r)throw s("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"5f66":function(t,e){t.exports=function(t){return null===t||void 0===t}},"6cc5":function(t,e,r){var n=r("caa9"),a=r("9dce"),o=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=a(o,"name"),s=i&&"something"===function(){}.name,u=i&&(!n||n&&c(o,"name").configurable);t.exports={EXISTS:i,PROPER:s,CONFIGURABLE:u}},"6f30":function(t,e,r){var n=r("b1ab");t.exports=n({}.isPrototypeOf)},7086:function(t,e){var r=String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},"743a":function(t,e,r){var n=r("7d3c"),a=Object.defineProperty;t.exports=function(t,e){try{a(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},"79b1":function(t,e,r){var n=r("59ff"),a=r("3ef0");t.exports=function(t){var e=n(t,"string");return a(e)?e:e+""}},"7b20":function(t,e,r){var n=r("9de2"),a=r("7086"),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(a(t)+" is not a function")}},"7d3c":function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,r("d8fc"))},"7f94":function(t,e,r){var n=r("385f");t.exports=function(t){return n(t.length)}},8098:function(t,e,r){var n=r("caa9"),a=r("5c13"),o=r("38c8");t.exports=n?function(t,e,r){return a.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},"815e":function(t,e,r){var n=r("b1ab"),a=n({}.toString),o=n("".slice);t.exports=function(t){return o(a(t),8,-1)}},"84d9":function(t,e){e.f=Object.getOwnPropertySymbols},8596:function(t,e,r){"use strict";r.d(e,"y",(function(){return a})),r.d(e,"t",(function(){return o})),r.d(e,"u",(function(){return c})),r.d(e,"e",(function(){return i})),r.d(e,"x",(function(){return s})),r.d(e,"z",(function(){return u})),r.d(e,"r",(function(){return l})),r.d(e,"s",(function(){return f})),r.d(e,"f",(function(){return d})),r.d(e,"v",(function(){return p})),r.d(e,"h",(function(){return b})),r.d(e,"j",(function(){return v})),r.d(e,"q",(function(){return g})),r.d(e,"o",(function(){return m})),r.d(e,"p",(function(){return y})),r.d(e,"m",(function(){return h})),r.d(e,"k",(function(){return x})),r.d(e,"l",(function(){return w})),r.d(e,"A",(function(){return O})),r.d(e,"C",(function(){return _})),r.d(e,"w",(function(){return j})),r.d(e,"n",(function(){return C})),r.d(e,"i",(function(){return S})),r.d(e,"g",(function(){return P})),r.d(e,"a",(function(){return k})),r.d(e,"B",(function(){return A})),r.d(e,"b",(function(){return D})),r.d(e,"d",(function(){return E})),r.d(e,"c",(function(){return M}));var n=r("26fa");const a=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},v=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},g=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},m=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},h=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},O=async t=>{const e=await n["b"].get(t);return e},_=async t=>{const e=await n["b"].get(t);return e},j=async t=>{const e=await n["b"].get(t);return e},C=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},P=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},k=async t=>{const e=await n["b"].post("/user/role",t);return e},A=async t=>{const e=await n["b"].post("/user/removeRole",t);return e},D=async()=>{const t=await n["b"].get("role");return t},E=async t=>{const e=await n["b"].post("/user/saveLSS",t);return e},M=async t=>{const e=await n["b"].post("/user/saveEnvAccess",t);return e}},"89c6":function(t,e,r){var n=r("7d3c"),a=r("1d31").f,o=r("8098"),c=r("a025"),i=r("743a"),s=r("0bd7"),u=r("43b7");t.exports=function(t,e){var r,l,f,d,p,b,v=t.target,g=t.global,m=t.stat;if(l=g?n:m?n[v]||i(v,{}):(n[v]||{}).prototype,l)for(f in e){if(p=e[f],t.dontCallGetSet?(b=a(l,f),d=b&&b.value):d=l[f],r=u(g?f:v+(m?".":"#")+f,t.forced),!r&&void 0!==d){if(typeof p==typeof d)continue;s(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),c(l,f,p,t)}}},"89e7":function(t,e,r){var n=r("b1ab"),a=0,o=Math.random(),c=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++a+o,36)}},"8d23":function(t,e,r){var n=r("f6ba"),a=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(a(t)+" is not an object")}},"9a69":function(t,e,r){var n=r("f02e"),a=r("fd6a");t.exports=function(t){return n(a(t))}},"9d04":function(t,e,r){t.exports=r.p+"img/loadernew.gif"},"9dca":function(t,e,r){var n=r("caa9"),a=r("073d"),o=r("186a");t.exports=!n&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"9dce":function(t,e,r){var n=r("b1ab"),a=r("ab90"),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(a(t),e)}},"9de2":function(t,e,r){var n=r("3508"),a=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===a}:function(t){return"function"==typeof t}},a025:function(t,e,r){var n=r("9de2"),a=r("5c13"),o=r("baa9"),c=r("743a");t.exports=function(t,e,r,i){i||(i={});var s=i.enumerable,u=void 0!==i.name?i.name:e;if(n(r)&&o(r,u,i),i.global)s?t[e]=r:c(e,r);else{try{i.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=r:a.f(t,e,{value:r,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t}},a2e2:function(t,e,r){var n,a,o,c=r("2deb"),i=r("7d3c"),s=r("f6ba"),u=r("8098"),l=r("9dce"),f=r("0fe5"),d=r("d9ad"),p=r("0572"),b="Object already initialized",v=i.TypeError,g=i.WeakMap,m=function(t){return o(t)?a(t):n(t,{})},y=function(t){return function(e){var r;if(!s(e)||(r=a(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return r}};if(c||f.state){var h=f.state||(f.state=new g);h.get=h.get,h.has=h.has,h.set=h.set,n=function(t,e){if(h.has(t))throw v(b);return e.facade=t,h.set(t,e),e},a=function(t){return h.get(t)||{}},o=function(t){return h.has(t)}}else{var x=d("state");p[x]=!0,n=function(t,e){if(l(t,x))throw v(b);return e.facade=t,u(t,x,e),e},a=function(t){return l(t,x)?t[x]:{}},o=function(t){return l(t,x)}}t.exports={set:n,get:a,has:o,enforce:m,getterFor:y}},a64a:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},ab90:function(t,e,r){var n=r("fd6a"),a=Object;t.exports=function(t){return a(n(t))}},b1ab:function(t,e,r){var n=r("c43a"),a=Function.prototype,o=a.call,c=n&&a.bind.bind(o,o);t.exports=n?c:function(t){return function(){return o.apply(t,arguments)}}},baa9:function(t,e,r){var n=r("b1ab"),a=r("073d"),o=r("9de2"),c=r("9dce"),i=r("caa9"),s=r("6cc5").CONFIGURABLE,u=r("32b4"),l=r("a2e2"),f=l.enforce,d=l.get,p=String,b=Object.defineProperty,v=n("".slice),g=n("".replace),m=n([].join),y=i&&!a((function(){return 8!==b((function(){}),"length",{value:8}).length})),h=String(String).split("String"),x=t.exports=function(t,e,r){"Symbol("===v(p(e),0,7)&&(e="["+g(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!c(t,"name")||s&&t.name!==e)&&(i?b(t,"name",{value:e,configurable:!0}):t.name=e),y&&r&&c(r,"arity")&&t.length!==r.arity&&b(t,"length",{value:r.arity});try{r&&c(r,"constructor")&&r.constructor?i&&b(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(a){}var n=f(t);return c(n,"source")||(n.source=m(h,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return o(this)&&d(this).source||u(this)}),"toString")},c43a:function(t,e,r){var n=r("073d");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},c683:function(t,e,r){var n=r("c43a"),a=Function.prototype.call;t.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},c7de:function(t,e){var r=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw r("Maximum allowed index exceeded");return t}},caa9:function(t,e,r){var n=r("073d");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},cae3:function(t,e,r){var n=r("7d3c"),a=r("9de2"),o=function(t){return a(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},d0e9:function(t,e,r){var n,a,o=r("7d3c"),c=r("1000"),i=o.process,s=o.Deno,u=i&&i.versions||s&&s.version,l=u&&u.v8;l&&(n=l.split("."),a=n[0]>0&&n[0]<4?1:+(n[0]+n[1])),!a&&c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(a=+n[1]))),t.exports=a},d9ad:function(t,e,r){var n=r("2c81"),a=r("89e7"),o=n("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},dba4:function(t,e,r){var n=r("caa9"),a=r("073d");t.exports=n&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},dd05:function(t,e,r){var n=r("7b20"),a=r("5f66");t.exports=function(t,e){var r=t[e];return a(r)?void 0:n(r)}},e206:function(t,e,r){"use strict";r.d(e,"e",(function(){return a})),r.d(e,"c",(function(){return o})),r.d(e,"b",(function(){return c})),r.d(e,"a",(function(){return i})),r.d(e,"f",(function(){return s})),r.d(e,"g",(function(){return u})),r.d(e,"h",(function(){return l})),r.d(e,"d",(function(){return f}));var n=r("26fa");const a=async t=>{const e=await n["b"].get("assignProxyToCohortLearner/"+t);return e},o=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.AllGrade,e)),e},i=async(t,e)=>{try{let r;return console.log("programName "+e),await n["b"].get("/skill/edcast/"+t).then(async t=>{r=t.data;const e=document.createElement("a");return e.href=r,e.click(),URL.revokeObjectURL(e.href),r}),r}catch(r){return r}},s=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},u=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},l=async(t,e)=>{try{const r=await fetch(""+t,{method:"put",body:e}),n=r;return n}catch(r){return console.error(r),r}},f=async t=>{try{let e;return await n["b"].get("/program/report/"+t).then(t=>(e=t.data,e)),e}catch(e){return e}}},e285:function(t,e,r){var n=r("7d3c"),a=r("2c81"),o=r("9dce"),c=r("89e7"),i=r("42c1"),s=r("4160"),u=n.Symbol,l=a("wks"),f=s?u["for"]||u:u&&u.withoutSetter||c;t.exports=function(t){return o(l,t)||(l[t]=i&&o(u,t)?u[t]:f("Symbol."+t)),l[t]}},ee89:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return t.userRole?e("div",{staticClass:"admin program_admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._m(0),t.reportSuccessMessage?e("div",{staticClass:"text-green-700"},[t._v(t._s(t.reportSuccessMessage))]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),e("div",{staticClass:"w-full flex mt-6"},[e("SearchBar",{attrs:{data:t.ProgramDetailsArray,placeholder:"Search By Program Name"},on:{Filtered:t.getFilteredList}})],1),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewProgramDetails()}}},[t._v("View Program Details")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.viewParticipant()}}},[t._v("View Participants")]):t._e(),t.edcastBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.getEdcastUrl()}}},[t._v("Generate URL")]):t._e(),t.showReportBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerReport()}}},[t._v("Generate Participant Report")]):t._e(),t.showTriggerProxyAssignment?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.triggerProxyAssignmentForCohort()}}},[t._v("Trigger Proxy Assignment")]):t._e(),t.programBtnShow?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.manageEmailTemplates()}}},[t._v("Manage Email Templates")]):t._e()])]),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.filteredProgramDetails,(function(r){return e("tr",{key:r.program_id,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.programCheckOne,expression:"programCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:r.program_id},domProps:{value:r.program_id,checked:Array.isArray(t.programCheckOne)?t._i(t.programCheckOne,r.program_id)>-1:t.programCheckOne},on:{change:[function(e){var n=t.programCheckOne,a=e.target,o=!!a.checked;if(Array.isArray(n)){var c=r.program_id,i=t._i(n,c);a.checked?i<0&&(t.programCheckOne=n.concat([c])):i>-1&&(t.programCheckOne=n.slice(0,i).concat(n.slice(i+1)))}else t.programCheckOne=o},function(e){return t.showProgramDetailsBtn(e,r.program_id,r.participants,r.program_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3 text-left"},[t._v(t._s(r.program_display_name?r.program_display_name:r.program_name))]),e("td",{staticClass:"p-2 px-3 text-left capitalize"},[t._v(t._s(r.isAcademy))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(r.start_date))]),e("td",{staticClass:"p-2 px-3 text-center"},[t._v(t._s(r.end_date))])])})),0)])])]):e("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")]),[t.showParticipant?e("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[e("transition",{attrs:{name:"modal-fade"}},[e("div",{staticClass:"modal-overlay modal-overlay fixed top-0 bottom-0 left-0 right-0 flex justify-center"},[e("div",{staticClass:"bg-white h-3/4 modal relative text-center w-2/5 mt-5% pt-8"},[e("div",{staticClass:"justify-content"},[e("div",{staticClass:"text-xl px-3 text-left"},[t._v(t._s(t.selectedProgramName))]),e("div",{staticClass:"absolute right-2 pr-4 top-9 cursor-pointer",on:{click:function(e){return t.closeModal()}}},[e("x-icon",{attrs:{size:"1.5x"}})],1)]),e("div",{staticClass:"pt-4 tableScroll1"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over text-left"},[e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"},[t._v("Participant OHR")])])]),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.participantList,(function(r){return e("tr",{key:r,staticClass:"border-b hover:bg-gray-300"},[e("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t._v(t._s(r))])])})),0)])])])])])],1):t._e()],t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])],2):t._e()},a=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Program Administration")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("thead",{staticClass:"opacity-90 -text-blue-800"},[e("tr",{staticClass:"border-b"},[e("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("Program Name")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-left"},[t._v("is Academy")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("Start Date")]),e("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[t._v("End Date")])])])}],o=(r("f9f6"),r("6bcf")),c=r("949b"),i=r("bb03"),s=r.n(i),u=r("1dba"),l=r.n(u),f=r("afbc"),d=r("8596"),p=r("faec"),b=r("e206"),v=Object(o["b"])({name:"ProgramAdministration",components:{XIcon:c["g"],SearchBar:p["a"]},setup(){const t=Object(o["f"])(!1),e=Object(o["f"])(!1),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])(),c=Object(o["f"])(),i=Object(o["f"])([]),u=Object(o["f"])(),p=Object(o["f"])(),v=Object(o["f"])(0),g=Object(o["f"])(),m=Object(o["f"])(),y=Object(o["f"])(!1),h=Object(o["f"])(),x=Object(o["f"])(),w=Object(o["f"])(!1),O=Object(o["f"])(),_=Object(o["f"])(),j=Object(o["f"])(),C=Object(o["f"])(),S=Object(o["f"])(),P=Object(o["f"])(!1),k=Object(o["f"])(!1),A=Object(o["f"])(!1),D=Object(o["f"])(!1),E=Object(o["f"])(!1),M=Object(o["f"])(!1),T=()=>{i.value=[]},L=async()=>{v.value+=1,p.value=null,u.value=null},R=async t=>{try{const e=t.target.files[0],r=e.name,n=r.endsWith(".csv");n?(u.value=r,p.value=e):(O.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{O.value=null},6e3),v.value+=1,p.value=null,u.value=null)}catch(e){console.log(e)}},B=async()=>{c.value=!1;const t=await Object(b["c"])("/program"),e=t.data,n=e.sort((t,e)=>s()(e.start_date).utc().unix()-s()(t.start_date).utc().unix());for(let r=0;r<n.length;r+=1){const t=n[r];t.start_date=s()(t.start_date).format("DD-MM-YYYY"),t.end_date=s()(t.end_date).format("DD-MM-YYYY")}r.value=n,c.value=!0},F=(t,e,r,n)=>{const a=t.target.checked;!0===a?(m.value=!0,g.value=e,h.value=r,x.value=n,C.value.includes("System Admin")&&"infinity"!==e&&(M.value=!0),(C.value.includes("Program Admin")||C.value.includes("System Admin"))&&(D.value=!0,"infinity"===g.value||"S2"===g.value?(A.value=!1,E.value=!1):(A.value=!0,E.value=!0))):(m.value=!1,D.value=!1)},I=async()=>{c.value=!1,await Object(b["a"])(g.value,x.value),c.value=!0},N=async()=>{y.value=!0},z=async()=>{y.value=!1,i.value=[],m.value=!1,await B()},Y=()=>{const t=f["a"].resolve({path:"programDetails",query:{program_id:g.value}});window.open(t.href,"_blank")},U=async()=>{c.value=!1;const t=await Object(b["d"])(g.value);j.value="The report will be emailed to you",setTimeout(()=>{j.value=null},6e3),console.log("Report Trigger Response "+t),c.value=!0},G=async()=>{try{const t=await Object(b["e"])(g.value),e=t.data;j.value=e.message,setTimeout(()=>{j.value=null},6e3),console.log("Report Trigger Response "+JSON.stringify(e))}catch(e){if(c.value=!0,console.log("error peer review "+e),l.a.isAxiosError(e)){var t;const r=e;c.value=!0,O.value=null===(t=r.response)||void 0===t?void 0:t.data.message,setTimeout(()=>{O.value=null},2e3)}}},H=t=>{a.value=r.value.filter(e=>t.includes(e.program_name)),console.log("filteredProgramDetails",a.value)},V=()=>{f["a"].push({path:"manageEmailTemplates",query:{program_id:g.value}})};return Object(o["c"])(async()=>{const t=await Object(d["g"])("/getUserRole");S.value=t.user_key,C.value=t.user_roles,C.value.length>0&&(C.value.includes("Program Admin")||C.value.includes("System Admin")||C.value.includes("System Admin View Access")?P.value=!0:P.value=!1,await B()),console.log("ProgramDetails.value",r.value),a.value=r.value,n.value=r.value.map(t=>t.program_name)}),{openShareModal:t,openShareModalParticipant:e,ProgramDetails:r,renderReady:c,programCheckOne:i,checkOne:T,selectedProgramId:g,showProgramDetailsBtn:F,programBtnShow:m,viewParticipant:N,showParticipant:y,participantList:h,closeModal:z,viewProgramDetails:Y,selectedProgramName:x,getEdcastUrl:I,showBulkParticipantPanel:w,selectedFile:R,clearFile:L,bulkParticipantsFile:p,errorMessage:O,showScreen:P,userRole:C,loggedInUser:S,fileInputKey:v,successMessage:_,showReportBtn:A,showTaskImport:k,triggerReport:U,edcastBtnShow:D,showBulkBtn:E,reportSuccessMessage:j,triggerProxyAssignmentForCohort:G,showTriggerProxyAssignment:M,filteredProgramDetails:a,getFilteredList:H,ProgramDetailsArray:n,manageEmailTemplates:V}}}),g=v,m=(r("ef7f"),r("8619")),y=Object(m["a"])(g,n,a,!1,null,"2caf83d4",null);e["default"]=y.exports},ef7f:function(t,e,r){"use strict";r("19c6")},f02e:function(t,e,r){var n=r("b1ab"),a=r("073d"),o=r("815e"),c=Object,i=n("".split);t.exports=a((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i(t,""):c(t)}:c},f6ba:function(t,e,r){var n=r("9de2"),a=r("3508"),o=a.all;t.exports=a.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===o}:function(t){return"object"==typeof t?null!==t:n(t)}},f9f6:function(t,e,r){"use strict";var n=r("89c6"),a=r("ab90"),o=r("7f94"),c=r("3470"),i=r("c7de"),s=r("073d"),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=u||!l();n({target:"Array",proto:!0,arity:1,forced:f},{push:function(t){var e=a(this),r=o(e),n=arguments.length;i(r+n);for(var s=0;s<n;s++)e[r]=arguments[s],r++;return c(e,r),r}})},faec:function(t,e,r){"use strict";var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full flex mt-6"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:t.placeHolder1},domProps:{value:t.search},on:{keyup:function(e){t.filterProgramDetails(),t.$emit("Filtered",t.filteredProgramDetails)},input:function(e){e.target.composing||(t.search=e.target.value)}}})])},a=[],o=r("6bcf"),c=Object(o["b"])({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(t){const e=Object(o["f"])(""),r=Object(o["f"])(),n=Object(o["f"])(),a=Object(o["f"])(),c=()=>{a.value=t.data,n.value=a.value.filter(t=>t.toLowerCase().includes(e.value.toLowerCase()))};return Object(o["c"])(async()=>{r.value=t.placeholder,console.log("props.placeholder",t.placeholder)}),{placeHolder1:r,filteredProgramDetails:n,filterProgramDetails:c,search:e}}}),i=c,s=r("8619"),u=Object(s["a"])(i,n,a,!1,null,null,null);e["a"]=u.exports},fd6a:function(t,e,r){var n=r("5f66"),a=TypeError;t.exports=function(t){if(n(t))throw a("Can't call method on "+t);return t}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationProgramAdministration.js.map
|