import * as import0 from '@angular/common/src/directives/ng_class';
import * as import1 from '@angular/core/src/change_detection/change_detection';
import * as import2 from '@angular/core/src/linker/view_utils';
export class Wrapper_NgClass {
    constructor(p0, p1, p2, p3) {
        this.changed = false;
        this.context = new import0.NgClass(p0, p1, p2, p3);
        this._expr_0 = import1.UNINITIALIZED;
        this._expr_1 = import1.UNINITIALIZED;
    }
    check_klass(currValue, throwOnChange, forceUpdate) {
        if ((forceUpdate || import2.checkBinding(throwOnChange, this._expr_0, currValue))) {
            this.changed = true;
            this.context.klass = currValue;
            this._expr_0 = currValue;
        }
    }
    check_ngClass(currValue, throwOnChange, forceUpdate) {
        if ((forceUpdate || import2.checkBinding(throwOnChange, this._expr_1, currValue))) {
            this.changed = true;
            this.context.ngClass = currValue;
            this._expr_1 = currValue;
        }
    }
    detectChangesInInputProps(view, el, throwOnChange) {
        var changed = this.changed;
        this.changed = false;
        if (!throwOnChange) {
            this.context.ngDoCheck();
        }
        return changed;
    }
    detectChangesInHostProps(view, el, throwOnChange) {
    }
}
