/*
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 { GridColumnOptionsSectionBase } from "./GridColumnOptionsSectionBase";
import { StringComparer } from "igniteui-webcomponents-core";
import { markType } from "igniteui-webcomponents-core";
/**
 * @hidden
 */
export let GridColumnOptionsSimpleSectionBase = /*@__PURE__*/ (() => {
    class GridColumnOptionsSimpleSectionBase extends GridColumnOptionsSectionBase {
        constructor() {
            super();
            this.bv = null;
            this.bt = true;
        }
        get bw() {
            if (null == this.bv) {
                return this.by;
            }
            return this.bv;
        }
        set bw(a) {
            let b = this.bw;
            if (0 == StringComparer.b.compare(a, b)) {
                return;
            }
            this.bv = a;
            this.ba("Caption", b, this.bv);
        }
        get bu() {
            return this.bt;
        }
        set bu(a) {
            let b = this.bu;
            if (a == b) {
                return;
            }
            this.bt = a;
            this.ba("ShowCaption", b, this.bt);
        }
        bc(a, b, c) {
            super.bc(a, b, c);
            switch (a) {
                case "ShowCaption":
                case "Caption":
                    this.e.m();
                    break;
            }
        }
    }
    GridColumnOptionsSimpleSectionBase.$t = /*@__PURE__*/ markType(GridColumnOptionsSimpleSectionBase, 'GridColumnOptionsSimpleSectionBase', GridColumnOptionsSectionBase.$);
    return GridColumnOptionsSimpleSectionBase;
})();
//# sourceMappingURL=GridColumnOptionsSimpleSectionBase.js.map
