From 12ff4d031986cd1fd438679dece8cfbd7725da30 Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Fri, 6 Dec 2024 11:23:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + pnpm-lock.yaml | 198 ++++++++++++++++++++++++++++++++++++++----------- src/main.ts | 2 +- 3 files changed, 158 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 8fe864b7..240dfcce 100644 --- a/package.json +++ b/package.json @@ -105,6 +105,7 @@ "eslint-define-config": "^2.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-vue": "^9.22.0", + "less": "^4.2.1", "lint-staged": "^15.2.2", "postcss": "^8.4.35", "postcss-html": "^1.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5f9eb14e..235c75a8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -209,13 +209,13 @@ importers: version: 0.58.9 '@vitejs/plugin-legacy': specifier: ^5.3.1 - version: 5.3.2(terser@5.30.4)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 5.3.2(terser@5.30.4)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) '@vitejs/plugin-vue': specifier: ^5.0.4 - version: 5.0.4(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4))(vue@3.4.21(typescript@5.3.3)) + version: 5.0.4(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4))(vue@3.4.21(typescript@5.3.3)) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 - version: 3.1.0(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4))(vue@3.4.21(typescript@5.3.3)) + version: 3.1.0(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4))(vue@3.4.21(typescript@5.3.3)) autoprefixer: specifier: ^10.4.17 version: 10.4.19(postcss@8.4.38) @@ -243,6 +243,9 @@ importers: eslint-plugin-vue: specifier: ^9.22.0 version: 9.25.0(eslint@8.57.0) + less: + specifier: ^4.2.1 + version: 4.2.1 lint-staged: specifier: ^15.2.2 version: 15.2.2 @@ -293,7 +296,7 @@ importers: version: 5.3.3 unocss: specifier: ^0.58.5 - version: 0.58.9(postcss@8.4.38)(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 0.58.9(postcss@8.4.38)(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) unplugin-auto-import: specifier: ^0.16.7 version: 0.16.7(@vueuse/core@10.9.0(vue@3.4.21(typescript@5.3.3)))(rollup@4.17.1) @@ -305,28 +308,28 @@ importers: version: 0.25.2(@babel/parser@7.24.4)(rollup@4.17.1)(vue@3.4.21(typescript@5.3.3)) vite: specifier: 5.1.4 - version: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + version: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) vite-plugin-compression: specifier: ^0.5.1 - version: 0.5.1(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 0.5.1(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) vite-plugin-ejs: specifier: ^1.7.0 - version: 1.7.0(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 1.7.0(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) vite-plugin-eslint: specifier: ^1.8.1 - version: 1.8.1(eslint@8.57.0)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 1.8.1(eslint@8.57.0)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) vite-plugin-progress: specifier: ^0.0.7 - version: 0.0.7(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 0.0.7(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) vite-plugin-purge-icons: specifier: ^0.10.0 - version: 0.10.0(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 0.10.0(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) vite-plugin-svg-icons: specifier: ^2.0.1 - version: 2.0.1(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 2.0.1(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) vite-plugin-top-level-await: specifier: ^1.3.1 - version: 1.4.1(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + version: 1.4.1(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) vue-eslint-parser: specifier: ^9.3.2 version: 9.4.2(eslint@8.57.0) @@ -2737,6 +2740,9 @@ packages: convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + copy-anything@2.0.6: + resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==} + copy-descriptor@0.1.1: resolution: {integrity: sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==} engines: {node: '>=0.10.0'} @@ -3059,6 +3065,10 @@ packages: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} + errno@0.1.8: + resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} + hasBin: true + error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} @@ -3580,6 +3590,10 @@ packages: i18next@20.6.1: resolution: {integrity: sha512-yCMYTMEJ9ihCwEQQ3phLo7I/Pwycf8uAx+sRHwwk5U9Aui/IZYgQRyMqXafQOw5QQ7DM1Z+WyEXWIqSuJHhG2A==} + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + ids@1.0.5: resolution: {integrity: sha512-XQ0yom/4KWTL29sLG+tyuycy7UmeaM/79GRtSJq6IG9cJGIPeBz5kwDCguie3TwxaMNIc3WtPi0cTa1XYHicpw==} @@ -3802,6 +3816,9 @@ packages: is-weakref@1.0.2: resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} + is-what@3.14.1: + resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==} + is-windows@1.0.2: resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} engines: {node: '>=0.10.0'} @@ -3938,6 +3955,11 @@ packages: kolorist@1.8.0: resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} + less@4.2.1: + resolution: {integrity: sha512-CasaJidTIhWmjcqv0Uj5vccMI7pJgfD9lMkKtlnTHAdJdYK/7l8pM9tumLyJ0zhbD4KJLo/YvTj+xznQd5NBhg==} + engines: {node: '>=6'} + hasBin: true + levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} @@ -4078,6 +4100,10 @@ packages: magic-string@0.30.11: resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} + make-dir@2.1.0: + resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} + engines: {node: '>=6'} + map-cache@0.2.2: resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} engines: {node: '>=0.10.0'} @@ -4139,6 +4165,11 @@ packages: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} + mime@1.6.0: + resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} + engines: {node: '>=4'} + hasBin: true + mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} @@ -4243,6 +4274,11 @@ packages: natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + needle@3.3.1: + resolution: {integrity: sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==} + engines: {node: '>= 4.4.x'} + hasBin: true + next-tick@1.1.0: resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} @@ -4370,6 +4406,10 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} + parse-node-version@1.0.1: + resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==} + engines: {node: '>= 0.10'} + pascalcase@0.1.1: resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==} engines: {node: '>=0.10.0'} @@ -4435,6 +4475,10 @@ packages: engines: {node: '>=0.10'} hasBin: true + pify@4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + pinia-plugin-persistedstate@3.2.1: resolution: {integrity: sha512-MK++8LRUsGF7r45PjBFES82ISnPzyO6IZx3CH5vyPseFLZCk1g2kgx6l/nW8pEBKxxd4do0P6bJw+mUSZIEZUQ==} peerDependencies: @@ -4585,6 +4629,9 @@ packages: proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + prr@1.0.1: + resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} + punycode@1.4.1: resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} @@ -4763,6 +4810,9 @@ packages: safe-regex@1.1.0: resolution: {integrity: sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==} + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + sass@1.75.0: resolution: {integrity: sha512-ShMYi3WkrDWxExyxSZPst4/okE9ts46xZmJDSawJQrnte7M1V9fScVB+uNXOVKRBt0PggHOwoZcn8mYX4trnBw==} engines: {node: '>=14.0.0'} @@ -4786,6 +4836,10 @@ packages: selection-update@0.1.2: resolution: {integrity: sha512-4jzoJNh7VT2s2tvm/kUSskSw7pD0BVcrrGccbfOMK+3AXLBPz6nIy1yo+pbXgvNoTNII96Pq92+sAY+rF0LUAA==} + semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + hasBin: true + semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true @@ -7286,13 +7340,13 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@unocss/astro@0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4))': + '@unocss/astro@0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4))': dependencies: '@unocss/core': 0.58.9 '@unocss/reset': 0.58.9 - '@unocss/vite': 0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + '@unocss/vite': 0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) optionalDependencies: - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) transitivePeerDependencies: - rollup @@ -7471,7 +7525,7 @@ snapshots: dependencies: '@unocss/core': 0.58.9 - '@unocss/vite@0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4))': + '@unocss/vite@0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4))': dependencies: '@ampproject/remapping': 2.3.0 '@rollup/pluginutils': 5.1.0(rollup@4.17.1) @@ -7483,7 +7537,7 @@ snapshots: chokidar: 3.6.0 fast-glob: 3.3.2 magic-string: 0.30.10 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) transitivePeerDependencies: - rollup @@ -7545,7 +7599,7 @@ snapshots: global: 4.4.0 is-function: 1.0.2 - '@vitejs/plugin-legacy@5.3.2(terser@5.30.4)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4))': + '@vitejs/plugin-legacy@5.3.2(terser@5.30.4)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4))': dependencies: '@babel/core': 7.24.4 '@babel/preset-env': 7.24.4(@babel/core@7.24.4) @@ -7556,23 +7610,23 @@ snapshots: regenerator-runtime: 0.14.1 systemjs: 6.15.1 terser: 5.30.4 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue-jsx@3.1.0(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4))(vue@3.4.21(typescript@5.3.3))': + '@vitejs/plugin-vue-jsx@3.1.0(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4))(vue@3.4.21(typescript@5.3.3))': dependencies: '@babel/core': 7.24.4 '@babel/plugin-transform-typescript': 7.24.4(@babel/core@7.24.4) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.4) - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) vue: 3.4.21(typescript@5.3.3) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.0.4(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4))(vue@3.4.21(typescript@5.3.3))': + '@vitejs/plugin-vue@5.0.4(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4))(vue@3.4.21(typescript@5.3.3))': dependencies: - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) vue: 3.4.21(typescript@5.3.3) '@volar/language-core@1.11.1': @@ -8346,6 +8400,10 @@ snapshots: convert-source-map@2.0.0: {} + copy-anything@2.0.6: + dependencies: + is-what: 3.14.1 + copy-descriptor@0.1.1: {} core-js-compat@3.37.0: @@ -8681,6 +8739,11 @@ snapshots: env-paths@2.2.1: {} + errno@0.1.8: + dependencies: + prr: 1.0.1 + optional: true + error-ex@1.3.2: dependencies: is-arrayish: 0.2.1 @@ -9365,6 +9428,11 @@ snapshots: dependencies: '@babel/runtime': 7.24.4 + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + optional: true + ids@1.0.5: {} ignore@5.3.1: {} @@ -9558,6 +9626,8 @@ snapshots: dependencies: call-bind: 1.0.7 + is-what@3.14.1: {} + is-windows@1.0.2: {} isarray@1.0.0: {} @@ -9674,6 +9744,20 @@ snapshots: kolorist@1.8.0: {} + less@4.2.1: + dependencies: + copy-anything: 2.0.6 + parse-node-version: 1.0.1 + tslib: 2.6.2 + optionalDependencies: + errno: 0.1.8 + graceful-fs: 4.2.11 + image-size: 0.5.5 + make-dir: 2.1.0 + mime: 1.6.0 + needle: 3.3.1 + source-map: 0.6.1 + levn@0.4.1: dependencies: prelude-ls: 1.2.1 @@ -9815,6 +9899,12 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 + make-dir@2.1.0: + dependencies: + pify: 4.0.1 + semver: 5.7.2 + optional: true + map-cache@0.2.2: {} map-visit@1.0.0: @@ -9876,6 +9966,9 @@ snapshots: dependencies: mime-db: 1.52.0 + mime@1.6.0: + optional: true + mimic-fn@2.1.0: {} mimic-fn@4.0.0: {} @@ -10000,6 +10093,12 @@ snapshots: natural-compare@1.4.0: {} + needle@3.3.1: + dependencies: + iconv-lite: 0.6.3 + sax: 1.3.0 + optional: true + next-tick@1.1.0: {} node-fetch-native@1.6.4: {} @@ -10123,6 +10222,8 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 + parse-node-version@1.0.1: {} + pascalcase@0.1.1: {} path-browserify@1.0.1: {} @@ -10163,6 +10264,9 @@ snapshots: pidtree@0.6.0: {} + pify@4.0.1: + optional: true + pinia-plugin-persistedstate@3.2.1(pinia@2.1.7(typescript@5.3.3)(vue@3.4.21(typescript@5.3.3))): dependencies: pinia: 2.1.7(typescript@5.3.3)(vue@3.4.21(typescript@5.3.3)) @@ -10304,6 +10408,9 @@ snapshots: proxy-from-env@1.1.0: {} + prr@1.0.1: + optional: true + punycode@1.4.1: {} punycode@2.3.1: {} @@ -10500,6 +10607,9 @@ snapshots: dependencies: ret: 0.1.15 + safer-buffer@2.1.2: + optional: true + sass@1.75.0: dependencies: chokidar: 3.6.0 @@ -10524,6 +10634,9 @@ snapshots: selection-update@0.1.2: {} + semver@5.7.2: + optional: true + semver@6.3.1: {} semver@7.6.0: @@ -11073,9 +11186,9 @@ snapshots: universalify@2.0.1: {} - unocss@0.58.9(postcss@8.4.38)(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)): + unocss@0.58.9(postcss@8.4.38)(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)): dependencies: - '@unocss/astro': 0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + '@unocss/astro': 0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) '@unocss/cli': 0.58.9(rollup@4.17.1) '@unocss/core': 0.58.9 '@unocss/extractor-arbitrary-variants': 0.58.9 @@ -11094,9 +11207,9 @@ snapshots: '@unocss/transformer-compile-class': 0.58.9 '@unocss/transformer-directives': 0.58.9 '@unocss/transformer-variant-group': 0.58.9 - '@unocss/vite': 0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)) + '@unocss/vite': 0.58.9(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)) optionalDependencies: - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) transitivePeerDependencies: - postcss - rollup @@ -11210,46 +11323,46 @@ snapshots: dependencies: global: 4.4.0 - vite-plugin-compression@0.5.1(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)): + vite-plugin-compression@0.5.1(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)): dependencies: chalk: 4.1.2 debug: 4.3.4 fs-extra: 10.1.0 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) transitivePeerDependencies: - supports-color - vite-plugin-ejs@1.7.0(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)): + vite-plugin-ejs@1.7.0(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)): dependencies: ejs: 3.1.10 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) - vite-plugin-eslint@1.8.1(eslint@8.57.0)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)): + vite-plugin-eslint@1.8.1(eslint@8.57.0)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)): dependencies: '@rollup/pluginutils': 4.2.1 '@types/eslint': 8.56.10 eslint: 8.57.0 rollup: 2.79.1 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) - vite-plugin-progress@0.0.7(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)): + vite-plugin-progress@0.0.7(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)): dependencies: picocolors: 1.0.0 progress: 2.0.3 rd: 2.0.1 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) - vite-plugin-purge-icons@0.10.0(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)): + vite-plugin-purge-icons@0.10.0(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)): dependencies: '@purge-icons/core': 0.10.0 '@purge-icons/generated': 0.10.0 rollup-plugin-purge-icons: 0.10.0 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) transitivePeerDependencies: - encoding - supports-color - vite-plugin-svg-icons@2.0.1(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)): + vite-plugin-svg-icons@2.0.1(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)): dependencies: '@types/svgo': 2.6.4 cors: 2.8.5 @@ -11259,21 +11372,21 @@ snapshots: pathe: 0.2.0 svg-baker: 1.7.0 svgo: 2.8.0 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) transitivePeerDependencies: - supports-color - vite-plugin-top-level-await@1.4.1(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4)): + vite-plugin-top-level-await@1.4.1(rollup@4.17.1)(vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4)): dependencies: '@rollup/plugin-virtual': 3.0.2(rollup@4.17.1) '@swc/core': 1.4.17 uuid: 9.0.1 - vite: 5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4) + vite: 5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4) transitivePeerDependencies: - '@swc/helpers' - rollup - vite@5.1.4(@types/node@20.12.7)(sass@1.75.0)(terser@5.30.4): + vite@5.1.4(@types/node@20.12.7)(less@4.2.1)(sass@1.75.0)(terser@5.30.4): dependencies: esbuild: 0.19.12 postcss: 8.4.38 @@ -11281,6 +11394,7 @@ snapshots: optionalDependencies: '@types/node': 20.12.7 fsevents: 2.3.3 + less: 4.2.1 sass: 1.75.0 terser: 5.30.4 diff --git a/src/main.ts b/src/main.ts index 256b0dae..801b4440 100644 --- a/src/main.ts +++ b/src/main.ts @@ -40,7 +40,7 @@ import '@/plugins/tongji' // 百度统计 import Logger from '@/utils/Logger' import VueDOMPurifyHTML from 'vue-dompurify-html' // 解决v-html 的安全隐患 import print from "vue3-print-nb";//打印的 -import vue3videoPlay from 'vue3-video-play' // 引入组件 +import vue3videoPlay from 'vue3-video-play/lib/index' // 引入组件 import 'vue3-video-play/dist/style.css' // 引入css import '@/views/applyregistration/reportPrintStatistics/reportPrint.scss' //打印(全局) import * as ElementPlusIconsVue from '@element-plus/icons-vue'