@visactor/vtable 1.16.0-alpha.0 → 1.16.0-alpha.1

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 (45) hide show
  1. package/cjs/PivotTable.js +3 -3
  2. package/cjs/PivotTable.js.map +1 -1
  3. package/cjs/body-helper/body-helper.js +1 -1
  4. package/cjs/body-helper/style.js +2 -1
  5. package/cjs/core/BaseTable.js +3 -3
  6. package/cjs/core/BaseTable.js.map +1 -1
  7. package/cjs/dataset/dataset-pivot-table.js +2 -1
  8. package/cjs/dataset/flatDataToObject.js +1 -2
  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/layout/index.js +2 -1
  13. package/cjs/layout/row-height-map.js +1 -1
  14. package/cjs/layout/simple-header-layout.js +1 -1
  15. package/cjs/layout/tree-helper.js +1 -1
  16. package/cjs/plugins/custom-cell-style.js +1 -1
  17. package/cjs/plugins/icons.js +1 -1
  18. package/cjs/plugins/invert-highlight.js +1 -1
  19. package/cjs/plugins/list-tree-stick-cell.js +1 -2
  20. package/cjs/plugins/themes.js +1 -1
  21. package/cjs/vrender.js.map +1 -1
  22. package/dist/vtable.js +4 -2
  23. package/dist/vtable.min.js +1 -1
  24. package/es/PivotTable.js +3 -3
  25. package/es/PivotTable.js.map +1 -1
  26. package/es/body-helper/body-helper.js +1 -1
  27. package/es/body-helper/style.js +2 -1
  28. package/es/core/BaseTable.js +3 -3
  29. package/es/core/BaseTable.js.map +1 -1
  30. package/es/dataset/dataset-pivot-table.js +2 -1
  31. package/es/dataset/flatDataToObject.js +1 -2
  32. package/es/index.d.ts +1 -1
  33. package/es/index.js +1 -1
  34. package/es/index.js.map +1 -1
  35. package/es/layout/index.js +2 -1
  36. package/es/layout/row-height-map.js +1 -1
  37. package/es/layout/simple-header-layout.js +1 -1
  38. package/es/layout/tree-helper.js +1 -1
  39. package/es/plugins/custom-cell-style.js +1 -1
  40. package/es/plugins/icons.js +1 -1
  41. package/es/plugins/invert-highlight.js +1 -1
  42. package/es/plugins/list-tree-stick-cell.js +1 -2
  43. package/es/plugins/themes.js +1 -1
  44. package/es/vrender.js.map +1 -1
  45. package/package.json +4 -4
package/es/PivotTable.js CHANGED
@@ -667,9 +667,9 @@ export class PivotTable extends BaseTable {
667
667
  beforeUpdateCell && beforeUpdateCell(), this.refreshRowColCount();
668
668
  this.frozenColCount, this.frozenRowCount;
669
669
  this.clearCellStyleCache(), "tree" === this.rowHierarchyType && this.scenegraph.updateHierarchyIcon(col, row),
670
- null === (_a = this.reactCustomLayout) || void 0 === _a || _a.clearCache(), "grid-tree" !== this.rowHierarchyType && "grid-tree" !== this.columnHierarchyType ? this.scenegraph.updateRow(result.removeCellPositionsRowDirection, result.addCellPositionsRowDirection, result.updateCellPositionsRowDirection, recalculateColWidths) : (this.scenegraph.clearCells(),
671
- this.clearCellStyleCache(), this.scenegraph.createSceneGraph(), this.scrollToRow(visibleStartRow)),
672
- null === (_b = this.reactCustomLayout) || void 0 === _b || _b.updateAllCustomCell(),
670
+ null === (_a = this.reactCustomLayout) || void 0 === _a || _a.clearCache(), "grid-tree" !== this.rowHierarchyType && "grid-tree" !== this.columnHierarchyType ? this.scenegraph.updateRow(result.removeCellPositionsRowDirection, result.addCellPositionsRowDirection, result.updateCellPositionsRowDirection, recalculateColWidths) : (this.internalProps.stick.changedCells.clear(),
671
+ this.scenegraph.clearCells(), this.clearCellStyleCache(), this.scenegraph.createSceneGraph(),
672
+ this.scrollToRow(visibleStartRow)), null === (_b = this.reactCustomLayout) || void 0 === _b || _b.updateAllCustomCell(),
673
673
  checkHasChart && (this.autoFillWidth && !notFillWidth && (notFillWidth = this.getAllColsWidth() <= this.tableNoFrameWidth),
674
674
  this.autoFillHeight && !notFillHeight && (notFillHeight = this.getAllRowsHeight() <= this.tableNoFrameHeight),
675
675
  ("adaptive" === this.widthMode || notFillWidth || "adaptive" === this.heightMode || notFillHeight) && this.scenegraph.updateChartSizeForResizeColWidth(-1)),