huanghezhen
feb96dc8ea
fix: resolve onClosed method failure in connectedComponent of useVbenModal ( #6309 )
7 months ago
Netfan
081d08a7f8
fix: alert width fixed in small screen ( #6312 )
7 months ago
LinaBell
8f4d3d418d
fix: when keepAlive is enabled, returning directly through browser buttons/gestures will not close pop ups ( #6113 )
8 months ago
Vben
17a18fc9ba
chore: close eslint object sorting ( #6101 )
8 months ago
Netfan
3e6d608a2f
fix: destroyOnClose incorrect default value, fixed #6092 ( #6093 )
8 months ago
Netfan
4545422ee0
fix: lock state will not change overflow style in drawer and modal ( #6067 )
...
* Modal和Drawer的锁定状态不再修改overflow样式
8 months ago
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
8 months ago
Netfan
14377705e7
fix: alert confirm state in beforeClose callback ( #6019 )
8 months ago
Netfan
79de6bcbf7
fix: alert send wrong confirm state to beforeClose ( #5991 )
...
* 修复alert在按下Esc或者点击遮罩关闭时,可能发送错误的isConfirm状态
9 months ago
Netfan
14bd6dd25d
fix: destroyOnClose works within connectedComponent ( #5989 )
...
* 修复destroyOnClose没能销毁connectedComponent自身的问题
9 months ago
ming4762
3318d76bab
perf: improve `destroyOnClose` for VbenModal ( #5964 )
9 months ago
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
9 months ago
ming4762
3fb4fba1cb
fix: modal closing animation ( #5960 )
9 months ago
ming4762
c7e6210c8d
feat: `modal`&`drawer` support `center-footer` slot ( #5956 )
9 months ago
Netfan
bf7496f0d5
feat: add `useAlertContext` for Alert component ( #5947 )
...
* 新增Alert的子组件中获取弹窗上下文的能力
9 months ago
Netfan
f0e9e55af2
feat: alert support customize `footer` ( #5940 )
...
* Alert组件支持自定义footer
9 months ago
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>
9 months ago
Netfan
4a2c7b313f
fix: alert animation ( #5927 )
9 months ago
Netfan
9bd5a190c2
fix: alert action button focus, fixed #5921 ( #5922 )
...
* 修复Alert组件的按钮焦点切换问题
9 months ago
Netfan
71e8d12b70
fix: improve prompt component ( #5879 )
...
* fix: prompt component render fixed
* fix: alert buttonAlign default value
9 months ago
Netfan
ecf518bb02
fix: alert `beforeClose` callback arguments fixed ( #5845 )
9 months ago
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
9 months ago
Netfan
f86c9f90ad
fix: keepAlive not working for popup `appendToMain` ( #5666 )
...
* 修复弹窗和抽屉 `appendToMain` 时且启用`keepAlive` 时未能正确缓存的问题
10 months ago
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
10 months ago
Netfan
86fdd6c93b
fix: drawer close icon placement default value
10 months ago
jinmao88
7a476372e1
fix: useDrawer中closeIconPlacement设置无效 ( #5624 )
10 months ago
Netfan
2d0859a727
fix: mouse events ignored on modal loading ( #5409 )
12 months ago
Netfan
8cc903c0e1
feat: modal state locked on submitting ( #5401 )
...
* feat: modal state locked on submitting
* docs: 更新modal文档
12 months ago
Netfan
e1c503e51e
feat: support set default props for drawer and modal ( #5390 )
...
* feat: support set default props for drawer and modal
* docs: fix typo
12 months ago
Netfan
6719e2679f
feat: popup component support overlay blur effect ( #5359 )
12 months ago
Netfan
1a04a05b79
perf: modal and drawer api support chain calls ( #5351 )
...
* perf: modal and drawer api support chain calls
* fix: typo
12 months ago
Vben
081d2aed23
perf: format code with better style ( #5283 )
1 year ago
Netfan
376aad5d26
feat: drawer close icon placement ( #5269 )
1 year ago
Netfan
de17007788
feat: drawer support destroy on close
1 year ago
Netfan
e86a7906fe
feat: drawer support `onOpened` & `onClosed`
1 year ago
Netfan
4a8e6abc06
feat: modal support destroy on close
1 year ago
Netfan
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
1 year ago
Netfan
d42daf9ce0
fix: modal radius not follow preferences ( #5063 )
1 year ago
huangfe1
e8992a1d16
chore: update modal.vue ( #4987 )
...
loading时候 子组件禁用点击事件
Co-authored-by: Vben <ann.vben@gmail.com>
1 year ago
Netfan
73502677ff
feat: add `placement` for `Drawer` ( #4958 )
1 year ago
Netfan
dedba18553
feat: add `confirmDisabled` for `Dialog` ( #4959 )
1 year ago
vince
67c2b13713
fix: drawer console warning ( #4871 )
1 year ago
Vben
5e44aa9283
fix: drawer header is missing ( #4846 )
1 year ago
Vben
4005023fd4
fix: drawer component header does not take effect ( #4844 )
1 year ago
Vben
2c6edafeb2
fix: when opening the tool separately, there is no need to pass the toolbar-tools slot ( #4841 )
1 year ago
Vben
9cf0573921
perf: optimize local startup speed and add header Class configuration to drawer ( #4840 )
1 year ago
Netfan
06ba7cb224
feat: add opened and closed events for dialog ( #4775 )
1 year ago
Vben
6688a6b3c2
feat: table grid supports setting title and helpMessage ( #4732 )
1 year ago
Vben
477a05c26c
feat: menu supports carrying default query ( #4687 )
1 year ago
Vben
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
1 year ago