@pixldocs/canvas-renderer 0.5.371 → 0.5.372
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_8CZn_T.js → index-BAK60IJl.js} +17 -5
- package/dist/{index-d_8CZn_T.js.map → index-BAK60IJl.js.map} +1 -1
- package/dist/{index-CV2nGvmF.cjs → index-CLgDLK4-.cjs} +17 -5
- package/dist/{index-CV2nGvmF.cjs.map → index-CLgDLK4-.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-CoVX-Djl.js → vectorPdfExport-CwD3b9HF.js} +4 -4
- package/dist/{vectorPdfExport-CoVX-Djl.js.map → vectorPdfExport-CwD3b9HF.js.map} +1 -1
- package/dist/{vectorPdfExport-DEzSoYyy.cjs → vectorPdfExport-Cy6COeh4.cjs} +4 -4
- package/dist/{vectorPdfExport-DEzSoYyy.cjs.map → vectorPdfExport-Cy6COeh4.cjs.map} +1 -1
- package/package.json +1 -1
|
@@ -15579,6 +15579,10 @@ const PageCanvas = react.forwardRef(
|
|
|
15579
15579
|
if (membersToReselect.length > 1) {
|
|
15580
15580
|
const newSel = new fabric__namespace.ActiveSelection(membersToReselect, { canvas: fabricCanvas });
|
|
15581
15581
|
if (wasGroupSel) restoreGroupSelectionVisualState(newSel, wasGroupSel);
|
|
15582
|
+
try {
|
|
15583
|
+
ensureCanvaControlRenders(newSel);
|
|
15584
|
+
} catch {
|
|
15585
|
+
}
|
|
15582
15586
|
fabricCanvas.setActiveObject(newSel);
|
|
15583
15587
|
try {
|
|
15584
15588
|
(_j = newSel.triggerLayout) == null ? void 0 : _j.call(newSel);
|
|
@@ -15969,6 +15973,10 @@ const PageCanvas = react.forwardRef(
|
|
|
15969
15973
|
if (activeSelectionSnapshot.groupSelectionId) {
|
|
15970
15974
|
applyLogicalGroupSelectionVisualState(newSel, activeSelectionSnapshot.groupSelectionId);
|
|
15971
15975
|
}
|
|
15976
|
+
try {
|
|
15977
|
+
ensureCanvaControlRenders(newSel);
|
|
15978
|
+
} catch {
|
|
15979
|
+
}
|
|
15972
15980
|
fc.setActiveObject(newSel);
|
|
15973
15981
|
newSel.setCoords();
|
|
15974
15982
|
fc.requestRenderAll();
|
|
@@ -16703,6 +16711,10 @@ const PageCanvas = react.forwardRef(
|
|
|
16703
16711
|
if (activeSelectionSnapshot.groupSelectionId) {
|
|
16704
16712
|
applyLogicalGroupSelectionVisualState(newSel, activeSelectionSnapshot.groupSelectionId);
|
|
16705
16713
|
}
|
|
16714
|
+
try {
|
|
16715
|
+
ensureCanvaControlRenders(newSel);
|
|
16716
|
+
} catch {
|
|
16717
|
+
}
|
|
16706
16718
|
fc.setActiveObject(newSel);
|
|
16707
16719
|
newSel.setCoords();
|
|
16708
16720
|
fc.requestRenderAll();
|
|
@@ -24667,9 +24679,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24667
24679
|
}
|
|
24668
24680
|
return svgString;
|
|
24669
24681
|
}
|
|
24670
|
-
const resolvedPackageVersion = "0.5.
|
|
24682
|
+
const resolvedPackageVersion = "0.5.372";
|
|
24671
24683
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24672
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24684
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.372";
|
|
24673
24685
|
const roundParityValue = (value) => {
|
|
24674
24686
|
if (typeof value !== "number") return value;
|
|
24675
24687
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25483,7 +25495,7 @@ class PixldocsRenderer {
|
|
|
25483
25495
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25484
25496
|
}
|
|
25485
25497
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25486
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
25498
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-Cy6COeh4.cjs"));
|
|
25487
25499
|
const prepared = preparePagesForExport(
|
|
25488
25500
|
cloned.pages,
|
|
25489
25501
|
canvasWidth,
|
|
@@ -27803,7 +27815,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27803
27815
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27804
27816
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27805
27817
|
try {
|
|
27806
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
27818
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-Cy6COeh4.cjs"));
|
|
27807
27819
|
try {
|
|
27808
27820
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27809
27821
|
} catch {
|
|
@@ -28200,4 +28212,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
28200
28212
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
28201
28213
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
28202
28214
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
28203
|
-
//# sourceMappingURL=index-
|
|
28215
|
+
//# sourceMappingURL=index-CLgDLK4-.cjs.map
|