@pixldocs/canvas-renderer 0.5.476 → 0.5.477
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-NvHV65YD.cjs → index-CgUTQx0-.cjs} +5 -5
- package/dist/{index-NvHV65YD.cjs.map → index-CgUTQx0-.cjs.map} +1 -1
- package/dist/{index-DdWNxAHH.js → index-Dai-wVF0.js} +5 -5
- package/dist/{index-DdWNxAHH.js.map → index-Dai-wVF0.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-z8aNYx-V.cjs → vectorPdfExport-CNpb3Wvc.cjs} +4 -4
- package/dist/{vectorPdfExport-z8aNYx-V.cjs.map → vectorPdfExport-CNpb3Wvc.cjs.map} +1 -1
- package/dist/{vectorPdfExport-hxP9CjSA.js → vectorPdfExport-RNk382Wq.js} +4 -4
- package/dist/{vectorPdfExport-hxP9CjSA.js.map → vectorPdfExport-RNk382Wq.js.map} +1 -1
- package/package.json +1 -1
|
@@ -26372,9 +26372,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
26372
26372
|
}
|
|
26373
26373
|
return svgString;
|
|
26374
26374
|
}
|
|
26375
|
-
const resolvedPackageVersion = "0.5.
|
|
26375
|
+
const resolvedPackageVersion = "0.5.477";
|
|
26376
26376
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
26377
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
26377
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.477";
|
|
26378
26378
|
const roundParityValue = (value) => {
|
|
26379
26379
|
if (typeof value !== "number") return value;
|
|
26380
26380
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -27188,7 +27188,7 @@ class PixldocsRenderer {
|
|
|
27188
27188
|
await this.waitForCanvasScene(container, cloned, i);
|
|
27189
27189
|
}
|
|
27190
27190
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
27191
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
27191
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-CNpb3Wvc.cjs"));
|
|
27192
27192
|
const prepared = preparePagesForExport(
|
|
27193
27193
|
cloned.pages,
|
|
27194
27194
|
canvasWidth,
|
|
@@ -29508,7 +29508,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
29508
29508
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
29509
29509
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
29510
29510
|
try {
|
|
29511
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
29511
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-CNpb3Wvc.cjs"));
|
|
29512
29512
|
try {
|
|
29513
29513
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
29514
29514
|
} catch {
|
|
@@ -29822,4 +29822,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
29822
29822
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
29823
29823
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
29824
29824
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
29825
|
-
//# sourceMappingURL=index-
|
|
29825
|
+
//# sourceMappingURL=index-CgUTQx0-.cjs.map
|