Commit Graph

954 Commits

Author SHA1 Message Date
Netfan
67071326a1 chore: update electron dependence 2025-05-19 09:55:56 +08:00
Netfan
30387b94a2 feat: electron support 2025-05-19 09:55:51 +08:00
afe1
643f25347b perf: stub unbuild params (#6210) 2025-05-19 09:54:31 +08:00
wyc001122
49a739ffc6 fix: in mixed layout mode, the sidebar does not display when the first child node is an external link (#6219)
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-19 09:54:30 +08:00
ming4762
128e749702 perf: perf the control logic of Tab (#6220)
* perf: perf the control logic of Tab

* 每个标签页Tab使用唯一的key来控制关闭打开等逻辑
* 统一函数获取tab的key
* 通过3种方式设置tab key:1、使用router query参数pageKey 2、使用路由meta参数fullPathKey设置使用fullPath或path作为key
* 单个路由可以打开多个标签页
* 如果设置fullPathKey为false,则query变更不会打开新的标签(这很实用)

* perf: perf the control logic of Tab

* perf: perf the control logic of Tab

* 测试用例适配

* perf: perf the control logic of Tab

* 解决AI提示的警告
2025-05-19 09:54:30 +08:00
wyc001122
c91fd146b8 fix(@vben-core/shadcn-ui): fix disabled functionality not working in VbenTree component (#6205)
* fix(@vben-core/shadcn-ui): fix disabled functionality not working in VbenTree component

* fix(@vben-core/shadcn-ui): add cursor-not-allowed className when disabled and disable onfocus

---------

Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
2025-05-19 09:54:29 +08:00
afe1
74874a88a6 fix: css style (#6176) 2025-05-19 09:54:28 +08:00
panda7
f0f890c583 fix: the mobile terminal can wrap lines and expand slot attributes (#6165)
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-05-19 09:54:27 +08:00
XiaoHetitu
ea48a01d8f feat(tabs): 支持计算属性作为标签标题,解决 #6170 的问题 (#6163)
* feat(tabs): 支持动态函数作为标签标题

修改 `setTabTitle` 和 `tabsView` 逻辑,允许传入函数作为标签标题,以便动态生成标题内容

* feat(tabbar): 添加动态设置标签页标题功能

允许设置静态字符串或动态函数作为标签标题,支持根据状态或语言变化动态更新标题

* refactor(tabs): 移除冗余的newTabTitle2变量并优化标题设置逻辑

移除tabs组件中冗余的newTabTitle2变量,直接使用newTabTitle作为标题来源。同时,优化use-tabs和tabbar模块的标题设置逻辑,支持ComputedRef作为动态标题,提升代码简洁性和可维护性。

---------

Co-authored-by: yuanwj <ywj6792341@qq.com>
2025-05-19 09:54:26 +08:00
chewenye
9311c658a1 types: 导出authentication组件的type,自定义toolbarList时类型使用ToolbarType (#6158)
Co-authored-by: 车文烨 <chewy@china-lehua.com>
2025-05-19 09:54:25 +08:00
Netfan
12151d9742 fix: refresh command of tabbar issue, fixed: #6162 (#6169) 2025-05-19 09:54:25 +08:00
anyup
de655af23b feat: support to refresh the tab page by route name (#6153)
Co-authored-by: anyup <anyupxing@163.com>
2025-05-19 09:54:24 +08:00
afe1
6fe909bfba fix: delete useless code (#6143) 2025-05-19 09:54:23 +08:00
wyc001122
899a99535f docs(@vben/docs): update settings doc (#6128)
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-19 09:54:22 +08:00
zyf0624
29bdf2d13b fix: tsconfig moduleResolution (#6122)
Co-authored-by: pzzyf <2279948211@qq.com>
2025-05-19 09:54:22 +08:00
Netfan
4f633c1a9a fix: missing argument for getPopupContainer 2025-05-19 09:54:21 +08:00
Leeson
b2951b2975 fix: delete Popconfirm being obscured by fixed columns (#6118)
* fix: delete Popconfirm being obscured by fixed columns

* fix: opened popConfirm will prevent the table from scrolling

---------

Co-authored-by: Netfan <netfan@foxmail.com>
2025-05-19 09:54:20 +08:00
vben
d9f8722c27 chore: release v5.5.6 2025-05-19 09:54:19 +08:00
Jin Mao
1539fc738c fix: handle undefined children in generate-menus (#6117)
When children is undefined, use empty array as fallback to prevent potential runtime errors. This matches the behavior when hideChildrenInMenu is true.
2025-05-19 09:54:19 +08:00
LinaBell
200859fc7e fix: when keepAlive is enabled, returning directly through browser buttons/gestures will not close pop ups (#6113) 2025-05-19 09:54:18 +08:00
ming4762
36fb6b2222 fix: fix IconPicker props warning (#6108)
Invalid prop: type check failed for prop "onUpdate:value". Expected Function, got Array
2025-05-19 09:54:17 +08:00
vben
3304d54546 chore: remove prepare script from package.json 2025-05-19 09:54:16 +08:00
vben
ca57d223b4 chore: update prepare script in package.json to remove lefthook installation 2025-05-19 09:54:15 +08:00
Vben
0fa587c246 feat(project): migrate from husky and lint-staged to lefthook (#6104) 2025-05-19 09:54:11 +08:00
Vben
4fd2fee782 feat: support smooth auto-scroll to active menu item (#6102) 2025-05-19 09:54:00 +08:00
Vben
c4a4ca5232 chore: close eslint object sorting (#6101) 2025-05-19 09:53:59 +08:00
aonoa
73db7f3ef5 refactor: modify the default homepage path loaded from the preference… (#6099)
* refactor: modify the default homepage path loaded from the preferences.ts

Signed-off-by: aonoa <1991849113@qq.com>

* refactor: modify the default homepage path loaded from the preferences.ts

Signed-off-by: aonoa <1991849113@qq.com>

---------

Signed-off-by: aonoa <1991849113@qq.com>
2025-05-19 09:53:58 +08:00
Netfan
aef2134b60 fix: add triggerClass binding to PopoverTrigger and update icon-picker styles (#6095)
* Popover支持设置trigger的样式
* 修正icon-picker的input值更新
2025-05-19 09:53:58 +08:00
Netfan
f920895b8c fix: add missing translation for preferences drawer (#6094) 2025-05-19 09:53:57 +08:00
Netfan
10257e3611 fix: destroyOnClose incorrect default value, fixed #6092 (#6093) 2025-05-19 09:53:56 +08:00
ming4762
a88a2c8afa fix: fix LoginExpiredModal in some cases, message may be obscured (#6086) 2025-05-19 09:53:56 +08:00
Netfan
d92697e7f7 fix: show validation message as tooltip in compact form (#6087)
* 紧凑模式表单的校验消息将显示为一个tooltip
2025-05-19 09:53:55 +08:00
Jin Mao
e34285a51e perf: page componet supports custom height offset for flexible content height … (#6081)
* perf: Page supports custom height offset for flexible content height control.

允许通过 height 属性调整页面内容高度计算。修改了 Page 组件以支持自定义高度偏移量,用于更灵活的内容高度控制。

* chore: typo

* perf(page): replace height with heightOffset for flexible content sizing

The `height` prop was replaced with `heightOffset` to better describe its purpose when used with `autoContentHeight`. The new prop allows custom offset values (in pixels) to adjust content area sizing, with clearer documentation.
2025-05-19 09:53:54 +08:00
Netfan
721b5f3d3e fix: calculation for collapsing search form is incorrect while initially hidden (#6068)
* 修复当默认隐藏搜索表单时,折叠位置的计算不正确的问题
2025-05-19 09:53:53 +08:00
vben
5e694b3194 chore: update readme.md 2025-05-19 09:53:52 +08:00
Vben
bf5e697c42 chore: update dependencies and documentation, optimize build toolchain (#6060)
* chore: update packageManager version to pnpm@10.9.0 for compatibility improvements

* chore: Update dependent versions and configurations to improve compatibility and stability

- Update Node version to 22.1.0
- Updated pnpm version to 10.10.0
- Fixed syntax error in prettier command in lintstagedrc
- Update dependent versions in pnpm-lock.yaml to ensure consistency
- Update format and content in README documents to improve readability

* fix: lint error
2025-05-19 09:53:46 +08:00
vem
9437e97ce4 fix: Update existing route index to prevent 404 on user switch (#6003)
Co-authored-by: tars-macmini <vem@qq.com>
2025-05-19 09:51:07 +08:00
Netfan
77c09b4ddf fix: lock state will not change overflow style in drawer and modal (#6067)
* Modal和Drawer的锁定状态不再修改overflow样式
2025-05-19 09:51:06 +08:00
Gahotx
70d07c683a fix: add rounded corners to project and quick nav items (#5296) 2025-05-19 09:51:05 +08:00
Vben
e840905934 chore: update dependency version for improved stability and compatibility (#6023)
* chore: update dependency version for improved stability and compatibility

* fix: optimize clearPoints function in useCaptchaPoints hook to improve performance

* fix: make several props optional in various components for better flexibility
2025-05-19 09:50:59 +08:00
Trivikram Kamat
8b192d05fd fix: install corepack from npm (#5905)
* fix: install corepack from npm

* docs: install corepack from npm
2025-05-19 09:50:36 +08:00
ming4762
9f910c3486 perf: resolve duplicate component names (#6039) 2025-05-19 09:50:35 +08:00
vben
25b0822afd chore: release v5.5.5 2025-05-19 09:50:34 +08:00
Netfan
8292024fc7 feat: encrypt the privacy data when it is persisted (#6056)
* 对私密数据持久化时执行加密
* 将锁屏密码合并到accessStore中进行加密
2025-05-19 09:50:26 +08:00
Jin Mao
9a0e813143 docs: add deepWiki doc link (#6057) 2025-05-19 09:50:13 +08:00
ming4762
1a73329691 perf: improve destroyOnClose for VbenDrawer&VbenModal (#6051)
* fix: fix that the default value of modal destroyOnClose does not take effect

* perf: improve destroyOnClose for VbenDrawer
2025-05-19 09:50:12 +08:00
Netfan
ab161444fc fix: title of search button in vxeTable toolbar (#6046)
* 修改vxeTable工具栏里的搜索按钮的提示文案
2025-05-19 09:50:12 +08:00
Netfan
0243e68fbe feat: vbenSelect support prop allowClear (#6043) 2025-05-19 09:50:11 +08:00
Netfan
54c0d4ed83 docs: update example (#6036)
* 跟进后端菜单逻辑的修改,现已无需传递basicLayout布局
2025-05-19 09:50:10 +08:00
panda7
e320311128 fix: the initial value echo for the check-button-group (#6029)
Co-authored-by: sqchen <9110848@qq.com>
2025-05-19 09:50:09 +08:00