XuZhiqiang
|
70aed10752
|
fix(@vben/web-antdv-next): 在web-antdv-next,表单适配器只有TextArea,没有Textarea
|
2026-06-04 16:42:46 +08:00 |
XuZhiqiang
|
03f167b7d0
|
fix(web-antdv-next): sync remaining upstream fixes
|
2026-06-04 16:22:52 +08:00 |
YunaiV
|
0ec301cfb3
|
refactor: 统一确认弹窗调用并优化开发代理配置
|
2026-05-28 23:22:44 +08:00 |
XuZhiqiang
|
0d7d7aea73
|
fix(@vben/web-antdv-next): 补充废弃 API 修复,补充缺失的组件导入
- 补充 TabPane 组件导入(约 48 个文件)
- 补充 TimelineItem 组件导入(3 个文件)
- Tabs tab-position → tab-placement,left → start
- Steps.Step 子组件 → items 数组模式
- TimelineItem #dot slot → #icon slot
- adapter Modal destroyOnClose → destroyOnHidden
- adapter visibleEvent onVisibleChange → onOpenChange
|
2026-05-17 11:03:47 +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 |