/*
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 { FinancialChartDropDownControlView } from "./FinancialChartDropDownControlView";
import { FinancialChartType_$type } from "./FinancialChartType";
import { EnumUtil, markType } from "igniteui-react-core/ES2015/type";
export class FinancialChartTypePickerView extends FinancialChartDropDownControlView {
    get l() {
        return this.a;
    }
    k(a) {
        super.k(a);
        let b = a;
        let c = b.parentNode;
        for (let d = 0; d < c.children.length; d++) {
            let e = c.children.item(d);
            if (e != b) {
                e.classList.remove("checked");
            }
        }
        let f = b.getAttribute("data-value");
        let 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.$);
