fix delete user, logout missing user
This commit is contained in:
parent
2045e47ab5
commit
e9eff70158
@ -76,14 +76,14 @@
|
||||
<div class="label">
|
||||
<span class="label-text">{{ $t('user.name') }}</span>
|
||||
</div>
|
||||
<input v-model="user.username" type="text" class="input input-bordered w-full" />
|
||||
<input v-model="user.username" name="username" type="text" class="input input-bordered w-full" />
|
||||
</label>
|
||||
|
||||
<label class="form-control w-full mt-3">
|
||||
<div class="label">
|
||||
<span class="label-text">{{ $t('user.mail') }}</span>
|
||||
</div>
|
||||
<input v-model="user.mail" type="email" class="input input-bordered w-full" />
|
||||
<input v-model="user.mail" name="mail" type="email" class="input input-bordered w-full" />
|
||||
</label>
|
||||
|
||||
<label class="form-control w-full mt-3">
|
||||
@ -186,7 +186,7 @@ async function deleteUser() {
|
||||
if (configStore.configUser.id === configStore.currentUser) {
|
||||
indexStore.msgAlert('error', t('user.deleteNotPossible'), 2)
|
||||
} else {
|
||||
await fetch(`/api/user/${configStore.configUser.username}`, {
|
||||
await fetch(`/api/user/${configStore.configUser.id}`, {
|
||||
method: 'DELETE',
|
||||
headers: authStore.authHeader,
|
||||
})
|
||||
|
404
package-lock.json
generated
404
package-lock.json
generated
@ -13,9 +13,9 @@
|
||||
"@pinia/nuxt": "^0.5.3",
|
||||
"@vueform/multiselect": "^2.6.9",
|
||||
"@vuepic/vue-datepicker": "^9.0.2",
|
||||
"@vueuse/nuxt": "^11.0.0",
|
||||
"@vueuse/nuxt": "^11.0.1",
|
||||
"bootstrap-icons": "^1.11.3",
|
||||
"dayjs": "^1.11.12",
|
||||
"dayjs": "^1.11.13",
|
||||
"jwt-decode": "^4.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"mpegts.js": "^1.7.3",
|
||||
@ -26,8 +26,8 @@
|
||||
"video.js": "^8.17.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/eslint": "^0.5.0",
|
||||
"@nuxtjs/i18n": "^8.4.0",
|
||||
"@nuxt/eslint": "^0.5.1",
|
||||
"@nuxtjs/i18n": "^8.5.0",
|
||||
"@nuxtjs/tailwindcss": "^6.12.1",
|
||||
"@types/lodash": "^4.17.7",
|
||||
"@types/video.js": "^7.3.58",
|
||||
@ -36,7 +36,7 @@
|
||||
"postcss": "^8.4.41",
|
||||
"postcss-loader": "^8.1.1",
|
||||
"sass": "^1.77.8",
|
||||
"sass-loader": "^16.0.0",
|
||||
"sass-loader": "^16.0.1",
|
||||
"vue": "^3.4.38",
|
||||
"vue-router": "^4.4.3"
|
||||
}
|
||||
@ -753,15 +753,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@es-joy/jsdoccomment": {
|
||||
"version": "0.46.0",
|
||||
"resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.46.0.tgz",
|
||||
"integrity": "sha512-C3Axuq1xd/9VqFZpW4YAzOx5O9q/LP46uIQy/iNDpHG3fmPa6TBtvfglMCs3RBiBxAIi0Go97r8+jvTt55XMyQ==",
|
||||
"version": "0.48.0",
|
||||
"resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.48.0.tgz",
|
||||
"integrity": "sha512-G6QUWIcC+KvSwXNsJyDTHvqUdNoAVJPPgkc3+Uk4WBKqZvoXhlvazOgm9aL0HwihJLQf0l+tOE2UFzXBqCqgDw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"comment-parser": "1.4.1",
|
||||
"esquery": "^1.6.0",
|
||||
"jsdoc-type-pratt-parser": "~4.0.0"
|
||||
"jsdoc-type-pratt-parser": "~4.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
@ -1230,9 +1230,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@eslint/config-inspector": {
|
||||
"version": "0.5.3",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/config-inspector/-/config-inspector-0.5.3.tgz",
|
||||
"integrity": "sha512-ZetBSOuoZ+5U947Y3VDbZKerILI6SuiVPCz9zJiJKGVPgm/42rGZe31yeSUp0/kyiSIIpKD3RXXzqqXVzIFMOw==",
|
||||
"version": "0.5.4",
|
||||
"resolved": "https://registry.npmjs.org/@eslint/config-inspector/-/config-inspector-0.5.4.tgz",
|
||||
"integrity": "sha512-WB/U/B6HdRiIt/CfbcqqFp7Svz+3INLtnGcuMT2hnU39S3cb9JGGkvB1T6lbIlDoQ9VRnhc4riIFFoicGRZ2mw==",
|
||||
"dev": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
@ -1958,48 +1958,48 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@nuxt/devtools": {
|
||||
"version": "1.3.9",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/devtools/-/devtools-1.3.9.tgz",
|
||||
"integrity": "sha512-tFKlbUPgSXw4tyD8xpztQtJeVn3egdKbFCV0xc92FbfGbclAyaa3XhKA2tMWXEGZQpykAWMRNrGWN24FtXFA6Q==",
|
||||
"version": "1.3.14",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/devtools/-/devtools-1.3.14.tgz",
|
||||
"integrity": "sha512-ebeVWBisXbhJ7begAZTgSDF8cPbExHv4RPDb9fWTMI1YoVVxX+elqUPw0K6T5Yi4atdGhyxRtGMqjikl7QKp9w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@antfu/utils": "^0.7.10",
|
||||
"@nuxt/devtools-kit": "1.3.9",
|
||||
"@nuxt/devtools-wizard": "1.3.9",
|
||||
"@nuxt/kit": "^3.12.2",
|
||||
"@nuxt/devtools-kit": "1.3.14",
|
||||
"@nuxt/devtools-wizard": "1.3.14",
|
||||
"@nuxt/kit": "^3.12.4",
|
||||
"@vue/devtools-core": "7.3.3",
|
||||
"@vue/devtools-kit": "7.3.3",
|
||||
"birpc": "^0.2.17",
|
||||
"consola": "^3.2.3",
|
||||
"cronstrue": "^2.50.0",
|
||||
"destr": "^2.0.3",
|
||||
"error-stack-parser-es": "^0.1.4",
|
||||
"error-stack-parser-es": "^0.1.5",
|
||||
"execa": "^7.2.0",
|
||||
"fast-glob": "^3.3.2",
|
||||
"fast-npm-meta": "^0.1.1",
|
||||
"fast-npm-meta": "^0.2.2",
|
||||
"flatted": "^3.3.1",
|
||||
"get-port-please": "^3.1.2",
|
||||
"hookable": "^5.5.3",
|
||||
"image-meta": "^0.2.0",
|
||||
"image-meta": "^0.2.1",
|
||||
"is-installed-globally": "^1.0.0",
|
||||
"launch-editor": "^2.8.0",
|
||||
"launch-editor": "^2.8.1",
|
||||
"local-pkg": "^0.5.0",
|
||||
"magicast": "^0.3.4",
|
||||
"nypm": "^0.3.9",
|
||||
"ohash": "^1.1.3",
|
||||
"pathe": "^1.1.2",
|
||||
"perfect-debounce": "^1.0.0",
|
||||
"pkg-types": "^1.1.2",
|
||||
"pkg-types": "^1.1.3",
|
||||
"rc9": "^2.1.2",
|
||||
"scule": "^1.3.0",
|
||||
"semver": "^7.6.2",
|
||||
"semver": "^7.6.3",
|
||||
"simple-git": "^3.25.0",
|
||||
"sirv": "^2.0.4",
|
||||
"unimport": "^3.7.2",
|
||||
"vite-plugin-inspect": "^0.8.4",
|
||||
"vite-plugin-vue-inspector": "^5.1.2",
|
||||
"unimport": "^3.10.1",
|
||||
"vite-plugin-inspect": "^0.8.6",
|
||||
"vite-plugin-vue-inspector": "^5.1.3",
|
||||
"which": "^3.0.1",
|
||||
"ws": "^8.17.1"
|
||||
"ws": "^8.18.0"
|
||||
},
|
||||
"bin": {
|
||||
"devtools": "cli.mjs"
|
||||
@ -2009,13 +2009,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@nuxt/devtools-kit": {
|
||||
"version": "1.3.9",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/devtools-kit/-/devtools-kit-1.3.9.tgz",
|
||||
"integrity": "sha512-tgr/F+4BbI53/JxgaXl3cuV9dMuCXMsd4GEXN+JqtCdAkDbH3wL79GGWx0/6I9acGzRsB6UZ1H6U96nfgcIrAw==",
|
||||
"version": "1.3.14",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/devtools-kit/-/devtools-kit-1.3.14.tgz",
|
||||
"integrity": "sha512-mLPuCf5nFYLm/1JD0twt8qfFGwoVhTRA4Zx9CPiyWCQNf7XJXb3TfhCm89vHpcPP+9T6ulZxRJp+JZETjXY8+A==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@nuxt/kit": "^3.12.2",
|
||||
"@nuxt/schema": "^3.12.3",
|
||||
"@nuxt/kit": "^3.12.4",
|
||||
"@nuxt/schema": "^3.12.4",
|
||||
"execa": "^7.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@ -2023,9 +2023,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@nuxt/devtools-wizard": {
|
||||
"version": "1.3.9",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/devtools-wizard/-/devtools-wizard-1.3.9.tgz",
|
||||
"integrity": "sha512-WMgwWWuyng+Y6k7sfBI95wYnec8TPFkuYbHHOlYQgqE9dAewPisSbEm3WkB7p/W9UqxpN8mvKN5qUg4sTmEpgQ==",
|
||||
"version": "1.3.14",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/devtools-wizard/-/devtools-wizard-1.3.14.tgz",
|
||||
"integrity": "sha512-5kLB53/7YUME6Y8byrOxRhl0hXWm05jPStJd1CJHKDcGrp+hjxYZaSgEwYtEIQ0A1GF04rfL4bJ+qIL+7e0+9Q==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"consola": "^3.2.3",
|
||||
@ -2034,10 +2034,10 @@
|
||||
"global-directory": "^4.0.1",
|
||||
"magicast": "^0.3.4",
|
||||
"pathe": "^1.1.2",
|
||||
"pkg-types": "^1.1.2",
|
||||
"pkg-types": "^1.1.3",
|
||||
"prompts": "^2.4.2",
|
||||
"rc9": "^2.1.2",
|
||||
"semver": "^7.6.2"
|
||||
"semver": "^7.6.3"
|
||||
},
|
||||
"bin": {
|
||||
"devtools-wizard": "cli.mjs"
|
||||
@ -2059,20 +2059,20 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@nuxt/eslint": {
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/eslint/-/eslint-0.5.0.tgz",
|
||||
"integrity": "sha512-5VA79fN6Dm2N9Hs3921sGdFeWZlJtaf6aDHTGu/X67+hWQZND/KHYxBRx/ShxWlJV4P0JqKp1pHiJIOdopdd8g==",
|
||||
"version": "0.5.1",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/eslint/-/eslint-0.5.1.tgz",
|
||||
"integrity": "sha512-ftpJyVxBTCdUIic6k6FZQc0Z00Wr1Gh109UC4XbKf1rp9hznQF855ZHXSEmRubNW4eshrl3UkYknaUzKR8p6mw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eslint/config-inspector": "^0.5.2",
|
||||
"@eslint/config-inspector": "^0.5.4",
|
||||
"@nuxt/devtools-kit": "^1.3.9",
|
||||
"@nuxt/eslint-config": "0.5.0",
|
||||
"@nuxt/eslint-plugin": "0.5.0",
|
||||
"@nuxt/eslint-config": "0.5.1",
|
||||
"@nuxt/eslint-plugin": "0.5.1",
|
||||
"@nuxt/kit": "^3.12.4",
|
||||
"chokidar": "^3.6.0",
|
||||
"eslint-flat-config-utils": "^0.3.0",
|
||||
"eslint-typegen": "^0.3.0",
|
||||
"eslint-flat-config-utils": "^0.3.1",
|
||||
"eslint-typegen": "^0.3.1",
|
||||
"find-up": "^7.0.0",
|
||||
"get-port-please": "^3.1.2",
|
||||
"mlly": "^1.7.1",
|
||||
@ -2094,22 +2094,22 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@nuxt/eslint-config": {
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/eslint-config/-/eslint-config-0.5.0.tgz",
|
||||
"integrity": "sha512-jG+S9lLIpAHIngJNiEbEMsZlnLEichJ/dZJufPhX/nqZIvbgKNn2eGInbi0bJJbqMnm0qzk7458NUzOhek8ZVw==",
|
||||
"version": "0.5.1",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/eslint-config/-/eslint-config-0.5.1.tgz",
|
||||
"integrity": "sha512-Z6JNHe4trtJdte3y5Fy0CueFCris/kEIbDAoY1bYum1EtOFjEhOcx6BWCrkQybzUIfPVel7YgJ4CiG9bkD3plQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eslint/js": "^9.8.0",
|
||||
"@nuxt/eslint-plugin": "0.5.0",
|
||||
"@eslint/js": "^9.9.0",
|
||||
"@nuxt/eslint-plugin": "0.5.1",
|
||||
"@rushstack/eslint-patch": "^1.10.4",
|
||||
"@stylistic/eslint-plugin": "^2.6.1",
|
||||
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
||||
"@typescript-eslint/parser": "^8.0.0",
|
||||
"@stylistic/eslint-plugin": "^2.6.4",
|
||||
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
||||
"@typescript-eslint/parser": "^8.1.0",
|
||||
"eslint-config-flat-gitignore": "^0.1.8",
|
||||
"eslint-flat-config-utils": "^0.3.0",
|
||||
"eslint-flat-config-utils": "^0.3.1",
|
||||
"eslint-plugin-import-x": "^3.1.0",
|
||||
"eslint-plugin-jsdoc": "^48.11.0",
|
||||
"eslint-plugin-jsdoc": "^50.2.2",
|
||||
"eslint-plugin-regexp": "^2.6.0",
|
||||
"eslint-plugin-unicorn": "^55.0.0",
|
||||
"eslint-plugin-vue": "^9.27.0",
|
||||
@ -2124,14 +2124,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@nuxt/eslint-plugin": {
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/eslint-plugin/-/eslint-plugin-0.5.0.tgz",
|
||||
"integrity": "sha512-p0HNkpNxur0DKW3euIR25FgYMSSRp7hkecA0vOdQo+4qTipYLznqj9MjUvRo10CZtS0g9D9Gv5NyIkjPLTMN8A==",
|
||||
"version": "0.5.1",
|
||||
"resolved": "https://registry.npmjs.org/@nuxt/eslint-plugin/-/eslint-plugin-0.5.1.tgz",
|
||||
"integrity": "sha512-erJ6bum60DTAy+nCq+oU2ZmG4kat+zhvTPvBEkA9SSnJvrHLSjTzJ/r74rgwPM5yuUfIxtujYQ6BBvwvbCBzXw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "^8.0.0",
|
||||
"@typescript-eslint/utils": "^8.0.0"
|
||||
"@typescript-eslint/types": "^8.1.0",
|
||||
"@typescript-eslint/utils": "^8.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"eslint": "^8.57.0 || ^9.0.0"
|
||||
@ -2698,9 +2698,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@nuxtjs/i18n": {
|
||||
"version": "8.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@nuxtjs/i18n/-/i18n-8.4.0.tgz",
|
||||
"integrity": "sha512-+iFDUlWNT99jVlXoVTcaEJdiE/psWBVMyVvDl4aB58/nB9ICzNy1bLAYrUxtoEtxhFF2tF+DHTdcs8dSVWeHWQ==",
|
||||
"version": "8.5.0",
|
||||
"resolved": "https://registry.npmjs.org/@nuxtjs/i18n/-/i18n-8.5.0.tgz",
|
||||
"integrity": "sha512-FMdVUzsbTWu3FOCQsUt5aDyc6ffPAowo1MfPmuFwDIgqWgzMnayDEaQM2c2D1Hyn1pjYYI46IVsJ9+aJqp+SHQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@ -3768,9 +3768,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/node": {
|
||||
"version": "22.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.0.tgz",
|
||||
"integrity": "sha512-49AbMDwYUz7EXxKU/r7mXOsxwFr4BYbvB7tWYxVuLdb2ibd30ijjXINSMAHiEEZk5PCRBmW1gUeisn2VMKt3cQ==",
|
||||
"version": "22.4.2",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.2.tgz",
|
||||
"integrity": "sha512-nAvM3Ey230/XzxtyDcJ+VjvlzpzoHwLsF7JaDRfoI0ytO0mVheerNmM45CtA0yOILXwXXxOrcUWH3wltX+7PSw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"undici-types": "~6.19.2"
|
||||
@ -3803,17 +3803,17 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.1.0.tgz",
|
||||
"integrity": "sha512-LlNBaHFCEBPHyD4pZXb35mzjGkuGKXU5eeCA1SxvHfiRES0E82dOounfVpL4DCqYvJEKab0bZIA0gCRpdLKkCw==",
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.2.0.tgz",
|
||||
"integrity": "sha512-02tJIs655em7fvt9gps/+4k4OsKULYGtLBPJfOsmOq1+3cdClYiF0+d6mHu6qDnTcg88wJBkcPLpQhq7FyDz0A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eslint-community/regexpp": "^4.10.0",
|
||||
"@typescript-eslint/scope-manager": "8.1.0",
|
||||
"@typescript-eslint/type-utils": "8.1.0",
|
||||
"@typescript-eslint/utils": "8.1.0",
|
||||
"@typescript-eslint/visitor-keys": "8.1.0",
|
||||
"@typescript-eslint/scope-manager": "8.2.0",
|
||||
"@typescript-eslint/type-utils": "8.2.0",
|
||||
"@typescript-eslint/utils": "8.2.0",
|
||||
"@typescript-eslint/visitor-keys": "8.2.0",
|
||||
"graphemer": "^1.4.0",
|
||||
"ignore": "^5.3.1",
|
||||
"natural-compare": "^1.4.0",
|
||||
@ -3837,16 +3837,16 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/parser": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.1.0.tgz",
|
||||
"integrity": "sha512-U7iTAtGgJk6DPX9wIWPPOlt1gO57097G06gIcl0N0EEnNw8RGD62c+2/DiP/zL7KrkqnnqF7gtFGR7YgzPllTA==",
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.2.0.tgz",
|
||||
"integrity": "sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg==",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/scope-manager": "8.1.0",
|
||||
"@typescript-eslint/types": "8.1.0",
|
||||
"@typescript-eslint/typescript-estree": "8.1.0",
|
||||
"@typescript-eslint/visitor-keys": "8.1.0",
|
||||
"@typescript-eslint/scope-manager": "8.2.0",
|
||||
"@typescript-eslint/types": "8.2.0",
|
||||
"@typescript-eslint/typescript-estree": "8.2.0",
|
||||
"@typescript-eslint/visitor-keys": "8.2.0",
|
||||
"debug": "^4.3.4"
|
||||
},
|
||||
"engines": {
|
||||
@ -3866,14 +3866,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/scope-manager": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.1.0.tgz",
|
||||
"integrity": "sha512-DsuOZQji687sQUjm4N6c9xABJa7fjvfIdjqpSIIVOgaENf2jFXiM9hIBZOL3hb6DHK9Nvd2d7zZnoMLf9e0OtQ==",
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.2.0.tgz",
|
||||
"integrity": "sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.1.0",
|
||||
"@typescript-eslint/visitor-keys": "8.1.0"
|
||||
"@typescript-eslint/types": "8.2.0",
|
||||
"@typescript-eslint/visitor-keys": "8.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
@ -3884,14 +3884,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/type-utils": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.1.0.tgz",
|
||||
"integrity": "sha512-oLYvTxljVvsMnldfl6jIKxTaU7ok7km0KDrwOt1RHYu6nxlhN3TIx8k5Q52L6wR33nOwDgM7VwW1fT1qMNfFIA==",
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.2.0.tgz",
|
||||
"integrity": "sha512-g1CfXGFMQdT5S+0PSO0fvGXUaiSkl73U1n9LTK5aRAFnPlJ8dLKkXr4AaLFvPedW8lVDoMgLLE3JN98ZZfsj0w==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/typescript-estree": "8.1.0",
|
||||
"@typescript-eslint/utils": "8.1.0",
|
||||
"@typescript-eslint/typescript-estree": "8.2.0",
|
||||
"@typescript-eslint/utils": "8.2.0",
|
||||
"debug": "^4.3.4",
|
||||
"ts-api-utils": "^1.3.0"
|
||||
},
|
||||
@ -3909,9 +3909,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/types": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.1.0.tgz",
|
||||
"integrity": "sha512-q2/Bxa0gMOu/2/AKALI0tCKbG2zppccnRIRCW6BaaTlRVaPKft4oVYPp7WOPpcnsgbr0qROAVCVKCvIQ0tbWog==",
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.2.0.tgz",
|
||||
"integrity": "sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
@ -3923,14 +3923,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/typescript-estree": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.1.0.tgz",
|
||||
"integrity": "sha512-NTHhmufocEkMiAord/g++gWKb0Fr34e9AExBRdqgWdVBaKoei2dIyYKD9Q0jBnvfbEA5zaf8plUFMUH6kQ0vGg==",
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz",
|
||||
"integrity": "sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA==",
|
||||
"dev": true,
|
||||
"license": "BSD-2-Clause",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.1.0",
|
||||
"@typescript-eslint/visitor-keys": "8.1.0",
|
||||
"@typescript-eslint/types": "8.2.0",
|
||||
"@typescript-eslint/visitor-keys": "8.2.0",
|
||||
"debug": "^4.3.4",
|
||||
"globby": "^11.1.0",
|
||||
"is-glob": "^4.0.3",
|
||||
@ -3983,16 +3983,16 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/utils": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.1.0.tgz",
|
||||
"integrity": "sha512-ypRueFNKTIFwqPeJBfeIpxZ895PQhNyH4YID6js0UoBImWYoSjBsahUn9KMiJXh94uOjVBgHD9AmkyPsPnFwJA==",
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.2.0.tgz",
|
||||
"integrity": "sha512-O46eaYKDlV3TvAVDNcoDzd5N550ckSe8G4phko++OCSC1dYIb9LTc3HDGYdWqWIAT5qDUKphO6sd9RrpIJJPfg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@eslint-community/eslint-utils": "^4.4.0",
|
||||
"@typescript-eslint/scope-manager": "8.1.0",
|
||||
"@typescript-eslint/types": "8.1.0",
|
||||
"@typescript-eslint/typescript-estree": "8.1.0"
|
||||
"@typescript-eslint/scope-manager": "8.2.0",
|
||||
"@typescript-eslint/types": "8.2.0",
|
||||
"@typescript-eslint/typescript-estree": "8.2.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||
@ -4006,13 +4006,13 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@typescript-eslint/visitor-keys": {
|
||||
"version": "8.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.1.0.tgz",
|
||||
"integrity": "sha512-ba0lNI19awqZ5ZNKh6wCModMwoZs457StTebQ0q1NP58zSi2F6MOZRXwfKZy+jB78JNJ/WH8GSh2IQNzXX8Nag==",
|
||||
"version": "8.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz",
|
||||
"integrity": "sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@typescript-eslint/types": "8.1.0",
|
||||
"@typescript-eslint/types": "8.2.0",
|
||||
"eslint-visitor-keys": "^3.4.3"
|
||||
},
|
||||
"engines": {
|
||||
@ -4045,22 +4045,22 @@
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/@unhead/dom": {
|
||||
"version": "1.9.16",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/dom/-/dom-1.9.16.tgz",
|
||||
"integrity": "sha512-aZIAnnc89Csi1vV4mtlHYI765B7m1yuaXUuQiYHwr6glE9FLyy2X87CzEci4yPH/YbkKm0bGQRfcxXq6Eq0W7g==",
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/dom/-/dom-1.10.0.tgz",
|
||||
"integrity": "sha512-LdgtOlyMHOyuQNsUKM+1d8ViiiY4LxjCPJlgUU/5CwgqeRYf4LWFu8oRMQfSQVTusbPwwvr3MolM9iTUu2I4BQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@unhead/schema": "1.9.16",
|
||||
"@unhead/shared": "1.9.16"
|
||||
"@unhead/schema": "1.10.0",
|
||||
"@unhead/shared": "1.10.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/harlan-zw"
|
||||
}
|
||||
},
|
||||
"node_modules/@unhead/schema": {
|
||||
"version": "1.9.16",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/schema/-/schema-1.9.16.tgz",
|
||||
"integrity": "sha512-V2BshX+I6D2wN4ys5so8RQDUgsggsxW9FVBiuQi4h8oPWtHclogxzDiHa5BH2TgvNIoUxLnLYNAShMGipmVuUw==",
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/schema/-/schema-1.10.0.tgz",
|
||||
"integrity": "sha512-hmgkFdLzm/VPLAXBF89Iry4Wz/6FpHMfMKCnAdihAt1Ublsi04RrA0hQuAiuGG2CZiKL4VCxtmV++UXj/kyakA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"hookable": "^5.5.3",
|
||||
@ -4071,40 +4071,40 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@unhead/shared": {
|
||||
"version": "1.9.16",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/shared/-/shared-1.9.16.tgz",
|
||||
"integrity": "sha512-pfJnArULCY+GBr7OtYyyxihRiQLkT31TpyK6nUKIwyax4oNOGyhNfk0RFzNq16BwLg60d1lrc5bd5mZGbfClMA==",
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/shared/-/shared-1.10.0.tgz",
|
||||
"integrity": "sha512-Lv7pP0AoWJy+YaiWd4kGD+TK78ahPUwnIRx6YCC6FjPmE0KCqooeDS4HbInYaklLlEMQZislXyIwLczK2DTWiw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@unhead/schema": "1.9.16"
|
||||
"@unhead/schema": "1.10.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/harlan-zw"
|
||||
}
|
||||
},
|
||||
"node_modules/@unhead/ssr": {
|
||||
"version": "1.9.16",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/ssr/-/ssr-1.9.16.tgz",
|
||||
"integrity": "sha512-8R1qt4VAemX4Iun/l7DnUBJqmxA/KaUSc2+/hRYPJYOopXdCWkoaxC1K1ROX2vbRF7qmjdU5ik/a27kSPN94gg==",
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/ssr/-/ssr-1.10.0.tgz",
|
||||
"integrity": "sha512-L2XqGUQ05+a/zBAJk4mseLpsDoHMsuEsZNWp5f7E/Kx8P1oBAAs6J/963nvVFdec41HuClNHtJZ5swz77dmb1Q==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@unhead/schema": "1.9.16",
|
||||
"@unhead/shared": "1.9.16"
|
||||
"@unhead/schema": "1.10.0",
|
||||
"@unhead/shared": "1.10.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/harlan-zw"
|
||||
}
|
||||
},
|
||||
"node_modules/@unhead/vue": {
|
||||
"version": "1.9.16",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/vue/-/vue-1.9.16.tgz",
|
||||
"integrity": "sha512-kpMWWwm8cOwo4gw4An43pz30l2CqNtmJpX5Xsu79rwf6Viq8jHAjk6BGqyKy220M2bpa0Va4fnR532SgGO1YgQ==",
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/@unhead/vue/-/vue-1.10.0.tgz",
|
||||
"integrity": "sha512-Cv9BViaOwCBdXy3bsTvJ10Rs808FSSq/ZfeBXzOjOxt08sbubf6Mr5opBdOlv/i1bzyFVIAqe5ABmrhC9mB80w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@unhead/schema": "1.9.16",
|
||||
"@unhead/shared": "1.9.16",
|
||||
"@unhead/schema": "1.10.0",
|
||||
"@unhead/shared": "1.10.0",
|
||||
"hookable": "^5.5.3",
|
||||
"unhead": "1.9.16"
|
||||
"unhead": "1.10.0"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/harlan-zw"
|
||||
@ -4600,14 +4600,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vueuse/core": {
|
||||
"version": "11.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@vueuse/core/-/core-11.0.0.tgz",
|
||||
"integrity": "sha512-shibzNGjmRjZucEm97B8V0NO5J3vPHMCE/mltxQ3vHezbDoFQBMtK11XsfwfPionxSbo+buqPmsCljtYuXIBpw==",
|
||||
"version": "11.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@vueuse/core/-/core-11.0.1.tgz",
|
||||
"integrity": "sha512-YTrekI18WwEyP3h168Fir94G/HNC27wvXJI21Alm0sPOwvhihfkrvHIe+5PNJq+MpgWdRcsjvE/38JaoKrgZhQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@types/web-bluetooth": "^0.0.20",
|
||||
"@vueuse/metadata": "11.0.0",
|
||||
"@vueuse/shared": "11.0.0",
|
||||
"@vueuse/metadata": "11.0.1",
|
||||
"@vueuse/shared": "11.0.1",
|
||||
"vue-demi": ">=0.14.10"
|
||||
},
|
||||
"funding": {
|
||||
@ -4641,23 +4641,23 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vueuse/metadata": {
|
||||
"version": "11.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-11.0.0.tgz",
|
||||
"integrity": "sha512-0TKsAVT0iUOAPWyc9N79xWYfovJVPATiOPVKByG6jmAYdDiwvMVm9xXJ5hp4I8nZDxpCcYlLq/Rg9w1Z/jrGcg==",
|
||||
"version": "11.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@vueuse/metadata/-/metadata-11.0.1.tgz",
|
||||
"integrity": "sha512-dTFvuHFAjLYOiSd+t9Sk7xUiuL6jbfay/eX+g+jaipXXlwKur2VCqBCZX+jfu+2vROUGcUsdn3fJR9KkpadIOg==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/antfu"
|
||||
}
|
||||
},
|
||||
"node_modules/@vueuse/nuxt": {
|
||||
"version": "11.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@vueuse/nuxt/-/nuxt-11.0.0.tgz",
|
||||
"integrity": "sha512-mkfB2ZCMQqkMvMm2apV9K0stU937b3rC7/S5dw9i4b87e5mTLbGshKLa7ASP+55mRxbbKp7YkU1Y5+P8zFWhuQ==",
|
||||
"version": "11.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@vueuse/nuxt/-/nuxt-11.0.1.tgz",
|
||||
"integrity": "sha512-2utGiRItdFV6/ED39YMyVl/mWFg/Hfx21sVTpo/uv+ZVwg38bLP79Ziqy21WXow18t1E9NEOirU9KhB655ERug==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@nuxt/kit": "^3.12.4",
|
||||
"@vueuse/core": "11.0.0",
|
||||
"@vueuse/metadata": "11.0.0",
|
||||
"@vueuse/core": "11.0.1",
|
||||
"@vueuse/metadata": "11.0.1",
|
||||
"local-pkg": "^0.5.0",
|
||||
"vue-demi": ">=0.14.10"
|
||||
},
|
||||
@ -4695,9 +4695,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vueuse/shared": {
|
||||
"version": "11.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-11.0.0.tgz",
|
||||
"integrity": "sha512-i4ZmOrIEjSsL94uAEt3hz88UCz93fMyP/fba9S+vypX90fKg3uYX9cThqvWc9aXxuTzR0UGhOKOTQd//Goh1nQ==",
|
||||
"version": "11.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@vueuse/shared/-/shared-11.0.1.tgz",
|
||||
"integrity": "sha512-eAPf5CQB3HR0S76HqrhjBqFYstZfiHWZq8xF9EQmobGBkrhPfErJEhr8aMNQMqd6MkENIx2pblIEfJGlHpClug==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"vue-demi": ">=0.14.10"
|
||||
@ -5112,9 +5112,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/async": {
|
||||
"version": "3.2.5",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz",
|
||||
"integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==",
|
||||
"version": "3.2.6",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",
|
||||
"integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/async-sema": {
|
||||
@ -5907,9 +5907,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/core-js-compat": {
|
||||
"version": "3.38.0",
|
||||
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.0.tgz",
|
||||
"integrity": "sha512-75LAicdLa4OJVwFxFbQR3NdnZjNgX6ILpVcVzcC4T2smerB5lELMrJQQQoWV6TiuC/vlaFqgU2tKQx9w5s0e0A==",
|
||||
"version": "3.38.1",
|
||||
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.1.tgz",
|
||||
"integrity": "sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@ -6262,9 +6262,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/dayjs": {
|
||||
"version": "1.11.12",
|
||||
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.12.tgz",
|
||||
"integrity": "sha512-Rt2g+nTbLlDWZTwwrIXjy9MeiZmSDI375FvZs72ngxx8PDC6YXOeR3q5LAuPzjZQxhiWdRKac7RKV+YyQYfYIg==",
|
||||
"version": "1.11.13",
|
||||
"resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz",
|
||||
"integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/db0": {
|
||||
@ -6596,9 +6596,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/electron-to-chromium": {
|
||||
"version": "1.5.11",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.11.tgz",
|
||||
"integrity": "sha512-R1CccCDYqndR25CaXFd6hp/u9RaaMcftMkphmvuepXr5b1vfLkRml6aWVeBhXJ7rbevHkKEMJtz8XqPf7ffmew==",
|
||||
"version": "1.5.13",
|
||||
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz",
|
||||
"integrity": "sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/emoji-regex": {
|
||||
@ -6849,9 +6849,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-flat-config-utils": {
|
||||
"version": "0.3.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-flat-config-utils/-/eslint-flat-config-utils-0.3.0.tgz",
|
||||
"integrity": "sha512-FaFQLUunAl6YK7aU/pT23DXYVWg/cEHbSfxwAxpCGT6Su8H9RfkmzKLh1G2bba46p6dTlQeA4VTiV5//0SeToQ==",
|
||||
"version": "0.3.1",
|
||||
"resolved": "https://registry.npmjs.org/eslint-flat-config-utils/-/eslint-flat-config-utils-0.3.1.tgz",
|
||||
"integrity": "sha512-eFT3EaoJN1hlN97xw4FIEX//h0TiFUobgl2l5uLkIwhVN9ahGq95Pbs+i1/B5UACA78LO3rco3JzuvxLdTUOPA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@ -7056,16 +7056,16 @@
|
||||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-jsdoc": {
|
||||
"version": "48.11.0",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-48.11.0.tgz",
|
||||
"integrity": "sha512-d12JHJDPNo7IFwTOAItCeJY1hcqoIxE0lHA8infQByLilQ9xkqrRa6laWCnsuCrf+8rUnvxXY1XuTbibRBNylA==",
|
||||
"version": "50.2.2",
|
||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-50.2.2.tgz",
|
||||
"integrity": "sha512-i0ZMWA199DG7sjxlzXn5AeYZxpRfMJjDPUl7lL9eJJX8TPRoIaxJU4ys/joP5faM5AXE1eqW/dslCj3uj4Nqpg==",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"@es-joy/jsdoccomment": "~0.46.0",
|
||||
"@es-joy/jsdoccomment": "~0.48.0",
|
||||
"are-docs-informative": "^0.0.2",
|
||||
"comment-parser": "1.4.1",
|
||||
"debug": "^4.3.5",
|
||||
"debug": "^4.3.6",
|
||||
"escape-string-regexp": "^4.0.0",
|
||||
"espree": "^10.1.0",
|
||||
"esquery": "^1.6.0",
|
||||
@ -7718,9 +7718,9 @@
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/fast-npm-meta": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/fast-npm-meta/-/fast-npm-meta-0.1.1.tgz",
|
||||
"integrity": "sha512-uS9DjGncI/9XZ6HJFrci0WzSi++N8Jskbb2uB7+9SQlrgA3VaLhXhV9Gl5HwIGESHkayYYZFGnVNhJwRDKCWIA==",
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/fast-npm-meta/-/fast-npm-meta-0.2.2.tgz",
|
||||
"integrity": "sha512-E+fdxeaOQGo/CMWc9f4uHFfgUPJRAu7N3uB8GBvB3SDPAIWJK4GKyYhkAGFq+GYrcbKNfQIz5VVQyJnDuPPCrg==",
|
||||
"license": "MIT",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/antfu"
|
||||
@ -8873,9 +8873,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/jsdoc-type-pratt-parser": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz",
|
||||
"integrity": "sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==",
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.1.0.tgz",
|
||||
"integrity": "sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
@ -13193,9 +13193,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/sass-loader": {
|
||||
"version": "16.0.0",
|
||||
"resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-16.0.0.tgz",
|
||||
"integrity": "sha512-n13Z+3rU9A177dk4888czcVFiC8CL9dii4qpXWUg3YIIgZEvi9TCFKjOQcbK0kJM7DJu9VucrZFddvNfYCPwtw==",
|
||||
"version": "16.0.1",
|
||||
"resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-16.0.1.tgz",
|
||||
"integrity": "sha512-xACl1ToTsKnL9Ce5yYpRxrLj9QUDCnwZNhzpC7tKiFyA8zXsd3Ap+HGVnbCgkdQcm43E+i6oKAWBsvGA6ZoiMw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@ -13557,9 +13557,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/spdx-license-ids": {
|
||||
"version": "3.0.18",
|
||||
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz",
|
||||
"integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==",
|
||||
"version": "3.0.20",
|
||||
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz",
|
||||
"integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==",
|
||||
"dev": true,
|
||||
"license": "CC0-1.0"
|
||||
},
|
||||
@ -14400,9 +14400,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/undici-types": {
|
||||
"version": "6.19.6",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.6.tgz",
|
||||
"integrity": "sha512-e/vggGopEfTKSvj4ihnOLTsqhrKRN3LeO6qSN/GxohhuRv8qH9bNQ4B8W7e/vFL+0XTnmHPB4/kegunZGA4Org==",
|
||||
"version": "6.19.8",
|
||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
|
||||
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/unenv": {
|
||||
@ -14431,14 +14431,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/unhead": {
|
||||
"version": "1.9.16",
|
||||
"resolved": "https://registry.npmjs.org/unhead/-/unhead-1.9.16.tgz",
|
||||
"integrity": "sha512-FOoXkuRNDwt7PUaNE0LXNCb6RCz4vTpkGymz4tJ8rcaG5uUJ0lxGK536hzCFwFw3Xkp3n+tkt2yCcbAZE/FOvA==",
|
||||
"version": "1.10.0",
|
||||
"resolved": "https://registry.npmjs.org/unhead/-/unhead-1.10.0.tgz",
|
||||
"integrity": "sha512-nv75Hvhu0asuD/rbP6b3tSRJUltxmThq/iZU5rLCGEkCqTkFk7ruQGNk+TRtx/RCYqL0R/IzIY9aqvhNOGe3mg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@unhead/dom": "1.9.16",
|
||||
"@unhead/schema": "1.9.16",
|
||||
"@unhead/shared": "1.9.16",
|
||||
"@unhead/dom": "1.10.0",
|
||||
"@unhead/schema": "1.10.0",
|
||||
"@unhead/shared": "1.10.0",
|
||||
"hookable": "^5.5.3"
|
||||
},
|
||||
"funding": {
|
||||
@ -14458,9 +14458,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/unimport": {
|
||||
"version": "3.10.0",
|
||||
"resolved": "https://registry.npmjs.org/unimport/-/unimport-3.10.0.tgz",
|
||||
"integrity": "sha512-/UvKRfWx3mNDWwWQhR62HsoM3wxHwYdTq8ellZzMOHnnw4Dp8tovgthyW7DjTrbjDL+i4idOp06voz2VKlvrLw==",
|
||||
"version": "3.10.1",
|
||||
"resolved": "https://registry.npmjs.org/unimport/-/unimport-3.10.1.tgz",
|
||||
"integrity": "sha512-gK0oqn2SyPEjmp5O0Epu13xmX1Pfn4MwpJNlntXUauV0wN8Hhod+BNjDjqQ4ZpOSCt17MCLjGqUXqUhAiJuhOw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@rollup/pluginutils": "^5.1.0",
|
||||
@ -14475,7 +14475,7 @@
|
||||
"pkg-types": "^1.1.3",
|
||||
"scule": "^1.3.0",
|
||||
"strip-literal": "^2.1.0",
|
||||
"unplugin": "^1.12.0"
|
||||
"unplugin": "^1.12.2"
|
||||
}
|
||||
},
|
||||
"node_modules/unimport/node_modules/escape-string-regexp": {
|
||||
@ -14820,14 +14820,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "5.4.1",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-5.4.1.tgz",
|
||||
"integrity": "sha512-1oE6yuNXssjrZdblI9AfBbHCC41nnyoVoEZxQnID6yvQZAFBzxxkqoFLtHUMkYunL8hwOLEjgTuxpkRxvba3kA==",
|
||||
"version": "5.4.2",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-5.4.2.tgz",
|
||||
"integrity": "sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"esbuild": "^0.21.3",
|
||||
"postcss": "^8.4.41",
|
||||
"rollup": "^4.13.0"
|
||||
"rollup": "^4.20.0"
|
||||
},
|
||||
"bin": {
|
||||
"vite": "bin/vite.js"
|
||||
@ -15000,15 +15000,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/vite-plugin-inspect": {
|
||||
"version": "0.8.5",
|
||||
"resolved": "https://registry.npmjs.org/vite-plugin-inspect/-/vite-plugin-inspect-0.8.5.tgz",
|
||||
"integrity": "sha512-JvTUqsP1JNDw0lMZ5Z/r5cSj81VK2B7884LO1DC3GMBhdcjcsAnJjdWq7bzQL01Xbh+v60d3lju3g+z7eAtNew==",
|
||||
"version": "0.8.6",
|
||||
"resolved": "https://registry.npmjs.org/vite-plugin-inspect/-/vite-plugin-inspect-0.8.6.tgz",
|
||||
"integrity": "sha512-iM/smnFRSuDq9UMVAN06fqBbHAofGDtB5yBucsl0QnPCFqQ2TmPIbsSgSR3gUv13qJ8oPE/FFhXlm9g1xX9nzg==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@antfu/utils": "^0.7.10",
|
||||
"@rollup/pluginutils": "^5.1.0",
|
||||
"debug": "^4.3.5",
|
||||
"error-stack-parser-es": "^0.1.4",
|
||||
"debug": "^4.3.6",
|
||||
"error-stack-parser-es": "^0.1.5",
|
||||
"fs-extra": "^11.2.0",
|
||||
"open": "^10.1.0",
|
||||
"perfect-debounce": "^1.0.0",
|
||||
|
10
package.json
10
package.json
@ -17,9 +17,9 @@
|
||||
"@pinia/nuxt": "^0.5.3",
|
||||
"@vueform/multiselect": "^2.6.9",
|
||||
"@vuepic/vue-datepicker": "^9.0.2",
|
||||
"@vueuse/nuxt": "^11.0.0",
|
||||
"@vueuse/nuxt": "^11.0.1",
|
||||
"bootstrap-icons": "^1.11.3",
|
||||
"dayjs": "^1.11.12",
|
||||
"dayjs": "^1.11.13",
|
||||
"jwt-decode": "^4.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"mpegts.js": "^1.7.3",
|
||||
@ -30,8 +30,8 @@
|
||||
"video.js": "^8.17.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/eslint": "^0.5.0",
|
||||
"@nuxtjs/i18n": "^8.4.0",
|
||||
"@nuxt/eslint": "^0.5.1",
|
||||
"@nuxtjs/i18n": "^8.5.0",
|
||||
"@nuxtjs/tailwindcss": "^6.12.1",
|
||||
"@types/lodash": "^4.17.7",
|
||||
"@types/video.js": "^7.3.58",
|
||||
@ -40,7 +40,7 @@
|
||||
"postcss": "^8.4.41",
|
||||
"postcss-loader": "^8.1.1",
|
||||
"sass": "^1.77.8",
|
||||
"sass-loader": "^16.0.0",
|
||||
"sass-loader": "^16.0.1",
|
||||
"vue": "^3.4.38",
|
||||
"vue-router": "^4.4.3"
|
||||
}
|
||||
|
@ -27,17 +27,26 @@ export const useConfig = defineStore('config', {
|
||||
|
||||
if (authStore.isLogin) {
|
||||
await authStore.obtainUuid()
|
||||
await this.getChannelConfig()
|
||||
await this.getPlayoutConfig()
|
||||
await this.getUserConfig()
|
||||
this.getChannelConfig().then(async () => {
|
||||
await this.getPlayoutConfig()
|
||||
await this.getUserConfig()
|
||||
|
||||
|
||||
if (this.configUser.id === 1) {
|
||||
await this.getAdvancedConfig()
|
||||
}
|
||||
if (this.configUser.id === 1) {
|
||||
await this.getAdvancedConfig()
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
logout() {
|
||||
const authStore = useAuth()
|
||||
const cookie = useCookie('token')
|
||||
cookie.value = null
|
||||
authStore.isLogin = false
|
||||
|
||||
navigateTo('/')
|
||||
},
|
||||
|
||||
async getChannelConfig() {
|
||||
const authStore = useAuth()
|
||||
const indexStore = useIndex()
|
||||
@ -54,6 +63,11 @@ export const useConfig = defineStore('config', {
|
||||
})
|
||||
.then((response) => response.json())
|
||||
.then((objs) => {
|
||||
if (!objs[0]) {
|
||||
this.logout()
|
||||
throw new Error('User not found')
|
||||
}
|
||||
|
||||
this.utcOffset = objs[0].utc_offset
|
||||
this.configChannel = objs
|
||||
this.configChannelRaw = _.cloneDeep(objs)
|
||||
@ -61,11 +75,7 @@ export const useConfig = defineStore('config', {
|
||||
})
|
||||
.catch((e) => {
|
||||
if (statusCode === 401) {
|
||||
const cookie = useCookie('token')
|
||||
cookie.value = null
|
||||
authStore.isLogin = false
|
||||
|
||||
navigateTo('/')
|
||||
this.logout()
|
||||
}
|
||||
|
||||
this.configChannel = [
|
||||
@ -210,6 +220,11 @@ export const useConfig = defineStore('config', {
|
||||
})
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
if (data.id === 0) {
|
||||
this.logout()
|
||||
throw new Error('User not found')
|
||||
}
|
||||
|
||||
this.currentUser = data.id
|
||||
this.configUser = data
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user