@pixldocs/canvas-renderer 0.5.371 → 0.5.372
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-d_8CZn_T.js → index-BAK60IJl.js} +17 -5
- package/dist/{index-d_8CZn_T.js.map → index-BAK60IJl.js.map} +1 -1
- package/dist/{index-CV2nGvmF.cjs → index-CLgDLK4-.cjs} +17 -5
- package/dist/{index-CV2nGvmF.cjs.map → index-CLgDLK4-.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-CoVX-Djl.js → vectorPdfExport-CwD3b9HF.js} +4 -4
- package/dist/{vectorPdfExport-CoVX-Djl.js.map → vectorPdfExport-CwD3b9HF.js.map} +1 -1
- package/dist/{vectorPdfExport-DEzSoYyy.cjs → vectorPdfExport-Cy6COeh4.cjs} +4 -4
- package/dist/{vectorPdfExport-DEzSoYyy.cjs.map → vectorPdfExport-Cy6COeh4.cjs.map} +1 -1
- package/package.json +1 -1
|
@@ -15561,6 +15561,10 @@ const PageCanvas = forwardRef(
|
|
|
15561
15561
|
if (membersToReselect.length > 1) {
|
|
15562
15562
|
const newSel = new fabric.ActiveSelection(membersToReselect, { canvas: fabricCanvas });
|
|
15563
15563
|
if (wasGroupSel) restoreGroupSelectionVisualState(newSel, wasGroupSel);
|
|
15564
|
+
try {
|
|
15565
|
+
ensureCanvaControlRenders(newSel);
|
|
15566
|
+
} catch {
|
|
15567
|
+
}
|
|
15564
15568
|
fabricCanvas.setActiveObject(newSel);
|
|
15565
15569
|
try {
|
|
15566
15570
|
(_j = newSel.triggerLayout) == null ? void 0 : _j.call(newSel);
|
|
@@ -15951,6 +15955,10 @@ const PageCanvas = forwardRef(
|
|
|
15951
15955
|
if (activeSelectionSnapshot.groupSelectionId) {
|
|
15952
15956
|
applyLogicalGroupSelectionVisualState(newSel, activeSelectionSnapshot.groupSelectionId);
|
|
15953
15957
|
}
|
|
15958
|
+
try {
|
|
15959
|
+
ensureCanvaControlRenders(newSel);
|
|
15960
|
+
} catch {
|
|
15961
|
+
}
|
|
15954
15962
|
fc.setActiveObject(newSel);
|
|
15955
15963
|
newSel.setCoords();
|
|
15956
15964
|
fc.requestRenderAll();
|
|
@@ -16685,6 +16693,10 @@ const PageCanvas = forwardRef(
|
|
|
16685
16693
|
if (activeSelectionSnapshot.groupSelectionId) {
|
|
16686
16694
|
applyLogicalGroupSelectionVisualState(newSel, activeSelectionSnapshot.groupSelectionId);
|
|
16687
16695
|
}
|
|
16696
|
+
try {
|
|
16697
|
+
ensureCanvaControlRenders(newSel);
|
|
16698
|
+
} catch {
|
|
16699
|
+
}
|
|
16688
16700
|
fc.setActiveObject(newSel);
|
|
16689
16701
|
newSel.setCoords();
|
|
16690
16702
|
fc.requestRenderAll();
|
|
@@ -24649,9 +24661,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24649
24661
|
}
|
|
24650
24662
|
return svgString;
|
|
24651
24663
|
}
|
|
24652
|
-
const resolvedPackageVersion = "0.5.
|
|
24664
|
+
const resolvedPackageVersion = "0.5.372";
|
|
24653
24665
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24654
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24666
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.372";
|
|
24655
24667
|
const roundParityValue = (value) => {
|
|
24656
24668
|
if (typeof value !== "number") return value;
|
|
24657
24669
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25465,7 +25477,7 @@ class PixldocsRenderer {
|
|
|
25465
25477
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25466
25478
|
}
|
|
25467
25479
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25468
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
25480
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-CwD3b9HF.js");
|
|
25469
25481
|
const prepared = preparePagesForExport(
|
|
25470
25482
|
cloned.pages,
|
|
25471
25483
|
canvasWidth,
|
|
@@ -27785,7 +27797,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27785
27797
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27786
27798
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27787
27799
|
try {
|
|
27788
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
27800
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-CwD3b9HF.js");
|
|
27789
27801
|
try {
|
|
27790
27802
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27791
27803
|
} catch {
|
|
@@ -28185,4 +28197,4 @@ export {
|
|
|
28185
28197
|
buildTeaserBlurFlatKeys as y,
|
|
28186
28198
|
collectFontDescriptorsFromConfig as z
|
|
28187
28199
|
};
|
|
28188
|
-
//# sourceMappingURL=index-
|
|
28200
|
+
//# sourceMappingURL=index-BAK60IJl.js.map
|