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

@@ -9,7 +9,7 @@ import { AuthenticationCodeLogin, z } from '@vben/common-ui';
import { DEFAULT_TENANT_ID } from '@vben/constants';
import { $t } from '@vben/locales';
import { Alert, message } from 'ant-design-vue';
import { Alert, message } from 'antdv-next';
import { tenantList } from '#/api';
import { sendSmsCode } from '#/api/core/captcha';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { Input } from 'ant-design-vue';
import { Input } from 'antdv-next';
interface Props {
captcha?: string;

View File

@@ -10,7 +10,7 @@ import { AuthenticationLogin, z } from '@vben/common-ui';
import { DEFAULT_TENANT_ID } from '@vben/constants';
import { $t } from '@vben/locales';
import { Input, Select } from 'ant-design-vue';
import { Input, Select } from 'antdv-next';
import { omit } from 'lodash-es';
import { tenantList } from '#/api';

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import { $t } from '@vben/locales';
import { Col, Row, Tooltip } from 'ant-design-vue';
import { Col, Row, Tooltip } from 'antdv-next';
import { accountBindList, handleAuthBinding } from '../oauth-common';

View File

@@ -5,7 +5,7 @@ import type { SocialInfo } from '#/api/system/social/model';
import { onMounted, ref } from 'vue';
import { Alert, Avatar, Card, Empty, Modal, Tooltip } from 'ant-design-vue';
import { Alert, Avatar, Card, Empty, Modal, Tooltip } from 'antdv-next';
import { authUnbinding } from '#/api';
import { socialList } from '#/api/system/social';

View File

@@ -3,7 +3,7 @@ import type { Recordable } from '@vben/types';
import type { VxeGridProps } from '#/adapter/vxe-table';
import { Popconfirm } from 'ant-design-vue';
import { Popconfirm } from 'antdv-next';
import { useVbenVxeGrid } from '#/adapter/vxe-table';
import { forceLogout2, onlineDeviceList } from '#/api/monitor/online';

View File

@@ -1,7 +1,7 @@
<script setup lang="ts">
import type { UpdatePasswordParam } from '#/api/system/profile/model';
import { Modal } from 'ant-design-vue';
import { Modal } from 'antdv-next';
import { omit } from 'lodash-es';
import { useVbenForm, z } from '#/adapter/form';

View File

@@ -5,7 +5,7 @@ import { computed, ref } from 'vue';
import { ProfilePasswordSetting, z } from '@vben/common-ui';
import { message } from 'ant-design-vue';
import { message } from 'antdv-next';
const profilePasswordSettingRef = ref();

View File

@@ -11,7 +11,7 @@ import {
DescriptionsItem,
Tag,
Tooltip,
} from 'ant-design-vue';
} from 'antdv-next';
import { userUpdateAvatar } from '#/api/system/profile';
import { CropperAvatar } from '#/components/cropper';

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { TabPane, Tabs } from 'ant-design-vue';
import { TabPane, Tabs } from 'antdv-next';
import AccountBind from './components/account-bind.vue';
import BaseSetting from './components/base-setting.vue';

View File

@@ -9,7 +9,7 @@ import { preferences } from '@vben/preferences';
import { useAccessStore } from '@vben/stores';
import { cn } from '@vben/utils';
import { message, Spin } from 'ant-design-vue';
import { message, Spin } from 'antdv-next';
import { authCallback } from '#/api';
import { useAuthStore } from '#/store';