Jin Mao
6aca9a9c99
test(dom): 更新元素可见区域计算的测试用例
- 修正了getElementVisibleRect函数的期望值断言
- 将bottom值从800更正为0以匹配实际计算结果
- 将left值从1100更正为0以匹配实际计算结果
- 将right值从1000更正为0以匹配实际计算结果
- 将top值从900更正为0以匹配实际计算结果
2 weeks ago
橙子
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
2 weeks ago
xueyitt
ccf70a1b76
feat: 修正菜单排序在二级菜单不生效问题 ( #7007 )
* treeUtil增加对树形结构数据进行递归排序
* 菜单sort排序各级菜单均生效
2 months ago
xingyu4j
7bf7c0bb06
chore: remove unused deps
2 months ago
xingyu4j
6753834054
fix: lint
2 months ago
米山
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.
3 months ago
xingyu4j
bed52983a0
fix: lint
3 months ago
Jin Mao
f09aace765
fix: 更新依赖后的表格显示问题
3 months ago
Jin Mao
f918dc24c6
chore( @vben/utils ): 移除冗余的 lodash 依赖
3 months ago
Jin Mao
e898993fe8
chore( @vben/utils ): 替换 lodash 工具函数为 es-toolkit 实现
3 months ago
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 并更新相关依赖配置
3 months ago
米山
24b6e7a835
feat: add global font size adjustment
3 months ago
Utopia
6bbe523f6f
chore: 增强 util-formatDate ts 类型提示 ( #6886 )
* feat: 为 auth layout 添加 slot: logo, 提升组件的灵活性和可复用性
* feat: 增强 util-formatDate ts 类型提示
3 months ago
Li Kui
be843300be
chore: update demo routes
3 months ago
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>
3 months ago
Jin Mao
f8a7a0a9a2
chore: lint
3 months ago
zhongming4762
639ea96bb9
fix: resolve the issue of logout failure caused by the timezone store
3 months ago
zhongming4762
565be77e96
fix: resolve the issue of logout failure caused by the timezone store
3 months ago
zhongming4762
4d713db546
feat: increase support for multiple time zones
* 优化实现方法
3 months ago
zhongming4762
0a8339a405
feat: increase support for multiple time zones
4 months ago
zoumingjun
32051e9ca0
fix: 优化左侧和右侧认证面板动画效果
4 months ago
zouawen
2ce161e585
feat: 1、新增水印文案自定义功能;2、input-item输入框组件新增清除功能(可用于快捷清除水印文案);3、偏好设置、主题切换、语言选择、是否全屏按钮新增动画效果 ( #6800 )
* feature: 新增水印文案自定义功能;
* chore: 偏好设置、主题切换、语言选择、是否全屏按钮新增动画效果
4 months ago
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插槽样式。
5 months ago
Svend
3ad433a50b
fix: 修复在 hash 路由模式下无法在新窗口打开路由的问题 ( #6652 )
此问题是由于 PR #6583 中新增的 `resolveHref` 函数导致的。其在 hash 路由模式下,得到的 URL 会包含 #/ 前缀。在经过 openRouteInNewWindow 的逻辑后就会出现两次 /# 前缀
6 months ago
vben
e147a9d2fd
chore: release 5.5.9
6 months ago
zhongming4762
06ffdf164a
feat: add dingding login
7 months ago
vben
1575619d53
chore: release v5.5.8
7 months ago
vben
b9aef618fe
chore: release 5.5.7
8 months ago
wyc001122
f31360ba4e
feat: support for hybrid permission access control mode ( #6294 )
* feat: 添加混合权限访问控制模式
* feat: 文档补充
8 months ago
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提示的警告
9 months ago
vben
cc6c9bf7a0
chore: release v5.5.6
9 months ago
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
10 months ago
vben
7c7051a11e
chore: release v5.5.5
10 months ago
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
10 months ago
Netfan
0b650367f3
fix: popover background color in dark mode ( #5783 )
* 修复dark主题下的弹出层背景色在某些浏览器上表现为完全透明的问题
11 months ago
Netfan
03ceb2aac5
fix: default value for nested fields ( #5763 )
11 months ago
vben
b92ac5c36d
chore: release 5.5.4
11 months ago
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
11 months ago
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
12 months ago
Netfan
4570d5b54b
feat: add `VbenButtonGroup` and `VbenCheckButtonGroup` with demo ( #5591 )
* 添加按钮组、选择按钮组以及相应的Demo
12 months ago
Netfan
799934171a
style: code style fixed
12 months ago
vben
195ceec9b4
chore: release 5.5.3
1 year ago
Netfan
8cc903c0e1
feat: modal state locked on submitting ( #5401 )
* feat: modal state locked on submitting
* docs: 更新modal文档
1 year ago
Netfan
13087a10b7
refactor: fix popup component zIndex ( #5397 )
1 year ago
Netfan
1ad54561b0
feat: add `noBasicLayout` in route meta ( #5386 )
所有菜单数据无需配置component为BasicLayout,它们将会默认使用基础布局,也可以通过meta.noBasicLayout来阻止这一行为
1 year ago
Netfan
8cf6e8ec75
style: popover bgColor is too close to common ( #5364 )
修复Dark主题下,弹出层的背景色与主体背景色太过接近的问题
1 year ago
王文庭
16162c01ed
fix: download from url triggered twice sometimes ( #5319 )
解决Chrome、Safari通过路径一次下载两个文件的BUG
1 year ago
Vben
081d2aed23
perf: format code with better style ( #5283 )
1 year ago
Netfan
2135cb8ece
feat: new layout `sidebar nav with full header` ( #5270 )
1 year ago
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
1 year ago