/*
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 * as tslib_1 from "tslib";
import { GridColumnOptionsSectionBase } from "./GridColumnOptionsSectionBase";
import { StringComparer } from "igniteui-webcomponents-core";
import { markType } from "igniteui-webcomponents-core";
/**
 * @hidden
 */
var GridColumnOptionsSimpleSectionBase = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(GridColumnOptionsSimpleSectionBase, _super);
    function GridColumnOptionsSimpleSectionBase() {
        var _this = _super.call(this) || this;
        _this.bv = null;
        _this.bt = true;
        return _this;
    }
    Object.defineProperty(GridColumnOptionsSimpleSectionBase.prototype, "bw", {
        get: function () {
            if (null == this.bv) {
                return this.by;
            }
            return this.bv;
        },
        set: function (a) {
            var b = this.bw;
            if (0 == StringComparer.b.compare(a, b)) {
                return;
            }
            this.bv = a;
            this.ba("Caption", b, this.bv);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(GridColumnOptionsSimpleSectionBase.prototype, "bu", {
        get: function () {
            return this.bt;
        },
        set: function (a) {
            var b = this.bu;
            if (a == b) {
                return;
            }
            this.bt = a;
            this.ba("ShowCaption", b, this.bt);
        },
        enumerable: true,
        configurable: true
    });
    GridColumnOptionsSimpleSectionBase.prototype.bc = function (a, b, c) {
        _super.prototype.bc.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 };
//# sourceMappingURL=GridColumnOptionsSimpleSectionBase.js.map
