@grapecity-software/gcdocs.pdfviewer 7.1.0

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 (582) hide show
  1. package/CHANGELOG.md +2886 -0
  2. package/README.md +390 -0
  3. package/docs/.nojekyll +1 -0
  4. package/docs/assets/custom.css +19 -0
  5. package/docs/assets/highlight.css +134 -0
  6. package/docs/assets/main.js +54 -0
  7. package/docs/assets/search.js +1 -0
  8. package/docs/assets/style.css +1224 -0
  9. package/docs/assets/widgets.png +0 -0
  10. package/docs/assets/widgets@2x.png +0 -0
  11. package/docs/classes/AnnotationBase.html +349 -0
  12. package/docs/classes/ButtonWidget.html +512 -0
  13. package/docs/classes/ChoiceWidget.html +487 -0
  14. package/docs/classes/CircleAnnotation.html +425 -0
  15. package/docs/classes/DsPdfViewer.html +4095 -0
  16. package/docs/classes/FileAttachmentAnnotation.html +422 -0
  17. package/docs/classes/FreeTextAnnotation.html +405 -0
  18. package/docs/classes/GcPdfSearcher.html +362 -0
  19. package/docs/classes/GcPdfViewer.html +3923 -0
  20. package/docs/classes/HighlightAnnotation.html +390 -0
  21. package/docs/classes/InkAnnotation.html +400 -0
  22. package/docs/classes/LineAnnotation.html +422 -0
  23. package/docs/classes/LinkAnnotation.html +390 -0
  24. package/docs/classes/MarkupAnnotation.html +407 -0
  25. package/docs/classes/PolyLineAnnotation.html +406 -0
  26. package/docs/classes/PolygonAnnotation.html +406 -0
  27. package/docs/classes/PopupAnnotation.html +393 -0
  28. package/docs/classes/RedactAnnotation.html +439 -0
  29. package/docs/classes/SignatureAnnotation.html +398 -0
  30. package/docs/classes/SoundAnnotation.html +438 -0
  31. package/docs/classes/SquareAnnotation.html +397 -0
  32. package/docs/classes/SquigglyAnnotation.html +390 -0
  33. package/docs/classes/StampAnnotation.html +400 -0
  34. package/docs/classes/StrikeOutAnnotation.html +390 -0
  35. package/docs/classes/TextAnnotation.html +404 -0
  36. package/docs/classes/TextWidget.html +465 -0
  37. package/docs/classes/UnderlineAnnotation.html +390 -0
  38. package/docs/classes/ViewerOptions.html +1243 -0
  39. package/docs/classes/WidgetAnnotation.html +454 -0
  40. package/docs/enums/AnnotationTypeCode.html +196 -0
  41. package/docs/enums/ModificationType.html +86 -0
  42. package/docs/enums/SharedAccessMode.html +79 -0
  43. package/docs/enums/TextAlignmentType.html +66 -0
  44. package/docs/index.html +222 -0
  45. package/docs/interfaces/IGCEventBus.html +106 -0
  46. package/docs/types/AnnotationMarkedStateType.html +126 -0
  47. package/docs/types/AnnotationReviewStateType.html +126 -0
  48. package/docs/types/AnnotationStateModel.html +126 -0
  49. package/docs/types/AnnotationTypeName.html +126 -0
  50. package/docs/types/BusEventName.html +126 -0
  51. package/docs/types/DocumentListItem.html +146 -0
  52. package/docs/types/FieldAppearanceRenderingType.html +130 -0
  53. package/docs/types/FormFieldMapping.html +126 -0
  54. package/docs/types/FormFillerSettings.html +257 -0
  55. package/docs/types/GcProps.html +237 -0
  56. package/docs/types/InputFieldMapping.html +175 -0
  57. package/docs/types/JsCancelEventArgs.html +137 -0
  58. package/docs/types/JsEventArgs.html +133 -0
  59. package/docs/types/JsExecutionConfig.html +165 -0
  60. package/docs/types/KeyboardShortcutDefinition.html +149 -0
  61. package/docs/types/KeyboardShortcutTool.html +126 -0
  62. package/docs/types/LineEndStyle.html +126 -0
  63. package/docs/types/LinkDestinationType.html +126 -0
  64. package/docs/types/LinkType.html +126 -0
  65. package/docs/types/LogLevel.html +128 -0
  66. package/docs/types/ModificationsState.html +145 -0
  67. package/docs/types/NamedAction.html +127 -0
  68. package/docs/types/OpenAction.html +148 -0
  69. package/docs/types/OpenParameters.html +126 -0
  70. package/docs/types/OptionalContentConfig.html +195 -0
  71. package/docs/types/OptionalContentGroup.html +194 -0
  72. package/docs/types/PageLayout.html +126 -0
  73. package/docs/types/PageMode.html +126 -0
  74. package/docs/types/PageModification.html +137 -0
  75. package/docs/types/PageStructureChange.html +139 -0
  76. package/docs/types/PageViewport.html +221 -0
  77. package/docs/types/PdfOrganizerSettings.html +147 -0
  78. package/docs/types/ReplyToolSettings.html +196 -0
  79. package/docs/types/RotationInit.html +155 -0
  80. package/docs/types/RulerLine.html +146 -0
  81. package/docs/types/SaveSettings.html +191 -0
  82. package/docs/types/ScrollPageIntoViewOptions.html +126 -0
  83. package/docs/types/SharedDocumentInfo.html +139 -0
  84. package/docs/types/SignToolSettings.html +437 -0
  85. package/docs/types/SignatureInfo.html +158 -0
  86. package/docs/types/SignatureInformation.html +145 -0
  87. package/docs/types/StampCategory.html +159 -0
  88. package/docs/types/StructTreeContent.html +144 -0
  89. package/docs/types/StructTreeNode.html +141 -0
  90. package/docs/types/StructureChanges.html +142 -0
  91. package/docs/types/SupportApiSettings.html +199 -0
  92. package/docs/types/TextMarkupContextMenuSettings.html +139 -0
  93. package/docs/types/ToolbarButtonKey.html +126 -0
  94. package/docs/types/UndoChangeName.html +126 -0
  95. package/docs/types/UserAccess.html +133 -0
  96. package/docs/types/ViewerFeatureName.html +128 -0
  97. package/docs/types/ViewerPreferences.html +178 -0
  98. package/docs/types/WidgetFieldTypeName.html +129 -0
  99. package/docs.html +19 -0
  100. package/gcpdfviewer.js +2 -0
  101. package/gcpdfviewer.worker.js +2 -0
  102. package/index.html +43 -0
  103. package/localization/en-pdf-viewer.json +1587 -0
  104. package/localization/en-viewer-base.json +73 -0
  105. package/localization/localization_example.html +55 -0
  106. package/package.json +27 -0
  107. package/resources/bcmaps/78-EUC-H.bin +0 -0
  108. package/resources/bcmaps/78-EUC-V.bin +0 -0
  109. package/resources/bcmaps/78-H.bin +0 -0
  110. package/resources/bcmaps/78-RKSJ-H.bin +0 -0
  111. package/resources/bcmaps/78-RKSJ-V.bin +0 -0
  112. package/resources/bcmaps/78-V.bin +0 -0
  113. package/resources/bcmaps/78ms-RKSJ-H.bin +0 -0
  114. package/resources/bcmaps/78ms-RKSJ-V.bin +0 -0
  115. package/resources/bcmaps/83pv-RKSJ-H.bin +0 -0
  116. package/resources/bcmaps/90ms-RKSJ-H.bin +0 -0
  117. package/resources/bcmaps/90ms-RKSJ-V.bin +0 -0
  118. package/resources/bcmaps/90msp-RKSJ-H.bin +0 -0
  119. package/resources/bcmaps/90msp-RKSJ-V.bin +0 -0
  120. package/resources/bcmaps/90pv-RKSJ-H.bin +0 -0
  121. package/resources/bcmaps/90pv-RKSJ-V.bin +0 -0
  122. package/resources/bcmaps/Add-H.bin +0 -0
  123. package/resources/bcmaps/Add-RKSJ-H.bin +0 -0
  124. package/resources/bcmaps/Add-RKSJ-V.bin +0 -0
  125. package/resources/bcmaps/Add-V.bin +0 -0
  126. package/resources/bcmaps/Adobe-CNS1-0.bin +0 -0
  127. package/resources/bcmaps/Adobe-CNS1-1.bin +0 -0
  128. package/resources/bcmaps/Adobe-CNS1-2.bin +0 -0
  129. package/resources/bcmaps/Adobe-CNS1-3.bin +0 -0
  130. package/resources/bcmaps/Adobe-CNS1-4.bin +0 -0
  131. package/resources/bcmaps/Adobe-CNS1-5.bin +0 -0
  132. package/resources/bcmaps/Adobe-CNS1-6.bin +0 -0
  133. package/resources/bcmaps/Adobe-CNS1-UCS2.bin +0 -0
  134. package/resources/bcmaps/Adobe-GB1-0.bin +0 -0
  135. package/resources/bcmaps/Adobe-GB1-1.bin +0 -0
  136. package/resources/bcmaps/Adobe-GB1-2.bin +0 -0
  137. package/resources/bcmaps/Adobe-GB1-3.bin +0 -0
  138. package/resources/bcmaps/Adobe-GB1-4.bin +0 -0
  139. package/resources/bcmaps/Adobe-GB1-5.bin +0 -0
  140. package/resources/bcmaps/Adobe-GB1-UCS2.bin +0 -0
  141. package/resources/bcmaps/Adobe-Japan1-0.bin +0 -0
  142. package/resources/bcmaps/Adobe-Japan1-1.bin +0 -0
  143. package/resources/bcmaps/Adobe-Japan1-2.bin +0 -0
  144. package/resources/bcmaps/Adobe-Japan1-3.bin +0 -0
  145. package/resources/bcmaps/Adobe-Japan1-4.bin +0 -0
  146. package/resources/bcmaps/Adobe-Japan1-5.bin +0 -0
  147. package/resources/bcmaps/Adobe-Japan1-6.bin +0 -0
  148. package/resources/bcmaps/Adobe-Japan1-UCS2.bin +0 -0
  149. package/resources/bcmaps/Adobe-Korea1-0.bin +0 -0
  150. package/resources/bcmaps/Adobe-Korea1-1.bin +0 -0
  151. package/resources/bcmaps/Adobe-Korea1-2.bin +0 -0
  152. package/resources/bcmaps/Adobe-Korea1-UCS2.bin +0 -0
  153. package/resources/bcmaps/B5-H.bin +0 -0
  154. package/resources/bcmaps/B5-V.bin +0 -0
  155. package/resources/bcmaps/B5pc-H.bin +0 -0
  156. package/resources/bcmaps/B5pc-V.bin +0 -0
  157. package/resources/bcmaps/CNS-EUC-H.bin +0 -0
  158. package/resources/bcmaps/CNS-EUC-V.bin +0 -0
  159. package/resources/bcmaps/CNS1-H.bin +0 -0
  160. package/resources/bcmaps/CNS1-V.bin +0 -0
  161. package/resources/bcmaps/CNS2-H.bin +0 -0
  162. package/resources/bcmaps/CNS2-V.bin +3 -0
  163. package/resources/bcmaps/ETHK-B5-H.bin +0 -0
  164. package/resources/bcmaps/ETHK-B5-V.bin +0 -0
  165. package/resources/bcmaps/ETen-B5-H.bin +0 -0
  166. package/resources/bcmaps/ETen-B5-V.bin +0 -0
  167. package/resources/bcmaps/ETenms-B5-H.bin +3 -0
  168. package/resources/bcmaps/ETenms-B5-V.bin +0 -0
  169. package/resources/bcmaps/EUC-H.bin +0 -0
  170. package/resources/bcmaps/EUC-V.bin +0 -0
  171. package/resources/bcmaps/Ext-H.bin +0 -0
  172. package/resources/bcmaps/Ext-RKSJ-H.bin +0 -0
  173. package/resources/bcmaps/Ext-RKSJ-V.bin +0 -0
  174. package/resources/bcmaps/Ext-V.bin +0 -0
  175. package/resources/bcmaps/GB-EUC-H.bin +0 -0
  176. package/resources/bcmaps/GB-EUC-V.bin +0 -0
  177. package/resources/bcmaps/GB-H.bin +4 -0
  178. package/resources/bcmaps/GB-V.bin +0 -0
  179. package/resources/bcmaps/GBK-EUC-H.bin +0 -0
  180. package/resources/bcmaps/GBK-EUC-V.bin +0 -0
  181. package/resources/bcmaps/GBK2K-H.bin +0 -0
  182. package/resources/bcmaps/GBK2K-V.bin +0 -0
  183. package/resources/bcmaps/GBKp-EUC-H.bin +0 -0
  184. package/resources/bcmaps/GBKp-EUC-V.bin +0 -0
  185. package/resources/bcmaps/GBT-EUC-H.bin +0 -0
  186. package/resources/bcmaps/GBT-EUC-V.bin +0 -0
  187. package/resources/bcmaps/GBT-H.bin +0 -0
  188. package/resources/bcmaps/GBT-V.bin +0 -0
  189. package/resources/bcmaps/GBTpc-EUC-H.bin +0 -0
  190. package/resources/bcmaps/GBTpc-EUC-V.bin +0 -0
  191. package/resources/bcmaps/GBpc-EUC-H.bin +0 -0
  192. package/resources/bcmaps/GBpc-EUC-V.bin +0 -0
  193. package/resources/bcmaps/H.bin +0 -0
  194. package/resources/bcmaps/HKdla-B5-H.bin +0 -0
  195. package/resources/bcmaps/HKdla-B5-V.bin +0 -0
  196. package/resources/bcmaps/HKdlb-B5-H.bin +0 -0
  197. package/resources/bcmaps/HKdlb-B5-V.bin +0 -0
  198. package/resources/bcmaps/HKgccs-B5-H.bin +0 -0
  199. package/resources/bcmaps/HKgccs-B5-V.bin +0 -0
  200. package/resources/bcmaps/HKm314-B5-H.bin +0 -0
  201. package/resources/bcmaps/HKm314-B5-V.bin +0 -0
  202. package/resources/bcmaps/HKm471-B5-H.bin +0 -0
  203. package/resources/bcmaps/HKm471-B5-V.bin +0 -0
  204. package/resources/bcmaps/HKscs-B5-H.bin +0 -0
  205. package/resources/bcmaps/HKscs-B5-V.bin +0 -0
  206. package/resources/bcmaps/Hankaku.bin +0 -0
  207. package/resources/bcmaps/Hiragana.bin +0 -0
  208. package/resources/bcmaps/KSC-EUC-H.bin +0 -0
  209. package/resources/bcmaps/KSC-EUC-V.bin +0 -0
  210. package/resources/bcmaps/KSC-H.bin +0 -0
  211. package/resources/bcmaps/KSC-Johab-H.bin +0 -0
  212. package/resources/bcmaps/KSC-Johab-V.bin +0 -0
  213. package/resources/bcmaps/KSC-V.bin +0 -0
  214. package/resources/bcmaps/KSCms-UHC-H.bin +0 -0
  215. package/resources/bcmaps/KSCms-UHC-HW-H.bin +0 -0
  216. package/resources/bcmaps/KSCms-UHC-HW-V.bin +0 -0
  217. package/resources/bcmaps/KSCms-UHC-V.bin +0 -0
  218. package/resources/bcmaps/KSCpc-EUC-H.bin +0 -0
  219. package/resources/bcmaps/KSCpc-EUC-V.bin +0 -0
  220. package/resources/bcmaps/Katakana.bin +0 -0
  221. package/resources/bcmaps/LICENSE +36 -0
  222. package/resources/bcmaps/NWP-H.bin +0 -0
  223. package/resources/bcmaps/NWP-V.bin +0 -0
  224. package/resources/bcmaps/RKSJ-H.bin +0 -0
  225. package/resources/bcmaps/RKSJ-V.bin +0 -0
  226. package/resources/bcmaps/Roman.bin +0 -0
  227. package/resources/bcmaps/UniCNS-UCS2-H.bin +0 -0
  228. package/resources/bcmaps/UniCNS-UCS2-V.bin +0 -0
  229. package/resources/bcmaps/UniCNS-UTF16-H.bin +0 -0
  230. package/resources/bcmaps/UniCNS-UTF16-V.bin +0 -0
  231. package/resources/bcmaps/UniCNS-UTF32-H.bin +0 -0
  232. package/resources/bcmaps/UniCNS-UTF32-V.bin +0 -0
  233. package/resources/bcmaps/UniCNS-UTF8-H.bin +0 -0
  234. package/resources/bcmaps/UniCNS-UTF8-V.bin +0 -0
  235. package/resources/bcmaps/UniGB-UCS2-H.bin +0 -0
  236. package/resources/bcmaps/UniGB-UCS2-V.bin +0 -0
  237. package/resources/bcmaps/UniGB-UTF16-H.bin +0 -0
  238. package/resources/bcmaps/UniGB-UTF16-V.bin +0 -0
  239. package/resources/bcmaps/UniGB-UTF32-H.bin +0 -0
  240. package/resources/bcmaps/UniGB-UTF32-V.bin +0 -0
  241. package/resources/bcmaps/UniGB-UTF8-H.bin +0 -0
  242. package/resources/bcmaps/UniGB-UTF8-V.bin +0 -0
  243. package/resources/bcmaps/UniJIS-UCS2-H.bin +0 -0
  244. package/resources/bcmaps/UniJIS-UCS2-HW-H.bin +0 -0
  245. package/resources/bcmaps/UniJIS-UCS2-HW-V.bin +0 -0
  246. package/resources/bcmaps/UniJIS-UCS2-V.bin +0 -0
  247. package/resources/bcmaps/UniJIS-UTF16-H.bin +0 -0
  248. package/resources/bcmaps/UniJIS-UTF16-V.bin +0 -0
  249. package/resources/bcmaps/UniJIS-UTF32-H.bin +0 -0
  250. package/resources/bcmaps/UniJIS-UTF32-V.bin +0 -0
  251. package/resources/bcmaps/UniJIS-UTF8-H.bin +0 -0
  252. package/resources/bcmaps/UniJIS-UTF8-V.bin +0 -0
  253. package/resources/bcmaps/UniJIS2004-UTF16-H.bin +0 -0
  254. package/resources/bcmaps/UniJIS2004-UTF16-V.bin +0 -0
  255. package/resources/bcmaps/UniJIS2004-UTF32-H.bin +0 -0
  256. package/resources/bcmaps/UniJIS2004-UTF32-V.bin +0 -0
  257. package/resources/bcmaps/UniJIS2004-UTF8-H.bin +0 -0
  258. package/resources/bcmaps/UniJIS2004-UTF8-V.bin +0 -0
  259. package/resources/bcmaps/UniJISPro-UCS2-HW-V.bin +0 -0
  260. package/resources/bcmaps/UniJISPro-UCS2-V.bin +0 -0
  261. package/resources/bcmaps/UniJISPro-UTF8-V.bin +0 -0
  262. package/resources/bcmaps/UniJISX0213-UTF32-H.bin +0 -0
  263. package/resources/bcmaps/UniJISX0213-UTF32-V.bin +0 -0
  264. package/resources/bcmaps/UniJISX02132004-UTF32-H.bin +0 -0
  265. package/resources/bcmaps/UniJISX02132004-UTF32-V.bin +0 -0
  266. package/resources/bcmaps/UniKS-UCS2-H.bin +0 -0
  267. package/resources/bcmaps/UniKS-UCS2-V.bin +0 -0
  268. package/resources/bcmaps/UniKS-UTF16-H.bin +0 -0
  269. package/resources/bcmaps/UniKS-UTF16-V.bin +0 -0
  270. package/resources/bcmaps/UniKS-UTF32-H.bin +0 -0
  271. package/resources/bcmaps/UniKS-UTF32-V.bin +0 -0
  272. package/resources/bcmaps/UniKS-UTF8-H.bin +0 -0
  273. package/resources/bcmaps/UniKS-UTF8-V.bin +0 -0
  274. package/resources/bcmaps/V.bin +0 -0
  275. package/resources/bcmaps/WP-Symbol.bin +0 -0
  276. package/resources/standard_fonts/FoxitDingbats.pfb +0 -0
  277. package/resources/standard_fonts/FoxitFixed.pfb +0 -0
  278. package/resources/standard_fonts/FoxitFixedBold.pfb +0 -0
  279. package/resources/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  280. package/resources/standard_fonts/FoxitFixedItalic.pfb +0 -0
  281. package/resources/standard_fonts/FoxitSans.pfb +0 -0
  282. package/resources/standard_fonts/FoxitSansBold.pfb +0 -0
  283. package/resources/standard_fonts/FoxitSansBoldItalic.pfb +0 -0
  284. package/resources/standard_fonts/FoxitSansItalic.pfb +0 -0
  285. package/resources/standard_fonts/FoxitSerif.pfb +0 -0
  286. package/resources/standard_fonts/FoxitSerifBold.pfb +0 -0
  287. package/resources/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  288. package/resources/standard_fonts/FoxitSerifItalic.pfb +0 -0
  289. package/resources/standard_fonts/FoxitSymbol.pfb +0 -0
  290. package/resources/standard_fonts/LICENSE_FOXIT +27 -0
  291. package/resources/standard_fonts/LICENSE_LIBERATION +102 -0
  292. package/resources/standard_fonts/LiberationSans-Bold.ttf +0 -0
  293. package/resources/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  294. package/resources/standard_fonts/LiberationSans-Italic.ttf +0 -0
  295. package/resources/standard_fonts/LiberationSans-Regular.ttf +0 -0
  296. package/resources/standard_fonts/README.md +11 -0
  297. package/themes/dark-yellow.css +1 -0
  298. package/themes/dark-yellow.jscss +7 -0
  299. package/themes/dark.css +1 -0
  300. package/themes/dark.jscss +7 -0
  301. package/themes/gc-blue.css +1 -0
  302. package/themes/gc-blue.jscss +7 -0
  303. package/themes/light-blue.css +1 -0
  304. package/themes/light-blue.jscss +7 -0
  305. package/themes/light.css +1 -0
  306. package/themes/light.jscss +7 -0
  307. package/themes/viewer.css +1 -0
  308. package/themes/viewer.jscss +7 -0
  309. package/typings/AcroForm/AcroForm.d.ts +3 -0
  310. package/typings/AcroForm/index.d.ts +4 -0
  311. package/typings/AcroForm/state.d.ts +4 -0
  312. package/typings/AcroForm/types.d.ts +15 -0
  313. package/typings/Annotations/AnnotationPropertyDescriptors.d.ts +88 -0
  314. package/typings/Annotations/AnnotationState.d.ts +5 -0
  315. package/typings/Annotations/AnnotationTypes.d.ts +353 -0
  316. package/typings/Annotations/Annotations.d.ts +151 -0
  317. package/typings/Annotations/Editors/CalloutLineEditor.d.ts +19 -0
  318. package/typings/Annotations/Editors/CancelableEditorBase.d.ts +34 -0
  319. package/typings/Annotations/Editors/ChoiceOptionsEditor.d.ts +21 -0
  320. package/typings/Annotations/Editors/ColorEditor/ColorEditor.d.ts +13 -0
  321. package/typings/Annotations/Editors/ColorEditor/Localization.d.ts +2 -0
  322. package/typings/Annotations/Editors/ColorEditor/StandardPalette.d.ts +3 -0
  323. package/typings/Annotations/Editors/ColorEditor/types.d.ts +21 -0
  324. package/typings/Annotations/Editors/FileEditor.d.ts +42 -0
  325. package/typings/Annotations/Editors/FloatEditor.d.ts +43 -0
  326. package/typings/Annotations/Editors/ImageFileEditor.d.ts +37 -0
  327. package/typings/Annotations/Editors/JsCodeAreaEditor.d.ts +18 -0
  328. package/typings/Annotations/Editors/KeyValuePairEditor.d.ts +20 -0
  329. package/typings/Annotations/Editors/LinkAnnotationHelper.d.ts +18 -0
  330. package/typings/Annotations/Editors/LinkDestTypeEditor.d.ts +18 -0
  331. package/typings/Annotations/Editors/MediaFileEditor.d.ts +7 -0
  332. package/typings/Annotations/Editors/MediaPosterFileEditor.d.ts +9 -0
  333. package/typings/Annotations/Editors/NullableIntEditor.d.ts +39 -0
  334. package/typings/Annotations/Editors/ParentIdEditor.d.ts +22 -0
  335. package/typings/Annotations/Editors/PlaceholderEditorStub.d.ts +15 -0
  336. package/typings/Annotations/Editors/PreserveStampSizeAspectToggle.d.ts +15 -0
  337. package/typings/Annotations/Editors/SelectFileHelper.d.ts +24 -0
  338. package/typings/Annotations/Editors/SoundFileEditor.d.ts +41 -0
  339. package/typings/Annotations/Editors/TextAreaEditor.d.ts +23 -0
  340. package/typings/Annotations/Elements/CheckBoxElement.d.ts +2 -0
  341. package/typings/Annotations/Elements/RadioButtonElement.d.ts +2 -0
  342. package/typings/Annotations/RichMediaAnnotation.d.ts +41 -0
  343. package/typings/Annotations/index.d.ts +4 -0
  344. package/typings/Annotations/state.d.ts +4 -0
  345. package/typings/Annotations/types.d.ts +63 -0
  346. package/typings/Articles/Articles.d.ts +19 -0
  347. package/typings/Articles/index.d.ts +4 -0
  348. package/typings/Articles/state.d.ts +4 -0
  349. package/typings/Articles/types.d.ts +24 -0
  350. package/typings/Attachments/Attachments.d.ts +17 -0
  351. package/typings/Attachments/index.d.ts +3 -0
  352. package/typings/Attachments/state.d.ts +4 -0
  353. package/typings/Attachments/types.d.ts +7 -0
  354. package/typings/Contents/Contents.d.ts +13 -0
  355. package/typings/Contents/index.d.ts +4 -0
  356. package/typings/Contents/state.d.ts +4 -0
  357. package/typings/Contents/types.d.ts +16 -0
  358. package/typings/ContextMenu/ContextMenuProvider.d.ts +48 -0
  359. package/typings/ContextMenu/DropdownMenu.d.ts +121 -0
  360. package/typings/ContextMenu/GcDocumentContextMenu.d.ts +80 -0
  361. package/typings/ContextMenu/Positioner.d.ts +58 -0
  362. package/typings/ContextMenu/constants.d.ts +22 -0
  363. package/typings/ContextMenu/essentials.d.ts +41 -0
  364. package/typings/ContextMenu/types.d.ts +2 -0
  365. package/typings/Core/ExternalPdfManager.d.ts +24 -0
  366. package/typings/Core/GcPdfViewerDataLoader.d.ts +24 -0
  367. package/typings/DataStorage/DataStorage.d.ts +20 -0
  368. package/typings/Dialogs/ConfirmationDialog.d.ts +17 -0
  369. package/typings/Dialogs/ProgressDialog.d.ts +37 -0
  370. package/typings/Dialogs/Types.d.ts +22 -0
  371. package/typings/DocumentListPanel.d.ts +39 -0
  372. package/typings/DsPdfViewer.d.ts +5 -0
  373. package/typings/FloatingBar/FloatingBar.d.ts +20 -0
  374. package/typings/FloatingBar/types.d.ts +7 -0
  375. package/typings/FloatingSearchBar/FloatingSearchBar.d.ts +42 -0
  376. package/typings/FloatingSearchBar/types.d.ts +3 -0
  377. package/typings/FormFiller/Controls/CheckBoxControl.d.ts +7 -0
  378. package/typings/FormFiller/Controls/ChoiceControl.d.ts +11 -0
  379. package/typings/FormFiller/Controls/CombTextControl.d.ts +7 -0
  380. package/typings/FormFiller/Controls/ControlBase.d.ts +32 -0
  381. package/typings/FormFiller/Controls/DateTimeControl.d.ts +7 -0
  382. package/typings/FormFiller/Controls/DateTimeHelper.d.ts +18 -0
  383. package/typings/FormFiller/Controls/EmailControl.d.ts +7 -0
  384. package/typings/FormFiller/Controls/PasswordControl.d.ts +7 -0
  385. package/typings/FormFiller/Controls/RadioControl.d.ts +7 -0
  386. package/typings/FormFiller/Controls/SearchControl.d.ts +7 -0
  387. package/typings/FormFiller/Controls/TelControl.d.ts +7 -0
  388. package/typings/FormFiller/Controls/TextControl.d.ts +7 -0
  389. package/typings/FormFiller/Controls/UrlControl.d.ts +7 -0
  390. package/typings/FormFiller/FieldRow.d.ts +27 -0
  391. package/typings/FormFiller/FormFiller.d.ts +32 -0
  392. package/typings/FormFiller/FormFillerDialog.d.ts +28 -0
  393. package/typings/FormFiller/Validator.d.ts +9 -0
  394. package/typings/FormFiller/types.d.ts +48 -0
  395. package/typings/GcPdfDocument.d.ts +65 -0
  396. package/typings/GcPdfDocumentView.d.ts +22 -0
  397. package/typings/GcPdfViewer.d.ts +464 -0
  398. package/typings/GcPdfViewerStateStorage.d.ts +24 -0
  399. package/typings/Keyboard/KeyboardWorker.d.ts +52 -0
  400. package/typings/Keyboard/ShortcutsConfig.d.ts +10 -0
  401. package/typings/Layers/Layers.d.ts +17 -0
  402. package/typings/Layers/index.d.ts +1 -0
  403. package/typings/Layers/state.d.ts +0 -0
  404. package/typings/Layers/types.d.ts +8 -0
  405. package/typings/LeftSidebar.d.ts +33 -0
  406. package/typings/Models/EventArgs.d.ts +38 -0
  407. package/typings/Models/GcMeasurementTypes.d.ts +29 -0
  408. package/typings/Models/PluginTypes.d.ts +23 -0
  409. package/typings/Models/ViewerTypes.d.ts +279 -0
  410. package/typings/Password/GcPdfPasswordDialog.d.ts +31 -0
  411. package/typings/PdfDocumentViewer/PdfDocumentViewer.d.ts +11 -0
  412. package/typings/PdfOrganizer/PdfOrganizerDialog.d.ts +83 -0
  413. package/typings/PdfOrganizer/types.d.ts +17 -0
  414. package/typings/Polyfills/ArrayPolyfills.d.ts +1 -0
  415. package/typings/Polyfills/CanvasToBlob.d.ts +0 -0
  416. package/typings/Polyfills/closest.d.ts +0 -0
  417. package/typings/Print/GcPdfPrintProgress.d.ts +17 -0
  418. package/typings/Print/GcPdfPrintService.d.ts +7 -0
  419. package/typings/Properties/DocumentInformation.d.ts +22 -0
  420. package/typings/Properties/PropertiesDialog.d.ts +39 -0
  421. package/typings/ReplyTool/AuthorLabel.d.ts +8 -0
  422. package/typings/ReplyTool/ReplyTool.d.ts +90 -0
  423. package/typings/ReplyTool/types.d.ts +25 -0
  424. package/typings/RightSidebar/GcRightSidebar.d.ts +42 -0
  425. package/typings/RightSidebar/types.d.ts +2 -0
  426. package/typings/Search/GcPdfSearcher.d.ts +98 -0
  427. package/typings/Search/IPdfSearcher.d.ts +5 -0
  428. package/typings/Search/SearchPanel.d.ts +16 -0
  429. package/typings/Search/SearchPanelBase.d.ts +35 -0
  430. package/typings/Search/SearchUtils.d.ts +24 -0
  431. package/typings/Search/SearchWorker.d.ts +37 -0
  432. package/typings/Search/TextSelectionBoundsTester.d.ts +10 -0
  433. package/typings/Search/api.d.ts +12 -0
  434. package/typings/Search/index.d.ts +5 -0
  435. package/typings/Search/types.d.ts +135 -0
  436. package/typings/Security/DocumentSecuritySummary.d.ts +19 -0
  437. package/typings/SharedDocuments/ShareDialog.d.ts +55 -0
  438. package/typings/SharedDocuments/SharedChangeIndicator.d.ts +5 -0
  439. package/typings/SharedDocuments/SharedDocumentsPanel.d.ts +26 -0
  440. package/typings/SharedDocuments/types.d.ts +73 -0
  441. package/typings/SignTool/CanvasRuler.d.ts +21 -0
  442. package/typings/SignTool/DrawTool.d.ts +41 -0
  443. package/typings/SignTool/ImageTool.d.ts +51 -0
  444. package/typings/SignTool/SignToolDialog.d.ts +97 -0
  445. package/typings/SignTool/SignToolStorage.d.ts +17 -0
  446. package/typings/SignTool/SignaturePad/SignaturePad.d.ts +76 -0
  447. package/typings/SignTool/SignaturePad/throttle.d.ts +1 -0
  448. package/typings/SignTool/SignaturePad/types.d.ts +30 -0
  449. package/typings/SignTool/TypeTool.d.ts +52 -0
  450. package/typings/SignTool/types.d.ts +62 -0
  451. package/typings/StructureTree/StructureTree.d.ts +31 -0
  452. package/typings/StructureTree/index.d.ts +1 -0
  453. package/typings/StructureTree/state.d.ts +0 -0
  454. package/typings/StructureTree/types.d.ts +7 -0
  455. package/typings/Styles/StaticIcons.d.ts +1 -0
  456. package/typings/Styles/pdfSvgIcons.d.ts +155 -0
  457. package/typings/SupportApi/Connection/ClientMessage.d.ts +61 -0
  458. package/typings/SupportApi/Connection/Message.d.ts +3 -0
  459. package/typings/SupportApi/Connection/PersistentConnection.d.ts +33 -0
  460. package/typings/SupportApi/Connection/ServerMessage.d.ts +25 -0
  461. package/typings/SupportApi/DocumentOptions.d.ts +14 -0
  462. package/typings/SupportApi/ISupportApi.d.ts +44 -0
  463. package/typings/SupportApi/ISupportApiBase.d.ts +30 -0
  464. package/typings/SupportApi/LocalDocumentModification.d.ts +23 -0
  465. package/typings/SupportApi/RenderParams.d.ts +7 -0
  466. package/typings/SupportApi/SignatureInfo.d.ts +0 -0
  467. package/typings/SupportApi/SupportApiImpl.d.ts +88 -0
  468. package/typings/SupportApi/Wasm/IWasmModule.d.ts +22 -0
  469. package/typings/SupportApi/Wasm/WasmModule.d.ts +2 -0
  470. package/typings/SupportApi/Wasm/WasmSupportApi.d.ts +38 -0
  471. package/typings/SupportApi/types.d.ts +43 -0
  472. package/typings/Thumbnails/GcRangedThumbsPane.d.ts +17 -0
  473. package/typings/Thumbnails/GcThumbView.d.ts +50 -0
  474. package/typings/Thumbnails/GcThumbnailViewer.d.ts +46 -0
  475. package/typings/Thumbnails/Thumbnails.d.ts +18 -0
  476. package/typings/Thumbnails/index.d.ts +1 -0
  477. package/typings/Toolbar/PdfToolbarLayout.d.ts +9 -0
  478. package/typings/Toolbar/SecondToolbar/SecondToolbar.d.ts +25 -0
  479. package/typings/Toolbar/SecondToolbar/SecondToolbarControl.d.ts +31 -0
  480. package/typings/Toolbar/SecondToolbar/SecondToolbarRenderer.d.ts +5 -0
  481. package/typings/Toolbar/SecondToolbar/types.d.ts +9 -0
  482. package/typings/Toolbar/ToolbarItems.d.ts +71 -0
  483. package/typings/Toolbar/controls/AddStampDropdown.d.ts +61 -0
  484. package/typings/Toolbar/controls/Zoom.d.ts +42 -0
  485. package/typings/Utils/AnnotationsSvgFactory.d.ts +34 -0
  486. package/typings/Utils/AudioOscilloscopeVisualizer.d.ts +23 -0
  487. package/typings/Utils/AudioUtils.d.ts +12 -0
  488. package/typings/Utils/BackgroundUtilsWorker.d.ts +6 -0
  489. package/typings/Utils/BrowserUtils.d.ts +20 -0
  490. package/typings/Utils/ColorUtils.d.ts +7 -0
  491. package/typings/Utils/CombFieldBehavior.d.ts +58 -0
  492. package/typings/Utils/DomUtils.d.ts +21 -0
  493. package/typings/Utils/DownloadUtil.d.ts +2 -0
  494. package/typings/Utils/DrawingPanel.d.ts +11 -0
  495. package/typings/Utils/DropFileAreaHelper.d.ts +25 -0
  496. package/typings/Utils/EditableComboBoxBehavior.d.ts +17 -0
  497. package/typings/Utils/EncodingUtils.d.ts +9 -0
  498. package/typings/Utils/Exceptions.d.ts +5 -0
  499. package/typings/Utils/GcEditableTextBehavior.d.ts +48 -0
  500. package/typings/Utils/GcMeasurement.d.ts +37 -0
  501. package/typings/Utils/GestureEventsDispatcher.d.ts +40 -0
  502. package/typings/Utils/MathUtils.d.ts +17 -0
  503. package/typings/Utils/MeasurementUtils.d.ts +4 -0
  504. package/typings/Utils/PromiseUtils.d.ts +24 -0
  505. package/typings/Utils/ResizableDialogBehavior.d.ts +1 -0
  506. package/typings/Utils/RichMediaAnnotationPlayer.d.ts +60 -0
  507. package/typings/Utils/ScrollUtils.d.ts +20 -0
  508. package/typings/Utils/SearchUtils.d.ts +20 -0
  509. package/typings/Utils/SelectionRangeUtils.d.ts +2 -0
  510. package/typings/Utils/SharedRef.d.ts +17 -0
  511. package/typings/Utils/StampImagesAwaiter.d.ts +15 -0
  512. package/typings/Utils/SupportApiUtils.d.ts +4 -0
  513. package/typings/Utils/TooltipPopup.d.ts +6 -0
  514. package/typings/Utils/UrlUtils.d.ts +17 -0
  515. package/typings/Utils/ViewerUtils.d.ts +68 -0
  516. package/typings/Utils/index.d.ts +1 -0
  517. package/typings/ViewerOptions.d.ts +316 -0
  518. package/typings/XFA/XfaApiImpl.d.ts +19 -0
  519. package/typings/XFA/XfaForm.d.ts +7 -0
  520. package/typings/XFA/XfaNode.d.ts +5 -0
  521. package/typings/httpClient.d.ts +15 -0
  522. package/typings/index.d.ts +10 -0
  523. package/typings/plugin.d.ts +646 -0
  524. package/typings/vendor/i18next.d.ts +1022 -0
  525. package/typings/vendor/js-viewer-core/api/PluginModel.d.ts +246 -0
  526. package/typings/vendor/js-viewer-core/api/ReportViewerCmd.d.ts +72 -0
  527. package/typings/vendor/js-viewer-core/api/index.d.ts +3 -0
  528. package/typings/vendor/js-viewer-core/components/DocumentViewer/ContinuousView.d.ts +37 -0
  529. package/typings/vendor/js-viewer-core/components/DocumentViewer/Page.d.ts +17 -0
  530. package/typings/vendor/js-viewer-core/components/DocumentViewer/SinglePageView.d.ts +30 -0
  531. package/typings/vendor/js-viewer-core/components/DocumentViewer/View.d.ts +15 -0
  532. package/typings/vendor/js-viewer-core/components/DocumentViewer/Zoomer.d.ts +12 -0
  533. package/typings/vendor/js-viewer-core/components/DocumentViewer/index.d.ts +3 -0
  534. package/typings/vendor/js-viewer-core/components/DocumentViewer/moveTool.d.ts +4 -0
  535. package/typings/vendor/js-viewer-core/components/DocumentViewer/state.d.ts +7 -0
  536. package/typings/vendor/js-viewer-core/components/DocumentViewer/types.d.ts +214 -0
  537. package/typings/vendor/js-viewer-core/components/DocumentViewer/zoomUtils.d.ts +26 -0
  538. package/typings/vendor/js-viewer-core/components/ErrorPanel/ErrorView.d.ts +26 -0
  539. package/typings/vendor/js-viewer-core/components/ErrorPanel/View.d.ts +22 -0
  540. package/typings/vendor/js-viewer-core/components/ErrorPanel/index.d.ts +3 -0
  541. package/typings/vendor/js-viewer-core/components/ErrorPanel/state.d.ts +4 -0
  542. package/typings/vendor/js-viewer-core/components/ErrorPanel/types.d.ts +21 -0
  543. package/typings/vendor/js-viewer-core/components/NotificationManager/NotificationManager.d.ts +19 -0
  544. package/typings/vendor/js-viewer-core/components/NotificationManager/index.d.ts +1 -0
  545. package/typings/vendor/js-viewer-core/components/PanelManager/MenuView.d.ts +32 -0
  546. package/typings/vendor/js-viewer-core/components/PanelManager/SideBarView.d.ts +39 -0
  547. package/typings/vendor/js-viewer-core/components/PanelManager/TopBottomPanelView.d.ts +9 -0
  548. package/typings/vendor/js-viewer-core/components/PanelManager/index.d.ts +5 -0
  549. package/typings/vendor/js-viewer-core/components/PanelManager/state.d.ts +13 -0
  550. package/typings/vendor/js-viewer-core/components/PanelManager/types.d.ts +47 -0
  551. package/typings/vendor/js-viewer-core/components/ProgressDialog/View.d.ts +19 -0
  552. package/typings/vendor/js-viewer-core/components/ProgressDialog/index.d.ts +3 -0
  553. package/typings/vendor/js-viewer-core/components/ProgressDialog/state.d.ts +4 -0
  554. package/typings/vendor/js-viewer-core/components/ProgressDialog/types.d.ts +26 -0
  555. package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/ThumbnailsPanel.d.ts +4 -0
  556. package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/index.d.ts +4 -0
  557. package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/state.d.ts +6 -0
  558. package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/types.d.ts +37 -0
  559. package/typings/vendor/js-viewer-core/components/Toolbar/Toolbar.d.ts +97 -0
  560. package/typings/vendor/js-viewer-core/components/Toolbar/controls/Zoom.d.ts +23 -0
  561. package/typings/vendor/js-viewer-core/components/Toolbar/index.d.ts +1 -0
  562. package/typings/vendor/js-viewer-core/components/index.d.ts +8 -0
  563. package/typings/vendor/js-viewer-core/components/utils.d.ts +6 -0
  564. package/typings/vendor/js-viewer-core/control/CancellationToken.d.ts +36 -0
  565. package/typings/vendor/js-viewer-core/control/EventFan.d.ts +35 -0
  566. package/typings/vendor/js-viewer-core/control/ReactStateBinder.d.ts +24 -0
  567. package/typings/vendor/js-viewer-core/control/ReportViewer.d.ts +227 -0
  568. package/typings/vendor/js-viewer-core/control/SessionState.d.ts +61 -0
  569. package/typings/vendor/js-viewer-core/control/Store.d.ts +37 -0
  570. package/typings/vendor/js-viewer-core/control/Toolbar.d.ts +53 -0
  571. package/typings/vendor/js-viewer-core/control/ViewerState.d.ts +67 -0
  572. package/typings/vendor/js-viewer-core/control/historyStore.d.ts +0 -0
  573. package/typings/vendor/js-viewer-core/control/index.d.ts +7 -0
  574. package/typings/vendor/js-viewer-core/features/search/SearchPanel.d.ts +21 -0
  575. package/typings/vendor/js-viewer-core/features/search/api.d.ts +18 -0
  576. package/typings/vendor/js-viewer-core/features/search/index.d.ts +8 -0
  577. package/typings/vendor/js-viewer-core/features/search/types.d.ts +117 -0
  578. package/typings/vendor/js-viewer-core/index.d.ts +6 -0
  579. package/typings/vendor/js-viewer-core/styles/svgIcons.d.ts +30 -0
  580. package/typings/vendor/react/global.d.ts +151 -0
  581. package/typings/vendor/react/react-dom.d.ts +100 -0
  582. package/typings/vendor/react/react.d.ts +3152 -0
@@ -0,0 +1,60 @@
1
+ import { RichMediaAnnotation } from "../Annotations/RichMediaAnnotation";
2
+ export declare function exitPictureInPictureMode(videoElement: HTMLVideoElement): Promise<void>;
3
+ export declare function requestPictureInPictureMode(videoElement: HTMLVideoElement): Promise<boolean>;
4
+ export declare class RichMediaAnnotationPlayer {
5
+ container: HTMLElement;
6
+ richMediaAnnotation: RichMediaAnnotation;
7
+ viewer: any;
8
+ private _initialized;
9
+ private _html5MediaElement;
10
+ private _unregisterViewerStateChange?;
11
+ private _intersectionObserver?;
12
+ private _audioOscilloscopeVisualizer?;
13
+ private _streamVideoElement?;
14
+ constructor(container: HTMLElement, richMediaAnnotation: RichMediaAnnotation, viewer: any);
15
+ get activationCondition(): "XA" | "PO" | "PV";
16
+ get deactivationCondition(): "XD" | "PC" | "PI";
17
+ get annotationPageIndex(): number;
18
+ get fileSpec(): {
19
+ content: Uint8Array;
20
+ filename: string;
21
+ };
22
+ get isFlash(): boolean;
23
+ get isMp3(): boolean;
24
+ get isAudio(): boolean;
25
+ get mimeType(): string;
26
+ get isWindowed(): boolean;
27
+ get lowerFileName(): string;
28
+ get paused(): boolean;
29
+ togglePlayback(): void;
30
+ play(): void;
31
+ protected get richMediaAnnotationElement(): HTMLElement | undefined;
32
+ protected onPlaybackStarted(): void;
33
+ protected onPlaybackStopped(): void;
34
+ get isPlaybackActivated(): boolean;
35
+ stop(): void;
36
+ pause(): void;
37
+ private onViewerStateChange;
38
+ get in17n(): any;
39
+ onContentClick(): void;
40
+ private initializeInternal;
41
+ showClickToActivateTooltip(): void;
42
+ hideClickToActivateTooltip(): void;
43
+ private pauseHtml5Media;
44
+ private stopHtml5Media;
45
+ private _ensureHtml5MediaElement;
46
+ onEnterPictureInPicture(): void;
47
+ onLeavePictureInPicture(): void;
48
+ private playHtml5Media;
49
+ private tryExitPipMode;
50
+ private removeCustomPiP;
51
+ private createCustomPiP;
52
+ private tryEnterPipMode;
53
+ private static stopSwf;
54
+ private static playSwf;
55
+ private static playSwfInternal;
56
+ private get isEditAnnotationsMode();
57
+ private disposeIfNecessary;
58
+ private disposeViewerStateChange;
59
+ private disposeIntersectionObserver;
60
+ }
@@ -0,0 +1,20 @@
1
+ export declare function scrollIntoView(element: HTMLElement, spot: {
2
+ left?: number;
3
+ top?: number;
4
+ }, skipOverflowHiddenElements?: boolean, parent?: any | null): void;
5
+ export declare class GcDebounceScroll {
6
+ state: {
7
+ down: boolean;
8
+ lastScrollTop: number;
9
+ };
10
+ private _debounceScrollHandler?;
11
+ private _requestAnimationFrame;
12
+ private _scrollContainer;
13
+ private _cancelUnhandledScrolls;
14
+ private _cancelledScrollValue;
15
+ constructor(scrollContainer: HTMLElement, callback: Function, restoreCancelledScrollCallback?: Function | null | undefined);
16
+ setScrollContainer(scrollContainer: any): void;
17
+ set cancelUnhandledScrolls(cancel: boolean);
18
+ get cancelUnhandledScrolls(): boolean;
19
+ destroy(): void;
20
+ }
@@ -0,0 +1,20 @@
1
+ export declare function isTextPartsOnTheSameLine(first: {
2
+ transform: number[];
3
+ dir: 'ltr' | 'rtl';
4
+ }, next: {
5
+ transform: number[];
6
+ dir: 'ltr' | 'rtl';
7
+ }): boolean;
8
+ declare const CharacterType: {
9
+ SPACE: number;
10
+ ALPHA_LETTER: number;
11
+ PUNCT: number;
12
+ HAN_LETTER: number;
13
+ KATAKANA_LETTER: number;
14
+ HIRAGANA_LETTER: number;
15
+ HALFWIDTH_KATAKANA_LETTER: number;
16
+ THAI_LETTER: number;
17
+ };
18
+ declare function normalize(text: any): any;
19
+ declare function getCharacterType(charCode: any): number;
20
+ export { CharacterType, getCharacterType, normalize };
@@ -0,0 +1,2 @@
1
+ export declare function getCaretPosition(contentEditableElement: HTMLElement, docOrShadowRoot?: Document | ShadowRoot): number;
2
+ export declare function setCaretPosition(contentEditableElement: HTMLElement, caretPos: number, docOrShadowRoot?: Document | ShadowRoot): void;
@@ -0,0 +1,17 @@
1
+ import { DataStorage } from "../DataStorage/DataStorage";
2
+ export declare class SharedRef {
3
+ viewer: any;
4
+ moment: any;
5
+ i18n: any;
6
+ static onViewerInitialize(viewer: any, moment: any): void;
7
+ static get(instanceId: string, getAny?: boolean): SharedRef;
8
+ static dispose(instanceId: string): void;
9
+ static get moment(): any;
10
+ static get i18n(): any;
11
+ static set i18n(i18n: any);
12
+ static get count(): number;
13
+ constructor(viewer: any, moment: any, i18n: any);
14
+ get storage(): DataStorage;
15
+ dispose(): void;
16
+ releaseResources(): void;
17
+ }
@@ -0,0 +1,15 @@
1
+ import PdfReportPlugin from "../plugin";
2
+ export declare class StampImagesAwaiter {
3
+ private plugin;
4
+ private _loadedImagesInfoHash;
5
+ constructor(plugin: PdfReportPlugin);
6
+ onAnnotationImageLoaded(info: {
7
+ id: string;
8
+ fileId: string;
9
+ fileName: string;
10
+ fileLength: number;
11
+ filePropName?: string;
12
+ }): void;
13
+ private _applyLoadedImagesInfo;
14
+ private setStampAnnotationFile;
15
+ }
@@ -0,0 +1,4 @@
1
+ import { SaveSettings } from "../Models/ViewerTypes";
2
+ import { ModificationsState } from "../SharedDocuments/types";
3
+ import { LocalDocumentModification } from "../SupportApi/LocalDocumentModification";
4
+ export declare function collectModifiedFiles(documentModification: LocalDocumentModification | ModificationsState, saveSettings?: SaveSettings): string[];
@@ -0,0 +1,6 @@
1
+ export declare function hideTooltipPopup(container: HTMLElement): void;
2
+ export declare function showTooltipPopup(container: HTMLElement, message: string, theme?: {
3
+ textColor?: string;
4
+ borderColor?: string;
5
+ backgroundColor?: string;
6
+ }, timeoutMs?: number): void;
@@ -0,0 +1,17 @@
1
+ export declare function findBaseScriptUrl(): string;
2
+ export declare function makeAbsoluteUrl(relativeUrl: string, baseUrl?: string): string;
3
+ export declare function getFilenameFromUrl(url: string): string;
4
+ export declare function removeNullCharacters(str: any): any;
5
+ export declare enum LinkTarget {
6
+ NONE = 0,
7
+ SELF = 1,
8
+ BLANK = 2,
9
+ PARENT = 3,
10
+ TOP = 4
11
+ }
12
+ export declare function addLinkAttributes(link: HTMLAnchorElement, params: {
13
+ url: string;
14
+ target: LinkTarget;
15
+ rel: string;
16
+ }): void;
17
+ export declare function createObjectURL(data: any, contentType: string, forceDataSchema?: boolean): string;
@@ -0,0 +1,68 @@
1
+ import { AnnotationBase, StampAnnotation } from "../Annotations/AnnotationTypes";
2
+ import { DataStorage } from "../DataStorage/DataStorage";
3
+ import { SharedRef } from "./SharedRef";
4
+ export declare function generateUid(caller?: string): string;
5
+ export declare function updateInitialRectPosition(annotation: AnnotationBase, newXY?: number[]): void;
6
+ export declare function resetStampAspectRatio(imageData: Uint8Array, viewer: any, pageIndex: number, originalNode: StampAnnotation, imageDpi?: number, select?: boolean): Promise<{
7
+ pageIndex: number;
8
+ annotation: AnnotationBase;
9
+ } | null>;
10
+ export declare function isTypedArray(arr: any): boolean;
11
+ export declare function mergeObject(destinationObj: any, sourceVal: any, preserveNonEmpty?: boolean, copyUndefined?: boolean): any;
12
+ export declare function cloneObject(obj: any): any;
13
+ export declare function getTransformMatrix(viewBox: number[], rotation: number, scaleX: number, scaleY: number, ignoreRotate?: boolean): number[];
14
+ export declare function adjustCoordinates(realViewBox: number[], point: number[], rotation: number, inverse?: boolean, fromBottomLeft?: boolean, scale?: number): number[];
15
+ export declare function getAxialAlignedBoundingBox(r: any, m: any): number[];
16
+ export declare function applyTransform(p: number[], m: number[]): number[];
17
+ export declare function applyInverseTransform(p: number[], m: number[]): number[];
18
+ export declare function inverseTransform(m: number[]): number[];
19
+ export declare function convertToViewportPoint(x: number, y: number, transform: number[]): number[];
20
+ export declare function convertToPdfPoint(x: number, y: number, transform: number[]): number[];
21
+ export declare function changeRectangleOrigin(bounds: number[], viewBox: number[], destOrigin?: 'TopLeft' | 'BottomLeft', normalize?: boolean): number[];
22
+ export declare function changeOriginToBottom(top: number, view: number[]): number;
23
+ export declare function changeOriginToTop(bottom: number, view: number[]): number;
24
+ export declare function pdfDateStringToDate(input?: string | Date): Date | null;
25
+ export declare function formatRelativeDate(date: Date | null, in17n: any): any;
26
+ export declare function humanReadableFileSize(size: number, in17n: any): string;
27
+ export declare function getDefaultUserName(): string;
28
+ export declare function getActiveUserName(options?: any): string;
29
+ export declare function setActiveUserName(userName: string, setBy: 'annotation_editor' | 'user'): void;
30
+ export declare function attachHeadJs(src: string, id?: string, ownerDoc?: ShadowRoot | Document): Promise<any>;
31
+ export declare function stripHtmlTags(s: any): string;
32
+ export declare function cleanseRichText(text?: string): string;
33
+ export declare function attachHeadCss(css: any, id?: string, ownerDoc?: ShadowRoot | Document): void;
34
+ export declare function detachHeadJs(id: string, ownerDoc?: ShadowRoot | Document): void;
35
+ export declare function detachHeadCss(id: string, ownerDoc?: ShadowRoot | Document): void;
36
+ export declare function moveInkLists(inkLists: {
37
+ x: number;
38
+ y: number;
39
+ }[][], deltaX: number, deltaY: number): void;
40
+ export declare function getAccentTextColor(): string;
41
+ export declare function sortedIndex(array: number[], value: number): number;
42
+ export declare function isEditorModeEnabled(container: HTMLElement): boolean;
43
+ export declare function logMessage(msg: string): void;
44
+ export declare function logError(msg: any): void;
45
+ export declare function setInputCheckedState(element: HTMLInputElement, isChecked: boolean, linkService: any, fieldValue: string): void;
46
+ export declare function updateInputCheckedAppearance(input: HTMLInputElement, isChecked?: boolean, checkedButtonValue?: string | null): void;
47
+ export declare function updateAnnotationContentPosition(node: AnnotationBase, diffx?: number, diffy?: number): void;
48
+ export declare function clearAnnotationRotate(contentElement: HTMLElement): void;
49
+ export declare function applyAnnotationRotate2(contentElement: HTMLElement, data: AnnotationBase, force?: boolean): void;
50
+ export declare function applyAnnotationRotate(contentElement: HTMLElement, data: AnnotationBase, force?: boolean): void;
51
+ export declare function insertFirst(parent: HTMLElement, insertElem: HTMLElement): void;
52
+ export declare function initAnnotationRotateSupport(container: HTMLElement, data: AnnotationBase, element: HTMLElement | string): void;
53
+ export declare function calcRotationRectangles(node: AnnotationBase, rotationAngle: number, knownInitialRect?: number[]): void;
54
+ export declare function findRotationInit(rect: number[], angleDeg: number): number[];
55
+ export declare function updateRotationInit(annotation: AnnotationBase): void;
56
+ export declare function isAnnotationAllowsSelectTextBehind(annotationElement?: HTMLElement | null): boolean;
57
+ export declare function getStandardizedLanguageKey(lng: string | undefined, fallbackLng?: string | undefined): string;
58
+ export declare function injectSerializableFile(annotation: AnnotationBase, storage: DataStorage, filePrefix?: string): void;
59
+ export declare function generateRichMediaPoster(annotation: AnnotationBase, sharedRef: SharedRef, args?: {
60
+ filePropName?: "posterFile" | "file";
61
+ knownFileId?: string;
62
+ width?: number;
63
+ height?: number;
64
+ foreColor?: string;
65
+ backColor?: string;
66
+ drawBackOnly?: boolean;
67
+ }): Promise<void>;
68
+ export declare function setImageFileFromCanvas(canvas: HTMLCanvasElement, annotation: AnnotationBase, sharedRef: SharedRef, filePropName?: "posterFile" | "file", disposeCanvas?: boolean, knownFileId?: string | undefined): Promise<void>;
@@ -0,0 +1 @@
1
+ export { findSelfOrAncestor, findElementIndex, getEventTarget, classListContains } from './DomUtils';
@@ -0,0 +1,316 @@
1
+ import { WidgetAnnotation, GcProps, LineAnnotation, CircleAnnotation, SquareAnnotation, RedactAnnotation, TextAnnotation, InkAnnotation, PolyLineAnnotation, PolygonAnnotation, FreeTextAnnotation, FileAttachmentAnnotation, SoundAnnotation, ButtonWidget, ChoiceWidget, TextWidget, StampAnnotation, AnnotationBase, SignatureAnnotation, LinkAnnotation, PopupAnnotation, HighlightAnnotation, UnderlineAnnotation, SquigglyAnnotation, StrikeOutAnnotation, AnnotationTypeName } from "./Annotations/AnnotationTypes";
2
+ import { RichMediaAnnotation } from "./Annotations/RichMediaAnnotation";
3
+ import { ValidationCallerType } from "./FormFiller/types";
4
+ import { DocumentListItem, FieldAppearanceRenderingType, JsExecutionConfig, KeyboardShortcutDefinition, OpenParameters, OptionalContentConfig, StampCategory, ViewerFeatureName } from "./Models/ViewerTypes";
5
+ import { LogLevel } from "./SharedDocuments/types";
6
+ import { ISupportApiBase } from "./SupportApi/ISupportApiBase";
7
+ export type ReplyToolSettings = {
8
+ readOnly?: boolean;
9
+ allowAddNote?: boolean;
10
+ allowChangeUserName?: boolean;
11
+ allowAddReply?: boolean;
12
+ allowDelete?: boolean;
13
+ allowStatus?: boolean;
14
+ allowChangeOtherUser?: boolean;
15
+ allowDeleteOtherUser?: boolean;
16
+ allowStatusOtherUser?: boolean;
17
+ allowAddReplyOtherUser?: boolean;
18
+ autoExpandOnCommentAdd?: boolean;
19
+ annotationFocusColor?: string;
20
+ useColoredIcons?: boolean;
21
+ };
22
+ export type SupportApiSettings = {
23
+ apiUrl: string;
24
+ implementation: ISupportApiBase;
25
+ token?: string;
26
+ legacyServer?: boolean;
27
+ requestInit?: RequestInit;
28
+ webSocketUrl?: string | false;
29
+ reconnectInterval?: number;
30
+ suppressInfoMessages?: boolean;
31
+ suppressErrorMessages?: boolean;
32
+ docBaseUrl?: string;
33
+ };
34
+ export type TextMarkupContextMenuSettings = {
35
+ colors: {
36
+ value: string;
37
+ displayName: string;
38
+ }[] | {
39
+ "highlight": {
40
+ value: string;
41
+ displayName: string;
42
+ }[];
43
+ "underline": {
44
+ value: string;
45
+ displayName: string;
46
+ }[];
47
+ "strikeout": {
48
+ value: string;
49
+ displayName: string;
50
+ }[];
51
+ "squiggly": {
52
+ value: string;
53
+ displayName: string;
54
+ }[];
55
+ } | false;
56
+ };
57
+ export declare class ViewerOptions {
58
+ constructor(options?: Partial<ViewerOptions>);
59
+ customIcons?: {
60
+ [iconKey: string]: Element | string;
61
+ };
62
+ disableHistory: boolean;
63
+ editorDefaults: {
64
+ fontNames?: {
65
+ value: string;
66
+ name: string;
67
+ }[];
68
+ hideFloatingBar?: boolean;
69
+ rememberLastValues?: boolean;
70
+ lastValueKeys?: string[];
71
+ printResolution?: number;
72
+ resizeHandleSize?: number;
73
+ moveHandleSize?: number;
74
+ dotHandleSize?: number;
75
+ standardFontDataUrl?: string;
76
+ stickyNote: {
77
+ color?: string;
78
+ contents?: string;
79
+ };
80
+ lineAnnotation?: Partial<LineAnnotation>;
81
+ circleAnnotation?: Partial<CircleAnnotation>;
82
+ squareAnnotation?: Partial<SquareAnnotation>;
83
+ linkAnnotation?: Partial<LinkAnnotation>;
84
+ redactAnnotation?: Partial<RedactAnnotation>;
85
+ inkAnnotation?: Partial<InkAnnotation>;
86
+ polyLineAnnotation?: Partial<PolyLineAnnotation>;
87
+ polygonAnnotation?: Partial<PolygonAnnotation>;
88
+ textAnnotation?: Partial<TextAnnotation>;
89
+ freeTextAnnotation?: Partial<FreeTextAnnotation>;
90
+ fileAttachmentAnnotation?: Partial<FileAttachmentAnnotation>;
91
+ richMediaAnnotation?: Partial<RichMediaAnnotation>;
92
+ soundAnnotation?: Partial<SoundAnnotation>;
93
+ stampAnnotation?: Partial<StampAnnotation>;
94
+ highlightAnnotation?: Partial<HighlightAnnotation>;
95
+ underlineAnnotation?: Partial<UnderlineAnnotation>;
96
+ squigglyAnnotation?: Partial<SquigglyAnnotation>;
97
+ strikeOutAnnotation?: Partial<StrikeOutAnnotation>;
98
+ popupAnnotation?: Partial<PopupAnnotation>;
99
+ checkBoxButton?: Partial<ButtonWidget>;
100
+ radioButton?: Partial<ButtonWidget>;
101
+ pushButton?: Partial<ButtonWidget>;
102
+ resetButton?: Partial<ButtonWidget>;
103
+ submitButton?: Partial<ButtonWidget>;
104
+ comboChoice?: Partial<ChoiceWidget>;
105
+ listBoxChoice?: Partial<ChoiceWidget>;
106
+ passwordField?: Partial<TextWidget>;
107
+ textArea?: Partial<TextWidget>;
108
+ textField?: Partial<TextWidget>;
109
+ signatureField?: Partial<SignatureAnnotation>;
110
+ combTextField?: Partial<TextWidget>;
111
+ };
112
+ allowedTools: {
113
+ viewer?: 'all' | 'annotations' | 'fields' | string[];
114
+ annotationEditor?: 'all' | 'annotations' | 'fields' | string[];
115
+ formEditor?: 'all' | 'annotations' | 'fields' | string[];
116
+ };
117
+ fieldsAppearance: {
118
+ radioButton?: FieldAppearanceRenderingType;
119
+ checkBoxButton?: FieldAppearanceRenderingType;
120
+ pushButton?: FieldAppearanceRenderingType;
121
+ };
122
+ lockOpenTimeout: number;
123
+ snapAlignment: true | false | {
124
+ tolerance: number | {
125
+ horizontal: number | false;
126
+ vertical: number | false;
127
+ };
128
+ margin: false | true | number | {
129
+ horizontal: number | boolean;
130
+ vertical: number | boolean;
131
+ };
132
+ center: false | true | {
133
+ horizontal: boolean;
134
+ vertical: boolean;
135
+ };
136
+ };
137
+ useNativeContextMenu: boolean;
138
+ onBeforeOpenContextMenu?: Function;
139
+ onBeforeCloseContextMenu?: Function;
140
+ showContextMenuOnSelection?: "Auto" | "On" | "Off" | boolean;
141
+ textMarkupContextMenu?: TextMarkupContextMenuSettings | false;
142
+ optionalContentConfig?: OptionalContentConfig;
143
+ replyTool?: ReplyToolSettings;
144
+ userName?: string;
145
+ baseUrl?: string;
146
+ buttons?: string[] | "all" | 'none';
147
+ caret?: true | false | {
148
+ caretBlinkTime: number;
149
+ caretStopBlinkTime: number;
150
+ color: string;
151
+ width: number;
152
+ allowForPan: boolean;
153
+ };
154
+ sharing?: {
155
+ disallowUnknownUsers?: boolean;
156
+ knownUserNames?: string[];
157
+ presenceColors?: {
158
+ [userName: string]: string;
159
+ };
160
+ presenceMode: 'on' | 'others' | 'off' | true | false;
161
+ };
162
+ coordinatesPrecision: number;
163
+ coordinatesOrigin?: 'TopLeft' | 'BottomLeft';
164
+ disableFeatures?: ViewerFeatureName[];
165
+ ignoreInitialView?: boolean;
166
+ disablePageLabels?: boolean;
167
+ externalLinkTarget?: 'blank' | 'self' | 'parent' | 'top' | 'none';
168
+ formFiller?: FormFillerSettings;
169
+ jsExecutionConfig?: JsExecutionConfig;
170
+ pdfOrganizer?: PdfOrganizerSettings;
171
+ enableXfa?: boolean;
172
+ secondToolbar?: {
173
+ render?: (toolbarKey: string) => any[] | null;
174
+ };
175
+ signTool?: SignToolSettings;
176
+ language?: 'en' | string;
177
+ maxCanvasPixels?: number;
178
+ userData: any;
179
+ useFloatingSearchBar: boolean;
180
+ useCanvasForSelection: any;
181
+ renderInteractiveForms: boolean;
182
+ keepFileData: boolean;
183
+ renderer: 'canvas' | 'svg';
184
+ friendlyFileName?: string;
185
+ file?: string | any;
186
+ onInitialized?: (viewer: any) => void;
187
+ openParameters?: OpenParameters;
188
+ password: string;
189
+ supportApiPassword?: string;
190
+ restoreViewStateOnLoad?: false | true | {
191
+ trackViewMode?: boolean;
192
+ trackMouseMode?: boolean;
193
+ trackScale?: boolean;
194
+ trackPageRotation?: boolean;
195
+ trackFullScreen?: boolean;
196
+ trackTheme?: boolean;
197
+ trackSidebar?: boolean;
198
+ trackSidebarWidth?: boolean;
199
+ trackFile?: boolean;
200
+ };
201
+ documentListUrl: string | DocumentListItem[];
202
+ workerSrc: string;
203
+ zoomOptions?: {
204
+ minZoom?: number;
205
+ maxZoom?: number;
206
+ dropdownZoomFactorValues?: number[];
207
+ };
208
+ zoomByMouseWheel: {
209
+ always: boolean;
210
+ ctrlKey: boolean;
211
+ metaKey: boolean;
212
+ };
213
+ theme: string | false;
214
+ themes: string[];
215
+ requireTheme?: "light" | "dark" | "viewer" | "light-blue" | "themes/dark-yellow" | "gc-blue" | null;
216
+ hideAnnotationPopups?: AnnotationTypeName | 'All' | 'None' | boolean;
217
+ hideAnnotationTypes?: AnnotationTypeName[] | 'All' | 'None' | boolean;
218
+ cMapUrl?: string;
219
+ cMapPacked?: boolean;
220
+ stamp: {
221
+ dpi?: number;
222
+ stampCategories?: StampCategory[] | boolean;
223
+ selectedImageUrl?: string;
224
+ };
225
+ supportApi?: string | SupportApiSettings;
226
+ logLevel?: LogLevel;
227
+ shortcuts: {
228
+ [keyCode: string]: KeyboardShortcutDefinition | KeyboardShortcutDefinition[];
229
+ };
230
+ }
231
+ export type RulerLine = {
232
+ color?: string;
233
+ position?: number;
234
+ size?: number;
235
+ type?: 'solid' | 'dashed';
236
+ };
237
+ export type InputFieldMapping = {
238
+ hidden?: boolean;
239
+ nolabel?: boolean;
240
+ orderindex?: number;
241
+ rowcustomcss?: string;
242
+ validator?: (fieldValue: string | string[], field: WidgetAnnotation, args: {
243
+ caller: ValidationCallerType;
244
+ }) => boolean | string;
245
+ };
246
+ export type FormFieldMapping = InputFieldMapping & GcProps;
247
+ export type SignToolSettings = {
248
+ dialogLocation?: 'Center' | 'Top' | 'Right' | 'Bottom' | 'Left' | {
249
+ x: number;
250
+ y: number;
251
+ };
252
+ hideTabs?: boolean;
253
+ hideToolbar?: boolean;
254
+ hideDialogTitle?: boolean;
255
+ hideSaveSignature?: boolean;
256
+ hideDialogFooter?: boolean;
257
+ tabs?: ('Type' | 'Draw' | 'Image')[];
258
+ selectedTab?: 'Type' | 'Draw' | 'Image';
259
+ title?: string;
260
+ penColor?: string;
261
+ penWidth?: number;
262
+ text?: string;
263
+ textColor?: string;
264
+ fontSize?: number;
265
+ fontName?: string;
266
+ fontNames?: string[];
267
+ italic?: boolean;
268
+ bold?: boolean;
269
+ hasImage?: boolean;
270
+ saveSignature?: boolean;
271
+ annotationType?: 'stamp' | 'signature';
272
+ convertToContent?: boolean;
273
+ subject?: string;
274
+ pageIndex?: number;
275
+ canvasSize?: {
276
+ width: number;
277
+ height: number;
278
+ };
279
+ autoResizeCanvas?: boolean;
280
+ location?: 'Center' | 'Top' | 'Right' | 'Bottom' | 'Left' | 'TopLeft' | 'TopRight' | 'BottomRight' | 'BottomLeft' | {
281
+ x: number;
282
+ y: number;
283
+ };
284
+ destinationScale?: number;
285
+ ruler?: {
286
+ Draw: RulerLine[] | false;
287
+ Type: RulerLine[] | false;
288
+ Image: RulerLine[] | false;
289
+ } | false;
290
+ beforeShow?: (signatureDialog: any) => boolean;
291
+ afterShow?: (signatureDialog: any) => void;
292
+ beforeAdd?: (activeTool: any, signatureDialog: any) => boolean;
293
+ afterAdd?: (result: {
294
+ pageIndex: number;
295
+ annotation: AnnotationBase;
296
+ }) => void;
297
+ beforeHide?: (signatureDialog: any) => boolean;
298
+ };
299
+ export type FormFillerSettings = {
300
+ applyAfterFailedValidation?: 'confirm' | 'reject' | 'apply' | Function;
301
+ layout?: 'Auto' | 'OneColumn' | 'TwoColumns';
302
+ title?: string;
303
+ validator?: (fieldValue: string | string[], field: WidgetAnnotation, args: {
304
+ caller: ValidationCallerType;
305
+ }) => boolean | string;
306
+ onInitialize?: (formFiller: any) => void;
307
+ beforeApplyChanges?: (formFiller: any) => boolean;
308
+ beforeFieldChange?: (field: WidgetAnnotation, formFiller: any) => boolean;
309
+ mappings: {
310
+ [fieldName: string]: FormFieldMapping;
311
+ };
312
+ };
313
+ export type PdfOrganizerSettings = {
314
+ layout?: 'Auto' | 'OneColumn' | 'TwoColumns';
315
+ title?: string;
316
+ };
@@ -0,0 +1,19 @@
1
+ import GcPdfViewer from "../GcPdfViewer";
2
+ import { XfaForm } from "./XfaForm";
3
+ import { XfaNode } from "./XfaNode";
4
+ export declare class XfaApiImpl {
5
+ viewer: GcPdfViewer;
6
+ private _form;
7
+ constructor(viewer: GcPdfViewer);
8
+ get host(): XfaApiImpl;
9
+ get form(): XfaForm;
10
+ get soPrintFunctions(): any;
11
+ resolveNode(nodeName: string): XfaNode;
12
+ alert(cMsg: string | any, nIcon?: number, nType?: number, cTitle?: string, oDoc?: any, oCheckbox?: any): number;
13
+ messageBox(cMsg: string | any, nIcon?: number, nType?: number, cTitle?: string, oDoc?: any, oCheckbox?: any): number;
14
+ print(): void;
15
+ resetData(): void;
16
+ setFocus(xfaNode: XfaNode): void;
17
+ beep(param: number): void;
18
+ execMenuItem(menuItem: string): Promise<any>;
19
+ }
@@ -0,0 +1,7 @@
1
+ import GcPdfViewer from "..";
2
+ export declare class XfaForm {
3
+ viewer: GcPdfViewer;
4
+ constructor(viewer: GcPdfViewer);
5
+ recalculate: (arg: any) => {};
6
+ execInitialize: () => {};
7
+ }
@@ -0,0 +1,5 @@
1
+ export declare class XfaNode {
2
+ name: string;
3
+ rawValue: string;
4
+ constructor(name: string, rawValue: string);
5
+ }
@@ -0,0 +1,15 @@
1
+ import 'whatwg-fetch';
2
+ export type TypedResponse<T> = {
3
+ ok: true;
4
+ status: number;
5
+ response: T;
6
+ } | {
7
+ ok: false;
8
+ requestError: string;
9
+ };
10
+ export type IHttpClient = {
11
+ getJson: <TR>(uri: string) => Promise<TypedResponse<TR>>;
12
+ postJson: <TR>(uri: string, data: unknown) => Promise<TypedResponse<TR>>;
13
+ getText: (uri: string) => Promise<TypedResponse<string>>;
14
+ };
15
+ export declare function createHttpClient(baseUri: string, authToken: string): IHttpClient;
@@ -0,0 +1,10 @@
1
+ import 'core-js/es/set';
2
+ import 'core-js/es/map';
3
+ import 'core-js/web/';
4
+ import 'blob-polyfill';
5
+ import { GcPdfViewer } from './GcPdfViewer';
6
+ export { GcPdfViewer };
7
+ export { ViewerOptions } from './ViewerOptions';
8
+ import { DsPdfViewer } from './DsPdfViewer';
9
+ export { DsPdfViewer };
10
+ export default GcPdfViewer;