init: antdv-next

This commit is contained in:
dap
2026-01-08 20:56:07 +08:00
parent 1383f63361
commit a208034539
251 changed files with 417 additions and 401 deletions

View File

@@ -6,7 +6,7 @@ import { nextTick } from 'vue';
import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui';
import { getVxePopupContainer } from '@vben/utils';
import { Popconfirm, Space } from 'ant-design-vue';
import { Popconfirm, Space } from 'antdv-next';
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
import { categoryList, categoryRemove } from '#/api/workflow/category';

View File

@@ -21,7 +21,7 @@ import {
UsergroupDeleteOutlined,
UserOutlined,
} from '@ant-design/icons-vue';
import { Dropdown, Menu, MenuItem, Modal, Space } from 'ant-design-vue';
import { Dropdown, Menu, MenuItem, Modal, Space } from 'antdv-next';
import {
cancelProcessApply,

View File

@@ -6,7 +6,7 @@ import { computed } from 'vue';
import { VbenAvatar } from '@vben/common-ui';
import { DictEnum } from '@vben/constants';
import { Descriptions, DescriptionsItem, Tooltip } from 'ant-design-vue';
import { Descriptions, DescriptionsItem, Tooltip } from 'antdv-next';
import { renderDict } from '#/utils/render';

View File

@@ -1,6 +1,6 @@
<!-- 审批终止 Modal弹窗的content属性专用 用于填写审批意见 -->
<script setup lang="ts">
import { Textarea } from 'ant-design-vue';
import { Textarea } from 'antdv-next';
defineOptions({
name: 'ApprovalContent',

View File

@@ -8,7 +8,7 @@ import type { FlowComponentsMapMapKey } from '../register';
import type { FlowInfoResponse } from '#/api/workflow/instance/model';
import type { TaskInfo } from '#/api/workflow/task/model';
import { Divider } from 'ant-design-vue';
import { Divider } from 'antdv-next';
import { ApprovalTimeline } from '.';
import { flowComponentsMap } from '../register';

View File

@@ -11,7 +11,7 @@ import { ref } from 'vue';
import { useVbenModal } from '@vben/common-ui';
import { cloneDeep } from '@vben/utils';
import { message } from 'ant-design-vue';
import { message } from 'antdv-next';
import { omit } from 'lodash-es';
import { useVbenForm } from '#/adapter/form';

View File

@@ -16,7 +16,7 @@ import { cn } from '@vben/utils';
import { CopyOutlined } from '@ant-design/icons-vue';
import { useClipboard } from '@vueuse/core';
import { Card, Divider, message, TabPane, Tabs } from 'ant-design-vue';
import { Card, Divider, message, TabPane, Tabs } from 'antdv-next';
import { flowInfo } from '#/api/workflow/instance';
import { getTaskByTaskId } from '#/api/workflow/task';

View File

@@ -12,7 +12,7 @@ import {
UsergroupAddOutlined,
UserOutlined,
} from '@ant-design/icons-vue';
import { Avatar, TimelineItem } from 'ant-design-vue';
import { Avatar, TimelineItem } from 'antdv-next';
import { ossInfo } from '#/api/system/oss';
import { renderDict } from '#/utils/render';

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import type { Flow } from '#/api/workflow/instance/model';
import { Empty, Timeline } from 'ant-design-vue';
import { Empty, Timeline } from 'antdv-next';
import ApprovalTimelineItem from './approval-timeline-item.vue';

View File

@@ -8,7 +8,7 @@ import { computed } from 'vue';
import { useVbenModal, VbenAvatar } from '@vben/common-ui';
import { Avatar, AvatarGroup, Tooltip } from 'ant-design-vue';
import { Avatar, AvatarGroup, Tooltip } from 'antdv-next';
import { userSelectModal } from '.';

View File

@@ -6,7 +6,7 @@ import { ref } from 'vue';
import { useVbenModal } from '@vben/common-ui';
import { Spin } from 'ant-design-vue';
import { Spin } from 'antdv-next';
import { getTaskByBusinessId } from '#/api/workflow/instance';

View File

@@ -6,7 +6,7 @@ import { computed, ref } from 'vue';
import { useVbenModal } from '@vben/common-ui';
import { Descriptions, DescriptionsItem, Modal } from 'ant-design-vue';
import { Descriptions, DescriptionsItem, Modal } from 'antdv-next';
import {
getTaskByTaskId,

View File

@@ -1,6 +1,6 @@
import { defineComponent, h, ref } from 'vue';
import { Modal } from 'ant-design-vue';
import { Modal } from 'antdv-next';
import dayjs from 'dayjs';
import duration from 'dayjs/plugin/duration';
import relativeTime from 'dayjs/plugin/relativeTime';

View File

@@ -8,7 +8,7 @@ import type { VxeGridProps } from '#/adapter/vxe-table';
import { Page, useVbenDrawer, useVbenModal } from '@vben/common-ui';
import { getVxePopupContainer } from '@vben/utils';
import { Modal, Popconfirm, Space } from 'ant-design-vue';
import { Modal, Popconfirm, Space } from 'antdv-next';
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
import { cancelProcessApply } from '#/api/workflow/instance';

View File

@@ -3,7 +3,7 @@ import type { LeaveVO } from '../leave/api/model';
import { computed, onMounted, shallowRef } from 'vue';
import { Descriptions, DescriptionsItem, Skeleton } from 'ant-design-vue';
import { Descriptions, DescriptionsItem, Skeleton } from 'antdv-next';
import dayjs from 'dayjs';
import { leaveInfo } from './api';

View File

@@ -11,7 +11,7 @@ import { useRoute, useRouter } from 'vue-router';
import { useVbenModal } from '@vben/common-ui';
import { useTabs } from '@vben/hooks';
import { Card, Spin } from 'ant-design-vue';
import { Card, Spin } from 'antdv-next';
import dayjs from 'dayjs';
import { cloneDeep, omit } from 'lodash-es';

View File

@@ -8,7 +8,7 @@ import { useRoute, useRouter } from 'vue-router';
import { useTabs } from '@vben/hooks';
import { Spin } from 'ant-design-vue';
import { Spin } from 'antdv-next';
import { useQueryId } from './hook';

View File

@@ -6,7 +6,7 @@ import type { CategoryTree } from '#/api/workflow/category/model';
import { onMounted, ref } from 'vue';
import { SyncOutlined } from '@ant-design/icons-vue';
import { InputSearch, Skeleton, Tree } from 'ant-design-vue';
import { InputSearch, Skeleton, Tree } from 'antdv-next';
import { categoryTree } from '#/api/workflow/category';

View File

@@ -1,6 +1,6 @@
<!-- eslint-disable no-use-before-define -->
<script setup lang="ts">
import type { RadioChangeEvent } from 'ant-design-vue';
import type { RadioChangeEvent } from 'antdv-next';
import type { VbenFormProps } from '@vben/common-ui';
import type { Recordable } from '@vben/types';
@@ -21,7 +21,7 @@ import {
RadioGroup,
Space,
Switch,
} from 'ant-design-vue';
} from 'antdv-next';
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
import {

View File

@@ -1,12 +1,12 @@
<script setup lang="ts">
import type { UploadFile } from 'ant-design-vue/es/upload/interface';
import type { UploadFile } from 'antdv-next/es/upload/interface';
import { ref } from 'vue';
import { useVbenModal } from '@vben/common-ui';
import { InBoxIcon } from '@vben/icons';
import { Upload } from 'ant-design-vue';
import { Upload } from 'antdv-next';
import { workflowDefinitionImport } from '#/api/workflow/definition';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type { RadioChangeEvent } from 'ant-design-vue';
import type { RadioChangeEvent } from 'antdv-next';
import type { VbenFormProps } from '@vben/common-ui';
import type { Recordable } from '@vben/types';
@@ -12,7 +12,7 @@ import { Page, useVbenModal } from '@vben/common-ui';
import { $t } from '@vben/locales';
import { getVxePopupContainer } from '@vben/utils';
import { Modal, Popconfirm, RadioGroup, Space } from 'ant-design-vue';
import { Modal, Popconfirm, RadioGroup, Space } from 'antdv-next';
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
import {

View File

@@ -4,7 +4,7 @@ import { ref } from 'vue';
import { JsonPreview, useVbenModal } from '@vben/common-ui';
import { cn, getPopupContainer } from '@vben/utils';
import { message, Modal, Tag } from 'ant-design-vue';
import { message, Modal, Tag } from 'antdv-next';
import { useVbenForm } from '#/adapter/form';
import { instanceVariable, updateFlowVariable } from '#/api/workflow/instance';

View File

@@ -7,7 +7,7 @@ import type { Spel } from '#/api/workflow/spel/model';
import { Page, useVbenDrawer } from '@vben/common-ui';
import { getVxePopupContainer } from '@vben/utils';
import { Modal, Popconfirm, Space } from 'ant-design-vue';
import { Modal, Popconfirm, Space } from 'antdv-next';
import { useVbenVxeGrid, vxeCheckboxChecked } from '#/adapter/vxe-table';
import { spelList,spelDelete } from '#/api/workflow/spel';

View File

@@ -21,7 +21,7 @@ import {
Spin,
Tooltip,
TreeSelect,
} from 'ant-design-vue';
} from 'antdv-next';
import { cloneDeep, debounce, uniqueId } from 'lodash-es';
import { categoryTree } from '#/api/workflow/category';

View File

@@ -18,7 +18,7 @@ import {
Popover,
Spin,
Tooltip,
} from 'ant-design-vue';
} from 'antdv-next';
import { cloneDeep, debounce } from 'lodash-es';
import { pageByCurrent } from '#/api/workflow/instance';

View File

@@ -19,7 +19,7 @@ import {
Spin,
Tooltip,
TreeSelect,
} from 'ant-design-vue';
} from 'antdv-next';
import { cloneDeep, debounce } from 'lodash-es';
import { categoryTree } from '#/api/workflow/category';

View File

@@ -19,7 +19,7 @@ import {
Spin,
Tooltip,
TreeSelect,
} from 'ant-design-vue';
} from 'antdv-next';
import { cloneDeep, debounce } from 'lodash-es';
import { categoryTree } from '#/api/workflow/category';

View File

@@ -20,7 +20,7 @@ import {
Spin,
Tooltip,
TreeSelect,
} from 'ant-design-vue';
} from 'antdv-next';
import { cloneDeep, debounce } from 'lodash-es';
import { categoryTree } from '#/api/workflow/category';