/*
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-angular-core";
import { IOverlayProxy_$type } from "./IOverlayProxy";
/**
 * @hidden
 */
export let OverlayProxy = /*@__PURE__*/ (() => {
    class OverlayProxy extends Base {
        matchesType(a) {
            if (a.ds) {
                return true;
            }
            return false;
        }
        setCloseMemberPath(a, b) {
            a.sk = b;
        }
        setHighMemberPath(a, b) {
            a.sn = b;
        }
        setLowMemberPath(a, b) {
            a.ss = b;
        }
        setMultiplier(a, b) {
            if (getInstanceType(a).typeName == "BollingerBandsOverlay") {
                let s_ = a;
                let p_ = b;
                s_['multiplier'] = p_;
            }
        }
        setOpenMemberPath(a, b) {
            a.sw = b;
        }
        setVolumeMemberPath(a, b) {
            a.s0 = b;
        }
        setXAxis(a, b) {
            a.qg = b;
        }
        setYAxis(a, b) {
            a.q2 = b;
        }
    }
    OverlayProxy.$t = markType(OverlayProxy, 'OverlayProxy', Base.$, [IOverlayProxy_$type]);
    return OverlayProxy;
})();
