xingyu4j
0483d5cd8b
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
2026-06-05 19:03:00 +08:00
金毛88
0eb72ca4fd
feat: add useTDesignDesignTokens
2026-06-03 13:25:23 +08:00
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: 优化渲染性能
2026-05-31 15:18:46 +08:00
YunaiV
71cec9ac6a
feat(mes): update chart options to use EChartsOption type and refactor imports
2026-05-30 16:34:12 +08:00
xingyu4j
fb2595ef90
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
2026-05-23 18:39:12 +08:00
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>
2026-05-23 09:50:35 +08:00
过冬
e98f0b7558
fix: 移动端禁用混合布局菜单拆分 ( #7949 )
2026-05-23 04:21:19 +08:00
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
2026-05-22 12:02:14 +08:00
layhuts
c066889c37
Fix: 在isMobile=true时无法自定义Drawer的class问题 ( #7941 )
...
* fix: 在isMobile=true时无法自定义Drawer的class问题
* fix: 在ResizableHandle两边增加边距
2026-05-22 11:56:09 +08:00
928646789
6b81d1b0d5
fix: preferences-button click to show setting drawer ( #7938 )
2026-05-22 07:26:12 +08:00
xingyu
00990d9453
Merge branch 'main' into fix/lint
2026-05-20 17:38:19 +08:00
PanFu
2a84b590b5
feat: 偏好设置按钮,支持在右上角用户的下拉框中展示;偏好设置中支持设置时区(多一个入口); ( #7931 )
...
* feat: 偏好设置按钮支持显示在用户下拉窗中的特性
* feat: 时区设置功能支持在偏好设置列表进行配置
* feat: 偏好设置按钮支持显示在用户下拉窗中的特性 - 完善示例代码
* feat: 时区设置功能支持在偏好设置列表进行配置
* feat: 时区设置功能支持在偏好设置列表进行配置-单元测试报错问题
* feat: 时区设置功能支持在偏好设置列表进行配置-修改代码QC问题
---------
Co-authored-by: PanFu <panfu@zhihuaai.com>
2026-05-20 17:24:53 +08:00
PanFu
769c970e08
fix: 修复三个问题:偏好配置项修改后重启不会生效;锁屏弹出框的按钮文字错误;右上角偏好设置按钮排序问题优化; ( #7930 )
...
* fix: 修正偏好设置加载缓存的偏好设置并与初始配置合并的顺序
* fix: 修正锁屏弹出框的按钮文字
* fix: 偏好设置按钮排序优化(取第三个占位的数字,若是第三个占位不是数字,则自动分配排序索引)
* fix: 修正偏好设置加载缓存的偏好设置并与初始配置合并的顺序 - 代码QC问题修改
---------
Co-authored-by: PanFu <panfu@zhihuaai.com>
2026-05-20 17:24:18 +08:00
xingyu4j
9ec98f0846
refactor: replace depcheck with knip for dependency checking
...
Migrate vsh check-dep from depcheck to knip, reducing
315 transitive dependencies. Config is inlined in
DEFAULT_CONFIG, matching the check-circular pattern.
Also re-export CollapsibleParams from @vben/common-ui.
2026-05-20 16:14:21 +08:00
xingyu4j
f71094e878
refactor: migrate json-viewer from vue-json-viewer to vue-json-pretty
...
- Replace vue-json-viewer with vue-json-pretty (actively maintained, Vue 3 native)
- Map original props to vue-json-pretty API in bindProps for backward compatibility
- Implement copy functionality via renderNodeActions slot with i18n support
- Update style.scss from .jv-* to .vjs-* class names
2026-05-20 14:39:17 +08:00
Jin Mao
76cfcda2e9
Merge branch 'fork/xingyu4j/antdv-next'
2026-05-19 14:14:28 +08:00
橙子
7ec4df4995
fix: search-panel when ArrowUp and ArrowDown ( #7922 )
2026-05-19 13:40:50 +08:00
leo
d71c81e8ff
style: apply vsh lint formatting ( #7923 )
2026-05-19 13:40:13 +08:00
xingyu4j
0c1b737325
fix: fix lint && typecheck
2026-05-18 16:50:14 +08:00
YunaiV
0e4012c623
feat(全局):增加 barcode 二维码组件
2026-05-17 23:07:56 +08:00
Jin Mao
c8c425538f
Merge branch 'fork/xueyitt/main'
2026-05-16 10:49:33 +08:00
Jin Mao
b04c10aab6
Merge branch 'fork/LayHuts/feature/vxe-table-viewed'
2026-05-16 10:48:00 +08:00
JyQAQ
b5f79db321
fix(@vben/plugins): 修复 tiptap 重复注册扩展警告 ( #7917 )
...
StarterKit v3.22.0 已默认包含 Document、Link、Underline 扩展,
与单独导入产生重复注册,导致控制台警告:
[tiptap warn]: Duplicate extension names found: ['link', 'doc', 'underline']
- 移除 Document 单独导入和使用,StarterKit 已内置
- 移除 Underline 单独导入和使用,StarterKit 已内置
- StarterKit 配置中添加 link: false,禁用内置 Link,
保留自定义配置的 Link.configure({...})
2026-05-16 10:45:30 +08:00
Akuria
294700a247
fix: skip fixed footer height in auto-content-height calculation ( #7910 )
...
* fix: skip fixed footer height in auto-content-height calculation
When the Page component's footer has position: fixed, it is removed
from the normal document flow and should not be subtracted from the
available content height. Previously, the footer's offsetHeight was
always subtracted, causing incorrect height calculation for fixed
footers.
Also reset shouldAutoHeight before recalculating to prevent stale
state on hot reload.
Fixes #4576
* fix: replace getComputedStyle footer height check with footerFixed prop
Use an explicit `footerFixed` boolean prop instead of runtime
getComputedStyle detection to determine whether the footer height
should be excluded from content height calculation. This avoids
unreliable style queries and makes the behavior deterministic.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 10:43:10 +08:00
Akuria
f55b18ffd7
fix: update primary color when toggling dark/light mode with custom theme ( #7909 )
...
When a custom theme is selected and the user toggles between dark and
light mode, the primary color was not being recalculated. This was caused
by a guard condition in the builtin theme watcher that skipped updating
themeColorPrimary for custom themes during mode changes.
Remove the guard so that the primary color is always recalculated from
the theme preset when the mode changes, ensuring Element Plus CSS
variables stay in sync.
Fixes #6615
2026-05-16 10:42:35 +08:00
xueyitt
30356a24e6
fix: 修正vxtable不存在formConfig时,直接变更data失效问题
...
修正vxtable不存在formConfig时,直接变更data失效问题
2026-05-11 10:09:47 +08:00
MistyMoon
ba60bc3c14
fix(@vben/layouts): correct logo theme in semi-dark sidebar ( #7785 ) ( #7902 )
2026-05-10 10:41:43 +08:00
JyQAQ
f5feddc6c7
feat(@vben/plugins): tiptap 组件新增 maxHeight 属性支持及文档 ( #7897 )
...
* feat(@vben/plugins): tiptap 组件新增 maxHeight 属性支持
- 新增 maxHeight prop 支持限制编辑器最大高度
- 编辑器内容区超出最大高度时自动滚动
- 移除 style.css 中未使用的 CSS 规则
* docs(@vben/plugins): 添加 tiptap 富文本编辑器组件文档
- 新增中文文档 docs/src/components/common-ui/vben-tiptap.md
- 新增英文文档 docs/src/en/components/common-ui/vben-tiptap.md
- 新增基础用法示例 demos/vben-tiptap/basic
- 新增图片上传示例 demos/vben-tiptap/image-upload
- 更新文档侧边栏配置
* fix(@vben/plugins): extract URL from response in image upload callback
The upload callback was incorrectly passing the AxiosResponse object
to resolve() instead of extracting the actual image URL string.
This caused the editor to insert [object Object] as image src,
resulting in broken images.
* chore: add changeset for tiptap maxHeight feature
* Revert "chore: add changeset for tiptap maxHeight feature"
This reverts commit a28fc4441f14641f6af6c1a143aa6959591315b2.
2026-05-10 10:38:21 +08:00
layhuts
1299acd8f9
fix: 获取已存在的 key,避免重复写入刷新过期时间
2026-05-09 23:27:25 +08:00
layhuts
08e4bb40b4
style: reformat code
2026-05-09 18:28:23 +08:00
layhuts
9c49f4bb1e
refactor: 优化viewed实例初始化,rowStyle rowClassName 从最新的配置中读取
2026-05-09 18:27:09 +08:00
layhuts
28905b0bec
style: reformat code
2026-05-09 14:08:19 +08:00
layhuts
a5f0537cb0
fix: 处理viewedKeys由于 FIFO 顺序,显式提供的值可能会被异步存储恢复静默地移除。
2026-05-09 13:38:50 +08:00
layhuts
c78d89f549
fix: 处理非原子性的先清除后写入操作会setKeys带来永久性数据丢失的风险
2026-05-09 13:16:50 +08:00
layhuts
f2a17cbe78
fix: 处理getViewedKeys()返回对内部可变对象的直接引用问题
2026-05-09 13:10:41 +08:00
layhuts
2d36d6b510
style: reformat code
2026-05-09 11:03:47 +08:00
layhuts
88d5661e0c
refactor: 重构ViewedRowPersistOptions处理扁平化问题
...
改成按 type 字段区分的联合类型
2026-05-09 11:02:16 +08:00
layhuts
e1f6449073
feat: 表格已读行操作标记
2026-05-08 20:03:05 +08:00
layhuts
e555ee065e
feat(@vben-core/shared): 新增indexedDB
...
在cache下新增indexedDB缓存
2026-05-08 17:34:54 +08:00
Lin
b5dacd992f
feat: add time zone option to preference settings ( #7871 )
2026-05-03 12:16:58 +08:00
Jin Mao
86445a38e4
Merge branch 'fork/jyqwq/feature/富文本支持图片上传'
2026-05-01 06:49:48 +08:00
leo
9a73e961fc
fix(@vben/stores): respect base URL when opening route in new window ( #7837 )
...
* fix(@vben/stores): respect base URL when opening route in new window
* fix(@vben/stores): respect base URL when opening route in new window
2026-05-01 06:49:05 +08:00
boisduval
c0b2ef980e
fix: 修复 IconPicker 在手动输入时表单值不更新的问题 ( #7869 )
...
- 修复 IconPicker.vue 在 updateCurrentSelect 时未同步更新 modelValue 的 Bug
- 优化 IconPicker 适配器配置,使其兼容 Element Plus 的 ElInput 组件
2026-04-30 15:46:07 +08:00
yuan.ji
244c0a5884
fix(@vben/plugins): 根据代码审查意见修复 tiptap 图片上传
...
- 提取 findPlaceholderPos 辅助函数,消除重复的 descendants 查找
- 添加 editor.isDestroyed 守卫,防止操作已销毁编辑器
- renderHTML 不输出上传状态属性,防止 blob URL 泄露到序列化 HTML
- uploadImage 命令返回 boolean,添加 Commands 类型增强,移除 as any
- 拖拽/粘贴多图时仅处理第一张并提示仅支持单图上传
- 自定义 extensions 时不传 imageUpload 给工具栏,toolbar action 加运行时守卫
2026-04-27 14:33:30 +08:00
yuan.ji
c6fd599784
feat(@vben/plugins): 补充 tiptap 图片上传类型、工具栏和示例
...
- 新增 ImageUploadOptions 类型定义和 imageUpload 属性
- 工具栏图片按钮支持上传/URL 双模式
- playground 添加图片上传 mock 示例
2026-04-27 13:42:56 +08:00
yuan.ji
4ca2f1c6e8
feat(@vben/plugins): tiptap 支持图片上传功能
...
- 新增 imageUpload 配置项,支持自定义上传接口
- 支持文件选择、拖拽、粘贴三种上传方式
- 上传中显示 blob 预览图 + loading spinner / 进度条
- 支持 accept 和 maxSize 文件校验
- 支持 onUploadError 自定义错误处理
- 未配置 imageUpload 时保持原有 URL 插入行为不变
- 使用 NodeView 实现实时 DOM 控制的进度展示
2026-04-27 13:42:36 +08:00
Jin Mao
fee32c1d12
chore: 优化通知组件逻辑
...
- 移除冗余的空值检查,简化数组长度判断条件
- 统一导入语句的引号格式为双引号
- 优化 VbenScrollbar 组件的显示条件逻辑
- 更新清除按钮的禁用状态判断逻辑
2026-04-15 17:22:39 +08:00
xingyu4j
a653e428f3
Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin
2026-04-13 16:45:32 +08:00
xueyitt
6c029bfa32
Merge branch 'main' into main
2026-04-13 16:10:29 +08:00
雪忆天堂
fe77bc8bc9
feat: 通知模块自定义加强
2026-04-13 16:05:42 +08:00