@vue-pdf-viewer/viewer 4.0.0-beta.1 → 4.0.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 (71) hide show
  1. package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-CbVNExyD.js → VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js} +1893 -2084
  2. package/dist/VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-CZEIhxSz.cjs +48 -0
  3. package/dist/{annotation-circle-BQBy6tn3.js → annotation-circle-0ubo5rf1.js} +2 -2
  4. package/dist/{annotation-font-style-italic-BcdR3gg4.js → annotation-font-style-italic-DcGlIJ1a.js} +2 -2
  5. package/dist/{annotation-font-style-underline-BIIeUL-E.js → annotation-font-style-underline-BTkTZ_Is.js} +2 -2
  6. package/dist/{annotation-font-zZyS-SlV.js → annotation-font-weSbdjgD.js} +2 -2
  7. package/dist/{annotation-font-weight-bold-BjNpYNH-.js → annotation-font-weight-bold-xwBIbXyc.js} +2 -2
  8. package/dist/{annotation-freetext-ej2f4XcK.js → annotation-freetext-CQ_RRlBQ.js} +2 -2
  9. package/dist/{annotation-highlight-C0eb8QWg.js → annotation-highlight-ChCnie-U.js} +2 -2
  10. package/dist/{annotation-ink-yBnUj3B7.js → annotation-ink-AUjv0MoR.js} +2 -2
  11. package/dist/{annotation-line-BUVRX9rx.js → annotation-line-DNXr-JOS.js} +2 -2
  12. package/dist/{annotation-link-DoW9ZY_d.js → annotation-link-D-YgulsY.js} +2 -2
  13. package/dist/{annotation-signature-pDvKQWlM.js → annotation-signature-Bkex5Nk1.js} +2 -2
  14. package/dist/{annotation-square-Bk2373TM.js → annotation-square-BfIB5mW3.js} +2 -2
  15. package/dist/{annotation-squiggly-YtuSed0x.js → annotation-squiggly-DeBMymIe.js} +2 -2
  16. package/dist/{annotation-stamp-C2wpc7h6.js → annotation-stamp-DWiWsYdA.js} +2 -2
  17. package/dist/{annotation-strikeout-BGVZPNAE.js → annotation-strikeout-CWDrP0rU.js} +2 -2
  18. package/dist/{annotation-text-BOIyodIU.js → annotation-text-DeYYDSKn.js} +2 -2
  19. package/dist/{annotation-underline-DoWqt0zo.js → annotation-underline-CgwFacyd.js} +2 -2
  20. package/dist/{arrow-up-Ctk-zewR.js → arrow-up-BiwEJddu.js} +2 -2
  21. package/dist/{check-DQCKtaYd.js → check-dvYcg6X_.js} +2 -2
  22. package/dist/{chevron-down-D4_y88NG.js → chevron-down-CVDp3iv9.js} +2 -2
  23. package/dist/{clear-BiZkcsym.js → clear-D0d0aXhI.js} +2 -2
  24. package/dist/{close-IMkeZ8kc.js → close-IpbbaszX.js} +2 -2
  25. package/dist/{comment-panel-BdDz1A7Q.js → comment-panel-D6A8yNfw.js} +2 -2
  26. package/dist/{download-DzjxbCsv.js → download-CMOMvnwF.js} +2 -2
  27. package/dist/{drag-icon-DOmc0ruK.js → drag-icon-3GRPy1Gk.js} +2 -2
  28. package/dist/{drag-icon-dark-KP2APQRZ.js → drag-icon-dark-DXLtAf-Z.js} +2 -2
  29. package/dist/{ellipsis-vertical-Be4cs0zL.js → ellipsis-vertical-BdPl_QKK.js} +2 -2
  30. package/dist/{empty-comment-dark-C727VX0e.js → empty-comment-dark-BCCY0a2L.js} +2 -2
  31. package/dist/{empty-comment-light-C_MCSiSZ.js → empty-comment-light-B4FDCCnF.js} +2 -2
  32. package/dist/{file-DxJhIWIs.js → file-HYz_W_Bn.js} +2 -2
  33. package/dist/{first-page-D6g7jaNj.js → first-page-DF2-f8F5.js} +2 -2
  34. package/dist/{fullscreen-BbC1XVkp.js → fullscreen-DxRYZ3Qt.js} +2 -2
  35. package/dist/{hand-BDnbYf2g.js → hand-CgNhcMPW.js} +2 -2
  36. package/dist/index-B2bnNcQK.cjs +27 -0
  37. package/dist/{index-D9-DcVaR.js → index-BAl2kzgK.js} +1967 -1994
  38. package/dist/index.cjs +17 -17
  39. package/dist/index.js +7007 -7009
  40. package/dist/{info-CPe9YuhZ.js → info-CssPzj9L.js} +2 -2
  41. package/dist/{last-page-DP_aiVT6.js → last-page-DrYSRMe5.js} +2 -2
  42. package/dist/license.cjs +1 -1
  43. package/dist/license.js +1 -1
  44. package/dist/{magnifier-C_YQ-_dk.js → magnifier-DQHbDi_X.js} +2 -2
  45. package/dist/{moon-CFoAH0E8.js → moon-DXlgBCWH.js} +2 -2
  46. package/dist/{page-view-dual-Bvx14KbJ.js → page-view-dual-CeQyiqfI.js} +2 -2
  47. package/dist/{page-view-dual-with-cover-DIHiS3rt.js → page-view-dual-with-cover-BT5sW_cl.js} +2 -2
  48. package/dist/{page-view-single-srjCDw_P.js → page-view-single-Cp9W1OUV.js} +2 -2
  49. package/dist/{pointer-DDPsuK9z.js → pointer-BppCj8EV.js} +2 -2
  50. package/dist/{printer-C2onvDqO.js → printer-BFl4fVY9.js} +2 -2
  51. package/dist/{rotate-counter-clockwise-d9-d6DQu.js → rotate-counter-clockwise-C4VIpGoU.js} +2 -2
  52. package/dist/{scrolling-horizontal-av5LVY8f.js → scrolling-horizontal-CLl5lWK8.js} +2 -2
  53. package/dist/{scrolling-page-Cc6u7H1t.js → scrolling-page-C5NJekbJ.js} +2 -2
  54. package/dist/{scrolling-vertical-dsX3d6Yv.js → scrolling-vertical-DjEDpf4E.js} +2 -2
  55. package/dist/{scrolling-wrapped-BwcsO1WS.js → scrolling-wrapped-BYH7Nvoa.js} +2 -2
  56. package/dist/{sun-3lZB5S__.js → sun-gPHy98wE.js} +2 -2
  57. package/dist/{thumbnail-CIo49MEr.js → thumbnail-BIBuAei4.js} +2 -2
  58. package/dist/{trash-22hixXTM.js → trash-TzreR6N5.js} +2 -2
  59. package/dist/types/components/LayerAnnotationEditorTextSelectionItemMenu.vue.d.ts +2 -2
  60. package/dist/types/components/LayerCanvas.vue.d.ts +1 -0
  61. package/dist/types/components/VPdfViewer.vue.d.ts +2 -1
  62. package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +2 -2
  63. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
  64. package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +2 -2
  65. package/dist/types/const.d.ts +1 -0
  66. package/dist/types/utils/types.d.ts +1 -0
  67. package/dist/{zoom-in-BUg87bP_.js → zoom-in-CPaNSJ1z.js} +2 -2
  68. package/dist/{zoom-out-C7L8Ab_Y.js → zoom-out-CLnidFKC.js} +2 -2
  69. package/package.json +1 -1
  70. package/dist/VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-CgZy-lRD.cjs +0 -48
  71. package/dist/index-XDzAKC8V.cjs +0 -27
@@ -1,4 +1,4 @@
1
- import { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), o("svg", r, [...e[0] || (e[0] = [
10
+ return o(), t("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 { openBlock as t, createElementBlock as l, createElementVNode as o } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), l("svg", n, [...e[0] || (e[0] = [
10
+ return l(), t("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_b89b6109_lang-CgZy-lRD.cjs");exports.LicenseProduct=e.L;exports.LicenseType=e.a;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_9dcec999_lang-CZEIhxSz.cjs");exports.LicenseProduct=e.a;exports.LicenseType=e.L;exports.useLicense=e.u;
package/dist/license.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as a, a as c, u as L } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-CbVNExyD.js";
1
+ import { a, L as c, u as L } from "./VPdfViewer.vue_vue_type_style_index_1_scoped_9dcec999_lang-Bi72CW7K.js";
2
2
  export {
3
3
  a as LicenseProduct,
4
4
  c as LicenseType,
@@ -1,4 +1,4 @@
1
- import { openBlock as t, createElementBlock as n, createElementVNode as o } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), n("svg", r, [...e[0] || (e[0] = [
10
+ return n(), t("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 { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), o("svg", r, [...e[0] || (e[0] = [
10
+ return o(), t("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 { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), o("svg", r, [...e[0] || (e[0] = [
10
+ return o(), t("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 { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), o("svg", n, [...e[0] || (e[0] = [
10
+ return o(), t("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 { openBlock as t, createElementBlock as n, createElementVNode as o } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), n("svg", r, [...e[0] || (e[0] = [
10
+ return n(), t("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 { openBlock as t, createElementBlock as l, createElementVNode as o } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), l("svg", n, [...e[0] || (e[0] = [
10
+ return l(), t("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 { openBlock as t, createElementBlock as r, createElementVNode as n } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), r("svg", o, [...e[0] || (e[0] = [
10
+ return r(), t("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 { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), o("svg", n, [...e[0] || (e[0] = [
10
+ return o(), t("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 { openBlock as l, createElementBlock as o, createElementVNode as t } from "vue";
1
+ import { createElementBlock as l, openBlock 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 l(), o("svg", n, [...e[0] || (e[0] = [
10
+ return o(), l("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 { openBlock as l, createElementBlock as o, createElementVNode as t } from "vue";
1
+ import { createElementBlock as l, openBlock 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 l(), o("svg", n, [...e[0] || (e[0] = [
10
+ return o(), l("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 { openBlock as l, createElementBlock as t, createElementVNode as o } from "vue";
1
+ import { createElementBlock as l, openBlock 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 l(), t("svg", r, [...e[0] || (e[0] = [
10
+ return t(), 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 { openBlock as a, createElementBlock as l, createElementVNode as o } from "vue";
1
+ import { createElementBlock as a, openBlock 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 a(), l("svg", r, [...e[0] || (e[0] = [
10
+ return l(), a("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 { openBlock as a, createElementBlock as t, createElementVNode as l } from "vue";
1
+ import { createElementBlock as a, openBlock 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 a(), t("svg", n, [...e[0] || (e[0] = [
10
+ return t(), a("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 { openBlock as o, createElementBlock as n, createElementVNode as e } from "vue";
1
+ import { createElementBlock as o, openBlock 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 o(), n("svg", r, [...t[0] || (t[0] = [
10
+ return n(), o("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 { openBlock as t, createElementBlock as o, createElementVNode as r } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), o("svg", a, [...e[0] || (e[0] = [
10
+ return o(), t("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"
@@ -14,14 +14,14 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {
14
14
  handleDelete: () => void;
15
15
  handleColorButtonClick: () => void;
16
16
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- remove: (annotation: AnnotationHighlight) => any;
18
17
  close: () => any;
19
18
  select: (type: AnnotationTextSelectionType) => any;
19
+ remove: (annotation: AnnotationHighlight) => any;
20
20
  "update:color": (color: string) => any;
21
21
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- onRemove?: ((annotation: AnnotationHighlight) => any) | undefined;
23
22
  onClose?: (() => any) | undefined;
24
23
  onSelect?: ((type: AnnotationTextSelectionType) => any) | undefined;
24
+ onRemove?: ((annotation: AnnotationHighlight) => any) | undefined;
25
25
  "onUpdate:color"?: ((color: string) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
27
  export default _default;
@@ -6,6 +6,7 @@ interface OwnProps {
6
6
  intersecting: boolean;
7
7
  afterCanvasLoaded?: CanvasLoadedCallback;
8
8
  visibleArea?: VisibleArea;
9
+ perPageRotation?: number;
9
10
  }
10
11
  declare const _default: import("vue").DefineComponent<OwnProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
11
12
  rendered: (canvasWrapperElement: HTMLDivElement) => any;
@@ -247,7 +247,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
247
247
  goToPage: (pageNumber: number) => void;
248
248
  totalPages: number;
249
249
  currentPage: number;
250
- getTextContent: (pageNumber: number) => Promise<import("pdfjs-dist/types/src/display/api").TextContent> | undefined;
250
+ getTextContent: (pageNumber: number) => Promise<import("pdfjs-dist/types/src/display/api.js").TextContent> | undefined;
251
+ rotatePage: (pageNumber: number, degree: 90 | 180 | 270 | -90 | ((currentDegree: number) => 90 | 180 | 270 | -90)) => void;
251
252
  };
252
253
  searchControl: {
253
254
  searchMatches: {
@@ -8,18 +8,18 @@ type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_6) => any;
9
9
  };
10
10
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ openAutoFocus: (event: Event) => any;
11
12
  escapeKeyDown: (event: KeyboardEvent) => any;
12
13
  pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any;
13
14
  focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any;
14
15
  interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any;
15
- openAutoFocus: (event: Event) => any;
16
16
  closeAutoFocus: (event: Event) => any;
17
17
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
18
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
18
19
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
19
20
  onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined;
20
21
  onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined;
21
22
  onInteractOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined;
22
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
23
23
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
24
24
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
25
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -8,19 +8,19 @@ type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_6) => any;
9
9
  };
10
10
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ openAutoFocus: (event: Event) => any;
11
12
  escapeKeyDown: (event: KeyboardEvent) => any;
12
13
  pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any;
13
14
  focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any;
14
15
  interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any;
15
- openAutoFocus: (event: Event) => any;
16
16
  closeAutoFocus: (event: Event) => any;
17
17
  entryFocus: (event: Event) => any;
18
18
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
19
20
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
20
21
  onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined;
21
22
  onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined;
22
23
  onInteractOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined;
23
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
24
24
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
25
25
  onEntryFocus?: ((event: Event) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -10,18 +10,18 @@ type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_10) => any;
11
11
  };
12
12
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ openAutoFocus: (event: Event) => any;
13
14
  escapeKeyDown: (event: KeyboardEvent) => any;
14
15
  pointerDownOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any;
15
16
  focusOutside: (event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any;
16
17
  interactOutside: (event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any;
17
- openAutoFocus: (event: Event) => any;
18
18
  closeAutoFocus: (event: Event) => any;
19
19
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
20
21
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
21
22
  onPointerDownOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent) => any) | undefined;
22
23
  onFocusOutside?: ((event: import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined;
23
24
  onInteractOutside?: ((event: import("radix-vue/dist/DismissableLayer").PointerDownOutsideEvent | import("radix-vue/dist/DismissableLayer").FocusOutsideEvent) => any) | undefined;
24
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
25
25
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
26
26
  }>, {
27
27
  sideOffset: number;
@@ -65,6 +65,7 @@ export declare const PAGES_CONTAINER: InjectionKey<ShallowRef<HTMLDivElement | u
65
65
  export declare const ACTUAL_PDF_PAGES: InjectionKey<ShallowRef<ViewerPdfPage[]>>;
66
66
  export declare const FOCUSED_PAGE_NUMBER: InjectionKey<Ref<number>>;
67
67
  export declare const ROTATION_DEGREE: InjectionKey<Ref<number>>;
68
+ export declare const PAGE_ROTATION_MAP: InjectionKey<Ref<Map<number, number>>>;
68
69
  export declare const TOTAL_PAGE: InjectionKey<Ref<number>>;
69
70
  export declare const INITIAL_TEXT_LAYER: InjectionKey<boolean>;
70
71
  export declare const DOWNLOAD_FILE: InjectionKey<() => Promise<void>>;
@@ -670,6 +670,7 @@ export interface PageControl {
670
670
  goToPage: (page: number) => void;
671
671
  currentPage: number;
672
672
  totalPages: number;
673
+ rotatePage: (pageNumber: number, degree: 90 | 180 | 270 | -90 | ((currentDegree: number) => 90 | 180 | 270 | -90)) => void;
673
674
  }
674
675
  export interface DownloadPdfProgress {
675
676
  bytesDownloaded: number;
@@ -1,4 +1,4 @@
1
- import { openBlock as t, createElementBlock as o, createElementVNode as n } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), o("svg", l, [...e[0] || (e[0] = [
10
+ return o(), t("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 { openBlock as t, createElementBlock as o, createElementVNode as l } from "vue";
1
+ import { createElementBlock as t, openBlock 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 t(), o("svg", n, [...e[0] || (e[0] = [
10
+ return o(), t("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.0.0-beta.1",
4
+ "version": "4.0.0-beta.2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",