@smileid/web-components 2.0.1 → 10.0.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/dist/DocumentCaptureScreens-Dwl7UqVH.js +1534 -0
- package/dist/DocumentCaptureScreens-Dwl7UqVH.js.map +1 -0
- package/dist/EndUserConsent-C5hZdJzH.js +715 -0
- package/dist/EndUserConsent-C5hZdJzH.js.map +1 -0
- package/dist/Navigation-juBE4qOw.js +136 -0
- package/dist/Navigation-juBE4qOw.js.map +1 -0
- package/dist/PoweredBySmileId-CxbaihMu.js +33 -0
- package/dist/PoweredBySmileId-CxbaihMu.js.map +1 -0
- package/dist/SelfieCaptureScreens-CQc251hz.js +7618 -0
- package/dist/SelfieCaptureScreens-CQc251hz.js.map +1 -0
- package/dist/SignaturePad-C7MtmT8m.js +324 -0
- package/dist/SignaturePad-C7MtmT8m.js.map +1 -0
- package/dist/TotpConsent-CQU5jQi4.js +730 -0
- package/dist/TotpConsent-CQU5jQi4.js.map +1 -0
- package/dist/combobox.js +300 -0
- package/dist/combobox.js.map +1 -0
- package/dist/document.js +5 -0
- package/dist/document.js.map +1 -0
- package/dist/end-user-consent.js +5 -0
- package/dist/end-user-consent.js.map +1 -0
- package/dist/main.js +22 -0
- package/dist/main.js.map +1 -0
- package/dist/navigation.js +5 -0
- package/dist/navigation.js.map +1 -0
- package/dist/package-Oi2Yil3b.js +105 -0
- package/dist/package-Oi2Yil3b.js.map +1 -0
- package/dist/selfie.js +5 -0
- package/dist/selfie.js.map +1 -0
- package/dist/signature-pad.js +5 -0
- package/dist/signature-pad.js.map +1 -0
- package/dist/smart-camera-web.js +303 -0
- package/dist/smart-camera-web.js.map +1 -0
- package/dist/styles-BUWNxWeQ.js +406 -0
- package/dist/styles-BUWNxWeQ.js.map +1 -0
- package/dist/totp-consent.js +5 -0
- package/dist/totp-consent.js.map +1 -0
- package/dist/types/combobox.d.ts +21 -0
- package/dist/types/document.d.ts +21 -0
- package/dist/types/end-user-consent.d.ts +21 -0
- package/dist/types/main.d.ts +331 -0
- package/dist/types/navigation.d.ts +21 -0
- package/dist/types/selfie.d.ts +21 -0
- package/dist/types/signature-pad.d.ts +21 -0
- package/dist/types/smart-camera-web.d.ts +21 -0
- package/dist/types/totp-consent.d.ts +21 -0
- package/{src → lib}/components/README.md +14 -14
- package/{src → lib}/components/attribution/PoweredBySmileId.js +42 -42
- package/{src → lib}/components/camera-permission/CameraPermission.js +140 -140
- package/{src → lib}/components/camera-permission/CameraPermission.stories.js +27 -27
- package/{src → lib}/components/combobox/src/Combobox.js +589 -589
- package/{src → lib}/components/combobox/src/index.js +1 -1
- package/{src → lib}/components/document/src/DocumentCaptureScreens.js +409 -409
- package/{src → lib}/components/document/src/DocumentCaptureScreens.stories.js +57 -57
- package/{src → lib}/components/document/src/README.md +111 -111
- package/{src → lib}/components/document/src/document-capture/DocumentCapture.js +760 -760
- package/{src → lib}/components/document/src/document-capture/DocumentCapture.stories.js +78 -78
- package/{src → lib}/components/document/src/document-capture/README.md +90 -90
- package/{src → lib}/components/document/src/document-capture/index.js +3 -3
- package/{src → lib}/components/document/src/document-capture-instructions/DocumentCaptureInstructions.js +499 -499
- package/{src → lib}/components/document/src/document-capture-instructions/DocumentCaptureInstructions.stories.js +24 -24
- package/{src → lib}/components/document/src/document-capture-instructions/README.md +56 -56
- package/{src → lib}/components/document/src/document-capture-instructions/index.js +3 -3
- package/{src → lib}/components/document/src/document-capture-review/DocumentCaptureReview.js +362 -362
- package/{src → lib}/components/document/src/document-capture-review/DocumentCaptureReview.stories.js +24 -24
- package/{src → lib}/components/document/src/document-capture-review/README.md +79 -79
- package/{src → lib}/components/document/src/document-capture-review/index.js +3 -3
- package/{src → lib}/components/document/src/index.js +3 -3
- package/{src → lib}/components/end-user-consent/src/EndUserConsent.js +795 -795
- package/{src → lib}/components/end-user-consent/src/EndUserConsent.stories.js +29 -29
- package/{src → lib}/components/end-user-consent/src/index.js +4 -4
- package/{src → lib}/components/navigation/src/Navigation.js +171 -171
- package/{src → lib}/components/navigation/src/Navigation.stories.js +24 -24
- package/{src → lib}/components/navigation/src/index.js +3 -3
- package/{src → lib}/components/selfie/README.md +225 -225
- package/{src → lib}/components/selfie/src/SelfieCaptureScreens.js +433 -282
- package/{src → lib}/components/selfie/src/SelfieCaptureScreens.stories.js +29 -29
- package/{src → lib}/components/selfie/src/index.js +3 -5
- package/{src → lib}/components/selfie/src/selfie-capture/SelfieCapture.js +1041 -1010
- package/{src → lib}/components/selfie/src/selfie-capture/SelfieCapture.stories.js +36 -36
- package/{src → lib}/components/selfie/src/selfie-capture/index.js +3 -3
- package/{src → lib}/components/selfie/src/selfie-capture-instructions/SelfieCaptureInstructions.js +657 -648
- package/{src → lib}/components/selfie/src/selfie-capture-instructions/SelfieCaptureInstructions.stories.js +23 -23
- package/{src → lib}/components/selfie/src/selfie-capture-instructions/index.js +3 -3
- package/{src → lib}/components/selfie/src/selfie-capture-review/SelfieCaptureReview.js +340 -347
- package/{src → lib}/components/selfie/src/selfie-capture-review/SelfieCaptureReview.stories.js +24 -24
- package/{src → lib}/components/selfie/src/selfie-capture-review/index.js +3 -3
- package/lib/components/selfie/src/selfie-capture-wrapper/SelfieCaptureWrapper.tsx +227 -0
- package/lib/components/selfie/src/selfie-capture-wrapper/index.ts +1 -0
- package/lib/components/selfie/src/smartselfie-capture/OvalProgress.tsx +81 -0
- package/lib/components/selfie/src/smartselfie-capture/SmartSelfieCapture.tsx +224 -0
- package/lib/components/selfie/src/smartselfie-capture/components/AlertDisplay.tsx +34 -0
- package/lib/components/selfie/src/smartselfie-capture/components/CameraPreview.tsx +97 -0
- package/lib/components/selfie/src/smartselfie-capture/components/CaptureControls.tsx +74 -0
- package/lib/components/selfie/src/smartselfie-capture/components/index.ts +3 -0
- package/lib/components/selfie/src/smartselfie-capture/constants.ts +23 -0
- package/lib/components/selfie/src/smartselfie-capture/hooks/index.ts +2 -0
- package/lib/components/selfie/src/smartselfie-capture/hooks/useCamera.ts +94 -0
- package/lib/components/selfie/src/smartselfie-capture/hooks/useFaceCapture.ts +558 -0
- package/lib/components/selfie/src/smartselfie-capture/index.ts +1 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/alertMessages.ts +12 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/canvas.ts +105 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/faceDetection.ts +129 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/imageCapture.ts +64 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/index.ts +4 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/mediapipeManager.ts +60 -0
- package/{src → lib}/components/signature-pad/package-lock.json +3009 -3009
- package/{src → lib}/components/signature-pad/package.json +30 -30
- package/{src → lib}/components/signature-pad/src/SignaturePad.js +484 -484
- package/{src → lib}/components/signature-pad/src/SignaturePad.stories.js +32 -32
- package/{src → lib}/components/signature-pad/src/index.js +3 -3
- package/{src → lib}/components/smart-camera-web/src/README.md +206 -207
- package/{src → lib}/components/smart-camera-web/src/SmartCameraWeb.js +299 -299
- package/{src → lib}/components/smart-camera-web/src/SmartCameraWeb.stories.js +57 -57
- package/{src → lib}/components/totp-consent/src/TotpConsent.js +949 -949
- package/{src → lib}/components/totp-consent/src/index.js +4 -4
- package/{src → lib}/domain/camera/src/README.md +38 -38
- package/{src → lib}/domain/camera/src/SmartCamera.js +109 -109
- package/{src → lib}/domain/constants/src/Constants.js +27 -27
- package/{src → lib}/domain/file-upload/README.md +35 -35
- package/{src → lib}/domain/file-upload/src/SmartFileUpload.js +65 -65
- package/{src → lib}/styles/README.md +3 -3
- package/{src → lib}/styles/src/styles.js +359 -359
- package/{src → lib}/styles/src/typography.js +52 -52
- package/package.json +109 -58
- package/src/index.js +0 -5
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import SmartCamera from '../../../../domain/camera/src/SmartCamera';
|
|
2
|
-
import './index';
|
|
3
|
-
|
|
4
|
-
const meta = {
|
|
5
|
-
args: {
|
|
6
|
-
'theme-color': '#001096',
|
|
7
|
-
},
|
|
8
|
-
argTypes: {
|
|
9
|
-
'theme-color': { control: 'color' },
|
|
10
|
-
},
|
|
11
|
-
component: 'document-capture',
|
|
12
|
-
render: (args) => `
|
|
13
|
-
<document-capture
|
|
14
|
-
show-navigation
|
|
15
|
-
document-capture-modes="camera,upload"
|
|
16
|
-
document-name="Driver's License"
|
|
17
|
-
side-of-id="Front"
|
|
18
|
-
document-type="${args.documentType}"
|
|
19
|
-
theme-color='${args['theme-color']}'
|
|
20
|
-
>
|
|
21
|
-
</document-capture>
|
|
22
|
-
`,
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export default meta;
|
|
26
|
-
|
|
27
|
-
export const DocumentCapture = {
|
|
28
|
-
loaders: [
|
|
29
|
-
async () => {
|
|
30
|
-
console.warn('attemp to get media');
|
|
31
|
-
try {
|
|
32
|
-
const result = await SmartCamera.getMedia({
|
|
33
|
-
audio: false,
|
|
34
|
-
video: SmartCamera.environmentOptions,
|
|
35
|
-
});
|
|
36
|
-
return {
|
|
37
|
-
'data-camera-ready': result,
|
|
38
|
-
};
|
|
39
|
-
} catch (error) {
|
|
40
|
-
console.error(error);
|
|
41
|
-
return {
|
|
42
|
-
'data-camera-error': SmartCamera.handleCameraError(error),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export const DocumentCapturePortraitMode = {
|
|
50
|
-
args: {
|
|
51
|
-
documentType: 'GREEN_BOOK',
|
|
52
|
-
},
|
|
53
|
-
loaders: [
|
|
54
|
-
async () => {
|
|
55
|
-
try {
|
|
56
|
-
const result = await SmartCamera.getMedia({
|
|
57
|
-
audio: false,
|
|
58
|
-
video: SmartCamera.environmentOptions,
|
|
59
|
-
});
|
|
60
|
-
return {
|
|
61
|
-
'data-camera-ready': result,
|
|
62
|
-
};
|
|
63
|
-
} catch (error) {
|
|
64
|
-
return {
|
|
65
|
-
'data-camera-error': SmartCamera.handleCameraError(error),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
export const DocumentCapturePendingPermission = {
|
|
73
|
-
loaders: [
|
|
74
|
-
async () => ({
|
|
75
|
-
'data-camera-ready': SmartCamera.stopMedia(),
|
|
76
|
-
}),
|
|
77
|
-
],
|
|
78
|
-
};
|
|
1
|
+
import SmartCamera from '../../../../domain/camera/src/SmartCamera';
|
|
2
|
+
import './index';
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
args: {
|
|
6
|
+
'theme-color': '#001096',
|
|
7
|
+
},
|
|
8
|
+
argTypes: {
|
|
9
|
+
'theme-color': { control: 'color' },
|
|
10
|
+
},
|
|
11
|
+
component: 'document-capture',
|
|
12
|
+
render: (args) => `
|
|
13
|
+
<document-capture
|
|
14
|
+
show-navigation
|
|
15
|
+
document-capture-modes="camera,upload"
|
|
16
|
+
document-name="Driver's License"
|
|
17
|
+
side-of-id="Front"
|
|
18
|
+
document-type="${args.documentType}"
|
|
19
|
+
theme-color='${args['theme-color']}'
|
|
20
|
+
>
|
|
21
|
+
</document-capture>
|
|
22
|
+
`,
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default meta;
|
|
26
|
+
|
|
27
|
+
export const DocumentCapture = {
|
|
28
|
+
loaders: [
|
|
29
|
+
async () => {
|
|
30
|
+
console.warn('attemp to get media');
|
|
31
|
+
try {
|
|
32
|
+
const result = await SmartCamera.getMedia({
|
|
33
|
+
audio: false,
|
|
34
|
+
video: SmartCamera.environmentOptions,
|
|
35
|
+
});
|
|
36
|
+
return {
|
|
37
|
+
'data-camera-ready': result,
|
|
38
|
+
};
|
|
39
|
+
} catch (error) {
|
|
40
|
+
console.error(error);
|
|
41
|
+
return {
|
|
42
|
+
'data-camera-error': SmartCamera.handleCameraError(error),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export const DocumentCapturePortraitMode = {
|
|
50
|
+
args: {
|
|
51
|
+
documentType: 'GREEN_BOOK',
|
|
52
|
+
},
|
|
53
|
+
loaders: [
|
|
54
|
+
async () => {
|
|
55
|
+
try {
|
|
56
|
+
const result = await SmartCamera.getMedia({
|
|
57
|
+
audio: false,
|
|
58
|
+
video: SmartCamera.environmentOptions,
|
|
59
|
+
});
|
|
60
|
+
return {
|
|
61
|
+
'data-camera-ready': result,
|
|
62
|
+
};
|
|
63
|
+
} catch (error) {
|
|
64
|
+
return {
|
|
65
|
+
'data-camera-error': SmartCamera.handleCameraError(error),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export const DocumentCapturePendingPermission = {
|
|
73
|
+
loaders: [
|
|
74
|
+
async () => ({
|
|
75
|
+
'data-camera-ready': SmartCamera.stopMedia(),
|
|
76
|
+
}),
|
|
77
|
+
],
|
|
78
|
+
};
|
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
# IdCapture Web Component
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
The `IdCapture` is a custom web component designed to capture documents using a camera. It uses the `SmartCamera` module to interact with the device's camera and handle permissions.
|
|
6
|
-
|
|
7
|
-
### Importing the Component
|
|
8
|
-
|
|
9
|
-
To use the IdCapture component, you need to import it into your JavaScript file:
|
|
10
|
-
|
|
11
|
-
```js
|
|
12
|
-
import '@smileid/components/document-capture';
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Using the Component
|
|
16
|
-
|
|
17
|
-
You can use the IdCapture component in your HTML like any other HTML element:
|
|
18
|
-
|
|
19
|
-
```html
|
|
20
|
-
<document-capture></document-capture>
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
### IdCapture Web Component Attributes
|
|
24
|
-
|
|
25
|
-
You can use a mixture of the following attributes to configure the behavior of the component.
|
|
26
|
-
|
|
27
|
-
#### hide-back-of-id
|
|
28
|
-
|
|
29
|
-
This attribute, when present, hides the option to capture the back of the ID. It does not require a value.
|
|
30
|
-
|
|
31
|
-
Usage:
|
|
32
|
-
|
|
33
|
-
```html
|
|
34
|
-
<document-capture hide-back-of-id></document-capture>
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
#### show-navigation
|
|
38
|
-
|
|
39
|
-
This attribute, when present, shows the navigation controls for the document capture process. It does not require a value.
|
|
40
|
-
|
|
41
|
-
Usage:
|
|
42
|
-
|
|
43
|
-
```html
|
|
44
|
-
<document-capture show-navigation></document-capture>
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Permissions
|
|
48
|
-
|
|
49
|
-
The `IdCapture` component requires camera permissions to function. It will automatically request these permissions when used. If the permissions are granted, it will remove the `data-camera-error` attribute from the capture screen and set the `data-camera-ready` attribute to true. If the permissions are denied, it will remove the `data-camera-ready` attribute and set the `data-camera-error` attribute with the error message.
|
|
50
|
-
|
|
51
|
-
If you handle the permissions yourself, make sure to set `data-camera-ready` and `data-camera-error` appropriately.
|
|
52
|
-
|
|
53
|
-
### Error Handling
|
|
54
|
-
|
|
55
|
-
If there is an error while requesting permissions or capturing the document, the `IdCapture` component will handle it and set the `data-camera-error` attribute with the error message.
|
|
56
|
-
|
|
57
|
-
### Event Handlers
|
|
58
|
-
|
|
59
|
-
To receive the images after they have been captured, you can listen to the custom event `document-capture.publish`. The data posted to this event has the structure:
|
|
60
|
-
|
|
61
|
-
```json
|
|
62
|
-
{
|
|
63
|
-
"detail": {
|
|
64
|
-
"image": "base64 image",
|
|
65
|
-
"previewImage": "base64 image"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
Usage:
|
|
71
|
-
|
|
72
|
-
```js
|
|
73
|
-
document
|
|
74
|
-
.querySelector('document-capture')
|
|
75
|
-
.addEventListener('document-capture.publish', function (event) {
|
|
76
|
-
console.log(event.detail);
|
|
77
|
-
});
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
### Dependencies
|
|
81
|
-
|
|
82
|
-
The `DocumentCapture` component depends on the following module:
|
|
83
|
-
|
|
84
|
-
- [SmartCamera](../../../../domain/camera/src/README.md)
|
|
85
|
-
|
|
86
|
-
This module is imported when you use the `DocumentCapture` component in your projects.
|
|
87
|
-
|
|
88
|
-
### Compatibility
|
|
89
|
-
|
|
90
|
-
The IdCapture component is designed to work on all modern browsers that support custom web components. However, it includes a special case for multi-camera Samsung devices to mitigate blurry images at the edges. Please report any issues found on other devices to our support team.
|
|
1
|
+
# IdCapture Web Component
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The `IdCapture` is a custom web component designed to capture documents using a camera. It uses the `SmartCamera` module to interact with the device's camera and handle permissions.
|
|
6
|
+
|
|
7
|
+
### Importing the Component
|
|
8
|
+
|
|
9
|
+
To use the IdCapture component, you need to import it into your JavaScript file:
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import '@smileid/components/document-capture';
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Using the Component
|
|
16
|
+
|
|
17
|
+
You can use the IdCapture component in your HTML like any other HTML element:
|
|
18
|
+
|
|
19
|
+
```html
|
|
20
|
+
<document-capture></document-capture>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### IdCapture Web Component Attributes
|
|
24
|
+
|
|
25
|
+
You can use a mixture of the following attributes to configure the behavior of the component.
|
|
26
|
+
|
|
27
|
+
#### hide-back-of-id
|
|
28
|
+
|
|
29
|
+
This attribute, when present, hides the option to capture the back of the ID. It does not require a value.
|
|
30
|
+
|
|
31
|
+
Usage:
|
|
32
|
+
|
|
33
|
+
```html
|
|
34
|
+
<document-capture hide-back-of-id></document-capture>
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
#### show-navigation
|
|
38
|
+
|
|
39
|
+
This attribute, when present, shows the navigation controls for the document capture process. It does not require a value.
|
|
40
|
+
|
|
41
|
+
Usage:
|
|
42
|
+
|
|
43
|
+
```html
|
|
44
|
+
<document-capture show-navigation></document-capture>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### Permissions
|
|
48
|
+
|
|
49
|
+
The `IdCapture` component requires camera permissions to function. It will automatically request these permissions when used. If the permissions are granted, it will remove the `data-camera-error` attribute from the capture screen and set the `data-camera-ready` attribute to true. If the permissions are denied, it will remove the `data-camera-ready` attribute and set the `data-camera-error` attribute with the error message.
|
|
50
|
+
|
|
51
|
+
If you handle the permissions yourself, make sure to set `data-camera-ready` and `data-camera-error` appropriately.
|
|
52
|
+
|
|
53
|
+
### Error Handling
|
|
54
|
+
|
|
55
|
+
If there is an error while requesting permissions or capturing the document, the `IdCapture` component will handle it and set the `data-camera-error` attribute with the error message.
|
|
56
|
+
|
|
57
|
+
### Event Handlers
|
|
58
|
+
|
|
59
|
+
To receive the images after they have been captured, you can listen to the custom event `document-capture.publish`. The data posted to this event has the structure:
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
{
|
|
63
|
+
"detail": {
|
|
64
|
+
"image": "base64 image",
|
|
65
|
+
"previewImage": "base64 image"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Usage:
|
|
71
|
+
|
|
72
|
+
```js
|
|
73
|
+
document
|
|
74
|
+
.querySelector('document-capture')
|
|
75
|
+
.addEventListener('document-capture.publish', function (event) {
|
|
76
|
+
console.log(event.detail);
|
|
77
|
+
});
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Dependencies
|
|
81
|
+
|
|
82
|
+
The `DocumentCapture` component depends on the following module:
|
|
83
|
+
|
|
84
|
+
- [SmartCamera](../../../../domain/camera/src/README.md)
|
|
85
|
+
|
|
86
|
+
This module is imported when you use the `DocumentCapture` component in your projects.
|
|
87
|
+
|
|
88
|
+
### Compatibility
|
|
89
|
+
|
|
90
|
+
The IdCapture component is designed to work on all modern browsers that support custom web components. However, it includes a special case for multi-camera Samsung devices to mitigate blurry images at the edges. Please report any issues found on other devices to our support team.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import DocumentCapture from './DocumentCapture';
|
|
2
|
-
|
|
3
|
-
export default DocumentCapture;
|
|
1
|
+
import DocumentCapture from './DocumentCapture';
|
|
2
|
+
|
|
3
|
+
export default DocumentCapture;
|