@pixldocs/canvas-renderer 0.5.346 → 0.5.347

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.
@@ -11216,6 +11216,7 @@ function applyWarpAwareSelectionBorders(selection) {
11216
11216
  }
11217
11217
  selection.hasBorders = true;
11218
11218
  selection.hasControls = true;
11219
+ if (selection.__pixldocsGroupSelection) return;
11219
11220
  try {
11220
11221
  if (selection.__pixldocsAlignedAngle == null) {
11221
11222
  const kids = selection.getObjects();
@@ -17043,9 +17044,7 @@ const PageCanvas = forwardRef(
17043
17044
  if (sameSelection && isFlatGroupSelection) {
17044
17045
  if (selectedGroupSelectionId && active instanceof fabric.ActiveSelection) {
17045
17046
  if (isPureSingleGroupSelection) {
17046
- active.__pixldocsGroupSelection = selectedGroupSelectionId;
17047
- delete active.__pixldocsLogicalGroupIds;
17048
- suppressGroupMemberBordersRef.current = active.getObjects();
17047
+ applyLogicalGroupSelectionVisualState(active, selectedGroupSelectionId);
17049
17048
  } else {
17050
17049
  delete active.__pixldocsGroupSelection;
17051
17050
  active.__pixldocsLogicalGroupIds = selectedGroupIds;
@@ -17085,8 +17084,7 @@ const PageCanvas = forwardRef(
17085
17084
  const selection = new fabric.ActiveSelection(toSelect, { canvas: fc });
17086
17085
  if (selectedGroupSelectionId) {
17087
17086
  if (isPureSingleGroupSelection) {
17088
- selection.__pixldocsGroupSelection = selectedGroupSelectionId;
17089
- suppressGroupMemberBordersRef.current = toSelect;
17087
+ applyLogicalGroupSelectionVisualState(selection, selectedGroupSelectionId);
17090
17088
  } else {
17091
17089
  selection.__pixldocsLogicalGroupIds = selectedGroupIds;
17092
17090
  selection.hasBorders = true;
@@ -24721,9 +24719,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
24721
24719
  }
24722
24720
  return svgString;
24723
24721
  }
24724
- const resolvedPackageVersion = "0.5.346";
24722
+ const resolvedPackageVersion = "0.5.347";
24725
24723
  const PACKAGE_VERSION = resolvedPackageVersion;
24726
- const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.346";
24724
+ const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.347";
24727
24725
  const roundParityValue = (value) => {
24728
24726
  if (typeof value !== "number") return value;
24729
24727
  return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
@@ -25537,7 +25535,7 @@ class PixldocsRenderer {
25537
25535
  await this.waitForCanvasScene(container, cloned, i);
25538
25536
  }
25539
25537
  console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
25540
- const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-Bbi4foK-.js");
25538
+ const { exportMultiPagePdf, preparePagesForExport } = await import("./vectorPdfExport-DVIaYc4_.js");
25541
25539
  const prepared = preparePagesForExport(
25542
25540
  cloned.pages,
25543
25541
  canvasWidth,
@@ -27857,7 +27855,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
27857
27855
  if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
27858
27856
  sanitizeSvgTreeForPdf(svgToDraw);
27859
27857
  try {
27860
- const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-Bbi4foK-.js");
27858
+ const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await import("./vectorPdfExport-DVIaYc4_.js");
27861
27859
  try {
27862
27860
  await logTextMeasurementDiagnostic(svgToDraw);
27863
27861
  } catch {
@@ -28257,4 +28255,4 @@ export {
28257
28255
  buildTeaserBlurFlatKeys as y,
28258
28256
  collectFontDescriptorsFromConfig as z
28259
28257
  };
28260
- //# sourceMappingURL=index-Jiw7-9ee.js.map
28258
+ //# sourceMappingURL=index-BV35-LzJ.js.map