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