Commit Graph

933 Commits

Author SHA1 Message Date
vben
3304d54546 chore: remove prepare script from package.json 2025-05-19 09:54:16 +08:00
vben
ca57d223b4 chore: update prepare script in package.json to remove lefthook installation 2025-05-19 09:54:15 +08:00
Vben
0fa587c246 feat(project): migrate from husky and lint-staged to lefthook (#6104) 2025-05-19 09:54:11 +08:00
Vben
4fd2fee782 feat: support smooth auto-scroll to active menu item (#6102) 2025-05-19 09:54:00 +08:00
Vben
c4a4ca5232 chore: close eslint object sorting (#6101) 2025-05-19 09:53:59 +08:00
aonoa
73db7f3ef5 refactor: modify the default homepage path loaded from the preference… (#6099)
* refactor: modify the default homepage path loaded from the preferences.ts

Signed-off-by: aonoa <1991849113@qq.com>

* refactor: modify the default homepage path loaded from the preferences.ts

Signed-off-by: aonoa <1991849113@qq.com>

---------

Signed-off-by: aonoa <1991849113@qq.com>
2025-05-19 09:53:58 +08:00
Netfan
aef2134b60 fix: add triggerClass binding to PopoverTrigger and update icon-picker styles (#6095)
* Popover支持设置trigger的样式
* 修正icon-picker的input值更新
2025-05-19 09:53:58 +08:00
Netfan
f920895b8c fix: add missing translation for preferences drawer (#6094) 2025-05-19 09:53:57 +08:00
Netfan
10257e3611 fix: destroyOnClose incorrect default value, fixed #6092 (#6093) 2025-05-19 09:53:56 +08:00
ming4762
a88a2c8afa fix: fix LoginExpiredModal in some cases, message may be obscured (#6086) 2025-05-19 09:53:56 +08:00
Netfan
d92697e7f7 fix: show validation message as tooltip in compact form (#6087)
* 紧凑模式表单的校验消息将显示为一个tooltip
2025-05-19 09:53:55 +08:00
Jin Mao
e34285a51e perf: page componet supports custom height offset for flexible content height … (#6081)
* perf: Page supports custom height offset for flexible content height control.

允许通过 height 属性调整页面内容高度计算。修改了 Page 组件以支持自定义高度偏移量,用于更灵活的内容高度控制。

* chore: typo

* perf(page): replace height with heightOffset for flexible content sizing

The `height` prop was replaced with `heightOffset` to better describe its purpose when used with `autoContentHeight`. The new prop allows custom offset values (in pixels) to adjust content area sizing, with clearer documentation.
2025-05-19 09:53:54 +08:00
Netfan
721b5f3d3e fix: calculation for collapsing search form is incorrect while initially hidden (#6068)
* 修复当默认隐藏搜索表单时,折叠位置的计算不正确的问题
2025-05-19 09:53:53 +08:00
vben
5e694b3194 chore: update readme.md 2025-05-19 09:53:52 +08:00
Vben
bf5e697c42 chore: update dependencies and documentation, optimize build toolchain (#6060)
* chore: update packageManager version to pnpm@10.9.0 for compatibility improvements

* chore: Update dependent versions and configurations to improve compatibility and stability

- Update Node version to 22.1.0
- Updated pnpm version to 10.10.0
- Fixed syntax error in prettier command in lintstagedrc
- Update dependent versions in pnpm-lock.yaml to ensure consistency
- Update format and content in README documents to improve readability

* fix: lint error
2025-05-19 09:53:46 +08:00
vem
9437e97ce4 fix: Update existing route index to prevent 404 on user switch (#6003)
Co-authored-by: tars-macmini <vem@qq.com>
2025-05-19 09:51:07 +08:00
Netfan
77c09b4ddf fix: lock state will not change overflow style in drawer and modal (#6067)
* Modal和Drawer的锁定状态不再修改overflow样式
2025-05-19 09:51:06 +08:00
Gahotx
70d07c683a fix: add rounded corners to project and quick nav items (#5296) 2025-05-19 09:51:05 +08:00
Vben
e840905934 chore: update dependency version for improved stability and compatibility (#6023)
* chore: update dependency version for improved stability and compatibility

* fix: optimize clearPoints function in useCaptchaPoints hook to improve performance

* fix: make several props optional in various components for better flexibility
2025-05-19 09:50:59 +08:00
Trivikram Kamat
8b192d05fd fix: install corepack from npm (#5905)
* fix: install corepack from npm

* docs: install corepack from npm
2025-05-19 09:50:36 +08:00
ming4762
9f910c3486 perf: resolve duplicate component names (#6039) 2025-05-19 09:50:35 +08:00
vben
25b0822afd chore: release v5.5.5 2025-05-19 09:50:34 +08:00
Netfan
8292024fc7 feat: encrypt the privacy data when it is persisted (#6056)
* 对私密数据持久化时执行加密
* 将锁屏密码合并到accessStore中进行加密
2025-05-19 09:50:26 +08:00
Jin Mao
9a0e813143 docs: add deepWiki doc link (#6057) 2025-05-19 09:50:13 +08:00
ming4762
1a73329691 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
2025-05-19 09:50:12 +08:00
Netfan
ab161444fc fix: title of search button in vxeTable toolbar (#6046)
* 修改vxeTable工具栏里的搜索按钮的提示文案
2025-05-19 09:50:12 +08:00
Netfan
0243e68fbe feat: vbenSelect support prop allowClear (#6043) 2025-05-19 09:50:11 +08:00
Netfan
54c0d4ed83 docs: update example (#6036)
* 跟进后端菜单逻辑的修改,现已无需传递basicLayout布局
2025-05-19 09:50:10 +08:00
panda7
e320311128 fix: the initial value echo for the check-button-group (#6029)
Co-authored-by: sqchen <9110848@qq.com>
2025-05-19 09:50:09 +08:00
Netfan
1faa52335c fix: alert confirm state in beforeClose callback (#6019) 2025-05-19 09:50:09 +08:00
pangyajun123
9ff600657b fix: vxe-table theme token follow primary color (#6007) 2025-05-19 09:50:08 +08:00
wyc001122
d14527a292 fix: fix geader menu activation path (#5997)
Co-authored-by: 王泳超 <wangyongchao@testor.com.cn>
2025-05-19 09:50:07 +08:00
Netfan
eb70c48d14 fix: alert send wrong confirm state to beforeClose (#5991)
* 修复alert在按下Esc或者点击遮罩关闭时,可能发送错误的isConfirm状态
2025-05-19 09:50:06 +08:00
Netfan
302de1deaf fix: destroyOnClose works within connectedComponent (#5989)
* 修复destroyOnClose没能销毁connectedComponent自身的问题
2025-05-19 09:50:06 +08:00
PIPEDREA_WZJ
ea0c2ad58b Update tailwindcss.md (#5602)
tailwindcss最新的版本已经是v4.x,vben中使用的是3.x的tailwindcss。在未进行兼容前,会出现运行失败的问题
2025-05-19 09:50:05 +08:00
yuh
678646b4ba feat: add examples: form-upload (#5955)
* feat: add examples: form-upload

* fix: upload: accept and label

* fix: upload: 设置表单值、图片预览
2025-05-19 09:50:04 +08:00
Netfan
a4da6dedf8 fix: fixed arguments of callbacks in formApi (#5970)
* 修复 `handleValuesChange` 传递的参数不是处理后的表单值的问题

* 修复 `handleReset` 未能传递正确参数的问题
2025-05-19 09:50:04 +08:00
Netfan
332a8be29c feat: pass fieldsChanged into the handleValuesChange callback function (#5968)
* fieldsChanged(已被改变值的字段名)将传入handleValuesChange回调函数
2025-05-19 09:50:03 +08:00
ming4762
357ae0e565 perf: improve destroyOnClose for VbenModal (#5964) 2025-05-19 09:50:02 +08:00
LinaBell
fe2310300c perf: beforeClose of drawer support promise (#5932)
* perf: the beforeClose function of drawer is consistent with that of modal

* refactor: drawer test update
2025-05-19 09:50:01 +08:00
zhouda1fu
7e99c62abf fix: missing await in department form(#5967) 2025-05-19 09:50:01 +08:00
Netfan
a3b2d5c2e1 docs: update alert and apiComponent docs (#5961) 2025-05-19 09:50:00 +08:00
wyc001122
39f9c6a3f4 fix: determine if scrollbar has been totally scrolled (#5934)
* 修复在系统屏幕缩放比例不为100%的情况下,滚动组件对是否已滚动到边界的判断可能不正确的问题
2025-05-19 09:49:59 +08:00
ming4762
48c616ea81 fix: modal closing animation (#5960) 2025-05-19 09:49:58 +08:00
ming4762
06e279c917 feat: modal&drawer support center-footer slot (#5956) 2025-05-19 09:49:58 +08:00
lztb
ff65b061ef feat: vben-form添加arrayToStringFields属性 (#5957)
* feat: vben-form添加arrayToStringFields属性

* feat: 修改handleArrayToStringFields和handleStringToArrayFields中嵌套数组格式的处理不一致

---------

Co-authored-by: 米山 <17726957223@189.cn>
2025-05-19 09:49:57 +08:00
Netfan
b8f145aa7f feat: add more expose methods for apiComponent (#5958)
* 为ApiComponent组件添加getOptions和getValue导出方法。
2025-05-19 09:49:56 +08:00
Netfan
091596eda8 feat: add useAlertContext for Alert component (#5947)
* 新增Alert的子组件中获取弹窗上下文的能力
2025-05-19 09:49:55 +08:00
Netfan
17b0111424 fix: table actions in fixed column (#5945) 2025-05-19 09:49:55 +08:00
Netfan
6e5ddb6d25 feat: alert support customize footer (#5940)
* Alert组件支持自定义footer
2025-05-19 09:49:54 +08:00