diff --git a/.husky/lintstagedrc.js b/.husky/lintstagedrc.js index 17f6821..08d8c9e 100644 --- a/.husky/lintstagedrc.js +++ b/.husky/lintstagedrc.js @@ -3,6 +3,6 @@ module.exports = { '{!(package)*.json,*.code-snippets,.!(browserslist)*rc}': ['prettier --write--parser json'], 'package.json': ['prettier --write'], '*.vue': ['eslint --fix', 'prettier --write', 'stylelint --fix'], - '*.{scss,less,styl,css,html}': ['stylelint --fix', 'prettier --write'], + '*.{scss,less,styl,html}': ['stylelint --fix', 'prettier --write'], '*.md': ['prettier --write'], }; diff --git a/build/vite/plugin/html.ts b/build/vite/plugin/html.ts index 2d776d6..dec546c 100644 --- a/build/vite/plugin/html.ts +++ b/build/vite/plugin/html.ts @@ -12,7 +12,7 @@ import { GLOB_CONFIG_FILE_NAME } from '../../constant'; export function configHtmlPlugin(env: ViteEnv, isBuild: boolean) { const { VITE_GLOB_APP_TITLE, VITE_PUBLIC_PATH } = env; - const path = VITE_PUBLIC_PATH?.endsWith('/') ? VITE_PUBLIC_PATH : `${VITE_PUBLIC_PATH}/`; + const path = VITE_PUBLIC_PATH.endsWith('/') ? VITE_PUBLIC_PATH : `${VITE_PUBLIC_PATH}/`; const getAppConfigSrc = () => { return `${path || '/'}${GLOB_CONFIG_FILE_NAME}?v=${pkg.version}-${new Date().getTime()}`; diff --git a/build/vite/plugin/visualizer.ts b/build/vite/plugin/visualizer.ts index 59a3b7e..75d4451 100644 --- a/build/vite/plugin/visualizer.ts +++ b/build/vite/plugin/visualizer.ts @@ -9,9 +9,7 @@ export function configVisualizerConfig() { return visualizer({ filename: './node_modules/.cache/visualizer/stats.html', open: true, - // @ts-ignore gzipSize: true, - // @ts-ignore brotliSize: true, }) as Plugin; } diff --git a/package.json b/package.json index bab261e..6f459b3 100644 --- a/package.json +++ b/package.json @@ -70,13 +70,12 @@ "@types/nprogress": "^0.2.0", "@types/qrcode": "^1.4.0", "@types/qs": "^6.9.6", - "@types/rollup-plugin-visualizer": "^2.6.0", "@types/sortablejs": "^1.10.6", "@typescript-eslint/eslint-plugin": "^4.20.0", "@typescript-eslint/parser": "^4.20.0", "@vitejs/plugin-legacy": "^1.3.2", "@vitejs/plugin-vue": "^1.2.1", - "@vitejs/plugin-vue-jsx": "^1.1.2", + "@vitejs/plugin-vue-jsx": "^1.1.3", "@vue/compiler-sfc": "3.0.10", "autoprefixer": "^10.2.5", "commitizen": "^4.2.3", @@ -100,7 +99,7 @@ "prettier": "^2.2.1", "pretty-quick": "^3.1.0", "rimraf": "^3.0.2", - "rollup-plugin-visualizer": "4.2.2", + "rollup-plugin-visualizer": "5.0.4", "stylelint": "^13.12.0", "stylelint-config-prettier": "^8.0.2", "stylelint-config-standard": "^21.0.0", @@ -111,18 +110,19 @@ "vite-plugin-compression": "^0.2.3", "vite-plugin-html": "^2.0.3", "vite-plugin-imagemin": "^0.2.9", - "vite-plugin-mock": "^2.4.1", + "vite-plugin-mock": "^2.4.2", "vite-plugin-purge-icons": "^0.7.0", "vite-plugin-pwa": "^0.6.4", "vite-plugin-style-import": "^0.9.1", "vite-plugin-svg-icons": "^0.4.0", "vite-plugin-theme": "^0.5.0", - "vite-plugin-windicss": "0.10.4", + "vite-plugin-windicss": "0.11.4", "vue-eslint-parser": "^7.6.0" }, "resolutions": { "//": "Used to install imagemin dependencies, because imagemin may not be installed in China.If it is abroad, you can delete it", - "bin-wrapper": "npm:bin-wrapper-china" + "bin-wrapper": "npm:bin-wrapper-china", + "rollup": "^2.44.0" }, "repository": { "type": "git", diff --git a/src/main.ts b/src/main.ts index b31c78c..aa5bf54 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,14 +1,6 @@ import '/@/design/index.less'; import '@virtual/windi.css'; -// Do not introduce` on-demand in local development? -// In the local development for on-demand introduction, the number of browser requests will increase by about 20%. -// Which may slow down the browser refresh. -// Therefore, all are introduced in local development, and only introduced on demand in the production environment -if (import.meta.env.DEV) { - import('ant-design-vue/dist/antd.less'); -} - import { createApp } from 'vue'; import App from './App.vue'; @@ -25,6 +17,14 @@ import '/@/router/guard'; // Register icon Sprite import 'vite-plugin-svg-icons/register'; +// Do not introduce` on-demand in local development? +// In the local development for on-demand introduction, the number of browser requests will increase by about 20%. +// Which may slow down the browser refresh. +// Therefore, all are introduced in local development, and only introduced on demand in the production environment +if (import.meta.env.DEV) { + import('ant-design-vue/dist/antd.less'); +} + (async () => { const app = createApp(App); // Register global components diff --git a/src/views/dashboard/analysis/components/GrowCard.vue b/src/views/dashboard/analysis/components/GrowCard.vue index 760ff7d..5c1c5de 100644 --- a/src/views/dashboard/analysis/components/GrowCard.vue +++ b/src/views/dashboard/analysis/components/GrowCard.vue @@ -5,7 +5,7 @@ size="small" :loading="$attrs.loading" :title="item.title" - class="md:w-1/4 w-full md:mt-0 !mt-4" + class="md:w-1/4 w-full !md:mt-0 !mt-4" :class="[index + 1 < 4 && '!md:mr-4']" :canExpan="false" > diff --git a/src/views/sys/about/index.vue b/src/views/sys/about/index.vue index 8573729..4031852 100644 --- a/src/views/sys/about/index.vue +++ b/src/views/sys/about/index.vue @@ -9,9 +9,9 @@ </span> </div> </template> - <Description @register="infoRegister" /> - <Description @register="register" class="my-4" /> - <Description @register="registerDev" /> + <Description @register="infoRegister" class="enter-y" /> + <Description @register="register" class="my-4 enter-y" /> + <Description @register="registerDev" class="enter-y" /> </PageWrapper> </template> <script lang="ts"> @@ -32,8 +32,10 @@ const schema: DescItem[] = []; const devSchema: DescItem[] = []; + const commonTagRender = (color: string) => (curVal) => h(Tag, { color }, () => curVal); const commonLinkRender = (text: string) => (href) => h('a', { href, target: '_blank' }, text); + const infoSchema: DescItem[] = [ { label: '版本', @@ -77,18 +79,21 @@ Object.keys(devDependencies).forEach((key) => { devSchema.push({ field: key, label: key }); }); + const [register] = useDescription({ title: '生产环境依赖', data: dependencies, schema: schema, column: 3, }); + const [registerDev] = useDescription({ title: '开发环境依赖', data: devDependencies, schema: devSchema, column: 3, }); + const [infoRegister] = useDescription({ title: '项目信息', data: infoData, diff --git a/src/views/sys/redirect/index.vue b/src/views/sys/redirect/index.vue index 8654dc9..706533b 100644 --- a/src/views/sys/redirect/index.vue +++ b/src/views/sys/redirect/index.vue @@ -3,8 +3,8 @@ </template> <script lang="ts"> import { defineComponent, unref } from 'vue'; - import { useRouter } from 'vue-router'; + export default defineComponent({ name: 'Redirect', setup() { diff --git a/yarn.lock b/yarn.lock index f006cf3..1099bd0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -292,12 +292,7 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.12.0", "@babel/parser@^7.12.13", "@babel/parser@^7.13.0", "@babel/parser@^7.13.10": - version "7.13.11" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.11.tgz#f93ebfc99d21c1772afbbaa153f47e7ce2f50b88" - integrity sha512-PhuoqeHoO9fc4ffMEVk4qb/w/s2iOSWohvbHxLtxui0eBg3Lg5gN1U8wp1V1u61hOWkPQJJyJzGH6Y+grwkq8Q== - -"@babel/parser@^7.13.9": +"@babel/parser@^7.1.0", "@babel/parser@^7.12.0", "@babel/parser@^7.12.13", "@babel/parser@^7.13.0", "@babel/parser@^7.13.10", "@babel/parser@^7.13.9": version "7.13.13" resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.13.13.tgz#42f03862f4aed50461e543270916b47dd501f0df" integrity sha512-OhsyMrqygfk5v8HmWwOzlYjJrtLaFhF34MrfG/Z73DgYCI6ojNUTUp2TYbtnjo8PegeJp12eamsNettCQjKjVw== @@ -1745,14 +1740,6 @@ dependencies: "@types/node" "*" -"@types/rollup-plugin-visualizer@^2.6.0": - version "2.6.0" - resolved "https://registry.npmjs.org/@types/rollup-plugin-visualizer/-/rollup-plugin-visualizer-2.6.0.tgz#e5953994362b8d89e5fef0ea0c00c6cd316eac2e" - integrity sha512-mkKdL1Dst0w48gHMdS5dcVrJfRRFdxIVeesdUXUlxobQD6hqV5C6v0pUHgsDQrObWewRmHJdTNKNT6oe6Pejhw== - dependencies: - "@types/node" "*" - rollup "^0.63.4" - "@types/sortablejs@^1.10.6": version "1.10.6" resolved "https://registry.npmjs.org/@types/sortablejs/-/sortablejs-1.10.6.tgz#98725ae08f1dfe28b8da0fdf302c417f5ff043c0" @@ -1797,21 +1784,7 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^4.16.1": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.18.0.tgz#50fbce93211b5b690895d20ebec6fe8db48af1f6" - integrity sha512-Lzkc/2+7EoH7+NjIWLS2lVuKKqbEmJhtXe3rmfA8cyiKnZm3IfLf51irnBcmow8Q/AptVV0XBZmBJKuUJTe6cQ== - dependencies: - "@typescript-eslint/experimental-utils" "4.18.0" - "@typescript-eslint/scope-manager" "4.18.0" - debug "^4.1.1" - functional-red-black-tree "^1.0.1" - lodash "^4.17.15" - regexpp "^3.0.0" - semver "^7.3.2" - tsutils "^3.17.1" - -"@typescript-eslint/eslint-plugin@^4.20.0": +"@typescript-eslint/eslint-plugin@^4.16.1", "@typescript-eslint/eslint-plugin@^4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.20.0.tgz#9d8794bd99aad9153092ad13c96164e3082e9a92" integrity sha512-sw+3HO5aehYqn5w177z2D82ZQlqHCwcKSMboueo7oE4KU9QiC0SAgfS/D4z9xXvpTc8Bt41Raa9fBR8T2tIhoQ== @@ -1825,19 +1798,7 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/experimental-utils@4.18.0", "@typescript-eslint/experimental-utils@^4.0.1": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.18.0.tgz#ed6c955b940334132b17100d2917449b99a91314" - integrity sha512-92h723Kblt9JcT2RRY3QS2xefFKar4ZQFVs3GityOKWQYgtajxt/tuXIzL7sVCUlM1hgreiV5gkGYyBpdOwO6A== - dependencies: - "@types/json-schema" "^7.0.3" - "@typescript-eslint/scope-manager" "4.18.0" - "@typescript-eslint/types" "4.18.0" - "@typescript-eslint/typescript-estree" "4.18.0" - eslint-scope "^5.0.0" - eslint-utils "^2.0.0" - -"@typescript-eslint/experimental-utils@4.20.0": +"@typescript-eslint/experimental-utils@4.20.0", "@typescript-eslint/experimental-utils@^4.0.1": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.20.0.tgz#a8ab2d7b61924f99042b7d77372996d5f41dc44b" integrity sha512-sQNlf6rjLq2yB5lELl3gOE7OuoA/6IVXJUJ+Vs7emrQMva14CkOwyQwD7CW+TkmOJ4Q/YGmoDLmbfFrpGmbKng== @@ -1849,17 +1810,7 @@ eslint-scope "^5.0.0" eslint-utils "^2.0.0" -"@typescript-eslint/parser@^4.16.1": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.18.0.tgz#a211edb14a69fc5177054bec04c95b185b4dde21" - integrity sha512-W3z5S0ZbecwX3PhJEAnq4mnjK5JJXvXUDBYIYGoweCyWyuvAKfGHvzmpUzgB5L4cRBb+cTu9U/ro66dx7dIimA== - dependencies: - "@typescript-eslint/scope-manager" "4.18.0" - "@typescript-eslint/types" "4.18.0" - "@typescript-eslint/typescript-estree" "4.18.0" - debug "^4.1.1" - -"@typescript-eslint/parser@^4.20.0": +"@typescript-eslint/parser@^4.16.1", "@typescript-eslint/parser@^4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.20.0.tgz#8dd403c8b4258b99194972d9799e201b8d083bdd" integrity sha512-m6vDtgL9EABdjMtKVw5rr6DdeMCH3OA1vFb0dAyuZSa3e5yw1YRzlwFnm9knma9Lz6b2GPvoNSa8vOXrqsaglA== @@ -1869,14 +1820,6 @@ "@typescript-eslint/typescript-estree" "4.20.0" debug "^4.1.1" -"@typescript-eslint/scope-manager@4.18.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.18.0.tgz#d75b55234c35d2ff6ac945758d6d9e53be84a427" - integrity sha512-olX4yN6rvHR2eyFOcb6E4vmhDPsfdMyfQ3qR+oQNkAv8emKKlfxTWUXU5Mqxs2Fwe3Pf1BoPvrwZtwngxDzYzQ== - dependencies: - "@typescript-eslint/types" "4.18.0" - "@typescript-eslint/visitor-keys" "4.18.0" - "@typescript-eslint/scope-manager@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.20.0.tgz#953ecbf3b00845ece7be66246608be9d126d05ca" @@ -1885,29 +1828,11 @@ "@typescript-eslint/types" "4.20.0" "@typescript-eslint/visitor-keys" "4.20.0" -"@typescript-eslint/types@4.18.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.18.0.tgz#bebe323f81f2a7e2e320fac9415e60856267584a" - integrity sha512-/BRociARpj5E+9yQ7cwCF/SNOWwXJ3qhjurMuK2hIFUbr9vTuDeu476Zpu+ptxY2kSxUHDGLLKy+qGq2sOg37A== - "@typescript-eslint/types@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.20.0.tgz#c6cf5ef3c9b1c8f699a9bbdafb7a1da1ca781225" integrity sha512-cYY+1PIjei1nk49JAPnH1VEnu7OYdWRdJhYI5wiKOUMhLTG1qsx5cQxCUTuwWCmQoyriadz3Ni8HZmGSofeC+w== -"@typescript-eslint/typescript-estree@4.18.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.18.0.tgz#756d3e61da8c16ab99185532c44872f4cd5538cb" - integrity sha512-wt4xvF6vvJI7epz+rEqxmoNQ4ZADArGQO9gDU+cM0U5fdVv7N+IAuVoVAoZSOZxzGHBfvE3XQMLdy+scsqFfeg== - dependencies: - "@typescript-eslint/types" "4.18.0" - "@typescript-eslint/visitor-keys" "4.18.0" - debug "^4.1.1" - globby "^11.0.1" - is-glob "^4.0.1" - semver "^7.3.2" - tsutils "^3.17.1" - "@typescript-eslint/typescript-estree@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.20.0.tgz#8b3b08f85f18a8da5d88f65cb400f013e88ab7be" @@ -1921,14 +1846,6 @@ semver "^7.3.2" tsutils "^3.17.1" -"@typescript-eslint/visitor-keys@4.18.0": - version "4.18.0" - resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.18.0.tgz#4e6fe2a175ee33418318a029610845a81e2ff7b6" - integrity sha512-Q9t90JCvfYaN0OfFUgaLqByOfz8yPeTAdotn/XYNm5q9eHax90gzdb+RJ6E9T5s97Kv/UHWKERTmqA0jTKAEHw== - dependencies: - "@typescript-eslint/types" "4.18.0" - eslint-visitor-keys "^2.0.0" - "@typescript-eslint/visitor-keys@4.20.0": version "4.20.0" resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.20.0.tgz#1e84db034da13f208325e6bfc995c3b75f7dbd62" @@ -1948,10 +1865,10 @@ regenerator-runtime "^0.13.7" systemjs "^6.8.3" -"@vitejs/plugin-vue-jsx@^1.1.2": - version "1.1.2" - resolved "https://registry.npmjs.org/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-1.1.2.tgz#d240d8d73c2f8e34f32ade6d06e709a959d1f2a1" - integrity sha512-3m+0amZwkn0g/D3OqqTsG2qe82LvIaQYqAi3Klpx2vEdaBU5pgok5Qlp6eMGr6QQRDLa7HAKZbPCVV5yAPfOpg== +"@vitejs/plugin-vue-jsx@^1.1.3": + version "1.1.3" + resolved "https://registry.npmjs.org/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-1.1.3.tgz#426c68f8a367a603acb82fca6e2b12506ba9fc8e" + integrity sha512-R9wsuNDEKTDG5oXJaFictrw9E5uokniGzi6tvyO5Od02tE4TnOPfgY2BeHKB4f4ldgiZRMhdUhNEsgjoWnct6A== dependencies: "@babel/core" "^7.12.10" "@babel/plugin-syntax-import-meta" "^7.10.4" @@ -1995,17 +1912,6 @@ estree-walker "^2.0.1" source-map "^0.6.1" -"@vue/compiler-core@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.0.7.tgz#421782a4c67cc3f2b7c30457ef446d74f8524f74" - integrity sha512-JFohgBXoyUc3mdeI2WxlhjQZ5fakfemJkZHX8Gu/nFbEg3+lKVUZmNKWmmnp9aOzJQZKoj77LjmFxiP+P+7lMQ== - dependencies: - "@babel/parser" "^7.12.0" - "@babel/types" "^7.12.0" - "@vue/shared" "3.0.7" - estree-walker "^2.0.1" - source-map "^0.6.1" - "@vue/compiler-dom@3.0.10": version "3.0.10" resolved "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.0.10.tgz#59d3597498e7d4b0b92f3886a823f99d5b08f1fe" @@ -2014,14 +1920,6 @@ "@vue/compiler-core" "3.0.10" "@vue/shared" "3.0.10" -"@vue/compiler-dom@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.0.7.tgz#54d2e12fb9a7aff53abd19dac2c2679533f0c919" - integrity sha512-VnIH9EbWQm/Tkcp+8dCaNVsVvhm/vxCrIKWRkXY9215hTqOqQOvejT8IMjd2kc++nIsYMsdQk6H9qqBvoLe/Cw== - dependencies: - "@vue/compiler-core" "3.0.7" - "@vue/shared" "3.0.7" - "@vue/compiler-sfc@3.0.10": version "3.0.10" resolved "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.0.10.tgz#de6bc9be7f5ab1d944048a9be04c72c3571d4321" @@ -2064,13 +1962,6 @@ dependencies: "@vue/shared" "3.0.10" -"@vue/reactivity@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.0.7.tgz#e6ccc7bef7fc10b0972e4d974bad71679d3b26ad" - integrity sha512-FotWcNNaKhqpFZrdgsUOZ1enlJ5lhTt01CNTtLSyK7jYFgZBTuw8vKsEutZKDYZ1XKotOfoeO8N3pZQqmM6Etw== - dependencies: - "@vue/shared" "3.0.7" - "@vue/runtime-core@3.0.10": version "3.0.10" resolved "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.0.10.tgz#cb8730c0ec86ea5c1cfa701facc0a97bf59b15a2" @@ -2079,14 +1970,6 @@ "@vue/reactivity" "3.0.10" "@vue/shared" "3.0.10" -"@vue/runtime-core@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.0.7.tgz#d44c0b0a57d7e392912a87362a4430ccf446ecea" - integrity sha512-DBAZAwVvdmMXuyd6/9qqj/kYr/GaLTmn1L2/QLxLwP+UfhIboiTSBc/tUUb8MRk7Bb98GzNeAWkkT6AfooS3dQ== - dependencies: - "@vue/reactivity" "3.0.7" - "@vue/shared" "3.0.7" - "@vue/runtime-dom@3.0.10": version "3.0.10" resolved "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.0.10.tgz#80c6ee28caeabf74f31357d2c64d177945bd8a5f" @@ -2096,25 +1979,11 @@ "@vue/shared" "3.0.10" csstype "^2.6.8" -"@vue/runtime-dom@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.0.7.tgz#b70668d729020bc4ad608c20367223f259576ba6" - integrity sha512-Oij4ruOtnpQpCj+/Q3JPzgpTJ1Q7+N67pA53A8KVITEtxfvKL46NN6dhAZ5NGqwX6RWZpYqWQNewITeF0pHr8g== - dependencies: - "@vue/runtime-core" "3.0.7" - "@vue/shared" "3.0.7" - csstype "^2.6.8" - "@vue/shared@3.0.10": version "3.0.10" resolved "https://registry.npmjs.org/@vue/shared/-/shared-3.0.10.tgz#5476d5615d01bf339c65c2e804f5909bbc27844a" integrity sha512-p8GJ+bGpEGiEHICwcCH/EtJnkZQllrOfm1J2J+Ep0ydMte25bPnArgrY/h2Tn1LKqqR3LXyQlOSYY6gJgiW2LQ== -"@vue/shared@3.0.7": - version "3.0.7" - resolved "https://registry.npmjs.org/@vue/shared/-/shared-3.0.7.tgz#96d52988efc07444c108c7c6803ba7cc93e40045" - integrity sha512-dn5FyfSc4ky424jH4FntiHno7Ss5yLkqKNmM/NXwANRnlkmqu74pnGetexDFVG5phMk9/FhwovUZCWGxsotVKg== - "@vueuse/core@^4.6.3": version "4.6.3" resolved "https://registry.npmjs.org/@vueuse/core/-/core-4.6.3.tgz#9684b602cb0d08583ee9151c52760c4db1707da2" @@ -2130,10 +1999,10 @@ dependencies: vue-demi latest -"@windicss/plugin-utils@0.10.4": - version "0.10.4" - resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.10.4.tgz#ed9163b09e030f7358cc4742b1f2b6c92d084d5d" - integrity sha512-jQu69qzA56Lv18OK8U4mUTDV17st4EdPawQuaRG2VNK+ZEQWYsMNnqGxhzDTl/NhWTGCcTb3D6mlFPNo0QDOFg== +"@windicss/plugin-utils@0.11.4": + version "0.11.4" + resolved "https://registry.npmjs.org/@windicss/plugin-utils/-/plugin-utils-0.11.4.tgz#0c60515fccec2149cd0286e9b433ec3a6feb425b" + integrity sha512-WYdz/0hdX5rgdKR+72dWOyPX1IevVGH0qPZvRi5MBgEgB1MDSy2K2lah053KzyXCYgprGpmtrPjnt0ENejsOPg== dependencies: debug "^4.3.2" fast-glob "^3.2.5" @@ -2141,7 +2010,7 @@ micromatch "^4.0.2" pirates "^4.0.1" sucrase "^3.17.1" - windicss "^2.5.7" + windicss "^2.5.9" "@zxcvbn-ts/core@^0.3.0": version "0.3.0" @@ -3823,14 +3692,7 @@ debug@^3.1.1, debug@^3.2.6: dependencies: ms "^2.1.1" -debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0, debug@^4.3.1: - version "4.3.1" - resolved "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee" - integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== - dependencies: - ms "2.1.2" - -debug@^4.3.2: +debug@^4.0.0, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.2.0, debug@^4.3.1, debug@^4.3.2: version "4.3.2" resolved "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== @@ -4313,12 +4175,7 @@ esbuild@^0.11.2: resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.11.2.tgz#3b995e107f2054d9090402b98a3b79ceffd05eb6" integrity sha512-8d5FCQrR+juXC2u9zjTQ3+IYiuFuaWyKYwmApFJLquTrYNbk36H/+MkRQeTuOJg7IjUchRX2Ulwo1zRYXZ1pUg== -esbuild@^0.9.2: - version "0.9.4" - resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.9.4.tgz#4480ffc4c1e5d5bb25958f889b5de0279bfb2d6f" - integrity sha512-bF6laCiYE5+iAfZsX+v6Lwvi5QbvKN3tThxDIR2WLyLYzTzNn0ijdpqkvTVsafmRZjic2Nq1nkSf5RSWySDTjA== - -esbuild@^0.9.3: +esbuild@^0.9.2, esbuild@^0.9.3: version "0.9.7" resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.9.7.tgz#ea0d639cbe4b88ec25fbed4d6ff00c8d788ef70b" integrity sha512-VtUf6aQ89VTmMLKrWHYG50uByMF4JQlVysb8dmg6cOgW8JnFCipmz7p+HNBl+RR3LLCuBxFGVauAe2wfnF9bLg== @@ -4414,50 +4271,7 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== -eslint@^7.21.0: - version "7.22.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-7.22.0.tgz#07ecc61052fec63661a2cab6bd507127c07adc6f" - integrity sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg== - dependencies: - "@babel/code-frame" "7.12.11" - "@eslint/eslintrc" "^0.4.0" - ajv "^6.10.0" - chalk "^4.0.0" - cross-spawn "^7.0.2" - debug "^4.0.1" - doctrine "^3.0.0" - enquirer "^2.3.5" - eslint-scope "^5.1.1" - eslint-utils "^2.1.0" - eslint-visitor-keys "^2.0.0" - espree "^7.3.1" - esquery "^1.4.0" - esutils "^2.0.2" - file-entry-cache "^6.0.1" - functional-red-black-tree "^1.0.1" - glob-parent "^5.0.0" - globals "^13.6.0" - ignore "^4.0.6" - import-fresh "^3.0.0" - imurmurhash "^0.1.4" - is-glob "^4.0.0" - js-yaml "^3.13.1" - json-stable-stringify-without-jsonify "^1.0.1" - levn "^0.4.1" - lodash "^4.17.21" - minimatch "^3.0.4" - natural-compare "^1.4.0" - optionator "^0.9.1" - progress "^2.0.0" - regexpp "^3.1.0" - semver "^7.2.1" - strip-ansi "^6.0.0" - strip-json-comments "^3.1.0" - table "^6.0.4" - text-table "^0.2.0" - v8-compile-cache "^2.0.3" - -eslint@^7.23.0: +eslint@^7.21.0, eslint@^7.23.0: version "7.23.0" resolved "https://registry.npmjs.org/eslint/-/eslint-7.23.0.tgz#8d029d252f6e8cf45894b4bee08f5493f8e94325" integrity sha512-kqvNVbdkjzpFy0XOszNwjkKzZ+6TcwCQ/h+ozlcIWwaimBBuhlQ4nN6kbiM2L+OjDcznkTJxzYfRFH92sx4a0Q== @@ -7656,7 +7470,7 @@ mz@^2.7.0: object-assign "^4.0.1" thenify-all "^1.0.0" -nanoid@^3.1.20, nanoid@^3.1.22: +nanoid@^3.1.22: version "3.1.22" resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.1.22.tgz#b35f8fb7d151990a8aebd5aa5015c03cf726f844" integrity sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ== @@ -8557,16 +8371,7 @@ postcss@^7.0.0, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.2 source-map "^0.6.1" supports-color "^6.1.0" -postcss@^8.1.10, postcss@^8.2.1: - version "8.2.8" - resolved "https://registry.npmjs.org/postcss/-/postcss-8.2.8.tgz#0b90f9382efda424c4f0f69a2ead6f6830d08ece" - integrity sha512-1F0Xb2T21xET7oQV9eKuctbM9S7BC0fetoHCc4H13z0PT6haiRLP4T0ZY4XWh7iLP0usgqykT6p9B2RtOf4FPw== - dependencies: - colorette "^1.2.2" - nanoid "^3.1.20" - source-map "^0.6.1" - -postcss@^8.2.9: +postcss@^8.1.10, postcss@^8.2.1, postcss@^8.2.9: version "8.2.9" resolved "https://registry.npmjs.org/postcss/-/postcss-8.2.9.tgz#fd95ff37b5cee55c409b3fdd237296ab4096fba3" integrity sha512-b+TmuIL4jGtCHtoLi+G/PisuIl9avxs8IZMSmlABRwNz5RLUUACrC+ws81dcomz1nRezm5YPdXiMEzBEKgYn+Q== @@ -9200,28 +9005,20 @@ rollup-plugin-terser@^7.0.0: serialize-javascript "^4.0.0" terser "^5.0.0" -rollup-plugin-visualizer@4.2.2: - version "4.2.2" - resolved "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-4.2.2.tgz#edeb8b3fc6f49b3c95f6cc668f4eba57c6112099" - integrity sha512-10/TsugsaQL5rdynl0lrklBngTtkRBESZdxUJy+3fN+xKqNdg5cr7JQU1OoPx4p5mhQ+nspa6EvX3qc8SsBvnA== +rollup-plugin-visualizer@5.0.4: + version "5.0.4" + resolved "https://registry.npmjs.org/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.0.4.tgz#fd4c104e310033412aa8d99c811e73a7710a2c11" + integrity sha512-K/pFyP70k5ZcSIMH8kSWQOgT2kY3QaoMSPOG4onE8p2FBcUM/klCb7uIZMiocrl8DchCpq+mvDHOlLCx/R+Edg== dependencies: nanoid "^3.1.22" open "^7.4.2" source-map "^0.7.3" yargs "^16.2.0" -rollup@^0.63.4: - version "0.63.5" - resolved "https://registry.npmjs.org/rollup/-/rollup-0.63.5.tgz#5543eecac9a1b83b7e1be598b5be84c9c0a089db" - integrity sha512-dFf8LpUNzIj3oE0vCvobX6rqOzHzLBoblyFp+3znPbjiSmSvOoK2kMKx+Fv9jYduG1rvcCfCveSgEaQHjWRF6g== - dependencies: - "@types/estree" "0.0.39" - "@types/node" "*" - -rollup@^2.25.0, rollup@^2.38.5: - version "2.41.5" - resolved "https://registry.npmjs.org/rollup/-/rollup-2.41.5.tgz#e79cef8cc5c121612528f590319639b1f32da2d7" - integrity sha512-uG+WNNxhOYyeuO7oRt98GA2CNVRgQ67zca75UQVMPzMrLG9FUKzTCgvYVWhtB18TNbV7Uqxo97h+wErAnpFNJw== +rollup@^2.25.0, rollup@^2.38.5, rollup@^2.44.0: + version "2.44.0" + resolved "https://registry.npmjs.org/rollup/-/rollup-2.44.0.tgz#8da324d1c4fd12beef9ae6e12f4068265b6d95eb" + integrity sha512-rGSF4pLwvuaH/x4nAS+zP6UNn5YUDWf/TeEU5IoXSZKBbKRNTCI3qMnYXKZgrC0D2KzS2baiOZt1OlqhMu5rnQ== optionalDependencies: fsevents "~2.3.1" @@ -10881,10 +10678,10 @@ vite-plugin-imagemin@^0.2.9: imagemin-svgo "^8.0.0" imagemin-webp "^6.0.0" -vite-plugin-mock@^2.4.1: - version "2.4.1" - resolved "https://registry.npmjs.org/vite-plugin-mock/-/vite-plugin-mock-2.4.1.tgz#f1095068a3ab9c7ce07634ce392c7bdb0e196a45" - integrity sha512-HKHLwzje9ubo7/nKuGTQkvBnbHMj6ReAYxTXM/6QTp2p4oyE4kLNSMinJu9YvR7xmlcxlfWEpz5qMhY7yY+Ctg== +vite-plugin-mock@^2.4.2: + version "2.4.2" + resolved "https://registry.npmjs.org/vite-plugin-mock/-/vite-plugin-mock-2.4.2.tgz#1777627debbea0b34a9574222614a30574fbd8c3" + integrity sha512-dug7ytkGl1txtG+qHXQkCSjUOGf01As9mVmRIek64SSJqBpH/Vwj71VTH3UxErDziWclUcQGEoRJWAv20MEeAg== dependencies: "@rollup/plugin-node-resolve" "^11.2.1" "@types/mockjs" "^1.0.3" @@ -10969,15 +10766,15 @@ vite-plugin-theme@^0.5.0: tinycolor2 "^1.4.2" ts-jest "^26.5.3" -vite-plugin-windicss@0.10.4: - version "0.10.4" - resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.10.4.tgz#e93577111ea0a55befbe4e2aa2e596f55f6b74b2" - integrity sha512-P7alH2dGGw3OTgjs9yZG2w0i+o1HKD8PChwhm2ftP+lLCe1xDL3LReheuRil9p2xPYzrVouER2YTbIdLUEThrQ== +vite-plugin-windicss@0.11.4: + version "0.11.4" + resolved "https://registry.npmjs.org/vite-plugin-windicss/-/vite-plugin-windicss-0.11.4.tgz#cde87eba7be66ef1e29f14f2896a995d9430995e" + integrity sha512-xGRaeXN6bR6QQceGcoIxfJCPvy+wCWR0ymHdjrYQr19LInEkL0lzvJwQkj51t5T8+56Xc7XsvSMb6HbJ1RERqA== dependencies: - "@windicss/plugin-utils" "0.10.4" + "@windicss/plugin-utils" "0.11.4" chalk "^4.1.0" debug "^4.3.2" - windicss "^2.5.7" + windicss "^2.5.9" vite@2.1.5: version "2.1.5" @@ -11029,7 +10826,7 @@ vue-types@^3.0.0, vue-types@^3.0.2: dependencies: is-plain-object "3.0.1" -vue@3.0.10: +vue@3.0.10, vue@^3.0.0: version "3.0.10" resolved "https://registry.npmjs.org/vue/-/vue-3.0.10.tgz#b5d2801c6ac0e756c850ad7a8f9a78cbccbad02a" integrity sha512-6arZ722uqIArSNUU94aqx0Pq0IMHFqYZuJ+U+q9HGdZZu11VFpyFP/L/hakijGFKp56Jr0yxJdWbDiJGWPxwww== @@ -11038,15 +10835,6 @@ vue@3.0.10: "@vue/runtime-dom" "3.0.10" "@vue/shared" "3.0.10" -vue@^3.0.0: - version "3.0.7" - resolved "https://registry.npmjs.org/vue/-/vue-3.0.7.tgz#8bcff51f8be570f9e4ce8cc5f52e2ab0fe3c74a1" - integrity sha512-8h4TikD+JabbMK9aRlBO4laG0AtNHRPHynxYgWZ9sq1YUPfzynd9Jeeb27XNyZytC7aCQRX9xe1+TQJuc181Tw== - dependencies: - "@vue/compiler-dom" "3.0.7" - "@vue/runtime-dom" "3.0.7" - "@vue/shared" "3.0.7" - vuex-module-decorators@^1.0.1: version "1.0.1" resolved "https://registry.npmjs.org/vuex-module-decorators/-/vuex-module-decorators-1.0.1.tgz#d34dafb5428a3636f1c26d3d014c15fc9659ccd0" @@ -11160,10 +10948,10 @@ which@^2.0.1, which@^2.0.2: dependencies: isexe "^2.0.0" -windicss@^2.5.7: - version "2.5.8" - resolved "https://registry.npmjs.org/windicss/-/windicss-2.5.8.tgz#254980044de3031276062b90cfce53c13ee489bf" - integrity sha512-zHkozdIqv1YTIGHBOHeFGsuZVTN5yAMz6FW5Bp8im9JZxSRZLOLKdJB0K75SL13iLHKXHrC1ukwJjjL8CohrUw== +windicss@^2.5.9: + version "2.5.9" + resolved "https://registry.npmjs.org/windicss/-/windicss-2.5.9.tgz#167811594e1d791839c58f2a97762f114499b1ca" + integrity sha512-nldl2eVxK2qLwYLhh1/+fnvT8lhxckQp8cK+Gd8nPAjJOnuvWogNiQZ/9h1jTMAkYWxWUrxT5mhP3F0Klxa99Q== wmf@~1.0.1: version "1.0.2"