/** * @fileoverview This file is generated by the Angular 2 template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties} */ /* tslint:disable */ import * as import0 from '../../../../src/ui-bootstrap/wrappers/label'; import * as import1 from '@angular/core/src/linker/view'; import * as import2 from '@angular/core/src/render/api'; import * as import3 from '@angular/core/src/linker/view_utils'; import * as import4 from '@angular/core/src/metadata/view'; import * as import5 from '@angular/core/src/linker/view_type'; import * as import6 from '@angular/core/src/change_detection/change_detection'; import * as import7 from '@angular/core/src/linker/component_factory'; import * as import8 from '@angular/core/src/linker/query_list'; import * as import9 from '@angular/core/src/linker/view_container'; import * as import10 from '@angular/core/src/linker/template_ref'; export class Wrapper_FormlyWrapperLabel { /*private*/ _eventHandler:Function; context:import0.FormlyWrapperLabel; /*private*/ _changed:boolean; constructor() { this._changed = false; this.context = new import0.FormlyWrapperLabel(); } ngOnDetach(view:import1.AppView,componentView:import1.AppView,el:any):void { } ngOnDestroy():void { } ngDoCheck(view:import1.AppView,el:any,throwOnChange:boolean):boolean { var changed:any = this._changed; this._changed = false; return changed; } checkHost(view:import1.AppView,componentView:import1.AppView,el:any,throwOnChange:boolean):void { } handleEvent(eventName:string,$event:any):boolean { var result:boolean = true; return result; } subscribe(view:import1.AppView,_eventHandler:any):void { this._eventHandler = _eventHandler; } } var renderType_FormlyWrapperLabel_Host:import2.RenderComponentType = import3.createRenderComponentType('',0,import4.ViewEncapsulation.None,([] as any[]),{}); class View_FormlyWrapperLabel_Host0 extends import1.AppView { _el_0:any; compView_0:import1.AppView; _FormlyWrapperLabel_0_3:Wrapper_FormlyWrapperLabel; constructor(viewUtils:import3.ViewUtils,parentView:import1.AppView,parentIndex:number,parentElement:any) { super(View_FormlyWrapperLabel_Host0,renderType_FormlyWrapperLabel_Host,import5.ViewType.HOST,viewUtils,parentView,parentIndex,parentElement,import6.ChangeDetectorStatus.CheckAlways); } createInternal(rootSelector:string):import7.ComponentRef { this._el_0 = import3.selectOrCreateRenderHostElement(this.renderer,'formly-wrapper-label',import3.EMPTY_INLINE_ARRAY,rootSelector,(null as any)); this.compView_0 = new View_FormlyWrapperLabel0(this.viewUtils,this,0,this._el_0); this._FormlyWrapperLabel_0_3 = new Wrapper_FormlyWrapperLabel(); this.compView_0.create(this._FormlyWrapperLabel_0_3.context); this.init(this._el_0,((this.renderer).directRenderer? (null as any): [this._el_0]),(null as any)); return new import7.ComponentRef_(0,this,this._el_0,this._FormlyWrapperLabel_0_3.context); } injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any { if (((token === import0.FormlyWrapperLabel) && (0 === requestNodeIndex))) { return this._FormlyWrapperLabel_0_3.context; } return notFoundResult; } detectChangesInternal(throwOnChange:boolean):void { this._FormlyWrapperLabel_0_3.ngDoCheck(this,this._el_0,throwOnChange); this.compView_0.detectChanges(throwOnChange); } destroyInternal():void { this.compView_0.destroy(); } visitRootNodesInternal(cb:any,ctx:any):void { cb(this._el_0,ctx); } } export const FormlyWrapperLabelNgFactory:import7.ComponentFactory = new import7.ComponentFactory('formly-wrapper-label',View_FormlyWrapperLabel_Host0,import0.FormlyWrapperLabel); const styles_FormlyWrapperLabel:any[] = ([] as any[]); var renderType_FormlyWrapperLabel:import2.RenderComponentType = import3.createRenderComponentType('',0,import4.ViewEncapsulation.None,styles_FormlyWrapperLabel,{}); export class View_FormlyWrapperLabel0 extends import1.AppView { _viewQuery_fieldComponent_0:import8.QueryList; _text_0:any; _el_1:any; _text_2:any; _text_3:any; _anchor_4:any; /*private*/ _vc_4:import9.ViewContainer; _TemplateRef_4_5:any; _text_5:any; /*private*/ _expr_9:any; /*private*/ _expr_10:any; constructor(viewUtils:import3.ViewUtils,parentView:import1.AppView,parentIndex:number,parentElement:any) { super(View_FormlyWrapperLabel0,renderType_FormlyWrapperLabel,import5.ViewType.COMPONENT,viewUtils,parentView,parentIndex,parentElement,import6.ChangeDetectorStatus.CheckAlways); this._expr_9 = import6.UNINITIALIZED; this._expr_10 = import6.UNINITIALIZED; } createInternal(rootSelector:string):import7.ComponentRef { const parentRenderNode:any = this.renderer.createViewRoot(this.parentElement); this._viewQuery_fieldComponent_0 = new import8.QueryList(); this._text_0 = this.renderer.createText(parentRenderNode,'\n ',(null as any)); this._el_1 = import3.createRenderElement(this.renderer,parentRenderNode,'label',new import3.InlineArray2(2,'class','form-control-label'),(null as any)); this._text_2 = this.renderer.createText(this._el_1,'',(null as any)); this._text_3 = this.renderer.createText(parentRenderNode,'\n ',(null as any)); this._anchor_4 = this.renderer.createTemplateAnchor(parentRenderNode,(null as any)); this._vc_4 = new import9.ViewContainer(4,(null as any),this,this._anchor_4); this._TemplateRef_4_5 = new import10.TemplateRef_(this,4,this._anchor_4); this._text_5 = this.renderer.createText(parentRenderNode,'\n ',(null as any)); this._viewQuery_fieldComponent_0.reset([this._vc_4.vcRef]); this.context.fieldComponent = this._viewQuery_fieldComponent_0.first; this.init((null as any),((this.renderer).directRenderer? (null as any): [ this._text_0, this._el_1, this._text_2, this._text_3, this._anchor_4, this._text_5 ] ),(null as any)); return (null as any); } injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any { if (((token === import10.TemplateRef) && (4 === requestNodeIndex))) { return this._TemplateRef_4_5; } return notFoundResult; } detectChangesInternal(throwOnChange:boolean):void { this._vc_4.detectChangesInNestedViews(throwOnChange); const currVal_9:any = this.context.id; if (import3.checkBinding(throwOnChange,this._expr_9,currVal_9)) { this.renderer.setElementAttribute(this._el_1,'for',((currVal_9 == null)? (null as any): currVal_9.toString())); this._expr_9 = currVal_9; } const currVal_10:any = import3.inlineInterpolate(1,'',this.context.to.label,''); if (import3.checkBinding(throwOnChange,this._expr_10,currVal_10)) { this.renderer.setText(this._text_2,currVal_10); this._expr_10 = currVal_10; } } destroyInternal():void { this._vc_4.destroyNestedViews(); } createEmbeddedViewInternal(nodeIndex:number):import1.AppView { if ((nodeIndex == 4)) { return new View_FormlyWrapperLabel1(this.viewUtils,this,4,this._anchor_4,this._vc_4); } return (null as any); } } class View_FormlyWrapperLabel1 extends import1.AppView { _el_0:any; constructor(viewUtils:import3.ViewUtils,parentView:import1.AppView,parentIndex:number,parentElement:any,declaredViewContainer:import9.ViewContainer) { super(View_FormlyWrapperLabel1,renderType_FormlyWrapperLabel,import5.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import6.ChangeDetectorStatus.CheckAlways,declaredViewContainer); } createInternal(rootSelector:string):import7.ComponentRef { this._el_0 = this.renderer.createTemplateAnchor((null as any),(null as any)); this.init(this._el_0,((this.renderer).directRenderer? (null as any): ([] as any[])),(null as any)); return (null as any); } visitRootNodesInternal(cb:any,ctx:any):void { cb(this._el_0,ctx); } }