@pixldocs/canvas-renderer 0.5.250 → 0.5.251
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-uwIqqY-8.cjs → index-CQtUwS7t.cjs} +7 -7
- package/dist/{index-uwIqqY-8.cjs.map → index-CQtUwS7t.cjs.map} +1 -1
- package/dist/{index-BXFn9Ke9.js → index-jYZgiC9h.js} +7 -7
- package/dist/{index-BXFn9Ke9.js.map → index-jYZgiC9h.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-FNQGiaqg.cjs → vectorPdfExport-BuNDbR35.cjs} +4 -4
- package/dist/{vectorPdfExport-FNQGiaqg.cjs.map → vectorPdfExport-BuNDbR35.cjs.map} +1 -1
- package/dist/{vectorPdfExport-DnXFneU0.js → vectorPdfExport-CaBuNR6t.js} +4 -4
- package/dist/{vectorPdfExport-DnXFneU0.js.map → vectorPdfExport-CaBuNR6t.js.map} +1 -1
- package/package.json +1 -1
|
@@ -15523,11 +15523,11 @@ const PageCanvas = forwardRef(
|
|
|
15523
15523
|
if (canvasUpdateVersion !== prevCanvasUpdateVersionRef.current) {
|
|
15524
15524
|
justModifiedIdsRef.current.clear();
|
|
15525
15525
|
prevCanvasUpdateVersionRef.current = canvasUpdateVersion;
|
|
15526
|
-
syncTriggeredByPanelRef.current =
|
|
15526
|
+
syncTriggeredByPanelRef.current = !editingTextIdRef.current;
|
|
15527
15527
|
} else {
|
|
15528
15528
|
syncTriggeredByPanelRef.current = false;
|
|
15529
15529
|
}
|
|
15530
|
-
const shouldSkipUpdates = syncLockedRef.current || editLockRef.current;
|
|
15530
|
+
const shouldSkipUpdates = syncLockedRef.current || editLockRef.current || !!editingTextIdRef.current;
|
|
15531
15531
|
if (shouldSkipUpdates) {
|
|
15532
15532
|
pendingSyncRef.current = true;
|
|
15533
15533
|
return;
|
|
@@ -23439,9 +23439,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23439
23439
|
}
|
|
23440
23440
|
return svgString;
|
|
23441
23441
|
}
|
|
23442
|
-
const resolvedPackageVersion = "0.5.
|
|
23442
|
+
const resolvedPackageVersion = "0.5.251";
|
|
23443
23443
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23444
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23444
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.251";
|
|
23445
23445
|
const roundParityValue = (value) => {
|
|
23446
23446
|
if (typeof value !== "number") return value;
|
|
23447
23447
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24255,7 +24255,7 @@ class PixldocsRenderer {
|
|
|
24255
24255
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24256
24256
|
}
|
|
24257
24257
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24258
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
24258
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-CaBuNR6t.js");
|
|
24259
24259
|
const prepared = preparePagesForExport(
|
|
24260
24260
|
cloned.pages,
|
|
24261
24261
|
canvasWidth,
|
|
@@ -26575,7 +26575,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26575
26575
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26576
26576
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26577
26577
|
try {
|
|
26578
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
26578
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-CaBuNR6t.js");
|
|
26579
26579
|
try {
|
|
26580
26580
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26581
26581
|
} catch {
|
|
@@ -26975,4 +26975,4 @@ export {
|
|
|
26975
26975
|
buildTeaserBlurFlatKeys as y,
|
|
26976
26976
|
collectFontDescriptorsFromConfig as z
|
|
26977
26977
|
};
|
|
26978
|
-
//# sourceMappingURL=index-
|
|
26978
|
+
//# sourceMappingURL=index-jYZgiC9h.js.map
|