UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

51 lines (50 loc) 2 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 { Header } from "./Header"; import { TemplateHeaderCellModel } from "./TemplateHeaderCellModel"; import { markType } from "igniteui-react-core"; import { TemplateHeaderCellUpdatingEventArgs } from "./TemplateHeaderCellUpdatingEventArgs"; /** * @hidden */ var TemplateHeader = /** @class */ /*@__PURE__*/ (function (_super) { __extends(TemplateHeader, _super); function TemplateHeader() { var _this = _super.call(this) || this; _this.cellUpdating = null; return _this; } TemplateHeader.prototype.n = function (a) { return new TemplateHeaderCellModel(); }; TemplateHeader.prototype.d2 = function (a, b, c) { var d = "template-header-" + a.a5.toString(); return d; }; TemplateHeader.prototype.eo = function (a, b, c, d) { _super.prototype.eo.call(this, a, b, c, d); var e = a; var f = b.cf(a.l); e.mh = f.k3; e.n = f.hr; e.mk = f.ja; }; TemplateHeader.prototype.hq = function (a, b) { if (this.cellUpdating != null) { this.cellUpdating(this, ((function () { var $ret = new TemplateHeaderCellUpdatingEventArgs(); $ret.cellInfo = a; $ret.content = b; return $ret; })())); } }; TemplateHeader.$t = markType(TemplateHeader, 'TemplateHeader', Header.$); return TemplateHeader; }(Header)); export { TemplateHeader };