@pixldocs/canvas-renderer 0.5.381 → 0.5.383
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-BR48GoFH.js → index-BHS16lGJ.js} +6 -5
- package/dist/index-BHS16lGJ.js.map +1 -0
- package/dist/{index-Cm_jngwB.cjs → index-BOr3yt00.cjs} +6 -5
- package/dist/index-BOr3yt00.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-OXbQZXtd.js → vectorPdfExport-BegTwE0k.js} +4 -4
- package/dist/{vectorPdfExport-OXbQZXtd.js.map → vectorPdfExport-BegTwE0k.js.map} +1 -1
- package/dist/{vectorPdfExport-VKrjfN4n.cjs → vectorPdfExport-DxRLDNdM.cjs} +4 -4
- package/dist/{vectorPdfExport-VKrjfN4n.cjs.map → vectorPdfExport-DxRLDNdM.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-BR48GoFH.js.map +0 -1
- package/dist/index-Cm_jngwB.cjs.map +0 -1
|
@@ -14715,6 +14715,7 @@ const PageCanvas = forwardRef(
|
|
|
14715
14715
|
for (const child of t.getObjects()) {
|
|
14716
14716
|
delete child.__asLiveOrigW;
|
|
14717
14717
|
delete child.__asLiveOrigH;
|
|
14718
|
+
delete child.__asLiveRotSnap;
|
|
14718
14719
|
}
|
|
14719
14720
|
}
|
|
14720
14721
|
} catch {
|
|
@@ -24815,9 +24816,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24815
24816
|
}
|
|
24816
24817
|
return svgString;
|
|
24817
24818
|
}
|
|
24818
|
-
const resolvedPackageVersion = "0.5.
|
|
24819
|
+
const resolvedPackageVersion = "0.5.383";
|
|
24819
24820
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24820
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24821
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.383";
|
|
24821
24822
|
const roundParityValue = (value) => {
|
|
24822
24823
|
if (typeof value !== "number") return value;
|
|
24823
24824
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25631,7 +25632,7 @@ class PixldocsRenderer {
|
|
|
25631
25632
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25632
25633
|
}
|
|
25633
25634
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25634
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
25635
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-BegTwE0k.js");
|
|
25635
25636
|
const prepared = preparePagesForExport(
|
|
25636
25637
|
cloned.pages,
|
|
25637
25638
|
canvasWidth,
|
|
@@ -27951,7 +27952,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27951
27952
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27952
27953
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27953
27954
|
try {
|
|
27954
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
27955
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-BegTwE0k.js");
|
|
27955
27956
|
try {
|
|
27956
27957
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27957
27958
|
} catch {
|
|
@@ -28351,4 +28352,4 @@ export {
|
|
|
28351
28352
|
buildTeaserBlurFlatKeys as y,
|
|
28352
28353
|
collectFontDescriptorsFromConfig as z
|
|
28353
28354
|
};
|
|
28354
|
-
//# sourceMappingURL=index-
|
|
28355
|
+
//# sourceMappingURL=index-BHS16lGJ.js.map
|