⬆️ migrate tauri-rc

This commit is contained in:
目棃
2024-08-02 23:09:42 +08:00
parent 27501acfd2
commit 5c0d5f50fe
16 changed files with 4715 additions and 4380 deletions

View File

@@ -66,15 +66,15 @@
},
"dependencies": {
"@mdi/font": "7.4.47",
"@tauri-apps/api": "2.0.0-beta.14",
"@tauri-apps/plugin-deep-link": "2.0.0-beta.9",
"@tauri-apps/plugin-dialog": "2.0.0-beta.7",
"@tauri-apps/plugin-fs": "2.0.0-beta.7",
"@tauri-apps/plugin-http": "2.0.0-beta.8",
"@tauri-apps/plugin-log": "2.0.0-beta.8",
"@tauri-apps/plugin-os": "2.0.0-beta.7",
"@tauri-apps/plugin-process": "2.0.0-beta.7",
"@tauri-apps/plugin-shell": "2.0.0-beta.8",
"@tauri-apps/api": "2.0.0-rc.0",
"@tauri-apps/plugin-deep-link": "2.0.0-beta.10",
"@tauri-apps/plugin-dialog": "2.0.0-beta.8",
"@tauri-apps/plugin-fs": "2.0.0-beta.8",
"@tauri-apps/plugin-http": "2.0.0-beta.9",
"@tauri-apps/plugin-log": "2.0.0-beta.9",
"@tauri-apps/plugin-os": "2.0.0-beta.8",
"@tauri-apps/plugin-process": "2.0.0-beta.8",
"@tauri-apps/plugin-shell": "2.0.0-beta.9",
"@tauri-apps/plugin-sql": "2.0.0-beta.7",
"ajv": "^8.17.1",
"artplayer": "^5.1.6",
@@ -91,8 +91,8 @@
"vue": "^3.4.35",
"vue-echarts": "^6.7.3",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.4.0",
"vuetify": "^3.6.13",
"vue-router": "^4.4.2",
"vuetify": "^3.6.14",
"wcag-color": "^1.1.1",
"xml-js": "^1.6.11"
},
@@ -102,10 +102,10 @@
"@tauri-apps/cli": "2.0.0-beta.21",
"@types/color-convert": "^2.0.3",
"@types/js-md5": "^0.7.2",
"@types/node": "^22.0.0",
"@types/node": "^22.1.0",
"@types/uuid": "^10.0.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-vue": "^5.1.1",
"@typescript-eslint/parser": "^8.0.0",
"@vitejs/plugin-vue": "^5.1.2",
"concurrently": "^8.2.2",
"eslint": "^9.8.0",
"eslint-config-love": "^62.0.0",
@@ -117,7 +117,7 @@
"eslint-plugin-promise": "^7.0.0",
"eslint-plugin-vue": "^9.27.0",
"eslint-plugin-yml": "^1.14.0",
"globals": "^15.8.0",
"globals": "^15.9.0",
"husky": "^9.1.4",
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.2.7",
@@ -131,7 +131,7 @@
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.2",
"typescript": "^5.5.4",
"typescript-eslint": "^7.18.0",
"typescript-eslint": "^8.0.0",
"vite": "^5.3.5",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-vue-devtools": "^7.3.7",

423
pnpm-lock.yaml generated
View File

@@ -12,32 +12,32 @@ importers:
specifier: 7.4.47
version: 7.4.47
'@tauri-apps/api':
specifier: 2.0.0-beta.14
version: 2.0.0-beta.14
specifier: 2.0.0-rc.0
version: 2.0.0-rc.0
'@tauri-apps/plugin-deep-link':
specifier: 2.0.0-beta.10
version: 2.0.0-beta.10
'@tauri-apps/plugin-dialog':
specifier: 2.0.0-beta.8
version: 2.0.0-beta.8
'@tauri-apps/plugin-fs':
specifier: 2.0.0-beta.8
version: 2.0.0-beta.8
'@tauri-apps/plugin-http':
specifier: 2.0.0-beta.9
version: 2.0.0-beta.9
'@tauri-apps/plugin-dialog':
specifier: 2.0.0-beta.7
version: 2.0.0-beta.7
'@tauri-apps/plugin-fs':
specifier: 2.0.0-beta.7
version: 2.0.0-beta.7
'@tauri-apps/plugin-http':
specifier: 2.0.0-beta.8
version: 2.0.0-beta.8
'@tauri-apps/plugin-log':
specifier: 2.0.0-beta.8
version: 2.0.0-beta.8
specifier: 2.0.0-beta.9
version: 2.0.0-beta.9
'@tauri-apps/plugin-os':
specifier: 2.0.0-beta.7
version: 2.0.0-beta.7
'@tauri-apps/plugin-process':
specifier: 2.0.0-beta.7
version: 2.0.0-beta.7
'@tauri-apps/plugin-shell':
specifier: 2.0.0-beta.8
version: 2.0.0-beta.8
'@tauri-apps/plugin-process':
specifier: 2.0.0-beta.8
version: 2.0.0-beta.8
'@tauri-apps/plugin-shell':
specifier: 2.0.0-beta.9
version: 2.0.0-beta.9
'@tauri-apps/plugin-sql':
specifier: 2.0.0-beta.7
version: 2.0.0-beta.7
@@ -87,11 +87,11 @@ importers:
specifier: ^3.0.4
version: 3.0.4(vue@3.4.35(typescript@5.5.4))
vue-router:
specifier: ^4.4.0
version: 4.4.0(vue@3.4.35(typescript@5.5.4))
specifier: ^4.4.2
version: 4.4.2(vue@3.4.35(typescript@5.5.4))
vuetify:
specifier: ^3.6.13
version: 3.6.13(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4))
specifier: ^3.6.14
version: 3.6.14(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4))
wcag-color:
specifier: ^1.1.1
version: 1.1.1
@@ -115,17 +115,17 @@ importers:
specifier: ^0.7.2
version: 0.7.2
'@types/node':
specifier: ^22.0.0
version: 22.0.0
specifier: ^22.1.0
version: 22.1.0
'@types/uuid':
specifier: ^10.0.0
version: 10.0.0
'@typescript-eslint/parser':
specifier: ^7.18.0
version: 7.18.0(eslint@9.8.0)(typescript@5.5.4)
specifier: ^8.0.0
version: 8.0.0(eslint@9.8.0)(typescript@5.5.4)
'@vitejs/plugin-vue':
specifier: ^5.1.1
version: 5.1.1(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4))
specifier: ^5.1.2
version: 5.1.2(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4))
concurrently:
specifier: ^8.2.2
version: 8.2.2
@@ -134,13 +134,13 @@ importers:
version: 9.8.0
eslint-config-love:
specifier: ^62.0.0
version: 62.0.0(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
version: 62.0.0(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
eslint-config-prettier:
specifier: ^9.1.0
version: 9.1.0(eslint@9.8.0)
eslint-plugin-import:
specifier: ^2.29.1
version: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)
version: 2.29.1(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)
eslint-plugin-jsonc:
specifier: ^2.16.0
version: 2.16.0(eslint@9.8.0)
@@ -160,8 +160,8 @@ importers:
specifier: ^1.14.0
version: 1.14.0(eslint@9.8.0)
globals:
specifier: ^15.8.0
version: 15.8.0
specifier: ^15.9.0
version: 15.9.0
husky:
specifier: ^9.1.4
version: 9.1.4
@@ -202,20 +202,20 @@ importers:
specifier: ^5.5.4
version: 5.5.4
typescript-eslint:
specifier: ^7.18.0
version: 7.18.0(eslint@9.8.0)(typescript@5.5.4)
specifier: ^8.0.0
version: 8.0.0(eslint@9.8.0)(typescript@5.5.4)
vite:
specifier: ^5.3.5
version: 5.3.5(@types/node@22.0.0)
version: 5.3.5(@types/node@22.1.0)
vite-plugin-node-polyfills:
specifier: ^0.22.0
version: 0.22.0(rollup@4.14.3)(vite@5.3.5(@types/node@22.0.0))
version: 0.22.0(rollup@4.14.3)(vite@5.3.5(@types/node@22.1.0))
vite-plugin-vue-devtools:
specifier: ^7.3.7
version: 7.3.7(rollup@4.14.3)(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4))
version: 7.3.7(rollup@4.14.3)(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4))
vite-plugin-vuetify:
specifier: ^2.0.3
version: 2.0.3(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.13)
version: 2.0.3(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.14)
vue-eslint-parser:
specifier: ^9.4.3
version: 9.4.3(eslint@9.8.0)
@@ -791,14 +791,14 @@ packages:
cpu: [x64]
os: [win32]
'@tauri-apps/api@2.0.0-beta.14':
resolution: {integrity: sha512-YLYgHqdwWswr4Y70+hRzaLD6kLIUgHhE3shLXNquPiTaQ9+cX3Q2dB0AFfqsua6NXYFNe7LfkmMzaqEzqv3yQg==}
engines: {node: '>= 18.18', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
'@tauri-apps/api@2.0.0-beta.15':
resolution: {integrity: sha512-H9w6iISmR+NvH4XuyCZB4zDN10tf9RFt6i/9JHEjaRhAowdAaJ+oiXq/3kedizNClHMtbTQ5j0oqDVPkZDAI8g==}
engines: {node: '>= 18.18', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
'@tauri-apps/api@2.0.0-rc.0':
resolution: {integrity: sha512-v454Qs3REHc3Za59U+/eSmBsdmF+3NE5+76+lFDaitVqN4ZglDHENDaMARYKGJVZuxiSkzyqG0SeG7lLQjVkPA==}
engines: {node: '>= 18.18', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
'@tauri-apps/cli-darwin-arm64@2.0.0-beta.21':
resolution: {integrity: sha512-okI7PRSC6RO4JfrOTqu4oWf0IfBPbkGHisyDOTay6K5uhz4zzry5fFJVa8S/DTrKtdjau4vcik/EDCxiGRun9Q==}
engines: {node: '>= 10'}
@@ -868,29 +868,29 @@ packages:
engines: {node: '>= 10'}
hasBin: true
'@tauri-apps/plugin-deep-link@2.0.0-beta.9':
resolution: {integrity: sha512-phYfWEv3wOzswCUYumQCFiQDddUGeNVRpbtgF/658SCweFzgye09o/Qkq98XjjzE1qDswO9EofdUkrQ4QIG+Tw==}
'@tauri-apps/plugin-deep-link@2.0.0-beta.10':
resolution: {integrity: sha512-UIBOMsMwF28GpK3Lp0FATU24Uuvmq1EIO9h2Bn2F3xyfbf8kG4zAi1otYizPhQ3h4FVHmgdo0fmbGnJQZA73xw==}
'@tauri-apps/plugin-dialog@2.0.0-beta.7':
resolution: {integrity: sha512-myywwpsKbquDDzl5zaOmmLLv5O8EJ/GgHDAoVSPwO97R4iWzkDvj3HFF91tNh7i25Tu/bP6jYPAdZA1NCRxxtg==}
'@tauri-apps/plugin-dialog@2.0.0-beta.8':
resolution: {integrity: sha512-6iVhEBceWYLUgX6ygBc4/yJ1o/D4YwgoAGt7ebFUTjEyIhp79PeFtE8OTjdyJbtVOc6bAcDeAn4+pbWtSw9/4w==}
'@tauri-apps/plugin-fs@2.0.0-beta.7':
resolution: {integrity: sha512-hsZyhzvy+xtRfbrKI2rmU1ZfmgbSs7Zu/6a12MFlJKVzqXmUwJvggcjYdm1cEFdLbnOOsszENXbwMnkzmxtirA==}
'@tauri-apps/plugin-fs@2.0.0-beta.8':
resolution: {integrity: sha512-m0lLmEIHL6J+dH6A1lgIwQ7JYArgTlZORhUcl2xzeef18llMp6Gjs272jCMRAnYEREhu7Wd3zk7PxSR+DsLXYg==}
'@tauri-apps/plugin-http@2.0.0-beta.8':
resolution: {integrity: sha512-FhZP4WtS1o69Mn7z2RpNIdVS+2nPqmXyz6LhqweuP1FTjgTVraVxIfGLQCOMLpEUwo8zWY2uChllolV6WGYZ/A==}
'@tauri-apps/plugin-http@2.0.0-beta.9':
resolution: {integrity: sha512-wTw4rTYif8tAn6i3aZOmzT3NRiFQsEeSQQ01i9CZZ7DKzyj4nRn6cWR+DqaUe8nWBnhixITmHNrRU6PjgJf2Uw==}
'@tauri-apps/plugin-log@2.0.0-beta.8':
resolution: {integrity: sha512-l214keCBJqj8jNb5MkaS44oF+1xen5miaKxNH3SIGE4uyFIweDGmbwxqIxRhtb18gxy/mu/ykDmEuKc5+8uzfQ==}
'@tauri-apps/plugin-log@2.0.0-beta.9':
resolution: {integrity: sha512-/nymduVti2r9OKXkjLGr1ByHBOzbPglsAvnmFaPUPmIwvY+ZYZaE7yBYYVGXE0rwkVE5pdXPeC5X5gY/UlAOVw==}
'@tauri-apps/plugin-os@2.0.0-beta.7':
resolution: {integrity: sha512-CHo09ecxUU0NFkAqctXeQzdaXw02EXulqcaZnbjrBfRJ2ulmGq7zaUCsHihfcqWcdnmNwmP9Wh/gyznMc1JF9Q==}
'@tauri-apps/plugin-os@2.0.0-beta.8':
resolution: {integrity: sha512-1685HUe4tGePalYfCWRKaTcLLCVIFyqyO7IMDiMNq23jT+LMJmd8xRBn/d3fDH3NLaI1r52RDpIOrnLx0XU6cw==}
'@tauri-apps/plugin-process@2.0.0-beta.7':
resolution: {integrity: sha512-iK4HYnzeyqAZE5HAKd0mDI7ekYXUqA9azjA9AgL4LscOEHma1XGEP0DlcHn+RrXIvVbI4LwCol9DSNNoIrB0+w==}
'@tauri-apps/plugin-process@2.0.0-beta.8':
resolution: {integrity: sha512-+B25JhnBnYp58ydc4HLQJk95+lCDuZlBWzdxAwdgfCr3jq4HtucPly2Ti9yDtdlxoz0JcoX9KNextttArHBKSA==}
'@tauri-apps/plugin-shell@2.0.0-beta.8':
resolution: {integrity: sha512-rFXI6MvsCdSGbuKbDu/NaOePREb9YTVTdeugHdvvljnKWW3dvmThBb2h/8Hxj+Z7Cd8MUoRxPeJWUZbPbJ2Imw==}
'@tauri-apps/plugin-shell@2.0.0-beta.9':
resolution: {integrity: sha512-BXBWRM9uaW3poT7O6py0Hm50dJUu6zuB/v4HOX727euF7uetKU79+W/0KBjtuLxIzXloCPNecg6Ti7x7XsGYjw==}
'@tauri-apps/plugin-sql@2.0.0-beta.7':
resolution: {integrity: sha512-VPJntJtyY0Y3UEwgRrG3C/BUNgFuWNdw1w2DuOvdiQtz97VT6DuJO7IPY+T9iYG0JfVqpKmJSHiuLvI6jZ/IMw==}
@@ -910,8 +910,8 @@ packages:
'@types/json5@0.0.29':
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
'@types/node@22.0.0':
resolution: {integrity: sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw==}
'@types/node@22.1.0':
resolution: {integrity: sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==}
'@types/uuid@10.0.0':
resolution: {integrity: sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==}
@@ -927,6 +927,17 @@ packages:
typescript:
optional: true
'@typescript-eslint/eslint-plugin@8.0.0':
resolution: {integrity: sha512-STIZdwEQRXAHvNUS6ILDf5z3u95Gc8jzywunxSNqX00OooIemaaNIA0vEgynJlycL5AjabYLLrIyHd4iazyvtg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
'@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0
eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/parser@7.18.0':
resolution: {integrity: sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -937,10 +948,24 @@ packages:
typescript:
optional: true
'@typescript-eslint/parser@8.0.0':
resolution: {integrity: sha512-pS1hdZ+vnrpDIxuFXYQpLTILglTjSYJ9MbetZctrUawogUsPdz31DIIRZ9+rab0LhYNTsk88w4fIzVheiTbWOQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/scope-manager@7.18.0':
resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==}
engines: {node: ^18.18.0 || >=20.0.0}
'@typescript-eslint/scope-manager@8.0.0':
resolution: {integrity: sha512-V0aa9Csx/ZWWv2IPgTfY7T4agYwJyILESu/PVqFtTFz9RIS823mAze+NbnBI8xiwdX3iqeQbcTYlvB04G9wyQw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/type-utils@7.18.0':
resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -951,10 +976,23 @@ packages:
typescript:
optional: true
'@typescript-eslint/type-utils@8.0.0':
resolution: {integrity: sha512-mJAFP2mZLTBwAn5WI4PMakpywfWFH5nQZezUQdSKV23Pqo6o9iShQg1hP2+0hJJXP2LnZkWPphdIq4juYYwCeg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/types@7.18.0':
resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==}
engines: {node: ^18.18.0 || >=20.0.0}
'@typescript-eslint/types@8.0.0':
resolution: {integrity: sha512-wgdSGs9BTMWQ7ooeHtu5quddKKs5Z5dS+fHLbrQI+ID0XWJLODGMHRfhwImiHoeO2S5Wir2yXuadJN6/l4JRxw==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@typescript-eslint/typescript-estree@7.18.0':
resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -964,18 +1002,37 @@ packages:
typescript:
optional: true
'@typescript-eslint/typescript-estree@8.0.0':
resolution: {integrity: sha512-5b97WpKMX+Y43YKi4zVcCVLtK5F98dFls3Oxui8LbnmRsseKenbbDinmvxrWegKDMmlkIq/XHuyy0UGLtpCDKg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
'@typescript-eslint/utils@7.18.0':
resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==}
engines: {node: ^18.18.0 || >=20.0.0}
peerDependencies:
eslint: ^8.56.0
'@typescript-eslint/utils@8.0.0':
resolution: {integrity: sha512-k/oS/A/3QeGLRvOWCg6/9rATJL5rec7/5s1YmdS0ZU6LHveJyGFwBvLhSRBv6i9xaj7etmosp+l+ViN1I9Aj/Q==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
'@typescript-eslint/visitor-keys@7.18.0':
resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==}
engines: {node: ^18.18.0 || >=20.0.0}
'@vitejs/plugin-vue@5.1.1':
resolution: {integrity: sha512-sDckXxlHpMsjRQbAH9WanangrfrblsOd3pNifePs+FOHjJg1jfWq5L/P0PsBRndEt3nmdUnmvieP8ULDeX5AvA==}
'@typescript-eslint/visitor-keys@8.0.0':
resolution: {integrity: sha512-oN0K4nkHuOyF3PVMyETbpP5zp6wfyOvm7tWhTMfoqxSSsPmJIh6JNASuZDlODE8eE+0EB9uar+6+vxr9DBTYOA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
'@vitejs/plugin-vue@5.1.2':
resolution: {integrity: sha512-nY9IwH12qeiJqumTCLJLE7IiNx7HZ39cbHaysEUd+Myvbz9KAqd2yq+U01Kab1R/H1BmiyM2ShTYlNH32Fzo3A==}
engines: {node: ^18.0.0 || >=20.0.0}
peerDependencies:
vite: ^5.0.0
@@ -1021,9 +1078,6 @@ packages:
'@vue/compiler-ssr@3.4.35':
resolution: {integrity: sha512-7iynB+0KB1AAJKk/biENTV5cRGHRdbdaD7Mx3nWcm1W8bVD6QmnH3B4AHhQQ1qZHhqFwzEzMwiytXm3PX1e60A==}
'@vue/devtools-api@6.6.1':
resolution: {integrity: sha512-LgPscpE3Vs0x96PzSSB4IGVSZXZBZHpfxs+ZA1d+VEPwHdOXowy/Y2CsvCAIFrf+ssVU1pD1jidj505EpUnfbA==}
'@vue/devtools-api@6.6.3':
resolution: {integrity: sha512-0MiMsFma/HqA6g3KLKn+AGpL1kgKhFWszC9U29NfpWK5LE7bjeXxySWJrOJ77hBz+TBrBQ7o4QJqbPbqbs8rJw==}
@@ -1857,8 +1911,8 @@ packages:
resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
engines: {node: '>=18'}
globals@15.8.0:
resolution: {integrity: sha512-VZAJ4cewHTExBWDHR6yptdIBlx9YSSZuwojj9Nt5mBRXQzrKakDsVKQ1J63sklLvzAJm0X5+RpO4i3Y2hcOnFw==}
globals@15.9.0:
resolution: {integrity: sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==}
engines: {node: '>=18'}
globalthis@1.0.3:
@@ -2988,6 +3042,15 @@ packages:
typescript:
optional: true
typescript-eslint@8.0.0:
resolution: {integrity: sha512-yQWBJutWL1PmpmDddIOl9/Mi6vZjqNCjqSGBMQ4vsc2Aiodk0SnbQQWPXbSy0HNuKCuGkw1+u4aQ2mO40TdhDQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
typescript: '*'
peerDependenciesMeta:
typescript:
optional: true
typescript@5.5.4:
resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==}
engines: {node: '>=14.17'}
@@ -2996,8 +3059,8 @@ packages:
unbox-primitive@1.0.2:
resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==}
undici-types@6.11.1:
resolution: {integrity: sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==}
undici-types@6.13.0:
resolution: {integrity: sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==}
universalify@2.0.1:
resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
@@ -3148,8 +3211,8 @@ packages:
peerDependencies:
vue: ^3.2.2
vue-router@4.4.0:
resolution: {integrity: sha512-HB+t2p611aIZraV2aPSRNXf0Z/oLZFrlygJm+sZbdJaW6lcFqEDQwnzUBXn+DApw+/QzDU/I9TeWx9izEjTmsA==}
vue-router@4.4.2:
resolution: {integrity: sha512-1qNybkn2L7QsLzaXs8nvlQmRKp8XF8DCxZys/Jr1JpQcHsKUxTKzTxCVA1G7NfBfwRIBgCJPoujOG5lHCCNUxw==}
peerDependencies:
vue: ^3.2.0
@@ -3161,8 +3224,8 @@ packages:
typescript:
optional: true
vuetify@3.6.13:
resolution: {integrity: sha512-Gz7jxXAkmff2m6CM0EUWOo/72TM322/3I6aDna++k1nPOW1/hNx4td1MZG4u75fzdn3r+uIe0dbF7SWuhu6DWA==}
vuetify@3.6.14:
resolution: {integrity: sha512-iSa3CgdTEt/7B0aGDmkBARe8rxDDycEYHu1zNtOf1Xpvs/Tv7Ql5yHGqM2XCY0h7SL8Dme39pJIovzg3q4JLbQ==}
engines: {node: ^12.20 || >=14.13}
peerDependencies:
typescript: '>=4.7'
@@ -3731,10 +3794,10 @@ snapshots:
'@rollup/rollup-win32-x64-msvc@4.14.3':
optional: true
'@tauri-apps/api@2.0.0-beta.14': {}
'@tauri-apps/api@2.0.0-beta.15': {}
'@tauri-apps/api@2.0.0-rc.0': {}
'@tauri-apps/cli-darwin-arm64@2.0.0-beta.21':
optional: true
@@ -3778,37 +3841,37 @@ snapshots:
'@tauri-apps/cli-win32-ia32-msvc': 2.0.0-beta.21
'@tauri-apps/cli-win32-x64-msvc': 2.0.0-beta.21
'@tauri-apps/plugin-deep-link@2.0.0-beta.9':
'@tauri-apps/plugin-deep-link@2.0.0-beta.10':
dependencies:
'@tauri-apps/api': 2.0.0-beta.15
'@tauri-apps/api': 2.0.0-rc.0
'@tauri-apps/plugin-dialog@2.0.0-beta.7':
'@tauri-apps/plugin-dialog@2.0.0-beta.8':
dependencies:
'@tauri-apps/api': 2.0.0-beta.15
'@tauri-apps/api': 2.0.0-rc.0
'@tauri-apps/plugin-fs@2.0.0-beta.7':
'@tauri-apps/plugin-fs@2.0.0-beta.8':
dependencies:
'@tauri-apps/api': 2.0.0-beta.15
'@tauri-apps/api': 2.0.0-rc.0
'@tauri-apps/plugin-http@2.0.0-beta.8':
'@tauri-apps/plugin-http@2.0.0-beta.9':
dependencies:
'@tauri-apps/api': 2.0.0-beta.15
'@tauri-apps/api': 2.0.0-rc.0
'@tauri-apps/plugin-log@2.0.0-beta.8':
'@tauri-apps/plugin-log@2.0.0-beta.9':
dependencies:
'@tauri-apps/api': 2.0.0-beta.15
'@tauri-apps/api': 2.0.0-rc.0
'@tauri-apps/plugin-os@2.0.0-beta.7':
'@tauri-apps/plugin-os@2.0.0-beta.8':
dependencies:
'@tauri-apps/api': 2.0.0-beta.15
'@tauri-apps/api': 2.0.0-rc.0
'@tauri-apps/plugin-process@2.0.0-beta.7':
'@tauri-apps/plugin-process@2.0.0-beta.8':
dependencies:
'@tauri-apps/api': 2.0.0-beta.15
'@tauri-apps/api': 2.0.0-rc.0
'@tauri-apps/plugin-shell@2.0.0-beta.8':
'@tauri-apps/plugin-shell@2.0.0-beta.9':
dependencies:
'@tauri-apps/api': 2.0.0-beta.15
'@tauri-apps/api': 2.0.0-rc.0
'@tauri-apps/plugin-sql@2.0.0-beta.7':
dependencies:
@@ -3826,9 +3889,9 @@ snapshots:
'@types/json5@0.0.29': {}
'@types/node@22.0.0':
'@types/node@22.1.0':
dependencies:
undici-types: 6.11.1
undici-types: 6.13.0
'@types/uuid@10.0.0': {}
@@ -3850,6 +3913,24 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/eslint-plugin@8.0.0(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)':
dependencies:
'@eslint-community/regexpp': 4.11.0
'@typescript-eslint/parser': 8.0.0(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/scope-manager': 8.0.0
'@typescript-eslint/type-utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/visitor-keys': 8.0.0
eslint: 9.8.0
graphemer: 1.4.0
ignore: 5.3.1
natural-compare: 1.4.0
ts-api-utils: 1.3.0(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
'@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4)':
dependencies:
'@typescript-eslint/scope-manager': 7.18.0
@@ -3863,11 +3944,29 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4)':
dependencies:
'@typescript-eslint/scope-manager': 8.0.0
'@typescript-eslint/types': 8.0.0
'@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.4)
'@typescript-eslint/visitor-keys': 8.0.0
debug: 4.3.6
eslint: 9.8.0
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
'@typescript-eslint/scope-manager@7.18.0':
dependencies:
'@typescript-eslint/types': 7.18.0
'@typescript-eslint/visitor-keys': 7.18.0
'@typescript-eslint/scope-manager@8.0.0':
dependencies:
'@typescript-eslint/types': 8.0.0
'@typescript-eslint/visitor-keys': 8.0.0
'@typescript-eslint/type-utils@7.18.0(eslint@9.8.0)(typescript@5.5.4)':
dependencies:
'@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4)
@@ -3880,8 +3979,22 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/type-utils@8.0.0(eslint@9.8.0)(typescript@5.5.4)':
dependencies:
'@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.4)
'@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4)
debug: 4.3.6
ts-api-utils: 1.3.0(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- eslint
- supports-color
'@typescript-eslint/types@7.18.0': {}
'@typescript-eslint/types@8.0.0': {}
'@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)':
dependencies:
'@typescript-eslint/types': 7.18.0
@@ -3897,6 +4010,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
'@typescript-eslint/typescript-estree@8.0.0(typescript@5.5.4)':
dependencies:
'@typescript-eslint/types': 8.0.0
'@typescript-eslint/visitor-keys': 8.0.0
debug: 4.3.6
globby: 11.1.0
is-glob: 4.0.3
minimatch: 9.0.5
semver: 7.6.0
ts-api-utils: 1.3.0(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- supports-color
'@typescript-eslint/utils@7.18.0(eslint@9.8.0)(typescript@5.5.4)':
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0)
@@ -3908,14 +4036,30 @@ snapshots:
- supports-color
- typescript
'@typescript-eslint/utils@8.0.0(eslint@9.8.0)(typescript@5.5.4)':
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0)
'@typescript-eslint/scope-manager': 8.0.0
'@typescript-eslint/types': 8.0.0
'@typescript-eslint/typescript-estree': 8.0.0(typescript@5.5.4)
eslint: 9.8.0
transitivePeerDependencies:
- supports-color
- typescript
'@typescript-eslint/visitor-keys@7.18.0':
dependencies:
'@typescript-eslint/types': 7.18.0
eslint-visitor-keys: 3.4.3
'@vitejs/plugin-vue@5.1.1(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4))':
'@typescript-eslint/visitor-keys@8.0.0':
dependencies:
vite: 5.3.5(@types/node@22.0.0)
'@typescript-eslint/types': 8.0.0
eslint-visitor-keys: 3.4.3
'@vitejs/plugin-vue@5.1.2(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4))':
dependencies:
vite: 5.3.5(@types/node@22.1.0)
vue: 3.4.35(typescript@5.5.4)
'@vue/babel-helper-vue-transform-on@1.2.2': {}
@@ -4007,18 +4151,16 @@ snapshots:
'@vue/compiler-dom': 3.4.35
'@vue/shared': 3.4.35
'@vue/devtools-api@6.6.1': {}
'@vue/devtools-api@6.6.3': {}
'@vue/devtools-core@7.3.7(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4))':
'@vue/devtools-core@7.3.7(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4))':
dependencies:
'@vue/devtools-kit': 7.3.7
'@vue/devtools-shared': 7.3.7
mitt: 3.0.1
nanoid: 3.3.7
pathe: 1.1.2
vite-hot-client: 0.2.3(vite@5.3.5(@types/node@22.0.0))
vite-hot-client: 0.2.3(vite@5.3.5(@types/node@22.1.0))
vue: 3.4.35(typescript@5.5.4)
transitivePeerDependencies:
- vite
@@ -4063,11 +4205,11 @@ snapshots:
'@vue/shared@3.4.35': {}
'@vuetify/loader-shared@2.0.3(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.13(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4)))':
'@vuetify/loader-shared@2.0.3(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.14(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4)))':
dependencies:
upath: 2.0.1
vue: 3.4.35(typescript@5.5.4)
vuetify: 3.6.13(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4))
vuetify: 3.6.14(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4))
acorn-jsx@5.3.2(acorn@8.11.3):
dependencies:
@@ -4701,10 +4843,10 @@ snapshots:
eslint: 9.8.0
semver: 7.6.0
eslint-config-love@62.0.0(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4):
eslint-config-love@62.0.0(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4):
dependencies:
eslint: 9.8.0
eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)
eslint-plugin-import: 2.29.1(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)
eslint-plugin-n: 17.10.1(eslint@9.8.0)
eslint-plugin-promise: 7.0.0(eslint@9.8.0)
typescript: 5.5.4
@@ -4727,11 +4869,11 @@ snapshots:
transitivePeerDependencies:
- supports-color
eslint-module-utils@2.8.1(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@9.8.0):
eslint-module-utils@2.8.1(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@9.8.0):
dependencies:
debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 7.18.0(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/parser': 8.0.0(eslint@9.8.0)(typescript@5.5.4)
eslint: 9.8.0
eslint-import-resolver-node: 0.3.9
transitivePeerDependencies:
@@ -4744,7 +4886,7 @@ snapshots:
eslint: 9.8.0
eslint-compat-utils: 0.5.0(eslint@9.8.0)
eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0):
eslint-plugin-import@2.29.1(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0):
dependencies:
array-includes: 3.1.8
array.prototype.findlastindex: 1.2.5
@@ -4754,7 +4896,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.8.0
eslint-import-resolver-node: 0.3.9
eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@9.8.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@9.8.0)
eslint-module-utils: 2.8.1(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint-import-resolver-node@0.3.9)(eslint@9.8.0)
hasown: 2.0.2
is-core-module: 2.13.1
is-glob: 4.0.3
@@ -4765,7 +4907,7 @@ snapshots:
semver: 6.3.1
tsconfig-paths: 3.15.0
optionalDependencies:
'@typescript-eslint/parser': 7.18.0(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/parser': 8.0.0(eslint@9.8.0)(typescript@5.5.4)
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
@@ -4789,7 +4931,7 @@ snapshots:
eslint: 9.8.0
eslint-plugin-es-x: 7.6.0(eslint@9.8.0)
get-tsconfig: 4.7.3
globals: 15.8.0
globals: 15.9.0
ignore: 5.3.1
minimatch: 9.0.5
semver: 7.6.0
@@ -5067,7 +5209,7 @@ snapshots:
globals@14.0.0: {}
globals@15.8.0: {}
globals@15.9.0: {}
globalthis@1.0.3:
dependencies:
@@ -6261,6 +6403,17 @@ snapshots:
transitivePeerDependencies:
- supports-color
typescript-eslint@8.0.0(eslint@9.8.0)(typescript@5.5.4):
dependencies:
'@typescript-eslint/eslint-plugin': 8.0.0(@typescript-eslint/parser@8.0.0(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/parser': 8.0.0(eslint@9.8.0)(typescript@5.5.4)
'@typescript-eslint/utils': 8.0.0(eslint@9.8.0)(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
transitivePeerDependencies:
- eslint
- supports-color
typescript@5.5.4: {}
unbox-primitive@1.0.2:
@@ -6270,7 +6423,7 @@ snapshots:
has-symbols: 1.0.3
which-boxed-primitive: 1.0.2
undici-types@6.11.1: {}
undici-types@6.13.0: {}
universalify@2.0.1: {}
@@ -6307,11 +6460,11 @@ snapshots:
uuid@10.0.0: {}
vite-hot-client@0.2.3(vite@5.3.5(@types/node@22.0.0)):
vite-hot-client@0.2.3(vite@5.3.5(@types/node@22.1.0)):
dependencies:
vite: 5.3.5(@types/node@22.0.0)
vite: 5.3.5(@types/node@22.1.0)
vite-plugin-inspect@0.8.4(rollup@4.14.3)(vite@5.3.5(@types/node@22.0.0)):
vite-plugin-inspect@0.8.4(rollup@4.14.3)(vite@5.3.5(@types/node@22.1.0)):
dependencies:
'@antfu/utils': 0.7.7
'@rollup/pluginutils': 5.1.0(rollup@4.14.3)
@@ -6322,36 +6475,36 @@ snapshots:
perfect-debounce: 1.0.0
picocolors: 1.0.1
sirv: 2.0.4
vite: 5.3.5(@types/node@22.0.0)
vite: 5.3.5(@types/node@22.1.0)
transitivePeerDependencies:
- rollup
- supports-color
vite-plugin-node-polyfills@0.22.0(rollup@4.14.3)(vite@5.3.5(@types/node@22.0.0)):
vite-plugin-node-polyfills@0.22.0(rollup@4.14.3)(vite@5.3.5(@types/node@22.1.0)):
dependencies:
'@rollup/plugin-inject': 5.0.5(rollup@4.14.3)
node-stdlib-browser: 1.2.0
vite: 5.3.5(@types/node@22.0.0)
vite: 5.3.5(@types/node@22.1.0)
transitivePeerDependencies:
- rollup
vite-plugin-vue-devtools@7.3.7(rollup@4.14.3)(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4)):
vite-plugin-vue-devtools@7.3.7(rollup@4.14.3)(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4)):
dependencies:
'@vue/devtools-core': 7.3.7(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4))
'@vue/devtools-core': 7.3.7(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4))
'@vue/devtools-kit': 7.3.7
'@vue/devtools-shared': 7.3.7
execa: 8.0.1
sirv: 2.0.4
vite: 5.3.5(@types/node@22.0.0)
vite-plugin-inspect: 0.8.4(rollup@4.14.3)(vite@5.3.5(@types/node@22.0.0))
vite-plugin-vue-inspector: 5.1.3(vite@5.3.5(@types/node@22.0.0))
vite: 5.3.5(@types/node@22.1.0)
vite-plugin-inspect: 0.8.4(rollup@4.14.3)(vite@5.3.5(@types/node@22.1.0))
vite-plugin-vue-inspector: 5.1.3(vite@5.3.5(@types/node@22.1.0))
transitivePeerDependencies:
- '@nuxt/kit'
- rollup
- supports-color
- vue
vite-plugin-vue-inspector@5.1.3(vite@5.3.5(@types/node@22.0.0)):
vite-plugin-vue-inspector@5.1.3(vite@5.3.5(@types/node@22.1.0)):
dependencies:
'@babel/core': 7.24.4
'@babel/plugin-proposal-decorators': 7.24.1(@babel/core@7.24.4)
@@ -6362,28 +6515,28 @@ snapshots:
'@vue/compiler-dom': 3.4.32
kolorist: 1.8.0
magic-string: 0.30.10
vite: 5.3.5(@types/node@22.0.0)
vite: 5.3.5(@types/node@22.1.0)
transitivePeerDependencies:
- supports-color
vite-plugin-vuetify@2.0.3(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.13):
vite-plugin-vuetify@2.0.3(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.14):
dependencies:
'@vuetify/loader-shared': 2.0.3(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.13(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4)))
'@vuetify/loader-shared': 2.0.3(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.14(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4)))
debug: 4.3.4
upath: 2.0.1
vite: 5.3.5(@types/node@22.0.0)
vite: 5.3.5(@types/node@22.1.0)
vue: 3.4.35(typescript@5.5.4)
vuetify: 3.6.13(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4))
vuetify: 3.6.14(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4))
transitivePeerDependencies:
- supports-color
vite@5.3.5(@types/node@22.0.0):
vite@5.3.5(@types/node@22.1.0):
dependencies:
esbuild: 0.21.5
postcss: 8.4.39
rollup: 4.14.3
optionalDependencies:
'@types/node': 22.0.0
'@types/node': 22.1.0
fsevents: 2.3.3
vm-browserify@1.1.2: {}
@@ -6423,9 +6576,9 @@ snapshots:
clipboard: 2.0.11
vue: 3.4.35(typescript@5.5.4)
vue-router@4.4.0(vue@3.4.35(typescript@5.5.4)):
vue-router@4.4.2(vue@3.4.35(typescript@5.5.4)):
dependencies:
'@vue/devtools-api': 6.6.1
'@vue/devtools-api': 6.6.3
vue: 3.4.35(typescript@5.5.4)
vue@3.4.35(typescript@5.5.4):
@@ -6438,12 +6591,12 @@ snapshots:
optionalDependencies:
typescript: 5.5.4
vuetify@3.6.13(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4)):
vuetify@3.6.14(typescript@5.5.4)(vite-plugin-vuetify@2.0.3)(vue@3.4.35(typescript@5.5.4)):
dependencies:
vue: 3.4.35(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
vite-plugin-vuetify: 2.0.3(vite@5.3.5(@types/node@22.0.0))(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.13)
vite-plugin-vuetify: 2.0.3(vite@5.3.5(@types/node@22.1.0))(vue@3.4.35(typescript@5.5.4))(vuetify@3.6.14)
wcag-color@1.1.1: {}

32
src-tauri/Cargo.lock generated
View File

@@ -3915,9 +3915,9 @@ dependencies = [
[[package]]
name = "serde_json"
version = "1.0.121"
version = "1.0.122"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ab380d7d9f22ef3f21ad3e6c1ebe8e4fc7a2000ccba2e4d71fc96f15b2cb609"
checksum = "784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da"
dependencies = [
"itoa 1.0.11",
"memchr",
@@ -4629,9 +4629,9 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
[[package]]
name = "tauri"
version = "2.0.0-beta.25"
version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4339c67eb7700fe4a80ad6507e3b9af0b4159959f3d74aae48feed298baf4cbf"
checksum = "255e746089a370802ec4eb896dccc6f27c1dd2a203c1dc484fd996db954e2300"
dependencies = [
"anyhow",
"bytes",
@@ -4678,9 +4678,9 @@ dependencies = [
[[package]]
name = "tauri-build"
version = "2.0.0-beta.19"
version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "498f587026501e4bbc5d6273b63f8956b03c37b3d3b2027f9c756fcd468e9c62"
checksum = "85ceb8d082c3b17b4b2eb134a39363a22c696ddba473d6e5c0ab1caadad4cfca"
dependencies = [
"anyhow",
"cargo_toml",
@@ -4700,9 +4700,9 @@ dependencies = [
[[package]]
name = "tauri-codegen"
version = "2.0.0-beta.19"
version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43bbc731067e319ef60601bf5716d1e706ee9ae28e38c0587f7165c7d6824cdf"
checksum = "2407c7d37a491b16e530445c9611d91091cae198eea2ed424913b740215605f2"
dependencies = [
"base64 0.22.1",
"brotli",
@@ -4727,9 +4727,9 @@ dependencies = [
[[package]]
name = "tauri-macros"
version = "2.0.0-beta.19"
version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "36b4a44346577ccde75a24c62405a4c3b4f7a3a76614ee6cf1ed14a0b756795c"
checksum = "d210893b693be00f569b4f54456803debe104b7675f368205f2b6e94bac09b34"
dependencies = [
"heck 0.5.0",
"proc-macro2",
@@ -4932,9 +4932,9 @@ dependencies = [
[[package]]
name = "tauri-runtime"
version = "2.0.0-beta.21"
version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "189510033be50f6fde35cfa50b50c7ab4e0ced0c867ae0f643b4907b8385bbe5"
checksum = "6624fdf383ccafc9e8ad9205fe6e5c976b318efcd6b3662dde658c74e4254792"
dependencies = [
"dpi",
"gtk",
@@ -4951,9 +4951,9 @@ dependencies = [
[[package]]
name = "tauri-runtime-wry"
version = "2.0.0-beta.21"
version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6938bd63b6658e7b08f0fe2151390148ee5a8ccdba100d4dff961d2c8734d9a9"
checksum = "9fd1a785c4281f8231b091593393b40cb3a800810c407b1ffed52de27ff1640a"
dependencies = [
"cocoa",
"gtk",
@@ -4975,9 +4975,9 @@ dependencies = [
[[package]]
name = "tauri-utils"
version = "2.0.0-beta.19"
version = "2.0.0-rc.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e20e51856f343c503892749b27d34042e6ca83a0369a12de3c5552d9874d04e8"
checksum = "6f435eeaae1e69cf93cf19da0f727989eed2e5eb6fc63a8d21432f59dd3ac4ac"
dependencies = [
"brotli",
"cargo_metadata",

View File

@@ -16,9 +16,9 @@ tauri-build = { version = "2.0.0-beta.19", features = [] }
chrono = "0.4.38"
log = "0.4.22"
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.121"
tauri = { version = "2.0.0-beta.25", features = [] }
tauri-utils = "2.0.0-beta.19"
serde_json = "1.0.122"
tauri = { version = "2.0.0-rc.0", features = [] }
tauri-utils = "2.0.0-rc.0"
url = "2.5.2"
walkdir = "2.5.0"

View File

@@ -4,28 +4,28 @@
"description": "Capability for the dev json window",
"windows": ["Dev_JSON"],
"permissions": [
"app:allow-version",
"app:default",
"event:allow-listen",
"event:default",
"core:app:allow-version",
"core:app:default",
"core:event:allow-listen",
"core:event:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"path:allow-resolve-directory",
"path:default",
"core:path:allow-resolve-directory",
"core:path:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"webview:allow-set-webview-zoom",
"webview:default",
"window:allow-center",
"window:allow-close",
"window:allow-destroy",
"window:allow-set-size",
"window:allow-set-title",
"window:allow-set-fullscreen",
"window:allow-show",
"window:default",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-set-fullscreen",
"core:window:allow-show",
"core:window:default",
{
"identifier": "http:default",
"allow": [

View File

@@ -6,14 +6,14 @@
"permissions": [
"dialog:allow-message",
"dialog:default",
"event:allow-emit",
"core:event:allow-emit",
"http:allow-fetch",
"webview:allow-set-webview-zoom",
"webview:default",
"window:allow-center",
"window:default",
"path:allow-resolve-directory",
"path:default",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:default",
"core:path:allow-resolve-directory",
"core:path:default",
{
"identifier": "fs:allow-exists",
"allow": [

View File

@@ -4,33 +4,33 @@
"description": "Capability for the sub window",
"windows": ["Sub_window"],
"permissions": [
"app:allow-version",
"app:default",
"core:app:allow-version",
"core:app:default",
"dialog:allow-save",
"dialog:default",
"event:allow-listen",
"event:default",
"core:event:allow-listen",
"core:event:default",
"fs:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"path:allow-resolve-directory",
"path:default",
"core:path:allow-resolve-directory",
"core:path:default",
"shell:allow-open",
"shell:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"webview:allow-set-webview-zoom",
"webview:default",
"window:allow-center",
"window:allow-close",
"window:allow-destroy",
"window:allow-set-size",
"window:allow-set-title",
"window:allow-set-fullscreen",
"window:allow-show",
"window:default",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-set-fullscreen",
"core:window:allow-show",
"core:window:default",
{
"identifier": "fs:allow-exists",
"allow": [{ "path": "**" }]

View File

@@ -4,18 +4,18 @@
"description": "Capability for the main window",
"windows": ["TeyvatGuide"],
"permissions": [
"app:allow-version",
"app:default",
"core:app:allow-version",
"core:app:default",
"dialog:allow-save",
"dialog:default",
"event:allow-listen",
"event:default",
"core:event:allow-listen",
"core:event:default",
"fs:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"path:allow-resolve-directory",
"path:default",
"core:path:allow-resolve-directory",
"core:path:default",
"process:allow-exit",
"process:default",
"shell:allow-execute",
@@ -24,19 +24,19 @@
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"webview:allow-create-webview-window",
"webview:allow-set-webview-zoom",
"webview:default",
"window:allow-center",
"window:allow-close",
"window:allow-destroy",
"window:allow-set-size",
"window:default",
"window:allow-is-minimized",
"window:allow-set-title",
"window:allow-set-focus",
"window:allow-show",
"window:allow-unminimize",
"core:webview:allow-create-webview-window",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:default",
"core:window:allow-is-minimized",
"core:window:allow-set-title",
"core:window:allow-set-focus",
"core:window:allow-show",
"core:window:allow-unminimize",
{
"identifier": "fs:allow-exists",
"allow": [{ "path": "**" }]

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1,179 @@
{"DevJson":{"identifier":"DevJson","description":"Capability for the dev json window","local":true,"windows":["Dev_JSON"],"permissions":["app:allow-version","app:default","event:allow-listen","event:default","http:allow-fetch","log:allow-log","log:default","path:allow-resolve-directory","path:default","sql:allow-load","sql:allow-execute","sql:default","webview:allow-set-webview-zoom","webview:default","window:allow-center","window:allow-close","window:allow-destroy","window:allow-set-size","window:allow-set-title","window:allow-set-fullscreen","window:allow-show","window:default",{"identifier":"http:default","allow":[{"url":"https://*.miyoushe.com/*"},{"url":"https://*.mihoyo.com/*"}]}],"platforms":["windows","macOS"]},"Mys":{"identifier":"Mys","description":"Capability for the mys client window","remote":{"urls":["https://*.mihoyo.com/*","https://*.miyoushe.com/*"]},"local":true,"windows":["mhy_client"],"permissions":["dialog:allow-message","dialog:default","event:allow-emit","http:allow-fetch","webview:allow-set-webview-zoom","webview:default","window:allow-center","window:default","path:allow-resolve-directory","path:default",{"identifier":"fs:allow-exists","allow":[{"path":"**"}]},{"identifier":"fs:allow-mkdir","allow":[{"path":"**"}]},{"identifier":"fs:allow-read-dir","allow":[{"path":"**"}]},{"identifier":"fs:allow-read-text-file","allow":[{"path":"**"}]},{"identifier":"fs:allow-remove","allow":[{"path":"**"}]},{"identifier":"fs:allow-write-file","allow":[{"path":"**"}]},{"identifier":"fs:allow-write-text-file","allow":[{"path":"**"}]},{"identifier":"http:default","allow":[{"url":"https://*.miyoushe.com/*"},{"url":"https://*.mihoyo.com/*"}]}],"platforms":["windows","macOS"]},"SubWindow":{"identifier":"SubWindow","description":"Capability for the sub window","local":true,"windows":["Sub_window"],"permissions":["app:allow-version","app:default","dialog:allow-save","dialog:default","event:allow-listen","event:default","fs:default","http:allow-fetch","log:allow-log","log:default","path:allow-resolve-directory","path:default","shell:allow-open","shell:default","sql:allow-load","sql:allow-execute","sql:default","webview:allow-set-webview-zoom","webview:default","window:allow-center","window:allow-close","window:allow-destroy","window:allow-set-size","window:allow-set-title","window:allow-set-fullscreen","window:allow-show","window:default",{"identifier":"fs:allow-exists","allow":[{"path":"**"}]},{"identifier":"fs:allow-mkdir","allow":[{"path":"**"}]},{"identifier":"fs:allow-read-dir","allow":[{"path":"**"}]},{"identifier":"fs:allow-read-text-file","allow":[{"path":"**"}]},{"identifier":"fs:allow-remove","allow":[{"path":"**"}]},{"identifier":"fs:allow-write-file","allow":[{"path":"**"}]},{"identifier":"fs:allow-write-text-file","allow":[{"path":"**"}]},{"identifier":"http:default","allow":[{"url":"https://*.miyoushe.com/*"},{"url":"https://*.mihoyo.com/*"}]}],"platforms":["windows","macOS"]},"TeyvatGuide":{"identifier":"TeyvatGuide","description":"Capability for the main window","local":true,"windows":["TeyvatGuide"],"permissions":["app:allow-version","app:default","dialog:allow-save","dialog:default","event:allow-listen","event:default","fs:default","http:allow-fetch","log:allow-log","log:default","path:allow-resolve-directory","path:default","process:allow-exit","process:default","shell:allow-execute","shell:allow-open","shell:default","sql:allow-load","sql:allow-execute","sql:default","webview:allow-create-webview-window","webview:allow-set-webview-zoom","webview:default","window:allow-center","window:allow-close","window:allow-destroy","window:allow-set-size","window:default","window:allow-is-minimized","window:allow-set-title","window:allow-set-focus","window:allow-show","window:allow-unminimize",{"identifier":"fs:allow-exists","allow":[{"path":"**"}]},{"identifier":"fs:allow-mkdir","allow":[{"path":"**"}]},{"identifier":"fs:allow-read-dir","allow":[{"path":"**"}]},{"identifier":"fs:allow-read-text-file","allow":[{"path":"**"}]},{"identifier":"fs:allow-remove","allow":[{"path":"**"}]},{"identifier":"fs:allow-write-file","allow":[{"path":"**"}]},{"identifier":"fs:allow-write-text-file","allow":[{"path":"**"}]},{"identifier":"http:default","allow":[{"url":"https://*.miyoushe.com/*"},{"url":"https://*.mihoyo.com/*"},{"url":"https://homa.snapgenshin.com/*"}]},{"identifier":"shell:allow-execute","allow":[{"args":true,"cmd":"explorer","name":"win_open"},{"args":true,"cmd":"open","name":"mac_open"}]}],"platforms":["windows","macOS"]}}
{
"DevJson": {
"identifier": "DevJson",
"description": "Capability for the dev json window",
"local": true,
"windows": ["Dev_JSON"],
"permissions": [
"core:app:allow-version",
"core:app:default",
"core:event:allow-listen",
"core:event:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"core:path:allow-resolve-directory",
"core:path:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-set-fullscreen",
"core:window:allow-show",
"core:window:default",
{
"identifier": "http:default",
"allow": [{ "url": "https://*.miyoushe.com/*" }, { "url": "https://*.mihoyo.com/*" }]
}
],
"platforms": ["windows", "macOS"]
},
"Mys": {
"identifier": "Mys",
"description": "Capability for the mys client window",
"remote": { "urls": ["https://*.mihoyo.com/*", "https://*.miyoushe.com/*"] },
"local": true,
"windows": ["mhy_client"],
"permissions": [
"dialog:allow-message",
"dialog:default",
"core:event:allow-emit",
"http:allow-fetch",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:default",
"core:path:allow-resolve-directory",
"core:path:default",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-text-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
{
"identifier": "http:default",
"allow": [{ "url": "https://*.miyoushe.com/*" }, { "url": "https://*.mihoyo.com/*" }]
}
],
"platforms": ["windows", "macOS"]
},
"SubWindow": {
"identifier": "SubWindow",
"description": "Capability for the sub window",
"local": true,
"windows": ["Sub_window"],
"permissions": [
"core:app:allow-version",
"core:app:default",
"dialog:allow-save",
"dialog:default",
"core:event:allow-listen",
"core:event:default",
"fs:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"core:path:allow-resolve-directory",
"core:path:default",
"shell:allow-open",
"shell:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:allow-set-title",
"core:window:allow-set-fullscreen",
"core:window:allow-show",
"core:window:default",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-text-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
{
"identifier": "http:default",
"allow": [{ "url": "https://*.miyoushe.com/*" }, { "url": "https://*.mihoyo.com/*" }]
}
],
"platforms": ["windows", "macOS"]
},
"TeyvatGuide": {
"identifier": "TeyvatGuide",
"description": "Capability for the main window",
"local": true,
"windows": ["TeyvatGuide"],
"permissions": [
"core:app:allow-version",
"core:app:default",
"dialog:allow-save",
"dialog:default",
"core:event:allow-listen",
"core:event:default",
"fs:default",
"http:allow-fetch",
"log:allow-log",
"log:default",
"core:path:allow-resolve-directory",
"core:path:default",
"process:allow-exit",
"process:default",
"shell:allow-execute",
"shell:allow-open",
"shell:default",
"sql:allow-load",
"sql:allow-execute",
"sql:default",
"core:webview:allow-create-webview-window",
"core:webview:allow-set-webview-zoom",
"core:webview:default",
"core:window:allow-center",
"core:window:allow-close",
"core:window:allow-destroy",
"core:window:allow-set-size",
"core:window:default",
"core:window:allow-is-minimized",
"core:window:allow-set-title",
"core:window:allow-set-focus",
"core:window:allow-show",
"core:window:allow-unminimize",
{ "identifier": "fs:allow-exists", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-mkdir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-dir", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-read-text-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-remove", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-file", "allow": [{ "path": "**" }] },
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "**" }] },
{
"identifier": "http:default",
"allow": [
{ "url": "https://*.miyoushe.com/*" },
{ "url": "https://*.mihoyo.com/*" },
{ "url": "https://homa.snapgenshin.com/*" }
]
},
{
"identifier": "shell:allow-execute",
"allow": [
{ "args": true, "cmd": "explorer", "name": "win_open" },
{ "args": true, "cmd": "open", "name": "mac_open" }
]
}
],
"platforms": ["windows", "macOS"]
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -43,7 +43,7 @@ let themeListener: UnlistenFn;
let urlListener: UnlistenFn;
onBeforeMount(async () => {
const win = webviewWindow.getCurrent();
const win = webviewWindow.getCurrentWebviewWindow();
isMain.value = win.label === "TeyvatGuide";
if (isMain.value) {
const title = "Teyvat Guide v" + (await app.getVersion()) + " Beta";
@@ -66,7 +66,7 @@ async function checkResize(): Promise<void> {
});
return;
}
const windowCur = await webviewWindow.getCurrent();
const windowCur = await webviewWindow.getCurrentWebviewWindow();
if (await windowCur.isMaximized()) return;
const designSize = getSize(windowCur.label);
const widthScale = screen.size.width / 1920;

View File

@@ -301,7 +301,7 @@ onMounted(async () => {
const theme = e.payload;
themeGet.value = theme === "default" ? "default" : "dark";
});
if (webviewWindow.getCurrent().label === "TeyvatGuide") {
if (webviewWindow.getCurrentWebviewWindow().label === "TeyvatGuide") {
await mhyClient.run();
}
if (userStore.briefInfo.value && userStore.briefInfo.value.nickname) {

View File

@@ -75,7 +75,9 @@ onMounted(async () => {
annoHtml.value = await TGUtils.Anno.parseContent(annoData.value.content);
if (annoData.value.banner !== "") annoBanner.value = await saveImgLocal(annoData.value.banner);
annoTitle.value = `Anno_${annoId}`;
await webviewWindow.getCurrent().setTitle(`Anno_${annoId} ${annoData.value.title}`);
await webviewWindow
.getCurrentWebviewWindow()
.setTitle(`Anno_${annoId} ${annoData.value.title}`);
annoRef.value = <HTMLElement>document.querySelector(".anno-body");
} catch (error) {
if (error instanceof Error)
@@ -83,7 +85,7 @@ onMounted(async () => {
else console.error(error);
loadingEmpty.value = true;
loadingTitle.value = "公告不存在或解析失败";
await webviewWindow.getCurrent().setTitle(`Anno_${annoId} Parsing Error`);
await webviewWindow.getCurrentWebviewWindow().setTitle(`Anno_${annoId} Parsing Error`);
return;
}
// 打开 json

View File

@@ -136,7 +136,7 @@ onMounted(async () => {
if (!postId) {
loadingEmpty.value = true;
loadingTitle.value = "未找到数据";
await webviewWindow.getCurrent().setTitle("未找到数据");
await webviewWindow.getCurrentWebviewWindow().setTitle("未找到数据");
await TGLogger.Error("[t-post][onMounted] PostID 不存在");
return;
}
@@ -147,7 +147,9 @@ onMounted(async () => {
loadingTitle.value = "正在渲染数据...";
renderPost.value = getRenderPost(postData.value);
shareTitle.value = `Post_${postId}`;
await webviewWindow.getCurrent().setTitle(`Post_${postId} ${postData.value.post.subject}`);
await webviewWindow
.getCurrentWebviewWindow()
.setTitle(`Post_${postId} ${postData.value.post.subject}`);
} catch (error) {
if (error instanceof Error) {
await TGLogger.Error(`[t-post][${postId}] ${error.name}: ${error.message}`);
@@ -159,7 +161,7 @@ onMounted(async () => {
loadingSub.value = "请检查帖子是否存在或者是否为合法的帖子";
}
loadingEmpty.value = true;
await webviewWindow.getCurrent().setTitle(`Post_${postId} Parsing Error`);
await webviewWindow.getCurrentWebviewWindow().setTitle(`Post_${postId} Parsing Error`);
return;
}
await TGLogger.Info(`[t-post][${postId}][onMounted] ${postData.value.post.subject}`);