/*
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 { Base, markType } from "igniteui-angular-core";
import { ConditionBase } from "./ConditionBase";
import { stringFormat } from "igniteui-angular-core";
/**
 * @hidden
 */
var CondFmtBase = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(CondFmtBase, _super);
    function CondFmtBase() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.e = 0;
        _this.b = false;
        _this.d = 0;
        _this.a = null;
        _this.c = null;
        return _this;
    }
    CondFmtBase.prototype.toString = function () {
        if (this.c.count == 0) {
            return _super.prototype.toString.call(this);
        }
        var a = this.c.item(0).worksheet;
        var b = ConditionBase._a1(a, this.c);
        return stringFormat("ID={0} ({1})", this.d, b);
    };
    CondFmtBase.$t = markType(CondFmtBase, 'CondFmtBase');
    return CondFmtBase;
}(Base));
export { CondFmtBase };
