@visactor/vtable 1.16.0-alpha.0 → 1.16.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.
- package/cjs/PivotTable.js +3 -3
- package/cjs/PivotTable.js.map +1 -1
- package/cjs/core/BaseTable.js +2 -1
- package/cjs/core/BaseTable.js.map +1 -1
- package/cjs/event/media-click.js +21 -6
- package/cjs/event/media-click.js.map +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/layout/pivot-header-layout.js +35 -38
- package/cjs/layout/pivot-header-layout.js.map +1 -1
- package/cjs/layout/simple-header-layout.js +1 -1
- package/cjs/layout/simple-header-layout.js.map +1 -1
- package/cjs/scenegraph/group-creater/cell-helper.js +10 -2
- package/cjs/scenegraph/group-creater/cell-helper.js.map +1 -1
- package/cjs/scenegraph/scenegraph.js +2 -7
- package/cjs/scenegraph/scenegraph.js.map +1 -1
- package/cjs/scenegraph/utils/text-icon-layout.js +1 -0
- package/cjs/scenegraph/utils/text-icon-layout.js.map +1 -1
- package/cjs/scenegraph/utils/text-measure.js +6 -2
- package/cjs/scenegraph/utils/text-measure.js.map +1 -1
- package/cjs/state/checkbox/checkbox.js +1 -1
- package/cjs/state/checkbox/checkbox.js.map +1 -1
- package/cjs/ts-types/list-table/define/link-define.d.ts +4 -4
- package/cjs/ts-types/list-table/define/link-define.js.map +1 -1
- package/cjs/ts-types/style-define.d.ts +1 -1
- package/cjs/ts-types/style-define.js.map +1 -1
- package/cjs/vrender.js.map +1 -1
- package/dist/vtable.js +76 -48
- package/dist/vtable.min.js +2 -2
- package/es/PivotTable.js +3 -3
- package/es/PivotTable.js.map +1 -1
- package/es/core/BaseTable.js +2 -1
- package/es/core/BaseTable.js.map +1 -1
- package/es/event/media-click.js +22 -5
- package/es/event/media-click.js.map +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/es/layout/pivot-header-layout.js +35 -38
- package/es/layout/pivot-header-layout.js.map +1 -1
- package/es/layout/simple-header-layout.js +1 -1
- package/es/layout/simple-header-layout.js.map +1 -1
- package/es/scenegraph/group-creater/cell-helper.js +10 -3
- package/es/scenegraph/group-creater/cell-helper.js.map +1 -1
- package/es/scenegraph/scenegraph.js +1 -8
- package/es/scenegraph/scenegraph.js.map +1 -1
- package/es/scenegraph/utils/text-icon-layout.js +1 -0
- package/es/scenegraph/utils/text-icon-layout.js.map +1 -1
- package/es/scenegraph/utils/text-measure.js +7 -3
- package/es/scenegraph/utils/text-measure.js.map +1 -1
- package/es/state/checkbox/checkbox.js +2 -2
- package/es/state/checkbox/checkbox.js.map +1 -1
- package/es/ts-types/list-table/define/link-define.d.ts +4 -4
- package/es/ts-types/list-table/define/link-define.js.map +1 -1
- package/es/ts-types/style-define.d.ts +1 -1
- package/es/ts-types/style-define.js.map +1 -1
- package/es/vrender.js.map +1 -1
- package/package.json +4 -4
package/cjs/PivotTable.js
CHANGED
|
@@ -672,9 +672,9 @@ class PivotTable extends BaseTable_1.BaseTable {
|
|
|
672
672
|
beforeUpdateCell && beforeUpdateCell(), this.refreshRowColCount();
|
|
673
673
|
this.frozenColCount, this.frozenRowCount;
|
|
674
674
|
this.clearCellStyleCache(), "tree" === this.rowHierarchyType && this.scenegraph.updateHierarchyIcon(col, row),
|
|
675
|
-
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.
|
|
676
|
-
this.
|
|
677
|
-
null === (_b = this.reactCustomLayout) || void 0 === _b || _b.updateAllCustomCell(),
|
|
675
|
+
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(),
|
|
676
|
+
this.scenegraph.clearCells(), this.clearCellStyleCache(), this.scenegraph.createSceneGraph(),
|
|
677
|
+
this.scrollToRow(visibleStartRow)), null === (_b = this.reactCustomLayout) || void 0 === _b || _b.updateAllCustomCell(),
|
|
678
678
|
checkHasChart && (this.autoFillWidth && !notFillWidth && (notFillWidth = this.getAllColsWidth() <= this.tableNoFrameWidth),
|
|
679
679
|
this.autoFillHeight && !notFillHeight && (notFillHeight = this.getAllRowsHeight() <= this.tableNoFrameHeight),
|
|
680
680
|
("adaptive" === this.widthMode || notFillWidth || "adaptive" === this.heightMode || notFillHeight) && this.scenegraph.updateChartSizeForResizeColWidth(-1)),
|