@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
|
@@ -15541,11 +15541,11 @@ const PageCanvas = react.forwardRef(
|
|
|
15541
15541
|
if (canvasUpdateVersion !== prevCanvasUpdateVersionRef.current) {
|
|
15542
15542
|
justModifiedIdsRef.current.clear();
|
|
15543
15543
|
prevCanvasUpdateVersionRef.current = canvasUpdateVersion;
|
|
15544
|
-
syncTriggeredByPanelRef.current =
|
|
15544
|
+
syncTriggeredByPanelRef.current = !editingTextIdRef.current;
|
|
15545
15545
|
} else {
|
|
15546
15546
|
syncTriggeredByPanelRef.current = false;
|
|
15547
15547
|
}
|
|
15548
|
-
const shouldSkipUpdates = syncLockedRef.current || editLockRef.current;
|
|
15548
|
+
const shouldSkipUpdates = syncLockedRef.current || editLockRef.current || !!editingTextIdRef.current;
|
|
15549
15549
|
if (shouldSkipUpdates) {
|
|
15550
15550
|
pendingSyncRef.current = true;
|
|
15551
15551
|
return;
|
|
@@ -23457,9 +23457,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23457
23457
|
}
|
|
23458
23458
|
return svgString;
|
|
23459
23459
|
}
|
|
23460
|
-
const resolvedPackageVersion = "0.5.
|
|
23460
|
+
const resolvedPackageVersion = "0.5.251";
|
|
23461
23461
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23462
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23462
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.251";
|
|
23463
23463
|
const roundParityValue = (value) => {
|
|
23464
23464
|
if (typeof value !== "number") return value;
|
|
23465
23465
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24273,7 +24273,7 @@ class PixldocsRenderer {
|
|
|
24273
24273
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24274
24274
|
}
|
|
24275
24275
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24276
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
24276
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-BuNDbR35.cjs"));
|
|
24277
24277
|
const prepared = preparePagesForExport(
|
|
24278
24278
|
cloned.pages,
|
|
24279
24279
|
canvasWidth,
|
|
@@ -26593,7 +26593,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26593
26593
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26594
26594
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26595
26595
|
try {
|
|
26596
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
26596
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-BuNDbR35.cjs"));
|
|
26597
26597
|
try {
|
|
26598
26598
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26599
26599
|
} catch {
|
|
@@ -26990,4 +26990,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
26990
26990
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
26991
26991
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
26992
26992
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
26993
|
-
//# sourceMappingURL=index-
|
|
26993
|
+
//# sourceMappingURL=index-CQtUwS7t.cjs.map
|