LibAcc: 0.9268=38/41, ProjAcc: 1.0000=0/0, Missing: 165


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}: [OOV]π“Ÿ[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]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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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}: [OOV]π“Ÿ[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]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})
}
}