@pixldocs/canvas-renderer 0.5.193 → 0.5.195
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-CDoyeKa8.js → index-BggTMIGH.js} +8 -7
- package/dist/{index-CDoyeKa8.js.map → index-BggTMIGH.js.map} +1 -1
- package/dist/{index-uwKwubUL.cjs → index-DsCBhthJ.cjs} +8 -7
- package/dist/{index-uwKwubUL.cjs.map → index-DsCBhthJ.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-BHKMcbVb.cjs → vectorPdfExport-DOflxvRE.cjs} +9 -9
- package/dist/vectorPdfExport-DOflxvRE.cjs.map +1 -0
- package/dist/{vectorPdfExport-Cd--tBky.js → vectorPdfExport-eV507wxX.js} +9 -9
- package/dist/vectorPdfExport-eV507wxX.js.map +1 -0
- package/package.json +1 -1
- package/dist/vectorPdfExport-BHKMcbVb.cjs.map +0 -1
- package/dist/vectorPdfExport-Cd--tBky.js.map +0 -1
|
@@ -16919,9 +16919,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
16919
16919
|
}
|
|
16920
16920
|
return svgString;
|
|
16921
16921
|
}
|
|
16922
|
-
const resolvedPackageVersion = "0.5.
|
|
16922
|
+
const resolvedPackageVersion = "0.5.195";
|
|
16923
16923
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
16924
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
16924
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.195";
|
|
16925
16925
|
const roundParityValue = (value) => {
|
|
16926
16926
|
if (typeof value !== "number") return value;
|
|
16927
16927
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -17548,7 +17548,7 @@ class PixldocsRenderer {
|
|
|
17548
17548
|
await this.waitForCanvasScene(container, cloned, i);
|
|
17549
17549
|
}
|
|
17550
17550
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
17551
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
17551
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-eV507wxX.js");
|
|
17552
17552
|
const prepared = preparePagesForExport(
|
|
17553
17553
|
cloned.pages,
|
|
17554
17554
|
canvasWidth,
|
|
@@ -17763,8 +17763,9 @@ class PixldocsRenderer {
|
|
|
17763
17763
|
console.warn("[canvas-renderer][asset-wait-timeout][dom-images]", domImageDebug);
|
|
17764
17764
|
console.warn("[canvas-renderer][asset-wait-timeout][fabric-images]", fabricImageDebug);
|
|
17765
17765
|
if (strictById && missingImageIds.length > 0) {
|
|
17766
|
-
|
|
17767
|
-
|
|
17766
|
+
console.warn(
|
|
17767
|
+
`[canvas-renderer][asset-wait-timeout] Missing expected image(s) — continuing with partial set: ${missingImageIds.join(", ")}`
|
|
17768
|
+
);
|
|
17768
17769
|
}
|
|
17769
17770
|
settle();
|
|
17770
17771
|
return;
|
|
@@ -19745,7 +19746,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
19745
19746
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
19746
19747
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
19747
19748
|
try {
|
|
19748
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
19749
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-eV507wxX.js");
|
|
19749
19750
|
try {
|
|
19750
19751
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
19751
19752
|
} catch {
|
|
@@ -20145,4 +20146,4 @@ export {
|
|
|
20145
20146
|
buildTeaserBlurFlatKeys as y,
|
|
20146
20147
|
collectFontDescriptorsFromConfig as z
|
|
20147
20148
|
};
|
|
20148
|
-
//# sourceMappingURL=index-
|
|
20149
|
+
//# sourceMappingURL=index-BggTMIGH.js.map
|