tikitoki
e9eab29953
fix:fix password input icon visual bug in certain browser ( #7521 )
...
Co-authored-by: nick8799981325 <zc1078134211@163.com>
2026-02-06 15:28:48 +08:00
Leo Caan (陈栋)
4f1eeb7da5
fix: 修复设置default-expanded-level后无法check更低层级节点 logic and tree value updates ( #7155 )
...
假设缺省展开2级,当check 3级节点时,会触发effectWatch重新收缩到2级,并丢失check操作check操作andling.
2026-02-06 12:55:14 +08:00
ming4762
c48943bc67
fix: fix Nested Objects dependencies not effective ( #7345 )
2026-01-31 16:44:20 +08:00
xingyu
7680b33b99
fix : #7140 ( #7153 )
...
* chore: add yaml eslint validate
* chore: update deps
* fix: unused ts lint
* fix: 弹窗只能点击一次 #7140
* chore: update actions/checkout v6
* chore: update node version v22.22.0
2026-01-28 18:05:20 +08:00
Jin Mao
bb5d75bc7e
fix: 修复表单展开无效 ( #7148 )
...
- 修正模板中 ref 属性的引用名称
2026-01-27 11:35:50 +08:00
ming4762
528395e2c3
perf: optimizing hidden fields cannot trigger `dependencies` ( #7142 )
2026-01-26 16:12:26 +08:00
橙子
6e8315ab40
fix: arguments order update ( #7132 )
...
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
2026-01-26 16:11:37 +08:00
Jin Mao
b9224fc379
Merge branch 'main' into fix
2026-01-23 13:48:54 +08:00
橙子
44f8aed06d
fix: timer not need reactivity ( #7128 )
2026-01-23 13:16:09 +08:00
yuhengshen
74381aa8c1
fix: 嵌套弹窗,错误 merge options ( #7126 )
2026-01-22 20:07:13 +08:00
xingyu
9b09ba4483
Merge branch 'main' into fix
2026-01-19 10:54:43 +08:00
ppxb
f4a4ced88d
fix: header auto mode issue ( #7096 )
2026-01-12 21:40:26 +08:00
ppxb
51bca25345
fix(lint): pnpm format lint warning ( #7080 )
2026-01-10 14:06:03 +08:00
xingyu4j
ce7b7b910a
Merge branch 'main' of https://github.com/xingyu4j/vue-vben-admin into fix
2026-01-04 10:56:14 +08:00
ppxb
7d2bc2e885
fix: dropdown raido menu type error ( #7062 )
...
* fix: dropdown raido menu type
* chore: format code
2026-01-02 14:25:19 +08:00
luoqiz
89b237f6b4
feat: 添加上下文菜单演示,添加菜单项隐藏性 ( #7057 )
...
Co-authored-by: luoqiz <851092732@qq.com>
2026-01-02 14:22:19 +08:00
xingyu4j
af3fe53ec8
fix: type error
2025-12-22 17:50:06 +08:00
xingyu4j
6753834054
fix: lint
2025-12-03 15:37:33 +08:00
milletpeak
1f1ba16ead
Merge branch 'main' into milletpeak-fontsize
2025-11-24 08:55:54 +08:00
panda7
b6edc5f574
fix: centered 为 true 时设置 draggable 无法拖拽 ( #6948 )
...
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-11-24 08:38:10 +08:00
Jin Mao
8b0f138100
Merge branch 'main' into deps
2025-11-24 08:23:02 +08:00
aonoa
b17fec41b0
fix: tree component cannot set a value ( #6941 )
...
Signed-off-by: aonoa <1991849113@qq.com>
2025-11-24 07:56:16 +08:00
米山
aaf0274fe9
feat: add menu font size variable and update related components
...
- Introduced a new CSS variable `--menu-font-size` calculated from the base font size.
- Updated `PreferenceManager` to trigger CSS variable updates when `fontSize` is modified.
- Adjusted `updateCSSVariables` to set the new `--menu-font-size` based on the theme's font size.
- Ensured that the menu components utilize the updated font size with `!important` to maintain styling consistency.
2025-11-19 10:51:10 +08:00
米山
cd7c11c7d0
fix: run 'pnpm format' update various components and improve layout structure
...
- Updated demo-preview and preview-group components for better error handling and layout.
- Enhanced drawer and modal components for improved auto-height functionality.
- Refactored layout components including header, footer, sidebar, and tabbar for better responsiveness and usability.
- Adjusted tooltip and help tooltip components for better user guidance.
- Fixed issues in various UI components to ensure consistent styling and functionality across the application.
2025-11-19 10:14:04 +08:00
xingyu4j
9a4f0f6ab1
feat: Consider multi-line formatting for readability
2025-11-17 14:24:43 +08:00
xingyu4j
bed52983a0
fix: lint
2025-11-17 12:15:14 +08:00
米山
24b6e7a835
feat: add global font size adjustment
2025-11-12 17:38:41 +08:00
panda7
573637222d
feat: add form handleCollapsedChange event ( #6893 )
...
* feat: add form handleCollapsedChange event
* fix: ts lint
* fix: ts error
---------
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-11-12 02:03:12 +08:00
xingyu
20410aeb03
fix: updating Tailwind CSS variables from --radix-* to --reka-* ( #6890 )
...
* fix: radix => reka
* chore: add reka cspell
* fix: Composition url
2025-11-09 11:49:01 +08:00
Copilot
1e09fa4642
feat: migrate from Radix Vue to Reka UI ( #6870 )
...
* Initial plan
* Update dependencies and imports from radix-vue to reka-ui
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
* Fix type errors after reka-ui migration
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
* Run formatter to fix code style
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: likui628 <90845831+likui628@users.noreply.github.com>
2025-11-06 16:22:24 +08:00
Copilot
c7c39047de
feat: add theme-aware logo support via optional sourceDark configuration ( #6866 )
...
* Initial plan
* Initial exploration and setup
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* Add support for separate light and dark theme logos
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* Update documentation with dark theme logo configuration
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* feat: Add theme-aware logo support for authentication/login page
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
* revert: .npmrc
Signed-off-by: aonoa <1991849113@qq.com>
---------
Signed-off-by: aonoa <1991849113@qq.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: aonoa <32682251+aonoa@users.noreply.github.com>
Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
Co-authored-by: aonoa <1991849113@qq.com>
2025-11-03 13:07:36 +08:00
zoumingjun
08b6e7713e
fix: 修复对话框modal组件方法名错误
2025-10-18 21:13:34 +08:00
zoumingjun
6a89814b83
chore: 优化侧边栏展开折叠图标
2025-10-18 20:59:14 +08:00
zoumingjun
52d3aa9315
fix: 优化Checkbox组件hover样式,Input组件placeholder样式,TabsList组件圆角样式
2025-10-18 20:58:48 +08:00
zouawen
59097e2466
chore: 新增是否开启首选项导航栏(外观、布局、快捷键、通用)吸顶效果,调整部分样式 ( #6804 )
2025-10-14 06:55:11 +08:00
zouawen
2ce161e585
feat: 1、新增水印文案自定义功能;2、input-item输入框组件新增清除功能(可用于快捷清除水印文案);3、偏好设置、主题切换、语言选择、是否全屏按钮新增动画效果 ( #6800 )
...
* feature: 新增水印文案自定义功能;
* chore: 偏好设置、主题切换、语言选择、是否全屏按钮新增动画效果
2025-10-07 06:15:41 +08:00
shierd
42e3de9e2c
fix: 修复设置表单值时合并子对象的错误 ( #6780 )
...
Co-authored-by: shier <shier@shierd.com>
2025-09-30 05:10:39 +08:00
Cup_Of_Bread
81bb7456f8
fix: 修复注解错误 ( #6763 )
2025-09-23 23:49:25 +08:00
pangyajun123
26f8d2aa30
perf: 表单需要通过权限控制是否需要展示,dependencies.if 这种方式需要别triggerFields触发字段,不能满足要求 ( #6756 )
2025-09-23 23:48:27 +08:00
boisduval
a8b848d367
fix: 解决搜索表单中arrayToStringFields属性无法在搜索时生效的问题 ( #6591 )
...
- 合并handleArrayToStringFields与handleStringToArrayFields为handleMultiFields
- 在handleMultiFields判断arrayToString或stringToArray
- 删除两个方法在其他地方的引用 统一为在handleRangeTimeValue内调用handleMultiFields实现数据转换
Co-authored-by: 宛晴 <wanqing@mengtaigroup.com>
2025-09-23 23:45:26 +08:00
zouawen
a4b8f8f795
fix: 节点选中时过滤父节点禁用状态
2025-09-12 17:31:42 +08:00
zouawen
dfa2ac3435
fix: 全选时过滤disabled的节点
2025-09-11 18:16:10 +08:00
zouawen
39820c783c
fix:
...
1、VbenTree新增是否全选、展开折叠功能;
2、解决当点击子节点label文字区域,而非checkbox时,关联父组件不能选中问题;
3、优化子节点选中时关联父节点选中功能:删除VbenTree中processParentSelection方法,改为在onSelect中实现,原因:processParentSelection在每次模型值更新时都会被调用,且计算复杂度为O(n^2),onSelect只在交互时触发,复杂度为O(n);
4、新增中间层tree组件,处理无数据时显示场景(显示图标Inbox和国际化comom.noData文本);
5、为防止父组件传值子组件boolean类型默认false问题,新增treePropsDefaults方法,为TreeProps赋默认值,Tree组件和VbenTree组件统一使用;
6、优化VbenTree组件整体样式(优化padding、margin、gap值,优化type为button时outline左右空白区域不对称问题),优化内部header、footer插槽样式。
2025-09-11 16:41:42 +08:00
谦元吉
c57592f3a6
fix(@vben-core/shadcn-ui): 修复VbenPinInput组件在点击获取验证码和回车同时进行时会重复触发计时器的问题 ( #6705 )
2025-09-02 16:56:46 +08:00
Ken Hai
b0d7b177be
fix: 角色管理,授权的树形组件,取消勾选叶子节点,父级节点状态错误 ( #6680 )
...
Co-authored-by: haiyinlong <haiyinlong@uhigame.com>
2025-08-25 21:32:01 +08:00
LinaBell
566d3bdf7c
fix: appendToMain warning ( #6684 )
2025-08-25 21:25:29 +08:00
LinaBell
cf6c4c9aae
fix: cannot read properties of null (reading 'nextSibling') ( #6667 )
2025-08-21 22:26:10 +08:00
panda7
2cc78f925f
fix: the bug in the lock method of the vbenModal component ( #6648 )
2025-08-21 15:17:55 +08:00
ming4762
93f0eea4e7
fix: fix the issue of excessive line spacing in vbenForm ( #6653 )
...
* gap-2和 pb-4/2 重叠导致间距过宽,gap-x只保留列间距
2025-08-21 12:41:04 +08:00
ming4762
8ac2db5b7c
fix: fix the issue of `VbenForm` `compact` reactive failure ( #6654 )
2025-08-19 16:46:14 +08:00
ming4762
1e6417f95b
feat: vBenForm add layout: inline ( #6644 )
2025-08-16 22:41:08 +08:00
vben
e147a9d2fd
chore: release 5.5.9
2025-08-16 22:16:02 +08:00
xueyang
9fc594434f
perf: 优化useVbenForm样式 ( #6611 )
...
* perf(style): 优化useVbenForm垂直布局 actions 样式
* perf(style): 优化useVbenForm actions 布局样式
- 操作按钮组显示位置
```
actionPosition?: 'center' | 'left' | 'right';
```
- 操作按钮组的样式
```
actionType?: 'block' | 'inline'
inline: 行类显示,block: 新一行单独显示
```
* perf: 优化useVbenForm actions 布局样式
删除 actionType
增加 actionLayout
- actionLayout?: 'inline' | 'newLine' | 'rowEnd';
- newLine: 在新行显示。rowEnd: 在行内显示,靠右对齐(默认)。inline: 使用grid默认样式
- 删除无用代码 queryFormStyle
* perf: 优化useVbenForm使用案例
* perf: 优化form组件样式
去掉padding,改为gap
* docs: update vben-form.md
* fix: 修复FormMessage位置
* perf: Avoid direct mutation of props object.
- props.actionLayout = props.actionLayout || 'rowEnd';
- props.actionPosition = props.actionPosition || 'right';
+ const actionLayout = props.actionLayout || 'rowEnd';
+ const actionPosition = props.actionPosition || 'right';
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* fix: 修复 wrapperClass 权重
* fix: 全局搜索结果不匹配 #6603
* fix: 避免FormMessage溢出
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-08-07 23:48:34 +08:00
ming4762
5b75e5e917
perf: perf the control logic of `VbenModal` full screen and header ( #6566 )
...
* resolve the issue of header=false and full screen button display but not operable
2025-07-25 21:45:45 +08:00
Jin Mao
260e45cd7b
Merge branch 'main' into feat/add-vben-modal-animation
2025-07-25 21:33:11 +08:00
vben
1575619d53
chore: release v5.5.8
2025-07-19 22:19:50 +08:00
panda7
fc9ea347ca
Merge branch 'main' into feat/add-vben-modal-animation
2025-07-18 00:38:54 +08:00
panda7
1a9b0509d5
feat: add animation effects to VbenModal component
2025-07-18 00:15:40 +08:00
panda7
07b64ad384
feat: add function support for formItemClass prop ( #6511 )
...
* feat: add function support for formItemClass prop
* feat: add try-catch to formItemClass function
* fix: formItemClass function ts error
---------
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-07-17 09:37:39 +08:00
Jin Mao
3b673ca915
Merge branch 'main' into feature/scroll_to_the_error_field
2025-07-07 08:21:50 +08:00
Jin Mao
bbf0287511
chore: fix lint warning ( #6487 )
2025-07-07 08:21:25 +08:00
sqchen
f1051c8773
feat: add scrollToFirstError to the form component
2025-07-05 00:50:53 +08:00
sqchen
243f3a201d
feat: add scrollToFirstError to the form component
2025-07-05 00:19:12 +08:00
xue-jn
253b0da7d2
fix: 接口返回子节点为空数组时,还会显示折叠箭头 ( #6463 )
2025-07-03 18:35:03 +08:00
CG.gatspy
3230781538
feat: [vben-tree]增加数据disabled ( #6343 )
...
* feat: [vben-tree]增加数据disabled
* Update packages/@core/ui-kit/shadcn-ui/src/ui/tree/tree.vue
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-27 19:09:30 +08:00
yuhengshen
2f7d1f009d
fix: 全屏状态下弹窗圆角优化 ( #6413 )
2025-06-24 23:41:54 +08:00
yuhengshen
946f91f387
feat: optimize modal dragging range( #6414 )
...
* 当弹窗指定了容器时,拖拽将被限制在容器范围内
2025-06-24 17:05:59 +08:00
Netfan
c0962fec18
fix: auto close popup on deactivated ( #6368 )
...
* 修复挂载到内容区域的弹窗和抽屉被意外关闭的问题
2025-06-11 12:20:52 +08:00
XiaoHetitu
8ba7bdf2bd
fix(button): 为按钮添加type属性防止表单提交意外触发表单验证机制 ( #6340 )
...
在按钮组件中,按钮元素缺少type="button"属性可能导致在表单中意外提交。添加此属性以确保按钮行为符合预期。
Co-authored-by: yuanwj <ywj6792341@qq.com>
2025-06-08 17:56:24 +08:00
vben
b9aef618fe
chore: release 5.5.7
2025-06-04 05:33:06 +08:00
Netfan
4102cc2211
feat: improve vbenCheckButtonGroup ( #6329 )
...
* 按钮组支持单选清除和多选限制最大选项数
* 按钮组支持icon插槽来定制图标
2025-06-03 23:11:56 +08:00
huanghezhen
feb96dc8ea
fix: resolve onClosed method failure in connectedComponent of useVbenModal ( #6309 )
2025-06-02 08:16:48 +08:00
Netfan
081d08a7f8
fix: alert width fixed in small screen ( #6312 )
2025-05-30 19:54:26 +08:00
littlesparklet
af186f878d
fix: repair the unexpected form default value ( #5567 )
...
* fix: Fix inconsistent spacing around search form (issue #5429 )
* fix: repair the unexpected default value in validated form.(issue #5451 )
* Update packages/@core/ui-kit/form-ui/src/use-form-context.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-23 16:05:11 +08:00
wyc001122
97894a940e
feat: optimize logo display ( #6267 )
...
* feat(VbenAvatar): add fit property to VbenAvatar component
* feat(VbenLogo): add fit property to VbenLogo component
* feat(VbenLogo): add logo fit preference configuration
- Add preferences.logo.fit setting for logo display control
- Include corresponding documentation for the new preference
* feat(preferences): add default value for logo.fit preference
- Set default configuration for logo fit behavior
- Ensures consistent logo display across applications
* test(preferences): update configuration snapshots
---------
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
2025-05-23 15:24:01 +08:00
Netfan
0c3edb10b0
fix: getFieldComponentRef will return actual ref within AsyncComponentWrapper ( #6252 )
...
修复异步加载组件时,表单的getFieldComponentRef方法没能获取到正确的组件实例
2025-05-21 14:48:51 +08:00
ming4762
3d9dba965f
perf: perf the control logic of Tab ( #6220 )
...
* perf: perf the control logic of Tab
* 每个标签页Tab使用唯一的key来控制关闭打开等逻辑
* 统一函数获取tab的key
* 通过3种方式设置tab key:1、使用router query参数pageKey 2、使用路由meta参数fullPathKey设置使用fullPath或path作为key
* 单个路由可以打开多个标签页
* 如果设置fullPathKey为false,则query变更不会打开新的标签(这很实用)
* perf: perf the control logic of Tab
* perf: perf the control logic of Tab
* 测试用例适配
* perf: perf the control logic of Tab
* 解决AI提示的警告
2025-05-18 10:33:02 +08:00
wyc001122
024c01d350
fix(@vben-core/shadcn-ui): fix disabled functionality not working in VbenTree component ( #6205 )
...
* fix(@vben-core/shadcn-ui): fix disabled functionality not working in VbenTree component
* fix(@vben-core/shadcn-ui): add cursor-not-allowed className when disabled and disable onfocus
---------
Co-authored-by: wyc001122 <wangyongchao@testor.com.cn>
Co-authored-by: Jin Mao <50581550+jinmao88@users.noreply.github.com>
2025-05-16 14:13:43 +08:00
panda7
a23bc4cb5c
fix: the mobile terminal can wrap lines and expand slot attributes ( #6165 )
...
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-05-16 09:40:05 +08:00
vben
cc6c9bf7a0
chore: release v5.5.6
2025-05-06 22:32:58 +08:00
LinaBell
8f4d3d418d
fix: when keepAlive is enabled, returning directly through browser buttons/gestures will not close pop ups ( #6113 )
2025-05-06 14:02:23 +08:00
Vben
045bc4e5ee
feat: support smooth auto-scroll to active menu item ( #6102 )
2025-05-03 18:05:26 +08:00
Vben
17a18fc9ba
chore: close eslint object sorting ( #6101 )
2025-05-03 16:06:36 +08:00
Netfan
f1af9f8f6e
fix: add triggerClass binding to PopoverTrigger and update icon-picker styles ( #6095 )
...
* Popover支持设置trigger的样式
* 修正icon-picker的input值更新
2025-05-01 21:40:45 +08:00
Netfan
3e6d608a2f
fix: destroyOnClose incorrect default value, fixed #6092 ( #6093 )
2025-05-01 14:09:37 +08:00
Netfan
add1e61b6f
fix: show validation message as tooltip in compact form ( #6087 )
...
* 紧凑模式表单的校验消息将显示为一个tooltip
2025-04-30 23:41:44 +08:00
Netfan
8aa7dabeff
fix: calculation for collapsing search form is incorrect while initially hidden ( #6068 )
...
* 修复当默认隐藏搜索表单时,折叠位置的计算不正确的问题
2025-04-28 23:20:33 +08:00
Netfan
4545422ee0
fix: lock state will not change overflow style in drawer and modal ( #6067 )
...
* Modal和Drawer的锁定状态不再修改overflow样式
2025-04-28 17:02:54 +08:00
Vben
76de450c71
chore: update dependency version for improved stability and compatibility ( #6023 )
...
* chore: update dependency version for improved stability and compatibility
* fix: optimize clearPoints function in useCaptchaPoints hook to improve performance
* fix: make several props optional in various components for better flexibility
2025-04-27 22:06:49 +08:00
vben
7c7051a11e
chore: release v5.5.5
2025-04-27 21:45:10 +08:00
ming4762
0cc1cb5a7b
perf: improve destroyOnClose for VbenDrawer&VbenModal ( #6051 )
...
* fix: fix that the default value of modal destroyOnClose does not take effect
* perf: improve destroyOnClose for VbenDrawer
2025-04-27 11:26:50 +08:00
Netfan
be840460d8
feat: vbenSelect support prop `allowClear` ( #6043 )
2025-04-25 23:37:03 +08:00
panda7
5ffd7db8e0
fix: the initial value echo for the check-button-group ( #6029 )
...
Co-authored-by: sqchen <9110848@qq.com>
2025-04-25 08:35:03 +08:00
Netfan
14377705e7
fix: alert confirm state in beforeClose callback ( #6019 )
2025-04-23 12:20:52 +08:00
Netfan
79de6bcbf7
fix: alert send wrong confirm state to beforeClose ( #5991 )
...
* 修复alert在按下Esc或者点击遮罩关闭时,可能发送错误的isConfirm状态
2025-04-17 22:23:05 +08:00
Netfan
14bd6dd25d
fix: destroyOnClose works within connectedComponent ( #5989 )
...
* 修复destroyOnClose没能销毁connectedComponent自身的问题
2025-04-17 20:25:49 +08:00
Netfan
f7a4d13a4c
fix: fixed arguments of callbacks in `formApi` ( #5970 )
...
* 修复 `handleValuesChange` 传递的参数不是处理后的表单值的问题
* 修复 `handleReset` 未能传递正确参数的问题
2025-04-16 14:11:04 +08:00
Netfan
0936861da1
feat: pass `fieldsChanged` into the `handleValuesChange` callback function ( #5968 )
...
* fieldsChanged(已被改变值的字段名)将传入handleValuesChange回调函数
2025-04-16 11:29:01 +08:00
ming4762
3318d76bab
perf: improve `destroyOnClose` for VbenModal ( #5964 )
2025-04-16 11:28:36 +08:00
LinaBell
8f3881eabf
perf: `beforeClose` of drawer support promise ( #5932 )
...
* perf: the beforeClose function of drawer is consistent with that of modal
* refactor: drawer test update
2025-04-16 11:27:13 +08:00