chore: update pptxtojson

This commit is contained in:
pipipi-pikachu 2023-10-07 20:39:28 +08:00
parent cef9024de1
commit be3ff5b143
3 changed files with 18 additions and 12 deletions

14
package-lock.json generated
View File

@ -24,7 +24,7 @@
"number-precision": "^1.6.0",
"pinia": "^2.1.4",
"pptxgenjs": "^3.12.0",
"pptxtojson": "^0.0.11",
"pptxtojson": "^0.0.12",
"prosemirror-commands": "^1.3.0",
"prosemirror-dropcursor": "^1.6.0",
"prosemirror-gapcursor": "^1.3.1",
@ -10700,9 +10700,9 @@
"integrity": "sha512-IXl7o+R9iti9eBW4Wg2hx1xQDig183jj7YLn8F7udNceyfkbn1ZxmzZXuak20gR40D7pIkIY1kYGx5VIGbaHKA=="
},
"node_modules/pptxtojson": {
"version": "0.0.11",
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-0.0.11.tgz",
"integrity": "sha512-LzOtJEvl2rb++l/TnKxHxxviv1lSRJvwFs24vy53a8r5PmVmHRfPO8MfcNbOVK+tbxCrQMjz58354oPLS2jEpQ==",
"version": "0.0.12",
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-0.0.12.tgz",
"integrity": "sha512-gBFzMjuo3HTCgysY8OGUjAAy4LJWb6vPbm0uLD7h6/4sxrJvTvvelbi4v36fO2b16pwDaKJfKWdqj5vgCLlSYw==",
"dependencies": {
"jszip": "^3.10.1",
"tinycolor2": "1.6.0",
@ -22868,9 +22868,9 @@
}
},
"pptxtojson": {
"version": "0.0.11",
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-0.0.11.tgz",
"integrity": "sha512-LzOtJEvl2rb++l/TnKxHxxviv1lSRJvwFs24vy53a8r5PmVmHRfPO8MfcNbOVK+tbxCrQMjz58354oPLS2jEpQ==",
"version": "0.0.12",
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-0.0.12.tgz",
"integrity": "sha512-gBFzMjuo3HTCgysY8OGUjAAy4LJWb6vPbm0uLD7h6/4sxrJvTvvelbi4v36fO2b16pwDaKJfKWdqj5vgCLlSYw==",
"requires": {
"jszip": "^3.10.1",
"tinycolor2": "1.6.0",

View File

@ -25,7 +25,7 @@
"number-precision": "^1.6.0",
"pinia": "^2.1.4",
"pptxgenjs": "^3.12.0",
"pptxtojson": "^0.0.11",
"pptxtojson": "^0.0.12",
"prosemirror-commands": "^1.3.0",
"prosemirror-dropcursor": "^1.6.0",
"prosemirror-gapcursor": "^1.3.1",

View File

@ -3,11 +3,17 @@
<div class="left">
<Popover trigger="click" placement="bottom-start" v-model:value="mainMenuVisible">
<template #content>
<FileInput accept=".pptist" @change="files => importSpecificFile(files)">
<PopoverMenuItem @click="mainMenuVisible = false">导入 pptist 文件</PopoverMenuItem>
<FileInput accept=".pptist" @change="files => {
importSpecificFile(files)
mainMenuVisible = false
}">
<PopoverMenuItem>导入 pptist 文件</PopoverMenuItem>
</FileInput>
<FileInput accept="application/vnd.openxmlformats-officedocument.presentationml.presentation" @change="files => importPPTXFile(files)">
<PopoverMenuItem @click="mainMenuVisible = false">导入 pptx 文件测试版</PopoverMenuItem>
<FileInput accept="application/vnd.openxmlformats-officedocument.presentationml.presentation" @change="files => {
importPPTXFile(files)
mainMenuVisible = false
}">
<PopoverMenuItem>导入 pptx 文件测试版</PopoverMenuItem>
</FileInput>
<PopoverMenuItem @click="setDialogForExport('pptx')">导出文件</PopoverMenuItem>
<PopoverMenuItem @click="resetSlides(); mainMenuVisible = false">重置幻灯片</PopoverMenuItem>