@visactor/vtable 1.26.4 → 1.26.5

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 (143) hide show
  1. package/cjs/ListTable.d.ts +1 -0
  2. package/cjs/ListTable.js +24 -8
  3. package/cjs/ListTable.js.map +1 -1
  4. package/cjs/body-helper/style.js +2 -1
  5. package/cjs/components/index.js +1 -2
  6. package/cjs/components/legend/discrete-legend/discrete-legend.d.ts +1 -1
  7. package/cjs/core/BaseTable.js +18 -18
  8. package/cjs/core/BaseTable.js.map +1 -1
  9. package/cjs/data/DataSource.js +1 -2
  10. package/cjs/dataset/DataStatistics.js +2 -1
  11. package/cjs/header-helper/style.js +2 -1
  12. package/cjs/index.d.ts +1 -1
  13. package/cjs/index.js +1 -1
  14. package/cjs/index.js.map +1 -1
  15. package/cjs/layout/index.js +1 -2
  16. package/cjs/plugins/custom-cell-style.js +1 -1
  17. package/cjs/scenegraph/animation/appear.js +18 -3
  18. package/cjs/scenegraph/animation/appear.js.map +1 -1
  19. package/cjs/scenegraph/component/custom.js +3 -3
  20. package/cjs/scenegraph/component/custom.js.map +1 -1
  21. package/cjs/scenegraph/component/menu.js +4 -4
  22. package/cjs/scenegraph/component/menu.js.map +1 -1
  23. package/cjs/scenegraph/graphic/chart.d.ts +6 -1
  24. package/cjs/scenegraph/graphic/chart.js +38 -4
  25. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  26. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js +2 -1
  27. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  28. package/cjs/scenegraph/graphic/group.d.ts +3 -1
  29. package/cjs/scenegraph/graphic/group.js +21 -3
  30. package/cjs/scenegraph/graphic/group.js.map +1 -1
  31. package/cjs/scenegraph/group-creater/cell-helper.js +4 -3
  32. package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
  33. package/cjs/scenegraph/group-creater/cell-type/button-cell.js +2 -2
  34. package/cjs/scenegraph/group-creater/cell-type/button-cell.js.map +1 -1
  35. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js +4 -4
  36. package/cjs/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  37. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js +2 -2
  38. package/cjs/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -1
  39. package/cjs/scenegraph/group-creater/cell-type/image-cell.js +2 -2
  40. package/cjs/scenegraph/group-creater/cell-type/image-cell.js.map +1 -1
  41. package/cjs/scenegraph/group-creater/cell-type/radio-cell.js +2 -2
  42. package/cjs/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -1
  43. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +2 -2
  44. package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  45. package/cjs/scenegraph/group-creater/cell-type/switch-cell.js +2 -2
  46. package/cjs/scenegraph/group-creater/cell-type/switch-cell.js.map +1 -1
  47. package/cjs/scenegraph/group-creater/cell-type/text-cell.js +6 -6
  48. package/cjs/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  49. package/cjs/scenegraph/group-creater/cell-type/video-cell.js +10 -7
  50. package/cjs/scenegraph/group-creater/cell-type/video-cell.js.map +1 -1
  51. package/cjs/scenegraph/group-creater/column-helper.js +3 -2
  52. package/cjs/scenegraph/group-creater/column-helper.js.map +1 -1
  53. package/cjs/scenegraph/runtime-contributions.d.ts +2 -0
  54. package/cjs/scenegraph/runtime-contributions.js +28 -0
  55. package/cjs/scenegraph/runtime-contributions.js.map +1 -0
  56. package/cjs/scenegraph/scenegraph.d.ts +4 -1
  57. package/cjs/scenegraph/scenegraph.js +39 -15
  58. package/cjs/scenegraph/scenegraph.js.map +1 -1
  59. package/cjs/scenegraph/utils/text-icon-layout.d.ts +4 -0
  60. package/cjs/scenegraph/utils/text-icon-layout.js +23 -6
  61. package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
  62. package/cjs/scenegraph/utils/text-measure.js.map +1 -1
  63. package/cjs/ts-types/base-table.d.ts +4 -1
  64. package/cjs/ts-types/base-table.js.map +1 -1
  65. package/cjs/vrender-app.d.ts +20 -0
  66. package/cjs/vrender-app.js +141 -0
  67. package/cjs/vrender-app.js.map +1 -0
  68. package/cjs/vrender.d.ts +17 -1
  69. package/cjs/vrender.js +36 -15
  70. package/cjs/vrender.js.map +1 -1
  71. package/dist/vtable.js +105835 -96838
  72. package/dist/vtable.min.js +1 -1
  73. package/es/ListTable.d.ts +1 -0
  74. package/es/ListTable.js +24 -7
  75. package/es/ListTable.js.map +1 -1
  76. package/es/body-helper/style.js +2 -1
  77. package/es/components/index.js +1 -2
  78. package/es/components/legend/discrete-legend/discrete-legend.d.ts +1 -1
  79. package/es/core/BaseTable.js +18 -18
  80. package/es/core/BaseTable.js.map +1 -1
  81. package/es/data/DataSource.js +1 -2
  82. package/es/dataset/DataStatistics.js +2 -1
  83. package/es/header-helper/style.js +2 -1
  84. package/es/index.d.ts +1 -1
  85. package/es/index.js +1 -1
  86. package/es/index.js.map +1 -1
  87. package/es/layout/index.js +1 -2
  88. package/es/plugins/custom-cell-style.js +1 -1
  89. package/es/scenegraph/animation/appear.js +18 -3
  90. package/es/scenegraph/animation/appear.js.map +1 -1
  91. package/es/scenegraph/component/custom.js +3 -3
  92. package/es/scenegraph/component/custom.js.map +1 -1
  93. package/es/scenegraph/component/menu.js +4 -4
  94. package/es/scenegraph/component/menu.js.map +1 -1
  95. package/es/scenegraph/graphic/chart.d.ts +6 -1
  96. package/es/scenegraph/graphic/chart.js +39 -3
  97. package/es/scenegraph/graphic/chart.js.map +1 -1
  98. package/es/scenegraph/graphic/contributions/chart-render-helper.js +2 -1
  99. package/es/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  100. package/es/scenegraph/graphic/group.d.ts +3 -1
  101. package/es/scenegraph/graphic/group.js +21 -3
  102. package/es/scenegraph/graphic/group.js.map +1 -1
  103. package/es/scenegraph/group-creater/cell-helper.js +4 -3
  104. package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
  105. package/es/scenegraph/group-creater/cell-type/button-cell.js +2 -2
  106. package/es/scenegraph/group-creater/cell-type/button-cell.js.map +1 -1
  107. package/es/scenegraph/group-creater/cell-type/chart-cell.js +4 -4
  108. package/es/scenegraph/group-creater/cell-type/chart-cell.js.map +1 -1
  109. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js +2 -2
  110. package/es/scenegraph/group-creater/cell-type/checkbox-cell.js.map +1 -1
  111. package/es/scenegraph/group-creater/cell-type/image-cell.js +2 -2
  112. package/es/scenegraph/group-creater/cell-type/image-cell.js.map +1 -1
  113. package/es/scenegraph/group-creater/cell-type/radio-cell.js +2 -2
  114. package/es/scenegraph/group-creater/cell-type/radio-cell.js.map +1 -1
  115. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +2 -2
  116. package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
  117. package/es/scenegraph/group-creater/cell-type/switch-cell.js +2 -2
  118. package/es/scenegraph/group-creater/cell-type/switch-cell.js.map +1 -1
  119. package/es/scenegraph/group-creater/cell-type/text-cell.js +5 -5
  120. package/es/scenegraph/group-creater/cell-type/text-cell.js.map +1 -1
  121. package/es/scenegraph/group-creater/cell-type/video-cell.js +10 -7
  122. package/es/scenegraph/group-creater/cell-type/video-cell.js.map +1 -1
  123. package/es/scenegraph/group-creater/column-helper.js +3 -2
  124. package/es/scenegraph/group-creater/column-helper.js.map +1 -1
  125. package/es/scenegraph/runtime-contributions.d.ts +2 -0
  126. package/es/scenegraph/runtime-contributions.js +20 -0
  127. package/es/scenegraph/runtime-contributions.js.map +1 -0
  128. package/es/scenegraph/scenegraph.d.ts +4 -1
  129. package/es/scenegraph/scenegraph.js +41 -15
  130. package/es/scenegraph/scenegraph.js.map +1 -1
  131. package/es/scenegraph/utils/text-icon-layout.d.ts +4 -0
  132. package/es/scenegraph/utils/text-icon-layout.js +18 -2
  133. package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
  134. package/es/scenegraph/utils/text-measure.js.map +1 -1
  135. package/es/ts-types/base-table.d.ts +4 -1
  136. package/es/ts-types/base-table.js.map +1 -1
  137. package/es/vrender-app.d.ts +20 -0
  138. package/es/vrender-app.js +161 -0
  139. package/es/vrender-app.js.map +1 -0
  140. package/es/vrender.d.ts +17 -1
  141. package/es/vrender.js +27 -8
  142. package/es/vrender.js.map +1 -1
  143. package/package.json +8 -7
@@ -49,4 +49,5 @@ function of(columnStyle, bodyStyle, styleArg, StyleClassDef = Style_1.Style, glo
49
49
  StyleClassDef === CheckboxStyle_1.CheckboxStyle ? new CheckboxStyle_1.CheckboxStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_a = theme.checkboxStyle) && void 0 !== _a ? _a : {}) : StyleClassDef === RadioStyle_1.RadioStyle ? new RadioStyle_1.RadioStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_b = theme.radioStyle) && void 0 !== _b ? _b : {}) : StyleClassDef === SwitchStyle_1.SwitchStyle ? new SwitchStyle_1.SwitchStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_c = theme.switchStyle) && void 0 !== _c ? _c : {}) : StyleClassDef === ButtonStyle_1.ButtonStyle ? new ButtonStyle_1.ButtonStyle(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {}, null !== (_d = theme.buttonStyle) && void 0 !== _d ? _d : {}) : new StyleClassDef(null != columnStyle ? columnStyle : {}, null != bodyStyle ? bodyStyle : {})) : StyleClassDef.DEFAULT;
50
50
  }
51
51
 
52
- exports.EVENT_TYPE = EVENT_TYPE, exports.of = of;
52
+ exports.EVENT_TYPE = EVENT_TYPE, exports.of = of;
53
+ //# sourceMappingURL=style.js.map
@@ -46,5 +46,4 @@ const registerAnimation = () => {
46
46
  (0, vrender_1.registerCustomAnimate)(), (0, vrender_1.registerAnimate)();
47
47
  };
48
48
 
49
- exports.registerAnimation = registerAnimation;
50
- //# sourceMappingURL=index.js.map
49
+ exports.registerAnimation = registerAnimation;
@@ -15,7 +15,7 @@ export declare class DiscreteTableLegend {
15
15
  resize(): void;
16
16
  adjustTableSize(attrs: any): void;
17
17
  getLegendAttributes(rect: any): any;
18
- getLegendItems(): import("@visactor/vrender-components/es/legend/discrete/type").LegendItemDatum[];
18
+ getLegendItems(): import("@visactor/vrender-components/legend/discrete/type").LegendItemDatum[];
19
19
  initEvent(): void;
20
20
  getLegendBounds(): {
21
21
  width: number;
@@ -45,7 +45,7 @@ class BaseTable extends EventTarget_1.EventTarget {
45
45
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
46
46
  if (super(), this.showFrozenIcon = !0, this._scrollToRowCorrectTimer = null, this._tableBorderWidth_left = 0,
47
47
  this._tableBorderWidth_right = 0, this._tableBorderWidth_top = 0, this._tableBorderWidth_bottom = 0,
48
- this.version = "1.26.4", this.id = `VTable${Date.now()}`, this.isReleased = !1,
48
+ this.version = "1.26.5", this.id = `VTable${Date.now()}`, this.isReleased = !1,
49
49
  this._chartEventMap = {}, this.throttleInvalidate = (0, util_1.throttle2)(this.render.bind(this), 200),
50
50
  "undefined" != typeof window) {
51
51
  const g = window;
@@ -57,7 +57,7 @@ class BaseTable extends EventTarget_1.EventTarget {
57
57
  });
58
58
  registry.byId[this.id] = this, registry.list.push(this), registry.last = this, g.__vtable_last_id__ = this.id;
59
59
  }
60
- if ("node" === env_1.Env.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container,
60
+ if ("node" === env_1.Env.mode ? (options = container, container = null) : !container || container instanceof HTMLElement || (options = container,
61
61
  container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
62
62
  this.pluginManager = new plugin_manager_1.PluginManager(this, options), this.fireListeners(TABLE_EVENT_TYPE_1.TABLE_EVENT_TYPE.BEFORE_INIT, {
63
63
  options: options,
@@ -902,7 +902,7 @@ class BaseTable extends EventTarget_1.EventTarget {
902
902
  }
903
903
  getBodyVisibleCellRange() {
904
904
  var _a, _b, _c, _d;
905
- const {scrollTop: scrollTop, scrollLeft: scrollLeft} = this, frozenColsContentWidth = this.getFrozenColsContentWidth(), frozenColsOffset = this.getFrozenColsOffset(), bottomFrozenRowsHeight = this.getBottomFrozenRowsHeight(), rightFrozenColsWidth = this.getRightFrozenColsWidth(), rowStart = Math.max(null !== (_b = null === (_a = this.getTargetRowAt(scrollTop + 1)) || void 0 === _a ? void 0 : _a.row) && void 0 !== _b ? _b : -1, this.frozenRowCount), {col: colStart} = this.getColAt(scrollLeft + frozenColsContentWidth + 1), rowEnd = this.getAllRowsHeight() > this.tableNoFrameHeight ? Math.max(null !== (_d = null === (_c = this.getTargetRowAt(scrollTop + this.tableNoFrameHeight - 1 - bottomFrozenRowsHeight)) || void 0 === _c ? void 0 : _c.row) && void 0 !== _d ? _d : -1, rowStart) : this.rowCount - 1, colEnd = this.getAllColsWidth() > this.tableNoFrameWidth ? this.getColAt(scrollLeft + frozenColsOffset + this.tableNoFrameWidth - 1 - rightFrozenColsWidth).col : this.colCount - 1;
905
+ const {scrollTop: scrollTop, scrollLeft: scrollLeft} = this, frozenColsContentWidth = this.getFrozenColsContentWidth(), frozenColsOffset = this.getFrozenColsOffset(), bottomFrozenRowsHeight = this.getBottomFrozenRowsHeight(), rightFrozenColsWidth = this.getRightFrozenColsWidth(), frozenHeaderHeight = this.frozenRowCount > this.columnHeaderLevelCount ? this.getRowsHeight(0, this.columnHeaderLevelCount - 1) : 0, rowStart = Math.max(null !== (_b = null === (_a = this.getTargetRowAt(scrollTop + 1)) || void 0 === _a ? void 0 : _a.row) && void 0 !== _b ? _b : -1, this.frozenRowCount), {col: colStart} = this.getColAt(scrollLeft + frozenColsContentWidth + 1), rowEnd = this.getAllRowsHeight() > this.tableNoFrameHeight ? Math.max(null !== (_d = null === (_c = this.getTargetRowAt(scrollTop + this.tableNoFrameHeight - 1 - bottomFrozenRowsHeight - frozenHeaderHeight)) || void 0 === _c ? void 0 : _c.row) && void 0 !== _d ? _d : -1, rowStart) : this.rowCount - 1, colEnd = this.getAllColsWidth() > this.tableNoFrameWidth ? this.getColAt(scrollLeft + frozenColsOffset + this.tableNoFrameWidth - 1 - rightFrozenColsWidth).col : this.colCount - 1;
906
906
  return colEnd < 0 || rowEnd < 0 ? null : {
907
907
  rowStart: rowStart,
908
908
  colStart: colStart,
@@ -912,7 +912,7 @@ class BaseTable extends EventTarget_1.EventTarget {
912
912
  }
913
913
  getBodyVisibleRowRange(start_deltaY = 0, end_deltaY = 0) {
914
914
  var _a, _b, _c, _d;
915
- const {scrollTop: scrollTop} = this, bottomFrozenRowsHeight = this.getBottomFrozenRowsHeight(), rowStart = Math.max(null !== (_b = null === (_a = this.getTargetRowAt(scrollTop + 1 + start_deltaY)) || void 0 === _a ? void 0 : _a.row) && void 0 !== _b ? _b : -1, this.frozenRowCount), rowEnd = this.getAllRowsHeight() > this.tableNoFrameHeight ? Math.max(null !== (_d = null === (_c = this.getTargetRowAt(scrollTop + this.tableNoFrameHeight - 1 - bottomFrozenRowsHeight + end_deltaY)) || void 0 === _c ? void 0 : _c.row) && void 0 !== _d ? _d : -1, rowStart) : this.rowCount - 1;
915
+ const {scrollTop: scrollTop} = this, bottomFrozenRowsHeight = this.getBottomFrozenRowsHeight(), frozenHeaderHeight = this.frozenRowCount > this.columnHeaderLevelCount ? this.getRowsHeight(0, this.columnHeaderLevelCount - 1) : 0, rowStart = Math.max(null !== (_b = null === (_a = this.getTargetRowAt(scrollTop + 1 + start_deltaY)) || void 0 === _a ? void 0 : _a.row) && void 0 !== _b ? _b : -1, this.frozenRowCount), rowEnd = this.getAllRowsHeight() > this.tableNoFrameHeight ? Math.max(null !== (_d = null === (_c = this.getTargetRowAt(scrollTop + this.tableNoFrameHeight - 1 - bottomFrozenRowsHeight - frozenHeaderHeight + end_deltaY)) || void 0 === _c ? void 0 : _c.row) && void 0 !== _d ? _d : -1, rowStart) : this.rowCount - 1;
916
916
  return rowEnd < 0 ? null : {
917
917
  rowStart: rowStart,
918
918
  rowEnd: rowEnd
@@ -976,7 +976,7 @@ class BaseTable extends EventTarget_1.EventTarget {
976
976
  this._scrollToRowCorrectTimer && (clearTimeout(this._scrollToRowCorrectTimer), this._scrollToRowCorrectTimer = null);
977
977
  }
978
978
  release() {
979
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
979
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
980
980
  if ("undefined" != typeof window) {
981
981
  const g = window;
982
982
  (null == g ? void 0 : g[this.id]) === this ? delete g[this.id] : (null == g ? void 0 : g[this.id]) && (g[this.id] = null);
@@ -990,29 +990,29 @@ class BaseTable extends EventTarget_1.EventTarget {
990
990
  if (this.isReleased) return;
991
991
  null === (_f = null === (_e = null === (_d = this.scenegraph) || void 0 === _d ? void 0 : _d.component) || void 0 === _e ? void 0 : _e.vScrollBar) || void 0 === _f || _f.release(),
992
992
  null === (_j = null === (_h = null === (_g = this.scenegraph) || void 0 === _g ? void 0 : _g.component) || void 0 === _h ? void 0 : _h.hScrollBar) || void 0 === _j || _j.release(),
993
- this.animationManager.clear(), this.animationManager.ticker.release(), null === (_m = null === (_l = null === (_k = this.scenegraph) || void 0 === _k ? void 0 : _k.stage) || void 0 === _l ? void 0 : _l.ticker) || void 0 === _m || _m.release();
993
+ this.animationManager.clear(), this.animationManager.ticker.release(), (null === (_k = this.scenegraph) || void 0 === _k ? void 0 : _k.stageOwned) && (null === (_o = null === (_m = null === (_l = this.scenegraph) || void 0 === _l ? void 0 : _l.stage) || void 0 === _m ? void 0 : _m.ticker) || void 0 === _o || _o.release());
994
994
  const internalProps = this.internalProps, canvas = null == internalProps ? void 0 : internalProps.canvas;
995
995
  (null == canvas ? void 0 : canvas.__vtable__) === this && (delete canvas.__vtable__,
996
996
  delete canvas.__vtable_id__);
997
997
  const element = null == internalProps ? void 0 : internalProps.element;
998
998
  (null == element ? void 0 : element.__vtable__) === this && (delete element.__vtable__,
999
- delete element.__vtable_id__), this.clearCorrectTimer(), null === (_p = null === (_o = internalProps.tooltipHandler) || void 0 === _o ? void 0 : _o.release) || void 0 === _p || _p.call(_o),
1000
- null === (_r = null === (_q = internalProps.menuHandler) || void 0 === _q ? void 0 : _q.release) || void 0 === _r || _r.call(_q),
1001
- null === (_s = super.release) || void 0 === _s || _s.call(this), this.pluginManager.release(),
1002
- null === (_u = null === (_t = internalProps.handler) || void 0 === _t ? void 0 : _t.release) || void 0 === _u || _u.call(_t),
1003
- this.eventManager.release(), null === (_w = null === (_v = internalProps.focusControl) || void 0 === _v ? void 0 : _v.release) || void 0 === _w || _w.call(_v),
1004
- null === (_x = internalProps.legends) || void 0 === _x || _x.forEach((legend => {
999
+ delete element.__vtable_id__), this.clearCorrectTimer(), null === (_q = null === (_p = internalProps.tooltipHandler) || void 0 === _p ? void 0 : _p.release) || void 0 === _q || _q.call(_p),
1000
+ null === (_s = null === (_r = internalProps.menuHandler) || void 0 === _r ? void 0 : _r.release) || void 0 === _s || _s.call(_r),
1001
+ null === (_t = super.release) || void 0 === _t || _t.call(this), this.pluginManager.release(),
1002
+ null === (_v = null === (_u = internalProps.handler) || void 0 === _u ? void 0 : _u.release) || void 0 === _v || _v.call(_u),
1003
+ this.eventManager.release(), null === (_x = null === (_w = internalProps.focusControl) || void 0 === _w ? void 0 : _w.release) || void 0 === _x || _x.call(_w),
1004
+ null === (_y = internalProps.legends) || void 0 === _y || _y.forEach((legend => {
1005
1005
  null == legend || legend.release();
1006
- })), null === (_y = internalProps.title) || void 0 === _y || _y.release(), internalProps.title = null,
1007
- null === (_z = internalProps.emptyTip) || void 0 === _z || _z.release(), internalProps.emptyTip = null,
1006
+ })), null === (_z = internalProps.title) || void 0 === _z || _z.release(), internalProps.title = null,
1007
+ null === (_0 = internalProps.emptyTip) || void 0 === _0 || _0.release(), internalProps.emptyTip = null,
1008
1008
  internalProps.layoutMap.release(), internalProps.releaseList && (internalProps.releaseList.forEach((releaseObj => {
1009
1009
  var _a;
1010
1010
  return null === (_a = null == releaseObj ? void 0 : releaseObj.release) || void 0 === _a ? void 0 : _a.call(releaseObj);
1011
- })), internalProps.releaseList = null), this.scenegraph.stage.release(), this.scenegraph.proxy.release();
1012
- const parentElement = null === (_0 = internalProps.element) || void 0 === _0 ? void 0 : _0.parentElement;
1011
+ })), internalProps.releaseList = null), this.scenegraph.releaseStage(), this.scenegraph.proxy.release();
1012
+ const parentElement = null === (_1 = internalProps.element) || void 0 === _1 ? void 0 : _1.parentElement;
1013
1013
  parentElement && !this.options.canvas && parentElement.removeChild(internalProps.element),
1014
- null === (_3 = null === (_2 = null === (_1 = this.editorManager) || void 0 === _1 ? void 0 : _1.editingEditor) || void 0 === _2 ? void 0 : _2.onEnd) || void 0 === _3 || _3.call(_2),
1015
- this.isReleased = !0, this.scenegraph = null, this.internalProps = null, null === (_4 = this.reactCustomLayout) || void 0 === _4 || _4.clearCache(),
1014
+ null === (_4 = null === (_3 = null === (_2 = this.editorManager) || void 0 === _2 ? void 0 : _2.editingEditor) || void 0 === _3 ? void 0 : _3.onEnd) || void 0 === _4 || _4.call(_3),
1015
+ this.isReleased = !0, this.scenegraph = null, this.internalProps = null, null === (_5 = this.reactCustomLayout) || void 0 === _5 || _5.clearCache(),
1016
1016
  (0, chart_render_helper_1.clearChartRenderQueue)();
1017
1017
  }
1018
1018
  fireListeners(type, event) {