@pixldocs/canvas-renderer 0.5.351 → 0.5.352
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-CG3kYo0Z.cjs → index-BBwoWejC.cjs} +10 -5
- package/dist/index-BBwoWejC.cjs.map +1 -0
- package/dist/{index-Ugo_-WGu.js → index-CJLS3Ey3.js} +10 -5
- package/dist/index-CJLS3Ey3.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-CmEq_yn3.cjs → vectorPdfExport-DssfP9Fv.cjs} +4 -4
- package/dist/{vectorPdfExport-CmEq_yn3.cjs.map → vectorPdfExport-DssfP9Fv.cjs.map} +1 -1
- package/dist/{vectorPdfExport-C4JUR8dI.js → vectorPdfExport-DyD0q_mD.js} +4 -4
- package/dist/{vectorPdfExport-C4JUR8dI.js.map → vectorPdfExport-DyD0q_mD.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-CG3kYo0Z.cjs.map +0 -1
- package/dist/index-Ugo_-WGu.js.map +0 -1
|
@@ -14617,6 +14617,11 @@ const PageCanvas = forwardRef(
|
|
|
14617
14617
|
}
|
|
14618
14618
|
const modifiedTarget = e.target;
|
|
14619
14619
|
if (modifiedTarget instanceof fabric.ActiveSelection && modifiedTarget.getObjects().length === 0) {
|
|
14620
|
+
didTransformRef.current = false;
|
|
14621
|
+
groupSelectionTransformStartRef.current = null;
|
|
14622
|
+
activeSelectionMoveStartRef.current = null;
|
|
14623
|
+
activeSelectionResizeHandleRef.current = null;
|
|
14624
|
+
unlockEditsSoon();
|
|
14620
14625
|
return;
|
|
14621
14626
|
}
|
|
14622
14627
|
try {
|
|
@@ -24847,9 +24852,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24847
24852
|
}
|
|
24848
24853
|
return svgString;
|
|
24849
24854
|
}
|
|
24850
|
-
const resolvedPackageVersion = "0.5.
|
|
24855
|
+
const resolvedPackageVersion = "0.5.352";
|
|
24851
24856
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24852
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24857
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.352";
|
|
24853
24858
|
const roundParityValue = (value) => {
|
|
24854
24859
|
if (typeof value !== "number") return value;
|
|
24855
24860
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25663,7 +25668,7 @@ class PixldocsRenderer {
|
|
|
25663
25668
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25664
25669
|
}
|
|
25665
25670
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25666
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
25671
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-DyD0q_mD.js");
|
|
25667
25672
|
const prepared = preparePagesForExport(
|
|
25668
25673
|
cloned.pages,
|
|
25669
25674
|
canvasWidth,
|
|
@@ -27983,7 +27988,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27983
27988
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27984
27989
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27985
27990
|
try {
|
|
27986
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
27991
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-DyD0q_mD.js");
|
|
27987
27992
|
try {
|
|
27988
27993
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27989
27994
|
} catch {
|
|
@@ -28383,4 +28388,4 @@ export {
|
|
|
28383
28388
|
buildTeaserBlurFlatKeys as y,
|
|
28384
28389
|
collectFontDescriptorsFromConfig as z
|
|
28385
28390
|
};
|
|
28386
|
-
//# sourceMappingURL=index-
|
|
28391
|
+
//# sourceMappingURL=index-CJLS3Ey3.js.map
|