Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
34c08d5
fix: fix react component update #3474
Rui-Sun Mar 21, 2025
4a31c45
fix: add arg for isAutoRowHeight()
Rui-Sun Mar 21, 2025
f3e307a
Merge remote-tracking branch 'origin/develop' into fix/react-componen…
Rui-Sun Mar 21, 2025
62ae0af
fix: fix return type in updateCell()
Rui-Sun Mar 21, 2025
f5793a2
Merge remote-tracking branch 'origin/develop' into fix/react-componen…
Rui-Sun Mar 21, 2025
e6aa3b1
fix: duplicate registration verification of VTableVueAttributePlugin
Mar 21, 2025
0c19d35
perf: supports the transmission of context
Mar 21, 2025
653d014
feat: add can_scroll event
Rui-Sun Mar 24, 2025
352d086
fix: add cell position trim
Rui-Sun Mar 24, 2025
3cb63f8
fix: fix select position trim logic
Rui-Sun Mar 24, 2025
d31c47c
Merge pull request #3610 from 7dingdang0/perf/vue-custom-render
fangsmile Mar 24, 2025
9145819
fix: fix video play icon position
Rui-Sun Mar 24, 2025
52de25a
Merge pull request #3609 from VisActor/fix/react-component-update
Rui-Sun Mar 24, 2025
acb0c94
fix: fix IRowSeriesNumber radio type
Rui-Sun Mar 24, 2025
731517f
build: prelease version 1.17.3
github-actions[bot] Mar 24, 2025
19989b1
Merge pull request #3617 from VisActor/release/1.17.3
Rui-Sun Mar 24, 2025
3359b4a
Merge pull request #3620 from VisActor/main
Rui-Sun Mar 24, 2025
18b5ca6
docs: generate changelog of release v1.17.3
Rui-Sun Mar 24, 2025
244ffd7
docs: translate release log
Rui-Sun Mar 24, 2025
c2e5bf5
Merge pull request #3622 from VisActor/docs/generate-changelog-v1.17.3
Rui-Sun Mar 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

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.17.2","mainProject":"@visactor/vtable","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.17.3","mainProject":"@visactor/vtable","nextBump":"patch"}]
25 changes: 25 additions & 0 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
# v1.17.3

2025-03-24


**🆕 New feature**

- **@visactor/vtable**: rowSeriesNumber support cell type radio [#3558](https://github.com/VisActor/VTable/issues/3558)
- **@visactor/vtable**: add custom reactAttributePlugin in react-vtable
- **@visactor/vtable**: add maintainedColumnCount config

**🐛 Bug fix**

- **@visactor/vtable**: selection mergeCell extend range [#3529](https://github.com/VisActor/VTable/issues/3529)
- **@visactor/vtable**: set cellInnerBorder false frame border render error [#3574](https://github.com/VisActor/VTable/issues/3574)
- **@visactor/vtable**: fix cell border in cell with corner-radius
- **@visactor/vtable**: fix axis label autosize computation
- **@visactor/vtable**: fix small window size frozen column count
- **@visactor/vtable**: columnWidthConfig match dimension error
- **@visactor/vtable**: fix react component update [#3474](https://github.com/VisActor/VTable/issues/3474)
- **@visactor/vtable**: fix right button select problem
- **@visactor/vtable**: fix row update range [#3468](https://github.com/VisActor/VTable/issues/3468)

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

# v1.17.2

2025-03-11
Expand Down
24 changes: 24 additions & 0 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# v1.17.3

2025-03-24

**🆕 新增功能**

- **@visactor/vtable**: 行序号支持单选按钮类型 [#3558](https://github.com/VisActor/VTable/issues/3558)
- **@visactor/vtable**: 在 react-vtable 中添加自定义 reactAttributePlugin
- **@visactor/vtable**: 添加 maintainedColumnCount 配置

**🐛 功能修复**

- **@visactor/vtable**: 修复选择合并单元格扩展范围问题 [#3529](https://github.com/VisActor/VTable/issues/3529)
- **@visactor/vtable**: 修复设置 cellInnerBorder 为 false 时边框渲染错误 [#3574](https://github.com/VisActor/VTable/issues/3574)
- **@visactor/vtable**: 修复带圆角单元格的边框问题
- **@visactor/vtable**: 修复坐标轴标签自动大小计算
- **@visactor/vtable**: 修复小窗口大小下冻结列数问题
- **@visactor/vtable**: 修复 columnWidthConfig 维度匹配错误
- **@visactor/vtable**: 修复 React 组件更新问题 [#3474](https://github.com/VisActor/VTable/issues/3474)
- **@visactor/vtable**: 修复右键选择问题
- **@visactor/vtable**: 修复行更新范围问题 [#3468](https://github.com/VisActor/VTable/issues/3468)

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

# v1.17.2

2025-03-11
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.17.2",
"version": "1.17.3",
"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.17.2",
"version": "1.17.3",
"description": "The react version of VTable",
"keywords": [
"react",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,28 @@ export const CustomLayout: React.FC<CustomLayoutProps> = (props: PropsWithChildr
// customLayout function for vtable
const createGraphic: ICustomLayoutFuc = useCallback(
args => {
const key = `${args.originCol ?? args.col}-${args.originRow ?? args.row}`;
const key = `${args.originCol ?? args.col}-${args.originRow ?? args.row}${
args.forComputation ? '-forComputation' : ''
}`;
let group;
if (container.current.has(key)) {
const currentContainer = container.current.get(key);
// reconcilor.updateContainer(React.cloneElement(children, { ...args }), currentContainer, null);
reconcilorUpdateContainer(children, currentContainer, args);
group = currentContainer.containerInfo;
// 这里更新group,可能会残留dx dy
} else {
group = new Group({});
const currentContainer = reconcilor.createContainer(group, LegacyRoot, null, null, null, 'custom', null, null);
const currentContainer = reconcilor.createContainer(
group as any,
LegacyRoot,
null,
null,
null,
'custom',
null,
null
);
container.current.set(key, currentContainer);
reconcilorUpdateContainer(children, currentContainer, args);
// const ele = React.cloneElement(children, { ...args });
// reconcilor.updateContainer(ele, currentContainer, null);
}

return {
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-calendar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-calendar",
"version": "1.17.2",
"version": "1.17.3",
"description": "The calendar component of VTable",
"author": {
"name": "VisActor",
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.17.2",
"version": "1.17.3",
"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.17.2",
"version": "1.17.3",
"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.17.2",
"version": "1.17.3",
"description": "canvas table width high performance",
"keywords": [
"vtable-gantt",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-plugins",
"version": "1.17.2",
"version": "1.17.3",
"description": "The search util of VTable",
"author": {
"name": "VisActor",
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.17.2",
"version": "1.17.3",
"description": "The search util of VTable",
"author": {
"name": "VisActor",
Expand Down
45 changes: 45 additions & 0 deletions packages/vtable/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,51 @@
{
"name": "@visactor/vtable",
"entries": [
{
"version": "1.17.3",
"tag": "@visactor/vtable_v1.17.3",
"date": "Mon, 24 Mar 2025 09:35:45 GMT",
"comments": {
"none": [
{
"comment": "fix: selection mergeCell extend range #3529\n\n"
},
{
"comment": "feat: rowSeriesNumber support cell type radio #3558\n\n"
},
{
"comment": "fix: set cellInnerBorder false frame border render error #3574\n\n"
},
{
"comment": "feat: add custom reactAttributePlugin in react-vtable"
},
{
"comment": "feat: add maintainedColumnCount config"
},
{
"comment": "fix: fix cell border in cell with corner-radius"
},
{
"comment": "fix: fix axis label autosize computation"
},
{
"comment": "fix: fix small window size frozen column count"
},
{
"comment": "fix: columnWidthConfig match dimension error\n\n"
},
{
"comment": "fix: fix react component update #3474"
},
{
"comment": "fix: fix right button select problem"
},
{
"comment": "fix: fix row update range #3468"
}
]
}
},
{
"version": "1.17.2",
"tag": "@visactor/vtable_v1.17.2",
Expand Down
28 changes: 27 additions & 1 deletion packages/vtable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
# Change Log - @visactor/vtable

This log was last generated on Tue, 11 Mar 2025 08:19:47 GMT and should not be manually modified.
This log was last generated on Mon, 24 Mar 2025 09:35:45 GMT and should not be manually modified.

## 1.17.3
Mon, 24 Mar 2025 09:35:45 GMT

### Updates

- fix: selection mergeCell extend range #3529


- feat: rowSeriesNumber support cell type radio #3558


- fix: set cellInnerBorder false frame border render error #3574


- feat: add custom reactAttributePlugin in react-vtable
- feat: add maintainedColumnCount config
- fix: fix cell border in cell with corner-radius
- fix: fix axis label autosize computation
- fix: fix small window size frozen column count
- fix: columnWidthConfig match dimension error


- fix: fix react component update #3474
- fix: fix right button select problem
- fix: fix row update range #3468

## 1.17.2
Tue, 11 Mar 2025 08:19:47 GMT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe('listTable init test', () => {
expect(listTable.stateManager?.select.ranges).toEqual([
{ start: { col: 1, row: 3 }, end: { col: 4, row: 6 }, skipBodyMerge: true },
{ start: { col: 0, row: 4 }, end: { col: 7, row: 4 }, skipBodyMerge: true },
{ start: { col: 4, row: 36 }, end: { col: 7, row: 36 }, skipBodyMerge: true }
{ start: { col: 4, row: 20 }, end: { col: 7, row: 20 }, skipBodyMerge: true }
]);
expect(listTable.getScrollTop()).toBe(scrollTop);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable/__tests__/listTable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ describe('listTable init test', () => {
expect(listTable.stateManager?.select.ranges).toEqual([
{ start: { col: 1, row: 3 }, end: { col: 4, row: 6 }, skipBodyMerge: true },
{ start: { col: 0, row: 4 }, end: { col: 7, row: 4 }, skipBodyMerge: true },
{ start: { col: 4, row: 36 }, end: { col: 7, row: 36 }, skipBodyMerge: true }
{ start: { col: 4, row: 20 }, end: { col: 7, row: 20 }, skipBodyMerge: true }
]);
expect(listTable.getScrollTop()).toBe(scrollTop);
});
Expand Down
Loading