@regulaforensics/vp-frontend-document-components 7.5.1863-nightly → 7.5.1865-nightly

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 CHANGED
@@ -934,46 +934,48 @@ This method gives more flexibility in setup, in addition, all new parameters in
934
934
 
935
935
  See all component's settings and attributes in the following table.
936
936
 
937
- | Setting name | Attribute name | Description | Data type | Default value | Values | Available in |
938
- |:------------------------------------------|:-------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------:|:-----------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:------------------------------------:|
939
- | **locale** | **locale** | The language of the component interface. If empty, the language is selected from the browser settings, if it is not found, the system language is taken. | string | `en` | `ru`, `en`, `de`, `pl`, `it`, `hu`, `zh`, `sk`, `uk`, `fr`, `es`, `pt`, `ar`, `nl`, `id`, `vi`, `ko`, `ms`, `ro`, `el`, `tr`, `ja`, `cs`, `th`, `hi`, `bn`, `he`, `fi`, `sv`, `da`, `hr`, `no` | `document-reader`, `camera-snapshot` |
940
- | **internalScenario** | **internal-scenario** | The component document verification scenario. | string | `MrzAndLocate` | `MrzAndLocate`, `MrzOrLocate`, `Mrz`, `Locate`, `Barcode`, `MrzOrBarcode`, `BarcodeAndLocate` | `document-reader` |
941
- | **multipageProcessing** | **multipage-processing** | Whether to allow processing of two pages in cases when the component detects an ID1-sized document. Multipage processing is not triggered for documents of other formats. If `true`, the component asks for the second page and processes it. If `false`, only one page/side of the document is processed regardless the document format. | boolean | `false` | `true`, `false` | `document-reader` |
942
- | **startScreen** | **start-screen** | Whether to show the start screen with two options for the document image uploading: From camera and From gallery. If `true`, the start screen is shown. If `false`, no start screen is shown and instead the camera of the device is turned on automatically to capture the image of the document. | boolean | `false` | `true`, `false` | `document-reader`, `camera-snapshot` |
943
- | **multipleFileInput** | **multiple** | Whether to allow uploading more than one file via the file system. Can be set to `true` only if `startScreen` is `true`. | boolean | `true` | `true`, `false` | `document-reader`, `camera-snapshot` |
944
- | **cameraId** | **camera-id** | Ability to select a camera. You can get the device ID using [navigator.mediaDevices.enumerateDevices()](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices). | string | `undefined` | `camera id string value` | `document-reader`, `camera-snapshot` |
945
- | **devLicense** | **license** | To use the component on test environments, set the base64 license value to the `license` attribute. | string | `undefined` | `base64 license value` | `document-reader` |
946
- | **regulaLogo** | **copyright** | Show Regula copyright footer. | boolean | `true` | `true`, `false` | `document-reader`, `camera-snapshot` |
947
- | **changeCameraButton** | **change-camera** | Show the camera switch button. | boolean | `false` | `true`, `false` | `document-reader`, `camera-snapshot` |
948
- | **closeButton** | **close-button** | Show the close button. | boolean | `true` | `true`, `false` | `document-reader`, `camera-snapshot` |
949
- | **captureButton** | **capture-button** | Show the capture button. | boolean | `true` | `true`, `false` | `document-reader` |
950
- | **skipButton** | | Show the skip button for the second page. | boolean | `true` | `true`, `false` | `document-reader` |
951
- | **captureMode** | | Sets the capture mode. Mode `auto` - recognition starts immediately after the camera starts working. Mode `captureFrame` - recognition of the frame received after pressing the capture button. Mode `captureVideo` - recognition begins after pressing the button, pressing the button again will send the received frame for processing. | string | `auto` | `auto`, `captureVideo`, `captureFrame` | `document-reader` |
952
- | **resolution** | | Sets the resolution of the video stream from the camera. | object | `{ width: 1920, height: 1080 }` | `{ width: number, height: number }` | `document-reader`, `camera-snapshot` |
953
- | **cameraMode** | | Selects the front or rear camera of the device. | object | `environment` | `environment`, `user` | `document-reader`, `camera-snapshot` |
954
- | **flipFrontIcon** | | Sets the front side of the document flip icon. You can set link (`https://example.link.com/icon.png`), image in base64 string (`data:image/svg+xml;base64,PHN2ZyBjbGF...`) or imported image if you use module bundler. | string | `undefined` | `link to image`, `base64 string`, `imported image` | `document-reader` |
955
- | **flipBackIcon** | | Sets the back side of the document flip icon. You can set link (`https://example.link.com/icon.png`), image in base64 string (`data:image/svg+xml;base64,PHN2ZyBjbGF...`) or imported image if you use module bundler. | string | `undefined` | `link to image`, `base64 string`, `imported image` | `document-reader` |
956
- | **cameraFrameBorderWidth** | | Sets the thickness of the document capture frame. | number | 5 | `any number` | `document-reader` |
957
- | **backgroundMaskAlpha** | | Sets the transparency of the background outside the frame. | number | 0.5 | `from 0 to 1` | `document-reader` |
958
- | **cameraFrameLandscapeAspectRatio** | | Sets the aspect ratio of the capture frame for landscape mode. | number | depends on the scenario | `any number` | `document-reader` |
959
- | **cameraFramePortraitAspectRatio** | | Sets the aspect ratio of the capture frame for portrait mode. | number | depends on the scenario | `any number` | `document-reader` |
960
- | **statusIcon** | | Show status icon. | boolean | `true` | `true`, `false` | `document-reader` |
961
- | **statusPositionMultiplier** | | Sets the vertical position of the status message. | number | `undefined` | `from 0 to 2` | `document-reader` |
962
- | **cameraFrameOffsetWidth** | | Sets the offset of the capture frame. | number | `undefined` | `any number` | `document-reader` |
963
- | **cameraFrameVerticalPositionMultiplier** | | Sets the offset of the capture frame from the top edge. | number | `undefined` | `from 0 to 2` | `document-reader` |
964
- | **cameraFrameShapeType** | | Sets the capture frame shape type. | string | `line` | `line`, `corners` | `document-reader` |
965
- | **cameraFrameLineCap** | | Sets the style of the end of the capture frame line when `cameraFrameShapeType='corners'` | string | `butt` | `butt`, `round`, `square` | `document-reader` |
966
- | **cameraFrameLineLength** | | Sets the length of the capture frame line when `cameraFrameShapeType='corners'` | number | 5 | `any number` | `document-reader` |
967
- | **cameraFrameCornerRadius** | | Sets the radius of rounding of the capture frame. | number | 15 | `any number` | `document-reader` |
968
- | **cameraFrameDefaultColor** | | Sets the color of the capture frame. | string | `rgba(255, 255, 255, 0.9)` | `any color string` | `document-reader` |
969
- | **cameraFrameActiveColor** | | Sets the capture frame color when a document is detected. | string | `rgba(30, 130, 76, 0.9)` | `any color string` | `document-reader` |
970
- | **statusTextColor** | | Sets the color of the text message status. | string | `white` | `any color string` | `document-reader`, `camera-snapshot` |
971
- | **statusBackgroundColor** | | Sets the background color of the message status. | string | `rgba(27, 16, 31, 0.5)` | `any color string` | `document-reader`, `camera-snapshot` |
972
- | **cameraFrame** | | Show the capture frame. | boolean | `true` | `true`, `false` | `document-reader` |
973
- | **captureButtonDelay** | | Show the capture button after delay. | number | `undefined` | `any number` | `document-reader` |
974
- | **nonce** | | Sets the unique nonce value to maintain the CSP policy. | string | `undefined` | `unique nonce value` | `document-reader`, `camera-snapshot` |
975
- | **videoRecord** | | Sets the ability to record a video of the document scanning process. If set to true it records the entire process. You can also set the recording delay and recording duration. The video will be available in the component response. | boolean or object | `undefined` | `true`, `false`, `{ delay: number, duration: number }` | `document-reader` |
976
- | **videoCaptureMotionControl** | | Enables device shaking control. | boolean | `false` | `true`, `false` | `document-reader` |
937
+ | Setting name | Attribute name | Description | Data type | Default value | Values | Available in |
938
+ |:------------------------------------------|:-------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------:|:-------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-------------------------------------:|
939
+ | **locale** | **locale** | The language of the component interface. If empty, the language is selected from the browser settings, if it is not found, the system language is taken. | string | `en` | `ru`, `en`, `de`, `pl`, `it`, `hu`, `zh`, `sk`, `uk`, `fr`, `es`, `pt`, `ar`, `nl`, `id`, `vi`, `ko`, `ms`, `ro`, `el`, `tr`, `ja`, `cs`, `th`, `hi`, `bn`, `he`, `fi`, `sv`, `da`, `hr`, `no` | `document-reader`, `camera-snapshot` |
940
+ | **internalScenario** | **internal-scenario** | The component document verification scenario. | string | `MrzAndLocate` | `MrzAndLocate`, `MrzOrLocate`, `Mrz`, `Locate`, `Barcode`, `MrzOrBarcode`, `BarcodeAndLocate` | `document-reader` |
941
+ | **multipageProcessing** | **multipage-processing** | Whether to allow processing of two pages in cases when the component detects an ID1-sized document. Multipage processing is not triggered for documents of other formats. If `true`, the component asks for the second page and processes it. If `false`, only one page/side of the document is processed regardless the document format. | boolean | `false` | `true`, `false` | `document-reader` |
942
+ | **startScreen** | **start-screen** | Whether to show the start screen with two options for the document image uploading: From camera and From gallery. If `true`, the start screen is shown. If `false`, no start screen is shown and instead the camera of the device is turned on automatically to capture the image of the document. | boolean | `false` | `true`, `false` | `document-reader`, `camera-snapshot` |
943
+ | **multipleFileInput** | **multiple** | Whether to allow uploading more than one file via the file system. Can be set to `true` only if `startScreen` is `true`. | boolean | `true` | `true`, `false` | `document-reader`, `camera-snapshot` |
944
+ | **cameraId** | **camera-id** | Ability to select a camera. You can get the device ID using [navigator.mediaDevices.enumerateDevices()](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices). | string | `undefined` | `camera id string value` | `document-reader`, `camera-snapshot` |
945
+ | **devLicense** | **license** | To use the component on test environments, set the base64 license value to the `license` attribute. | string | `undefined` | `base64 license value` | `document-reader` |
946
+ | **regulaLogo** | **copyright** | Show Regula copyright footer. | boolean | `true` | `true`, `false` | `document-reader`, `camera-snapshot` |
947
+ | **changeCameraButton** | **change-camera** | Show the camera switch button. | boolean | `false` | `true`, `false` | `document-reader`, `camera-snapshot` |
948
+ | **closeButton** | **close-button** | Show the close button. | boolean | `true` | `true`, `false` | `document-reader`, `camera-snapshot` |
949
+ | **captureButton** | **capture-button** | Show the capture button. | boolean | `true` | `true`, `false` | `document-reader` |
950
+ | **skipButton** | | Show the skip button for the second page. | boolean | `true` | `true`, `false` | `document-reader` |
951
+ | **captureMode** | | Sets the capture mode. Mode `auto` - recognition starts immediately after the camera starts working. Mode `captureFrame` - recognition of the frame received after pressing the capture button. Mode `captureVideo` - recognition begins after pressing the button, pressing the button again will send the received frame for processing. | string | `auto` | `auto`, `captureVideo`, `captureFrame` | `document-reader` |
952
+ | **resolution** | | Sets the resolution of the video stream from the camera. | object | `{ width: 1920, height: 1080 }` | `{ width: number, height: number }` | `document-reader`, `camera-snapshot` |
953
+ | **cameraMode** | | Selects the front or rear camera of the device. | object | `environment` | `environment`, `user` | `document-reader`, `camera-snapshot` |
954
+ | **flipFrontIcon** | | Sets the front side of the document flip icon. You can set link (`https://example.link.com/icon.png`), image in base64 string (`data:image/svg+xml;base64,PHN2ZyBjbGF...`) or imported image if you use module bundler. | string | `undefined` | `link to image`, `base64 string`, `imported image` | `document-reader` |
955
+ | **flipBackIcon** | | Sets the back side of the document flip icon. You can set link (`https://example.link.com/icon.png`), image in base64 string (`data:image/svg+xml;base64,PHN2ZyBjbGF...`) or imported image if you use module bundler. | string | `undefined` | `link to image`, `base64 string`, `imported image` | `document-reader` |
956
+ | **cameraFrameBorderWidth** | | Sets the thickness of the document capture frame. | number | 5 | `any number` | `document-reader` |
957
+ | **backgroundMaskAlpha** | | Sets the transparency of the background outside the frame. | number | 0.5 | `from 0 to 1` | `document-reader` |
958
+ | **cameraFrameLandscapeAspectRatio** | | Sets the aspect ratio of the capture frame for landscape mode. | number | depends on the scenario | `any number` | `document-reader` |
959
+ | **cameraFramePortraitAspectRatio** | | Sets the aspect ratio of the capture frame for portrait mode. | number | depends on the scenario | `any number` | `document-reader` |
960
+ | **statusIcon** | | Show status icon. | boolean | `true` | `true`, `false` | `document-reader` |
961
+ | **statusPositionMultiplier** | | Sets the vertical position of the status message. | number | `undefined` | `from 0 to 2` | `document-reader` |
962
+ | **cameraFrameOffsetWidth** | | Sets the offset of the capture frame. | number | `undefined` | `any number` | `document-reader` |
963
+ | **cameraFrameVerticalPositionMultiplier** | | Sets the offset of the capture frame from the top edge. | number | `undefined` | `from 0 to 2` | `document-reader` |
964
+ | **cameraFrameShapeType** | | Sets the capture frame shape type. | string | `line` | `line`, `corners` | `document-reader` |
965
+ | **cameraFrameLineCap** | | Sets the style of the end of the capture frame line when `cameraFrameShapeType='corners'` | string | `butt` | `butt`, `round`, `square` | `document-reader` |
966
+ | **cameraFrameLineLength** | | Sets the length of the capture frame line when `cameraFrameShapeType='corners'` | number | 5 | `any number` | `document-reader` |
967
+ | **cameraFrameCornerRadius** | | Sets the radius of rounding of the capture frame. | number | 15 | `any number` | `document-reader` |
968
+ | **cameraFrameDefaultColor** | | Sets the color of the capture frame. | string | `rgba(255, 255, 255, 0.9)` | `any color string` | `document-reader` |
969
+ | **cameraFrameActiveColor** | | Sets the capture frame color when a document is detected. | string | `rgba(30, 130, 76, 0.9)` | `any color string` | `document-reader` |
970
+ | **statusTextColor** | | Sets the color of the text message status. | string | `white` | `any color string` | `document-reader`, `camera-snapshot` |
971
+ | **statusBackgroundColor** | | Sets the background color of the message status. | string | `rgba(27, 16, 31, 0.5)` | `any color string` | `document-reader`, `camera-snapshot` |
972
+ | **cameraFrame** | | Show the capture frame. | boolean | `true` | `true`, `false` | `document-reader` |
973
+ | **captureButtonDelay** | | Show the capture button after delay. | number | `undefined` | `any number` | `document-reader` |
974
+ | **nonce** | | Sets the unique nonce value to maintain the CSP policy. | string | `undefined` | `unique nonce value` | `document-reader`, `camera-snapshot` |
975
+ | **videoRecord** | | Sets the ability to record a video of the document scanning process. If set to true it records the entire process. You can also set the recording delay and recording duration. The video will be available in the component response. | boolean or object | `undefined` | `true`, `false`, `{ delay: number, duration: number }` | `document-reader` |
976
+ | **videoCaptureMotionControl** | | Enables device shaking control. | boolean | `false` | `true`, `false` | `document-reader` |
977
+ | **fromCameraButton** | | Show the camera button. | boolean | `true` | `true`, `false` | `document-reader`, `camera-snapshot` |
978
+ | **uploadFileButton** | | Show the files button. | boolean | `true` | `true`, `false` | `document-reader`, `camera-snapshot` |
977
979
 
978
980
  ### Backend reprocessing
979
981
 
@@ -1111,55 +1113,54 @@ body.append(element);
1111
1113
 
1112
1114
  See the following table with localized labels, used in the components.
1113
1115
 
1114
- | Label | Default message in `en` locale | Used in |
1115
- |:-------------------------------|:---------------------------------------------------------------------------------------------|:------------------------------------:|
1116
- | **success** | Success! | `document-reader`, `camera-snapshot` |
1117
- | **fileCorrupt** | This file is corrupt or not supported | `document-reader`, `camera-snapshot` |
1118
- | **selectAnotherFile** | Please select another file | `document-reader`, `camera-snapshot` |
1119
- | **error** | Error! | `document-reader`, `camera-snapshot` |
1120
- | **somethingWentWrong** | Something went wrong | `document-reader`, `camera-snapshot` |
1121
- | **tryAgain** | Try again | `document-reader`, `camera-snapshot` |
1122
- | **fromCamera** | From camera | `document-reader`, `camera-snapshot` |
1123
- | **fromGallery** | From gallery | `document-reader`, `camera-snapshot` |
1124
- | **fromOtherPhone** | From other phone | `document-reader`, `camera-snapshot` |
1125
- | **cameraUnavailable** | Camera unavailable! | `document-reader`, `camera-snapshot` |
1126
- | **preparingCamera** | Preparing the camera... | `document-reader`, `camera-snapshot` |
1127
- | **noCameraAvailable** | No camera available | `document-reader`, `camera-snapshot` |
1128
- | **incorrectCameraId** | No camera with the specified ID found. | `document-reader`, `camera-snapshot` |
1129
- | **allowAccessToCamera** | Allow access to the camera and reload this page to continue. | `document-reader`, `camera-snapshot` |
1130
- | **cameraConnection** | Make sure the camera is connected correctly. | `document-reader`, `camera-snapshot` |
1131
- | **checkCameraId** | Check if the specified camera ID is correct. | `document-reader`, `camera-snapshot` |
1132
- | **scanIDInBrowser** | Scan an ID in your browser | `document-reader` |
1133
- | **useYourDeviceCamera** | Use your device camera to scan a document or select a photo of the document from the gallery | `document-reader` |
1134
- | **processingFinished** | Processing finished. | `document-reader` |
1135
- | **largeFile** | This file is too large to be uploaded | `document-reader` |
1136
- | **selectSmallerFile** | Please select a smaller file | `document-reader` |
1137
- | **versionNotSupported** | Your browser version is not supported | `document-reader` |
1138
- | **httpNotSupported** | HTTPS is not used. | `document-reader` |
1139
- | **insecurePageContext** | Insecure page context. | `document-reader` |
1140
- | **updateBrowser** | Update your browser version | `document-reader` |
1141
- | **licenseError** | A license error has occurred | `document-reader` |
1142
- | **licenseExpired** | The license cannot be found or has expired | `document-reader` |
1143
- | **timeout** | Timeout | `document-reader` |
1144
- | **processing** | Processing... | `document-reader` |
1145
- | **preparingService** | Preparing the service... | `document-reader` |
1146
- | **placeDocumentIntoFrame** | Fit the document into the frame | `document-reader` |
1147
- | **noFocus** | No camera focus | `document-reader` |
1148
- | **moveCloser** | Move closer | `document-reader` |
1149
- | **glaresOnDocument** | Avoid glare on the document | `document-reader` |
1150
- | **holdDocumentStraight** | Hold the document straight | `document-reader` |
1151
- | **documentProcessing** | Document processing... | `document-reader` |
1152
- | **flipDocument** | Flip the document | `document-reader` |
1153
- | **verified** | Verified! | `document-reader` |
1154
- | **keepDeviceStill** | Hold the device still | `document-reader` |
1155
- | **otherDeviceCardTitle** | Continue on your phone | `document-reader` |
1156
- | **otherDeviceCardSubtitle** | The camera quality on the phone is better | `document-reader` |
1157
- | **otherDeviceCardNote** | Scan QR on your phone | `document-reader` |
1158
- | **positionDocumentCenter** | Position the document in the center | `camera-snapshot` |
1159
- | **photoCapturedSuccessfully** | The photo is captured successfully. | `camera-snapshot` |
1160
- | **uploadPhoto** | Upload a photo | `camera-snapshot` |
1161
- | **useCameraOrGallery** | Use your device camera or select a photo from the gallery | `camera-snapshot` |
1162
- | **statusAwaitingReprocessing** | Awaiting reprocessing | `camera-snapshot` |
1116
+ | Label | Default message in `en` locale | Used in |
1117
+ |:---------------------------------|:-------------------------------------------------------------------------------------------------------|:------------------------------------:|
1118
+ | **done** | Done! | `document-reader`, `camera-snapshot` |
1119
+ | **fileCorrupt** | This file is corrupt or not supported | `document-reader`, `camera-snapshot` |
1120
+ | **somethingWentWrong** | Something went wrong | `document-reader`, `camera-snapshot` |
1121
+ | **tryAgain** | Try again | `document-reader`, `camera-snapshot` |
1122
+ | **cameraUnavailable** | Camera unavailable! | `document-reader`, `camera-snapshot` |
1123
+ | **preparingCamera** | Preparing the camera... | `document-reader`, `camera-snapshot` |
1124
+ | **noCameraAvailable** | No camera available | `document-reader`, `camera-snapshot` |
1125
+ | **incorrectCameraId** | No camera with the specified ID found. | `document-reader`, `camera-snapshot` |
1126
+ | **allowAccessToCamera** | Allow access to the camera and reload this page to continue. | `document-reader`, `camera-snapshot` |
1127
+ | **cameraConnection** | Make sure the camera is connected correctly. | `document-reader`, `camera-snapshot` |
1128
+ | **checkCameraId** | Check if the specified camera ID is correct. | `document-reader`, `camera-snapshot` |
1129
+ | **gallery** | Gallery | `document-reader`, `camera-snapshot` |
1130
+ | **files** | Files | `document-reader`, `camera-snapshot` |
1131
+ | **camera** | Camera | `document-reader`, `camera-snapshot` |
1132
+ | **largeFile** | This file is too large to be uploaded | `document-reader` |
1133
+ | **versionNotSupported** | Your browser version is not supported | `document-reader` |
1134
+ | **httpNotSupported** | HTTPS is not used | `document-reader` |
1135
+ | **insecurePageContext** | Insecure page context | `document-reader` |
1136
+ | **timeout** | Timeout | `document-reader` |
1137
+ | **processing** | Processing... | `document-reader` |
1138
+ | **preparingService** | Preparing the service... | `document-reader` |
1139
+ | **placeDocumentIntoFrame** | Fit the document into the frame | `document-reader` |
1140
+ | **noFocus** | No camera focus | `document-reader` |
1141
+ | **moveCloser** | Move closer | `document-reader` |
1142
+ | **glaresOnDocument** | Avoid glare on the document | `document-reader` |
1143
+ | **holdDocumentStraight** | Hold the document straight | `document-reader` |
1144
+ | **documentProcessing** | Document processing... | `document-reader` |
1145
+ | **flipDocument** | Flip the document | `document-reader` |
1146
+ | **keepDeviceStill** | Hold the device still | `document-reader` |
1147
+ | **positionDocumentCenter** | Position the document in the center | `camera-snapshot` |
1148
+ | **uploadPhoto** | Upload a photo | `camera-snapshot` |
1149
+ | **scanQRCode** | Scan QR code | `document-reader` |
1150
+ | **openPhoneCamera** | Open the camera on your mobile device, scan the QR code, and follow the link | `document-reader` |
1151
+ | **pleaseWait** | Please wait... | `document-reader` |
1152
+ | **mobileDevice** | Mobile device | `document-reader` |
1153
+ | **verifyYourIdentity** | Verify your identity document | `document-reader` |
1154
+ | **fromCameraFilesMobileDesktop** | Capture a document using the computer’s camera, or upload it from files, or scan it on a mobile device | `document-reader` |
1155
+ | **fromCameraGalleryMobile** | Capture a document using the computer’s camera, or upload it from gallery | `document-reader` |
1156
+ | **badLicense** | The license cannot be found or has expired | `document-reader` |
1157
+ | **fromCameraFilesDesktop** | Capture a document using the computer’s camera, or upload it from files | `document-reader` |
1158
+ | **fromCameraMobileDesktop** | Capture a document using the computer’s camera, or scan it on a mobile device | `document-reader` |
1159
+ | **fromFilesMobileDesktop** | Upload a document from files, or scan it on a mobile device | `document-reader` |
1160
+ | **fromCameraDesktop** | Use the computer's camera to capture a document | `document-reader` |
1161
+ | **fromFilesDesktop** | Pick a document from the files and upload it | `document-reader` |
1162
+ | **fromMobileDesktop** | Use your mobile camera to capture a document | `document-reader` |
1163
+ | **fromGalleryMobile** | Pick a document from the gallery and upload it | `document-reader` |
1163
1164
 
1164
1165
  ## Document Reader Processor
1165
1166
 
package/dist/index.d.ts CHANGED
@@ -48,6 +48,8 @@ export declare interface CameraSnapshotSettings {
48
48
  nonce?: string;
49
49
  statusTextColor?: string;
50
50
  statusBackgroundColor?: string;
51
+ fromCameraButton?: boolean;
52
+ uploadFileButton?: boolean;
51
53
  }
52
54
 
53
55
  export declare type CaptureFrameType = {