Skip to content

Commit 074fc30

Browse files
authored
Merge pull request #5032 from VisActor/release/1.23.3
[Auto release] release 1.23.3
2 parents 6eb12f6 + a4ab580 commit 074fc30

File tree

60 files changed

+2635
-116
lines changed

Some content is hidden

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

60 files changed

+2635
-116
lines changed

.prettierignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ shrinkwrap.json
2323

2424
# Build outputs
2525
dist
26-
lib
26+
lib
27+
28+
# Skill templates (contain placeholder syntax that formatters break)
29+
skills/vtable-development-assistant/template/

common/config/rush/pnpm-lock.yaml

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.23.2","mainProject":"@visactor/vtable","nextBump":"patch"}]
1+
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.23.3","mainProject":"@visactor/vtable","nextBump":"patch"}]

docs/assets/api/en/GanttAPI.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,28 @@ Update a specific data record
8989
updateTaskRecord(record: any, task_index: number, sub_task_index: number): void;
9090
```
9191

92+
### getBaselineInfoByTaskListIndex(Function)
93+
94+
Get baseline information (baseline start/end date and baseline days) for the task at the specified list index. If the task has no baseline or it is outside the current date range, the returned dates are `null` and days is `0`.
95+
96+
```
97+
getBaselineInfoByTaskListIndex(
98+
taskShowIndex: number,
99+
sub_task_index?: number | number[]
100+
): {
101+
baselineStartDate: Date | null;
102+
baselineEndDate: Date | null;
103+
baselineDays: number;
104+
}
105+
```
106+
107+
Example:
108+
109+
```
110+
const info = ganttInstance.getBaselineInfoByTaskListIndex(0);
111+
// info.baselineStartDate / info.baselineEndDate / info.baselineDays
112+
```
113+
92114
### release(Function)
93115

94116
Release the Gantt instance

docs/assets/api/zh/GanttAPI.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,28 @@ ITimelineScale的类型参考[配置文档]:https://visactor.com/vtable/option/G
9090
updateTaskRecord(record: any, task_index: number, sub_task_index: number): void;
9191
```
9292

93+
### getBaselineInfoByTaskListIndex(Function)
94+
95+
获取指定任务在列表中的基线信息(基线开始/结束日期与基线天数)。当任务未配置基线或超出当前日期范围时,返回的日期为 `null`,天数为 `0`
96+
97+
```
98+
getBaselineInfoByTaskListIndex(
99+
taskShowIndex: number,
100+
sub_task_index?: number | number[]
101+
): {
102+
baselineStartDate: Date | null;
103+
baselineEndDate: Date | null;
104+
baselineDays: number;
105+
}
106+
```
107+
108+
示例:
109+
110+
```
111+
const info = ganttInstance.getBaselineInfoByTaskListIndex(0);
112+
// info.baselineStartDate / info.baselineEndDate / info.baselineDays
113+
```
114+
93115
### release(Function)
94116

95117
释放 Gantt 实例

docs/assets/changelog/en/release.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# v1.23.2
2+
3+
2026-02-11
4+
5+
6+
**🆕 New feature**
7+
8+
- **@visactor/vtable**: pivot table headerType support cellType funcitonal [#4993](https://github.com/VisActor/VTable/issues/4993)
9+
- **@visactor/vtable**: add image_damage_pic and video_damage_pic type icons register & fix video damage icon ratio
10+
11+
**🐛 Bug fix**
12+
13+
- **@visactor/vtable-gantt**: fix datazoom component event update
14+
- **@visactor/vtable**: cell formula cache error after delete row record
15+
- **@visactor/vtable-plugins**: masterSubTable plugin setRecordChildren fetches wrong record after sorting
16+
- **@visactor/vtable**: video load fail damage icon
17+
- **@visactor/vtable**: image url not pass should call failCallback
18+
19+
20+
21+
[more detail about v1.23.2](https://github.com/VisActor/VTable/releases/tag/v1.23.2)
22+
123
# v1.23.1
224

325
2026-02-05

docs/assets/changelog/zh/release.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# v1.23.2
2+
3+
2026-02-11
4+
5+
6+
**🆕 新增功能**
7+
8+
- **@visactor/vtable**: 透视表表头类型 headerType 支持函数自定义配置 [#4993](https://github.com/VisActor/VTable/issues/4993)
9+
- **@visactor/vtable**: 新增 image_damage_pic 和 video_damage_pic 类型图标注册 & 修复视频损坏图标比例问题
10+
11+
**🐛 功能修复**
12+
13+
- **@visactor/vtable-gantt**: 甘特图数据缩放组件事件更新修复
14+
- **@visactor/vtable**: 修复当删除行记录后单元格公式缓存错误问题
15+
- **@visactor/vtable-plugins**: 修复主从表插件 setRecordChildren 排序后获取错误记录问题
16+
- **@visactor/vtable**: 修复视频加载失败损坏图标问题
17+
- **@visactor/vtable**: 修复图片 url 未传递应调用 failCallback问题
18+
19+
[更多详情请查看 v1.23.2](https://github.com/VisActor/VTable/releases/tag/v1.23.2)
20+
121
# v1.23.1
222

323
2026-02-05

0 commit comments

Comments
 (0)