@embedpdf/models 1.0.25 → 1.1.0

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.js CHANGED
@@ -458,12 +458,14 @@ class TaskAbortedError extends Error {
458
458
  constructor(reason) {
459
459
  super(`Task aborted: ${JSON.stringify(reason)}`);
460
460
  this.name = "TaskAbortedError";
461
+ this.reason = reason;
461
462
  }
462
463
  }
463
464
  class TaskRejectedError extends Error {
464
465
  constructor(reason) {
465
466
  super(`Task rejected: ${JSON.stringify(reason)}`);
466
467
  this.name = "TaskRejectedError";
468
+ this.reason = reason;
467
469
  }
468
470
  }
469
471
  class Task {
@@ -789,6 +791,13 @@ var PdfZoomMode = /* @__PURE__ */ ((PdfZoomMode2) => {
789
791
  PdfZoomMode2[PdfZoomMode2["FitRectangle"] = 5] = "FitRectangle";
790
792
  return PdfZoomMode2;
791
793
  })(PdfZoomMode || {});
794
+ var PdfTrappedStatus = /* @__PURE__ */ ((PdfTrappedStatus2) => {
795
+ PdfTrappedStatus2[PdfTrappedStatus2["NotSet"] = 0] = "NotSet";
796
+ PdfTrappedStatus2[PdfTrappedStatus2["True"] = 1] = "True";
797
+ PdfTrappedStatus2[PdfTrappedStatus2["False"] = 2] = "False";
798
+ PdfTrappedStatus2[PdfTrappedStatus2["Unknown"] = 3] = "Unknown";
799
+ return PdfTrappedStatus2;
800
+ })(PdfTrappedStatus || {});
792
801
  var PdfStandardFont = /* @__PURE__ */ ((PdfStandardFont2) => {
793
802
  PdfStandardFont2[PdfStandardFont2["Unknown"] = -1] = "Unknown";
794
803
  PdfStandardFont2[PdfStandardFont2["Courier"] = 0] = "Courier";
@@ -1808,6 +1817,7 @@ export {
1808
1817
  PdfStandardFontFamily,
1809
1818
  PdfTaskHelper,
1810
1819
  PdfTextAlignment,
1820
+ PdfTrappedStatus,
1811
1821
  PdfUnwantedTextMarkers,
1812
1822
  PdfUnwantedTextRegex,
1813
1823
  PdfVerticalAlignment,