UNPKG

igniteui-react-grids

Version:

Ignite UI React grid components.

68 lines (67 loc) 2.54 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 { GridColumnOptionsSectionBase } from "./GridColumnOptionsSectionBase"; import { StringComparer } from "igniteui-react-core"; import { markType } from "igniteui-react-core"; /** * @hidden */ var GridColumnOptionsSimpleSectionBase = /** @class */ /*@__PURE__*/ (function (_super) { __extends(GridColumnOptionsSimpleSectionBase, _super); function GridColumnOptionsSimpleSectionBase() { var _this = _super.call(this) || this; _this.bx = null; _this.bv = true; return _this; } Object.defineProperty(GridColumnOptionsSimpleSectionBase.prototype, "by", { get: function () { if (null == this.bx) { return this.b0; } return this.bx; }, set: function (a) { var b = this.by; if (0 == StringComparer.b.compare(a, b)) { return; } this.bx = a; this.bc("Caption", b, this.bx); }, enumerable: false, configurable: true }); Object.defineProperty(GridColumnOptionsSimpleSectionBase.prototype, "bw", { get: function () { return this.bv; }, set: function (a) { var b = this.bw; if (a == b) { return; } this.bv = a; this.bc("ShowCaption", b, this.bv); }, enumerable: false, configurable: true }); GridColumnOptionsSimpleSectionBase.prototype.be = function (a, b, c) { _super.prototype.be.call(this, a, b, c); switch (a) { case "ShowCaption": case "Caption": this.e.m(); break; } }; GridColumnOptionsSimpleSectionBase.$t = markType(GridColumnOptionsSimpleSectionBase, 'GridColumnOptionsSimpleSectionBase', GridColumnOptionsSectionBase.$); return GridColumnOptionsSimpleSectionBase; }(GridColumnOptionsSectionBase)); export { GridColumnOptionsSimpleSectionBase };