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