@pixldocs/canvas-renderer 0.5.262 → 0.5.263

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.
@@ -14260,7 +14260,7 @@ const PageCanvas = react.forwardRef(
14260
14260
  const newTop = (groupToMove.top ?? 0) + deltaY;
14261
14261
  updateNodeStore(groupToMove.id, { left: newLeft, top: newTop }, { recordHistory: false, skipLayoutRecalc: true });
14262
14262
  commitHistoryStore();
14263
- const groupSelectionId = isActiveSelection && activeObj instanceof fabric__namespace.ActiveSelection ? activeObj.__pixldocsGroupSelection : void 0;
14263
+ const groupSelectionId = (isActiveSelection && activeObj instanceof fabric__namespace.ActiveSelection ? activeObj.__pixldocsGroupSelection : void 0) ?? groupToMove.id;
14264
14264
  const targetObjects = isActiveSelection && activeObj instanceof fabric__namespace.ActiveSelection ? activeObj.getObjects() : activeObjects;
14265
14265
  if (groupSelectionId && activeObj instanceof fabric__namespace.ActiveSelection) {
14266
14266
  restoreGroupSelectionVisualState(activeObj, groupSelectionId);
@@ -23604,9 +23604,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
23604
23604
  }
23605
23605
  return svgString;
23606
23606
  }
23607
- const resolvedPackageVersion = "0.5.262";
23607
+ const resolvedPackageVersion = "0.5.263";
23608
23608
  const PACKAGE_VERSION = resolvedPackageVersion;
23609
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.262";
23609
+ const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.263";
23610
23610
  const roundParityValue = (value) => {
23611
23611
  if (typeof value !== "number") return value;
23612
23612
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -24420,7 +24420,7 @@ class PixldocsRenderer {
24420
24420
  await this.waitForCanvasScene(container, cloned, i);
24421
24421
  }
24422
24422
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
24423
- const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-DItLh5J4.cjs"));
24423
+ const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-CQaTnVce.cjs"));
24424
24424
  const prepared = preparePagesForExport(
24425
24425
  cloned.pages,
24426
24426
  canvasWidth,
@@ -26740,7 +26740,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
26740
26740
  if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
26741
26741
  sanitizeSvgTreeForPdf(svgToDraw);
26742
26742
  try {
26743
- const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-DItLh5J4.cjs"));
26743
+ const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-CQaTnVce.cjs"));
26744
26744
  try {
26745
26745
  await logTextMeasurementDiagnostic(svgToDraw);
26746
26746
  } catch {
@@ -27137,4 +27137,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
27137
27137
  exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
27138
27138
  exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
27139
27139
  exports.warmTemplateFromForm = warmTemplateFromForm;
27140
- //# sourceMappingURL=index-CjmYCoaf.cjs.map
27140
+ //# sourceMappingURL=index-Do_N0g_B.cjs.map