@genpact/genome.mfe.solidify-app 1.17.2-alpha.75 → 1.17.2-alpha.77
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/index.html +1 -1
- package/dist/js/LearnerRereview.js +1 -1
- package/dist/js/LearnerRereview.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js +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/SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskDetails.js +4 -4
- package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -1
- package/dist/js/SolidifyLearner.js +2 -2
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/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 +39 -39
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-7ac43392.js +2 -0
- package/dist/js/chunk-7ac43392.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-1b4a73ff.js +0 -2
- package/dist/js/chunk-1b4a73ff.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationEmailTemplateManagement"],{"0323":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"0418":function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("cad9")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"05ff":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?r:n)(e)}},"085a":function(t,e,n){var r=n("214f"),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},"107e":function(t,e,n){var r=n("644c"),o=n("3426"),a=n("5e2f"),i=n("5151");t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&a(n,u,s),s.global)c?t[e]=n:i(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},"112f":function(t,e,n){"use strict";var r=n("7de8").version,o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var a={};function i(t,e,n){if("object"!==typeof t)throw new TypeError("options must be an object");var r=Object.keys(t),o=r.length;while(o-- >0){var a=r[o],i=e[a];if(i){var s=t[a],c=void 0===s||i(s,a,t);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+a)}}o.transitional=function(t,e,n){function o(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,i){if(!1===t)throw new Error(o(r," has been removed"+(e?" in "+e:"")));return e&&!a[r]&&(a[r]=!0,console.warn(o(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,i)}},t.exports={assertOptions:i,validators:o}},1185:function(t,e,n){var r=n("085a"),o=n("644c"),a=n("91f1"),i=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!a(s=r(n,t)))return s;if(o(n=t.valueOf)&&!a(s=r(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!a(s=r(n,t)))return s;throw i("Can't convert object to primitive value")}},"122c":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},1464:function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},1501:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},"163d":function(t,e,n){var r=n("9908"),o=n("b662"),a=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},"1d28":function(t,e,n){var r=n("2253");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"1dba":function(t,e,n){t.exports=n("46c8")},"214f":function(t,e,n){var r=n("ab3a");t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2253:function(t,e,n){var r=n("ab64"),o=r({}.toString),a=r("".slice);t.exports=function(t){return a(o(t),8,-1)}},"22e2":function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!r.call({1:2},1);e.f=a?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},2566:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n("26fa");const o=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.sys_settings,e)),e},a=async(t,e)=>{try{let n;return await r["a"].post(t,e).then(t=>(n=t.data,n)),n}catch(n){console.log(n)}}},"26fa":function(t,e,n){"use strict";var r=n("1dba"),o=n.n(r);function a({$http:t}){const e=localStorage.getItem("accessToken");e?t.defaults.headers.common.Authorization="Bearer "+e:delete t.defaults.headers.common.Authorization}var i=({$http:t})=>{a({$http:t}),t.interceptors.request.use(e=>(a({$http:t}),e),t=>Promise.reject(t)),t.interceptors.response.use(t=>t,t=>{if(console.log("inside interceptor"),console.warn(t.message,{...t}),!t||!t.response||!t.response.config)return alert("Oops! Your session expired. Please log in again!"),window.location.reload(),Promise.reject(t);if(t.response&&t.response.config&&"newRelic"===t.response.config.requestName)return Promise.reject(t);try{console.log("error.response.status "+t.response.status),(t.response&&401===t.response.status||t.response&&403===t.response.status)&&(alert("Oops! Your session expired. Please log in again!"),window.location.reload())}catch(e){try{console.warn(e,{...e}),console.warn(JSON.stringify({...e}))}catch(n){console.warn(n)}alert("Generic error")}return Promise.reject(t)})};let s="poc";const{host:c}=window.location;console.log(" solidify "+c),"dev.genome.genpact.com"===c?s="dev":"uat.genome.genpact.com"===c?s="uat":"genome-eda-rel.azurewebsites.net"===c?s="prod":c.includes("localhost")&&(s="local");let u="";u="local"===s?"http://localhost:3000/local/genome-solidify-api-svc":`https://api-router.azurefd.net/${s}/aws/api/genome/solidify`,console.log(" solidify "+u),o.a.defaults.baseURL=u,o.a.defaults.headers.common["x-oauth-config-provider"]="cognito-aps1",i({$http:o.a});e["a"]=o.a},2998:function(t,e,n){"use strict";var r=n("8a5d");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,o,a,i){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"2ae2":function(t,e,n){var r,o,a=n("d168"),i=n("47d5"),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},"316b":function(t,e,n){var r=n("d168"),o=n("644c"),a=r.WeakMap;t.exports=o(a)&&/native code/.test(String(a))},3426:function(t,e,n){var r=n("a15f"),o=n("cca5"),a=n("b58f"),i=n("b172"),s=n("61ca"),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=r?a?function(t,e,n){if(i(t),e=s(e),i(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=l(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(i(t),e=s(e),i(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"386e":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},3884:function(t,e,n){"use strict";var r=n("8a5d");function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var a;if(n)a=n(e);else if(r.isURLSearchParams(e))a=e.toString();else{var i=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),i.push(o(e)+"="+o(t))})))})),a=i.join("&")}if(a){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},"3a3a":function(t,e,n){var r=n("05ff");t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},"3dd5":function(t,e,n){var r=n("085a"),o=n("91f1"),a=n("dfad"),i=n("fee9"),s=n("1185"),c=n("9168"),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||a(t))return t;var n,c=i(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||a(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4104:function(t,e,n){var r=n("a15f"),o=n("abf7"),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=o(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},"46c8":function(t,e,n){"use strict";var r=n("8a5d"),o=n("1464"),a=n("6c7d"),i=n("76b7"),s=n("cc3a");function c(t){var e=new a(t),n=o(a.prototype.request,e);return r.extend(n,a.prototype,e),r.extend(n,e),n.create=function(e){return c(i(t,e))},n}var u=c(s);u.Axios=a,u.Cancel=n("82ac"),u.CancelToken=n("823a"),u.isCancel=n("0323"),u.VERSION=n("7de8").version,u.all=function(t){return Promise.all(t)},u.spread=n("c279"),u.isAxiosError=n("122c"),t.exports=u,t.exports.default=u},"47d5":function(t,e,n){var r=n("a8db");t.exports=r("navigator","userAgent")||""},"4af6":function(t,e,n){"use strict";var r=n("8a5d"),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,a,i={};return t?(r.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=r.trim(t.substr(0,a)).toLowerCase(),n=r.trim(t.substr(a+1)),e){if(i[e]&&o.indexOf(e)>=0)return;i[e]="set-cookie"===e?(i[e]?i[e]:[]).concat([n]):i[e]?i[e]+", "+n:n}})),i):i}},"4e6a":function(t,e,n){var r=n("5a25"),o=n("a83c");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.27.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5151:function(t,e,n){var r=n("d168"),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},5900:function(t,e){t.exports=function(t){return null===t||void 0===t}},5921:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"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-12"},[t.isPreview?e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Template Preview")])]):e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Template Details")])]),t.showSuccessMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.showErrorMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.renderReady?e("div",{staticClass:"w-full mt-4"},[t.isPreview?e("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[e("div",{staticClass:"w-full px-2 mb-3 text-center text-2xl font-bold text-blue-900"},[t._v(t._s(t.template.subject))]),e("div",{staticClass:"w-full md:w-full px-3 mb-4",domProps:{innerHTML:t._s(t.previewContent)}}),e("div",{staticClass:"w-full text-center"},[e("button",{staticClass:"px-4 py-2 border border-blue-900 bg-white-500 text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.openPreview()}}},[t._v("Back")])])]):e("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full md:w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Name ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.template.template_name,expression:"template.template_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:!t.isNew,type:"text"},domProps:{value:t.template.template_name},on:{input:function(e){e.target.composing||t.$set(t.template,"template_name",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Subject ")]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.template.subject,expression:"template.subject"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",domProps:{value:t.template.subject},on:{input:function(e){e.target.composing||t.$set(t.template,"subject",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full h-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Content ")]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.template.content,expression:"template.content"}],staticClass:"appearance-none block w-full h-80 text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",domProps:{value:t.template.content},on:{input:function(e){e.target.composing||t.$set(t.template,"content",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full px-3 mb-4 text-center mt-5"},[e("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministrationEmailTemplateManagement"}}},[t._v(" Back ")]),e("button",{staticClass:"mr-2 px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.openPreview()}}},[t._v("Preview")]),t.showUpdate?e("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.updateTemplate()}}},[t._v("Update")]):t._e()],1)])])]):t._e()]):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:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])])},o=[],a=n("8596"),i=n("6bcf"),s=n("be10"),c=n("1dba"),u=n.n(c),l=n("2566"),f=Object(i["b"])({name:"EmailTemplateDetails",components:{},props:{query:{type:Object,default:()=>({})}},setup(t){const e=Object(i["f"])(t.query.template),n=Object(i["f"])(!0),r=Object(i["f"])({}),o=Object(i["f"])(),c=Object(i["f"])(!0),f=Object(i["f"])(),p=Object(i["f"])(),d=Object(i["f"])(!1),h=Object(i["f"])(!1),m=Object(i["f"])(),v=Object(i["f"])(!1),b=Object(i["f"])("true"===t.query.is_new),g=Object(i["f"])(!1),y=Object(i["f"])(!1),w=Object(i["f"])(),x=Object(i["f"])(),j=async()=>{try{n.value=!1,r.value={...r.value,is_new:b.value};const t=await Object(s["b"])("/email/templates/save",r.value);console.log(t),m.value=t.data.message,n.value=!0,h.value=!0,v.value=!1,window.scroll(0,0),n.value=!0}catch(e){if(n.value=!0,u.a.isAxiosError(e)){var t;const r=e;n.value=!0,m.value=null===(t=r.response)||void 0===t?void 0:t.data.message,v.value=!0,h.value=!1,setTimeout(()=>{v.value=!1},5e3)}}},O=()=>{const t=r.value;let e="";if(""===(null===t||void 0===t?void 0:t.content))return window.scroll(0,0),m.value="Template Content cannot be empty",v.value=!0,h.value=!1,void setTimeout(()=>{v.value=!1},5e3);const n=null===t||void 0===t?void 0:t.content.split("$");let o=!0;n.forEach(t=>{void 0!==w.value[t]?(console.log(w.value[t]),e+=w.value[t],o=!0):o?(e+=""+t,o=!1):(e+="$"+t,o=!1)}),console.log(e),x.value=e,g.value=!g.value},C=async()=>{n.value=!1;try{if(!1===b.value){const t=await Object(s["a"])("/email/templates/all");console.log(e.value),r.value=t.data.body.Items.find(t=>{if(e.value===t.template_name)return console.log(t),t})}}catch(o){if(u.a.isAxiosError(o)){var t;const e=o;n.value=!0,m.value=null===(t=e.response)||void 0===t?void 0:t.statusText,v.value=!0,h.value=!1,setTimeout(()=>{v.value=!1},7e3)}}n.value=!0};return Object(i["c"])(async()=>{const t=await Object(a["g"])("/getUserRole");if(f.value=t.user_key,p.value=t.user_roles,p.value.length>0)if(p.value.includes("System Admin")){d.value=!0,await C();const t=await Object(l["a"])("system/config");w.value=t,console.log(t)}else d.value=!1}),{templateID:e,showSuccessMessage:h,showScreen:d,resMessage:m,showErrorMessage:v,showUpdate:c,errorMessage:o,renderReady:n,template:r,openPreview:O,updateTemplate:j,isNew:b,isPreview:g,previewContent:x,previewShow:y}}}),p=f,d=n("8619"),h=Object(d["a"])(p,r,o,!1,null,null,null);e["default"]=h.exports},"5a25":function(t,e){t.exports=!1},"5c2c":function(t,e,n){var r=n("a15f"),o=n("085a"),a=n("22e2"),i=n("e6a8"),s=n("8041"),c=n("61ca"),u=n("abf7"),l=n("cca5"),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=s(t),e=c(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return i(!o(a.f,t,e),t[e])}},"5cd4":function(t,e,n){"use strict";var r=n("8a5d"),o=n("cc3a");t.exports=function(t,e,n){var a=this||o;return r.forEach(n,(function(n){t=n.call(a,t,e)})),t}},"5df9":function(t,e,n){"use strict";var r=n("8a5d");function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},"5e2f":function(t,e,n){var r=n("ab3a"),o=n("644c"),a=n("abf7"),i=n("a15f"),s=n("4104").CONFIGURABLE,c=n("7cbd"),u=n("7cfe"),l=u.enforce,f=u.get,p=Object.defineProperty,d=i&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||s&&t.name!==e)&&(i?p(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&a(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?i&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=l(t);return a(r,"source")||(r.source=h.join("string"==typeof e?e:"")),t};Function.prototype.toString=m((function(){return o(this)&&f(this).source||c(this)}),"toString")},6136:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},"61ca":function(t,e,n){var r=n("3dd5"),o=n("dfad");t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6369:function(t,e,n){var r=n("af95"),o=Object;t.exports=function(t){return o(r(t))}},"639e":function(t,e,n){"use strict";var r=n("6136"),o=n("1501");t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},"644c":function(t,e,n){var r=n("ee76"),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},"670d":function(t,e){var n=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw n("Maximum allowed index exceeded");return t}},6839:function(t,e,n){var r=n("ab3a"),o=n("644c"),a=/#|\.prototype\./,i=function(t,e){var n=c[s(t)];return n==l||n!=u&&(o(e)?r(e):!!e)},s=i.normalize=function(t){return String(t).replace(a,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},"6a00":function(t,e,n){var r=n("d168"),o=n("5c2c").f,a=n("8e8e"),i=n("107e"),s=n("5151"),c=n("8d70"),u=n("6839");t.exports=function(t,e){var n,l,f,p,d,h,m=t.target,v=t.global,b=t.stat;if(l=v?r:b?r[m]||s(m,{}):(r[m]||{}).prototype,l)for(f in e){if(d=e[f],t.dontCallGetSet?(h=o(l,f),p=h&&h.value):p=l[f],n=u(v?f:m+(b?".":"#")+f,t.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(t.sham||p&&p.sham)&&a(d,"sham",!0),i(l,f,d,t)}}},"6c7d":function(t,e,n){"use strict";var r=n("8a5d"),o=n("3884"),a=n("5df9"),i=n("93f9"),s=n("76b7"),c=n("112f"),u=c.validators;function l(t){this.defaults=t,this.interceptors={request:new a,response:new a}}l.prototype.request=function(t,e){if("string"===typeof t?(e=e||{},e.url=t):e=t||{},!e.url)throw new Error("Provided config url is not valid");e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],o=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(o=o&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)})),!o){var f=[i,void 0];Array.prototype.unshift.apply(f,r),f=f.concat(l),a=Promise.resolve(e);while(f.length)a=a.then(f.shift(),f.shift());return a}var p=e;while(r.length){var d=r.shift(),h=r.shift();try{p=d(p)}catch(m){h(m);break}}try{a=i(p)}catch(m){return Promise.reject(m)}while(l.length)a=a.then(l.shift(),l.shift());return a},l.prototype.getUri=function(t){if(!t.url)throw new Error("Provided config url is not valid");return t=s(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){l.prototype[t]=function(e,n){return this.request(s(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){l.prototype[t]=function(e,n,r){return this.request(s(r||{},{method:t,url:e,data:n}))}})),t.exports=l},7188:function(t,e,n){var r=n("ab64"),o=n("ab3a"),a=n("2253"),i=Object,s=r("".split);t.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?s(t,""):i(t)}:i},"76b7":function(t,e,n){"use strict";var r=n("8a5d");t.exports=function(t,e){e=e||{};var n={};function o(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function a(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(t[n],e[n])}function i(t){if(!r.isUndefined(e[t]))return o(void 0,e[t])}function s(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:o(void 0,t[n]):o(void 0,e[n])}function c(n){return n in e?o(t[n],e[n]):n in t?o(void 0,t[n]):void 0}var u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=u[t]||a,o=e(t);r.isUndefined(o)&&e!==c||(n[t]=o)})),n}},7943:function(t,e,n){var r=n("a8d8");e=r(!1),e.push([t.i,".tableScroll[data-v-170797d3]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},"7cbd":function(t,e,n){var r=n("ab64"),o=n("644c"),a=n("a83c"),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(t){return i(t)}),t.exports=a.inspectSource},"7cc3":function(t,e,n){"use strict";var r=n("a15f"),o=n("1d28"),a=TypeError,i=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(o(t)&&!i(t,"length").writable)throw a("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"7cfe":function(t,e,n){var r,o,a,i=n("316b"),s=n("d168"),c=n("91f1"),u=n("8e8e"),l=n("abf7"),f=n("a83c"),p=n("dbfe"),d=n("ea1a"),h="Object already initialized",m=s.TypeError,v=s.WeakMap,b=function(t){return a(t)?o(t):r(t,{})},g=function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}};if(i||f.state){var y=f.state||(f.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,r=function(t,e){if(y.has(t))throw m(h);return e.facade=t,y.set(t,e),e},o=function(t){return y.get(t)||{}},a=function(t){return y.has(t)}}else{var w=p("state");d[w]=!0,r=function(t,e){if(l(t,w))throw m(h);return e.facade=t,u(t,w,e),e},o=function(t){return l(t,w)?t[w]:{}},a=function(t){return l(t,w)}}t.exports={set:r,get:o,has:a,enforce:b,getterFor:g}},"7de8":function(t,e){t.exports={version:"0.25.0"}},"7f31":function(t,e,n){"use strict";var r=n("8a5d");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"803b":function(t,e,n){var r=n("ab64"),o=0,a=Math.random(),i=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++o+a,36)}},8041:function(t,e,n){var r=n("7188"),o=n("af95");t.exports=function(t){return r(o(t))}},"823a":function(t,e,n){"use strict";var r=n("82ac");function o(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},o.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},o.source=function(){var t,e=new o((function(e){t=e}));return{token:e,cancel:t}},t.exports=o},"82ac":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},8391:function(t,e,n){var r=n("f189");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8596:function(t,e,n){"use strict";n.d(e,"y",(function(){return o})),n.d(e,"t",(function(){return a})),n.d(e,"u",(function(){return i})),n.d(e,"e",(function(){return s})),n.d(e,"x",(function(){return c})),n.d(e,"z",(function(){return u})),n.d(e,"r",(function(){return l})),n.d(e,"s",(function(){return f})),n.d(e,"f",(function(){return p})),n.d(e,"v",(function(){return d})),n.d(e,"h",(function(){return h})),n.d(e,"j",(function(){return m})),n.d(e,"q",(function(){return v})),n.d(e,"o",(function(){return b})),n.d(e,"p",(function(){return g})),n.d(e,"m",(function(){return y})),n.d(e,"k",(function(){return w})),n.d(e,"l",(function(){return x})),n.d(e,"A",(function(){return j})),n.d(e,"C",(function(){return O})),n.d(e,"w",(function(){return C})),n.d(e,"n",(function(){return _})),n.d(e,"i",(function(){return S})),n.d(e,"g",(function(){return k})),n.d(e,"a",(function(){return E})),n.d(e,"B",(function(){return T})),n.d(e,"b",(function(){return P})),n.d(e,"d",(function(){return A})),n.d(e,"c",(function(){return N}));var r=n("26fa");const o=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},a=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},m=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},v=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},b=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},g=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},x=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},j=async t=>{const e=await r["a"].get(t);return e},O=async t=>{const e=await r["a"].get(t);return e},C=async t=>{const e=await r["a"].get(t);return e},_=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data,e)),e},k=async t=>{let e;return await r["a"].get(t).then(t=>(e=t.data.userObj,e)),e},E=async t=>{const e=await r["a"].post("/user/role",t);return e},T=async t=>{const e=await r["a"].post("/user/removeRole",t);return e},P=async()=>{const t=await r["a"].get("role");return t},A=async t=>{const e=await r["a"].post("/user/saveLSS",t);return e},N=async t=>{const e=await r["a"].post("/user/saveEnvAccess",t);return e}},8764:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"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),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[e("router-link",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",attrs:{to:{name:"SolidifyAdministrationEmailTemplateDetails",query:{is_new:"true"}}}},[t._v("Add Email Template")]),t.editTemplateBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.editTemplate()}}},[t._v("Edit Template")]):t._e()],1)]),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.emailTemplates,(function(n){return e("tr",{key:n.template_name,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.templateCheck,expression:"templateCheck"}],attrs:{type:"checkbox",id:n.template_name},domProps:{value:n.template_name,checked:Array.isArray(t.templateCheck)?t._i(t.templateCheck,n.template_name)>-1:t.templateCheck},on:{change:[function(e){var r=t.templateCheck,o=e.target,a=!!o.checked;if(Array.isArray(r)){var i=n.template_name,s=t._i(r,i);o.checked?s<0&&(t.templateCheck=r.concat([i])):s>-1&&(t.templateCheck=r.slice(0,s).concat(r.slice(s+1)))}else t.templateCheck=a},function(e){return t.showTemplateEditBtn(e,n.template_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.template_name))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.subject))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.content))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.modified_date))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.modified_by))])])})),0)])])]):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:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])])},o=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full flex justify-between"},[e("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[t._v("Email Template Management")])])},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:"text-left py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Template Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Template Subject")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Content")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Modified Date")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Modified By")])])])}],a=(n("ec53"),n("6bcf")),i=n("8596"),s=n("be10"),c=n("bb03"),u=n.n(c),l=n("afbc"),f=Object(a["b"])({name:"EmailTemplateManagement",components:{},setup(){const t=Object(a["f"])(),e=Object(a["f"])(),n=Object(a["f"])(!1),r=Object(a["f"])([]),o=Object(a["f"])(!1),c=Object(a["f"])(!1),f=Object(a["f"])(""),p=Object(a["f"])([]),d=()=>{p.value=[]},h=async()=>{o.value=!1;try{const t=await Object(s["a"])("/email/templates/all");r.value=t.data.body.Items,r.value.map(t=>(t.created_date=u()(t.created_date).format("DD-MM-YYYY hh:mm:ss"),t.modified_date=u()(t.modified_date).format("DD-MM-YYYY hh:mm:ss"),t)),o.value=!0}catch(t){const e=t;console.log(e.response)}},m=async(t,e)=>{!0===t.target.checked?(c.value=!0,f.value=e):(c.value=!1,f.value="")},v=async()=>{console.log("template editing",f.value);const t={template:f.value,is_new:"false"};l["a"].push({path:"EmailTemplateDetails",query:t})};return Object(a["c"])(async()=>{const r=await Object(i["g"])("/getUserRole");t.value=r.user_key,e.value=r.user_roles,e.value.length>0&&(e.value.includes("System Admin")?(n.value=!0,await h()):n.value=!1)}),{loggedInUser:t,userRole:e,showScreen:n,emailTemplates:r,renderReady:o,showTemplateEditBtn:m,editTemplateBtn:c,editTemplate:v,templateCheck:p,checkOne:d}}}),p=f,d=(n("d855"),n("8619")),h=Object(d["a"])(p,r,o,!1,null,"170797d3",null);e["default"]=h.exports},"88db":function(t,e,n){var r=n("d168"),o=n("91f1"),a=r.document,i=o(a)&&o(a.createElement);t.exports=function(t){return i?a.createElement(t):{}}},"8a5d":function(t,e,n){"use strict";var r=n("1464"),o=Object.prototype.toString;function a(t){return Array.isArray(t)}function i(t){return"undefined"===typeof t}function s(t){return null!==t&&!i(t)&&null!==t.constructor&&!i(t.constructor)&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function c(t){return"[object ArrayBuffer]"===o.call(t)}function u(t){return"[object FormData]"===o.call(t)}function l(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&c(t.buffer),e}function f(t){return"string"===typeof t}function p(t){return"number"===typeof t}function d(t){return null!==t&&"object"===typeof t}function h(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function m(t){return"[object Date]"===o.call(t)}function v(t){return"[object File]"===o.call(t)}function b(t){return"[object Blob]"===o.call(t)}function g(t){return"[object Function]"===o.call(t)}function y(t){return d(t)&&g(t.pipe)}function w(t){return"[object URLSearchParams]"===o.call(t)}function x(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function j(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function O(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}function C(){var t={};function e(e,n){h(t[n])&&h(e)?t[n]=C(t[n],e):h(e)?t[n]=C({},e):a(e)?t[n]=e.slice():t[n]=e}for(var n=0,r=arguments.length;n<r;n++)O(arguments[n],e);return t}function _(t,e,n){return O(e,(function(e,o){t[o]=n&&"function"===typeof e?r(e,n):e})),t}function S(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}t.exports={isArray:a,isArrayBuffer:c,isBuffer:s,isFormData:u,isArrayBufferView:l,isString:f,isNumber:p,isObject:d,isPlainObject:h,isUndefined:i,isDate:m,isFile:v,isBlob:b,isFunction:g,isStream:y,isURLSearchParams:w,isStandardBrowserEnv:j,forEach:O,merge:C,extend:_,trim:x,stripBOM:S}},"8d70":function(t,e,n){var r=n("abf7"),o=n("a40d"),a=n("5c2c"),i=n("3426");t.exports=function(t,e,n){for(var s=o(e),c=i.f,u=a.f,l=0;l<s.length;l++){var f=s[l];r(t,f)||n&&r(n,f)||c(t,f,u(e,f))}}},"8e8e":function(t,e,n){var r=n("a15f"),o=n("3426"),a=n("e6a8");t.exports=r?function(t,e,n){return o.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},9168:function(t,e,n){var r=n("d168"),o=n("4e6a"),a=n("abf7"),i=n("803b"),s=n("f189"),c=n("8391"),u=o("wks"),l=r.Symbol,f=l&&l["for"],p=c?l:l&&l.withoutSetter||i;t.exports=function(t){if(!a(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&a(l,t)?u[t]=l[t]:u[t]=c&&f?f(e):p(e)}return u[t]}},"91f1":function(t,e,n){var r=n("644c"),o=n("ee76"),a=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===a}:function(t){return"object"==typeof t?null!==t:r(t)}},"93f9":function(t,e,n){"use strict";var r=n("8a5d"),o=n("5cd4"),a=n("0323"),i=n("cc3a"),s=n("82ac");function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new s("canceled")}t.exports=function(t){c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||i.adapter;return e(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"981b":function(t,e){e.f=Object.getOwnPropertySymbols},9908:function(t,e,n){var r=n("ab64"),o=n("abf7"),a=n("8041"),i=n("fbfb").indexOf,s=n("ea1a"),c=r([].push);t.exports=function(t,e){var n,r=a(t),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);while(e.length>u)o(r,n=e[u++])&&(~i(l,n)||c(l,n));return l}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},a15f:function(t,e,n){var r=n("ab3a");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},a40d:function(t,e,n){var r=n("a8db"),o=n("ab64"),a=n("163d"),i=n("981b"),s=n("b172"),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=a.f(s(t)),n=i.f;return n?c(e,n(t)):e}},a417:function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},a83c:function(t,e,n){var r=n("d168"),o=n("5151"),a="__core-js_shared__",i=r[a]||o(a,{});t.exports=i},a8db:function(t,e,n){var r=n("d168"),o=n("644c"),a=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(r[t]):r[t]&&r[t][e]}},aa01:function(t,e,n){"use strict";var r=n("fccd");t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},ab3a:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},ab64:function(t,e,n){var r=n("214f"),o=Function.prototype,a=o.call,i=r&&o.bind.bind(a,a);t.exports=r?i:function(t){return function(){return a.apply(t,arguments)}}},abf7:function(t,e,n){var r=n("ab64"),o=n("6369"),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(o(t),e)}},af95:function(t,e,n){var r=n("5900"),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},b172:function(t,e,n){var r=n("91f1"),o=String,a=TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not an object")}},b58f:function(t,e,n){var r=n("a15f"),o=n("ab3a");t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b662:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},bb5c:function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},be10:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var r=n("26fa");const o=async t=>{const e=await r["a"].get(t);return e},a=async(t,e)=>{const n=await r["a"].post(t,e);return n}},be2a:function(t,e,n){var r=n("7943");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("c69b").default;o("5cf30078",r,!0,{sourceMap:!1,shadowMode:!1})},c279:function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},cad9:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var o=t[r];"."===o?t.splice(r,1):".."===o?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,o=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!o){n=e+1;break}}else-1===r&&(o=!1,r=e+1);return-1===r?"":t.slice(n,r)}function o(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var i=a>=0?arguments[a]:t.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(e=i+"/"+e,r="/"===i.charAt(0))}return e=n(o(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),i="/"===a(t,-1);return t=n(o(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&i&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(o(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var o=r(t.split("/")),a=r(n.split("/")),i=Math.min(o.length,a.length),s=i,c=0;c<i;c++)if(o[c]!==a[c]){s=c;break}var u=[];for(c=s;c<o.length;c++)u.push("..");return u=u.concat(a.slice(s)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,o=!0,a=t.length-1;a>=1;--a)if(e=t.charCodeAt(a),47===e){if(!o){r=a;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,o=!0,a=0,i=t.length-1;i>=0;--i){var s=t.charCodeAt(i);if(47!==s)-1===r&&(o=!1,r=i+1),46===s?-1===e?e=i:1!==a&&(a=1):-1!==e&&(a=-1);else if(!o){n=i+1;break}}return-1===e||-1===r||0===a||1===a&&e===r-1&&e===n+1?"":t.slice(e,r)};var a="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("0418"))},cc3a:function(t,e,n){"use strict";(function(e){var r=n("8a5d"),o=n("386e"),a=n("a417"),i={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function c(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e))&&(t=n("e50c")),t}function u(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(o){if("SyntaxError"!==o.name)throw o}return(n||JSON.stringify)(t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:c(),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(s(e,"application/json"),u(t)):t}],transformResponse:[function(t){var e=this.transitional||l.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(i){if("SyntaxError"===s.name)throw a(s,this,"E_JSON_PARSE");throw s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){l.headers[t]=r.merge(i)})),t.exports=l}).call(this,n("0418"))},cca5:function(t,e,n){var r=n("a15f"),o=n("ab3a"),a=n("88db");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},cd20:function(t,e,n){var r=n("644c"),o=n("bb5c"),a=TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not a function")}},d168:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("d8fc"))},d1bf:function(t,e,n){var r=n("ab64");t.exports=r({}.isPrototypeOf)},d514:function(t,e,n){var r=n("3a3a"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},d855:function(t,e,n){"use strict";n("be2a")},dbeb:function(t,e,n){var r=n("d514");t.exports=function(t){return r(t.length)}},dbfe:function(t,e,n){var r=n("4e6a"),o=n("803b"),a=r("keys");t.exports=function(t){return a[t]||(a[t]=o(t))}},dfad:function(t,e,n){var r=n("a8db"),o=n("644c"),a=n("d1bf"),i=n("8391"),s=Object;t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&a(e.prototype,s(t))}},e50c:function(t,e,n){"use strict";var r=n("8a5d"),o=n("aa01"),a=n("2998"),i=n("3884"),s=n("639e"),c=n("4af6"),u=n("7f31"),l=n("fccd"),f=n("cc3a"),p=n("82ac");t.exports=function(t){return new Promise((function(e,n){var d,h=t.data,m=t.headers,v=t.responseType;function b(){t.cancelToken&&t.cancelToken.unsubscribe(d),t.signal&&t.signal.removeEventListener("abort",d)}r.isFormData(h)&&delete m["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var y=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";m.Authorization="Basic "+btoa(y+":"+w)}var x=s(t.baseURL,t.url);function j(){if(g){var r="getAllResponseHeaders"in g?c(g.getAllResponseHeaders()):null,a=v&&"text"!==v&&"json"!==v?g.response:g.responseText,i={data:a,status:g.status,statusText:g.statusText,headers:r,config:t,request:g};o((function(t){e(t),b()}),(function(t){n(t),b()}),i),g=null}}if(g.open(t.method.toUpperCase(),i(x,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=j:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(j)},g.onabort=function(){g&&(n(l("Request aborted",t,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(l("Network Error",t,null,g)),g=null},g.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||f.transitional;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(l(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var O=(t.withCredentials||u(x))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;O&&(m[t.xsrfHeaderName]=O)}"setRequestHeader"in g&&r.forEach(m,(function(t,e){"undefined"===typeof h&&"content-type"===e.toLowerCase()?delete m[e]:g.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),v&&"json"!==v&&(g.responseType=t.responseType),"function"===typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(d=function(t){g&&(n(!t||t&&t.type?new p("canceled"):t),g.abort(),g=null)},t.cancelToken&&t.cancelToken.subscribe(d),t.signal&&(t.signal.aborted?d():t.signal.addEventListener("abort",d))),h||(h=null),g.send(h)}))}},e6a8:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},ea1a:function(t,e){t.exports={}},ec53:function(t,e,n){"use strict";var r=n("6a00"),o=n("6369"),a=n("dbeb"),i=n("7cc3"),s=n("670d"),c=n("ab3a"),u=c((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();r({target:"Array",proto:!0,arity:1,forced:u||l},{push:function(t){var e=o(this),n=a(e),r=arguments.length;s(n+r);for(var c=0;c<r;c++)e[n]=arguments[c],n++;return i(e,n),n}})},ee76:function(t,e){var n="object"==typeof document&&document.all,r="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},f189:function(t,e,n){var r=n("2ae2"),o=n("ab3a");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},f889:function(t,e,n){var r=n("3a3a"),o=Math.max,a=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):a(n,e)}},fbfb:function(t,e,n){var r=n("8041"),o=n("f889"),a=n("dbeb"),i=function(t){return function(e,n,i){var s,c=r(e),u=a(c),l=o(i,u);if(t&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},fccd:function(t,e,n){"use strict";var r=n("a417");t.exports=function(t,e,n,o,a){var i=new Error(t);return r(i,e,n,o,a)}},fee9:function(t,e,n){var r=n("cd20"),o=n("5900");t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationEmailTemplateManagement"],{"05ff":function(t,e){var n=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?a:n)(e)}},"085a":function(t,e,n){var a=n("214f"),r=Function.prototype.call;t.exports=a?r.bind(r):function(){return r.apply(r,arguments)}},"107e":function(t,e,n){var a=n("644c"),r=n("3426"),o=n("5e2f"),c=n("5151");t.exports=function(t,e,n,i){i||(i={});var s=i.enumerable,u=void 0!==i.name?i.name:e;if(a(n)&&o(n,u,i),i.global)s?t[e]=n:c(e,n);else{try{i.unsafe?t[e]&&(s=!0):delete t[e]}catch(l){}s?t[e]=n:r.f(t,e,{value:n,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return t}},1185:function(t,e,n){var a=n("085a"),r=n("644c"),o=n("91f1"),c=TypeError;t.exports=function(t,e){var n,i;if("string"===e&&r(n=t.toString)&&!o(i=a(n,t)))return i;if(r(n=t.valueOf)&&!o(i=a(n,t)))return i;if("string"!==e&&r(n=t.toString)&&!o(i=a(n,t)))return i;throw c("Can't convert object to primitive value")}},"163d":function(t,e,n){var a=n("9908"),r=n("b662"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,o)}},"1d28":function(t,e,n){var a=n("2253");t.exports=Array.isArray||function(t){return"Array"==a(t)}},"214f":function(t,e,n){var a=n("ab3a");t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},2253:function(t,e,n){var a=n("ab64"),r=a({}.toString),o=a("".slice);t.exports=function(t){return o(r(t),8,-1)}},"22e2":function(t,e,n){"use strict";var a={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!a.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:a},2566:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var a=n("26fa");const r=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.sys_settings,e)),e},o=async(t,e)=>{try{let n;return await a["b"].post(t,e).then(t=>(n=t.data,n)),n}catch(n){console.log(n)}}},"2ae2":function(t,e,n){var a,r,o=n("d168"),c=n("47d5"),i=o.process,s=o.Deno,u=i&&i.versions||s&&s.version,l=u&&u.v8;l&&(a=l.split("."),r=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!r&&c&&(a=c.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=c.match(/Chrome\/(\d+)/),a&&(r=+a[1]))),t.exports=r},"316b":function(t,e,n){var a=n("d168"),r=n("644c"),o=a.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},3426:function(t,e,n){var a=n("a15f"),r=n("cca5"),o=n("b58f"),c=n("b172"),i=n("61ca"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=a?o?function(t,e,n){if(c(t),e=i(e),c(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var a=l(t,e);a&&a[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:a[p],enumerable:f in n?n[f]:a[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(c(t),e=i(e),c(n),r)try{return u(t,e,n)}catch(a){}if("get"in n||"set"in n)throw s("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"3a3a":function(t,e,n){var a=n("05ff");t.exports=function(t){var e=+t;return e!==e||0===e?0:a(e)}},"3dd5":function(t,e,n){var a=n("085a"),r=n("91f1"),o=n("dfad"),c=n("fee9"),i=n("1185"),s=n("9168"),u=TypeError,l=s("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,s=c(t,l);if(s){if(void 0===e&&(e="default"),n=a(s,t,e),!r(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,e)}},4104:function(t,e,n){var a=n("a15f"),r=n("abf7"),o=Function.prototype,c=a&&Object.getOwnPropertyDescriptor,i=r(o,"name"),s=i&&"something"===function(){}.name,u=i&&(!a||a&&c(o,"name").configurable);t.exports={EXISTS:i,PROPER:s,CONFIGURABLE:u}},"47d5":function(t,e,n){var a=n("a8db");t.exports=a("navigator","userAgent")||""},"4e6a":function(t,e,n){var a=n("5a25"),r=n("a83c");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.27.1",mode:a?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5151:function(t,e,n){var a=n("d168"),r=Object.defineProperty;t.exports=function(t,e){try{r(a,t,{value:e,configurable:!0,writable:!0})}catch(n){a[t]=e}return e}},5900:function(t,e){t.exports=function(t){return null===t||void 0===t}},5921:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"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-12"},[t.isPreview?e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Template Preview")])]):e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl text-background-secondary"},[t._v("Template Details")])]),t.showSuccessMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.showErrorMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.errorMessage?e("div",{staticClass:"text-red-700"},[t._v(t._s(t.errorMessage))]):t._e(),t.renderReady?e("div",{staticClass:"w-full mt-4"},[t.isPreview?e("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[e("div",{staticClass:"w-full px-2 mb-3 text-center text-2xl font-bold text-blue-900"},[t._v(t._s(t.template.subject))]),e("div",{staticClass:"w-full md:w-full px-3 mb-4",domProps:{innerHTML:t._s(t.previewContent)}}),e("div",{staticClass:"w-full text-center"},[e("button",{staticClass:"px-4 py-2 border border-blue-900 bg-white-500 text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.openPreview()}}},[t._v("Back")])])]):e("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full md:w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Name ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.template.template_name,expression:"template.template_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:!t.isNew,type:"text"},domProps:{value:t.template.template_name},on:{input:function(e){e.target.composing||t.$set(t.template,"template_name",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Subject ")]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.template.subject,expression:"template.subject"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",domProps:{value:t.template.subject},on:{input:function(e){e.target.composing||t.$set(t.template,"subject",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full h-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[t._v(" Template Content ")]),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.template.content,expression:"template.content"}],staticClass:"appearance-none block w-full h-80 text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white",domProps:{value:t.template.content},on:{input:function(e){e.target.composing||t.$set(t.template,"content",e.target.value)}}})]),e("div",{staticClass:"w-full md:w-full px-3 mb-4 text-center mt-5"},[e("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{name:"SolidifyAdministrationEmailTemplateManagement"}}},[t._v(" Back ")]),e("button",{staticClass:"mr-2 px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.openPreview()}}},[t._v("Preview")]),t.showUpdate?e("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(e){return t.updateTemplate()}}},[t._v("Update")]):t._e()],1)])])]):t._e()]):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:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])])},r=[],o=n("8596"),c=n("6bcf"),i=n("be10"),s=n("1dba"),u=n.n(s),l=n("2566"),f=Object(c["b"])({name:"EmailTemplateDetails",components:{},props:{query:{type:Object,default:()=>({})}},setup(t){const e=Object(c["f"])(t.query.template),n=Object(c["f"])(!0),a=Object(c["f"])({}),r=Object(c["f"])(),s=Object(c["f"])(!0),f=Object(c["f"])(),p=Object(c["f"])(),d=Object(c["f"])(!1),b=Object(c["f"])(!1),v=Object(c["f"])(),m=Object(c["f"])(!1),y=Object(c["f"])("true"===t.query.is_new),g=Object(c["f"])(!1),x=Object(c["f"])(!1),h=Object(c["f"])(),w=Object(c["f"])(),_=async()=>{try{n.value=!1,a.value={...a.value,is_new:y.value};const t=await Object(i["b"])("/email/templates/save",a.value);console.log(t),v.value=t.data.message,n.value=!0,b.value=!0,m.value=!1,window.scroll(0,0),n.value=!0}catch(e){if(n.value=!0,u.a.isAxiosError(e)){var t;const a=e;n.value=!0,v.value=null===(t=a.response)||void 0===t?void 0:t.data.message,m.value=!0,b.value=!1,setTimeout(()=>{m.value=!1},5e3)}}},j=()=>{const t=a.value;let e="";if(""===(null===t||void 0===t?void 0:t.content))return window.scroll(0,0),v.value="Template Content cannot be empty",m.value=!0,b.value=!1,void setTimeout(()=>{m.value=!1},5e3);const n=null===t||void 0===t?void 0:t.content.split("$");let r=!0;n.forEach(t=>{void 0!==h.value[t]?(console.log(h.value[t]),e+=h.value[t],r=!0):r?(e+=""+t,r=!1):(e+="$"+t,r=!1)}),console.log(e),w.value=e,g.value=!g.value},C=async()=>{n.value=!1;try{if(!1===y.value){const t=await Object(i["a"])("/email/templates/all");console.log(e.value),a.value=t.data.body.Items.find(t=>{if(e.value===t.template_name)return console.log(t),t})}}catch(r){if(u.a.isAxiosError(r)){var t;const e=r;n.value=!0,v.value=null===(t=e.response)||void 0===t?void 0:t.statusText,m.value=!0,b.value=!1,setTimeout(()=>{m.value=!1},7e3)}}n.value=!0};return Object(c["c"])(async()=>{const t=await Object(o["g"])("/getUserRole");if(f.value=t.user_key,p.value=t.user_roles,p.value.length>0)if(p.value.includes("System Admin")){d.value=!0,await C();const t=await Object(l["a"])("system/config");h.value=t,console.log(t)}else d.value=!1}),{templateID:e,showSuccessMessage:b,showScreen:d,resMessage:v,showErrorMessage:m,showUpdate:s,errorMessage:r,renderReady:n,template:a,openPreview:j,updateTemplate:_,isNew:y,isPreview:g,previewContent:w,previewShow:x}}}),p=f,d=n("8619"),b=Object(d["a"])(p,a,r,!1,null,null,null);e["default"]=b.exports},"5a25":function(t,e){t.exports=!1},"5c2c":function(t,e,n){var a=n("a15f"),r=n("085a"),o=n("22e2"),c=n("e6a8"),i=n("8041"),s=n("61ca"),u=n("abf7"),l=n("cca5"),f=Object.getOwnPropertyDescriptor;e.f=a?f:function(t,e){if(t=i(t),e=s(e),l)try{return f(t,e)}catch(n){}if(u(t,e))return c(!r(o.f,t,e),t[e])}},"5e2f":function(t,e,n){var a=n("ab3a"),r=n("644c"),o=n("abf7"),c=n("a15f"),i=n("4104").CONFIGURABLE,s=n("7cbd"),u=n("7cfe"),l=u.enforce,f=u.get,p=Object.defineProperty,d=c&&!a((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),v=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!o(t,"name")||i&&t.name!==e)&&(c?p(t,"name",{value:e,configurable:!0}):t.name=e),d&&n&&o(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?c&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var a=l(t);return o(a,"source")||(a.source=b.join("string"==typeof e?e:"")),t};Function.prototype.toString=v((function(){return r(this)&&f(this).source||s(this)}),"toString")},"61ca":function(t,e,n){var a=n("3dd5"),r=n("dfad");t.exports=function(t){var e=a(t,"string");return r(e)?e:e+""}},6369:function(t,e,n){var a=n("af95"),r=Object;t.exports=function(t){return r(a(t))}},"644c":function(t,e,n){var a=n("ee76"),r=a.all;t.exports=a.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},"670d":function(t,e){var n=TypeError,a=9007199254740991;t.exports=function(t){if(t>a)throw n("Maximum allowed index exceeded");return t}},6839:function(t,e,n){var a=n("ab3a"),r=n("644c"),o=/#|\.prototype\./,c=function(t,e){var n=s[i(t)];return n==l||n!=u&&(r(e)?a(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},"6a00":function(t,e,n){var a=n("d168"),r=n("5c2c").f,o=n("8e8e"),c=n("107e"),i=n("5151"),s=n("8d70"),u=n("6839");t.exports=function(t,e){var n,l,f,p,d,b,v=t.target,m=t.global,y=t.stat;if(l=m?a:y?a[v]||i(v,{}):(a[v]||{}).prototype,l)for(f in e){if(d=e[f],t.dontCallGetSet?(b=r(l,f),p=b&&b.value):p=l[f],n=u(m?f:v+(y?".":"#")+f,t.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;s(d,p)}(t.sham||p&&p.sham)&&o(d,"sham",!0),c(l,f,d,t)}}},7188:function(t,e,n){var a=n("ab64"),r=n("ab3a"),o=n("2253"),c=Object,i=a("".split);t.exports=r((function(){return!c("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i(t,""):c(t)}:c},7943:function(t,e,n){var a=n("a8d8");e=a(!1),e.push([t.i,".tableScroll[data-v-170797d3]{max-height:50vh;overflow-y:auto}",""]),t.exports=e},"7cbd":function(t,e,n){var a=n("ab64"),r=n("644c"),o=n("a83c"),c=a(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return c(t)}),t.exports=o.inspectSource},"7cc3":function(t,e,n){"use strict";var a=n("a15f"),r=n("1d28"),o=TypeError,c=Object.getOwnPropertyDescriptor,i=a&&!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(r(t)&&!c(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},"7cfe":function(t,e,n){var a,r,o,c=n("316b"),i=n("d168"),s=n("91f1"),u=n("8e8e"),l=n("abf7"),f=n("a83c"),p=n("dbfe"),d=n("ea1a"),b="Object already initialized",v=i.TypeError,m=i.WeakMap,y=function(t){return o(t)?r(t):a(t,{})},g=function(t){return function(e){var n;if(!s(e)||(n=r(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(c||f.state){var x=f.state||(f.state=new m);x.get=x.get,x.has=x.has,x.set=x.set,a=function(t,e){if(x.has(t))throw v(b);return e.facade=t,x.set(t,e),e},r=function(t){return x.get(t)||{}},o=function(t){return x.has(t)}}else{var h=p("state");d[h]=!0,a=function(t,e){if(l(t,h))throw v(b);return e.facade=t,u(t,h,e),e},r=function(t){return l(t,h)?t[h]:{}},o=function(t){return l(t,h)}}t.exports={set:a,get:r,has:o,enforce:y,getterFor:g}},"803b":function(t,e,n){var a=n("ab64"),r=0,o=Math.random(),c=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++r+o,36)}},8041:function(t,e,n){var a=n("7188"),r=n("af95");t.exports=function(t){return a(r(t))}},8391:function(t,e,n){var a=n("f189");t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8596:function(t,e,n){"use strict";n.d(e,"y",(function(){return r})),n.d(e,"t",(function(){return o})),n.d(e,"u",(function(){return c})),n.d(e,"e",(function(){return i})),n.d(e,"x",(function(){return s})),n.d(e,"z",(function(){return u})),n.d(e,"r",(function(){return l})),n.d(e,"s",(function(){return f})),n.d(e,"f",(function(){return p})),n.d(e,"v",(function(){return d})),n.d(e,"h",(function(){return b})),n.d(e,"j",(function(){return v})),n.d(e,"q",(function(){return m})),n.d(e,"o",(function(){return y})),n.d(e,"p",(function(){return g})),n.d(e,"m",(function(){return x})),n.d(e,"k",(function(){return h})),n.d(e,"l",(function(){return w})),n.d(e,"A",(function(){return _})),n.d(e,"C",(function(){return j})),n.d(e,"w",(function(){return C})),n.d(e,"n",(function(){return O})),n.d(e,"i",(function(){return k})),n.d(e,"g",(function(){return S})),n.d(e,"a",(function(){return T})),n.d(e,"B",(function(){return P})),n.d(e,"b",(function(){return E})),n.d(e,"d",(function(){return M})),n.d(e,"c",(function(){return A}));var a=n("26fa");const r=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},o=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},c=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},i=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},s=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},u=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},l=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},f=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},p=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},d=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},b=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},v=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},m=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.userObj,e)),e},y=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.userObj,e)),e},g=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.userObj,e)),e},x=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},h=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},w=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},_=async t=>{const e=await a["b"].get(t);return e},j=async t=>{const e=await a["b"].get(t);return e},C=async t=>{const e=await a["b"].get(t);return e},O=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},k=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data,e)),e},S=async t=>{let e;return await a["b"].get(t).then(t=>(e=t.data.userObj,e)),e},T=async t=>{const e=await a["b"].post("/user/role",t);return e},P=async t=>{const e=await a["b"].post("/user/removeRole",t);return e},E=async()=>{const t=await a["b"].get("role");return t},M=async t=>{const e=await a["b"].post("/user/saveLSS",t);return e},A=async t=>{const e=await a["b"].post("/user/saveEnvAccess",t);return e}},8764:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"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),e("div",{staticClass:"w-full flex mt-6"},[e("div",{staticClass:"w-full text-left"},[e("router-link",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",attrs:{to:{name:"SolidifyAdministrationEmailTemplateDetails",query:{is_new:"true"}}}},[t._v("Add Email Template")]),t.editTemplateBtn?e("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mr-4 mt-4",on:{click:function(e){return t.editTemplate()}}},[t._v("Edit Template")]):t._e()],1)]),e("div",{staticClass:"w-full mt-4 tableScroll"},[e("table",{staticClass:"w-full text-md bg-white shadow rounded mb-4 text-over"},[t._m(1),e("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},t._l(t.emailTemplates,(function(n){return e("tr",{key:n.template_name,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.templateCheck,expression:"templateCheck"}],attrs:{type:"checkbox",id:n.template_name},domProps:{value:n.template_name,checked:Array.isArray(t.templateCheck)?t._i(t.templateCheck,n.template_name)>-1:t.templateCheck},on:{change:[function(e){var a=t.templateCheck,r=e.target,o=!!r.checked;if(Array.isArray(a)){var c=n.template_name,i=t._i(a,c);r.checked?i<0&&(t.templateCheck=a.concat([c])):i>-1&&(t.templateCheck=a.slice(0,i).concat(a.slice(i+1)))}else t.templateCheck=o},function(e){return t.showTemplateEditBtn(e,n.template_name)}],click:t.checkOne}})]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.template_name))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.subject))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.content))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.modified_date))]),e("td",{staticClass:"p-2 px-3"},[t._v(t._s(n.modified_by))])])})),0)])])]):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:n("9d04"),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])])},r=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full flex justify-between"},[e("div",{staticClass:"w-full text-center text-3xl text-background-secondary"},[t._v("Email Template Management")])])},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:"text-left py-2 pl-3 pr-0 w-6"}),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Template Name")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Template Subject")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Content")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Modified Date")]),e("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[t._v("Modified By")])])])}],o=(n("ec53"),n("6bcf")),c=n("8596"),i=n("be10"),s=n("bb03"),u=n.n(s),l=n("afbc"),f=Object(o["b"])({name:"EmailTemplateManagement",components:{},setup(){const t=Object(o["f"])(),e=Object(o["f"])(),n=Object(o["f"])(!1),a=Object(o["f"])([]),r=Object(o["f"])(!1),s=Object(o["f"])(!1),f=Object(o["f"])(""),p=Object(o["f"])([]),d=()=>{p.value=[]},b=async()=>{r.value=!1;try{const t=await Object(i["a"])("/email/templates/all");a.value=t.data.body.Items,a.value.map(t=>(t.created_date=u()(t.created_date).format("DD-MM-YYYY hh:mm:ss"),t.modified_date=u()(t.modified_date).format("DD-MM-YYYY hh:mm:ss"),t)),r.value=!0}catch(t){const e=t;console.log(e.response)}},v=async(t,e)=>{!0===t.target.checked?(s.value=!0,f.value=e):(s.value=!1,f.value="")},m=async()=>{console.log("template editing",f.value);const t={template:f.value,is_new:"false"};l["a"].push({path:"EmailTemplateDetails",query:t})};return Object(o["c"])(async()=>{const a=await Object(c["g"])("/getUserRole");t.value=a.user_key,e.value=a.user_roles,e.value.length>0&&(e.value.includes("System Admin")?(n.value=!0,await b()):n.value=!1)}),{loggedInUser:t,userRole:e,showScreen:n,emailTemplates:a,renderReady:r,showTemplateEditBtn:v,editTemplateBtn:s,editTemplate:m,templateCheck:p,checkOne:d}}}),p=f,d=(n("d855"),n("8619")),b=Object(d["a"])(p,a,r,!1,null,"170797d3",null);e["default"]=b.exports},"88db":function(t,e,n){var a=n("d168"),r=n("91f1"),o=a.document,c=r(o)&&r(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"8d70":function(t,e,n){var a=n("abf7"),r=n("a40d"),o=n("5c2c"),c=n("3426");t.exports=function(t,e,n){for(var i=r(e),s=c.f,u=o.f,l=0;l<i.length;l++){var f=i[l];a(t,f)||n&&a(n,f)||s(t,f,u(e,f))}}},"8e8e":function(t,e,n){var a=n("a15f"),r=n("3426"),o=n("e6a8");t.exports=a?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9168:function(t,e,n){var a=n("d168"),r=n("4e6a"),o=n("abf7"),c=n("803b"),i=n("f189"),s=n("8391"),u=r("wks"),l=a.Symbol,f=l&&l["for"],p=s?l:l&&l.withoutSetter||c;t.exports=function(t){if(!o(u,t)||!i&&"string"!=typeof u[t]){var e="Symbol."+t;i&&o(l,t)?u[t]=l[t]:u[t]=s&&f?f(e):p(e)}return u[t]}},"91f1":function(t,e,n){var a=n("644c"),r=n("ee76"),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:a(t)||t===o}:function(t){return"object"==typeof t?null!==t:a(t)}},"981b":function(t,e){e.f=Object.getOwnPropertySymbols},9908:function(t,e,n){var a=n("ab64"),r=n("abf7"),o=n("8041"),c=n("fbfb").indexOf,i=n("ea1a"),s=a([].push);t.exports=function(t,e){var n,a=o(t),u=0,l=[];for(n in a)!r(i,n)&&r(a,n)&&s(l,n);while(e.length>u)r(a,n=e[u++])&&(~c(l,n)||s(l,n));return l}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},a15f:function(t,e,n){var a=n("ab3a");t.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},a40d:function(t,e,n){var a=n("a8db"),r=n("ab64"),o=n("163d"),c=n("981b"),i=n("b172"),s=r([].concat);t.exports=a("Reflect","ownKeys")||function(t){var e=o.f(i(t)),n=c.f;return n?s(e,n(t)):e}},a83c:function(t,e,n){var a=n("d168"),r=n("5151"),o="__core-js_shared__",c=a[o]||r(o,{});t.exports=c},a8db:function(t,e,n){var a=n("d168"),r=n("644c"),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(a[t]):a[t]&&a[t][e]}},ab3a:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},ab64:function(t,e,n){var a=n("214f"),r=Function.prototype,o=r.call,c=a&&r.bind.bind(o,o);t.exports=a?c:function(t){return function(){return o.apply(t,arguments)}}},abf7:function(t,e,n){var a=n("ab64"),r=n("6369"),o=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},af95:function(t,e,n){var a=n("5900"),r=TypeError;t.exports=function(t){if(a(t))throw r("Can't call method on "+t);return t}},b172:function(t,e,n){var a=n("91f1"),r=String,o=TypeError;t.exports=function(t){if(a(t))return t;throw o(r(t)+" is not an object")}},b58f:function(t,e,n){var a=n("a15f"),r=n("ab3a");t.exports=a&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b662:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},bb5c:function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},be10:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var a=n("26fa");const r=async t=>{const e=await a["b"].get(t);return e},o=async(t,e)=>{const n=await a["b"].post(t,e);return n}},be2a:function(t,e,n){var a=n("7943");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var r=n("c69b").default;r("5cf30078",a,!0,{sourceMap:!1,shadowMode:!1})},cca5:function(t,e,n){var a=n("a15f"),r=n("ab3a"),o=n("88db");t.exports=!a&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},cd20:function(t,e,n){var a=n("644c"),r=n("bb5c"),o=TypeError;t.exports=function(t){if(a(t))return t;throw o(r(t)+" is not a function")}},d168:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("d8fc"))},d1bf:function(t,e,n){var a=n("ab64");t.exports=a({}.isPrototypeOf)},d514:function(t,e,n){var a=n("3a3a"),r=Math.min;t.exports=function(t){return t>0?r(a(t),9007199254740991):0}},d855:function(t,e,n){"use strict";n("be2a")},dbeb:function(t,e,n){var a=n("d514");t.exports=function(t){return a(t.length)}},dbfe:function(t,e,n){var a=n("4e6a"),r=n("803b"),o=a("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},dfad:function(t,e,n){var a=n("a8db"),r=n("644c"),o=n("d1bf"),c=n("8391"),i=Object;t.exports=c?function(t){return"symbol"==typeof t}:function(t){var e=a("Symbol");return r(e)&&o(e.prototype,i(t))}},e6a8:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},ea1a:function(t,e){t.exports={}},ec53:function(t,e,n){"use strict";var a=n("6a00"),r=n("6369"),o=n("dbeb"),c=n("7cc3"),i=n("670d"),s=n("ab3a"),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}}();a({target:"Array",proto:!0,arity:1,forced:u||l},{push:function(t){var e=r(this),n=o(e),a=arguments.length;i(n+a);for(var s=0;s<a;s++)e[n]=arguments[s],n++;return c(e,n),n}})},ee76:function(t,e){var n="object"==typeof document&&document.all,a="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:a}},f189:function(t,e,n){var a=n("2ae2"),r=n("ab3a");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},f889:function(t,e,n){var a=n("3a3a"),r=Math.max,o=Math.min;t.exports=function(t,e){var n=a(t);return n<0?r(n+e,0):o(n,e)}},fbfb:function(t,e,n){var a=n("8041"),r=n("f889"),o=n("dbeb"),c=function(t){return function(e,n,c){var i,s=a(e),u=o(s),l=r(c,u);if(t&&n!=n){while(u>l)if(i=s[l++],i!=i)return!0}else for(;u>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},fee9:function(t,e,n){var a=n("cd20"),r=n("5900");t.exports=function(t,e){var n=t[e];return r(n)?void 0:a(n)}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationEmailTemplateManagement.js.map
|