@pixldocs/canvas-renderer 0.5.220 → 0.5.222

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-DRHaeOxK.cjs");
3
+ const index = require("./index-BKJxI43i.cjs");
4
4
  exports.DEPLOYMENT_VERSION_MARKER = index.DEPLOYMENT_VERSION_MARKER;
5
5
  exports.FONT_FALLBACK_DEVANAGARI = index.FONT_FALLBACK_DEVANAGARI;
6
6
  exports.FONT_FALLBACK_MATH = index.FONT_FALLBACK_MATH;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D, F, o, q, s, P, t, u, v, w, x, y, z, B, C, E, G, H, I, J, K, L, M, b, N, O, Q, R, S, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5 } from "./index-KtRZhEPi.js";
1
+ import { D, F, o, q, s, P, t, u, v, w, x, y, z, B, C, E, G, H, I, J, K, L, M, b, N, O, Q, R, S, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5 } from "./index-DxL--cfL.js";
2
2
  export {
3
3
  D as DEPLOYMENT_VERSION_MARKER,
4
4
  F as FONT_FALLBACK_DEVANAGARI,
@@ -3,7 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const jspdf = require("jspdf");
4
4
  const svg2pdf_js = require("svg2pdf.js");
5
5
  const fabric = require("fabric");
6
- const index = require("./index-DRHaeOxK.cjs");
6
+ const index = require("./index-BKJxI43i.cjs");
7
7
  const pdfFonts = require("./pdfFonts-BTj2f465.cjs");
8
8
  function _interopNamespaceDefault(e) {
9
9
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -2974,7 +2974,7 @@ async function fetchSvgAsElement(imageUrl, colorMap) {
2974
2974
  async function getRecoloredSvgDataUrl(imageUrl, colorMap) {
2975
2975
  if (!colorMap || Object.keys(colorMap).length === 0) return null;
2976
2976
  try {
2977
- const { getNormalizedSvgUrl } = await Promise.resolve().then(() => require("./index-DRHaeOxK.cjs")).then((n) => n.canvasImageLoader);
2977
+ const { getNormalizedSvgUrl } = await Promise.resolve().then(() => require("./index-BKJxI43i.cjs")).then((n) => n.canvasImageLoader);
2978
2978
  return await getNormalizedSvgUrl(imageUrl, colorMap);
2979
2979
  } catch {
2980
2980
  return null;
@@ -3783,7 +3783,7 @@ async function fetchImageAsBase64(imageUrl, opts = {}) {
3783
3783
  }
3784
3784
  let fetchUrl = imageUrl;
3785
3785
  if (imageUrl.startsWith("http://") || imageUrl.startsWith("https://")) {
3786
- const { isPrivateUrl } = await Promise.resolve().then(() => require("./index-DRHaeOxK.cjs")).then((n) => n.canvasImageLoader);
3786
+ const { isPrivateUrl } = await Promise.resolve().then(() => require("./index-BKJxI43i.cjs")).then((n) => n.canvasImageLoader);
3787
3787
  if (isPrivateUrl(imageUrl)) return null;
3788
3788
  const proxyUrl = new URL(`${index.API_URL}/image-proxy`);
3789
3789
  proxyUrl.searchParams.set("url", imageUrl);
@@ -5882,4 +5882,4 @@ exports.exportMultiPagePdf = exportMultiPagePdf;
5882
5882
  exports.logTextMeasurementDiagnostic = logTextMeasurementDiagnostic;
5883
5883
  exports.preparePagesForExport = preparePagesForExport;
5884
5884
  exports.rewriteSvgFontsForJsPDFWithSourceMeta = rewriteSvgFontsForJsPDFWithSourceMeta;
5885
- //# sourceMappingURL=vectorPdfExport-UBFTDrVt.cjs.map
5885
+ //# sourceMappingURL=vectorPdfExport-CDMnc_eW.cjs.map