Commit 0023964e by vben

chore: update common-ui to universal-ui

1 parent 95252f62
Showing 96 changed files with 28 additions and 27 deletions
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"@vben-core/preferences": "workspace:*", "@vben-core/preferences": "workspace:*",
"@vben-core/request": "workspace:*", "@vben-core/request": "workspace:*",
"@vben-core/stores": "workspace:*", "@vben-core/stores": "workspace:*",
"@vben/common-ui": "workspace:*", "@vben/universal-ui": "workspace:*",
"@vben/constants": "workspace:*", "@vben/constants": "workspace:*",
"@vben/hooks": "workspace:*", "@vben/hooks": "workspace:*",
"@vben/icons": "workspace:*", "@vben/icons": "workspace:*",
......
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from 'vue'; import { computed } from 'vue';
import { GlobalProvider } from '@vben/common-ui'; import { GlobalProvider } from '@vben/universal-ui';
import { preferences, usePreferences } from '@vben-core/preferences'; import { preferences, usePreferences } from '@vben-core/preferences';
import { ConfigProvider, theme } from 'ant-design-vue'; import { ConfigProvider, theme } from 'ant-design-vue';
......
<script lang="ts" setup> <script lang="ts" setup>
import type { NotificationItem } from '@vben/common-ui'; import type { NotificationItem } from '@vben/universal-ui';
import { computed, ref } from 'vue'; import { computed, ref } from 'vue';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { Notification, UserDropdown } from '@vben/common-ui';
import { IcRoundCreditScore, MdiDriveDocument, MdiGithub } from '@vben/icons'; import { IcRoundCreditScore, MdiDriveDocument, MdiGithub } from '@vben/icons';
import { BasicLayout } from '@vben/layouts'; import { BasicLayout } from '@vben/layouts';
import { $t } from '@vben/locales'; import { $t } from '@vben/locales';
import { Notification, UserDropdown } from '@vben/universal-ui';
import { openWindow } from '@vben/utils'; import { openWindow } from '@vben/utils';
import { preferences } from '@vben-core/preferences'; import { preferences } from '@vben-core/preferences';
import { useAccessStore } from '@vben-core/stores'; import { useAccessStore } from '@vben-core/stores';
......
<script lang="ts" setup> <script lang="ts" setup>
import type { LoginCodeParams } from '@vben/common-ui'; import type { LoginCodeParams } from '@vben/universal-ui';
import { ref } from 'vue'; import { ref } from 'vue';
import { AuthenticationCodeLogin } from '@vben/common-ui'; import { AuthenticationCodeLogin } from '@vben/universal-ui';
defineOptions({ name: 'CodeLogin' }); defineOptions({ name: 'CodeLogin' });
......
<script lang="ts" setup> <script lang="ts" setup>
import { ref } from 'vue'; import { ref } from 'vue';
import { AuthenticationForgetPassword } from '@vben/common-ui'; import { AuthenticationForgetPassword } from '@vben/universal-ui';
defineOptions({ name: 'ForgetPassword' }); defineOptions({ name: 'ForgetPassword' });
......
<script lang="ts" setup> <script lang="ts" setup>
import type { LoginAndRegisterParams } from '@vben/common-ui'; import type { LoginAndRegisterParams } from '@vben/universal-ui';
import { computed } from 'vue'; import { computed } from 'vue';
import { useRouter } from 'vue-router'; import { useRouter } from 'vue-router';
import { AuthenticationLogin } from '@vben/common-ui';
import { $t } from '@vben/locales'; import { $t } from '@vben/locales';
import { AuthenticationLogin } from '@vben/universal-ui';
import { useRequest } from '@vben-core/request'; import { useRequest } from '@vben-core/request';
import { useAccessStore } from '@vben-core/stores'; import { useAccessStore } from '@vben-core/stores';
......
<script lang="ts" setup> <script lang="ts" setup>
import { AuthenticationQrCodeLogin } from '@vben/common-ui'; import { AuthenticationQrCodeLogin } from '@vben/universal-ui';
defineOptions({ name: 'QrCodeLogin' }); defineOptions({ name: 'QrCodeLogin' });
</script> </script>
......
<script lang="ts" setup> <script lang="ts" setup>
import type { LoginAndRegisterParams } from '@vben/common-ui'; import type { LoginAndRegisterParams } from '@vben/universal-ui';
import { ref } from 'vue'; import { ref } from 'vue';
import { AuthenticationRegister } from '@vben/common-ui'; import { AuthenticationRegister } from '@vben/universal-ui';
defineOptions({ name: 'Register' }); defineOptions({ name: 'Register' });
......
<script lang="ts" setup> <script lang="ts" setup>
import { Fallback } from '@vben/common-ui'; import { Fallback } from '@vben/universal-ui';
</script> </script>
<template> <template>
......
<script lang="ts" setup> <script lang="ts" setup>
import { Fallback } from '@vben/common-ui'; import { Fallback } from '@vben/universal-ui';
</script> </script>
<template> <template>
......
<script lang="ts" setup> <script lang="ts" setup>
import { Fallback } from '@vben/common-ui'; import { Fallback } from '@vben/universal-ui';
</script> </script>
<template> <template>
......
<script lang="ts" setup> <script lang="ts" setup>
import { Fallback } from '@vben/common-ui'; import { Fallback } from '@vben/universal-ui';
</script> </script>
<template> <template>
......
<script lang="ts" setup> <script lang="ts" setup>
import { Fallback } from '@vben/common-ui'; import { Fallback } from '@vben/universal-ui';
</script> </script>
<template> <template>
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
"@vitejs/plugin-vue-jsx": "^4.0.0", "@vitejs/plugin-vue-jsx": "^4.0.0",
"dayjs": "^1.11.11", "dayjs": "^1.11.11",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"rollup": "^4.18.0",
"rollup-plugin-visualizer": "^5.12.0", "rollup-plugin-visualizer": "^5.12.0",
"sass": "^1.77.5", "sass": "^1.77.5",
"unplugin-turbo-console": "^1.8.6", "unplugin-turbo-console": "^1.8.6",
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
"@vben-core/stores": "workspace:*", "@vben-core/stores": "workspace:*",
"@vben-core/tabs-ui": "workspace:*", "@vben-core/tabs-ui": "workspace:*",
"@vben-core/toolkit": "workspace:*", "@vben-core/toolkit": "workspace:*",
"@vben/common-ui": "workspace:*", "@vben/universal-ui": "workspace:*",
"@vben/locales": "workspace:*", "@vben/locales": "workspace:*",
"vue": "^3.4.29", "vue": "^3.4.29",
"vue-router": "^4.3.3" "vue-router": "^4.3.3"
......
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
AuthenticationLayoutToggle, AuthenticationLayoutToggle,
LanguageToggle, LanguageToggle,
ThemeToggle, ThemeToggle,
} from '@vben/common-ui'; } from '@vben/universal-ui';
defineOptions({ defineOptions({
name: 'AuthenticationToolbar', name: 'AuthenticationToolbar',
......
<script lang="ts" setup> <script lang="ts" setup>
import { GlobalSearch, LanguageToggle, ThemeToggle } from '@vben/common-ui'; import { GlobalSearch, LanguageToggle, ThemeToggle } from '@vben/universal-ui';
import { usePreferences } from '@vben-core/preferences'; import { usePreferences } from '@vben-core/preferences';
import { VbenFullScreen } from '@vben-core/shadcn-ui'; import { VbenFullScreen } from '@vben-core/shadcn-ui';
import { useAccessStore } from '@vben-core/stores'; import { useAccessStore } from '@vben-core/stores';
......
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from 'vue'; import { computed } from 'vue';
import { PreferencesWidget } from '@vben/common-ui';
import { $t } from '@vben/locales'; import { $t } from '@vben/locales';
import { PreferencesWidget } from '@vben/universal-ui';
import { VbenAdminLayout } from '@vben-core/layout-ui'; import { VbenAdminLayout } from '@vben-core/layout-ui';
import { import {
preferences, preferences,
......
{ {
"name": "@vben/common-ui", "name": "@vben/universal-ui",
"version": "1.0.0", "version": "1.0.0",
"type": "module", "type": "module",
"license": "MIT", "license": "MIT",
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/vbenjs/vue-vben-admin.git", "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
"directory": "packages/business/common-ui" "directory": "packages/business/universal-ui"
}, },
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues", "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
"scripts": { "scripts": {
......
...@@ -97,14 +97,14 @@ ...@@ -97,14 +97,14 @@
"path": "packages/@core/uikit/tabs-ui", "path": "packages/@core/uikit/tabs-ui",
}, },
{ {
"name": "@vben/common-ui",
"path": "packages/business/common-ui",
},
{
"name": "@vben/layouts", "name": "@vben/layouts",
"path": "packages/business/layouts", "path": "packages/business/layouts",
}, },
{ {
"name": "@vben/universal-ui",
"path": "packages/business/universal-ui",
},
{
"name": "@vben/constants", "name": "@vben/constants",
"path": "packages/constants", "path": "packages/constants",
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!