Netfan
3e6d608a2f
fix: destroyOnClose incorrect default value, fixed #6092 ( #6093 )
2025-05-01 14:09:37 +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
Netfan
d18f56177c
docs: update alert and apiComponent docs ( #5961 )
2025-04-15 20:52:23 +08:00
ming4762
c7e6210c8d
feat: modal
&drawer
support center-footer
slot ( #5956 )
2025-04-15 16:04:44 +08:00
Netfan
fcdc1a1602
feat: add more expose methods for apiComponent
( #5958 )
...
* 为ApiComponent组件添加getOptions和getValue导出方法。
2025-04-15 15:32:30 +08:00
Netfan
bf7496f0d5
feat: add useAlertContext
for Alert component ( #5947 )
...
* 新增Alert的子组件中获取弹窗上下文的能力
2025-04-15 00:00:05 +08:00
Netfan
f0e9e55af2
feat: alert support customize footer
( #5940 )
...
* Alert组件支持自定义footer
2025-04-14 11:48:21 +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
ming4762
b5700bd0b1
perf: improve autoSelect
of ApiComponent
( #5936 )
...
* fix: 修复autoSelect不生效的问题,props.valueField已经被omit了
* feat: ApiComponent autoSelect支持使用函数,可以满足灵活性要求更高的场景
2025-04-13 20:03:18 +08:00
Netfan
a8c4786311
feat: api-component support autoSelect prop ( #5931 )
...
* feat: api-component support autoSelect prop
* docs: add version requirement
2025-04-12 14:02:35 +08:00
Netfan
9379093a4f
feat: customizable table separator ( #5898 )
...
* 表格的分隔条支持定制背景色或完全移除
2025-04-08 20:28:50 +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
superdl1996
cde1a85394
docs: typo ( #5855 )
2025-04-03 19:11:40 +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
d6f239c564
docs: fix api-component demo link ( #5828 )
2025-03-31 12:08:45 +08:00
Netfan
166e9a0e82
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-03-31 11:51:57 +08:00
Netfan
e91e4e0eea
docs: fix form compact
docs ( #5811 )
...
* docs: fix form `compact` docs
* docs: remove `compact` from FormCommonConfig
2025-03-28 16:15:35 +08:00
Netfan
096545c5a1
docs: update table slots docs
2025-03-10 10:53:17 +08:00
Netfan
04dff33ac5
feat: improved formApi for component instance support
...
* 改进表单API以支持组件实例的获取,以及焦点字段的获取
2025-03-10 02:56:44 +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
e815f0ff89
docs: vbenVxeTable
slots docs update
2025-03-01 22:16:36 +08:00
Netfan
c3eb4fab13
docs: fix zod rules docs
2025-02-27 17:27:00 +08:00
Netfan
1a12687027
fix: vben count to animator event name fixed ( #5573 )
2025-02-20 23:53:47 +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
a9f9031f49
docs: update form docs ( #5485 )
2025-02-06 09:45:28 +08:00
Netfan
509b268fba
docs: update docs ( #5408 )
2025-01-16 11:30:03 +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
fb0ec05ff8
perf: improve fieldMappingTime to support format function ( #5392 )
2025-01-14 18:15:00 +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
6719e2679f
feat: popup component support overlay blur effect ( #5359 )
2025-01-11 23:37:17 +08:00
Netfan
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
Netfan
516d0b8dc8
fix: form fieldMappingTime
improve and modelPropName
support ( #5335 )
...
* 表单的fieldMappingTime支持将格式化掩码设为null以便原值映射,这样可以支持非日期时间类型的组件;
* 表单增加modelPropName设置组件的双向绑定属性名,用于支持未提前注册的双向绑定属性为非默认名称的组件。
* 增加一些经常会有人提到的组合字段演示,
2025-01-09 22:49:28 +08:00
Netfan
376aad5d26
feat: drawer close icon placement ( #5269 )
2024-12-30 23:30:53 +08:00
Netfan
27ba45aa75
docs: update dialog and drawer docs
2024-12-30 22:21:01 +08:00
Netfan
e86a7906fe
feat: drawer support onOpened
& onClosed
2024-12-30 22:21:01 +08:00
Netfan
b22d900e27
feat: form compact mode support ( #5165 )
2024-12-17 20:51:17 +08:00
Netfan
4fe44611d3
docs: fix docs-link and add EllipsisText
docs ( #5158 )
...
* docs: fix docs-link and add `EllipsisText` docs
* fix: ellipsisText docs link
2024-12-17 14:41:03 +08:00
Netfan
593916d6aa
feat: form colon
support ( #5156 )
2024-12-16 22:37:29 +08:00
Netfan
38805a0e1f
feat: improve code login demo ( #5154 )
...
* feat: add some method in formApi
* fix: VbenPinInput style with small screen
* chore: improve code login demo
2024-12-16 20:48:51 +08:00
Netfan
ed465d2b5b
feat: table search form visible control ( #5121 )
...
* feat: table search form visible control
* chore: fix docs and demo
* chore: type error fixed
2024-12-12 22:28:03 +08:00
Netfan
7c4dfdc1c2
feat: form support reverse action buttons ( #5108 )
...
* feat: form support reverse action buttons
* fix: submit button class
2024-12-11 15:29:25 +08:00
Netfan
43adc943b9
docs: fix typos ( #5105 )
2024-12-11 14:48:08 +08:00
Netfan
eec6f41f6a
refactor: ApiComponent
with docs ( #5099 )
...
* refactor: `ApiComponent` with docs
* docs: remove invalid docs
* docs: remove duplicate prop docs
* docs: update `ApiComponent` docs
2024-12-11 10:45:04 +08:00
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
2024-12-10 17:37:06 +08:00
Netfan
373766691f
chore: remove useless fixedHeader
prop for Page
( #5069 )
2024-12-07 23:26:47 +08:00
Netfan
0fc0f13064
fix: layout overflow style ( #5066 )
2024-12-07 12:05:03 +08:00
huangxiaomin
fe236ea929
feat: add submitOnChange props to vben form ( #5032 )
2024-12-05 11:23:21 +08:00