@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,29 @@
|
|
|
1
|
+
export class BaseFilterFactory {
|
|
2
|
+
addFilter(maps: any): string;
|
|
3
|
+
addHCMFilter(fgColor: any, bgColor: any): string;
|
|
4
|
+
addAlphaFilter(map: any): string;
|
|
5
|
+
addLuminosityFilter(map: any): string;
|
|
6
|
+
addHighlightHCMFilter(filterName: any, fgColor: any, bgColor: any, newFgColor: any, newBgColor: any): string;
|
|
7
|
+
destroy(keepHCM?: boolean): void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* FilterFactory aims to create some SVG filters we can use when drawing an
|
|
11
|
+
* image (or whatever) on a canvas.
|
|
12
|
+
* Filters aren't applied with ctx.putImageData because it just overwrites the
|
|
13
|
+
* underlying pixels.
|
|
14
|
+
* With these filters, it's possible for example to apply some transfer maps on
|
|
15
|
+
* an image without the need to apply them on the pixel arrays: the renderer
|
|
16
|
+
* does the magic for us.
|
|
17
|
+
*/
|
|
18
|
+
export class DOMFilterFactory extends BaseFilterFactory {
|
|
19
|
+
constructor({ docId, ownerDocument }: {
|
|
20
|
+
docId: any;
|
|
21
|
+
ownerDocument?: Document | undefined;
|
|
22
|
+
});
|
|
23
|
+
addFilter(maps: any): any;
|
|
24
|
+
addHCMFilter(fgColor: any, bgColor: any): any;
|
|
25
|
+
addAlphaFilter(map: any): any;
|
|
26
|
+
addLuminosityFilter(map: any): any;
|
|
27
|
+
addHighlightHCMFilter(filterName: any, fgColor: any, bgColor: any, newFgColor: any, newBgColor: any): any;
|
|
28
|
+
#private;
|
|
29
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export class FontFaceObject {
|
|
2
|
+
constructor(translatedData: any, inspectFont: null | undefined, extra: any, charProcOperatorList: any);
|
|
3
|
+
compiledGlyphs: any;
|
|
4
|
+
_inspectFont: any;
|
|
5
|
+
charProcOperatorList: any;
|
|
6
|
+
createNativeFontFace(): FontFace | null;
|
|
7
|
+
createFontFaceRule(): string | null;
|
|
8
|
+
getPathGenerator(objs: any, character: any): any;
|
|
9
|
+
get black(): any;
|
|
10
|
+
get bold(): any;
|
|
11
|
+
set disableFontFace(value: any);
|
|
12
|
+
get disableFontFace(): any;
|
|
13
|
+
get fontExtraProperties(): any;
|
|
14
|
+
get isInvalidPDFjsFont(): any;
|
|
15
|
+
get isType3Font(): any;
|
|
16
|
+
get italic(): any;
|
|
17
|
+
get missingFile(): any;
|
|
18
|
+
get remeasure(): any;
|
|
19
|
+
get vertical(): any;
|
|
20
|
+
get ascent(): any;
|
|
21
|
+
get defaultWidth(): any;
|
|
22
|
+
get descent(): any;
|
|
23
|
+
set bbox(bbox: any);
|
|
24
|
+
get bbox(): any;
|
|
25
|
+
get fontMatrix(): any;
|
|
26
|
+
get fallbackName(): any;
|
|
27
|
+
get loadedName(): any;
|
|
28
|
+
get mimetype(): any;
|
|
29
|
+
get name(): any;
|
|
30
|
+
get data(): any;
|
|
31
|
+
clearData(): void;
|
|
32
|
+
get cssFontInfo(): any;
|
|
33
|
+
get systemFontInfo(): any;
|
|
34
|
+
get defaultVMetrics(): any;
|
|
35
|
+
#private;
|
|
36
|
+
}
|
|
37
|
+
export class FontLoader {
|
|
38
|
+
constructor({ ownerDocument, styleElement, }: {
|
|
39
|
+
ownerDocument?: Document | undefined;
|
|
40
|
+
styleElement?: null | undefined;
|
|
41
|
+
});
|
|
42
|
+
_document: Document;
|
|
43
|
+
nativeFontFaces: Set<any>;
|
|
44
|
+
styleElement: HTMLStyleElement | null;
|
|
45
|
+
loadingRequests: any[] | undefined;
|
|
46
|
+
loadTestFontId: number | undefined;
|
|
47
|
+
addNativeFontFace(nativeFontFace: any): void;
|
|
48
|
+
removeNativeFontFace(nativeFontFace: any): void;
|
|
49
|
+
insertRule(rule: any): void;
|
|
50
|
+
clear(): void;
|
|
51
|
+
loadSystemFont({ systemFontInfo: info, disableFontFace, _inspectFont, }: {
|
|
52
|
+
systemFontInfo: any;
|
|
53
|
+
disableFontFace: any;
|
|
54
|
+
_inspectFont: any;
|
|
55
|
+
}): Promise<void>;
|
|
56
|
+
bind(font: any): Promise<void>;
|
|
57
|
+
get isFontLoadingAPISupported(): any;
|
|
58
|
+
get isSyncFontLoadingSupported(): any;
|
|
59
|
+
_queueLoadingCallback(callback: any): {
|
|
60
|
+
done: boolean;
|
|
61
|
+
complete: () => void;
|
|
62
|
+
callback: any;
|
|
63
|
+
};
|
|
64
|
+
get _loadTestFont(): any;
|
|
65
|
+
_prepareFontLoadEvent(font: any, request: any): void;
|
|
66
|
+
#private;
|
|
67
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export class PDFNetworkStream extends BasePDFStream {
|
|
2
|
+
constructor(source: any);
|
|
3
|
+
_responseOrigin: null;
|
|
4
|
+
url: any;
|
|
5
|
+
isHttp: boolean;
|
|
6
|
+
headers: Headers;
|
|
7
|
+
/**
|
|
8
|
+
* @ignore
|
|
9
|
+
*/
|
|
10
|
+
_request(args: any): XMLHttpRequest;
|
|
11
|
+
/**
|
|
12
|
+
* Abort the request, if it's pending.
|
|
13
|
+
* @ignore
|
|
14
|
+
*/
|
|
15
|
+
_abortRequest(xhr: any): void;
|
|
16
|
+
getRangeReader(begin: any, end: any): BasePDFStreamRangeReader;
|
|
17
|
+
#private;
|
|
18
|
+
}
|
|
19
|
+
import { BasePDFStream } from "../shared/base_pdf_stream.js";
|
|
20
|
+
import { BasePDFStreamRangeReader } from "../shared/base_pdf_stream.js";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function createHeaders(isHttp: any, httpHeaders: any): Headers;
|
|
2
|
+
export function createResponseError(status: any, url: any): ResponseException;
|
|
3
|
+
export function ensureResponseOrigin(rangeOrigin: any, origin: any): void;
|
|
4
|
+
export function extractFilenameFromHeader(responseHeaders: any): string | null;
|
|
5
|
+
export function getResponseOrigin(url: any): string | null;
|
|
6
|
+
export function validateRangeRequestCapabilities({ responseHeaders, isHttp, rangeChunkSize, disableRange, }: {
|
|
7
|
+
responseHeaders: any;
|
|
8
|
+
isHttp: any;
|
|
9
|
+
rangeChunkSize: any;
|
|
10
|
+
disableRange: any;
|
|
11
|
+
}): {
|
|
12
|
+
allowRangeRequests: boolean;
|
|
13
|
+
suggestedLength: undefined;
|
|
14
|
+
};
|
|
15
|
+
import { ResponseException } from "../shared/util.js";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function fetchData(url: any): Promise<Uint8Array<ArrayBuffer>>;
|
|
2
|
+
export class NodeCanvasFactory extends BaseCanvasFactory {
|
|
3
|
+
/**
|
|
4
|
+
* @ignore
|
|
5
|
+
*/
|
|
6
|
+
_createCanvas(width: any, height: any): import("@napi-rs/canvas").Canvas;
|
|
7
|
+
}
|
|
8
|
+
export class NodeCMapReaderFactory extends BaseCMapReaderFactory {
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
*/
|
|
12
|
+
_fetch(url: any): Promise<Uint8Array<ArrayBuffer>>;
|
|
13
|
+
}
|
|
14
|
+
export class NodeFilterFactory extends BaseFilterFactory {
|
|
15
|
+
}
|
|
16
|
+
export class NodeStandardFontDataFactory extends BaseStandardFontDataFactory {
|
|
17
|
+
/**
|
|
18
|
+
* @ignore
|
|
19
|
+
*/
|
|
20
|
+
_fetch(url: any): Promise<Uint8Array<ArrayBuffer>>;
|
|
21
|
+
}
|
|
22
|
+
export class NodeWasmFactory extends BaseWasmFactory {
|
|
23
|
+
/**
|
|
24
|
+
* @ignore
|
|
25
|
+
*/
|
|
26
|
+
_fetch(url: any): Promise<Uint8Array<ArrayBuffer>>;
|
|
27
|
+
}
|
|
28
|
+
import { BaseCanvasFactory } from "./canvas_factory.js";
|
|
29
|
+
import { BaseCMapReaderFactory } from "./cmap_reader_factory.js";
|
|
30
|
+
import { BaseFilterFactory } from "./filter_factory.js";
|
|
31
|
+
import { BaseStandardFontDataFactory } from "./standard_fontdata_factory.js";
|
|
32
|
+
import { BaseWasmFactory } from "./wasm_factory.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export class OptionalContentConfig {
|
|
2
|
+
constructor(data: any, renderingIntent?: number);
|
|
3
|
+
renderingIntent: number;
|
|
4
|
+
name: any;
|
|
5
|
+
creator: any;
|
|
6
|
+
isVisible(group: any): any;
|
|
7
|
+
setVisibility(id: any, visible?: boolean, preserveRB?: boolean): void;
|
|
8
|
+
setOCGState({ state, preserveRB }: {
|
|
9
|
+
state: any;
|
|
10
|
+
preserveRB: any;
|
|
11
|
+
}): void;
|
|
12
|
+
get hasInitialVisibility(): boolean;
|
|
13
|
+
getOrder(): any;
|
|
14
|
+
getGroup(id: any): any;
|
|
15
|
+
getHash(): string;
|
|
16
|
+
[Symbol.iterator](): MapIterator<[any, any]>;
|
|
17
|
+
#private;
|
|
18
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
export function getShadingPattern(IR: any): RadialAxialShadingPattern | MeshShadingPattern | DummyShadingPattern;
|
|
2
|
+
export namespace PathType {
|
|
3
|
+
let FILL: string;
|
|
4
|
+
let STROKE: string;
|
|
5
|
+
let SHADING: string;
|
|
6
|
+
}
|
|
7
|
+
export class TilingPattern {
|
|
8
|
+
static MAX_PATTERN_SIZE: number;
|
|
9
|
+
constructor(IR: any, ctx: any, canvasGraphicsFactory: any, baseTransform: any);
|
|
10
|
+
color: any;
|
|
11
|
+
operatorList: any;
|
|
12
|
+
matrix: any;
|
|
13
|
+
bbox: any;
|
|
14
|
+
xstep: any;
|
|
15
|
+
ystep: any;
|
|
16
|
+
paintType: any;
|
|
17
|
+
tilingType: any;
|
|
18
|
+
ctx: any;
|
|
19
|
+
canvasGraphicsFactory: any;
|
|
20
|
+
baseTransform: any;
|
|
21
|
+
createPatternCanvas(owner: any, opIdx: any): {
|
|
22
|
+
canvas: any;
|
|
23
|
+
scaleX: any;
|
|
24
|
+
scaleY: any;
|
|
25
|
+
offsetX: any;
|
|
26
|
+
offsetY: any;
|
|
27
|
+
};
|
|
28
|
+
getSizeAndScale(step: any, realOutputSize: any, scale: any): {
|
|
29
|
+
scale: any;
|
|
30
|
+
size: number;
|
|
31
|
+
};
|
|
32
|
+
clipBbox(graphics: any, x0: any, y0: any, x1: any, y1: any): void;
|
|
33
|
+
setFillAndStrokeStyleToContext(graphics: any, paintType: any, color: any): void;
|
|
34
|
+
isModifyingCurrentTransform(): boolean;
|
|
35
|
+
getPattern(ctx: any, owner: any, inverse: any, pathType: any, opIdx: any): any;
|
|
36
|
+
}
|
|
37
|
+
declare class RadialAxialShadingPattern extends BaseShadingPattern {
|
|
38
|
+
constructor(IR: any);
|
|
39
|
+
_type: any;
|
|
40
|
+
_bbox: any;
|
|
41
|
+
_colorStops: any;
|
|
42
|
+
_p0: any;
|
|
43
|
+
_p1: any;
|
|
44
|
+
_r0: any;
|
|
45
|
+
_r1: any;
|
|
46
|
+
matrix: any;
|
|
47
|
+
isOriginBased(): boolean;
|
|
48
|
+
isRadial(): boolean;
|
|
49
|
+
_createGradient(ctx: any, transform?: null): any;
|
|
50
|
+
getPattern(ctx: any, owner: any, inverse: any, pathType: any): any;
|
|
51
|
+
}
|
|
52
|
+
declare class MeshShadingPattern extends BaseShadingPattern {
|
|
53
|
+
constructor(IR: any);
|
|
54
|
+
_coords: any;
|
|
55
|
+
_colors: any;
|
|
56
|
+
_figures: any;
|
|
57
|
+
_bounds: any;
|
|
58
|
+
_bbox: any;
|
|
59
|
+
_background: any;
|
|
60
|
+
matrix: any;
|
|
61
|
+
_createMeshCanvas(combinedScale: any, backgroundColor: any, cachedCanvases: any): {
|
|
62
|
+
canvas: any;
|
|
63
|
+
offsetX: number;
|
|
64
|
+
offsetY: number;
|
|
65
|
+
scaleX: number;
|
|
66
|
+
scaleY: number;
|
|
67
|
+
};
|
|
68
|
+
getPattern(ctx: any, owner: any, inverse: any, pathType: any): any;
|
|
69
|
+
}
|
|
70
|
+
declare class DummyShadingPattern extends BaseShadingPattern {
|
|
71
|
+
getPattern(): string;
|
|
72
|
+
}
|
|
73
|
+
declare class BaseShadingPattern {
|
|
74
|
+
isModifyingCurrentTransform(): boolean;
|
|
75
|
+
getPattern(): void;
|
|
76
|
+
}
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A PDF document and page is built of many objects. E.g. there are objects for
|
|
3
|
+
* fonts, images, rendering code, etc. These objects may get processed inside of
|
|
4
|
+
* a worker. This class implements some basic methods to manage these objects.
|
|
5
|
+
*/
|
|
6
|
+
export class PDFObjects {
|
|
7
|
+
/**
|
|
8
|
+
* If called *without* callback, this returns the data of `objId` but the
|
|
9
|
+
* object needs to be resolved. If it isn't, this method throws.
|
|
10
|
+
*
|
|
11
|
+
* If called *with* a callback, the callback is called with the data of the
|
|
12
|
+
* object once the object is resolved. That means, if you call this method
|
|
13
|
+
* and the object is already resolved, the callback gets called right away.
|
|
14
|
+
*
|
|
15
|
+
* @param {string} objId
|
|
16
|
+
* @param {function} [callback]
|
|
17
|
+
* @returns {any}
|
|
18
|
+
*/
|
|
19
|
+
get(objId: string, callback?: Function): any;
|
|
20
|
+
/**
|
|
21
|
+
* @param {string} objId
|
|
22
|
+
* @returns {boolean}
|
|
23
|
+
*/
|
|
24
|
+
has(objId: string): boolean;
|
|
25
|
+
/**
|
|
26
|
+
* @param {string} objId
|
|
27
|
+
* @returns {boolean}
|
|
28
|
+
*/
|
|
29
|
+
delete(objId: string): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Resolves the object `objId` with optional `data`.
|
|
32
|
+
*
|
|
33
|
+
* @param {string} objId
|
|
34
|
+
* @param {any} [data]
|
|
35
|
+
*/
|
|
36
|
+
resolve(objId: string, data?: any): void;
|
|
37
|
+
clear(): void;
|
|
38
|
+
[Symbol.iterator](): Generator<any[], void, unknown>;
|
|
39
|
+
#private;
|
|
40
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export class BaseStandardFontDataFactory {
|
|
2
|
+
constructor({ baseUrl }: {
|
|
3
|
+
baseUrl?: null | undefined;
|
|
4
|
+
});
|
|
5
|
+
baseUrl: any;
|
|
6
|
+
fetch({ filename }: {
|
|
7
|
+
filename: any;
|
|
8
|
+
}): Promise<Uint8Array<ArrayBufferLike>>;
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
* @returns {Promise<Uint8Array>}
|
|
12
|
+
*/
|
|
13
|
+
_fetch(url: any): Promise<Uint8Array>;
|
|
14
|
+
}
|
|
15
|
+
export class DOMStandardFontDataFactory extends BaseStandardFontDataFactory {
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
19
|
+
_fetch(url: any): Promise<Uint8Array<any>>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export class BaseSVGFactory {
|
|
2
|
+
create(width: any, height: any, skipDimensions?: boolean): void;
|
|
3
|
+
createElement(type: any): void;
|
|
4
|
+
/**
|
|
5
|
+
* @ignore
|
|
6
|
+
*/
|
|
7
|
+
_createSVG(type: any): void;
|
|
8
|
+
}
|
|
9
|
+
export class DOMSVGFactory extends BaseSVGFactory {
|
|
10
|
+
/**
|
|
11
|
+
* @ignore
|
|
12
|
+
*/
|
|
13
|
+
_createSVG(type: any): any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export type PageViewport = import("./display_utils").PageViewport;
|
|
2
|
+
export type TextContent = import("./api").TextContent;
|
|
3
|
+
export type TextLayerParameters = {
|
|
4
|
+
/**
|
|
5
|
+
* - Text content to
|
|
6
|
+
* render, i.e. the value returned by the page's `streamTextContent` or
|
|
7
|
+
* `getTextContent` method.
|
|
8
|
+
*/
|
|
9
|
+
textContentSource: ReadableStream | TextContent;
|
|
10
|
+
/**
|
|
11
|
+
* - The DOM node that will contain the text
|
|
12
|
+
* runs.
|
|
13
|
+
*/
|
|
14
|
+
container: HTMLElement;
|
|
15
|
+
/**
|
|
16
|
+
* - The target viewport to properly layout
|
|
17
|
+
* the text runs.
|
|
18
|
+
*/
|
|
19
|
+
viewport: PageViewport;
|
|
20
|
+
};
|
|
21
|
+
export type TextLayerUpdateParameters = {
|
|
22
|
+
/**
|
|
23
|
+
* - The target viewport to properly layout
|
|
24
|
+
* the text runs.
|
|
25
|
+
*/
|
|
26
|
+
viewport: PageViewport;
|
|
27
|
+
/**
|
|
28
|
+
* - Callback invoked before the textLayer is
|
|
29
|
+
* updated in the DOM.
|
|
30
|
+
*/
|
|
31
|
+
onBefore?: Function | undefined;
|
|
32
|
+
};
|
|
33
|
+
export class TextLayer {
|
|
34
|
+
static "__#private@#ascentCache": Map<any, any>;
|
|
35
|
+
static "__#private@#canvasContexts": Map<any, any>;
|
|
36
|
+
static "__#private@#canvasCtxFonts": WeakMap<object, any>;
|
|
37
|
+
static "__#private@#minFontSize": null;
|
|
38
|
+
static "__#private@#pendingTextLayers": Set<any>;
|
|
39
|
+
static get fontFamilyMap(): any;
|
|
40
|
+
/**
|
|
41
|
+
* Clean-up global textLayer data.
|
|
42
|
+
* @returns {undefined}
|
|
43
|
+
*/
|
|
44
|
+
static cleanup(): undefined;
|
|
45
|
+
static "__#private@#getCtx"(lang?: null): any;
|
|
46
|
+
static "__#private@#ensureCtxFont"(ctx: any, size: any, family: any): void;
|
|
47
|
+
/**
|
|
48
|
+
* Compute the minimum font size enforced by the browser.
|
|
49
|
+
*/
|
|
50
|
+
static "__#private@#ensureMinFontSizeComputed"(): void;
|
|
51
|
+
static "__#private@#getAscent"(fontFamily: any, style: any, lang: any): any;
|
|
52
|
+
/**
|
|
53
|
+
* @param {TextLayerParameters} options
|
|
54
|
+
*/
|
|
55
|
+
constructor({ textContentSource, container, viewport }: TextLayerParameters);
|
|
56
|
+
/**
|
|
57
|
+
* Render the textLayer.
|
|
58
|
+
* @returns {Promise}
|
|
59
|
+
*/
|
|
60
|
+
render(): Promise<any>;
|
|
61
|
+
/**
|
|
62
|
+
* Update a previously rendered textLayer, if necessary.
|
|
63
|
+
* @param {TextLayerUpdateParameters} options
|
|
64
|
+
* @returns {undefined}
|
|
65
|
+
*/
|
|
66
|
+
update({ viewport, onBefore }: TextLayerUpdateParameters): undefined;
|
|
67
|
+
/**
|
|
68
|
+
* Cancel rendering of the textLayer.
|
|
69
|
+
* @returns {undefined}
|
|
70
|
+
*/
|
|
71
|
+
cancel(): undefined;
|
|
72
|
+
/**
|
|
73
|
+
* @type {Array<HTMLElement>} HTML elements that correspond to the text items
|
|
74
|
+
* of the textContent input.
|
|
75
|
+
* This is output and will initially be set to an empty array.
|
|
76
|
+
*/
|
|
77
|
+
get textDivs(): Array<HTMLElement>;
|
|
78
|
+
/**
|
|
79
|
+
* @type {Array<string>} Strings that correspond to the `str` property of
|
|
80
|
+
* the text items of the textContent input.
|
|
81
|
+
* This is output and will initially be set to an empty array
|
|
82
|
+
*/
|
|
83
|
+
get textContentItemsStr(): Array<string>;
|
|
84
|
+
#private;
|
|
85
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export class TouchManager {
|
|
2
|
+
constructor({ container, isPinchingDisabled, isPinchingStopped, onPinchStart, onPinching, onPinchEnd, signal, }: {
|
|
3
|
+
container: any;
|
|
4
|
+
isPinchingDisabled?: null | undefined;
|
|
5
|
+
isPinchingStopped?: null | undefined;
|
|
6
|
+
onPinchStart?: null | undefined;
|
|
7
|
+
onPinching?: null | undefined;
|
|
8
|
+
onPinchEnd?: null | undefined;
|
|
9
|
+
signal: any;
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* NOTE: Don't shadow this value since `devicePixelRatio` may change if the
|
|
13
|
+
* window resolution changes, e.g. if the viewer is moved to another monitor.
|
|
14
|
+
*/
|
|
15
|
+
get MIN_TOUCH_DISTANCE_TO_PINCH(): number;
|
|
16
|
+
destroy(): void;
|
|
17
|
+
#private;
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export class PDFDataTransportStream extends BasePDFStream {
|
|
2
|
+
constructor(source: any);
|
|
3
|
+
_progressiveDone: boolean;
|
|
4
|
+
_queuedChunks: any[];
|
|
5
|
+
getRangeReader(begin: any, end: any): BasePDFStreamRangeReader;
|
|
6
|
+
cancelAllRequests(reason: any): void;
|
|
7
|
+
#private;
|
|
8
|
+
}
|
|
9
|
+
import { BasePDFStream } from "../shared/base_pdf_stream.js";
|
|
10
|
+
import { BasePDFStreamRangeReader } from "../shared/base_pdf_stream.js";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export class BaseWasmFactory {
|
|
2
|
+
constructor({ baseUrl }: {
|
|
3
|
+
baseUrl?: null | undefined;
|
|
4
|
+
});
|
|
5
|
+
baseUrl: any;
|
|
6
|
+
fetch({ filename }: {
|
|
7
|
+
filename: any;
|
|
8
|
+
}): Promise<Uint8Array<ArrayBufferLike>>;
|
|
9
|
+
/**
|
|
10
|
+
* @ignore
|
|
11
|
+
* @returns {Promise<Uint8Array>}
|
|
12
|
+
*/
|
|
13
|
+
_fetch(url: any): Promise<Uint8Array>;
|
|
14
|
+
}
|
|
15
|
+
export class DOMWasmFactory extends BaseWasmFactory {
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
19
|
+
_fetch(url: any): Promise<Uint8Array<any>>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export class GlobalWorkerOptions {
|
|
2
|
+
static "__#private@#port": null;
|
|
3
|
+
static "__#private@#src": string;
|
|
4
|
+
/**
|
|
5
|
+
* @param {Worker | null} workerPort - Defines global port for worker process.
|
|
6
|
+
* Overrides the `workerSrc` option.
|
|
7
|
+
*/
|
|
8
|
+
static set workerPort(val: Worker | null);
|
|
9
|
+
/**
|
|
10
|
+
* @type {Worker | null}
|
|
11
|
+
*/
|
|
12
|
+
static get workerPort(): Worker | null;
|
|
13
|
+
/**
|
|
14
|
+
* @param {string} workerSrc - A string containing the path and filename of
|
|
15
|
+
* the worker file.
|
|
16
|
+
*
|
|
17
|
+
* NOTE: The `workerSrc` option should always be set, in order to prevent
|
|
18
|
+
* any issues when using the PDF.js library.
|
|
19
|
+
*/
|
|
20
|
+
static set workerSrc(val: string);
|
|
21
|
+
/**
|
|
22
|
+
* @type {string}
|
|
23
|
+
*/
|
|
24
|
+
static get workerSrc(): string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export type AnnotationStorage = import("./annotation_storage").AnnotationStorage;
|
|
2
|
+
export type PageViewport = import("./display_utils").PageViewport;
|
|
3
|
+
export type IPDFLinkService = import("../../web/interfaces").IPDFLinkService;
|
|
4
|
+
export type XfaLayerParameters = {
|
|
5
|
+
viewport: PageViewport;
|
|
6
|
+
div: HTMLDivElement;
|
|
7
|
+
xfaHtml: Object;
|
|
8
|
+
annotationStorage?: import("./annotation_storage").AnnotationStorage | undefined;
|
|
9
|
+
linkService: IPDFLinkService;
|
|
10
|
+
/**
|
|
11
|
+
* - (default value is 'display').
|
|
12
|
+
*/
|
|
13
|
+
intent?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @typedef {Object} XfaLayerParameters
|
|
17
|
+
* @property {PageViewport} viewport
|
|
18
|
+
* @property {HTMLDivElement} div
|
|
19
|
+
* @property {Object} xfaHtml
|
|
20
|
+
* @property {AnnotationStorage} [annotationStorage]
|
|
21
|
+
* @property {IPDFLinkService} linkService
|
|
22
|
+
* @property {string} [intent] - (default value is 'display').
|
|
23
|
+
*/
|
|
24
|
+
export class XfaLayer {
|
|
25
|
+
static setupStorage(html: any, id: any, element: any, storage: any, intent: any): void;
|
|
26
|
+
static setAttributes({ html, element, storage, intent, linkService }: {
|
|
27
|
+
html: any;
|
|
28
|
+
element: any;
|
|
29
|
+
storage?: null | undefined;
|
|
30
|
+
intent: any;
|
|
31
|
+
linkService: any;
|
|
32
|
+
}): void;
|
|
33
|
+
/**
|
|
34
|
+
* Render the XFA layer.
|
|
35
|
+
*
|
|
36
|
+
* @param {XfaLayerParameters} parameters
|
|
37
|
+
*/
|
|
38
|
+
static render(parameters: XfaLayerParameters): {
|
|
39
|
+
textDivs: Text[];
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Update the XFA layer.
|
|
43
|
+
*
|
|
44
|
+
* @param {XfaLayerParameters} parameters
|
|
45
|
+
*/
|
|
46
|
+
static update(parameters: XfaLayerParameters): void;
|
|
47
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type TextContent = import("./api").TextContent;
|
|
2
|
+
/** @typedef {import("./api").TextContent} TextContent */
|
|
3
|
+
export class XfaText {
|
|
4
|
+
/**
|
|
5
|
+
* Walk an XFA tree and create an array of text nodes that is compatible
|
|
6
|
+
* with a regular PDFs TextContent. Currently, only TextItem.str is supported,
|
|
7
|
+
* all other fields and styles haven't been implemented.
|
|
8
|
+
*
|
|
9
|
+
* @param {Object} xfa - An XFA fake DOM object.
|
|
10
|
+
*
|
|
11
|
+
* @returns {TextContent}
|
|
12
|
+
*/
|
|
13
|
+
static textContent(xfa: Object): TextContent;
|
|
14
|
+
/**
|
|
15
|
+
* @param {string} name - DOM node name. (lower case)
|
|
16
|
+
*
|
|
17
|
+
* @returns {boolean} true if the DOM node should have a corresponding text
|
|
18
|
+
* node.
|
|
19
|
+
*/
|
|
20
|
+
static shouldBuildText(name: string): boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export type OnProgressParameters = import("./display/api").OnProgressParameters;
|
|
2
|
+
export type PDFDocumentLoadingTask = import("./display/api").PDFDocumentLoadingTask;
|
|
3
|
+
export type PDFDocumentProxy = import("./display/api").PDFDocumentProxy;
|
|
4
|
+
export type PDFPageProxy = import("./display/api").PDFPageProxy;
|
|
5
|
+
export type RenderTask = import("./display/api").RenderTask;
|
|
6
|
+
export type PageViewport = import("./display/display_utils").PageViewport;
|
|
7
|
+
import { AbortException } from "./shared/util.js";
|
|
8
|
+
import { AnnotationEditorLayer } from "./display/editor/annotation_editor_layer.js";
|
|
9
|
+
import { AnnotationEditorParamsType } from "./shared/util.js";
|
|
10
|
+
import { AnnotationEditorType } from "./shared/util.js";
|
|
11
|
+
import { AnnotationEditorUIManager } from "./display/editor/tools.js";
|
|
12
|
+
import { AnnotationLayer } from "./display/annotation_layer.js";
|
|
13
|
+
import { AnnotationMode } from "./shared/util.js";
|
|
14
|
+
import { AnnotationType } from "./shared/util.js";
|
|
15
|
+
import { applyOpacity } from "./display/display_utils.js";
|
|
16
|
+
import { build } from "./display/api.js";
|
|
17
|
+
import { ColorPicker } from "./display/editor/color_picker.js";
|
|
18
|
+
import { createValidAbsoluteUrl } from "./shared/util.js";
|
|
19
|
+
import { CSSConstants } from "./display/display_utils.js";
|
|
20
|
+
import { DOMSVGFactory } from "./display/svg_factory.js";
|
|
21
|
+
import { DrawLayer } from "./display/draw_layer.js";
|
|
22
|
+
import { FeatureTest } from "./shared/util.js";
|
|
23
|
+
import { fetchData } from "./display/display_utils.js";
|
|
24
|
+
import { findContrastColor } from "./display/display_utils.js";
|
|
25
|
+
import { getDocument } from "./display/api.js";
|
|
26
|
+
import { getFilenameFromUrl } from "./display/display_utils.js";
|
|
27
|
+
import { getPdfFilenameFromUrl } from "./display/display_utils.js";
|
|
28
|
+
import { getRGB } from "./display/display_utils.js";
|
|
29
|
+
import { getUuid } from "./shared/util.js";
|
|
30
|
+
import { getXfaPageViewport } from "./display/display_utils.js";
|
|
31
|
+
import { GlobalWorkerOptions } from "./display/worker_options.js";
|
|
32
|
+
import { ImageKind } from "./shared/util.js";
|
|
33
|
+
import { InvalidPDFException } from "./shared/util.js";
|
|
34
|
+
import { isDataScheme } from "./display/display_utils.js";
|
|
35
|
+
import { isPdfFile } from "./display/display_utils.js";
|
|
36
|
+
import { isValidExplicitDest } from "./display/api_utils.js";
|
|
37
|
+
import { MathClamp } from "./shared/util.js";
|
|
38
|
+
import { noContextMenu } from "./display/display_utils.js";
|
|
39
|
+
import { normalizeUnicode } from "./shared/util.js";
|
|
40
|
+
import { OPS } from "./shared/util.js";
|
|
41
|
+
import { OutputScale } from "./display/display_utils.js";
|
|
42
|
+
import { PagesMapper } from "./display/display_utils.js";
|
|
43
|
+
import { PasswordResponses } from "./shared/util.js";
|
|
44
|
+
import { PDFDataRangeTransport } from "./display/api.js";
|
|
45
|
+
import { PDFDateString } from "./display/display_utils.js";
|
|
46
|
+
import { PDFWorker } from "./display/api.js";
|
|
47
|
+
import { PermissionFlag } from "./shared/util.js";
|
|
48
|
+
import { PixelsPerInch } from "./display/display_utils.js";
|
|
49
|
+
import { RenderingCancelledException } from "./display/display_utils.js";
|
|
50
|
+
import { renderRichText } from "./display/display_utils.js";
|
|
51
|
+
import { ResponseException } from "./shared/util.js";
|
|
52
|
+
import { setLayerDimensions } from "./display/display_utils.js";
|
|
53
|
+
import { shadow } from "./shared/util.js";
|
|
54
|
+
import { SignatureExtractor } from "./display/editor/drawers/signaturedraw.js";
|
|
55
|
+
import { stopEvent } from "./display/display_utils.js";
|
|
56
|
+
import { SupportedImageMimeTypes } from "./display/display_utils.js";
|
|
57
|
+
import { TextLayer } from "./display/text_layer.js";
|
|
58
|
+
import { TouchManager } from "./display/touch_manager.js";
|
|
59
|
+
import { updateUrlHash } from "./shared/util.js";
|
|
60
|
+
import { Util } from "./shared/util.js";
|
|
61
|
+
import { VerbosityLevel } from "./shared/util.js";
|
|
62
|
+
import { version } from "./display/api.js";
|
|
63
|
+
import { XfaLayer } from "./display/xfa_layer.js";
|
|
64
|
+
export { AbortException, AnnotationEditorLayer, AnnotationEditorParamsType, AnnotationEditorType, AnnotationEditorUIManager, AnnotationLayer, AnnotationMode, AnnotationType, applyOpacity, build, ColorPicker, createValidAbsoluteUrl, CSSConstants, DOMSVGFactory, DrawLayer, FeatureTest, fetchData, findContrastColor, getDocument, getFilenameFromUrl, getPdfFilenameFromUrl, getRGB, getUuid, getXfaPageViewport, GlobalWorkerOptions, ImageKind, InvalidPDFException, isDataScheme, isPdfFile, isValidExplicitDest, MathClamp, noContextMenu, normalizeUnicode, OPS, OutputScale, PagesMapper, PasswordResponses, PDFDataRangeTransport, PDFDateString, PDFWorker, PermissionFlag, PixelsPerInch, RenderingCancelledException, renderRichText, ResponseException, setLayerDimensions, shadow, SignatureExtractor, stopEvent, SupportedImageMimeTypes, TextLayer, TouchManager, updateUrlHash, Util, VerbosityLevel, version, XfaLayer };
|