From 40f0ba71f568316b52b6cb7d810df11f3ec29bfa Mon Sep 17 00:00:00 2001 From: XuZhiqiang Date: Tue, 12 May 2026 15:30:08 +0800 Subject: [PATCH] feat(@vben/web-antdv-next): migrate ant-design-vue to antdv-next MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/web-antdv-next/package.json | 2 +- .../src/adapter/component/index.ts | 116 ++-- apps/web-antdv-next/src/adapter/vxe-table.ts | 2 +- apps/web-antdv-next/src/api/request.ts | 2 +- apps/web-antdv-next/src/app.vue | 2 +- apps/web-antdv-next/src/bootstrap.ts | 2 +- .../src/components/cron-tab/cron-tab.vue | 186 +++--- .../src/components/cropper/cropper-avatar.vue | 2 +- .../src/components/cropper/cropper-modal.vue | 9 +- .../src/components/cropper/typing.ts | 2 +- .../components/description/description.vue | 8 +- .../src/components/description/typing.ts | 2 +- .../src/components/dict-tag/dict-tag.vue | 2 +- .../form-create/components/area-select.vue | 2 +- .../form-create/components/dept-select.vue | 2 +- .../form-create/components/dict-select.vue | 2 +- .../form-create/components/use-api-select.tsx | 2 +- .../src/components/map/src/map-dialog.vue | 10 +- .../markdown-view/markdown-view.vue | 2 +- .../components/operate-log/operate-log.vue | 6 +- .../shortcut-date-range-picker.vue | 4 +- .../components/table-action/table-action.vue | 11 +- .../src/components/table-action/typing.ts | 6 +- .../src/components/tinymce/img-upload.vue | 6 +- .../src/components/upload/file-upload.vue | 7 +- .../src/components/upload/image-upload.vue | 7 +- .../src/components/upload/input-upload.vue | 6 +- apps/web-antdv-next/src/layouts/basic.vue | 2 +- apps/web-antdv-next/src/locales/index.ts | 8 +- .../src/plugins/form-create/index.ts | 2 +- apps/web-antdv-next/src/router/guard.ts | 2 +- apps/web-antdv-next/src/store/auth.ts | 2 +- apps/web-antdv-next/src/utils/useUpload.ts | 2 +- .../views/_core/authentication/code-login.vue | 2 +- .../_core/authentication/forget-password.vue | 2 +- .../src/views/_core/profile/base-setting.vue | 2 +- .../src/views/_core/profile/index.vue | 14 +- .../views/_core/profile/modules/base-info.vue | 2 +- .../_core/profile/modules/profile-user.vue | 2 +- .../views/_core/profile/modules/reset-pwd.vue | 2 +- .../_core/profile/modules/user-social.vue | 2 +- .../views/_core/profile/password-setting.vue | 2 +- .../src/views/ai/chat/index/data.ts | 2 +- .../src/views/ai/chat/index/index.vue | 14 +- .../chat/index/modules/conversation/list.vue | 6 +- .../modules/conversation/update-form.vue | 2 +- .../index/modules/message/file-upload.vue | 2 +- .../chat/index/modules/message/knowledge.vue | 2 +- .../ai/chat/index/modules/message/list.vue | 2 +- .../ai/chat/index/modules/message/loading.vue | 2 +- .../modules/message/new-conversation.vue | 2 +- .../chat/index/modules/role/category-list.vue | 2 +- .../views/ai/chat/index/modules/role/list.vue | 4 +- .../ai/chat/index/modules/role/repository.vue | 14 +- .../src/views/ai/chat/manager/index.vue | 10 +- .../manager/modules/conversation-list.vue | 2 +- .../ai/chat/manager/modules/message-list.vue | 2 +- .../src/views/ai/image/index/index.vue | 2 +- .../src/views/ai/image/index/modules/card.vue | 2 +- .../ai/image/index/modules/common/index.vue | 12 +- .../ai/image/index/modules/dall3/index.vue | 4 +- .../views/ai/image/index/modules/detail.vue | 2 +- .../src/views/ai/image/index/modules/list.vue | 2 +- .../image/index/modules/midjourney/index.vue | 15 +- .../index/modules/stable-diffusion/index.vue | 18 +- .../src/views/ai/image/manager/index.vue | 2 +- .../src/views/ai/image/square/index.vue | 2 +- .../src/views/ai/knowledge/document/data.ts | 2 +- .../ai/knowledge/document/form/index.vue | 2 +- .../document/form/modules/process-step.vue | 2 +- .../document/form/modules/split-step.vue | 8 +- .../document/form/modules/upload-step.vue | 15 +- .../src/views/ai/knowledge/document/index.vue | 2 +- .../src/views/ai/knowledge/knowledge/data.ts | 2 +- .../views/ai/knowledge/knowledge/index.vue | 2 +- .../ai/knowledge/knowledge/modules/form.vue | 2 +- .../knowledge/knowledge/retrieval/index.vue | 6 +- .../src/views/ai/knowledge/segment/data.ts | 2 +- .../src/views/ai/knowledge/segment/index.vue | 2 +- .../ai/knowledge/segment/modules/form.vue | 2 +- .../src/views/ai/mindmap/index/index.vue | 2 +- .../views/ai/mindmap/index/modules/left.vue | 6 +- .../views/ai/mindmap/index/modules/right.vue | 2 +- .../src/views/ai/mindmap/manager/index.vue | 2 +- .../src/views/ai/model/apiKey/index.vue | 2 +- .../views/ai/model/apiKey/modules/form.vue | 2 +- .../src/views/ai/model/chatRole/data.ts | 4 +- .../src/views/ai/model/chatRole/index.vue | 2 +- .../views/ai/model/chatRole/modules/form.vue | 2 +- .../src/views/ai/model/model/index.vue | 2 +- .../src/views/ai/model/model/modules/form.vue | 2 +- .../src/views/ai/model/tool/data.ts | 2 +- .../src/views/ai/model/tool/index.vue | 2 +- .../src/views/ai/model/tool/modules/form.vue | 2 +- .../ai/music/index/list/audioBar/index.vue | 2 +- .../src/views/ai/music/index/list/index.vue | 2 +- .../ai/music/index/list/songCard/index.vue | 2 +- .../ai/music/index/list/songInfo/index.vue | 2 +- .../src/views/ai/music/index/mode/desc.vue | 8 +- .../src/views/ai/music/index/mode/index.vue | 10 +- .../src/views/ai/music/index/mode/lyric.vue | 10 +- .../src/views/ai/music/manager/index.vue | 2 +- .../src/views/ai/workflow/form/index.vue | 2 +- .../ai/workflow/form/modules/basic-info.vue | 25 +- .../workflow/form/modules/workflow-design.vue | 6 +- .../src/views/ai/workflow/index.vue | 2 +- .../src/views/ai/write/index/index.vue | 2 +- .../src/views/ai/write/index/modules/left.vue | 8 +- .../views/ai/write/index/modules/right.vue | 4 +- .../src/views/ai/write/manager/index.vue | 2 +- .../src/views/bpm/category/data.ts | 2 +- .../src/views/bpm/category/index.vue | 2 +- .../src/views/bpm/category/modules/form.vue | 2 +- .../bpm/category/modules/rename-form.vue | 2 +- .../package/designer/ProcessDesigner.vue | 18 +- .../package/designer/ProcessViewer.vue | 6 +- .../package/palette/ProcessPalette.vue | 2 +- .../package/penal/PropertiesPanel.vue | 4 +- .../package/penal/base/ElementBaseInfo.vue | 2 +- .../components/BoundaryEventTimer.vue | 2 +- .../components/UserTaskCustomConfig.vue | 31 +- .../penal/flow-condition/FlowCondition.vue | 20 +- .../package/penal/form/ElementForm.vue | 8 +- .../penal/listeners/ElementListeners.vue | 2 +- .../penal/listeners/ListenerFieldModal.vue | 2 +- .../penal/listeners/UserTaskListeners.vue | 2 +- .../multi-instance/ElementMultiInstance.vue | 12 +- .../penal/other/ElementOtherConfig.vue | 4 +- .../penal/properties/ElementProperties.vue | 2 +- .../penal/signal-message/SignalAndMessage.vue | 2 +- .../signal-message/SignalMessageModal.vue | 2 +- .../package/penal/task/ElementTask.vue | 2 +- .../task/task-components/CallActivity.vue | 2 +- .../task/task-components/HttpHeaderEditor.vue | 2 +- .../task/task-components/ReceiveTask.vue | 2 +- .../penal/task/task-components/ScriptTask.vue | 6 +- .../task/task-components/ServiceTask.vue | 6 +- .../penal/task/task-components/UserTask.vue | 8 +- .../penal/time-event-config/CycleConfig.vue | 17 +- .../time-event-config/DurationConfig.vue | 6 +- .../time-event-config/TimeEventConfig.vue | 6 +- .../child-process-node-config.vue | 5 +- .../nodes-config/condition-node-config.vue | 2 +- .../nodes-config/copy-task-node-config.vue | 10 +- .../nodes-config/delay-timer-node-config.vue | 5 +- .../nodes-config/modules/condition-dialog.vue | 2 +- .../nodes-config/modules/condition.vue | 9 +- .../modules/http-request-param-setting.vue | 2 +- .../modules/http-request-setting.vue | 2 +- .../modules/user-task-listener.vue | 2 +- .../nodes-config/router-node-config.vue | 2 +- .../nodes-config/start-user-node-config.vue | 2 +- .../nodes-config/trigger-node-config.vue | 6 +- .../nodes-config/user-task-node-config.vue | 11 +- .../components/nodes/child-process-node.vue | 2 +- .../components/nodes/copy-task-node.vue | 2 +- .../components/nodes/delay-timer-node.vue | 2 +- .../components/nodes/exclusive-node.vue | 2 +- .../components/nodes/inclusive-node.vue | 2 +- .../components/nodes/node-handler.vue | 2 +- .../components/nodes/parallel-node.vue | 2 +- .../components/nodes/router-node.vue | 2 +- .../components/nodes/start-user-node.vue | 2 +- .../components/nodes/trigger-node.vue | 2 +- .../components/nodes/user-task-node.vue | 2 +- .../components/simple-process-designer.vue | 2 +- .../components/simple-process-model.vue | 6 +- .../src/views/bpm/form/designer/data.ts | 2 +- .../src/views/bpm/form/designer/index.vue | 2 +- .../views/bpm/form/designer/modules/form.vue | 2 +- .../src/views/bpm/form/index.vue | 2 +- .../src/views/bpm/form/mobile/index.vue | 2 +- .../src/views/bpm/group/data.ts | 4 +- .../src/views/bpm/group/index.vue | 2 +- .../src/views/bpm/group/modules/form.vue | 2 +- .../src/views/bpm/model/definition/index.vue | 2 +- .../src/views/bpm/model/form/index.vue | 2 +- .../bpm/model/form/modules/basic-info.vue | 61 +- .../model/form/modules/bpm-model-editor.vue | 2 +- .../form/modules/custom-print-template.vue | 2 +- .../bpm/model/form/modules/extra-setting.vue | 2 +- .../bpm/model/form/modules/form-design.vue | 6 +- .../src/views/bpm/model/index.vue | 4 +- .../modules/category-draggable-model.vue | 10 +- .../src/views/bpm/oa/leave/create.vue | 2 +- .../src/views/bpm/oa/leave/data.ts | 2 +- .../src/views/bpm/oa/leave/detail.vue | 2 +- .../src/views/bpm/oa/leave/index.vue | 4 +- .../src/views/bpm/processExpression/data.ts | 2 +- .../src/views/bpm/processExpression/index.vue | 2 +- .../bpm/processExpression/modules/form.vue | 2 +- .../bpm/processInstance/create/index.vue | 6 +- .../processInstance/create/modules/form.vue | 10 +- .../bpm/processInstance/detail/index.vue | 2 +- .../detail/modules/operation-button.vue | 26 +- .../detail/modules/process-print.vue | 2 +- .../detail/modules/signature.vue | 2 +- .../detail/modules/task-list.vue | 2 +- .../detail/modules/time-line.vue | 6 +- .../src/views/bpm/processInstance/index.vue | 4 +- .../bpm/processInstance/manager/index.vue | 4 +- .../bpm/processInstance/report/index.vue | 4 +- .../src/views/bpm/processListener/index.vue | 2 +- .../bpm/processListener/modules/form.vue | 2 +- .../src/views/bpm/task/done/index.vue | 2 +- .../src/views/crm/backlog/index.vue | 3 +- .../crm/backlog/modules/clue-follow-list.vue | 2 +- .../backlog/modules/contract-audit-list.vue | 2 +- .../backlog/modules/contract-remind-list.vue | 2 +- .../backlog/modules/customer-follow-list.vue | 2 +- .../modules/customer-put-pool-remind-list.vue | 2 +- .../modules/customer-today-contact-list.vue | 2 +- .../backlog/modules/receivable-audit-list.vue | 2 +- .../modules/receivable-plan-remind-list.vue | 2 +- .../business/components/detail-list-modal.vue | 2 +- .../crm/business/components/detail-list.vue | 2 +- .../src/views/crm/business/detail/index.vue | 30 +- .../crm/business/detail/modules/info.vue | 2 +- .../business/detail/modules/status-form.vue | 2 +- .../src/views/crm/business/index.vue | 8 +- .../src/views/crm/business/modules/form.vue | 2 +- .../src/views/crm/business/status/index.vue | 2 +- .../crm/business/status/modules/form.vue | 2 +- .../web-antdv-next/src/views/crm/clue/data.ts | 2 +- .../src/views/crm/clue/detail/index.vue | 18 +- .../views/crm/clue/detail/modules/info.vue | 2 +- .../src/views/crm/clue/index.vue | 8 +- .../src/views/crm/clue/modules/form.vue | 2 +- .../contact/components/detail-list-modal.vue | 2 +- .../crm/contact/components/detail-list.vue | 2 +- .../src/views/crm/contact/data.ts | 2 +- .../src/views/crm/contact/detail/index.vue | 22 +- .../views/crm/contact/detail/modules/info.vue | 2 +- .../src/views/crm/contact/index.vue | 8 +- .../src/views/crm/contact/modules/form.vue | 2 +- .../crm/contract/components/detail-list.vue | 2 +- .../src/views/crm/contract/config/index.vue | 2 +- .../src/views/crm/contract/data.ts | 2 +- .../src/views/crm/contract/detail/index.vue | 26 +- .../crm/contract/detail/modules/info.vue | 2 +- .../src/views/crm/contract/index.vue | 8 +- .../src/views/crm/contract/modules/form.vue | 2 +- .../src/views/crm/customer/data.ts | 2 +- .../src/views/crm/customer/detail/index.vue | 34 +- .../detail/modules/distribute-form.vue | 2 +- .../crm/customer/detail/modules/info.vue | 2 +- .../src/views/crm/customer/index.vue | 8 +- .../views/crm/customer/limitConfig/index.vue | 6 +- .../crm/customer/limitConfig/modules/form.vue | 2 +- .../src/views/crm/customer/modules/form.vue | 2 +- .../crm/customer/modules/import-form.vue | 6 +- .../src/views/crm/customer/pool/index.vue | 2 +- .../views/crm/customer/poolConfig/index.vue | 2 +- .../src/views/crm/followup/data.ts | 2 +- .../src/views/crm/followup/index.vue | 2 +- .../src/views/crm/followup/modules/form.vue | 2 +- .../src/views/crm/permission/modules/form.vue | 2 +- .../src/views/crm/permission/modules/list.vue | 2 +- .../crm/permission/modules/transfer-form.vue | 2 +- .../src/views/crm/product/category/index.vue | 2 +- .../crm/product/category/modules/form.vue | 2 +- .../crm/product/components/edit-table.vue | 2 +- .../src/views/crm/product/data.ts | 2 +- .../src/views/crm/product/detail/index.vue | 10 +- .../src/views/crm/product/index.vue | 2 +- .../src/views/crm/product/modules/form.vue | 2 +- .../crm/receivable/components/detail-list.vue | 2 +- .../src/views/crm/receivable/data.ts | 2 +- .../src/views/crm/receivable/detail/index.vue | 14 +- .../crm/receivable/detail/modules/info.vue | 2 +- .../src/views/crm/receivable/index.vue | 8 +- .../src/views/crm/receivable/modules/form.vue | 2 +- .../plan/components/detail-list.vue | 2 +- .../src/views/crm/receivable/plan/data.ts | 2 +- .../crm/receivable/plan/detail/index.vue | 14 +- .../receivable/plan/detail/modules/info.vue | 2 +- .../src/views/crm/receivable/plan/index.vue | 6 +- .../crm/receivable/plan/modules/form.vue | 2 +- .../views/crm/statistics/customer/index.vue | 4 +- .../src/views/crm/statistics/funnel/index.vue | 8 +- .../crm/statistics/performance/index.vue | 4 +- .../views/crm/statistics/portrait/index.vue | 4 +- .../src/views/crm/statistics/rank/index.vue | 4 +- .../src/views/erp/finance/account/data.ts | 2 +- .../src/views/erp/finance/account/index.vue | 2 +- .../erp/finance/account/modules/form.vue | 2 +- .../src/views/erp/finance/payment/data.ts | 2 +- .../src/views/erp/finance/payment/index.vue | 2 +- .../erp/finance/payment/modules/form.vue | 2 +- .../erp/finance/payment/modules/item-form.vue | 2 +- .../payment/modules/purchase-in-select.vue | 2 +- .../payment/modules/sale-return-select.vue | 2 +- .../src/views/erp/finance/receipt/data.ts | 2 +- .../src/views/erp/finance/receipt/index.vue | 2 +- .../erp/finance/receipt/modules/form.vue | 2 +- .../erp/finance/receipt/modules/item-form.vue | 2 +- .../receipt/modules/sale-out-select.vue | 2 +- .../receipt/modules/sale-return-select.vue | 2 +- .../src/views/erp/home/index.vue | 2 +- .../erp/home/modules/time-summary-chart.vue | 2 +- .../src/views/erp/product/category/index.vue | 2 +- .../erp/product/category/modules/form.vue | 2 +- .../src/views/erp/product/product/data.ts | 2 +- .../src/views/erp/product/product/index.vue | 2 +- .../erp/product/product/modules/form.vue | 2 +- .../src/views/erp/product/unit/index.vue | 2 +- .../views/erp/product/unit/modules/form.vue | 2 +- .../src/views/erp/purchase/in/data.ts | 2 +- .../src/views/erp/purchase/in/index.vue | 2 +- .../views/erp/purchase/in/modules/form.vue | 2 +- .../erp/purchase/in/modules/item-form.vue | 2 +- .../in/modules/purchase-order-select.vue | 2 +- .../src/views/erp/purchase/order/data.ts | 2 +- .../src/views/erp/purchase/order/index.vue | 2 +- .../views/erp/purchase/order/modules/form.vue | 2 +- .../erp/purchase/order/modules/item-form.vue | 2 +- .../src/views/erp/purchase/return/data.ts | 2 +- .../src/views/erp/purchase/return/index.vue | 2 +- .../erp/purchase/return/modules/form.vue | 2 +- .../erp/purchase/return/modules/item-form.vue | 2 +- .../return/modules/purchase-order-select.vue | 2 +- .../src/views/erp/purchase/supplier/data.ts | 2 +- .../src/views/erp/purchase/supplier/index.vue | 2 +- .../erp/purchase/supplier/modules/form.vue | 2 +- .../src/views/erp/sale/customer/data.ts | 2 +- .../src/views/erp/sale/customer/index.vue | 2 +- .../views/erp/sale/customer/modules/form.vue | 2 +- .../src/views/erp/sale/order/data.ts | 2 +- .../src/views/erp/sale/order/index.vue | 2 +- .../src/views/erp/sale/order/modules/form.vue | 2 +- .../erp/sale/order/modules/item-form.vue | 2 +- .../src/views/erp/sale/out/data.ts | 2 +- .../src/views/erp/sale/out/index.vue | 2 +- .../src/views/erp/sale/out/modules/form.vue | 2 +- .../views/erp/sale/out/modules/item-form.vue | 2 +- .../sale/out/modules/sale-order-select.vue | 2 +- .../src/views/erp/sale/return/data.ts | 2 +- .../src/views/erp/sale/return/index.vue | 2 +- .../views/erp/sale/return/modules/form.vue | 2 +- .../erp/sale/return/modules/item-form.vue | 2 +- .../sale/return/modules/sale-order-select.vue | 2 +- .../src/views/erp/stock/check/data.ts | 2 +- .../src/views/erp/stock/check/index.vue | 2 +- .../views/erp/stock/check/modules/form.vue | 2 +- .../erp/stock/check/modules/item-form.vue | 2 +- .../src/views/erp/stock/in/data.ts | 2 +- .../src/views/erp/stock/in/index.vue | 2 +- .../src/views/erp/stock/in/modules/form.vue | 2 +- .../views/erp/stock/in/modules/item-form.vue | 2 +- .../src/views/erp/stock/move/data.ts | 2 +- .../src/views/erp/stock/move/index.vue | 2 +- .../src/views/erp/stock/move/modules/form.vue | 2 +- .../erp/stock/move/modules/item-form.vue | 2 +- .../src/views/erp/stock/out/data.ts | 2 +- .../src/views/erp/stock/out/index.vue | 2 +- .../src/views/erp/stock/out/modules/form.vue | 2 +- .../views/erp/stock/out/modules/item-form.vue | 2 +- .../src/views/erp/stock/warehouse/data.ts | 2 +- .../src/views/erp/stock/warehouse/index.vue | 2 +- .../erp/stock/warehouse/modules/form.vue | 2 +- .../src/views/infra/apiErrorLog/index.vue | 2 +- .../src/views/infra/build/index.vue | 2 +- .../src/views/infra/codegen/data.ts | 2 +- .../src/views/infra/codegen/edit/index.vue | 2 +- .../src/views/infra/codegen/index.vue | 2 +- .../infra/codegen/modules/column-info.vue | 18 +- .../infra/codegen/modules/import-table.vue | 2 +- .../infra/codegen/modules/preview-code.vue | 6 +- .../src/views/infra/config/data.ts | 2 +- .../src/views/infra/config/index.vue | 2 +- .../src/views/infra/config/modules/form.vue | 2 +- .../views/infra/dataSourceConfig/index.vue | 2 +- .../infra/dataSourceConfig/modules/form.vue | 2 +- .../src/views/infra/demo/demo01/index.vue | 2 +- .../views/infra/demo/demo01/modules/form.vue | 2 +- .../src/views/infra/demo/demo02/index.vue | 2 +- .../views/infra/demo/demo02/modules/form.vue | 2 +- .../src/views/infra/demo/demo03/erp/index.vue | 10 +- .../demo03/erp/modules/demo03-course-form.vue | 2 +- .../demo03/erp/modules/demo03-course-list.vue | 2 +- .../demo03/erp/modules/demo03-grade-form.vue | 2 +- .../demo03/erp/modules/demo03-grade-list.vue | 2 +- .../infra/demo/demo03/erp/modules/form.vue | 2 +- .../views/infra/demo/demo03/inner/index.vue | 10 +- .../inner/modules/demo03-course-form.vue | 2 +- .../infra/demo/demo03/inner/modules/form.vue | 10 +- .../views/infra/demo/demo03/normal/index.vue | 2 +- .../normal/modules/demo03-course-form.vue | 2 +- .../infra/demo/demo03/normal/modules/form.vue | 10 +- .../views/infra/demo/general/demo01/index.vue | 24 +- .../demo/general/demo01/modules/form.vue | 25 +- .../views/infra/demo/general/demo02/index.vue | 20 +- .../demo/general/demo02/modules/form.vue | 13 +- .../infra/demo/general/demo03/erp/index.vue | 32 +- .../demo03/erp/modules/demo03-course-form.vue | 17 +- .../demo03/erp/modules/demo03-course-list.vue | 24 +- .../demo03/erp/modules/demo03-grade-form.vue | 17 +- .../demo03/erp/modules/demo03-grade-list.vue | 24 +- .../demo/general/demo03/erp/modules/form.vue | 21 +- .../infra/demo/general/demo03/inner/index.vue | 32 +- .../inner/modules/demo03-course-form.vue | 2 +- .../inner/modules/demo03-grade-form.vue | 17 +- .../general/demo03/inner/modules/form.vue | 29 +- .../demo/general/demo03/normal/index.vue | 24 +- .../normal/modules/demo03-course-form.vue | 2 +- .../normal/modules/demo03-grade-form.vue | 17 +- .../general/demo03/normal/modules/form.vue | 29 +- .../src/views/infra/file/index.vue | 2 +- .../src/views/infra/file/modules/form.vue | 6 +- .../src/views/infra/fileConfig/data.ts | 2 +- .../src/views/infra/fileConfig/index.vue | 2 +- .../views/infra/fileConfig/modules/form.vue | 2 +- .../src/views/infra/job/data.ts | 4 +- .../src/views/infra/job/index.vue | 2 +- .../src/views/infra/job/modules/form.vue | 2 +- .../src/views/infra/redis/index.vue | 2 +- .../src/views/infra/webSocket/index.vue | 10 +- .../src/views/iot/alert/config/data.ts | 2 +- .../src/views/iot/alert/config/index.vue | 2 +- .../iot/alert/modules/alert-config-form.vue | 2 +- .../src/views/iot/alert/record/index.vue | 2 +- .../views/iot/device/device/detail/index.vue | 30 +- .../device/device/detail/modules/config.vue | 4 +- .../device/device/detail/modules/header.vue | 10 +- .../iot/device/device/detail/modules/info.vue | 62 +- .../device/device/detail/modules/message.vue | 10 +- .../detail/modules/modbus-config-form.vue | 2 +- .../device/detail/modules/modbus-config.vue | 2 +- .../detail/modules/modbus-point-form.vue | 2 +- .../device/detail/modules/simulator.vue | 38 +- .../device/detail/modules/sub-device.vue | 2 +- .../detail/modules/thing-model-event.vue | 8 +- .../modules/thing-model-property-history.vue | 6 +- .../detail/modules/thing-model-property.vue | 6 +- .../detail/modules/thing-model-service.vue | 8 +- .../device/detail/modules/thing-model.vue | 14 +- .../src/views/iot/device/device/index.vue | 26 +- .../iot/device/device/modules/card-view.vue | 2 +- .../views/iot/device/device/modules/form.vue | 6 +- .../iot/device/device/modules/group-form.vue | 2 +- .../iot/device/device/modules/import-form.vue | 6 +- .../src/views/iot/device/group/data.ts | 2 +- .../src/views/iot/device/group/index.vue | 2 +- .../views/iot/device/group/modules/form.vue | 2 +- .../src/views/iot/home/index.vue | 2 +- .../iot/home/modules/device-count-card.vue | 2 +- .../iot/home/modules/device-map-card.vue | 2 +- .../home/modules/device-state-count-card.vue | 2 +- .../iot/home/modules/message-trend-card.vue | 2 +- apps/web-antdv-next/src/views/iot/ota/data.ts | 2 +- .../src/views/iot/ota/firmware/data.ts | 2 +- .../src/views/iot/ota/firmware/index.vue | 2 +- .../src/views/iot/ota/index.vue | 2 +- .../views/iot/ota/modules/detail/index.vue | 22 +- .../iot/ota/modules/firmware-detail/index.vue | 22 +- .../iot/ota/modules/ota-firmware-form.vue | 2 +- .../iot/ota/modules/task/ota-task-detail.vue | 32 +- .../iot/ota/modules/task/ota-task-form.vue | 18 +- .../iot/ota/modules/task/ota-task-list.vue | 4 +- .../src/views/iot/product/category/data.ts | 2 +- .../src/views/iot/product/category/index.vue | 2 +- .../iot/product/category/modules/form.vue | 2 +- .../iot/product/product/components/select.vue | 2 +- .../src/views/iot/product/product/data.ts | 4 +- .../iot/product/product/detail/index.vue | 10 +- .../product/product/detail/modules/header.vue | 10 +- .../product/product/detail/modules/info.vue | 46 +- .../src/views/iot/product/product/index.vue | 2 +- .../iot/product/product/modules/card-view.vue | 2 +- .../iot/product/product/modules/form.vue | 6 +- .../src/views/iot/rule/data/index.vue | 2 +- .../rule/components/source-config-form.vue | 18 +- .../iot/rule/data/rule/data-rule-form.vue | 2 +- .../src/views/iot/rule/data/rule/data.ts | 2 +- .../src/views/iot/rule/data/rule/index.vue | 2 +- .../config/components/key-value-editor.vue | 2 +- .../data/sink/config/http-config-form.vue | 2 +- .../data/sink/config/kafka-mq-config-form.vue | 2 +- .../data/sink/config/mqtt-config-form.vue | 2 +- .../sink/config/rabbit-mq-config-form.vue | 2 +- .../sink/config/redis-stream-config-form.vue | 2 +- .../sink/config/rocket-mq-config-form.vue | 2 +- .../iot/rule/data/sink/data-sink-form.vue | 2 +- .../src/views/iot/rule/data/sink/data.ts | 2 +- .../src/views/iot/rule/data/sink/index.vue | 2 +- .../src/views/iot/rule/scene/data.ts | 2 +- .../rule/scene/form/configs/alert-config.vue | 10 +- .../scene/form/configs/condition-config.vue | 40 +- .../configs/current-time-condition-config.vue | 26 +- .../form/configs/device-control-config.vue | 26 +- .../form/configs/device-trigger-config.vue | 2 +- .../configs/main-condition-inner-config.vue | 48 +- .../configs/sub-condition-group-config.vue | 2 +- .../scene/form/inputs/json-params-input.vue | 2 +- .../rule/scene/form/inputs/value-input.vue | 8 +- .../iot/rule/scene/form/rule-scene-form.vue | 2 +- .../scene/form/sections/action-section.vue | 8 +- .../form/sections/basic-info-section.vue | 18 +- .../scene/form/sections/trigger-section.vue | 6 +- .../scene/form/selectors/device-selector.vue | 6 +- .../form/selectors/operator-selector.vue | 6 +- .../scene/form/selectors/product-selector.vue | 6 +- .../form/selectors/property-selector.vue | 10 +- .../src/views/iot/rule/scene/index.vue | 2 +- .../src/views/iot/rule/scene/modules/form.vue | 2 +- .../src/views/iot/thingmodel/index.vue | 2 +- .../modules/components/data-definition.vue | 2 +- .../thing-model-array-data-specs.vue | 17 +- .../dataSpecs/thing-model-enum-data-specs.vue | 6 +- .../thing-model-number-data-specs.vue | 18 +- .../thing-model-struct-data-specs.vue | 14 +- .../thingmodel/modules/thing-model-event.vue | 14 +- .../thingmodel/modules/thing-model-form.vue | 26 +- .../thing-model-input-output-param.vue | 10 +- .../modules/thing-model-property.vue | 30 +- .../modules/thing-model-service.vue | 18 +- .../thingmodel/modules/thing-model-tsl.vue | 12 +- .../src/views/mall/home/index.vue | 2 +- .../mall/home/modules/comparison-card.vue | 2 +- .../home/modules/member-statistics-card.vue | 2 +- .../mall/home/modules/operation-data-card.vue | 2 +- .../views/mall/home/modules/shortcut-card.vue | 2 +- .../mall/home/modules/trade-trend-card.vue | 2 +- .../src/views/mall/product/brand/data.ts | 2 +- .../src/views/mall/product/brand/index.vue | 2 +- .../views/mall/product/brand/modules/form.vue | 2 +- .../product/category/components/select.vue | 2 +- .../src/views/mall/product/category/index.vue | 2 +- .../mall/product/category/modules/form.vue | 2 +- .../src/views/mall/product/comment/data.ts | 2 +- .../src/views/mall/product/comment/index.vue | 4 +- .../mall/product/comment/modules/form.vue | 2 +- .../src/views/mall/product/property/data.ts | 4 +- .../property/modules/property-form.vue | 2 +- .../property/modules/property-grid.vue | 2 +- .../product/property/modules/value-form.vue | 2 +- .../product/property/modules/value-grid.vue | 2 +- .../mall/product/spu/components/sku-list.vue | 2 +- .../spu/components/sku-table-select.vue | 2 +- .../spu/components/spu-and-sku-list.vue | 2 +- .../product/spu/components/spu-select.vue | 2 +- .../product/spu/components/spu-showcase.vue | 2 +- .../spu/components/spu-table-select.vue | 2 +- .../src/views/mall/product/spu/form/data.ts | 2 +- .../src/views/mall/product/spu/form/index.vue | 2 +- .../spu/form/modules/product-attributes.vue | 6 +- .../modules/product-property-add-form.vue | 2 +- .../src/views/mall/product/spu/index.vue | 4 +- .../mall/promotion/article/category/index.vue | 2 +- .../article/category/modules/form.vue | 2 +- .../views/mall/promotion/article/index.vue | 2 +- .../mall/promotion/article/modules/form.vue | 2 +- .../src/views/mall/promotion/banner/data.ts | 2 +- .../src/views/mall/promotion/banner/index.vue | 2 +- .../mall/promotion/banner/modules/form.vue | 2 +- .../mall/promotion/bargain/activity/index.vue | 2 +- .../bargain/activity/modules/form.vue | 2 +- .../promotion/combination/activity/index.vue | 2 +- .../combination/activity/modules/form.vue | 2 +- .../combination/components/showcase.vue | 2 +- .../components/app-link-input/index.vue | 2 +- .../app-link-input/select-dialog.vue | 2 +- .../components/color-input/index.vue | 2 +- .../component-container-property.vue | 2 +- .../components/component-container.vue | 8 +- .../components/component-library.vue | 6 +- .../components/mobile/carousel/index.vue | 2 +- .../components/mobile/carousel/property.vue | 2 +- .../mobile/coupon-card/property.vue | 2 +- .../components/mobile/divider/property.vue | 2 +- .../mobile/floating-action-button/index.vue | 2 +- .../floating-action-button/property.vue | 2 +- .../components/hot-zone-edit-dialog/index.vue | 2 +- .../components/mobile/hot-zone/index.vue | 2 +- .../components/mobile/hot-zone/property.vue | 2 +- .../components/mobile/image-bar/index.vue | 2 +- .../components/mobile/image-bar/property.vue | 2 +- .../components/mobile/magic-cube/index.vue | 2 +- .../components/mobile/magic-cube/property.vue | 2 +- .../components/mobile/menu-grid/index.vue | 2 +- .../components/mobile/menu-grid/property.vue | 2 +- .../components/mobile/menu-list/index.vue | 2 +- .../components/mobile/menu-list/property.vue | 2 +- .../components/mobile/menu-swiper/index.vue | 2 +- .../mobile/menu-swiper/property.vue | 9 +- .../components/cell-property.vue | 2 +- .../mobile/navigation-bar/property.vue | 2 +- .../components/mobile/notice-bar/index.vue | 2 +- .../components/mobile/notice-bar/property.vue | 2 +- .../mobile/page-config/property.vue | 4 +- .../components/mobile/popover/index.vue | 2 +- .../components/mobile/popover/property.vue | 2 +- .../components/mobile/product-card/index.vue | 2 +- .../mobile/product-card/property.vue | 2 +- .../components/mobile/product-list/index.vue | 2 +- .../mobile/product-list/property.vue | 2 +- .../mobile/promotion-article/property.vue | 2 +- .../mobile/promotion-combination/index.vue | 2 +- .../mobile/promotion-combination/property.vue | 2 +- .../mobile/promotion-point/index.vue | 2 +- .../mobile/promotion-point/property.vue | 2 +- .../mobile/promotion-seckill/index.vue | 2 +- .../mobile/promotion-seckill/property.vue | 2 +- .../components/mobile/search-bar/property.vue | 2 +- .../components/mobile/tab-bar/index.vue | 2 +- .../components/mobile/tab-bar/property.vue | 2 +- .../components/mobile/title-bar/index.vue | 2 +- .../components/mobile/title-bar/property.vue | 2 +- .../components/mobile/user-card/index.vue | 2 +- .../components/mobile/user-coupon/index.vue | 2 +- .../components/mobile/user-order/index.vue | 2 +- .../components/mobile/user-wallet/index.vue | 2 +- .../components/mobile/video-player/index.vue | 2 +- .../mobile/video-player/property.vue | 2 +- .../promotion/components/diy-editor/index.vue | 10 +- .../promotion/components/draggable/index.vue | 2 +- .../views/mall/promotion/components/index.ts | 2 +- .../components/input-with-color/index.vue | 2 +- .../vertical-button-group/index.vue | 4 +- .../promotion/coupon/components/select.vue | 2 +- .../promotion/coupon/components/send-form.vue | 2 +- .../src/views/mall/promotion/coupon/index.vue | 2 +- .../mall/promotion/coupon/template/data.ts | 2 +- .../mall/promotion/coupon/template/index.vue | 2 +- .../coupon/template/modules/form.vue | 2 +- .../mall/promotion/discountActivity/data.ts | 2 +- .../mall/promotion/discountActivity/index.vue | 2 +- .../discountActivity/modules/form.vue | 2 +- .../src/views/mall/promotion/diy/page/data.ts | 2 +- .../promotion/diy/page/decorate/index.vue | 2 +- .../views/mall/promotion/diy/page/index.vue | 2 +- .../mall/promotion/diy/page/modules/form.vue | 2 +- .../views/mall/promotion/diy/template/data.ts | 2 +- .../promotion/diy/template/decorate/index.vue | 6 +- .../mall/promotion/diy/template/index.vue | 2 +- .../promotion/diy/template/modules/form.vue | 2 +- .../src/views/mall/promotion/kefu/index.vue | 2 +- .../kefu/modules/conversation-list.vue | 2 +- .../kefu/modules/member/member-info.vue | 2 +- .../promotion/kefu/modules/message-list.vue | 4 +- .../kefu/modules/message/product-item.vue | 2 +- .../modules/tools/emoji-select-popover.vue | 3 +- .../modules/tools/picture-select-upload.vue | 2 +- .../mall/promotion/point/activity/data.ts | 2 +- .../mall/promotion/point/activity/index.vue | 2 +- .../promotion/point/activity/modules/form.vue | 2 +- .../promotion/point/components/showcase.vue | 2 +- .../mall/promotion/rewardActivity/data.ts | 2 +- .../mall/promotion/rewardActivity/index.vue | 2 +- .../promotion/rewardActivity/modules/form.vue | 2 +- .../modules/reward-rule-coupon-select.vue | 2 +- .../rewardActivity/modules/reward-rule.vue | 2 +- .../mall/promotion/seckill/activity/data.ts | 2 +- .../mall/promotion/seckill/activity/index.vue | 2 +- .../seckill/activity/modules/form.vue | 2 +- .../promotion/seckill/components/showcase.vue | 2 +- .../mall/promotion/seckill/config/index.vue | 2 +- .../promotion/seckill/config/modules/form.vue | 2 +- .../views/mall/statistics/member/index.vue | 2 +- .../statistics/member/modules/area-card.vue | 2 +- .../statistics/member/modules/funnel-card.vue | 2 +- .../statistics/member/modules/sex-card.vue | 2 +- .../member/modules/terminal-card.vue | 2 +- .../statistics/product/modules/rank-card.vue | 2 +- .../product/modules/summary-card.vue | 2 +- .../src/views/mall/statistics/trade/index.vue | 2 +- .../statistics/trade/modules/trend-card.vue | 2 +- .../src/views/mall/trade/afterSale/data.ts | 2 +- .../views/mall/trade/afterSale/detail/data.ts | 2 +- .../mall/trade/afterSale/detail/index.vue | 2 +- .../src/views/mall/trade/afterSale/index.vue | 4 +- .../trade/afterSale/modules/disagree-form.vue | 2 +- .../views/mall/trade/brokerage/user/index.vue | 2 +- .../brokerage/user/modules/create-form.vue | 2 +- .../brokerage/user/modules/update-form.vue | 2 +- .../mall/trade/brokerage/withdraw/index.vue | 2 +- .../src/views/mall/trade/config/index.vue | 8 +- .../mall/trade/delivery/express/index.vue | 2 +- .../trade/delivery/express/modules/form.vue | 2 +- .../trade/delivery/expressTemplate/index.vue | 2 +- .../modules/charge-item-form.vue | 2 +- .../delivery/expressTemplate/modules/form.vue | 2 +- .../modules/free-item-form.vue | 2 +- .../mall/trade/delivery/pickUpOrder/index.vue | 2 +- .../mall/trade/delivery/pickUpStore/data.ts | 2 +- .../mall/trade/delivery/pickUpStore/index.vue | 2 +- .../pickUpStore/modules/bind-form.vue | 2 +- .../delivery/pickUpStore/modules/form.vue | 2 +- .../views/mall/trade/order/detail/index.vue | 2 +- .../src/views/mall/trade/order/index.vue | 3 +- .../mall/trade/order/modules/address-form.vue | 2 +- .../trade/order/modules/delivery-form.vue | 2 +- .../mall/trade/order/modules/price-form.vue | 2 +- .../mall/trade/order/modules/remark-form.vue | 2 +- .../src/views/member/config/index.vue | 2 +- .../src/views/member/group/data.ts | 2 +- .../src/views/member/group/index.vue | 2 +- .../src/views/member/group/modules/form.vue | 2 +- .../src/views/member/level/index.vue | 2 +- .../src/views/member/level/modules/form.vue | 2 +- .../src/views/member/point/record/data.ts | 2 +- .../src/views/member/signin/config/index.vue | 2 +- .../member/signin/config/modules/form.vue | 2 +- .../src/views/member/signin/record/data.ts | 2 +- .../src/views/member/tag/index.vue | 2 +- .../src/views/member/tag/modules/form.vue | 2 +- .../src/views/member/user/data.ts | 6 +- .../src/views/member/user/detail/index.vue | 2 +- .../user/detail/modules/account-info.vue | 2 +- .../user/detail/modules/after-sale-list.vue | 8 +- .../member/user/detail/modules/basic-info.vue | 2 +- .../user/detail/modules/coupon-list.vue | 2 +- .../detail/modules/experience-record-list.vue | 2 +- .../member/user/detail/modules/order-list.vue | 3 +- .../member/user/modules/balance-form.vue | 2 +- .../src/views/member/user/modules/form.vue | 2 +- .../views/member/user/modules/level-form.vue | 2 +- .../views/member/user/modules/point-form.vue | 2 +- .../src/views/mp/account/data.ts | 2 +- .../src/views/mp/account/index.vue | 2 +- .../src/views/mp/account/modules/form.vue | 2 +- .../src/views/mp/autoReply/index.vue | 14 +- .../src/views/mp/autoReply/modules/form.vue | 2 +- .../wx-account-select/wx-account-select.vue | 8 +- .../mp/components/wx-location/wx-location.vue | 2 +- .../wx-material-select/wx-material-select.vue | 2 +- .../views/mp/components/wx-msg/msg-event.vue | 2 +- .../src/views/mp/components/wx-msg/wx-msg.vue | 2 +- .../views/mp/components/wx-music/wx-music.vue | 2 +- .../mp/components/wx-reply/tab-image.vue | 2 +- .../mp/components/wx-reply/tab-music.vue | 10 +- .../views/mp/components/wx-reply/tab-news.vue | 2 +- .../views/mp/components/wx-reply/tab-text.vue | 4 +- .../mp/components/wx-reply/tab-video.vue | 10 +- .../mp/components/wx-reply/tab-voice.vue | 2 +- .../views/mp/components/wx-reply/wx-reply.vue | 26 +- .../wx-video-play/wx-video-play.vue | 2 +- .../wx-voice-play/wx-voice-play.vue | 2 +- .../src/views/mp/draft/index.vue | 2 +- .../views/mp/draft/modules/cover-select.vue | 4 +- .../src/views/mp/draft/modules/form.vue | 2 +- .../src/views/mp/draft/modules/news-form.vue | 16 +- .../src/views/mp/freePublish/index.vue | 2 +- .../src/views/mp/hooks/useUpload.ts | 2 +- .../src/views/mp/material/index.vue | 14 +- .../views/mp/material/modules/UploadFile.vue | 4 +- .../views/mp/material/modules/UploadVideo.vue | 12 +- .../src/views/mp/material/modules/upload.ts | 2 +- .../src/views/mp/menu/index.vue | 2 +- .../src/views/mp/menu/modules/editor.vue | 14 +- .../src/views/mp/message/index.vue | 2 +- .../src/views/mp/messageTemplate/data.ts | 2 +- .../src/views/mp/messageTemplate/index.vue | 2 +- .../mp/messageTemplate/modules/send-form.vue | 2 +- .../src/views/mp/statistics/index.vue | 2 +- .../web-antdv-next/src/views/mp/tag/index.vue | 2 +- .../src/views/mp/tag/modules/form.vue | 2 +- apps/web-antdv-next/src/views/mp/user/data.ts | 2 +- .../src/views/mp/user/index.vue | 2 +- .../src/views/mp/user/modules/form.vue | 2 +- apps/web-antdv-next/src/views/pay/app/data.ts | 6 +- .../src/views/pay/app/index.vue | 2 +- .../src/views/pay/app/modules/app-form.vue | 2 +- .../views/pay/app/modules/channel-form.vue | 2 +- .../src/views/pay/cashier/index.vue | 33 +- .../src/views/pay/demo/order/index.vue | 2 +- .../src/views/pay/demo/order/modules/form.vue | 2 +- .../src/views/pay/demo/withdraw/index.vue | 2 +- .../views/pay/demo/withdraw/modules/form.vue | 2 +- .../src/views/pay/notify/index.vue | 2 +- .../src/views/pay/notify/modules/detail.vue | 2 +- .../src/views/pay/order/data.ts | 2 +- .../src/views/pay/order/index.vue | 2 +- .../src/views/pay/refund/data.ts | 2 +- .../src/views/pay/refund/index.vue | 2 +- .../src/views/pay/transfer/data.ts | 2 +- .../src/views/pay/transfer/index.vue | 2 +- .../pay/wallet/rechargePackage/index.vue | 2 +- .../wallet/rechargePackage/modules/form.vue | 2 +- .../src/views/system/area/modules/form.vue | 2 +- .../system/dept/components/select-modal.vue | 4 +- .../src/views/system/dept/index.vue | 2 +- .../src/views/system/dept/modules/form.vue | 2 +- .../src/views/system/dict/data.ts | 4 +- .../views/system/dict/modules/data-form.vue | 2 +- .../views/system/dict/modules/data-grid.vue | 2 +- .../views/system/dict/modules/type-form.vue | 2 +- .../views/system/dict/modules/type-grid.vue | 2 +- .../src/views/system/mail/account/data.ts | 2 +- .../src/views/system/mail/account/index.vue | 2 +- .../system/mail/account/modules/form.vue | 2 +- .../src/views/system/mail/template/index.vue | 2 +- .../system/mail/template/modules/form.vue | 2 +- .../mail/template/modules/send-form.vue | 2 +- .../src/views/system/menu/index.vue | 2 +- .../src/views/system/menu/modules/form.vue | 2 +- .../src/views/system/notice/data.ts | 2 +- .../src/views/system/notice/index.vue | 2 +- .../src/views/system/notice/modules/form.vue | 2 +- .../src/views/system/notify/my/index.vue | 2 +- .../src/views/system/notify/template/data.ts | 6 +- .../views/system/notify/template/index.vue | 2 +- .../system/notify/template/modules/form.vue | 2 +- .../notify/template/modules/send-form.vue | 2 +- .../src/views/system/oauth2/client/data.ts | 4 +- .../src/views/system/oauth2/client/index.vue | 2 +- .../system/oauth2/client/modules/form.vue | 2 +- .../src/views/system/oauth2/token/index.vue | 2 +- .../src/views/system/post/data.ts | 2 +- .../src/views/system/post/index.vue | 2 +- .../src/views/system/post/modules/form.vue | 2 +- .../src/views/system/role/data.ts | 2 +- .../src/views/system/role/index.vue | 2 +- .../modules/assign-data-permission-form.vue | 2 +- .../system/role/modules/assign-menu-form.vue | 2 +- .../src/views/system/role/modules/form.vue | 2 +- .../src/views/system/sms/channel/data.ts | 2 +- .../src/views/system/sms/channel/index.vue | 2 +- .../views/system/sms/channel/modules/form.vue | 2 +- .../src/views/system/sms/template/data.ts | 6 +- .../src/views/system/sms/template/index.vue | 2 +- .../system/sms/template/modules/form.vue | 2 +- .../system/sms/template/modules/send-form.vue | 2 +- .../src/views/system/social/client/index.vue | 2 +- .../system/social/client/modules/form.vue | 2 +- .../src/views/system/social/user/data.ts | 2 +- .../src/views/system/tenant/index.vue | 2 +- .../src/views/system/tenant/modules/form.vue | 2 +- .../src/views/system/tenantPackage/data.ts | 2 +- .../src/views/system/tenantPackage/index.vue | 2 +- .../system/tenantPackage/modules/form.vue | 2 +- .../system/user/components/select-modal.vue | 6 +- .../src/views/system/user/data.ts | 2 +- .../src/views/system/user/index.vue | 2 +- .../system/user/modules/assign-role-form.vue | 2 +- .../views/system/user/modules/dept-tree.vue | 2 +- .../src/views/system/user/modules/form.vue | 2 +- .../views/system/user/modules/import-form.vue | 6 +- .../user/modules/reset-password-form.vue | 2 +- pnpm-lock.yaml | 594 +++++++++++++++++- 840 files changed, 2562 insertions(+), 2096 deletions(-) diff --git a/apps/web-antdv-next/package.json b/apps/web-antdv-next/package.json index d894d64cb..4ccfbb787 100644 --- a/apps/web-antdv-next/package.json +++ b/apps/web-antdv-next/package.json @@ -46,7 +46,7 @@ "@videojs-player/vue": "catalog:", "@vueuse/core": "catalog:", "@vueuse/integrations": "catalog:", - "ant-design-vue": "catalog:", + "antdv-next": "catalog:", "benz-amr-recorder": "catalog:", "bpmn-js": "catalog:", "bpmn-js-properties-panel": "catalog:", diff --git a/apps/web-antdv-next/src/adapter/component/index.ts b/apps/web-antdv-next/src/adapter/component/index.ts index e2563bdd3..3565f964f 100644 --- a/apps/web-antdv-next/src/adapter/component/index.ts +++ b/apps/web-antdv-next/src/adapter/component/index.ts @@ -18,6 +18,7 @@ import type { MentionsProps, RadioGroupProps, RadioProps, + RangePickerProps, RateProps, SelectProps, SpaceProps, @@ -28,8 +29,7 @@ import type { UploadChangeParam, UploadFile, UploadProps, -} from 'ant-design-vue'; -import type { RangePickerProps } from 'ant-design-vue/es/date-picker'; +} from 'antdv-next'; import type { Component, Ref } from 'vue'; @@ -43,7 +43,6 @@ import type { Recordable } from '@vben/types'; import { computed, - defineAsyncComponent, defineComponent, h, nextTick, @@ -66,7 +65,36 @@ import { IconifyIcon } from '@vben/icons'; import { $t } from '@vben/locales'; import { isEmpty } from '@vben/utils'; -import { message, Modal, notification } from 'ant-design-vue'; +import { + AutoComplete as AutoCompleteComponent, + Button, + Cascader as CascaderComponent, + Checkbox as CheckboxComponent, + CheckboxGroup as CheckboxGroupComponent, + DatePicker as DatePickerComponent, + Divider as DividerComponent, + Image as ImageComponent, + ImagePreviewGroup, + Input as InputComponent, + InputNumber as InputNumberComponent, + InputPassword, + Mentions as MentionsComponent, + message, + Modal, + notification, + Radio as RadioComponent, + RadioGroup as RadioGroupComponent, + DateRangePicker as RangePickerComponent, + Rate as RateComponent, + Select as SelectComponent, + Space as SpaceComponent, + Switch as SwitchComponent, + TextArea as TextareaComponent, + TimePicker as TimePickerComponent, + TimeRangePicker as TimeRangePickerComponent, + TreeSelect as TreeSelectComponent, + Upload as UploadComponent, +} from 'antdv-next'; import { Tinymce as RichTextarea } from '#/components/tinymce'; import { FileUpload, ImageUpload } from '#/components/upload'; @@ -80,61 +108,29 @@ type AdapterUploadProps = UploadProps & { onHandleChange?: (event: UploadChangeParam) => void; }; -const AutoComplete = defineAsyncComponent( - () => import('ant-design-vue/es/auto-complete'), -); -const Button = defineAsyncComponent(() => import('ant-design-vue/es/button')); -const Checkbox = defineAsyncComponent( - () => import('ant-design-vue/es/checkbox'), -); -const CheckboxGroup = defineAsyncComponent(() => - import('ant-design-vue/es/checkbox').then((res) => res.CheckboxGroup), -); -const DatePicker = defineAsyncComponent( - () => import('ant-design-vue/es/date-picker'), -); -const Divider = defineAsyncComponent(() => import('ant-design-vue/es/divider')); -const Input = defineAsyncComponent(() => import('ant-design-vue/es/input')); -const InputNumber = defineAsyncComponent( - () => import('ant-design-vue/es/input-number'), -); -const InputPassword = defineAsyncComponent(() => - import('ant-design-vue/es/input').then((res) => res.InputPassword), -); -const Mentions = defineAsyncComponent( - () => import('ant-design-vue/es/mentions'), -); -const Radio = defineAsyncComponent(() => import('ant-design-vue/es/radio')); -const RadioGroup = defineAsyncComponent(() => - import('ant-design-vue/es/radio').then((res) => res.RadioGroup), -); -const RangePicker = defineAsyncComponent(() => - import('ant-design-vue/es/date-picker').then((res) => res.RangePicker), -); -const Rate = defineAsyncComponent(() => import('ant-design-vue/es/rate')); -const Select = defineAsyncComponent(() => import('ant-design-vue/es/select')); -const Space = defineAsyncComponent(() => import('ant-design-vue/es/space')); -const Switch = defineAsyncComponent(() => import('ant-design-vue/es/switch')); -const Textarea = defineAsyncComponent(() => - import('ant-design-vue/es/input').then((res) => res.Textarea), -); -const TimePicker = defineAsyncComponent( - () => import('ant-design-vue/es/time-picker'), -); -const TimeRangePicker = defineAsyncComponent(() => - import('ant-design-vue/es/time-picker').then((res) => res.TimeRangePicker), -); -const TreeSelect = defineAsyncComponent( - () => import('ant-design-vue/es/tree-select'), -); -const Cascader = defineAsyncComponent( - () => import('ant-design-vue/es/cascader'), -); -const Upload = defineAsyncComponent(() => import('ant-design-vue/es/upload')); -const Image = defineAsyncComponent(() => import('ant-design-vue/es/image')); -const PreviewGroup = defineAsyncComponent(() => - import('ant-design-vue/es/image').then((res) => res.ImagePreviewGroup), -); +const AutoComplete = AutoCompleteComponent; +const Checkbox = CheckboxComponent; +const CheckboxGroup = CheckboxGroupComponent; +const DatePicker = DatePickerComponent; +const Divider = DividerComponent; +const Input = InputComponent; +const InputNumber = InputNumberComponent; +const Mentions = MentionsComponent; +const Radio = RadioComponent; +const RadioGroup = RadioGroupComponent; +const RangePicker = RangePickerComponent; +const Rate = RateComponent; +const Select = SelectComponent; +const Space = SpaceComponent; +const Switch = SwitchComponent; +const Textarea = TextareaComponent; +const TimePicker = TimePickerComponent; +const TimeRangePicker = TimeRangePickerComponent; +const TreeSelect = TreeSelectComponent; +const Cascader = CascaderComponent; +const Upload = UploadComponent; +const Image = ImageComponent; +const PreviewGroup = ImagePreviewGroup; const withDefaultPlaceholder = ( component: T, @@ -745,7 +741,7 @@ async function initComponentAdapter() { copyPreferencesSuccess: (title, content) => { notification.success({ description: content, - message: title, + title, placement: 'bottomRight', }); }, diff --git a/apps/web-antdv-next/src/adapter/vxe-table.ts b/apps/web-antdv-next/src/adapter/vxe-table.ts index 554ae3a1e..9565c2747 100644 --- a/apps/web-antdv-next/src/adapter/vxe-table.ts +++ b/apps/web-antdv-next/src/adapter/vxe-table.ts @@ -31,7 +31,7 @@ import { Popconfirm, Switch, Tag, -} from 'ant-design-vue'; +} from 'antdv-next'; import { DictTag } from '#/components/dict-tag'; import { $t } from '#/locales'; diff --git a/apps/web-antdv-next/src/api/request.ts b/apps/web-antdv-next/src/api/request.ts index 7389c31ad..c28c17eb9 100644 --- a/apps/web-antdv-next/src/api/request.ts +++ b/apps/web-antdv-next/src/api/request.ts @@ -14,7 +14,7 @@ import { import { useAccessStore } from '@vben/stores'; import { createApiEncrypt } from '@vben/utils'; -import { message } from 'ant-design-vue'; +import { message } from 'antdv-next'; import { useAuthStore } from '#/store'; diff --git a/apps/web-antdv-next/src/app.vue b/apps/web-antdv-next/src/app.vue index bbaccce13..59ca86183 100644 --- a/apps/web-antdv-next/src/app.vue +++ b/apps/web-antdv-next/src/app.vue @@ -4,7 +4,7 @@ import { computed } from 'vue'; import { useAntdDesignTokens } from '@vben/hooks'; import { preferences, usePreferences } from '@vben/preferences'; -import { App, ConfigProvider, theme } from 'ant-design-vue'; +import { App, ConfigProvider, theme } from 'antdv-next'; import { antdLocale } from '#/locales'; diff --git a/apps/web-antdv-next/src/bootstrap.ts b/apps/web-antdv-next/src/bootstrap.ts index be5a5eda7..22bcc28b2 100644 --- a/apps/web-antdv-next/src/bootstrap.ts +++ b/apps/web-antdv-next/src/bootstrap.ts @@ -6,7 +6,7 @@ import { registerLoadingDirective } from '@vben/common-ui/es/loading'; import { preferences } from '@vben/preferences'; import { initStores } from '@vben/stores'; import '@vben/styles'; -import '@vben/styles/antd'; +import '@vben/styles/antdv-next'; import { useTitle } from '@vueuse/core'; diff --git a/apps/web-antdv-next/src/components/cron-tab/cron-tab.vue b/apps/web-antdv-next/src/components/cron-tab/cron-tab.vue index 242ecb554..59bf8004e 100644 --- a/apps/web-antdv-next/src/components/cron-tab/cron-tab.vue +++ b/apps/web-antdv-next/src/components/cron-tab/cron-tab.vue @@ -16,7 +16,7 @@ import { RadioGroup, Select, Tabs, -} from 'ant-design-vue'; +} from 'antdv-next'; import { CronDataDefault, CronValueDefault } from './types'; @@ -417,20 +417,20 @@ function inputChange() { > @@ -443,7 +443,7 @@ function inputChange() { >
- +
- + 任意值 范围 间隔 指定 - - + + - - + + 秒执行一次 - - + + - +
-
+ - +
- + 任意值 范围 间隔 指定 - - + + - - + + 分钟执行一次 - - + + - +
-
+ - +
- + 任意值 范围 间隔 指定 - - + + - - + + 小时执行一次 - - + + - +
-
+ - +
- + 任意值 范围 @@ -652,8 +652,8 @@ function inputChange() { 本月最后一天 不指定 - - + + - - + + 天执行一次 - - + + - +
-
+ - +
- + 任意值 范围 间隔 指定 - - + + - - + + 月执行一次 - - + + - +
-
+ - +
- + 任意值 范围 @@ -782,10 +782,10 @@ function inputChange() { 本月最后一周 不指定 - - + + - - - + + 周的星期 执行一次 - - + + - - + + - +
-
+ - +
- + 忽略 任意值 @@ -864,8 +864,8 @@ function inputChange() { 间隔 指定 - - + + - - + + 年执行一次 - - + + - +
-
+
diff --git a/apps/web-antdv-next/src/components/cropper/cropper-avatar.vue b/apps/web-antdv-next/src/components/cropper/cropper-avatar.vue index 72c71d031..8afed133c 100644 --- a/apps/web-antdv-next/src/components/cropper/cropper-avatar.vue +++ b/apps/web-antdv-next/src/components/cropper/cropper-avatar.vue @@ -9,7 +9,7 @@ import { useVbenModal } from '@vben/common-ui'; import { IconifyIcon } from '@vben/icons'; import { $t } from '@vben/locales'; -import { Button, message } from 'ant-design-vue'; +import { Button, message } from 'antdv-next'; import cropperModal from './cropper-modal.vue'; diff --git a/apps/web-antdv-next/src/components/cropper/cropper-modal.vue b/apps/web-antdv-next/src/components/cropper/cropper-modal.vue index 01effd727..85feef0a2 100644 --- a/apps/web-antdv-next/src/components/cropper/cropper-modal.vue +++ b/apps/web-antdv-next/src/components/cropper/cropper-modal.vue @@ -8,14 +8,7 @@ import { IconifyIcon } from '@vben/icons'; import { $t } from '@vben/locales'; import { dataURLtoBlob, isFunction } from '@vben/utils'; -import { - Avatar, - Button, - message, - Space, - Tooltip, - Upload, -} from 'ant-design-vue'; +import { Avatar, Button, message, Space, Tooltip, Upload } from 'antdv-next'; import CropperImage from './cropper.vue'; diff --git a/apps/web-antdv-next/src/components/cropper/typing.ts b/apps/web-antdv-next/src/components/cropper/typing.ts index f471274b4..58cffb2b5 100644 --- a/apps/web-antdv-next/src/components/cropper/typing.ts +++ b/apps/web-antdv-next/src/components/cropper/typing.ts @@ -1,4 +1,4 @@ -import type { ButtonProps } from 'ant-design-vue'; +import type { ButtonProps } from 'antdv-next'; import type Cropper from 'cropperjs'; import type { CSSProperties } from 'vue'; diff --git a/apps/web-antdv-next/src/components/description/description.vue b/apps/web-antdv-next/src/components/description/description.vue index d591e5722..86f90c8d4 100644 --- a/apps/web-antdv-next/src/components/description/description.vue +++ b/apps/web-antdv-next/src/components/description/description.vue @@ -1,5 +1,5 @@ diff --git a/apps/web-antdv-next/src/views/ai/chat/index/modules/conversation/update-form.vue b/apps/web-antdv-next/src/views/ai/chat/index/modules/conversation/update-form.vue index fda49d734..e581542fc 100644 --- a/apps/web-antdv-next/src/views/ai/chat/index/modules/conversation/update-form.vue +++ b/apps/web-antdv-next/src/views/ai/chat/index/modules/conversation/update-form.vue @@ -5,7 +5,7 @@ import { ref } from 'vue'; import { useVbenModal } from '@vben/common-ui'; -import { message } from 'ant-design-vue'; +import { message } from 'antdv-next'; import { useVbenForm } from '#/adapter/form'; import { diff --git a/apps/web-antdv-next/src/views/ai/chat/index/modules/message/file-upload.vue b/apps/web-antdv-next/src/views/ai/chat/index/modules/message/file-upload.vue index 3d5e27fb0..3cac94cfb 100644 --- a/apps/web-antdv-next/src/views/ai/chat/index/modules/message/file-upload.vue +++ b/apps/web-antdv-next/src/views/ai/chat/index/modules/message/file-upload.vue @@ -4,7 +4,7 @@ import { computed, onUnmounted, ref, watch } from 'vue'; import { IconifyIcon } from '@vben/icons'; import { formatFileSize, getFileIcon } from '@vben/utils'; -import { message } from 'ant-design-vue'; +import { message } from 'antdv-next'; import { useUpload } from '#/components/upload/use-upload'; diff --git a/apps/web-antdv-next/src/views/ai/chat/index/modules/message/knowledge.vue b/apps/web-antdv-next/src/views/ai/chat/index/modules/message/knowledge.vue index 960188c04..92dc19c92 100644 --- a/apps/web-antdv-next/src/views/ai/chat/index/modules/message/knowledge.vue +++ b/apps/web-antdv-next/src/views/ai/chat/index/modules/message/knowledge.vue @@ -3,7 +3,7 @@ import { computed, ref } from 'vue'; import { IconifyIcon } from '@vben/icons'; -import { Tooltip } from 'ant-design-vue'; +import { Tooltip } from 'antdv-next'; const props = defineProps<{ segments: { diff --git a/apps/web-antdv-next/src/views/ai/chat/index/modules/message/list.vue b/apps/web-antdv-next/src/views/ai/chat/index/modules/message/list.vue index a841ee29b..b3fb568f7 100644 --- a/apps/web-antdv-next/src/views/ai/chat/index/modules/message/list.vue +++ b/apps/web-antdv-next/src/views/ai/chat/index/modules/message/list.vue @@ -12,7 +12,7 @@ import { useUserStore } from '@vben/stores'; import { formatDateTime } from '@vben/utils'; import { useClipboard } from '@vueuse/core'; -import { Avatar, Button, message } from 'ant-design-vue'; +import { Avatar, Button, message } from 'antdv-next'; import { deleteChatMessage } from '#/api/ai/chat/message'; import { MarkdownView } from '#/components/markdown-view'; diff --git a/apps/web-antdv-next/src/views/ai/chat/index/modules/message/loading.vue b/apps/web-antdv-next/src/views/ai/chat/index/modules/message/loading.vue index 5928a19a1..96c0e3386 100644 --- a/apps/web-antdv-next/src/views/ai/chat/index/modules/message/loading.vue +++ b/apps/web-antdv-next/src/views/ai/chat/index/modules/message/loading.vue @@ -1,5 +1,5 @@