LibAcc: 0.8523=75/88, ProjAcc: 1.0000=0/0, Missing: 263
Module: src/snotify/decorators/transform-argument.decorator
function 𝓟3{TransformArgument} (𝓟4{target}: [OOV]any,𝓟5{propertyKey}: [OOV]𝓛[ty]0{ANY},𝓟6{descriptor}: (𝓛[ty]8642{Object} ≠ 𝓛[ty]8633{PropertyDescriptor})): (𝓟7: [miss]𝓛[ty]8642{Object})
{
if (𝓟5{propertyKey}.EqualsEqualsEqualsToken(𝓟163{SnotifyStyle}.async))
{
function 𝓟8{$Lambda47} (𝓟9{args}: 𝓛[ty]8670{Array}): (𝓟10: [OOV]any)
{
let 𝓟11{result};
if (𝓟9{args}.length.EqualsEqualsEqualsToken(𝓛8745{Number}))
{
𝓟11{result} ⟵ {title: 𝓛12563{undefined},body: 𝓟9{args}.access(𝓛8745{Number}),config: 𝓛12563{undefined},action: 𝓟9{args}.access(𝓛8745{Number})};
}
else
{
if (𝓟9{args}.length.EqualsEqualsEqualsToken(𝓛8745{Number}))
{
if (𝓛12550{$TypeOf}(𝓟9{args}.access(𝓛8745{Number})).EqualsEqualsEqualsToken(𝓛8743{String}))
{
𝓟11{result} ⟵ {title: 𝓟9{args}.access(𝓛8745{Number}),body: 𝓟9{args}.access(𝓛8745{Number}),config: 𝓛12563{undefined},action: 𝓟9{args}.access(𝓛8745{Number})};
}
else
{
𝓟11{result} ⟵ {title: 𝓛12563{undefined},body: 𝓟9{args}.access(𝓛8745{Number}),config: 𝓟9{args}.access(𝓛8745{Number}),action: 𝓟9{args}.access(𝓛8745{Number})};
}
}
else
{
𝓟11{result} ⟵ {title: 𝓟9{args}.access(𝓛8745{Number}),body: 𝓟9{args}.access(𝓛8745{Number}),config: 𝓟9{args}.access(𝓛8745{Number}),action: 𝓟9{args}.access(𝓛8745{Number})};
}
}
return 𝓟10 = 𝓟6{descriptor}.value.apply(𝓛12545{this},𝓛8757{Array}(𝓟11{result} as 𝓟[ty]1868{Snotify}))
}
return 𝓟7 = {value: 𝓟8{$Lambda47}}
}
else
{
function 𝓟12{$Lambda48} (𝓟13{args}: 𝓛[ty]8670{Array}): (𝓟14: [OOV]any)
{
let 𝓟15{result};
if (𝓟13{args}.length.EqualsEqualsEqualsToken(𝓛8745{Number}))
{
𝓟15{result} ⟵ {title: 𝓛12563{undefined},body: 𝓟13{args}.access(𝓛8745{Number}),config: 𝓛12563{undefined}};
}
else
{
if (𝓟13{args}.length.EqualsEqualsEqualsToken(𝓛8745{Number}))
{
𝓟15{result} ⟵ {title: 𝓟13{args}.access(𝓛8745{Number}),body: 𝓟13{args}.access(𝓛8745{Number}),config: 𝓟13{args}.access(𝓛8745{Number})};
}
else
{
𝓟15{result} ⟵ {title: 𝓛12563{undefined},config: 𝓛12563{undefined},body: 𝓟13{args}.access(𝓛8745{Number}),[typeof args[1] === 'string' ? 'title' : 'config']: 𝓟13{args}.access(𝓛8745{Number})};
}
}
return 𝓟14 = 𝓟6{descriptor}.value.apply(𝓛12545{this},𝓛8757{Array}(𝓟15{result} as 𝓟[ty]1868{Snotify}))
}
return 𝓟7 = {value: 𝓟12{$Lambda48}}
}
}
Module: src/snotify/pipes/keys.pipe
function 𝓟16{CONSTRUCTOR} (): (𝓟[ty]20{KeysPipe})
{
const 𝓟[ty]20{KeysPipe};
const 𝓟[ty]20{KeysPipe};
}
class 𝓟[ty]20{KeysPipe} extends 𝓛[ty]2{<UNKNOWN>}{
function 𝓟22{transform} (𝓟23{value}: [OOV]any,𝓟24{args}: (𝓛[ty]8642{Object} ≠ 𝓛[ty]8670{Array})): (𝓟25: [OOV]any)
{
if (𝓛12548{ExclamationToken}(𝓟23{value}))
{
return 𝓟25 = 𝓟23{value}
}
return 𝓟25 = 𝓛8741{Object}.keys(𝓟23{value})
}
}
Module: example/environments/environment.prod
const 𝓟26{environment}: [miss]𝓛[ty]8642{Object} = {production: 𝓛8744{Boolean}};
Module: src/index
function 𝓟27{CONSTRUCTOR} (): (𝓟[ty]33{SnotifyModule})
{
const 𝓟[ty]33{SnotifyModule};
const 𝓟[ty]33{SnotifyModule};
}
function 𝓟31{forRoot} (): (𝓟32: [OOV]𝓛[ty]2{<UNKNOWN>})
{
return 𝓟32 = {ngModule: 𝓛12563{undefined},providers: 𝓛8757{Array}(𝓛12563{undefined})}
}
class 𝓟[ty]33{SnotifyModule}{
}
Module: example/polyfills
Module: example/app/app.component.spec
function 𝓟35{$Lambda5} (): (𝓟36: [miss]𝓛[ty]10033{Void})
{
function 𝓟37{$Lambda6} (): (𝓟38: [miss]𝓛[ty]10033{Void})
{
𝓟677{TestBed}.configureTestingModule({imports: 𝓛8757{Array}(𝓟676{FormsModule},𝓛12563{undefined}),declarations: 𝓛8757{Array}(𝓛12563{undefined}),providers: 𝓛8757{Array}({provide: 𝓛8743{String},useValue: 𝓟361{ToastDefaults}},𝓛12563{undefined})})
}
𝓛1{<UNKNOWN>}(𝓟37{$Lambda6})
function 𝓟39{$Lambda7} (𝓟40{done}): (𝓟41: [miss]𝓛[ty]10033{Void})
{
const 𝓟42{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟43{app} = 𝓟42{fixture}.debugElement.componentInstance;
𝓛10036{expect}(𝓟43{app}).toBeTruthy()
𝓟40{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟39{$Lambda7})
function 𝓟44{$Lambda8} (𝓟45{done}): (𝓟46: [miss]𝓛[ty]10033{Void})
{
const 𝓟47{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
𝓟47{fixture}.detectChanges()
const 𝓟48{compiled} = 𝓟47{fixture}.debugElement.nativeElement;
𝓛10036{expect}(𝓟48{compiled}.querySelector(𝓛8743{String}).textContent).toContain(𝓛8743{String})
𝓟45{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟44{$Lambda8})
function 𝓟49{$Lambda9} (𝓟50{done}): (𝓟51: [miss]𝓛[ty]10033{Void})
{
const 𝓟52{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟53{app} = 𝓟52{fixture}.debugElement.componentInstance;
const 𝓟54{service}: [OOV]𝓟[ty]458{SnotifyService} = 𝓟52{fixture}.debugElement.injector.get(𝓛12563{undefined});
𝓟52{fixture}.detectChanges()
𝓛10036{expect}(𝓟54{service}.config).toEqual(𝓛1{<UNKNOWN>}.objectContaining(𝓟361{ToastDefaults}))
𝓟50{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟49{$Lambda9})
function 𝓟55{$Lambda10} (𝓟56{done}): (𝓟57: [miss]𝓛[ty]10033{Void})
{
const 𝓟58{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟59{app} = 𝓟58{fixture}.debugElement.componentInstance;
const 𝓟60{service}: [OOV]𝓟[ty]458{SnotifyService} = 𝓟58{fixture}.debugElement.injector.get(𝓛12563{undefined});
𝓟58{fixture}.detectChanges()
const 𝓟61{compiled} = 𝓟58{fixture}.debugElement.nativeElement;
𝓟60{service}.success(𝓛8743{String})
𝓟58{fixture}.detectChanges()
𝓛10036{expect}(𝓟61{compiled}.querySelector(𝓛8743{String}).textContent).toContain(𝓛8743{String})
𝓟56{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟55{$Lambda10})
function 𝓟62{$Lambda11} (𝓟63{done}): (𝓟64: [miss]𝓛[ty]10033{Void})
{
const 𝓟65{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟66{app} = 𝓟65{fixture}.debugElement.componentInstance;
const 𝓟67{service}: [OOV]𝓟[ty]458{SnotifyService} = 𝓟65{fixture}.debugElement.injector.get(𝓛12563{undefined});
𝓟65{fixture}.detectChanges()
const 𝓟68{compiled} = 𝓟65{fixture}.debugElement.nativeElement;
𝓟67{service}.simple(𝓛8743{String},𝓛8743{String})
𝓟65{fixture}.detectChanges()
𝓛10036{expect}(𝓟68{compiled}.querySelector(𝓛8743{String}).textContent).toContain(𝓛8743{String})
𝓛10036{expect}(𝓟68{compiled}.querySelector(𝓛8743{String}).textContent).toContain(𝓛8743{String})
𝓟63{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟62{$Lambda11})
function 𝓟69{$Lambda12} (𝓟70{done}): (𝓟71: [miss]𝓛[ty]10033{Void})
{
let 𝓟72{result} = 𝓛12563{undefined};
const 𝓟73{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟74{app} = 𝓟73{fixture}.debugElement.componentInstance;
const 𝓟75{service}: [OOV]𝓟[ty]458{SnotifyService} = 𝓟73{fixture}.debugElement.injector.get(𝓛12563{undefined});
𝓟73{fixture}.detectChanges()
const 𝓟76{compiled} = 𝓟73{fixture}.debugElement.nativeElement;
function 𝓟77{$Lambda13} (𝓟78{id}): (𝓟79: [OOV]any)
{
return 𝓟79 = 𝓟72{result}.FirstAssignment(𝓟78{id})
}
const 𝓟80{toastID} = 𝓟75{service}.confirm(𝓛8743{String},𝓛12563{undefined},{buttons: 𝓛8757{Array}({text: 𝓛8743{String},action: 𝓟77{$Lambda13}})});
𝓟73{fixture}.detectChanges()
𝓟76{compiled}.querySelector(𝓛8743{String}).click()
𝓛10036{expect}(𝓟72{result}).toEqual(𝓟80{toastID})
𝓟70{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟69{$Lambda12})
function 𝓟81{$Lambda14} (𝓟82{done}): (𝓟83: [miss]𝓛[ty]10033{Void})
{
const 𝓟84{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟85{app} = 𝓟84{fixture}.debugElement.componentInstance;
const 𝓟86{service}: [OOV]𝓟[ty]458{SnotifyService} = 𝓟84{fixture}.debugElement.injector.get(𝓛12563{undefined});
𝓟84{fixture}.detectChanges()
const 𝓟87{compiled} = 𝓟84{fixture}.debugElement.nativeElement;
𝓟86{service}.prompt(𝓛8743{String},𝓛12563{undefined},{buttons: 𝓛8757{Array}({text: 𝓛8743{String}},{text: 𝓛8743{String}},{text: 𝓛8743{String}},{text: 𝓛8743{String}})})
𝓟84{fixture}.detectChanges()
𝓛10036{expect}(𝓟87{compiled}.querySelectorAll(𝓛8743{String}).length).toEqual(𝓛8745{Number})
𝓟82{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟81{$Lambda14})
function 𝓟88{$Lambda15} (𝓟89{done}): (𝓟90: [miss]𝓛[ty]10033{Void})
{
const 𝓟91{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟92{app} = 𝓟91{fixture}.debugElement.componentInstance;
const 𝓟93{service}: [OOV]𝓟[ty]458{SnotifyService} = 𝓟91{fixture}.debugElement.injector.get(𝓛12563{undefined});
𝓟91{fixture}.detectChanges()
const 𝓟94{compiled} = 𝓟91{fixture}.debugElement.nativeElement;
𝓟93{service}.html(𝓛8743{String})
𝓟91{fixture}.detectChanges()
𝓛10036{expect}(𝓟94{compiled}.querySelector(𝓛8743{String}).textContent).toContain(𝓛8743{String})
𝓟89{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟88{$Lambda15})
function 𝓟95{$Lambda16} (𝓟96{done}): (𝓟97: [miss]𝓛[ty]10033{Void})
{
const 𝓟98{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟99{app} = 𝓟98{fixture}.debugElement.componentInstance;
const 𝓟100{service}: [OOV]𝓟[ty]458{SnotifyService} = 𝓟98{fixture}.debugElement.injector.get(𝓛12563{undefined});
const 𝓟101{compiled} = 𝓟98{fixture}.debugElement.nativeElement;
𝓟98{fixture}.detectChanges()
𝓟100{service}.setDefaults({global: {maxAtPosition: 𝓛8745{Number}},toast: {position: 𝓟439{rightTop}}})
𝓟98{fixture}.detectChanges()
𝓟100{service}.simple(𝓛8743{String})
𝓟100{service}.success(𝓛8743{String})
𝓟100{service}.error(𝓛8743{String})
𝓟98{fixture}.detectChanges()
𝓛10036{expect}(𝓟101{compiled}.querySelectorAll(𝓛8743{String}).length).toEqual(𝓛8745{Number})
𝓟96{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟95{$Lambda16})
function 𝓟102{$Lambda17} (𝓟103{done}): (𝓟104: [miss]𝓛[ty]10033{Void})
{
const 𝓟105{fixture} = 𝓟677{TestBed}.createComponent(𝓛12563{undefined});
const 𝓟106{app} = 𝓟105{fixture}.debugElement.componentInstance;
const 𝓟107{service}: [OOV]𝓟[ty]458{SnotifyService} = 𝓟105{fixture}.debugElement.injector.get(𝓛12563{undefined});
𝓟105{fixture}.detectChanges()
const 𝓟108{compiled} = 𝓟105{fixture}.debugElement.nativeElement;
𝓟107{service}.simple(𝓛8743{String},𝓛12563{undefined},{position: 𝓟444{centerBottom}})
𝓟107{service}.success(𝓛8743{String},𝓛12563{undefined},{position: 𝓟438{leftBottom}})
𝓟105{fixture}.detectChanges()
𝓛10036{expect}(𝓟108{compiled}.querySelectorAll(𝓛8743{String}).length).toEqual(𝓛8745{Number})
𝓛10036{expect}(𝓟108{compiled}.querySelectorAll(𝓛8743{String}).length).toEqual(𝓛8745{Number})
𝓟103{done}()
}
𝓛10038{it}(𝓛8743{String},𝓟102{$Lambda17})
}
𝓛10037{describe}(𝓛8743{String},𝓟35{$Lambda5})
Module: src/snotify/toast/button/buttons.component
function 𝓟109{CONSTRUCTOR} (𝓟110{service}: [OOV]𝓟[ty]458{SnotifyService}): (𝓟[ty]114{ButtonsComponent})
{
const 𝓟[ty]114{ButtonsComponent};
const 𝓟[ty]114{ButtonsComponent};
}
class 𝓟[ty]114{ButtonsComponent}{
𝓟116{toast}: [OOV]𝓟[ty]332{SnotifyToast};
function 𝓟117{remove} (): (𝓟118: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]114{ButtonsComponent}.service.remove(𝓟[ty]114{ButtonsComponent}.toast.id)
}
}
Module: src/snotify/utils
function 𝓟119{uuid} (): (𝓟120: 𝓛[ty]8655{Number})
{
return 𝓟120 = 𝓛8746{Math}.floor(𝓛8746{Math}.random().AsteriskToken(𝓛8747{Date}.now().MinusToken(𝓛8745{Number}))).PlusToken(𝓛8745{Number})
}
function 𝓟121{isObject} (𝓟122{item}): (𝓟123: 𝓛[ty]8666{Boolean})
{
return 𝓟123 = 𝓟122{item}.AmpersandAmpersandToken(𝓛12550{$TypeOf}(𝓟122{item}).EqualsEqualsEqualsToken(𝓛8743{String})).AmpersandAmpersandToken(𝓛12548{ExclamationToken}(𝓛8757{Array}.isArray(𝓟122{item}))).AmpersandAmpersandToken(𝓟122{item}.ExclamationEqualsEqualsToken(𝓛12563{undefined}))
}
function 𝓟124{mergeDeep} (𝓟125{sources}): (𝓟126: [miss]𝓛[ty]8642{Object})
{
const 𝓟127{target}: [miss]𝓛[ty]8642{Object} = {};
if (𝓛12548{ExclamationToken}(𝓟125{sources}.length))
{
return 𝓟126 = 𝓟127{target}
}
while (𝓟125{sources}.length.GreaterThanToken(𝓛8745{Number}))
{
const 𝓟128{source} = 𝓟125{sources}.shift();
if (𝓟121{isObject}(𝓟128{source}))
{
{
const 𝓟129{key}: [miss]𝓛[ty]10051{String} = 𝓛12552{$ArrayAccess}(𝓟128{source});
while (𝓛8744{Boolean})
{
if (𝓟121{isObject}(𝓟128{source}.access(𝓟129{key})))
{
𝓟127{target}.access(𝓟129{key}) ⟵ 𝓟124{mergeDeep}(𝓟127{target}.access(𝓟129{key}),𝓟128{source}.access(𝓟129{key}));
}
else
{
𝓛8741{Object}.assign(𝓟127{target},{[key]: 𝓟128{source}.access(𝓟129{key})})
}
}
}
}
}
return 𝓟126 = 𝓟127{target}
}
function 𝓟130{animate} (𝓟131{start}: 𝓛[ty]8655{Number},𝓟132{duration}: 𝓛[ty]8655{Number},𝓟133{callback}: 𝓛[ty]8696{Function}): (𝓟134: [miss]𝓛[ty]10033{Void})
{
let 𝓟135{endTime};
function 𝓟136{$Lambda43} (𝓟137{timestamp}): (𝓟138: [miss]𝓛[ty]8655{Number})
{
return 𝓟138 = 𝓟135{endTime}.FirstAssignment(𝓟137{timestamp}.PlusToken(𝓟132{duration}))
}
𝓛12298{requestAnimationFrame}(𝓟136{$Lambda43})
function 𝓟139{$Lambda44} (): (𝓟140: [miss]𝓛[ty]10033{Void})
{
function 𝓟141{$Lambda45} (𝓟142{timestamp}): (𝓟143: [miss]𝓛[ty]10033{Void})
{
const 𝓟144{runtime}: [miss]𝓛[ty]8655{Number} = 𝓟142{timestamp}.MinusToken(𝓟135{endTime});
const 𝓟145{progress}: [miss]𝓛[ty]8655{Number} = 𝓛8746{Math}.min(𝓟144{runtime}.SlashToken(𝓟132{duration}),𝓛8745{Number}).PlusToken(𝓟131{start});
if (𝓟144{runtime}.FirstBinaryOperator(𝓟132{duration}))
{
if (𝓟133{callback}(𝓛12562{PlusToken}(𝓛8745{Number}.AsteriskToken(𝓟145{progress}).toFixed(𝓛8745{Number})),𝓟145{progress}))
{
𝓟146{calculate}()
}
}
}
𝓛12298{requestAnimationFrame}(𝓟141{$Lambda45})
}
const 𝓟146{calculate}: [miss]𝓛[ty]8696{Function} = 𝓟139{$Lambda44};
}
Module: src/snotify/interfaces/SnotifyStyles.interface
type 𝓟[ty]1870{SnotifyStyles} = {success: 𝓛[ty]0{ANY}, prompt: 𝓛[ty]0{ANY}, warning: 𝓛[ty]0{ANY}, info: 𝓛[ty]0{ANY}, async: 𝓛[ty]0{ANY}, error: 𝓛[ty]0{ANY}, simple: 𝓛[ty]0{ANY}, confirm: 𝓛[ty]0{ANY}}
Module: example/app/app.module
function 𝓟148{CONSTRUCTOR} (): (𝓟[ty]152{AppModule})
{
const 𝓟[ty]152{AppModule};
const 𝓟[ty]152{AppModule};
}
class 𝓟[ty]152{AppModule}{
}
Module: src/snotify/types/event.type
type 𝓛[ty]0{ANY} = any
Module: src/snotify/enums/SnotifyStyle.enum
const 𝓟163{SnotifyStyle}: [OOV]𝓟[ty]1870{SnotifyStyles} = {success: 𝓛8743{String},prompt: 𝓛8743{String},warning: 𝓛8743{String},info: 𝓛8743{String},async: 𝓛8743{String},error: 𝓛8743{String},simple: 𝓛8743{String},confirm: 𝓛8743{String}};
Module: src/snotify/pipes/truncate.pipe
function 𝓟164{CONSTRUCTOR} (): (𝓟[ty]168{TruncatePipe})
{
const 𝓟[ty]168{TruncatePipe};
const 𝓟[ty]168{TruncatePipe};
}
class 𝓟[ty]168{TruncatePipe} extends 𝓛[ty]2{<UNKNOWN>}{
function 𝓟170{transform} (𝓟171{value}: (𝓛[ty]8670{Array} ≠ 𝓛[ty]10051{String}),𝓟172{args}: 𝓛[ty]8670{Array}): (𝓟173: [OOV]any)
{
let 𝓟174{limit}: [miss]𝓛[ty]8655{Number} = 𝓛8745{Number};
let 𝓟175{trail}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
if (𝓟172{args}.length.GreaterThanToken(𝓛8745{Number}))
{
𝓟174{limit} ⟵ (𝓟172{args}.length.GreaterThanToken(𝓛8745{Number}) ? 𝓛8710{parseInt}(𝓟172{args}.access(𝓛8745{Number}),𝓛8745{Number}) : 𝓟174{limit};
𝓟175{trail} ⟵ (𝓟172{args}.length.GreaterThanToken(𝓛8745{Number}) ? 𝓟172{args}.access(𝓛8745{Number}) : 𝓟175{trail};
}
return 𝓟173 = (𝓟171{value}.length.GreaterThanToken(𝓟174{limit}) ? 𝓟171{value}.substring(𝓛8745{Number},𝓟174{limit}).PlusToken(𝓟175{trail}) : 𝓟171{value}
}
}
Module: example/app/app.component
function 𝓟176{CONSTRUCTOR} (𝓟177{snotifyService}: [OOV]𝓟[ty]458{SnotifyService}): (𝓟[ty]181{AppComponent})
{
const 𝓟[ty]181{AppComponent};
const 𝓟[ty]181{AppComponent};
𝓟[ty]181{AppComponent}.position ⟵ 𝓟441{rightBottom};
𝓟[ty]181{AppComponent}.titleMaxLength ⟵ 𝓛8745{Number};
𝓟[ty]181{AppComponent}.bodyMaxLength ⟵ 𝓛8745{Number};
𝓟[ty]181{AppComponent}.body ⟵ 𝓛8743{String};
𝓟[ty]181{AppComponent}.progressBar ⟵ 𝓛8744{Boolean};
𝓟[ty]181{AppComponent}.title ⟵ 𝓛8743{String};
𝓟[ty]181{AppComponent}.backdrop ⟵ 𝓛12557{MinusToken}(𝓛8745{Number});
𝓟[ty]181{AppComponent}.dockMax ⟵ 𝓛8745{Number};
𝓟[ty]181{AppComponent}.pauseHover ⟵ 𝓛8744{Boolean};
𝓟[ty]181{AppComponent}.closeClick ⟵ 𝓛8744{Boolean};
𝓟[ty]181{AppComponent}.newTop ⟵ 𝓛8744{Boolean};
𝓟[ty]181{AppComponent}.timeout ⟵ 𝓛8745{Number};
𝓟[ty]181{AppComponent}.style ⟵ 𝓛8743{String};
𝓟[ty]181{AppComponent}.blockMax ⟵ 𝓛8745{Number};
}
class 𝓟[ty]181{AppComponent}{
𝓟183{bodyMaxLength}: [miss]𝓛[ty]8655{Number};
𝓟184{backdrop}: [miss]𝓛[ty]8655{Number};
𝓟185{body}: [miss]𝓛[ty]10051{String};
𝓟186{style}: [miss]𝓛[ty]10051{String};
𝓟187{progressBar}: [miss]𝓛[ty]8666{Boolean};
𝓟188{blockMax}: [miss]𝓛[ty]8655{Number};
𝓟189{titleMaxLength}: [miss]𝓛[ty]8655{Number};
𝓟190{dockMax}: [miss]𝓛[ty]8655{Number};
𝓟191{newTop}: [miss]𝓛[ty]8666{Boolean};
𝓟192{closeClick}: [miss]𝓛[ty]8666{Boolean};
𝓟193{position}: [OOV]𝓟[ty]449{SnotifyPosition};
𝓟194{title}: [miss]𝓛[ty]10051{String};
𝓟195{timeout}: [miss]𝓛[ty]8655{Number};
𝓟196{pauseHover}: [miss]𝓛[ty]8666{Boolean};
function 𝓟210{onAsyncLoading} (): (𝓟211: [miss]𝓛[ty]10033{Void})
{
function 𝓟212{$Lambda18} (𝓟213{observer}): (𝓟214: [miss]𝓛[ty]10033{Void})
{
function 𝓟215{$Lambda19} (): (𝓟216: [miss]𝓛[ty]10033{Void})
{
𝓟213{observer}.error({title: 𝓛8743{String},body: 𝓛8743{String}})
}
𝓛12490{setTimeout}(𝓟215{$Lambda19},𝓛8745{Number})
}
const 𝓟217{errorAction} = 𝓟685{Observable}.create(𝓟212{$Lambda18});
function 𝓟218{$Lambda20} (𝓟219{observer}): (𝓟220: [miss]𝓛[ty]10033{Void})
{
function 𝓟221{$Lambda21} (): (𝓟222: [miss]𝓛[ty]10033{Void})
{
𝓟219{observer}.next({body: 𝓛8743{String}})
}
𝓛12490{setTimeout}(𝓟221{$Lambda21},𝓛8745{Number})
function 𝓟223{$Lambda22} (): (𝓟224: [miss]𝓛[ty]10033{Void})
{
𝓟219{observer}.next({title: 𝓛8743{String},body: 𝓛8743{String},config: {closeOnClick: 𝓛8744{Boolean},timeout: 𝓛8745{Number},showProgressBar: 𝓛8744{Boolean}}})
𝓟219{observer}.complete()
}
𝓛12490{setTimeout}(𝓟223{$Lambda22},𝓛8745{Number})
}
const 𝓟225{successAction} = 𝓟685{Observable}.create(𝓟218{$Lambda20});
const 𝓟226{timeout} = 𝓟[ty]181{AppComponent}.getConfig().timeout;
const 𝓟227{config} = 𝓟[ty]181{AppComponent}.getConfig().config;
𝓟[ty]181{AppComponent}.snotifyService.async(𝓛8743{String},𝓛8743{String},𝓟217{errorAction},𝓟227{config})
𝓟[ty]181{AppComponent}.snotifyService.async(𝓛8743{String},𝓟225{successAction},𝓟227{config})
function 𝓟228{$Lambda23} (𝓟229{resolve},𝓟230{reject}): (𝓟231: [miss]𝓛[ty]10033{Void})
{
function 𝓟232{$Lambda24} (): (𝓟233: [miss]𝓛[ty]10033{Void})
{
return 𝓟233 = 𝓟230{reject}({title: 𝓛8743{String},body: 𝓛8743{String},config: {closeOnClick: 𝓛8744{Boolean}}})
}
𝓛12490{setTimeout}(𝓟232{$Lambda24},𝓛8745{Number})
function 𝓟234{$Lambda25} (): (𝓟235: [miss]𝓛[ty]10033{Void})
{
return 𝓟235 = 𝓟229{resolve}()
}
𝓛12490{setTimeout}(𝓟234{$Lambda25},𝓛8745{Number})
}
𝓟[ty]181{AppComponent}.snotifyService.async(𝓛8743{String},𝓛8743{String},𝓛1062{Promise}.CONSTRUCTOR(𝓟228{$Lambda23}))
}
function 𝓟268{onClear} (): (𝓟269: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]181{AppComponent}.snotifyService.clear()
}
function 𝓟201{onInfo} (): (𝓟202: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]181{AppComponent}.snotifyService.info(𝓟[ty]181{AppComponent}.body,𝓟[ty]181{AppComponent}.title,𝓟[ty]181{AppComponent}.getConfig())
}
function 𝓟251{onPrompt} (): (𝓟252: [miss]𝓛[ty]10033{Void})
{
const 𝓟253{timeout} = 𝓟[ty]181{AppComponent}.getConfig().timeout;
const 𝓟254{closeOnClick} = 𝓟[ty]181{AppComponent}.getConfig().closeOnClick;
const 𝓟255{config} = 𝓟[ty]181{AppComponent}.getConfig().config;
function 𝓟256{$Lambda30} (𝓟257{toast}): (𝓟258: [miss]𝓛[ty]10033{Void})
{
return 𝓟258 = 𝓛1{<UNKNOWN>}(𝓛8743{String}.PlusToken(𝓟257{toast}.value))
}
function 𝓟259{$Lambda31} (𝓟260{toast}): (𝓟261: [miss]𝓛[ty]10033{Void})
{
𝓛1{<UNKNOWN>}(𝓛8743{String}.PlusToken(𝓟260{toast}.value))
𝓟[ty]181{AppComponent}.snotifyService.remove(𝓟260{toast}.id)
}
function 𝓟262{$Lambda32} (𝓟263{toast}): (𝓟264: [miss]𝓛[ty]10033{Void})
{
𝓛1{<UNKNOWN>}(𝓟263{toast}.value)
𝓟263{toast}.valid ⟵ 𝓛12548{ExclamationToken}(𝓛12548{ExclamationToken}(𝓟263{toast}.value.match(𝓛8743{String})));
}
𝓟[ty]181{AppComponent}.snotifyService.prompt(𝓟[ty]181{AppComponent}.body,𝓟[ty]181{AppComponent}.title,{buttons: 𝓛8757{Array}({text: 𝓛8743{String},action: 𝓟256{$Lambda30}},{text: 𝓛8743{String},action: 𝓟259{$Lambda31}}),placeholder: 𝓛8743{String}}).on(𝓛8743{String},𝓟262{$Lambda32})
}
function 𝓟199{onSuccess} (): (𝓟200: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]181{AppComponent}.snotifyService.success(𝓟[ty]181{AppComponent}.body,𝓟[ty]181{AppComponent}.title,𝓟[ty]181{AppComponent}.getConfig())
}
function 𝓟205{onWarning} (): (𝓟206: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]181{AppComponent}.snotifyService.warning(𝓟[ty]181{AppComponent}.body,𝓟[ty]181{AppComponent}.title,𝓟[ty]181{AppComponent}.getConfig())
}
function 𝓟203{onError} (): (𝓟204: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]181{AppComponent}.snotifyService.error(𝓟[ty]181{AppComponent}.body,𝓟[ty]181{AppComponent}.title,𝓟[ty]181{AppComponent}.getConfig())
}
function 𝓟265{onHtml} (): (𝓟266: [miss]𝓛[ty]10033{Void})
{
const 𝓟267{html}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
𝓟[ty]181{AppComponent}.snotifyService.html(𝓟267{html},𝓟[ty]181{AppComponent}.getConfig())
}
function 𝓟236{onConfirmation} (): (𝓟237: [miss]𝓛[ty]10033{Void})
{
const 𝓟238{timeout} = 𝓟[ty]181{AppComponent}.getConfig().timeout;
const 𝓟239{closeOnClick} = 𝓟[ty]181{AppComponent}.getConfig().closeOnClick;
const 𝓟240{config} = 𝓟[ty]181{AppComponent}.getConfig().config;
function 𝓟241{$Lambda26} (): (𝓟242: [miss]𝓛[ty]10033{Void})
{
return 𝓟242 = 𝓛1{<UNKNOWN>}(𝓛8743{String})
}
function 𝓟243{$Lambda27} (): (𝓟244: [miss]𝓛[ty]10033{Void})
{
return 𝓟244 = 𝓛1{<UNKNOWN>}(𝓛8743{String})
}
function 𝓟245{$Lambda28} (𝓟246{toast}): (𝓟247: [miss]𝓛[ty]10033{Void})
{
𝓛1{<UNKNOWN>}(𝓛8743{String})
𝓟[ty]181{AppComponent}.snotifyService.remove(𝓟246{toast}.id)
}
function 𝓟248{$Lambda29} (𝓟249{toast}): (𝓟250: [miss]𝓛[ty]10033{Void})
{
𝓛1{<UNKNOWN>}(𝓛8743{String})
𝓟[ty]181{AppComponent}.snotifyService.remove(𝓟249{toast}.id)
}
𝓟[ty]181{AppComponent}.snotifyService.confirm(𝓟[ty]181{AppComponent}.body,𝓟[ty]181{AppComponent}.title,{buttons: 𝓛8757{Array}({text: 𝓛8743{String},action: 𝓟241{$Lambda26},bold: 𝓛8744{Boolean}},{text: 𝓛8743{String},action: 𝓟243{$Lambda27}},{text: 𝓛8743{String},action: 𝓟245{$Lambda28}},{text: 𝓛8743{String},action: 𝓟248{$Lambda29},bold: 𝓛8744{Boolean}})})
}
function 𝓟197{getConfig} (): (𝓟198: [OOV]𝓟[ty]1874{SnotifyToastConfig})
{
𝓟[ty]181{AppComponent}.snotifyService.setDefaults({global: {newOnTop: 𝓟[ty]181{AppComponent}.newTop,maxAtPosition: 𝓟[ty]181{AppComponent}.blockMax,maxOnScreen: 𝓟[ty]181{AppComponent}.dockMax}})
return 𝓟198 = {bodyMaxLength: 𝓟[ty]181{AppComponent}.bodyMaxLength,backdrop: 𝓟[ty]181{AppComponent}.backdrop,titleMaxLength: 𝓟[ty]181{AppComponent}.titleMaxLength,position: 𝓟[ty]181{AppComponent}.position,pauseOnHover: 𝓟[ty]181{AppComponent}.pauseHover,timeout: 𝓟[ty]181{AppComponent}.timeout,closeOnClick: 𝓟[ty]181{AppComponent}.closeClick,showProgressBar: 𝓟[ty]181{AppComponent}.progressBar}
}
function 𝓟207{onSimple} (): (𝓟208: [miss]𝓛[ty]10033{Void})
{
const 𝓟209{icon}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
𝓟[ty]181{AppComponent}.snotifyService.simple(𝓟[ty]181{AppComponent}.body,𝓟[ty]181{AppComponent}.title,{icon: 𝓟209{icon}})
}
}
Module: src/snotify/interfaces/SnotifyAnimate.interface
type 𝓟[ty]1865{SnotifyAnimate} = {enter: 𝓛[ty]10051{String}, exit: 𝓛[ty]10051{String}, time: 𝓛[ty]8655{Number}}
Module: example/main
if (𝓟451{environment}.production)
{
𝓟686{enableProdMode}()
}
𝓟687{platformBrowserDynamic}().bootstrapModule(𝓛12563{undefined})
Module: src/snotify/interfaces/Snotify.interface
type 𝓟[ty]1868{Snotify} = {title: 𝓛[ty]10051{String}, body: 𝓛[ty]10051{String}, config: 𝓟[ty]1874{SnotifyToastConfig}, html: any}
Module: src/snotify/decorators/set-toast-type.decorator
function 𝓟311{SetToastType} (𝓟312{target}: [OOV]any,𝓟313{propertyKey}: [OOV]𝓛[ty]0{ANY},𝓟314{descriptor}: (𝓛[ty]8642{Object} ≠ 𝓛[ty]8633{PropertyDescriptor})): (𝓟315: [miss]𝓛[ty]8642{Object})
{
function 𝓟316{$Lambda46} (𝓟317{args}: 𝓛[ty]8670{Array}): (𝓟318: [OOV]any)
{
𝓟317{args}.access(𝓛8745{Number}) as 𝓟[ty]1868{Snotify}.config ⟵ {type: 𝓟313{propertyKey}};
return 𝓟318 = 𝓟314{descriptor}.value.apply(𝓛12545{this},𝓟317{args})
}
return 𝓟315 = {value: 𝓟316{$Lambda46}}
}
Module: src/snotify/toast/snotify-toast.model
function 𝓟319{CONSTRUCTOR} (𝓟320{id}: (𝓛[ty]10051{String} ≠ 𝓛[ty]8655{Number}),𝓟321{title}: 𝓛[ty]10051{String},𝓟322{body}: 𝓛[ty]10051{String},𝓟323{config}: [OOV]𝓟[ty]1874{SnotifyToastConfig}): (𝓟[ty]332{SnotifyToast})
{
const 𝓟[ty]332{SnotifyToast};
const 𝓟[ty]332{SnotifyToast};
𝓟[ty]332{SnotifyToast}.config ⟵ 𝓟323{config};
𝓟[ty]332{SnotifyToast}._eventsHolder ⟵ 𝓛8757{Array}();
𝓟[ty]332{SnotifyToast}.body ⟵ 𝓟322{body};
𝓟[ty]332{SnotifyToast}.title ⟵ 𝓟321{title};
𝓟[ty]332{SnotifyToast}.eventEmitter ⟵ 𝓟692{Subject}.CONSTRUCTOR();
𝓟[ty]332{SnotifyToast}.id ⟵ 𝓟320{id};
if (𝓟[ty]332{SnotifyToast}.config.type.EqualsEqualsEqualsToken(𝓟163{SnotifyStyle}.prompt))
{
𝓟[ty]332{SnotifyToast}.value ⟵ 𝓛8743{String};
}
function 𝓟327{$Lambda49} (): (𝓟328: [miss]𝓛[ty]10033{Void})
{
function 𝓟329{$Lambda50} (𝓟330{subscription}: [OOV]𝓛[ty]2{<UNKNOWN>}): (𝓟331: [miss]𝓛[ty]10033{Void})
{
𝓟330{subscription}.unsubscribe()
}
𝓟[ty]332{SnotifyToast}._eventsHolder.forEach(𝓟329{$Lambda50})
}
𝓟[ty]332{SnotifyToast}.on(𝓛8743{String},𝓟327{$Lambda49})
}
class 𝓟[ty]332{SnotifyToast}{
𝓟334{body}: (𝓛[ty]8666{Boolean} ≠ 𝓛[ty]10051{String});
𝓟335{_eventsHolder}: 𝓛[ty]8670{Array};
𝓟336{eventEmitter};
𝓟337{config}: [OOV]𝓟[ty]1874{SnotifyToastConfig};
𝓟338{id}: (𝓛[ty]10051{String} ≠ 𝓛[ty]8655{Number});
𝓟339{valid}: (𝓛[ty]10051{String} ≠ 𝓛[ty]8666{Boolean});
𝓟340{title}: 𝓛[ty]10051{String};
𝓟341{value}: 𝓛[ty]10051{String};
function 𝓟342{on} (𝓟343{event}: [OOV]𝓛[ty]0{ANY},𝓟344{action}: 𝓛[ty]8696{Function}): (𝓟345: [OOV]any)
{
function 𝓟346{$Lambda51} (𝓟347{e}: [OOV]𝓛[ty]0{ANY}): (𝓟348: [miss]𝓛[ty]10033{Void})
{
if (𝓟347{e}.EqualsEqualsEqualsToken(𝓟343{event}))
{
𝓟344{action}(𝓟[ty]332{SnotifyToast})
}
}
𝓟[ty]332{SnotifyToast}._eventsHolder.push(𝓟[ty]332{SnotifyToast}.eventEmitter.subscribe(𝓟346{$Lambda51}))
return 𝓟345 = 𝓟[ty]332{SnotifyToast}
}
}
Module: e2e/app.e2e-spec
function 𝓟349{$Lambda0} (): (𝓟350: [miss]𝓛[ty]10033{Void})
{
let 𝓟351{page}: [OOV]𝓟[ty]367{APage};
function 𝓟352{$Lambda1} (): (𝓟353: [miss]𝓛[ty]10033{Void})
{
𝓟351{page} ⟵ 𝓟363{CONSTRUCTOR}();
}
𝓛1{<UNKNOWN>}(𝓟352{$Lambda1})
function 𝓟354{$Lambda2} (𝓟355{done}): (𝓟356: [miss]𝓛[ty]10033{Void})
{
𝓟351{page}.navigateTo()
function 𝓟357{$Lambda3} (𝓟358{msg}): (𝓟359: [OOV]any)
{
return 𝓟359 = 𝓛10036{expect}(𝓟358{msg}).toEqual(𝓛8743{String})
}
𝓟351{page}.getParagraphText().then(𝓟357{$Lambda3}).then(𝓟355{done},𝓟355{done}.fail)
}
𝓛10038{it}(𝓛8743{String},𝓟354{$Lambda2})
}
𝓛10037{describe}(𝓛8743{String},𝓟349{$Lambda0})
Module: src/snotify/interfaces/SnotifyToastConfig.interface
type 𝓟[ty]1874{SnotifyToastConfig} = {bodyMaxLength: 𝓛[ty]8655{Number}, backdrop: 𝓛[ty]8655{Number}, icon: 𝓛[ty]10051{String}, placeholder: 𝓛[ty]10051{String}, titleMaxLength: 𝓛[ty]8655{Number}, buttons: 𝓛[ty]8670{Array}, animation: 𝓟[ty]1865{SnotifyAnimate}, position: 𝓟[ty]449{SnotifyPosition}, pauseOnHover: 𝓛[ty]8666{Boolean}, iconClass: 𝓛[ty]10051{String}, type: 𝓛[ty]0{ANY}, html: any, timeout: 𝓛[ty]8655{Number}, closeOnClick: 𝓛[ty]8666{Boolean}, showProgressBar: 𝓛[ty]8666{Boolean}}
Module: src/snotify/toastDefaults
const 𝓟361{ToastDefaults}: [miss]𝓛[ty]8642{Object} = {global: {newOnTop: 𝓛8744{Boolean},maxOnScreen: 𝓛8745{Number},maxAtPosition: 𝓛8745{Number}},toast: {bodyMaxLength: 𝓛8745{Number},backdrop: 𝓛12557{MinusToken}(𝓛8745{Number}),icon: 𝓛12563{undefined},titleMaxLength: 𝓛8745{Number},animation: {enter: 𝓛8743{String},exit: 𝓛8743{String},time: 𝓛8745{Number}},position: 𝓟441{rightBottom},pauseOnHover: 𝓛8744{Boolean},iconClass: 𝓛12563{undefined},type: 𝓟163{SnotifyStyle}.simple,html: 𝓛12563{undefined},timeout: 𝓛8745{Number},closeOnClick: 𝓛8744{Boolean},showProgressBar: 𝓛8744{Boolean}},type: {[SnotifyStyle.info]: {type: 𝓟163{SnotifyStyle}.info},[SnotifyStyle.async]: {pauseOnHover: 𝓛8744{Boolean},type: 𝓟163{SnotifyStyle}.async,timeout: 𝓛8745{Number},closeOnClick: 𝓛8744{Boolean},showProgressBar: 𝓛8744{Boolean}},[SnotifyStyle.confirm]: {timeout: 𝓛8745{Number},closeOnClick: 𝓛8744{Boolean},buttons: 𝓛8757{Array}({text: 𝓛8743{String},action: 𝓛12563{undefined},bold: 𝓛8744{Boolean}},{text: 𝓛8743{String},action: 𝓛12563{undefined},bold: 𝓛8744{Boolean}}),type: 𝓟163{SnotifyStyle}.confirm},[SnotifyStyle.simple]: {type: 𝓟163{SnotifyStyle}.simple},[SnotifyStyle.error]: {type: 𝓟163{SnotifyStyle}.error},[SnotifyStyle.warning]: {type: 𝓟163{SnotifyStyle}.warning},[SnotifyStyle.success]: {type: 𝓟163{SnotifyStyle}.success},[SnotifyStyle.prompt]: {placeholder: 𝓛8743{String},buttons: 𝓛8757{Array}({text: 𝓛8743{String},action: 𝓛12563{undefined},bold: 𝓛8744{Boolean}},{text: 𝓛8743{String},action: 𝓛12563{undefined},bold: 𝓛8744{Boolean}}),type: 𝓟163{SnotifyStyle}.prompt,timeout: 𝓛8745{Number},closeOnClick: 𝓛8744{Boolean}}}};
Module: src/snotify/types/snotify.type
type 𝓛[ty]0{ANY} = any
Module: e2e/app.po
function 𝓟363{CONSTRUCTOR} (): (𝓟[ty]367{APage})
{
const 𝓟[ty]367{APage};
const 𝓟[ty]367{APage};
}
class 𝓟[ty]367{APage}{
function 𝓟369{navigateTo} (): (𝓟370: [OOV]any)
{
return 𝓟370 = 𝓟693{browser}.get(𝓛8743{String})
}
function 𝓟371{getParagraphText} (): (𝓟372: [OOV]any)
{
return 𝓟372 = 𝓟695{element}(𝓟694{by}.css(𝓛8743{String})).getText()
}
}
Module: src/snotify/interfaces/SnotifyButton.interface
type 𝓟[ty]1867{SnotifyButton} = {text: 𝓛[ty]10051{String}, action: (𝓟[ty]332{SnotifyToast})->𝓛[ty]10033{Void}, bold: 𝓛[ty]8666{Boolean}}
Module: src/snotify/interfaces/SnotifGlobalConfig.interface
type 𝓟[ty]1875{SnotifyGlobalConfig} = {maxOnScreen: 𝓛[ty]8655{Number}, maxAtPosition: 𝓛[ty]8655{Number}, newOnTop: 𝓛[ty]8666{Boolean}}
Module: example/test
let 𝓟375{__karma__}: [OOV]any;
let 𝓟376{require}: [OOV]any;
function 𝓟377{$Lambda4} (): (𝓟378: [miss]𝓛[ty]10033{Void})
{
}
𝓟375{__karma__}.loaded ⟵ 𝓟377{$Lambda4};
𝓟696{getTestBed}().initTestEnvironment(𝓟697{BrowserDynamicTestingModule},𝓟698{platformBrowserDynamicTesting}())
const 𝓟379{context} = 𝓟376{require}.context(𝓛8743{String},𝓛8744{Boolean},𝓛8748{RegExp});
𝓟379{context}.keys().map(𝓟379{context})
𝓟375{__karma__}.start()
Module: src/snotify/toast/toast.component
function 𝓟381{CONSTRUCTOR} (𝓟382{service}: [OOV]𝓟[ty]458{SnotifyService}): (𝓟[ty]386{ToastComponent})
{
const 𝓟[ty]386{ToastComponent};
const 𝓟[ty]386{ToastComponent};
𝓟[ty]386{ToastComponent}.state ⟵ {isDestroying: 𝓛8744{Boolean},paused: 𝓛8744{Boolean},animation: 𝓛8743{String},progress: 𝓛8745{Number},promptType: 𝓟163{SnotifyStyle}.prompt};
𝓟[ty]386{ToastComponent}.stateChanged ⟵ 𝓟700{EventEmitter}.CONSTRUCTOR();
}
class 𝓟[ty]386{ToastComponent} extends 𝓛[ty]2{<UNKNOWN>}{
𝓟388{toastDeletedSubscription}: [OOV]𝓛[ty]2{<UNKNOWN>};
𝓟389{state}: [miss]𝓛[ty]8642{Object};
𝓟390{animationFrame}: (𝓛[ty]8666{Boolean} ≠ 𝓛[ty]8655{Number});
𝓟391{toastChangedSubscription}: [OOV]𝓛[ty]2{<UNKNOWN>};
𝓟392{toast}: [OOV]𝓟[ty]332{SnotifyToast};
𝓟393{stateChanged};
function 𝓟418{onMouseLeave} (): (𝓟419: [miss]𝓛[ty]10033{Void})
{
if (𝓟[ty]386{ToastComponent}.toast.config.pauseOnHover.AmpersandAmpersandToken(𝓟[ty]386{ToastComponent}.toast.config.timeout))
{
𝓟[ty]386{ToastComponent}.state.paused ⟵ 𝓛8744{Boolean};
𝓟[ty]386{ToastComponent}.startTimeout(𝓟[ty]386{ToastComponent}.toast.config.timeout.AsteriskToken(𝓟[ty]386{ToastComponent}.state.progress))
}
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
}
function 𝓟408{onClick} (): (𝓟409: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
if (𝓟[ty]386{ToastComponent}.toast.config.closeOnClick)
{
𝓟[ty]386{ToastComponent}.service.remove(𝓟[ty]386{ToastComponent}.toast.id)
}
}
function 𝓟420{onExitTransitionEnd} (): (𝓟421: [miss]𝓛[ty]10033{Void})
{
if (𝓟[ty]386{ToastComponent}.state.isDestroying)
{
}
𝓟[ty]386{ToastComponent}.initToast()
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
}
function 𝓟422{initToast} (): (𝓟423: 𝓛[ty]10033{Void})
{
if (𝓟[ty]386{ToastComponent}.toast.config.timeout.GreaterThanToken(𝓛8745{Number}))
{
𝓟[ty]386{ToastComponent}.startTimeout(𝓛8745{Number})
}
}
function 𝓟402{ngAfterContentInit} (): (𝓟403: [miss]𝓛[ty]10033{Void})
{
function 𝓟404{$Lambda54} (): (𝓟405: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]386{ToastComponent}.stateChanged.emit(𝓛8743{String})
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
𝓟[ty]386{ToastComponent}.state.animation ⟵ 𝓟[ty]386{ToastComponent}.toast.config.animation.enter;
}
𝓛12490{setTimeout}(𝓟404{$Lambda54},𝓟[ty]386{ToastComponent}.service.config.toast.animation.time.SlashToken(𝓛8745{Number}))
}
function 𝓟410{onRemove} (): (𝓟411: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]386{ToastComponent}.state.isDestroying ⟵ 𝓛8744{Boolean};
𝓟[ty]386{ToastComponent}.stateChanged.emit(𝓛8743{String})
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
𝓟[ty]386{ToastComponent}.state.animation ⟵ 𝓟[ty]386{ToastComponent}.toast.config.animation.exit;
function 𝓟412{$Lambda55} (): (𝓟413: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]386{ToastComponent}.stateChanged.emit(𝓛8743{String})
𝓟[ty]386{ToastComponent}.state.animation ⟵ 𝓛8743{String};
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
function 𝓟414{$Lambda56} (): (𝓟415: [miss]𝓛[ty]10033{Void})
{
return 𝓟415 = 𝓟[ty]386{ToastComponent}.service.remove(𝓟[ty]386{ToastComponent}.toast.id,𝓛8744{Boolean})
}
𝓛12490{setTimeout}(𝓟414{$Lambda56},𝓟[ty]386{ToastComponent}.toast.config.animation.time.SlashToken(𝓛8745{Number}))
}
𝓛12490{setTimeout}(𝓟412{$Lambda55},𝓟[ty]386{ToastComponent}.toast.config.animation.time.SlashToken(𝓛8745{Number}))
}
function 𝓟394{ngOnInit} (): (𝓟395: [miss]𝓛[ty]10033{Void})
{
function 𝓟396{$Lambda52} (𝓟397{toast}: [OOV]𝓟[ty]332{SnotifyToast}): (𝓟398: [miss]𝓛[ty]10033{Void})
{
if (𝓟[ty]386{ToastComponent}.toast.id.EqualsEqualsEqualsToken(𝓟397{toast}.id))
{
𝓟[ty]386{ToastComponent}.initToast()
}
}
𝓟[ty]386{ToastComponent}.toastChangedSubscription ⟵ 𝓟[ty]386{ToastComponent}.service.toastChanged.subscribe(𝓟396{$Lambda52});
function 𝓟399{$Lambda53} (𝓟400{id}): (𝓟401: [miss]𝓛[ty]10033{Void})
{
if (𝓟[ty]386{ToastComponent}.toast.id.EqualsEqualsEqualsToken(𝓟400{id}))
{
𝓟[ty]386{ToastComponent}.onRemove()
}
}
𝓟[ty]386{ToastComponent}.toastDeletedSubscription ⟵ 𝓟[ty]386{ToastComponent}.service.toastDeleted.subscribe(𝓟399{$Lambda53});
if (𝓛12548{ExclamationToken}(𝓟[ty]386{ToastComponent}.toast.config.timeout))
{
𝓟[ty]386{ToastComponent}.toast.config.showProgressBar ⟵ 𝓛8744{Boolean};
}
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
𝓟[ty]386{ToastComponent}.state.animation ⟵ 𝓛8743{String};
}
function 𝓟406{ngOnDestroy} (): (𝓟407: 𝓛[ty]10033{Void})
{
𝓛12239{cancelAnimationFrame}(𝓟[ty]386{ToastComponent}.animationFrame)
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
𝓟[ty]386{ToastComponent}.toastChangedSubscription.unsubscribe()
𝓟[ty]386{ToastComponent}.toastDeletedSubscription.unsubscribe()
}
function 𝓟424{startTimeout} (𝓟425{startTime}: 𝓛[ty]8655{Number}): (𝓟426: [miss]𝓛[ty]10033{Void})
{
const 𝓟427{start}: [miss]𝓛[ty]8655{Number} = 𝓛12455{performance}.now();
function 𝓟428{$Lambda57} (): (𝓟429: [miss]𝓛[ty]10033{Void})
{
function 𝓟430{$Lambda58} (𝓟431{timestamp}): (𝓟432: [miss]𝓛[ty]10033{Void})
{
const 𝓟433{runtime}: [miss]𝓛[ty]8655{Number} = 𝓟431{timestamp}.PlusToken(𝓟425{startTime}).MinusToken(𝓟427{start});
const 𝓟434{progress}: [miss]𝓛[ty]8655{Number} = 𝓛8746{Math}.min(𝓟433{runtime}.SlashToken(𝓟[ty]386{ToastComponent}.toast.config.timeout),𝓛8745{Number});
if (𝓟[ty]386{ToastComponent}.state.paused)
{
𝓛12239{cancelAnimationFrame}(𝓟[ty]386{ToastComponent}.animationFrame)
}
else
{
if (𝓟433{runtime}.FirstBinaryOperator(𝓟[ty]386{ToastComponent}.toast.config.timeout))
{
𝓟[ty]386{ToastComponent}.state.progress ⟵ 𝓟434{progress};
𝓟435{calculate}()
}
else
{
𝓟[ty]386{ToastComponent}.state.progress ⟵ 𝓛8745{Number};
𝓛12239{cancelAnimationFrame}(𝓟[ty]386{ToastComponent}.animationFrame)
𝓟[ty]386{ToastComponent}.service.remove(𝓟[ty]386{ToastComponent}.toast.id)
}
}
}
𝓟[ty]386{ToastComponent}.animationFrame ⟵ 𝓛12298{requestAnimationFrame}(𝓟430{$Lambda58});
}
const 𝓟435{calculate}: [miss]𝓛[ty]8696{Function} = 𝓟428{$Lambda57};
𝓟435{calculate}()
}
function 𝓟416{onMouseEnter} (): (𝓟417: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]386{ToastComponent}.toast.eventEmitter.next(𝓛8743{String})
if (𝓟[ty]386{ToastComponent}.toast.config.pauseOnHover)
{
𝓟[ty]386{ToastComponent}.state.paused ⟵ 𝓛8744{Boolean};
}
}
}
Module: src/snotify/enums/SnotifyPosition.enum
const 𝓟436{leftTop}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
const 𝓟437{leftCenter}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
const 𝓟438{leftBottom}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
const 𝓟439{rightTop}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
const 𝓟440{rightCenter}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
const 𝓟441{rightBottom}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
const 𝓟442{centerTop}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
const 𝓟443{centerCenter}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
const 𝓟444{centerBottom}: [miss]𝓛[ty]10051{String} = 𝓛8743{String};
function 𝓟445{CONSTRUCTOR} (): (𝓟[ty]449{SnotifyPosition})
{
const 𝓟[ty]449{SnotifyPosition};
const 𝓟[ty]449{SnotifyPosition};
}
class 𝓟[ty]449{SnotifyPosition}{
}
Module: example/environments/environment
const 𝓟451{environment}: [miss]𝓛[ty]8642{Object} = {production: 𝓛8744{Boolean}};
Module: src/snotify/interfaces/SnotifyNotifications.interface
type 𝓟[ty]1869{SnotifyNotifications} = {center_bottom: 𝓛[ty]8670{Array}, right_center: 𝓛[ty]8670{Array}, center_center: 𝓛[ty]8670{Array}, center_top: 𝓛[ty]8670{Array}, left_bottom: 𝓛[ty]8670{Array}, right_bottom: 𝓛[ty]8670{Array}, right_top: 𝓛[ty]8670{Array}, left_top: 𝓛[ty]8670{Array}, left_center: 𝓛[ty]8670{Array}}
Module: src/snotify/snotify.service
function 𝓟453{CONSTRUCTOR} (𝓟454{config}: [OOV]𝓟[ty]1873{SnotifyDefaults}): (𝓟[ty]458{SnotifyService})
{
const 𝓟[ty]458{SnotifyService};
const 𝓟[ty]458{SnotifyService};
𝓟[ty]458{SnotifyService}.toastChanged ⟵ 𝓟692{Subject}.CONSTRUCTOR();
𝓟[ty]458{SnotifyService}.config ⟵ 𝓟454{config};
𝓟[ty]458{SnotifyService}.emitter ⟵ 𝓟692{Subject}.CONSTRUCTOR();
𝓟[ty]458{SnotifyService}.toastDeleted ⟵ 𝓟692{Subject}.CONSTRUCTOR();
𝓟[ty]458{SnotifyService}.notifications ⟵ 𝓛8757{Array}();
}
class 𝓟[ty]458{SnotifyService}{
𝓟460{toastChanged};
𝓟461{toastDeleted};
𝓟462{config}: [OOV]𝓟[ty]1873{SnotifyDefaults};
𝓟463{emitter};
𝓟464{notifications}: 𝓛[ty]8670{Array};
function 𝓟528{success} (𝓟529{args}: [OOV]any): (𝓟530: [OOV]𝓟[ty]332{SnotifyToast})
{
return 𝓟530 = 𝓟[ty]458{SnotifyService}.create(𝓟529{args})
}
function 𝓟483{clear} (): (𝓟484: 𝓛[ty]10033{Void})
{
𝓟[ty]458{SnotifyService}.notifications ⟵ 𝓛8757{Array}();
𝓟[ty]458{SnotifyService}.emit()
}
function 𝓟485{create} (𝓟486{snotify}: [OOV]𝓟[ty]1868{Snotify}): (𝓟487: [OOV]𝓟[ty]332{SnotifyToast})
{
const 𝓟488{config}: [miss]𝓛[ty]8642{Object} = 𝓟124{mergeDeep}(𝓟[ty]458{SnotifyService}.config.toast,𝓟[ty]458{SnotifyService}.config.type.access(𝓟486{snotify}.config.type),𝓟486{snotify}.config);
const 𝓟489{toast}: [OOV]𝓟[ty]332{SnotifyToast} = 𝓟319{CONSTRUCTOR}(𝓟119{uuid}(),𝓟486{snotify}.title,𝓟486{snotify}.body,𝓟488{config});
𝓟[ty]458{SnotifyService}.add(𝓟489{toast})
return 𝓟487 = 𝓟489{toast}
}
function 𝓟623{prompt} (𝓟624{args}: [OOV]any): (𝓟625: [OOV]𝓟[ty]332{SnotifyToast})
{
return 𝓟625 = 𝓟[ty]458{SnotifyService}.create(𝓟624{args})
}
function 𝓟585{warning} (𝓟586{args}: [OOV]any): (𝓟587: [OOV]𝓟[ty]332{SnotifyToast})
{
return 𝓟587 = 𝓟[ty]458{SnotifyService}.create(𝓟586{args})
}
function 𝓟566{info} (𝓟567{args}: [OOV]any): (𝓟568: [OOV]𝓟[ty]332{SnotifyToast})
{
return 𝓟568 = 𝓟[ty]458{SnotifyService}.create(𝓟567{args})
}
function 𝓟465{emit} (): (𝓟466: 𝓛[ty]10033{Void})
{
𝓟[ty]458{SnotifyService}.emitter.next(𝓟[ty]458{SnotifyService}.notifications.slice())
}
function 𝓟646{async} (𝓟647{args}: [OOV]any): (𝓟648: [OOV]𝓟[ty]332{SnotifyToast})
{
let 𝓟649{async}: [OOV]𝓛[ty]2{<UNKNOWN>};
if (𝓟647{args}.action.InstanceOfKeyword(𝓛1062{Promise}))
{
𝓟649{async} ⟵ 𝓟704{PromiseObservable}.create(𝓟647{args}.action);
}
else
{
𝓟649{async} ⟵ 𝓟647{args}.action;
}
const 𝓟650{toast}: [OOV]𝓟[ty]332{SnotifyToast} = 𝓟[ty]458{SnotifyService}.create(𝓟647{args});
function 𝓟651{$Lambda39} (): (𝓟652: [miss]𝓛[ty]10033{Void})
{
function 𝓟653{$Lambda40} (𝓟654{next}: [OOV]𝓟[ty]1868{Snotify}): (𝓟655: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]458{SnotifyService}.mergeToast(𝓟650{toast},𝓟654{next})
}
function 𝓟656{$Lambda41} (𝓟657{error}: [OOV]𝓟[ty]1868{Snotify}): (𝓟658: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]458{SnotifyService}.mergeToast(𝓟650{toast},𝓟657{error},𝓟163{SnotifyStyle}.error)
𝓟661{subscription}.unsubscribe()
}
function 𝓟659{$Lambda42} (): (𝓟660: [miss]𝓛[ty]10033{Void})
{
𝓟[ty]458{SnotifyService}.mergeToast(𝓟650{toast},{},𝓟163{SnotifyStyle}.success)
𝓟661{subscription}.unsubscribe()
}
const 𝓟661{subscription}: [OOV]𝓛[ty]2{<UNKNOWN>} = 𝓟649{async}.subscribe(𝓟653{$Lambda40},𝓟656{$Lambda41},𝓟659{$Lambda42});
}
𝓟650{toast}.on(𝓛8743{String},𝓟651{$Lambda39})
return 𝓟648 = 𝓟650{toast}
}
function 𝓟662{mergeToast} (𝓟663{toast},𝓟664{next},𝓟665{type}: [OOV]𝓛[ty]0{ANY}): (𝓟666: [miss]𝓛[ty]10033{Void})
{
if (𝓟664{next}.body)
{
𝓟663{toast}.body ⟵ 𝓟664{next}.body;
}
if (𝓟664{next}.title)
{
𝓟663{toast}.title ⟵ 𝓟664{next}.title;
}
if (𝓟665{type})
{
𝓟663{toast}.config ⟵ 𝓟124{mergeDeep}(𝓟663{toast}.config,𝓟[ty]458{SnotifyService}.config.global,𝓟[ty]458{SnotifyService}.config.toast.access(𝓟665{type}),{type: 𝓟665{type}},𝓟664{next}.config);
}
else
{
𝓟663{toast}.config ⟵ 𝓟124{mergeDeep}(𝓟663{toast}.config,𝓟664{next}.config);
}
if (𝓟664{next}.html)
{
𝓟663{toast}.config.html ⟵ 𝓟664{next}.html;
}
𝓟[ty]458{SnotifyService}.emit()
𝓟[ty]458{SnotifyService}.toastChanged.next(𝓟663{toast})
}
function 𝓟476{remove} (𝓟477{id}: (𝓛[ty]10051{String} ≠ 𝓛[ty]8655{Number}),𝓟478{remove}: 𝓛[ty]8666{Boolean}): (𝓟479: (𝓛[ty]8666{Boolean} ≠ 𝓛[ty]10033{Void}))
{
if (𝓛12548{ExclamationToken}(𝓟477{id}))
{
return 𝓟479 = 𝓟[ty]458{SnotifyService}.clear()
}
else
{
if (𝓟478{remove})
{
function 𝓟480{$Lambda38} (𝓟481{toast}): (𝓟482: [miss]𝓛[ty]8666{Boolean})
{
return 𝓟482 = 𝓟481{toast}.id.ExclamationEqualsEqualsToken(𝓟477{id})
}
𝓟[ty]458{SnotifyService}.notifications ⟵ 𝓟[ty]458{SnotifyService}.notifications.filter(𝓟480{$Lambda38});
return 𝓟479 = 𝓟[ty]458{SnotifyService}.emit()
}
}
𝓟[ty]458{SnotifyService}.toastDeleted.next(𝓟477{id})
}
function 𝓟547{error} (𝓟548{args}: [OOV]any): (𝓟549: [OOV]𝓟[ty]332{SnotifyToast})
{
return 𝓟549 = 𝓟[ty]458{SnotifyService}.create(𝓟548{args})
}
function 𝓟509{simple} (𝓟510{args}: [OOV]any): (𝓟511: [OOV]𝓟[ty]332{SnotifyToast})
{
return 𝓟511 = 𝓟[ty]458{SnotifyService}.create(𝓟510{args})
}
function 𝓟604{confirm} (𝓟605{args}: [OOV]any): (𝓟606: [OOV]𝓟[ty]332{SnotifyToast})
{
return 𝓟606 = 𝓟[ty]458{SnotifyService}.create(𝓟605{args})
}
function 𝓟467{get} (𝓟468{id}: (𝓛[ty]10051{String} ≠ 𝓛[ty]8655{Number})): (𝓟469: [OOV]𝓟[ty]332{SnotifyToast})
{
function 𝓟470{$Lambda37} (𝓟471{toast}): (𝓟472: [miss]𝓛[ty]8666{Boolean})
{
return 𝓟472 = 𝓟471{toast}.id.EqualsEqualsEqualsToken(𝓟468{id})
}
return 𝓟469 = 𝓟[ty]458{SnotifyService}.notifications.find(𝓟470{$Lambda37})
}
function 𝓟667{html} (𝓟668{html}: [OOV]any,𝓟669{config}: [OOV]𝓟[ty]1874{SnotifyToastConfig}): (𝓟670: [OOV]𝓟[ty]332{SnotifyToast})
{
return 𝓟670 = 𝓟[ty]458{SnotifyService}.create({title: 𝓛12563{undefined},body: 𝓛12563{undefined},config: {}})
}
function 𝓟473{add} (𝓟474{toast}: [OOV]𝓟[ty]332{SnotifyToast}): (𝓟475: 𝓛[ty]10033{Void})
{
if (𝓟[ty]458{SnotifyService}.config.global.newOnTop)
{
𝓟[ty]458{SnotifyService}.notifications.unshift(𝓟474{toast})
}
else
{
𝓟[ty]458{SnotifyService}.notifications.push(𝓟474{toast})
}
𝓟[ty]458{SnotifyService}.emit()
}
function 𝓟490{setDefaults} (𝓟491{defaults}: [OOV]𝓟[ty]1873{SnotifyDefaults}): (𝓟492: [OOV]𝓟[ty]1873{SnotifyDefaults})
{
return 𝓟492 = 𝓟[ty]458{SnotifyService}.config.FirstAssignment(𝓟124{mergeDeep}(𝓟[ty]458{SnotifyService}.config,𝓟491{defaults}) as 𝓟[ty]1873{SnotifyDefaults})
}
}