@vue-pdf-viewer/viewer 4.0.0-beta.3 → 4.0.0-beta.4

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 (279) hide show
  1. package/dist/VPdfViewer.vue_vue_type_style_index_1_scoped_b2837105_lang-BoP-OVLg.cjs +48 -0
  2. package/dist/{VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-CFVJThIE.js → VPdfViewer.vue_vue_type_style_index_1_scoped_b2837105_lang-TKR9FThG.js} +2152 -1960
  3. package/dist/{annotation-circle-0ubo5rf1.js → annotation-circle-COOiYsJg.js} +3 -3
  4. package/dist/{annotation-circle-D0tRo-6n.cjs → annotation-circle-DXiFCzpK.cjs} +1 -1
  5. package/dist/{annotation-font-weSbdjgD.js → annotation-font-Dz5-utxy.js} +3 -3
  6. package/dist/annotation-font-aIPqLFLe.cjs +1 -0
  7. package/dist/annotation-font-style-italic-Boz1BB0L.cjs +1 -0
  8. package/dist/{annotation-font-style-italic-DcGlIJ1a.js → annotation-font-style-italic-DrQU7N-a.js} +3 -3
  9. package/dist/{annotation-font-style-underline-BTkTZ_Is.js → annotation-font-style-underline-D7zPcuK6.js} +3 -3
  10. package/dist/annotation-font-style-underline-IDY4E2RK.cjs +1 -0
  11. package/dist/{annotation-font-weight-bold-xwBIbXyc.js → annotation-font-weight-bold-Ba2Ix8G4.js} +3 -3
  12. package/dist/annotation-font-weight-bold-CaItGpNu.cjs +1 -0
  13. package/dist/annotation-freetext-B7OQWCHy.cjs +1 -0
  14. package/dist/{annotation-freetext-CQ_RRlBQ.js → annotation-freetext-dvsFpAZu.js} +3 -3
  15. package/dist/annotation-highlight-C54z0iJp.cjs +1 -0
  16. package/dist/{annotation-highlight-ChCnie-U.js → annotation-highlight-DfO5AU26.js} +3 -3
  17. package/dist/annotation-ink-BXiSIamz.cjs +1 -0
  18. package/dist/{annotation-ink-AUjv0MoR.js → annotation-ink-Dq1T0COO.js} +3 -3
  19. package/dist/annotation-line-B8zjgl8Y.cjs +1 -0
  20. package/dist/{annotation-line-DNXr-JOS.js → annotation-line-mbXXKVam.js} +3 -3
  21. package/dist/{annotation-link-D-YgulsY.js → annotation-link-DHPTdWez.js} +3 -3
  22. package/dist/annotation-link-DprZbPvt.cjs +1 -0
  23. package/dist/{annotation-signature-Bkex5Nk1.js → annotation-signature-4ci2KImE.js} +3 -3
  24. package/dist/annotation-signature-Dmb-UCCB.cjs +1 -0
  25. package/dist/annotation-square-DTlpXXm8.cjs +1 -0
  26. package/dist/{annotation-square-BfIB5mW3.js → annotation-square-SQ7oqcEq.js} +3 -3
  27. package/dist/{annotation-squiggly-DeBMymIe.js → annotation-squiggly-B7fWFNAK.js} +3 -3
  28. package/dist/annotation-squiggly-D2Zj3PAI.cjs +1 -0
  29. package/dist/{annotation-stamp-DWiWsYdA.js → annotation-stamp-BkEskP5J.js} +3 -3
  30. package/dist/annotation-stamp-CXhm8tlI.cjs +1 -0
  31. package/dist/annotation-strikeout-4L6FjF5j.cjs +1 -0
  32. package/dist/{annotation-strikeout-CWDrP0rU.js → annotation-strikeout-C-bSOcHc.js} +3 -3
  33. package/dist/annotation-text-BMZsnbuQ.cjs +1 -0
  34. package/dist/{annotation-text-DeYYDSKn.js → annotation-text-BgsMjKeI.js} +3 -3
  35. package/dist/{annotation-underline-CgwFacyd.js → annotation-underline-Be5qs13j.js} +3 -3
  36. package/dist/annotation-underline-DVr5iTHa.cjs +1 -0
  37. package/dist/arrow-up-DqAIlEVn.cjs +1 -0
  38. package/dist/{arrow-up-BiwEJddu.js → arrow-up-vWNs2knA.js} +3 -3
  39. package/dist/{check-dvYcg6X_.js → check-BkaH7nrH.js} +3 -3
  40. package/dist/{check-ChtfkoV3.cjs → check-DpUhVfvc.cjs} +1 -1
  41. package/dist/{chevron-down-CVDp3iv9.js → chevron-down-BSFTOkiu.js} +3 -3
  42. package/dist/chevron-down-iGi3yGWG.cjs +1 -0
  43. package/dist/clear-ByQpYSqe.cjs +1 -0
  44. package/dist/{clear-D0d0aXhI.js → clear-CasZmBPr.js} +3 -3
  45. package/dist/{close-IpbbaszX.js → close-BgsD04zx.js} +3 -3
  46. package/dist/close-Dr41cTAP.cjs +1 -0
  47. package/dist/{comment-panel-D6A8yNfw.js → comment-panel-B-sIKcBp.js} +3 -3
  48. package/dist/comment-panel-NRFPmX0c.cjs +1 -0
  49. package/dist/{download-CMOMvnwF.js → download-DCHGUHXx.js} +3 -3
  50. package/dist/download-Dafu8lxL.cjs +1 -0
  51. package/dist/drag-icon-BRd1NN6-.cjs +1 -0
  52. package/dist/{drag-icon-3GRPy1Gk.js → drag-icon-D-z1P6O_.js} +3 -3
  53. package/dist/{drag-icon-dark-DXLtAf-Z.js → drag-icon-dark-DXDxQjnW.js} +3 -3
  54. package/dist/drag-icon-dark-tWAKp0gy.cjs +1 -0
  55. package/dist/ellipsis-vertical-BKdGikQh.cjs +1 -0
  56. package/dist/{ellipsis-vertical-BdPl_QKK.js → ellipsis-vertical-Cjbi7utY.js} +3 -3
  57. package/dist/empty-comment-dark-CC208JB4.cjs +1 -0
  58. package/dist/{empty-comment-dark-BCCY0a2L.js → empty-comment-dark-CrZRt0Hl.js} +3 -3
  59. package/dist/{empty-comment-light-B4FDCCnF.js → empty-comment-light-BVPUX2pA.js} +3 -3
  60. package/dist/empty-comment-light-t7egnBTJ.cjs +1 -0
  61. package/dist/file-63yRbTDx.cjs +1 -0
  62. package/dist/{file-HYz_W_Bn.js → file-BD05gONj.js} +3 -3
  63. package/dist/first-page-DCveWUis.cjs +1 -0
  64. package/dist/{first-page-DF2-f8F5.js → first-page-DihCXIQm.js} +3 -3
  65. package/dist/fullscreen-BFg9gcCO.cjs +1 -0
  66. package/dist/{fullscreen-DxRYZ3Qt.js → fullscreen-BmHQQPIs.js} +3 -3
  67. package/dist/{hand-CgNhcMPW.js → hand-B1v6mSWQ.js} +3 -3
  68. package/dist/hand-D0-0e0oJ.cjs +1 -0
  69. package/dist/{index-D5uDtlwL.js → index-BD88dkBh.js} +1994 -1967
  70. package/dist/index-CXOg7GIj.cjs +27 -0
  71. package/dist/index.cjs +14 -14
  72. package/dist/index.js +4267 -4238
  73. package/dist/{info-CssPzj9L.js → info-DXpOTVKn.js} +3 -3
  74. package/dist/info-b-1PKTfc.cjs +1 -0
  75. package/dist/last-page-C5eHUlq9.cjs +1 -0
  76. package/dist/{last-page-DrYSRMe5.js → last-page-DIN17z_8.js} +3 -3
  77. package/dist/license.cjs +1 -1
  78. package/dist/license.js +1 -1
  79. package/dist/magnifier-CVKlEBIJ.cjs +1 -0
  80. package/dist/{magnifier-DQHbDi_X.js → magnifier-Dep29X1B.js} +3 -3
  81. package/dist/moon-Dlcx_YsO.cjs +1 -0
  82. package/dist/{moon-DXlgBCWH.js → moon-Dw-MII-V.js} +3 -3
  83. package/dist/{page-view-dual-CeQyiqfI.js → page-view-dual-DCLg-YkG.js} +3 -3
  84. package/dist/page-view-dual-SkkSVjyx.cjs +1 -0
  85. package/dist/{page-view-dual-with-cover-BT5sW_cl.js → page-view-dual-with-cover-BFBRneNZ.js} +3 -3
  86. package/dist/page-view-dual-with-cover-DonoXL1h.cjs +1 -0
  87. package/dist/{page-view-single-HpxafscY.cjs → page-view-single-Bv6yiJbr.cjs} +1 -1
  88. package/dist/{page-view-single-Cp9W1OUV.js → page-view-single-CWOhdavX.js} +3 -3
  89. package/dist/pointer-Bf4vWBBT.cjs +1 -0
  90. package/dist/{pointer-BppCj8EV.js → pointer-jfdFDx4z.js} +3 -3
  91. package/dist/{printer-BFl4fVY9.js → printer-B8qbXO9F.js} +3 -3
  92. package/dist/printer-vnAfobXY.cjs +1 -0
  93. package/dist/{rotate-counter-clockwise-C4VIpGoU.js → rotate-counter-clockwise-DFl9ijSR.js} +3 -3
  94. package/dist/rotate-counter-clockwise-DZero_KG.cjs +1 -0
  95. package/dist/scrolling-horizontal-DPPdLmPm.cjs +1 -0
  96. package/dist/{scrolling-horizontal-CLl5lWK8.js → scrolling-horizontal-JO2P2O-8.js} +3 -3
  97. package/dist/scrolling-page-BSQ4aGZg.cjs +1 -0
  98. package/dist/{scrolling-page-C5NJekbJ.js → scrolling-page-y5Rrmrnm.js} +3 -3
  99. package/dist/{scrolling-vertical-DjEDpf4E.js → scrolling-vertical-D9MCCss9.js} +3 -3
  100. package/dist/scrolling-vertical-DndlMdb1.cjs +1 -0
  101. package/dist/scrolling-wrapped-CT0CkkFE.cjs +1 -0
  102. package/dist/{scrolling-wrapped-BYH7Nvoa.js → scrolling-wrapped-CYbEHLH6.js} +3 -3
  103. package/dist/{sun-gPHy98wE.js → sun-BhyBd5LA.js} +3 -3
  104. package/dist/sun-KVjCL8EX.cjs +1 -0
  105. package/dist/{thumbnail-BIBuAei4.js → thumbnail-BMmN_jSl.js} +3 -3
  106. package/dist/thumbnail-z4ws3aqe.cjs +1 -0
  107. package/dist/trash-C_WNKhXY.cjs +1 -0
  108. package/dist/{trash-TzreR6N5.js → trash-Deie-RCt.js} +3 -3
  109. package/dist/types/components/AppButton.vue.d.ts +17 -11
  110. package/dist/types/components/AppColorPicker.vue.d.ts +13 -10
  111. package/dist/types/components/AppFormControl.vue.d.ts +24 -6
  112. package/dist/types/components/AppIcon.vue.d.ts +13 -3
  113. package/dist/types/components/AppInput.vue.d.ts +10 -1
  114. package/dist/types/components/AppLoader.vue.d.ts +18 -13
  115. package/dist/types/components/AppPopover.vue.d.ts +83 -28
  116. package/dist/types/components/AppTooltip.vue.d.ts +31 -14
  117. package/dist/types/components/ColorButton.vue.d.ts +13 -10
  118. package/dist/types/components/DragFileMask.vue.d.ts +65 -11
  119. package/dist/types/components/FreeTextPanel.vue.d.ts +1 -9
  120. package/dist/types/components/FreeTextPanelFontColors.vue.d.ts +1 -8
  121. package/dist/types/components/FreeTextPanelFontSizeSelector.vue.d.ts +1 -8
  122. package/dist/types/components/LayerAnnotation.vue.d.ts +30 -9
  123. package/dist/types/components/LayerAnnotationEditor.vue.d.ts +18 -3
  124. package/dist/types/components/LayerAnnotationEditorFreeText.vue.d.ts +31 -20
  125. package/dist/types/components/LayerAnnotationEditorFreeTextItem.vue.d.ts +19 -8
  126. package/dist/types/components/LayerAnnotationEditorImage.vue.d.ts +20 -13
  127. package/dist/types/components/LayerAnnotationEditorTextSelectionItem.vue.d.ts +18 -7
  128. package/dist/types/components/LayerAnnotationEditorTextSelectionItemMenu.vue.d.ts +18 -14
  129. package/dist/types/components/LayerAnnotationStampResizer.vue.d.ts +17 -7
  130. package/dist/types/components/LayerCanvas.vue.d.ts +27 -4
  131. package/dist/types/components/LayerCanvasDetail.vue.d.ts +10 -1
  132. package/dist/types/components/LayerOverlay.vue.d.ts +35 -15
  133. package/dist/types/components/LayerText.vue.d.ts +21 -7
  134. package/dist/types/components/LayerTextHighlight.vue.d.ts +10 -1
  135. package/dist/types/components/LayerXFA.vue.d.ts +18 -6
  136. package/dist/types/components/ModalPassword.vue.d.ts +14 -11
  137. package/dist/types/components/ModalPdfProperties.vue.d.ts +27 -4
  138. package/dist/types/components/ModalPrintLoadingProgress.vue.d.ts +27 -4
  139. package/dist/types/components/SwitchAppearance.vue.d.ts +22 -25
  140. package/dist/types/components/ToolCommentPanel.vue.d.ts +29 -24
  141. package/dist/types/components/ToolDownload.vue.d.ts +20 -15
  142. package/dist/types/components/ToolFullscreen.vue.d.ts +21 -16
  143. package/dist/types/components/ToolMenuOthers.vue.d.ts +75 -36
  144. package/dist/types/components/ToolMenuOthersMobile.vue.d.ts +12 -7
  145. package/dist/types/components/ToolOpenFile.vue.d.ts +20 -15
  146. package/dist/types/components/ToolOpenFileInput.vue.d.ts +4 -3
  147. package/dist/types/components/ToolPagination.vue.d.ts +60 -26
  148. package/dist/types/components/ToolPrint.vue.d.ts +27 -10
  149. package/dist/types/components/ToolSearch.vue.d.ts +57 -23
  150. package/dist/types/components/ToolThumbnail.vue.d.ts +36 -13
  151. package/dist/types/components/ToolZoom.vue.d.ts +71 -19
  152. package/dist/types/components/ToolZoomPercentageMenu.vue.d.ts +31 -6
  153. package/dist/types/components/VPdfComments.vue.d.ts +17 -6
  154. package/dist/types/components/VPdfCommentsDate.vue.d.ts +13 -3
  155. package/dist/types/components/VPdfCommentsHeader.vue.d.ts +13 -3
  156. package/dist/types/components/VPdfCommentsIcon.vue.d.ts +13 -3
  157. package/dist/types/components/VPdfCommentsReplies.vue.d.ts +13 -3
  158. package/dist/types/components/VPdfCommentsSidebar.vue.d.ts +4 -3
  159. package/dist/types/components/VPdfCommentsText.vue.d.ts +1 -11
  160. package/dist/types/components/VPdfPage.vue.d.ts +51 -16
  161. package/dist/types/components/VPdfThumbnail.vue.d.ts +17 -6
  162. package/dist/types/components/VPdfThumbnails.vue.d.ts +15 -6
  163. package/dist/types/components/VPdfViewer.vue.d.ts +582 -307
  164. package/dist/types/components/ui/button/Button.vue.d.ts +40 -7
  165. package/dist/types/components/ui/button/index.d.ts +1 -1
  166. package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +30 -16
  167. package/dist/types/components/ui/collapsible/Collapsible.vue.d.ts +26 -15
  168. package/dist/types/components/ui/collapsible/CollapsibleContent.vue.d.ts +24 -9
  169. package/dist/types/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +24 -9
  170. package/dist/types/components/ui/dialog/Dialog.vue.d.ts +24 -13
  171. package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +24 -9
  172. package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +30 -26
  173. package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +30 -12
  174. package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +30 -12
  175. package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +30 -12
  176. package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +30 -12
  177. package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +24 -9
  178. package/dist/types/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -13
  179. package/dist/types/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +30 -18
  180. package/dist/types/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +45 -24
  181. package/dist/types/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +24 -9
  182. package/dist/types/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +34 -12
  183. package/dist/types/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +32 -12
  184. package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +24 -13
  185. package/dist/types/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +32 -16
  186. package/dist/types/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +14 -4
  187. package/dist/types/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +30 -12
  188. package/dist/types/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +24 -13
  189. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +30 -28
  190. package/dist/types/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +30 -12
  191. package/dist/types/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +24 -9
  192. package/dist/types/components/ui/input/Input.vue.d.ts +13 -4
  193. package/dist/types/components/ui/popover/Popover.vue.d.ts +24 -13
  194. package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +55 -27
  195. package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +24 -9
  196. package/dist/types/components/ui/progress/Progress.vue.d.ts +24 -5
  197. package/dist/types/components/ui/select/Select.vue.d.ts +24 -16
  198. package/dist/types/components/ui/select/SelectContent.vue.d.ts +47 -20
  199. package/dist/types/components/ui/select/SelectGroup.vue.d.ts +30 -12
  200. package/dist/types/components/ui/select/SelectItem.vue.d.ts +30 -12
  201. package/dist/types/components/ui/select/SelectItemText.vue.d.ts +24 -9
  202. package/dist/types/components/ui/select/SelectLabel.vue.d.ts +30 -12
  203. package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +30 -12
  204. package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +30 -12
  205. package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +14 -4
  206. package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +30 -12
  207. package/dist/types/components/ui/select/SelectValue.vue.d.ts +24 -9
  208. package/dist/types/components/ui/toast/Toast.vue.d.ts +24 -91
  209. package/dist/types/components/ui/toast/ToastAction.vue.d.ts +30 -12
  210. package/dist/types/components/ui/toast/ToastClose.vue.d.ts +14 -4
  211. package/dist/types/components/ui/toast/ToastDescription.vue.d.ts +30 -12
  212. package/dist/types/components/ui/toast/ToastProvider.vue.d.ts +24 -9
  213. package/dist/types/components/ui/toast/ToastTitle.vue.d.ts +30 -12
  214. package/dist/types/components/ui/toast/ToastViewport.vue.d.ts +14 -4
  215. package/dist/types/components/ui/toast/index.d.ts +1 -1
  216. package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +24 -13
  217. package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +45 -18
  218. package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +24 -9
  219. package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +24 -9
  220. package/dist/zoom-in-Cd9AruDC.cjs +1 -0
  221. package/dist/{zoom-in-CPaNSJ1z.js → zoom-in-qogh-J7e.js} +3 -3
  222. package/dist/{zoom-out-CLnidFKC.js → zoom-out-BFzERV6_.js} +3 -3
  223. package/dist/zoom-out-Bg8q92O7.cjs +1 -0
  224. package/package.json +5 -4
  225. package/dist/VPdfViewer.vue_vue_type_style_index_1_scoped_b89b6109_lang-Zf436-uP.cjs +0 -48
  226. package/dist/annotation-font-Blcpe4u2.cjs +0 -1
  227. package/dist/annotation-font-style-italic-B8kH4ITJ.cjs +0 -1
  228. package/dist/annotation-font-style-underline-CLE8ktZh.cjs +0 -1
  229. package/dist/annotation-font-weight-bold-D252ckAE.cjs +0 -1
  230. package/dist/annotation-freetext-g92Qx1IV.cjs +0 -1
  231. package/dist/annotation-highlight-C1CWBy8d.cjs +0 -1
  232. package/dist/annotation-ink-B2uYt5-C.cjs +0 -1
  233. package/dist/annotation-line-DUWuAW-f.cjs +0 -1
  234. package/dist/annotation-link-Cr6h9HZO.cjs +0 -1
  235. package/dist/annotation-signature-Cak3E29O.cjs +0 -1
  236. package/dist/annotation-square-CEqiLsCd.cjs +0 -1
  237. package/dist/annotation-squiggly-CFWCrBK4.cjs +0 -1
  238. package/dist/annotation-stamp-DPRZCSfZ.cjs +0 -1
  239. package/dist/annotation-strikeout-BeEvaYW8.cjs +0 -1
  240. package/dist/annotation-text-RpmlgGd_.cjs +0 -1
  241. package/dist/annotation-underline-D-poXEoT.cjs +0 -1
  242. package/dist/arrow-up-Cm2K9ps7.cjs +0 -1
  243. package/dist/chevron-down-C6TlWeSQ.cjs +0 -1
  244. package/dist/clear-D51Pvnp9.cjs +0 -1
  245. package/dist/close-BSg5DrkC.cjs +0 -1
  246. package/dist/comment-panel-J02V-i6Z.cjs +0 -1
  247. package/dist/download-CjQHSyu_.cjs +0 -1
  248. package/dist/drag-icon-L-zbStFS.cjs +0 -1
  249. package/dist/drag-icon-dark-DP846xO-.cjs +0 -1
  250. package/dist/ellipsis-vertical-C2GRrtGO.cjs +0 -1
  251. package/dist/empty-comment-dark-DIf5U2XR.cjs +0 -1
  252. package/dist/empty-comment-light-BJOzhQwj.cjs +0 -1
  253. package/dist/file-DWLuAXKz.cjs +0 -1
  254. package/dist/first-page-CK8tnfSk.cjs +0 -1
  255. package/dist/fullscreen-BFehSkBw.cjs +0 -1
  256. package/dist/hand-CNKizFpH.cjs +0 -1
  257. package/dist/index-BoMkqtAW.cjs +0 -27
  258. package/dist/info-y-EeYBI-.cjs +0 -1
  259. package/dist/last-page-CJ3rZYaG.cjs +0 -1
  260. package/dist/magnifier-UFqakbbr.cjs +0 -1
  261. package/dist/moon-CaYBgQ9U.cjs +0 -1
  262. package/dist/page-view-dual-IGi1zJDR.cjs +0 -1
  263. package/dist/page-view-dual-with-cover-C0NQphKH.cjs +0 -1
  264. package/dist/pointer-CrB9RNNW.cjs +0 -1
  265. package/dist/printer-BB3hCXL_.cjs +0 -1
  266. package/dist/rotate-counter-clockwise-D1tMmNZo.cjs +0 -1
  267. package/dist/scrolling-horizontal-2RbyZ4O9.cjs +0 -1
  268. package/dist/scrolling-page-Djd0UEUo.cjs +0 -1
  269. package/dist/scrolling-vertical-DIxUiF-k.cjs +0 -1
  270. package/dist/scrolling-wrapped-BwItKvON.cjs +0 -1
  271. package/dist/sun-Ch9jdMPV.cjs +0 -1
  272. package/dist/thumbnail-BXWQ1ywq.cjs +0 -1
  273. package/dist/trash-B5pwKFjg.cjs +0 -1
  274. package/dist/types/components/FreeTextPanelFontFamilySelector.vue.d.ts +0 -9
  275. package/dist/types/components/LayerAnnotationEditorHighlight.vue.d.ts +0 -28
  276. package/dist/types/components/LayerAnnotationEditorHighlightItem.vue.d.ts +0 -11
  277. package/dist/types/components/LayerTextSearchHighlight.vue.d.ts +0 -10
  278. package/dist/zoom-in-OIsimiHa.cjs +0 -1
  279. package/dist/zoom-out-HTJbE8IZ.cjs +0 -1
@@ -3,232 +3,540 @@ import type { AnnotationEventPayload, TextLayerLoadedEventPayload, RotateEvent,
3
3
  import { ScrollMode, SelectionMode, ViewMode, ZoomLevel } from '@/utils/enumerators';
4
4
  import '../style.scss';
5
5
  import { Localization } from '@vue-pdf-viewer/shared';
6
- declare var __VLS_34: {
7
- isDark: boolean;
8
- }, __VLS_36: {
9
- progress: number;
10
- loaded: boolean;
11
- }, __VLS_41: {}, __VLS_43: {
12
- progress: number;
13
- }, __VLS_59: {}, __VLS_61: {}, __VLS_72: {
14
- total: number;
15
- current: number;
16
- onNext: () => void;
17
- onPrev: () => void;
18
- onChangePage: (pageNumber: number) => void;
19
- }, __VLS_74: {}, __VLS_76: {}, __VLS_85: {
20
- currentScale: number;
21
- zoom: (nextScale: number | ZoomLevel) => void;
22
- }, __VLS_87: {}, __VLS_89: {}, __VLS_98: {
23
- onClick: () => void;
24
- }, __VLS_100: {}, __VLS_105: {
25
- isDark: boolean;
26
- onClick: () => void;
27
- }, __VLS_107: {}, __VLS_109: {}, __VLS_114: {
28
- onClick: () => void;
29
- }, __VLS_116: {}, __VLS_121: {
30
- onClick: () => void;
31
- }, __VLS_123: {}, __VLS_128: {
32
- onClick: () => Promise<void>;
33
- }, __VLS_130: {}, __VLS_135: {
34
- onClick: () => Promise<void>;
35
- isSupported: boolean;
36
- }, __VLS_137: {}, __VLS_150: {}, __VLS_152: {}, __VLS_154: {}, __VLS_156: {}, __VLS_158: {}, __VLS_160: {}, __VLS_162: {}, __VLS_164: {}, __VLS_166: {}, __VLS_168: {}, __VLS_170: {}, __VLS_172: {}, __VLS_174: {}, __VLS_176: {}, __VLS_178: {}, __VLS_183: {
37
- onToggle: () => void;
38
- }, __VLS_185: {}, __VLS_213: {
39
- pageIndex: number;
40
- scale: number;
41
- pageElement: HTMLElement | SVGElement | null | undefined;
42
- }, __VLS_223: {
43
- pageIndex: number;
44
- scale: number;
45
- pageElement: HTMLElement | SVGElement | null | undefined;
46
- };
47
- type __VLS_Slots = {} & {
48
- dropFileZone?: (props: typeof __VLS_34) => any;
49
- } & {
50
- loader?: (props: typeof __VLS_36) => any;
51
- } & {
52
- loaderImage?: (props: typeof __VLS_41) => any;
53
- } & {
54
- loaderProgress?: (props: typeof __VLS_43) => any;
55
- } & {
56
- loaderImage?: (props: typeof __VLS_59) => any;
57
- } & {
58
- iconSearch?: (props: typeof __VLS_61) => any;
59
- } & {
60
- pageNavigationTool?: (props: typeof __VLS_72) => any;
61
- } & {
62
- iconPrevPage?: (props: typeof __VLS_74) => any;
63
- } & {
64
- iconNextPage?: (props: typeof __VLS_76) => any;
65
- } & {
66
- zoomTool?: (props: typeof __VLS_85) => any;
67
- } & {
68
- iconZoomOut?: (props: typeof __VLS_87) => any;
69
- } & {
70
- iconZoomIn?: (props: typeof __VLS_89) => any;
71
- } & {
72
- commentPanelTool?: (props: typeof __VLS_98) => any;
73
- } & {
74
- iconCommentPanel?: (props: typeof __VLS_100) => any;
75
- } & {
76
- themeTool?: (props: typeof __VLS_105) => any;
77
- } & {
78
- iconThemeDark?: (props: typeof __VLS_107) => any;
79
- } & {
80
- iconThemeLight?: (props: typeof __VLS_109) => any;
81
- } & {
82
- openFileTool?: (props: typeof __VLS_114) => any;
83
- } & {
84
- iconOpenFile?: (props: typeof __VLS_116) => any;
85
- } & {
86
- downloadTool?: (props: typeof __VLS_121) => any;
87
- } & {
88
- iconDownload?: (props: typeof __VLS_123) => any;
89
- } & {
90
- printTool?: (props: typeof __VLS_128) => any;
91
- } & {
92
- iconPrint?: (props: typeof __VLS_130) => any;
93
- } & {
94
- fullScreenTool?: (props: typeof __VLS_135) => any;
95
- } & {
96
- iconFullScreen?: (props: typeof __VLS_137) => any;
97
- } & {
98
- iconMoreOptions?: (props: typeof __VLS_150) => any;
99
- } & {
100
- iconFirstPage?: (props: typeof __VLS_152) => any;
101
- } & {
102
- iconLastPage?: (props: typeof __VLS_154) => any;
103
- } & {
104
- iconRotateClockwise?: (props: typeof __VLS_156) => any;
105
- } & {
106
- iconRotateCounterClockwise?: (props: typeof __VLS_158) => any;
107
- } & {
108
- iconTextSelection?: (props: typeof __VLS_160) => any;
109
- } & {
110
- iconHandMode?: (props: typeof __VLS_162) => any;
111
- } & {
112
- iconScrollingPage?: (props: typeof __VLS_164) => any;
113
- } & {
114
- iconScrollingVertical?: (props: typeof __VLS_166) => any;
115
- } & {
116
- iconScrollingHorizontal?: (props: typeof __VLS_168) => any;
117
- } & {
118
- iconScrollingWrapped?: (props: typeof __VLS_170) => any;
119
- } & {
120
- iconPageViewSingle?: (props: typeof __VLS_172) => any;
121
- } & {
122
- iconPageViewDual?: (props: typeof __VLS_174) => any;
123
- } & {
124
- iconPageViewDualWithCover?: (props: typeof __VLS_176) => any;
125
- } & {
126
- iconDocProperties?: (props: typeof __VLS_178) => any;
127
- } & {
128
- thumbnailTool?: (props: typeof __VLS_183) => any;
129
- } & {
130
- iconThumbnail?: (props: typeof __VLS_185) => any;
131
- } & {
132
- pageOverlay?: (props: typeof __VLS_213) => any;
133
- } & {
134
- pageOverlay?: (props: typeof __VLS_223) => any;
135
- };
136
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
137
- src: {
6
+ declare const _default: {
7
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
8
+ readonly src: {
9
+ readonly type: import("vue").PropType<import("@/utils/types").VPVSrc | string>;
10
+ readonly required: true;
11
+ };
12
+ readonly workerUrl: {
13
+ readonly type: import("vue").PropType<string>;
14
+ readonly default: undefined;
15
+ };
16
+ readonly initialPage: {
17
+ readonly type: import("vue").PropType<number>;
18
+ readonly default: () => number;
19
+ };
20
+ readonly initialScale: {
21
+ readonly type: import("vue").PropType<number | ZoomLevel>;
22
+ readonly default: () => ZoomLevel;
23
+ };
24
+ readonly scrollMode: {
25
+ readonly type: import("vue").PropType<ScrollMode>;
26
+ readonly validator: (scrollMode: ScrollMode, args: unknown) => boolean;
27
+ };
28
+ readonly viewMode: {
29
+ readonly type: import("vue").PropType<ViewMode>;
30
+ readonly validator: (viewMode: ViewMode, args: unknown) => boolean;
31
+ };
32
+ readonly initialScrollMode: {
33
+ readonly type: import("vue").PropType<ScrollMode>;
34
+ readonly validator: (initialScrollMode: ScrollMode, args: unknown) => boolean;
35
+ };
36
+ readonly initialViewMode: {
37
+ readonly type: import("vue").PropType<ViewMode>;
38
+ readonly validator: (initialViewMode: ViewMode, args: unknown) => boolean;
39
+ };
40
+ readonly initialRotation: {
41
+ readonly type: import("vue").PropType<number>;
42
+ readonly default: () => number;
43
+ };
44
+ readonly initialThumbnailsVisible: {
45
+ readonly type: import("vue").PropType<boolean>;
46
+ readonly default: undefined;
47
+ };
48
+ readonly textLayer: {
49
+ readonly type: import("vue").PropType<boolean>;
50
+ readonly default: () => boolean;
51
+ };
52
+ readonly selectionMode: {
53
+ readonly type: import("vue").PropType<SelectionMode>;
54
+ readonly default: undefined;
55
+ };
56
+ readonly characterMap: {
57
+ readonly type: import("vue").PropType<import("@/utils/types").CharacterMap>;
58
+ readonly default: undefined;
59
+ };
60
+ readonly toolbarOptions: {
61
+ readonly type: import("vue").PropType<Partial<ToolbarOptions> | false>;
62
+ readonly default: () => ToolbarOptions;
63
+ };
64
+ readonly localization: {
65
+ readonly type: import("vue").PropType<Record<string, Localization>>;
66
+ readonly default: () => Record<string, Localization>;
67
+ };
68
+ readonly initialSearch: {
69
+ readonly type: StringConstructor;
70
+ readonly default: undefined;
71
+ };
72
+ readonly afterCanvasLoaded: {
73
+ readonly type: import("vue").PropType<Record<number, import("@/utils/types").CanvasLoadedCallback>>;
74
+ readonly default: undefined;
75
+ };
76
+ readonly textHighlights: {
77
+ readonly type: import("vue").PropType<Array<import("@/utils/types").TextHighlight>>;
78
+ readonly default: undefined;
79
+ readonly validator: (value: Array<import("@/utils/types").TextHighlight>) => boolean;
80
+ };
81
+ readonly downloadFilename: {
82
+ readonly type: StringConstructor;
83
+ readonly default: undefined;
84
+ };
85
+ readonly plugins: {
86
+ readonly type: import("vue").PropType<import("@vue-pdf-viewer/shared").Plugin<PDFDocumentProxy>[]>;
87
+ readonly default: undefined;
88
+ };
89
+ readonly documentOptions: {
90
+ readonly type: import("vue").PropType<import("@/utils/types").PDFDocumentOptions>;
91
+ readonly default: undefined;
92
+ };
93
+ readonly showPasswordModal: {
94
+ readonly type: import("vue").PropType<boolean>;
95
+ readonly default: true;
96
+ };
97
+ }>> & Readonly<{
98
+ onScroll?: ((scrollEvent: Event) => any) | undefined;
99
+ onAnnotation?: ((data: AnnotationEventPayload) => any) | undefined;
100
+ onRotate?: ((rotateEvent: RotateEvent) => any) | undefined;
101
+ onAnnotationLoaded?: ((annotations: any[]) => any) | undefined;
102
+ onTextLoaded?: ((data: TextLayerLoadedEventPayload) => any) | undefined;
103
+ onXfaLoaded?: (() => any) | undefined;
104
+ onLoaded?: ((properties?: PdfProperties | undefined) => any) | undefined;
105
+ onLoadError?: ((error: any) => any) | undefined;
106
+ onLoading?: (() => any) | undefined;
107
+ onLoadProgress?: ((progress: number) => any) | undefined;
108
+ onAfterGoToPage?: ((progress: number) => any) | undefined;
109
+ onPageChanged?: ((progress: number) => any) | undefined;
110
+ "onUpdate:scrollMode"?: ((scrollMode: ScrollMode) => any) | undefined;
111
+ "onUpdate:viewMode"?: ((viewMode: ViewMode) => any) | undefined;
112
+ onPasswordRequired?: ((payload: PasswordRequiredPayload) => any) | undefined;
113
+ onPasswordError?: (() => any) | undefined;
114
+ onPasswordSuccess?: (() => any) | undefined;
115
+ }>, {
116
+ highlightControl: {
117
+ highlight: (args: import("@/utils/types").TextHighlight[]) => Promise<Record<string, import("@/utils/types").MatchHighlightResult[]>>;
118
+ clear: () => void;
119
+ };
120
+ printControl: {
121
+ print: (options?: {
122
+ visibleDefaultProgress: boolean;
123
+ }) => Awaited<void>;
124
+ cancel: () => void;
125
+ onProgress?: ((progress: import("@/utils/types").PreparePrintProgress) => void) | undefined;
126
+ onError?: ((error: Error) => void) | undefined;
127
+ onComplete?: (() => void) | undefined;
128
+ };
129
+ pageControl: {
130
+ goToPage: (pageNumber: number) => void;
131
+ totalPages: number;
132
+ currentPage: number;
133
+ getTextContent: (pageNumber: number) => Promise<import("pdfjs-dist/types/src/display/api").TextContent> | undefined;
134
+ };
135
+ searchControl: {
136
+ searchMatches: {
137
+ totalMatches: number;
138
+ matches: {
139
+ index: number;
140
+ page: number;
141
+ }[];
142
+ } | {
143
+ totalMatches: number;
144
+ matches: {
145
+ index: number;
146
+ page: number;
147
+ }[];
148
+ };
149
+ searching: boolean;
150
+ goToMatch: (index: number) => void;
151
+ search: (value: string) => Promise<import("@/utils/types").MatchHighlightResult[]>;
152
+ nextSearchMatch: () => void;
153
+ prevSearchMatch: () => void;
154
+ };
155
+ rotateControl: {
156
+ rotateClockwise: () => void;
157
+ rotateCounterclockwise: () => void;
158
+ currentRotation: number;
159
+ };
160
+ downloadControl: {
161
+ download: () => Awaited<void>;
162
+ getBlob: () => Promise<{
163
+ blob: Blob;
164
+ filename: string;
165
+ }>;
166
+ onError?: ((error: Error) => void) | undefined;
167
+ onComplete?: (() => void) | undefined;
168
+ };
169
+ zoomControl: {
170
+ scale: number;
171
+ zoom: (scale: number | ZoomLevel, options?: {
172
+ immediate?: boolean;
173
+ origin?: [number, number];
174
+ }) => void;
175
+ };
176
+ passwordControl: {
177
+ submitPassword: (password: string) => Promise<boolean>;
178
+ };
179
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
180
+ annotation: (data: AnnotationEventPayload) => void;
181
+ } & {
182
+ loaded: (properties?: PdfProperties | undefined) => void;
183
+ } & {
184
+ loadError: (error: any) => void;
185
+ } & {
186
+ loading: () => void;
187
+ } & {
188
+ loadProgress: (progress: number) => void;
189
+ } & {
190
+ textLoaded: (data: TextLayerLoadedEventPayload) => void;
191
+ } & {
192
+ annotationLoaded: (annotations: any[]) => void;
193
+ } & {
194
+ xfaLoaded: () => void;
195
+ } & {
196
+ rotate: (rotateEvent: RotateEvent) => void;
197
+ } & {
198
+ scroll: (scrollEvent: Event) => void;
199
+ } & {
200
+ "update:scrollMode": (scrollMode: ScrollMode) => void;
201
+ } & {
202
+ "update:viewMode": (viewMode: ViewMode) => void;
203
+ } & {
204
+ passwordRequired: (payload: PasswordRequiredPayload) => void;
205
+ } & {
206
+ passwordError: () => void;
207
+ } & {
208
+ passwordSuccess: () => void;
209
+ } & {
210
+ afterGoToPage: (progress: number) => void;
211
+ } & {
212
+ pageChanged: (progress: number) => void;
213
+ }, import("vue").PublicProps, {
214
+ readonly workerUrl: string;
215
+ readonly initialPage: number;
216
+ readonly initialScale: number | ZoomLevel;
217
+ readonly initialRotation: number;
218
+ readonly initialThumbnailsVisible: boolean;
219
+ readonly initialSearch: string;
220
+ readonly textLayer: boolean;
221
+ readonly selectionMode: SelectionMode;
222
+ readonly characterMap: import("@/utils/types").CharacterMap;
223
+ readonly toolbarOptions: false | Partial<ToolbarOptions>;
224
+ readonly localization: Record<string, Localization>;
225
+ readonly afterCanvasLoaded: Record<number, import("@/utils/types").CanvasLoadedCallback>;
226
+ readonly textHighlights: import("@/utils/types").TextHighlight[];
227
+ readonly plugins: import("@vue-pdf-viewer/shared").Plugin<PDFDocumentProxy>[];
228
+ readonly documentOptions: import("@/utils/types").PDFDocumentOptions;
229
+ readonly downloadFilename: string;
230
+ readonly showPasswordModal: boolean;
231
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
232
+ P: {};
233
+ B: {};
234
+ D: {};
235
+ C: {};
236
+ M: {};
237
+ Defaults: {};
238
+ }, Readonly<import("vue").ExtractPropTypes<{
239
+ readonly src: {
240
+ readonly type: import("vue").PropType<import("@/utils/types").VPVSrc | string>;
241
+ readonly required: true;
242
+ };
243
+ readonly workerUrl: {
244
+ readonly type: import("vue").PropType<string>;
245
+ readonly default: undefined;
246
+ };
247
+ readonly initialPage: {
248
+ readonly type: import("vue").PropType<number>;
249
+ readonly default: () => number;
250
+ };
251
+ readonly initialScale: {
252
+ readonly type: import("vue").PropType<number | ZoomLevel>;
253
+ readonly default: () => ZoomLevel;
254
+ };
255
+ readonly scrollMode: {
256
+ readonly type: import("vue").PropType<ScrollMode>;
257
+ readonly validator: (scrollMode: ScrollMode, args: unknown) => boolean;
258
+ };
259
+ readonly viewMode: {
260
+ readonly type: import("vue").PropType<ViewMode>;
261
+ readonly validator: (viewMode: ViewMode, args: unknown) => boolean;
262
+ };
263
+ readonly initialScrollMode: {
264
+ readonly type: import("vue").PropType<ScrollMode>;
265
+ readonly validator: (initialScrollMode: ScrollMode, args: unknown) => boolean;
266
+ };
267
+ readonly initialViewMode: {
268
+ readonly type: import("vue").PropType<ViewMode>;
269
+ readonly validator: (initialViewMode: ViewMode, args: unknown) => boolean;
270
+ };
271
+ readonly initialRotation: {
272
+ readonly type: import("vue").PropType<number>;
273
+ readonly default: () => number;
274
+ };
275
+ readonly initialThumbnailsVisible: {
276
+ readonly type: import("vue").PropType<boolean>;
277
+ readonly default: undefined;
278
+ };
279
+ readonly textLayer: {
280
+ readonly type: import("vue").PropType<boolean>;
281
+ readonly default: () => boolean;
282
+ };
283
+ readonly selectionMode: {
284
+ readonly type: import("vue").PropType<SelectionMode>;
285
+ readonly default: undefined;
286
+ };
287
+ readonly characterMap: {
288
+ readonly type: import("vue").PropType<import("@/utils/types").CharacterMap>;
289
+ readonly default: undefined;
290
+ };
291
+ readonly toolbarOptions: {
292
+ readonly type: import("vue").PropType<Partial<ToolbarOptions> | false>;
293
+ readonly default: () => ToolbarOptions;
294
+ };
295
+ readonly localization: {
296
+ readonly type: import("vue").PropType<Record<string, Localization>>;
297
+ readonly default: () => Record<string, Localization>;
298
+ };
299
+ readonly initialSearch: {
300
+ readonly type: StringConstructor;
301
+ readonly default: undefined;
302
+ };
303
+ readonly afterCanvasLoaded: {
304
+ readonly type: import("vue").PropType<Record<number, import("@/utils/types").CanvasLoadedCallback>>;
305
+ readonly default: undefined;
306
+ };
307
+ readonly textHighlights: {
308
+ readonly type: import("vue").PropType<Array<import("@/utils/types").TextHighlight>>;
309
+ readonly default: undefined;
310
+ readonly validator: (value: Array<import("@/utils/types").TextHighlight>) => boolean;
311
+ };
312
+ readonly downloadFilename: {
313
+ readonly type: StringConstructor;
314
+ readonly default: undefined;
315
+ };
316
+ readonly plugins: {
317
+ readonly type: import("vue").PropType<import("@vue-pdf-viewer/shared").Plugin<PDFDocumentProxy>[]>;
318
+ readonly default: undefined;
319
+ };
320
+ readonly documentOptions: {
321
+ readonly type: import("vue").PropType<import("@/utils/types").PDFDocumentOptions>;
322
+ readonly default: undefined;
323
+ };
324
+ readonly showPasswordModal: {
325
+ readonly type: import("vue").PropType<boolean>;
326
+ readonly default: true;
327
+ };
328
+ }>> & Readonly<{
329
+ onScroll?: ((scrollEvent: Event) => any) | undefined;
330
+ onAnnotation?: ((data: AnnotationEventPayload) => any) | undefined;
331
+ onRotate?: ((rotateEvent: RotateEvent) => any) | undefined;
332
+ onAnnotationLoaded?: ((annotations: any[]) => any) | undefined;
333
+ onTextLoaded?: ((data: TextLayerLoadedEventPayload) => any) | undefined;
334
+ onXfaLoaded?: (() => any) | undefined;
335
+ onLoaded?: ((properties?: PdfProperties | undefined) => any) | undefined;
336
+ onLoadError?: ((error: any) => any) | undefined;
337
+ onLoading?: (() => any) | undefined;
338
+ onLoadProgress?: ((progress: number) => any) | undefined;
339
+ onAfterGoToPage?: ((progress: number) => any) | undefined;
340
+ onPageChanged?: ((progress: number) => any) | undefined;
341
+ "onUpdate:scrollMode"?: ((scrollMode: ScrollMode) => any) | undefined;
342
+ "onUpdate:viewMode"?: ((viewMode: ViewMode) => any) | undefined;
343
+ onPasswordRequired?: ((payload: PasswordRequiredPayload) => any) | undefined;
344
+ onPasswordError?: (() => any) | undefined;
345
+ onPasswordSuccess?: (() => any) | undefined;
346
+ }>, {
347
+ highlightControl: {
348
+ highlight: (args: import("@/utils/types").TextHighlight[]) => Promise<Record<string, import("@/utils/types").MatchHighlightResult[]>>;
349
+ clear: () => void;
350
+ };
351
+ printControl: {
352
+ print: (options?: {
353
+ visibleDefaultProgress: boolean;
354
+ }) => Awaited<void>;
355
+ cancel: () => void;
356
+ onProgress?: ((progress: import("@/utils/types").PreparePrintProgress) => void) | undefined;
357
+ onError?: ((error: Error) => void) | undefined;
358
+ onComplete?: (() => void) | undefined;
359
+ };
360
+ pageControl: {
361
+ goToPage: (pageNumber: number) => void;
362
+ totalPages: number;
363
+ currentPage: number;
364
+ getTextContent: (pageNumber: number) => Promise<import("pdfjs-dist/types/src/display/api").TextContent> | undefined;
365
+ };
366
+ searchControl: {
367
+ searchMatches: {
368
+ totalMatches: number;
369
+ matches: {
370
+ index: number;
371
+ page: number;
372
+ }[];
373
+ } | {
374
+ totalMatches: number;
375
+ matches: {
376
+ index: number;
377
+ page: number;
378
+ }[];
379
+ };
380
+ searching: boolean;
381
+ goToMatch: (index: number) => void;
382
+ search: (value: string) => Promise<import("@/utils/types").MatchHighlightResult[]>;
383
+ nextSearchMatch: () => void;
384
+ prevSearchMatch: () => void;
385
+ };
386
+ rotateControl: {
387
+ rotateClockwise: () => void;
388
+ rotateCounterclockwise: () => void;
389
+ currentRotation: number;
390
+ };
391
+ downloadControl: {
392
+ download: () => Awaited<void>;
393
+ getBlob: () => Promise<{
394
+ blob: Blob;
395
+ filename: string;
396
+ }>;
397
+ onError?: ((error: Error) => void) | undefined;
398
+ onComplete?: (() => void) | undefined;
399
+ };
400
+ zoomControl: {
401
+ scale: number;
402
+ zoom: (scale: number | ZoomLevel, options?: {
403
+ immediate?: boolean;
404
+ origin?: [number, number];
405
+ }) => void;
406
+ };
407
+ passwordControl: {
408
+ submitPassword: (password: string) => Promise<boolean>;
409
+ };
410
+ }, {}, {}, {}, {
411
+ readonly workerUrl: string;
412
+ readonly initialPage: number;
413
+ readonly initialScale: number | ZoomLevel;
414
+ readonly initialRotation: number;
415
+ readonly initialThumbnailsVisible: boolean;
416
+ readonly initialSearch: string;
417
+ readonly textLayer: boolean;
418
+ readonly selectionMode: SelectionMode;
419
+ readonly characterMap: import("@/utils/types").CharacterMap;
420
+ readonly toolbarOptions: false | Partial<ToolbarOptions>;
421
+ readonly localization: Record<string, Localization>;
422
+ readonly afterCanvasLoaded: Record<number, import("@/utils/types").CanvasLoadedCallback>;
423
+ readonly textHighlights: import("@/utils/types").TextHighlight[];
424
+ readonly plugins: import("@vue-pdf-viewer/shared").Plugin<PDFDocumentProxy>[];
425
+ readonly documentOptions: import("@/utils/types").PDFDocumentOptions;
426
+ readonly downloadFilename: string;
427
+ readonly showPasswordModal: boolean;
428
+ }>;
429
+ __isFragment?: never;
430
+ __isTeleport?: never;
431
+ __isSuspense?: never;
432
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
433
+ readonly src: {
138
434
  readonly type: import("vue").PropType<import("@/utils/types").VPVSrc | string>;
139
435
  readonly required: true;
140
436
  };
141
- workerUrl: {
437
+ readonly workerUrl: {
142
438
  readonly type: import("vue").PropType<string>;
143
439
  readonly default: undefined;
144
440
  };
145
- initialPage: {
441
+ readonly initialPage: {
146
442
  readonly type: import("vue").PropType<number>;
147
443
  readonly default: () => number;
148
444
  };
149
- initialScale: {
445
+ readonly initialScale: {
150
446
  readonly type: import("vue").PropType<number | ZoomLevel>;
151
447
  readonly default: () => ZoomLevel;
152
448
  };
153
- scrollMode: {
449
+ readonly scrollMode: {
154
450
  readonly type: import("vue").PropType<ScrollMode>;
155
451
  readonly validator: (scrollMode: ScrollMode, args: unknown) => boolean;
156
452
  };
157
- viewMode: {
453
+ readonly viewMode: {
158
454
  readonly type: import("vue").PropType<ViewMode>;
159
455
  readonly validator: (viewMode: ViewMode, args: unknown) => boolean;
160
456
  };
161
- initialScrollMode: {
457
+ readonly initialScrollMode: {
162
458
  readonly type: import("vue").PropType<ScrollMode>;
163
459
  readonly validator: (initialScrollMode: ScrollMode, args: unknown) => boolean;
164
460
  };
165
- initialViewMode: {
461
+ readonly initialViewMode: {
166
462
  readonly type: import("vue").PropType<ViewMode>;
167
463
  readonly validator: (initialViewMode: ViewMode, args: unknown) => boolean;
168
464
  };
169
- initialRotation: {
465
+ readonly initialRotation: {
170
466
  readonly type: import("vue").PropType<number>;
171
467
  readonly default: () => number;
172
468
  };
173
- initialThumbnailsVisible: {
469
+ readonly initialThumbnailsVisible: {
174
470
  readonly type: import("vue").PropType<boolean>;
175
471
  readonly default: undefined;
176
472
  };
177
- textLayer: {
473
+ readonly textLayer: {
178
474
  readonly type: import("vue").PropType<boolean>;
179
475
  readonly default: () => boolean;
180
476
  };
181
- selectionMode: {
477
+ readonly selectionMode: {
182
478
  readonly type: import("vue").PropType<SelectionMode>;
183
479
  readonly default: undefined;
184
480
  };
185
- characterMap: {
481
+ readonly characterMap: {
186
482
  readonly type: import("vue").PropType<import("@/utils/types").CharacterMap>;
187
483
  readonly default: undefined;
188
484
  };
189
- toolbarOptions: {
485
+ readonly toolbarOptions: {
190
486
  readonly type: import("vue").PropType<Partial<ToolbarOptions> | false>;
191
487
  readonly default: () => ToolbarOptions;
192
488
  };
193
- localization: {
489
+ readonly localization: {
194
490
  readonly type: import("vue").PropType<Record<string, Localization>>;
195
491
  readonly default: () => Record<string, Localization>;
196
492
  };
197
- initialSearch: {
493
+ readonly initialSearch: {
198
494
  readonly type: StringConstructor;
199
495
  readonly default: undefined;
200
496
  };
201
- afterCanvasLoaded: {
497
+ readonly afterCanvasLoaded: {
202
498
  readonly type: import("vue").PropType<Record<number, import("@/utils/types").CanvasLoadedCallback>>;
203
499
  readonly default: undefined;
204
500
  };
205
- textHighlights: {
501
+ readonly textHighlights: {
206
502
  readonly type: import("vue").PropType<Array<import("@/utils/types").TextHighlight>>;
207
503
  readonly default: undefined;
208
504
  readonly validator: (value: Array<import("@/utils/types").TextHighlight>) => boolean;
209
505
  };
210
- downloadFilename: {
506
+ readonly downloadFilename: {
211
507
  readonly type: StringConstructor;
212
508
  readonly default: undefined;
213
509
  };
214
- plugins: {
510
+ readonly plugins: {
215
511
  readonly type: import("vue").PropType<import("@vue-pdf-viewer/shared").Plugin<PDFDocumentProxy>[]>;
216
512
  readonly default: undefined;
217
513
  };
218
- documentOptions: {
514
+ readonly documentOptions: {
219
515
  readonly type: import("vue").PropType<import("@/utils/types").PDFDocumentOptions>;
220
516
  readonly default: undefined;
221
517
  };
222
- showPasswordModal: {
518
+ readonly showPasswordModal: {
223
519
  readonly type: import("vue").PropType<boolean>;
224
520
  readonly default: true;
225
521
  };
226
- darkMode: {
227
- type: import("vue").PropType<boolean>;
228
- };
229
- locale: {
230
- type: import("vue").PropType<string>;
231
- };
522
+ }>> & Readonly<{
523
+ onScroll?: ((scrollEvent: Event) => any) | undefined;
524
+ onAnnotation?: ((data: AnnotationEventPayload) => any) | undefined;
525
+ onRotate?: ((rotateEvent: RotateEvent) => any) | undefined;
526
+ onAnnotationLoaded?: ((annotations: any[]) => any) | undefined;
527
+ onTextLoaded?: ((data: TextLayerLoadedEventPayload) => any) | undefined;
528
+ onXfaLoaded?: (() => any) | undefined;
529
+ onLoaded?: ((properties?: PdfProperties | undefined) => any) | undefined;
530
+ onLoadError?: ((error: any) => any) | undefined;
531
+ onLoading?: (() => any) | undefined;
532
+ onLoadProgress?: ((progress: number) => any) | undefined;
533
+ onAfterGoToPage?: ((progress: number) => any) | undefined;
534
+ onPageChanged?: ((progress: number) => any) | undefined;
535
+ "onUpdate:scrollMode"?: ((scrollMode: ScrollMode) => any) | undefined;
536
+ "onUpdate:viewMode"?: ((viewMode: ViewMode) => any) | undefined;
537
+ onPasswordRequired?: ((payload: PasswordRequiredPayload) => any) | undefined;
538
+ onPasswordError?: (() => any) | undefined;
539
+ onPasswordSuccess?: (() => any) | undefined;
232
540
  }>, {
233
541
  highlightControl: {
234
542
  highlight: (args: import("@/utils/types").TextHighlight[]) => Promise<Record<string, import("@/utils/types").MatchHighlightResult[]>>;
@@ -247,7 +555,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
247
555
  goToPage: (pageNumber: number) => void;
248
556
  totalPages: number;
249
557
  currentPage: number;
250
- getTextContent: (pageNumber: number) => Promise<import("pdfjs-dist/types/src/display/api.js").TextContent> | undefined;
558
+ getTextContent: (pageNumber: number) => Promise<import("pdfjs-dist/types/src/display/api").TextContent> | undefined;
251
559
  };
252
560
  searchControl: {
253
561
  searchMatches: {
@@ -295,165 +603,132 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
295
603
  };
296
604
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
297
605
  annotation: (data: AnnotationEventPayload) => void;
606
+ } & {
298
607
  loaded: (properties?: PdfProperties | undefined) => void;
608
+ } & {
299
609
  loadError: (error: any) => void;
610
+ } & {
300
611
  loading: () => void;
612
+ } & {
301
613
  loadProgress: (progress: number) => void;
302
- afterGoToPage: (progress: number) => void;
303
- pageChanged: (progress: number) => void;
614
+ } & {
304
615
  textLoaded: (data: TextLayerLoadedEventPayload) => void;
616
+ } & {
305
617
  annotationLoaded: (annotations: any[]) => void;
618
+ } & {
306
619
  xfaLoaded: () => void;
620
+ } & {
307
621
  rotate: (rotateEvent: RotateEvent) => void;
622
+ } & {
308
623
  scroll: (scrollEvent: Event) => void;
624
+ } & {
309
625
  "update:scrollMode": (scrollMode: ScrollMode) => void;
626
+ } & {
310
627
  "update:viewMode": (viewMode: ViewMode) => void;
628
+ } & {
311
629
  passwordRequired: (payload: PasswordRequiredPayload) => void;
630
+ } & {
312
631
  passwordError: () => void;
632
+ } & {
313
633
  passwordSuccess: () => void;
314
- "update:darkMode": (value: boolean) => void;
315
- "update:locale": (value: string) => void;
316
- "update:selectionMode": (value: SelectionMode) => void;
317
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
318
- src: {
319
- readonly type: import("vue").PropType<import("@/utils/types").VPVSrc | string>;
320
- readonly required: true;
321
- };
322
- workerUrl: {
323
- readonly type: import("vue").PropType<string>;
324
- readonly default: undefined;
325
- };
326
- initialPage: {
327
- readonly type: import("vue").PropType<number>;
328
- readonly default: () => number;
329
- };
330
- initialScale: {
331
- readonly type: import("vue").PropType<number | ZoomLevel>;
332
- readonly default: () => ZoomLevel;
333
- };
334
- scrollMode: {
335
- readonly type: import("vue").PropType<ScrollMode>;
336
- readonly validator: (scrollMode: ScrollMode, args: unknown) => boolean;
337
- };
338
- viewMode: {
339
- readonly type: import("vue").PropType<ViewMode>;
340
- readonly validator: (viewMode: ViewMode, args: unknown) => boolean;
341
- };
342
- initialScrollMode: {
343
- readonly type: import("vue").PropType<ScrollMode>;
344
- readonly validator: (initialScrollMode: ScrollMode, args: unknown) => boolean;
345
- };
346
- initialViewMode: {
347
- readonly type: import("vue").PropType<ViewMode>;
348
- readonly validator: (initialViewMode: ViewMode, args: unknown) => boolean;
349
- };
350
- initialRotation: {
351
- readonly type: import("vue").PropType<number>;
352
- readonly default: () => number;
353
- };
354
- initialThumbnailsVisible: {
355
- readonly type: import("vue").PropType<boolean>;
356
- readonly default: undefined;
357
- };
358
- textLayer: {
359
- readonly type: import("vue").PropType<boolean>;
360
- readonly default: () => boolean;
361
- };
362
- selectionMode: {
363
- readonly type: import("vue").PropType<SelectionMode>;
364
- readonly default: undefined;
365
- };
366
- characterMap: {
367
- readonly type: import("vue").PropType<import("@/utils/types").CharacterMap>;
368
- readonly default: undefined;
369
- };
370
- toolbarOptions: {
371
- readonly type: import("vue").PropType<Partial<ToolbarOptions> | false>;
372
- readonly default: () => ToolbarOptions;
373
- };
374
- localization: {
375
- readonly type: import("vue").PropType<Record<string, Localization>>;
376
- readonly default: () => Record<string, Localization>;
377
- };
378
- initialSearch: {
379
- readonly type: StringConstructor;
380
- readonly default: undefined;
381
- };
382
- afterCanvasLoaded: {
383
- readonly type: import("vue").PropType<Record<number, import("@/utils/types").CanvasLoadedCallback>>;
384
- readonly default: undefined;
385
- };
386
- textHighlights: {
387
- readonly type: import("vue").PropType<Array<import("@/utils/types").TextHighlight>>;
388
- readonly default: undefined;
389
- readonly validator: (value: Array<import("@/utils/types").TextHighlight>) => boolean;
390
- };
391
- downloadFilename: {
392
- readonly type: StringConstructor;
393
- readonly default: undefined;
394
- };
395
- plugins: {
396
- readonly type: import("vue").PropType<import("@vue-pdf-viewer/shared").Plugin<PDFDocumentProxy>[]>;
397
- readonly default: undefined;
398
- };
399
- documentOptions: {
400
- readonly type: import("vue").PropType<import("@/utils/types").PDFDocumentOptions>;
401
- readonly default: undefined;
402
- };
403
- showPasswordModal: {
404
- readonly type: import("vue").PropType<boolean>;
405
- readonly default: true;
406
- };
407
- darkMode: {
408
- type: import("vue").PropType<boolean>;
409
- };
410
- locale: {
411
- type: import("vue").PropType<string>;
412
- };
413
- }>> & Readonly<{
414
- onScroll?: ((scrollEvent: Event) => any) | undefined;
415
- onAnnotation?: ((data: AnnotationEventPayload) => any) | undefined;
416
- onRotate?: ((rotateEvent: RotateEvent) => any) | undefined;
417
- onAnnotationLoaded?: ((annotations: any[]) => any) | undefined;
418
- onTextLoaded?: ((data: TextLayerLoadedEventPayload) => any) | undefined;
419
- onXfaLoaded?: (() => any) | undefined;
420
- "onUpdate:darkMode"?: ((value: boolean) => any) | undefined;
421
- "onUpdate:locale"?: ((value: string) => any) | undefined;
422
- "onUpdate:selectionMode"?: ((value: SelectionMode) => any) | undefined;
423
- onLoaded?: ((properties?: PdfProperties | undefined) => any) | undefined;
424
- onLoadError?: ((error: any) => any) | undefined;
425
- onLoading?: (() => any) | undefined;
426
- onLoadProgress?: ((progress: number) => any) | undefined;
427
- onAfterGoToPage?: ((progress: number) => any) | undefined;
428
- onPageChanged?: ((progress: number) => any) | undefined;
429
- "onUpdate:scrollMode"?: ((scrollMode: ScrollMode) => any) | undefined;
430
- "onUpdate:viewMode"?: ((viewMode: ViewMode) => any) | undefined;
431
- onPasswordRequired?: ((payload: PasswordRequiredPayload) => any) | undefined;
432
- onPasswordError?: (() => any) | undefined;
433
- onPasswordSuccess?: (() => any) | undefined;
434
- }>, {
435
- workerUrl: string;
436
- initialPage: number;
437
- initialScale: number | ZoomLevel;
438
- initialRotation: number;
439
- initialThumbnailsVisible: boolean;
440
- initialSearch: string;
441
- textLayer: boolean;
442
- selectionMode: SelectionMode;
443
- characterMap: import("@/utils/types").CharacterMap;
444
- toolbarOptions: false | Partial<ToolbarOptions>;
445
- localization: Record<string, Localization>;
446
- afterCanvasLoaded: Record<number, import("@/utils/types").CanvasLoadedCallback>;
447
- textHighlights: import("@/utils/types").TextHighlight[];
448
- plugins: import("@vue-pdf-viewer/shared").Plugin<PDFDocumentProxy>[];
449
- documentOptions: import("@/utils/types").PDFDocumentOptions;
450
- downloadFilename: string;
451
- showPasswordModal: boolean;
452
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
453
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
634
+ } & {
635
+ afterGoToPage: (progress: number) => void;
636
+ } & {
637
+ pageChanged: (progress: number) => void;
638
+ }, string, {
639
+ readonly workerUrl: string;
640
+ readonly initialPage: number;
641
+ readonly initialScale: number | ZoomLevel;
642
+ readonly initialRotation: number;
643
+ readonly initialThumbnailsVisible: boolean;
644
+ readonly initialSearch: string;
645
+ readonly textLayer: boolean;
646
+ readonly selectionMode: SelectionMode;
647
+ readonly characterMap: import("@/utils/types").CharacterMap;
648
+ readonly toolbarOptions: false | Partial<ToolbarOptions>;
649
+ readonly localization: Record<string, Localization>;
650
+ readonly afterCanvasLoaded: Record<number, import("@/utils/types").CanvasLoadedCallback>;
651
+ readonly textHighlights: import("@/utils/types").TextHighlight[];
652
+ readonly plugins: import("@vue-pdf-viewer/shared").Plugin<PDFDocumentProxy>[];
653
+ readonly documentOptions: import("@/utils/types").PDFDocumentOptions;
654
+ readonly downloadFilename: string;
655
+ readonly showPasswordModal: boolean;
656
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
657
+ $slots: ReturnType<() => {
658
+ dropFileZone: (_: {
659
+ isDark: boolean;
660
+ }) => any;
661
+ loader: (_: {
662
+ progress: number;
663
+ loaded: boolean;
664
+ }) => any;
665
+ loaderImage: (_: {}) => any;
666
+ loaderProgress: (_: {
667
+ progress: number;
668
+ }) => any;
669
+ iconSearch: (_: {}) => any;
670
+ pageNavigationTool: (_: {
671
+ total: any;
672
+ current: any;
673
+ onNext: any;
674
+ onPrev: any;
675
+ onChangePage: any;
676
+ }) => any;
677
+ iconPrevPage: (_: {}) => any;
678
+ iconNextPage: (_: {}) => any;
679
+ zoomTool: (_: {
680
+ currentScale: number;
681
+ zoom: (nextScale: number | ZoomLevel) => void;
682
+ }) => any;
683
+ iconZoomOut: (_: {}) => any;
684
+ iconZoomIn: (_: {}) => any;
685
+ commentPanelTool: (_: {
686
+ onClick: any;
687
+ }) => any;
688
+ iconCommentPanel: (_: {}) => any;
689
+ themeTool: (_: {
690
+ isDark: any;
691
+ onClick: any;
692
+ }) => any;
693
+ iconThemeDark: (_: {}) => any;
694
+ iconThemeLight: (_: {}) => any;
695
+ openFileTool: (_: {
696
+ onClick: any;
697
+ }) => any;
698
+ iconOpenFile: (_: {}) => any;
699
+ downloadTool: (_: {
700
+ onClick: any;
701
+ }) => any;
702
+ iconDownload: (_: {}) => any;
703
+ printTool: (_: {
704
+ onClick: any;
705
+ }) => any;
706
+ iconPrint: (_: {}) => any;
707
+ fullScreenTool: (_: {
708
+ onClick: any;
709
+ isSupported: any;
710
+ }) => any;
711
+ iconFullScreen: (_: {}) => any;
712
+ iconMoreOptions: (_: {}) => any;
713
+ iconFirstPage: (_: {}) => any;
714
+ iconLastPage: (_: {}) => any;
715
+ iconRotateClockwise: (_: {}) => any;
716
+ iconRotateCounterClockwise: (_: {}) => any;
717
+ iconTextSelection: (_: {}) => any;
718
+ iconHandMode: (_: {}) => any;
719
+ iconScrollingPage: (_: {}) => any;
720
+ iconScrollingVertical: (_: {}) => any;
721
+ iconScrollingHorizontal: (_: {}) => any;
722
+ iconScrollingWrapped: (_: {}) => any;
723
+ iconPageViewSingle: (_: {}) => any;
724
+ iconPageViewDual: (_: {}) => any;
725
+ iconPageViewDualWithCover: (_: {}) => any;
726
+ iconDocProperties: (_: {}) => any;
727
+ thumbnailTool: (_: {
728
+ onToggle: any;
729
+ }) => any;
730
+ iconThumbnail: (_: {}) => any;
731
+ pageOverlay: (_: any) => any;
732
+ }>;
733
+ });
454
734
  export default _default;
455
- type __VLS_WithSlots<T, S> = T & {
456
- new (): {
457
- $slots: S;
458
- };
459
- };