/*
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 { Base, typeCast, markType } from "igniteui-angular-core";
import { DataBarConditionalFormat } from "./DataBarConditionalFormat";
import { IconSetConditionalFormat } from "./IconSetConditionalFormat";
/**
 * @hidden
 */
export class ConditionBaseExtensions extends Base {
    static a(a) {
        let b = a.conditionType == 3 ? typeCast(DataBarConditionalFormat.$, a) : null;
        if (b != null) {
            return b._cz ? 2 : 0;
        }
        let c = a.conditionType == 5 ? typeCast(IconSetConditionalFormat.$, a) : null;
        if (c != null && c.isCustom) {
            return 1;
        }
        return a._z ? 1 : 0;
    }
    static b(a) {
        let b = ConditionBaseExtensions.a(a);
        return b != 0;
    }
}
ConditionBaseExtensions.$t = markType(ConditionBaseExtensions, 'ConditionBaseExtensions');
//# sourceMappingURL=ConditionBaseExtensions.js.map