@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.
- package/CHANGELOG.md +2886 -0
- package/README.md +390 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/custom.css +19 -0
- package/docs/assets/highlight.css +134 -0
- package/docs/assets/main.js +54 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1224 -0
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
- package/docs/classes/AnnotationBase.html +349 -0
- package/docs/classes/ButtonWidget.html +512 -0
- package/docs/classes/ChoiceWidget.html +487 -0
- package/docs/classes/CircleAnnotation.html +425 -0
- package/docs/classes/DsPdfViewer.html +4095 -0
- package/docs/classes/FileAttachmentAnnotation.html +422 -0
- package/docs/classes/FreeTextAnnotation.html +405 -0
- package/docs/classes/GcPdfSearcher.html +362 -0
- package/docs/classes/GcPdfViewer.html +3923 -0
- package/docs/classes/HighlightAnnotation.html +390 -0
- package/docs/classes/InkAnnotation.html +400 -0
- package/docs/classes/LineAnnotation.html +422 -0
- package/docs/classes/LinkAnnotation.html +390 -0
- package/docs/classes/MarkupAnnotation.html +407 -0
- package/docs/classes/PolyLineAnnotation.html +406 -0
- package/docs/classes/PolygonAnnotation.html +406 -0
- package/docs/classes/PopupAnnotation.html +393 -0
- package/docs/classes/RedactAnnotation.html +439 -0
- package/docs/classes/SignatureAnnotation.html +398 -0
- package/docs/classes/SoundAnnotation.html +438 -0
- package/docs/classes/SquareAnnotation.html +397 -0
- package/docs/classes/SquigglyAnnotation.html +390 -0
- package/docs/classes/StampAnnotation.html +400 -0
- package/docs/classes/StrikeOutAnnotation.html +390 -0
- package/docs/classes/TextAnnotation.html +404 -0
- package/docs/classes/TextWidget.html +465 -0
- package/docs/classes/UnderlineAnnotation.html +390 -0
- package/docs/classes/ViewerOptions.html +1243 -0
- package/docs/classes/WidgetAnnotation.html +454 -0
- package/docs/enums/AnnotationTypeCode.html +196 -0
- package/docs/enums/ModificationType.html +86 -0
- package/docs/enums/SharedAccessMode.html +79 -0
- package/docs/enums/TextAlignmentType.html +66 -0
- package/docs/index.html +222 -0
- package/docs/interfaces/IGCEventBus.html +106 -0
- package/docs/types/AnnotationMarkedStateType.html +126 -0
- package/docs/types/AnnotationReviewStateType.html +126 -0
- package/docs/types/AnnotationStateModel.html +126 -0
- package/docs/types/AnnotationTypeName.html +126 -0
- package/docs/types/BusEventName.html +126 -0
- package/docs/types/DocumentListItem.html +146 -0
- package/docs/types/FieldAppearanceRenderingType.html +130 -0
- package/docs/types/FormFieldMapping.html +126 -0
- package/docs/types/FormFillerSettings.html +257 -0
- package/docs/types/GcProps.html +237 -0
- package/docs/types/InputFieldMapping.html +175 -0
- package/docs/types/JsCancelEventArgs.html +137 -0
- package/docs/types/JsEventArgs.html +133 -0
- package/docs/types/JsExecutionConfig.html +165 -0
- package/docs/types/KeyboardShortcutDefinition.html +149 -0
- package/docs/types/KeyboardShortcutTool.html +126 -0
- package/docs/types/LineEndStyle.html +126 -0
- package/docs/types/LinkDestinationType.html +126 -0
- package/docs/types/LinkType.html +126 -0
- package/docs/types/LogLevel.html +128 -0
- package/docs/types/ModificationsState.html +145 -0
- package/docs/types/NamedAction.html +127 -0
- package/docs/types/OpenAction.html +148 -0
- package/docs/types/OpenParameters.html +126 -0
- package/docs/types/OptionalContentConfig.html +195 -0
- package/docs/types/OptionalContentGroup.html +194 -0
- package/docs/types/PageLayout.html +126 -0
- package/docs/types/PageMode.html +126 -0
- package/docs/types/PageModification.html +137 -0
- package/docs/types/PageStructureChange.html +139 -0
- package/docs/types/PageViewport.html +221 -0
- package/docs/types/PdfOrganizerSettings.html +147 -0
- package/docs/types/ReplyToolSettings.html +196 -0
- package/docs/types/RotationInit.html +155 -0
- package/docs/types/RulerLine.html +146 -0
- package/docs/types/SaveSettings.html +191 -0
- package/docs/types/ScrollPageIntoViewOptions.html +126 -0
- package/docs/types/SharedDocumentInfo.html +139 -0
- package/docs/types/SignToolSettings.html +437 -0
- package/docs/types/SignatureInfo.html +158 -0
- package/docs/types/SignatureInformation.html +145 -0
- package/docs/types/StampCategory.html +159 -0
- package/docs/types/StructTreeContent.html +144 -0
- package/docs/types/StructTreeNode.html +141 -0
- package/docs/types/StructureChanges.html +142 -0
- package/docs/types/SupportApiSettings.html +199 -0
- package/docs/types/TextMarkupContextMenuSettings.html +139 -0
- package/docs/types/ToolbarButtonKey.html +126 -0
- package/docs/types/UndoChangeName.html +126 -0
- package/docs/types/UserAccess.html +133 -0
- package/docs/types/ViewerFeatureName.html +128 -0
- package/docs/types/ViewerPreferences.html +178 -0
- package/docs/types/WidgetFieldTypeName.html +129 -0
- package/docs.html +19 -0
- package/gcpdfviewer.js +2 -0
- package/gcpdfviewer.worker.js +2 -0
- package/index.html +43 -0
- package/localization/en-pdf-viewer.json +1587 -0
- package/localization/en-viewer-base.json +73 -0
- package/localization/localization_example.html +55 -0
- package/package.json +27 -0
- package/resources/bcmaps/78-EUC-H.bin +0 -0
- package/resources/bcmaps/78-EUC-V.bin +0 -0
- package/resources/bcmaps/78-H.bin +0 -0
- package/resources/bcmaps/78-RKSJ-H.bin +0 -0
- package/resources/bcmaps/78-RKSJ-V.bin +0 -0
- package/resources/bcmaps/78-V.bin +0 -0
- package/resources/bcmaps/78ms-RKSJ-H.bin +0 -0
- package/resources/bcmaps/78ms-RKSJ-V.bin +0 -0
- package/resources/bcmaps/83pv-RKSJ-H.bin +0 -0
- package/resources/bcmaps/90ms-RKSJ-H.bin +0 -0
- package/resources/bcmaps/90ms-RKSJ-V.bin +0 -0
- package/resources/bcmaps/90msp-RKSJ-H.bin +0 -0
- package/resources/bcmaps/90msp-RKSJ-V.bin +0 -0
- package/resources/bcmaps/90pv-RKSJ-H.bin +0 -0
- package/resources/bcmaps/90pv-RKSJ-V.bin +0 -0
- package/resources/bcmaps/Add-H.bin +0 -0
- package/resources/bcmaps/Add-RKSJ-H.bin +0 -0
- package/resources/bcmaps/Add-RKSJ-V.bin +0 -0
- package/resources/bcmaps/Add-V.bin +0 -0
- package/resources/bcmaps/Adobe-CNS1-0.bin +0 -0
- package/resources/bcmaps/Adobe-CNS1-1.bin +0 -0
- package/resources/bcmaps/Adobe-CNS1-2.bin +0 -0
- package/resources/bcmaps/Adobe-CNS1-3.bin +0 -0
- package/resources/bcmaps/Adobe-CNS1-4.bin +0 -0
- package/resources/bcmaps/Adobe-CNS1-5.bin +0 -0
- package/resources/bcmaps/Adobe-CNS1-6.bin +0 -0
- package/resources/bcmaps/Adobe-CNS1-UCS2.bin +0 -0
- package/resources/bcmaps/Adobe-GB1-0.bin +0 -0
- package/resources/bcmaps/Adobe-GB1-1.bin +0 -0
- package/resources/bcmaps/Adobe-GB1-2.bin +0 -0
- package/resources/bcmaps/Adobe-GB1-3.bin +0 -0
- package/resources/bcmaps/Adobe-GB1-4.bin +0 -0
- package/resources/bcmaps/Adobe-GB1-5.bin +0 -0
- package/resources/bcmaps/Adobe-GB1-UCS2.bin +0 -0
- package/resources/bcmaps/Adobe-Japan1-0.bin +0 -0
- package/resources/bcmaps/Adobe-Japan1-1.bin +0 -0
- package/resources/bcmaps/Adobe-Japan1-2.bin +0 -0
- package/resources/bcmaps/Adobe-Japan1-3.bin +0 -0
- package/resources/bcmaps/Adobe-Japan1-4.bin +0 -0
- package/resources/bcmaps/Adobe-Japan1-5.bin +0 -0
- package/resources/bcmaps/Adobe-Japan1-6.bin +0 -0
- package/resources/bcmaps/Adobe-Japan1-UCS2.bin +0 -0
- package/resources/bcmaps/Adobe-Korea1-0.bin +0 -0
- package/resources/bcmaps/Adobe-Korea1-1.bin +0 -0
- package/resources/bcmaps/Adobe-Korea1-2.bin +0 -0
- package/resources/bcmaps/Adobe-Korea1-UCS2.bin +0 -0
- package/resources/bcmaps/B5-H.bin +0 -0
- package/resources/bcmaps/B5-V.bin +0 -0
- package/resources/bcmaps/B5pc-H.bin +0 -0
- package/resources/bcmaps/B5pc-V.bin +0 -0
- package/resources/bcmaps/CNS-EUC-H.bin +0 -0
- package/resources/bcmaps/CNS-EUC-V.bin +0 -0
- package/resources/bcmaps/CNS1-H.bin +0 -0
- package/resources/bcmaps/CNS1-V.bin +0 -0
- package/resources/bcmaps/CNS2-H.bin +0 -0
- package/resources/bcmaps/CNS2-V.bin +3 -0
- package/resources/bcmaps/ETHK-B5-H.bin +0 -0
- package/resources/bcmaps/ETHK-B5-V.bin +0 -0
- package/resources/bcmaps/ETen-B5-H.bin +0 -0
- package/resources/bcmaps/ETen-B5-V.bin +0 -0
- package/resources/bcmaps/ETenms-B5-H.bin +3 -0
- package/resources/bcmaps/ETenms-B5-V.bin +0 -0
- package/resources/bcmaps/EUC-H.bin +0 -0
- package/resources/bcmaps/EUC-V.bin +0 -0
- package/resources/bcmaps/Ext-H.bin +0 -0
- package/resources/bcmaps/Ext-RKSJ-H.bin +0 -0
- package/resources/bcmaps/Ext-RKSJ-V.bin +0 -0
- package/resources/bcmaps/Ext-V.bin +0 -0
- package/resources/bcmaps/GB-EUC-H.bin +0 -0
- package/resources/bcmaps/GB-EUC-V.bin +0 -0
- package/resources/bcmaps/GB-H.bin +4 -0
- package/resources/bcmaps/GB-V.bin +0 -0
- package/resources/bcmaps/GBK-EUC-H.bin +0 -0
- package/resources/bcmaps/GBK-EUC-V.bin +0 -0
- package/resources/bcmaps/GBK2K-H.bin +0 -0
- package/resources/bcmaps/GBK2K-V.bin +0 -0
- package/resources/bcmaps/GBKp-EUC-H.bin +0 -0
- package/resources/bcmaps/GBKp-EUC-V.bin +0 -0
- package/resources/bcmaps/GBT-EUC-H.bin +0 -0
- package/resources/bcmaps/GBT-EUC-V.bin +0 -0
- package/resources/bcmaps/GBT-H.bin +0 -0
- package/resources/bcmaps/GBT-V.bin +0 -0
- package/resources/bcmaps/GBTpc-EUC-H.bin +0 -0
- package/resources/bcmaps/GBTpc-EUC-V.bin +0 -0
- package/resources/bcmaps/GBpc-EUC-H.bin +0 -0
- package/resources/bcmaps/GBpc-EUC-V.bin +0 -0
- package/resources/bcmaps/H.bin +0 -0
- package/resources/bcmaps/HKdla-B5-H.bin +0 -0
- package/resources/bcmaps/HKdla-B5-V.bin +0 -0
- package/resources/bcmaps/HKdlb-B5-H.bin +0 -0
- package/resources/bcmaps/HKdlb-B5-V.bin +0 -0
- package/resources/bcmaps/HKgccs-B5-H.bin +0 -0
- package/resources/bcmaps/HKgccs-B5-V.bin +0 -0
- package/resources/bcmaps/HKm314-B5-H.bin +0 -0
- package/resources/bcmaps/HKm314-B5-V.bin +0 -0
- package/resources/bcmaps/HKm471-B5-H.bin +0 -0
- package/resources/bcmaps/HKm471-B5-V.bin +0 -0
- package/resources/bcmaps/HKscs-B5-H.bin +0 -0
- package/resources/bcmaps/HKscs-B5-V.bin +0 -0
- package/resources/bcmaps/Hankaku.bin +0 -0
- package/resources/bcmaps/Hiragana.bin +0 -0
- package/resources/bcmaps/KSC-EUC-H.bin +0 -0
- package/resources/bcmaps/KSC-EUC-V.bin +0 -0
- package/resources/bcmaps/KSC-H.bin +0 -0
- package/resources/bcmaps/KSC-Johab-H.bin +0 -0
- package/resources/bcmaps/KSC-Johab-V.bin +0 -0
- package/resources/bcmaps/KSC-V.bin +0 -0
- package/resources/bcmaps/KSCms-UHC-H.bin +0 -0
- package/resources/bcmaps/KSCms-UHC-HW-H.bin +0 -0
- package/resources/bcmaps/KSCms-UHC-HW-V.bin +0 -0
- package/resources/bcmaps/KSCms-UHC-V.bin +0 -0
- package/resources/bcmaps/KSCpc-EUC-H.bin +0 -0
- package/resources/bcmaps/KSCpc-EUC-V.bin +0 -0
- package/resources/bcmaps/Katakana.bin +0 -0
- package/resources/bcmaps/LICENSE +36 -0
- package/resources/bcmaps/NWP-H.bin +0 -0
- package/resources/bcmaps/NWP-V.bin +0 -0
- package/resources/bcmaps/RKSJ-H.bin +0 -0
- package/resources/bcmaps/RKSJ-V.bin +0 -0
- package/resources/bcmaps/Roman.bin +0 -0
- package/resources/bcmaps/UniCNS-UCS2-H.bin +0 -0
- package/resources/bcmaps/UniCNS-UCS2-V.bin +0 -0
- package/resources/bcmaps/UniCNS-UTF16-H.bin +0 -0
- package/resources/bcmaps/UniCNS-UTF16-V.bin +0 -0
- package/resources/bcmaps/UniCNS-UTF32-H.bin +0 -0
- package/resources/bcmaps/UniCNS-UTF32-V.bin +0 -0
- package/resources/bcmaps/UniCNS-UTF8-H.bin +0 -0
- package/resources/bcmaps/UniCNS-UTF8-V.bin +0 -0
- package/resources/bcmaps/UniGB-UCS2-H.bin +0 -0
- package/resources/bcmaps/UniGB-UCS2-V.bin +0 -0
- package/resources/bcmaps/UniGB-UTF16-H.bin +0 -0
- package/resources/bcmaps/UniGB-UTF16-V.bin +0 -0
- package/resources/bcmaps/UniGB-UTF32-H.bin +0 -0
- package/resources/bcmaps/UniGB-UTF32-V.bin +0 -0
- package/resources/bcmaps/UniGB-UTF8-H.bin +0 -0
- package/resources/bcmaps/UniGB-UTF8-V.bin +0 -0
- package/resources/bcmaps/UniJIS-UCS2-H.bin +0 -0
- package/resources/bcmaps/UniJIS-UCS2-HW-H.bin +0 -0
- package/resources/bcmaps/UniJIS-UCS2-HW-V.bin +0 -0
- package/resources/bcmaps/UniJIS-UCS2-V.bin +0 -0
- package/resources/bcmaps/UniJIS-UTF16-H.bin +0 -0
- package/resources/bcmaps/UniJIS-UTF16-V.bin +0 -0
- package/resources/bcmaps/UniJIS-UTF32-H.bin +0 -0
- package/resources/bcmaps/UniJIS-UTF32-V.bin +0 -0
- package/resources/bcmaps/UniJIS-UTF8-H.bin +0 -0
- package/resources/bcmaps/UniJIS-UTF8-V.bin +0 -0
- package/resources/bcmaps/UniJIS2004-UTF16-H.bin +0 -0
- package/resources/bcmaps/UniJIS2004-UTF16-V.bin +0 -0
- package/resources/bcmaps/UniJIS2004-UTF32-H.bin +0 -0
- package/resources/bcmaps/UniJIS2004-UTF32-V.bin +0 -0
- package/resources/bcmaps/UniJIS2004-UTF8-H.bin +0 -0
- package/resources/bcmaps/UniJIS2004-UTF8-V.bin +0 -0
- package/resources/bcmaps/UniJISPro-UCS2-HW-V.bin +0 -0
- package/resources/bcmaps/UniJISPro-UCS2-V.bin +0 -0
- package/resources/bcmaps/UniJISPro-UTF8-V.bin +0 -0
- package/resources/bcmaps/UniJISX0213-UTF32-H.bin +0 -0
- package/resources/bcmaps/UniJISX0213-UTF32-V.bin +0 -0
- package/resources/bcmaps/UniJISX02132004-UTF32-H.bin +0 -0
- package/resources/bcmaps/UniJISX02132004-UTF32-V.bin +0 -0
- package/resources/bcmaps/UniKS-UCS2-H.bin +0 -0
- package/resources/bcmaps/UniKS-UCS2-V.bin +0 -0
- package/resources/bcmaps/UniKS-UTF16-H.bin +0 -0
- package/resources/bcmaps/UniKS-UTF16-V.bin +0 -0
- package/resources/bcmaps/UniKS-UTF32-H.bin +0 -0
- package/resources/bcmaps/UniKS-UTF32-V.bin +0 -0
- package/resources/bcmaps/UniKS-UTF8-H.bin +0 -0
- package/resources/bcmaps/UniKS-UTF8-V.bin +0 -0
- package/resources/bcmaps/V.bin +0 -0
- package/resources/bcmaps/WP-Symbol.bin +0 -0
- package/resources/standard_fonts/FoxitDingbats.pfb +0 -0
- package/resources/standard_fonts/FoxitFixed.pfb +0 -0
- package/resources/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/resources/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/resources/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/resources/standard_fonts/FoxitSans.pfb +0 -0
- package/resources/standard_fonts/FoxitSansBold.pfb +0 -0
- package/resources/standard_fonts/FoxitSansBoldItalic.pfb +0 -0
- package/resources/standard_fonts/FoxitSansItalic.pfb +0 -0
- package/resources/standard_fonts/FoxitSerif.pfb +0 -0
- package/resources/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/resources/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/resources/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/resources/standard_fonts/FoxitSymbol.pfb +0 -0
- package/resources/standard_fonts/LICENSE_FOXIT +27 -0
- package/resources/standard_fonts/LICENSE_LIBERATION +102 -0
- package/resources/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/resources/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/resources/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/resources/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/resources/standard_fonts/README.md +11 -0
- package/themes/dark-yellow.css +1 -0
- package/themes/dark-yellow.jscss +7 -0
- package/themes/dark.css +1 -0
- package/themes/dark.jscss +7 -0
- package/themes/gc-blue.css +1 -0
- package/themes/gc-blue.jscss +7 -0
- package/themes/light-blue.css +1 -0
- package/themes/light-blue.jscss +7 -0
- package/themes/light.css +1 -0
- package/themes/light.jscss +7 -0
- package/themes/viewer.css +1 -0
- package/themes/viewer.jscss +7 -0
- package/typings/AcroForm/AcroForm.d.ts +3 -0
- package/typings/AcroForm/index.d.ts +4 -0
- package/typings/AcroForm/state.d.ts +4 -0
- package/typings/AcroForm/types.d.ts +15 -0
- package/typings/Annotations/AnnotationPropertyDescriptors.d.ts +88 -0
- package/typings/Annotations/AnnotationState.d.ts +5 -0
- package/typings/Annotations/AnnotationTypes.d.ts +353 -0
- package/typings/Annotations/Annotations.d.ts +151 -0
- package/typings/Annotations/Editors/CalloutLineEditor.d.ts +19 -0
- package/typings/Annotations/Editors/CancelableEditorBase.d.ts +34 -0
- package/typings/Annotations/Editors/ChoiceOptionsEditor.d.ts +21 -0
- package/typings/Annotations/Editors/ColorEditor/ColorEditor.d.ts +13 -0
- package/typings/Annotations/Editors/ColorEditor/Localization.d.ts +2 -0
- package/typings/Annotations/Editors/ColorEditor/StandardPalette.d.ts +3 -0
- package/typings/Annotations/Editors/ColorEditor/types.d.ts +21 -0
- package/typings/Annotations/Editors/FileEditor.d.ts +42 -0
- package/typings/Annotations/Editors/FloatEditor.d.ts +43 -0
- package/typings/Annotations/Editors/ImageFileEditor.d.ts +37 -0
- package/typings/Annotations/Editors/JsCodeAreaEditor.d.ts +18 -0
- package/typings/Annotations/Editors/KeyValuePairEditor.d.ts +20 -0
- package/typings/Annotations/Editors/LinkAnnotationHelper.d.ts +18 -0
- package/typings/Annotations/Editors/LinkDestTypeEditor.d.ts +18 -0
- package/typings/Annotations/Editors/MediaFileEditor.d.ts +7 -0
- package/typings/Annotations/Editors/MediaPosterFileEditor.d.ts +9 -0
- package/typings/Annotations/Editors/NullableIntEditor.d.ts +39 -0
- package/typings/Annotations/Editors/ParentIdEditor.d.ts +22 -0
- package/typings/Annotations/Editors/PlaceholderEditorStub.d.ts +15 -0
- package/typings/Annotations/Editors/PreserveStampSizeAspectToggle.d.ts +15 -0
- package/typings/Annotations/Editors/SelectFileHelper.d.ts +24 -0
- package/typings/Annotations/Editors/SoundFileEditor.d.ts +41 -0
- package/typings/Annotations/Editors/TextAreaEditor.d.ts +23 -0
- package/typings/Annotations/Elements/CheckBoxElement.d.ts +2 -0
- package/typings/Annotations/Elements/RadioButtonElement.d.ts +2 -0
- package/typings/Annotations/RichMediaAnnotation.d.ts +41 -0
- package/typings/Annotations/index.d.ts +4 -0
- package/typings/Annotations/state.d.ts +4 -0
- package/typings/Annotations/types.d.ts +63 -0
- package/typings/Articles/Articles.d.ts +19 -0
- package/typings/Articles/index.d.ts +4 -0
- package/typings/Articles/state.d.ts +4 -0
- package/typings/Articles/types.d.ts +24 -0
- package/typings/Attachments/Attachments.d.ts +17 -0
- package/typings/Attachments/index.d.ts +3 -0
- package/typings/Attachments/state.d.ts +4 -0
- package/typings/Attachments/types.d.ts +7 -0
- package/typings/Contents/Contents.d.ts +13 -0
- package/typings/Contents/index.d.ts +4 -0
- package/typings/Contents/state.d.ts +4 -0
- package/typings/Contents/types.d.ts +16 -0
- package/typings/ContextMenu/ContextMenuProvider.d.ts +48 -0
- package/typings/ContextMenu/DropdownMenu.d.ts +121 -0
- package/typings/ContextMenu/GcDocumentContextMenu.d.ts +80 -0
- package/typings/ContextMenu/Positioner.d.ts +58 -0
- package/typings/ContextMenu/constants.d.ts +22 -0
- package/typings/ContextMenu/essentials.d.ts +41 -0
- package/typings/ContextMenu/types.d.ts +2 -0
- package/typings/Core/ExternalPdfManager.d.ts +24 -0
- package/typings/Core/GcPdfViewerDataLoader.d.ts +24 -0
- package/typings/DataStorage/DataStorage.d.ts +20 -0
- package/typings/Dialogs/ConfirmationDialog.d.ts +17 -0
- package/typings/Dialogs/ProgressDialog.d.ts +37 -0
- package/typings/Dialogs/Types.d.ts +22 -0
- package/typings/DocumentListPanel.d.ts +39 -0
- package/typings/DsPdfViewer.d.ts +5 -0
- package/typings/FloatingBar/FloatingBar.d.ts +20 -0
- package/typings/FloatingBar/types.d.ts +7 -0
- package/typings/FloatingSearchBar/FloatingSearchBar.d.ts +42 -0
- package/typings/FloatingSearchBar/types.d.ts +3 -0
- package/typings/FormFiller/Controls/CheckBoxControl.d.ts +7 -0
- package/typings/FormFiller/Controls/ChoiceControl.d.ts +11 -0
- package/typings/FormFiller/Controls/CombTextControl.d.ts +7 -0
- package/typings/FormFiller/Controls/ControlBase.d.ts +32 -0
- package/typings/FormFiller/Controls/DateTimeControl.d.ts +7 -0
- package/typings/FormFiller/Controls/DateTimeHelper.d.ts +18 -0
- package/typings/FormFiller/Controls/EmailControl.d.ts +7 -0
- package/typings/FormFiller/Controls/PasswordControl.d.ts +7 -0
- package/typings/FormFiller/Controls/RadioControl.d.ts +7 -0
- package/typings/FormFiller/Controls/SearchControl.d.ts +7 -0
- package/typings/FormFiller/Controls/TelControl.d.ts +7 -0
- package/typings/FormFiller/Controls/TextControl.d.ts +7 -0
- package/typings/FormFiller/Controls/UrlControl.d.ts +7 -0
- package/typings/FormFiller/FieldRow.d.ts +27 -0
- package/typings/FormFiller/FormFiller.d.ts +32 -0
- package/typings/FormFiller/FormFillerDialog.d.ts +28 -0
- package/typings/FormFiller/Validator.d.ts +9 -0
- package/typings/FormFiller/types.d.ts +48 -0
- package/typings/GcPdfDocument.d.ts +65 -0
- package/typings/GcPdfDocumentView.d.ts +22 -0
- package/typings/GcPdfViewer.d.ts +464 -0
- package/typings/GcPdfViewerStateStorage.d.ts +24 -0
- package/typings/Keyboard/KeyboardWorker.d.ts +52 -0
- package/typings/Keyboard/ShortcutsConfig.d.ts +10 -0
- package/typings/Layers/Layers.d.ts +17 -0
- package/typings/Layers/index.d.ts +1 -0
- package/typings/Layers/state.d.ts +0 -0
- package/typings/Layers/types.d.ts +8 -0
- package/typings/LeftSidebar.d.ts +33 -0
- package/typings/Models/EventArgs.d.ts +38 -0
- package/typings/Models/GcMeasurementTypes.d.ts +29 -0
- package/typings/Models/PluginTypes.d.ts +23 -0
- package/typings/Models/ViewerTypes.d.ts +279 -0
- package/typings/Password/GcPdfPasswordDialog.d.ts +31 -0
- package/typings/PdfDocumentViewer/PdfDocumentViewer.d.ts +11 -0
- package/typings/PdfOrganizer/PdfOrganizerDialog.d.ts +83 -0
- package/typings/PdfOrganizer/types.d.ts +17 -0
- package/typings/Polyfills/ArrayPolyfills.d.ts +1 -0
- package/typings/Polyfills/CanvasToBlob.d.ts +0 -0
- package/typings/Polyfills/closest.d.ts +0 -0
- package/typings/Print/GcPdfPrintProgress.d.ts +17 -0
- package/typings/Print/GcPdfPrintService.d.ts +7 -0
- package/typings/Properties/DocumentInformation.d.ts +22 -0
- package/typings/Properties/PropertiesDialog.d.ts +39 -0
- package/typings/ReplyTool/AuthorLabel.d.ts +8 -0
- package/typings/ReplyTool/ReplyTool.d.ts +90 -0
- package/typings/ReplyTool/types.d.ts +25 -0
- package/typings/RightSidebar/GcRightSidebar.d.ts +42 -0
- package/typings/RightSidebar/types.d.ts +2 -0
- package/typings/Search/GcPdfSearcher.d.ts +98 -0
- package/typings/Search/IPdfSearcher.d.ts +5 -0
- package/typings/Search/SearchPanel.d.ts +16 -0
- package/typings/Search/SearchPanelBase.d.ts +35 -0
- package/typings/Search/SearchUtils.d.ts +24 -0
- package/typings/Search/SearchWorker.d.ts +37 -0
- package/typings/Search/TextSelectionBoundsTester.d.ts +10 -0
- package/typings/Search/api.d.ts +12 -0
- package/typings/Search/index.d.ts +5 -0
- package/typings/Search/types.d.ts +135 -0
- package/typings/Security/DocumentSecuritySummary.d.ts +19 -0
- package/typings/SharedDocuments/ShareDialog.d.ts +55 -0
- package/typings/SharedDocuments/SharedChangeIndicator.d.ts +5 -0
- package/typings/SharedDocuments/SharedDocumentsPanel.d.ts +26 -0
- package/typings/SharedDocuments/types.d.ts +73 -0
- package/typings/SignTool/CanvasRuler.d.ts +21 -0
- package/typings/SignTool/DrawTool.d.ts +41 -0
- package/typings/SignTool/ImageTool.d.ts +51 -0
- package/typings/SignTool/SignToolDialog.d.ts +97 -0
- package/typings/SignTool/SignToolStorage.d.ts +17 -0
- package/typings/SignTool/SignaturePad/SignaturePad.d.ts +76 -0
- package/typings/SignTool/SignaturePad/throttle.d.ts +1 -0
- package/typings/SignTool/SignaturePad/types.d.ts +30 -0
- package/typings/SignTool/TypeTool.d.ts +52 -0
- package/typings/SignTool/types.d.ts +62 -0
- package/typings/StructureTree/StructureTree.d.ts +31 -0
- package/typings/StructureTree/index.d.ts +1 -0
- package/typings/StructureTree/state.d.ts +0 -0
- package/typings/StructureTree/types.d.ts +7 -0
- package/typings/Styles/StaticIcons.d.ts +1 -0
- package/typings/Styles/pdfSvgIcons.d.ts +155 -0
- package/typings/SupportApi/Connection/ClientMessage.d.ts +61 -0
- package/typings/SupportApi/Connection/Message.d.ts +3 -0
- package/typings/SupportApi/Connection/PersistentConnection.d.ts +33 -0
- package/typings/SupportApi/Connection/ServerMessage.d.ts +25 -0
- package/typings/SupportApi/DocumentOptions.d.ts +14 -0
- package/typings/SupportApi/ISupportApi.d.ts +44 -0
- package/typings/SupportApi/ISupportApiBase.d.ts +30 -0
- package/typings/SupportApi/LocalDocumentModification.d.ts +23 -0
- package/typings/SupportApi/RenderParams.d.ts +7 -0
- package/typings/SupportApi/SignatureInfo.d.ts +0 -0
- package/typings/SupportApi/SupportApiImpl.d.ts +88 -0
- package/typings/SupportApi/Wasm/IWasmModule.d.ts +22 -0
- package/typings/SupportApi/Wasm/WasmModule.d.ts +2 -0
- package/typings/SupportApi/Wasm/WasmSupportApi.d.ts +38 -0
- package/typings/SupportApi/types.d.ts +43 -0
- package/typings/Thumbnails/GcRangedThumbsPane.d.ts +17 -0
- package/typings/Thumbnails/GcThumbView.d.ts +50 -0
- package/typings/Thumbnails/GcThumbnailViewer.d.ts +46 -0
- package/typings/Thumbnails/Thumbnails.d.ts +18 -0
- package/typings/Thumbnails/index.d.ts +1 -0
- package/typings/Toolbar/PdfToolbarLayout.d.ts +9 -0
- package/typings/Toolbar/SecondToolbar/SecondToolbar.d.ts +25 -0
- package/typings/Toolbar/SecondToolbar/SecondToolbarControl.d.ts +31 -0
- package/typings/Toolbar/SecondToolbar/SecondToolbarRenderer.d.ts +5 -0
- package/typings/Toolbar/SecondToolbar/types.d.ts +9 -0
- package/typings/Toolbar/ToolbarItems.d.ts +71 -0
- package/typings/Toolbar/controls/AddStampDropdown.d.ts +61 -0
- package/typings/Toolbar/controls/Zoom.d.ts +42 -0
- package/typings/Utils/AnnotationsSvgFactory.d.ts +34 -0
- package/typings/Utils/AudioOscilloscopeVisualizer.d.ts +23 -0
- package/typings/Utils/AudioUtils.d.ts +12 -0
- package/typings/Utils/BackgroundUtilsWorker.d.ts +6 -0
- package/typings/Utils/BrowserUtils.d.ts +20 -0
- package/typings/Utils/ColorUtils.d.ts +7 -0
- package/typings/Utils/CombFieldBehavior.d.ts +58 -0
- package/typings/Utils/DomUtils.d.ts +21 -0
- package/typings/Utils/DownloadUtil.d.ts +2 -0
- package/typings/Utils/DrawingPanel.d.ts +11 -0
- package/typings/Utils/DropFileAreaHelper.d.ts +25 -0
- package/typings/Utils/EditableComboBoxBehavior.d.ts +17 -0
- package/typings/Utils/EncodingUtils.d.ts +9 -0
- package/typings/Utils/Exceptions.d.ts +5 -0
- package/typings/Utils/GcEditableTextBehavior.d.ts +48 -0
- package/typings/Utils/GcMeasurement.d.ts +37 -0
- package/typings/Utils/GestureEventsDispatcher.d.ts +40 -0
- package/typings/Utils/MathUtils.d.ts +17 -0
- package/typings/Utils/MeasurementUtils.d.ts +4 -0
- package/typings/Utils/PromiseUtils.d.ts +24 -0
- package/typings/Utils/ResizableDialogBehavior.d.ts +1 -0
- package/typings/Utils/RichMediaAnnotationPlayer.d.ts +60 -0
- package/typings/Utils/ScrollUtils.d.ts +20 -0
- package/typings/Utils/SearchUtils.d.ts +20 -0
- package/typings/Utils/SelectionRangeUtils.d.ts +2 -0
- package/typings/Utils/SharedRef.d.ts +17 -0
- package/typings/Utils/StampImagesAwaiter.d.ts +15 -0
- package/typings/Utils/SupportApiUtils.d.ts +4 -0
- package/typings/Utils/TooltipPopup.d.ts +6 -0
- package/typings/Utils/UrlUtils.d.ts +17 -0
- package/typings/Utils/ViewerUtils.d.ts +68 -0
- package/typings/Utils/index.d.ts +1 -0
- package/typings/ViewerOptions.d.ts +316 -0
- package/typings/XFA/XfaApiImpl.d.ts +19 -0
- package/typings/XFA/XfaForm.d.ts +7 -0
- package/typings/XFA/XfaNode.d.ts +5 -0
- package/typings/httpClient.d.ts +15 -0
- package/typings/index.d.ts +10 -0
- package/typings/plugin.d.ts +646 -0
- package/typings/vendor/i18next.d.ts +1022 -0
- package/typings/vendor/js-viewer-core/api/PluginModel.d.ts +246 -0
- package/typings/vendor/js-viewer-core/api/ReportViewerCmd.d.ts +72 -0
- package/typings/vendor/js-viewer-core/api/index.d.ts +3 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/ContinuousView.d.ts +37 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/Page.d.ts +17 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/SinglePageView.d.ts +30 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/View.d.ts +15 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/Zoomer.d.ts +12 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/index.d.ts +3 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/moveTool.d.ts +4 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/state.d.ts +7 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/types.d.ts +214 -0
- package/typings/vendor/js-viewer-core/components/DocumentViewer/zoomUtils.d.ts +26 -0
- package/typings/vendor/js-viewer-core/components/ErrorPanel/ErrorView.d.ts +26 -0
- package/typings/vendor/js-viewer-core/components/ErrorPanel/View.d.ts +22 -0
- package/typings/vendor/js-viewer-core/components/ErrorPanel/index.d.ts +3 -0
- package/typings/vendor/js-viewer-core/components/ErrorPanel/state.d.ts +4 -0
- package/typings/vendor/js-viewer-core/components/ErrorPanel/types.d.ts +21 -0
- package/typings/vendor/js-viewer-core/components/NotificationManager/NotificationManager.d.ts +19 -0
- package/typings/vendor/js-viewer-core/components/NotificationManager/index.d.ts +1 -0
- package/typings/vendor/js-viewer-core/components/PanelManager/MenuView.d.ts +32 -0
- package/typings/vendor/js-viewer-core/components/PanelManager/SideBarView.d.ts +39 -0
- package/typings/vendor/js-viewer-core/components/PanelManager/TopBottomPanelView.d.ts +9 -0
- package/typings/vendor/js-viewer-core/components/PanelManager/index.d.ts +5 -0
- package/typings/vendor/js-viewer-core/components/PanelManager/state.d.ts +13 -0
- package/typings/vendor/js-viewer-core/components/PanelManager/types.d.ts +47 -0
- package/typings/vendor/js-viewer-core/components/ProgressDialog/View.d.ts +19 -0
- package/typings/vendor/js-viewer-core/components/ProgressDialog/index.d.ts +3 -0
- package/typings/vendor/js-viewer-core/components/ProgressDialog/state.d.ts +4 -0
- package/typings/vendor/js-viewer-core/components/ProgressDialog/types.d.ts +26 -0
- package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/ThumbnailsPanel.d.ts +4 -0
- package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/index.d.ts +4 -0
- package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/state.d.ts +6 -0
- package/typings/vendor/js-viewer-core/components/ThumbnailsPanel/types.d.ts +37 -0
- package/typings/vendor/js-viewer-core/components/Toolbar/Toolbar.d.ts +97 -0
- package/typings/vendor/js-viewer-core/components/Toolbar/controls/Zoom.d.ts +23 -0
- package/typings/vendor/js-viewer-core/components/Toolbar/index.d.ts +1 -0
- package/typings/vendor/js-viewer-core/components/index.d.ts +8 -0
- package/typings/vendor/js-viewer-core/components/utils.d.ts +6 -0
- package/typings/vendor/js-viewer-core/control/CancellationToken.d.ts +36 -0
- package/typings/vendor/js-viewer-core/control/EventFan.d.ts +35 -0
- package/typings/vendor/js-viewer-core/control/ReactStateBinder.d.ts +24 -0
- package/typings/vendor/js-viewer-core/control/ReportViewer.d.ts +227 -0
- package/typings/vendor/js-viewer-core/control/SessionState.d.ts +61 -0
- package/typings/vendor/js-viewer-core/control/Store.d.ts +37 -0
- package/typings/vendor/js-viewer-core/control/Toolbar.d.ts +53 -0
- package/typings/vendor/js-viewer-core/control/ViewerState.d.ts +67 -0
- package/typings/vendor/js-viewer-core/control/historyStore.d.ts +0 -0
- package/typings/vendor/js-viewer-core/control/index.d.ts +7 -0
- package/typings/vendor/js-viewer-core/features/search/SearchPanel.d.ts +21 -0
- package/typings/vendor/js-viewer-core/features/search/api.d.ts +18 -0
- package/typings/vendor/js-viewer-core/features/search/index.d.ts +8 -0
- package/typings/vendor/js-viewer-core/features/search/types.d.ts +117 -0
- package/typings/vendor/js-viewer-core/index.d.ts +6 -0
- package/typings/vendor/js-viewer-core/styles/svgIcons.d.ts +30 -0
- package/typings/vendor/react/global.d.ts +151 -0
- package/typings/vendor/react/react-dom.d.ts +100 -0
- package/typings/vendor/react/react.d.ts +3152 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference path="../vendor/react/react.d.ts" />
|
|
2
|
+
//@ts-ignore
|
|
3
|
+
import React, { Component } from 'react';
|
|
4
|
+
import { BaseToolProps, ISignTool, SignToolModel } from './types';
|
|
5
|
+
import { SignToolSettings } from '../ViewerOptions';
|
|
6
|
+
export declare class DrawTool extends Component<BaseToolProps, SignToolModel> implements ISignTool {
|
|
7
|
+
private _mounted;
|
|
8
|
+
private _canvas;
|
|
9
|
+
private _signaturePad;
|
|
10
|
+
private _dropdown;
|
|
11
|
+
private _isDirty;
|
|
12
|
+
private _onKeyDownHandler;
|
|
13
|
+
constructor(props: BaseToolProps, state: any);
|
|
14
|
+
componentDidMount(): void;
|
|
15
|
+
componentWillUnmount(): void;
|
|
16
|
+
componentDidUpdate(): void;
|
|
17
|
+
onKeyDown(e: KeyboardEvent): void;
|
|
18
|
+
render(): React.JSX.Element;
|
|
19
|
+
private renderToolbar;
|
|
20
|
+
get canvasSize(): {
|
|
21
|
+
h: number;
|
|
22
|
+
w: number;
|
|
23
|
+
};
|
|
24
|
+
get isMounted(): boolean;
|
|
25
|
+
get hasUndo(): boolean;
|
|
26
|
+
get penColor(): string;
|
|
27
|
+
set penColor(penColor: string);
|
|
28
|
+
get penWidth(): number;
|
|
29
|
+
set penWidth(penWidth: number);
|
|
30
|
+
get hideToolbar(): boolean;
|
|
31
|
+
get settings(): SignToolSettings;
|
|
32
|
+
setSetting(settingName: string, value: any): void;
|
|
33
|
+
toDataURL(): string;
|
|
34
|
+
toImageData(): Promise<Uint8Array | null>;
|
|
35
|
+
clear(): void;
|
|
36
|
+
markDirty(isDirty: boolean): void;
|
|
37
|
+
undo(): void;
|
|
38
|
+
repaintCanvas(): void;
|
|
39
|
+
private onColorSelect;
|
|
40
|
+
private _clearInternal;
|
|
41
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/// <reference path="../vendor/react/react.d.ts" />
|
|
2
|
+
//@ts-ignore
|
|
3
|
+
import React, { Component } from 'react';
|
|
4
|
+
import { BaseToolProps, ImageToolModel, ISignTool } from './types';
|
|
5
|
+
import { SignToolSettings } from '../ViewerOptions';
|
|
6
|
+
/// <reference path="../vendor/i18next.d.ts" />
|
|
7
|
+
//@ts-ignore
|
|
8
|
+
import { i18n } from 'i18next';
|
|
9
|
+
export declare class ImageTool extends Component<BaseToolProps, ImageToolModel> implements ISignTool {
|
|
10
|
+
private _mounted;
|
|
11
|
+
private _canvas;
|
|
12
|
+
private _fileInput;
|
|
13
|
+
private _pendingImageSelect;
|
|
14
|
+
private _img?;
|
|
15
|
+
private _isDirty;
|
|
16
|
+
constructor(props: BaseToolProps, state: any);
|
|
17
|
+
componentDidMount(): void;
|
|
18
|
+
componentWillUnmount(): void;
|
|
19
|
+
componentDidUpdate(): void;
|
|
20
|
+
selectImage(): void;
|
|
21
|
+
get in17n(): i18n;
|
|
22
|
+
render(): React.JSX.Element;
|
|
23
|
+
get isMounted(): boolean;
|
|
24
|
+
set hasImage(hasImage: boolean);
|
|
25
|
+
get hasImage(): boolean;
|
|
26
|
+
get settings(): SignToolSettings;
|
|
27
|
+
setSetting(settingName: string, value: any): void;
|
|
28
|
+
clearCanvas(): void;
|
|
29
|
+
redrawImage(): void;
|
|
30
|
+
repaintCanvas(): void;
|
|
31
|
+
fitWithAspectRatio(srcSize: {
|
|
32
|
+
w: number;
|
|
33
|
+
h: number;
|
|
34
|
+
}, destSize: {
|
|
35
|
+
w: number;
|
|
36
|
+
h: number;
|
|
37
|
+
}): {
|
|
38
|
+
x: number;
|
|
39
|
+
y: number;
|
|
40
|
+
w: number;
|
|
41
|
+
h: number;
|
|
42
|
+
};
|
|
43
|
+
get canvasSize(): {
|
|
44
|
+
h: number;
|
|
45
|
+
w: number;
|
|
46
|
+
};
|
|
47
|
+
toDataURL(): string;
|
|
48
|
+
toImageData(): Promise<Uint8Array | null>;
|
|
49
|
+
markDirty(isDirty: boolean): void;
|
|
50
|
+
private _onChange;
|
|
51
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/// <reference path="../vendor/react/react.d.ts" />
|
|
2
|
+
//@ts-ignore
|
|
3
|
+
import React, { Component } from 'react';
|
|
4
|
+
import { SignToolDialogProps, SignToolDialogModel, SignToolType } from "./types";
|
|
5
|
+
import GcPdfViewer from "..";
|
|
6
|
+
/// <reference path="../vendor/i18next.d.ts" />
|
|
7
|
+
//@ts-ignore
|
|
8
|
+
import { i18n } from 'i18next';
|
|
9
|
+
import { SignToolSettings } from '../ViewerOptions';
|
|
10
|
+
import { SignToolStorage } from './SignToolStorage';
|
|
11
|
+
export declare const DEFAULT_CANVAS_WIDTH = 500;
|
|
12
|
+
export declare const DEFAULT_CANVAS_HEIGHT = 200;
|
|
13
|
+
export declare class SignToolDialog extends Component<SignToolDialogProps, SignToolDialogModel> {
|
|
14
|
+
private _hidePromise?;
|
|
15
|
+
private _resolve?;
|
|
16
|
+
private _viewer;
|
|
17
|
+
_mounted: boolean;
|
|
18
|
+
private _currentCanvasSize;
|
|
19
|
+
private _shown;
|
|
20
|
+
constructor(props: any, state: any);
|
|
21
|
+
state: {
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
showModal: boolean;
|
|
24
|
+
isChanged: boolean;
|
|
25
|
+
selectedTab: undefined;
|
|
26
|
+
modalPosition: undefined;
|
|
27
|
+
};
|
|
28
|
+
private _DrawTool;
|
|
29
|
+
private _TypeTool;
|
|
30
|
+
private _openImageFlag;
|
|
31
|
+
private _ImageTool;
|
|
32
|
+
private _signToolStorage;
|
|
33
|
+
private _preferredSettings;
|
|
34
|
+
componentDidMount(): void;
|
|
35
|
+
componentWillUnmount(): void;
|
|
36
|
+
onShow(): Promise<void>;
|
|
37
|
+
onHide(): void;
|
|
38
|
+
get saveSignature(): boolean;
|
|
39
|
+
set saveSignature(saveSignature: boolean);
|
|
40
|
+
get tabs(): ('Type' | 'Draw' | 'Image')[];
|
|
41
|
+
set tabs(tabs: ('Type' | 'Draw' | 'Image')[]);
|
|
42
|
+
get selectedTab(): SignToolType;
|
|
43
|
+
set selectedTab(selectedTab: SignToolType);
|
|
44
|
+
get title(): string;
|
|
45
|
+
set title(title: string);
|
|
46
|
+
get convertToContent(): boolean;
|
|
47
|
+
set convertToContent(convertToContent: boolean);
|
|
48
|
+
get subject(): string;
|
|
49
|
+
set subject(subject: string);
|
|
50
|
+
get hideSaveSignature(): boolean;
|
|
51
|
+
set hideSaveSignature(value: boolean);
|
|
52
|
+
get pageIndex(): number;
|
|
53
|
+
set pageIndex(pageIndex: number);
|
|
54
|
+
get canvasSize(): {
|
|
55
|
+
width: number;
|
|
56
|
+
height: number;
|
|
57
|
+
};
|
|
58
|
+
set canvasSize(canvasSize: {
|
|
59
|
+
width: number;
|
|
60
|
+
height: number;
|
|
61
|
+
});
|
|
62
|
+
get autoResizeCanvas(): boolean;
|
|
63
|
+
set autoResizeCanvas(autoResizeCanvas: boolean);
|
|
64
|
+
get imageFileName(): string;
|
|
65
|
+
get settings(): SignToolSettings;
|
|
66
|
+
show(viewer: GcPdfViewer, preferredSettings?: SignToolSettings): Promise<void>;
|
|
67
|
+
setSetting(settingName: string, value: any): void;
|
|
68
|
+
private getSetting;
|
|
69
|
+
getAdjustedCanvasSize(): {
|
|
70
|
+
width: number;
|
|
71
|
+
height: number;
|
|
72
|
+
};
|
|
73
|
+
get destinationScale(): number;
|
|
74
|
+
get destinationSize(): {
|
|
75
|
+
width: number;
|
|
76
|
+
height: number;
|
|
77
|
+
};
|
|
78
|
+
get location(): 'Center' | 'Top' | 'Right' | 'Bottom' | 'Left' | 'TopLeft' | 'TopRight' | 'BottomRight' | 'BottomLeft' | {
|
|
79
|
+
x: number;
|
|
80
|
+
y: number;
|
|
81
|
+
};
|
|
82
|
+
set location(location: 'Center' | 'Top' | 'Right' | 'Bottom' | 'Left' | 'TopLeft' | 'TopRight' | 'BottomRight' | 'BottomLeft' | {
|
|
83
|
+
x: number;
|
|
84
|
+
y: number;
|
|
85
|
+
});
|
|
86
|
+
get exactDestinationLocation(): {
|
|
87
|
+
x: number;
|
|
88
|
+
y: number;
|
|
89
|
+
};
|
|
90
|
+
onApply(): Promise<void>;
|
|
91
|
+
get isVisible(): boolean;
|
|
92
|
+
hide(): void;
|
|
93
|
+
render(): React.JSX.Element | null;
|
|
94
|
+
get signToolStorage(): SignToolStorage;
|
|
95
|
+
private _resolveHidePromise;
|
|
96
|
+
get in17n(): i18n;
|
|
97
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { SignToolSettings } from "../ViewerOptions";
|
|
2
|
+
import SignaturePad from "./SignaturePad/SignaturePad";
|
|
3
|
+
import { SignToolType } from "./types";
|
|
4
|
+
export declare class SignToolStorage {
|
|
5
|
+
ownerUserName: string;
|
|
6
|
+
constructor(ownerUserName: string);
|
|
7
|
+
get storageKey(): string;
|
|
8
|
+
get settings(): SignToolSettings | undefined;
|
|
9
|
+
setSetting(settingName: string, value: any): void;
|
|
10
|
+
reset(): void;
|
|
11
|
+
resetCanvasImages(): void;
|
|
12
|
+
resetCanvasImage(toolType: SignToolType): void;
|
|
13
|
+
saveCanvas(toolType: SignToolType, canvas: HTMLCanvasElement, signaturePad?: SignaturePad): void;
|
|
14
|
+
saveImage(signToolType: SignToolType, img: HTMLImageElement): void;
|
|
15
|
+
loadSignaturePad(signToolType: SignToolType, signaturePad: SignaturePad): Promise<boolean>;
|
|
16
|
+
loadImage(signToolType: SignToolType, canvas: HTMLCanvasElement): Promise<HTMLImageElement | null>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { BasicPoint } from './types';
|
|
2
|
+
declare global {
|
|
3
|
+
interface CSSStyleDeclaration {
|
|
4
|
+
msTouchAction: string | null;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
export interface Options {
|
|
8
|
+
dotSize?: number;
|
|
9
|
+
minDistance?: number;
|
|
10
|
+
backgroundColor?: string;
|
|
11
|
+
penColor?: string;
|
|
12
|
+
throttle?: number;
|
|
13
|
+
velocityFilterWeight?: number;
|
|
14
|
+
onBegin?: (event: MouseEvent | Touch) => void;
|
|
15
|
+
onEnd?: (event: MouseEvent | Touch) => void;
|
|
16
|
+
}
|
|
17
|
+
export interface PointGroup {
|
|
18
|
+
color: string;
|
|
19
|
+
width: number;
|
|
20
|
+
points: BasicPoint[];
|
|
21
|
+
}
|
|
22
|
+
export default class SignaturePad {
|
|
23
|
+
private canvas;
|
|
24
|
+
options: Options;
|
|
25
|
+
dotSize: number;
|
|
26
|
+
minDistance: number;
|
|
27
|
+
backgroundColor: string;
|
|
28
|
+
penColor: string;
|
|
29
|
+
throttle: number;
|
|
30
|
+
velocityFilterWeight: number;
|
|
31
|
+
onBegin?: (event: MouseEvent | Touch) => void;
|
|
32
|
+
onEnd?: (event: MouseEvent | Touch) => void;
|
|
33
|
+
private _ctx;
|
|
34
|
+
private _mouseButtonDown;
|
|
35
|
+
private _isEmpty;
|
|
36
|
+
private _lastPoints;
|
|
37
|
+
private _data;
|
|
38
|
+
private _lastVelocity;
|
|
39
|
+
private _lastWidth;
|
|
40
|
+
private _strokeMoveUpdate;
|
|
41
|
+
constructor(canvas: HTMLCanvasElement, options?: Options);
|
|
42
|
+
clear(): void;
|
|
43
|
+
fromDataURL(dataUrl: string, options?: {
|
|
44
|
+
ratio?: number;
|
|
45
|
+
width?: number;
|
|
46
|
+
height?: number;
|
|
47
|
+
}, callback?: (error?: string | Event) => void): void;
|
|
48
|
+
toDataURL(type?: string, encoderOptions?: number): string;
|
|
49
|
+
on(): void;
|
|
50
|
+
off(): void;
|
|
51
|
+
isEmpty(): boolean;
|
|
52
|
+
fromData(pointGroups: PointGroup[]): void;
|
|
53
|
+
toData(): PointGroup[];
|
|
54
|
+
private _handleMouseDown;
|
|
55
|
+
private _handleMouseMove;
|
|
56
|
+
private _handleMouseUp;
|
|
57
|
+
private _handleTouchStart;
|
|
58
|
+
private _handleTouchMove;
|
|
59
|
+
private _handleTouchEnd;
|
|
60
|
+
private _strokeBegin;
|
|
61
|
+
private _strokeUpdate;
|
|
62
|
+
private _strokeEnd;
|
|
63
|
+
private _handlePointerEvents;
|
|
64
|
+
private _handleMouseEvents;
|
|
65
|
+
private _handleTouchEvents;
|
|
66
|
+
private _reset;
|
|
67
|
+
private _createPoint;
|
|
68
|
+
private _addPoint;
|
|
69
|
+
private _calculateCurveWidths;
|
|
70
|
+
private _strokeWidth;
|
|
71
|
+
private _drawCurveSegment;
|
|
72
|
+
private _drawCurve;
|
|
73
|
+
private _drawDot;
|
|
74
|
+
private _fromData;
|
|
75
|
+
private _toSVG;
|
|
76
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function throttle(fn: (...args: any[]) => any, wait?: number): (this: any, ...args: any[]) => any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export interface BasicPoint {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
time: number;
|
|
5
|
+
}
|
|
6
|
+
export declare class Point implements BasicPoint {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
time: number;
|
|
10
|
+
constructor(x: number, y: number, time?: number);
|
|
11
|
+
distanceTo(start: BasicPoint): number;
|
|
12
|
+
equals(other: BasicPoint): boolean;
|
|
13
|
+
velocityFrom(start: BasicPoint): number;
|
|
14
|
+
}
|
|
15
|
+
export declare class Bezier {
|
|
16
|
+
startPoint: Point;
|
|
17
|
+
control2: BasicPoint;
|
|
18
|
+
control1: BasicPoint;
|
|
19
|
+
endPoint: Point;
|
|
20
|
+
startWidth: number;
|
|
21
|
+
endWidth: number;
|
|
22
|
+
static fromPoints(points: Point[], widths: {
|
|
23
|
+
start: number;
|
|
24
|
+
end: number;
|
|
25
|
+
}): Bezier;
|
|
26
|
+
private static calculateControlPoints;
|
|
27
|
+
constructor(startPoint: Point, control2: BasicPoint, control1: BasicPoint, endPoint: Point, startWidth: number, endWidth: number);
|
|
28
|
+
length(): number;
|
|
29
|
+
private point;
|
|
30
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/// <reference path="../vendor/react/react.d.ts" />
|
|
2
|
+
//@ts-ignore
|
|
3
|
+
import React, { Component, ChangeEvent } from 'react';
|
|
4
|
+
import { BaseToolProps, ISignTool, TypeToolModel } from './types';
|
|
5
|
+
import { SignToolSettings } from '../ViewerOptions';
|
|
6
|
+
export declare class TypeTool extends Component<BaseToolProps, TypeToolModel> implements ISignTool {
|
|
7
|
+
private _mounted;
|
|
8
|
+
private _canvas;
|
|
9
|
+
private _dropdown;
|
|
10
|
+
private _textInput;
|
|
11
|
+
private _pendingFocus;
|
|
12
|
+
private _isDirty;
|
|
13
|
+
private _canvasRuler;
|
|
14
|
+
state: TypeToolModel;
|
|
15
|
+
constructor(props: BaseToolProps, state: TypeToolModel);
|
|
16
|
+
componentDidMount(): void;
|
|
17
|
+
componentWillUnmount(): void;
|
|
18
|
+
componentDidUpdate(): void;
|
|
19
|
+
focusInput(): void;
|
|
20
|
+
render(): React.JSX.Element;
|
|
21
|
+
onTextChange(e: ChangeEvent<HTMLInputElement>): void;
|
|
22
|
+
private renderToolbar;
|
|
23
|
+
get isMounted(): boolean;
|
|
24
|
+
get textColor(): string;
|
|
25
|
+
set textColor(textColor: string);
|
|
26
|
+
get italic(): boolean;
|
|
27
|
+
set italic(italic: boolean);
|
|
28
|
+
get bold(): boolean;
|
|
29
|
+
set bold(bold: boolean);
|
|
30
|
+
set text(text: string);
|
|
31
|
+
get text(): string;
|
|
32
|
+
get fontSize(): number;
|
|
33
|
+
set fontSize(fontSize: number);
|
|
34
|
+
get fontName(): string;
|
|
35
|
+
set fontName(fontName: string);
|
|
36
|
+
get fontNames(): string[];
|
|
37
|
+
get hideToolbar(): boolean;
|
|
38
|
+
get settings(): SignToolSettings;
|
|
39
|
+
setSetting(settingName: string, value: any): void;
|
|
40
|
+
clearText(): void;
|
|
41
|
+
clearCanvas(): void;
|
|
42
|
+
redrawText(): void;
|
|
43
|
+
repaintCanvas(): void;
|
|
44
|
+
markDirty(isDirty: boolean): void;
|
|
45
|
+
get canvasSize(): {
|
|
46
|
+
width: number;
|
|
47
|
+
height: number;
|
|
48
|
+
};
|
|
49
|
+
toDataURL(): string;
|
|
50
|
+
toImageData(): Promise<Uint8Array | null>;
|
|
51
|
+
private onColorSelect;
|
|
52
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/// <reference path="../vendor/i18next.d.ts" />
|
|
2
|
+
//@ts-ignore
|
|
3
|
+
import { i18n } from "i18next";
|
|
4
|
+
//@ts-ignore
|
|
5
|
+
import { ModalPosition } from "@grapecity/core-ui";
|
|
6
|
+
import { SignToolSettings } from "../ViewerOptions";
|
|
7
|
+
import { SignToolStorage } from "./SignToolStorage";
|
|
8
|
+
export type SignToolType = 'Type' | 'Draw' | 'Image';
|
|
9
|
+
export type SignToolDialogModel = {
|
|
10
|
+
autoResizeCanvas?: boolean;
|
|
11
|
+
canvasSize?: {
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
};
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
hideSaveSignature?: boolean;
|
|
17
|
+
isChanged: boolean;
|
|
18
|
+
location?: 'Center' | 'Top' | 'Right' | 'Bottom' | 'Left' | 'TopLeft' | 'TopRight' | 'BottomRight' | 'BottomLeft' | {
|
|
19
|
+
x: number;
|
|
20
|
+
y: number;
|
|
21
|
+
};
|
|
22
|
+
pageIndex?: number;
|
|
23
|
+
tabs?: ('Type' | 'Draw' | 'Image');
|
|
24
|
+
title?: string;
|
|
25
|
+
selectedTab?: SignToolType;
|
|
26
|
+
saveSignature?: boolean;
|
|
27
|
+
subject?: string;
|
|
28
|
+
convertToContent?: boolean;
|
|
29
|
+
showModal: boolean;
|
|
30
|
+
modalPosition?: ModalPosition;
|
|
31
|
+
};
|
|
32
|
+
export type SignToolDialogProps = {};
|
|
33
|
+
export type SignToolModel = {
|
|
34
|
+
penColor?: string;
|
|
35
|
+
penWidth?: number;
|
|
36
|
+
};
|
|
37
|
+
export type BaseToolProps = {
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
settings?: SignToolSettings;
|
|
40
|
+
in17n: i18n;
|
|
41
|
+
signToolStorage: SignToolStorage;
|
|
42
|
+
canvasSize: {
|
|
43
|
+
width: number;
|
|
44
|
+
height: number;
|
|
45
|
+
};
|
|
46
|
+
onChanged: (isDirty: boolean) => void;
|
|
47
|
+
};
|
|
48
|
+
export type TypeToolModel = {
|
|
49
|
+
textColor?: string;
|
|
50
|
+
text?: string;
|
|
51
|
+
fontSize?: number;
|
|
52
|
+
fontName?: string;
|
|
53
|
+
italic?: boolean;
|
|
54
|
+
bold?: boolean;
|
|
55
|
+
};
|
|
56
|
+
export type ImageToolModel = {
|
|
57
|
+
hasImage?: boolean;
|
|
58
|
+
};
|
|
59
|
+
export interface ISignTool {
|
|
60
|
+
toDataURL(): string;
|
|
61
|
+
toImageData(): Promise<Uint8Array | null>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference path="../vendor/react/react.d.ts" />
|
|
2
|
+
//@ts-ignore
|
|
3
|
+
import React, { Component } from 'react';
|
|
4
|
+
import GcPdfViewer from '..';
|
|
5
|
+
import { StructTreeContent, StructTreeNode } from '../Models/ViewerTypes';
|
|
6
|
+
import { StructureTreeModel } from './types';
|
|
7
|
+
export type StructureTreeProps = {
|
|
8
|
+
viewer: GcPdfViewer;
|
|
9
|
+
};
|
|
10
|
+
export declare class StructureTree extends Component<StructureTreeProps, StructureTreeModel> {
|
|
11
|
+
private _mounted;
|
|
12
|
+
private _textlayerreadyHandler;
|
|
13
|
+
componentDidMount(): void;
|
|
14
|
+
componentWillUnmount(): void;
|
|
15
|
+
clearActivePageHighlight(raiseStateChanged?: boolean): void;
|
|
16
|
+
clearMarkedContentHighlight(pageIndexToUpdate: number): void;
|
|
17
|
+
onTextLayerReady(args: any): void;
|
|
18
|
+
raiseStateChanged(): void;
|
|
19
|
+
navigateStructTreeContent(structTreeContent: StructTreeContent, pageIndex: number): Promise<void>;
|
|
20
|
+
toggleStructTreeNodeExpanded: (itemUid: string) => () => void;
|
|
21
|
+
protected _onPageChevronButtonClick: (pageIndex: number) => () => void;
|
|
22
|
+
protected _onPageButtonClick(pageIndex: number): void;
|
|
23
|
+
navigatePage(pageIndex: number): Promise<void>;
|
|
24
|
+
countStructTreeNodeChildren(structTreeNode: StructTreeNode): number;
|
|
25
|
+
private renderStructureTreeNode;
|
|
26
|
+
renderStructureContentNode(structTreeContent: StructTreeContent, pageIndex: number, isSelected: boolean): JSX.Element;
|
|
27
|
+
render(): React.JSX.Element;
|
|
28
|
+
private _consumedClickTime;
|
|
29
|
+
consumeClickEvent(): void;
|
|
30
|
+
get isClickEventConsumed(): boolean;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StructureTree as View } from './StructureTree';
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getSvgIconMarkup(iconName: 'accepted' | 'cancelled' | 'completed' | 'rejected'): string;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
//@ts-ignore
|
|
2
|
+
import { Size } from '@grapecity/core-ui';
|
|
3
|
+
/// <reference path="../vendor/react/react.d.ts" />
|
|
4
|
+
//@ts-ignore
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { AnnotationTypeCode } from '../Annotations/AnnotationTypes';
|
|
7
|
+
export declare const propertyEditorIcons: {
|
|
8
|
+
iconMinus: React.JSX.Element;
|
|
9
|
+
iconPlus: React.JSX.Element;
|
|
10
|
+
};
|
|
11
|
+
export declare const pdfSvgIcons: {
|
|
12
|
+
undo2: React.JSX.Element;
|
|
13
|
+
'font-bold': React.JSX.Element;
|
|
14
|
+
'font-italic': React.JSX.Element;
|
|
15
|
+
'checkbox-checked': React.JSX.Element;
|
|
16
|
+
'checkbox-unchecked': React.JSX.Element;
|
|
17
|
+
close: React.JSX.Element;
|
|
18
|
+
'aspect-ratio': React.JSX.Element;
|
|
19
|
+
search: React.JSX.Element;
|
|
20
|
+
chevron: React.JSX.Element;
|
|
21
|
+
'chevron-accent': React.JSX.Element;
|
|
22
|
+
'animated-spinner': React.JSX.Element;
|
|
23
|
+
'drag-handle': React.JSX.Element;
|
|
24
|
+
download: React.JSX.Element;
|
|
25
|
+
keyboard: React.JSX.Element;
|
|
26
|
+
brush: React.JSX.Element;
|
|
27
|
+
image: React.JSX.Element;
|
|
28
|
+
'image-list': React.JSX.Element;
|
|
29
|
+
save: React.JSX.Element;
|
|
30
|
+
'save-images': React.JSX.Element;
|
|
31
|
+
'theme-change': React.JSX.Element;
|
|
32
|
+
'single-page': React.JSX.Element;
|
|
33
|
+
'continuous-view': React.JSX.Element;
|
|
34
|
+
'view-mode': React.JSX.Element;
|
|
35
|
+
'show-view-tools': React.JSX.Element;
|
|
36
|
+
'show-edit-tools': React.JSX.Element;
|
|
37
|
+
'show-form-editor': React.JSX.Element;
|
|
38
|
+
'toggle-annotation-properties': React.JSX.Element;
|
|
39
|
+
'toggle-form-properties': React.JSX.Element;
|
|
40
|
+
'edit-converted-to-content': React.JSX.Element;
|
|
41
|
+
'edit-free-text': React.JSX.Element;
|
|
42
|
+
'edit-ink': React.JSX.Element;
|
|
43
|
+
'edit-text': React.JSX.Element;
|
|
44
|
+
'edit-square': React.JSX.Element;
|
|
45
|
+
'edit-line': React.JSX.Element;
|
|
46
|
+
'edit-link': React.JSX.Element;
|
|
47
|
+
'edit-circle': React.JSX.Element;
|
|
48
|
+
'edit-stamp': React.JSX.Element;
|
|
49
|
+
'add-stamp-accent': React.JSX.Element;
|
|
50
|
+
'edit-sign-tool': React.JSX.Element;
|
|
51
|
+
'edit-file-attachment': React.JSX.Element;
|
|
52
|
+
'edit-sound': React.JSX.Element;
|
|
53
|
+
'edit-polyline': React.JSX.Element;
|
|
54
|
+
'edit-polygon': React.JSX.Element;
|
|
55
|
+
'edit-highlight': React.JSX.Element;
|
|
56
|
+
'edit-underline': React.JSX.Element;
|
|
57
|
+
'edit-squiggly': React.JSX.Element;
|
|
58
|
+
'edit-strike-out': React.JSX.Element;
|
|
59
|
+
'edit-popup': React.JSX.Element;
|
|
60
|
+
'edit-redact': React.JSX.Element;
|
|
61
|
+
'edit-redact-apply': React.JSX.Element;
|
|
62
|
+
'edit-redact-applied': React.JSX.Element;
|
|
63
|
+
'edit-richmedia': React.JSX.Element;
|
|
64
|
+
'edit-unknown-type': React.JSX.Element;
|
|
65
|
+
'edit-widget-signature': React.JSX.Element;
|
|
66
|
+
'edit-widget-tx-field': React.JSX.Element;
|
|
67
|
+
'edit-widget-tx-text-area': React.JSX.Element;
|
|
68
|
+
'edit-widget-tx-comb': React.JSX.Element;
|
|
69
|
+
'edit-widget-tx-password': React.JSX.Element;
|
|
70
|
+
'edit-widget-btn-checkbox': React.JSX.Element;
|
|
71
|
+
'edit-widget-btn-radio': React.JSX.Element;
|
|
72
|
+
'edit-widget-btn-push': React.JSX.Element;
|
|
73
|
+
'edit-widget-btn-submit': React.JSX.Element;
|
|
74
|
+
'edit-widget-btn-reset': React.JSX.Element;
|
|
75
|
+
'edit-widget-ch-combo': React.JSX.Element;
|
|
76
|
+
'edit-widget-ch-list-box': React.JSX.Element;
|
|
77
|
+
'edit-widget-unknown-type': React.JSX.Element;
|
|
78
|
+
'edit-undo': React.JSX.Element;
|
|
79
|
+
'edit-redo': React.JSX.Element;
|
|
80
|
+
'remove-attachment': React.JSX.Element;
|
|
81
|
+
'edit-select': React.JSX.Element;
|
|
82
|
+
'edit-erase': React.JSX.Element;
|
|
83
|
+
'form-filler': React.JSX.Element;
|
|
84
|
+
'field-invalid': React.JSX.Element;
|
|
85
|
+
'new-document': React.JSX.Element;
|
|
86
|
+
'new-page': React.JSX.Element;
|
|
87
|
+
'delete-page': React.JSX.Element;
|
|
88
|
+
print: React.JSX.Element;
|
|
89
|
+
rotate: React.JSX.Element;
|
|
90
|
+
'confirm-ok': React.JSX.Element;
|
|
91
|
+
'confirm-cancel': React.JSX.Element;
|
|
92
|
+
open: React.JSX.Element;
|
|
93
|
+
'open-pdf': React.JSX.Element;
|
|
94
|
+
'text-selection': React.JSX.Element;
|
|
95
|
+
'hide-annotations': React.JSX.Element;
|
|
96
|
+
pan: React.JSX.Element;
|
|
97
|
+
bookmarks: React.JSX.Element;
|
|
98
|
+
'structure-tree': React.JSX.Element;
|
|
99
|
+
layers: React.JSX.Element;
|
|
100
|
+
thumbnails: React.JSX.Element;
|
|
101
|
+
articles: React.JSX.Element;
|
|
102
|
+
attachments: React.JSX.Element;
|
|
103
|
+
'documents-list': React.JSX.Element;
|
|
104
|
+
share: React.JSX.Element;
|
|
105
|
+
'shared-documents-list': React.JSX.Element;
|
|
106
|
+
'view-mode-on': React.JSX.Element;
|
|
107
|
+
'view-mode-off': React.JSX.Element;
|
|
108
|
+
'edit-mode-on': React.JSX.Element;
|
|
109
|
+
'edit-mode-off': React.JSX.Element;
|
|
110
|
+
'remove-user': React.JSX.Element;
|
|
111
|
+
'doc-properties': React.JSX.Element;
|
|
112
|
+
about: React.JSX.Element;
|
|
113
|
+
'severity-info': React.JSX.Element;
|
|
114
|
+
'severity-warning': React.JSX.Element;
|
|
115
|
+
'severity-error': React.JSX.Element;
|
|
116
|
+
'search-settings': React.JSX.Element;
|
|
117
|
+
'clear-search': React.JSX.Element;
|
|
118
|
+
'pdf-doc-title': React.JSX.Element;
|
|
119
|
+
'close-icon-sm': React.JSX.Element;
|
|
120
|
+
'menu-dots': React.JSX.Element;
|
|
121
|
+
'comments-status-accepted': React.JSX.Element;
|
|
122
|
+
'comments-status-cancelled': React.JSX.Element;
|
|
123
|
+
'comments-status-completed': React.JSX.Element;
|
|
124
|
+
'comments-status-rejected': React.JSX.Element;
|
|
125
|
+
'context-copy': React.JSX.Element;
|
|
126
|
+
'context-add-comment': React.JSX.Element;
|
|
127
|
+
'context-paste': React.JSX.Element;
|
|
128
|
+
'context-cut': React.JSX.Element;
|
|
129
|
+
'context-delete': React.JSX.Element;
|
|
130
|
+
'move-to-top-page': React.JSX.Element;
|
|
131
|
+
'move-to-bottom-page': React.JSX.Element;
|
|
132
|
+
'arrow-expand-horizontal': React.JSX.Element;
|
|
133
|
+
'arrow-expand-all': React.JSX.Element;
|
|
134
|
+
'magnify-minus-outline': React.JSX.Element;
|
|
135
|
+
'magnify-plus-outline': React.JSX.Element;
|
|
136
|
+
magnify: React.JSX.Element;
|
|
137
|
+
'text-tools': React.JSX.Element;
|
|
138
|
+
'draw-tools': React.JSX.Element;
|
|
139
|
+
'attachment-tools': React.JSX.Element;
|
|
140
|
+
'form-tools': React.JSX.Element;
|
|
141
|
+
'page-tools': React.JSX.Element;
|
|
142
|
+
'resize-handle-h': React.JSX.Element;
|
|
143
|
+
'pdf-organizer': React.JSX.Element;
|
|
144
|
+
'dots-three-horizontal': React.JSX.Element;
|
|
145
|
+
'clone-range': React.JSX.Element;
|
|
146
|
+
'merge-external-pdf': React.JSX.Element;
|
|
147
|
+
'pages-range-add': React.JSX.Element;
|
|
148
|
+
'pages-range': React.JSX.Element;
|
|
149
|
+
};
|
|
150
|
+
export declare function renderNoteIcon(annotationType: AnnotationTypeCode, noteCssColor?: string, useColoredIcons?: boolean, size?: Size): React.JSX.Element;
|
|
151
|
+
export type SvgIconKey = 'undo2' | 'font-bold' | 'font-italic' | 'checkbox-checked' | 'checkbox-unchecked' | 'close' | 'aspect-ratio' | 'search' | 'chevron' | 'chevron-accent' | 'animated-spinner' | 'drag-handle' | 'download' | 'keyboard' | 'brush' | 'image' | 'image-list' | 'save' | 'theme-change' | 'single-page' | 'continuous-view' | 'view-mode' | 'show-view-tools' | 'show-edit-tools' | 'show-form-editor' | 'toggle-annotation-properties' | 'toggle-form-properties' | 'edit-converted-to-content' | 'edit-free-text' | 'edit-ink' | 'edit-text' | 'edit-square' | 'edit-line' | 'edit-link' | 'edit-circle' | 'edit-stamp' | 'add-stamp-accent' | 'edit-sign-tool' | 'edit-file-attachment' | 'edit-sound' | 'edit-polyline' | 'edit-polygon' | 'edit-popup' | 'edit-redact' | 'edit-redact-apply' | 'edit-redact-applied' | 'edit-unknown-type' | 'edit-widget-signature' | 'edit-widget-tx-field' | 'edit-widget-tx-text-area' | 'edit-widget-tx-comb' | 'edit-widget-tx-password' | 'edit-widget-btn-checkbox' | 'edit-widget-btn-radio' | 'edit-widget-btn-push' | 'edit-widget-btn-submit' | 'edit-widget-btn-reset' | 'edit-widget-ch-combo' | 'edit-widget-ch-list-box' | 'edit-widget-unknown-type' | 'edit-undo' | 'edit-redo' | 'remove-attachment' | 'edit-select' | 'edit-erase' | 'form-filler' | 'field-invalid' | 'new-document' | 'new-page' | 'delete-page' | 'print' | 'rotate' | 'confirm-ok' | 'confirm-cancel' | 'open' | 'open-pdf' | 'text-selection' | 'hide-annotations' | 'pan' | 'bookmarks' | 'structure-tree' | 'layers' | 'thumbnails' | 'articles' | 'attachments' | 'documents-list' | 'share' | 'shared-documents-list' | 'view-mode-on' | 'view-mode-off' | 'edit-mode-on' | 'edit-mode-off' | 'remove-user' | 'doc-properties' | 'about' | 'pdf-doc-title' | 'close-icon-sm' | 'menu-dots' | 'comments-status-accepted' | 'comments-status-cancelled' | 'comments-status-completed' | 'comments-status-rejected' | 'context-copy' | 'context-paste' | 'context-cut' | 'context-delete' | 'move-to-top-page' | 'move-to-bottom-page' | 'arrow-expand-horizontal' | 'arrow-expand-all' | 'magnify-minus-outline' | 'magnify-plus-outline' | 'magnify' | 'text-tools' | 'draw-tools' | 'attachment-tools' | 'form-tools' | 'page-tools' | 'resize-handle-h';
|
|
152
|
+
export declare function updateSvgIcon(iconKey: SvgIconKey, svgIcon: Element | string): void;
|
|
153
|
+
export declare function getSvgIcon(iconKey: SvgIconKey): Element;
|
|
154
|
+
export declare function applyAlternativeIcons(): void;
|
|
155
|
+
export declare function applyCustomIcons(customIcons?: any): void;
|