Socket
Socket
Sign inDemoInstall

angular-notifier

Package Overview
Dependencies
5
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 6.0.0

2

bundles/angular-notifier.umd.min.js

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

!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("@angular/core"),require("rxjs"),require("@angular/common")):"function"==typeof define&&define.amd?define("angular-notifier",["exports","@angular/core","rxjs","@angular/common"],i):i(t["angular-notifier"]={},t.ng.core,t.rxjs,t.ng.common)}(this,function(t,s,i,n){"use strict";var o=function C(t){this.template=null,Object.assign(this,t),t.id===undefined&&(this.id="ID_"+(new Date).getTime())},e=(a.prototype.push=function(t){this.actionQueue.push(t),this.tryToRunNextAction()},a.prototype["continue"]=function(){this.isActionInProgress=!1,this.tryToRunNextAction()},a.prototype.tryToRunNextAction=function(){this.isActionInProgress||0===this.actionQueue.length||(this.isActionInProgress=!0,this.actionStream.next(this.actionQueue.shift()))},a.decorators=[{type:s.Injectable}],a.ctorParameters=function(){return[]},a);function a(){this.actionStream=new i.Subject,this.actionQueue=[],this.isActionInProgress=!1}var r=function P(t){void 0===t&&(t={}),this.animations={enabled:!0,hide:{easing:"ease",offset:50,preset:"fade",speed:300},overlap:150,shift:{easing:"ease",speed:300},show:{easing:"ease",preset:"slide",speed:300}},this.behaviour={autoHide:7e3,onClick:!1,onMouseover:"pauseAutoHide",showDismissButton:!0,stacking:4},this.position={horizontal:{distance:12,position:"left"},vertical:{distance:12,gap:10,position:"bottom"}},this.theme="material",t.theme!==undefined&&(this.theme=t.theme),t.animations!==undefined&&(t.animations.enabled!==undefined&&(this.animations.enabled=t.animations.enabled),t.animations.overlap!==undefined&&(this.animations.overlap=t.animations.overlap),t.animations.hide!==undefined&&Object.assign(this.animations.hide,t.animations.hide),t.animations.shift!==undefined&&Object.assign(this.animations.shift,t.animations.shift),t.animations.show!==undefined&&Object.assign(this.animations.show,t.animations.show)),t.behaviour!==undefined&&Object.assign(this.behaviour,t.behaviour),t.position!==undefined&&(t.position.horizontal!==undefined&&Object.assign(this.position.horizontal,t.position.horizontal),t.position.vertical!==undefined&&Object.assign(this.position.vertical,t.position.vertical))},c=new s.InjectionToken("[angular-notifier] Notifier Options"),f=new s.InjectionToken("[anuglar-notifier] Notifier Config"),h=(p.prototype.getConfig=function(){return this.config},p.prototype.show=function(t){this.queueService.push({payload:t,type:"SHOW"})},p.prototype.hide=function(t){this.queueService.push({payload:t,type:"HIDE"})},p.prototype.hideNewest=function(){this.queueService.push({type:"HIDE_NEWEST"})},p.prototype.hideOldest=function(){this.queueService.push({type:"HIDE_OLDEST"})},p.prototype.hideAll=function(){this.queueService.push({type:"HIDE_ALL"})},p.prototype.notify=function(t,i,n){var e={message:i,type:t};n!==undefined&&(e.id=n),this.show(e)},p.decorators=[{type:s.Injectable}],p.ctorParameters=function(){return[{type:e},{type:r,decorators:[{type:s.Inject,args:[f]}]}]},p);function p(t,i){this.queueService=t,this.config=i}var u=(m.prototype.ngOnInit=function(){var i=this;this.queueServiceSubscription=this.queueService.actionStream.subscribe(function(t){i.handleAction(t).then(function(){i.queueService["continue"]()})})},m.prototype.ngOnDestroy=function(){this.queueServiceSubscription&&this.queueServiceSubscription.unsubscribe()},m.prototype.identifyNotification=function(t,i){return i.id},m.prototype.onNotificationDismiss=function(t){this.queueService.push({payload:t,type:"HIDE"})},m.prototype.onNotificationReady=function(t){var i=this.notifications[this.notifications.length-1];i.component=t,this.continueHandleShowAction(i)},m.prototype.handleAction=function(t){switch(t.type){case"SHOW":return this.handleShowAction(t);case"HIDE":return this.handleHideAction(t);case"HIDE_OLDEST":return this.handleHideOldestAction(t);case"HIDE_NEWEST":return this.handleHideNewestAction(t);case"HIDE_ALL":return this.handleHideAllAction(t);default:return new Promise(function(t,i){t()})}},m.prototype.handleShowAction=function(n){var e=this;return new Promise(function(t,i){e.tempPromiseResolver=t,e.addNotificationToList(new o(n.payload))})},m.prototype.continueHandleShowAction=function(n){var e=this,t=this.notifications.length;if(1===t)n.component.show().then(this.tempPromiseResolver);else if(!1===this.config.behaviour.stacking||this.config.behaviour.stacking<2)this.notifications[0].component.hide().then(function(){e.removeNotificationFromList(e.notifications[0]),n.component.show().then(e.tempPromiseResolver)});else{var i=[];if(t>this.config.behaviour.stacking){var o=this.notifications.slice(1,t-1);this.config.animations.enabled?!1!==this.config.animations.overlap&&0<this.config.animations.overlap?(i.push(this.notifications[0].component.hide()),setTimeout(function(){i.push(e.shiftNotifications(o,n.component.getHeight(),!0))},this.config.animations.hide.speed-this.config.animations.overlap),setTimeout(function(){i.push(n.component.show())},this.config.animations.hide.speed+this.config.animations.shift.speed-this.config.animations.overlap)):i.push(new Promise(function(t,i){e.notifications[0].component.hide().then(function(){e.shiftNotifications(o,n.component.getHeight(),!0).then(function(){n.component.show().then(t)})})})):(i.push(this.notifications[0].component.hide()),i.push(this.shiftNotifications(o,n.component.getHeight(),!0)),i.push(n.component.show()))}else{var s=this.notifications.slice(0,t-1);this.config.animations.enabled?!1!==this.config.animations.overlap&&0<this.config.animations.overlap?(i.push(this.shiftNotifications(s,n.component.getHeight(),!0)),setTimeout(function(){i.push(n.component.show())},this.config.animations.shift.speed-this.config.animations.overlap)):i.push(new Promise(function(t,i){e.shiftNotifications(s,n.component.getHeight(),!0).then(function(){n.component.show().then(t)})})):(i.push(this.shiftNotifications(s,n.component.getHeight(),!0)),i.push(n.component.show()))}Promise.all(i).then(function(){t>e.config.behaviour.stacking&&e.removeNotificationFromList(e.notifications[0]),e.tempPromiseResolver()})}},m.prototype.handleHideAction=function(a){var r=this;return new Promise(function(t,i){var n=[],e=r.findNotificationById(a.payload);if(e!==undefined){var o=r.findNotificationIndexById(a.payload);if(o!==undefined){var s=r.notifications.slice(0,o);0<s.length?r.config.animations.enabled&&0<r.config.animations.hide.speed?!1!==r.config.animations.overlap&&0<r.config.animations.overlap?(n.push(e.component.hide()),setTimeout(function(){n.push(r.shiftNotifications(s,e.component.getHeight(),!1))},r.config.animations.hide.speed-r.config.animations.overlap)):e.component.hide().then(function(){n.push(r.shiftNotifications(s,e.component.getHeight(),!1))}):(n.push(e.component.hide()),n.push(r.shiftNotifications(s,e.component.getHeight(),!1))):n.push(e.component.hide()),Promise.all(n).then(function(){r.removeNotificationFromList(e),t()})}else t()}else t()})},m.prototype.handleHideOldestAction=function(t){return 0===this.notifications.length?new Promise(function(t,i){t()}):(t.payload=this.notifications[0].id,this.handleHideAction(t))},m.prototype.handleHideNewestAction=function(t){return 0===this.notifications.length?new Promise(function(t,i){t()}):(t.payload=this.notifications[this.notifications.length-1].id,this.handleHideAction(t))},m.prototype.handleHideAllAction=function(t){var a=this;return new Promise(function(n,t){var e=a.notifications.length;if(0!==e)if(a.config.animations.enabled&&0<a.config.animations.hide.speed&&!1!==a.config.animations.hide.offset&&0<a.config.animations.hide.offset)for(var i=function(t){var i="top"===a.config.position.vertical.position?e-1:t;setTimeout(function(){a.notifications[t].component.hide().then(function(){("top"===a.config.position.vertical.position&&0===t||"bottom"===a.config.position.vertical.position&&t===e-1)&&(a.removeAllNotificationsFromList(),n())})},a.config.animations.hide.offset*i)},o=e-1;0<=o;o--)i(o);else{var s=[];for(o=e-1;0<=o;o--)s.push(a.notifications[o].component.hide());Promise.all(s).then(function(){a.removeAllNotificationsFromList(),n()})}else n()})},m.prototype.shiftNotifications=function(o,s,a){return new Promise(function(t,i){if(0!==o.length){for(var n=[],e=o.length-1;0<=e;e--)n.push(o[e].component.shift(s,a));Promise.all(n).then(t)}else t()})},m.prototype.addNotificationToList=function(t){this.notifications.push(t),this.changeDetector.markForCheck()},m.prototype.removeNotificationFromList=function(i){this.notifications=this.notifications.filter(function(t){return t.component!==i.component}),this.changeDetector.markForCheck()},m.prototype.removeAllNotificationsFromList=function(){this.notifications=[],this.changeDetector.markForCheck()},m.prototype.findNotificationById=function(i){return this.notifications.find(function(t){return t.id===i})},m.prototype.findNotificationIndexById=function(i){var t=this.notifications.findIndex(function(t){return t.id===i});return-1!==t?t:undefined},m.decorators=[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,host:{"class":"notifier__container"},selector:"notifier-container",template:'<ul>\n\t<li class="notifier__container-list" *ngFor="let notification of notifications; trackBy: identifyNotification;">\n\t\t<notifier-notification\n\t\t\t[notification]="notification"\n\t\t\t(ready)="onNotificationReady( $event )"\n\t\t\t(dismiss)="onNotificationDismiss( $event )">\n\t\t</notifier-notification>\n\t</li>\n</ul>\n'}]}],m.ctorParameters=function(){return[{type:s.ChangeDetectorRef},{type:e},{type:h}]},m);function m(t,i,n){this.changeDetector=t,this.queueService=i,this.config=n.getConfig(),this.notifications=[]}var d={hide:function(){return{from:{opacity:"1"},to:{opacity:"0"}}},show:function(){return{from:{opacity:"0"},to:{opacity:"1"}}}},l={hide:function(t){var i,n,e=t.component.getConfig(),o=t.component.getShift();if("left"===e.position.horizontal.position)i={transform:"translate3d( 0, "+o+"px, 0 )"},n={transform:"translate3d( calc( -100% - "+e.position.horizontal.distance+"px - 10px ), "+o+"px, 0 )"};else if("right"===e.position.horizontal.position)i={transform:"translate3d( 0, "+o+"px, 0 )"},n={transform:"translate3d( calc( 100% + "+e.position.horizontal.distance+"px + 10px ), "+o+"px, 0 )"};else{i={transform:"translate3d( -50%, "+o+"px, 0 )"},n={transform:"translate3d( -50%, "+("top"===e.position.vertical.position?"calc( -100% - "+e.position.horizontal.distance+"px - 10px )":"calc( 100% + "+e.position.horizontal.distance+"px + 10px )")+", 0 )"}}return{from:i,to:n}},show:function(t){var i,n,e=t.component.getConfig();if("left"===e.position.horizontal.position)i={transform:"translate3d( calc( -100% - "+e.position.horizontal.distance+"px - 10px ), 0, 0 )"},n={transform:"translate3d( 0, 0, 0 )"};else if("right"===e.position.horizontal.position)i={transform:"translate3d( calc( 100% + "+e.position.horizontal.distance+"px + 10px ), 0, 0 )"},n={transform:"translate3d( 0, 0, 0 )"};else{i={transform:"translate3d( -50%, "+("top"===e.position.vertical.position?"calc( -100% - "+e.position.horizontal.distance+"px - 10px )":"calc( 100% + "+e.position.horizontal.distance+"px + 10px )")+", 0 )"},n={transform:"translate3d( -50%, 0, 0 )"}}return{from:i,to:n}}},g=(v.prototype.getAnimationData=function(t,i){var n,e,o;return o="show"===t?(n=this.animationPresets[i.component.getConfig().animations.show.preset].show(i),e=i.component.getConfig().animations.show.speed,i.component.getConfig().animations.show.easing):(n=this.animationPresets[i.component.getConfig().animations.hide.preset].hide(i),e=i.component.getConfig().animations.hide.speed,i.component.getConfig().animations.hide.easing),{keyframes:[n.from,n.to],options:{duration:e,easing:o,fill:"forwards"}}},v.decorators=[{type:s.Injectable}],v.ctorParameters=function(){return[]},v);function v(){this.animationPresets={fade:d,slide:l}}var y=(b.prototype.start=function(n){var e=this;return new Promise(function(t,i){e.remaining=n,e.finishPromiseResolver=t,e["continue"]()})},b.prototype.pause=function(){clearTimeout(this.timerId),this.remaining-=(new Date).getTime()-this.now},b.prototype["continue"]=function(){var t=this;this.now=(new Date).getTime(),this.timerId=window.setTimeout(function(){t.finish()},this.remaining)},b.prototype.stop=function(){clearTimeout(this.timerId),this.remaining=0},b.prototype.finish=function(){this.finishPromiseResolver()},b.decorators=[{type:s.Injectable}],b.ctorParameters=function(){return[]},b);function b(){this.now=0,this.remaining=0}var w=(H.prototype.ngAfterViewInit=function(){this.setup(),this.elementHeight=this.element.offsetHeight,this.elementWidth=this.element.offsetWidth,this.ready.emit(this)},H.prototype.getConfig=function(){return this.config},H.prototype.getHeight=function(){return this.elementHeight},H.prototype.getWidth=function(){return this.elementWidth},H.prototype.getShift=function(){return this.elementShift},H.prototype.show=function(){var s=this;return new Promise(function(t,i){if(s.config.animations.enabled&&0<s.config.animations.show.speed){for(var n=s.animationService.getAnimationData("show",s.notification),e=Object.keys(n.keyframes[0]),o=e.length-1;0<=o;o--)s.renderer.setStyle(s.element,e[o],n.keyframes[0][e[o]]);s.renderer.setStyle(s.element,"visibility","visible"),s.element.animate(n.keyframes,n.options).onfinish=function(){s.startAutoHideTimer(),t()}}else s.renderer.setStyle(s.element,"visibility","visible"),s.startAutoHideTimer(),t()})},H.prototype.hide=function(){var e=this;return new Promise(function(t,i){if(e.stopAutoHideTimer(),e.config.animations.enabled&&0<e.config.animations.hide.speed){var n=e.animationService.getAnimationData("hide",e.notification);e.element.animate(n.keyframes,n.options).onfinish=function(){t()}}else t()})},H.prototype.shift=function(s,a){var r=this;return new Promise(function(t,i){var n;n="top"===r.config.position.vertical.position&&a||"bottom"===r.config.position.vertical.position&&!a?r.elementShift+s+r.config.position.vertical.gap:r.elementShift-s-r.config.position.vertical.gap;var e="middle"===r.config.position.horizontal.position?"-50%":"0";if(r.config.animations.enabled&&0<r.config.animations.shift.speed){var o={keyframes:[{transform:"translate3d( "+e+", "+r.elementShift+"px, 0 )"},{transform:"translate3d( "+e+", "+n+"px, 0 )"}],options:{duration:r.config.animations.shift.speed,easing:r.config.animations.shift.easing,fill:"forwards"}};r.elementShift=n,r.element.animate(o.keyframes,o.options).onfinish=function(){t()}}else r.renderer.setStyle(r.element,"transform","translate3d( "+e+", "+n+"px, 0 )"),r.elementShift=n,t()})},H.prototype.onClickDismiss=function(){this.dismiss.emit(this.notification.id)},H.prototype.onNotificationMouseover=function(){"pauseAutoHide"===this.config.behaviour.onMouseover?this.pauseAutoHideTimer():"resetAutoHide"===this.config.behaviour.onMouseover&&this.stopAutoHideTimer()},H.prototype.onNotificationMouseout=function(){"pauseAutoHide"===this.config.behaviour.onMouseover?this.continueAutoHideTimer():"resetAutoHide"===this.config.behaviour.onMouseover&&this.startAutoHideTimer()},H.prototype.onNotificationClick=function(){"hide"===this.config.behaviour.onClick&&this.onClickDismiss()},H.prototype.startAutoHideTimer=function(){var t=this;!1!==this.config.behaviour.autoHide&&0<this.config.behaviour.autoHide&&this.timerService.start(this.config.behaviour.autoHide).then(function(){t.onClickDismiss()})},H.prototype.pauseAutoHideTimer=function(){!1!==this.config.behaviour.autoHide&&0<this.config.behaviour.autoHide&&this.timerService.pause()},H.prototype.continueAutoHideTimer=function(){!1!==this.config.behaviour.autoHide&&0<this.config.behaviour.autoHide&&this.timerService["continue"]()},H.prototype.stopAutoHideTimer=function(){!1!==this.config.behaviour.autoHide&&0<this.config.behaviour.autoHide&&this.timerService.stop()},H.prototype.setup=function(){"left"===this.config.position.horizontal.position?this.renderer.setStyle(this.element,"left",this.config.position.horizontal.distance+"px"):"right"===this.config.position.horizontal.position?this.renderer.setStyle(this.element,"right",this.config.position.horizontal.distance+"px"):(this.renderer.setStyle(this.element,"left","50%"),this.renderer.setStyle(this.element,"transform","translate3d( -50%, 0, 0 )")),"top"===this.config.position.vertical.position?this.renderer.setStyle(this.element,"top",this.config.position.vertical.distance+"px"):this.renderer.setStyle(this.element,"bottom",this.config.position.vertical.distance+"px"),this.renderer.addClass(this.element,"notifier__notification--"+this.notification.type),this.renderer.addClass(this.element,"notifier__notification--"+this.config.theme)},H.decorators=[{type:s.Component,args:[{changeDetection:s.ChangeDetectionStrategy.OnPush,host:{"(click)":"onNotificationClick()","(mouseout)":"onNotificationMouseout()","(mouseover)":"onNotificationMouseover()","class":"notifier__notification"},providers:[y],selector:"notifier-notification",template:'<ng-container *ngIf="notification.template; else predefinedNotification" [ngTemplateOutlet]="notification.template" [ngTemplateOutletContext]="{ notification: notification }">\n</ng-container>\n\n<ng-template #predefinedNotification>\n\t<p class="notifier__notification-message">{{ notification.message }}</p>\n\t<button class="notifier__notification-button" type="button" title="dismiss" *ngIf="config.behaviour.showDismissButton" (click)="onClickDismiss()">\n\t\t<svg class="notifier__notification-button-icon" viewBox="0 0 24 24" width="20" height="20">\n\t\t\t<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />\n\t\t</svg>\n\t</button>\n</ng-template>\n'}]}],H.ctorParameters=function(){return[{type:s.ElementRef},{type:s.Renderer2},{type:h},{type:y},{type:g}]},H.propDecorators={notification:[{type:s.Input}],ready:[{type:s.Output}],dismiss:[{type:s.Output}]},H);function H(t,i,n,e,o){this.config=n.getConfig(),this.ready=new s.EventEmitter,this.dismiss=new s.EventEmitter,this.timerService=e,this.animationService=o,this.renderer=i,this.element=t.nativeElement,this.elementShift=0}function S(t){return new r(t)}function N(){return new r({})}var A=(x.withConfig=function(t){return void 0===t&&(t={}),{ngModule:x,providers:[{provide:c,useValue:t},{deps:[c],provide:f,useFactory:S}]}},x.decorators=[{type:s.NgModule,args:[{declarations:[u,w],exports:[u],imports:[n.CommonModule],providers:[g,h,e,{provide:f,useFactory:N}]}]}],x);function x(){}t.NotifierContainerComponent=u,t.NotifierNotificationComponent=w,t.NotifierConfig=r,t.notifierCustomConfigFactory=S,t.notifierDefaultConfigFactory=N,t.NotifierModule=A,t.NotifierOptionsToken=c,t.NotifierConfigToken=f,t.NotifierService=h,t.ɵc=g,t.ɵa=e,t.ɵb=y,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("@angular/core"),require("rxjs"),require("@angular/common")):"function"==typeof define&&define.amd?define("angular-notifier",["exports","@angular/core","rxjs","@angular/common"],i):i((t=t||self)["angular-notifier"]={},t.ng.core,t.rxjs,t.ng.common)}(this,(function(t,i,o,n){"use strict";var e=function(t){this.template=null,Object.assign(this,t),void 0===t.id&&(this.id="ID_"+(new Date).getTime())};var s=function(){function t(){this.actionStream=new o.Subject,this.actionQueue=[],this.isActionInProgress=!1}return t.prototype.push=function(t){this.actionQueue.push(t),this.tryToRunNextAction()},t.prototype.continue=function(){this.isActionInProgress=!1,this.tryToRunNextAction()},t.prototype.tryToRunNextAction=function(){this.isActionInProgress||0===this.actionQueue.length||(this.isActionInProgress=!0,this.actionStream.next(this.actionQueue.shift()))},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[]},t}();var a=function(t){void 0===t&&(t={}),this.animations={enabled:!0,hide:{easing:"ease",offset:50,preset:"fade",speed:300},overlap:150,shift:{easing:"ease",speed:300},show:{easing:"ease",preset:"slide",speed:300}},this.behaviour={autoHide:7e3,onClick:!1,onMouseover:"pauseAutoHide",showDismissButton:!0,stacking:4},this.position={horizontal:{distance:12,position:"left"},vertical:{distance:12,gap:10,position:"bottom"}},this.theme="material",void 0!==t.theme&&(this.theme=t.theme),void 0!==t.animations&&(void 0!==t.animations.enabled&&(this.animations.enabled=t.animations.enabled),void 0!==t.animations.overlap&&(this.animations.overlap=t.animations.overlap),void 0!==t.animations.hide&&Object.assign(this.animations.hide,t.animations.hide),void 0!==t.animations.shift&&Object.assign(this.animations.shift,t.animations.shift),void 0!==t.animations.show&&Object.assign(this.animations.show,t.animations.show)),void 0!==t.behaviour&&Object.assign(this.behaviour,t.behaviour),void 0!==t.position&&(void 0!==t.position.horizontal&&Object.assign(this.position.horizontal,t.position.horizontal),void 0!==t.position.vertical&&Object.assign(this.position.vertical,t.position.vertical))};var r=new i.InjectionToken("[angular-notifier] Notifier Options"),c=new i.InjectionToken("[anuglar-notifier] Notifier Config"),f=function(){function t(t,i){this.queueService=t,this.config=i}return t.prototype.getConfig=function(){return this.config},t.prototype.show=function(t){this.queueService.push({payload:t,type:"SHOW"})},t.prototype.hide=function(t){this.queueService.push({payload:t,type:"HIDE"})},t.prototype.hideNewest=function(){this.queueService.push({type:"HIDE_NEWEST"})},t.prototype.hideOldest=function(){this.queueService.push({type:"HIDE_OLDEST"})},t.prototype.hideAll=function(){this.queueService.push({type:"HIDE_ALL"})},t.prototype.notify=function(t,i,o){var n={message:i,type:t};void 0!==o&&(n.id=o),this.show(n)},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[{type:s},{type:a,decorators:[{type:i.Inject,args:[c]}]}]},t}();var h=function(){function t(t,i,o){this.changeDetector=t,this.queueService=i,this.config=o.getConfig(),this.notifications=[]}return t.prototype.ngOnInit=function(){var t=this;this.queueServiceSubscription=this.queueService.actionStream.subscribe((function(i){t.handleAction(i).then((function(){t.queueService.continue()}))}))},t.prototype.ngOnDestroy=function(){this.queueServiceSubscription&&this.queueServiceSubscription.unsubscribe()},t.prototype.identifyNotification=function(t,i){return i.id},t.prototype.onNotificationDismiss=function(t){this.queueService.push({payload:t,type:"HIDE"})},t.prototype.onNotificationReady=function(t){var i=this.notifications[this.notifications.length-1];i.component=t,this.continueHandleShowAction(i)},t.prototype.handleAction=function(t){switch(t.type){case"SHOW":return this.handleShowAction(t);case"HIDE":return this.handleHideAction(t);case"HIDE_OLDEST":return this.handleHideOldestAction(t);case"HIDE_NEWEST":return this.handleHideNewestAction(t);case"HIDE_ALL":return this.handleHideAllAction(t);default:return new Promise((function(t,i){t()}))}},t.prototype.handleShowAction=function(t){var i=this;return new Promise((function(o,n){i.tempPromiseResolver=o,i.addNotificationToList(new e(t.payload))}))},t.prototype.continueHandleShowAction=function(t){var i=this,o=this.notifications.length;if(1===o)t.component.show().then(this.tempPromiseResolver);else{if(!1===this.config.behaviour.stacking||this.config.behaviour.stacking<2)this.notifications[0].component.hide().then((function(){i.removeNotificationFromList(i.notifications[0]),t.component.show().then(i.tempPromiseResolver)}));else{var n=[];if(o>this.config.behaviour.stacking){var e=this.notifications.slice(1,o-1);this.config.animations.enabled?!1!==this.config.animations.overlap&&this.config.animations.overlap>0?(n.push(this.notifications[0].component.hide()),setTimeout((function(){n.push(i.shiftNotifications(e,t.component.getHeight(),!0))}),this.config.animations.hide.speed-this.config.animations.overlap),setTimeout((function(){n.push(t.component.show())}),this.config.animations.hide.speed+this.config.animations.shift.speed-this.config.animations.overlap)):n.push(new Promise((function(o,n){i.notifications[0].component.hide().then((function(){i.shiftNotifications(e,t.component.getHeight(),!0).then((function(){t.component.show().then(o)}))}))}))):(n.push(this.notifications[0].component.hide()),n.push(this.shiftNotifications(e,t.component.getHeight(),!0)),n.push(t.component.show()))}else{var s=this.notifications.slice(0,o-1);this.config.animations.enabled?!1!==this.config.animations.overlap&&this.config.animations.overlap>0?(n.push(this.shiftNotifications(s,t.component.getHeight(),!0)),setTimeout((function(){n.push(t.component.show())}),this.config.animations.shift.speed-this.config.animations.overlap)):n.push(new Promise((function(o,n){i.shiftNotifications(s,t.component.getHeight(),!0).then((function(){t.component.show().then(o)}))}))):(n.push(this.shiftNotifications(s,t.component.getHeight(),!0)),n.push(t.component.show()))}Promise.all(n).then((function(){o>i.config.behaviour.stacking&&i.removeNotificationFromList(i.notifications[0]),i.tempPromiseResolver()}))}}},t.prototype.handleHideAction=function(t){var i=this;return new Promise((function(o,n){var e=[],s=i.findNotificationById(t.payload);if(void 0!==s){var a=i.findNotificationIndexById(t.payload);if(void 0!==a){var r=i.notifications.slice(0,a);r.length>0?i.config.animations.enabled&&i.config.animations.hide.speed>0?!1!==i.config.animations.overlap&&i.config.animations.overlap>0?(e.push(s.component.hide()),setTimeout((function(){e.push(i.shiftNotifications(r,s.component.getHeight(),!1))}),i.config.animations.hide.speed-i.config.animations.overlap)):s.component.hide().then((function(){e.push(i.shiftNotifications(r,s.component.getHeight(),!1))})):(e.push(s.component.hide()),e.push(i.shiftNotifications(r,s.component.getHeight(),!1))):e.push(s.component.hide()),Promise.all(e).then((function(){i.removeNotificationFromList(s),o()}))}else o()}else o()}))},t.prototype.handleHideOldestAction=function(t){return 0===this.notifications.length?new Promise((function(t,i){t()})):(t.payload=this.notifications[0].id,this.handleHideAction(t))},t.prototype.handleHideNewestAction=function(t){return 0===this.notifications.length?new Promise((function(t,i){t()})):(t.payload=this.notifications[this.notifications.length-1].id,this.handleHideAction(t))},t.prototype.handleHideAllAction=function(t){var i=this;return new Promise((function(t,o){var n=i.notifications.length;if(0!==n)if(i.config.animations.enabled&&i.config.animations.hide.speed>0&&!1!==i.config.animations.hide.offset&&i.config.animations.hide.offset>0)for(var e=function(o){var e="top"===i.config.position.vertical.position?n-1:o;setTimeout((function(){i.notifications[o].component.hide().then((function(){("top"===i.config.position.vertical.position&&0===o||"bottom"===i.config.position.vertical.position&&o===n-1)&&(i.removeAllNotificationsFromList(),t())}))}),i.config.animations.hide.offset*e)},s=n-1;s>=0;s--)e(s);else{var a=[];for(s=n-1;s>=0;s--)a.push(i.notifications[s].component.hide());Promise.all(a).then((function(){i.removeAllNotificationsFromList(),t()}))}else t()}))},t.prototype.shiftNotifications=function(t,i,o){return new Promise((function(n,e){if(0!==t.length){for(var s=[],a=t.length-1;a>=0;a--)s.push(t[a].component.shift(i,o));Promise.all(s).then(n)}else n()}))},t.prototype.addNotificationToList=function(t){this.notifications.push(t),this.changeDetector.markForCheck()},t.prototype.removeNotificationFromList=function(t){this.notifications=this.notifications.filter((function(i){return i.component!==t.component})),this.changeDetector.markForCheck()},t.prototype.removeAllNotificationsFromList=function(){this.notifications=[],this.changeDetector.markForCheck()},t.prototype.findNotificationById=function(t){return this.notifications.find((function(i){return i.id===t}))},t.prototype.findNotificationIndexById=function(t){var i=this.notifications.findIndex((function(i){return i.id===t}));return-1!==i?i:void 0},t.decorators=[{type:i.Component,args:[{changeDetection:i.ChangeDetectionStrategy.OnPush,host:{class:"notifier__container"},selector:"notifier-container",template:'<ul>\n\t<li class="notifier__container-list" *ngFor="let notification of notifications; trackBy: identifyNotification;">\n\t\t<notifier-notification\n\t\t\t[notification]="notification"\n\t\t\t(ready)="onNotificationReady( $event )"\n\t\t\t(dismiss)="onNotificationDismiss( $event )">\n\t\t</notifier-notification>\n\t</li>\n</ul>\n'}]}],t.ctorParameters=function(){return[{type:i.ChangeDetectorRef},{type:s},{type:f}]},t}();var p={hide:function(){return{from:{opacity:"1"},to:{opacity:"0"}}},show:function(){return{from:{opacity:"0"},to:{opacity:"1"}}}},u={hide:function(t){var i,o,n=t.component.getConfig(),e=t.component.getShift();if("left"===n.position.horizontal.position)i={transform:"translate3d( 0, "+e+"px, 0 )"},o={transform:"translate3d( calc( -100% - "+n.position.horizontal.distance+"px - 10px ), "+e+"px, 0 )"};else if("right"===n.position.horizontal.position)i={transform:"translate3d( 0, "+e+"px, 0 )"},o={transform:"translate3d( calc( 100% + "+n.position.horizontal.distance+"px + 10px ), "+e+"px, 0 )"};else{i={transform:"translate3d( -50%, "+e+"px, 0 )"},o={transform:"translate3d( -50%, "+("top"===n.position.vertical.position?"calc( -100% - "+n.position.horizontal.distance+"px - 10px )":"calc( 100% + "+n.position.horizontal.distance+"px + 10px )")+", 0 )"}}return{from:i,to:o}},show:function(t){var i,o,n=t.component.getConfig();if("left"===n.position.horizontal.position)i={transform:"translate3d( calc( -100% - "+n.position.horizontal.distance+"px - 10px ), 0, 0 )"},o={transform:"translate3d( 0, 0, 0 )"};else if("right"===n.position.horizontal.position)i={transform:"translate3d( calc( 100% + "+n.position.horizontal.distance+"px + 10px ), 0, 0 )"},o={transform:"translate3d( 0, 0, 0 )"};else{i={transform:"translate3d( -50%, "+("top"===n.position.vertical.position?"calc( -100% - "+n.position.horizontal.distance+"px - 10px )":"calc( 100% + "+n.position.horizontal.distance+"px + 10px )")+", 0 )"},o={transform:"translate3d( -50%, 0, 0 )"}}return{from:i,to:o}}},m=function(){function t(){this.animationPresets={fade:p,slide:u}}return t.prototype.getAnimationData=function(t,i){var o,n,e;return"show"===t?(o=this.animationPresets[i.component.getConfig().animations.show.preset].show(i),n=i.component.getConfig().animations.show.speed,e=i.component.getConfig().animations.show.easing):(o=this.animationPresets[i.component.getConfig().animations.hide.preset].hide(i),n=i.component.getConfig().animations.hide.speed,e=i.component.getConfig().animations.hide.easing),{keyframes:[o.from,o.to],options:{duration:n,easing:e,fill:"forwards"}}},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[]},t}();var l=function(){function t(){this.now=0,this.remaining=0}return t.prototype.start=function(t){var i=this;return new Promise((function(o,n){i.remaining=t,i.finishPromiseResolver=o,i.continue()}))},t.prototype.pause=function(){clearTimeout(this.timerId),this.remaining-=(new Date).getTime()-this.now},t.prototype.continue=function(){var t=this;this.now=(new Date).getTime(),this.timerId=window.setTimeout((function(){t.finish()}),this.remaining)},t.prototype.stop=function(){clearTimeout(this.timerId),this.remaining=0},t.prototype.finish=function(){this.finishPromiseResolver()},t.decorators=[{type:i.Injectable}],t.ctorParameters=function(){return[]},t}();var d=function(){function t(t,o,n,e,s){this.config=n.getConfig(),this.ready=new i.EventEmitter,this.dismiss=new i.EventEmitter,this.timerService=e,this.animationService=s,this.renderer=o,this.element=t.nativeElement,this.elementShift=0}return t.prototype.ngAfterViewInit=function(){this.setup(),this.elementHeight=this.element.offsetHeight,this.elementWidth=this.element.offsetWidth,this.ready.emit(this)},t.prototype.getConfig=function(){return this.config},t.prototype.getHeight=function(){return this.elementHeight},t.prototype.getWidth=function(){return this.elementWidth},t.prototype.getShift=function(){return this.elementShift},t.prototype.show=function(){var t=this;return new Promise((function(i,o){if(t.config.animations.enabled&&t.config.animations.show.speed>0){for(var n=t.animationService.getAnimationData("show",t.notification),e=Object.keys(n.keyframes[0]),s=e.length-1;s>=0;s--)t.renderer.setStyle(t.element,e[s],n.keyframes[0][e[s]]);t.renderer.setStyle(t.element,"visibility","visible"),t.element.animate(n.keyframes,n.options).onfinish=function(){t.startAutoHideTimer(),i()}}else t.renderer.setStyle(t.element,"visibility","visible"),t.startAutoHideTimer(),i()}))},t.prototype.hide=function(){var t=this;return new Promise((function(i,o){if(t.stopAutoHideTimer(),t.config.animations.enabled&&t.config.animations.hide.speed>0){var n=t.animationService.getAnimationData("hide",t.notification);t.element.animate(n.keyframes,n.options).onfinish=function(){i()}}else i()}))},t.prototype.shift=function(t,i){var o=this;return new Promise((function(n,e){var s;s="top"===o.config.position.vertical.position&&i||"bottom"===o.config.position.vertical.position&&!i?o.elementShift+t+o.config.position.vertical.gap:o.elementShift-t-o.config.position.vertical.gap;var a="middle"===o.config.position.horizontal.position?"-50%":"0";if(o.config.animations.enabled&&o.config.animations.shift.speed>0){var r={keyframes:[{transform:"translate3d( "+a+", "+o.elementShift+"px, 0 )"},{transform:"translate3d( "+a+", "+s+"px, 0 )"}],options:{duration:o.config.animations.shift.speed,easing:o.config.animations.shift.easing,fill:"forwards"}};o.elementShift=s,o.element.animate(r.keyframes,r.options).onfinish=function(){n()}}else o.renderer.setStyle(o.element,"transform","translate3d( "+a+", "+s+"px, 0 )"),o.elementShift=s,n()}))},t.prototype.onClickDismiss=function(){this.dismiss.emit(this.notification.id)},t.prototype.onNotificationMouseover=function(){"pauseAutoHide"===this.config.behaviour.onMouseover?this.pauseAutoHideTimer():"resetAutoHide"===this.config.behaviour.onMouseover&&this.stopAutoHideTimer()},t.prototype.onNotificationMouseout=function(){"pauseAutoHide"===this.config.behaviour.onMouseover?this.continueAutoHideTimer():"resetAutoHide"===this.config.behaviour.onMouseover&&this.startAutoHideTimer()},t.prototype.onNotificationClick=function(){"hide"===this.config.behaviour.onClick&&this.onClickDismiss()},t.prototype.startAutoHideTimer=function(){var t=this;!1!==this.config.behaviour.autoHide&&this.config.behaviour.autoHide>0&&this.timerService.start(this.config.behaviour.autoHide).then((function(){t.onClickDismiss()}))},t.prototype.pauseAutoHideTimer=function(){!1!==this.config.behaviour.autoHide&&this.config.behaviour.autoHide>0&&this.timerService.pause()},t.prototype.continueAutoHideTimer=function(){!1!==this.config.behaviour.autoHide&&this.config.behaviour.autoHide>0&&this.timerService.continue()},t.prototype.stopAutoHideTimer=function(){!1!==this.config.behaviour.autoHide&&this.config.behaviour.autoHide>0&&this.timerService.stop()},t.prototype.setup=function(){"left"===this.config.position.horizontal.position?this.renderer.setStyle(this.element,"left",this.config.position.horizontal.distance+"px"):"right"===this.config.position.horizontal.position?this.renderer.setStyle(this.element,"right",this.config.position.horizontal.distance+"px"):(this.renderer.setStyle(this.element,"left","50%"),this.renderer.setStyle(this.element,"transform","translate3d( -50%, 0, 0 )")),"top"===this.config.position.vertical.position?this.renderer.setStyle(this.element,"top",this.config.position.vertical.distance+"px"):this.renderer.setStyle(this.element,"bottom",this.config.position.vertical.distance+"px"),this.renderer.addClass(this.element,"notifier__notification--"+this.notification.type),this.renderer.addClass(this.element,"notifier__notification--"+this.config.theme)},t.decorators=[{type:i.Component,args:[{changeDetection:i.ChangeDetectionStrategy.OnPush,host:{"(click)":"onNotificationClick()","(mouseout)":"onNotificationMouseout()","(mouseover)":"onNotificationMouseover()",class:"notifier__notification"},providers:[l],selector:"notifier-notification",template:'<ng-container *ngIf="notification.template; else predefinedNotification" [ngTemplateOutlet]="notification.template" [ngTemplateOutletContext]="{ notification: notification }">\n</ng-container>\n\n<ng-template #predefinedNotification>\n\t<p class="notifier__notification-message">{{ notification.message }}</p>\n\t<button class="notifier__notification-button" type="button" title="dismiss" *ngIf="config.behaviour.showDismissButton" (click)="onClickDismiss()">\n\t\t<svg class="notifier__notification-button-icon" viewBox="0 0 24 24" width="20" height="20">\n\t\t\t<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" />\n\t\t</svg>\n\t</button>\n</ng-template>\n'}]}],t.ctorParameters=function(){return[{type:i.ElementRef},{type:i.Renderer2},{type:f},{type:l},{type:m}]},t.propDecorators={notification:[{type:i.Input}],ready:[{type:i.Output}],dismiss:[{type:i.Output}]},t}();function g(t){return new a(t)}function v(){return new a({})}var y=function(){function t(){}return t.withConfig=function(i){return void 0===i&&(i={}),{ngModule:t,providers:[{provide:r,useValue:i},{deps:[r],provide:c,useFactory:g}]}},t.decorators=[{type:i.NgModule,args:[{declarations:[h,d],exports:[h],imports:[n.CommonModule],providers:[m,f,s,{provide:c,useFactory:v}]}]}],t}();t.NotifierConfig=a,t.NotifierConfigToken=c,t.NotifierContainerComponent=h,t.NotifierModule=y,t.NotifierNotificationComponent=d,t.NotifierOptionsToken=r,t.NotifierService=f,t.notifierCustomConfigFactory=g,t.notifierDefaultConfigFactory=v,t.ɵa=s,t.ɵb=l,t.ɵc=m,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=angular-notifier.umd.min.js.map

@@ -7,2 +7,14 @@ # Changelog

## [6.0.0](https://github.com/dominique-mueller/angular-notifier/releases/tag/6.0.0) (2019-10-19)
### Features
* Upgrade to Angular 8 ([#139](https://github.com/dominique-mueller/angular-notifier.git/issues/139)) ([b355287](https://github.com/dominique-mueller/angular-notifier/commit/b355287))
### BREAKING CHANGES
* The upgrade to Angular 8 breaks compatibility with Angular 7 (and previous versions).
<br>
## [5.0.0](https://github.com/dominique-mueller/angular-notifier/releases/tag/5.0.0) (2019-10-19)

@@ -9,0 +21,0 @@

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ export { NotifierContainerComponent } from "./lib/components/notifier-container.component";

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
const ɵ0 = /**
* @return {?}
*/
() => {
return {
from: {
opacity: '1'
},
to: {
opacity: '0'
}
};
}, ɵ1 = /**
* @return {?}
*/
() => {
return {
from: {
opacity: '0'
},
to: {
opacity: '1'
}
};
};
/**

@@ -10,29 +35,6 @@ * Fade animation preset

export const fade = {
hide: (/**
* @return {?}
*/
() => {
return {
from: {
opacity: '1'
},
to: {
opacity: '0'
}
};
}),
show: (/**
* @return {?}
*/
() => {
return {
from: {
opacity: '0'
},
to: {
opacity: '1'
}
};
})
hide: (ɵ0),
show: (ɵ1)
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS5hbmltYXRpb24tcHJlc2V0LmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhci1ub3RpZmllci8iLCJzb3VyY2VzIjpbImxpYi9h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9kZWxzL25vdGlmaWVyLWFuaW1hdGlvbi5tb2RlbCc7XG5cbi8qKlxuICogRmFkZSBhbmltYXRpb24gcHJlc2V0XG4gKi9cbmV4cG9ydCBjb25zdCBmYWRlOiBOb3RpZmllckFuaW1hdGlvblByZXNldCA9IHtcblx0aGlkZTogKCk6IE5vdGlmaWVyQW5pbWF0aW9uUHJlc2V0S2V5ZnJhbWVzID0+IHtcblx0XHRyZXR1cm4ge1xuXHRcdFx0ZnJvbToge1xuXHRcdFx0XHRvcGFjaXR5OiAnMSdcblx0XHRcdH0sXG5cdFx0XHR0bzoge1xuXHRcdFx0XHRvcGFjaXR5OiAnMCdcblx0XHRcdH1cblx0XHR9O1xuXHR9LFxuXHRzaG93OiAoKTogTm90aWZpZXJBbmltYXRpb25QcmVzZXRLZXlmcmFtZXMgPT4ge1xuXHRcdHJldHVybiB7XG5cdFx0XHRmcm9tOiB7XG5cdFx0XHRcdG9wYWNpdHk6ICcwJ1xuXHRcdFx0fSxcblx0XHRcdHRvOiB7XG5cdFx0XHRcdG9wYWNpdHk6ICcxJ1xuXHRcdFx0fVxuXHRcdH07XG5cdH1cbn07XG4iXX0=
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* Slide animation preset
* @type {?}
const ɵ0 = /**
* @param {?} notification
* @return {?}
*/
export const slide = {
hide: (/**
* @param {?} notification
* @return {?}
*/
(notification) => {
// Prepare variables
(notification) => {
// Prepare variables
/** @type {?} */
const config = notification.component.getConfig();
/** @type {?} */
const shift = notification.component.getShift();
/** @type {?} */
let from;
/** @type {?} */
let to;
// Configure variables, depending on configuration and component
if (config.position.horizontal.position === 'left') {
from = {
transform: `translate3d( 0, ${shift}px, 0 )`
};
to = {
transform: `translate3d( calc( -100% - ${config.position.horizontal.distance}px - 10px ), ${shift}px, 0 )`
};
}
else if (config.position.horizontal.position === 'right') {
from = {
transform: `translate3d( 0, ${shift}px, 0 )`
};
to = {
transform: `translate3d( calc( 100% + ${config.position.horizontal.distance}px + 10px ), ${shift}px, 0 )`
};
}
else {
/** @type {?} */
const config = notification.component.getConfig();
/** @type {?} */
const shift = notification.component.getShift();
/** @type {?} */
let from;
/** @type {?} */
let to;
// Configure variables, depending on configuration and component
if (config.position.horizontal.position === 'left') {
from = {
transform: `translate3d( 0, ${shift}px, 0 )`
};
to = {
transform: `translate3d( calc( -100% - ${config.position.horizontal.distance}px - 10px ), ${shift}px, 0 )`
};
let horizontalPosition;
if (config.position.vertical.position === 'top') {
horizontalPosition = `calc( -100% - ${config.position.horizontal.distance}px - 10px )`;
}
else if (config.position.horizontal.position === 'right') {
from = {
transform: `translate3d( 0, ${shift}px, 0 )`
};
to = {
transform: `translate3d( calc( 100% + ${config.position.horizontal.distance}px + 10px ), ${shift}px, 0 )`
};
}
else {
/** @type {?} */
let horizontalPosition;
if (config.position.vertical.position === 'top') {
horizontalPosition = `calc( -100% - ${config.position.horizontal.distance}px - 10px )`;
}
else {
horizontalPosition = `calc( 100% + ${config.position.horizontal.distance}px + 10px )`;
}
from = {
transform: `translate3d( -50%, ${shift}px, 0 )`
};
to = {
transform: `translate3d( -50%, ${horizontalPosition}, 0 )`
};
horizontalPosition = `calc( 100% + ${config.position.horizontal.distance}px + 10px )`;
}
// Done
return {
from,
to
from = {
transform: `translate3d( -50%, ${shift}px, 0 )`
};
}),
show: (/**
* @param {?} notification
* @return {?}
*/
(notification) => {
// Prepare variables
to = {
transform: `translate3d( -50%, ${horizontalPosition}, 0 )`
};
}
// Done
return {
from,
to
};
}, ɵ1 = /**
* @param {?} notification
* @return {?}
*/
(notification) => {
// Prepare variables
/** @type {?} */
const config = notification.component.getConfig();
/** @type {?} */
let from;
/** @type {?} */
let to;
// Configure variables, depending on configuration and component
if (config.position.horizontal.position === 'left') {
from = {
transform: `translate3d( calc( -100% - ${config.position.horizontal.distance}px - 10px ), 0, 0 )`
};
to = {
transform: 'translate3d( 0, 0, 0 )'
};
}
else if (config.position.horizontal.position === 'right') {
from = {
transform: `translate3d( calc( 100% + ${config.position.horizontal.distance}px + 10px ), 0, 0 )`
};
to = {
transform: 'translate3d( 0, 0, 0 )'
};
}
else {
/** @type {?} */
const config = notification.component.getConfig();
/** @type {?} */
let from;
/** @type {?} */
let to;
// Configure variables, depending on configuration and component
if (config.position.horizontal.position === 'left') {
from = {
transform: `translate3d( calc( -100% - ${config.position.horizontal.distance}px - 10px ), 0, 0 )`
};
to = {
transform: 'translate3d( 0, 0, 0 )'
};
let horizontalPosition;
if (config.position.vertical.position === 'top') {
horizontalPosition = `calc( -100% - ${config.position.horizontal.distance}px - 10px )`;
}
else if (config.position.horizontal.position === 'right') {
from = {
transform: `translate3d( calc( 100% + ${config.position.horizontal.distance}px + 10px ), 0, 0 )`
};
to = {
transform: 'translate3d( 0, 0, 0 )'
};
}
else {
/** @type {?} */
let horizontalPosition;
if (config.position.vertical.position === 'top') {
horizontalPosition = `calc( -100% - ${config.position.horizontal.distance}px - 10px )`;
}
else {
horizontalPosition = `calc( 100% + ${config.position.horizontal.distance}px + 10px )`;
}
from = {
transform: `translate3d( -50%, ${horizontalPosition}, 0 )`
};
to = {
transform: 'translate3d( -50%, 0, 0 )'
};
horizontalPosition = `calc( 100% + ${config.position.horizontal.distance}px + 10px )`;
}
// Done
return {
from,
to
from = {
transform: `translate3d( -50%, ${horizontalPosition}, 0 )`
};
})
to = {
transform: 'translate3d( -50%, 0, 0 )'
};
}
// Done
return {
from,
to
};
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUuYW5pbWF0aW9uLXByZXNldC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItbm90aWZpZXIvIiwic291cmNlcyI6WyJsaWIvYW5pbWF0aW9uLXByZXNldHMvc2xpZGUuYW5pbWF0aW9uLXByZXNld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b1xuXHRcdH07XG5cblx0fVxufTtcbiJdfQ==
/**
* Slide animation preset
* @type {?}
*/
export const slide = {
hide: (ɵ0),
show: (ɵ1)
};
export { ɵ0, ɵ1 };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUuYW5pbWF0aW9uLXByZXNldC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItbm90aWZpZXIvIiwic291cmNlcyI6WyJsaWIvYW5pbWF0aW9uLXByZXNldHMvc2xpZGUuYW5pbWF0aW9uLXByZXNldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQVFPLENBQUUsWUFBa0MsRUFBcUMsRUFBRTs7O1VBRzFFLE1BQU0sR0FBbUIsWUFBWSxDQUFDLFNBQVMsQ0FBQyxTQUFTLEVBQUU7O1VBQzNELEtBQUssR0FBVyxZQUFZLENBQUMsU0FBUyxDQUFDLFFBQVEsRUFBRTs7UUFDbkQsSUFFSDs7UUFDRyxFQUVIO0lBRUQsZ0VBQWdFO0lBQ2hFLElBQUssTUFBTSxDQUFDLFFBQVEsQ0FBQyxVQUFVLENBQUMsUUFBUSxLQUFLLE1BQU0sRUFBRztRQUNyRCxJQUFJLEdBQUc7WUFDTixTQUFTLEVBQUUsbUJBQW9CLEtBQU0sU0FBUztTQUM5QyxDQUFDO1FBQ0YsRUFBRSxHQUFHO1lBQ0osU0FBUyxFQUFFLDhCQUErQixNQUFNLENBQUMsUUFBUSxDQUFDLFVBQVUsQ0FBQyxRQUFTLGdCQUFpQixLQUFNLFNBQVM7U0FDOUcsQ0FBQztLQUNGO1NBQU0sSUFBSyxNQUFNLENBQUMsUUFBUSxDQUFDLFVBQVUsQ0FBQyxRQUFRLEtBQUssT0FBTyxFQUFHO1FBQzdELElBQUksR0FBRztZQUNOLFNBQVMsRUFBRSxtQkFBb0IsS0FBTSxTQUFTO1NBQzlDLENBQUM7UUFDRixFQUFFLEdBQUc7WUF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sICR7IGhvcml6b250YWxQb3NpdGlvbiB9LCAwIClgXG5cdFx0XHR9O1xuXHRcdFx0dG8gPSB7XG5cdFx0XHRcdHRyYW5zZm9ybTogJ3RyYW5zbGF0ZTNkKCAtNTAlLCAwLCAwICknXG5cdFx0XHR9O1xuXHRcdH1cblxuXHRcdC8vIERvbmVcblx0XHRyZXR1cm4ge1xuXHRcdFx0ZnJvbSxcblx0XHRcdHRvXG5cdFx0fTtcblxuXHR9XG59O1xuIl19
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Output, Renderer2 } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { CommonModule } from '@angular/common';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { InjectionToken } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { Injectable } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { Injectable } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { Injectable } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { Inject, Injectable } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ export { NotifierContainerComponent } from "./lib/components/notifier-container.component";

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
var ɵ0 = /**
* @return {?}
*/
function () {
return {
from: {
opacity: '1'
},
to: {
opacity: '0'
}
};
}, ɵ1 = /**
* @return {?}
*/
function () {
return {
from: {
opacity: '0'
},
to: {
opacity: '1'
}
};
};
/**

@@ -10,29 +35,6 @@ * Fade animation preset

export var fade = {
hide: (/**
* @return {?}
*/
function () {
return {
from: {
opacity: '1'
},
to: {
opacity: '0'
}
};
}),
show: (/**
* @return {?}
*/
function () {
return {
from: {
opacity: '0'
},
to: {
opacity: '1'
}
};
})
hide: (ɵ0),
show: (ɵ1)
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFkZS5hbmltYXRpb24tcHJlc2V0LmpzIiwic291cmNlUm9vdCI6Im5nOi8vYW5ndWxhci1ub3RpZmllci8iLCJzb3VyY2VzIjpbImxpYi9hbmltYXRpb24tcHJlc2V0cy9mYWRlLmFuaW1hdGlvbi1wcmVzZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QU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IE5vdGlmaWVyQW5pbWF0aW9uUHJlc2V0S2V5ZnJhbWVzID0+IHtcblx0XHRyZXR1cm4ge1xuXHRcdFx0ZnJvbToge1xuXHRcdFx0XHRvcGFjaXR5OiAnMSdcblx0XHRcdH0sXG5cdFx0XHR0bzoge1xuXHRcdFx0XHRvcGFjaXR5OiAnMCdcblx0XHRcdH1cblx0XHR9O1xuXHR9LFxuXHRzaG93OiAoKTogTm90aWZpZXJBbmltYXRpb25QcmVzZXRLZXlmcmFtZXMgPT4ge1xuXHRcdHJldHVybiB7XG5cdFx0XHRmcm9tOiB7XG5cdFx0XHRcdG9wYWNpdHk6ICcwJ1xuXHRcdFx0fSxcblx0XHRcdHRvOiB7XG5cdFx0XHRcdG9wYWNpdHk6ICcxJ1xuXHRcdFx0fVxuXHRcdH07XG5cdH1cbn07XG4iXX0=
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
/**
* Slide animation preset
* @type {?}
var ɵ0 = /**
* @param {?} notification
* @return {?}
*/
export var slide = {
hide: (/**
* @param {?} notification
* @return {?}
*/
function (notification) {
// Prepare variables
function (notification) {
// Prepare variables
/** @type {?} */
var config = notification.component.getConfig();
/** @type {?} */
var shift = notification.component.getShift();
/** @type {?} */
var from;
/** @type {?} */
var to;
// Configure variables, depending on configuration and component
if (config.position.horizontal.position === 'left') {
from = {
transform: "translate3d( 0, " + shift + "px, 0 )"
};
to = {
transform: "translate3d( calc( -100% - " + config.position.horizontal.distance + "px - 10px ), " + shift + "px, 0 )"
};
}
else if (config.position.horizontal.position === 'right') {
from = {
transform: "translate3d( 0, " + shift + "px, 0 )"
};
to = {
transform: "translate3d( calc( 100% + " + config.position.horizontal.distance + "px + 10px ), " + shift + "px, 0 )"
};
}
else {
/** @type {?} */
var config = notification.component.getConfig();
/** @type {?} */
var shift = notification.component.getShift();
/** @type {?} */
var from;
/** @type {?} */
var to;
// Configure variables, depending on configuration and component
if (config.position.horizontal.position === 'left') {
from = {
transform: "translate3d( 0, " + shift + "px, 0 )"
};
to = {
transform: "translate3d( calc( -100% - " + config.position.horizontal.distance + "px - 10px ), " + shift + "px, 0 )"
};
var horizontalPosition = void 0;
if (config.position.vertical.position === 'top') {
horizontalPosition = "calc( -100% - " + config.position.horizontal.distance + "px - 10px )";
}
else if (config.position.horizontal.position === 'right') {
from = {
transform: "translate3d( 0, " + shift + "px, 0 )"
};
to = {
transform: "translate3d( calc( 100% + " + config.position.horizontal.distance + "px + 10px ), " + shift + "px, 0 )"
};
}
else {
/** @type {?} */
var horizontalPosition = void 0;
if (config.position.vertical.position === 'top') {
horizontalPosition = "calc( -100% - " + config.position.horizontal.distance + "px - 10px )";
}
else {
horizontalPosition = "calc( 100% + " + config.position.horizontal.distance + "px + 10px )";
}
from = {
transform: "translate3d( -50%, " + shift + "px, 0 )"
};
to = {
transform: "translate3d( -50%, " + horizontalPosition + ", 0 )"
};
horizontalPosition = "calc( 100% + " + config.position.horizontal.distance + "px + 10px )";
}
// Done
return {
from: from,
to: to
from = {
transform: "translate3d( -50%, " + shift + "px, 0 )"
};
}),
show: (/**
* @param {?} notification
* @return {?}
*/
function (notification) {
// Prepare variables
to = {
transform: "translate3d( -50%, " + horizontalPosition + ", 0 )"
};
}
// Done
return {
from: from,
to: to
};
}, ɵ1 = /**
* @param {?} notification
* @return {?}
*/
function (notification) {
// Prepare variables
/** @type {?} */
var config = notification.component.getConfig();
/** @type {?} */
var from;
/** @type {?} */
var to;
// Configure variables, depending on configuration and component
if (config.position.horizontal.position === 'left') {
from = {
transform: "translate3d( calc( -100% - " + config.position.horizontal.distance + "px - 10px ), 0, 0 )"
};
to = {
transform: 'translate3d( 0, 0, 0 )'
};
}
else if (config.position.horizontal.position === 'right') {
from = {
transform: "translate3d( calc( 100% + " + config.position.horizontal.distance + "px + 10px ), 0, 0 )"
};
to = {
transform: 'translate3d( 0, 0, 0 )'
};
}
else {
/** @type {?} */
var config = notification.component.getConfig();
/** @type {?} */
var from;
/** @type {?} */
var to;
// Configure variables, depending on configuration and component
if (config.position.horizontal.position === 'left') {
from = {
transform: "translate3d( calc( -100% - " + config.position.horizontal.distance + "px - 10px ), 0, 0 )"
};
to = {
transform: 'translate3d( 0, 0, 0 )'
};
var horizontalPosition = void 0;
if (config.position.vertical.position === 'top') {
horizontalPosition = "calc( -100% - " + config.position.horizontal.distance + "px - 10px )";
}
else if (config.position.horizontal.position === 'right') {
from = {
transform: "translate3d( calc( 100% + " + config.position.horizontal.distance + "px + 10px ), 0, 0 )"
};
to = {
transform: 'translate3d( 0, 0, 0 )'
};
}
else {
/** @type {?} */
var horizontalPosition = void 0;
if (config.position.vertical.position === 'top') {
horizontalPosition = "calc( -100% - " + config.position.horizontal.distance + "px - 10px )";
}
else {
horizontalPosition = "calc( 100% + " + config.position.horizontal.distance + "px + 10px )";
}
from = {
transform: "translate3d( -50%, " + horizontalPosition + ", 0 )"
};
to = {
transform: 'translate3d( -50%, 0, 0 )'
};
horizontalPosition = "calc( 100% + " + config.position.horizontal.distance + "px + 10px )";
}
// Done
return {
from: from,
to: to
from = {
transform: "translate3d( -50%, " + horizontalPosition + ", 0 )"
};
})
to = {
transform: 'translate3d( -50%, 0, 0 )'
};
}
// Done
return {
from: from,
to: to
};
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGUuYW5pbWF0aW9uLXByZXNldC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItbm90aWZpZXIvIiwic291cmNlcyI6WyJsaWIvYW5pbWF0aW9uLXByZXNldHMvc2xpZGUuYW5pbWF0aW9uLXByZXNldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7OztBQU9BLE1BQU0sS0FBTyxLQUFLLEdBQTRCO0lBQzdDLElBQUk7Ozs7SUFBRS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tcblx0XHRcdFx0dHJhbnNmb3JtOiBgdHJhbnNsYXRlM2QoIGNhbGMoIDEwMCUgKyAkeyBjb25maWcucG9zaXRpb24uaG9yaXpvbnRhbC5kaXN0YW5jZSB9cHggKyAxMHB4ICksIDAsIDAgKWBcblx0XHRcdH07XG5cdFx0XHR0byA9IHtcblx0XHRcdFx0dHJhbnNmb3JtOiAndHJhbnNsYXRlM2QoIDAsIDAsIDAgKSdcblx0XHRcdH07XG5cdFx0fSBlbHNlIHtcblx0XHRcdGxldCBob3Jpem9udGFsUG9zaXRpb246IHN0cmluZztcblx0XHRcdGlmICggY29uZmlnLnBvc2l0aW9uLnZlcnRpY2FsLnBvc2l0aW9uID09PSAndG9wJyApIHtcblx0XHRcdFx0aG9yaXpvbnRhbFBvc2l0aW9uID0gYGNhbGMoIC0xMDAlIC0gJHsgY29uZmlnLnBvc2l0aW9uLmhvcml6b250YWwuZGlzdGFuY2UgfXB4IC0gMTBweCApYDtcblx0XHRcdH0gZWxzZSB7XG5cdFx0XHRcdGhvcml6b250YWxQb3NpdGlvbiA9IGBjYWxjKCAxMDAlICsgJHsgY29uZmlnLnBvc2l0aW9uLmhvcml6b250YWwuZGlzdGFuY2UgfXB4ICsgMTBweCApYDtcblx0XHRcdH1cblx0XHRcdGZyb20gPSB7XG5cdFx0XHRcdHRyYW5zZm9ybTogYHRyYW5zbGF0ZTNkKCAtNTAlLCAkeyBob3Jpem9udGFsUG9zaXRpb24gfSwgMCApYFxuXHRcdFx0fTtcblx0XHRcdHRvID0ge1xuXHRcdFx0XHR0cmFuc2Zvcm06ICd0cmFuc2xhdGUzZCggLTUwJSwgMCwgMCApJ1xuXHRcdFx0fTtcblx0XHR9XG5cblx0XHQvLyBEb25lXG5cdFx0cmV0dXJuIHtcblx0XHRcdGZyb20sXG5cdFx0XHR0b1xuXHRcdH07XG5cblx0fVxufTtcbiJdfQ==
/**
* Slide animation preset
* @type {?}
*/
export var slide = {
hide: (ɵ0),
show: (ɵ1)
};
export { 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Fx0dG8gPSB7XG5cdFx0XHRcdHRyYW5zZm9ybTogJ3RyYW5zbGF0ZTNkKCAtNTAlLCAwLCAwICknXG5cdFx0XHR9O1xuXHRcdH1cblxuXHRcdC8vIERvbmVcblx0XHRyZXR1cm4ge1xuXHRcdFx0ZnJvbSxcblx0XHRcdHRvXG5cdFx0fTtcblxuXHR9XG59O1xuIl19
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Output, Renderer2 } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ /**

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { CommonModule } from '@angular/common';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { InjectionToken } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { Injectable } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { Injectable } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { Injectable } from '@angular/core';

/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/

@@ -5,0 +5,0 @@ import { Inject, Injectable } from '@angular/core';

@@ -17,3 +17,3 @@ {

"description": "A well designed, fully animated, highly customizable, and easy-to-use notification library for your Angular application.",
"version": "5.0.0",
"version": "6.0.0",
"author": {

@@ -49,6 +49,6 @@ "name": "Dominique Müller",

"peerDependencies": {
"@angular/common": ">= 7.0.0 < 8.0.0",
"@angular/core": ">= 7.0.0 < 8.0.0",
"@angular/common": ">= 8.0.0 < 9.0.0",
"@angular/core": ">= 8.0.0 < 9.0.0",
"rxjs": ">= 6.0.0 < 7.0.0"
}
}

@@ -386,3 +386,3 @@ <div align="center">

export class SomeComponent {
@ViewChild("customNotification") customNotificationTmpl;
@ViewChild("customNotification", {static: true}) customNotificationTmpl;

@@ -389,0 +389,0 @@ constructor(private notifierService: NotifierService) {}

Sorry, the diff of this file is too big to display

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 too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc