acd2787f29 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'main' of  https://github.com/vbenjs/vue-vben-admin  into v-next-dev  
							
							
							
						 
						
							2025-04-22 15:39:53 +08:00  
				
					
						
							
							
								 
						
							
							
								79de6bcbf7 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: alert send wrong confirm state to beforeClose ( #5991 )  
							
							... 
							
							
							
							* 修复alert在按下Esc或者点击遮罩关闭时,可能发送错误的isConfirm状态 
							
						 
						
							2025-04-17 22:23:05 +08:00  
				
					
						
							
							
								 
						
							
							
								14bd6dd25d 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: destroyOnClose works within connectedComponent ( #5989 )  
							
							... 
							
							
							
							* 修复destroyOnClose没能销毁connectedComponent自身的问题 
							
						 
						
							2025-04-17 20:25:49 +08:00  
				
					
						
							
							
								 
						
							
							
								3318d76bab 
								
									
								
							
								 
							
						 
						
							
							
								
								perf: improve `destroyOnClose` for VbenModal ( #5964 )  
							
							
							
						 
						
							2025-04-16 11:28:36 +08:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								3fb4fba1cb 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: modal closing animation ( #5960 )  
							
							
							
						 
						
							2025-04-15 18:49:57 +08:00  
				
					
						
							
							
								 
						
							
							
								c7e6210c8d 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: `modal`&`drawer` support `center-footer` slot ( #5956 )  
							
							
							
						 
						
							2025-04-15 16:04:44 +08:00  
				
					
						
							
							
								 
						
							
							
								bf7496f0d5 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add `useAlertContext` for Alert component ( #5947 )  
							
							... 
							
							
							
							* 新增Alert的子组件中获取弹窗上下文的能力 
							
						 
						
							2025-04-15 00:00:05 +08:00  
				
					
						
							
							
								 
						
							
							
								3fc27ff171 
								
							
								 
							
						 
						
							
							
								
								feat: alert support customize `footer` ( #5940 )  
							
							... 
							
							
							
							* Alert组件支持自定义footer 
							
						 
						
							2025-04-14 19:23:07 +08:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								8a52eb21cd 
								
							
								 
							
						 
						
							
							
								
								fix: alert animation ( #5927 )  
							
							
							
						 
						
							2025-04-14 19:23:07 +08:00  
				
					
						
							
							
								 
						
							
							
								eedbd23dce 
								
							
								 
							
						 
						
							
							
								
								fix: alert action button  focus,  fixed   #5921  ( #5922 )  
							
							... 
							
							
							
							* 修复Alert组件的按钮焦点切换问题 
							
						 
						
							2025-04-14 19:23:07 +08:00  
				
					
						
							
							
								 
						
							
							
								a1e761b9f8 
								
							
								 
							
						 
						
							
							
								
								fix: improve prompt component ( #5879 )  
							
							... 
							
							
							
							* fix: prompt component render fixed
* fix: alert buttonAlign default value 
							
						 
						
							2025-04-14 19:22:31 +08:00  
				
					
						
							
							
								 
						
							
							
								f0e9e55af2 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: alert support customize `footer` ( #5940 )  
							
							... 
							
							
							
							* Alert组件支持自定义footer 
							
						 
						
							2025-04-14 11:48:21 +08:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								4a2c7b313f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: alert animation ( #5927 )  
							
							
							
						 
						
							2025-04-12 10:37:47 +08:00  
				
					
						
							
							
								 
						
							
							
								9bd5a190c2 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: alert action button  focus,  fixed   #5921  ( #5922 )  
							
							... 
							
							
							
							* 修复Alert组件的按钮焦点切换问题 
							
						 
						
							2025-04-12 00:59:56 +08:00  
				
					
						
							
							
								 
						
							
							
								71e8d12b70 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: improve prompt component ( #5879 )  
							
							... 
							
							
							
							* fix: prompt component render fixed
* fix: alert buttonAlign default value 
							
						 
						
							2025-04-07 01:21:30 +08:00  
				
					
						
							
							
								 
						
							
							
								8b8bd11963 
								
							
								 
							
						 
						
							
							
								
								fix: alert `beforeClose` callback arguments fixed ( #5845 )  
							
							
							
						 
						
							2025-04-03 23:04:54 +08:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								ecf518bb02 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: alert `beforeClose` callback arguments fixed ( #5845 )  
							
							
							
						 
						
							2025-04-01 22:55:29 +08:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								f86c9f90ad 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: keepAlive not working for popup `appendToMain` ( #5666 )  
							
							... 
							
							
							
							* 修复弹窗和抽屉 `appendToMain` 时且启用`keepAlive` 时未能正确缓存的问题 
							
						 
						
							2025-03-06 22:22:45 +08:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								86fdd6c93b 
								
							
								 
							
						 
						
							
							
								
								fix: drawer close icon placement default value  
							
							
							
						 
						
							2025-02-28 14:54:11 +08:00  
				
					
						
							
							
								 
						
							
							
								7a476372e1 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: useDrawer中closeIconPlacement设置无效 ( #5624 )  
							
							
							
						 
						
							2025-02-27 14:34:42 +08:00  
				
					
						
							
							
								 
						
							
							
								2d0859a727 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: mouse events ignored on modal loading ( #5409 )  
							
							
							
						 
						
							2025-01-16 12:17:08 +08:00  
				
					
						
							
							
								 
						
							
							
								8cc903c0e1 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: modal state locked on submitting ( #5401 )  
							
							... 
							
							
							
							* feat: modal state locked on submitting
* docs: 更新modal文档 
							
						 
						
							2025-01-15 17:00:46 +08:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								6719e2679f 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: popup component support overlay blur effect ( #5359 )  
							
							
							
						 
						
							2025-01-11 23:37:17 +08:00  
				
					
						
							
							
								 
						
							
							
								1a04a05b79 
								
									
								
							
								 
							
						 
						
							
							
								
								perf: modal and drawer api support chain calls ( #5351 )  
							
							... 
							
							
							
							* perf: modal and drawer api support chain calls
* fix: typo 
							
						 
						
							2025-01-11 10:56:54 +08:00  
				
					
						
							
							
								 
						
							
							
								081d2aed23 
								
									
								
							
								 
							
						 
						
							
							
								
								perf: format code with better style ( #5283 )  
							
							
							
						 
						
							2025-01-01 11:39:49 +08:00  
				
					
						
							
							
								 
						
							
							
								376aad5d26 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: drawer close icon placement ( #5269 )  
							
							
							
						 
						
							2024-12-30 23:30:53 +08:00  
				
					
						
							
							
								 
						
							
							
								de17007788 
								
							
								 
							
						 
						
							
							
								
								feat: drawer support destroy on close  
							
							
							
						 
						
							2024-12-30 22:21:01 +08:00  
				
					
						
							
							
								 
						
							
							
								e86a7906fe 
								
							
								 
							
						 
						
							
							
								
								feat: drawer support `onOpened` & `onClosed`  
							
							
							
						 
						
							2024-12-30 22:21:01 +08:00  
				
					
						
							
							
								 
						
							
							
								4a8e6abc06 
								
							
								 
							
						 
						
							
							
								
								feat: modal support destroy on close  
							
							
							
						 
						
							2024-12-30 22:21:01 +08:00  
				
					
						
							
							
								 
						
							
							
								e419b03cab 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: modal&drawer support appendToMain and zIndex ( #5092 )  
							
							... 
							
							
							
							* feat: modal/drawer support append to main content
* feat: modal zIndex support
* fix: drawer prop define
* chore: type
* fix: modal/drawer position fixed while append to body
* docs: typo
* chore: add full-width drawer in content area
* chore: remove unnecessary class 
							
						 
						
							2024-12-10 17:37:06 +08:00  
				
					
						
							
							
								 
						
							
							
								d42daf9ce0 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: modal radius not follow preferences ( #5063 )  
							
							
							
						 
						
							2024-12-07 11:00:53 +08:00  
				
					
						
							
							
								 
						
							
							
								e8992a1d16 
								
									
								
							
								 
							
						 
						
							
							
								
								chore: update modal.vue ( #4987 )  
							
							... 
							
							
							
							loading时候 子组件禁用点击事件
Co-authored-by: Vben <ann.vben@gmail.com> 
							
						 
						
							2024-11-30 11:18:22 +08:00  
				
					
						
							
							
								 
						
							
							
								73502677ff 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add `placement` for `Drawer` ( #4958 )  
							
							
							
						 
						
							2024-11-27 11:29:25 +08:00  
				
					
						
							
							
								 
						
							
							
								dedba18553 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add `confirmDisabled` for `Dialog` ( #4959 )  
							
							
							
						 
						
							2024-11-27 11:28:49 +08:00  
				
					
						
							
							
								 
						
							
							
								67c2b13713 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: drawer console warning ( #4871 )  
							
							
							
						 
						
							2024-11-12 13:34:47 +08:00  
				
					
						
							
							
								 
						
							
							
								5e44aa9283 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: drawer header is missing ( #4846 )  
							
							
							
						 
						
							2024-11-09 20:00:09 +08:00  
				
					
						
							
							
								 
						
							
							
								4005023fd4 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: drawer component header does not take effect ( #4844 )  
							
							
							
						 
						
							2024-11-09 15:53:17 +08:00  
				
					
						
							
							
								 
						
							
							
								2c6edafeb2 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: when opening the tool separately, there is no need to pass the toolbar-tools slot ( #4841 )  
							
							
							
						 
						
							2024-11-09 14:07:41 +08:00  
				
					
						
							
							
								 
						
							
							
								9cf0573921 
								
									
								
							
								 
							
						 
						
							
							
								
								perf: optimize local startup speed and add header Class configuration to drawer ( #4840 )  
							
							
							
						 
						
							2024-11-09 11:12:30 +08:00  
				
					
						
							
							
								 
						
							
							
								06ba7cb224 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: add opened and closed events for dialog ( #4775 )  
							
							
							
						 
						
							2024-10-31 22:05:18 +08:00  
				
					
						
							
							
								 
						
							
							
								6688a6b3c2 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: table grid supports setting title and helpMessage ( #4732 )  
							
							
							
						 
						
							2024-10-24 22:51:04 +08:00  
				
					
						
							
							
								 
						
							
							
								477a05c26c 
								
									
								
							
								 
							
						 
						
							
							
								
								feat: menu supports carrying default query ( #4687 )  
							
							
							
						 
						
							2024-10-19 19:50:23 +08:00  
				
					
						
							
							
								 
						
							
							
								24d14c2841 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor(adapter): separate form and component adapters so that components adapt to components other than the form ( #4628 )  
							
							... 
							
							
							
							* refactor: global components can be customized
* refactor: remove use Toast and reconstruct the form adapter 
							
						 
						
							2024-10-13 18:33:43 +08:00