Commit Graph

427 Commits (de24c0771cc2514d9419103989e882a0f347466c)

Author SHA1 Message Date
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
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 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 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
jinmao88 7a476372e1
fix: useDrawer中closeIconPlacement设置无效 (#5624) 2025-02-27 14:34:42 +08:00
Netfan 5e421ce607
chore: demo page menu management (#5619)
* 添加菜单管理演示页面
2025-02-27 01:22:25 +08:00
Netfan 4570d5b54b
feat: add `VbenButtonGroup` and `VbenCheckButtonGroup` with demo (#5591)
* 添加按钮组、选择按钮组以及相应的Demo
2025-02-24 13:50:50 +08:00
Netfan d49e3e81a4
fix: loading and spinner style fixed and improved (#5588) 2025-02-23 15:30:17 +08:00
Netfan 579b1b486c
feat: loading and spinner component with directive (#5587)
* 添加loading和spinner组件,以及对应的vue指令
2025-02-23 12:41:54 +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 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 c07281bf41
fix: form item slot context fixed (#5552)
* 修复表单插槽
2025-02-17 21:37:05 +08:00
Netfan 67d1f299b3
fix: renderComponentContent lose slot props data (#5466)
* 修复FormItem传递插槽时丢失插槽props的问题
2025-01-26 22:33:16 +08:00
vben 195ceec9b4 chore: release 5.5.3 2025-01-21 22:07:55 +08:00
Netfan 2d0859a727
fix: mouse events ignored on modal loading (#5409) 2025-01-16 12:17:08 +08:00
Netfan c3129663eb
fix: form update state error before form mounted (#5406) 2025-01-15 20:11:32 +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 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 42e322012c
fix: spinner may stop playing animation after dismiss (#5365)
* fix: spinner may stop playing animation after dismiss

* fix: animation paused more safely
2025-01-12 15:43:44 +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 b8bffd884c
feat: allow close tab when mouse middle button click (#5347)
* 偏好设置增加鼠标中键关闭标签页的设置
2025-01-10 20:52:31 +08:00
Netfan 624beb6fa0
fix: locale switching logic correction (#5344)
* 修复语言切换后的数据更新逻辑

* 表单默认按钮的content属性可提供computed类型的值
2025-01-10 14:32:21 +08:00
Netfan 7606b86854
fix: vxeGrid init without search form (#5342)
* 修复vxeGrid在未使用表单的情况下,自动加载数据失效的问题。

* 暂时将vxeGrid版本锁定在4.10.0,新版本尺寸计算尚有问题
2025-01-10 11:53:06 +08:00
Netfan e10cbe23b9 chore: update deps 2025-01-10 09:22:32 +08:00
Netfan 516d0b8dc8
fix: form `fieldMappingTime` improve and `modelPropName` support (#5335)
* 表单的fieldMappingTime支持将格式化掩码设为null以便原值映射,这样可以支持非日期时间类型的组件;
* 表单增加modelPropName设置组件的双向绑定属性名,用于支持未提前注册的双向绑定属性为非默认名称的组件。
* 增加一些经常会有人提到的组合字段演示,
2025-01-09 22:49:28 +08:00
Netfan 99c7fd72f8 fix: code lint 2025-01-09 13:04:14 +08:00
Netfan 2828e7a7b6
fix: form `fieldMappingTime` is not working (#5333)
* fix: form option `fieldMappingTime` is not working

* fix: form merge support `fieldMappingTime`
2025-01-09 12:28:33 +08:00
Netfan 801c640724
fix: vben select placeholder color (#5286) 2025-01-02 10:19:20 +08:00
Vben 081d2aed23
perf: format code with better style (#5283) 2025-01-01 11:39:49 +08:00
Netfan 2135cb8ece
feat: new layout `sidebar nav with full header` (#5270) 2024-12-31 00:30:15 +08:00
Netfan 376aad5d26
feat: drawer close icon placement (#5269) 2024-12-30 23:30:53 +08:00
Netfan de17007788 feat: drawer support destroy on close 2024-12-30 22:21:01 +08:00
Netfan e86a7906fe feat: drawer support `onOpened` & `onClosed` 2024-12-30 22:21:01 +08:00
Netfan 4a8e6abc06 feat: modal support destroy on close 2024-12-30 22:21:01 +08:00
Netfan ff8d5ca351
feat: header mixed layout (#5263)
* feat: new layout header-mixed

* fix: header-mixed layout update

* feat: layout preference update

* fix: extra menus follow layout setting
2024-12-30 14:01:17 +08:00
vben 07c4ad05f4 chore: release 5.5.2 2024-12-28 22:15:00 +08:00
Netfan ec2c6eff6f
feat: header menu align support (#5256)
* feat: header menu align support

* fix: typo
2024-12-28 16:16:48 +08:00
Netfan acd87b2250
feat: add `resizable` and `ColPage` component (#5188)
* feat: add component resizable

* feat: component `ColPage` with demo
2024-12-19 20:37:42 +08:00
Netfan 1853ba1d60
fix: sidebar header height (#5183) 2024-12-19 11:45:32 +08:00
Netfan 10b3a16f79
fix: sidebar style on focus (#5178) 2024-12-18 22:52:40 +08:00
Netfan b22d900e27
feat: form compact mode support (#5165) 2024-12-17 20:51:17 +08:00
Netfan 181e38733c
fix: form auto submit no effect when showDefaultActions is false (#5163) 2024-12-17 20:15:09 +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 0f756503ff feat: add demo for modify menu badge data 2024-12-16 12:45:07 +08:00
Netfan 22c1f86ca1
fix: `disabledOnChangeListener` not work in form (#5146) 2024-12-16 00:57:10 +08:00
Netfan 7581fb381f
fix: pinInput value synchronous update (#5142) 2024-12-15 14:26:42 +08:00
Netfan 698daf46c7
fix: form component events bind (#5137)
* fix: from component events bind

* chore: update docs

* chore: default value and docs sync
2024-12-14 17:42:13 +08:00
Netfan 7fbf7b189a
feat: tabbar support mouse wheel vertical (#5129)
* feat: tabbar support mouse wheel

* docs: add tabbar wheelable tips

* chore: resolve vitest test
2024-12-13 14:45:06 +08:00
Netfan be208fe915
fix: form support `disabledOnInputListener` (#5127)
* fix: form support `disabledOnInputListener`

* chore: docs update
2024-12-13 11:18:45 +08:00
Netfan 1d3729aa24
fix: form submission not appropriate (#5126) 2024-12-13 10:56:24 +08:00
vben cbca9ffd95 chore: release 5.5.1 2024-12-12 22:47:11 +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 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 0fc0f13064
fix: layout overflow style (#5066) 2024-12-07 12:05:03 +08:00
Netfan b75a8e6a2b
fix: form setValues not support `dayjs` and `Date` value (#5064)
* fix: setFormValues not support  `dayjs object` value

* fix: setFormValues not support `Date` value

* chore: remove console log
2024-12-07 11:09:55 +08:00
Netfan 4c1fc4a11e
fix: validate message not display, fix #5034 (#5038) 2024-12-07 11:02:59 +08:00
Netfan 03f166f8a4
fix: `form` prop `handleValuesChange` no effect (#5060) 2024-12-07 11:02:14 +08:00
Netfan d42daf9ce0
fix: modal radius not follow preferences (#5063) 2024-12-07 11:00:53 +08:00
Netfan 21d37a1be0
fix: `dialog` and `drawer` footer gap in small screen (#5025) 2024-12-05 11:24:09 +08:00
huangxiaomin fe236ea929
feat: add submitOnChange props to vben form (#5032) 2024-12-05 11:23:21 +08:00
huangxiaomin 05b4b61c6e
fix: select Long option style problem (#5030) 2024-12-05 11:22:35 +08:00
vben 7ab00250bf chore: release 5.5.0 2024-12-04 22:57:27 +08:00
Netfan 845f2a2abd
fix: header left padding fixed (#5007) 2024-12-04 21:43:54 +08:00
Netfan 17c7ce8f21
feat: improve `page` component (#5013)
* feat: `page` component support fixed header

* docs: `page`  component documentation

* docs: Improve `props` types of `page`

* docs: improve `fixedHeader` description of `page`

* fix: `page` header border color with fixedHeader

* feat: add `headerClass` for `Page`
2024-12-04 21:40:41 +08:00
vben 24b9aa44d2 chore: Revert "fix: form 表单不支持field.xxx.xx格式的defaultValue配置 (#4965)"
This reverts commliit 12f216c0e7.
2024-12-02 00:47:06 +08:00
leizhiyou 12f216c0e7
fix: form 表单不支持field.xxx.xx格式的defaultValue配置 (#4965)
* fix: form 表单不支持field.xxx.xx格式的defaultValue配置

* chore: 修复代码规范问题
2024-12-01 21:48:54 +08:00
Netfan ae3f7cb909
fix: mixed menu layout in full content mode (#4990) 2024-12-01 21:37:36 +08:00
huangfe1 e8992a1d16
chore: update modal.vue (#4987)
loading时候 子组件禁用点击事件

Co-authored-by: Vben <ann.vben@gmail.com>
2024-11-30 11:18:22 +08:00
Svend 3c4af23edf
fix: 修复 Form Api 根据字段名移除表单项,字段取反了的问题 (#4971) 2024-11-30 10:58:17 +08:00
vince 54a9ff088f
feat: upgrade vite version to 6.0.0 (#4961)
* chore: upgrade vite version to 6.0.0

* chore: update lock
2024-11-27 15:52:25 +08:00
Netfan 73502677ff
feat: add `placement` for `Drawer` (#4958) 2024-11-27 11:29:25 +08:00
Netfan dedba18553
feat: add `confirmDisabled` for `Dialog` (#4959) 2024-11-27 11:28:49 +08:00
vben c8dd9bbf0b chore: release 5.4.8 2024-11-24 22:00:41 +08:00
Vben dbcb7138f2
fix: resolve issue with Upload component not working correctly inside Form (#4916) 2024-11-17 21:37:37 +08:00
ryomahan fe58af2e78
fix: form-api.setValues can't resolve nested fields (#4915)
fix #4912
2024-11-17 21:04:35 +08:00
huangxiaomin 94c68c966e
fix: fieldMappingTime data error when clear inputvalue (#4906) 2024-11-17 21:04:04 +08:00
Netfan 1302092798
fix: dialog `opened/closed` event triggered incorrectly,fixed #4902 (#4908) 2024-11-17 20:55:19 +08:00
vben 788a29a8cb chore: release v5.4.7 2024-11-14 22:15:46 +08:00
Vben 86e52ce58a
fix: resolve onChange issue in form component (#4890) 2024-11-13 22:53:09 +08:00
vince 67c2b13713
fix: drawer console warning (#4871) 2024-11-12 13:34:47 +08:00
Netfan 1ff1e4a8d7
fix: form enter event handling, fixed #4865 (#4867) 2024-11-12 13:20:48 +08:00
vben 94efcec7da chore: release v5.4.6 2024-11-10 11:50:46 +08:00
Vben ba36ce8836
feat: pinInput supports disabled props (#4851)
* feat: pinInput supports disabled props
2024-11-10 10:09:06 +08:00
vben 57d5a919d2 chore: release v5.4.5 2024-11-09 21:06:10 +08:00
Vben 546c0928fb
fix: form data that is not submitted by the form should not be carried when switching paging (#4847) 2024-11-09 21:04:58 +08:00
Vben 5e44aa9283
fix: drawer header is missing (#4846) 2024-11-09 20:00:09 +08:00
Vben 4005023fd4
fix: drawer component header does not take effect (#4844) 2024-11-09 15:53:17 +08:00
Vben 8617d3dd1e
perf: formApi added validateAndSubmitForm & filedMapToTime renamed fieldMappingTime (#4842)
* perf: formApi added validateAndSubmitForm & filedMapToTime renamed fieldMappingTime
2024-11-09 15:00:59 +08:00
huangxiaomin 632081e828
feat: add icon-picker component (#4832)
* feat: add icon-picker component

* fix: resolve conversations

* refactor: resort @vben/hooks
2024-11-09 14:10:17 +08:00
huangxiaomin 6b9acf09dc
feat: add fieldMapToTime prop to FormRenderProps (#4838) 2024-11-09 14:08:46 +08:00
Vben 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
Vben 9cf0573921
perf: optimize local startup speed and add header Class configuration to drawer (#4840) 2024-11-09 11:12:30 +08:00
Vben 8f1e397077
fix: when the form is destroyed, the form parameters still exist (#4834)
* fix: when the form is destroyed, the form parameters still exist

* chore: update deps
2024-11-07 22:36:26 +08:00
vben 44440d0951 chore: release v5.4.4 2024-11-04 22:47:52 +08:00
jackhoo(胡彪) f78cc319ab
fix(@vben-core/menu-ui): fix horizontal layout top menu language switching issue(#4724) (#4777)
Co-authored-by: jackhoo_98 <jackhoo_98@foxmail.com>
2024-10-31 22:05:51 +08:00
Netfan 06ba7cb224
feat: add opened and closed events for dialog (#4775) 2024-10-31 22:05:18 +08:00
Netfan 353e8be289
fix: long text style in sidemenu. fixed #4749 (#4770) 2024-10-30 21:43:41 +08:00
vben ad3963ff70 chore: release v5.4.3 2024-10-27 21:59:54 +08:00
Vben fe7df5ad3b
feat: allow configuration of staticRroues (#4746)
* feat: allow configuration of staticRroues

* chore: update deps

* chore: typo
2024-10-27 21:58:39 +08:00
Vben 6688a6b3c2
feat: table grid supports setting title and helpMessage (#4732) 2024-10-24 22:51:04 +08:00
Vben 23768ea620
feat: menu routing support opens in a new window (#4715) 2024-10-22 22:24:56 +08:00
Vben 1b172b0329
fix: rename the Icon component to IconifyIcon to prevent name conflicts and fix type issues (#4704) 2024-10-21 20:14:25 +08:00
vben bfaa2780ab chore: release v5.4.2 2024-10-20 22:35:58 +08:00
Vben d262b7b6c0
fix: fix known issues with the form (#4696)
* fix: fix known issues with the form

* chore: typo

* chore: typo
2024-10-20 22:34:11 +08:00
Svend 646598afba
fix(@vben-core/form-ui): fix the issue of Textarea not being able to wrap lines in the form (#4691) 2024-10-20 21:07:34 +08:00
Vben 477a05c26c
feat: menu supports carrying default query (#4687) 2024-10-19 19:50:23 +08:00
Vben 0df8c5c02c
refactor: reconstruct language files into multi-file structures (#4683)
* refactor: reconstruct language files into multi-file structures

* chore: typo
2024-10-19 14:28:21 +08:00
vben d1ca09c7bb chore: release v5.4.1 2024-10-18 22:12:00 +08:00
Vben ff3c5f8581
fix: form does not take effect in vertical layout (#4680) 2024-10-18 22:09:41 +08:00
vince c491b9e021
fix: maximum call stack size (#4674)
* fix: maximum call stack size
2024-10-18 14:24:39 +08:00
Vben 6cd9937c03
feat: add submitOnEnter configuration to form (#4670) 2024-10-17 22:53:05 +08:00
Vben f89f4f32c7
fix: form required style adjustment (#4668) 2024-10-17 22:40:20 +08:00
Netfan c432e0ac33
feat: limit the drag range of tabs, fixed #4640 (#4659) 2024-10-17 14:11:42 +08:00
CHUZHI 45987fc1e3
feat: add form slot for action area (#4621)
* feat: add form slot for action area

* fix: fixed rename and lint
2024-10-14 22:35:01 +08:00
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
2024-10-13 18:33:43 +08:00
vben 9856bc88d2 chore: release v5.4.0 2024-10-13 14:21:54 +08:00
vben 68465b5fbf chore: release v5.4.0-beta.1 2024-10-13 14:17:28 +08:00
Vben 0ea0f204cb
refactor: change the shadcn-ui directory and remove rarely used components (#4626) 2024-10-13 10:58:09 +08:00
Netfan ba539f6793
chore: correct spelling for 'dragable' (#4600) 2024-10-10 10:55:52 +08:00