UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

68 lines (67 loc) 2.63 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 { TemplateCellModel } from "./TemplateCellModel"; import { CellModel } from "./CellModel"; import { Boolean_$type, markType } from "igniteui-react-core"; import { TemplateHeaderCellModelExport } from "./TemplateHeaderCellModelExport"; /** * @hidden */ var TemplateHeaderCellModel = /** @class */ /*@__PURE__*/ (function (_super) { __extends(TemplateHeaderCellModel, _super); function TemplateHeaderCellModel() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.mj = false; return _this; } Object.defineProperty(TemplateHeaderCellModel.prototype, "mk", { get: function () { return this.mj; }, set: function (a) { var b = this.mj; this.mj = a; if (this.mj != b) { this.k0("IsFilterUIVisible", TemplateHeaderCellModel.ml, b, this.mj); } }, enumerable: false, configurable: true }); TemplateHeaderCellModel.prototype.k9 = function (a, b) { _super.prototype.k9.call(this, a, b); if (a == "IsFilterUIVisible") { this.mk = b; } }; TemplateHeaderCellModel.prototype.kl = function (a) { switch (a) { case "IsFilterUIVisible": return Boolean_$type; } return _super.prototype.kl.call(this, a); }; TemplateHeaderCellModel.prototype.hl = function (a) { if (a == "IsFilterUIVisible") { return this.mk; } return _super.prototype.hl.call(this, a); }; TemplateHeaderCellModel.prototype.b = function (a) { if (a == null) { a = new TemplateHeaderCellModelExport(); } a = _super.prototype.b.call(this, a); var b = a; b.ae = this.mh; return b; }; TemplateHeaderCellModel.$t = markType(TemplateHeaderCellModel, 'TemplateHeaderCellModel', TemplateCellModel.$); TemplateHeaderCellModel.ml = CellModel.ft("IsFilterUIVisible"); return TemplateHeaderCellModel; }(TemplateCellModel)); export { TemplateHeaderCellModel };