From 15fa25e5d325659945b3e77fb0ca8bbb01019791 Mon Sep 17 00:00:00 2001 From: Martin Skec Date: Fri, 10 Mar 2023 21:09:56 +0100 Subject: [PATCH] fix: fetch assets inside dynamic content (#1369, #1587, #1630, #1936, #2064) --- .../layout/src/steps/resolvePagination.js | 61 +++++++++++------- .../renderer/tests/dynamicContent.test.js | 26 ++++++++ ...-content-should-render-an-image-1-snap.png | Bin 0 -> 20778 bytes 3 files changed, 62 insertions(+), 25 deletions(-) create mode 100644 packages/renderer/tests/dynamicContent.test.js create mode 100644 packages/renderer/tests/snapshots/dynamic-content-test-js-dynamic-content-should-render-an-image-1-snap.png diff --git a/packages/layout/src/steps/resolvePagination.js b/packages/layout/src/steps/resolvePagination.js index c4a84903e..936ed3759 100644 --- a/packages/layout/src/steps/resolvePagination.js +++ b/packages/layout/src/steps/resolvePagination.js @@ -2,7 +2,7 @@ /* eslint-disable prefer-destructuring */ import * as P from '@react-pdf/primitives'; -import { isNil, omit, compose } from '@react-pdf/fns'; +import { isNil, omit, asyncCompose } from '@react-pdf/fns'; import isFixed from '../node/isFixed'; import splitText from '../text/splitText'; @@ -15,6 +15,7 @@ import shouldNodeBreak from '../node/shouldBreak'; import resolveTextLayout from './resolveTextLayout'; import resolveInheritance from './resolveInheritance'; import { resolvePageDimensions } from './resolveDimensions'; +import resolveAssets from './resolveAssets'; const isText = node => node.type === P.Text; @@ -30,7 +31,8 @@ const allFixed = nodes => nodes.every(isFixed); const isDynamic = node => !isNil(node.props?.render); -const relayoutPage = compose( +const relayoutPage = asyncCompose( + resolveAssets, resolveTextLayout, resolveInheritance, resolvePageDimensions, @@ -172,19 +174,20 @@ const resolveDynamicNodes = (props, node) => { return Object.assign({}, node, { box, lines, children }); }; -const resolveDynamicPage = (props, page, fontStore) => { +const resolveDynamicPage = async (props, page, fontStore) => { if (shouldResolveDynamicNodes(page)) { const resolvedPage = resolveDynamicNodes(props, page); - return relayoutPage(resolvedPage, fontStore); + const relayoutedPage = await relayoutPage(resolvedPage, fontStore); + return relayoutedPage; } return page; }; -const splitPage = (page, pageNumber, fontStore) => { +const splitPage = async (page, pageNumber, fontStore) => { const wrapArea = getWrapArea(page); const contentArea = getContentArea(page); - const dynamicPage = resolveDynamicPage({ pageNumber }, page, fontStore); + const dynamicPage = await resolveDynamicPage({ pageNumber }, page, fontStore); const height = page.style.height; const [currentChilds, nextChilds] = splitNodes( @@ -193,10 +196,10 @@ const splitPage = (page, pageNumber, fontStore) => { dynamicPage.children, ); - const relayout = node => relayoutPage(node, fontStore); + const relayout = async node => relayoutPage(node, fontStore); const currentBox = { ...page.box, height }; - const currentPage = relayout( + const currentPage = await relayout( Object.assign({}, page, { box: currentBox, children: currentChilds }), ); @@ -206,7 +209,7 @@ const splitPage = (page, pageNumber, fontStore) => { const nextBox = omit('height', page.box); const nextProps = omit('bookmark', page.props); - const nextPage = relayout( + const nextPage = await relayout( Object.assign({}, page, { props: nextProps, box: nextBox, @@ -217,7 +220,7 @@ const splitPage = (page, pageNumber, fontStore) => { return [currentPage, nextPage]; }; -const resolvePageIndices = (fontStore, page, pageNumber, pages) => { +const resolvePageIndices = async (fontStore, page, pageNumber, pages) => { const totalPages = pages.length; const props = { @@ -242,18 +245,23 @@ const dissocSubPageData = page => { return omit(['subPageNumber', 'subPageTotalPages'], page); }; -const paginate = (page, pageNumber, fontStore) => { +const paginate = async (page, pageNumber, fontStore) => { if (!page) return []; if (page.props?.wrap === false) return [page]; - let splittedPage = splitPage(page, pageNumber, fontStore); + let splittedPage = await splitPage(page, pageNumber, fontStore); const pages = [splittedPage[0]]; let nextPage = splittedPage[1]; while (nextPage !== null) { - splittedPage = splitPage(nextPage, pageNumber + pages.length, fontStore); + // eslint-disable-next-line no-await-in-loop + splittedPage = await splitPage( + nextPage, + pageNumber + pages.length, + fontStore, + ); pages.push(splittedPage[0]); nextPage = splittedPage[1]; @@ -263,28 +271,31 @@ const paginate = (page, pageNumber, fontStore) => { }; /** - * Performs pagination. This is the step responsible of breaking the whole document - * into pages following pagiation rules, such as `fixed`, `break` and dynamic nodes. + * Performs pagination. This is the step responsible for breaking the whole document + * into pages following pagination rules, such as `fixed`, `break` and dynamic nodes. * * @param {Object} node * @param {Object} fontStore font store * @returns {Object} layout node */ -const resolvePagination = (doc, fontStore) => { +const resolvePagination = async (doc, fontStore) => { let pages = []; let pageNumber = 1; - for (let i = 0; i < doc.children.length; i += 1) { - const page = doc.children[i]; - let subpages = paginate(page, pageNumber, fontStore); + await Promise.all( + doc.children.map(async page => { + let subpages = await paginate(page, pageNumber, fontStore); - subpages = assocSubPageData(subpages); - pageNumber += subpages.length; - pages = pages.concat(subpages); - } + subpages = assocSubPageData(subpages); + pageNumber += subpages.length; + pages.push(...subpages); + }), + ); - pages = pages.map((...args) => - dissocSubPageData(resolvePageIndices(fontStore, ...args)), + pages = await Promise.all( + pages.map(async (...args) => + dissocSubPageData(await resolvePageIndices(fontStore, ...args)), + ), ); return assingChildren(pages, doc); diff --git a/packages/renderer/tests/dynamicContent.test.js b/packages/renderer/tests/dynamicContent.test.js new file mode 100644 index 000000000..b88fe5972 --- /dev/null +++ b/packages/renderer/tests/dynamicContent.test.js @@ -0,0 +1,26 @@ +import { Document, Image, Page, View } from '..'; +import renderToImage from './renderComponent'; + +const mount = async children => { + const image = await renderToImage( + + {children} + , + ); + + return image; +}; + +describe('dynamic content', () => { + test('should render an image', async () => { + const url = + 'https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png'; + const image = await mount( + } + />, + ); + + expect(image).toMatchImageSnapshot(); + }); +}); diff --git a/packages/renderer/tests/snapshots/dynamic-content-test-js-dynamic-content-should-render-an-image-1-snap.png b/packages/renderer/tests/snapshots/dynamic-content-test-js-dynamic-content-should-render-an-image-1-snap.png new file mode 100644 index 0000000000000000000000000000000000000000..dbb477f1fb801d2236ad19dc3cf051354b1b7d17 GIT binary patch literal 20778 zcmce8g;yM1@FgTb(BKk+ySoIJ;0*3=!8N$MYp~$%?(XjH43;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