'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var tslib_es6 = require('../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.js');
var util = require('../../../../../../zrender@6.0.0/node_modules/zrender/lib/core/util.js');
var Component = require('../../model/Component.js');
var axisModelCommonMixin = require('../axisModelCommonMixin.js');
var model = require('../../util/model.js');

var CartesianAxisModel = /** @class */function (_super) {
  tslib_es6.__extends(CartesianAxisModel, _super);
  function CartesianAxisModel() {
    return _super !== null && _super.apply(this, arguments) || this;
  }
  CartesianAxisModel.prototype.getCoordSysModel = function () {
    return this.getReferringComponents('grid', model.SINGLE_REFERRING).models[0];
  };
  CartesianAxisModel.type = 'cartesian2dAxis';
  return CartesianAxisModel;
}(Component.default);
util.mixin(CartesianAxisModel, axisModelCommonMixin.AxisModelCommonMixin);

exports.CartesianAxisModel = CartesianAxisModel;
exports.default = CartesianAxisModel;
