@json-to-office/jto-ops 7.2.0 → 7.3.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/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -4181,10 +4181,8 @@ function conditions(props, children, theme, font, canvas) {
|
|
|
4181
4181
|
const page = isRecord2(props2.page) ? props2.page : {};
|
|
4182
4182
|
return { ...child, props: { ...props2, page: { ...page, size: canvas } } };
|
|
4183
4183
|
});
|
|
4184
|
-
const chart = JSON.stringify(sections).includes('"name":"chart"');
|
|
4185
4184
|
return {
|
|
4186
4185
|
name: "docx",
|
|
4187
|
-
...chart && { renderer: "office-open" },
|
|
4188
4186
|
props: {
|
|
4189
4187
|
...props,
|
|
4190
4188
|
theme,
|