Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into 2680-feature-gantt…
Browse files Browse the repository at this point in the history
…-drag-taskbar-order
  • Loading branch information
fangsmile committed Nov 1, 2024
2 parents 61eaf67 + 981011b commit e575c5f
Show file tree
Hide file tree
Showing 114 changed files with 3,169 additions and 442 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.10.1","mainProject":"@visactor/vtable","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.10.3","mainProject":"@visactor/vtable","nextBump":"patch"}]
52 changes: 52 additions & 0 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,55 @@
# v1.10.3

2024-11-01


**🐛 Bug fix**

- **@visactor/vtable**: type define columnWidthConfig



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

# v1.10.2

2024-11-01


**🆕 New feature**

- **@visactor/vtable**: headerSelectMode option add body setting [#2491](https://github.com/VisActor/VTable/issues/2491)
- **@visactor/vtable**: add freeze_click event [#2641](https://github.com/VisActor/VTable/issues/2641)
- **@visactor/vtable**: add columnWidthConfig to set width by dimensions [#2696](https://github.com/VisActor/VTable/issues/2696)

**🐛 Bug fix**

- **@visactor/vtable**: isColumnHeader api judement logic [#2491](https://github.com/VisActor/VTable/issues/2491)
- **@visactor/vtable**: when collapse last group occor error [#2600](https://github.com/VisActor/VTable/issues/2600)
- **@visactor/vtable**: when collapse tree node occor error [#2600](https://github.com/VisActor/VTable/issues/2600)
- **@visactor/vtable**: min aggregator type handle with NaN value [#2627](https://github.com/VisActor/VTable/issues/2627)
- **@visactor/vtable**: when drag row series number cells not scroll [#2647](https://github.com/VisActor/VTable/issues/2647)
- **@visactor/vtable**: rowSeriesNumber when be frozen can render customlayout [#2653](https://github.com/VisActor/VTable/issues/2653)
- **@visactor/vtable**: when has empty tip scrollbar can not be clicked [#2690](https://github.com/VisActor/VTable/issues/2690)
- **@visactor/vtable**: when field set array,record no corresponding field,occur error [#2702](https://github.com/VisActor/VTable/issues/2702)
- **@visactor/vtable**: when has gantt and table same time internal theme should not be changed [#2708](https://github.com/VisActor/VTable/issues/2708)
- **@visactor/vtable**: fix check state update [#2667](https://github.com/VisActor/VTable/issues/2667)
- **@visactor/vtable**: fix list-editor space problem
- **@visactor/vtable**: change pointerupoutside event callback [#2674](https://github.com/VisActor/VTable/issues/2674) [#2659](https://github.com/VisActor/VTable/issues/2659)
- **@visactor/vtable**: add event in react-vtable
- **@visactor/vtable**: add selected_cell event in select-all [#2664](https://github.com/VisActor/VTable/issues/2664)
- **@visactor/vtable**: fix disableRowSeriesNumberSelect in select-all [#2665](https://github.com/VisActor/VTable/issues/2665)
- **@visactor/vtable**: fix title resize in adaptive mode [#2704](https://github.com/VisActor/VTable/issues/2704)

**🔨 Refactor**

- **@visactor/vtable**: custom merge cell ignore check state jude [#2683](https://github.com/VisActor/VTable/issues/2683)
- **@visactor/vtable**: paste cell value should use editor validateValidate api [#2691](https://github.com/VisActor/VTable/issues/2691)



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

# v1.10.1

2024-10-23
Expand Down
91 changes: 64 additions & 27 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,85 @@
# v1.10.1
# v1.10.3

2024-10-23
2024-11-01


**🐛 功能修复**

- **@visactor/vtable**: when set rowSeriesNumber then sort icon not update [#2643](https://github.com/VisActor/VTable/issues/2643)
- **@visactor/vtable**: disable cellInnerBorder when no frame border
- **@visactor/vtable**: type define columnWidthConfig



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

# v1.10.2

2024-11-01

**🆕 新增功能**

- **@visactor/vtable**: 添加 headerSelectMode 选项的可设置 body [#2491](https://github.com/VisActor/VTable/issues/2491)
- **@visactor/vtable**: 添加 freeze_click 事件 [#2641](https://github.com/VisActor/VTable/issues/2641)
- **@visactor/vtable**: 透视表添加 columnWidthConfig 以根据维度设置宽度 [#2696](https://github.com/VisActor/VTable/issues/2696)

**🐛 功能修复**

- **@visactor/vtable**: 修正 isColumnHeader api 判断逻辑 [#2491](https://github.com/VisActor/VTable/issues/2491)
- **@visactor/vtable**: 修复当折叠最后一个分组时发生错误 [#2600](https://github.com/VisActor/VTable/issues/2600)
- **@visactor/vtable**: 修复最小聚合器类型处理 NaN 值 [#2627](https://github.com/VisActor/VTable/issues/2627)
- **@visactor/vtable**: 修复当拖拽行系列编号单元格时不滚动问题 [#2647](https://github.com/VisActor/VTable/issues/2647)
- **@visactor/vtable**: 修复当行系列编号被冻结时可以渲染自定义布局问题 [#2653](https://github.com/VisActor/VTable/issues/2653)
- **@visactor/vtable**: 修复当有空提示时滚动条不能被点击的问题 [#2690](https://github.com/VisActor/VTable/issues/2690)
- **@visactor/vtable**: 修复当字段设置为数组时,记录没有对应的字段,发生错误的问题 [#2702](https://github.com/VisActor/VTable/issues/2702)
- **@visactor/vtable**: 修复当同时有甘特图和表格时,内部主题不应该被更改的问题 [#2708](https://github.com/VisActor/VTable/issues/2708)
- **@visactor/vtable**: 修复检查状态更新 [#2667](https://github.com/VisActor/VTable/issues/2667)
- **@visactor/vtable**: 修复列表编辑器空间问题
- **@visactor/vtable**: 更改 pointerupoutside 事件回调 [#2674](https://github.com/VisActor/VTable/issues/2674) [#2659](https://github.com/VisActor/VTable/issues/2659)
- **@visactor/vtable**: 在 react-vtable 中补充 vtable 中事件
- **@visactor/vtable**: 在选择所有中添加 selected_cell 事件 [#2664](https://github.com/VisActor/VTable/issues/2664)
- **@visactor/vtable**: 修复选择所有中的 disableRowSeriesNumberSelect [#2665](https://github.com/VisActor/VTable/issues/2665)
- **@visactor/vtable**: 修复自适应模式下的标题调整大小问题 [#2704](https://github.com/VisActor/VTable/issues/2704)

**🔨 功能重构**

- **@visactor/vtable**: 自定义合并单元格忽略检查状态判断 [#2683](https://github.com/VisActor/VTable/issues/2683)
- **@visactor/vtable**: 粘贴单元格值应该使用编辑器验证 api [#2691](https://github.com/VisActor/VTable/issues/2691)

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

# v1.10.1

2024-10-23

**🐛 功能修复**

- **@visactor/vtable**: 当设置行系列编号时排序图标不更新 [#2643](https://github.com/VisActor/VTable/issues/2643)
- **@visactor/vtable**: 当没有边框时禁用 cellInnerBorder

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

# v1.10.0

2024-10-18


**🆕 新增功能**
- **@visactor/vtable**: 在菜单容器中添加maxHeight [#2602](https://github.com/VisActor/VTable/issues/2602)
- **@visactor/vtable**: 添加after_sort事件

- **@visactor/vtable**: 在菜单容器中添加 maxHeight [#2602](https://github.com/VisActor/VTable/issues/2602)
- **@visactor/vtable**: 添加 after_sort 事件
- **@visactor/vtable-gantt**: 添加未计划任务记录的创建按钮
- **@visactor/vtable-gantt**: 为甘特图添加依赖线
- **@visactor/vtable-gantt**: 添加任务条选中样式
- **@visactor/vtable-gantt**: 添加依赖线选中样式
- **@visactor/vtable-gantt**: 为甘特图添加underlayBackgroundColor [#2607](https://github.com/VisActor/VTable/issues/2607)
- **@visactor/vtable-gantt**: 为甘特图添加 underlayBackgroundColor [#2607](https://github.com/VisActor/VTable/issues/2607)

**🐛 功能修复**

- **@visactor/vtable**: 当维度路径包含虚拟时无法识别问题 [#2510](https://github.com/VisActor/VTable/issues/2510)
- **@visactor/vtable**: toggleHierarchyState api无法更新自定义布局单元格 [#2609](https://github.com/VisActor/VTable/issues/2609)
- **@visactor/vtable**: toggleHierarchyState api 无法更新自定义布局单元格 [#2609](https://github.com/VisActor/VTable/issues/2609)
- **@visactor/vtable**: 修复图例布局问题
- **@visactor/vtable**: 修复borderLineWidth为0时边框矩形缺失的问题
- **@visactor/vtable**: 修复updateSortState()中的多排序图标更新问题 [#2614](https://github.com/VisActor/VTable/issues/2614)
- **@visactor/vtable**: 修复createGroupForFirstScreen()中的列/行结束问题 [#2585](https://github.com/VisActor/VTable/issues/2585)
- **@visactor/vtable**: 修复react-vtable中的customConfig
- **@visactor/vtable**: 修复 borderLineWidth 为 0 时边框矩形缺失的问题
- **@visactor/vtable**: 修复 updateSortState()中的多排序图标更新问题 [#2614](https://github.com/VisActor/VTable/issues/2614)
- **@visactor/vtable**: 修复 createGroupForFirstScreen()中的列/行结束问题 [#2585](https://github.com/VisActor/VTable/issues/2585)
- **@visactor/vtable**: 修复 react-vtable 中的 customConfig
- **@visactor/vtable**: 修复当垂直滚动时行调整标记位置的问题 [#2606](https://github.com/VisActor/VTable/issues/2606)
- **@visactor/vtable**: 修复列表-表格转置中的排序图标更新问题

Expand All @@ -44,36 +89,32 @@

2024-10-12


**🐛 功能修复**

- **@visactor/vtable**: 修复合并单元格中的排序图标更新问题



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

# v1.9.0

2024-10-11


**🆕 新增功能**

- **@visactor/vtable**: 增加scrollTo动画功能
- **@visactor/vtable**: 增加 scrollTo 动画功能

**🐛 功能修复**

- **@visactor/vtable**: 修复无数据时维度列宽计算 [#2515](https://github.com/VisActor/VTable/issues/2515)
- **@visactor/vtable**: 修复updateColumns调用时的聚合更新 [#2519](https://github.com/VisActor/VTable/issues/2519)
- **@visactor/vtable**: 修复pointerdown事件中outsideClickDeselect判断时机 [#2553](https://github.com/VisActor/VTable/issues/2553)
- **@visactor/vtable**: 修复 updateColumns 调用时的聚合更新 [#2519](https://github.com/VisActor/VTable/issues/2519)
- **@visactor/vtable**: 修复 pointerdown 事件中 outsideClickDeselect 判断时机 [#2553](https://github.com/VisActor/VTable/issues/2553)
- **@visactor/vtable**: 修复序号列排序问题 [#2558](https://github.com/VisActor/VTable/issues/2558)
- **@visactor/vtable**: 修复底部单元格选中无法自动滚动问题 [#2546](https://github.com/VisActor/VTable/issues/2546)
- **@visactor/vtable**: 修复自定义组件自动行高列宽的计算问题
- **@visactor/vtable**: 修复拖拽行列时自定义组件的闪烁问题 [#2516](https://github.com/VisActor/VTable/issues/2516)
- **@visactor/vtable**: 修复冻结单元格中自定义组件的更新问题 [#2568](https://github.com/VisActor/VTable/issues/2568)
- **@visactor/vtable**: 修复带有padding的图例布局计算
- **@visactor/vtable**: 修复创建单元格时的cellLocation计算问题 [#2517](https://github.com/VisActor/VTable/issues/2517)
- **@visactor/vtable**: 修复带有 padding 的图例布局计算
- **@visactor/vtable**: 修复创建单元格时的 cellLocation 计算问题 [#2517](https://github.com/VisActor/VTable/issues/2517)
- **@visactor/vtable**: 修复合并单元格选中区域记录 [#2521](https://github.com/VisActor/VTable/issues/2521)

**🔨 功能重构**
Expand All @@ -86,23 +127,19 @@

2024-10-08


**🐛 功能修复**

- **@visactor/vtable**: 修复富文本图标状态更新问题 [#2281](https://github.com/VisActor/VTable/issues/2281)



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

# v1.8.1

2024-09-30


**🔨 功能重构**

- **@visactor/vue-vtable**: 重命名vue组件
- **@visactor/vue-vtable**: 重命名 vue 组件

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

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/demo/en/interaction/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Hold down ctrl or shift to make multiple selections.

Turn on the shortcut key selectAllOnCtrlA configuration to select all.

Clicking on the header cell will select the entire row or column by default. If you only want to select the current cell, you can set select.headerSelectMode to 'cell'.
Clicking on the header cell will select the entire row or column by default. If you only want to select the current cell, you can set `select.headerSelectMode` to `'cell'`, Or if you only want to select cells in the body, you can set `select.headerSelectMode` to `'body'`..

## Key Configurations

Expand Down
1 change: 1 addition & 0 deletions docs/assets/demo/zh/edit/edit-cell.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const list_editor = new VTable_editors.ListEditor({ values: ['girl', 'boy'] });
const textArea_editor = new VTable_editors.TextAreaEditor({ readonly: false });
VTable.register.editor('input-editor', input_editor);
VTable.register.editor('date-input-editor', date_input_editor);
VTable.register.editor('list-editor', list_editor);
VTable.register.editor('textArea-editor', textArea_editor);

function generateRandomString(length) {
Expand Down
8 changes: 4 additions & 4 deletions docs/assets/demo/zh/interaction/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ option: ListTable#keyboardOptions

开启快捷键 selectAllOnCtrlA 配置进行全选。

点击表头单元格的行为默认会选中整行或者整列,如果只想选中当前单元格可以设置 select.headerSelectMode'cell'。
点击表头单元格的行为默认会选中整行或者整列,如果只想选中当前单元格可以设置 `select.headerSelectMode``'cell'`, 或者只想选中 body 主体中的单元格可以设置 `select.headerSelectMode``'body'`

## 关键配置

- ` keyboardOptions: {
selectAllOnCtrlA: true,
copySelected: true
}`
selectAllOnCtrlA: true,
copySelected: true
}`
开启 ctrl+A 可选功能,及快捷键复制选中内容。

## 代码演示
Expand Down
Loading

0 comments on commit e575c5f

Please sign in to comment.