@idscan/idvc2 2.2.2 → 2.2.3
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/LICENSE.txt +202 -202
- package/README.md +158 -156
- package/dist/idvc.js +1 -1
- package/dist/index.html +95 -95
- package/dist/js/defaultConfig.ts +254 -254
- package/dist/js/environment/capturingModes.json +4 -4
- package/dist/js/environment/cssVariables.json +191 -191
- package/dist/js/environment/designations.ts +19 -19
- package/dist/js/environment/documentTypes.ts +145 -145
- package/dist/js/environment/langs.ts +293 -293
- package/dist/js/environment/loadModes.json +11 -11
- package/dist/js/environment/loopResult.ts +14 -14
- package/dist/js/environment/networkNames.json +20 -20
- package/dist/js/environment/realFaceModes.ts +15 -15
- package/dist/js/environment/stepsDescription.ts +85 -85
- package/dist/js/environment/triangulation.ts +188 -188
- package/dist/js/geometry.d.ts +8 -8
- package/dist/js/idvc.d.ts +3 -3
- package/dist/js/image.d.ts +4 -4
- package/dist/js/index.d.ts +12 -12
- package/dist/js/loop.d.ts +21 -21
- package/dist/js/mrz.d.ts +105 -105
- package/dist/networks/{130.0b466182.js → 130.f9cf8b7f.js} +0 -0
- package/dist/networks/{215.bf164218.js → 215.d4dcf9f8.js} +0 -0
- package/dist/networks/{400.8e839581.js → 400.c10b35da.js} +0 -0
- package/dist/networks/716.0ae8557d.js +1 -0
- package/dist/networks/{Face.728ec3c6.js → Face.caf8a3ec.js} +0 -0
- package/dist/networks/{MRZ.16515b82.js → MRZ.4736053a.js} +0 -0
- package/dist/networks/{PDF.04105754.js → PDF.e3b27d00.js} +0 -0
- package/dist/networks/{ZXing.d5fea691.js → ZXing.ccc17251.js} +0 -0
- package/dist/networks/angles20210831.json +1 -1
- package/dist/networks/asyncLoader.9bf3066b.js +1 -0
- package/dist/networks/cdnLoader.edab76a1.js +1 -0
- package/dist/networks/classLocal20220112.json +1 -1
- package/dist/networks/detectormodel20220817.json +1 -1
- package/dist/networks/landmarkmodel20220817.json +1 -1
- package/dist/networks/mrz20220531.json +1953 -1953
- package/package.json +4 -4
- package/dist/networks/716.7c63165d.js +0 -1
- package/dist/networks/asyncLoader.c80a6980.js +0 -1
- package/dist/networks/cdnLoader.64c17c7d.js +0 -1
|
@@ -1,191 +1,191 @@
|
|
|
1
|
-
{
|
|
2
|
-
"--font-family": {
|
|
3
|
-
"default": "Arial, \"Helvetica Neue\", Helvetica, sans-serif",
|
|
4
|
-
"type": "String",
|
|
5
|
-
"description": [
|
|
6
|
-
"library's font family"
|
|
7
|
-
]
|
|
8
|
-
},
|
|
9
|
-
"--btn-border-radius-big": {
|
|
10
|
-
"default": 4,
|
|
11
|
-
"type": "Number",
|
|
12
|
-
"description": [
|
|
13
|
-
"radius of retake, continue, submit buttons"
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
"--btn-border-radius-small": {
|
|
17
|
-
"default": 4,
|
|
18
|
-
"type": "Number",
|
|
19
|
-
"description": [
|
|
20
|
-
"radius of the manual switch button",
|
|
21
|
-
"radius of the messagebox"
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"--color-text-secondary-light": {
|
|
25
|
-
"default": "#C4C4C4",
|
|
26
|
-
"type": "Color",
|
|
27
|
-
"description": [
|
|
28
|
-
"'select document type' menus's checkmark"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"--color-positive-light": {
|
|
32
|
-
"default": "#17EA4C",
|
|
33
|
-
"type": "Color",
|
|
34
|
-
"description": [
|
|
35
|
-
"success frame on capturing"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"--border-color-divider": {
|
|
39
|
-
"default": "#C0C0C0",
|
|
40
|
-
"type": "Color",
|
|
41
|
-
"description": [
|
|
42
|
-
"message box's default border color",
|
|
43
|
-
"'select document type' menus's devider"
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
"--color-primary-light-2": {
|
|
47
|
-
"default": "#DCE7FD",
|
|
48
|
-
"type": "Color",
|
|
49
|
-
"description": [
|
|
50
|
-
"primary button hover, focus colors"
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
"--color-primary-light-7": {
|
|
54
|
-
"default": "#85AAF7",
|
|
55
|
-
"type": "Color",
|
|
56
|
-
"description": [
|
|
57
|
-
"transparent button hover and focus background color"
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
"--color-primary-light-9": {
|
|
61
|
-
"default": "#EEF3FE",
|
|
62
|
-
"type": "Color",
|
|
63
|
-
"description": [
|
|
64
|
-
"transparent button border hover, focus colors",
|
|
65
|
-
"'select document type' menus's selected item background"
|
|
66
|
-
]
|
|
67
|
-
},
|
|
68
|
-
"--color-primary-dark-2": {
|
|
69
|
-
"default": "#080D18",
|
|
70
|
-
"type": "Color",
|
|
71
|
-
"description": [
|
|
72
|
-
"primary button active colors",
|
|
73
|
-
"transparent button active font color and border color"
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
"--color-background-subheader": {
|
|
77
|
-
"default": "#F5F6F9",
|
|
78
|
-
"type": "Color",
|
|
79
|
-
"description": [
|
|
80
|
-
"background of the bottom part of the active step in 'steps' section",
|
|
81
|
-
"'type not defined' select background of the modal window",
|
|
82
|
-
"scrollbar of 'result' modal window"
|
|
83
|
-
]
|
|
84
|
-
},
|
|
85
|
-
"--color-background-white": {
|
|
86
|
-
"default": "#FFF",
|
|
87
|
-
"type": "Color",
|
|
88
|
-
"description": [
|
|
89
|
-
"uploader's background",
|
|
90
|
-
"background of 'result' modal window container",
|
|
91
|
-
"background of 'type not defined' modal window",
|
|
92
|
-
"background of 'document type-hint’ section"
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
"--border-color-base": {
|
|
96
|
-
"default": "#DCDFE6",
|
|
97
|
-
"type": "Color",
|
|
98
|
-
"description": [
|
|
99
|
-
"border of 'type not defined' modal window select",
|
|
100
|
-
"border of 'document type-hint' section",
|
|
101
|
-
"borders of top part in 'steps' section",
|
|
102
|
-
"bottom icons of inactive step in 'steps' section",
|
|
103
|
-
"image background in 'steps' section"
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
"--color-primary": {
|
|
107
|
-
"default": "#5185F3",
|
|
108
|
-
"type": "Color",
|
|
109
|
-
"description": [
|
|
110
|
-
"background of primary buttons",
|
|
111
|
-
"active step name, icon, and bottom line of the active step in 'steps' section",
|
|
112
|
-
"uploader labels, border",
|
|
113
|
-
"manual take picture button in video capturing",
|
|
114
|
-
"change the document type in 'document type-hint' section",
|
|
115
|
-
"step name on hover in 'steps' section",
|
|
116
|
-
"guideline inscription",
|
|
117
|
-
"background of the upload icon in the uploader",
|
|
118
|
-
"uploader's emphasized descriptions",
|
|
119
|
-
"disabled primary buttons",
|
|
120
|
-
"disabled button border",
|
|
121
|
-
"spinner's color"
|
|
122
|
-
]
|
|
123
|
-
},
|
|
124
|
-
"--color-success": {
|
|
125
|
-
"default": "#13CE66",
|
|
126
|
-
"type": "Color",
|
|
127
|
-
"description": [
|
|
128
|
-
"succeeded steps in 'steps' section",
|
|
129
|
-
"face shape when capturing the video in face step",
|
|
130
|
-
"capture progress",
|
|
131
|
-
"valid sign of 'result' modal window container",
|
|
132
|
-
"hints on video capture",
|
|
133
|
-
"background of uploader's success sign"
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"--color-danger": {
|
|
137
|
-
"default": "#FF4949",
|
|
138
|
-
"type": "Color",
|
|
139
|
-
"description": [
|
|
140
|
-
"background and bottom border of the step error in 'steps' section",
|
|
141
|
-
"header of 'type not defined' modal window",
|
|
142
|
-
"invalid sign of 'result' modal window container",
|
|
143
|
-
"license error text"
|
|
144
|
-
]
|
|
145
|
-
},
|
|
146
|
-
"--color-warning": {
|
|
147
|
-
"default": "#FFC632",
|
|
148
|
-
"type": "Color",
|
|
149
|
-
"description": [
|
|
150
|
-
"warning sign of uploader"
|
|
151
|
-
]
|
|
152
|
-
},
|
|
153
|
-
"--color-text-secondary": {
|
|
154
|
-
"default": "#909399",
|
|
155
|
-
"type": "Color",
|
|
156
|
-
"description": [
|
|
157
|
-
"scrollbar of 'result' modal window",
|
|
158
|
-
"library version",
|
|
159
|
-
"descriptions of the uploader",
|
|
160
|
-
"close sign of 'result' modal window",
|
|
161
|
-
"name of the inactive step in 'steps' section"
|
|
162
|
-
]
|
|
163
|
-
},
|
|
164
|
-
"--color-black": {
|
|
165
|
-
"default": "#000",
|
|
166
|
-
"type": "Color",
|
|
167
|
-
"description": [
|
|
168
|
-
"face shape icon in video capturing when the face is not detected at the face step",
|
|
169
|
-
"shadow of 'type not defined' modal window",
|
|
170
|
-
"caption of 'type not defined' modal window select",
|
|
171
|
-
"uploader's bold descriptions",
|
|
172
|
-
"shadow of 'result' modal window",
|
|
173
|
-
"bottom border of 'result' modal window row",
|
|
174
|
-
"options of change the document type in 'document type-hint' section",
|
|
175
|
-
"uploader's error sign stroke",
|
|
176
|
-
"uploader's error description"
|
|
177
|
-
]
|
|
178
|
-
},
|
|
179
|
-
"--color-white": {
|
|
180
|
-
"default": "#FFF",
|
|
181
|
-
"type": "Color",
|
|
182
|
-
"description": [
|
|
183
|
-
"caption of buttons",
|
|
184
|
-
"border and caption of manual take picture button",
|
|
185
|
-
"upload icon",
|
|
186
|
-
"header description of 'type not defined' modal window",
|
|
187
|
-
"uploader success sign's checkmark",
|
|
188
|
-
"description of capture progress"
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"--font-family": {
|
|
3
|
+
"default": "Arial, \"Helvetica Neue\", Helvetica, sans-serif",
|
|
4
|
+
"type": "String",
|
|
5
|
+
"description": [
|
|
6
|
+
"library's font family"
|
|
7
|
+
]
|
|
8
|
+
},
|
|
9
|
+
"--btn-border-radius-big": {
|
|
10
|
+
"default": 4,
|
|
11
|
+
"type": "Number",
|
|
12
|
+
"description": [
|
|
13
|
+
"radius of retake, continue, submit buttons"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"--btn-border-radius-small": {
|
|
17
|
+
"default": 4,
|
|
18
|
+
"type": "Number",
|
|
19
|
+
"description": [
|
|
20
|
+
"radius of the manual switch button",
|
|
21
|
+
"radius of the messagebox"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"--color-text-secondary-light": {
|
|
25
|
+
"default": "#C4C4C4",
|
|
26
|
+
"type": "Color",
|
|
27
|
+
"description": [
|
|
28
|
+
"'select document type' menus's checkmark"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"--color-positive-light": {
|
|
32
|
+
"default": "#17EA4C",
|
|
33
|
+
"type": "Color",
|
|
34
|
+
"description": [
|
|
35
|
+
"success frame on capturing"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"--border-color-divider": {
|
|
39
|
+
"default": "#C0C0C0",
|
|
40
|
+
"type": "Color",
|
|
41
|
+
"description": [
|
|
42
|
+
"message box's default border color",
|
|
43
|
+
"'select document type' menus's devider"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"--color-primary-light-2": {
|
|
47
|
+
"default": "#DCE7FD",
|
|
48
|
+
"type": "Color",
|
|
49
|
+
"description": [
|
|
50
|
+
"primary button hover, focus colors"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"--color-primary-light-7": {
|
|
54
|
+
"default": "#85AAF7",
|
|
55
|
+
"type": "Color",
|
|
56
|
+
"description": [
|
|
57
|
+
"transparent button hover and focus background color"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"--color-primary-light-9": {
|
|
61
|
+
"default": "#EEF3FE",
|
|
62
|
+
"type": "Color",
|
|
63
|
+
"description": [
|
|
64
|
+
"transparent button border hover, focus colors",
|
|
65
|
+
"'select document type' menus's selected item background"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"--color-primary-dark-2": {
|
|
69
|
+
"default": "#080D18",
|
|
70
|
+
"type": "Color",
|
|
71
|
+
"description": [
|
|
72
|
+
"primary button active colors",
|
|
73
|
+
"transparent button active font color and border color"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"--color-background-subheader": {
|
|
77
|
+
"default": "#F5F6F9",
|
|
78
|
+
"type": "Color",
|
|
79
|
+
"description": [
|
|
80
|
+
"background of the bottom part of the active step in 'steps' section",
|
|
81
|
+
"'type not defined' select background of the modal window",
|
|
82
|
+
"scrollbar of 'result' modal window"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"--color-background-white": {
|
|
86
|
+
"default": "#FFF",
|
|
87
|
+
"type": "Color",
|
|
88
|
+
"description": [
|
|
89
|
+
"uploader's background",
|
|
90
|
+
"background of 'result' modal window container",
|
|
91
|
+
"background of 'type not defined' modal window",
|
|
92
|
+
"background of 'document type-hint’ section"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"--border-color-base": {
|
|
96
|
+
"default": "#DCDFE6",
|
|
97
|
+
"type": "Color",
|
|
98
|
+
"description": [
|
|
99
|
+
"border of 'type not defined' modal window select",
|
|
100
|
+
"border of 'document type-hint' section",
|
|
101
|
+
"borders of top part in 'steps' section",
|
|
102
|
+
"bottom icons of inactive step in 'steps' section",
|
|
103
|
+
"image background in 'steps' section"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"--color-primary": {
|
|
107
|
+
"default": "#5185F3",
|
|
108
|
+
"type": "Color",
|
|
109
|
+
"description": [
|
|
110
|
+
"background of primary buttons",
|
|
111
|
+
"active step name, icon, and bottom line of the active step in 'steps' section",
|
|
112
|
+
"uploader labels, border",
|
|
113
|
+
"manual take picture button in video capturing",
|
|
114
|
+
"change the document type in 'document type-hint' section",
|
|
115
|
+
"step name on hover in 'steps' section",
|
|
116
|
+
"guideline inscription",
|
|
117
|
+
"background of the upload icon in the uploader",
|
|
118
|
+
"uploader's emphasized descriptions",
|
|
119
|
+
"disabled primary buttons",
|
|
120
|
+
"disabled button border",
|
|
121
|
+
"spinner's color"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"--color-success": {
|
|
125
|
+
"default": "#13CE66",
|
|
126
|
+
"type": "Color",
|
|
127
|
+
"description": [
|
|
128
|
+
"succeeded steps in 'steps' section",
|
|
129
|
+
"face shape when capturing the video in face step",
|
|
130
|
+
"capture progress",
|
|
131
|
+
"valid sign of 'result' modal window container",
|
|
132
|
+
"hints on video capture",
|
|
133
|
+
"background of uploader's success sign"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"--color-danger": {
|
|
137
|
+
"default": "#FF4949",
|
|
138
|
+
"type": "Color",
|
|
139
|
+
"description": [
|
|
140
|
+
"background and bottom border of the step error in 'steps' section",
|
|
141
|
+
"header of 'type not defined' modal window",
|
|
142
|
+
"invalid sign of 'result' modal window container",
|
|
143
|
+
"license error text"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"--color-warning": {
|
|
147
|
+
"default": "#FFC632",
|
|
148
|
+
"type": "Color",
|
|
149
|
+
"description": [
|
|
150
|
+
"warning sign of uploader"
|
|
151
|
+
]
|
|
152
|
+
},
|
|
153
|
+
"--color-text-secondary": {
|
|
154
|
+
"default": "#909399",
|
|
155
|
+
"type": "Color",
|
|
156
|
+
"description": [
|
|
157
|
+
"scrollbar of 'result' modal window",
|
|
158
|
+
"library version",
|
|
159
|
+
"descriptions of the uploader",
|
|
160
|
+
"close sign of 'result' modal window",
|
|
161
|
+
"name of the inactive step in 'steps' section"
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"--color-black": {
|
|
165
|
+
"default": "#000",
|
|
166
|
+
"type": "Color",
|
|
167
|
+
"description": [
|
|
168
|
+
"face shape icon in video capturing when the face is not detected at the face step",
|
|
169
|
+
"shadow of 'type not defined' modal window",
|
|
170
|
+
"caption of 'type not defined' modal window select",
|
|
171
|
+
"uploader's bold descriptions",
|
|
172
|
+
"shadow of 'result' modal window",
|
|
173
|
+
"bottom border of 'result' modal window row",
|
|
174
|
+
"options of change the document type in 'document type-hint' section",
|
|
175
|
+
"uploader's error sign stroke",
|
|
176
|
+
"uploader's error description"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
"--color-white": {
|
|
180
|
+
"default": "#FFF",
|
|
181
|
+
"type": "Color",
|
|
182
|
+
"description": [
|
|
183
|
+
"caption of buttons",
|
|
184
|
+
"border and caption of manual take picture button",
|
|
185
|
+
"upload icon",
|
|
186
|
+
"header description of 'type not defined' modal window",
|
|
187
|
+
"uploader success sign's checkmark",
|
|
188
|
+
"description of capture progress"
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
// stores the decryption of the field designations in the transmitted metaData
|
|
2
|
-
export default [
|
|
3
|
-
{
|
|
4
|
-
oneLetterKey: 'a',
|
|
5
|
-
fullNameKey: 'userAgent',
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
oneLetterKey: 'c',
|
|
9
|
-
fullNameKey: 'capturedMethod',
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
oneLetterKey: 'l',
|
|
13
|
-
fullNameKey: 'logs',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
oneLetterKey: 's',
|
|
17
|
-
fullNameKey: 'steps',
|
|
18
|
-
},
|
|
19
|
-
];
|
|
1
|
+
// stores the decryption of the field designations in the transmitted metaData
|
|
2
|
+
export default [
|
|
3
|
+
{
|
|
4
|
+
oneLetterKey: 'a',
|
|
5
|
+
fullNameKey: 'userAgent',
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
oneLetterKey: 'c',
|
|
9
|
+
fullNameKey: 'capturedMethod',
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
oneLetterKey: 'l',
|
|
13
|
+
fullNameKey: 'logs',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
oneLetterKey: 's',
|
|
17
|
+
fullNameKey: 'steps',
|
|
18
|
+
},
|
|
19
|
+
];
|