Commit Graph

1209 Commits

Author SHA1 Message Date
dap
f9c85bca3f chore(icons): 移除未使用的iconify图标包依赖
移除开发依赖中未实际使用的多个@iconify/icons-*包,仅保留ri和simple-icons。
这简化了依赖管理并减少了安装体积。
2026-01-23 11:39:44 +08:00
dap
fa4d16c542 feat(icons): 添加离线图标生成脚本并更新依赖
- 新增脚本 generate-offline-icons.js 用于自动生成离线图标集合
- 将手动维护的 menu-icons.ts 替换为脚本生成的 offline-icons.ts
- 更新 @iconify/json 依赖版本至 2.2.431
- 在 icons 包中添加 @iconify/json 作为工作区依赖
- 在根 package.json 中添加生成离线图标的 npm 脚本
2026-01-23 11:37:31 +08:00
dap
87706ad425 refactor(icons): 移除离线图标依赖并改用CSS类
移除 `@iconify/icons-flat-color-icons/folder`、`@iconify/icons-material-symbols/menu` 和 `@iconify/icons-mdi/button-pointer` 的显式导入与离线图标包装导出。将树组件和菜单视图中的图标使用方式从组件实例更改为CSS类(例如 `icons-[flat-color-icons--folder]`)。这消除了对特定离线图标包的依赖,使图标管理更统一并可能减少打包体积。
2026-01-23 11:21:01 +08:00
dap
d475b29e9f feat: 统一系统图标渲染方式并优化代码生成预览
- 将操作系统和浏览器图标从自定义组件改为使用 Iconify 类名,简化渲染逻辑
- 在登录信息和在线用户表格中,将操作系统图标与文本并排显示,提升可读性
- 重构代码生成预览功能,将图标配置移至独立文件,提高可维护性
- 更新 GitHub 图标引用,使用 Ant Design Vue 的 GithubOutlined 组件
2026-01-23 11:12:26 +08:00
dap
052d7d5cdd feat(monitor): 在浏览器列中同时显示图标和文本
重构浏览器图标渲染逻辑,使用 Iconify 图标集替代自定义 SVG 组件
- 修改 login-info-modal.vue 和 data.tsx 中的浏览器列显示,同时展示图标和浏览器名称
- 新增 online 监控页面的数据配置,包含浏览器和系统列
- 重写 render.tsx 中的 renderBrowserIcon 函数,支持 Iconify 在线/离线图标
- 清理 icons 包中已不再使用的浏览器相关离线图标定义
2026-01-23 10:49:39 +08:00
dap
948dc9b520 refactor(icons): 迁移部分图标到 @ant-design/icons-vue 并移除未使用的离线图标
移除 @vben/icons 中的 UserOutlined、InBoxIcon、ExcelIcon 等图标,改用 @ant-design/icons-vue 提供的对应组件。
删除 packages/icons 中未使用的离线图标定义,包括 TaobaoIcon、AlipayIcon、GithubOAuthIcon 等。
在 apps/web-antd/src/views/_core/ 新增 oauth-common.tsx 文件,集中管理 OAuth 绑定相关逻辑与数据。
2026-01-23 10:42:52 +08:00
dap
46fa96f556 refactor(icons): 将缓存监控页面的图标替换为内联iconify离线图标
移除从@vben/icons导入的RedisIcon、CommandLineIcon和MemoryIcon组件,
改为使用内联的iconify离线图标类名。同时清理packages/icons中不再使用的图标导出,
以保持图标库的简洁性。
2026-01-23 10:30:12 +08:00
dap
3582807910 refactor: 迁移requestClient到alovaInstance并移除旧版上传组件
重构项目中所有使用requestClient的API调用,替换为alovaInstance
移除已废弃的旧版上传组件及相关代码
调整上传组件类型定义以适配antdv-next更新
优化上传逻辑,移除不必要的进度事件和取消信号
更新类型定义文件,迁移axios配置到alova类型
2026-01-19 21:58:07 +08:00
dap
e5bbaf5f9a feat(客户端管理): 优化客户端管理界面功能
- 添加默认客户端ID常量
- 重构密钥输入组件使用SpaceCompact布局
- 替换TableSwitch为ApiSwitch并优化状态切换逻辑
2026-01-16 09:36:49 +08:00
dap
fbd5b64345 feat(oss-config): 添加YesNo常量并优化OSS配置表单
在constants/core.ts中添加YesNo常量
移除oss-config表单中多余的formItemClass属性
将TableSwitch替换为ApiSwitch并实现状态切换功能
2026-01-15 10:14:16 +08:00
dap
884c4f39fd refactor(antd): 移除Popconfirm中已废弃的getVxePopupContainer属性
antd已支持滚动跟随,不再需要手动指定getVxePopupContainer属性。删除相关代码及工具函数,简化实现。
2026-01-15 10:07:06 +08:00
dap
448856e547 feat(role): 添加角色管理相关常量并优化角色状态切换
refactor(role): 使用常量替换硬编码的角色ID和key
fix(role): 修正角色排序默认值为1
feat(component): 导出ApiSwitch全局组件
2026-01-15 10:03:39 +08:00
dap
b84eabf1c9 feat(常量): 添加超级管理员ID和启用状态常量
在核心常量文件中添加 SUPERADMIN_USER_ID 和 EnableStatus 常量
在用户管理页面中使用新常量替代硬编码值
2026-01-15 09:54:42 +08:00
dap
35c96b3a9e refactor(constants): 将字典枚举从core/shared移动到@vben/constants
将字典枚举相关常量从packages/@core/base/shared/src/constants移动到packages/constants模块
更新相关导出和导入路径,保持功能不变但改善代码组织结构
2026-01-15 09:41:41 +08:00
dap
0ef6eb2502 feat(version): 添加版本更新检测功能
添加 version-polling 依赖并实现版本更新检测功能
移除旧的 CheckUpdates 组件,改用新的版本检测方案
2026-01-14 17:20:01 +08:00
dap
7c8e962a01 fix(form-field): 移除overflow-hidden以修复radio波纹效果显示问题 2026-01-14 16:37:14 +08:00
dap
5776672901 style(antd): 移除导致页面无法滚动的样式并清理注释代码
移除 overscroll-behavior 属性以修复页面滚动问题
清理不再使用的按钮和标签样式代码
2026-01-14 15:45:28 +08:00
dap
0ab5c46812 refactor(按钮样式): 替换btn-success类为variant和color属性
使用variant="link"和color="green"替代原有的btn-success类,统一按钮样式实现方式
2026-01-13 20:25:02 +08:00
dap
a208034539 init: antdv-next 2026-01-08 20:56:07 +08:00
dap
1383f63361 refactor: 使用antd组件替换密码登录表单
- 废弃原有的shadcn-ui验证码组件,改用antd实现
- 更新登录表单中的验证码输入组件为新的antd实现
- 调整表单布局和样式
2026-01-08 11:47:37 +08:00
dap
dbe8beb7f9 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2026-01-08 11:18:02 +08:00
ppxb
24d20ca9ee refactor: preference manager and export (#7068)
* fix: preferences drawer outline z-index

* refactor: preferencesManager and exports
2026-01-06 12:42:32 +08:00
wyc001122
6f02181024 fix(layout): 修复双列模式下重复显示logo的问题(#7071) (#7072) 2026-01-05 21:13:06 +08:00
dap
3566191cd1 merge 2026-01-05 20:42:25 +08:00
ppxb
ed3353a271 fix: preferences drawer outline z-index (#7067) 2026-01-04 14:44:33 +08:00
JyQAQ
81a61558cb feat(upload prop:maxSize): from Upload component accept prop maxSize (AI prompt fixed) (#7059)
* feat(upload prop:maxSize): from component accept prop maxSize

* feat(upload prop:maxSize): from component accept prop maxSize

* feat(upload prop:maxSize): from component accept prop maxSize

* feat(upload prop:maxSize): from component accept prop maxSize
2026-01-03 13:19:40 +08:00
ppxb
7d2bc2e885 fix: dropdown raido menu type error (#7062)
* fix: dropdown raido menu type

* chore: format code
2026-01-02 14:25:19 +08:00
luoqiz
89b237f6b4 feat: 添加上下文菜单演示,添加菜单项隐藏性 (#7057)
Co-authored-by: luoqiz <851092732@qq.com>
2026-01-02 14:22:19 +08:00
xueyitt
ccf70a1b76 feat: 修正菜单排序在二级菜单不生效问题 (#7007)
* treeUtil增加对树形结构数据进行递归排序

* 菜单sort排序各级菜单均生效
2025-12-22 19:57:21 +08:00
JyQAQ
9105d4d14a feat(api-component): api-component组件的options支持指定disabled值 (#6991) 2025-12-03 10:03:23 +08:00
luoqiz
c76db7d8d1 fix: 修复icon丢失根属性导致的样式错误 (#6986) 2025-12-01 09:51:27 +08:00
dap
880a768f34 merge 2025-11-30 01:57:43 +08:00
dap
e595a9712f merge 2025-11-30 01:57:18 +08:00
milletpeak
1f1ba16ead Merge branch 'main' into milletpeak-fontsize 2025-11-24 08:55:54 +08:00
panda7
b6edc5f574 fix: centered 为 true 时设置 draggable 无法拖拽 (#6948)
Co-authored-by: sqchen <chenshiqi@sshlx.com>
2025-11-24 08:38:10 +08:00
Jin Mao
8b0f138100 Merge branch 'main' into deps 2025-11-24 08:23:02 +08:00
ming4762
a810cd0b48 fix: fix IconPicker reporting an error when using search if no icon is found (#6944)
* 修复未搜索图标时分页报错的问题
 * 优化`IconPicker` 的分页逻辑,由total触发跳转到第一页,而不是用户控制
2025-11-24 07:56:55 +08:00
aonoa
b17fec41b0 fix: tree component cannot set a value (#6941)
Signed-off-by: aonoa <1991849113@qq.com>
2025-11-24 07:56:16 +08:00
米山
aaf0274fe9 feat: add menu font size variable and update related components
- Introduced a new CSS variable `--menu-font-size` calculated from the base font size.
- Updated `PreferenceManager` to trigger CSS variable updates when `fontSize` is modified.
- Adjusted `updateCSSVariables` to set the new `--menu-font-size` based on the theme's font size.
- Ensured that the menu components utilize the updated font size with `!important` to maintain styling consistency.
2025-11-19 10:51:10 +08:00
米山
c142af482b fix: update snapshot for defaultPreferences immutability test to reflect fontSize change
- Adjusted the snapshot to ensure consistency with the updated defaultPreferences configuration, specifically retaining the fontSize property.
2025-11-19 10:19:16 +08:00
米山
cd7c11c7d0 fix: run 'pnpm format' update various components and improve layout structure
- Updated demo-preview and preview-group components for better error handling and layout.
- Enhanced drawer and modal components for improved auto-height functionality.
- Refactored layout components including header, footer, sidebar, and tabbar for better responsiveness and usability.
- Adjusted tooltip and help tooltip components for better user guidance.
- Fixed issues in various UI components to ensure consistent styling and functionality across the application.
2025-11-19 10:14:04 +08:00
milletpeak
fb8f36eeec Merge branch 'main' into milletpeak-fontsize 2025-11-19 09:41:55 +08:00
dap
13f5e949a9 Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin into dev 2025-11-18 16:24:31 +08:00
xingyu4j
9a4f0f6ab1 feat: Consider multi-line formatting for readability 2025-11-17 14:24:43 +08:00
xingyu4j
bed52983a0 fix: lint 2025-11-17 12:15:14 +08:00
Jin Mao
f09aace765 fix: 更新依赖后的表格显示问题 2025-11-14 21:44:32 +08:00
Jin Mao
c3a7562e2c Merge branch 'main' into milletpeak-fontsize 2025-11-13 17:01:42 +08:00
Jin Mao
f918dc24c6 chore(@vben/utils): 移除冗余的 lodash 依赖 2025-11-13 07:47:48 +08:00
Jin Mao
e898993fe8 chore(@vben/utils): 替换 lodash 工具函数为 es-toolkit 实现 2025-11-13 07:45:10 +08:00
Jin Mao
5cafcb4a01 refactor(shared): 替换 lodash 工具函数为 es-toolkit 兼容版本
- 将 get 和 isEqual 方法从 lodash 替换为 es-toolkit/compat 导出
- 更新 package.json 添加 es-toolkit 依赖
- 注释掉原有的 lodash.get 和 lodash.isequal 导出语句- 锁定 es-toolkit 版本至1.41.0 并更新相关依赖配置
2025-11-13 07:28:52 +08:00