/*
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 * as tslib_1 from "tslib";
import { Base, fromEnum, markType, getInstanceType } from "igniteui-angular-core";
import { ST_GapWidthRatio } from "./ST_GapWidthRatio";
/**
 * @hidden
 */
var CT_CategoryAxisScaling = /** @class */ (function (_super) {
    tslib_1.__extends(CT_CategoryAxisScaling, _super);
    function CT_CategoryAxisScaling() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.b = null;
        return _this;
    }
    Object.defineProperty(CT_CategoryAxisScaling.prototype, "a", {
        get: function () {
            return this.b;
        },
        set: function (a) {
            this.b = a;
        },
        enumerable: true,
        configurable: true
    });
    CT_CategoryAxisScaling.d = function (a, b) {
        var e_1, _a;
        b = null;
        try {
            for (var _b = tslib_1.__values(fromEnum(a.ab.u)), _c = _b.next(); !_c.done; _c = _b.next()) {
                var c = _c.value;
                switch (c.a.e(a.d)) {
                    case "gapWidth":
                        b = ST_GapWidthRatio.f(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_CategoryAxisScaling.e = function (a, b, c) {
        if (c === void 0) { c = null; }
        a.ad.p(b, "cx");
        var d = null;
        var e = null;
        if (c != null) {
            e = "gapWidth";
            d = c.d();
            a.ad.h(e, d);
        }
        ;
    };
    CT_CategoryAxisScaling.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_CategoryAxisScaling.$t = markType(CT_CategoryAxisScaling, 'CT_CategoryAxisScaling');
    return CT_CategoryAxisScaling;
}(Base));
export { CT_CategoryAxisScaling };
//# sourceMappingURL=CT_CategoryAxisScaling.js.map