/** * @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/components/charts/TestCumulativeChart'; import * as import1 from '@angular/core/src/change_detection/change_detection'; import * as import2 from '@angular/core/src/linker/view'; import * as import3 from '@angular/core/src/linker/view_utils'; import * as import4 from '@angular/core/src/render/api'; import * as import5 from '@angular/core/src/metadata/view'; import * as import6 from '@angular/core/src/linker/view_type'; import * as import7 from '@angular/core/src/linker/component_factory'; import * as import8 from '@angular/core/src/linker/element_ref'; import * as import9 from '@angular/core/src/linker/view_container'; import * as import10 from '../../../node_modules/@angular/common/src/directives/ng_if.ngfactory'; import * as import11 from '@angular/core/src/linker/template_ref'; import * as import12 from '@angular/common/src/directives/ng_if'; import * as import13 from 'angular2-highcharts/dist/ChartComponent'; import * as import14 from 'angular2-highcharts/dist/HighchartsService'; import * as import15 from '../../../node_modules/angular2-highcharts/dist/ChartComponent.ngfactory'; import * as import16 from '@angular/core/src/linker/query_list'; export class Wrapper_TestCumulativeChartComponent { /*private*/ _eventHandler:Function; context:import0.TestCumulativeChartComponent; /*private*/ _changed:boolean; /*private*/ _expr_0:any; /*private*/ _expr_1:any; /*private*/ _expr_2:any; /*private*/ _expr_3:any; /*private*/ _expr_4:any; constructor(p0:any) { this._changed = false; this.context = new import0.TestCumulativeChartComponent(p0); this._expr_0 = import1.UNINITIALIZED; this._expr_1 = import1.UNINITIALIZED; this._expr_2 = import1.UNINITIALIZED; this._expr_3 = import1.UNINITIALIZED; this._expr_4 = import1.UNINITIALIZED; } ngOnDetach(view:import2.AppView,componentView:import2.AppView,el:any):void { } ngOnDestroy():void { } check_results(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void { if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_0,currValue))) { this._changed = true; this.context.results = currValue; this._expr_0 = currValue; } } check_test(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void { if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_1,currValue))) { this._changed = true; this.context.test = currValue; this._expr_1 = currValue; } } check_height(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void { if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_2,currValue))) { this._changed = true; this.context.height = currValue; this._expr_2 = currValue; } } check_width(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void { if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_3,currValue))) { this._changed = true; this.context.width = currValue; this._expr_3 = currValue; } } check_simpleview(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void { if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_4,currValue))) { this._changed = true; this.context.simpleview = currValue; this._expr_4 = currValue; } } ngDoCheck(view:import2.AppView,el:any,throwOnChange:boolean):boolean { var changed:any = this._changed; this._changed = false; if (!throwOnChange) { if ((view.numberOfChecks === 0)) { this.context.ngOnInit(); } } return changed; } checkHost(view:import2.AppView,componentView:import2.AppView,el:any,throwOnChange:boolean):void { } handleEvent(eventName:string,$event:any):boolean { var result:boolean = true; return result; } subscribe(view:import2.AppView,_eventHandler:any):void { this._eventHandler = _eventHandler; } } var renderType_TestCumulativeChartComponent_Host:import4.RenderComponentType = import3.createRenderComponentType('',0,import5.ViewEncapsulation.None,([] as any[]),{}); class View_TestCumulativeChartComponent_Host0 extends import2.AppView { _el_0:any; compView_0:import2.AppView; _TestCumulativeChartComponent_0_3:Wrapper_TestCumulativeChartComponent; constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView,parentIndex:number,parentElement:any) { super(View_TestCumulativeChartComponent_Host0,renderType_TestCumulativeChartComponent_Host,import6.ViewType.HOST,viewUtils,parentView,parentIndex,parentElement,import1.ChangeDetectorStatus.CheckAlways); } createInternal(rootSelector:string):import7.ComponentRef { this._el_0 = import3.selectOrCreateRenderHostElement(this.renderer,'st-test-cumulative-chart',import3.EMPTY_INLINE_ARRAY,rootSelector,(null as any)); this.compView_0 = new View_TestCumulativeChartComponent0(this.viewUtils,this,0,this._el_0); this._TestCumulativeChartComponent_0_3 = new Wrapper_TestCumulativeChartComponent(new import8.ElementRef(this._el_0)); this.compView_0.create(this._TestCumulativeChartComponent_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._TestCumulativeChartComponent_0_3.context); } injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any { if (((token === import0.TestCumulativeChartComponent) && (0 === requestNodeIndex))) { return this._TestCumulativeChartComponent_0_3.context; } return notFoundResult; } detectChangesInternal(throwOnChange:boolean):void { this._TestCumulativeChartComponent_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 TestCumulativeChartComponentNgFactory:import7.ComponentFactory = new import7.ComponentFactory('st-test-cumulative-chart',View_TestCumulativeChartComponent_Host0,import0.TestCumulativeChartComponent); const styles_TestCumulativeChartComponent:any[] = ([] as any[]); var renderType_TestCumulativeChartComponent:import4.RenderComponentType = import3.createRenderComponentType('',0,import5.ViewEncapsulation.None,styles_TestCumulativeChartComponent,{}); export class View_TestCumulativeChartComponent0 extends import2.AppView { _text_0:any; _anchor_1:any; /*private*/ _vc_1:import9.ViewContainer; _TemplateRef_1_5:any; _NgIf_1_6:import10.Wrapper_NgIf; _text_2:any; constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView,parentIndex:number,parentElement:any) { super(View_TestCumulativeChartComponent0,renderType_TestCumulativeChartComponent,import6.ViewType.COMPONENT,viewUtils,parentView,parentIndex,parentElement,import1.ChangeDetectorStatus.CheckAlways); } createInternal(rootSelector:string):import7.ComponentRef { const parentRenderNode:any = this.renderer.createViewRoot(this.parentElement); 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 import11.TemplateRef_(this,1,this._anchor_1); this._NgIf_1_6 = new import10.Wrapper_NgIf(this._vc_1.vcRef,this._TemplateRef_1_5); this._text_2 = this.renderer.createText(parentRenderNode,'\n ',(null as any)); this.init((null as any),((this.renderer).directRenderer? (null as any): [ this._text_0, this._anchor_1, this._text_2 ] ),(null as any)); return (null as any); } injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any { if (((token === import11.TemplateRef) && (1 === requestNodeIndex))) { return this._TemplateRef_1_5; } if (((token === import12.NgIf) && (1 === requestNodeIndex))) { return this._NgIf_1_6.context; } return notFoundResult; } detectChangesInternal(throwOnChange:boolean):void { const currVal_1_0_0:any = this.context.validData; this._NgIf_1_6.check_ngIf(currVal_1_0_0,throwOnChange,false); this._NgIf_1_6.ngDoCheck(this,this._anchor_1,throwOnChange); this._vc_1.detectChangesInNestedViews(throwOnChange); } destroyInternal():void { this._vc_1.destroyNestedViews(); } createEmbeddedViewInternal(nodeIndex:number):import2.AppView { if ((nodeIndex == 1)) { return new View_TestCumulativeChartComponent1(this.viewUtils,this,1,this._anchor_1,this._vc_1); } return (null as any); } } class View_TestCumulativeChartComponent1 extends import2.AppView { _el_0:any; compView_0:import2.AppView; _HighchartsService_0_3:import14.HighchartsService; _ChartComponent_0_4:import15.Wrapper_ChartComponent; _query_ChartSeriesComponent_0_0:import16.QueryList; _query_ChartXAxisComponent_0_1:import16.QueryList; _query_ChartYAxisComponent_0_2:import16.QueryList; constructor(viewUtils:import3.ViewUtils,parentView:import2.AppView,parentIndex:number,parentElement:any,declaredViewContainer:import9.ViewContainer) { super(View_TestCumulativeChartComponent1,renderType_TestCumulativeChartComponent,import6.ViewType.EMBEDDED,viewUtils,parentView,parentIndex,parentElement,import1.ChangeDetectorStatus.CheckAlways,declaredViewContainer); } createInternal(rootSelector:string):import7.ComponentRef { this._el_0 = import3.createRenderElement(this.renderer,(null as any),'chart',import3.EMPTY_INLINE_ARRAY,(null as any)); this.compView_0 = new import15.View_ChartComponent0(this.viewUtils,this,0,this._el_0); this._HighchartsService_0_3 = new import14.HighchartsService(); this._ChartComponent_0_4 = new import15.Wrapper_ChartComponent(new import8.ElementRef(this._el_0),this._HighchartsService_0_3); this._query_ChartSeriesComponent_0_0 = new import16.QueryList(); this._query_ChartXAxisComponent_0_1 = new import16.QueryList(); this._query_ChartYAxisComponent_0_2 = new import16.QueryList(); this._query_ChartSeriesComponent_0_0.reset(([] as any[])); this._ChartComponent_0_4.context.series = this._query_ChartSeriesComponent_0_0.first; this._query_ChartXAxisComponent_0_1.reset(([] as any[])); this._ChartComponent_0_4.context.xAxis = this._query_ChartXAxisComponent_0_1.first; this._query_ChartYAxisComponent_0_2.reset(([] as any[])); this._ChartComponent_0_4.context.yAxis = this._query_ChartYAxisComponent_0_2.first; this.compView_0.create(this._ChartComponent_0_4.context); this.init(this._el_0,((this.renderer).directRenderer? (null as any): [this._el_0]),(null as any)); return (null as any); } injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any { if (((token === import14.HighchartsService) && (0 === requestNodeIndex))) { return this._HighchartsService_0_3; } if (((token === import13.ChartComponent) && (0 === requestNodeIndex))) { return this._ChartComponent_0_4.context; } return notFoundResult; } detectChangesInternal(throwOnChange:boolean):void { const currVal_0_0_0:any = this.parentView.context.options; this._ChartComponent_0_4.check_options(currVal_0_0_0,throwOnChange,false); this._ChartComponent_0_4.ngDoCheck(this,this._el_0,throwOnChange); this.compView_0.detectChanges(throwOnChange); if (!throwOnChange) { if ((this.numberOfChecks === 0)) { this._ChartComponent_0_4.context.ngAfterViewInit(); } } } destroyInternal():void { this.compView_0.destroy(); this._ChartComponent_0_4.ngOnDestroy(); } visitRootNodesInternal(cb:any,ctx:any):void { cb(this._el_0,ctx); } }