@pixldocs/canvas-renderer 0.5.363 → 0.5.364
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-Cw161PRH.js → index-BX1STPJj.js} +5 -7
- package/dist/index-BX1STPJj.js.map +1 -0
- package/dist/{index-2dvR-r9n.cjs → index-C1ijZRH6.cjs} +5 -7
- package/dist/index-C1ijZRH6.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-DtI5z_ZO.js → vectorPdfExport-DHpvNU2-.js} +4 -4
- package/dist/{vectorPdfExport-DtI5z_ZO.js.map → vectorPdfExport-DHpvNU2-.js.map} +1 -1
- package/dist/{vectorPdfExport-DcTlFDUW.cjs → vectorPdfExport-Sn_yZjdL.cjs} +4 -4
- package/dist/{vectorPdfExport-DcTlFDUW.cjs.map → vectorPdfExport-Sn_yZjdL.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-2dvR-r9n.cjs.map +0 -1
- package/dist/index-Cw161PRH.js.map +0 -1
|
@@ -12960,7 +12960,6 @@ const PageCanvas = forwardRef(
|
|
|
12960
12960
|
const shouldRestoreGroupSelection = !!((preservedGroupSelection == null ? void 0 : preservedGroupSelection.groupSelectionId) && (!preservedGroupSelection.expiresAt || preservedGroupSelection.expiresAt > Date.now()));
|
|
12961
12961
|
if (skipSelectionClearOnDiscardRef.current) {
|
|
12962
12962
|
skipSelectionClearOnDiscardRef.current = false;
|
|
12963
|
-
if (shouldRestoreGroupSelection) restorePreservedGroupSelectionSoon(preservedGroupSelection);
|
|
12964
12963
|
return;
|
|
12965
12964
|
}
|
|
12966
12965
|
const recentGroupSelectionRestore = recentGroupSelectionRestoreRef.current;
|
|
@@ -15555,7 +15554,6 @@ const PageCanvas = forwardRef(
|
|
|
15555
15554
|
expiresAt: Date.now() + 1200
|
|
15556
15555
|
};
|
|
15557
15556
|
recentGroupSelectionRestoreRef.current = resizeRestoreSnapshot;
|
|
15558
|
-
restorePreservedGroupSelectionSoon(resizeRestoreSnapshot);
|
|
15559
15557
|
}
|
|
15560
15558
|
fabricCanvas.requestRenderAll();
|
|
15561
15559
|
}
|
|
@@ -24591,9 +24589,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24591
24589
|
}
|
|
24592
24590
|
return svgString;
|
|
24593
24591
|
}
|
|
24594
|
-
const resolvedPackageVersion = "0.5.
|
|
24592
|
+
const resolvedPackageVersion = "0.5.364";
|
|
24595
24593
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24596
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24594
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.364";
|
|
24597
24595
|
const roundParityValue = (value) => {
|
|
24598
24596
|
if (typeof value !== "number") return value;
|
|
24599
24597
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25407,7 +25405,7 @@ class PixldocsRenderer {
|
|
|
25407
25405
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25408
25406
|
}
|
|
25409
25407
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25410
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
25408
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-DHpvNU2-.js");
|
|
25411
25409
|
const prepared = preparePagesForExport(
|
|
25412
25410
|
cloned.pages,
|
|
25413
25411
|
canvasWidth,
|
|
@@ -27727,7 +27725,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27727
27725
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27728
27726
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27729
27727
|
try {
|
|
27730
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
27728
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-DHpvNU2-.js");
|
|
27731
27729
|
try {
|
|
27732
27730
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27733
27731
|
} catch {
|
|
@@ -28127,4 +28125,4 @@ export {
|
|
|
28127
28125
|
buildTeaserBlurFlatKeys as y,
|
|
28128
28126
|
collectFontDescriptorsFromConfig as z
|
|
28129
28127
|
};
|
|
28130
|
-
//# sourceMappingURL=index-
|
|
28128
|
+
//# sourceMappingURL=index-BX1STPJj.js.map
|