UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

45 lines (44 loc) 1.87 kB
/* 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 { __extends } from "tslib"; import { CanvasCellPresenterBase } from "./CanvasCellPresenterBase"; import { CellModel } from "./CellModel"; import { markType } from "igniteui-react-core"; /** * @hidden */ var CanvasTemplateCellPresenter = /** @class */ /*@__PURE__*/ (function (_super) { __extends(CanvasTemplateCellPresenter, _super); function CanvasTemplateCellPresenter(a, b) { var _this = _super.call(this, a) || this; _this.e = null; _this.e = b; return _this; } Object.defineProperty(CanvasTemplateCellPresenter.prototype, "d", { get: function () { return this.a; }, enumerable: false, configurable: true }); CanvasTemplateCellPresenter.prototype.b = function (a) { _super.prototype.b.call(this, a); var b = a; var c = this.e.actualColumns._inner[a.l.a5]; if (a.a8(CellModel.fa) || a.a8(CellModel.hc)) { var d = Math.min(1, Math.max(0, a.ct)); var e = a.cj * (1 - d); this.d.db.opacity = e; } this.d.dc(); c.n4(a, this.d); }; CanvasTemplateCellPresenter.$t = markType(CanvasTemplateCellPresenter, 'CanvasTemplateCellPresenter', CanvasCellPresenterBase.$); return CanvasTemplateCellPresenter; }(CanvasCellPresenterBase)); export { CanvasTemplateCellPresenter };