/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { CanvasCellPresenterBase } from "./CanvasCellPresenterBase";
import { CellModel } from "./CellModel";
import { markType } from "igniteui-webcomponents-core";
/**
 * @hidden
 */
export let CanvasTemplateCellPresenter = /*@__PURE__*/ (() => {
    class CanvasTemplateCellPresenter extends CanvasCellPresenterBase {
        constructor(a, b) {
            super(a);
            this.d = null;
            this.d = b;
        }
        get e() {
            return this.a;
        }
        b(a) {
            super.b(a);
            let b = a;
            let c = this.d.actualColumns._inner[a.k.a0];
            if (a.ax(CellModel.ei) || a.ax(CellModel.gf)) {
                let d = Math.min(1, Math.max(0, a.cb));
                let e = a.b1 * (1 - d);
                this.e.c4.opacity = e;
            }
            this.e.c5();
            c.j3(a, this.e);
        }
    }
    CanvasTemplateCellPresenter.$t = /*@__PURE__*/ markType(CanvasTemplateCellPresenter, 'CanvasTemplateCellPresenter', CanvasCellPresenterBase.$);
    return CanvasTemplateCellPresenter;
})();
//# sourceMappingURL=CanvasTemplateCellPresenter.js.map
