"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const tslib_es6 = require("../../../node_modules/tslib/tslib.es6.js");
const util = require("../../../../../../zrender@5.4.4/node_modules/zrender/lib/core/util.js");
const Component = require("../../model/Component.js");
const axisModelCommonMixin = require("../axisModelCommonMixin.js");
const model = require("../../util/model.js");
var CartesianAxisModel = (
  /** @class */
  function(_super) {
    tslib_es6.__extends(CartesianAxisModel2, _super);
    function CartesianAxisModel2() {
      return _super !== null && _super.apply(this, arguments) || this;
    }
    CartesianAxisModel2.prototype.getCoordSysModel = function() {
      return this.getReferringComponents("grid", model.SINGLE_REFERRING).models[0];
    };
    CartesianAxisModel2.type = "cartesian2dAxis";
    return CartesianAxisModel2;
  }(Component.default)
);
util.mixin(CartesianAxisModel, axisModelCommonMixin.AxisModelCommonMixin);
exports.CartesianAxisModel = CartesianAxisModel;
exports.default = CartesianAxisModel;
