dream-weave
dcdbfe5dfc
fix(@vben-core/form-ui): restore lock screen form submission ( #8195 )
...
* fix(@vben-core/form-ui): avoid stale form context access
* fix(@vben/playground): constrain date range codec fields
* test(@vben-core/form-ui): harden benchmark fixtures
* docs(@vben/docs): document form runtime and benchmarks
* fix(@vben/docs): 明确 getValues/submit 返回值及 submit 参数类型
2026-07-24 10:05:27 +08:00
Dream
517a42ec05
perf(@vben-core/form-ui): benchmark form hot paths
2026-07-23 17:47:57 +08:00
Dream
bacfdf5e42
perf(@vben-core/form-ui): optimize array field updates
2026-07-23 17:47:57 +08:00
Dream
decbed20bc
fix(@vben-core/form-ui): harden codec value boundaries
2026-07-23 17:47:57 +08:00
Dream
1ac5ac3e82
fix(@vben-core/form-ui): preserve array field focus
2026-07-23 17:47:57 +08:00
zhb410181
8d5a419c50
Merge branch 'vbenjs:main' into main
2026-07-23 15:25:16 +08:00
xingyu
2d82505330
fix: dropdown menu responsiveness and improve dialog handling ( #8187 )
...
* fix: 修复用户下拉框小部件菜单行点击无响应及弹框闪退
- 主题/时区/全屏/通知菜单行补充 @select 处理器,点击行任意位置即可触发
- 时区设置弹框宿主移出 DropdownMenu(showButton 模式),修复弹框随下拉框关闭而闪退
- 通知组件暴露 toggle 供下拉框调用
- 偏好设置小部件文案精简,positionMap 顺序调整
* feat: draggable-list.vue 直接复用 SelectItem,用法和 tabbar.vue 完全一致
2026-07-23 15:14:25 +08:00
dream-weave
98dea92225
feat(@vben-core/form-ui): add typed form value codecs ( #8189 )
...
* feat(@vben-core/form-ui): add typed form value codecs
* test(@vben-core/form-ui): cover codec value boundaries
* refactor(project): propagate form codec generics
* feat(@vben/plugins): propagate form codecs through vxe grids
* refactor(@vben/playground): migrate form codec examples
* refactor(@vben/playground): migrate query forms to codecs
* docs(@vben/docs): document form value codecs
2026-07-23 15:09:31 +08:00
hiss
e6a23479ee
fix: 修复锁定屏幕和退出登录小部件,位置在 user-dropdown 时,使用快捷键唤出两个模态窗
2026-07-23 14:44:32 +08:00
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
b71ebbd673
Merge remote-tracking branch 'pr-8019-temp/main'
2026-07-18 19:21:36 +08:00
金毛88
31d3bd18f3
Merge branch 'fork/LayHuts/feature/form-field-arry'
2026-07-18 19:18:14 +08:00
Jin Mao
eae6771554
Merge branch 'main' into feature/fix_defects_router
2026-07-18 03:54:49 +08:00
Guillermo Sagar
6910c691f7
修复动画导致的白屏Bug ( #8148 )
...
首次页面加载正常,但是当通过页面点击切换路由的时候白屏,无法正常渲染子页面
Vue Transition + KeepAlive 空白页 bug**: `<Transition mode="out-in">` + 条件渲染会导致路由切换空白页。`mode="out-in"` 要求旧元素完成 leave 动画后新元素才进入,但路由切换时条件渲染可能在动画前就移除了旧元素,导致 `<Transition>` 永远等待一个不存在的元素 → 死锁。**解决方案**: 移除 `mode="out-in"`(保留 Transition 动画),或在 `apps/web-antd/src/preferences.ts` 设置 `transition: { enable: false }` 关闭动画走 `v-else` 分支。
2026-07-16 09:35:25 +08:00
Harold Zhang
263d8e5b52
Merge branch 'main' into feature/fix_defects_router
2026-07-14 09:47:34 +08:00
Harold Zhang
b79b82ecf0
feat: fixed the preference will hide all other button theme/timezone/lanague etc ( #8147 )
2026-07-13 21:31:06 +08:00
Harold Zhang
6eb79b8ef0
Merge branch 'main' into feature/fix_defects_router
2026-07-13 08:59:16 +08:00
zouawen
8b7c245bc7
fix: 修复首选项导航栏宽度问题 ( #8136 )
2026-07-11 11:43:47 +08:00
Harold Zhang
e416de3290
fix: fixed defects of router
2026-07-10 10:15:40 +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
陆伯言
d7d6d2e337
fix: lint issue from a8c3729 ( #8098 )
2026-06-30 14:23:52 +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
5ed867eb95
feat: 优化禁用的开关组件也可以查看help帮助信息
2026-06-30 09:39:32 +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
741cbb3794
Merge branch 'fork/xueyitt/feat/feat3'
2026-06-16 16:16:56 +08:00