From 17030233298e567f0fa0838262d4e22fb3701bdc Mon Sep 17 00:00:00 2001 From: fangsmile Date: Mon, 10 Mar 2025 02:27:53 +0000 Subject: [PATCH 1/8] docs: generate changelog of release v1.17.1 --- docs/assets/changelog/en/release.md | 26 ++++++++++++++++++++++++++ docs/assets/changelog/zh/release.md | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/docs/assets/changelog/en/release.md b/docs/assets/changelog/en/release.md index 42774e62e2..85743f2de2 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 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..360c4166c3 100644 --- a/docs/assets/changelog/zh/release.md +++ b/docs/assets/changelog/zh/release.md @@ -1,3 +1,29 @@ +# v1.17.1 + +2025-03-10 + + +**🆕 新增功能** + +- **@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 chart support create markline +- **@visactor/vtable**: customCellStyle supports functional config [#3483](https://github.com/VisActor/VTable/issues/3483) + +**🐛 功能修复** + +- **@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) + +**🔧 项目配置** + +- **@visactor/vtable**: update vrender version + + + +[更多详情请查看 v1.17.1](https://github.com/VisActor/VTable/releases/tag/v1.17.1) + # v1.17.0 2025-02-26 From c4a78aff2fd868a5cbe34528f43f3f259203de3b Mon Sep 17 00:00:00 2001 From: fangsmile <892739385@qq.com> Date: Mon, 10 Mar 2025 10:59:19 +0800 Subject: [PATCH 2/8] docs: update change log for 1.17.1 --- docs/assets/changelog/en/release.md | 24 ++++++++++++------------ docs/assets/changelog/zh/release.md | 22 ++++++++++------------ 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/docs/assets/changelog/en/release.md b/docs/assets/changelog/en/release.md index 85743f2de2..81e3682535 100644 --- a/docs/assets/changelog/en/release.md +++ b/docs/assets/changelog/en/release.md @@ -4,22 +4,22 @@ **🆕 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 chart support create markline -- **@visactor/vtable**: customCellStyle supports functional config [#3483](https://github.com/VisActor/VTable/issues/3483) + +- **@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) + +- **@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 - + +- **@visactor/vtable**: update vrender version + [more detail about v1.17.1](https://github.com/VisActor/VTable/releases/tag/v1.17.1) diff --git a/docs/assets/changelog/zh/release.md b/docs/assets/changelog/zh/release.md index 360c4166c3..ce78588c6e 100644 --- a/docs/assets/changelog/zh/release.md +++ b/docs/assets/changelog/zh/release.md @@ -4,23 +4,21 @@ **🆕 新增功能** - -- **@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 chart support create markline -- **@visactor/vtable**: customCellStyle supports functional config [#3483](https://github.com/VisActor/VTable/issues/3483) + +- **@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**: 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) + +- **@visactor/vtable**: 移动端下钻图标状态更新 [#3485](https://github.com/VisActor/VTable/issues/3485) +- **@visactor/vtable**: 激活右键交互 [#3482](https://github.com/VisActor/VTable/issues/3482) **🔧 项目配置** - -- **@visactor/vtable**: update vrender version - +- **@visactor/vtable**: 更新 vrender 版本 [更多详情请查看 v1.17.1](https://github.com/VisActor/VTable/releases/tag/v1.17.1) From a27b0a5e0d4275c678399eac5d66d15422258382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=9D=A8=E6=9E=9A?= Date: Mon, 10 Mar 2025 11:45:58 +0800 Subject: [PATCH 3/8] fix: custom container value error --- packages/vue-vtable/src/hooks/useCellRender.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } From 47e34e67dc6b5c18d6272732d343adc236e89335 Mon Sep 17 00:00:00 2001 From: lym <691404302@qq.com> Date: Mon, 10 Mar 2025 23:35:45 +0800 Subject: [PATCH 4/8] build: specify external dependencies --- packages/vue-vtable/bundler.config.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/vue-vtable/bundler.config.js b/packages/vue-vtable/bundler.config.js index c35d504fe0..751b8d9f42 100644 --- a/packages/vue-vtable/bundler.config.js +++ b/packages/vue-vtable/bundler.config.js @@ -11,9 +11,11 @@ module.exports = { treeshake: true }, globals: { - '@visactor/vtable': 'VTable' + '@visactor/vtable': 'VTable', + 'vue': 'Vue', + '@visactor/vutils': 'VUtils' }, - external: ['@visactor/vtable'], + external: ['@visactor/vtable', 'vue', '@visactor/vtable/es/vrender'], alias: { '@visactor/vtable/es/vrender': '@visactor/vtable/es/vrender.js' } From 7df401927675a1786d8fce5cc8a2a266a9b939b5 Mon Sep 17 00:00:00 2001 From: fangsmile <892739385@qq.com> Date: Tue, 11 Mar 2025 10:43:39 +0800 Subject: [PATCH 5/8] docs: update changlog of rush --- .../fix-vue-custom-component_2025-03-11-02-43.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json diff --git a/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json b/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json new file mode 100644 index 0000000000..f1bd5b0215 --- /dev/null +++ b/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "Merge pull request #3548 from 7dingdang0/fix/vue-custom-component\n\nfix: custom container value error\n", + "type": "none", + "packageName": "@visactor/vtable" + } + ], + "packageName": "@visactor/vtable", + "email": "892739385@qq.com" +} \ No newline at end of file From 418ff62c01b486a665e9574f4851db0571039bdd Mon Sep 17 00:00:00 2001 From: fangsmile <892739385@qq.com> Date: Tue, 11 Mar 2025 10:44:51 +0800 Subject: [PATCH 6/8] docs: update changelog --- .../vtable/fix-vue-custom-component_2025-03-11-02-43.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json b/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json index f1bd5b0215..8c559357f0 100644 --- a/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json +++ b/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json @@ -1,7 +1,7 @@ { "changes": [ { - "comment": "Merge pull request #3548 from 7dingdang0/fix/vue-custom-component\n\nfix: custom container value error\n", + "comment": "fix: custom container value error\n\n", "type": "none", "packageName": "@visactor/vtable" } From 66cd0723c8fadff8f1f30ba797e5558671b26f36 Mon Sep 17 00:00:00 2001 From: lym <691404302@qq.com> Date: Tue, 11 Mar 2025 13:09:56 +0800 Subject: [PATCH 7/8] chore: add external dependencies --- packages/vue-vtable/bundler.config.js | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) 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' } From 3a6ca4695f812ab7183af89d1434b5035d40d9cd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 11 Mar 2025 08:28:06 +0000 Subject: [PATCH 8/8] build: prelease version 1.17.2 --- .../fix-vue-custom-component_2025-03-11-02-43.json | 11 ----------- common/config/rush/version-policies.json | 2 +- packages/openinula-vtable/package.json | 2 +- packages/react-vtable/package.json | 2 +- packages/vtable-calendar/package.json | 2 +- packages/vtable-editors/package.json | 2 +- packages/vtable-export/package.json | 2 +- packages/vtable-gantt/package.json | 2 +- packages/vtable-plugins/package.json | 2 +- packages/vtable-search/package.json | 2 +- packages/vtable/CHANGELOG.json | 12 ++++++++++++ packages/vtable/CHANGELOG.md | 11 ++++++++++- packages/vtable/package.json | 2 +- packages/vue-vtable/package.json | 2 +- 14 files changed, 33 insertions(+), 23 deletions(-) delete mode 100644 common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json diff --git a/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json b/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json deleted file mode 100644 index 8c559357f0..0000000000 --- a/common/changes/@visactor/vtable/fix-vue-custom-component_2025-03-11-02-43.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "fix: custom container value error\n\n", - "type": "none", - "packageName": "@visactor/vtable" - } - ], - "packageName": "@visactor/vtable", - "email": "892739385@qq.com" -} \ No newline at end of file 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/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/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",