diff --git a/apps/web-antd/package.json b/apps/web-antd/package.json
index 2526f476..f72e0f13 100644
--- a/apps/web-antd/package.json
+++ b/apps/web-antd/package.json
@@ -38,7 +38,7 @@
"@vben/layouts": "workspace:*",
"@vben/styles": "workspace:*",
"@vben/types": "workspace:*",
- "@vben/universal-ui": "workspace:*",
+ "@vben/common-ui": "workspace:*",
"@vben/utils": "workspace:*",
"@vueuse/core": "^10.11.0",
"ant-design-vue": "^4.2.3",
diff --git a/apps/web-antd/src/app.vue b/apps/web-antd/src/app.vue
index 090a107b..4ff69a7d 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/views/_core/authentication/register.vue b/apps/web-antd/src/views/_core/authentication/register.vue
index 76f7ef88..af3e820c 100644
--- a/apps/web-antd/src/views/_core/authentication/register.vue
+++ b/apps/web-antd/src/views/_core/authentication/register.vue
@@ -1,9 +1,9 @@
diff --git a/apps/web-antd/src/views/_core/fallback/forbidden.vue b/apps/web-antd/src/views/_core/fallback/forbidden.vue
index a7336504..e6c47bae 100644
--- a/apps/web-antd/src/views/_core/fallback/forbidden.vue
+++ b/apps/web-antd/src/views/_core/fallback/forbidden.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/_core/fallback/internal-error.vue b/apps/web-antd/src/views/_core/fallback/internal-error.vue
index d109404f..7154e725 100644
--- a/apps/web-antd/src/views/_core/fallback/internal-error.vue
+++ b/apps/web-antd/src/views/_core/fallback/internal-error.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/_core/fallback/not-found.vue b/apps/web-antd/src/views/_core/fallback/not-found.vue
index d68700c1..cdc5a331 100644
--- a/apps/web-antd/src/views/_core/fallback/not-found.vue
+++ b/apps/web-antd/src/views/_core/fallback/not-found.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/_core/fallback/offline.vue b/apps/web-antd/src/views/_core/fallback/offline.vue
index 86360c0c..de5e6a82 100644
--- a/apps/web-antd/src/views/_core/fallback/offline.vue
+++ b/apps/web-antd/src/views/_core/fallback/offline.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/_core/vben/about/index.vue b/apps/web-antd/src/views/_core/vben/about/index.vue
index 66e3825b..0ee52433 100644
--- a/apps/web-antd/src/views/_core/vben/about/index.vue
+++ b/apps/web-antd/src/views/_core/vben/about/index.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/dashboard/analytics/index.vue b/apps/web-antd/src/views/dashboard/analytics/index.vue
index 72025254..cb74dd7f 100644
--- a/apps/web-antd/src/views/dashboard/analytics/index.vue
+++ b/apps/web-antd/src/views/dashboard/analytics/index.vue
@@ -1,18 +1,18 @@
diff --git a/apps/web-antd/src/views/demos/access/button-control.vue b/apps/web-antd/src/views/demos/access/button-control.vue
index 4251efb0..3ed6ba13 100644
--- a/apps/web-antd/src/views/demos/access/button-control.vue
+++ b/apps/web-antd/src/views/demos/access/button-control.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/demos/access/super-visible.vue b/apps/web-antd/src/views/demos/access/super-visible.vue
index 61505447..a234d095 100644
--- a/apps/web-antd/src/views/demos/access/super-visible.vue
+++ b/apps/web-antd/src/views/demos/access/super-visible.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/demos/access/user-visible.vue b/apps/web-antd/src/views/demos/access/user-visible.vue
index 835202f1..6f745786 100644
--- a/apps/web-antd/src/views/demos/access/user-visible.vue
+++ b/apps/web-antd/src/views/demos/access/user-visible.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/demos/features/hide-menu-children/parent.vue b/apps/web-antd/src/views/demos/features/hide-menu-children/parent.vue
index 3c46d592..59f32d84 100644
--- a/apps/web-antd/src/views/demos/features/hide-menu-children/parent.vue
+++ b/apps/web-antd/src/views/demos/features/hide-menu-children/parent.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/demos/nested/menu-1.vue b/apps/web-antd/src/views/demos/nested/menu-1.vue
index d5b25fd0..31659feb 100644
--- a/apps/web-antd/src/views/demos/nested/menu-1.vue
+++ b/apps/web-antd/src/views/demos/nested/menu-1.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/demos/nested/menu-2-1.vue b/apps/web-antd/src/views/demos/nested/menu-2-1.vue
index 0f06f722..2bced6e4 100644
--- a/apps/web-antd/src/views/demos/nested/menu-2-1.vue
+++ b/apps/web-antd/src/views/demos/nested/menu-2-1.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/demos/nested/menu-3-1.vue b/apps/web-antd/src/views/demos/nested/menu-3-1.vue
index e0a01abd..a0ab57ae 100644
--- a/apps/web-antd/src/views/demos/nested/menu-3-1.vue
+++ b/apps/web-antd/src/views/demos/nested/menu-3-1.vue
@@ -1,5 +1,5 @@
diff --git a/apps/web-antd/src/views/demos/nested/menu-3-2-1.vue b/apps/web-antd/src/views/demos/nested/menu-3-2-1.vue
index 59eab11a..506a2574 100644
--- a/apps/web-antd/src/views/demos/nested/menu-3-2-1.vue
+++ b/apps/web-antd/src/views/demos/nested/menu-3-2-1.vue
@@ -1,5 +1,5 @@
diff --git a/packages/business/README.md b/packages/business/README.md
deleted file mode 100644
index 75f94ff1..00000000
--- a/packages/business/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# business
-
-与业务耦合的 UI 组件库 & SDK,同时也会耦合组件库及大仓依赖,如果你的包或者组件不知道放哪里,可以考虑放到这里。
diff --git a/packages/effects/README.md b/packages/effects/README.md
new file mode 100644
index 00000000..a53eebcc
--- /dev/null
+++ b/packages/effects/README.md
@@ -0,0 +1,8 @@
+# effects
+
+用于存放与副作用相关的代码和逻辑。如果你的包有下面的特点,那么你可以考虑将其放在 effects 目录下:
+
+- 涉及到状态管理框架 pinia,可能包含处理副作用(如异步操作、调用 API)的部分。
+- 涉及到用户偏好设置 @vben-core/preferences,处理本地存储或浏览器缓存的逻辑使用到了localStorage。
+- 涉及到导航、页面跳转等场景,包含处理路由变化的逻辑。
+- 耦合的组件库及大仓依赖
diff --git a/packages/business/access/build.config.ts b/packages/effects/access/build.config.ts
similarity index 100%
rename from packages/business/access/build.config.ts
rename to packages/effects/access/build.config.ts
diff --git a/packages/business/access/package.json b/packages/effects/access/package.json
similarity index 95%
rename from packages/business/access/package.json
rename to packages/effects/access/package.json
index 2f346b7f..848b108b 100644
--- a/packages/business/access/package.json
+++ b/packages/effects/access/package.json
@@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
- "directory": "packages/business/permissions"
+ "directory": "packages/effects/permissions"
},
"license": "MIT",
"type": "module",
diff --git a/packages/business/access/postcss.config.mjs b/packages/effects/access/postcss.config.mjs
similarity index 100%
rename from packages/business/access/postcss.config.mjs
rename to packages/effects/access/postcss.config.mjs
diff --git a/packages/business/access/src/access-control.vue b/packages/effects/access/src/access-control.vue
similarity index 100%
rename from packages/business/access/src/access-control.vue
rename to packages/effects/access/src/access-control.vue
diff --git a/packages/business/access/src/generate-accessible.ts b/packages/effects/access/src/generate-accessible.ts
similarity index 100%
rename from packages/business/access/src/generate-accessible.ts
rename to packages/effects/access/src/generate-accessible.ts
diff --git a/packages/business/access/src/index.ts b/packages/effects/access/src/index.ts
similarity index 100%
rename from packages/business/access/src/index.ts
rename to packages/effects/access/src/index.ts
diff --git a/packages/business/access/src/use-access.ts b/packages/effects/access/src/use-access.ts
similarity index 100%
rename from packages/business/access/src/use-access.ts
rename to packages/effects/access/src/use-access.ts
diff --git a/packages/business/access/tailwind.config.mjs b/packages/effects/access/tailwind.config.mjs
similarity index 100%
rename from packages/business/access/tailwind.config.mjs
rename to packages/effects/access/tailwind.config.mjs
diff --git a/packages/business/access/tsconfig.json b/packages/effects/access/tsconfig.json
similarity index 100%
rename from packages/business/access/tsconfig.json
rename to packages/effects/access/tsconfig.json
diff --git a/packages/business/chart-ui/build.config.ts b/packages/effects/chart-ui/build.config.ts
similarity index 100%
rename from packages/business/chart-ui/build.config.ts
rename to packages/effects/chart-ui/build.config.ts
diff --git a/packages/business/chart-ui/package.json b/packages/effects/chart-ui/package.json
similarity index 95%
rename from packages/business/chart-ui/package.json
rename to packages/effects/chart-ui/package.json
index ba952ef0..0b8fb1b4 100644
--- a/packages/business/chart-ui/package.json
+++ b/packages/effects/chart-ui/package.json
@@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
- "directory": "packages/business/chart-ui"
+ "directory": "packages/effects/chart-ui"
},
"license": "MIT",
"type": "module",
diff --git a/packages/business/chart-ui/src/echarts/echarts-ui.vue b/packages/effects/chart-ui/src/echarts/echarts-ui.vue
similarity index 100%
rename from packages/business/chart-ui/src/echarts/echarts-ui.vue
rename to packages/effects/chart-ui/src/echarts/echarts-ui.vue
diff --git a/packages/business/chart-ui/src/echarts/echarts.ts b/packages/effects/chart-ui/src/echarts/echarts.ts
similarity index 100%
rename from packages/business/chart-ui/src/echarts/echarts.ts
rename to packages/effects/chart-ui/src/echarts/echarts.ts
diff --git a/packages/business/chart-ui/src/echarts/index.ts b/packages/effects/chart-ui/src/echarts/index.ts
similarity index 100%
rename from packages/business/chart-ui/src/echarts/index.ts
rename to packages/effects/chart-ui/src/echarts/index.ts
diff --git a/packages/business/chart-ui/src/echarts/use-echarts.ts b/packages/effects/chart-ui/src/echarts/use-echarts.ts
similarity index 100%
rename from packages/business/chart-ui/src/echarts/use-echarts.ts
rename to packages/effects/chart-ui/src/echarts/use-echarts.ts
diff --git a/packages/business/chart-ui/src/index.ts b/packages/effects/chart-ui/src/index.ts
similarity index 100%
rename from packages/business/chart-ui/src/index.ts
rename to packages/effects/chart-ui/src/index.ts
diff --git a/packages/business/chart-ui/tsconfig.json b/packages/effects/chart-ui/tsconfig.json
similarity index 100%
rename from packages/business/chart-ui/tsconfig.json
rename to packages/effects/chart-ui/tsconfig.json
diff --git a/packages/business/layouts/build.config.ts b/packages/effects/common-ui/build.config.ts
similarity index 100%
rename from packages/business/layouts/build.config.ts
rename to packages/effects/common-ui/build.config.ts
diff --git a/packages/business/universal-ui/package.json b/packages/effects/common-ui/package.json
similarity index 93%
rename from packages/business/universal-ui/package.json
rename to packages/effects/common-ui/package.json
index 26641e4c..be2a9551 100644
--- a/packages/business/universal-ui/package.json
+++ b/packages/effects/common-ui/package.json
@@ -1,12 +1,12 @@
{
- "name": "@vben/universal-ui",
+ "name": "@vben/common-ui",
"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/universal-ui"
+ "directory": "packages/effects/common-ui"
},
"license": "MIT",
"type": "module",
diff --git a/packages/business/layouts/postcss.config.mjs b/packages/effects/common-ui/postcss.config.mjs
similarity index 100%
rename from packages/business/layouts/postcss.config.mjs
rename to packages/effects/common-ui/postcss.config.mjs
diff --git a/packages/business/universal-ui/src/about/about.ts b/packages/effects/common-ui/src/about/about.ts
similarity index 100%
rename from packages/business/universal-ui/src/about/about.ts
rename to packages/effects/common-ui/src/about/about.ts
diff --git a/packages/business/universal-ui/src/about/about.vue b/packages/effects/common-ui/src/about/about.vue
similarity index 100%
rename from packages/business/universal-ui/src/about/about.vue
rename to packages/effects/common-ui/src/about/about.vue
diff --git a/packages/business/universal-ui/src/about/index.ts b/packages/effects/common-ui/src/about/index.ts
similarity index 100%
rename from packages/business/universal-ui/src/about/index.ts
rename to packages/effects/common-ui/src/about/index.ts
diff --git a/packages/business/universal-ui/src/authentication/auth-title.vue b/packages/effects/common-ui/src/authentication/auth-title.vue
similarity index 100%
rename from packages/business/universal-ui/src/authentication/auth-title.vue
rename to packages/effects/common-ui/src/authentication/auth-title.vue
diff --git a/packages/business/universal-ui/src/authentication/code-login.vue b/packages/effects/common-ui/src/authentication/code-login.vue
similarity index 100%
rename from packages/business/universal-ui/src/authentication/code-login.vue
rename to packages/effects/common-ui/src/authentication/code-login.vue
diff --git a/packages/business/universal-ui/src/authentication/forget-password.vue b/packages/effects/common-ui/src/authentication/forget-password.vue
similarity index 100%
rename from packages/business/universal-ui/src/authentication/forget-password.vue
rename to packages/effects/common-ui/src/authentication/forget-password.vue
diff --git a/packages/business/universal-ui/src/authentication/index.ts b/packages/effects/common-ui/src/authentication/index.ts
similarity index 100%
rename from packages/business/universal-ui/src/authentication/index.ts
rename to packages/effects/common-ui/src/authentication/index.ts
diff --git a/packages/business/universal-ui/src/authentication/login-expired-modal.vue b/packages/effects/common-ui/src/authentication/login-expired-modal.vue
similarity index 100%
rename from packages/business/universal-ui/src/authentication/login-expired-modal.vue
rename to packages/effects/common-ui/src/authentication/login-expired-modal.vue
diff --git a/packages/business/universal-ui/src/authentication/login.vue b/packages/effects/common-ui/src/authentication/login.vue
similarity index 100%
rename from packages/business/universal-ui/src/authentication/login.vue
rename to packages/effects/common-ui/src/authentication/login.vue
diff --git a/packages/business/universal-ui/src/authentication/qrcode-login.vue b/packages/effects/common-ui/src/authentication/qrcode-login.vue
similarity index 100%
rename from packages/business/universal-ui/src/authentication/qrcode-login.vue
rename to packages/effects/common-ui/src/authentication/qrcode-login.vue
diff --git a/packages/business/universal-ui/src/authentication/register.vue b/packages/effects/common-ui/src/authentication/register.vue
similarity index 100%
rename from packages/business/universal-ui/src/authentication/register.vue
rename to packages/effects/common-ui/src/authentication/register.vue
diff --git a/packages/business/universal-ui/src/authentication/third-party-login.vue b/packages/effects/common-ui/src/authentication/third-party-login.vue
similarity index 100%
rename from packages/business/universal-ui/src/authentication/third-party-login.vue
rename to packages/effects/common-ui/src/authentication/third-party-login.vue
diff --git a/packages/business/universal-ui/src/authentication/typings.ts b/packages/effects/common-ui/src/authentication/typings.ts
similarity index 100%
rename from packages/business/universal-ui/src/authentication/typings.ts
rename to packages/effects/common-ui/src/authentication/typings.ts
diff --git a/packages/business/universal-ui/src/dashboard/analysis/analysis-chart-card.vue b/packages/effects/common-ui/src/dashboard/analysis/analysis-chart-card.vue
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/analysis/analysis-chart-card.vue
rename to packages/effects/common-ui/src/dashboard/analysis/analysis-chart-card.vue
diff --git a/packages/business/universal-ui/src/dashboard/analysis/analysis-charts-tabs.vue b/packages/effects/common-ui/src/dashboard/analysis/analysis-charts-tabs.vue
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/analysis/analysis-charts-tabs.vue
rename to packages/effects/common-ui/src/dashboard/analysis/analysis-charts-tabs.vue
diff --git a/packages/business/universal-ui/src/dashboard/analysis/analysis-overview.vue b/packages/effects/common-ui/src/dashboard/analysis/analysis-overview.vue
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/analysis/analysis-overview.vue
rename to packages/effects/common-ui/src/dashboard/analysis/analysis-overview.vue
diff --git a/packages/business/universal-ui/src/dashboard/analysis/index.ts b/packages/effects/common-ui/src/dashboard/analysis/index.ts
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/analysis/index.ts
rename to packages/effects/common-ui/src/dashboard/analysis/index.ts
diff --git a/packages/business/universal-ui/src/dashboard/index.ts b/packages/effects/common-ui/src/dashboard/index.ts
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/index.ts
rename to packages/effects/common-ui/src/dashboard/index.ts
diff --git a/packages/business/universal-ui/src/dashboard/typing.ts b/packages/effects/common-ui/src/dashboard/typing.ts
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/typing.ts
rename to packages/effects/common-ui/src/dashboard/typing.ts
diff --git a/packages/business/universal-ui/src/dashboard/workbench/index.ts b/packages/effects/common-ui/src/dashboard/workbench/index.ts
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/workbench/index.ts
rename to packages/effects/common-ui/src/dashboard/workbench/index.ts
diff --git a/packages/business/universal-ui/src/dashboard/workbench/workbench-header.vue b/packages/effects/common-ui/src/dashboard/workbench/workbench-header.vue
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/workbench/workbench-header.vue
rename to packages/effects/common-ui/src/dashboard/workbench/workbench-header.vue
diff --git a/packages/business/universal-ui/src/dashboard/workbench/workbench-project.vue b/packages/effects/common-ui/src/dashboard/workbench/workbench-project.vue
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/workbench/workbench-project.vue
rename to packages/effects/common-ui/src/dashboard/workbench/workbench-project.vue
diff --git a/packages/business/universal-ui/src/dashboard/workbench/workbench-quick-nav.vue b/packages/effects/common-ui/src/dashboard/workbench/workbench-quick-nav.vue
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/workbench/workbench-quick-nav.vue
rename to packages/effects/common-ui/src/dashboard/workbench/workbench-quick-nav.vue
diff --git a/packages/business/universal-ui/src/dashboard/workbench/workbench-todo.vue b/packages/effects/common-ui/src/dashboard/workbench/workbench-todo.vue
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/workbench/workbench-todo.vue
rename to packages/effects/common-ui/src/dashboard/workbench/workbench-todo.vue
diff --git a/packages/business/universal-ui/src/dashboard/workbench/workbench-trends.vue b/packages/effects/common-ui/src/dashboard/workbench/workbench-trends.vue
similarity index 100%
rename from packages/business/universal-ui/src/dashboard/workbench/workbench-trends.vue
rename to packages/effects/common-ui/src/dashboard/workbench/workbench-trends.vue
diff --git a/packages/business/universal-ui/src/fallback/fallback.ts b/packages/effects/common-ui/src/fallback/fallback.ts
similarity index 100%
rename from packages/business/universal-ui/src/fallback/fallback.ts
rename to packages/effects/common-ui/src/fallback/fallback.ts
diff --git a/packages/business/universal-ui/src/fallback/fallback.vue b/packages/effects/common-ui/src/fallback/fallback.vue
similarity index 100%
rename from packages/business/universal-ui/src/fallback/fallback.vue
rename to packages/effects/common-ui/src/fallback/fallback.vue
diff --git a/packages/business/universal-ui/src/fallback/icons/icon-403.vue b/packages/effects/common-ui/src/fallback/icons/icon-403.vue
similarity index 100%
rename from packages/business/universal-ui/src/fallback/icons/icon-403.vue
rename to packages/effects/common-ui/src/fallback/icons/icon-403.vue
diff --git a/packages/business/universal-ui/src/fallback/icons/icon-404.vue b/packages/effects/common-ui/src/fallback/icons/icon-404.vue
similarity index 100%
rename from packages/business/universal-ui/src/fallback/icons/icon-404.vue
rename to packages/effects/common-ui/src/fallback/icons/icon-404.vue
diff --git a/packages/business/universal-ui/src/fallback/icons/icon-500.vue b/packages/effects/common-ui/src/fallback/icons/icon-500.vue
similarity index 100%
rename from packages/business/universal-ui/src/fallback/icons/icon-500.vue
rename to packages/effects/common-ui/src/fallback/icons/icon-500.vue
diff --git a/packages/business/universal-ui/src/fallback/icons/icon-comming-soon.vue b/packages/effects/common-ui/src/fallback/icons/icon-comming-soon.vue
similarity index 100%
rename from packages/business/universal-ui/src/fallback/icons/icon-comming-soon.vue
rename to packages/effects/common-ui/src/fallback/icons/icon-comming-soon.vue
diff --git a/packages/business/universal-ui/src/fallback/icons/icon-offline.vue b/packages/effects/common-ui/src/fallback/icons/icon-offline.vue
similarity index 100%
rename from packages/business/universal-ui/src/fallback/icons/icon-offline.vue
rename to packages/effects/common-ui/src/fallback/icons/icon-offline.vue
diff --git a/packages/business/universal-ui/src/fallback/icons/warning.svg b/packages/effects/common-ui/src/fallback/icons/warning.svg
similarity index 100%
rename from packages/business/universal-ui/src/fallback/icons/warning.svg
rename to packages/effects/common-ui/src/fallback/icons/warning.svg
diff --git a/packages/business/universal-ui/src/fallback/index.ts b/packages/effects/common-ui/src/fallback/index.ts
similarity index 100%
rename from packages/business/universal-ui/src/fallback/index.ts
rename to packages/effects/common-ui/src/fallback/index.ts
diff --git a/packages/business/universal-ui/src/global-provider/global-provider.vue b/packages/effects/common-ui/src/global-provider/global-provider.vue
similarity index 100%
rename from packages/business/universal-ui/src/global-provider/global-provider.vue
rename to packages/effects/common-ui/src/global-provider/global-provider.vue
diff --git a/packages/business/universal-ui/src/global-provider/index.ts b/packages/effects/common-ui/src/global-provider/index.ts
similarity index 100%
rename from packages/business/universal-ui/src/global-provider/index.ts
rename to packages/effects/common-ui/src/global-provider/index.ts
diff --git a/packages/business/universal-ui/src/index.ts b/packages/effects/common-ui/src/index.ts
similarity index 100%
rename from packages/business/universal-ui/src/index.ts
rename to packages/effects/common-ui/src/index.ts
diff --git a/packages/business/layouts/tailwind.config.mjs b/packages/effects/common-ui/tailwind.config.mjs
similarity index 100%
rename from packages/business/layouts/tailwind.config.mjs
rename to packages/effects/common-ui/tailwind.config.mjs
diff --git a/packages/business/universal-ui/tsconfig.json b/packages/effects/common-ui/tsconfig.json
similarity index 100%
rename from packages/business/universal-ui/tsconfig.json
rename to packages/effects/common-ui/tsconfig.json
diff --git a/packages/business/universal-ui/build.config.ts b/packages/effects/layouts/build.config.ts
similarity index 100%
rename from packages/business/universal-ui/build.config.ts
rename to packages/effects/layouts/build.config.ts
diff --git a/packages/business/layouts/package.json b/packages/effects/layouts/package.json
similarity index 96%
rename from packages/business/layouts/package.json
rename to packages/effects/layouts/package.json
index ddae48d8..a0ab10a0 100644
--- a/packages/business/layouts/package.json
+++ b/packages/effects/layouts/package.json
@@ -6,7 +6,7 @@
"repository": {
"type": "git",
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
- "directory": "packages/business/layouts"
+ "directory": "packages/effects/layouts"
},
"license": "MIT",
"type": "module",
diff --git a/packages/business/universal-ui/postcss.config.mjs b/packages/effects/layouts/postcss.config.mjs
similarity index 100%
rename from packages/business/universal-ui/postcss.config.mjs
rename to packages/effects/layouts/postcss.config.mjs
diff --git a/packages/business/layouts/src/authentication/authentication.vue b/packages/effects/layouts/src/authentication/authentication.vue
similarity index 100%
rename from packages/business/layouts/src/authentication/authentication.vue
rename to packages/effects/layouts/src/authentication/authentication.vue
diff --git a/packages/business/layouts/src/authentication/from-view.vue b/packages/effects/layouts/src/authentication/from-view.vue
similarity index 100%
rename from packages/business/layouts/src/authentication/from-view.vue
rename to packages/effects/layouts/src/authentication/from-view.vue
diff --git a/packages/business/layouts/src/authentication/icons/slogan.vue b/packages/effects/layouts/src/authentication/icons/slogan.vue
similarity index 100%
rename from packages/business/layouts/src/authentication/icons/slogan.vue
rename to packages/effects/layouts/src/authentication/icons/slogan.vue
diff --git a/packages/business/layouts/src/authentication/index.ts b/packages/effects/layouts/src/authentication/index.ts
similarity index 100%
rename from packages/business/layouts/src/authentication/index.ts
rename to packages/effects/layouts/src/authentication/index.ts
diff --git a/packages/business/layouts/src/authentication/toolbar.vue b/packages/effects/layouts/src/authentication/toolbar.vue
similarity index 100%
rename from packages/business/layouts/src/authentication/toolbar.vue
rename to packages/effects/layouts/src/authentication/toolbar.vue
diff --git a/packages/business/layouts/src/basic/content/content.vue b/packages/effects/layouts/src/basic/content/content.vue
similarity index 100%
rename from packages/business/layouts/src/basic/content/content.vue
rename to packages/effects/layouts/src/basic/content/content.vue
diff --git a/packages/business/layouts/src/basic/content/index.ts b/packages/effects/layouts/src/basic/content/index.ts
similarity index 100%
rename from packages/business/layouts/src/basic/content/index.ts
rename to packages/effects/layouts/src/basic/content/index.ts
diff --git a/packages/business/layouts/src/basic/content/use-content-spinner.ts b/packages/effects/layouts/src/basic/content/use-content-spinner.ts
similarity index 100%
rename from packages/business/layouts/src/basic/content/use-content-spinner.ts
rename to packages/effects/layouts/src/basic/content/use-content-spinner.ts
diff --git a/packages/business/layouts/src/basic/copyright/copyright.vue b/packages/effects/layouts/src/basic/copyright/copyright.vue
similarity index 100%
rename from packages/business/layouts/src/basic/copyright/copyright.vue
rename to packages/effects/layouts/src/basic/copyright/copyright.vue
diff --git a/packages/business/layouts/src/basic/copyright/index.ts b/packages/effects/layouts/src/basic/copyright/index.ts
similarity index 100%
rename from packages/business/layouts/src/basic/copyright/index.ts
rename to packages/effects/layouts/src/basic/copyright/index.ts
diff --git a/packages/business/layouts/src/basic/footer/footer.vue b/packages/effects/layouts/src/basic/footer/footer.vue
similarity index 100%
rename from packages/business/layouts/src/basic/footer/footer.vue
rename to packages/effects/layouts/src/basic/footer/footer.vue
diff --git a/packages/business/layouts/src/basic/footer/index.ts b/packages/effects/layouts/src/basic/footer/index.ts
similarity index 100%
rename from packages/business/layouts/src/basic/footer/index.ts
rename to packages/effects/layouts/src/basic/footer/index.ts
diff --git a/packages/business/layouts/src/basic/header/header.vue b/packages/effects/layouts/src/basic/header/header.vue
similarity index 100%
rename from packages/business/layouts/src/basic/header/header.vue
rename to packages/effects/layouts/src/basic/header/header.vue
diff --git a/packages/business/layouts/src/basic/header/index.ts b/packages/effects/layouts/src/basic/header/index.ts
similarity index 100%
rename from packages/business/layouts/src/basic/header/index.ts
rename to packages/effects/layouts/src/basic/header/index.ts
diff --git a/packages/business/layouts/src/basic/index.ts b/packages/effects/layouts/src/basic/index.ts
similarity index 100%
rename from packages/business/layouts/src/basic/index.ts
rename to packages/effects/layouts/src/basic/index.ts
diff --git a/packages/business/layouts/src/basic/layout.vue b/packages/effects/layouts/src/basic/layout.vue
similarity index 100%
rename from packages/business/layouts/src/basic/layout.vue
rename to packages/effects/layouts/src/basic/layout.vue
diff --git a/packages/business/layouts/src/basic/menu/extra-menu.vue b/packages/effects/layouts/src/basic/menu/extra-menu.vue
similarity index 100%
rename from packages/business/layouts/src/basic/menu/extra-menu.vue
rename to packages/effects/layouts/src/basic/menu/extra-menu.vue
diff --git a/packages/business/layouts/src/basic/menu/index.ts b/packages/effects/layouts/src/basic/menu/index.ts
similarity index 100%
rename from packages/business/layouts/src/basic/menu/index.ts
rename to packages/effects/layouts/src/basic/menu/index.ts
diff --git a/packages/business/layouts/src/basic/menu/menu.vue b/packages/effects/layouts/src/basic/menu/menu.vue
similarity index 100%
rename from packages/business/layouts/src/basic/menu/menu.vue
rename to packages/effects/layouts/src/basic/menu/menu.vue
diff --git a/packages/business/layouts/src/basic/menu/mixed-menu.vue b/packages/effects/layouts/src/basic/menu/mixed-menu.vue
similarity index 100%
rename from packages/business/layouts/src/basic/menu/mixed-menu.vue
rename to packages/effects/layouts/src/basic/menu/mixed-menu.vue
diff --git a/packages/business/layouts/src/basic/menu/use-extra-menu.ts b/packages/effects/layouts/src/basic/menu/use-extra-menu.ts
similarity index 100%
rename from packages/business/layouts/src/basic/menu/use-extra-menu.ts
rename to packages/effects/layouts/src/basic/menu/use-extra-menu.ts
diff --git a/packages/business/layouts/src/basic/menu/use-mixed-menu.ts b/packages/effects/layouts/src/basic/menu/use-mixed-menu.ts
similarity index 100%
rename from packages/business/layouts/src/basic/menu/use-mixed-menu.ts
rename to packages/effects/layouts/src/basic/menu/use-mixed-menu.ts
diff --git a/packages/business/layouts/src/basic/menu/use-navigation.ts b/packages/effects/layouts/src/basic/menu/use-navigation.ts
similarity index 100%
rename from packages/business/layouts/src/basic/menu/use-navigation.ts
rename to packages/effects/layouts/src/basic/menu/use-navigation.ts
diff --git a/packages/business/layouts/src/basic/tabbar/index.ts b/packages/effects/layouts/src/basic/tabbar/index.ts
similarity index 100%
rename from packages/business/layouts/src/basic/tabbar/index.ts
rename to packages/effects/layouts/src/basic/tabbar/index.ts
diff --git a/packages/business/layouts/src/basic/tabbar/tabbar-tools.vue b/packages/effects/layouts/src/basic/tabbar/tabbar-tools.vue
similarity index 100%
rename from packages/business/layouts/src/basic/tabbar/tabbar-tools.vue
rename to packages/effects/layouts/src/basic/tabbar/tabbar-tools.vue
diff --git a/packages/business/layouts/src/basic/tabbar/tabbar.vue b/packages/effects/layouts/src/basic/tabbar/tabbar.vue
similarity index 100%
rename from packages/business/layouts/src/basic/tabbar/tabbar.vue
rename to packages/effects/layouts/src/basic/tabbar/tabbar.vue
diff --git a/packages/business/layouts/src/basic/tabbar/use-tabs.ts b/packages/effects/layouts/src/basic/tabbar/use-tabs.ts
similarity index 100%
rename from packages/business/layouts/src/basic/tabbar/use-tabs.ts
rename to packages/effects/layouts/src/basic/tabbar/use-tabs.ts
diff --git a/packages/business/layouts/src/iframe/iframe-router-view.vue b/packages/effects/layouts/src/iframe/iframe-router-view.vue
similarity index 100%
rename from packages/business/layouts/src/iframe/iframe-router-view.vue
rename to packages/effects/layouts/src/iframe/iframe-router-view.vue
diff --git a/packages/business/layouts/src/iframe/iframe-view.vue b/packages/effects/layouts/src/iframe/iframe-view.vue
similarity index 100%
rename from packages/business/layouts/src/iframe/iframe-view.vue
rename to packages/effects/layouts/src/iframe/iframe-view.vue
diff --git a/packages/business/layouts/src/iframe/index.ts b/packages/effects/layouts/src/iframe/index.ts
similarity index 100%
rename from packages/business/layouts/src/iframe/index.ts
rename to packages/effects/layouts/src/iframe/index.ts
diff --git a/packages/business/layouts/src/index.ts b/packages/effects/layouts/src/index.ts
similarity index 100%
rename from packages/business/layouts/src/index.ts
rename to packages/effects/layouts/src/index.ts
diff --git a/packages/business/layouts/src/widgets/breadcrumb.vue b/packages/effects/layouts/src/widgets/breadcrumb.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/breadcrumb.vue
rename to packages/effects/layouts/src/widgets/breadcrumb.vue
diff --git a/packages/business/layouts/src/widgets/color-toggle.vue b/packages/effects/layouts/src/widgets/color-toggle.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/color-toggle.vue
rename to packages/effects/layouts/src/widgets/color-toggle.vue
diff --git a/packages/business/layouts/src/widgets/coze-assistant.vue b/packages/effects/layouts/src/widgets/coze-assistant.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/coze-assistant.vue
rename to packages/effects/layouts/src/widgets/coze-assistant.vue
diff --git a/packages/business/layouts/src/widgets/global-search/global-search.vue b/packages/effects/layouts/src/widgets/global-search/global-search.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/global-search/global-search.vue
rename to packages/effects/layouts/src/widgets/global-search/global-search.vue
diff --git a/packages/business/layouts/src/widgets/global-search/index.ts b/packages/effects/layouts/src/widgets/global-search/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/global-search/index.ts
rename to packages/effects/layouts/src/widgets/global-search/index.ts
diff --git a/packages/business/layouts/src/widgets/global-search/search-panel.vue b/packages/effects/layouts/src/widgets/global-search/search-panel.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/global-search/search-panel.vue
rename to packages/effects/layouts/src/widgets/global-search/search-panel.vue
diff --git a/packages/business/layouts/src/widgets/index.ts b/packages/effects/layouts/src/widgets/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/index.ts
rename to packages/effects/layouts/src/widgets/index.ts
diff --git a/packages/business/layouts/src/widgets/language-toggle.vue b/packages/effects/layouts/src/widgets/language-toggle.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/language-toggle.vue
rename to packages/effects/layouts/src/widgets/language-toggle.vue
diff --git a/packages/business/layouts/src/widgets/layout-toggle.vue b/packages/effects/layouts/src/widgets/layout-toggle.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/layout-toggle.vue
rename to packages/effects/layouts/src/widgets/layout-toggle.vue
diff --git a/packages/business/layouts/src/widgets/lock-screen/index.ts b/packages/effects/layouts/src/widgets/lock-screen/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/lock-screen/index.ts
rename to packages/effects/layouts/src/widgets/lock-screen/index.ts
diff --git a/packages/business/layouts/src/widgets/lock-screen/lock-screen-modal.vue b/packages/effects/layouts/src/widgets/lock-screen/lock-screen-modal.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/lock-screen/lock-screen-modal.vue
rename to packages/effects/layouts/src/widgets/lock-screen/lock-screen-modal.vue
diff --git a/packages/business/layouts/src/widgets/lock-screen/lock-screen.vue b/packages/effects/layouts/src/widgets/lock-screen/lock-screen.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/lock-screen/lock-screen.vue
rename to packages/effects/layouts/src/widgets/lock-screen/lock-screen.vue
diff --git a/packages/business/layouts/src/widgets/lock-screen/typings.ts b/packages/effects/layouts/src/widgets/lock-screen/typings.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/lock-screen/typings.ts
rename to packages/effects/layouts/src/widgets/lock-screen/typings.ts
diff --git a/packages/business/layouts/src/widgets/notification/index.ts b/packages/effects/layouts/src/widgets/notification/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/notification/index.ts
rename to packages/effects/layouts/src/widgets/notification/index.ts
diff --git a/packages/business/layouts/src/widgets/notification/notification.vue b/packages/effects/layouts/src/widgets/notification/notification.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/notification/notification.vue
rename to packages/effects/layouts/src/widgets/notification/notification.vue
diff --git a/packages/business/layouts/src/widgets/notification/types.ts b/packages/effects/layouts/src/widgets/notification/types.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/notification/types.ts
rename to packages/effects/layouts/src/widgets/notification/types.ts
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/block.vue b/packages/effects/layouts/src/widgets/preferences/blocks/block.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/block.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/block.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/general/animation.vue b/packages/effects/layouts/src/widgets/preferences/blocks/general/animation.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/general/animation.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/general/animation.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/general/general.vue b/packages/effects/layouts/src/widgets/preferences/blocks/general/general.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/general/general.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/general/general.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/index.ts b/packages/effects/layouts/src/widgets/preferences/blocks/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/index.ts
rename to packages/effects/layouts/src/widgets/preferences/blocks/index.ts
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/input-item.vue b/packages/effects/layouts/src/widgets/preferences/blocks/input-item.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/input-item.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/input-item.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/breadcrumb.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/breadcrumb.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/breadcrumb.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/breadcrumb.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/content.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/content.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/content.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/content.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/copyright.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/copyright.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/copyright.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/copyright.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/footer.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/footer.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/footer.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/footer.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/header.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/header.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/header.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/header.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/layout.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/layout.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/layout.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/layout.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/navigation.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/navigation.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/navigation.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/navigation.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/sidebar.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/sidebar.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/sidebar.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/sidebar.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/tabbar.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/tabbar.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/tabbar.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/tabbar.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/layout/widget.vue b/packages/effects/layouts/src/widgets/preferences/blocks/layout/widget.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/layout/widget.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/layout/widget.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/number-field-item.vue b/packages/effects/layouts/src/widgets/preferences/blocks/number-field-item.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/number-field-item.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/number-field-item.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/select-item.vue b/packages/effects/layouts/src/widgets/preferences/blocks/select-item.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/select-item.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/select-item.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/shortcut-keys/global.vue b/packages/effects/layouts/src/widgets/preferences/blocks/shortcut-keys/global.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/shortcut-keys/global.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/shortcut-keys/global.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/switch-item.vue b/packages/effects/layouts/src/widgets/preferences/blocks/switch-item.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/switch-item.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/switch-item.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/theme/builtin.vue b/packages/effects/layouts/src/widgets/preferences/blocks/theme/builtin.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/theme/builtin.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/theme/builtin.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/theme/color-mode.vue b/packages/effects/layouts/src/widgets/preferences/blocks/theme/color-mode.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/theme/color-mode.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/theme/color-mode.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/theme/radius.vue b/packages/effects/layouts/src/widgets/preferences/blocks/theme/radius.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/theme/radius.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/theme/radius.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/theme/theme.vue b/packages/effects/layouts/src/widgets/preferences/blocks/theme/theme.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/theme/theme.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/theme/theme.vue
diff --git a/packages/business/layouts/src/widgets/preferences/blocks/toggle-item.vue b/packages/effects/layouts/src/widgets/preferences/blocks/toggle-item.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/blocks/toggle-item.vue
rename to packages/effects/layouts/src/widgets/preferences/blocks/toggle-item.vue
diff --git a/packages/business/layouts/src/widgets/preferences/icons/content-compact.vue b/packages/effects/layouts/src/widgets/preferences/icons/content-compact.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/icons/content-compact.vue
rename to packages/effects/layouts/src/widgets/preferences/icons/content-compact.vue
diff --git a/packages/business/layouts/src/widgets/preferences/icons/full-content.vue b/packages/effects/layouts/src/widgets/preferences/icons/full-content.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/icons/full-content.vue
rename to packages/effects/layouts/src/widgets/preferences/icons/full-content.vue
diff --git a/packages/business/layouts/src/widgets/preferences/icons/header-nav.vue b/packages/effects/layouts/src/widgets/preferences/icons/header-nav.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/icons/header-nav.vue
rename to packages/effects/layouts/src/widgets/preferences/icons/header-nav.vue
diff --git a/packages/business/layouts/src/widgets/preferences/icons/index.ts b/packages/effects/layouts/src/widgets/preferences/icons/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/icons/index.ts
rename to packages/effects/layouts/src/widgets/preferences/icons/index.ts
diff --git a/packages/business/layouts/src/widgets/preferences/icons/mixed-nav.vue b/packages/effects/layouts/src/widgets/preferences/icons/mixed-nav.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/icons/mixed-nav.vue
rename to packages/effects/layouts/src/widgets/preferences/icons/mixed-nav.vue
diff --git a/packages/business/layouts/src/widgets/preferences/icons/setting.vue b/packages/effects/layouts/src/widgets/preferences/icons/setting.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/icons/setting.vue
rename to packages/effects/layouts/src/widgets/preferences/icons/setting.vue
diff --git a/packages/business/layouts/src/widgets/preferences/icons/sidebar-mixed-nav.vue b/packages/effects/layouts/src/widgets/preferences/icons/sidebar-mixed-nav.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/icons/sidebar-mixed-nav.vue
rename to packages/effects/layouts/src/widgets/preferences/icons/sidebar-mixed-nav.vue
diff --git a/packages/business/layouts/src/widgets/preferences/icons/sidebar-nav.vue b/packages/effects/layouts/src/widgets/preferences/icons/sidebar-nav.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/icons/sidebar-nav.vue
rename to packages/effects/layouts/src/widgets/preferences/icons/sidebar-nav.vue
diff --git a/packages/business/layouts/src/widgets/preferences/index.ts b/packages/effects/layouts/src/widgets/preferences/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/index.ts
rename to packages/effects/layouts/src/widgets/preferences/index.ts
diff --git a/packages/business/layouts/src/widgets/preferences/preferences-sheet.vue b/packages/effects/layouts/src/widgets/preferences/preferences-sheet.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/preferences-sheet.vue
rename to packages/effects/layouts/src/widgets/preferences/preferences-sheet.vue
diff --git a/packages/business/layouts/src/widgets/preferences/preferences.vue b/packages/effects/layouts/src/widgets/preferences/preferences.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/preferences.vue
rename to packages/effects/layouts/src/widgets/preferences/preferences.vue
diff --git a/packages/business/layouts/src/widgets/preferences/use-open-preferences.ts b/packages/effects/layouts/src/widgets/preferences/use-open-preferences.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/preferences/use-open-preferences.ts
rename to packages/effects/layouts/src/widgets/preferences/use-open-preferences.ts
diff --git a/packages/business/layouts/src/widgets/theme-toggle/index.ts b/packages/effects/layouts/src/widgets/theme-toggle/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/theme-toggle/index.ts
rename to packages/effects/layouts/src/widgets/theme-toggle/index.ts
diff --git a/packages/business/layouts/src/widgets/theme-toggle/theme-button.vue b/packages/effects/layouts/src/widgets/theme-toggle/theme-button.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/theme-toggle/theme-button.vue
rename to packages/effects/layouts/src/widgets/theme-toggle/theme-button.vue
diff --git a/packages/business/layouts/src/widgets/theme-toggle/theme-toggle.vue b/packages/effects/layouts/src/widgets/theme-toggle/theme-toggle.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/theme-toggle/theme-toggle.vue
rename to packages/effects/layouts/src/widgets/theme-toggle/theme-toggle.vue
diff --git a/packages/business/layouts/src/widgets/user-dropdown/index.ts b/packages/effects/layouts/src/widgets/user-dropdown/index.ts
similarity index 100%
rename from packages/business/layouts/src/widgets/user-dropdown/index.ts
rename to packages/effects/layouts/src/widgets/user-dropdown/index.ts
diff --git a/packages/business/layouts/src/widgets/user-dropdown/user-dropdown.vue b/packages/effects/layouts/src/widgets/user-dropdown/user-dropdown.vue
similarity index 100%
rename from packages/business/layouts/src/widgets/user-dropdown/user-dropdown.vue
rename to packages/effects/layouts/src/widgets/user-dropdown/user-dropdown.vue
diff --git a/packages/business/universal-ui/tailwind.config.mjs b/packages/effects/layouts/tailwind.config.mjs
similarity index 100%
rename from packages/business/universal-ui/tailwind.config.mjs
rename to packages/effects/layouts/tailwind.config.mjs
diff --git a/packages/business/layouts/tsconfig.json b/packages/effects/layouts/tsconfig.json
similarity index 100%
rename from packages/business/layouts/tsconfig.json
rename to packages/effects/layouts/tsconfig.json
diff --git a/packages/types/global.d.ts b/packages/types/global.d.ts
index 256fb9d9..8b3f646e 100644
--- a/packages/types/global.d.ts
+++ b/packages/types/global.d.ts
@@ -7,7 +7,6 @@ declare module 'vue-router' {
}
declare global {
- // interface Window {
const __VBEN_ADMIN_METADATA__: {
authorEmail: string;
authorName: string;
@@ -21,5 +20,4 @@ declare global {
repositoryUrl: string;
version: string;
};
- // }
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 0dedaf75..1d0b44db 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -194,10 +194,13 @@ importers:
version: link:../../packages/@core/forward/stores
'@vben/access':
specifier: workspace:*
- version: link:../../packages/business/access
+ version: link:../../packages/effects/access
'@vben/chart-ui':
specifier: workspace:*
- version: link:../../packages/business/chart-ui
+ version: link:../../packages/effects/chart-ui
+ '@vben/common-ui':
+ specifier: workspace:*
+ version: link:../../packages/effects/common-ui
'@vben/constants':
specifier: workspace:*
version: link:../../packages/constants
@@ -206,16 +209,13 @@ importers:
version: link:../../packages/icons
'@vben/layouts':
specifier: workspace:*
- version: link:../../packages/business/layouts
+ version: link:../../packages/effects/layouts
'@vben/styles':
specifier: workspace:*
version: link:../../packages/styles
'@vben/types':
specifier: workspace:*
version: link:../../packages/types
- '@vben/universal-ui':
- specifier: workspace:*
- version: link:../../packages/business/universal-ui
'@vben/utils':
specifier: workspace:*
version: link:../../packages/utils
@@ -795,7 +795,13 @@ importers:
specifier: ^3.4.31
version: 3.4.31(typescript@5.5.3)
- packages/business/access:
+ packages/constants:
+ dependencies:
+ '@vben-core/constants':
+ specifier: workspace:*
+ version: link:../@core/shared/constants
+
+ packages/effects/access:
dependencies:
'@vben-core/helpers':
specifier: workspace:*
@@ -816,7 +822,7 @@ importers:
specifier: ^3.4.31
version: 3.4.31(typescript@5.5.3)
- packages/business/chart-ui:
+ packages/effects/chart-ui:
dependencies:
'@vben-core/preferences':
specifier: workspace:*
@@ -831,7 +837,41 @@ importers:
specifier: ^3.4.31
version: 3.4.31(typescript@5.5.3)
- packages/business/layouts:
+ packages/effects/common-ui:
+ dependencies:
+ '@vben-core/iconify':
+ specifier: workspace:*
+ version: link:../../@core/shared/iconify
+ '@vben-core/locales':
+ specifier: workspace:*
+ version: link:../../@core/locales
+ '@vben-core/shadcn-ui':
+ specifier: workspace:*
+ version: link:../../@core/ui-kit/shadcn-ui
+ '@vben/constants':
+ specifier: workspace:*
+ version: link:../../constants
+ '@vben/types':
+ specifier: workspace:*
+ version: link:../../types
+ '@vueuse/integrations':
+ specifier: ^10.11.0
+ version: 10.11.0(async-validator@4.2.5)(axios@1.7.2)(focus-trap@7.5.4)(nprogress@0.2.0)(qrcode@1.5.3)(vue@3.4.31(typescript@5.5.3))
+ qrcode:
+ specifier: ^1.5.3
+ version: 1.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
+
+ packages/effects/layouts:
dependencies:
'@vben-core/helpers':
specifier: workspace:*
@@ -876,46 +916,6 @@ importers:
specifier: ^4.4.0
version: 4.4.0(vue@3.4.31(typescript@5.5.3))
- packages/business/universal-ui:
- dependencies:
- '@vben-core/iconify':
- specifier: workspace:*
- version: link:../../@core/shared/iconify
- '@vben-core/locales':
- specifier: workspace:*
- version: link:../../@core/locales
- '@vben-core/shadcn-ui':
- specifier: workspace:*
- version: link:../../@core/ui-kit/shadcn-ui
- '@vben/constants':
- specifier: workspace:*
- version: link:../../constants
- '@vben/types':
- specifier: workspace:*
- version: link:../../types
- '@vueuse/integrations':
- specifier: ^10.11.0
- version: 10.11.0(async-validator@4.2.5)(axios@1.7.2)(focus-trap@7.5.4)(nprogress@0.2.0)(qrcode@1.5.3)(vue@3.4.31(typescript@5.5.3))
- qrcode:
- specifier: ^1.5.3
- version: 1.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
-
- packages/constants:
- dependencies:
- '@vben-core/constants':
- specifier: workspace:*
- version: link:../@core/shared/constants
-
packages/hooks: {}
packages/icons:
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 5bb51cf3..f7c56836 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -7,7 +7,7 @@ packages:
- "packages/@core/forward/*"
- "packages/@core/helpers"
- "packages/@core/locales"
- - "packages/business/*"
+ - "packages/effects/*"
- "apps/*"
- "scripts/*"
- "website"
diff --git a/vben-admin.code-workspace b/vben-admin.code-workspace
index 84c301e3..2d12250e 100644
--- a/vben-admin.code-workspace
+++ b/vben-admin.code-workspace
@@ -100,25 +100,25 @@
"name": "@vben-core/tabs-ui",
"path": "packages/@core/ui-kit/tabs-ui",
},
+ {
+ "name": "@vben/constants",
+ "path": "packages/constants",
+ },
{
"name": "@vben/access",
- "path": "packages/business/access",
+ "path": "packages/effects/access",
},
{
"name": "@vben/chart-ui",
- "path": "packages/business/chart-ui",
+ "path": "packages/effects/chart-ui",
+ },
+ {
+ "name": "@vben/common-ui",
+ "path": "packages/effects/common-ui",
},
{
"name": "@vben/layouts",
- "path": "packages/business/layouts",
- },
- {
- "name": "@vben/universal-ui",
- "path": "packages/business/universal-ui",
- },
- {
- "name": "@vben/constants",
- "path": "packages/constants",
+ "path": "packages/effects/layouts",
},
{
"name": "@vben/hooks",