@pixldocs/canvas-renderer 0.5.253 → 0.5.254
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-BTDu7FNP.cjs → index-9Lw_NdWM.cjs} +11 -5
- package/dist/index-9Lw_NdWM.cjs.map +1 -0
- package/dist/{index-BsuNRFPC.js → index-DNP0J9Fe.js} +11 -5
- package/dist/index-DNP0J9Fe.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-BNcQDkad.cjs → vectorPdfExport-BpVM86xb.cjs} +4 -4
- package/dist/{vectorPdfExport-BNcQDkad.cjs.map → vectorPdfExport-BpVM86xb.cjs.map} +1 -1
- package/dist/{vectorPdfExport-DyfBSeYs.js → vectorPdfExport-MzXdlOEY.js} +4 -4
- package/dist/{vectorPdfExport-DyfBSeYs.js.map → vectorPdfExport-MzXdlOEY.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-BTDu7FNP.cjs.map +0 -1
- package/dist/index-BsuNRFPC.js.map +0 -1
|
@@ -14595,6 +14595,12 @@ const PageCanvas = react.forwardRef(
|
|
|
14595
14595
|
return;
|
|
14596
14596
|
}
|
|
14597
14597
|
editingTextIdRef.current = elementId || null;
|
|
14598
|
+
try {
|
|
14599
|
+
target.hasBorders = true;
|
|
14600
|
+
target.hasControls = true;
|
|
14601
|
+
target.borderColor = SELECTION_PRIMARY;
|
|
14602
|
+
} catch {
|
|
14603
|
+
}
|
|
14598
14604
|
if (target.__pixldocsEmptyPlaceholder) {
|
|
14599
14605
|
try {
|
|
14600
14606
|
target.__pixldocsEmptyPlaceholder = false;
|
|
@@ -23509,9 +23515,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
23509
23515
|
}
|
|
23510
23516
|
return svgString;
|
|
23511
23517
|
}
|
|
23512
|
-
const resolvedPackageVersion = "0.5.
|
|
23518
|
+
const resolvedPackageVersion = "0.5.254";
|
|
23513
23519
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
23514
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
23520
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.254";
|
|
23515
23521
|
const roundParityValue = (value) => {
|
|
23516
23522
|
if (typeof value !== "number") return value;
|
|
23517
23523
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -24325,7 +24331,7 @@ class PixldocsRenderer {
|
|
|
24325
24331
|
await this.waitForCanvasScene(container, cloned, i);
|
|
24326
24332
|
}
|
|
24327
24333
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
24328
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
24334
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-BpVM86xb.cjs"));
|
|
24329
24335
|
const prepared = preparePagesForExport(
|
|
24330
24336
|
cloned.pages,
|
|
24331
24337
|
canvasWidth,
|
|
@@ -26645,7 +26651,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
26645
26651
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
26646
26652
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
26647
26653
|
try {
|
|
26648
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
26654
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-BpVM86xb.cjs"));
|
|
26649
26655
|
try {
|
|
26650
26656
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
26651
26657
|
} catch {
|
|
@@ -27042,4 +27048,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
27042
27048
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
27043
27049
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
27044
27050
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
27045
|
-
//# sourceMappingURL=index-
|
|
27051
|
+
//# sourceMappingURL=index-9Lw_NdWM.cjs.map
|