@pixldocs/canvas-renderer 0.5.413 → 0.5.414
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-xSOFCztI.cjs → index-CzyHWKIb.cjs} +7 -12
- package/dist/index-CzyHWKIb.cjs.map +1 -0
- package/dist/{index-BTyRFQIc.js → index-DMA8h19g.js} +7 -12
- package/dist/index-DMA8h19g.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-dyKsZkp-.js → vectorPdfExport-DaYe9eLB.js} +4 -4
- package/dist/{vectorPdfExport-dyKsZkp-.js.map → vectorPdfExport-DaYe9eLB.js.map} +1 -1
- package/dist/{vectorPdfExport-2r6G4ALY.cjs → vectorPdfExport-f5bQ2qJF.cjs} +4 -4
- package/dist/{vectorPdfExport-2r6G4ALY.cjs.map → vectorPdfExport-f5bQ2qJF.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-BTyRFQIc.js.map +0 -1
- package/dist/index-xSOFCztI.cjs.map +0 -1
|
@@ -14646,13 +14646,8 @@ const PageCanvas = react.forwardRef(
|
|
|
14646
14646
|
const asRect0 = obj.getBoundingRect();
|
|
14647
14647
|
let didReflowTextChild = false;
|
|
14648
14648
|
for (const child of obj.getObjects()) {
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
if (isRotatedChild) {
|
|
14652
|
-
if (child.__asLiveOrigAngle == null) {
|
|
14653
|
-
child.__asLiveOrigAngle = child.angle ?? 0;
|
|
14654
|
-
}
|
|
14655
|
-
continue;
|
|
14649
|
+
if (child.__asLiveOrigAngle == null) {
|
|
14650
|
+
child.__asLiveOrigAngle = child.angle ?? 0;
|
|
14656
14651
|
}
|
|
14657
14652
|
if (child instanceof fabric__namespace.Group && (child.__cropGroup || ((_k = child._ct) == null ? void 0 : _k.isCropGroup))) {
|
|
14658
14653
|
const ct = child.__cropData;
|
|
@@ -25540,9 +25535,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
25540
25535
|
}
|
|
25541
25536
|
return svgString;
|
|
25542
25537
|
}
|
|
25543
|
-
const resolvedPackageVersion = "0.5.
|
|
25538
|
+
const resolvedPackageVersion = "0.5.414";
|
|
25544
25539
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
25545
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
25540
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.414";
|
|
25546
25541
|
const roundParityValue = (value) => {
|
|
25547
25542
|
if (typeof value !== "number") return value;
|
|
25548
25543
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -26356,7 +26351,7 @@ class PixldocsRenderer {
|
|
|
26356
26351
|
await this.waitForCanvasScene(container, cloned, i);
|
|
26357
26352
|
}
|
|
26358
26353
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
26359
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
26354
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-f5bQ2qJF.cjs"));
|
|
26360
26355
|
const prepared = preparePagesForExport(
|
|
26361
26356
|
cloned.pages,
|
|
26362
26357
|
canvasWidth,
|
|
@@ -28676,7 +28671,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
28676
28671
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
28677
28672
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
28678
28673
|
try {
|
|
28679
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
28674
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-f5bQ2qJF.cjs"));
|
|
28680
28675
|
try {
|
|
28681
28676
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
28682
28677
|
} catch {
|
|
@@ -29073,4 +29068,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
29073
29068
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
29074
29069
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
29075
29070
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
29076
|
-
//# sourceMappingURL=index-
|
|
29071
|
+
//# sourceMappingURL=index-CzyHWKIb.cjs.map
|