@genpact/genome.mfe.solidify-app 1.17.2-alpha.112 → 1.17.2-alpha.114
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/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([["SolidifyAdministrationEmailTemplateManagement"],{"00bd":function(t,e,n){var a=n("815e");t.exports=Array.isArray||function(t){return"Array"==a(t)}},"0342":function(t,e,n){var a=n("09bd");t.exports=function(t){var e=+t;return e!==e||0===e?0:a(e)}},"0572":function(t,e){t.exports={}},"073d":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"09bd":function(t,e){var n=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?a:n)(e)}},"0bd7":function(t,e,n){var a=n("9dce"),r=n("4833"),o=n("1d31"),c=n("5c13");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))}}},"0fe5":function(t,e,n){var a=n("7d3c"),r=n("743a"),o="__core-js_shared__",c=a[o]||r(o,{});t.exports=c},1e3:function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},"123b":function(t,e,n){var a=n("0342"),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)}},"186a":function(t,e,n){var a=n("7d3c"),r=n("f6ba"),o=a.document,c=r(o)&&r(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"1d31":function(t,e,n){var a=n("caa9"),r=n("c683"),o=n("52bd"),c=n("38c8"),i=n("9a69"),s=n("79b1"),u=n("9dce"),l=n("9dca"),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])}},"211b":function(t,e,n){var a=n("b1ab"),r=n("9dce"),o=n("9a69"),c=n("5435").indexOf,i=n("0572"),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}},"23ea":function(t,e,n){var a=n("c683"),r=n("9de2"),o=n("f6ba"),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")}},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)}}},"2c81":function(t,e,n){var a=n("57bb"),r=n("0fe5");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.0",mode:a?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"2deb":function(t,e,n){var a=n("7d3c"),r=n("9de2"),o=a.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},"32b4":function(t,e,n){var a=n("b1ab"),r=n("9de2"),o=n("0fe5"),c=a(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return c(t)}),t.exports=o.inspectSource},3470:function(t,e,n){"use strict";var a=n("caa9"),r=n("00bd"),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}},"34ae":function(t,e,n){var a=n("211b"),r=n("a64a"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,o)}},3508:function(t,e){var n="object"==typeof document&&document.all,a="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:a}},"385f":function(t,e,n){var a=n("0342"),r=Math.min;t.exports=function(t){return t>0?r(a(t),9007199254740991):0}},"38c8":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"3ef0":function(t,e,n){var a=n("cae3"),r=n("9de2"),o=n("6f30"),c=n("4160"),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))}},4160:function(t,e,n){var a=n("42c1");t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"42c1":function(t,e,n){var a=n("d0e9"),r=n("073d");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},"43b7":function(t,e,n){var a=n("073d"),r=n("9de2"),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},4833:function(t,e,n){var a=n("cae3"),r=n("b1ab"),o=n("34ae"),c=n("84d9"),i=n("8d23"),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}},"52bd":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},5435:function(t,e,n){var a=n("9a69"),r=n("123b"),o=n("7f94"),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)}},"57bb":function(t,e){t.exports=!1},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"])(),d=Object(c["f"])(),p=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,d.value=t.user_roles,d.value.length>0)if(d.value.includes("System Admin")){p.value=!0,await C();const t=await Object(l["a"])("system/config");h.value=t,console.log(t)}else p.value=!1}),{templateID:e,showSuccessMessage:b,showScreen:p,resMessage:v,showErrorMessage:m,showUpdate:s,errorMessage:r,renderReady:n,template:a,openPreview:j,updateTemplate:_,isNew:y,isPreview:g,previewContent:w,previewShow:x}}}),d=f,p=n("8619"),b=Object(p["a"])(d,a,r,!1,null,null,null);e["default"]=b.exports},"59ff":function(t,e,n){var a=n("c683"),r=n("f6ba"),o=n("3ef0"),c=n("dd05"),i=n("23ea"),s=n("e285"),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)}},"5c13":function(t,e,n){var a=n("caa9"),r=n("9dca"),o=n("dba4"),c=n("8d23"),i=n("79b1"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="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&&p in n&&!n[p]){var a=l(t,e);a&&a[p]&&(t[e]=n.value,n={configurable:d in n?n[d]:a[d],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}},"5f66":function(t,e){t.exports=function(t){return null===t||void 0===t}},"6cc5":function(t,e,n){var a=n("caa9"),r=n("9dce"),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}},"6f30":function(t,e,n){var a=n("b1ab");t.exports=a({}.isPrototypeOf)},7086:function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"743a":function(t,e,n){var a=n("7d3c"),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}},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},"79b1":function(t,e,n){var a=n("59ff"),r=n("3ef0");t.exports=function(t){var e=a(t,"string");return r(e)?e:e+""}},"7b20":function(t,e,n){var a=n("9de2"),r=n("7086"),o=TypeError;t.exports=function(t){if(a(t))return t;throw o(r(t)+" is not a function")}},"7d3c":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"))},"7f94":function(t,e,n){var a=n("385f");t.exports=function(t){return a(t.length)}},8098:function(t,e,n){var a=n("caa9"),r=n("5c13"),o=n("38c8");t.exports=a?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"815e":function(t,e,n){var a=n("b1ab"),r=a({}.toString),o=a("".slice);t.exports=function(t){return o(r(t),8,-1)}},"84d9":function(t,e){e.f=Object.getOwnPropertySymbols},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 d})),n.d(e,"v",(function(){return p})),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},d=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},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("f9f6"),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"])(""),d=Object(o["f"])([]),p=()=>{d.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:d,checkOne:p}}}),d=f,p=(n("d855"),n("8619")),b=Object(p["a"])(d,a,r,!1,null,"170797d3",null);e["default"]=b.exports},"89c6":function(t,e,n){var a=n("7d3c"),r=n("1d31").f,o=n("8098"),c=n("a025"),i=n("743a"),s=n("0bd7"),u=n("43b7");t.exports=function(t,e){var n,l,f,d,p,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(p=e[f],t.dontCallGetSet?(b=r(l,f),d=b&&b.value):d=l[f],n=u(m?f:v+(y?".":"#")+f,t.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;s(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),c(l,f,p,t)}}},"89e7":function(t,e,n){var a=n("b1ab"),r=0,o=Math.random(),c=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++r+o,36)}},"8d23":function(t,e,n){var a=n("f6ba"),r=String,o=TypeError;t.exports=function(t){if(a(t))return t;throw o(r(t)+" is not an object")}},"9a69":function(t,e,n){var a=n("f02e"),r=n("fd6a");t.exports=function(t){return a(r(t))}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},"9dca":function(t,e,n){var a=n("caa9"),r=n("073d"),o=n("186a");t.exports=!a&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"9dce":function(t,e,n){var a=n("b1ab"),r=n("ab90"),o=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},"9de2":function(t,e,n){var a=n("3508"),r=a.all;t.exports=a.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},a025:function(t,e,n){var a=n("9de2"),r=n("5c13"),o=n("baa9"),c=n("743a");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}},a2e2:function(t,e,n){var a,r,o,c=n("2deb"),i=n("7d3c"),s=n("f6ba"),u=n("8098"),l=n("9dce"),f=n("0fe5"),d=n("d9ad"),p=n("0572"),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=d("state");p[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}},a64a:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},ab90:function(t,e,n){var a=n("fd6a"),r=Object;t.exports=function(t){return r(a(t))}},b1ab:function(t,e,n){var a=n("c43a"),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)}}},baa9:function(t,e,n){var a=n("b1ab"),r=n("073d"),o=n("9de2"),c=n("9dce"),i=n("caa9"),s=n("6cc5").CONFIGURABLE,u=n("32b4"),l=n("a2e2"),f=l.enforce,d=l.get,p=String,b=Object.defineProperty,v=a("".slice),m=a("".replace),y=a([].join),g=i&&!r((function(){return 8!==b((function(){}),"length",{value:8}).length})),x=String(String).split("String"),h=t.exports=function(t,e,n){"Symbol("===v(p(e),0,7)&&(e="["+m(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!c(t,"name")||s&&t.name!==e)&&(i?b(t,"name",{value:e,configurable:!0}):t.name=e),g&&n&&c(n,"arity")&&t.length!==n.arity&&b(t,"length",{value:n.arity});try{n&&c(n,"constructor")&&n.constructor?i&&b(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var a=f(t);return c(a,"source")||(a.source=y(x,"string"==typeof e?e:"")),t};Function.prototype.toString=h((function(){return o(this)&&d(this).source||u(this)}),"toString")},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})},c43a:function(t,e,n){var a=n("073d");t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},c683:function(t,e,n){var a=n("c43a"),r=Function.prototype.call;t.exports=a?r.bind(r):function(){return r.apply(r,arguments)}},c7de:function(t,e){var n=TypeError,a=9007199254740991;t.exports=function(t){if(t>a)throw n("Maximum allowed index exceeded");return t}},caa9:function(t,e,n){var a=n("073d");t.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},cae3:function(t,e,n){var a=n("7d3c"),r=n("9de2"),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]}},d0e9:function(t,e,n){var a,r,o=n("7d3c"),c=n("1000"),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},d855:function(t,e,n){"use strict";n("be2a")},d9ad:function(t,e,n){var a=n("2c81"),r=n("89e7"),o=a("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},dba4:function(t,e,n){var a=n("caa9"),r=n("073d");t.exports=a&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},dd05:function(t,e,n){var a=n("7b20"),r=n("5f66");t.exports=function(t,e){var n=t[e];return r(n)?void 0:a(n)}},e285:function(t,e,n){var a=n("7d3c"),r=n("2c81"),o=n("9dce"),c=n("89e7"),i=n("42c1"),s=n("4160"),u=a.Symbol,l=r("wks"),f=s?u["for"]||u:u&&u.withoutSetter||c;t.exports=function(t){return o(l,t)||(l[t]=i&&o(u,t)?u[t]:f("Symbol."+t)),l[t]}},f02e:function(t,e,n){var a=n("b1ab"),r=n("073d"),o=n("815e"),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},f6ba:function(t,e,n){var a=n("9de2"),r=n("3508"),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)}},f9f6:function(t,e,n){"use strict";var a=n("89c6"),r=n("ab90"),o=n("7f94"),c=n("3470"),i=n("c7de"),s=n("073d"),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=u||!l();a({target:"Array",proto:!0,arity:1,forced:f},{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}})},fd6a:function(t,e,n){var a=n("5f66"),r=TypeError;t.exports=function(t){if(a(t))throw r("Can't call method on "+t);return t}}}]);
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationEmailTemplateManagement"],{"00bd":function(t,e,n){var a=n("815e");t.exports=Array.isArray||function(t){return"Array"==a(t)}},"0342":function(t,e,n){var a=n("09bd");t.exports=function(t){var e=+t;return e!==e||0===e?0:a(e)}},"0572":function(t,e){t.exports={}},"073d":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"09bd":function(t,e){var n=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?a:n)(e)}},"0bd7":function(t,e,n){var a=n("9dce"),r=n("4833"),o=n("1d31"),c=n("5c13");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))}}},"0fe5":function(t,e,n){var a=n("7d3c"),r=n("743a"),o="__core-js_shared__",c=a[o]||r(o,{});t.exports=c},1e3:function(t,e){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},"123b0":function(t,e,n){var a=n("0342"),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)}},"186a":function(t,e,n){var a=n("7d3c"),r=n("f6ba"),o=a.document,c=r(o)&&r(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},"1d31":function(t,e,n){var a=n("caa9"),r=n("c683"),o=n("52bd"),c=n("38c8"),i=n("9a69"),s=n("79b1"),u=n("9dce"),l=n("9dca"),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])}},"211b":function(t,e,n){var a=n("b1ab"),r=n("9dce"),o=n("9a69"),c=n("5435").indexOf,i=n("0572"),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}},"23ea":function(t,e,n){var a=n("c683"),r=n("9de2"),o=n("f6ba"),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")}},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)}}},"2c81":function(t,e,n){var a=n("57bb"),r=n("0fe5");(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.0",mode:a?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"})},"2deb":function(t,e,n){var a=n("7d3c"),r=n("9de2"),o=a.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},"32b4":function(t,e,n){var a=n("b1ab"),r=n("9de2"),o=n("0fe5"),c=a(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return c(t)}),t.exports=o.inspectSource},3470:function(t,e,n){"use strict";var a=n("caa9"),r=n("00bd"),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}},"34ae":function(t,e,n){var a=n("211b"),r=n("a64a"),o=r.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return a(t,o)}},3508:function(t,e){var n="object"==typeof document&&document.all,a="undefined"==typeof n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:a}},"385f":function(t,e,n){var a=n("0342"),r=Math.min;t.exports=function(t){return t>0?r(a(t),9007199254740991):0}},"38c8":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"3ef0":function(t,e,n){var a=n("cae3"),r=n("9de2"),o=n("6f30"),c=n("4160"),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))}},4160:function(t,e,n){var a=n("42c1");t.exports=a&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"42c1":function(t,e,n){var a=n("d0e9"),r=n("073d");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&a&&a<41}))},"43b7":function(t,e,n){var a=n("073d"),r=n("9de2"),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},4833:function(t,e,n){var a=n("cae3"),r=n("b1ab"),o=n("34ae"),c=n("84d9"),i=n("8d23"),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}},"52bd":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},5435:function(t,e,n){var a=n("9a69"),r=n("123b0"),o=n("7f94"),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)}},"57bb":function(t,e){t.exports=!1},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"])(),d=Object(c["f"])(),p=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,d.value=t.user_roles,d.value.length>0)if(d.value.includes("System Admin")){p.value=!0,await C();const t=await Object(l["a"])("system/config");h.value=t,console.log(t)}else p.value=!1}),{templateID:e,showSuccessMessage:b,showScreen:p,resMessage:v,showErrorMessage:m,showUpdate:s,errorMessage:r,renderReady:n,template:a,openPreview:j,updateTemplate:_,isNew:y,isPreview:g,previewContent:w,previewShow:x}}}),d=f,p=n("8619"),b=Object(p["a"])(d,a,r,!1,null,null,null);e["default"]=b.exports},"59ff":function(t,e,n){var a=n("c683"),r=n("f6ba"),o=n("3ef0"),c=n("dd05"),i=n("23ea"),s=n("e285"),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)}},"5c13":function(t,e,n){var a=n("caa9"),r=n("9dca"),o=n("dba4"),c=n("8d23"),i=n("79b1"),s=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="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&&p in n&&!n[p]){var a=l(t,e);a&&a[p]&&(t[e]=n.value,n={configurable:d in n?n[d]:a[d],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}},"5f66":function(t,e){t.exports=function(t){return null===t||void 0===t}},"6cc5":function(t,e,n){var a=n("caa9"),r=n("9dce"),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}},"6f30":function(t,e,n){var a=n("b1ab");t.exports=a({}.isPrototypeOf)},7086:function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},"743a":function(t,e,n){var a=n("7d3c"),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}},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},"79b1":function(t,e,n){var a=n("59ff"),r=n("3ef0");t.exports=function(t){var e=a(t,"string");return r(e)?e:e+""}},"7b20":function(t,e,n){var a=n("9de2"),r=n("7086"),o=TypeError;t.exports=function(t){if(a(t))return t;throw o(r(t)+" is not a function")}},"7d3c":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"))},"7f94":function(t,e,n){var a=n("385f");t.exports=function(t){return a(t.length)}},8098:function(t,e,n){var a=n("caa9"),r=n("5c13"),o=n("38c8");t.exports=a?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"815e":function(t,e,n){var a=n("b1ab"),r=a({}.toString),o=a("".slice);t.exports=function(t){return o(r(t),8,-1)}},"84d9":function(t,e){e.f=Object.getOwnPropertySymbols},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 d})),n.d(e,"v",(function(){return p})),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},d=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},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("f9f6"),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"])(""),d=Object(o["f"])([]),p=()=>{d.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:d,checkOne:p}}}),d=f,p=(n("d855"),n("8619")),b=Object(p["a"])(d,a,r,!1,null,"170797d3",null);e["default"]=b.exports},"89c6":function(t,e,n){var a=n("7d3c"),r=n("1d31").f,o=n("8098"),c=n("a025"),i=n("743a"),s=n("0bd7"),u=n("43b7");t.exports=function(t,e){var n,l,f,d,p,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(p=e[f],t.dontCallGetSet?(b=r(l,f),d=b&&b.value):d=l[f],n=u(m?f:v+(y?".":"#")+f,t.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;s(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),c(l,f,p,t)}}},"89e7":function(t,e,n){var a=n("b1ab"),r=0,o=Math.random(),c=a(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++r+o,36)}},"8d23":function(t,e,n){var a=n("f6ba"),r=String,o=TypeError;t.exports=function(t){if(a(t))return t;throw o(r(t)+" is not an object")}},"9a69":function(t,e,n){var a=n("f02e"),r=n("fd6a");t.exports=function(t){return a(r(t))}},"9d04":function(t,e,n){t.exports=n.p+"img/loadernew.gif"},"9dca":function(t,e,n){var a=n("caa9"),r=n("073d"),o=n("186a");t.exports=!a&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"9dce":function(t,e,n){var a=n("b1ab"),r=n("ab90"),o=a({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},"9de2":function(t,e,n){var a=n("3508"),r=a.all;t.exports=a.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},a025:function(t,e,n){var a=n("9de2"),r=n("5c13"),o=n("baa9"),c=n("743a");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}},a2e2:function(t,e,n){var a,r,o,c=n("2deb"),i=n("7d3c"),s=n("f6ba"),u=n("8098"),l=n("9dce"),f=n("0fe5"),d=n("d9ad"),p=n("0572"),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=d("state");p[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}},a64a:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},ab90:function(t,e,n){var a=n("fd6a"),r=Object;t.exports=function(t){return r(a(t))}},b1ab:function(t,e,n){var a=n("c43a"),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)}}},baa9:function(t,e,n){var a=n("b1ab"),r=n("073d"),o=n("9de2"),c=n("9dce"),i=n("caa9"),s=n("6cc5").CONFIGURABLE,u=n("32b4"),l=n("a2e2"),f=l.enforce,d=l.get,p=String,b=Object.defineProperty,v=a("".slice),m=a("".replace),y=a([].join),g=i&&!r((function(){return 8!==b((function(){}),"length",{value:8}).length})),x=String(String).split("String"),h=t.exports=function(t,e,n){"Symbol("===v(p(e),0,7)&&(e="["+m(p(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!c(t,"name")||s&&t.name!==e)&&(i?b(t,"name",{value:e,configurable:!0}):t.name=e),g&&n&&c(n,"arity")&&t.length!==n.arity&&b(t,"length",{value:n.arity});try{n&&c(n,"constructor")&&n.constructor?i&&b(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(r){}var a=f(t);return c(a,"source")||(a.source=y(x,"string"==typeof e?e:"")),t};Function.prototype.toString=h((function(){return o(this)&&d(this).source||u(this)}),"toString")},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})},c43a:function(t,e,n){var a=n("073d");t.exports=!a((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},c683:function(t,e,n){var a=n("c43a"),r=Function.prototype.call;t.exports=a?r.bind(r):function(){return r.apply(r,arguments)}},c7de:function(t,e){var n=TypeError,a=9007199254740991;t.exports=function(t){if(t>a)throw n("Maximum allowed index exceeded");return t}},caa9:function(t,e,n){var a=n("073d");t.exports=!a((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},cae3:function(t,e,n){var a=n("7d3c"),r=n("9de2"),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]}},d0e9:function(t,e,n){var a,r,o=n("7d3c"),c=n("1000"),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},d855:function(t,e,n){"use strict";n("be2a")},d9ad:function(t,e,n){var a=n("2c81"),r=n("89e7"),o=a("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},dba4:function(t,e,n){var a=n("caa9"),r=n("073d");t.exports=a&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},dd05:function(t,e,n){var a=n("7b20"),r=n("5f66");t.exports=function(t,e){var n=t[e];return r(n)?void 0:a(n)}},e285:function(t,e,n){var a=n("7d3c"),r=n("2c81"),o=n("9dce"),c=n("89e7"),i=n("42c1"),s=n("4160"),u=a.Symbol,l=r("wks"),f=s?u["for"]||u:u&&u.withoutSetter||c;t.exports=function(t){return o(l,t)||(l[t]=i&&o(u,t)?u[t]:f("Symbol."+t)),l[t]}},f02e:function(t,e,n){var a=n("b1ab"),r=n("073d"),o=n("815e"),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},f6ba:function(t,e,n){var a=n("9de2"),r=n("3508"),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)}},f9f6:function(t,e,n){"use strict";var a=n("89c6"),r=n("ab90"),o=n("7f94"),c=n("3470"),i=n("c7de"),s=n("073d"),u=s((function(){return 4294967297!==[].push.call({length:4294967296},1)})),l=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=u||!l();a({target:"Array",proto:!0,arity:1,forced:f},{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}})},fd6a:function(t,e,n){var a=n("5f66"),r=TypeError;t.exports=function(t){if(a(t))throw r("Can't call method on "+t);return t}}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationEmailTemplateManagement.js.map
|