/*
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 { FinancialChartDropDownControl } from "./FinancialChartDropDownControl";
import { FinancialChartIndicatorMenuViewModel } from "./FinancialChartIndicatorMenuViewModel";
import { FinancialChartIndicatorMenuView } from "./FinancialChartIndicatorMenuView";
import { runOn, markType } from "igniteui-react-core/ES2015/type";
export class FinancialChartIndicatorMenu extends FinancialChartDropDownControl {
    constructor(a, ..._rest) {
        a = (a == void 0) ? 0 : a;
        switch (a) {
            case 0:
                {
                    let c = [null];
                    {
                        let e = c[0];
                        super("financialChartIndicatorMenu", e, "");
                        this.n = new FinancialChartIndicatorMenuView();
                        this.o = new FinancialChartIndicatorMenuViewModel();
                        this.o.onSelectionChanged = runOn(this, this.u);
                        this.o.a = runOn(this.n, this.n.j);
                        this.n.a = this.o;
                    }
                }
                break;
            case 1:
                {
                    let c = _rest[0];
                    super("financialChartIndicatorMenu", c, "");
                    this.n = new FinancialChartIndicatorMenuView();
                    this.o = new FinancialChartIndicatorMenuViewModel();
                    this.o.onSelectionChanged = runOn(this, this.u);
                    this.o.a = runOn(this.n, this.n.j);
                    this.n.a = this.o;
                }
                break;
        }
    }
    get_r() {
        return ".financialChartIndicatorMenuDropDownButton";
    }
    get r() {
        return this.get_r();
    }
    get_s() {
        return ".financialChartIndicatorMenuDropDownMenu";
    }
    get s() {
        return this.get_s();
    }
    get x() {
        return this.v.i;
    }
    get y() {
        return this.v.j;
    }
    get z() {
        return this.v.k;
    }
    get w() {
        return this.v.h;
    }
    get v() {
        return this.o;
    }
    get_p() {
        return true;
    }
    get p() {
        return this.get_p();
    }
}
FinancialChartIndicatorMenu.$t = markType(FinancialChartIndicatorMenu, 'FinancialChartIndicatorMenu', FinancialChartDropDownControl.$);
