@nocobase/plugin-file-manager 2.1.0-beta.36 → 2.1.0-beta.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/764.96d72bc6fd4adb28.js +15 -0
- package/dist/client/876.ca16d7a6e6387862.js +11 -0
- package/dist/client/index.js +1 -1
- package/dist/client-v2/764.d5a27ea47a2d3239.js +15 -0
- package/dist/client-v2/876.22cd8e41ac8631ed.js +11 -0
- package/dist/client-v2/index.js +1 -1
- package/dist/externalVersion.js +9 -9
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
- package/dist/node_modules/@aws-sdk/lib-storage/package.json +1 -1
- package/dist/node_modules/ali-oss/package.json +1 -1
- package/dist/node_modules/cos-nodejs-sdk-v5/package.json +1 -1
- package/dist/node_modules/mime-match/package.json +1 -1
- package/dist/node_modules/mime-types/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/pdfjs-dist/LICENSE +177 -0
- package/dist/node_modules/pdfjs-dist/build/pdf.mjs +26514 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Add-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Add-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/B5pc-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/B5pc-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS1-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS1-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/CNS2-V.bcmap +3 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETHK-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETHK-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETen-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETen-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETenms-B5-H.bcmap +3 -0
- package/dist/node_modules/pdfjs-dist/cmaps/ETenms-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Ext-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Ext-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GB-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GB-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GB-H.bcmap +4 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GB-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBK-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBK-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBK2K-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBK2K-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBT-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBT-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBT-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBT-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKdla-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKdla-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKm314-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKm314-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKm471-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKm471-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKscs-B5-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/HKscs-B5-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Hankaku.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Hiragana.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-Johab-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-Johab-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Katakana.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/NWP-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/NWP-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/RKSJ-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/RKSJ-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/Roman.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/V.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/cmaps/WP-Symbol.bcmap +0 -0
- package/dist/node_modules/pdfjs-dist/iccs/CGATS001Compat-v2-micro.icc +0 -0
- package/dist/node_modules/pdfjs-dist/legacy/build/pdf.d.mts +1 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_add.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_disclaimer.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_done.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_spinner.svg +30 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_warning.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-check.svg +11 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-comment.svg +16 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-help.svg +26 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-insert.svg +10 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-key.svg +11 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-newparagraph.svg +11 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-noicon.svg +7 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-note.svg +42 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-paperclip.svg +6 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-paragraph.svg +16 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-pushpin.svg +7 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/checkmark.svg +5 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-actionsButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-closeButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-editButton.svg +8 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-popup-editButton.svg +5 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorFreeText.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorInk.svg +4 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/editor-toolbar-delete.svg +5 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/editor-toolbar-edit.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/findbarButton-next.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/findbarButton-previous.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/gv-toolbarButton-download.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/loading.svg +1 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_closingButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_info.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_warning.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_closeButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_selected.svg +7 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_viewArrow.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_viewButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-firstPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-handTool.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-lastPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-selectTool.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-bookmark.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-currentOutlineItem.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-download.svg +4 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorFreeText.svg +5 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorInk.svg +4 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorSignature.svg +6 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorStamp.svg +8 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-openFile.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-pageDown.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-pageUp.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-presentationMode.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-print.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-search.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewAttachments.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewLayers.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewOutline.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewThumbnail.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewsManagerToggle.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-zoomIn.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-zoomOut.svg +3 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/treeitem-collapsed.svg +1 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/images/treeitem-expanded.svg +1 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/pdf_viewer.css +6989 -0
- package/dist/node_modules/pdfjs-dist/legacy/web/pdf_viewer.d.mts +1 -0
- package/dist/node_modules/pdfjs-dist/package.json +1 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitDingbats.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixed.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerif.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSymbol.pfb +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LICENSE_FOXIT +27 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LICENSE_LIBERATION +102 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/annotation_layer.d.ts +276 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/annotation_storage.d.ts +94 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/api.d.ts +1630 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/api_utils.d.ts +13 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas.d.ts +207 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas_dependency_tracker.d.ts +160 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/canvas_factory.d.ts +27 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/cmap_reader_factory.d.ts +25 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/content_disposition.d.ts +7 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/display_utils.d.ts +366 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/draw_layer.d.ts +22 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/alt_text.d.ts +34 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/annotation_editor_layer.d.ts +233 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/color_picker.d.ts +39 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/comment.d.ts +59 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/draw.d.ts +117 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/contour.d.ts +3 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/freedraw.d.ts +32 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/highlight.d.ts +37 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/inkdraw.d.ts +129 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/outline.d.ts +19 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/signaturedraw.d.ts +79 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/editor.d.ts +578 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/freetext.d.ts +63 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/highlight.d.ts +76 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/ink.d.ts +42 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/signature.d.ts +77 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/stamp.d.ts +49 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/toolbar.d.ts +26 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/editor/tools.d.ts +481 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/fetch_stream.d.ts +7 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/filter_factory.d.ts +29 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/font_loader.d.ts +67 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/metadata.d.ts +10 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/network.d.ts +20 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/network_utils.d.ts +15 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/node_stream.d.ts +5 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/node_utils.d.ts +32 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/optional_content_config.d.ts +18 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/pattern_helper.d.ts +77 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/pdf_objects.d.ts +40 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/standard_fontdata_factory.d.ts +20 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/svg_factory.d.ts +14 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/text_layer.d.ts +85 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/touch_manager.d.ts +18 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/transport_stream.d.ts +10 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/wasm_factory.d.ts +20 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/worker_options.d.ts +25 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/xfa_layer.d.ts +47 -0
- package/dist/node_modules/pdfjs-dist/types/src/display/xfa_text.d.ts +21 -0
- package/dist/node_modules/pdfjs-dist/types/src/pdf.d.ts +64 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/base_pdf_stream.d.ts +120 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/image_utils.d.ts +17 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/message_handler.d.ts +48 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/murmurhash3.d.ts +7 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/obj-bin-transform.d.ts +90 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/scripting_utils.d.ts +18 -0
- package/dist/node_modules/pdfjs-dist/types/src/shared/util.d.ts +420 -0
- package/dist/node_modules/pdfjs-dist/types/web/annotation_editor_layer_builder.d.ts +65 -0
- package/dist/node_modules/pdfjs-dist/types/web/annotation_layer_builder.d.ts +108 -0
- package/dist/node_modules/pdfjs-dist/types/web/app_options.d.ts +16 -0
- package/dist/node_modules/pdfjs-dist/types/web/autolinker.d.ts +29 -0
- package/dist/node_modules/pdfjs-dist/types/web/base_pdf_page_view.d.ts +28 -0
- package/dist/node_modules/pdfjs-dist/types/web/comment_manager.d.ts +20 -0
- package/dist/node_modules/pdfjs-dist/types/web/download_manager.d.ts +13 -0
- package/dist/node_modules/pdfjs-dist/types/web/draw_layer_builder.d.ts +22 -0
- package/dist/node_modules/pdfjs-dist/types/web/event_utils.d.ts +77 -0
- package/dist/node_modules/pdfjs-dist/types/web/generic_scripting.d.ts +8 -0
- package/dist/node_modules/pdfjs-dist/types/web/genericl10n.d.ts +22 -0
- package/dist/node_modules/pdfjs-dist/types/web/interfaces.d.ts +174 -0
- package/dist/node_modules/pdfjs-dist/types/web/l10n.d.ts +34 -0
- package/dist/node_modules/pdfjs-dist/types/web/menu.d.ts +11 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_find_controller.d.ts +134 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_find_utils.d.ts +16 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_history.d.ts +116 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_link_service.d.ts +147 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_page_detail_view.d.ts +33 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_page_view.d.ts +244 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_rendering_queue.d.ts +54 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_scripting_manager.component.d.ts +5 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_scripting_manager.d.ts +57 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_single_page_viewer.d.ts +7 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_thumbnail_view.d.ts +108 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_thumbnail_viewer.d.ts +136 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_viewer.component.d.ts +23 -0
- package/dist/node_modules/pdfjs-dist/types/web/pdf_viewer.d.ts +625 -0
- package/dist/node_modules/pdfjs-dist/types/web/sidebar.d.ts +65 -0
- package/dist/node_modules/pdfjs-dist/types/web/struct_tree_layer_builder.d.ts +25 -0
- package/dist/node_modules/pdfjs-dist/types/web/text_accessibility.d.ts +44 -0
- package/dist/node_modules/pdfjs-dist/types/web/text_highlighter.d.ts +63 -0
- package/dist/node_modules/pdfjs-dist/types/web/text_layer_builder.d.ts +65 -0
- package/dist/node_modules/pdfjs-dist/types/web/ui_utils.d.ts +274 -0
- package/dist/node_modules/pdfjs-dist/types/web/xfa_layer_builder.d.ts +50 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_JBIG2 +196 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_OPENJPEG +39 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_JBIG2 +13 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_QCMS +22 -0
- package/dist/node_modules/pdfjs-dist/wasm/LICENSE_QCMS +21 -0
- package/dist/node_modules/pdfjs-dist/wasm/jbig2.wasm +0 -0
- package/dist/node_modules/pdfjs-dist/wasm/openjpeg.wasm +0 -0
- package/dist/node_modules/pdfjs-dist/wasm/openjpeg_nowasm_fallback.js +17 -0
- package/dist/node_modules/pdfjs-dist/wasm/qcms_bg.wasm +0 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_add.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_disclaimer.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_done.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_spinner.svg +30 -0
- package/dist/node_modules/pdfjs-dist/web/images/altText_warning.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-check.svg +11 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-comment.svg +16 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-help.svg +26 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-insert.svg +10 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-key.svg +11 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-newparagraph.svg +11 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-noicon.svg +7 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-note.svg +42 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-paperclip.svg +6 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-paragraph.svg +16 -0
- package/dist/node_modules/pdfjs-dist/web/images/annotation-pushpin.svg +7 -0
- package/dist/node_modules/pdfjs-dist/web/images/checkmark.svg +5 -0
- package/dist/node_modules/pdfjs-dist/web/images/comment-actionsButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/comment-closeButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/comment-editButton.svg +8 -0
- package/dist/node_modules/pdfjs-dist/web/images/comment-popup-editButton.svg +5 -0
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorFreeHighlight.svg +6 -0
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorFreeText.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorInk.svg +4 -0
- package/dist/node_modules/pdfjs-dist/web/images/cursor-editorTextHighlight.svg +8 -0
- package/dist/node_modules/pdfjs-dist/web/images/editor-toolbar-delete.svg +5 -0
- package/dist/node_modules/pdfjs-dist/web/images/editor-toolbar-edit.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/findbarButton-next.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/findbarButton-previous.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/gv-toolbarButton-download.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/loading.svg +1 -0
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_closingButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_info.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/messageBar_warning.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/pages_closeButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/pages_selected.svg +7 -0
- package/dist/node_modules/pdfjs-dist/web/images/pages_viewArrow.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/pages_viewButton.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-firstPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-handTool.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-lastPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-selectTool.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-bookmark.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-currentOutlineItem.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-download.svg +4 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorFreeText.svg +5 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorHighlight.svg +6 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorInk.svg +4 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorSignature.svg +6 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorStamp.svg +8 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-menuArrow.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-openFile.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-pageDown.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-pageUp.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-presentationMode.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-print.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-search.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewAttachments.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewLayers.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewOutline.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewThumbnail.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewsManagerToggle.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-zoomIn.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-zoomOut.svg +3 -0
- package/dist/node_modules/pdfjs-dist/web/images/treeitem-collapsed.svg +1 -0
- package/dist/node_modules/pdfjs-dist/web/images/treeitem-expanded.svg +1 -0
- package/dist/node_modules/pdfjs-dist/web/pdf_viewer.css +6989 -0
- package/dist/node_modules/pdfjs-dist/web/pdf_viewer.d.mts +1 -0
- package/dist/node_modules/url-join/package.json +1 -1
- package/dist/shared/previewer/filePreviewTypes.d.ts +1 -0
- package/dist/shared/previewer/filePreviewTypes.js +238 -6
- package/package.json +4 -5
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export class InkDrawingOptions extends DrawingOptions {
|
|
2
|
+
constructor(viewerParameters: any);
|
|
3
|
+
_viewParameters: any;
|
|
4
|
+
clone(): InkDrawingOptions;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Basic draw editor in order to generate an Ink annotation.
|
|
8
|
+
*/
|
|
9
|
+
export class InkEditor extends DrawingEditor {
|
|
10
|
+
static _type: string;
|
|
11
|
+
static _editorType: number;
|
|
12
|
+
static _defaultDrawingOptions: null;
|
|
13
|
+
/** @inheritdoc */
|
|
14
|
+
static initialize(l10n: any, uiManager: any): void;
|
|
15
|
+
/** @inheritdoc */
|
|
16
|
+
static getDefaultDrawingOptions(options: any): any;
|
|
17
|
+
/** @inheritdoc */
|
|
18
|
+
static get typesMap(): any;
|
|
19
|
+
/** @inheritdoc */
|
|
20
|
+
static createDrawerInstance(x: any, y: any, parentWidth: any, parentHeight: any, rotation: any): InkDrawOutliner;
|
|
21
|
+
/** @inheritdoc */
|
|
22
|
+
static deserializeDraw(pageX: any, pageY: any, pageWidth: any, pageHeight: any, innerMargin: any, data: any): any;
|
|
23
|
+
defaultL10nId: string;
|
|
24
|
+
/** @inheritdoc */
|
|
25
|
+
get toolbarButtons(): (string | null)[][];
|
|
26
|
+
get colorType(): number;
|
|
27
|
+
get color(): any;
|
|
28
|
+
get opacity(): any;
|
|
29
|
+
/** @inheritdoc */
|
|
30
|
+
createDrawingOptions({ color, thickness, opacity }: {
|
|
31
|
+
color: any;
|
|
32
|
+
thickness: any;
|
|
33
|
+
opacity: any;
|
|
34
|
+
}): void;
|
|
35
|
+
_drawingOptions: any;
|
|
36
|
+
/** @inheritdoc */
|
|
37
|
+
serialize(isForCopying?: boolean): Object | null;
|
|
38
|
+
#private;
|
|
39
|
+
}
|
|
40
|
+
import { DrawingOptions } from "./draw.js";
|
|
41
|
+
import { DrawingEditor } from "./draw.js";
|
|
42
|
+
import { InkDrawOutliner } from "./drawers/inkdraw.js";
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Basic editor in order to generate an Stamp annotation annotation containing
|
|
3
|
+
* a signature drawing.
|
|
4
|
+
*/
|
|
5
|
+
export class SignatureEditor extends DrawingEditor {
|
|
6
|
+
static _type: string;
|
|
7
|
+
static _editorType: number;
|
|
8
|
+
static _defaultDrawingOptions: null;
|
|
9
|
+
/** @inheritdoc */
|
|
10
|
+
static initialize(l10n: any, uiManager: any): void;
|
|
11
|
+
/** @inheritdoc */
|
|
12
|
+
static getDefaultDrawingOptions(options: any): any;
|
|
13
|
+
static get typesMap(): any;
|
|
14
|
+
static computeTelemetryFinalData(data: any): {
|
|
15
|
+
hasAltText: any;
|
|
16
|
+
hasNoAltText: any;
|
|
17
|
+
};
|
|
18
|
+
/** @inheritdoc */
|
|
19
|
+
static deserializeDraw(pageX: any, pageY: any, pageWidth: any, pageHeight: any, innerMargin: any, data: any): any;
|
|
20
|
+
defaultL10nId: string;
|
|
21
|
+
/** @inheritdoc */
|
|
22
|
+
get telemetryFinalData(): {
|
|
23
|
+
type: string;
|
|
24
|
+
hasDescription: boolean;
|
|
25
|
+
};
|
|
26
|
+
setUuid(uuid: any): void;
|
|
27
|
+
getUuid(): null;
|
|
28
|
+
set description(description: null);
|
|
29
|
+
get description(): null;
|
|
30
|
+
getSignaturePreview(): {
|
|
31
|
+
areContours: any;
|
|
32
|
+
outline: InkDrawOutline;
|
|
33
|
+
};
|
|
34
|
+
/** @inheritdoc */
|
|
35
|
+
get toolbarButtons(): any[][] | null;
|
|
36
|
+
addSignature(data: any, heightInPage: any, description: any, uuid: any): void;
|
|
37
|
+
getFromImage(bitmap: any): {
|
|
38
|
+
outline: InkDrawOutline;
|
|
39
|
+
newCurves: any[];
|
|
40
|
+
areContours: any;
|
|
41
|
+
thickness: any;
|
|
42
|
+
width: any;
|
|
43
|
+
height: any;
|
|
44
|
+
} | null;
|
|
45
|
+
getFromText(text: any, fontInfo: any): {
|
|
46
|
+
outline: InkDrawOutline;
|
|
47
|
+
newCurves: any[];
|
|
48
|
+
areContours: any;
|
|
49
|
+
thickness: any;
|
|
50
|
+
width: any;
|
|
51
|
+
height: any;
|
|
52
|
+
} | null;
|
|
53
|
+
getDrawnSignature(curves: any): {
|
|
54
|
+
outline: InkDrawOutline;
|
|
55
|
+
newCurves: any[];
|
|
56
|
+
areContours: any;
|
|
57
|
+
thickness: any;
|
|
58
|
+
width: any;
|
|
59
|
+
height: any;
|
|
60
|
+
} | null;
|
|
61
|
+
/** @inheritdoc */
|
|
62
|
+
createDrawingOptions({ areContours, thickness }: {
|
|
63
|
+
areContours: any;
|
|
64
|
+
thickness: any;
|
|
65
|
+
}): void;
|
|
66
|
+
_drawingOptions: any;
|
|
67
|
+
/** @inheritdoc */
|
|
68
|
+
serialize(isForCopying?: boolean): {
|
|
69
|
+
isSignature: boolean;
|
|
70
|
+
areContours: boolean;
|
|
71
|
+
color: number[];
|
|
72
|
+
thickness: any;
|
|
73
|
+
} | null;
|
|
74
|
+
#private;
|
|
75
|
+
}
|
|
76
|
+
import { DrawingEditor } from "./draw.js";
|
|
77
|
+
import { InkDrawOutline } from "./drawers/inkdraw.js";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Basic text editor in order to create a FreeTex annotation.
|
|
3
|
+
*/
|
|
4
|
+
export class StampEditor extends AnnotationEditor {
|
|
5
|
+
static _type: string;
|
|
6
|
+
static _editorType: number;
|
|
7
|
+
/** @inheritdoc */
|
|
8
|
+
static initialize(l10n: any, uiManager: any): void;
|
|
9
|
+
/** @inheritdoc */
|
|
10
|
+
static isHandlingMimeForPasting(mime: any): boolean;
|
|
11
|
+
/** @inheritdoc */
|
|
12
|
+
static paste(item: any, parent: any): void;
|
|
13
|
+
static computeTelemetryFinalData(data: any): {
|
|
14
|
+
hasAltText: any;
|
|
15
|
+
hasNoAltText: any;
|
|
16
|
+
};
|
|
17
|
+
/** @inheritdoc */
|
|
18
|
+
static deserialize(data: any, parent: any, uiManager: any): Promise<AnnotationEditor | null>;
|
|
19
|
+
constructor(params: any);
|
|
20
|
+
defaultL10nId: string;
|
|
21
|
+
/** @inheritdoc */
|
|
22
|
+
get telemetryFinalData(): {
|
|
23
|
+
type: string;
|
|
24
|
+
hasAltText: boolean;
|
|
25
|
+
};
|
|
26
|
+
mlGuessAltText(imageData?: null, updateAltTextData?: boolean): Promise<any>;
|
|
27
|
+
/** @inheritdoc */
|
|
28
|
+
onceAdded(focus: any): void;
|
|
29
|
+
/** @inheritdoc */
|
|
30
|
+
get toolbarButtons(): (string | object)[][];
|
|
31
|
+
setCanvas(annotationElementId: any, canvas: any): void;
|
|
32
|
+
onScaleChanging(): void;
|
|
33
|
+
copyCanvas(maxDataDimension: any, maxPreviewDimension: any, createImageData?: boolean): {
|
|
34
|
+
canvas: HTMLCanvasElement | null;
|
|
35
|
+
width: any;
|
|
36
|
+
height: any;
|
|
37
|
+
imageData: {
|
|
38
|
+
width: any;
|
|
39
|
+
height: any;
|
|
40
|
+
data: ImageDataArray;
|
|
41
|
+
} | null;
|
|
42
|
+
};
|
|
43
|
+
/** @inheritdoc */
|
|
44
|
+
serialize(isForCopying?: boolean, context?: null): Object | null;
|
|
45
|
+
/** @inheritdoc */
|
|
46
|
+
renderAnnotationElement(annotation: any): null;
|
|
47
|
+
#private;
|
|
48
|
+
}
|
|
49
|
+
import { AnnotationEditor } from "./editor.js";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export class EditorToolbar {
|
|
2
|
+
static "__#private@#l10nRemove": null;
|
|
3
|
+
static "__#private@#pointerDown"(e: any): void;
|
|
4
|
+
constructor(editor: any);
|
|
5
|
+
render(): HTMLDivElement;
|
|
6
|
+
get div(): null;
|
|
7
|
+
hide(): void;
|
|
8
|
+
show(): void;
|
|
9
|
+
addDeleteButton(): void;
|
|
10
|
+
addAltText(altText: any): Promise<void>;
|
|
11
|
+
addComment(comment: any, beforeElement?: null): void;
|
|
12
|
+
addColorPicker(colorPicker: any): void;
|
|
13
|
+
addEditSignatureButton(signatureManager: any): Promise<void>;
|
|
14
|
+
removeButton(name: any): void;
|
|
15
|
+
addButton(name: any, tool: any): Promise<void>;
|
|
16
|
+
addButtonBefore(name: any, tool: any, beforeSelector: any): Promise<void>;
|
|
17
|
+
updateEditSignatureButton(description: any): void;
|
|
18
|
+
remove(): void;
|
|
19
|
+
#private;
|
|
20
|
+
}
|
|
21
|
+
export class FloatingToolbar {
|
|
22
|
+
constructor(uiManager: any);
|
|
23
|
+
show(parent: any, boxes: any, isLTR: any): void;
|
|
24
|
+
hide(): void;
|
|
25
|
+
#private;
|
|
26
|
+
}
|
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
export type AnnotationEditor = import("./editor.js").AnnotationEditor;
|
|
2
|
+
export type AnnotationEditorLayer = import("./annotation_editor_layer.js").AnnotationEditorLayer;
|
|
3
|
+
/**
|
|
4
|
+
* A pdf has several pages and each of them when it will rendered
|
|
5
|
+
* will have an AnnotationEditorLayer which will contain the some
|
|
6
|
+
* new Annotations associated to an editor in order to modify them.
|
|
7
|
+
*
|
|
8
|
+
* This class is used to manage all the different layers, editors and
|
|
9
|
+
* some action like copy/paste, undo/redo, ...
|
|
10
|
+
*/
|
|
11
|
+
export class AnnotationEditorUIManager {
|
|
12
|
+
static TRANSLATE_SMALL: number;
|
|
13
|
+
static TRANSLATE_BIG: number;
|
|
14
|
+
static get _keyboardManager(): any;
|
|
15
|
+
constructor(container: any, viewer: any, viewerAlert: any, altTextManager: any, commentManager: any, signatureManager: any, eventBus: any, pdfDocument: any, pageColors: any, highlightColors: any, enableHighlightFloatingButton: any, enableUpdatedAddImage: any, enableNewAltTextWhenAddingImage: any, mlManager: any, editorUndoBar: any, supportsPinchToZoom: any);
|
|
16
|
+
_editorUndoBar: null;
|
|
17
|
+
_signal: AbortSignal;
|
|
18
|
+
_eventBus: any;
|
|
19
|
+
viewParameters: {
|
|
20
|
+
realScale: number;
|
|
21
|
+
rotation: number;
|
|
22
|
+
};
|
|
23
|
+
isShiftKeyDown: boolean;
|
|
24
|
+
_supportsPinchToZoom: boolean;
|
|
25
|
+
destroy(): void;
|
|
26
|
+
combinedSignal(ac: any): AbortSignal;
|
|
27
|
+
get mlManager(): null;
|
|
28
|
+
get useNewAltTextFlow(): boolean;
|
|
29
|
+
get useNewAltTextWhenAddingImage(): boolean;
|
|
30
|
+
get hcmFilter(): any;
|
|
31
|
+
get direction(): any;
|
|
32
|
+
get _highlightColors(): any;
|
|
33
|
+
get highlightColors(): any;
|
|
34
|
+
get highlightColorNames(): any;
|
|
35
|
+
getNonHCMColor(color: any): any;
|
|
36
|
+
getNonHCMColorName(color: any): any;
|
|
37
|
+
/**
|
|
38
|
+
* Set the current drawing session.
|
|
39
|
+
* @param {AnnotationEditorLayer} layer
|
|
40
|
+
*/
|
|
41
|
+
setCurrentDrawingSession(layer: AnnotationEditorLayer): void;
|
|
42
|
+
setMainHighlightColorPicker(colorPicker: any): void;
|
|
43
|
+
editAltText(editor: any, firstTime?: boolean): void;
|
|
44
|
+
hasCommentManager(): boolean;
|
|
45
|
+
editComment(editor: any, posX: any, posY: any, options: any): void;
|
|
46
|
+
selectComment(pageIndex: any, uid: any): void;
|
|
47
|
+
updateComment(editor: any): void;
|
|
48
|
+
updatePopupColor(editor: any): void;
|
|
49
|
+
removeComment(editor: any): void;
|
|
50
|
+
/**
|
|
51
|
+
* Delete a comment from an editor with undo support.
|
|
52
|
+
* @param {AnnotationEditor} editor - The editor whose comment to delete.
|
|
53
|
+
* @param {Object} savedData - The comment data to save for undo.
|
|
54
|
+
*/
|
|
55
|
+
deleteComment(editor: AnnotationEditor, savedData: Object): void;
|
|
56
|
+
toggleComment(editor: any, isSelected: any, visibility?: undefined): void;
|
|
57
|
+
makeCommentColor(color: any, opacity: any): any;
|
|
58
|
+
getCommentDialogElement(): any;
|
|
59
|
+
waitForEditorsRendered(pageNumber: any): Promise<void>;
|
|
60
|
+
getSignature(editor: any): void;
|
|
61
|
+
get signatureManager(): null;
|
|
62
|
+
switchToMode(mode: any, callback: any): void;
|
|
63
|
+
setPreference(name: any, value: any): void;
|
|
64
|
+
onSetPreference({ name, value }: {
|
|
65
|
+
name: any;
|
|
66
|
+
value: any;
|
|
67
|
+
}): void;
|
|
68
|
+
onPagesEdited({ pagesMapper }: {
|
|
69
|
+
pagesMapper: any;
|
|
70
|
+
}): void;
|
|
71
|
+
onPageChanging({ pageNumber }: {
|
|
72
|
+
pageNumber: any;
|
|
73
|
+
}): void;
|
|
74
|
+
focusMainContainer(): void;
|
|
75
|
+
findParent(x: any, y: any): any;
|
|
76
|
+
disableUserSelect(value?: boolean): void;
|
|
77
|
+
addShouldRescale(editor: any): void;
|
|
78
|
+
removeShouldRescale(editor: any): void;
|
|
79
|
+
onScaleChanging({ scale }: {
|
|
80
|
+
scale: any;
|
|
81
|
+
}): void;
|
|
82
|
+
onRotationChanging({ pagesRotation }: {
|
|
83
|
+
pagesRotation: any;
|
|
84
|
+
}): void;
|
|
85
|
+
highlightSelection(methodOfCreation?: string, comment?: boolean): void;
|
|
86
|
+
commentSelection(methodOfCreation?: string): void;
|
|
87
|
+
/**
|
|
88
|
+
* Some annotations may have been modified in the annotation layer
|
|
89
|
+
* (e.g. comments added or modified).
|
|
90
|
+
* So this function retrieves the data from the storage and removes
|
|
91
|
+
* them from the storage in order to be able to save them later.
|
|
92
|
+
* @param {string} annotationId
|
|
93
|
+
* @returns {Object|null} The data associated to the annotation or null.
|
|
94
|
+
*/
|
|
95
|
+
getAndRemoveDataFromAnnotationStorage(annotationId: string): Object | null;
|
|
96
|
+
/**
|
|
97
|
+
* Add an editor in the annotation storage.
|
|
98
|
+
* @param {AnnotationEditor} editor
|
|
99
|
+
*/
|
|
100
|
+
addToAnnotationStorage(editor: AnnotationEditor): void;
|
|
101
|
+
a11yAlert(messageId: any, args?: null): void;
|
|
102
|
+
blur(): void;
|
|
103
|
+
focus(): void;
|
|
104
|
+
addEditListeners(): void;
|
|
105
|
+
removeEditListeners(): void;
|
|
106
|
+
dragOver(event: any): void;
|
|
107
|
+
/**
|
|
108
|
+
* Drop callback.
|
|
109
|
+
* @param {DragEvent} event
|
|
110
|
+
*/
|
|
111
|
+
drop(event: DragEvent): void;
|
|
112
|
+
/**
|
|
113
|
+
* Copy callback.
|
|
114
|
+
* @param {ClipboardEvent} event
|
|
115
|
+
*/
|
|
116
|
+
copy(event: ClipboardEvent): void;
|
|
117
|
+
/**
|
|
118
|
+
* Cut callback.
|
|
119
|
+
* @param {ClipboardEvent} event
|
|
120
|
+
*/
|
|
121
|
+
cut(event: ClipboardEvent): void;
|
|
122
|
+
/**
|
|
123
|
+
* Paste callback.
|
|
124
|
+
* @param {ClipboardEvent} event
|
|
125
|
+
*/
|
|
126
|
+
paste(event: ClipboardEvent): Promise<void>;
|
|
127
|
+
/**
|
|
128
|
+
* Keydown callback.
|
|
129
|
+
* @param {KeyboardEvent} event
|
|
130
|
+
*/
|
|
131
|
+
keydown(event: KeyboardEvent): void;
|
|
132
|
+
/**
|
|
133
|
+
* Keyup callback.
|
|
134
|
+
* @param {KeyboardEvent} event
|
|
135
|
+
*/
|
|
136
|
+
keyup(event: KeyboardEvent): void;
|
|
137
|
+
/**
|
|
138
|
+
* Execute an action for a given name.
|
|
139
|
+
* For example, the user can click on the "Undo" entry in the context menu
|
|
140
|
+
* and it'll trigger the undo action.
|
|
141
|
+
*/
|
|
142
|
+
onEditingAction({ name }: {
|
|
143
|
+
name: any;
|
|
144
|
+
}): void;
|
|
145
|
+
/**
|
|
146
|
+
* Set the editing state.
|
|
147
|
+
* It can be useful to temporarily disable it when the user is editing a
|
|
148
|
+
* FreeText annotation.
|
|
149
|
+
* @param {boolean} isEditing
|
|
150
|
+
*/
|
|
151
|
+
setEditingState(isEditing: boolean): void;
|
|
152
|
+
registerEditorTypes(types: any): void;
|
|
153
|
+
/**
|
|
154
|
+
* Get an id.
|
|
155
|
+
* @returns {string}
|
|
156
|
+
*/
|
|
157
|
+
getId(): string;
|
|
158
|
+
get currentLayer(): any;
|
|
159
|
+
getLayer(pageIndex: any): any;
|
|
160
|
+
get currentPageIndex(): number;
|
|
161
|
+
/**
|
|
162
|
+
* Add a new layer for a page which will contains the editors.
|
|
163
|
+
* @param {AnnotationEditorLayer} layer
|
|
164
|
+
*/
|
|
165
|
+
addLayer(layer: AnnotationEditorLayer): void;
|
|
166
|
+
/**
|
|
167
|
+
* Remove a layer.
|
|
168
|
+
* @param {AnnotationEditorLayer} layer
|
|
169
|
+
*/
|
|
170
|
+
removeLayer(layer: AnnotationEditorLayer): void;
|
|
171
|
+
/**
|
|
172
|
+
* Change the editor mode (None, FreeText, Ink, ...)
|
|
173
|
+
* @param {number} mode
|
|
174
|
+
* @param {string|null} editId
|
|
175
|
+
* @param {boolean} [isFromUser] - true if the mode change is due to a
|
|
176
|
+
* user action.
|
|
177
|
+
* @param {boolean} [isFromKeyboard] - true if the mode change is due to a
|
|
178
|
+
* keyboard action.
|
|
179
|
+
* @param {boolean} [mustEnterInEditMode] - true if the editor must enter in
|
|
180
|
+
* edit mode.
|
|
181
|
+
* @param {boolean} [editComment] - true if the mode change is due to a
|
|
182
|
+
* comment edit.
|
|
183
|
+
*/
|
|
184
|
+
updateMode(mode: number, editId?: string | null, isFromUser?: boolean, isFromKeyboard?: boolean, mustEnterInEditMode?: boolean, editComment?: boolean): Promise<void>;
|
|
185
|
+
addNewEditorFromKeyboard(): void;
|
|
186
|
+
/**
|
|
187
|
+
* Update the toolbar if it's required to reflect the tool currently used.
|
|
188
|
+
* @param {Object} options
|
|
189
|
+
* @param {number} mode
|
|
190
|
+
* @returns {undefined}
|
|
191
|
+
*/
|
|
192
|
+
updateToolbar(options: Object): undefined;
|
|
193
|
+
/**
|
|
194
|
+
* Update a parameter in the current editor or globally.
|
|
195
|
+
* @param {number} type
|
|
196
|
+
* @param {*} value
|
|
197
|
+
*/
|
|
198
|
+
updateParams(type: number, value: any): void;
|
|
199
|
+
showAllEditors(type: any, visible: any, updateButton?: boolean): void;
|
|
200
|
+
enableWaiting(mustWait?: boolean): void;
|
|
201
|
+
/**
|
|
202
|
+
* Get all the editors belonging to a given page.
|
|
203
|
+
* @param {number} pageIndex
|
|
204
|
+
* @yields {AnnotationEditor}
|
|
205
|
+
*/
|
|
206
|
+
getEditors(pageIndex: number): Generator<any, void, unknown>;
|
|
207
|
+
/**
|
|
208
|
+
* Get an editor with the given id.
|
|
209
|
+
* @param {string} id
|
|
210
|
+
* @returns {AnnotationEditor}
|
|
211
|
+
*/
|
|
212
|
+
getEditor(id: string): AnnotationEditor;
|
|
213
|
+
/**
|
|
214
|
+
* Add a new editor.
|
|
215
|
+
* @param {AnnotationEditor} editor
|
|
216
|
+
*/
|
|
217
|
+
addEditor(editor: AnnotationEditor): void;
|
|
218
|
+
/**
|
|
219
|
+
* Remove an editor.
|
|
220
|
+
* @param {AnnotationEditor} editor
|
|
221
|
+
*/
|
|
222
|
+
removeEditor(editor: AnnotationEditor): void;
|
|
223
|
+
/**
|
|
224
|
+
* The annotation element with the given id has been deleted.
|
|
225
|
+
* @param {AnnotationEditor} editor
|
|
226
|
+
*/
|
|
227
|
+
addDeletedAnnotationElement(editor: AnnotationEditor): void;
|
|
228
|
+
/**
|
|
229
|
+
* Check if the annotation element with the given id has been deleted.
|
|
230
|
+
* @param {string} annotationElementId
|
|
231
|
+
* @returns {boolean}
|
|
232
|
+
*/
|
|
233
|
+
isDeletedAnnotationElement(annotationElementId: string): boolean;
|
|
234
|
+
/**
|
|
235
|
+
* The annotation element with the given id have been restored.
|
|
236
|
+
* @param {AnnotationEditor} editor
|
|
237
|
+
*/
|
|
238
|
+
removeDeletedAnnotationElement(editor: AnnotationEditor): void;
|
|
239
|
+
/**
|
|
240
|
+
* Set the given editor as the active one.
|
|
241
|
+
* @param {AnnotationEditor} editor
|
|
242
|
+
*/
|
|
243
|
+
setActiveEditor(editor: AnnotationEditor): void;
|
|
244
|
+
/**
|
|
245
|
+
* Update the UI of the active editor.
|
|
246
|
+
* @param {AnnotationEditor} editor
|
|
247
|
+
*/
|
|
248
|
+
updateUI(editor: AnnotationEditor): void;
|
|
249
|
+
updateUIForDefaultProperties(editorType: any): void;
|
|
250
|
+
/**
|
|
251
|
+
* Add or remove an editor the current selection.
|
|
252
|
+
* @param {AnnotationEditor} editor
|
|
253
|
+
*/
|
|
254
|
+
toggleSelected(editor: AnnotationEditor): void;
|
|
255
|
+
/**
|
|
256
|
+
* Set the last selected editor.
|
|
257
|
+
* @param {AnnotationEditor} editor
|
|
258
|
+
*/
|
|
259
|
+
setSelected(editor: AnnotationEditor): void;
|
|
260
|
+
/**
|
|
261
|
+
* Check if the editor is selected.
|
|
262
|
+
* @param {AnnotationEditor} editor
|
|
263
|
+
*/
|
|
264
|
+
isSelected(editor: AnnotationEditor): boolean;
|
|
265
|
+
get firstSelectedEditor(): any;
|
|
266
|
+
/**
|
|
267
|
+
* Unselect an editor.
|
|
268
|
+
* @param {AnnotationEditor} editor
|
|
269
|
+
*/
|
|
270
|
+
unselect(editor: AnnotationEditor): void;
|
|
271
|
+
get hasSelection(): boolean;
|
|
272
|
+
get isEnterHandled(): any;
|
|
273
|
+
/**
|
|
274
|
+
* Undo the last command.
|
|
275
|
+
*/
|
|
276
|
+
undo(): void;
|
|
277
|
+
/**
|
|
278
|
+
* Redo the last undoed command.
|
|
279
|
+
*/
|
|
280
|
+
redo(): void;
|
|
281
|
+
/**
|
|
282
|
+
* Add a command to execute (cmd) and another one to undo it.
|
|
283
|
+
* @param {Object} params
|
|
284
|
+
*/
|
|
285
|
+
addCommands(params: Object): void;
|
|
286
|
+
cleanUndoStack(type: any): void;
|
|
287
|
+
/**
|
|
288
|
+
* Delete the current editor or all.
|
|
289
|
+
*/
|
|
290
|
+
delete(): void;
|
|
291
|
+
commitOrRemove(): void;
|
|
292
|
+
hasSomethingToControl(): boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Select all the editors.
|
|
295
|
+
*/
|
|
296
|
+
selectAll(): void;
|
|
297
|
+
/**
|
|
298
|
+
* Unselect all the selected editors.
|
|
299
|
+
*/
|
|
300
|
+
unselectAll(): void;
|
|
301
|
+
translateSelectedEditors(x: any, y: any, noCommit?: boolean): void;
|
|
302
|
+
/**
|
|
303
|
+
* Set up the drag session for moving the selected editors.
|
|
304
|
+
*/
|
|
305
|
+
setUpDragSession(): void;
|
|
306
|
+
/**
|
|
307
|
+
* Ends the drag session.
|
|
308
|
+
* @returns {boolean} true if at least one editor has been moved.
|
|
309
|
+
*/
|
|
310
|
+
endDragSession(): boolean;
|
|
311
|
+
/**
|
|
312
|
+
* Drag the set of selected editors.
|
|
313
|
+
* @param {number} tx
|
|
314
|
+
* @param {number} ty
|
|
315
|
+
*/
|
|
316
|
+
dragSelectedEditors(tx: number, ty: number): void;
|
|
317
|
+
/**
|
|
318
|
+
* Rebuild the editor (usually on undo/redo actions) on a potentially
|
|
319
|
+
* non-rendered page.
|
|
320
|
+
* @param {AnnotationEditor} editor
|
|
321
|
+
*/
|
|
322
|
+
rebuild(editor: AnnotationEditor): void;
|
|
323
|
+
get isEditorHandlingKeyboard(): any;
|
|
324
|
+
/**
|
|
325
|
+
* Is the current editor the one passed as argument?
|
|
326
|
+
* @param {AnnotationEditor} editor
|
|
327
|
+
* @returns
|
|
328
|
+
*/
|
|
329
|
+
isActive(editor: AnnotationEditor): editor is never;
|
|
330
|
+
/**
|
|
331
|
+
* Get the current active editor.
|
|
332
|
+
* @returns {AnnotationEditor|null}
|
|
333
|
+
*/
|
|
334
|
+
getActive(): AnnotationEditor | null;
|
|
335
|
+
/**
|
|
336
|
+
* Get the current editor mode.
|
|
337
|
+
* @returns {number}
|
|
338
|
+
*/
|
|
339
|
+
getMode(): number;
|
|
340
|
+
isEditingMode(): boolean;
|
|
341
|
+
get imageManager(): any;
|
|
342
|
+
getSelectionBoxes(textLayer: any): {
|
|
343
|
+
x: number;
|
|
344
|
+
y: number;
|
|
345
|
+
width: number;
|
|
346
|
+
height: number;
|
|
347
|
+
}[] | null;
|
|
348
|
+
addChangedExistingAnnotation({ annotationElementId, id }: {
|
|
349
|
+
annotationElementId: any;
|
|
350
|
+
id: any;
|
|
351
|
+
}): void;
|
|
352
|
+
removeChangedExistingAnnotation({ annotationElementId }: {
|
|
353
|
+
annotationElementId: any;
|
|
354
|
+
}): void;
|
|
355
|
+
renderAnnotationElement(annotation: any): void;
|
|
356
|
+
setMissingCanvas(annotationId: any, annotationElementId: any, canvas: any): void;
|
|
357
|
+
addMissingCanvas(annotationId: any, editor: any): void;
|
|
358
|
+
#private;
|
|
359
|
+
}
|
|
360
|
+
export function bindEvents(obj: any, element: any, names: any): void;
|
|
361
|
+
export class ColorManager {
|
|
362
|
+
static _colorsMapping: Map<string, number[]>;
|
|
363
|
+
get _colors(): any;
|
|
364
|
+
/**
|
|
365
|
+
* In High Contrast Mode, the color on the screen is not always the
|
|
366
|
+
* real color used in the pdf.
|
|
367
|
+
* For example in some cases white can appear to be black but when saving
|
|
368
|
+
* we want to have white.
|
|
369
|
+
* @param {string} color
|
|
370
|
+
* @returns {Array<number>}
|
|
371
|
+
*/
|
|
372
|
+
convert(color: string): Array<number>;
|
|
373
|
+
/**
|
|
374
|
+
* An input element must have its color value as a hex string
|
|
375
|
+
* and not as color name.
|
|
376
|
+
* So this function converts a name into an hex string.
|
|
377
|
+
* @param {string} name
|
|
378
|
+
* @returns {string}
|
|
379
|
+
*/
|
|
380
|
+
getHexCode(name: string): string;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Class to handle undo/redo.
|
|
384
|
+
* Commands are just saved in a buffer.
|
|
385
|
+
* If we hit some memory issues we could likely use a circular buffer.
|
|
386
|
+
* It has to be used as a singleton.
|
|
387
|
+
*/
|
|
388
|
+
export class CommandManager {
|
|
389
|
+
constructor(maxSize?: number);
|
|
390
|
+
/**
|
|
391
|
+
* @typedef {Object} addOptions
|
|
392
|
+
* @property {function} cmd
|
|
393
|
+
* @property {function} undo
|
|
394
|
+
* @property {function} [post]
|
|
395
|
+
* @property {boolean} mustExec
|
|
396
|
+
* @property {number} type
|
|
397
|
+
* @property {boolean} overwriteIfSameType
|
|
398
|
+
* @property {boolean} keepUndo
|
|
399
|
+
*/
|
|
400
|
+
/**
|
|
401
|
+
* Add a new couple of commands to be used in case of redo/undo.
|
|
402
|
+
* @param {addOptions} options
|
|
403
|
+
*/
|
|
404
|
+
add({ cmd, undo, post, mustExec, type, overwriteIfSameType, keepUndo, }: {
|
|
405
|
+
cmd: Function;
|
|
406
|
+
undo: Function;
|
|
407
|
+
post?: Function | undefined;
|
|
408
|
+
mustExec: boolean;
|
|
409
|
+
type: number;
|
|
410
|
+
overwriteIfSameType: boolean;
|
|
411
|
+
keepUndo: boolean;
|
|
412
|
+
}): void;
|
|
413
|
+
/**
|
|
414
|
+
* Undo the last command.
|
|
415
|
+
*/
|
|
416
|
+
undo(): void;
|
|
417
|
+
/**
|
|
418
|
+
* Redo the last command.
|
|
419
|
+
*/
|
|
420
|
+
redo(): void;
|
|
421
|
+
/**
|
|
422
|
+
* Check if there is something to undo.
|
|
423
|
+
* @returns {boolean}
|
|
424
|
+
*/
|
|
425
|
+
hasSomethingToUndo(): boolean;
|
|
426
|
+
/**
|
|
427
|
+
* Check if there is something to redo.
|
|
428
|
+
* @returns {boolean}
|
|
429
|
+
*/
|
|
430
|
+
hasSomethingToRedo(): boolean;
|
|
431
|
+
cleanType(type: any): void;
|
|
432
|
+
destroy(): void;
|
|
433
|
+
#private;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Class to store current pointers used by the editor to be able to handle
|
|
437
|
+
* multiple pointers (e.g. two fingers, a pen, a mouse, ...).
|
|
438
|
+
*/
|
|
439
|
+
export class CurrentPointers {
|
|
440
|
+
static "__#private@#pointerId": number;
|
|
441
|
+
static "__#private@#pointerIds": null;
|
|
442
|
+
static "__#private@#moveTimestamp": number;
|
|
443
|
+
static "__#private@#pointerType": null;
|
|
444
|
+
static initializeAndAddPointerId(pointerId: any): void;
|
|
445
|
+
static setPointer(pointerType: any, pointerId: any): void;
|
|
446
|
+
static setTimeStamp(timeStamp: any): void;
|
|
447
|
+
static isSamePointerId(pointerId: any): boolean;
|
|
448
|
+
static isSamePointerIdOrRemove(pointerId: any): boolean;
|
|
449
|
+
static isSamePointerType(pointerType: any): boolean;
|
|
450
|
+
static isInitializedAndDifferentPointerType(pointerType: any): boolean;
|
|
451
|
+
static isSameTimeStamp(timeStamp: any): boolean;
|
|
452
|
+
static isUsingMultiplePointers(): boolean;
|
|
453
|
+
static clearPointerType(): void;
|
|
454
|
+
static clearPointerIds(): void;
|
|
455
|
+
static clearTimeStamp(): void;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Class to handle the different keyboards shortcuts we can have on mac or
|
|
459
|
+
* non-mac OSes.
|
|
460
|
+
*/
|
|
461
|
+
export class KeyboardManager {
|
|
462
|
+
/**
|
|
463
|
+
* Create a new keyboard manager class.
|
|
464
|
+
* @param {Array<Array>} callbacks - an array containing an array of shortcuts
|
|
465
|
+
* and a callback to call.
|
|
466
|
+
* A shortcut is a string like `ctrl+c` or `mac+ctrl+c` for mac OS.
|
|
467
|
+
*/
|
|
468
|
+
constructor(callbacks: Array<any[]>);
|
|
469
|
+
buffer: any[];
|
|
470
|
+
callbacks: Map<any, any>;
|
|
471
|
+
allKeys: Set<any>;
|
|
472
|
+
/**
|
|
473
|
+
* Execute a callback, if any, for a given keyboard event.
|
|
474
|
+
* The self is used as `this` in the callback.
|
|
475
|
+
* @param {Object} self
|
|
476
|
+
* @param {KeyboardEvent} event
|
|
477
|
+
* @returns
|
|
478
|
+
*/
|
|
479
|
+
exec(self: Object, event: KeyboardEvent): void;
|
|
480
|
+
#private;
|
|
481
|
+
}
|