金毛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 )
1 month 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到用户登录头像 下拉来回闪烁 隐藏 显示
2 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
leo
d71c81e8ff
style: apply vsh lint formatting ( #7923 )
3 months ago
xingyu4j
0c1b737325
fix: fix lint && typecheck
3 months ago
PanFu
42d82875ce
feat: 1、完善tree组件的全选状态不正确、全选没有label、item内容超长导致复选框对齐错乱、item内容超长没有tips无法看到完整内容的问题 ( #7915 )
Co-authored-by: PanFu <panfu@zhihuaai.com>
3 months ago
Akuria
ca5931e8c4
fix: preserve tree default value when treeData starts empty ( #7908 )
When treeData is initially an empty array (e.g. before async data
arrives), updateTreeValue() would clear the modelValue because no
matching items could be found in the empty flattened data. This caused
default values to be lost.
Only call updateTreeValue() when flattenData has items, so that
modelValue is preserved until the actual tree data arrives.
Fixes #6522
3 months ago
Yanghai.Lin
0868deb82b
fix: 修复 Input 组件 focus 边框被裁剪问题 ( #7894 )
* fix(other): 修复 oxlint ignorePatterns 导致 pre-commit hook 失败
* fix(@vben-core/shadcn-ui ): 修复 Input 组件 focus 时边框被父容器 overflow hidden 裁剪
* fix(@vben-core/shadcn-ui ): 修复 SelectTrigger 组件 focus 时边框被父容器 overflow hidden 裁剪
4 months ago