Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
39eaa85
refactor: modify file structor
fangsmile Mar 11, 2025
3592409
refactor: plugins manager
fangsmile Mar 13, 2025
d1dfb4d
refactor: plugins manager
fangsmile Mar 13, 2025
9498c2a
refactor: plugins progress
fangsmile Mar 14, 2025
003eb24
refactor: plugins progress
fangsmile Mar 14, 2025
b35ee3f
feat: add column series plugins
fangsmile Mar 14, 2025
2ccc010
feat: add column series plugin
fangsmile Mar 17, 2025
e7bfa53
feat: add column series plugin
fangsmile Mar 17, 2025
0f65af1
feat: add excel keyboard plugin
fangsmile Mar 21, 2025
f7402c4
refactor: invert-highlight change to focus highlight
fangsmile Mar 25, 2025
d1ae0e7
refactor: carouselAnimationPlugin change
fangsmile Mar 25, 2025
bd4ebdb
refactor: excel keyboard plugin
fangsmile Mar 27, 2025
6f77921
feat: refactor carousel animation
fangsmile Apr 1, 2025
03b9f79
fix: excel keyboard action
fangsmile Apr 3, 2025
11392ba
chore: update start server command
fangsmile Apr 3, 2025
3eb0d5b
docs: add plugins usage
fangsmile Apr 9, 2025
8ce2212
Merge remote-tracking branch 'origin/develop' into feat/add_row_col_b…
fangsmile Apr 11, 2025
23245fd
docs: add plugins tutorial
fangsmile Apr 11, 2025
8183fd0
docs: add row column plus plugin
fangsmile Apr 11, 2025
ff4f959
feat: add menu/disabled config
Apr 14, 2025
7d0c5b7
feat: add menu/disabled config
Apr 14, 2025
07490d8
feat: add list-contextMenu-disabledMenu demo
Apr 14, 2025
06bc107
docs: add MenuListItem/disabled config and update menu-list-item.md r…
Apr 14, 2025
d848fba
Merge pull request #3732 from alonesmall/menuListItem/disabled
fangsmile Apr 14, 2025
9286319
feat: add onBeforeCacheChartImage event
fangsmile Apr 14, 2025
1b62632
docs: update changlog of rush
fangsmile Apr 14, 2025
e30b002
docs: add plugin usage and contribute guide
fangsmile Apr 14, 2025
49976e1
docs: add plugin demos
fangsmile Apr 15, 2025
6ea5f55
docs: add plugin tutorial english
fangsmile Apr 15, 2025
8a0f369
docs: add plugins tutorial
fangsmile Apr 15, 2025
672d28a
fix: correct column index calculation when rowSeriesNumber is configured
zzzhrookie Apr 16, 2025
b7e6410
docs: update changlog of rush
zzzhrookie Apr 16, 2025
3c30630
feat: add autoExtendColumn for plugin
fangsmile Apr 16, 2025
6ac9ed4
Merge pull request #3747 from zzzhrookie/fix/column-index-calculation…
fangsmile Apr 16, 2025
e9e57c3
Merge remote-tracking branch 'origin/develop' into feat/add_row_col_b…
fangsmile Apr 16, 2025
e4604a3
feat: add chart picker
xuefei1313 Mar 24, 2025
d8011dd
feat: add chart picker
xuefei1313 Mar 24, 2025
e41c9af
feat: use group point to pick
xuefei1313 Mar 25, 2025
be1f291
feat: support customConfig disableBuildInChartActive
xuefei1313 Mar 27, 2025
e824931
docs: update changlog of rush
xuefei1313 Mar 27, 2025
c93a93b
fix: fix row/column update problem in text-stick #3744
Rui-Sun Apr 16, 2025
4ae3f98
fix: fix image flash problem #3588
Rui-Sun Apr 16, 2025
d0cde85
fix: fix validateDragOrderOnEnd judgement in dragOrder option
Rui-Sun Apr 16, 2025
dcb8cb5
fix: fix table size in getCellsRect() #3681
Rui-Sun Apr 15, 2025
9e6c4d9
fix: fix cell radius set in getCellCornerRadius()
Rui-Sun Mar 28, 2025
cddba58
feat: add dynamicUpdateSelectionSize config in theme.selectionStyle
Rui-Sun Mar 28, 2025
8c3196d
chore: update rush change
Rui-Sun Mar 28, 2025
ae06d83
fix: fix range cache in _updateSize()
Rui-Sun Mar 31, 2025
0084590
Merge pull request #3733 from VisActor/feat/menuListItem-disabled
fangsmile Apr 16, 2025
aa4af36
Merge pull request #3736 from VisActor/feat/onBeforeCacheChartImage
fangsmile Apr 16, 2025
3c95aee
Merge pull request #3753 from VisActor/fix/column-index-calculation-w…
fangsmile Apr 16, 2025
5ec15e8
Merge remote-tracking branch 'origin/develop' into feat/add_row_col_b…
fangsmile Apr 16, 2025
d8ea8e1
fix: fix chart picker logic
Rui-Sun Apr 16, 2025
e740a4e
Merge remote-tracking branch 'origin/develop' into feat/add_row_col_b…
fangsmile Apr 17, 2025
c5237cd
Merge pull request #3552 from VisActor/feat/add_row_col_button
fangsmile Apr 17, 2025
c90769b
build: prelease version 1.17.7
github-actions[bot] Apr 17, 2025
9cef6d3
Merge pull request #3758 from VisActor/release/1.17.7
fangsmile Apr 17, 2025
ba7e805
Merge pull request #3759 from VisActor/main
fangsmile Apr 17, 2025
672225a
docs: generate changelog of release v1.17.7
fangsmile Apr 17, 2025
08d5d4d
chore: release 1.18.0
Rui-Sun Apr 17, 2025
624a4b1
docs: update release log
fangsmile Apr 17, 2025
b66a8f6
Merge pull request #3760 from VisActor/docs/generate-changelog-v1.17.7
fangsmile Apr 17, 2025
faca7fc
chore: release 1.18.0
Rui-Sun Apr 17, 2025
3c61988
build: prelease version 1.18.0
github-actions[bot] Apr 17, 2025
cf3032c
Merge pull request #3764 from VisActor/main
Rui-Sun Apr 17, 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
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"changes": [
{
"packageName": "@visactor/vtable",
"comment": "fix: fix switch default direction #3667",
"type": "minor"
"comment": "chore: release 1.18.0",
"type": "none"
}
],
"packageName": "@visactor/vtable"
Expand Down
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.6","mainProject":"@visactor/vtable","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.18.0","mainProject":"@visactor/vtable","nextBump":"minor"}]
118 changes: 73 additions & 45 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,51 @@
# v1.18.0
v1.17.7 same content

2025-04-17

**💥 Breaking change**

- **@visactor/vtable**: fix switch default direction [#3667](https://github.com/VisActor/VTable/issues/3667)
- **@visactor/vtable-editors**: fix input editor default style

**🆕 New feature**

- **@visactor/vtable**: add onBeforeCacheChartImage event
- **@visactor/vtable**: support customConfig disableBuildInChartActive
- **@visactor/vtable**: add dynamicUpdateSelectionSize config in theme.selectionStyle

**🐛 Bug fix**

- **@visactor/vtable**: fix table size in getCellsRect() [#3681](https://github.com/VisActor/VTable/issues/3681)
- **@visactor/vtable**: correct column index calculation when rowSeriesNumber is configured
- **@visactor/vtable**: fix image flash problem [#3588](https://github.com/VisActor/VTable/issues/3588)
- **@visactor/vtable**: fix row/column update problem in text-stick [#3744](https://github.com/VisActor/VTable/issues/3744)
- **@visactor/vtable**: fix switch default direction [#3667](https://github.com/VisActor/VTable/issues/3667)



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

# v1.17.6

2025-04-10


**🆕 New feature**
- **@visactor/vtable**: listTable added tiggerEvent parameter to changeCellValue
- **@visactor/vtable**: list table header support hierarchy

- **@visactor/vtable**: listTable added tiggerEvent parameter to changeCellValue
- **@visactor/vtable**: list table header support hierarchy

**🐛 Bug fix**
- **@visactor/vtable**: when move tree node position code occor error [#3645](https://github.com/VisActor/VTable/issues/3645) [#3706](https://github.com/VisActor/VTable/issues/3706)
- **@visactor/vtable**: frame border set array render bottom line position error [#3684](https://github.com/VisActor/VTable/issues/3684)
- **@visactor/vtable**: mobile touch event resize column width [#3693](https://github.com/VisActor/VTable/issues/3693)
- **@visactor/vtable**: when set frozen disableDragSelect not work [#3702](https://github.com/VisActor/VTable/issues/3702)
- **@visactor/vtable**: fix flex layout update in react-custom-layout component [#3696](https://github.com/VisActor/VTable/issues/3696)
- **@visactor/vtable**: updateTaskRecord api [#3639](https://github.com/VisActor/VTable/issues/3639)
- **@visactor/vtable**: repeat call computeColsWidth adaptive mode result error

- **@visactor/vtable**: when move tree node position code occor error [#3645](https://github.com/VisActor/VTable/issues/3645) [#3706](https://github.com/VisActor/VTable/issues/3706)
- **@visactor/vtable**: frame border set array render bottom line position error [#3684](https://github.com/VisActor/VTable/issues/3684)
- **@visactor/vtable**: mobile touch event resize column width [#3693](https://github.com/VisActor/VTable/issues/3693)
- **@visactor/vtable**: when set frozen disableDragSelect not work [#3702](https://github.com/VisActor/VTable/issues/3702)
- **@visactor/vtable**: fix flex layout update in react-custom-layout component [#3696](https://github.com/VisActor/VTable/issues/3696)
- **@visactor/vtable**: updateTaskRecord api [#3639](https://github.com/VisActor/VTable/issues/3639)
- **@visactor/vtable**: repeat call computeColsWidth adaptive mode result error



[more detail about v1.17.6](https://github.com/VisActor/VTable/releases/tag/v1.17.6)
Expand All @@ -28,23 +56,23 @@


**🆕 New feature**
- **@visactor/vtable**: cell support marked function [#3583](https://github.com/VisActor/VTable/issues/3583)
- **@visactor/vtable**: refactor pivotTable corner with no columns or rows case [#3653](https://github.com/VisActor/VTable/issues/3653)

- **@visactor/vtable**: cell support marked function [#3583](https://github.com/VisActor/VTable/issues/3583)
- **@visactor/vtable**: refactor pivotTable corner with no columns or rows case [#3653](https://github.com/VisActor/VTable/issues/3653)

**🐛 Bug fix**
- **@visactor/vtable**: gantt scale set quarter parser problem [#3612](https://github.com/VisActor/VTable/issues/3612)
- **@visactor/vtable**: gantt overscrollBehavior none work [#3638](https://github.com/VisActor/VTable/issues/3638)
- **@visactor/vtable**: gantt chart updateRecords error when table is tree mode [#3639](https://github.com/VisActor/VTable/issues/3639)
- **@visactor/vtable**: rowHeight error when set adaptive heightMode [#3640](https://github.com/VisActor/VTable/issues/3640)
- **@visactor/vtable**: when set renderChartAsync setRecords api render error [#3661](https://github.com/VisActor/VTable/issues/3661)
- **@visactor/vtable**: fix merge cell checkbox state update [#3668](https://github.com/VisActor/VTable/issues/3668)

- **@visactor/vtable**: gantt scale set quarter parser problem [#3612](https://github.com/VisActor/VTable/issues/3612)
- **@visactor/vtable**: gantt overscrollBehavior none work [#3638](https://github.com/VisActor/VTable/issues/3638)
- **@visactor/vtable**: gantt chart updateRecords error when table is tree mode [#3639](https://github.com/VisActor/VTable/issues/3639)
- **@visactor/vtable**: rowHeight error when set adaptive heightMode [#3640](https://github.com/VisActor/VTable/issues/3640)
- **@visactor/vtable**: when set renderChartAsync setRecords api render error [#3661](https://github.com/VisActor/VTable/issues/3661)
- **@visactor/vtable**: fix merge cell checkbox state update [#3668](https://github.com/VisActor/VTable/issues/3668)

**🔨 Refactor**
- **@visactor/vtable**: fillHandle function [#3582](https://github.com/VisActor/VTable/issues/3582)

- **@visactor/vtable**: fillHandle function [#3582](https://github.com/VisActor/VTable/issues/3582)



[more detail about v1.17.5](https://github.com/VisActor/VTable/releases/tag/v1.17.5)
Expand All @@ -55,15 +83,15 @@


**🆕 New feature**
- **@visactor/vtable**: add barMarkInBar style config in progressbar [#3616](https://github.com/VisActor/VTable/issues/3616)

- **@visactor/vtable**: add barMarkInBar style config in progressbar [#3616](https://github.com/VisActor/VTable/issues/3616)

**🐛 Bug fix**
- **@visactor/vtable**: fix button style problem [#3614](https://github.com/VisActor/VTable/issues/3614)
- **@visactor/vtable**: fix checkbox state order update [#3606](https://github.com/VisActor/VTable/issues/3606)
- **@visactor/vtable**: add isCustom tag for merge cell range [#3504](https://github.com/VisActor/VTable/issues/3504)
- **@visactor/vtable**: fix tree checkbox state update problem

- **@visactor/vtable**: fix button style problem [#3614](https://github.com/VisActor/VTable/issues/3614)
- **@visactor/vtable**: fix checkbox state order update [#3606](https://github.com/VisActor/VTable/issues/3606)
- **@visactor/vtable**: add isCustom tag for merge cell range [#3504](https://github.com/VisActor/VTable/issues/3504)
- **@visactor/vtable**: fix tree checkbox state update problem
- **@visactor/vtable**: disable group title editor

[more detail about v1.17.4](https://github.com/VisActor/VTable/releases/tag/v1.17.4)
Expand All @@ -74,21 +102,21 @@


**🆕 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

- **@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**: 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)
Expand Down
27 changes: 27 additions & 0 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# v1.18.0
v1.17.7 版本相同内容

2025-04-17

**💥 Breaking change**

- **@visactor/vtable**: 修复 switch 默认方向问题 [#3667](https://github.com/VisActor/VTable/issues/3667)
- **@visactor/vtable-editors**: 修改了input编辑器中的默认样式

**🆕 新增功能**
- **@visactor/vtable-plugins**: 新增 行列新增 行列序号 excel键盘对齐等插件
- **@visactor/vtable**: 新增 onBeforeCacheChartImage 事件
- **@visactor/vtable**: 支持 customConfig disableBuildInChartActive 配置
- **@visactor/vtable**: 在 theme.selectionStyle 中新增 dynamicUpdateSelectionSize 配置

**🐛 功能修复**

- **@visactor/vtable**: 修复 getCellsRect() 中表格大小问题 [#3681](https://github.com/VisActor/VTable/issues/3681)
- **@visactor/vtable**: 修复配置 rowSeriesNumber 时列索引计算错误问题
- **@visactor/vtable**: 修复图片闪烁问题 [#3588](https://github.com/VisActor/VTable/issues/3588)
- **@visactor/vtable**: 修复 text-stick 中行/列更新问题 [#3744](https://github.com/VisActor/VTable/issues/3744)



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

# v1.17.6

2025-04-10
Expand Down
35 changes: 17 additions & 18 deletions docs/assets/demo/en/animation/carousel-animation.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
---
category: examples
group: Animation
title: carousel animation
title: Carousel Animation
cover: https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/preview/carousel-animation.gif
link: animation/carousel_animation
---

# Carousel Animation

Carousel animation in VTable
Table carousel animation display

## Key configuration
## Key Configuration

- `CarouselAnimationPlugin` carousel animation plugin
- `rowCount` scroll row count in a carousel animation
- `colCount` scroll column count in a carousel animation
- `animationDuration` The duration of a single carousel animation, in milliseconds
- `animationDelay` The delay of a single carousel animation, in milliseconds
- `animationEasing` The easing function of a single carousel animation
- `replaceScrollAction` Whether to replace the scroll action, if true, the scroll action will be replaced by the carousel animation
- `TableCarouselAnimationPlugin` Carousel animation plugin
- `rowCount` Number of rows scrolled in one animation
- `colCount` Number of columns scrolled in one animation
- `animationDuration` Duration of a single scroll animation
- `animationDelay` Time interval between animations
- `animationEasing` Animation easing function

## Code demonstration
## Code demo

```javascript livedemo template=vtable
// use this for project
Expand All @@ -31,6 +30,10 @@ let tableInstance;
fetch('https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/North_American_Superstore_data100.json')
.then(res => res.json())
.then(data => {

const animationPlugin = new VTablePlugins.TableCarouselAnimationPlugin( {
rowCount: 2,
});
const columns = [
{
field: 'Category',
Expand Down Expand Up @@ -92,16 +95,12 @@ fetch('https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/North_American
const option = {
records: data.slice(0, 20),
columns,
widthMode: 'standard'
widthMode: 'standard',
plugins: [animationPlugin]
};
tableInstance = new VTable.ListTable(document.getElementById(CONTAINER_ID), option);
window['tableInstance'] = tableInstance;

const ca = new VTablePlugins.CarouselAnimationPlugin(tableInstance, {
rowCount: 2,
replaceScrollAction: true
});

ca.play();

});
```
9 changes: 5 additions & 4 deletions docs/assets/demo/en/interaction/head-highlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Highlight the header when selecting the cell.

## Key Configurations

- `HeaderHighlightPlugin` highlight plugin
- `HighlightHeaderWhenSelectCellPlugin` highlight plugin
- `columnHighlight` whether highlight the column
- `rowHighlight` whether highlight the row
- `colHighlightBGColor` the background color of the column highlight
Expand Down Expand Up @@ -90,14 +90,15 @@ const columns = [
width: 100
}
];

const highlightPlugin = new VTablePlugins.HighlightHeaderWhenSelectCellPlugin();
const option = {
records,
columns,
rowSeriesNumber: {}
rowSeriesNumber: {},
plugins: [highlightPlugin]
};
const tableInstance = new VTable.ListTable(document.getElementById(CONTAINER_ID), option);
window['tableInstance'] = tableInstance;

const highlightPlugin = new VTablePlugins.HeaderHighlightPlugin(tableInstance, {});

```
19 changes: 5 additions & 14 deletions docs/assets/demo/en/interaction/invert-highlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Show the highlight effect when set highlight range.

## Key Configurations

- `InvertHighlightPlugin` invert highlight plugin
- `FocusHighlightPlugin` invert highlight plugin
- `fill` invert highlight background color
- `opacity` invert highlight opacity
- `setInvertHighlightRange` set highlight range
Expand Down Expand Up @@ -87,25 +87,16 @@ const columns = [
width: 100
}
];

const highlightPlugin = new VTablePlugins.FocusHighlightPlugin();
const option = {
records,
columns,
theme: VTable.themes.DARK
theme: VTable.themes.DARK,
plugins: [highlightPlugin]
};
const tableInstance = new VTable.ListTable(document.getElementById(CONTAINER_ID), option);
window['tableInstance'] = tableInstance;

const highlightPlugin = new VTablePlugins.InvertHighlightPlugin(tableInstance, {});

highlightPlugin.setInvertHighlightRange({
start: {
col: 0,
row: 6
},
end: {
col: 5,
row: 6
}
});

```
Loading
Loading