@pixldocs/canvas-renderer 0.5.264 → 0.5.265
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-D_rGYvZm.cjs → index-8qmW0_0N.cjs} +11 -5
- package/dist/index-8qmW0_0N.cjs.map +1 -0
- package/dist/{index-BG1PCSDy.js → index-CO6jIEmB.js} +11 -5
- package/dist/index-CO6jIEmB.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-DFWs6eXH.cjs → vectorPdfExport-C_SPH6M3.cjs} +4 -4
- package/dist/{vectorPdfExport-DFWs6eXH.cjs.map → vectorPdfExport-C_SPH6M3.cjs.map} +1 -1
- package/dist/{vectorPdfExport-BYAVxEPn.js → vectorPdfExport-ONQJ99LA.js} +4 -4
- package/dist/{vectorPdfExport-BYAVxEPn.js.map → vectorPdfExport-ONQJ99LA.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-BG1PCSDy.js.map +0 -1
- package/dist/index-D_rGYvZm.cjs.map +0 -1
|
@@ -14255,12 +14255,18 @@ const PageCanvas = forwardRef(
|
|
|
14255
14255
|
const newTop = (groupToMove.top ?? 0) + deltaY;
|
|
14256
14256
|
updateNodeStore(groupToMove.id, { left: newLeft, top: newTop }, { recordHistory: false, skipLayoutRecalc: true });
|
|
14257
14257
|
commitHistoryStore();
|
|
14258
|
+
pendingGroupDrillInRef.current = null;
|
|
14259
|
+
fabricCanvas.__activeEditingGroupId = null;
|
|
14260
|
+
setDrilledGroupBounds(null);
|
|
14261
|
+
drilledGroupIdRef.current = null;
|
|
14258
14262
|
const groupSelectionId = (isActiveSelection && activeObj instanceof fabric.ActiveSelection ? activeObj.__pixldocsGroupSelection : void 0) ?? groupToMove.id;
|
|
14259
14263
|
const targetObjects = isActiveSelection && activeObj instanceof fabric.ActiveSelection ? activeObj.getObjects() : activeObjects;
|
|
14260
14264
|
if (groupSelectionId && activeObj instanceof fabric.ActiveSelection) {
|
|
14261
14265
|
restoreGroupSelectionVisualState(activeObj, groupSelectionId);
|
|
14266
|
+
fabricCanvas.setActiveObject(activeObj);
|
|
14262
14267
|
activeObj.setCoords();
|
|
14263
14268
|
}
|
|
14269
|
+
selectElements([groupSelectionId], false, false);
|
|
14264
14270
|
fabricCanvas.requestRenderAll();
|
|
14265
14271
|
elementsRef.current = getCurrentElements();
|
|
14266
14272
|
for (const obj of targetObjects) {
|
|
@@ -23599,9 +23605,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23599
23605
|
}
|
|
23600
23606
|
return svgString;
|
|
23601
23607
|
}
|
|
23602
|
-
const resolvedPackageVersion = "0.5.
|
|
23608
|
+
const resolvedPackageVersion = "0.5.265";
|
|
23603
23609
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23604
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23610
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.265";
|
|
23605
23611
|
const roundParityValue = (value) => {
|
|
23606
23612
|
if (typeof value !== "number") return value;
|
|
23607
23613
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24415,7 +24421,7 @@ class PixldocsRenderer {
|
|
|
24415
24421
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24416
24422
|
}
|
|
24417
24423
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24418
|
-
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-
|
|
24424
|
+
const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-ONQJ99LA.js");
|
|
24419
24425
|
const prepared = preparePagesForExport(
|
|
24420
24426
|
cloned.pages,
|
|
24421
24427
|
canvasWidth,
|
|
@@ -26735,7 +26741,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26735
26741
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26736
26742
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26737
26743
|
try {
|
|
26738
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-
|
|
26744
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-ONQJ99LA.js");
|
|
26739
26745
|
try {
|
|
26740
26746
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26741
26747
|
} catch {
|
|
@@ -27135,4 +27141,4 @@ export {
|
|
|
27135
27141
|
buildTeaserBlurFlatKeys as y,
|
|
27136
27142
|
collectFontDescriptorsFromConfig as z
|
|
27137
27143
|
};
|
|
27138
|
-
//# sourceMappingURL=index-
|
|
27144
|
+
//# sourceMappingURL=index-CO6jIEmB.js.map
|