Skip to content

Commit

Permalink
Merge pull request #1822 from VisActor/release/1.1.1
Browse files Browse the repository at this point in the history
[Auto release] release 1.1.1
  • Loading branch information
fangsmile committed May 30, 2024
2 parents 37a2521 + d49b70f commit c4c8d08
Show file tree
Hide file tree
Showing 21 changed files with 307 additions and 83 deletions.
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.1.0","mainProject":"@visactor/vtable","nextBump":"minor"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.1.1","mainProject":"@visactor/vtable","nextBump":"patch"}]
20 changes: 20 additions & 0 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# v1.1.0

2024-05-28


**🆕 New feature**

- **@visactor/vtable**: add empty tip [#1782](https://github.com/VisActor/VTable/issues/1782)

**🐛 Bug fix**

- **@visactor/vtable**: add update delete record api should maintain beforeChangedRecordsMap [#1780](https://github.com/VisActor/VTable/issues/1780)
- **@visactor/vtable**: when set disableSelect table should support drag header [#1800](https://github.com/VisActor/VTable/issues/1800)
- **@visactor/vtable**: fix tree create problem in getDataCellPath()
- **@visactor/vtable**: fix left axis index in horizontal pivot chart



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

# v1.0.3

2024-05-24
Expand Down
42 changes: 31 additions & 11 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
# v1.1.0

2024-05-28


**🆕 新增功能**

- **@visactor/vtable**: 增加内容空白提示 [#1782](https://github.com/VisActor/VTable/issues/1782)

**🐛 功能修复**

- **@visactor/vtable**: deleteRecord和updateRecord接口调用时,更新beforeChangedRecordsMap,以对应正确的rawData [#1780](https://github.com/VisActor/VTable/issues/1780)
- **@visactor/vtable**: disableSelect模式下支持拖拽表头 [#1800](https://github.com/VisActor/VTable/issues/1800)
- **@visactor/vtable**: 修复getDataCellPath方法中计算问题
- **@visactor/vtable**: 修复部分坐标轴尺寸计算问题



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

# v1.0.3

2024-05-24


**🐛 功能修复**

- **@visactor/vtable**: first col tree mode compute col width error [#1778](https://github.com/VisActor/VTable/issues/1778)
- **@visactor/vtable**: 修复树形模式下第一列列宽计算问题 [#1778](https://github.com/VisActor/VTable/issues/1778)

**🔨 功能重构**

- **@visactor/vtable**: legends support ser array form [#1740](https://github.com/VisActor/VTable/issues/1740)
- **@visactor/vtable**: 图例支持数组形式 [#1740](https://github.com/VisActor/VTable/issues/1740)



Expand All @@ -21,15 +41,15 @@

**🆕 新增功能**

- **@visactor/vtable**: add setRowHeight&setColWidth api
- **@visactor/vtable**: 增加setRowHeight & setColWidth api

**🐛 功能修复**

- **@visactor/vtable**: use table option in hasAutoImageColumn()
- **@visactor/vtable**: axis size align with vrender-component [#1784](https://github.com/VisActor/VTable/issues/1784)
- **@visactor/vtable**: fix lineClamp config in computeRowsHeight() [#1772](https://github.com/VisActor/VTable/issues/1772)
- **@visactor/vtable**: fix progress cell create problem in vtable-export [#1787](https://github.com/VisActor/VTable/issues/1787)
- **@visactor/vtable**: ignore cell merge in selectCells()
- **@visactor/vtable**: 优化hasAutoImageColumn方法性能
- **@visactor/vtable**: 坐标轴size对齐vrender-component [#1784](https://github.com/VisActor/VTable/issues/1784)
- **@visactor/vtable**: 修复lineClamp配置在行高计算中的问题 [#1772](https://github.com/VisActor/VTable/issues/1772)
- **@visactor/vtable**: 修复vtable-export中渐进加载单元格的导出问题 [#1787](https://github.com/VisActor/VTable/issues/1787)
- **@visactor/vtable**: 在selectCells方法中忽略单元格合并



Expand All @@ -42,12 +62,12 @@

**🆕 新增功能**

- **@visactor/vtable**: tree mode can set icon [#1697](https://github.com/VisActor/VTable/issues/1697)
- **@visactor/vtable**: add setRowHeight&setColWidth api
- **@visactor/vtable**: 支持树形模式配置icon[#1697](https://github.com/VisActor/VTable/issues/1697)
- **@visactor/vtable**: 增加setRowHeight & setColWidth api

**🐛 功能修复**

- **@visactor/vtable**: ignore cell merge in selectCells()
- **@visactor/vtable**: 在selectCells方法中忽略单元格合并



Expand Down
2 changes: 1 addition & 1 deletion packages/openinula-vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/openinula-vtable",
"version": "1.1.0",
"version": "1.1.1",
"description": "The openinula version of VTable",
"keywords": [
"openinula",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vtable",
"version": "1.1.0",
"version": "1.1.1",
"description": "The react version of VTable",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-editors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-editors",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-export",
"version": "1.1.0",
"version": "1.1.1",
"description": "The export util of VTable",
"author": {
"name": "VisActor",
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable-search/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable-search",
"version": "1.1.0",
"version": "1.1.1",
"description": "The search util of VTable",
"author": {
"name": "VisActor",
Expand Down
18 changes: 18 additions & 0 deletions packages/vtable/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
{
"name": "@visactor/vtable",
"entries": [
{
"version": "1.1.1",
"tag": "@visactor/vtable_v1.1.1",
"date": "Thu, 30 May 2024 08:07:33 GMT",
"comments": {
"none": [
{
"comment": "refactor: dimension value same with indicator key cell value error #1817\n\n"
},
{
"comment": "fix: when set emptyTip interaction not work well with has records #1818\n\n"
},
{
"comment": "fix: fix table frame corner radius display problem #1783"
}
]
}
},
{
"version": "1.1.0",
"tag": "@visactor/vtable_v1.1.0",
Expand Down
15 changes: 14 additions & 1 deletion packages/vtable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
# Change Log - @visactor/vtable

This log was last generated on Tue, 28 May 2024 12:24:56 GMT and should not be manually modified.
This log was last generated on Thu, 30 May 2024 08:07:33 GMT and should not be manually modified.

## 1.1.1
Thu, 30 May 2024 08:07:33 GMT

### Updates

- refactor: dimension value same with indicator key cell value error #1817


- fix: when set emptyTip interaction not work well with has records #1818


- fix: fix table frame corner radius display problem #1783

## 1.1.0
Tue, 28 May 2024 12:24:56 GMT
Expand Down
12 changes: 7 additions & 5 deletions packages/vtable/examples/editor/input-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export function createTable() {
}
];
const option: VTable.ListTableConstructorOptions = {
emptyTip: true,
container: document.getElementById(CONTAINER_ID),
columns: [
{
Expand Down Expand Up @@ -163,16 +164,17 @@ export function createTable() {
widthMode: 'standard',
autoFillWidth: true,
allowFrozenColCount: 2,
editor: 'input'
editor: 'input',
headerEditor: 'input'
};

const instance = new ListTable(option);

//设置表格数据
instance.setRecords(personsDataSource, {
field: 'progress',
order: 'desc'
});
// instance.setRecords(personsDataSource, {
// field: 'progress',
// order: 'desc'
// });

instance.on('change_cell_value', arg => {
console.log(arg);
Expand Down
1 change: 1 addition & 0 deletions packages/vtable/examples/list/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ export function createTable() {
];
const option: VTable.ListTableConstructorOptions = {
container: document.getElementById(CONTAINER_ID),
emptyTip: true,
records,
columns,
tooltip: {
Expand Down
1 change: 1 addition & 0 deletions packages/vtable/examples/pivot-chart/pivotChart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9433,6 +9433,7 @@ export function createTable() {
};
const option: VTable.PivotChartConstructorOptions = {
columnTree,
emptyTip: true,
rowTree,
rows,
columns,
Expand Down
1 change: 1 addition & 0 deletions packages/vtable/examples/pivot/pivot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export function createTable() {
const option: VTable.PivotTableConstructorOptions = {
container: document.getElementById(CONTAINER_ID),
// records: data,
emptyTip: true,
menu: {
contextMenuItems: ['复制单元格内容', '查询详情']
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vtable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vtable",
"version": "1.1.0",
"version": "1.1.1",
"description": "canvas table width high performance",
"keywords": [
"grid",
Expand Down
3 changes: 3 additions & 0 deletions packages/vtable/src/ListTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export class ListTable extends BaseTable implements ListTableAPI {
this.internalProps.emptyTip.resetVisible();
} else {
this.internalProps.emptyTip = new EmptyTip(this.options.emptyTip, this);
this.internalProps.emptyTip.resetVisible();
}
}
//为了确保用户监听得到这个事件 这里做了异步 确保vtable实例已经初始化完成
Expand Down Expand Up @@ -439,6 +440,7 @@ export class ListTable extends BaseTable implements ListTableAPI {
this.internalProps.emptyTip.resetVisible();
} else {
this.internalProps.emptyTip = new EmptyTip(this.options.emptyTip, this);
this.internalProps.emptyTip.resetVisible();
}
}
return new Promise(resolve => {
Expand Down Expand Up @@ -1022,6 +1024,7 @@ export class ListTable extends BaseTable implements ListTableAPI {
this.internalProps.emptyTip.resetVisible();
} else {
this.internalProps.emptyTip = new EmptyTip(this.options.emptyTip, this);
this.internalProps.emptyTip.resetVisible();
}
}

Expand Down
Loading

0 comments on commit c4c8d08

Please sign in to comment.