@pixldocs/canvas-renderer 0.5.499 → 0.5.500
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-BgLKkRdm.cjs → index-BhzzEhOd.cjs} +5 -5
- package/dist/{index-BgLKkRdm.cjs.map → index-BhzzEhOd.cjs.map} +1 -1
- package/dist/{index-DV1y20kD.js → index-L6TBxq-O.js} +5 -5
- package/dist/{index-DV1y20kD.js.map → index-L6TBxq-O.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-DrdqdTij.js → vectorPdfExport-BbkY4p0R.js} +4 -4
- package/dist/{vectorPdfExport-DrdqdTij.js.map → vectorPdfExport-BbkY4p0R.js.map} +1 -1
- package/dist/{vectorPdfExport-D_CxvBL-.cjs → vectorPdfExport-DdMPyyD5.cjs} +4 -4
- package/dist/{vectorPdfExport-D_CxvBL-.cjs.map → vectorPdfExport-DdMPyyD5.cjs.map} +1 -1
- package/package.json +1 -1
|
@@ -34391,7 +34391,7 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
34391
34391
|
}
|
|
34392
34392
|
return svgString;
|
|
34393
34393
|
}
|
|
34394
|
-
const resolvedPackageVersion = "0.5.
|
|
34394
|
+
const resolvedPackageVersion = "0.5.500";
|
|
34395
34395
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
34396
34396
|
async function crPhase(name, fn) {
|
|
34397
34397
|
const now = () => typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
@@ -34406,7 +34406,7 @@ async function crPhase(name, fn) {
|
|
|
34406
34406
|
cur.ms += Math.round(now() - t0);
|
|
34407
34407
|
}
|
|
34408
34408
|
}
|
|
34409
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
34409
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.500";
|
|
34410
34410
|
const roundParityValue = (value) => {
|
|
34411
34411
|
if (typeof value !== "number") return value;
|
|
34412
34412
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -35231,7 +35231,7 @@ class PixldocsRenderer {
|
|
|
35231
35231
|
await crPhase("pdf_scene2", () => this.waitForCanvasScene(container, cloned, i));
|
|
35232
35232
|
}
|
|
35233
35233
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
35234
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
35234
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-DdMPyyD5.cjs"));
|
|
35235
35235
|
const prepared = preparePagesForExport(
|
|
35236
35236
|
cloned.pages,
|
|
35237
35237
|
canvasWidth,
|
|
@@ -37599,7 +37599,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
37599
37599
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
37600
37600
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
37601
37601
|
try {
|
|
37602
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
37602
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-DdMPyyD5.cjs"));
|
|
37603
37603
|
try {
|
|
37604
37604
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
37605
37605
|
} catch {
|
|
@@ -38038,4 +38038,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
38038
38038
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
38039
38039
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
38040
38040
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
38041
|
-
//# sourceMappingURL=index-
|
|
38041
|
+
//# sourceMappingURL=index-BhzzEhOd.cjs.map
|