@regulaforensics/document-reader 9.2.624-rc → 9.2.631-rc
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/RNDocumentReader.podspec +2 -2
- package/android/build.gradle +1 -1
- package/android/cordova.gradle +1 -1
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +38 -9
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +13 -0
- package/examples/capacitor/package-lock.json +3 -3
- package/examples/capacitor/package.json +1 -1
- package/examples/ionic/package-lock.json +180 -170
- package/examples/ionic/package.json +1 -1
- package/examples/react_native/package-lock.json +6 -6
- package/examples/react_native/package.json +1 -1
- package/ios/RGLWConfig.m +30 -18
- package/ios/RGLWJSONConstructor.h +2 -0
- package/ios/RGLWJSONConstructor.m +18 -0
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +22 -3
- package/test/package-lock.json +1 -1
- package/test/test.tsx +3 -2
- package/www/capacitor/index.js +3 -2
- package/www/capacitor/params/customization/CustomizationColors.js +80 -0
- package/www/capacitor/params/customization/CustomizationFonts.js +50 -2
- package/www/capacitor/params/customization/CustomizationImages.js +18 -2
- package/www/capacitor/params/process_params/Bsi.js +23 -0
- package/www/capacitor/params/process_params/ProcessParams.js +9 -17
- package/www/cordova.js +293 -118
- package/www/react-native/index.js +3 -2
- package/www/react-native/params/customization/CustomizationColors.js +80 -0
- package/www/react-native/params/customization/CustomizationFonts.js +50 -2
- package/www/react-native/params/customization/CustomizationImages.js +18 -2
- package/www/react-native/params/process_params/Bsi.js +23 -0
- package/www/react-native/params/process_params/ProcessParams.js +9 -17
- package/www/types/index.d.ts +3 -2
- package/www/types/params/customization/CustomizationColors.d.ts +14 -0
- package/www/types/params/customization/CustomizationFonts.d.ts +9 -0
- package/www/types/params/customization/CustomizationImages.d.ts +5 -7
- package/www/types/params/process_params/Bsi.d.ts +3 -0
- package/www/types/params/process_params/ProcessParams.d.ts +2 -6
|
@@ -3091,9 +3091,9 @@
|
|
|
3091
3091
|
}
|
|
3092
3092
|
},
|
|
3093
3093
|
"node_modules/ajv": {
|
|
3094
|
-
"version": "8.
|
|
3095
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.
|
|
3096
|
-
"integrity": "sha512-
|
|
3094
|
+
"version": "8.18.0",
|
|
3095
|
+
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",
|
|
3096
|
+
"integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==",
|
|
3097
3097
|
"license": "MIT",
|
|
3098
3098
|
"dependencies": {
|
|
3099
3099
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -8116,9 +8116,9 @@
|
|
|
8116
8116
|
}
|
|
8117
8117
|
},
|
|
8118
8118
|
"node_modules/tar": {
|
|
8119
|
-
"version": "7.5.
|
|
8120
|
-
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.
|
|
8121
|
-
"integrity": "sha512-
|
|
8119
|
+
"version": "7.5.9",
|
|
8120
|
+
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.9.tgz",
|
|
8121
|
+
"integrity": "sha512-BTLcK0xsDh2+PUe9F6c2TlRp4zOOBMTkoQHQIWSIzI0R7KG46uEwq4OPk2W7bZcprBMsuaeFsqwYr7pjh6CuHg==",
|
|
8122
8122
|
"license": "BlueOak-1.0.0",
|
|
8123
8123
|
"dependencies": {
|
|
8124
8124
|
"@isaacs/fs-minipass": "^4.0.0",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"start": "expo start"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@regulaforensics/document-reader": "9.2.
|
|
11
|
+
"@regulaforensics/document-reader": "9.2.631-rc",
|
|
12
12
|
"@regulaforensics/document-reader-core-fullauthrfid": "9.2.1513",
|
|
13
13
|
"@regulaforensics/document-reader-btdevice": "9.1.35",
|
|
14
14
|
"react-native": "^0.81.4",
|
package/ios/RGLWConfig.m
CHANGED
|
@@ -194,10 +194,6 @@
|
|
|
194
194
|
if (options[@"strictSecurityChecks"]) processParams.strictSecurityChecks = options[@"strictSecurityChecks"];
|
|
195
195
|
if (options[@"returnTransliteratedFields"]) processParams.returnTransliteratedFields = options[@"returnTransliteratedFields"];
|
|
196
196
|
if (options[@"checkCaptureProcessIntegrity"]) processParams.checkCaptureProcessIntegrity = options[@"checkCaptureProcessIntegrity"];
|
|
197
|
-
if (options[@"bsiTr03135"]) {
|
|
198
|
-
processParams.bsiTr03135 = [RGLBsi new];
|
|
199
|
-
processParams.bsiTr03135.generateResult = options[@"bsiTr03135"][@"generateResult"];
|
|
200
|
-
}
|
|
201
197
|
|
|
202
198
|
// Int
|
|
203
199
|
if([options valueForKey:@"measureSystem"] != nil)
|
|
@@ -272,16 +268,17 @@
|
|
|
272
268
|
if (options[@"customParams"]) processParams.customParams = options[@"customParams"];
|
|
273
269
|
if ([options valueForKey:@"imageQA"] != nil)
|
|
274
270
|
[self setImageQA:processParams.imageQA input:[options valueForKey:@"imageQA"]];
|
|
271
|
+
if ([options valueForKey:@"authenticityParams"] != nil) {
|
|
272
|
+
if(processParams.authenticityParams == nil) processParams.authenticityParams = [RGLAuthenticityParams defaultParams];
|
|
273
|
+
[self setAuthenticityParams:processParams.authenticityParams input:[options valueForKey:@"authenticityParams"]];
|
|
274
|
+
}
|
|
275
275
|
if ([options valueForKey:@"rfidParams"] != nil)
|
|
276
276
|
processParams.rfidParams = [RGLWJSONConstructor rfidParamsFromJson:[options valueForKey:@"rfidParams"]];
|
|
277
277
|
if ([options valueForKey:@"faceApiParams"] != nil)
|
|
278
278
|
processParams.faceApiParams = [RGLWJSONConstructor faceAPIParamsFromJson:[options valueForKey:@"faceApiParams"]];
|
|
279
279
|
if ([options valueForKey:@"backendProcessingConfig"] != nil)
|
|
280
280
|
processParams.backendProcessingConfig = [RGLWJSONConstructor backendProcessingConfigFromJson:[options valueForKey:@"backendProcessingConfig"]];
|
|
281
|
-
if ([
|
|
282
|
-
if(processParams.authenticityParams == nil) processParams.authenticityParams = [RGLAuthenticityParams defaultParams];
|
|
283
|
-
[self setAuthenticityParams:processParams.authenticityParams input:[options valueForKey:@"authenticityParams"]];
|
|
284
|
-
}
|
|
281
|
+
if (options[@"bsiTr03135"]) processParams.bsiTr03135 = [RGLWJSONConstructor bsiFromJson:options[@"bsiTr03135"]];
|
|
285
282
|
}
|
|
286
283
|
|
|
287
284
|
+(NSDictionary*)getProcessParams:(RGLProcessParams*)processParams {
|
|
@@ -329,9 +326,6 @@
|
|
|
329
326
|
result[@"strictSecurityChecks"] = processParams.strictSecurityChecks;
|
|
330
327
|
result[@"returnTransliteratedFields"] = processParams.returnTransliteratedFields;
|
|
331
328
|
result[@"checkCaptureProcessIntegrity"] = processParams.checkCaptureProcessIntegrity;
|
|
332
|
-
if(processParams.bsiTr03135) result[@"bsiTr03135"] = @{
|
|
333
|
-
@"generateResult": processParams.bsiTr03135.generateResult,
|
|
334
|
-
};
|
|
335
329
|
|
|
336
330
|
// Int
|
|
337
331
|
result[@"measureSystem"] = [NSNumber numberWithInteger:processParams.measureSystem];
|
|
@@ -376,10 +370,11 @@
|
|
|
376
370
|
|
|
377
371
|
// JSONObject
|
|
378
372
|
result[@"imageQA"] = [self getImageQA:processParams.imageQA];
|
|
373
|
+
result[@"authenticityParams"] = [self getAuthenticityParams:processParams.authenticityParams];
|
|
379
374
|
result[@"rfidParams"] = [RGLWJSONConstructor generateRFIDParams:processParams.rfidParams];
|
|
380
375
|
result[@"faceApiParams"] = [RGLWJSONConstructor generateFaceAPIParams:processParams.faceApiParams];
|
|
381
376
|
result[@"backendProcessingConfig"] = [RGLWJSONConstructor generateBackendProcessingConfig:processParams.backendProcessingConfig];
|
|
382
|
-
result[@"
|
|
377
|
+
result[@"bsiTr03135"] = [RGLWJSONConstructor generateBsi:processParams.bsiTr03135];
|
|
383
378
|
|
|
384
379
|
// Custom
|
|
385
380
|
result[@"customParams"] = processParams.customParams;
|
|
@@ -1095,8 +1090,13 @@
|
|
|
1095
1090
|
result[@(RFIDProcessingScreenProgressBarBackground)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenProgressBarBackground"]];
|
|
1096
1091
|
if([input valueForKey:@"rfidProcessingScreenResultLabelText"] != nil)
|
|
1097
1092
|
result[@(RFIDProcessingScreenResultLabelText)] = [self colorWithInt:[input valueForKey:@"rfidProcessingScreenResultLabelText"]];
|
|
1098
|
-
if([
|
|
1099
|
-
|
|
1093
|
+
if(input[@"rfidProcessingScreenLoadingBar"]) result[@(RFIDProcessingScreenLoadingBar)] = [self colorWithInt:input[@"rfidProcessingScreenLoadingBar"]];
|
|
1094
|
+
if(input[@"mdlProcessingScreenBackground"]) result[@(MDLProcessingScreenBackground)] = [self colorWithInt:input[@"mdlProcessingScreenBackground"]];
|
|
1095
|
+
if(input[@"mdlProcessingScreenHintLabelText"]) result[@(MDLProcessingScreenHintLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenHintLabelText"]];
|
|
1096
|
+
if(input[@"mdlProcessingScreenHintLabelBackground"]) result[@(MDLProcessingScreenHintLabelBackground)] = [self colorWithInt:input[@"mdlProcessingScreenHintLabelBackground"]];
|
|
1097
|
+
if(input[@"mdlProcessingScreenProgressLabelText"]) result[@(MDLProcessingScreenProgressLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenProgressLabelText"]];
|
|
1098
|
+
if(input[@"mdlProcessingScreenResultLabelText"]) result[@(MDLProcessingScreenResultLabelText)] = [self colorWithInt:input[@"mdlProcessingScreenResultLabelText"]];
|
|
1099
|
+
if(input[@"mdlProcessingScreenLoadingBar"]) result[@(MDLProcessingScreenLoadingBar)] = [self colorWithInt:input[@"mdlProcessingScreenLoadingBar"]];
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
1102
|
+(NSDictionary*)getColors:(NSDictionary*)input {
|
|
@@ -1109,6 +1109,12 @@
|
|
|
1109
1109
|
@"rfidProcessingScreenProgressBarBackground": [self intWithColor:input[@(RFIDProcessingScreenProgressBarBackground)]],
|
|
1110
1110
|
@"rfidProcessingScreenResultLabelText": [self intWithColor:input[@(RFIDProcessingScreenResultLabelText)]],
|
|
1111
1111
|
@"rfidProcessingScreenLoadingBar": [self intWithColor:input[@(RFIDProcessingScreenLoadingBar)]],
|
|
1112
|
+
@"mdlProcessingScreenBackground": [self intWithColor:input[@(MDLProcessingScreenBackground)]],
|
|
1113
|
+
@"mdlProcessingScreenHintLabelText": [self intWithColor:input[@(MDLProcessingScreenHintLabelText)]],
|
|
1114
|
+
@"mdlProcessingScreenHintLabelBackground": [self intWithColor:input[@(MDLProcessingScreenHintLabelBackground)]],
|
|
1115
|
+
@"mdlProcessingScreenProgressLabelText": [self intWithColor:input[@(MDLProcessingScreenProgressLabelText)]],
|
|
1116
|
+
@"mdlProcessingScreenResultLabelText": [self intWithColor:input[@(MDLProcessingScreenResultLabelText)]],
|
|
1117
|
+
@"mdlProcessingScreenLoadingBar": [self intWithColor:input[@(MDLProcessingScreenLoadingBar)]],
|
|
1112
1118
|
};
|
|
1113
1119
|
}
|
|
1114
1120
|
|
|
@@ -1117,8 +1123,10 @@
|
|
|
1117
1123
|
result[@(RFIDProcessingScreenHintLabel)] = [self UIFontFromJSON:[input valueForKey:@"rfidProcessingScreenHintLabel"]];
|
|
1118
1124
|
if([input valueForKey:@"rfidProcessingScreenProgressLabel"] != nil)
|
|
1119
1125
|
result[@(RFIDProcessingScreenProgressLabel)] = [self UIFontFromJSON:[input valueForKey:@"rfidProcessingScreenProgressLabel"]];
|
|
1120
|
-
if([
|
|
1121
|
-
|
|
1126
|
+
if(input[@"rfidProcessingScreenResultLabel"]) result[@(RFIDProcessingScreenResultLabel)] = [self UIFontFromJSON:input[@"rfidProcessingScreenResultLabel"]];
|
|
1127
|
+
if(input[@"mdlProcessingScreenHintLabel"]) result[@(MDLProcessingScreenHintLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenHintLabel"]];
|
|
1128
|
+
if(input[@"mdlProcessingScreenProgressLabel"]) result[@(MDLProcessingScreenProgressLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenProgressLabel"]];
|
|
1129
|
+
if(input[@"mdlProcessingScreenResultLabel"]) result[@(MDLProcessingScreenResultLabel)] = [self UIFontFromJSON:input[@"mdlProcessingScreenResultLabel"]];
|
|
1122
1130
|
}
|
|
1123
1131
|
|
|
1124
1132
|
+(NSDictionary*)getFonts:(NSDictionary*)input {
|
|
@@ -1126,17 +1134,21 @@
|
|
|
1126
1134
|
@"rfidProcessingScreenHintLabel": [self generateUIFont:input[@(RFIDProcessingScreenHintLabel)]],
|
|
1127
1135
|
@"rfidProcessingScreenProgressLabel": [self generateUIFont:input[@(RFIDProcessingScreenProgressLabel)]],
|
|
1128
1136
|
@"rfidProcessingScreenResultLabel": [self generateUIFont:input[@(RFIDProcessingScreenResultLabel)]],
|
|
1137
|
+
@"mdlProcessingScreenHintLabel": [self generateUIFont:input[@(MDLProcessingScreenHintLabel)]],
|
|
1138
|
+
@"mdlProcessingScreenProgressLabel": [self generateUIFont:input[@(MDLProcessingScreenProgressLabel)]],
|
|
1139
|
+
@"mdlProcessingScreenResultLabel": [self generateUIFont:input[@(MDLProcessingScreenResultLabel)]],
|
|
1129
1140
|
};
|
|
1130
1141
|
}
|
|
1131
1142
|
|
|
1132
1143
|
+(void)setImages:(NSMutableDictionary*)result input:(NSDictionary*)input {
|
|
1133
|
-
if([
|
|
1134
|
-
|
|
1144
|
+
if(input[@"rfidProcessingScreenFailureImage"]) result[@(RFIDProcessingScreenFailureImage)] = [RGLWJSONConstructor imageWithBase64:input[@"rfidProcessingScreenFailureImage"]];
|
|
1145
|
+
if(input[@"mdlProcessingScreenFailureImage"]) result[@(MDLProcessingScreenFailureImage)] = [RGLWJSONConstructor imageWithBase64:input[@"mdlProcessingScreenFailureImage"]];
|
|
1135
1146
|
}
|
|
1136
1147
|
|
|
1137
1148
|
+(NSDictionary*)getImages:(NSDictionary*)input {
|
|
1138
1149
|
return @{
|
|
1139
1150
|
@"rfidProcessingScreenFailureImage": [RGLWJSONConstructor base64WithImage:input[@(RFIDProcessingScreenFailureImage)]],
|
|
1151
|
+
@"mdlProcessingScreenFailureImage": [RGLWJSONConstructor base64WithImage:input[@(MDLProcessingScreenFailureImage)]],
|
|
1140
1152
|
};
|
|
1141
1153
|
}
|
|
1142
1154
|
|
|
@@ -51,6 +51,8 @@
|
|
|
51
51
|
+(NSDictionary* _Nullable)generateProcessParams:(RGLProcessParams* _Nullable)input;
|
|
52
52
|
+(RGLBackendProcessingConfig* _Nullable)backendProcessingConfigFromJson:(NSDictionary* _Nullable)input;
|
|
53
53
|
+(NSDictionary* _Nullable)generateBackendProcessingConfig:(RGLBackendProcessingConfig* _Nullable)input;
|
|
54
|
+
+(RGLBsi* _Nullable)bsiFromJson:(NSDictionary* _Nullable)input;
|
|
55
|
+
+(NSDictionary* _Nullable)generateBsi:(RGLBsi* _Nullable)input;
|
|
54
56
|
+(RGLeDLDataGroup* _Nullable)eDLDataGroupsFromJson:(NSDictionary* _Nullable)input;
|
|
55
57
|
+(NSDictionary* _Nullable)generateEDLDataGroups:(RGLeDLDataGroup* _Nullable)input;
|
|
56
58
|
+(RGLePassportDataGroup* _Nullable)ePassportDataGroupsFromJson:(NSDictionary* _Nullable)input;
|
|
@@ -303,6 +303,24 @@ static NSMutableArray* weakReferencesHolder;
|
|
|
303
303
|
return result;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
+
+(RGLBsi*)bsiFromJson:(NSDictionary*)input {
|
|
307
|
+
if(input == nil) return nil;
|
|
308
|
+
RGLBsi *result = [RGLBsi new];
|
|
309
|
+
|
|
310
|
+
if(input[@"generateResult"]) result.generateResult = input[@"generateResult"];
|
|
311
|
+
|
|
312
|
+
return result;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
+(NSDictionary*)generateBsi:(RGLBsi*)input {
|
|
316
|
+
if(input == nil) return nil;
|
|
317
|
+
NSMutableDictionary* result = [NSMutableDictionary new];
|
|
318
|
+
|
|
319
|
+
result[@"generateResult"] = input.generateResult;
|
|
320
|
+
|
|
321
|
+
return result;
|
|
322
|
+
}
|
|
323
|
+
|
|
306
324
|
+(RGLImageQA*)imageQAFromJson:(NSDictionary*)input {
|
|
307
325
|
RGLImageQA *result = [RGLImageQA new];
|
|
308
326
|
[RGLWConfig setImageQA:result input:input];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/document-reader",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.631-rc",
|
|
4
4
|
"description": "This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.",
|
|
5
5
|
"main": "www/react-native/index.js",
|
|
6
6
|
"module": "www/capacitor/index.js",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/document-reader" version="9.2.
|
|
2
|
+
<plugin id="@regulaforensics/document-reader" version="9.2.631-rc" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>DocumentReader</name>
|
|
4
4
|
<description>Cordova plugin for Regula Document Reader SDK</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<source url="https://github.com/CocoaPods/Specs.git" />
|
|
30
30
|
</config>
|
|
31
31
|
<pods>
|
|
32
|
-
<pod name="DocumentReaderStage" spec="9.
|
|
32
|
+
<pod name="DocumentReaderStage" spec="9.3.5986" />
|
|
33
33
|
</pods>
|
|
34
34
|
</podspec>
|
|
35
35
|
</platform>
|
package/test/json.tsx
CHANGED
|
@@ -67,6 +67,9 @@ export var backendProcessingConfig = {
|
|
|
67
67
|
"httpHeaders": {"key1": "val1", "key2": "val2", "key3": "val3"},
|
|
68
68
|
"timeoutConnection": 0.5,
|
|
69
69
|
};
|
|
70
|
+
export var bsi = {
|
|
71
|
+
"generateResult": true,
|
|
72
|
+
};
|
|
70
73
|
export var processParams = {
|
|
71
74
|
"multipageProcessing": true,
|
|
72
75
|
"debugSaveImages": false,
|
|
@@ -108,9 +111,7 @@ export var processParams = {
|
|
|
108
111
|
"strictSecurityChecks": false,
|
|
109
112
|
"returnTransliteratedFields": true,
|
|
110
113
|
"checkCaptureProcessIntegrity": false,
|
|
111
|
-
"bsiTr03135":
|
|
112
|
-
"generateResult": true
|
|
113
|
-
},
|
|
114
|
+
"bsiTr03135": bsi,
|
|
114
115
|
"measureSystem": 1,
|
|
115
116
|
"barcodeParserType": 3,
|
|
116
117
|
"perspectiveAngle": 4,
|
|
@@ -166,6 +167,16 @@ export var customizationColors = {
|
|
|
166
167
|
"rfidEnableNfcDescriptionText": 0xff000009,
|
|
167
168
|
"rfidEnableNfcButtonText": 0xff000010,
|
|
168
169
|
"rfidEnableNfcButtonBackground": 0xff000011,
|
|
170
|
+
"mdlProcessingScreenBackground": 0xff000012,
|
|
171
|
+
"mdlProcessingScreenHintLabelText": 0xff000013,
|
|
172
|
+
"mdlProcessingScreenHintLabelBackground": 0xff000014,
|
|
173
|
+
"mdlProcessingScreenProgressLabelText": 0xff000015,
|
|
174
|
+
"mdlProcessingScreenResultLabelText": 0xff000016,
|
|
175
|
+
"mdlProcessingScreenLoadingBar": 0xff000017,
|
|
176
|
+
"mdlEnableNfcTitleText": 0xff000018,
|
|
177
|
+
"mdlEnableNfcDescriptionText": 0xff000019,
|
|
178
|
+
"mdlEnableNfcButtonText": 0xff000020,
|
|
179
|
+
"mdlEnableNfcButtonBackground": 0xff000021,
|
|
169
180
|
};
|
|
170
181
|
export var customizationFonts = {
|
|
171
182
|
"rfidProcessingScreenHintLabel": font1,
|
|
@@ -174,10 +185,18 @@ export var customizationFonts = {
|
|
|
174
185
|
"rfidEnableNfcTitleText": font2,
|
|
175
186
|
"rfidEnableNfcDescriptionText": font1,
|
|
176
187
|
"rfidEnableNfcButtonText": font2,
|
|
188
|
+
"mdlProcessingScreenHintLabel": font1,
|
|
189
|
+
"mdlProcessingScreenProgressLabel": font2,
|
|
190
|
+
"mdlProcessingScreenResultLabel": font1,
|
|
191
|
+
"mdlEnableNfcTitleText": font2,
|
|
192
|
+
"mdlEnableNfcDescriptionText": font1,
|
|
193
|
+
"mdlEnableNfcButtonText": font2,
|
|
177
194
|
};
|
|
178
195
|
export var customizationImages = {
|
|
179
196
|
"rfidProcessingScreenFailureImage": img1,
|
|
180
197
|
"rfidEnableNfcImage": img2,
|
|
198
|
+
"mdlProcessingScreenFailureImage": img1,
|
|
199
|
+
"mdlEnableNfcImage": img2,
|
|
181
200
|
};
|
|
182
201
|
export var customization = {
|
|
183
202
|
"showStatusMessages": true,
|
package/test/package-lock.json
CHANGED
package/test/test.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { compare } from './utils'
|
|
2
|
-
import { AccessControlProcedureType, Application, Attribute, AuthenticityCheck, AuthenticityElement, AuthenticityParams, AuthenticityResult, Authority, BackendProcessingConfig, BarcodeField, BarcodeResult, BytesData, CardProperties, CertificateChain, CertificateData, Comparison, Coordinate, Customization, CustomizationColors, CustomizationFonts, CustomizationImages, DataField, DocReaderException, DocReaderScenario, DocReaderVersion, DocumentsDatabase, DocumentType, EDLDataGroups, EIDDataGroups, DTCDataGroup, EPassportDataGroups, Extension, FaceApiParams, FaceApiSearchParams, File, FileData, Functionality, GlaresCheckParams, RFIDParams, GraphicField, GraphicResult, ImageInputData, ImageQA, ImageQuality, ImageQualityGroup, InitConfig, License, LivenessParams, OnlineProcessingConfig, OpticalStatus, PAAttribute, PAResourcesIssuer, PDF417Info, PKDCertificate, Position, PrepareProgress, ProcessParams, RecognizeConfig, Rect, Results, ResultsStatus, RFIDException, RFIDNotification, RFIDOrigin, RFIDScenario, RFIDSessionData, AgeStatus, RFIDStatus, RFIDValidity, RFIDValue, ScannerConfig, SecurityObject, SecurityObjectCertificates, SignerInfo, Symbol, TAChallenge, TccParams, TextField, TextResult, TextSource, TransactionInfo, Validity, Value, VDSNCData, VDSData, DocFeature, DeviceRetrievalMethod, DocumentRequest18013MDL, DataRetrieval, DeviceEngagement, NameSpaceMDL, DocumentRequestMDL, FinalizeConfig } from '@regulaforensics/document-reader/www/capacitor'
|
|
3
|
-
import { accessControlProcedureType, application, attribute, authenticityCheck, authenticityElement, authenticityParams, authenticityResult, authority, backendProcessingConfig, barcodeField, barcodeResult, bytesData, cardProperties, certificateChain, certificateData, comparison, coordinate, customization, customizationColors, customizationFonts, customizationImages, dataField, docReaderException, docReaderScenario, docReaderVersion, documentsDatabase, documentType, eDLDataGroups, eIDDataGroups, dtcDataGroup, ePassportDataGroups, extension, faceApiParams, faceApiSearchParams, file, fileData, functionality, glaresCheckParams, rfidParams, graphicField, graphicResult, imageInputData, imageQA, imageQuality, imageQualityGroup, initConfig, license, livenessParams, onlineProcessingConfig, opticalStatus, paAttribute, paResourcesIssuer, pdf417Info, pkdCertificate, position, prepareProgress, processParams, recognizeConfig, recognizeConfig2, rect, results, resultsStatus, rfidException, rfidNotification, rfidOrigin, rfidScenario, rfidSessionData, ageStatus, rfidStatus, rfidValidity, rfidValue, scannerConfig, securityObject, securityObjectCertificates, signerInfo, symbol, taChallenge, tccParams, textField, textResult, textSource, transactionInfo, validity, value, vdsncData, vdsData, docFeature, deviceRetrievalMethod, documentRequest18013MDL, dataRetrieval, deviceEngagement, nameSpaceMDL, documentRequestMDL, finalizeConfig } from './json'
|
|
2
|
+
import { AccessControlProcedureType, Application, Attribute, AuthenticityCheck, AuthenticityElement, AuthenticityParams, AuthenticityResult, Authority, BackendProcessingConfig, Bsi, BarcodeField, BarcodeResult, BytesData, CardProperties, CertificateChain, CertificateData, Comparison, Coordinate, Customization, CustomizationColors, CustomizationFonts, CustomizationImages, DataField, DocReaderException, DocReaderScenario, DocReaderVersion, DocumentsDatabase, DocumentType, EDLDataGroups, EIDDataGroups, DTCDataGroup, EPassportDataGroups, Extension, FaceApiParams, FaceApiSearchParams, File, FileData, Functionality, GlaresCheckParams, RFIDParams, GraphicField, GraphicResult, ImageInputData, ImageQA, ImageQuality, ImageQualityGroup, InitConfig, License, LivenessParams, OnlineProcessingConfig, OpticalStatus, PAAttribute, PAResourcesIssuer, PDF417Info, PKDCertificate, Position, PrepareProgress, ProcessParams, RecognizeConfig, Rect, Results, ResultsStatus, RFIDException, RFIDNotification, RFIDOrigin, RFIDScenario, RFIDSessionData, AgeStatus, RFIDStatus, RFIDValidity, RFIDValue, ScannerConfig, SecurityObject, SecurityObjectCertificates, SignerInfo, Symbol, TAChallenge, TccParams, TextField, TextResult, TextSource, TransactionInfo, Validity, Value, VDSNCData, VDSData, DocFeature, DeviceRetrievalMethod, DocumentRequest18013MDL, DataRetrieval, DeviceEngagement, NameSpaceMDL, DocumentRequestMDL, FinalizeConfig } from '@regulaforensics/document-reader/www/capacitor'
|
|
3
|
+
import { accessControlProcedureType, application, attribute, authenticityCheck, authenticityElement, authenticityParams, authenticityResult, authority, backendProcessingConfig, bsi, barcodeField, barcodeResult, bytesData, cardProperties, certificateChain, certificateData, comparison, coordinate, customization, customizationColors, customizationFonts, customizationImages, dataField, docReaderException, docReaderScenario, docReaderVersion, documentsDatabase, documentType, eDLDataGroups, eIDDataGroups, dtcDataGroup, ePassportDataGroups, extension, faceApiParams, faceApiSearchParams, file, fileData, functionality, glaresCheckParams, rfidParams, graphicField, graphicResult, imageInputData, imageQA, imageQuality, imageQualityGroup, initConfig, license, livenessParams, onlineProcessingConfig, opticalStatus, paAttribute, paResourcesIssuer, pdf417Info, pkdCertificate, position, prepareProgress, processParams, recognizeConfig, recognizeConfig2, rect, results, resultsStatus, rfidException, rfidNotification, rfidOrigin, rfidScenario, rfidSessionData, ageStatus, rfidStatus, rfidValidity, rfidValue, scannerConfig, securityObject, securityObjectCertificates, signerInfo, symbol, taChallenge, tccParams, textField, textResult, textSource, transactionInfo, validity, value, vdsncData, vdsData, docFeature, deviceRetrievalMethod, documentRequest18013MDL, dataRetrieval, deviceEngagement, nameSpaceMDL, documentRequestMDL, finalizeConfig } from './json'
|
|
4
4
|
|
|
5
5
|
compare('initConfig', initConfig, InitConfig.fromJson)
|
|
6
6
|
compare('onlineProcessingConfig', onlineProcessingConfig, OnlineProcessingConfig.fromJson)
|
|
@@ -19,6 +19,7 @@ compare('glaresCheckParams', glaresCheckParams, GlaresCheckParams.fromJson)
|
|
|
19
19
|
compare('rfidParams', rfidParams, RFIDParams.fromJson)
|
|
20
20
|
compare('imageQA', imageQA, ImageQA.fromJson)
|
|
21
21
|
compare('backendProcessingConfig', backendProcessingConfig, BackendProcessingConfig.fromJson)
|
|
22
|
+
compare('bsi', bsi, Bsi.fromJson)
|
|
22
23
|
compare('processParams', processParams, ProcessParams.fromJson, ['logs'])
|
|
23
24
|
compare('eDLDataGroups', eDLDataGroups, EDLDataGroups.fromJson)
|
|
24
25
|
compare('ePassportDataGroups', ePassportDataGroups, EPassportDataGroups.fromJson)
|
package/www/capacitor/index.js
CHANGED
|
@@ -99,15 +99,16 @@ import { AccessControlProcedureType } from './results/rfid/AccessControlProcedur
|
|
|
99
99
|
export { SecurityObject, CardProperties, DataField, Attribute, SignerInfo, SecurityObjectCertificates, CertificateChain, Authority, File, RFIDValue, RFIDValidity, RFIDDataFileType, CertificateData, FileData, RFIDCertificateType, RFIDSessionData, Application, RFIDApplicationType, RFIDAccessControlProcedureType, Extension, AccessControlProcedureType };
|
|
100
100
|
|
|
101
101
|
import { LivenessParams } from './params/process_params/LivenessParams';
|
|
102
|
-
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes
|
|
102
|
+
import { ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes } from './params/process_params/ProcessParams';
|
|
103
103
|
import { GlaresCheckParams } from './params/process_params/GlaresCheckParams';
|
|
104
104
|
import { FaceApiParams } from './params/process_params/FaceApiParams';
|
|
105
105
|
import { RFIDParams } from './params/process_params/RFIDParams';
|
|
106
106
|
import { ImageQA } from './params/process_params/ImageQA';
|
|
107
107
|
import { AuthenticityParams } from './params/process_params/AuthenticityParams';
|
|
108
108
|
import { BackendProcessingConfig } from './params/process_params/BackendProcessingConfig';
|
|
109
|
+
import { Bsi } from './params/process_params/Bsi';
|
|
109
110
|
import { FaceApiSearchParams } from './params/process_params/FaceApiSearchParams';
|
|
110
|
-
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes,
|
|
111
|
+
export { LivenessParams, ProcessParams, MeasureSystem, MRZFormat, LogLevel, MrzDetectionModes, GlaresCheckParams, FaceApiParams, RFIDParams, ImageQA, AuthenticityParams, BackendProcessingConfig, Bsi, FaceApiSearchParams };
|
|
111
112
|
|
|
112
113
|
import { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize } from './params/Functionality';
|
|
113
114
|
export { Functionality, CameraPosition, CaptureMode, CameraMode, CaptureSessionPreset, DocReaderFrame, CameraSize };
|
|
@@ -73,6 +73,66 @@ export class CustomizationColors {
|
|
|
73
73
|
this._set({ "rfidEnableNfcButtonBackground": val });
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
get mdlProcessingScreenBackground() { return this._mdlProcessingScreenBackground; }
|
|
77
|
+
set mdlProcessingScreenBackground(val) {
|
|
78
|
+
this._mdlProcessingScreenBackground = val;
|
|
79
|
+
this._set({ "mdlProcessingScreenBackground": val });
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
get mdlProcessingScreenHintLabelText() { return this._mdlProcessingScreenHintLabelText; }
|
|
83
|
+
set mdlProcessingScreenHintLabelText(val) {
|
|
84
|
+
this._mdlProcessingScreenHintLabelText = val;
|
|
85
|
+
this._set({ "mdlProcessingScreenHintLabelText": val });
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
get mdlProcessingScreenHintLabelBackground() { return this._mdlProcessingScreenHintLabelBackground; }
|
|
89
|
+
set mdlProcessingScreenHintLabelBackground(val) {
|
|
90
|
+
this._mdlProcessingScreenHintLabelBackground = val;
|
|
91
|
+
this._set({ "mdlProcessingScreenHintLabelBackground": val });
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
get mdlProcessingScreenProgressLabelText() { return this._mdlProcessingScreenProgressLabelText; }
|
|
95
|
+
set mdlProcessingScreenProgressLabelText(val) {
|
|
96
|
+
this._mdlProcessingScreenProgressLabelText = val;
|
|
97
|
+
this._set({ "mdlProcessingScreenProgressLabelText": val });
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
get mdlProcessingScreenResultLabelText() { return this._mdlProcessingScreenResultLabelText; }
|
|
101
|
+
set mdlProcessingScreenResultLabelText(val) {
|
|
102
|
+
this._mdlProcessingScreenResultLabelText = val;
|
|
103
|
+
this._set({ "mdlProcessingScreenResultLabelText": val });
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
get mdlProcessingScreenLoadingBar() { return this._mdlProcessingScreenLoadingBar; }
|
|
107
|
+
set mdlProcessingScreenLoadingBar(val) {
|
|
108
|
+
this._mdlProcessingScreenLoadingBar = val;
|
|
109
|
+
this._set({ "mdlProcessingScreenLoadingBar": val });
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
get mdlEnableNfcTitleText() { return this._mdlEnableNfcTitleText; }
|
|
113
|
+
set mdlEnableNfcTitleText(val) {
|
|
114
|
+
this._mdlEnableNfcTitleText = val;
|
|
115
|
+
this._set({ "mdlEnableNfcTitleText": val });
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
get mdlEnableNfcDescriptionText() { return this._mdlEnableNfcDescriptionText; }
|
|
119
|
+
set mdlEnableNfcDescriptionText(val) {
|
|
120
|
+
this._mdlEnableNfcDescriptionText = val;
|
|
121
|
+
this._set({ "mdlEnableNfcDescriptionText": val });
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
get mdlEnableNfcButtonText() { return this._mdlEnableNfcButtonText; }
|
|
125
|
+
set mdlEnableNfcButtonText(val) {
|
|
126
|
+
this._mdlEnableNfcButtonText = val;
|
|
127
|
+
this._set({ "mdlEnableNfcButtonText": val });
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
get mdlEnableNfcButtonBackground() { return this._mdlEnableNfcButtonBackground; }
|
|
131
|
+
set mdlEnableNfcButtonBackground(val) {
|
|
132
|
+
this._mdlEnableNfcButtonBackground = val;
|
|
133
|
+
this._set({ "mdlEnableNfcButtonBackground": val });
|
|
134
|
+
}
|
|
135
|
+
|
|
76
136
|
static fromJson(jsonObject) {
|
|
77
137
|
if (jsonObject == null) return null;
|
|
78
138
|
|
|
@@ -89,6 +149,16 @@ export class CustomizationColors {
|
|
|
89
149
|
result._rfidEnableNfcDescriptionText = jsonObject["rfidEnableNfcDescriptionText"];
|
|
90
150
|
result._rfidEnableNfcButtonText = jsonObject["rfidEnableNfcButtonText"];
|
|
91
151
|
result._rfidEnableNfcButtonBackground = jsonObject["rfidEnableNfcButtonBackground"];
|
|
152
|
+
result._mdlProcessingScreenBackground = jsonObject["mdlProcessingScreenBackground"];
|
|
153
|
+
result._mdlProcessingScreenHintLabelText = jsonObject["mdlProcessingScreenHintLabelText"];
|
|
154
|
+
result._mdlProcessingScreenHintLabelBackground = jsonObject["mdlProcessingScreenHintLabelBackground"];
|
|
155
|
+
result._mdlProcessingScreenProgressLabelText = jsonObject["mdlProcessingScreenProgressLabelText"];
|
|
156
|
+
result._mdlProcessingScreenResultLabelText = jsonObject["mdlProcessingScreenResultLabelText"];
|
|
157
|
+
result._mdlProcessingScreenLoadingBar = jsonObject["mdlProcessingScreenLoadingBar"];
|
|
158
|
+
result._mdlEnableNfcTitleText = jsonObject["mdlEnableNfcTitleText"];
|
|
159
|
+
result._mdlEnableNfcDescriptionText = jsonObject["mdlEnableNfcDescriptionText"];
|
|
160
|
+
result._mdlEnableNfcButtonText = jsonObject["mdlEnableNfcButtonText"];
|
|
161
|
+
result._mdlEnableNfcButtonBackground = jsonObject["mdlEnableNfcButtonBackground"];
|
|
92
162
|
|
|
93
163
|
return result;
|
|
94
164
|
}
|
|
@@ -114,6 +184,16 @@ export class CustomizationColors {
|
|
|
114
184
|
"rfidEnableNfcDescriptionText": this.rfidEnableNfcDescriptionText,
|
|
115
185
|
"rfidEnableNfcButtonText": this.rfidEnableNfcButtonText,
|
|
116
186
|
"rfidEnableNfcButtonBackground": this.rfidEnableNfcButtonBackground,
|
|
187
|
+
"mdlProcessingScreenBackground": this.mdlProcessingScreenBackground,
|
|
188
|
+
"mdlProcessingScreenHintLabelText": this.mdlProcessingScreenHintLabelText,
|
|
189
|
+
"mdlProcessingScreenHintLabelBackground": this.mdlProcessingScreenHintLabelBackground,
|
|
190
|
+
"mdlProcessingScreenProgressLabelText": this.mdlProcessingScreenProgressLabelText,
|
|
191
|
+
"mdlProcessingScreenResultLabelText": this.mdlProcessingScreenResultLabelText,
|
|
192
|
+
"mdlProcessingScreenLoadingBar": this.mdlProcessingScreenLoadingBar,
|
|
193
|
+
"mdlEnableNfcTitleText": this.mdlEnableNfcTitleText,
|
|
194
|
+
"mdlEnableNfcDescriptionText": this.mdlEnableNfcDescriptionText,
|
|
195
|
+
"mdlEnableNfcButtonText": this.mdlEnableNfcButtonText,
|
|
196
|
+
"mdlEnableNfcButtonBackground": this.mdlEnableNfcButtonBackground,
|
|
117
197
|
}
|
|
118
198
|
}
|
|
119
199
|
}
|
|
@@ -38,9 +38,45 @@ export class CustomizationFonts {
|
|
|
38
38
|
this._set({ "rfidEnableNfcButtonText": val });
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
get mdlProcessingScreenHintLabel() { return this._mdlProcessingScreenHintLabel; }
|
|
42
|
+
set mdlProcessingScreenHintLabel(val) {
|
|
43
|
+
this._mdlProcessingScreenHintLabel = val;
|
|
44
|
+
this._set({ "mdlProcessingScreenHintLabel": val });
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
get mdlProcessingScreenProgressLabel() { return this._mdlProcessingScreenProgressLabel; }
|
|
48
|
+
set mdlProcessingScreenProgressLabel(val) {
|
|
49
|
+
this._mdlProcessingScreenProgressLabel = val;
|
|
50
|
+
this._set({ "mdlProcessingScreenProgressLabel": val });
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
get mdlProcessingScreenResultLabel() { return this._mdlProcessingScreenResultLabel; }
|
|
54
|
+
set mdlProcessingScreenResultLabel(val) {
|
|
55
|
+
this._mdlProcessingScreenResultLabel = val;
|
|
56
|
+
this._set({ "mdlProcessingScreenResultLabel": val });
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
get mdlEnableNfcTitleText() { return this._mdlEnableNfcTitleText; }
|
|
60
|
+
set mdlEnableNfcTitleText(val) {
|
|
61
|
+
this._mdlEnableNfcTitleText = val;
|
|
62
|
+
this._set({ "mdlEnableNfcTitleText": val });
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
get mdlEnableNfcDescriptionText() { return this._mdlEnableNfcDescriptionText; }
|
|
66
|
+
set mdlEnableNfcDescriptionText(val) {
|
|
67
|
+
this._mdlEnableNfcDescriptionText = val;
|
|
68
|
+
this._set({ "mdlEnableNfcDescriptionText": val });
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
get mdlEnableNfcButtonText() { return this._mdlEnableNfcButtonText; }
|
|
72
|
+
set mdlEnableNfcButtonText(val) {
|
|
73
|
+
this._mdlEnableNfcButtonText = val;
|
|
74
|
+
this._set({ "mdlEnableNfcButtonText": val });
|
|
75
|
+
}
|
|
76
|
+
|
|
41
77
|
static fromJson(jsonObject) {
|
|
42
78
|
if (jsonObject == null) return null;
|
|
43
|
-
|
|
79
|
+
|
|
44
80
|
const result = new CustomizationFonts();
|
|
45
81
|
result._rfidProcessingScreenHintLabel = Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"]);
|
|
46
82
|
result._rfidProcessingScreenProgressLabel = Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"]);
|
|
@@ -48,7 +84,13 @@ export class CustomizationFonts {
|
|
|
48
84
|
result._rfidEnableNfcTitleText = Font.fromJson(jsonObject["rfidEnableNfcTitleText"]);
|
|
49
85
|
result._rfidEnableNfcDescriptionText = Font.fromJson(jsonObject["rfidEnableNfcDescriptionText"]);
|
|
50
86
|
result._rfidEnableNfcButtonText = Font.fromJson(jsonObject["rfidEnableNfcButtonText"]);
|
|
51
|
-
|
|
87
|
+
result._mdlProcessingScreenHintLabel = Font.fromJson(jsonObject["mdlProcessingScreenHintLabel"]);
|
|
88
|
+
result._mdlProcessingScreenProgressLabel = Font.fromJson(jsonObject["mdlProcessingScreenProgressLabel"]);
|
|
89
|
+
result._mdlProcessingScreenResultLabel = Font.fromJson(jsonObject["mdlProcessingScreenResultLabel"]);
|
|
90
|
+
result._mdlEnableNfcTitleText = Font.fromJson(jsonObject["mdlEnableNfcTitleText"]);
|
|
91
|
+
result._mdlEnableNfcDescriptionText = Font.fromJson(jsonObject["mdlEnableNfcDescriptionText"]);
|
|
92
|
+
result._mdlEnableNfcButtonText = Font.fromJson(jsonObject["mdlEnableNfcButtonText"]);
|
|
93
|
+
|
|
52
94
|
return result;
|
|
53
95
|
}
|
|
54
96
|
|
|
@@ -67,6 +109,12 @@ export class CustomizationFonts {
|
|
|
67
109
|
"rfidEnableNfcTitleText": this.rfidEnableNfcTitleText?.toJson(),
|
|
68
110
|
"rfidEnableNfcDescriptionText": this.rfidEnableNfcDescriptionText?.toJson(),
|
|
69
111
|
"rfidEnableNfcButtonText": this.rfidEnableNfcButtonText?.toJson(),
|
|
112
|
+
"mdlProcessingScreenHintLabel": this.mdlProcessingScreenHintLabel?.toJson(),
|
|
113
|
+
"mdlProcessingScreenProgressLabel": this.mdlProcessingScreenProgressLabel?.toJson(),
|
|
114
|
+
"mdlProcessingScreenResultLabel": this.mdlProcessingScreenResultLabel?.toJson(),
|
|
115
|
+
"mdlEnableNfcTitleText": this.mdlEnableNfcTitleText?.toJson(),
|
|
116
|
+
"mdlEnableNfcDescriptionText": this.mdlEnableNfcDescriptionText?.toJson(),
|
|
117
|
+
"mdlEnableNfcButtonText": this.mdlEnableNfcButtonText?.toJson(),
|
|
70
118
|
}
|
|
71
119
|
}
|
|
72
120
|
}
|
|
@@ -13,13 +13,27 @@ export class CustomizationImages {
|
|
|
13
13
|
this._set({ "rfidEnableNfcImage": val });
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
get mdlProcessingScreenFailureImage() { return this._mdlProcessingScreenFailureImage; }
|
|
17
|
+
set mdlProcessingScreenFailureImage(val) {
|
|
18
|
+
this._mdlProcessingScreenFailureImage = val;
|
|
19
|
+
this._set({ "mdlProcessingScreenFailureImage": val });
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
get mdlEnableNfcImage() { return this._mdlEnableNfcImage; }
|
|
23
|
+
set mdlEnableNfcImage(val) {
|
|
24
|
+
this._mdlEnableNfcImage = val;
|
|
25
|
+
this._set({ "mdlEnableNfcImage": val });
|
|
26
|
+
}
|
|
27
|
+
|
|
16
28
|
static fromJson(jsonObject) {
|
|
17
29
|
if (jsonObject == null) return null;
|
|
18
|
-
|
|
30
|
+
|
|
19
31
|
const result = new CustomizationImages();
|
|
20
32
|
result._rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"];
|
|
21
33
|
result._rfidEnableNfcImage = jsonObject["rfidEnableNfcImage"];
|
|
22
|
-
|
|
34
|
+
result._mdlProcessingScreenFailureImage = jsonObject["mdlProcessingScreenFailureImage"];
|
|
35
|
+
result._mdlEnableNfcImage = jsonObject["mdlEnableNfcImage"];
|
|
36
|
+
|
|
23
37
|
return result;
|
|
24
38
|
}
|
|
25
39
|
|
|
@@ -34,6 +48,8 @@ export class CustomizationImages {
|
|
|
34
48
|
return {
|
|
35
49
|
"rfidProcessingScreenFailureImage": this.rfidProcessingScreenFailureImage,
|
|
36
50
|
"rfidEnableNfcImage": this.rfidEnableNfcImage,
|
|
51
|
+
"mdlProcessingScreenFailureImage": this.mdlProcessingScreenFailureImage,
|
|
52
|
+
"mdlEnableNfcImage": this.mdlEnableNfcImage,
|
|
37
53
|
}
|
|
38
54
|
}
|
|
39
55
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export class Bsi {
|
|
2
|
+
generateResult
|
|
3
|
+
|
|
4
|
+
constructor(params) {
|
|
5
|
+
this.generateResult = params?.generateResult;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
static fromJson(jsonObject) {
|
|
9
|
+
if (jsonObject == null) return null;
|
|
10
|
+
|
|
11
|
+
const result = new Bsi();
|
|
12
|
+
|
|
13
|
+
result.generateResult = jsonObject["generateResult"];
|
|
14
|
+
|
|
15
|
+
return result;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
toJson() {
|
|
19
|
+
return {
|
|
20
|
+
"generateResult": this.generateResult,
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|