zhongming4762
331da3c8c7
perf: optimize the closing jump logic of tabs
...
* 依据tab访问历史回退上一个tab,原逻辑是返回一下个 或 上一个
2026-02-04 19:29:33 +08:00
Jin Mao
6aca9a9c99
test(dom): 更新元素可见区域计算的测试用例
...
- 修正了getElementVisibleRect函数的期望值断言
- 将bottom值从800更正为0以匹配实际计算结果
- 将left值从1100更正为0以匹配实际计算结果
- 将right值从1000更正为0以匹配实际计算结果
- 将top值从900更正为0以匹配实际计算结果
2026-01-25 14:22:22 +08:00
Jin Mao
b9224fc379
Merge branch 'main' into fix
2026-01-23 13:48:54 +08:00
橙子
203ee9b623
fix(@vben-core/shared): element outside viewport, the element visible rect each prop expect 0 ( #7120 )
...
* fix(@vben-core/shared): element outside viewport
* fix(@vben-core/shared): element outside viewport
2026-01-22 11:37:01 +08:00
xingyu4j
ce7b7b910a
Merge branch 'main' of https://github.com/xingyu4j/vue-vben-admin into fix
2026-01-04 10:56:14 +08:00
xueyitt
ccf70a1b76
feat: 修正菜单排序在二级菜单不生效问题 ( #7007 )
...
* treeUtil增加对树形结构数据进行递归排序
* 菜单sort排序各级菜单均生效
2025-12-22 19:57:21 +08:00
xingyu4j
7bf7c0bb06
chore: remove unused deps
2025-12-03 16:26:58 +08:00
xingyu4j
6753834054
fix: lint
2025-12-03 15:37:33 +08:00
milletpeak
1f1ba16ead
Merge branch 'main' into milletpeak-fontsize
2025-11-24 08:55:54 +08:00
米山
aaf0274fe9
feat: add menu font size variable and update related components
...
- Introduced a new CSS variable `--menu-font-size` calculated from the base font size.
- Updated `PreferenceManager` to trigger CSS variable updates when `fontSize` is modified.
- Adjusted `updateCSSVariables` to set the new `--menu-font-size` based on the theme's font size.
- Ensured that the menu components utilize the updated font size with `!important` to maintain styling consistency.
2025-11-19 10:51:10 +08:00
milletpeak
fb8f36eeec
Merge branch 'main' into milletpeak-fontsize
2025-11-19 09:41:55 +08:00
xingyu4j
bed52983a0
fix: lint
2025-11-17 12:15:14 +08:00
Jin Mao
f09aace765
fix: 更新依赖后的表格显示问题
2025-11-14 21:44:32 +08:00
Jin Mao
c3a7562e2c
Merge branch 'main' into milletpeak-fontsize
2025-11-13 17:01:42 +08:00
Jin Mao
f918dc24c6
chore(@vben/utils): 移除冗余的 lodash 依赖
2025-11-13 07:47:48 +08:00
Jin Mao
e898993fe8
chore(@vben/utils): 替换 lodash 工具函数为 es-toolkit 实现
2025-11-13 07:45:10 +08:00
Jin Mao
5cafcb4a01
refactor(shared): 替换 lodash 工具函数为 es-toolkit 兼容版本
...
- 将 get 和 isEqual 方法从 lodash 替换为 es-toolkit/compat 导出
- 更新 package.json 添加 es-toolkit 依赖
- 注释掉原有的 lodash.get 和 lodash.isequal 导出语句- 锁定 es-toolkit 版本至1.41.0 并更新相关依赖配置
2025-11-13 07:28:52 +08:00
米山
24b6e7a835
feat: add global font size adjustment
2025-11-12 17:38:41 +08:00
Jin Mao
a4aa133db5
Merge branch 'main' into tdesign
2025-11-09 12:04:30 +08:00
Utopia
6bbe523f6f
chore: 增强 util-formatDate ts 类型提示 ( #6886 )
...
* feat: 为 auth layout 添加 slot: logo, 提升组件的灵活性和可复用性
* feat: 增强 util-formatDate ts 类型提示
2025-11-09 12:00:49 +08:00
Li Kui
be843300be
chore: update demo routes
2025-11-06 17:44:34 +08:00
Copilot
c7c39047de
feat: add theme-aware logo support via optional sourceDark configuration ( #6866 )
...
* Initial plan
* Initial exploration and setup
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* Add support for separate light and dark theme logos
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* Update documentation with dark theme logo configuration
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* feat: Add theme-aware logo support for authentication/login page
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* revert: .npmrc
Signed-off-by: aonoa <1991849113@qq.com>
---------
Signed-off-by: aonoa <1991849113@qq.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
Co-authored-by: aonoa <1991849113@qq.com>
2025-11-03 13:07:36 +08:00
Jin Mao
f8a7a0a9a2
chore: lint
2025-10-31 09:11:40 +08:00
zhongming4762
639ea96bb9
fix: resolve the issue of logout failure caused by the timezone store
2025-10-30 17:12:45 +08:00
zhongming4762
565be77e96
fix: resolve the issue of logout failure caused by the timezone store
2025-10-30 17:01:49 +08:00
Jin Mao
ac6de0324c
Merge branch 'fork/ming4762/timezone-20251020'
2025-10-30 00:42:05 +08:00
zhongming4762
4d713db546
feat: increase support for multiple time zones
...
* 优化实现方法
2025-10-29 19:47:10 +08:00
zhongming4762
0a8339a405
feat: increase support for multiple time zones
2025-10-22 19:52:01 +08:00
zoumingjun
32051e9ca0
fix: 优化左侧和右侧认证面板动画效果
2025-10-18 20:52:27 +08:00
zouawen
2ce161e585
feat: 1、新增水印文案自定义功能;2、input-item输入框组件新增清除功能(可用于快捷清除水印文案);3、偏好设置、主题切换、语言选择、是否全屏按钮新增动画效果 ( #6800 )
...
* feature: 新增水印文案自定义功能;
* chore: 偏好设置、主题切换、语言选择、是否全屏按钮新增动画效果
2025-10-07 06:15:41 +08:00
zouawen
39820c783c
fix:
...
1、VbenTree新增是否全选、展开折叠功能;
2、解决当点击子节点label文字区域,而非checkbox时,关联父组件不能选中问题;
3、优化子节点选中时关联父节点选中功能:删除VbenTree中processParentSelection方法,改为在onSelect中实现,原因:processParentSelection在每次模型值更新时都会被调用,且计算复杂度为O(n^2),onSelect只在交互时触发,复杂度为O(n);
4、新增中间层tree组件,处理无数据时显示场景(显示图标Inbox和国际化comom.noData文本);
5、为防止父组件传值子组件boolean类型默认false问题,新增treePropsDefaults方法,为TreeProps赋默认值,Tree组件和VbenTree组件统一使用;
6、优化VbenTree组件整体样式(优化padding、margin、gap值,优化type为button时outline左右空白区域不对称问题),优化内部header、footer插槽样式。
2025-09-11 16:41:42 +08:00
Svend
3ad433a50b
fix: 修复在 hash 路由模式下无法在新窗口打开路由的问题 ( #6652 )
...
此问题是由于 PR #6583 中新增的 `resolveHref` 函数导致的。其在 hash 路由模式下,得到的 URL 会包含 #/ 前缀。在经过 openRouteInNewWindow 的逻辑后就会出现两次 /# 前缀
2025-08-19 16:47:45 +08:00
vben
e147a9d2fd
chore: release 5.5.9
2025-08-16 22:16:02 +08:00
zhongming4762
06ffdf164a
feat: add dingding login
2025-07-25 22:02:55 +08:00
vben
1575619d53
chore: release v5.5.8
2025-07-19 22:19:50 +08:00
vben
b9aef618fe
chore: release 5.5.7
2025-06-04 05:33:06 +08:00
wyc001122
f31360ba4e
feat: support for hybrid permission access control mode ( #6294 )
...
* feat: 添加混合权限访问控制模式
* feat: 文档补充
2025-05-28 17:01:58 +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
vben
cc6c9bf7a0
chore: release v5.5.6
2025-05-06 22:32:58 +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
44138f578f
feat: add preset alert, confirm, prompt components that can be simple called ( #5843 )
...
* feat: add preset alert, confirm, prompt components that can be simple called
* fix: type define
2025-04-01 15:10:18 +08:00
Netfan
0b650367f3
fix: popover background color in dark mode ( #5783 )
...
* 修复dark主题下的弹出层背景色在某些浏览器上表现为完全透明的问题
2025-03-25 21:17:55 +08:00
Netfan
03ceb2aac5
fix: default value for nested fields ( #5763 )
2025-03-21 16:06:14 +08:00
vben
b92ac5c36d
chore: release 5.5.4
2025-03-18 21:43:27 +08:00
Netfan
b37ed48b9d
feat: role management page with component `tree` ( #5675 )
...
* feat: add shadcn tree
* fix: update vbenTree component
* feat: role management demo page
* feat: add cellSwitch renderer for vxeTable
* chore: remove tree examples
2025-03-07 16:03:08 +08:00
Netfan
d33261d0c2
chore: demo page for system/department ( #5611 )
...
* feat: department management demo
* perf: department page improve
* feat: demo api middleware
* fix: add losing import
2025-02-25 19:47:45 +08:00
Netfan
4570d5b54b
feat: add `VbenButtonGroup` and `VbenCheckButtonGroup` with demo ( #5591 )
...
* 添加按钮组、选择按钮组以及相应的Demo
2025-02-24 13:50:50 +08:00
Netfan
799934171a
style: code style fixed
2025-02-16 23:32:06 +08:00
vben
195ceec9b4
chore: release 5.5.3
2025-01-21 22:07:55 +08:00
Netfan
8cc903c0e1
feat: modal state locked on submitting ( #5401 )
...
* feat: modal state locked on submitting
* docs: 更新modal文档
2025-01-15 17:00:46 +08:00
Netfan
13087a10b7
refactor: fix popup component zIndex ( #5397 )
2025-01-15 12:32:03 +08:00
Netfan
1ad54561b0
feat: add `noBasicLayout` in route meta ( #5386 )
...
所有菜单数据无需配置component为BasicLayout,它们将会默认使用基础布局,也可以通过meta.noBasicLayout来阻止这一行为
2025-01-14 12:12:08 +08:00
Netfan
8cf6e8ec75
style: popover bgColor is too close to common ( #5364 )
...
修复Dark主题下,弹出层的背景色与主体背景色太过接近的问题
2025-01-12 14:48:05 +08:00
王文庭
16162c01ed
fix: download from url triggered twice sometimes ( #5319 )
...
解决Chrome、Safari通过路径一次下载两个文件的BUG
2025-01-08 16:01:23 +08:00
Vben
081d2aed23
perf: format code with better style ( #5283 )
2025-01-01 11:39:49 +08:00
Netfan
2135cb8ece
feat: new layout `sidebar nav with full header` ( #5270 )
2024-12-31 00:30:15 +08:00
Netfan
ff8d5ca351
feat: header mixed layout ( #5263 )
...
* feat: new layout header-mixed
* fix: header-mixed layout update
* feat: layout preference update
* fix: extra menus follow layout setting
2024-12-30 14:01:17 +08:00
vben
07c4ad05f4
chore: release 5.5.2
2024-12-28 22:15:00 +08:00
Netfan
ec2c6eff6f
feat: header menu align support ( #5256 )
...
* feat: header menu align support
* fix: typo
2024-12-28 16:16:48 +08:00
Netfan
acd87b2250
feat: add `resizable` and `ColPage` component ( #5188 )
...
* feat: add component resizable
* feat: component `ColPage` with demo
2024-12-19 20:37:42 +08:00
vben
cbca9ffd95
chore: release 5.5.1
2024-12-12 22:47:11 +08:00
Netfan
e419b03cab
feat: modal&drawer support appendToMain and zIndex ( #5092 )
...
* feat: modal/drawer support append to main content
* feat: modal zIndex support
* fix: drawer prop define
* chore: type
* fix: modal/drawer position fixed while append to body
* docs: typo
* chore: add full-width drawer in content area
* chore: remove unnecessary class
2024-12-10 17:37:06 +08:00
Netfan
b75a8e6a2b
fix: form setValues not support `dayjs` and `Date` value ( #5064 )
...
* fix: setFormValues not support `dayjs object` value
* fix: setFormValues not support `Date` value
* chore: remove console log
2024-12-07 11:09:55 +08:00
vben
7ab00250bf
chore: release 5.5.0
2024-12-04 22:57:27 +08:00
Vben
9896a67c21
feat: add api-select component ( #5024 )
2024-12-04 22:56:29 +08:00
vben
24b9aa44d2
chore: Revert "fix: form 表单不支持field.xxx.xx格式的defaultValue配置 ( #4965 )"
...
This reverts commliit 12f216c0e7 .
2024-12-02 00:47:06 +08:00
leizhiyou
12f216c0e7
fix: form 表单不支持field.xxx.xx格式的defaultValue配置 ( #4965 )
...
* fix: form 表单不支持field.xxx.xx格式的defaultValue配置
* chore: 修复代码规范问题
2024-12-01 21:48:54 +08:00
Netfan
3fb286b552
fix: element hover style in dark theme ( #4983 )
2024-11-30 10:55:29 +08:00
vince
54a9ff088f
feat: upgrade vite version to 6.0.0 ( #4961 )
...
* chore: upgrade vite version to 6.0.0
* chore: update lock
2024-11-27 15:52:25 +08:00
vben
c8dd9bbf0b
chore: release 5.4.8
2024-11-24 22:00:41 +08:00
Vben
3587ec54eb
fix: supplement datepicker component ( #4943 )
...
* fix: supplement datepicker component
* chore: typo
2024-11-24 21:56:41 +08:00
vben
788a29a8cb
chore: release v5.4.7
2024-11-14 22:15:46 +08:00
vince
67c2b13713
fix: drawer console warning ( #4871 )
2024-11-12 13:34:47 +08:00
vben
94efcec7da
chore: release v5.4.6
2024-11-10 11:50:46 +08:00
Vben
a3d0d2ed34
feat: added file download examples ( #4853 )
2024-11-10 11:50:06 +08:00
vben
57d5a919d2
chore: release v5.4.5
2024-11-09 21:06:10 +08:00
Vben
5e44aa9283
fix: drawer header is missing ( #4846 )
2024-11-09 20:00:09 +08:00
Vben
26bec4222f
fix: pages cannot be quickly moved back by hand gestures ( #4845 )
2024-11-09 16:32:55 +08:00
Vben
4005023fd4
fix: drawer component header does not take effect ( #4844 )
2024-11-09 15:53:17 +08:00
Vben
8617d3dd1e
perf: formApi added validateAndSubmitForm & filedMapToTime renamed fieldMappingTime ( #4842 )
...
* perf: formApi added validateAndSubmitForm & filedMapToTime renamed fieldMappingTime
2024-11-09 15:00:59 +08:00
huangxiaomin
632081e828
feat: add icon-picker component ( #4832 )
...
* feat: add icon-picker component
* fix: resolve conversations
* refactor: resort @vben/hooks
2024-11-09 14:10:17 +08:00
Vben
2c6edafeb2
fix: when opening the tool separately, there is no need to pass the toolbar-tools slot ( #4841 )
2024-11-09 14:07:41 +08:00
vben
44440d0951
chore: release v5.4.4
2024-11-04 22:47:52 +08:00
Vben
5999a862b6
perf: expose the formApi for a login form ( #4806 )
2024-11-04 22:46:16 +08:00
Vben
43d95cc587
fix: remove vite-plugin-lib-inject-css ( #4793 )
2024-11-02 15:30:49 +08:00
vben
ad3963ff70
chore: release v5.4.3
2024-10-27 21:59:54 +08:00
Vben
23768ea620
feat: menu routing support opens in a new window ( #4715 )
2024-10-22 22:24:56 +08:00
Vben
1b172b0329
fix: rename the Icon component to IconifyIcon to prevent name conflicts and fix type issues ( #4704 )
2024-10-21 20:14:25 +08:00
vben
bfaa2780ab
chore: release v5.4.2
2024-10-20 22:35:58 +08:00
Vben
d262b7b6c0
fix: fix known issues with the form ( #4696 )
...
* fix: fix known issues with the form
* chore: typo
* chore: typo
2024-10-20 22:34:11 +08:00
Vben
477a05c26c
feat: menu supports carrying default query ( #4687 )
2024-10-19 19:50:23 +08:00
vben
d1ca09c7bb
chore: release v5.4.1
2024-10-18 22:12:00 +08:00
vince
c491b9e021
fix: maximum call stack size ( #4674 )
...
* fix: maximum call stack size
2024-10-18 14:24:39 +08:00
dependabot[bot]
a0fbe0b21a
chore(deps): bump tailwindcss from 3.4.13 to 3.4.14 in the non-breaking-changes group ( #4650 )
...
* chore(deps): bump tailwindcss in the non-breaking-changes group
Bumps the non-breaking-changes group with 1 update: [tailwindcss](https://github.com/tailwindlabs/tailwindcss ).
Updates `tailwindcss` from 3.4.13 to 3.4.14
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases )
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.14/CHANGELOG.md )
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.13...v3.4.14 )
---
updated-dependencies:
- dependency-name: tailwindcss
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: non-breaking-changes
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: update deps
* chore: lint fix
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 21:23:11 +08:00
Vben
24d14c2841
refactor(adapter): separate form and component adapters so that components adapt to components other than the form ( #4628 )
...
* refactor: global components can be customized
* refactor: remove use Toast and reconstruct the form adapter
2024-10-13 18:33:43 +08:00
vben
9856bc88d2
chore: release v5.4.0
2024-10-13 14:21:54 +08:00
vben
68465b5fbf
chore: release v5.4.0-beta.1
2024-10-13 14:17:28 +08:00
Netfan
0fcc42a2fb
fix: incorrect info color for element plus, fixed #4532 ( #4566 )
2024-10-05 10:30:53 +08:00
Vben
4173264805
feat: add vxe-table component ( #4563 )
...
* chore: wip vxe-table
* feat: add table demo
* chore: follow ci recommendations to adjust details
* chore: add custom-cell demo
* feat: add custom-cell table demo
* feat: add table from demo
2024-10-04 23:05:28 +08:00