@regulaforensics/vp-frontend-document-components 7.6.2051-nightly → 7.6.2053-rc
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 +1 -7
- package/dist/index.d.ts +0 -3
- package/dist/main.iife.js +24 -24
- package/dist/main.js +5069 -5085
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ import { defineComponents, DocumentReaderService } from './node_modules/@regulaf
|
|
|
64
64
|
|
|
65
65
|
#### CDN
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
Connect the script to your `.html` file. Use a CDN link in the following format: `unpkg.com/:package@:version/:file`.
|
|
68
68
|
|
|
69
69
|
For example:
|
|
70
70
|
|
|
@@ -72,12 +72,6 @@ For example:
|
|
|
72
72
|
<script src="https://unpkg.com/@regulaforensics/vp-frontend-document-components@latest/dist/main.iife.js"></script>
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
2\. Import the function `defineComponents` and the class `DocumentReaderService` into your `.js` file:
|
|
76
|
-
|
|
77
|
-
```javascript
|
|
78
|
-
const { defineComponents, DocumentReaderService } = window.RegulaDocumentWebComponent;
|
|
79
|
-
```
|
|
80
|
-
|
|
81
75
|
### Step 2: Add Component
|
|
82
76
|
|
|
83
77
|
* [Smart capture](#smart-capture-component)
|
package/dist/index.d.ts
CHANGED
|
@@ -254,7 +254,6 @@ export declare class DocumentReaderService {
|
|
|
254
254
|
get initializeListener(): TInitializeListener | null;
|
|
255
255
|
set initializeListener(listener: TInitializeListener | null);
|
|
256
256
|
private createProcessImageRequest;
|
|
257
|
-
private prepareImageData;
|
|
258
257
|
private sendMessage;
|
|
259
258
|
prepare(): Promise<void>;
|
|
260
259
|
initialize(initData?: {
|
|
@@ -304,8 +303,6 @@ export declare interface DocumentReaderSettings extends CameraSnapshotSettings {
|
|
|
304
303
|
videoRecord?: boolean | VideoRecordSettings;
|
|
305
304
|
videoCaptureMotionControl?: boolean;
|
|
306
305
|
mobileDelegate?: boolean;
|
|
307
|
-
nextPageAnimationStartDelay?: number;
|
|
308
|
-
nextPageAnimationEndDelay?: number;
|
|
309
306
|
}
|
|
310
307
|
|
|
311
308
|
export declare class DocumentReaderWebComponent extends HTMLElement {
|