Skip to content

Commit

Permalink
Merge pull request #966 from VisActor/release/0.18.1
Browse files Browse the repository at this point in the history
[Auto release] release 0.18.1
  • Loading branch information
fangsmile committed Jan 19, 2024
2 parents f6ce5f2 + 8cc54b0 commit 2166dff
Show file tree
Hide file tree
Showing 10 changed files with 74 additions and 9 deletions.
2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"0.18.0","mainProject":"@visactor/vtable","nextBump":"minor"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"0.18.1","mainProject":"@visactor/vtable","nextBump":"patch"}]
22 changes: 22 additions & 0 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# v0.18.0

2024-01-19


**🆕 New feature**

- **@visactor/vtable**: pivotchart support pie
- **@visactor/vtable**: add customLayout & customRander in customMergeCell
- **@visactor/vtable**: add eventOptions [#914](https://github.com/VisActor/VTable/issues/914)

**🐛 Bug fix**

- **@visactor/vtable**: handle with chartSpec barWidth set string type
- **@visactor/vtable**: addRecords api call when body no data [#953](https://github.com/VisActor/VTable/issues/953)
- **@visactor/vtable**: mouse drag to move Header position has error when column has multi-levels [#957](https://github.com/VisActor/VTable/issues/957)
- **@visactor/vtable**: when resize column width bottomFrozenRow height should update [#954](https://github.com/VisActor/VTable/issues/954)



[more detail about v0.18.0](https://github.com/VisActor/VTable/releases/tag/v0.18.0)

# v0.17.10

2024-01-18
Expand Down
22 changes: 22 additions & 0 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# v0.18.0

2024-01-19


**🆕 新增功能**

- **@visactor/vtable**: 支持 pivotchart 中配置显示饼图
- **@visactor/vtable**: 在 customMergeCell 中添加 customLayout & customRander
- **@visactor/vtable**: 添加 eventOptions [#914](https://github.com/VisActor/VTable/issues/914)

**🐛 功能修复**

- **@visactor/vtable**: 处理 chartSpec barWidth 设置为字符串类型的情况
- **@visactor/vtable**: 修复当 body 没有数据时调用 addRecords api报错问题 [#953](https://github.com/VisActor/VTable/issues/953)
- **@visactor/vtable**: 修复当列有多级时,鼠标拖动移动 Header 位置有误 [#957](https://github.com/VisActor/VTable/issues/957)
- **@visactor/vtable**: 修复当调整列宽时,应更新 bottomFrozenRow 的高度 [#954](https://github.com/VisActor/VTable/issues/954)



[更多详情请查看 v0.18.0](https://github.com/VisActor/VTable/releases/tag/v0.18.0)

# v0.17.10

2024-01-18
Expand Down
2 changes: 1 addition & 1 deletion packages/react-vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vtable",
"version": "0.18.0",
"version": "0.18.1",
"description": "The react version of VTable",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-editors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-editors",
"version": "0.18.0",
"version": "0.18.1",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-export",
"version": "0.18.0",
"version": "0.18.1",
"description": "The export util of VTable",
"author": {
"name": "VisActor",
Expand Down
12 changes: 12 additions & 0 deletions packages/vtable/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/vtable",
"entries": [
{
"version": "0.18.1",
"tag": "@visactor/vtable_v0.18.1",
"date": "Fri, 19 Jan 2024 11:43:14 GMT",
"comments": {
"none": [
{
"comment": "fix: fix funciton updateColumnWidth occor error\n\n"
}
]
}
},
{
"version": "0.18.0",
"tag": "@visactor/vtable_v0.18.0",
Expand Down
11 changes: 10 additions & 1 deletion packages/vtable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Change Log - @visactor/vtable

This log was last generated on Fri, 19 Jan 2024 10:43:47 GMT and should not be manually modified.
This log was last generated on Fri, 19 Jan 2024 11:43:14 GMT and should not be manually modified.

## 0.18.1
Fri, 19 Jan 2024 11:43:14 GMT

### Updates

- fix: fix funciton updateColumnWidth occor error



## 0.18.0
Fri, 19 Jan 2024 10:43:47 GMT
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable",
"version": "0.18.0",
"version": "0.18.1",
"description": "canvas table width high performance",
"keywords": [
"grid",
Expand Down
6 changes: 3 additions & 3 deletions packages/vtable/src/scenegraph/layout/update-width.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function updateColunmWidth(
const leftBottomFrozenColumnGroup = scene.getColGroupInLeftBottomCorner(col);
// reset cell y
let y = 0;
leftBottomFrozenColumnGroup.forEachChildren((cellGroup: Group) => {
leftBottomFrozenColumnGroup?.forEachChildren((cellGroup: Group) => {
cellGroup.setAttribute('y', y);
y += scene.table.getRowHeight(cellGroup.row);
});
Expand All @@ -212,7 +212,7 @@ function updateColunmWidth(
const rightBottomFrozenColumnGroup = scene.getColGroupInRightBottomCorner(col);
// reset cell y
let y = 0;
rightBottomFrozenColumnGroup.forEachChildren((cellGroup: Group) => {
rightBottomFrozenColumnGroup?.forEachChildren((cellGroup: Group) => {
cellGroup.setAttribute('y', y);
y += scene.table.getRowHeight(cellGroup.row);
});
Expand All @@ -222,7 +222,7 @@ function updateColunmWidth(
const rightBottomFrozenColumnGroup = scene.getColGroupInBottom(col);
// reset cell y
let y = 0;
rightBottomFrozenColumnGroup.forEachChildren((cellGroup: Group) => {
rightBottomFrozenColumnGroup?.forEachChildren((cellGroup: Group) => {
cellGroup.setAttribute('y', y);
y += scene.table.getRowHeight(cellGroup.row);
});
Expand Down

0 comments on commit 2166dff

Please sign in to comment.