@pixldocs/canvas-renderer 0.5.258 → 0.5.259
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-Dy4oD06S.cjs → index-CUomvTwt.cjs} +5 -14
- package/dist/index-CUomvTwt.cjs.map +1 -0
- package/dist/{index-DZ8rlYH6.js → index-DhFcz1Sq.js} +5 -14
- package/dist/index-DhFcz1Sq.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-rgv8yUj2.cjs → vectorPdfExport-Bbu4wM29.cjs} +4 -4
- package/dist/{vectorPdfExport-rgv8yUj2.cjs.map → vectorPdfExport-Bbu4wM29.cjs.map} +1 -1
- package/dist/{vectorPdfExport-BrLwOuTP.js → vectorPdfExport-CNA_nPL_.js} +4 -4
- package/dist/{vectorPdfExport-BrLwOuTP.js.map → vectorPdfExport-CNA_nPL_.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-DZ8rlYH6.js.map +0 -1
- package/dist/index-Dy4oD06S.cjs.map +0 -1
|
@@ -11180,15 +11180,6 @@ const PageCanvas = forwardRef(
|
|
|
11180
11180
|
}
|
|
11181
11181
|
}
|
|
11182
11182
|
applyWarpAwareSelectionBorders(selection);
|
|
11183
|
-
try {
|
|
11184
|
-
selection.setControlsVisibility({
|
|
11185
|
-
ml: false,
|
|
11186
|
-
mr: false,
|
|
11187
|
-
mt: false,
|
|
11188
|
-
mb: false
|
|
11189
|
-
});
|
|
11190
|
-
} catch {
|
|
11191
|
-
}
|
|
11192
11183
|
}, []);
|
|
11193
11184
|
const pageBoundsOptions = useMemo(
|
|
11194
11185
|
() => ({ pageContentWidth: canvasWidth, pageContentHeight: canvasHeight }),
|
|
@@ -23537,9 +23528,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23537
23528
|
}
|
|
23538
23529
|
return svgString;
|
|
23539
23530
|
}
|
|
23540
|
-
const resolvedPackageVersion = "0.5.
|
|
23531
|
+
const resolvedPackageVersion = "0.5.259";
|
|
23541
23532
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23542
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23533
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.259";
|
|
23543
23534
|
const roundParityValue = (value) => {
|
|
23544
23535
|
if (typeof value !== "number") return value;
|
|
23545
23536
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24353,7 +24344,7 @@ class PixldocsRenderer {
|
|
|
24353
24344
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24354
24345
|
}
|
|
24355
24346
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24356
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
24347
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-CNA_nPL_.js");
|
|
24357
24348
|
const prepared = preparePagesForExport(
|
|
24358
24349
|
cloned.pages,
|
|
24359
24350
|
canvasWidth,
|
|
@@ -26673,7 +26664,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26673
26664
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26674
26665
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26675
26666
|
try {
|
|
26676
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
26667
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-CNA_nPL_.js");
|
|
26677
26668
|
try {
|
|
26678
26669
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26679
26670
|
} catch {
|
|
@@ -27073,4 +27064,4 @@ export {
|
|
|
27073
27064
|
buildTeaserBlurFlatKeys as y,
|
|
27074
27065
|
collectFontDescriptorsFromConfig as z
|
|
27075
27066
|
};
|
|
27076
|
-
//# sourceMappingURL=index-
|
|
27067
|
+
//# sourceMappingURL=index-DhFcz1Sq.js.map
|