/*
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, __values } from "tslib";
import { Base, fromEnum, markType, getInstanceType } from "igniteui-angular-core";
import { ST_ErrBarType_$type } from "./ST_ErrBarType";
import { XmlNamespaceDefinitionBase } from "./XmlNamespaceDefinitionBase";
/**
 * @hidden
 */
var CT_ErrBarType = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(CT_ErrBarType, _super);
    function CT_ErrBarType() {
        var _this = _super.call(this) || this;
        _this.c = 0;
        return _this;
    }
    Object.defineProperty(CT_ErrBarType.prototype, "b", {
        get: function () {
            return this.c;
        },
        set: function (a) {
            this.c = a;
        },
        enumerable: false,
        configurable: true
    });
    CT_ErrBarType.e = function (a, b) {
        var e_1, _a;
        b = 0;
        try {
            for (var _b = __values(fromEnum(a.ab.u)), _c = _b.next(); !_c.done; _c = _b.next()) {
                var c = _c.value;
                switch (c.a.e(a.d)) {
                    case "val":
                        b = XmlNamespaceDefinitionBase.b(ST_ErrBarType_$type, c.d);
                        break;
                    default: break;
                }
            }
        }
        catch (e_1_1) {
            e_1 = { error: e_1_1 };
        }
        finally {
            try {
                if (_c && !_c.done && (_a = _b.return))
                    _a.call(_b);
            }
            finally {
                if (e_1)
                    throw e_1.error;
            }
        }
        ;
        return {
            p1: b
        };
    };
    CT_ErrBarType.f = function (a, b, c) {
        a.ad.p(b, "c");
        var d = null;
        var e = null;
        e = "val";
        d = XmlNamespaceDefinitionBase.f(ST_ErrBarType_$type, c);
        a.ad.h(e, d);
        ;
    };
    CT_ErrBarType.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_ErrBarType.$t = markType(CT_ErrBarType, 'CT_ErrBarType');
    return CT_ErrBarType;
}(Base));
export { CT_ErrBarType };
//# sourceMappingURL=CT_ErrBarType.js.map
