@pixldocs/canvas-renderer 0.5.286 → 0.5.287
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-4L9uZ78v.cjs → index-B8mo_6bC.cjs} +11 -8
- package/dist/index-B8mo_6bC.cjs.map +1 -0
- package/dist/{index-EkY5XEkR.js → index-SOarDnbw.js} +11 -8
- package/dist/index-SOarDnbw.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-wObaRY6z.js → vectorPdfExport-Cdzd1M4c.js} +4 -4
- package/dist/{vectorPdfExport-wObaRY6z.js.map → vectorPdfExport-Cdzd1M4c.js.map} +1 -1
- package/dist/{vectorPdfExport-DqdRBbl_.cjs → vectorPdfExport-PuXmC5oW.cjs} +4 -4
- package/dist/{vectorPdfExport-DqdRBbl_.cjs.map → vectorPdfExport-PuXmC5oW.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-4L9uZ78v.cjs.map +0 -1
- package/dist/index-EkY5XEkR.js.map +0 -1
|
@@ -14596,10 +14596,13 @@ const PageCanvas = forwardRef(
|
|
|
14596
14596
|
}
|
|
14597
14597
|
skipSelectionClearOnDiscardRef.current = false;
|
|
14598
14598
|
if (wasGroupSel) {
|
|
14599
|
-
|
|
14599
|
+
const resizeRestoreSnapshot = {
|
|
14600
14600
|
memberIds: membersToReselect.map((obj) => getObjectId(obj)).filter((id) => !!id && id !== "__background__"),
|
|
14601
|
-
groupSelectionId: wasGroupSel
|
|
14602
|
-
|
|
14601
|
+
groupSelectionId: wasGroupSel,
|
|
14602
|
+
expiresAt: Date.now() + 1200
|
|
14603
|
+
};
|
|
14604
|
+
recentGroupSelectionRestoreRef.current = resizeRestoreSnapshot;
|
|
14605
|
+
restorePreservedGroupSelectionSoon(resizeRestoreSnapshot);
|
|
14603
14606
|
}
|
|
14604
14607
|
fabricCanvas.requestRenderAll();
|
|
14605
14608
|
}
|
|
@@ -23616,9 +23619,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23616
23619
|
}
|
|
23617
23620
|
return svgString;
|
|
23618
23621
|
}
|
|
23619
|
-
const resolvedPackageVersion = "0.5.
|
|
23622
|
+
const resolvedPackageVersion = "0.5.287";
|
|
23620
23623
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23621
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23624
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.287";
|
|
23622
23625
|
const roundParityValue = (value) => {
|
|
23623
23626
|
if (typeof value !== "number") return value;
|
|
23624
23627
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24432,7 +24435,7 @@ class PixldocsRenderer {
|
|
|
24432
24435
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24433
24436
|
}
|
|
24434
24437
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24435
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
24438
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-Cdzd1M4c.js");
|
|
24436
24439
|
const prepared = preparePagesForExport(
|
|
24437
24440
|
cloned.pages,
|
|
24438
24441
|
canvasWidth,
|
|
@@ -26752,7 +26755,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26752
26755
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26753
26756
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26754
26757
|
try {
|
|
26755
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
26758
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-Cdzd1M4c.js");
|
|
26756
26759
|
try {
|
|
26757
26760
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26758
26761
|
} catch {
|
|
@@ -27152,4 +27155,4 @@ export {
|
|
|
27152
27155
|
buildTeaserBlurFlatKeys as y,
|
|
27153
27156
|
collectFontDescriptorsFromConfig as z
|
|
27154
27157
|
};
|
|
27155
|
-
//# sourceMappingURL=index-
|
|
27158
|
+
//# sourceMappingURL=index-SOarDnbw.js.map
|