@regulaforensics/idv-face 4.0.663-nightly → 4.0.665-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/dist/index.d.ts CHANGED
@@ -51,6 +51,10 @@ declare type FaceModuleProps = {
51
51
  onboardingScreenStartButtonTitleHover?: string;
52
52
  onboardingScreenSubtitleLabelTextColor?: string;
53
53
  onboardingScreenMessageLabelsTextColor?: string;
54
+ onboardingScreenStartButtonFontName?: string;
55
+ onboardingScreenTitleLabelFontName?: string;
56
+ onboardingScreenSubtitleLabelFontName?: string;
57
+ onboardingScreenMessageLabelsFontName?: string;
54
58
  onboardingScreenStartButtonFontSize?: number;
55
59
  onboardingScreenTitleLabelFontSize?: number;
56
60
  onboardingScreenSubtitleLabelFontSize?: number;
@@ -65,6 +69,7 @@ declare type FaceModuleProps = {
65
69
  cameraScreenFrontHintLabelBackgroundColor?: string;
66
70
  cameraScreenFrontHintLabelTextColor?: string;
67
71
  cameraScreenHintLabelFontSize?: number;
72
+ cameraScreenHintLabelFontName?: string;
68
73
  retryScreenBackgroundColor?: string;
69
74
  retryScreenRetryButtonBackgroundColor?: string;
70
75
  retryScreenRetryButtonBackgroundHover?: string;
@@ -73,6 +78,10 @@ declare type FaceModuleProps = {
73
78
  retryScreenSubtitleLabelTextColor?: string;
74
79
  retryScreenRetryButtonTitleHover?: string;
75
80
  retryScreenHintLabelsTextColor?: string;
81
+ retryScreenRetryButtonFontName?: string;
82
+ retryScreenTitleLabelFontName?: string;
83
+ retryScreenSubtitleLabelFontName?: string;
84
+ retryScreenHintLabelsFontName?: string;
76
85
  retryScreenRetryButtonFontSize?: number;
77
86
  retryScreenTitleLabelFontSize?: number;
78
87
  retryScreenSubtitleLabelFontSize?: number;
@@ -84,20 +93,25 @@ declare type FaceModuleProps = {
84
93
  processingScreenProgressColor?: string;
85
94
  processingScreenTitleColor?: string;
86
95
  processingScreenFontSize?: number;
96
+ processingScreenFontName?: string;
87
97
  successScreenBackgroundColor?: string;
88
98
  successScreenImage?: IdvAsset;
89
99
  infoScreenBackgroundColor?: string;
90
100
  infoScreenTitleTextColor?: string;
91
101
  infoScreenTitleTextFontSize?: number;
102
+ infoScreenTitleTextFontName?: string;
92
103
  infoScreenSubtitleTextColor?: string;
93
104
  infoScreenSubtitleTextFontSize?: number;
105
+ infoScreenSubtitleTextFontName?: string;
94
106
  infoScreenRetryButtonFontSize?: number;
107
+ infoScreenRetryButtonFontName?: string;
95
108
  infoScreenRetryButtonBackgroundColor?: string;
96
109
  infoScreenRetryButtonTitleColor?: string;
97
110
  infoScreenRetryButtonTitleHover?: string;
98
111
  infoScreenRetryButtonBackgroundHover?: string;
99
112
  infoScreenErrorCodeColor?: string;
100
113
  infoScreenErrorCodeTextFontSize?: number;
114
+ infoScreenErrorCodeTextFontName?: string;
101
115
  };
102
116
  copyright?: boolean;
103
117
  serviceURL?: string;
package/dist/main.iife.js CHANGED
@@ -101,18 +101,34 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
101
101
  face-liveness::part(onboarding-screen-start-button) {
102
102
  font-size: ${o(e.onboardingScreenStartButtonFontSize)}px;
103
103
  }
104
+ `),e!=null&&e.onboardingScreenStartButtonFontName&&r.push(s`
105
+ face-liveness::part(onboarding-screen-start-button) {
106
+ font-family: ${o(e.onboardingScreenStartButtonFontName)};
107
+ }
104
108
  `),e!=null&&e.onboardingScreenTitleLabelFontSize&&r.push(s`
105
109
  face-liveness::part(onboarding-screen-title) {
106
110
  font-size: ${o(e.onboardingScreenTitleLabelFontSize)}px;
107
111
  }
112
+ `),e!=null&&e.onboardingScreenTitleLabelFontName&&r.push(s`
113
+ face-liveness::part(onboarding-screen-title) {
114
+ font-family: ${o(e.onboardingScreenTitleLabelFontName)};
115
+ }
108
116
  `),e!=null&&e.onboardingScreenSubtitleLabelFontSize&&r.push(s`
109
117
  face-liveness::part(onboarding-screen-subtitle) {
110
118
  font-size: ${o(e.onboardingScreenSubtitleLabelFontSize)}px;
111
119
  }
120
+ `),e!=null&&e.onboardingScreenSubtitleLabelFontName&&r.push(s`
121
+ face-liveness::part(onboarding-screen-subtitle) {
122
+ font-family: ${o(e.onboardingScreenSubtitleLabelFontName)};
123
+ }
112
124
  `),e!=null&&e.onboardingScreenMessageLabelsFontSize&&r.push(s`
113
125
  face-liveness::part(onboarding-screen-detail) {
114
126
  font-size: ${o(e.onboardingScreenMessageLabelsFontSize)}px;
115
127
  }
128
+ `),e!=null&&e.onboardingScreenMessageLabelsFontName&&r.push(s`
129
+ face-liveness::part(onboarding-screen-detail) {
130
+ font-family: ${o(e.onboardingScreenMessageLabelsFontName)};
131
+ }
116
132
  `),e!=null&&e.onboardingScreenMessageLabelsTextColor&&r.push(s`
117
133
  face-liveness::part(onboarding-screen-detail) {
118
134
  color: ${o(e.onboardingScreenMessageLabelsTextColor)};
@@ -139,10 +155,33 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
139
155
  face-liveness::part(retry-screen-person-text) {
140
156
  font-size: ${o(e.retryScreenHintLabelsFontSize)}px;
141
157
  }
158
+ face-liveness::part(retry-screen-too-much-turn-text) {
159
+ font-size: ${o(e.retryScreenHintLabelsFontSize)}px;
160
+ }
161
+ face-liveness::part(retry-screen-occlusion-text) {
162
+ font-size: ${o(e.retryScreenHintLabelsFontSize)}px;
163
+ }
164
+ `),e!=null&&e.retryScreenHintLabelsFontName&&r.push(s`
165
+ face-liveness::part(retry-screen-environment-text) {
166
+ font-family: ${o(e.retryScreenHintLabelsFontName)};
167
+ }
168
+ face-liveness::part(retry-screen-person-text) {
169
+ font-family: ${o(e.retryScreenHintLabelsFontName)};
170
+ }
171
+ face-liveness::part(retry-screen-too-much-turn-text) {
172
+ font-family: ${o(e.retryScreenHintLabelsFontName)};
173
+ }
174
+ face-liveness::part(retry-screen-occlusion-text) {
175
+ font-family: ${o(e.retryScreenHintLabelsFontName)};
176
+ }
142
177
  `),e!=null&&e.cameraScreenHintLabelFontSize&&r.push(s`
143
178
  face-liveness::part(camera-screen-front-hint-label) {
144
179
  font-size: ${o(e.cameraScreenHintLabelFontSize)}px;
145
180
  }
181
+ `),e!=null&&e.cameraScreenHintLabelFontName&&r.push(s`
182
+ face-liveness::part(camera-screen-front-hint-label) {
183
+ font-family: ${o(e.cameraScreenHintLabelFontName)};
184
+ }
146
185
  `),e!=null&&e.retryScreenTitleLabelTextColor&&r.push(s`
147
186
  face-liveness::part(retry-screen-title-text) {
148
187
  color: ${o(e.retryScreenTitleLabelTextColor)};
@@ -151,6 +190,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
151
190
  face-liveness::part(retry-screen-title-text) {
152
191
  font-size: ${o(e.retryScreenTitleLabelFontSize)}px;
153
192
  }
193
+ `),e!=null&&e.retryScreenTitleLabelFontName&&r.push(s`
194
+ face-liveness::part(retry-screen-title-text) {
195
+ font-family: ${o(e.retryScreenTitleLabelFontName)};
196
+ }
154
197
  `),e!=null&&e.retryScreenSubtitleLabelTextColor&&r.push(s`
155
198
  face-liveness::part(retry-screen-subtitle-text) {
156
199
  color: ${o(e.retryScreenSubtitleLabelTextColor)};
@@ -159,6 +202,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
159
202
  face-liveness::part(retry-screen-subtitle-text) {
160
203
  font-size: ${o(e.retryScreenSubtitleLabelFontSize)}px;
161
204
  }
205
+ `),e!=null&&e.retryScreenSubtitleLabelFontName&&r.push(s`
206
+ face-liveness::part(retry-screen-subtitle-text) {
207
+ font-family: ${o(e.retryScreenSubtitleLabelFontName)};
208
+ }
162
209
  `),e!=null&&e.retryScreenRetryButtonBackgroundColor&&r.push(s`
163
210
  face-liveness::part(retry-screen-retry-button) {
164
211
  background-color: ${o(e.retryScreenRetryButtonBackgroundColor)};
@@ -169,7 +216,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
169
216
  }
170
217
  `),e!=null&&e.retryScreenRetryButtonFontSize&&r.push(s`
171
218
  face-liveness::part(retry-screen-retry-button) {
172
- font-size: ${o(e.retryScreenRetryButtonFontSize)};
219
+ font-size: ${o(e.retryScreenRetryButtonFontSize)}px;
220
+ }
221
+ `),e!=null&&e.retryScreenRetryButtonFontName&&r.push(s`
222
+ face-liveness::part(retry-screen-retry-button) {
223
+ font-family: ${o(e.retryScreenRetryButtonFontName)};
173
224
  }
174
225
  `),e!=null&&e.infoScreenBackgroundColor&&r.push(s`
175
226
  face-liveness::part(info-screen) {
@@ -183,6 +234,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
183
234
  face-liveness::part(info-screen-title) {
184
235
  font-size: ${o(e.infoScreenTitleTextFontSize)}px;
185
236
  }
237
+ `),e!=null&&e.infoScreenTitleTextFontName&&r.push(s`
238
+ face-liveness::part(info-screen-title) {
239
+ font-family: ${o(e.infoScreenTitleTextFontName)};
240
+ }
186
241
  `),e!=null&&e.infoScreenSubtitleTextColor&&r.push(s`
187
242
  face-liveness::part(info-screen-subtitle) {
188
243
  color: ${o(e.infoScreenSubtitleTextColor)};
@@ -191,6 +246,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
191
246
  face-liveness::part(info-screen-subtitle) {
192
247
  font-size: ${o(e.infoScreenSubtitleTextFontSize)}px;
193
248
  }
249
+ `),e!=null&&e.infoScreenSubtitleTextFontName&&r.push(s`
250
+ face-liveness::part(info-screen-subtitle) {
251
+ font-family: ${o(e.infoScreenSubtitleTextFontName)};
252
+ }
194
253
  `),e!=null&&e.retryScreenRetryButtonTitleColor&&r.push(s`
195
254
  face-liveness::part(retry-screen-retry-button) {
196
255
  color: ${o(e.retryScreenRetryButtonTitleColor)};
@@ -215,6 +274,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
215
274
  face-liveness::part(info-screen-button) {
216
275
  font-size: ${o(e.infoScreenRetryButtonFontSize)}px;
217
276
  }
277
+ `),e!=null&&e.infoScreenRetryButtonFontName&&r.push(s`
278
+ face-liveness::part(info-screen-button) {
279
+ font-family: ${o(e.infoScreenRetryButtonFontName)};
280
+ }
218
281
  `),e!=null&&e.infoScreenRetryButtonBackgroundHover&&r.push(s`
219
282
  face-liveness::part(info-screen-button):hover {
220
283
  background-color: ${o(e.infoScreenRetryButtonBackgroundHover)};
@@ -227,6 +290,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
227
290
  face-liveness::part(info-screen-error-code) {
228
291
  font-size: ${o(e.infoScreenErrorCodeTextFontSize)}px;
229
292
  }
293
+ `),e!=null&&e.infoScreenErrorCodeTextFontName&&r.push(s`
294
+ face-liveness::part(info-screen-error-code) {
295
+ font-family: ${o(e.infoScreenErrorCodeTextFontName)};
296
+ }
230
297
  `),e!=null&&e.processingScreenTitleColor&&r.push(s`
231
298
  face-liveness::part(processing-screen-text) {
232
299
  color: ${o(e.processingScreenTitleColor)};
@@ -235,6 +302,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
235
302
  face-liveness::part(processing-screen-text) {
236
303
  font-size: ${o(e.processingScreenFontSize)}px;
237
304
  }
305
+ `),e!=null&&e.processingScreenFontName&&r.push(s`
306
+ face-liveness::part(processing-screen-text) {
307
+ font-family: ${o(e.processingScreenFontName)};
308
+ }
238
309
  `),e!=null&&e.retryScreenHintGeo){let i=$e(e.retryScreenHintGeo,t,n);i&&r.push(s`
239
310
  face-liveness::part(retry-screen-too-much-turn-image) {
240
311
  background-image: url(${o(i)});
package/dist/main.js CHANGED
@@ -14833,18 +14833,34 @@ var cw = class extends je {
14833
14833
  face-liveness::part(onboarding-screen-start-button) {
14834
14834
  font-size: ${a(e.onboardingScreenStartButtonFontSize)}px;
14835
14835
  }
14836
+ `), e != null && e.onboardingScreenStartButtonFontName && r.push(o`
14837
+ face-liveness::part(onboarding-screen-start-button) {
14838
+ font-family: ${a(e.onboardingScreenStartButtonFontName)};
14839
+ }
14836
14840
  `), e != null && e.onboardingScreenTitleLabelFontSize && r.push(o`
14837
14841
  face-liveness::part(onboarding-screen-title) {
14838
14842
  font-size: ${a(e.onboardingScreenTitleLabelFontSize)}px;
14839
14843
  }
14844
+ `), e != null && e.onboardingScreenTitleLabelFontName && r.push(o`
14845
+ face-liveness::part(onboarding-screen-title) {
14846
+ font-family: ${a(e.onboardingScreenTitleLabelFontName)};
14847
+ }
14840
14848
  `), e != null && e.onboardingScreenSubtitleLabelFontSize && r.push(o`
14841
14849
  face-liveness::part(onboarding-screen-subtitle) {
14842
14850
  font-size: ${a(e.onboardingScreenSubtitleLabelFontSize)}px;
14843
14851
  }
14852
+ `), e != null && e.onboardingScreenSubtitleLabelFontName && r.push(o`
14853
+ face-liveness::part(onboarding-screen-subtitle) {
14854
+ font-family: ${a(e.onboardingScreenSubtitleLabelFontName)};
14855
+ }
14844
14856
  `), e != null && e.onboardingScreenMessageLabelsFontSize && r.push(o`
14845
14857
  face-liveness::part(onboarding-screen-detail) {
14846
14858
  font-size: ${a(e.onboardingScreenMessageLabelsFontSize)}px;
14847
14859
  }
14860
+ `), e != null && e.onboardingScreenMessageLabelsFontName && r.push(o`
14861
+ face-liveness::part(onboarding-screen-detail) {
14862
+ font-family: ${a(e.onboardingScreenMessageLabelsFontName)};
14863
+ }
14848
14864
  `), e != null && e.onboardingScreenMessageLabelsTextColor && r.push(o`
14849
14865
  face-liveness::part(onboarding-screen-detail) {
14850
14866
  color: ${a(e.onboardingScreenMessageLabelsTextColor)};
@@ -14871,10 +14887,33 @@ var cw = class extends je {
14871
14887
  face-liveness::part(retry-screen-person-text) {
14872
14888
  font-size: ${a(e.retryScreenHintLabelsFontSize)}px;
14873
14889
  }
14890
+ face-liveness::part(retry-screen-too-much-turn-text) {
14891
+ font-size: ${a(e.retryScreenHintLabelsFontSize)}px;
14892
+ }
14893
+ face-liveness::part(retry-screen-occlusion-text) {
14894
+ font-size: ${a(e.retryScreenHintLabelsFontSize)}px;
14895
+ }
14896
+ `), e != null && e.retryScreenHintLabelsFontName && r.push(o`
14897
+ face-liveness::part(retry-screen-environment-text) {
14898
+ font-family: ${a(e.retryScreenHintLabelsFontName)};
14899
+ }
14900
+ face-liveness::part(retry-screen-person-text) {
14901
+ font-family: ${a(e.retryScreenHintLabelsFontName)};
14902
+ }
14903
+ face-liveness::part(retry-screen-too-much-turn-text) {
14904
+ font-family: ${a(e.retryScreenHintLabelsFontName)};
14905
+ }
14906
+ face-liveness::part(retry-screen-occlusion-text) {
14907
+ font-family: ${a(e.retryScreenHintLabelsFontName)};
14908
+ }
14874
14909
  `), e != null && e.cameraScreenHintLabelFontSize && r.push(o`
14875
14910
  face-liveness::part(camera-screen-front-hint-label) {
14876
14911
  font-size: ${a(e.cameraScreenHintLabelFontSize)}px;
14877
14912
  }
14913
+ `), e != null && e.cameraScreenHintLabelFontName && r.push(o`
14914
+ face-liveness::part(camera-screen-front-hint-label) {
14915
+ font-family: ${a(e.cameraScreenHintLabelFontName)};
14916
+ }
14878
14917
  `), e != null && e.retryScreenTitleLabelTextColor && r.push(o`
14879
14918
  face-liveness::part(retry-screen-title-text) {
14880
14919
  color: ${a(e.retryScreenTitleLabelTextColor)};
@@ -14883,6 +14922,10 @@ var cw = class extends je {
14883
14922
  face-liveness::part(retry-screen-title-text) {
14884
14923
  font-size: ${a(e.retryScreenTitleLabelFontSize)}px;
14885
14924
  }
14925
+ `), e != null && e.retryScreenTitleLabelFontName && r.push(o`
14926
+ face-liveness::part(retry-screen-title-text) {
14927
+ font-family: ${a(e.retryScreenTitleLabelFontName)};
14928
+ }
14886
14929
  `), e != null && e.retryScreenSubtitleLabelTextColor && r.push(o`
14887
14930
  face-liveness::part(retry-screen-subtitle-text) {
14888
14931
  color: ${a(e.retryScreenSubtitleLabelTextColor)};
@@ -14891,6 +14934,10 @@ var cw = class extends je {
14891
14934
  face-liveness::part(retry-screen-subtitle-text) {
14892
14935
  font-size: ${a(e.retryScreenSubtitleLabelFontSize)}px;
14893
14936
  }
14937
+ `), e != null && e.retryScreenSubtitleLabelFontName && r.push(o`
14938
+ face-liveness::part(retry-screen-subtitle-text) {
14939
+ font-family: ${a(e.retryScreenSubtitleLabelFontName)};
14940
+ }
14894
14941
  `), e != null && e.retryScreenRetryButtonBackgroundColor && r.push(o`
14895
14942
  face-liveness::part(retry-screen-retry-button) {
14896
14943
  background-color: ${a(e.retryScreenRetryButtonBackgroundColor)};
@@ -14901,7 +14948,11 @@ var cw = class extends je {
14901
14948
  }
14902
14949
  `), e != null && e.retryScreenRetryButtonFontSize && r.push(o`
14903
14950
  face-liveness::part(retry-screen-retry-button) {
14904
- font-size: ${a(e.retryScreenRetryButtonFontSize)};
14951
+ font-size: ${a(e.retryScreenRetryButtonFontSize)}px;
14952
+ }
14953
+ `), e != null && e.retryScreenRetryButtonFontName && r.push(o`
14954
+ face-liveness::part(retry-screen-retry-button) {
14955
+ font-family: ${a(e.retryScreenRetryButtonFontName)};
14905
14956
  }
14906
14957
  `), e != null && e.infoScreenBackgroundColor && r.push(o`
14907
14958
  face-liveness::part(info-screen) {
@@ -14915,6 +14966,10 @@ var cw = class extends je {
14915
14966
  face-liveness::part(info-screen-title) {
14916
14967
  font-size: ${a(e.infoScreenTitleTextFontSize)}px;
14917
14968
  }
14969
+ `), e != null && e.infoScreenTitleTextFontName && r.push(o`
14970
+ face-liveness::part(info-screen-title) {
14971
+ font-family: ${a(e.infoScreenTitleTextFontName)};
14972
+ }
14918
14973
  `), e != null && e.infoScreenSubtitleTextColor && r.push(o`
14919
14974
  face-liveness::part(info-screen-subtitle) {
14920
14975
  color: ${a(e.infoScreenSubtitleTextColor)};
@@ -14923,6 +14978,10 @@ var cw = class extends je {
14923
14978
  face-liveness::part(info-screen-subtitle) {
14924
14979
  font-size: ${a(e.infoScreenSubtitleTextFontSize)}px;
14925
14980
  }
14981
+ `), e != null && e.infoScreenSubtitleTextFontName && r.push(o`
14982
+ face-liveness::part(info-screen-subtitle) {
14983
+ font-family: ${a(e.infoScreenSubtitleTextFontName)};
14984
+ }
14926
14985
  `), e != null && e.retryScreenRetryButtonTitleColor && r.push(o`
14927
14986
  face-liveness::part(retry-screen-retry-button) {
14928
14987
  color: ${a(e.retryScreenRetryButtonTitleColor)};
@@ -14947,6 +15006,10 @@ var cw = class extends je {
14947
15006
  face-liveness::part(info-screen-button) {
14948
15007
  font-size: ${a(e.infoScreenRetryButtonFontSize)}px;
14949
15008
  }
15009
+ `), e != null && e.infoScreenRetryButtonFontName && r.push(o`
15010
+ face-liveness::part(info-screen-button) {
15011
+ font-family: ${a(e.infoScreenRetryButtonFontName)};
15012
+ }
14950
15013
  `), e != null && e.infoScreenRetryButtonBackgroundHover && r.push(o`
14951
15014
  face-liveness::part(info-screen-button):hover {
14952
15015
  background-color: ${a(e.infoScreenRetryButtonBackgroundHover)};
@@ -14959,6 +15022,10 @@ var cw = class extends je {
14959
15022
  face-liveness::part(info-screen-error-code) {
14960
15023
  font-size: ${a(e.infoScreenErrorCodeTextFontSize)}px;
14961
15024
  }
15025
+ `), e != null && e.infoScreenErrorCodeTextFontName && r.push(o`
15026
+ face-liveness::part(info-screen-error-code) {
15027
+ font-family: ${a(e.infoScreenErrorCodeTextFontName)};
15028
+ }
14962
15029
  `), e != null && e.processingScreenTitleColor && r.push(o`
14963
15030
  face-liveness::part(processing-screen-text) {
14964
15031
  color: ${a(e.processingScreenTitleColor)};
@@ -14967,6 +15034,10 @@ var cw = class extends je {
14967
15034
  face-liveness::part(processing-screen-text) {
14968
15035
  font-size: ${a(e.processingScreenFontSize)}px;
14969
15036
  }
15037
+ `), e != null && e.processingScreenFontName && r.push(o`
15038
+ face-liveness::part(processing-screen-text) {
15039
+ font-family: ${a(e.processingScreenFontName)};
15040
+ }
14970
15041
  `), e != null && e.retryScreenHintGeo) {
14971
15042
  let i = $e(e.retryScreenHintGeo, t, n);
14972
15043
  i && r.push(o`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/idv-face",
3
- "version": "4.0.663-nightly",
3
+ "version": "4.0.665-nightly",
4
4
  "description": "Regula framework agnostic web components to work with face idv",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/main.js",