diff --git a/apps/web-antd/dist.zip b/apps/web-antd/dist.zip
deleted file mode 100644
index 2699ad9e..00000000
Binary files a/apps/web-antd/dist.zip and /dev/null differ
diff --git a/apps/web-antd/package.json b/apps/web-antd/package.json
index 7d430d0d..4bf198f1 100644
--- a/apps/web-antd/package.json
+++ b/apps/web-antd/package.json
@@ -39,7 +39,6 @@
"@vben/types": "workspace:*",
"@vben/universal-ui": "workspace:*",
"@vben/utils": "workspace:*",
- "@vben/widgets": "workspace:*",
"@vueuse/core": "^10.11.0",
"ant-design-vue": "^4.2.3",
"dayjs": "^1.11.11",
diff --git a/apps/web-antd/src/app.vue b/apps/web-antd/src/app.vue
index 78f2adef..090a107b 100644
--- a/apps/web-antd/src/app.vue
+++ b/apps/web-antd/src/app.vue
@@ -1,7 +1,7 @@
-
+
diff --git a/apps/web-antd/src/layouts/basic.vue b/apps/web-antd/src/layouts/basic.vue
index 220e6e74..0dcbb7c7 100644
--- a/apps/web-antd/src/layouts/basic.vue
+++ b/apps/web-antd/src/layouts/basic.vue
@@ -1,14 +1,13 @@
+
+
+
+
diff --git a/packages/business/widgets/src/global-provider/index.ts b/packages/business/universal-ui/src/global-provider/index.ts
similarity index 100%
rename from packages/business/widgets/src/global-provider/index.ts
rename to packages/business/universal-ui/src/global-provider/index.ts
diff --git a/packages/business/universal-ui/src/index.ts b/packages/business/universal-ui/src/index.ts
index 753baaa6..b729d103 100644
--- a/packages/business/universal-ui/src/index.ts
+++ b/packages/business/universal-ui/src/index.ts
@@ -2,4 +2,5 @@ export * from './about';
export * from './authentication';
export * from './dashboard';
export * from './fallback';
+export * from './global-provider';
export { useToast } from '@vben-core/shadcn-ui';
diff --git a/packages/business/widgets/package.json b/packages/business/widgets/package.json
deleted file mode 100644
index 8293c0c7..00000000
--- a/packages/business/widgets/package.json
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- "name": "@vben/widgets",
- "version": "5.0.0",
- "homepage": "https://github.com/vbenjs/vue-vben-admin",
- "bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/vbenjs/vue-vben-admin.git",
- "directory": "packages/business/widgets"
- },
- "license": "MIT",
- "type": "module",
- "scripts": {
- "build": "pnpm vite build",
- "prepublishOnly": "npm run build"
- },
- "files": [
- "dist"
- ],
- "sideEffects": [
- "**/*.css"
- ],
- "main": "./dist/index.mjs",
- "module": "./dist/index.mjs",
- "exports": {
- ".": {
- "types": "./src/index.ts",
- "development": "./src/index.ts",
- "default": "./dist/index.mjs"
- }
- },
- "publishConfig": {
- "exports": {
- ".": {
- "default": "./dist/index.mjs"
- }
- }
- },
- "dependencies": {
- "@vben-core/colorful": "workspace:*",
- "@vben-core/iconify": "workspace:*",
- "@vben-core/locales": "workspace:*",
- "@vben-core/preferences": "workspace:*",
- "@vben-core/shadcn-ui": "workspace:*",
- "@vben-core/toolkit": "workspace:*",
- "@vueuse/core": "^10.11.0",
- "vue": "^3.4.31",
- "vue-router": "^4.4.0"
- },
- "devDependencies": {
- "@types/qrcode": "^1.5.5",
- "@vben/types": "workspace:*"
- }
-}
diff --git a/packages/business/widgets/postcss.config.mjs b/packages/business/widgets/postcss.config.mjs
deleted file mode 100644
index 3d807045..00000000
--- a/packages/business/widgets/postcss.config.mjs
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from '@vben/tailwind-config/postcss';
diff --git a/packages/business/widgets/src/coze-assistant/index.ts b/packages/business/widgets/src/coze-assistant/index.ts
deleted file mode 100644
index 8e7b2ef7..00000000
--- a/packages/business/widgets/src/coze-assistant/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default as CozeAssistant } from './assistant.vue';
diff --git a/packages/business/widgets/src/global-provider/global-provider.vue b/packages/business/widgets/src/global-provider/global-provider.vue
deleted file mode 100644
index 21da3527..00000000
--- a/packages/business/widgets/src/global-provider/global-provider.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
diff --git a/packages/business/widgets/src/index.ts b/packages/business/widgets/src/index.ts
deleted file mode 100644
index 97042c0f..00000000
--- a/packages/business/widgets/src/index.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-export * from './coze-assistant';
-export * from './global-provider';
-export * from './global-search';
-export * from './language-toggle';
-export * from './notification';
-export * from './preferences';
-export * from './theme-toggle';
-export * from './user-dropdown';
diff --git a/packages/business/widgets/src/language-toggle/index.ts b/packages/business/widgets/src/language-toggle/index.ts
deleted file mode 100644
index b6f71564..00000000
--- a/packages/business/widgets/src/language-toggle/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { default as LanguageToggle } from './language-toggle.vue';
diff --git a/packages/business/widgets/tailwind.config.mjs b/packages/business/widgets/tailwind.config.mjs
deleted file mode 100644
index f17f556f..00000000
--- a/packages/business/widgets/tailwind.config.mjs
+++ /dev/null
@@ -1 +0,0 @@
-export { default } from '@vben/tailwind-config';
diff --git a/packages/business/widgets/tsconfig.json b/packages/business/widgets/tsconfig.json
deleted file mode 100644
index ce1a891f..00000000
--- a/packages/business/widgets/tsconfig.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "$schema": "https://json.schemastore.org/tsconfig",
- "extends": "@vben/tsconfig/web.json",
- "include": ["src"],
- "exclude": ["node_modules"]
-}
diff --git a/packages/business/widgets/vite.config.mts b/packages/business/widgets/vite.config.mts
deleted file mode 100644
index 9a5f448e..00000000
--- a/packages/business/widgets/vite.config.mts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { defineConfig } from '@vben/vite-config';
-
-export default defineConfig();
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 8ddbd562..0cc67708 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -222,9 +222,6 @@ importers:
'@vben/utils':
specifier: workspace:*
version: link:../../packages/utils
- '@vben/widgets':
- specifier: workspace:*
- version: link:../../packages/business/widgets
'@vueuse/core':
specifier: ^10.11.0
version: 10.11.0(vue@3.4.31(typescript@5.5.3))
@@ -545,8 +542,8 @@ importers:
specifier: ^1.77.6
version: 1.77.6
unplugin-turbo-console:
- specifier: ^1.8.9
- version: 1.8.9(esbuild@0.23.0)(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)(sass@1.77.6)(terser@5.31.1))(vue@3.4.31(typescript@5.5.3))(webpack@5.92.1(esbuild@0.23.0))
+ specifier: ^1.9.0
+ version: 1.9.0(esbuild@0.23.0)(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)(sass@1.77.6)(terser@5.31.1))(vue@3.4.31(typescript@5.5.3))(webpack@5.92.1(esbuild@0.23.0))
vite:
specifier: ^5.3.3
version: 5.3.3(@types/node@20.14.10)(sass@1.77.6)(terser@5.31.1)
@@ -779,8 +776,8 @@ importers:
specifier: ^0.7.0
version: 0.7.0
lucide-vue-next:
- specifier: ^0.403.0
- version: 0.403.0(vue@3.4.31(typescript@5.5.3))
+ specifier: ^0.406.0
+ version: 0.406.0(vue@3.4.31(typescript@5.5.3))
radix-vue:
specifier: ^1.9.0
version: 1.9.0(vue@3.4.31(typescript@5.5.3))
@@ -851,6 +848,9 @@ importers:
packages/business/layouts:
dependencies:
+ '@vben-core/colorful':
+ specifier: workspace:*
+ version: link:../../@core/shared/colorful
'@vben-core/helpers':
specifier: workspace:*
version: link:../../@core/forward/helpers
@@ -881,9 +881,9 @@ importers:
'@vben-core/toolkit':
specifier: workspace:*
version: link:../../@core/shared/toolkit
- '@vben/widgets':
- specifier: workspace:*
- version: link:../widgets
+ '@vueuse/core':
+ specifier: ^10.11.0
+ version: 10.11.0(vue@3.4.31(typescript@5.5.3))
vue:
specifier: ^3.4.31
version: 3.4.31(typescript@5.5.3)
@@ -932,43 +932,6 @@ importers:
specifier: ^1.5.5
version: 1.5.5
- packages/business/widgets:
- dependencies:
- '@vben-core/colorful':
- specifier: workspace:*
- version: link:../../@core/shared/colorful
- '@vben-core/iconify':
- specifier: workspace:*
- version: link:../../@core/shared/iconify
- '@vben-core/locales':
- specifier: workspace:*
- version: link:../../@core/locales
- '@vben-core/preferences':
- specifier: workspace:*
- version: link:../../@core/forward/preferences
- '@vben-core/shadcn-ui':
- specifier: workspace:*
- version: link:../../@core/ui-kit/shadcn-ui
- '@vben-core/toolkit':
- specifier: workspace:*
- version: link:../../@core/shared/toolkit
- '@vueuse/core':
- specifier: ^10.11.0
- version: 10.11.0(vue@3.4.31(typescript@5.5.3))
- vue:
- specifier: ^3.4.31
- version: 3.4.31(typescript@5.5.3)
- vue-router:
- specifier: ^4.4.0
- version: 4.4.0(vue@3.4.31(typescript@5.5.3))
- devDependencies:
- '@types/qrcode':
- specifier: ^1.5.5
- version: 1.5.5
- '@vben/types':
- specifier: workspace:*
- version: link:../../types
-
packages/constants: {}
packages/icons:
@@ -4398,8 +4361,8 @@ packages:
resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}
engines: {node: '>=12'}
- ast-kit@0.12.2:
- resolution: {integrity: sha512-es1zHFsnZ4Y4efz412nnrU3KvVAhgqy90a7Yt9Wpi5vQ3l4aYMOX0Qx4FD0elKr5ITEhiUGCSFcgGYf4YTuACg==}
+ ast-kit@1.0.0:
+ resolution: {integrity: sha512-Jv5Zs4DhU4QEYPvfVrEmdMuxCRMxsIVNfj4uqsBWyNM5wOaNMIfOwu55jH2DWnmr05iyCxPjbYGND1PNU40CuQ==}
engines: {node: '>=16.14.0'}
astral-regex@2.0.0:
@@ -6841,8 +6804,8 @@ packages:
resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==}
engines: {node: '>=10'}
- lucide-vue-next@0.403.0:
- resolution: {integrity: sha512-jmCABan/1sRnNEivFSyy+O47M5MSu7s2KSMsxxw9XlCtIyPiTNRAjj9gu7imUWTeNxkJ1LOKj+/xqjCkEMEL4g==}
+ lucide-vue-next@0.406.0:
+ resolution: {integrity: sha512-j7lqt1gpfSdKOSTOWNbUTh88IPf41cRAe3KdiR9yulFcnNfpnY8E8NHfYKXprJ7QddPr/4lSfPXbhioQWQxfzA==}
peerDependencies:
vue: ^3.4.31
@@ -9194,8 +9157,8 @@ packages:
resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==}
engines: {node: '>= 0.8'}
- unplugin-turbo-console@1.8.9:
- resolution: {integrity: sha512-SeE8Nm7wBDeBXssVNvz4qxs0LFJ3pIjCs+g6uwr4UwjuiZuMKdUAk9HMyuOOMcG4w+kMnjWHAEMycXD8hSzAhg==}
+ unplugin-turbo-console@1.9.0:
+ resolution: {integrity: sha512-e6ubay6CyK0q3m4hmByhPte4IpoIaZAdr+Zy4IoCQxG/zpMxQzXOSZQROIk4GKlUbfvNngxOXCbMVQCX4O/5kg==}
peerDependencies:
'@nuxt/kit': '>=3'
'@nuxt/schema': '>=3'
@@ -13462,7 +13425,7 @@ snapshots:
assertion-error@2.0.1: {}
- ast-kit@0.12.2:
+ ast-kit@1.0.0:
dependencies:
'@babel/parser': 7.24.7
pathe: 1.1.2
@@ -16281,7 +16244,7 @@ snapshots:
dependencies:
yallist: 4.0.0
- lucide-vue-next@0.403.0(vue@3.4.31(typescript@5.5.3)):
+ lucide-vue-next@0.406.0(vue@3.4.31(typescript@5.5.3)):
dependencies:
vue: 3.4.31(typescript@5.5.3)
@@ -18700,10 +18663,10 @@ snapshots:
unpipe@1.0.0: {}
- unplugin-turbo-console@1.8.9(esbuild@0.23.0)(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)(sass@1.77.6)(terser@5.31.1))(vue@3.4.31(typescript@5.5.3))(webpack@5.92.1(esbuild@0.23.0)):
+ unplugin-turbo-console@1.9.0(esbuild@0.23.0)(rollup@4.18.1)(vite@5.3.3(@types/node@20.14.10)(sass@1.77.6)(terser@5.31.1))(vue@3.4.31(typescript@5.5.3))(webpack@5.92.1(esbuild@0.23.0)):
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.18.1)
- ast-kit: 0.12.2
+ ast-kit: 1.0.0
get-port-please: 3.1.2
h3: 1.12.0
launch-editor: 2.8.0
diff --git a/vben-admin.code-workspace b/vben-admin.code-workspace
index a6a3310d..a415ffdc 100644
--- a/vben-admin.code-workspace
+++ b/vben-admin.code-workspace
@@ -124,10 +124,6 @@
"name": "@vben/universal-ui",
"path": "packages/business/universal-ui",
},
- {
- "name": "@vben/widgets",
- "path": "packages/business/widgets",
- },
{
"name": "@vben/constants",
"path": "packages/constants",