@gembox/pdfviewer 2026.8.101 → 2026.9.100
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/dist/es/pdfviewer.css +2 -2
- package/dist/es/pdfviewer.d.ts +43 -0
- package/dist/es/pdfviewer.js +9146 -8650
- package/dist/iife/pdfviewer.css +2 -2
- package/dist/iife/pdfviewer.js +39 -39
- package/package.json +1 -1
package/dist/es/pdfviewer.d.ts
CHANGED
|
@@ -163,6 +163,13 @@ export declare enum AnnotationType {
|
|
|
163
163
|
* This annotation type is used for adding free text to PDF documents.
|
|
164
164
|
*/
|
|
165
165
|
FREETEXT,
|
|
166
|
+
/**
|
|
167
|
+
* Represents an image annotation.
|
|
168
|
+
*
|
|
169
|
+
* @remarks
|
|
170
|
+
* This annotation type is used for adding images to PDF documents.
|
|
171
|
+
*/
|
|
172
|
+
IMAGE,
|
|
166
173
|
/**
|
|
167
174
|
* Represents an electronic signature annotation.
|
|
168
175
|
*
|
|
@@ -844,6 +851,30 @@ export declare class HandDrawingUI implements VisibilityElement {
|
|
|
844
851
|
export declare interface HandDrawingUIOptions extends VisibilityOption {
|
|
845
852
|
}
|
|
846
853
|
|
|
854
|
+
/**
|
|
855
|
+
* Represents the image component in the PDF viewer's toolbar.
|
|
856
|
+
*
|
|
857
|
+
* @remarks
|
|
858
|
+
* This class provides functionality for managing images (stamps),
|
|
859
|
+
* including visibility control and an add button for creating new images.
|
|
860
|
+
*/
|
|
861
|
+
export declare class ImageUI implements VisibilityElement {
|
|
862
|
+
/** @inheritdoc */
|
|
863
|
+
get isVisible(): boolean;
|
|
864
|
+
/** @inheritdoc */
|
|
865
|
+
set isVisible(value: boolean);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* Represents options for configuring the image feature in the PDF viewer.
|
|
870
|
+
*
|
|
871
|
+
* @remarks
|
|
872
|
+
* This interface provides control over whether the image controls are visible.
|
|
873
|
+
* It allows users to enable or disable the ability to add and configure images in the viewer.
|
|
874
|
+
*/
|
|
875
|
+
export declare interface ImageUIOptions extends VisibilityOption {
|
|
876
|
+
}
|
|
877
|
+
|
|
847
878
|
/**
|
|
848
879
|
* Represents nested message structures where each key can map to either a string or another nested messages object.
|
|
849
880
|
*
|
|
@@ -1658,6 +1689,14 @@ export declare class ToolbarUI {
|
|
|
1658
1689
|
* the visual highlighting of search results within the HTML-rendered PDF content.
|
|
1659
1690
|
*/
|
|
1660
1691
|
readonly search: SearchUI;
|
|
1692
|
+
/**
|
|
1693
|
+
* Gets the image controls for adding and configuring images.
|
|
1694
|
+
*
|
|
1695
|
+
* @remarks
|
|
1696
|
+
* The image controls allow users to add and customize images
|
|
1697
|
+
* (stamps) in PDF documents.
|
|
1698
|
+
*/
|
|
1699
|
+
readonly image: ImageUI;
|
|
1661
1700
|
}
|
|
1662
1701
|
|
|
1663
1702
|
/**
|
|
@@ -1725,6 +1764,10 @@ export declare interface ToolbarUIOptions {
|
|
|
1725
1764
|
* allowing users to add and customize freehand drawings in PDF documents.
|
|
1726
1765
|
*/
|
|
1727
1766
|
handDrawing?: HandDrawingUIOptions;
|
|
1767
|
+
/**
|
|
1768
|
+
* Options for the image feature in the toolbar.
|
|
1769
|
+
*/
|
|
1770
|
+
image?: ImageUIOptions;
|
|
1728
1771
|
}
|
|
1729
1772
|
|
|
1730
1773
|
/**
|