'use strict';

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

var Group = require('../../../../../zrender@6.0.0/node_modules/zrender/lib/graphic/Group.js');
var component = require('../util/component.js');
var clazz = require('../util/clazz.js');

var ComponentView = /** @class */function () {
  function ComponentView() {
    this.group = new Group.default();
    this.uid = component.getUID('viewComponent');
  }
  ComponentView.prototype.init = function (ecModel, api) {};
  ComponentView.prototype.render = function (model, ecModel, api, payload) {};
  ComponentView.prototype.dispose = function (ecModel, api) {};
  ComponentView.prototype.updateView = function (model, ecModel, api, payload) {
    // Do nothing;
  };
  ComponentView.prototype.updateLayout = function (model, ecModel, api, payload) {
    // Do nothing;
  };
  ComponentView.prototype.updateVisual = function (model, ecModel, api, payload) {
    // Do nothing;
  };
  /**
   * Hook for toggle blur target series.
   * Can be used in marker for blur or leave blur the markers
   */
  ComponentView.prototype.toggleBlurSeries = function (seriesModels, isBlur, ecModel) {
    // Do nothing;
  };
  /**
   * Traverse the new rendered elements.
   *
   * It will traverse the new added element in progressive rendering.
   * And traverse all in normal rendering.
   */
  ComponentView.prototype.eachRendered = function (cb) {
    var group = this.group;
    if (group) {
      group.traverse(cb);
    }
  };
  return ComponentView;
}();
;
clazz.enableClassExtend(ComponentView);
clazz.enableClassManagement(ComponentView);

exports.default = ComponentView;
