@pixldocs/canvas-renderer 0.5.258 → 0.5.259
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-Dy4oD06S.cjs → index-CUomvTwt.cjs} +5 -14
- package/dist/index-CUomvTwt.cjs.map +1 -0
- package/dist/{index-DZ8rlYH6.js → index-DhFcz1Sq.js} +5 -14
- package/dist/index-DhFcz1Sq.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-rgv8yUj2.cjs → vectorPdfExport-Bbu4wM29.cjs} +4 -4
- package/dist/{vectorPdfExport-rgv8yUj2.cjs.map → vectorPdfExport-Bbu4wM29.cjs.map} +1 -1
- package/dist/{vectorPdfExport-BrLwOuTP.js → vectorPdfExport-CNA_nPL_.js} +4 -4
- package/dist/{vectorPdfExport-BrLwOuTP.js.map → vectorPdfExport-CNA_nPL_.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-DZ8rlYH6.js.map +0 -1
- package/dist/index-Dy4oD06S.cjs.map +0 -1
|
@@ -11198,15 +11198,6 @@ const PageCanvas = react.forwardRef(
|
|
|
11198
11198
|
}
|
|
11199
11199
|
}
|
|
11200
11200
|
applyWarpAwareSelectionBorders(selection);
|
|
11201
|
-
try {
|
|
11202
|
-
selection.setControlsVisibility({
|
|
11203
|
-
ml: false,
|
|
11204
|
-
mr: false,
|
|
11205
|
-
mt: false,
|
|
11206
|
-
mb: false
|
|
11207
|
-
});
|
|
11208
|
-
} catch {
|
|
11209
|
-
}
|
|
11210
11201
|
}, []);
|
|
11211
11202
|
const pageBoundsOptions = react.useMemo(
|
|
11212
11203
|
() => ({ pageContentWidth: canvasWidth, pageContentHeight: canvasHeight }),
|
|
@@ -23555,9 +23546,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23555
23546
|
}
|
|
23556
23547
|
return svgString;
|
|
23557
23548
|
}
|
|
23558
|
-
const resolvedPackageVersion = "0.5.
|
|
23549
|
+
const resolvedPackageVersion = "0.5.259";
|
|
23559
23550
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23560
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23551
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.259";
|
|
23561
23552
|
const roundParityValue = (value) => {
|
|
23562
23553
|
if (typeof value !== "number") return value;
|
|
23563
23554
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24371,7 +24362,7 @@ class PixldocsRenderer {
|
|
|
24371
24362
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24372
24363
|
}
|
|
24373
24364
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24374
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
24365
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-Bbu4wM29.cjs"));
|
|
24375
24366
|
const prepared = preparePagesForExport(
|
|
24376
24367
|
cloned.pages,
|
|
24377
24368
|
canvasWidth,
|
|
@@ -26691,7 +26682,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26691
26682
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26692
26683
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26693
26684
|
try {
|
|
26694
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
26685
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-Bbu4wM29.cjs"));
|
|
26695
26686
|
try {
|
|
26696
26687
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26697
26688
|
} catch {
|
|
@@ -27088,4 +27079,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
27088
27079
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
27089
27080
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
27090
27081
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
27091
|
-
//# sourceMappingURL=index-
|
|
27082
|
+
//# sourceMappingURL=index-CUomvTwt.cjs.map
|