/** * @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/description'; 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_FormlyWrapperDescription { /*private*/ _eventHandler:Function; context:import0.FormlyWrapperDescription; /*private*/ _changed:boolean; constructor() { this._changed = false; this.context = new import0.FormlyWrapperDescription(); } 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_FormlyWrapperDescription_Host:import2.RenderComponentType = import3.createRenderComponentType('',0,import4.ViewEncapsulation.None,([] as any[]),{}); class View_FormlyWrapperDescription_Host0 extends import1.AppView { _el_0:any; compView_0:import1.AppView; _FormlyWrapperDescription_0_3:Wrapper_FormlyWrapperDescription; constructor(viewUtils:import3.ViewUtils,parentView:import1.AppView,parentIndex:number,parentElement:any) { super(View_FormlyWrapperDescription_Host0,renderType_FormlyWrapperDescription_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-description',import3.EMPTY_INLINE_ARRAY,rootSelector,(null as any)); this.compView_0 = new View_FormlyWrapperDescription0(this.viewUtils,this,0,this._el_0); this._FormlyWrapperDescription_0_3 = new Wrapper_FormlyWrapperDescription(); this.compView_0.create(this._FormlyWrapperDescription_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._FormlyWrapperDescription_0_3.context); } injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any { if (((token === import0.FormlyWrapperDescription) && (0 === requestNodeIndex))) { return this._FormlyWrapperDescription_0_3.context; } return notFoundResult; } detectChangesInternal(throwOnChange:boolean):void { this._FormlyWrapperDescription_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 FormlyWrapperDescriptionNgFactory:import7.ComponentFactory = new import7.ComponentFactory('formly-wrapper-description',View_FormlyWrapperDescription_Host0,import0.FormlyWrapperDescription); const styles_FormlyWrapperDescription:any[] = ([] as any[]); var renderType_FormlyWrapperDescription:import2.RenderComponentType = import3.createRenderComponentType('',0,import4.ViewEncapsulation.None,styles_FormlyWrapperDescription,{}); export class View_FormlyWrapperDescription0 extends import1.AppView { _viewQuery_fieldComponent_0:import8.QueryList; _text_0:any; _anchor_1:any; /*private*/ _vc_1:import9.ViewContainer; _TemplateRef_1_5:any; _text_2:any; _el_3:any; _text_4:any; _el_5:any; _text_6:any; _text_7:any; _text_8:any; /*private*/ _expr_12:any; constructor(viewUtils:import3.ViewUtils,parentView:import1.AppView,parentIndex:number,parentElement:any) { super(View_FormlyWrapperDescription0,renderType_FormlyWrapperDescription,import5.ViewType.COMPONENT,viewUtils,parentView,parentIndex,parentElement,import6.ChangeDetectorStatus.CheckAlways); this._expr_12 = 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._anchor_1 = this.renderer.createTemplateAnchor(parentRenderNode,(null as any)); this._vc_1 = new import9.ViewContainer(1,(null as any),this,this._anchor_1); this._TemplateRef_1_5 = new import10.TemplateRef_(this,1,this._anchor_1); this._text_2 = this.renderer.createText(parentRenderNode,'\n ',(null as any)); this._el_3 = import3.createRenderElement(this.renderer,parentRenderNode,'div',import3.EMPTY_INLINE_ARRAY,(null as any)); this._text_4 = this.renderer.createText(this._el_3,'\n ',(null as any)); this._el_5 = import3.createRenderElement(this.renderer,this._el_3,'small',new import3.InlineArray2(2,'class','text-muted'),(null as any)); this._text_6 = this.renderer.createText(this._el_5,'',(null as any)); this._text_7 = this.renderer.createText(this._el_3,'\n ',(null as any)); this._text_8 = this.renderer.createText(parentRenderNode,'\n ',(null as any)); this._viewQuery_fieldComponent_0.reset([this._vc_1.vcRef]); this.context.fieldComponent = this._viewQuery_fieldComponent_0.first; this.init((null as any),((this.renderer).directRenderer? (null as any): [ this._text_0, this._anchor_1, this._text_2, this._el_3, this._text_4, this._el_5, this._text_6, this._text_7, this._text_8 ] ),(null as any)); return (null as any); } injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any { if (((token === import10.TemplateRef) && (1 === requestNodeIndex))) { return this._TemplateRef_1_5; } return notFoundResult; } detectChangesInternal(throwOnChange:boolean):void { this._vc_1.detectChangesInNestedViews(throwOnChange); const currVal_12:any = import3.inlineInterpolate(1,'',this.context.to.description,''); if (import3.checkBinding(throwOnChange,this._expr_12,currVal_12)) { this.renderer.setText(this._text_6,currVal_12); this._expr_12 = currVal_12; } } destroyInternal():void { this._vc_1.destroyNestedViews(); } createEmbeddedViewInternal(nodeIndex:number):import1.AppView { if ((nodeIndex == 1)) { return new View_FormlyWrapperDescription1(this.viewUtils,this,1,this._anchor_1,this._vc_1); } return (null as any); } } class View_FormlyWrapperDescription1 extends import1.AppView { _el_0:any; constructor(viewUtils:import3.ViewUtils,parentView:import1.AppView,parentIndex:number,parentElement:any,declaredViewContainer:import9.ViewContainer) { super(View_FormlyWrapperDescription1,renderType_FormlyWrapperDescription,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); } }