@json-to-office/core-pptx 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/structure.d.ts.map +1 -1
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structure.d.ts","sourceRoot":"","sources":["../../src/core/structure.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAGV,+BAA+B,EAC/B,qBAAqB,
|
|
1
|
+
{"version":3,"file":"structure.d.ts","sourceRoot":"","sources":["../../src/core/structure.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAGV,+BAA+B,EAC/B,qBAAqB,EAItB,MAAM,UAAU,CAAC;AAQlB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAmCrD,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,+BAA+B,EACzC,OAAO,CAAC,EAAE,iBAAiB,GAC1B,qBAAqB,CA8JvB"}
|
package/dist/index.js
CHANGED
|
@@ -4416,15 +4416,16 @@ function processPresentation(document, options) {
|
|
|
4416
4416
|
slideComponents,
|
|
4417
4417
|
theme
|
|
4418
4418
|
).map((component) => remapHyperlinkSlideRefs(component, slideIndexMap));
|
|
4419
|
-
const
|
|
4419
|
+
const slideProps = child.props ?? {};
|
|
4420
|
+
const placeholders = slideProps.placeholders;
|
|
4420
4421
|
slides.push({
|
|
4421
4422
|
components: resolvedComponents,
|
|
4422
|
-
background:
|
|
4423
|
-
transition:
|
|
4424
|
-
notes:
|
|
4425
|
-
layout:
|
|
4426
|
-
hidden:
|
|
4427
|
-
template:
|
|
4423
|
+
background: slideProps.background,
|
|
4424
|
+
transition: slideProps.transition,
|
|
4425
|
+
notes: slideProps.notes,
|
|
4426
|
+
layout: slideProps.layout,
|
|
4427
|
+
hidden: slideProps.hidden,
|
|
4428
|
+
template: slideProps.template,
|
|
4428
4429
|
placeholders: placeholders ? Object.fromEntries(
|
|
4429
4430
|
Object.entries(placeholders).map(([name, component]) => [
|
|
4430
4431
|
name,
|