/*
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 { __extends } from "tslib";
import { SpreadsheetText } from "./SpreadsheetText";
import { markType } from "igniteui-webcomponents-core";
/**
 * @hidden
 */
var SpreadsheetTextWithPadding = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(SpreadsheetTextWithPadding, _super);
    function SpreadsheetTextWithPadding(a, b) {
        var _this = _super.call(this) || this;
        _this.d = null;
        _this.e = null;
        _this.d = a;
        _this.e = b;
        return _this;
    }
    SpreadsheetTextWithPadding.prototype.get_b = function () {
        return Math.max(this.d.b, this.e.b);
    };
    Object.defineProperty(SpreadsheetTextWithPadding.prototype, "b", {
        get: function () {
            return this.get_b();
        },
        enumerable: false,
        configurable: true
    });
    SpreadsheetTextWithPadding.prototype.get_c = function () {
        return this.d.c + this.e.c;
    };
    Object.defineProperty(SpreadsheetTextWithPadding.prototype, "c", {
        get: function () {
            return this.get_c();
        },
        enumerable: false,
        configurable: true
    });
    SpreadsheetTextWithPadding.prototype.get_a = function () {
        return true;
    };
    SpreadsheetTextWithPadding.$t = markType(SpreadsheetTextWithPadding, 'SpreadsheetTextWithPadding', SpreadsheetText.$);
    return SpreadsheetTextWithPadding;
}(SpreadsheetText));
export { SpreadsheetTextWithPadding };
