Commit Graph

23 Commits (71627271d027193fd9c5db2eeaeca531d0799418)

Author SHA1 Message Date
jason d78476ed84 Merge remote-tracking branch 'yudao/master' 2026-06-19 22:01:57 +08:00
jason d923a70cb4 fix: [bpm] simple 设计器导入问题修复 2026-06-19 21:30:27 +08:00
XuZhiqiang c20eb8e1f4 refactor(@vben/web-antdv-next): migrate SelectOption usages to options and optionRender
Replace remaining SelectOption children with Select options across form-create, BPM, IoT, MES, WMS, Mall, and infra pages.

Use optionRender for custom option content and update the sync skill with Select slot migration guidance.
2026-06-18 23:17:32 +08:00
XuZhiqiang 456a91dfc2 refactor(@vben/web-antdv-next): migrate plain SelectOption usages to options API
Replace simple label/value SelectOption children with Select options across BPM, IoT, AI, MP, Mall, codegen, and demo pages.

Keep custom option markup cases unchanged.
2026-06-18 23:16:30 +08:00
XuZhiqiang d8c8775af2 fix(@vben/web-antdv-next): 修复FormItem rules为数组形式 2026-06-18 16:22:02 +08:00
XuZhiqiang af681338c7 fix(@vben/web-antdv-next): 添加 SelectOption、RadioButton、RadioGroup 和 FormItem 组件导入 2026-06-18 16:01:05 +08:00
XuZhiqiang 409af6b39c fix(@vben/web-antdv-next): 添加 CollapsePanel 组件导入 2026-06-18 15:05:08 +08:00
xingyu4j c376a60e83 fix: lint 2026-06-07 12:52:18 +08:00
XuZhiqiang 7bc60c481a fix(web-antdv-next): 统一 Popover 和 Tooltip trigger 数组写法 2026-06-06 22:56:31 +08:00
XuZhiqiang b02d602a21 fix(web-antdv-next): 统一 Collapse 面板和表格插槽写法 2026-06-06 20:56:57 +08:00
XuZhiqiang 2aa2c8676f fix(web-antdv-next): 统一日期范围和分组组件引用方式 2026-06-06 12:32:49 +08:00
XuZhiqiang d7b23d67ce fix(web-antdv-next): 使用 SpaceCompact 替换组合组件写法 2026-06-06 12:27:40 +08:00
XuZhiqiang b8d992f828 fix(web-antdv-next): 替换 Button 和 Input 组合组件写法 2026-06-06 12:17:02 +08:00
XuZhiqiang e046050ef0 fix(web-antdv-next): sync BPM timeout duration format 2026-06-06 07:35:49 +08:00
XuZhiqiang 615749daf1 chore: 保证和上游Vben-admin的框架依赖一致性 2026-06-06 06:53:11 +08:00
XuZhiqiang 03f167b7d0 fix(web-antdv-next): sync remaining upstream fixes 2026-06-04 16:22:52 +08:00
jason 8146ebde8c Merge remote-tracking branch 'yudao/master' 2026-06-04 12:42:27 +08:00
jason b91268923f fix: [bpm] 超时时间天的格式问题修复 2026-06-04 12:40:51 +08:00
芋道源码 72aac700ff
!353 fix(bpm): clean up BPMN viewer resize observer
Merge pull request !353 from 芋道源码/dev
2026-05-31 13:50:10 +00:00
YunaiV d646a23f7d fix(bpm): clean up BPMN viewer resize observer 2026-05-23 21:48:01 +08:00
XuZhiqiang 6cbbe88902 fix(@vben/web-antdv-next): 修复 antdv-next 废弃 API,迁移至新版本接口
将 ant-design-vue 旧版 API 统一迁移为 antdv-next 新版规范:
- Modal: destroy-on-close → destroy-on-hidden
- Card: :bordered="false" → variant="borderless",bodyStyle/headStyle → styles
- Popover: overlay-style → styles.root
- Divider: type → orientation
- Space: direction → orientation
- Alert: message → title
- Spin: tip → description
- Table: customRender → render
- notification: message → title
- Image preview: visible/onVisibleChange → open/onOpenChange
- adapter: visibleEvent onVisibleChange → onOpenChange
2026-05-16 13:35:20 +08:00
XuZhiqiang 40f0ba71f5 feat(@vben/web-antdv-next): migrate ant-design-vue to antdv-next
Migration Summary: ant-design-vue → antdv-next
Core Changes
package.json - Replaced "ant-design-vue": "catalog:" with "antdv-next": "catalog:"

bootstrap.ts - Changed @vben/styles/antd to @vben/styles/antdv-next

adapter/component/index.ts - Major rewrite:

Removed dynamic defineAsyncComponent imports from ant-design-vue/es/...
Added static imports from antdv-next main entry
Renamed RangePicker → DateRangePicker, Textarea → TextArea
Defined local types for Rule, Locale, UploadRequestOption, FileType, Key
Bulk Import Replacements (100+ files)
from ant-design-vue → from antdv-next
from ant-design-vue/es/locale/... → from antdv-next/locale/...
from ant-design-vue/es/... → removed (use main entry)
from ant-design-vue/lib/... → removed (use main entry)
Component API Differences Handled
ant-design-vue	antdv-next	Files affected
Form.Item	FormItem	475 references
Tabs.TabPane	TabPane	240 references
Select.Option	SelectOption	151 references
Descriptions.Item	DescriptionsItem	2 references
Timeline.Item	TimelineItem	2 references
Radio.Group	RadioGroup	20 references
Collapse.Panel	CollapsePanel	9 references
Layout.Content/Sider/Header/Footer	LayoutContent/LayoutSider/...	14 references
Dropdown#overlay slot	Dropdown#popupRender	6 references
RangePicker	DateRangePicker	15+ references
Textarea	TextArea	37 references
ButtonGroup	Space (fallback)	12 references
Known Issues (requires manual attention)
List component - Not available in antdv-next. 4 files have TODO comments where List/List.Item/List.Item.Meta are used
@form-create/ant-design-vue - Kept as-is (compatible with antdv-next at runtime)
Type errors - ~366 type errors remain (vs 189 in web-antd), mostly pre-existing business logic issues and minor API differences
2026-05-12 15:30:08 +08:00
XuZhiqiang 0fced45a9c refactor(@vben/web-antdv-next): 根据web-antd初始化web-antdv-next 2026-05-12 12:14:32 +08:00