Commit Graph

556 Commits (8b606e135f3601919e5176ee31f404233048192b)

Author SHA1 Message Date
xingyu4j e02b5590dd Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-30 15:50:05 +08:00
xingyu e2a31c1c2b
!85 fix: 冲突解决
Merge pull request !85 from Jason/dev
2025-04-29 12:33:10 +00:00
jason ab60f8eb3a Merge remote-tracking branch 'yudao/dev' into dev 2025-04-29 15:45:48 +08:00
xingyu4j 0defca66e2 fix: code style 2025-04-29 14:23:56 +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
xingyu4j 50d028f6b8 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-28 10:06:29 +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
xingyu4j ecdca981b0 fix: fix lint 2025-04-27 20:52:12 +08:00
puhui999 5c4b95b01e feat: 新增 vxe table 工具栏二次封装,提供给 vxe 原生列表使用 2025-04-27 18:13:08 +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
xingyu4j 4d1bff9d4a Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-04-26 14:38:07 +08:00
Netfan be840460d8
feat: vbenSelect support prop `allowClear` (#6043) 2025-04-25 23:37:03 +08:00
puhui999 db86dfc8c5 feat: 新增 antd 模式的代码生成示例 2025-04-25 18:22:56 +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
xingyu4j e702e4aba0 fix: code lint packages 2025-04-24 17:55:30 +08:00
xingyu4j c867f93e0a feat: 封装手机号校验,mobile 非必填校验,mobileRequired 必填校验 2025-04-23 17:51:43 +08:00
xingyu4j 26c2638146 refactor: 迁移 time.ts 2025-04-23 17:30:39 +08:00
xingyu4j dccb846bb0 refactor: tree.ts 使用@vben/utils替换 2025-04-23 17:27:48 +08:00
xingyu4j 84a5002d4a refactor: data.ts迁移,使用 @vben/utils 的 getRangePickerDefaultProps 2025-04-23 17:09:20 +08:00
YunaiV b4efb7c468 refactor:修复 antd typecheck 提供的报错 2025-04-23 12:56:35 +08:00
Netfan 14377705e7
fix: alert confirm state in beforeClose callback (#6019) 2025-04-23 12:20:52 +08:00
xingyu4j acd2787f29 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into v-next-dev 2025-04-22 15:39:53 +08:00
YunaiV 1dbbc547fb feat:完成头像上传的功能 2025-04-22 09:19:19 +08:00
YunaiV fd98752073 feat:更新 doc、github、issue 地址 2025-04-21 20:27:22 +08:00
YunaiV 19d5a3e258 feat:Form API 增加 setLoading,:用于非 Modal 中使用 Form 时,需要 Form 自己控制 loading 状态 2025-04-20 08:52:54 +08:00
YunaiV bd3b95f447 feat:增加 tinymce 组件 2025-04-19 09:27:10 +08:00
YunaiV f6e2dc55ff feat: 增加 file 文件上传 50% 2025-04-17 23:30:34 +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
wyc001122 333998b518
fix: determine if scrollbar has been totally scrolled (#5934)
* 修复在系统屏幕缩放比例不为100%的情况下,滚动组件对是否已滚动到边界的判断可能不正确的问题
2025-04-15 20:51:38 +08:00
ming4762 3fb4fba1cb
fix: modal closing animation (#5960) 2025-04-15 18:49:57 +08:00
ming4762 c7e6210c8d
feat: `modal`&`drawer` support `center-footer` slot (#5956) 2025-04-15 16:04:44 +08:00
lztb d864085c13
feat: vben-form添加arrayToStringFields属性 (#5957)
* feat: vben-form添加arrayToStringFields属性

* feat: 修改handleArrayToStringFields和handleStringToArrayFields中嵌套数组格式的处理不一致

---------

Co-authored-by: 米山 <17726957223@189.cn>
2025-04-15 16:03:20 +08:00
Netfan bf7496f0d5
feat: add `useAlertContext` for Alert component (#5947)
* 新增Alert的子组件中获取弹窗上下文的能力
2025-04-15 00:00:05 +08:00
YunaiV 431c93c42d review:保持和 vben 一致(04-14) 2025-04-14 20:50:21 +08:00
Netfan 3fc27ff171 feat: alert support customize `footer` (#5940)
* Alert组件支持自定义footer
2025-04-14 19:23:07 +08:00
Netfan b3288a4594 fix: long navigation menu can be scrolled (#5939)
* 修复超长的导航菜单无法纵向滚动的问题
2025-04-14 19:23:07 +08:00
ming4762 9f51ddce97 perf: improve `destroyOnClose` for `VbenModal` (#5935)
* perf: 优化Vben Modal destroyOnClose,解决destroyOnClose=false,Modal依旧会被销毁的问题

影响范围(重要):destroyOnClose默认为true,这会导致所有的modal都会默认渲染到body
radix-vue Dialog组件默认会销毁挂载的组件,所以即使destroyOnClose=false,Modal依旧会被销毁的问题
对于一些大表单重复渲染导致卡顿,ApiComponent也会频繁的加载数据

* fix: modal closing animation

---------

Co-authored-by: Netfan <netfan@foxmail.com>
2025-04-14 19:23:07 +08:00
Netfan 8a52eb21cd fix: alert animation (#5927) 2025-04-14 19:23:07 +08:00
Netfan 9ba917c356 fix: theme mode follow the system only `auto` (#5923)
* 修复主题在未设置为auto时,仍然会跟随系统主题变化的问题。
2025-04-14 19:23:07 +08:00
Netfan eedbd23dce fix: alert action button focus, fixed #5921 (#5922)
* 修复Alert组件的按钮焦点切换问题
2025-04-14 19:23:07 +08:00
Netfan 621650435b fix: possible circular reference issue during build (#5894)
* 修复构建期间出现的循环引用警告
2025-04-14 19:22:31 +08:00
Netfan a1e761b9f8 fix: improve prompt component (#5879)
* fix: prompt component render fixed

* fix: alert buttonAlign default value
2025-04-14 19:22:31 +08:00
Netfan 5cc93d2efe feat: support logo text slot (#5872)
* 基础布局中的LOGO的文字区域允许通过插槽logo-text定制
2025-04-14 19:22:31 +08:00
wyc001122 3ba209a972 fix: 布局为双列菜单或者水平模式下, 一级菜单高亮问题 (#5870)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-04-14 19:22:31 +08:00
Netfan f0e9e55af2
feat: alert support customize `footer` (#5940)
* Alert组件支持自定义footer
2025-04-14 11:48:21 +08:00
Netfan ff88274554
fix: long navigation menu can be scrolled (#5939)
* 修复超长的导航菜单无法纵向滚动的问题
2025-04-14 11:18:33 +08:00
ming4762 afce9dc5c0
perf: improve `destroyOnClose` for `VbenModal` (#5935)
* perf: 优化Vben Modal destroyOnClose,解决destroyOnClose=false,Modal依旧会被销毁的问题

影响范围(重要):destroyOnClose默认为true,这会导致所有的modal都会默认渲染到body
radix-vue Dialog组件默认会销毁挂载的组件,所以即使destroyOnClose=false,Modal依旧会被销毁的问题
对于一些大表单重复渲染导致卡顿,ApiComponent也会频繁的加载数据

* fix: modal closing animation

---------

Co-authored-by: Netfan <netfan@foxmail.com>
2025-04-13 23:02:07 +08:00
Netfan 4a2c7b313f
fix: alert animation (#5927) 2025-04-12 10:37:47 +08:00
Netfan f46ec30995
fix: theme mode follow the system only `auto` (#5923)
* 修复主题在未设置为auto时,仍然会跟随系统主题变化的问题。
2025-04-12 01:16:57 +08:00
Netfan 9bd5a190c2
fix: alert action button focus, fixed #5921 (#5922)
* 修复Alert组件的按钮焦点切换问题
2025-04-12 00:59:56 +08:00
puhui999 2207db02f5 feat: 代码生成 2025-04-10 11:34:20 +08:00
Netfan a8c5df38e9
fix: possible circular reference issue during build (#5894)
* 修复构建期间出现的循环引用警告
2025-04-08 14:50:05 +08:00
YunaiV 49632697a0 feat:增加 job 定时任务 2025-04-07 18:42:24 +08:00
YunaiV 6cb908e688 fix: AppRouteRecordRaw types(from xingyu) 2025-04-07 11:06:10 +08:00
Netfan 71e8d12b70
fix: improve prompt component (#5879)
* fix: prompt component render fixed

* fix: alert buttonAlign default value
2025-04-07 01:21:30 +08:00
Netfan d216fdca44
feat: support logo text slot (#5872)
* 基础布局中的LOGO的文字区域允许通过插槽logo-text定制
2025-04-05 13:07:52 +08:00
wyc001122 384c5d7dbb
fix: 布局为双列菜单或者水平模式下, 一级菜单高亮问题 (#5870)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-04-05 11:04:59 +08:00
YunaiV 49f13bf301 feat:增加 user 用户的导入功能 2025-04-05 08:21:32 +08:00
Netfan 8b8bd11963 fix: alert `beforeClose` callback arguments fixed (#5845) 2025-04-03 23:04:54 +08:00
Netfan 82547b3c44 feat: add preset alert, confirm, prompt components that can be simple called (#5843)
* feat: add preset alert, confirm, prompt components that can be simple called

* fix: type define
2025-04-03 23:04:54 +08:00
Netfan ecf518bb02
fix: alert `beforeClose` callback arguments fixed (#5845) 2025-04-01 22:55:29 +08:00
Netfan 44138f578f
feat: add preset alert, confirm, prompt components that can be simple called (#5843)
* feat: add preset alert, confirm, prompt components that can be simple called

* fix: type define
2025-04-01 15:10:18 +08:00
Netfan 0f5937204f fix: vbenTree modelValue synchronization (#5825) 2025-03-31 11:09:36 +08:00
Jin Mao a61d9003dd feat: sidebar button config (#5818)
* feat: 新增 PreferenceCheckboxItem 组件

* feat(preferences): 添加侧边栏按钮配置功能

* feat: 新增按钮点击事件触发功能

* feat(SidebarPreferences): 新增侧边栏折叠按钮与固定按钮配置

* feat(ui): 新增侧边栏固定按钮及配置选项

* fix(test): 修正侧边栏配置项缺失问题
2025-03-31 11:09:36 +08:00
Netfan 06ccad9db0
fix: vbenTree modelValue synchronization (#5825) 2025-03-31 10:18:35 +08:00
Jin Mao 18722ce434
feat: sidebar button config (#5818)
* feat: 新增 PreferenceCheckboxItem 组件

* feat(preferences): 添加侧边栏按钮配置功能

* feat: 新增按钮点击事件触发功能

* feat(SidebarPreferences): 新增侧边栏折叠按钮与固定按钮配置

* feat(ui): 新增侧边栏固定按钮及配置选项

* fix(test): 修正侧边栏配置项缺失问题
2025-03-31 10:17:42 +08:00
YunaiV a08d73b034 feat:岗位 post 的实现 100%(export 功能) 2025-03-29 20:00:00 +08:00
Netfan ecd31c8332 fix: vben tree component warning (#5809) 2025-03-28 21:57:18 +08:00
Netfan ffd7f1a53f fix: auto check parent after node selected (#5794) 2025-03-28 21:57:18 +08:00
Netfan c2b5f6497d
fix: vben tree component warning (#5809) 2025-03-28 16:01:30 +08:00
Netfan 870cd86393
fix: auto check parent after node selected (#5794) 2025-03-27 14:22:05 +08:00
Netfan 5659dab41e fix: popover background color in dark mode (#5783)
* 修复dark主题下的弹出层背景色在某些浏览器上表现为完全透明的问题
2025-03-26 22:51:07 +08:00
Netfan 17f156de89 fix: default value for nested fields (#5763) 2025-03-26 22:51:07 +08:00
Netfan 482227003c fix: base component focus color in form (#5760) 2025-03-26 22:51:07 +08:00
Netfan 47d821d179 feat: add `form-is-required` class for required items. fixed: #5739 (#5759) 2025-03-26 22:51:07 +08:00
vben 7a0354f4a8 chore: release 5.5.4 2025-03-26 22:51:07 +08:00
YunaiV c881a47ffd refactor: 【web-ant】重构认证模块并移除未使用的组件和功能【0fed9472】(剩余 request、present) 2025-03-26 07:36:12 +08:00
Netfan 0b650367f3
fix: popover background color in dark mode (#5783)
* 修复dark主题下的弹出层背景色在某些浏览器上表现为完全透明的问题
2025-03-25 21:17:55 +08:00
YunaiV c2914d2002 feat: request && login && router【e6939e22】(增加 login.vue 的租户选择、开启开关) 2025-03-22 09:38:38 +08:00
Netfan 03ceb2aac5
fix: default value for nested fields (#5763) 2025-03-21 16:06:14 +08:00
Netfan 39888cebaa
fix: base component focus color in form (#5760) 2025-03-21 09:41:42 +08:00
Netfan efb69fc75f
feat: add `form-is-required` class for required items. fixed: #5739 (#5759) 2025-03-21 09:25:38 +08:00
vben b92ac5c36d chore: release 5.5.4 2025-03-18 21:43:27 +08:00
Netfan feab6b3b30
fix: form item style adjustment (#5694) 2025-03-11 02:47:06 +08:00
Netfan 2d4ac33046 fix: miss default value in vbenLayout 2025-03-10 18:59:56 +08:00
Netfan 04dff33ac5 feat: improved formApi for component instance support
* 改进表单API以支持组件实例的获取,以及焦点字段的获取
2025-03-10 02:56:44 +08:00
Netfan e2a577de24
feat: add size prop to avatar component and update logo component for size handling (#5684) 2025-03-08 11:37:02 +08:00
Netfan b37ed48b9d
feat: role management page with component `tree` (#5675)
* feat: add shadcn tree

* fix: update vbenTree component

* feat: role management demo page

* feat: add cellSwitch renderer for vxeTable

* chore: remove tree examples
2025-03-07 16:03:08 +08:00
Netfan f86c9f90ad
fix: keepAlive not working for popup `appendToMain` (#5666)
* 修复弹窗和抽屉 `appendToMain` 时且启用`keepAlive` 时未能正确缓存的问题
2025-03-06 22:22:45 +08:00
Netfan 31a6ab59fb
feat: vben checkbox support indeterminate state and transition animation (#5662) 2025-03-06 16:11:02 +08:00
Netfan f380452ef0
feat: modal and drawer locking improve (#5648)
* feat: add `unlock` for modalApi

* fix: modal's close button style in locking

* fix: fix modal's close button disabled on locking

* feat: add `lock` and `unlock` for drawerApi
2025-03-04 22:00:32 +08:00
Netfan 86fdd6c93b fix: drawer close icon placement default value 2025-02-28 14:54:11 +08:00
Netfan 0e0661fe02
fix: breadcrumb style is affected by the globally-imported antd styles (#5627)
* 修复全局引入Antd时,面包屑的样式会受到影响的问题
2025-02-27 22:28:59 +08:00