@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,11 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ //@ts-ignore
6
+ import { ComboBox } from '@grapecity/core-ui';
7
+ export declare class ChoiceControl extends ControlBase {
8
+ _comboBoxRef: ComboBox | null;
9
+ render(): React.JSX.Element;
10
+ getDisplayValue(fieldValue: string | string[]): string;
11
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class CombTextControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,32 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import { Component } from 'react';
4
+ import { FieldRowProps } from '../FieldRow';
5
+ import { GcProps, WidgetAnnotation } from '../../Annotations/AnnotationTypes';
6
+ import { FormFieldMapping } from '../../ViewerOptions';
7
+ export type ControlBaseProps = {
8
+ gcProps: GcProps;
9
+ title: string;
10
+ } & FieldRowProps;
11
+ export type CommonInputProperties = {
12
+ key: string;
13
+ name: string;
14
+ disabled: boolean;
15
+ inputmode?: string;
16
+ placeholder: string;
17
+ value: any;
18
+ title: string;
19
+ autocomplete?: string;
20
+ readOnly?: boolean;
21
+ pattern?: string;
22
+ min?: any;
23
+ max?: any;
24
+ maxLength?: number;
25
+ minLength?: number;
26
+ spellCheck?: 'true' | 'false';
27
+ };
28
+ export declare class ControlBase extends Component<ControlBaseProps, any> {
29
+ onFieldValueChange(newValue: string | string[]): void;
30
+ getCommonProps(): CommonInputProperties;
31
+ getPlaceholder(field: WidgetAnnotation, mappingSettings?: FormFieldMapping): string;
32
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class DateTimeControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,18 @@
1
+ export declare class DateTimeHelper {
2
+ inputValue: string;
3
+ type?: string | undefined;
4
+ isEmpty: boolean;
5
+ isValid: boolean;
6
+ private hasTime;
7
+ private timeOnly;
8
+ constructor(inputValue: string, type?: string | undefined);
9
+ get pickerMode(): 'date' | 'date-time' | undefined;
10
+ get placeholder(): string;
11
+ get dateFormat(): string | undefined;
12
+ get timeFormat(): string | undefined;
13
+ setValue(changedValue: string | any): void;
14
+ get valueFormat(): string;
15
+ private setValueInternal;
16
+ get fieldValue(): string;
17
+ get displayValue(): string;
18
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class EmailControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class PasswordControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class RadioControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class SearchControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class TelControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class TextControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference path="../../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React from 'react';
4
+ import { ControlBase } from './ControlBase';
5
+ export declare class UrlControl extends ControlBase {
6
+ render(): React.JSX.Element;
7
+ }
@@ -0,0 +1,27 @@
1
+ /// <reference path="../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React, { Component } from 'react';
4
+ import { WidgetAnnotation } from '../Annotations/AnnotationTypes';
5
+ import { FieldValidationResult, FieldMappingStub } from './types';
6
+ import { FormFieldMapping } from '../ViewerOptions';
7
+ /// <reference path="../vendor/i18next.d.ts" />
8
+ //@ts-ignore
9
+ import { i18n } from 'i18next';
10
+ export type FieldRowProps = {
11
+ field: WidgetAnnotation | FieldMappingStub;
12
+ isFieldDirty: boolean;
13
+ validationResult?: FieldValidationResult;
14
+ gcProps?: FormFieldMapping;
15
+ commonValidator?: (fieldValue: string | string[], field: WidgetAnnotation, args: {
16
+ caller: 'form-filler' | 'annotation-layer';
17
+ }) => boolean | string;
18
+ enabled: boolean;
19
+ in17n: i18n;
20
+ onChanged: (field: WidgetAnnotation) => void;
21
+ };
22
+ export declare class FieldRow extends Component<FieldRowProps, any> {
23
+ render(): React.JSX.Element;
24
+ renderFieldControl(title: string, nolabel: boolean, displayNameElements: JSX.Element[]): JSX.Element | JSX.Element[] | null;
25
+ getFieldTitle(field: WidgetAnnotation, mapping?: FormFieldMapping): string;
26
+ getFieldDisplayName(field: WidgetAnnotation, mapping?: FormFieldMapping): string;
27
+ }
@@ -0,0 +1,32 @@
1
+ /// <reference path="../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React, { Component } from 'react';
4
+ import { WidgetAnnotation, ButtonWidget } from "../Annotations/AnnotationTypes";
5
+ import { FormFillerProps, FormFillerModel, FieldMappingStub } from './types';
6
+ import { FormFieldMapping } from '../ViewerOptions';
7
+ export declare class FormFiller extends Component<FormFillerProps, FormFillerModel> {
8
+ private _mounted;
9
+ private _outerElement;
10
+ private _pendingInvalidFocus;
11
+ private _autofocusFieldId?;
12
+ private _pendingAutofocus;
13
+ constructor(props: FormFillerProps, state: any);
14
+ componentDidMount(): void;
15
+ componentWillUnmount(): void;
16
+ componentDidUpdate(): void;
17
+ showValidationMessages(): void;
18
+ render(): React.JSX.Element;
19
+ readInitialFieldsState(): FormFillerModel;
20
+ createFieldStub(fieldName: string, mapping: FormFieldMapping): FieldMappingStub;
21
+ reset(): void;
22
+ get isMounted(): boolean;
23
+ raiseOnInitialize(): void;
24
+ getFieldByName(fieldName: string): (WidgetAnnotation | FieldMappingStub) | undefined;
25
+ onFieldChanged(changedField: WidgetAnnotation): void;
26
+ onBeforeRadioButtonChange(radioButton: ButtonWidget, changedFields: WidgetAnnotation[]): boolean;
27
+ validateFields(): boolean;
28
+ autoFocus(): void;
29
+ private _autoFocus;
30
+ private _focusInvalid;
31
+ private _focusFieldControl;
32
+ }
@@ -0,0 +1,28 @@
1
+ /// <reference path="../vendor/react/react.d.ts" />
2
+ //@ts-ignore
3
+ import React, { Component } from 'react';
4
+ import { FormFillerDialogProps, FormFillerDialogModel } from "./types";
5
+ import GcPdfViewer from "..";
6
+ /// <reference path="../vendor/i18next.d.ts" />
7
+ //@ts-ignore
8
+ import { i18n } from 'i18next';
9
+ export declare class FormFillerDialog extends Component<FormFillerDialogProps, FormFillerDialogModel> {
10
+ private _hidePromise?;
11
+ private _resolve?;
12
+ private _viewer;
13
+ state: {
14
+ enabled: boolean;
15
+ showModal: boolean;
16
+ fields: any;
17
+ isChanged: boolean;
18
+ };
19
+ private _dirtyHash;
20
+ private _formFiller;
21
+ show(viewer: GcPdfViewer): Promise<void>;
22
+ loadFormFields(): void;
23
+ onApply(): void;
24
+ hide(): void;
25
+ render(): React.JSX.Element;
26
+ private _resolveHidePromise;
27
+ get in17n(): i18n;
28
+ }
@@ -0,0 +1,9 @@
1
+ import { WidgetAnnotation } from "../Annotations/AnnotationTypes";
2
+ import { FieldValidationResult, ValidationCallerType } from "./types";
3
+ import { FormFieldMapping } from "../ViewerOptions";
4
+ export declare function validateField(caller: ValidationCallerType, field: WidgetAnnotation, in17n?: any, mappingSettings?: FormFieldMapping, commonValidator?: (fieldValue: string | string[], field: WidgetAnnotation, args: {
5
+ caller: ValidationCallerType;
6
+ }) => boolean | string, ignoreValidationAttrs?: boolean): FieldValidationResult;
7
+ export declare function validateAnnotationLayerField(annotationSection: HTMLElement, data: WidgetAnnotation, linkService: any, commonValidator?: (fieldValue: string | string[], field: WidgetAnnotation, args: {
8
+ caller: ValidationCallerType;
9
+ }) => boolean | string, silent?: boolean, ignoreValidationAttrs?: boolean, caller?: ValidationCallerType): FieldValidationResult;
@@ -0,0 +1,48 @@
1
+ import { WidgetAnnotation, GcProps, AnnotationTypeCode } from "../Annotations/AnnotationTypes";
2
+ import { FormFillerSettings, FormFieldMapping } from "../ViewerOptions";
3
+ export type FieldValidationResult = {
4
+ valid: boolean;
5
+ invalidLabel?: string;
6
+ };
7
+ export type ValidationCallerType = 'form-filler' | 'annotation-layer' | 'user-code' | 'unknown';
8
+ export type FormFillerDialogModel = {
9
+ enabled: boolean;
10
+ showModal: boolean;
11
+ fields: {
12
+ pageNumber: number;
13
+ annotation: WidgetAnnotation;
14
+ }[] | null;
15
+ isChanged: boolean;
16
+ };
17
+ export type FormFillerDialogProps = {};
18
+ export type FormFillerModel = {
19
+ fields: (WidgetAnnotation | FieldMappingStub)[];
20
+ dirtyHash: {
21
+ [fieldId: string]: WidgetAnnotation | undefined;
22
+ };
23
+ failedValidationHash: {
24
+ [fieldId: string]: FieldValidationResult | undefined;
25
+ };
26
+ anyFieldChanged: boolean;
27
+ };
28
+ export type FormFillerProps = {
29
+ fields: {
30
+ pageNumber: number;
31
+ annotation: WidgetAnnotation;
32
+ }[];
33
+ enabled: boolean;
34
+ settings?: FormFillerSettings;
35
+ in17n: any;
36
+ onChanged: (dirtyHash: {
37
+ [fieldId: string]: WidgetAnnotation | undefined;
38
+ }) => void;
39
+ };
40
+ export type FieldMappingStub = {
41
+ id: string;
42
+ fieldName: string;
43
+ fieldValue: string;
44
+ fieldType: 'custom-content';
45
+ mapping: FormFieldMapping;
46
+ gcProps: GcProps;
47
+ annotationType: AnnotationTypeCode;
48
+ };
@@ -0,0 +1,65 @@
1
+ //@ts-ignore
2
+ import { PluginModel } from "@grapecity/viewer-core";
3
+ import { IHttpClient } from './httpClient';
4
+ import { GcPdfSearcher } from './Search/GcPdfSearcher';
5
+ import { GcPdfPrintService } from './Print/GcPdfPrintService';
6
+ import { FileAttachmentAnnotation } from "./Annotations/AnnotationTypes";
7
+ import GcPdfViewer from ".";
8
+ import { OpenParameters } from "./Models/ViewerTypes";
9
+ export type ParameterInfo = {
10
+ Name: string;
11
+ Omit?: boolean;
12
+ Value: string;
13
+ };
14
+ export type InteractivityAction = {
15
+ Type: 'toggle';
16
+ Data: string;
17
+ } | {
18
+ Type: 'sort';
19
+ Data: string;
20
+ };
21
+ export type DrillthroughAction = {
22
+ Type: 'drillthrough';
23
+ Target: string;
24
+ Parameters: ParameterInfo[];
25
+ };
26
+ export declare class GcPdfDocument implements PluginModel.IDocument {
27
+ readonly viewer: GcPdfViewer;
28
+ readonly docViewer: any;
29
+ readonly fileDataOrUrl: any;
30
+ readonly http: IHttpClient;
31
+ readonly _searcher: GcPdfSearcher;
32
+ readonly _openParameters?: OpenParameters | undefined;
33
+ private _attachmentsStore;
34
+ private _pdfDocument;
35
+ private _interactivityActions;
36
+ private _documentView;
37
+ private _printService;
38
+ private _openDocPromise;
39
+ private _sink;
40
+ constructor(viewer: GcPdfViewer, docViewer: any, fileDataOrUrl: any, http: IHttpClient, _searcher: GcPdfSearcher, _openParameters?: OpenParameters | undefined);
41
+ cleanup(): Promise<void>;
42
+ canView: () => boolean;
43
+ get fileData(): Uint8Array;
44
+ storeInteractivity: (it: InteractivityAction[]) => number;
45
+ get storeI11yPos(): number;
46
+ truncateInteractivityStore(pos: number): void;
47
+ newPage(params?: {
48
+ width?: number;
49
+ height?: number;
50
+ pageIndex?: number;
51
+ }): Promise<void>;
52
+ deletePage(pageIndex?: number): Promise<void>;
53
+ raiseDocumentViewComplete(): void;
54
+ createView: (baseView: PluginModel.IDocumentView | null, sink: PluginModel.IRunEventsSink) => Promise<PluginModel.IDocumentView | undefined>;
55
+ get attachmentsStore(): any;
56
+ updateView: (view: PluginModel.IDocumentView, sink: PluginModel.IRunEventsSink) => Promise<PluginModel.IDocumentView>;
57
+ get printService(): GcPdfPrintService;
58
+ print(): void;
59
+ private loadAttachments;
60
+ setAttachments(attachments: FileAttachmentAnnotation[]): void;
61
+ appendAttachment(attachment: FileAttachmentAnnotation): void;
62
+ private getArticles;
63
+ private getOutline;
64
+ private _fillOutlineTree;
65
+ }
@@ -0,0 +1,22 @@
1
+ //@ts-ignore
2
+ import { PluginModel, Store } from "@grapecity/viewer-core";
3
+ import { GcPdfSearcher } from './Search/GcPdfSearcher';
4
+ import { FindOptions, SearchResult } from "./Search/types";
5
+ export declare class ReportPage implements PluginModel.IPageData {
6
+ readonly pageIndex: number;
7
+ readonly pageSize: PluginModel.PageSize;
8
+ constructor(pageIndex: number, pageSize: PluginModel.PageSize);
9
+ }
10
+ export declare class GcPdfDocumentView implements PluginModel.IDocumentView {
11
+ readonly docViewer: any;
12
+ private readonly _searcher;
13
+ private _outlineStore;
14
+ private _articlesStore;
15
+ constructor(docViewer: any, _searcher: GcPdfSearcher);
16
+ get pageCount(): PluginModel.PageCountResult;
17
+ get outlineStore(): Store<any, any>;
18
+ get articlesStore(): Store<any, any>;
19
+ awaitPage: (index: number) => Promise<ReportPage>;
20
+ //@ts-ignore
21
+ search: (options: FindOptions, _startFrom: any) => AsyncIterableIterator<SearchResult>;
22
+ }