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