LibAcc: 0.8780=36/41, ProjAcc: 1.0000=15/15, Missing: 150


Module: src/interfaces/notification.type

type 𝓟[ty]1{Notification} = {clickIcon: 𝓛[ty]2{<UNKNOWN>}, createdOn: 𝓛[ty]8635{Date}, theClass: 𝓛[ty]10051{String}, destroyedOn: 𝓛[ty]8635{Date}, state: 𝓛[ty]10051{String}, icon: 𝓛[ty]10051{String}, override: any, timeOut: 𝓛[ty]8655{Number}, timeoutEnd: 𝓛[ty]2{<UNKNOWN>}, id: 𝓛[ty]10051{String}, clickIconToClose: 𝓛[ty]8666{Boolean}, click: 𝓛[ty]2{<UNKNOWN>}, clickToClose: 𝓛[ty]8666{Boolean}, content: any, pauseOnHover: 𝓛[ty]8666{Boolean}, title: any, type: 𝓛[ty]10051{String}, html: any, animate: 𝓛[ty]10051{String}, maxLength: 𝓛[ty]8655{Number}}

Module: playground/index

function 𝓟2{CONSTRUCTOR} (𝓟3{service}: [OOV]𝓛[ty]2{<UNKNOWN>}): (𝓟[ty]7{AppComponent})
{
const 𝓟[ty]7{AppComponent};
const 𝓟[ty]7{AppComponent};
𝓟[ty]7{AppComponent}.service𝓟3{service};
}
class 𝓟[ty]7{AppComponent}{
𝓟9{service}: [OOV]𝓛[ty]2{<UNKNOWN>};
function 𝓟10{open} (): (𝓟11: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]7{AppComponent}.service.create(𝓛8743{String},𝓛8743{String})
}
}
𝓛1{<UNKNOWN>}(𝓛8743{String},𝓛12643{undefined})
function 𝓟12{CONSTRUCTOR} (): (𝓟[ty]16{AppModule})
{
const 𝓟[ty]16{AppModule};
const 𝓟[ty]16{AppModule};
}
class 𝓟[ty]16{AppModule}{
}
𝓟345{platformBrowserDynamic}().bootstrapModule(𝓛12643{undefined})

Module: src/components/simple-notifications/simple-notifications.component

function 𝓟18{CONSTRUCTOR} (𝓟19{service}: 𝓟[ty]288{NotificationsService},𝓟20{cdr}: [OOV]𝓛[ty]2{<UNKNOWN>}): (𝓟[ty]24{SimpleNotificationsComponent})
{
const 𝓟[ty]24{SimpleNotificationsComponent};
const 𝓟[ty]24{SimpleNotificationsComponent};
𝓟[ty]24{SimpleNotificationsComponent}.clickIconToClose𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.lastOnBottom𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.preventDuplicates𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.clickToClose𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.position𝓛8757{Array}(𝓛8743{String},𝓛8743{String});
𝓟[ty]24{SimpleNotificationsComponent}.pauseOnHover𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.maxStack𝓛8745{Number};
𝓟[ty]24{SimpleNotificationsComponent}.animate𝓛8743{String};
𝓟[ty]24{SimpleNotificationsComponent}.theClass𝓛8743{String};
𝓟[ty]24{SimpleNotificationsComponent}.maxLength𝓛8745{Number};
𝓟[ty]24{SimpleNotificationsComponent}.rtl𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.timeOut𝓛8745{Number};
𝓟[ty]24{SimpleNotificationsComponent}.preventLastDuplicates𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.showProgressBar𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.onDestroy𝓟341{EventEmitter}.CONSTRUCTOR();
𝓟[ty]24{SimpleNotificationsComponent}.notifications𝓛8757{Array}();
𝓟[ty]24{SimpleNotificationsComponent}.onCreate𝓟341{EventEmitter}.CONSTRUCTOR();
}
class 𝓟[ty]24{SimpleNotificationsComponent} extends 𝓛[ty]2{<UNKNOWN>}{
𝓟26{theClass}: [miss]𝓛[ty]10051{String};
𝓟27{preventLastDuplicates}: [OOV]any;
𝓟28{listener}: [OOV]𝓛[ty]2{<UNKNOWN>};
𝓟29{maxStack}: [miss]𝓛[ty]8655{Number};
𝓟30{preventDuplicates}: [miss]𝓛[ty]8666{Boolean};
𝓟31{rtl}: [miss]𝓛[ty]8666{Boolean};
𝓟32{timeOut}: [miss]𝓛[ty]8655{Number};
𝓟33{onCreate};
𝓟34{clickIconToClose}: [miss]𝓛[ty]8666{Boolean};
𝓟35{onDestroy};
𝓟36{clickToClose}: [miss]𝓛[ty]8666{Boolean};
𝓟37{position}: 𝓛[ty]8670{Array};
𝓟38{pauseOnHover}: [miss]𝓛[ty]8666{Boolean};
𝓟39{lastNotificationCreated}: [OOV]𝓟[ty]1{Notification};
𝓟40{notifications}: 𝓛[ty]8670{Array};
𝓟41{animate}: [OOV]any;
𝓟42{showProgressBar}: [miss]𝓛[ty]8666{Boolean};
𝓟43{maxLength}: [miss]𝓛[ty]8655{Number};
𝓟44{lastOnBottom}: [miss]𝓛[ty]8666{Boolean};
function 𝓟85{cleanSingle} (𝓟86{id}: 𝓛[ty]10051{String}): (𝓟87: 𝓛[ty]10033{Void})
{
let 𝓟88{indexOfDelete}: [miss]𝓛[ty]8655{Number} = 𝓛8745{Number};
let 𝓟89{doDelete}: [miss]𝓛[ty]8666{Boolean} = 𝓛8744{Boolean};
let 𝓟90{noti};
function 𝓟91{$Lambda35} (𝓟92{notification},𝓟93{idx}): (𝓟94: [miss]𝓛[ty]10033{Void})
{
if (𝓛12559{EqualsEqualsEqualsToken}(𝓟92{notification}.id,𝓟86{id}))
{
𝓟88{indexOfDelete}𝓟93{idx};
𝓟90{noti}𝓟92{notification};
𝓟89{doDelete}𝓛8744{Boolean};
}
}
𝓟[ty]24{SimpleNotificationsComponent}.notifications.forEach(𝓟91{$Lambda35})
if (𝓟89{doDelete})
{
𝓟[ty]24{SimpleNotificationsComponent}.notifications.splice(𝓟88{indexOfDelete},𝓛8745{Number})
𝓟[ty]24{SimpleNotificationsComponent}.onDestroy.emit(𝓟[ty]24{SimpleNotificationsComponent}.buildEmit(𝓟90{noti},𝓛8744{Boolean}))
}
}
function 𝓟80{buildEmit} (𝓟81{notification}: [OOV]𝓟[ty]1{Notification},𝓟82{to}: 𝓛[ty]8666{Boolean}): (𝓟83: [OOV]𝓟[ty]1{Notification})
{
let 𝓟84{toEmit}: [OOV]𝓟[ty]1{Notification} = {createdOn: 𝓟81{notification}.createdOn,type: 𝓟81{notification}.type,icon: 𝓟81{notification}.icon,id: 𝓟81{notification}.id};
if (𝓟81{notification}.html)
{
𝓟84{toEmit}.html𝓟81{notification}.html;
}
else
{
𝓟84{toEmit}.title𝓟81{notification}.title;
𝓟84{toEmit}.content𝓟81{notification}.content;
}
if (𝓛12569{ExclamationToken}(𝓟82{to}))
{
𝓟84{toEmit}.destroyedOn𝓛8747{Date}.CONSTRUCTOR();
}
return 𝓟83 = 𝓟84{toEmit}
}
function 𝓟53{defaultBehavior} (𝓟54{value}: [OOV]any): (𝓟55: 𝓛[ty]10033{Void})
{
𝓟[ty]24{SimpleNotificationsComponent}.notifications.splice(𝓟[ty]24{SimpleNotificationsComponent}.notifications.indexOf(𝓟54{value}.notification),𝓛8745{Number})
𝓟[ty]24{SimpleNotificationsComponent}.onDestroy.emit(𝓟[ty]24{SimpleNotificationsComponent}.buildEmit(𝓟54{value}.notification,𝓛8744{Boolean}))
}
function 𝓟66{checkStandard} (𝓟67{checker}: [OOV]𝓟[ty]1{Notification},𝓟68{item}: [OOV]𝓟[ty]1{Notification}): (𝓟69: (𝓟[ty]288{NotificationsService} ≠ 𝓛[ty]8666{Boolean}))
{
return 𝓟69 = 𝓛12592{AmpersandAmpersandToken}(𝓛12592{AmpersandAmpersandToken}(𝓛12559{EqualsEqualsEqualsToken}(𝓟67{checker}.type,𝓟68{item}.type),𝓛12559{EqualsEqualsEqualsToken}(𝓟67{checker}.title,𝓟68{item}.title)),𝓛12559{EqualsEqualsEqualsToken}(𝓟67{checker}.content,𝓟68{item}.content))
}
function 𝓟45{options} (𝓟46{opt}: [OOV]𝓟[ty]283{Options}): (𝓟47)
{
𝓟[ty]24{SimpleNotificationsComponent}.attachChanges(𝓟46{opt})
}
function 𝓟60{block} (𝓟61{item}: [OOV]𝓟[ty]1{Notification}): (𝓟62: 𝓛[ty]8666{Boolean})
{
const 𝓟63{toCheck}: [miss]𝓛[ty]8696{Function} = (𝓟61{item}.html ? 𝓟[ty]24{SimpleNotificationsComponent}.checkHtml : 𝓟[ty]24{SimpleNotificationsComponent}.checkStandard;
if (𝓛12592{AmpersandAmpersandToken}(𝓟[ty]24{SimpleNotificationsComponent}.preventDuplicates,𝓛12595{GreaterThanToken}(𝓟[ty]24{SimpleNotificationsComponent}.notifications.length,𝓛8745{Number})))
{
{
let 𝓟64{i}: [miss]𝓛[ty]8655{Number} = 𝓛8745{Number};
while (𝓛1{<UNKNOWN>}(𝓟64{i},𝓟[ty]24{SimpleNotificationsComponent}.notifications.length))
{
{
if (𝓟63{toCheck}(𝓟[ty]24{SimpleNotificationsComponent}.notifications.access(𝓟64{i}),𝓟61{item}))
{
return 𝓟62 = 𝓛8744{Boolean}
}
}
𝓛12556{POST_PlusPlusToken}(𝓟64{i})
}
}
}
if (𝓟[ty]24{SimpleNotificationsComponent}.preventLastDuplicates)
{
let 𝓟65{comp}: [OOV]𝓟[ty]1{Notification};
if (𝓛12592{AmpersandAmpersandToken}(𝓛12559{EqualsEqualsEqualsToken}(𝓟[ty]24{SimpleNotificationsComponent}.preventLastDuplicates,𝓛8743{String}),𝓛12595{GreaterThanToken}(𝓟[ty]24{SimpleNotificationsComponent}.notifications.length,𝓛8745{Number})))
{
if (𝓟[ty]24{SimpleNotificationsComponent}.lastOnBottom)
{
𝓟65{comp}𝓟[ty]24{SimpleNotificationsComponent}.notifications.access(𝓛12616{MinusToken}(𝓟[ty]24{SimpleNotificationsComponent}.notifications.length,𝓛8745{Number}));
}
else
{
𝓟65{comp}𝓟[ty]24{SimpleNotificationsComponent}.notifications.access(𝓛8745{Number});
}
}
else
{
if (𝓛12592{AmpersandAmpersandToken}(𝓛12559{EqualsEqualsEqualsToken}(𝓟[ty]24{SimpleNotificationsComponent}.preventLastDuplicates,𝓛8743{String}),𝓟[ty]24{SimpleNotificationsComponent}.lastNotificationCreated))
{
𝓟65{comp}𝓟[ty]24{SimpleNotificationsComponent}.lastNotificationCreated;
}
else
{
return 𝓟62 = 𝓛8744{Boolean}
}
}
return 𝓟62 = 𝓟63{toCheck}(𝓟65{comp},𝓟61{item})
}
return 𝓟62 = 𝓛8744{Boolean}
}
function 𝓟74{attachChanges} (𝓟75{options}: [OOV]any): (𝓟76: 𝓛[ty]10033{Void})
{
function 𝓟77{$Lambda34} (𝓟78{a}): (𝓟79: [miss]𝓛[ty]10033{Void})
{
if (𝓟[ty]24{SimpleNotificationsComponent}.hasOwnProperty(𝓟78{a}))
{
𝓟[ty]24{SimpleNotificationsComponent} as any.access(𝓟78{a})𝓟75{options}.access(𝓟78{a});
}
else
{
if (𝓛12559{EqualsEqualsEqualsToken}(𝓟78{a},𝓛8743{String}))
{
𝓟[ty]24{SimpleNotificationsComponent}.service.icons𝓟75{options}.access(𝓟78{a});
}
}
}
𝓛8741{Object}.keys(𝓟75{options}).forEach(𝓟77{$Lambda34})
}
function 𝓟48{ngOnInit} (): (𝓟49: 𝓛[ty]10033{Void})
{
function 𝓟50{$Lambda33} (𝓟51{item}): (𝓟52: [miss]𝓛[ty]10033{Void})
{
𝓛12577{$Switch}(𝓟51{item}.command)
𝓛12634{$Case}(𝓛8743{String})
𝓟[ty]24{SimpleNotificationsComponent}.notifications𝓛8757{Array}();
𝓛12634{$Case}(𝓛8743{String})
𝓟[ty]24{SimpleNotificationsComponent}.cleanSingle(𝓟51{item}.id)
𝓛12634{$Case}(𝓛8743{String})
if (𝓟51{item}.add)
{
𝓟[ty]24{SimpleNotificationsComponent}.add(𝓟51{item}.notification)
}
else
{
𝓟[ty]24{SimpleNotificationsComponent}.defaultBehavior(𝓟51{item})
}
𝓟[ty]24{SimpleNotificationsComponent}.defaultBehavior(𝓟51{item})
𝓟[ty]24{SimpleNotificationsComponent}.cdr.markForCheck()
}
𝓟[ty]24{SimpleNotificationsComponent}.listener𝓟[ty]24{SimpleNotificationsComponent}.service.emitter.subscribe(𝓟50{$Lambda33});
}
function 𝓟95{ngOnDestroy} (): (𝓟96: 𝓛[ty]10033{Void})
{
if (𝓟[ty]24{SimpleNotificationsComponent}.listener)
{
𝓟[ty]24{SimpleNotificationsComponent}.listener.unsubscribe()
}
}
function 𝓟56{add} (𝓟57{item}: [OOV]𝓟[ty]1{Notification}): (𝓟58: 𝓛[ty]10033{Void})
{
𝓟57{item}.createdOn𝓛8747{Date}.CONSTRUCTOR();
let 𝓟59{toBlock}: 𝓛[ty]8666{Boolean} = (𝓛12546{BarBarToken}(𝓟[ty]24{SimpleNotificationsComponent}.preventLastDuplicates,𝓟[ty]24{SimpleNotificationsComponent}.preventDuplicates) ? 𝓟[ty]24{SimpleNotificationsComponent}.block(𝓟57{item}) : 𝓛8744{Boolean};
𝓟[ty]24{SimpleNotificationsComponent}.lastNotificationCreated𝓟57{item};
if (𝓛12592{AmpersandAmpersandToken}(𝓛12592{AmpersandAmpersandToken}(𝓟57{item}.override,𝓟57{item}.override.icons),𝓟57{item}.override.icons.access(𝓟57{item}.type)))
{
𝓟57{item}.icon𝓟57{item}.override.icons.access(𝓟57{item}.type);
}
if (𝓛12569{ExclamationToken}(𝓟59{toBlock}))
{
if (𝓟[ty]24{SimpleNotificationsComponent}.lastOnBottom)
{
if (𝓛12596{GreaterThanEqualsToken}(𝓟[ty]24{SimpleNotificationsComponent}.notifications.length,𝓟[ty]24{SimpleNotificationsComponent}.maxStack))
{
𝓟[ty]24{SimpleNotificationsComponent}.notifications.splice(𝓛8745{Number},𝓛8745{Number})
}
𝓟[ty]24{SimpleNotificationsComponent}.notifications.push(𝓟57{item})
}
else
{
if (𝓛12596{GreaterThanEqualsToken}(𝓟[ty]24{SimpleNotificationsComponent}.notifications.length,𝓟[ty]24{SimpleNotificationsComponent}.maxStack))
{
𝓟[ty]24{SimpleNotificationsComponent}.notifications.splice(𝓛12616{MinusToken}(𝓟[ty]24{SimpleNotificationsComponent}.notifications.length,𝓛8745{Number}),𝓛8745{Number})
}
𝓟[ty]24{SimpleNotificationsComponent}.notifications.splice(𝓛8745{Number},𝓛8745{Number},𝓟57{item})
}
𝓟[ty]24{SimpleNotificationsComponent}.onCreate.emit(𝓟[ty]24{SimpleNotificationsComponent}.buildEmit(𝓟57{item},𝓛8744{Boolean}))
}
}
function 𝓟70{checkHtml} (𝓟71{checker}: [OOV]𝓟[ty]1{Notification},𝓟72{item}: [OOV]𝓟[ty]1{Notification}): (𝓟73: 𝓛[ty]8666{Boolean})
{
return 𝓟73 = (𝓟71{checker}.html ? 𝓛12592{AmpersandAmpersandToken}(𝓛12592{AmpersandAmpersandToken}(𝓛12592{AmpersandAmpersandToken}(𝓛12559{EqualsEqualsEqualsToken}(𝓟71{checker}.type,𝓟72{item}.type),𝓛12559{EqualsEqualsEqualsToken}(𝓟71{checker}.title,𝓟72{item}.title)),𝓛12559{EqualsEqualsEqualsToken}(𝓟71{checker}.content,𝓟72{item}.content)),𝓛12559{EqualsEqualsEqualsToken}(𝓟71{checker}.html,𝓟72{item}.html)) : 𝓛8744{Boolean}
}
}

Module: src/interfaces/notification-event.type

type 𝓟[ty]97{NotificationEvent} = {add: 𝓛[ty]8666{Boolean}, command: 𝓛[ty]10051{String}, id: 𝓛[ty]10051{String}, notification: 𝓟[ty]1{Notification}}

Module: src/index

function 𝓟98{CONSTRUCTOR} (): (𝓟[ty]104{SimpleNotificationsModule})
{
const 𝓟[ty]104{SimpleNotificationsModule};
const 𝓟[ty]104{SimpleNotificationsModule};
}
function 𝓟102{forRoot} (): (𝓟103: [OOV]𝓛[ty]2{<UNKNOWN>})
{
return 𝓟103 = {ngModule: 𝓛12643{undefined},providers: 𝓛8757{Array}(𝓛12643{undefined})}
}
class 𝓟[ty]104{SimpleNotificationsModule}{
}

Module: src/services/notifications.service.spec

function 𝓟106{$Lambda0} (): (𝓟107: [miss]𝓛[ty]10033{Void})
{
function 𝓟108{$Lambda1} (): (𝓟109: [miss]𝓛[ty]10033{Void})
{
𝓟358{TestBed}.configureTestingModule({declarations: 𝓛8757{Array}(),providers: 𝓛8757{Array}(𝓛12643{undefined})})
}
𝓛1{<UNKNOWN>}(𝓟108{$Lambda1})
let 𝓟110{defaultNotification}: [miss]𝓛[ty]8642{Object} = {createdOn: 𝓛8747{Date}.CONSTRUCTOR(),theClass: 𝓛8743{String},destroyedOn: 𝓛8747{Date}.CONSTRUCTOR(),icon: 𝓟282{defaultIcons}.success,rtl: 𝓛8744{Boolean},timeOut: 𝓛8745{Number},id: 𝓛8743{String},clickIconToClose: 𝓛8744{Boolean},clickToClose: 𝓛8744{Boolean},content: 𝓛8743{String},pauseOnHover: 𝓛8744{Boolean},title: 𝓛8743{String},type: 𝓛8743{String},animate: 𝓛8743{String},showProgressBar: 𝓛8744{Boolean},maxLength: 𝓛8745{Number}};
function 𝓟111{$Lambda2} (𝓟112{service}: 𝓟[ty]288{NotificationsService}): (𝓟113: [miss]𝓛[ty]10033{Void})
{
𝓛10036{expect}(𝓛1{<UNKNOWN>}(𝓟112{service},𝓛12643{undefined})).toBeTruthy()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟111{$Lambda2}))
function 𝓟114{$Lambda3} (𝓟115{service}: 𝓟[ty]288{NotificationsService}): (𝓟116: [miss]𝓛[ty]10033{Void})
{
let 𝓟117{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟118{$Lambda4} (𝓟119{item}): (𝓟120: [OOV]any)
{
return 𝓟120 = 𝓛1{<UNKNOWN>}(𝓟117{notificationEvent},𝓟119{item})
}
𝓟115{service}.emitter.subscribe(𝓟118{$Lambda4})
𝓟115{service}.set(𝓟110{defaultNotification},𝓛8744{Boolean})
𝓛10036{expect}(𝓟117{notificationEvent}.command).toBe(𝓛8743{String})
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟117{notificationEvent}.notification.id,𝓛8743{String})).toBeTruthy()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟114{$Lambda3}))
function 𝓟121{$Lambda5} (𝓟122{service}: 𝓟[ty]288{NotificationsService}): (𝓟123: [miss]𝓛[ty]10033{Void})
{
let 𝓟124{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
let 𝓟125{override}: [miss]𝓛[ty]8642{Object} = {id: 𝓛8743{String}};
function 𝓟126{$Lambda6} (𝓟127{item}): (𝓟128: [OOV]any)
{
return 𝓟128 = 𝓛1{<UNKNOWN>}(𝓟124{notificationEvent},𝓟127{item})
}
𝓟122{service}.emitter.subscribe(𝓟126{$Lambda6})
𝓟122{service}.set(𝓛8741{Object}.assign(𝓟110{defaultNotification},{override: 𝓟125{override}}),𝓛8744{Boolean})
𝓛10036{expect}(𝓟124{notificationEvent}.notification.id).toBe(𝓛8743{String})
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟121{$Lambda5}))
function 𝓟129{$Lambda7} (𝓟130{service}: 𝓟[ty]288{NotificationsService}): (𝓟131: [miss]𝓛[ty]10033{Void})
{
let 𝓟132{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟133{$Lambda8} (𝓟134{item}): (𝓟135: [OOV]any)
{
return 𝓟135 = 𝓛1{<UNKNOWN>}(𝓟132{notificationEvent},𝓟134{item})
}
𝓟130{service}.emitter.subscribe(𝓟133{$Lambda8})
let 𝓟136{notification}: [OOV]𝓟[ty]1{Notification} = 𝓟130{service}.success(𝓛8743{String},𝓛8743{String});
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟136{notification}.id,𝓛12643{undefined})).toBeTruthy()
𝓛10036{expect}(𝓟136{notification}.type).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟136{notification}.icon).toBe(𝓟282{defaultIcons}.success)
𝓛10036{expect}(𝓟136{notification}.title).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟136{notification}.content).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟136{notification}.override).toBeUndefined()
𝓛10036{expect}(𝓟136{notification}.html).toBeUndefined()
𝓛10036{expect}(𝓟136{notification}.state).toBeUndefined()
𝓛10036{expect}(𝓟136{notification}.createdOn).toBeUndefined()
𝓛10036{expect}(𝓟136{notification}.destroyedOn).toBeUndefined()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟129{$Lambda7}))
function 𝓟137{$Lambda9} (𝓟138{service}: 𝓟[ty]288{NotificationsService}): (𝓟139: [miss]𝓛[ty]10033{Void})
{
let 𝓟140{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟141{$Lambda10} (𝓟142{item}): (𝓟143: [OOV]any)
{
return 𝓟143 = 𝓛1{<UNKNOWN>}(𝓟140{notificationEvent},𝓟142{item})
}
𝓟138{service}.emitter.subscribe(𝓟141{$Lambda10})
let 𝓟144{notification}: [OOV]𝓟[ty]1{Notification} = 𝓟138{service}.error(𝓛8743{String},𝓛8743{String});
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟144{notification}.id,𝓛12643{undefined})).toBeTruthy()
𝓛10036{expect}(𝓟144{notification}.type).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟144{notification}.icon).toBe(𝓟282{defaultIcons}.error)
𝓛10036{expect}(𝓟144{notification}.title).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟144{notification}.content).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟144{notification}.override).toBeUndefined()
𝓛10036{expect}(𝓟144{notification}.html).toBeUndefined()
𝓛10036{expect}(𝓟144{notification}.state).toBeUndefined()
𝓛10036{expect}(𝓟144{notification}.createdOn).toBeUndefined()
𝓛10036{expect}(𝓟144{notification}.destroyedOn).toBeUndefined()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟137{$Lambda9}))
function 𝓟145{$Lambda11} (𝓟146{service}: 𝓟[ty]288{NotificationsService}): (𝓟147: [miss]𝓛[ty]10033{Void})
{
let 𝓟148{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟149{$Lambda12} (𝓟150{item}): (𝓟151: [OOV]any)
{
return 𝓟151 = 𝓛1{<UNKNOWN>}(𝓟148{notificationEvent},𝓟150{item})
}
𝓟146{service}.emitter.subscribe(𝓟149{$Lambda12})
let 𝓟152{notification}: [OOV]𝓟[ty]1{Notification} = 𝓟146{service}.alert(𝓛8743{String},𝓛8743{String});
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟152{notification}.id,𝓛12643{undefined})).toBeTruthy()
𝓛10036{expect}(𝓟152{notification}.type).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟152{notification}.icon).toBe(𝓟282{defaultIcons}.alert)
𝓛10036{expect}(𝓟152{notification}.title).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟152{notification}.content).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟152{notification}.override).toBeUndefined()
𝓛10036{expect}(𝓟152{notification}.html).toBeUndefined()
𝓛10036{expect}(𝓟152{notification}.state).toBeUndefined()
𝓛10036{expect}(𝓟152{notification}.createdOn).toBeUndefined()
𝓛10036{expect}(𝓟152{notification}.destroyedOn).toBeUndefined()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟145{$Lambda11}))
function 𝓟153{$Lambda13} (𝓟154{service}: 𝓟[ty]288{NotificationsService}): (𝓟155: [miss]𝓛[ty]10033{Void})
{
let 𝓟156{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟157{$Lambda14} (𝓟158{item}): (𝓟159: [OOV]any)
{
return 𝓟159 = 𝓛1{<UNKNOWN>}(𝓟156{notificationEvent},𝓟158{item})
}
𝓟154{service}.emitter.subscribe(𝓟157{$Lambda14})
let 𝓟160{notification}: [OOV]𝓟[ty]1{Notification} = 𝓟154{service}.info(𝓛8743{String},𝓛8743{String});
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟160{notification}.id,𝓛12643{undefined})).toBeTruthy()
𝓛10036{expect}(𝓟160{notification}.type).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟160{notification}.icon).toBe(𝓟282{defaultIcons}.info)
𝓛10036{expect}(𝓟160{notification}.title).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟160{notification}.content).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟160{notification}.override).toBeUndefined()
𝓛10036{expect}(𝓟160{notification}.html).toBeUndefined()
𝓛10036{expect}(𝓟160{notification}.state).toBeUndefined()
𝓛10036{expect}(𝓟160{notification}.createdOn).toBeUndefined()
𝓛10036{expect}(𝓟160{notification}.destroyedOn).toBeUndefined()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟153{$Lambda13}))
function 𝓟161{$Lambda15} (𝓟162{service}: 𝓟[ty]288{NotificationsService}): (𝓟163: [miss]𝓛[ty]10033{Void})
{
let 𝓟164{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟165{$Lambda16} (𝓟166{item}): (𝓟167: [OOV]any)
{
return 𝓟167 = 𝓛1{<UNKNOWN>}(𝓟164{notificationEvent},𝓟166{item})
}
𝓟162{service}.emitter.subscribe(𝓟165{$Lambda16})
let 𝓟168{notification}: [OOV]𝓟[ty]1{Notification} = 𝓟162{service}.warn(𝓛8743{String},𝓛8743{String});
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟168{notification}.id,𝓛12643{undefined})).toBeTruthy()
𝓛10036{expect}(𝓟168{notification}.type).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟168{notification}.icon).toBe(𝓟282{defaultIcons}.warn)
𝓛10036{expect}(𝓟168{notification}.title).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟168{notification}.content).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟168{notification}.override).toBeUndefined()
𝓛10036{expect}(𝓟168{notification}.html).toBeUndefined()
𝓛10036{expect}(𝓟168{notification}.state).toBeUndefined()
𝓛10036{expect}(𝓟168{notification}.createdOn).toBeUndefined()
𝓛10036{expect}(𝓟168{notification}.destroyedOn).toBeUndefined()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟161{$Lambda15}))
function 𝓟169{$Lambda17} (𝓟170{service}: 𝓟[ty]288{NotificationsService}): (𝓟171: [miss]𝓛[ty]10033{Void})
{
let 𝓟172{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟173{$Lambda18} (𝓟174{item}): (𝓟175: [OOV]any)
{
return 𝓟175 = 𝓛1{<UNKNOWN>}(𝓟172{notificationEvent},𝓟174{item})
}
𝓟170{service}.emitter.subscribe(𝓟173{$Lambda18})
let 𝓟176{notification}: [OOV]𝓟[ty]1{Notification} = 𝓟170{service}.bare(𝓛8743{String},𝓛8743{String});
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟176{notification}.id,𝓛12643{undefined})).toBeTruthy()
𝓛10036{expect}(𝓟176{notification}.type).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟176{notification}.icon).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟176{notification}.title).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟176{notification}.content).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟176{notification}.override).toBeUndefined()
𝓛10036{expect}(𝓟176{notification}.html).toBeUndefined()
𝓛10036{expect}(𝓟176{notification}.state).toBeUndefined()
𝓛10036{expect}(𝓟176{notification}.createdOn).toBeUndefined()
𝓛10036{expect}(𝓟176{notification}.destroyedOn).toBeUndefined()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟169{$Lambda17}))
function 𝓟177{$Lambda19} (𝓟178{service}: 𝓟[ty]288{NotificationsService}): (𝓟179: [miss]𝓛[ty]10033{Void})
{
let 𝓟180{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟181{$Lambda20} (𝓟182{item}): (𝓟183: [OOV]any)
{
return 𝓟183 = 𝓛1{<UNKNOWN>}(𝓟180{notificationEvent},𝓟182{item})
}
𝓟178{service}.emitter.subscribe(𝓟181{$Lambda20})
let 𝓟184{notification}: [OOV]𝓟[ty]1{Notification} = 𝓟178{service}.create(𝓛8743{String},𝓛8743{String},𝓛8743{String});
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟184{notification}.id,𝓛12643{undefined})).toBeTruthy()
𝓛10036{expect}(𝓟184{notification}.type).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟184{notification}.title).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟184{notification}.content).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟184{notification}.override).toBeUndefined()
𝓛10036{expect}(𝓟184{notification}.html).toBeUndefined()
𝓛10036{expect}(𝓟184{notification}.state).toBeUndefined()
𝓛10036{expect}(𝓟184{notification}.createdOn).toBeUndefined()
𝓛10036{expect}(𝓟184{notification}.destroyedOn).toBeUndefined()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟177{$Lambda19}))
function 𝓟185{$Lambda21} (𝓟186{service}: 𝓟[ty]288{NotificationsService}): (𝓟187: [miss]𝓛[ty]10033{Void})
{
let 𝓟188{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟189{$Lambda22} (𝓟190{item}): (𝓟191: [OOV]any)
{
return 𝓟191 = 𝓛1{<UNKNOWN>}(𝓟188{notificationEvent},𝓟190{item})
}
𝓟186{service}.emitter.subscribe(𝓟189{$Lambda22})
let 𝓟192{notification}: [OOV]𝓟[ty]1{Notification} = 𝓟186{service}.html(𝓛8743{String},𝓛8743{String});
𝓛10036{expect}(𝓛12612{ExclamationEqualsEqualsToken}(𝓟192{notification}.id,𝓛12643{undefined})).toBeTruthy()
𝓛10036{expect}(𝓟192{notification}.type).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟192{notification}.icon).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟192{notification}.title).toBeUndefined()
𝓛10036{expect}(𝓟192{notification}.content).toBeUndefined()
𝓛10036{expect}(𝓟192{notification}.override).toBeUndefined()
𝓛10036{expect}(𝓟192{notification}.html).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟192{notification}.state).toBeUndefined()
𝓛10036{expect}(𝓟192{notification}.createdOn).toBeUndefined()
𝓛10036{expect}(𝓟192{notification}.destroyedOn).toBeUndefined()
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟185{$Lambda21}))
function 𝓟193{$Lambda23} (𝓟194{service}: 𝓟[ty]288{NotificationsService}): (𝓟195: [miss]𝓛[ty]10033{Void})
{
let 𝓟196{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟197{$Lambda24} (𝓟198{item}): (𝓟199: [OOV]any)
{
return 𝓟199 = 𝓛1{<UNKNOWN>}(𝓟196{notificationEvent},𝓟198{item})
}
𝓟194{service}.emitter.subscribe(𝓟197{$Lambda24})
𝓟194{service}.remove()
𝓛10036{expect}(𝓟196{notificationEvent}.command).toBe(𝓛8743{String})
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟193{$Lambda23}))
function 𝓟200{$Lambda25} (𝓟201{service}: 𝓟[ty]288{NotificationsService}): (𝓟202: [miss]𝓛[ty]10033{Void})
{
let 𝓟203{notificationEvent}: [OOV]𝓟[ty]97{NotificationEvent} = 𝓛12643{undefined};
function 𝓟204{$Lambda26} (𝓟205{item}): (𝓟206: [OOV]any)
{
return 𝓟206 = 𝓛1{<UNKNOWN>}(𝓟203{notificationEvent},𝓟205{item})
}
𝓟201{service}.emitter.subscribe(𝓟204{$Lambda26})
𝓟201{service}.remove(𝓛8743{String})
𝓛10036{expect}(𝓟203{notificationEvent}.command).toBe(𝓛8743{String})
𝓛10036{expect}(𝓟203{notificationEvent}.id).toBe(𝓛8743{String})
}
𝓛10038{it}(𝓛8743{String},𝓟357{inject}(𝓛8757{Array}(𝓛12643{undefined}),𝓟200{$Lambda25}))
}
𝓛10037{describe}(𝓛8743{String},𝓟106{$Lambda0})

Module: src/components/notification/notification.component

function 𝓟207{CONSTRUCTOR} (𝓟208{notificationService}: 𝓟[ty]288{NotificationsService},𝓟209{domSanitizer}: [OOV]𝓛[ty]2{<UNKNOWN>},𝓟210{cdr}: [OOV]𝓛[ty]2{<UNKNOWN>},𝓟211{zone}: [OOV]𝓛[ty]2{<UNKNOWN>}): (𝓟[ty]219{NotificationComponent})
{
const 𝓟[ty]219{NotificationComponent};
const 𝓟[ty]219{NotificationComponent};
function 𝓟215{$Lambda30} (): (𝓟216: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]219{NotificationComponent}.diff𝓛12616{MinusToken}(𝓛12616{MinusToken}(𝓛8747{Date}.CONSTRUCTOR().getTime(),𝓟[ty]219{NotificationComponent}.start),𝓛12548{AsteriskToken}(𝓟[ty]219{NotificationComponent}.count,𝓟[ty]219{NotificationComponent}.speed));
if (𝓛12559{EqualsEqualsEqualsToken}(𝓛12556{POST_PlusPlusToken}(𝓟[ty]219{NotificationComponent}.count),𝓟[ty]219{NotificationComponent}.steps))
{
𝓟[ty]219{NotificationComponent}.remove()
𝓟[ty]219{NotificationComponent}.item.timeoutEnd.emit()
}
else
{
if (𝓛12569{ExclamationToken}(𝓟[ty]219{NotificationComponent}.stopTime))
{
if (𝓟[ty]219{NotificationComponent}.showProgressBar)
{
𝓛12564{FirstCompoundAssignment}(𝓟[ty]219{NotificationComponent}.progressWidth,𝓛12573{SlashToken}(𝓛8745{Number},𝓟[ty]219{NotificationComponent}.steps))
}
𝓟[ty]219{NotificationComponent}.timer𝓛12490{setTimeout}(𝓟[ty]219{NotificationComponent}.instance,𝓛12616{MinusToken}(𝓟[ty]219{NotificationComponent}.speed,𝓟[ty]219{NotificationComponent}.diff));
}
}
function 𝓟217{$Lambda31} (): (𝓟218: [OOV]any)
{
return 𝓟218 = 𝓟[ty]219{NotificationComponent}.cdr.detectChanges()
}
𝓟[ty]219{NotificationComponent}.zone.run(𝓟217{$Lambda31})
}
𝓟[ty]219{NotificationComponent}.count𝓛8745{Number};
𝓟[ty]219{NotificationComponent}.stopTime𝓛8744{Boolean};
𝓟[ty]219{NotificationComponent}.titleIsTemplate𝓛8744{Boolean};
𝓟[ty]219{NotificationComponent}.contentIsTemplate𝓛8744{Boolean};
𝓟[ty]219{NotificationComponent}.instance𝓟215{$Lambda30};
𝓟[ty]219{NotificationComponent}.progressWidth𝓛8745{Number};
𝓟[ty]219{NotificationComponent}.htmlIsTemplate𝓛8744{Boolean};
}
class 𝓟[ty]219{NotificationComponent} extends 𝓛[ty]2{<UNKNOWN>}{
𝓟221{safeSvg}: [OOV]𝓛[ty]2{<UNKNOWN>};
𝓟222{count}: [miss]𝓛[ty]8655{Number};
𝓟223{theClass}: 𝓛[ty]10051{String};
𝓟224{titleIsTemplate}: [miss]𝓛[ty]8666{Boolean};
𝓟225{icon}: 𝓛[ty]10051{String};
𝓟226{contentIsTemplate}: [miss]𝓛[ty]8666{Boolean};
𝓟227{instance}: [miss]𝓛[ty]8696{Function};
𝓟228{rtl}: 𝓛[ty]8666{Boolean};
𝓟229{timeOut}: 𝓛[ty]8655{Number};
𝓟230{clickIconToClose}: 𝓛[ty]8666{Boolean};
𝓟231{diff}: [OOV]any;
𝓟232{clickToClose}: 𝓛[ty]8666{Boolean};
𝓟233{content}: [OOV]any;
𝓟234{position}: (𝓛[ty]8670{Array} ≠ 𝓛[ty]8655{Number});
𝓟235{pauseOnHover}: 𝓛[ty]8666{Boolean};
𝓟236{steps}: 𝓛[ty]8655{Number};
𝓟237{title}: [OOV]any;
𝓟238{start}: [OOV]any;
𝓟239{htmlIsTemplate}: [miss]𝓛[ty]8666{Boolean};
𝓟240{progressWidth}: [miss]𝓛[ty]8655{Number};
𝓟241{animate}: 𝓛[ty]10051{String};
𝓟242{showProgressBar}: 𝓛[ty]8666{Boolean};
𝓟243{maxLength}: 𝓛[ty]8655{Number};
𝓟244{timer}: [OOV]any;
𝓟245{speed}: 𝓛[ty]8655{Number};
𝓟246{stopTime}: [miss]𝓛[ty]8666{Boolean};
𝓟247{item}: [OOV]𝓟[ty]1{Notification};
function 𝓟263{onClickIcon} (𝓟264{$e}: (𝓛[ty]10051{String} ≠ 𝓛[ty]10818{MouseEvent})): (𝓟265: 𝓛[ty]10033{Void})
{
𝓟[ty]219{NotificationComponent}.item.clickIcon.emit(𝓟264{$e})
if (𝓟[ty]219{NotificationComponent}.clickIconToClose)
{
𝓟[ty]219{NotificationComponent}.remove()
}
}
function 𝓟260{onClick} (𝓟261{$e}: (𝓛[ty]10051{String} ≠ 𝓛[ty]10818{MouseEvent})): (𝓟262: 𝓛[ty]10033{Void})
{
𝓟[ty]219{NotificationComponent}.item.click.emit(𝓟261{$e})
if (𝓟[ty]219{NotificationComponent}.clickToClose)
{
𝓟[ty]219{NotificationComponent}.remove()
}
}
function 𝓟250{startTimeOut} (): (𝓟251: 𝓛[ty]10033{Void})
{
𝓟[ty]219{NotificationComponent}.steps𝓛12573{SlashToken}(𝓟[ty]219{NotificationComponent}.timeOut,𝓛8745{Number});
𝓟[ty]219{NotificationComponent}.speed𝓛12573{SlashToken}(𝓟[ty]219{NotificationComponent}.timeOut,𝓟[ty]219{NotificationComponent}.steps);
𝓟[ty]219{NotificationComponent}.start𝓛8747{Date}.CONSTRUCTOR().getTime();
function 𝓟252{$Lambda27} (): (𝓟253: [miss]𝓛[ty]8655{Number})
{
return 𝓟253 = 𝓛1{<UNKNOWN>}(𝓟[ty]219{NotificationComponent}.timer,𝓛12490{setTimeout}(𝓟[ty]219{NotificationComponent}.instance,𝓟[ty]219{NotificationComponent}.speed))
}
𝓟[ty]219{NotificationComponent}.zone.runOutsideAngular(𝓟252{$Lambda27})
}
function 𝓟256{onLeave} (): (𝓟257: 𝓛[ty]10033{Void})
{
if (𝓟[ty]219{NotificationComponent}.pauseOnHover)
{
𝓟[ty]219{NotificationComponent}.stopTime𝓛8744{Boolean};
function 𝓟258{$Lambda28} (): (𝓟259: [miss]𝓛[ty]8655{Number})
{
return 𝓟259 = 𝓛12490{setTimeout}(𝓟[ty]219{NotificationComponent}.instance,𝓛12616{MinusToken}(𝓟[ty]219{NotificationComponent}.speed,𝓟[ty]219{NotificationComponent}.diff))
}
𝓟[ty]219{NotificationComponent}.zone.runOutsideAngular(𝓟258{$Lambda28})
}
}
function 𝓟277{contentType} (𝓟278{item}: [OOV]any,𝓟279{key}: 𝓛[ty]10051{String}): (𝓟280: [miss]𝓛[ty]10033{Void})
{
if (𝓛1{<UNKNOWN>}(𝓟278{item},𝓟360{TemplateRef}))
{
𝓟[ty]219{NotificationComponent}.access(𝓟279{key})𝓟278{item};
}
else
{
𝓟[ty]219{NotificationComponent}.access(𝓟279{key})𝓟[ty]219{NotificationComponent}.domSanitizer.bypassSecurityTrustHtml(𝓟278{item});
}
𝓟[ty]219{NotificationComponent}.access(𝓛12641{PlusToken}(𝓟279{key},𝓛8743{String}))𝓛1{<UNKNOWN>}(𝓟278{item},𝓟360{TemplateRef});
}
function 𝓟273{remove} (): (𝓟274: [miss]𝓛[ty]10033{Void})
{
if (𝓟[ty]219{NotificationComponent}.animate)
{
𝓟[ty]219{NotificationComponent}.item.state𝓛12641{PlusToken}(𝓟[ty]219{NotificationComponent}.animate,𝓛8743{String});
function 𝓟275{$Lambda32} (): (𝓟276: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]219{NotificationComponent}.notificationService.set(𝓟[ty]219{NotificationComponent}.item,𝓛8744{Boolean})
}
𝓛12490{setTimeout}(𝓟275{$Lambda32},𝓛8745{Number})
}
else
{
𝓟[ty]219{NotificationComponent}.notificationService.set(𝓟[ty]219{NotificationComponent}.item,𝓛8744{Boolean})
}
}
function 𝓟266{attachOverrides} (): (𝓟267: 𝓛[ty]10033{Void})
{
function 𝓟268{$Lambda29} (𝓟269{a}): (𝓟270: [miss]𝓛[ty]10033{Void})
{
if (𝓟[ty]219{NotificationComponent}.hasOwnProperty(𝓟269{a}))
{
𝓟[ty]219{NotificationComponent} as any.access(𝓟269{a})𝓟[ty]219{NotificationComponent}.item.override.access(𝓟269{a});
}
}
𝓛8741{Object}.keys(𝓟[ty]219{NotificationComponent}.item.override).forEach(𝓟268{$Lambda29})
}
function 𝓟254{onEnter} (): (𝓟255: 𝓛[ty]10033{Void})
{
if (𝓟[ty]219{NotificationComponent}.pauseOnHover)
{
𝓟[ty]219{NotificationComponent}.stopTime𝓛8744{Boolean};
}
}
function 𝓟248{ngOnInit} (): (𝓟249: 𝓛[ty]10033{Void})
{
if (𝓟[ty]219{NotificationComponent}.item.override)
{
𝓟[ty]219{NotificationComponent}.attachOverrides()
}
if (𝓟[ty]219{NotificationComponent}.animate)
{
𝓟[ty]219{NotificationComponent}.item.state𝓟[ty]219{NotificationComponent}.animate;
}
if (𝓛12612{ExclamationEqualsEqualsToken}(𝓟[ty]219{NotificationComponent}.timeOut,𝓛8745{Number}))
{
𝓟[ty]219{NotificationComponent}.startTimeOut()
}
𝓟[ty]219{NotificationComponent}.contentType(𝓟[ty]219{NotificationComponent}.item.title,𝓛8743{String})
𝓟[ty]219{NotificationComponent}.contentType(𝓟[ty]219{NotificationComponent}.item.content,𝓛8743{String})
𝓟[ty]219{NotificationComponent}.contentType(𝓟[ty]219{NotificationComponent}.item.html,𝓛8743{String})
𝓟[ty]219{NotificationComponent}.safeSvg𝓟[ty]219{NotificationComponent}.domSanitizer.bypassSecurityTrustHtml(𝓛12546{BarBarToken}(𝓟[ty]219{NotificationComponent}.icon,𝓟[ty]219{NotificationComponent}.item.icon));
}
function 𝓟271{ngOnDestroy} (): (𝓟272: 𝓛[ty]10033{Void})
{
𝓛12465{clearTimeout}(𝓟[ty]219{NotificationComponent}.timer)
}
}

Module: src/interfaces/icons

type 𝓟[ty]281{Icons} = {success: 𝓛[ty]10051{String}, warn: 𝓛[ty]10051{String}, alert: 𝓛[ty]10051{String}, info: 𝓛[ty]10051{String}, error: 𝓛[ty]10051{String}}
const 𝓟282{defaultIcons}: [OOV]𝓟[ty]281{Icons} = {success: 𝓛8743{String},warn: 𝓛8743{String},alert: 𝓛8743{String},info: 𝓛8743{String},error: 𝓛8743{String}};

Module: src/interfaces/options.type

type 𝓟[ty]283{Options} = {theClass: 𝓛[ty]10051{String}, preventLastDuplicates: any, maxStack: 𝓛[ty]8655{Number}, preventDuplicates: 𝓛[ty]8666{Boolean}, rtl: 𝓛[ty]8666{Boolean}, icons: 𝓟[ty]281{Icons}, timeOut: 𝓛[ty]8655{Number}, clickIconToClose: 𝓛[ty]8666{Boolean}, clickToClose: 𝓛[ty]8666{Boolean}, position: 𝓛[ty]8670{Array}, pauseOnHover: 𝓛[ty]8666{Boolean}, animate: any, showProgressBar: 𝓛[ty]8666{Boolean}, maxLength: 𝓛[ty]8655{Number}, lastOnBottom: 𝓛[ty]8666{Boolean}}

Module: src/services/notifications.service

function 𝓟284{CONSTRUCTOR} (): (𝓟[ty]288{NotificationsService})
{
const 𝓟[ty]288{NotificationsService};
const 𝓟[ty]288{NotificationsService};
𝓟[ty]288{NotificationsService}.emitter𝓟369{Subject}.CONSTRUCTOR();
𝓟[ty]288{NotificationsService}.icons𝓟282{defaultIcons};
}
class 𝓟[ty]288{NotificationsService}{
𝓟290{emitter};
𝓟291{icons}: [OOV]𝓟[ty]281{Icons};
function 𝓟296{success} (𝓟297{title}: [OOV]any,𝓟298{content}: [OOV]any,𝓟299{override}: [OOV]any): (𝓟300: [OOV]𝓟[ty]1{Notification})
{
return 𝓟300 = 𝓟[ty]288{NotificationsService}.set({icon: 𝓟[ty]288{NotificationsService}.icons.success,override: 𝓟299{override},content: 𝓛12546{BarBarToken}(𝓟298{content},𝓛8743{String}),title: 𝓟297{title},type: 𝓛8743{String}},𝓛8744{Boolean})
}
function 𝓟316{warn} (𝓟317{title}: [OOV]any,𝓟318{content}: [OOV]any,𝓟319{override}: [OOV]any): (𝓟320: [OOV]𝓟[ty]1{Notification})
{
return 𝓟320 = 𝓟[ty]288{NotificationsService}.set({icon: 𝓟[ty]288{NotificationsService}.icons.warn,override: 𝓟319{override},content: 𝓛12546{BarBarToken}(𝓟318{content},𝓛8743{String}),title: 𝓟317{title},type: 𝓛8743{String}},𝓛8744{Boolean})
}
function 𝓟306{alert} (𝓟307{title}: [OOV]any,𝓟308{content}: [OOV]any,𝓟309{override}: [OOV]any): (𝓟310: [OOV]𝓟[ty]1{Notification})
{
return 𝓟310 = 𝓟[ty]288{NotificationsService}.set({icon: 𝓟[ty]288{NotificationsService}.icons.alert,override: 𝓟309{override},content: 𝓛12546{BarBarToken}(𝓟308{content},𝓛8743{String}),title: 𝓟307{title},type: 𝓛8743{String}},𝓛8744{Boolean})
}
function 𝓟292{set} (𝓟293{notification}: [OOV]𝓟[ty]1{Notification},𝓟294{to}: (𝓛[ty]10051{String} ≠ 𝓛[ty]8666{Boolean})): (𝓟295: [OOV]𝓟[ty]1{Notification})
{
𝓟293{notification}.id(𝓛12592{AmpersandAmpersandToken}(𝓟293{notification}.override,𝓟293{notification}.override.id) ? 𝓟293{notification}.override.id : 𝓛8746{Math}.random().toString(𝓛8745{Number}).substring(𝓛8745{Number});
𝓟293{notification}.click𝓟341{EventEmitter}.CONSTRUCTOR();
𝓟293{notification}.timeoutEnd𝓟341{EventEmitter}.CONSTRUCTOR();
𝓟[ty]288{NotificationsService}.emitter.next({command: 𝓛8743{String},notification: 𝓟293{notification},add: 𝓟294{to}})
return 𝓟295 = 𝓟293{notification}
}
function 𝓟326{create} (𝓟327{title}: [OOV]any,𝓟328{content}: [OOV]any,𝓟329{type},𝓟330{override}: [OOV]any): (𝓟331: [OOV]𝓟[ty]1{Notification})
{
return 𝓟331 = 𝓟[ty]288{NotificationsService}.set({icon: 𝓟[ty]288{NotificationsService}.icons as any.access(𝓟329{type}),override: 𝓟330{override},content: 𝓟328{content},title: 𝓟327{title},type: 𝓟329{type}},𝓛8744{Boolean})
}
function 𝓟311{info} (𝓟312{title}: [OOV]any,𝓟313{content}: [OOV]any,𝓟314{override}: [OOV]any): (𝓟315: [OOV]𝓟[ty]1{Notification})
{
return 𝓟315 = 𝓟[ty]288{NotificationsService}.set({icon: 𝓟[ty]288{NotificationsService}.icons.info,override: 𝓟314{override},content: 𝓛12546{BarBarToken}(𝓟313{content},𝓛8743{String}),title: 𝓟312{title},type: 𝓛8743{String}},𝓛8744{Boolean})
}
function 𝓟338{remove} (𝓟339{id}: 𝓛[ty]10051{String}): (𝓟340: 𝓛[ty]10033{Void})
{
if (𝓟339{id})
{
𝓟[ty]288{NotificationsService}.emitter.next({command: 𝓛8743{String},id: 𝓟339{id}})
}
else
{
𝓟[ty]288{NotificationsService}.emitter.next({command: 𝓛8743{String}})
}
}
function 𝓟301{error} (𝓟302{title}: [OOV]any,𝓟303{content}: [OOV]any,𝓟304{override}: [OOV]any): (𝓟305: [OOV]𝓟[ty]1{Notification})
{
return 𝓟305 = 𝓟[ty]288{NotificationsService}.set({icon: 𝓟[ty]288{NotificationsService}.icons.error,override: 𝓟304{override},content: 𝓛12546{BarBarToken}(𝓟303{content},𝓛8743{String}),title: 𝓟302{title},type: 𝓛8743{String}},𝓛8744{Boolean})
}
function 𝓟321{bare} (𝓟322{title}: [OOV]any,𝓟323{content}: [OOV]any,𝓟324{override}: [OOV]any): (𝓟325: [OOV]𝓟[ty]1{Notification})
{
return 𝓟325 = 𝓟[ty]288{NotificationsService}.set({icon: 𝓛8743{String},override: 𝓟324{override},content: 𝓛12546{BarBarToken}(𝓟323{content},𝓛8743{String}),title: 𝓟322{title},type: 𝓛8743{String}},𝓛8744{Boolean})
}
function 𝓟332{html} (𝓟333{html}: [OOV]any,𝓟334{type},𝓟335{override}: [OOV]any,𝓟336{icon}): (𝓟337: [OOV]𝓟[ty]1{Notification})
{
return 𝓟337 = 𝓟[ty]288{NotificationsService}.set({html: 𝓟333{html},type: 𝓟334{type},icon: 𝓟[ty]288{NotificationsService}.icons as any.access(𝓟336{icon}),override: 𝓟335{override}},𝓛8744{Boolean})
}
}