import * as tslib_1 from "tslib";
import { GroupSummaryDisplayMode_$type } from "./GroupSummaryDisplayMode";
import { IgcCellInfo } from "./igc-cell-info";
import { SectionHeaderCellModel as SectionHeaderCellModel_internal } from "./SectionHeaderCellModel";
import { ensureEnum } from "igniteui-webcomponents-core";
/**
 * Backing information for a section header cell in the grid.
*/
var IgcSectionHeaderCellInfo = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(IgcSectionHeaderCellInfo, _super);
    function IgcSectionHeaderCellInfo() {
        return _super.call(this) || this;
    }
    IgcSectionHeaderCellInfo.prototype.createImplementation = function () {
        return new SectionHeaderCellModel_internal();
    };
    Object.defineProperty(IgcSectionHeaderCellInfo.prototype, "i", {
        /**
                                     * @hidden
                                     */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcSectionHeaderCellInfo.prototype, "resolvedText", {
        /**
         * Sets or gets the resolved text for the section header cell.
        */
        get: function () {
            return this.i.lc;
        },
        set: function (v) {
            this.i.lc = v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcSectionHeaderCellInfo.prototype, "resolvedSummaryText", {
        /**
         * Sets or gets the resolved summary text for the section header cell.
        */
        get: function () {
            return this.i.la;
        },
        set: function (v) {
            this.i.la = v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcSectionHeaderCellInfo.prototype, "summaryDisplayMode", {
        /**
         * Sets or gets how summaries are displayed in the section header cell.
        */
        get: function () {
            return this.i.k1;
        },
        set: function (v) {
            this.i.k1 = ensureEnum(GroupSummaryDisplayMode_$type, v);
        },
        enumerable: true,
        configurable: true
    });
    return IgcSectionHeaderCellInfo;
}(IgcCellInfo));
export { IgcSectionHeaderCellInfo };
//# sourceMappingURL=igc-section-header-cell-info.js.map
