diff --git a/apps/web-antd/package.json b/apps/web-antd/package.json index 4b1f5500..158f11e3 100644 --- a/apps/web-antd/package.json +++ b/apps/web-antd/package.json @@ -35,7 +35,7 @@ "@vben/styles": "workspace:*", "@vben/types": "workspace:*", "@vben/utils": "workspace:*", - "@vueuse/core": "^10.10.1", + "@vueuse/core": "^10.11.0", "ant-design-vue": "^4.2.3", "axios": "^1.7.2", "dayjs": "^1.11.11", diff --git a/apps/web-antd/src/router/routes/modules/fallback.ts b/apps/web-antd/src/router/routes/modules/fallback.ts index 4f38dccf..44221e70 100644 --- a/apps/web-antd/src/router/routes/modules/fallback.ts +++ b/apps/web-antd/src/router/routes/modules/fallback.ts @@ -42,6 +42,15 @@ const routes: RouteRecordRaw[] = [ title: '500', }, }, + { + name: 'FallbackOffline', + path: 'offline', + component: () => import('@/views/_essential/fallback/offline.vue'), + meta: { + icon: 'mdi:offline', + title: $t('fallback.offline'), + }, + }, ], }, ]; diff --git a/apps/web-antd/src/views/_essential/fallback/offline.vue b/apps/web-antd/src/views/_essential/fallback/offline.vue new file mode 100644 index 00000000..de5e6a82 --- /dev/null +++ b/apps/web-antd/src/views/_essential/fallback/offline.vue @@ -0,0 +1,7 @@ + + + diff --git a/internal/lint-configs/eslint-config/package.json b/internal/lint-configs/eslint-config/package.json index a40fcfa5..a7554c5c 100644 --- a/internal/lint-configs/eslint-config/package.json +++ b/internal/lint-configs/eslint-config/package.json @@ -41,11 +41,11 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-i": "^2.29.1", - "eslint-plugin-jsdoc": "^48.2.9", + "eslint-plugin-jsdoc": "^48.2.11", "eslint-plugin-jsonc": "^2.16.0", - "eslint-plugin-n": "^17.8.1", + "eslint-plugin-n": "^17.9.0", "eslint-plugin-no-only-tests": "^3.1.0", - "eslint-plugin-perfectionist": "^2.10.0", + "eslint-plugin-perfectionist": "^2.11.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-regexp": "^2.6.0", "eslint-plugin-unicorn": "^53.0.0", diff --git a/internal/lint-configs/prettier-config/package.json b/internal/lint-configs/prettier-config/package.json index ee46aa23..c8ece439 100644 --- a/internal/lint-configs/prettier-config/package.json +++ b/internal/lint-configs/prettier-config/package.json @@ -32,6 +32,6 @@ }, "dependencies": { "prettier": "3.3.0", - "prettier-plugin-tailwindcss": "^0.6.3" + "prettier-plugin-tailwindcss": "^0.6.4" } } diff --git a/internal/tailwind-config/package.json b/internal/tailwind-config/package.json index 24aaed1c..9b4ec59f 100644 --- a/internal/tailwind-config/package.json +++ b/internal/tailwind-config/package.json @@ -48,7 +48,7 @@ "tailwindcss": "^3.4.3" }, "dependencies": { - "@iconify/json": "^2.2.218", + "@iconify/json": "^2.2.219", "@iconify/tailwind": "^1.1.1", "@tailwindcss/forms": "^0.5.7", "@tailwindcss/nesting": "0.0.0-insiders.565cd3e", diff --git a/packages/@core/forward/preferences/package.json b/packages/@core/forward/preferences/package.json index 0342a15f..3717e44f 100644 --- a/packages/@core/forward/preferences/package.json +++ b/packages/@core/forward/preferences/package.json @@ -36,7 +36,7 @@ "@vben-core/helpers": "workspace:*", "@vben-core/toolkit": "workspace:*", "@vben-core/typings": "workspace:*", - "@vueuse/core": "^10.10.1", + "@vueuse/core": "^10.11.0", "vue": "3.4.27" } } diff --git a/packages/@core/uikit/layout-ui/package.json b/packages/@core/uikit/layout-ui/package.json index 51e72573..727fc68c 100644 --- a/packages/@core/uikit/layout-ui/package.json +++ b/packages/@core/uikit/layout-ui/package.json @@ -44,7 +44,7 @@ "@vben-core/iconify": "workspace:*", "@vben-core/shadcn-ui": "workspace:*", "@vben-core/typings": "workspace:*", - "@vueuse/core": "^10.10.1", + "@vueuse/core": "^10.11.0", "vue": "3.4.27" } } diff --git a/packages/@core/uikit/menu-ui/package.json b/packages/@core/uikit/menu-ui/package.json index 9c9bc777..e09f382e 100644 --- a/packages/@core/uikit/menu-ui/package.json +++ b/packages/@core/uikit/menu-ui/package.json @@ -46,7 +46,7 @@ "@vben-core/shadcn-ui": "workspace:*", "@vben-core/toolkit": "workspace:*", "@vben-core/typings": "workspace:*", - "@vueuse/core": "^10.10.1", + "@vueuse/core": "^10.11.0", "vue": "3.4.27" } } diff --git a/packages/@core/uikit/shadcn-ui/package.json b/packages/@core/uikit/shadcn-ui/package.json index 332e38cf..fa34dfe1 100644 --- a/packages/@core/uikit/shadcn-ui/package.json +++ b/packages/@core/uikit/shadcn-ui/package.json @@ -50,7 +50,7 @@ "@vben-core/iconify": "workspace:*", "@vben-core/toolkit": "workspace:*", "@vben-core/typings": "workspace:*", - "@vueuse/core": "^10.10.1", + "@vueuse/core": "^10.11.0", "class-variance-authority": "^0.7.0", "clsx": "2.1.1", "radix-vue": "^1.8.3", diff --git a/packages/business/common-ui/package.json b/packages/business/common-ui/package.json index e00c574e..6b7d9986 100644 --- a/packages/business/common-ui/package.json +++ b/packages/business/common-ui/package.json @@ -50,8 +50,8 @@ "@vben-core/shadcn-ui": "workspace:*", "@vben-core/toolkit": "workspace:*", "@vben/locales": "workspace:*", - "@vueuse/core": "^10.10.1", - "@vueuse/integrations": "^10.10.1", + "@vueuse/core": "^10.11.0", + "@vueuse/integrations": "^10.11.0", "qrcode": "^1.5.3", "vue": "3.4.27", "vue-router": "^4.3.3" diff --git a/packages/business/common-ui/src/fallback/fallback.ts b/packages/business/common-ui/src/fallback/fallback.ts index d8daae87..44dd261a 100644 --- a/packages/business/common-ui/src/fallback/fallback.ts +++ b/packages/business/common-ui/src/fallback/fallback.ts @@ -22,7 +22,7 @@ interface FallbackProps { /** * @zh_CN 内置类型 */ - status?: '403' | '404' | '500'; + status?: '403' | '404' | '500' | 'offline'; /** * @zh_CN 页面提示语 */ diff --git a/packages/business/common-ui/src/fallback/fallback.vue b/packages/business/common-ui/src/fallback/fallback.vue index e317ce3d..9cf54f80 100644 --- a/packages/business/common-ui/src/fallback/fallback.vue +++ b/packages/business/common-ui/src/fallback/fallback.vue @@ -1,17 +1,13 @@