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
1 month ago
xingyu
6b6708bcf2
fix: 修复点击退出图标确认后不能退出 && 图标排序等数组字段需顺序敏感比较 ( #8179 )
* chore: 调整 sortablejs 的位置,只在用到的模块引入
* fix: non-null assertion lint error
* fix: 修复点击退出图标确认后不能退出
* fix: 图标排序等数组字段需顺序敏感比较
* feat: 配置中增加 refresh 并统一位置
1 month ago
xingyu4j
68a2717a26
fix: test error
1 month ago
xingyu4j
0a2c01e453
fix: 添加 oxlint 禁用注释以避免嵌套三元运算符警告
1 month ago
金毛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 绑定
1 month ago
金毛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>
1 month ago
zouawen
8b7c245bc7
fix: 修复首选项导航栏宽度问题 ( #8136 )
2 months ago
luoqiz
14d03a1c2d
fix: 统一BasicUserInfo ( #8133 )
2 months ago
zhb410181
9769c11de5
fix(style): 修复偏好设置功能tab栏宽度未自适应问题 ( #8132 )
2 months ago
Evan
8779c00670
fix: 修复homePath的路径 ( #8110 )
* fix: 修复homePath的路径
* fix: 单元测试数据
* chore: 单元测试快照数据
---------
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
2 months ago
金毛88
61f1b53325
fix: 修改默认首页,以适配router重构
2 months ago
layhuts
fdf2abb702
refactor: 修改form-field-array支持dependencies
2 months ago
layhuts
9d36b34c4c
docs: 修复错误的注释说明
2 months ago
layhuts
14bb94245c
feat: 新增logo铺满显示和是否显示text配置 ( #8102 )
* feat: 新增logo铺满显示和是否显示text配置
* feat: logo.enable=false时隐藏logo区域占位;设置logoMode、showText为必填。
* style: 修复注释问题
* fix: 删除多余属性
2 months ago
xueyitt
7182405d24
fix: 修复弹框自定义宽度 class 被默认 max-w 覆盖的问题 ( #8100 )
将 modalClass 参数移至 cn() 末尾,确保用户通过 class 传入的宽度样式
优先于内置默认的 max-w-[calc(100vw-20px)] 生效,使 业务使用Modal 上的自定义的max-w-[50%] 等方式能正确控制弹框宽度。
2 months ago
Harold Zhang
31c31b914b
feat: fix check error ( #8094 )
2 months ago
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
2 months ago
zoumingjun
ae5bd3afc5
feat: 首选项导航栏选项标题过长时显示省略号,且增加聚焦时文字提示
2 months ago
vben
a8c3729850
feat: add ICP filing number to copyright across app
2 months ago
layhuts
9a284ee385
style: 处理modal设置class="md:w-5/12"格式时Fullscreen时无法最大化问题 ( #8084 )
2 months ago
yshbyy
45399d0299
fix( @vben-core/shadcn-ui ): 补全 ScrollArea onScroll 滚动事件透传 ( #8069 )
2 months ago
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下报错
2 months ago
金毛88
769791351f
chore: update deps && lint
2 months ago
xueyitt
7824219557
fix: 修正AppPreferences中defaultAvatar、dynamicTitle注释 ( #8060 )
2 months ago
雪忆天堂
ebebb42625
feat: 1、FieldMappingTime拆解独立FieldMappingTimeItem+集合形式,方便单独对象定义;
2、表单submitOnChange增加changeDebouncedTime防抖处理,允许自定义防抖周期;
3、handleValuesChange事件set增加cloneDeep,防止对象值污染;
2 months ago
曾兴顺
fcf726f953
fix: 修复Tree组件不支持半选的问题(子节点全选时父节点选中图标为勾选状态,子节点部分选中时父节点图标为减号,也就是版勾选状态,子节点未被选中时,父节点不被选中) ( #8050 )
2 months ago
Harold Zhang
16ebc67796
feat: fixed useScrollLock() can not be unlock
2 months ago
Harold Zhang
6b109c9ae6
fix: fixed regression of confirm
2 months ago
xingyu
160114c5e0
fix: select and user-dropdown ( #8042 )
* fix: 偏好设置中下拉框无法选择的问题,原因: 同步 shadcn-vue 将 z-popup 同步为 shadcn 的 z-50
* fix: 鼠标hover到用户登录头像 下拉来回闪烁 隐藏 显示
3 months ago
hiss
5c9daab2ff
fix(style): 1.修复ToggleGroupItem边框样式问题 2.修复用户头像下拉框Badge背景颜色
3 months ago
Harold Zhang
c2a85f4ec2
feat: support unlocking scroll when modal dialog closes
3 months ago
xingyu4j
c816591b69
fix: modal 下拉等不能选中
3 months ago
xingyu4j
564b349700
fix: vue/custom-event-name-casing
3 months ago
afe1
748b182e44
fix: workflow ( #8013 )
* fix: catelog
* fix: system
* chore: sync upstream changes
* feat: component and workflow error
3 months ago
Harold Zhang
6b7cb7b1fc
feat: fixed the regression of changing Menu to MenuUI
3 months ago
Harold Zhang
d90d45a128
fix: fixed modal freeze issue
3 months ago
Harold Zhang
0328594747
feat: fixed the overlay layer can not work with reka-ui
3 months ago
Harold Zhang
cc60ca9592
feat: fixed the defects the scrollbar disapear when modal close
3 months ago
HaroldZhangCode91
79707a2ebd
feat: fixed regression of modal for element plus ( #7999 )
3 months ago
金毛88
0eb72ca4fd
feat: add useTDesignDesignTokens
3 months ago
xingyu
04fbb7a556
chore: 升级 shadcn-vue 组件到v4最新版 ( #7972 )
* fix: useStore is deprecated
* chore: update deps
* feat: 升级shadcn-ui v4
* fix: workbench style
* feat: 升级shadcn-ui v4 step2
* feat: 升级shadcn-ui v4 step3
* chore: 升级shadcn v4
* fix: pagination
* fix: dark style
* fix: doc import
* feat: 增加详情组件,参考 antdv-next
* docs: descriptions docs
* docs: Browser Support
* feat: add table action
* feat: icon use vbenIcon
* fix: type error
* fix: dropdown popConfirm
* feat: 使用默认的文字交互
* feat: 优化渲染性能
3 months ago
Saleri
e5f9106caa
feat( @core/form-ui ): 新增 useVbenForm 数组编辑器 VbenFormFieldArray
3 months ago
boisduval
f7540c119b
fix: 修复 useVbenModal useVbenDrawer 传入参数失效的问题 ( #7964 )
- 把provide的key值修改为与inject一致的options
3 months ago
过冬
acf289381e
fix( @vben-core/popup-ui ): modal 响应式适配,支持视口自适应 ( #7951 )
3 months ago
PanFu
f813245827
feat: 偏好设置的快捷键列表追加ESC快捷键的控制(关闭当前窗口) ( #7947 )
* feat: 快捷键追加ESC控制,关闭当前窗口
* feat: 偏好设置中,页面切换动画的颜色看不清的问题(使用当前主题色)
* feat: 三种弹出框支持快捷键ESC动作
* feat: 代码自动格式化(3个框架改动)
* feat: 代码自动格式化(3个框架改动)
* fix: 修正locale数据获取方式
* 单元测试问题修改
* 单元测试问题修改
* fix: 解决代码评论的问题
* fix: 解决代码评论的问题
* fix: 解决代码评论的问题
* fix: 解决代码评论的问题
* 单元测试问题修改
* fix: 解决评论问题
* fix: 解决代码格式导致pnpm run lint报错的问题
---------
Co-authored-by: PanFu <panfu@zhihuaai.com>
3 months ago
Reese Wellin
cd86de54e1
fix(preferences): 修复主题等个性化信息持久化被初始化配置覆盖 ( #7948 )
调整 initPreferences 中 merge 顺序,使用户缓存优先于 initialPreferences。
Fixes #7943
3 months ago
xingyu
f2b3b12553
chore: pnpm v11 ( #7942 )
* chore: remove rolldown dep
* fix: issues-helper and maintain-one-comment are temporarily disabled due to security issues
* chore: update deps
* fix: change error type to TypeError for non-browser environment check in LocalStorageDriver
* chore: update pnpm v11
3 months ago
layhuts
c066889c37
Fix: 在isMobile=true时无法自定义Drawer的class问题 ( #7941 )
* fix: 在isMobile=true时无法自定义Drawer的class问题
* fix: 在ResizableHandle两边增加边距
3 months ago
PanFu
2a84b590b5
feat: 偏好设置按钮,支持在右上角用户的下拉框中展示;偏好设置中支持设置时区(多一个入口); ( #7931 )
* feat: 偏好设置按钮支持显示在用户下拉窗中的特性
* feat: 时区设置功能支持在偏好设置列表进行配置
* feat: 偏好设置按钮支持显示在用户下拉窗中的特性 - 完善示例代码
* feat: 时区设置功能支持在偏好设置列表进行配置
* feat: 时区设置功能支持在偏好设置列表进行配置-单元测试报错问题
* feat: 时区设置功能支持在偏好设置列表进行配置-修改代码QC问题
---------
Co-authored-by: PanFu <panfu@zhihuaai.com>
3 months ago
PanFu
769c970e08
fix: 修复三个问题:偏好配置项修改后重启不会生效;锁屏弹出框的按钮文字错误;右上角偏好设置按钮排序问题优化; ( #7930 )
* fix: 修正偏好设置加载缓存的偏好设置并与初始配置合并的顺序
* fix: 修正锁屏弹出框的按钮文字
* fix: 偏好设置按钮排序优化(取第三个占位的数字,若是第三个占位不是数字,则自动分配排序索引)
* fix: 修正偏好设置加载缓存的偏好设置并与初始配置合并的顺序 - 代码QC问题修改
---------
Co-authored-by: PanFu <panfu@zhihuaai.com>
3 months ago