import { __extends } from '../../../../../../tslib@2.3.0/node_modules/tslib/tslib.es6.mjs';
import { use } from '../../extension.mjs';
import ComponentView from '../../view/Component.mjs';
import SingleAxisView from '../axis/SingleAxisView.mjs';
import axisModelCreator from '../../coord/axisModelCreator.mjs';
import SingleAxisModel from '../../coord/single/AxisModel.mjs';
import singleCreator from '../../coord/single/singleCreator.mjs';
import { install as install$1 } from '../axisPointer/install.mjs';
import AxisView from '../axis/AxisView.mjs';
import SingleAxisPointer from '../axisPointer/SingleAxisPointer.mjs';

var SingleView = /** @class */function (_super) {
  __extends(SingleView, _super);
  function SingleView() {
    var _this = _super !== null && _super.apply(this, arguments) || this;
    _this.type = SingleView.type;
    return _this;
  }
  SingleView.type = 'single';
  return SingleView;
}(ComponentView);
function install(registers) {
  use(install$1);
  AxisView.registerAxisPointerClass('SingleAxisPointer', SingleAxisPointer);
  registers.registerComponentView(SingleView);
  // Axis
  registers.registerComponentView(SingleAxisView);
  registers.registerComponentModel(SingleAxisModel);
  axisModelCreator(registers, 'single', SingleAxisModel, SingleAxisModel.defaultOption);
  registers.registerCoordinateSystem('single', singleCreator);
}

export { install };
