@pixldocs/canvas-renderer 0.5.283 → 0.5.284
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-DZrJdP7E.js → index-BAQJjsT4.js} +9 -7
- package/dist/index-BAQJjsT4.js.map +1 -0
- package/dist/{index-A4ICnK--.cjs → index-n9HBI3ow.cjs} +9 -7
- package/dist/index-n9HBI3ow.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-48Xfutfv.cjs → vectorPdfExport-C28yMJ_a.cjs} +4 -4
- package/dist/{vectorPdfExport-48Xfutfv.cjs.map → vectorPdfExport-C28yMJ_a.cjs.map} +1 -1
- package/dist/{vectorPdfExport-DwiSa6HT.js → vectorPdfExport-LTu10COA.js} +4 -4
- package/dist/{vectorPdfExport-DwiSa6HT.js.map → vectorPdfExport-LTu10COA.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-A4ICnK--.cjs.map +0 -1
- package/dist/index-DZrJdP7E.js.map +0 -1
|
@@ -10478,7 +10478,7 @@ let ensureCanvaControlRenders = () => {
|
|
|
10478
10478
|
};
|
|
10479
10479
|
const shouldLogGroupMove = () => {
|
|
10480
10480
|
if (typeof window === "undefined") return false;
|
|
10481
|
-
return window.__pixldocsDebugGroupMove
|
|
10481
|
+
return window.__pixldocsDebugGroupMove === true;
|
|
10482
10482
|
};
|
|
10483
10483
|
try {
|
|
10484
10484
|
const InteractiveBase = fabric.InteractiveFabricObject ?? fabric.Object;
|
|
@@ -15781,7 +15781,9 @@ const PageCanvas = forwardRef(
|
|
|
15781
15781
|
const groupSelectionId = activeAfterObjectSync.__pixldocsGroupSelection;
|
|
15782
15782
|
if (groupSelectionId) {
|
|
15783
15783
|
applyLogicalGroupSelectionVisualState(activeAfterObjectSync, groupSelectionId);
|
|
15784
|
-
activeAfterObjectSync.
|
|
15784
|
+
if (!activeAfterObjectSync.getObjects().every((obj) => !(obj instanceof fabric.Group))) {
|
|
15785
|
+
activeAfterObjectSync.setCoords();
|
|
15786
|
+
}
|
|
15785
15787
|
}
|
|
15786
15788
|
}
|
|
15787
15789
|
isRebuildingRef.current = false;
|
|
@@ -23792,9 +23794,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23792
23794
|
}
|
|
23793
23795
|
return svgString;
|
|
23794
23796
|
}
|
|
23795
|
-
const resolvedPackageVersion = "0.5.
|
|
23797
|
+
const resolvedPackageVersion = "0.5.284";
|
|
23796
23798
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23797
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23799
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.284";
|
|
23798
23800
|
const roundParityValue = (value) => {
|
|
23799
23801
|
if (typeof value !== "number") return value;
|
|
23800
23802
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24608,7 +24610,7 @@ class PixldocsRenderer {
|
|
|
24608
24610
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24609
24611
|
}
|
|
24610
24612
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24611
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
24613
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-LTu10COA.js");
|
|
24612
24614
|
const prepared = preparePagesForExport(
|
|
24613
24615
|
cloned.pages,
|
|
24614
24616
|
canvasWidth,
|
|
@@ -26928,7 +26930,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26928
26930
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26929
26931
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26930
26932
|
try {
|
|
26931
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
26933
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-LTu10COA.js");
|
|
26932
26934
|
try {
|
|
26933
26935
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26934
26936
|
} catch {
|
|
@@ -27328,4 +27330,4 @@ export {
|
|
|
27328
27330
|
buildTeaserBlurFlatKeys as y,
|
|
27329
27331
|
collectFontDescriptorsFromConfig as z
|
|
27330
27332
|
};
|
|
27331
|
-
//# sourceMappingURL=index-
|
|
27333
|
+
//# sourceMappingURL=index-BAQJjsT4.js.map
|