mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
chore: 升级 pptxtojson v1.2.1
This commit is contained in:
parent
eeccb682e4
commit
ad2a7cb32d
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.0",
|
||||
"pptxtojson": "^1.2.1",
|
||||
"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.0",
|
||||
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-1.2.0.tgz",
|
||||
"integrity": "sha512-mDroIVEt6nbsUPI9mrxWzJhU0hNHS614ra/MktMZOMYF5Nh/LwksXRC5J/kr0hZObxa98TqmhUJCktTwcQ2cSg==",
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-1.2.1.tgz",
|
||||
"integrity": "sha512-ECYH2jc8hh2kzmrpQLHDEKrnCMlDdqu/diOqeSQ6luwTZVOGtdjk20ooUa1GWgrzXGBlNf2b6SCjnWqyAwVyjw==",
|
||||
"dependencies": {
|
||||
"jszip": "^3.10.1",
|
||||
"tinycolor2": "1.6.0",
|
||||
@ -8393,9 +8393,9 @@
|
||||
}
|
||||
},
|
||||
"pptxtojson": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-1.2.0.tgz",
|
||||
"integrity": "sha512-mDroIVEt6nbsUPI9mrxWzJhU0hNHS614ra/MktMZOMYF5Nh/LwksXRC5J/kr0hZObxa98TqmhUJCktTwcQ2cSg==",
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmmirror.com/pptxtojson/-/pptxtojson-1.2.1.tgz",
|
||||
"integrity": "sha512-ECYH2jc8hh2kzmrpQLHDEKrnCMlDdqu/diOqeSQ6luwTZVOGtdjk20ooUa1GWgrzXGBlNf2b6SCjnWqyAwVyjw==",
|
||||
"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.0",
|
||||
"pptxtojson": "^1.2.1",
|
||||
"prosemirror-commands": "^1.6.0",
|
||||
"prosemirror-dropcursor": "^1.8.1",
|
||||
"prosemirror-gapcursor": "^1.3.2",
|
||||
|
@ -182,12 +182,12 @@ export default () => {
|
||||
background = {
|
||||
type: 'gradient',
|
||||
gradient: {
|
||||
type: 'linear',
|
||||
type: value.path === 'line' ? 'linear' : 'radial',
|
||||
colors: value.colors.map(item => ({
|
||||
...item,
|
||||
pos: parseInt(item.pos),
|
||||
})),
|
||||
rotate: value.rot,
|
||||
rotate: value.rot + 90,
|
||||
},
|
||||
}
|
||||
}
|
||||
@ -309,7 +309,7 @@ export default () => {
|
||||
}
|
||||
|
||||
const gradient: Gradient | undefined = el.fill?.type === 'gradient' ? {
|
||||
type: 'linear',
|
||||
type: el.fill.value.path === 'line' ? 'linear' : 'radial',
|
||||
colors: el.fill.value.colors.map(item => ({
|
||||
...item,
|
||||
pos: parseInt(item.pos),
|
||||
|
Loading…
x
Reference in New Issue
Block a user