@visactor/vtable 1.17.4-alpha.4 → 1.17.4-alpha.6

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 (63) hide show
  1. package/cjs/ListTable.js +2 -2
  2. package/cjs/ListTable.js.map +1 -1
  3. package/cjs/PivotChart.js +0 -1
  4. package/cjs/PivotChart.js.map +1 -1
  5. package/cjs/PivotTable.js +1 -2
  6. package/cjs/PivotTable.js.map +1 -1
  7. package/cjs/core/BaseTable.js +5 -6
  8. package/cjs/core/BaseTable.js.map +1 -1
  9. package/cjs/index.d.ts +1 -1
  10. package/cjs/index.js +1 -1
  11. package/cjs/index.js.map +1 -1
  12. package/cjs/scenegraph/graphic/chart.d.ts +2 -2
  13. package/cjs/scenegraph/graphic/chart.js +1 -1
  14. package/cjs/scenegraph/graphic/chart.js.map +1 -1
  15. package/cjs/scenegraph/graphic/contributions/chart-render-helper.d.ts +2 -3
  16. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js +8 -14
  17. package/cjs/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  18. package/cjs/scenegraph/graphic/contributions/index.js +4 -2
  19. package/cjs/scenegraph/graphic/contributions/index.js.map +1 -1
  20. package/cjs/scenegraph/graphic/contributions/picker-interceptor.d.ts +8 -0
  21. package/cjs/scenegraph/graphic/contributions/picker-interceptor.js +42 -0
  22. package/cjs/scenegraph/graphic/contributions/picker-interceptor.js.map +1 -0
  23. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.d.ts +6 -0
  24. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.js +31 -0
  25. package/cjs/scenegraph/graphic/contributions/vchart-graphic-picker.js.map +1 -0
  26. package/cjs/state/hover/update-position.js +3 -1
  27. package/cjs/state/hover/update-position.js.map +1 -1
  28. package/cjs/ts-types/base-table.d.ts +1 -0
  29. package/cjs/ts-types/base-table.js.map +1 -1
  30. package/cjs/vrender.js.map +1 -1
  31. package/dist/vtable.js +37 -25
  32. package/dist/vtable.min.js +1 -1
  33. package/es/ListTable.js +1 -3
  34. package/es/ListTable.js.map +1 -1
  35. package/es/PivotChart.js +1 -2
  36. package/es/PivotChart.js.map +1 -1
  37. package/es/PivotTable.js +0 -3
  38. package/es/PivotTable.js.map +1 -1
  39. package/es/core/BaseTable.js +6 -7
  40. package/es/core/BaseTable.js.map +1 -1
  41. package/es/index.d.ts +1 -1
  42. package/es/index.js +1 -1
  43. package/es/index.js.map +1 -1
  44. package/es/scenegraph/graphic/chart.d.ts +2 -2
  45. package/es/scenegraph/graphic/chart.js +2 -2
  46. package/es/scenegraph/graphic/chart.js.map +1 -1
  47. package/es/scenegraph/graphic/contributions/chart-render-helper.d.ts +2 -3
  48. package/es/scenegraph/graphic/contributions/chart-render-helper.js +7 -11
  49. package/es/scenegraph/graphic/contributions/chart-render-helper.js.map +1 -1
  50. package/es/scenegraph/graphic/contributions/index.js +5 -2
  51. package/es/scenegraph/graphic/contributions/index.js.map +1 -1
  52. package/es/scenegraph/graphic/contributions/picker-interceptor.d.ts +8 -0
  53. package/es/scenegraph/graphic/contributions/picker-interceptor.js +37 -0
  54. package/es/scenegraph/graphic/contributions/picker-interceptor.js.map +1 -0
  55. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.d.ts +6 -0
  56. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.js +29 -0
  57. package/es/scenegraph/graphic/contributions/vchart-graphic-picker.js.map +1 -0
  58. package/es/state/hover/update-position.js +3 -1
  59. package/es/state/hover/update-position.js.map +1 -1
  60. package/es/ts-types/base-table.d.ts +1 -0
  61. package/es/ts-types/base-table.js.map +1 -1
  62. package/es/vrender.js.map +1 -1
  63. package/package.json +4 -4
@@ -48,7 +48,7 @@ import { FocusInput } from "./FouseInput";
48
48
 
49
49
  import { defaultPixelRatio } from "../tools/pixel-ratio";
50
50
 
51
- import { clearChartRenderQueue, setBatchRenderChartCount } from "../scenegraph/graphic/contributions/chart-render-helper";
51
+ import { setBatchRenderChartCount } from "../scenegraph/graphic/contributions/chart-render-helper";
52
52
 
53
53
  import { NumberRangeMap } from "../layout/row-height-map";
54
54
 
@@ -90,7 +90,7 @@ export class BaseTable extends EventTarget {
90
90
  }
91
91
  constructor(container, options = {}) {
92
92
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
93
- if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.4", this.id = `VTable${Date.now()}`,
93
+ if (super(), this.showFrozenIcon = !0, this.version = "1.17.4-alpha.6", this.id = `VTable${Date.now()}`,
94
94
  this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200),
95
95
  !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
96
96
  !1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
@@ -886,8 +886,7 @@ export class BaseTable extends EventTarget {
886
886
  const {parentElement: parentElement} = internalProps.element;
887
887
  parentElement && !this.options.canvas && parentElement.removeChild(internalProps.element),
888
888
  null === (_q = null === (_p = null === (_o = this.editorManager) || void 0 === _o ? void 0 : _o.editingEditor) || void 0 === _p ? void 0 : _p.onEnd) || void 0 === _q || _q.call(_p),
889
- this.isReleased = !0, this.scenegraph = null, this.internalProps = null, null === (_r = this.reactCustomLayout) || void 0 === _r || _r.clearCache(),
890
- clearChartRenderQueue();
889
+ this.isReleased = !0, this.scenegraph = null, this.internalProps = null, null === (_r = this.reactCustomLayout) || void 0 === _r || _r.clearCache();
891
890
  }
892
891
  fireListeners(type, event) {
893
892
  return super.fireListeners(type, event);
@@ -935,9 +934,9 @@ export class BaseTable extends EventTarget {
935
934
  null == legend || legend.release();
936
935
  })), null === (_k = internalProps.title) || void 0 === _k || _k.release(), internalProps.title = null,
937
936
  null === (_l = internalProps.emptyTip) || void 0 === _l || _l.release(), internalProps.emptyTip = null,
938
- internalProps.layoutMap.release(), clearChartRenderQueue(), this.scenegraph.clearCells(),
939
- this.scenegraph.updateComponent(), this.stateManager.updateOptionSetState(), this._updateSize(),
940
- this.eventManager.updateEventBinder(), options.legends) {
937
+ internalProps.layoutMap.release(), this.scenegraph.clearCells(), this.scenegraph.updateComponent(),
938
+ this.stateManager.updateOptionSetState(), this._updateSize(), this.eventManager.updateEventBinder(),
939
+ options.legends) {
941
940
  internalProps.legends = [];
942
941
  const createLegend = Factory.getFunction("createLegend");
943
942
  if (Array.isArray(options.legends)) {