feat(projects): 添加多页签右键菜单

This commit is contained in:
Soybean
2021-09-20 18:55:42 +08:00
parent 3cfa0f103c
commit d6f5237c8c
33 changed files with 362 additions and 168 deletions

75
pnpm-lock.yaml generated
View File

@@ -3,7 +3,7 @@ lockfileVersion: 5.3
specifiers:
'@commitlint/cli': ^13.1.0
'@commitlint/config-conventional': ^13.1.0
'@iconify/json': ^1.1.403
'@iconify/json': ^1.1.404
'@iconify/vue': ^3.0.0
'@types/chroma-js': ^2.1.3
'@types/qs': ^6.9.7
@@ -17,7 +17,7 @@ specifiers:
'@vicons/ionicons5': ^0.11.0
'@vicons/material': ^0.11.0
'@vicons/tabler': ^0.11.0
'@vitejs/plugin-vue': ^1.8.0
'@vitejs/plugin-vue': ^1.8.1
'@vue/compiler-sfc': ^3.2.12
'@vue/eslint-config-prettier': ^6.0.0
'@vue/eslint-config-typescript': ^7.0.0
@@ -54,6 +54,7 @@ specifiers:
vue: ^3.2.10
vue-router: ^4.0.11
vue-tsc: ^0.3.0
vueuc: ^0.4.10
windicss: ^3.1.7
dependencies:
@@ -71,7 +72,7 @@ dependencies:
devDependencies:
'@commitlint/cli': registry.nlark.com/@commitlint/cli/13.1.0
'@commitlint/config-conventional': registry.nlark.com/@commitlint/config-conventional/13.1.0
'@iconify/json': registry.nlark.com/@iconify/json/1.1.403
'@iconify/json': registry.nlark.com/@iconify/json/1.1.404
'@iconify/vue': registry.nlark.com/@iconify/vue/3.0.0_vue@3.2.10
'@types/chroma-js': registry.nlark.com/@types/chroma-js/2.1.3
'@types/qs': registry.nlark.com/@types/qs/6.9.7
@@ -85,7 +86,7 @@ devDependencies:
'@vicons/ionicons5': registry.nlark.com/@vicons/ionicons5/0.11.0
'@vicons/material': registry.nlark.com/@vicons/material/0.11.0
'@vicons/tabler': registry.nlark.com/@vicons/tabler/0.11.0
'@vitejs/plugin-vue': registry.nlark.com/@vitejs/plugin-vue/1.8.0_ece4885f8f1ae7d2e7306f4ece6a44cf
'@vitejs/plugin-vue': registry.nlark.com/@vitejs/plugin-vue/1.8.1_ece4885f8f1ae7d2e7306f4ece6a44cf
'@vue/compiler-sfc': registry.nlark.com/@vue/compiler-sfc/3.2.12
'@vue/eslint-config-prettier': 6.0.0_07ea7830c059e0b322b8e6cb8d02712b
'@vue/eslint-config-typescript': 7.0.0_8accd92160de6f0c5ceb40584f283975
@@ -106,12 +107,13 @@ devDependencies:
prettier: registry.nlark.com/prettier/2.4.1
sass: registry.nlark.com/sass/1.41.1
typescript: registry.nlark.com/typescript/4.4.3
unplugin-icons: registry.nlark.com/unplugin-icons/0.11.1_bb95034bcf609147e95709faffdd4405
unplugin-icons: registry.nlark.com/unplugin-icons/0.11.1_4242227f15d365faebe5884deb26575d
unplugin-vue-components: registry.nlark.com/unplugin-vue-components/0.15.1_vite@2.5.10+vue@3.2.10
vite: registry.nlark.com/vite/2.5.10
vite-plugin-html: registry.nlark.com/vite-plugin-html/2.1.0_vite@2.5.10
vite-plugin-windicss: registry.nlark.com/vite-plugin-windicss/1.4.3_typescript@4.4.3+vite@2.5.10
vue-tsc: registry.nlark.com/vue-tsc/0.3.0_typescript@4.4.3
vueuc: registry.nlark.com/vueuc/0.4.10_vue@3.2.10
windicss: registry.nlark.com/windicss/3.1.7
packages:
@@ -2067,7 +2069,6 @@ packages:
resolution: {integrity: sha1-u7/2iXj+/b5ozLUzvIy+HRr7VBM=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@emotion/hash/download/@emotion/hash-0.8.0.tgz}
name: '@emotion/hash'
version: 0.8.0
dev: false
registry.nlark.com/@eslint/eslintrc/0.4.3:
resolution: {integrity: sha1-nkKYHvA1vrPdSa3ResuW6P9vOUw=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@eslint/eslintrc/download/@eslint/eslintrc-0.4.3.tgz}
@@ -2113,10 +2114,10 @@ packages:
version: 1.0.10
dev: true
registry.nlark.com/@iconify/json/1.1.403:
resolution: {integrity: sha1-uexHeSNI5vne5oWu108tboqLpKw=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@iconify/json/download/@iconify/json-1.1.403.tgz}
registry.nlark.com/@iconify/json/1.1.404:
resolution: {integrity: sha1-CR9URqoNaPhBWSPPmyHOlL2Nmt4=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@iconify/json/download/@iconify/json-1.1.404.tgz}
name: '@iconify/json'
version: 1.1.403
version: 1.1.404
dev: true
registry.nlark.com/@iconify/vue/3.0.0_vue@3.2.10:
@@ -2141,7 +2142,6 @@ packages:
'@types/node': registry.nlark.com/@types/node/16.6.2
'@types/yargs': registry.nlark.com/@types/yargs/15.0.14
chalk: registry.nlark.com/chalk/4.1.2
dev: false
registry.nlark.com/@nodelib/fs.scandir/2.1.5:
resolution: {integrity: sha1-dhnC6yGyVIP20WdUi0z9WnSIw9U=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@nodelib/fs.scandir/download/@nodelib/fs.scandir-2.1.5.tgz?cache=0&sync_timestamp=1622793808741&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40nodelib%2Ffs.scandir%2Fdownload%2F%40nodelib%2Ffs.scandir-2.1.5.tgz}
@@ -2196,7 +2196,6 @@ packages:
resolution: {integrity: sha1-S6jdtyAiH0MuRDvV+RF/0iz9R2I=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/istanbul-lib-coverage/download/@types/istanbul-lib-coverage-2.0.3.tgz}
name: '@types/istanbul-lib-coverage'
version: 2.0.3
dev: false
registry.nlark.com/@types/istanbul-lib-report/3.0.0:
resolution: {integrity: sha1-wUwk8Y6oGQwRjudWK3/5mjZVJoY=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/istanbul-lib-report/download/@types/istanbul-lib-report-3.0.0.tgz}
@@ -2204,7 +2203,6 @@ packages:
version: 3.0.0
dependencies:
'@types/istanbul-lib-coverage': registry.nlark.com/@types/istanbul-lib-coverage/2.0.3
dev: false
registry.nlark.com/@types/istanbul-reports/3.0.1:
resolution: {integrity: sha1-kVP+mLuivVZaY63ZQ21vDX+EaP8=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/istanbul-reports/download/@types/istanbul-reports-3.0.1.tgz}
@@ -2212,7 +2210,6 @@ packages:
version: 3.0.1
dependencies:
'@types/istanbul-lib-report': registry.nlark.com/@types/istanbul-lib-report/3.0.0
dev: false
registry.nlark.com/@types/jest/26.0.24:
resolution: {integrity: sha1-lD0Rl2sWc5GFkToZNuDeDEp9WVo=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/jest/download/@types/jest-26.0.24.tgz?cache=0&sync_timestamp=1631611929928&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40types%2Fjest%2Fdownload%2F%40types%2Fjest-26.0.24.tgz}
@@ -2221,7 +2218,6 @@ packages:
dependencies:
jest-diff: registry.nlark.com/jest-diff/26.6.2
pretty-format: registry.nlark.com/pretty-format/26.6.2
dev: false
registry.nlark.com/@types/json-schema/7.0.9:
resolution: {integrity: sha1-l+3JA36gw4WFMgsolk3eOznkZg0=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/json-schema/download/@types/json-schema-7.0.9.tgz}
@@ -2253,19 +2249,16 @@ packages:
resolution: {integrity: sha1-7C37VWb/gU0GGu9+FBV1rtuiRc8=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/node/download/@types/node-14.14.45.tgz}
name: '@types/node'
version: 14.14.45
dev: false
registry.nlark.com/@types/node/14.17.10:
resolution: {integrity: sha1-k/Swla8nWgQnEUV5wQ7HqmlnKdc=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/node/download/@types/node-14.17.10.tgz}
name: '@types/node'
version: 14.17.10
dev: false
registry.nlark.com/@types/node/16.6.2:
resolution: {integrity: sha1-Mxt7n4YhxjgoR4fFVZQjgi/f/FA=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/node/download/@types/node-16.6.2.tgz}
name: '@types/node'
version: 16.6.2
dev: false
registry.nlark.com/@types/normalize-package-data/2.4.1:
resolution: {integrity: sha1-0zV0eaD9/dWQf+Z+F+CoXJBuEwE=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/normalize-package-data/download/@types/normalize-package-data-2.4.1.tgz}
@@ -2295,7 +2288,6 @@ packages:
resolution: {integrity: sha1-O5ziSJkZ2eT+pDm3aRarw0st8Sk=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/yargs-parser/download/@types/yargs-parser-20.2.1.tgz}
name: '@types/yargs-parser'
version: 20.2.1
dev: false
registry.nlark.com/@types/yargs/15.0.14:
resolution: {integrity: sha1-Jtgh3biecEkhYLZtEKDrbfj2+wY=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@types/yargs/download/@types/yargs-15.0.14.tgz}
@@ -2303,7 +2295,6 @@ packages:
version: 15.0.14
dependencies:
'@types/yargs-parser': registry.nlark.com/@types/yargs-parser/20.2.1
dev: false
registry.nlark.com/@typescript-eslint/eslint-plugin/4.31.1_e2d3c88d378335c4183365c112128ce9:
resolution: {integrity: sha1-6ThgOhNvAdyr7s4GnaX7LjMdRJg=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@typescript-eslint/eslint-plugin/download/@typescript-eslint/eslint-plugin-4.31.1.tgz?cache=0&sync_timestamp=1631554210620&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40typescript-eslint%2Feslint-plugin%2Fdownload%2F%40typescript-eslint%2Feslint-plugin-4.31.1.tgz}
@@ -2476,11 +2467,11 @@ packages:
version: 0.11.0
dev: true
registry.nlark.com/@vitejs/plugin-vue/1.8.0_ece4885f8f1ae7d2e7306f4ece6a44cf:
resolution: {integrity: sha1-QSsPKA7trU+tmCoLPxrntL0Siu4=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.8.0.tgz}
id: registry.nlark.com/@vitejs/plugin-vue/1.8.0
registry.nlark.com/@vitejs/plugin-vue/1.8.1_ece4885f8f1ae7d2e7306f4ece6a44cf:
resolution: {integrity: sha1-bMKo39BCAePIaMI5CRqqiap1+IA=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/@vitejs/plugin-vue/download/@vitejs/plugin-vue-1.8.1.tgz}
id: registry.nlark.com/@vitejs/plugin-vue/1.8.1
name: '@vitejs/plugin-vue'
version: 1.8.0
version: 1.8.1
engines: {node: '>=12.0.0'}
peerDependencies:
'@vue/compiler-sfc': ^3.2.6
@@ -2836,7 +2827,6 @@ packages:
name: ansi-regex
version: 5.0.0
engines: {node: '>=8'}
dev: false
registry.nlark.com/ansi-styles/3.2.1:
resolution: {integrity: sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/ansi-styles/download/ansi-styles-3.2.1.tgz}
@@ -3223,7 +3213,6 @@ packages:
'@emotion/hash': registry.nlark.com/@emotion/hash/0.8.0
'@types/node': registry.nlark.com/@types/node/14.14.45
csstype: registry.nlark.com/csstype/3.0.8
dev: false
registry.nlark.com/cssesc/3.0.0:
resolution: {integrity: sha1-N3QZGZA7hoVl4cCep0dEXNGJg+4=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/cssesc/download/cssesc-3.0.0.tgz}
@@ -3243,7 +3232,6 @@ packages:
resolution: {integrity: sha1-0iZqeScp+yJ80hb7Vy9Dco4a00A=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/csstype/download/csstype-3.0.8.tgz}
name: csstype
version: 3.0.8
dev: false
registry.nlark.com/cz-conventional-changelog/3.2.0:
resolution: {integrity: sha1-au8fiS1kETND1+RVUpCJrJ8g5Hc=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/cz-conventional-changelog/download/cz-conventional-changelog-3.2.0.tgz}
@@ -3364,7 +3352,6 @@ packages:
name: diff-sequences
version: 26.6.2
engines: {node: '>= 10.14.2'}
dev: false
registry.nlark.com/doctypes/1.1.0:
resolution: {integrity: sha1-6oCxBqh1OHdOijpKWv4pPeSJ4Kk=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/doctypes/download/doctypes-1.1.0.tgz}
@@ -3739,7 +3726,6 @@ packages:
resolution: {integrity: sha1-vrvifhWu3B1cGLwmIN/JDyYHh8M=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/evtd/download/evtd-0.2.2.tgz}
name: evtd
version: 0.2.2
dev: false
registry.nlark.com/execa/5.1.1:
resolution: {integrity: sha1-+ArZy/Qpj3vR1MlVXCHpN0HEEd0=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/execa/download/execa-5.1.1.tgz?cache=0&sync_timestamp=1622875983744&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fexeca%2Fdownload%2Fexeca-5.1.1.tgz}
@@ -4363,14 +4349,12 @@ packages:
diff-sequences: registry.nlark.com/diff-sequences/26.6.2
jest-get-type: registry.nlark.com/jest-get-type/26.3.0
pretty-format: registry.nlark.com/pretty-format/26.6.2
dev: false
registry.nlark.com/jest-get-type/26.3.0:
resolution: {integrity: sha1-6X3Dw/U8K0Bsp6+u1Ek7HQmRmeA=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/jest-get-type/download/jest-get-type-26.3.0.tgz}
name: jest-get-type
version: 26.3.0
engines: {node: '>= 10.14.2'}
dev: false
registry.nlark.com/jiti/1.12.0:
resolution: {integrity: sha1-b24ZCPlCUHViZABpLwttkC2yYuQ=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/jiti/download/jiti-1.12.0.tgz?cache=0&sync_timestamp=1631530402093&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fjiti%2Fdownload%2Fjiti-1.12.0.tgz}
@@ -5086,7 +5070,6 @@ packages:
ansi-regex: registry.nlark.com/ansi-regex/5.0.0
ansi-styles: registry.nlark.com/ansi-styles/4.3.0
react-is: registry.nlark.com/react-is/17.0.2
dev: false
registry.nlark.com/promise/7.3.1:
resolution: {integrity: sha1-BktyYCsY+Q8pGSuLG8QY/9Hr078=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/promise/download/promise-7.3.1.tgz}
@@ -5228,7 +5211,6 @@ packages:
resolution: {integrity: sha1-5pHUqOnHiTZWVVOas3J2Kw77VPA=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/react-is/download/react-is-17.0.2.tgz}
name: react-is
version: 17.0.2
dev: false
registry.nlark.com/read-pkg/3.0.0:
resolution: {integrity: sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/read-pkg/download/read-pkg-3.0.0.tgz?cache=0&sync_timestamp=1628985520600&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fread-pkg%2Fdownload%2Fread-pkg-3.0.0.tgz}
@@ -5289,7 +5271,6 @@ packages:
resolution: {integrity: sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/resize-observer-polyfill/download/resize-observer-polyfill-1.5.1.tgz}
name: resize-observer-polyfill
version: 1.5.1
dev: false
registry.nlark.com/resolve-from/5.0.0:
resolution: {integrity: sha1-w1IlhD3493bfIcV1V7wIfp39/Gk=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/resolve-from/download/resolve-from-5.0.0.tgz}
@@ -5358,7 +5339,6 @@ packages:
version: 0.3.1
dependencies:
'@types/jest': registry.nlark.com/@types/jest/26.0.24
dev: false
registry.nlark.com/semver/6.3.0:
resolution: {integrity: sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/semver/download/semver-6.3.0.tgz?cache=0&sync_timestamp=1631500167672&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsemver%2Fdownload%2Fsemver-6.3.0.tgz}
@@ -5706,7 +5686,7 @@ packages:
hasBin: true
dev: true
registry.nlark.com/unplugin-icons/0.11.1_bb95034bcf609147e95709faffdd4405:
registry.nlark.com/unplugin-icons/0.11.1_4242227f15d365faebe5884deb26575d:
resolution: {integrity: sha1-nodRKlzdyx0RPsD6N+xtlR/IS8U=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/unplugin-icons/download/unplugin-icons-0.11.1.tgz}
id: registry.nlark.com/unplugin-icons/0.11.1
name: unplugin-icons
@@ -5728,7 +5708,7 @@ packages:
optional: true
dependencies:
'@antfu/utils': registry.nlark.com/@antfu/utils/0.3.0
'@iconify/json': registry.nlark.com/@iconify/json/1.1.403
'@iconify/json': registry.nlark.com/@iconify/json/1.1.404
'@iconify/json-tools': registry.nlark.com/@iconify/json-tools/1.0.10
'@vue/compiler-sfc': registry.nlark.com/@vue/compiler-sfc/3.2.12
has-pkg: registry.nlark.com/has-pkg/0.0.1
@@ -5811,7 +5791,6 @@ packages:
'@types/node': registry.nlark.com/@types/node/14.17.10
evtd: registry.nlark.com/evtd/0.2.2
vue: registry.nlark.com/vue/3.2.10
dev: false
registry.nlark.com/vfonts/0.1.0:
resolution: {integrity: sha1-wWrzfKBEsnJa5VVTBJKA775iIqk=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/vfonts/download/vfonts-0.1.0.tgz}
@@ -5887,7 +5866,6 @@ packages:
dependencies:
evtd: registry.nlark.com/evtd/0.2.2
vue: registry.nlark.com/vue/3.2.10
dev: false
registry.nlark.com/vscode-css-languageservice/5.1.5:
resolution: {integrity: sha1-QAsvY6T3PGD1sK/EjEeMGzJrJ8Y=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/vscode-css-languageservice/download/vscode-css-languageservice-5.1.5.tgz}
@@ -6047,9 +6025,6 @@ packages:
peerDependencies:
'@vue/composition-api': ^1.0.0-rc.1
vue: ^3.0.0-0 || ^2.6.0
peerDependenciesMeta:
'@vue/composition-api':
optional: true
dependencies:
vue: registry.nlark.com/vue/3.2.10
dev: false
@@ -6129,6 +6104,24 @@ packages:
vue: registry.nlark.com/vue/3.2.10
dev: false
registry.nlark.com/vueuc/0.4.10_vue@3.2.10:
resolution: {integrity: sha1-ria6dqCvFU+KE57zcYE1osat9nY=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/vueuc/download/vueuc-0.4.10.tgz}
id: registry.nlark.com/vueuc/0.4.10
name: vueuc
version: 0.4.10
peerDependencies:
'@css-render/vue3-ssr': ^0.15.3
vue: ^3.0.11
dependencies:
css-render: registry.nlark.com/css-render/0.15.6
evtd: registry.nlark.com/evtd/0.2.2
resize-observer-polyfill: registry.nlark.com/resize-observer-polyfill/1.5.1
seemly: registry.nlark.com/seemly/0.3.1
vdirs: registry.nlark.com/vdirs/0.1.4_vue@3.2.10
vooks: registry.nlark.com/vooks/0.2.8_vue@3.2.10
vue: registry.nlark.com/vue/3.2.10
dev: true
registry.nlark.com/webpack-virtual-modules/0.4.3:
resolution: {integrity: sha1-zVl8bVHVpey0c+6hmDpY+ooX3tk=, registry: https://registry.npm.taobao.org/, tarball: https://registry.nlark.com/webpack-virtual-modules/download/webpack-virtual-modules-0.4.3.tgz?cache=0&sync_timestamp=1620993523325&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fwebpack-virtual-modules%2Fdownload%2Fwebpack-virtual-modules-0.4.3.tgz}
name: webpack-virtual-modules