@pixldocs/canvas-renderer 0.5.366 → 0.5.367
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-B-g_kXIT.js → index-BeQl1M5I.js} +9 -6
- package/dist/index-BeQl1M5I.js.map +1 -0
- package/dist/{index-HiqL7bUV.cjs → index-CG1dGppw.cjs} +9 -6
- package/dist/index-CG1dGppw.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-CDFFtLFe.js → vectorPdfExport-DvcAOjPg.js} +4 -4
- package/dist/{vectorPdfExport-CDFFtLFe.js.map → vectorPdfExport-DvcAOjPg.js.map} +1 -1
- package/dist/{vectorPdfExport-CKZP3dKs.cjs → vectorPdfExport-IZ_tpeyw.cjs} +4 -4
- package/dist/{vectorPdfExport-CKZP3dKs.cjs.map → vectorPdfExport-IZ_tpeyw.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-B-g_kXIT.js.map +0 -1
- package/dist/index-HiqL7bUV.cjs.map +0 -1
|
@@ -12822,6 +12822,7 @@ const PageCanvas = forwardRef(
|
|
|
12822
12822
|
};
|
|
12823
12823
|
fabricCanvas.on("selection:created", () => {
|
|
12824
12824
|
var _a2;
|
|
12825
|
+
if (suppressObjectModifiedDuringInternalReselectRef.current) return;
|
|
12825
12826
|
syncSelectionToStore();
|
|
12826
12827
|
const activeObj = fabricCanvas.getActiveObject();
|
|
12827
12828
|
if (activeObj instanceof fabric.ActiveSelection) applyWarpAwareSelectionBorders(activeObj);
|
|
@@ -12834,6 +12835,7 @@ const PageCanvas = forwardRef(
|
|
|
12834
12835
|
});
|
|
12835
12836
|
fabricCanvas.on("selection:updated", () => {
|
|
12836
12837
|
var _a2;
|
|
12838
|
+
if (suppressObjectModifiedDuringInternalReselectRef.current) return;
|
|
12837
12839
|
const next = fabricCanvas.getActiveObject();
|
|
12838
12840
|
const isLogicalGroupSel = next instanceof fabric.ActiveSelection && (next.__pixldocsGroupSelection || Array.isArray(next.__pixldocsLogicalGroupIds));
|
|
12839
12841
|
if (!isLogicalGroupSel) restoreSuppressedGroupBorders();
|
|
@@ -15557,7 +15559,8 @@ const PageCanvas = forwardRef(
|
|
|
15557
15559
|
groupSelectionId: wasGroupSel,
|
|
15558
15560
|
expiresAt: Date.now() + 1200
|
|
15559
15561
|
};
|
|
15560
|
-
|
|
15562
|
+
preserveActiveSelectionAfterTransformRef.current = null;
|
|
15563
|
+
recentGroupSelectionRestoreRef.current = null;
|
|
15561
15564
|
}
|
|
15562
15565
|
fabricCanvas.requestRenderAll();
|
|
15563
15566
|
}
|
|
@@ -24606,9 +24609,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24606
24609
|
}
|
|
24607
24610
|
return svgString;
|
|
24608
24611
|
}
|
|
24609
|
-
const resolvedPackageVersion = "0.5.
|
|
24612
|
+
const resolvedPackageVersion = "0.5.367";
|
|
24610
24613
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24611
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24614
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.367";
|
|
24612
24615
|
const roundParityValue = (value) => {
|
|
24613
24616
|
if (typeof value !== "number") return value;
|
|
24614
24617
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25422,7 +25425,7 @@ class PixldocsRenderer {
|
|
|
25422
25425
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25423
25426
|
}
|
|
25424
25427
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25425
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
25428
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-DvcAOjPg.js");
|
|
25426
25429
|
const prepared = preparePagesForExport(
|
|
25427
25430
|
cloned.pages,
|
|
25428
25431
|
canvasWidth,
|
|
@@ -27742,7 +27745,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27742
27745
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27743
27746
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27744
27747
|
try {
|
|
27745
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
27748
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-DvcAOjPg.js");
|
|
27746
27749
|
try {
|
|
27747
27750
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27748
27751
|
} catch {
|
|
@@ -28142,4 +28145,4 @@ export {
|
|
|
28142
28145
|
buildTeaserBlurFlatKeys as y,
|
|
28143
28146
|
collectFontDescriptorsFromConfig as z
|
|
28144
28147
|
};
|
|
28145
|
-
//# sourceMappingURL=index-
|
|
28148
|
+
//# sourceMappingURL=index-BeQl1M5I.js.map
|