import { IgxAxisComponent } from "./igx-axis-component";
import { fromPoint, toPoint } from "igniteui-angular-core";
var IgxAxisMouseEventArgs = /** @class */ /*@__PURE__*/ (function () {
    function IgxAxisMouseEventArgs() {
    }
    Object.defineProperty(IgxAxisMouseEventArgs.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: false,
        configurable: true
    });
    IgxAxisMouseEventArgs.prototype.onImplementationCreated = function () {
    };
    IgxAxisMouseEventArgs.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgxAxisMouseEventArgs.prototype, "axis", {
        get: function () {
            var r = this.i.a;
            if (r == null) {
                return null;
            }
            if (!r.externalObject) {
                var e = IgxAxisComponent._createFromInternal(r);
                if (e) {
                    e._implementation = r;
                }
                r.externalObject = e;
            }
            return r.externalObject;
        },
        set: function (v) {
            v == null ? this.i.a = null : this.i.a = v.i;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxAxisMouseEventArgs.prototype, "axisValue", {
        get: function () {
            return this.i.c;
        },
        set: function (v) {
            this.i.c = +v;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxAxisMouseEventArgs.prototype, "axisDateValue", {
        get: function () {
            return this.i.b;
        },
        set: function (v) {
            this.i.b = v;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxAxisMouseEventArgs.prototype, "mouseCoords", {
        get: function () {
            return fromPoint(this.i.f);
        },
        set: function (v) {
            this.i.f = toPoint(v);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxAxisMouseEventArgs.prototype, "worldCoords", {
        get: function () {
            return fromPoint(this.i.g);
        },
        set: function (v) {
            this.i.g = toPoint(v);
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxAxisMouseEventArgs.prototype, "label", {
        get: function () {
            return this.i.e;
        },
        set: function (v) {
            this.i.e = v;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgxAxisMouseEventArgs.prototype, "labelContext", {
        get: function () {
            return this.i.d;
        },
        set: function (v) {
            this.i.d = v;
        },
        enumerable: false,
        configurable: true
    });
    return IgxAxisMouseEventArgs;
}());
export { IgxAxisMouseEventArgs };
