From a48316c3c3e7881e426e0fa91ca3cafd6a5e0602 Mon Sep 17 00:00:00 2001 From: zhangtao <9480807882@qq.com> Date: Fri, 15 May 2026 01:09:40 +0800 Subject: [PATCH] =?UTF-8?q?build(deps):=20=E5=8D=87=E7=BA=A7=E5=89=8D?= =?UTF-8?q?=E7=AB=AF=E4=BE=9D=E8=B5=96=E5=8F=8A=E9=80=82=E9=85=8DVue3/Vite?= =?UTF-8?q?7=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/web/.npmrc | 2 + frontend/web/package.json | 93 +- .../banners/fa-basic-banner/index.vue | 1 + .../banners/fa-card-banner/index.vue | 2 +- .../components/cards/fa-image-card/index.vue | 3 +- .../fa-dual-bar-compare-chart/index.vue | 1 - .../charts/fa-k-line-chart/index.vue | 3 +- .../components/charts/fa-map-chart/index.vue | 2 +- .../charts/fa-scatter-chart/index.vue | 1 - .../forms/fa-button-table/index.vue | 2 +- .../forms/fa-excel-export/index.vue | 4 +- .../forms/fa-excel-import/index.vue | 4 +- .../layouts/fa-header-bar/index.vue | 2 +- .../fa-header-bar/widget/FaUserMenu.vue | 51 - .../fa-menus/fa-sidebar-menu/index.vue | 2 +- .../fa-sidebar-menu/widget/SidebarSubmenu.vue | 6 +- .../layouts/fa-notification/index.vue | 10 +- .../layouts/fa-page-content/index.vue | 4 +- .../layouts/fa-screen-lock/index.vue | 12 +- .../widget/MenuLayoutSettings.vue | 2 +- .../widget/MenuStyleSettings.vue | 2 +- .../widget/ThemeSettings.vue | 2 +- .../components/media/fa-cutter-img/index.vue | 4 +- .../modal/fa-export-dialog/index.vue | 4 +- .../modal/fa-import-dialog/index.vue | 4 +- .../components/others/fa-calendar/index.vue | 4 +- .../others/fa-github-corner/index.vue | 4 +- .../src/components/others/fa-guide/index.vue | 2 +- .../others/fa-icon-select/index.vue | 2 +- .../others/fa-interval-tab/index.vue | 2 +- .../others/fa-markdown-renderer/index.vue | 2 +- .../others/fa-table-select/index.vue | 2 +- .../components/others/fa-watermark/index.vue | 2 +- .../views/fa-login/LoginLeftView.vue | 35 +- frontend/web/src/config/modules/fastEnter.ts | 20 +- .../web/src/directives/business/highlight.ts | 5 +- frontend/web/src/hooks/core/useChart.ts | 1 - frontend/web/src/hooks/core/useTable.ts | 2 +- frontend/web/src/locales/langs/en.json | 1 + frontend/web/src/locales/langs/zh.json | 1 + frontend/web/src/router/beforeEach.ts | 146 +- frontend/web/src/router/staticRoutes.ts | 5 +- frontend/web/src/store/modules/user.store.ts | 11 +- frontend/web/src/styles/core/app.scss | 5 + frontend/web/src/styles/core/md.scss | 10 +- .../web/src/styles/core/theme-animation.scss | 4 +- frontend/web/src/utils/http/index.ts | 12 +- frontend/web/src/utils/socket/index.ts | 4 +- .../src/views/dashboard/analysis/index.vue | 677 +++++-- .../analysis/modules/top-products.vue | 2 +- .../web/src/views/dashboard/home/index.vue | 1584 +++-------------- .../dashboard/home/modules/annual-sales.vue | 2 +- .../views/dashboard/home/modules/banner.vue | 2 +- .../home/modules/cart-conversion-rate.vue | 2 +- .../dashboard/home/modules/hot-commodity.vue | 2 +- .../home/modules/hot-products-list.vue | 12 +- .../dashboard/home/modules/product-sales.vue | 2 +- .../home/modules/recent-transaction.vue | 2 +- .../home/modules/sales-classification.vue | 2 +- .../dashboard/home/modules/sales-growth.vue | 2 +- .../dashboard/home/modules/sales-trend.vue | 2 +- .../home/modules/total-order-volume.vue | 2 +- .../dashboard/home/modules/total-products.vue | 2 +- .../home/modules/transaction-list.vue | 28 +- .../src/views/dashboard/workplace/index.vue | 578 +----- .../workplace/modules/about-project.vue | 4 +- .../workplace/modules/active-user.vue | 2 +- .../dashboard/workplace/modules/card-list.vue | 196 +- .../workplace/modules/dynamic-stats.vue | 2 +- .../dashboard/workplace/modules/new-user.vue | 11 +- .../workplace/modules/sales-overview.vue | 2 +- .../dashboard/workplace/modules/todo-list.vue | 2 +- .../components/ArticlePublishDrawer.vue | 4 +- .../web/src/views/fastlink/article/index.vue | 6 +- .../web/src/views/fastlink/tutorial/index.vue | 134 +- .../module_ai/chat/components/MessageItem.vue | 2 +- .../web/src/views/module_ai/memory/index.vue | 6 +- .../src/views/module_example/demo/index.vue | 16 +- .../src/views/module_example/demo01/index.vue | 8 +- .../gencode/components/CreateTableDialog.vue | 2 +- .../gencode/components/GenBasicStep.vue | 2 +- .../gencode/components/GenColumnsStep.vue | 4 +- .../components/ImportDbTableDialog.vue | 4 +- .../views/module_generator/gencode/index.vue | 32 +- .../src/views/module_monitor/cache/index.vue | 264 +-- .../src/views/module_monitor/online/index.vue | 6 +- .../src/views/module_monitor/server/index.vue | 344 ++-- .../login/components/LoginAccountForm.vue | 2 +- .../login/components/LoginAuthLinkRow.vue | 2 +- .../login/components/LoginRegisterPanel.vue | 2 +- .../views/module_system/auth/login/index.vue | 4 +- .../src/views/module_system/dept/index.vue | 8 +- .../dict/components/DataDrawer.vue | 2 +- .../src/views/module_system/dict/index.vue | 8 +- .../web/src/views/module_system/log/index.vue | 8 +- .../src/views/module_system/menu/index.vue | 20 +- .../src/views/module_system/notice/index.vue | 8 +- .../param/components/ConfigInfoDrawer.vue | 30 +- .../src/views/module_system/param/index.vue | 8 +- .../views/module_system/position/index.vue | 8 +- .../role/components/PermissonDrawer.vue | 16 +- .../src/views/module_system/role/index.vue | 12 +- .../src/views/module_system/tenant/index.vue | 8 +- .../src/views/module_system/user/index.vue | 14 +- .../views/module_task/cronjob/node/index.vue | 16 +- .../components/WorkflowDesignDrawer.vue | 47 +- .../module_task/workflow/definition/index.vue | 6 +- .../module_task/workflow/node-type/index.vue | 6 +- frontend/web/tsconfig.json | 29 +- frontend/web/vite.config.ts | 32 +- 110 files changed, 1863 insertions(+), 2894 deletions(-) create mode 100644 frontend/web/.npmrc diff --git a/frontend/web/.npmrc b/frontend/web/.npmrc new file mode 100644 index 00000000..acf8d0ce --- /dev/null +++ b/frontend/web/.npmrc @@ -0,0 +1,2 @@ +# 抑制废弃子依赖警告(fstream、lodash.isequal 等深层依赖已无新版可升级) +deprecated-warning=false diff --git a/frontend/web/package.json b/frontend/web/package.json index 98b26ae8..8ce1fd95 100755 --- a/frontend/web/package.json +++ b/frontend/web/package.json @@ -21,7 +21,7 @@ "ts:check": "pnpm vue-tsc --noEmit --skipLibCheck", "npm:check": "pnpx npm-check-updates -u", "clean:cache": "pnpx rimraf node_modules/.cache node_modules/.vite", - "prepare": "husky install", + "prepare": "husky", "icon": "esno ./scripts/icon.ts", "preview": "vite preview", "type-check": "vue-tsc --noEmit", @@ -73,75 +73,74 @@ "@iconify-json/line-md": "^1.2.16", "@iconify-json/ri": "^1.2.10", "@iconify-json/svg-spinners": "^1.2.4", - "@iconify/vue": "^5.0.0", - "@tailwindcss/vite": "^4.1.14", + "@iconify/vue": "^5.0.1", + "@tailwindcss/vite": "^4.3.0", "@vue-flow/background": "^1.3.2", "@vue-flow/controls": "^1.1.3", "@vue-flow/core": "^1.48.1", "@vue-flow/minimap": "^1.5.4", - "@vueuse/core": "^13.9.0", - "@wangeditor-next/editor": "^5.6.49", + "@vueuse/core": "^14.3.0", + "@wangeditor-next/editor": "^5.7.0", "@wangeditor-next/editor-for-vue": "^5.1.14", "animate.css": "^4.1.1", - "axios": "^1.12.2", + "axios": "^1.16.1", "clipboard": "^2.0.11", - "codemirror": "^5.65.19", + "codemirror": "^5.65.21", "codemirror-editor-vue3": "^2.8.0", "crypto-js": "^4.2.0", "dagre": "^0.8.5", - "dayjs": "^1.11.13", - "dompurify": "^3.3.1", + "dayjs": "^1.11.20", + "dompurify": "^3.4.3", "echarts": "^6.0.0", - "element-plus": "^2.11.2", + "element-plus": "^2.14.0", "exceljs": "^4.4.0", "file-saver": "^2.0.5", "highlight.js": "^11.11.1", "js-beautify": "^1.15.4", "markdown-it": "^14.1.0", - "markdown-it-highlightjs": "^4.2.0", + "markdown-it-highlightjs": "^4.3.0", "mitt": "^3.0.1", "nprogress": "^0.2.0", "ohash": "^2.0.11", "path-browserify": "^1.0.1", - "path-to-regexp": "^8.2.0", - "pinia": "^3.0.3", - "pinia-plugin-persistedstate": "^4.4.1", - "qrcode.vue": "^3.6.0", - "qs": "^6.14.0", - "tailwindcss": "^4.1.14", - "vue": "^3.5.21", + "path-to-regexp": "^8.4.2", + "pinia": "^3.0.4", + "pinia-plugin-persistedstate": "^4.7.1", + "qrcode.vue": "^3.9.0", + "qs": "^6.15.0", + "tailwindcss": "^4.3.0", + "vue": "^3.5.34", "vue-draggable-plus": "^0.6.0", "vue-i18n": "^11.1.10", "vue-json-pretty": "^2.5.0", - "vue-router": "^4.5.1", + "vue-router": "^5.0.7", "vue-web-terminal": "^3.4.1", "vue3-cron-plus": "^0.1.9", - "vuedraggable": "^4.1.0", + "vuedraggable": "^2.24.3", "xgplayer": "^3.0.20", "xlsx": "^0.18.5" }, "devDependencies": { - "@commitlint/cli": "^19.4.1", - "@commitlint/config-conventional": "^19.4.1", - "@eslint/js": "^9.32.0", + "@commitlint/cli": "^21.0.1", + "@commitlint/config-conventional": "^21.0.1", + "@eslint/js": "^10.0.0", "@iconify/utils": "^2.3.0", - "@types/codemirror": "^5.60.16", - "@types/dagre": "^0.7.53", - "@types/dompurify": "^3.2.0", + "@types/codemirror": "^5.60.17", + "@types/dagre": "^0.7.54", "@types/file-saver": "^2.0.7", "@types/markdown-it": "^14.1.2", "@types/node": "^24.0.5", "@types/nprogress": "^0.2.3", "@types/path-browserify": "^1.0.3", "@types/qs": "^6.14.0", - "@typescript-eslint/eslint-plugin": "^8.38.0", - "@typescript-eslint/parser": "^8.38.0", - "@vitejs/plugin-vue": "^6.0.1", - "@vue/compiler-sfc": "^3.0.5", + "@typescript-eslint/eslint-plugin": "^8.59.3", + "@typescript-eslint/parser": "^8.59.3", + "@vitejs/plugin-vue": "^6.0.6", + "@vue/compiler-sfc": "^3.5.22", "autoprefixer": "^10.4.21", "commitizen": "^4.3.1", - "cz-git": "^1.12.0", - "eslint": "^9.32.0", + "cz-git": "^1.13.1", + "eslint": "^10.3.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.3", "eslint-plugin-vue": "^10.4.0", @@ -155,28 +154,38 @@ "prettier": "^3.6.2", "rollup-plugin-visualizer": "^5.12.0", "sass": "^1.89.2", - "stylelint": "^16.25.0", + "stylelint": "^17.0.0", "stylelint-config-html": "^1.1.0", - "stylelint-config-recess-order": "^6.1.0", - "stylelint-config-recommended": "^15.0.0", - "stylelint-config-recommended-scss": "^14.1.0", + "stylelint-config-recess-order": "^7.7.0", + "stylelint-config-recommended": "^18.0.0", + "stylelint-config-recommended-scss": "^17.0.1", "stylelint-config-recommended-vue": "^1.6.1", - "stylelint-config-standard": "^36.0.1", + "stylelint-config-standard": "^40.0.0", + "stylelint-order": "^8.0.0", "stylelint-prettier": "^5.0.3", "terser": "^5.43.1", "tsx": "^4.20.3", - "typescript": "^5.8.3", - "typescript-eslint": "^8.38.0", + "typescript": "^6.0.3", + "typescript-eslint": "^8.59.3", "unplugin-auto-import": "^20.2.0", "unplugin-element-plus": "^0.10.0", "unplugin-vue-components": "^29.1.0", "vite": "^7.1.5", "vite-plugin-compression": "^0.5.1", - "vite-plugin-vue-devtools": "^7.7.6", + "vite-plugin-vue-devtools": "^8.1.2", "vue-demi": "^0.14.9", - "vue-eslint-parser": "^10.2.0", + "vue-eslint-parser": "^10.4.0", "vue-img-cutter": "^3.0.5", - "vue-tsc": "^2.2.12" + "vue-tsc": "^3.2.9" + }, + "pnpm": { + "overrides": { + "glob": "13.0.6", + "rimraf": "6.1.3", + "uuid": "14.0.0", + "fstream": "1.0.12", + "lodash.isequal": "4.5.0" + } }, "packageManager": "pnpm@9.15.3", "engines": { diff --git a/frontend/web/src/components/banners/fa-basic-banner/index.vue b/frontend/web/src/components/banners/fa-basic-banner/index.vue index 23990a3c..d1b6d486 100644 --- a/frontend/web/src/components/banners/fa-basic-banner/index.vue +++ b/frontend/web/src/components/banners/fa-basic-banner/index.vue @@ -60,6 +60,7 @@ :src="imageConfig.src" :style="{ width: imageConfig.width, bottom: imageConfig.bottom, right: imageConfig.right }" alt="背景图片" + loading="eager" /> diff --git a/frontend/web/src/components/banners/fa-card-banner/index.vue b/frontend/web/src/components/banners/fa-card-banner/index.vue index 66c4502e..d90e5deb 100644 --- a/frontend/web/src/components/banners/fa-card-banner/index.vue +++ b/frontend/web/src/components/banners/fa-card-banner/index.vue @@ -3,7 +3,7 @@
- +

{{ title }}

diff --git a/frontend/web/src/components/cards/fa-image-card/index.vue b/frontend/web/src/components/cards/fa-image-card/index.vue index 569a92a3..94458ea8 100644 --- a/frontend/web/src/components/cards/fa-image-card/index.vue +++ b/frontend/web/src/components/cards/fa-image-card/index.vue @@ -2,11 +2,10 @@