commit 3e2aa46ea117564746d94ec8ae00991161a93da9 Author: funjia <13429193897@163.com> Date: Thu Mar 27 19:37:24 2025 +0800 feat: first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..54f07af --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e432516 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# Vue 3 + TypeScript + Vite + +This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 ` + + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..e34270a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3459 @@ +{ + "name": "box-admin", + "version": "0.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "box-admin", + "version": "0.0.0", + "dependencies": { + "@codemirror/lang-javascript": "^6.1.7", + "@kousum/vue3-window": "^0.0.3", + "@types/axios": "^0.14.0", + "@types/js-cookie": "^3.0.1", + "axios": "^0.26.1", + "codemirror": "^6.0.1", + "dayjs": "^1.10.7", + "element-plus": "^2.1.10", + "js-cookie": "^3.0.1", + "lodash-es": "^4.17.21", + "marsLib": "file:./lib/marsLib", + "md5": "^2.3.0", + "pinia": "^2.0.13", + "vue": "^3.2.25", + "vue-codemirror": "^6.1.1", + "vue-cropperjs": "^5.0.0", + "vue-router": "^4.0.14" + }, + "devDependencies": { + "@types/lodash-es": "^4.17.6", + "@types/node": "^17.0.25", + "@vitejs/plugin-vue": "^2.3.1", + "reflect-metadata": "^0.1.13", + "sass": "^1.50.1", + "typescript": "^4.5.4", + "unplugin-auto-import": "^0.7.1", + "unplugin-element-plus": "^0.4.0", + "unplugin-vue-components": "^0.19.3", + "vite": "^2.9.5", + "vue-tsc": "^0.34.7" + } + }, + "lib/marsLib": { + "name": "marslib", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "dayjs": "^1.10.7" + }, + "devDependencies": { + "@types/chai": "^4.3.0", + "@types/lodash": "^4.14.178", + "@types/mocha": "^9.1.0", + "chai": "^4.3.6", + "lodash": "^4.17.21", + "mocha": "^9.2.0", + "ts-node": "^10.5.0", + "typescript": "^4.5.5" + } + }, + "lib/marsLib/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "lib/marsLib/node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "lib/marsLib/node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "lib/marsLib/node_modules/minimatch": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", + "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": ">=10" + } + }, + "lib/marsLib/node_modules/mocha": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", + "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.3", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "growl": "1.10.5", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "4.2.1", + "ms": "2.1.3", + "nanoid": "3.3.1", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "which": "2.0.2", + "workerpool": "6.2.0", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "lib/marsLib/node_modules/mocha/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "lib/marsLib/node_modules/nanoid": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", + "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", + "dev": true, + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/@antfu/utils": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@antfu/utils/-/utils-0.5.2.tgz", + "integrity": "sha512-CQkeV+oJxUazwjlHD0/3ZD08QWKuGQkhnrKo3e6ly5pd48VUpXbb77q0xMU4+vc2CkJnDS02Eq/M9ugyX20XZA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.24.8", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", + "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.24.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", + "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", + "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.25.2" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/runtime": { + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.0.tgz", + "integrity": "sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", + "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.24.8", + "@babel/helper-validator-identifier": "^7.24.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@codemirror/autocomplete": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/@codemirror/autocomplete/-/autocomplete-6.18.0.tgz", + "integrity": "sha512-5DbOvBbY4qW5l57cjDsmmpDh3/TeK1vXfTHa+BUMrRzdWdcxKZ4U4V7vQaTtOpApNU4kLS4FQ6cINtLg245LXA==", + "license": "MIT", + "dependencies": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.17.0", + "@lezer/common": "^1.0.0" + }, + "peerDependencies": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "@lezer/common": "^1.0.0" + } + }, + "node_modules/@codemirror/commands": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/@codemirror/commands/-/commands-6.6.0.tgz", + "integrity": "sha512-qnY+b7j1UNcTS31Eenuc/5YJB6gQOzkUoNmJQc0rznwqSRpeaWWpjkWy2C/MPTcePpsKJEM26hXrOXl1+nceXg==", + "license": "MIT", + "dependencies": { + "@codemirror/language": "^6.0.0", + "@codemirror/state": "^6.4.0", + "@codemirror/view": "^6.27.0", + "@lezer/common": "^1.1.0" + } + }, + "node_modules/@codemirror/lang-javascript": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-6.2.2.tgz", + "integrity": "sha512-VGQfY+FCc285AhWuwjYxQyUQcYurWlxdKYT4bqwr3Twnd5wP5WSeu52t4tvvuWmljT4EmgEgZCqSieokhtY8hg==", + "license": "MIT", + "dependencies": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/language": "^6.6.0", + "@codemirror/lint": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.17.0", + "@lezer/common": "^1.0.0", + "@lezer/javascript": "^1.0.0" + } + }, + "node_modules/@codemirror/language": { + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.2.tgz", + "integrity": "sha512-kgbTYTo0Au6dCSc/TFy7fK3fpJmgHDv1sG1KNQKJXVi+xBTEeBPY/M30YXiU6mMXeH+YIDLsbrT4ZwNRdtF+SA==", + "license": "MIT", + "dependencies": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.23.0", + "@lezer/common": "^1.1.0", + "@lezer/highlight": "^1.0.0", + "@lezer/lr": "^1.0.0", + "style-mod": "^4.0.0" + } + }, + "node_modules/@codemirror/lint": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.8.1.tgz", + "integrity": "sha512-IZ0Y7S4/bpaunwggW2jYqwLuHj0QtESf5xcROewY6+lDNwZ/NzvR4t+vpYgg9m7V8UXLPYqG+lu3DF470E5Oxg==", + "license": "MIT", + "dependencies": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "crelt": "^1.0.5" + } + }, + "node_modules/@codemirror/search": { + "version": "6.5.6", + "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.6.tgz", + "integrity": "sha512-rpMgcsh7o0GuCDUXKPvww+muLA1pDJaFrpq/CCHtpQJYz8xopu4D1hPcKRoDD0YlF8gZaqTNIRa4VRBWyhyy7Q==", + "license": "MIT", + "dependencies": { + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0", + "crelt": "^1.0.5" + } + }, + "node_modules/@codemirror/state": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/@codemirror/state/-/state-6.4.1.tgz", + "integrity": "sha512-QkEyUiLhsJoZkbumGZlswmAhA7CBU02Wrz7zvH4SrcifbsqwlXShVXg65f3v/ts57W3dqyamEriMhij1Z3Zz4A==", + "license": "MIT" + }, + "node_modules/@codemirror/view": { + "version": "6.32.0", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.32.0.tgz", + "integrity": "sha512-AgVNvED2QTsZp5e3syoHLsrWtwJFYWdx1Vr/m3f4h1ATQz0ax60CfXF3Htdmk69k2MlYZw8gXesnQdHtzyVmAw==", + "license": "MIT", + "dependencies": { + "@codemirror/state": "^6.4.0", + "style-mod": "^4.1.0", + "w3c-keyname": "^2.2.4" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@ctrl/tinycolor": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz", + "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==", + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/@element-plus/icons-vue": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@element-plus/icons-vue/-/icons-vue-2.3.1.tgz", + "integrity": "sha512-XxVUZv48RZAd87ucGS48jPf6pKu0yV5UCg9f4FFwtrYxXOwWuVJo6wOvSLKEoMQKjv8GsX/mhP6UsC1lRwbUWg==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz", + "integrity": "sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@floating-ui/core": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.7.tgz", + "integrity": "sha512-yDzVT/Lm101nQ5TCVeK65LtdN7Tj4Qpr9RTXJ2vPFLqtLxwOrpoxAHAJI8J3yYWUc40J0BDBheaitK5SJmno2g==", + "license": "MIT", + "dependencies": { + "@floating-ui/utils": "^0.2.7" + } + }, + "node_modules/@floating-ui/dom": { + "version": "1.6.10", + "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.10.tgz", + "integrity": "sha512-fskgCFv8J8OamCmyun8MfjB1Olfn+uZKjOKZ0vhYF3gRmEUXcGOjxWL8bBr7i4kIuPZ2KD2S3EUIOxnjC8kl2A==", + "license": "MIT", + "dependencies": { + "@floating-ui/core": "^1.6.0", + "@floating-ui/utils": "^0.2.7" + } + }, + "node_modules/@floating-ui/utils": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.7.tgz", + "integrity": "sha512-X8R8Oj771YRl/w+c1HqAC1szL8zWQRwFvgDwT129k9ACdBoud/+/rX9V0qiMl6LWUdP9voC2nDVZYPMQQsb6eA==", + "license": "MIT" + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", + "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@kousum/vue3-window": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/@kousum/vue3-window/-/vue3-window-0.0.3.tgz", + "integrity": "sha512-yWH3FZRJUap69Q2MbNSqj2mSvjQhMQuHL+62E3y344rukAu4Vq08ISofSQpnjzg0TtaK68CcPexlkMJHnxxaPA==", + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.17.8", + "memoize-one": "^6.0.0", + "vue": "^3.2.31" + } + }, + "node_modules/@lezer/common": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@lezer/common/-/common-1.2.1.tgz", + "integrity": "sha512-yemX0ZD2xS/73llMZIK6KplkjIjf2EvAHcinDi/TfJ9hS25G0388+ClHt6/3but0oOxinTcQHJLDXh6w1crzFQ==", + "license": "MIT" + }, + "node_modules/@lezer/highlight": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@lezer/highlight/-/highlight-1.2.1.tgz", + "integrity": "sha512-Z5duk4RN/3zuVO7Jq0pGLJ3qynpxUVsh7IbUbGj88+uV2ApSAn6kWg2au3iJb+0Zi7kKtqffIESgNcRXWZWmSA==", + "license": "MIT", + "dependencies": { + "@lezer/common": "^1.0.0" + } + }, + "node_modules/@lezer/javascript": { + "version": "1.4.17", + "resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-1.4.17.tgz", + "integrity": "sha512-bYW4ctpyGK+JMumDApeUzuIezX01H76R1foD6LcRX224FWfyYit/HYxiPGDjXXe/wQWASjCvVGoukTH68+0HIA==", + "license": "MIT", + "dependencies": { + "@lezer/common": "^1.2.0", + "@lezer/highlight": "^1.1.3", + "@lezer/lr": "^1.3.0" + } + }, + "node_modules/@lezer/lr": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.2.tgz", + "integrity": "sha512-pu0K1jCIdnQ12aWNaAVU5bzi7Bd1w54J3ECgANPmYLtQKP0HBj2cE/5coBD66MT10xbtIuUr7tg0Shbsvk0mDA==", + "license": "MIT", + "dependencies": { + "@lezer/common": "^1.0.0" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@popperjs/core": { + "name": "@sxzz/popperjs-es", + "version": "2.11.7", + "resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", + "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==", + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, + "node_modules/@rollup/pluginutils": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", + "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/axios": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@types/axios/-/axios-0.14.0.tgz", + "integrity": "sha512-KqQnQbdYE54D7oa/UmYVMZKq7CO4l8DEENzOKc4aBRwxCXSlJXGz83flFx5L7AWrOQnmuN3kVsRdt+GZPPjiVQ==", + "deprecated": "This is a stub types definition for axios (https://github.com/mzabriskie/axios). axios provides its own type definitions, so you don't need @types/axios installed!", + "license": "MIT", + "dependencies": { + "axios": "*" + } + }, + "node_modules/@types/chai": { + "version": "4.3.17", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.17.tgz", + "integrity": "sha512-zmZ21EWzR71B4Sscphjief5djsLre50M6lI622OSySTmn9DB3j+C3kWroHfBQWXbOBwbgg/M8CG/hUxDLIloow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/js-cookie": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-3.0.6.tgz", + "integrity": "sha512-wkw9yd1kEXOPnvEeEV1Go1MmxtBJL0RR79aOTAApecWFVu7w0NNXNqhcWgvw2YgZDYadliXkl14pa3WXw5jlCQ==", + "license": "MIT" + }, + "node_modules/@types/lodash": { + "version": "4.17.7", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.7.tgz", + "integrity": "sha512-8wTvZawATi/lsmNu10/j2hk1KEP0IvjubqPE3cu1Xz7xfXXt5oCq3SNUz4fMIP4XGF9Ky+Ue2tBA3hcS7LSBlA==", + "license": "MIT" + }, + "node_modules/@types/lodash-es": { + "version": "4.17.12", + "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz", + "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==", + "license": "MIT", + "dependencies": { + "@types/lodash": "*" + } + }, + "node_modules/@types/mocha": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz", + "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "17.0.45", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz", + "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/web-bluetooth": { + "version": "0.0.16", + "resolved": "https://registry.npmjs.org/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz", + "integrity": "sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ==", + "license": "MIT" + }, + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/@vitejs/plugin-vue": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-2.3.4.tgz", + "integrity": "sha512-IfFNbtkbIm36O9KB8QodlwwYvTEsJb4Lll4c2IwB3VHc2gie2mSPtSzL0eYay7X2jd/2WX02FjSGTWR6OPr/zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "vite": "^2.5.10", + "vue": "^3.2.25" + } + }, + "node_modules/@volar/code-gen": { + "version": "0.34.17", + "resolved": "https://registry.npmjs.org/@volar/code-gen/-/code-gen-0.34.17.tgz", + "integrity": "sha512-rHR7BA71BJ/4S7xUOPMPiB7uk6iU9oTWpEMZxFi5VGC9iJmDncE82WzU5iYpcbOBCVHsOjMh0+5CGMgdO6SaPA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@volar/source-map": "0.34.17" + } + }, + "node_modules/@volar/source-map": { + "version": "0.34.17", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-0.34.17.tgz", + "integrity": "sha512-3yn1IMXJGGWB/G817/VFlFMi8oh5pmE7VzUqvgMZMrppaZpKj6/juvJIEiXNxRsgWc0RxIO8OSp4htdPUg1Raw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@volar/vue-code-gen": { + "version": "0.34.17", + "resolved": "https://registry.npmjs.org/@volar/vue-code-gen/-/vue-code-gen-0.34.17.tgz", + "integrity": "sha512-17pzcK29fyFWUc+C82J3JYSnA+jy3QNrIldb9kPaP9Itbik05ZjEIyEue9FjhgIAuHeYSn4LDM5s6nGjxyfhsQ==", + "deprecated": "WARNING: This project has been renamed to @vue/language-core. Install using @vue/language-core instead.", + "dev": true, + "license": "MIT", + "dependencies": { + "@volar/code-gen": "0.34.17", + "@volar/source-map": "0.34.17", + "@vue/compiler-core": "^3.2.36", + "@vue/compiler-dom": "^3.2.36", + "@vue/shared": "^3.2.36" + } + }, + "node_modules/@volar/vue-typescript": { + "version": "0.34.17", + "resolved": "https://registry.npmjs.org/@volar/vue-typescript/-/vue-typescript-0.34.17.tgz", + "integrity": "sha512-U0YSVIBPRWVPmgJHNa4nrfq88+oS+tmyZNxmnfajIw9A/GOGZQiKXHC0k09SVvbYXlsjgJ6NIjhm9NuAhGRQjg==", + "deprecated": "WARNING: This project has been renamed to @vue/typescript. Install using @vue/typescript instead.", + "dev": true, + "license": "MIT", + "dependencies": { + "@volar/code-gen": "0.34.17", + "@volar/source-map": "0.34.17", + "@volar/vue-code-gen": "0.34.17", + "@vue/compiler-sfc": "^3.2.36", + "@vue/reactivity": "^3.2.36" + } + }, + "node_modules/@vue/compiler-core": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.38.tgz", + "integrity": "sha512-8IQOTCWnLFqfHzOGm9+P8OPSEDukgg3Huc92qSG49if/xI2SAwLHQO2qaPQbjCWPBcQoO1WYfXfTACUrWV3c5A==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.24.7", + "@vue/shared": "3.4.38", + "entities": "^4.5.0", + "estree-walker": "^2.0.2", + "source-map-js": "^1.2.0" + } + }, + "node_modules/@vue/compiler-dom": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.38.tgz", + "integrity": "sha512-Osc/c7ABsHXTsETLgykcOwIxFktHfGSUDkb05V61rocEfsFDcjDLH/IHJSNJP+/Sv9KeN2Lx1V6McZzlSb9EhQ==", + "license": "MIT", + "dependencies": { + "@vue/compiler-core": "3.4.38", + "@vue/shared": "3.4.38" + } + }, + "node_modules/@vue/compiler-sfc": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.38.tgz", + "integrity": "sha512-s5QfZ+9PzPh3T5H4hsQDJtI8x7zdJaew/dCGgqZ2630XdzaZ3AD8xGZfBqpT8oaD/p2eedd+pL8tD5vvt5ZYJQ==", + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.24.7", + "@vue/compiler-core": "3.4.38", + "@vue/compiler-dom": "3.4.38", + "@vue/compiler-ssr": "3.4.38", + "@vue/shared": "3.4.38", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.10", + "postcss": "^8.4.40", + "source-map-js": "^1.2.0" + } + }, + "node_modules/@vue/compiler-sfc/node_modules/magic-string": { + "version": "0.30.11", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", + "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==", + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0" + } + }, + "node_modules/@vue/compiler-ssr": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.38.tgz", + "integrity": "sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==", + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.4.38", + "@vue/shared": "3.4.38" + } + }, + "node_modules/@vue/devtools-api": { + "version": "6.6.3", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.3.tgz", + "integrity": "sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==", + "license": "MIT" + }, + "node_modules/@vue/reactivity": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.38.tgz", + "integrity": "sha512-4vl4wMMVniLsSYYeldAKzbk72+D3hUnkw9z8lDeJacTxAkXeDAP1uE9xr2+aKIN0ipOL8EG2GPouVTH6yF7Gnw==", + "license": "MIT", + "dependencies": { + "@vue/shared": "3.4.38" + } + }, + "node_modules/@vue/runtime-core": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.38.tgz", + "integrity": "sha512-21z3wA99EABtuf+O3IhdxP0iHgkBs1vuoCAsCKLVJPEjpVqvblwBnTj42vzHRlWDCyxu9ptDm7sI2ZMcWrQqlA==", + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.4.38", + "@vue/shared": "3.4.38" + } + }, + "node_modules/@vue/runtime-dom": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.38.tgz", + "integrity": "sha512-afZzmUreU7vKwKsV17H1NDThEEmdYI+GCAK/KY1U957Ig2NATPVjCROv61R19fjZNzMmiU03n79OMnXyJVN0UA==", + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.4.38", + "@vue/runtime-core": "3.4.38", + "@vue/shared": "3.4.38", + "csstype": "^3.1.3" + } + }, + "node_modules/@vue/server-renderer": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.38.tgz", + "integrity": "sha512-NggOTr82FbPEkkUvBm4fTGcwUY8UuTsnWC/L2YZBmvaQ4C4Jl/Ao4HHTB+l7WnFCt5M/dN3l0XLuyjzswGYVCA==", + "license": "MIT", + "dependencies": { + "@vue/compiler-ssr": "3.4.38", + "@vue/shared": "3.4.38" + }, + "peerDependencies": { + "vue": "3.4.38" + } + }, + "node_modules/@vue/shared": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.38.tgz", + "integrity": "sha512-q0xCiLkuWWQLzVrecPb0RMsNWyxICOjPrcrwxTUEHb1fsnvni4dcuyG7RT/Ie7VPTvnjzIaWzRMUBsrqNj/hhw==", + "license": "MIT" + }, + "node_modules/@vueuse/core": { + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/core/-/core-9.13.0.tgz", + "integrity": "sha512-pujnclbeHWxxPRqXWmdkKV5OX4Wk4YeK7wusHqRwU0Q7EFusHoqNA/aPhB6KCh9hEqJkLAJo7bb0Lh9b+OIVzw==", + "license": "MIT", + "dependencies": { + "@types/web-bluetooth": "^0.0.16", + "@vueuse/metadata": "9.13.0", + "@vueuse/shared": "9.13.0", + "vue-demi": "*" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/core/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, + "node_modules/@vueuse/metadata": { + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-9.13.0.tgz", + "integrity": "sha512-gdU7TKNAUVlXXLbaF+ZCfte8BjRJQWPCa2J55+7/h+yDtzw3vOoGQDRXzI6pyKyo6bXFT5/QoPE4hAknExjRLQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/shared": { + "version": "9.13.0", + "resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-9.13.0.tgz", + "integrity": "sha512-UrnhU+Cnufu4S6JLCPZnkWh0WwZGUp72ktOF2DFptMlOs3TOdVv8xJN53zhHGARmVOsz5KqOls09+J1NR6sBKw==", + "license": "MIT", + "dependencies": { + "vue-demi": "*" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/shared/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, + "node_modules/acorn-walk": { + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", + "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk/node_modules/acorn": { + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/async-validator": { + "version": "4.2.5", + "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz", + "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==", + "license": "MIT" + }, + "node_modules/axios": { + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.26.1.tgz", + "integrity": "sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA==", + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.14.8" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true, + "license": "ISC" + }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/chai": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.5.0.tgz", + "integrity": "sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", + "pathval": "^1.1.1", + "type-detect": "^4.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/charenc": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz", + "integrity": "sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "node_modules/check-error": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.2" + }, + "engines": { + "node": "*" + } + }, + "node_modules/chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/codemirror": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-6.0.1.tgz", + "integrity": "sha512-J8j+nZ+CdWmIeFIGXEFbFPtpiYacFMDR8GlHK3IyHQJMCaVRfGx9NT+Hxivv1ckLWPvNdZqndbr/7lVhrf/Svg==", + "license": "MIT", + "dependencies": { + "@codemirror/autocomplete": "^6.0.0", + "@codemirror/commands": "^6.0.0", + "@codemirror/language": "^6.0.0", + "@codemirror/lint": "^6.0.0", + "@codemirror/search": "^6.0.0", + "@codemirror/state": "^6.0.0", + "@codemirror/view": "^6.0.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/crelt": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/crelt/-/crelt-1.0.6.tgz", + "integrity": "sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==", + "license": "MIT" + }, + "node_modules/cropperjs": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/cropperjs/-/cropperjs-1.6.2.tgz", + "integrity": "sha512-nhymn9GdnV3CqiEHJVai54TULFAE3VshJTXSqSJKa8yXAKyBKDWdhHarnlIPrshJ0WMFTGuFvG02YjLXfPiuOA==", + "license": "MIT" + }, + "node_modules/crypt": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz", + "integrity": "sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==", + "license": "BSD-3-Clause", + "engines": { + "node": "*" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "license": "MIT" + }, + "node_modules/dayjs": { + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==", + "license": "MIT" + }, + "node_modules/debug": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/deep-eql": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.4.tgz", + "integrity": "sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/element-plus": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/element-plus/-/element-plus-2.8.0.tgz", + "integrity": "sha512-7ngapVlVlQAjocVqD4MUKvKXlBneT9DSDk2mmBOSLRFWNm/HLDT15ozmsvUBfy18sajnyUeSIHTtINE8gfrGMg==", + "license": "MIT", + "dependencies": { + "@ctrl/tinycolor": "^3.4.1", + "@element-plus/icons-vue": "^2.3.1", + "@floating-ui/dom": "^1.0.1", + "@popperjs/core": "npm:@sxzz/popperjs-es@^2.11.7", + "@types/lodash": "^4.14.182", + "@types/lodash-es": "^4.17.6", + "@vueuse/core": "^9.1.0", + "async-validator": "^4.2.5", + "dayjs": "^1.11.3", + "escape-html": "^1.0.3", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "lodash-unified": "^1.0.2", + "memoize-one": "^6.0.0", + "normalize-wheel-es": "^1.2.0" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/es-module-lexer": { + "version": "0.10.5", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.10.5.tgz", + "integrity": "sha512-+7IwY/kiGAacQfY+YBhKMvEmyAJnw5grTUgjG85Pe7vcUI/6b7pZjZG8nQ7+48YhzEAEqrEgD2dCz/JIK+AYvw==", + "dev": true, + "license": "MIT" + }, + "node_modules/esbuild": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.54.tgz", + "integrity": "sha512-Cy9llcy8DvET5uznocPyqL3BFRrFXSVqbgpMJ9Wz8oVjZlh/zUSNbPRbov0VX7VxN2JH1Oa0uNxZ7eLRb62pJA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/linux-loong64": "0.14.54", + "esbuild-android-64": "0.14.54", + "esbuild-android-arm64": "0.14.54", + "esbuild-darwin-64": "0.14.54", + "esbuild-darwin-arm64": "0.14.54", + "esbuild-freebsd-64": "0.14.54", + "esbuild-freebsd-arm64": "0.14.54", + "esbuild-linux-32": "0.14.54", + "esbuild-linux-64": "0.14.54", + "esbuild-linux-arm": "0.14.54", + "esbuild-linux-arm64": "0.14.54", + "esbuild-linux-mips64le": "0.14.54", + "esbuild-linux-ppc64le": "0.14.54", + "esbuild-linux-riscv64": "0.14.54", + "esbuild-linux-s390x": "0.14.54", + "esbuild-netbsd-64": "0.14.54", + "esbuild-openbsd-64": "0.14.54", + "esbuild-sunos-64": "0.14.54", + "esbuild-windows-32": "0.14.54", + "esbuild-windows-64": "0.14.54", + "esbuild-windows-arm64": "0.14.54" + } + }, + "node_modules/esbuild-android-64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.14.54.tgz", + "integrity": "sha512-Tz2++Aqqz0rJ7kYBfz+iqyE3QMycD4vk7LBRyWaAVFgFtQ/O8EJOnVmTOiDWYZ/uYzB4kvP+bqejYdVKzE5lAQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-android-arm64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.54.tgz", + "integrity": "sha512-F9E+/QDi9sSkLaClO8SOV6etqPd+5DgJje1F9lOWoNncDdOBL2YF59IhsWATSt0TLZbYCf3pNlTHvVV5VfHdvg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-darwin-64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.54.tgz", + "integrity": "sha512-jtdKWV3nBviOd5v4hOpkVmpxsBy90CGzebpbO9beiqUYVMBtSc0AL9zGftFuBon7PNDcdvNCEuQqw2x0wP9yug==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-darwin-arm64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.54.tgz", + "integrity": "sha512-OPafJHD2oUPyvJMrsCvDGkRrVCar5aVyHfWGQzY1dWnzErjrDuSETxwA2HSsyg2jORLY8yBfzc1MIpUkXlctmw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-freebsd-64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.54.tgz", + "integrity": "sha512-OKwd4gmwHqOTp4mOGZKe/XUlbDJ4Q9TjX0hMPIDBUWWu/kwhBAudJdBoxnjNf9ocIB6GN6CPowYpR/hRCbSYAg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-freebsd-arm64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.54.tgz", + "integrity": "sha512-sFwueGr7OvIFiQT6WeG0jRLjkjdqWWSrfbVwZp8iMP+8UHEHRBvlaxL6IuKNDwAozNUmbb8nIMXa7oAOARGs1Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-32": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.54.tgz", + "integrity": "sha512-1ZuY+JDI//WmklKlBgJnglpUL1owm2OX+8E1syCD6UAxcMM/XoWd76OHSjl/0MR0LisSAXDqgjT3uJqT67O3qw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.54.tgz", + "integrity": "sha512-EgjAgH5HwTbtNsTqQOXWApBaPVdDn7XcK+/PtJwZLT1UmpLoznPd8c5CxqsH2dQK3j05YsB3L17T8vE7cp4cCg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-arm": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.54.tgz", + "integrity": "sha512-qqz/SjemQhVMTnvcLGoLOdFpCYbz4v4fUo+TfsWG+1aOu70/80RV6bgNpR2JCrppV2moUQkww+6bWxXRL9YMGw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-arm64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.54.tgz", + "integrity": "sha512-WL71L+0Rwv+Gv/HTmxTEmpv0UgmxYa5ftZILVi2QmZBgX3q7+tDeOQNqGtdXSdsL8TQi1vIaVFHUPDe0O0kdig==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-mips64le": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.54.tgz", + "integrity": "sha512-qTHGQB8D1etd0u1+sB6p0ikLKRVuCWhYQhAHRPkO+OF3I/iSlTKNNS0Lh2Oc0g0UFGguaFZZiPJdJey3AGpAlw==", + "cpu": [ + "mips64el" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-ppc64le": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.54.tgz", + "integrity": "sha512-j3OMlzHiqwZBDPRCDFKcx595XVfOfOnv68Ax3U4UKZ3MTYQB5Yz3X1mn5GnodEVYzhtZgxEBidLWeIs8FDSfrQ==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-riscv64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.54.tgz", + "integrity": "sha512-y7Vt7Wl9dkOGZjxQZnDAqqn+XOqFD7IMWiewY5SPlNlzMX39ocPQlOaoxvT4FllA5viyV26/QzHtvTjVNOxHZg==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-linux-s390x": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.54.tgz", + "integrity": "sha512-zaHpW9dziAsi7lRcyV4r8dhfG1qBidQWUXweUjnw+lliChJqQr+6XD71K41oEIC3Mx1KStovEmlzm+MkGZHnHA==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-netbsd-64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.54.tgz", + "integrity": "sha512-PR01lmIMnfJTgeU9VJTDY9ZerDWVFIUzAtJuDHwwceppW7cQWjBBqP48NdeRtoP04/AtO9a7w3viI+PIDr6d+w==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-openbsd-64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.54.tgz", + "integrity": "sha512-Qyk7ikT2o7Wu76UsvvDS5q0amJvmRzDyVlL0qf5VLsLchjCa1+IAvd8kTBgUxD7VBUUVgItLkk609ZHUc1oCaw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-sunos-64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.54.tgz", + "integrity": "sha512-28GZ24KmMSeKi5ueWzMcco6EBHStL3B6ubM7M51RmPwXQGLe0teBGJocmWhgwccA1GeFXqxzILIxXpHbl9Q/Kw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-windows-32": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.54.tgz", + "integrity": "sha512-T+rdZW19ql9MjS7pixmZYVObd9G7kcaZo+sETqNH4RCkuuYSuv9AGHUVnPoP9hhuE1WM1ZimHz1CIBHBboLU7w==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-windows-64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.54.tgz", + "integrity": "sha512-AoHTRBUuYwXtZhjXZbA1pGfTo8cJo3vZIcWGLiUcTNgHpJJMC1rVA44ZereBHMJtotyN71S8Qw0npiCIkW96cQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild-windows-arm64": { + "version": "0.14.54", + "resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.54.tgz", + "integrity": "sha512-M0kuUvXhot1zOISQGXwWn6YtS+Y/1RT9WrVIOywZnJHo3jCDyewAc79aKNQWFCQm+xNHVTq9h8dZKvygoXQQRg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/escalade": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "license": "MIT" + }, + "node_modules/fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4.x" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "node_modules/immutable": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.7.tgz", + "integrity": "sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "dev": true, + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "license": "MIT", + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "license": "MIT" + }, + "node_modules/is-core-module": { + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/js-cookie": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.5.tgz", + "integrity": "sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==", + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/local-pkg": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/local-pkg/-/local-pkg-0.4.3.tgz", + "integrity": "sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "license": "MIT" + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "license": "MIT" + }, + "node_modules/lodash-unified": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/lodash-unified/-/lodash-unified-1.0.3.tgz", + "integrity": "sha512-WK9qSozxXOD7ZJQlpSqOT+om2ZfcT4yO+03FuzAHD0wF6S0l0090LRPDx3vhTTLZ8cFKpBn+IOcVXK6qOcIlfQ==", + "license": "MIT", + "peerDependencies": { + "@types/lodash-es": "*", + "lodash": "*", + "lodash-es": "*" + } + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/loupe": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", + "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", + "dev": true, + "license": "MIT", + "dependencies": { + "get-func-name": "^2.0.1" + } + }, + "node_modules/magic-string": { + "version": "0.26.7", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.26.7.tgz", + "integrity": "sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow==", + "dev": true, + "license": "MIT", + "dependencies": { + "sourcemap-codec": "^1.4.8" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, + "node_modules/marsLib": { + "resolved": "lib/marsLib", + "link": true + }, + "node_modules/md5": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/md5/-/md5-2.3.0.tgz", + "integrity": "sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==", + "license": "BSD-3-Clause", + "dependencies": { + "charenc": "0.0.2", + "crypt": "0.0.2", + "is-buffer": "~1.1.6" + } + }, + "node_modules/memoize-one": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/memoize-one/-/memoize-one-6.0.0.tgz", + "integrity": "sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==", + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", + "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/normalize-wheel-es": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/normalize-wheel-es/-/normalize-wheel-es-1.2.0.tgz", + "integrity": "sha512-Wj7+EJQ8mSuXr2iWfnujrimU35R2W4FAErEyTmJoJ7ucwTn2hOUSsRehMb5RSYkxXGTM7Y9QpvPmp++w5ftoJw==", + "license": "BSD-3-Clause" + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dev": true, + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/picocolors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pinia": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.2.2.tgz", + "integrity": "sha512-ja2XqFWZC36mupU4z1ZzxeTApV7DOw44cV4dhQ9sGwun+N89v/XP7+j7q6TanS1u1tdbK4r+1BUx7heMaIdagA==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^6.6.3", + "vue-demi": "^0.14.10" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "@vue/composition-api": "^1.4.0", + "typescript": ">=4.4.4", + "vue": "^2.6.14 || ^3.3.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, + "node_modules/pinia/node_modules/vue-demi": { + "version": "0.14.10", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.10.tgz", + "integrity": "sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + }, + "node_modules/postcss": { + "version": "8.4.41", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", + "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.0.1", + "source-map-js": "^1.2.0" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/reflect-metadata": { + "version": "0.1.14", + "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.14.tgz", + "integrity": "sha512-ZhYeb6nRaXCfhnndflDK8qI6ZQ/YcWZCISRAWICW9XYqMUwjZM9Z0DveWX/ABN01oxSHwVxKQmxeYZSsm0jh5A==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "license": "MIT" + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rollup": { + "version": "2.77.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.77.3.tgz", + "integrity": "sha512-/qxNTG7FbmefJWoeeYJFbHehJ2HNWnjkAFRKzWN/45eNBBF/r8lo992CwcJXEzyVxs5FmfId+vTSTQDb+bxA+g==", + "dev": true, + "license": "MIT", + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/sass": { + "version": "1.77.8", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.8.tgz", + "integrity": "sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/source-map-js": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "deprecated": "Please use @jridgewell/sourcemap-codec instead", + "dev": true, + "license": "MIT" + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/style-mod": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/style-mod/-/style-mod-4.1.2.tgz", + "integrity": "sha512-wnD1HyVqpJUI2+eKZ+eo1UwghftP6yuFheBqqe+bWCotBjC2K1YnteJILRMs3SM4V/0dLEW1SC27MWP5y+mwmw==", + "license": "MIT" + }, + "node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/ts-node/node_modules/acorn": { + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ts-node/node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT" + }, + "node_modules/ts-node/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/type-detect": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", + "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/typescript": { + "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "devOptional": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/unplugin": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-0.6.3.tgz", + "integrity": "sha512-CoW88FQfCW/yabVc4bLrjikN9HC8dEvMU4O7B6K2jsYMPK0l6iAnd9dpJwqGcmXJKRCU9vwSsy653qg+RK0G6A==", + "dev": true, + "license": "MIT", + "dependencies": { + "chokidar": "^3.5.3", + "webpack-sources": "^3.2.3", + "webpack-virtual-modules": "^0.4.3" + }, + "peerDependencies": { + "esbuild": ">=0.13", + "rollup": "^2.50.0", + "vite": "^2.3.0", + "webpack": "4 || 5" + }, + "peerDependenciesMeta": { + "esbuild": { + "optional": true + }, + "rollup": { + "optional": true + }, + "vite": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/unplugin-auto-import": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/unplugin-auto-import/-/unplugin-auto-import-0.7.2.tgz", + "integrity": "sha512-VzaYUa2VByUT70WSFlOXoovyWuwC/8ePKQUC9fhU+BRmvTC7qhCVgChH/NieWMEVgyT+HhacxM+W7xMEOmA+MA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@antfu/utils": "^0.5.1", + "@rollup/pluginutils": "^4.2.0", + "local-pkg": "^0.4.1", + "magic-string": "^0.26.1", + "resolve": "^1.22.0", + "unplugin": "^0.6.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vueuse/core": "*" + }, + "peerDependenciesMeta": { + "@vueuse/core": { + "optional": true + } + } + }, + "node_modules/unplugin-element-plus": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/unplugin-element-plus/-/unplugin-element-plus-0.4.1.tgz", + "integrity": "sha512-x8L35sppkbtnAf+aSPXNsLPjCUrM0mWKgujqMIgrHiDQaGbpMlNnbN2kjP5CMclykNOw8fUCreEhtxPyzg8tmw==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^4.2.1", + "es-module-lexer": "^0.10.5", + "magic-string": "^0.26.2", + "unplugin": "^0.7.1" + }, + "engines": { + "node": ">=14.19.0" + } + }, + "node_modules/unplugin-element-plus/node_modules/acorn": { + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/unplugin-element-plus/node_modules/unplugin": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-0.7.2.tgz", + "integrity": "sha512-m7thX4jP8l5sETpLdUASoDOGOcHaOVtgNyrYlToyQUvILUtEzEnngRBrHnAX3IKqooJVmXpoa/CwQ/QqzvGaHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.7.1", + "chokidar": "^3.5.3", + "webpack-sources": "^3.2.3", + "webpack-virtual-modules": "^0.4.4" + }, + "peerDependencies": { + "esbuild": ">=0.13", + "rollup": "^2.50.0", + "vite": "^2.3.0 || ^3.0.0-0", + "webpack": "4 || 5" + }, + "peerDependenciesMeta": { + "esbuild": { + "optional": true + }, + "rollup": { + "optional": true + }, + "vite": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/unplugin-vue-components": { + "version": "0.19.9", + "resolved": "https://registry.npmjs.org/unplugin-vue-components/-/unplugin-vue-components-0.19.9.tgz", + "integrity": "sha512-i5mZtg85euPWZrGswFkoa9pf4WjKCP5qOjnwOyg3KOKVzFjnP3osCdrunQMjtoMKehTdz1vV6baZH8bZR4PNgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@antfu/utils": "^0.5.2", + "@rollup/pluginutils": "^4.2.1", + "chokidar": "^3.5.3", + "debug": "^4.3.4", + "fast-glob": "^3.2.11", + "local-pkg": "^0.4.1", + "magic-string": "^0.26.2", + "minimatch": "^5.1.0", + "resolve": "^1.22.0", + "unplugin": "^0.7.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@babel/parser": "^7.15.8", + "@babel/traverse": "^7.15.4", + "vue": "2 || 3" + }, + "peerDependenciesMeta": { + "@babel/parser": { + "optional": true + }, + "@babel/traverse": { + "optional": true + } + } + }, + "node_modules/unplugin-vue-components/node_modules/acorn": { + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "dev": true, + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/unplugin-vue-components/node_modules/unplugin": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-0.7.2.tgz", + "integrity": "sha512-m7thX4jP8l5sETpLdUASoDOGOcHaOVtgNyrYlToyQUvILUtEzEnngRBrHnAX3IKqooJVmXpoa/CwQ/QqzvGaHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.7.1", + "chokidar": "^3.5.3", + "webpack-sources": "^3.2.3", + "webpack-virtual-modules": "^0.4.4" + }, + "peerDependencies": { + "esbuild": ">=0.13", + "rollup": "^2.50.0", + "vite": "^2.3.0 || ^3.0.0-0", + "webpack": "4 || 5" + }, + "peerDependenciesMeta": { + "esbuild": { + "optional": true + }, + "rollup": { + "optional": true + }, + "vite": { + "optional": true + }, + "webpack": { + "optional": true + } + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT" + }, + "node_modules/vite": { + "version": "2.9.18", + "resolved": "https://registry.npmjs.org/vite/-/vite-2.9.18.tgz", + "integrity": "sha512-sAOqI5wNM9QvSEE70W3UGMdT8cyEn0+PmJMTFvTB8wB0YbYUWw3gUbY62AOyrXosGieF2htmeLATvNxpv/zNyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "esbuild": "^0.14.27", + "postcss": "^8.4.13", + "resolve": "^1.22.0", + "rollup": ">=2.59.0 <2.78.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": ">=12.2.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + }, + "peerDependencies": { + "less": "*", + "sass": "*", + "stylus": "*" + }, + "peerDependenciesMeta": { + "less": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + } + } + }, + "node_modules/vue": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.38.tgz", + "integrity": "sha512-f0ZgN+mZ5KFgVv9wz0f4OgVKukoXtS3nwET4c2vLBGQR50aI8G0cqbFtLlX9Yiyg3LFGBitruPHt2PxwTduJEw==", + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.4.38", + "@vue/compiler-sfc": "3.4.38", + "@vue/runtime-dom": "3.4.38", + "@vue/server-renderer": "3.4.38", + "@vue/shared": "3.4.38" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/vue-codemirror": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/vue-codemirror/-/vue-codemirror-6.1.1.tgz", + "integrity": "sha512-rTAYo44owd282yVxKtJtnOi7ERAcXTeviwoPXjIc6K/IQYUsoDkzPvw/JDFtSP6T7Cz/2g3EHaEyeyaQCKoDMg==", + "license": "MIT", + "dependencies": { + "@codemirror/commands": "6.x", + "@codemirror/language": "6.x", + "@codemirror/state": "6.x", + "@codemirror/view": "6.x" + }, + "peerDependencies": { + "codemirror": "6.x", + "vue": "3.x" + } + }, + "node_modules/vue-cropperjs": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/vue-cropperjs/-/vue-cropperjs-5.0.0.tgz", + "integrity": "sha512-RhnC8O33uRZNkn74aiHZwNHnBJOXWlS4P6gsRI0lw4cZlWjKSCywZI9oSI9POlIPI6OYv30jvnHMXGch85tw7w==", + "license": "MIT", + "dependencies": { + "cropperjs": "^1.5.6" + }, + "peerDependencies": { + "vue": ">=3.0.0" + } + }, + "node_modules/vue-router": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.4.3.tgz", + "integrity": "sha512-sv6wmNKx2j3aqJQDMxLFzs/u/mjA9Z5LCgy6BE0f7yFWMjrPLnS/sPNn8ARY/FXw6byV18EFutn5lTO6+UsV5A==", + "license": "MIT", + "dependencies": { + "@vue/devtools-api": "^6.6.3" + }, + "funding": { + "url": "https://github.com/sponsors/posva" + }, + "peerDependencies": { + "vue": "^3.2.0" + } + }, + "node_modules/vue-tsc": { + "version": "0.34.17", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-0.34.17.tgz", + "integrity": "sha512-jzUXky44ZLHC4daaJag7FQr3idlPYN719/K1eObGljz5KaS2UnVGTU/XSYCd7d6ampYYg4OsyalbHyJIxV0aEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@volar/vue-typescript": "0.34.17" + }, + "bin": { + "vue-tsc": "bin/vue-tsc.js" + }, + "peerDependencies": { + "typescript": "*" + } + }, + "node_modules/w3c-keyname": { + "version": "2.2.8", + "resolved": "https://registry.npmjs.org/w3c-keyname/-/w3c-keyname-2.2.8.tgz", + "integrity": "sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==", + "license": "MIT" + }, + "node_modules/webpack-sources": { + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz", + "integrity": "sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/webpack-virtual-modules": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/webpack-virtual-modules/-/webpack-virtual-modules-0.4.6.tgz", + "integrity": "sha512-5tyDlKLqPfMqjT3Q9TAqf2YqjwmnUleZwzJi1A5qXnlBCdj2AtOJ6wAWdglTIDOPgOiOrXeBeFcsQ8+aGQ6QbA==", + "dev": true, + "license": "MIT" + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/workerpool": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", + "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..658e705 --- /dev/null +++ b/package.json @@ -0,0 +1,50 @@ +{ + "name": "funjia-admin", + "private": true, + "version": "0.0.1", + "scripts": { + "dev": "vite --port=4444", + "build": "vite build", + "preview": "vite preview --port=4444" + }, + "dependencies": { + "@codemirror/lang-javascript": "^6.1.7", + "@kousum/vue3-window": "^0.0.3", + "@types/axios": "^0.14.0", + "@types/js-cookie": "^3.0.1", + "autoresponsive-vue3": "^2.0.4", + "axios": "^0.26.1", + "codemirror": "^6.0.1", + "dayjs": "^1.10.7", + "element-plus": "2.1.10", + "funjialib": "git+http://git.funjia.top/funjia/FunJiaLib_Package.git", + "funjiaui": "git+http://git.funjia.top/funjia/FunjiaUI_Vue.git#v1.1.2", + "funjia-axios": "git+http://git.funjia.top/funjia/funjia-axios.git", + "html-print-element": "^0.0.5", + "html2pdf.js": "^0.10.2", + "js-cookie": "^3.0.1", + "lodash-es": "^4.17.21", + "md5": "^2.3.0", + "pinia": "2.0.13", + "printd": "^1.6.0", + "react-dnd-html5-backend": "^16.0.1", + "vue": "3.2.33", + "vue-codemirror": "^6.1.1", + "vue-cropperjs": "^5.0.0", + "vue-router": "^4.0.14", + "vue3-dnd": "^2.1.0" + }, + "devDependencies": { + "@types/lodash-es": "^4.17.6", + "@types/node": "^17.0.25", + "@vitejs/plugin-vue": "^2.3.1", + "reflect-metadata": "^0.1.13", + "sass": "^1.50.1", + "typescript": "^4.5.4", + "unplugin-auto-import": "^0.7.1", + "unplugin-element-plus": "^0.4.0", + "unplugin-vue-components": "^0.19.3", + "vite": "^2.9.5", + "vue-tsc": "^0.34.7" + } +} \ No newline at end of file diff --git a/public/login_bg.png b/public/login_bg.png new file mode 100644 index 0000000..3da6dfa Binary files /dev/null and b/public/login_bg.png differ diff --git a/public/login_bg.svg b/public/login_bg.svg new file mode 100644 index 0000000..89c2597 --- /dev/null +++ b/public/login_bg.svg @@ -0,0 +1,69 @@ + + + + Group 21 + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/login_bg1.png b/public/login_bg1.png new file mode 100644 index 0000000..17fbaa0 Binary files /dev/null and b/public/login_bg1.png differ diff --git a/server/.gitignore b/server/.gitignore new file mode 100644 index 0000000..54b1e06 --- /dev/null +++ b/server/.gitignore @@ -0,0 +1,2 @@ +static/* +config.yml \ No newline at end of file diff --git a/server/config.example.yml b/server/config.example.yml new file mode 100644 index 0000000..a645dec --- /dev/null +++ b/server/config.example.yml @@ -0,0 +1,22 @@ +db: # 数据库配置 + db: &db E:\sourceCode\2025\funjia-admin-template-vue\server\db\db.json + resourceDB: &resourceDB E:\sourceCode\2025\funjia-admin-template-vue\server\db\resourceDB.json + backupDB: &backupDB E:\sourceCode\2025\funjia-admin-template-vue\server\db\backupDB.json + logDB: &logDB E:\sourceCode\2025\funjia-admin-template-vue\server\db\logDB.json +dbBak: # 数据库备份配置 + - # + original: *db + dest: F:/sourceCode/2022/compute-cms/bak/db + category: db + - # + original: *resourceDB + dest: F:/sourceCode/2022/compute-cms/bak/resourceDB + category: resourceDB + - # + original: *backupDB + dest: F:/sourceCode/2022/compute-cms/bak/backupDB + category: backupDB + - # + original: *logDB + dest: F:/sourceCode/2022/compute-cms/bak/logDB + category: logDB diff --git a/server/db/backupDB.json b/server/db/backupDB.json new file mode 100644 index 0000000..2d1afe9 --- /dev/null +++ b/server/db/backupDB.json @@ -0,0 +1,346 @@ +{ + "backupHistory": [ + { + "name": "db20220701112510.json", + "category": "db", + "id": "cl51w799y00003cny7rm01lx4", + "createTime": "2022-07-01T03:25:10.198Z", + "status": "1,2" + }, + { + "name": "resourceDB20220701112510.json", + "category": "resourceDB", + "id": "cl51w79f900033cnyd44c044t", + "createTime": "2022-07-01T03:25:10.389Z", + "status": "1,2" + }, + { + "name": "backupDB20220701112510.json", + "category": "backupDB", + "id": "cl51w79ia00063cny0hty82gs", + "createTime": "2022-07-01T03:25:10.499Z", + "status": "1,2" + }, + { + "name": "logDB20220701112510.json", + "category": "logDB", + "id": "cl51w79lc00093cny9oiz4tlh", + "createTime": "2022-07-01T03:25:10.608Z", + "status": "1,2" + }, + { + "name": "db20220701112520.json", + "category": "db", + "id": "cl51w7h1n000c3cnyhpfjbrpj", + "createTime": "2022-07-01T03:25:20.267Z", + "status": "1" + }, + { + "name": "resourceDB20220701112520.json", + "category": "resourceDB", + "id": "cl51w7h4o000f3cnybldh5115", + "createTime": "2022-07-01T03:25:20.376Z", + "status": "1" + }, + { + "name": "backupDB20220701112520.json", + "category": "backupDB", + "id": "cl51w7h7w000i3cnyafqk3p1o", + "createTime": "2022-07-01T03:25:20.492Z", + "status": "1" + }, + { + "name": "logDB20220701112520.json", + "category": "logDB", + "id": "cl51w7haw000l3cny4nv48t44", + "createTime": "2022-07-01T03:25:20.600Z", + "status": "1" + }, + { + "name": "db20220701112530.json", + "category": "db", + "id": "cl51w7oty000o3cny5v281zy3", + "createTime": "2022-07-01T03:25:30.358Z", + "status": "1" + }, + { + "name": "resourceDB20220701112530.json", + "category": "resourceDB", + "id": "cl51w7owz000r3cnybuil0qm8", + "createTime": "2022-07-01T03:25:30.467Z", + "status": "1" + }, + { + "name": "backupDB20220701112530.json", + "category": "backupDB", + "id": "cl51w7p0e000u3cnyg8r9by1q", + "createTime": "2022-07-01T03:25:30.590Z", + "status": "1" + }, + { + "name": "logDB20220701112530.json", + "category": "logDB", + "id": "cl51w7p37000x3cny9be2eh4h", + "createTime": "2022-07-01T03:25:30.691Z", + "status": "1" + }, + { + "name": "db20220701112540.json", + "category": "db", + "id": "cl51w7wlu00103cny65nw72bm", + "createTime": "2022-07-01T03:25:40.434Z", + "status": "1" + }, + { + "name": "resourceDB20220701112540.json", + "category": "resourceDB", + "id": "cl51w7wom00133cnyg0nqc9w3", + "createTime": "2022-07-01T03:25:40.534Z", + "status": "1" + }, + { + "name": "backupDB20220701112540.json", + "category": "backupDB", + "id": "cl51w7wrd00163cnydmnjcgw7", + "createTime": "2022-07-01T03:25:40.633Z", + "status": "1" + }, + { + "name": "logDB20220701112540.json", + "category": "logDB", + "id": "cl51w7wuk00193cny8hwlcc89", + "createTime": "2022-07-01T03:25:40.748Z", + "status": "1" + }, + { + "name": "db20220701112550.json", + "category": "db", + "id": "cl51w84dz001c3cnygo6oeal7", + "createTime": "2022-07-01T03:25:50.519Z", + "status": "1" + }, + { + "name": "resourceDB20220701112550.json", + "category": "resourceDB", + "id": "cl51w84h0001f3cnyfahs5q4c", + "createTime": "2022-07-01T03:25:50.628Z", + "status": "1" + }, + { + "name": "backupDB20220701112550.json", + "category": "backupDB", + "id": "cl51w84jm001i3cny2tpqcjjp", + "createTime": "2022-07-01T03:25:50.722Z", + "status": "1" + }, + { + "name": "logDB20220701112550.json", + "category": "logDB", + "id": "cl51w84ml001l3cnygzl3hjod", + "createTime": "2022-07-01T03:25:50.829Z", + "status": "1" + }, + { + "name": "db20220701112600.json", + "category": "db", + "id": "cl51w8c63001o3cnyfevk3kyp", + "createTime": "2022-07-01T03:26:00.603Z", + "status": "1" + }, + { + "name": "resourceDB20220701112600.json", + "category": "resourceDB", + "id": "cl51w8c8m001r3cny9zryh2pe", + "createTime": "2022-07-01T03:26:00.694Z", + "status": "1" + }, + { + "name": "backupDB20220701112600.json", + "category": "backupDB", + "id": "cl51w8cbo001u3cnya2bw2bsi", + "createTime": "2022-07-01T03:26:00.804Z", + "status": "1" + }, + { + "name": "logDB20220701112600.json", + "category": "logDB", + "id": "cl51w8ce8001x3cny1cltcbdh", + "createTime": "2022-07-01T03:26:00.896Z", + "status": "1" + }, + { + "name": "db20220701112610.json", + "category": "db", + "id": "cl51w8jxq00203cny392bhx57", + "createTime": "2022-07-01T03:26:10.670Z", + "status": "1" + }, + { + "name": "resourceDB20220701112610.json", + "category": "resourceDB", + "id": "cl51w8k0n00233cny37f0cx5j", + "createTime": "2022-07-01T03:26:10.775Z", + "status": "1" + }, + { + "name": "backupDB20220701112610.json", + "category": "backupDB", + "id": "cl51w8k3h00263cnydfiu8inf", + "createTime": "2022-07-01T03:26:10.877Z", + "status": "1" + }, + { + "name": "logDB20220701112610.json", + "category": "logDB", + "id": "cl51w8k6n00293cny0j395r0p", + "createTime": "2022-07-01T03:26:10.991Z", + "status": "1" + }, + { + "name": "db20220701112620.json", + "category": "db", + "id": "cl51w8rq0002c3cny2tih0ehp", + "createTime": "2022-07-01T03:26:20.760Z", + "status": "1" + }, + { + "name": "resourceDB20220701112620.json", + "category": "resourceDB", + "id": "cl51w8rv2002f3cnyddcya1y9", + "createTime": "2022-07-01T03:26:20.942Z", + "status": "1" + }, + { + "name": "backupDB20220701112621.json", + "category": "backupDB", + "id": "cl51w8rz2002i3cnyhsiihd6x", + "createTime": "2022-07-01T03:26:21.086Z", + "status": "1" + }, + { + "name": "logDB20220701112621.json", + "category": "logDB", + "id": "cl51w8s5u002l3cny2o7m161c", + "createTime": "2022-07-01T03:26:21.330Z", + "status": "1" + }, + { + "name": "F:\\sourceCode\\2022\\compute-cms\\db20220703182610.json", + "category": "db", + "id": "cl5564dxd0000sonyakfraso1", + "createTime": "2022-07-03T10:26:10.945Z" + }, + { + "name": "db20220703182700.json", + "category": "db", + "id": "cl5565fxt0000s0ny94tvajvl", + "createTime": "2022-07-03T10:27:00.209Z", + "status": "1" + }, + { + "name": "resourceDB20220703182700.json", + "category": "resourceDB", + "id": "cl5565g3o0003s0nyhl4m51nu", + "createTime": "2022-07-03T10:27:00.420Z", + "status": "1" + }, + { + "name": "backupDB20220703182700.json", + "category": "backupDB", + "id": "cl5565g7t0006s0ny2juo1ve3", + "createTime": "2022-07-03T10:27:00.570Z", + "status": "1" + }, + { + "name": "logDB20220703182700.json", + "category": "logDB", + "id": "cl5565gas0009s0nyfyi71i0a", + "createTime": "2022-07-03T10:27:00.676Z", + "status": "1" + }, + { + "name": "db20220703182710.json", + "category": "db", + "id": "cl5565npe000cs0ny4jmk13uj", + "createTime": "2022-07-03T10:27:10.274Z", + "status": "1" + }, + { + "name": "resourceDB20220703182710.json", + "category": "resourceDB", + "id": "cl5565num000fs0nyfuynhsvn", + "createTime": "2022-07-03T10:27:10.462Z", + "status": "1" + }, + { + "name": "backupDB20220703182710.json", + "category": "backupDB", + "id": "cl5565nxt000is0nyfaw54i99", + "createTime": "2022-07-03T10:27:10.578Z", + "status": "1" + }, + { + "name": "logDB20220703182710.json", + "category": "logDB", + "id": "cl5565o0q000ls0ny49na7htm", + "createTime": "2022-07-03T10:27:10.682Z", + "status": "1" + }, + { + "name": "db20220703182720.json", + "category": "db", + "id": "cl5565vh5000os0ny8q5l2dhe", + "createTime": "2022-07-03T10:27:20.346Z", + "status": "1" + }, + { + "name": "resourceDB20220703182720.json", + "category": "resourceDB", + "id": "cl5565vlh000rs0ny6nvm1t28", + "createTime": "2022-07-03T10:27:20.501Z", + "status": "1" + }, + { + "name": "backupDB20220703182720.json", + "category": "backupDB", + "id": "cl5565vpg000us0nyhchjafdx", + "createTime": "2022-07-03T10:27:20.644Z", + "status": "1" + }, + { + "name": "logDB20220703182720.json", + "category": "logDB", + "id": "cl5565vs9000xs0nybt568rnh", + "createTime": "2022-07-03T10:27:20.745Z", + "status": "1" + }, + { + "name": "db20220703182730.json", + "category": "db", + "id": "cl556638l0010s0ny42h7beca", + "createTime": "2022-07-03T10:27:30.405Z", + "status": "1" + }, + { + "name": "resourceDB20220703182730.json", + "category": "resourceDB", + "id": "cl55663c00013s0nyefkb8ozn", + "createTime": "2022-07-03T10:27:30.528Z", + "status": "1" + }, + { + "name": "backupDB20220703182730.json", + "category": "backupDB", + "id": "cl55663f50016s0nyhmal0v7o", + "createTime": "2022-07-03T10:27:30.641Z", + "status": "1" + }, + { + "name": "logDB20220703182730.json", + "category": "logDB", + "id": "cl55663i50019s0nydmqjhwqr", + "createTime": "2022-07-03T10:27:30.749Z", + "status": "1" + } + ] +} \ No newline at end of file diff --git a/server/db/db.json b/server/db/db.json new file mode 100644 index 0000000..b32e01b --- /dev/null +++ b/server/db/db.json @@ -0,0 +1,21146 @@ +{ + "employee": [ + { + "id": "cl3fqx6zb000034ny90rd333s", + "useName": "xxk", + "pwd": "123456", + "phone": "1342919898", + "vehiclePlateNumber": "sfsfsdf", + "userInfoPic": "/徐_1.png", + "createTime": "2022-05-21T10:46:44.377Z", + "name": "徐向奎", + "userName": "xxk", + "source_type": "IPC", + "forever": true, + "noticeTotal": "35" + }, + { + "id": "cl3fr1jsq000134nyel3tejys", + "name": "吴厚志", + "userName": "whz", + "pwd": "123456", + "phone": "13429198909", + "vehiclePlateNumber": "贵HD02265", + "userInfoPic": "/吴_1.png", + "remark": "", + "createTime": "2022-05-21T10:50:07.610Z", + "noticeTotal": "35", + "source_type": "IPC", + "forever": true + } + ], + "travelInformation": [ + { + "id": "cl3dl8tgb00021hmhd2t542kg", + "useDateTime": "2022-05-20 06:30:55", + "contactPhone": "13765598887", + "beginLocation": "凯里八小", + "endLocation": "黎平林业局", + "total": "1", + "price": "100", + "sum": 100, + "status": 1, + "createTime": "2022-05-19T22:32:16.667Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dlkna200041hmh0ffxa6d5", + "useDateTime": "2022-05-20 06:40:55", + "contactPhone": "18785592217", + "beginLocation": "凯里东站", + "endLocation": "黎平宋家庄", + "total": "1", + "price": "100", + "sum": 100, + "status": 2, + "createTime": "2022-05-19T22:41:28.538Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dlnw3700051hmhc8xp98yd", + "useDateTime": "2022-05-20 06:43:20", + "contactPhone": "15870291366", + "beginLocation": "小十字营盘坡口", + "endLocation": "黎平中贸", + "total": "1", + "price": "100", + "sum": 100, + "status": 1, + "createTime": "2022-05-19T22:43:59.923Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dpdu1a00061hmhhypvgr02", + "useDateTime": "2022-05-20 08:27:17", + "contactPhone": "13908558389", + "beginLocation": "凯丰教材", + "endLocation": "黎平平街", + "total": "1", + "price": "100", + "sum": 100, + "status": 1, + "createTime": "2022-05-20T00:28:09.166Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dpilpg00071hmhck4vdj5y", + "useDateTime": "2022-05-20 08:31:26", + "contactPhone": "15085268647", + "beginLocation": "南站", + "endLocation": "黎平中贸", + "total": "1", + "price": "100", + "sum": 100, + "status": 1, + "createTime": "2022-05-20T00:31:51.652Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dq3d8u00081hmh9eb05aal", + "useDateTime": "2022-05-20 08:46:52", + "contactPhone": "15186871496", + "beginLocation": "永华厂", + "endLocation": "大市场", + "total": "1", + "price": "100", + "sum": 100, + "status": 1, + "createTime": "2022-05-20T00:48:00.462Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dw44tq00091hmham7phnxh", + "useDateTime": "2022-05-20 11:35:20", + "contactPhone": "13885502160", + "beginLocation": "聚福广场", + "endLocation": "凯里大十字", + "total": 1, + "price": 100, + "sum": 100, + "status": 1, + "createTime": "2022-05-20T03:36:33.903Z", + "source_type": "IPC", + "forever": true, + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dw5y8y000a1hmh2twt4bxv", + "useDateTime": "2022-05-20 11:36:35", + "contactPhone": "18798501968", + "beginLocation": "交警队", + "endLocation": "馨怡名苑", + "total": 1, + "price": 100, + "sum": 100, + "status": 1, + "createTime": "2022-05-20T03:37:58.690Z", + "source_type": "IPC", + "forever": true, + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dw8c5y000b1hmhhpawb00s", + "useDateTime": "2022-05-20 11:38:00", + "contactPhone": "13638069406", + "beginLocation": "南站德顺", + "endLocation": "小十字", + "total": 1, + "price": 100, + "sum": 100, + "status": 1, + "createTime": "2022-05-20T03:39:50.038Z", + "source_type": "IPC", + "forever": true, + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dwc28d000c1hmh7h949egw", + "useDateTime": "2022-05-20 11:40:06", + "contactPhone": "18708556328", + "beginLocation": "南站", + "endLocation": "国贸", + "total": "1", + "price": "100", + "sum": 100, + "status": 2, + "createTime": "2022-05-20T03:42:43.789Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "id": "cl3dwe2n9000d1hmhh72z73u7", + "useDateTime": "2022-05-20 11:42:51", + "contactPhone": "18744822443", + "beginLocation": "天洗湾", + "endLocation": "中博", + "total": "2", + "price": 100, + "sum": 200, + "status": 1, + "createTime": "2022-05-20T03:44:17.637Z", + "source_type": "IPC", + "forever": true, + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 07:33:07", + "contactPhone": "15086243113", + "beginLocation": "环城东路", + "endLocation": "黎平翘街", + "total": "3", + "price": "100", + "status": 1, + "sum": 300, + "id": "cl3enxmn1000e1hmhf219g0h7", + "createTime": "2022-05-20T16:35:19.645Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 07:25:45", + "contactPhone": "18798575168", + "beginLocation": "未来城53栋", + "endLocation": "黎平向家坡", + "total": "2", + "price": "100", + "status": 1, + "sum": 200, + "id": "cl3f2moww000f1hmhbg3gas9y", + "createTime": "2022-05-20T23:26:43.616Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 08:15:48", + "contactPhone": "18385745670", + "beginLocation": "凯里站", + "endLocation": "五贵路", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3f4e7za000g1hmhhqdz12f9", + "createTime": "2022-05-21T00:16:07.654Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 14:45:08", + "contactPhone": "18375298278", + "beginLocation": "新化路口", + "endLocation": "凯里大十字", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3fiavdc000h1hmh8gp5cf9k", + "createTime": "2022-05-21T06:45:25.968Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 14:46:00", + "contactPhone": "18385839843", + "beginLocation": "港澳新区", + "endLocation": "牛场坝", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3fic1vw000i1hmh1mlw1yk6", + "createTime": "2022-05-21T06:46:21.068Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 14:46:43", + "contactPhone": "15808551106", + "beginLocation": "前街", + "endLocation": "中医院", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3fid0zl000j1hmh6yuj813f", + "createTime": "2022-05-21T06:47:06.561Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 14:47:20", + "contactPhone": "17608506509", + "beginLocation": "中贸", + "endLocation": "新加坡", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3fie349000k1hmhdgv1adhf", + "createTime": "2022-05-21T06:47:55.977Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 14:48:40", + "contactPhone": "18285595050", + "beginLocation": "港澳酒店", + "endLocation": "城西派出所", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3figbga000l1hmhcnps5hdi", + "createTime": "2022-05-21T06:49:40.090Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-21 15:14:47", + "contactPhone": "19885918308", + "beginLocation": "敦寨", + "endLocation": "大地春城", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3fjfyho000m1hmh8pwi3jtw", + "createTime": "2022-05-21T07:17:22.908Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 07:57:44", + "contactPhone": "18286531968", + "beginLocation": "隆源公馆", + "endLocation": "黎平翘街", + "total": "3", + "price": "100", + "status": 1, + "sum": 300, + "id": "cl3gj74dt000n1hmhcyst0p4t", + "createTime": "2022-05-21T23:58:16.817Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 07:58:30", + "contactPhone": "15585320707", + "beginLocation": "风情园", + "endLocation": "中贸", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3gj7s97000o1hmhe6kn2uov", + "createTime": "2022-05-21T23:58:47.755Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 07:59:01", + "contactPhone": "13595552345", + "beginLocation": "丰球全程", + "endLocation": "宋家庄", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3gj8u99000p1hmhds6d49hs", + "createTime": "2022-05-21T23:59:37.005Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 12:41:59", + "contactPhone": "15186850855", + "beginLocation": "大酒店", + "endLocation": "小十字", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3gtdp0d000q1hmh2yjecmti", + "createTime": "2022-05-22T04:43:19.645Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 12:41:59", + "contactPhone": "15186850855", + "beginLocation": "大酒店", + "endLocation": "小十字", + "total": "1", + "price": "100", + "status": 2, + "sum": 100, + "id": "cl3gtkk60000r1hmh42j61e2d", + "createTime": "2022-05-22T04:48:39.960Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 12:49:19", + "contactPhone": "18722735356", + "beginLocation": "歇家坪", + "endLocation": "腾龙酒店", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3gtlvzv000s1hmh6mpu9sd9", + "createTime": "2022-05-22T04:49:41.947Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 12:50:25", + "contactPhone": "18286590979", + "beginLocation": "清泉路", + "endLocation": "大十字", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3gtnjq7000t1hmh7l8hf8b3", + "createTime": "2022-05-22T04:50:59.359Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 12:51:38", + "contactPhone": "13885596499", + "beginLocation": "休闲广场", + "endLocation": "鑫鼎", + "total": "2", + "price": "100", + "status": 1, + "sum": 200, + "id": "cl3gtpfjo000u1hmh3oln2nnn", + "createTime": "2022-05-22T04:52:27.252Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 12:53:21", + "contactPhone": "15329550079", + "beginLocation": "天籁", + "endLocation": "天一", + "total": "1", + "price": "100", + "status": 1, + "sum": 100, + "id": "cl3gtru94000v1hmhgt040snv", + "createTime": "2022-05-22T04:54:19.624Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 16:42:53", + "contactPhone": "18185540621", + "beginLocation": "牛场坝", + "endLocation": "黎平平街", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "id": "cl3h1y80s000w1hmh68zb6b2g", + "createTime": "2022-05-22T08:43:14.332Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 16:43:18", + "contactPhone": "18212360904", + "beginLocation": "国贸", + "endLocation": "福一村", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "id": "cl3h1yvzp000x1hmhghvda85m", + "createTime": "2022-05-22T08:43:45.397Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 16:44:01", + "contactPhone": "18285093229", + "beginLocation": "东出口", + "endLocation": "休闲广场", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "id": "cl3h20jho000y1hmhhx4x45y0", + "createTime": "2022-05-22T08:45:02.508Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 16:44:01", + "contactPhone": "18285093229", + "beginLocation": "东出口", + "endLocation": "休闲广场", + "total": "1", + "price": "100", + "status": 2, + "sum": 100, + "id": "cl3h21ciu000z1hmh2ijn3aj7", + "createTime": "2022-05-22T08:45:40.134Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 16:46:38", + "contactPhone": "18286529065", + "beginLocation": "大十字", + "endLocation": "贡援坡", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "id": "cl3h22xz100101hmh5uta8kzk", + "createTime": "2022-05-22T08:46:54.589Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 16:47:09", + "contactPhone": "18385776312", + "beginLocation": "剑河", + "endLocation": "休闲广场", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "id": "cl3h23m3x00111hmh4covhgdu", + "createTime": "2022-05-22T08:47:25.869Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-22 16:47:50", + "contactPhone": "15985570678", + "beginLocation": "国贸", + "endLocation": "七小", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "id": "cl3h262u100121hmh37cdg8i4", + "createTime": "2022-05-22T08:49:20.857Z", + "userId": "cl3fqx6zb000034ny90rd333s" + }, + { + "useDateTime": "2022-05-31 22:31:47", + "contactPhone": "1312312", + "beginLocation": "123123", + "endLocation": "3454353", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9dbi30000cknyao2bcr9h", + "createTime": "2022-05-31T14:31:56.303Z" + }, + { + "useDateTime": "2022-05-31 22:33:00", + "contactPhone": "12312", + "beginLocation": "123213", + "endLocation": "123123", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9eu8b0001cknyc4770fzw", + "createTime": "2022-05-31T14:33:07.211Z" + }, + { + "useDateTime": "2022-05-31 22:33:27", + "contactPhone": "12312312", + "beginLocation": "1231231", + "endLocation": "123123", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9fcvi0002ckny9pm68qoz", + "createTime": "2022-05-31T14:33:31.375Z" + }, + { + "useDateTime": "2022-05-31 22:39:22", + "contactPhone": "123123", + "beginLocation": "123123", + "endLocation": "1231231", + "total": "1123123", + "price": "100", + "status": 0, + "sum": 112312300, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9n14z0003ckny7wj5ebij", + "createTime": "2022-05-31T14:39:29.412Z" + }, + { + "useDateTime": "2022-05-31 22:39:22", + "contactPhone": "123123", + "beginLocation": "123123", + "endLocation": "1231231", + "total": "1123123", + "price": "100", + "status": 0, + "sum": 112312300, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9oaam0004ckny89pk25cr", + "createTime": "2022-05-31T14:40:27.935Z" + }, + { + "useDateTime": "2022-05-31 22:39:22", + "contactPhone": "123123", + "beginLocation": "123123", + "endLocation": "1231231", + "total": "1123123", + "price": "100", + "status": 0, + "sum": 112312300, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9qcw20005cknyffvi8cn9", + "createTime": "2022-05-31T14:42:04.610Z" + }, + { + "useDateTime": "2022-05-31 22:39:22", + "contactPhone": "123123", + "beginLocation": "123123", + "endLocation": "1231231", + "total": "1123123", + "price": "100", + "status": 0, + "sum": 112312300, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9qg2v0006cknye5gj7bsd", + "createTime": "2022-05-31T14:42:08.743Z" + }, + { + "useDateTime": "2022-05-31 22:39:22", + "contactPhone": "123123", + "beginLocation": "123123", + "endLocation": "1231231", + "total": "1123123", + "price": "100", + "status": 0, + "sum": 112312300, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9qh100007ckny60kkc20j", + "createTime": "2022-05-31T14:42:09.972Z" + }, + { + "useDateTime": "2022-05-31 22:39:22", + "contactPhone": "123123", + "beginLocation": "123123", + "endLocation": "1231231", + "total": "1123123", + "price": "100", + "status": 0, + "sum": 112312300, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9rlkt0008ckny4z426dur", + "createTime": "2022-05-31T14:43:02.525Z" + }, + { + "useDateTime": "2022-05-31 22:39:22", + "contactPhone": "123123", + "beginLocation": "123123", + "endLocation": "1231231", + "total": "1123123", + "price": "100", + "status": 0, + "sum": 112312300, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9soh50009ckny44nfd5p6", + "createTime": "2022-05-31T14:43:52.937Z" + }, + { + "useDateTime": "2022-05-31 22:46:25", + "contactPhone": "1231", + "beginLocation": "12312", + "endLocation": "123123", + "total": "11", + "price": "100", + "status": 0, + "sum": 1100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9w3x7000acknyh9jr2mac", + "createTime": "2022-05-31T14:46:32.923Z" + }, + { + "useDateTime": "2022-05-31 22:47:40", + "contactPhone": "1231", + "beginLocation": "12312", + "endLocation": "123", + "total": "1123", + "price": "100", + "status": 0, + "sum": 112300, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9xo8s000bcknyh1vo6989", + "createTime": "2022-05-31T14:47:45.916Z" + }, + { + "useDateTime": "2022-05-31 22:48:37", + "contactPhone": "12312", + "beginLocation": "123", + "endLocation": "1231", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9yx7f000cckny7c7724df", + "createTime": "2022-05-31T14:48:44.187Z" + }, + { + "useDateTime": "2022-05-31 22:48:50", + "contactPhone": "123", + "beginLocation": "123", + "endLocation": "123", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9z5gt000dcknydvko4gx7", + "createTime": "2022-05-31T14:48:54.893Z" + }, + { + "useDateTime": "2022-05-31 22:49:22", + "contactPhone": "123", + "beginLocation": "123", + "endLocation": "123", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3u9zvlg000ecknycyh83ctf", + "createTime": "2022-05-31T14:49:28.756Z" + }, + { + "useDateTime": "2022-05-31 22:49:22", + "contactPhone": "123", + "beginLocation": "123", + "endLocation": "123", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3ua02tk000fckny5r074z97", + "createTime": "2022-05-31T14:49:38.120Z" + }, + { + "useDateTime": "2022-05-31 22:51:06", + "contactPhone": "12312", + "beginLocation": "1231", + "endLocation": "123", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3ua25z4000gckny7ave4z3t", + "createTime": "2022-05-31T14:51:15.520Z" + }, + { + "useDateTime": "2022-05-31 22:54:15", + "contactPhone": "1231", + "beginLocation": "12312", + "endLocation": "123", + "total": "1", + "price": "100", + "status": 0, + "sum": 100, + "userId": "cl3fqx6zb000034ny90rd333s", + "id": "cl3ua2ggy000hckny9es5hh8c", + "createTime": "2022-05-31T14:51:29.122Z" + } + ], + "Notice": [ + { + "id": "cl3h6zszo00006cny4tbt1tpy", + "message": "有新的通知,点击查看:您的余额提现(1000.00)已通过", + "sort": "1", + "userId": "cl3fqx6zb000034ny90rd333s", + "createTime": "2022-05-22T11:04:26.245Z" + }, + { + "id": "cl3h701zu00016cny29262sjv", + "message": "关于持续做好当前出租汽车行业疫情防控有关关", + "sort": "2", + "userId": "cl3fqx6zb000034ny90rd333s", + "createTime": "2022-05-22T11:04:37.914Z" + }, + { + "id": "cl3h7iypa000098ny8y292d70", + "message": "通知3", + "sort": 1, + "userId": "cl3fqx6zb000034ny90rd333s", + "createTime": "2022-05-22T11:19:20.110Z" + }, + { + "id": "cl3h7j6z0000198nyhla3bee4", + "message": "通知4", + "sort": 1, + "userId": "cl3fqx6zb000034ny90rd333s", + "createTime": "2022-05-22T11:19:30.828Z" + }, + { + "id": "cm6pweqd800038orbc90n4fjd", + "message": "xxx", + "sort": 1, + "userId": "cl3fqx6zb000034ny90rd333s", + "createTime": "2025-02-04T03:06:33.596Z" + }, + { + "id": "cm6qaqhsr00058orb8wnhgybb", + "message": "ddssds", + "sort": 1, + "createTime": "2025-02-04T09:47:36.988Z" + } + ], + "leaseRecords": [ + { + "company": "公司1", + "contact": "張三", + "contactPhone": "13429193899", + "total": "89", + "price": "51", + "deposit": "1000", + "totalPrice": "5000", + "address": "11", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "22", + "idNoFace": "/resource/static\\cl550ghgt0008lsnyc7jl7rhw.jpg", + "idNoNationalEmblem": "/resource/static\\cl550gk3e000alsnyafhcc8b2.jpg", + "businessLicense": "", + "id": "cl4v18qs6001ix4nyecdc3v2e", + "createTime": "2022-06-26T08:11:54.390Z", + "startDateTime": "2022-05-31T16:00:00.000Z" + }, + { + "company": "11", + "contact": "11", + "contactPhone": "11", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "1111", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "11", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vaccg1001jx4ny3sa3gfw3", + "createTime": "2022-06-26T12:26:38.977Z" + }, + { + "company": "11", + "contact": "11", + "contactPhone": "11", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "1111", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "11", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vadcmq001kx4nyfx08495n", + "createTime": "2022-06-26T12:27:25.875Z" + }, + { + "company": "111", + "contact": "111", + "contactPhone": "111", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "11", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vae22q001lx4ny7nwz6zde", + "createTime": "2022-06-26T12:27:58.850Z" + }, + { + "company": "111", + "contact": "111", + "contactPhone": "111", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "11", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vaeesq001mx4nyce0309lx", + "createTime": "2022-06-26T12:28:15.339Z" + }, + { + "company": "111", + "contact": "111", + "contactPhone": "111", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "11", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vaemar001nx4ny17uf9gyp", + "createTime": "2022-06-26T12:28:25.059Z" + }, + { + "company": "111", + "contact": "111", + "contactPhone": "111", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "11", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vafgbc001ox4ny2dcvc50q", + "createTime": "2022-06-26T12:29:03.960Z" + }, + { + "company": "22", + "contact": "33", + "contactPhone": "44", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "55", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vafpt9001px4nyagqcajws", + "createTime": "2022-06-26T12:29:16.269Z" + }, + { + "company": "44", + "contact": "55", + "contactPhone": "66", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "777", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vah21h001qx4ny5cxabkkc", + "createTime": "2022-06-26T12:30:18.773Z" + }, + { + "company": "77", + "contact": "66", + "contactPhone": "", + "total": "0", + "price": "0", + "deposit": "0", + "totalPrice": "0", + "address": "", + "startDateTime": "2022/06/26", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "", + "idNoFace": [], + "idNoNationalEmblem": [], + "businessLicense": [], + "id": "cl4vahw3x001rx4ny74ac1aj6", + "createTime": "2022-06-26T12:30:57.741Z" + }, + { + "company": "公司1", + "contact": "張三", + "contactPhone": "13429193899", + "total": "89", + "price": "50", + "deposit": "1000", + "totalPrice": "5000", + "address": "11", + "startDateTime": "2022-05-31T16:00:00.000Z", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "22", + "idNoFace": [ + { + "url": "/resource/static\\cl4wq1ywc0000a0ny2y25e0fa.jpg" + } + ], + "idNoNationalEmblem": [ + { + "url": "/resource/static\\cl4wq21vu0002a0ny07359nx6.jpg" + } + ], + "businessLicense": [ + { + "url": "/resource/static\\cl4wq28rt0004a0ny5nj4gbe2.jpg" + } + ], + "id": "cl5508mp10006lsny2tbt4chj", + "createTime": "2022-07-03T07:41:31.237Z" + }, + { + "company": "公司1", + "contact": "張三", + "contactPhone": "13429193899", + "total": "89", + "price": "50", + "deposit": "1000", + "totalPrice": "5000", + "address": "11", + "startDateTime": "2022-05-31T16:00:00.000Z", + "expiresDateTime": "2022/06/26", + "status": 0, + "remark": "22", + "idNoFace": [ + { + "url": "/resource/static\\cl4wq1ywc0000a0ny2y25e0fa.jpg" + } + ], + "idNoNationalEmblem": [ + { + "url": "/resource/static\\cl4wq21vu0002a0ny07359nx6.jpg" + } + ], + "businessLicense": [ + { + "url": "/resource/static\\cl4wq28rt0004a0ny5nj4gbe2.jpg" + } + ], + "id": "cl55092v20007lsny4rgpc5yu", + "createTime": "2022-07-03T07:41:52.190Z" + } + ], + "configurationList": [ + { + "id": "cl4xmboa2000040nycihi1sxc", + "leaseRecordId": "cl4v18qs6001ix4nyecdc3v2e", + "leaseRecordName": "公司1-張三", + "equipment": "七彩虹120G固态", + "brand": "七彩虹", + "price": "80", + "total": "100", + "createTime": "2022-06-28T03:37:35.403Z" + }, + { + "id": "cl4y1r3vp0000isny2wh7ertb", + "leaseRecordId": "cl4v18qs6001ix4nyecdc3v2e", + "equipment": "g41", + "brand": "华硕", + "price": "80", + "total": "20", + "code": 0, + "data": {}, + "createTime": "2022-06-28T10:49:29.702Z" + }, + { + "id": "cl4y1s0h20001isnyhp6l8i0g", + "leaseRecordId": "cl4v18qs6001ix4nyecdc3v2e", + "equipment": "G41", + "brand": "华硕", + "price": "80", + "total": "20", + "code": 0, + "data": {}, + "createTime": "2022-06-28T10:50:11.942Z" + }, + { + "id": "cl4y2thr40002isnycd2wciah", + "leaseRecordId": "leaseRecordId", + "equipment": "g31", + "brand": "华硕", + "price": "60", + "total": "20", + "code": 0, + "data": {}, + "createTime": "2022-06-28T11:19:20.608Z" + }, + { + "id": "cl4y2xcvo0003isnyerm532qs", + "leaseRecordId": "cl4v18qs6001ix4nyecdc3v2e", + "equipment": "5600x ", + "brand": "AMD", + "price": "1500", + "total": "10", + "createTime": "2022-06-28T11:22:20.916Z" + }, + { + "id": "cl550t8rw000elsnyepe077jh", + "leaseRecordId": "cl4v18qs6001ix4nyecdc3v2e", + "equipment": "test", + "brand": "", + "price": "0", + "total": "0", + "createTime": "2022-07-03T07:57:32.972Z" + }, + { + "id": "cl550tbuj000flsnyhev3bc12", + "leaseRecordId": "cl4v18qs6001ix4nyecdc3v2e", + "equipment": "teste", + "brand": "", + "price": "0", + "total": "0", + "createTime": "2022-07-03T07:57:36.955Z" + } + ], + "subOrder": [ + { + "id": "cl5z7wm790000pgnycmsf4zht", + "leaseRecordId": "cl4vafpt9001px4nyagqcajws", + "name": "电脑", + "startDateTime": "2022/07/24", + "expiresDateTime": "2022/11/01", + "price": "50", + "total": "10", + "createTime": "2022-07-24T11:09:12.934Z" + }, + { + "id": "cl5z7zpdr0001pgnyfqqyaq4s", + "leaseRecordId": "cl4vaccg1001jx4ny3sa3gfw3", + "name": "电脑", + "startDateTime": "2022/07/24", + "expiresDateTime": "2022/11/01", + "price": "50", + "total": "10", + "createTime": "2022-07-24T11:11:37.023Z" + }, + { + "id": "cl5z8291e0002pgny8tnzbz5b", + "leaseRecordId": "cl4vafpt9001px4nyagqcajws", + "name": "台式电脑", + "startDateTime": "2022/07/24", + "expiresDateTime": "2022/12/01", + "price": "50", + "total": "-10", + "createTime": "2022-07-24T11:13:35.810Z" + }, + { + "id": "cl5z89m0k0003pgny3dm523r2", + "leaseRecordId": "cl4vaccg1001jx4ny3sa3gfw3", + "name": "台式电脑", + "startDateTime": "2022/07/24", + "expiresDateTime": "2022/10/03", + "price": "50", + "total": "10", + "remark": "第一次租赁", + "createTime": "2022-07-24T11:19:19.220Z" + }, + { + "id": "cl5z8avbw0004pgny02w103ez", + "leaseRecordId": "cl4vaccg1001jx4ny3sa3gfw3", + "name": "台式电脑", + "startDateTime": "2022/07/24", + "expiresDateTime": "2022/10/01", + "price": "10", + "total": "-5", + "remark": "退租5台", + "createTime": "2022-07-24T11:20:17.948Z" + }, + { + "id": "cl5z8c2t10005pgnybfay53th", + "leaseRecordId": "cl4vaccg1001jx4ny3sa3gfw3", + "name": "笔记本电脑", + "startDateTime": "2022/07/24", + "expiresDateTime": "2022/12/01", + "price": "80", + "total": "2", + "remark": "又加机2台", + "createTime": "2022-07-24T11:21:14.294Z" + } + ], + "qa": [ + { + "id": "clhbr8w8l0000kuijdxnh8dms", + "name": " ", + "userName": " ", + "createTime": "2023-05-06T09:00:38.327Z", + "source_type": "IPC", + "forever": true, + "answer": "", + "question": "检查是否是类的对象实例\n\n请你编写一个函数,检查给定的对象是否是给定类或超类的实例。\n\n可以传递给函数的数据类型没有限制。\n\n示例 1:\n\n输入:func = () => checkIfInstance(new Date(), Date)\n输出:true\n解释:根据定义,Date 构造函数返回的对象是 Date 的一个实例。\n示例 2:\n\n输入:func = () => { class Animal {}; class Dog extends Animal {}; return checkIfInstance(new Dog(), Animal); }\n输出:true\n解释:\nclass Animal {};\nclass Dog extends Animal {};\ncheckIfInstance(new Dog(), Animal); // true\n\nDog 是 Animal 的子类。因此,Dog 对象同时是 Dog 和 Animal 的实例。\n示例 3:\n\n输入:func = () => checkIfInstance(Date, Date)\n输出:false\n解释:日期的构造函数在逻辑上不能是其自身的实例。\n示例 4:\n\n输入:func = () => checkIfInstance(5, Number)\n输出:true\n解释:5 是一个 Number。注意,\"instanceof\" 关键字将返回 false。\n\n来源:力扣(LeetCode)\n链接:https://leetcode.cn/problems/check-if-object-instance-of-class\n著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处", + "tag": [ + "js" + ] + }, + { + "id": "clhcrtwcq000ckuij2wrsfvi2", + "question": "说说你对vue的理解?", + "answer": "二、vue是什么\nVue.js(/vjuː/,或简称为Vue)是一个用于创建用户界面的开源JavaScript框架,也是一个创建单页应用的Web应用框架。2016年一项针对JavaScript的调查表明,Vue有着89%的开发者满意度。在GitHub上,该项目平均每天能收获95颗星,为Github有史以来星标数第3多的项目同时也是一款流行的JavaScript前端框架,旨在更好地组织与简化Web开发。Vue所关注的核心是MVC模式中的视图层,同时,它也能方便地获取数据更新,并通过组件内部特定的方法实现视图与模型的交互PS: Vue作者尤雨溪是在为AngularJS工作之后开发出了这一框架。他声称自己的思路是提取Angular中为自己所喜欢的部分,构建出一款相当轻量的框架最早发布于2014年2月\n\n三、Vue核心特性\n数据驱动(MVVM)\nMVVM表示的是 Model-View-ViewModel\n\nModel:模型层,负责处理业务逻辑以及和服务器端进行交互\nView:视图层:负责将数据模型转化为UI展示出来,可以简单的理解为HTML页面\nViewModel:视图模型层,用来连接Model和View,是Model和View之间的通信桥梁\n这时候需要一张直观的关系图,如下\nimage.png\n\n组件化\n1.什么是组件化一句话来说就是把图形、非图形的各种逻辑均抽象为一个统一的概念(组件)来实现开发的模式,在Vue中每一个.vue文件都可以视为一个组件2.组件化的优势\n\n降低整个系统的耦合度,在保持接口不变的情况下,我们可以替换不同的组件快速完成需求,例如输入框,可以替换为日历、时间、范围等组件作具体的实现\n调试方便,由于整个系统是通过组件组合起来的,在出现问题的时候,可以用排除法直接移除组件,或者根据报错的组件快速定位问题,之所以能够快速定位,是因为每个组件之间低耦合,职责单一,所以逻辑会比分析整个系统要简单\n提高可维护性,由于每个组件的职责单一,并且组件在系统中是被复用的,所以对代码进行优化可获得系统的整体升级\n指令系统\n解释:指令 (Directives) 是带有 v- 前缀的特殊属性作用:当表达式的值改变时,将其产生的连带影响,响应式地作用于 DOM\n\n常用的指令\n\n条件渲染指令 v-if\n列表渲染指令v-for\n属性绑定指令v-bind\n事件绑定指令v-on\n双向数据绑定指令v-model\n没有指令之前我们是怎么做的?是不是先要获取到DOM然后在....干点啥\n\n四、Vue跟传统开发的区别\n没有落地使用场景的革命不是好革命,就以一个高频的应用场景来示意吧注册账号这个需求大家应该很熟悉了,如下\n用jquery来实现大概的思路就是选择流程dom对象,点击按钮隐藏当前活动流程dom对象,显示下一流程dom对象如下图(代码就不上了,上了就篇文章就没了..)\n用vue来实现,我们知道vue基本不操作dom节点, 双向绑定使dom节点跟视图绑定后,通过修改变量的值控制dom节点的各类属性。所以其实现思路为:视图层使用一变量控制dom节点显示与否,点击按钮则改变该变量,如下图\n\n\n\n总结就是:\n\nVue所有的界面事件,都是只去操作数据的,Jquery操作DOM\nVue所有界面的变动,都是根据数据自动绑定出来的,Jquery操作DOM\n五、Vue和React对比\n这里就做几个简单的类比吧,当然没有好坏之分,只是使用场景不同\n\n相同点\n都有组件化思想\n都支持服务器端渲染\n都有Virtual DOM(虚拟dom)\n数据驱动视图\n都有支持native的方案:Vue的weex、React的React native\n都有自己的构建工具:Vue的vue-cli、React的Create React App\n区别\n数据变化的实现原理不同。react使用的是不可变数据,而Vue使用的是可变的数据\n组件化通信的不同。react中我们通过使用回调函数来进行通信的,而Vue中子组件向父组件传递消息有两种方式:事件和回调函数\ndiff算法不同。react主要使用diff队列保存需要更新哪些DOM,得到patch树,再统一操作批量更新DOM。Vue 使用双向指针,边对比,边更新DOM\n\n参考文献\nhttps://segmentfault.com/a/1190000016269636\nhttps://zh.wikipedia.org/zh-cn/Vue.js\nhttps://zhuanlan.zhihu.com/p/20197803\nhttps://zhuanlan.zhihu.com/p/38296857", + "createTime": "2023-05-07T02:04:44.426Z", + "tag": [ + "vue3" + ] + }, + { + "id": "clhcwpu19000ekuijexuf71yd", + "question": "说说你对双向绑定的理解?", + "answer": "一、什么是双向绑定\n我们先从单向绑定切入单向绑定非常简单,就是把Model绑定到View,当我们用JavaScript代码更新Model时,View就会自动更新双向绑定就很容易联想到了,在单向绑定的基础上,用户更新了View,Model的数据也自动被更新了,这种情况就是双向绑定举个栗子\n\n\n\n当用户填写表单时,View的状态就被更新了,如果此时可以自动更新Model的状态,那就相当于我们把Model和View做了双向绑定关系图如下\n\n\n\n二、双向绑定的原理是什么\n我们都知道 Vue 是数据双向绑定的框架,双向绑定由三个重要部分构成\n\n数据层(Model):应用的数据及业务逻辑\n视图层(View):应用的展示效果,各类UI组件\n业务逻辑层(ViewModel):框架封装的核心,它负责将数据与视图关联起来\n而上面的这个分层的架构方案,可以用一个专业术语进行称呼:MVVM这里的控制层的核心功能便是 “数据双向绑定” 。自然,我们只需弄懂它是什么,便可以进一步了解数据绑定的原理\n\n理解ViewModel\n它的主要职责就是:\n\n数据变化后更新视图\n视图变化后更新数据\n当然,它还有两个主要部分组成\n\n监听器(Observer):对所有数据的属性进行监听\n解析器(Compiler):对每个元素节点的指令进行扫描跟解析,根据指令模板替换数据,以及绑定相应的更新函数\n三、实现双向绑定\n我们还是以Vue为例,先来看看Vue中的双向绑定流程是什么的\n\nnew Vue()首先执行初始化,对data执行响应化处理,这个过程发生Observe中\n同时对模板执行编译,找到其中动态绑定的数据,从data中获取并初始化视图,这个过程发生在Compile中\n同时定义⼀个更新函数和Watcher,将来对应数据变化时Watcher会调用更新函数\n由于data的某个key在⼀个视图中可能出现多次,所以每个key都需要⼀个管家Dep来管理多个Watcher\n将来data中数据⼀旦发生变化,会首先找到对应的Dep,通知所有Watcher执行更新函数\n流程图如下:\n\n\n\n实现\n先来一个构造函数:执行初始化,对data执行响应化处理\n\nclass Vue { \n constructor(options) { \n this.$options = options; \n this.$data = options.data; \n \n // 对data选项做响应式处理 \n observe(this.$data); \n \n // 代理data到vm上 \n proxy(this); \n \n // 执行编译 \n new Compile(options.el, this); \n } \n} \n对data选项执行响应化具体操作\n\nfunction observe(obj) { \n if (typeof obj !== \"object\" || obj == null) { \n return; \n } \n new Observer(obj); \n} \n \nclass Observer { \n constructor(value) { \n this.value = value; \n this.walk(value); \n } \n walk(obj) { \n Object.keys(obj).forEach((key) => { \n defineReactive(obj, key, obj[key]); \n }); \n } \n} \n编译Compile\n对每个元素节点的指令进行扫描跟解析,根据指令模板替换数据,以及绑定相应的更新函数\n\n\n\nclass Compile { \n constructor(el, vm) { \n this.$vm = vm; \n this.$el = document.querySelector(el); // 获取dom \n if (this.$el) { \n this.compile(this.$el); \n } \n } \n compile(el) { \n const childNodes = el.childNodes; \n Array.from(childNodes).forEach((node) => { // 遍历子元素 \n if (this.isElement(node)) { // 判断是否为节点 \n console.log(\"编译元素\" + node.nodeName); \n } else if (this.isInterpolation(node)) { \n console.log(\"编译插值⽂本\" + node.textContent); // 判断是否为插值文本 {{}} \n } \n if (node.childNodes && node.childNodes.length > 0) { // 判断是否有子元素 \n this.compile(node); // 对子元素进行递归遍历 \n } \n }); \n } \n isElement(node) { \n return node.nodeType == 1; \n } \n isInterpolation(node) { \n return node.nodeType == 3 && /\\{\\{(.*)\\}\\}/.test(node.textContent); \n } \n} \n \n依赖收集\n视图中会用到data中某key,这称为依赖。同⼀个key可能出现多次,每次都需要收集出来用⼀个Watcher来维护它们,此过程称为依赖收集多个Watcher需要⼀个Dep来管理,需要更新时由Dep统⼀通知\n\n\n\n实现思路\n\ndefineReactive时为每⼀个key创建⼀个Dep实例\n初始化视图时读取某个key,例如name1,创建⼀个watcher1\n由于触发name1的getter方法,便将watcher1添加到name1对应的Dep中\n当name1更新,setter触发时,便可通过对应Dep通知其管理所有Watcher更新\n// 负责更新视图 \nclass Watcher { \n constructor(vm, key, updater) { \n this.vm = vm \n this.key = key \n this.updaterFn = updater \n \n // 创建实例时,把当前实例指定到Dep.target静态属性上 \n Dep.target = this \n // 读一下key,触发get \n vm[key] \n // 置空 \n Dep.target = null \n } \n \n // 未来执行dom更新函数,由dep调用的 \n update() { \n this.updaterFn.call(this.vm, this.vm[this.key]) \n } \n} \n声明Dep\n\nclass Dep { \n constructor() { \n this.deps = []; // 依赖管理 \n } \n addDep(dep) { \n this.deps.push(dep); \n } \n notify() { \n this.deps.forEach((dep) => dep.update()); \n } \n} \n创建watcher时触发getter\n\nclass Watcher { \n constructor(vm, key, updateFn) { \n Dep.target = this; \n this.vm[this.key]; \n Dep.target = null; \n } \n} \n \n依赖收集,创建Dep实例\n\nfunction defineReactive(obj, key, val) { \n this.observe(val); \n const dep = new Dep(); \n Object.defineProperty(obj, key, { \n get() { \n Dep.target && dep.addDep(Dep.target);// Dep.target也就是Watcher实例 \n return val; \n }, \n set(newVal) { \n if (newVal === val) return; \n dep.notify(); // 通知dep执行更新方法 \n }, \n }); \n} \n参考文献\nhttps://www.liaoxuefeng.com/wiki/1022910821149312/1109527162256416\nhttps://juejin.cn/post/6844903942254510087#heading-9", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T04:21:32.880Z" + }, + { + "id": "clhcy4emq0002yxijclsg6xzx", + "question": "说说你对SPA(单页应用)的理解? ", + "answer": "一、什么是SPA\nSPA(single-page application),翻译过来就是单页应用SPA是一种网络应用程序或网站的模型,它通过动态重写当前页面来与用户交互,这种方法避免了页面之间切换打断用户体验在单页应用中,所有必要的代码(HTML、JavaScript和CSS)都通过单个页面的加载而检索,或者根据需要(通常是为响应用户操作)动态装载适当的资源并添加到页面页面在任何时间点都不会重新加载,也不会将控制转移到其他页面举个例子来讲就是一个杯子,早上装的牛奶,中午装的是开水,晚上装的是茶,我们发现,变的始终是杯子里的内容,而杯子始终是那个杯子结构如下图\n\n\n\n我们熟知的JS框架如react,vue,angular,ember都属于SPA\n\n二、SPA和MPA的区别\n上面大家已经对单页面有所了解了,下面来讲讲多页应用MPA(MultiPage-page application),翻译过来就是多页应用在MPA中,每个页面都是一个主页面,都是独立的当我们在访问另一个页面的时候,都需要重新加载html、css、js文件,公共文件则根据需求按需加载如下图\n\n\n\n单页应用与多页应用的区别\n|\n| 单页面应用(SPA) | 多页面应用(MPA) |\n| :-- | :-- | :-- |\n| 组成 | 一个主页面和多个页面片段 | 多个主页面 |\n| 刷新方式 | 局部刷新 | 整页刷新 |\n| url模式 | 哈希模式 | 历史模式 |\n| SEO搜索引擎优化 | 难实现,可使用SSR方式改善 | 容易实现 |\n| 数据传递 | 容易 | 通过url、cookie、localStorage等传递 |\n| 页面切换 | 速度快,用户体验良好 | 切换加载资源,速度慢,用户体验差 |\n| 维护成本 | 相对容易 | 相对复杂 |\n\n单页应用优缺点\n优点:\n\n具有桌面应用的即时性、网站的可移植性和可访问性\n用户体验好、快,内容的改变不需要重新加载整个页面\n良好的前后端分离,分工更明确\n缺点:\n\n不利于搜索引擎的抓取\n首次渲染速度相对较慢\n三、实现一个SPA\n原理\n监听地址栏中hash变化驱动界面变化\n用pushsate记录浏览器的历史,驱动界面发送变化\n\n\n实现\nhash 模式\n核心通过监听url中的hash来进行路由跳转\n\n// 定义 Router \nclass Router { \n constructor () { \n this.routes = {}; // 存放路由path及callback \n this.currentUrl = ''; \n \n // 监听路由change调用相对应的路由回调 \n window.addEventListener('load', this.refresh, false); \n window.addEventListener('hashchange', this.refresh, false); \n } \n \n route(path, callback){ \n this.routes[path] = callback; \n } \n \n push(path) { \n this.routes[path] && this.routes[path]() \n } \n} \n \n// 使用 router \nwindow.miniRouter = new Router(); \nminiRouter.route('/', () => console.log('page1')) \nminiRouter.route('/page2', () => console.log('page2')) \n \nminiRouter.push('/') // page1 \nminiRouter.push('/page2') // page2 \nhistory模式\nhistory 模式核心借用 HTML5 history api,api 提供了丰富的 router 相关属性先了解一个几个相关的api\n\nhistory.pushState 浏览器历史纪录添加记录\nhistory.replaceState修改浏览器历史纪录中当前纪录\nhistory.popState 当 history 发生变化时触发\n// 定义 Router \nclass Router { \n constructor () { \n this.routes = {}; \n this.listerPopState() \n } \n \n init(path) { \n history.replaceState({path: path}, null, path); \n this.routes[path] && this.routes[path](); \n } \n \n route(path, callback){ \n this.routes[path] = callback; \n } \n \n push(path) { \n history.pushState({path: path}, null, path); \n this.routes[path] && this.routes[path](); \n } \n \n listerPopState () { \n window.addEventListener('popstate' , e => { \n const path = e.state && e.state.path; \n this.routers[path] && this.routers[path]() \n }) \n } \n} \n \n// 使用 Router \n \nwindow.miniRouter = new Router(); \nminiRouter.route('/', ()=> console.log('page1')) \nminiRouter.route('/page2', ()=> console.log('page2')) \n \n// 跳转 \nminiRouter.push('/page2') // page2 \n四、题外话:如何给SPA做SEO\n下面给出基于Vue的SPA如何实现SEO的三种方式\n\nSSR服务端渲染\n将组件或页面通过服务器生成html,再返回给浏览器,如nuxt.js\n\n静态化\n目前主流的静态化主要有两种:(1)一种是通过程序将动态页面抓取并保存为静态页面,这样的页面的实际存在于服务器的硬盘中(2)另外一种是通过WEB服务器的 URL Rewrite的方式,它的原理是通过web服务器内部模块按一定规则将外部的URL请求转化为内部的文件地址,一句话来说就是把外部请求的静态地址转化为实际的动态页面地址,而静态页面实际是不存在的。这两种方法都达到了实现URL静态化的效果\n\n使用Phantomjs针对爬虫处理\n原理是通过Nginx配置,判断访问来源是否为爬虫,如果是则搜索引擎的爬虫请求会转发到一个node server,再通过PhantomJS来解析完整的HTML,返回给爬虫。下面是大致流程图\n\n\n\n参考文献\nhttps://segmentfault.com/a/1190000019623624\nhttps://juejin.cn/post/6844903512107663368\nhttps://www.cnblogs.com/constantince/p/5586851.html", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T05:00:52.371Z" + }, + { + "id": "clhcy8off0004yxije2ox7qvm", + "question": "Vue中的v-show和v-if怎么理解?", + "answer": "一、v-show与v-if的共同点\n我们都知道在 vue 中 v-show 与 v-if 的作用效果是相同的(不含v-else),都能控制元素在页面是否显示\n\n在用法上也是相同的\n\n\n\n当表达式为true的时候,都会占据页面的位置\n当表达式都为false时,都不会占据页面位置\n二、v-show与v-if的区别\n控制手段不同\n编译过程不同\n编译条件不同\n控制手段:v-show隐藏则是为该元素添加css--display:none,dom元素依旧还在。v-if显示隐藏是将dom元素整个添加或删除\n\n编译过程:v-if切换有一个局部编译/卸载的过程,切换过程中合适地销毁和重建内部的事件监听和子组件;v-show只是简单的基于css切换\n\n编译条件:v-if是真正的条件渲染,它会确保在切换过程中条件块内的事件监听器和子组件适当地被销毁和重建。只有渲染条件为假时,并不做操作,直到为真才渲染\n\nv-show 由false变为true的时候不会触发组件的生命周期\n\nv-if由false变为true的时候,触发组件的beforeCreate、create、beforeMount、mounted钩子,由true变为false的时候触发组件的beforeDestory、destoryed方法\n\n性能消耗:v-if有更高的切换消耗;v-show有更高的初始渲染消耗;\n\n三、v-show与v-if原理分析\n具体解析流程这里不展开讲,大致流程如下\n\n将模板template转为ast结构的JS对象\n用ast得到的JS对象拼装render和staticRenderFns函数\nrender和staticRenderFns函数被调用后生成虚拟VNODE节点,该节点包含创建DOM节点所需信息\nvm.patch函数通过虚拟DOM算法利用VNODE节点创建真实DOM节点\nv-show原理\n不管初始条件是什么,元素总是会被渲染\n\n我们看一下在vue中是如何实现的\n\n代码很好理解,有transition就执行transition,没有就直接设置display属性\n\n// https://github.com/vuejs/vue-next/blob/3cd30c5245da0733f9eb6f29d220f39c46518162/packages/runtime-dom/src/directives/vShow.ts\nexport const vShow: ObjectDirective = {\n beforeMount(el, { value }, { transition }) {\n el._vod = el.style.display === 'none' ? '' : el.style.display\n if (transition && value) {\n transition.beforeEnter(el)\n } else {\n setDisplay(el, value)\n }\n },\n mounted(el, { value }, { transition }) {\n if (transition && value) {\n transition.enter(el)\n }\n },\n updated(el, { value, oldValue }, { transition }) {\n // ...\n },\n beforeUnmount(el, { value }) {\n setDisplay(el, value)\n }\n}\nv-if原理\nv-if在实现上比v-show要复杂的多,因为还有else else-if 等条件需要处理,这里我们也只摘抄源码中处理 v-if 的一小部分\n\n返回一个node节点,render函数通过表达式的值来决定是否生成DOM\n\n// https://github.com/vuejs/vue-next/blob/cdc9f336fd/packages/compiler-core/src/transforms/vIf.ts\nexport const transformIf = createStructuralDirectiveTransform(\n /^(if|else|else-if)$/,\n (node, dir, context) => {\n return processIf(node, dir, context, (ifNode, branch, isRoot) => {\n // ...\n return () => {\n if (isRoot) {\n ifNode.codegenNode = createCodegenNodeForBranch(\n branch,\n key,\n context\n ) as IfConditionalExpression\n } else {\n // attach this branch's codegen node to the v-if root.\n const parentCondition = getParentCondition(ifNode.codegenNode!)\n parentCondition.alternate = createCodegenNodeForBranch(\n branch,\n key + ifNode.branches.length - 1,\n context\n )\n }\n }\n })\n }\n)\n四、v-show与v-if的使用场景\nv-if 与 v-show 都能控制dom元素在页面的显示\n\nv-if 相比 v-show 开销更大的(直接操作dom节点增加与删除)\n\n如果需要非常频繁地切换,则使用 v-show 较好\n\n如果在运行时条件很少改变,则使用 v-if 较好\n\n参考文献\nhttps://www.jianshu.com/p/7af8554d8f08\nhttps://juejin.cn/post/6897948855904501768\nhttps://vue3js/docs/zh", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T05:04:11.692Z" + }, + { + "id": "clhd1wdvg0006yxijc7sc40pn", + "question": "Vue实例挂载的过程中发生了什么?", + "answer": "在Vue实例挂载之前,Vue会将模板(template)编译成渲染函数(render function),然后创建一个虚拟DOM(Virtual DOM)节点树。接着会将Vue实例的数据(data)和虚拟DOM节点树进行关联,当数据变化时,Vue会通过响应式系统(Reactivity System)自动更新虚拟DOM。最后将虚拟DOM渲染到浏览器中,完成组件的挂载。\n\n具体来说,Vue实例挂载的过程如下:\n\n解析模板 Vue将template解析成AST(Abstract Syntax Tree)抽象语法树。\n编译渲染函数 将AST编译成渲染函数(render function)。\n数据劫持 Vue会对data对象进行数据劫持,以便在数据发生变化时可以及时更新视图。\n创建虚拟DOM 利用渲染函数和数据,Vue会创建虚拟DOM树,即VNode节点树。\n渲染虚拟DOM Vue会将VNode节点渲染成真实的DOM节点,并插入到文档中。此时,组件已经被挂载到页面上了。\n监听数据变化 Vue会通过响应式系统监听data对象的变化,并在数据发生变化时更新视图。\n销毁 当Vue实例被销毁时,Vue会自动注销所有事件监听器和定时器,以及从DOM树中移除组件节点。", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T06:46:36.607Z" + }, + { + "id": "clhd1y19g0008yxijg3gsad2b", + "question": "说说你对Vue生命周期的理解?", + "answer": "一、生命周期是什么\n生命周期(Life Cycle)的概念应用很广泛,特别是在政治、经济、环境、技术、社会等诸多领域经常出现,其基本涵义可以通俗地理解为“从摇篮到坟墓”(Cradle-to-Grave)的整个过程在Vue中实例从创建到销毁的过程就是生命周期,即指从创建、初始化数据、编译模板、挂载Dom→渲染、更新→渲染、卸载等一系列过程我们可以把组件比喻成工厂里面的一条流水线,每个工人(生命周期)站在各自的岗位,当任务流转到工人身边的时候,工人就开始工作PS:在Vue生命周期钩子会自动绑定 this 上下文到实例中,因此你可以访问数据,对 property 和方法进行运算这意味着你不能使用箭头函数来定义一个生命周期方法 (例如 created: () => this.fetchTodos())\n\n二、生命周期有哪些\nVue生命周期总共可以分为8个阶段:创建前后, 载入前后,更新前后,销毁前销毁后,以及一些特殊场景的生命周期\n\n生命周期\t描述\nbeforeCreate\t组件实例被创建之初\ncreated\t组件实例已经完全创建\nbeforeMount\t组件挂载之前\nmounted\t组件挂载到实例上去之后\nbeforeUpdate\t组件数据发生变化,更新之前\nupdated\t数据数据更新之后\nbeforeDestroy\t组件实例销毁之前\ndestroyed\t组件实例销毁之后\nactivated\tkeep-alive 缓存的组件激活时\ndeactivated\tkeep-alive 缓存的组件停用时调用\nerrorCaptured\t捕获一个来自子孙组件的错误时被调用\n三、生命周期整体流程\nVue生命周期流程图\n\n\n\n具体分析\nbeforeCreate -> created\n\n初始化vue实例,进行数据观测\ncreated\n\n完成数据观测,属性与方法的运算,watch、event事件回调的配置\n可调用methods中的方法,访问和修改data数据触发响应式渲染dom,可通过computed和watch完成数据计算\n此时vm.$el 并没有被创建\ncreated -> beforeMount\n\n判断是否存在el选项,若不存在则停止编译,直到调用vm.$mount(el)才会继续编译\n优先级:render > template > outerHTML\nvm.el获取到的是挂载DOM的\nbeforeMount\n\n在此阶段可获取到vm.el\n此阶段vm.el虽已完成DOM初始化,但并未挂载在el选项上\nbeforeMount -> mounted\n\n此阶段vm.el完成挂载,vm.$el生成的DOM替换了el选项所对应的DOM\nmounted\n\nvm.el已完成DOM的挂载与渲染,此刻打印vm.$el,发现之前的挂载点及内容已被替换成新的DOM\nbeforeUpdate\n\n更新的数据必须是被渲染在模板上的(el、template、render之一)\n此时view层还未更新\n若在beforeUpdate中再次修改数据,不会再次触发更新方法\nupdated\n\n完成view层的更新\n若在updated中再次修改数据,会再次触发更新方法(beforeUpdate、updated)\nbeforeDestroy\n\n实例被销毁前调用,此时实例属性与方法仍可访问\ndestroyed\n\n完全销毁一个实例。可清理它与其它实例的连接,解绑它的全部指令及事件监听器\n并不能清除DOM,仅仅销毁实例\n使用场景分析\n\n生命周期\t描述\nbeforeCreate\t执行时组件实例还未创建,通常用于插件开发中执行一些初始化任务\ncreated\t组件初始化完毕,各种数据可以使用,常用于异步数据获取\nbeforeMount\t未执行渲染、更新,dom未创建\nmounted\t初始化结束,dom已创建,可用于获取访问数据和dom元素\nbeforeUpdate\t更新前,可用于获取更新前各种状态\nupdated\t更新后,所有状态已是最新\nbeforeDestroy\t销毁前,可用于一些定时器或订阅的取消\ndestroyed\t组件已销毁,作用同上\n四、题外话:数据请求在created和mouted的区别\ncreated是在组件实例一旦创建完成的时候立刻调用,这时候页面dom节点并未生成mounted是在页面dom节点渲染完毕之后就立刻执行的触发时机上created是比mounted要更早的两者相同点:都能拿到实例对象的属性和方法讨论这个问题本质就是触发的时机,放在mounted请求有可能导致页面闪动(页面dom结构已经生成),但如果在页面加载前完成则不会出现此情况建议:放在create生命周期当中\n\n参考文献\nhttps://juejin.cn/post/6844903811094413320\nhttps://baike.baidu.com/\nhttp://cn.vuejs.org/", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T06:47:53.572Z" + }, + { + "id": "clhd1zfme000ayxijgs6yetbd", + "question": "为什么Vue中的v-if和v-for不建议一起用? ", + "answer": "一、作用\nv-if 指令用于条件性地渲染一块内容。这块内容只会在指令的表达式返回 true值的时候被渲染\n\nv-for 指令基于一个数组来渲染一个列表。v-for 指令需要使用 item in items 形式的特殊语法,其中 items 是源数据数组或者对象,而 item 则是被迭代的数组元素的别名\n\n在 v-for 的时候,建议设置key值,并且保证每个key值是独一无二的,这便于diff算法进行优化\n\n两者在用法上\n\n\n\n
  • \n {{ item.label }}\n
  • \n二、优先级\nv-if与v-for都是vue模板系统中的指令\n\n在vue模板编译的时候,会将指令系统转化成可执行的render函数\n\n示例\n编写一个p标签,同时使用v-if与 v-for\n\n
    \n

    \n {{ item.title }}\n

    \n
    \n创建vue实例,存放isShow与items数据\n\nconst app = new Vue({\n el: \"#app\",\n data() {\n return {\n items: [\n { title: \"foo\" },\n { title: \"baz\" }]\n }\n },\n computed: {\n isShow() {\n return this.items && this.items.length > 0\n }\n }\n})\n模板指令的代码都会生成在render函数中,通过app.$options.render就能得到渲染函数\n\nƒ anonymous() {\n with (this) { return \n _c('div', { attrs: { \"id\": \"app\" } }, \n _l((items), function (item) \n { return (isShow) ? _c('p', [_v(\"\\n\" + _s(item.title) + \"\\n\")]) : _e() }), 0) }\n}\n_l是vue的列表渲染函数,函数内部都会进行一次if判断\n\n初步得到结论:v-for优先级是比v-if高\n\n再将v-for与v-if置于不同标签\n\n
    \n \n
    \n再输出下render函数\n\nƒ anonymous() {\n with(this){return \n _c('div',{attrs:{\"id\":\"app\"}},\n [(isShow)?[_v(\"\\n\"),\n _l((items),function(item){return _c('p',[_v(_s(item.title))])})]:_e()],2)}\n}\n这时候我们可以看到,v-for与v-if作用在不同标签时候,是先进行判断,再进行列表的渲染\n\n我们再在查看下vue源码\n\n源码位置: \\vue-dev\\src\\compiler\\codegen\\index.js\n\nexport function genElement (el: ASTElement, state: CodegenState): string {\n if (el.parent) {\n el.pre = el.pre || el.parent.pre\n }\n if (el.staticRoot && !el.staticProcessed) {\n return genStatic(el, state)\n } else if (el.once && !el.onceProcessed) {\n return genOnce(el, state)\n } else if (el.for && !el.forProcessed) {\n return genFor(el, state)\n } else if (el.if && !el.ifProcessed) {\n return genIf(el, state)\n } else if (el.tag === 'template' && !el.slotTarget && !state.pre) {\n return genChildren(el, state) || 'void 0'\n } else if (el.tag === 'slot') {\n return genSlot(el, state)\n } else {\n // component or element\n ...\n}\n在进行if判断的时候,v-for是比v-if先进行判断\n\n最终结论:v-for优先级比v-if高\n\n三、注意事项\n永远不要把 v-if 和 v-for 同时用在同一个元素上,带来性能方面的浪费(每次渲染都会先循环再进行条件判断)\n如果避免出现这种情况,则在外层嵌套template(页面渲染不生成dom节点),在这一层进行v-if判断,然后在内部进行v-for循环\n\n如果条件出现在循环内部,可通过计算属性computed提前过滤掉那些不需要显示的项\ncomputed: {\n items: function() {\n return this.list.filter(function (item) {\n return item.isShow\n })\n }\n}", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T06:48:58.838Z" + }, + { + "id": "clhd216a0000cyxij0dkj4lp9", + "question": "SPA(单页应用)首屏加载速度慢怎么解决 ", + "answer": "一、什么是首屏加载\n首屏时间(First Contentful Paint),指的是浏览器从响应用户输入网址地址,到首屏内容渲染完成的时间,此时整个网页不一定要全部渲染完成,但需要展示当前视窗需要的内容\n\n首屏加载可以说是用户体验中最重要的环节\n\n关于计算首屏时间\n利用performance.timing提供的数据:\n\nimage.png\n\n通过DOMContentLoad或者performance来计算出首屏时间\n\n// 方案一:\ndocument.addEventListener('DOMContentLoaded', (event) => {\n console.log('first contentful painting');\n});\n// 方案二:\nperformance.getEntriesByName(\"first-contentful-paint\")[0].startTime\n\n// performance.getEntriesByName(\"first-contentful-paint\")[0]\n// 会返回一个 PerformancePaintTiming的实例,结构如下:\n{\n name: \"first-contentful-paint\",\n entryType: \"paint\",\n startTime: 507.80000002123415,\n duration: 0,\n};\n二、加载慢的原因\n在页面渲染的过程,导致加载速度慢的因素可能如下:\n\n网络延时问题\n资源文件体积是否过大\n资源是否重复发送请求去加载了\n加载脚本的时候,渲染内容堵塞了\n三、解决方案\n常见的几种SPA首屏优化方式\n\n减小入口文件积\n静态资源本地缓存\nUI框架按需加载\n图片资源的压缩\n组件重复打包\n开启GZip压缩\n使用SSR\n减小入口文件体积\n常用的手段是路由懒加载,把不同路由对应的组件分割成不同的代码块,待路由被请求的时候会单独打包路由,使得入口文件变小,加载速度大大增加\n\nimage.png\n\n在vue-router配置路由的时候,采用动态加载路由的形式\n\nroutes:[ \n path: 'Blogs',\n name: 'ShowBlogs',\n component: () => import('./components/ShowBlogs.vue')\n]\n以函数的形式加载路由,这样就可以把各自的路由文件分别打包,只有在解析给定的路由时,才会加载路由组件\n\n静态资源本地缓存\n后端返回资源问题:\n\n采用HTTP缓存,设置Cache-Control,Last-Modified,Etag等响应头\n\n采用Service Worker离线缓存\n\n前端合理利用localStorage\n\nUI框架按需加载\n在日常使用UI框架,例如element-UI、或者antd,我们经常性直接饮用整个UI库\n\nimport ElementUI from 'element-ui'\nVue.use(ElementUI)\n但实际上我用到的组件只有按钮,分页,表格,输入与警告 所以我们要按需引用\n\nimport { Button, Input, Pagination, Table, TableColumn, MessageBox } from 'element-ui';\nVue.use(Button)\nVue.use(Input)\nVue.use(Pagination)\n组件重复打包\n假设A.js文件是一个常用的库,现在有多个路由使用了A.js文件,这就造成了重复下载\n\n解决方案:在webpack的config文件中,修改CommonsChunkPlugin的配置\n\nminChunks: 3\nminChunks为3表示会把使用3次及以上的包抽离出来,放进公共依赖文件,避免了重复加载组件\n\n图片资源的压缩\n图片资源虽然不在编码过程中,但它却是对页面性能影响最大的因素\n\n对于所有的图片资源,我们可以进行适当的压缩\n\n对页面上使用到的icon,可以使用在线字体图标,或者雪碧图,将众多小图标合并到同一张图上,用以减轻http请求压力。\n\n开启GZip压缩\n拆完包之后,我们再用gzip做一下压缩 安装compression-webpack-plugin\n\ncnmp i compression-webpack-plugin -D\n在vue.congig.js中引入并修改webpack配置\n\nconst CompressionPlugin = require('compression-webpack-plugin')\n\nconfigureWebpack: (config) => {\n if (process.env.NODE_ENV === 'production') {\n // 为生产环境修改配置...\n config.mode = 'production'\n return {\n plugins: [new CompressionPlugin({\n test: /\\.js$|\\.html$|\\.css/, //匹配文件名\n threshold: 10240, //对超过10k的数据进行压缩\n deleteOriginalAssets: false //是否删除原文件\n })]\n }\n }\n在服务器我们也要做相应的配置 如果发送请求的浏览器支持gzip,就发送给它gzip格式的文件 我的服务器是用express框架搭建的 只要安装一下compression就能使用\n\nconst compression = require('compression')\napp.use(compression()) // 在其他中间件使用之前调用\n使用SSR\nSSR(Server side ),也就是服务端渲染,组件或页面通过服务器生成html字符串,再发送到浏览器\n\n从头搭建一个服务端渲染是很复杂的,vue应用建议使用Nuxt.js实现服务端渲染\n\n小结:\n减少首屏渲染时间的方法有很多,总的来讲可以分成两大部分 :资源加载优化 和 页面渲染优化\n\n下图是更为全面的首屏优化的方案\n\nimage.png\n\n大家可以根据自己项目的情况选择各种方式进行首屏渲染的优化\n\n参考文献\nhttps://zhuanlan.zhihu.com/p/88639980?utm_source=wechat_session\nhttps://www.chengrang.com/how-browsers-work.html\nhttps://juejin.cn/post/6844904185264095246\nhttps://vue3js.cn/docs/zh", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T06:50:20.040Z" + }, + { + "id": "clhd3ibzr000eyxijac4xckgj", + "question": "为什么data属性是一个函数而不是一个对象?", + "answer": "面试官:为什么data属性是一个函数而不是一个对象?\nimage.png\n\n一、实例和组件定义data的区别\nvue实例的时候定义data属性既可以是一个对象,也可以是一个函数\n\nconst app = new Vue({\n el:\"#app\",\n // 对象格式\n data:{\n foo:\"foo\"\n },\n // 函数格式\n data(){\n return {\n foo:\"foo\"\n }\n }\n})\n组件中定义data属性,只能是一个函数\n\n如果为组件data直接定义为一个对象\n\nVue.component('component1',{\n template:`
    组件
    `,\n data:{\n foo:\"foo\"\n }\n})\n则会得到警告信息\n\nimage.png\n\n警告说明:返回的data应该是一个函数在每一个组件实例中\n\n二、组件data定义函数与对象的区别\n上面讲到组件data必须是一个函数,不知道大家有没有思考过这是为什么呢?\n\n在我们定义好一个组件的时候,vue最终都会通过Vue.extend()构成组件实例\n\n这里我们模仿组件构造函数,定义data属性,采用对象的形式\n\nfunction Component(){\n \n}\nComponent.prototype.data = {\n\tcount : 0\n}\n创建两个组件实例\n\nconst componentA = new Component()\nconst componentB = new Component()\n修改componentA组件data属性的值,componentB中的值也发生了改变\n\nconsole.log(componentB.data.count) // 0\ncomponentA.data.count = 1\nconsole.log(componentB.data.count) // 1\n产生这样的原因这是两者共用了同一个内存地址,componentA修改的内容,同样对componentB产生了影响\n\n如果我们采用函数的形式,则不会出现这种情况(函数返回的对象内存地址并不相同)\n\nfunction Component(){\n\tthis.data = this.data()\n}\nComponent.prototype.data = function (){\n return {\n \t\tcount : 0\n }\n}\n修改componentA组件data属性的值,componentB中的值不受影响\n\nconsole.log(componentB.data.count) // 0\ncomponentA.data.count = 1\nconsole.log(componentB.data.count) // 0\nvue组件可能会有很多个实例,采用函数返回一个全新data形式,使每个实例对象的数据不会受到其他实例对象数据的污染\n\n三、原理分析\n首先可以看看vue初始化data的代码,data的定义可以是函数也可以是对象\n\n源码位置:/vue-dev/src/core/instance/state.js\n\nfunction initData (vm: Component) {\n let data = vm.$options.data\n data = vm._data = typeof data === 'function'\n ? getData(data, vm)\n : data || {}\n ...\n}\ndata既能是object也能是function,那为什么还会出现上文警告呢?\n\n别急,继续看下文\n\n组件在创建的时候,会进行选项的合并\n\n源码位置:/vue-dev/src/core/util/options.js\n\n自定义组件会进入mergeOptions进行选项合并\n\nVue.prototype._init = function (options?: Object) {\n ...\n // merge options\n if (options && options._isComponent) {\n // optimize internal component instantiation\n // since dynamic options merging is pretty slow, and none of the\n // internal component options needs special treatment.\n initInternalComponent(vm, options)\n } else {\n vm.$options = mergeOptions(\n resolveConstructorOptions(vm.constructor),\n options || {},\n vm\n )\n }\n ...\n }\n定义data会进行数据校验\n\n源码位置:/vue-dev/src/core/instance/init.js\n\n这时候vm实例为undefined,进入if判断,若data类型不是function,则出现警告提示\n\nstrats.data = function (\n parentVal: any,\n childVal: any,\n vm?: Component\n): ?Function {\n if (!vm) {\n if (childVal && typeof childVal !== \"function\") {\n process.env.NODE_ENV !== \"production\" &&\n warn(\n 'The \"data\" option should be a function ' +\n \"that returns a per-instance value in component \" +\n \"definitions.\",\n vm\n );\n\n return parentVal;\n }\n return mergeDataOrFn(parentVal, childVal);\n }\n return mergeDataOrFn(parentVal, childVal, vm);\n};\n四、结论\n根实例对象data可以是对象也可以是函数(根实例是单例),不会产生数据污染情况\n组件实例对象data必须为函数,目的是为了防止多个组件实例对象之间共用一个data,产生数据污染。采用函数的形式,initData时会将其作为工厂函数都会返回全新data对象", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T07:31:40.216Z" + }, + { + "id": "clhd3m3qc000gyxij69cgg6zd", + "question": "Vue中给对象添加新属性界面不刷新?", + "answer": "一、直接添加属性的问题\n我们从一个例子开始\n\n定义一个p标签,通过v-for指令进行遍历\n\n然后给botton标签绑定点击事件,我们预期点击按钮时,数据新增一个属性,界面也 新增一行\n\n

    \n {{ value }}\n

    \n\n实例化一个vue实例,定义data属性和methods方法\n\nconst app = new Vue({\n el:\"#app\",\n \tdata:()=>{\n \titem:{\n oldProperty:\"旧属性\"\n }\n },\n methods:{\n addProperty(){\n this.items.newProperty = \"新属性\" // 为items添加新属性\n console.log(this.items) // 输出带有newProperty的items\n }\n }\n})\n点击按钮,发现结果不及预期,数据虽然更新了(console打印出了新属性),但页面并没有更新\n\n二、原理分析\n为什么产生上面的情况呢?\n\n下面来分析一下\n\nvue2是用过Object.defineProperty实现数据响应式\n\nconst obj = {}\nObject.defineProperty(obj, 'foo', {\n get() {\n console.log(`get foo:${val}`);\n return val\n },\n set(newVal) {\n if (newVal !== val) {\n console.log(`set foo:${newVal}`);\n val = newVal\n }\n }\n })\n}\n当我们访问foo属性或者设置foo值的时候都能够触发setter与getter\n\nobj.foo \nobj.foo = 'new'\n但是我们为obj添加新属性的时候,却无法触发事件属性的拦截\n\nobj.bar = '新属性'\n原因是一开始obj的foo属性被设成了响应式数据,而bar是后面新增的属性,并没有通过Object.defineProperty设置成响应式数据\n\n三、解决方案\nVue 不允许在已经创建的实例上动态添加新的响应式属性\n\n若想实现数据与视图同步更新,可采取下面三种解决方案:\n\nVue.set()\nObject.assign()\n$forcecUpdated()\nVue.set()\nVue.set( target, propertyName/index, value )\n\n参数\n\n{Object | Array} target\n{string | number} propertyName/index\n{any} value\n返回值:设置的值\n\n通过Vue.set向响应式对象中添加一个property,并确保这个新 property 同样是响应式的,且触发视图更新\n\n关于Vue.set源码(省略了很多与本节不相关的代码)\n\n源码位置:src\\core\\observer\\index.js\n\nfunction set (target: Array | Object, key: any, val: any): any {\n ...\n defineReactive(ob.value, key, val)\n ob.dep.notify()\n return val\n}\n这里无非再次调用defineReactive方法,实现新增属性的响应式\n\n关于defineReactive方法,内部还是通过Object.defineProperty实现属性拦截\n\n大致代码如下:\n\nfunction defineReactive(obj, key, val) {\n Object.defineProperty(obj, key, {\n get() {\n console.log(`get ${key}:${val}`);\n return val\n },\n set(newVal) {\n if (newVal !== val) {\n console.log(`set ${key}:${newVal}`);\n val = newVal\n }\n }\n })\n}\nObject.assign()\n直接使用Object.assign()添加到对象的新属性不会触发更新\n\n应创建一个新的对象,合并原对象和混入对象的属性\n\nthis.someObject = Object.assign({},this.someObject,{newProperty1:1,newProperty2:2 ...})\n$forceUpdate\n如果你发现你自己需要在 Vue 中做一次强制更新,99.9% 的情况,是你在某个地方做错了事\n\n$forceUpdate迫使 Vue 实例重新渲染\n\nPS:仅仅影响实例本身和插入插槽内容的子组件,而不是所有子组件。\n\n小结\n如果为对象添加少量的新属性,可以直接采用Vue.set()\n\n如果需要为新对象添加大量的新属性,则通过Object.assign()创建新对象\n\n如果你实在不知道怎么操作时,可采取$forceUpdate()进行强制刷新 (不建议)\n\nPS:vue3是用过proxy实现数据响应式的,直接动态添加新属性仍可以实现数据响应式\n\n参考文献\nhttps://cn.vuejs.org/v2/api/#Vue-set\nhttps://vue3js.cn/docs/zh", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T07:34:36.132Z" + }, + { + "id": "clhd3o24y000iyxij1gmt3hni", + "question": "Vue中组件和插件有什么区别?", + "answer": "一、组件是什么\n回顾以前对组件的定义:\n\n组件就是把图形、非图形的各种逻辑均抽象为一个统一的概念(组件)来实现开发的模式,在Vue中每一个.vue文件都可以视为一个组件\n\n组件的优势\n\n降低整个系统的耦合度,在保持接口不变的情况下,我们可以替换不同的组件快速完成需求,例如输入框,可以替换为日历、时间、范围等组件作具体的实现\n\n调试方便,由于整个系统是通过组件组合起来的,在出现问题的时候,可以用排除法直接移除组件,或者根据报错的组件快速定位问题,之所以能够快速定位,是因为每个组件之间低耦合,职责单一,所以逻辑会比分析整个系统要简单\n\n提高可维护性,由于每个组件的职责单一,并且组件在系统中是被复用的,所以对代码进行优化可获得系统的整体升级\n\n二、插件是什么\n插件通常用来为 Vue 添加全局功能。插件的功能范围没有严格的限制——一般有下面几种:\n\n添加全局方法或者属性。如: vue-custom-element\n添加全局资源:指令/过滤器/过渡等。如 vue-touch\n通过全局混入来添加一些组件选项。如 vue-router\n添加 Vue 实例方法,通过把它们添加到 Vue.prototype 上实现。\n一个库,提供自己的 API,同时提供上面提到的一个或多个功能。如 vue-router\n三、两者的区别\n两者的区别主要表现在以下几个方面:\n\n编写形式\n注册形式\n使用场景\n编写形式\n编写组件\n编写一个组件,可以有很多方式,我们最常见的就是vue单文件的这种格式,每一个.vue文件我们都可以看成是一个组件\n\nvue文件标准格式\n\n\n\n\n我们还可以通过template属性来编写一个组件,如果组件内容多,我们可以在外部定义template组件内容,如果组件内容并不多,我们可直接写在template属性上\n\n\n\nVue.component('componentA',{ \n template: '#testComponent' \n template: `
    component
    ` // 组件内容少可以通过这种形式\n})\n编写插件\nvue插件的实现应该暴露一个 install 方法。这个方法的第一个参数是 Vue 构造器,第二个参数是一个可选的选项对象\n\nMyPlugin.install = function (Vue, options) {\n // 1. 添加全局方法或 property\n Vue.myGlobalMethod = function () {\n // 逻辑...\n }\n\n // 2. 添加全局资源\n Vue.directive('my-directive', {\n bind (el, binding, vnode, oldVnode) {\n // 逻辑...\n }\n ...\n })\n\n // 3. 注入组件选项\n Vue.mixin({\n created: function () {\n // 逻辑...\n }\n ...\n })\n\n // 4. 添加实例方法\n Vue.prototype.$myMethod = function (methodOptions) {\n // 逻辑...\n }\n}\n注册形式\n组件注册\nvue组件注册主要分为全局注册与局部注册\n\n全局注册通过Vue.component方法,第一个参数为组件的名称,第二个参数为传入的配置项\n\nVue.component('my-component-name', { /* ... */ })\n局部注册只需在用到的地方通过components属性注册一个组件\n\nconst component1 = {...} // 定义一个组件\n\nexport default {\n\tcomponents:{\n\t\tcomponent1 // 局部注册\n\t}\n}\n插件注册\n插件的注册通过Vue.use()的方式进行注册(安装),第一个参数为插件的名字,第二个参数是可选择的配置项\n\nVue.use(插件名字,{ /* ... */} )\n注意的是:\n\n注册插件的时候,需要在调用 new Vue() 启动应用之前完成\n\nVue.use会自动阻止多次注册相同插件,只会注册一次\n\n使用场景\n具体的其实在插件是什么章节已经表述了,这里在总结一下\n\n组件 (Component) 是用来构成你的 App 的业务模块,它的目标是 App.vue\n\n插件 (Plugin) 是用来增强你的技术栈的功能模块,它的目标是 Vue 本身\n\n简单来说,插件就是指对Vue的功能的增强或补充\n\n参考文献\nhttps://vue3js.cn/docs/zh", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T07:36:07.378Z" + }, + { + "id": "clhd3soxx000kyxijctqoh8lq", + "question": "Vue组件间通信方式都有哪些?", + "answer": "一、组件间通信的概念\n开始之前,我们把组件间通信这个词进行拆分\n\n组件\n通信\n都知道组件是vue最强大的功能之一,vue中每一个.vue我们都可以视之为一个组件通信指的是发送者通过某种媒体以某种格式来传递信息到收信者以达到某个目的。广义上,任何信息的交通都是通信组件间通信即指组件(.vue)通过某种方式来传递信息以达到某个目的举个栗子我们在使用UI框架中的table组件,可能会往table组件中传入某些数据,这个本质就形成了组件之间的通信\n\n二、组件间通信解决了什么\n在古代,人们通过驿站、飞鸽传书、烽火报警、符号、语言、眼神、触碰等方式进行信息传递,到了今天,随着科技水平的飞速发展,通信基本完全利用有线或无线电完成,相继出现了有线电话、固定电话、无线电话、手机、互联网甚至视频电话等各种通信方式从上面这段话,我们可以看到通信的本质是信息同步,共享回到vue中,每个组件之间的都有独自的作用域,组件间的数据是无法共享的但实际开发工作中我们常常需要让组件之间共享数据,这也是组件通信的目的要让它们互相之间能进行通讯,这样才能构成一个有机的完整系统\n\n二、组件间通信的分类\n组件间通信的分类可以分成以下\n\n父子组件之间的通信\n兄弟组件之间的通信\n祖孙与后代组件之间的通信\n非关系组件间之间的通信\n关系图:\n\n\n\n三、组件间通信的方案\n整理vue中8种常规的通信方案\n\n通过 props 传递\n通过 $emit 触发自定义事件\n使用 ref\nEventBus\n$parent 或$root\nattrs 与 listeners\nProvide 与 Inject\nVuex\nprops传递数据\n\n\n适用场景:父组件传递数据给子组件\n子组件设置props属性,定义接收父组件传递过来的参数\n父组件在使用子组件标签中通过字面量来传递值\nChildren.vue\n\nprops:{ \n // 字符串形式 \n name:String // 接收的类型参数 \n // 对象形式 \n age:{ \n type:Number, // 接收的类型为数值 \n defaule:18, // 默认值为18 \n require:true // age属性必须传递 \n } \n} \nFather.vue组件\n\n \n$emit 触发自定义事件\n适用场景:子组件传递数据给父组件\n子组件通过$emit触发自定义事件,$emit第二个参数为传递的数值\n父组件绑定监听器获取到子组件传递过来的参数\nChilfen.vue\n\nthis.$emit('add', good) \nFather.vue\n\n \nref\n父组件在使用子组件的时候设置ref\n父组件通过设置子组件ref来获取数据\n父组件\n\n \n \nthis.$refs.foo // 获取子组件实例,通过子组件实例我们就能拿到对应的数据 \nEventBus\n使用场景:兄弟组件传值\n创建一个中央时间总线EventBus\n兄弟组件通过$emit触发自定义事件,$emit第二个参数为传递的数值\n另一个兄弟组件通过$on监听自定义事件\nBus.js\n\n// 创建一个中央时间总线类 \nclass Bus { \n constructor() { \n this.callbacks = {}; // 存放事件的名字 \n } \n $on(name, fn) { \n this.callbacks[name] = this.callbacks[name] || []; \n this.callbacks[name].push(fn); \n } \n $emit(name, args) { \n if (this.callbacks[name]) { \n this.callbacks[name].forEach((cb) => cb(args)); \n } \n } \n} \n \n// main.js \nVue.prototype.$bus = new Bus() // 将$bus挂载到vue实例的原型上 \n// 另一种方式 \nVue.prototype.$bus = new Vue() // Vue已经实现了Bus的功能 \nChildren1.vue\n\nthis.$bus.$emit('foo') \nChildren2.vue\n\nthis.$bus.$on('foo', this.handle) \n\nparent 或 root\n通过共同祖辈$parent或者$root搭建通信侨联\n兄弟组件\n\nthis.$parent.on('add',this.add) \n\n另一个兄弟组件\n\nthis.$parent.emit('add') \n\nattrs 与 listeners\n适用场景:祖先传递数据给子孙\n设置批量向下传属性$attrs和 $listeners\n包含了父级作用域中不作为 prop 被识别 (且获取) 的特性绑定 ( class 和 style 除外)。\n可以通过 v-bind=\"$attrs\" 传⼊内部组件\n// child:并未在props中声明foo \n

    {{$attrs.foo}}

    \n \n// parent \n \n// 给Grandson隔代传值,communication/index.vue \n \n \n// Child2做展开 \n \n \n// Grandson使⽤ \n
    \n{{msg}} \n
    \nprovide 与 inject\n在祖先组件定义provide属性,返回传递的值\n在后代组件通过inject接收组件传递过来的值\n祖先组件\n\nprovide(){ \n return { \n foo:'foo' \n } \n} \n后代组件\n\ninject:['foo'] // 获取到祖先组件传递过来的值 \nvuex\n适用场景: 复杂关系的组件数据传递\n\nVuex作用相当于一个用来存储共享变量的容器\n\n\nstate用来存放共享变量的地方\n\ngetter,可以增加一个getter派生状态,(相当于store中的计算属性),用来获得共享变量的值\n\nmutations用来存放修改state的方法。\n\nactions也是用来存放修改state的方法,不过action是在mutations的基础上进行。常用来做一些异步操作\n\n小结\n父子关系的组件数据传递选择 props 与 $emit进行传递,也可选择ref\n兄弟关系的组件数据传递可选择$bus,其次可以选择$parent进行传递\n祖先与后代组件数据传递可选择attrs与listeners或者 Provide与 Inject\n复杂关系的组件数据传递可以通过vuex存放共享的变量\n参考文献\nhttps://juejin.cn/post/6844903990052782094#heading-0\nhttps://zh.wikipedia.org/wiki/\\%E9\\%80\\%9A\\%E4\\%BF\\%A1\nhttps://vue3js.cn/docs/zh", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T07:39:43.558Z" + }, + { + "id": "clhd3u8fm000myxij401y7qsz", + "question": "Vue中的$nextTick有什么作用?", + "answer": "\n\n一、NextTick是什么\n官方对其的定义\n\n在下次 DOM 更新循环结束之后执行延迟回调。在修改数据之后立即使用这个方法,获取更新后的 DOM\n\n什么意思呢?\n\n我们可以理解成,Vue 在更新 DOM 时是异步执行的。当数据发生变化,Vue将开启一个异步更新队列,视图需要等队列中所有数据变化完成之后,再统一进行更新\n\n举例一下\n\nHtml结构\n\n
    {{ message }}
    \n构建一个vue实例\n\nconst vm = new Vue({\n el: '#app',\n data: {\n message: '原始值'\n }\n})\n修改message\n\nthis.message = '修改后的值1'\nthis.message = '修改后的值2'\nthis.message = '修改后的值3'\n这时候想获取页面最新的DOM节点,却发现获取到的是旧值\n\nconsole.log(vm.$el.textContent) // 原始值\n这是因为message数据在发现变化的时候,vue并不会立刻去更新Dom,而是将修改数据的操作放在了一个异步操作队列中\n\n如果我们一直修改相同数据,异步操作队列还会进行去重\n\n等待同一事件循环中的所有数据变化完成之后,会将队列中的事件拿来进行处理,进行DOM的更新\n\n为什么要有nexttick\n举个例子\n\n{{num}}\nfor(let i=0; i<100000; i++){\n num = i\n}\n如果没有 nextTick 更新机制,那么 num 每次更新值都会触发视图更新(上面这段代码也就是会更新10万次视图),有了nextTick机制,只需要更新一次,所以nextTick本质是一种优化策略\n\n二、使用场景\n如果想要在修改数据后立刻得到更新后的DOM结构,可以使用Vue.nextTick()\n\n第一个参数为:回调函数(可以获取最近的DOM结构)\n\n第二个参数为:执行函数上下文\n\n// 修改数据\nvm.message = '修改后的值'\n// DOM 还没有更新\nconsole.log(vm.$el.textContent) // 原始的值\nVue.nextTick(function () {\n // DOM 更新了\n console.log(vm.$el.textContent) // 修改后的值\n})\n组件内使用 vm.$nextTick() 实例方法只需要通过this.$nextTick(),并且回调函数中的 this 将自动绑定到当前的 Vue 实例上\n\nthis.message = '修改后的值'\nconsole.log(this.$el.textContent) // => '原始的值'\nthis.$nextTick(function () {\n console.log(this.$el.textContent) // => '修改后的值'\n})\n$nextTick() 会返回一个 Promise 对象,可以是用async/await完成相同作用的事情\n\nthis.message = '修改后的值'\nconsole.log(this.$el.textContent) // => '原始的值'\nawait this.$nextTick()\nconsole.log(this.$el.textContent) // => '修改后的值'\n三、实现原理\n源码位置:/src/core/util/next-tick.js\n\ncallbacks也就是异步操作队列\n\ncallbacks新增回调函数后又执行了timerFunc函数,pending是用来标识同一个时间只能执行一次\n\nexport function nextTick(cb?: Function, ctx?: Object) {\n let _resolve;\n\n // cb 回调函数会经统一处理压入 callbacks 数组\n callbacks.push(() => {\n if (cb) {\n // 给 cb 回调函数执行加上了 try-catch 错误处理\n try {\n cb.call(ctx);\n } catch (e) {\n handleError(e, ctx, 'nextTick');\n }\n } else if (_resolve) {\n _resolve(ctx);\n }\n });\n\n // 执行异步延迟函数 timerFunc\n if (!pending) {\n pending = true;\n timerFunc();\n }\n\n // 当 nextTick 没有传入函数参数的时候,返回一个 Promise 化的调用\n if (!cb && typeof Promise !== 'undefined') {\n return new Promise(resolve => {\n _resolve = resolve;\n });\n }\n}\ntimerFunc函数定义,这里是根据当前环境支持什么方法则确定调用哪个,分别有:\n\nPromise.then、MutationObserver、setImmediate、setTimeout\n\n通过上面任意一种方法,进行降级操作\n\nexport let isUsingMicroTask = false\nif (typeof Promise !== 'undefined' && isNative(Promise)) {\n //判断1:是否原生支持Promise\n const p = Promise.resolve()\n timerFunc = () => {\n p.then(flushCallbacks)\n if (isIOS) setTimeout(noop)\n }\n isUsingMicroTask = true\n} else if (!isIE && typeof MutationObserver !== 'undefined' && (\n isNative(MutationObserver) ||\n MutationObserver.toString() === '[object MutationObserverConstructor]'\n)) {\n //判断2:是否原生支持MutationObserver\n let counter = 1\n const observer = new MutationObserver(flushCallbacks)\n const textNode = document.createTextNode(String(counter))\n observer.observe(textNode, {\n characterData: true\n })\n timerFunc = () => {\n counter = (counter + 1) % 2\n textNode.data = String(counter)\n }\n isUsingMicroTask = true\n} else if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {\n //判断3:是否原生支持setImmediate\n timerFunc = () => {\n setImmediate(flushCallbacks)\n }\n} else {\n //判断4:上面都不行,直接用setTimeout\n timerFunc = () => {\n setTimeout(flushCallbacks, 0)\n }\n}\n无论是微任务还是宏任务,都会放到flushCallbacks使用\n\n这里将callbacks里面的函数复制一份,同时callbacks置空\n\n依次执行callbacks里面的函数\n\nfunction flushCallbacks () {\n pending = false\n const copies = callbacks.slice(0)\n callbacks.length = 0\n for (let i = 0; i < copies.length; i++) {\n copies[i]()\n }\n}\n小结:\n\n把回调函数放入callbacks等待执行\n将执行函数放到微任务或者宏任务中\n事件循环到了微任务或者宏任务,执行函数依次执行callbacks中的回调\n参考文献\nhttps://juejin.cn/post/6844904147804749832\n", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T07:40:55.475Z" + }, + { + "id": "clhd3vjrr000oyxijgeaogixo", + "question": "说说你对vue的mixin的理解,有什么应用场景?", + "answer": "一、mixin是什么\nMixin是面向对象程序设计语言中的类,提供了方法的实现。其他类可以访问mixin类的方法而不必成为其子类\n\nMixin类通常作为功能模块使用,在需要该功能时“混入”,有利于代码复用又避免了多继承的复杂\n\nVue中的mixin\n先来看一下官方定义\n\nmixin(混入),提供了一种非常灵活的方式,来分发 Vue 组件中的可复用功能。\n\n本质其实就是一个js对象,它可以包含我们组件中任意功能选项,如data、components、methods 、created、computed等等\n\n我们只要将共用的功能以对象的方式传入 mixins选项中,当组件使用 mixins对象时所有mixins对象的选项都将被混入该组件本身的选项中来\n\n在Vue中我们可以局部混入跟全局混入\n\n局部混入\n定义一个mixin对象,有组件options的data、methods属性\n\nvar myMixin = {\n created: function () {\n this.hello()\n },\n methods: {\n hello: function () {\n console.log('hello from mixin!')\n }\n }\n}\n组件通过mixins属性调用mixin对象\n\nVue.component('componentA',{\n mixins: [myMixin]\n})\n该组件在使用的时候,混合了mixin里面的方法,在自动执行create生命钩子,执行hello方法\n\n全局混入\n通过Vue.mixin()进行全局的混入\n\nVue.mixin({\n created: function () {\n console.log(\"全局混入\")\n }\n})\n使用全局混入需要特别注意,因为它会影响到每一个组件实例(包括第三方组件)\n\nPS:全局混入常用于插件的编写\n\n注意事项:\n当组件存在与mixin对象相同的选项的时候,进行递归合并的时候组件的选项会覆盖mixin的选项\n\n但是如果相同选项为生命周期钩子的时候,会合并成一个数组,先执行mixin的钩子,再执行组件的钩子\n\n二、使用场景\n在日常的开发中,我们经常会遇到在不同的组件中经常会需要用到一些相同或者相似的代码,这些代码的功能相对独立\n\n这时,可以通过Vue的mixin功能将相同或者相似的代码提出来\n\n举个例子\n\n定义一个modal弹窗组件,内部通过isShowing来控制显示\n\nconst Modal = {\n template: '#modal',\n data() {\n return {\n isShowing: false\n }\n },\n methods: {\n toggleShow() {\n this.isShowing = !this.isShowing;\n }\n }\n}\n定义一个tooltip提示框,内部通过isShowing来控制显示\n\nconst Tooltip = {\n template: '#tooltip',\n data() {\n return {\n isShowing: false\n }\n },\n methods: {\n toggleShow() {\n this.isShowing = !this.isShowing;\n }\n }\n}\n通过观察上面两个组件,发现两者的逻辑是相同,代码控制显示也是相同的,这时候mixin就派上用场了\n\n首先抽出共同代码,编写一个mixin\n\nconst toggle = {\n data() {\n return {\n isShowing: false\n }\n },\n methods: {\n toggleShow() {\n this.isShowing = !this.isShowing;\n }\n }\n}\n两个组件在使用上,只需要引入mixin\n\nconst Modal = {\n template: '#modal',\n mixins: [toggle]\n};\n \nconst Tooltip = {\n template: '#tooltip',\n mixins: [toggle]\n}\n通过上面小小的例子,让我们知道了Mixin对于封装一些可复用的功能如此有趣、方便、实用\n\n三、源码分析\n首先从Vue.mixin入手\n\n源码位置:/src/core/global-api/mixin.js\n\nexport function initMixin (Vue: GlobalAPI) {\n Vue.mixin = function (mixin: Object) {\n this.options = mergeOptions(this.options, mixin)\n return this\n }\n}\n主要是调用merOptions方法\n\n源码位置:/src/core/util/options.js\n\nexport function mergeOptions (\n parent: Object,\n child: Object,\n vm?: Component\n): Object {\n\nif (child.mixins) { // 判断有没有mixin 也就是mixin里面挂mixin的情况 有的话递归进行合并\n for (let i = 0, l = child.mixins.length; i < l; i++) {\n parent = mergeOptions(parent, child.mixins[i], vm)\n }\n}\n\n const options = {} \n let key\n for (key in parent) {\n mergeField(key) // 先遍历parent的key 调对应的strats[XXX]方法进行合并\n }\n for (key in child) {\n if (!hasOwn(parent, key)) { // 如果parent已经处理过某个key 就不处理了\n mergeField(key) // 处理child中的key 也就parent中没有处理过的key\n }\n }\n function mergeField (key) {\n const strat = strats[key] || defaultStrat\n options[key] = strat(parent[key], child[key], vm, key) // 根据不同类型的options调用strats中不同的方法进行合并\n }\n return options\n}\n从上面的源码,我们得到以下几点:\n\n优先递归处理 mixins\n先遍历合并parent 中的key,调用mergeField方法进行合并,然后保存在变量options\n再遍历 child,合并补上 parent 中没有的key,调用mergeField方法进行合并,保存在变量options\n通过 mergeField 函数进行了合并\n下面是关于Vue的几种类型的合并策略\n\n替换型\n合并型\n队列型\n叠加型\n替换型\n替换型合并有props、methods、inject、computed\n\nstrats.props =\nstrats.methods =\nstrats.inject =\nstrats.computed = function (\n parentVal: ?Object,\n childVal: ?Object,\n vm?: Component,\n key: string\n): ?Object {\n if (!parentVal) return childVal // 如果parentVal没有值,直接返回childVal\n const ret = Object.create(null) // 创建一个第三方对象 ret\n extend(ret, parentVal) // extend方法实际是把parentVal的属性复制到ret中\n if (childVal) extend(ret, childVal) // 把childVal的属性复制到ret中\n return ret\n}\nstrats.provide = mergeDataOrFn\n同名的props、methods、inject、computed会被后来者代替\n\n合并型\n和并型合并有:data\n\nstrats.data = function(parentVal, childVal, vm) { \n return mergeDataOrFn(\n parentVal, childVal, vm\n )\n};\n\nfunction mergeDataOrFn(parentVal, childVal, vm) { \n return function mergedInstanceDataFn() { \n var childData = childVal.call(vm, vm) // 执行data挂的函数得到对象\n var parentData = parentVal.call(vm, vm) \n if (childData) { \n return mergeData(childData, parentData) // 将2个对象进行合并 \n } else { \n return parentData // 如果没有childData 直接返回parentData\n }\n }\n}\n\nfunction mergeData(to, from) { \n if (!from) return to \n var key, toVal, fromVal; \n var keys = Object.keys(from); \n for (var i = 0; i < keys.length; i++) {\n key = keys[i];\n toVal = to[key];\n fromVal = from[key]; \n // 如果不存在这个属性,就重新设置\n if (!to.hasOwnProperty(key)) {\n set(to, key, fromVal);\n } \n // 存在相同属性,合并对象\n else if (typeof toVal ==\"object\" && typeof fromVal ==\"object\") {\n mergeData(toVal, fromVal);\n }\n } \n return to\n}\nmergeData函数遍历了要合并的 data 的所有属性,然后根据不同情况进行合并:\n\n当目标 data 对象不包含当前属性时,调用 set 方法进行合并(set方法其实就是一些合并重新赋值的方法)\n当目标 data 对象包含当前属性并且当前值为纯对象时,递归合并当前对象值,这样做是为了防止对象存在新增属性\n队列性\n队列性合并有:全部生命周期和watch\n\nfunction mergeHook (\n parentVal: ?Array,\n childVal: ?Function | ?Array\n): ?Array {\n return childVal\n ? parentVal\n ? parentVal.concat(childVal)\n : Array.isArray(childVal)\n ? childVal\n : [childVal]\n : parentVal\n}\n\nLIFECYCLE_HOOKS.forEach(hook => {\n strats[hook] = mergeHook\n})\n\n// watch\nstrats.watch = function (\n parentVal,\n childVal,\n vm,\n key\n) {\n // work around Firefox's Object.prototype.watch...\n if (parentVal === nativeWatch) { parentVal = undefined; }\n if (childVal === nativeWatch) { childVal = undefined; }\n /* istanbul ignore if */\n if (!childVal) { return Object.create(parentVal || null) }\n {\n assertObjectType(key, childVal, vm);\n }\n if (!parentVal) { return childVal }\n var ret = {};\n extend(ret, parentVal);\n for (var key$1 in childVal) {\n var parent = ret[key$1];\n var child = childVal[key$1];\n if (parent && !Array.isArray(parent)) {\n parent = [parent];\n }\n ret[key$1] = parent\n ? parent.concat(child)\n : Array.isArray(child) ? child : [child];\n }\n return ret\n};\n生命周期钩子和watch被合并为一个数组,然后正序遍历一次执行\n\n叠加型\n叠加型合并有:component、directives、filters\n\nstrats.components=\nstrats.directives=\n\nstrats.filters = function mergeAssets(\n parentVal, childVal, vm, key\n) { \n var res = Object.create(parentVal || null); \n if (childVal) { \n for (var key in childVal) {\n res[key] = childVal[key];\n } \n } \n return res\n}\n叠加型主要是通过原型链进行层层的叠加\n\n小结:\n替换型策略有props、methods、inject、computed,就是将新的同名参数替代旧的参数\n合并型策略是data, 通过set方法进行合并和重新赋值\n队列型策略有生命周期函数和watch,原理是将函数存入一个数组,然后正序遍历依次执行\n叠加型有component、directives、filters,通过原型链进行层层的叠加\n参考文献\nhttps://zhuanlan.zhihu.com/p/31018570\nhttps://juejin.cn/post/6844904015495446536#heading-1\nhttps://juejin.cn/post/6844903846775357453\nhttps://vue3js.cn/docs/zh", + "tag": [ + "vue3" + ], + "createTime": "2023-05-07T07:41:56.823Z" + }, + { + "id": "clhd3xdwu000qyxijam519a3m", + "question": "说说你对slot的理解?slot使用场景有哪些?", + "answer": "一、slot是什么\n在HTML中 slot 元素 ,作为 Web Components 技术套件的一部分,是Web组件内的一个占位符\n\n该占位符可以在后期使用自己的标记语言填充\n\n举个栗子\n\n\n\n 1\n\n\n 2\n\ntemplate不会展示到页面中,需要用先获取它的引用,然后添加到DOM中,\n\ncustomElements.define('element-details',\n class extends HTMLElement {\n constructor() {\n super();\n const template = document\n .getElementById('element-details-template')\n .content;\n const shadowRoot = this.attachShadow({mode: 'open'})\n .appendChild(template.cloneNode(true));\n }\n})\n在Vue中的概念也是如此\n\nSlot 艺名插槽,花名“占坑”,我们可以理解为solt在组件模板中占好了位置,当使用该组件标签时候,组件标签里面的内容就会自动填坑(替换组件模板中slot位置),作为承载分发内容的出口\n\n可以将其类比为插卡式的FC游戏机,游戏机暴露卡槽(插槽)让用户插入不同的游戏磁条(自定义内容)\n\n放张图感受一下\n\n\n二、使用场景\n通过插槽可以让用户可以拓展组件,去更好地复用组件和对其做定制化处理\n\n如果父组件在使用到一个复用组件的时候,获取这个组件在不同的地方有少量的更改,如果去重写组件是一件不明智的事情\n\n通过slot插槽向组件内部指定位置传递内容,完成这个复用组件在不同场景的应用\n\n比如布局组件、表格列、下拉选、弹框显示内容等\n\n三、分类\nslot可以分来以下三种:\n\n默认插槽\n具名插槽\n作用域插槽\n默认插槽\n子组件用标签来确定渲染的位置,标签里面可以放DOM结构,当父组件使用的时候没有往插槽传入内容,标签内DOM结构就会显示在页面\n\n父组件在使用的时候,直接在子组件的标签内写入内容即可\n\n子组件Child.vue\n\n\n父组件\n\n\n
    默认插槽
    \n
    \n具名插槽\n子组件用name属性来表示插槽的名字,不传为默认插槽\n\n父组件中在使用时在默认插槽的基础上加上slot属性,值为子组件插槽name属性值\n\n子组件Child.vue\n\n\n父组件\n\n\n \n \n \n\n作用域插槽\n子组件在作用域上绑定属性来将子组件的信息传给父组件使用,这些属性会被挂在父组件v-slot接受的对象上\n\n父组件中在使用时通过v-slot:(简写:#)获取子组件的信息,在内容中使用\n\n子组件Child.vue\n\n\n父组件\n\n \n \n \n \n\n小结:\nv-slot属性只能在