/*
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 { PolarLineSeriesBase } from "./PolarLineSeriesBase";
import { UnknownValuePlotting_$type } from "igniteui-react-core";
import { DependencyProperty } from "igniteui-react-core";
import { runOn, enumGetBox, markType, markDep } from "igniteui-react-core";
import { Path } from "igniteui-react-core";
import { PropertyMetadata } from "igniteui-react-core";
import { PolarLineSeriesBaseView } from "./PolarLineSeriesBaseView";
/**
 * @hidden
 */
var PolarLineSeries = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(PolarLineSeries, _super);
    function PolarLineSeries() {
        var _this = _super.call(this) || this;
        _this.ab = PolarLineSeries.$;
        return _this;
    }
    PolarLineSeries.prototype.bp = function () {
        return new PolarLineSeriesView(this);
    };
    PolarLineSeries.prototype.kk = function (a) {
        _super.prototype.kk.call(this, a);
        this.s9 = a;
    };
    PolarLineSeries.prototype.s7 = function (a) {
        var b = a;
        b.c5();
    };
    PolarLineSeries.prototype.s8 = function (a, b) {
        var c = b;
        c.c6(a.m, this.fq);
        this.qb.ax(this, this.qy(), runOn(this, this.pp));
        var d = false;
        var e = this.qb.b;
        if (e != null) {
            d = true;
        }
        if (d) {
            this.ry(-1, this.qk.count, b.q);
        }
        this.qb.ad(b.c8, true, false, true, false);
    };
    PolarLineSeries.prototype.sz = function () {
        return this.ta;
    };
    PolarLineSeries.prototype.kp = function (a, b, c, d) {
        _super.prototype.kp.call(this, a, b, c, d);
        switch (b) {
            case PolarLineSeries.$$p[0]:
                this.k3(false);
                this.ka();
                break;
        }
    };
    PolarLineSeries.$t = markType(PolarLineSeries, 'PolarLineSeries', PolarLineSeriesBase.$);
    PolarLineSeries.$$p = markDep(DependencyProperty, PropertyMetadata, PolarLineSeries, 'raisePropertyChanged', ['UnknownValuePlotting:ta:tc', [UnknownValuePlotting_$type, enumGetBox(UnknownValuePlotting_$type, 1)]]);
    return PolarLineSeries;
}(PolarLineSeriesBase));
export { PolarLineSeries };
/**
 * @hidden
 */
var PolarLineSeriesView = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(PolarLineSeriesView, _super);
    function PolarLineSeriesView(a) {
        var _this = _super.call(this, a) || this;
        _this.c4 = null;
        _this.c8 = new Path();
        _this.c7 = new Path();
        _this.c4 = a;
        return _this;
    }
    PolarLineSeriesView.prototype.as = function () {
        _super.prototype.as.call(this);
    };
    PolarLineSeriesView.prototype.c5 = function () {
        this.c8.ak = null;
        this.c7.ak = null;
        this.aq();
    };
    PolarLineSeriesView.prototype.c6 = function (a, b) {
        this.c4.sw.d(this.c8, a, b);
        this.aq();
    };
    PolarLineSeriesView.prototype.bb = function () {
        _super.prototype.bb.call(this);
    };
    PolarLineSeriesView.prototype.bc = function () {
        _super.prototype.bc.call(this);
        var a = this.bo();
        this.c7.ak = this.c8.ak;
        this.c7._stroke = a;
        this.c7.ac = this.e.eu + 3;
    };
    PolarLineSeriesView.prototype.a6 = function (a, b) {
        _super.prototype.a6.call(this, a, b);
        if (a.d) {
            if (b) {
                a.s(this.c7);
            }
            else {
                a.s(this.c8);
            }
        }
    };
    PolarLineSeriesView.prototype.al = function (a) {
        _super.prototype.al.call(this, a);
        this.e.a5.exportPathData(a, this.c8, "polarShape", ["Main"]);
    };
    PolarLineSeriesView.$t = markType(PolarLineSeriesView, 'PolarLineSeriesView', PolarLineSeriesBaseView.$);
    return PolarLineSeriesView;
}(PolarLineSeriesBaseView));
export { PolarLineSeriesView };
//# sourceMappingURL=PolarLineSeries_combined.js.map
