@regulaforensics/vp-frontend-document-components 7.3.1801-nightly → 7.3.1802-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
@@ -395,21 +395,23 @@ Available fields of `event.detail.data` object:
395
395
 
396
396
  #### Action Failure Reasons
397
397
 
398
- | Reason | Description of the reason |
399
- |:---------------------------|:-----------------------------------|
400
- | `WASM_ERROR` | Error in WASM |
401
- | `WASM_LICENSE` | Missing or incorrect license |
402
- | `FILE_SIZE` | The file size is too large |
403
- | `INCORRECT_FILE` | Problems with reading the file |
404
- | `INCORRECT_SCENARIO` | Scenario is not supported |
405
- | `MISSING_SCENARIO` | Scenario is missing |
406
- | `UNKNOWN_ERROR` | Unknown error |
407
- | `NOT_SUPPORTED` | The browser is not supported |
408
- | `CAMERA_UNKNOWN_ERROR` | Unknown camera error |
409
- | `CAMERA_PERMISSION_DENIED` | Access to the camera is prohibited |
410
- | `NO_CAMERA` | There is no camera available |
411
- | `INCORRECT_CAMERA_ID` | Camera with this ID was not found |
412
- | `CONNECTION_ERROR` | Connection errors |
398
+ | Reason | Description of the reason |
399
+ |:---------------------------|:-------------------------------------------------------|
400
+ | `WASM_ERROR` | Error in WASM |
401
+ | `WASM_LICENSE` | Missing or incorrect license |
402
+ | `FILE_SIZE` | The file size is too large |
403
+ | `INCORRECT_FILE` | Problems with reading the file |
404
+ | `INCORRECT_SCENARIO` | Scenario is not supported |
405
+ | `MISSING_SCENARIO` | Scenario is missing |
406
+ | `UNKNOWN_ERROR` | Unknown error |
407
+ | `NOT_SUPPORTED` | The browser is not supported |
408
+ | `HTTP_NOT_SUPPORTED` | The web component does not work over the http protocol |
409
+ | `INSECURE_PAGE_CONTEXT` | The web component does not work in insecure context |
410
+ | `CAMERA_UNKNOWN_ERROR` | Unknown camera error |
411
+ | `CAMERA_PERMISSION_DENIED` | Access to the camera is prohibited |
412
+ | `NO_CAMERA` | There is no camera available |
413
+ | `INCORRECT_CAMERA_ID` | Camera with this ID was not found |
414
+ | `CONNECTION_ERROR` | Connection errors |
413
415
 
414
416
  #### Event Generation Logic
415
417
 
@@ -1033,48 +1035,50 @@ body.append(element);
1033
1035
 
1034
1036
  See the following table with localized labels, used in the components.
1035
1037
 
1036
- | Label | Default message in `en` locale | Used in |
1037
- |:------------------------------|:---------------------------------------------------------------------------------------------|:------------------------------------:|
1038
- | **success** | Success! | `document-reader`, `camera-snapshot` |
1039
- | **fileCorrupt** | This file is corrupt or not supported | `document-reader`, `camera-snapshot` |
1040
- | **selectAnotherFile** | Please select another file | `document-reader`, `camera-snapshot` |
1041
- | **error** | Error! | `document-reader`, `camera-snapshot` |
1042
- | **somethingWentWrong** | Something went wrong | `document-reader`, `camera-snapshot` |
1043
- | **tryAgain** | Try again | `document-reader`, `camera-snapshot` |
1044
- | **fromCamera** | From camera | `document-reader`, `camera-snapshot` |
1045
- | **fromGallery** | From gallery | `document-reader`, `camera-snapshot` |
1046
- | **cameraUnavailable** | Camera unavailable! | `document-reader`, `camera-snapshot` |
1047
- | **preparingCamera** | Preparing the camera... | `document-reader`, `camera-snapshot` |
1048
- | **noCameraAvailable** | No camera available | `document-reader`, `camera-snapshot` |
1049
- | **incorrectCameraId** | No camera with the specified ID found. | `document-reader`, `camera-snapshot` |
1050
- | **allowAccessToCamera** | Allow access to the camera and reload this page to continue. | `document-reader`, `camera-snapshot` |
1051
- | **cameraConnection** | Make sure the camera is connected correctly. | `document-reader`, `camera-snapshot` |
1052
- | **checkCameraId** | Check if the specified camera ID is correct. | `document-reader`, `camera-snapshot` |
1053
- | **scanIDInBrowser** | Scan an ID in your browser | `document-reader` |
1054
- | **useYourDeviceCamera** | Use your device camera to scan a document or select a photo of the document from the gallery | `document-reader` |
1055
- | **processingFinished** | Processing finished. | `document-reader` |
1056
- | **largeFile** | This file is too large to be uploaded | `document-reader` |
1057
- | **selectSmallerFile** | Please select a smaller file | `document-reader` |
1058
- | **versionNotSupported** | Your browser version is not supported | `document-reader` |
1059
- | **updateBrowser** | Update your browser version | `document-reader` |
1060
- | **licenseError** | A license error has occurred | `document-reader` |
1061
- | **licenseExpired** | The license cannot be found or has expired | `document-reader` |
1062
- | **timeout** | Timeout | `document-reader` |
1063
- | **processing** | Processing... | `document-reader` |
1064
- | **preparingService** | Preparing the service... | `document-reader` |
1065
- | **placeDocumentIntoFrame** | Fit the document into the frame | `document-reader` |
1066
- | **noFocus** | No camera focus | `document-reader` |
1067
- | **moveCloser** | Move closer | `document-reader` |
1068
- | **glaresOnDocument** | Avoid glare on the document | `document-reader` |
1069
- | **holdDocumentStraight** | Hold the document straight | `document-reader` |
1070
- | **documentProcessing** | Document processing... | `document-reader` |
1071
- | **flipDocument** | Flip the document | `document-reader` |
1072
- | **verified** | Verified! | `document-reader` |
1073
- | **keepDeviceStill** | Hold the device still | `document-reader` |
1074
- | **positionDocumentCenter** | Position the document in the center | `camera-snapshot` |
1075
- | **photoCapturedSuccessfully** | The photo is captured successfully. | `camera-snapshot` |
1076
- | **uploadPhoto** | Upload a photo | `camera-snapshot` |
1077
- | **useCameraOrGallery** | Use your device camera or select a photo from the gallery | `camera-snapshot` |
1038
+ | Label | Default message in `en` locale | Used in |
1039
+ |:------------------------------|:-----------------------------------------------------------------------------------------------|:------------------------------------:|
1040
+ | **success** | Success! | `document-reader`, `camera-snapshot` |
1041
+ | **fileCorrupt** | This file is corrupt or not supported | `document-reader`, `camera-snapshot` |
1042
+ | **selectAnotherFile** | Please select another file | `document-reader`, `camera-snapshot` |
1043
+ | **error** | Error! | `document-reader`, `camera-snapshot` |
1044
+ | **somethingWentWrong** | Something went wrong | `document-reader`, `camera-snapshot` |
1045
+ | **tryAgain** | Try again | `document-reader`, `camera-snapshot` |
1046
+ | **fromCamera** | From camera | `document-reader`, `camera-snapshot` |
1047
+ | **fromGallery** | From gallery | `document-reader`, `camera-snapshot` |
1048
+ | **cameraUnavailable** | Camera unavailable! | `document-reader`, `camera-snapshot` |
1049
+ | **preparingCamera** | Preparing the camera... | `document-reader`, `camera-snapshot` |
1050
+ | **noCameraAvailable** | No camera available | `document-reader`, `camera-snapshot` |
1051
+ | **incorrectCameraId** | No camera with the specified ID found. | `document-reader`, `camera-snapshot` |
1052
+ | **allowAccessToCamera** | Allow access to the camera and reload this page to continue. | `document-reader`, `camera-snapshot` |
1053
+ | **cameraConnection** | Make sure the camera is connected correctly. | `document-reader`, `camera-snapshot` |
1054
+ | **checkCameraId** | Check if the specified camera ID is correct. | `document-reader`, `camera-snapshot` |
1055
+ | **scanIDInBrowser** | Scan an ID in your browser | `document-reader` |
1056
+ | **useYourDeviceCamera** | Use your device camera to scan a document or select a photo of the document from the gallery | `document-reader` |
1057
+ | **processingFinished** | Processing finished. | `document-reader` |
1058
+ | **largeFile** | This file is too large to be uploaded | `document-reader` |
1059
+ | **selectSmallerFile** | Please select a smaller file | `document-reader` |
1060
+ | **versionNotSupported** | Your browser version is not supported | `document-reader` |
1061
+ | **httpNotSupported** | HTTPS is not used. | `document-reader` |
1062
+ | **insecurePageContext** | Insecure page context. | `document-reader` |
1063
+ | **updateBrowser** | Update your browser version | `document-reader` |
1064
+ | **licenseError** | A license error has occurred | `document-reader` |
1065
+ | **licenseExpired** | The license cannot be found or has expired | `document-reader` |
1066
+ | **timeout** | Timeout | `document-reader` |
1067
+ | **processing** | Processing... | `document-reader` |
1068
+ | **preparingService** | Preparing the service... | `document-reader` |
1069
+ | **placeDocumentIntoFrame** | Fit the document into the frame | `document-reader` |
1070
+ | **noFocus** | No camera focus | `document-reader` |
1071
+ | **moveCloser** | Move closer | `document-reader` |
1072
+ | **glaresOnDocument** | Avoid glare on the document | `document-reader` |
1073
+ | **holdDocumentStraight** | Hold the document straight | `document-reader` |
1074
+ | **documentProcessing** | Document processing... | `document-reader` |
1075
+ | **flipDocument** | Flip the document | `document-reader` |
1076
+ | **verified** | Verified! | `document-reader` |
1077
+ | **keepDeviceStill** | Hold the device still | `document-reader` |
1078
+ | **positionDocumentCenter** | Position the document in the center | `camera-snapshot` |
1079
+ | **photoCapturedSuccessfully** | The photo is captured successfully. | `camera-snapshot` |
1080
+ | **uploadPhoto** | Upload a photo | `camera-snapshot` |
1081
+ | **useCameraOrGallery** | Use your device camera or select a photo from the gallery | `camera-snapshot` |
1078
1082
 
1079
1083
  ## Document Reader Processor
1080
1084
 
package/dist/index.d.ts CHANGED
@@ -320,6 +320,8 @@ export declare interface DocumentTranslations {
320
320
  largeFile?: string;
321
321
  selectSmallerFile?: string;
322
322
  versionNotSupported?: string;
323
+ httpNotSupported?: string;
324
+ insecurePageContext?: string;
323
325
  updateBrowser?: string;
324
326
  licenseError?: string;
325
327
  licenseExpired?: string;