Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feat/viewbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui-Sun committed Jun 24, 2024
2 parents 6e28ae7 + a0fb96d commit ff6366a
Show file tree
Hide file tree
Showing 145 changed files with 8,103 additions and 1,894 deletions.
1,378 changes: 731 additions & 647 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":"1.3.1","mainProject":"@visactor/vtable","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.4.0","mainProject":"@visactor/vtable","nextBump":"minor"}]
8 changes: 8 additions & 0 deletions docs/assets/api/en/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -1157,3 +1157,11 @@ set row height.
/**set row height */
setRowHeight: (row: number, height: number)
```

## cellIsInVisualView(Function)

Determines whether the cell is in the visible area of the cell. If the cell is completely in the visible area, it returns true. If part or all of the cell is outside the visible area, it returns false.

```
cellIsInVisualView(col: number, row: number)
```
8 changes: 8 additions & 0 deletions docs/assets/api/zh/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -1155,3 +1155,11 @@ interface ISortedMapItem {
/**设置行高 */
setRowHeight: (row: number, height: number)
```

## cellIsInVisualView(Function)

判断单元格是否在单元格可见区域,如果单元格完全都在可见区域才会返回 true,如果有部分或者完全都在可见区域外就返回 false

```
cellIsInVisualView(col: number, row: number)
```
53 changes: 53 additions & 0 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,56 @@
# v1.4.0

2024-06-21


**🆕 New feature**

- **@visactor/vtable**: support corner header cell edit value [#1945](https://github.com/VisActor/VTable/issues/1945)
- **@visactor/vtable**: add indent in vtable-export
- **@visactor/vtable**: add CustomComponent in react-vtable
- **@visactor/vtable**: add CustomLayout component in react-vtable
- **@visactor/vtable**: support calculate field for PivotTable [#1941](https://github.com/VisActor/VTable/issues/1941)

**🐛 Bug fix**

- **@visactor/vtable**: updateSortState api occor error [#1939](https://github.com/VisActor/VTable/issues/1939)
- **@visactor/vtable**: when setRecords should update emptyTip [#1953](https://github.com/VisActor/VTable/issues/1953)
- **@visactor/vtable**: getCellRect api when cell is frozen get bounds error [#1955](https://github.com/VisActor/VTable/issues/1955)
- **@visactor/vtable**: when drag cell and enter edit state but can not exit edit rightly [#1956](https://github.com/VisActor/VTable/issues/1956)
- **@visactor/vtable**: fix custom width problem [#1905](https://github.com/VisActor/VTable/issues/1905)
- **@visactor/vtable**: fix content judgement in getCellRange() [#1911](https://github.com/VisActor/VTable/issues/1911)
- **@visactor/vtable**: fix size update problem in pivot table sort [#1958](https://github.com/VisActor/VTable/issues/1958)

**🔧 Configuration releated**

- **@visactor/vtable**: update vrender version

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

# v1.3.2

2024-06-17


**🆕 New feature**

- **@visactor/vtable**: add blankAreaClickDeselect and outsideClickDeselect config

**🐛 Bug fix**

- **@visactor/vtable**: cellIsInVisualView api error [#1864](https://github.com/VisActor/VTable/issues/1864)
- **@visactor/vtable**: if set style autoWrapText, this config not wort when resize column width [#1892](https://github.com/VisActor/VTable/issues/1892)

**🔨 Refactor**

- **@visactor/vtable**: tooltip support scroll [#1887](https://github.com/VisActor/VTable/issues/1887)
- **@visactor/vtable**: when not records pivot table can show corner header [#1895](https://github.com/VisActor/VTable/issues/1895)
- **@visactor/vtable**: when rowTree children not set value can supplement indicators [#1924](https://github.com/VisActor/VTable/issues/1924)



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

# v1.3.1

2024-06-14
Expand Down
60 changes: 51 additions & 9 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,61 @@
# v1.4.0

2024-06-21


**🆕 新增功能**

- **@visactor/vtable**: 支持角头单元格编辑 [#1945](https://github.com/VisActor/VTable/issues/1945)
- **@visactor/vtable**: vtable-export支持缩进导出
- **@visactor/vtable**: react-vtable支持 CustomComponent & CustomLayout component 组件
- **@visactor/vtable**: PivotTable支持field计算 [#1941](https://github.com/VisActor/VTable/issues/1941)

**🐛 功能修复**

- **@visactor/vtable**: 修复updateSortState api 调用问题 [#1939](https://github.com/VisActor/VTable/issues/1939)
- **@visactor/vtable**: 调用 setRecords 时更新 emptyTip 组件 [#1953](https://github.com/VisActor/VTable/issues/1953)
- **@visactor/vtable**: 修复冻结单元格 getCellRect api 获取 bounds 错误 [#1955](https://github.com/VisActor/VTable/issues/1955)
- **@visactor/vtable**: when drag cell and enter edit state but can not exit edit rightly [#1956](https://github.com/VisActor/VTable/issues/1956)
- **@visactor/vtable**: 修复自定义单元格列宽计算问题 [#1905](https://github.com/VisActor/VTable/issues/1905)
- **@visactor/vtable**: 修复 getCellRange 中的内容判断逻辑 [#1911](https://github.com/VisActor/VTable/issues/1911)
- **@visactor/vtable**: 修复透视表排序时尺寸更新问题 [#1958](https://github.com/VisActor/VTable/issues/1958)

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

# v1.3.2

2024-06-17


**🆕 新增功能**

- **@visactor/vtable**: 增加 blankAreaClickDeselect & outsideClickDeselect 配置

**🐛 功能修复**

- **@visactor/vtable**: 修复cellIsInVisualView api调用问题 [#1864](https://github.com/VisActor/VTable/issues/1864)
- **@visactor/vtable**: 修复改变列宽时autoWrapText不生效问题 [#1892](https://github.com/VisActor/VTable/issues/1892)

**🔨 功能重构**

- **@visactor/vtable**: 支持tooltip滚动 [#1887](https://github.com/VisActor/VTable/issues/1887)
- **@visactor/vtable**: 支持透视表没有数据是的角头展示 [#1895](https://github.com/VisActor/VTable/issues/1895)
- **@visactor/vtable**: 支持rowTree没有children时的指标展示 [#1924](https://github.com/VisActor/VTable/issues/1924)



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

# v1.3.1

2024-06-14


**🐛 功能修复**

- **@visactor/vtable**: fix frozenColCount large than colCount error [#1872](https://github.com/VisActor/VTable/issues/1872)
- **@visactor/vtable**: fix merge cell size update [#1869](https://github.com/VisActor/VTable/issues/1869)
- **@visactor/vtable**: optimize row height update when useOneRowHeightFillAll

**📖 文档更新**

- **@visactor/vtable**: update changlog of rush


- **@visactor/vtable**: 修复frozenColCount超过列数时的显示问题 [#1872](https://github.com/VisActor/VTable/issues/1872)
- **@visactor/vtable**: 修复合并单元格的尺寸更新问题 [#1869](https://github.com/VisActor/VTable/issues/1869)
- **@visactor/vtable**: 修复单行填充所有行时的行高更新问题

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

Expand Down
1 change: 0 additions & 1 deletion docs/assets/demo-react/en/component/custom-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ link: '../guide/Developer_Ecology/react'
The `CustomComponent` component facilitates overlaying external components on React-VTable components.

## Code Example

```javascript livedemo template=vtable-react
// import * as ReactVTable from '@visactor/react-vtable';

Expand Down
Loading

0 comments on commit ff6366a

Please sign in to comment.