/**
 * @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/elements/tooltip/Tooltip';
import * as import1 from '@angular/core/src/change_detection/change_detection_util';
import * as import2 from '@angular/core/src/linker/view';
import * as import3 from '@angular/core/src/linker/view_utils';
export class Wrapper_TooltipDirective {
  /*private*/ _eventHandler:Function;
  context:import0.TooltipDirective;
  /*private*/ _changed:boolean;
  /*private*/ _expr_0:any;
  /*private*/ _expr_1:any;
  /*private*/ _expr_2:any;
  /*private*/ _expr_3:any;
  /*private*/ _expr_4:any;
  /*private*/ _expr_5:any;
  /*private*/ _expr_6:any;
  /*private*/ _expr_7:any;
  /*private*/ _expr_8:any;
  /*private*/ _expr_9:any;
  /*private*/ _expr_10:any;
  /*private*/ _expr_11:any;
  /*private*/ _expr_12:any;
  /*private*/ _expr_13:any;
  /*private*/ _expr_14:any;
  /*private*/ _expr_15:any;
  /*private*/ _expr_16:any;
  /*private*/ _expr_17:any;
  /*private*/ _expr_18:any;
  /*private*/ _expr_19:any;
  /*private*/ _expr_20:any;
  /*private*/ _expr_21:any;
  /*private*/ _expr_22:any;
  /*private*/ _expr_23:any;
  /*private*/ _expr_24:any;
  /*private*/ _expr_25:any;
  /*private*/ _expr_26:any;
  /*private*/ _expr_27:any;
  /*private*/ _expr_28:any;
  /*private*/ _expr_29:any;
  constructor() {
    this._changed = false;
    this.context = new import0.TooltipDirective();
    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;
    this._expr_5 = import1.UNINITIALIZED;
    this._expr_6 = import1.UNINITIALIZED;
    this._expr_7 = import1.UNINITIALIZED;
    this._expr_8 = import1.UNINITIALIZED;
    this._expr_9 = import1.UNINITIALIZED;
    this._expr_10 = import1.UNINITIALIZED;
    this._expr_11 = import1.UNINITIALIZED;
    this._expr_12 = import1.UNINITIALIZED;
    this._expr_13 = import1.UNINITIALIZED;
    this._expr_14 = import1.UNINITIALIZED;
    this._expr_15 = import1.UNINITIALIZED;
    this._expr_16 = import1.UNINITIALIZED;
    this._expr_17 = import1.UNINITIALIZED;
    this._expr_18 = import1.UNINITIALIZED;
    this._expr_19 = import1.UNINITIALIZED;
    this._expr_20 = import1.UNINITIALIZED;
    this._expr_21 = import1.UNINITIALIZED;
    this._expr_22 = import1.UNINITIALIZED;
    this._expr_23 = import1.UNINITIALIZED;
    this._expr_24 = import1.UNINITIALIZED;
    this._expr_25 = import1.UNINITIALIZED;
    this._expr_26 = import1.UNINITIALIZED;
    this._expr_27 = import1.UNINITIALIZED;
    this._expr_28 = import1.UNINITIALIZED;
    this._expr_29 = import1.UNINITIALIZED;
  }
  ngOnDetach(view:import2.AppView<any>,componentView:import2.AppView<any>,el:any):void {
  }
  ngOnDestroy():void {
  }
  check_tooltip(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_0,currValue))) {
      this._changed = true;
      this.context.tooltip = currValue;
      this._expr_0 = currValue;
    }
  }
  check_position(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_1,currValue))) {
      this._changed = true;
      this.context.position = currValue;
      this._expr_1 = currValue;
    }
  }
  check_type(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_2,currValue))) {
      this._changed = true;
      this.context.type = currValue;
      this._expr_2 = currValue;
    }
  }
  check_size(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_3,currValue))) {
      this._changed = true;
      this.context.size = currValue;
      this._expr_3 = currValue;
    }
  }
  check_bounce(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_4,currValue))) {
      this._changed = true;
      this.context.bounce = currValue;
      this._expr_4 = currValue;
    }
  }
  check_noAnimate(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_5,currValue))) {
      this._changed = true;
      this.context.noAnimate = currValue;
      this._expr_5 = currValue;
    }
  }
  check_rounded(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_6,currValue))) {
      this._changed = true;
      this.context.rounded = currValue;
      this._expr_6 = currValue;
    }
  }
  check_always(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_7,currValue))) {
      this._changed = true;
      this.context.always = currValue;
      this._expr_7 = currValue;
    }
  }
  check_active(currValue:any,throwOnChange:boolean,forceUpdate:boolean):void {
    if ((forceUpdate || import3.checkBinding(throwOnChange,this._expr_8,currValue))) {
      this._changed = true;
      this.context.active = currValue;
      this._expr_8 = currValue;
    }
  }
  ngDoCheck(view:import2.AppView<any>,el:any,throwOnChange:boolean):boolean {
    var changed:any = this._changed;
    this._changed = false;
    return changed;
  }
  checkHost(view:import2.AppView<any>,componentView:import2.AppView<any>,el:any,throwOnChange:boolean):void {
    const currVal_9:any = (this.context.tooltip && this.context.isPosition('top'));
    if (import3.checkBinding(throwOnChange,this._expr_9,currVal_9)) {
      view.renderer.setElementClass(el,'hint--top',currVal_9);
      this._expr_9 = currVal_9;
    }
    const currVal_10:any = (this.context.tooltip && this.context.isPosition('left'));
    if (import3.checkBinding(throwOnChange,this._expr_10,currVal_10)) {
      view.renderer.setElementClass(el,'hint--left',currVal_10);
      this._expr_10 = currVal_10;
    }
    const currVal_11:any = (this.context.tooltip && this.context.isPosition('right'));
    if (import3.checkBinding(throwOnChange,this._expr_11,currVal_11)) {
      view.renderer.setElementClass(el,'hint--right',currVal_11);
      this._expr_11 = currVal_11;
    }
    const currVal_12:any = (this.context.tooltip && this.context.isPosition('bottom'));
    if (import3.checkBinding(throwOnChange,this._expr_12,currVal_12)) {
      view.renderer.setElementClass(el,'hint--bottom',currVal_12);
      this._expr_12 = currVal_12;
    }
    const currVal_13:any = (this.context.tooltip && this.context.isPosition('top-left'));
    if (import3.checkBinding(throwOnChange,this._expr_13,currVal_13)) {
      view.renderer.setElementClass(el,'hint--top-left',currVal_13);
      this._expr_13 = currVal_13;
    }
    const currVal_14:any = (this.context.tooltip && this.context.isPosition('top-right'));
    if (import3.checkBinding(throwOnChange,this._expr_14,currVal_14)) {
      view.renderer.setElementClass(el,'hint--top-right',currVal_14);
      this._expr_14 = currVal_14;
    }
    const currVal_15:any = (this.context.tooltip && this.context.isPosition('bottom-left'));
    if (import3.checkBinding(throwOnChange,this._expr_15,currVal_15)) {
      view.renderer.setElementClass(el,'hint--bottom-left',currVal_15);
      this._expr_15 = currVal_15;
    }
    const currVal_16:any = (this.context.tooltip && this.context.isPosition('bottom-right'));
    if (import3.checkBinding(throwOnChange,this._expr_16,currVal_16)) {
      view.renderer.setElementClass(el,'hint--bottom-right',currVal_16);
      this._expr_16 = currVal_16;
    }
    const currVal_17:any = (this.context.tooltip && this.context.isType('error'));
    if (import3.checkBinding(throwOnChange,this._expr_17,currVal_17)) {
      view.renderer.setElementClass(el,'hint--error',currVal_17);
      this._expr_17 = currVal_17;
    }
    const currVal_18:any = (this.context.tooltip && this.context.isType('info'));
    if (import3.checkBinding(throwOnChange,this._expr_18,currVal_18)) {
      view.renderer.setElementClass(el,'hint--info',currVal_18);
      this._expr_18 = currVal_18;
    }
    const currVal_19:any = (this.context.tooltip && this.context.isType('warning'));
    if (import3.checkBinding(throwOnChange,this._expr_19,currVal_19)) {
      view.renderer.setElementClass(el,'hint--warning',currVal_19);
      this._expr_19 = currVal_19;
    }
    const currVal_20:any = (this.context.tooltip && this.context.isType('success'));
    if (import3.checkBinding(throwOnChange,this._expr_20,currVal_20)) {
      view.renderer.setElementClass(el,'hint--success',currVal_20);
      this._expr_20 = currVal_20;
    }
    const currVal_21:any = (this.context.tooltip && this.context.always);
    if (import3.checkBinding(throwOnChange,this._expr_21,currVal_21)) {
      view.renderer.setElementClass(el,'hint--always',currVal_21);
      this._expr_21 = currVal_21;
    }
    const currVal_22:any = (this.context.tooltip && this.context.rounded);
    if (import3.checkBinding(throwOnChange,this._expr_22,currVal_22)) {
      view.renderer.setElementClass(el,'hint--rounded',currVal_22);
      this._expr_22 = currVal_22;
    }
    const currVal_23:any = (this.context.tooltip && this.context.noAnimate);
    if (import3.checkBinding(throwOnChange,this._expr_23,currVal_23)) {
      view.renderer.setElementClass(el,'hint--no-animate',currVal_23);
      this._expr_23 = currVal_23;
    }
    const currVal_24:any = (this.context.tooltip && this.context.bounce);
    if (import3.checkBinding(throwOnChange,this._expr_24,currVal_24)) {
      view.renderer.setElementClass(el,'hint--bounce',currVal_24);
      this._expr_24 = currVal_24;
    }
    const currVal_25:any = (this.context.active === false);
    if (import3.checkBinding(throwOnChange,this._expr_25,currVal_25)) {
      view.renderer.setElementClass(el,'hint--hidden',currVal_25);
      this._expr_25 = currVal_25;
    }
    const currVal_26:any = (this.context.tooltip && this.context.isSize('small'));
    if (import3.checkBinding(throwOnChange,this._expr_26,currVal_26)) {
      view.renderer.setElementClass(el,'hint--small',currVal_26);
      this._expr_26 = currVal_26;
    }
    const currVal_27:any = (this.context.tooltip && this.context.isSize('medium'));
    if (import3.checkBinding(throwOnChange,this._expr_27,currVal_27)) {
      view.renderer.setElementClass(el,'hint--medium',currVal_27);
      this._expr_27 = currVal_27;
    }
    const currVal_28:any = (this.context.tooltip && this.context.isSize('large'));
    if (import3.checkBinding(throwOnChange,this._expr_28,currVal_28)) {
      view.renderer.setElementClass(el,'hint--large',currVal_28);
      this._expr_28 = currVal_28;
    }
    const currVal_29:any = this.context.tooltip;
    if (import3.checkBinding(throwOnChange,this._expr_29,currVal_29)) {
      view.renderer.setElementAttribute(el,'data-hint',((currVal_29 == null)? (null as any): currVal_29.toString()));
      this._expr_29 = currVal_29;
    }
  }
  handleEvent(eventName:string,$event:any):boolean {
    var result:boolean = true;
    return result;
  }
  subscribe(view:import2.AppView<any>,_eventHandler:any):void {
    this._eventHandler = _eventHandler;
  }
}