import { SummaryOperand_$type } from "igniteui-webcomponents-core";
import { SummaryData as SummaryData_internal } from "./SummaryData";
import { ensureEnum } from "igniteui-webcomponents-core";
/**
 * Object used to store summary information for group headers.
*/
var IgcSummaryData = /** @class */ /*@__PURE__*/ (function () {
    function IgcSummaryData() {
        this._implementation = this.createImplementation();
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    }
    IgcSummaryData.prototype.createImplementation = function () {
        return new SummaryData_internal();
    };
    Object.defineProperty(IgcSummaryData.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: true,
        configurable: true
    });
    IgcSummaryData.prototype.onImplementationCreated = function () {
    };
    IgcSummaryData.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgcSummaryData.prototype, "summaryName", {
        get: function () {
            return this.i.e;
        },
        set: function (v) {
            this.i.e = v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcSummaryData.prototype, "summaryValue", {
        get: function () {
            return this.i.b;
        },
        set: function (v) {
            this.i.b = v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcSummaryData.prototype, "summaryOperand", {
        get: function () {
            return this.i.a;
        },
        set: function (v) {
            this.i.a = ensureEnum(SummaryOperand_$type, v);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcSummaryData.prototype, "formattedText", {
        get: function () {
            return this.i.c;
        },
        set: function (v) {
            this.i.c = v;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(IgcSummaryData.prototype, "formattedValue", {
        get: function () {
            return this.i.d;
        },
        set: function (v) {
            this.i.d = v;
        },
        enumerable: true,
        configurable: true
    });
    IgcSummaryData.prototype.findByName = function (name) {
        return null;
    };
    return IgcSummaryData;
}());
export { IgcSummaryData };
//# sourceMappingURL=igc-summary-data.js.map
