@nocobase/plugin-file-manager 2.1.0-beta.38 → 2.1.0-beta.40
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/index.js +1 -1
- package/dist/client/locale/index.d.ts +1 -1
- package/dist/client/previewer/filePreviewTypes.d.ts +1 -1
- package/dist/client-v2/125.0b8eef1f19b87042.js +10 -0
- package/dist/client-v2/{942.9dc2d49980a4dd9e.js → 942.f36d807d763a1b53.js} +1 -1
- package/dist/client-v2/index.d.ts +2 -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/url-join/package.json +1 -1
- package/package.json +3 -2
- package/dist/client-v2/125.01d5562df948d974.js +0 -10
- package/dist/node_modules/pdfjs-dist/LICENSE +0 -177
- package/dist/node_modules/pdfjs-dist/build/pdf.mjs +0 -26514
- 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 +0 -3
- 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 +0 -3
- 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 +0 -4
- 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 +0 -1
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_add.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_disclaimer.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_done.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_spinner.svg +0 -30
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_warning.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-check.svg +0 -11
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-comment.svg +0 -16
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-help.svg +0 -26
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-insert.svg +0 -10
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-key.svg +0 -11
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-newparagraph.svg +0 -11
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-noicon.svg +0 -7
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-note.svg +0 -42
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-paperclip.svg +0 -6
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-paragraph.svg +0 -16
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-pushpin.svg +0 -7
- package/dist/node_modules/pdfjs-dist/legacy/web/images/checkmark.svg +0 -5
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-actionsButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-closeButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-editButton.svg +0 -8
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-popup-editButton.svg +0 -5
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorFreeHighlight.svg +0 -6
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorFreeText.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorInk.svg +0 -4
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorTextHighlight.svg +0 -8
- package/dist/node_modules/pdfjs-dist/legacy/web/images/editor-toolbar-delete.svg +0 -5
- package/dist/node_modules/pdfjs-dist/legacy/web/images/editor-toolbar-edit.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/findbarButton-next.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/findbarButton-previous.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/gv-toolbarButton-download.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/loading.svg +0 -1
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_closingButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_info.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_warning.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_closeButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_selected.svg +0 -7
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_viewArrow.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_viewButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-documentProperties.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-firstPage.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-handTool.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-lastPage.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-rotateCcw.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-rotateCw.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollHorizontal.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollPage.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollVertical.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollWrapped.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-selectTool.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadEven.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadNone.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadOdd.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-bookmark.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-currentOutlineItem.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-download.svg +0 -4
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorFreeText.svg +0 -5
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorHighlight.svg +0 -6
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorInk.svg +0 -4
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorSignature.svg +0 -6
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorStamp.svg +0 -8
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-menuArrow.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-openFile.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-pageDown.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-pageUp.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-presentationMode.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-print.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-search.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-secondaryToolbarToggle.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewAttachments.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewLayers.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewOutline.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewThumbnail.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewsManagerToggle.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-zoomIn.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-zoomOut.svg +0 -3
- package/dist/node_modules/pdfjs-dist/legacy/web/images/treeitem-collapsed.svg +0 -1
- package/dist/node_modules/pdfjs-dist/legacy/web/images/treeitem-expanded.svg +0 -1
- package/dist/node_modules/pdfjs-dist/legacy/web/pdf_viewer.css +0 -6989
- package/dist/node_modules/pdfjs-dist/legacy/web/pdf_viewer.d.mts +0 -1
- package/dist/node_modules/pdfjs-dist/package.json +0 -1
- 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 +0 -27
- package/dist/node_modules/pdfjs-dist/standard_fonts/LICENSE_LIBERATION +0 -102
- 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 +0 -276
- package/dist/node_modules/pdfjs-dist/types/src/display/annotation_storage.d.ts +0 -94
- package/dist/node_modules/pdfjs-dist/types/src/display/api.d.ts +0 -1630
- package/dist/node_modules/pdfjs-dist/types/src/display/api_utils.d.ts +0 -13
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas.d.ts +0 -207
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas_dependency_tracker.d.ts +0 -160
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas_factory.d.ts +0 -27
- package/dist/node_modules/pdfjs-dist/types/src/display/cmap_reader_factory.d.ts +0 -25
- package/dist/node_modules/pdfjs-dist/types/src/display/content_disposition.d.ts +0 -7
- package/dist/node_modules/pdfjs-dist/types/src/display/display_utils.d.ts +0 -366
- package/dist/node_modules/pdfjs-dist/types/src/display/draw_layer.d.ts +0 -22
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/alt_text.d.ts +0 -34
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/annotation_editor_layer.d.ts +0 -233
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/color_picker.d.ts +0 -39
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/comment.d.ts +0 -59
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/draw.d.ts +0 -117
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/contour.d.ts +0 -3
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/freedraw.d.ts +0 -32
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/highlight.d.ts +0 -37
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/inkdraw.d.ts +0 -129
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/outline.d.ts +0 -19
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/signaturedraw.d.ts +0 -79
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/editor.d.ts +0 -578
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/freetext.d.ts +0 -63
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/highlight.d.ts +0 -76
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/ink.d.ts +0 -42
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/signature.d.ts +0 -77
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/stamp.d.ts +0 -49
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/toolbar.d.ts +0 -26
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/tools.d.ts +0 -481
- package/dist/node_modules/pdfjs-dist/types/src/display/fetch_stream.d.ts +0 -7
- package/dist/node_modules/pdfjs-dist/types/src/display/filter_factory.d.ts +0 -29
- package/dist/node_modules/pdfjs-dist/types/src/display/font_loader.d.ts +0 -67
- package/dist/node_modules/pdfjs-dist/types/src/display/metadata.d.ts +0 -10
- package/dist/node_modules/pdfjs-dist/types/src/display/network.d.ts +0 -20
- package/dist/node_modules/pdfjs-dist/types/src/display/network_utils.d.ts +0 -15
- package/dist/node_modules/pdfjs-dist/types/src/display/node_stream.d.ts +0 -5
- package/dist/node_modules/pdfjs-dist/types/src/display/node_utils.d.ts +0 -32
- package/dist/node_modules/pdfjs-dist/types/src/display/optional_content_config.d.ts +0 -18
- package/dist/node_modules/pdfjs-dist/types/src/display/pattern_helper.d.ts +0 -77
- package/dist/node_modules/pdfjs-dist/types/src/display/pdf_objects.d.ts +0 -40
- package/dist/node_modules/pdfjs-dist/types/src/display/standard_fontdata_factory.d.ts +0 -20
- package/dist/node_modules/pdfjs-dist/types/src/display/svg_factory.d.ts +0 -14
- package/dist/node_modules/pdfjs-dist/types/src/display/text_layer.d.ts +0 -85
- package/dist/node_modules/pdfjs-dist/types/src/display/touch_manager.d.ts +0 -18
- package/dist/node_modules/pdfjs-dist/types/src/display/transport_stream.d.ts +0 -10
- package/dist/node_modules/pdfjs-dist/types/src/display/wasm_factory.d.ts +0 -20
- package/dist/node_modules/pdfjs-dist/types/src/display/worker_options.d.ts +0 -25
- package/dist/node_modules/pdfjs-dist/types/src/display/xfa_layer.d.ts +0 -47
- package/dist/node_modules/pdfjs-dist/types/src/display/xfa_text.d.ts +0 -21
- package/dist/node_modules/pdfjs-dist/types/src/pdf.d.ts +0 -64
- package/dist/node_modules/pdfjs-dist/types/src/shared/base_pdf_stream.d.ts +0 -120
- package/dist/node_modules/pdfjs-dist/types/src/shared/image_utils.d.ts +0 -17
- package/dist/node_modules/pdfjs-dist/types/src/shared/message_handler.d.ts +0 -48
- package/dist/node_modules/pdfjs-dist/types/src/shared/murmurhash3.d.ts +0 -7
- package/dist/node_modules/pdfjs-dist/types/src/shared/obj-bin-transform.d.ts +0 -90
- package/dist/node_modules/pdfjs-dist/types/src/shared/scripting_utils.d.ts +0 -18
- package/dist/node_modules/pdfjs-dist/types/src/shared/util.d.ts +0 -420
- package/dist/node_modules/pdfjs-dist/types/web/annotation_editor_layer_builder.d.ts +0 -65
- package/dist/node_modules/pdfjs-dist/types/web/annotation_layer_builder.d.ts +0 -108
- package/dist/node_modules/pdfjs-dist/types/web/app_options.d.ts +0 -16
- package/dist/node_modules/pdfjs-dist/types/web/autolinker.d.ts +0 -29
- package/dist/node_modules/pdfjs-dist/types/web/base_pdf_page_view.d.ts +0 -28
- package/dist/node_modules/pdfjs-dist/types/web/comment_manager.d.ts +0 -20
- package/dist/node_modules/pdfjs-dist/types/web/download_manager.d.ts +0 -13
- package/dist/node_modules/pdfjs-dist/types/web/draw_layer_builder.d.ts +0 -22
- package/dist/node_modules/pdfjs-dist/types/web/event_utils.d.ts +0 -77
- package/dist/node_modules/pdfjs-dist/types/web/generic_scripting.d.ts +0 -8
- package/dist/node_modules/pdfjs-dist/types/web/genericl10n.d.ts +0 -22
- package/dist/node_modules/pdfjs-dist/types/web/interfaces.d.ts +0 -174
- package/dist/node_modules/pdfjs-dist/types/web/l10n.d.ts +0 -34
- package/dist/node_modules/pdfjs-dist/types/web/menu.d.ts +0 -11
- package/dist/node_modules/pdfjs-dist/types/web/pdf_find_controller.d.ts +0 -134
- package/dist/node_modules/pdfjs-dist/types/web/pdf_find_utils.d.ts +0 -16
- package/dist/node_modules/pdfjs-dist/types/web/pdf_history.d.ts +0 -116
- package/dist/node_modules/pdfjs-dist/types/web/pdf_link_service.d.ts +0 -147
- package/dist/node_modules/pdfjs-dist/types/web/pdf_page_detail_view.d.ts +0 -33
- package/dist/node_modules/pdfjs-dist/types/web/pdf_page_view.d.ts +0 -244
- package/dist/node_modules/pdfjs-dist/types/web/pdf_rendering_queue.d.ts +0 -54
- package/dist/node_modules/pdfjs-dist/types/web/pdf_scripting_manager.component.d.ts +0 -5
- package/dist/node_modules/pdfjs-dist/types/web/pdf_scripting_manager.d.ts +0 -57
- package/dist/node_modules/pdfjs-dist/types/web/pdf_single_page_viewer.d.ts +0 -7
- package/dist/node_modules/pdfjs-dist/types/web/pdf_thumbnail_view.d.ts +0 -108
- package/dist/node_modules/pdfjs-dist/types/web/pdf_thumbnail_viewer.d.ts +0 -136
- package/dist/node_modules/pdfjs-dist/types/web/pdf_viewer.component.d.ts +0 -23
- package/dist/node_modules/pdfjs-dist/types/web/pdf_viewer.d.ts +0 -625
- package/dist/node_modules/pdfjs-dist/types/web/sidebar.d.ts +0 -65
- package/dist/node_modules/pdfjs-dist/types/web/struct_tree_layer_builder.d.ts +0 -25
- package/dist/node_modules/pdfjs-dist/types/web/text_accessibility.d.ts +0 -44
- package/dist/node_modules/pdfjs-dist/types/web/text_highlighter.d.ts +0 -63
- package/dist/node_modules/pdfjs-dist/types/web/text_layer_builder.d.ts +0 -65
- package/dist/node_modules/pdfjs-dist/types/web/ui_utils.d.ts +0 -274
- package/dist/node_modules/pdfjs-dist/types/web/xfa_layer_builder.d.ts +0 -50
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_JBIG2 +0 -196
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_OPENJPEG +0 -39
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_JBIG2 +0 -13
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_OPENJPEG +0 -22
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_QCMS +0 -22
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_QCMS +0 -21
- 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 +0 -17
- package/dist/node_modules/pdfjs-dist/wasm/qcms_bg.wasm +0 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_add.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/altText_disclaimer.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/altText_done.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/altText_spinner.svg +0 -30
- package/dist/node_modules/pdfjs-dist/web/images/altText_warning.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/annotation-check.svg +0 -11
- package/dist/node_modules/pdfjs-dist/web/images/annotation-comment.svg +0 -16
- package/dist/node_modules/pdfjs-dist/web/images/annotation-help.svg +0 -26
- package/dist/node_modules/pdfjs-dist/web/images/annotation-insert.svg +0 -10
- package/dist/node_modules/pdfjs-dist/web/images/annotation-key.svg +0 -11
- package/dist/node_modules/pdfjs-dist/web/images/annotation-newparagraph.svg +0 -11
- package/dist/node_modules/pdfjs-dist/web/images/annotation-noicon.svg +0 -7
- package/dist/node_modules/pdfjs-dist/web/images/annotation-note.svg +0 -42
- package/dist/node_modules/pdfjs-dist/web/images/annotation-paperclip.svg +0 -6
- package/dist/node_modules/pdfjs-dist/web/images/annotation-paragraph.svg +0 -16
- package/dist/node_modules/pdfjs-dist/web/images/annotation-pushpin.svg +0 -7
- package/dist/node_modules/pdfjs-dist/web/images/checkmark.svg +0 -5
- package/dist/node_modules/pdfjs-dist/web/images/comment-actionsButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/comment-closeButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/comment-editButton.svg +0 -8
- package/dist/node_modules/pdfjs-dist/web/images/comment-popup-editButton.svg +0 -5
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorFreeHighlight.svg +0 -6
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorFreeText.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorInk.svg +0 -4
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorTextHighlight.svg +0 -8
- package/dist/node_modules/pdfjs-dist/web/images/editor-toolbar-delete.svg +0 -5
- package/dist/node_modules/pdfjs-dist/web/images/editor-toolbar-edit.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/findbarButton-next.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/findbarButton-previous.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/gv-toolbarButton-download.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/loading.svg +0 -1
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_closingButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_info.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_warning.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/pages_closeButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/pages_selected.svg +0 -7
- package/dist/node_modules/pdfjs-dist/web/images/pages_viewArrow.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/pages_viewButton.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-documentProperties.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-firstPage.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-handTool.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-lastPage.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-rotateCcw.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-rotateCw.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollHorizontal.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollPage.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollVertical.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollWrapped.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-selectTool.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadEven.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadNone.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadOdd.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-bookmark.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-currentOutlineItem.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-download.svg +0 -4
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorFreeText.svg +0 -5
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorHighlight.svg +0 -6
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorInk.svg +0 -4
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorSignature.svg +0 -6
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorStamp.svg +0 -8
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-menuArrow.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-openFile.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-pageDown.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-pageUp.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-presentationMode.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-print.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-search.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-secondaryToolbarToggle.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewAttachments.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewLayers.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewOutline.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewThumbnail.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewsManagerToggle.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-zoomIn.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-zoomOut.svg +0 -3
- package/dist/node_modules/pdfjs-dist/web/images/treeitem-collapsed.svg +0 -1
- package/dist/node_modules/pdfjs-dist/web/images/treeitem-expanded.svg +0 -1
- package/dist/node_modules/pdfjs-dist/web/pdf_viewer.css +0 -6989
- package/dist/node_modules/pdfjs-dist/web/pdf_viewer.d.mts +0 -1
- package/dist/shared/locale.d.ts +0 -9
- package/dist/shared/locale.js +0 -36
- package/dist/shared/previewer/filePreviewTypes.js +0 -751
- /package/dist/{shared → client-v2}/previewer/filePreviewTypes.d.ts +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type IDownloadManager = import("./interfaces").IDownloadManager;
|
|
2
|
-
/**
|
|
3
|
-
* @implements {IDownloadManager}
|
|
4
|
-
*/
|
|
5
|
-
export class DownloadManager implements IDownloadManager {
|
|
6
|
-
downloadData(data: any, filename: any, contentType: any): void;
|
|
7
|
-
/**
|
|
8
|
-
* @returns {boolean} Indicating if the data was opened.
|
|
9
|
-
*/
|
|
10
|
-
openOrDownloadData(data: any, filename: any, dest?: null): boolean;
|
|
11
|
-
download(data: any, url: any, filename: any): void;
|
|
12
|
-
#private;
|
|
13
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export type DrawLayerBuilderRenderOptions = {
|
|
2
|
-
/**
|
|
3
|
-
* - The default value is "display".
|
|
4
|
-
*/
|
|
5
|
-
intent?: string | undefined;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* @typedef {Object} DrawLayerBuilderRenderOptions
|
|
9
|
-
* @property {string} [intent] - The default value is "display".
|
|
10
|
-
*/
|
|
11
|
-
export class DrawLayerBuilder {
|
|
12
|
-
/**
|
|
13
|
-
* @param {DrawLayerBuilderRenderOptions} options
|
|
14
|
-
* @returns {Promise<void>}
|
|
15
|
-
*/
|
|
16
|
-
render({ intent }: DrawLayerBuilderRenderOptions): Promise<void>;
|
|
17
|
-
cancel(): void;
|
|
18
|
-
_cancelled: boolean | undefined;
|
|
19
|
-
setParent(parent: any): void;
|
|
20
|
-
getDrawLayer(): null;
|
|
21
|
-
#private;
|
|
22
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
export type WaitOnEventOrTimeoutParameters = {
|
|
2
|
-
/**
|
|
3
|
-
* - The event target, can for example be:
|
|
4
|
-
* `window`, `document`, a DOM element, or an {EventBus} instance.
|
|
5
|
-
*/
|
|
6
|
-
target: Object;
|
|
7
|
-
/**
|
|
8
|
-
* - The name of the event.
|
|
9
|
-
*/
|
|
10
|
-
name: string;
|
|
11
|
-
/**
|
|
12
|
-
* - The delay, in milliseconds, after which the
|
|
13
|
-
* timeout occurs (if the event wasn't already dispatched).
|
|
14
|
-
*/
|
|
15
|
-
delay: number;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* Simple event bus for an application. Listeners are attached using the `on`
|
|
19
|
-
* and `off` methods. To raise an event, the `dispatch` method shall be used.
|
|
20
|
-
*/
|
|
21
|
-
export class EventBus {
|
|
22
|
-
/**
|
|
23
|
-
* @param {string} eventName
|
|
24
|
-
* @param {function} listener
|
|
25
|
-
* @param {Object} [options]
|
|
26
|
-
*/
|
|
27
|
-
on(eventName: string, listener: Function, options?: Object): void;
|
|
28
|
-
/**
|
|
29
|
-
* @param {string} eventName
|
|
30
|
-
* @param {function} listener
|
|
31
|
-
* @param {Object} [options]
|
|
32
|
-
*/
|
|
33
|
-
off(eventName: string, listener: Function, options?: Object): void;
|
|
34
|
-
/**
|
|
35
|
-
* @param {string} eventName
|
|
36
|
-
* @param {Object} data
|
|
37
|
-
*/
|
|
38
|
-
dispatch(eventName: string, data: Object): void;
|
|
39
|
-
/**
|
|
40
|
-
* @ignore
|
|
41
|
-
*/
|
|
42
|
-
_on(eventName: any, listener: any, options?: null): void;
|
|
43
|
-
/**
|
|
44
|
-
* @ignore
|
|
45
|
-
*/
|
|
46
|
-
_off(eventName: any, listener: any, options?: null): void;
|
|
47
|
-
#private;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* NOTE: Only used in the Firefox built-in pdf viewer.
|
|
51
|
-
*/
|
|
52
|
-
export class FirefoxEventBus extends EventBus {
|
|
53
|
-
constructor(globalEventNames: any, externalServices: any, isInAutomation: any);
|
|
54
|
-
dispatch(eventName: any, data: any): void;
|
|
55
|
-
#private;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @typedef {Object} WaitOnEventOrTimeoutParameters
|
|
59
|
-
* @property {Object} target - The event target, can for example be:
|
|
60
|
-
* `window`, `document`, a DOM element, or an {EventBus} instance.
|
|
61
|
-
* @property {string} name - The name of the event.
|
|
62
|
-
* @property {number} delay - The delay, in milliseconds, after which the
|
|
63
|
-
* timeout occurs (if the event wasn't already dispatched).
|
|
64
|
-
*/
|
|
65
|
-
/**
|
|
66
|
-
* Allows waiting for an event or a timeout, whichever occurs first.
|
|
67
|
-
* Can be used to ensure that an action always occurs, even when an event
|
|
68
|
-
* arrives late or not at all.
|
|
69
|
-
*
|
|
70
|
-
* @param {WaitOnEventOrTimeoutParameters}
|
|
71
|
-
* @returns {Promise} A promise that is resolved with a {WaitOnType} value.
|
|
72
|
-
*/
|
|
73
|
-
export function waitOnEventOrTimeout({ target, name, delay }: WaitOnEventOrTimeoutParameters): Promise<any>;
|
|
74
|
-
export namespace WaitOnType {
|
|
75
|
-
let EVENT: string;
|
|
76
|
-
let TIMEOUT: string;
|
|
77
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export function docProperties(pdfDocument: any): Promise<any>;
|
|
2
|
-
export class GenericScripting {
|
|
3
|
-
constructor(sandboxBundleSrc: any);
|
|
4
|
-
_ready: Promise<any>;
|
|
5
|
-
createSandbox(data: any): Promise<void>;
|
|
6
|
-
dispatchEventInSandbox(event: any): Promise<void>;
|
|
7
|
-
destroySandbox(): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export type IL10n = import("./interfaces").IL10n;
|
|
2
|
-
/**
|
|
3
|
-
* @implements {IL10n}
|
|
4
|
-
*/
|
|
5
|
-
export class GenericL10n extends L10n implements IL10n {
|
|
6
|
-
/**
|
|
7
|
-
* Generate the bundles for Fluent.
|
|
8
|
-
* @param {String} defaultLang - The fallback language to use for
|
|
9
|
-
* translations.
|
|
10
|
-
* @param {String} baseLang - The base language to use for translations.
|
|
11
|
-
*/
|
|
12
|
-
static "__#private@#generateBundles"(defaultLang: string, baseLang: string): AsyncGenerator<any, void, unknown>;
|
|
13
|
-
static "__#private@#createBundle"(lang: any, baseURL: any, paths: any): Promise<any>;
|
|
14
|
-
static "__#private@#getPaths"(): Promise<{
|
|
15
|
-
baseURL: any;
|
|
16
|
-
paths: any;
|
|
17
|
-
}>;
|
|
18
|
-
static "__#private@#generateBundlesFallback"(lang: any): AsyncGenerator<any, void, unknown>;
|
|
19
|
-
static "__#private@#createBundleFallback"(lang: any): Promise<any>;
|
|
20
|
-
constructor(lang: any);
|
|
21
|
-
}
|
|
22
|
-
import { L10n } from "./l10n.js";
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
export type PDFPageProxy = import("../src/display/api").PDFPageProxy;
|
|
2
|
-
export type PageViewport = import("../src/display/display_utils").PageViewport;
|
|
3
|
-
export type RenderingStates = any;
|
|
4
|
-
/**
|
|
5
|
-
* @interface
|
|
6
|
-
*/
|
|
7
|
-
export class IDownloadManager {
|
|
8
|
-
/**
|
|
9
|
-
* @param {Uint8Array} data
|
|
10
|
-
* @param {string} filename
|
|
11
|
-
* @param {string} [contentType]
|
|
12
|
-
*/
|
|
13
|
-
downloadData(data: Uint8Array, filename: string, contentType?: string): void;
|
|
14
|
-
/**
|
|
15
|
-
* @param {Uint8Array} data
|
|
16
|
-
* @param {string} filename
|
|
17
|
-
* @param {string | null} [dest]
|
|
18
|
-
* @returns {boolean} Indicating if the data was opened.
|
|
19
|
-
*/
|
|
20
|
-
openOrDownloadData(data: Uint8Array, filename: string, dest?: string | null): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* @param {Uint8Array} data
|
|
23
|
-
* @param {string} url
|
|
24
|
-
* @param {string} filename
|
|
25
|
-
*/
|
|
26
|
-
download(data: Uint8Array, url: string, filename: string): void;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @interface
|
|
30
|
-
*/
|
|
31
|
-
export class IL10n {
|
|
32
|
-
/**
|
|
33
|
-
* @returns {string} - The current locale.
|
|
34
|
-
*/
|
|
35
|
-
getLanguage(): string;
|
|
36
|
-
/**
|
|
37
|
-
* @returns {string} - 'rtl' or 'ltr'.
|
|
38
|
-
*/
|
|
39
|
-
getDirection(): string;
|
|
40
|
-
/**
|
|
41
|
-
* Translates text identified by the key and adds/formats data using the args
|
|
42
|
-
* property bag. If the key was not found, translation falls back to the
|
|
43
|
-
* fallback text.
|
|
44
|
-
* @param {Array | string} ids
|
|
45
|
-
* @param {Object | null} [args]
|
|
46
|
-
* @param {string} [fallback]
|
|
47
|
-
* @returns {Promise<string>}
|
|
48
|
-
*/
|
|
49
|
-
get(ids: any[] | string, args?: Object | null, fallback?: string): Promise<string>;
|
|
50
|
-
/**
|
|
51
|
-
* Translates HTML element.
|
|
52
|
-
* @param {HTMLElement} element
|
|
53
|
-
* @returns {Promise<void>}
|
|
54
|
-
*/
|
|
55
|
-
translate(element: HTMLElement): Promise<void>;
|
|
56
|
-
/**
|
|
57
|
-
* Pause the localization.
|
|
58
|
-
*/
|
|
59
|
-
pause(): void;
|
|
60
|
-
/**
|
|
61
|
-
* Resume the localization.
|
|
62
|
-
*/
|
|
63
|
-
resume(): void;
|
|
64
|
-
}
|
|
65
|
-
/** @typedef {import("../src/display/api").PDFPageProxy} PDFPageProxy */
|
|
66
|
-
/** @typedef {import("../src/display/display_utils").PageViewport} PageViewport */
|
|
67
|
-
/** @typedef {import("./ui_utils").RenderingStates} RenderingStates */
|
|
68
|
-
/**
|
|
69
|
-
* @interface
|
|
70
|
-
*/
|
|
71
|
-
export class IPDFLinkService {
|
|
72
|
-
/**
|
|
73
|
-
* @type {number}
|
|
74
|
-
*/
|
|
75
|
-
get pagesCount(): number;
|
|
76
|
-
/**
|
|
77
|
-
* @param {number} value
|
|
78
|
-
*/
|
|
79
|
-
set page(value: number);
|
|
80
|
-
/**
|
|
81
|
-
* @type {number}
|
|
82
|
-
*/
|
|
83
|
-
get page(): number;
|
|
84
|
-
/**
|
|
85
|
-
* @param {number} value
|
|
86
|
-
*/
|
|
87
|
-
set rotation(value: number);
|
|
88
|
-
/**
|
|
89
|
-
* @type {number}
|
|
90
|
-
*/
|
|
91
|
-
get rotation(): number;
|
|
92
|
-
/**
|
|
93
|
-
* @type {boolean}
|
|
94
|
-
*/
|
|
95
|
-
get isInPresentationMode(): boolean;
|
|
96
|
-
/**
|
|
97
|
-
* @param {boolean} value
|
|
98
|
-
*/
|
|
99
|
-
set externalLinkEnabled(value: boolean);
|
|
100
|
-
/**
|
|
101
|
-
* @type {boolean}
|
|
102
|
-
*/
|
|
103
|
-
get externalLinkEnabled(): boolean;
|
|
104
|
-
/**
|
|
105
|
-
* @param {string|Array} dest - The named, or explicit, PDF destination.
|
|
106
|
-
*/
|
|
107
|
-
goToDestination(dest: string | any[]): Promise<void>;
|
|
108
|
-
/**
|
|
109
|
-
* @param {number|string} val - The page number, or page label.
|
|
110
|
-
*/
|
|
111
|
-
goToPage(val: number | string): void;
|
|
112
|
-
/**
|
|
113
|
-
* Scrolls to a specific location in the PDF document.
|
|
114
|
-
* @param {number} pageNumber - The page number to scroll to.
|
|
115
|
-
* @param {number} x - The x-coordinate to scroll to in page coordinates.
|
|
116
|
-
* @param {number} y - The y-coordinate to scroll to in page coordinates.
|
|
117
|
-
*/
|
|
118
|
-
goToXY(pageNumber: number, x: number, y: number): void;
|
|
119
|
-
/**
|
|
120
|
-
* @param {HTMLAnchorElement} link
|
|
121
|
-
* @param {string} url
|
|
122
|
-
* @param {boolean} [newWindow]
|
|
123
|
-
*/
|
|
124
|
-
addLinkAttributes(link: HTMLAnchorElement, url: string, newWindow?: boolean): void;
|
|
125
|
-
/**
|
|
126
|
-
* @param dest - The PDF destination object.
|
|
127
|
-
* @returns {string} The hyperlink to the PDF object.
|
|
128
|
-
*/
|
|
129
|
-
getDestinationHash(dest: any): string;
|
|
130
|
-
/**
|
|
131
|
-
* @param hash - The PDF parameters/hash.
|
|
132
|
-
* @returns {string} The hyperlink to the PDF object.
|
|
133
|
-
*/
|
|
134
|
-
getAnchorUrl(hash: any): string;
|
|
135
|
-
/**
|
|
136
|
-
* @param {string} hash
|
|
137
|
-
*/
|
|
138
|
-
setHash(hash: string): void;
|
|
139
|
-
/**
|
|
140
|
-
* @param {string} action
|
|
141
|
-
*/
|
|
142
|
-
executeNamedAction(action: string): void;
|
|
143
|
-
/**
|
|
144
|
-
* @param {Object} action
|
|
145
|
-
*/
|
|
146
|
-
executeSetOCGState(action: Object): void;
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* @interface
|
|
150
|
-
*/
|
|
151
|
-
export class IPDFPrintServiceFactory {
|
|
152
|
-
static initGlobals(): void;
|
|
153
|
-
static get supportsPrinting(): boolean;
|
|
154
|
-
static createPrintService(): void;
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* @interface
|
|
158
|
-
*/
|
|
159
|
-
export class IRenderableView {
|
|
160
|
-
/** @type {function | null} */
|
|
161
|
-
resume: Function | null;
|
|
162
|
-
/**
|
|
163
|
-
* @type {string} - Unique ID for rendering queue.
|
|
164
|
-
*/
|
|
165
|
-
get renderingId(): string;
|
|
166
|
-
/**
|
|
167
|
-
* @type {RenderingStates}
|
|
168
|
-
*/
|
|
169
|
-
get renderingState(): RenderingStates;
|
|
170
|
-
/**
|
|
171
|
-
* @returns {Promise} Resolved on draw completion.
|
|
172
|
-
*/
|
|
173
|
-
draw(): Promise<any>;
|
|
174
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type IL10n = import("./interfaces").IL10n;
|
|
2
|
-
export const GenericL10n: null;
|
|
3
|
-
/** @typedef {import("./interfaces").IL10n} IL10n */
|
|
4
|
-
/**
|
|
5
|
-
* NOTE: The L10n-implementations should use lowercase language-codes
|
|
6
|
-
* internally.
|
|
7
|
-
* @implements {IL10n}
|
|
8
|
-
*/
|
|
9
|
-
export class L10n implements IL10n {
|
|
10
|
-
static "__#private@#fixupLangCode"(langCode: any): any;
|
|
11
|
-
static "__#private@#isRTL"(lang: any): boolean;
|
|
12
|
-
constructor({ lang, isRTL }: {
|
|
13
|
-
lang: any;
|
|
14
|
-
isRTL: any;
|
|
15
|
-
}, l10n?: null);
|
|
16
|
-
_setL10n(l10n: any): void;
|
|
17
|
-
/** @inheritdoc */
|
|
18
|
-
getLanguage(): any;
|
|
19
|
-
/** @inheritdoc */
|
|
20
|
-
getDirection(): string;
|
|
21
|
-
/** @inheritdoc */
|
|
22
|
-
get(ids: any, args: null | undefined, fallback: any): Promise<any>;
|
|
23
|
-
/** @inheritdoc */
|
|
24
|
-
translate(element: any): Promise<void>;
|
|
25
|
-
/** @inheritdoc */
|
|
26
|
-
translateOnce(element: any): Promise<void>;
|
|
27
|
-
/** @inheritdoc */
|
|
28
|
-
destroy(): Promise<void>;
|
|
29
|
-
/** @inheritdoc */
|
|
30
|
-
pause(): void;
|
|
31
|
-
/** @inheritdoc */
|
|
32
|
-
resume(): void;
|
|
33
|
-
#private;
|
|
34
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export class Menu {
|
|
2
|
-
/**
|
|
3
|
-
* Create a menu for the given button.
|
|
4
|
-
* @param {HTMLElement} menuContainer
|
|
5
|
-
* @param {HTMLElement} triggeringButton
|
|
6
|
-
* @param {Array<HTMLElement>|null} menuItems
|
|
7
|
-
*/
|
|
8
|
-
constructor(menuContainer: HTMLElement, triggeringButton: HTMLElement, menuItems: Array<HTMLElement> | null);
|
|
9
|
-
destroy(): void;
|
|
10
|
-
#private;
|
|
11
|
-
}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
export type PDFDocumentProxy = import("../src/display/api").PDFDocumentProxy;
|
|
2
|
-
export type EventBus = import("./event_utils").EventBus;
|
|
3
|
-
export type IPDFLinkService = import("./interfaces").IPDFLinkService;
|
|
4
|
-
export type PDFFindControllerOptions = {
|
|
5
|
-
/**
|
|
6
|
-
* - The navigation/linking service.
|
|
7
|
-
*/
|
|
8
|
-
linkService: IPDFLinkService;
|
|
9
|
-
/**
|
|
10
|
-
* - The application event bus.
|
|
11
|
-
*/
|
|
12
|
-
eventBus: EventBus;
|
|
13
|
-
/**
|
|
14
|
-
* - True if the matches
|
|
15
|
-
* count must be updated on progress or only when the last page is reached.
|
|
16
|
-
* The default value is `true`.
|
|
17
|
-
*/
|
|
18
|
-
updateMatchesCountOnProgress?: boolean | undefined;
|
|
19
|
-
};
|
|
20
|
-
export namespace FindState {
|
|
21
|
-
let FOUND: number;
|
|
22
|
-
let NOT_FOUND: number;
|
|
23
|
-
let WRAPPED: number;
|
|
24
|
-
let PENDING: number;
|
|
25
|
-
}
|
|
26
|
-
export function getOriginalIndex(diffs: any, pos: any, len: any): any[];
|
|
27
|
-
export function normalize(text: any, options?: {}): any[];
|
|
28
|
-
/**
|
|
29
|
-
* @typedef {Object} PDFFindControllerOptions
|
|
30
|
-
* @property {IPDFLinkService} linkService - The navigation/linking service.
|
|
31
|
-
* @property {EventBus} eventBus - The application event bus.
|
|
32
|
-
* @property {boolean} [updateMatchesCountOnProgress] - True if the matches
|
|
33
|
-
* count must be updated on progress or only when the last page is reached.
|
|
34
|
-
* The default value is `true`.
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* Provides search functionality to find a given string in a PDF document.
|
|
38
|
-
*/
|
|
39
|
-
export class PDFFindController {
|
|
40
|
-
/**
|
|
41
|
-
* @param {PDFFindControllerOptions} options
|
|
42
|
-
*/
|
|
43
|
-
constructor({ linkService, eventBus, updateMatchesCountOnProgress }: PDFFindControllerOptions);
|
|
44
|
-
_linkService: import("./interfaces").IPDFLinkService;
|
|
45
|
-
_eventBus: import("./event_utils").EventBus;
|
|
46
|
-
/**
|
|
47
|
-
* Callback used to check if a `pageNumber` is currently visible.
|
|
48
|
-
* @type {function}
|
|
49
|
-
*/
|
|
50
|
-
onIsPageVisible: Function;
|
|
51
|
-
get highlightMatches(): boolean | undefined;
|
|
52
|
-
get pageMatches(): any[] | undefined;
|
|
53
|
-
get pageMatchesLength(): any[] | undefined;
|
|
54
|
-
get selected(): {
|
|
55
|
-
pageIdx: number;
|
|
56
|
-
matchIdx: number;
|
|
57
|
-
} | undefined;
|
|
58
|
-
get state(): null;
|
|
59
|
-
/**
|
|
60
|
-
* Set a reference to the PDF document in order to search it.
|
|
61
|
-
* Note that searching is not possible if this method is not called.
|
|
62
|
-
*
|
|
63
|
-
* @param {PDFDocumentProxy} pdfDocument - The PDF document to search.
|
|
64
|
-
*/
|
|
65
|
-
setDocument(pdfDocument: PDFDocumentProxy): void;
|
|
66
|
-
_pdfDocument: import("../src/display/api").PDFDocumentProxy | null | undefined;
|
|
67
|
-
_dirtyMatch: boolean | undefined;
|
|
68
|
-
_findTimeout: any;
|
|
69
|
-
_highlightMatches: boolean | undefined;
|
|
70
|
-
/**
|
|
71
|
-
* @typedef {Object} PDFFindControllerScrollMatchIntoViewParams
|
|
72
|
-
* @property {HTMLElement} element
|
|
73
|
-
* @property {number} selectedLeft
|
|
74
|
-
* @property {number} pageIndex
|
|
75
|
-
* @property {number} matchIndex
|
|
76
|
-
*/
|
|
77
|
-
/**
|
|
78
|
-
* Scroll the current match into view.
|
|
79
|
-
* @param {PDFFindControllerScrollMatchIntoViewParams}
|
|
80
|
-
*/
|
|
81
|
-
scrollMatchIntoView({ element, selectedLeft, pageIndex, matchIndex, }: {
|
|
82
|
-
element: HTMLElement;
|
|
83
|
-
selectedLeft: number;
|
|
84
|
-
pageIndex: number;
|
|
85
|
-
matchIndex: number;
|
|
86
|
-
}): void;
|
|
87
|
-
_scrollMatches: boolean | undefined;
|
|
88
|
-
_pageMatches: any[] | undefined;
|
|
89
|
-
_pageMatchesLength: any[] | undefined;
|
|
90
|
-
_selected: {
|
|
91
|
-
pageIdx: number;
|
|
92
|
-
matchIdx: number;
|
|
93
|
-
} | undefined;
|
|
94
|
-
_offset: {
|
|
95
|
-
pageIdx: null;
|
|
96
|
-
matchIdx: null;
|
|
97
|
-
wrapped: boolean;
|
|
98
|
-
} | undefined;
|
|
99
|
-
_extractTextPromises: any[] | undefined;
|
|
100
|
-
_pageContents: any[] | undefined;
|
|
101
|
-
_pageDiffs: any[] | undefined;
|
|
102
|
-
_hasDiacritics: any[] | undefined;
|
|
103
|
-
_matchesCountTotal: number | undefined;
|
|
104
|
-
_pagesToSearch: number | null | undefined;
|
|
105
|
-
_pendingFindMatches: Set<any> | undefined;
|
|
106
|
-
_resumePageIdx: any;
|
|
107
|
-
_firstPageCapability: any;
|
|
108
|
-
_rawQuery: any;
|
|
109
|
-
/**
|
|
110
|
-
* @typedef {Object} FindMatch
|
|
111
|
-
* @property {number} index - The start of the matched text in the page's
|
|
112
|
-
* string contents.
|
|
113
|
-
* @property {number} length - The length of the matched text.
|
|
114
|
-
*/
|
|
115
|
-
/**
|
|
116
|
-
* @param {string | string[]} query - The search query.
|
|
117
|
-
* @param {string} pageContent - The text content of the page to search in.
|
|
118
|
-
* @param {number} pageIndex - The index of the page that is being processed.
|
|
119
|
-
* @returns {FindMatch[] | undefined} An array of matches in the provided
|
|
120
|
-
* page.
|
|
121
|
-
*/
|
|
122
|
-
match(query: string | string[], pageContent: string, pageIndex: number): {
|
|
123
|
-
/**
|
|
124
|
-
* - The start of the matched text in the page's
|
|
125
|
-
* string contents.
|
|
126
|
-
*/
|
|
127
|
-
index: number;
|
|
128
|
-
/**
|
|
129
|
-
* - The length of the matched text.
|
|
130
|
-
*/
|
|
131
|
-
length: number;
|
|
132
|
-
}[] | undefined;
|
|
133
|
-
#private;
|
|
134
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export namespace CharacterType {
|
|
2
|
-
let SPACE: number;
|
|
3
|
-
let ALPHA_LETTER: number;
|
|
4
|
-
let PUNCT: number;
|
|
5
|
-
let HAN_LETTER: number;
|
|
6
|
-
let KATAKANA_LETTER: number;
|
|
7
|
-
let HIRAGANA_LETTER: number;
|
|
8
|
-
let HALFWIDTH_KATAKANA_LETTER: number;
|
|
9
|
-
let THAI_LETTER: number;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* This function is based on the word-break detection implemented in:
|
|
13
|
-
* https://hg.mozilla.org/mozilla-central/file/tip/intl/lwbrk/WordBreaker.cpp
|
|
14
|
-
*/
|
|
15
|
-
export function getCharacterType(charCode: any): number;
|
|
16
|
-
export function getNormalizeWithNFKC(): any;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
export type PDFHistoryOptions = {
|
|
2
|
-
/**
|
|
3
|
-
* - The navigation/linking service.
|
|
4
|
-
*/
|
|
5
|
-
linkService: IPDFLinkService;
|
|
6
|
-
/**
|
|
7
|
-
* - The application event bus.
|
|
8
|
-
*/
|
|
9
|
-
eventBus: EventBus;
|
|
10
|
-
};
|
|
11
|
-
export type InitializeParameters = {
|
|
12
|
-
/**
|
|
13
|
-
* - The PDF document's unique fingerprint.
|
|
14
|
-
*/
|
|
15
|
-
fingerprint: string;
|
|
16
|
-
/**
|
|
17
|
-
* - Reset the browsing history.
|
|
18
|
-
*/
|
|
19
|
-
resetHistory?: boolean | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* - Attempt to update the document URL, with
|
|
22
|
-
* the current hash, when pushing/replacing browser history entries.
|
|
23
|
-
*/
|
|
24
|
-
updateUrl?: boolean | undefined;
|
|
25
|
-
};
|
|
26
|
-
export type PushParameters = {
|
|
27
|
-
/**
|
|
28
|
-
* - The named destination. If absent, a
|
|
29
|
-
* stringified version of `explicitDest` is used.
|
|
30
|
-
*/
|
|
31
|
-
namedDest?: string | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* - The explicit destination array.
|
|
34
|
-
*/
|
|
35
|
-
explicitDest: any[];
|
|
36
|
-
/**
|
|
37
|
-
* - The page to which the destination points.
|
|
38
|
-
*/
|
|
39
|
-
pageNumber: number;
|
|
40
|
-
};
|
|
41
|
-
export type EventBus = import("./event_utils").EventBus;
|
|
42
|
-
export type IPDFLinkService = import("./interfaces").IPDFLinkService;
|
|
43
|
-
export function isDestArraysEqual(firstDest: any, secondDest: any): boolean;
|
|
44
|
-
export function isDestHashesEqual(destHash: any, pushHash: any): boolean;
|
|
45
|
-
export class PDFHistory {
|
|
46
|
-
/**
|
|
47
|
-
* @param {PDFHistoryOptions} options
|
|
48
|
-
*/
|
|
49
|
-
constructor({ linkService, eventBus }: PDFHistoryOptions);
|
|
50
|
-
linkService: import("./interfaces").IPDFLinkService;
|
|
51
|
-
eventBus: import("./event_utils.js").EventBus;
|
|
52
|
-
_initialized: boolean;
|
|
53
|
-
_fingerprint: string;
|
|
54
|
-
_isPagesLoaded: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Initialize the history for the PDF document, using either the current
|
|
57
|
-
* browser history entry or the document hash, whichever is present.
|
|
58
|
-
* @param {InitializeParameters} params
|
|
59
|
-
*/
|
|
60
|
-
initialize({ fingerprint, resetHistory, updateUrl }: InitializeParameters): void;
|
|
61
|
-
_updateUrl: boolean | undefined;
|
|
62
|
-
_popStateInProgress: boolean | undefined;
|
|
63
|
-
_blockHashChange: number | undefined;
|
|
64
|
-
_currentHash: string | undefined;
|
|
65
|
-
_numPositionUpdates: number | undefined;
|
|
66
|
-
_uid: any;
|
|
67
|
-
_maxUid: any;
|
|
68
|
-
_destination: any;
|
|
69
|
-
_position: {
|
|
70
|
-
hash: any;
|
|
71
|
-
page: number;
|
|
72
|
-
first: any;
|
|
73
|
-
rotation: any;
|
|
74
|
-
} | null | undefined;
|
|
75
|
-
_initialRotation: any;
|
|
76
|
-
_initialBookmark: any;
|
|
77
|
-
/**
|
|
78
|
-
* Reset the current `PDFHistory` instance, and consequently prevent any
|
|
79
|
-
* further updates and/or navigation of the browser history.
|
|
80
|
-
*/
|
|
81
|
-
reset(): void;
|
|
82
|
-
_updateViewareaTimeout: any;
|
|
83
|
-
/**
|
|
84
|
-
* Push an internal destination to the browser history.
|
|
85
|
-
* @param {PushParameters}
|
|
86
|
-
*/
|
|
87
|
-
push({ namedDest, explicitDest, pageNumber }: PushParameters): void;
|
|
88
|
-
/**
|
|
89
|
-
* Push a page to the browser history; generally the `push` method should be
|
|
90
|
-
* used instead.
|
|
91
|
-
* @param {number} pageNumber
|
|
92
|
-
*/
|
|
93
|
-
pushPage(pageNumber: number): void;
|
|
94
|
-
/**
|
|
95
|
-
* Push the current position to the browser history.
|
|
96
|
-
*/
|
|
97
|
-
pushCurrentPosition(): void;
|
|
98
|
-
/**
|
|
99
|
-
* Go back one step in the browser history.
|
|
100
|
-
* NOTE: Avoids navigating away from the document, useful for "named actions".
|
|
101
|
-
*/
|
|
102
|
-
back(): void;
|
|
103
|
-
/**
|
|
104
|
-
* Go forward one step in the browser history.
|
|
105
|
-
* NOTE: Avoids navigating away from the document, useful for "named actions".
|
|
106
|
-
*/
|
|
107
|
-
forward(): void;
|
|
108
|
-
/**
|
|
109
|
-
* @type {boolean} Indicating if the user is currently moving through the
|
|
110
|
-
* browser history, useful e.g. for skipping the next 'hashchange' event.
|
|
111
|
-
*/
|
|
112
|
-
get popStateInProgress(): boolean;
|
|
113
|
-
get initialBookmark(): any;
|
|
114
|
-
get initialRotation(): any;
|
|
115
|
-
#private;
|
|
116
|
-
}
|