@pixldocs/canvas-renderer 0.5.283 → 0.5.284
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-DZrJdP7E.js → index-BAQJjsT4.js} +9 -7
- package/dist/index-BAQJjsT4.js.map +1 -0
- package/dist/{index-A4ICnK--.cjs → index-n9HBI3ow.cjs} +9 -7
- package/dist/index-n9HBI3ow.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-48Xfutfv.cjs → vectorPdfExport-C28yMJ_a.cjs} +4 -4
- package/dist/{vectorPdfExport-48Xfutfv.cjs.map → vectorPdfExport-C28yMJ_a.cjs.map} +1 -1
- package/dist/{vectorPdfExport-DwiSa6HT.js → vectorPdfExport-LTu10COA.js} +4 -4
- package/dist/{vectorPdfExport-DwiSa6HT.js.map → vectorPdfExport-LTu10COA.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-A4ICnK--.cjs.map +0 -1
- package/dist/index-DZrJdP7E.js.map +0 -1
|
@@ -10496,7 +10496,7 @@ let ensureCanvaControlRenders = () => {
|
|
|
10496
10496
|
};
|
|
10497
10497
|
const shouldLogGroupMove = () => {
|
|
10498
10498
|
if (typeof window === "undefined") return false;
|
|
10499
|
-
return window.__pixldocsDebugGroupMove
|
|
10499
|
+
return window.__pixldocsDebugGroupMove === true;
|
|
10500
10500
|
};
|
|
10501
10501
|
try {
|
|
10502
10502
|
const InteractiveBase = fabric__namespace.InteractiveFabricObject ?? fabric__namespace.Object;
|
|
@@ -15799,7 +15799,9 @@ const PageCanvas = react.forwardRef(
|
|
|
15799
15799
|
const groupSelectionId = activeAfterObjectSync.__pixldocsGroupSelection;
|
|
15800
15800
|
if (groupSelectionId) {
|
|
15801
15801
|
applyLogicalGroupSelectionVisualState(activeAfterObjectSync, groupSelectionId);
|
|
15802
|
-
activeAfterObjectSync.
|
|
15802
|
+
if (!activeAfterObjectSync.getObjects().every((obj) => !(obj instanceof fabric__namespace.Group))) {
|
|
15803
|
+
activeAfterObjectSync.setCoords();
|
|
15804
|
+
}
|
|
15803
15805
|
}
|
|
15804
15806
|
}
|
|
15805
15807
|
isRebuildingRef.current = false;
|
|
@@ -23810,9 +23812,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23810
23812
|
}
|
|
23811
23813
|
return svgString;
|
|
23812
23814
|
}
|
|
23813
|
-
const resolvedPackageVersion = "0.5.
|
|
23815
|
+
const resolvedPackageVersion = "0.5.284";
|
|
23814
23816
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23815
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23817
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.284";
|
|
23816
23818
|
const roundParityValue = (value) => {
|
|
23817
23819
|
if (typeof value !== "number") return value;
|
|
23818
23820
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24626,7 +24628,7 @@ class PixldocsRenderer {
|
|
|
24626
24628
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24627
24629
|
}
|
|
24628
24630
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24629
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
24631
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-C28yMJ_a.cjs"));
|
|
24630
24632
|
const prepared = preparePagesForExport(
|
|
24631
24633
|
cloned.pages,
|
|
24632
24634
|
canvasWidth,
|
|
@@ -26946,7 +26948,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26946
26948
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26947
26949
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26948
26950
|
try {
|
|
26949
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
26951
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-C28yMJ_a.cjs"));
|
|
26950
26952
|
try {
|
|
26951
26953
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26952
26954
|
} catch {
|
|
@@ -27343,4 +27345,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
27343
27345
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
27344
27346
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
27345
27347
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
27346
|
-
//# sourceMappingURL=index-
|
|
27348
|
+
//# sourceMappingURL=index-n9HBI3ow.cjs.map
|