detectChangesInternal(throwOnChange:boolean):void {
   if (((this.numberOfChecks === 0) && !throwOnChange)) { this._Content_9_4.ngOnInit(); }
   this.detectContentChildrenChanges(throwOnChange);
   if (!throwOnChange) {
     if (this._query_Button_30_1.dirty) {
       this._query_Button_30_1.reset([]);
       this._Item_30_5._buttons = this._query_Button_30_1;
       this._query_Button_30_1.notifyOnChanges();
     }
     if (this._query_Icon_30_2.dirty) {
       this._query_Icon_30_2.reset([]);
       this._Item_30_5._icons = this._query_Icon_30_2;
       this._query_Icon_30_2.notifyOnChanges();
     }
     if ((this.numberOfChecks === 0)) { this._Item_30_5.ngAfterContentInit(); }
   }
   const currVal_0:any = this._Toolbar_2_4._sbPadding;
   if (import69.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
     this.renderer.setElementClass(this._el_2,'statusbar-padding',currVal_0);
     this._expr_0 = currVal_0;
   }
   const currVal_1:any = this._Content_9_4._sbPadding;
   if (import69.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
     this.renderer.setElementClass(this._el_9,'statusbar-padding',currVal_1);
     this._expr_1 = currVal_1;
   }
   this.detectViewChildrenChanges(throwOnChange);
 }
 detectChangesInternal(throwOnChange:boolean):void {
   var changes:{[key: string]:import71.SimpleChange} = null;
   if (((this.numberOfChecks === 0) && !throwOnChange)) { this._Content_9_4.ngOnInit(); }
   changes = null;
   const currVal_2:any = this.context.people;
   if (import69.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
     this._NgFor_11_6.ngForOf = currVal_2;
     if ((changes === null)) { (changes = {}); }
     changes['ngForOf'] = new import71.SimpleChange(this._expr_2,currVal_2);
     this._expr_2 = currVal_2;
   }
   if ((changes !== null)) { this._NgFor_11_6.ngOnChanges(changes); }
   if (!throwOnChange) { this._NgFor_11_6.ngDoCheck(); }
   this.detectContentChildrenChanges(throwOnChange);
   const currVal_0:any = this._Toolbar_2_4._sbPadding;
   if (import69.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
     this.renderer.setElementClass(this._el_2,'statusbar-padding',currVal_0);
     this._expr_0 = currVal_0;
   }
   const currVal_1:any = this._Content_9_4._sbPadding;
   if (import69.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
     this.renderer.setElementClass(this._el_9,'statusbar-padding',currVal_1);
     this._expr_1 = currVal_1;
   }
   this.detectViewChildrenChanges(throwOnChange);
 }
 detectChangesInternal(throwOnChange:boolean):void {
   this.detectContentChildrenChanges(throwOnChange);
   if (!throwOnChange) {
     if (this._query_Button_0_1.dirty) {
       this._query_Button_0_1.reset([]);
       this._Item_0_5._buttons = this._query_Button_0_1;
       this._query_Button_0_1.notifyOnChanges();
     }
     if (this._query_Icon_0_2.dirty) {
       this._query_Icon_0_2.reset([]);
       this._Item_0_5._icons = this._query_Icon_0_2;
       this._query_Icon_0_2.notifyOnChanges();
     }
     if ((this.numberOfChecks === 0)) { this._Item_0_5.ngAfterContentInit(); }
   }
   const currVal_0:any = this.context.$implicit.fontSize;
   if (import69.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
     this.renderer.setElementStyle(this._el_2,'fontSize',((this.viewUtils.sanitizer.sanitize(import91.SecurityContext.STYLE,currVal_0) == null)? null: this.viewUtils.sanitizer.sanitize(import91.SecurityContext.STYLE,currVal_0).toString()));
     this._expr_0 = currVal_0;
   }
   const currVal_1:any = import69.interpolate(1,'',this.context.$implicit.item,'');
   if (import69.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
     this.renderer.setText(this._text_3,currVal_1);
     this._expr_1 = currVal_1;
   }
   this.detectViewChildrenChanges(throwOnChange);
 }
 detectChangesInternal(throwOnChange:boolean):void {
   const currVal_1:any = 'pin';
   if (import69.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
     this._Icon_4_3.name = currVal_1;
     this._expr_1 = currVal_1;
   }
   this.detectContentChildrenChanges(throwOnChange);
   if (!throwOnChange) {
     if (this._query_Button_0_1.dirty) {
       this._query_Button_0_1.reset([]);
       this._Item_0_5._buttons = this._query_Button_0_1;
       this._query_Button_0_1.notifyOnChanges();
     }
     if (this._query_Icon_0_2.dirty) {
       this._query_Icon_0_2.reset([this._Icon_4_3]);
       this._Item_0_5._icons = this._query_Icon_0_2;
       this._query_Icon_0_2.notifyOnChanges();
     }
     if ((this.numberOfChecks === 0)) { this._Item_0_5.ngAfterContentInit(); }
   }
   const currVal_0:any = import69.interpolate(1,'\n      ',this.context.$implicit,'\n      ');
   if (import69.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
     this.renderer.setText(this._text_1,currVal_0);
     this._expr_0 = currVal_0;
   }
   this.detectViewChildrenChanges(throwOnChange);
 }
 detectChangesInternal(throwOnChange:boolean):void {
   if (((this.numberOfChecks === 0) && !throwOnChange)) { this._Content_9_4.ngOnInit(); }
   const currVal_2:any = this.context.items;
   if (import69.checkBinding(throwOnChange,this._expr_2,currVal_2)) {
     this._VirtualScroll_11_4.virtualScroll = currVal_2;
     this._expr_2 = currVal_2;
   }
   const currVal_3:any = this.context.headerFn;
   if (import69.checkBinding(throwOnChange,this._expr_3,currVal_3)) {
     this._VirtualScroll_11_4.headerFn = currVal_3;
     this._expr_3 = currVal_3;
   }
   if (!throwOnChange) { this._VirtualScroll_11_4.ngDoCheck(); }
   this.detectContentChildrenChanges(throwOnChange);
   if (!throwOnChange) {
     if (this._query_Img_11_3.dirty) {
       this._query_Img_11_3.reset([]);
       this._VirtualScroll_11_4._imgs = this._query_Img_11_3;
       this._query_Img_11_3.notifyOnChanges();
     }
     if ((this.numberOfChecks === 0)) { this._VirtualScroll_11_4.ngAfterContentInit(); }
   }
   const currVal_0:any = this._Toolbar_2_4._sbPadding;
   if (import69.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
     this.renderer.setElementClass(this._el_2,'statusbar-padding',currVal_0);
     this._expr_0 = currVal_0;
   }
   const currVal_1:any = this._Content_9_4._sbPadding;
   if (import69.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
     this.renderer.setElementClass(this._el_9,'statusbar-padding',currVal_1);
     this._expr_1 = currVal_1;
   }
   this.detectViewChildrenChanges(throwOnChange);
 }
 detectChangesInternal(throwOnChange:boolean):void {
   var changes:{[key: string]:import71.SimpleChange} = null;
   changes = null;
   const currVal_1:any = this.context.$implicit.items;
   if (import69.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
     this._NgFor_5_6.ngForOf = currVal_1;
     if ((changes === null)) { (changes = {}); }
     changes['ngForOf'] = new import71.SimpleChange(this._expr_1,currVal_1);
     this._expr_1 = currVal_1;
   }
   if ((changes !== null)) { this._NgFor_5_6.ngOnChanges(changes); }
   if (!throwOnChange) { this._NgFor_5_6.ngDoCheck(); }
   this.detectContentChildrenChanges(throwOnChange);
   if (!throwOnChange) {
     if (this._query_Button_2_1.dirty) {
       this._query_Button_2_1.reset([]);
       this._Item_2_4._buttons = this._query_Button_2_1;
       this._query_Button_2_1.notifyOnChanges();
     }
     if (this._query_Icon_2_2.dirty) {
       this._query_Icon_2_2.reset([]);
       this._Item_2_4._icons = this._query_Icon_2_2;
       this._query_Icon_2_2.notifyOnChanges();
     }
     if ((this.numberOfChecks === 0)) { this._Item_2_4.ngAfterContentInit(); }
   }
   const currVal_0:any = import69.interpolate(1,'',this.context.$implicit.title,'');
   if (import69.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
     this.renderer.setText(this._text_3,currVal_0);
     this._expr_0 = currVal_0;
   }
   this.detectViewChildrenChanges(throwOnChange);
 }
 checkHost(view:import2.AppView<any>,componentView:import2.AppView<any>,el:any,throwOnChange:boolean):void {
   const currVal_5:any = (this.context.state !== 'inactive');
   if (import3.checkBinding(throwOnChange,this._expr_5,currVal_5)) {
     view.renderer.setElementClass(el,'refresher-active',currVal_5);
     this._expr_5 = currVal_5;
   }
   const currVal_6:any = this.context._top;
   if (import3.checkBinding(throwOnChange,this._expr_6,currVal_6)) {
     view.renderer.setElementStyle(el,'top',((view.viewUtils.sanitizer.sanitize(import4.SecurityContext.STYLE,currVal_6) == null)? (null as any): view.viewUtils.sanitizer.sanitize(import4.SecurityContext.STYLE,currVal_6).toString()));
     this._expr_6 = currVal_6;
   }
 }
 detectChangesInternal(throwOnChange: boolean): void {
   const currVal_0: any = ((this.context.data.depth % 2) ? '' : 'grey');
   if (import4.checkBinding(throwOnChange, this._expr_0, currVal_0)) {
     this._el_0.style.backgroundColor = currVal_0;
     this._expr_0 = currVal_0;
   }
   const currVal_1: any = import4.interpolate(1, ' ', this.context.data.value, ' ');
   if (import4.checkBinding(throwOnChange, this._expr_1, currVal_1)) {
     this._text_1.nodeValue = currVal_1;
     this._expr_1 = currVal_1;
   }
 }
示例#9
0
 detectChangesInternal(throwOnChange:boolean):void {
   const currVal_0:any = 'modal-dialog';
   if (import4.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
     this._NgClass_1_3.klass = currVal_0;
     this._expr_0 = currVal_0;
   }
   const currVal_1:any = this.context.getCssClasses();
   if (import4.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
     this._NgClass_1_3.ngClass = currVal_1;
     this._expr_1 = currVal_1;
   }
   if (!throwOnChange) { this._NgClass_1_3.ngDoCheck(); }
   this.detectContentChildrenChanges(throwOnChange);
   this.detectViewChildrenChanges(throwOnChange);
 }
 detectChangesInternal(throwOnChange:boolean):void {
   if (((this.numberOfChecks === 0) && !throwOnChange)) { this._Content_9_4.ngOnInit(); }
   this.detectContentChildrenChanges(throwOnChange);
   const currVal_0:any = this._Toolbar_2_4._sbPadding;
   if (import69.checkBinding(throwOnChange,this._expr_0,currVal_0)) {
     this.renderer.setElementClass(this._el_2,'statusbar-padding',currVal_0);
     this._expr_0 = currVal_0;
   }
   const currVal_1:any = this._Content_9_4._sbPadding;
   if (import69.checkBinding(throwOnChange,this._expr_1,currVal_1)) {
     this.renderer.setElementClass(this._el_9,'statusbar-padding',currVal_1);
     this._expr_1 = currVal_1;
   }
   this.detectViewChildrenChanges(throwOnChange);
 }