Skip to content

Commit

Permalink
Merge pull request #1532 from VisActor/release/0.23.3
Browse files Browse the repository at this point in the history
[Auto release] release 0.23.3
  • Loading branch information
fangsmile authored Apr 16, 2024
2 parents 3038b37 + e368b32 commit b0ad226
Show file tree
Hide file tree
Showing 58 changed files with 1,755 additions and 830 deletions.
1,048 changes: 543 additions & 505 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

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":"0.23.2","mainProject":"@visactor/vtable","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"0.23.3","mainProject":"@visactor/vtable","nextBump":"patch"}]
45 changes: 27 additions & 18 deletions docs/assets/api/en/event/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Supported event types:
MOUSEENTER_CELL: 'mouseenter_cell',
MOUSELEAVE_CELL: 'mouseleave_cell',
CONTEXTMENU_CELL: 'contextmenu_cell',
MOUSEENTER_TABLE: 'mouseenter_table',
MOUSELEAVE_TABLE: 'mouseleave_table',
MOUSEDOWN_TABLE: 'mousedown_table',
RESIZE_COLUMN: 'resize_column',
RESIZE_COLUMN_END: 'resize_column_end',
CHANGE_HEADER_POSITION: 'change_header_position',
Expand All @@ -51,10 +54,13 @@ Supported event types:
DRILLMENU_CLICK: 'drillmenu_click',
PIVOT_SORT_CLICK: 'pivot_sort_click'
}`

## INITIALIZED

Triggered after successful initialization is completed

## AFTER_RENDER
## AFTER_RENDER

Triggered after each rendering is completed

## onVChartEvent
Expand Down Expand Up @@ -106,18 +112,6 @@ keystroke event

{{ use: KeydownEvent() }}

## MOUSEENTER_TABLE

Mouse over form event

Refer to the parameter types introduced in the CLICK_CELL event for the parameter types of the event callback function.

## MOUSELEAVE_TABLE

Mouse off form event

Refer to the parameter types introduced in the CLICK_CELL event for the parameter types of the event callback function.

## MOUSEMOVE_CELL

Mouse over a cell event
Expand All @@ -142,6 +136,18 @@ Cell right-click events

{{ use: MousePointerMultiCellEvent() }}

## MOUSEENTER_TABLE

This event is triggered when the mouse enters the table area

## MOUSELEAVE_TABLE

This event is triggered when the mouse leaves the table area.

## MOUSEDOWN_TABLE

This event is triggered when the mouse is pressed in the table area.

## RESIZE_COLUMN

Column width adjustment events.
Expand Down Expand Up @@ -247,7 +253,6 @@ Event callback function parameter types.
viewHeight: number;
}`


## MOUSEOVER_CHART_SYMBOL

Mouse over mini-graph marker event
Expand Down Expand Up @@ -365,6 +370,7 @@ The parameter type of the event callback function:
```
{ model: any; value: any; event: PointerEvent };
```

## LEGEND_CHANGE

Color legend, size legend, this event is triggered after the user operates the legend range. **Legend exclusive event**
Expand Down Expand Up @@ -395,6 +401,7 @@ The parameter type of the event callback function:
Same as **MOUSEENTER_AXIS**

## COPY_DATA

Cell content copy event.

Parameter types of event callback function:
Expand All @@ -404,6 +411,7 @@ Parameter types of event callback function:
```

## CHANGE_CELL_VALUE

Event that changes the cell value.

Parameter types of event callback function:
Expand All @@ -413,16 +421,17 @@ Parameter types of event callback function:
```

## CHECKBOX_STATE_CHANGE

Change the checkbox checkbox state. **ListTable table exclusive event**

Parameter types of event callback function:

```
{
col: number;
row: number;
{
col: number;
row: number;
alue: string | number;
dataValue: string | number;
checked: boolean;
};
```
```
48 changes: 30 additions & 18 deletions docs/assets/api/zh/event/event.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ TABLE_EVENT_TYPE = {
MOUSEENTER_CELL: 'mouseenter_cell',
MOUSELEAVE_CELL: 'mouseleave_cell',
CONTEXTMENU_CELL: 'contextmenu_cell',
MOUSEENTER_TABLE: 'mouseenter_table',
MOUSELEAVE_TABLE: 'mouseleave_table',
MOUSEDOWN_TABLE: 'mousedown_table',
RESIZE_COLUMN: 'resize_column',
RESIZE_COLUMN_END: 'resize_column_end',
CHANGE_HEADER_POSITION: 'change_header_position',
Expand All @@ -50,13 +53,17 @@ TABLE_EVENT_TYPE = {
HIDE_MENU: 'hide_menu',
ICON_CLICK: 'icon_click',
// 透视表特有事件
DRILLMENU_CLICK: 'drillmenu_click',
DRILLMENU_CLICK: 'drillmenu_click',
PIVOT_SORT_CLICK: 'pivot_sort_click'
}
```

## INITIALIZED

成功初始化完成后触发
## AFTER_RENDER

## AFTER_RENDER

每次渲染完成后触发

## onVChartEvent
Expand Down Expand Up @@ -108,18 +115,6 @@ TABLE_EVENT_TYPE = {

{{ use: KeydownEvent() }}

## MOUSEENTER_TABLE

鼠标进入表格事件

事件回调函数的参数类型请参考 CLICK_CELL 事件中介绍的参数类型。

## MOUSELEAVE_TABLE

鼠标离开表格事件

事件回调函数的参数类型请参考 CLICK_CELL 事件中介绍的参数类型。

## MOUSEMOVE_CELL

鼠标在某个单元格上移动事件
Expand All @@ -144,6 +139,18 @@ TABLE_EVENT_TYPE = {

{{ use: MousePointerMultiCellEvent() }}

## MOUSEENTER_TABLE

鼠标进入表格区域触发该事件

## MOUSELEAVE_TABLE

鼠标离开表格区域触发该事件

## MOUSEDOWN_TABLE

鼠标在表格区域按下触发该事件

## RESIZE_COLUMN

列宽调整事件。
Expand Down Expand Up @@ -249,6 +256,7 @@ TABLE_EVENT_TYPE = {
viewHeight: number;
}
```

## SCROLL_VERTICAL_END

竖向滚动条滚动到底部事件
Expand Down Expand Up @@ -403,6 +411,7 @@ icon 图标点击事件。
```
{ model: any; value: any; event: PointerEvent };
```

## MOUSEENTER_AXIS

鼠标进入到坐标轴上事件。**坐标轴专有事件**
Expand All @@ -423,6 +432,7 @@ icon 图标点击事件。
**MOUSEENTER_AXIS**

## COPY_DATA

单元格内容复制事件。

事件回调函数的参数类型:
Expand All @@ -432,6 +442,7 @@ icon 图标点击事件。
```

## CHANGE_CELL_VALUE

更改单元格值的事件。

事件回调函数的参数类型:
Expand All @@ -441,14 +452,15 @@ icon 图标点击事件。
```

## CHECKBOX_STATE_CHANGE
更改checkbox复选框状态。**ListTable表格专有事件**

更改 checkbox 复选框状态。**ListTable 表格专有事件**

事件回调函数的参数类型:

```
{
col: number;
row: number;
{
col: number;
row: number;
alue: string | number;
dataValue: string | number;
checked: boolean;
Expand Down
35 changes: 35 additions & 0 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
# v0.23.2

2024-04-11


**🆕 New feature**

- **@visactor/vtable**: scrollbar visible focus [#1360](https://github.com/VisActor/VTable/issues/1360)
- **@visactor/vtable**: add rowHierarchyTextStartAlignment for tree mode [#1417](https://github.com/VisActor/VTable/issues/1417)

**🐛 Bug fix**

- **@visactor/vtable**: records api when has merge cell render error [#1286](https://github.com/VisActor/VTable/issues/1286)
- **@visactor/vtable**: add isAutoRowHeight to handle width row height compute [#1379](https://github.com/VisActor/VTable/issues/1379)
- **@visactor/vtable**: chart spec clone filtered dom problem [#1422](https://github.com/VisActor/VTable/issues/1422)
- **@visactor/vtable**: borderlinedash effect error handle with lineCap [#1436](https://github.com/VisActor/VTable/issues/1436)
- **@visactor/vtable**: trigger event selectedCell [#1444](https://github.com/VisActor/VTable/issues/1444)
- **@visactor/vtable**: set disableSelect drag cells occor error [#1461](https://github.com/VisActor/VTable/issues/1461)
- **@visactor/vtable**: left content width error when tree hierarchy state icon back rect showing [#1466](https://github.com/VisActor/VTable/issues/1466)
- **@visactor/vtable**: fix domain order in horizontal [#1453](https://github.com/VisActor/VTable/issues/1453)
- **@visactor/vtable**: add columnWidthComputeMode update in opdateOption [#1465](https://github.com/VisActor/VTable/issues/1465)
- **@visactor/vtable**: fix inline icon tooltip config [#1456](https://github.com/VisActor/VTable/issues/1456)
- **@visactor/vtable**: 修复进度图部分情况遮挡表格边缘单元格
- **@visactor/vtable**: fix transpose border theme [#1463](https://github.com/VisActor/VTable/issues/1463)

**🔨 Refactor**

- **@visactor/vtable**: update drilldown drillup svg
- **@visactor/vtable**: handle width chartSpce with markLine [#1420](https://github.com/VisActor/VTable/issues/1420)
- **@visactor/vtable**: supplement event type for react table [#1434](https://github.com/VisActor/VTable/issues/1434)



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

# v0.23.1

2024-04-07
Expand Down
62 changes: 47 additions & 15 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,60 @@
# v0.23.2

2024-04-11

**🆕 新增功能**

- **@visactor/vtable**: 滚动条可支持visible设置为focus,当鼠标聚焦到表格时显示滚动条 [#1360](https://github.com/VisActor/VTable/issues/1360)
- **@visactor/vtable**: 树模式下添加层级文本对齐方式:rowHierarchyTextStartAlignment [#1417](https://github.com/VisActor/VTable/issues/1417)

**🐛 功能修复**

- **@visactor/vtable**: 修复合并单元格时数据操作相关 API 调用后的渲染错误 [#1286](https://github.com/VisActor/VTable/issues/1286)
- **@visactor/vtable**: 解决当拖拽列宽时自动行高不生效问题,添加isAutoRowHeight来处理行高计算 [#1379](https://github.com/VisActor/VTable/issues/1379)
- **@visactor/vtable**: 解决图表Tooltip中配置 DOM 生效问题 [#1422](https://github.com/VisActor/VTable/issues/1422)
- **@visactor/vtable**: 边框虚线效果错误处理lineCap设置问题 [#1436](https://github.com/VisActor/VTable/issues/1436)
- **@visactor/vtable**: 解决重复触发选中单元格事件 [#1444](https://github.com/VisActor/VTable/issues/1444)
- **@visactor/vtable**: 解决设置disableSelect禁用选择拖动单元格时出错 [#1461](https://github.com/VisActor/VTable/issues/1461)
- **@visactor/vtable**: 解决树层级状态图标宽度错误问题 [#1466](https://github.com/VisActor/VTable/issues/1466)
- **@visactor/vtable**: 修复透视图设置水平方向时轴domain顺序 [#1453](https://github.com/VisActor/VTable/issues/1453)
- **@visactor/vtable**: 在 opdateOption 中更新 columnWidthComputeMode修复列宽计算问题 [#1465](https://github.com/VisActor/VTable/issues/1465)
- **@visactor/vtable**: 修复内联图标inline icon tooltip 提示配置 [#1456](https://github.com/VisActor/VTable/issues/1456)
- **@visactor/vtable**: 修复进度图在某些情况下遮挡表格边缘单元格
- **@visactor/vtable**: 修复转置表格表头边框获取逻辑 [#1463](https://github.com/VisActor/VTable/issues/1463)

**🔨 功能重构**

- **@visactor/vtable**: 更新下钻上钻图标的SVG
- **@visactor/vtable**: 透视图设置 markLine autoRange 处理轴范围 [#1420](https://github.com/VisActor/VTable/issues/1420)
- **@visactor/vtable**: 为 react 表格补充事件类型 [#1434](https://github.com/VisActor/VTable/issues/1434)

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

# v0.23.1

2024-04-07


**🆕 新增功能**

- **@visactor/vtable**: select range can extends during scroll [#1400](https://github.com/VisActor/VTable/issues/1400)

- **@visactor/vtable**: 滚动时选择范围可以自动滚动扩展 [#1400](https://github.com/VisActor/VTable/issues/1400)

**🐛 功能修复**

- **@visactor/vtable**: maxLineWidth value should consider hierarchyOffset [#1224](https://github.com/VisActor/VTable/issues/1224)
- **@visactor/vtable**: tree leaf node textAlign right render error [#1393](https://github.com/VisActor/VTable/issues/1393)
- **@visactor/vtable**: when copy or paste navigator.clipboard?.write occor undefined error in not https [#1421](https://github.com/VisActor/VTable/issues/1421)
- **@visactor/vtable**: fix header cell imageAutoSizing [#1339](https://github.com/VisActor/VTable/issues/1339)
- **@visactor/vtable**: hide icon background when hide icon
- **@visactor/vtable**: fix nan verticalBarPos [#1232](https://github.com/VisActor/VTable/issues/1232)
- **@visactor/vtable**: fix progressbar cover cell border [#1425](https://github.com/VisActor/VTable/issues/1425)
- **@visactor/vtable**: remove container in table option
- **@visactor/vtable**: add sync render in exportCellImg [#1398](https://github.com/VisActor/VTable/issues/1398)

- **@visactor/vtable**: maxLineWidth 值应考虑 hierarchyOffset [#1224](https://github.com/VisActor/VTable/issues/1224)
- **@visactor/vtable**: 树叶节点文本右对齐渲染错误 [#1393](https://github.com/VisActor/VTable/issues/1393)
- **@visactor/vtable**: 复制或粘贴时 navigator.clipboard?.write 在非 https 中未定义错误 [#1421](https://github.com/VisActor/VTable/issues/1421)
- **@visactor/vtable**: 修复表头单元格图像自动调整大小 [#1339](https://github.com/VisActor/VTable/issues/1339)
- **@visactor/vtable**: 隐藏图标时隐藏图标背景
- **@visactor/vtable**: 修复 nan verticalBarPos [#1232](https://github.com/VisActor/VTable/issues/1232)
- **@visactor/vtable**: 修复进度条覆盖单元格边框 [#1425](https://github.com/VisActor/VTable/issues/1425)
- **@visactor/vtable**: 在表格选项中移除容器
- **@visactor/vtable**: exportCellImg 中添加同步渲染 [#1398](https://github.com/VisActor/VTable/issues/1398)

**🔨 功能重构**

- **@visactor/vtable**: optimize performance when change tree hierarchy state [#1406](https://github.com/VisActor/VTable/issues/1406)


- **@visactor/vtable**: 优化更改树层级状态时的性能 [#1406](https://github.com/VisActor/VTable/issues/1406)



[更多详情请查看 v0.23.1](https://github.com/VisActor/VTable/releases/tag/v0.23.1)
Expand Down
Loading

0 comments on commit b0ad226

Please sign in to comment.