@visactor/vchart 2.0.2 → 2.0.3-alpha.0

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.
Files changed (214) hide show
  1. package/build/es5/index.js +1 -1
  2. package/build/index.es.js +412 -435
  3. package/build/index.js +411 -435
  4. package/build/index.min.js +2 -2
  5. package/build/tsconfig.tsbuildinfo +1 -1
  6. package/cjs/animation/animate-manager.d.ts +1 -0
  7. package/cjs/animation/animate-manager.js +2 -0
  8. package/cjs/animation/animate-manager.js.map +1 -0
  9. package/cjs/animation/index.js +1 -2
  10. package/cjs/animation/interface.js +2 -1
  11. package/cjs/chart/base/base-chart.d.ts +0 -1
  12. package/cjs/chart/base/base-chart.js +8 -5
  13. package/cjs/chart/base/base-chart.js.map +1 -1
  14. package/cjs/chart/interface/chart.d.ts +0 -1
  15. package/cjs/chart/interface/chart.js.map +1 -1
  16. package/cjs/chart/util.js +1 -2
  17. package/cjs/compile/compiler.d.ts +0 -1
  18. package/cjs/compile/compiler.js +5 -13
  19. package/cjs/compile/compiler.js.map +1 -1
  20. package/cjs/compile/interface/compilable-item.d.ts +0 -1
  21. package/cjs/compile/interface/compilable-item.js.map +1 -1
  22. package/cjs/compile/interface/compiler.d.ts +0 -5
  23. package/cjs/compile/interface/compiler.js.map +1 -1
  24. package/cjs/component/axis/base-axis.js.map +1 -1
  25. package/cjs/component/axis/cartesian/band-axis.d.ts +0 -8
  26. package/cjs/component/axis/cartesian/band-axis.js +0 -9
  27. package/cjs/component/axis/cartesian/band-axis.js.map +1 -1
  28. package/cjs/component/axis/interface/common.js.map +1 -1
  29. package/cjs/component/axis/mixin/band-axis-mixin.d.ts +0 -2
  30. package/cjs/component/axis/mixin/band-axis-mixin.js +1 -15
  31. package/cjs/component/axis/mixin/band-axis-mixin.js.map +1 -1
  32. package/cjs/component/brush/brush.js +6 -6
  33. package/cjs/component/brush/brush.js.map +1 -1
  34. package/cjs/component/brush/interface.d.ts +0 -1
  35. package/cjs/component/brush/interface.js.map +1 -1
  36. package/cjs/component/crosshair/base.d.ts +1 -1
  37. package/cjs/component/crosshair/base.js +1 -1
  38. package/cjs/component/crosshair/base.js.map +1 -1
  39. package/cjs/component/crosshair/utils/cartesian.js +2 -2
  40. package/cjs/component/crosshair/utils/cartesian.js.map +1 -1
  41. package/cjs/component/data-zoom/data-filter-base-component.d.ts +1 -0
  42. package/cjs/component/data-zoom/data-filter-base-component.js +19 -13
  43. package/cjs/component/data-zoom/data-filter-base-component.js.map +1 -1
  44. package/cjs/component/data-zoom/interface.d.ts +3 -0
  45. package/cjs/component/data-zoom/interface.js.map +1 -1
  46. package/cjs/component/data-zoom/util.d.ts +1 -0
  47. package/cjs/component/data-zoom/util.js +4 -3
  48. package/cjs/component/data-zoom/util.js.map +1 -1
  49. package/cjs/component/player/player.js +1 -2
  50. package/cjs/component/player/player.js.map +1 -1
  51. package/cjs/component/tooltip/tooltip.js +3 -8
  52. package/cjs/component/tooltip/tooltip.js.map +1 -1
  53. package/cjs/constant/attribute.js +2 -1
  54. package/cjs/constant/sunburst.js +1 -2
  55. package/cjs/constant/waterfall.js +2 -1
  56. package/cjs/core/index.d.ts +1 -1
  57. package/cjs/core/index.js +1 -1
  58. package/cjs/core/index.js.map +1 -1
  59. package/cjs/core/util.js +1 -1
  60. package/cjs/core/vchart.d.ts +0 -1
  61. package/cjs/core/vchart.js +17 -36
  62. package/cjs/core/vchart.js.map +1 -1
  63. package/cjs/data/transforms/obj-flat.js +4 -1
  64. package/cjs/data/transforms/obj-flat.js.map +1 -1
  65. package/cjs/mark/base/base-mark.d.ts +2 -6
  66. package/cjs/mark/base/base-mark.js +51 -69
  67. package/cjs/mark/base/base-mark.js.map +1 -1
  68. package/cjs/mark/group.d.ts +2 -3
  69. package/cjs/mark/group.js +13 -15
  70. package/cjs/mark/group.js.map +1 -1
  71. package/cjs/mark/interface/common.d.ts +2 -5
  72. package/cjs/mark/interface/common.js.map +1 -1
  73. package/cjs/model/base-model.d.ts +1 -5
  74. package/cjs/model/base-model.js +0 -7
  75. package/cjs/model/base-model.js.map +1 -1
  76. package/cjs/model/interface.d.ts +1 -4
  77. package/cjs/model/interface.js.map +1 -1
  78. package/cjs/plugin/components/tooltip-handler/utils/style.js +4 -4
  79. package/cjs/plugin/components/tooltip-handler/utils/style.js.map +1 -1
  80. package/cjs/region/region.js.map +1 -1
  81. package/cjs/series/base/base-series.js +3 -2
  82. package/cjs/series/base/base-series.js.map +1 -1
  83. package/cjs/series/dot/dot.d.ts +1 -0
  84. package/cjs/series/dot/dot.js +29 -6
  85. package/cjs/series/dot/dot.js.map +1 -1
  86. package/cjs/series/dot/interface.d.ts +1 -0
  87. package/cjs/series/dot/interface.js.map +1 -1
  88. package/cjs/series/dot/tooltip-helper.js +3 -2
  89. package/cjs/series/dot/tooltip-helper.js.map +1 -1
  90. package/cjs/series/funnel/funnel.js +2 -0
  91. package/cjs/series/funnel/funnel.js.map +1 -1
  92. package/cjs/series/interface/type.d.ts +3 -0
  93. package/cjs/series/interface/type.js +5 -3
  94. package/cjs/series/interface/type.js.map +1 -1
  95. package/cjs/series/link/constant.js +8 -0
  96. package/cjs/series/link/constant.js.map +1 -1
  97. package/cjs/series/link/interface.d.ts +10 -1
  98. package/cjs/series/link/interface.js +5 -1
  99. package/cjs/series/link/interface.js.map +1 -1
  100. package/cjs/series/link/link.d.ts +3 -1
  101. package/cjs/series/link/link.js +46 -16
  102. package/cjs/series/link/link.js.map +1 -1
  103. package/cjs/series/map/map.js +2 -1
  104. package/cjs/series/map/map.js.map +1 -1
  105. package/cjs/series/pie/pie.js +1 -0
  106. package/cjs/series/pie/pie.js.map +1 -1
  107. package/cjs/util/mark.d.ts +0 -1
  108. package/cjs/util/mark.js +1 -10
  109. package/cjs/util/mark.js.map +1 -1
  110. package/esm/animation/animate-manager.d.ts +1 -0
  111. package/esm/animation/animate-manager.js +2 -0
  112. package/esm/animation/animate-manager.js.map +1 -0
  113. package/esm/animation/index.js +1 -2
  114. package/esm/animation/interface.js +2 -1
  115. package/esm/chart/base/base-chart.d.ts +0 -1
  116. package/esm/chart/base/base-chart.js +8 -5
  117. package/esm/chart/base/base-chart.js.map +1 -1
  118. package/esm/chart/interface/chart.d.ts +0 -1
  119. package/esm/chart/interface/chart.js.map +1 -1
  120. package/esm/chart/util.js +1 -2
  121. package/esm/compile/compiler.d.ts +0 -1
  122. package/esm/compile/compiler.js +6 -13
  123. package/esm/compile/compiler.js.map +1 -1
  124. package/esm/compile/interface/compilable-item.d.ts +0 -1
  125. package/esm/compile/interface/compilable-item.js.map +1 -1
  126. package/esm/compile/interface/compiler.d.ts +0 -5
  127. package/esm/compile/interface/compiler.js.map +1 -1
  128. package/esm/component/axis/base-axis.js.map +1 -1
  129. package/esm/component/axis/cartesian/band-axis.d.ts +0 -8
  130. package/esm/component/axis/cartesian/band-axis.js +1 -9
  131. package/esm/component/axis/cartesian/band-axis.js.map +1 -1
  132. package/esm/component/axis/interface/common.js.map +1 -1
  133. package/esm/component/axis/mixin/band-axis-mixin.d.ts +0 -2
  134. package/esm/component/axis/mixin/band-axis-mixin.js +1 -15
  135. package/esm/component/axis/mixin/band-axis-mixin.js.map +1 -1
  136. package/esm/component/brush/brush.js +6 -6
  137. package/esm/component/brush/brush.js.map +1 -1
  138. package/esm/component/brush/interface.d.ts +0 -1
  139. package/esm/component/brush/interface.js.map +1 -1
  140. package/esm/component/crosshair/base.d.ts +1 -1
  141. package/esm/component/crosshair/base.js +1 -1
  142. package/esm/component/crosshair/base.js.map +1 -1
  143. package/esm/component/crosshair/utils/cartesian.js +2 -2
  144. package/esm/component/crosshair/utils/cartesian.js.map +1 -1
  145. package/esm/component/data-zoom/data-filter-base-component.d.ts +1 -0
  146. package/esm/component/data-zoom/data-filter-base-component.js +18 -13
  147. package/esm/component/data-zoom/data-filter-base-component.js.map +1 -1
  148. package/esm/component/data-zoom/interface.d.ts +3 -0
  149. package/esm/component/data-zoom/interface.js.map +1 -1
  150. package/esm/component/data-zoom/util.d.ts +1 -0
  151. package/esm/component/data-zoom/util.js +5 -2
  152. package/esm/component/data-zoom/util.js.map +1 -1
  153. package/esm/component/player/player.js +1 -2
  154. package/esm/component/player/player.js.map +1 -1
  155. package/esm/component/tooltip/tooltip.js +3 -8
  156. package/esm/component/tooltip/tooltip.js.map +1 -1
  157. package/esm/constant/attribute.js +2 -1
  158. package/esm/constant/sunburst.js +1 -2
  159. package/esm/constant/waterfall.js +2 -1
  160. package/esm/core/index.d.ts +1 -1
  161. package/esm/core/index.js +1 -1
  162. package/esm/core/index.js.map +1 -1
  163. package/esm/core/util.js +1 -1
  164. package/esm/core/vchart.d.ts +0 -1
  165. package/esm/core/vchart.js +16 -35
  166. package/esm/core/vchart.js.map +1 -1
  167. package/esm/data/transforms/obj-flat.js +4 -1
  168. package/esm/data/transforms/obj-flat.js.map +1 -1
  169. package/esm/mark/base/base-mark.d.ts +2 -6
  170. package/esm/mark/base/base-mark.js +50 -69
  171. package/esm/mark/base/base-mark.js.map +1 -1
  172. package/esm/mark/group.d.ts +2 -3
  173. package/esm/mark/group.js +12 -18
  174. package/esm/mark/group.js.map +1 -1
  175. package/esm/mark/interface/common.d.ts +2 -5
  176. package/esm/mark/interface/common.js.map +1 -1
  177. package/esm/model/base-model.d.ts +1 -5
  178. package/esm/model/base-model.js +0 -7
  179. package/esm/model/base-model.js.map +1 -1
  180. package/esm/model/interface.d.ts +1 -4
  181. package/esm/model/interface.js.map +1 -1
  182. package/esm/plugin/components/tooltip-handler/utils/style.js +4 -5
  183. package/esm/plugin/components/tooltip-handler/utils/style.js.map +1 -1
  184. package/esm/region/region.js.map +1 -1
  185. package/esm/series/base/base-series.js +3 -2
  186. package/esm/series/base/base-series.js.map +1 -1
  187. package/esm/series/dot/dot.d.ts +1 -0
  188. package/esm/series/dot/dot.js +29 -6
  189. package/esm/series/dot/dot.js.map +1 -1
  190. package/esm/series/dot/interface.d.ts +1 -0
  191. package/esm/series/dot/interface.js.map +1 -1
  192. package/esm/series/dot/tooltip-helper.js +3 -2
  193. package/esm/series/dot/tooltip-helper.js.map +1 -1
  194. package/esm/series/funnel/funnel.js +2 -0
  195. package/esm/series/funnel/funnel.js.map +1 -1
  196. package/esm/series/interface/type.d.ts +3 -0
  197. package/esm/series/interface/type.js +5 -3
  198. package/esm/series/interface/type.js.map +1 -1
  199. package/esm/series/link/constant.js +8 -0
  200. package/esm/series/link/constant.js.map +1 -1
  201. package/esm/series/link/interface.d.ts +10 -1
  202. package/esm/series/link/interface.js +5 -1
  203. package/esm/series/link/interface.js.map +1 -1
  204. package/esm/series/link/link.d.ts +3 -1
  205. package/esm/series/link/link.js +48 -16
  206. package/esm/series/link/link.js.map +1 -1
  207. package/esm/series/map/map.js +2 -1
  208. package/esm/series/map/map.js.map +1 -1
  209. package/esm/series/pie/pie.js +1 -0
  210. package/esm/series/pie/pie.js.map +1 -1
  211. package/esm/util/mark.d.ts +0 -1
  212. package/esm/util/mark.js +0 -7
  213. package/esm/util/mark.js.map +1 -1
  214. package/package.json +8 -8
package/build/index.es.js CHANGED
@@ -14167,9 +14167,9 @@ class Graphic extends Node {
14167
14167
  setWidthHeightWithoutTransform(aabbBounds) {
14168
14168
  this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
14169
14169
  }
14170
- setAttributesAndPreventAnimate(params, forceUpdateTag = !1, context, ignorePriority) {
14170
+ setAttributesAndPreventAnimate(params, forceUpdateTag = !1, context) {
14171
14171
  this.setAttributes(params, forceUpdateTag, context), this.animates && this.animates.forEach(animate => {
14172
- (animate.priority !== 1 / 0 || ignorePriority) && Object.keys(params).forEach(key => {
14172
+ Object.keys(params).forEach(key => {
14173
14173
  animate.preventAttr(key);
14174
14174
  });
14175
14175
  });
@@ -14340,7 +14340,7 @@ class Graphic extends Node {
14340
14340
  });
14341
14341
  } else this.stopStateAnimates(), this.setAttributesAndPreventAnimate(attrs, !1, {
14342
14342
  type: AttributeUpdateType.STATE
14343
- }), this.finalAttribute && Object.assign(this.finalAttribute, attrs);
14343
+ });
14344
14344
  this._emitCustomEvent("afterStateUpdate", {
14345
14345
  type: AttributeUpdateType.STATE
14346
14346
  });
@@ -14733,7 +14733,7 @@ let Group$1 = class Group extends Graphic {
14733
14733
  }
14734
14734
  removeChild(child) {
14735
14735
  const data = super.removeChild(child);
14736
- return this.getGraphicService().onRemove(child), child.stage = null, this.addUpdateBoundTag(), data;
14736
+ return child.stage = null, this.getGraphicService().onRemove(child), this.addUpdateBoundTag(), data;
14737
14737
  }
14738
14738
  removeAllChild(deep = !1) {
14739
14739
  this.forEachChildren(child => {
@@ -17747,10 +17747,9 @@ class Polygon extends Graphic {
17747
17747
  return super.needUpdateTag(key, POLYGON_UPDATE_TAG_KEY);
17748
17748
  }
17749
17749
  toCustomPath() {
17750
- let path = super.toCustomPath();
17751
- if (path) return path;
17752
- const points = this.attribute.points;
17753
- return path = new CustomPath2D(), points.forEach((point, index) => {
17750
+ const points = this.attribute.points,
17751
+ path = new CustomPath2D();
17752
+ return points.forEach((point, index) => {
17754
17753
  0 === index ? path.moveTo(point.x, point.y) : path.lineTo(point.x, point.y);
17755
17754
  }), path.closePath(), path;
17756
17755
  }
@@ -21015,7 +21014,6 @@ let DefaultDrawContribution = class {
21015
21014
  drawContext.updateBounds ? this.useDirtyBounds = !0 : this.useDirtyBounds = !drawContext.stage.params.optimize.disableCheckGraphicWidthOutRange;
21016
21015
  }
21017
21016
  draw(renderService, drawContext) {
21018
- var _a;
21019
21017
  this.prepareForDraw(renderService, drawContext), drawContext.drawContribution = this, this.currentRenderMap = this.styleRenderMap.get(drawContext.renderStyle) || this.defaultRenderMap, this.currentRenderService = renderService;
21020
21018
  const {
21021
21019
  context: context,
@@ -21030,7 +21028,7 @@ let DefaultDrawContribution = class {
21030
21028
  dirtyBounds.x1 = Math.floor(b.x1), dirtyBounds.y1 = Math.floor(b.y1), dirtyBounds.x2 = Math.ceil(b.x2), dirtyBounds.y2 = Math.ceil(b.y2);
21031
21029
  }
21032
21030
  const d = context.dpr % 1;
21033
- (d || .5 !== d) && (dirtyBounds.x1 = Math.floor(dirtyBounds.x1 * context.dpr) / context.dpr, dirtyBounds.y1 = Math.floor(dirtyBounds.y1 * context.dpr) / context.dpr, dirtyBounds.x2 = Math.ceil(dirtyBounds.x2 * context.dpr) / context.dpr, dirtyBounds.y2 = Math.ceil(dirtyBounds.y2 * context.dpr) / context.dpr), this.backupDirtyBounds.copy(dirtyBounds), context.reset(!1), context.save(), context.setClearMatrix(transMatrix.a, transMatrix.b, transMatrix.c, transMatrix.d, transMatrix.e, transMatrix.f), context.clearMatrix(!1), context.translate(viewBox.x1, viewBox.y1, !0), context.beginPath(), context.rect(dirtyBounds.x1, dirtyBounds.y1, dirtyBounds.width(), dirtyBounds.height()), context.clip(), stage.camera && (this.dirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0), this.backupDirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0)), this.clearScreen(renderService, context, drawContext), (null === (_a = renderService.drawParams) || void 0 === _a ? void 0 : _a.stage) && renderService.drawParams.stage.hooks.afterClearScreen.call(renderService.drawParams), renderService.renderTreeRoots.sort((a, b) => {
21031
+ (d || .5 !== d) && (dirtyBounds.x1 = Math.floor(dirtyBounds.x1 * context.dpr) / context.dpr, dirtyBounds.y1 = Math.floor(dirtyBounds.y1 * context.dpr) / context.dpr, dirtyBounds.x2 = Math.ceil(dirtyBounds.x2 * context.dpr) / context.dpr, dirtyBounds.y2 = Math.ceil(dirtyBounds.y2 * context.dpr) / context.dpr), this.backupDirtyBounds.copy(dirtyBounds), context.reset(!1), context.save(), context.setClearMatrix(transMatrix.a, transMatrix.b, transMatrix.c, transMatrix.d, transMatrix.e, transMatrix.f), context.clearMatrix(!1), context.translate(viewBox.x1, viewBox.y1, !0), context.beginPath(), context.rect(dirtyBounds.x1, dirtyBounds.y1, dirtyBounds.width(), dirtyBounds.height()), context.clip(), stage.camera && (this.dirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0), this.backupDirtyBounds.setValue(-1 / 0, -1 / 0, 1 / 0, 1 / 0)), this.clearScreen(renderService, context, drawContext), renderService.renderTreeRoots.sort((a, b) => {
21034
21032
  var _a, _b;
21035
21033
  return (null !== (_a = a.attribute.zIndex) && void 0 !== _a ? _a : DefaultAttribute.zIndex) - (null !== (_b = b.attribute.zIndex) && void 0 !== _b ? _b : DefaultAttribute.zIndex);
21036
21034
  }).forEach(group => {
@@ -21166,7 +21164,7 @@ let DefaultDrawContribution = class {
21166
21164
  return data || this.currentRenderMap.get(type) || this.defaultRenderMap.get(type);
21167
21165
  }
21168
21166
  clearScreen(renderService, context, drawContext) {
21169
- var _a, _b, _c;
21167
+ var _a, _b;
21170
21168
  const {
21171
21169
  clear: clear,
21172
21170
  viewBox: viewBox
@@ -21174,9 +21172,9 @@ let DefaultDrawContribution = class {
21174
21172
  width = viewBox.width(),
21175
21173
  height = viewBox.height();
21176
21174
  if (clear) {
21177
- context.clearRect(0, 0, width, height), (null === (_a = renderService.drawParams) || void 0 === _a ? void 0 : _a.stage) && renderService.drawParams.stage.hooks.afterClearRect.call(renderService.drawParams);
21178
- const stage = null === (_b = renderService.drawParams) || void 0 === _b ? void 0 : _b.stage;
21179
- if (stage && (context.globalAlpha = null !== (_c = stage.attribute.opacity) && void 0 !== _c ? _c : 1), stage && stage.backgroundImg && stage.resources) {
21175
+ context.clearRect(0, 0, width, height);
21176
+ const stage = null === (_a = renderService.drawParams) || void 0 === _a ? void 0 : _a.stage;
21177
+ if (stage && (context.globalAlpha = null !== (_b = stage.attribute.opacity) && void 0 !== _b ? _b : 1), stage && stage.backgroundImg && stage.resources) {
21180
21178
  const res = stage.resources.get(clear);
21181
21179
  res && "success" === res.state && res.data && context.drawImage(res.data, 0, 0, width, height);
21182
21180
  } else context.fillStyle = createColor(context, clear, {
@@ -21704,19 +21702,13 @@ class Stage extends Group$1 {
21704
21702
  } else this._skipRender = 1;
21705
21703
  }, this.beforeRender = stage => {
21706
21704
  this._beforeRender && this._beforeRender(stage);
21707
- }, this.afterClearScreen = drawParams => {
21708
- this._afterClearScreen && this._afterClearScreen(drawParams);
21709
- }, this.afterClearRect = drawParams => {
21710
- this._afterClearRect && this._afterClearRect(drawParams);
21711
21705
  }, this.afterRender = stage => {
21712
21706
  this.renderCount++, this._afterRender && this._afterRender(stage), this._afterNextRenderCbs && this._afterNextRenderCbs.forEach(cb => cb(stage)), this._afterNextRenderCbs = null, this.tickedBeforeRender = !1;
21713
21707
  }, this.afterTickCb = () => {
21714
21708
  this.tickedBeforeRender = !0, "rendering" !== this.state && this.renderNextFrame();
21715
21709
  }, this.params = params, this.theme = new Theme(), this.hooks = {
21716
21710
  beforeRender: new SyncHook(["stage"]),
21717
- afterRender: new SyncHook(["stage"]),
21718
- afterClearScreen: new SyncHook(["stage"]),
21719
- afterClearRect: new SyncHook(["stage"])
21711
+ afterRender: new SyncHook(["stage"])
21720
21712
  }, this.global = application.global, !this.global.env && isBrowserEnv() && this.global.setEnv("browser"), this.window = container.get(VWindow), this.renderService = container.get(RenderService), this.pluginService = container.get(PluginService), this.layerService = container.get(LayerService), this.graphicService = container.get(GraphicService), this.pluginService.active(this, params), this.window.create({
21721
21713
  width: params.width,
21722
21714
  height: params.height,
@@ -21728,7 +21720,7 @@ class Stage extends Group$1 {
21728
21720
  canvas: params.canvas
21729
21721
  }), this.state = "normal", this.renderCount = 0, this.tryInitEventSystem(), this._background = null !== (_a = params.background) && void 0 !== _a ? _a : DefaultConfig.BACKGROUND, this.appendChild(this.layerService.createLayer(this, {
21730
21722
  main: !0
21731
- })), this.nextFrameRenderLayerSet = new Set(), this.willNextFrameRender = !1, this.stage = this, this.renderStyle = params.renderStyle, params.autoRender && this.enableAutoRender(), params.autoRefresh && this.enableAutoRefresh(), !1 === params.disableDirtyBounds && this.enableDirtyBounds(), params.enableHtmlAttribute && this.enableHtmlAttribute(params.enableHtmlAttribute), params.ReactDOM && this.enableReactAttribute(params.ReactDOM), params.enableLayout && this.enableLayout(), this.hooks.beforeRender.tap("constructor", this.beforeRender), this.hooks.afterRender.tap("constructor", this.afterRender), this.hooks.afterClearScreen.tap("constructor", this.afterClearScreen), this.hooks.afterClearRect.tap("constructor", this.afterClearRect), this._beforeRender = params.beforeRender, this._afterRender = params.afterRender, this._afterClearScreen = params.afterClearScreen, this._afterClearRect = params.afterClearRect, this.supportInteractiveLayer = !1 !== params.interactiveLayer, params.optimize || (params.optimize = {
21723
+ })), this.nextFrameRenderLayerSet = new Set(), this.willNextFrameRender = !1, this.stage = this, this.renderStyle = params.renderStyle, params.autoRender && this.enableAutoRender(), params.autoRefresh && this.enableAutoRefresh(), !1 === params.disableDirtyBounds && this.enableDirtyBounds(), params.enableHtmlAttribute && this.enableHtmlAttribute(params.enableHtmlAttribute), params.ReactDOM && this.enableReactAttribute(params.ReactDOM), params.enableLayout && this.enableLayout(), this.hooks.beforeRender.tap("constructor", this.beforeRender), this.hooks.afterRender.tap("constructor", this.afterRender), this._beforeRender = params.beforeRender, this._afterRender = params.afterRender, this.supportInteractiveLayer = !1 !== params.interactiveLayer, params.optimize || (params.optimize = {
21732
21724
  tickRenderMode: "effect"
21733
21725
  }), this.optmize(params.optimize), params.background && isString$1(this._background) && this._background.includes("/") && this.setAttributes({
21734
21726
  background: this._background
@@ -22123,7 +22115,7 @@ class Stage extends Group$1 {
22123
22115
  return this._cursor;
22124
22116
  }
22125
22117
  eventPointTransform(e) {
22126
- const point = this.global.mapToCanvasPoint(e, this.window);
22118
+ const point = this.global.mapToCanvasPoint(e, this.window.getContext().canvas.nativeCanvas);
22127
22119
  return this.stage.window.pointTransform(point.x, point.y);
22128
22120
  }
22129
22121
  pauseTriggerEvent() {
@@ -31736,7 +31728,7 @@ class DefaultTimeline extends EventEmitter {
31736
31728
  return this._animateCount;
31737
31729
  }
31738
31730
  constructor() {
31739
- super(), this.head = null, this.tail = null, this.animateMap = new Map(), this._animateCount = 0, this._playSpeed = 1, this._totalDuration = 0, this._startTime = 0, this._currentTime = 0, this._animationEndFlag = !0, this.id = Generator.GenAutoIncrementId(), this.paused = !1;
31731
+ super(), this.head = null, this.tail = null, this.animateMap = new Map(), this._animateCount = 0, this._playSpeed = 1, this._totalDuration = 0, this._startTime = 0, this._currentTime = 0, this.id = Generator.GenAutoIncrementId(), this.paused = !1;
31740
31732
  }
31741
31733
  isRunning() {
31742
31734
  return !this.paused && this._animateCount > 0;
@@ -31765,11 +31757,10 @@ class DefaultTimeline extends EventEmitter {
31765
31757
  }
31766
31758
  tick(delta) {
31767
31759
  if (this.paused) return;
31768
- this._animationEndFlag && (this._animationEndFlag = !1, this.emit("animationStart"));
31769
31760
  const scaledDelta = delta * this._playSpeed;
31770
31761
  this._currentTime += scaledDelta, this.forEachAccessAnimate((animate, i) => {
31771
31762
  animate.status === AnimateStatus.END ? this.removeAnimate(animate, !0) : animate.status !== AnimateStatus.RUNNING && animate.status !== AnimateStatus.INITIAL || animate.advance(scaledDelta);
31772
- }), 0 === this._animateCount && (this._animationEndFlag = !0, this.emit("animationEnd"));
31763
+ }), 0 === this._animateCount && this.emit("animationEnd");
31773
31764
  }
31774
31765
  clear() {
31775
31766
  this.forEachAccessAnimate(animate => {
@@ -31833,9 +31824,7 @@ class Animate {
31833
31824
  return this._timeline;
31834
31825
  }
31835
31826
  bind(target) {
31836
- return this.target = target, this.target.animates || (this.target.animates = new Map()), this.target.animates.set(this.id, this), this.onRemove(() => {
31837
- this.stop(), this.target.animates.delete(this.id);
31838
- }), this.target.onAnimateBind && !this.slience && this.target.onAnimateBind(this), this.target.animationAttribute || (this.target.animationAttribute = {}), this;
31827
+ return this.target = target, this.target.onAnimateBind && !this.slience && this.target.onAnimateBind(this), this.target.animationAttribute || (this.target.animationAttribute = {}), this;
31839
31828
  }
31840
31829
  to(props, duration = 300, easing = "linear") {
31841
31830
  const step = new Step(AnimateStepType.to, props, duration, easing);
@@ -32049,8 +32038,8 @@ class DefaultTicker extends EventEmitter {
32049
32038
  }
32050
32039
  init() {
32051
32040
  this.interval = 16, this.status = STATUS$1.INITIAL, application.global.hooks.onSetEnv.tap("graph-ticker", () => {
32052
- this.initHandler(!1);
32053
- }), application.global.env && this.initHandler(!1);
32041
+ this.initHandler();
32042
+ }), application.global.env && this.initHandler();
32054
32043
  }
32055
32044
  addTimeline(timeline) {
32056
32045
  this.timelines.push(timeline);
@@ -32061,11 +32050,10 @@ class DefaultTicker extends EventEmitter {
32061
32050
  getTimelines() {
32062
32051
  return this.timelines;
32063
32052
  }
32064
- initHandler(force = !1) {
32065
- this.setupTickHandler(force);
32053
+ initHandler() {
32054
+ this.setupTickHandler();
32066
32055
  }
32067
- setupTickHandler(force = !1) {
32068
- if (!force && this.tickerHandler) return !0;
32056
+ setupTickHandler() {
32069
32057
  const handler = new RAFTickHandler();
32070
32058
  return this.tickerHandler && this.tickerHandler.release(), this.tickerHandler = handler, !0;
32071
32059
  }
@@ -32116,7 +32104,7 @@ class DefaultTicker extends EventEmitter {
32116
32104
  return this.status = STATUS$1.RUNNING, this.tickerHandler.tick(0, this.handleTick), !0;
32117
32105
  }
32118
32106
  stop() {
32119
- this.status = STATUS$1.INITIAL, this.setupTickHandler(!0), this.lastFrameTime = -1;
32107
+ this.status = STATUS$1.INITIAL, this.setupTickHandler(), this.lastFrameTime = -1;
32120
32108
  }
32121
32109
  trySyncTickStatus() {
32122
32110
  this.status === STATUS$1.INITIAL && this.timelines.some(timeline => timeline.isRunning()) ? this.start() : this.status === STATUS$1.RUNNING && this.timelines.every(timeline => !timeline.isRunning()) && this.stop();
@@ -32126,8 +32114,7 @@ class DefaultTicker extends EventEmitter {
32126
32114
  this.stop(), this.timelines = [], null === (_a = this.tickerHandler) || void 0 === _a || _a.release(), this.tickerHandler = null, this.lastFrameTime = -1;
32127
32115
  }
32128
32116
  checkSkip(delta) {
32129
- var _a, _b, _c;
32130
- if ("performance" === (null === (_c = null === (_b = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.params) || void 0 === _b ? void 0 : _b.optimize) || void 0 === _c ? void 0 : _c.tickRenderMode)) return !1;
32117
+ if ("performance" === this.stage.params.optimize.tickRenderMode) return !1;
32131
32118
  return delta < this.interval + 2 * (Math.random() - .5) * this._jitter;
32132
32119
  }
32133
32120
  }
@@ -32425,11 +32412,10 @@ class AnimateExecutor {
32425
32412
  _handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
32426
32413
  var _a, _b, _c, _d;
32427
32414
  if (custom && customType) {
32428
- const customParams = Object.assign({
32415
+ const customParams = this.resolveValue(customParameters, graphic, {
32429
32416
  width: graphic.stage.width,
32430
- height: graphic.stage.height,
32431
- group: this._target.parent
32432
- }, this.resolveValue(customParameters, graphic)),
32417
+ height: graphic.stage.height
32418
+ }),
32433
32419
  objOptions = isFunction$1(options) ? options.call(null, null !== (_b = customParams && (null === (_a = customParams.data) || void 0 === _a ? void 0 : _a[0])) && void 0 !== _b ? _b : null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, customParams) : options;
32434
32420
  customParams.options = objOptions, customParams.controlOptions = controlOptions, 1 === customType ? this.createCustomAnimation(animate, custom, from, props, duration, easing, customParams) : 2 === customType && this.createCustomInterpolatorAnimation(animate, custom, props, duration, easing, customParams);
32435
32421
  } else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
@@ -32647,14 +32633,6 @@ class AnimationStateManager {
32647
32633
  state.executor.stop();
32648
32634
  }), this.stateList = null;
32649
32635
  }
32650
- reApplyState(state) {
32651
- var _a;
32652
- const stateInfo = null === (_a = this.stateList) || void 0 === _a ? void 0 : _a.find(stateInfo => stateInfo.state === state);
32653
- if (stateInfo) {
32654
- const stateList = this.stateList.slice();
32655
- stateInfo.executor.stop(), this.stateList = stateList, stateInfo.executor.execute(stateInfo.animationConfig);
32656
- }
32657
- }
32658
32636
  }
32659
32637
 
32660
32638
  class GraphicStateExtension {
@@ -32685,20 +32663,11 @@ class GraphicStateExtension {
32685
32663
  applyUnhighlightState(animationConfig, callback) {
32686
32664
  return this._getAnimationStateManager(this).applyUnhighlightState(animationConfig, callback), this;
32687
32665
  }
32688
- stopAnimationState(state, type, deep = !1) {
32689
- return this._getAnimationStateManager(this).stopState(state, type), deep && this.isContainer && this.forEachChildren(child => {
32690
- child.stopAnimationState(state, type, deep);
32691
- }), this;
32666
+ stopAnimationState(state, type) {
32667
+ return this._getAnimationStateManager(this).stopState(state, type), this;
32692
32668
  }
32693
32669
  clearAnimationStates() {
32694
- const stateManager = this._animationStateManager;
32695
- return stateManager && stateManager.clearState(), this;
32696
- }
32697
- reApplyAnimationState(state, deep = !1) {
32698
- const stateManager = this._animationStateManager;
32699
- return stateManager && stateManager.reApplyState(state), deep && this.isContainer && this.forEachChildren(child => {
32700
- child.reApplyAnimationState(state, deep);
32701
- }), this;
32670
+ return this._getAnimationStateManager(this).clearState(), this;
32702
32671
  }
32703
32672
  static extend(graphic) {
32704
32673
  return new GraphicStateExtension()._getAnimationStateManager(graphic), graphic;
@@ -32711,6 +32680,7 @@ class AnimateExtension {
32711
32680
  }
32712
32681
  animate(params) {
32713
32682
  var _a, _b, _c;
32683
+ this.animates || (this.animates = new Map());
32714
32684
  const animate = new Animate(null == params ? void 0 : params.id, null !== (_b = null !== (_a = null == params ? void 0 : params.timeline) && void 0 !== _a ? _a : this.stage && this.stage.getTimeline()) && void 0 !== _b ? _b : defaultTimeline, null == params ? void 0 : params.slience);
32715
32685
  if (animate.bind(this), params) {
32716
32686
  const {
@@ -32720,7 +32690,9 @@ class AnimateExtension {
32720
32690
  } = params;
32721
32691
  null != onStart && animate.onStart(onStart), null != onEnd && animate.onEnd(onEnd), null != onRemove && animate.onRemove(onRemove);
32722
32692
  }
32723
- return null === (_c = this.stage) || void 0 === _c || _c.ticker.start(), animate;
32693
+ return this.animates.set(animate.id, animate), animate.onRemove(() => {
32694
+ animate.stop(), this.animates.delete(animate.id);
32695
+ }), null === (_c = this.stage) || void 0 === _c || _c.ticker.start(), animate;
32724
32696
  }
32725
32697
  createTimeline() {
32726
32698
  return new DefaultTimeline();
@@ -32751,21 +32723,6 @@ class AnimateExtension {
32751
32723
  getGraphicAttribute(key, prev = !1) {
32752
32724
  return !prev && this.finalAttribute ? this.finalAttribute[key] : this.attribute[key];
32753
32725
  }
32754
- pauseAnimation(deep = !1) {
32755
- this.animates && this.animates.forEach(animate => animate.pause()), deep && this.isContainer && this.forEachChildren(child => {
32756
- child.pauseAnimation(deep);
32757
- });
32758
- }
32759
- resumeAnimation(deep = !1) {
32760
- this.animates && this.animates.forEach(animate => animate.resume()), deep && this.isContainer && this.forEachChildren(child => {
32761
- child.resumeAnimation(deep);
32762
- });
32763
- }
32764
- stopAnimation(deep = !1) {
32765
- this.animates && this.animates.forEach(animate => animate.stop()), deep && this.isContainer && this.forEachChildren(child => {
32766
- child.stopAnimation(deep);
32767
- });
32768
- }
32769
32726
  }
32770
32727
 
32771
32728
  function registerAnimate$1() {
@@ -32774,7 +32731,7 @@ function registerAnimate$1() {
32774
32731
 
32775
32732
  class ACustomAnimate extends Step {
32776
32733
  constructor(customFrom, customTo, duration, easing, params) {
32777
- super("customAnimate", customTo, duration, easing), this.type = "customAnimate", this.customFrom = customFrom, this.params = params, this.from = customFrom, this.to = customTo;
32734
+ super("customAnimate", customTo, duration, easing), this.type = "customAnimate", this.customFrom = customFrom, this.params = params;
32778
32735
  }
32779
32736
  update(end, ratio, out) {
32780
32737
  if (this.onStart(), !this.props || !this.propKeys) return;
@@ -33846,7 +33803,7 @@ class GrowCenterIn extends ACustomAnimate {
33846
33803
  super(from, to, duration, easing, params);
33847
33804
  }
33848
33805
  onBind() {
33849
- var _a, _b, _c;
33806
+ var _a, _b;
33850
33807
  super.onBind();
33851
33808
  const {
33852
33809
  from: from,
@@ -33855,7 +33812,7 @@ class GrowCenterIn extends ACustomAnimate {
33855
33812
  fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
33856
33813
  this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
33857
33814
  const finalAttribute = this.target.getFinalAttribute();
33858
- finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target.setAttributes(fromAttrs);
33815
+ finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
33859
33816
  }
33860
33817
  onEnd(cb) {
33861
33818
  super.onEnd(cb);
@@ -33953,7 +33910,7 @@ class GrowHeightIn extends ACustomAnimate {
33953
33910
  super(from, to, duration, easing, params);
33954
33911
  }
33955
33912
  onBind() {
33956
- var _a, _b, _c;
33913
+ var _a, _b;
33957
33914
  super.onBind();
33958
33915
  const {
33959
33916
  from: from,
@@ -33962,7 +33919,7 @@ class GrowHeightIn extends ACustomAnimate {
33962
33919
  fromAttrs = null !== (_b = null === (_a = this.target.context) || void 0 === _a ? void 0 : _a.lastAttrs) && void 0 !== _b ? _b : from;
33963
33920
  this.props = to, this.propKeys = Object.keys(to).filter(key => null != to[key]), this.from = fromAttrs, this.to = to;
33964
33921
  const finalAttribute = this.target.getFinalAttribute();
33965
- finalAttribute && this.target.setAttributes(finalAttribute), !1 !== (null === (_c = this.params.controlOptions) || void 0 === _c ? void 0 : _c.immediatelyApply) && this.target.setAttributes(fromAttrs);
33922
+ finalAttribute && this.target.setAttributes(finalAttribute), this.target.setAttributes(fromAttrs);
33966
33923
  }
33967
33924
  onEnd(cb) {
33968
33925
  super.onEnd(cb);
@@ -35813,15 +35770,16 @@ const moveIn = (graphic, options, animationParameters) => {
35813
35770
  changedY = 0;
35814
35771
  "negative" === orient && (changedX = null !== (_a = layoutRect.width) && void 0 !== _a ? _a : graphic.stage.viewWidth, changedY = null !== (_b = layoutRect.height) && void 0 !== _b ? _b : graphic.stage.viewHeight), changedX += offset, changedY += offset;
35815
35772
  const point = isFunction$1(pointOpt) ? pointOpt.call(null, null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, animationParameters) : pointOpt,
35816
- finalAttrsX = graphic.getGraphicAttribute("x"),
35817
- finalAttrsY = graphic.getGraphicAttribute("y"),
35818
- fromX = excludeChannels.includes("x") ? finalAttrsX : point && isValidNumber$1(point.x) ? point.x : changedX,
35819
- fromY = excludeChannels.includes("y") ? finalAttrsY : point && isValidNumber$1(point.y) ? point.y : changedY;
35773
+ fromX = point && isValidNumber$1(point.x) ? point.x : changedX,
35774
+ fromY = point && isValidNumber$1(point.y) ? point.y : changedY,
35775
+ finalAttrs = graphic.getFinalAttribute(),
35776
+ finalAttrsX = excludeChannels.includes("x") ? graphic.attribute.x : finalAttrs.x,
35777
+ finalAttrsY = excludeChannels.includes("y") ? graphic.attribute.y : finalAttrs.y;
35820
35778
  switch (direction) {
35821
35779
  case "x":
35822
35780
  return {
35823
35781
  from: {
35824
- x: excludeChannels.includes("x") ? finalAttrsX : fromX
35782
+ x: fromX
35825
35783
  },
35826
35784
  to: {
35827
35785
  x: finalAttrsX
@@ -35850,26 +35808,25 @@ const moveIn = (graphic, options, animationParameters) => {
35850
35808
  }
35851
35809
  };
35852
35810
  const moveOut = (graphic, options, animationParameters) => {
35853
- var _a, _b, _c, _d;
35811
+ var _a, _b, _c, _d, _e, _f;
35854
35812
  const {
35855
35813
  offset = 0,
35856
35814
  orient: orient,
35857
35815
  direction: direction,
35858
35816
  point: pointOpt
35859
35817
  } = null != options ? options : {},
35860
- groupBounds = animationParameters.group ? animationParameters.group.AABBBounds : null,
35861
- groupWidth = null !== (_a = groupBounds.width()) && void 0 !== _a ? _a : animationParameters.width,
35862
- groupHeight = null !== (_b = groupBounds.height()) && void 0 !== _b ? _b : animationParameters.height,
35818
+ groupWidth = null !== (_b = null === (_a = options.layoutRect) || void 0 === _a ? void 0 : _a.width) && void 0 !== _b ? _b : graphic.stage.viewWidth,
35819
+ groupHeight = null !== (_d = null === (_c = options.layoutRect) || void 0 === _c ? void 0 : _c.height) && void 0 !== _d ? _d : graphic.stage.viewHeight,
35863
35820
  changedX = ("negative" === orient ? groupWidth : 0) + offset,
35864
35821
  changedY = ("negative" === orient ? groupHeight : 0) + offset,
35865
- point = isFunction$1(pointOpt) ? pointOpt.call(null, null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, animationParameters) : pointOpt,
35822
+ point = isFunction$1(pointOpt) ? pointOpt.call(null, null === (_f = null === (_e = graphic.context) || void 0 === _e ? void 0 : _e.data) || void 0 === _f ? void 0 : _f[0], graphic, animationParameters) : pointOpt,
35866
35823
  fromX = point && isValidNumber$1(point.x) ? point.x : changedX,
35867
35824
  fromY = point && isValidNumber$1(point.y) ? point.y : changedY;
35868
35825
  switch (direction) {
35869
35826
  case "x":
35870
35827
  return {
35871
35828
  from: {
35872
- x: graphic.getGraphicAttribute("x")
35829
+ x: graphic.attribute.x
35873
35830
  },
35874
35831
  to: {
35875
35832
  x: fromX
@@ -35878,7 +35835,7 @@ const moveOut = (graphic, options, animationParameters) => {
35878
35835
  case "y":
35879
35836
  return {
35880
35837
  from: {
35881
- y: graphic.getGraphicAttribute("y")
35838
+ y: graphic.attribute.y
35882
35839
  },
35883
35840
  to: {
35884
35841
  y: fromY
@@ -35887,8 +35844,8 @@ const moveOut = (graphic, options, animationParameters) => {
35887
35844
  default:
35888
35845
  return {
35889
35846
  from: {
35890
- x: graphic.getGraphicAttribute("x"),
35891
- y: graphic.getGraphicAttribute("y")
35847
+ x: graphic.attribute.x,
35848
+ y: graphic.attribute.y
35892
35849
  },
35893
35850
  to: {
35894
35851
  x: fromX,
@@ -36035,9 +35992,6 @@ class FromTo extends ACustomAnimate {
36035
35992
  this.from[key] = null !== (_a = this.from[key]) && void 0 !== _a ? _a : startProps[key];
36036
35993
  }), this.target.setAttributes(this.from);
36037
35994
  }
36038
- deleteSelfAttr(key) {
36039
- super.deleteSelfAttr(key), delete this.from[key];
36040
- }
36041
35995
  update(end, ratio, out) {
36042
35996
  if (this.onStart(), !this.props || !this.propKeys) return;
36043
35997
  const easedRatio = this.easing(ratio);
@@ -36106,8 +36060,9 @@ class StreamLight extends ACustomAnimate {
36106
36060
  w = Math.min(Math.min(currentX + maxLength, maxLength), streamLength - currentX),
36107
36061
  width = w + x > parentWidth ? Math.max(parentWidth - x, 0) : w;
36108
36062
  this.rect.setAttributes({
36109
- x: x + Math.min(parentAttr.x1 - parentAttr.x, 0),
36110
- width: width
36063
+ x: x,
36064
+ width: width,
36065
+ dx: Math.min(parentAttr.x1 - parentAttr.x, 0)
36111
36066
  }, !1, {
36112
36067
  type: AttributeUpdateType.ANIMATE_PLAY,
36113
36068
  animationState: {
@@ -36124,8 +36079,9 @@ class StreamLight extends ACustomAnimate {
36124
36079
  const h = Math.min(parentHeight - currentY, maxLength);
36125
36080
  let height;
36126
36081
  y <= 0 ? (height = Math.max(y + h, 0), y = 0) : height = h, this.rect.setAttributes({
36127
- y: y + Math.min(parentAttr.y1 - parentAttr.y, 0),
36128
- height: height
36082
+ y: y,
36083
+ height: height,
36084
+ dy: Math.min(parentAttr.y1 - parentAttr.y, 0)
36129
36085
  }, !1, {
36130
36086
  type: AttributeUpdateType.ANIMATE_PLAY,
36131
36087
  animationState: {
@@ -38817,8 +38773,7 @@ class LabelUpdate extends AComponentAnimate {
38817
38773
  prevText: prevText,
38818
38774
  curText: curText,
38819
38775
  prevLabelLine: prevLabelLine,
38820
- curLabelLine: curLabelLine,
38821
- increaseEffect = !0
38776
+ curLabelLine: curLabelLine
38822
38777
  } = this.params,
38823
38778
  diff = {};
38824
38779
  for (const key in curText.attribute) prevText.attribute[key] !== curText.attribute[key] && (diff[key] = curText.attribute[key]);
@@ -38828,7 +38783,7 @@ class LabelUpdate extends AComponentAnimate {
38828
38783
  to: rest,
38829
38784
  duration: duration,
38830
38785
  easing: easing
38831
- }), !1 !== increaseEffect && animator.animate(prevText, {
38786
+ }), animator.animate(prevText, {
38832
38787
  type: "increaseCount",
38833
38788
  to: {
38834
38789
  text: curText.attribute.text
@@ -39522,15 +39477,16 @@ class LabelBase extends AnimateComponent {
39522
39477
  } = currentLabel;
39523
39478
  prevText.applyAnimationState(["update"], [{
39524
39479
  name: "update",
39525
- animation: {
39526
- type: "labelUpdate",
39527
- customParameters: Object.assign(Object.assign({}, this._animationConfig.update), {
39480
+ animation: Object.assign(Object.assign({
39481
+ type: "labelUpdate"
39482
+ }, this._animationConfig.update), {
39483
+ customParameters: {
39528
39484
  prevText: prevText,
39529
39485
  curText: curText,
39530
39486
  prevLabelLine: prevLabelLine,
39531
39487
  curLabelLine: curLabelLine
39532
- })
39533
- }
39488
+ }
39489
+ })
39534
39490
  }]);
39535
39491
  }
39536
39492
  _syncStateWithRelatedGraphic(relatedGraphic) {
@@ -47329,6 +47285,7 @@ var SeriesTypeEnum;
47329
47285
  SeriesTypeEnum["dot"] = "dot";
47330
47286
  SeriesTypeEnum["geo"] = "geo";
47331
47287
  SeriesTypeEnum["link"] = "link";
47288
+ SeriesTypeEnum["curveLink"] = "curveLink";
47332
47289
  SeriesTypeEnum["map"] = "map";
47333
47290
  SeriesTypeEnum["pie"] = "pie";
47334
47291
  SeriesTypeEnum["radar"] = "radar";
@@ -47383,6 +47340,8 @@ var SeriesMarkNameEnum;
47383
47340
  SeriesMarkNameEnum["cell"] = "cell";
47384
47341
  SeriesMarkNameEnum["cellBackground"] = "cellBackground";
47385
47342
  SeriesMarkNameEnum["link"] = "link";
47343
+ SeriesMarkNameEnum["curveLink"] = "curveLink";
47344
+ SeriesMarkNameEnum["imageLabel"] = "imageLabel";
47386
47345
  SeriesMarkNameEnum["arrow"] = "arrow";
47387
47346
  SeriesMarkNameEnum["pie"] = "pie";
47388
47347
  SeriesMarkNameEnum["labelLine"] = "labelLine";
@@ -49148,16 +49107,6 @@ const findMarkGraphic = (rootGroup, target) => {
49148
49107
  }
49149
49108
  return null;
49150
49109
  };
49151
- const getDiffAttributesOfGraphic = (g, newAttrs) => {
49152
- const prevAttrs = g.getAttributes(true);
49153
- const diffAttrs = {};
49154
- Object.keys(newAttrs).forEach(key => {
49155
- if (prevAttrs[key] !== newAttrs[key]) {
49156
- diffAttrs[key] = newAttrs[key];
49157
- }
49158
- });
49159
- return diffAttrs;
49160
- };
49161
49110
 
49162
49111
  let Event$1 = class Event {
49163
49112
  getComposedEventMap() {
@@ -50059,28 +50008,6 @@ const runEncoder = (styles, datum, attrs = {}) => {
50059
50008
  return attrs;
50060
50009
  };
50061
50010
 
50062
- function toRenderMode(mode) {
50063
- switch (mode) {
50064
- case RenderModeEnum['desktop-browser']:
50065
- case RenderModeEnum['mobile-browser']:
50066
- return 'browser';
50067
- case RenderModeEnum.node:
50068
- case RenderModeEnum.worker:
50069
- return 'node';
50070
- case RenderModeEnum.miniApp:
50071
- case RenderModeEnum['desktop-miniApp']:
50072
- return 'feishu';
50073
- case RenderModeEnum.lynx:
50074
- return 'lynx';
50075
- case RenderModeEnum.wx:
50076
- return 'wx';
50077
- case RenderModeEnum.tt:
50078
- return 'tt';
50079
- case RenderModeEnum.harmony:
50080
- return 'harmony';
50081
- }
50082
- return 'browser';
50083
- }
50084
50011
  function traverseGroupMark(group, apply, filter, leafFirst, stop) {
50085
50012
  const traverse = (mark) => {
50086
50013
  if (!leafFirst) {
@@ -50254,9 +50181,6 @@ class Compiler {
50254
50181
  this._container = container;
50255
50182
  this._option = option;
50256
50183
  }
50257
- getChart() {
50258
- return this._compileChart;
50259
- }
50260
50184
  getCanvas() {
50261
50185
  var _a;
50262
50186
  return (_a = this._stage) === null || _a === void 0 ? void 0 : _a.window.getNativeHandler().nativeCanvas;
@@ -50265,7 +50189,7 @@ class Compiler {
50265
50189
  return this._stage;
50266
50190
  }
50267
50191
  initView() {
50268
- var _a, _b, _c, _d;
50192
+ var _a, _b, _c;
50269
50193
  if (this._released) {
50270
50194
  return;
50271
50195
  }
@@ -50273,17 +50197,34 @@ class Compiler {
50273
50197
  if (this._stage) {
50274
50198
  return;
50275
50199
  }
50276
- const { autoRefreshDpr, dpr, mode, modeParams, gestureConfig, interactive, clickInterval, autoPreventDefault, background } = this._option;
50277
- vglobal.setEnv(toRenderMode(mode), modeParams !== null && modeParams !== void 0 ? modeParams : {});
50200
+ const { autoRefreshDpr, dpr, mode, gestureConfig, interactive, clickInterval, autoPreventDefault, background } = this._option;
50278
50201
  this._stage =
50279
- (_a = this._option.stage) !== null && _a !== void 0 ? _a : new Stage(Object.assign({ background, width: this._width, height: this._height, container: (_b = this._container.dom) !== null && _b !== void 0 ? _b : null, canvas: (_c = this._container.canvas) !== null && _c !== void 0 ? _c : null, dpr, viewBox: this._option.viewBox, canvasControled: this._option.canvasControled, beforeRender: (stage) => {
50280
- var _a, _b, _c;
50281
- (_a = this._compileChart) === null || _a === void 0 ? void 0 : _a.onBeforeRender();
50282
- (_c = (_b = this._option).beforeRender) === null || _c === void 0 ? void 0 : _c.call(_b, stage);
50283
- }, afterRender: this._option.afterRender, disableDirtyBounds: true, autoRender: true, ticker: this._option.ticker, pluginList: this._option.pluginList, enableHtmlAttribute: this._option.enableHtmlAttribute, optimize: this._option.optimize, supportsTouchEvents: this._option.supportsTouchEvents, supportsPointerEvents: this._option.supportsPointerEvents, event: {
50202
+ (_a = this._option.stage) !== null && _a !== void 0 ? _a : new Stage({
50203
+ background,
50204
+ width: this._width,
50205
+ height: this._height,
50206
+ container: (_b = this._container.dom) !== null && _b !== void 0 ? _b : null,
50207
+ canvas: (_c = this._container.canvas) !== null && _c !== void 0 ? _c : null,
50208
+ dpr,
50209
+ viewBox: this._option.viewBox,
50210
+ canvasControled: this._option.canvasControled,
50211
+ beforeRender: this._option.beforeRender,
50212
+ afterRender: this._option.afterRender,
50213
+ disableDirtyBounds: true,
50214
+ autoRender: true,
50215
+ ticker: this._option.ticker,
50216
+ pluginList: this._option.pluginList,
50217
+ enableHtmlAttribute: this._option.enableHtmlAttribute,
50218
+ optimize: this._option.optimize,
50219
+ supportsTouchEvents: this._option.supportsTouchEvents,
50220
+ supportsPointerEvents: this._option.supportsPointerEvents,
50221
+ event: {
50284
50222
  clickInterval: clickInterval,
50285
50223
  autoPreventDefault: autoPreventDefault
50286
- }, ReactDOM: this._option.ReactDOM, autoRefresh: isValid$1(autoRefreshDpr) ? autoRefreshDpr : !isValid$1(dpr) }, ((_d = this._option.renderHooks) !== null && _d !== void 0 ? _d : {})));
50224
+ },
50225
+ ReactDOM: this._option.ReactDOM,
50226
+ autoRefresh: isValid$1(autoRefreshDpr) ? autoRefreshDpr : !isValid$1(dpr)
50227
+ });
50287
50228
  this._stage.enableIncrementalAutoRender();
50288
50229
  this._stage.setTheme({
50289
50230
  symbol: {
@@ -51114,8 +51055,6 @@ class BaseModel extends CompilableBase {
51114
51055
  }
51115
51056
  onEvaluateEnd(ctx) {
51116
51057
  }
51117
- onBeforeRender() {
51118
- }
51119
51058
  onDataUpdate() {
51120
51059
  }
51121
51060
  beforeRelease() {
@@ -51243,12 +51182,6 @@ class BaseModel extends CompilableBase {
51243
51182
  }
51244
51183
  return index;
51245
51184
  }
51246
- updateAnimateStateCallback(callback) {
51247
- this._aniamtionStateCallback = callback;
51248
- }
51249
- getAnimationStateCallback() {
51250
- return this._aniamtionStateCallback;
51251
- }
51252
51185
  }
51253
51186
 
51254
51187
  class LayoutItem {
@@ -53272,39 +53205,26 @@ class BaseMark extends GrammarItem {
53272
53205
  }
53273
53206
  setAnimationConfig(config) {
53274
53207
  const defaultPrams = this.type === 'group' ? { selfOnly: true } : {};
53275
- const formatAnimationCfg = (cfg) => {
53276
- var _a;
53277
- const options = (_a = cfg.options) !== null && _a !== void 0 ? _a : {};
53278
- return Object.assign(Object.assign(Object.assign({}, defaultPrams), cfg), { options: (datum, graphic, customParams) => {
53279
- var _a, _b;
53280
- const _options = typeof options === 'function' ? options(datum, graphic, customParams) : options;
53281
- if (graphic && graphic.context && graphic.context.compiler && isValid$1(graphic.context.modelId)) {
53282
- const model = (_a = graphic.context.compiler.getChart()) === null || _a === void 0 ? void 0 : _a.getModelById(graphic.context.modelId);
53283
- return Object.assign(Object.assign({}, _options), { layoutRect: (_b = model === null || model === void 0 ? void 0 : model.getLayoutRect) === null || _b === void 0 ? void 0 : _b.call(model) });
53284
- }
53285
- return Object.assign({}, _options);
53286
- } });
53287
- };
53288
53208
  const animationConfig = {};
53289
53209
  Object.keys(config).forEach(key => {
53290
53210
  const value = config[key];
53291
53211
  if (isArray$1(value)) {
53292
- animationConfig[key] = value.map(formatAnimationCfg);
53212
+ animationConfig[key] = value.map(item => {
53213
+ var _a;
53214
+ const options = (_a = item.options) !== null && _a !== void 0 ? _a : {};
53215
+ return Object.assign(Object.assign(Object.assign({}, defaultPrams), item), { options: (...args) => {
53216
+ var _a, _b;
53217
+ const _options = typeof options === 'function' ? options(...args) : options;
53218
+ return Object.assign(Object.assign({}, _options), { layoutRect: (_b = (_a = this.model).getLayoutRect) === null || _b === void 0 ? void 0 : _b.call(_a) });
53219
+ } });
53220
+ });
53293
53221
  }
53294
- else if (isValid$1(value)) {
53295
- animationConfig[key] = formatAnimationCfg(value);
53222
+ else {
53223
+ animationConfig[key] = Object.assign(Object.assign({}, defaultPrams), config[key]);
53296
53224
  }
53297
53225
  });
53298
53226
  this._animationConfig = animationConfig;
53299
53227
  }
53300
- disableAnimationByState(state) {
53301
- const states = array(state);
53302
- this._disabledAnimationStates = [...new Set([...this._disabledAnimationStates, ...states])];
53303
- }
53304
- enableAnimationByState(state) {
53305
- const states = array(state);
53306
- this._disabledAnimationStates = this._disabledAnimationStates.filter(s => !states.includes(s));
53307
- }
53308
53228
  setSkipBeforeLayouted(skip) {
53309
53229
  this._skipBeforeLayouted = skip;
53310
53230
  }
@@ -53439,7 +53359,6 @@ class BaseMark extends GrammarItem {
53439
53359
  this._visible = true;
53440
53360
  this.stateStyle = {};
53441
53361
  this._unCompileChannel = {};
53442
- this._disabledAnimationStates = [];
53443
53362
  this._skipBeforeLayouted = false;
53444
53363
  this._extensionChannel = {};
53445
53364
  this._computeExChannel = {};
@@ -53857,7 +53776,6 @@ class BaseMark extends GrammarItem {
53857
53776
  }
53858
53777
  _getCommonContext() {
53859
53778
  return {
53860
- compiler: this.getCompiler(),
53861
53779
  markType: this.type,
53862
53780
  markId: this.id,
53863
53781
  modelId: this.model.id,
@@ -53931,19 +53849,17 @@ class BaseMark extends GrammarItem {
53931
53849
  this._dataByGroup = groupData(data, this._groupKeyGetter);
53932
53850
  }
53933
53851
  createAnimationStateList(type, animationConfig) {
53934
- var _a;
53935
53852
  let config = animationConfig[type];
53936
53853
  if (config && Array.isArray(config)) {
53937
53854
  config = config.length === 1 ? config[0] : config;
53938
53855
  }
53939
53856
  if (Array.isArray(config)) {
53940
- return config.map((item, index) => {
53857
+ config = config.map((item, index) => {
53941
53858
  var _a;
53942
53859
  return (Object.assign(Object.assign({}, item), { priority: (_a = item.priority) !== null && _a !== void 0 ? _a : Infinity }));
53943
53860
  });
53944
53861
  }
53945
- return config
53946
- ? Object.assign(Object.assign({}, config), { priority: type === 'normal' ? (_a = config.priority) !== null && _a !== void 0 ? _a : Infinity : config.priority }) : config;
53862
+ return config;
53947
53863
  }
53948
53864
  tryRunMorphing(graphics) {
53949
53865
  if (this._lastMark) {
@@ -54027,34 +53943,13 @@ class BaseMark extends GrammarItem {
54027
53943
  this._product.applyAnimationState(['normal'], [normalConfig]);
54028
53944
  }
54029
53945
  }
54030
- _setAnimationState(g) {
54031
- var _a, _b, _c;
54032
- const callback = (this.type === "component"
54033
- ? this.model.getAnimationStateCallback()
54034
- : (_c = (_b = (_a = this.model).getRegion) === null || _b === void 0 ? void 0 : _b.call(_a)) === null || _c === void 0 ? void 0 : _c.getAnimationStateCallback()) ||
54035
- ((g) => {
54036
- var _a;
54037
- const diffState = (_a = g.context) === null || _a === void 0 ? void 0 : _a.diffState;
54038
- return diffState === AnimationStateEnum.exit
54039
- ? AnimationStateEnum.exit
54040
- : diffState === AnimationStateEnum.update
54041
- ? AnimationStateEnum.update
54042
- : AnimationStateEnum.appear;
54043
- });
54044
- const customizedState = callback(g);
54045
- g.context.animationState = customizedState !== null && customizedState !== void 0 ? customizedState : g.context.diffState;
54046
- if (g.context.animationState === DiffState.exit) {
54047
- g.context.reusing = true;
54048
- g.animates && g.animates.forEach((a) => a.stop());
54049
- }
54050
- }
54051
53946
  _runJoin(data) {
54052
53947
  const newGroupedData = this._getDataByKey(data);
54053
53948
  const prevGroupedData = this._prevDataByKey;
54054
- const allGraphics = [];
53949
+ const newGraphics = [];
54055
53950
  const enterGraphics = new Set(this._graphics.filter(g => g.context.diffState === DiffState.enter));
54056
53951
  const callback = (key, newData, prevData) => {
54057
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
53952
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
54058
53953
  let g;
54059
53954
  let diffState;
54060
53955
  if (isNil$1(newData)) {
@@ -54072,20 +53967,23 @@ class BaseMark extends GrammarItem {
54072
53967
  }
54073
53968
  diffState = DiffState.enter;
54074
53969
  g.isExiting = false;
53970
+ if (((_a = g.context) === null || _a === void 0 ? void 0 : _a.diffState) === DiffState.exit) {
53971
+ g.context.reusing = true;
53972
+ g.animates && g.animates.forEach((a) => a.stop());
53973
+ }
54075
53974
  this._graphicMap.set(key, g);
54076
- allGraphics.push(g);
53975
+ newGraphics.push(g);
54077
53976
  }
54078
53977
  else {
54079
53978
  g = this._graphicMap.get(key);
54080
53979
  if (g) {
54081
53980
  diffState = DiffState.update;
54082
- allGraphics.push(g);
53981
+ newGraphics.push(g);
54083
53982
  }
54084
53983
  }
54085
53984
  if (g) {
53985
+ g.context = Object.assign(Object.assign({}, this._getCommonContext()), { diffState, reusing: (_b = g.context) === null || _b === void 0 ? void 0 : _b.reusing, originalFieldX: (_c = g.context) === null || _c === void 0 ? void 0 : _c.originalFieldX, originalFieldY: (_d = g.context) === null || _d === void 0 ? void 0 : _d.originalFieldY, fieldX: (_e = g.context) === null || _e === void 0 ? void 0 : _e.fieldX, fieldY: (_f = g.context) === null || _f === void 0 ? void 0 : _f.fieldY, animationState: diffState, data: newData !== null && newData !== void 0 ? newData : (_g = g.context) === null || _g === void 0 ? void 0 : _g.data, uniqueKey: key, key: newData ? this._keyGetter(newData[0]) : (_h = g.context) === null || _h === void 0 ? void 0 : _h.key, groupKey: newData ? this._groupKeyGetter(newData[0]) : (_j = g.context) === null || _j === void 0 ? void 0 : _j.groupKey, indexKey: '__VCHART_DEFAULT_DATA_INDEX', stateAnimateConfig: (_k = this.getAnimationConfig()) === null || _k === void 0 ? void 0 : _k.state });
54086
53986
  enterGraphics.delete(g);
54087
- g.context = Object.assign(Object.assign({}, this._getCommonContext()), { diffState, reusing: (_a = g.context) === null || _a === void 0 ? void 0 : _a.reusing, originalFieldX: (_b = g.context) === null || _b === void 0 ? void 0 : _b.originalFieldX, originalFieldY: (_c = g.context) === null || _c === void 0 ? void 0 : _c.originalFieldY, fieldX: (_d = g.context) === null || _d === void 0 ? void 0 : _d.fieldX, fieldY: (_e = g.context) === null || _e === void 0 ? void 0 : _e.fieldY, data: newData !== null && newData !== void 0 ? newData : (_f = g.context) === null || _f === void 0 ? void 0 : _f.data, uniqueKey: key, key: newData ? this._keyGetter(newData[0]) : (_g = g.context) === null || _g === void 0 ? void 0 : _g.key, groupKey: newData ? this._groupKeyGetter(newData[0]) : (_h = g.context) === null || _h === void 0 ? void 0 : _h.groupKey, indexKey: '__VCHART_DEFAULT_DATA_INDEX', stateAnimateConfig: (_j = this.getAnimationConfig()) === null || _j === void 0 ? void 0 : _j.state });
54088
- this._setAnimationState(g);
54089
53987
  }
54090
53988
  return g;
54091
53989
  };
@@ -54123,13 +54021,13 @@ class BaseMark extends GrammarItem {
54123
54021
  }
54124
54022
  g.release();
54125
54023
  });
54126
- const graphicCount = allGraphics.length;
54127
- allGraphics.forEach((g, index) => {
54024
+ const graphicCount = newGraphics.length;
54025
+ newGraphics.forEach((g, index) => {
54128
54026
  g.context.graphicCount = graphicCount;
54129
54027
  g.context.graphicIndex = index;
54130
54028
  });
54131
54029
  this._dataByKey = newGroupedData;
54132
- this._graphics = allGraphics;
54030
+ this._graphics = newGraphics;
54133
54031
  this.needClear = true;
54134
54032
  }
54135
54033
  _runEncoderOfGraphic(styles, g, attrs = {}) {
@@ -54212,7 +54110,13 @@ class BaseMark extends GrammarItem {
54212
54110
  }
54213
54111
  }
54214
54112
  else {
54215
- const diffAttrs = getDiffAttributesOfGraphic(g, finalAttrs);
54113
+ const prevAttrs = g.getAttributes(true);
54114
+ const diffAttrs = {};
54115
+ Object.keys(finalAttrs).forEach(key => {
54116
+ if (prevAttrs[key] !== finalAttrs[key]) {
54117
+ diffAttrs[key] = finalAttrs[key];
54118
+ }
54119
+ });
54216
54120
  g.context.diffAttrs = diffAttrs;
54217
54121
  if (g.context.reusing) {
54218
54122
  g.context.lastAttrs = g.attribute;
@@ -54381,24 +54285,23 @@ class BaseMark extends GrammarItem {
54381
54285
  }
54382
54286
  };
54383
54287
  this._graphicMap.forEach((g, key) => {
54384
- if (g.context.diffState !== DiffState.exit || g.isExiting) {
54385
- return;
54386
- }
54387
- if (g.context.animationState === DiffState.exit && this.hasAnimationByState('exit')) {
54388
- g.isExiting = true;
54389
- const animationConfig = this.getAnimationConfig();
54390
- if (animationConfig.exit && animationConfig.exit.length) {
54391
- const exitConfigList = animationConfig.exit.map((item, index) => ({
54392
- name: `exit_${index}`,
54393
- animation: Object.assign(Object.assign({}, item), { customParameters: g.context })
54394
- }));
54395
- g.applyAnimationState(['exit'], [exitConfigList.length === 1 ? exitConfigList[0] : exitConfigList], () => {
54396
- doRemove(g, key);
54397
- });
54288
+ if (g.context.diffState === DiffState.exit && !g.isExiting) {
54289
+ if (this.hasAnimationByState('exit')) {
54290
+ g.isExiting = true;
54291
+ const animationConfig = this.getAnimationConfig();
54292
+ if (animationConfig.exit && animationConfig.exit.length) {
54293
+ const exitConfigList = animationConfig.exit.map((item, index) => ({
54294
+ name: `exit_${index}`,
54295
+ animation: Object.assign(Object.assign({}, item), { customParameters: g.context })
54296
+ }));
54297
+ g.applyAnimationState(['exit'], [exitConfigList.length === 1 ? exitConfigList[0] : exitConfigList], () => {
54298
+ doRemove(g, key);
54299
+ });
54300
+ }
54301
+ }
54302
+ else {
54303
+ doRemove(g, key);
54398
54304
  }
54399
- }
54400
- else {
54401
- doRemove(g, key);
54402
54305
  }
54403
54306
  });
54404
54307
  }
@@ -54544,11 +54447,15 @@ class BaseMark extends GrammarItem {
54544
54447
  this._runProgressiveStep();
54545
54448
  }
54546
54449
  }
54450
+ updateAnimationState(callback) {
54451
+ if (this._graphics && this._graphics.length) {
54452
+ this._graphics.forEach(g => {
54453
+ g.context.animationState = callback(g);
54454
+ });
54455
+ }
54456
+ }
54547
54457
  hasAnimationByState(state) {
54548
- if (!state ||
54549
- !this._animationConfig ||
54550
- !this._animationConfig[state] ||
54551
- this._disabledAnimationStates.includes(state)) {
54458
+ if (!state || !this._animationConfig || !this._animationConfig[state]) {
54552
54459
  return false;
54553
54460
  }
54554
54461
  const stateAnimationConfig = this._animationConfig[state];
@@ -54565,36 +54472,11 @@ class BaseMark extends GrammarItem {
54565
54472
  }
54566
54473
  }
54567
54474
 
54568
- var MarkTypeEnum;
54569
- (function (MarkTypeEnum) {
54570
- MarkTypeEnum["group"] = "group";
54571
- MarkTypeEnum["symbol"] = "symbol";
54572
- MarkTypeEnum["rule"] = "rule";
54573
- MarkTypeEnum["line"] = "line";
54574
- MarkTypeEnum["text"] = "text";
54575
- MarkTypeEnum["rect"] = "rect";
54576
- MarkTypeEnum["image"] = "image";
54577
- MarkTypeEnum["path"] = "path";
54578
- MarkTypeEnum["area"] = "area";
54579
- MarkTypeEnum["arc"] = "arc";
54580
- MarkTypeEnum["polygon"] = "polygon";
54581
- MarkTypeEnum["boxPlot"] = "boxPlot";
54582
- MarkTypeEnum["linkPath"] = "linkPath";
54583
- MarkTypeEnum["cell"] = "cell";
54584
- MarkTypeEnum["ripple"] = "ripple";
54585
- MarkTypeEnum["liquid"] = "liquid";
54586
- MarkTypeEnum["component"] = "component";
54587
- MarkTypeEnum["dataLabel"] = "dataLabel";
54588
- MarkTypeEnum["label"] = "label";
54589
- MarkTypeEnum["pictogram"] = "pictogram";
54590
- })(MarkTypeEnum || (MarkTypeEnum = {}));
54591
-
54592
54475
  class GroupMark extends BaseMark {
54593
54476
  constructor() {
54594
54477
  super(...arguments);
54595
54478
  this.type = GroupMark.type;
54596
54479
  this._marks = [];
54597
- this._diffState = DiffState.enter;
54598
54480
  }
54599
54481
  getMarks() {
54600
54482
  return this._marks;
@@ -54657,28 +54539,10 @@ class GroupMark extends BaseMark {
54657
54539
  return;
54658
54540
  }
54659
54541
  const style = (_a = this._simpleStyle) !== null && _a !== void 0 ? _a : this.getAttributesOfState({});
54660
- this._product.context = Object.assign(Object.assign(Object.assign({}, this._product.context), this._getCommonContext()), { diffState: this._diffState });
54661
- this._setAnimationState(this._product);
54662
- const newAttrs = this._getAttrsFromConfig(style);
54663
- if (this._product.context.diffState === DiffState.update) {
54664
- const hasAnimation = this.hasAnimation();
54665
- const diffAttrs = getDiffAttributesOfGraphic(this._product, newAttrs);
54666
- this._product.context.diffAttrs = diffAttrs;
54667
- if (!this.hasAnimationByState(this._product.context.animationState)) {
54668
- hasAnimation ? this._product.setAttributesAndPreventAnimate(diffAttrs) : this._product.setAttributes(diffAttrs);
54669
- }
54670
- if (hasAnimation) {
54671
- this._product.setFinalAttributes(newAttrs);
54672
- }
54673
- }
54674
- else {
54675
- this._product.setAttributes(newAttrs);
54676
- }
54542
+ this._product.context = Object.assign(Object.assign({}, this._product.context), this._getCommonContext());
54543
+ this._product.setAttributes(this._getAttrsFromConfig(style));
54677
54544
  this.needClear = true;
54678
54545
  }
54679
- clearExitGraphics() {
54680
- this._diffState = DiffState.update;
54681
- }
54682
54546
  render() {
54683
54547
  if (this._isCommited) {
54684
54548
  log(`render mark: ${this.getProductId()}, type is ${this.type}`);
@@ -54689,6 +54553,16 @@ class GroupMark extends BaseMark {
54689
54553
  mark.render();
54690
54554
  });
54691
54555
  }
54556
+ updateAnimationState(callback) {
54557
+ this.getGraphics().forEach(g => {
54558
+ if (g) {
54559
+ g.context = Object.assign(Object.assign({}, g.context), { animationState: callback(g) });
54560
+ }
54561
+ });
54562
+ this.getMarks().forEach(mark => {
54563
+ mark.updateAnimationState(callback);
54564
+ });
54565
+ }
54692
54566
  release() {
54693
54567
  super.release();
54694
54568
  this.removeProduct();
@@ -55586,6 +55460,7 @@ class VChart {
55586
55460
  if (!this._beforeRender(option)) {
55587
55461
  return self;
55588
55462
  }
55463
+ this._updateAnimateState(true);
55589
55464
  (_a = this._compiler) === null || _a === void 0 ? void 0 : _a.render(option.morphConfig);
55590
55465
  this._updateAnimateState(false);
55591
55466
  this._afterRender();
@@ -55882,7 +55757,7 @@ class VChart {
55882
55757
  return this._beforeRender(option);
55883
55758
  }
55884
55759
  _reCompile(updateResult, morphConfig) {
55885
- var _a, _b, _c, _d, _e, _f, _g;
55760
+ var _a, _b, _c, _d, _e;
55886
55761
  if (updateResult.reMake) {
55887
55762
  this._releaseData();
55888
55763
  this._initDataSet();
@@ -55902,16 +55777,20 @@ class VChart {
55902
55777
  if (updateResult.reMake) {
55903
55778
  (_c = this._compiler) === null || _c === void 0 ? void 0 : _c.releaseGrammar();
55904
55779
  this._userEvents.forEach(e => { var _a; return (_a = this._event) === null || _a === void 0 ? void 0 : _a.on(e.eType, e.query, e.handler); });
55780
+ if (updateResult.reSize) {
55781
+ this._doResize();
55782
+ }
55905
55783
  }
55906
- else if (updateResult.reCompile) {
55907
- (_d = this._compiler) === null || _d === void 0 ? void 0 : _d.clear({ chart: this._chart, vChart: this });
55908
- (_e = this._compiler) === null || _e === void 0 ? void 0 : _e.compile({ chart: this._chart, vChart: this });
55909
- }
55910
- if (updateResult.reSize) {
55911
- const { width, height } = this.getCurrentSize();
55912
- this._currentSize = { width, height };
55913
- (_f = this._chart) === null || _f === void 0 ? void 0 : _f.onResize(width, height, false);
55914
- (_g = this._compiler) === null || _g === void 0 ? void 0 : _g.resize(width, height, false);
55784
+ else {
55785
+ if (updateResult.reCompile) {
55786
+ (_d = this._compiler) === null || _d === void 0 ? void 0 : _d.clear({ chart: this._chart, vChart: this });
55787
+ (_e = this._compiler) === null || _e === void 0 ? void 0 : _e.compile({ chart: this._chart, vChart: this });
55788
+ }
55789
+ if (updateResult.reSize) {
55790
+ const { width, height } = this.getCurrentSize();
55791
+ this._chart.onResize(width, height, false);
55792
+ this._compiler.resize(width, height, false);
55793
+ }
55915
55794
  }
55916
55795
  }
55917
55796
  _beforeRender(option = {}) {
@@ -55970,21 +55849,17 @@ class VChart {
55970
55849
  });
55971
55850
  }
55972
55851
  _updateAnimateState(initial) {
55973
- var _a, _b;
55974
55852
  if (this._option.animation) {
55975
55853
  const updateGraphicAnimationState = (graphic) => {
55976
55854
  var _a;
55977
55855
  const diffState = (_a = graphic.context) === null || _a === void 0 ? void 0 : _a.diffState;
55978
55856
  if (initial) {
55979
- return diffState === 'exit' ? AnimationStateEnum.none : AnimationStateEnum.appear;
55857
+ return diffState === 'exit' ? undefined : AnimationStateEnum.appear;
55980
55858
  }
55981
55859
  return diffState;
55982
55860
  };
55983
- (_a = this._chart) === null || _a === void 0 ? void 0 : _a.getAllRegions().forEach(region => {
55984
- region.updateAnimateStateCallback(updateGraphicAnimationState);
55985
- });
55986
- (_b = this._chart) === null || _b === void 0 ? void 0 : _b.getAllComponents().forEach(component => {
55987
- component.updateAnimateStateCallback(updateGraphicAnimationState);
55861
+ this._compiler.getRootMarks().forEach(mark => {
55862
+ mark.updateAnimationState(updateGraphicAnimationState);
55988
55863
  });
55989
55864
  }
55990
55865
  }
@@ -56068,11 +55943,11 @@ class VChart {
56068
55943
  }
56069
55944
  if (this._chart) {
56070
55945
  this._chart.updateData(id, data, true, parserOptions);
55946
+ this._compiler.render();
56071
55947
  if (userUpdateOptions === null || userUpdateOptions === void 0 ? void 0 : userUpdateOptions.reAnimate) {
56072
55948
  this.stopAnimation();
56073
55949
  this._updateAnimateState(true);
56074
55950
  }
56075
- this._compiler.render();
56076
55951
  return this;
56077
55952
  }
56078
55953
  this._spec.data = array(this._spec.data);
@@ -56083,11 +55958,11 @@ class VChart {
56083
55958
  if (this._chart) {
56084
55959
  this._chart.updateFullData(data);
56085
55960
  if (reRender) {
55961
+ this._compiler.render();
56086
55962
  if (userUpdateOptions === null || userUpdateOptions === void 0 ? void 0 : userUpdateOptions.reAnimate) {
56087
55963
  this.stopAnimation();
56088
55964
  this._updateAnimateState(true);
56089
55965
  }
56090
- this._compiler.render();
56091
55966
  }
56092
55967
  return this;
56093
55968
  }
@@ -56607,20 +56482,10 @@ class VChart {
56607
56482
  return (_a = this._chart) === null || _a === void 0 ? void 0 : _a.setDimensionIndex(value, opt);
56608
56483
  }
56609
56484
  stopAnimation() {
56610
- var _a;
56611
- (_a = this.getStage()) === null || _a === void 0 ? void 0 : _a.stopAnimation(true);
56612
- }
56613
- reRunNormalAnimation() {
56614
- var _a;
56615
- (_a = this.getStage()) === null || _a === void 0 ? void 0 : _a.reApplyAnimationState('normal', true);
56616
56485
  }
56617
56486
  pauseAnimation() {
56618
- var _a;
56619
- (_a = this.getStage()) === null || _a === void 0 ? void 0 : _a.pauseAnimation(true);
56620
56487
  }
56621
56488
  resumeAnimation() {
56622
- var _a;
56623
- (_a = this.getStage()) === null || _a === void 0 ? void 0 : _a.resumeAnimation(true);
56624
56489
  }
56625
56490
  convertDatumToPosition(datum, dataLinkInfo = {}, isRelativeToCanvas = false, checkInViewData) {
56626
56491
  var _a;
@@ -56904,7 +56769,7 @@ const lookup = (data, opt) => {
56904
56769
  });
56905
56770
  };
56906
56771
 
56907
- const version = "2.0.2";
56772
+ const version = "2.0.3-alpha.0";
56908
56773
 
56909
56774
  const addVChartProperty = (data, op) => {
56910
56775
  const context = op.beforeCall();
@@ -58717,11 +58582,14 @@ class BaseSeries extends BaseModel {
58717
58582
  }
58718
58583
  if (isNil$1(dataView)) {
58719
58584
  m.setData(this._data);
58585
+ m.setSkipBeforeLayouted(true);
58720
58586
  }
58721
58587
  else if (dataView !== false) {
58722
58588
  m.setDataView(dataView);
58723
58589
  }
58724
- m.setSkipBeforeLayouted(skipBeforeLayouted !== false);
58590
+ if (isBoolean$1(skipBeforeLayouted)) {
58591
+ m.setSkipBeforeLayouted(skipBeforeLayouted);
58592
+ }
58725
58593
  if (!isNil$1(groupKey)) {
58726
58594
  m.setGroupKey(groupKey);
58727
58595
  }
@@ -59946,6 +59814,30 @@ class LineLikeSeriesMixin {
59946
59814
 
59947
59815
  const lineSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), lineLikeSeriesMark);
59948
59816
 
59817
+ var MarkTypeEnum;
59818
+ (function (MarkTypeEnum) {
59819
+ MarkTypeEnum["group"] = "group";
59820
+ MarkTypeEnum["symbol"] = "symbol";
59821
+ MarkTypeEnum["rule"] = "rule";
59822
+ MarkTypeEnum["line"] = "line";
59823
+ MarkTypeEnum["text"] = "text";
59824
+ MarkTypeEnum["rect"] = "rect";
59825
+ MarkTypeEnum["image"] = "image";
59826
+ MarkTypeEnum["path"] = "path";
59827
+ MarkTypeEnum["area"] = "area";
59828
+ MarkTypeEnum["arc"] = "arc";
59829
+ MarkTypeEnum["polygon"] = "polygon";
59830
+ MarkTypeEnum["boxPlot"] = "boxPlot";
59831
+ MarkTypeEnum["linkPath"] = "linkPath";
59832
+ MarkTypeEnum["cell"] = "cell";
59833
+ MarkTypeEnum["ripple"] = "ripple";
59834
+ MarkTypeEnum["liquid"] = "liquid";
59835
+ MarkTypeEnum["component"] = "component";
59836
+ MarkTypeEnum["dataLabel"] = "dataLabel";
59837
+ MarkTypeEnum["label"] = "label";
59838
+ MarkTypeEnum["pictogram"] = "pictogram";
59839
+ })(MarkTypeEnum || (MarkTypeEnum = {}));
59840
+
59949
59841
  const isStopsEqual = (prev, next) => {
59950
59842
  var _a, _b;
59951
59843
  if (prev === next) {
@@ -63112,24 +63004,6 @@ class BandAxisMixin {
63112
63004
  };
63113
63005
  }
63114
63006
  }
63115
- _updateData() {
63116
- var _a, _b, _c;
63117
- const tickTransformType = this.registerTicksTransform();
63118
- if (this._spec.showAllGroupLayers && this._scales.length > 1) {
63119
- const layers = (_a = this._spec.layers) !== null && _a !== void 0 ? _a : [];
63120
- Object.keys(this._tickDataMap).forEach(layer => {
63121
- const layerConfig = layers[this._scales.length - 1 - +layer] || {};
63122
- const tickData = this._tickDataMap[layer];
63123
- const tickTransform = tickData === null || tickData === void 0 ? void 0 : tickData.getDataView().transformsArr.find((t) => t.type === tickTransformType);
63124
- tickTransform &&
63125
- (tickTransform.options = Object.assign(Object.assign({}, this._tickTransformOption()), layerConfig));
63126
- });
63127
- }
63128
- else {
63129
- const tickTransform = (_c = (_b = this._tickData) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.getDataView().transformsArr.find(t => t.type === tickTransformType);
63130
- tickTransform && (tickTransform.options = this._tickTransformOption());
63131
- }
63132
- }
63133
63007
  dataToPosition(values, cfg = {}) {
63134
63008
  var _a, _b;
63135
63009
  if (values.length === 0 || this._scales.length === 0) {
@@ -63222,7 +63096,7 @@ class BandAxisMixin {
63222
63096
  getLabelItems(length) {
63223
63097
  const labelItems = [];
63224
63098
  let preData = [];
63225
- (this._spec.showAllGroupLayers ? this._scales : [this._scales[0]]).forEach((scale, index) => {
63099
+ this._scales.forEach((scale, index) => {
63226
63100
  var _a;
63227
63101
  const tickData = this._tickDataMap[index];
63228
63102
  const isTickDataHaveData = (_a = tickData === null || tickData === void 0 ? void 0 : tickData.getLatestData()) === null || _a === void 0 ? void 0 : _a.length;
@@ -63404,20 +63278,6 @@ class CartesianBandAxis extends CartesianAxis {
63404
63278
  minBandSize
63405
63279
  };
63406
63280
  }
63407
- _compareSpec(spec, prevSpec) {
63408
- const result = super._compareSpec(spec, prevSpec);
63409
- if (result.reMake) {
63410
- return result;
63411
- }
63412
- if ((prevSpec === null || prevSpec === void 0 ? void 0 : prevSpec.showAllGroupLayers) !== (spec === null || spec === void 0 ? void 0 : spec.showAllGroupLayers) || !isEqual(prevSpec === null || prevSpec === void 0 ? void 0 : prevSpec.layers, spec === null || spec === void 0 ? void 0 : spec.layers)) {
63413
- result.reMake = true;
63414
- }
63415
- return result;
63416
- }
63417
- reInit(spec) {
63418
- super.reInit();
63419
- this === null || this === void 0 ? void 0 : this._updateData();
63420
- }
63421
63281
  }
63422
63282
  CartesianBandAxis.type = ComponentTypeEnum.cartesianBandAxis;
63423
63283
  CartesianBandAxis.specKey = 'axes';
@@ -65060,10 +64920,6 @@ class BaseChart extends CompilableBase {
65060
64920
  const elements = [...this._components, ...this._regions, ...this._series];
65061
64921
  elements.forEach(element => element.onEvaluateEnd(option));
65062
64922
  }
65063
- onBeforeRender() {
65064
- const elements = [...this._components, ...this._regions, ...this._series];
65065
- elements.forEach(element => element.onBeforeRender());
65066
- }
65067
64923
  getLayoutElements() {
65068
64924
  return this.getAllModels()
65069
64925
  .map(i => i.layout)
@@ -65529,11 +65385,17 @@ class BaseChart extends CompilableBase {
65529
65385
  }
65530
65386
  _enableMarkAnimation(states) {
65531
65387
  const marks = this.getAllMarks();
65532
- marks.forEach(mark => mark.enableAnimationByState(states));
65388
+ marks.forEach(mark => {
65389
+ const product = mark.getProduct();
65390
+ if (product && product.animate) ;
65391
+ });
65533
65392
  }
65534
65393
  _disableMarkAnimation(states) {
65535
65394
  const marks = this.getAllMarks();
65536
- marks.forEach(mark => mark.disableAnimationByState(states));
65395
+ marks.forEach(mark => {
65396
+ const product = mark.getProduct();
65397
+ if (product && product.animate) ;
65398
+ });
65537
65399
  }
65538
65400
  filterGraphicsByDatum(datum, opt = {}) {
65539
65401
  var _a;
@@ -66416,7 +66278,7 @@ const layoutByValue$1 = (stateByField, series, layoutStartPoint, enableRemain =
66416
66278
  layoutStartPoint = { x: 0, y: 0 };
66417
66279
  }
66418
66280
  Object.keys(stateByField).forEach(field => {
66419
- var _a, _b, _c, _d, _e, _f;
66281
+ var _a, _b, _c, _d, _e;
66420
66282
  const { currentValue, cacheInfo, labelsComp, attributes, coordKey } = stateByField[field];
66421
66283
  let axis = null;
66422
66284
  let coord = 0;
@@ -66428,8 +66290,8 @@ const layoutByValue$1 = (stateByField, series, layoutStartPoint, enableRemain =
66428
66290
  item.axis.getLayoutStartPoint()[coordKey] -
66429
66291
  layoutStartPoint[coordKey];
66430
66292
  axis = item.axis;
66431
- axisLabel = (_f = (_e = (_d = (_c = (_b = (_a = axis
66432
- .getVRenderComponents()[0]) === null || _a === void 0 ? void 0 : _a.children[0]) === null || _b === void 0 ? void 0 : _b.children[0]) === null || _c === void 0 ? void 0 : _c.children[0]) === null || _d === void 0 ? void 0 : _d.getChildByName('axis-label-container')) === null || _e === void 0 ? void 0 : _e.getChildByName('axis-label-container-layer-0')) === null || _f === void 0 ? void 0 : _f.children[0];
66293
+ axisLabel = (_e = (_d = (_c = (_b = (_a = axis
66294
+ .getVRenderComponents()[0]) === null || _a === void 0 ? void 0 : _a.children[0]) === null || _b === void 0 ? void 0 : _b.children[0]) === null || _c === void 0 ? void 0 : _c.getChildByName('axis-label-container')) === null || _d === void 0 ? void 0 : _d.getChildByName('axis-label-container-layer-0')) === null || _e === void 0 ? void 0 : _e.children[0];
66433
66295
  }
66434
66296
  const isVisible = !!currentValue.size && Number.isFinite(coord) && !Number.isNaN(coord);
66435
66297
  const useCache = enableRemain && !isVisible && isValid$1(cacheInfo);
@@ -69807,7 +69669,8 @@ class MapSeries extends GeoSeries {
69807
69669
  initMark() {
69808
69670
  this._pathMark = this._createMark(MapSeries.mark.area, {
69809
69671
  groupKey: this.getDimensionField()[0],
69810
- isSeriesMark: true
69672
+ isSeriesMark: true,
69673
+ skipBeforeLayouted: true
69811
69674
  }, {
69812
69675
  morph: shouldMarkDoMorph(this._spec, MapSeries.mark.area.name),
69813
69676
  morphElementKey: this.getDimensionField()[0]
@@ -73293,6 +73156,7 @@ class BasePieSeries extends PolarSeries {
73293
73156
  this._pieMark = this._createMark(Object.assign(Object.assign({}, BasePieSeries.mark.pie), { name: this._pieMarkName, type: this._pieMarkType }), {
73294
73157
  key: DEFAULT_DATA_KEY,
73295
73158
  groupKey: this._seriesField,
73159
+ skipBeforeLayouted: true,
73296
73160
  isSeriesMark: true
73297
73161
  }, {
73298
73162
  morph: shouldMarkDoMorph(this._spec, this._pieMarkName),
@@ -74757,16 +74621,17 @@ class DotSeriesTooltipHelper extends BaseSeriesTooltipHelper {
74757
74621
  const userUpdateContent = (_c = (_b = (_a = this.spec) === null || _a === void 0 ? void 0 : _a[activeType]) === null || _b === void 0 ? void 0 : _b.updateContent) !== null && _c !== void 0 ? _c : (_d = chartTooltipSpec === null || chartTooltipSpec === void 0 ? void 0 : chartTooltipSpec[activeType]) === null || _d === void 0 ? void 0 : _d.updateContent;
74758
74622
  if (res && !userUpdateContent) {
74759
74623
  res.updateContent = (prev, datum, params) => {
74624
+ var _a, _b;
74760
74625
  const childrenContent = [];
74761
74626
  const childrenPrev = prev.filter((p) => p.key === 'children');
74762
74627
  childrenPrev.length > 0 &&
74763
- childrenPrev[0].value.forEach((element) => {
74628
+ ((_b = (_a = childrenPrev === null || childrenPrev === void 0 ? void 0 : childrenPrev[0]) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b.forEach((element) => {
74764
74629
  let flag = true;
74765
74630
  for (const key in element) {
74766
74631
  childrenContent.push(Object.assign(Object.assign({}, childrenPrev[0]), { shapeType: 'circle', hasShape: flag, key: key, value: element[key] + '' }));
74767
74632
  flag = false;
74768
74633
  }
74769
- });
74634
+ }));
74770
74635
  return prev.concat(childrenContent);
74771
74636
  };
74772
74637
  }
@@ -74789,13 +74654,21 @@ const objFlat = (data, op) => {
74789
74654
  }
74790
74655
  }
74791
74656
  const dataOp = datum[op];
74792
- dataOp === null || dataOp === void 0 ? void 0 : dataOp.forEach((d, i) => {
74793
- result.push(Object.assign({}, dataKeyObj, d, {
74657
+ if (dataOp && dataOp.length > 0) {
74658
+ dataOp === null || dataOp === void 0 ? void 0 : dataOp.forEach((d, i) => {
74659
+ result.push(Object.assign({}, dataKeyObj, d, {
74660
+ [DEFAULT_DATA_INDEX]: index,
74661
+ [DEFAULT_DATA_KEY]: `${dataKey}_${i}`
74662
+ }));
74663
+ index++;
74664
+ });
74665
+ }
74666
+ else {
74667
+ result.push(Object.assign({}, dataKeyObj, {
74794
74668
  [DEFAULT_DATA_INDEX]: index,
74795
- [DEFAULT_DATA_KEY]: `${dataKey}_${i}`
74669
+ [DEFAULT_DATA_KEY]: dataKey
74796
74670
  }));
74797
- index++;
74798
- });
74671
+ }
74799
74672
  });
74800
74673
  return result;
74801
74674
  };
@@ -74888,7 +74761,7 @@ class DotSeries extends CartesianSeries {
74888
74761
  }
74889
74762
  }
74890
74763
  initData() {
74891
- var _a;
74764
+ var _a, _b;
74892
74765
  super.initData();
74893
74766
  this._xDimensionStatisticsDomain = this.getRawData().latestData.map((d) => d[this._fieldY[0]]);
74894
74767
  registerDataSetInstanceTransform(this._option.dataSet, 'objFlat', objFlat);
@@ -74899,9 +74772,31 @@ class DotSeries extends CartesianSeries {
74899
74772
  options: 'dots',
74900
74773
  level: TransformLevel.dotObjFlat
74901
74774
  }, false);
74775
+ (_b = this.getRawData()) === null || _b === void 0 ? void 0 : _b.transform({
74776
+ type: 'objFlat',
74777
+ options: 'dots',
74778
+ level: TransformLevel.dotObjFlat
74779
+ }, false);
74780
+ }
74781
+ _statisticViewData() {
74782
+ var _a;
74783
+ super._statisticViewData();
74784
+ (_a = this._viewDataStatistics) === null || _a === void 0 ? void 0 : _a.transform({
74785
+ type: 'objFlat',
74786
+ options: 'dots',
74787
+ level: TransformLevel.dotObjFlat
74788
+ }, false);
74902
74789
  }
74903
74790
  getStatisticFields() {
74904
- return [{ key: this._fieldY[0], operations: ['values'], customize: this._xDimensionStatisticsDomain }];
74791
+ const result = [{ key: this._fieldY[0], operations: ['values'], customize: this._xDimensionStatisticsDomain }];
74792
+ const { linearMode = true } = this._spec;
74793
+ if (linearMode) {
74794
+ result.push({ key: this._fieldX[0], operations: ['min', 'max'] });
74795
+ }
74796
+ else {
74797
+ result.push({ key: this._fieldX[0], operations: ['values'] });
74798
+ }
74799
+ return result;
74905
74800
  }
74906
74801
  setAttrFromSpec() {
74907
74802
  var _a;
@@ -74946,20 +74841,21 @@ class DotSeries extends CartesianSeries {
74946
74841
  });
74947
74842
  }
74948
74843
  initMarkStyle() {
74844
+ var _a, _b;
74949
74845
  const clipMark = this._clipMark;
74950
74846
  if (clipMark) {
74951
74847
  this.setMarkStyle(clipMark, {
74952
- x: -this._spec.leftAppendPadding,
74848
+ x: -((_a = this._spec.leftAppendPadding) !== null && _a !== void 0 ? _a : 0),
74953
74849
  y: 0,
74954
74850
  width: 10000,
74955
- height: this._spec.clipHeight
74851
+ height: () => { var _a; return (_a = this._spec.clipHeight) !== null && _a !== void 0 ? _a : this._region.getLayoutRect().height; }
74956
74852
  }, 'normal', AttributeLevel.Series);
74957
74853
  clipMark.setMarkConfig({ interactive: false, clip: true });
74958
74854
  }
74959
74855
  const containerMark = this._containerMark;
74960
74856
  if (containerMark) {
74961
74857
  this.setMarkStyle(containerMark, {
74962
- x: this._spec.leftAppendPadding
74858
+ x: (_b = this._spec.leftAppendPadding) !== null && _b !== void 0 ? _b : 0
74963
74859
  }, 'normal', AttributeLevel.Series);
74964
74860
  containerMark.setMarkConfig({ interactive: false });
74965
74861
  }
@@ -75184,7 +75080,13 @@ class LinkSeriesTooltipHelper extends BaseSeriesTooltipHelper {
75184
75080
  }
75185
75081
  }
75186
75082
 
75187
- const linkSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["group"]: { name: "group", type: "group" }, ["link"]: { name: "link", type: "rule" }, ["arrow"]: { name: "arrow", type: "symbol" } });
75083
+ var LinkType;
75084
+ (function (LinkType) {
75085
+ LinkType["line"] = "line";
75086
+ LinkType["curve"] = "curve";
75087
+ })(LinkType || (LinkType = {}));
75088
+
75089
+ const linkSeriesMark = Object.assign(Object.assign({}, baseSeriesMark), { ["group"]: { name: "group", type: "group" }, ["link"]: { name: "link", type: "rule" }, ["curveLink"]: { name: "curveLink", type: "path" }, ["arrow"]: { name: "arrow", type: "symbol" }, ["imageLabel"]: { name: "imageLabel", type: "image" } });
75188
75090
 
75189
75091
  const linkDotInfo = (data, op) => {
75190
75092
  const { infoKey, fields, linkData, dotData } = op;
@@ -75226,6 +75128,7 @@ class LinkSeries extends CartesianSeries {
75226
75128
  constructor() {
75227
75129
  super(...arguments);
75228
75130
  this.type = SeriesTypeEnum.link;
75131
+ this._curveLinkCountMap = {};
75229
75132
  }
75230
75133
  getFromField() {
75231
75134
  return this._fromField;
@@ -75296,11 +75199,12 @@ class LinkSeries extends CartesianSeries {
75296
75199
  this.setDotSeriesSpec(this._spec.dotSeriesSpec);
75297
75200
  }
75298
75201
  initMark() {
75202
+ const { linkType = LinkType.line, imageLabelField } = this._spec;
75299
75203
  this._clipMark = this._createMark(LinkSeries.mark.group);
75300
75204
  this._containerMark = this._createMark(LinkSeries.mark.group, {
75301
75205
  parent: this._clipMark
75302
75206
  });
75303
- this._linkMark = this._createMark(LinkSeries.mark.link, {
75207
+ this._linkMark = this._createMark(linkType === LinkType.curve ? LinkSeries.mark.curveLink : LinkSeries.mark.link, {
75304
75208
  skipBeforeLayouted: false,
75305
75209
  parent: this._containerMark
75306
75210
  });
@@ -75309,16 +75213,23 @@ class LinkSeries extends CartesianSeries {
75309
75213
  isSeriesMark: true,
75310
75214
  parent: this._containerMark
75311
75215
  });
75216
+ if (imageLabelField) {
75217
+ this._imageLabelMark = this._createMark(LinkSeries.mark.imageLabel, {
75218
+ skipBeforeLayouted: false,
75219
+ isSeriesMark: true,
75220
+ parent: this._containerMark
75221
+ });
75222
+ }
75312
75223
  }
75313
75224
  initMarkStyle() {
75314
- var _a, _b, _c, _d;
75225
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
75315
75226
  const clipMark = this._clipMark;
75316
75227
  if (clipMark) {
75317
75228
  this.setMarkStyle(clipMark, {
75318
- x: -this._spec.leftAppendPadding,
75229
+ x: -((_a = this._spec.leftAppendPadding) !== null && _a !== void 0 ? _a : 0),
75319
75230
  y: 0,
75320
75231
  width: 10000,
75321
- height: this._spec.clipHeight
75232
+ height: () => { var _a; return (_a = this._spec.clipHeight) !== null && _a !== void 0 ? _a : this._region.getLayoutRect().height; }
75322
75233
  }, 'normal', AttributeLevel.Series);
75323
75234
  clipMark.setMarkConfig({ interactive: false, clip: true });
75324
75235
  }
@@ -75331,19 +75242,43 @@ class LinkSeries extends CartesianSeries {
75331
75242
  containerMark.setMarkConfig({ interactive: false });
75332
75243
  }
75333
75244
  const linkMark = this._linkMark;
75245
+ const { linkType = LinkType.line } = this._spec;
75334
75246
  if (linkMark) {
75335
- this.setMarkStyle(linkMark, {
75336
- stroke: this.getColorAttribute(),
75337
- strokeOpacity: this.dataToOpacity.bind(this),
75338
- x: this.dataToPositionXFrom.bind(this),
75339
- y: this.dataToPositionYFrom.bind(this),
75340
- x1: this.dataToPositionXTo.bind(this),
75341
- y1: this.dataToPositionYTo.bind(this)
75342
- }, 'normal', AttributeLevel.Series);
75247
+ if (linkType === LinkType.curve) {
75248
+ this.setMarkStyle(linkMark, {
75249
+ stroke: (_d = (_c = (_b = this._spec.link) === null || _b === void 0 ? void 0 : _b.style) === null || _c === void 0 ? void 0 : _c.stroke) !== null && _d !== void 0 ? _d : this.getColorAttribute(),
75250
+ strokeOpacity: this.dataToOpacity.bind(this),
75251
+ path: (datum) => {
75252
+ const fromX = this.dataToPositionXFrom(datum);
75253
+ const fromY = this.dataToPositionYFrom(datum);
75254
+ const toX = this.dataToPositionXTo(datum);
75255
+ const toY = this.dataToPositionYTo(datum);
75256
+ const curveLinkCount = this._curveLinkCountMap[`${fromX}-${fromY}-${toX}-${toY}`] || 1;
75257
+ this._curveLinkCountMap[`${fromX}-${fromY}-${toX}-${toY}`] = curveLinkCount + 1;
75258
+ const curveRatio = 0.5 + curveLinkCount * 0.1;
75259
+ const controlX1 = fromX + (toX - fromX) * 0.7;
75260
+ const controlY1 = fromY;
75261
+ const controlX2 = toX - (toX - fromX) * curveRatio;
75262
+ const controlY2 = toY;
75263
+ return `M ${fromX} ${fromY} C ${controlX1} ${controlY1}, ${controlX2} ${controlY2}, ${toX} ${toY}`;
75264
+ },
75265
+ lineWidth: (_f = (_e = this._spec.link.style) === null || _e === void 0 ? void 0 : _e.lineWidth) !== null && _f !== void 0 ? _f : 1
75266
+ }, 'normal', AttributeLevel.Series);
75267
+ }
75268
+ else {
75269
+ this.setMarkStyle(linkMark, {
75270
+ stroke: this.getColorAttribute(),
75271
+ strokeOpacity: this.dataToOpacity.bind(this),
75272
+ x: this.dataToPositionXFrom.bind(this),
75273
+ y: this.dataToPositionYFrom.bind(this),
75274
+ x1: this.dataToPositionXTo.bind(this),
75275
+ y1: this.dataToPositionYTo.bind(this)
75276
+ }, 'normal', AttributeLevel.Series);
75277
+ }
75343
75278
  }
75344
75279
  const arrowMark = this._arrowMark;
75345
75280
  if (arrowMark) {
75346
- const arrowSize = (_d = (_c = (_b = (_a = this._theme) === null || _a === void 0 ? void 0 : _a.arrow) === null || _b === void 0 ? void 0 : _b.style) === null || _c === void 0 ? void 0 : _c.size) !== null && _d !== void 0 ? _d : 10;
75281
+ const arrowSize = (_k = (_j = (_h = (_g = this._theme) === null || _g === void 0 ? void 0 : _g.arrow) === null || _h === void 0 ? void 0 : _h.style) === null || _j === void 0 ? void 0 : _j.size) !== null && _k !== void 0 ? _k : 10;
75347
75282
  this.setMarkStyle(arrowMark, {
75348
75283
  x: this.dataToPositionXTo.bind(this),
75349
75284
  y: (datum) => this.dataToPositionArrowYTo(datum, arrowSize),
@@ -75355,18 +75290,44 @@ class LinkSeries extends CartesianSeries {
75355
75290
  }
75356
75291
  }, 'normal', AttributeLevel.Series);
75357
75292
  }
75293
+ const imageLabelMark = this._imageLabelMark;
75294
+ if (imageLabelMark) {
75295
+ const { style = {} } = this._spec.imageLabel;
75296
+ const { width = 40, height = 40 } = style;
75297
+ this.setMarkStyle(imageLabelMark, {
75298
+ x: datum => {
75299
+ return (this.dataToPositionXFrom(datum) + this.dataToPositionXTo(datum)) / 2 - width / 2;
75300
+ },
75301
+ y: datum => {
75302
+ return (this.dataToPositionYFrom(datum) + this.dataToPositionYTo(datum)) / 2 - height / 2;
75303
+ },
75304
+ width,
75305
+ height,
75306
+ image: datum => {
75307
+ return datum[this._spec.imageLabelField];
75308
+ }
75309
+ }, 'normal', AttributeLevel.Series);
75310
+ }
75358
75311
  }
75359
75312
  afterInitMark() {
75360
75313
  super.afterInitMark();
75361
75314
  }
75362
75315
  dataToPositionXFrom(datum) {
75316
+ var _a, _b, _c, _d;
75363
75317
  if (!this._xAxisHelper) {
75364
75318
  return Number.NaN;
75365
75319
  }
75366
75320
  const { dataToPosition } = this._xAxisHelper;
75367
- return dataToPosition(this.getDatumPositionValues(datum, this._fromField + '_xField'), {
75321
+ const allowExtend = this._spec.allowExtend;
75322
+ const bandSize = (_c = (_b = (_a = this._xAxisHelper) === null || _a === void 0 ? void 0 : _a.getBandwidth) === null || _b === void 0 ? void 0 : _b.call(_a, 0)) !== null && _c !== void 0 ? _c : 0;
75323
+ const { style = {} } = (_d = this._dotSeriesSpec.symbol) !== null && _d !== void 0 ? _d : {};
75324
+ const { size: dotSize = 10 } = style;
75325
+ return (dataToPosition(this.getDatumPositionValues(datum, this._fromField + '_xField'), {
75368
75326
  bandPosition: this._bandPosition
75369
- });
75327
+ }) +
75328
+ (allowExtend && (!datum.isExtend || datum.isExtend === 'left')
75329
+ ? -(array(bandSize)[0] + dotSize) / 2
75330
+ : 0));
75370
75331
  }
75371
75332
  dataToPositionYFrom(datum) {
75372
75333
  if (!this._yAxisHelper) {
@@ -75376,13 +75337,21 @@ class LinkSeries extends CartesianSeries {
75376
75337
  return dataToPosition(this.getDatumPositionValues(datum, this._fromField + '_yField'));
75377
75338
  }
75378
75339
  dataToPositionXTo(datum) {
75340
+ var _a, _b, _c, _d;
75379
75341
  if (!this._xAxisHelper) {
75380
75342
  return Number.NaN;
75381
75343
  }
75382
75344
  const { dataToPosition } = this._xAxisHelper;
75383
- return dataToPosition(this.getDatumPositionValues(datum, this._toField + '_xField'), {
75345
+ const allowExtend = this._spec.allowExtend;
75346
+ const bandSize = (_c = (_b = (_a = this._xAxisHelper) === null || _a === void 0 ? void 0 : _a.getBandwidth) === null || _b === void 0 ? void 0 : _b.call(_a, 0)) !== null && _c !== void 0 ? _c : 0;
75347
+ const { style = {} } = (_d = this._dotSeriesSpec.symbol) !== null && _d !== void 0 ? _d : {};
75348
+ const { size: dotSize = 10 } = style;
75349
+ return (dataToPosition(this.getDatumPositionValues(datum, this._toField + '_xField'), {
75384
75350
  bandPosition: this._bandPosition
75385
- });
75351
+ }) +
75352
+ (allowExtend && (!datum.isExtend || datum.isExtend === 'right')
75353
+ ? (array(bandSize)[0] + dotSize) / 2
75354
+ : 0));
75386
75355
  }
75387
75356
  dataToPositionYTo(datum) {
75388
75357
  if (!this._yAxisHelper) {
@@ -75404,9 +75373,10 @@ class LinkSeries extends CartesianSeries {
75404
75373
  }) + offset);
75405
75374
  }
75406
75375
  dataToOpacity(datum) {
75407
- if (this.isPositionXOuterRange(datum, this._fromField + '_xField') ||
75408
- this.isPositionXOuterRange(datum, this._toField + '_xField') ||
75409
- datum[this._fromField] === datum[this._toField]) {
75376
+ if (!this._spec.allowExtend &&
75377
+ (this.isPositionXOuterRange(datum, this._fromField + '_xField') ||
75378
+ this.isPositionXOuterRange(datum, this._toField + '_xField') ||
75379
+ datum[this._fromField] === datum[this._toField])) {
75410
75380
  return 0;
75411
75381
  }
75412
75382
  return 1;
@@ -80951,6 +80921,7 @@ class FunnelSeries extends BaseSeries {
80951
80921
  if (this._spec.isTransform) {
80952
80922
  this._funnelTransformMark = this._createMark(Object.assign(Object.assign({}, FunnelSeries.mark.transform), { name: this._transformMarkName, type: this._transformMarkType }), {
80953
80923
  themeSpec: (_b = this._theme) === null || _b === void 0 ? void 0 : _b.transform,
80924
+ skipBeforeLayouted: true,
80954
80925
  noSeparateStyle: true
80955
80926
  });
80956
80927
  if (this._funnelTransformMark) {
@@ -80963,6 +80934,7 @@ class FunnelSeries extends BaseSeries {
80963
80934
  this._funnelOuterLabelMark.label = this._createMark(FunnelSeries.mark.outerLabel, {
80964
80935
  themeSpec: (_h = this._theme) === null || _h === void 0 ? void 0 : _h.outerLabel,
80965
80936
  markSpec: this._spec.outerLabel,
80937
+ skipBeforeLayouted: true,
80966
80938
  noSeparateStyle: true,
80967
80939
  parent: false
80968
80940
  });
@@ -89703,15 +89675,11 @@ class Tooltip extends BaseComponent {
89703
89675
  });
89704
89676
  };
89705
89677
  this._handleClickToLock = (params) => {
89706
- var _a, _b;
89707
89678
  if (this._clickLock) {
89708
89679
  this._handleChartMouseOut(params);
89709
89680
  this._clickLock = false;
89710
89681
  }
89711
89682
  else {
89712
- if (!this._isTooltipShown && !((_b = (_a = this.tooltipHandler) === null || _a === void 0 ? void 0 : _a.isTooltipShown) === null || _b === void 0 ? void 0 : _b.call(_a))) {
89713
- return;
89714
- }
89715
89683
  this._clickLock = true;
89716
89684
  }
89717
89685
  };
@@ -90010,9 +89978,6 @@ class Tooltip extends BaseComponent {
90010
89978
  return;
90011
89979
  }
90012
89980
  this._isEnterTooltip = false;
90013
- if (this._spec.triggerOff === 'none') {
90014
- return;
90015
- }
90016
89981
  if (this._cacheEnterableRect) {
90017
89982
  const newRect = (_a = container.getBoundingClientRect) === null || _a === void 0 ? void 0 : _a.call(container);
90018
89983
  if (newRect &&
@@ -90029,10 +89994,7 @@ class Tooltip extends BaseComponent {
90029
89994
  const activeType = this._spec.activeType;
90030
89995
  this.processor = {};
90031
89996
  activeType.forEach(type => {
90032
- const instance = Factory.createTooltipProcessor(type, this);
90033
- if (instance) {
90034
- this.processor[type] = instance;
90035
- }
89997
+ this.processor[type] = Factory.createTooltipProcessor(type, this);
90036
89998
  });
90037
89999
  }
90038
90000
  _initEvent() {
@@ -90460,7 +90422,7 @@ class BaseCrossHair extends BaseComponent {
90460
90422
  this.event.off(eventName, handler);
90461
90423
  }
90462
90424
  }
90463
- onBeforeRender() {
90425
+ updateLayoutAttribute() {
90464
90426
  this._limitBounds = null;
90465
90427
  this._showDefaultCrosshair();
90466
90428
  }
@@ -91344,7 +91306,7 @@ const dataFilterWithNewDomain = (data, op) => {
91344
91306
  return data.filter(filter);
91345
91307
  };
91346
91308
  const dataFilterComputeDomain = (data, op) => {
91347
- const { stateFields, valueFields, dataCollection, isCategoryState } = op.input;
91309
+ const { stateFields, valueFields, dataCollection, isCategoryState, seriesTypes } = op.input;
91348
91310
  const { stateField, valueField } = op.output;
91349
91311
  const resultObj = {};
91350
91312
  const resultData = [];
@@ -91365,7 +91327,8 @@ const dataFilterComputeDomain = (data, op) => {
91365
91327
  }
91366
91328
  });
91367
91329
  }
91368
- dv.latestData.forEach((d) => {
91330
+ const data = seriesTypes[i] === 'dot' ? objFlat(dv.latestData, 'dots') : dv.latestData;
91331
+ data.forEach((d) => {
91369
91332
  array(stateFields[i]).forEach(state => {
91370
91333
  if (!isNil$1(d[state])) {
91371
91334
  if (isNil$1(resultObj[d[state]])) {
@@ -91450,30 +91413,39 @@ class DataFilterBaseComponent extends BaseComponent {
91450
91413
  const axisScale = axis.getScale();
91451
91414
  const reverse = this._isReverse();
91452
91415
  const newRangeFactor = reverse ? [1 - this._end, 1 - this._start] : [this._start, this._end];
91416
+ const linkedAxis = this._linkedAxisComponent;
91453
91417
  if (reverse) {
91454
91418
  switch (tag) {
91455
91419
  case 'startHandler':
91456
91420
  axis.scaleRangeFactorEnd(newRangeFactor[1]);
91421
+ linkedAxis === null || linkedAxis === void 0 ? void 0 : linkedAxis.scaleRangeFactorEnd(newRangeFactor[1]);
91457
91422
  break;
91458
91423
  case 'endHandler':
91459
91424
  axis.scaleRangeFactorStart(newRangeFactor[0]);
91425
+ linkedAxis === null || linkedAxis === void 0 ? void 0 : linkedAxis.scaleRangeFactorStart(newRangeFactor[0]);
91460
91426
  break;
91461
91427
  default:
91462
91428
  axis.scaleRangeFactorStart(newRangeFactor[0], true);
91463
91429
  axis.scaleRangeFactorEnd(newRangeFactor[1]);
91430
+ linkedAxis === null || linkedAxis === void 0 ? void 0 : linkedAxis.scaleRangeFactorStart(newRangeFactor[0], true);
91431
+ linkedAxis === null || linkedAxis === void 0 ? void 0 : linkedAxis.scaleRangeFactorEnd(newRangeFactor[1]);
91464
91432
  }
91465
91433
  }
91466
91434
  else {
91467
91435
  switch (tag) {
91468
91436
  case 'startHandler':
91469
91437
  axis.scaleRangeFactorStart(newRangeFactor[0]);
91438
+ linkedAxis === null || linkedAxis === void 0 ? void 0 : linkedAxis.scaleRangeFactorStart(newRangeFactor[0]);
91470
91439
  break;
91471
91440
  case 'endHandler':
91472
91441
  axis.scaleRangeFactorEnd(newRangeFactor[1]);
91442
+ linkedAxis === null || linkedAxis === void 0 ? void 0 : linkedAxis.scaleRangeFactorEnd(newRangeFactor[1]);
91473
91443
  break;
91474
91444
  default:
91475
91445
  axis.scaleRangeFactorEnd(newRangeFactor[1], true);
91446
+ linkedAxis === null || linkedAxis === void 0 ? void 0 : linkedAxis.scaleRangeFactorEnd(newRangeFactor[1], true);
91476
91447
  axis.scaleRangeFactorStart(newRangeFactor[0]);
91448
+ linkedAxis === null || linkedAxis === void 0 ? void 0 : linkedAxis.scaleRangeFactorStart(newRangeFactor[0]);
91477
91449
  }
91478
91450
  }
91479
91451
  const newFactor = axisScale.rangeFactor();
@@ -91655,6 +91627,12 @@ class DataFilterBaseComponent extends BaseComponent {
91655
91627
  else if (isValid$1(this._spec.axisIndex)) {
91656
91628
  this._relatedAxisComponent = this._option.getComponentByIndex('axes', this._spec.axisIndex);
91657
91629
  }
91630
+ if (isValid$1(this._spec.linkedAxisId)) {
91631
+ this._linkedAxisComponent = this._option.getComponentByUserId(this._spec.linkedAxisId);
91632
+ }
91633
+ else if (isValid$1(this._spec.linkedAxisIndex)) {
91634
+ this._linkedAxisComponent = this._option.getComponentByIndex('axes', this._spec.linkedAxisIndex);
91635
+ }
91658
91636
  if (isNil$1(this._spec.field) && !this._relatedAxisComponent) {
91659
91637
  const axes = this._option.getComponentsByKey('axes');
91660
91638
  const sameOrientAxis = axes.find((cm) => cm._orient === this._orient);
@@ -91737,11 +91715,15 @@ class DataFilterBaseComponent extends BaseComponent {
91737
91715
  const dataCollection = [];
91738
91716
  const stateFields = [];
91739
91717
  const valueFields = [];
91718
+ const seriesTypes = [];
91740
91719
  let isCategoryState;
91741
91720
  if (this._relatedAxisComponent) {
91742
91721
  const originalStateFields = {};
91743
91722
  eachSeries(this._regions, s => {
91744
91723
  var _a, _b;
91724
+ if (s.type === 'link') {
91725
+ return;
91726
+ }
91745
91727
  const xAxisHelper = s.coordinate === 'cartesian'
91746
91728
  ? s.getXAxisHelper()
91747
91729
  : s.coordinate === 'polar'
@@ -91764,6 +91746,7 @@ class DataFilterBaseComponent extends BaseComponent {
91764
91746
  : yAxisHelper;
91765
91747
  const valueAxisHelper = stateAxisHelper === xAxisHelper ? yAxisHelper : xAxisHelper;
91766
91748
  dataCollection.push(s.getRawData());
91749
+ seriesTypes.push(s.type);
91767
91750
  const seriesSpec = s.getSpec();
91768
91751
  const xField = s.coordinate === 'cartesian'
91769
91752
  ? array(seriesSpec.xField)
@@ -91782,7 +91765,7 @@ class DataFilterBaseComponent extends BaseComponent {
91782
91765
  }
91783
91766
  if (this._valueField) {
91784
91767
  const valueField = s.type === 'link' ? ['from_yField'] : valueAxisHelper === xAxisHelper ? xField : yField;
91785
- if (isContinuous(valueAxisHelper.getScale(0).type)) {
91768
+ if (isContinuous(valueAxisHelper.getScale(0).type) || s.type === 'dot') {
91786
91769
  valueFields.push(...valueField);
91787
91770
  }
91788
91771
  }
@@ -91815,7 +91798,8 @@ class DataFilterBaseComponent extends BaseComponent {
91815
91798
  dataCollection: dataCollection,
91816
91799
  stateFields,
91817
91800
  valueFields,
91818
- isCategoryState
91801
+ isCategoryState,
91802
+ seriesTypes
91819
91803
  },
91820
91804
  output: {
91821
91805
  stateField: this._stateField,
@@ -91823,9 +91807,9 @@ class DataFilterBaseComponent extends BaseComponent {
91823
91807
  }
91824
91808
  }
91825
91809
  }, false);
91826
- this._data = new CompilableData(this._option, data);
91827
91810
  data.reRunAllTransform();
91828
91811
  dataSet.multipleDataViewAddListener(dataCollection, 'change', this._handleDataCollectionChange.bind(this));
91812
+ this._data = new CompilableData(this._option, data);
91829
91813
  }
91830
91814
  setAttrFromSpec() {
91831
91815
  var _a;
@@ -92023,7 +92007,7 @@ class DataFilterBaseComponent extends BaseComponent {
92023
92007
  _initCommonEvent() {
92024
92008
  var _a, _b, _c, _d, _e, _f, _g;
92025
92009
  const delayType = (_b = (_a = this._spec) === null || _a === void 0 ? void 0 : _a.delayType) !== null && _b !== void 0 ? _b : 'throttle';
92026
- const delayTime = isValid$1((_c = this._spec) === null || _c === void 0 ? void 0 : _c.delayType) ? (_e = (_d = this._spec) === null || _d === void 0 ? void 0 : _d.delayTime) !== null && _e !== void 0 ? _e : 30 : 0;
92010
+ const delayTime = isValid$1((_c = this._spec) === null || _c === void 0 ? void 0 : _c.delayType) ? ((_e = (_d = this._spec) === null || _d === void 0 ? void 0 : _d.delayTime) !== null && _e !== void 0 ? _e : 30) : 0;
92027
92011
  const realTime = (_g = (_f = this._spec) === null || _f === void 0 ? void 0 : _f.realTime) !== null && _g !== void 0 ? _g : true;
92028
92012
  const option = { delayType, delayTime, realTime, allowComponentZoom: true };
92029
92013
  if (this._zoomAttr.enable) {
@@ -95171,7 +95155,6 @@ class Player extends BaseComponent {
95171
95155
  this._option.globalInstance.on(ChartEvent.rendered, () => {
95172
95156
  var _a;
95173
95157
  if ((_a = this._spec) === null || _a === void 0 ? void 0 : _a.auto) {
95174
- this._playerComponent.pause();
95175
95158
  this._playerComponent.play();
95176
95159
  }
95177
95160
  });
@@ -96563,7 +96546,6 @@ class Brush extends BaseComponent {
96563
96546
  var _a;
96564
96547
  this._setRegionMarkPickable(region, true);
96565
96548
  const { operateMask } = e.detail;
96566
- const { updateElementsState = true } = this._spec;
96567
96549
  if ((_a = this._spec) === null || _a === void 0 ? void 0 : _a.onBrushEnd) {
96568
96550
  if (this._spec.onBrushEnd(e) === true) {
96569
96551
  this.clearGraphic();
@@ -96577,7 +96559,7 @@ class Brush extends BaseComponent {
96577
96559
  }
96578
96560
  else {
96579
96561
  const inBrushData = this._extendDataInBrush(this._inBrushElementsMap);
96580
- if ((!this._spec.zoomWhenEmpty && inBrushData.length > 0) || !updateElementsState) {
96562
+ if (!this._spec.zoomWhenEmpty && inBrushData.length > 0) {
96581
96563
  this._setAxisAndDataZoom(operateMask, region);
96582
96564
  }
96583
96565
  this._emitEvent(ChartEvent.brushEnd, region);
@@ -96586,9 +96568,8 @@ class Brush extends BaseComponent {
96586
96568
  brush.addEventListener(IOperateType.moveEnd, (e) => {
96587
96569
  this._setRegionMarkPickable(region, true);
96588
96570
  const { operateMask } = e.detail;
96589
- const { updateElementsState = true } = this._spec;
96590
96571
  const inBrushData = this._extendDataInBrush(this._inBrushElementsMap);
96591
- if ((!this._spec.zoomWhenEmpty && inBrushData.length > 0) || updateElementsState) {
96572
+ if (!this._spec.zoomWhenEmpty && inBrushData.length > 0) {
96592
96573
  this._setAxisAndDataZoom(operateMask, region);
96593
96574
  }
96594
96575
  this._emitEvent(ChartEvent.brushEnd, region);
@@ -96630,11 +96611,8 @@ class Brush extends BaseComponent {
96630
96611
  }
96631
96612
  _handleBrushChange(region, e) {
96632
96613
  const { operateMask } = e.detail;
96633
- const { updateElementsState = true } = this._spec;
96634
- if (updateElementsState) {
96635
- this._reconfigItem(operateMask, region);
96636
- this._reconfigLinkedItem(operateMask, region);
96637
- }
96614
+ this._reconfigItem(operateMask, region);
96615
+ this._reconfigLinkedItem(operateMask, region);
96638
96616
  }
96639
96617
  _extendDataInBrush(elementsMap) {
96640
96618
  var _a, _b;
@@ -97885,15 +97863,14 @@ const getDomStyle = (spec = {}) => {
97885
97863
  const marginKey = align === 'right' ? 'marginLeft' : 'marginRight';
97886
97864
  if (align === 'right') {
97887
97865
  panelStyle.direction = 'rtl';
97866
+ titleStyle.textAlign = 'right';
97867
+ keyStyle.textAlign = 'right';
97868
+ valueStyle.textAlign = 'left';
97888
97869
  }
97889
- if (isNil$1(titleStyle.textAlign)) {
97890
- titleStyle.textAlign = align === 'right' ? 'right' : 'left';
97891
- }
97892
- if (isNil$1(keyStyle.textAlign)) {
97893
- keyStyle.textAlign = align === 'right' ? 'right' : 'left';
97894
- }
97895
- if (isNil$1(valueStyle.textAlign)) {
97896
- valueStyle.textAlign = align === 'right' ? 'left' : 'right';
97870
+ else {
97871
+ titleStyle.textAlign = 'left';
97872
+ keyStyle.textAlign = 'left';
97873
+ valueStyle.textAlign = 'right';
97897
97874
  }
97898
97875
  shapeStyle[marginKey] = getPixelPropertyStr((_b = shape.spacing) !== null && _b !== void 0 ? _b : DEFAULT_SHAPE_SPACING);
97899
97876
  keyStyle[marginKey] = getPixelPropertyStr((_c = keyLabel.spacing) !== null && _c !== void 0 ? _c : DEFAULT_KEY_SPACING);
@@ -100210,4 +100187,4 @@ function registerSequentialAnimate() {
100210
100187
  mixin(BaseMark, SequentialAnimate);
100211
100188
  }
100212
100189
 
100213
- export { ArcMark, AreaChart, AreaMark, AreaSeries, AttributeLevel, AxisSyncPlugin, BandAxisMixin, BarChart, BarChartSpecTransformer, BarSeries, BarSeriesSpecTransformer, BaseArcMark, BaseChart, BaseChartSpecTransformer, BaseComponent, BaseComponentSpecTransformer, BaseHistogramChart, BaseMark, BasePieChart, BasePieChartSpecTransformer, BasePieSeries, BasePlugin, BasePolygonMark, BaseSeries, BaseSeriesSpecTransformer, BaseSeriesTooltipHelper, BaseWordCloudChart, BaseWordCloudChartSpecTransformer, BaseWordCloudSeries, BoxPlotChart, BoxPlotSeries, Brush, CanvasTooltipHandler, CartesianAxis, CartesianBandAxis, CartesianChartSpecTransformer, CartesianCrossHair, CartesianLinearAxis, CartesianLogAxis, CartesianMarkArea, CartesianMarkLine, CartesianMarkPoint, CartesianSeries, CartesianSymlogAxis, CartesianTimeAxis, ChartEvent, CirclePackingChart, CirclePackingSeries, CircularProgressChart, CircularProgressSeries, CommonChart, CommonChartSpecTransformer, CompilableData, ComponentMark, ContinuousLegend, CorrelationChart, CorrelationSeries, CustomMark, DEFAULT_ANIMATION_CONFIG, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CLOSE_STROKE_JOIN, DEFAULT_DATA_INDEX, DEFAULT_DATA_KEY, DEFAULT_DATA_SERIES_FIELD, DEFAULT_KEY, DEFAULT_LAYOUT_RECT_LEVEL, DEFAULT_LAYOUT_RECT_LEVEL_MIN, DEFAULT_LINEAR_INTERPOLATE, DEFAULT_MEASURE_CANVAS_ID, DEFAULT_SERIES_STYLE_NAME, DEFAULT_SMOOTH_INTERPOLATE, DataZoom, DimensionClickEvent, DimensionEventEnum, DimensionHoverEvent, Direction, DiscreteLegend, DomTooltipHandler, DotSeries, ElementHighlight, ElementSelect, Event$1 as Event, Factory, FormatterPlugin, FunnelChart, FunnelChartSpecTransformer, FunnelSeries, FunnelSeriesSpecTransformer, GaugeChart, GaugePointerSeries, GaugeSeries, GeoCoordinate, GeoMarkPoint, GeoSeries, GridLayout, GroupMark, HeatmapChart, HeatmapSeries, HistogramChart, HistogramChartSpecTransformer, ImageMark, Indicator, Label, Layout$1 as Layout, LayoutLevel, LayoutZIndex, LineChart, LineMark, LineSeries, LinearAxisMixin, LinearProgressChart, LinearProgressSeries, LinkSeries, LiquidChart, LiquidSeries, MOSAIC_CAT_END_PERCENT, MOSAIC_CAT_START_PERCENT, MOSAIC_VALUE_END_PERCENT, MOSAIC_VALUE_START_PERCENT, ManualTicker, MapChart, MapSeries, MarkTypeEnum, MediaQuery, MosaicChart, MosaicSeries, PREFIX, PathMark, PieChart, PieSeries, PieSeriesSpecTransformer, Player, PolarAxis, PolarBandAxis, PolarCrossHair, PolarLinearAxis, PolarMarkArea, PolarMarkLine, PolarMarkPoint, PolarSeries, PolygonMark, PositionEnum, ProgressLikeSeries, RadarChart, RadarSeries, RangeAreaChart, RangeAreaSeries, RangeColumnChart, RangeColumnSeries, RangeColumnSeriesSpecTransformer, RectMark, RenderModeEnum, RippleMark, RoseChart, RoseLikeSeries, RoseSeries, RuleMark, SEGMENT_FIELD_END, SEGMENT_FIELD_START, STACK_FIELD_END, STACK_FIELD_END_OffsetSilhouette, STACK_FIELD_END_PERCENT, STACK_FIELD_KEY, STACK_FIELD_START, STACK_FIELD_START_OffsetSilhouette, STACK_FIELD_START_PERCENT, STACK_FIELD_TOTAL, STACK_FIELD_TOTAL_BOTTOM, STACK_FIELD_TOTAL_PERCENT, STACK_FIELD_TOTAL_TOP, STATE_VALUE_ENUM, SankeyChart, SankeySeries, ScatterChart, ScatterSeries, ScrollBar, SequenceChart, SeriesMarkNameEnum, SeriesTypeEnum, SeriesTypeForThemeEnum, StreamLight, SunburstChart, SunburstSeries, SymbolMark, TextMark, ThemeManager, Title, Tooltip, TooltipResult, TotalLabel, TransformLevel, TreemapChart, TreemapSeries, USER_LAYOUT_RECT_LEVEL, VChart, VennChart, VennSeries, WaterfallChart, WaterfallSeries, WordCloudChart, WordCloudSeries, alternatingWave, animationConfig, barGrowIn, barGrowOut, barPresetAnimation, baseSeriesMark, boundsInRect, builtinThemes, calcLayoutNumber, calcPadding, centerToCorner, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, computeActualDataScheme, convertPoint, cornerToCenter, createArc, createArea, createGroup, createLine, createRect, createRichText, createSymbol, createText, darkTheme, dataScheme, VChart as default, defaultThemeName, diagonalCenterToEdge, diagonalTopLeftToBottomRight, findMarkGraphic, functionTransform, getActualColor, getActualNumValue, getCartesianCrosshairRect, getCartesianDimensionInfo, getColorSchemeBySeries, getCombinedSizeOfRegions, getDataScheme, getDatumOfGraphic, getDiffAttributesOfGraphic, getDimensionInfoByValue, getFieldAlias, getFunnelTheme, getMergedTheme, getPolarDimensionInfo, getRegionStackGroup, getSpecInfo, getTheme, hasThemeMerged, isCollectionMark, isColorKey, isPercent, isPercentOffset, isProgressiveDataColorScheme, isTokenKey, isValidOrient, isXAxis, isYAxis, isZAxis, lightTheme, lookup, measureText, mergeFields, normalizeLayoutPaddingSpec, particleEffect, pieDisappear, pieEnter, pieExit, piePresetAnimation, pulseWave, queryColorFromColorScheme, queryToken, randomOpacity, registerAllEnv, registerAllMarks, registerAnimate, registerArcAnimation, registerArcMark, registerAreaChart, registerAreaMark, registerAreaSeries, registerBarChart, registerBarSeries, registerBoxplotChart, registerBoxplotSeries, registerBrowserEnv, registerBrush, registerCanvasTooltipHandler, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerChartPlugin, registerCirclePackingChart, registerCirclePackingSeries, registerCircularProgressChart, registerCircularProgressSeries, registerCommonChart, registerComponentMark, registerContinuousLegend, registerCorrelationChart, registerCustomAnimate, registerCustomMark, registerDataSetInstanceParser, registerDataSetInstanceTransform, registerDataZoom, registerDimensionEvents, registerDimensionHover, registerDimensionTooltipProcessor, registerDiscreteLegend, registerDomTooltipHandler, registerDotSeries, registerDragPlugin, registerElementActive, registerElementActiveByLegend, registerElementHighlight, registerElementHighlightByGroup, registerElementHighlightByKey, registerElementHighlightByLegend, registerElementHighlightByName, registerElementSelect, registerFormatPlugin, registerFunnelChart, registerFunnelSeries, registerGaugeChart, registerGaugePointerSeries, registerGaugeSeries, registerGeoCoordinate, registerGeoMarkPoint, registerGesturePlugin, registerGridLayout, registerGroupMark, registerGroupTooltipProcessor, registerHarmonyEnv, registerHeatmapChart, registerHeatmapSeries, registerHistogramChart, registerHtmlAttributePlugin, registerImageMark, registerIndicator, registerLabel, registerLarkEnv, registerLineChart, registerLineMark, registerLineSeries, registerLinearProgressChart, registerLinearProgressSeries, registerLinkSeries, registerLiquidChart, registerLiquidSeries, registerLynxEnv, registerMapChart, registerMapSeries, registerMarkArea, registerMarkFilterTransform, registerMarkLine, registerMarkMapTransform, registerMarkPoint, registerMarkTooltipProcessor, registerMediaQuery, registerMosaicChart, registerMosaicSeries, registerNodeEnv, registerPathMark, registerPieChart, registerPieSeries, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPolarMarkArea, registerPolarMarkLine, registerPolarMarkPoint, registerPolygonAnimation, registerPolygonMark, registerPoptip, registerRadarChart, registerRadarSeries, registerRangeAreaChart, registerRangeAreaSeries, registerRangeColumnChart, registerRangeColumnSeries, registerReactAttributePlugin, registerRectAnimation, registerRectMark, registerRippleMark, registerRoseChart, registerRoseSeries, registerRuleMark, registerSankeyChart, registerSankeySeries, registerScatterChart, registerScatterSeries, registerScrollBar, registerSequenceChart, registerSequentialAnimate, registerStateTransition, registerSunBurstSeries, registerSunburstChart, registerSymbolMark, registerTTEnv, registerTaroEnv, registerTextMark, registerTheme, registerTitle, registerTooltip, registerTotalLabel, registerTreemapChart, registerTreemapSeries, registerAnimate$1 as registerVRenderAnimate, registerVennChart, registerVennSeries, registerWXEnv, registerWaterfallChart, registerWaterfallSeries, registerWordCloudChart, registerWordCloudSeries, registerWordCloudShapeChart, removeTheme, rippleEffect, rotationScan, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, shouldMarkDoMorph, snakeWave, sortStackValueGroup, specTransform, spiralEffect, stack, stackGroup, stackMosaic, stackMosaicTotal, stackOffsetSilhouette, stackTotal, themeExist, themes, token, transformColorSchemeToStandardStruct, transformToGraphic, userAnimationConfig, version, vglobal, warn };
100190
+ export { ArcMark, AreaChart, AreaMark, AreaSeries, AttributeLevel, AxisSyncPlugin, BandAxisMixin, BarChart, BarChartSpecTransformer, BarSeries, BarSeriesSpecTransformer, BaseArcMark, BaseChart, BaseChartSpecTransformer, BaseComponent, BaseComponentSpecTransformer, BaseHistogramChart, BaseMark, BasePieChart, BasePieChartSpecTransformer, BasePieSeries, BasePlugin, BasePolygonMark, BaseSeries, BaseSeriesSpecTransformer, BaseSeriesTooltipHelper, BaseWordCloudChart, BaseWordCloudChartSpecTransformer, BaseWordCloudSeries, BoxPlotChart, BoxPlotSeries, Brush, CanvasTooltipHandler, CartesianAxis, CartesianBandAxis, CartesianChartSpecTransformer, CartesianCrossHair, CartesianLinearAxis, CartesianLogAxis, CartesianMarkArea, CartesianMarkLine, CartesianMarkPoint, CartesianSeries, CartesianSymlogAxis, CartesianTimeAxis, ChartEvent, CirclePackingChart, CirclePackingSeries, CircularProgressChart, CircularProgressSeries, CommonChart, CommonChartSpecTransformer, CompilableData, ComponentMark, ContinuousLegend, CorrelationChart, CorrelationSeries, CustomMark, DEFAULT_ANIMATION_CONFIG, DEFAULT_CHART_HEIGHT, DEFAULT_CHART_WIDTH, DEFAULT_CLOSE_STROKE_JOIN, DEFAULT_DATA_INDEX, DEFAULT_DATA_KEY, DEFAULT_DATA_SERIES_FIELD, DEFAULT_KEY, DEFAULT_LAYOUT_RECT_LEVEL, DEFAULT_LAYOUT_RECT_LEVEL_MIN, DEFAULT_LINEAR_INTERPOLATE, DEFAULT_MEASURE_CANVAS_ID, DEFAULT_SERIES_STYLE_NAME, DEFAULT_SMOOTH_INTERPOLATE, DataZoom, DimensionClickEvent, DimensionEventEnum, DimensionHoverEvent, Direction, DiscreteLegend, DomTooltipHandler, DotSeries, ElementHighlight, ElementSelect, Event$1 as Event, Factory, FormatterPlugin, FunnelChart, FunnelChartSpecTransformer, FunnelSeries, FunnelSeriesSpecTransformer, GaugeChart, GaugePointerSeries, GaugeSeries, GeoCoordinate, GeoMarkPoint, GeoSeries, GridLayout, GroupMark, HeatmapChart, HeatmapSeries, HistogramChart, HistogramChartSpecTransformer, ImageMark, Indicator, Label, Layout$1 as Layout, LayoutLevel, LayoutZIndex, LineChart, LineMark, LineSeries, LinearAxisMixin, LinearProgressChart, LinearProgressSeries, LinkSeries, LiquidChart, LiquidSeries, MOSAIC_CAT_END_PERCENT, MOSAIC_CAT_START_PERCENT, MOSAIC_VALUE_END_PERCENT, MOSAIC_VALUE_START_PERCENT, ManualTicker, MapChart, MapSeries, MarkTypeEnum, MediaQuery, MosaicChart, MosaicSeries, PREFIX, PathMark, PieChart, PieSeries, PieSeriesSpecTransformer, Player, PolarAxis, PolarBandAxis, PolarCrossHair, PolarLinearAxis, PolarMarkArea, PolarMarkLine, PolarMarkPoint, PolarSeries, PolygonMark, PositionEnum, ProgressLikeSeries, RadarChart, RadarSeries, RangeAreaChart, RangeAreaSeries, RangeColumnChart, RangeColumnSeries, RangeColumnSeriesSpecTransformer, RectMark, RenderModeEnum, RippleMark, RoseChart, RoseLikeSeries, RoseSeries, RuleMark, SEGMENT_FIELD_END, SEGMENT_FIELD_START, STACK_FIELD_END, STACK_FIELD_END_OffsetSilhouette, STACK_FIELD_END_PERCENT, STACK_FIELD_KEY, STACK_FIELD_START, STACK_FIELD_START_OffsetSilhouette, STACK_FIELD_START_PERCENT, STACK_FIELD_TOTAL, STACK_FIELD_TOTAL_BOTTOM, STACK_FIELD_TOTAL_PERCENT, STACK_FIELD_TOTAL_TOP, STATE_VALUE_ENUM, SankeyChart, SankeySeries, ScatterChart, ScatterSeries, ScrollBar, SequenceChart, SeriesMarkNameEnum, SeriesTypeEnum, SeriesTypeForThemeEnum, StreamLight, SunburstChart, SunburstSeries, SymbolMark, TextMark, ThemeManager, Title, Tooltip, TooltipResult, TotalLabel, TransformLevel, TreemapChart, TreemapSeries, USER_LAYOUT_RECT_LEVEL, VChart, VennChart, VennSeries, WaterfallChart, WaterfallSeries, WordCloudChart, WordCloudSeries, alternatingWave, animationConfig, barGrowIn, barGrowOut, barPresetAnimation, baseSeriesMark, boundsInRect, builtinThemes, calcLayoutNumber, calcPadding, centerToCorner, columnCenterToEdge, columnEdgeToCenter, columnLeftToRight, columnRightToLeft, computeActualDataScheme, convertPoint, cornerToCenter, createArc, createArea, createGroup, createLine, createRect, createRichText, createSymbol, createText, darkTheme, dataScheme, VChart as default, defaultThemeName, diagonalCenterToEdge, diagonalTopLeftToBottomRight, findMarkGraphic, functionTransform, getActualColor, getActualNumValue, getCartesianCrosshairRect, getCartesianDimensionInfo, getColorSchemeBySeries, getCombinedSizeOfRegions, getDataScheme, getDatumOfGraphic, getDimensionInfoByValue, getFieldAlias, getFunnelTheme, getMergedTheme, getPolarDimensionInfo, getRegionStackGroup, getSpecInfo, getTheme, hasThemeMerged, isCollectionMark, isColorKey, isPercent, isPercentOffset, isProgressiveDataColorScheme, isTokenKey, isValidOrient, isXAxis, isYAxis, isZAxis, lightTheme, lookup, measureText, mergeFields, normalizeLayoutPaddingSpec, particleEffect, pieDisappear, pieEnter, pieExit, piePresetAnimation, pulseWave, queryColorFromColorScheme, queryToken, randomOpacity, registerAllEnv, registerAllMarks, registerAnimate, registerArcAnimation, registerArcMark, registerAreaChart, registerAreaMark, registerAreaSeries, registerBarChart, registerBarSeries, registerBoxplotChart, registerBoxplotSeries, registerBrowserEnv, registerBrush, registerCanvasTooltipHandler, registerCartesianBandAxis, registerCartesianCrossHair, registerCartesianLinearAxis, registerCartesianLogAxis, registerCartesianSymlogAxis, registerCartesianTimeAxis, registerChartPlugin, registerCirclePackingChart, registerCirclePackingSeries, registerCircularProgressChart, registerCircularProgressSeries, registerCommonChart, registerComponentMark, registerContinuousLegend, registerCorrelationChart, registerCustomAnimate, registerCustomMark, registerDataSetInstanceParser, registerDataSetInstanceTransform, registerDataZoom, registerDimensionEvents, registerDimensionHover, registerDimensionTooltipProcessor, registerDiscreteLegend, registerDomTooltipHandler, registerDotSeries, registerDragPlugin, registerElementActive, registerElementActiveByLegend, registerElementHighlight, registerElementHighlightByGroup, registerElementHighlightByKey, registerElementHighlightByLegend, registerElementHighlightByName, registerElementSelect, registerFormatPlugin, registerFunnelChart, registerFunnelSeries, registerGaugeChart, registerGaugePointerSeries, registerGaugeSeries, registerGeoCoordinate, registerGeoMarkPoint, registerGesturePlugin, registerGridLayout, registerGroupMark, registerGroupTooltipProcessor, registerHarmonyEnv, registerHeatmapChart, registerHeatmapSeries, registerHistogramChart, registerHtmlAttributePlugin, registerImageMark, registerIndicator, registerLabel, registerLarkEnv, registerLineChart, registerLineMark, registerLineSeries, registerLinearProgressChart, registerLinearProgressSeries, registerLinkSeries, registerLiquidChart, registerLiquidSeries, registerLynxEnv, registerMapChart, registerMapSeries, registerMarkArea, registerMarkFilterTransform, registerMarkLine, registerMarkMapTransform, registerMarkPoint, registerMarkTooltipProcessor, registerMediaQuery, registerMosaicChart, registerMosaicSeries, registerNodeEnv, registerPathMark, registerPieChart, registerPieSeries, registerPlayer, registerPolarBandAxis, registerPolarCrossHair, registerPolarLinearAxis, registerPolarMarkArea, registerPolarMarkLine, registerPolarMarkPoint, registerPolygonAnimation, registerPolygonMark, registerPoptip, registerRadarChart, registerRadarSeries, registerRangeAreaChart, registerRangeAreaSeries, registerRangeColumnChart, registerRangeColumnSeries, registerReactAttributePlugin, registerRectAnimation, registerRectMark, registerRippleMark, registerRoseChart, registerRoseSeries, registerRuleMark, registerSankeyChart, registerSankeySeries, registerScatterChart, registerScatterSeries, registerScrollBar, registerSequenceChart, registerSequentialAnimate, registerStateTransition, registerSunBurstSeries, registerSunburstChart, registerSymbolMark, registerTTEnv, registerTaroEnv, registerTextMark, registerTheme, registerTitle, registerTooltip, registerTotalLabel, registerTreemapChart, registerTreemapSeries, registerAnimate$1 as registerVRenderAnimate, registerVennChart, registerVennSeries, registerWXEnv, registerWaterfallChart, registerWaterfallSeries, registerWordCloudChart, registerWordCloudSeries, registerWordCloudShapeChart, removeTheme, rippleEffect, rotationScan, rowBottomToTop, rowCenterToEdge, rowEdgeToCenter, rowTopToBottom, shouldMarkDoMorph, snakeWave, sortStackValueGroup, specTransform, spiralEffect, stack, stackGroup, stackMosaic, stackMosaicTotal, stackOffsetSilhouette, stackTotal, themeExist, themes, token, transformColorSchemeToStandardStruct, transformToGraphic, userAnimationConfig, version, vglobal, warn };