@pixldocs/canvas-renderer 0.5.334 → 0.5.335
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-CBVpyFeT.cjs → index-DDHvGuGr.cjs} +8 -6
- package/dist/index-DDHvGuGr.cjs.map +1 -0
- package/dist/{index-DDQNmmRg.js → index-DpMLP8sp.js} +8 -6
- package/dist/index-DpMLP8sp.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-CESWzne5.js → vectorPdfExport-D2ai2jn2.js} +4 -4
- package/dist/{vectorPdfExport-CESWzne5.js.map → vectorPdfExport-D2ai2jn2.js.map} +1 -1
- package/dist/{vectorPdfExport-9OekmGZH.cjs → vectorPdfExport-_BIQ9o7V.cjs} +4 -4
- package/dist/{vectorPdfExport-9OekmGZH.cjs.map → vectorPdfExport-_BIQ9o7V.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-CBVpyFeT.cjs.map +0 -1
- package/dist/index-DDQNmmRg.js.map +0 -1
|
@@ -14768,7 +14768,7 @@ const PageCanvas = forwardRef(
|
|
|
14768
14768
|
}
|
|
14769
14769
|
}
|
|
14770
14770
|
const isActiveSelectionSideResize = isActiveSelection && (activeSelectionResizeHandle === "ml" || activeSelectionResizeHandle === "mr" || activeSelectionResizeHandle === "mt" || activeSelectionResizeHandle === "mb");
|
|
14771
|
-
if (selectedElementIds.length > 0
|
|
14771
|
+
if (selectedElementIds.length > 0) {
|
|
14772
14772
|
const firstObj = activeObjects[0];
|
|
14773
14773
|
const firstId = getObjectId(firstObj);
|
|
14774
14774
|
const parentGroups = selectedElementIds.map((id) => findParentGroup(pageChildren2, id)).filter((g) => g !== null);
|
|
@@ -14867,6 +14867,8 @@ const PageCanvas = forwardRef(
|
|
|
14867
14867
|
}
|
|
14868
14868
|
setTimeout(() => modifiedIdsThisRound.forEach((id) => justModifiedIdsRef.current.delete(id)), 150);
|
|
14869
14869
|
groupSelectionTransformStartRef.current = null;
|
|
14870
|
+
activeSelectionMoveStartRef.current = null;
|
|
14871
|
+
activeSelectionResizeHandleRef.current = null;
|
|
14870
14872
|
const restoreSnapshot = {
|
|
14871
14873
|
memberIds: targetObjects.map((obj) => getObjectId(obj)).filter((id) => !!id && id !== "__background__"),
|
|
14872
14874
|
groupSelectionId,
|
|
@@ -24521,9 +24523,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24521
24523
|
}
|
|
24522
24524
|
return svgString;
|
|
24523
24525
|
}
|
|
24524
|
-
const resolvedPackageVersion = "0.5.
|
|
24526
|
+
const resolvedPackageVersion = "0.5.335";
|
|
24525
24527
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24526
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24528
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.335";
|
|
24527
24529
|
const roundParityValue = (value) => {
|
|
24528
24530
|
if (typeof value !== "number") return value;
|
|
24529
24531
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25337,7 +25339,7 @@ class PixldocsRenderer {
|
|
|
25337
25339
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25338
25340
|
}
|
|
25339
25341
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25340
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
25342
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-D2ai2jn2.js");
|
|
25341
25343
|
const prepared = preparePagesForExport(
|
|
25342
25344
|
cloned.pages,
|
|
25343
25345
|
canvasWidth,
|
|
@@ -27657,7 +27659,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27657
27659
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27658
27660
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27659
27661
|
try {
|
|
27660
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
27662
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-D2ai2jn2.js");
|
|
27661
27663
|
try {
|
|
27662
27664
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27663
27665
|
} catch {
|
|
@@ -28057,4 +28059,4 @@ export {
|
|
|
28057
28059
|
buildTeaserBlurFlatKeys as y,
|
|
28058
28060
|
collectFontDescriptorsFromConfig as z
|
|
28059
28061
|
};
|
|
28060
|
-
//# sourceMappingURL=index-
|
|
28062
|
+
//# sourceMappingURL=index-DpMLP8sp.js.map
|