@pixldocs/canvas-renderer 0.5.146 → 0.5.147

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-oR6VOGAL.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-NMZJF9C9.js";
5
5
  import { resetPdfFontRegistry, FONT_FALLBACK_SYMBOLS, FONT_FALLBACK_MATH, FONT_FALLBACK_DEVANAGARI, embedFontWithGoogleFallback, getEmbeddedVariantsList, isFontAvailable, isFamilyEmbedded, resolveBestRegisteredVariant, getEmbeddedJsPDFFontName, resolveFontWeight, doesVariantSupportChar } from "./pdfFonts-b3_bv7F0.js";
6
6
  async function embedFontsForSvg(pdf, svgStr) {
7
7
  var _a;
@@ -2386,7 +2386,7 @@ async function fetchSvgAsElement(imageUrl, colorMap) {
2386
2386
  async function getRecoloredSvgDataUrl(imageUrl, colorMap) {
2387
2387
  if (!colorMap || Object.keys(colorMap).length === 0) return null;
2388
2388
  try {
2389
- const { getNormalizedSvgUrl } = await import("./index-oR6VOGAL.js").then((n) => n._);
2389
+ const { getNormalizedSvgUrl } = await import("./index-NMZJF9C9.js").then((n) => n.$);
2390
2390
  return await getNormalizedSvgUrl(imageUrl, colorMap);
2391
2391
  } catch {
2392
2392
  return null;
@@ -3167,7 +3167,7 @@ async function fetchImageAsBase64(imageUrl, opts = {}) {
3167
3167
  }
3168
3168
  let fetchUrl = imageUrl;
3169
3169
  if (imageUrl.startsWith("http://") || imageUrl.startsWith("https://")) {
3170
- const { isPrivateUrl } = await import("./index-oR6VOGAL.js").then((n) => n._);
3170
+ const { isPrivateUrl } = await import("./index-NMZJF9C9.js").then((n) => n.$);
3171
3171
  if (isPrivateUrl(imageUrl)) return null;
3172
3172
  const proxyUrl = new URL(`${API_URL}/image-proxy`);
3173
3173
  proxyUrl.searchParams.set("url", imageUrl);
@@ -5151,4 +5151,4 @@ export {
5151
5151
  preparePagesForExport,
5152
5152
  rewriteSvgFontsForJsPDFWithSourceMeta
5153
5153
  };
5154
- //# sourceMappingURL=vectorPdfExport-DI7k8pt7.js.map
5154
+ //# sourceMappingURL=vectorPdfExport-_m5TiQjK.js.map