@nocobase/plugin-file-manager 2.1.0-beta.35 → 2.1.0-beta.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (470) 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/942.9dc2d49980a4dd9e.js +10 -0
  7. package/dist/client-v2/index.js +1 -1
  8. package/dist/externalVersion.js +9 -9
  9. package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
  10. package/dist/node_modules/@aws-sdk/lib-storage/package.json +1 -1
  11. package/dist/node_modules/ali-oss/package.json +1 -1
  12. package/dist/node_modules/cos-nodejs-sdk-v5/package.json +1 -1
  13. package/dist/node_modules/mime-match/package.json +1 -1
  14. package/dist/node_modules/mime-types/package.json +1 -1
  15. package/dist/node_modules/mkdirp/package.json +1 -1
  16. package/dist/node_modules/pdfjs-dist/LICENSE +177 -0
  17. package/dist/node_modules/pdfjs-dist/build/pdf.mjs +26514 -0
  18. package/dist/node_modules/pdfjs-dist/cmaps/78-EUC-H.bcmap +0 -0
  19. package/dist/node_modules/pdfjs-dist/cmaps/78-EUC-V.bcmap +0 -0
  20. package/dist/node_modules/pdfjs-dist/cmaps/78-H.bcmap +0 -0
  21. package/dist/node_modules/pdfjs-dist/cmaps/78-RKSJ-H.bcmap +0 -0
  22. package/dist/node_modules/pdfjs-dist/cmaps/78-RKSJ-V.bcmap +0 -0
  23. package/dist/node_modules/pdfjs-dist/cmaps/78-V.bcmap +0 -0
  24. package/dist/node_modules/pdfjs-dist/cmaps/78ms-RKSJ-H.bcmap +0 -0
  25. package/dist/node_modules/pdfjs-dist/cmaps/78ms-RKSJ-V.bcmap +0 -0
  26. package/dist/node_modules/pdfjs-dist/cmaps/83pv-RKSJ-H.bcmap +0 -0
  27. package/dist/node_modules/pdfjs-dist/cmaps/90ms-RKSJ-H.bcmap +0 -0
  28. package/dist/node_modules/pdfjs-dist/cmaps/90ms-RKSJ-V.bcmap +0 -0
  29. package/dist/node_modules/pdfjs-dist/cmaps/90msp-RKSJ-H.bcmap +0 -0
  30. package/dist/node_modules/pdfjs-dist/cmaps/90msp-RKSJ-V.bcmap +0 -0
  31. package/dist/node_modules/pdfjs-dist/cmaps/90pv-RKSJ-H.bcmap +0 -0
  32. package/dist/node_modules/pdfjs-dist/cmaps/90pv-RKSJ-V.bcmap +0 -0
  33. package/dist/node_modules/pdfjs-dist/cmaps/Add-H.bcmap +0 -0
  34. package/dist/node_modules/pdfjs-dist/cmaps/Add-RKSJ-H.bcmap +0 -0
  35. package/dist/node_modules/pdfjs-dist/cmaps/Add-RKSJ-V.bcmap +0 -0
  36. package/dist/node_modules/pdfjs-dist/cmaps/Add-V.bcmap +0 -0
  37. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-0.bcmap +0 -0
  38. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-1.bcmap +0 -0
  39. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-2.bcmap +0 -0
  40. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-3.bcmap +0 -0
  41. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-4.bcmap +0 -0
  42. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-5.bcmap +0 -0
  43. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-6.bcmap +0 -0
  44. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  45. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-0.bcmap +0 -0
  46. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-1.bcmap +0 -0
  47. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-2.bcmap +0 -0
  48. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-3.bcmap +0 -0
  49. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-4.bcmap +0 -0
  50. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-5.bcmap +0 -0
  51. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  52. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-0.bcmap +0 -0
  53. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-1.bcmap +0 -0
  54. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-2.bcmap +0 -0
  55. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-3.bcmap +0 -0
  56. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-4.bcmap +0 -0
  57. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-5.bcmap +0 -0
  58. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-6.bcmap +0 -0
  59. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  60. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-0.bcmap +0 -0
  61. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-1.bcmap +0 -0
  62. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-2.bcmap +0 -0
  63. package/dist/node_modules/pdfjs-dist/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  64. package/dist/node_modules/pdfjs-dist/cmaps/B5-H.bcmap +0 -0
  65. package/dist/node_modules/pdfjs-dist/cmaps/B5-V.bcmap +0 -0
  66. package/dist/node_modules/pdfjs-dist/cmaps/B5pc-H.bcmap +0 -0
  67. package/dist/node_modules/pdfjs-dist/cmaps/B5pc-V.bcmap +0 -0
  68. package/dist/node_modules/pdfjs-dist/cmaps/CNS-EUC-H.bcmap +0 -0
  69. package/dist/node_modules/pdfjs-dist/cmaps/CNS-EUC-V.bcmap +0 -0
  70. package/dist/node_modules/pdfjs-dist/cmaps/CNS1-H.bcmap +0 -0
  71. package/dist/node_modules/pdfjs-dist/cmaps/CNS1-V.bcmap +0 -0
  72. package/dist/node_modules/pdfjs-dist/cmaps/CNS2-H.bcmap +0 -0
  73. package/dist/node_modules/pdfjs-dist/cmaps/CNS2-V.bcmap +3 -0
  74. package/dist/node_modules/pdfjs-dist/cmaps/ETHK-B5-H.bcmap +0 -0
  75. package/dist/node_modules/pdfjs-dist/cmaps/ETHK-B5-V.bcmap +0 -0
  76. package/dist/node_modules/pdfjs-dist/cmaps/ETen-B5-H.bcmap +0 -0
  77. package/dist/node_modules/pdfjs-dist/cmaps/ETen-B5-V.bcmap +0 -0
  78. package/dist/node_modules/pdfjs-dist/cmaps/ETenms-B5-H.bcmap +3 -0
  79. package/dist/node_modules/pdfjs-dist/cmaps/ETenms-B5-V.bcmap +0 -0
  80. package/dist/node_modules/pdfjs-dist/cmaps/EUC-H.bcmap +0 -0
  81. package/dist/node_modules/pdfjs-dist/cmaps/EUC-V.bcmap +0 -0
  82. package/dist/node_modules/pdfjs-dist/cmaps/Ext-H.bcmap +0 -0
  83. package/dist/node_modules/pdfjs-dist/cmaps/Ext-RKSJ-H.bcmap +0 -0
  84. package/dist/node_modules/pdfjs-dist/cmaps/Ext-RKSJ-V.bcmap +0 -0
  85. package/dist/node_modules/pdfjs-dist/cmaps/Ext-V.bcmap +0 -0
  86. package/dist/node_modules/pdfjs-dist/cmaps/GB-EUC-H.bcmap +0 -0
  87. package/dist/node_modules/pdfjs-dist/cmaps/GB-EUC-V.bcmap +0 -0
  88. package/dist/node_modules/pdfjs-dist/cmaps/GB-H.bcmap +4 -0
  89. package/dist/node_modules/pdfjs-dist/cmaps/GB-V.bcmap +0 -0
  90. package/dist/node_modules/pdfjs-dist/cmaps/GBK-EUC-H.bcmap +0 -0
  91. package/dist/node_modules/pdfjs-dist/cmaps/GBK-EUC-V.bcmap +0 -0
  92. package/dist/node_modules/pdfjs-dist/cmaps/GBK2K-H.bcmap +0 -0
  93. package/dist/node_modules/pdfjs-dist/cmaps/GBK2K-V.bcmap +0 -0
  94. package/dist/node_modules/pdfjs-dist/cmaps/GBKp-EUC-H.bcmap +0 -0
  95. package/dist/node_modules/pdfjs-dist/cmaps/GBKp-EUC-V.bcmap +0 -0
  96. package/dist/node_modules/pdfjs-dist/cmaps/GBT-EUC-H.bcmap +0 -0
  97. package/dist/node_modules/pdfjs-dist/cmaps/GBT-EUC-V.bcmap +0 -0
  98. package/dist/node_modules/pdfjs-dist/cmaps/GBT-H.bcmap +0 -0
  99. package/dist/node_modules/pdfjs-dist/cmaps/GBT-V.bcmap +0 -0
  100. package/dist/node_modules/pdfjs-dist/cmaps/GBTpc-EUC-H.bcmap +0 -0
  101. package/dist/node_modules/pdfjs-dist/cmaps/GBTpc-EUC-V.bcmap +0 -0
  102. package/dist/node_modules/pdfjs-dist/cmaps/GBpc-EUC-H.bcmap +0 -0
  103. package/dist/node_modules/pdfjs-dist/cmaps/GBpc-EUC-V.bcmap +0 -0
  104. package/dist/node_modules/pdfjs-dist/cmaps/H.bcmap +0 -0
  105. package/dist/node_modules/pdfjs-dist/cmaps/HKdla-B5-H.bcmap +0 -0
  106. package/dist/node_modules/pdfjs-dist/cmaps/HKdla-B5-V.bcmap +0 -0
  107. package/dist/node_modules/pdfjs-dist/cmaps/HKdlb-B5-H.bcmap +0 -0
  108. package/dist/node_modules/pdfjs-dist/cmaps/HKdlb-B5-V.bcmap +0 -0
  109. package/dist/node_modules/pdfjs-dist/cmaps/HKgccs-B5-H.bcmap +0 -0
  110. package/dist/node_modules/pdfjs-dist/cmaps/HKgccs-B5-V.bcmap +0 -0
  111. package/dist/node_modules/pdfjs-dist/cmaps/HKm314-B5-H.bcmap +0 -0
  112. package/dist/node_modules/pdfjs-dist/cmaps/HKm314-B5-V.bcmap +0 -0
  113. package/dist/node_modules/pdfjs-dist/cmaps/HKm471-B5-H.bcmap +0 -0
  114. package/dist/node_modules/pdfjs-dist/cmaps/HKm471-B5-V.bcmap +0 -0
  115. package/dist/node_modules/pdfjs-dist/cmaps/HKscs-B5-H.bcmap +0 -0
  116. package/dist/node_modules/pdfjs-dist/cmaps/HKscs-B5-V.bcmap +0 -0
  117. package/dist/node_modules/pdfjs-dist/cmaps/Hankaku.bcmap +0 -0
  118. package/dist/node_modules/pdfjs-dist/cmaps/Hiragana.bcmap +0 -0
  119. package/dist/node_modules/pdfjs-dist/cmaps/KSC-EUC-H.bcmap +0 -0
  120. package/dist/node_modules/pdfjs-dist/cmaps/KSC-EUC-V.bcmap +0 -0
  121. package/dist/node_modules/pdfjs-dist/cmaps/KSC-H.bcmap +0 -0
  122. package/dist/node_modules/pdfjs-dist/cmaps/KSC-Johab-H.bcmap +0 -0
  123. package/dist/node_modules/pdfjs-dist/cmaps/KSC-Johab-V.bcmap +0 -0
  124. package/dist/node_modules/pdfjs-dist/cmaps/KSC-V.bcmap +0 -0
  125. package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-H.bcmap +0 -0
  126. package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  127. package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  128. package/dist/node_modules/pdfjs-dist/cmaps/KSCms-UHC-V.bcmap +0 -0
  129. package/dist/node_modules/pdfjs-dist/cmaps/KSCpc-EUC-H.bcmap +0 -0
  130. package/dist/node_modules/pdfjs-dist/cmaps/KSCpc-EUC-V.bcmap +0 -0
  131. package/dist/node_modules/pdfjs-dist/cmaps/Katakana.bcmap +0 -0
  132. package/dist/node_modules/pdfjs-dist/cmaps/NWP-H.bcmap +0 -0
  133. package/dist/node_modules/pdfjs-dist/cmaps/NWP-V.bcmap +0 -0
  134. package/dist/node_modules/pdfjs-dist/cmaps/RKSJ-H.bcmap +0 -0
  135. package/dist/node_modules/pdfjs-dist/cmaps/RKSJ-V.bcmap +0 -0
  136. package/dist/node_modules/pdfjs-dist/cmaps/Roman.bcmap +0 -0
  137. package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  138. package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  139. package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  140. package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  141. package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  142. package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  143. package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  144. package/dist/node_modules/pdfjs-dist/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  145. package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UCS2-H.bcmap +0 -0
  146. package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UCS2-V.bcmap +0 -0
  147. package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF16-H.bcmap +0 -0
  148. package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF16-V.bcmap +0 -0
  149. package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF32-H.bcmap +0 -0
  150. package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF32-V.bcmap +0 -0
  151. package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF8-H.bcmap +0 -0
  152. package/dist/node_modules/pdfjs-dist/cmaps/UniGB-UTF8-V.bcmap +0 -0
  153. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  154. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  155. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  156. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  157. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  158. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  159. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  160. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  161. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  162. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  163. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  164. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  165. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  166. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  167. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  168. package/dist/node_modules/pdfjs-dist/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  169. package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  170. package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  171. package/dist/node_modules/pdfjs-dist/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  172. package/dist/node_modules/pdfjs-dist/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  173. package/dist/node_modules/pdfjs-dist/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  174. package/dist/node_modules/pdfjs-dist/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  175. package/dist/node_modules/pdfjs-dist/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  176. package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UCS2-H.bcmap +0 -0
  177. package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UCS2-V.bcmap +0 -0
  178. package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF16-H.bcmap +0 -0
  179. package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF16-V.bcmap +0 -0
  180. package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF32-H.bcmap +0 -0
  181. package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF32-V.bcmap +0 -0
  182. package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF8-H.bcmap +0 -0
  183. package/dist/node_modules/pdfjs-dist/cmaps/UniKS-UTF8-V.bcmap +0 -0
  184. package/dist/node_modules/pdfjs-dist/cmaps/V.bcmap +0 -0
  185. package/dist/node_modules/pdfjs-dist/cmaps/WP-Symbol.bcmap +0 -0
  186. package/dist/node_modules/pdfjs-dist/iccs/CGATS001Compat-v2-micro.icc +0 -0
  187. package/dist/node_modules/pdfjs-dist/legacy/build/pdf.d.mts +1 -0
  188. package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_add.svg +3 -0
  189. package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_disclaimer.svg +3 -0
  190. package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_done.svg +3 -0
  191. package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_spinner.svg +30 -0
  192. package/dist/node_modules/pdfjs-dist/legacy/web/images/altText_warning.svg +3 -0
  193. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-check.svg +11 -0
  194. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-comment.svg +16 -0
  195. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-help.svg +26 -0
  196. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-insert.svg +10 -0
  197. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-key.svg +11 -0
  198. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-newparagraph.svg +11 -0
  199. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-noicon.svg +7 -0
  200. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-note.svg +42 -0
  201. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-paperclip.svg +6 -0
  202. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-paragraph.svg +16 -0
  203. package/dist/node_modules/pdfjs-dist/legacy/web/images/annotation-pushpin.svg +7 -0
  204. package/dist/node_modules/pdfjs-dist/legacy/web/images/checkmark.svg +5 -0
  205. package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-actionsButton.svg +3 -0
  206. package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-closeButton.svg +3 -0
  207. package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-editButton.svg +8 -0
  208. package/dist/node_modules/pdfjs-dist/legacy/web/images/comment-popup-editButton.svg +5 -0
  209. package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorFreeHighlight.svg +6 -0
  210. package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorFreeText.svg +3 -0
  211. package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorInk.svg +4 -0
  212. package/dist/node_modules/pdfjs-dist/legacy/web/images/cursor-editorTextHighlight.svg +8 -0
  213. package/dist/node_modules/pdfjs-dist/legacy/web/images/editor-toolbar-delete.svg +5 -0
  214. package/dist/node_modules/pdfjs-dist/legacy/web/images/editor-toolbar-edit.svg +3 -0
  215. package/dist/node_modules/pdfjs-dist/legacy/web/images/findbarButton-next.svg +3 -0
  216. package/dist/node_modules/pdfjs-dist/legacy/web/images/findbarButton-previous.svg +3 -0
  217. package/dist/node_modules/pdfjs-dist/legacy/web/images/gv-toolbarButton-download.svg +3 -0
  218. package/dist/node_modules/pdfjs-dist/legacy/web/images/loading.svg +1 -0
  219. package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_closingButton.svg +3 -0
  220. package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_info.svg +3 -0
  221. package/dist/node_modules/pdfjs-dist/legacy/web/images/messageBar_warning.svg +3 -0
  222. package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_closeButton.svg +3 -0
  223. package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_selected.svg +7 -0
  224. package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_viewArrow.svg +3 -0
  225. package/dist/node_modules/pdfjs-dist/legacy/web/images/pages_viewButton.svg +3 -0
  226. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
  227. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-firstPage.svg +3 -0
  228. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-handTool.svg +3 -0
  229. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-lastPage.svg +3 -0
  230. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
  231. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
  232. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
  233. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
  234. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
  235. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
  236. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-selectTool.svg +3 -0
  237. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
  238. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
  239. package/dist/node_modules/pdfjs-dist/legacy/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
  240. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-bookmark.svg +3 -0
  241. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-currentOutlineItem.svg +3 -0
  242. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-download.svg +4 -0
  243. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorFreeText.svg +5 -0
  244. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorHighlight.svg +6 -0
  245. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorInk.svg +4 -0
  246. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorSignature.svg +6 -0
  247. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-editorStamp.svg +8 -0
  248. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-menuArrow.svg +3 -0
  249. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-openFile.svg +3 -0
  250. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-pageDown.svg +3 -0
  251. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-pageUp.svg +3 -0
  252. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-presentationMode.svg +3 -0
  253. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-print.svg +3 -0
  254. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-search.svg +3 -0
  255. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
  256. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewAttachments.svg +3 -0
  257. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewLayers.svg +3 -0
  258. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewOutline.svg +3 -0
  259. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewThumbnail.svg +3 -0
  260. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-viewsManagerToggle.svg +3 -0
  261. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-zoomIn.svg +3 -0
  262. package/dist/node_modules/pdfjs-dist/legacy/web/images/toolbarButton-zoomOut.svg +3 -0
  263. package/dist/node_modules/pdfjs-dist/legacy/web/images/treeitem-collapsed.svg +1 -0
  264. package/dist/node_modules/pdfjs-dist/legacy/web/images/treeitem-expanded.svg +1 -0
  265. package/dist/node_modules/pdfjs-dist/legacy/web/pdf_viewer.css +6989 -0
  266. package/dist/node_modules/pdfjs-dist/legacy/web/pdf_viewer.d.mts +1 -0
  267. package/dist/node_modules/pdfjs-dist/package.json +1 -0
  268. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitDingbats.pfb +0 -0
  269. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixed.pfb +0 -0
  270. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedBold.pfb +0 -0
  271. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  272. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitFixedItalic.pfb +0 -0
  273. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerif.pfb +0 -0
  274. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifBold.pfb +0 -0
  275. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  276. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSerifItalic.pfb +0 -0
  277. package/dist/node_modules/pdfjs-dist/standard_fonts/FoxitSymbol.pfb +0 -0
  278. package/dist/node_modules/pdfjs-dist/standard_fonts/LICENSE_FOXIT +27 -0
  279. package/dist/node_modules/pdfjs-dist/standard_fonts/LICENSE_LIBERATION +102 -0
  280. package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Bold.ttf +0 -0
  281. package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  282. package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Italic.ttf +0 -0
  283. package/dist/node_modules/pdfjs-dist/standard_fonts/LiberationSans-Regular.ttf +0 -0
  284. package/dist/node_modules/pdfjs-dist/types/src/display/annotation_layer.d.ts +276 -0
  285. package/dist/node_modules/pdfjs-dist/types/src/display/annotation_storage.d.ts +94 -0
  286. package/dist/node_modules/pdfjs-dist/types/src/display/api.d.ts +1630 -0
  287. package/dist/node_modules/pdfjs-dist/types/src/display/api_utils.d.ts +13 -0
  288. package/dist/node_modules/pdfjs-dist/types/src/display/canvas.d.ts +207 -0
  289. package/dist/node_modules/pdfjs-dist/types/src/display/canvas_dependency_tracker.d.ts +160 -0
  290. package/dist/node_modules/pdfjs-dist/types/src/display/canvas_factory.d.ts +27 -0
  291. package/dist/node_modules/pdfjs-dist/types/src/display/cmap_reader_factory.d.ts +25 -0
  292. package/dist/node_modules/pdfjs-dist/types/src/display/content_disposition.d.ts +7 -0
  293. package/dist/node_modules/pdfjs-dist/types/src/display/display_utils.d.ts +366 -0
  294. package/dist/node_modules/pdfjs-dist/types/src/display/draw_layer.d.ts +22 -0
  295. package/dist/node_modules/pdfjs-dist/types/src/display/editor/alt_text.d.ts +34 -0
  296. package/dist/node_modules/pdfjs-dist/types/src/display/editor/annotation_editor_layer.d.ts +233 -0
  297. package/dist/node_modules/pdfjs-dist/types/src/display/editor/color_picker.d.ts +39 -0
  298. package/dist/node_modules/pdfjs-dist/types/src/display/editor/comment.d.ts +59 -0
  299. package/dist/node_modules/pdfjs-dist/types/src/display/editor/draw.d.ts +117 -0
  300. package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/contour.d.ts +3 -0
  301. package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/freedraw.d.ts +32 -0
  302. package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/highlight.d.ts +37 -0
  303. package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/inkdraw.d.ts +129 -0
  304. package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/outline.d.ts +19 -0
  305. package/dist/node_modules/pdfjs-dist/types/src/display/editor/drawers/signaturedraw.d.ts +79 -0
  306. package/dist/node_modules/pdfjs-dist/types/src/display/editor/editor.d.ts +578 -0
  307. package/dist/node_modules/pdfjs-dist/types/src/display/editor/freetext.d.ts +63 -0
  308. package/dist/node_modules/pdfjs-dist/types/src/display/editor/highlight.d.ts +76 -0
  309. package/dist/node_modules/pdfjs-dist/types/src/display/editor/ink.d.ts +42 -0
  310. package/dist/node_modules/pdfjs-dist/types/src/display/editor/signature.d.ts +77 -0
  311. package/dist/node_modules/pdfjs-dist/types/src/display/editor/stamp.d.ts +49 -0
  312. package/dist/node_modules/pdfjs-dist/types/src/display/editor/toolbar.d.ts +26 -0
  313. package/dist/node_modules/pdfjs-dist/types/src/display/editor/tools.d.ts +481 -0
  314. package/dist/node_modules/pdfjs-dist/types/src/display/fetch_stream.d.ts +7 -0
  315. package/dist/node_modules/pdfjs-dist/types/src/display/filter_factory.d.ts +29 -0
  316. package/dist/node_modules/pdfjs-dist/types/src/display/font_loader.d.ts +67 -0
  317. package/dist/node_modules/pdfjs-dist/types/src/display/metadata.d.ts +10 -0
  318. package/dist/node_modules/pdfjs-dist/types/src/display/network.d.ts +20 -0
  319. package/dist/node_modules/pdfjs-dist/types/src/display/network_utils.d.ts +15 -0
  320. package/dist/node_modules/pdfjs-dist/types/src/display/node_stream.d.ts +5 -0
  321. package/dist/node_modules/pdfjs-dist/types/src/display/node_utils.d.ts +32 -0
  322. package/dist/node_modules/pdfjs-dist/types/src/display/optional_content_config.d.ts +18 -0
  323. package/dist/node_modules/pdfjs-dist/types/src/display/pattern_helper.d.ts +77 -0
  324. package/dist/node_modules/pdfjs-dist/types/src/display/pdf_objects.d.ts +40 -0
  325. package/dist/node_modules/pdfjs-dist/types/src/display/standard_fontdata_factory.d.ts +20 -0
  326. package/dist/node_modules/pdfjs-dist/types/src/display/svg_factory.d.ts +14 -0
  327. package/dist/node_modules/pdfjs-dist/types/src/display/text_layer.d.ts +85 -0
  328. package/dist/node_modules/pdfjs-dist/types/src/display/touch_manager.d.ts +18 -0
  329. package/dist/node_modules/pdfjs-dist/types/src/display/transport_stream.d.ts +10 -0
  330. package/dist/node_modules/pdfjs-dist/types/src/display/wasm_factory.d.ts +20 -0
  331. package/dist/node_modules/pdfjs-dist/types/src/display/worker_options.d.ts +25 -0
  332. package/dist/node_modules/pdfjs-dist/types/src/display/xfa_layer.d.ts +47 -0
  333. package/dist/node_modules/pdfjs-dist/types/src/display/xfa_text.d.ts +21 -0
  334. package/dist/node_modules/pdfjs-dist/types/src/pdf.d.ts +64 -0
  335. package/dist/node_modules/pdfjs-dist/types/src/shared/base_pdf_stream.d.ts +120 -0
  336. package/dist/node_modules/pdfjs-dist/types/src/shared/image_utils.d.ts +17 -0
  337. package/dist/node_modules/pdfjs-dist/types/src/shared/message_handler.d.ts +48 -0
  338. package/dist/node_modules/pdfjs-dist/types/src/shared/murmurhash3.d.ts +7 -0
  339. package/dist/node_modules/pdfjs-dist/types/src/shared/obj-bin-transform.d.ts +90 -0
  340. package/dist/node_modules/pdfjs-dist/types/src/shared/scripting_utils.d.ts +18 -0
  341. package/dist/node_modules/pdfjs-dist/types/src/shared/util.d.ts +420 -0
  342. package/dist/node_modules/pdfjs-dist/types/web/annotation_editor_layer_builder.d.ts +65 -0
  343. package/dist/node_modules/pdfjs-dist/types/web/annotation_layer_builder.d.ts +108 -0
  344. package/dist/node_modules/pdfjs-dist/types/web/app_options.d.ts +16 -0
  345. package/dist/node_modules/pdfjs-dist/types/web/autolinker.d.ts +29 -0
  346. package/dist/node_modules/pdfjs-dist/types/web/base_pdf_page_view.d.ts +28 -0
  347. package/dist/node_modules/pdfjs-dist/types/web/comment_manager.d.ts +20 -0
  348. package/dist/node_modules/pdfjs-dist/types/web/download_manager.d.ts +13 -0
  349. package/dist/node_modules/pdfjs-dist/types/web/draw_layer_builder.d.ts +22 -0
  350. package/dist/node_modules/pdfjs-dist/types/web/event_utils.d.ts +77 -0
  351. package/dist/node_modules/pdfjs-dist/types/web/generic_scripting.d.ts +8 -0
  352. package/dist/node_modules/pdfjs-dist/types/web/genericl10n.d.ts +22 -0
  353. package/dist/node_modules/pdfjs-dist/types/web/interfaces.d.ts +174 -0
  354. package/dist/node_modules/pdfjs-dist/types/web/l10n.d.ts +34 -0
  355. package/dist/node_modules/pdfjs-dist/types/web/menu.d.ts +11 -0
  356. package/dist/node_modules/pdfjs-dist/types/web/pdf_find_controller.d.ts +134 -0
  357. package/dist/node_modules/pdfjs-dist/types/web/pdf_find_utils.d.ts +16 -0
  358. package/dist/node_modules/pdfjs-dist/types/web/pdf_history.d.ts +116 -0
  359. package/dist/node_modules/pdfjs-dist/types/web/pdf_link_service.d.ts +147 -0
  360. package/dist/node_modules/pdfjs-dist/types/web/pdf_page_detail_view.d.ts +33 -0
  361. package/dist/node_modules/pdfjs-dist/types/web/pdf_page_view.d.ts +244 -0
  362. package/dist/node_modules/pdfjs-dist/types/web/pdf_rendering_queue.d.ts +54 -0
  363. package/dist/node_modules/pdfjs-dist/types/web/pdf_scripting_manager.component.d.ts +5 -0
  364. package/dist/node_modules/pdfjs-dist/types/web/pdf_scripting_manager.d.ts +57 -0
  365. package/dist/node_modules/pdfjs-dist/types/web/pdf_single_page_viewer.d.ts +7 -0
  366. package/dist/node_modules/pdfjs-dist/types/web/pdf_thumbnail_view.d.ts +108 -0
  367. package/dist/node_modules/pdfjs-dist/types/web/pdf_thumbnail_viewer.d.ts +136 -0
  368. package/dist/node_modules/pdfjs-dist/types/web/pdf_viewer.component.d.ts +23 -0
  369. package/dist/node_modules/pdfjs-dist/types/web/pdf_viewer.d.ts +625 -0
  370. package/dist/node_modules/pdfjs-dist/types/web/sidebar.d.ts +65 -0
  371. package/dist/node_modules/pdfjs-dist/types/web/struct_tree_layer_builder.d.ts +25 -0
  372. package/dist/node_modules/pdfjs-dist/types/web/text_accessibility.d.ts +44 -0
  373. package/dist/node_modules/pdfjs-dist/types/web/text_highlighter.d.ts +63 -0
  374. package/dist/node_modules/pdfjs-dist/types/web/text_layer_builder.d.ts +65 -0
  375. package/dist/node_modules/pdfjs-dist/types/web/ui_utils.d.ts +274 -0
  376. package/dist/node_modules/pdfjs-dist/types/web/xfa_layer_builder.d.ts +50 -0
  377. package/dist/node_modules/pdfjs-dist/wasm/LICENSE_JBIG2 +196 -0
  378. package/dist/node_modules/pdfjs-dist/wasm/LICENSE_OPENJPEG +39 -0
  379. package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_JBIG2 +13 -0
  380. package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
  381. package/dist/node_modules/pdfjs-dist/wasm/LICENSE_PDFJS_QCMS +22 -0
  382. package/dist/node_modules/pdfjs-dist/wasm/LICENSE_QCMS +21 -0
  383. package/dist/node_modules/pdfjs-dist/wasm/jbig2.wasm +0 -0
  384. package/dist/node_modules/pdfjs-dist/wasm/openjpeg.wasm +0 -0
  385. package/dist/node_modules/pdfjs-dist/wasm/openjpeg_nowasm_fallback.js +17 -0
  386. package/dist/node_modules/pdfjs-dist/wasm/qcms_bg.wasm +0 -0
  387. package/dist/node_modules/pdfjs-dist/web/images/altText_add.svg +3 -0
  388. package/dist/node_modules/pdfjs-dist/web/images/altText_disclaimer.svg +3 -0
  389. package/dist/node_modules/pdfjs-dist/web/images/altText_done.svg +3 -0
  390. package/dist/node_modules/pdfjs-dist/web/images/altText_spinner.svg +30 -0
  391. package/dist/node_modules/pdfjs-dist/web/images/altText_warning.svg +3 -0
  392. package/dist/node_modules/pdfjs-dist/web/images/annotation-check.svg +11 -0
  393. package/dist/node_modules/pdfjs-dist/web/images/annotation-comment.svg +16 -0
  394. package/dist/node_modules/pdfjs-dist/web/images/annotation-help.svg +26 -0
  395. package/dist/node_modules/pdfjs-dist/web/images/annotation-insert.svg +10 -0
  396. package/dist/node_modules/pdfjs-dist/web/images/annotation-key.svg +11 -0
  397. package/dist/node_modules/pdfjs-dist/web/images/annotation-newparagraph.svg +11 -0
  398. package/dist/node_modules/pdfjs-dist/web/images/annotation-noicon.svg +7 -0
  399. package/dist/node_modules/pdfjs-dist/web/images/annotation-note.svg +42 -0
  400. package/dist/node_modules/pdfjs-dist/web/images/annotation-paperclip.svg +6 -0
  401. package/dist/node_modules/pdfjs-dist/web/images/annotation-paragraph.svg +16 -0
  402. package/dist/node_modules/pdfjs-dist/web/images/annotation-pushpin.svg +7 -0
  403. package/dist/node_modules/pdfjs-dist/web/images/checkmark.svg +5 -0
  404. package/dist/node_modules/pdfjs-dist/web/images/comment-actionsButton.svg +3 -0
  405. package/dist/node_modules/pdfjs-dist/web/images/comment-closeButton.svg +3 -0
  406. package/dist/node_modules/pdfjs-dist/web/images/comment-editButton.svg +8 -0
  407. package/dist/node_modules/pdfjs-dist/web/images/comment-popup-editButton.svg +5 -0
  408. package/dist/node_modules/pdfjs-dist/web/images/cursor-editorFreeHighlight.svg +6 -0
  409. package/dist/node_modules/pdfjs-dist/web/images/cursor-editorFreeText.svg +3 -0
  410. package/dist/node_modules/pdfjs-dist/web/images/cursor-editorInk.svg +4 -0
  411. package/dist/node_modules/pdfjs-dist/web/images/cursor-editorTextHighlight.svg +8 -0
  412. package/dist/node_modules/pdfjs-dist/web/images/editor-toolbar-delete.svg +5 -0
  413. package/dist/node_modules/pdfjs-dist/web/images/editor-toolbar-edit.svg +3 -0
  414. package/dist/node_modules/pdfjs-dist/web/images/findbarButton-next.svg +3 -0
  415. package/dist/node_modules/pdfjs-dist/web/images/findbarButton-previous.svg +3 -0
  416. package/dist/node_modules/pdfjs-dist/web/images/gv-toolbarButton-download.svg +3 -0
  417. package/dist/node_modules/pdfjs-dist/web/images/loading.svg +1 -0
  418. package/dist/node_modules/pdfjs-dist/web/images/messageBar_closingButton.svg +3 -0
  419. package/dist/node_modules/pdfjs-dist/web/images/messageBar_info.svg +3 -0
  420. package/dist/node_modules/pdfjs-dist/web/images/messageBar_warning.svg +3 -0
  421. package/dist/node_modules/pdfjs-dist/web/images/pages_closeButton.svg +3 -0
  422. package/dist/node_modules/pdfjs-dist/web/images/pages_selected.svg +7 -0
  423. package/dist/node_modules/pdfjs-dist/web/images/pages_viewArrow.svg +3 -0
  424. package/dist/node_modules/pdfjs-dist/web/images/pages_viewButton.svg +3 -0
  425. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-documentProperties.svg +3 -0
  426. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-firstPage.svg +3 -0
  427. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-handTool.svg +3 -0
  428. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-lastPage.svg +3 -0
  429. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-rotateCcw.svg +3 -0
  430. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-rotateCw.svg +3 -0
  431. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollHorizontal.svg +3 -0
  432. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollPage.svg +3 -0
  433. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollVertical.svg +3 -0
  434. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-scrollWrapped.svg +3 -0
  435. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-selectTool.svg +3 -0
  436. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadEven.svg +3 -0
  437. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadNone.svg +3 -0
  438. package/dist/node_modules/pdfjs-dist/web/images/secondaryToolbarButton-spreadOdd.svg +3 -0
  439. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-bookmark.svg +3 -0
  440. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-currentOutlineItem.svg +3 -0
  441. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-download.svg +4 -0
  442. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorFreeText.svg +5 -0
  443. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorHighlight.svg +6 -0
  444. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorInk.svg +4 -0
  445. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorSignature.svg +6 -0
  446. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-editorStamp.svg +8 -0
  447. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-menuArrow.svg +3 -0
  448. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-openFile.svg +3 -0
  449. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-pageDown.svg +3 -0
  450. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-pageUp.svg +3 -0
  451. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-presentationMode.svg +3 -0
  452. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-print.svg +3 -0
  453. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-search.svg +3 -0
  454. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-secondaryToolbarToggle.svg +3 -0
  455. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewAttachments.svg +3 -0
  456. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewLayers.svg +3 -0
  457. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewOutline.svg +3 -0
  458. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewThumbnail.svg +3 -0
  459. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-viewsManagerToggle.svg +3 -0
  460. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-zoomIn.svg +3 -0
  461. package/dist/node_modules/pdfjs-dist/web/images/toolbarButton-zoomOut.svg +3 -0
  462. package/dist/node_modules/pdfjs-dist/web/images/treeitem-collapsed.svg +1 -0
  463. package/dist/node_modules/pdfjs-dist/web/images/treeitem-expanded.svg +1 -0
  464. package/dist/node_modules/pdfjs-dist/web/pdf_viewer.css +6989 -0
  465. package/dist/node_modules/pdfjs-dist/web/pdf_viewer.d.mts +1 -0
  466. package/dist/node_modules/url-join/package.json +1 -1
  467. package/dist/shared/previewer/filePreviewTypes.d.ts +1 -0
  468. package/dist/shared/previewer/filePreviewTypes.js +238 -6
  469. package/package.json +4 -5
  470. package/dist/client-v2/942.2afbcac7b1a3c330.js +0 -10
@@ -0,0 +1,625 @@
1
+ export type PDFDocumentProxy = import("../src/display/api").PDFDocumentProxy;
2
+ export type PDFPageProxy = import("../src/display/api").PDFPageProxy;
3
+ export type PageViewport = import("../src/display/display_utils").PageViewport;
4
+ export type OptionalContentConfig = import("../src/display/optional_content_config").OptionalContentConfig;
5
+ export type EventBus = import("./event_utils").EventBus;
6
+ export type IDownloadManager = import("./interfaces").IDownloadManager;
7
+ export type IL10n = import("./interfaces").IL10n;
8
+ export type IPDFLinkService = import("./interfaces").IPDFLinkService;
9
+ export type PDFFindController = import("./pdf_find_controller").PDFFindController;
10
+ export type PDFScriptingManager = import("./pdf_scripting_manager").PDFScriptingManager;
11
+ export type PDFViewerOptions = {
12
+ /**
13
+ * - The container for the viewer element.
14
+ */
15
+ container: HTMLDivElement;
16
+ /**
17
+ * - The viewer element.
18
+ */
19
+ viewer?: HTMLDivElement | undefined;
20
+ /**
21
+ * - The application event bus.
22
+ */
23
+ eventBus: EventBus;
24
+ /**
25
+ * - The navigation/linking service.
26
+ */
27
+ linkService?: import("./interfaces").IPDFLinkService | undefined;
28
+ /**
29
+ * - The download manager
30
+ * component.
31
+ */
32
+ downloadManager?: import("./interfaces").IDownloadManager | undefined;
33
+ /**
34
+ * - The find controller
35
+ * component.
36
+ */
37
+ findController?: import("./pdf_find_controller").PDFFindController | undefined;
38
+ /**
39
+ * - The scripting manager
40
+ * component.
41
+ */
42
+ scriptingManager?: import("./pdf_scripting_manager").PDFScriptingManager | undefined;
43
+ /**
44
+ * - The rendering queue object.
45
+ */
46
+ renderingQueue?: PDFRenderingQueue | undefined;
47
+ /**
48
+ * - Removes the border shadow around
49
+ * the pages. The default value is `false`.
50
+ */
51
+ removePageBorders?: boolean | undefined;
52
+ /**
53
+ * - Controls if the text layer used for
54
+ * selection and searching is created. The constants from {TextLayerMode}
55
+ * should be used. The default value is `TextLayerMode.ENABLE`.
56
+ */
57
+ textLayerMode?: number | undefined;
58
+ /**
59
+ * - Controls if the annotation layer is
60
+ * created, and if interactive form elements or `AnnotationStorage`-data are
61
+ * being rendered. The constants from {@link AnnotationMode} should be used;
62
+ * see also {@link RenderParameters} and {@link GetOperatorListParameters}.
63
+ * The default value is `AnnotationMode.ENABLE_FORMS`.
64
+ */
65
+ annotationMode?: number | undefined;
66
+ /**
67
+ * - Enables the creation and editing
68
+ * of new Annotations. The constants from {@link AnnotationEditorType} should
69
+ * be used. The default value is `AnnotationEditorType.NONE`.
70
+ */
71
+ annotationEditorMode?: number | undefined;
72
+ /**
73
+ * - A comma separated list
74
+ * of colors to propose to highlight some text in the pdf.
75
+ */
76
+ annotationEditorHighlightColors?: string | undefined;
77
+ /**
78
+ * - Path for image resources, mainly
79
+ * mainly for annotation icons. Include trailing slash.
80
+ */
81
+ imageResourcesPath?: string | undefined;
82
+ /**
83
+ * - Enables automatic rotation of
84
+ * landscape pages upon printing. The default is `false`.
85
+ */
86
+ enablePrintAutoRotate?: boolean | undefined;
87
+ /**
88
+ * - The maximum supported canvas size in
89
+ * total pixels, i.e. width * height. Use `-1` for no limit, or `0` for
90
+ * CSS-only zooming. The default value is 4096 * 8192 (32 mega-pixels).
91
+ */
92
+ maxCanvasPixels?: number | undefined;
93
+ /**
94
+ * - The maximum supported canvas dimension,
95
+ * in either width or height. Use `-1` for no limit.
96
+ * The default value is 32767.
97
+ */
98
+ maxCanvasDim?: number | undefined;
99
+ /**
100
+ * - Cap the canvas area to the
101
+ * viewport increased by the value in percent. Use `-1` for no limit.
102
+ * The default value is 200%.
103
+ */
104
+ capCanvasAreaFactor?: number | undefined;
105
+ /**
106
+ * - When enabled, if the rendered
107
+ * pages would need a canvas that is larger than `maxCanvasPixels` or
108
+ * `maxCanvasDim`, it will draw a second canvas on top of the CSS-zoomed one,
109
+ * that only renders the part of the page that is close to the viewport.
110
+ * The default value is `true`.
111
+ */
112
+ enableDetailCanvas?: boolean | undefined;
113
+ /**
114
+ * - When enabled, PDF
115
+ * rendering will keep track of which areas of the page each PDF operation
116
+ * affects. Then, when rendering a partial page (if `enableDetailCanvas` is
117
+ * enabled), it will only run through the operations that affect that portion.
118
+ */
119
+ enableOptimizedPartialRendering?: boolean | undefined;
120
+ /**
121
+ * - Localization service.
122
+ */
123
+ l10n?: import("./interfaces").IL10n | undefined;
124
+ /**
125
+ * - Enables PDF document permissions,
126
+ * when they exist. The default value is `false`.
127
+ */
128
+ enablePermissions?: boolean | undefined;
129
+ /**
130
+ * - Overwrites background and foreground colors
131
+ * with user defined ones in order to improve readability in high contrast
132
+ * mode.
133
+ */
134
+ pageColors?: Object | undefined;
135
+ /**
136
+ * - Enables hardware acceleration for
137
+ * rendering. The default value is `false`.
138
+ */
139
+ enableHWA?: boolean | undefined;
140
+ /**
141
+ * - Enable zooming on pinch gesture.
142
+ * The default value is `true`.
143
+ */
144
+ supportsPinchToZoom?: boolean | undefined;
145
+ /**
146
+ * - Enable creation of hyperlinks from
147
+ * text that look like URLs. The default value is `true`.
148
+ */
149
+ enableAutoLinking?: boolean | undefined;
150
+ /**
151
+ * - Minimum duration to wait
152
+ * before updating the canvas. The default value is `500`.
153
+ */
154
+ minDurationToUpdateCanvas?: number | undefined;
155
+ };
156
+ export namespace PagesCountLimit {
157
+ let FORCE_SCROLL_MODE_PAGE: number;
158
+ let FORCE_LAZY_PAGE_INIT: number;
159
+ let PAUSE_EAGER_PAGE_INIT: number;
160
+ }
161
+ /**
162
+ * @typedef {Object} PDFViewerOptions
163
+ * @property {HTMLDivElement} container - The container for the viewer element.
164
+ * @property {HTMLDivElement} [viewer] - The viewer element.
165
+ * @property {EventBus} eventBus - The application event bus.
166
+ * @property {IPDFLinkService} [linkService] - The navigation/linking service.
167
+ * @property {IDownloadManager} [downloadManager] - The download manager
168
+ * component.
169
+ * @property {PDFFindController} [findController] - The find controller
170
+ * component.
171
+ * @property {PDFScriptingManager} [scriptingManager] - The scripting manager
172
+ * component.
173
+ * @property {PDFRenderingQueue} [renderingQueue] - The rendering queue object.
174
+ * @property {boolean} [removePageBorders] - Removes the border shadow around
175
+ * the pages. The default value is `false`.
176
+ * @property {number} [textLayerMode] - Controls if the text layer used for
177
+ * selection and searching is created. The constants from {TextLayerMode}
178
+ * should be used. The default value is `TextLayerMode.ENABLE`.
179
+ * @property {number} [annotationMode] - Controls if the annotation layer is
180
+ * created, and if interactive form elements or `AnnotationStorage`-data are
181
+ * being rendered. The constants from {@link AnnotationMode} should be used;
182
+ * see also {@link RenderParameters} and {@link GetOperatorListParameters}.
183
+ * The default value is `AnnotationMode.ENABLE_FORMS`.
184
+ * @property {number} [annotationEditorMode] - Enables the creation and editing
185
+ * of new Annotations. The constants from {@link AnnotationEditorType} should
186
+ * be used. The default value is `AnnotationEditorType.NONE`.
187
+ * @property {string} [annotationEditorHighlightColors] - A comma separated list
188
+ * of colors to propose to highlight some text in the pdf.
189
+ * @property {string} [imageResourcesPath] - Path for image resources, mainly
190
+ * mainly for annotation icons. Include trailing slash.
191
+ * @property {boolean} [enablePrintAutoRotate] - Enables automatic rotation of
192
+ * landscape pages upon printing. The default is `false`.
193
+ * @property {number} [maxCanvasPixels] - The maximum supported canvas size in
194
+ * total pixels, i.e. width * height. Use `-1` for no limit, or `0` for
195
+ * CSS-only zooming. The default value is 4096 * 8192 (32 mega-pixels).
196
+ * @property {number} [maxCanvasDim] - The maximum supported canvas dimension,
197
+ * in either width or height. Use `-1` for no limit.
198
+ * The default value is 32767.
199
+ * @property {number} [capCanvasAreaFactor] - Cap the canvas area to the
200
+ * viewport increased by the value in percent. Use `-1` for no limit.
201
+ * The default value is 200%.
202
+ * @property {boolean} [enableDetailCanvas] - When enabled, if the rendered
203
+ * pages would need a canvas that is larger than `maxCanvasPixels` or
204
+ * `maxCanvasDim`, it will draw a second canvas on top of the CSS-zoomed one,
205
+ * that only renders the part of the page that is close to the viewport.
206
+ * The default value is `true`.
207
+ * @property {boolean} [enableOptimizedPartialRendering] - When enabled, PDF
208
+ * rendering will keep track of which areas of the page each PDF operation
209
+ * affects. Then, when rendering a partial page (if `enableDetailCanvas` is
210
+ * enabled), it will only run through the operations that affect that portion.
211
+ * @property {IL10n} [l10n] - Localization service.
212
+ * @property {boolean} [enablePermissions] - Enables PDF document permissions,
213
+ * when they exist. The default value is `false`.
214
+ * @property {Object} [pageColors] - Overwrites background and foreground colors
215
+ * with user defined ones in order to improve readability in high contrast
216
+ * mode.
217
+ * @property {boolean} [enableHWA] - Enables hardware acceleration for
218
+ * rendering. The default value is `false`.
219
+ * @property {boolean} [supportsPinchToZoom] - Enable zooming on pinch gesture.
220
+ * The default value is `true`.
221
+ * @property {boolean} [enableAutoLinking] - Enable creation of hyperlinks from
222
+ * text that look like URLs. The default value is `true`.
223
+ * @property {number} [minDurationToUpdateCanvas] - Minimum duration to wait
224
+ * before updating the canvas. The default value is `500`.
225
+ */
226
+ export class PDFPageViewBuffer {
227
+ constructor(size: any);
228
+ push(view: any): void;
229
+ /**
230
+ * After calling resize, the size of the buffer will be `newSize`.
231
+ * The optional parameter `idsToKeep` is, if present, a Set of page-ids to
232
+ * push to the back of the buffer, delaying their destruction. The size of
233
+ * `idsToKeep` has no impact on the final size of the buffer; if `idsToKeep`
234
+ * is larger than `newSize`, some of those pages will be destroyed anyway.
235
+ */
236
+ resize(newSize: any, idsToKeep?: null): void;
237
+ has(view: any): boolean;
238
+ [Symbol.iterator](): SetIterator<any>;
239
+ #private;
240
+ }
241
+ /**
242
+ * Simple viewer control to display PDF content/pages.
243
+ */
244
+ export class PDFViewer {
245
+ /**
246
+ * @param {PDFViewerOptions} options
247
+ */
248
+ constructor(options: PDFViewerOptions);
249
+ pagesMapper: PagesMapper | undefined;
250
+ container: HTMLDivElement;
251
+ viewer: Element | null;
252
+ eventBus: import("./event_utils").EventBus;
253
+ linkService: import("./interfaces").IPDFLinkService | SimpleLinkService;
254
+ downloadManager: import("./interfaces").IDownloadManager | null;
255
+ findController: import("./pdf_find_controller").PDFFindController | null;
256
+ _scriptingManager: import("./pdf_scripting_manager").PDFScriptingManager | null;
257
+ imageResourcesPath: string;
258
+ enablePrintAutoRotate: boolean;
259
+ removePageBorders: boolean | undefined;
260
+ maxCanvasPixels: number | undefined;
261
+ maxCanvasDim: number | undefined;
262
+ capCanvasAreaFactor: number | undefined;
263
+ enableDetailCanvas: boolean;
264
+ enableOptimizedPartialRendering: boolean;
265
+ l10n: import("./interfaces").IL10n | GenericL10n | undefined;
266
+ pageColors: Object | null;
267
+ defaultRenderingQueue: boolean;
268
+ renderingQueue: PDFRenderingQueue | undefined;
269
+ scroll: {
270
+ right: boolean;
271
+ down: boolean;
272
+ lastX: any;
273
+ lastY: any;
274
+ _eventHandler: (evt: any) => void;
275
+ };
276
+ presentationModeState: number;
277
+ get printingAllowed(): boolean;
278
+ get pagesCount(): number;
279
+ getPageView(index: any): any;
280
+ getCachedPageViews(): Set<any>;
281
+ /**
282
+ * @type {boolean} - True if all {PDFPageView} objects are initialized.
283
+ */
284
+ get pageViewsReady(): boolean;
285
+ /**
286
+ * @type {boolean}
287
+ */
288
+ get renderForms(): boolean;
289
+ /**
290
+ * @type {boolean}
291
+ */
292
+ get enableScripting(): boolean;
293
+ /**
294
+ * @param {number} val - The page number.
295
+ */
296
+ set currentPageNumber(val: number);
297
+ /**
298
+ * @type {number}
299
+ */
300
+ get currentPageNumber(): number;
301
+ /**
302
+ * @returns {boolean} Whether the pageNumber is valid (within bounds).
303
+ * @private
304
+ */
305
+ private _setCurrentPageNumber;
306
+ _currentPageNumber: any;
307
+ /**
308
+ * @param {string} val - The page label.
309
+ */
310
+ set currentPageLabel(val: string);
311
+ /**
312
+ * @type {string|null} Returns the current page label, or `null` if no page
313
+ * labels exist.
314
+ */
315
+ get currentPageLabel(): string | null;
316
+ /**
317
+ * @param {number} val - Scale of the pages in percents.
318
+ */
319
+ set currentScale(val: number);
320
+ /**
321
+ * @type {number}
322
+ */
323
+ get currentScale(): number;
324
+ /**
325
+ * @param val - The scale of the pages (in percent or predefined value).
326
+ */
327
+ set currentScaleValue(val: string);
328
+ /**
329
+ * @type {string}
330
+ */
331
+ get currentScaleValue(): string;
332
+ /**
333
+ * @param {number} rotation - The rotation of the pages (0, 90, 180, 270).
334
+ */
335
+ set pagesRotation(rotation: number);
336
+ /**
337
+ * @type {number}
338
+ */
339
+ get pagesRotation(): number;
340
+ _pagesRotation: any;
341
+ get firstPagePromise(): any;
342
+ get onePageRendered(): any;
343
+ get pagesPromise(): any;
344
+ get _layerProperties(): any;
345
+ getAllText(): Promise<string | null>;
346
+ /**
347
+ * @param {PDFDocumentProxy} pdfDocument
348
+ */
349
+ setDocument(pdfDocument: PDFDocumentProxy): void;
350
+ pdfDocument: import("../src/display/api").PDFDocumentProxy | undefined;
351
+ _scrollMode: any;
352
+ _optionalContentConfigPromise: Promise<import("../src/display/optional_content_config").OptionalContentConfig> | null | undefined;
353
+ onBeforePagesEdited({ pagesMapper }: {
354
+ pagesMapper: any;
355
+ }): Promise<void>;
356
+ _currentPageId: any;
357
+ onPagesEdited({ pagesMapper }: {
358
+ pagesMapper: any;
359
+ }): void;
360
+ _pages: any[] | undefined;
361
+ /**
362
+ * @param {Array|null} labels
363
+ */
364
+ setPageLabels(labels: any[] | null): void;
365
+ _pageLabels: any[] | null | undefined;
366
+ _resetView(): void;
367
+ _currentScale: any;
368
+ _currentScaleValue: any;
369
+ _location: {
370
+ pageNumber: any;
371
+ scale: any;
372
+ top: number;
373
+ left: number;
374
+ rotation: any;
375
+ pdfOpenParams: string;
376
+ } | null | undefined;
377
+ _firstPageCapability: any;
378
+ _onePageRenderedCapability: any;
379
+ _pagesCapability: any;
380
+ _previousScrollMode: any;
381
+ _spreadMode: any;
382
+ _scrollUpdate(): void;
383
+ /**
384
+ * @param {string} label - The page label.
385
+ * @returns {number|null} The page number corresponding to the page label,
386
+ * or `null` when no page labels exist and/or the input is invalid.
387
+ */
388
+ pageLabelToPageNumber(label: string): number | null;
389
+ /**
390
+ * @typedef {Object} ScrollPageIntoViewParameters
391
+ * @property {number} pageNumber - The page number.
392
+ * @property {Array} [destArray] - The original PDF destination array, in the
393
+ * format: <page-ref> </XYZ|/FitXXX> <args..>
394
+ * @property {boolean} [allowNegativeOffset] - Allow negative page offsets.
395
+ * The default value is `false`.
396
+ * @property {boolean} [ignoreDestinationZoom] - Ignore the zoom argument in
397
+ * the destination array. The default value is `false`.
398
+ * @property {string} [center] - Center the view on the specified coordinates.
399
+ * The default value is `null`. Possible values are: `null` (don't center),
400
+ * `horizontal`, `vertical` and `both`.
401
+ */
402
+ /**
403
+ * Scrolls page into view.
404
+ * @param {ScrollPageIntoViewParameters} params
405
+ */
406
+ scrollPageIntoView({ pageNumber, destArray, allowNegativeOffset, ignoreDestinationZoom, center, }: {
407
+ /**
408
+ * - The page number.
409
+ */
410
+ pageNumber: number;
411
+ /**
412
+ * - The original PDF destination array, in the
413
+ * format: <page-ref> </XYZ|/FitXXX> <args..>
414
+ */
415
+ destArray?: any[] | undefined;
416
+ /**
417
+ * - Allow negative page offsets.
418
+ * The default value is `false`.
419
+ */
420
+ allowNegativeOffset?: boolean | undefined;
421
+ /**
422
+ * - Ignore the zoom argument in
423
+ * the destination array. The default value is `false`.
424
+ */
425
+ ignoreDestinationZoom?: boolean | undefined;
426
+ /**
427
+ * - Center the view on the specified coordinates.
428
+ * The default value is `null`. Possible values are: `null` (don't center),
429
+ * `horizontal`, `vertical` and `both`.
430
+ */
431
+ center?: string | undefined;
432
+ }): void;
433
+ _updateLocation(firstPage: any): void;
434
+ update(): void;
435
+ containsElement(element: any): boolean;
436
+ focus(): void;
437
+ get _isContainerRtl(): boolean;
438
+ get isInPresentationMode(): boolean;
439
+ get isChangingPresentationMode(): boolean;
440
+ get isHorizontalScrollbarEnabled(): boolean;
441
+ get isVerticalScrollbarEnabled(): boolean;
442
+ _getVisiblePages(): Object;
443
+ cleanup(): void;
444
+ /**
445
+ * @private
446
+ */
447
+ private _cancelRendering;
448
+ forceRendering(currentlyVisiblePages: any): boolean;
449
+ /**
450
+ * @type {boolean} Whether all pages of the PDF document have identical
451
+ * widths and heights.
452
+ */
453
+ get hasEqualPageSizes(): boolean;
454
+ /**
455
+ * Returns sizes of the pages.
456
+ * @returns {Array} Array of objects with width/height/rotation fields.
457
+ */
458
+ getPagesOverview(): any[];
459
+ /**
460
+ * @param {Promise<OptionalContentConfig>} promise - A promise that is
461
+ * resolved with an {@link OptionalContentConfig} instance.
462
+ */
463
+ set optionalContentConfigPromise(promise: Promise<OptionalContentConfig>);
464
+ /**
465
+ * @type {Promise<OptionalContentConfig | null>}
466
+ */
467
+ get optionalContentConfigPromise(): Promise<OptionalContentConfig | null>;
468
+ /**
469
+ * @param {number} mode - The direction in which the document pages should be
470
+ * laid out within the scrolling container.
471
+ * The constants from {ScrollMode} should be used.
472
+ */
473
+ set scrollMode(mode: number);
474
+ /**
475
+ * @type {number} One of the values in {ScrollMode}.
476
+ */
477
+ get scrollMode(): number;
478
+ _updateScrollMode(pageNumber?: null): void;
479
+ /**
480
+ * @param {number} mode - Group the pages in spreads, starting with odd- or
481
+ * even-number pages (unless `SpreadMode.NONE` is used).
482
+ * The constants from {SpreadMode} should be used.
483
+ */
484
+ set spreadMode(mode: number);
485
+ /**
486
+ * @type {number} One of the values in {SpreadMode}.
487
+ */
488
+ get spreadMode(): number;
489
+ _updateSpreadMode(pageNumber?: null): void;
490
+ /**
491
+ * @private
492
+ */
493
+ private _getPageAdvance;
494
+ /**
495
+ * Go to the next page, taking scroll/spread-modes into account.
496
+ * @returns {boolean} Whether navigation occurred.
497
+ */
498
+ nextPage(): boolean;
499
+ /**
500
+ * Go to the previous page, taking scroll/spread-modes into account.
501
+ * @returns {boolean} Whether navigation occurred.
502
+ */
503
+ previousPage(): boolean;
504
+ /**
505
+ * @typedef {Object} ChangeScaleOptions
506
+ * @property {number} [drawingDelay]
507
+ * @property {number} [scaleFactor]
508
+ * @property {number} [steps]
509
+ * @property {Array} [origin] x and y coordinates of the scale
510
+ * transformation origin.
511
+ */
512
+ /**
513
+ * Changes the current zoom level by the specified amount.
514
+ * @param {ChangeScaleOptions} [options]
515
+ */
516
+ updateScale({ drawingDelay, scaleFactor, steps, origin }?: {
517
+ drawingDelay?: number | undefined;
518
+ scaleFactor?: number | undefined;
519
+ steps?: number | undefined;
520
+ /**
521
+ * x and y coordinates of the scale
522
+ * transformation origin.
523
+ */
524
+ origin?: any[] | undefined;
525
+ }): void;
526
+ /**
527
+ * Increase the current zoom level one, or more, times.
528
+ * @param {ChangeScaleOptions} [options]
529
+ */
530
+ increaseScale(options?: {
531
+ drawingDelay?: number | undefined;
532
+ scaleFactor?: number | undefined;
533
+ steps?: number | undefined;
534
+ /**
535
+ * x and y coordinates of the scale
536
+ * transformation origin.
537
+ */
538
+ origin?: any[] | undefined;
539
+ }): void;
540
+ /**
541
+ * Decrease the current zoom level one, or more, times.
542
+ * @param {ChangeScaleOptions} [options]
543
+ */
544
+ decreaseScale(options?: {
545
+ drawingDelay?: number | undefined;
546
+ scaleFactor?: number | undefined;
547
+ steps?: number | undefined;
548
+ /**
549
+ * x and y coordinates of the scale
550
+ * transformation origin.
551
+ */
552
+ origin?: any[] | undefined;
553
+ }): void;
554
+ get containerTopLeft(): number[];
555
+ /**
556
+ * @typedef {Object} AnnotationEditorModeOptions
557
+ * @property {number} mode - The editor mode (none, FreeText, ink, ...).
558
+ * @property {string|null} [editId] - ID of the existing annotation to edit.
559
+ * @property {boolean} [isFromKeyboard] - True if the mode change is due to a
560
+ * keyboard action.
561
+ * @property {boolean} [mustEnterInEditMode] - True if the editor must enter
562
+ * edit mode.
563
+ * @property {boolean} [editComment] - True if the editor must enter
564
+ * comment edit mode.
565
+ */
566
+ /**
567
+ * @param {AnnotationEditorModeOptions} options
568
+ */
569
+ set annotationEditorMode({ mode, editId, isFromKeyboard, mustEnterInEditMode, editComment, }: {
570
+ /**
571
+ * - The editor mode (none, FreeText, ink, ...).
572
+ */
573
+ mode: number;
574
+ /**
575
+ * - ID of the existing annotation to edit.
576
+ */
577
+ editId?: string | null | undefined;
578
+ /**
579
+ * - True if the mode change is due to a
580
+ * keyboard action.
581
+ */
582
+ isFromKeyboard?: boolean | undefined;
583
+ /**
584
+ * - True if the editor must enter
585
+ * edit mode.
586
+ */
587
+ mustEnterInEditMode?: boolean | undefined;
588
+ /**
589
+ * - True if the editor must enter
590
+ * comment edit mode.
591
+ */
592
+ editComment?: boolean | undefined;
593
+ });
594
+ get annotationEditorMode(): {
595
+ /**
596
+ * - The editor mode (none, FreeText, ink, ...).
597
+ */
598
+ mode: number;
599
+ /**
600
+ * - ID of the existing annotation to edit.
601
+ */
602
+ editId?: string | null | undefined;
603
+ /**
604
+ * - True if the mode change is due to a
605
+ * keyboard action.
606
+ */
607
+ isFromKeyboard?: boolean | undefined;
608
+ /**
609
+ * - True if the editor must enter
610
+ * edit mode.
611
+ */
612
+ mustEnterInEditMode?: boolean | undefined;
613
+ /**
614
+ * - True if the editor must enter
615
+ * comment edit mode.
616
+ */
617
+ editComment?: boolean | undefined;
618
+ };
619
+ refresh(noUpdate?: boolean, updateArgs?: any): void;
620
+ #private;
621
+ }
622
+ import { PDFRenderingQueue } from "./pdf_rendering_queue.js";
623
+ import { PagesMapper } from "../src/pdf";
624
+ import { SimpleLinkService } from "./pdf_link_service.js";
625
+ import { GenericL10n } from "./genericl10n";
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Viewer control to display a sidebar with resizer functionality.
3
+ */
4
+ export class Sidebar {
5
+ /**
6
+ * @typedef {Object} SidebarElements
7
+ * @property {HTMLElement} sidebar - The sidebar element.
8
+ * @property {HTMLElement} resizer - The sidebar resizer element.
9
+ * @property {HTMLElement} toggleButton - The button used to toggle the
10
+ * sidebar.
11
+ */
12
+ /**
13
+ * Create a sidebar with resizer functionality.
14
+ * @param {SidebarElements} sidebarElements
15
+ * @param {boolean} ltr
16
+ * @param {boolean} isResizerOnTheLeft
17
+ */
18
+ constructor({ sidebar, resizer, toggleButton }: {
19
+ /**
20
+ * - The sidebar element.
21
+ */
22
+ sidebar: HTMLElement;
23
+ /**
24
+ * - The sidebar resizer element.
25
+ */
26
+ resizer: HTMLElement;
27
+ /**
28
+ * - The button used to toggle the
29
+ * sidebar.
30
+ */
31
+ toggleButton: HTMLElement;
32
+ }, ltr: boolean, isResizerOnTheLeft: boolean);
33
+ _sidebar: HTMLElement;
34
+ _isOpen: boolean;
35
+ /**
36
+ * Set the width of the sidebar in pixels.
37
+ * @param {number} newWidth
38
+ */
39
+ set width(newWidth: number);
40
+ /**
41
+ * Get the current width of the sidebar in pixels.
42
+ * @returns {number}
43
+ */
44
+ get width(): number;
45
+ /**
46
+ * Callback to be executed when the user starts resizing the sidebar.
47
+ */
48
+ onStartResizing(): void;
49
+ /**
50
+ * Callback to be executed when the user stops resizing the sidebar.
51
+ */
52
+ onStopResizing(): void;
53
+ /**
54
+ * Callback to be executed when the sidebar is being resized.
55
+ * @param {number} newWidth - The new width of the sidebar in pixels.
56
+ */
57
+ onResizing(_newWidth: any): void;
58
+ /**
59
+ * Toggle the sidebar's visibility.
60
+ * @param {boolean} [visibility] - The visibility state to set.
61
+ */
62
+ toggle(visibility?: boolean): void;
63
+ destroy(): void;
64
+ #private;
65
+ }