diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index 97fcc64be1..d6888b1c68 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -1 +1 @@ -[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.17.1","mainProject":"@visactor/vtable","nextBump":"patch"}] +[{"definitionName":"lockStepVersion","policyName":"vtableMain","version":"1.17.2","mainProject":"@visactor/vtable","nextBump":"patch"}] diff --git a/docs/assets/changelog/en/release.md b/docs/assets/changelog/en/release.md index 42774e62e2..81e3682535 100644 --- a/docs/assets/changelog/en/release.md +++ b/docs/assets/changelog/en/release.md @@ -1,3 +1,29 @@ +# v1.17.1 + +2025-03-10 + + +**🆕 New feature** + +- **@visactor/vtable**: pivot table add api setLoadingHierarchyState [#3469](https://github.com/VisActor/VTable/issues/3469) +- **@visactor/vtable**: add validateDragOrderOnEnd on dragOrder option [#3493](https://github.com/VisActor/VTable/issues/3493) +- **@visactor/vtable**: sortByIndicatorRule support sortFunc [#3508](https://github.com/VisActor/VTable/issues/3508) +- **@visactor/vtable-gantt**: gantt chart support create markline +- **@visactor/vtable**: customCellStyle supports functional config [#3483](https://github.com/VisActor/VTable/issues/3483) + +**🐛 Bug fix** + +- **@visactor/vtable**: mobile drill icon state update [#3485](https://github.com/VisActor/VTable/issues/3485) +- **@visactor/vtable**: active right button interactive [#3482](https://github.com/VisActor/VTable/issues/3482) + +**🔧 Configuration releated** + +- **@visactor/vtable**: update vrender version + + + +[more detail about v1.17.1](https://github.com/VisActor/VTable/releases/tag/v1.17.1) + # v1.17.0 2025-02-26 diff --git a/docs/assets/changelog/zh/release.md b/docs/assets/changelog/zh/release.md index 6996e70f42..ce78588c6e 100644 --- a/docs/assets/changelog/zh/release.md +++ b/docs/assets/changelog/zh/release.md @@ -1,3 +1,27 @@ +# v1.17.1 + +2025-03-10 + + +**🆕 新增功能** + +- **@visactor/vtable**: 透视表新增 setLoadingHierarchyState API [#3469](https://github.com/VisActor/VTable/issues/3469) +- **@visactor/vtable**: 在 dragOrder 选项中新增 validateDragOrderOnEnd 配置 [#3493](https://github.com/VisActor/VTable/issues/3493) +- **@visactor/vtable**: sortByIndicatorRule 支持 sortFunc 配置 [#3508](https://github.com/VisActor/VTable/issues/3508) +- **@visactor/vtable-gantt**: 甘特图支持创建标记线 +- **@visactor/vtable**: customCellStyle 支持函数配置 [#3483](https://github.com/VisActor/VTable/issues/3483) + +**🐛 功能修复** + +- **@visactor/vtable**: 移动端下钻图标状态更新 [#3485](https://github.com/VisActor/VTable/issues/3485) +- **@visactor/vtable**: 激活右键交互 [#3482](https://github.com/VisActor/VTable/issues/3482) + +**🔧 项目配置** + +- **@visactor/vtable**: 更新 vrender 版本 + +[更多详情请查看 v1.17.1](https://github.com/VisActor/VTable/releases/tag/v1.17.1) + # v1.17.0 2025-02-26 diff --git a/packages/openinula-vtable/package.json b/packages/openinula-vtable/package.json index c686d456a2..6f00025355 100644 --- a/packages/openinula-vtable/package.json +++ b/packages/openinula-vtable/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/openinula-vtable", - "version": "1.17.1", + "version": "1.17.2", "description": "The openinula version of VTable", "keywords": [ "openinula", diff --git a/packages/react-vtable/package.json b/packages/react-vtable/package.json index 28687e0443..c72bceba9f 100644 --- a/packages/react-vtable/package.json +++ b/packages/react-vtable/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/react-vtable", - "version": "1.17.1", + "version": "1.17.2", "description": "The react version of VTable", "keywords": [ "react", diff --git a/packages/vtable-calendar/package.json b/packages/vtable-calendar/package.json index 66cb5881d6..3daabf706d 100644 --- a/packages/vtable-calendar/package.json +++ b/packages/vtable-calendar/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable-calendar", - "version": "1.17.1", + "version": "1.17.2", "description": "The calendar component of VTable", "author": { "name": "VisActor", diff --git a/packages/vtable-editors/package.json b/packages/vtable-editors/package.json index 6a08d9e0c6..6f32f56936 100644 --- a/packages/vtable-editors/package.json +++ b/packages/vtable-editors/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable-editors", - "version": "1.17.1", + "version": "1.17.2", "description": "", "sideEffects": false, "main": "cjs/index.js", diff --git a/packages/vtable-export/package.json b/packages/vtable-export/package.json index c9255fcf7e..49cb343116 100644 --- a/packages/vtable-export/package.json +++ b/packages/vtable-export/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable-export", - "version": "1.17.1", + "version": "1.17.2", "description": "The export util of VTable", "author": { "name": "VisActor", diff --git a/packages/vtable-gantt/package.json b/packages/vtable-gantt/package.json index e6b0f05fc6..2711060c53 100644 --- a/packages/vtable-gantt/package.json +++ b/packages/vtable-gantt/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable-gantt", - "version": "1.17.1", + "version": "1.17.2", "description": "canvas table width high performance", "keywords": [ "vtable-gantt", diff --git a/packages/vtable-plugins/package.json b/packages/vtable-plugins/package.json index 6a3cb1d4a9..378d9e9fcf 100644 --- a/packages/vtable-plugins/package.json +++ b/packages/vtable-plugins/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable-plugins", - "version": "1.17.1", + "version": "1.17.2", "description": "The search util of VTable", "author": { "name": "VisActor", diff --git a/packages/vtable-search/package.json b/packages/vtable-search/package.json index c3ef00f13d..834a48b4a3 100644 --- a/packages/vtable-search/package.json +++ b/packages/vtable-search/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable-search", - "version": "1.17.1", + "version": "1.17.2", "description": "The search util of VTable", "author": { "name": "VisActor", diff --git a/packages/vtable/CHANGELOG.json b/packages/vtable/CHANGELOG.json index 7af95344ef..d7526c5365 100644 --- a/packages/vtable/CHANGELOG.json +++ b/packages/vtable/CHANGELOG.json @@ -1,6 +1,18 @@ { "name": "@visactor/vtable", "entries": [ + { + "version": "1.17.2", + "tag": "@visactor/vtable_v1.17.2", + "date": "Tue, 11 Mar 2025 08:19:47 GMT", + "comments": { + "none": [ + { + "comment": "fix: custom container value error\n\n" + } + ] + } + }, { "version": "1.17.1", "tag": "@visactor/vtable_v1.17.1", diff --git a/packages/vtable/CHANGELOG.md b/packages/vtable/CHANGELOG.md index e11c4f28d0..36fa6b91fd 100644 --- a/packages/vtable/CHANGELOG.md +++ b/packages/vtable/CHANGELOG.md @@ -1,6 +1,15 @@ # Change Log - @visactor/vtable -This log was last generated on Sun, 09 Mar 2025 12:30:39 GMT and should not be manually modified. +This log was last generated on Tue, 11 Mar 2025 08:19:47 GMT and should not be manually modified. + +## 1.17.2 +Tue, 11 Mar 2025 08:19:47 GMT + +### Updates + +- fix: custom container value error + + ## 1.17.1 Sun, 09 Mar 2025 12:30:39 GMT diff --git a/packages/vtable/package.json b/packages/vtable/package.json index d5825855ff..22f7474638 100644 --- a/packages/vtable/package.json +++ b/packages/vtable/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vtable", - "version": "1.17.1", + "version": "1.17.2", "description": "canvas table width high performance", "keywords": [ "grid", diff --git a/packages/vue-vtable/bundler.config.js b/packages/vue-vtable/bundler.config.js index c35d504fe0..0c4794ed40 100644 --- a/packages/vue-vtable/bundler.config.js +++ b/packages/vue-vtable/bundler.config.js @@ -8,12 +8,25 @@ module.exports = { name: 'VueVTable', umdOutputFilename: 'vue-vtable', rollupOptions: { - treeshake: true + treeshake: true, + output: { + // 路径映射 + paths: { + '@visactor/vtable/es/vrender': 'VTable.vrender' + } + } }, globals: { - '@visactor/vtable': 'VTable' + '@visactor/vtable': 'VTable', + 'vue': 'Vue', + '@visactor/vutils': 'VUtils', + '@visactor/vtable/es/vrender': 'VTable.vrender' }, - external: ['@visactor/vtable'], + external: [ + '@visactor/vtable', + 'vue', + '@visactor/vtable/es/vrender' + ], alias: { '@visactor/vtable/es/vrender': '@visactor/vtable/es/vrender.js' } diff --git a/packages/vue-vtable/package.json b/packages/vue-vtable/package.json index 29e3e01be5..1fcf1623d8 100644 --- a/packages/vue-vtable/package.json +++ b/packages/vue-vtable/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vue-vtable", - "version": "1.17.1", + "version": "1.17.2", "description": "The vue version of VTable", "keywords": [ "vue", diff --git a/packages/vue-vtable/src/hooks/useCellRender.ts b/packages/vue-vtable/src/hooks/useCellRender.ts index 1fecc917de..2d0863e8ed 100644 --- a/packages/vue-vtable/src/hooks/useCellRender.ts +++ b/packages/vue-vtable/src/hooks/useCellRender.ts @@ -9,7 +9,7 @@ import { VTableVueAttributePlugin } from '../components/custom/vtable-vue-attrib */ export function useCellRender(props: any, tableRef: Ref) { watchEffect(() => { - if (!props?.customConfig?.createReactContainer) { + if (!props?.options?.customConfig?.createReactContainer) { // 未开启自定义容器 return; }