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