diff --git a/package.json b/package.json index b9cb799..a414690 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@vueuse/integrations": "^9.6.0", "axios": "^1.2.0", "dayjs": "^1.11.6", - "element-plus": "^2.2.25", + "element-plus": "^2.2.26", "hotkeys-js": "^3.10.1", "lodash-es": "^4.17.21", "mitt": "^3.0.0", @@ -33,7 +33,7 @@ "vue-router": "^4.1.6" }, "devDependencies": { - "@antfu/eslint-config": "^0.32.0", + "@antfu/eslint-config": "^0.33.1", "@iconify-json/ep": "^1.1.8", "@iconify/vue": "^4.0.1", "@types/nprogress": "^0.2.0", @@ -42,9 +42,9 @@ "@vitejs/plugin-vue": "^3.2.0", "@vitejs/plugin-vue-jsx": "^2.1.1", "autoprefixer": "^10.4.13", - "eslint": "^8.28.0", + "eslint": "^8.29.0", "esno": "^0.16.3", - "fs-extra": "^11.0.0", + "fs-extra": "^11.1.0", "http-server": "^14.1.1", "lint-staged": "^13.0.4", "npm-run-all": "^4.1.5", @@ -71,7 +71,7 @@ "vite-plugin-svg-icons": "^2.0.1", "vite-plugin-vue-layouts": "^0.6.0", "vite-plugin-vue-setup-extend": "^0.4.0", - "vue-tsc": "^1.0.10" + "vue-tsc": "^1.0.11" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cb62cd8..f0b3a17 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,7 +1,7 @@ lockfileVersion: 5.4 specifiers: - '@antfu/eslint-config': ^0.32.0 + '@antfu/eslint-config': ^0.33.1 '@iconify-json/ep': ^1.1.8 '@iconify/vue': ^4.0.1 '@tinymce/tinymce-vue': ^5.0.0 @@ -15,10 +15,10 @@ specifiers: autoprefixer: ^10.4.13 axios: ^1.2.0 dayjs: ^1.11.6 - element-plus: ^2.2.25 - eslint: ^8.28.0 + element-plus: ^2.2.26 + eslint: ^8.29.0 esno: ^0.16.3 - fs-extra: ^11.0.0 + fs-extra: ^11.1.0 hotkeys-js: ^3.10.1 http-server: ^14.1.1 lint-staged: ^13.0.4 @@ -57,7 +57,7 @@ specifiers: vite-plugin-vue-setup-extend: ^0.4.0 vue: ^3.2.45 vue-router: ^4.1.6 - vue-tsc: ^1.0.10 + vue-tsc: ^1.0.11 dependencies: '@tinymce/tinymce-vue': 5.0.0_vue@3.2.45 @@ -65,7 +65,7 @@ dependencies: '@vueuse/integrations': 9.6.0_zdpxicgie73kmfu4v2vomrsgc4 axios: 1.2.0 dayjs: 1.11.6 - element-plus: 2.2.25_vue@3.2.45 + element-plus: 2.2.26_vue@3.2.45 hotkeys-js: 3.10.1 lodash-es: 4.17.21 mitt: 3.0.0 @@ -80,7 +80,7 @@ dependencies: vue-router: 4.1.6_vue@3.2.45 devDependencies: - '@antfu/eslint-config': 0.32.0_hsf322ms6xhhd4b5ne6lb74y4a + '@antfu/eslint-config': 0.33.1_s5ps7njkmjlaqajutnox5ntcla '@iconify-json/ep': 1.1.8 '@iconify/vue': 4.0.1_vue@3.2.45 '@types/nprogress': 0.2.0 @@ -89,9 +89,9 @@ devDependencies: '@vitejs/plugin-vue': 3.2.0_vite@3.2.4+vue@3.2.45 '@vitejs/plugin-vue-jsx': 2.1.1_vite@3.2.4+vue@3.2.45 autoprefixer: 10.4.13 - eslint: 8.28.0 + eslint: 8.29.0 esno: 0.16.3 - fs-extra: 11.0.0 + fs-extra: 11.1.0 http-server: 14.1.1 lint-staged: 13.0.4 npm-run-all: 4.1.5 @@ -118,7 +118,7 @@ devDependencies: vite-plugin-svg-icons: 2.0.1_vite@3.2.4 vite-plugin-vue-layouts: 0.6.0_ltio2jrs4h243s6indlqgywoku vite-plugin-vue-setup-extend: 0.4.0_vite@3.2.4 - vue-tsc: 1.0.10_typescript@4.9.3 + vue-tsc: 1.0.11_typescript@4.9.3 packages: @@ -130,23 +130,23 @@ packages: '@jridgewell/trace-mapping': 0.3.17 dev: true - /@antfu/eslint-config-basic/0.32.0_czs5uoqkd3podpy6vgtsxfc7au: - resolution: {integrity: sha512-5kdnpf9IfvuapPuLyOl3MZ2lXauhOiHLh5nt5MocKvlBF9Xc/S5U+1c+8uOG0wIk5cZd3JBO1ZlMjCs68y+/uw==} + /@antfu/eslint-config-basic/0.33.1_yjegg5cyoezm3fzsmuszzhetym: + resolution: {integrity: sha512-2aubzjJSGcPJkHgNWOzOWaVdya9km0985wQTWJhT7WZEgZRMSjX+KIzMSz0l6HxvTmCCV71uAhBI1+5C+X2YQg==} peerDependencies: eslint: '>=7.4.0' dependencies: - eslint: 8.28.0 - eslint-plugin-antfu: 0.32.0_hsf322ms6xhhd4b5ne6lb74y4a - eslint-plugin-eslint-comments: 3.2.0_eslint@8.28.0 + eslint: 8.29.0 + eslint-plugin-antfu: 0.33.1_s5ps7njkmjlaqajutnox5ntcla + eslint-plugin-eslint-comments: 3.2.0_eslint@8.29.0 eslint-plugin-html: 7.1.0 - eslint-plugin-import: 2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq - eslint-plugin-jsonc: 2.5.0_eslint@8.28.0 - eslint-plugin-markdown: 3.0.0_eslint@8.28.0 - eslint-plugin-n: 15.5.1_eslint@8.28.0 + eslint-plugin-import: 2.26.0_ub3senzxbs32f65wl7xoyha6lu + eslint-plugin-jsonc: 2.5.0_eslint@8.29.0 + eslint-plugin-markdown: 3.0.0_eslint@8.29.0 + eslint-plugin-n: 15.5.1_eslint@8.29.0 eslint-plugin-no-only-tests: 3.1.0 - eslint-plugin-promise: 6.1.1_eslint@8.28.0 - eslint-plugin-unicorn: 45.0.1_eslint@8.28.0 - eslint-plugin-yml: 1.2.0_eslint@8.28.0 + eslint-plugin-promise: 6.1.1_eslint@8.29.0 + eslint-plugin-unicorn: 45.0.1_eslint@8.29.0 + eslint-plugin-yml: 1.2.0_eslint@8.29.0 jsonc-eslint-parser: 2.1.0 yaml-eslint-parser: 1.1.0 transitivePeerDependencies: @@ -157,16 +157,16 @@ packages: - typescript dev: true - /@antfu/eslint-config-ts/0.32.0_hsf322ms6xhhd4b5ne6lb74y4a: - resolution: {integrity: sha512-NSsYK9ZSSFyAKRvGRyjXWu9+MaCkI3VbdvGJCyEAA6FqH5nDyZtsYoXJmHonlEHl/SCUY64kTnn5LBjuvEsUOg==} + /@antfu/eslint-config-ts/0.33.1_s5ps7njkmjlaqajutnox5ntcla: + resolution: {integrity: sha512-wsu9eltvDNaB+SFISFq/+wvMf2uZYmoHb/zFgltHXUnInYbj4qlCOYzfUy9dPcPrxtaPdWoOC8P8WOKsSnbOvA==} peerDependencies: eslint: '>=7.4.0' typescript: '>=3.9' dependencies: - '@antfu/eslint-config-basic': 0.32.0_czs5uoqkd3podpy6vgtsxfc7au - '@typescript-eslint/eslint-plugin': 5.45.0_czs5uoqkd3podpy6vgtsxfc7au - '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a - eslint: 8.28.0 + '@antfu/eslint-config-basic': 0.33.1_yjegg5cyoezm3fzsmuszzhetym + '@typescript-eslint/eslint-plugin': 5.45.0_yjegg5cyoezm3fzsmuszzhetym + '@typescript-eslint/parser': 5.45.0_s5ps7njkmjlaqajutnox5ntcla + eslint: 8.29.0 typescript: 4.9.3 transitivePeerDependencies: - eslint-import-resolver-typescript @@ -174,15 +174,15 @@ packages: - supports-color dev: true - /@antfu/eslint-config-vue/0.32.0_czs5uoqkd3podpy6vgtsxfc7au: - resolution: {integrity: sha512-xa8BQ/jptZqe303tB3r2CkvKaMNyPIfF4A0GnVc/JC7BNerRAylSNScMTFIbx0UwPleht1yB/+7RJfPSUXvrww==} + /@antfu/eslint-config-vue/0.33.1_yjegg5cyoezm3fzsmuszzhetym: + resolution: {integrity: sha512-zIO8Y7/lAnxcbz9Vo68IYX9ujRAHwpWx3uurirAkH+/UNREen+SP/obPab/C9ts3kgEsIQXNxBzwXYf4VpAUUQ==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-basic': 0.32.0_czs5uoqkd3podpy6vgtsxfc7au - '@antfu/eslint-config-ts': 0.32.0_hsf322ms6xhhd4b5ne6lb74y4a - eslint: 8.28.0 - eslint-plugin-vue: 9.8.0_eslint@8.28.0 + '@antfu/eslint-config-basic': 0.33.1_yjegg5cyoezm3fzsmuszzhetym + '@antfu/eslint-config-ts': 0.33.1_s5ps7njkmjlaqajutnox5ntcla + eslint: 8.29.0 + eslint-plugin-vue: 9.8.0_eslint@8.29.0 local-pkg: 0.4.2 transitivePeerDependencies: - '@typescript-eslint/parser' @@ -192,24 +192,24 @@ packages: - typescript dev: true - /@antfu/eslint-config/0.32.0_hsf322ms6xhhd4b5ne6lb74y4a: - resolution: {integrity: sha512-nK2J0dJ3VFHH9kPRH6Bobp3GK8XqXkW/5su5OcRyjgnGhkGZLCQkaAAyLczxxe8cT4ax2i9atQlo3gx2G7XDrA==} + /@antfu/eslint-config/0.33.1_s5ps7njkmjlaqajutnox5ntcla: + resolution: {integrity: sha512-g9s+8J7SIdbsqceDU14TNi/n65skquMtp05T/7GNz/Erz5QcsbhykW0X7uogO38skTnr5Qpm2OZ4ehzviLdciw==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-vue': 0.32.0_czs5uoqkd3podpy6vgtsxfc7au - '@typescript-eslint/eslint-plugin': 5.45.0_czs5uoqkd3podpy6vgtsxfc7au - '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a - eslint: 8.28.0 - eslint-plugin-eslint-comments: 3.2.0_eslint@8.28.0 + '@antfu/eslint-config-vue': 0.33.1_yjegg5cyoezm3fzsmuszzhetym + '@typescript-eslint/eslint-plugin': 5.45.0_yjegg5cyoezm3fzsmuszzhetym + '@typescript-eslint/parser': 5.45.0_s5ps7njkmjlaqajutnox5ntcla + eslint: 8.29.0 + eslint-plugin-eslint-comments: 3.2.0_eslint@8.29.0 eslint-plugin-html: 7.1.0 - eslint-plugin-import: 2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq - eslint-plugin-jsonc: 2.5.0_eslint@8.28.0 - eslint-plugin-n: 15.5.1_eslint@8.28.0 - eslint-plugin-promise: 6.1.1_eslint@8.28.0 - eslint-plugin-unicorn: 45.0.1_eslint@8.28.0 - eslint-plugin-vue: 9.8.0_eslint@8.28.0 - eslint-plugin-yml: 1.2.0_eslint@8.28.0 + eslint-plugin-import: 2.26.0_ub3senzxbs32f65wl7xoyha6lu + eslint-plugin-jsonc: 2.5.0_eslint@8.29.0 + eslint-plugin-n: 15.5.1_eslint@8.29.0 + eslint-plugin-promise: 6.1.1_eslint@8.29.0 + eslint-plugin-unicorn: 45.0.1_eslint@8.29.0 + eslint-plugin-vue: 9.8.0_eslint@8.29.0 + eslint-plugin-yml: 1.2.0_eslint@8.29.0 jsonc-eslint-parser: 2.1.0 yaml-eslint-parser: 1.1.0 transitivePeerDependencies: @@ -245,10 +245,10 @@ packages: '@babel/helper-compilation-targets': 7.19.3_@babel+core@7.19.6 '@babel/helper-module-transforms': 7.19.6 '@babel/helpers': 7.19.4 - '@babel/parser': 7.20.3 + '@babel/parser': 7.20.5 '@babel/template': 7.18.10 '@babel/traverse': 7.19.6 - '@babel/types': 7.20.2 + '@babel/types': 7.20.5 convert-source-map: 1.9.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -262,7 +262,7 @@ packages: resolution: {integrity: sha512-oHGRUQeoX1QrKeJIKVe0hwjGqNnVYsM5Nep5zo0uE0m42sLH+Fsd2pStJ5sRM1bNyTUUoz0pe2lTeMJrb/taTA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.2 + '@babel/types': 7.20.5 '@jridgewell/gen-mapping': 0.3.2 jsesc: 2.5.2 dev: true @@ -331,7 +331,7 @@ packages: resolution: {integrity: sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.2 + '@babel/types': 7.20.5 dev: true /@babel/helper-member-expression-to-functions/7.18.9: @@ -345,7 +345,7 @@ packages: resolution: {integrity: sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.2 + '@babel/types': 7.20.5 dev: true /@babel/helper-module-transforms/7.19.6: @@ -359,7 +359,7 @@ packages: '@babel/helper-validator-identifier': 7.19.1 '@babel/template': 7.18.10 '@babel/traverse': 7.19.6 - '@babel/types': 7.20.2 + '@babel/types': 7.20.5 transitivePeerDependencies: - supports-color dev: true @@ -398,7 +398,7 @@ packages: resolution: {integrity: sha512-f9Xq6WqBFqaDfbCzn2w85hwklswz5qsKlh7f08w4Y9yhJHpnNC0QemtSkK5YyOY8kPGvyiwdzZksGUhnGdaUIg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.20.2 + '@babel/types': 7.20.5 dev: true /@babel/helper-split-export-declaration/7.18.6: @@ -427,7 +427,7 @@ packages: dependencies: '@babel/template': 7.18.10 '@babel/traverse': 7.19.6 - '@babel/types': 7.20.2 + '@babel/types': 7.20.5 transitivePeerDependencies: - supports-color dev: true @@ -441,14 +441,6 @@ packages: js-tokens: 4.0.0 dev: true - /@babel/parser/7.20.3: - resolution: {integrity: sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg==} - engines: {node: '>=6.0.0'} - hasBin: true - dependencies: - '@babel/types': 7.20.2 - dev: true - /@babel/parser/7.20.5: resolution: {integrity: sha512-r27t/cy/m9uKLXQNWWebeCUHgnAZq0CpG1OwKRxzJMP1vpSU4bSIK2hq+/cp0bQxetkXx38n09rNu8jVkcK/zA==} engines: {node: '>=6.0.0'} @@ -495,8 +487,8 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.18.6 - '@babel/parser': 7.20.3 - '@babel/types': 7.20.2 + '@babel/parser': 7.20.5 + '@babel/types': 7.20.5 dev: true /@babel/traverse/7.19.6: @@ -509,8 +501,8 @@ packages: '@babel/helper-function-name': 7.19.0 '@babel/helper-hoist-variables': 7.18.6 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/parser': 7.20.3 - '@babel/types': 7.20.2 + '@babel/parser': 7.20.5 + '@babel/types': 7.20.5 debug: 4.3.4 globals: 11.12.0 transitivePeerDependencies: @@ -535,15 +527,6 @@ packages: - supports-color dev: true - /@babel/types/7.20.2: - resolution: {integrity: sha512-FnnvsNWgZCr232sqtXggapvlkk/tuwR/qhGzcmxI0GXLCjmPYQPzio2FbdlWuY6y1sHFfQKk+rRbUZ9VStQMog==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-string-parser': 7.19.4 - '@babel/helper-validator-identifier': 7.19.1 - to-fast-properties: 2.0.0 - dev: true - /@babel/types/7.20.5: resolution: {integrity: sha512-c9fst/h2/dcF7H+MJKZ2T0KjEQ8hY/BNnDk/H3XY8C4Aw/eWQXWn/lWntHF9ooUBnGmEvbfGrTgLWc+um0YDUg==} engines: {node: '>=6.9.0'} @@ -615,13 +598,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils/4.1.2_eslint@8.28.0: + /@eslint-community/eslint-utils/4.1.2_eslint@8.29.0: resolution: {integrity: sha512-7qELuQWWjVDdVsFQ5+beUl+KPczrEDA7S3zM4QUd/bJl7oXgsmpXaEVqrRTnOBqenOV4rWf2kVZk2Ot085zPWA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.28.0 + eslint: 8.29.0 eslint-visitor-keys: 3.3.0 dev: true @@ -942,7 +925,7 @@ packages: /@types/web-bluetooth/0.0.16: resolution: {integrity: sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==} - /@typescript-eslint/eslint-plugin/5.45.0_czs5uoqkd3podpy6vgtsxfc7au: + /@typescript-eslint/eslint-plugin/5.45.0_yjegg5cyoezm3fzsmuszzhetym: resolution: {integrity: sha512-CXXHNlf0oL+Yg021cxgOdMHNTXD17rHkq7iW6RFHoybdFgQBjU3yIXhhcPpGwr1CjZlo6ET8C6tzX5juQoXeGA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -953,12 +936,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + '@typescript-eslint/parser': 5.45.0_s5ps7njkmjlaqajutnox5ntcla '@typescript-eslint/scope-manager': 5.45.0 - '@typescript-eslint/type-utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a - '@typescript-eslint/utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + '@typescript-eslint/type-utils': 5.45.0_s5ps7njkmjlaqajutnox5ntcla + '@typescript-eslint/utils': 5.45.0_s5ps7njkmjlaqajutnox5ntcla debug: 4.3.4 - eslint: 8.28.0 + eslint: 8.29.0 ignore: 5.2.1 natural-compare-lite: 1.4.0 regexpp: 3.2.0 @@ -969,7 +952,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a: + /@typescript-eslint/parser/5.45.0_s5ps7njkmjlaqajutnox5ntcla: resolution: {integrity: sha512-brvs/WSM4fKUmF5Ot/gEve6qYiCMjm6w4HkHPfS6ZNmxTS0m0iNN4yOChImaCkqc1hRwFGqUyanMXuGal6oyyQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -983,7 +966,7 @@ packages: '@typescript-eslint/types': 5.45.0 '@typescript-eslint/typescript-estree': 5.45.0_typescript@4.9.3 debug: 4.3.4 - eslint: 8.28.0 + eslint: 8.29.0 typescript: 4.9.3 transitivePeerDependencies: - supports-color @@ -997,7 +980,7 @@ packages: '@typescript-eslint/visitor-keys': 5.45.0 dev: true - /@typescript-eslint/type-utils/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a: + /@typescript-eslint/type-utils/5.45.0_s5ps7njkmjlaqajutnox5ntcla: resolution: {integrity: sha512-DY7BXVFSIGRGFZ574hTEyLPRiQIvI/9oGcN8t1A7f6zIs6ftbrU0nhyV26ZW//6f85avkwrLag424n+fkuoJ1Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1008,9 +991,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 5.45.0_typescript@4.9.3 - '@typescript-eslint/utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + '@typescript-eslint/utils': 5.45.0_s5ps7njkmjlaqajutnox5ntcla debug: 4.3.4 - eslint: 8.28.0 + eslint: 8.29.0 tsutils: 3.21.0_typescript@4.9.3 typescript: 4.9.3 transitivePeerDependencies: @@ -1043,7 +1026,7 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.45.0_hsf322ms6xhhd4b5ne6lb74y4a: + /@typescript-eslint/utils/5.45.0_s5ps7njkmjlaqajutnox5ntcla: resolution: {integrity: sha512-OUg2JvsVI1oIee/SwiejTot2OxwU8a7UfTFMOdlhD2y+Hl6memUSL4s98bpUTo8EpVEr0lmwlU7JSu/p2QpSvA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -1054,9 +1037,9 @@ packages: '@typescript-eslint/scope-manager': 5.45.0 '@typescript-eslint/types': 5.45.0 '@typescript-eslint/typescript-estree': 5.45.0_typescript@4.9.3 - eslint: 8.28.0 + eslint: 8.29.0 eslint-scope: 5.1.1 - eslint-utils: 3.0.0_eslint@8.28.0 + eslint-utils: 3.0.0_eslint@8.29.0 semver: 7.3.8 transitivePeerDependencies: - supports-color @@ -1098,44 +1081,44 @@ packages: vue: 3.2.45 dev: true - /@volar/language-core/1.0.10: - resolution: {integrity: sha512-7WNzjvdUXjggEZvYu9EInABl4mvXtyiiaJDOJM+plHJT7xW5voLja0BrYYji6TUn8Q4HakLvTPpQddPLq134mg==} + /@volar/language-core/1.0.11: + resolution: {integrity: sha512-YwUYKxIyDc+Fq3kQ6BGGfkrKCG5JzE2Yr6vMxrxEXW2rg/gsq3JgMk/4sI8ybRsaTirhCB4V8+AIVYsvcRxgig==} dependencies: - '@volar/source-map': 1.0.10 + '@volar/source-map': 1.0.11 '@vue/reactivity': 3.2.45 muggle-string: 0.1.0 dev: true - /@volar/source-map/1.0.10: - resolution: {integrity: sha512-jSZW1tfsvAOHlpoRy14zH9sdCYR4g8QcnCXRli8juFC2UHoVzVRKB6VdnXcx5wRAlIRXoiBpsU+pKminryKEBw==} + /@volar/source-map/1.0.11: + resolution: {integrity: sha512-tkuV9MD+OuiZfHA0qZXrPdW6F7TvnpnuTan6Qe7UGUs9+sflezlMJdjaYdGgQObfP+06pcT1E3xdkOoi08ZyyQ==} dependencies: muggle-string: 0.1.0 dev: true - /@volar/typescript/1.0.10: - resolution: {integrity: sha512-Nd+u2Z2P1V+KiNBMLLK6wV4sswOOYBsjEHmgK29eENXtos1+gF2GWB908vvwmT75dmCtlYZ8No14lvCqXUAVdg==} + /@volar/typescript/1.0.11: + resolution: {integrity: sha512-mq7wDDAs0Eb43jev2FxbowuiwWqvL3kb+tar1we8VQbdabpyQ5dmbWPwo/IglevMmW3SKo1Et+6rqAeZpXNnPQ==} dependencies: - '@volar/language-core': 1.0.10 + '@volar/language-core': 1.0.11 dev: true - /@volar/vue-language-core/1.0.10: - resolution: {integrity: sha512-m7pYXGwkpF9Bmuud73kGlAX31QUTwifYbgCenaqm3hGNh+SJebSkxzk4NJvabiGbA6ON3b5ayQZ/rbOEtdoghw==} + /@volar/vue-language-core/1.0.11: + resolution: {integrity: sha512-A3ODs0/ua7BcpSSnE7KtO8bzWsYsbOJRyW2Q/2uktxlfHj8srln3JdgK/mNlIgfnWtACbE5K+EfMJOgJKv864A==} dependencies: - '@volar/language-core': 1.0.10 - '@volar/source-map': 1.0.10 + '@volar/language-core': 1.0.11 + '@volar/source-map': 1.0.11 '@vue/compiler-dom': 3.2.45 '@vue/compiler-sfc': 3.2.45 '@vue/reactivity': 3.2.45 '@vue/shared': 3.2.45 - minimatch: 5.1.0 + minimatch: 5.1.1 vue-template-compiler: 2.7.14 dev: true - /@volar/vue-typescript/1.0.10: - resolution: {integrity: sha512-GjQ+mfIUljXGfkTmNrfNT8YYQY48mcOE5SJ190o6ENArzH9cqjmvPLo1nrdurbZOFwztwEDNye5N1/5aL9sZ1g==} + /@volar/vue-typescript/1.0.11: + resolution: {integrity: sha512-jlnFPvBcTyPiAbGlgjhKK7fp3Q+Z7Z5eU1NTbTSS0lQC8Gog3sh2UxLAFG5Voe1gHIxasoOEPXzMR0CWF4bKbA==} dependencies: - '@volar/typescript': 1.0.10 - '@volar/vue-language-core': 1.0.10 + '@volar/typescript': 1.0.11 + '@volar/vue-language-core': 1.0.11 dev: true /@vue/babel-helper-vue-transform-on/1.0.2: @@ -1149,7 +1132,7 @@ packages: '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.19.6 '@babel/template': 7.18.10 '@babel/traverse': 7.19.6 - '@babel/types': 7.20.2 + '@babel/types': 7.20.5 '@vue/babel-helper-vue-transform-on': 1.0.2 camelcase: 6.3.0 html-tags: 3.2.0 @@ -2550,8 +2533,8 @@ packages: resolution: {integrity: sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==} dev: true - /element-plus/2.2.25_vue@3.2.45: - resolution: {integrity: sha512-HC8CWY31e6pPyBpgqI0QnWkBgs0vRzdYnEw3mpdM/NlKfp0PtNFX7NESQLomqoIulH5ftL09hjQmJNvZBQpthQ==} + /element-plus/2.2.26_vue@3.2.45: + resolution: {integrity: sha512-O/rdY5m9DkclpVg8r3GynyqCunm7MxSR142xSsjrZA77bi7bcwA3SIy6SPEDqHi5R4KqgkGYgKSp4Q4e3irbYg==} peerDependencies: vue: ^3.2.0 dependencies: @@ -2918,7 +2901,7 @@ packages: - supports-color dev: true - /eslint-module-utils/2.7.4_kr6tb4mi2cmpd7whrqyyy67tyi: + /eslint-module-utils/2.7.4_ka2zl4kbfnnb6pzn3mgzpmhlt4: resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} engines: {node: '>=4'} peerDependencies: @@ -2939,43 +2922,43 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + '@typescript-eslint/parser': 5.45.0_s5ps7njkmjlaqajutnox5ntcla debug: 3.2.7 - eslint: 8.28.0 + eslint: 8.29.0 eslint-import-resolver-node: 0.3.6 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-antfu/0.32.0_hsf322ms6xhhd4b5ne6lb74y4a: - resolution: {integrity: sha512-aXA6UEfQJQ9pEUxOucR270ppCUXkAW4hehBdSkmyXC/4ib4KOi10WMqNvZhzxyRSNa2zuJ77BZdasvvEUsQk1w==} + /eslint-plugin-antfu/0.33.1_s5ps7njkmjlaqajutnox5ntcla: + resolution: {integrity: sha512-QhEFqyMpsXDV+Rz/mzGs6LSb6XAeCtS0YgmcqAEeTYL+rCmEaxGWiOKDphhEUcVf7qT86fZkF8h7ffBwId30bA==} dependencies: - '@typescript-eslint/utils': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + '@typescript-eslint/utils': 5.45.0_s5ps7njkmjlaqajutnox5ntcla transitivePeerDependencies: - eslint - supports-color - typescript dev: true - /eslint-plugin-es/4.1.0_eslint@8.28.0: + /eslint-plugin-es/4.1.0_eslint@8.29.0: resolution: {integrity: sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==} engines: {node: '>=8.10.0'} peerDependencies: eslint: '>=4.19.1' dependencies: - eslint: 8.28.0 + eslint: 8.29.0 eslint-utils: 2.1.0 regexpp: 3.2.0 dev: true - /eslint-plugin-eslint-comments/3.2.0_eslint@8.28.0: + /eslint-plugin-eslint-comments/3.2.0_eslint@8.29.0: resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} engines: {node: '>=6.5.0'} peerDependencies: eslint: '>=4.19.1' dependencies: escape-string-regexp: 1.0.5 - eslint: 8.28.0 + eslint: 8.29.0 ignore: 5.2.1 dev: true @@ -2985,7 +2968,7 @@ packages: htmlparser2: 8.0.1 dev: true - /eslint-plugin-import/2.26.0_vbnhqcxlbs7ynbxw44hu2vq7eq: + /eslint-plugin-import/2.26.0_ub3senzxbs32f65wl7xoyha6lu: resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} engines: {node: '>=4'} peerDependencies: @@ -2995,14 +2978,14 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.45.0_hsf322ms6xhhd4b5ne6lb74y4a + '@typescript-eslint/parser': 5.45.0_s5ps7njkmjlaqajutnox5ntcla array-includes: 3.1.6 array.prototype.flat: 1.3.1 debug: 2.6.9 doctrine: 2.1.0 - eslint: 8.28.0 + eslint: 8.29.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.4_kr6tb4mi2cmpd7whrqyyy67tyi + eslint-module-utils: 2.7.4_ka2zl4kbfnnb6pzn3mgzpmhlt4 has: 1.0.3 is-core-module: 2.11.0 is-glob: 4.0.3 @@ -3016,40 +2999,40 @@ packages: - supports-color dev: true - /eslint-plugin-jsonc/2.5.0_eslint@8.28.0: + /eslint-plugin-jsonc/2.5.0_eslint@8.29.0: resolution: {integrity: sha512-G257khwkrOQ5MJpSzz4yQh5K12W4xFZRcHmVlhVFWh2GCLDX+JwHnmkQoUoFDbOieSPBMsPFZDTJScwrXiWlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.28.0 - eslint-utils: 3.0.0_eslint@8.28.0 + eslint: 8.29.0 + eslint-utils: 3.0.0_eslint@8.29.0 jsonc-eslint-parser: 2.1.0 natural-compare: 1.4.0 dev: true - /eslint-plugin-markdown/3.0.0_eslint@8.28.0: + /eslint-plugin-markdown/3.0.0_eslint@8.29.0: resolution: {integrity: sha512-hRs5RUJGbeHDLfS7ELanT0e29Ocyssf/7kBM+p7KluY5AwngGkDf8Oyu4658/NZSGTTq05FZeWbkxXtbVyHPwg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.28.0 + eslint: 8.29.0 mdast-util-from-markdown: 0.8.5 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-n/15.5.1_eslint@8.28.0: + /eslint-plugin-n/15.5.1_eslint@8.29.0: resolution: {integrity: sha512-kAd+xhZm7brHoFLzKLB7/FGRFJNg/srmv67mqb7tto22rpr4wv/LV6RuXzAfv3jbab7+k1wi42PsIhGviywaaw==} engines: {node: '>=12.22.0'} peerDependencies: eslint: '>=7.0.0' dependencies: builtins: 5.0.1 - eslint: 8.28.0 - eslint-plugin-es: 4.1.0_eslint@8.28.0 - eslint-utils: 3.0.0_eslint@8.28.0 + eslint: 8.29.0 + eslint-plugin-es: 4.1.0_eslint@8.29.0 + eslint-utils: 3.0.0_eslint@8.29.0 ignore: 5.2.1 is-core-module: 2.11.0 minimatch: 3.1.2 @@ -3062,26 +3045,26 @@ packages: engines: {node: '>=5.0.0'} dev: true - /eslint-plugin-promise/6.1.1_eslint@8.28.0: + /eslint-plugin-promise/6.1.1_eslint@8.29.0: resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.28.0 + eslint: 8.29.0 dev: true - /eslint-plugin-unicorn/45.0.1_eslint@8.28.0: + /eslint-plugin-unicorn/45.0.1_eslint@8.29.0: resolution: {integrity: sha512-tLnIw5oDJJc3ILYtlKtqOxPP64FZLTkZkgeuoN6e7x6zw+rhBjOxyvq2c7577LGxXuIhBYrwisZuKNqOOHp3BA==} engines: {node: '>=14.18'} peerDependencies: eslint: '>=8.28.0' dependencies: '@babel/helper-validator-identifier': 7.19.1 - '@eslint-community/eslint-utils': 4.1.2_eslint@8.28.0 + '@eslint-community/eslint-utils': 4.1.2_eslint@8.29.0 ci-info: 3.7.0 clean-regexp: 1.0.0 - eslint: 8.28.0 + eslint: 8.29.0 esquery: 1.4.0 indent-string: 4.0.0 is-builtin-module: 3.2.0 @@ -3096,32 +3079,32 @@ packages: strip-indent: 3.0.0 dev: true - /eslint-plugin-vue/9.8.0_eslint@8.28.0: + /eslint-plugin-vue/9.8.0_eslint@8.29.0: resolution: {integrity: sha512-E/AXwcTzunyzM83C2QqDHxepMzvI2y6x+mmeYHbVDQlKFqmKYvRrhaVixEeeG27uI44p9oKDFiyCRw4XxgtfHA==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.28.0 - eslint-utils: 3.0.0_eslint@8.28.0 + eslint: 8.29.0 + eslint-utils: 3.0.0_eslint@8.29.0 natural-compare: 1.4.0 nth-check: 2.1.1 postcss-selector-parser: 6.0.11 semver: 7.3.8 - vue-eslint-parser: 9.1.0_eslint@8.28.0 + vue-eslint-parser: 9.1.0_eslint@8.29.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-yml/1.2.0_eslint@8.28.0: + /eslint-plugin-yml/1.2.0_eslint@8.29.0: resolution: {integrity: sha512-v0jAU/F5SJg28zkpxwGpY04eGZMWFP6os8u2qaEAIRjSH2GqrNl0yBR5+sMHLU/026kAduxVbvLSqmT3Mu3O0g==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.28.0 + eslint: 8.29.0 lodash: 4.17.21 natural-compare: 1.4.0 yaml-eslint-parser: 1.1.0 @@ -3152,13 +3135,13 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.28.0: + /eslint-utils/3.0.0_eslint@8.29.0: resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} peerDependencies: eslint: '>=5' dependencies: - eslint: 8.28.0 + eslint: 8.29.0 eslint-visitor-keys: 2.1.0 dev: true @@ -3177,8 +3160,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.28.0: - resolution: {integrity: sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==} + /eslint/8.29.0: + resolution: {integrity: sha512-isQ4EEiyUjZFbEKvEGJKKGBwXtvXX+zJbkVKCgTuB9t/+jUBcy8avhkEwWJecI15BkRkOYmvIM5ynbhRjEkoeg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: @@ -3193,7 +3176,7 @@ packages: doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.1.1 - eslint-utils: 3.0.0_eslint@8.28.0 + eslint-utils: 3.0.0_eslint@8.29.0 eslint-visitor-keys: 3.3.0 espree: 9.4.0 esquery: 1.4.0 @@ -3453,7 +3436,7 @@ packages: /filelist/1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} dependencies: - minimatch: 5.1.0 + minimatch: 5.1.1 dev: true /fill-range/4.0.0: @@ -3616,8 +3599,8 @@ packages: universalify: 2.0.0 dev: true - /fs-extra/11.0.0: - resolution: {integrity: sha512-4YxRvMi4P5C3WQTvdRfrv5UVqbISpqjORFQAW5QPiKAauaxNCwrEdIi6pG3tDFhKKpMen+enEhHIzB/tvIO+/w==} + /fs-extra/11.1.0: + resolution: {integrity: sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==} engines: {node: '>=14.14'} dependencies: graceful-fs: 4.2.10 @@ -5142,6 +5125,13 @@ packages: brace-expansion: 2.0.1 dev: true + /minimatch/5.1.1: + resolution: {integrity: sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 2.0.1 + dev: true + /minimist-options/4.1.0: resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} engines: {node: '>= 6'} @@ -7709,14 +7699,14 @@ packages: dependencies: vue: 3.2.45 - /vue-eslint-parser/9.1.0_eslint@8.28.0: + /vue-eslint-parser/9.1.0_eslint@8.29.0: resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.28.0 + eslint: 8.29.0 eslint-scope: 7.1.1 eslint-visitor-keys: 3.3.0 espree: 9.4.1 @@ -7742,14 +7732,14 @@ packages: he: 1.2.0 dev: true - /vue-tsc/1.0.10_typescript@4.9.3: - resolution: {integrity: sha512-o6ek6ZSDwpVWn7/ZXlIILfCZ18o7ypEYKMDynsyPj9m10/ALXkCLKIj9yVfx00QAX5Z/hKrdhYcA2ZaQ0+U7Kg==} + /vue-tsc/1.0.11_typescript@4.9.3: + resolution: {integrity: sha512-lj+6dEroPsE4wmQOPtjCzAf8x363Km5/tuEvMEoQaoRnzs9myBM46FNvCGIIPStYUGuaqF1W1bORmP2KDQEORA==} hasBin: true peerDependencies: typescript: '*' dependencies: - '@volar/vue-language-core': 1.0.10 - '@volar/vue-typescript': 1.0.10 + '@volar/vue-language-core': 1.0.11 + '@volar/vue-typescript': 1.0.11 typescript: 4.9.3 dev: true diff --git a/src/api/index.ts b/src/api/index.ts index 5dd3ba7..4b814c4 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -5,8 +5,8 @@ import router from '@/router/index' import useUserStore from '@/store/modules/user' const toLogin = () => { - void useUserStore().logout().then(() => { - void router.push({ + useUserStore().logout().then(() => { + router.push({ path: '/login', query: { redirect: router.currentRoute.value.path !== '/login' ? router.currentRoute.value.fullPath : undefined, diff --git a/src/main.ts b/src/main.ts index 2f6ec27..94fadf5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -20,7 +20,7 @@ app.use(pinia) app.use(router) directive(app) if (useSettingsStore().app.iconifyOfflineUse) { - void downloadAndInstall() + downloadAndInstall() } app.mount('#app') diff --git a/src/utils/composables/useMainPage.ts b/src/utils/composables/useMainPage.ts index 226fd5c..3ccb739 100644 --- a/src/utils/composables/useMainPage.ts +++ b/src/utils/composables/useMainPage.ts @@ -2,7 +2,7 @@ import router from '@/router' export default function useMainPage() { function reload() { - void router.push({ + router.push({ name: 'reload', }) } diff --git a/src/utils/composables/useMenu.ts b/src/utils/composables/useMenu.ts index b79e461..89abc81 100644 --- a/src/utils/composables/useMenu.ts +++ b/src/utils/composables/useMenu.ts @@ -9,7 +9,7 @@ export default function useMenu() { function switchTo(index: number | string) { menuStore.setActived(index) if (settingsStore.menu.switchMainMenuAndPageJump) { - void router.push(menuStore.sidebarMenusFirstDeepestPath) + router.push(menuStore.sidebarMenusFirstDeepestPath) } }