/*
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 { GridCellBase } from "./GridCellBase";
import { markType } from "igniteui-webcomponents-core";
/**
 * @hidden
 */
export let SectionHeaderCell = /*@__PURE__*/ (() => {
    class SectionHeaderCell extends GridCellBase {
        constructor(a) {
            super(a);
            this.b8 = null;
            this.b8 = a.createElement("span");
            this.z.setRawStyleProperty("text-align", "left");
            this.z.setRawStyleProperty("vertical-align", "middle");
            this.z.setRawStyleProperty("overflow", "hidden");
            this.z.setRawStyleProperty("white-space", "nowrap");
            this.z.setRawStyleProperty("text-overflow", "ellipsis");
            this.z.append(this.b8);
        }
        get b9() {
            return this.b8;
        }
        get_r() {
            return true;
        }
        bh(a, b, c) {
            super.bh(a, b, c);
            if (a == "Indent") {
                this.b8.setRawStyleProperty("margin-left", this.av + this.ax + 10 + "px");
            }
            if (a == "IsCollapsable") {
                if (this.o) {
                    this.b8.setRawStyleProperty("margin-left", this.av + this.ax + 10 + "px");
                }
                else {
                    this.b8.setRawStyleProperty("margin-left", "0px");
                }
            }
        }
    }
    SectionHeaderCell.$t = /*@__PURE__*/ markType(SectionHeaderCell, 'SectionHeaderCell', GridCellBase.$);
    return SectionHeaderCell;
})();
//# sourceMappingURL=SectionHeaderCell.js.map
