UNPKG

ngx-msg

Version:

Angular notification component

39 lines (38 loc) 1.79 kB
/** * @fileoverview This file is generated by the Angular 2 template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties} */ /* tslint:disable */ import * as import0 from '@angular/core/src/linker/ng_module_factory'; import * as import1 from '../../../src/ngx-msg/ngx-msg.module'; import * as import2 from '@angular/common/src/common_module'; import * as import3 from '@angular/common/src/localization'; import * as import4 from '@angular/core/src/di/injector'; import * as import5 from '@angular/core/src/i18n/tokens'; class NgxMsgModuleInjector extends import0.NgModuleInjector<import1.NgxMsgModule> { _CommonModule_0:import2.CommonModule; _NgxMsgModule_1:import1.NgxMsgModule; __NgLocalization_2:import3.NgLocaleLocalization; constructor(parent:import4.Injector) { super(parent,([] as any[]),([] as any[])); } get _NgLocalization_2():import3.NgLocaleLocalization { if ((this.__NgLocalization_2 == null)) { (this.__NgLocalization_2 = new import3.NgLocaleLocalization(this.parent.get(import5.LOCALE_ID))); } return this.__NgLocalization_2; } createInternal():import1.NgxMsgModule { this._CommonModule_0 = new import2.CommonModule(); this._NgxMsgModule_1 = new import1.NgxMsgModule(); return this._NgxMsgModule_1; } getInternal(token:any,notFoundResult:any):any { if ((token === import2.CommonModule)) { return this._CommonModule_0; } if ((token === import1.NgxMsgModule)) { return this._NgxMsgModule_1; } if ((token === import3.NgLocalization)) { return this._NgLocalization_2; } return notFoundResult; } destroyInternal():void { } } export const NgxMsgModuleNgFactory:import0.NgModuleFactory<import1.NgxMsgModule> = new import0.NgModuleFactory(NgxMsgModuleInjector,import1.NgxMsgModule);