dwt 18.1.0 → 18.1.2-beta
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.
|
@@ -327,7 +327,7 @@ export interface DynamsoftViewer {
|
|
|
327
327
|
* [Description] Create a Dynamsoft Viewer instance and bind it to the WebTwain instance.
|
|
328
328
|
* @param element Specify an HTML element to create the viewer.
|
|
329
329
|
*/
|
|
330
|
-
bind(element: HTMLDivElement | HTMLElement
|
|
330
|
+
bind(element: HTMLDivElement | HTMLElement): boolean;
|
|
331
331
|
/**
|
|
332
332
|
* [Scope] Main viewer
|
|
333
333
|
* [Description] Show the viewer (Main viewer, ImageEditor, ThumbnailViewer, CustomElement).
|
|
@@ -839,25 +839,7 @@ export interface Area {
|
|
|
839
839
|
right: number;
|
|
840
840
|
bottom: number;
|
|
841
841
|
}
|
|
842
|
-
|
|
843
|
-
/**
|
|
844
|
-
* Save button click event
|
|
845
|
-
*/
|
|
846
|
-
onSaveFunc?: () => void;
|
|
847
|
-
/**
|
|
848
|
-
* Upload button click event
|
|
849
|
-
*/
|
|
850
|
-
onUploadFunc?: () => void;
|
|
851
|
-
/**
|
|
852
|
-
* Remove button click event
|
|
853
|
-
*/
|
|
854
|
-
onRemoveSelectedFunc?: () => void;
|
|
855
|
-
onExitFunc?: () => void;
|
|
856
|
-
/**
|
|
857
|
-
* Get CustomElement. Can display save & upload viewer in CustomElement.
|
|
858
|
-
*/
|
|
859
|
-
getCustomElement(): CustomElement;
|
|
860
|
-
}
|
|
842
|
+
|
|
861
843
|
export interface CheckboxSettings {
|
|
862
844
|
visibility?: string; //"visible":hidden", default:"hidden"
|
|
863
845
|
width?: number | string; //default: "24px", number unit: px, string value: "24px"/"10%", relative to parent container
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dwt",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.2-beta",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Dynamsoft",
|
|
6
6
|
"url": "https://www.dynamsoft.com"
|
|
7
7
|
},
|
|
8
8
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"dynamsoft-javascript-barcode": "9.2.13"
|
|
11
10
|
},
|
|
12
11
|
"description": "Dynamic Web TWAIN is a TWAIN/ICA/SANE-based scanning SDK software specifically designed for web applications running on Windows/macOS/Linux. With just a few lines of code, you can develop robust applications to scan documents from TWAIN/ICA/SANE-compatible scanners, edit the scanned images and save them to a local/server file system or document repository.",
|
|
13
12
|
"devDependencies": {},
|