@visactor/vchart 2.0.4-alpha.3 → 2.0.4-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -50238,7 +50238,7 @@ class Compiler {
50238
50238
  (_b = (_a = this._compileChart) === null || _a === void 0 ? void 0 : _a.getEvent()) === null || _b === void 0 ? void 0 : _b.emit(ChartEvent.afterRender, { chart: this._compileChart });
50239
50239
  };
50240
50240
  this._handleAfterNextRender = () => {
50241
- var _a, _b;
50241
+ var _a, _b, _c;
50242
50242
  if (this._stage && !this._option.disableDirtyBounds) {
50243
50243
  this._stage.enableDirtyBounds();
50244
50244
  }
@@ -50248,6 +50248,7 @@ class Compiler {
50248
50248
  vchart: (_b = this._compileChart.getOption()) === null || _b === void 0 ? void 0 : _b.globalInstance
50249
50249
  });
50250
50250
  }
50251
+ (_c = this._option.performanceHook) === null || _c === void 0 ? void 0 : _c.afterVRenderDraw(this._compileChart.getOption().globalInstance);
50251
50252
  };
50252
50253
  this.handleProgressiveFrame = () => {
50253
50254
  if (this._progressiveMarks.length) {
@@ -50397,6 +50398,7 @@ class Compiler {
50397
50398
  });
50398
50399
  }
50399
50400
  _doRender(immediately) {
50401
+ var _a;
50400
50402
  if (this._stage) {
50401
50403
  this._rootMarks.forEach(g => {
50402
50404
  traverseGroupMark(g, m => {
@@ -50413,6 +50415,7 @@ class Compiler {
50413
50415
  this._stage.afterNextRender(this._handleAfterNextRender);
50414
50416
  if (immediately) {
50415
50417
  this._stage.render();
50418
+ (_a = this._option.performanceHook) === null || _a === void 0 ? void 0 : _a.afterVRenderDraw(this._compileChart.getOption().globalInstance);
50416
50419
  }
50417
50420
  }
50418
50421
  }
@@ -56918,7 +56921,7 @@ const lookup = (data, opt) => {
56918
56921
  });
56919
56922
  };
56920
56923
 
56921
- const version = "2.0.4-alpha.3";
56924
+ const version = "2.0.4-alpha.4";
56922
56925
 
56923
56926
  const addVChartProperty = (data, op) => {
56924
56927
  const context = op.beforeCall();
package/build/index.js CHANGED
@@ -50244,7 +50244,7 @@
50244
50244
  (_b = (_a = this._compileChart) === null || _a === void 0 ? void 0 : _a.getEvent()) === null || _b === void 0 ? void 0 : _b.emit(exports.ChartEvent.afterRender, { chart: this._compileChart });
50245
50245
  };
50246
50246
  this._handleAfterNextRender = () => {
50247
- var _a, _b;
50247
+ var _a, _b, _c;
50248
50248
  if (this._stage && !this._option.disableDirtyBounds) {
50249
50249
  this._stage.enableDirtyBounds();
50250
50250
  }
@@ -50254,6 +50254,7 @@
50254
50254
  vchart: (_b = this._compileChart.getOption()) === null || _b === void 0 ? void 0 : _b.globalInstance
50255
50255
  });
50256
50256
  }
50257
+ (_c = this._option.performanceHook) === null || _c === void 0 ? void 0 : _c.afterVRenderDraw(this._compileChart.getOption().globalInstance);
50257
50258
  };
50258
50259
  this.handleProgressiveFrame = () => {
50259
50260
  if (this._progressiveMarks.length) {
@@ -50403,6 +50404,7 @@
50403
50404
  });
50404
50405
  }
50405
50406
  _doRender(immediately) {
50407
+ var _a;
50406
50408
  if (this._stage) {
50407
50409
  this._rootMarks.forEach(g => {
50408
50410
  traverseGroupMark(g, m => {
@@ -50419,6 +50421,7 @@
50419
50421
  this._stage.afterNextRender(this._handleAfterNextRender);
50420
50422
  if (immediately) {
50421
50423
  this._stage.render();
50424
+ (_a = this._option.performanceHook) === null || _a === void 0 ? void 0 : _a.afterVRenderDraw(this._compileChart.getOption().globalInstance);
50422
50425
  }
50423
50426
  }
50424
50427
  }
@@ -56924,7 +56927,7 @@
56924
56927
  });
56925
56928
  };
56926
56929
 
56927
- const version = "2.0.4-alpha.3";
56930
+ const version = "2.0.4-alpha.4";
56928
56931
 
56929
56932
  const addVChartProperty = (data, op) => {
56930
56933
  const context = op.beforeCall();