/*
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 { FinancialChartDropDownControlView } from "./FinancialChartDropDownControlView";
import { FinancialChartType_$type } from "./FinancialChartType";
import { EnumUtil, markType } from "igniteui-react-core/ES5/type";
var FinancialChartTypePickerView = /** @class */ (function (_super) {
    tslib_1.__extends(FinancialChartTypePickerView, _super);
    function FinancialChartTypePickerView() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    Object.defineProperty(FinancialChartTypePickerView.prototype, "l", {
        get: function () {
            return this.a;
        },
        enumerable: true,
        configurable: true
    });
    FinancialChartTypePickerView.prototype.k = function (a) {
        _super.prototype.k.call(this, a);
        var b = a;
        var c = b.parentNode;
        for (var d = 0; d < c.children.length; d++) {
            var e = c.children.item(d);
            if (e != b) {
                e.classList.remove("checked");
            }
        }
        var f = b.getAttribute("data-value");
        var g = EnumUtil.parse(FinancialChartType_$type, f, true);
        this.l.chartType = EnumUtil.getEnumValue(FinancialChartType_$type, g);
        this.g();
        this.a.onSelectionChanged();
    };
    FinancialChartTypePickerView.$t = markType(FinancialChartTypePickerView, 'FinancialChartTypePickerView', FinancialChartDropDownControlView.$);
    return FinancialChartTypePickerView;
}(FinancialChartDropDownControlView));
export { FinancialChartTypePickerView };
