xingyu4j
0c1b737325
fix: fix lint && typecheck
2026-05-18 16:50:14 +08:00
Jin Mao
c8c425538f
Merge branch 'fork/xueyitt/main'
2026-05-16 10:49:33 +08:00
Jin Mao
b04c10aab6
Merge branch 'fork/LayHuts/feature/vxe-table-viewed'
2026-05-16 10:48:00 +08:00
JyQAQ
b5f79db321
fix(@vben/plugins): 修复 tiptap 重复注册扩展警告 ( #7917 )
...
StarterKit v3.22.0 已默认包含 Document、Link、Underline 扩展,
与单独导入产生重复注册,导致控制台警告:
[tiptap warn]: Duplicate extension names found: ['link', 'doc', 'underline']
- 移除 Document 单独导入和使用,StarterKit 已内置
- 移除 Underline 单独导入和使用,StarterKit 已内置
- StarterKit 配置中添加 link: false,禁用内置 Link,
保留自定义配置的 Link.configure({...})
2026-05-16 10:45:30 +08:00
xueyitt
30356a24e6
fix: 修正vxtable不存在formConfig时,直接变更data失效问题
...
修正vxtable不存在formConfig时,直接变更data失效问题
2026-05-11 10:09:47 +08:00
JyQAQ
f5feddc6c7
feat(@vben/plugins): tiptap 组件新增 maxHeight 属性支持及文档 ( #7897 )
...
* feat(@vben/plugins): tiptap 组件新增 maxHeight 属性支持
- 新增 maxHeight prop 支持限制编辑器最大高度
- 编辑器内容区超出最大高度时自动滚动
- 移除 style.css 中未使用的 CSS 规则
* docs(@vben/plugins): 添加 tiptap 富文本编辑器组件文档
- 新增中文文档 docs/src/components/common-ui/vben-tiptap.md
- 新增英文文档 docs/src/en/components/common-ui/vben-tiptap.md
- 新增基础用法示例 demos/vben-tiptap/basic
- 新增图片上传示例 demos/vben-tiptap/image-upload
- 更新文档侧边栏配置
* fix(@vben/plugins): extract URL from response in image upload callback
The upload callback was incorrectly passing the AxiosResponse object
to resolve() instead of extracting the actual image URL string.
This caused the editor to insert [object Object] as image src,
resulting in broken images.
* chore: add changeset for tiptap maxHeight feature
* Revert "chore: add changeset for tiptap maxHeight feature"
This reverts commit a28fc4441f14641f6af6c1a143aa6959591315b2.
2026-05-10 10:38:21 +08:00
layhuts
1299acd8f9
fix: 获取已存在的 key,避免重复写入刷新过期时间
2026-05-09 23:27:25 +08:00
layhuts
08e4bb40b4
style: reformat code
2026-05-09 18:28:23 +08:00
layhuts
9c49f4bb1e
refactor: 优化viewed实例初始化,rowStyle rowClassName 从最新的配置中读取
2026-05-09 18:27:09 +08:00
layhuts
28905b0bec
style: reformat code
2026-05-09 14:08:19 +08:00
layhuts
a5f0537cb0
fix: 处理viewedKeys由于 FIFO 顺序,显式提供的值可能会被异步存储恢复静默地移除。
2026-05-09 13:38:50 +08:00
layhuts
c78d89f549
fix: 处理非原子性的先清除后写入操作会setKeys带来永久性数据丢失的风险
2026-05-09 13:16:50 +08:00
layhuts
f2a17cbe78
fix: 处理getViewedKeys()返回对内部可变对象的直接引用问题
2026-05-09 13:10:41 +08:00
layhuts
2d36d6b510
style: reformat code
2026-05-09 11:03:47 +08:00
layhuts
88d5661e0c
refactor: 重构ViewedRowPersistOptions处理扁平化问题
...
改成按 type 字段区分的联合类型
2026-05-09 11:02:16 +08:00
layhuts
e1f6449073
feat: 表格已读行操作标记
2026-05-08 20:03:05 +08:00
yuan.ji
244c0a5884
fix(@vben/plugins): 根据代码审查意见修复 tiptap 图片上传
...
- 提取 findPlaceholderPos 辅助函数,消除重复的 descendants 查找
- 添加 editor.isDestroyed 守卫,防止操作已销毁编辑器
- renderHTML 不输出上传状态属性,防止 blob URL 泄露到序列化 HTML
- uploadImage 命令返回 boolean,添加 Commands 类型增强,移除 as any
- 拖拽/粘贴多图时仅处理第一张并提示仅支持单图上传
- 自定义 extensions 时不传 imageUpload 给工具栏,toolbar action 加运行时守卫
2026-04-27 14:33:30 +08:00
yuan.ji
c6fd599784
feat(@vben/plugins): 补充 tiptap 图片上传类型、工具栏和示例
...
- 新增 ImageUploadOptions 类型定义和 imageUpload 属性
- 工具栏图片按钮支持上传/URL 双模式
- playground 添加图片上传 mock 示例
2026-04-27 13:42:56 +08:00
yuan.ji
4ca2f1c6e8
feat(@vben/plugins): tiptap 支持图片上传功能
...
- 新增 imageUpload 配置项,支持自定义上传接口
- 支持文件选择、拖拽、粘贴三种上传方式
- 上传中显示 blob 预览图 + loading spinner / 进度条
- 支持 accept 和 maxSize 文件校验
- 支持 onUploadError 自定义错误处理
- 未配置 imageUpload 时保持原有 URL 插入行为不变
- 使用 NodeView 实现实时 DOM 控制的进度展示
2026-04-27 13:42:36 +08:00
xingyu4j
d700b04841
fix: tailwindcss lint
2026-04-13 17:52:16 +08:00
dullathanol
2013ba4de4
fix: 补全 ComponentPropsMap 与 Vxe 表格表单链路的类型
2026-04-13 17:52:15 +08:00
dullathanol
064a6a20f0
feat: 表单 Schema 支持组件 Props 映射泛型,同步适配VxeGrid
2026-04-13 17:52:14 +08:00
xingyu4j
c693c854a7
fix: extension-document
2026-04-13 17:52:13 +08:00
xingyu4j
5eca357a5c
feat(@vben/plugins): add tiptap rich text editor
2026-04-13 17:52:13 +08:00
Jin Mao
282a102826
chore: fix lint
2026-03-25 17:31:33 +08:00
Jin Mao
417e6c2ade
chore: fix lint && typecheck
2026-03-25 16:33:41 +08:00
Jin Mao
87d1593a1f
refactor(effects): 扩展 echarts 类型定义并优化插件配置合并逻辑
...
- 添加 PieSeriesOption 和 RadarSeriesOption 到 echarts 类型定义
- 添加 LegendComponentOption 和 ToolboxComponentOption 组件选项
- 重构 providePluginsOptions 函数实现深合并逻辑
- 优化 vxe-table 初始化中的表单工厂优先级处理
- 调整 playground 中的 import 语句顺序和格式
2026-03-25 15:16:24 +08:00
Jin Mao
5c02057198
refactor(effects): 替换上下文创建逻辑为全局选项管理
...
- 移除 createContext 依赖并实现全局插件选项存储
- 添加 providePluginsOptions 函数用于提供插件配置
- 添加 injectPluginsOptions 函数用于注入插件配置
- 添加 resetPluginsOptions 函数用于重置插件配置
- 更新 package.json 导出配置添加主入口点定义
2026-03-25 14:42:40 +08:00
Jin Mao
a7ca7cdb9f
refactor(vxe-table): 重构 useTableForm 函数实现并优化初始化逻辑
...
- 将 useTableForm 从箭头函数改为普通函数声明
- 简化表单工厂函数的获取逻辑,支持上下文注入
- 移除初始化时的重复上下文注入代码
- 改进错误提示信息的准确性
- 调整代码结构以提高可读性和维护性
- 将 SetupVxeTable 接口中的 useVbenForm 字段改为可选参数
2026-03-25 14:42:31 +08:00
Jin Mao
79408d406d
feat: 添加插件模块导出
...
- 导出 types 模块
- 导出 plugins-context 模块
2026-03-25 13:33:12 +08:00
Jin Mao
e555f71bf8
feat(vxe-table): 集成表格插件并优化初始化配置
...
- 添加了完整的 vxe-table 插件功能实现
- 实现了插件上下文选项注入机制
- 重构了 useTableForm 工厂函数的初始化逻辑
- 支持通过参数或上下文注入 useVbenForm 函数
- 优化了组件导入和类型定义
- 添加了插件使用文档说明
- 移除了未使用的组件注释代码
- 统一了字符串引号格式为双引号
2026-03-25 13:32:21 +08:00
Jin Mao
4c320346c3
docs(motion): 添加 motion 插件文档
...
- 创建了 Motion 插件的 README.md 文件
- 添加了插件导出组件和类型的说明表格
- 提供了插件的基本使用示例代码
- 包含了 MotionOptions 和 MotionVariants 类型导入说明
2026-03-25 13:27:10 +08:00
Jin Mao
e5ec88169a
refactor: 重构 ECharts 插件类型定义和导出结构
...
- 将 ECOption 类型定义移至独立的 types.ts 文件
- 修改 echarts.ts 文件导入 ECOption 类型而不是定义
- 更新 index.ts 添加 types 导出
- 移除 echarts.ts 中冗余的类型导入和定义
- 添加完整的 README.md 文档说明插件使用方法
- 优化代码组织结构提高可维护性
2026-03-25 13:27:02 +08:00
Jin Mao
914711ae04
feat: 添加插件上下文和类型定义
...
- 创建了插件选项的 createContext 功能
- 定义了 VbenPluginsOptions 接口结构
- 添加了表单、模态框、消息和组件的插件选项接口
- 提供了插件选项的注入和提供功能
2026-03-25 13:25:19 +08:00
雪忆天堂
6b3506f128
feat: table 类型VxeTableGridColumns替代VxeTableGridOptions['columns']魔法值写法
2026-03-23 10:06:35 +08:00
雪忆天堂
5613dcef99
feat: table允许通过props动态变化data数据
2026-03-23 10:05:32 +08:00
xingyu
0c300d040c
fix: tailwindcss config ( #7693 )
...
* chore: update deps
* fix: tailwindcss config
* fix: lint
* fix: lint
* chore: update deps
2026-03-19 15:51:09 +08:00
xingyu
186914bcac
fix: vxe i18n ( #7675 )
...
* chore: engines node
* chore: update deps
* fix: oxlint
* chore: fix lint issues
* chore: update deps
* fix: vxe i18n
2026-03-16 18:24:28 +08:00
Jin Mao
e39a432210
Merge branch 'fork/caodachen/fix_useEcharts'
2026-03-15 03:50:21 +08:00
Jin Mao
a6a6efdf59
chore: release 5.7.0
...
- 更新 backend-mock 包版本
- 更新 web-antd 包版本
- 更新 web-antdv-next 包版本
- 更新 web-ele 包版本
- 更新 web-naive 包版本
- 更新 web-tdesign 包版本
- 更新 docs 包版本
- 更新 commitlint-config 包版本
- 更新 eslint-config 包版本
- 更新 oxfmt-config 包版本
- 更新 oxlint-config 包版本
- 更新 stylelint-config 包版本
- 更新 node-utils 包版本
- 更新 tsconfig 包版本
- 更新 vite-config 包版本
- 更新 @core/base/design 包版本
- 更新 @core/base/icons 包版本
- 更新 @core/base/shared 包版本
- 更新 @core/base/typings 包版本
- 更新 @core/composables 包版本
- 更新 @core/preferences 包版本
- 更新 @core/ui-kit/form-ui 包版本
- 更新 @core/ui-kit/layout-ui 包版本
- 更新 @core/ui-kit/menu-ui 包版本
- 更新 @core/ui-kit/popup-ui 包版本
- 更新 @core/ui-kit/shadcn-ui 包版本
- 更新 @core/ui-kit/tabs-ui 包版本
- 更新 constants 包版本
- 更新 access 包版本
- 更新 common-ui 包版本
- 更新 hooks 包版本
- 更新 layouts 包版本
- 更新 plugins 包版本
- 更新 request 包版本
- 更新 icons 包版本
- 更新 locales 包版本
- 更新 preferences 包版本
- 更新 stores 包版本
- 更新 styles 包版本
- 更新 types 包版本
- 更新 utils 包版本
- 更新 playground 包版本
- 更新 turbo-run 包版本
- 更新 vsh 包版本
- 更新根目录包版本
2026-03-14 09:14:23 +08:00
xingyu4j
de0181e0d9
fix: lint
2026-03-13 20:58:07 +08:00
xingyu4j
a850d426ef
chore: fix lint and typecheck issues
2026-03-13 20:57:52 +08:00
xingyu4j
e7fa87b301
chore: finalize oxlint migration config
2026-03-13 20:25:25 +08:00
cdc
107750971b
fix: fix useEcharts
2026-03-10 21:48:33 +08:00
xingyu
a4736a49f8
feat: migrate to Tailwind CSS v4 ( #7614 )
...
* chore: update deps
* feat: use jsonc/x language
* chore: update eslint 10.0
* fix: no-useless-assignment
* feat: add CLAUDE.md
* chore: ignore
* feat: claude
* fix: lint
* chore: suppot eslint v10
* fix: lint
* fix: lint
* fix: type check
* fix: unit test
* fix: Suggested fix
* fix: unit test
* chore: update stylelint v17
* chore: update all major deps
* fix: echarts console warn
* chore: update vitest v4
* feat: add skills ignores
* chore: update deps
* chore: update deps
* fix: cspell
* chore: update deps
* chore: update tailwindcss v4
* chore: remove postcss config
* fix: no use catalog
* chore: tailwind v4 config
* fix: tailwindcss v4 sort
* feat: use eslint-plugin-better-tailwindcss
* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier
* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier
* fix(lint): resolve prettier and better-tailwindcss formatting conflicts
* fix(tailwind): update theme references and lint sources
* style(format): normalize apps docs and playground vue files
* style(format): normalize core ui-kit components
* style(format): normalize effects ui and layout components
2026-03-10 05:08:45 +08:00
ming4762
45b843f344
fix: fix bug where `renderEcharts` gets stuck in a dead loop ( #7561 )
...
* 触发条件:echart所在页面开启keepalive 在其他页面切换颜色模式
2026-02-26 06:21:08 +08:00
Jin Mao
e6f6e5464a
Merge branch 'main' into main
2026-02-10 12:08:16 +08:00
Aliner
7d04b600fb
fix: correct updateDate to updateData in the echarts hook ( #7538 )
...
* fix(@vben/plugins): Fixed the misspelling of the data update method name in the echarts hook
Correct updateDate to updateData, ensuring that the API method name is correct and consistent
* Revert "fix(@vben/plugins): Fixed the misspelling of the data update method name in the echarts hook"
This reverts commit 86d679cf25631bd1abd56d4f971e6db3a9b9d6d5.
* fix(@vben/plugins): fixed the misspelling of the data update method name in the echarts hook
Correct updateDate to updateData, ensuring that the API method name is correct and consistent
2026-02-10 11:19:45 +08:00
zouawen
893f74dc3e
fix: 优化横向布局时菜单激活或聚焦时背景色,标签工具栏新增刷新按钮,其他样式优化
2026-02-09 16:32:02 +08:00
Jin Mao
8a215fbcc7
chore: release 5.6.0
2026-02-09 05:09:57 +08:00