From 851dff8c953c5623a4dd9861bcca41088d09866e Mon Sep 17 00:00:00 2001 From: Hooray Hu <304327508@qq.com> Date: Fri, 13 Sep 2024 02:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=20vite-plugin-vue-app-loadin?= =?UTF-8?q?g=20=E6=8F=92=E4=BB=B6=E4=BB=A3=E6=9B=BF=E6=A1=86=E6=9E=B6?= =?UTF-8?q?=E9=A6=96=E5=B1=8Floading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 423 ++++++++++++++++++++++++++++++++++--------- src/types/shims.d.ts | 7 - tsconfig.json | 1 + vite/plugins.ts | 40 +--- 5 files changed, 340 insertions(+), 132 deletions(-) diff --git a/package.json b/package.json index 21ee21684..ac2441657 100755 --- a/package.json +++ b/package.json @@ -120,6 +120,7 @@ "vite-plugin-fake-server": "^2.1.1", "vite-plugin-pages": "^0.32.3", "vite-plugin-svg-icons": "^2.0.1", + "vite-plugin-vue-app-loading": "^0.2.1", "vite-plugin-vue-devtools": "^7.3.9", "vite-plugin-vue-meta-layouts": "^0.4.3", "vue-tsc": "^2.1.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d885af8d4..2f1823538 100755 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -164,7 +164,7 @@ importers: devDependencies: '@antfu/eslint-config': specifier: 2.24.1 - version: 2.24.1(@unocss/eslint-plugin@0.62.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.4.38)(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) + version: 2.24.1(@unocss/eslint-plugin@0.62.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.5.4)(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) '@iconify/json': specifier: ^2.2.243 version: 2.2.243 @@ -200,13 +200,13 @@ importers: version: 0.62.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) '@vitejs/plugin-legacy': specifier: ^5.4.2 - version: 5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) + version: 5.4.2(terser@5.32.0)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) '@vitejs/plugin-vue': specifier: ^5.1.3 - version: 5.1.3(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)) + version: 5.1.3(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4)) '@vitejs/plugin-vue-jsx': specifier: ^4.0.1 - version: 4.0.1(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)) + version: 4.0.1(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4)) archiver: specifier: ^7.0.1 version: 7.0.1 @@ -278,43 +278,46 @@ importers: version: 5.5.4 unocss: specifier: ^0.62.3 - version: 0.62.3(postcss@8.4.42)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) + version: 0.62.3(postcss@8.4.42)(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) unocss-preset-scrollbar: specifier: ^0.3.1 - version: 0.3.1(unocss@0.62.3(postcss@8.4.42)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))) + version: 0.3.1(unocss@0.62.3(postcss@8.4.42)(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))) unplugin-auto-import: specifier: ^0.18.2 - version: 0.18.2(@vueuse/core@11.0.3(vue@3.4.38(typescript@5.5.4)))(rollup@4.21.2) + version: 0.18.2(@vueuse/core@11.0.3(vue@3.4.38(typescript@5.5.4)))(rollup@4.21.3) unplugin-turbo-console: specifier: ^1.10.1 - version: 1.10.1(@babel/parser@7.25.6)(esbuild@0.23.1)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)) + version: 1.10.1(@babel/parser@7.25.6)(esbuild@0.23.1)(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4)) unplugin-vue-components: specifier: ^0.27.4 - version: 0.27.4(@babel/parser@7.25.6)(rollup@4.21.2)(vue@3.4.38(typescript@5.5.4)) + version: 0.27.4(@babel/parser@7.25.6)(rollup@4.21.3)(vue@3.4.38(typescript@5.5.4)) vite: specifier: ^5.4.2 - version: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + version: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) vite-plugin-banner: specifier: ^0.7.1 version: 0.7.1 vite-plugin-compression2: specifier: ^1.2.0 - version: 1.2.0(rollup@4.21.2) + version: 1.2.0(rollup@4.21.3) vite-plugin-fake-server: specifier: ^2.1.1 version: 2.1.1 vite-plugin-pages: specifier: ^0.32.3 - version: 0.32.3(@vue/compiler-sfc@3.4.38)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.38(typescript@5.5.4))) + version: 0.32.3(@vue/compiler-sfc@3.5.4)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue-router@4.4.3(vue@3.4.38(typescript@5.5.4))) vite-plugin-svg-icons: specifier: ^2.0.1 - version: 2.0.1(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) + version: 2.0.1(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) + vite-plugin-vue-app-loading: + specifier: ^0.2.1 + version: 0.2.1 vite-plugin-vue-devtools: specifier: ^7.3.9 - version: 7.3.9(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)) + version: 7.3.9(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4)) vite-plugin-vue-meta-layouts: specifier: ^0.4.3 - version: 0.4.3(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.38(typescript@5.5.4))) + version: 0.4.3(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue-router@4.4.3(vue@3.4.38(typescript@5.5.4))) vue-tsc: specifier: ^2.1.4 version: 2.1.4(typescript@5.5.4) @@ -1857,90 +1860,179 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.21.3': + resolution: {integrity: sha512-MmKSfaB9GX+zXl6E8z4koOr/xU63AMVleLEa64v7R0QF/ZloMs5vcD1sHgM64GXXS1csaJutG+ddtzcueI/BLg==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.21.2': resolution: {integrity: sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.21.3': + resolution: {integrity: sha512-zrt8ecH07PE3sB4jPOggweBjJMzI1JG5xI2DIsUbkA+7K+Gkjys6eV7i9pOenNSDJH3eOr/jLb/PzqtmdwDq5g==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.21.2': resolution: {integrity: sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.21.3': + resolution: {integrity: sha512-P0UxIOrKNBFTQaXTxOH4RxuEBVCgEA5UTNV6Yz7z9QHnUJ7eLX9reOd/NYMO3+XZO2cco19mXTxDMXxit4R/eQ==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.21.2': resolution: {integrity: sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.21.3': + resolution: {integrity: sha512-L1M0vKGO5ASKntqtsFEjTq/fD91vAqnzeaF6sfNAy55aD+Hi2pBI5DKwCO+UNDQHWsDViJLqshxOahXyLSh3EA==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': resolution: {integrity: sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==} cpu: [arm] os: [linux] libc: [glibc] + '@rollup/rollup-linux-arm-gnueabihf@4.21.3': + resolution: {integrity: sha512-btVgIsCjuYFKUjopPoWiDqmoUXQDiW2A4C3Mtmp5vACm7/GnyuprqIDPNczeyR5W8rTXEbkmrJux7cJmD99D2g==} + cpu: [arm] + os: [linux] + libc: [glibc] + '@rollup/rollup-linux-arm-musleabihf@4.21.2': resolution: {integrity: sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==} cpu: [arm] os: [linux] libc: [musl] + '@rollup/rollup-linux-arm-musleabihf@4.21.3': + resolution: {integrity: sha512-zmjbSphplZlau6ZTkxd3+NMtE4UKVy7U4aVFMmHcgO5CUbw17ZP6QCgyxhzGaU/wFFdTfiojjbLG3/0p9HhAqA==} + cpu: [arm] + os: [linux] + libc: [musl] + '@rollup/rollup-linux-arm64-gnu@4.21.2': resolution: {integrity: sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==} cpu: [arm64] os: [linux] libc: [glibc] + '@rollup/rollup-linux-arm64-gnu@4.21.3': + resolution: {integrity: sha512-nSZfcZtAnQPRZmUkUQwZq2OjQciR6tEoJaZVFvLHsj0MF6QhNMg0fQ6mUOsiCUpTqxTx0/O6gX0V/nYc7LrgPw==} + cpu: [arm64] + os: [linux] + libc: [glibc] + '@rollup/rollup-linux-arm64-musl@4.21.2': resolution: {integrity: sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==} cpu: [arm64] os: [linux] libc: [musl] + '@rollup/rollup-linux-arm64-musl@4.21.3': + resolution: {integrity: sha512-MnvSPGO8KJXIMGlQDYfvYS3IosFN2rKsvxRpPO2l2cum+Z3exiExLwVU+GExL96pn8IP+GdH8Tz70EpBhO0sIQ==} + cpu: [arm64] + os: [linux] + libc: [musl] + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': resolution: {integrity: sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==} cpu: [ppc64] os: [linux] libc: [glibc] + '@rollup/rollup-linux-powerpc64le-gnu@4.21.3': + resolution: {integrity: sha512-+W+p/9QNDr2vE2AXU0qIy0qQE75E8RTwTwgqS2G5CRQ11vzq0tbnfBd6brWhS9bCRjAjepJe2fvvkvS3dno+iw==} + cpu: [ppc64] + os: [linux] + libc: [glibc] + '@rollup/rollup-linux-riscv64-gnu@4.21.2': resolution: {integrity: sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==} cpu: [riscv64] os: [linux] libc: [glibc] + '@rollup/rollup-linux-riscv64-gnu@4.21.3': + resolution: {integrity: sha512-yXH6K6KfqGXaxHrtr+Uoy+JpNlUlI46BKVyonGiaD74ravdnF9BUNC+vV+SIuB96hUMGShhKV693rF9QDfO6nQ==} + cpu: [riscv64] + os: [linux] + libc: [glibc] + '@rollup/rollup-linux-s390x-gnu@4.21.2': resolution: {integrity: sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==} cpu: [s390x] os: [linux] libc: [glibc] + '@rollup/rollup-linux-s390x-gnu@4.21.3': + resolution: {integrity: sha512-R8cwY9wcnApN/KDYWTH4gV/ypvy9yZUHlbJvfaiXSB48JO3KpwSpjOGqO4jnGkLDSk1hgjYkTbTt6Q7uvPf8eg==} + cpu: [s390x] + os: [linux] + libc: [glibc] + '@rollup/rollup-linux-x64-gnu@4.21.2': resolution: {integrity: sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==} cpu: [x64] os: [linux] libc: [glibc] + '@rollup/rollup-linux-x64-gnu@4.21.3': + resolution: {integrity: sha512-kZPbX/NOPh0vhS5sI+dR8L1bU2cSO9FgxwM8r7wHzGydzfSjLRCFAT87GR5U9scj2rhzN3JPYVC7NoBbl4FZ0g==} + cpu: [x64] + os: [linux] + libc: [glibc] + '@rollup/rollup-linux-x64-musl@4.21.2': resolution: {integrity: sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==} cpu: [x64] os: [linux] libc: [musl] + '@rollup/rollup-linux-x64-musl@4.21.3': + resolution: {integrity: sha512-S0Yq+xA1VEH66uiMNhijsWAafffydd2X5b77eLHfRmfLsRSpbiAWiRHV6DEpz6aOToPsgid7TI9rGd6zB1rhbg==} + cpu: [x64] + os: [linux] + libc: [musl] + '@rollup/rollup-win32-arm64-msvc@4.21.2': resolution: {integrity: sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.21.3': + resolution: {integrity: sha512-9isNzeL34yquCPyerog+IMCNxKR8XYmGd0tHSV+OVx0TmE0aJOo9uw4fZfUuk2qxobP5sug6vNdZR6u7Mw7Q+Q==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.21.2': resolution: {integrity: sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.21.3': + resolution: {integrity: sha512-nMIdKnfZfzn1Vsk+RuOvl43ONTZXoAPUUxgcU0tXooqg4YrAqzfKzVenqqk2g5efWh46/D28cKFrOzDSW28gTA==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.21.2': resolution: {integrity: sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.21.3': + resolution: {integrity: sha512-fOvu7PCQjAj4eWDEuD8Xz5gpzFqXzGlxHZozHP4b9Jxv9APtdxL6STqztDzMLuRXEc4UpXGGhx029Xgm91QBeA==} + cpu: [x64] + os: [win32] + '@stylistic/eslint-plugin-js@2.6.1': resolution: {integrity: sha512-iLOiVzcvqzDGD9U0EuVOX680v+XOPiPAjkxWj+Q6iV2GLOM5NB27tKVOpJY7AzBhidwpRbaLTgg3T4UzYx09jw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2107,6 +2199,9 @@ packages: '@types/node@22.5.1': resolution: {integrity: sha512-KkHsxej0j9IW1KKOOAA/XBA0z08UFSrRQHErzEfA3Vgq57eXIMYboIlHJuYIfd+lwCQjtKqUu3UnmKbtUc9yRw==} + '@types/node@22.5.4': + resolution: {integrity: sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==} + '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -2499,18 +2594,30 @@ packages: '@vue/compiler-core@3.4.38': resolution: {integrity: sha512-8IQOTCWnLFqfHzOGm9+P8OPSEDukgg3Huc92qSG49if/xI2SAwLHQO2qaPQbjCWPBcQoO1WYfXfTACUrWV3c5A==} + '@vue/compiler-core@3.5.4': + resolution: {integrity: sha512-oNwn+BAt3n9dK9uAYvI+XGlutwuTq/wfj4xCBaZCqwwVIGtD7D6ViihEbyYZrDHIHTDE3Q6oL3/hqmAyFEy9DQ==} + '@vue/compiler-dom@3.4.38': resolution: {integrity: sha512-Osc/c7ABsHXTsETLgykcOwIxFktHfGSUDkb05V61rocEfsFDcjDLH/IHJSNJP+/Sv9KeN2Lx1V6McZzlSb9EhQ==} + '@vue/compiler-dom@3.5.4': + resolution: {integrity: sha512-yP9RRs4BDLOLfldn6ah+AGCNovGjMbL9uHvhDHf5wan4dAHLnFGOkqtfE7PPe4HTXIqE7l/NILdYw53bo1C8jw==} + '@vue/compiler-sfc@2.7.16': resolution: {integrity: sha512-KWhJ9k5nXuNtygPU7+t1rX6baZeqOYLEforUPjgNDBnLicfHCoi48H87Q8XyLZOrNNsmhuwKqtpDQWjEFe6Ekg==} '@vue/compiler-sfc@3.4.38': resolution: {integrity: sha512-s5QfZ+9PzPh3T5H4hsQDJtI8x7zdJaew/dCGgqZ2630XdzaZ3AD8xGZfBqpT8oaD/p2eedd+pL8tD5vvt5ZYJQ==} + '@vue/compiler-sfc@3.5.4': + resolution: {integrity: sha512-P+yiPhL+NYH7m0ZgCq7AQR2q7OIE+mpAEgtkqEeH9oHSdIRvUO+4X6MPvblJIWcoe4YC5a2Gdf/RsoyP8FFiPQ==} + '@vue/compiler-ssr@3.4.38': resolution: {integrity: sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==} + '@vue/compiler-ssr@3.5.4': + resolution: {integrity: sha512-acESdTXsxPnYr2C4Blv0ggx5zIFMgOzZmYU2UgvIff9POdRGbRNBHRyzHAnizcItvpgerSKQbllUc9USp3V7eg==} + '@vue/compiler-vue2@2.7.16': resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==} @@ -2553,6 +2660,9 @@ packages: '@vue/shared@3.4.38': resolution: {integrity: sha512-q0xCiLkuWWQLzVrecPb0RMsNWyxICOjPrcrwxTUEHb1fsnvni4dcuyG7RT/Ie7VPTvnjzIaWzRMUBsrqNj/hhw==} + '@vue/shared@3.5.4': + resolution: {integrity: sha512-L2MCDD8l7yC62Te5UUyPVpmexhL9ipVnYRw9CsWfm/BGRL5FwDX4a25bcJ/OJSD3+Hx+k/a8LDKcG2AFdJV3BA==} + '@vueuse/components@11.0.3': resolution: {integrity: sha512-/mbv4R1ody3rYz42U14SQ6GkAKHCAHhFIBdR6nKJbEJeFMoiB93dzX0sT2S05CpYCJJgv3JLAwEHeehYqqmbyQ==} @@ -5628,6 +5738,9 @@ packages: picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + picocolors@1.1.0: + resolution: {integrity: sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -5756,6 +5869,10 @@ packages: resolution: {integrity: sha512-hywKUQB9Ra4dR1mGhldy5Aj1X3MWDSIA1cEi+Uy0CjheLvP6Ual5RlwMCh8i/X121yEDLDIKBsrCQ8ba3FDMfQ==} engines: {node: ^10 || ^12 || >=14} + postcss@8.4.45: + resolution: {integrity: sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q==} + engines: {node: ^10 || ^12 || >=14} + posthtml-parser@0.2.1: resolution: {integrity: sha512-nPC53YMqJnc/+1x4fRYFfm81KV2V+G9NZY+hTohpYg64Ay7NemWWcV4UWuy/SgMupqQ3kJ88M/iRfZmSnxT+pw==} @@ -6022,6 +6139,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.21.3: + resolution: {integrity: sha512-7sqRtBNnEbcBtMeRVc6VRsJMmpI+JU1z9VTvW8D4gXIYQFz0aLcsE6rRkyghZkLfEgUZgVvOG7A5CVz/VW5GIA==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + roughjs@4.5.2: resolution: {integrity: sha512-2xSlLDKdsWyFxrveYWk9YQ/Y9UfK38EAMRNkYkMqYBJvPX8abCa9PN0x3w02H8Oa6/0bcZICJU+U95VumPqseg==} @@ -6219,6 +6341,10 @@ packages: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + source-map-resolve@0.5.3: resolution: {integrity: sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==} deprecated: See https://github.com/lydell/source-map-resolve#deprecated @@ -6543,8 +6669,8 @@ packages: tar-stream@3.1.7: resolution: {integrity: sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==} - terser@5.31.6: - resolution: {integrity: sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==} + terser@5.32.0: + resolution: {integrity: sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==} engines: {node: '>=10'} hasBin: true @@ -6992,6 +7118,9 @@ packages: peerDependencies: vite: '>=2.0.0' + vite-plugin-vue-app-loading@0.2.1: + resolution: {integrity: sha512-/DE4bYFvs8akpm1CDFzGv43YVAunX1fEe718DAambRrUqBCMw+KJjfjfDzX13/lHA+zZEKrJ4053VgK57R9aVw==} + vite-plugin-vue-devtools@7.3.9: resolution: {integrity: sha512-ybDV2kepW0NpusvtfbRKHs0pvyrReNcFtL572gyZ6Alox6u5uebYefd2eAG/7mJSU3NPI5UxUH1e/Mof5exdlw==} engines: {node: '>=v14.21.3'} @@ -7277,7 +7406,7 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@antfu/eslint-config@2.24.1(@unocss/eslint-plugin@0.62.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.4.38)(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': + '@antfu/eslint-config@2.24.1(@unocss/eslint-plugin@0.62.3(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(@vue/compiler-sfc@3.5.4)(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@antfu/install-pkg': 0.3.3 '@clack/prompts': 0.7.0 @@ -7305,7 +7434,7 @@ snapshots: eslint-plugin-vitest: 0.5.4(@typescript-eslint/eslint-plugin@8.0.0(@typescript-eslint/parser@8.0.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4) eslint-plugin-vue: 9.27.0(eslint@9.9.1(jiti@1.21.6)) eslint-plugin-yml: 1.14.0(eslint@9.9.1(jiti@1.21.6)) - eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.4.38)(eslint@9.9.1(jiti@1.21.6)) + eslint-processor-vue-blocks: 0.1.2(@vue/compiler-sfc@3.5.4)(eslint@9.9.1(jiti@1.21.6)) globals: 15.9.0 jsonc-eslint-parser: 2.4.0 local-pkg: 0.5.0 @@ -8902,62 +9031,110 @@ snapshots: '@resvg/resvg-js-win32-ia32-msvc': 2.4.1 '@resvg/resvg-js-win32-x64-msvc': 2.4.1 - '@rollup/pluginutils@5.1.0(rollup@4.21.2)': + '@rollup/pluginutils@5.1.0(rollup@4.21.3)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.21.2 + rollup: 4.21.3 '@rollup/rollup-android-arm-eabi@4.21.2': optional: true + '@rollup/rollup-android-arm-eabi@4.21.3': + optional: true + '@rollup/rollup-android-arm64@4.21.2': optional: true + '@rollup/rollup-android-arm64@4.21.3': + optional: true + '@rollup/rollup-darwin-arm64@4.21.2': optional: true + '@rollup/rollup-darwin-arm64@4.21.3': + optional: true + '@rollup/rollup-darwin-x64@4.21.2': optional: true + '@rollup/rollup-darwin-x64@4.21.3': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.21.2': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.21.3': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.21.2': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.21.3': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.21.2': optional: true + '@rollup/rollup-linux-arm64-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-arm64-musl@4.21.2': optional: true + '@rollup/rollup-linux-arm64-musl@4.21.3': + optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.21.2': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.21.2': optional: true + '@rollup/rollup-linux-s390x-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-x64-gnu@4.21.2': optional: true + '@rollup/rollup-linux-x64-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-x64-musl@4.21.2': optional: true + '@rollup/rollup-linux-x64-musl@4.21.3': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.21.2': optional: true + '@rollup/rollup-win32-arm64-msvc@4.21.3': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.21.2': optional: true + '@rollup/rollup-win32-ia32-msvc@4.21.3': + optional: true + '@rollup/rollup-win32-x64-msvc@4.21.2': optional: true + '@rollup/rollup-win32-x64-msvc@4.21.3': + optional: true + '@stylistic/eslint-plugin-js@2.6.1(eslint@9.9.1(jiti@1.21.6))': dependencies: '@types/eslint': 9.6.0 @@ -9159,6 +9336,11 @@ snapshots: dependencies: undici-types: 6.19.8 + '@types/node@22.5.4': + dependencies: + undici-types: 6.19.8 + optional: true + '@types/normalize-package-data@2.4.4': {} '@types/nprogress@0.2.3': {} @@ -9358,21 +9540,21 @@ snapshots: '@typescript-eslint/types': 8.3.0 eslint-visitor-keys: 3.4.3 - '@unocss/astro@0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))': + '@unocss/astro@0.62.3(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))': dependencies: '@unocss/core': 0.62.3 '@unocss/reset': 0.62.3 - '@unocss/vite': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) + '@unocss/vite': 0.62.3(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) optionalDependencies: - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) transitivePeerDependencies: - rollup - supports-color - '@unocss/cli@0.62.3(rollup@4.21.2)': + '@unocss/cli@0.62.3(rollup@4.21.3)': dependencies: '@ampproject/remapping': 2.3.0 - '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) '@unocss/config': 0.62.3 '@unocss/core': 0.62.3 '@unocss/preset-uno': 0.62.3 @@ -9529,10 +9711,10 @@ snapshots: dependencies: '@unocss/core': 0.62.3 - '@unocss/vite@0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))': + '@unocss/vite@0.62.3(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))': dependencies: '@ampproject/remapping': 2.3.0 - '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) '@unocss/config': 0.62.3 '@unocss/core': 0.62.3 '@unocss/inspector': 0.62.3 @@ -9541,7 +9723,7 @@ snapshots: chokidar: 3.6.0 magic-string: 0.30.11 tinyglobby: 0.2.5 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) transitivePeerDependencies: - rollup - supports-color @@ -9687,7 +9869,7 @@ snapshots: '@turf/invariant': 6.5.0 eventemitter3: 4.0.7 - '@vitejs/plugin-legacy@5.4.2(terser@5.31.6)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))': + '@vitejs/plugin-legacy@5.4.2(terser@5.32.0)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))': dependencies: '@babel/core': 7.25.2 '@babel/preset-env': 7.25.4(@babel/core@7.25.2) @@ -9697,24 +9879,24 @@ snapshots: magic-string: 0.30.11 regenerator-runtime: 0.14.1 systemjs: 6.15.1 - terser: 5.31.6 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + terser: 5.32.0 + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4))': + '@vitejs/plugin-vue-jsx@4.0.1(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-typescript': 7.25.2(@babel/core@7.25.2) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.25.2) - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) vue: 3.4.38(typescript@5.5.4) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.1.3(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4))': + '@vitejs/plugin-vue@5.1.3(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4))': dependencies: - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) vue: 3.4.38(typescript@5.5.4) '@volar/language-core@2.4.1': @@ -9781,11 +9963,24 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.0 + '@vue/compiler-core@3.5.4': + dependencies: + '@babel/parser': 7.25.6 + '@vue/shared': 3.5.4 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.2.1 + '@vue/compiler-dom@3.4.38': dependencies: '@vue/compiler-core': 3.4.38 '@vue/shared': 3.4.38 + '@vue/compiler-dom@3.5.4': + dependencies: + '@vue/compiler-core': 3.5.4 + '@vue/shared': 3.5.4 + '@vue/compiler-sfc@2.7.16': dependencies: '@babel/parser': 7.24.5 @@ -9806,11 +10001,28 @@ snapshots: postcss: 8.4.42 source-map-js: 1.2.0 + '@vue/compiler-sfc@3.5.4': + dependencies: + '@babel/parser': 7.25.6 + '@vue/compiler-core': 3.5.4 + '@vue/compiler-dom': 3.5.4 + '@vue/compiler-ssr': 3.5.4 + '@vue/shared': 3.5.4 + estree-walker: 2.0.2 + magic-string: 0.30.11 + postcss: 8.4.45 + source-map-js: 1.2.1 + '@vue/compiler-ssr@3.4.38': dependencies: '@vue/compiler-dom': 3.4.38 '@vue/shared': 3.4.38 + '@vue/compiler-ssr@3.5.4': + dependencies: + '@vue/compiler-dom': 3.5.4 + '@vue/shared': 3.5.4 + '@vue/compiler-vue2@2.7.16': dependencies: de-indent: 1.0.2 @@ -9818,14 +10030,14 @@ snapshots: '@vue/devtools-api@6.6.3': {} - '@vue/devtools-core@7.3.9(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4))': + '@vue/devtools-core@7.3.9(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4))': dependencies: '@vue/devtools-kit': 7.3.9 '@vue/devtools-shared': 7.3.9 mitt: 3.0.1 nanoid: 3.3.7 pathe: 1.1.2 - vite-hot-client: 0.2.3(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) + vite-hot-client: 0.2.3(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) vue: 3.4.38(typescript@5.5.4) transitivePeerDependencies: - vite @@ -9881,6 +10093,8 @@ snapshots: '@vue/shared@3.4.38': {} + '@vue/shared@3.5.4': {} + '@vueuse/components@11.0.3(vue@3.4.38(typescript@5.5.4))': dependencies: '@vueuse/core': 11.0.3(vue@3.4.38(typescript@5.5.4)) @@ -11350,9 +11564,9 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-processor-vue-blocks@0.1.2(@vue/compiler-sfc@3.4.38)(eslint@9.9.1(jiti@1.21.6)): + eslint-processor-vue-blocks@0.1.2(@vue/compiler-sfc@3.5.4)(eslint@9.9.1(jiti@1.21.6)): dependencies: - '@vue/compiler-sfc': 3.4.38 + '@vue/compiler-sfc': 3.5.4 eslint: 9.9.1(jiti@1.21.6) eslint-rule-composer@0.3.0: {} @@ -13445,6 +13659,8 @@ snapshots: picocolors@1.0.1: {} + picocolors@1.1.0: {} + picomatch@2.3.1: {} picomatch@4.0.2: {} @@ -13515,8 +13731,8 @@ snapshots: dependencies: htmlparser2: 8.0.2 js-tokens: 9.0.0 - postcss: 8.4.42 - postcss-safe-parser: 6.0.0(postcss@8.4.42) + postcss: 8.4.45 + postcss-safe-parser: 6.0.0(postcss@8.4.45) postcss-media-query-parser@0.2.3: {} @@ -13531,9 +13747,9 @@ snapshots: postcss-resolve-nested-selector@0.1.6: {} - postcss-safe-parser@6.0.0(postcss@8.4.42): + postcss-safe-parser@6.0.0(postcss@8.4.45): dependencies: - postcss: 8.4.42 + postcss: 8.4.45 postcss-safe-parser@7.0.0(postcss@8.4.42): dependencies: @@ -13572,6 +13788,12 @@ snapshots: picocolors: 1.0.1 source-map-js: 1.2.0 + postcss@8.4.45: + dependencies: + nanoid: 3.3.7 + picocolors: 1.1.0 + source-map-js: 1.2.1 + posthtml-parser@0.2.1: dependencies: htmlparser2: 3.10.1 @@ -13891,6 +14113,29 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.21.2 fsevents: 2.3.3 + rollup@4.21.3: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.21.3 + '@rollup/rollup-android-arm64': 4.21.3 + '@rollup/rollup-darwin-arm64': 4.21.3 + '@rollup/rollup-darwin-x64': 4.21.3 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.3 + '@rollup/rollup-linux-arm-musleabihf': 4.21.3 + '@rollup/rollup-linux-arm64-gnu': 4.21.3 + '@rollup/rollup-linux-arm64-musl': 4.21.3 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.3 + '@rollup/rollup-linux-riscv64-gnu': 4.21.3 + '@rollup/rollup-linux-s390x-gnu': 4.21.3 + '@rollup/rollup-linux-x64-gnu': 4.21.3 + '@rollup/rollup-linux-x64-musl': 4.21.3 + '@rollup/rollup-win32-arm64-msvc': 4.21.3 + '@rollup/rollup-win32-ia32-msvc': 4.21.3 + '@rollup/rollup-win32-x64-msvc': 4.21.3 + fsevents: 2.3.3 + optional: true + roughjs@4.5.2: dependencies: path-data-parser: 0.1.0 @@ -14103,6 +14348,8 @@ snapshots: source-map-js@1.2.0: {} + source-map-js@1.2.1: {} + source-map-resolve@0.5.3: dependencies: atob: 2.1.2 @@ -14509,7 +14756,7 @@ snapshots: fast-fifo: 1.3.2 streamx: 2.16.1 - terser@5.31.6: + terser@5.32.0: dependencies: '@jridgewell/source-map': 0.3.6 acorn: 8.12.1 @@ -14732,9 +14979,9 @@ snapshots: trough: 2.1.0 vfile: 5.3.7 - unimport@3.9.1(rollup@4.21.2): + unimport@3.9.1(rollup@4.21.3): dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) acorn: 8.12.1 escape-string-regexp: 5.0.0 estree-walker: 3.0.3 @@ -14792,15 +15039,15 @@ snapshots: universalify@2.0.1: {} - unocss-preset-scrollbar@0.3.1(unocss@0.62.3(postcss@8.4.42)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))): + unocss-preset-scrollbar@0.3.1(unocss@0.62.3(postcss@8.4.42)(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))): dependencies: '@unocss/preset-mini': 0.56.5 - unocss: 0.62.3(postcss@8.4.42)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) + unocss: 0.62.3(postcss@8.4.42)(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) - unocss@0.62.3(postcss@8.4.42)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)): + unocss@0.62.3(postcss@8.4.42)(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)): dependencies: - '@unocss/astro': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) - '@unocss/cli': 0.62.3(rollup@4.21.2) + '@unocss/astro': 0.62.3(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) + '@unocss/cli': 0.62.3(rollup@4.21.3) '@unocss/core': 0.62.3 '@unocss/extractor-arbitrary-variants': 0.62.3 '@unocss/postcss': 0.62.3(postcss@8.4.42) @@ -14818,32 +15065,32 @@ snapshots: '@unocss/transformer-compile-class': 0.62.3 '@unocss/transformer-directives': 0.62.3 '@unocss/transformer-variant-group': 0.62.3 - '@unocss/vite': 0.62.3(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) + '@unocss/vite': 0.62.3(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) optionalDependencies: - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) transitivePeerDependencies: - postcss - rollup - supports-color - unplugin-auto-import@0.18.2(@vueuse/core@11.0.3(vue@3.4.38(typescript@5.5.4)))(rollup@4.21.2): + unplugin-auto-import@0.18.2(@vueuse/core@11.0.3(vue@3.4.38(typescript@5.5.4)))(rollup@4.21.3): dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) fast-glob: 3.3.2 local-pkg: 0.5.0 magic-string: 0.30.11 minimatch: 9.0.5 - unimport: 3.9.1(rollup@4.21.2) + unimport: 3.9.1(rollup@4.21.3) unplugin: 1.12.0 optionalDependencies: '@vueuse/core': 11.0.3(vue@3.4.38(typescript@5.5.4)) transitivePeerDependencies: - rollup - unplugin-turbo-console@1.10.1(@babel/parser@7.25.6)(esbuild@0.23.1)(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)): + unplugin-turbo-console@1.10.1(@babel/parser@7.25.6)(esbuild@0.23.1)(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4)): dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) ast-kit: 1.0.0 get-port-please: 3.1.2 h3: 1.12.0 @@ -14854,16 +15101,16 @@ snapshots: optionalDependencies: '@babel/parser': 7.25.6 esbuild: 0.23.1 - rollup: 4.21.2 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + rollup: 4.21.3 + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) vue: 3.4.38(typescript@5.5.4) transitivePeerDependencies: - uWebSockets.js - unplugin-vue-components@0.27.4(@babel/parser@7.25.6)(rollup@4.21.2)(vue@3.4.38(typescript@5.5.4)): + unplugin-vue-components@0.27.4(@babel/parser@7.25.6)(rollup@4.21.3)(vue@3.4.38(typescript@5.5.4)): dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) chokidar: 3.6.0 debug: 4.3.6 fast-glob: 3.3.2 @@ -14963,15 +15210,15 @@ snapshots: unist-util-stringify-position: 3.0.3 vfile-message: 3.1.4 - vite-hot-client@0.2.3(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)): + vite-hot-client@0.2.3(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)): dependencies: - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) vite-plugin-banner@0.7.1: {} - vite-plugin-compression2@1.2.0(rollup@4.21.2): + vite-plugin-compression2@1.2.0(rollup@4.21.3): dependencies: - '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) tar-mini: 0.1.1 transitivePeerDependencies: - rollup @@ -14984,10 +15231,10 @@ snapshots: path-to-regexp: 6.2.2 picocolors: 1.0.1 - vite-plugin-inspect@0.8.7(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)): + vite-plugin-inspect@0.8.7(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)): dependencies: '@antfu/utils': 0.7.10 - '@rollup/pluginutils': 5.1.0(rollup@4.21.2) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) debug: 4.3.6 error-stack-parser-es: 0.1.5 fs-extra: 11.2.0 @@ -14995,12 +15242,12 @@ snapshots: perfect-debounce: 1.0.0 picocolors: 1.0.1 sirv: 2.0.4 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) transitivePeerDependencies: - rollup - supports-color - vite-plugin-pages@0.32.3(@vue/compiler-sfc@3.4.38)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.38(typescript@5.5.4))): + vite-plugin-pages@0.32.3(@vue/compiler-sfc@3.5.4)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue-router@4.4.3(vue@3.4.38(typescript@5.5.4))): dependencies: '@types/debug': 4.1.12 debug: 4.3.5 @@ -15010,15 +15257,15 @@ snapshots: json5: 2.2.3 local-pkg: 0.5.0 picocolors: 1.0.1 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) yaml: 2.4.5 optionalDependencies: - '@vue/compiler-sfc': 3.4.38 + '@vue/compiler-sfc': 3.5.4 vue-router: 4.4.3(vue@3.4.38(typescript@5.5.4)) transitivePeerDependencies: - supports-color - vite-plugin-svg-icons@2.0.1(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)): + vite-plugin-svg-icons@2.0.1(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)): dependencies: '@types/svgo': 2.6.4 cors: 2.8.5 @@ -15028,27 +15275,29 @@ snapshots: pathe: 0.2.0 svg-baker: 1.7.0 svgo: 2.8.0 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) transitivePeerDependencies: - supports-color - vite-plugin-vue-devtools@7.3.9(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)): + vite-plugin-vue-app-loading@0.2.1: {} + + vite-plugin-vue-devtools@7.3.9(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4)): dependencies: - '@vue/devtools-core': 7.3.9(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue@3.4.38(typescript@5.5.4)) + '@vue/devtools-core': 7.3.9(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue@3.4.38(typescript@5.5.4)) '@vue/devtools-kit': 7.3.9 '@vue/devtools-shared': 7.3.9 execa: 8.0.1 sirv: 2.0.4 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) - vite-plugin-inspect: 0.8.7(rollup@4.21.2)(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) - vite-plugin-vue-inspector: 5.1.3(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) + vite-plugin-inspect: 0.8.7(rollup@4.21.3)(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) + vite-plugin-vue-inspector: 5.1.3(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)) transitivePeerDependencies: - '@nuxt/kit' - rollup - supports-color - vue - vite-plugin-vue-inspector@5.1.3(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6)): + vite-plugin-vue-inspector@5.1.3(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0)): dependencies: '@babel/core': 7.25.2 '@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.25.2) @@ -15059,26 +15308,26 @@ snapshots: '@vue/compiler-dom': 3.4.38 kolorist: 1.8.0 magic-string: 0.30.11 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) transitivePeerDependencies: - supports-color - vite-plugin-vue-meta-layouts@0.4.3(vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6))(vue-router@4.4.3(vue@3.4.38(typescript@5.5.4))): + vite-plugin-vue-meta-layouts@0.4.3(vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0))(vue-router@4.4.3(vue@3.4.38(typescript@5.5.4))): dependencies: local-pkg: 0.5.0 - vite: 5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6) + vite: 5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0) vue-router: 4.4.3(vue@3.4.38(typescript@5.5.4)) - vite@5.4.2(@types/node@22.5.1)(sass@1.77.8)(terser@5.31.6): + vite@5.4.2(@types/node@22.5.4)(sass@1.77.8)(terser@5.32.0): dependencies: esbuild: 0.21.5 postcss: 8.4.42 rollup: 4.21.2 optionalDependencies: - '@types/node': 22.5.1 + '@types/node': 22.5.4 fsevents: 2.3.3 sass: 1.77.8 - terser: 5.31.6 + terser: 5.32.0 vscode-uri@3.0.8: {} diff --git a/src/types/shims.d.ts b/src/types/shims.d.ts index bb19da7f9..34ac4eec0 100755 --- a/src/types/shims.d.ts +++ b/src/types/shims.d.ts @@ -3,13 +3,6 @@ declare interface Window { mozDevicePixelRatio: any } -declare module 'virtual:app-loading' { - const loadingFadeOut: () => void - export { - loadingFadeOut, - } -} - declare const __SYSTEM_INFO__: { pkg: { dependencies: Recordable diff --git a/tsconfig.json b/tsconfig.json index c63af055e..a48e29a83 100755 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,6 +24,7 @@ "vite/client", "vite-plugin-pages/client", "vite-plugin-vue-meta-layouts/client", + "vite-plugin-vue-app-loading/client", "element-plus/global" ], "allowImportingTsExtensions": true, diff --git a/vite/plugins.ts b/vite/plugins.ts index 428e4b4e2..369f3212d 100644 --- a/vite/plugins.ts +++ b/vite/plugins.ts @@ -16,6 +16,7 @@ import Layouts from 'vite-plugin-vue-meta-layouts' import Pages from 'vite-plugin-pages' import { compression } from 'vite-plugin-compression2' import archiver from 'archiver' +import AppLoading from 'vite-plugin-vue-app-loading' import TurboConsole from 'unplugin-turbo-console/vite' import banner from 'vite-plugin-banner' import boxen from 'boxen' @@ -124,44 +125,7 @@ export default function createVitePlugins(viteEnv, isBuild = false) { } })(), - (function () { - const virtualModuleId = 'virtual:app-loading' - const resolvedVirtualModuleId = `\0${virtualModuleId}` - return { - name: 'vite-plugin-loading', - resolveId(id) { - if (id === virtualModuleId) { - return resolvedVirtualModuleId - } - }, - load(id) { - if (id === resolvedVirtualModuleId) { - return { - code: ` - export function loadingFadeOut() { - const loadingEl = document.querySelector('[data-app-loading]') - if (loadingEl) { - loadingEl.style['pointer-events'] = 'none' - loadingEl.style.visibility = 'hidden' - loadingEl.style.opacity = 0 - loadingEl.style.transition = 'all 0.5s ease-out' - loadingEl.addEventListener('transitionend', () => loadingEl.remove(), { once: true }) - } - } - `, - map: null, - } - } - }, - enforce: 'pre', - transformIndexHtml: { - handler: async html => html.replace(/<\/body>/, `${ - `
${await fs.readFileSync(path.resolve(process.cwd(), 'loading.html'), 'utf8')}
` - }`), - order: 'pre', - }, - } - })(), + AppLoading('loading.html'), // https://github.com/unplugin/unplugin-turbo-console TurboConsole(),