Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-notifications

Package Overview
Dependencies
Maintainers
3
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-notifications - npm Package Compare versions

Comparing version 25.2.3 to 26.1.35

dist/ts/global.d.ts

5

.eslintrc.json

@@ -18,3 +18,4 @@ {

"sourceType": "module"
},
},
"ignorePatterns": ["*.d.ts", "*.js"],
"plugins": [

@@ -188,3 +189,3 @@ "@typescript-eslint",

],
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-explicit-any": "warn",
"no-cond-assign": [

@@ -191,0 +192,0 @@ "error",

4

dist/ej2-notifications.umd.min.js
/*!
* filename: ej2-notifications.umd.min.js
* version : 25.2.3
* version : 26.1.35
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.

@@ -10,3 +10,3 @@ * Use of this code is subject to the terms of our license.

*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-base"),require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-popups")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-base","@syncfusion/ej2-buttons","@syncfusion/ej2-popups"],e):e(t.ej={},t.ej2Base,t.ej2Buttons,t.ej2Popups)}(this,function(t,e,s,i){"use strict";var o=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),n=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r},r="e-toast",l="e-toast-container",a="e-toast-title",h="e-toast-full-width",c="e-toast-content",p="e-toast-message",d="e-toast-progress",u="e-toast-close-icon",f=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property("Left")],s.prototype,"X",void 0),n([e.Property("Top")],s.prototype,"Y",void 0),s}(e.ChildProperty),m=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property(null)],s.prototype,"model",void 0),n([e.Property(null)],s.prototype,"click",void 0),s}(e.ChildProperty),y=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property("FadeIn")],s.prototype,"effect",void 0),n([e.Property(600)],s.prototype,"duration",void 0),n([e.Property("ease")],s.prototype,"easing",void 0),s}(e.ChildProperty),v=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Complex({effect:"FadeIn",duration:600,easing:"ease"},y)],s.prototype,"show",void 0),n([e.Complex({effect:"FadeOut",duration:600,easing:"ease"},y)],s.prototype,"hide",void 0),s}(e.ChildProperty),C=function(t){function y(e,s){var i=t.call(this,e,s)||this;return i.toastCollection=[],i.needsID=!0,i}return o(y,t),y.prototype.getModuleName=function(){return"toast"},y.prototype.getPersistData=function(){return this.addOnPersist([])},y.prototype.destroy=function(){this.hide("All"),this.element.classList.remove(l),e.setStyleAttribute(this.element,{position:"","z-index":""}),e.isNullOrUndefined(this.refElement)||e.isNullOrUndefined(this.refElement.parentElement)||(this.refElement.parentElement.insertBefore(this.element,this.refElement),e.detach(this.refElement),this.refElement=void 0),this.isBlazorServer()||t.prototype.destroy.call(this)},y.prototype.preRender=function(){this.isDevice=e.Browser.isDevice,"300px"===this.width&&(this.width=this.isDevice&&screen.width<768?"100%":"300px"),e.isNullOrUndefined(this.target)&&(this.target=document.body),this.enableRtl&&!this.isBlazorServer()&&this.element.classList.add("e-rtl")},y.prototype.render=function(){this.progressObj=[],this.intervalId=[],this.contentTemplate=null,this.toastTemplate=null,this.renderComplete(),this.initRenderClass=this.element.className},y.prototype.show=function(t){var s;if(e.isNullOrUndefined(t)||(this.templateChanges(t),s=JSON.parse(JSON.stringify(t)),e.extend(this,this,t)),e.isNullOrUndefined(this.toastContainer)){this.toastContainer=this.getContainer();var i="string"==typeof this.target?document.querySelector(this.target):"object"==typeof this.target?this.target:document.body;if(e.isNullOrUndefined(i))return;"BODY"===i.tagName?this.toastContainer.style.position="fixed":(this.toastContainer.style.position="absolute",i.style.position="relative"),this.setPositioning(this.position),i.appendChild(this.toastContainer)}this.isBlazorServer()&&this.element.classList.contains("e-control")?this.isToastModel(t):(this.toastEle=this.createElement("div",{className:r,id:e.getUniqueID("toast")}),this.setWidthHeight(),this.setCSSClass(this.cssClass),e.isNullOrUndefined(this.template)||""===this.template?this.personalizeToast():this.templateRendering(),this.setProgress(),this.setCloseButton(),this.setAria(),this.appendToTarget(t),this.isDevice&&screen.width<768&&new e.Touch(this.toastEle,{swipe:this.swipeHandler.bind(this)}),e.isNullOrUndefined(s)||(e.extend(s,{element:[this.toastEle]},!0),this.toastCollection.push(s)),this.isReact&&this.renderReactTemplates())},y.prototype.showToast=function(t,e){this.toastEle=this.element.querySelector("#"+t),this.show(e)},y.prototype.isToastModel=function(t){this.toastContainer=this.element,this.setPositioning(this.position);e.isNullOrUndefined(this.element.lastElementChild)||this.setProgress(),this.setAria(),this.appendToTarget(t)},y.prototype.swipeHandler=function(t){var s=e.closest(t.originalEvent.target,"."+r+":not(."+l+")"),i=this.animation.hide.effect;e.isNullOrUndefined(s)||("Right"===t.swipeDirection?(this.animation.hide.effect="SlideRightOut",this.hideToast("swipe",s)):"Left"===t.swipeDirection&&(this.animation.hide.effect="SlideLeftOut",this.hideToast("swipe",s)),this.animation.hide.effect=i)},y.prototype.templateChanges=function(t){e.isUndefined(t.content)||e.isNullOrUndefined(this.contentTemplate)||this.content===t.content||this.clearContentTemplate(),e.isUndefined(t.template)||e.isNullOrUndefined(this.toastTemplate)||this.template===t.template||this.clearToastTemplate()},y.prototype.setCSSClass=function(t){if(t){var s=-1!==t.indexOf(",")?",":" ";e.classList(this.toastEle,t.split(s),[]),this.toastContainer&&e.classList(this.toastContainer,t.split(s),[])}},y.prototype.setWidthHeight=function(){"300px"===this.width?this.toastEle.style.width=e.formatUnit(this.width):"100%"===this.width?this.toastContainer.classList.add(h):(this.toastEle.style.width=e.formatUnit(this.width),this.toastContainer.classList.remove(h)),this.toastEle.style.height=e.formatUnit(this.height)},y.prototype.templateRendering=function(){this.fetchEle(this.toastEle,this.template,"template")},y.prototype.sanitizeHelper=function(t){if(this.enableHtmlSanitizer){var s=e.SanitizeHtmlHelper.beforeSanitize();e.extend(s,s,{cancel:!1,helper:null}),this.trigger("beforeSanitizeHtml",s),s.cancel&&!e.isNullOrUndefined(s.helper)?t=s.helper(t):s.cancel||(t=e.SanitizeHtmlHelper.serializeValue(s,t))}return t},y.prototype.hide=function(t){this.hideToast("",t)},y.prototype.hideToast=function(t,s){if(!e.isNullOrUndefined(this.toastContainer)&&0!==this.toastContainer.childElementCount)if("string"!=typeof s||"All"!==s)e.isNullOrUndefined(s)&&(s=this.newestOnTop?this.toastContainer.lastElementChild:this.toastContainer.firstElementChild),this.destroyToast(s,t);else for(var i=0;i<this.toastContainer.childElementCount;i++)this.destroyToast(this.toastContainer.children[i],t)},y.prototype.fetchEle=function(t,s,i){s="string"==typeof s?this.sanitizeHelper(s):s;var o,n,r,l;if(l=t.classList.contains(a)?this.element.id+"title":t.classList.contains(c)?this.element.id+"content":this.element.id+"template",n="content"===i?this.contentTemplate:this.toastTemplate,!e.isNullOrUndefined(n))return t.appendChild(n.cloneNode(!0)),t;try{if("function"!=typeof s&&document.querySelectorAll(s).length>0){var h=null;"title"!==i&&(h=document.querySelector(s),t.appendChild(h),h.style.display="");var p=e.isNullOrUndefined(h)?n:h.cloneNode(!0);"content"===i?this.contentTemplate=p:this.toastTemplate=p}else o=e.compile(s)}catch(t){o="object"==typeof s?e.compile(s):e.compile(e.initializeCSPTemplate(function(){return s}))}if(!e.isNullOrUndefined(o))if(this.isBlazorServer()){r=o({},this,i,l,!0)}else r=o({},this,i,null,!0);return e.isNullOrUndefined(r)||!(r.length>0)||e.isNullOrUndefined(r[0].tagName)&&1===r.length?"function"!=typeof s&&0===t.childElementCount&&(t.innerHTML=s):[].slice.call(r).forEach(function(s){e.isNullOrUndefined(s.tagName)||(s.style.display=""),t.appendChild(s)}),t},y.prototype.clearProgress=function(t){e.isNullOrUndefined(this.intervalId[t])||(clearInterval(this.intervalId[t]),delete this.intervalId[t]),e.isNullOrUndefined(this.progressObj[t])||(clearInterval(this.progressObj[t].intervalId),delete this.progressObj[t])},y.prototype.removeToastContainer=function(t){t&&this.toastContainer.classList.contains("e-toast-util")&&e.detach(this.toastContainer)},y.prototype.clearContainerPos=function(t){var s=this;this.isBlazorServer()?this.toastContainer=null:(this.customPosition?(e.setStyleAttribute(this.toastContainer,{left:"",top:""}),this.removeToastContainer(t),this.toastContainer=null,this.customPosition=!1):([r+"-top-left",r+"-top-right",r+"-bottom-left",r+"-bottom-right",r+"-bottom-center",r+"-top-center",r+"-full-width"].forEach(function(t){!e.isNullOrUndefined(s.toastContainer)&&s.toastContainer.classList.contains(t)&&s.toastContainer.classList.remove(t)}),this.removeToastContainer(t),this.toastContainer=null),e.isNullOrUndefined(this.contentTemplate)||this.clearContentTemplate(),e.isNullOrUndefined(this.toastTemplate)||this.clearToastTemplate())},y.prototype.clearContentTemplate=function(){this.contentTemplate.style.display="none",document.body.appendChild(this.contentTemplate),this.contentTemplate=null},y.prototype.clearToastTemplate=function(){this.toastTemplate.style.display="none",document.body.appendChild(this.toastTemplate),this.toastTemplate=null},y.prototype.isBlazorServer=function(){return e.isBlazor()&&this.isServerRendered},y.prototype.destroyToast=function(t,s){for(var i,o=this,n=0;n<this.toastCollection.length;n++)this.toastCollection[n].element[0]===t&&(i=this.toastCollection[n],this.toastCollection.splice(n,1));var r={options:this,cancel:!1,type:s,element:t,toastContainer:this.toastContainer},l=this.animation.hide,a={duration:l.duration,name:"None"===l.effect&&"Enable"===e.animationMode?"FadeOut":l.effect,timingFunction:l.easing},h=parseInt(t.id.split("toast_")[1],10),c=this.isBlazorServer()?{options:i,toastContainer:this.toastContainer}:{options:i,toastContainer:this.toastContainer,toastObj:this};this.trigger("beforeClose",r,function(s){s.cancel||(e.isNullOrUndefined(o.progressObj[h])||e.isNullOrUndefined(t.querySelector("."+d))||(o.progressObj[h].progressEle.style.width="0%"),a.end=function(){o.clearProgress(h),o.isBlazorServer()&&!e.isNullOrUndefined(i)||e.detach(t),o.trigger("close",c),0===o.toastContainer.childElementCount&&o.clearContainerPos(!0),l=null,a=null},new e.Animation(a).animate(t))})},y.prototype.personalizeToast=function(){this.setIcon(),this.setTitle(),this.setContent(),this.actionButtons()},y.prototype.setAria=function(){e.attributes(this.toastEle,{role:"alert"})},y.prototype.setPositioning=function(t){this.isBlazorServer()||(isNaN(parseFloat(t.X))&&isNaN(parseFloat(t.Y))?this.toastContainer.classList.add(r+"-"+t.Y.toString().toLowerCase()+"-"+t.X.toString().toLowerCase()):(this.customPosition=!0,e.setStyleAttribute(this.toastContainer,{left:e.formatUnit(t.X),top:e.formatUnit(t.Y)})))},y.prototype.setCloseButton=function(){if(this.showCloseButton){this.l10n=new e.L10n("toast",{close:"Close"},this.locale),this.l10n.setLocale(this.locale);var t=this.l10n.getConstant("close"),s=this.createElement("div",{className:u+" e-icons ",attrs:{tabindex:"0","aria-label":t,role:"button"}});this.toastEle.classList.add("e-toast-header-close-icon"),this.toastEle.appendChild(s)}},y.prototype.setProgress=function(){if(this.timeOut>0){var t=parseInt(this.toastEle.id.split("toast_")[1],10);this.intervalId[t]=window.setTimeout(this.destroyToast.bind(this,this.toastEle),this.timeOut),this.progressObj[t]={hideEta:null,intervalId:null,maxHideTime:null,element:null,timeOutId:null,progressEle:null},this.progressObj[t].maxHideTime=parseFloat(this.timeOut+""),this.progressObj[t].hideEta=(new Date).getTime()+this.progressObj[t].maxHideTime,this.progressObj[t].element=this.toastEle,this.extendedTimeout>0&&(e.EventHandler.add(this.toastEle,"mouseover",this.toastHoverAction.bind(this,t)),e.EventHandler.add(this.toastEle,"mouseleave",this.delayedToastProgress.bind(this,t)),this.progressObj[t].timeOutId=this.intervalId[t]),this.showProgressBar&&(this.progressBarEle=this.createElement("div",{className:d}),this.toastEle.insertBefore(this.progressBarEle,this.toastEle.children[0]),this.progressObj[t].intervalId=setInterval(this.updateProgressBar.bind(this,this.progressObj[t]),10),this.progressObj[t].progressEle=this.progressBarEle)}},y.prototype.toastHoverAction=function(t){clearTimeout(this.progressObj[t].timeOutId),clearInterval(this.progressObj[t].intervalId),this.progressObj[t].hideEta=0;var s=this.progressObj[t].element;e.isNullOrUndefined(s.querySelector("."+d))||(this.progressObj[t].progressEle.style.width="0%")},y.prototype.delayedToastProgress=function(t){var s=this.progressObj[t],i=s.element;s.timeOutId=window.setTimeout(this.destroyToast.bind(this,i),this.extendedTimeout),s.maxHideTime=parseFloat(this.extendedTimeout+""),s.hideEta=(new Date).getTime()+s.maxHideTime,e.isNullOrUndefined(i.querySelector("."+d))||(s.intervalId=setInterval(this.updateProgressBar.bind(this,s),10))},y.prototype.updateProgressBar=function(t){var e=(t.hideEta-(new Date).getTime())/t.maxHideTime*100;e="Ltr"===this.progressDirection?100-e:e,t.progressEle.style.width=e+"%"},y.prototype.setIcon=function(){if(!e.isNullOrUndefined(this.icon)&&0!==this.icon.length){var t=this.createElement("div",{className:"e-toast-icon e-icons "+this.icon});this.toastEle.classList.add("e-toast-header-icon"),this.toastEle.appendChild(t)}},y.prototype.setTitle=function(){if(!e.isNullOrUndefined(this.title)){var t=this.createElement("div",{className:a});t=this.fetchEle(t,this.title,"title");var s=this.createElement("div",{className:p});s.appendChild(t),this.toastEle.appendChild(s)}},y.prototype.setContent=function(){var t=this.createElement("div",{className:c}),s=this.element;if(e.isNullOrUndefined(this.content)||""===this.content){var i=""!==this.element.innerHTML.replace(/\s/g,"");if((s.children.length>0||i)&&(!s.firstElementChild||!s.firstElementChild.classList.contains(r))){this.innerEle=document.createDocumentFragment();for(var o=this.createElement("div");0!==s.childNodes.length;)this.innerEle.appendChild(this.element.childNodes[0]);t.appendChild(this.innerEle),[].slice.call(t.children).forEach(function(t){o.appendChild(t.cloneNode(!0))}),this.content=o,this.appendMessageContainer(t)}}else"object"!=typeof this.content||e.isNullOrUndefined(this.content.tagName)?(t=this.fetchEle(t,this.content,"content"),this.appendMessageContainer(t)):(t.appendChild(this.content),this.content=this.content.cloneNode(!0),this.appendMessageContainer(t))},y.prototype.appendMessageContainer=function(t){if(this.toastEle.querySelectorAll("."+p).length>0)this.toastEle.querySelector("."+p).appendChild(t);else{var e=this.createElement("div",{className:p});e.appendChild(t),this.toastEle.appendChild(e)}},y.prototype.actionButtons=function(){var t=this,i=this.createElement("div",{className:"e-toast-actions"});[].slice.call(this.buttons).forEach(function(o){if(!e.isNullOrUndefined(o.model)){var n=t.createElement("button");n.setAttribute("type","button"),(e.isNullOrUndefined(o.model.cssClass)||0===o.model.cssClass.length)&&(o.model.cssClass="e-primary "+t.cssClass),n.classList.add("e-small"),new s.Button(o.model,n),e.isNullOrUndefined(o.click)||"function"!=typeof o.click||e.EventHandler.add(n,"click",o.click),i.appendChild(n)}}),i.childElementCount>0&&this.appendMessageContainer(i)},y.prototype.appendToTarget=function(t){var s=this,o=this.isBlazorServer()?{options:t,element:this.toastEle,cancel:!1}:{options:t,toastObj:this,element:this.toastEle,cancel:!1};this.trigger("beforeOpen",o,function(o){if(o.cancel){if(s.isBlazorServer()){var n=parseInt(s.toastEle.id.split("toast_")[1],10);s.clearProgress(n),e.detach(s.toastEle),0===s.toastContainer.childElementCount&&s.clearContainerPos()}}else s.isBlazorServer()||(s.toastEle.style.display="none"),s.newestOnTop&&0!==s.toastContainer.childElementCount?s.toastContainer.insertBefore(s.toastEle,s.toastContainer.children[0]):s.isBlazorServer()||s.toastContainer.appendChild(s.toastEle),e.removeClass([s.toastEle],"e-blazor-toast-hidden"),e.EventHandler.add(s.toastEle,"click",s.clickHandler,s),e.EventHandler.add(s.toastEle,"keydown",s.keyDownHandler,s),s.toastContainer.style.zIndex=i.getZindexPartial(s.toastContainer)+"",s.displayToast(s.toastEle,t)})},y.prototype.clickHandler=function(t){var s=this;this.isBlazorServer()||t.stopPropagation();var i=t.target,o=e.closest(i,"."+r),n=this.isBlazorServer()?{element:o,cancel:!1,clickToClose:!1,originalEvent:t}:{element:o,cancel:!1,clickToClose:!1,originalEvent:t,toastObj:this},l=i.classList.contains(u);this.trigger("click",n,function(t){(l&&!t.cancel||t.clickToClose)&&s.destroyToast(o,"click")})},y.prototype.keyDownHandler=function(t){if(t.target.classList.contains(u)&&(13===t.keyCode||32===t.keyCode)){var s=t.target,i=e.closest(s,"."+r);this.destroyToast(i,"key")}},y.prototype.displayToast=function(t,s){var i=this,o=this.animation.show,n={duration:o.duration,name:"None"===o.effect&&"Enable"===e.animationMode?"FadeIn":o.effect,timingFunction:o.easing},r=this.isBlazorServer()?{options:s,element:this.toastEle}:{options:s,toastObj:this,element:this.toastEle};n.begin=function(){t.style.display=""},n.end=function(){i.trigger("open",r)},new e.Animation(n).animate(t)},y.prototype.getContainer=function(){return this.element.classList.add(l),this.element},y.prototype.onPropertyChanged=function(t,e){for(var s=this.element,i=0,o=Object.keys(t);i<o.length;i++){switch(o[i]){case"enableRtl":t.enableRtl?s.classList.add("e-rtl"):s.classList.remove("e-rtl")}}},n([e.Property("300px")],y.prototype,"width",void 0),n([e.Property("auto")],y.prototype,"height",void 0),n([e.Property(null)],y.prototype,"title",void 0),n([e.Property(null)],y.prototype,"content",void 0),n([e.Property(!0)],y.prototype,"enableHtmlSanitizer",void 0),n([e.Property(null)],y.prototype,"icon",void 0),n([e.Property(null)],y.prototype,"cssClass",void 0),n([e.Property(null)],y.prototype,"template",void 0),n([e.Property(!0)],y.prototype,"newestOnTop",void 0),n([e.Property(!1)],y.prototype,"showCloseButton",void 0),n([e.Property(!1)],y.prototype,"showProgressBar",void 0),n([e.Property(5e3)],y.prototype,"timeOut",void 0),n([e.Property("Rtl")],y.prototype,"progressDirection",void 0),n([e.Property(1e3)],y.prototype,"extendedTimeout",void 0),n([e.Complex({},v)],y.prototype,"animation",void 0),n([e.Complex({},f)],y.prototype,"position",void 0),n([e.Collection([{}],m)],y.prototype,"buttons",void 0),n([e.Property(null)],y.prototype,"target",void 0),n([e.Event()],y.prototype,"created",void 0),n([e.Event()],y.prototype,"beforeSanitizeHtml",void 0),n([e.Event()],y.prototype,"destroyed",void 0),n([e.Event()],y.prototype,"open",void 0),n([e.Event()],y.prototype,"beforeOpen",void 0),n([e.Event()],y.prototype,"beforeClose",void 0),n([e.Event()],y.prototype,"close",void 0),n([e.Event()],y.prototype,"click",void 0),y=n([e.NotifyPropertyChanges],y)}(e.Component);!function(s){(t.ToastUtility||(t.ToastUtility={})).show=function(t,s,i){var o;document.querySelector("."+l)?o=document.querySelector("."+l):(o=e.createElement("div",{className:r+" "+l+" e-toast-util"}),document.body.appendChild(o));var n;if("string"==typeof t){var a=void 0,h=void 0;if(e.isNullOrUndefined(s))a="",h="";else switch(s){case"Warning":a="e-toast-warning",h="e-toast-warning-icon";break;case"Success":a="e-toast-success",h="e-toast-success-icon";break;case"Error":a="e-toast-danger",h="e-toast-error-icon";break;case"Information":a="e-toast-info",h="e-toast-info-icon"}n={content:t,cssClass:a,icon:h,timeOut:e.isNullOrUndefined(i)?5e3:i}}else n=t;var c=new C(n);return c.appendTo(o),c.show(),c}}();var g=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),E=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r};!function(t){t.Normal="Normal",t.Success="Success",t.Info="Info",t.Warning="Warning",t.Error="Error"}(t.Severity||(t.Severity={})),function(t){t.Text="Text",t.Outlined="Outlined",t.Filled="Filled"}(t.Variant||(t.Variant={}));var b="e-msg-icon",O="e-content-center",T="e-success",P="e-warning",N="e-outlined",w="e-filled",S="e-hidden",I=function(t){function s(e,s){var i=t.call(this,e,s)||this;return i.initialRender=!0,i}return g(s,t),s.prototype.getModuleName=function(){return"message"},s.prototype.getPersistData=function(){return this.addOnPersist([])},s.prototype.preRender=function(){this.l10n=new e.L10n("message",{close:"Close"},this.locale)},s.prototype.render=function(){this.innerContent=this.element.innerHTML,this.element.innerHTML="",this.msgElement=this.createElement("div",{className:"e-msg-content-wrap"}),this.initialize(),this.wireEvents(),this.renderComplete(),this.renderReactTemplates(),this.initialRender=!1},s.prototype.initialize=function(){this.element.setAttribute("role","alert"),this.setCssClass(),this.setIcon(),this.setContent(),this.setCloseIcon(),this.setSeverity(),this.setVariant(),this.setVisible(),this.enableRtl&&this.element.classList.add("e-rtl")},s.prototype.setIcon=function(){this.showIcon&&(this.iconElement=this.createElement("span",{className:b}),this.element.classList.contains(O)?this.msgElement.appendChild(this.iconElement):this.element.appendChild(this.iconElement))},s.prototype.setCloseIcon=function(){this.showCloseIcon&&(this.closeIcon=this.createElement("button",{attrs:{type:"button",class:"e-msg-close-icon"}}),this.element.appendChild(this.closeIcon),this.setTitle())},s.prototype.setTitle=function(){this.l10n.setLocale(this.locale);var t=this.l10n.getConstant("close");this.closeIcon.setAttribute("title",t),this.closeIcon.setAttribute("aria-label",t)},s.prototype.setContent=function(){this.txtElement=this.createElement("div",{className:"e-msg-content"}),this.element.classList.contains(O)?(this.msgElement.appendChild(this.txtElement),this.element.appendChild(this.msgElement)):this.element.appendChild(this.txtElement),this.setTemplate()},s.prototype.setTemplate=function(){var t;if(e.isNullOrUndefined(this.content)||""===this.content)this.txtElement.innerHTML=this.innerContent;else if(!e.isNullOrUndefined(this.content)&&""!==this.content&&("string"==typeof this.content||"string"!=typeof this.content))if(this.isVue||"string"!=typeof this.content){if(t=e.compile(this.content),!e.isNullOrUndefined(t)){var s=t({},this,"content",this.element.id+"content",!0);s&&(s=Array.prototype.slice.call(s),e.append(s,this.txtElement),this.renderReactTemplates())}}else this.txtElement.innerHTML=this.content},s.prototype.setSeverity=function(){var t=[T,P,"e-info","e-error"];e.removeClass([this.element],t),"Success"===this.severity?e.addClass([this.element],T):"Warning"===this.severity?e.addClass([this.element],P):"Error"===this.severity?e.addClass([this.element],"e-error"):"Info"===this.severity&&e.addClass([this.element],"e-info")},s.prototype.setVariant=function(){var t=[w,N];e.removeClass([this.element],t),"Outlined"===this.variant?e.addClass([this.element],N):"Filled"===this.variant&&e.addClass([this.element],w)},s.prototype.setCssClass=function(t){t&&e.removeClass([this.element],t.split(" ")),this.cssClass&&e.addClass([this.element],this.cssClass.split(" "))},s.prototype.setVisible=function(){this.visible?e.removeClass([this.element],S):(e.addClass([this.element],S),this.initialRender||this.trigger("closed",{event:event,isInteracted:!1,element:this.element}))},s.prototype.clickHandler=function(t){this.closeMessage(t)},s.prototype.keyboardHandler=function(t){32!==t.keyCode&&13!==t.keyCode||this.closeMessage(t)},s.prototype.closeMessage=function(t){e.addClass([this.element],S),this.setProperties({visible:!1},!0);var s={event:t,isInteracted:!0,element:this.element};this.trigger("closed",s)},s.prototype.wireEvents=function(){this.showCloseIcon&&(e.EventHandler.add(this.closeIcon,"click",this.clickHandler,this),e.EventHandler.add(this.closeIcon,"keydown",this.keyboardHandler,this))},s.prototype.unWireEvents=function(){this.showCloseIcon&&(e.EventHandler.remove(this.closeIcon,"click",this.clickHandler),e.EventHandler.remove(this.closeIcon,"keydown",this.keyboardHandler))},s.prototype.onPropertyChanged=function(t,s){for(var i=0,o=Object.keys(t);i<o.length;i++){switch(o[i]){case"cssClass":this.setCssClass(s.cssClass);break;case"content":this.txtElement.innerHTML="",this.setTemplate();break;case"enableRtl":this.enableRtl?this.element.classList.add("e-rtl"):this.element.classList.remove("e-rtl");break;case"locale":this.showCloseIcon&&this.setTitle();break;case"showIcon":!this.showIcon&&this.element.getElementsByClassName(b).length>0&&e.detach(this.iconElement),this.showIcon&&(this.iconElement=this.createElement("span",{className:b}),this.element.insertBefore(this.iconElement,this.txtElement));break;case"showCloseIcon":this.showCloseIcon||e.isNullOrUndefined(this.closeIcon)?(this.setCloseIcon(),this.wireEvents()):(this.unWireEvents(),e.detach(this.closeIcon));break;case"severity":this.setSeverity();break;case"variant":this.setVariant();break;case"visible":this.setVisible()}}},s.prototype.destroy=function(){var s=e.isNullOrUndefined(this.cssClass)?[""]:this.cssClass.split(" "),i=[T,P,"e-info","e-error","e-rtl",S,N,w],o=1===s.length&&""===s[0]?i:i.concat(s);e.removeClass([this.element],o),this.element.removeAttribute("role"),this.unWireEvents(),e.isNullOrUndefined(this.iconElement)||e.detach(this.iconElement),e.detach(this.txtElement),e.isNullOrUndefined(this.closeIcon)||e.detach(this.closeIcon),t.prototype.destroy.call(this)},E([e.Property(null)],s.prototype,"content",void 0),E([e.Property("")],s.prototype,"cssClass",void 0),E([e.Property(!0)],s.prototype,"showIcon",void 0),E([e.Property(!1)],s.prototype,"showCloseIcon",void 0),E([e.Property("Normal")],s.prototype,"severity",void 0),E([e.Property("Text")],s.prototype,"variant",void 0),E([e.Property(!0)],s.prototype,"visible",void 0),E([e.Event()],s.prototype,"created",void 0),E([e.Event()],s.prototype,"destroyed",void 0),E([e.Event()],s.prototype,"closed",void 0),s=E([e.NotifyPropertyChanges],s)}(e.Component),U=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),k=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r},j={TEXTSHAPE:"e-skeleton-text",CIRCLESHAPE:"e-skeleton-circle",SQUARESHAPE:"e-skeleton-square",RECTANGLESHAPE:"e-skeleton-rectangle",WAVEEFFECT:"e-shimmer-wave",PULSEEFFECT:"e-shimmer-pulse",FADEEFFECT:"e-shimmer-fade",VISIBLENONE:"e-visible-none"};!function(t){t.Text="Text",t.Circle="Circle",t.Square="Square",t.Rectangle="Rectangle"}(t.SkeletonType||(t.SkeletonType={})),function(t){t.Wave="Wave",t.Fade="Fade",t.Pulse="Pulse",t.None="None"}(t.ShimmerEffect||(t.ShimmerEffect={}));var L=function(t){function s(e,s){return t.call(this,e,s)||this}return U(s,t),s.prototype.getModuleName=function(){return"skeleton"},s.prototype.getPersistData=function(){return this.addOnPersist([])},s.prototype.preRender=function(){this.element.id||(this.element.id=e.getUniqueID("e-"+this.getModuleName())),this.updateCssClass(),e.attributes(this.element,{role:"alert","aria-busy":"true","aria-live":"polite","aria-label":this.label})},s.prototype.render=function(){this.initialize()},s.prototype.onPropertyChanged=function(t,s){for(var i=0,o=Object.keys(t);i<o.length;i++){switch(o[i]){case"width":case"height":this.updateDimension();break;case"shape":this.updateShape();break;case"shimmerEffect":this.updateEffect();break;case"visible":this.updateVisibility();break;case"label":this.element.setAttribute("aria-label",this.label);break;case"cssClass":s.cssClass&&e.removeClass([this.element],s.cssClass.split(" ")),this.updateCssClass()}}},s.prototype.destroy=function(){t.prototype.destroy.call(this);var s=["role","aria-live","aria-busy","aria-label"],i=[];this.cssClass&&(i=i.concat(this.cssClass.split(" ")));for(var o=0;o<s.length;o++)this.element.removeAttribute(s[parseInt(o.toString(),10)]);i=(i=i.concat(this.element.classList.value.match(/(e-skeleton-[^\s]+)/g)||[])).concat(this.element.classList.value.match(/(e-shimmer-[^\s]+)/g)||[]),e.removeClass([this.element],i)},s.prototype.initialize=function(){this.updateShape(),this.updateEffect(),this.updateVisibility()},s.prototype.updateShape=function(){var t=j[this.shape.toUpperCase()+"SHAPE"],s=this.element.classList.value.match(/(e-skeleton-[^\s]+)/g)||[];this.updateDimension(),s&&e.removeClass([this.element],s),e.addClass([this.element],[t])},s.prototype.updateDimension=function(){var t=!this.width&&["Text","Rectangle"].indexOf(this.shape)>-1?"100%":e.formatUnit(this.width),s=["Circle","Square"].indexOf(this.shape)>-1?t:e.formatUnit(this.height);this.element.style.width=t,this.element.style.height=s},s.prototype.updateEffect=function(){var t=this.element.classList.value.match(/(e-shimmer-[^\s]+)/g)||[];t&&e.removeClass([this.element],t),e.addClass([this.element],[j[this.shimmerEffect.toUpperCase()+"EFFECT"]])},s.prototype.updateVisibility=function(){this.element.classList[this.visible?"remove":"add"](j.VISIBLENONE)},s.prototype.updateCssClass=function(){this.cssClass&&e.addClass([this.element],this.cssClass.split(" "))},k([e.Property("")],s.prototype,"width",void 0),k([e.Property("")],s.prototype,"height",void 0),k([e.Property(!0)],s.prototype,"visible",void 0),k([e.Property("Text")],s.prototype,"shape",void 0),k([e.Property("Wave")],s.prototype,"shimmerEffect",void 0),k([e.Property("Loading...")],s.prototype,"label",void 0),k([e.Property("")],s.prototype,"cssClass",void 0),s=k([e.NotifyPropertyChanges],s)}(e.Component);t.ToastPosition=f,t.ButtonModelProps=m,t.ToastAnimations=y,t.ToastAnimationSettings=v,t.Toast=C,t.Message=I,t.Skeleton=L,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-base"),require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-popups")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-base","@syncfusion/ej2-buttons","@syncfusion/ej2-popups"],e):e((t=t||self).ej={},t.ej2Base,t.ej2Buttons,t.ej2Popups)}(this,function(t,h,R,z){"use strict";i=function(t,e){return(i=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])}))(t,e)};var i,e,s=function(t,e){function s(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(s.prototype=e.prototype,new s)},o=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;0<=l;l--)(o=t[l])&&(r=(n<3?o(r):3<n?o(e,s,r):o(e,s))||r);return 3<n&&r&&Object.defineProperty(e,s,r),r},l="e-toast",a="e-toast-container",A="e-toast-title",_="e-toast-full-width",D="e-toast-content",n="e-toast-message",c="e-toast-progress",r="e-toast-close-icon",p="e-rtl",F=(e=h.ChildProperty,s(d,e),o([h.Property("Left")],d.prototype,"X",void 0),o([h.Property("Top")],d.prototype,"Y",void 0),d);function d(){return null!==e&&e.apply(this,arguments)||this}u=h.ChildProperty,s(m,u),o([h.Property(null)],m.prototype,"model",void 0),o([h.Property(null)],m.prototype,"click",void 0);var u,M=m;function m(){return null!==u&&u.apply(this,arguments)||this}f=h.ChildProperty,s(v,f),o([h.Property("FadeIn")],v.prototype,"effect",void 0),o([h.Property(600)],v.prototype,"duration",void 0),o([h.Property("ease")],v.prototype,"easing",void 0);var f,y=v;function v(){return null!==f&&f.apply(this,arguments)||this}C=h.ChildProperty,s(g,C),o([h.Complex({effect:"FadeIn",duration:600,easing:"ease"},y)],g.prototype,"show",void 0),o([h.Complex({effect:"FadeOut",duration:600,easing:"ease"},y)],g.prototype,"hide",void 0);var C,q=g;function g(){return null!==C&&C.apply(this,arguments)||this}E=h.Component,s(b,E),b.prototype.getModuleName=function(){return"toast"},b.prototype.getPersistData=function(){return this.addOnPersist([])},b.prototype.destroy=function(){this.hide("All"),this.element.classList.remove(a),h.setStyleAttribute(this.element,{position:"","z-index":""}),h.isNullOrUndefined(this.refElement)||h.isNullOrUndefined(this.refElement.parentElement)||(this.refElement.parentElement.insertBefore(this.element,this.refElement),h.detach(this.refElement),this.refElement=void 0),this.isBlazorServer()||E.prototype.destroy.call(this)},b.prototype.preRender=function(){this.isDevice=h.Browser.isDevice,"300px"===this.width&&(this.width=this.isDevice&&screen.width<768?"100%":"300px"),h.isNullOrUndefined(this.target)&&(this.target=document.body),this.enableRtl&&!this.isBlazorServer()&&this.element.classList.add(p)},b.prototype.render=function(){this.progressObj=[],this.intervalId=[],this.contentTemplate=null,this.toastTemplate=null,this.renderComplete(),this.initRenderClass=this.element.className},b.prototype.show=function(t){var e;if(h.isNullOrUndefined(t)||(this.templateChanges(t),e=JSON.parse(JSON.stringify(t)),h.extend(this,this,t)),h.isNullOrUndefined(this.toastContainer)){this.toastContainer=this.getContainer();var s="string"==typeof this.target?document.querySelector(this.target):"object"==typeof this.target?this.target:document.body;if(h.isNullOrUndefined(s))return;"BODY"===s.tagName?this.toastContainer.style.position="fixed":(this.toastContainer.style.position="absolute",s.style.position="relative"),this.setPositioning(this.position),s.appendChild(this.toastContainer)}this.isBlazorServer()&&this.element.classList.contains("e-control")?this.isToastModel(t):(this.toastEle=this.createElement("div",{className:l,id:h.getUniqueID("toast")}),this.setWidthHeight(),this.setCSSClass(this.cssClass),h.isNullOrUndefined(this.template)||""===this.template?this.personalizeToast():this.templateRendering(),this.setProgress(),this.setCloseButton(),this.setAria(),this.appendToTarget(t),this.isDevice&&screen.width<768&&new h.Touch(this.toastEle,{swipe:this.swipeHandler.bind(this)}),h.isNullOrUndefined(e)||(h.extend(e,{element:[this.toastEle]},!0),this.toastCollection.push(e)),this.isReact&&this.renderReactTemplates())},b.prototype.showToast=function(t,e){this.toastEle=this.element.querySelector("#"+t),this.show(e)},b.prototype.isToastModel=function(t){this.toastContainer=this.element,this.setPositioning(this.position);h.isNullOrUndefined(this.element.lastElementChild)||this.setProgress(),this.setAria(),this.appendToTarget(t)},b.prototype.swipeHandler=function(t){var e=h.closest(t.originalEvent.target,"."+l+":not(."+a+")"),s=this.animation.hide.effect;h.isNullOrUndefined(e)||("Right"===t.swipeDirection?(this.animation.hide.effect="SlideRightOut",this.hideToast("swipe",e)):"Left"===t.swipeDirection&&(this.animation.hide.effect="SlideLeftOut",this.hideToast("swipe",e)),this.animation.hide.effect=s)},b.prototype.templateChanges=function(t){h.isUndefined(t.content)||h.isNullOrUndefined(this.contentTemplate)||this.content===t.content||this.clearContentTemplate(),h.isUndefined(t.template)||h.isNullOrUndefined(this.toastTemplate)||this.template===t.template||this.clearToastTemplate()},b.prototype.setCSSClass=function(t){var e;t&&(e=-1!==t.indexOf(",")?",":" ",h.classList(this.toastEle,t.split(e),[]),this.toastContainer)&&h.classList(this.toastContainer,t.split(e),[])},b.prototype.setWidthHeight=function(){"300px"===this.width?this.toastEle.style.width=h.formatUnit(this.width):"100%"===this.width?this.toastContainer.classList.add(_):(this.toastEle.style.width=h.formatUnit(this.width),this.toastContainer.classList.remove(_)),this.toastEle.style.height=h.formatUnit(this.height)},b.prototype.templateRendering=function(){this.fetchEle(this.toastEle,this.template,"template")},b.prototype.sanitizeHelper=function(t){var e;return this.enableHtmlSanitizer&&(e=h.SanitizeHtmlHelper.beforeSanitize(),h.extend(e,e,{cancel:!1,helper:null}),this.trigger("beforeSanitizeHtml",e),e.cancel&&!h.isNullOrUndefined(e.helper)?t=e.helper(t):e.cancel||(t=h.SanitizeHtmlHelper.serializeValue(e,t))),t},b.prototype.hide=function(t){this.hideToast("",t)},b.prototype.hideToast=function(t,e){if(!h.isNullOrUndefined(this.toastContainer)&&0!==this.toastContainer.childElementCount)if("string"==typeof e&&"All"===e)for(var s=0;s<this.toastContainer.childElementCount;s++)this.destroyToast(this.toastContainer.children[s],t);else h.isNullOrUndefined(e)&&(e=this.newestOnTop?this.toastContainer.lastElementChild:this.toastContainer.firstElementChild),this.destroyToast(e,t)},b.prototype.fetchEle=function(e,s,t){var i,o,n,r,l,a;if(s="string"==typeof s?this.sanitizeHelper(s):s,n=e.classList.contains(A)?this.element.id+"title":e.classList.contains(D)?this.element.id+"content":this.element.id+"template",o="content"===t?this.contentTemplate:this.toastTemplate,h.isNullOrUndefined(o)){try{"function"!=typeof s&&0<document.querySelectorAll(s).length?(r=null,"title"!==t&&(r=document.querySelector(s),e.appendChild(r),r.style.display=""),l=h.isNullOrUndefined(r)?o:r.cloneNode(!0),"content"===t?this.contentTemplate=l:this.toastTemplate=l):i=h.compile(s)}catch(t){i="object"==typeof s?h.compile(s):h.compile(h.initializeCSPTemplate(function(){return s}))}h.isNullOrUndefined(i)||(a=this.isBlazorServer()?i({},this,t,n,!0):i({},this,t,null,!0)),h.isNullOrUndefined(a)||!(0<a.length)||h.isNullOrUndefined(a[0].tagName)&&1===a.length?"function"!=typeof s&&0===e.childElementCount&&(e.innerHTML=s):[].slice.call(a).forEach(function(t){h.isNullOrUndefined(t.tagName)||(t.style.display=""),e.appendChild(t)})}else e.appendChild(o.cloneNode(!0));return e},b.prototype.clearProgress=function(t){h.isNullOrUndefined(this.intervalId[t])||(clearInterval(this.intervalId[t]),delete this.intervalId[t]),h.isNullOrUndefined(this.progressObj[t])||(clearInterval(this.progressObj[t].intervalId),delete this.progressObj[t])},b.prototype.removeToastContainer=function(t){t&&this.toastContainer.classList.contains("e-toast-util")&&h.detach(this.toastContainer)},b.prototype.clearContainerPos=function(t){var e=this;this.isBlazorServer()?this.toastContainer=null:(this.customPosition?(h.setStyleAttribute(this.toastContainer,{left:"",top:""}),this.removeToastContainer(t),this.toastContainer=null,this.customPosition=!1):([l+"-top-left",l+"-top-right",l+"-bottom-left",l+"-bottom-right",l+"-bottom-center",l+"-top-center",l+"-full-width"].forEach(function(t){!h.isNullOrUndefined(e.toastContainer)&&e.toastContainer.classList.contains(t)&&e.toastContainer.classList.remove(t)}),this.removeToastContainer(t),this.toastContainer=null),h.isNullOrUndefined(this.contentTemplate)||this.clearContentTemplate(),h.isNullOrUndefined(this.toastTemplate)||this.clearToastTemplate())},b.prototype.clearContentTemplate=function(){this.contentTemplate.style.display="none",document.body.appendChild(this.contentTemplate),this.contentTemplate=null},b.prototype.clearToastTemplate=function(){this.toastTemplate.style.display="none",document.body.appendChild(this.toastTemplate),this.toastTemplate=null},b.prototype.isBlazorServer=function(){return h.isBlazor()&&this.isServerRendered},b.prototype.destroyToast=function(e,t){for(var s,i=this,o=0;o<this.toastCollection.length;o++)this.toastCollection[o].element[0]===e&&(s=this.toastCollection[o],this.toastCollection.splice(o,1));var t={options:this,cancel:!1,type:t,element:e,toastContainer:this.toastContainer},n=this.animation.hide,r={duration:n.duration,name:"None"===n.effect&&"Enable"===h.animationMode?"FadeOut":n.effect,timingFunction:n.easing},l=parseInt(e.id.split("toast_")[1],10),a=this.isBlazorServer()?{options:s,toastContainer:this.toastContainer}:{options:s,toastContainer:this.toastContainer,toastObj:this};this.trigger("beforeClose",t,function(t){t.cancel||(h.isNullOrUndefined(i.progressObj[l])||h.isNullOrUndefined(e.querySelector("."+c))||(i.progressObj[l].progressEle.style.width="0%"),r.end=function(){i.clearProgress(l),i.isBlazorServer()&&!h.isNullOrUndefined(s)||h.detach(e),i.trigger("close",a),0===i.toastContainer.childElementCount&&i.clearContainerPos(!0),r=n=null},new h.Animation(r).animate(e))})},b.prototype.personalizeToast=function(){this.setIcon(),this.setTitle(),this.setContent(),this.actionButtons()},b.prototype.setAria=function(){h.attributes(this.toastEle,{role:"alert"})},b.prototype.setPositioning=function(t){this.isBlazorServer()||(isNaN(parseFloat(t.X))&&isNaN(parseFloat(t.Y))?this.toastContainer.classList.add(l+"-"+t.Y.toString().toLowerCase()+"-"+t.X.toString().toLowerCase()):(this.customPosition=!0,h.setStyleAttribute(this.toastContainer,{left:h.formatUnit(t.X),top:h.formatUnit(t.Y)})))},b.prototype.setCloseButton=function(){var t;this.showCloseButton&&(this.l10n=new h.L10n("toast",{close:"Close"},this.locale),this.l10n.setLocale(this.locale),t=this.l10n.getConstant("close"),t=this.createElement("div",{className:r+" e-icons ",attrs:{tabindex:"0","aria-label":t,role:"button"}}),this.toastEle.classList.add("e-toast-header-close-icon"),this.toastEle.appendChild(t))},b.prototype.setProgress=function(){var t;0<this.timeOut&&(t=parseInt(this.toastEle.id.split("toast_")[1],10),this.intervalId[t]=window.setTimeout(this.destroyToast.bind(this,this.toastEle),this.timeOut),this.progressObj[t]={hideEta:null,intervalId:null,maxHideTime:null,element:null,timeOutId:null,progressEle:null},this.progressObj[t].maxHideTime=parseFloat(this.timeOut+""),this.progressObj[t].hideEta=(new Date).getTime()+this.progressObj[t].maxHideTime,this.progressObj[t].element=this.toastEle,0<this.extendedTimeout&&(h.EventHandler.add(this.toastEle,"mouseover",this.toastHoverAction.bind(this,t)),h.EventHandler.add(this.toastEle,"mouseleave",this.delayedToastProgress.bind(this,t)),this.progressObj[t].timeOutId=this.intervalId[t]),this.showProgressBar)&&(this.progressBarEle=this.createElement("div",{className:c}),this.toastEle.insertBefore(this.progressBarEle,this.toastEle.children[0]),this.progressObj[t].intervalId=setInterval(this.updateProgressBar.bind(this,this.progressObj[t]),10),this.progressObj[t].progressEle=this.progressBarEle)},b.prototype.toastHoverAction=function(t){clearTimeout(this.progressObj[t].timeOutId),clearInterval(this.progressObj[t].intervalId),this.progressObj[t].hideEta=0;var e=this.progressObj[t].element;h.isNullOrUndefined(e.querySelector("."+c))||(this.progressObj[t].progressEle.style.width="0%")},b.prototype.delayedToastProgress=function(t){var t=this.progressObj[t],e=t.element;t.timeOutId=window.setTimeout(this.destroyToast.bind(this,e),this.extendedTimeout),t.maxHideTime=parseFloat(this.extendedTimeout+""),t.hideEta=(new Date).getTime()+t.maxHideTime,h.isNullOrUndefined(e.querySelector("."+c))||(t.intervalId=setInterval(this.updateProgressBar.bind(this,t),10))},b.prototype.updateProgressBar=function(t){var e=(t.hideEta-(new Date).getTime())/t.maxHideTime*100,e="Ltr"===this.progressDirection?100-e:e;t.progressEle.style.width=e+"%"},b.prototype.setIcon=function(){var t;h.isNullOrUndefined(this.icon)||0===this.icon.length||(t=this.createElement("div",{className:"e-toast-icon e-icons "+this.icon}),this.toastEle.classList.add("e-toast-header-icon"),this.toastEle.appendChild(t))},b.prototype.setTitle=function(){var t,e;h.isNullOrUndefined(this.title)||(t=this.createElement("div",{className:A}),t=this.fetchEle(t,this.title,"title"),(e=this.createElement("div",{className:n})).appendChild(t),this.toastEle.appendChild(e))},b.prototype.setContent=function(){var t=this.createElement("div",{className:D}),e=this.element;if(h.isNullOrUndefined(this.content)||""===this.content){var s=""!==this.element.innerHTML.replace(/\s/g,"");if((0<e.children.length||s)&&(!e.firstElementChild||!e.firstElementChild.classList.contains(l))){this.innerEle=document.createDocumentFragment();for(var i=this.createElement("div");0!==e.childNodes.length;)this.innerEle.appendChild(this.element.childNodes[0]);t.appendChild(this.innerEle),[].slice.call(t.children).forEach(function(t){i.appendChild(t.cloneNode(!0))}),this.content=i,this.appendMessageContainer(t)}}else"object"!=typeof this.content||h.isNullOrUndefined(this.content.tagName)?t=this.fetchEle(t,this.content,"content"):(t.appendChild(this.content),this.content=this.content.cloneNode(!0)),this.appendMessageContainer(t)},b.prototype.appendMessageContainer=function(t){var e;0<this.toastEle.querySelectorAll("."+n).length?this.toastEle.querySelector("."+n).appendChild(t):((e=this.createElement("div",{className:n})).appendChild(t),this.toastEle.appendChild(e))},b.prototype.actionButtons=function(){var s=this,i=this.createElement("div",{className:"e-toast-actions"});[].slice.call(this.buttons).forEach(function(t){var e;h.isNullOrUndefined(t.model)||((e=s.createElement("button")).setAttribute("type","button"),!h.isNullOrUndefined(t.model.cssClass)&&0!==t.model.cssClass.length||(t.model.cssClass="e-primary "+s.cssClass),e.classList.add("e-small"),new R.Button(t.model,e),h.isNullOrUndefined(t.click)||"function"!=typeof t.click||h.EventHandler.add(e,"click",t.click),i.appendChild(e))}),0<i.childElementCount&&this.appendMessageContainer(i)},b.prototype.appendToTarget=function(e){var s=this,t=this.isBlazorServer()?{options:e,element:this.toastEle,cancel:!1}:{options:e,toastObj:this,element:this.toastEle,cancel:!1};this.trigger("beforeOpen",t,function(t){t.cancel?s.isBlazorServer()&&(t=parseInt(s.toastEle.id.split("toast_")[1],10),s.clearProgress(t),h.detach(s.toastEle),0===s.toastContainer.childElementCount)&&s.clearContainerPos():(s.isBlazorServer()||(s.toastEle.style.display="none"),s.newestOnTop&&0!==s.toastContainer.childElementCount?s.toastContainer.insertBefore(s.toastEle,s.toastContainer.children[0]):s.isBlazorServer()||s.toastContainer.appendChild(s.toastEle),h.removeClass([s.toastEle],"e-blazor-toast-hidden"),h.EventHandler.add(s.toastEle,"click",s.clickHandler,s),h.EventHandler.add(s.toastEle,"keydown",s.keyDownHandler,s),s.toastContainer.style.zIndex=z.getZindexPartial(s.toastContainer)+"",s.displayToast(s.toastEle,e))})},b.prototype.clickHandler=function(t){var e=this,s=(this.isBlazorServer()||t.stopPropagation(),t.target),i=h.closest(s,"."+l),t=this.isBlazorServer()?{element:i,cancel:!1,clickToClose:!1,originalEvent:t}:{element:i,cancel:!1,clickToClose:!1,originalEvent:t,toastObj:this},o=s.classList.contains(r);this.trigger("click",t,function(t){(o&&!t.cancel||t.clickToClose)&&e.destroyToast(i,"click")})},b.prototype.keyDownHandler=function(t){!t.target.classList.contains(r)||13!==t.keyCode&&32!==t.keyCode||(t=t.target,t=h.closest(t,"."+l),this.destroyToast(t,"key"))},b.prototype.displayToast=function(t,e){var s=this,i=this.animation.show,i={duration:i.duration,name:"None"===i.effect&&"Enable"===h.animationMode?"FadeIn":i.effect,timingFunction:i.easing},o=this.isBlazorServer()?{options:e,element:this.toastEle}:{options:e,toastObj:this,element:this.toastEle};i.begin=function(){t.style.display=""},i.end=function(){s.trigger("open",o)},new h.Animation(i).animate(t)},b.prototype.getContainer=function(){return this.element.classList.add(a),this.element},b.prototype.onPropertyChanged=function(t,e){for(var s=this.element,i=0,o=Object.keys(t);i<o.length;i++)"enableRtl"===o[i]&&(t.enableRtl?s.classList.add(p):s.classList.remove(p))},o([h.Property("300px")],b.prototype,"width",void 0),o([h.Property("auto")],b.prototype,"height",void 0),o([h.Property(null)],b.prototype,"title",void 0),o([h.Property(null)],b.prototype,"content",void 0),o([h.Property(!0)],b.prototype,"enableHtmlSanitizer",void 0),o([h.Property(null)],b.prototype,"icon",void 0),o([h.Property(null)],b.prototype,"cssClass",void 0),o([h.Property(null)],b.prototype,"template",void 0),o([h.Property(!0)],b.prototype,"newestOnTop",void 0),o([h.Property(!1)],b.prototype,"showCloseButton",void 0),o([h.Property(!1)],b.prototype,"showProgressBar",void 0),o([h.Property(5e3)],b.prototype,"timeOut",void 0),o([h.Property("Rtl")],b.prototype,"progressDirection",void 0),o([h.Property(1e3)],b.prototype,"extendedTimeout",void 0),o([h.Complex({},q)],b.prototype,"animation",void 0),o([h.Complex({},F)],b.prototype,"position",void 0),o([h.Collection([{}],M)],b.prototype,"buttons",void 0),o([h.Property(null)],b.prototype,"target",void 0),o([h.Event()],b.prototype,"created",void 0),o([h.Event()],b.prototype,"beforeSanitizeHtml",void 0),o([h.Event()],b.prototype,"destroyed",void 0),o([h.Event()],b.prototype,"open",void 0),o([h.Event()],b.prototype,"beforeOpen",void 0),o([h.Event()],b.prototype,"beforeClose",void 0),o([h.Event()],b.prototype,"close",void 0),o([h.Event()],b.prototype,"click",void 0);var E,V=o([h.NotifyPropertyChanges],b);function b(t,e){t=E.call(this,t,e)||this;return t.toastCollection=[],t.needsID=!0,t}(t.ToastUtility||(t.ToastUtility={})).show=function(t,e,s){var i,o;if(document.querySelector("."+a)?i=document.querySelector("."+a):(i=h.createElement("div",{className:l+" "+a+" e-toast-util"}),document.body.appendChild(i)),"string"==typeof t){var n=void 0,r=void 0;if(h.isNullOrUndefined(e))r=n="";else switch(e){case"Warning":n="e-toast-warning",r="e-toast-warning-icon";break;case"Success":n="e-toast-success",r="e-toast-success-icon";break;case"Error":n="e-toast-danger",r="e-toast-error-icon";break;case"Information":n="e-toast-info",r="e-toast-info-icon"}o={content:t,cssClass:n,icon:r,timeOut:h.isNullOrUndefined(s)?5e3:s}}else o=t;return(e=new V(o)).appendTo(i),e.show(),e};O=function(t,e){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])}))(t,e)};var O,T,s=function(t,e){function s(){this.constructor=t}O(t,e),t.prototype=null===e?Object.create(e):(s.prototype=e.prototype,new s)},o=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;0<=l;l--)(o=t[l])&&(r=(n<3?o(r):3<n?o(e,s,r):o(e,s))||r);return 3<n&&r&&Object.defineProperty(e,s,r),r},P=((j=t.Severity||(t.Severity={})).Normal="Normal",j.Success="Success",j.Info="Info",j.Warning="Warning",j.Error="Error",(j=t.Variant||(t.Variant={})).Text="Text",j.Outlined="Outlined",j.Filled="Filled","e-msg-icon"),W="e-content-center",N="e-rtl",w="e-success",S="e-warning",I="e-info",U="e-error",X="e-outlined",Y="e-filled",k="e-hidden",j=(T=h.Component,s(L,T),L.prototype.getModuleName=function(){return"message"},L.prototype.getPersistData=function(){return this.addOnPersist([])},L.prototype.preRender=function(){this.l10n=new h.L10n("message",{close:"Close"},this.locale)},L.prototype.render=function(){this.innerContent=this.element.innerHTML,this.element.innerHTML="",this.msgElement=this.createElement("div",{className:"e-msg-content-wrap"}),this.initialize(),this.wireEvents(),this.renderComplete(),this.renderReactTemplates(),this.initialRender=!1},L.prototype.initialize=function(){this.element.setAttribute("role","alert"),this.setCssClass(),this.setIcon(),this.setContent(),this.setCloseIcon(),this.setSeverity(),this.setVariant(),this.setVisible(),this.enableRtl&&this.element.classList.add(N)},L.prototype.setIcon=function(){this.showIcon&&(this.iconElement=this.createElement("span",{className:P}),(this.element.classList.contains(W)?this.msgElement:this.element).appendChild(this.iconElement))},L.prototype.setCloseIcon=function(){this.showCloseIcon&&(this.closeIcon=this.createElement("button",{attrs:{type:"button",class:"e-msg-close-icon"}}),this.element.appendChild(this.closeIcon),this.setTitle())},L.prototype.setTitle=function(){this.l10n.setLocale(this.locale);var t=this.l10n.getConstant("close");this.closeIcon.setAttribute("title",t),this.closeIcon.setAttribute("aria-label",t)},L.prototype.setContent=function(){this.txtElement=this.createElement("div",{className:"e-msg-content"}),this.element.classList.contains(W)?(this.msgElement.appendChild(this.txtElement),this.element.appendChild(this.msgElement)):this.element.appendChild(this.txtElement),this.setTemplate()},L.prototype.setTemplate=function(){var t;h.isNullOrUndefined(this.content)||""===this.content?this.txtElement.innerHTML=this.innerContent:h.isNullOrUndefined(this.content)||""===this.content||"string"!=typeof this.content&&"string"==typeof this.content||(this.isVue||"string"!=typeof this.content?(t=h.compile(this.content),h.isNullOrUndefined(t)||(t=t({},this,"content",this.element.id+"content",!0))&&(t=Array.prototype.slice.call(t),h.append(t,this.txtElement),this.renderReactTemplates())):this.txtElement.innerHTML=this.content)},L.prototype.setSeverity=function(){h.removeClass([this.element],[w,S,I,U]),"Success"===this.severity?h.addClass([this.element],w):"Warning"===this.severity?h.addClass([this.element],S):"Error"===this.severity?h.addClass([this.element],U):"Info"===this.severity&&h.addClass([this.element],I)},L.prototype.setVariant=function(){h.removeClass([this.element],[Y,X]),"Outlined"===this.variant?h.addClass([this.element],X):"Filled"===this.variant&&h.addClass([this.element],Y)},L.prototype.setCssClass=function(t){t&&h.removeClass([this.element],t.split(" ")),this.cssClass&&h.addClass([this.element],this.cssClass.split(" "))},L.prototype.setVisible=function(){this.visible?h.removeClass([this.element],k):(h.addClass([this.element],k),this.initialRender||this.trigger("closed",{event:event,isInteracted:!1,element:this.element}))},L.prototype.clickHandler=function(t){this.closeMessage(t)},L.prototype.keyboardHandler=function(t){32!==t.keyCode&&13!==t.keyCode||this.closeMessage(t)},L.prototype.closeMessage=function(t){h.addClass([this.element],k),this.setProperties({visible:!1},!0);t={event:t,isInteracted:!0,element:this.element};this.trigger("closed",t)},L.prototype.wireEvents=function(){this.showCloseIcon&&(h.EventHandler.add(this.closeIcon,"click",this.clickHandler,this),h.EventHandler.add(this.closeIcon,"keydown",this.keyboardHandler,this))},L.prototype.unWireEvents=function(){this.showCloseIcon&&(h.EventHandler.remove(this.closeIcon,"click",this.clickHandler),h.EventHandler.remove(this.closeIcon,"keydown",this.keyboardHandler))},L.prototype.onPropertyChanged=function(t,e){for(var s=0,i=Object.keys(t);s<i.length;s++)switch(i[s]){case"cssClass":this.setCssClass(e.cssClass);break;case"content":this.txtElement.innerHTML="",this.setTemplate();break;case"enableRtl":this.enableRtl?this.element.classList.add(N):this.element.classList.remove(N);break;case"locale":this.showCloseIcon&&this.setTitle();break;case"showIcon":!this.showIcon&&0<this.element.getElementsByClassName(P).length&&h.detach(this.iconElement),this.showIcon&&(this.iconElement=this.createElement("span",{className:P}),this.element.insertBefore(this.iconElement,this.txtElement));break;case"showCloseIcon":this.showCloseIcon||h.isNullOrUndefined(this.closeIcon)?(this.setCloseIcon(),this.wireEvents()):(this.unWireEvents(),h.detach(this.closeIcon));break;case"severity":this.setSeverity();break;case"variant":this.setVariant();break;case"visible":this.setVisible()}},L.prototype.destroy=function(){var t=h.isNullOrUndefined(this.cssClass)?[""]:this.cssClass.split(" "),e=[w,S,I,U,N,k,X,Y],e=1===t.length&&""===t[0]?e:e.concat(t);h.removeClass([this.element],e),this.element.removeAttribute("role"),this.unWireEvents(),h.isNullOrUndefined(this.iconElement)||h.detach(this.iconElement),h.detach(this.txtElement),h.isNullOrUndefined(this.closeIcon)||h.detach(this.closeIcon),T.prototype.destroy.call(this)},o([h.Property(null)],L.prototype,"content",void 0),o([h.Property("")],L.prototype,"cssClass",void 0),o([h.Property(!0)],L.prototype,"showIcon",void 0),o([h.Property(!1)],L.prototype,"showCloseIcon",void 0),o([h.Property("Normal")],L.prototype,"severity",void 0),o([h.Property("Text")],L.prototype,"variant",void 0),o([h.Property(!0)],L.prototype,"visible",void 0),o([h.Event()],L.prototype,"created",void 0),o([h.Event()],L.prototype,"destroyed",void 0),o([h.Event()],L.prototype,"closed",void 0),o([h.NotifyPropertyChanges],L));function L(t,e){t=T.call(this,t,e)||this;return t.initialRender=!0,t}J=function(t,e){return(J=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])}))(t,e)};var J,H,s=function(t,e){function s(){this.constructor=t}J(t,e),t.prototype=null===e?Object.create(e):(s.prototype=e.prototype,new s)},o=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;0<=l;l--)(o=t[l])&&(r=(n<3?o(r):3<n?o(e,s,r):o(e,s))||r);return 3<n&&r&&Object.defineProperty(e,s,r),r},G={TEXTSHAPE:"e-skeleton-text",CIRCLESHAPE:"e-skeleton-circle",SQUARESHAPE:"e-skeleton-square",RECTANGLESHAPE:"e-skeleton-rectangle",WAVEEFFECT:"e-shimmer-wave",PULSEEFFECT:"e-shimmer-pulse",FADEEFFECT:"e-shimmer-fade",VISIBLENONE:"e-visible-none"},x=((x=t.SkeletonType||(t.SkeletonType={})).Text="Text",x.Circle="Circle",x.Square="Square",x.Rectangle="Rectangle",(x=t.ShimmerEffect||(t.ShimmerEffect={})).Wave="Wave",x.Fade="Fade",x.Pulse="Pulse",x.None="None",H=h.Component,s(B,H),B.prototype.getModuleName=function(){return"skeleton"},B.prototype.getPersistData=function(){return this.addOnPersist([])},B.prototype.preRender=function(){this.element.id||(this.element.id=h.getUniqueID("e-"+this.getModuleName())),this.updateCssClass(),h.attributes(this.element,{role:"alert","aria-busy":"true","aria-live":"polite","aria-label":this.label})},B.prototype.render=function(){this.initialize()},B.prototype.onPropertyChanged=function(t,e){for(var s=0,i=Object.keys(t);s<i.length;s++)switch(i[s]){case"width":case"height":this.updateDimension();break;case"shape":this.updateShape();break;case"shimmerEffect":this.updateEffect();break;case"visible":this.updateVisibility();break;case"label":this.element.setAttribute("aria-label",this.label);break;case"cssClass":e.cssClass&&h.removeClass([this.element],e.cssClass.split(" ")),this.updateCssClass()}},B.prototype.destroy=function(){H.prototype.destroy.call(this);var t=["role","aria-live","aria-busy","aria-label"],e=[];this.cssClass&&(e=e.concat(this.cssClass.split(" ")));for(var s=0;s<t.length;s++)this.element.removeAttribute(t[parseInt(s.toString(),10)]);e=(e=e.concat(this.element.classList.value.match(/(e-skeleton-[^\s]+)/g)||[])).concat(this.element.classList.value.match(/(e-shimmer-[^\s]+)/g)||[]),h.removeClass([this.element],e)},B.prototype.initialize=function(){this.updateShape(),this.updateEffect(),this.updateVisibility()},B.prototype.updateShape=function(){var t,e;h.isNullOrUndefined(this.shape)||(t=G[this.shape.toUpperCase()+"SHAPE"],e=this.element.classList.value.match(/(e-skeleton-[^\s]+)/g)||[],this.updateDimension(),e&&h.removeClass([this.element],e),h.addClass([this.element],[t]))},B.prototype.updateDimension=function(){var t=!this.width&&-1<["Text","Rectangle"].indexOf(this.shape)?"100%":h.formatUnit(this.width),e=-1<["Circle","Square"].indexOf(this.shape)?t:h.formatUnit(this.height);this.element.style.width=t,this.element.style.height=e},B.prototype.updateEffect=function(){var t=this.element.classList.value.match(/(e-shimmer-[^\s]+)/g)||[];t&&h.removeClass([this.element],t),h.isNullOrUndefined(this.shimmerEffect)||h.addClass([this.element],[G[this.shimmerEffect.toUpperCase()+"EFFECT"]])},B.prototype.updateVisibility=function(){this.element.classList[this.visible?"remove":"add"](G.VISIBLENONE)},B.prototype.updateCssClass=function(){this.cssClass&&h.addClass([this.element],this.cssClass.split(" "))},o([h.Property("")],B.prototype,"width",void 0),o([h.Property("")],B.prototype,"height",void 0),o([h.Property(!0)],B.prototype,"visible",void 0),o([h.Property("Text")],B.prototype,"shape",void 0),o([h.Property("Wave")],B.prototype,"shimmerEffect",void 0),o([h.Property("Loading...")],B.prototype,"label",void 0),o([h.Property("")],B.prototype,"cssClass",void 0),o([h.NotifyPropertyChanges],B));function B(t,e){return H.call(this,t,e)||this}t.ButtonModelProps=M,t.Message=j,t.Skeleton=x,t.Toast=V,t.ToastAnimationSettings=q,t.ToastAnimations=y,t.ToastPosition=F,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-notifications.umd.min.js.map

@@ -1,2 +0,2 @@

import { Animation, Browser, ChildProperty, Collection, Complex, Component, Event, EventHandler, L10n, NotifyPropertyChanges, Property, SanitizeHtmlHelper, Touch, addClass, animationMode, append, attributes, classList, closest, compile, createElement, detach, extend, formatUnit, getUniqueID, initializeCSPTemplate, isBlazor, isNullOrUndefined, isUndefined, removeClass, setStyleAttribute } from '@syncfusion/ej2-base';
import { ChildProperty, Property, Complex, Component, setStyleAttribute, isNullOrUndefined, detach, Browser, extend, getUniqueID, Touch, closest, isUndefined, classList, formatUnit, SanitizeHtmlHelper, compile, initializeCSPTemplate, isBlazor, animationMode, Animation, attributes, L10n, EventHandler, removeClass, Collection, Event, NotifyPropertyChanges, createElement, append, addClass } from '@syncfusion/ej2-base';
import { Button } from '@syncfusion/ej2-buttons';

@@ -198,4 +198,8 @@ import { getZindexPartial } from '@syncfusion/ej2-popups';

this.setCSSClass(this.cssClass);
// eslint-disable-next-line
(isNullOrUndefined(this.template) || this.template === '') ? this.personalizeToast() : this.templateRendering();
if (isNullOrUndefined(this.template) || this.template === '') {
this.personalizeToast();
}
else {
this.templateRendering();
}
this.setProgress();

@@ -232,4 +236,3 @@ this.setCloseButton();

this.setPositioning(this.position);
// eslint-disable-next-line
const proxy = this;
const proxy = this;
if (!isNullOrUndefined(proxy.element.lastElementChild)) {

@@ -339,3 +342,2 @@ this.setProgress();

value = typeof (value) === 'string' ? this.sanitizeHelper(value) : value;
// eslint-disable-next-line
let templateFn;

@@ -354,4 +356,8 @@ let tempVar;

}
// eslint-disable-next-line
prob === 'content' ? tempVar = this.contentTemplate : tempVar = this.toastTemplate;
if (prob === 'content') {
tempVar = this.contentTemplate;
}
else {
tempVar = this.toastTemplate;
}
if (!isNullOrUndefined(tempVar)) {

@@ -370,4 +376,8 @@ ele.appendChild(tempVar.cloneNode(true));

const clo = isNullOrUndefined(elem) ? tempVar : elem.cloneNode(true);
// eslint-disable-next-line
prob === 'content' ? this.contentTemplate = clo : this.toastTemplate = clo;
if (prob === 'content') {
this.contentTemplate = clo;
}
else {
this.toastTemplate = clo;
}
}

@@ -380,4 +390,2 @@ else {

templateFn = typeof value == 'object' ? compile(value) : compile(initializeCSPTemplate(function () { return value; }));
// eslint-disable-next-line
}

@@ -541,4 +549,3 @@ if (!isNullOrUndefined(templateFn)) {

}
// eslint-disable-next-line
let localeText = { close: 'Close' };
const localeText = { close: 'Close' };
this.l10n = new L10n('toast', localeText, this.locale);

@@ -568,4 +575,4 @@ this.l10n.setLocale(this.locale);

this.toastEle.insertBefore(this.progressBarEle, this.toastEle.children[0]);
// eslint-disable-next-line max-len
this.progressObj[id].intervalId = setInterval(this.updateProgressBar.bind(this, this.progressObj[id]), 10);
this.progressObj[id].intervalId =
setInterval(this.updateProgressBar.bind(this, this.progressObj[id]), 10);
this.progressObj[id].progressEle = this.progressBarEle;

@@ -747,3 +754,3 @@ }

const animate = {
duration: showAnimate.duration, name: (showAnimate.effect === "None" && animationMode === 'Enable') ? 'FadeIn' : showAnimate.effect, timingFunction: showAnimate.easing
duration: showAnimate.duration, name: (showAnimate.effect === 'None' && animationMode === 'Enable') ? 'FadeIn' : showAnimate.effect, timingFunction: showAnimate.easing
};

@@ -784,4 +791,8 @@ const toastOpen = this.isBlazorServer() ? {

case 'enableRtl':
// eslint-disable-next-line
newProp.enableRtl ? container.classList.add(RTL) : container.classList.remove(RTL);
if (newProp.enableRtl) {
container.classList.add(RTL);
}
else {
container.classList.remove(RTL);
}
break;

@@ -950,6 +961,2 @@ }

/**
* Toast modules
*/
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {

@@ -1159,4 +1166,4 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

setSeverity() {
const classList$$1 = [SUCCESS, WARNING, INFO, ERROR];
removeClass([this.element], classList$$1);
const classList = [SUCCESS, WARNING, INFO, ERROR];
removeClass([this.element], classList);
if (this.severity === 'Success') {

@@ -1176,4 +1183,4 @@ addClass([this.element], SUCCESS);

setVariant() {
const classList$$1 = [FILLED, OUTLINED];
removeClass([this.element], classList$$1);
const classList = [FILLED, OUTLINED];
removeClass([this.element], classList);
if (this.variant === 'Outlined') {

@@ -1301,4 +1308,4 @@ addClass([this.element], OUTLINED);

const className = [SUCCESS, WARNING, INFO, ERROR, RTL$1, HIDE, OUTLINED, FILLED];
const classList$$1 = (cssClass.length === 1 && cssClass[0] === '') ? className : className.concat(cssClass);
removeClass([this.element], classList$$1);
const classList = (cssClass.length === 1 && cssClass[0] === '') ? className : className.concat(cssClass);
removeClass([this.element], classList);
this.element.removeAttribute('role');

@@ -1350,6 +1357,2 @@ this.unWireEvents();

/**
* Message modules
*/
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {

@@ -1519,9 +1522,11 @@ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;

updateShape() {
const shapeCss = cssClassName[this.shape.toUpperCase() + 'SHAPE'];
const removeCss = (this.element.classList.value.match(/(e-skeleton-[^\s]+)/g) || []);
this.updateDimension();
if (removeCss) {
removeClass([this.element], removeCss);
if (!(isNullOrUndefined(this.shape))) {
const shapeCss = cssClassName[this.shape.toUpperCase() + 'SHAPE'];
const removeCss = (this.element.classList.value.match(/(e-skeleton-[^\s]+)/g) || []);
this.updateDimension();
if (removeCss) {
removeClass([this.element], removeCss);
}
addClass([this.element], [shapeCss]);
}
addClass([this.element], [shapeCss]);
}

@@ -1539,3 +1544,5 @@ updateDimension() {

}
addClass([this.element], [cssClassName[this.shimmerEffect.toUpperCase() + 'EFFECT']]);
if (!(isNullOrUndefined(this.shimmerEffect))) {
addClass([this.element], [cssClassName[this.shimmerEffect.toUpperCase() + 'EFFECT']]);
}
}

@@ -1576,11 +1583,3 @@ updateVisibility() {

/**
* Shimmer modules that need to be exported.
*/
/**
* Notification Components
*/
export { ToastPosition, ButtonModelProps, ToastAnimations, ToastAnimationSettings, Toast, ToastUtility, Severity, Variant, Message, SkeletonType, ShimmerEffect, Skeleton };
export { ButtonModelProps, Message, Severity, ShimmerEffect, Skeleton, SkeletonType, Toast, ToastAnimationSettings, ToastAnimations, ToastPosition, ToastUtility, Variant };
//# sourceMappingURL=ej2-notifications.es2015.js.map

@@ -1,2 +0,2 @@

import { Animation, Browser, ChildProperty, Collection, Complex, Component, Event, EventHandler, L10n, NotifyPropertyChanges, Property, SanitizeHtmlHelper, Touch, addClass, animationMode, append, attributes, classList, closest, compile, createElement, detach, extend, formatUnit, getUniqueID, initializeCSPTemplate, isBlazor, isNullOrUndefined, isUndefined, removeClass, setStyleAttribute } from '@syncfusion/ej2-base';
import { Property, ChildProperty, Complex, setStyleAttribute, isNullOrUndefined, detach, Browser, extend, getUniqueID, Touch, closest, isUndefined, classList, formatUnit, SanitizeHtmlHelper, compile, initializeCSPTemplate, isBlazor, animationMode, Animation, attributes, L10n, EventHandler, removeClass, Collection, Event, NotifyPropertyChanges, Component, createElement, append, addClass } from '@syncfusion/ej2-base';
import { Button } from '@syncfusion/ej2-buttons';

@@ -233,4 +233,8 @@ import { getZindexPartial } from '@syncfusion/ej2-popups';

this.setCSSClass(this.cssClass);
// eslint-disable-next-line
(isNullOrUndefined(this.template) || this.template === '') ? this.personalizeToast() : this.templateRendering();
if (isNullOrUndefined(this.template) || this.template === '') {
this.personalizeToast();
}
else {
this.templateRendering();
}
this.setProgress();

@@ -267,4 +271,3 @@ this.setCloseButton();

this.setPositioning(this.position);
// eslint-disable-next-line
var proxy = this;
var proxy = this;
if (!isNullOrUndefined(proxy.element.lastElementChild)) {

@@ -374,3 +377,2 @@ this.setProgress();

value = typeof (value) === 'string' ? this.sanitizeHelper(value) : value;
// eslint-disable-next-line
var templateFn;

@@ -389,4 +391,8 @@ var tempVar;

}
// eslint-disable-next-line
prob === 'content' ? tempVar = this.contentTemplate : tempVar = this.toastTemplate;
if (prob === 'content') {
tempVar = this.contentTemplate;
}
else {
tempVar = this.toastTemplate;
}
if (!isNullOrUndefined(tempVar)) {

@@ -405,4 +411,8 @@ ele.appendChild(tempVar.cloneNode(true));

var clo = isNullOrUndefined(elem) ? tempVar : elem.cloneNode(true);
// eslint-disable-next-line
prob === 'content' ? this.contentTemplate = clo : this.toastTemplate = clo;
if (prob === 'content') {
this.contentTemplate = clo;
}
else {
this.toastTemplate = clo;
}
}

@@ -415,4 +425,2 @@ else {

templateFn = typeof value == 'object' ? compile(value) : compile(initializeCSPTemplate(function () { return value; }));
// eslint-disable-next-line
}

@@ -578,3 +586,2 @@ if (!isNullOrUndefined(templateFn)) {

}
// eslint-disable-next-line
var localeText = { close: 'Close' };

@@ -605,4 +612,4 @@ this.l10n = new L10n('toast', localeText, this.locale);

this.toastEle.insertBefore(this.progressBarEle, this.toastEle.children[0]);
// eslint-disable-next-line max-len
this.progressObj[id].intervalId = setInterval(this.updateProgressBar.bind(this, this.progressObj[id]), 10);
this.progressObj[id].intervalId =
setInterval(this.updateProgressBar.bind(this, this.progressObj[id]), 10);
this.progressObj[id].progressEle = this.progressBarEle;

@@ -788,3 +795,3 @@ }

var animate = {
duration: showAnimate.duration, name: (showAnimate.effect === "None" && animationMode === 'Enable') ? 'FadeIn' : showAnimate.effect, timingFunction: showAnimate.easing
duration: showAnimate.duration, name: (showAnimate.effect === 'None' && animationMode === 'Enable') ? 'FadeIn' : showAnimate.effect, timingFunction: showAnimate.easing
};

@@ -826,4 +833,8 @@ var toastOpen = this.isBlazorServer() ? {

case 'enableRtl':
// eslint-disable-next-line
newProp.enableRtl ? container.classList.add(RTL) : container.classList.remove(RTL);
if (newProp.enableRtl) {
container.classList.add(RTL);
}
else {
container.classList.remove(RTL);
}
break;

@@ -993,6 +1004,2 @@ }

/**
* Toast modules
*/
var __extends$1 = (undefined && undefined.__extends) || (function () {

@@ -1217,4 +1224,4 @@ var extendStatics = function (d, b) {

Message.prototype.setSeverity = function () {
var classList$$1 = [SUCCESS, WARNING, INFO, ERROR];
removeClass([this.element], classList$$1);
var classList = [SUCCESS, WARNING, INFO, ERROR];
removeClass([this.element], classList);
if (this.severity === 'Success') {

@@ -1234,4 +1241,4 @@ addClass([this.element], SUCCESS);

Message.prototype.setVariant = function () {
var classList$$1 = [FILLED, OUTLINED];
removeClass([this.element], classList$$1);
var classList = [FILLED, OUTLINED];
removeClass([this.element], classList);
if (this.variant === 'Outlined') {

@@ -1360,4 +1367,4 @@ addClass([this.element], OUTLINED);

var className = [SUCCESS, WARNING, INFO, ERROR, RTL$1, HIDE, OUTLINED, FILLED];
var classList$$1 = (cssClass.length === 1 && cssClass[0] === '') ? className : className.concat(cssClass);
removeClass([this.element], classList$$1);
var classList = (cssClass.length === 1 && cssClass[0] === '') ? className : className.concat(cssClass);
removeClass([this.element], classList);
this.element.removeAttribute('role');

@@ -1410,6 +1417,2 @@ this.unWireEvents();

/**
* Message modules
*/
var __extends$2 = (undefined && undefined.__extends) || (function () {

@@ -1594,9 +1597,11 @@ var extendStatics = function (d, b) {

Skeleton.prototype.updateShape = function () {
var shapeCss = cssClassName[this.shape.toUpperCase() + 'SHAPE'];
var removeCss = (this.element.classList.value.match(/(e-skeleton-[^\s]+)/g) || []);
this.updateDimension();
if (removeCss) {
removeClass([this.element], removeCss);
if (!(isNullOrUndefined(this.shape))) {
var shapeCss = cssClassName[this.shape.toUpperCase() + 'SHAPE'];
var removeCss = (this.element.classList.value.match(/(e-skeleton-[^\s]+)/g) || []);
this.updateDimension();
if (removeCss) {
removeClass([this.element], removeCss);
}
addClass([this.element], [shapeCss]);
}
addClass([this.element], [shapeCss]);
};

@@ -1614,3 +1619,5 @@ Skeleton.prototype.updateDimension = function () {

}
addClass([this.element], [cssClassName[this.shimmerEffect.toUpperCase() + 'EFFECT']]);
if (!(isNullOrUndefined(this.shimmerEffect))) {
addClass([this.element], [cssClassName[this.shimmerEffect.toUpperCase() + 'EFFECT']]);
}
};

@@ -1652,11 +1659,3 @@ Skeleton.prototype.updateVisibility = function () {

/**
* Shimmer modules that need to be exported.
*/
/**
* Notification Components
*/
export { ToastPosition, ButtonModelProps, ToastAnimations, ToastAnimationSettings, Toast, ToastUtility, Severity, Variant, Message, SkeletonType, ShimmerEffect, Skeleton };
export { ButtonModelProps, Message, Severity, ShimmerEffect, Skeleton, SkeletonType, Toast, ToastAnimationSettings, ToastAnimations, ToastPosition, ToastUtility, Variant };
//# sourceMappingURL=ej2-notifications.es5.js.map
/*!
* filename: ej2-notifications.min.js
* version : 25.2.3
* version : 26.1.35
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.

@@ -10,3 +10,3 @@ * Use of this code is subject to the terms of our license.

*/
this.ej=this.ej||{},this.ej.notifications=function(t,e,s,i){"use strict";var o=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),n=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r},r="e-toast",l="e-toast-container",a="e-toast-message",h="e-toast-progress",c="e-toast-close-icon",p=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property("Left")],s.prototype,"X",void 0),n([e.Property("Top")],s.prototype,"Y",void 0),s}(e.ChildProperty),d=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property(null)],s.prototype,"model",void 0),n([e.Property(null)],s.prototype,"click",void 0),s}(e.ChildProperty),u=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property("FadeIn")],s.prototype,"effect",void 0),n([e.Property(600)],s.prototype,"duration",void 0),n([e.Property("ease")],s.prototype,"easing",void 0),s}(e.ChildProperty),m=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Complex({effect:"FadeIn",duration:600,easing:"ease"},u)],s.prototype,"show",void 0),n([e.Complex({effect:"FadeOut",duration:600,easing:"ease"},u)],s.prototype,"hide",void 0),s}(e.ChildProperty),f=function(t){function u(e,s){var i=t.call(this,e,s)||this;return i.toastCollection=[],i.needsID=!0,i}return o(u,t),u.prototype.getModuleName=function(){return"toast"},u.prototype.getPersistData=function(){return this.addOnPersist([])},u.prototype.destroy=function(){this.hide("All"),this.element.classList.remove(l),e.setStyleAttribute(this.element,{position:"","z-index":""}),e.isNullOrUndefined(this.refElement)||e.isNullOrUndefined(this.refElement.parentElement)||(this.refElement.parentElement.insertBefore(this.element,this.refElement),e.detach(this.refElement),this.refElement=void 0),this.isBlazorServer()||t.prototype.destroy.call(this)},u.prototype.preRender=function(){this.isDevice=e.Browser.isDevice,"300px"===this.width&&(this.width=this.isDevice&&screen.width<768?"100%":"300px"),e.isNullOrUndefined(this.target)&&(this.target=document.body),this.enableRtl&&!this.isBlazorServer()&&this.element.classList.add("e-rtl")},u.prototype.render=function(){this.progressObj=[],this.intervalId=[],this.contentTemplate=null,this.toastTemplate=null,this.renderComplete(),this.initRenderClass=this.element.className},u.prototype.show=function(t){var s;if(e.isNullOrUndefined(t)||(this.templateChanges(t),s=JSON.parse(JSON.stringify(t)),e.extend(this,this,t)),e.isNullOrUndefined(this.toastContainer)){this.toastContainer=this.getContainer();var i="string"==typeof this.target?document.querySelector(this.target):"object"==typeof this.target?this.target:document.body;if(e.isNullOrUndefined(i))return;"BODY"===i.tagName?this.toastContainer.style.position="fixed":(this.toastContainer.style.position="absolute",i.style.position="relative"),this.setPositioning(this.position),i.appendChild(this.toastContainer)}if(this.isBlazorServer()&&this.element.classList.contains("e-control"))return void this.isToastModel(t);this.toastEle=this.createElement("div",{className:r,id:e.getUniqueID("toast")}),this.setWidthHeight(),this.setCSSClass(this.cssClass),e.isNullOrUndefined(this.template)||""===this.template?this.personalizeToast():this.templateRendering(),this.setProgress(),this.setCloseButton(),this.setAria(),this.appendToTarget(t),this.isDevice&&screen.width<768&&new e.Touch(this.toastEle,{swipe:this.swipeHandler.bind(this)}),e.isNullOrUndefined(s)||(e.extend(s,{element:[this.toastEle]},!0),this.toastCollection.push(s)),this.isReact&&this.renderReactTemplates()},u.prototype.showToast=function(t,e){this.toastEle=this.element.querySelector("#"+t),this.show(e)},u.prototype.isToastModel=function(t){this.toastContainer=this.element,this.setPositioning(this.position);var s=this;e.isNullOrUndefined(s.element.lastElementChild)||this.setProgress(),this.setAria(),this.appendToTarget(t)},u.prototype.swipeHandler=function(t){var s=e.closest(t.originalEvent.target,"."+r+":not(."+l+")"),i=this.animation.hide.effect;e.isNullOrUndefined(s)||("Right"===t.swipeDirection?(this.animation.hide.effect="SlideRightOut",this.hideToast("swipe",s)):"Left"===t.swipeDirection&&(this.animation.hide.effect="SlideLeftOut",this.hideToast("swipe",s)),this.animation.hide.effect=i)},u.prototype.templateChanges=function(t){e.isUndefined(t.content)||e.isNullOrUndefined(this.contentTemplate)||this.content===t.content||this.clearContentTemplate(),e.isUndefined(t.template)||e.isNullOrUndefined(this.toastTemplate)||this.template===t.template||this.clearToastTemplate()},u.prototype.setCSSClass=function(t){if(t){var s=-1!==t.indexOf(",")?",":" ";e.classList(this.toastEle,t.split(s),[]),this.toastContainer&&e.classList(this.toastContainer,t.split(s),[])}},u.prototype.setWidthHeight=function(){"300px"===this.width?this.toastEle.style.width=e.formatUnit(this.width):"100%"===this.width?this.toastContainer.classList.add("e-toast-full-width"):(this.toastEle.style.width=e.formatUnit(this.width),this.toastContainer.classList.remove("e-toast-full-width")),this.toastEle.style.height=e.formatUnit(this.height)},u.prototype.templateRendering=function(){this.fetchEle(this.toastEle,this.template,"template")},u.prototype.sanitizeHelper=function(t){if(this.enableHtmlSanitizer){var s=e.SanitizeHtmlHelper.beforeSanitize(),i={cancel:!1,helper:null};e.extend(s,s,i),this.trigger("beforeSanitizeHtml",s),s.cancel&&!e.isNullOrUndefined(s.helper)?t=s.helper(t):s.cancel||(t=e.SanitizeHtmlHelper.serializeValue(s,t))}return t},u.prototype.hide=function(t){this.hideToast("",t)},u.prototype.hideToast=function(t,s){if(!e.isNullOrUndefined(this.toastContainer)&&0!==this.toastContainer.childElementCount)if("string"!=typeof s||"All"!==s)e.isNullOrUndefined(s)&&(s=this.newestOnTop?this.toastContainer.lastElementChild:this.toastContainer.firstElementChild),this.destroyToast(s,t);else for(var i=0;i<this.toastContainer.childElementCount;i++)this.destroyToast(this.toastContainer.children[i],t)},u.prototype.fetchEle=function(t,s,i){s="string"==typeof s?this.sanitizeHelper(s):s;var o,n,r,l;if(l=t.classList.contains("e-toast-title")?this.element.id+"title":t.classList.contains("e-toast-content")?this.element.id+"content":this.element.id+"template",n="content"===i?this.contentTemplate:this.toastTemplate,!e.isNullOrUndefined(n))return t.appendChild(n.cloneNode(!0)),t;try{if("function"!=typeof s&&document.querySelectorAll(s).length>0){var a=null;"title"!==i&&(a=document.querySelector(s),t.appendChild(a),a.style.display="");var h=e.isNullOrUndefined(a)?n:a.cloneNode(!0);"content"===i?this.contentTemplate=h:this.toastTemplate=h}else o=e.compile(s)}catch(t){o="object"==typeof s?e.compile(s):e.compile(e.initializeCSPTemplate(function(){return s}))}if(!e.isNullOrUndefined(o))if(this.isBlazorServer()){r=o({},this,i,l,!0)}else r=o({},this,i,null,!0);return e.isNullOrUndefined(r)||!(r.length>0)||e.isNullOrUndefined(r[0].tagName)&&1===r.length?"function"!=typeof s&&0===t.childElementCount&&(t.innerHTML=s):[].slice.call(r).forEach(function(s){e.isNullOrUndefined(s.tagName)||(s.style.display=""),t.appendChild(s)}),t},u.prototype.clearProgress=function(t){e.isNullOrUndefined(this.intervalId[t])||(clearInterval(this.intervalId[t]),delete this.intervalId[t]),e.isNullOrUndefined(this.progressObj[t])||(clearInterval(this.progressObj[t].intervalId),delete this.progressObj[t])},u.prototype.removeToastContainer=function(t){t&&this.toastContainer.classList.contains("e-toast-util")&&e.detach(this.toastContainer)},u.prototype.clearContainerPos=function(t){var s=this;if(this.isBlazorServer())return void(this.toastContainer=null);this.customPosition?(e.setStyleAttribute(this.toastContainer,{left:"",top:""}),this.removeToastContainer(t),this.toastContainer=null,this.customPosition=!1):([r+"-top-left",r+"-top-right",r+"-bottom-left",r+"-bottom-right",r+"-bottom-center",r+"-top-center",r+"-full-width"].forEach(function(t){!e.isNullOrUndefined(s.toastContainer)&&s.toastContainer.classList.contains(t)&&s.toastContainer.classList.remove(t)}),this.removeToastContainer(t),this.toastContainer=null),e.isNullOrUndefined(this.contentTemplate)||this.clearContentTemplate(),e.isNullOrUndefined(this.toastTemplate)||this.clearToastTemplate()},u.prototype.clearContentTemplate=function(){this.contentTemplate.style.display="none",document.body.appendChild(this.contentTemplate),this.contentTemplate=null},u.prototype.clearToastTemplate=function(){this.toastTemplate.style.display="none",document.body.appendChild(this.toastTemplate),this.toastTemplate=null},u.prototype.isBlazorServer=function(){return e.isBlazor()&&this.isServerRendered},u.prototype.destroyToast=function(t,s){for(var i,o=this,n=0;n<this.toastCollection.length;n++)this.toastCollection[n].element[0]===t&&(i=this.toastCollection[n],this.toastCollection.splice(n,1));var r={options:this,cancel:!1,type:s,element:t,toastContainer:this.toastContainer},l=this.animation.hide,a={duration:l.duration,name:"None"===l.effect&&"Enable"===e.animationMode?"FadeOut":l.effect,timingFunction:l.easing},c=parseInt(t.id.split("toast_")[1],10),p=this.isBlazorServer()?{options:i,toastContainer:this.toastContainer}:{options:i,toastContainer:this.toastContainer,toastObj:this};this.trigger("beforeClose",r,function(s){s.cancel||(e.isNullOrUndefined(o.progressObj[c])||e.isNullOrUndefined(t.querySelector("."+h))||(o.progressObj[c].progressEle.style.width="0%"),a.end=function(){o.clearProgress(c),o.isBlazorServer()&&!e.isNullOrUndefined(i)||e.detach(t),o.trigger("close",p),0===o.toastContainer.childElementCount&&o.clearContainerPos(!0),l=null,a=null},new e.Animation(a).animate(t))})},u.prototype.personalizeToast=function(){this.setIcon(),this.setTitle(),this.setContent(),this.actionButtons()},u.prototype.setAria=function(){e.attributes(this.toastEle,{role:"alert"})},u.prototype.setPositioning=function(t){this.isBlazorServer()||(isNaN(parseFloat(t.X))&&isNaN(parseFloat(t.Y))?this.toastContainer.classList.add(r+"-"+t.Y.toString().toLowerCase()+"-"+t.X.toString().toLowerCase()):(this.customPosition=!0,e.setStyleAttribute(this.toastContainer,{left:e.formatUnit(t.X),top:e.formatUnit(t.Y)})))},u.prototype.setCloseButton=function(){if(this.showCloseButton){var t={close:"Close"};this.l10n=new e.L10n("toast",t,this.locale),this.l10n.setLocale(this.locale);var s=this.l10n.getConstant("close"),i=this.createElement("div",{className:c+" e-icons ",attrs:{tabindex:"0","aria-label":s,role:"button"}});this.toastEle.classList.add("e-toast-header-close-icon"),this.toastEle.appendChild(i)}},u.prototype.setProgress=function(){if(this.timeOut>0){var t=parseInt(this.toastEle.id.split("toast_")[1],10);this.intervalId[t]=window.setTimeout(this.destroyToast.bind(this,this.toastEle),this.timeOut),this.progressObj[t]={hideEta:null,intervalId:null,maxHideTime:null,element:null,timeOutId:null,progressEle:null},this.progressObj[t].maxHideTime=parseFloat(this.timeOut+""),this.progressObj[t].hideEta=(new Date).getTime()+this.progressObj[t].maxHideTime,this.progressObj[t].element=this.toastEle,this.extendedTimeout>0&&(e.EventHandler.add(this.toastEle,"mouseover",this.toastHoverAction.bind(this,t)),e.EventHandler.add(this.toastEle,"mouseleave",this.delayedToastProgress.bind(this,t)),this.progressObj[t].timeOutId=this.intervalId[t]),this.showProgressBar&&(this.progressBarEle=this.createElement("div",{className:h}),this.toastEle.insertBefore(this.progressBarEle,this.toastEle.children[0]),this.progressObj[t].intervalId=setInterval(this.updateProgressBar.bind(this,this.progressObj[t]),10),this.progressObj[t].progressEle=this.progressBarEle)}},u.prototype.toastHoverAction=function(t){clearTimeout(this.progressObj[t].timeOutId),clearInterval(this.progressObj[t].intervalId),this.progressObj[t].hideEta=0;var s=this.progressObj[t].element;e.isNullOrUndefined(s.querySelector("."+h))||(this.progressObj[t].progressEle.style.width="0%")},u.prototype.delayedToastProgress=function(t){var s=this.progressObj[t],i=s.element;s.timeOutId=window.setTimeout(this.destroyToast.bind(this,i),this.extendedTimeout),s.maxHideTime=parseFloat(this.extendedTimeout+""),s.hideEta=(new Date).getTime()+s.maxHideTime,e.isNullOrUndefined(i.querySelector("."+h))||(s.intervalId=setInterval(this.updateProgressBar.bind(this,s),10))},u.prototype.updateProgressBar=function(t){var e=(t.hideEta-(new Date).getTime())/t.maxHideTime*100;e="Ltr"===this.progressDirection?100-e:e,t.progressEle.style.width=e+"%"},u.prototype.setIcon=function(){if(!e.isNullOrUndefined(this.icon)&&0!==this.icon.length){var t=this.createElement("div",{className:"e-toast-icon e-icons "+this.icon});this.toastEle.classList.add("e-toast-header-icon"),this.toastEle.appendChild(t)}},u.prototype.setTitle=function(){if(!e.isNullOrUndefined(this.title)){var t=this.createElement("div",{className:"e-toast-title"});t=this.fetchEle(t,this.title,"title");var s=this.createElement("div",{className:a});s.appendChild(t),this.toastEle.appendChild(s)}},u.prototype.setContent=function(){var t=this.createElement("div",{className:"e-toast-content"}),s=this.element;if(e.isNullOrUndefined(this.content)||""===this.content){var i=""!==this.element.innerHTML.replace(/\s/g,"");if((s.children.length>0||i)&&(!s.firstElementChild||!s.firstElementChild.classList.contains(r))){this.innerEle=document.createDocumentFragment();for(var o=this.createElement("div");0!==s.childNodes.length;)this.innerEle.appendChild(this.element.childNodes[0]);t.appendChild(this.innerEle),[].slice.call(t.children).forEach(function(t){o.appendChild(t.cloneNode(!0))}),this.content=o,this.appendMessageContainer(t)}}else"object"!=typeof this.content||e.isNullOrUndefined(this.content.tagName)?(t=this.fetchEle(t,this.content,"content"),this.appendMessageContainer(t)):(t.appendChild(this.content),this.content=this.content.cloneNode(!0),this.appendMessageContainer(t))},u.prototype.appendMessageContainer=function(t){if(this.toastEle.querySelectorAll("."+a).length>0)this.toastEle.querySelector("."+a).appendChild(t);else{var e=this.createElement("div",{className:a});e.appendChild(t),this.toastEle.appendChild(e)}},u.prototype.actionButtons=function(){var t=this,i=this.createElement("div",{className:"e-toast-actions"});[].slice.call(this.buttons).forEach(function(o){if(!e.isNullOrUndefined(o.model)){var n=t.createElement("button");n.setAttribute("type","button"),(e.isNullOrUndefined(o.model.cssClass)||0===o.model.cssClass.length)&&(o.model.cssClass="e-primary "+t.cssClass),n.classList.add("e-small"),new s.Button(o.model,n),e.isNullOrUndefined(o.click)||"function"!=typeof o.click||e.EventHandler.add(n,"click",o.click),i.appendChild(n)}}),i.childElementCount>0&&this.appendMessageContainer(i)},u.prototype.appendToTarget=function(t){var s=this,o=this.isBlazorServer()?{options:t,element:this.toastEle,cancel:!1}:{options:t,toastObj:this,element:this.toastEle,cancel:!1};this.trigger("beforeOpen",o,function(o){if(o.cancel){if(s.isBlazorServer()){var n=parseInt(s.toastEle.id.split("toast_")[1],10);s.clearProgress(n),e.detach(s.toastEle),0===s.toastContainer.childElementCount&&s.clearContainerPos()}}else s.isBlazorServer()||(s.toastEle.style.display="none"),s.newestOnTop&&0!==s.toastContainer.childElementCount?s.toastContainer.insertBefore(s.toastEle,s.toastContainer.children[0]):s.isBlazorServer()||s.toastContainer.appendChild(s.toastEle),e.removeClass([s.toastEle],"e-blazor-toast-hidden"),e.EventHandler.add(s.toastEle,"click",s.clickHandler,s),e.EventHandler.add(s.toastEle,"keydown",s.keyDownHandler,s),s.toastContainer.style.zIndex=i.getZindexPartial(s.toastContainer)+"",s.displayToast(s.toastEle,t)})},u.prototype.clickHandler=function(t){var s=this;this.isBlazorServer()||t.stopPropagation();var i=t.target,o=e.closest(i,"."+r),n=this.isBlazorServer()?{element:o,cancel:!1,clickToClose:!1,originalEvent:t}:{element:o,cancel:!1,clickToClose:!1,originalEvent:t,toastObj:this},l=i.classList.contains(c);this.trigger("click",n,function(t){(l&&!t.cancel||t.clickToClose)&&s.destroyToast(o,"click")})},u.prototype.keyDownHandler=function(t){if(t.target.classList.contains(c)&&(13===t.keyCode||32===t.keyCode)){var s=t.target,i=e.closest(s,"."+r);this.destroyToast(i,"key")}},u.prototype.displayToast=function(t,s){var i=this,o=this.animation.show,n={duration:o.duration,name:"None"===o.effect&&"Enable"===e.animationMode?"FadeIn":o.effect,timingFunction:o.easing},r=this.isBlazorServer()?{options:s,element:this.toastEle}:{options:s,toastObj:this,element:this.toastEle};n.begin=function(){t.style.display=""},n.end=function(){i.trigger("open",r)},new e.Animation(n).animate(t)},u.prototype.getContainer=function(){return this.element.classList.add(l),this.element},u.prototype.onPropertyChanged=function(t,e){for(var s=this.element,i=0,o=Object.keys(t);i<o.length;i++)switch(o[i]){case"enableRtl":t.enableRtl?s.classList.add("e-rtl"):s.classList.remove("e-rtl")}},n([e.Property("300px")],u.prototype,"width",void 0),n([e.Property("auto")],u.prototype,"height",void 0),n([e.Property(null)],u.prototype,"title",void 0),n([e.Property(null)],u.prototype,"content",void 0),n([e.Property(!0)],u.prototype,"enableHtmlSanitizer",void 0),n([e.Property(null)],u.prototype,"icon",void 0),n([e.Property(null)],u.prototype,"cssClass",void 0),n([e.Property(null)],u.prototype,"template",void 0),n([e.Property(!0)],u.prototype,"newestOnTop",void 0),n([e.Property(!1)],u.prototype,"showCloseButton",void 0),n([e.Property(!1)],u.prototype,"showProgressBar",void 0),n([e.Property(5e3)],u.prototype,"timeOut",void 0),n([e.Property("Rtl")],u.prototype,"progressDirection",void 0),n([e.Property(1e3)],u.prototype,"extendedTimeout",void 0),n([e.Complex({},m)],u.prototype,"animation",void 0),n([e.Complex({},p)],u.prototype,"position",void 0),n([e.Collection([{}],d)],u.prototype,"buttons",void 0),n([e.Property(null)],u.prototype,"target",void 0),n([e.Event()],u.prototype,"created",void 0),n([e.Event()],u.prototype,"beforeSanitizeHtml",void 0),n([e.Event()],u.prototype,"destroyed",void 0),n([e.Event()],u.prototype,"open",void 0),n([e.Event()],u.prototype,"beforeOpen",void 0),n([e.Event()],u.prototype,"beforeClose",void 0),n([e.Event()],u.prototype,"close",void 0),n([e.Event()],u.prototype,"click",void 0),u=n([e.NotifyPropertyChanges],u)}(e.Component);!function(t){function s(t,s,i){var o;document.querySelector("."+l)?o=document.querySelector("."+l):(o=e.createElement("div",{className:r+" "+l+" e-toast-util"}),document.body.appendChild(o));var n;if("string"==typeof t){var a=void 0,h=void 0;if(e.isNullOrUndefined(s))a="",h="";else switch(s){case"Warning":a="e-toast-warning",h="e-toast-warning-icon";break;case"Success":a="e-toast-success",h="e-toast-success-icon";break;case"Error":a="e-toast-danger",h="e-toast-error-icon";break;case"Information":a="e-toast-info",h="e-toast-info-icon"}n={content:t,cssClass:a,icon:h,timeOut:e.isNullOrUndefined(i)?5e3:i}}else n=t;var c=new f(n);return c.appendTo(o),c.show(),c}t.show=s}(t.ToastUtility||(t.ToastUtility={}));var y=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),v=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r};!function(t){t.Normal="Normal",t.Success="Success",t.Info="Info",t.Warning="Warning",t.Error="Error"}(t.Severity||(t.Severity={})),function(t){t.Text="Text",t.Outlined="Outlined",t.Filled="Filled"}(t.Variant||(t.Variant={}));var C="e-hidden",g=function(t){function s(e,s){var i=t.call(this,e,s)||this;return i.initialRender=!0,i}return y(s,t),s.prototype.getModuleName=function(){return"message"},s.prototype.getPersistData=function(){return this.addOnPersist([])},s.prototype.preRender=function(){var t={close:"Close"};this.l10n=new e.L10n("message",t,this.locale)},s.prototype.render=function(){this.innerContent=this.element.innerHTML,this.element.innerHTML="",this.msgElement=this.createElement("div",{className:"e-msg-content-wrap"}),this.initialize(),this.wireEvents(),this.renderComplete(),this.renderReactTemplates(),this.initialRender=!1},s.prototype.initialize=function(){this.element.setAttribute("role","alert"),this.setCssClass(),this.setIcon(),this.setContent(),this.setCloseIcon(),this.setSeverity(),this.setVariant(),this.setVisible(),this.enableRtl&&this.element.classList.add("e-rtl")},s.prototype.setIcon=function(){this.showIcon&&(this.iconElement=this.createElement("span",{className:"e-msg-icon"}),this.element.classList.contains("e-content-center")?this.msgElement.appendChild(this.iconElement):this.element.appendChild(this.iconElement))},s.prototype.setCloseIcon=function(){this.showCloseIcon&&(this.closeIcon=this.createElement("button",{attrs:{type:"button",class:"e-msg-close-icon"}}),this.element.appendChild(this.closeIcon),this.setTitle())},s.prototype.setTitle=function(){this.l10n.setLocale(this.locale);var t=this.l10n.getConstant("close");this.closeIcon.setAttribute("title",t),this.closeIcon.setAttribute("aria-label",t)},s.prototype.setContent=function(){this.txtElement=this.createElement("div",{className:"e-msg-content"}),this.element.classList.contains("e-content-center")?(this.msgElement.appendChild(this.txtElement),this.element.appendChild(this.msgElement)):this.element.appendChild(this.txtElement),this.setTemplate()},s.prototype.setTemplate=function(){var t;if(e.isNullOrUndefined(this.content)||""===this.content)this.txtElement.innerHTML=this.innerContent;else if(!e.isNullOrUndefined(this.content)&&""!==this.content&&("string"==typeof this.content||"string"!=typeof this.content))if(this.isVue||"string"!=typeof this.content){if(t=e.compile(this.content),!e.isNullOrUndefined(t)){var s=t({},this,"content",this.element.id+"content",!0);s&&(s=Array.prototype.slice.call(s),e.append(s,this.txtElement),this.renderReactTemplates())}}else this.txtElement.innerHTML=this.content},s.prototype.setSeverity=function(){var t=["e-success","e-warning","e-info","e-error"];e.removeClass([this.element],t),"Success"===this.severity?e.addClass([this.element],"e-success"):"Warning"===this.severity?e.addClass([this.element],"e-warning"):"Error"===this.severity?e.addClass([this.element],"e-error"):"Info"===this.severity&&e.addClass([this.element],"e-info")},s.prototype.setVariant=function(){var t=["e-filled","e-outlined"];e.removeClass([this.element],t),"Outlined"===this.variant?e.addClass([this.element],"e-outlined"):"Filled"===this.variant&&e.addClass([this.element],"e-filled")},s.prototype.setCssClass=function(t){t&&e.removeClass([this.element],t.split(" ")),this.cssClass&&e.addClass([this.element],this.cssClass.split(" "))},s.prototype.setVisible=function(){this.visible?e.removeClass([this.element],C):(e.addClass([this.element],C),this.initialRender||this.trigger("closed",{event:event,isInteracted:!1,element:this.element}))},s.prototype.clickHandler=function(t){this.closeMessage(t)},s.prototype.keyboardHandler=function(t){32!==t.keyCode&&13!==t.keyCode||this.closeMessage(t)},s.prototype.closeMessage=function(t){e.addClass([this.element],C),this.setProperties({visible:!1},!0);var s={event:t,isInteracted:!0,element:this.element};this.trigger("closed",s)},s.prototype.wireEvents=function(){this.showCloseIcon&&(e.EventHandler.add(this.closeIcon,"click",this.clickHandler,this),e.EventHandler.add(this.closeIcon,"keydown",this.keyboardHandler,this))},s.prototype.unWireEvents=function(){this.showCloseIcon&&(e.EventHandler.remove(this.closeIcon,"click",this.clickHandler),e.EventHandler.remove(this.closeIcon,"keydown",this.keyboardHandler))},s.prototype.onPropertyChanged=function(t,s){for(var i=0,o=Object.keys(t);i<o.length;i++)switch(o[i]){case"cssClass":this.setCssClass(s.cssClass);break;case"content":this.txtElement.innerHTML="",this.setTemplate();break;case"enableRtl":this.enableRtl?this.element.classList.add("e-rtl"):this.element.classList.remove("e-rtl");break;case"locale":this.showCloseIcon&&this.setTitle();break;case"showIcon":!this.showIcon&&this.element.getElementsByClassName("e-msg-icon").length>0&&e.detach(this.iconElement),this.showIcon&&(this.iconElement=this.createElement("span",{className:"e-msg-icon"}),this.element.insertBefore(this.iconElement,this.txtElement));break;case"showCloseIcon":this.showCloseIcon||e.isNullOrUndefined(this.closeIcon)?(this.setCloseIcon(),this.wireEvents()):(this.unWireEvents(),e.detach(this.closeIcon));break;case"severity":this.setSeverity();break;case"variant":this.setVariant();break;case"visible":this.setVisible()}},s.prototype.destroy=function(){var s=e.isNullOrUndefined(this.cssClass)?[""]:this.cssClass.split(" "),i=["e-success","e-warning","e-info","e-error","e-rtl",C,"e-outlined","e-filled"],o=1===s.length&&""===s[0]?i:i.concat(s);e.removeClass([this.element],o),this.element.removeAttribute("role"),this.unWireEvents(),e.isNullOrUndefined(this.iconElement)||e.detach(this.iconElement),e.detach(this.txtElement),e.isNullOrUndefined(this.closeIcon)||e.detach(this.closeIcon),t.prototype.destroy.call(this)},v([e.Property(null)],s.prototype,"content",void 0),v([e.Property("")],s.prototype,"cssClass",void 0),v([e.Property(!0)],s.prototype,"showIcon",void 0),v([e.Property(!1)],s.prototype,"showCloseIcon",void 0),v([e.Property("Normal")],s.prototype,"severity",void 0),v([e.Property("Text")],s.prototype,"variant",void 0),v([e.Property(!0)],s.prototype,"visible",void 0),v([e.Event()],s.prototype,"created",void 0),v([e.Event()],s.prototype,"destroyed",void 0),v([e.Event()],s.prototype,"closed",void 0),s=v([e.NotifyPropertyChanges],s)}(e.Component),E=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),b=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r},O={TEXTSHAPE:"e-skeleton-text",CIRCLESHAPE:"e-skeleton-circle",SQUARESHAPE:"e-skeleton-square",RECTANGLESHAPE:"e-skeleton-rectangle",WAVEEFFECT:"e-shimmer-wave",PULSEEFFECT:"e-shimmer-pulse",FADEEFFECT:"e-shimmer-fade",VISIBLENONE:"e-visible-none"};!function(t){t.Text="Text",t.Circle="Circle",t.Square="Square",t.Rectangle="Rectangle"}(t.SkeletonType||(t.SkeletonType={})),function(t){t.Wave="Wave",t.Fade="Fade",t.Pulse="Pulse",t.None="None"}(t.ShimmerEffect||(t.ShimmerEffect={}));var T=function(t){function s(e,s){return t.call(this,e,s)||this}return E(s,t),s.prototype.getModuleName=function(){return"skeleton"},s.prototype.getPersistData=function(){return this.addOnPersist([])},s.prototype.preRender=function(){this.element.id||(this.element.id=e.getUniqueID("e-"+this.getModuleName())),this.updateCssClass(),e.attributes(this.element,{role:"alert","aria-busy":"true","aria-live":"polite","aria-label":this.label})},s.prototype.render=function(){this.initialize()},s.prototype.onPropertyChanged=function(t,s){for(var i=0,o=Object.keys(t);i<o.length;i++)switch(o[i]){case"width":case"height":this.updateDimension();break;case"shape":this.updateShape();break;case"shimmerEffect":this.updateEffect();break;case"visible":this.updateVisibility();break;case"label":this.element.setAttribute("aria-label",this.label);break;case"cssClass":s.cssClass&&e.removeClass([this.element],s.cssClass.split(" ")),this.updateCssClass()}},s.prototype.destroy=function(){t.prototype.destroy.call(this);var s=["role","aria-live","aria-busy","aria-label"],i=[];this.cssClass&&(i=i.concat(this.cssClass.split(" ")));for(var o=0;o<s.length;o++)this.element.removeAttribute(s[parseInt(o.toString(),10)]);i=(i=i.concat(this.element.classList.value.match(/(e-skeleton-[^\s]+)/g)||[])).concat(this.element.classList.value.match(/(e-shimmer-[^\s]+)/g)||[]),e.removeClass([this.element],i)},s.prototype.initialize=function(){this.updateShape(),this.updateEffect(),this.updateVisibility()},s.prototype.updateShape=function(){var t=O[this.shape.toUpperCase()+"SHAPE"],s=this.element.classList.value.match(/(e-skeleton-[^\s]+)/g)||[];this.updateDimension(),s&&e.removeClass([this.element],s),e.addClass([this.element],[t])},s.prototype.updateDimension=function(){var t=!this.width&&["Text","Rectangle"].indexOf(this.shape)>-1?"100%":e.formatUnit(this.width),s=["Circle","Square"].indexOf(this.shape)>-1?t:e.formatUnit(this.height);this.element.style.width=t,this.element.style.height=s},s.prototype.updateEffect=function(){var t=this.element.classList.value.match(/(e-shimmer-[^\s]+)/g)||[];t&&e.removeClass([this.element],t),e.addClass([this.element],[O[this.shimmerEffect.toUpperCase()+"EFFECT"]])},s.prototype.updateVisibility=function(){this.element.classList[this.visible?"remove":"add"](O.VISIBLENONE)},s.prototype.updateCssClass=function(){this.cssClass&&e.addClass([this.element],this.cssClass.split(" "))},b([e.Property("")],s.prototype,"width",void 0),b([e.Property("")],s.prototype,"height",void 0),b([e.Property(!0)],s.prototype,"visible",void 0),b([e.Property("Text")],s.prototype,"shape",void 0),b([e.Property("Wave")],s.prototype,"shimmerEffect",void 0),b([e.Property("Loading...")],s.prototype,"label",void 0),b([e.Property("")],s.prototype,"cssClass",void 0),s=b([e.NotifyPropertyChanges],s)}(e.Component);return t.ToastPosition=p,t.ButtonModelProps=d,t.ToastAnimations=u,t.ToastAnimationSettings=m,t.Toast=f,t.Message=g,t.Skeleton=T,t}({},ej.base,ej.buttons,ej.popups),this.ejs=ej;
this.ej=this.ej||{},this.ej.notifications=function(t,e,s,i){"use strict";var o=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),n=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r},r="e-toast",l="e-toast-container",a="e-toast-message",h="e-toast-progress",c="e-toast-close-icon",p=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property("Left")],s.prototype,"X",void 0),n([e.Property("Top")],s.prototype,"Y",void 0),s}(e.ChildProperty),d=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property(null)],s.prototype,"model",void 0),n([e.Property(null)],s.prototype,"click",void 0),s}(e.ChildProperty),u=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Property("FadeIn")],s.prototype,"effect",void 0),n([e.Property(600)],s.prototype,"duration",void 0),n([e.Property("ease")],s.prototype,"easing",void 0),s}(e.ChildProperty),m=function(t){function s(){return null!==t&&t.apply(this,arguments)||this}return o(s,t),n([e.Complex({effect:"FadeIn",duration:600,easing:"ease"},u)],s.prototype,"show",void 0),n([e.Complex({effect:"FadeOut",duration:600,easing:"ease"},u)],s.prototype,"hide",void 0),s}(e.ChildProperty),f=function(t){function u(e,s){var i=t.call(this,e,s)||this;return i.toastCollection=[],i.needsID=!0,i}return o(u,t),u.prototype.getModuleName=function(){return"toast"},u.prototype.getPersistData=function(){return this.addOnPersist([])},u.prototype.destroy=function(){this.hide("All"),this.element.classList.remove(l),e.setStyleAttribute(this.element,{position:"","z-index":""}),e.isNullOrUndefined(this.refElement)||e.isNullOrUndefined(this.refElement.parentElement)||(this.refElement.parentElement.insertBefore(this.element,this.refElement),e.detach(this.refElement),this.refElement=void 0),this.isBlazorServer()||t.prototype.destroy.call(this)},u.prototype.preRender=function(){this.isDevice=e.Browser.isDevice,"300px"===this.width&&(this.width=this.isDevice&&screen.width<768?"100%":"300px"),e.isNullOrUndefined(this.target)&&(this.target=document.body),this.enableRtl&&!this.isBlazorServer()&&this.element.classList.add("e-rtl")},u.prototype.render=function(){this.progressObj=[],this.intervalId=[],this.contentTemplate=null,this.toastTemplate=null,this.renderComplete(),this.initRenderClass=this.element.className},u.prototype.show=function(t){var s;if(e.isNullOrUndefined(t)||(this.templateChanges(t),s=JSON.parse(JSON.stringify(t)),e.extend(this,this,t)),e.isNullOrUndefined(this.toastContainer)){this.toastContainer=this.getContainer();var i="string"==typeof this.target?document.querySelector(this.target):"object"==typeof this.target?this.target:document.body;if(e.isNullOrUndefined(i))return;"BODY"===i.tagName?this.toastContainer.style.position="fixed":(this.toastContainer.style.position="absolute",i.style.position="relative"),this.setPositioning(this.position),i.appendChild(this.toastContainer)}if(this.isBlazorServer()&&this.element.classList.contains("e-control"))return void this.isToastModel(t);this.toastEle=this.createElement("div",{className:r,id:e.getUniqueID("toast")}),this.setWidthHeight(),this.setCSSClass(this.cssClass),e.isNullOrUndefined(this.template)||""===this.template?this.personalizeToast():this.templateRendering(),this.setProgress(),this.setCloseButton(),this.setAria(),this.appendToTarget(t),this.isDevice&&screen.width<768&&new e.Touch(this.toastEle,{swipe:this.swipeHandler.bind(this)}),e.isNullOrUndefined(s)||(e.extend(s,{element:[this.toastEle]},!0),this.toastCollection.push(s)),this.isReact&&this.renderReactTemplates()},u.prototype.showToast=function(t,e){this.toastEle=this.element.querySelector("#"+t),this.show(e)},u.prototype.isToastModel=function(t){this.toastContainer=this.element,this.setPositioning(this.position);var s=this;e.isNullOrUndefined(s.element.lastElementChild)||this.setProgress(),this.setAria(),this.appendToTarget(t)},u.prototype.swipeHandler=function(t){var s=e.closest(t.originalEvent.target,"."+r+":not(."+l+")"),i=this.animation.hide.effect;e.isNullOrUndefined(s)||("Right"===t.swipeDirection?(this.animation.hide.effect="SlideRightOut",this.hideToast("swipe",s)):"Left"===t.swipeDirection&&(this.animation.hide.effect="SlideLeftOut",this.hideToast("swipe",s)),this.animation.hide.effect=i)},u.prototype.templateChanges=function(t){e.isUndefined(t.content)||e.isNullOrUndefined(this.contentTemplate)||this.content===t.content||this.clearContentTemplate(),e.isUndefined(t.template)||e.isNullOrUndefined(this.toastTemplate)||this.template===t.template||this.clearToastTemplate()},u.prototype.setCSSClass=function(t){if(t){var s=-1!==t.indexOf(",")?",":" ";e.classList(this.toastEle,t.split(s),[]),this.toastContainer&&e.classList(this.toastContainer,t.split(s),[])}},u.prototype.setWidthHeight=function(){"300px"===this.width?this.toastEle.style.width=e.formatUnit(this.width):"100%"===this.width?this.toastContainer.classList.add("e-toast-full-width"):(this.toastEle.style.width=e.formatUnit(this.width),this.toastContainer.classList.remove("e-toast-full-width")),this.toastEle.style.height=e.formatUnit(this.height)},u.prototype.templateRendering=function(){this.fetchEle(this.toastEle,this.template,"template")},u.prototype.sanitizeHelper=function(t){if(this.enableHtmlSanitizer){var s=e.SanitizeHtmlHelper.beforeSanitize(),i={cancel:!1,helper:null};e.extend(s,s,i),this.trigger("beforeSanitizeHtml",s),s.cancel&&!e.isNullOrUndefined(s.helper)?t=s.helper(t):s.cancel||(t=e.SanitizeHtmlHelper.serializeValue(s,t))}return t},u.prototype.hide=function(t){this.hideToast("",t)},u.prototype.hideToast=function(t,s){if(!e.isNullOrUndefined(this.toastContainer)&&0!==this.toastContainer.childElementCount)if("string"!=typeof s||"All"!==s)e.isNullOrUndefined(s)&&(s=this.newestOnTop?this.toastContainer.lastElementChild:this.toastContainer.firstElementChild),this.destroyToast(s,t);else for(var i=0;i<this.toastContainer.childElementCount;i++)this.destroyToast(this.toastContainer.children[i],t)},u.prototype.fetchEle=function(t,s,i){s="string"==typeof s?this.sanitizeHelper(s):s;var o,n,r,l;if(l=t.classList.contains("e-toast-title")?this.element.id+"title":t.classList.contains("e-toast-content")?this.element.id+"content":this.element.id+"template",n="content"===i?this.contentTemplate:this.toastTemplate,!e.isNullOrUndefined(n))return t.appendChild(n.cloneNode(!0)),t;try{if("function"!=typeof s&&document.querySelectorAll(s).length>0){var a=null;"title"!==i&&(a=document.querySelector(s),t.appendChild(a),a.style.display="");var h=e.isNullOrUndefined(a)?n:a.cloneNode(!0);"content"===i?this.contentTemplate=h:this.toastTemplate=h}else o=e.compile(s)}catch(t){o="object"==typeof s?e.compile(s):e.compile(e.initializeCSPTemplate(function(){return s}))}if(!e.isNullOrUndefined(o))if(this.isBlazorServer()){r=o({},this,i,l,!0)}else r=o({},this,i,null,!0);return e.isNullOrUndefined(r)||!(r.length>0)||e.isNullOrUndefined(r[0].tagName)&&1===r.length?"function"!=typeof s&&0===t.childElementCount&&(t.innerHTML=s):[].slice.call(r).forEach(function(s){e.isNullOrUndefined(s.tagName)||(s.style.display=""),t.appendChild(s)}),t},u.prototype.clearProgress=function(t){e.isNullOrUndefined(this.intervalId[t])||(clearInterval(this.intervalId[t]),delete this.intervalId[t]),e.isNullOrUndefined(this.progressObj[t])||(clearInterval(this.progressObj[t].intervalId),delete this.progressObj[t])},u.prototype.removeToastContainer=function(t){t&&this.toastContainer.classList.contains("e-toast-util")&&e.detach(this.toastContainer)},u.prototype.clearContainerPos=function(t){var s=this;if(this.isBlazorServer())return void(this.toastContainer=null);this.customPosition?(e.setStyleAttribute(this.toastContainer,{left:"",top:""}),this.removeToastContainer(t),this.toastContainer=null,this.customPosition=!1):([r+"-top-left",r+"-top-right",r+"-bottom-left",r+"-bottom-right",r+"-bottom-center",r+"-top-center",r+"-full-width"].forEach(function(t){!e.isNullOrUndefined(s.toastContainer)&&s.toastContainer.classList.contains(t)&&s.toastContainer.classList.remove(t)}),this.removeToastContainer(t),this.toastContainer=null),e.isNullOrUndefined(this.contentTemplate)||this.clearContentTemplate(),e.isNullOrUndefined(this.toastTemplate)||this.clearToastTemplate()},u.prototype.clearContentTemplate=function(){this.contentTemplate.style.display="none",document.body.appendChild(this.contentTemplate),this.contentTemplate=null},u.prototype.clearToastTemplate=function(){this.toastTemplate.style.display="none",document.body.appendChild(this.toastTemplate),this.toastTemplate=null},u.prototype.isBlazorServer=function(){return e.isBlazor()&&this.isServerRendered},u.prototype.destroyToast=function(t,s){for(var i,o=this,n=0;n<this.toastCollection.length;n++)this.toastCollection[n].element[0]===t&&(i=this.toastCollection[n],this.toastCollection.splice(n,1));var r={options:this,cancel:!1,type:s,element:t,toastContainer:this.toastContainer},l=this.animation.hide,a={duration:l.duration,name:"None"===l.effect&&"Enable"===e.animationMode?"FadeOut":l.effect,timingFunction:l.easing},c=parseInt(t.id.split("toast_")[1],10),p=this.isBlazorServer()?{options:i,toastContainer:this.toastContainer}:{options:i,toastContainer:this.toastContainer,toastObj:this};this.trigger("beforeClose",r,function(s){s.cancel||(e.isNullOrUndefined(o.progressObj[c])||e.isNullOrUndefined(t.querySelector("."+h))||(o.progressObj[c].progressEle.style.width="0%"),a.end=function(){o.clearProgress(c),o.isBlazorServer()&&!e.isNullOrUndefined(i)||e.detach(t),o.trigger("close",p),0===o.toastContainer.childElementCount&&o.clearContainerPos(!0),l=null,a=null},new e.Animation(a).animate(t))})},u.prototype.personalizeToast=function(){this.setIcon(),this.setTitle(),this.setContent(),this.actionButtons()},u.prototype.setAria=function(){e.attributes(this.toastEle,{role:"alert"})},u.prototype.setPositioning=function(t){this.isBlazorServer()||(isNaN(parseFloat(t.X))&&isNaN(parseFloat(t.Y))?this.toastContainer.classList.add(r+"-"+t.Y.toString().toLowerCase()+"-"+t.X.toString().toLowerCase()):(this.customPosition=!0,e.setStyleAttribute(this.toastContainer,{left:e.formatUnit(t.X),top:e.formatUnit(t.Y)})))},u.prototype.setCloseButton=function(){if(this.showCloseButton){var t={close:"Close"};this.l10n=new e.L10n("toast",t,this.locale),this.l10n.setLocale(this.locale);var s=this.l10n.getConstant("close"),i=this.createElement("div",{className:c+" e-icons ",attrs:{tabindex:"0","aria-label":s,role:"button"}});this.toastEle.classList.add("e-toast-header-close-icon"),this.toastEle.appendChild(i)}},u.prototype.setProgress=function(){if(this.timeOut>0){var t=parseInt(this.toastEle.id.split("toast_")[1],10);this.intervalId[t]=window.setTimeout(this.destroyToast.bind(this,this.toastEle),this.timeOut),this.progressObj[t]={hideEta:null,intervalId:null,maxHideTime:null,element:null,timeOutId:null,progressEle:null},this.progressObj[t].maxHideTime=parseFloat(this.timeOut+""),this.progressObj[t].hideEta=(new Date).getTime()+this.progressObj[t].maxHideTime,this.progressObj[t].element=this.toastEle,this.extendedTimeout>0&&(e.EventHandler.add(this.toastEle,"mouseover",this.toastHoverAction.bind(this,t)),e.EventHandler.add(this.toastEle,"mouseleave",this.delayedToastProgress.bind(this,t)),this.progressObj[t].timeOutId=this.intervalId[t]),this.showProgressBar&&(this.progressBarEle=this.createElement("div",{className:h}),this.toastEle.insertBefore(this.progressBarEle,this.toastEle.children[0]),this.progressObj[t].intervalId=setInterval(this.updateProgressBar.bind(this,this.progressObj[t]),10),this.progressObj[t].progressEle=this.progressBarEle)}},u.prototype.toastHoverAction=function(t){clearTimeout(this.progressObj[t].timeOutId),clearInterval(this.progressObj[t].intervalId),this.progressObj[t].hideEta=0;var s=this.progressObj[t].element;e.isNullOrUndefined(s.querySelector("."+h))||(this.progressObj[t].progressEle.style.width="0%")},u.prototype.delayedToastProgress=function(t){var s=this.progressObj[t],i=s.element;s.timeOutId=window.setTimeout(this.destroyToast.bind(this,i),this.extendedTimeout),s.maxHideTime=parseFloat(this.extendedTimeout+""),s.hideEta=(new Date).getTime()+s.maxHideTime,e.isNullOrUndefined(i.querySelector("."+h))||(s.intervalId=setInterval(this.updateProgressBar.bind(this,s),10))},u.prototype.updateProgressBar=function(t){var e=(t.hideEta-(new Date).getTime())/t.maxHideTime*100;e="Ltr"===this.progressDirection?100-e:e,t.progressEle.style.width=e+"%"},u.prototype.setIcon=function(){if(!e.isNullOrUndefined(this.icon)&&0!==this.icon.length){var t=this.createElement("div",{className:"e-toast-icon e-icons "+this.icon});this.toastEle.classList.add("e-toast-header-icon"),this.toastEle.appendChild(t)}},u.prototype.setTitle=function(){if(!e.isNullOrUndefined(this.title)){var t=this.createElement("div",{className:"e-toast-title"});t=this.fetchEle(t,this.title,"title");var s=this.createElement("div",{className:a});s.appendChild(t),this.toastEle.appendChild(s)}},u.prototype.setContent=function(){var t=this.createElement("div",{className:"e-toast-content"}),s=this.element;if(e.isNullOrUndefined(this.content)||""===this.content){var i=""!==this.element.innerHTML.replace(/\s/g,"");if((s.children.length>0||i)&&(!s.firstElementChild||!s.firstElementChild.classList.contains(r))){this.innerEle=document.createDocumentFragment();for(var o=this.createElement("div");0!==s.childNodes.length;)this.innerEle.appendChild(this.element.childNodes[0]);t.appendChild(this.innerEle),[].slice.call(t.children).forEach(function(t){o.appendChild(t.cloneNode(!0))}),this.content=o,this.appendMessageContainer(t)}}else"object"!=typeof this.content||e.isNullOrUndefined(this.content.tagName)?(t=this.fetchEle(t,this.content,"content"),this.appendMessageContainer(t)):(t.appendChild(this.content),this.content=this.content.cloneNode(!0),this.appendMessageContainer(t))},u.prototype.appendMessageContainer=function(t){if(this.toastEle.querySelectorAll("."+a).length>0)this.toastEle.querySelector("."+a).appendChild(t);else{var e=this.createElement("div",{className:a});e.appendChild(t),this.toastEle.appendChild(e)}},u.prototype.actionButtons=function(){var t=this,i=this.createElement("div",{className:"e-toast-actions"});[].slice.call(this.buttons).forEach(function(o){if(!e.isNullOrUndefined(o.model)){var n=t.createElement("button");n.setAttribute("type","button"),(e.isNullOrUndefined(o.model.cssClass)||0===o.model.cssClass.length)&&(o.model.cssClass="e-primary "+t.cssClass),n.classList.add("e-small"),new s.Button(o.model,n),e.isNullOrUndefined(o.click)||"function"!=typeof o.click||e.EventHandler.add(n,"click",o.click),i.appendChild(n)}}),i.childElementCount>0&&this.appendMessageContainer(i)},u.prototype.appendToTarget=function(t){var s=this,o=this.isBlazorServer()?{options:t,element:this.toastEle,cancel:!1}:{options:t,toastObj:this,element:this.toastEle,cancel:!1};this.trigger("beforeOpen",o,function(o){if(o.cancel){if(s.isBlazorServer()){var n=parseInt(s.toastEle.id.split("toast_")[1],10);s.clearProgress(n),e.detach(s.toastEle),0===s.toastContainer.childElementCount&&s.clearContainerPos()}}else s.isBlazorServer()||(s.toastEle.style.display="none"),s.newestOnTop&&0!==s.toastContainer.childElementCount?s.toastContainer.insertBefore(s.toastEle,s.toastContainer.children[0]):s.isBlazorServer()||s.toastContainer.appendChild(s.toastEle),e.removeClass([s.toastEle],"e-blazor-toast-hidden"),e.EventHandler.add(s.toastEle,"click",s.clickHandler,s),e.EventHandler.add(s.toastEle,"keydown",s.keyDownHandler,s),s.toastContainer.style.zIndex=i.getZindexPartial(s.toastContainer)+"",s.displayToast(s.toastEle,t)})},u.prototype.clickHandler=function(t){var s=this;this.isBlazorServer()||t.stopPropagation();var i=t.target,o=e.closest(i,"."+r),n=this.isBlazorServer()?{element:o,cancel:!1,clickToClose:!1,originalEvent:t}:{element:o,cancel:!1,clickToClose:!1,originalEvent:t,toastObj:this},l=i.classList.contains(c);this.trigger("click",n,function(t){(l&&!t.cancel||t.clickToClose)&&s.destroyToast(o,"click")})},u.prototype.keyDownHandler=function(t){if(t.target.classList.contains(c)&&(13===t.keyCode||32===t.keyCode)){var s=t.target,i=e.closest(s,"."+r);this.destroyToast(i,"key")}},u.prototype.displayToast=function(t,s){var i=this,o=this.animation.show,n={duration:o.duration,name:"None"===o.effect&&"Enable"===e.animationMode?"FadeIn":o.effect,timingFunction:o.easing},r=this.isBlazorServer()?{options:s,element:this.toastEle}:{options:s,toastObj:this,element:this.toastEle};n.begin=function(){t.style.display=""},n.end=function(){i.trigger("open",r)},new e.Animation(n).animate(t)},u.prototype.getContainer=function(){return this.element.classList.add(l),this.element},u.prototype.onPropertyChanged=function(t,e){for(var s=this.element,i=0,o=Object.keys(t);i<o.length;i++)switch(o[i]){case"enableRtl":t.enableRtl?s.classList.add("e-rtl"):s.classList.remove("e-rtl")}},n([e.Property("300px")],u.prototype,"width",void 0),n([e.Property("auto")],u.prototype,"height",void 0),n([e.Property(null)],u.prototype,"title",void 0),n([e.Property(null)],u.prototype,"content",void 0),n([e.Property(!0)],u.prototype,"enableHtmlSanitizer",void 0),n([e.Property(null)],u.prototype,"icon",void 0),n([e.Property(null)],u.prototype,"cssClass",void 0),n([e.Property(null)],u.prototype,"template",void 0),n([e.Property(!0)],u.prototype,"newestOnTop",void 0),n([e.Property(!1)],u.prototype,"showCloseButton",void 0),n([e.Property(!1)],u.prototype,"showProgressBar",void 0),n([e.Property(5e3)],u.prototype,"timeOut",void 0),n([e.Property("Rtl")],u.prototype,"progressDirection",void 0),n([e.Property(1e3)],u.prototype,"extendedTimeout",void 0),n([e.Complex({},m)],u.prototype,"animation",void 0),n([e.Complex({},p)],u.prototype,"position",void 0),n([e.Collection([{}],d)],u.prototype,"buttons",void 0),n([e.Property(null)],u.prototype,"target",void 0),n([e.Event()],u.prototype,"created",void 0),n([e.Event()],u.prototype,"beforeSanitizeHtml",void 0),n([e.Event()],u.prototype,"destroyed",void 0),n([e.Event()],u.prototype,"open",void 0),n([e.Event()],u.prototype,"beforeOpen",void 0),n([e.Event()],u.prototype,"beforeClose",void 0),n([e.Event()],u.prototype,"close",void 0),n([e.Event()],u.prototype,"click",void 0),u=n([e.NotifyPropertyChanges],u)}(e.Component);!function(t){function s(t,s,i){var o;document.querySelector("."+l)?o=document.querySelector("."+l):(o=e.createElement("div",{className:r+" "+l+" e-toast-util"}),document.body.appendChild(o));var n;if("string"==typeof t){var a=void 0,h=void 0;if(e.isNullOrUndefined(s))a="",h="";else switch(s){case"Warning":a="e-toast-warning",h="e-toast-warning-icon";break;case"Success":a="e-toast-success",h="e-toast-success-icon";break;case"Error":a="e-toast-danger",h="e-toast-error-icon";break;case"Information":a="e-toast-info",h="e-toast-info-icon"}n={content:t,cssClass:a,icon:h,timeOut:e.isNullOrUndefined(i)?5e3:i}}else n=t;var c=new f(n);return c.appendTo(o),c.show(),c}t.show=s}(t.ToastUtility||(t.ToastUtility={}));var y=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),v=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r};!function(t){t.Normal="Normal",t.Success="Success",t.Info="Info",t.Warning="Warning",t.Error="Error"}(t.Severity||(t.Severity={})),function(t){t.Text="Text",t.Outlined="Outlined",t.Filled="Filled"}(t.Variant||(t.Variant={}));var C="e-hidden",g=function(t){function s(e,s){var i=t.call(this,e,s)||this;return i.initialRender=!0,i}return y(s,t),s.prototype.getModuleName=function(){return"message"},s.prototype.getPersistData=function(){return this.addOnPersist([])},s.prototype.preRender=function(){var t={close:"Close"};this.l10n=new e.L10n("message",t,this.locale)},s.prototype.render=function(){this.innerContent=this.element.innerHTML,this.element.innerHTML="",this.msgElement=this.createElement("div",{className:"e-msg-content-wrap"}),this.initialize(),this.wireEvents(),this.renderComplete(),this.renderReactTemplates(),this.initialRender=!1},s.prototype.initialize=function(){this.element.setAttribute("role","alert"),this.setCssClass(),this.setIcon(),this.setContent(),this.setCloseIcon(),this.setSeverity(),this.setVariant(),this.setVisible(),this.enableRtl&&this.element.classList.add("e-rtl")},s.prototype.setIcon=function(){this.showIcon&&(this.iconElement=this.createElement("span",{className:"e-msg-icon"}),this.element.classList.contains("e-content-center")?this.msgElement.appendChild(this.iconElement):this.element.appendChild(this.iconElement))},s.prototype.setCloseIcon=function(){this.showCloseIcon&&(this.closeIcon=this.createElement("button",{attrs:{type:"button",class:"e-msg-close-icon"}}),this.element.appendChild(this.closeIcon),this.setTitle())},s.prototype.setTitle=function(){this.l10n.setLocale(this.locale);var t=this.l10n.getConstant("close");this.closeIcon.setAttribute("title",t),this.closeIcon.setAttribute("aria-label",t)},s.prototype.setContent=function(){this.txtElement=this.createElement("div",{className:"e-msg-content"}),this.element.classList.contains("e-content-center")?(this.msgElement.appendChild(this.txtElement),this.element.appendChild(this.msgElement)):this.element.appendChild(this.txtElement),this.setTemplate()},s.prototype.setTemplate=function(){var t;if(e.isNullOrUndefined(this.content)||""===this.content)this.txtElement.innerHTML=this.innerContent;else if(!e.isNullOrUndefined(this.content)&&""!==this.content&&("string"==typeof this.content||"string"!=typeof this.content))if(this.isVue||"string"!=typeof this.content){if(t=e.compile(this.content),!e.isNullOrUndefined(t)){var s=t({},this,"content",this.element.id+"content",!0);s&&(s=Array.prototype.slice.call(s),e.append(s,this.txtElement),this.renderReactTemplates())}}else this.txtElement.innerHTML=this.content},s.prototype.setSeverity=function(){var t=["e-success","e-warning","e-info","e-error"];e.removeClass([this.element],t),"Success"===this.severity?e.addClass([this.element],"e-success"):"Warning"===this.severity?e.addClass([this.element],"e-warning"):"Error"===this.severity?e.addClass([this.element],"e-error"):"Info"===this.severity&&e.addClass([this.element],"e-info")},s.prototype.setVariant=function(){var t=["e-filled","e-outlined"];e.removeClass([this.element],t),"Outlined"===this.variant?e.addClass([this.element],"e-outlined"):"Filled"===this.variant&&e.addClass([this.element],"e-filled")},s.prototype.setCssClass=function(t){t&&e.removeClass([this.element],t.split(" ")),this.cssClass&&e.addClass([this.element],this.cssClass.split(" "))},s.prototype.setVisible=function(){this.visible?e.removeClass([this.element],C):(e.addClass([this.element],C),this.initialRender||this.trigger("closed",{event:event,isInteracted:!1,element:this.element}))},s.prototype.clickHandler=function(t){this.closeMessage(t)},s.prototype.keyboardHandler=function(t){32!==t.keyCode&&13!==t.keyCode||this.closeMessage(t)},s.prototype.closeMessage=function(t){e.addClass([this.element],C),this.setProperties({visible:!1},!0);var s={event:t,isInteracted:!0,element:this.element};this.trigger("closed",s)},s.prototype.wireEvents=function(){this.showCloseIcon&&(e.EventHandler.add(this.closeIcon,"click",this.clickHandler,this),e.EventHandler.add(this.closeIcon,"keydown",this.keyboardHandler,this))},s.prototype.unWireEvents=function(){this.showCloseIcon&&(e.EventHandler.remove(this.closeIcon,"click",this.clickHandler),e.EventHandler.remove(this.closeIcon,"keydown",this.keyboardHandler))},s.prototype.onPropertyChanged=function(t,s){for(var i=0,o=Object.keys(t);i<o.length;i++)switch(o[i]){case"cssClass":this.setCssClass(s.cssClass);break;case"content":this.txtElement.innerHTML="",this.setTemplate();break;case"enableRtl":this.enableRtl?this.element.classList.add("e-rtl"):this.element.classList.remove("e-rtl");break;case"locale":this.showCloseIcon&&this.setTitle();break;case"showIcon":!this.showIcon&&this.element.getElementsByClassName("e-msg-icon").length>0&&e.detach(this.iconElement),this.showIcon&&(this.iconElement=this.createElement("span",{className:"e-msg-icon"}),this.element.insertBefore(this.iconElement,this.txtElement));break;case"showCloseIcon":this.showCloseIcon||e.isNullOrUndefined(this.closeIcon)?(this.setCloseIcon(),this.wireEvents()):(this.unWireEvents(),e.detach(this.closeIcon));break;case"severity":this.setSeverity();break;case"variant":this.setVariant();break;case"visible":this.setVisible()}},s.prototype.destroy=function(){var s=e.isNullOrUndefined(this.cssClass)?[""]:this.cssClass.split(" "),i=["e-success","e-warning","e-info","e-error","e-rtl",C,"e-outlined","e-filled"],o=1===s.length&&""===s[0]?i:i.concat(s);e.removeClass([this.element],o),this.element.removeAttribute("role"),this.unWireEvents(),e.isNullOrUndefined(this.iconElement)||e.detach(this.iconElement),e.detach(this.txtElement),e.isNullOrUndefined(this.closeIcon)||e.detach(this.closeIcon),t.prototype.destroy.call(this)},v([e.Property(null)],s.prototype,"content",void 0),v([e.Property("")],s.prototype,"cssClass",void 0),v([e.Property(!0)],s.prototype,"showIcon",void 0),v([e.Property(!1)],s.prototype,"showCloseIcon",void 0),v([e.Property("Normal")],s.prototype,"severity",void 0),v([e.Property("Text")],s.prototype,"variant",void 0),v([e.Property(!0)],s.prototype,"visible",void 0),v([e.Event()],s.prototype,"created",void 0),v([e.Event()],s.prototype,"destroyed",void 0),v([e.Event()],s.prototype,"closed",void 0),s=v([e.NotifyPropertyChanges],s)}(e.Component),E=function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)e.hasOwnProperty(s)&&(t[s]=e[s])})(e,s)};return function(e,s){function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}(),b=function(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r);return n>3&&r&&Object.defineProperty(e,s,r),r},O={TEXTSHAPE:"e-skeleton-text",CIRCLESHAPE:"e-skeleton-circle",SQUARESHAPE:"e-skeleton-square",RECTANGLESHAPE:"e-skeleton-rectangle",WAVEEFFECT:"e-shimmer-wave",PULSEEFFECT:"e-shimmer-pulse",FADEEFFECT:"e-shimmer-fade",VISIBLENONE:"e-visible-none"};!function(t){t.Text="Text",t.Circle="Circle",t.Square="Square",t.Rectangle="Rectangle"}(t.SkeletonType||(t.SkeletonType={})),function(t){t.Wave="Wave",t.Fade="Fade",t.Pulse="Pulse",t.None="None"}(t.ShimmerEffect||(t.ShimmerEffect={}));var T=function(t){function s(e,s){return t.call(this,e,s)||this}return E(s,t),s.prototype.getModuleName=function(){return"skeleton"},s.prototype.getPersistData=function(){return this.addOnPersist([])},s.prototype.preRender=function(){this.element.id||(this.element.id=e.getUniqueID("e-"+this.getModuleName())),this.updateCssClass(),e.attributes(this.element,{role:"alert","aria-busy":"true","aria-live":"polite","aria-label":this.label})},s.prototype.render=function(){this.initialize()},s.prototype.onPropertyChanged=function(t,s){for(var i=0,o=Object.keys(t);i<o.length;i++)switch(o[i]){case"width":case"height":this.updateDimension();break;case"shape":this.updateShape();break;case"shimmerEffect":this.updateEffect();break;case"visible":this.updateVisibility();break;case"label":this.element.setAttribute("aria-label",this.label);break;case"cssClass":s.cssClass&&e.removeClass([this.element],s.cssClass.split(" ")),this.updateCssClass()}},s.prototype.destroy=function(){t.prototype.destroy.call(this);var s=["role","aria-live","aria-busy","aria-label"],i=[];this.cssClass&&(i=i.concat(this.cssClass.split(" ")));for(var o=0;o<s.length;o++)this.element.removeAttribute(s[parseInt(o.toString(),10)]);i=(i=i.concat(this.element.classList.value.match(/(e-skeleton-[^\s]+)/g)||[])).concat(this.element.classList.value.match(/(e-shimmer-[^\s]+)/g)||[]),e.removeClass([this.element],i)},s.prototype.initialize=function(){this.updateShape(),this.updateEffect(),this.updateVisibility()},s.prototype.updateShape=function(){if(!e.isNullOrUndefined(this.shape)){var t=O[this.shape.toUpperCase()+"SHAPE"],s=this.element.classList.value.match(/(e-skeleton-[^\s]+)/g)||[];this.updateDimension(),s&&e.removeClass([this.element],s),e.addClass([this.element],[t])}},s.prototype.updateDimension=function(){var t=!this.width&&["Text","Rectangle"].indexOf(this.shape)>-1?"100%":e.formatUnit(this.width),s=["Circle","Square"].indexOf(this.shape)>-1?t:e.formatUnit(this.height);this.element.style.width=t,this.element.style.height=s},s.prototype.updateEffect=function(){var t=this.element.classList.value.match(/(e-shimmer-[^\s]+)/g)||[];t&&e.removeClass([this.element],t),e.isNullOrUndefined(this.shimmerEffect)||e.addClass([this.element],[O[this.shimmerEffect.toUpperCase()+"EFFECT"]])},s.prototype.updateVisibility=function(){this.element.classList[this.visible?"remove":"add"](O.VISIBLENONE)},s.prototype.updateCssClass=function(){this.cssClass&&e.addClass([this.element],this.cssClass.split(" "))},b([e.Property("")],s.prototype,"width",void 0),b([e.Property("")],s.prototype,"height",void 0),b([e.Property(!0)],s.prototype,"visible",void 0),b([e.Property("Text")],s.prototype,"shape",void 0),b([e.Property("Wave")],s.prototype,"shimmerEffect",void 0),b([e.Property("Loading...")],s.prototype,"label",void 0),b([e.Property("")],s.prototype,"cssClass",void 0),s=b([e.NotifyPropertyChanges],s)}(e.Component);return t.ButtonModelProps=d,t.Message=g,t.Skeleton=T,t.Toast=f,t.ToastAnimationSettings=m,t.ToastAnimations=u,t.ToastPosition=p,t}({},ej.base,ej.buttons,ej.popups),this.ejs=ej;
//# sourceMappingURL=ej2-notifications.min.js.map
/*!
* filename: index.d.ts
* version : 25.2.3
* version : 26.1.35
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.

@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license.

@@ -5,3 +5,3 @@ {

"_inBundle": false,
"_integrity": "sha512-xpcDUiCYvGhBj6g7eQImb4v59BwHuT5Xj3F2H3xgTiSgo0VAVPkDln3s/SI5JofCe6kNd1ZtPRFD2vibd9Buhg==",
"_integrity": "sha512-MsQt5XpFqxZId+iLJ8z5j2NZflj+0dA0kIRac0B5Bp+KGjf2MZEfQWSUocOdfofT0Lo0aEmwAgYS4SanLs2P8g==",
"_location": "/@syncfusion/ej2-notifications",

@@ -33,6 +33,6 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-notifications/-/ej2-notifications-25.1.35.tgz",
"_shasum": "4f52c2c5de5349fe2a315da2b2994ed7bd0949ab",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-notifications/-/ej2-notifications-25.1.35.tgz",
"_shasum": "2f46614cd7b729a87437202012f7782f8465f7b6",
"_spec": "@syncfusion/ej2-notifications@*",
"_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
"_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",
"author": {

@@ -43,5 +43,5 @@ "name": "Syncfusion Inc."

"dependencies": {
"@syncfusion/ej2-base": "~25.2.3",
"@syncfusion/ej2-buttons": "~25.2.3",
"@syncfusion/ej2-popups": "~25.2.3"
"@syncfusion/ej2-base": "~26.1.35",
"@syncfusion/ej2-buttons": "~26.1.35",
"@syncfusion/ej2-popups": "~26.1.35"
},

@@ -80,5 +80,5 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "25.2.3",
"version": "26.1.35",
"sideEffects": false,
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
}

@@ -1,2 +0,2 @@

import { Component, getUniqueID, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges, Property, attributes, removeClass, addClass } from '@syncfusion/ej2-base';
import { Component, getUniqueID, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges, Property, attributes, removeClass, addClass, isNullOrUndefined } from '@syncfusion/ej2-base';
import {SkeletonType,ShimmerEffect} from "./skeleton";

@@ -38,3 +38,3 @@ import {ComponentModel} from '@syncfusion/ej2-base';

* {% codeBlock src='skeleton/shape/index.md' %}{% endcodeBlock %}
*
*
* @isenumeration true

@@ -49,3 +49,3 @@ * @default SkeletonType.Text

* {% codeBlock src='skeleton/shimmerEffect/index.md' %}{% endcodeBlock %}
*
*
* @isenumeration true

@@ -52,0 +52,0 @@ * @default ShimmerEffect.Wave

@@ -20,3 +20,3 @@ var __extends = (this && this.__extends) || (function () {

};
import { Component, getUniqueID, formatUnit, NotifyPropertyChanges, Property, attributes, removeClass, addClass } from '@syncfusion/ej2-base';
import { Component, getUniqueID, formatUnit, NotifyPropertyChanges, Property, attributes, removeClass, addClass, isNullOrUndefined } from '@syncfusion/ej2-base';
var cssClassName = {

@@ -182,9 +182,11 @@ TEXTSHAPE: 'e-skeleton-text',

Skeleton.prototype.updateShape = function () {
var shapeCss = cssClassName[this.shape.toUpperCase() + 'SHAPE'];
var removeCss = (this.element.classList.value.match(/(e-skeleton-[^\s]+)/g) || []);
this.updateDimension();
if (removeCss) {
removeClass([this.element], removeCss);
if (!(isNullOrUndefined(this.shape))) {
var shapeCss = cssClassName[this.shape.toUpperCase() + 'SHAPE'];
var removeCss = (this.element.classList.value.match(/(e-skeleton-[^\s]+)/g) || []);
this.updateDimension();
if (removeCss) {
removeClass([this.element], removeCss);
}
addClass([this.element], [shapeCss]);
}
addClass([this.element], [shapeCss]);
};

@@ -202,3 +204,5 @@ Skeleton.prototype.updateDimension = function () {

}
addClass([this.element], [cssClassName[this.shimmerEffect.toUpperCase() + 'EFFECT']]);
if (!(isNullOrUndefined(this.shimmerEffect))) {
addClass([this.element], [cssClassName[this.shimmerEffect.toUpperCase() + 'EFFECT']]);
}
};

@@ -205,0 +209,0 @@ Skeleton.prototype.updateVisibility = function () {

@@ -38,4 +38,2 @@ var __extends = (this && this.__extends) || (function () {

var RTL = 'e-rtl';
// eslint-disable-next-line
var TOAST_REF_ELEMENT = 'e-toast-ref-element';
var TOAST_BLAZOR_HIDDEN = 'e-blazor-toast-hidden';

@@ -243,4 +241,8 @@ /**

this.setCSSClass(this.cssClass);
// eslint-disable-next-line
(isNOU(this.template) || this.template === '') ? this.personalizeToast() : this.templateRendering();
if (isNOU(this.template) || this.template === '') {
this.personalizeToast();
}
else {
this.templateRendering();
}
this.setProgress();

@@ -277,4 +279,3 @@ this.setCloseButton();

this.setPositioning(this.position);
// eslint-disable-next-line
var proxy = this;
var proxy = null || this;
if (!isNOU(proxy.element.lastElementChild)) {

@@ -384,3 +385,2 @@ this.setProgress();

value = typeof (value) === 'string' ? this.sanitizeHelper(value) : value;
// eslint-disable-next-line
var templateFn;

@@ -399,4 +399,8 @@ var tempVar;

}
// eslint-disable-next-line
prob === 'content' ? tempVar = this.contentTemplate : tempVar = this.toastTemplate;
if (prob === 'content') {
tempVar = this.contentTemplate;
}
else {
tempVar = this.toastTemplate;
}
if (!isNOU(tempVar)) {

@@ -415,4 +419,8 @@ ele.appendChild(tempVar.cloneNode(true));

var clo = isNOU(elem) ? tempVar : elem.cloneNode(true);
// eslint-disable-next-line
prob === 'content' ? this.contentTemplate = clo : this.toastTemplate = clo;
if (prob === 'content') {
this.contentTemplate = clo;
}
else {
this.toastTemplate = clo;
}
}

@@ -425,4 +433,2 @@ else {

templateFn = typeof value == 'object' ? templateCompiler(value) : templateCompiler(initializeCSPTemplate(function () { return value; }));
// eslint-disable-next-line
var templateValue = value;
}

@@ -588,3 +594,2 @@ if (!isNOU(templateFn)) {

}
// eslint-disable-next-line
var localeText = { close: 'Close' };

@@ -615,4 +620,4 @@ this.l10n = new L10n('toast', localeText, this.locale);

this.toastEle.insertBefore(this.progressBarEle, this.toastEle.children[0]);
// eslint-disable-next-line max-len
this.progressObj[id].intervalId = setInterval(this.updateProgressBar.bind(this, this.progressObj[id]), 10);
this.progressObj[id].intervalId =
setInterval(this.updateProgressBar.bind(this, this.progressObj[id]), 10);
this.progressObj[id].progressEle = this.progressBarEle;

@@ -798,3 +803,3 @@ }

var animate = {
duration: showAnimate.duration, name: (showAnimate.effect === "None" && animationMode === 'Enable') ? 'FadeIn' : showAnimate.effect, timingFunction: showAnimate.easing
duration: showAnimate.duration, name: (showAnimate.effect === 'None' && animationMode === 'Enable') ? 'FadeIn' : showAnimate.effect, timingFunction: showAnimate.easing
};

@@ -836,4 +841,8 @@ var toastOpen = this.isBlazorServer() ? {

case 'enableRtl':
// eslint-disable-next-line
newProp.enableRtl ? container.classList.add(RTL) : container.classList.remove(RTL);
if (newProp.enableRtl) {
container.classList.add(RTL);
}
else {
container.classList.remove(RTL);
}
break;

@@ -840,0 +849,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc