@nocobase/plugin-file-manager 2.1.0-beta.36 → 2.1.0-beta.37
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/client/764.96d72bc6fd4adb28.js +15 -0
- package/dist/client/876.ca16d7a6e6387862.js +11 -0
- package/dist/client/index.js +1 -1
- package/dist/client-v2/764.d5a27ea47a2d3239.js +15 -0
- package/dist/client-v2/876.22cd8e41ac8631ed.js +11 -0
- package/dist/client-v2/index.js +1 -1
- package/dist/externalVersion.js +9 -9
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
- package/dist/node_modules/@aws-sdk/lib-storage/package.json +1 -1
- package/dist/node_modules/ali-oss/package.json +1 -1
- package/dist/node_modules/cos-nodejs-sdk-v5/package.json +1 -1
- package/dist/node_modules/mime-match/package.json +1 -1
- package/dist/node_modules/mime-types/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/pdfjs-dist/LICENSE +177 -0
- package/dist/node_modules/pdfjs-dist/build/pdf.mjs +26514 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Add-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Add-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/B5pc-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/B5pc-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS1-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS1-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS2-V.bcmap +3 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETHK-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETHK-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETen-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETen-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETenms-B5-H.bcmap +3 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETenms-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Ext-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Ext-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GB-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GB-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GB-H.bcmap +4 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GB-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBK-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBK-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBK2K-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBK2K-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBT-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBT-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBT-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBT-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKdla-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKdla-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKm314-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKm314-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKm471-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKm471-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKscs-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKscs-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Hankaku.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Hiragana.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-Johab-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-Johab-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Katakana.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/NWP-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/NWP-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Roman.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/WP-Symbol.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/iccs/CGATS001Compat-v2-micro.icc +0 -0
- package/dist/node_modules/pdfjs-dist/legacy/build/pdf.d.mts +1 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_add.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_disclaimer.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_done.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_spinner.svg +30 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_warning.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-check.svg +11 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-comment.svg +16 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-help.svg +26 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-insert.svg +10 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-key.svg +11 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-newparagraph.svg +11 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-noicon.svg +7 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-note.svg +42 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-paperclip.svg +6 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-paragraph.svg +16 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-pushpin.svg +7 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/checkmark.svg +5 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-actionsButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-closeButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-editButton.svg +8 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-popup-editButton.svg +5 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorFreeText.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorInk.svg +4 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/editor-toolbar-delete.svg +5 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/editor-toolbar-edit.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/findbarButton-next.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/findbarButton-previous.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/gv-toolbarButton-download.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/loading.svg +1 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_closingButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_info.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_warning.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_closeButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_selected.svg +7 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_viewArrow.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_viewButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-firstPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-handTool.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-lastPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-selectTool.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-bookmark.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-currentOutlineItem.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-download.svg +4 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorFreeText.svg +5 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorInk.svg +4 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorSignature.svg +6 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorStamp.svg +8 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-openFile.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-pageDown.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-pageUp.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-presentationMode.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-print.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-search.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewAttachments.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewLayers.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewOutline.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewThumbnail.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewsManagerToggle.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-zoomIn.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-zoomOut.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/treeitem-collapsed.svg +1 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/treeitem-expanded.svg +1 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/pdf_viewer.css +6989 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/pdf_viewer.d.mts +1 -0
- package/dist/node_modules/pdfjs-dist/package.json +1 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitDingbats.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixed.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerif.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSymbol.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LICENSE_FOXIT +27 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LICENSE_LIBERATION +102 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/annotation_layer.d.ts +276 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/annotation_storage.d.ts +94 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/api.d.ts +1630 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/api_utils.d.ts +13 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas.d.ts +207 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas_dependency_tracker.d.ts +160 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas_factory.d.ts +27 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/cmap_reader_factory.d.ts +25 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/content_disposition.d.ts +7 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/display_utils.d.ts +366 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/draw_layer.d.ts +22 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/alt_text.d.ts +34 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/annotation_editor_layer.d.ts +233 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/color_picker.d.ts +39 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/comment.d.ts +59 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/draw.d.ts +117 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/contour.d.ts +3 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/freedraw.d.ts +32 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/highlight.d.ts +37 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/inkdraw.d.ts +129 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/outline.d.ts +19 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/signaturedraw.d.ts +79 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/editor.d.ts +578 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/freetext.d.ts +63 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/highlight.d.ts +76 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/ink.d.ts +42 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/signature.d.ts +77 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/stamp.d.ts +49 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/toolbar.d.ts +26 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/tools.d.ts +481 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/fetch_stream.d.ts +7 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/filter_factory.d.ts +29 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/font_loader.d.ts +67 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/metadata.d.ts +10 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/network.d.ts +20 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/network_utils.d.ts +15 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/node_stream.d.ts +5 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/node_utils.d.ts +32 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/optional_content_config.d.ts +18 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/pattern_helper.d.ts +77 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/pdf_objects.d.ts +40 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/standard_fontdata_factory.d.ts +20 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/svg_factory.d.ts +14 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/text_layer.d.ts +85 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/touch_manager.d.ts +18 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/transport_stream.d.ts +10 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/wasm_factory.d.ts +20 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/worker_options.d.ts +25 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/xfa_layer.d.ts +47 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/xfa_text.d.ts +21 -0
- package/dist/node_modules/pdfjs-dist/types/src/pdf.d.ts +64 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/base_pdf_stream.d.ts +120 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/image_utils.d.ts +17 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/message_handler.d.ts +48 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/murmurhash3.d.ts +7 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/obj-bin-transform.d.ts +90 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/scripting_utils.d.ts +18 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/util.d.ts +420 -0
- package/dist/node_modules/pdfjs-dist/types/web/annotation_editor_layer_builder.d.ts +65 -0
- package/dist/node_modules/pdfjs-dist/types/web/annotation_layer_builder.d.ts +108 -0
- package/dist/node_modules/pdfjs-dist/types/web/app_options.d.ts +16 -0
- package/dist/node_modules/pdfjs-dist/types/web/autolinker.d.ts +29 -0
- package/dist/node_modules/pdfjs-dist/types/web/base_pdf_page_view.d.ts +28 -0
- package/dist/node_modules/pdfjs-dist/types/web/comment_manager.d.ts +20 -0
- package/dist/node_modules/pdfjs-dist/types/web/download_manager.d.ts +13 -0
- package/dist/node_modules/pdfjs-dist/types/web/draw_layer_builder.d.ts +22 -0
- package/dist/node_modules/pdfjs-dist/types/web/event_utils.d.ts +77 -0
- package/dist/node_modules/pdfjs-dist/types/web/generic_scripting.d.ts +8 -0
- package/dist/node_modules/pdfjs-dist/types/web/genericl10n.d.ts +22 -0
- package/dist/node_modules/pdfjs-dist/types/web/interfaces.d.ts +174 -0
- package/dist/node_modules/pdfjs-dist/types/web/l10n.d.ts +34 -0
- package/dist/node_modules/pdfjs-dist/types/web/menu.d.ts +11 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_find_controller.d.ts +134 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_find_utils.d.ts +16 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_history.d.ts +116 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_link_service.d.ts +147 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_page_detail_view.d.ts +33 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_page_view.d.ts +244 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_rendering_queue.d.ts +54 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_scripting_manager.component.d.ts +5 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_scripting_manager.d.ts +57 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_single_page_viewer.d.ts +7 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_thumbnail_view.d.ts +108 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_thumbnail_viewer.d.ts +136 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_viewer.component.d.ts +23 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_viewer.d.ts +625 -0
- package/dist/node_modules/pdfjs-dist/types/web/sidebar.d.ts +65 -0
- package/dist/node_modules/pdfjs-dist/types/web/struct_tree_layer_builder.d.ts +25 -0
- package/dist/node_modules/pdfjs-dist/types/web/text_accessibility.d.ts +44 -0
- package/dist/node_modules/pdfjs-dist/types/web/text_highlighter.d.ts +63 -0
- package/dist/node_modules/pdfjs-dist/types/web/text_layer_builder.d.ts +65 -0
- package/dist/node_modules/pdfjs-dist/types/web/ui_utils.d.ts +274 -0
- package/dist/node_modules/pdfjs-dist/types/web/xfa_layer_builder.d.ts +50 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_JBIG2 +196 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_OPENJPEG +39 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_JBIG2 +13 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_QCMS +22 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_QCMS +21 -0
- package/dist/node_modules/pdfjs-dist/wasm/jbig2.wasm +0 -0
- package/dist/node_modules/pdfjs-dist/wasm/openjpeg.wasm +0 -0
- package/dist/node_modules/pdfjs-dist/wasm/openjpeg_nowasm_fallback.js +17 -0
- package/dist/node_modules/pdfjs-dist/wasm/qcms_bg.wasm +0 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_add.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_disclaimer.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_done.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_spinner.svg +30 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_warning.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-check.svg +11 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-comment.svg +16 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-help.svg +26 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-insert.svg +10 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-key.svg +11 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-newparagraph.svg +11 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-noicon.svg +7 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-note.svg +42 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-paperclip.svg +6 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-paragraph.svg +16 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-pushpin.svg +7 -0
- package/dist/node_modules/pdfjs-dist/web/images/checkmark.svg +5 -0
- package/dist/node_modules/pdfjs-dist/web/images/comment-actionsButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/comment-closeButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/comment-editButton.svg +8 -0
- package/dist/node_modules/pdfjs-dist/web/images/comment-popup-editButton.svg +5 -0
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorFreeText.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorInk.svg +4 -0
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/node_modules/pdfjs-dist/web/images/editor-toolbar-delete.svg +5 -0
- package/dist/node_modules/pdfjs-dist/web/images/editor-toolbar-edit.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/findbarButton-next.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/findbarButton-previous.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/gv-toolbarButton-download.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/loading.svg +1 -0
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_closingButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_info.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_warning.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/pages_closeButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/pages_selected.svg +7 -0
- package/dist/node_modules/pdfjs-dist/web/images/pages_viewArrow.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/pages_viewButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-firstPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-handTool.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-lastPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-selectTool.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-bookmark.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-currentOutlineItem.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-download.svg +4 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorFreeText.svg +5 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorInk.svg +4 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorSignature.svg +6 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorStamp.svg +8 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-openFile.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-pageDown.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-pageUp.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-presentationMode.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-print.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-search.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewAttachments.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewLayers.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewOutline.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewThumbnail.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewsManagerToggle.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-zoomIn.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-zoomOut.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/treeitem-collapsed.svg +1 -0
- package/dist/node_modules/pdfjs-dist/web/images/treeitem-expanded.svg +1 -0
- package/dist/node_modules/pdfjs-dist/web/pdf_viewer.css +6989 -0
- package/dist/node_modules/pdfjs-dist/web/pdf_viewer.d.mts +1 -0
- package/dist/node_modules/url-join/package.json +1 -1
- package/dist/shared/previewer/filePreviewTypes.d.ts +1 -0
- package/dist/shared/previewer/filePreviewTypes.js +238 -6
- package/package.json +4 -5
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
export type EventBus = import("./event_utils").EventBus;
|
|
2
|
+
export type IPDFLinkService = import("./interfaces").IPDFLinkService;
|
|
3
|
+
export type PDFLinkServiceOptions = {
|
|
4
|
+
/**
|
|
5
|
+
* - The application event bus.
|
|
6
|
+
*/
|
|
7
|
+
eventBus: EventBus;
|
|
8
|
+
/**
|
|
9
|
+
* - Specifies the `target` attribute
|
|
10
|
+
* for external links. Must use one of the values from {LinkTarget}.
|
|
11
|
+
* Defaults to using no target.
|
|
12
|
+
*/
|
|
13
|
+
externalLinkTarget?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* - Specifies the `rel` attribute for
|
|
16
|
+
* external links. Defaults to stripping the referrer.
|
|
17
|
+
*/
|
|
18
|
+
externalLinkRel?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* - Ignores the zoom argument,
|
|
21
|
+
* thus preserving the current zoom level in the viewer, when navigating
|
|
22
|
+
* to internal destinations. The default value is `false`.
|
|
23
|
+
*/
|
|
24
|
+
ignoreDestinationZoom?: boolean | undefined;
|
|
25
|
+
};
|
|
26
|
+
export namespace LinkTarget {
|
|
27
|
+
let NONE: number;
|
|
28
|
+
let SELF: number;
|
|
29
|
+
let BLANK: number;
|
|
30
|
+
let PARENT: number;
|
|
31
|
+
let TOP: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @typedef {Object} PDFLinkServiceOptions
|
|
35
|
+
* @property {EventBus} eventBus - The application event bus.
|
|
36
|
+
* @property {number} [externalLinkTarget] - Specifies the `target` attribute
|
|
37
|
+
* for external links. Must use one of the values from {LinkTarget}.
|
|
38
|
+
* Defaults to using no target.
|
|
39
|
+
* @property {string} [externalLinkRel] - Specifies the `rel` attribute for
|
|
40
|
+
* external links. Defaults to stripping the referrer.
|
|
41
|
+
* @property {boolean} [ignoreDestinationZoom] - Ignores the zoom argument,
|
|
42
|
+
* thus preserving the current zoom level in the viewer, when navigating
|
|
43
|
+
* to internal destinations. The default value is `false`.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Performs navigation functions inside PDF, such as opening specified page,
|
|
47
|
+
* or destination.
|
|
48
|
+
* @implements {IPDFLinkService}
|
|
49
|
+
*/
|
|
50
|
+
export class PDFLinkService implements IPDFLinkService {
|
|
51
|
+
/**
|
|
52
|
+
* @param {PDFLinkServiceOptions} options
|
|
53
|
+
*/
|
|
54
|
+
constructor({ eventBus, externalLinkTarget, externalLinkRel, ignoreDestinationZoom, }?: PDFLinkServiceOptions);
|
|
55
|
+
externalLinkEnabled: boolean;
|
|
56
|
+
eventBus: import("./event_utils").EventBus;
|
|
57
|
+
externalLinkTarget: number;
|
|
58
|
+
externalLinkRel: string;
|
|
59
|
+
_ignoreDestinationZoom: boolean;
|
|
60
|
+
baseUrl: any;
|
|
61
|
+
pdfDocument: any;
|
|
62
|
+
pdfViewer: any;
|
|
63
|
+
pdfHistory: any;
|
|
64
|
+
setDocument(pdfDocument: any, baseUrl?: null): void;
|
|
65
|
+
setViewer(pdfViewer: any): void;
|
|
66
|
+
setHistory(pdfHistory: any): void;
|
|
67
|
+
/**
|
|
68
|
+
* @type {number}
|
|
69
|
+
*/
|
|
70
|
+
get pagesCount(): number;
|
|
71
|
+
/**
|
|
72
|
+
* @param {number} value
|
|
73
|
+
*/
|
|
74
|
+
set page(value: number);
|
|
75
|
+
/**
|
|
76
|
+
* @type {number}
|
|
77
|
+
*/
|
|
78
|
+
get page(): number;
|
|
79
|
+
/**
|
|
80
|
+
* @param {number} value
|
|
81
|
+
*/
|
|
82
|
+
set rotation(value: number);
|
|
83
|
+
/**
|
|
84
|
+
* @type {number}
|
|
85
|
+
*/
|
|
86
|
+
get rotation(): number;
|
|
87
|
+
/**
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
*/
|
|
90
|
+
get isInPresentationMode(): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* This method will, when available, also update the browser history.
|
|
93
|
+
*
|
|
94
|
+
* @param {string|Array} dest - The named, or explicit, PDF destination.
|
|
95
|
+
*/
|
|
96
|
+
goToDestination(dest: string | any[]): Promise<void>;
|
|
97
|
+
/**
|
|
98
|
+
* This method will, when available, also update the browser history.
|
|
99
|
+
*
|
|
100
|
+
* @param {number|string} val - The page number, or page label.
|
|
101
|
+
*/
|
|
102
|
+
goToPage(val: number | string): void;
|
|
103
|
+
/**
|
|
104
|
+
* Scrolls to a specific location in the PDF document.
|
|
105
|
+
* @param {number} pageNumber - The page number to scroll to.
|
|
106
|
+
* @param {number} x - The x-coordinate to scroll to in page coordinates.
|
|
107
|
+
* @param {number} y - The y-coordinate to scroll to in page coordinates.
|
|
108
|
+
* @param {Object} [options]
|
|
109
|
+
*/
|
|
110
|
+
goToXY(pageNumber: number, x: number, y: number, options?: Object): void;
|
|
111
|
+
/**
|
|
112
|
+
* Adds various attributes (href, title, target, rel) to hyperlinks.
|
|
113
|
+
* @param {HTMLAnchorElement} link
|
|
114
|
+
* @param {string} url
|
|
115
|
+
* @param {boolean} [newWindow]
|
|
116
|
+
*/
|
|
117
|
+
addLinkAttributes(link: HTMLAnchorElement, url: string, newWindow?: boolean): void;
|
|
118
|
+
/**
|
|
119
|
+
* @param {string|Array} dest - The PDF destination object.
|
|
120
|
+
* @returns {string} The hyperlink to the PDF object.
|
|
121
|
+
*/
|
|
122
|
+
getDestinationHash(dest: string | any[]): string;
|
|
123
|
+
/**
|
|
124
|
+
* Prefix the full url on anchor links to make sure that links are resolved
|
|
125
|
+
* relative to the current URL instead of the one defined in <base href>.
|
|
126
|
+
* @param {string} anchor - The anchor hash, including the #.
|
|
127
|
+
* @returns {string} The hyperlink to the PDF object.
|
|
128
|
+
*/
|
|
129
|
+
getAnchorUrl(anchor: string): string;
|
|
130
|
+
/**
|
|
131
|
+
* @param {string} hash
|
|
132
|
+
*/
|
|
133
|
+
setHash(hash: string): void;
|
|
134
|
+
/**
|
|
135
|
+
* @param {string} action
|
|
136
|
+
*/
|
|
137
|
+
executeNamedAction(action: string): void;
|
|
138
|
+
/**
|
|
139
|
+
* @param {Object} action
|
|
140
|
+
*/
|
|
141
|
+
executeSetOCGState(action: Object): Promise<void>;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @implements {IPDFLinkService}
|
|
145
|
+
*/
|
|
146
|
+
export class SimpleLinkService extends PDFLinkService implements IPDFLinkService {
|
|
147
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export type IRenderableView = import("./interfaces").IRenderableView;
|
|
2
|
+
/** @typedef {import("./interfaces").IRenderableView} IRenderableView */
|
|
3
|
+
/**
|
|
4
|
+
* @implements {IRenderableView}
|
|
5
|
+
*/
|
|
6
|
+
export class PDFPageDetailView extends BasePDFPageView implements IRenderableView {
|
|
7
|
+
constructor({ pageView }: {
|
|
8
|
+
pageView: any;
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* @type {boolean} True when the last rendering attempt of the view was
|
|
12
|
+
* cancelled due to a `.reset()` call. This will happen when
|
|
13
|
+
* the visible area changes so much during the rendering that
|
|
14
|
+
* we need to cancel the rendering and start over.
|
|
15
|
+
*/
|
|
16
|
+
renderingCancelled: boolean;
|
|
17
|
+
pageView: any;
|
|
18
|
+
renderingId: string;
|
|
19
|
+
div: any;
|
|
20
|
+
setPdfPage(pdfPage: any): void;
|
|
21
|
+
get pdfPage(): any;
|
|
22
|
+
reset({ keepCanvas }?: {
|
|
23
|
+
keepCanvas?: boolean | undefined;
|
|
24
|
+
}): void;
|
|
25
|
+
update({ visibleArea, underlyingViewUpdated }?: {
|
|
26
|
+
visibleArea?: null | undefined;
|
|
27
|
+
underlyingViewUpdated?: boolean | undefined;
|
|
28
|
+
}): void;
|
|
29
|
+
_getRenderingContext(canvas: any, transform: any): any;
|
|
30
|
+
draw(): Promise<void>;
|
|
31
|
+
#private;
|
|
32
|
+
}
|
|
33
|
+
import { BasePDFPageView } from "./base_pdf_page_view.js";
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
export type PageViewport = import("../src/display/display_utils").PageViewport;
|
|
2
|
+
export type OptionalContentConfig = import("../src/display/optional_content_config").OptionalContentConfig;
|
|
3
|
+
export type EventBus = import("./event_utils").EventBus;
|
|
4
|
+
export type IL10n = import("./interfaces").IL10n;
|
|
5
|
+
export type IRenderableView = import("./interfaces").IRenderableView;
|
|
6
|
+
export type PDFRenderingQueue = import("./pdf_rendering_queue").PDFRenderingQueue;
|
|
7
|
+
export type CommentManager = import("./comment_manager.js").CommentManager;
|
|
8
|
+
export type PDFPageViewOptions = {
|
|
9
|
+
/**
|
|
10
|
+
* - The viewer element.
|
|
11
|
+
*/
|
|
12
|
+
container?: HTMLDivElement | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* - The application event bus.
|
|
15
|
+
*/
|
|
16
|
+
eventBus: EventBus;
|
|
17
|
+
/**
|
|
18
|
+
* - The page unique ID (normally its number).
|
|
19
|
+
*/
|
|
20
|
+
id: number;
|
|
21
|
+
/**
|
|
22
|
+
* - The page scale display.
|
|
23
|
+
*/
|
|
24
|
+
scale?: number | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* - The page viewport.
|
|
27
|
+
*/
|
|
28
|
+
defaultViewport: PageViewport;
|
|
29
|
+
/**
|
|
30
|
+
* -
|
|
31
|
+
* A promise that is resolved with an {@link OptionalContentConfig} instance.
|
|
32
|
+
* The default value is `null`.
|
|
33
|
+
*/
|
|
34
|
+
optionalContentConfigPromise?: Promise<import("../src/display/optional_content_config").OptionalContentConfig> | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* - The rendering queue object.
|
|
37
|
+
*/
|
|
38
|
+
renderingQueue?: import("./pdf_rendering_queue").PDFRenderingQueue | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* - Controls if the text layer used for
|
|
41
|
+
* selection and searching is created. The constants from {TextLayerMode}
|
|
42
|
+
* should be used. The default value is `TextLayerMode.ENABLE`.
|
|
43
|
+
*/
|
|
44
|
+
textLayerMode?: number | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* - Controls if the annotation layer is
|
|
47
|
+
* created, and if interactive form elements or `AnnotationStorage`-data are
|
|
48
|
+
* being rendered. The constants from {@link AnnotationMode} should be used;
|
|
49
|
+
* see also {@link RenderParameters} and {@link GetOperatorListParameters}.
|
|
50
|
+
* The default value is `AnnotationMode.ENABLE_FORMS`.
|
|
51
|
+
*/
|
|
52
|
+
annotationMode?: number | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* - Path for image resources, mainly
|
|
55
|
+
* for annotation icons. Include trailing slash.
|
|
56
|
+
*/
|
|
57
|
+
imageResourcesPath?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* - The maximum supported canvas size in
|
|
60
|
+
* total pixels, i.e. width * height. Use `-1` for no limit, or `0` for
|
|
61
|
+
* CSS-only zooming. The default value is 4096 * 8192 (32 mega-pixels).
|
|
62
|
+
*/
|
|
63
|
+
maxCanvasPixels?: number | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* - The maximum supported canvas dimension,
|
|
66
|
+
* in either width or height. Use `-1` for no limit.
|
|
67
|
+
* The default value is 32767.
|
|
68
|
+
*/
|
|
69
|
+
maxCanvasDim?: number | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* - Cap the canvas area to the
|
|
72
|
+
* viewport increased by the value in percent. Use `-1` for no limit.
|
|
73
|
+
* The default value is 200%.
|
|
74
|
+
*/
|
|
75
|
+
capCanvasAreaFactor?: number | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* - When enabled, if the rendered
|
|
78
|
+
* pages would need a canvas that is larger than `maxCanvasPixels` or
|
|
79
|
+
* `maxCanvasDim`, it will draw a second canvas on top of the CSS-zoomed one,
|
|
80
|
+
* that only renders the part of the page that is close to the viewport.
|
|
81
|
+
* The default value is `true`.
|
|
82
|
+
*/
|
|
83
|
+
enableDetailCanvas?: boolean | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* - When enabled, PDF
|
|
86
|
+
* rendering will keep track of which areas of the page each PDF operation
|
|
87
|
+
* affects. Then, when rendering a partial page (if `enableDetailCanvas` is
|
|
88
|
+
* enabled), it will only run through the operations that affect that portion.
|
|
89
|
+
* The default value is `false`.
|
|
90
|
+
*/
|
|
91
|
+
enableOptimizedPartialRendering?: boolean | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* - Overwrites background and foreground colors
|
|
94
|
+
* with user defined ones in order to improve readability in high contrast
|
|
95
|
+
* mode.
|
|
96
|
+
*/
|
|
97
|
+
pageColors?: Object | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* - Localization service.
|
|
100
|
+
*/
|
|
101
|
+
l10n?: import("./interfaces").IL10n | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* - The object that is used to lookup
|
|
104
|
+
* the necessary layer-properties.
|
|
105
|
+
*/
|
|
106
|
+
layerProperties?: Object | undefined;
|
|
107
|
+
/**
|
|
108
|
+
* - Enable creation of hyperlinks from
|
|
109
|
+
* text that look like URLs. The default value is `true`.
|
|
110
|
+
*/
|
|
111
|
+
enableAutoLinking?: boolean | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* - The comment manager instance.
|
|
114
|
+
*/
|
|
115
|
+
commentManager?: import("./comment_manager.js").CommentManager | undefined;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @implements {IRenderableView}
|
|
119
|
+
*/
|
|
120
|
+
export class PDFPageView extends BasePDFPageView implements IRenderableView {
|
|
121
|
+
/**
|
|
122
|
+
* @param {PDFPageViewOptions} options
|
|
123
|
+
*/
|
|
124
|
+
constructor(options: PDFPageViewOptions);
|
|
125
|
+
renderingId: string;
|
|
126
|
+
pdfPage: any;
|
|
127
|
+
pageLabel: string | null;
|
|
128
|
+
rotation: number;
|
|
129
|
+
scale: number;
|
|
130
|
+
viewport: import("../src/display/display_utils").PageViewport;
|
|
131
|
+
pdfPageRotate: number;
|
|
132
|
+
_optionalContentConfigPromise: Promise<import("../src/display/optional_content_config").OptionalContentConfig> | null;
|
|
133
|
+
imageResourcesPath: string;
|
|
134
|
+
enableDetailCanvas: boolean;
|
|
135
|
+
maxCanvasPixels: any;
|
|
136
|
+
maxCanvasDim: any;
|
|
137
|
+
capCanvasAreaFactor: any;
|
|
138
|
+
l10n: import("./interfaces").IL10n | GenericL10n | undefined;
|
|
139
|
+
_isStandalone: boolean | undefined;
|
|
140
|
+
_container: HTMLDivElement | undefined;
|
|
141
|
+
_annotationCanvasMap: any;
|
|
142
|
+
annotationLayer: AnnotationLayerBuilder | null;
|
|
143
|
+
annotationEditorLayer: any;
|
|
144
|
+
textLayer: TextLayerBuilder | null;
|
|
145
|
+
xfaLayer: XfaLayerBuilder | null;
|
|
146
|
+
structTreeLayer: any;
|
|
147
|
+
drawLayer: any;
|
|
148
|
+
detailView: any;
|
|
149
|
+
div: HTMLDivElement;
|
|
150
|
+
updatePageNumber(newPageNumber: any): void;
|
|
151
|
+
setPdfPage(pdfPage: any): void;
|
|
152
|
+
destroy(): void;
|
|
153
|
+
hasEditableAnnotations(): boolean;
|
|
154
|
+
get _textHighlighter(): any;
|
|
155
|
+
reset({ keepAnnotationLayer, keepAnnotationEditorLayer, keepXfaLayer, keepTextLayer, keepCanvasWrapper, preserveDetailViewState, }?: {
|
|
156
|
+
keepAnnotationLayer?: boolean | undefined;
|
|
157
|
+
keepAnnotationEditorLayer?: boolean | undefined;
|
|
158
|
+
keepXfaLayer?: boolean | undefined;
|
|
159
|
+
keepTextLayer?: boolean | undefined;
|
|
160
|
+
keepCanvasWrapper?: boolean | undefined;
|
|
161
|
+
preserveDetailViewState?: boolean | undefined;
|
|
162
|
+
}): void;
|
|
163
|
+
toggleEditingMode(isEditing: any): void;
|
|
164
|
+
updateVisibleArea(visibleArea: any): void;
|
|
165
|
+
/**
|
|
166
|
+
* @typedef {Object} PDFPageViewUpdateParameters
|
|
167
|
+
* @property {number} [scale] The new scale, if specified.
|
|
168
|
+
* @property {number} [rotation] The new rotation, if specified.
|
|
169
|
+
* @property {Promise<OptionalContentConfig>} [optionalContentConfigPromise]
|
|
170
|
+
* A promise that is resolved with an {@link OptionalContentConfig}
|
|
171
|
+
* instance. The default value is `null`.
|
|
172
|
+
* @property {number} [drawingDelay]
|
|
173
|
+
*/
|
|
174
|
+
/**
|
|
175
|
+
* Update e.g. the scale and/or rotation of the page.
|
|
176
|
+
* @param {PDFPageViewUpdateParameters} params
|
|
177
|
+
*/
|
|
178
|
+
update({ scale, rotation, optionalContentConfigPromise, drawingDelay, }: {
|
|
179
|
+
/**
|
|
180
|
+
* The new scale, if specified.
|
|
181
|
+
*/
|
|
182
|
+
scale?: number | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* The new rotation, if specified.
|
|
185
|
+
*/
|
|
186
|
+
rotation?: number | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* A promise that is resolved with an {@link OptionalContentConfig}instance. The default value is `null`.
|
|
189
|
+
*/
|
|
190
|
+
optionalContentConfigPromise?: Promise<import("../src/display/optional_content_config").OptionalContentConfig> | undefined;
|
|
191
|
+
drawingDelay?: number | undefined;
|
|
192
|
+
}): void;
|
|
193
|
+
outputScale: OutputScale | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* PLEASE NOTE: Most likely you want to use the `this.reset()` method,
|
|
196
|
+
* rather than calling this one directly.
|
|
197
|
+
*/
|
|
198
|
+
cancelRendering({ keepAnnotationLayer, keepAnnotationEditorLayer, keepXfaLayer, keepTextLayer, cancelExtraDelay, }?: {
|
|
199
|
+
keepAnnotationLayer?: boolean | undefined;
|
|
200
|
+
keepAnnotationEditorLayer?: boolean | undefined;
|
|
201
|
+
keepXfaLayer?: boolean | undefined;
|
|
202
|
+
keepTextLayer?: boolean | undefined;
|
|
203
|
+
cancelExtraDelay?: number | undefined;
|
|
204
|
+
}): void;
|
|
205
|
+
cssTransform({ redrawAnnotationLayer, redrawAnnotationEditorLayer, redrawXfaLayer, redrawTextLayer, hideTextLayer, }: {
|
|
206
|
+
redrawAnnotationLayer?: boolean | undefined;
|
|
207
|
+
redrawAnnotationEditorLayer?: boolean | undefined;
|
|
208
|
+
redrawXfaLayer?: boolean | undefined;
|
|
209
|
+
redrawTextLayer?: boolean | undefined;
|
|
210
|
+
hideTextLayer?: boolean | undefined;
|
|
211
|
+
}): void;
|
|
212
|
+
get width(): number;
|
|
213
|
+
get height(): number;
|
|
214
|
+
getPagePoint(x: any, y: any): any[];
|
|
215
|
+
_ensureCanvasWrapper(): null;
|
|
216
|
+
_getRenderingContext(canvas: any, transform: any, recordOperations: any): {
|
|
217
|
+
canvas: any;
|
|
218
|
+
transform: any;
|
|
219
|
+
viewport: import("../src/display/display_utils").PageViewport;
|
|
220
|
+
annotationMode: number;
|
|
221
|
+
optionalContentConfigPromise: Promise<import("../src/display/optional_content_config").OptionalContentConfig> | null;
|
|
222
|
+
annotationCanvasMap: any;
|
|
223
|
+
pageColors: null;
|
|
224
|
+
isEditing: boolean;
|
|
225
|
+
recordOperations: any;
|
|
226
|
+
};
|
|
227
|
+
draw(): Promise<void>;
|
|
228
|
+
/**
|
|
229
|
+
* @param {string|null} label
|
|
230
|
+
*/
|
|
231
|
+
setPageLabel(label: string | null): void;
|
|
232
|
+
/**
|
|
233
|
+
* For use by the `PDFThumbnailView.setImage`-method.
|
|
234
|
+
* @ignore
|
|
235
|
+
*/
|
|
236
|
+
get thumbnailCanvas(): null;
|
|
237
|
+
#private;
|
|
238
|
+
}
|
|
239
|
+
import { BasePDFPageView } from "./base_pdf_page_view.js";
|
|
240
|
+
import { GenericL10n } from "./genericl10n";
|
|
241
|
+
import { AnnotationLayerBuilder } from "./annotation_layer_builder.js";
|
|
242
|
+
import { TextLayerBuilder } from "./text_layer_builder.js";
|
|
243
|
+
import { XfaLayerBuilder } from "./xfa_layer_builder.js";
|
|
244
|
+
import { OutputScale } from "../src/pdf";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export type IRenderableView = import("./interfaces").IRenderableView;
|
|
2
|
+
export type PDFViewer = import("./pdf_viewer").PDFViewer;
|
|
3
|
+
export type PDFThumbnailViewer = import("./pdf_thumbnail_viewer").PDFThumbnailViewer;
|
|
4
|
+
/**
|
|
5
|
+
* Controls rendering of the views for pages and thumbnails.
|
|
6
|
+
*/
|
|
7
|
+
export class PDFRenderingQueue {
|
|
8
|
+
pdfViewer: import("./pdf_viewer").PDFViewer | null;
|
|
9
|
+
pdfThumbnailViewer: import("./pdf_thumbnail_viewer").PDFThumbnailViewer | null;
|
|
10
|
+
onIdle: any;
|
|
11
|
+
highestPriorityPage: string | null;
|
|
12
|
+
/** @type {number} */
|
|
13
|
+
idleTimeout: number;
|
|
14
|
+
printing: boolean;
|
|
15
|
+
isThumbnailViewEnabled: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @param {PDFViewer} pdfViewer
|
|
18
|
+
*/
|
|
19
|
+
setViewer(pdfViewer: PDFViewer): void;
|
|
20
|
+
/**
|
|
21
|
+
* @param {PDFThumbnailViewer} pdfThumbnailViewer
|
|
22
|
+
*/
|
|
23
|
+
setThumbnailViewer(pdfThumbnailViewer: PDFThumbnailViewer): void;
|
|
24
|
+
/**
|
|
25
|
+
* @param {IRenderableView} view
|
|
26
|
+
* @returns {boolean}
|
|
27
|
+
*/
|
|
28
|
+
isHighestPriority(view: IRenderableView): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* @param {Object} currentlyVisiblePages
|
|
31
|
+
*/
|
|
32
|
+
renderHighestPriority(currentlyVisiblePages: Object): void;
|
|
33
|
+
/**
|
|
34
|
+
* @param {Object} visible
|
|
35
|
+
* @param {Array} views
|
|
36
|
+
* @param {boolean} scrolledDown
|
|
37
|
+
* @param {boolean} [preRenderExtra]
|
|
38
|
+
* @param {boolean} [ignoreDetailViews]
|
|
39
|
+
*/
|
|
40
|
+
getHighestPriority(visible: Object, views: any[], scrolledDown: boolean, preRenderExtra?: boolean, ignoreDetailViews?: boolean): any;
|
|
41
|
+
/**
|
|
42
|
+
* @param {IRenderableView} view
|
|
43
|
+
* @returns {boolean}
|
|
44
|
+
*/
|
|
45
|
+
isViewFinished(view: IRenderableView): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Render a page or thumbnail view. This calls the appropriate function
|
|
48
|
+
* based on the views state. If the view is already rendered it will return
|
|
49
|
+
* `false`.
|
|
50
|
+
*
|
|
51
|
+
* @param {IRenderableView} view
|
|
52
|
+
*/
|
|
53
|
+
renderView(view: IRenderableView): boolean;
|
|
54
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export type EventBus = import("./event_utils").EventBus;
|
|
2
|
+
export type PDFScriptingManagerOptions = {
|
|
3
|
+
/**
|
|
4
|
+
* - The application event bus.
|
|
5
|
+
*/
|
|
6
|
+
eventBus: EventBus;
|
|
7
|
+
/**
|
|
8
|
+
* - The path and filename of the
|
|
9
|
+
* scripting bundle.
|
|
10
|
+
*/
|
|
11
|
+
sandboxBundleSrc?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* - The factory that is used when
|
|
14
|
+
* initializing scripting; must contain a `createScripting` method.
|
|
15
|
+
* PLEASE NOTE: Primarily intended for the default viewer use-case.
|
|
16
|
+
*/
|
|
17
|
+
externalServices?: Object | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* - The function that is used to lookup
|
|
20
|
+
* the necessary document properties.
|
|
21
|
+
*/
|
|
22
|
+
docProperties?: Function | undefined;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @typedef {Object} PDFScriptingManagerOptions
|
|
26
|
+
* @property {EventBus} eventBus - The application event bus.
|
|
27
|
+
* @property {string} [sandboxBundleSrc] - The path and filename of the
|
|
28
|
+
* scripting bundle.
|
|
29
|
+
* @property {Object} [externalServices] - The factory that is used when
|
|
30
|
+
* initializing scripting; must contain a `createScripting` method.
|
|
31
|
+
* PLEASE NOTE: Primarily intended for the default viewer use-case.
|
|
32
|
+
* @property {function} [docProperties] - The function that is used to lookup
|
|
33
|
+
* the necessary document properties.
|
|
34
|
+
*/
|
|
35
|
+
export class PDFScriptingManager {
|
|
36
|
+
/**
|
|
37
|
+
* @param {PDFScriptingManagerOptions} options
|
|
38
|
+
*/
|
|
39
|
+
constructor({ eventBus, externalServices, docProperties }: PDFScriptingManagerOptions);
|
|
40
|
+
setViewer(pdfViewer: any): void;
|
|
41
|
+
setDocument(pdfDocument: any): Promise<void>;
|
|
42
|
+
dispatchWillSave(): Promise<any>;
|
|
43
|
+
dispatchDidSave(): Promise<any>;
|
|
44
|
+
dispatchWillPrint(): Promise<void>;
|
|
45
|
+
dispatchDidPrint(): Promise<any>;
|
|
46
|
+
get destroyPromise(): any;
|
|
47
|
+
get ready(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @private
|
|
50
|
+
*/
|
|
51
|
+
private get _pageOpenPending();
|
|
52
|
+
/**
|
|
53
|
+
* @private
|
|
54
|
+
*/
|
|
55
|
+
private get _visitedPages();
|
|
56
|
+
#private;
|
|
57
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export type OptionalContentConfig = import("../src/display/optional_content_config").OptionalContentConfig;
|
|
2
|
+
export type PageViewport = import("../src/display/display_utils").PageViewport;
|
|
3
|
+
export type EventBus = import("./event_utils").EventBus;
|
|
4
|
+
export type IPDFLinkService = import("./interfaces").IPDFLinkService;
|
|
5
|
+
export type IRenderableView = import("./interfaces").IRenderableView;
|
|
6
|
+
export type PDFRenderingQueue = import("./pdf_rendering_queue").PDFRenderingQueue;
|
|
7
|
+
export type PDFThumbnailViewOptions = {
|
|
8
|
+
/**
|
|
9
|
+
* - The viewer element.
|
|
10
|
+
*/
|
|
11
|
+
container: HTMLDivElement;
|
|
12
|
+
/**
|
|
13
|
+
* - The application event bus.
|
|
14
|
+
*/
|
|
15
|
+
eventBus: EventBus;
|
|
16
|
+
/**
|
|
17
|
+
* - The thumbnail's unique ID (normally its number).
|
|
18
|
+
*/
|
|
19
|
+
id: number;
|
|
20
|
+
/**
|
|
21
|
+
* - The page viewport.
|
|
22
|
+
*/
|
|
23
|
+
defaultViewport: PageViewport;
|
|
24
|
+
/**
|
|
25
|
+
* -
|
|
26
|
+
* A promise that is resolved with an {@link OptionalContentConfig} instance.
|
|
27
|
+
* The default value is `null`.
|
|
28
|
+
*/
|
|
29
|
+
optionalContentConfigPromise?: Promise<import("../src/display/optional_content_config").OptionalContentConfig> | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* - The navigation/linking service.
|
|
32
|
+
*/
|
|
33
|
+
linkService: IPDFLinkService;
|
|
34
|
+
/**
|
|
35
|
+
* - The rendering queue object.
|
|
36
|
+
*/
|
|
37
|
+
renderingQueue: PDFRenderingQueue;
|
|
38
|
+
/**
|
|
39
|
+
* - The maximum supported canvas size in
|
|
40
|
+
* total pixels, i.e. width * height. Use `-1` for no limit, or `0` for
|
|
41
|
+
* CSS-only zooming. The default value is 4096 * 8192 (32 mega-pixels).
|
|
42
|
+
*/
|
|
43
|
+
maxCanvasPixels?: number | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* - The maximum supported canvas dimension,
|
|
46
|
+
* in either width or height. Use `-1` for no limit.
|
|
47
|
+
* The default value is 32767.
|
|
48
|
+
*/
|
|
49
|
+
maxCanvasDim?: number | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* - Overwrites background and foreground colors
|
|
52
|
+
* with user defined ones in order to improve readability in high contrast
|
|
53
|
+
* mode.
|
|
54
|
+
*/
|
|
55
|
+
pageColors?: Object | undefined;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* @implements {IRenderableView}
|
|
59
|
+
*/
|
|
60
|
+
export class PDFThumbnailView implements IRenderableView {
|
|
61
|
+
/**
|
|
62
|
+
* @param {PDFThumbnailViewOptions} options
|
|
63
|
+
*/
|
|
64
|
+
constructor({ container, eventBus, id, defaultViewport, optionalContentConfigPromise, linkService, renderingQueue, maxCanvasPixels, maxCanvasDim, pageColors, enableSplitMerge, }: PDFThumbnailViewOptions);
|
|
65
|
+
id: number;
|
|
66
|
+
renderingId: string;
|
|
67
|
+
pageLabel: string | null;
|
|
68
|
+
pdfPage: any;
|
|
69
|
+
rotation: number;
|
|
70
|
+
viewport: import("../src/display/display_utils").PageViewport;
|
|
71
|
+
pdfPageRotate: number;
|
|
72
|
+
_optionalContentConfigPromise: Promise<import("../src/display/optional_content_config").OptionalContentConfig> | null;
|
|
73
|
+
maxCanvasPixels: any;
|
|
74
|
+
maxCanvasDim: any;
|
|
75
|
+
pageColors: Object | null;
|
|
76
|
+
eventBus: import("./event_utils").EventBus;
|
|
77
|
+
linkService: import("./interfaces").IPDFLinkService;
|
|
78
|
+
renderingQueue: import("./pdf_rendering_queue").PDFRenderingQueue;
|
|
79
|
+
renderTask: any;
|
|
80
|
+
renderingState: number;
|
|
81
|
+
resume: (() => void) | null;
|
|
82
|
+
placeholder: any;
|
|
83
|
+
div: HTMLDivElement;
|
|
84
|
+
checkbox: HTMLInputElement | undefined;
|
|
85
|
+
image: HTMLImageElement;
|
|
86
|
+
updateId(newId: any): void;
|
|
87
|
+
canvasWidth: number | undefined;
|
|
88
|
+
canvasHeight: number | undefined;
|
|
89
|
+
scale: number | undefined;
|
|
90
|
+
setPdfPage(pdfPage: any): void;
|
|
91
|
+
reset(): void;
|
|
92
|
+
update({ rotation }: {
|
|
93
|
+
rotation?: null | undefined;
|
|
94
|
+
}): void;
|
|
95
|
+
toggleCurrent(isCurrent: any): void;
|
|
96
|
+
/**
|
|
97
|
+
* PLEASE NOTE: Most likely you want to use the `this.reset()` method,
|
|
98
|
+
* rather than calling this one directly.
|
|
99
|
+
*/
|
|
100
|
+
cancelRendering(): void;
|
|
101
|
+
draw(): Promise<void>;
|
|
102
|
+
setImage(pageView: any): void;
|
|
103
|
+
/**
|
|
104
|
+
* @param {string|null} label
|
|
105
|
+
*/
|
|
106
|
+
setPageLabel(label: string | null): void;
|
|
107
|
+
#private;
|
|
108
|
+
}
|