Skip to content

Commit ed08800

Browse files
committed
Merge remote-tracking branch 'origin/develop' into feat/batch_cell_values&filterApi
2 parents 302b53c + 50437e3 commit ed08800

46 files changed

Lines changed: 3355 additions & 129 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "feat: add componentLayoutOrder api #4965\n\n",
5+
"type": "none",
6+
"packageName": "@visactor/vtable"
7+
}
8+
],
9+
"packageName": "@visactor/vtable",
10+
"email": "892739385@qq.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "refactor: legend and title component position calculation logic #4965\n\n",
5+
"type": "none",
6+
"packageName": "@visactor/vtable"
7+
}
8+
],
9+
"packageName": "@visactor/vtable",
10+
"email": "892739385@qq.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "fix: updateOption run resize logic #4965\n\n",
5+
"type": "none",
6+
"packageName": "@visactor/vtable"
7+
}
8+
],
9+
"packageName": "@visactor/vtable",
10+
"email": "892739385@qq.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "feat: add updateOption api\n\n",
5+
"type": "minor",
6+
"packageName": "@visactor/vtable"
7+
}
8+
],
9+
"packageName": "@visactor/vtable",
10+
"email": "892739385@qq.com"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "feat: add updateOption api for vtable-sheet\n\n",
5+
"type": "none",
6+
"packageName": "@visactor/vtable"
7+
}
8+
],
9+
"packageName": "@visactor/vtable",
10+
"email": "892739385@qq.com"
11+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@visactor/vtable",
5+
"comment": "fix: set white background for media overlay image",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@visactor/vtable"
10+
}

docs/assets/api/en/SheetAPI.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
VTableSheet instance supports the following methods:
88

9+
### updateOption(Function)
10+
11+
Update table configuration options, automatically redraws after calling.
12+
```
13+
updateOption: (options: Partial<IVTableSheetOptions>) => void
14+
```
15+
This interface supports full update and incremental update. Full update will relayout and render the entire table, incremental update will only update the configuration items, not relayout and render the entire table.
16+
917
### activateSheet(Function)
1018

1119
Activate the specified sheet

docs/assets/api/zh/SheetAPI.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66

77
VTableSheet组件支持的方法如下:
88

9+
### updateOption(Function)
10+
11+
更新表格配置项,调用后会自动重绘。
12+
```
13+
updateOption: (options: Partial<IVTableSheetOptions>) => void
14+
```
15+
16+
该接口支持全量更新和增量更新,全量更新会重新布局和渲染整个表格,增量更新只会更新配置项,不会重新布整个表格。
17+
918
### activateSheet(Function)
1019

1120
激活指定sheet

docs/assets/option/en/common/option-secondary.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,4 +754,12 @@ Default cursor style.
754754

755755
```
756756
defaultCursor?: 'default' | 'cell' | 'pointer' | 'text' | 'wait' | 'help' | 'crosshair' | 'not-allowed';
757+
```
758+
759+
#${prefix} componentLayoutOrder(Array)
760+
761+
Component layout order, default is ['legend', 'title'].
762+
763+
```
764+
componentLayoutOrder?: ('legend' | 'title')[];
757765
```

docs/assets/option/zh/common/option-secondary.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,4 +750,12 @@ validateDragOrderOnEnd?: (source: CellAddress, target: CellAddress) => boolean;
750750

751751
```
752752
defaultCursor?: 'default' | 'cell' | 'pointer' | 'text' | 'wait' | 'help' | 'crosshair' | 'not-allowed';
753+
```
754+
755+
#${prefix} componentLayoutOrder(Array)
756+
757+
组件布局顺序,默认为 ['legend', 'title']
758+
759+
```
760+
componentLayoutOrder?: ('legend' | 'title')[];
753761
```

0 commit comments

Comments
 (0)