Commit Graph

224 Commits (f6e2dc55ffc81c7f5b3589e0226446f982259d08)

Author SHA1 Message Date
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 dea404b433 feat: api-component support autoSelect prop (#5931)
* feat: api-component support autoSelect prop

* docs: add version requirement
2025-04-14 19:23:07 +08:00
Netfan 8a52eb21cd fix: alert animation (#5927) 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 93a44960d3 perf: optimize bootstrap modules to speed up first-screen loading (#5899)
优化首屏加载速度
2025-04-14 19:23:07 +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 bafbf4a433 chore: add demo for apiComponent with caching and concurrency (#5827)
* chore: add demo for apiComponent with caching and concurrency

* docs: update api component docs
2025-04-03 23:04:54 +08:00
Netfan ed2da6315e fix: watermark settings in the preferences modified accidentally (#5823) 2025-03-31 11:09:36 +08:00
Jin Mao 3f4e878e69 feat(tabbar): 添加右键菜单过滤功能 (#5820) 2025-03-31 11:09:36 +08:00
Netfan 98b2d2a972 feat: pre-set serialization methods for request parameters (#5814)
添加快捷设置请求参数序列化方法的配置
2025-03-29 20:04:25 +08:00
YunaiV d8f4e0a1aa feat:完善 dept 部门 60%(新增、修改、删除) 2025-03-29 15:10:08 +08:00
Netfan 5385f0a90f perf: improve component packaging to enable instance method retrieval (#5795)
改进组件适配器里的包装函数,使得组件暴露的方法可以透传
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 919e2bf2c3 fix: menu drawer can not be closed after a successful submitting (#5770) 2025-03-26 22:51:07 +08:00
Jin Mao 2162ddb34b feat(ui): logo icon support click events (#5725)
* feat(ui): 扩展auth页面添加点击 Logo 的事件处理

在 `authentication.vue` 中新增 `clickLogo` 属性,允许在点击 Logo 时执行自定义操作。在 `auth.vue` 中实现了一个示例的点击事件处理函数,用于测试该功能。

* feat(layout): 添加点击 logo 的事件处理函数

在 BasicLayout 组件中添加了 clickLogo 事件处理函数,并通过 emit 方法触发 clickLogo 事件。同时,在 basic.vue 中实现了 handleClickLogo 函数,用于处理 logo 点击事件。

* fix(ui): 移除logo点击事件的控制台日志
2025-03-26 22:51:07 +08:00
vben 7a0354f4a8 chore: release 5.5.4 2025-03-26 22:51:07 +08:00
Netfan 04dff33ac5 feat: improved formApi for component instance support
* 改进表单API以支持组件实例的获取,以及焦点字段的获取
2025-03-10 02:56:44 +08:00
Netfan cfa18c2b8e fix: improve component repackaging 2025-03-10 02:56:44 +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 4b9cfcb867
fix: demo nested menu path (#5667)
* 修复演示的嵌套菜单path配置导致的面包屑跳转问题
2025-03-06 22:48:54 +08:00
Netfan f86c9f90ad
fix: keepAlive not working for popup `appendToMain` (#5666)
* 修复弹窗和抽屉 `appendToMain` 时且启用`keepAlive` 时未能正确缓存的问题
2025-03-06 22:22:45 +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 86ce65e0ea
fix: hideChildrenInMenu demo code (#5626) 2025-02-27 20:21:48 +08:00
Netfan 5e421ce607
chore: demo page menu management (#5619)
* 添加菜单管理演示页面
2025-02-27 01:22:25 +08:00
Netfan d33261d0c2
chore: demo page for system/department (#5611)
* feat: department management demo

* perf: department page improve

* feat: demo api middleware

* fix: add losing import
2025-02-25 19:47:45 +08:00
Netfan d9799fec70
fix: `search` take no effect in `icon-picker` with antd (#5592) 2025-02-24 14:13:53 +08:00
Netfan 4570d5b54b
feat: add `VbenButtonGroup` and `VbenCheckButtonGroup` with demo (#5591)
* 添加按钮组、选择按钮组以及相应的Demo
2025-02-24 13:50:50 +08:00
Netfan 579b1b486c
feat: loading and spinner component with directive (#5587)
* 添加loading和spinner组件,以及对应的vue指令
2025-02-23 12:41:54 +08:00
Netfan eba372062e
feat: improve form demo (#5582) 2025-02-21 12:07:32 +08:00
Netfan c9ccd2bbab
fix: form label and control style (#5580)
* fix: form label and control style

* fix: empty label mark with required rules
2025-02-21 11:14:59 +08:00
Netfan a221d2b491
fix: form item overflow fixed and layout improved (#5572)
* fix: form item overflow fixed and layout improved

* fix: basic form demo update

* feat: form label support render

* fix: form docs update
2025-02-20 23:05:08 +08:00
Netfan 24bad09c74
refactor: new `CountTo` component with demo (#5551) 2025-02-17 21:16:10 +08:00
Netfan cddf71e600 fix: playground route missing 2025-02-17 17:57:15 +08:00
Netfan 9f82052c71
feat: demo of motion plugin (#5550)
添加Motion的用法例子
2025-02-17 15:25:45 +08:00
Netfan b6b97accb1
feat: add more event for `jsonViewer` (#5546)
* 为JsonViewer添加事件支持
2025-02-17 10:41:09 +08:00
Netfan 10ebf03698 fix: auth api definition 2025-02-16 23:06:20 +08:00
Netfan 6cba181fad
feat: new component jsonViewer (#5544)
* 添加新组件JsonViewer用于展示JSON结构数据
2025-02-16 22:57:00 +08:00
Netfan 7e7a5f3fd4 chore: remove testing code 2025-02-04 15:07:10 +08:00
Netfan f8bb396dc4
fix: ant tag icon default style (#5473) 2025-02-04 10:19:39 +08:00
Netfan e225159cce
fix: request download and upload not support `responseReturn` (#5456)
* fix: request download and upload not support `responseReturn`

* docs: update

* fix: type of request client upload result
2025-01-22 00:59:10 +08:00
vben 195ceec9b4 chore: release 5.5.3 2025-01-21 22:07:55 +08:00
Netfan 5bd73867b6
feat: auto fetch icon list in iconPicker (#5446)
* feat: auto fetch icon list in iconPicker

* fix: add timeout controller for fetching

* feat: add pending controller

* fix: icon demo prefix
2025-01-21 13:09:42 +08:00
Netfan 22e6f28464
perf: easy to define fieldName of response data (#5442) 2025-01-20 18:38:49 +08:00
Netfan 5611f6c7f5
perf: request support to set how to return response (#5436)
* feat: request support to set how to return response

* docs: typo

* fix: test unit

* test: add request responseReturn test
2025-01-19 17:41:26 +08:00
Netfan 8cc903c0e1
feat: modal state locked on submitting (#5401)
* feat: modal state locked on submitting

* docs: 更新modal文档
2025-01-15 17:00:46 +08:00
Netfan 13087a10b7
refactor: fix popup component zIndex (#5397) 2025-01-15 12:32:03 +08:00
Netfan 76c4aa2c55 fix: hide root route in breadcrumb 2025-01-14 17:51:39 +08:00
Netfan e1c503e51e
feat: support set default props for drawer and modal (#5390)
* feat: support set default props for drawer and modal

* docs: fix typo
2025-01-14 17:11:18 +08:00
Netfan 5965755caa
fix: root router config fixed (#5389) 2025-01-14 15:15:02 +08:00