Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_View_ApiDemoApp0.prototype.createInternal = function (rootSelector) {
var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
this._el_0 = this.renderer.createElement(parentRenderNode, 'ion-nav', null);
this._appEl_0 = new import3.AppElement(0, null, this, this._el_0);
var compView_0 = import40.viewFactory_Nav0(this.viewUtils, this.injector(0), this._appEl_0);
this._Nav_0_4 = new import40.Wrapper_Nav(this.parentInjector.get(import19.ViewController, null), this.parentInjector.get(import41.NavControllerBase, null), this.parentInjector.get(import20.App), this.parentInjector.get(import17.Config), this.parentInjector.get(import24.Keyboard), new import18.ElementRef(this._el_0), this.parentInjector.get(import25.NgZone), this.renderer, this.parentInjector.get(import42.ComponentFactoryResolver), this.parentInjector.get(import27.GestureController), this.parentInjector.get(import43.TransitionController), this.parentInjector.get(import44.DeepLinker, null));
this._appEl_0.initComponent(this._Nav_0_4.context, [], compView_0);
compView_0.create(this._Nav_0_4.context, [], null);
this.init([], [this._el_0], [], []);
return null;
};
_View_ApiDemoApp0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
this._query_Content_0_0.reset([this._Content_11_4.context]);
this._Menu_0_4.context.menuContent = this._query_Content_0_0.first;
compView_0.create(this._Menu_0_4.context, [[].concat([
this._text_1,
this._el_2,
this._text_10,
this._el_11,
this._text_17
])], null);
this._text_18 = this.renderer.createText(parentRenderNode, '\n\n\n', null);
this._el_19 = this.renderer.createElement(parentRenderNode, 'ion-nav', null);
this.renderer.setElementAttribute(this._el_19, 'id', 'nav');
this.renderer.setElementAttribute(this._el_19, 'swipeBackEnabled', 'false');
this._appEl_19 = new import3.AppElement(19, null, this, this._el_19);
var compView_19 = import55.viewFactory_Nav0(this.viewUtils, this.injector(19), this._appEl_19);
this._Nav_19_4 = new import55.Wrapper_Nav(this.parentInjector.get(import28.ViewController, null), this.parentInjector.get(import57.NavControllerBase, null), this.parentInjector.get(import29.App), this.parentInjector.get(import26.Config), this.parentInjector.get(import33.Keyboard), new import27.ElementRef(this._el_19), this.parentInjector.get(import34.NgZone), this.renderer, this.parentInjector.get(import58.ComponentFactoryResolver), this.parentInjector.get(import36.GestureController), this.parentInjector.get(import59.TransitionController), this.parentInjector.get(import60.DeepLinker, null));
this._appEl_19.initComponent(this._Nav_19_4.context, [], compView_19);
compView_19.create(this._Nav_19_4.context, [], null);
this._text_20 = this.renderer.createText(parentRenderNode, '\n', null);
this._expr_2 = import7.UNINITIALIZED;
this._expr_3 = import7.UNINITIALIZED;
this._viewQuery_Nav_0.reset([this._Nav_19_4.context]);
this.context.nav = this._viewQuery_Nav_0.first;
this.init([], [
this._el_0,
this._text_1,
this._el_2,
this._text_3,
this._el_4,
this._text_5,
this._el_6,
this._text_7,
createInternal(rootSelector:string):import3.AppElement {
const parentRenderNode:any = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
this._el_0 = this.renderer.createElement(parentRenderNode,'ion-nav',(null as any));
this._appEl_0 = new import3.AppElement(0,(null as any),this,this._el_0);
var compView_0:any = import39.viewFactory_Nav0(this.viewUtils,this.injector(0),this._appEl_0);
this._Nav_0_4 = new import39.Wrapper_Nav(this.parentInjector.get(import21.ViewController,(null as any)),this.parentInjector.get(import40.NavControllerBase,(null as any)),this.parentInjector.get(import22.App),this.parentInjector.get(import19.Config),this.parentInjector.get(import25.Keyboard),new import20.ElementRef(this._el_0),this.parentInjector.get(import26.NgZone),this.renderer,this.parentInjector.get(import41.ComponentFactoryResolver),this.parentInjector.get(import28.GestureController),this.parentInjector.get(import42.TransitionController),this.parentInjector.get(import43.DeepLinker,(null as any)));
this._appEl_0.initComponent(this._Nav_0_4.context,([] as any[]),compView_0);
compView_0.create(this._Nav_0_4.context,([] as any[]),(null as any));
this.init(([] as any[]),[this._el_0],([] as any[]),([] as any[]));
return (null as any);
}
injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
_View_ApiDemoApp0.prototype.createInternal = function (rootSelector) {
var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
this._el_0 = this.renderer.createElement(parentRenderNode, 'ion-nav', null);
this._appEl_0 = new import2.AppElement(0, null, this, this._el_0);
var compView_0 = import43.viewFactory_Nav0(this.viewUtils, this.injector(0), this._appEl_0);
this._Nav_0_4 = new import42.Nav(this.parentInjector.get(import26.ViewController, null), this.parentInjector.get(import44.NavControllerBase, null), this.parentInjector.get(import28.App), this.parentInjector.get(import24.Config), this.parentInjector.get(import32.Keyboard), new import25.ElementRef(this._el_0), this.parentInjector.get(import33.NgZone), this.renderer, this.parentInjector.get(import45.ComponentFactoryResolver), this.parentInjector.get(import35.GestureController), this.parentInjector.get(import46.TransitionController), this.parentInjector.get(import47.DeepLinker, null));
this._appEl_0.initComponent(this._Nav_0_4, [], compView_0);
compView_0.create(this._Nav_0_4, [], null);
this._expr_0 = import7.UNINITIALIZED;
this.init([], [this._el_0], [], []);
return null;
};
_View_ApiDemoApp0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
_View_ApiDemoApp0.prototype.createInternal = function (rootSelector) {
var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
this._el_0 = this.renderer.createElement(parentRenderNode, 'ion-nav', null);
this._appEl_0 = new import3.AppElement(0, null, this, this._el_0);
var compView_0 = import42.viewFactory_Nav0(this.viewUtils, this.injector(0), this._appEl_0);
this._Nav_0_4 = new import42.Wrapper_Nav(this.parentInjector.get(import20.ViewController, null), this.parentInjector.get(import43.NavControllerBase, null), this.parentInjector.get(import21.App), this.parentInjector.get(import18.Config), this.parentInjector.get(import24.Keyboard), new import19.ElementRef(this._el_0), this.parentInjector.get(import25.NgZone), this.renderer, this.parentInjector.get(import44.ComponentFactoryResolver), this.parentInjector.get(import27.GestureController), this.parentInjector.get(import45.TransitionController), this.parentInjector.get(import46.DeepLinker, null));
this._appEl_0.initComponent(this._Nav_0_4.context, [], compView_0);
compView_0.create(this._Nav_0_4.context, [], null);
this.init([], [this._el_0], [], []);
return null;
};
_View_ApiDemoApp0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
_View_ApiDemoApp0.prototype.createInternal = function (rootSelector) {
var parentRenderNode = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
this._el_0 = this.renderer.createElement(parentRenderNode, 'ion-nav', null);
this._appEl_0 = new import3.AppElement(0, null, this, this._el_0);
var compView_0 = import39.viewFactory_Nav0(this.viewUtils, this.injector(0), this._appEl_0);
this._Nav_0_4 = new import39.Wrapper_Nav(this.parentInjector.get(import21.ViewController, null), this.parentInjector.get(import40.NavControllerBase, null), this.parentInjector.get(import22.App), this.parentInjector.get(import19.Config), this.parentInjector.get(import25.Keyboard), new import20.ElementRef(this._el_0), this.parentInjector.get(import26.NgZone), this.renderer, this.parentInjector.get(import41.ComponentFactoryResolver), this.parentInjector.get(import28.GestureController), this.parentInjector.get(import42.TransitionController), this.parentInjector.get(import43.DeepLinker, null));
this._appEl_0.initComponent(this._Nav_0_4.context, [], compView_0);
compView_0.create(this._Nav_0_4.context, [], null);
this.init([], [this._el_0], [], []);
return null;
};
_View_ApiDemoApp0.prototype.injectorGetInternal = function (token, requestNodeIndex, notFoundResult) {
createInternal(rootSelector:string):import3.AppElement {
const parentRenderNode:any = this.renderer.createViewRoot(this.declarationAppElement.nativeElement);
this._el_0 = this.renderer.createElement(parentRenderNode,'ion-nav',(null as any));
this._appEl_0 = new import3.AppElement(0,(null as any),this,this._el_0);
var compView_0:any = import39.viewFactory_Nav0(this.viewUtils,this.injector(0),this._appEl_0);
this._Nav_0_4 = new import39.Wrapper_Nav(this.parentInjector.get(import21.ViewController,(null as any)),this.parentInjector.get(import40.NavControllerBase,(null as any)),this.parentInjector.get(import22.App),this.parentInjector.get(import19.Config),this.parentInjector.get(import25.Keyboard),new import20.ElementRef(this._el_0),this.parentInjector.get(import26.NgZone),this.renderer,this.parentInjector.get(import41.ComponentFactoryResolver),this.parentInjector.get(import28.GestureController),this.parentInjector.get(import42.TransitionController),this.parentInjector.get(import43.DeepLinker,(null as any)));
this._appEl_0.initComponent(this._Nav_0_4.context,([] as any[]),compView_0);
compView_0.create(this._Nav_0_4.context,([] as any[]),(null as any));
this.init(([] as any[]),[this._el_0],([] as any[]),([] as any[]));
return (null as any);
}
injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
if ((token === import41.TapClick)) {
return this._TapClick_69;
}
if ((token === import42.ToastController)) {
return this._ToastController_70;
}
if ((token === import43.Translate)) {
return this._Translate_71;
}
if ((token === import44.TransitionController)) {
return this._TransitionController_72;
}
if ((token === import64.UrlSerializer)) {
return this._UrlSerializer_73;
}
if ((token === import65.DeepLinker)) {
return this._DeepLinker_74;
}
return notFoundResult;
};
AppModuleInjector.prototype.destroyInternal = function () {
if ((token === import32.Haptic)) { return this._Haptic_59; }
if ((token === import33.GestureController)) { return this._GestureController_60; }
if ((token === import34.Keyboard)) { return this._Keyboard_61; }
if ((token === import35.LoadingController)) { return this._LoadingController_62; }
if ((token === import63.LocationStrategy)) { return this._LocationStrategy_63; }
if ((token === import36.Location)) { return this._Location_64; }
if ((token === import37.MenuController)) { return this._MenuController_65; }
if ((token === import38.ModalController)) { return this._ModalController_66; }
if ((token === import39.PickerController)) { return this._PickerController_67; }
if ((token === import40.PopoverController)) { return this._PopoverController_68; }
if ((token === import41.TapClick)) { return this._TapClick_69; }
if ((token === import42.ToastController)) { return this._ToastController_70; }
if ((token === import43.Translate)) { return this._Translate_71; }
if ((token === import44.TransitionController)) { return this._TransitionController_72; }
if ((token === import64.UrlSerializer)) { return this._UrlSerializer_73; }
if ((token === import65.DeepLinker)) { return this._DeepLinker_74; }
return notFoundResult;
}
destroyInternal():void {
if ((token === import41.TapClick)) {
return this._TapClick_69;
}
if ((token === import42.ToastController)) {
return this._ToastController_70;
}
if ((token === import43.Translate)) {
return this._Translate_71;
}
if ((token === import44.TransitionController)) {
return this._TransitionController_72;
}
if ((token === import64.UrlSerializer)) {
return this._UrlSerializer_73;
}
if ((token === import65.DeepLinker)) {
return this._DeepLinker_74;
}
return notFoundResult;
};
AppModuleInjector.prototype.destroyInternal = function () {