Commit Graph

502 Commits (990ae4463aa2b2a2e499eb9139fb23d6ab300b15)

Author SHA1 Message Date
broBinChen b69320c070
feat(hooks): support separate enter/leave delays in useHoverToggle (#6325)
Co-authored-by: xiaobin <xiaobin_chen@fzzixun.com>
2025-06-08 17:53:29 +08:00
zhang dcccc213ce
fix: requestClient.upload会将vbenform中value为undefined的值转为字符串undefined’提… (#6300)
* fix: requestClient.upload会将vbenform中value为undefined的值转为字符串undefined’提交给后台保存

* fix: requestClient.upload会将vbenform中value为undefined的值转为字符串'undefined’提交给后台保存
2025-06-08 17:51:16 +08:00
RanMaoting 017ed1a9e1
types: 为useVbenVxeGrid添加泛型声明,使grid实例上能正确获取到行数据的类型 (#5653)
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
2025-06-08 17:43:02 +08:00
gjd 3ef362508a feat(ai): 添加 AI 对话聊天和 API 密钥管理功能
- 新增 AI 对话聊天管理页面,包括对话列表和消息列表
- 新增 API 密钥管理页面,包括密钥列表和表单
- 添加相关 API 接口和数据模型
- 集成表单和表格组件,实现基本的 CRUD 操作
2025-06-06 17:09:14 +08:00
xingyu4j b6075a6611 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-06-04 13:49:25 +08:00
vben b9aef618fe chore: release 5.5.7 2025-06-04 05:33:06 +08:00
chewenye ea776aa710
types: 扩展user-dropdown组件的menus类型,支持iconify (#6283)
Co-authored-by: 车文烨 <chewy@china-lehua.com>
2025-06-03 06:07:06 +08:00
xingyu4j b0c5b794fa Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-06-02 19:51:33 +08:00
wyc001122 470fd43b49
fix: 修复使用useVbenVxeGrid配置hasEmptyText、hasEmptyRender不生效的问题 (#6310) 2025-06-02 08:16:26 +08:00
xingyu4j e3e0b1f1a0 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-29 11:01:39 +08:00
Netfan 96a10ca83f
style: fix lint error (#6298) 2025-05-28 19:23:21 +08:00
wyc001122 f31360ba4e
feat: support for hybrid permission access control mode (#6294)
* feat: 添加混合权限访问控制模式

* feat: 文档补充
2025-05-28 17:01:58 +08:00
wyc001122 4eb16d6d3a
fix: fix table-title slot not work (#6295) 2025-05-28 17:01:11 +08:00
xingyu4j 62198ec69c Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-27 10:36:30 +08:00
liqiang0330 53304514b6
fix: Update index.ts (#6268)
* Update index.ts

VxeGridPropTypes.原文件缺少这个,现在补全!

* Update index.ts

增加空格!
2025-05-26 13:29:27 +08:00
xingyu4j be1889a0e0 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-26 10:50:54 +08:00
wyc001122 97894a940e
feat: optimize logo display (#6267)
* feat(VbenAvatar): add fit property to VbenAvatar component

* feat(VbenLogo): add fit property to VbenLogo component

* feat(VbenLogo): add logo fit preference configuration

- Add preferences.logo.fit setting for logo display control
- Include corresponding documentation for the new preference

* feat(preferences): add default value for logo.fit preference

- Set default configuration for logo fit behavior
- Ensures consistent logo display across applications

* test(preferences): update configuration snapshots

---------

Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-23 15:24:01 +08:00
yingzi2019 48d70182b4
feat: improve check updates (#6257)
Co-authored-by: monkey <maotao@tutamail.com>
2025-05-23 15:23:06 +08:00
panda7 a2bdcd6e49
feat: ellipsis text automatically displays tooltip based on ellipsis (#6244)
* feat: ellipsis text automatically displays tooltip based on ellipsis

* feat: ellipsis text automatically displays tooltip based on ellipsis

---------

Co-authored-by: sqchen <9110848@qq.com>
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-05-23 15:20:38 +08:00
zwtvip f7bae8ac0f chore: export framework components for use in independent pages 2025-05-21 00:37:26 +08:00
xingyu4j c88bd198d4 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-20 10:35:19 +08:00
wyc001122 dae46abb71
feat: additional-settings (#6225)
* feat(preferences): 补充VbenAdminLayout传入属性(来自偏好设置)

* docs(@vben/docs):update settings doc

---------

Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-19 16:29:15 +08:00
wyc001122 5ee2a74e2d
fix(use-design-tokens): 完善element-plus暗色主题颜色 (#6224)
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-19 16:27:34 +08:00
xingyu4j 2f5758d4dd Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-19 10:46:36 +08:00
wyc001122 34c4ecb047
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-18 10:34:41 +08:00
ming4762 3d9dba965f
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-18 10:33:02 +08:00
afe1 2adb8acd80
fix: css style (#6176) 2025-05-16 09:40:40 +08:00
XiaoHetitu cf17a45d8d
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-16 09:37:50 +08:00
chewenye b46ebe756e
types: 导出authentication组件的type,自定义toolbarList时类型使用ToolbarType (#6158)
Co-authored-by: 车文烨 <chewy@china-lehua.com>
2025-05-16 09:36:49 +08:00
xingyu4j 99c848a39d Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-14 11:54:29 +08:00
Netfan e89cf400c0
fix: refresh command of tabbar issue, fixed: #6162 (#6169) 2025-05-12 23:34:08 +08:00
anyup 9e67929ee7
feat: support to refresh the tab page by route name (#6153)
Co-authored-by: anyup <anyupxing@163.com>
2025-05-10 22:33:31 +08:00
puhui999 98676e1dc9 feat: @vben/plugins/vxe-table 异步导出 vxe-table 相关组件提供给需要单独使用 vxe-table 的场景 2025-05-09 13:09:24 +08:00
xingyu4j 6a1317908a Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-06 23:51:36 +08:00
xingyu4j d29c71414e perf: verify 2025-05-06 22:59:15 +08:00
vben cc6c9bf7a0 chore: release v5.5.6 2025-05-06 22:32:58 +08:00
YunaiV 2fd6367983 review:通用的代码生成 demo 2025-05-06 22:32:09 +08:00
xingyu4j 81a54dfbd0 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-06 10:02:03 +08:00
ming4762 3b3f8e4e44
fix: fix `IconPicker` props warning (#6108)
Invalid prop: type check failed for prop "onUpdate:value". Expected Function, got Array
2025-05-06 09:30:37 +08:00
Vben 045bc4e5ee
feat: support smooth auto-scroll to active menu item (#6102) 2025-05-03 18:05:26 +08:00
Vben 17a18fc9ba
chore: close eslint object sorting (#6101) 2025-05-03 16:06:36 +08:00
puhui999 abb9cfc05f Merge remote-tracking branch 'refs/remotes/yudao/dev' into develop 2025-05-03 13:49:52 +08:00
xingyu4j 4f62d4b8ed Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-05-02 14:15:19 +08:00
Netfan f1af9f8f6e
fix: add triggerClass binding to PopoverTrigger and update icon-picker styles (#6095)
* Popover支持设置trigger的样式
* 修正icon-picker的input值更新
2025-05-01 21:40:45 +08:00
Netfan 0517a7014f
fix: add missing translation for preferences drawer (#6094) 2025-05-01 20:08:44 +08:00
ming4762 5de954baa4
fix: fix `LoginExpiredModal` in some cases, `message` may be obscured (#6086) 2025-05-01 10:40:42 +08:00
xingyu4j e02b5590dd Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-30 15:50:05 +08:00
Jin Mao 20c15f352f
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-04-29 18:15:12 +08:00
jason ab60f8eb3a Merge remote-tracking branch 'yudao/dev' into dev 2025-04-29 15:45:48 +08:00
Vben dd833ca56b
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-04-28 23:08:05 +08:00
vem 681c1dc267
fix: Update existing route index to prevent 404 on user switch (#6003)
Co-authored-by: tars-macmini <vem@qq.com>
2025-04-28 18:19:47 +08:00
xingyu4j 50d028f6b8 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-28 10:06:29 +08:00
Gahotx ca94ca906f
fix: add rounded corners to project and quick nav items (#5296) 2025-04-27 22:50:42 +08:00
Vben 76de450c71
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-04-27 22:06:49 +08:00
vben 7c7051a11e chore: release v5.5.5 2025-04-27 21:45:10 +08:00
Netfan aa27a2f7a1
feat: encrypt the privacy data when it is persisted (#6056)
* 对私密数据持久化时执行加密
* 将锁屏密码合并到accessStore中进行加密
2025-04-27 20:59:10 +08:00
puhui999 5c4b95b01e feat: 新增 vxe table 工具栏二次封装,提供给 vxe 原生列表使用 2025-04-27 18:13:08 +08:00
xingyu4j 2a805f560f feat: 调整显示比例为p-4 2025-04-27 14:41:04 +08:00
xingyu4j 093bc823e2 feat: 优化doc显示,增加圆角 2025-04-27 14:35:49 +08:00
xingyu4j 4d1bff9d4a Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-26 14:38:07 +08:00
Netfan 0a9fc4e02d
fix: title of search button in vxeTable toolbar (#6046)
* 修改vxeTable工具栏里的搜索按钮的提示文案
2025-04-26 01:08:41 +08:00
YunaiV 4125265582 fix: DocAlert 显示导致页面的高度计算不准确:在 page.vue 增加 doc 区域 2025-04-25 21:42:56 +08:00
xingyu4j e702e4aba0 fix: code lint packages 2025-04-24 17:55:30 +08:00
YunaiV b4efb7c468 refactor:修复 antd typecheck 提供的报错 2025-04-23 12:56:35 +08:00
YunaiV c0a92a5694 refactor:基于 lint 处理排版(框架层面) 2025-04-22 22:17:41 +08:00
YunaiV f202e1c69c refactor:优化 VITE_APP_TENANT_ENABLE、VITE_APP_CAPTCHA_ENABLE 变量的加载,不使用 useAppConfig 处理 2025-04-22 21:18:10 +08:00
xingyu4j 69fb58f2c8 refactor: tenantId 验证方式 z.number().positive() 2025-04-22 16:51:40 +08:00
xingyu4j acd2787f29 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into v-next-dev 2025-04-22 15:39:53 +08:00
pangyajun123 b985ff0584
fix: vxe-table theme token follow primary color (#6007) 2025-04-21 19:15:05 +08:00
YunaiV 7d00744a82 feat:完善我的站内信 100%(右上角) 2025-04-21 19:04:03 +08:00
wyc001122 b148b8ec92
fix: fix geader menu activation path (#5997)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-04-19 14:35:33 +08:00
YunaiV 54f9d0c10f feat: 增加 sso 单点登录 2025-04-16 18:35:03 +08:00
Netfan fcdc1a1602
feat: add more expose methods for `apiComponent` (#5958)
* 为ApiComponent组件添加getOptions和getValue导出方法。
2025-04-15 15:32:30 +08:00
YunaiV f27774c1fc feat: 登录界面,添加 DocLink 2025-04-15 13:20:26 +08:00
YunaiV 111c0eb93f feat: add verification comp【31315a7f】 2025-04-14 19:26:06 +08:00
ming4762 697f4119f3 perf: improve `autoSelect` of `ApiComponent` (#5936)
* fix: 修复autoSelect不生效的问题,props.valueField已经被omit了

* feat: ApiComponent autoSelect支持使用函数,可以满足灵活性要求更高的场景
2025-04-14 19:23:07 +08:00
Netfan dea404b433 feat: api-component support autoSelect prop (#5931)
* feat: api-component support autoSelect prop

* docs: add version requirement
2025-04-14 19:23:07 +08:00
Netfan 9ef1e51296 fix: builtin color change throttled in preference drawer (#5924)
修复偏好设置中的自定义主题色拖动选择颜色时页面会明显卡顿的问题
2025-04-14 19:23:07 +08:00
Netfan 9ba917c356 fix: theme mode follow the system only `auto` (#5923)
* 修复主题在未设置为auto时,仍然会跟随系统主题变化的问题。
2025-04-14 19:23:07 +08:00
zhang ec649cda2d chore: 导出框架自带的组件,方便独立页面使用 (#5876) 2025-04-14 19:23:07 +08:00
Netfan 93a44960d3 perf: optimize bootstrap modules to speed up first-screen loading (#5899)
优化首屏加载速度
2025-04-14 19:23:07 +08:00
Netfan 7e490c3070 feat: customizable table separator (#5898)
* 表格的分隔条支持定制背景色或完全移除
2025-04-14 19:23:07 +08:00
ming4762 16792d8305 perf: 优化关闭页面切换动画的tab切换性能 (#5883) 2025-04-14 19:23:06 +08:00
Netfan 5cc93d2efe feat: support logo text slot (#5872)
* 基础布局中的LOGO的文字区域允许通过插槽logo-text定制
2025-04-14 19:22:31 +08:00
wyc001122 3ba209a972 fix: 布局为双列菜单或者水平模式下, 一级菜单高亮问题 (#5870)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-04-14 19:22:31 +08:00
ming4762 b5700bd0b1
perf: improve `autoSelect` of `ApiComponent` (#5936)
* fix: 修复autoSelect不生效的问题,props.valueField已经被omit了

* feat: ApiComponent autoSelect支持使用函数,可以满足灵活性要求更高的场景
2025-04-13 20:03:18 +08:00
Netfan a8c4786311
feat: api-component support autoSelect prop (#5931)
* feat: api-component support autoSelect prop

* docs: add version requirement
2025-04-12 14:02:35 +08:00
Netfan 36bf6fc149
fix: builtin color change throttled in preference drawer (#5924)
修复偏好设置中的自定义主题色拖动选择颜色时页面会明显卡顿的问题
2025-04-12 01:44:08 +08:00
Netfan f46ec30995
fix: theme mode follow the system only `auto` (#5923)
* 修复主题在未设置为auto时,仍然会跟随系统主题变化的问题。
2025-04-12 01:16:57 +08:00
YunaiV 9fc51f085d feat:增加 social-login.vue 社交登录 2025-04-10 22:23:41 +08:00
zhang 86da3cedc2
chore: 导出框架自带的组件,方便独立页面使用 (#5876) 2025-04-09 16:16:56 +08:00
Netfan 329a176a5c
perf: optimize bootstrap modules to speed up first-screen loading (#5899)
优化首屏加载速度
2025-04-09 01:05:20 +08:00
YunaiV 2c105a21aa feat:增加 forget-password.vue 重置密码功能 2025-04-08 22:04:56 +08:00
Netfan 9379093a4f
feat: customizable table separator (#5898)
* 表格的分隔条支持定制背景色或完全移除
2025-04-08 20:28:50 +08:00
ming4762 c9014d0338
perf: 优化关闭页面切换动画的tab切换性能 (#5883) 2025-04-08 20:27:03 +08:00
YunaiV 144a2f1dc9 feat:增加 redis 监控 2025-04-07 22:00:14 +08:00
xingyu4j f73436e94f fix: captcha types 2025-04-07 11:23:32 +08:00
Netfan d216fdca44
feat: support logo text slot (#5872)
* 基础布局中的LOGO的文字区域允许通过插槽logo-text定制
2025-04-05 13:07:52 +08:00
wyc001122 384c5d7dbb
fix: 布局为双列菜单或者水平模式下, 一级菜单高亮问题 (#5870)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-04-05 11:04:59 +08:00
Rascal-Coder 3086b83834 fix: vxeGrid height fixed #5861 (#5862) 2025-04-05 09:55:23 +08:00