mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
chore: update pptxtojson v1.2.2
This commit is contained in:
parent
a1e47a21b1
commit
a872f9f0ce
14
package-lock.json
generated
14
package-lock.json
generated
@ -24,7 +24,7 @@
|
||||
"number-precision": "^1.6.0",
|
||||
"pinia": "^2.1.7",
|
||||
"pptxgenjs": "^3.12.0",
|
||||
"pptxtojson": "^1.2.1",
|
||||
"pptxtojson": "^1.2.2",
|
||||
"prosemirror-commands": "^1.6.0",
|
||||
"prosemirror-dropcursor": "^1.8.1",
|
||||
"prosemirror-gapcursor": "^1.3.2",
|
||||
@ -4177,9 +4177,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/pptxtojson": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-1.2.1.tgz",
|
||||
"integrity": "sha512-ECYH2jc8hh2kzmrpQLHDEKrnCMlDdqu/diOqeSQ6luwTZVOGtdjk20ooUa1GWgrzXGBlNf2b6SCjnWqyAwVyjw==",
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-1.2.2.tgz",
|
||||
"integrity": "sha512-F50uJ+3I3az7DB9+6R+OsWWT8YLdnuDWjwo88cGnOprlPWqrpuRq6inXxL1oSwBICJmZbuN+3RJwrtarvp133w==",
|
||||
"dependencies": {
|
||||
"jszip": "^3.10.1",
|
||||
"tinycolor2": "1.6.0",
|
||||
@ -8393,9 +8393,9 @@
|
||||
}
|
||||
},
|
||||
"pptxtojson": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-1.2.1.tgz",
|
||||
"integrity": "sha512-ECYH2jc8hh2kzmrpQLHDEKrnCMlDdqu/diOqeSQ6luwTZVOGtdjk20ooUa1GWgrzXGBlNf2b6SCjnWqyAwVyjw==",
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-1.2.2.tgz",
|
||||
"integrity": "sha512-F50uJ+3I3az7DB9+6R+OsWWT8YLdnuDWjwo88cGnOprlPWqrpuRq6inXxL1oSwBICJmZbuN+3RJwrtarvp133w==",
|
||||
"requires": {
|
||||
"jszip": "^3.10.1",
|
||||
"tinycolor2": "1.6.0",
|
||||
|
@ -29,7 +29,7 @@
|
||||
"number-precision": "^1.6.0",
|
||||
"pinia": "^2.1.7",
|
||||
"pptxgenjs": "^3.12.0",
|
||||
"pptxtojson": "^1.2.1",
|
||||
"pptxtojson": "^1.2.2",
|
||||
"prosemirror-commands": "^1.6.0",
|
||||
"prosemirror-dropcursor": "^1.8.1",
|
||||
"prosemirror-gapcursor": "^1.3.2",
|
||||
|
@ -194,7 +194,7 @@ export default () => {
|
||||
else {
|
||||
background = {
|
||||
type: 'solid',
|
||||
color: value,
|
||||
color: value || '#fff',
|
||||
}
|
||||
}
|
||||
|
||||
@ -265,6 +265,19 @@ export default () => {
|
||||
flipV: el.isFlipV,
|
||||
})
|
||||
}
|
||||
else if (el.type === 'math') {
|
||||
slide.elements.push({
|
||||
type: 'image',
|
||||
id: nanoid(10),
|
||||
src: el.picBase64,
|
||||
width: el.width,
|
||||
height: el.height,
|
||||
left: el.left,
|
||||
top: el.top,
|
||||
fixedRatio: true,
|
||||
rotate: 0,
|
||||
})
|
||||
}
|
||||
else if (el.type === 'audio') {
|
||||
slide.elements.push({
|
||||
type: 'audio',
|
||||
|
Loading…
x
Reference in New Issue
Block a user