@pixldocs/canvas-renderer 0.5.202 → 0.5.203

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.
@@ -16078,6 +16078,12 @@ function paintRepeatableSections(config, repeatableSections) {
16078
16078
  function setRepeatable(nodes, nodeId, payload) {
16079
16079
  for (const node of nodes) {
16080
16080
  const id = node.id;
16081
+ if (node.repeatableSection) {
16082
+ if (Array.isArray(node.children) && setRepeatable(node.children, nodeId, payload)) {
16083
+ return true;
16084
+ }
16085
+ continue;
16086
+ }
16081
16087
  if (id && (id === nodeId || baseId(id) === baseId(nodeId))) {
16082
16088
  node.repeatableSection = payload;
16083
16089
  return true;
@@ -16925,9 +16931,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
16925
16931
  }
16926
16932
  return svgString;
16927
16933
  }
16928
- const resolvedPackageVersion = "0.5.202";
16934
+ const resolvedPackageVersion = "0.5.203";
16929
16935
  const PACKAGE_VERSION = resolvedPackageVersion;
16930
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.202";
16936
+ const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.203";
16931
16937
  const roundParityValue = (value) => {
16932
16938
  if (typeof value !== "number") return value;
16933
16939
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -17606,7 +17612,7 @@ class PixldocsRenderer {
17606
17612
  await this.waitForCanvasScene(container, cloned, i);
17607
17613
  }
17608
17614
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
17609
- const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-Gj3lwAgo.js");
17615
+ const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-B8tazQjy.js");
17610
17616
  const prepared = preparePagesForExport(
17611
17617
  cloned.pages,
17612
17618
  canvasWidth,
@@ -19790,7 +19796,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
19790
19796
  if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
19791
19797
  sanitizeSvgTreeForPdf(svgToDraw);
19792
19798
  try {
19793
- const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-Gj3lwAgo.js");
19799
+ const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-B8tazQjy.js");
19794
19800
  try {
19795
19801
  await logTextMeasurementDiagnostic(svgToDraw);
19796
19802
  } catch {
@@ -20190,4 +20196,4 @@ export {
20190
20196
  buildTeaserBlurFlatKeys as y,
20191
20197
  collectFontDescriptorsFromConfig as z
20192
20198
  };
20193
- //# sourceMappingURL=index-BVNRSs-v.js.map
20199
+ //# sourceMappingURL=index-C2gJ23dU.js.map