/*
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 { FinancialChartDropDownControl } from "./FinancialChartDropDownControl";
import { FinancialChartIndicatorMenuViewModel } from "./FinancialChartIndicatorMenuViewModel";
import { FinancialChartIndicatorMenuView } from "./FinancialChartIndicatorMenuView";
import { runOn, markType } from "igniteui-react-core/ES5/type";
var FinancialChartIndicatorMenu = /** @class */ (function (_super) {
    tslib_1.__extends(FinancialChartIndicatorMenu, _super);
    function FinancialChartIndicatorMenu(a) {
        var _rest = [];
        for (var _i = 1; _i < arguments.length; _i++) {
            _rest[_i - 1] = arguments[_i];
        }
        var _this = this;
        a = (a == void 0) ? 0 : a;
        switch (a) {
            case 0:
                {
                    var c = [null];
                    {
                        var e = c[0];
                        _this = _super.call(this, "financialChartIndicatorMenu", e, "") || this;
                        _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:
                {
                    var c = _rest[0];
                    _this = _super.call(this, "financialChartIndicatorMenu", c, "") || this;
                    _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;
        }
        return _this;
    }
    FinancialChartIndicatorMenu.prototype.get_r = function () {
        return ".financialChartIndicatorMenuDropDownButton";
    };
    Object.defineProperty(FinancialChartIndicatorMenu.prototype, "r", {
        get: function () {
            return this.get_r();
        },
        enumerable: true,
        configurable: true
    });
    FinancialChartIndicatorMenu.prototype.get_s = function () {
        return ".financialChartIndicatorMenuDropDownMenu";
    };
    Object.defineProperty(FinancialChartIndicatorMenu.prototype, "s", {
        get: function () {
            return this.get_s();
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(FinancialChartIndicatorMenu.prototype, "x", {
        get: function () {
            return this.v.i;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(FinancialChartIndicatorMenu.prototype, "y", {
        get: function () {
            return this.v.j;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(FinancialChartIndicatorMenu.prototype, "z", {
        get: function () {
            return this.v.k;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(FinancialChartIndicatorMenu.prototype, "w", {
        get: function () {
            return this.v.h;
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(FinancialChartIndicatorMenu.prototype, "v", {
        get: function () {
            return this.o;
        },
        enumerable: true,
        configurable: true
    });
    FinancialChartIndicatorMenu.prototype.get_p = function () {
        return true;
    };
    Object.defineProperty(FinancialChartIndicatorMenu.prototype, "p", {
        get: function () {
            return this.get_p();
        },
        enumerable: true,
        configurable: true
    });
    FinancialChartIndicatorMenu.$t = markType(FinancialChartIndicatorMenu, 'FinancialChartIndicatorMenu', FinancialChartDropDownControl.$);
    return FinancialChartIndicatorMenu;
}(FinancialChartDropDownControl));
export { FinancialChartIndicatorMenu };
