@pixldocs/canvas-renderer 0.5.425 → 0.5.426
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-C3izL-t6.js → index--hMXhxT-.js} +10 -5
- package/dist/index--hMXhxT-.js.map +1 -0
- package/dist/{index-qOAH-a4l.cjs → index-ScUMI-6A.cjs} +10 -5
- package/dist/index-ScUMI-6A.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-DR3TOj0C.js → vectorPdfExport-Bu0JJXZS.js} +4 -4
- package/dist/{vectorPdfExport-DR3TOj0C.js.map → vectorPdfExport-Bu0JJXZS.js.map} +1 -1
- package/dist/{vectorPdfExport-ygzscD4n.cjs → vectorPdfExport-onpGluLh.cjs} +4 -4
- package/dist/{vectorPdfExport-ygzscD4n.cjs.map → vectorPdfExport-onpGluLh.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-C3izL-t6.js.map +0 -1
- package/dist/index-qOAH-a4l.cjs.map +0 -1
|
@@ -12488,6 +12488,7 @@ const PageCanvas = forwardRef(
|
|
|
12488
12488
|
installCanvaMaskControls(group);
|
|
12489
12489
|
applyControlSizeForZoom(group.canvas ?? fabricRef.current, group);
|
|
12490
12490
|
ensureCanvaControlRenders(group);
|
|
12491
|
+
ensureCanvaEdgeHitArea(group);
|
|
12491
12492
|
}, [calculateScaleSnapGuidesCallback, canvasHeight, canvasWidth, getLogicalGroupSnapBoundsCallback, getResizeExcludeIdsCallback, snapDuringScaleCallback]);
|
|
12492
12493
|
const isTransforming = useCallback((canvas2) => {
|
|
12493
12494
|
if (!canvas2) return false;
|
|
@@ -14340,6 +14341,10 @@ const PageCanvas = forwardRef(
|
|
|
14340
14341
|
if (activeObj.__cornerResizeStart) {
|
|
14341
14342
|
delete activeObj.__cornerResizeStart;
|
|
14342
14343
|
}
|
|
14344
|
+
installImageResizeControlsWithSnap(activeObj);
|
|
14345
|
+
ensureCanvaControlRenders(activeObj);
|
|
14346
|
+
ensureCanvaEdgeHitArea(activeObj);
|
|
14347
|
+
activeObj.setCoords();
|
|
14343
14348
|
}
|
|
14344
14349
|
if (!didTransformRef.current) {
|
|
14345
14350
|
editLockRef.current = false;
|
|
@@ -25635,9 +25640,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
25635
25640
|
}
|
|
25636
25641
|
return svgString;
|
|
25637
25642
|
}
|
|
25638
|
-
const resolvedPackageVersion = "0.5.
|
|
25643
|
+
const resolvedPackageVersion = "0.5.426";
|
|
25639
25644
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
25640
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
25645
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.426";
|
|
25641
25646
|
const roundParityValue = (value) => {
|
|
25642
25647
|
if (typeof value !== "number") return value;
|
|
25643
25648
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -26451,7 +26456,7 @@ class PixldocsRenderer {
|
|
|
26451
26456
|
await this.waitForCanvasScene(container, cloned, i);
|
|
26452
26457
|
}
|
|
26453
26458
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
26454
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
26459
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-Bu0JJXZS.js");
|
|
26455
26460
|
const prepared = preparePagesForExport(
|
|
26456
26461
|
cloned.pages,
|
|
26457
26462
|
canvasWidth,
|
|
@@ -28771,7 +28776,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
28771
28776
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
28772
28777
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
28773
28778
|
try {
|
|
28774
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
28779
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-Bu0JJXZS.js");
|
|
28775
28780
|
try {
|
|
28776
28781
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
28777
28782
|
} catch {
|
|
@@ -29171,4 +29176,4 @@ export {
|
|
|
29171
29176
|
buildTeaserBlurFlatKeys as y,
|
|
29172
29177
|
collectFontDescriptorsFromConfig as z
|
|
29173
29178
|
};
|
|
29174
|
-
//# sourceMappingURL=index
|
|
29179
|
+
//# sourceMappingURL=index--hMXhxT-.js.map
|