@vue-pdf-viewer/viewer 4.3.0-beta.1 → 4.3.0-beta.2

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.
Files changed (67) hide show
  1. package/dist/VPdfViewer.vue_vue_type_style_index_1_scoped_e5a88386_lang-Dkfo1j2y.cjs +48 -0
  2. package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_aa5424ef_lang-CCJvCqim.js → VPdfViewer.vue_vue_type_style_index_1_scoped_e5a88386_lang-ng6lelie.js} +1645 -1574
  3. package/dist/{annotation-circle-tIpRci60.js → annotation-circle-COOiYsJg.js} +2 -2
  4. package/dist/{annotation-font-CLhhAYBv.js → annotation-font-Dz5-utxy.js} +2 -2
  5. package/dist/{annotation-font-style-italic-oHlnJsqJ.js → annotation-font-style-italic-DrQU7N-a.js} +2 -2
  6. package/dist/{annotation-font-style-underline-BcbrLo1i.js → annotation-font-style-underline-D7zPcuK6.js} +2 -2
  7. package/dist/{annotation-font-weight-bold-BXnAi8FR.js → annotation-font-weight-bold-Ba2Ix8G4.js} +2 -2
  8. package/dist/{annotation-freetext-zmKZ4GuW.js → annotation-freetext-dvsFpAZu.js} +2 -2
  9. package/dist/{annotation-highlight-CBhenBLo.js → annotation-highlight-DfO5AU26.js} +2 -2
  10. package/dist/{annotation-ink-Cr5tjD8f.js → annotation-ink-Dq1T0COO.js} +2 -2
  11. package/dist/{annotation-line-CBubP1QZ.js → annotation-line-mbXXKVam.js} +2 -2
  12. package/dist/{annotation-link-DI9mj24Y.js → annotation-link-DHPTdWez.js} +2 -2
  13. package/dist/{annotation-popup-BGBBbfEC.js → annotation-popup-BxZPusRx.js} +2 -2
  14. package/dist/{annotation-signature-DQVfU7hJ.js → annotation-signature-4ci2KImE.js} +2 -2
  15. package/dist/{annotation-square-_rIuUCHT.js → annotation-square-SQ7oqcEq.js} +2 -2
  16. package/dist/{annotation-squiggly-DfLrUnSa.js → annotation-squiggly-B7fWFNAK.js} +2 -2
  17. package/dist/{annotation-stamp-B5gaCO0X.js → annotation-stamp-BkEskP5J.js} +2 -2
  18. package/dist/{annotation-strikeout-Cn_VHn_N.js → annotation-strikeout-C-bSOcHc.js} +2 -2
  19. package/dist/{annotation-text-pKHfDK_Q.js → annotation-text-BgsMjKeI.js} +2 -2
  20. package/dist/{annotation-underline-BDgmfJQk.js → annotation-underline-Be5qs13j.js} +2 -2
  21. package/dist/{arrow-up-DhoV0HvK.js → arrow-up-vWNs2knA.js} +2 -2
  22. package/dist/{check-BRo7Q5UG.js → check-BkaH7nrH.js} +2 -2
  23. package/dist/{chevron-down-BEs3P7KI.js → chevron-down-BSFTOkiu.js} +2 -2
  24. package/dist/{clear-DP391aEz.js → clear-CasZmBPr.js} +2 -2
  25. package/dist/{close-CnbAWKuA.js → close-BgsD04zx.js} +2 -2
  26. package/dist/{comment-panel-BkFw3FUB.js → comment-panel-B-sIKcBp.js} +2 -2
  27. package/dist/{download-C45QpUvK.js → download-DCHGUHXx.js} +2 -2
  28. package/dist/{drag-icon-CpENKa0y.js → drag-icon-D-z1P6O_.js} +2 -2
  29. package/dist/{drag-icon-dark-B0sqKXav.js → drag-icon-dark-DXDxQjnW.js} +2 -2
  30. package/dist/{ellipsis-vertical-X1VRRfZe.js → ellipsis-vertical-Cjbi7utY.js} +2 -2
  31. package/dist/{empty-comment-dark-DdPeDeR5.js → empty-comment-dark-CrZRt0Hl.js} +2 -2
  32. package/dist/{empty-comment-light-Dgc1r5xv.js → empty-comment-light-BVPUX2pA.js} +2 -2
  33. package/dist/{file-C2gjRcLU.js → file-BD05gONj.js} +2 -2
  34. package/dist/{first-page-32lvRrjG.js → first-page-DihCXIQm.js} +2 -2
  35. package/dist/{fullscreen-Cuegwls4.js → fullscreen-BmHQQPIs.js} +2 -2
  36. package/dist/{hand-BvbzlDGf.js → hand-B1v6mSWQ.js} +2 -2
  37. package/dist/{index-U9huHFJY.js → index-BXgBdP2p.js} +1 -1
  38. package/dist/index-PciVsV-M.cjs +27 -0
  39. package/dist/index.cjs +25 -18
  40. package/dist/index.js +10164 -11385
  41. package/dist/{info-2-wEcru0.js → info-DXpOTVKn.js} +2 -2
  42. package/dist/{last-page-DDJIJ2gp.js → last-page-DIN17z_8.js} +2 -2
  43. package/dist/license.cjs +1 -1
  44. package/dist/license.js +2 -2
  45. package/dist/{magnifier-shuB09Te.js → magnifier-Dep29X1B.js} +2 -2
  46. package/dist/{moon-Cf7pmsnw.js → moon-Dw-MII-V.js} +2 -2
  47. package/dist/{page-view-dual-f5-I0-4D.js → page-view-dual-DCLg-YkG.js} +2 -2
  48. package/dist/{page-view-dual-with-cover-D9GlYHG4.js → page-view-dual-with-cover-BFBRneNZ.js} +2 -2
  49. package/dist/{page-view-single-DTduusoS.js → page-view-single-CWOhdavX.js} +2 -2
  50. package/dist/{pointer-CdvbhXLR.js → pointer-jfdFDx4z.js} +2 -2
  51. package/dist/{printer-ERNx1Q88.js → printer-B8qbXO9F.js} +2 -2
  52. package/dist/{rotate-counter-clockwise-CEN3P8nT.js → rotate-counter-clockwise-DFl9ijSR.js} +2 -2
  53. package/dist/{scrolling-horizontal-CdariRpO.js → scrolling-horizontal-JO2P2O-8.js} +2 -2
  54. package/dist/{scrolling-page-wFZlGv_K.js → scrolling-page-y5Rrmrnm.js} +2 -2
  55. package/dist/{scrolling-vertical-B1Doxmyt.js → scrolling-vertical-D9MCCss9.js} +2 -2
  56. package/dist/{scrolling-wrapped-BBipRQ-N.js → scrolling-wrapped-CYbEHLH6.js} +2 -2
  57. package/dist/{sun-C0fX-A5U.js → sun-BhyBd5LA.js} +2 -2
  58. package/dist/{thumbnail-HzftUNEp.js → thumbnail-BMmN_jSl.js} +2 -2
  59. package/dist/{trash-BTydaFkw.js → trash-Deie-RCt.js} +2 -2
  60. package/dist/types/components/VPdfViewer.vue.d.ts +5 -14
  61. package/dist/types/index.d.ts +1 -1
  62. package/dist/types/utils/types.d.ts +11 -1
  63. package/dist/{zoom-in-CPqqALGr.js → zoom-in-qogh-J7e.js} +2 -2
  64. package/dist/{zoom-out-BpilF8O_.js → zoom-out-BFzERV6_.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/VPdfViewer.vue_vue_type_style_index_1_scoped_aa5424ef_lang-Bh7hp9vX.cjs +0 -48
  67. package/dist/index-Dbzsm5ws.cjs +0 -27
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const r = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function l(i, e) {
10
- return o(), t("svg", r, e[0] || (e[0] = [
10
+ return t(), o("svg", r, e[0] || (e[0] = [
11
11
  n("path", {
12
12
  fill: "currentColor",
13
13
  d: "M8 1.5A6.5 6.5 0 1 0 14.5 8 6.507 6.507 0 0 0 8 1.5m0 12A5.5 5.5 0 1 1 13.5 8 5.506 5.506 0 0 1 8 13.5M9 11a.5.5 0 0 1-.5.5 1 1 0 0 1-1-1V8a.5.5 0 0 1 0-1 1 1 0 0 1 1 1v2.5a.5.5 0 0 1 .5.5M7 5.25a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as l, createElementVNode as o } from "vue";
1
+ import { openBlock as t, createElementBlock as l, createElementVNode as o } from "vue";
2
2
  const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "16",
@@ -7,7 +7,7 @@ const n = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function r(a, e) {
10
- return l(), t("svg", n, e[0] || (e[0] = [
10
+ return t(), l("svg", n, e[0] || (e[0] = [
11
11
  o("path", {
12
12
  fill: "currentColor",
13
13
  d: "M3.146 7.354a.5.5 0 1 1 .708-.708L7.5 10.293V2a.5.5 0 1 1 1 0v8.293l3.646-3.647a.501.501 0 0 1 .708.708l-4.5 4.5a.5.5 0 0 1-.708 0zM13.5 13h-11a.5.5 0 0 0 0 1h11a.5.5 0 0 0 0-1"
package/dist/license.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_aa5424ef_lang-Bh7hp9vX.cjs");exports.LicenseProduct=e.a;exports.LicenseType=e.L;exports.useLicense=e.u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./VPdfViewer.vue_vue_type_style_index_1_scoped_e5a88386_lang-Dkfo1j2y.cjs");exports.LicenseProduct=e.O;exports.LicenseType=e.P;exports.useLicense=e.aY;
package/dist/license.js CHANGED
@@ -1,6 +1,6 @@
1
- import { a, L as c, u as L } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_aa5424ef_lang-CCJvCqim.js";
1
+ import { O as a, P as c, aY as i } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_e5a88386_lang-ng6lelie.js";
2
2
  export {
3
3
  a as LicenseProduct,
4
4
  c as LicenseType,
5
- L as useLicense
5
+ i as useLicense
6
6
  };
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as n, createElementVNode as o } from "vue";
1
+ import { openBlock as t, createElementBlock as n, createElementVNode as o } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const r = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function l(i, e) {
10
- return n(), t("svg", r, e[0] || (e[0] = [
10
+ return t(), n("svg", r, e[0] || (e[0] = [
11
11
  o("path", {
12
12
  fill: "currentColor",
13
13
  d: "m17.942 17.058-3.912-3.911a6.884 6.884 0 1 0-.883.883l3.91 3.912a.626.626 0 0 0 .885-.884M3.125 8.75a5.625 5.625 0 1 1 5.625 5.625A5.63 5.63 0 0 1 3.125 8.75"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const r = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function l(m, e) {
10
- return o(), t("svg", r, e[0] || (e[0] = [
10
+ return t(), o("svg", r, e[0] || (e[0] = [
11
11
  n("path", {
12
12
  fill: "currentColor",
13
13
  d: "M18.245 11.112a.63.63 0 0 0-.625-.156 6.88 6.88 0 0 1-8.578-8.579.625.625 0 0 0-.781-.78 8.2 8.2 0 0 0-4.134 2.89A8.125 8.125 0 0 0 10.625 17.5a8.05 8.05 0 0 0 4.884-1.631 8.2 8.2 0 0 0 2.89-4.134.62.62 0 0 0-.154-.623m-3.487 3.758A6.874 6.874 0 1 1 7.583 3.212a8.134 8.134 0 0 0 9.208 9.206 6.95 6.95 0 0 1-2.033 2.452"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const r = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function l(a, e) {
10
- return o(), t("svg", r, e[0] || (e[0] = [
10
+ return t(), o("svg", r, e[0] || (e[0] = [
11
11
  n("path", {
12
12
  fill: "currentColor",
13
13
  d: "M13.833 2.5H2.167a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h11.666a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-11.666 1H7.5v9H2.167zm11.666 9H8.5v-9h5.333z"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
2
2
  const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const n = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function l(h, e) {
10
- return o(), t("svg", n, e[0] || (e[0] = [
10
+ return t(), o("svg", n, e[0] || (e[0] = [
11
11
  r("path", {
12
12
  fill: "currentColor",
13
13
  d: "M11 1.5a.5.5 0 0 1 .5.5v5.5H14a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5V8a.5.5 0 0 1 .5-.5h2.5V2a.5.5 0 0 1 .5-.5zm-2.5 12h5v-5h-5zm-6 0h5v-5h-5zm3-6h5v-5h-5z"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as n, createElementVNode as o } from "vue";
1
+ import { openBlock as t, createElementBlock as n, createElementVNode as o } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const r = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function l(i, e) {
10
- return n(), t("svg", r, e[0] || (e[0] = [
10
+ return t(), n("svg", r, e[0] || (e[0] = [
11
11
  o("path", {
12
12
  fill: "currentColor",
13
13
  d: "M12.333 2H3.667a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h8.666a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1m0 11H3.667V3h8.666z"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as l, createElementVNode as o } from "vue";
1
+ import { openBlock as t, createElementBlock as l, createElementVNode as o } from "vue";
2
2
  const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const n = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function r(a, e) {
10
- return l(), t("svg", n, e[0] || (e[0] = [
10
+ return t(), l("svg", n, e[0] || (e[0] = [
11
11
  o("path", {
12
12
  fill: "currentColor",
13
13
  d: "m10.602 8.396 2.799-1.217a1 1 0 0 0-.089-1.862L3.307 2.05A.997.997 0 0 0 2.05 3.307l3.267 10.005a.99.99 0 0 0 .9.688h.05a.99.99 0 0 0 .912-.6l1.217-2.798 3.104 3.105a1 1 0 0 0 1.414 0l.793-.793a1 1 0 0 0 0-1.414zM12.207 13 9.102 9.896a1 1 0 0 0-1.625.308l-1.213 2.79L3 3l9.992 3.262-2.79 1.214a1 1 0 0 0-.309 1.625L13 12.207z"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as r, createElementVNode as n } from "vue";
1
+ import { openBlock as t, createElementBlock as r, createElementVNode as n } from "vue";
2
2
  const o = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const o = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function h(l, e) {
10
- return r(), t("svg", o, e[0] || (e[0] = [
10
+ return t(), r("svg", o, e[0] || (e[0] = [
11
11
  n("path", {
12
12
  fill: "currentColor",
13
13
  d: "M16.771 5.625h-1.146v-2.5A.625.625 0 0 0 15 2.5H5a.625.625 0 0 0-.625.625v2.5H3.229c-1.091 0-1.979.841-1.979 1.875v6.25a.625.625 0 0 0 .625.625h2.5v2.5A.625.625 0 0 0 5 17.5h10a.624.624 0 0 0 .625-.625v-2.5h2.5a.624.624 0 0 0 .625-.625V7.5c0-1.034-.887-1.875-1.979-1.875M5.625 3.75h8.75v1.875h-8.75zm8.75 12.5h-8.75V12.5h8.75zm3.125-3.125h-1.875v-1.25A.624.624 0 0 0 15 11.25H5a.625.625 0 0 0-.625.625v1.25H2.5V7.5c0-.345.327-.625.729-.625H16.77c.402 0 .729.28.729.625zm-1.875-4.062a.938.938 0 1 1-1.875 0 .938.938 0 0 1 1.875 0"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
2
2
  const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const n = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function l(a, e) {
10
- return o(), t("svg", n, e[0] || (e[0] = [
10
+ return t(), o("svg", n, e[0] || (e[0] = [
11
11
  r("path", {
12
12
  fill: "currentColor",
13
13
  d: "M17.5 10a7.5 7.5 0 0 1-7.4 7.5H10a7.45 7.45 0 0 1-5.148-2.047.624.624 0 1 1 .859-.909 6.25 6.25 0 1 0-.15-8.947L3.483 7.5h2.141a.625.625 0 0 1 0 1.25h-3.75a.625.625 0 0 1-.625-.625v-3.75a.625.625 0 0 1 1.25 0v2.328l2.207-2.016A7.5 7.5 0 0 1 17.5 10"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as l, openBlock as o, createElementVNode as t } from "vue";
1
+ import { openBlock as l, createElementBlock as o, createElementVNode as t } from "vue";
2
2
  const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const n = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function r(a, e) {
10
- return o(), l("svg", n, e[0] || (e[0] = [
10
+ return l(), o("svg", n, e[0] || (e[0] = [
11
11
  t("path", {
12
12
  fill: "currentColor",
13
13
  "fill-rule": "evenodd",
@@ -1,4 +1,4 @@
1
- import { createElementBlock as l, openBlock as o, createElementVNode as t } from "vue";
1
+ import { openBlock as l, createElementBlock as o, createElementVNode as t } from "vue";
2
2
  const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const n = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function r(a, e) {
10
- return o(), l("svg", n, e[0] || (e[0] = [
10
+ return l(), o("svg", n, e[0] || (e[0] = [
11
11
  t("path", {
12
12
  fill: "currentColor",
13
13
  "fill-rule": "evenodd",
@@ -1,4 +1,4 @@
1
- import { createElementBlock as l, openBlock as t, createElementVNode as o } from "vue";
1
+ import { openBlock as l, createElementBlock as t, createElementVNode as o } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const r = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function n(a, e) {
10
- return t(), l("svg", r, e[0] || (e[0] = [
10
+ return l(), t("svg", r, e[0] || (e[0] = [
11
11
  o("path", {
12
12
  fill: "currentColor",
13
13
  "fill-rule": "evenodd",
@@ -1,4 +1,4 @@
1
- import { createElementBlock as a, openBlock as l, createElementVNode as o } from "vue";
1
+ import { openBlock as a, createElementBlock as l, createElementVNode as o } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const r = {
7
7
  viewBox: "0 0 16 16"
8
8
  };
9
9
  function t(n, e) {
10
- return l(), a("svg", r, e[0] || (e[0] = [
10
+ return a(), l("svg", r, e[0] || (e[0] = [
11
11
  o("path", {
12
12
  fill: "currentColor",
13
13
  "fill-rule": "evenodd",
@@ -1,4 +1,4 @@
1
- import { createElementBlock as a, openBlock as t, createElementVNode as l } from "vue";
1
+ import { openBlock as a, createElementBlock as t, createElementVNode as l } from "vue";
2
2
  const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const n = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function o(r, e) {
10
- return t(), a("svg", n, e[0] || (e[0] = [
10
+ return a(), t("svg", n, e[0] || (e[0] = [
11
11
  l("path", {
12
12
  fill: "currentColor",
13
13
  d: "M9.375 3.125V1.25a.625.625 0 0 1 1.25 0v1.875a.625.625 0 1 1-1.25 0M15 10a5 5 0 1 1-10 0 5 5 0 0 1 10 0m-1.25 0a3.75 3.75 0 1 0-7.5 0 3.75 3.75 0 0 0 7.5 0M4.558 5.442a.625.625 0 0 0 .884-.884l-1.25-1.25a.625.625 0 0 0-.884.884zm0 9.116-1.25 1.25a.625.625 0 0 0 .884.884l1.25-1.25a.626.626 0 0 0-.884-.884M15 5.625a.63.63 0 0 0 .442-.183l1.25-1.25a.625.625 0 0 0-.884-.884l-1.25 1.25A.625.625 0 0 0 15 5.625m.442 8.933a.625.625 0 0 0-.884.884l1.25 1.25a.624.624 0 1 0 .884-.884zM3.75 10a.625.625 0 0 0-.625-.625H1.25a.625.625 0 0 0 0 1.25h1.875A.625.625 0 0 0 3.75 10M10 16.25a.625.625 0 0 0-.625.625v1.875a.625.625 0 1 0 1.25 0v-1.875A.624.624 0 0 0 10 16.25m8.75-6.875h-1.875a.625.625 0 1 0 0 1.25h1.875a.624.624 0 1 0 0-1.25"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as o, openBlock as n, createElementVNode as e } from "vue";
1
+ import { openBlock as o, createElementBlock as n, createElementVNode as e } from "vue";
2
2
  const r = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const r = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function h(l, t) {
10
- return n(), o("svg", r, t[0] || (t[0] = [
10
+ return o(), n("svg", r, t[0] || (t[0] = [
11
11
  e("g", { fill: "currentColor" }, [
12
12
  e("path", { d: "M16.875 3.125H3.125a1.25 1.25 0 0 0-1.25 1.25v11.25a1.25 1.25 0 0 0 1.25 1.25h13.75a1.25 1.25 0 0 0 1.25-1.25V4.375a1.25 1.25 0 0 0-1.25-1.25m-13.75 1.25h3.958v11.25H3.125zm13.75 11.25H8.333V4.375h8.542z" }),
13
13
  e("path", { d: "M4.25 5.833h1.667V7.5H4.25zM4.25 9.167h1.667v1.667H4.25zM4.25 12.5h1.667v1.667H4.25z" })
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
2
2
  const a = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const a = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function n(h, e) {
10
- return o(), t("svg", a, e[0] || (e[0] = [
10
+ return t(), o("svg", a, e[0] || (e[0] = [
11
11
  r("path", {
12
12
  fill: "currentColor",
13
13
  d: "M16.875 3.75H13.75v-.625a1.875 1.875 0 0 0-1.875-1.875h-3.75A1.875 1.875 0 0 0 6.25 3.125v.625H3.125a.625.625 0 0 0 0 1.25h.625v11.25A1.25 1.25 0 0 0 5 17.5h10a1.25 1.25 0 0 0 1.25-1.25V5h.625a.625.625 0 1 0 0-1.25M7.5 3.125a.625.625 0 0 1 .625-.625h3.75a.625.625 0 0 1 .625.625v.625h-5zM15 16.25H5V5h10zM8.75 8.125v5a.625.625 0 1 1-1.25 0v-5a.625.625 0 0 1 1.25 0m3.75 0v5a.624.624 0 1 1-1.25 0v-5a.625.625 0 1 1 1.25 0"
@@ -1,8 +1,8 @@
1
1
  import type { PDFDocumentProxy } from 'pdfjs-dist/types/src/display/api';
2
- import type { AnnotationEventPayload, TextLayerLoadedEventPayload, RotateEvent, ToolbarOptions, PdfProperties, PasswordRequiredPayload } from '@/utils/types';
2
+ import type { AnnotationEventPayload, TextLayerLoadedEventPayload, RotateEvent, ToolbarOptions, PdfProperties, PasswordRequiredPayload, XfdfExportOptions, XfdfImportResult } from '@/utils/types';
3
3
  import { ScrollMode, SelectionMode, ViewMode, ZoomLevel } from '@/utils/enumerators';
4
4
  import '../style.scss';
5
- import { Localization, AnnotationStrikethroughColors, AnnotationHighlightColors, AnnotationUnderlineColors, type XfdfImportResult, type Annotation } from '@vue-pdf-viewer/shared';
5
+ import { Localization, AnnotationStrikethroughColors, AnnotationHighlightColors, AnnotationUnderlineColors, type Annotation } from '@vue-pdf-viewer/shared';
6
6
  declare const _default: {
7
7
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
8
8
  readonly src: {
@@ -209,10 +209,7 @@ declare const _default: {
209
209
  setFontSize: (size: number) => void;
210
210
  };
211
211
  annotationXfdfControl: {
212
- exportToXfdf: (options?: {
213
- pdfFilename?: string;
214
- download?: boolean;
215
- }) => string;
212
+ exportToXfdf: (options?: XfdfExportOptions) => string;
216
213
  importFromXfdf: (xfdfString: string) => XfdfImportResult;
217
214
  };
218
215
  annotationControl: {
@@ -486,10 +483,7 @@ declare const _default: {
486
483
  setFontSize: (size: number) => void;
487
484
  };
488
485
  annotationXfdfControl: {
489
- exportToXfdf: (options?: {
490
- pdfFilename?: string;
491
- download?: boolean;
492
- }) => string;
486
+ exportToXfdf: (options?: XfdfExportOptions) => string;
493
487
  importFromXfdf: (xfdfString: string) => XfdfImportResult;
494
488
  };
495
489
  annotationControl: {
@@ -726,10 +720,7 @@ declare const _default: {
726
720
  setFontSize: (size: number) => void;
727
721
  };
728
722
  annotationXfdfControl: {
729
- exportToXfdf: (options?: {
730
- pdfFilename?: string;
731
- download?: boolean;
732
- }) => string;
723
+ exportToXfdf: (options?: XfdfExportOptions) => string;
733
724
  importFromXfdf: (xfdfString: string) => XfdfImportResult;
734
725
  };
735
726
  annotationControl: {
@@ -3,7 +3,7 @@ import { Locales } from '@vue-pdf-viewer/shared';
3
3
  export declare const VPdfViewerPlugin: Plugin;
4
4
  export { Locales };
5
5
  export * from './components';
6
- export type { VPVInstance, CanvasLoadedCallback, PrintControl, ToolbarOptions, MatchHighlightResult } from './utils/types';
6
+ export type { VPVInstance, CanvasLoadedCallback, PrintControl, ToolbarOptions, MatchHighlightResult, XfdfExportOptions, AnnotationXfdfControl, XfdfImportResult, XfdfSkippedEntry } from './utils/types';
7
7
  export type { TextContent } from 'pdfjs-dist/types/src/display/api';
8
8
  export type { Localization } from '@vue-pdf-viewer/shared';
9
9
  export default VPdfViewerPlugin;
@@ -2,7 +2,7 @@ import { ComputedRef, MaybeRef, PropType, Reactive, Ref } from 'vue';
2
2
  import type { PageViewport, RenderTask } from 'pdfjs-dist';
3
3
  import type { DocumentInitParameters, OnProgressParameters, PDFDataRangeTransport, TextContent, TypedArray, PDFPageProxy, PDFDocumentProxy, RenderParameters } from 'pdfjs-dist/types/src/display/api';
4
4
  import type { Metadata } from 'pdfjs-dist/types/src/display/metadata';
5
- import type { Annotation, AnnotationToolOption, TextSelectionOption, AnnotationTextSelectionControl, AnnotationFreeTextControl } from '@vue-pdf-viewer/shared';
5
+ import type { Annotation, AnnotationToolOption, TextSelectionOption, AnnotationTextSelectionControl, AnnotationFreeTextControl, XfdfImportResult, XfdfSkippedEntry } from '@vue-pdf-viewer/shared';
6
6
  import { ZoomLevel, ViewMode, ScrollMode, SelectionMode, VPVAnnotationType, LicenseType, LicenseProduct } from './enumerators';
7
7
  import { Localization, Plugin, AnnotationType } from '@vue-pdf-viewer/shared';
8
8
  export interface VirtualRange {
@@ -708,6 +708,15 @@ export interface UseScaleCallback {
708
708
  mode?: ZoomLevel;
709
709
  error?: string;
710
710
  }
711
+ export interface XfdfExportOptions {
712
+ pdfFilename?: string;
713
+ download?: boolean;
714
+ }
715
+ export interface AnnotationXfdfControl {
716
+ exportToXfdf: (options?: XfdfExportOptions) => string;
717
+ importFromXfdf: (xfdfString: string) => XfdfImportResult;
718
+ }
719
+ export type { XfdfImportResult, XfdfSkippedEntry };
711
720
  export interface VPVInstance {
712
721
  printControl: Reactive<PrintControl> | undefined;
713
722
  searchControl: SearchControl | undefined;
@@ -718,6 +727,7 @@ export interface VPVInstance {
718
727
  passwordControl: Reactive<PasswordControl> | undefined;
719
728
  annotationTextSelectionControl: Reactive<AnnotationTextSelectionControl> | undefined;
720
729
  annotationFreeTextControl: Reactive<AnnotationFreeTextControl> | undefined;
730
+ annotationXfdfControl: Reactive<AnnotationXfdfControl> | undefined;
721
731
  }
722
732
  export interface NavigationAnnotation {
723
733
  action: 'FirstPage' | 'LastPage' | 'NextPage' | 'PrevPage';
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as o, createElementVNode as n } from "vue";
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
2
2
  const l = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const l = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function r(a, e) {
10
- return o(), t("svg", l, e[0] || (e[0] = [
10
+ return t(), o("svg", l, e[0] || (e[0] = [
11
11
  n("path", {
12
12
  fill: "currentColor",
13
13
  d: "M11.875 8.75a.625.625 0 0 1-.625.625H9.375v1.875a.625.625 0 0 1-1.25 0V9.375H6.25a.625.625 0 0 1 0-1.25h1.875V6.25a.625.625 0 0 1 1.25 0v1.875h1.875a.625.625 0 0 1 .625.625m6.067 9.192a.623.623 0 0 1-.884 0l-3.911-3.911a6.884 6.884 0 1 1 .883-.884l3.912 3.91a.625.625 0 0 1 0 .885M8.75 14.375A5.625 5.625 0 1 0 3.125 8.75a5.63 5.63 0 0 0 5.625 5.625"
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as o, createElementVNode as l } from "vue";
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as l } from "vue";
2
2
  const n = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,7 +7,7 @@ const n = {
7
7
  viewBox: "0 0 20 20"
8
8
  };
9
9
  function r(a, e) {
10
- return o(), t("svg", n, e[0] || (e[0] = [
10
+ return t(), o("svg", n, e[0] || (e[0] = [
11
11
  l("path", {
12
12
  fill: "currentColor",
13
13
  d: "M11.875 8.75a.625.625 0 0 1-.625.625h-5a.625.625 0 0 1 0-1.25h5a.625.625 0 0 1 .625.625m6.067 9.192a.623.623 0 0 1-.884 0l-3.911-3.911a6.884 6.884 0 1 1 .883-.884l3.912 3.91a.625.625 0 0 1 0 .885M8.75 14.375A5.625 5.625 0 1 0 3.125 8.75a5.63 5.63 0 0 0 5.625 5.625"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vue-pdf-viewer/viewer",
3
3
  "private": false,
4
- "version": "4.3.0-beta.1",
4
+ "version": "4.3.0-beta.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",