@pixldocs/canvas-renderer 0.5.206 → 0.5.207

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.
@@ -1,7 +1,7 @@
1
1
  import { jsPDF, ShadingPattern } from "jspdf";
2
2
  import { svg2pdf } from "svg2pdf.js";
3
3
  import * as fabric from "fabric";
4
- import { g as getCanvasForPage, c as captureFabricCanvasSvgForPdf, f as findNodeById, a as getAbsoluteBounds, p as parseTextMarkdown, r as renderSmartElementToSvg, n as normalizeShapeType, h as hasEdgeFade, b as getProxiedImageUrl, d as bakeEdgeFade, i as isElement, e as isGroup, j as buildRoundedTrianglePath, A as API_URL, k as getImageProxyFetchOptions, l as getRoundedRectRadii, T as TRIANGLE_STROKE_MITER_LIMIT, m as getTrianglePoints } from "./index-CyxNh5Y9.js";
4
+ import { g as getCanvasForPage, c as captureFabricCanvasSvgForPdf, f as findNodeById, a as getAbsoluteBounds, p as parseTextMarkdown, r as renderSmartElementToSvg, n as normalizeShapeType, h as hasEdgeFade, b as getProxiedImageUrl, d as bakeEdgeFade, i as isElement, e as isGroup, j as buildRoundedTrianglePath, A as API_URL, k as getImageProxyFetchOptions, l as getRoundedRectRadii, T as TRIANGLE_STROKE_MITER_LIMIT, m as getTrianglePoints } from "./index-D4Dis-kD.js";
5
5
  import { resetPdfFontRegistry, FONT_FALLBACK_SYMBOLS, FONT_FALLBACK_MATH, FONT_FALLBACK_DEVANAGARI, embedFontWithGoogleFallback, getEmbeddedVariantsList, isFontAvailable, isFamilyEmbedded, resolveBestRegisteredVariant, getEmbeddedJsPDFFontName, resolveFontWeight, doesVariantSupportChar } from "./pdfFonts-DhEaMTZl.js";
6
6
  async function embedFontsForSvg(pdf, svgStr) {
7
7
  var _a;
@@ -2680,7 +2680,7 @@ async function fetchSvgAsElement(imageUrl, colorMap) {
2680
2680
  async function getRecoloredSvgDataUrl(imageUrl, colorMap) {
2681
2681
  if (!colorMap || Object.keys(colorMap).length === 0) return null;
2682
2682
  try {
2683
- const { getNormalizedSvgUrl } = await import("./index-CyxNh5Y9.js").then((n) => n.a6);
2683
+ const { getNormalizedSvgUrl } = await import("./index-D4Dis-kD.js").then((n) => n.a6);
2684
2684
  return await getNormalizedSvgUrl(imageUrl, colorMap);
2685
2685
  } catch {
2686
2686
  return null;
@@ -3471,7 +3471,7 @@ async function fetchImageAsBase64(imageUrl, opts = {}) {
3471
3471
  }
3472
3472
  let fetchUrl = imageUrl;
3473
3473
  if (imageUrl.startsWith("http://") || imageUrl.startsWith("https://")) {
3474
- const { isPrivateUrl } = await import("./index-CyxNh5Y9.js").then((n) => n.a6);
3474
+ const { isPrivateUrl } = await import("./index-D4Dis-kD.js").then((n) => n.a6);
3475
3475
  if (isPrivateUrl(imageUrl)) return null;
3476
3476
  const proxyUrl = new URL(`${API_URL}/image-proxy`);
3477
3477
  proxyUrl.searchParams.set("url", imageUrl);
@@ -5507,4 +5507,4 @@ export {
5507
5507
  preparePagesForExport,
5508
5508
  rewriteSvgFontsForJsPDFWithSourceMeta
5509
5509
  };
5510
- //# sourceMappingURL=vectorPdfExport-CyNCzRhQ.js.map
5510
+ //# sourceMappingURL=vectorPdfExport-HZVoeZf3.js.map