@pixldocs/canvas-renderer 0.5.435 → 0.5.436
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-BtkdFbJD.js → index-BNFF4r0P.js} +8 -7
- package/dist/index-BNFF4r0P.js.map +1 -0
- package/dist/{index-B5NWvDlD.cjs → index-MlXEe3pb.cjs} +8 -7
- package/dist/index-MlXEe3pb.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-DaUbsdKS.js → vectorPdfExport-BoB0l9eY.js} +4 -4
- package/dist/{vectorPdfExport-DaUbsdKS.js.map → vectorPdfExport-BoB0l9eY.js.map} +1 -1
- package/dist/{vectorPdfExport-BXT74Jwl.cjs → vectorPdfExport-DssOdenf.cjs} +4 -4
- package/dist/{vectorPdfExport-BXT74Jwl.cjs.map → vectorPdfExport-DssOdenf.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-B5NWvDlD.cjs.map +0 -1
- package/dist/index-BtkdFbJD.js.map +0 -1
|
@@ -14366,10 +14366,11 @@ const PageCanvas = forwardRef(
|
|
|
14366
14366
|
const pending = pendingGroupPromotionRef.current;
|
|
14367
14367
|
if (!pending) return;
|
|
14368
14368
|
const activeNow = fabricCanvas.getActiveObject();
|
|
14369
|
-
if (activeNow === pending.selection) return;
|
|
14370
14369
|
isSyncingSelectionToFabricRef.current = true;
|
|
14371
14370
|
try {
|
|
14372
|
-
|
|
14371
|
+
if (activeNow !== pending.selection) {
|
|
14372
|
+
fabricCanvas.setActiveObject(pending.selection);
|
|
14373
|
+
}
|
|
14373
14374
|
pending.selection.setCoords();
|
|
14374
14375
|
fabricCanvas._target = pending.selection;
|
|
14375
14376
|
if (pending.selection instanceof fabric.ActiveSelection) {
|
|
@@ -25828,9 +25829,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
25828
25829
|
}
|
|
25829
25830
|
return svgString;
|
|
25830
25831
|
}
|
|
25831
|
-
const resolvedPackageVersion = "0.5.
|
|
25832
|
+
const resolvedPackageVersion = "0.5.436";
|
|
25832
25833
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
25833
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
25834
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.436";
|
|
25834
25835
|
const roundParityValue = (value) => {
|
|
25835
25836
|
if (typeof value !== "number") return value;
|
|
25836
25837
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -26644,7 +26645,7 @@ class PixldocsRenderer {
|
|
|
26644
26645
|
await this.waitForCanvasScene(container, cloned, i);
|
|
26645
26646
|
}
|
|
26646
26647
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
26647
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
26648
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-BoB0l9eY.js");
|
|
26648
26649
|
const prepared = preparePagesForExport(
|
|
26649
26650
|
cloned.pages,
|
|
26650
26651
|
canvasWidth,
|
|
@@ -28964,7 +28965,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
28964
28965
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
28965
28966
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
28966
28967
|
try {
|
|
28967
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
28968
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-BoB0l9eY.js");
|
|
28968
28969
|
try {
|
|
28969
28970
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
28970
28971
|
} catch {
|
|
@@ -29364,4 +29365,4 @@ export {
|
|
|
29364
29365
|
buildTeaserBlurFlatKeys as y,
|
|
29365
29366
|
collectFontDescriptorsFromConfig as z
|
|
29366
29367
|
};
|
|
29367
|
-
//# sourceMappingURL=index-
|
|
29368
|
+
//# sourceMappingURL=index-BNFF4r0P.js.map
|