dwt 19.1.0 → 19.2.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/README.md +136 -56
- package/dist/dist/DynamicWebTWAINServiceSetup-arm64.deb +0 -0
- package/dist/dist/DynamicWebTWAINServiceSetup.deb +0 -0
- package/dist/dist/DynamicWebTWAINServiceSetup.msi +0 -0
- package/dist/dist/DynamicWebTWAINServiceSetup.pkg +0 -0
- package/dist/dist/DynamicWebTWAINServiceSetup.rpm +0 -0
- package/dist/dynamsoft.webtwain.min.js +35 -27
- package/dist/dynamsoft.webtwain.min.mjs +35 -27
- package/dist/src/dynamsoft.lts.js +10 -10
- package/dist/src/dynamsoft.webtwain.css +1 -1
- package/dist/src/dynamsoft.webtwain.viewer.css +3 -3
- package/dist/src/dynamsoft.webtwain.viewer.js +3 -3
- package/dist/types/RemoteScan.d.ts +3 -3
- package/dist/types/WebTwain.Acquire.d.ts +4 -0
- package/dist/types/WebTwain.Buffer.d.ts +4 -0
- package/dist/types/WebTwain.Edit.d.ts +1 -1
- package/dist/types/WebTwain.Viewer.d.ts +2 -2
- package/dist/types/index.d.ts +1 -6
- package/dwt-openapi.yaml +5 -0
- package/package.json +1 -1
|
@@ -56,15 +56,15 @@ export interface RemoteScanObject {
|
|
|
56
56
|
/**
|
|
57
57
|
* @param forceRefresh Default value: false.
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
getServices(forceRefresh?: boolean): Promise<ServiceInfo[]>;
|
|
60
60
|
/**
|
|
61
61
|
* Set the default dynamsoftService for storing the data
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
setDefaultService(serviceInfo:ServiceInfo):Promise<void>;
|
|
64
64
|
/**
|
|
65
65
|
* Get the default dynamsoftService.
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
getDefaultService():ServiceInfo|null;
|
|
68
68
|
/**
|
|
69
69
|
* Get image(s) form dynamsoftService.
|
|
70
70
|
* @param indices Specify the image(s).
|
|
@@ -355,6 +355,10 @@ export interface WebTwainAcquire extends WebTwainEdit {
|
|
|
355
355
|
* Return the value of the top edge of the current image frame (in Unit).
|
|
356
356
|
*/
|
|
357
357
|
readonly ImageLayoutFrameTop: number;
|
|
358
|
+
/**
|
|
359
|
+
* Return the frame number of the current image.
|
|
360
|
+
*/
|
|
361
|
+
readonly ImageLayoutFrameNumber: number;
|
|
358
362
|
/**
|
|
359
363
|
* Return the document number of the current image.
|
|
360
364
|
*/
|
|
@@ -32,6 +32,10 @@ export interface WebTwainBuffer extends WebTwainIO {
|
|
|
32
32
|
* @param tag The tag used as the filter.
|
|
33
33
|
*/
|
|
34
34
|
FilterImagesByTag(tag: string): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Stop filtering images by tag.
|
|
37
|
+
*/
|
|
38
|
+
ClearFilter(): boolean;
|
|
35
39
|
/**
|
|
36
40
|
* Return the pixel bit depth of the specified image.
|
|
37
41
|
* @param index Specify the image.
|
|
@@ -233,9 +233,9 @@ export interface DynamsoftViewer {
|
|
|
233
233
|
y: string; //Default is "center", values: "top", "bottom", "center"
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
|
-
* Whether the viewer
|
|
236
|
+
* Whether the viewer displays the focus border after selecting with the Tab key. Default value: false.
|
|
237
237
|
*/
|
|
238
|
-
|
|
238
|
+
focusOutlineEnabled: boolean; // default value: false
|
|
239
239
|
/**
|
|
240
240
|
* [Scope] Main viewer
|
|
241
241
|
* [Description] Return the index of the next image of the currently selected image.
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// Project: https://www.dynamsoft.com/products/webtwain_overview.aspx
|
|
2
|
-
// Definitions by: Xiao Ling <https://github.com/yushulx>
|
|
3
|
-
// Josh Hall <https://github.com/jbh>
|
|
4
|
-
// Lincoln Hu <https://github.com/lincoln2018>
|
|
5
|
-
// Tom Kent <https://github.com/Tom-Dynamsoft>
|
|
6
|
-
// Dave Sueltenfuss <https://github.com/dsueltenfuss>
|
|
7
2
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
8
3
|
// TypeScript Version: 3.1
|
|
9
4
|
|
|
@@ -13,7 +8,7 @@
|
|
|
13
8
|
*
|
|
14
9
|
* Copyright 2025, Dynamsoft Corporation
|
|
15
10
|
* Author: Dynamsoft Support Team
|
|
16
|
-
* Version: 19.
|
|
11
|
+
* Version: 19.2
|
|
17
12
|
*/
|
|
18
13
|
import Dynamsoft from "./Dynamsoft";
|
|
19
14
|
export default Dynamsoft;
|
package/dwt-openapi.yaml
CHANGED
|
@@ -4229,6 +4229,11 @@ components:
|
|
|
4229
4229
|
will be locked, if the scanner is a twain source, the source will be
|
|
4230
4230
|
opened automatically. Recommend to set it as false, avoid your
|
|
4231
4231
|
papers may be scanned by others.
|
|
4232
|
+
requestFocusForScanningUI:
|
|
4233
|
+
type: boolean
|
|
4234
|
+
default: true
|
|
4235
|
+
description: >-
|
|
4236
|
+
If true, the scanner UI will be brought to the top and get focus.
|
|
4232
4237
|
scannerFailureTimeout:
|
|
4233
4238
|
type: integer
|
|
4234
4239
|
format: int32
|