Skip to content

Commit 4174140

Browse files
authored
Merge pull request #3 from VisActor/develop
add
2 parents c5d79c1 + 67c1430 commit 4174140

File tree

108 files changed

+7504
-432
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+7504
-432
lines changed
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 vue-table export type /es/*.d.ts\n\n",
5+
"type": "none",
6+
"packageName": "@visactor/vtable"
7+
}
8+
],
9+
"packageName": "@visactor/vtable",
10+
"email": "48147837+kcmeven@users.noreply.github.com"
11+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.18.3","mainProject":"@visactor/vtable","nextBump":"patch"}]
1+
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.18.4","mainProject":"@visactor/vtable","nextBump":"patch"}]

docs/assets/api/en/methods.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,18 @@ Get the selected cell information, and the returned result is a two-dimensional
259259

260260
Clear the selection of all cells.
261261

262+
## getBodyColumnDefine(Function)
263+
264+
Get the original table column definition through the index.
265+
266+
```
267+
/**
268+
* Get the original table column definition through the index
269+
*/
270+
getBodyColumnDefine(col: number, row: number): ColumnDefine | IRowSeriesNumber | ColumnSeriesNumber;
271+
272+
```
273+
262274
## getCopyValue(Function)
263275

264276
Get the contents of the selected area as the copy content. The return value is a string, with cells separated by `\t` and rows separated by `\n`.

docs/assets/api/zh/methods.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,18 @@ setRecords(records: Array<any>)
257257

258258
清除所有单元格的选中状态。
259259

260+
## getBodyColumnDefine(Function)
261+
262+
通过索引获取表列配置
263+
264+
```
265+
/**
266+
* 通过索引获取表列配置
267+
*/
268+
getBodyColumnDefine(col: number, row: number): ColumnDefine | IRowSeriesNumber | ColumnSeriesNumber;
269+
270+
```
271+
260272
## getCopyValue(Function)
261273

262274
获取选中区域的内容 作为复制内容。返回值是个字符串,以`\t`分割单元格,以`\n`分割行。

docs/assets/changelog/en/release.md

Lines changed: 44 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,42 @@
1+
# v1.18.4
2+
3+
2025-05-27
4+
5+
6+
**🆕 New feature**
7+
8+
- **@visactor/vtable**: add pasted_data event [#3908](https://github.com/VisActor/VTable/issues/3908)
9+
- **@visactor/vtable-gantt**: add date position to markline
10+
- **@visactor/vtable-gantt**: add milestone text
11+
- **@visactor/vtable-gantt**: support record type 'project'
12+
- **@visactor/vtable-gantt**: add tasksShowMode 'Project_Sub_Tasks_Inline'
13+
14+
**🐛 Bug fix**
15+
16+
- **@visactor/vtable**: fix bug of chart matrix when has scale
17+
18+
19+
20+
[more detail about v1.18.4](https://github.com/VisActor/VTable/releases/tag/v1.18.4)
21+
122
# v1.18.3
223

324
2025-05-13
425

526

627
**🆕 New feature**
7-
8-
- **@visactor/vtable**: add frozenColumnLine visible on theme [#3828](https://github.com/VisActor/VTable/issues/3828)
9-
- **@visactor/vtable**: add touch event for gantt chart [#3864](https://github.com/VisActor/VTable/issues/3864)
10-
- **@visactor/vtable**: add support for text not to be hidden [#3802](https://github.com/VisActor/VTable/issues/3802)
11-
- **@visactor/vtable**: add exportAllData to export table plugin [#3726](https://github.com/VisActor/VTable/issues/3726)
28+
29+
- **@visactor/vtable**: add frozenColumnLine visible on theme [#3828](https://github.com/VisActor/VTable/issues/3828)
30+
- **@visactor/vtable**: add touch event for gantt chart [#3864](https://github.com/VisActor/VTable/issues/3864)
31+
- **@visactor/vtable**: add support for text not to be hidden [#3802](https://github.com/VisActor/VTable/issues/3802)
32+
- **@visactor/vtable**: add exportAllData to export table plugin [#3726](https://github.com/VisActor/VTable/issues/3726)
1233

1334
**🐛 Bug fix**
14-
15-
- **@visactor/vtable**: when no rowTree treeMode occor error [#3830](https://github.com/VisActor/VTable/issues/3830)
16-
- **@visactor/vtable**: unintended edit state activation on functional button clicks
17-
- **@visactor/vtable**: resolve taskBar width problem when click linkPonitNode [#3829](https://github.com/VisActor/VTable/issues/3829)
18-
35+
36+
- **@visactor/vtable**: when no rowTree treeMode occor error [#3830](https://github.com/VisActor/VTable/issues/3830)
37+
- **@visactor/vtable**: unintended edit state activation on functional button clicks
38+
- **@visactor/vtable**: resolve taskBar width problem when click linkPonitNode [#3829](https://github.com/VisActor/VTable/issues/3829)
39+
1940

2041

2142
[more detail about v1.18.3](https://github.com/VisActor/VTable/releases/tag/v1.18.3)
@@ -26,21 +47,21 @@
2647

2748

2849
**🐛 Bug fix**
29-
30-
- **@visactor/vtable**: when records is blank updateColumns api occor error [#3766](https://github.com/VisActor/VTable/issues/3766)
31-
- **@visactor/vtable**: updateOption with dataSource object occor error [#3768](https://github.com/VisActor/VTable/issues/3768)
32-
- **@visactor/vtable**: when hide pivot header find headerPath error [#3791](https://github.com/VisActor/VTable/issues/3791)
33-
- **@visactor/vtable**: supplement adaptive widthAdaptiveMode logic [#3796](https://github.com/VisActor/VTable/issues/3796)
34-
- **@visactor/vtable**: transform rotate api
35-
- **@visactor/vtable**: after rotate resize column interaction error
36-
- **@visactor/vtable**: skip serial number calculation for aggregation rows when groupBy is enabled
37-
- **@visactor/vtable**: hide rowSeriesNumber and checkbox in aggregation [#2173](https://github.com/VisActor/VTable/issues/2173)
50+
51+
- **@visactor/vtable**: when records is blank updateColumns api occor error [#3766](https://github.com/VisActor/VTable/issues/3766)
52+
- **@visactor/vtable**: updateOption with dataSource object occor error [#3768](https://github.com/VisActor/VTable/issues/3768)
53+
- **@visactor/vtable**: when hide pivot header find headerPath error [#3791](https://github.com/VisActor/VTable/issues/3791)
54+
- **@visactor/vtable**: supplement adaptive widthAdaptiveMode logic [#3796](https://github.com/VisActor/VTable/issues/3796)
55+
- **@visactor/vtable**: transform rotate api
56+
- **@visactor/vtable**: after rotate resize column interaction error
57+
- **@visactor/vtable**: skip serial number calculation for aggregation rows when groupBy is enabled
58+
- **@visactor/vtable**: hide rowSeriesNumber and checkbox in aggregation [#2173](https://github.com/VisActor/VTable/issues/2173)
3859

3960
**🔨 Refactor**
40-
41-
- **@visactor/vtable**: change event listener with vglobal [#3734](https://github.com/VisActor/VTable/issues/3734)
42-
- **@visactor/vtable**: plugins update progress [#3788](https://github.com/VisActor/VTable/issues/3788)
43-
61+
62+
- **@visactor/vtable**: change event listener with vglobal [#3734](https://github.com/VisActor/VTable/issues/3734)
63+
- **@visactor/vtable**: plugins update progress [#3788](https://github.com/VisActor/VTable/issues/3788)
64+
4465

4566

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

docs/assets/changelog/zh/release.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# v1.18.4
2+
3+
2025-05-27
4+
5+
6+
**🆕 新增功能**
7+
8+
- **@visactor/vtable**: 新增事件 pasted_data event [#3908](https://github.com/VisActor/VTable/issues/3908)
9+
- **@visactor/vtable-gantt**: 给markline添加 date position 定位类型
10+
- **@visactor/vtable-gantt**: 里程碑 milestone 支持配置文本text
11+
- **@visactor/vtable-gantt**: 任务信息可配置type = 'project'表示项目类型
12+
- **@visactor/vtable-gantt**: 新增任务条展示模式 tasksShowMode 'Project_Sub_Tasks_Inline'
13+
14+
**🐛 功能修复**
15+
16+
- **@visactor/vtable**: 修复当有scale时,图表矩阵报错问题 [#3910](https://github.com/VisActor/VTable/issues/3910)
17+
18+
19+
20+
[更多详情请查看 v1.18.4](https://github.com/VisActor/VTable/releases/tag/v1.18.4)
21+
122
# v1.18.3
223

324
2025-05-13

docs/assets/demo/en/gantt/gantt-basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ option: Gantt#taskBar
99

1010
# Basic Usage of Gantt Chart
1111

12-
This example demonstrates the basic usage of the Gantt chart.
12+
This example demonstrates the basic usage of the Gantt chart. The task types include the default `Task` type, the `Milestone` type, and the `Project` type. The `Project` type is used to represent projects and can contain multiple sub-tasks. For details, see [Gantt Project Task Display Mode](./gantt_project_taskShowMode).
1313

1414
## Key Configuration
1515

docs/assets/demo/en/gantt/gantt-interaction-create-mark-line.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,19 @@ const option = {
290290
lineWidth: 1,
291291
lineColor: 'red'
292292
}
293+
},
294+
{
295+
date: '2024-10-08 8:00:00',
296+
content: 'mrkLine(date)',
297+
position: 'date',
298+
contentStyle: {
299+
color: '#fff'
300+
// fontSize: 40
301+
},
302+
style: {
303+
lineWidth: 1,
304+
lineColor: 'blue'
305+
}
293306
}
294307
],
295308
scrollStyle: {

0 commit comments

Comments
 (0)