/*
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 { Base, markType, getInstanceType } from "igniteui-react-core";
import { IFinancialPriceSeriesProxy_$type } from "./IFinancialPriceSeriesProxy";
import { stringEndsWith } from "igniteui-react-core";
/**
 * @hidden
 */
export let FinancialPriceSeriesProxy = /*@__PURE__*/ (() => {
    class FinancialPriceSeriesProxy extends Base {
        getCloseMemberPath(a) {
            return a.om;
        }
        getHighMemberPath(a) {
            return a.op;
        }
        getLowMemberPath(a) {
            return a.ou;
        }
        getOpenMemberPath(a) {
            return a.oy;
        }
        getVolumeMemberPath(a) {
            return a.o2;
        }
        matchesType(a) {
            if (!a.cr) {
                return false;
            }
            if (stringEndsWith(getInstanceType(a).typeName, "Indicator") || stringEndsWith(getInstanceType(a).typeName, "Overlay")) {
                return false;
            }
            return true;
        }
        setCategoryMode(a, b) {
            a.mp = b;
        }
        setCloseMemberPath(a, b) {
            a.om = b;
        }
        setDisplayType(a, b) {
            a.pu = b;
        }
        setHighMemberPath(a, b) {
            a.op = b;
        }
        setLowMemberPath(a, b) {
            a.ou = b;
        }
        setOpenMemberPath(a, b) {
            a.oy = b;
        }
        setVolumeMemberPath(a, b) {
            a.o2 = b;
        }
        setXAxis(a, b) {
            a.mi = b;
        }
        setYAxis(a, b) {
            a.m3 = b;
        }
    }
    FinancialPriceSeriesProxy.$t = /*@__PURE__*/ markType(FinancialPriceSeriesProxy, 'FinancialPriceSeriesProxy', Base.$, [IFinancialPriceSeriesProxy_$type]);
    return FinancialPriceSeriesProxy;
})();
//# sourceMappingURL=FinancialPriceSeriesProxy.js.map
