diff --git a/.gitignore b/.gitignore index 291e432..912c396 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,3 @@ dist-ssr node_modules .idea/ *.log -components.d.ts -auto-imports.d.ts diff --git a/.vscode/settings.json b/.vscode/settings.json index eb87130..b600054 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,8 +5,6 @@ "i18n-ally.sortKeys": true, "prettier.enable": false, "typescript.tsdk": "node_modules/typescript/lib", - "volar.tsPlugin": true, - "volar.tsPluginStatus": false, "editor.codeActionsOnSave": { "source.fixAll.eslint": true, }, diff --git a/package.json b/package.json index 4ffe817..fa2508d 100644 --- a/package.json +++ b/package.json @@ -13,20 +13,20 @@ "nprogress": "^0.2.0", "pinia": "^2.0.0-rc.9", "prism-theme-vars": "^0.2.2", - "vue": "^3.2.16", + "vue": "^3.2.18", "vue-demi": "^0.11.4", "vue-i18n": "^9.1.7", "vue-router": "^4.0.11" }, "devDependencies": { "@antfu/eslint-config": "^0.9.0", - "@iconify/json": "^1.1.405", + "@iconify/json": "^1.1.406", "@intlify/vite-plugin-vue-i18n": "^2.4.0", "@types/markdown-it-link-attributes": "^3.0.1", "@types/nprogress": "^0.2.0", - "@vitejs/plugin-vue": "^1.9.1", - "@vue/compiler-sfc": "^3.2.16", - "@vue/server-renderer": "^3.2.16", + "@vitejs/plugin-vue": "^1.9.2", + "@vue/compiler-sfc": "^3.2.18", + "@vue/server-renderer": "^3.2.18", "critters": "^0.0.10", "cross-env": "^7.0.3", "eslint": "^7.32.0", @@ -35,11 +35,11 @@ "markdown-it-prism": "^2.2.1", "pnpm": "^6.15.1", "typescript": "^4.4.3", - "unplugin-auto-import": "^0.4.6", - "unplugin-icons": "^0.11.3", + "unplugin-auto-import": "^0.4.8", + "unplugin-icons": "^0.11.4", "unplugin-vue-components": "^0.15.3", "vite": "^2.5.10", - "vite-plugin-inspect": "^0.3.6", + "vite-plugin-inspect": "^0.3.7", "vite-plugin-md": "^0.11.1", "vite-plugin-pages": "^0.18.1", "vite-plugin-pwa": "^0.11.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eef0ba9..a0f17db 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2,13 +2,13 @@ lockfileVersion: 5.3 specifiers: '@antfu/eslint-config': ^0.9.0 - '@iconify/json': ^1.1.405 + '@iconify/json': ^1.1.406 '@intlify/vite-plugin-vue-i18n': ^2.4.0 '@types/markdown-it-link-attributes': ^3.0.1 '@types/nprogress': ^0.2.0 - '@vitejs/plugin-vue': ^1.9.1 - '@vue/compiler-sfc': ^3.2.16 - '@vue/server-renderer': ^3.2.16 + '@vitejs/plugin-vue': ^1.9.2 + '@vue/compiler-sfc': ^3.2.18 + '@vue/server-renderer': ^3.2.18 '@vueuse/core': ^6.4.1 '@vueuse/head': ^0.6.0 critters: ^0.0.10 @@ -22,43 +22,43 @@ specifiers: pnpm: ^6.15.1 prism-theme-vars: ^0.2.2 typescript: ^4.4.3 - unplugin-auto-import: ^0.4.6 - unplugin-icons: ^0.11.3 + unplugin-auto-import: ^0.4.8 + unplugin-icons: ^0.11.4 unplugin-vue-components: ^0.15.3 vite: ^2.5.10 - vite-plugin-inspect: ^0.3.6 + vite-plugin-inspect: ^0.3.7 vite-plugin-md: ^0.11.1 vite-plugin-pages: ^0.18.1 vite-plugin-pwa: ^0.11.2 vite-plugin-vue-layouts: ^0.5.0 vite-plugin-windicss: ^1.4.5 vite-ssg: ^0.15.3 - vue: ^3.2.16 + vue: ^3.2.18 vue-demi: ^0.11.4 vue-i18n: ^9.1.7 vue-router: ^4.0.11 vue-tsc: ^0.3.0 dependencies: - '@vueuse/core': 6.4.1_vue@3.2.16 - '@vueuse/head': 0.6.0_vue@3.2.16 + '@vueuse/core': 6.4.1_vue@3.2.18 + '@vueuse/head': 0.6.0_vue@3.2.18 nprogress: 0.2.0 - pinia: 2.0.0-rc.9_typescript@4.4.3+vue@3.2.16 + pinia: 2.0.0-rc.9_typescript@4.4.3+vue@3.2.18 prism-theme-vars: 0.2.2 - vue: 3.2.16 - vue-demi: 0.11.4_vue@3.2.16 - vue-i18n: 9.1.7_vue@3.2.16 - vue-router: 4.0.11_vue@3.2.16 + vue: 3.2.18 + vue-demi: 0.11.4_vue@3.2.18 + vue-i18n: 9.1.7_vue@3.2.18 + vue-router: 4.0.11_vue@3.2.18 devDependencies: '@antfu/eslint-config': 0.9.0_eslint@7.32.0+typescript@4.4.3 - '@iconify/json': 1.1.405 + '@iconify/json': 1.1.406 '@intlify/vite-plugin-vue-i18n': 2.4.0_vite@2.5.10+vue-i18n@9.1.7 '@types/markdown-it-link-attributes': 3.0.1 '@types/nprogress': 0.2.0 - '@vitejs/plugin-vue': 1.9.1_vite@2.5.10 - '@vue/compiler-sfc': 3.2.16 - '@vue/server-renderer': 3.2.16_vue@3.2.16 + '@vitejs/plugin-vue': 1.9.2_vite@2.5.10 + '@vue/compiler-sfc': 3.2.18 + '@vue/server-renderer': 3.2.18_vue@3.2.18 critters: 0.0.10 cross-env: 7.0.3 eslint: 7.32.0 @@ -67,17 +67,17 @@ devDependencies: markdown-it-prism: 2.2.1 pnpm: 6.15.1 typescript: 4.4.3 - unplugin-auto-import: 0.4.6_@vueuse+core@6.4.1+vite@2.5.10 - unplugin-icons: 0.11.3_7600cb822313a9246557cfc65a420087 - unplugin-vue-components: 0.15.3_vite@2.5.10+vue@3.2.16 + unplugin-auto-import: 0.4.8_@vueuse+core@6.4.1+vite@2.5.10 + unplugin-icons: 0.11.4_e5361e8664a0a56769b615f511416f8c + unplugin-vue-components: 0.15.3_vite@2.5.10+vue@3.2.18 vite: 2.5.10 - vite-plugin-inspect: 0.3.6_vite@2.5.10 + vite-plugin-inspect: 0.3.7_vite@2.5.10 vite-plugin-md: 0.11.1_vite@2.5.10 - vite-plugin-pages: 0.18.1_852e383c2b091120905a0648eaa96a53 + vite-plugin-pages: 0.18.1_e862484ed9084698f5b7f54862f9a9df vite-plugin-pwa: 0.11.2_vite@2.5.10 - vite-plugin-vue-layouts: 0.5.0_6c49e0955399154a17a05658ccf8faa3 + vite-plugin-vue-layouts: 0.5.0_e1740431e5e55c0bf7c7b59f38794abf vite-plugin-windicss: 1.4.5_typescript@4.4.3+vite@2.5.10 - vite-ssg: 0.15.3_4c8f71eff119719a16f50567be5ac011 + vite-ssg: 0.15.3_08d561ab48cf2578af0da9713fcb3f5b vue-tsc: 0.3.0_typescript@4.4.3 packages: @@ -1362,8 +1362,8 @@ packages: resolution: {integrity: sha512-LFelJDOLZ6JHlmlAkgrvmcu4hpNPB91KYcr4f60D/exzU1eNOb4/KCVHIydGHIQFaOacIOD+Xy+B7P1z812cZg==} dev: true - /@iconify/json/1.1.405: - resolution: {integrity: sha512-4QLGQG8esr+1FLFuEJoEwcjlMSA/ByQhS7g5Qg0AF/Lpi3/xTYKxkSeQAa8YQL9e9NCVa7yZHNAPgBsoUDW8Zg==} + /@iconify/json/1.1.406: + resolution: {integrity: sha512-3mNuYfU1cQeaV0m2mSI5Lf+13Tr6xueOP30w3Du4xCIBFGQY4O0D8wJ8rOp9PXRik1oleu+aKfEVnned0b/tqw==} dev: true /@intlify/bundle-utils/0.2.0: @@ -1439,7 +1439,7 @@ packages: debug: 4.3.2 fast-glob: 3.2.7 vite: 2.5.10 - vue-i18n: 9.1.7_vue@3.2.16 + vue-i18n: 9.1.7_vue@3.2.18 transitivePeerDependencies: - supports-color dev: true @@ -1716,8 +1716,8 @@ packages: eslint-visitor-keys: 2.1.0 dev: true - /@vitejs/plugin-vue/1.9.1_vite@2.5.10: - resolution: {integrity: sha512-9YuxaU2nLoSS/S1Ep4QTG/pEIh96LlauNM1g7LN/EOJ14Nj8HBeSy1OL26ydxb+MPhKn5XKGARh5wQF0UjHbLw==} + /@vitejs/plugin-vue/1.9.2_vite@2.5.10: + resolution: {integrity: sha512-QnUQJvGmY+YT9xTidLcjr6NAjKWNdSuul1M+BZ6uwTQaO5vpAY9USBncXESATk742dYMZGJenegJgeJhG/HMNQ==} engines: {node: '>=12.0.0'} peerDependencies: vite: ^2.5.10 @@ -1790,6 +1790,15 @@ packages: '@vue/shared': 3.2.16 estree-walker: 2.0.2 source-map: 0.6.1 + dev: true + + /@vue/compiler-core/3.2.18: + resolution: {integrity: sha512-zNKVUx2gN/46xjKy+fNRB3+PJVO2WoGUUdpQo9w5GylWj8vs/r7pMuzQralP8J02YDp6YgJ61v1Yjq7nW5xK6Q==} + dependencies: + '@babel/parser': 7.15.6 + '@vue/shared': 3.2.18 + estree-walker: 2.0.2 + source-map: 0.6.1 /@vue/compiler-dom/3.2.11: resolution: {integrity: sha512-DNvhUHI/1Hn0/+ZYDYGAuDGasUm+XHKC3FE4GqkNCTO/fcLaJMRg/7eT1m1lkc7jPffUwwfh1rZru5mwzOjrNw==} @@ -1803,6 +1812,13 @@ packages: dependencies: '@vue/compiler-core': 3.2.16 '@vue/shared': 3.2.16 + dev: true + + /@vue/compiler-dom/3.2.18: + resolution: {integrity: sha512-AqCND7Q0vYFlsBcwWnbcmOiVS/J/70qTZOCPxJnktvH+w4Y7F9omKDyuhsd/ZsJCmSvvpzqBNf2hgtMnoTjNiw==} + dependencies: + '@vue/compiler-core': 3.2.18 + '@vue/shared': 3.2.18 /@vue/compiler-sfc/3.2.16: resolution: {integrity: sha512-AxaDDg0ZjY7lCoVnCq7V+K3SIEfhyIHtten7k/LRupVC/VzSbelBmW0J8bawgsjLJAfTsdWZjeezZ5JJp2DM/A==} @@ -1817,12 +1833,34 @@ packages: magic-string: 0.25.7 postcss: 8.3.6 source-map: 0.6.1 + dev: true + + /@vue/compiler-sfc/3.2.18: + resolution: {integrity: sha512-ui+w1WtVjxlSlnvR4uYgVbbYcN75SrADyMuStnhRqhQM8E2MzJ99W/7Qm3UDs+GxzCEDyQA1CmUvtCg5tlwOMw==} + dependencies: + '@babel/parser': 7.15.6 + '@vue/compiler-core': 3.2.18 + '@vue/compiler-dom': 3.2.18 + '@vue/compiler-ssr': 3.2.18 + '@vue/ref-transform': 3.2.18 + '@vue/shared': 3.2.18 + estree-walker: 2.0.2 + magic-string: 0.25.7 + postcss: 8.3.6 + source-map: 0.6.1 /@vue/compiler-ssr/3.2.16: resolution: {integrity: sha512-u2Inuqp3QpEV3E03ppBLdba40mU0dz/fisbfGjRPlxH5uuQ9v9i5qgrFl7xZ+N5C0ugg5+5KI7MgsbsCAPn0mQ==} dependencies: '@vue/compiler-dom': 3.2.16 '@vue/shared': 3.2.16 + dev: true + + /@vue/compiler-ssr/3.2.18: + resolution: {integrity: sha512-qncqUn+y00o2X8h75XUmekzpxjlQOtZkR2XzEDkBFyRfe+jruG2l0MBFKq88wMeiHRzAfysRNqRQd2KXopHPFQ==} + dependencies: + '@vue/compiler-dom': 3.2.18 + '@vue/shared': 3.2.18 /@vue/devtools-api/6.0.0-beta.15: resolution: {integrity: sha512-quBx4Jjpexo6KDiNUGFr/zF/2A4srKM9S9v2uHgMXSU//hjgq1eGzqkIFql8T9gfX5ZaVOUzYBP3jIdIR3PKIA==} @@ -1834,10 +1872,10 @@ packages: '@vue/shared': 3.2.11 dev: true - /@vue/reactivity/3.2.16: - resolution: {integrity: sha512-eOOpjakbRFg2roaGhVsGgBFnQWaXJcTw66wfc+ZMWl/cihAcgn792gFO1a6KeT68vQBp4JVpGZ5jkkdgZnwFfA==} + /@vue/reactivity/3.2.18: + resolution: {integrity: sha512-NTGsS2uQqWO4HIhGKmXXUZZvu/R+GW2e+i08ZYJVnR6vScN8WGlg+GU3HiG4UvhNrTAdhMFPoy+no5t3iXnvVw==} dependencies: - '@vue/shared': 3.2.16 + '@vue/shared': 3.2.18 dev: false /@vue/ref-transform/3.2.16: @@ -1848,30 +1886,40 @@ packages: '@vue/shared': 3.2.16 estree-walker: 2.0.2 magic-string: 0.25.7 + dev: true - /@vue/runtime-core/3.2.16: - resolution: {integrity: sha512-Y7jDSKpwRmibQSXpGS2xcC2eVF9CuHQ6uPd1BSMy4aJCzB3ATI0CpRm/Ee/a5e70vjd5D9bY9IHe+9I0CIX1Bg==} + /@vue/ref-transform/3.2.18: + resolution: {integrity: sha512-STPcQbA8u3DftZjZW/dS+0mGIABKgbXCxOJTyEYxP+rxa66tqa/QSkeuz54h0zk2wgPfe4vo2QPtcFGl3kl45A==} dependencies: - '@vue/reactivity': 3.2.16 - '@vue/shared': 3.2.16 + '@babel/parser': 7.15.6 + '@vue/compiler-core': 3.2.18 + '@vue/shared': 3.2.18 + estree-walker: 2.0.2 + magic-string: 0.25.7 + + /@vue/runtime-core/3.2.18: + resolution: {integrity: sha512-wGRUSRE8grf90TdXJeWusdDG+mn+40L7wBH08neNM4L/f6qW9arlymvrYLOiMz7PoH28aMlI3w6l9tvGSlMbjA==} + dependencies: + '@vue/reactivity': 3.2.18 + '@vue/shared': 3.2.18 dev: false - /@vue/runtime-dom/3.2.16: - resolution: {integrity: sha512-PJ/aMaGfXkqFnykNqpDamcMJni4c/nqDQDz0hKncJiVqU4leiFGq7YC2IFbXECdG83GiHFhEc/77WOhecWSmCw==} + /@vue/runtime-dom/3.2.18: + resolution: {integrity: sha512-iP6AP0zANe0OfHWV7VDiR9eH2WGJuLHBHEsyIfOteZUuowM8VkIVgn+10HGnVEV+nfpaVAVPItQDc/TwmR73Rw==} dependencies: - '@vue/runtime-core': 3.2.16 - '@vue/shared': 3.2.16 + '@vue/runtime-core': 3.2.18 + '@vue/shared': 3.2.18 csstype: 2.6.18 dev: false - /@vue/server-renderer/3.2.16_vue@3.2.16: - resolution: {integrity: sha512-g2aSNYHaExFElYmKw1bfmp3yQmBCPQzrX3Hd7bhDa7bbGGHGchOg0n31SwuMrGk/z/pho4Z0K+LPfChmcECynQ==} + /@vue/server-renderer/3.2.18_vue@3.2.18: + resolution: {integrity: sha512-UUndtVq2z3IN3PmK+siu1W6lFvP9lb2hyKFw2CxZug3A4jKrUuYadvtItIRxt2rNsLIoLydnxBa2pyUM6+8S4g==} peerDependencies: - vue: 3.2.16 + vue: 3.2.18 dependencies: - '@vue/compiler-ssr': 3.2.16 - '@vue/shared': 3.2.16 - vue: 3.2.16 + '@vue/compiler-ssr': 3.2.18 + '@vue/shared': 3.2.18 + vue: 3.2.18 /@vue/shared/3.2.11: resolution: {integrity: sha512-ovfXAsSsCvV9JVceWjkqC/7OF5HbgLOtCWjCIosmPGG8lxbPuavhIxRH1dTx4Dg9xLgRTNLvI3pVxG4ItQZekg==} @@ -1879,8 +1927,12 @@ packages: /@vue/shared/3.2.16: resolution: {integrity: sha512-zpv8lxuatl3ruCJCsGzrO/F4+IlLug4jbu3vaIi/wJVZKQgnsW1R/xSRJMQS6K57cl4fT/2zkrYsWh1/6H7Esw==} + dev: true - /@vueuse/core/6.4.1_vue@3.2.16: + /@vue/shared/3.2.18: + resolution: {integrity: sha512-vFa2annVlbI082ICC3BH239UFO66nn2Syxy9shI7N2haPrc4rFRyNuDjWKJRe3sX7py4yhYL7fopB5tWGwGVyA==} + + /@vueuse/core/6.4.1_vue@3.2.18: resolution: {integrity: sha512-FRFeEPVq77gcMZP0mCloJY+lyHJaUQmUMaPp5fBds3fs/BbkAt7HTMMizFKHWDVjbmA20vBOjmC9tTnfD+DdEA==} peerDependencies: '@vue/composition-api': ^1.1.0 @@ -1891,20 +1943,20 @@ packages: vue: optional: true dependencies: - '@vueuse/shared': 6.4.1_vue@3.2.16 - vue: 3.2.16 - vue-demi: 0.11.4_vue@3.2.16 + '@vueuse/shared': 6.4.1_vue@3.2.18 + vue: 3.2.18 + vue-demi: 0.11.4_vue@3.2.18 dev: false - /@vueuse/head/0.6.0_vue@3.2.16: + /@vueuse/head/0.6.0_vue@3.2.18: resolution: {integrity: sha512-fi7ZjkMpEAUtTT6iR5wgL2HkX1+3zbrmbpcwU//RgJIWEr5b42jk8E9yOheaC2dYAAHzelAllVpX0pDmhcTXuw==} peerDependencies: vue: '>=3' dependencies: - vue: 3.2.16 + vue: 3.2.18 dev: false - /@vueuse/shared/6.4.1_vue@3.2.16: + /@vueuse/shared/6.4.1_vue@3.2.18: resolution: {integrity: sha512-zsaYxxZwACQbMmGg+UBjPUVemi325sDdnnB0mn+PNizE0fVC57B+vbLgdj45NBmr6P4nw6a0Y2rMupebwDWsdw==} peerDependencies: '@vue/composition-api': ^1.1.0 @@ -1915,8 +1967,8 @@ packages: vue: optional: true dependencies: - vue: 3.2.16 - vue-demi: 0.11.4_vue@3.2.16 + vue: 3.2.18 + vue-demi: 0.11.4_vue@3.2.18 dev: false /@windicss/config/1.4.5_typescript@4.4.3: @@ -4651,7 +4703,7 @@ packages: engines: {node: '>=4'} dev: true - /pinia/2.0.0-rc.9_typescript@4.4.3+vue@3.2.16: + /pinia/2.0.0-rc.9_typescript@4.4.3+vue@3.2.18: resolution: {integrity: sha512-JrFnxKbuyYPEZ6ZS56sBHRzabZj+5xkJj8jxCHGNJ1h2I824QJuLXJVV/3pgkUw0pfXYrRxcO6EiV9+wapSicg==} peerDependencies: '@vue/composition-api': ^1.1.4 @@ -4665,8 +4717,8 @@ packages: dependencies: '@vue/devtools-api': 6.0.0-beta.15 typescript: 4.4.3 - vue: 3.2.16 - vue-demi: 0.11.4_vue@3.2.16 + vue: 3.2.18 + vue-demi: 0.11.4_vue@3.2.18 dev: false /pirates/4.0.1: @@ -5771,8 +5823,8 @@ packages: engines: {node: '>= 0.8'} dev: true - /unplugin-auto-import/0.4.6_@vueuse+core@6.4.1+vite@2.5.10: - resolution: {integrity: sha512-QCfCLsPUXPm8Xu81QKRLNCxb+6CwAUnQdH4x0Y+wD2xTZZmt7WHJoueQO5Y+tCtYAZ9QPg+b6wv+5FtBfIPkVw==} + /unplugin-auto-import/0.4.8_@vueuse+core@6.4.1+vite@2.5.10: + resolution: {integrity: sha512-qK7loR5lz1ctkw9cXBpNxelkYVGqQnyBdtDX7vX12MCEJpddNnKzxgKq/vAK+7VDoojQ2RU14++V7DeV/+SoDw==} engines: {node: '>=14'} peerDependencies: '@vueuse/core': ^6.0.0 @@ -5782,19 +5834,19 @@ packages: dependencies: '@antfu/utils': 0.3.0 '@rollup/pluginutils': 4.1.1 - '@vueuse/core': 6.4.1_vue@3.2.16 + '@vueuse/core': 6.4.1_vue@3.2.18 has-pkg: 0.0.1 magic-string: 0.25.7 resolve: 1.20.0 - unplugin: 0.2.11_vite@2.5.10 + unplugin: 0.2.16_vite@2.5.10 transitivePeerDependencies: - rollup - vite - webpack dev: true - /unplugin-icons/0.11.3_7600cb822313a9246557cfc65a420087: - resolution: {integrity: sha512-qJMi1YBv6QN2R6lu+l7dR+W3LXmen09/h2OzD9324YOvRM6ElsmaCWvc5uuvAVUSpSuuAKfb+Ay1lCIfpb34RA==} + /unplugin-icons/0.11.4_e5361e8664a0a56769b615f511416f8c: + resolution: {integrity: sha512-vmUqYCf+uFZF33GyL5/1X3LqNJrn6RfI8K85EPs8PzTTqMF6lGnO9wERSo2yKt2wzkCye10urZFdaYrReheA8A==} peerDependencies: '@iconify/json': '*' '@svgr/core': ^5.5.0 @@ -5812,18 +5864,18 @@ packages: optional: true dependencies: '@antfu/utils': 0.3.0 - '@iconify/json': 1.1.405 + '@iconify/json': 1.1.406 '@iconify/json-tools': 1.0.10 - '@vue/compiler-sfc': 3.2.16 + '@vue/compiler-sfc': 3.2.18 has-pkg: 0.0.1 - unplugin: 0.2.11_vite@2.5.10 + unplugin: 0.2.14_vite@2.5.10 transitivePeerDependencies: - rollup - vite - webpack dev: true - /unplugin-vue-components/0.15.3_vite@2.5.10+vue@3.2.16: + /unplugin-vue-components/0.15.3_vite@2.5.10+vue@3.2.18: resolution: {integrity: sha512-y358MXjvfmAqo/n/BKwl2QP5cbo0Npj37FbWig+9BKREMMPvZRIBNK8z4E9+ewriDAXGHcKAbHmXCinZf30hBA==} engines: {node: '>=14'} peerDependencies: @@ -5838,7 +5890,7 @@ packages: minimatch: 3.0.4 resolve: 1.20.0 unplugin: 0.2.14_vite@2.5.10 - vue: 3.2.16 + vue: 3.2.18 transitivePeerDependencies: - rollup - supports-color @@ -5846,25 +5898,6 @@ packages: - webpack dev: true - /unplugin/0.2.11_vite@2.5.10: - resolution: {integrity: sha512-PY8x+hG1smsF06chESP5BurwZN+tZK1tNjKsCXe4XFOfRCIOcrIPCrwBKwLSfeAdojVCtMjSpJ2e/l5QXNw16A==} - peerDependencies: - rollup: ^2.50.0 - vite: ^2.3.0 - webpack: 4 || 5 - peerDependenciesMeta: - rollup: - optional: true - vite: - optional: true - webpack: - optional: true - dependencies: - upath: 2.0.1 - vite: 2.5.10 - webpack-virtual-modules: 0.4.3 - dev: true - /unplugin/0.2.14_vite@2.5.10: resolution: {integrity: sha512-6B9RUTJzvdMjJshEGyiBc2HRpVTaRiQ7WEJxgL/pwH4RZZWzb1if5YjjYHOhcY8v34x8fgbvRWKxD+kyiPG5Gg==} peerDependencies: @@ -5884,6 +5917,24 @@ packages: webpack-virtual-modules: 0.4.3 dev: true + /unplugin/0.2.16_vite@2.5.10: + resolution: {integrity: sha512-KkXatHba0baJszSHW+2e8EQU/5Bz7rYwzYXu8wUeq97tE6K3wvub+7OWSuRv04LttvzNLsJ2jXEyR35gofv74Q==} + peerDependencies: + rollup: ^2.50.0 + vite: ^2.3.0 + webpack: 4 || 5 + peerDependenciesMeta: + rollup: + optional: true + vite: + optional: true + webpack: + optional: true + dependencies: + vite: 2.5.10 + webpack-virtual-modules: 0.4.3 + dev: true + /upath/1.2.0: resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==} engines: {node: '>=4'} @@ -5929,8 +5980,8 @@ packages: engines: {node: '>= 0.8'} dev: true - /vite-plugin-inspect/0.3.6_vite@2.5.10: - resolution: {integrity: sha512-MN82rowBE7FyygA9riUaoa1PsPcJjwBR3cz+CwzCXA/8mkqFdrD8KL+p+xS7cf33sV2vDzLwpELvg9kMUn7c7g==} + /vite-plugin-inspect/0.3.7_vite@2.5.10: + resolution: {integrity: sha512-Ws1tV2wNeX0sh/Sahvh7/DbSBqpVtmlsZNNvoMehcJoKFpoULxsm68HFhDXxb63wQLPXPz3XLmE7ex89zI0kfw==} peerDependencies: vite: ^2.0.0 dependencies: @@ -5953,7 +6004,7 @@ packages: vite: 2.5.10 dev: true - /vite-plugin-pages/0.18.1_852e383c2b091120905a0648eaa96a53: + /vite-plugin-pages/0.18.1_e862484ed9084698f5b7f54862f9a9df: resolution: {integrity: sha512-+hNe98nkKoN/jK5dEdsTWRpTEpF++5A523cdNXE329eLedp9nql1EmWAuR5UqvP8aU+LCtWJN6Nnw3NWGWB9gQ==} peerDependencies: '@vue/compiler-sfc': '>=3' @@ -5963,7 +6014,7 @@ packages: optional: true dependencies: '@antfu/utils': 0.3.0 - '@vue/compiler-sfc': 3.2.16 + '@vue/compiler-sfc': 3.2.18 debug: 4.3.2 deep-equal: 2.0.5 fast-glob: 3.2.7 @@ -5991,7 +6042,7 @@ packages: - supports-color dev: true - /vite-plugin-vue-layouts/0.5.0_6c49e0955399154a17a05658ccf8faa3: + /vite-plugin-vue-layouts/0.5.0_e1740431e5e55c0bf7c7b59f38794abf: resolution: {integrity: sha512-KN03GMSGNrWxeHJo5OO9fvdZh44PfievNAoLeMbf20UQPBBO6kpIMVTYB6sFPMWmiTbqZmq3we4z/ocJkxAEiA==} peerDependencies: vite: ^2.5.0 @@ -6002,8 +6053,8 @@ packages: debug: 4.3.2 fast-glob: 3.2.7 vite: 2.5.10 - vue: 3.2.16 - vue-router: 4.0.11_vue@3.2.16 + vue: 3.2.18 + vue-router: 4.0.11_vue@3.2.18 transitivePeerDependencies: - supports-color dev: true @@ -6024,7 +6075,7 @@ packages: - typescript dev: true - /vite-ssg/0.15.3_4c8f71eff119719a16f50567be5ac011: + /vite-ssg/0.15.3_08d561ab48cf2578af0da9713fcb3f5b: resolution: {integrity: sha512-sz2fU5YO/Siu+izc2T+xhA6l2WBo534ZlRHfnzoFgQu3E2qHc9GoynCd0Xf0mJP7Ukc9X0TqVoc1UhNv2E7jeA==} engines: {node: '>=14.0.0'} hasBin: true @@ -6040,9 +6091,9 @@ packages: critters: optional: true dependencies: - '@vue/compiler-sfc': 3.2.16 - '@vue/server-renderer': 3.2.16_vue@3.2.16 - '@vueuse/head': 0.6.0_vue@3.2.16 + '@vue/compiler-sfc': 3.2.18 + '@vue/server-renderer': 3.2.18_vue@3.2.18 + '@vueuse/head': 0.6.0_vue@3.2.18 chalk: 4.1.2 critters: 0.0.10 fs-extra: 10.0.0 @@ -6051,8 +6102,8 @@ packages: prettier: 2.4.1 read-pkg-up: 7.0.1 vite: 2.5.10 - vue: 3.2.16 - vue-router: 4.0.11_vue@3.2.16 + vue: 3.2.18 + vue-router: 4.0.11_vue@3.2.18 yargs: 17.1.1 transitivePeerDependencies: - bufferutil @@ -6196,7 +6247,7 @@ packages: vscode-typescript-languageservice: 0.27.20 dev: true - /vue-demi/0.11.4_vue@3.2.16: + /vue-demi/0.11.4_vue@3.2.18: resolution: {integrity: sha512-/3xFwzSykLW2HiiLie43a+FFgNOcokbBJ+fzvFXd0r2T8MYohqvphUyDQ8lbAwzQ3Dlcrb1c9ykifGkhSIAk6A==} engines: {node: '>=12'} hasBin: true @@ -6208,7 +6259,7 @@ packages: '@vue/composition-api': optional: true dependencies: - vue: 3.2.16 + vue: 3.2.18 dev: false /vue-eslint-parser/7.11.0_eslint@7.32.0: @@ -6229,7 +6280,7 @@ packages: - supports-color dev: true - /vue-i18n/9.1.7_vue@3.2.16: + /vue-i18n/9.1.7_vue@3.2.18: resolution: {integrity: sha512-ujuuDanoHqtEd4GejWrbG/fXE9nrP51ElsEGxp0WBHfv+/ki0/wyUqkO+4fLikki2obGtXdviTPH0VNpas5K6g==} engines: {node: '>= 10'} peerDependencies: @@ -6239,16 +6290,16 @@ packages: '@intlify/shared': 9.1.7 '@intlify/vue-devtools': 9.1.7 '@vue/devtools-api': 6.0.0-beta.15 - vue: 3.2.16 + vue: 3.2.18 dev: false - /vue-router/4.0.11_vue@3.2.16: + /vue-router/4.0.11_vue@3.2.18: resolution: {integrity: sha512-sha6I8fx9HWtvTrFZfxZkiQQBpqSeT+UCwauYjkdOQYRvwsGwimlQQE2ayqUwuuXGzquFpCPoXzYKWlzL4OuXg==} peerDependencies: vue: ^3.0.0 dependencies: '@vue/devtools-api': 6.0.0-beta.15 - vue: 3.2.16 + vue: 3.2.18 dev: false /vue-tsc/0.3.0_typescript@4.4.3: @@ -6261,14 +6312,14 @@ packages: vscode-vue-languageservice: 0.27.21 dev: true - /vue/3.2.16: - resolution: {integrity: sha512-aGm8HbZe6IIj2b/LX6QXpAwwDFrpo8E1jdTkuBX2fS42c1+mQ1n0Wl+Dxnj9cgRM7bp1MIoXbPbDyDsOrXTO0w==} + /vue/3.2.18: + resolution: {integrity: sha512-5HjXmnntBcFOdjqXzi4fxPENcl8MOrfUycr/iY+Th/NNNaZfa5BLPHk9Gc28fWCGbZT1U6XkkiEYysxY49lGuQ==} dependencies: - '@vue/compiler-dom': 3.2.16 - '@vue/compiler-sfc': 3.2.16 - '@vue/runtime-dom': 3.2.16 - '@vue/server-renderer': 3.2.16_vue@3.2.16 - '@vue/shared': 3.2.16 + '@vue/compiler-dom': 3.2.18 + '@vue/compiler-sfc': 3.2.18 + '@vue/runtime-dom': 3.2.18 + '@vue/server-renderer': 3.2.18_vue@3.2.18 + '@vue/shared': 3.2.18 dev: false /w3c-hr-time/1.0.2: diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts new file mode 100644 index 0000000..856557b --- /dev/null +++ b/src/auto-imports.d.ts @@ -0,0 +1,169 @@ +// Generated by 'unplugin-auto-import' +// We suggest you to commit this file into source control +declare global { + const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] + const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] + const biSyncRef: typeof import('@vueuse/core')['biSyncRef'] + const computed: typeof import('vue')['computed'] + const computedInject: typeof import('@vueuse/core')['computedInject'] + const controlledComputed: typeof import('@vueuse/core')['controlledComputed'] + const controlledRef: typeof import('@vueuse/core')['controlledRef'] + const createApp: typeof import('vue')['createApp'] + const createEventHook: typeof import('@vueuse/core')['createEventHook'] + const createGlobalState: typeof import('@vueuse/core')['createGlobalState'] + const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable'] + const customRef: typeof import('vue')['customRef'] + const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch'] + const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] + const defineComponent: typeof import('vue')['defineComponent'] + const eagerComputed: typeof import('@vueuse/core')['eagerComputed'] + const extendRef: typeof import('@vueuse/core')['extendRef'] + const getCurrentInstance: typeof import('vue')['getCurrentInstance'] + const h: typeof import('vue')['h'] + const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] + const inject: typeof import('vue')['inject'] + const isReadonly: typeof import('vue')['isReadonly'] + const isRef: typeof import('vue')['isRef'] + const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable'] + const markRaw: typeof import('vue')['markRaw'] + const nextTick: typeof import('vue')['nextTick'] + const onActivated: typeof import('vue')['onActivated'] + const onBeforeMount: typeof import('vue')['onBeforeMount'] + const onBeforeUnmount: typeof import('vue')['onBeforeUnmount'] + const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'] + const onClickOutside: typeof import('@vueuse/core')['onClickOutside'] + const onDeactivated: typeof import('vue')['onDeactivated'] + const onErrorCaptured: typeof import('vue')['onErrorCaptured'] + const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke'] + const onMounted: typeof import('vue')['onMounted'] + const onRenderTracked: typeof import('vue')['onRenderTracked'] + const onRenderTriggered: typeof import('vue')['onRenderTriggered'] + const onServerPrefetch: typeof import('vue')['onServerPrefetch'] + const onStartTyping: typeof import('@vueuse/core')['onStartTyping'] + const onUnmounted: typeof import('vue')['onUnmounted'] + const onUpdated: typeof import('vue')['onUpdated'] + const pausableWatch: typeof import('@vueuse/core')['pausableWatch'] + const provide: typeof import('vue')['provide'] + const reactify: typeof import('@vueuse/core')['reactify'] + const reactifyObject: typeof import('@vueuse/core')['reactifyObject'] + const reactive: typeof import('vue')['reactive'] + const reactivePick: typeof import('@vueuse/core')['reactivePick'] + const readonly: typeof import('vue')['readonly'] + const ref: typeof import('vue')['ref'] + const shallowReactive: typeof import('vue')['shallowReactive'] + const shallowReadonly: typeof import('vue')['shallowReadonly'] + const shallowRef: typeof import('vue')['shallowRef'] + const syncRef: typeof import('@vueuse/core')['syncRef'] + const templateRef: typeof import('@vueuse/core')['templateRef'] + const throttledWatch: typeof import('@vueuse/core')['throttledWatch'] + const toRaw: typeof import('vue')['toRaw'] + const toReactive: typeof import('@vueuse/core')['toReactive'] + const toRef: typeof import('vue')['toRef'] + const toRefs: typeof import('vue')['toRefs'] + const triggerRef: typeof import('vue')['triggerRef'] + const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount'] + const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted'] + const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose'] + const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted'] + const unref: typeof import('vue')['unref'] + const unrefElement: typeof import('@vueuse/core')['unrefElement'] + const until: typeof import('@vueuse/core')['until'] + const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] + const useAsyncState: typeof import('@vueuse/core')['useAsyncState'] + const useBattery: typeof import('@vueuse/core')['useBattery'] + const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints'] + const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation'] + const useClipboard: typeof import('@vueuse/core')['useClipboard'] + const useCounter: typeof import('@vueuse/core')['useCounter'] + const useCssModule: typeof import('vue')['useCssModule'] + const useCssVar: typeof import('@vueuse/core')['useCssVar'] + const useDark: typeof import('@vueuse/core')['useDark'] + const useDebounce: typeof import('@vueuse/core')['useDebounce'] + const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory'] + const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn'] + const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion'] + const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation'] + const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio'] + const useDevicesList: typeof import('@vueuse/core')['useDevicesList'] + const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility'] + const useDraggable: typeof import('@vueuse/core')['useDraggable'] + const useElementBounding: typeof import('@vueuse/core')['useElementBounding'] + const useElementSize: typeof import('@vueuse/core')['useElementSize'] + const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility'] + const useEventBus: typeof import('@vueuse/core')['useEventBus'] + const useEventListener: typeof import('@vueuse/core')['useEventListener'] + const useEventSource: typeof import('@vueuse/core')['useEventSource'] + const useFavicon: typeof import('@vueuse/core')['useFavicon'] + const useFetch: typeof import('@vueuse/core')['useFetch'] + const useFullscreen: typeof import('@vueuse/core')['useFullscreen'] + const useGeolocation: typeof import('@vueuse/core')['useGeolocation'] + const useHead: typeof import('@vueuse/head')['useHead'] + const useI18n: typeof import('vue-i18n')['useI18n'] + const useIdle: typeof import('@vueuse/core')['useIdle'] + const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver'] + const useInterval: typeof import('@vueuse/core')['useInterval'] + const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn'] + const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier'] + const useLastChanged: typeof import('@vueuse/core')['useLastChanged'] + const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage'] + const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys'] + const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory'] + const useMediaControls: typeof import('@vueuse/core')['useMediaControls'] + const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery'] + const useMouse: typeof import('@vueuse/core')['useMouse'] + const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement'] + const useMousePressed: typeof import('@vueuse/core')['useMousePressed'] + const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver'] + const useNetwork: typeof import('@vueuse/core')['useNetwork'] + const useNow: typeof import('@vueuse/core')['useNow'] + const useOnline: typeof import('@vueuse/core')['useOnline'] + const usePageLeave: typeof import('@vueuse/core')['usePageLeave'] + const useParallax: typeof import('@vueuse/core')['useParallax'] + const usePermission: typeof import('@vueuse/core')['usePermission'] + const usePointer: typeof import('@vueuse/core')['usePointer'] + const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe'] + const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme'] + const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark'] + const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages'] + const useRafFn: typeof import('@vueuse/core')['useRafFn'] + const useRefHistory: typeof import('@vueuse/core')['useRefHistory'] + const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver'] + const useRoute: typeof import('vue-router')['useRoute'] + const useRouter: typeof import('vue-router')['useRouter'] + const useScriptTag: typeof import('@vueuse/core')['useScriptTag'] + const useScroll: typeof import('@vueuse/core')['useScroll'] + const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage'] + const useShare: typeof import('@vueuse/core')['useShare'] + const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition'] + const useStorage: typeof import('@vueuse/core')['useStorage'] + const useSwipe: typeof import('@vueuse/core')['useSwipe'] + const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList'] + const useThrottle: typeof import('@vueuse/core')['useThrottle'] + const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory'] + const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn'] + const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo'] + const useTimeout: typeof import('@vueuse/core')['useTimeout'] + const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn'] + const useTimestamp: typeof import('@vueuse/core')['useTimestamp'] + const useTitle: typeof import('@vueuse/core')['useTitle'] + const useToggle: typeof import('@vueuse/core')['useToggle'] + const useTransition: typeof import('@vueuse/core')['useTransition'] + const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams'] + const useUserMedia: typeof import('@vueuse/core')['useUserMedia'] + const useVirtualList: typeof import('@vueuse/core')['useVirtualList'] + const useVModel: typeof import('@vueuse/core')['useVModel'] + const useVModels: typeof import('@vueuse/core')['useVModels'] + const useWakeLock: typeof import('@vueuse/core')['useWakeLock'] + const useWebSocket: typeof import('@vueuse/core')['useWebSocket'] + const useWebWorker: typeof import('@vueuse/core')['useWebWorker'] + const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn'] + const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus'] + const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll'] + const useWindowSize: typeof import('@vueuse/core')['useWindowSize'] + const watch: typeof import('vue')['watch'] + const watchAtMost: typeof import('@vueuse/core')['watchAtMost'] + const watchEffect: typeof import('vue')['watchEffect'] + const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] + const whenever: typeof import('@vueuse/core')['whenever'] +} +export {} diff --git a/src/components.d.ts b/src/components.d.ts new file mode 100644 index 0000000..4e2629b --- /dev/null +++ b/src/components.d.ts @@ -0,0 +1,18 @@ +// generated by unplugin-vue-components +// We suggest you to commit this file into source control +// Read more: https://github.com/vuejs/vue-next/pull/3399 + +declare module 'vue' { + export interface GlobalComponents { + CarbonCampsite: typeof import('~icons/carbon/campsite')['default'] + CarbonDicomOverlay: typeof import('~icons/carbon/dicom-overlay')['default'] + CarbonLanguage: typeof import('~icons/carbon/language')['default'] + CarbonLogoGithub: typeof import('~icons/carbon/logo-github')['default'] + CarbonMoon: typeof import('~icons/carbon/moon')['default'] + CarbonSun: typeof import('~icons/carbon/sun')['default'] + Footer: typeof import('./components/Footer.vue')['default'] + README: typeof import('./components/README.md')['default'] + } +} + +export { } diff --git a/vite.config.ts b/vite.config.ts index 8db662b..835648b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -45,7 +45,7 @@ export default defineConfig({ '@vueuse/head', '@vueuse/core', ], - dts: true, + dts: 'src/auto-imports.d.ts', }), // https://github.com/antfu/unplugin-vue-components @@ -53,8 +53,6 @@ export default defineConfig({ // allow auto load markdown components under `./src/components/` extensions: ['vue', 'md'], - dts: true, - // allow auto import and register components used in markdown include: [/\.vue$/, /\.vue\?vue/, /\.md$/], @@ -67,6 +65,8 @@ export default defineConfig({ // enabledCollections: ['carbon'] }), ], + + dts: 'src/components.d.ts', }), // https://github.com/antfu/unplugin-icons @@ -155,6 +155,7 @@ export default defineConfig({ 'vue', 'vue-router', '@vueuse/core', + '@vueuse/head', ], exclude: [ 'vue-demi',