Skip to content

Commit

Permalink
Merge pull request #2597 from VisActor/release/1.9.1
Browse files Browse the repository at this point in the history
[Auto release] release 1.9.1
  • Loading branch information
fangsmile authored Oct 12, 2024
2 parents c337065 + c338f13 commit 8e57142
Show file tree
Hide file tree
Showing 14 changed files with 94 additions and 16 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":"1.9.0","mainProject":"@visactor/vtable","nextBump":"minor"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.9.1","mainProject":"@visactor/vtable","nextBump":"patch"}]
29 changes: 29 additions & 0 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,32 @@
# v1.9.0

2024-10-11


**🆕 New feature**

- **@visactor/vtable**: add scrollTo animation function

**🐛 Bug fix**

- **@visactor/vtable**: when dimension set width auto but no records, the col width not compute [#2515](https://github.com/VisActor/VTable/issues/2515)
- **@visactor/vtable**: when call updateColumns should update aggregation [#2519](https://github.com/VisActor/VTable/issues/2519)
- **@visactor/vtable**: change outsideClickDeselect trigger time when pointerdown [#2553](https://github.com/VisActor/VTable/issues/2553)
- **@visactor/vtable**: when sort with row series number occor error [#2558](https://github.com/VisActor/VTable/issues/2558)
- **@visactor/vtable**: fix select auto-scroll in bottom [#2546](https://github.com/VisActor/VTable/issues/2546)
- **@visactor/vtable**: fix auto size in react custom component
- **@visactor/vtable**: fix custom component flash when cell resizes [#2516](https://github.com/VisActor/VTable/issues/2516)
- **@visactor/vtable**: fix custom component in forzen cell [#2568](https://github.com/VisActor/VTable/issues/2568)
- **@visactor/vtable**: fix legend with padding layout size
- **@visactor/vtable**: fix cellLocation in createComplexColumn [#2517](https://github.com/VisActor/VTable/issues/2517)
- **@visactor/vtable**: fix merge cell select range [#2521](https://github.com/VisActor/VTable/issues/2521)

**🔨 Refactor**

- **@visactor/vtable**: when value is promise cell style function should await [#2549](https://github.com/VisActor/VTable/issues/2549)

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

# v1.8.2

2024-10-08
Expand Down
39 changes: 34 additions & 5 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,41 @@
# v1.9.0

2024-10-11


**🆕 新增功能**

- **@visactor/vtable**: 增加scrollTo动画功能

**🐛 功能修复**

- **@visactor/vtable**: 修复无数据时维度列宽计算 [#2515](https://github.com/VisActor/VTable/issues/2515)
- **@visactor/vtable**: 修复updateColumns调用时的聚合更新 [#2519](https://github.com/VisActor/VTable/issues/2519)
- **@visactor/vtable**: 修复pointerdown事件中outsideClickDeselect判断时机 [#2553](https://github.com/VisActor/VTable/issues/2553)
- **@visactor/vtable**: 修复序号列排序问题 [#2558](https://github.com/VisActor/VTable/issues/2558)
- **@visactor/vtable**: 修复底部单元格选中无法自动滚动问题 [#2546](https://github.com/VisActor/VTable/issues/2546)
- **@visactor/vtable**: 修复自定义组件自动行高列宽的计算问题
- **@visactor/vtable**: 修复拖拽行列时自定义组件的闪烁问题 [#2516](https://github.com/VisActor/VTable/issues/2516)
- **@visactor/vtable**: 修复冻结单元格中自定义组件的更新问题 [#2568](https://github.com/VisActor/VTable/issues/2568)
- **@visactor/vtable**: 修复带有padding的图例布局计算
- **@visactor/vtable**: 修复创建单元格时的cellLocation计算问题 [#2517](https://github.com/VisActor/VTable/issues/2517)
- **@visactor/vtable**: 修复合并单元格选中区域记录 [#2521](https://github.com/VisActor/VTable/issues/2521)

**🔨 功能重构**

- **@visactor/vtable**: 异步单元格样式获取增加等待 [#2549](https://github.com/VisActor/VTable/issues/2549)

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

# v1.8.2

2024-10-08


**🐛 功能修复**

- **@visactor/vtable**: fix richtext icon update [#2281](https://github.com/VisActor/VTable/issues/2281)


- **@visactor/vtable**: 修复富文本图标状态更新问题 [#2281](https://github.com/VisActor/VTable/issues/2281)



[更多详情请查看 v1.8.2](https://github.com/VisActor/VTable/releases/tag/v1.8.2)
Expand All @@ -17,8 +46,8 @@


**🔨 功能重构**

- **@visactor/vue-vtable**: rename vue component name

- **@visactor/vue-vtable**: 重命名vue组件

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

Expand Down
2 changes: 1 addition & 1 deletion packages/openinula-vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/openinula-vtable",
"version": "1.9.0",
"version": "1.9.1",
"description": "The openinula version of VTable",
"keywords": [
"openinula",
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": "1.9.0",
"version": "1.9.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": "1.9.0",
"version": "1.9.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": "1.9.0",
"version": "1.9.1",
"description": "The export util of VTable",
"author": {
"name": "VisActor",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-gantt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-gantt",
"version": "1.9.0",
"version": "1.9.1",
"description": "canvas table width high performance",
"keywords": [
"vtable-gantt",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-search/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-search",
"version": "1.9.0",
"version": "1.9.1",
"description": "The search 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": "1.9.1",
"tag": "@visactor/vtable_v1.9.1",
"date": "Sat, 12 Oct 2024 07:07:25 GMT",
"comments": {
"none": [
{
"comment": "fix: fix sort icon update in merge cell"
}
]
}
},
{
"version": "1.9.0",
"tag": "@visactor/vtable_v1.9.0",
Expand Down
9 changes: 8 additions & 1 deletion packages/vtable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @visactor/vtable

This log was last generated on Fri, 11 Oct 2024 11:35:17 GMT and should not be manually modified.
This log was last generated on Sat, 12 Oct 2024 07:07:25 GMT and should not be manually modified.

## 1.9.1
Sat, 12 Oct 2024 07:07:25 GMT

### Updates

- fix: fix sort icon update in merge cell

## 1.9.0
Fri, 11 Oct 2024 11:35:17 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": "1.9.0",
"version": "1.9.1",
"description": "canvas table width high performance",
"keywords": [
"grid",
Expand Down
3 changes: 2 additions & 1 deletion packages/vtable/src/state/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,8 @@ export class StateManager {
// 执行sort
dealSort(col, row, this.table as ListTableAPI, event);

const currentSortItem = this.sort.find(item => item.col === col && item.row === row);
const range = this.table.getCellRange(col, row);
const currentSortItem = this.sort.find(item => item.col === range.start.col && item.row === range.start.row);

const oldSortCol = this.table.internalProps.multipleSort || !previousSortItem ? null : previousSortItem.col;
const oldSortRow = this.table.internalProps.multipleSort || !previousSortItem ? null : previousSortItem.row;
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vue-vtable",
"version": "1.9.0",
"version": "1.9.1",
"description": "The vue version of VTable",
"keywords": [
"vue",
Expand Down

0 comments on commit 8e57142

Please sign in to comment.