From 24b3f11fb98e361a0ff71af10b4b7eaf775b3742 Mon Sep 17 00:00:00 2001 From: Hakadao Date: Mon, 7 Aug 2023 00:39:06 +0800 Subject: [PATCH] feat: implement some features to the search page configuration * refactor: adjust the arrangement in the i18n --- .eslintrc | 6 +- package.json | 2 +- pnpm-lock.yaml | 681 +++++++++--------- src/_locales/cmn-CN.yml | 21 +- src/_locales/cmn-TW.yml | 22 +- src/_locales/en.yml | 21 +- src/_locales/jyut.yml | 21 +- src/components/SearchBar/SearchBar.vue | 8 +- src/components/Settings/Settings.vue | 6 +- .../Settings/components/General.vue | 2 +- .../Settings/components/SearchPage.vue | 16 +- src/contentScripts/views/Search/Search.vue | 2 +- src/logic/storage.ts | 1 + src/models/models.ts | 1 + 14 files changed, 456 insertions(+), 354 deletions(-) diff --git a/.eslintrc b/.eslintrc index 09c2e423..04080512 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,3 +1,7 @@ { - "extends": "@antfu" + "extends": "@antfu", + "rules": { + "vue/comma-dangle": "off", + "vue/dot-location": "off" + } } diff --git a/package.json b/package.json index e5b74aa7..f959f23a 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "test": "vitest test" }, "devDependencies": { - "@antfu/eslint-config": "^0.27.0", + "@antfu/eslint-config": "^0.39.7", "@ffflorian/jszip-cli": "^3.4.1", "@iconify/json": "^2.2.97", "@intlify/unplugin-vue-i18n": "^0.8.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eba7d669..0ca453f8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,7 +1,7 @@ lockfileVersion: 5.3 specifiers: - '@antfu/eslint-config': ^0.27.0 + '@antfu/eslint-config': ^0.39.7 '@ffflorian/jszip-cli': ^3.4.1 '@iconify/json': ^2.2.97 '@intlify/unplugin-vue-i18n': ^0.8.2 @@ -51,7 +51,7 @@ dependencies: vue-i18n: 9.2.2_vue@3.3.4 devDependencies: - '@antfu/eslint-config': 0.27.0_eslint@8.46.0+typescript@4.9.5 + '@antfu/eslint-config': 0.39.8_eslint@8.46.0+typescript@4.9.5 '@ffflorian/jszip-cli': 3.4.1 '@iconify/json': 2.2.97 '@intlify/unplugin-vue-i18n': 0.8.2_vue-i18n@9.2.2 @@ -107,78 +107,88 @@ packages: '@jridgewell/trace-mapping': 0.3.17 dev: true - /@antfu/eslint-config-basic/0.27.0_eslint@8.46.0+typescript@4.9.5: - resolution: {integrity: sha512-QgQVCiNiV9ZF7h09uBqTHctHDfVqJGIIpe0ZHCicLvUv233nAYeu4adAr53buhKrxDeoalozSs2ePiDiCyceTg==} + /@antfu/eslint-config-basic/0.39.8_fbc1a4646d309073c7b85d970ddc57df: + resolution: {integrity: sha512-HvxNu11NRpX/DHmcMcA2KenY/IIy3THEn5tpizg6vPIp3ZYSNkW3ov6sK2wxCd1S8Rwl/65566wplJ8xTYe0EA==} peerDependencies: eslint: '>=7.4.0' dependencies: eslint: 8.46.0 - eslint-plugin-antfu: 0.27.0_eslint@8.46.0+typescript@4.9.5 + eslint-plugin-antfu: 0.39.8_eslint@8.46.0+typescript@4.9.5 eslint-plugin-eslint-comments: 3.2.0_eslint@8.46.0 eslint-plugin-html: 7.1.0 - eslint-plugin-import: 2.26.0_eslint@8.46.0 - eslint-plugin-jsonc: 2.4.0_eslint@8.46.0 + eslint-plugin-import: /eslint-plugin-i/2.27.5-4_eslint@8.46.0 + eslint-plugin-jsonc: 2.9.0_eslint@8.46.0 eslint-plugin-markdown: 3.0.0_eslint@8.46.0 - eslint-plugin-n: 15.2.5_eslint@8.46.0 - eslint-plugin-promise: 6.0.1_eslint@8.46.0 - eslint-plugin-unicorn: 43.0.2_eslint@8.46.0 - eslint-plugin-yml: 1.3.0_eslint@8.46.0 - jsonc-eslint-parser: 2.1.0 - yaml-eslint-parser: 1.1.0 + eslint-plugin-n: 16.0.1_eslint@8.46.0 + eslint-plugin-no-only-tests: 3.1.0 + eslint-plugin-promise: 6.1.1_eslint@8.46.0 + eslint-plugin-unicorn: 48.0.1_eslint@8.46.0 + eslint-plugin-unused-imports: 3.0.0_87e2157059b73c1a910c0d8966078719 + eslint-plugin-yml: 1.8.0_eslint@8.46.0 + jsonc-eslint-parser: 2.3.0 + yaml-eslint-parser: 1.2.2 transitivePeerDependencies: + - '@typescript-eslint/eslint-plugin' - supports-color - typescript dev: true - /@antfu/eslint-config-ts/0.27.0_eslint@8.46.0+typescript@4.9.5: - resolution: {integrity: sha512-h/ai9xe65lXtsUiSBRAvfcN47fqn5uGHcCA5c0LoBRX6fVFHk06BbPWMlSJRtqmc3uBTmv3gU8SrnWwrycnKag==} + /@antfu/eslint-config-ts/0.39.8_eslint@8.46.0+typescript@4.9.5: + resolution: {integrity: sha512-oMkIzxxD+sdHpO7Ctk+ej1SCZAoSbPMGyqjfaGLqpaxh87gP7LSFlm6QpsdIWllnTyYB75Hk8LMqFQWCJU9dxw==} peerDependencies: eslint: '>=7.4.0' typescript: '>=3.9' dependencies: - '@antfu/eslint-config-basic': 0.27.0_eslint@8.46.0+typescript@4.9.5 - '@typescript-eslint/eslint-plugin': 5.62.0_5131185102f87ad38e2ce4dd9aced718 - '@typescript-eslint/parser': 5.36.2_eslint@8.46.0+typescript@4.9.5 + '@antfu/eslint-config-basic': 0.39.8_fbc1a4646d309073c7b85d970ddc57df + '@typescript-eslint/eslint-plugin': 6.2.1_e0cb2d08352ee3bf5e53383be8350ae3 + '@typescript-eslint/parser': 6.2.1_eslint@8.46.0+typescript@4.9.5 eslint: 8.46.0 + eslint-plugin-jest: 27.2.3_fbc1a4646d309073c7b85d970ddc57df typescript: 4.9.5 transitivePeerDependencies: + - jest - supports-color dev: true - /@antfu/eslint-config-vue/0.27.0_eslint@8.46.0+typescript@4.9.5: - resolution: {integrity: sha512-Iw4GY4rXK1dPxzIl35bOwPE1vn6E5Wm8uljqdpQYQpTX1j6el7Yo30bpanCogWRcdPSMWKcS7GVlHjV47QB59w==} + /@antfu/eslint-config-vue/0.39.8_fbc1a4646d309073c7b85d970ddc57df: + resolution: {integrity: sha512-BeBRdI8Bm0d9ppomvmPkrIim4IEW4ZHZHsGw2qSw/mSDZwprLyGi9tgNMnoHbN9OBGQwveuurdKFlJz5SlCjrA==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-ts': 0.27.0_eslint@8.46.0+typescript@4.9.5 + '@antfu/eslint-config-basic': 0.39.8_fbc1a4646d309073c7b85d970ddc57df + '@antfu/eslint-config-ts': 0.39.8_eslint@8.46.0+typescript@4.9.5 eslint: 8.46.0 - eslint-plugin-vue: 9.8.0_eslint@8.46.0 + eslint-plugin-vue: 9.16.1_eslint@8.46.0 + local-pkg: 0.4.3 transitivePeerDependencies: + - '@typescript-eslint/eslint-plugin' + - jest - supports-color - typescript dev: true - /@antfu/eslint-config/0.27.0_eslint@8.46.0+typescript@4.9.5: - resolution: {integrity: sha512-xM1In6/ueNyKxxWO86jd7a9IdKby66lZVT/fE8k2RlP+X0xe5/DTTQfwLbVvnRpn77jCPIhEjNKVWxDO/DUEIg==} + /@antfu/eslint-config/0.39.8_eslint@8.46.0+typescript@4.9.5: + resolution: {integrity: sha512-KnDjLw6UEoHdEzB6CzQMm+EkA4ZI94r1Of1rRRw0qxhkFhD/+SQ2BTBgmF5d4wTsU0IT1Dk5JjJ6J/cVFKdXWQ==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-vue': 0.27.0_eslint@8.46.0+typescript@4.9.5 - '@typescript-eslint/eslint-plugin': 5.62.0_5131185102f87ad38e2ce4dd9aced718 - '@typescript-eslint/parser': 5.36.2_eslint@8.46.0+typescript@4.9.5 + '@antfu/eslint-config-vue': 0.39.8_fbc1a4646d309073c7b85d970ddc57df + '@typescript-eslint/eslint-plugin': 6.2.1_e0cb2d08352ee3bf5e53383be8350ae3 + '@typescript-eslint/parser': 6.2.1_eslint@8.46.0+typescript@4.9.5 eslint: 8.46.0 eslint-plugin-eslint-comments: 3.2.0_eslint@8.46.0 eslint-plugin-html: 7.1.0 - eslint-plugin-import: 2.26.0_eslint@8.46.0 - eslint-plugin-jsonc: 2.4.0_eslint@8.46.0 - eslint-plugin-n: 15.2.5_eslint@8.46.0 - eslint-plugin-promise: 6.0.1_eslint@8.46.0 - eslint-plugin-unicorn: 43.0.2_eslint@8.46.0 - eslint-plugin-vue: 9.8.0_eslint@8.46.0 - eslint-plugin-yml: 1.3.0_eslint@8.46.0 - jsonc-eslint-parser: 2.1.0 - yaml-eslint-parser: 1.1.0 + eslint-plugin-import: /eslint-plugin-i/2.27.5-4_eslint@8.46.0 + eslint-plugin-jsonc: 2.9.0_eslint@8.46.0 + eslint-plugin-n: 16.0.1_eslint@8.46.0 + eslint-plugin-promise: 6.1.1_eslint@8.46.0 + eslint-plugin-unicorn: 48.0.1_eslint@8.46.0 + eslint-plugin-vue: 9.16.1_eslint@8.46.0 + eslint-plugin-yml: 1.8.0_eslint@8.46.0 + jsonc-eslint-parser: 2.3.0 + yaml-eslint-parser: 1.2.2 transitivePeerDependencies: + - jest - supports-color - typescript dev: true @@ -209,13 +219,13 @@ packages: '@babel/highlight': 7.18.6 dev: true - /@babel/helper-validator-identifier/7.18.6: - resolution: {integrity: sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==} + /@babel/helper-validator-identifier/7.19.1: + resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} engines: {node: '>=6.9.0'} dev: true - /@babel/helper-validator-identifier/7.19.1: - resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} + /@babel/helper-validator-identifier/7.22.5: + resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} engines: {node: '>=6.9.0'} dev: true @@ -927,8 +937,8 @@ packages: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} dev: true - /@types/json5/0.0.29: - resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} + /@types/json-schema/7.0.12: + resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} dev: true /@types/mdast/3.0.10: @@ -953,6 +963,10 @@ packages: resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} dev: true + /@types/semver/7.5.0: + resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} + dev: true + /@types/unist/2.0.6: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: true @@ -975,34 +989,6 @@ packages: '@types/node': 18.17.1 dev: true - /@typescript-eslint/eslint-plugin/5.62.0_5131185102f87ad38e2ce4dd9aced718: - resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/parser': ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@eslint-community/regexpp': 4.6.2 - '@typescript-eslint/parser': 5.36.2_eslint@8.46.0+typescript@4.9.5 - '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0_eslint@8.46.0+typescript@4.9.5 - '@typescript-eslint/utils': 5.62.0_eslint@8.46.0+typescript@4.9.5 - debug: 4.3.4 - eslint: 8.46.0 - graphemer: 1.4.0 - ignore: 5.2.0 - natural-compare-lite: 1.4.0 - semver: 7.3.8 - tsutils: 3.21.0_typescript@4.9.5 - typescript: 4.9.5 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/eslint-plugin/5.62.0_eslint@8.46.0+typescript@4.9.5: resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1030,32 +1016,55 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.36.2_eslint@8.46.0+typescript@4.9.5: - resolution: {integrity: sha512-qS/Kb0yzy8sR0idFspI9Z6+t7mqk/oRjnAYfewG+VN73opAUvmYL3oPIMmgOX6CnQS6gmVIXGshlb5RY/R22pA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/eslint-plugin/6.2.1_e0cb2d08352ee3bf5e53383be8350ae3: + resolution: {integrity: sha512-iZVM/ALid9kO0+I81pnp1xmYiFyqibAHzrqX4q5YvvVEyJqY+e6rfTXSCsc2jUxGNqJqTfFSSij/NFkZBiBzLw==} + engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.36.2 - '@typescript-eslint/types': 5.36.2 - '@typescript-eslint/typescript-estree': 5.36.2_typescript@4.9.5 + '@eslint-community/regexpp': 4.6.2 + '@typescript-eslint/parser': 6.2.1_eslint@8.46.0+typescript@4.9.5 + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/type-utils': 6.2.1_eslint@8.46.0+typescript@4.9.5 + '@typescript-eslint/utils': 6.2.1_eslint@8.46.0+typescript@4.9.5 + '@typescript-eslint/visitor-keys': 6.2.1 debug: 4.3.4 eslint: 8.46.0 + graphemer: 1.4.0 + ignore: 5.2.4 + natural-compare: 1.4.0 + natural-compare-lite: 1.4.0 + semver: 7.5.4 + ts-api-utils: 1.0.1_typescript@4.9.5 typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.36.2: - resolution: {integrity: sha512-cNNP51L8SkIFSfce8B1NSUBTJTu2Ts4nWeWbFrdaqjmn9yKrAaJUBHkyTZc0cL06OFHpb+JZq5AUHROS398Orw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/parser/6.2.1_eslint@8.46.0+typescript@4.9.5: + resolution: {integrity: sha512-Ld+uL1kYFU8e6btqBFpsHkwQ35rw30IWpdQxgOqOh4NfxSDH6uCkah1ks8R/RgQqI5hHPXMaLy9fbFseIe+dIg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true dependencies: - '@typescript-eslint/types': 5.36.2 - '@typescript-eslint/visitor-keys': 5.36.2 + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/typescript-estree': 6.2.1_typescript@4.9.5 + '@typescript-eslint/visitor-keys': 6.2.1 + debug: 4.3.4 + eslint: 8.46.0 + typescript: 4.9.5 + transitivePeerDependencies: + - supports-color dev: true /@typescript-eslint/scope-manager/5.62.0: @@ -1066,6 +1075,14 @@ packages: '@typescript-eslint/visitor-keys': 5.62.0 dev: true + /@typescript-eslint/scope-manager/6.2.1: + resolution: {integrity: sha512-UCqBF9WFqv64xNsIEPfBtenbfodPXsJ3nPAr55mGPkQIkiQvgoWNo+astj9ZUfJfVKiYgAZDMnM6dIpsxUMp3Q==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/visitor-keys': 6.2.1 + dev: true + /@typescript-eslint/type-utils/5.62.0_eslint@8.46.0+typescript@4.9.5: resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1086,9 +1103,24 @@ packages: - supports-color dev: true - /@typescript-eslint/types/5.36.2: - resolution: {integrity: sha512-9OJSvvwuF1L5eS2EQgFUbECb99F0mwq501w0H0EkYULkhFa19Qq7WFbycdw1PexAc929asupbZcgjVIe6OK/XQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/type-utils/6.2.1_eslint@8.46.0+typescript@4.9.5: + resolution: {integrity: sha512-fTfCgomBMIgu2Dh2Or3gMYgoNAnQm3RLtRp+jP7A8fY+LJ2+9PNpi5p6QB5C4RSP+U3cjI0vDlI3mspAkpPVbQ==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/typescript-estree': 6.2.1_typescript@4.9.5 + '@typescript-eslint/utils': 6.2.1_eslint@8.46.0+typescript@4.9.5 + debug: 4.3.4 + eslint: 8.46.0 + ts-api-utils: 1.0.1_typescript@4.9.5 + typescript: 4.9.5 + transitivePeerDependencies: + - supports-color dev: true /@typescript-eslint/types/5.62.0: @@ -1096,25 +1128,9 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.36.2_typescript@4.9.5: - resolution: {integrity: sha512-8fyH+RfbKc0mTspfuEjlfqA4YywcwQK2Amcf6TDOwaRLg7Vwdu4bZzyvBZp4bjt1RRjQ5MDnOZahxMrt2l5v9w==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 5.36.2 - '@typescript-eslint/visitor-keys': 5.36.2 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.3.8 - tsutils: 3.21.0_typescript@4.9.5 - typescript: 4.9.5 - transitivePeerDependencies: - - supports-color + /@typescript-eslint/types/6.2.1: + resolution: {integrity: sha512-528bGcoelrpw+sETlyM91k51Arl2ajbNT9L4JwoXE2dvRe1yd8Q64E4OL7vHYw31mlnVsf+BeeLyAZUEQtqahQ==} + engines: {node: ^16.0.0 || >=18.0.0} dev: true /@typescript-eslint/typescript-estree/5.62.0_typescript@4.9.5: @@ -1138,6 +1154,27 @@ packages: - supports-color dev: true + /@typescript-eslint/typescript-estree/6.2.1_typescript@4.9.5: + resolution: {integrity: sha512-G+UJeQx9AKBHRQBpmvr8T/3K5bJa485eu+4tQBxFq0KoT22+jJyzo1B50JDT9QdC1DEmWQfdKsa8ybiNWYsi0Q==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/visitor-keys': 6.2.1 + debug: 4.3.4 + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.5.4 + ts-api-utils: 1.0.1_typescript@4.9.5 + typescript: 4.9.5 + transitivePeerDependencies: + - supports-color + dev: true + /@typescript-eslint/utils/5.62.0_eslint@8.46.0+typescript@4.9.5: resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1158,12 +1195,23 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys/5.36.2: - resolution: {integrity: sha512-BtRvSR6dEdrNt7Net2/XDjbYKU5Ml6GqJgVfXT0CxTCJlnIqK7rAGreuWKMT2t8cFUT2Msv5oxw0GMRD7T5J7A==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/utils/6.2.1_eslint@8.46.0+typescript@4.9.5: + resolution: {integrity: sha512-eBIXQeupYmxVB6S7x+B9SdBeB6qIdXKjgQBge2J+Ouv8h9Cxm5dHf/gfAZA6dkMaag+03HdbVInuXMmqFB/lKQ==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 dependencies: - '@typescript-eslint/types': 5.36.2 - eslint-visitor-keys: 3.3.0 + '@eslint-community/eslint-utils': 4.4.0_eslint@8.46.0 + '@types/json-schema': 7.0.12 + '@types/semver': 7.5.0 + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/typescript-estree': 6.2.1_typescript@4.9.5 + eslint: 8.46.0 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript dev: true /@typescript-eslint/visitor-keys/5.62.0: @@ -1174,6 +1222,14 @@ packages: eslint-visitor-keys: 3.4.2 dev: true + /@typescript-eslint/visitor-keys/6.2.1: + resolution: {integrity: sha512-iTN6w3k2JEZ7cyVdZJTVJx2Lv7t6zFA8DCrJEHD2mwfc16AEvvBWVhbFh34XyG2NORCd0viIgQY1+u7kPI0WpA==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.2.1 + eslint-visitor-keys: 3.4.2 + dev: true + /@unocss/astro/0.54.1_vite@3.2.7: resolution: {integrity: sha512-TeY0ZCgJH/iKdswC83/axrJP+27l3D/VfNMVLvoBSiWN9LDR5V5iZqWq+A0Lqh9AHe4RI5ZaQQe2KS24BjOUeA==} dependencies: @@ -1536,14 +1592,6 @@ packages: acorn: 8.10.0 dev: true - /acorn-jsx/5.3.2_acorn@8.8.1: - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - acorn: 8.8.1 - dev: true - /acorn-walk/8.2.0: resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} engines: {node: '>=0.4.0'} @@ -1759,17 +1807,6 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dev: true - /array-includes/3.1.5: - resolution: {integrity: sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.1.4 - es-abstract: 1.20.2 - get-intrinsic: 1.1.2 - is-string: 1.0.7 - dev: true - /array-union/2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} @@ -1780,16 +1817,6 @@ packages: engines: {node: '>=12'} dev: true - /array.prototype.flat/1.3.0: - resolution: {integrity: sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.1.4 - es-abstract: 1.20.2 - es-shim-unscopables: 1.0.0 - dev: true - /asn1/0.2.6: resolution: {integrity: sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ==} dependencies: @@ -1953,7 +1980,7 @@ packages: /builtins/5.0.1: resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} dependencies: - semver: 7.3.8 + semver: 7.5.4 dev: true /bundle-require/4.0.1_esbuild@0.17.19: @@ -2126,6 +2153,11 @@ packages: resolution: {integrity: sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==} dev: true + /ci-info/3.8.0: + resolution: {integrity: sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw==} + engines: {node: '>=8'} + dev: true + /clean-regexp/1.0.0: resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} engines: {node: '>=4'} @@ -2695,12 +2727,6 @@ packages: unbox-primitive: 1.0.2 dev: true - /es-shim-unscopables/1.0.0: - resolution: {integrity: sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==} - dependencies: - has: 1.0.3 - dev: true - /es-to-primitive/1.2.1: resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} engines: {node: '>= 0.4'} @@ -2997,15 +3023,16 @@ packages: source-map: 0.6.1 dev: true - /eslint-import-resolver-node/0.3.6: - resolution: {integrity: sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==} + /eslint-import-resolver-node/0.3.8: + resolution: {integrity: sha512-tEe+Pok22qIGaK3KoMP+N96GVDS66B/zreoVVmiavLvRUEmGRtvb4B8wO9jwnb8d2lvHtrkhZ7UD73dWBVnf/Q==} dependencies: debug: 3.2.7 - resolve: 1.22.1 + is-core-module: 2.13.0 + resolve: 1.22.4 dev: true - /eslint-module-utils/2.7.4_eslint@8.46.0: - resolution: {integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==} + /eslint-module-utils/2.8.0_eslint@8.46.0: + resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: eslint: '*' @@ -3017,25 +3044,25 @@ packages: eslint: 8.46.0 dev: true - /eslint-plugin-antfu/0.27.0_eslint@8.46.0+typescript@4.9.5: - resolution: {integrity: sha512-xjNfATHonE3Do2igOlhwjfL2tlaGnm1EgbsLLkHgdk30oIvJU4bLNxF6wXIuaCdjqmwWIqF6smJbX2YhtaEC4w==} + /eslint-plugin-antfu/0.39.8_eslint@8.46.0+typescript@4.9.5: + resolution: {integrity: sha512-VsQF1mofv0pg+9rhSohNhrxcufOzSsGyQdKqdyJHPMTT2mMwXAPgKW/v8SC6W7UDk1q/j2EHZ+UUOEAKRnkd7g==} dependencies: - '@typescript-eslint/utils': 5.62.0_eslint@8.46.0+typescript@4.9.5 + '@typescript-eslint/utils': 6.2.1_eslint@8.46.0+typescript@4.9.5 transitivePeerDependencies: - eslint - supports-color - typescript dev: true - /eslint-plugin-es/4.1.0_eslint@8.46.0: - resolution: {integrity: sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==} - engines: {node: '>=8.10.0'} + /eslint-plugin-es-x/7.2.0_eslint@8.46.0: + resolution: {integrity: sha512-9dvv5CcvNjSJPqnS5uZkqb3xmbeqRLnvXKK7iI5+oK/yTusyc46zbBZKENGsOfojm/mKfszyZb+wNqNPAPeGXA==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - eslint: '>=4.19.1' + eslint: '>=8' dependencies: + '@eslint-community/eslint-utils': 4.4.0_eslint@8.46.0 + '@eslint-community/regexpp': 4.6.2 eslint: 8.46.0 - eslint-utils: 2.1.0 - regexpp: 3.2.0 dev: true /eslint-plugin-eslint-comments/3.2.0_eslint@8.46.0: @@ -3055,37 +3082,54 @@ packages: htmlparser2: 8.0.1 dev: true - /eslint-plugin-import/2.26.0_eslint@8.46.0: - resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} - engines: {node: '>=4'} + /eslint-plugin-i/2.27.5-4_eslint@8.46.0: + resolution: {integrity: sha512-X3Z+dp9nZw7d/y41EDO6JyFw4WVMOT91SFuoJvL0C0/4M1l6NxQ5mLTjXHuYhq0AazW75pAmj25yMk5wPMzjsw==} + engines: {node: '>=12'} peerDependencies: - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + eslint: ^7.2.0 || ^8 dependencies: - array-includes: 3.1.5 - array.prototype.flat: 1.3.0 - debug: 2.6.9 + debug: 3.2.7 doctrine: 2.1.0 eslint: 8.46.0 - eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.4_eslint@8.46.0 - has: 1.0.3 - is-core-module: 2.10.0 + eslint-import-resolver-node: 0.3.8 + eslint-module-utils: 2.8.0_eslint@8.46.0 + get-tsconfig: 4.6.2 is-glob: 4.0.3 minimatch: 3.1.2 - object.values: 1.1.5 - resolve: 1.22.1 - tsconfig-paths: 3.14.1 + resolve: 1.22.4 + semver: 7.5.4 dev: true - /eslint-plugin-jsonc/2.4.0_eslint@8.46.0: - resolution: {integrity: sha512-YXy5PjyUL9gFYal6pYijd8P6EmpeWskv7PVhB9Py/AwKPn+hwnQHcIzQILiLfxztfhtWiRIUSzoLe/JThZgSUw==} + /eslint-plugin-jest/27.2.3_fbc1a4646d309073c7b85d970ddc57df: + resolution: {integrity: sha512-sRLlSCpICzWuje66Gl9zvdF6mwD5X86I4u55hJyFBsxYOsBCmT5+kSUjf+fkFWVMMgpzNEupjW8WzUqi83hJAQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^5.0.0 || ^6.0.0 + eslint: ^7.0.0 || ^8.0.0 + jest: '*' + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + jest: + optional: true + dependencies: + '@typescript-eslint/eslint-plugin': 6.2.1_e0cb2d08352ee3bf5e53383be8350ae3 + '@typescript-eslint/utils': 5.62.0_eslint@8.46.0+typescript@4.9.5 + eslint: 8.46.0 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /eslint-plugin-jsonc/2.9.0_eslint@8.46.0: + resolution: {integrity: sha512-RK+LeONVukbLwT2+t7/OY54NJRccTXh/QbnXzPuTLpFMVZhPuq1C9E07+qWenGx7rrQl0kAalAWl7EmB+RjpGA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: + '@eslint-community/eslint-utils': 4.4.0_eslint@8.46.0 eslint: 8.46.0 - eslint-utils: 3.0.0_eslint@8.46.0 - jsonc-eslint-parser: 2.1.0 + jsonc-eslint-parser: 2.3.0 natural-compare: 1.4.0 dev: true @@ -3101,21 +3145,26 @@ packages: - supports-color dev: true - /eslint-plugin-n/15.2.5_eslint@8.46.0: - resolution: {integrity: sha512-8+BYsqiyZfpu6NXmdLOXVUfk8IocpCjpd8nMRRH0A9ulrcemhb2VI9RSJMEy5udx++A/YcVPD11zT8hpFq368g==} - engines: {node: '>=12.22.0'} + /eslint-plugin-n/16.0.1_eslint@8.46.0: + resolution: {integrity: sha512-CDmHegJN0OF3L5cz5tATH84RPQm9kG+Yx39wIqIwPR2C0uhBGMWfbbOtetR83PQjjidA5aXMu+LEFw1jaSwvTA==} + engines: {node: '>=16.0.0'} peerDependencies: eslint: '>=7.0.0' dependencies: + '@eslint-community/eslint-utils': 4.4.0_eslint@8.46.0 builtins: 5.0.1 eslint: 8.46.0 - eslint-plugin-es: 4.1.0_eslint@8.46.0 - eslint-utils: 3.0.0_eslint@8.46.0 - ignore: 5.2.0 - is-core-module: 2.10.0 + eslint-plugin-es-x: 7.2.0_eslint@8.46.0 + ignore: 5.2.4 + is-core-module: 2.13.0 minimatch: 3.1.2 - resolve: 1.22.1 - semver: 7.3.7 + resolve: 1.22.4 + semver: 7.5.4 + dev: true + + /eslint-plugin-no-only-tests/3.1.0: + resolution: {integrity: sha512-Lf4YW/bL6Un1R6A76pRZyE1dl1vr31G/ev8UzIc/geCgFWyrKil8hVjYqWVKGB/UIGmb6Slzs9T0wNezdSVegw==} + engines: {node: '>=5.0.0'} dev: true /eslint-plugin-no-unsanitized/4.0.2_eslint@8.36.0: @@ -3126,8 +3175,8 @@ packages: eslint: 8.36.0 dev: true - /eslint-plugin-promise/6.0.1_eslint@8.46.0: - resolution: {integrity: sha512-uM4Tgo5u3UWQiroOyDEsYcVMOo7re3zmno0IZmB5auxoaQNIceAbXEkSt8RNrKtaYehARHG06pYK6K1JhtP0Zw==} + /eslint-plugin-promise/6.1.1_eslint@8.46.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 @@ -3135,49 +3184,65 @@ packages: eslint: 8.46.0 dev: true - /eslint-plugin-unicorn/43.0.2_eslint@8.46.0: - resolution: {integrity: sha512-DtqZ5mf/GMlfWoz1abIjq5jZfaFuHzGBZYIeuJfEoKKGWRHr2JiJR+ea+BF7Wx2N1PPRoT/2fwgiK1NnmNE3Hg==} - engines: {node: '>=14.18'} + /eslint-plugin-unicorn/48.0.1_eslint@8.46.0: + resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} + engines: {node: '>=16'} peerDependencies: - eslint: '>=8.18.0' + eslint: '>=8.44.0' dependencies: - '@babel/helper-validator-identifier': 7.18.6 - ci-info: 3.3.2 + '@babel/helper-validator-identifier': 7.22.5 + '@eslint-community/eslint-utils': 4.4.0_eslint@8.46.0 + ci-info: 3.8.0 clean-regexp: 1.0.0 eslint: 8.46.0 - eslint-utils: 3.0.0_eslint@8.46.0 - esquery: 1.4.0 + esquery: 1.5.0 indent-string: 4.0.0 - is-builtin-module: 3.2.0 + is-builtin-module: 3.2.1 + jsesc: 3.0.2 lodash: 4.17.21 pluralize: 8.0.0 read-pkg-up: 7.0.1 - regexp-tree: 0.1.24 - safe-regex: 2.1.1 - semver: 7.3.7 + regexp-tree: 0.1.27 + regjsparser: 0.10.0 + semver: 7.5.4 strip-indent: 3.0.0 dev: true - /eslint-plugin-vue/9.8.0_eslint@8.46.0: - resolution: {integrity: sha512-E/AXwcTzunyzM83C2QqDHxepMzvI2y6x+mmeYHbVDQlKFqmKYvRrhaVixEeeG27uI44p9oKDFiyCRw4XxgtfHA==} + /eslint-plugin-unused-imports/3.0.0_87e2157059b73c1a910c0d8966078719: + resolution: {integrity: sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^6.0.0 + eslint: ^8.0.0 + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + dependencies: + '@typescript-eslint/eslint-plugin': 6.2.1_e0cb2d08352ee3bf5e53383be8350ae3 + eslint: 8.46.0 + eslint-rule-composer: 0.3.0 + dev: true + + /eslint-plugin-vue/9.16.1_eslint@8.46.0: + resolution: {integrity: sha512-2FtnTqazA6aYONfDuOZTk0QzwhAwi7Z4+uJ7+GHeGxcKapjqWlDsRWDenvyG/utyOfAS5bVRmAG3cEWiYEz2bA==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: + '@eslint-community/eslint-utils': 4.4.0_eslint@8.46.0 eslint: 8.46.0 - eslint-utils: 3.0.0_eslint@8.46.0 natural-compare: 1.4.0 nth-check: 2.1.1 - postcss-selector-parser: 6.0.10 - semver: 7.3.7 - vue-eslint-parser: 9.1.0_eslint@8.46.0 + postcss-selector-parser: 6.0.13 + semver: 7.5.4 + vue-eslint-parser: 9.3.1_eslint@8.46.0 xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-yml/1.3.0_eslint@8.46.0: - resolution: {integrity: sha512-TEkIaxutVPRZMRc0zOVptP/vmrf1td/9woUAiKII4kRLJLWWUCz1CYM98NsAfeOrVejFBFhHCSwOp+C1TqmtRg==} + /eslint-plugin-yml/1.8.0_eslint@8.46.0: + resolution: {integrity: sha512-fgBiJvXD0P2IN7SARDJ2J7mx8t0bLdG6Zcig4ufOqW5hOvSiFxeUyc2g5I1uIm8AExbo26NNYCcTGZT0MXTsyg==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' @@ -3186,11 +3251,16 @@ packages: eslint: 8.46.0 lodash: 4.17.21 natural-compare: 1.4.0 - yaml-eslint-parser: 1.1.0 + yaml-eslint-parser: 1.2.2 transitivePeerDependencies: - supports-color dev: true + /eslint-rule-composer/0.3.0: + resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} + engines: {node: '>=4.0.0'} + dev: true + /eslint-scope/5.1.1: resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} engines: {node: '>=8.0.0'} @@ -3199,14 +3269,6 @@ packages: estraverse: 4.3.0 dev: true - /eslint-scope/7.1.1: - resolution: {integrity: sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - dev: true - /eslint-scope/7.2.2: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3222,26 +3284,11 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /eslint-utils/3.0.0_eslint@8.46.0: - resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} - engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} - peerDependencies: - eslint: '>=5' - dependencies: - eslint: 8.46.0 - eslint-visitor-keys: 2.1.0 - dev: true - /eslint-visitor-keys/1.3.0: resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==} engines: {node: '>=4'} dev: true - /eslint-visitor-keys/2.1.0: - resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} - engines: {node: '>=10'} - dev: true - /eslint-visitor-keys/3.3.0: resolution: {integrity: sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3363,24 +3410,6 @@ packages: eslint-visitor-keys: 1.3.0 dev: true - /espree/9.4.0: - resolution: {integrity: sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.8.1 - acorn-jsx: 5.3.2_acorn@8.8.1 - eslint-visitor-keys: 3.3.0 - dev: true - - /espree/9.4.1: - resolution: {integrity: sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.8.1 - acorn-jsx: 5.3.2_acorn@8.8.1 - eslint-visitor-keys: 3.3.0 - dev: true - /espree/9.5.0: resolution: {integrity: sha512-JPbJGhKc47++oo4JkEoTe2wjy4fmMwvFpgJT9cQzmfXKp22Dr6Hf1tdCteLz1h0P3t+mGvWZ+4Uankvh8+c6zw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3405,13 +3434,6 @@ packages: hasBin: true dev: true - /esquery/1.4.0: - resolution: {integrity: sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==} - engines: {node: '>=0.10'} - dependencies: - estraverse: 5.3.0 - dev: true - /esquery/1.5.0: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} engines: {node: '>=0.10'} @@ -3790,6 +3812,12 @@ packages: resolution: {integrity: sha512-X8u8fREiYOE6S8hLbq99PeykTDoLVnxvF4DjWKJmz9xy2nNRdUcV8ZN9tniJFeKyTU3qnC9lL8n4Chd6LmVKHg==} dev: true + /get-tsconfig/4.6.2: + resolution: {integrity: sha512-E5XrT4CbbXcXWy+1jChlZmrmCwd5KGx502kDCXJJ7y898TtWW9FwoG5HfOLVRKmlmDGkWN2HM9Ho+/Y8F0sJDg==} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + /getpass/0.1.7: resolution: {integrity: sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng==} dependencies: @@ -4096,6 +4124,11 @@ packages: engines: {node: '>= 4'} dev: true + /ignore/5.2.4: + resolution: {integrity: sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==} + engines: {node: '>= 4'} + dev: true + /image-size/1.0.2: resolution: {integrity: sha512-xfOoWjceHntRb3qFCrh5ZFORYH8XCdYpASltMhZ/Q0KZiOwjdE/Yl2QCiWdwD+lygV5bMCvauzgu5PxBX/Yerg==} engines: {node: '>=14.0.0'} @@ -4212,8 +4245,8 @@ packages: has-tostringtag: 1.0.0 dev: true - /is-builtin-module/3.2.0: - resolution: {integrity: sha512-phDA4oSGt7vl1n5tJvTWooWWAsXLY+2xCnxNqvKhGEzujg+A43wPlPOyDg3C8XQHN+6k/JTQWJ/j0dQh/qr+Hw==} + /is-builtin-module/3.2.1: + resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} engines: {node: '>=6'} dependencies: builtin-modules: 3.3.0 @@ -4237,6 +4270,12 @@ packages: has: 1.0.3 dev: true + /is-core-module/2.13.0: + resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==} + dependencies: + has: 1.0.3 + dev: true + /is-date-object/1.0.5: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} @@ -4501,6 +4540,17 @@ packages: - utf-8-validate dev: true + /jsesc/0.5.0: + resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + hasBin: true + dev: true + + /jsesc/3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + dev: true + /json-buffer/3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} dev: true @@ -4539,13 +4589,6 @@ packages: resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} dev: true - /json5/1.0.1: - resolution: {integrity: sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==} - hasBin: true - dependencies: - minimist: 1.2.6 - dev: true - /json5/2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} @@ -4563,14 +4606,14 @@ packages: semver: 6.3.0 dev: true - /jsonc-eslint-parser/2.1.0: - resolution: {integrity: sha512-qCRJWlbP2v6HbmKW7R3lFbeiVWHo+oMJ0j+MizwvauqnCV/EvtAeEeuCgoc/ErtsuoKgYB8U4Ih8AxJbXoE6/g==} + /jsonc-eslint-parser/2.3.0: + resolution: {integrity: sha512-9xZPKVYp9DxnM3sd1yAsh/d59iIaswDkai8oTxbursfKYbg/ibjX0IzFt35+VZ8iEW453TVTXztnRvYUQlAfUQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - acorn: 8.8.1 - eslint-visitor-keys: 3.3.0 - espree: 9.4.0 - semver: 7.3.7 + acorn: 8.10.0 + eslint-visitor-keys: 3.4.2 + espree: 9.6.1 + semver: 7.5.4 dev: true /jsonc-parser/3.2.0: @@ -5233,15 +5276,6 @@ packages: object-keys: 1.1.1 dev: true - /object.values/1.1.5: - resolution: {integrity: sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.2 - define-properties: 1.1.4 - es-abstract: 1.20.2 - dev: true - /ofetch/1.1.1: resolution: {integrity: sha512-SSMoktrp9SNLi20BWfB/BnnKcL0RDigXThD/mZBeQxkIRv1xrd9183MtLdsqRYLYSqW0eTr5t8w8MqjNhvoOQQ==} dependencies: @@ -5601,8 +5635,8 @@ packages: yaml: 1.10.2 dev: true - /postcss-selector-parser/6.0.10: - resolution: {integrity: sha512-IQ7TZdoaqbT+LCpShg46jnZVlhWD2w6iQYAcYXfHARZ7X1t/UGhhceQDs5X0cGqKvYlHNOuv7Oa1xmb0oQuA3w==} + /postcss-selector-parser/6.0.13: + resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==} engines: {node: '>=4'} dependencies: cssesc: 3.0.0 @@ -5823,8 +5857,8 @@ packages: resolution: {integrity: sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==} dev: true - /regexp-tree/0.1.24: - resolution: {integrity: sha512-s2aEVuLhvnVJW6s/iPgEGK6R+/xngd2jNQ+xy4bXNDKxZKJH6jpPHY6kVeVv1IeLCHgswRj+Kl3ELaDjG6V1iw==} + /regexp-tree/0.1.27: + resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} hasBin: true dev: true @@ -5837,11 +5871,6 @@ packages: functions-have-names: 1.2.3 dev: true - /regexpp/3.2.0: - resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} - engines: {node: '>=8'} - dev: true - /registry-auth-token/5.0.1: resolution: {integrity: sha512-UfxVOj8seK1yaIOiieV4FIP01vfBDLsY0H9sQzi9EbbUdJiuuBjJgLa1DpImXMNPnVkBD4eVxTEXcrZA6kfpJA==} engines: {node: '>=14'} @@ -5856,6 +5885,13 @@ packages: rc: 1.2.8 dev: true + /regjsparser/0.10.0: + resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} + hasBin: true + dependencies: + jsesc: 0.5.0 + dev: true + /relaxed-json/1.0.3: resolution: {integrity: sha512-b7wGPo7o2KE/g7SqkJDDbav6zmrEeP4TK2VpITU72J/M949TLe/23y/ZHJo+pskcGM52xIfFoT9hydwmgr1AEg==} engines: {node: '>= 0.10.0'} @@ -5920,6 +5956,10 @@ packages: engines: {node: '>=8'} dev: true + /resolve-pkg-maps/1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + dev: true + /resolve-protobuf-schema/2.1.0: resolution: {integrity: sha512-kI5ffTiZWmJaS/huM8wZfEMer1eRd7oJQhDuxeCLe3t7N7mX3z94CN0xPxBQxFYQTSNz9T0i+v6inKqSdK8xrQ==} dependencies: @@ -5935,6 +5975,15 @@ packages: supports-preserve-symlinks-flag: 1.0.0 dev: true + /resolve/1.22.4: + resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==} + hasBin: true + dependencies: + is-core-module: 2.13.0 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + dev: true + /responselike/3.0.0: resolution: {integrity: sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==} engines: {node: '>=14.16'} @@ -5998,12 +6047,6 @@ packages: dev: true optional: true - /safe-regex/2.1.1: - resolution: {integrity: sha512-rx+x8AMzKb5Q5lQ95Zoi6ZbJqwCLkqi3XuJXp5P3rT8OEc6sZCJG5AE5dU3lsgRr/F4Bs31jSlVN+j5KrsGu9A==} - dependencies: - regexp-tree: 0.1.24 - dev: true - /safe-stable-stringify/2.3.1: resolution: {integrity: sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==} engines: {node: '>=10'} @@ -6055,14 +6098,6 @@ packages: hasBin: true dev: true - /semver/7.3.7: - resolution: {integrity: sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - /semver/7.3.8: resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} engines: {node: '>=10'} @@ -6578,17 +6613,17 @@ packages: hasBin: true dev: true - /ts-interface-checker/0.1.13: - resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + /ts-api-utils/1.0.1_typescript@4.9.5: + resolution: {integrity: sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==} + engines: {node: '>=16.13.0'} + peerDependencies: + typescript: '>=4.2.0' + dependencies: + typescript: 4.9.5 dev: true - /tsconfig-paths/3.14.1: - resolution: {integrity: sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==} - dependencies: - '@types/json5': 0.0.29 - json5: 1.0.1 - minimist: 1.2.6 - strip-bom: 3.0.0 + /ts-interface-checker/0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true /tslib/1.14.1: @@ -7091,20 +7126,20 @@ packages: vue: 3.3.4 dev: true - /vue-eslint-parser/9.1.0_eslint@8.46.0: - resolution: {integrity: sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==} + /vue-eslint-parser/9.3.1_eslint@8.46.0: + resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 eslint: 8.46.0 - eslint-scope: 7.1.1 - eslint-visitor-keys: 3.3.0 - espree: 9.4.1 - esquery: 1.4.0 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.2 + espree: 9.6.1 + esquery: 1.5.0 lodash: 4.17.21 - semver: 7.3.8 + semver: 7.5.4 transitivePeerDependencies: - supports-color dev: true @@ -7431,11 +7466,11 @@ packages: yaml: 1.10.2 dev: true - /yaml-eslint-parser/1.1.0: - resolution: {integrity: sha512-b464Q1fYiX1oYx2kE8k4mEp6S9Prk+tfDsY/IPxQ0FCjEuj3AKko5Skf3/yQJeYTTDyjDE+aWIJemnv29HvEWQ==} + /yaml-eslint-parser/1.2.2: + resolution: {integrity: sha512-pEwzfsKbTrB8G3xc/sN7aw1v6A6c/pKxLAkjclnAyo5g5qOh6eL9WGu0o3cSDQZKrTNk4KL4lQSwZW+nBkANEg==} engines: {node: ^14.17.0 || >=16.0.0} dependencies: - eslint-visitor-keys: 3.3.0 + eslint-visitor-keys: 3.4.2 lodash: 4.17.21 yaml: 2.1.3 dev: true diff --git a/src/_locales/cmn-CN.yml b/src/_locales/cmn-CN.yml index 965fa274..755bcc1c 100644 --- a/src/_locales/cmn-CN.yml +++ b/src/_locales/cmn-CN.yml @@ -24,9 +24,11 @@ settings: # Settings menu menu_general: 通用 menu_appearance: 外观 + menu_search_page: 搜索页 menu_home: 首页 menu_about: 关于 + # General settings select_language: 界面语文 select_language_opt: english: 英文 @@ -40,8 +42,8 @@ settings: authorize_app_desc: | 授权使用后能在首页推送 bilibili App 端算法的推荐视频,授权 key 有效期约为一个月,过后记得重新授权获取 access key。 authorize_app_more_info_access_key: 关于 access key - topbar_visible: 顶栏可见性 - topbar_visible_desc: 用于兼容 Bilibili Evolved 自定义顶栏 + topbar_visibility: 顶栏可见性 + topbar_visibility_desc: 用于兼容 Bilibili Evolved 自定义顶栏 btn: authorize: 授权 revoke: 取消授权 @@ -54,6 +56,10 @@ settings: left: 左侧 right: 右侧 bottom: 底部 + enable_horizontal_scrolling: 启用横向滚动 + enable_horizontal_scrolling_desc: 启用后,鼠标滚动时将直接滚动横向滚动列表 + + # Appearance settings theme_color: 主题色 follow_bilibili_evolved_color: 使用 Bilibili Evolved 主题色 follow_bilibili_evolved_color_desc: 每次选完 Bilibili Evolved 主题色时,记得重新选中这一选项以更新配置 @@ -70,8 +76,15 @@ settings: enable_wallpaper_masking: 启用背景遮罩效果 wallpaper_mask_opacity: 背景遮罩透明度调整 wallpaper_blur_intensity: 背景模糊强度调整 - enable_horizontal_scrolling: 启用横向滚动 - enable_horizontal_scrolling_desc: 启用后,鼠标滚动时将直接滚动横向滚动列表 + + # Search page settings + logo_color: Logo 颜色 + logo_color_opt: + white: 白 + theme_color: 主题色 + logo_visibility: Logo 可见性 + bg_darkens_when_the_search_bar_is_focused: 当搜索栏聚焦时背景暗化 + individually_set_search_page_wallpaper: 单独设置搜索页背景 (实验性) auth: err_tip: 授权 access key 失败 plz_login_first: 请先登录 bilibili diff --git a/src/_locales/cmn-TW.yml b/src/_locales/cmn-TW.yml index 91a46326..5cf9cc83 100644 --- a/src/_locales/cmn-TW.yml +++ b/src/_locales/cmn-TW.yml @@ -25,8 +25,10 @@ settings: menu_general: 一般 menu_appearance: 外觀 menu_home: 首頁 + menu_search_page: 搜尋頁 menu_about: 關於 + # General settings select_language: 介面語文 select_language_opt: english: 英文 @@ -40,8 +42,8 @@ settings: authorize_app_desc: | 授權使用後能在首頁推送 bilibili 手機端推介演算法的影片,授權 key 的有效期約爲一個月,過了有效期後,請記得重新取得授權以取得 access key。 authorize_app_more_info_access_key: 關於 access key - topbar_visible: 頂欄可視性 - topbar_visible_desc: 用於相容 Bilibili Evolved 自訂頂欄 + topbar_visibility: 頂欄可視性 + topbar_visibility_desc: 用於相容 Bilibili Evolved 自訂頂欄 btn: authorize: 授權 revoke: 解除授權 @@ -54,6 +56,10 @@ settings: left: 左側 right: 右側 bottom: 底部 + enable_horizontal_scrolling: 啟用橫向捲動 + enable_horizontal_scrolling_desc: 啟用後,滑鼠捲動時將直接捲動橫向捲軸列表 + + # Appearance settings theme_color: 主題色 follow_bilibili_evolved_color: 使用 Bilibili Evolved 主題色 follow_bilibili_evolved_color_desc: 每次變更 Bilibili Evolved 主題色後,記得重新選取此選項以更新配置 @@ -70,8 +76,16 @@ settings: enable_wallpaper_masking: 啓用背景遮蔽效果 wallpaper_mask_opacity: 背景遮蔽透明度調節 wallpaper_blur_intensity: 背景模糊強度調節 - enable_horizontal_scrolling: 啟用橫向捲動 - enable_horizontal_scrolling_desc: 啟用後,滑鼠捲動時將直接捲動橫向捲軸列表 + + # Search page settings + logo_color: Logo 顏色 + logo_color_opt: + white: 白 + theme_color: 主題色 + logo_visibility: Logo 可視性 + bg_darkens_when_the_search_bar_is_focused: 當搜尋欄聚焦時背景變暗 + individually_set_search_page_wallpaper: 單獨設定搜尋頁背景 (試驗性) + auth: err_tip: 無法授權 access key plz_login_first: 請先登入 bilibili diff --git a/src/_locales/en.yml b/src/_locales/en.yml index 66a44f26..3ae0c16a 100644 --- a/src/_locales/en.yml +++ b/src/_locales/en.yml @@ -24,9 +24,11 @@ settings: # Settings menu menu_general: General menu_appearance: Appearance + menu_search_page: Search Page menu_home: Home menu_about: About + # General settings select_language: Language select_language_opt: english: English @@ -41,8 +43,8 @@ settings: After authentication, you will receive the video recommendations based on the bilibili app recommendation algorithm. The access key is valid for about one month. After that, remember to re-authorize the BewlyBewly to use the access key. authorize_app_more_info_access_key: More information about the access key - topbar_visible: Topbar visible - topbar_visible_desc: Compatible with Bilibili Evolved customize topbar + topbar_visibility: Topbar visibility + topbar_visibility_desc: Compatible with Bilibili Evolved customize topbar btn: authorize: Authorize revoke: Revoke @@ -55,6 +57,10 @@ settings: left: Left right: Right bottom: Bottom + enable_horizontal_scrolling: Enable horizontal scrolling + enable_horizontal_scrolling_desc: After enabling, mouse scrolling will directly scroll the horizontal scroll list + + # Appearance settings theme_color: Theme color follow_bilibili_evolved_color: Follow the Bilibili Evolved theme color follow_bilibili_evolved_color_desc: After changing the theme color in Bilibili Evolved, you will need to re-select this option in order to update the theme color. @@ -71,8 +77,15 @@ settings: enable_wallpaper_masking: Enable wallpaper masking wallpaper_mask_opacity: Wallpaper masking opacity wallpaper_blur_intensity: Wallpaper blur intensity - enable_horizontal_scrolling: Enable horizontal scrolling - enable_horizontal_scrolling_desc: After enabling, mouse scrolling will directly scroll the horizontal scroll list + + # Search page settings + logo_color: Logo color + logo_color_opt: + white: White + theme_color: Theme Color + logo_visibility: Logo visibility + bg_darkens_when_the_search_bar_is_focused: Background darkens when the search bar is focused + individually_set_search_page_wallpaper: Individually set search page wallpaper (EXPERIMENTAL) auth: err_tip: Failed to grant access key plz_login_first: Please login to bilibili first diff --git a/src/_locales/jyut.yml b/src/_locales/jyut.yml index 1743dc9c..ac2203a0 100644 --- a/src/_locales/jyut.yml +++ b/src/_locales/jyut.yml @@ -25,8 +25,10 @@ settings: menu_general: 一般 menu_appearance: 版面 menu_home: 主頁 + menu_search_page: 搵嘢頁 menu_about: 關於 + # General settings select_language: 介面語文 select_language_opt: english: 英文 @@ -40,8 +42,8 @@ settings: authorize_app_desc: | 授咗權嘅話,你就會收到基於 bilibili 手機版推介演算法所推介嘅內容,兼且授權 key 只有約一個月有效期,到期後記得要重新授權嚟取得存取 access key。 authorize_app_more_info_access_key: 關於 access key - topbar_visible: 頂欄可視性 - topbar_visible_desc: 用於兼容 Bilibili Evolved 客製化頂欄 + topbar_visibility: 頂欄可視性 + topbar_visibility_desc: 用於兼容 Bilibili Evolved 客製化頂欄 btn: authorize: 授權 revoke: 解除授權 @@ -54,6 +56,10 @@ settings: left: 左邊 right: 右邊 bottom: 下低 + enable_horizontal_scrolling: 使用橫向捲動 + enable_horizontal_scrolling_desc: 用咗之後,轆緊滑鼠就可以直接打橫掃水平捲軸列表 + + # Appearance settings theme_color: 佈景色 follow_bilibili_evolved_color: 跟返 Bilibili Evolved 佈景色 follow_bilibili_evolved_color_desc: 每次換完 Bilibili Evolved 佈景色嗰陣,記得揀多一次呢個選項愛嚟更新佈置 @@ -70,8 +76,15 @@ settings: enable_wallpaper_masking: 使用背景遮蔽效果 wallpaper_mask_opacity: 背景遮蔽透明度調節 wallpaper_blur_intensity: 背景模糊強度調節 - enable_horizontal_scrolling: 使用橫向捲動 - enable_horizontal_scrolling_desc: 用咗之後,轆緊滑鼠就可以直接打橫掃水平捲軸列表 + + # Search page settings + logo_color: Logo 顏色 + logo_color_opt: + white: 白 + theme_color: 主題色 + logo_visibility: Logo 可視性 + bg_darkens_when_the_search_bar_is_focused: 搜尋欄聚焦嗰陣校暗背景 + individually_set_search_page_wallpaper: 單獨設定搵嘢頁背景 (試驗性) auth: err_tip: 無法授權 access key plz_login_first: 唔該登入 bilibili 先 diff --git a/src/components/SearchBar/SearchBar.vue b/src/components/SearchBar/SearchBar.vue index 69212aae..ce1cc62b 100644 --- a/src/components/SearchBar/SearchBar.vue +++ b/src/components/SearchBar/SearchBar.vue @@ -1,4 +1,4 @@ - diff --git a/src/logic/storage.ts b/src/logic/storage.ts index 99ca943c..c535998f 100644 --- a/src/logic/storage.ts +++ b/src/logic/storage.ts @@ -19,6 +19,7 @@ export const settings = useStorageLocal('settings', ref({ wallpaperMaskOpacity: 0, wallpaperBlurIntensity: 0, + searchPageDarkenOnSearchFocus: true, searchPageLogoColor: 'themeColor', searchPageShowLogo: true, individuallySetSearchPageWallpaper: false, diff --git a/src/models/models.ts b/src/models/models.ts index cea98052..3e9c38ff 100644 --- a/src/models/models.ts +++ b/src/models/models.ts @@ -11,6 +11,7 @@ export interface Settings { wallpaperMaskOpacity: number wallpaperBlurIntensity: number + searchPageDarkenOnSearchFocus: boolean searchPageLogoColor: 'white' | 'themeColor' searchPageShowLogo: boolean individuallySetSearchPageWallpaper: boolean