diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 8364cba..59f8812 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,11 +1,13 @@ { "recommendations": [ + "misterj.vue-volar-extention-pack", + "christian-kohler.npm-intellisense", "coenraads.bracket-pair-colorizer-2", "davidanson.vscode-markdownlint", "dbaeumer.vscode-eslint", "editorconfig.editorconfig", + "ibm.output-colorizer", "oderwat.indent-rainbow", - "shardulm94.trailing-spaces", - "misterj.vue-volar-extention-pack" + "shardulm94.trailing-spaces" ] } diff --git a/package-lock.json b/package-lock.json index 33a92b1..2241239 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.0.0", "license": "MIT", "dependencies": { - "@fesjs/fes": "^2.0.11", + "@fesjs/fes": "^2.0.12", "@fesjs/plugin-access": "^2.0.2", "@fesjs/plugin-enums": "^2.0.2", "@fesjs/plugin-layout": "^2.0.9", @@ -22,7 +22,6 @@ "@daotl/prettier-config": "^0.1.2", "@daotl/tsconfig": "^0.0.4", "@fesjs/plugin-sass": "^2.0.0", - "@fesjs/plugin-windicss": "^2.0.4", "@iconify-json/mdi": "^1.0.12", "@vue/compiler-sfc": "^3.2.26", "cross-env": "^7.0.3", @@ -1978,12 +1977,12 @@ } }, "node_modules/@fesjs/fes": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@fesjs/fes/-/fes-2.0.11.tgz", - "integrity": "sha512-berlszqgOHSQRvBJ+Yzk1FK3QP7s9RditMKNxWZmVyY93h7GOIT+Pab2Q6BFXnXDIujEZbOxEoge2pxNShAlCg==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@fesjs/fes/-/fes-2.0.12.tgz", + "integrity": "sha512-O+B5tzg1zWIycopGvCo19hkAxy2nONfZcMwdXWp8axAY6kcKfX2F46kjtYRZY+likPRrg0b+XEAwCpSnv4rG1A==", "dependencies": { "@fesjs/compiler": "^2.0.3", - "@fesjs/preset-built-in": "^2.0.10", + "@fesjs/preset-built-in": "^2.0.11", "@fesjs/runtime": "^2.0.2", "@fesjs/utils": "^2.0.3", "resolve-cwd": "^3.0.0" @@ -2053,38 +2052,10 @@ "@fesjs/fes": "^2.0.0" } }, - "node_modules/@fesjs/plugin-windicss": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@fesjs/plugin-windicss/-/plugin-windicss-2.0.4.tgz", - "integrity": "sha512-Dxb/Sa1t48QmWeOBqtwySc79JhrDfhIj4k+IoVz5fbV8WW71Ab4sSAhmmm/d03wW/vtW920RJ9HUNcDtF6/jsg==", - "dev": true, - "dependencies": { - "qs": "^6.10.2", - "windicss-webpack-plugin": "^1.6.0" - }, - "peerDependencies": { - "vue": "^3.0.5" - } - }, - "node_modules/@fesjs/plugin-windicss/node_modules/qs": { - "version": "6.10.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.2.tgz", - "integrity": "sha512-mSIdjzqznWgfd4pMii7sHtaYF8rx8861hBO80SraY5GT0XQibWZWJSid0avzHGkDIZLImux2S5mXO0Hfct2QCw==", - "dev": true, - "dependencies": { - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/@fesjs/preset-built-in": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@fesjs/preset-built-in/-/preset-built-in-2.0.10.tgz", - "integrity": "sha512-b8wcZErGIPG3ZSlPaOSIkbRzxRjknArEK7HiKxYArbeSr3qvCo9XIxa+72QwYK2UeddSxRBZ9hHaaAjF5j4SNA==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@fesjs/preset-built-in/-/preset-built-in-2.0.11.tgz", + "integrity": "sha512-TUVd/+p0n3WSjYzB7JwENaPrDvSRA5JAv+e6C50L44jZg1PBigncJrgYPVg365bKo3OxmvBH4KNS3eIr2fyqhw==", "dependencies": { "@babel/core": "^7.12.13", "@babel/plugin-proposal-do-expressions": "^7.12.13", @@ -2122,6 +2093,7 @@ "postcss-flexbugs-fixes": "^5.0.2", "postcss-loader": "^4.2.0", "postcss-safe-parser": "^5.0.2", + "qs": "^6.10.2", "raw-loader": "^4.0.2", "style-loader": "^2.0.0", "url-loader": "^4.1.1", @@ -3143,38 +3115,6 @@ "@xtuc/long": "4.2.2" } }, - "node_modules/@windicss/config": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@windicss/config/-/config-1.6.1.tgz", - "integrity": "sha512-E4FKtWdYl5HwFknBQ+Z2JIF58TZiR4/ZiP8B30sfRxNlG6clh4agn5MJqTb4ER0MLkDb30Hugl2tGun0AQNbFw==", - "dev": true, - "dependencies": { - "debug": "^4.3.3", - "jiti": "^1.12.9", - "windicss": "^3.4.0" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, - "node_modules/@windicss/plugin-utils": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-1.6.1.tgz", - "integrity": "sha512-hFQY27bOr9SSpekIvSwBpIX25nR4cwrU5/1kJFqCwAzqyazvd7U9c/iI1E2sTEQOkPbpTTJkY2Act21Q70oSDQ==", - "dev": true, - "dependencies": { - "@antfu/utils": "^0.3.0", - "@windicss/config": "1.6.1", - "debug": "^4.3.3", - "fast-glob": "^3.2.7", - "magic-string": "^0.25.7", - "micromatch": "^4.0.4", - "windicss": "^3.4.0" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - } - }, "node_modules/@xtuc/ieee754": { "version": "1.2.0", "license": "BSD-3-Clause" @@ -3877,6 +3817,17 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, + "node_modules/body-parser/node_modules/qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/bonjour": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", @@ -6466,6 +6417,17 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, + "node_modules/express/node_modules/qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/express/node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -8078,15 +8040,6 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, - "node_modules/jiti": { - "version": "1.12.9", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.12.9.tgz", - "integrity": "sha512-TdcJywkQtcwLxogc4rSMAi479G2eDPzfW0fLySks7TPhgZZ4s/tM6stnzayIh3gS/db3zExWJyUx4cNWrwAmoQ==", - "dev": true, - "bin": { - "jiti": "bin/jiti.js" - } - }, "node_modules/jju": { "version": "1.4.0", "dev": true, @@ -9221,7 +9174,8 @@ }, "node_modules/nice-try": { "version": "1.0.5", - "license": "MIT" + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" }, "node_modules/no-case": { "version": "3.0.4", @@ -9440,7 +9394,6 @@ "version": "1.12.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", - "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -10692,9 +10645,12 @@ } }, "node_modules/qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.2.tgz", + "integrity": "sha512-mSIdjzqznWgfd4pMii7sHtaYF8rx8861hBO80SraY5GT0XQibWZWJSid0avzHGkDIZLImux2S5mXO0Hfct2QCw==", + "dependencies": { + "side-channel": "^1.0.4" + }, "engines": { "node": ">=0.6" }, @@ -11643,7 +11599,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, "dependencies": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -14560,58 +14515,6 @@ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" }, - "node_modules/windicss": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/windicss/-/windicss-3.4.0.tgz", - "integrity": "sha512-X+9Y1/FPxX253Xo4Hk/qfVuvoAxgKx686Z6yHxmBFMH7wRCPdRO42na9k/yEnrW6EqCFJP/GcMIHn3QENaE42g==", - "dev": true, - "bin": { - "windicss": "cli/index.js" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/windicss-webpack-plugin": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/windicss-webpack-plugin/-/windicss-webpack-plugin-1.6.2.tgz", - "integrity": "sha512-1NhvBVmClIgxnC6C50RlqdpL9klF4g1JwJAoDNCdY0fO6o5GP6hO+E3xGCWI38l4Ij36JQZ4/CxFKWjdixXFBQ==", - "dev": true, - "dependencies": { - "@windicss/plugin-utils": "^1.6.1", - "debug": "^4.3.3", - "loader-utils": "^2.0.0", - "lodash": "^4.17.21", - "magic-string": "^0.25.7", - "upath": "^2.0.1", - "webpack-virtual-modules": "^0.4.3", - "windicss": "^3.4.0" - } - }, - "node_modules/windicss-webpack-plugin/node_modules/loader-utils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", - "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", - "dev": true, - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - }, - "engines": { - "node": ">=8.9.0" - } - }, - "node_modules/windicss-webpack-plugin/node_modules/upath": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", - "dev": true, - "engines": { - "node": ">=4", - "yarn": "*" - } - }, "node_modules/word-wrap": { "version": "1.2.3", "dev": true, @@ -16052,12 +15955,12 @@ } }, "@fesjs/fes": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/@fesjs/fes/-/fes-2.0.11.tgz", - "integrity": "sha512-berlszqgOHSQRvBJ+Yzk1FK3QP7s9RditMKNxWZmVyY93h7GOIT+Pab2Q6BFXnXDIujEZbOxEoge2pxNShAlCg==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/@fesjs/fes/-/fes-2.0.12.tgz", + "integrity": "sha512-O+B5tzg1zWIycopGvCo19hkAxy2nONfZcMwdXWp8axAY6kcKfX2F46kjtYRZY+likPRrg0b+XEAwCpSnv4rG1A==", "requires": { "@fesjs/compiler": "^2.0.3", - "@fesjs/preset-built-in": "^2.0.10", + "@fesjs/preset-built-in": "^2.0.11", "@fesjs/runtime": "^2.0.2", "@fesjs/utils": "^2.0.3", "resolve-cwd": "^3.0.0" @@ -16098,31 +16001,10 @@ "sass-loader": "^11.0.1" } }, - "@fesjs/plugin-windicss": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@fesjs/plugin-windicss/-/plugin-windicss-2.0.4.tgz", - "integrity": "sha512-Dxb/Sa1t48QmWeOBqtwySc79JhrDfhIj4k+IoVz5fbV8WW71Ab4sSAhmmm/d03wW/vtW920RJ9HUNcDtF6/jsg==", - "dev": true, - "requires": { - "qs": "^6.10.2", - "windicss-webpack-plugin": "^1.6.0" - }, - "dependencies": { - "qs": { - "version": "6.10.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.2.tgz", - "integrity": "sha512-mSIdjzqznWgfd4pMii7sHtaYF8rx8861hBO80SraY5GT0XQibWZWJSid0avzHGkDIZLImux2S5mXO0Hfct2QCw==", - "dev": true, - "requires": { - "side-channel": "^1.0.4" - } - } - } - }, "@fesjs/preset-built-in": { - "version": "2.0.10", - "resolved": "https://registry.npmjs.org/@fesjs/preset-built-in/-/preset-built-in-2.0.10.tgz", - "integrity": "sha512-b8wcZErGIPG3ZSlPaOSIkbRzxRjknArEK7HiKxYArbeSr3qvCo9XIxa+72QwYK2UeddSxRBZ9hHaaAjF5j4SNA==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@fesjs/preset-built-in/-/preset-built-in-2.0.11.tgz", + "integrity": "sha512-TUVd/+p0n3WSjYzB7JwENaPrDvSRA5JAv+e6C50L44jZg1PBigncJrgYPVg365bKo3OxmvBH4KNS3eIr2fyqhw==", "requires": { "@babel/core": "^7.12.13", "@babel/plugin-proposal-do-expressions": "^7.12.13", @@ -16160,6 +16042,7 @@ "postcss-flexbugs-fixes": "^5.0.2", "postcss-loader": "^4.2.0", "postcss-safe-parser": "^5.0.2", + "qs": "^6.10.2", "raw-loader": "^4.0.2", "style-loader": "^2.0.0", "url-loader": "^4.1.1", @@ -16887,32 +16770,6 @@ "@xtuc/long": "4.2.2" } }, - "@windicss/config": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@windicss/config/-/config-1.6.1.tgz", - "integrity": "sha512-E4FKtWdYl5HwFknBQ+Z2JIF58TZiR4/ZiP8B30sfRxNlG6clh4agn5MJqTb4ER0MLkDb30Hugl2tGun0AQNbFw==", - "dev": true, - "requires": { - "debug": "^4.3.3", - "jiti": "^1.12.9", - "windicss": "^3.4.0" - } - }, - "@windicss/plugin-utils": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-1.6.1.tgz", - "integrity": "sha512-hFQY27bOr9SSpekIvSwBpIX25nR4cwrU5/1kJFqCwAzqyazvd7U9c/iI1E2sTEQOkPbpTTJkY2Act21Q70oSDQ==", - "dev": true, - "requires": { - "@antfu/utils": "^0.3.0", - "@windicss/config": "1.6.1", - "debug": "^4.3.3", - "fast-glob": "^3.2.7", - "magic-string": "^0.25.7", - "micromatch": "^4.0.4", - "windicss": "^3.4.0" - } - }, "@xtuc/ieee754": { "version": "1.2.0" }, @@ -17413,6 +17270,11 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" + }, + "qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" } } }, @@ -19272,6 +19134,11 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, + "qs": { + "version": "6.9.6", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", + "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" + }, "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -20412,12 +20279,6 @@ } } }, - "jiti": { - "version": "1.12.9", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.12.9.tgz", - "integrity": "sha512-TdcJywkQtcwLxogc4rSMAi479G2eDPzfW0fLySks7TPhgZZ4s/tM6stnzayIh3gS/db3zExWJyUx4cNWrwAmoQ==", - "dev": true - }, "jju": { "version": "1.4.0", "dev": true @@ -21234,7 +21095,9 @@ "version": "2.6.2" }, "nice-try": { - "version": "1.0.5" + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" }, "no-case": { "version": "3.0.4", @@ -21398,8 +21261,7 @@ "object-inspect": { "version": "1.12.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.0.tgz", - "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==", - "dev": true + "integrity": "sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g==" }, "object-is": { "version": "1.1.5", @@ -22224,9 +22086,12 @@ "version": "2.1.1" }, "qs": { - "version": "6.9.6", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.6.tgz", - "integrity": "sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==" + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.2.tgz", + "integrity": "sha512-mSIdjzqznWgfd4pMii7sHtaYF8rx8861hBO80SraY5GT0XQibWZWJSid0avzHGkDIZLImux2S5mXO0Hfct2QCw==", + "requires": { + "side-channel": "^1.0.4" + } }, "querystring": { "version": "0.2.0", @@ -22920,7 +22785,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -25061,47 +24925,6 @@ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" }, - "windicss": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/windicss/-/windicss-3.4.0.tgz", - "integrity": "sha512-X+9Y1/FPxX253Xo4Hk/qfVuvoAxgKx686Z6yHxmBFMH7wRCPdRO42na9k/yEnrW6EqCFJP/GcMIHn3QENaE42g==", - "dev": true - }, - "windicss-webpack-plugin": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/windicss-webpack-plugin/-/windicss-webpack-plugin-1.6.2.tgz", - "integrity": "sha512-1NhvBVmClIgxnC6C50RlqdpL9klF4g1JwJAoDNCdY0fO6o5GP6hO+E3xGCWI38l4Ij36JQZ4/CxFKWjdixXFBQ==", - "dev": true, - "requires": { - "@windicss/plugin-utils": "^1.6.1", - "debug": "^4.3.3", - "loader-utils": "^2.0.0", - "lodash": "^4.17.21", - "magic-string": "^0.25.7", - "upath": "^2.0.1", - "webpack-virtual-modules": "^0.4.3", - "windicss": "^3.4.0" - }, - "dependencies": { - "loader-utils": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz", - "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", - "dev": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - } - }, - "upath": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", - "dev": true - } - } - }, "word-wrap": { "version": "1.2.3", "dev": true diff --git a/package.json b/package.json index cd76bd4..c830b62 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "@daotl/prettier-config": "^0.1.2", "@daotl/tsconfig": "^0.0.4", "@fesjs/plugin-sass": "^2.0.0", - "@fesjs/plugin-windicss": "^2.0.4", "@iconify-json/mdi": "^1.0.12", "@vue/compiler-sfc": "^3.2.26", "cross-env": "^7.0.3", @@ -61,7 +60,7 @@ "unplugin-vue-components": "^0.17.11" }, "dependencies": { - "@fesjs/fes": "^2.0.11", + "@fesjs/fes": "^2.0.12", "@fesjs/plugin-access": "^2.0.2", "@fesjs/plugin-enums": "^2.0.2", "@fesjs/plugin-layout": "^2.0.9", diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts index 8f75a68..9d6d865 100644 --- a/src/types/auto-imports.d.ts +++ b/src/types/auto-imports.d.ts @@ -8,6 +8,8 @@ declare global { const defineComponent: typeof import('vue')['defineComponent'] const effectScope: typeof import('vue')['effectScope'] const EffectScope: typeof import('vue')['EffectScope'] + const ElButton: typeof import('element-plus/es')['ElButton'] + const ElLoadingDirective: typeof import('element-plus/es')['ElLoadingDirective'] const getCurrentInstance: typeof import('vue')['getCurrentInstance'] const getCurrentScope: typeof import('vue')['getCurrentScope'] const h: typeof import('vue')['h'] diff --git a/src/types/components.d.ts b/src/types/components.d.ts index ceef3cd..c075ebf 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -4,7 +4,9 @@ declare module 'vue' { export interface GlobalComponents { + ElButton: typeof import('element-plus/es')['ElButton'] IMdiAccountBox: typeof import('~icons/mdi/account-box')['default'] + Loading: typeof import('element-plus/es')['ElLoadingDirective'] PageLoading: typeof import('./../components/PageLoading.vue')['default'] UserCenter: typeof import('./../components/UserCenter.vue')['default'] }