Harold Zhang
f43de252b5
fix: fixed the icon defect which cause to langauge button can not be clicked ( #8184 )
2026-07-23 12:20:38 +08:00
dream-weave
28757fb9c8
refactor(@vben-core/form-ui): migrate to Zod 4 and TanStack Form ( #8176 )
...
* build(@vben-core/form-ui): update form validation dependencies
* refactor(@vben-core/form-ui): replace vee-validate with TanStack Form
* test(@vben-core/form-ui): cover TanStack Form migration
* docs(@vben/docs): document Zod 4 form migration
* refactor(project): update form adapters
* refactor(project): migrate application form consumers
* refactor(@vben/playground): migrate form examples
* docs(@vben/docs): fix validate return type and required rule empty check in form docs
* fix(@vben-core/form-ui): resolve oxlint and eslint errors
- rewrite nested ternary expressions as if/else in form-field-array.vue and form-runtime.ts
- sort @tanstack/vue-form before @vben-core/composables in package.json
* chore: fix merge artifacts and formatting
- move dependencies before devDependencies in root package.json
- update preferences snapshot for widget positioning fields
- format form-array demo README
* refactor(@vben-core/form-ui): optimize form runtime and value flow
- add fine-grained field selectors and atomic dependency resolution
- expose raw and formatted value snapshots with focused regression coverage
* fix(@vben/layouts): dispose sortable instance on unmount
* docs(@vben/docs): document form runtime API changes
- list added, changed, removed, and deprecated form APIs
- document atomic dependencies and raw versus formatted values
2026-07-22 19:47:07 +08:00
xingyu
6b6708bcf2
fix: 修复点击退出图标确认后不能退出 && 图标排序等数组字段需顺序敏感比较 ( #8179 )
...
* chore: 调整 sortablejs 的位置,只在用到的模块引入
* fix: non-null assertion lint error
* fix: 修复点击退出图标确认后不能退出
* fix: 图标排序等数组字段需顺序敏感比较
* feat: 配置中增加 refresh 并统一位置
2026-07-22 17:44:10 +08:00
金毛88
899910547f
Merge branch 'fork/xingyu4j/deps'
2026-07-22 09:55:03 +08:00
金毛88
b21563a89b
feat: 顶栏与用户下拉框按钮样式统一与 tooltip 修复
...
- 修复 VbenTooltip 的 :content prop 类型错误,改用默认插槽
- 修复 VbenIconButton 的 onClick prop 支持数组合并
- VbenFullScreen 新增 tooltip prop,支持直接设置提示
- 统一顶栏与用户下拉框所有按钮样式,使用 VbenIconButton 包装
- 移除 i18n 中多余的"启用"字样(全局搜索/语言切换)
- 修复 VbenPopover PopoverTrigger 嵌套 button 导致 tooltip 不显示
Co-Authored-By: AtomCode (GLM-5.2) <noreply@atomgit.com >
2026-07-21 22:36:42 +08:00
xingyu4j
68a2717a26
fix: test error
2026-07-20 18:48:20 +08:00
xingyu4j
0a2c01e453
fix: 添加 oxlint 禁用注释以避免嵌套三元运算符警告
2026-07-20 18:45:38 +08:00
金毛88
f840d235ef
feat: 偏好设置小部件支持位置选择与拖拽排序
...
- 顶栏各小部件按钮支持选择位置(header/user-dropdown/none),偏好设置按钮额外保留 auto/fixed 智能兜底,移动端/全屏内容模式下自动切 fixed 浮动保命,避免偏好入口死锁
- draggable-list.vue 的 listRef 未在模板绑定,Sortable 永不初始化导致小部件无法拖拽;加 ref 绑定与 data-key 让 onEnd 从 DOM 读真实新顺序
- preferences.ts 的 updatePreferences 用 defu(merge) 合并数组,对 widget.order 是 concat 语义,每次拖拽触发更新都会把当前 order 追加一次,localStorage 里膨胀到上百条;改用 mergeWithArrayOverride 整体替换,加载缓存时 sanitizeCachedArray 去重已存在的脏数据
- preferences 按钮之前在 widget.order 里因 labelMap 未登记显示成裸字符串,且 widgetChecks 缺 refresh 导致刷新按钮不按 order 渲染;统一 preferences 与其它 widget 的拖拽排序与位置 select,refresh 补进 rightSlots.widgetChecks 并补模板渲染
- 补 sortablejs 依赖、WidgetPreferences.order 类型字段、preferences-drawer.vue 的 widgetOrder 绑定
2026-07-19 21:34:11 +08:00
金毛88
0cd87c170f
feat: 顶栏按钮支持位置选择(header/user-dropdown/none)
...
为顶栏所有部件按钮添加独立的位置配置,支持在顶栏、用户下拉菜单、不显示
三种选项间切换,每个按钮可独立设置。
- 新增 7 个位置偏好字段:globalSearchButtonPosition、
themeToggleButtonPosition、languageToggleButtonPosition、
fullscreenButtonPosition、notificationButtonPosition、
refreshButtonPosition、timezoneButtonPosition
- 合并 lockScreenButtonPosition、logoutButtonPosition
- header.vue 按位置条件过滤按钮显示
- user-dropdown.vue 新增对应菜单项,支持在用户下拉菜单中显示
- 偏好设置界面仅保留位置选择器(不再需要独立的开关)
- 更新中英文国际化文案
Co-Authored-By: AtomCode (deepseek-v4-flash) <noreply@atomgit.com >
2026-07-18 22:46:31 +08:00
金毛88
31d3bd18f3
Merge branch 'fork/LayHuts/feature/form-field-arry'
2026-07-18 19:18:14 +08:00
zouawen
8b7c245bc7
fix: 修复首选项导航栏宽度问题 ( #8136 )
2026-07-11 11:43:47 +08:00
luoqiz
14d03a1c2d
fix: 统一BasicUserInfo ( #8133 )
2026-07-09 13:23:29 +08:00
zhb410181
9769c11de5
fix(style): 修复偏好设置功能tab栏宽度未自适应问题 ( #8132 )
2026-07-09 13:23:08 +08:00
Evan
8779c00670
fix: 修复homePath的路径 ( #8110 )
...
* fix: 修复homePath的路径
* fix: 单元测试数据
* chore: 单元测试快照数据
---------
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com >
2026-07-01 17:31:37 +08:00
金毛88
61f1b53325
fix: 修改默认首页,以适配router重构
2026-07-01 17:02:55 +08:00
金毛88
1490a93f47
Merge branch 'fork/bnuephjx/refactor/router-redirect'
2026-07-01 13:31:27 +08:00
金毛88
e50296e3c5
Merge branch 'fork/zouawen/main'
2026-07-01 13:06:42 +08:00
layhuts
fdf2abb702
refactor: 修改form-field-array支持dependencies
2026-07-01 11:08:35 +08:00
layhuts
9d36b34c4c
docs: 修复错误的注释说明
2026-07-01 09:52:51 +08:00
Evan
18e2bbf969
Merge branch 'main' into refactor/router-redirect
2026-06-30 22:23:54 +08:00
layhuts
14bb94245c
feat: 新增logo铺满显示和是否显示text配置 ( #8102 )
...
* feat: 新增logo铺满显示和是否显示text配置
* feat: logo.enable=false时隐藏logo区域占位;设置logoMode、showText为必填。
* style: 修复注释问题
* fix: 删除多余属性
2026-06-30 21:50:45 +08:00
Evan
feb0265744
Merge branch 'main' into refactor/router-redirect
2026-06-30 14:26:23 +08:00
xueyitt
7182405d24
fix: 修复弹框自定义宽度 class 被默认 max-w 覆盖的问题 ( #8100 )
...
将 modalClass 参数移至 cn() 末尾,确保用户通过 class 传入的宽度样式
优先于内置默认的 max-w-[calc(100vw-20px)] 生效,使 业务使用Modal 上的自定义的max-w-[50%] 等方式能正确控制弹框宽度。
2026-06-30 14:24:18 +08:00
Harold Zhang
31c31b914b
feat: fix check error ( #8094 )
2026-06-30 14:23:27 +08:00
Evan
f00a881295
refactor(@vben/access): 重构路由的重定向逻辑
...
@vben-core/shared
@vben/playground
@vben/backend-mock
@vben/web-antd
@vben/web-antdv-next
@vben/web-ele
@vben/naive
@vben/tdesign
2026-06-30 13:36:37 +08:00
zoumingjun
ae5bd3afc5
feat: 首选项导航栏选项标题过长时显示省略号,且增加聚焦时文字提示
2026-06-30 09:37:28 +08:00
vben
a8c3729850
feat: add ICP filing number to copyright across app
2026-06-24 10:04:10 +08:00
layhuts
9a284ee385
style: 处理modal设置class="md:w-5/12"格式时Fullscreen时无法最大化问题 ( #8084 )
2026-06-23 21:46:43 +08:00
yshbyy
45399d0299
fix(@vben-core/shadcn-ui): 补全 ScrollArea onScroll 滚动事件透传 ( #8069 )
2026-06-18 16:10:21 +08:00
xingyu
dc3466d77a
refactor: 将 unicorn / TypeScript 规则迁移至 oxlint,并完善 oxfmt 配置 ( #8067 )
...
* chore: update deps
* chore: update archiver v8
* fix: 还原 vue/html-closing-bracket-newline
* feat: 增加默认配置和配置注释
* feat: 增加oxlint默认插件配置和注释
* refactor: remove unicorn ESLint configuration and update dependencies
- Deleted the unicorn ESLint configuration file from the lint-configs package.
- Removed unicorn configuration from the main index file.
- Updated oxlint-config to include a comprehensive set of unicorn rules.
- Adjusted preferences and vxe-table files to disable specific unicorn rules.
- Removed references to eslint-plugin-unicorn from pnpm-lock.yaml and pnpm-workspace.yaml.
* refactor: 移除 eslint 的 @typescript-eslint/eslint-plugin 依赖,将 TypeScript 配置迁移到 oxlint
* feat: open typeAware
* fix: mac 和linux下报错
2026-06-18 16:10:01 +08:00
金毛88
769791351f
chore: update deps && lint
2026-06-16 16:25:21 +08:00
金毛88
edd110ac4e
Merge branch 'fork/xueyitt/feat/feat1'
2026-06-16 16:15:33 +08:00
xueyitt
7824219557
fix: 修正AppPreferences中defaultAvatar、dynamicTitle注释 ( #8060 )
2026-06-16 14:23:25 +08:00
雪忆天堂
ebebb42625
feat: 1、FieldMappingTime拆解独立FieldMappingTimeItem+集合形式,方便单独对象定义;
...
2、表单submitOnChange增加changeDebouncedTime防抖处理,允许自定义防抖周期;
3、handleValuesChange事件set增加cloneDeep,防止对象值污染;
2026-06-16 09:48:27 +08:00
HaroldZhangCode91
f753a3b75f
Merge branch 'main' into feature/fix_confirm_regression
2026-06-15 16:45:08 +08:00
曾兴顺
fcf726f953
fix: 修复Tree组件不支持半选的问题(子节点全选时父节点选中图标为勾选状态,子节点部分选中时父节点图标为减号,也就是版勾选状态,子节点未被选中时,父节点不被选中) ( #8050 )
2026-06-15 16:38:21 +08:00
Harold Zhang
16ebc67796
feat: fixed useScrollLock() can not be unlock
2026-06-15 16:34:53 +08:00
Harold Zhang
6b109c9ae6
fix: fixed regression of confirm
2026-06-15 16:24:17 +08:00
xingyu
160114c5e0
fix: select and user-dropdown ( #8042 )
...
* fix: 偏好设置中下拉框无法选择的问题,原因: 同步 shadcn-vue 将 z-popup 同步为 shadcn 的 z-50
* fix: 鼠标hover到用户登录头像 下拉来回闪烁 隐藏 显示
2026-06-10 21:26:47 +08:00
金毛88
4b1fada0ab
Merge branch 'fork/zhb410181/fix/style'
2026-06-09 11:22:58 +08:00
hiss
5c9daab2ff
fix(style): 1.修复ToggleGroupItem边框样式问题 2.修复用户头像下拉框Badge背景颜色
2026-06-09 08:56:07 +08:00
Harold Zhang
c2a85f4ec2
feat: support unlocking scroll when modal dialog closes
2026-06-08 14:15:31 +08:00
xingyu4j
c816591b69
fix: modal 下拉等不能选中
2026-06-06 19:32:31 +08:00
xingyu4j
564b349700
fix: vue/custom-event-name-casing
2026-06-06 16:21:25 +08:00
afe1
748b182e44
fix: workflow ( #8013 )
...
* fix: catelog
* fix: system
* chore: sync upstream changes
* feat: component and workflow error
2026-06-05 05:13:08 +08:00
金毛88
6544340d80
Merge branch 'fork/HaroldZhangCode91/feature/fix_freeze_scrollbar_of_modal'
2026-06-04 13:54:21 +08:00
Harold Zhang
6b7cb7b1fc
feat: fixed the regression of changing Menu to MenuUI
2026-06-04 11:46:53 +08:00
Harold Zhang
d90d45a128
fix: fixed modal freeze issue
2026-06-04 11:19:38 +08:00
Harold Zhang
0328594747
feat: fixed the overlay layer can not work with reka-ui
2026-06-03 17:52:41 +08:00
Harold Zhang
cc60ca9592
feat: fixed the defects the scrollbar disapear when modal close
2026-06-03 16:10:17 +08:00