@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.
- package/dist/{index-Jiw7-9ee.js → index-BV35-LzJ.js} +8 -10
- package/dist/{index-Jiw7-9ee.js.map → index-BV35-LzJ.js.map} +1 -1
- package/dist/{index-C6VMQJMY.cjs → index-ap13xnH3.cjs} +8 -10
- package/dist/{index-C6VMQJMY.cjs.map → index-ap13xnH3.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{vectorPdfExport-Bbi4foK-.js → vectorPdfExport-DVIaYc4_.js} +4 -4
- package/dist/{vectorPdfExport-Bbi4foK-.js.map → vectorPdfExport-DVIaYc4_.js.map} +1 -1
- package/dist/{vectorPdfExport-DRpVTciP.cjs → vectorPdfExport-dKHuR_jl.cjs} +4 -4
- package/dist/{vectorPdfExport-DRpVTciP.cjs.map → vectorPdfExport-dKHuR_jl.cjs.map} +1 -1
- package/package.json +1 -1
|
@@ -11234,6 +11234,7 @@ function applyWarpAwareSelectionBorders(selection) {
|
|
|
11234
11234
|
}
|
|
11235
11235
|
selection.hasBorders = true;
|
|
11236
11236
|
selection.hasControls = true;
|
|
11237
|
+
if (selection.__pixldocsGroupSelection) return;
|
|
11237
11238
|
try {
|
|
11238
11239
|
if (selection.__pixldocsAlignedAngle == null) {
|
|
11239
11240
|
const kids = selection.getObjects();
|
|
@@ -17061,9 +17062,7 @@ const PageCanvas = react.forwardRef(
|
|
|
17061
17062
|
if (sameSelection && isFlatGroupSelection) {
|
|
17062
17063
|
if (selectedGroupSelectionId && active instanceof fabric__namespace.ActiveSelection) {
|
|
17063
17064
|
if (isPureSingleGroupSelection) {
|
|
17064
|
-
active
|
|
17065
|
-
delete active.__pixldocsLogicalGroupIds;
|
|
17066
|
-
suppressGroupMemberBordersRef.current = active.getObjects();
|
|
17065
|
+
applyLogicalGroupSelectionVisualState(active, selectedGroupSelectionId);
|
|
17067
17066
|
} else {
|
|
17068
17067
|
delete active.__pixldocsGroupSelection;
|
|
17069
17068
|
active.__pixldocsLogicalGroupIds = selectedGroupIds;
|
|
@@ -17103,8 +17102,7 @@ const PageCanvas = react.forwardRef(
|
|
|
17103
17102
|
const selection = new fabric__namespace.ActiveSelection(toSelect, { canvas: fc });
|
|
17104
17103
|
if (selectedGroupSelectionId) {
|
|
17105
17104
|
if (isPureSingleGroupSelection) {
|
|
17106
|
-
selection
|
|
17107
|
-
suppressGroupMemberBordersRef.current = toSelect;
|
|
17105
|
+
applyLogicalGroupSelectionVisualState(selection, selectedGroupSelectionId);
|
|
17108
17106
|
} else {
|
|
17109
17107
|
selection.__pixldocsLogicalGroupIds = selectedGroupIds;
|
|
17110
17108
|
selection.hasBorders = true;
|
|
@@ -24739,9 +24737,9 @@ function captureFabricCanvasSvgForPdf(fabricInstance, canvasWidth, canvasHeight)
|
|
|
24739
24737
|
}
|
|
24740
24738
|
return svgString;
|
|
24741
24739
|
}
|
|
24742
|
-
const resolvedPackageVersion = "0.5.
|
|
24740
|
+
const resolvedPackageVersion = "0.5.347";
|
|
24743
24741
|
const PACKAGE_VERSION = resolvedPackageVersion;
|
|
24744
|
-
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.
|
|
24742
|
+
const DEPLOYMENT_VERSION_MARKER = "__PIXLDOCS_CANVAS_RENDERER_VERSION__:0.5.347";
|
|
24745
24743
|
const roundParityValue = (value) => {
|
|
24746
24744
|
if (typeof value !== "number") return value;
|
|
24747
24745
|
return Number.isFinite(value) ? Number(value.toFixed(3)) : value;
|
|
@@ -25555,7 +25553,7 @@ class PixldocsRenderer {
|
|
|
25555
25553
|
await this.waitForCanvasScene(container, cloned, i);
|
|
25556
25554
|
}
|
|
25557
25555
|
console.log(`[canvas-renderer][pdf-unified] mounted ${cloned.pages.length} page(s), handing off to client exportMultiPagePdf`);
|
|
25558
|
-
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
25556
|
+
const { exportMultiPagePdf, preparePagesForExport } = await Promise.resolve().then(() => require("./vectorPdfExport-dKHuR_jl.cjs"));
|
|
25559
25557
|
const prepared = preparePagesForExport(
|
|
25560
25558
|
cloned.pages,
|
|
25561
25559
|
canvasWidth,
|
|
@@ -27875,7 +27873,7 @@ async function prepareLiveCanvasSvgForPdf(rawSvg, pageWidth, pageHeight, pageKey
|
|
|
27875
27873
|
if (options == null ? void 0 : options.stripPageBackground) stripRootPageBackgroundFromSvg(svgToDraw);
|
|
27876
27874
|
sanitizeSvgTreeForPdf(svgToDraw);
|
|
27877
27875
|
try {
|
|
27878
|
-
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-
|
|
27876
|
+
const { bakeTextAnchorPositionsFromLiveSvg, logTextMeasurementDiagnostic } = await Promise.resolve().then(() => require("./vectorPdfExport-dKHuR_jl.cjs"));
|
|
27879
27877
|
try {
|
|
27880
27878
|
await logTextMeasurementDiagnostic(svgToDraw);
|
|
27881
27879
|
} catch {
|
|
@@ -28272,4 +28270,4 @@ exports.setAutoShrinkDebug = setAutoShrinkDebug;
|
|
|
28272
28270
|
exports.setBundledAssetPrefixes = setBundledAssetPrefixes;
|
|
28273
28271
|
exports.warmResolvedTemplateForPreview = warmResolvedTemplateForPreview;
|
|
28274
28272
|
exports.warmTemplateFromForm = warmTemplateFromForm;
|
|
28275
|
-
//# sourceMappingURL=index-
|
|
28273
|
+
//# sourceMappingURL=index-ap13xnH3.cjs.map
|