@vue-pdf-viewer/viewer 3.0.0-alpha.8 → 3.0.0-alpha.9

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
@@ -4296,7 +4296,7 @@ class hZ {
4296
4296
  }
4297
4297
  }
4298
4298
  }
4299
- const nl = hZ.getInstance(), ds = /* @__PURE__ */ new Date("2025-08-18T12:16:24.043Z"), lc = "Please visit https://www.vue-pdf-viewer.dev/license-management/ to generate a new license key.", YZ = {
4299
+ const nl = hZ.getInstance(), ds = /* @__PURE__ */ new Date("2025-08-18T12:23:30.834Z"), lc = "Please visit https://www.vue-pdf-viewer.dev/license-management/ to generate a new license key.", YZ = {
4300
4300
  invalidLicense: `You are currently using without a valid license. ${lc}`,
4301
4301
  mismatchedDomain: `Your license key is not valid for the current domain / IP. ${lc}`,
4302
4302
  expired: `Your license key has expired. ${lc}`,
@@ -5679,7 +5679,7 @@ function hU() {
5679
5679
  console.error("❌ Error in setAnnotationValue:", i);
5680
5680
  }
5681
5681
  },
5682
- hasModifications: () => MZ.value,
5682
+ hasModifications: () => MZ.value || U.value.size > 0,
5683
5683
  saveAnnotationsToDocument: async (N) => {
5684
5684
  if (!l.value)
5685
5685
  throw new Error("Annotation storage is not initialized");
@@ -23916,7 +23916,7 @@ const pD = (l, U, d) => {
23916
23916
  if (!d)
23917
23917
  throw new Error("PDF document is not available");
23918
23918
  let N = null, s = V(n.value), R = null;
23919
- if (d.value && F() && (N = await t(d.value)), N)
23919
+ if (d.value && F() && (console.log("[downloadPdfBlob] hasModifications"), N = await t(d.value)), N)
23920
23920
  R = new Blob([N.buffer], { type: "application/pdf" });
23921
23921
  else {
23922
23922
  const i = n.value, b = V(i);
@@ -25075,7 +25075,7 @@ const jD = (l, U) => {
25075
25075
  }), { comments: d, repliedCommentPages: t };
25076
25076
  };
25077
25077
  let mW = "";
25078
- mW = "https://unpkg.com/@vue-pdf-viewer/viewer@3.0.0-alpha.8/dist/assets/pdf-annotations/";
25078
+ mW = "https://unpkg.com/@vue-pdf-viewer/viewer@3.0.0-alpha.9/dist/assets/pdf-annotations/";
25079
25079
  const bQ = mW, vD = /* @__PURE__ */ j({
25080
25080
  __name: "AppPopover",
25081
25081
  props: {