@tsocial/tvweb-sdk.lotte 5.20.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 +6 -0
- package/assets/v2/bg_camera_mask.png +0 -0
- package/assets/v2/bg_camera_mask_red.png +0 -0
- package/assets/v2/frontal_arrow.svg +6 -0
- package/assets/v2/ic_camera.svg +4 -0
- package/assets/v2/ic_close.svg +3 -0
- package/assets/v2/ic_close_ID.svg +3 -0
- package/assets/v2/ic_close_white.png +0 -0
- package/assets/v2/ic_loading.png +0 -0
- package/assets/v2/id_card_frame.png +0 -0
- package/assets/v2/id_card_frame_error.png +0 -0
- package/assets/v2/instruction_frontal.svg +7 -0
- package/assets/v2/instruction_left.svg +6 -0
- package/assets/v2/instruction_right.svg +6 -0
- package/assets/v2/instruction_up.svg +7 -0
- package/assets/v2/left_arrow.gif +0 -0
- package/assets/v2/qr_capture_cursor.png +0 -0
- package/assets/v2/qr_code_banner.svg +60 -0
- package/assets/v2/right_arrow.gif +0 -0
- package/assets/v2/up_arrow.gif +0 -0
- package/build/tvweb-sdk.lotte.cjs.min.js +84 -0
- package/build/tvweb-sdk.lotte.standalone.min.js +84 -0
- package/examples/extract-id-info-and-liveness-detection/index.html +389 -0
- package/examples/extract-id-info-and-liveness-detection/keys-input.js +71 -0
- package/examples/extract-id-info-and-liveness-detection/qr-scanner-for-input-keys.js +81 -0
- package/examples/extract-id-info-and-liveness-detection/style.css +65 -0
- package/examples/index.html +21 -0
- package/examples/native-camera/index.html +44 -0
- package/package.json +38 -0
package/README.md
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="121" height="159" viewBox="0 0 121 159" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M31 157H14C7.37258 157 2 151.627 2 145L2 129" stroke="#F7CF5E" stroke-width="3" stroke-linecap="round"/>
|
|
3
|
+
<path d="M90 157H107C113.627 157 119 151.627 119 145L119 129" stroke="#F7CF5E" stroke-width="3" stroke-linecap="round"/>
|
|
4
|
+
<path d="M31 2H14C7.37258 2 2 7.37258 2 14L2 30" stroke="#F7CF5E" stroke-width="3" stroke-linecap="round"/>
|
|
5
|
+
<path d="M90 2H107C113.627 2 119 7.37258 119 14L119 30" stroke="#F7CF5E" stroke-width="3" stroke-linecap="round"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M17.9999 6C17.8124 5.81253 17.5581 5.70721 17.2929 5.70721C17.0278 5.70721 16.7735 5.81253 16.5859 6L11.9999 10.586L7.41394 6C7.22641 5.81253 6.9721 5.70721 6.70694 5.70721C6.44178 5.70721 6.18747 5.81253 5.99994 6C5.81247 6.18753 5.70715 6.44184 5.70715 6.707C5.70715 6.97217 5.81247 7.22647 5.99994 7.414L10.5859 12L5.99994 16.586C5.81247 16.7735 5.70715 17.0278 5.70715 17.293C5.70715 17.5582 5.81247 17.8125 5.99994 18C6.18747 18.1875 6.44178 18.2928 6.70694 18.2928C6.9721 18.2928 7.22641 18.1875 7.41394 18L11.9999 13.414L16.5859 18C16.7735 18.1875 17.0278 18.2928 17.2929 18.2928C17.5581 18.2928 17.8124 18.1875 17.9999 18C18.1874 17.8125 18.2927 17.5582 18.2927 17.293C18.2927 17.0278 18.1874 16.7735 17.9999 16.586L13.4139 12L17.9999 7.414C18.1874 7.22647 18.2927 6.97217 18.2927 6.707C18.2927 6.44184 18.1874 6.18753 17.9999 6Z" fill="#999999"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M17.9999 5.99994C17.8124 5.81247 17.5581 5.70715 17.2929 5.70715C17.0278 5.70715 16.7735 5.81247 16.5859 5.99994L11.9999 10.5859L7.41394 5.99994C7.22641 5.81247 6.9721 5.70715 6.70694 5.70715C6.44178 5.70715 6.18747 5.81247 5.99994 5.99994C5.81247 6.18747 5.70715 6.44178 5.70715 6.70694C5.70715 6.9721 5.81247 7.22641 5.99994 7.41394L10.5859 11.9999L5.99994 16.5859C5.81247 16.7735 5.70715 17.0278 5.70715 17.2929C5.70715 17.5581 5.81247 17.8124 5.99994 17.9999C6.18747 18.1874 6.44178 18.2927 6.70694 18.2927C6.9721 18.2927 7.22641 18.1874 7.41394 17.9999L11.9999 13.4139L16.5859 17.9999C16.7735 18.1874 17.0278 18.2927 17.2929 18.2927C17.5581 18.2927 17.8124 18.1874 17.9999 17.9999C18.1874 17.8124 18.2927 17.5581 18.2927 17.2929C18.2927 17.0278 18.1874 16.7735 17.9999 16.5859L13.4139 11.9999L17.9999 7.41394C18.1874 7.22641 18.2927 6.9721 18.2927 6.70694C18.2927 6.44178 18.1874 6.18747 17.9999 5.99994Z" fill="#D1D1D1"/>
|
|
3
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="76" height="75" viewBox="0 0 76 75" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="0.5" width="75" height="75" rx="37.5" fill="#1D1D1D" fill-opacity="0.04"/>
|
|
3
|
+
<circle cx="38.5" cy="38" r="21.5" fill="#DAEAFB" stroke="#0276F1" stroke-width="3"/>
|
|
4
|
+
<ellipse cx="29.4091" cy="33.4545" rx="1.81818" ry="3.63636" fill="#0276F1"/>
|
|
5
|
+
<ellipse cx="47.5909" cy="33.4545" rx="1.81818" ry="3.63636" fill="#0276F1"/>
|
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5909 46.1818C32.5909 45.4287 33.2014 44.8182 33.9545 44.8182H43.0455C43.7986 44.8182 44.4091 45.4287 44.4091 46.1818C44.4091 46.9349 43.7986 47.5454 43.0455 47.5454H33.9545C33.2014 47.5454 32.5909 46.9349 32.5909 46.1818Z" fill="#0276F1"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="75" height="75" viewBox="0 0 75 75" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect width="75" height="75" rx="37.5" fill="#1D1D1D" fill-opacity="0.04"/>
|
|
3
|
+
<circle cx="37" cy="38" r="21.5" fill="#DAEAFB" stroke="#0276F1" stroke-width="3"/>
|
|
4
|
+
<ellipse cx="29.7272" cy="32.5455" rx="1.81818" ry="3.63636" fill="#0276F1"/>
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.5454 46.1818C16.5454 45.4287 17.1559 44.8182 17.909 44.8182L27.909 44.8182C28.6622 44.8182 29.2727 45.4287 29.2727 46.1818C29.2727 46.9349 28.6622 47.5454 27.909 47.5454L17.909 47.5454C17.1559 47.5454 16.5454 46.9349 16.5454 46.1818Z" fill="#0276F1"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="76" height="75" viewBox="0 0 76 75" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="0.5" width="75" height="75" rx="37.5" fill="#1D1D1D" fill-opacity="0.04"/>
|
|
3
|
+
<circle cx="20" cy="20" r="21.5" transform="matrix(-1 0 0 1 58 18)" fill="#DAEAFB" stroke="#0276F1" stroke-width="3"/>
|
|
4
|
+
<ellipse cx="2" cy="3.5" rx="2" ry="3.5" transform="matrix(-1 0 0 1 47 29)" fill="#0276F1"/>
|
|
5
|
+
<path d="M57 46L47 46" stroke="#0276F1" stroke-width="3" stroke-linecap="round"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="76" height="75" viewBox="0 0 76 75" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="0.5" width="75" height="75" rx="37.5" fill="#1D1D1D" fill-opacity="0.04"/>
|
|
3
|
+
<circle cx="38" cy="38" r="21.5" fill="#DAEAFB" stroke="#0276F1" stroke-width="3"/>
|
|
4
|
+
<ellipse cx="28.9091" cy="27.0909" rx="1.81818" ry="3.63636" fill="#0276F1"/>
|
|
5
|
+
<ellipse cx="47.0909" cy="27.0909" rx="1.81818" ry="3.63636" fill="#0276F1"/>
|
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.0909 35.2727C32.0909 34.5196 32.7014 33.9091 33.4545 33.9091H42.5454C43.2985 33.9091 43.9091 34.5196 43.9091 35.2727C43.9091 36.0258 43.2985 36.6364 42.5454 36.6364H33.4545C32.7014 36.6364 32.0909 36.0258 32.0909 35.2727Z" fill="#0276F1"/>
|
|
7
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<svg width="255" height="229" viewBox="0 0 255 229" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g filter="url(#filter0_dd_22_788)">
|
|
3
|
+
<rect x="68" y="40" width="119" height="119" rx="13" fill="white"/>
|
|
4
|
+
<rect x="69" y="41" width="117" height="117" rx="12" stroke="#0276F1" stroke-width="2"/>
|
|
5
|
+
</g>
|
|
6
|
+
<g clip-path="url(#clip0_22_788)">
|
|
7
|
+
<path d="M84 57V85.5547H112.555V57H84ZM105.836 78.8359H90.7188V63.7188H105.836V78.8359Z" fill="#37366F"/>
|
|
8
|
+
<path d="M101.637 67.918H94.918V74.6367H101.637V67.918Z" fill="#37366F"/>
|
|
9
|
+
<path d="M141.445 57V85.5547H170V57H141.445ZM163.281 78.8359H148.164V63.7188H163.281V78.8359Z" fill="#37366F"/>
|
|
10
|
+
<path d="M159.082 67.918H152.363V74.6367H159.082V67.918Z" fill="#37366F"/>
|
|
11
|
+
<path d="M84 114.445V143H112.555V114.445H84ZM105.836 136.281H90.7188V121.164H105.836V136.281Z" fill="#37366F"/>
|
|
12
|
+
<path d="M101.637 125.363H94.918V132.082H101.637V125.363Z" fill="#37366F"/>
|
|
13
|
+
<path d="M97.4375 90.0898H90.7188V96.8086H97.4375V90.0898Z" fill="#37366F"/>
|
|
14
|
+
<path d="M104.156 103.527V96.8086H97.4375V103.527H103.988V110.246H110.707V103.527H104.156Z" fill="#37366F"/>
|
|
15
|
+
<path d="M137.75 69.9336H131.031V76.6523H137.75V69.9336Z" fill="#37366F"/>
|
|
16
|
+
<path d="M124.312 63.7188H117.594V76.6523H124.312V63.7188Z" fill="#37366F"/>
|
|
17
|
+
<path d="M131.031 57H124.312V63.7188H131.031V57Z" fill="#37366F"/>
|
|
18
|
+
<path d="M124.312 76.6523V83.3711H117.594V90.0898H131.031V76.6523H124.312Z" fill="#37366F"/>
|
|
19
|
+
<path d="M131.031 116.629V110.078H124.312V96.8086H117.594V110.246H124.312V116.797H131.031V123.348H144.469V116.629H131.031Z" fill="#37366F"/>
|
|
20
|
+
<path d="M137.75 90.0898H131.031V103.527H137.75V90.0898Z" fill="#37366F"/>
|
|
21
|
+
<path d="M163.281 96.6406V90.0898H151.02V96.8086H144.469V103.527H151.188V110.078H170V96.6406H163.281ZM163.281 103.359H151.188V96.8086H163.281V103.359Z" fill="#37366F"/>
|
|
22
|
+
<path d="M170 116.629H163.281V130.066H170V116.629Z" fill="#37366F"/>
|
|
23
|
+
<path d="M144.469 103.527H137.75V110.246H144.469V103.527Z" fill="#37366F"/>
|
|
24
|
+
<path d="M151.188 123.348H144.469V130.066H151.188V123.348Z" fill="#37366F"/>
|
|
25
|
+
<path d="M157.906 116.629H151.188V123.348H157.906V116.629Z" fill="#37366F"/>
|
|
26
|
+
<path d="M151.188 130.066V143H157.906V136.785H163.281V130.066H151.188Z" fill="#37366F"/>
|
|
27
|
+
<path d="M124.312 116.797H117.594V129.562H124.312V116.797Z" fill="#37366F"/>
|
|
28
|
+
<path d="M137.75 136.281V129.562H124.312V143H131.031V136.281H137.582V143H144.301V136.281H137.75Z" fill="#37366F"/>
|
|
29
|
+
<path d="M117.594 90.0898H104.156V96.8086H117.594V90.0898Z" fill="#37366F"/>
|
|
30
|
+
<path d="M90.7188 96.8086H84V110.246H90.7188V96.8086Z" fill="#37366F"/>
|
|
31
|
+
</g>
|
|
32
|
+
<rect x="58" y="98" width="141" height="80" fill="url(#paint0_linear_22_788)"/>
|
|
33
|
+
<line x1="59.5" y1="98.5" x2="197.5" y2="98.5" stroke="#0276F1" stroke-width="7" stroke-linecap="round"/>
|
|
34
|
+
<defs>
|
|
35
|
+
<filter id="filter0_dd_22_788" x="0" y="-26" width="255" height="255" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
36
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
37
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
38
|
+
<feMorphology radius="28" operator="erode" in="SourceAlpha" result="effect1_dropShadow_22_788"/>
|
|
39
|
+
<feOffset dy="32"/>
|
|
40
|
+
<feGaussianBlur stdDeviation="24"/>
|
|
41
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"/>
|
|
42
|
+
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_22_788"/>
|
|
43
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
44
|
+
<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_22_788"/>
|
|
45
|
+
<feOffset dy="2"/>
|
|
46
|
+
<feGaussianBlur stdDeviation="36"/>
|
|
47
|
+
<feComposite in2="hardAlpha" operator="out"/>
|
|
48
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
|
|
49
|
+
<feBlend mode="normal" in2="effect1_dropShadow_22_788" result="effect2_dropShadow_22_788"/>
|
|
50
|
+
<feBlend mode="normal" in="SourceGraphic" in2="effect2_dropShadow_22_788" result="shape"/>
|
|
51
|
+
</filter>
|
|
52
|
+
<linearGradient id="paint0_linear_22_788" x1="128" y1="68.4" x2="128" y2="178" gradientUnits="userSpaceOnUse">
|
|
53
|
+
<stop stop-color="#B3CFEC"/>
|
|
54
|
+
<stop offset="1" stop-color="#B3CFEC" stop-opacity="0"/>
|
|
55
|
+
</linearGradient>
|
|
56
|
+
<clipPath id="clip0_22_788">
|
|
57
|
+
<rect width="86" height="86" fill="white" transform="translate(84 57)"/>
|
|
58
|
+
</clipPath>
|
|
59
|
+
</defs>
|
|
60
|
+
</svg>
|
|
Binary file
|
|
Binary file
|