@nocobase/plugin-file-manager 2.1.0-beta.35 → 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/942.9dc2d49980a4dd9e.js +10 -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
- package/dist/client-v2/942.2afbcac7b1a3c330.js +0 -10
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type PDFPageProxy = import("../src/display/api").PDFPageProxy;
|
|
2
|
+
export type StructTreeLayerBuilderOptions = {
|
|
3
|
+
pdfPage: PDFPageProxy;
|
|
4
|
+
rawDims: Object;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @typedef {Object} StructTreeLayerBuilderOptions
|
|
8
|
+
* @property {PDFPageProxy} pdfPage
|
|
9
|
+
* @property {Object} rawDims
|
|
10
|
+
*/
|
|
11
|
+
export class StructTreeLayerBuilder {
|
|
12
|
+
/**
|
|
13
|
+
* @param {StructTreeLayerBuilderOptions} options
|
|
14
|
+
*/
|
|
15
|
+
constructor(pdfPage: any, rawDims: any);
|
|
16
|
+
/**
|
|
17
|
+
* @returns {Promise<void>}
|
|
18
|
+
*/
|
|
19
|
+
render(): Promise<void>;
|
|
20
|
+
getAriaAttributes(annotationId: any): Promise<any>;
|
|
21
|
+
hide(): void;
|
|
22
|
+
show(): void;
|
|
23
|
+
updateTextLayer(): void;
|
|
24
|
+
#private;
|
|
25
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class aims to provide some methods:
|
|
3
|
+
* - to reorder elements in the DOM with respect to the visual order;
|
|
4
|
+
* - to create a link, using aria-owns, between spans in the textLayer and
|
|
5
|
+
* annotations in the annotationLayer. The goal is to help to know
|
|
6
|
+
* where the annotations are in the text flow.
|
|
7
|
+
*/
|
|
8
|
+
export class TextAccessibilityManager {
|
|
9
|
+
/**
|
|
10
|
+
* Compare the positions of two elements, it must correspond to
|
|
11
|
+
* the visual ordering.
|
|
12
|
+
*
|
|
13
|
+
* @param {HTMLElement} e1
|
|
14
|
+
* @param {HTMLElement} e2
|
|
15
|
+
* @returns {number}
|
|
16
|
+
*/
|
|
17
|
+
static "__#private@#compareElementPositions"(e1: HTMLElement, e2: HTMLElement): number;
|
|
18
|
+
setTextMapping(textDivs: any): void;
|
|
19
|
+
/**
|
|
20
|
+
* Function called when the text layer has finished rendering.
|
|
21
|
+
*/
|
|
22
|
+
enable(): void;
|
|
23
|
+
disable(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Remove an aria-owns id from a node in the text layer.
|
|
26
|
+
* @param {HTMLElement} element
|
|
27
|
+
*/
|
|
28
|
+
removePointerInTextLayer(element: HTMLElement): void;
|
|
29
|
+
/**
|
|
30
|
+
* Find the text node which is the nearest and add an aria-owns attribute
|
|
31
|
+
* in order to correctly position this editor in the text flow.
|
|
32
|
+
* @param {HTMLElement} element
|
|
33
|
+
* @param {boolean} isRemovable
|
|
34
|
+
* @returns {string|null} The id in the struct tree if any.
|
|
35
|
+
*/
|
|
36
|
+
addPointerInTextLayer(element: HTMLElement, isRemovable: boolean): string | null;
|
|
37
|
+
/**
|
|
38
|
+
* Move a div in the DOM in order to respect the visual order.
|
|
39
|
+
* @param {HTMLDivElement} element
|
|
40
|
+
* @returns {string|null} The id in the struct tree if any.
|
|
41
|
+
*/
|
|
42
|
+
moveElementInDOM(container: any, element: HTMLDivElement, contentElement: any, isRemovable: any): string | null;
|
|
43
|
+
#private;
|
|
44
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export type EventBus = import("./event_utils").EventBus;
|
|
2
|
+
export type PDFFindController = import("./pdf_find_controller").PDFFindController;
|
|
3
|
+
export type TextHighlighterOptions = {
|
|
4
|
+
findController: PDFFindController;
|
|
5
|
+
/**
|
|
6
|
+
* - The application event bus.
|
|
7
|
+
*/
|
|
8
|
+
eventBus: EventBus;
|
|
9
|
+
/**
|
|
10
|
+
* - The page index.
|
|
11
|
+
*/
|
|
12
|
+
pageIndex: number;
|
|
13
|
+
};
|
|
14
|
+
/** @typedef {import("./event_utils").EventBus} EventBus */
|
|
15
|
+
/** @typedef {import("./pdf_find_controller").PDFFindController} PDFFindController */
|
|
16
|
+
/**
|
|
17
|
+
* @typedef {Object} TextHighlighterOptions
|
|
18
|
+
* @property {PDFFindController} findController
|
|
19
|
+
* @property {EventBus} eventBus - The application event bus.
|
|
20
|
+
* @property {number} pageIndex - The page index.
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* TextHighlighter handles highlighting matches from the FindController in
|
|
24
|
+
* either the text layer or XFA layer depending on the type of document.
|
|
25
|
+
*/
|
|
26
|
+
export class TextHighlighter {
|
|
27
|
+
/**
|
|
28
|
+
* @param {TextHighlighterOptions} options
|
|
29
|
+
*/
|
|
30
|
+
constructor({ findController, eventBus, pageIndex }: TextHighlighterOptions);
|
|
31
|
+
findController: import("./pdf_find_controller").PDFFindController;
|
|
32
|
+
matches: any[];
|
|
33
|
+
eventBus: import("./event_utils").EventBus;
|
|
34
|
+
pageIdx: number;
|
|
35
|
+
textDivs: Node[] | null;
|
|
36
|
+
textContentItemsStr: string[] | null;
|
|
37
|
+
enabled: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Store two arrays that will map DOM nodes to text they should contain.
|
|
40
|
+
* The arrays should be of equal length and the array element at each index
|
|
41
|
+
* should correspond to the other. e.g.
|
|
42
|
+
* `items[0] = "<span>Item 0</span>" and texts[0] = "Item 0";
|
|
43
|
+
*
|
|
44
|
+
* @param {Array<Node>} divs
|
|
45
|
+
* @param {Array<string>} texts
|
|
46
|
+
*/
|
|
47
|
+
setTextMapping(divs: Array<Node>, texts: Array<string>): void;
|
|
48
|
+
/**
|
|
49
|
+
* Start listening for events to update the highlighter and check if there are
|
|
50
|
+
* any current matches that need be highlighted.
|
|
51
|
+
*/
|
|
52
|
+
enable(): void;
|
|
53
|
+
disable(): void;
|
|
54
|
+
_convertMatches(matches: any, matchesLength: any): {
|
|
55
|
+
begin: {
|
|
56
|
+
divIdx: number;
|
|
57
|
+
offset: number;
|
|
58
|
+
};
|
|
59
|
+
}[];
|
|
60
|
+
_renderMatches(matches: any): void;
|
|
61
|
+
_updateMatches(reset?: boolean): void;
|
|
62
|
+
#private;
|
|
63
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export type PDFPageProxy = import("../src/display/api").PDFPageProxy;
|
|
2
|
+
export type PageViewport = import("../src/display/display_utils").PageViewport;
|
|
3
|
+
export type TextHighlighter = import("./text_highlighter").TextHighlighter;
|
|
4
|
+
export type TextAccessibilityManager = import("./text_accessibility.js").TextAccessibilityManager;
|
|
5
|
+
export type TextLayerBuilderOptions = {
|
|
6
|
+
pdfPage: PDFPageProxy;
|
|
7
|
+
/**
|
|
8
|
+
* - Optional object that will handle
|
|
9
|
+
* highlighting text from the find controller.
|
|
10
|
+
*/
|
|
11
|
+
highlighter?: import("./text_highlighter").TextHighlighter | undefined;
|
|
12
|
+
accessibilityManager?: import("./text_accessibility.js").TextAccessibilityManager | undefined;
|
|
13
|
+
enablePermissions?: boolean | undefined;
|
|
14
|
+
onAppend?: Function | undefined;
|
|
15
|
+
};
|
|
16
|
+
export type TextLayerBuilderRenderOptions = {
|
|
17
|
+
viewport: PageViewport;
|
|
18
|
+
textContentParams?: Object | undefined;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} TextLayerBuilderOptions
|
|
22
|
+
* @property {PDFPageProxy} pdfPage
|
|
23
|
+
* @property {TextHighlighter} [highlighter] - Optional object that will handle
|
|
24
|
+
* highlighting text from the find controller.
|
|
25
|
+
* @property {TextAccessibilityManager} [accessibilityManager]
|
|
26
|
+
* @property {boolean} [enablePermissions]
|
|
27
|
+
* @property {function} [onAppend]
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* @typedef {Object} TextLayerBuilderRenderOptions
|
|
31
|
+
* @property {PageViewport} viewport
|
|
32
|
+
* @property {Object} [textContentParams]
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* The text layer builder provides text selection functionality for the PDF.
|
|
36
|
+
* It does this by creating overlay divs over the PDF's text. These divs
|
|
37
|
+
* contain text that matches the PDF text they are overlaying.
|
|
38
|
+
*/
|
|
39
|
+
export class TextLayerBuilder {
|
|
40
|
+
static "__#private@#textLayers": Map<any, any>;
|
|
41
|
+
static "__#private@#selectionChangeAbortController": null;
|
|
42
|
+
static "__#private@#removeGlobalSelectionListener"(textLayerDiv: any): void;
|
|
43
|
+
static "__#private@#enableGlobalSelectionListener"(): void;
|
|
44
|
+
/**
|
|
45
|
+
* @param {TextLayerBuilderOptions} options
|
|
46
|
+
*/
|
|
47
|
+
constructor({ pdfPage, highlighter, accessibilityManager, enablePermissions, onAppend, }: TextLayerBuilderOptions);
|
|
48
|
+
pdfPage: import("../src/display/api").PDFPageProxy;
|
|
49
|
+
highlighter: import("./text_highlighter").TextHighlighter;
|
|
50
|
+
accessibilityManager: import("./text_accessibility.js").TextAccessibilityManager;
|
|
51
|
+
div: HTMLDivElement;
|
|
52
|
+
/**
|
|
53
|
+
* Renders the text layer.
|
|
54
|
+
* @param {TextLayerBuilderRenderOptions} options
|
|
55
|
+
* @returns {Promise<void>}
|
|
56
|
+
*/
|
|
57
|
+
render({ viewport, textContentParams }: TextLayerBuilderRenderOptions): Promise<void>;
|
|
58
|
+
hide(): void;
|
|
59
|
+
show(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Cancel rendering of the text layer.
|
|
62
|
+
*/
|
|
63
|
+
cancel(): void;
|
|
64
|
+
#private;
|
|
65
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
export type GetPageSizeInchesParameters = {
|
|
2
|
+
view: number[];
|
|
3
|
+
userUnit: number;
|
|
4
|
+
rotate: number;
|
|
5
|
+
};
|
|
6
|
+
export type PageSize = {
|
|
7
|
+
/**
|
|
8
|
+
* - In inches.
|
|
9
|
+
*/
|
|
10
|
+
width: number;
|
|
11
|
+
/**
|
|
12
|
+
* - In inches.
|
|
13
|
+
*/
|
|
14
|
+
height: number;
|
|
15
|
+
};
|
|
16
|
+
export type GetVisibleElementsParameters = {
|
|
17
|
+
/**
|
|
18
|
+
* - A container that can possibly scroll.
|
|
19
|
+
*/
|
|
20
|
+
scrollEl: HTMLElement;
|
|
21
|
+
/**
|
|
22
|
+
* - Objects with a `div` property that contains an
|
|
23
|
+
* HTMLElement, which should all be descendants of `scrollEl` satisfying the
|
|
24
|
+
* relevant layout assumptions.
|
|
25
|
+
*/
|
|
26
|
+
views: any[];
|
|
27
|
+
/**
|
|
28
|
+
* - If `true`, the returned elements are
|
|
29
|
+
* sorted in descending order of the percent of their padding box that is
|
|
30
|
+
* visible. The default value is `false`.
|
|
31
|
+
*/
|
|
32
|
+
sortByVisibility: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* - If `true`, the elements are assumed to be
|
|
35
|
+
* laid out horizontally instead of vertically. The default value is `false`.
|
|
36
|
+
*/
|
|
37
|
+
horizontal: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* - If `true`, the `scrollEl` container is assumed to
|
|
40
|
+
* be in right-to-left mode. The default value is `false`.
|
|
41
|
+
*/
|
|
42
|
+
rtl: boolean;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Promise that is resolved when DOM window becomes visible.
|
|
46
|
+
*/
|
|
47
|
+
export const animationStarted: Promise<any>;
|
|
48
|
+
/**
|
|
49
|
+
* Converts API PageLayout values to the format used by `BaseViewer`.
|
|
50
|
+
* @param {string} layout - The API PageLayout value.
|
|
51
|
+
* @returns {Object}
|
|
52
|
+
*/
|
|
53
|
+
export function apiPageLayoutToViewerModes(layout: string): Object;
|
|
54
|
+
/**
|
|
55
|
+
* Converts API PageMode values to the format used by `PDFSidebar`.
|
|
56
|
+
* NOTE: There's also a "FullScreen" parameter which is not possible to support,
|
|
57
|
+
* since the Fullscreen API used in browsers requires that entering
|
|
58
|
+
* fullscreen mode only occurs as a result of a user-initiated event.
|
|
59
|
+
* @param {string} mode - The API PageMode value.
|
|
60
|
+
* @returns {number} A value from {SidebarView}.
|
|
61
|
+
*/
|
|
62
|
+
export function apiPageModeToSidebarView(mode: string): number;
|
|
63
|
+
/**
|
|
64
|
+
* Approximates float number as a fraction using Farey sequence (max order
|
|
65
|
+
* of 8).
|
|
66
|
+
* @param {number} x - Positive float number.
|
|
67
|
+
* @returns {Array} Estimated fraction: the first array item is a numerator,
|
|
68
|
+
* the second one is a denominator.
|
|
69
|
+
* They are both natural numbers.
|
|
70
|
+
*/
|
|
71
|
+
export function approximateFraction(x: number): any[];
|
|
72
|
+
export const AutoPrintRegExp: RegExp;
|
|
73
|
+
/**
|
|
74
|
+
* Helper function for getVisibleElements.
|
|
75
|
+
*
|
|
76
|
+
* @param {number} index - initial guess at the first visible element
|
|
77
|
+
* @param {Array} views - array of pages, into which `index` is an index
|
|
78
|
+
* @param {number} top - the top of the scroll pane
|
|
79
|
+
* @returns {number} less than or equal to `index` that is definitely at or
|
|
80
|
+
* before the first visible element in `views`, but not by too much. (Usually,
|
|
81
|
+
* this will be the first element in the first partially visible row in
|
|
82
|
+
* `views`, although sometimes it goes back one row further.)
|
|
83
|
+
*/
|
|
84
|
+
export function backtrackBeforeAllVisibleElements(index: number, views: any[], top: number): number;
|
|
85
|
+
/**
|
|
86
|
+
* Use binary search to find the index of the first item in a given array which
|
|
87
|
+
* passes a given condition. The items are expected to be sorted in the sense
|
|
88
|
+
* that if the condition is true for one item in the array, then it is also true
|
|
89
|
+
* for all following items.
|
|
90
|
+
*
|
|
91
|
+
* @returns {number} Index of the first array element to pass the test,
|
|
92
|
+
* or |items.length| if no such element exists.
|
|
93
|
+
*/
|
|
94
|
+
export function binarySearchFirstItem(items: any, condition: any, start?: number): number;
|
|
95
|
+
export const calcRound: ((x: number) => number) | ((x: any) => any);
|
|
96
|
+
export namespace CursorTool {
|
|
97
|
+
let SELECT: number;
|
|
98
|
+
let HAND: number;
|
|
99
|
+
let ZOOM: number;
|
|
100
|
+
}
|
|
101
|
+
export const DEFAULT_SCALE: 1;
|
|
102
|
+
export const DEFAULT_SCALE_DELTA: 1.1;
|
|
103
|
+
export const DEFAULT_SCALE_VALUE: "auto";
|
|
104
|
+
export const docStyle: CSSStyleDeclaration | null;
|
|
105
|
+
/**
|
|
106
|
+
* @param {number} x - A positive number to round to a multiple of `div`.
|
|
107
|
+
* @param {number} div - A natural number.
|
|
108
|
+
*/
|
|
109
|
+
export function floorToDivide(x: number, div: number): number;
|
|
110
|
+
/**
|
|
111
|
+
* Get the active or focused element in current DOM.
|
|
112
|
+
*
|
|
113
|
+
* Recursively search for the truly active or focused element in case there are
|
|
114
|
+
* shadow DOMs.
|
|
115
|
+
*
|
|
116
|
+
* @returns {Element} the truly active or focused element.
|
|
117
|
+
*/
|
|
118
|
+
export function getActiveOrFocusedElement(): Element;
|
|
119
|
+
/**
|
|
120
|
+
* @typedef {Object} GetPageSizeInchesParameters
|
|
121
|
+
* @property {number[]} view
|
|
122
|
+
* @property {number} userUnit
|
|
123
|
+
* @property {number} rotate
|
|
124
|
+
*/
|
|
125
|
+
/**
|
|
126
|
+
* @typedef {Object} PageSize
|
|
127
|
+
* @property {number} width - In inches.
|
|
128
|
+
* @property {number} height - In inches.
|
|
129
|
+
*/
|
|
130
|
+
/**
|
|
131
|
+
* Gets the size of the specified page, converted from PDF units to inches.
|
|
132
|
+
* @param {GetPageSizeInchesParameters} params
|
|
133
|
+
* @returns {PageSize}
|
|
134
|
+
*/
|
|
135
|
+
export function getPageSizeInches({ view, userUnit, rotate }: GetPageSizeInchesParameters): PageSize;
|
|
136
|
+
/**
|
|
137
|
+
* @typedef {Object} GetVisibleElementsParameters
|
|
138
|
+
* @property {HTMLElement} scrollEl - A container that can possibly scroll.
|
|
139
|
+
* @property {Array} views - Objects with a `div` property that contains an
|
|
140
|
+
* HTMLElement, which should all be descendants of `scrollEl` satisfying the
|
|
141
|
+
* relevant layout assumptions.
|
|
142
|
+
* @property {boolean} sortByVisibility - If `true`, the returned elements are
|
|
143
|
+
* sorted in descending order of the percent of their padding box that is
|
|
144
|
+
* visible. The default value is `false`.
|
|
145
|
+
* @property {boolean} horizontal - If `true`, the elements are assumed to be
|
|
146
|
+
* laid out horizontally instead of vertically. The default value is `false`.
|
|
147
|
+
* @property {boolean} rtl - If `true`, the `scrollEl` container is assumed to
|
|
148
|
+
* be in right-to-left mode. The default value is `false`.
|
|
149
|
+
*/
|
|
150
|
+
/**
|
|
151
|
+
* Generic helper to find out what elements are visible within a scroll pane.
|
|
152
|
+
*
|
|
153
|
+
* Well, pretty generic. There are some assumptions placed on the elements
|
|
154
|
+
* referenced by `views`:
|
|
155
|
+
* - If `horizontal`, no left of any earlier element is to the right of the
|
|
156
|
+
* left of any later element.
|
|
157
|
+
* - Otherwise, `views` can be split into contiguous rows where, within a row,
|
|
158
|
+
* no top of any element is below the bottom of any other element, and
|
|
159
|
+
* between rows, no bottom of any element in an earlier row is below the
|
|
160
|
+
* top of any element in a later row.
|
|
161
|
+
*
|
|
162
|
+
* (Here, top, left, etc. all refer to the padding edge of the element in
|
|
163
|
+
* question. For pages, that ends up being equivalent to the bounding box of the
|
|
164
|
+
* rendering canvas. Earlier and later refer to index in `views`, not page
|
|
165
|
+
* layout.)
|
|
166
|
+
*
|
|
167
|
+
* @param {GetVisibleElementsParameters} params
|
|
168
|
+
* @returns {Object} `{ first, last, views: [{ id, x, y, view, percent }] }`
|
|
169
|
+
*/
|
|
170
|
+
export function getVisibleElements({ scrollEl, views, sortByVisibility, horizontal, rtl, }: GetVisibleElementsParameters): Object;
|
|
171
|
+
export function isPortraitOrientation(size: any): boolean;
|
|
172
|
+
export function isValidRotation(angle: any): boolean;
|
|
173
|
+
export function isValidScrollMode(mode: any): boolean;
|
|
174
|
+
export function isValidSpreadMode(mode: any): boolean;
|
|
175
|
+
export const MAX_AUTO_SCALE: 1.25;
|
|
176
|
+
export const MAX_SCALE: 10;
|
|
177
|
+
export const MIN_SCALE: 0.1;
|
|
178
|
+
export function normalizeWheelEventDelta(evt: any): number;
|
|
179
|
+
export function normalizeWheelEventDirection(evt: any): number;
|
|
180
|
+
/**
|
|
181
|
+
* Helper function to parse query string (e.g. ?param1=value¶m2=...).
|
|
182
|
+
* @param {string} query
|
|
183
|
+
* @returns {Map}
|
|
184
|
+
*/
|
|
185
|
+
export function parseQueryString(query: string): Map<any, any>;
|
|
186
|
+
export namespace PresentationModeState {
|
|
187
|
+
let UNKNOWN: number;
|
|
188
|
+
let NORMAL: number;
|
|
189
|
+
let CHANGING: number;
|
|
190
|
+
let FULLSCREEN: number;
|
|
191
|
+
}
|
|
192
|
+
export class ProgressBar {
|
|
193
|
+
constructor(bar: any);
|
|
194
|
+
set percent(val: number);
|
|
195
|
+
get percent(): number;
|
|
196
|
+
setWidth(viewer: any): void;
|
|
197
|
+
setDisableAutoFetch(delay?: number): void;
|
|
198
|
+
hide(): void;
|
|
199
|
+
show(): void;
|
|
200
|
+
#private;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* @param {string} str
|
|
204
|
+
* @param {boolean} [replaceInvisible]
|
|
205
|
+
*/
|
|
206
|
+
export function removeNullCharacters(str: string, replaceInvisible?: boolean): string;
|
|
207
|
+
export namespace RenderingStates {
|
|
208
|
+
let INITIAL: number;
|
|
209
|
+
let RUNNING: number;
|
|
210
|
+
let PAUSED: number;
|
|
211
|
+
let FINISHED: number;
|
|
212
|
+
}
|
|
213
|
+
export const SCROLLBAR_PADDING: 40;
|
|
214
|
+
/**
|
|
215
|
+
* Scrolls specified element into view of its parent.
|
|
216
|
+
* @param {HTMLElement} element - The element to be visible.
|
|
217
|
+
* @param {Object} [spot] - An object with optional top and left properties,
|
|
218
|
+
* specifying the offset from the top left edge.
|
|
219
|
+
* @param {number} [spot.left]
|
|
220
|
+
* @param {number} [spot.top]
|
|
221
|
+
* @param {boolean} [scrollMatches] - When scrolling search results into view,
|
|
222
|
+
* ignore elements that either: Contains marked content identifiers,
|
|
223
|
+
* or have the CSS-rule `overflow: hidden;` set. The default value is `false`.
|
|
224
|
+
*/
|
|
225
|
+
export function scrollIntoView(element: HTMLElement, spot?: {
|
|
226
|
+
left?: number | undefined;
|
|
227
|
+
top?: number | undefined;
|
|
228
|
+
}, scrollMatches?: boolean): void;
|
|
229
|
+
export namespace ScrollMode {
|
|
230
|
+
let UNKNOWN_1: number;
|
|
231
|
+
export { UNKNOWN_1 as UNKNOWN };
|
|
232
|
+
export let VERTICAL: number;
|
|
233
|
+
export let HORIZONTAL: number;
|
|
234
|
+
export let WRAPPED: number;
|
|
235
|
+
export let PAGE: number;
|
|
236
|
+
}
|
|
237
|
+
export namespace SidebarView {
|
|
238
|
+
let UNKNOWN_2: number;
|
|
239
|
+
export { UNKNOWN_2 as UNKNOWN };
|
|
240
|
+
export let NONE: number;
|
|
241
|
+
export let THUMBS: number;
|
|
242
|
+
export let OUTLINE: number;
|
|
243
|
+
export let ATTACHMENTS: number;
|
|
244
|
+
export let LAYERS: number;
|
|
245
|
+
}
|
|
246
|
+
export namespace SpreadMode {
|
|
247
|
+
let UNKNOWN_3: number;
|
|
248
|
+
export { UNKNOWN_3 as UNKNOWN };
|
|
249
|
+
let NONE_1: number;
|
|
250
|
+
export { NONE_1 as NONE };
|
|
251
|
+
export let ODD: number;
|
|
252
|
+
export let EVEN: number;
|
|
253
|
+
}
|
|
254
|
+
export namespace TextLayerMode {
|
|
255
|
+
let DISABLE: number;
|
|
256
|
+
let ENABLE: number;
|
|
257
|
+
let ENABLE_PERMISSIONS: number;
|
|
258
|
+
}
|
|
259
|
+
export function toggleCheckedBtn(button: any, toggle: any, view?: null): void;
|
|
260
|
+
export function toggleExpandedBtn(button: any, toggle: any, view?: null): void;
|
|
261
|
+
export function toggleSelectedBtn(button: any, toggle: any, view?: null): void;
|
|
262
|
+
export const UNKNOWN_SCALE: 0;
|
|
263
|
+
export const VERTICAL_PADDING: 5;
|
|
264
|
+
/**
|
|
265
|
+
* Helper function to start monitoring the scroll event and converting them into
|
|
266
|
+
* PDF.js friendly one: with scroll debounce and scroll direction.
|
|
267
|
+
*/
|
|
268
|
+
export function watchScroll(viewAreaElement: any, callback: any, abortSignal?: undefined): {
|
|
269
|
+
right: boolean;
|
|
270
|
+
down: boolean;
|
|
271
|
+
lastX: any;
|
|
272
|
+
lastY: any;
|
|
273
|
+
_eventHandler: (evt: any) => void;
|
|
274
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export type PDFPageProxy = import("../src/display/api").PDFPageProxy;
|
|
2
|
+
export type AnnotationStorage = import("../src/display/annotation_storage").AnnotationStorage;
|
|
3
|
+
export type PageViewport = import("../src/display/display_utils").PageViewport;
|
|
4
|
+
export type IPDFLinkService = import("./interfaces").IPDFLinkService;
|
|
5
|
+
export type XfaLayerBuilderOptions = {
|
|
6
|
+
pdfPage: PDFPageProxy;
|
|
7
|
+
annotationStorage?: import("../src/display/annotation_storage").AnnotationStorage | undefined;
|
|
8
|
+
linkService: IPDFLinkService;
|
|
9
|
+
xfaHtml?: Object | undefined;
|
|
10
|
+
};
|
|
11
|
+
export type XfaLayerBuilderRenderOptions = {
|
|
12
|
+
viewport: PageViewport;
|
|
13
|
+
/**
|
|
14
|
+
* - The default value is "display".
|
|
15
|
+
*/
|
|
16
|
+
intent?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @typedef {Object} XfaLayerBuilderOptions
|
|
20
|
+
* @property {PDFPageProxy} pdfPage
|
|
21
|
+
* @property {AnnotationStorage} [annotationStorage]
|
|
22
|
+
* @property {IPDFLinkService} linkService
|
|
23
|
+
* @property {Object} [xfaHtml]
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* @typedef {Object} XfaLayerBuilderRenderOptions
|
|
27
|
+
* @property {PageViewport} viewport
|
|
28
|
+
* @property {string} [intent] - The default value is "display".
|
|
29
|
+
*/
|
|
30
|
+
export class XfaLayerBuilder {
|
|
31
|
+
/**
|
|
32
|
+
* @param {XfaLayerBuilderOptions} options
|
|
33
|
+
*/
|
|
34
|
+
constructor({ pdfPage, annotationStorage, linkService, xfaHtml, }: XfaLayerBuilderOptions);
|
|
35
|
+
pdfPage: import("../src/display/api").PDFPageProxy;
|
|
36
|
+
annotationStorage: import("../src/display/annotation_storage").AnnotationStorage;
|
|
37
|
+
linkService: import("./interfaces").IPDFLinkService;
|
|
38
|
+
xfaHtml: Object;
|
|
39
|
+
div: HTMLDivElement | null;
|
|
40
|
+
_cancelled: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @param {XfaLayerBuilderRenderOptions} viewport
|
|
43
|
+
* @returns {Promise<Object | void>} A promise that is resolved when rendering
|
|
44
|
+
* of the XFA layer is complete. The first rendering will return an object
|
|
45
|
+
* with a `textDivs` property that can be used with the TextHighlighter.
|
|
46
|
+
*/
|
|
47
|
+
render({ viewport, intent }: XfaLayerBuilderRenderOptions): Promise<Object | void>;
|
|
48
|
+
cancel(): void;
|
|
49
|
+
hide(): void;
|
|
50
|
+
}
|