'use strict';

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 PolarAxisModel = /** @class */function (_super) {
  tslib_es6.__extends(PolarAxisModel, _super);
  function PolarAxisModel() {
    return _super !== null && _super.apply(this, arguments) || this;
  }
  PolarAxisModel.prototype.getCoordSysModel = function () {
    return this.getReferringComponents('polar', model.SINGLE_REFERRING).models[0];
  };
  PolarAxisModel.type = 'polarAxis';
  return PolarAxisModel;
}(Component.default);
util.mixin(PolarAxisModel, axisModelCommonMixin.AxisModelCommonMixin);
var AngleAxisModel = /** @class */function (_super) {
  tslib_es6.__extends(AngleAxisModel, _super);
  function AngleAxisModel() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.type = AngleAxisModel.type;
    return _this;
  }
  AngleAxisModel.type = 'angleAxis';
  return AngleAxisModel;
}(PolarAxisModel);
var RadiusAxisModel = /** @class */function (_super) {
  tslib_es6.__extends(RadiusAxisModel, _super);
  function RadiusAxisModel() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.type = RadiusAxisModel.type;
    return _this;
  }
  RadiusAxisModel.type = 'radiusAxis';
  return RadiusAxisModel;
}(PolarAxisModel);

exports.AngleAxisModel = AngleAxisModel;
exports.PolarAxisModel = PolarAxisModel;
exports.RadiusAxisModel = RadiusAxisModel;
