UNPKG

@syncfusion/ej2-react-notifications

Version:

A package of Essential JS 2 notification components such as Toast and Badge which used to notify important information to end-users. for React

10 lines 5.5 kB
/*! * filename: ej2-react-notifications.min.js * version : 30.1.37 * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under * applicable laws. */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionNotifications")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionNotifications"],e):"object"==typeof exports?exports.SyncfusionReactNotifications=e(require("SyncfusionReactBase"),require("React"),require("SyncfusionNotifications")):t.SyncfusionReactNotifications=e(t.SyncfusionReactBase,t.React,t.SyncfusionNotifications)}(self,(t,e,o)=>(()=>{"use strict";var n={85:(t,e,o)=>{o.d(e,{q:()=>a});var n,r=o(24),i=o(344),s=o(705),c=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=function(t){function e(e){var o=t.call(this,e)||this;return o.initRenderCalled=!1,o.checkInjectedModules=!1,o.statelessTemplateProps=null,o.templateProps=null,o.immediateRender=!1,o.isReactMock=!0,o.portals=[],o}return c(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(i.Message);(0,s.applyMixins)(a,[s.ComponentBase,r.Component])},905:(t,e,o)=>{o.d(e,{_:()=>a});var n,r=o(24),i=o(344),s=o(705),c=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),a=function(t){function e(e){var o=t.call(this,e)||this;return o.initRenderCalled=!1,o.checkInjectedModules=!1,o.statelessTemplateProps=null,o.templateProps=null,o.immediateRender=!0,o.isReactMock=!0,o.portals=[],o}return c(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(i.Skeleton);(0,s.applyMixins)(a,[s.ComponentBase,r.Component])},185:(t,e,o)=>{o.d(e,{_1:()=>s,yo:()=>c,qR:()=>l});var n,r=o(705),i=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},n(t,e)},function(t,e){function o(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.moduleName="buttonModelProp",e}(r.ComplexBase),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.propertyName="buttons",e.moduleName="buttonModelProps",e}(r.ComplexBase),a=o(24),p=o(344),u=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},t(e,o)};return function(e,o){function n(){this.constructor=e}t(e,o),e.prototype=null===o?Object.create(o):(n.prototype=o.prototype,new n)}}(),l=function(t){function e(e){var o=t.call(this,e)||this;return o.initRenderCalled=!1,o.checkInjectedModules=!1,o.directivekeys={buttonModelProps:"buttonModelProp"},o.statelessTemplateProps=["content"],o.templateProps=null,o.immediateRender=!1,o.isReactMock=!0,o.portals=[],o}return u(e,t),e.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return a.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(p.Toast);(0,r.applyMixins)(l,[r.ComponentBase,a.Component])},24:t=>{t.exports=e},344:t=>{t.exports=o},705:e=>{e.exports=t}},r={};function i(t){var e=r[t];if(void 0!==e)return e.exports;var o=r[t]={exports:{}};return n[t](o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var o in e)i.o(e,o)&&!i.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};return(()=>{i.r(s),i.d(s,{ButtonModelPropDirective:()=>t._1,ButtonModelPropsDirective:()=>t.yo,MessageComponent:()=>e.q,SkeletonComponent:()=>o._,ToastComponent:()=>t.qR});var t=i(185),e=i(85),o=i(905),n=i(344),r={};for(const t in n)["default","ButtonModelPropDirective","ButtonModelPropsDirective","ToastComponent","MessageComponent","SkeletonComponent"].indexOf(t)<0&&(r[t]=()=>n[t]);i.d(s,r)})(),s})());