@genpact/genome.mfe.solidify-app 1.17.2-alpha.91 → 1.17.2-alpha.93
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/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/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/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/js/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/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/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/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/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/app.js +8 -8
- 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"],{"059d":function(t,e,r){var n=r("b6e5"),a=r("08af"),o=r("4a30"),i=n(Function.toString);a(o.inspectSource)||(o.inspectSource=function(t){return i(t)}),t.exports=o.inspectSource},"08af":function(t,e,r){var n=r("4bc9"),a=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===a}:function(t){return"function"==typeof t}},"0a63":function(t,e,r){var n=r("cd21"),a=r("f14b"),o=r("bd0b"),i=r("a2fd"),c=r("7700"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=n?o?function(t,e,r){if(i(t),e=c(e),i(r),"function"===typeof t&&"prototype"===e&&"value"in r&&d in r&&!r[d]){var n=l(t,e);n&&n[d]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(i(t),e=c(e),i(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}},"0ad6":function(t,e,r){var n=r("6b8d"),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)}},"0b15":function(t,e,r){var n=r("08af"),a=r("4bc9"),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)}},"0c40":function(t,e,r){var n=r("6b8d"),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},"11ce":function(t,e){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var a,o,i,c,s;for(i in e)if(a=t[i],o=e[i],a&&r.test(i))if("class"===i&&("string"===typeof a&&(s=a,t[i]=a={},a[s]=!0),"string"===typeof o&&(s=o,e[i]=o={},o[s]=!0)),"on"===i||"nativeOn"===i||"hook"===i)for(c in o)a[c]=n(a[c],o[c]);else if(Array.isArray(a))t[i]=a.concat(o);else if(Array.isArray(o))t[i]=[a].concat(o);else for(c in o)a[c]=o[c];else t[i]=e[i];return t}),{})}},"14e0":function(t,e,r){var n=r("b6e5"),a=r("cd6f"),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(a(t),e)}},"248d":function(t,e,r){var n=r("b6e5"),a=r("872f"),o=r("980f"),i=Object,c=n("".split);t.exports=a((function(){return!i("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?c(t,""):i(t)}:i},"2dc2":function(t,e,r){var n=r("b6e5");t.exports=n({}.isPrototypeOf)},"2f21":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"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("872f"),a=r("08af"),o=/#|\.prototype\./,i=function(t,e){var r=s[c(t)];return r==l||r!=u&&(a(e)?n(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},"46e5":function(t,e){var r=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw r("Maximum allowed index exceeded");return t}},"47e4":function(t,e,r){var n=r("872f");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"49f2":function(t,e,r){var n=r("248d"),a=r("b29f");t.exports=function(t){return n(a(t))}},"4a30":function(t,e,r){var n=r("5cdb"),a=r("57d7"),o="__core-js_shared__",i=n[o]||a(o,{});t.exports=i},"4bc9":function(t,e){var r="object"==typeof document&&document.all,n="undefined"==typeof r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}},"4db8":function(t,e,r){var n=r("bb00"),a=r("872f");t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"4dc6":function(t,e,r){var n=r("75f2"),a=r("b6e5"),o=r("a3b3"),i=r("fb3f"),c=r("a2fd"),s=a([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=i.f;return r?s(e,r(t)):e}},"511e":function(t,e,r){var n=r("75f2"),a=r("08af"),o=r("2dc2"),i=r("b505"),c=Object;t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return a(e)&&o(e.prototype,c(t))}},"53a9":function(t,e,r){"use strict";r("b024")},"53d6":function(t,e,r){var n=r("cd21"),a=r("0a63"),o=r("2f21");t.exports=n?function(t,e,r){return a.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},5403:function(t,e){t.exports={}},"57d7":function(t,e,r){var n=r("5cdb"),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}},"5cdb":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"))},"60c0":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"6ae1":function(t,e){t.exports=!1},"6b8d":function(t,e,r){var n=r("c201");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},"6dd4":function(t,e,r){var n,a,o,i=r("f221"),c=r("5cdb"),s=r("0b15"),u=r("53d6"),l=r("14e0"),f=r("4a30"),p=r("a7f1"),d=r("5403"),h="Object already initialized",g=c.TypeError,v=c.WeakMap,b=function(t){return o(t)?a(t):n(t,{})},m=function(t){return function(e){var r;if(!s(e)||(r=a(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return r}};if(i||f.state){var y=f.state||(f.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw g(h);return e.facade=t,y.set(t,e),e},a=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var w=p("state");d[w]=!0,n=function(t,e){if(l(t,w))throw g(h);return e.facade=t,u(t,w,e),e},a=function(t){return l(t,w)?t[w]:{}},o=function(t){return l(t,w)}}t.exports={set:n,get:a,has:o,enforce:b,getterFor:m}},"6ece":function(t,e,r){var n=r("c6f6"),a=r("08af"),o=r("0b15"),i=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&a(r=t.toString)&&!o(c=n(r,t)))return c;if(a(r=t.valueOf)&&!o(c=n(r,t)))return c;if("string"!==e&&a(r=t.toString)&&!o(c=n(r,t)))return c;throw i("Can't convert object to primitive value")}},"705f":function(t,e,r){var n=r("b6e5"),a=r("872f"),o=r("08af"),i=r("14e0"),c=r("cd21"),s=r("ebc0").CONFIGURABLE,u=r("059d"),l=r("6dd4"),f=l.enforce,p=l.get,d=String,h=Object.defineProperty,g=n("".slice),v=n("".replace),b=n([].join),m=c&&!a((function(){return 8!==h((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(d(e),0,7)&&(e="["+v(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&(c?h(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&i(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?c&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(a){}var n=f(t);return i(n,"source")||(n.source=b(y,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&p(this).source||u(this)}),"toString")},"72bf":function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},"75f2":function(t,e,r){var n=r("5cdb"),a=r("08af"),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]}},7700:function(t,e,r){var n=r("c7fc"),a=r("511e");t.exports=function(t){var e=n(t,"string");return a(e)?e:e+""}},"790d":function(t,e,r){var n=r("b6e5"),a=0,o=Math.random(),i=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++a+o,36)}},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 i})),r.d(e,"e",(function(){return c})),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 p})),r.d(e,"v",(function(){return d})),r.d(e,"h",(function(){return h})),r.d(e,"j",(function(){return g})),r.d(e,"q",(function(){return v})),r.d(e,"o",(function(){return b})),r.d(e,"p",(function(){return m})),r.d(e,"m",(function(){return y})),r.d(e,"k",(function(){return w})),r.d(e,"l",(function(){return x})),r.d(e,"A",(function(){return O})),r.d(e,"C",(function(){return _})),r.d(e,"w",(function(){return k})),r.d(e,"n",(function(){return j})),r.d(e,"i",(function(){return C})),r.d(e,"g",(function(){return S})),r.d(e,"a",(function(){return P})),r.d(e,"B",(function(){return A})),r.d(e,"b",(function(){return z})),r.d(e,"d",(function(){return N})),r.d(e,"c",(function(){return D}));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},i=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},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},p=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},h=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,e)),e},v=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},b=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,e)),e},w=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},O=async t=>{const e=await n["b"].get(t);return e},_=async t=>{const e=await n["b"].get(t);return e},k=async t=>{const e=await n["b"].get(t);return e},j=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},S=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},P=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},z=async()=>{const t=await n["b"].get("role");return t},N=async t=>{const e=await n["b"].post("/user/saveLSS",t);return e},D=async t=>{const e=await n["b"].post("/user/saveEnvAccess",t);return e}},"872f":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"8f66":function(t,e,r){var n=r("cd21"),a=r("c6f6"),o=r("d3e0"),i=r("2f21"),c=r("49f2"),s=r("7700"),u=r("14e0"),l=r("f14b"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=s(e),l)try{return f(t,e)}catch(r){}if(u(t,e))return i(!a(o.f,t,e),t[e])}},"92ad":function(t,e){var r=String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},"949b":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return l})),r.d(e,"g",(function(){return f}));var n=r("11ce"),a=r.n(n),o={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},e.data]),[t("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},i={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},e.data]),[t("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},c={name:"DownloadIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-download"},e.data]),[t("path",{attrs:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}}),t("polyline",{attrs:{points:"7 10 12 15 17 10"}}),t("line",{attrs:{x1:"12",y1:"15",x2:"12",y2:"3"}})])}},s={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},e.data]),[t("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},u={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},e.data]),[t("polyline",{attrs:{points:"1 4 1 10 7 10"}}),t("polyline",{attrs:{points:"23 20 23 14 17 14"}}),t("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},l={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},e.data]),[t("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),t("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},f={name:"XIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},e.data]),[t("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),t("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"980f":function(t,e,r){var n=r("b6e5"),a=n({}.toString),o=n("".slice);t.exports=function(t){return o(a(t),8,-1)}},"9d04":function(t,e,r){t.exports=r.p+"img/loadernew.gif"},"9e29":function(t,e,r){var n=r("5cdb"),a=r("8f66").f,o=r("53d6"),i=r("eebc"),c=r("57d7"),s=r("b163"),u=r("32b4");t.exports=function(t,e){var r,l,f,p,d,h,g=t.target,v=t.global,b=t.stat;if(l=v?n:b?n[g]||c(g,{}):(n[g]||{}).prototype,l)for(f in e){if(d=e[f],t.dontCallGetSet?(h=a(l,f),p=h&&h.value):p=l[f],r=u(v?f:g+(b?".":"#")+f,t.forced),!r&&void 0!==p){if(typeof d==typeof p)continue;s(d,p)}(t.sham||p&&p.sham)&&o(d,"sham",!0),i(l,f,d,t)}}},a0e7:function(t,e,r){var n=r("08af"),a=r("92ad"),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(a(t)+" is not a function")}},a2fd:function(t,e,r){var n=r("0b15"),a=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(a(t)+" is not an object")}},a3b3:function(t,e,r){var n=r("e81f"),a=r("60c0"),o=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},a7f1:function(t,e,r){var n=r("e227"),a=r("790d"),o=n("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},aba3:function(t,e,r){var n=r("0c40");t.exports=function(t){return n(t.length)}},ac39:function(t,e,r){var n=r("980f");t.exports=Array.isArray||function(t){return"Array"==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})},b163:function(t,e,r){var n=r("14e0"),a=r("4dc6"),o=r("8f66"),i=r("0a63");t.exports=function(t,e,r){for(var c=a(e),s=i.f,u=o.f,l=0;l<c.length;l++){var f=c[l];n(t,f)||r&&n(r,f)||s(t,f,u(e,f))}}},b29f:function(t,e,r){var n=r("e58a"),a=TypeError;t.exports=function(t){if(n(t))throw a("Can't call method on "+t);return t}},b505:function(t,e,r){var n=r("4db8");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},b6e5:function(t,e,r){var n=r("47e4"),a=Function.prototype,o=a.call,i=n&&a.bind.bind(o,o);t.exports=n?i:function(t){return function(){return o.apply(t,arguments)}}},bac2:function(t,e,r){var n=r("49f2"),a=r("0ad6"),o=r("aba3"),i=function(t){return function(e,r,i){var c,s=n(e),u=o(s),l=a(i,u);if(t&&r!=r){while(u>l)if(c=s[l++],c!=c)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:i(!0),indexOf:i(!1)}},bb00:function(t,e,r){var n,a,o=r("5cdb"),i=r("72bf"),c=o.process,s=o.Deno,u=c&&c.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&&i&&(n=i.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/),n&&(a=+n[1]))),t.exports=a},bd0b:function(t,e,r){var n=r("cd21"),a=r("872f");t.exports=n&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},c043:function(t,e,r){var n=r("5cdb"),a=r("0b15"),o=n.document,i=a(o)&&a(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},c201: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)}},c3a8:function(t,e,r){var n=r("5cdb"),a=r("e227"),o=r("14e0"),i=r("790d"),c=r("4db8"),s=r("b505"),u=n.Symbol,l=a("wks"),f=s?u["for"]||u:u&&u.withoutSetter||i;t.exports=function(t){return o(l,t)||(l[t]=c&&o(u,t)?u[t]:f("Symbol."+t)),l[t]}},c6f6:function(t,e,r){var n=r("47e4"),a=Function.prototype.call;t.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},c754:function(t,e,r){"use strict";var n=r("9e29"),a=r("cd6f"),o=r("aba3"),i=r("f37c"),c=r("46e5"),s=r("872f"),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;c(r+n);for(var s=0;s<n;s++)e[r]=arguments[s],r++;return i(e,r),r}})},c7fc:function(t,e,r){var n=r("c6f6"),a=r("0b15"),o=r("511e"),i=r("eab0"),c=r("6ece"),s=r("c3a8"),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!a(t)||o(t))return t;var r,s=i(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"),c(t,e)}},cd21:function(t,e,r){var n=r("872f");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},cd6f:function(t,e,r){var n=r("b29f"),a=Object;t.exports=function(t){return a(n(t))}},d3e0: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},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 i})),r.d(e,"a",(function(){return c})),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},i=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.AllGrade,e)),e},c=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}}},e227:function(t,e,r){var n=r("6ae1"),a=r("4a30");(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.27.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"})},e58a:function(t,e){t.exports=function(t){return null===t||void 0===t}},e81f:function(t,e,r){var n=r("b6e5"),a=r("14e0"),o=r("49f2"),i=r("bac2").indexOf,c=r("5403"),s=n([].push);t.exports=function(t,e){var r,n=o(t),u=0,l=[];for(r in n)!a(c,r)&&a(n,r)&&s(l,r);while(e.length>u)a(n,r=e[u++])&&(~i(l,r)||s(l,r));return l}},eab0:function(t,e,r){var n=r("a0e7"),a=r("e58a");t.exports=function(t,e){var r=t[e];return a(r)?void 0:n(r)}},ebc0:function(t,e,r){var n=r("cd21"),a=r("14e0"),o=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,c=a(o,"name"),s=c&&"something"===function(){}.name,u=c&&(!n||n&&i(o,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},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 i=r.program_id,c=t._i(n,i);a.checked?c<0&&(t.programCheckOne=n.concat([i])):c>-1&&(t.programCheckOne=n.slice(0,c).concat(n.slice(c+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("c754"),r("6bcf")),i=r("949b"),c=r("bb03"),s=r.n(c),u=r("1dba"),l=r.n(u),f=r("afbc"),p=r("8596"),d=r("faec"),h=r("e206"),g=Object(o["b"])({name:"ProgramAdministration",components:{XIcon:i["g"],SearchBar:d["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"])(),i=Object(o["f"])(),c=Object(o["f"])([]),u=Object(o["f"])(),d=Object(o["f"])(),g=Object(o["f"])(0),v=Object(o["f"])(),b=Object(o["f"])(),m=Object(o["f"])(!1),y=Object(o["f"])(),w=Object(o["f"])(),x=Object(o["f"])(!1),O=Object(o["f"])(),_=Object(o["f"])(),k=Object(o["f"])(),j=Object(o["f"])(),C=Object(o["f"])(),S=Object(o["f"])(!1),P=Object(o["f"])(!1),A=Object(o["f"])(!1),z=Object(o["f"])(!1),N=Object(o["f"])(!1),D=Object(o["f"])(!1),M=()=>{c.value=[]},E=async()=>{g.value+=1,d.value=null,u.value=null},T=async t=>{try{const e=t.target.files[0],r=e.name,n=r.endsWith(".csv");n?(u.value=r,d.value=e):(O.value="Please Select valid file to upload, only CSV file is allowed",setTimeout(()=>{O.value=null},6e3),g.value+=1,d.value=null,u.value=null)}catch(e){console.log(e)}},I=async()=>{i.value=!1;const t=await Object(h["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,i.value=!0},B=(t,e,r,n)=>{const a=t.target.checked;!0===a?(b.value=!0,v.value=e,y.value=r,w.value=n,j.value.includes("System Admin")&&"infinity"!==e&&(D.value=!0),(j.value.includes("Program Admin")||j.value.includes("System Admin"))&&(z.value=!0,"infinity"===v.value||"S2"===v.value?(A.value=!1,N.value=!1):(A.value=!0,N.value=!0))):(b.value=!1,z.value=!1)},L=async()=>{i.value=!1,await Object(h["a"])(v.value,w.value),i.value=!0},R=async()=>{m.value=!0},F=async()=>{m.value=!1,c.value=[],b.value=!1,await I()},U=()=>{const t=f["a"].resolve({path:"programDetails",query:{program_id:v.value}});window.open(t.href,"_blank")},Y=async()=>{i.value=!1;const t=await Object(h["d"])(v.value);k.value="The report will be emailed to you",setTimeout(()=>{k.value=null},6e3),console.log("Report Trigger Response "+t),i.value=!0},G=async()=>{try{const t=await Object(h["e"])(v.value),e=t.data;k.value=e.message,setTimeout(()=>{k.value=null},6e3),console.log("Report Trigger Response "+JSON.stringify(e))}catch(e){if(i.value=!0,console.log("error peer review "+e),l.a.isAxiosError(e)){var t;const r=e;i.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:v.value}})};return Object(o["c"])(async()=>{const t=await Object(p["g"])("/getUserRole");C.value=t.user_key,j.value=t.user_roles,j.value.length>0&&(j.value.includes("Program Admin")||j.value.includes("System Admin")||j.value.includes("System Admin View Access")?S.value=!0:S.value=!1,await I()),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:i,programCheckOne:c,checkOne:M,selectedProgramId:v,showProgramDetailsBtn:B,programBtnShow:b,viewParticipant:R,showParticipant:m,participantList:y,closeModal:F,viewProgramDetails:U,selectedProgramName:w,getEdcastUrl:L,showBulkParticipantPanel:x,selectedFile:T,clearFile:E,bulkParticipantsFile:d,errorMessage:O,showScreen:S,userRole:j,loggedInUser:C,fileInputKey:g,successMessage:_,showReportBtn:A,showTaskImport:P,triggerReport:Y,edcastBtnShow:z,showBulkBtn:N,reportSuccessMessage:k,triggerProxyAssignmentForCohort:G,showTriggerProxyAssignment:D,filteredProgramDetails:a,getFilteredList:H,ProgramDetailsArray:n,manageEmailTemplates:V}}}),v=g,b=(r("53a9"),r("8619")),m=Object(b["a"])(v,n,a,!1,null,"4c631bc7",null);e["default"]=m.exports},eebc:function(t,e,r){var n=r("08af"),a=r("0a63"),o=r("705f"),i=r("57d7");t.exports=function(t,e,r,c){c||(c={});var s=c.enumerable,u=void 0!==c.name?c.name:e;if(n(r)&&o(r,u,c),c.global)s?t[e]=r:i(e,r);else{try{c.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=r:a.f(t,e,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},f14b:function(t,e,r){var n=r("cd21"),a=r("872f"),o=r("c043");t.exports=!n&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},f221:function(t,e,r){var n=r("5cdb"),a=r("08af"),o=n.WeakMap;t.exports=a(o)&&/native code/.test(String(o))},f37c:function(t,e,r){"use strict";var n=r("cd21"),a=r("ac39"),o=TypeError,i=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(a(t)&&!i(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},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"),i=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"])(),i=()=>{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:i,search:e}}}),c=i,s=r("8619"),u=Object(s["a"])(c,n,a,!1,null,null,null);e["a"]=u.exports},fb3f:function(t,e){e.f=Object.getOwnPropertySymbols}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationProgramAdministration"],{"02d9":function(t,e,r){var n=r("8e25"),a=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===a}:function(t){return"function"==typeof t}},"0411":function(t,e,r){var n=r("be87"),a=r("02d9"),o=r("f683"),i=TypeError;t.exports=function(t,e){var r,c;if("string"===e&&a(r=t.toString)&&!o(c=n(r,t)))return c;if(a(r=t.valueOf)&&!o(c=n(r,t)))return c;if("string"!==e&&a(r=t.toString)&&!o(c=n(r,t)))return c;throw i("Can't convert object to primitive value")}},"0c31":function(t,e,r){var n=r("c3a6"),a=Math.min;t.exports=function(t){return t>0?a(n(t),9007199254740991):0}},"0d20":function(t,e,r){var n=r("26c5"),a=n({}.toString),o=n("".slice);t.exports=function(t){return o(a(t),8,-1)}},"0f30":function(t,e,r){var n,a,o=r("510b"),i=r("d026"),c=o.process,s=o.Deno,u=c&&c.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&&i&&(n=i.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/),n&&(a=+n[1]))),t.exports=a},"11ce":function(t,e){var r=/^(attrs|props|on|nativeOn|class|style|hook)$/;function n(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var a,o,i,c,s;for(i in e)if(a=t[i],o=e[i],a&&r.test(i))if("class"===i&&("string"===typeof a&&(s=a,t[i]=a={},a[s]=!0),"string"===typeof o&&(s=o,e[i]=o={},o[s]=!0)),"on"===i||"nativeOn"===i||"hook"===i)for(c in o)a[c]=n(a[c],o[c]);else if(Array.isArray(a))t[i]=a.concat(o);else if(Array.isArray(o))t[i]=[a].concat(o);else for(c in o)a[c]=o[c];else t[i]=e[i];return t}),{})}},1530:function(t,e,r){var n,a,o,i=r("4dd6"),c=r("510b"),s=r("f683"),u=r("6311"),l=r("1617"),f=r("2e58"),d=r("7b91"),p=r("5686"),h="Object already initialized",g=c.TypeError,v=c.WeakMap,b=function(t){return o(t)?a(t):n(t,{})},m=function(t){return function(e){var r;if(!s(e)||(r=a(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return r}};if(i||f.state){var y=f.state||(f.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw g(h);return e.facade=t,y.set(t,e),e},a=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var w=d("state");p[w]=!0,n=function(t,e){if(l(t,w))throw g(h);return e.facade=t,u(t,w,e),e},a=function(t){return l(t,w)?t[w]:{}},o=function(t){return l(t,w)}}t.exports={set:n,get:a,has:o,enforce:b,getterFor:m}},1617:function(t,e,r){var n=r("26c5"),a=r("79b5"),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(a(t),e)}},1657:function(t,e,r){var n=r("510b"),a=r("02d9"),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]}},2074:function(t,e,r){var n=r("510b"),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}},2325:function(t,e,r){var n=r("0c31");t.exports=function(t){return n(t.length)}},"23d6":function(t,e,r){var n=r("542c"),a=r("2d59"),o=r("c379");t.exports=!n&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"26c5":function(t,e,r){var n=r("2949"),a=Function.prototype,o=a.call,i=n&&a.bind.bind(o,o);t.exports=n?i:function(t){return function(){return o.apply(t,arguments)}}},2949:function(t,e,r){var n=r("2d59");t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},"2d33":function(t,e){e.f=Object.getOwnPropertySymbols},"2d59":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2e58":function(t,e,r){var n=r("510b"),a=r("2074"),o="__core-js_shared__",i=n[o]||a(o,{});t.exports=i},"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},"31a6":function(t,e,r){var n=r("558a"),a=TypeError;t.exports=function(t){if(n(t))throw a("Can't call method on "+t);return t}},"3a2a":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},4026:function(t,e,r){"use strict";var n=r("a20d"),a=r("79b5"),o=r("2325"),i=r("db30"),c=r("dbd0"),s=r("2d59"),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;c(r+n);for(var s=0;s<n;s++)e[r]=arguments[s],r++;return i(e,r),r}})},"4b7a":function(t,e,r){var n=r("02d9"),a=r("f651"),o=TypeError;t.exports=function(t){if(n(t))return t;throw o(a(t)+" is not a function")}},"4dd6":function(t,e,r){var n=r("510b"),a=r("02d9"),o=n.WeakMap;t.exports=a(o)&&/native code/.test(String(o))},"4f2b":function(t,e,r){var n=r("542c"),a=r("23d6"),o=r("66a0"),i=r("9123"),c=r("8b31"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";e.f=n?o?function(t,e,r){if(i(t),e=c(e),i(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(i(t),e=c(e),i(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}},"4f76":function(t,e,r){var n=r("1657"),a=r("26c5"),o=r("cdb8"),i=r("2d33"),c=r("9123"),s=a([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=i.f;return r?s(e,r(t)):e}},"510b":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"))},"52aa":function(t,e,r){var n=r("7f9d"),a=r("31a6");t.exports=function(t){return n(a(t))}},"52cc":function(t,e,r){var n=r("26c5"),a=r("1617"),o=r("52aa"),i=r("d66c").indexOf,c=r("5686"),s=n([].push);t.exports=function(t,e){var r,n=o(t),u=0,l=[];for(r in n)!a(c,r)&&a(n,r)&&s(l,r);while(e.length>u)a(n,r=e[u++])&&(~i(l,r)||s(l,r));return l}},"53a9":function(t,e,r){"use strict";r("b024")},"542c":function(t,e,r){var n=r("2d59");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"558a":function(t,e){t.exports=function(t){return null===t||void 0===t}},"55dd":function(t,e,r){var n=r("c3a6"),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)}},5686:function(t,e){t.exports={}},"5e21":function(t,e,r){var n=r("0f30"),a=r("2d59");t.exports=!!Object.getOwnPropertySymbols&&!a((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},6311:function(t,e,r){var n=r("542c"),a=r("4f2b"),o=r("6ef4");t.exports=n?function(t,e,r){return a.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},6612:function(t,e,r){var n=r("26c5"),a=r("02d9"),o=r("2e58"),i=n(Function.toString);a(o.inspectSource)||(o.inspectSource=function(t){return i(t)}),t.exports=o.inspectSource},"66a0":function(t,e,r){var n=r("542c"),a=r("2d59");t.exports=n&&a((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},"68a0":function(t,e,r){var n=r("1617"),a=r("4f76"),o=r("7981"),i=r("4f2b");t.exports=function(t,e,r){for(var c=a(e),s=i.f,u=o.f,l=0;l<c.length;l++){var f=c[l];n(t,f)||r&&n(r,f)||s(t,f,u(e,f))}}},"68e4":function(t,e,r){var n=r("6d9a"),a=r("2e58");(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.28.0",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"6d9a":function(t,e){t.exports=!1},"6ef4":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"741c":function(t,e,r){var n=r("2d59"),a=r("02d9"),o=/#|\.prototype\./,i=function(t,e){var r=s[c(t)];return r==l||r!=u&&(a(e)?n(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},7981:function(t,e,r){var n=r("542c"),a=r("be87"),o=r("98f8"),i=r("6ef4"),c=r("52aa"),s=r("8b31"),u=r("1617"),l=r("23d6"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=c(t),e=s(e),l)try{return f(t,e)}catch(r){}if(u(t,e))return i(!a(o.f,t,e),t[e])}},"79b5":function(t,e,r){var n=r("31a6"),a=Object;t.exports=function(t){return a(n(t))}},"7b91":function(t,e,r){var n=r("68e4"),a=r("fc5e"),o=n("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},"7cd8":function(t,e,r){var n=r("26c5");t.exports=n({}.isPrototypeOf)},"7f9d":function(t,e,r){var n=r("26c5"),a=r("2d59"),o=r("0d20"),i=Object,c=n("".split);t.exports=a((function(){return!i("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?c(t,""):i(t)}:i},8288:function(t,e,r){var n=r("510b"),a=r("68e4"),o=r("1617"),i=r("fc5e"),c=r("5e21"),s=r("d740"),u=n.Symbol,l=a("wks"),f=s?u["for"]||u:u&&u.withoutSetter||i;t.exports=function(t){return o(l,t)||(l[t]=c&&o(u,t)?u[t]:f("Symbol."+t)),l[t]}},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 i})),r.d(e,"e",(function(){return c})),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 h})),r.d(e,"j",(function(){return g})),r.d(e,"q",(function(){return v})),r.d(e,"o",(function(){return b})),r.d(e,"p",(function(){return m})),r.d(e,"m",(function(){return y})),r.d(e,"k",(function(){return w})),r.d(e,"l",(function(){return x})),r.d(e,"A",(function(){return O})),r.d(e,"C",(function(){return _})),r.d(e,"w",(function(){return k})),r.d(e,"n",(function(){return j})),r.d(e,"i",(function(){return C})),r.d(e,"g",(function(){return S})),r.d(e,"a",(function(){return P})),r.d(e,"B",(function(){return A})),r.d(e,"b",(function(){return z})),r.d(e,"d",(function(){return N})),r.d(e,"c",(function(){return D}));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},i=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},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},h=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,e)),e},v=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},b=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,e)),e},w=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},O=async t=>{const e=await n["b"].get(t);return e},_=async t=>{const e=await n["b"].get(t);return e},k=async t=>{const e=await n["b"].get(t);return e},j=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},S=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.userObj,e)),e},P=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},z=async()=>{const t=await n["b"].get("role");return t},N=async t=>{const e=await n["b"].post("/user/saveLSS",t);return e},D=async t=>{const e=await n["b"].post("/user/saveEnvAccess",t);return e}},"8b31":function(t,e,r){var n=r("e078"),a=r("b777");t.exports=function(t){var e=n(t,"string");return a(e)?e:e+""}},"8e25":function(t,e){var r="object"==typeof document&&document.all,n="undefined"==typeof r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}},9123:function(t,e,r){var n=r("f683"),a=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw o(a(t)+" is not an object")}},"949b":function(t,e,r){"use strict";r.d(e,"a",(function(){return o})),r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return c})),r.d(e,"d",(function(){return s})),r.d(e,"e",(function(){return u})),r.d(e,"f",(function(){return l})),r.d(e,"g",(function(){return f}));var n=r("11ce"),a=r.n(n),o={name:"ChevronDownIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-down"},e.data]),[t("polyline",{attrs:{points:"6 9 12 15 18 9"}})])}},i={name:"ChevronUpIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-chevron-up"},e.data]),[t("polyline",{attrs:{points:"18 15 12 9 6 15"}})])}},c={name:"DownloadIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-download"},e.data]),[t("path",{attrs:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}}),t("polyline",{attrs:{points:"7 10 12 15 17 10"}}),t("line",{attrs:{x1:"12",y1:"15",x2:"12",y2:"3"}})])}},s={name:"FilterIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-filter"},e.data]),[t("polygon",{attrs:{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"}})])}},u={name:"RefreshCcwIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-refresh-ccw"},e.data]),[t("polyline",{attrs:{points:"1 4 1 10 7 10"}}),t("polyline",{attrs:{points:"23 20 23 14 17 14"}}),t("path",{attrs:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}})])}},l={name:"SearchIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-search"},e.data]),[t("circle",{attrs:{cx:"11",cy:"11",r:"8"}}),t("line",{attrs:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}})])}},f={name:"XIcon",props:{size:{type:String,default:"24",validator:function(t){return!isNaN(t)||t.length>=2&&!isNaN(t.slice(0,t.length-1))&&"x"===t.slice(-1)}}},functional:!0,render:function(t,e){var r="x"===e.props.size.slice(-1)?e.props.size.slice(0,e.props.size.length-1)+"em":parseInt(e.props.size)+"px",n=e.data.attrs||{};return n.width=n.width||r,n.height=n.height||r,e.data.attrs=n,t("svg",a()([{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},class:"feather feather-x"},e.data]),[t("line",{attrs:{x1:"18",y1:"6",x2:"6",y2:"18"}}),t("line",{attrs:{x1:"6",y1:"6",x2:"18",y2:"18"}})])}}},"98f8":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},"9d04":function(t,e,r){t.exports=r.p+"img/loadernew.gif"},"9d46":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)}},a20d:function(t,e,r){var n=r("510b"),a=r("7981").f,o=r("6311"),i=r("cd5e"),c=r("2074"),s=r("68a0"),u=r("741c");t.exports=function(t,e){var r,l,f,d,p,h,g=t.target,v=t.global,b=t.stat;if(l=v?n:b?n[g]||c(g,{}):(n[g]||{}).prototype,l)for(f in e){if(p=e[f],t.dontCallGetSet?(h=a(l,f),d=h&&h.value):d=l[f],r=u(v?f:g+(b?".":"#")+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),i(l,f,p,t)}}},ad8a:function(t,e,r){var n=r("0d20");t.exports=Array.isArray||function(t){return"Array"==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})},b777:function(t,e,r){var n=r("1657"),a=r("02d9"),o=r("7cd8"),i=r("d740"),c=Object;t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return a(e)&&o(e.prototype,c(t))}},be87:function(t,e,r){var n=r("2949"),a=Function.prototype.call;t.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},c379:function(t,e,r){var n=r("510b"),a=r("f683"),o=n.document,i=a(o)&&a(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},c3a6:function(t,e,r){var n=r("9d46");t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},ca8c:function(t,e,r){var n=r("542c"),a=r("1617"),o=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,c=a(o,"name"),s=c&&"something"===function(){}.name,u=c&&(!n||n&&i(o,"name").configurable);t.exports={EXISTS:c,PROPER:s,CONFIGURABLE:u}},cd5e:function(t,e,r){var n=r("02d9"),a=r("4f2b"),o=r("e129"),i=r("2074");t.exports=function(t,e,r,c){c||(c={});var s=c.enumerable,u=void 0!==c.name?c.name:e;if(n(r)&&o(r,u,c),c.global)s?t[e]=r:i(e,r);else{try{c.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=r:a.f(t,e,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},cdb8:function(t,e,r){var n=r("52cc"),a=r("3a2a"),o=a.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},d026:function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},d66c:function(t,e,r){var n=r("52aa"),a=r("55dd"),o=r("2325"),i=function(t){return function(e,r,i){var c,s=n(e),u=o(s),l=a(i,u);if(t&&r!=r){while(u>l)if(c=s[l++],c!=c)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:i(!0),indexOf:i(!1)}},d740:function(t,e,r){var n=r("5e21");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},db30:function(t,e,r){"use strict";var n=r("542c"),a=r("ad8a"),o=TypeError,i=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(a(t)&&!i(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},dbd0:function(t,e){var r=TypeError,n=9007199254740991;t.exports=function(t){if(t>n)throw r("Maximum allowed index exceeded");return t}},e078:function(t,e,r){var n=r("be87"),a=r("f683"),o=r("b777"),i=r("f9ae"),c=r("0411"),s=r("8288"),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!a(t)||o(t))return t;var r,s=i(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"),c(t,e)}},e129:function(t,e,r){var n=r("26c5"),a=r("2d59"),o=r("02d9"),i=r("1617"),c=r("542c"),s=r("ca8c").CONFIGURABLE,u=r("6612"),l=r("1530"),f=l.enforce,d=l.get,p=String,h=Object.defineProperty,g=n("".slice),v=n("".replace),b=n([].join),m=c&&!a((function(){return 8!==h((function(){}),"length",{value:8}).length})),y=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!i(t,"name")||s&&t.name!==e)&&(c?h(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&i(r,"arity")&&t.length!==r.arity&&h(t,"length",{value:r.arity});try{r&&i(r,"constructor")&&r.constructor?c&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(a){}var n=f(t);return i(n,"source")||(n.source=b(y,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||u(this)}),"toString")},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 i})),r.d(e,"a",(function(){return c})),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},i=async t=>{let e;return await n["b"].get(t).then(t=>(e=t.data.AllGrade,e)),e},c=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}}},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 i=r.program_id,c=t._i(n,i);a.checked?c<0&&(t.programCheckOne=n.concat([i])):c>-1&&(t.programCheckOne=n.slice(0,c).concat(n.slice(c+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("4026"),r("6bcf")),i=r("949b"),c=r("bb03"),s=r.n(c),u=r("1dba"),l=r.n(u),f=r("afbc"),d=r("8596"),p=r("faec"),h=r("e206"),g=Object(o["b"])({name:"ProgramAdministration",components:{XIcon:i["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"])(),i=Object(o["f"])(),c=Object(o["f"])([]),u=Object(o["f"])(),p=Object(o["f"])(),g=Object(o["f"])(0),v=Object(o["f"])(),b=Object(o["f"])(),m=Object(o["f"])(!1),y=Object(o["f"])(),w=Object(o["f"])(),x=Object(o["f"])(!1),O=Object(o["f"])(),_=Object(o["f"])(),k=Object(o["f"])(),j=Object(o["f"])(),C=Object(o["f"])(),S=Object(o["f"])(!1),P=Object(o["f"])(!1),A=Object(o["f"])(!1),z=Object(o["f"])(!1),N=Object(o["f"])(!1),D=Object(o["f"])(!1),M=()=>{c.value=[]},E=async()=>{g.value+=1,p.value=null,u.value=null},T=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),g.value+=1,p.value=null,u.value=null)}catch(e){console.log(e)}},I=async()=>{i.value=!1;const t=await Object(h["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,i.value=!0},B=(t,e,r,n)=>{const a=t.target.checked;!0===a?(b.value=!0,v.value=e,y.value=r,w.value=n,j.value.includes("System Admin")&&"infinity"!==e&&(D.value=!0),(j.value.includes("Program Admin")||j.value.includes("System Admin"))&&(z.value=!0,"infinity"===v.value||"S2"===v.value?(A.value=!1,N.value=!1):(A.value=!0,N.value=!0))):(b.value=!1,z.value=!1)},L=async()=>{i.value=!1,await Object(h["a"])(v.value,w.value),i.value=!0},R=async()=>{m.value=!0},F=async()=>{m.value=!1,c.value=[],b.value=!1,await I()},U=()=>{const t=f["a"].resolve({path:"programDetails",query:{program_id:v.value}});window.open(t.href,"_blank")},Y=async()=>{i.value=!1;const t=await Object(h["d"])(v.value);k.value="The report will be emailed to you",setTimeout(()=>{k.value=null},6e3),console.log("Report Trigger Response "+t),i.value=!0},G=async()=>{try{const t=await Object(h["e"])(v.value),e=t.data;k.value=e.message,setTimeout(()=>{k.value=null},6e3),console.log("Report Trigger Response "+JSON.stringify(e))}catch(e){if(i.value=!0,console.log("error peer review "+e),l.a.isAxiosError(e)){var t;const r=e;i.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:v.value}})};return Object(o["c"])(async()=>{const t=await Object(d["g"])("/getUserRole");C.value=t.user_key,j.value=t.user_roles,j.value.length>0&&(j.value.includes("Program Admin")||j.value.includes("System Admin")||j.value.includes("System Admin View Access")?S.value=!0:S.value=!1,await I()),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:i,programCheckOne:c,checkOne:M,selectedProgramId:v,showProgramDetailsBtn:B,programBtnShow:b,viewParticipant:R,showParticipant:m,participantList:y,closeModal:F,viewProgramDetails:U,selectedProgramName:w,getEdcastUrl:L,showBulkParticipantPanel:x,selectedFile:T,clearFile:E,bulkParticipantsFile:p,errorMessage:O,showScreen:S,userRole:j,loggedInUser:C,fileInputKey:g,successMessage:_,showReportBtn:A,showTaskImport:P,triggerReport:Y,edcastBtnShow:z,showBulkBtn:N,reportSuccessMessage:k,triggerProxyAssignmentForCohort:G,showTriggerProxyAssignment:D,filteredProgramDetails:a,getFilteredList:H,ProgramDetailsArray:n,manageEmailTemplates:V}}}),v=g,b=(r("53a9"),r("8619")),m=Object(b["a"])(v,n,a,!1,null,"4c631bc7",null);e["default"]=m.exports},f651:function(t,e){var r=String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},f683:function(t,e,r){var n=r("02d9"),a=r("8e25"),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)}},f9ae:function(t,e,r){var n=r("4b7a"),a=r("558a");t.exports=function(t,e){var r=t[e];return a(r)?void 0:n(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"),i=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"])(),i=()=>{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:i,search:e}}}),c=i,s=r("8619"),u=Object(s["a"])(c,n,a,!1,null,null,null);e["a"]=u.exports},fc5e:function(t,e,r){var n=r("26c5"),a=0,o=Math.random(),i=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++a+o,36)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationProgramAdministration.js.map
|