@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
|
@@ -14733,6 +14733,7 @@ const PageCanvas = react.forwardRef(
|
|
|
14733
14733
|
for (const child of t.getObjects()) {
|
|
14734
14734
|
delete child.__asLiveOrigW;
|
|
14735
14735
|
delete child.__asLiveOrigH;
|
|
14736
|
+
delete child.__asLiveRotSnap;
|
|
14736
14737
|
}
|
|
14737
14738
|
}
|
|
14738
14739
|
} catch {
|
|
@@ -24833,9 +24834,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24833
24834
|
}
|
|
24834
24835
|
return svgString;
|
|
24835
24836
|
}
|
|
24836
|
-
const resolvedPackageVersion = "0.5.
|
|
24837
|
+
const resolvedPackageVersion = "0.5.383";
|
|
24837
24838
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24838
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24839
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.383";
|
|
24839
24840
|
const roundParityValue = (value) => {
|
|
24840
24841
|
if (typeof value !== "number") return value;
|
|
24841
24842
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25649,7 +25650,7 @@ class PixldocsRenderer {
|
|
|
25649
25650
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25650
25651
|
}
|
|
25651
25652
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25652
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
25653
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-DxRLDNdM.cjs"));
|
|
25653
25654
|
const prepared = preparePagesForExport(
|
|
25654
25655
|
cloned.pages,
|
|
25655
25656
|
canvasWidth,
|
|
@@ -27969,7 +27970,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27969
27970
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27970
27971
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27971
27972
|
try {
|
|
27972
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
27973
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-DxRLDNdM.cjs"));
|
|
27973
27974
|
try {
|
|
27974
27975
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27975
27976
|
} catch {
|
|
@@ -28366,4 +28367,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
28366
28367
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
28367
28368
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
28368
28369
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
28369
|
-
//# sourceMappingURL=index-
|
|
28370
|
+
//# sourceMappingURL=index-BOr3yt00.cjs.map
|