deps(frontend): update vue-tsc to v3.2.1 (#17091)

This commit is contained in:
かっこかり 2026-01-11 15:00:00 +09:00 committed by GitHub
parent faf2399e31
commit 4bc0026900
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 224 additions and 583 deletions

View File

@ -11,7 +11,6 @@
}, },
"dependencies": { "dependencies": {
"@discordapp/twemoji": "16.0.1", "@discordapp/twemoji": "16.0.1",
"i18n": "workspace:*",
"@rollup/plugin-json": "6.1.0", "@rollup/plugin-json": "6.1.0",
"@rollup/plugin-replace": "6.0.3", "@rollup/plugin-replace": "6.0.3",
"@rollup/pluginutils": "5.3.0", "@rollup/pluginutils": "5.3.0",
@ -20,6 +19,7 @@
"buraha": "0.0.1", "buraha": "0.0.1",
"estree-walker": "3.0.3", "estree-walker": "3.0.3",
"frontend-shared": "workspace:*", "frontend-shared": "workspace:*",
"i18n": "workspace:*",
"icons-subsetter": "workspace:*", "icons-subsetter": "workspace:*",
"json5": "2.2.3", "json5": "2.2.3",
"mfm-js": "0.25.0", "mfm-js": "0.25.0",
@ -62,6 +62,6 @@
"vite-plugin-turbosnap": "1.0.3", "vite-plugin-turbosnap": "1.0.3",
"vue-component-type-helpers": "3.2.1", "vue-component-type-helpers": "3.2.1",
"vue-eslint-parser": "10.2.0", "vue-eslint-parser": "10.2.0",
"vue-tsc": "3.1.8" "vue-tsc": "3.2.1"
} }
} }

View File

@ -143,6 +143,6 @@
"vitest-fetch-mock": "0.4.5", "vitest-fetch-mock": "0.4.5",
"vue-component-type-helpers": "3.2.1", "vue-component-type-helpers": "3.2.1",
"vue-eslint-parser": "10.2.0", "vue-eslint-parser": "10.2.0",
"vue-tsc": "3.1.8" "vue-tsc": "3.2.1"
} }
} }

View File

@ -111,7 +111,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div> </div>
</div> </div>
<div v-if="appearNote.files && appearNote.files.length > 0"> <div v-if="appearNote.files && appearNote.files.length > 0">
<MkMediaList :mediaList="appearNote.files"/> <MkMediaList ref="galleryEl" :mediaList="appearNote.files"/>
</div> </div>
<MkPoll <MkPoll
v-if="appearNote.poll" v-if="appearNote.poll"
@ -323,6 +323,7 @@ const renoteButton = useTemplateRef('renoteButton');
const renoteTime = useTemplateRef('renoteTime'); const renoteTime = useTemplateRef('renoteTime');
const reactButton = useTemplateRef('reactButton'); const reactButton = useTemplateRef('reactButton');
const clipButton = useTemplateRef('clipButton'); const clipButton = useTemplateRef('clipButton');
const galleryEl = useTemplateRef('galleryEl');
const isMyRenote = $i && ($i.id === note.userId); const isMyRenote = $i && ($i.id === note.userId);
const showContent = ref(false); const showContent = ref(false);
const isDeleted = ref(false); const isDeleted = ref(false);
@ -356,7 +357,9 @@ const keymap = {
if (!prefer.s.showClipButtonInNoteFooter) return; if (!prefer.s.showClipButtonInNoteFooter) return;
clip(); clip();
}, },
//'o': () => galleryEl.value?.openGallery(), 'o': () => {
galleryEl.value?.openGallery();
},
'v|enter': () => { 'v|enter': () => {
if (appearNote.cw != null) { if (appearNote.cw != null) {
showContent.value = !showContent.value; showContent.value = !showContent.value;

File diff suppressed because it is too large Load Diff