@regulaforensics/document-reader 9.3.671-nightly → 9.3.673-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 +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +137 -48
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +23 -19
- package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +2 -2
- package/android/src/main/java/com/regula/plugin/documentreader/Utils.kt +5 -0
- package/examples/capacitor/package.json +1 -1
- package/examples/ionic/package.json +1 -1
- package/examples/react_native/package.json +1 -1
- package/ios/RGLWConfig.m +152 -41
- package/ios/RGLWJSONConstructor.m +5 -0
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/test/json.tsx +48 -2
- package/test/package-lock.json +1 -1
- package/test/test.tsx +5 -2
- package/www/capacitor/config/FinalizeConfig.js +4 -0
- package/www/capacitor/index.js +7 -5
- package/www/capacitor/params/customization/Customization.js +28 -18
- package/www/capacitor/params/customization/CustomizationColors.js +33 -1
- package/www/capacitor/params/customization/CustomizationContentModes.js +55 -0
- package/www/capacitor/params/customization/CustomizationFonts.js +38 -2
- package/www/capacitor/params/customization/CustomizationImages.js +145 -1
- package/www/capacitor/params/customization/CustomizationMatrices.js +39 -0
- package/www/capacitor/params/customization/CustomizationTimings.js +71 -0
- package/www/capacitor/params/process_params/BackendProcessingConfig.js +4 -0
- package/www/capacitor/params/process_params/ProcessParams.js +24 -0
- package/www/capacitor/results/visual_results/FieldType.js +2 -0
- package/www/capacitor/rfid/RFIDNotification.js +4 -1
- package/www/cordova.js +568 -140
- package/www/react-native/config/FinalizeConfig.js +4 -0
- package/www/react-native/index.js +7 -5
- package/www/react-native/params/customization/Customization.js +28 -18
- package/www/react-native/params/customization/CustomizationColors.js +33 -1
- package/www/react-native/params/customization/CustomizationContentModes.js +55 -0
- package/www/react-native/params/customization/CustomizationFonts.js +38 -2
- package/www/react-native/params/customization/CustomizationImages.js +145 -1
- package/www/react-native/params/customization/CustomizationMatrices.js +39 -0
- package/www/react-native/params/customization/CustomizationTimings.js +71 -0
- package/www/react-native/params/process_params/BackendProcessingConfig.js +4 -0
- package/www/react-native/params/process_params/ProcessParams.js +24 -0
- package/www/react-native/results/visual_results/FieldType.js +2 -0
- package/www/react-native/rfid/RFIDNotification.js +4 -1
- package/www/types/config/FinalizeConfig.d.ts +2 -1
- package/www/types/index.d.ts +7 -5
- package/www/types/params/customization/Customization.d.ts +37 -33
- package/www/types/params/customization/CustomizationColors.d.ts +4 -0
- package/www/types/params/customization/CustomizationContentModes.d.ts +41 -0
- package/www/types/params/customization/CustomizationFonts.d.ts +37 -2
- package/www/types/params/customization/CustomizationImages.d.ts +19 -0
- package/www/types/params/customization/CustomizationMatrices.d.ts +10 -0
- package/www/types/params/customization/CustomizationTimings.d.ts +14 -0
- package/www/types/params/process_params/BackendProcessingConfig.d.ts +2 -0
- package/www/types/params/process_params/ProcessParams.d.ts +9 -0
- package/www/types/results/visual_results/FieldType.d.ts +2 -0
- package/www/types/rfid/RFIDNotification.d.ts +4 -1
- package/www/capacitor/params/customization/Font.js +0 -36
- package/www/react-native/params/customization/Font.js +0 -36
- package/www/types/params/customization/Font.d.ts +0 -36
package/www/cordova.js
CHANGED
|
@@ -16,11 +16,13 @@ class FinalizeConfig {
|
|
|
16
16
|
rawImages
|
|
17
17
|
video
|
|
18
18
|
rfidSession
|
|
19
|
+
mdlSession
|
|
19
20
|
|
|
20
21
|
constructor(options) {
|
|
21
22
|
this.rawImages = options?.rawImages
|
|
22
23
|
this.video = options?.video
|
|
23
24
|
this.rfidSession = options?.rfidSession
|
|
25
|
+
this.mdlSession = options?.mdlSession
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
static fromJson(jsonObject) {
|
|
@@ -30,6 +32,7 @@ class FinalizeConfig {
|
|
|
30
32
|
result.rawImages = jsonObject["rawImages"];
|
|
31
33
|
result.video = jsonObject["video"];
|
|
32
34
|
result.rfidSession = jsonObject["rfidSession"];
|
|
35
|
+
result.mdlSession = jsonObject["mdlSession"];
|
|
33
36
|
|
|
34
37
|
return result;
|
|
35
38
|
}
|
|
@@ -40,6 +43,7 @@ class FinalizeConfig {
|
|
|
40
43
|
"rawImages": this.rawImages,
|
|
41
44
|
"video": this.video,
|
|
42
45
|
"rfidSession": this.rfidSession,
|
|
46
|
+
"mdlSession": this.mdlSession,
|
|
43
47
|
}
|
|
44
48
|
}
|
|
45
49
|
}
|
|
@@ -473,7 +477,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
473
477
|
/* harmony export */ CameraMode: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_88__.CameraMode),
|
|
474
478
|
/* harmony export */ CameraPosition: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_88__.CameraPosition),
|
|
475
479
|
/* harmony export */ CameraSize: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_88__.CameraSize),
|
|
476
|
-
/* harmony export */ Cap: () => (/* reexport safe */
|
|
480
|
+
/* harmony export */ Cap: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_95__.Cap),
|
|
477
481
|
/* harmony export */ CaptureMode: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_88__.CaptureMode),
|
|
478
482
|
/* harmony export */ CaptureSessionPreset: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_88__.CaptureSessionPreset),
|
|
479
483
|
/* harmony export */ CardProperties: () => (/* reexport safe */ _results_rfid_CardProperties__WEBPACK_IMPORTED_MODULE_59__.CardProperties),
|
|
@@ -483,16 +487,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
483
487
|
/* harmony export */ CheckResult: () => (/* reexport safe */ _results_status_CheckResult__WEBPACK_IMPORTED_MODULE_35__.CheckResult),
|
|
484
488
|
/* harmony export */ Comparison: () => (/* reexport safe */ _results_visual_results_Comparison__WEBPACK_IMPORTED_MODULE_19__.Comparison),
|
|
485
489
|
/* harmony export */ Coordinate: () => (/* reexport safe */ _results_Position__WEBPACK_IMPORTED_MODULE_32__.Coordinate),
|
|
486
|
-
/* harmony export */ CustomButtonTag: () => (/* reexport safe */
|
|
487
|
-
/* harmony export */ Customization: () => (/* reexport safe */
|
|
488
|
-
/* harmony export */ CustomizationColors: () => (/* reexport safe */
|
|
489
|
-
/* harmony export */
|
|
490
|
-
/* harmony export */
|
|
491
|
-
/* harmony export */
|
|
490
|
+
/* harmony export */ CustomButtonTag: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_95__.CustomButtonTag),
|
|
491
|
+
/* harmony export */ Customization: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_95__.Customization),
|
|
492
|
+
/* harmony export */ CustomizationColors: () => (/* reexport safe */ _params_customization_CustomizationColors__WEBPACK_IMPORTED_MODULE_89__.CustomizationColors),
|
|
493
|
+
/* harmony export */ CustomizationContentModes: () => (/* reexport safe */ _params_customization_CustomizationContentModes__WEBPACK_IMPORTED_MODULE_94__.CustomizationContentModes),
|
|
494
|
+
/* harmony export */ CustomizationFonts: () => (/* reexport safe */ _params_customization_CustomizationFonts__WEBPACK_IMPORTED_MODULE_90__.CustomizationFonts),
|
|
495
|
+
/* harmony export */ CustomizationImages: () => (/* reexport safe */ _params_customization_CustomizationImages__WEBPACK_IMPORTED_MODULE_91__.CustomizationImages),
|
|
496
|
+
/* harmony export */ CustomizationMatrices: () => (/* reexport safe */ _params_customization_CustomizationMatrices__WEBPACK_IMPORTED_MODULE_93__.CustomizationMatrices),
|
|
497
|
+
/* harmony export */ CustomizationTimings: () => (/* reexport safe */ _params_customization_CustomizationTimings__WEBPACK_IMPORTED_MODULE_92__.CustomizationTimings),
|
|
498
|
+
/* harmony export */ DTCDataGroup: () => (/* reexport safe */ _params_rfid_scenario_DTCDataGroup__WEBPACK_IMPORTED_MODULE_98__.DTCDataGroup),
|
|
492
499
|
/* harmony export */ DataField: () => (/* reexport safe */ _results_rfid_DataField__WEBPACK_IMPORTED_MODULE_60__.DataField),
|
|
493
|
-
/* harmony export */ DataRetrieval: () => (/* reexport safe */
|
|
494
|
-
/* harmony export */ DeviceEngagement: () => (/* reexport safe */
|
|
495
|
-
/* harmony export */ DeviceRetrievalMethod: () => (/* reexport safe */
|
|
500
|
+
/* harmony export */ DataRetrieval: () => (/* reexport safe */ _mdl_DataRetrieval__WEBPACK_IMPORTED_MODULE_108__.DataRetrieval),
|
|
501
|
+
/* harmony export */ DeviceEngagement: () => (/* reexport safe */ _mdl_DeviceEngagement__WEBPACK_IMPORTED_MODULE_109__.DeviceEngagement),
|
|
502
|
+
/* harmony export */ DeviceRetrievalMethod: () => (/* reexport safe */ _mdl_DeviceRetrievalMethod__WEBPACK_IMPORTED_MODULE_112__.DeviceRetrievalMethod),
|
|
496
503
|
/* harmony export */ DocFeature: () => (/* reexport safe */ _results_visible_digital_seals_DocFeature__WEBPACK_IMPORTED_MODULE_55__.DocFeature),
|
|
497
504
|
/* harmony export */ DocFormat: () => (/* reexport safe */ _results_DocumentType__WEBPACK_IMPORTED_MODULE_29__.DocFormat),
|
|
498
505
|
/* harmony export */ DocReaderAction: () => (/* binding */ DocReaderAction),
|
|
@@ -502,14 +509,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
502
509
|
/* harmony export */ DocReaderScenario: () => (/* reexport safe */ _info_DocReaderScenario__WEBPACK_IMPORTED_MODULE_12__.DocReaderScenario),
|
|
503
510
|
/* harmony export */ DocReaderVersion: () => (/* reexport safe */ _info_DocReaderVersion__WEBPACK_IMPORTED_MODULE_7__.DocReaderVersion),
|
|
504
511
|
/* harmony export */ DocumentReader: () => (/* binding */ DocumentReader),
|
|
505
|
-
/* harmony export */ DocumentRequest18013MDL: () => (/* reexport safe */
|
|
506
|
-
/* harmony export */ DocumentRequestMDL: () => (/* reexport safe */
|
|
512
|
+
/* harmony export */ DocumentRequest18013MDL: () => (/* reexport safe */ _mdl_DocumentRequestMDL__WEBPACK_IMPORTED_MODULE_111__.DocumentRequest18013MDL),
|
|
513
|
+
/* harmony export */ DocumentRequestMDL: () => (/* reexport safe */ _mdl_DocumentRequestMDL__WEBPACK_IMPORTED_MODULE_111__.DocumentRequestMDL),
|
|
507
514
|
/* harmony export */ DocumentType: () => (/* reexport safe */ _results_DocumentType__WEBPACK_IMPORTED_MODULE_29__.DocumentType),
|
|
508
515
|
/* harmony export */ DocumentTypeEnum: () => (/* reexport safe */ _results_DocumentType__WEBPACK_IMPORTED_MODULE_29__.DocType),
|
|
509
516
|
/* harmony export */ DocumentsDatabase: () => (/* reexport safe */ _info_DocumentsDatabase__WEBPACK_IMPORTED_MODULE_10__.DocumentsDatabase),
|
|
510
|
-
/* harmony export */ EDLDataGroups: () => (/* reexport safe */
|
|
511
|
-
/* harmony export */ EIDDataGroups: () => (/* reexport safe */
|
|
512
|
-
/* harmony export */ EPassportDataGroups: () => (/* reexport safe */
|
|
517
|
+
/* harmony export */ EDLDataGroups: () => (/* reexport safe */ _params_rfid_scenario_EDLDataGroups__WEBPACK_IMPORTED_MODULE_100__.EDLDataGroups),
|
|
518
|
+
/* harmony export */ EIDDataGroups: () => (/* reexport safe */ _params_rfid_scenario_EIDDataGroups__WEBPACK_IMPORTED_MODULE_97__.EIDDataGroups),
|
|
519
|
+
/* harmony export */ EPassportDataGroups: () => (/* reexport safe */ _params_rfid_scenario_EPassportDataGroups__WEBPACK_IMPORTED_MODULE_96__.EPassportDataGroups),
|
|
513
520
|
/* harmony export */ ErrorCodes: () => (/* reexport safe */ _info_DocReaderException__WEBPACK_IMPORTED_MODULE_9__.ErrorCodes),
|
|
514
521
|
/* harmony export */ Extension: () => (/* reexport safe */ _results_rfid_Extension__WEBPACK_IMPORTED_MODULE_76__.Extension),
|
|
515
522
|
/* harmony export */ FaceApiParams: () => (/* reexport safe */ _params_process_params_FaceApiParams__WEBPACK_IMPORTED_MODULE_81__.FaceApiParams),
|
|
@@ -518,9 +525,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
518
525
|
/* harmony export */ File: () => (/* reexport safe */ _results_rfid_File__WEBPACK_IMPORTED_MODULE_66__.File),
|
|
519
526
|
/* harmony export */ FileData: () => (/* reexport safe */ _results_rfid_FileData__WEBPACK_IMPORTED_MODULE_71__.FileData),
|
|
520
527
|
/* harmony export */ FinalizeConfig: () => (/* reexport safe */ _config_FinalizeConfig__WEBPACK_IMPORTED_MODULE_6__.FinalizeConfig),
|
|
521
|
-
/* harmony export */ Font: () => (/* reexport safe */
|
|
522
|
-
/* harmony export */ FontStyle: () => (/* reexport safe */
|
|
523
|
-
/* harmony export */ FrameShapeType: () => (/* reexport safe */
|
|
528
|
+
/* harmony export */ Font: () => (/* reexport safe */ _params_customization_CustomizationFonts__WEBPACK_IMPORTED_MODULE_90__.Font),
|
|
529
|
+
/* harmony export */ FontStyle: () => (/* reexport safe */ _params_customization_CustomizationFonts__WEBPACK_IMPORTED_MODULE_90__.FontStyle),
|
|
530
|
+
/* harmony export */ FrameShapeType: () => (/* reexport safe */ _params_customization_Customization__WEBPACK_IMPORTED_MODULE_95__.FrameShapeType),
|
|
524
531
|
/* harmony export */ Functionality: () => (/* reexport safe */ _params_Functionality__WEBPACK_IMPORTED_MODULE_88__.Functionality),
|
|
525
532
|
/* harmony export */ GlaresCheckParams: () => (/* reexport safe */ _params_process_params_GlaresCheckParams__WEBPACK_IMPORTED_MODULE_80__.GlaresCheckParams),
|
|
526
533
|
/* harmony export */ GraphicField: () => (/* reexport safe */ _results_visual_results_GraphicField__WEBPACK_IMPORTED_MODULE_24__.GraphicField),
|
|
@@ -540,45 +547,45 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
540
547
|
/* harmony export */ Lights: () => (/* reexport safe */ _results_visual_results_Lights__WEBPACK_IMPORTED_MODULE_21__.Lights),
|
|
541
548
|
/* harmony export */ LivenessParams: () => (/* reexport safe */ _params_process_params_LivenessParams__WEBPACK_IMPORTED_MODULE_78__.LivenessParams),
|
|
542
549
|
/* harmony export */ LogLevel: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_79__.LogLevel),
|
|
543
|
-
/* harmony export */ MDLDeviceEngagement: () => (/* reexport safe */
|
|
544
|
-
/* harmony export */ MDLDeviceRetrieval: () => (/* reexport safe */
|
|
545
|
-
/* harmony export */ MDLDocRequestPreset: () => (/* reexport safe */
|
|
546
|
-
/* harmony export */ MDLIntentToRetain: () => (/* reexport safe */
|
|
550
|
+
/* harmony export */ MDLDeviceEngagement: () => (/* reexport safe */ _mdl_DeviceEngagement__WEBPACK_IMPORTED_MODULE_109__.MDLDeviceEngagement),
|
|
551
|
+
/* harmony export */ MDLDeviceRetrieval: () => (/* reexport safe */ _mdl_DataRetrieval__WEBPACK_IMPORTED_MODULE_108__.MDLDeviceRetrieval),
|
|
552
|
+
/* harmony export */ MDLDocRequestPreset: () => (/* reexport safe */ _mdl_DataRetrieval__WEBPACK_IMPORTED_MODULE_108__.MDLDocRequestPreset),
|
|
553
|
+
/* harmony export */ MDLIntentToRetain: () => (/* reexport safe */ _mdl_NameSpaceMDL__WEBPACK_IMPORTED_MODULE_110__.MDLIntentToRetain),
|
|
547
554
|
/* harmony export */ MRZFormat: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_79__.MRZFormat),
|
|
548
555
|
/* harmony export */ MeasureSystem: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_79__.MeasureSystem),
|
|
549
556
|
/* harmony export */ MrzDetectionModes: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_79__.MrzDetectionModes),
|
|
550
|
-
/* harmony export */ NameSpaceMDL: () => (/* reexport safe */
|
|
557
|
+
/* harmony export */ NameSpaceMDL: () => (/* reexport safe */ _mdl_NameSpaceMDL__WEBPACK_IMPORTED_MODULE_110__.NameSpaceMDL),
|
|
551
558
|
/* harmony export */ OnlineMode: () => (/* reexport safe */ _config_OnlineProcessingConfig__WEBPACK_IMPORTED_MODULE_1__.OnlineMode),
|
|
552
559
|
/* harmony export */ OnlineProcessingConfig: () => (/* reexport safe */ _config_OnlineProcessingConfig__WEBPACK_IMPORTED_MODULE_1__.OnlineProcessingConfig),
|
|
553
560
|
/* harmony export */ OpticalStatus: () => (/* reexport safe */ _results_status_OpticalStatus__WEBPACK_IMPORTED_MODULE_36__.OpticalStatus),
|
|
554
|
-
/* harmony export */ PAAttribute: () => (/* reexport safe */
|
|
555
|
-
/* harmony export */ PAResourcesIssuer: () => (/* reexport safe */
|
|
561
|
+
/* harmony export */ PAAttribute: () => (/* reexport safe */ _rfid_PAAttribute__WEBPACK_IMPORTED_MODULE_105__.PAAttribute),
|
|
562
|
+
/* harmony export */ PAResourcesIssuer: () => (/* reexport safe */ _rfid_PAResourcesIssuer__WEBPACK_IMPORTED_MODULE_101__.PAResourcesIssuer),
|
|
556
563
|
/* harmony export */ PDF417Info: () => (/* reexport safe */ _results_barcode_PDF417Info__WEBPACK_IMPORTED_MODULE_44__.PDF417Info),
|
|
557
|
-
/* harmony export */ PKDCertificate: () => (/* reexport safe */
|
|
558
|
-
/* harmony export */ PKDResourceType: () => (/* reexport safe */
|
|
564
|
+
/* harmony export */ PKDCertificate: () => (/* reexport safe */ _rfid_PKDCertificate__WEBPACK_IMPORTED_MODULE_107__.PKDCertificate),
|
|
565
|
+
/* harmony export */ PKDResourceType: () => (/* reexport safe */ _rfid_PKDCertificate__WEBPACK_IMPORTED_MODULE_107__.PKDResourceType),
|
|
559
566
|
/* harmony export */ Position: () => (/* reexport safe */ _results_Position__WEBPACK_IMPORTED_MODULE_32__.Position),
|
|
560
567
|
/* harmony export */ PrepareProgress: () => (/* reexport safe */ _info_PrepareProgress__WEBPACK_IMPORTED_MODULE_8__.PrepareProgress),
|
|
561
568
|
/* harmony export */ ProcessParams: () => (/* reexport safe */ _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_79__.ProcessParams),
|
|
562
569
|
/* harmony export */ ProcessingFinishedStatus: () => (/* reexport safe */ _results_Results__WEBPACK_IMPORTED_MODULE_30__.ProcessingFinishedStatus),
|
|
563
570
|
/* harmony export */ RFIDAccessControlProcedureType: () => (/* reexport safe */ _results_rfid_RFIDAccessControlProcedureType__WEBPACK_IMPORTED_MODULE_75__.RFIDAccessControlProcedureType),
|
|
564
571
|
/* harmony export */ RFIDApplicationType: () => (/* reexport safe */ _results_rfid_Application__WEBPACK_IMPORTED_MODULE_74__.RFIDApplicationType),
|
|
565
|
-
/* harmony export */ RFIDAuthenticationProcedureType: () => (/* reexport safe */
|
|
572
|
+
/* harmony export */ RFIDAuthenticationProcedureType: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDAuthenticationProcedureType),
|
|
566
573
|
/* harmony export */ RFIDCertificateType: () => (/* reexport safe */ _results_rfid_RFIDCertificateType__WEBPACK_IMPORTED_MODULE_72__.RFIDCertificateType),
|
|
567
574
|
/* harmony export */ RFIDConfig: () => (/* reexport safe */ _config_RFIDConfig__WEBPACK_IMPORTED_MODULE_3__.RFIDConfig),
|
|
568
575
|
/* harmony export */ RFIDDataFileType: () => (/* reexport safe */ _results_rfid_RFIDDataFileType__WEBPACK_IMPORTED_MODULE_69__.RFIDDataFileType),
|
|
569
|
-
/* harmony export */ RFIDErrorCodes: () => (/* reexport safe */
|
|
576
|
+
/* harmony export */ RFIDErrorCodes: () => (/* reexport safe */ _rfid_RFIDErrorCodes__WEBPACK_IMPORTED_MODULE_102__.RFIDErrorCodes),
|
|
570
577
|
/* harmony export */ RFIDException: () => (/* reexport safe */ _info_RFIDException__WEBPACK_IMPORTED_MODULE_13__.RFIDException),
|
|
571
|
-
/* harmony export */ RFIDNotification: () => (/* reexport safe */
|
|
572
|
-
/* harmony export */ RFIDNotificationCodes: () => (/* reexport safe */
|
|
578
|
+
/* harmony export */ RFIDNotification: () => (/* reexport safe */ _rfid_RFIDNotification__WEBPACK_IMPORTED_MODULE_104__.RFIDNotification),
|
|
579
|
+
/* harmony export */ RFIDNotificationCodes: () => (/* reexport safe */ _rfid_RFIDNotification__WEBPACK_IMPORTED_MODULE_104__.RFIDNotificationCodes),
|
|
573
580
|
/* harmony export */ RFIDOrigin: () => (/* reexport safe */ _results_visual_results_RFIDOrigin__WEBPACK_IMPORTED_MODULE_25__.RFIDOrigin),
|
|
574
581
|
/* harmony export */ RFIDParams: () => (/* reexport safe */ _params_process_params_RFIDParams__WEBPACK_IMPORTED_MODULE_82__.RFIDParams),
|
|
575
|
-
/* harmony export */ RFIDPasswordType: () => (/* reexport safe */
|
|
576
|
-
/* harmony export */ RFIDReadingBufferSize: () => (/* reexport safe */
|
|
577
|
-
/* harmony export */ RFIDSDKProfilerType: () => (/* reexport safe */
|
|
578
|
-
/* harmony export */ RFIDScenario: () => (/* reexport safe */
|
|
582
|
+
/* harmony export */ RFIDPasswordType: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDPasswordType),
|
|
583
|
+
/* harmony export */ RFIDReadingBufferSize: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDReadingBufferSize),
|
|
584
|
+
/* harmony export */ RFIDSDKProfilerType: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDSDKProfilerType),
|
|
585
|
+
/* harmony export */ RFIDScenario: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDScenario),
|
|
579
586
|
/* harmony export */ RFIDSessionData: () => (/* reexport safe */ _results_rfid_RFIDSessionData__WEBPACK_IMPORTED_MODULE_73__.RFIDSessionData),
|
|
580
587
|
/* harmony export */ RFIDStatus: () => (/* reexport safe */ _results_status_RFIDStatus__WEBPACK_IMPORTED_MODULE_33__.RFIDStatus),
|
|
581
|
-
/* harmony export */ RFIDTerminalType: () => (/* reexport safe */
|
|
588
|
+
/* harmony export */ RFIDTerminalType: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDTerminalType),
|
|
582
589
|
/* harmony export */ RFIDValidity: () => (/* reexport safe */ _results_rfid_RFIDValidity__WEBPACK_IMPORTED_MODULE_68__.RFIDValidity),
|
|
583
590
|
/* harmony export */ RFIDValue: () => (/* reexport safe */ _results_rfid_RFIDValue__WEBPACK_IMPORTED_MODULE_67__.RFIDValue),
|
|
584
591
|
/* harmony export */ RecognizeConfig: () => (/* reexport safe */ _config_RecognizeConfig__WEBPACK_IMPORTED_MODULE_5__.RecognizeConfig),
|
|
@@ -591,11 +598,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
591
598
|
/* harmony export */ SecurityFeatureType: () => (/* reexport safe */ _results_authenticity_SecurityFeatureType__WEBPACK_IMPORTED_MODULE_42__.SecurityFeatureType),
|
|
592
599
|
/* harmony export */ SecurityObject: () => (/* reexport safe */ _results_rfid_SecurityObject__WEBPACK_IMPORTED_MODULE_58__.SecurityObject),
|
|
593
600
|
/* harmony export */ SecurityObjectCertificates: () => (/* reexport safe */ _results_rfid_SecurityObjectCertificates__WEBPACK_IMPORTED_MODULE_63__.SecurityObjectCertificates),
|
|
594
|
-
/* harmony export */ SignManagementAction: () => (/* reexport safe */
|
|
601
|
+
/* harmony export */ SignManagementAction: () => (/* reexport safe */ _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.SignManagementAction),
|
|
595
602
|
/* harmony export */ SignerInfo: () => (/* reexport safe */ _results_rfid_SignerInfo__WEBPACK_IMPORTED_MODULE_62__.SignerInfo),
|
|
596
603
|
/* harmony export */ Symbol: () => (/* reexport safe */ _results_visual_results_Symbol__WEBPACK_IMPORTED_MODULE_18__.Symbol),
|
|
597
|
-
/* harmony export */ TAChallenge: () => (/* reexport safe */
|
|
598
|
-
/* harmony export */ TccParams: () => (/* reexport safe */
|
|
604
|
+
/* harmony export */ TAChallenge: () => (/* reexport safe */ _rfid_TAChallenge__WEBPACK_IMPORTED_MODULE_106__.TAChallenge),
|
|
605
|
+
/* harmony export */ TccParams: () => (/* reexport safe */ _rfid_TccParams__WEBPACK_IMPORTED_MODULE_103__.TccParams),
|
|
599
606
|
/* harmony export */ TextField: () => (/* reexport safe */ _results_visual_results_TextField__WEBPACK_IMPORTED_MODULE_20__.TextField),
|
|
600
607
|
/* harmony export */ TextResult: () => (/* reexport safe */ _results_visual_results_TextResult__WEBPACK_IMPORTED_MODULE_26__.TextResult),
|
|
601
608
|
/* harmony export */ TextSource: () => (/* reexport safe */ _results_visual_results_TextSource__WEBPACK_IMPORTED_MODULE_27__.TextSource),
|
|
@@ -604,7 +611,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
604
611
|
/* harmony export */ VDSNCData: () => (/* reexport safe */ _results_visible_digital_seals_VDSNCData__WEBPACK_IMPORTED_MODULE_53__.VDSNCData),
|
|
605
612
|
/* harmony export */ Validity: () => (/* reexport safe */ _results_visual_results_Validity__WEBPACK_IMPORTED_MODULE_22__.Validity),
|
|
606
613
|
/* harmony export */ Value: () => (/* reexport safe */ _results_visual_results_Value__WEBPACK_IMPORTED_MODULE_16__.Value),
|
|
607
|
-
/* harmony export */ ViewContentMode: () => (/* reexport safe */
|
|
614
|
+
/* harmony export */ ViewContentMode: () => (/* reexport safe */ _params_customization_CustomizationContentModes__WEBPACK_IMPORTED_MODULE_94__.ViewContentMode)
|
|
608
615
|
/* harmony export */ });
|
|
609
616
|
/* harmony import */ var _internal_bridge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./internal/bridge */ "./src/internal/bridge.js");
|
|
610
617
|
/* harmony import */ var _config_OnlineProcessingConfig__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./config/OnlineProcessingConfig */ "./src/config/OnlineProcessingConfig.js");
|
|
@@ -695,28 +702,32 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
695
702
|
/* harmony import */ var _params_process_params_Bsi__WEBPACK_IMPORTED_MODULE_86__ = __webpack_require__(/*! ./params/process_params/Bsi */ "./src/params/process_params/Bsi.js");
|
|
696
703
|
/* harmony import */ var _params_process_params_FaceApiSearchParams__WEBPACK_IMPORTED_MODULE_87__ = __webpack_require__(/*! ./params/process_params/FaceApiSearchParams */ "./src/params/process_params/FaceApiSearchParams.js");
|
|
697
704
|
/* harmony import */ var _params_Functionality__WEBPACK_IMPORTED_MODULE_88__ = __webpack_require__(/*! ./params/Functionality */ "./src/params/Functionality.js");
|
|
698
|
-
/* harmony import */ var
|
|
699
|
-
/* harmony import */ var
|
|
700
|
-
/* harmony import */ var
|
|
701
|
-
/* harmony import */ var
|
|
702
|
-
/* harmony import */ var
|
|
703
|
-
/* harmony import */ var
|
|
704
|
-
/* harmony import */ var
|
|
705
|
-
/* harmony import */ var
|
|
706
|
-
/* harmony import */ var
|
|
707
|
-
/* harmony import */ var
|
|
708
|
-
/* harmony import */ var
|
|
709
|
-
/* harmony import */ var
|
|
710
|
-
/* harmony import */ var
|
|
711
|
-
/* harmony import */ var
|
|
712
|
-
/* harmony import */ var
|
|
713
|
-
/* harmony import */ var
|
|
714
|
-
/* harmony import */ var
|
|
715
|
-
/* harmony import */ var
|
|
716
|
-
/* harmony import */ var
|
|
717
|
-
/* harmony import */ var
|
|
718
|
-
/* harmony import */ var
|
|
719
|
-
/* harmony import */ var
|
|
705
|
+
/* harmony import */ var _params_customization_CustomizationColors__WEBPACK_IMPORTED_MODULE_89__ = __webpack_require__(/*! ./params/customization/CustomizationColors */ "./src/params/customization/CustomizationColors.js");
|
|
706
|
+
/* harmony import */ var _params_customization_CustomizationFonts__WEBPACK_IMPORTED_MODULE_90__ = __webpack_require__(/*! ./params/customization/CustomizationFonts */ "./src/params/customization/CustomizationFonts.js");
|
|
707
|
+
/* harmony import */ var _params_customization_CustomizationImages__WEBPACK_IMPORTED_MODULE_91__ = __webpack_require__(/*! ./params/customization/CustomizationImages */ "./src/params/customization/CustomizationImages.js");
|
|
708
|
+
/* harmony import */ var _params_customization_CustomizationTimings__WEBPACK_IMPORTED_MODULE_92__ = __webpack_require__(/*! ./params/customization/CustomizationTimings */ "./src/params/customization/CustomizationTimings.js");
|
|
709
|
+
/* harmony import */ var _params_customization_CustomizationMatrices__WEBPACK_IMPORTED_MODULE_93__ = __webpack_require__(/*! ./params/customization/CustomizationMatrices */ "./src/params/customization/CustomizationMatrices.js");
|
|
710
|
+
/* harmony import */ var _params_customization_CustomizationContentModes__WEBPACK_IMPORTED_MODULE_94__ = __webpack_require__(/*! ./params/customization/CustomizationContentModes */ "./src/params/customization/CustomizationContentModes.js");
|
|
711
|
+
/* harmony import */ var _params_customization_Customization__WEBPACK_IMPORTED_MODULE_95__ = __webpack_require__(/*! ./params/customization/Customization */ "./src/params/customization/Customization.js");
|
|
712
|
+
/* harmony import */ var _params_rfid_scenario_EPassportDataGroups__WEBPACK_IMPORTED_MODULE_96__ = __webpack_require__(/*! ./params/rfid_scenario/EPassportDataGroups */ "./src/params/rfid_scenario/EPassportDataGroups.js");
|
|
713
|
+
/* harmony import */ var _params_rfid_scenario_EIDDataGroups__WEBPACK_IMPORTED_MODULE_97__ = __webpack_require__(/*! ./params/rfid_scenario/EIDDataGroups */ "./src/params/rfid_scenario/EIDDataGroups.js");
|
|
714
|
+
/* harmony import */ var _params_rfid_scenario_DTCDataGroup__WEBPACK_IMPORTED_MODULE_98__ = __webpack_require__(/*! ./params/rfid_scenario/DTCDataGroup */ "./src/params/rfid_scenario/DTCDataGroup.js");
|
|
715
|
+
/* harmony import */ var _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__ = __webpack_require__(/*! ./params/rfid_scenario/RFIDScenario */ "./src/params/rfid_scenario/RFIDScenario.js");
|
|
716
|
+
/* harmony import */ var _params_rfid_scenario_EDLDataGroups__WEBPACK_IMPORTED_MODULE_100__ = __webpack_require__(/*! ./params/rfid_scenario/EDLDataGroups */ "./src/params/rfid_scenario/EDLDataGroups.js");
|
|
717
|
+
/* harmony import */ var _rfid_PAResourcesIssuer__WEBPACK_IMPORTED_MODULE_101__ = __webpack_require__(/*! ./rfid/PAResourcesIssuer */ "./src/rfid/PAResourcesIssuer.js");
|
|
718
|
+
/* harmony import */ var _rfid_RFIDErrorCodes__WEBPACK_IMPORTED_MODULE_102__ = __webpack_require__(/*! ./rfid/RFIDErrorCodes */ "./src/rfid/RFIDErrorCodes.js");
|
|
719
|
+
/* harmony import */ var _rfid_TccParams__WEBPACK_IMPORTED_MODULE_103__ = __webpack_require__(/*! ./rfid/TccParams */ "./src/rfid/TccParams.js");
|
|
720
|
+
/* harmony import */ var _rfid_RFIDNotification__WEBPACK_IMPORTED_MODULE_104__ = __webpack_require__(/*! ./rfid/RFIDNotification */ "./src/rfid/RFIDNotification.js");
|
|
721
|
+
/* harmony import */ var _rfid_PAAttribute__WEBPACK_IMPORTED_MODULE_105__ = __webpack_require__(/*! ./rfid/PAAttribute */ "./src/rfid/PAAttribute.js");
|
|
722
|
+
/* harmony import */ var _rfid_TAChallenge__WEBPACK_IMPORTED_MODULE_106__ = __webpack_require__(/*! ./rfid/TAChallenge */ "./src/rfid/TAChallenge.js");
|
|
723
|
+
/* harmony import */ var _rfid_PKDCertificate__WEBPACK_IMPORTED_MODULE_107__ = __webpack_require__(/*! ./rfid/PKDCertificate */ "./src/rfid/PKDCertificate.js");
|
|
724
|
+
/* harmony import */ var _mdl_DataRetrieval__WEBPACK_IMPORTED_MODULE_108__ = __webpack_require__(/*! ./mdl/DataRetrieval */ "./src/mdl/DataRetrieval.js");
|
|
725
|
+
/* harmony import */ var _mdl_DeviceEngagement__WEBPACK_IMPORTED_MODULE_109__ = __webpack_require__(/*! ./mdl/DeviceEngagement */ "./src/mdl/DeviceEngagement.js");
|
|
726
|
+
/* harmony import */ var _mdl_NameSpaceMDL__WEBPACK_IMPORTED_MODULE_110__ = __webpack_require__(/*! ./mdl/NameSpaceMDL */ "./src/mdl/NameSpaceMDL.js");
|
|
727
|
+
/* harmony import */ var _mdl_DocumentRequestMDL__WEBPACK_IMPORTED_MODULE_111__ = __webpack_require__(/*! ./mdl/DocumentRequestMDL */ "./src/mdl/DocumentRequestMDL.js");
|
|
728
|
+
/* harmony import */ var _mdl_DeviceRetrievalMethod__WEBPACK_IMPORTED_MODULE_112__ = __webpack_require__(/*! ./mdl/DeviceRetrievalMethod */ "./src/mdl/DeviceRetrievalMethod.js");
|
|
729
|
+
|
|
730
|
+
|
|
720
731
|
|
|
721
732
|
|
|
722
733
|
|
|
@@ -946,14 +957,14 @@ class DocumentReader {
|
|
|
946
957
|
}
|
|
947
958
|
|
|
948
959
|
get customization() { return this._customization }
|
|
949
|
-
_customization = new
|
|
960
|
+
_customization = new _params_customization_Customization__WEBPACK_IMPORTED_MODULE_95__.Customization()
|
|
950
961
|
set customization(val) {
|
|
951
962
|
this._customization = val;
|
|
952
963
|
this._customization._apply();
|
|
953
964
|
}
|
|
954
965
|
|
|
955
966
|
get rfidScenario() { return this._rfidScenario }
|
|
956
|
-
_rfidScenario = new
|
|
967
|
+
_rfidScenario = new _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDScenario()
|
|
957
968
|
set rfidScenario(val) {
|
|
958
969
|
this._rfidScenario = val;
|
|
959
970
|
this._rfidScenario._apply();
|
|
@@ -971,8 +982,8 @@ class DocumentReader {
|
|
|
971
982
|
(0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("resetConfiguration", []);
|
|
972
983
|
this._functionality = new _params_Functionality__WEBPACK_IMPORTED_MODULE_88__.Functionality();
|
|
973
984
|
this._processParams = new _params_process_params_ProcessParams__WEBPACK_IMPORTED_MODULE_79__.ProcessParams();
|
|
974
|
-
this._customization = new
|
|
975
|
-
this._rfidScenario = new
|
|
985
|
+
this._customization = new _params_customization_Customization__WEBPACK_IMPORTED_MODULE_95__.Customization();
|
|
986
|
+
this._rfidScenario = new _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDScenario();
|
|
976
987
|
}
|
|
977
988
|
|
|
978
989
|
set onCustomButtonTapped(completion) {
|
|
@@ -1118,23 +1129,23 @@ class DocumentReader {
|
|
|
1118
1129
|
var response = "";
|
|
1119
1130
|
if (options?.withoutUI != true) {
|
|
1120
1131
|
response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("startEngageDevice", [type.value]);
|
|
1121
|
-
} else if (type ==
|
|
1132
|
+
} else if (type == _mdl_DeviceEngagement__WEBPACK_IMPORTED_MODULE_109__.MDLDeviceEngagement.NFC) {
|
|
1122
1133
|
response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("engageDeviceNFC", []);
|
|
1123
|
-
} else if (type ==
|
|
1134
|
+
} else if (type == _mdl_DeviceEngagement__WEBPACK_IMPORTED_MODULE_109__.MDLDeviceEngagement.QR && options?.data != null) {
|
|
1124
1135
|
response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("engageDeviceData", [options.data]);
|
|
1125
1136
|
}
|
|
1126
1137
|
|
|
1127
1138
|
var jsonObject = JSON.parse(response);
|
|
1128
1139
|
return [
|
|
1129
|
-
|
|
1140
|
+
_mdl_DeviceEngagement__WEBPACK_IMPORTED_MODULE_109__.DeviceEngagement.fromJson(jsonObject["deviceEngagement"]),
|
|
1130
1141
|
_info_DocReaderException__WEBPACK_IMPORTED_MODULE_9__.DocReaderException.fromJson(jsonObject["error"]),
|
|
1131
1142
|
]
|
|
1132
1143
|
}
|
|
1133
1144
|
|
|
1134
1145
|
async retrieveData(retrieval, options) {
|
|
1135
1146
|
var func = "startRetrieveData";
|
|
1136
|
-
if (options?.withoutUI ==
|
|
1137
|
-
if (options?.withoutUI ==
|
|
1147
|
+
if (options?.withoutUI == _mdl_DataRetrieval__WEBPACK_IMPORTED_MODULE_108__.MDLDeviceRetrieval.NFC) func = "engageDeviceNFC";
|
|
1148
|
+
if (options?.withoutUI == _mdl_DataRetrieval__WEBPACK_IMPORTED_MODULE_108__.MDLDeviceRetrieval.BLE) func = "engageDeviceBLE";
|
|
1138
1149
|
|
|
1139
1150
|
var response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)(func, [retrieval.toJson(), options?.engagement?.toJson()]);
|
|
1140
1151
|
var jsonObject = JSON.parse(response);
|
|
@@ -1180,12 +1191,12 @@ class DocumentReader {
|
|
|
1180
1191
|
|
|
1181
1192
|
async _getCustomization() {
|
|
1182
1193
|
const response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("getCustomization", []);
|
|
1183
|
-
return
|
|
1194
|
+
return _params_customization_Customization__WEBPACK_IMPORTED_MODULE_95__.Customization.fromJson(JSON.parse(response));
|
|
1184
1195
|
}
|
|
1185
1196
|
|
|
1186
1197
|
async _getRfidScenario() {
|
|
1187
1198
|
const response = await (0,_internal_bridge__WEBPACK_IMPORTED_MODULE_0__.exec)("getRfidScenario", []);
|
|
1188
|
-
return
|
|
1199
|
+
return _params_rfid_scenario_RFIDScenario__WEBPACK_IMPORTED_MODULE_99__.RFIDScenario.fromJson(JSON.parse(response));
|
|
1189
1200
|
}
|
|
1190
1201
|
|
|
1191
1202
|
async _getLicense() {
|
|
@@ -2722,15 +2733,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2722
2733
|
/* harmony export */ Cap: () => (/* binding */ Cap),
|
|
2723
2734
|
/* harmony export */ CustomButtonTag: () => (/* binding */ CustomButtonTag),
|
|
2724
2735
|
/* harmony export */ Customization: () => (/* binding */ Customization),
|
|
2725
|
-
/* harmony export */ FrameShapeType: () => (/* binding */ FrameShapeType)
|
|
2726
|
-
/* harmony export */ ViewContentMode: () => (/* binding */ ViewContentMode)
|
|
2736
|
+
/* harmony export */ FrameShapeType: () => (/* binding */ FrameShapeType)
|
|
2727
2737
|
/* harmony export */ });
|
|
2728
2738
|
/* harmony import */ var _internal_bridge__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../internal/bridge */ "./src/internal/bridge.js");
|
|
2729
2739
|
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../index */ "./src/index.js");
|
|
2730
2740
|
/* harmony import */ var _CustomizationColors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./CustomizationColors */ "./src/params/customization/CustomizationColors.js");
|
|
2731
2741
|
/* harmony import */ var _CustomizationFonts__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./CustomizationFonts */ "./src/params/customization/CustomizationFonts.js");
|
|
2732
2742
|
/* harmony import */ var _CustomizationImages__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CustomizationImages */ "./src/params/customization/CustomizationImages.js");
|
|
2733
|
-
/* harmony import */ var
|
|
2743
|
+
/* harmony import */ var _CustomizationTimings__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./CustomizationTimings */ "./src/params/customization/CustomizationTimings.js");
|
|
2744
|
+
/* harmony import */ var _CustomizationContentModes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./CustomizationContentModes */ "./src/params/customization/CustomizationContentModes.js");
|
|
2745
|
+
/* harmony import */ var _CustomizationMatrices__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./CustomizationMatrices */ "./src/params/customization/CustomizationMatrices.js");
|
|
2746
|
+
|
|
2747
|
+
|
|
2734
2748
|
|
|
2735
2749
|
|
|
2736
2750
|
|
|
@@ -3171,6 +3185,24 @@ class Customization {
|
|
|
3171
3185
|
val._apply(this);
|
|
3172
3186
|
}
|
|
3173
3187
|
|
|
3188
|
+
get timings() { return this._timings; }
|
|
3189
|
+
set timings(val) {
|
|
3190
|
+
this._timings = val;
|
|
3191
|
+
val._apply(this);
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3194
|
+
get contentModes() { return this._contentModes; }
|
|
3195
|
+
set contentModes(val) {
|
|
3196
|
+
this._contentModes = val;
|
|
3197
|
+
val._apply(this);
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
get matrices() { return this._matrices; }
|
|
3201
|
+
set matrices(val) {
|
|
3202
|
+
this._matrices = val;
|
|
3203
|
+
val._apply(this);
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3174
3206
|
static fromJson(jsonObject) {
|
|
3175
3207
|
if (jsonObject == null) return null;
|
|
3176
3208
|
|
|
@@ -3232,9 +3264,9 @@ class Customization {
|
|
|
3232
3264
|
result._customLabelStatus = jsonObject["customLabelStatus"];
|
|
3233
3265
|
result._cameraFrameLineCap = jsonObject["cameraFrameLineCap"];
|
|
3234
3266
|
result._uiCustomizationLayer = jsonObject["uiCustomizationLayer"];
|
|
3235
|
-
result._statusTextFont =
|
|
3236
|
-
result._resultStatusTextFont =
|
|
3237
|
-
result._multipageButtonTextFont =
|
|
3267
|
+
result._statusTextFont = _CustomizationFonts__WEBPACK_IMPORTED_MODULE_3__.Font.fromJson(jsonObject["statusTextFont"]);
|
|
3268
|
+
result._resultStatusTextFont = _CustomizationFonts__WEBPACK_IMPORTED_MODULE_3__.Font.fromJson(jsonObject["resultStatusTextFont"]);
|
|
3269
|
+
result._multipageButtonTextFont = _CustomizationFonts__WEBPACK_IMPORTED_MODULE_3__.Font.fromJson(jsonObject["multipageButtonTextFont"]);
|
|
3238
3270
|
result._helpAnimationImageTransformsIOS = jsonObject["helpAnimationImageContentMode"];
|
|
3239
3271
|
result._multipageAnimationFrontImageTransformsIOS = jsonObject["multipageAnimationFrontImageContentMode"];
|
|
3240
3272
|
result._multipageAnimationBackImageTransformsIOS = jsonObject["multipageAnimationBackImageContentMode"];
|
|
@@ -3249,6 +3281,9 @@ class Customization {
|
|
|
3249
3281
|
result._colors = _CustomizationColors__WEBPACK_IMPORTED_MODULE_2__.CustomizationColors.fromJson(jsonObject["colors"]);
|
|
3250
3282
|
result._fonts = _CustomizationFonts__WEBPACK_IMPORTED_MODULE_3__.CustomizationFonts.fromJson(jsonObject["fonts"]);
|
|
3251
3283
|
result._images = _CustomizationImages__WEBPACK_IMPORTED_MODULE_4__.CustomizationImages.fromJson(jsonObject["images"]);
|
|
3284
|
+
result._timings = _CustomizationTimings__WEBPACK_IMPORTED_MODULE_5__.CustomizationTimings.fromJson(jsonObject["timings"]);
|
|
3285
|
+
result._contentModes = _CustomizationContentModes__WEBPACK_IMPORTED_MODULE_6__.CustomizationContentModes.fromJson(jsonObject["contentModes"]);
|
|
3286
|
+
result._matrices = _CustomizationMatrices__WEBPACK_IMPORTED_MODULE_7__.CustomizationMatrices.fromJson(jsonObject["matrices"]);
|
|
3252
3287
|
|
|
3253
3288
|
return result;
|
|
3254
3289
|
}
|
|
@@ -3327,6 +3362,9 @@ class Customization {
|
|
|
3327
3362
|
"colors": this.colors?.toJson(),
|
|
3328
3363
|
"fonts": this.fonts?.toJson(),
|
|
3329
3364
|
"images": this.images?.toJson(),
|
|
3365
|
+
"timings": this.timings?.toJson(),
|
|
3366
|
+
"contentModes": this.contentModes?.toJson(),
|
|
3367
|
+
"matrices": this.matrices?.toJson(),
|
|
3330
3368
|
}
|
|
3331
3369
|
}
|
|
3332
3370
|
|
|
@@ -3348,22 +3386,6 @@ const FrameShapeType = {
|
|
|
3348
3386
|
CORNER: 1
|
|
3349
3387
|
};
|
|
3350
3388
|
|
|
3351
|
-
const ViewContentMode = {
|
|
3352
|
-
SCALE_TO_FILL: 0,
|
|
3353
|
-
SCALE_ASPECT_FIT: 1,
|
|
3354
|
-
SCALE_ASPECT_FILL: 2,
|
|
3355
|
-
REDRAW: 3,
|
|
3356
|
-
CENTER: 4,
|
|
3357
|
-
TOP: 5,
|
|
3358
|
-
BOTTOM: 6,
|
|
3359
|
-
LEFT: 7,
|
|
3360
|
-
RIGHT: 8,
|
|
3361
|
-
TOP_LEFT: 9,
|
|
3362
|
-
TOP_RIGHT: 10,
|
|
3363
|
-
BOTTOM_LEFT: 11,
|
|
3364
|
-
BOTTOM_RIGHT: 12
|
|
3365
|
-
};
|
|
3366
|
-
|
|
3367
3389
|
const CustomButtonTag = {
|
|
3368
3390
|
CLOSE: 1001,
|
|
3369
3391
|
TORCH: 1002,
|
|
@@ -3522,10 +3544,34 @@ class CustomizationColors {
|
|
|
3522
3544
|
this._set({ "mdlEnableNfcButtonBackground": val });
|
|
3523
3545
|
}
|
|
3524
3546
|
|
|
3547
|
+
get nextPageIdCardFront() { return this._nextPageIdCardFront; }
|
|
3548
|
+
set nextPageIdCardFront(val) {
|
|
3549
|
+
this._nextPageIdCardFront = val;
|
|
3550
|
+
this._set({ "nextPageIdCardFront": val });
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
get nextPageIdCardBack() { return this._nextPageIdCardBack; }
|
|
3554
|
+
set nextPageIdCardBack(val) {
|
|
3555
|
+
this._nextPageIdCardBack = val;
|
|
3556
|
+
this._set({ "nextPageIdCardBack": val });
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
get nextPagePassportShift() { return this._nextPagePassportShift; }
|
|
3560
|
+
set nextPagePassportShift(val) {
|
|
3561
|
+
this._nextPagePassportShift = val;
|
|
3562
|
+
this._set({ "nextPagePassportShift": val });
|
|
3563
|
+
}
|
|
3564
|
+
|
|
3565
|
+
get nextPagePassportFlip() { return this._nextPagePassportFlip; }
|
|
3566
|
+
set nextPagePassportFlip(val) {
|
|
3567
|
+
this._nextPagePassportFlip = val;
|
|
3568
|
+
this._set({ "nextPagePassportFlip": val });
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3525
3571
|
static fromJson(jsonObject) {
|
|
3526
3572
|
if (jsonObject == null) return null;
|
|
3527
|
-
|
|
3528
3573
|
const result = new CustomizationColors();
|
|
3574
|
+
|
|
3529
3575
|
result._rfidProcessingScreenBackground = jsonObject["rfidProcessingScreenBackground"];
|
|
3530
3576
|
result._rfidProcessingScreenHintLabelText = jsonObject["rfidProcessingScreenHintLabelText"];
|
|
3531
3577
|
result._rfidProcessingScreenHintLabelBackground = jsonObject["rfidProcessingScreenHintLabelBackground"];
|
|
@@ -3548,6 +3594,10 @@ class CustomizationColors {
|
|
|
3548
3594
|
result._mdlEnableNfcDescriptionText = jsonObject["mdlEnableNfcDescriptionText"];
|
|
3549
3595
|
result._mdlEnableNfcButtonText = jsonObject["mdlEnableNfcButtonText"];
|
|
3550
3596
|
result._mdlEnableNfcButtonBackground = jsonObject["mdlEnableNfcButtonBackground"];
|
|
3597
|
+
result._nextPageIdCardFront = jsonObject["nextPageIdCardFront"];
|
|
3598
|
+
result._nextPageIdCardBack = jsonObject["nextPageIdCardBack"];
|
|
3599
|
+
result._nextPagePassportShift = jsonObject["nextPagePassportShift"];
|
|
3600
|
+
result._nextPagePassportFlip = jsonObject["nextPagePassportFlip"];
|
|
3551
3601
|
|
|
3552
3602
|
return result;
|
|
3553
3603
|
}
|
|
@@ -3583,10 +3633,85 @@ class CustomizationColors {
|
|
|
3583
3633
|
"mdlEnableNfcDescriptionText": this.mdlEnableNfcDescriptionText,
|
|
3584
3634
|
"mdlEnableNfcButtonText": this.mdlEnableNfcButtonText,
|
|
3585
3635
|
"mdlEnableNfcButtonBackground": this.mdlEnableNfcButtonBackground,
|
|
3636
|
+
"nextPageIdCardFront": this.nextPageIdCardFront,
|
|
3637
|
+
"nextPageIdCardBack": this.nextPageIdCardBack,
|
|
3638
|
+
"nextPagePassportShift": this.nextPagePassportShift,
|
|
3639
|
+
"nextPagePassportFlip": this.nextPagePassportFlip,
|
|
3640
|
+
}
|
|
3641
|
+
}
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
|
|
3645
|
+
/***/ },
|
|
3646
|
+
|
|
3647
|
+
/***/ "./src/params/customization/CustomizationContentModes.js"
|
|
3648
|
+
/*!***************************************************************!*\
|
|
3649
|
+
!*** ./src/params/customization/CustomizationContentModes.js ***!
|
|
3650
|
+
\***************************************************************/
|
|
3651
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3652
|
+
|
|
3653
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3654
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3655
|
+
/* harmony export */ CustomizationContentModes: () => (/* binding */ CustomizationContentModes),
|
|
3656
|
+
/* harmony export */ ViewContentMode: () => (/* binding */ ViewContentMode)
|
|
3657
|
+
/* harmony export */ });
|
|
3658
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../index */ "./src/index.js");
|
|
3659
|
+
|
|
3660
|
+
|
|
3661
|
+
class CustomizationContentModes {
|
|
3662
|
+
get nextPageIdCardFront() { return this._nextPageIdCardFront; }
|
|
3663
|
+
set nextPageIdCardFront(val) {
|
|
3664
|
+
this._nextPageIdCardFront = val;
|
|
3665
|
+
this._set({ "nextPageIdCardFront": val });
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
get nextPageIdCardBack() { return this._nextPageIdCardBack; }
|
|
3669
|
+
set nextPageIdCardBack(val) {
|
|
3670
|
+
this._nextPageIdCardBack = val;
|
|
3671
|
+
this._set({ "nextPageIdCardBack": val });
|
|
3672
|
+
}
|
|
3673
|
+
|
|
3674
|
+
static fromJson(jsonObject) {
|
|
3675
|
+
if (jsonObject == null) return null;
|
|
3676
|
+
const result = new CustomizationContentModes();
|
|
3677
|
+
|
|
3678
|
+
result._nextPageIdCardFront = jsonObject["nextPageIdCardFront"];
|
|
3679
|
+
result._nextPageIdCardBack = jsonObject["nextPageIdCardBack"];
|
|
3680
|
+
|
|
3681
|
+
return result;
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
_apply() { this._set(this); }
|
|
3685
|
+
_set(json) {
|
|
3686
|
+
const parentJson = { "contentModes": json };
|
|
3687
|
+
var parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.customization;
|
|
3688
|
+
if (this === parent.contentModes) parent._set(parentJson);
|
|
3689
|
+
}
|
|
3690
|
+
|
|
3691
|
+
toJson() {
|
|
3692
|
+
return {
|
|
3693
|
+
"nextPageIdCardFront": this.nextPageIdCardFront,
|
|
3694
|
+
"nextPageIdCardBack": this.nextPageIdCardBack,
|
|
3586
3695
|
}
|
|
3587
3696
|
}
|
|
3588
3697
|
}
|
|
3589
3698
|
|
|
3699
|
+
const ViewContentMode = {
|
|
3700
|
+
SCALE_TO_FILL: 0,
|
|
3701
|
+
SCALE_ASPECT_FIT: 1,
|
|
3702
|
+
SCALE_ASPECT_FILL: 2,
|
|
3703
|
+
REDRAW: 3,
|
|
3704
|
+
CENTER: 4,
|
|
3705
|
+
TOP: 5,
|
|
3706
|
+
BOTTOM: 6,
|
|
3707
|
+
LEFT: 7,
|
|
3708
|
+
RIGHT: 8,
|
|
3709
|
+
TOP_LEFT: 9,
|
|
3710
|
+
TOP_RIGHT: 10,
|
|
3711
|
+
BOTTOM_LEFT: 11,
|
|
3712
|
+
BOTTOM_RIGHT: 12
|
|
3713
|
+
};
|
|
3714
|
+
|
|
3590
3715
|
|
|
3591
3716
|
/***/ },
|
|
3592
3717
|
|
|
@@ -3598,11 +3723,11 @@ class CustomizationColors {
|
|
|
3598
3723
|
|
|
3599
3724
|
__webpack_require__.r(__webpack_exports__);
|
|
3600
3725
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3601
|
-
/* harmony export */ CustomizationFonts: () => (/* binding */ CustomizationFonts)
|
|
3726
|
+
/* harmony export */ CustomizationFonts: () => (/* binding */ CustomizationFonts),
|
|
3727
|
+
/* harmony export */ Font: () => (/* binding */ Font),
|
|
3728
|
+
/* harmony export */ FontStyle: () => (/* binding */ FontStyle)
|
|
3602
3729
|
/* harmony export */ });
|
|
3603
3730
|
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../index */ "./src/index.js");
|
|
3604
|
-
/* harmony import */ var _Font__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Font */ "./src/params/customization/Font.js");
|
|
3605
|
-
|
|
3606
3731
|
|
|
3607
3732
|
|
|
3608
3733
|
class CustomizationFonts {
|
|
@@ -3680,20 +3805,20 @@ class CustomizationFonts {
|
|
|
3680
3805
|
|
|
3681
3806
|
static fromJson(jsonObject) {
|
|
3682
3807
|
if (jsonObject == null) return null;
|
|
3683
|
-
|
|
3684
3808
|
const result = new CustomizationFonts();
|
|
3685
|
-
|
|
3686
|
-
result.
|
|
3687
|
-
result.
|
|
3688
|
-
result.
|
|
3689
|
-
result.
|
|
3690
|
-
result.
|
|
3691
|
-
result.
|
|
3692
|
-
result.
|
|
3693
|
-
result.
|
|
3694
|
-
result.
|
|
3695
|
-
result.
|
|
3696
|
-
result.
|
|
3809
|
+
|
|
3810
|
+
result._rfidProcessingScreenHintLabel = Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"]);
|
|
3811
|
+
result._rfidProcessingScreenProgressLabel = Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"]);
|
|
3812
|
+
result._rfidProcessingScreenResultLabel = Font.fromJson(jsonObject["rfidProcessingScreenResultLabel"]);
|
|
3813
|
+
result._rfidEnableNfcTitleText = Font.fromJson(jsonObject["rfidEnableNfcTitleText"]);
|
|
3814
|
+
result._rfidEnableNfcDescriptionText = Font.fromJson(jsonObject["rfidEnableNfcDescriptionText"]);
|
|
3815
|
+
result._rfidEnableNfcButtonText = Font.fromJson(jsonObject["rfidEnableNfcButtonText"]);
|
|
3816
|
+
result._mdlProcessingScreenHintLabel = Font.fromJson(jsonObject["mdlProcessingScreenHintLabel"]);
|
|
3817
|
+
result._mdlProcessingScreenProgressLabel = Font.fromJson(jsonObject["mdlProcessingScreenProgressLabel"]);
|
|
3818
|
+
result._mdlProcessingScreenResultLabel = Font.fromJson(jsonObject["mdlProcessingScreenResultLabel"]);
|
|
3819
|
+
result._mdlEnableNfcTitleText = Font.fromJson(jsonObject["mdlEnableNfcTitleText"]);
|
|
3820
|
+
result._mdlEnableNfcDescriptionText = Font.fromJson(jsonObject["mdlEnableNfcDescriptionText"]);
|
|
3821
|
+
result._mdlEnableNfcButtonText = Font.fromJson(jsonObject["mdlEnableNfcButtonText"]);
|
|
3697
3822
|
|
|
3698
3823
|
return result;
|
|
3699
3824
|
}
|
|
@@ -3723,6 +3848,43 @@ class CustomizationFonts {
|
|
|
3723
3848
|
}
|
|
3724
3849
|
}
|
|
3725
3850
|
|
|
3851
|
+
class Font {
|
|
3852
|
+
name
|
|
3853
|
+
size
|
|
3854
|
+
style
|
|
3855
|
+
|
|
3856
|
+
constructor(name, options) {
|
|
3857
|
+
this.name = name;
|
|
3858
|
+
this.size = options?.size;
|
|
3859
|
+
this.style = options?.style;
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
static fromJson(jsonObject) {
|
|
3863
|
+
if (jsonObject == null) return null;
|
|
3864
|
+
|
|
3865
|
+
const result = new Font(jsonObject["name"]);
|
|
3866
|
+
result.size = jsonObject["size"];
|
|
3867
|
+
result.style = jsonObject["style"];
|
|
3868
|
+
|
|
3869
|
+
return result;
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
toJson() {
|
|
3873
|
+
return {
|
|
3874
|
+
"name": this.name,
|
|
3875
|
+
"size": this.size,
|
|
3876
|
+
"style": this.style,
|
|
3877
|
+
}
|
|
3878
|
+
}
|
|
3879
|
+
}
|
|
3880
|
+
|
|
3881
|
+
const FontStyle = {
|
|
3882
|
+
NORMAL: 0,
|
|
3883
|
+
BOLD: 1,
|
|
3884
|
+
ITALIC: 2,
|
|
3885
|
+
BOLD_ITALIC: 3
|
|
3886
|
+
};
|
|
3887
|
+
|
|
3726
3888
|
|
|
3727
3889
|
/***/ },
|
|
3728
3890
|
|
|
@@ -3740,6 +3902,60 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3740
3902
|
|
|
3741
3903
|
|
|
3742
3904
|
class CustomizationImages {
|
|
3905
|
+
get helpAnimation() { return this._helpAnimation; }
|
|
3906
|
+
set helpAnimation(val) {
|
|
3907
|
+
this._helpAnimation = val;
|
|
3908
|
+
this._set({ "helpAnimation": val });
|
|
3909
|
+
}
|
|
3910
|
+
|
|
3911
|
+
get livenessAnimation() { return this._livenessAnimation; }
|
|
3912
|
+
set livenessAnimation(val) {
|
|
3913
|
+
this._livenessAnimation = val;
|
|
3914
|
+
this._set({ "livenessAnimation": val });
|
|
3915
|
+
}
|
|
3916
|
+
|
|
3917
|
+
get borderBackground() { return this._borderBackground; }
|
|
3918
|
+
set borderBackground(val) {
|
|
3919
|
+
this._borderBackground = val;
|
|
3920
|
+
this._set({ "borderBackground": val });
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
get torchButtonOn() { return this._torchButtonOn; }
|
|
3924
|
+
set torchButtonOn(val) {
|
|
3925
|
+
this._torchButtonOn = val;
|
|
3926
|
+
this._set({ "torchButtonOn": val });
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
get torchButtonOff() { return this._torchButtonOff; }
|
|
3930
|
+
set torchButtonOff(val) {
|
|
3931
|
+
this._torchButtonOff = val;
|
|
3932
|
+
this._set({ "torchButtonOff": val });
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
get captureButton() { return this._captureButton; }
|
|
3936
|
+
set captureButton(val) {
|
|
3937
|
+
this._captureButton = val;
|
|
3938
|
+
this._set({ "captureButton": val });
|
|
3939
|
+
}
|
|
3940
|
+
|
|
3941
|
+
get switchButton() { return this._switchButton; }
|
|
3942
|
+
set switchButton(val) {
|
|
3943
|
+
this._switchButton = val;
|
|
3944
|
+
this._set({ "switchButton": val });
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3947
|
+
get closeButton() { return this._closeButton; }
|
|
3948
|
+
set closeButton(val) {
|
|
3949
|
+
this._closeButton = val;
|
|
3950
|
+
this._set({ "closeButton": val });
|
|
3951
|
+
}
|
|
3952
|
+
|
|
3953
|
+
get multipageButton() { return this._multipageButton; }
|
|
3954
|
+
set multipageButton(val) {
|
|
3955
|
+
this._multipageButton = val;
|
|
3956
|
+
this._set({ "multipageButton": val });
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3743
3959
|
get rfidProcessingScreenFailureImage() { return this._rfidProcessingScreenFailureImage; }
|
|
3744
3960
|
set rfidProcessingScreenFailureImage(val) {
|
|
3745
3961
|
this._rfidProcessingScreenFailureImage = val;
|
|
@@ -3752,6 +3968,12 @@ class CustomizationImages {
|
|
|
3752
3968
|
this._set({ "rfidEnableNfcImage": val });
|
|
3753
3969
|
}
|
|
3754
3970
|
|
|
3971
|
+
get rfidDisableNfcImage() { return this._rfidDisableNfcImage; }
|
|
3972
|
+
set rfidDisableNfcImage(val) {
|
|
3973
|
+
this._rfidDisableNfcImage = val;
|
|
3974
|
+
this._set({ "rfidDisableNfcImage": val });
|
|
3975
|
+
}
|
|
3976
|
+
|
|
3755
3977
|
get mdlProcessingScreenFailureImage() { return this._mdlProcessingScreenFailureImage; }
|
|
3756
3978
|
set mdlProcessingScreenFailureImage(val) {
|
|
3757
3979
|
this._mdlProcessingScreenFailureImage = val;
|
|
@@ -3764,14 +3986,80 @@ class CustomizationImages {
|
|
|
3764
3986
|
this._set({ "mdlEnableNfcImage": val });
|
|
3765
3987
|
}
|
|
3766
3988
|
|
|
3989
|
+
get mdlDisableNfcImage() { return this._mdlDisableNfcImage; }
|
|
3990
|
+
set mdlDisableNfcImage(val) {
|
|
3991
|
+
this._mdlDisableNfcImage = val;
|
|
3992
|
+
this._set({ "mdlDisableNfcImage": val });
|
|
3993
|
+
}
|
|
3994
|
+
|
|
3995
|
+
get nextPageIdCardFront() { return this._nextPageIdCardFront; }
|
|
3996
|
+
set nextPageIdCardFront(val) {
|
|
3997
|
+
this._nextPageIdCardFront = val;
|
|
3998
|
+
this._set({ "nextPageIdCardFront": val });
|
|
3999
|
+
}
|
|
4000
|
+
|
|
4001
|
+
get nextPageIdCardBack() { return this._nextPageIdCardBack; }
|
|
4002
|
+
set nextPageIdCardBack(val) {
|
|
4003
|
+
this._nextPageIdCardBack = val;
|
|
4004
|
+
this._set({ "nextPageIdCardBack": val });
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
get nextPagePassportShift() { return this._nextPagePassportShift; }
|
|
4008
|
+
set nextPagePassportShift(val) {
|
|
4009
|
+
this._nextPagePassportShift = val;
|
|
4010
|
+
this._set({ "nextPagePassportShift": val });
|
|
4011
|
+
}
|
|
4012
|
+
|
|
4013
|
+
get nextPagePassportFlipStart() { return this._nextPagePassportFlipStart; }
|
|
4014
|
+
set nextPagePassportFlipStart(val) {
|
|
4015
|
+
this._nextPagePassportFlipStart = val;
|
|
4016
|
+
this._set({ "nextPagePassportFlipStart": val });
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
get nextPagePassportFlipClean() { return this._nextPagePassportFlipClean; }
|
|
4020
|
+
set nextPagePassportFlipClean(val) {
|
|
4021
|
+
this._nextPagePassportFlipClean = val;
|
|
4022
|
+
this._set({ "nextPagePassportFlipClean": val });
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
get nextPagePassportFlipTop() { return this._nextPagePassportFlipTop; }
|
|
4026
|
+
set nextPagePassportFlipTop(val) {
|
|
4027
|
+
this._nextPagePassportFlipTop = val;
|
|
4028
|
+
this._set({ "nextPagePassportFlipTop": val });
|
|
4029
|
+
}
|
|
4030
|
+
|
|
4031
|
+
get nextPagePassportFlipBottom() { return this._nextPagePassportFlipBottom; }
|
|
4032
|
+
set nextPagePassportFlipBottom(val) {
|
|
4033
|
+
this._nextPagePassportFlipBottom = val;
|
|
4034
|
+
this._set({ "nextPagePassportFlipBottom": val });
|
|
4035
|
+
}
|
|
4036
|
+
|
|
3767
4037
|
static fromJson(jsonObject) {
|
|
3768
4038
|
if (jsonObject == null) return null;
|
|
3769
|
-
|
|
3770
4039
|
const result = new CustomizationImages();
|
|
4040
|
+
|
|
4041
|
+
result._helpAnimation = jsonObject["helpAnimation"];
|
|
4042
|
+
result._livenessAnimation = jsonObject["livenessAnimation"];
|
|
4043
|
+
result._borderBackground = jsonObject["borderBackground"];
|
|
4044
|
+
result._torchButtonOn = jsonObject["torchButtonOn"];
|
|
4045
|
+
result._torchButtonOff = jsonObject["torchButtonOff"];
|
|
4046
|
+
result._captureButton = jsonObject["captureButton"];
|
|
4047
|
+
result._switchButton = jsonObject["switchButton"];
|
|
4048
|
+
result._closeButton = jsonObject["closeButton"];
|
|
4049
|
+
result._multipageButton = jsonObject["multipageButton"];
|
|
3771
4050
|
result._rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"];
|
|
3772
4051
|
result._rfidEnableNfcImage = jsonObject["rfidEnableNfcImage"];
|
|
4052
|
+
result._rfidDisableNfcImage = jsonObject["rfidDisableNfcImage"];
|
|
3773
4053
|
result._mdlProcessingScreenFailureImage = jsonObject["mdlProcessingScreenFailureImage"];
|
|
3774
4054
|
result._mdlEnableNfcImage = jsonObject["mdlEnableNfcImage"];
|
|
4055
|
+
result._mdlDisableNfcImage = jsonObject["mdlDisableNfcImage"];
|
|
4056
|
+
result._nextPageIdCardFront = jsonObject["nextPageIdCardFront"];
|
|
4057
|
+
result._nextPageIdCardBack = jsonObject["nextPageIdCardBack"];
|
|
4058
|
+
result._nextPagePassportShift = jsonObject["nextPagePassportShift"];
|
|
4059
|
+
result._nextPagePassportFlipStart = jsonObject["nextPagePassportFlipStart"];
|
|
4060
|
+
result._nextPagePassportFlipClean = jsonObject["nextPagePassportFlipClean"];
|
|
4061
|
+
result._nextPagePassportFlipTop = jsonObject["nextPagePassportFlipTop"];
|
|
4062
|
+
result._nextPagePassportFlipBottom = jsonObject["nextPagePassportFlipBottom"];
|
|
3775
4063
|
|
|
3776
4064
|
return result;
|
|
3777
4065
|
}
|
|
@@ -3785,10 +4073,28 @@ class CustomizationImages {
|
|
|
3785
4073
|
|
|
3786
4074
|
toJson() {
|
|
3787
4075
|
return {
|
|
4076
|
+
"helpAnimation": this.helpAnimation,
|
|
4077
|
+
"livenessAnimation": this.livenessAnimation,
|
|
4078
|
+
"borderBackground": this.borderBackground,
|
|
4079
|
+
"torchButtonOn": this.torchButtonOn,
|
|
4080
|
+
"torchButtonOff": this.torchButtonOff,
|
|
4081
|
+
"captureButton": this.captureButton,
|
|
4082
|
+
"switchButton": this.switchButton,
|
|
4083
|
+
"closeButton": this.closeButton,
|
|
4084
|
+
"multipageButton": this.multipageButton,
|
|
3788
4085
|
"rfidProcessingScreenFailureImage": this.rfidProcessingScreenFailureImage,
|
|
3789
4086
|
"rfidEnableNfcImage": this.rfidEnableNfcImage,
|
|
4087
|
+
"rfidDisableNfcImage": this.rfidDisableNfcImage,
|
|
3790
4088
|
"mdlProcessingScreenFailureImage": this.mdlProcessingScreenFailureImage,
|
|
3791
4089
|
"mdlEnableNfcImage": this.mdlEnableNfcImage,
|
|
4090
|
+
"mdlDisableNfcImage": this.mdlDisableNfcImage,
|
|
4091
|
+
"nextPageIdCardFront": this.nextPageIdCardFront,
|
|
4092
|
+
"nextPageIdCardBack": this.nextPageIdCardBack,
|
|
4093
|
+
"nextPagePassportShift": this.nextPagePassportShift,
|
|
4094
|
+
"nextPagePassportFlipStart": this.nextPagePassportFlipStart,
|
|
4095
|
+
"nextPagePassportFlipClean": this.nextPagePassportFlipClean,
|
|
4096
|
+
"nextPagePassportFlipTop": this.nextPagePassportFlipTop,
|
|
4097
|
+
"nextPagePassportFlipBottom": this.nextPagePassportFlipBottom,
|
|
3792
4098
|
}
|
|
3793
4099
|
}
|
|
3794
4100
|
}
|
|
@@ -3796,53 +4102,142 @@ class CustomizationImages {
|
|
|
3796
4102
|
|
|
3797
4103
|
/***/ },
|
|
3798
4104
|
|
|
3799
|
-
/***/ "./src/params/customization/
|
|
3800
|
-
|
|
3801
|
-
!*** ./src/params/customization/
|
|
3802
|
-
|
|
4105
|
+
/***/ "./src/params/customization/CustomizationMatrices.js"
|
|
4106
|
+
/*!***********************************************************!*\
|
|
4107
|
+
!*** ./src/params/customization/CustomizationMatrices.js ***!
|
|
4108
|
+
\***********************************************************/
|
|
3803
4109
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
3804
4110
|
|
|
3805
4111
|
__webpack_require__.r(__webpack_exports__);
|
|
3806
4112
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3807
|
-
/* harmony export */
|
|
3808
|
-
/* harmony export */ FontStyle: () => (/* binding */ FontStyle)
|
|
4113
|
+
/* harmony export */ CustomizationMatrices: () => (/* binding */ CustomizationMatrices)
|
|
3809
4114
|
/* harmony export */ });
|
|
3810
|
-
|
|
3811
|
-
name
|
|
3812
|
-
size
|
|
3813
|
-
style
|
|
4115
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../index */ "./src/index.js");
|
|
3814
4116
|
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
4117
|
+
|
|
4118
|
+
class CustomizationMatrices {
|
|
4119
|
+
get nextPageIdCardFront() { return this._nextPageIdCardFront; }
|
|
4120
|
+
set nextPageIdCardFront(val) {
|
|
4121
|
+
this._nextPageIdCardFront = val;
|
|
4122
|
+
this._set({ "nextPageIdCardFront": val });
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
get nextPageIdCardBack() { return this._nextPageIdCardBack; }
|
|
4126
|
+
set nextPageIdCardBack(val) {
|
|
4127
|
+
this._nextPageIdCardBack = val;
|
|
4128
|
+
this._set({ "nextPageIdCardBack": val });
|
|
3819
4129
|
}
|
|
3820
4130
|
|
|
3821
4131
|
static fromJson(jsonObject) {
|
|
3822
4132
|
if (jsonObject == null) return null;
|
|
4133
|
+
const result = new CustomizationMatrices();
|
|
3823
4134
|
|
|
3824
|
-
|
|
3825
|
-
result.
|
|
3826
|
-
result.style = jsonObject["style"];
|
|
4135
|
+
result._nextPageIdCardFront = jsonObject["nextPageIdCardFront"];
|
|
4136
|
+
result._nextPageIdCardBack = jsonObject["nextPageIdCardBack"];
|
|
3827
4137
|
|
|
3828
4138
|
return result;
|
|
3829
4139
|
}
|
|
3830
4140
|
|
|
4141
|
+
_apply() { this._set(this); }
|
|
4142
|
+
_set(json) {
|
|
4143
|
+
const parentJson = { "matrices": json };
|
|
4144
|
+
var parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.customization;
|
|
4145
|
+
if (this === parent.matrices) parent._set(parentJson);
|
|
4146
|
+
}
|
|
4147
|
+
|
|
3831
4148
|
toJson() {
|
|
3832
4149
|
return {
|
|
3833
|
-
"
|
|
3834
|
-
"
|
|
3835
|
-
"style": this.style,
|
|
4150
|
+
"nextPageIdCardFront": this.nextPageIdCardFront,
|
|
4151
|
+
"nextPageIdCardBack": this.nextPageIdCardBack,
|
|
3836
4152
|
}
|
|
3837
4153
|
}
|
|
3838
4154
|
}
|
|
3839
4155
|
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
4156
|
+
|
|
4157
|
+
/***/ },
|
|
4158
|
+
|
|
4159
|
+
/***/ "./src/params/customization/CustomizationTimings.js"
|
|
4160
|
+
/*!**********************************************************!*\
|
|
4161
|
+
!*** ./src/params/customization/CustomizationTimings.js ***!
|
|
4162
|
+
\**********************************************************/
|
|
4163
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
4164
|
+
|
|
4165
|
+
__webpack_require__.r(__webpack_exports__);
|
|
4166
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
4167
|
+
/* harmony export */ CustomizationTimings: () => (/* binding */ CustomizationTimings)
|
|
4168
|
+
/* harmony export */ });
|
|
4169
|
+
/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../index */ "./src/index.js");
|
|
4170
|
+
|
|
4171
|
+
|
|
4172
|
+
class CustomizationTimings {
|
|
4173
|
+
get nextPageIdCardStartDelay() { return this._nextPageIdCardStartDelay; }
|
|
4174
|
+
set nextPageIdCardStartDelay(val) {
|
|
4175
|
+
this._nextPageIdCardStartDelay = val;
|
|
4176
|
+
this._set({ "nextPageIdCardStartDelay": val });
|
|
4177
|
+
}
|
|
4178
|
+
|
|
4179
|
+
get nextPageIdCardEndDelay() { return this._nextPageIdCardEndDelay; }
|
|
4180
|
+
set nextPageIdCardEndDelay(val) {
|
|
4181
|
+
this._nextPageIdCardEndDelay = val;
|
|
4182
|
+
this._set({ "nextPageIdCardEndDelay": val });
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
get nextPagePassportShiftStartDelay() { return this._nextPagePassportShiftStartDelay; }
|
|
4186
|
+
set nextPagePassportShiftStartDelay(val) {
|
|
4187
|
+
this._nextPagePassportShiftStartDelay = val;
|
|
4188
|
+
this._set({ "nextPagePassportShiftStartDelay": val });
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
get nextPagePassportShiftEndDelay() { return this._nextPagePassportShiftEndDelay; }
|
|
4192
|
+
set nextPagePassportShiftEndDelay(val) {
|
|
4193
|
+
this._nextPagePassportShiftEndDelay = val;
|
|
4194
|
+
this._set({ "nextPagePassportShiftEndDelay": val });
|
|
4195
|
+
}
|
|
4196
|
+
|
|
4197
|
+
get nextPagePassportFlipStartDelay() { return this._nextPagePassportFlipStartDelay; }
|
|
4198
|
+
set nextPagePassportFlipStartDelay(val) {
|
|
4199
|
+
this._nextPagePassportFlipStartDelay = val;
|
|
4200
|
+
this._set({ "nextPagePassportFlipStartDelay": val });
|
|
4201
|
+
}
|
|
4202
|
+
|
|
4203
|
+
get nextPagePassportFlipEndDelay() { return this._nextPagePassportFlipEndDelay; }
|
|
4204
|
+
set nextPagePassportFlipEndDelay(val) {
|
|
4205
|
+
this._nextPagePassportFlipEndDelay = val;
|
|
4206
|
+
this._set({ "nextPagePassportFlipEndDelay": val });
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4209
|
+
static fromJson(jsonObject) {
|
|
4210
|
+
if (jsonObject == null) return null;
|
|
4211
|
+
const result = new CustomizationTimings();
|
|
4212
|
+
|
|
4213
|
+
result._nextPageIdCardStartDelay = jsonObject["nextPageIdCardStartDelay"];
|
|
4214
|
+
result._nextPageIdCardEndDelay = jsonObject["nextPageIdCardEndDelay"];
|
|
4215
|
+
result._nextPagePassportShiftStartDelay = jsonObject["nextPagePassportShiftStartDelay"];
|
|
4216
|
+
result._nextPagePassportShiftEndDelay = jsonObject["nextPagePassportShiftEndDelay"];
|
|
4217
|
+
result._nextPagePassportFlipStartDelay = jsonObject["nextPagePassportFlipStartDelay"];
|
|
4218
|
+
result._nextPagePassportFlipEndDelay = jsonObject["nextPagePassportFlipEndDelay"];
|
|
4219
|
+
|
|
4220
|
+
return result;
|
|
4221
|
+
}
|
|
4222
|
+
|
|
4223
|
+
_apply() { this._set(this); }
|
|
4224
|
+
_set(json) {
|
|
4225
|
+
const parentJson = { "timings": json };
|
|
4226
|
+
var parent = _index__WEBPACK_IMPORTED_MODULE_0__.DocumentReader.instance.customization;
|
|
4227
|
+
if (this === parent.timings) parent._set(parentJson);
|
|
4228
|
+
}
|
|
4229
|
+
|
|
4230
|
+
toJson() {
|
|
4231
|
+
return {
|
|
4232
|
+
"nextPageIdCardStartDelay": this.nextPageIdCardStartDelay,
|
|
4233
|
+
"nextPageIdCardEndDelay": this.nextPageIdCardEndDelay,
|
|
4234
|
+
"nextPagePassportShiftStartDelay": this.nextPagePassportShiftStartDelay,
|
|
4235
|
+
"nextPagePassportShiftEndDelay": this.nextPagePassportShiftEndDelay,
|
|
4236
|
+
"nextPagePassportFlipStartDelay": this.nextPagePassportFlipStartDelay,
|
|
4237
|
+
"nextPagePassportFlipEndDelay": this.nextPagePassportFlipEndDelay,
|
|
4238
|
+
}
|
|
4239
|
+
}
|
|
4240
|
+
}
|
|
3846
4241
|
|
|
3847
4242
|
|
|
3848
4243
|
/***/ },
|
|
@@ -4028,11 +4423,13 @@ class BackendProcessingConfig {
|
|
|
4028
4423
|
url
|
|
4029
4424
|
httpHeaders
|
|
4030
4425
|
rfidServerSideChipVerification
|
|
4426
|
+
mdlVerification
|
|
4031
4427
|
timeoutConnection
|
|
4032
4428
|
|
|
4033
4429
|
constructor(url, options) {
|
|
4034
4430
|
this.url = url;
|
|
4035
4431
|
this.rfidServerSideChipVerification = options?.rfidServerSideChipVerification;
|
|
4432
|
+
this.mdlVerification = options?.mdlVerification;
|
|
4036
4433
|
this.httpHeaders = options?.httpHeaders;
|
|
4037
4434
|
this.timeoutConnection = options?.timeoutConnection;
|
|
4038
4435
|
}
|
|
@@ -4043,6 +4440,7 @@ class BackendProcessingConfig {
|
|
|
4043
4440
|
const result = new BackendProcessingConfig(jsonObject["url"]);
|
|
4044
4441
|
|
|
4045
4442
|
result.rfidServerSideChipVerification = jsonObject["rfidServerSideChipVerification"];
|
|
4443
|
+
result.mdlVerification = jsonObject["mdlVerification"];
|
|
4046
4444
|
result.httpHeaders = jsonObject["httpHeaders"];
|
|
4047
4445
|
result.timeoutConnection = jsonObject["timeoutConnection"];
|
|
4048
4446
|
|
|
@@ -4053,6 +4451,7 @@ class BackendProcessingConfig {
|
|
|
4053
4451
|
return {
|
|
4054
4452
|
"url": this.url,
|
|
4055
4453
|
"rfidServerSideChipVerification": this.rfidServerSideChipVerification,
|
|
4454
|
+
"mdlVerification": this.mdlVerification,
|
|
4056
4455
|
"httpHeaders": this.httpHeaders,
|
|
4057
4456
|
"timeoutConnection": this.timeoutConnection,
|
|
4058
4457
|
}
|
|
@@ -4749,6 +5148,24 @@ class ProcessParams {
|
|
|
4749
5148
|
this._set({ "checkCaptureProcessIntegrity": val });
|
|
4750
5149
|
}
|
|
4751
5150
|
|
|
5151
|
+
get strictExpiryDate() { return this._strictExpiryDate; }
|
|
5152
|
+
set strictExpiryDate(val) {
|
|
5153
|
+
this._strictExpiryDate = val;
|
|
5154
|
+
this._set({ "strictExpiryDate": val });
|
|
5155
|
+
}
|
|
5156
|
+
|
|
5157
|
+
get debugSaveBinarySession() { return this._debugSaveBinarySession; }
|
|
5158
|
+
set debugSaveBinarySession(val) {
|
|
5159
|
+
this._debugSaveBinarySession = val;
|
|
5160
|
+
this._set({ "debugSaveBinarySession": val });
|
|
5161
|
+
}
|
|
5162
|
+
|
|
5163
|
+
get checkVDS() { return this._checkVDS; }
|
|
5164
|
+
set checkVDS(val) {
|
|
5165
|
+
this._checkVDS = val;
|
|
5166
|
+
this._set({ "checkVDS": val });
|
|
5167
|
+
}
|
|
5168
|
+
|
|
4752
5169
|
get barcodeParserType() { return this._barcodeParserType; }
|
|
4753
5170
|
set barcodeParserType(val) {
|
|
4754
5171
|
this._barcodeParserType = val;
|
|
@@ -5030,6 +5447,9 @@ class ProcessParams {
|
|
|
5030
5447
|
result._strictSecurityChecks = jsonObject["strictSecurityChecks"];
|
|
5031
5448
|
result._returnTransliteratedFields = jsonObject["returnTransliteratedFields"];
|
|
5032
5449
|
result._checkCaptureProcessIntegrity = jsonObject["checkCaptureProcessIntegrity"];
|
|
5450
|
+
result._strictExpiryDate = jsonObject["strictExpiryDate"];
|
|
5451
|
+
result._debugSaveBinarySession = jsonObject["debugSaveBinarySession"];
|
|
5452
|
+
result._checkVDS = jsonObject["checkVDS"];
|
|
5033
5453
|
result._barcodeParserType = jsonObject["barcodeParserType"];
|
|
5034
5454
|
result._perspectiveAngle = jsonObject["perspectiveAngle"];
|
|
5035
5455
|
result._minDPI = jsonObject["minDPI"];
|
|
@@ -5116,6 +5536,9 @@ class ProcessParams {
|
|
|
5116
5536
|
"strictSecurityChecks": this.strictSecurityChecks,
|
|
5117
5537
|
"returnTransliteratedFields": this.returnTransliteratedFields,
|
|
5118
5538
|
"checkCaptureProcessIntegrity": this.checkCaptureProcessIntegrity,
|
|
5539
|
+
"strictExpiryDate": this.strictExpiryDate,
|
|
5540
|
+
"debugSaveBinarySession": this.debugSaveBinarySession,
|
|
5541
|
+
"checkVDS": this.checkVDS,
|
|
5119
5542
|
"measureSystem": this.measureSystem,
|
|
5120
5543
|
"barcodeParserType": this.barcodeParserType,
|
|
5121
5544
|
"perspectiveAngle": this.perspectiveAngle,
|
|
@@ -10782,9 +11205,11 @@ const FieldType = {
|
|
|
10782
11205
|
NATIONALITY_CODE_ALPHA_2: 697,
|
|
10783
11206
|
FIRST_ISSUE_DATE_CHECKDIGIT: 698,
|
|
10784
11207
|
FIRST_ISSUE_DATE_CHECKSUM: 699,
|
|
11208
|
+
EXPIRY_TIMESTAMP: 700,
|
|
10785
11209
|
COMMERCIAL_INDICATOR: 701,
|
|
10786
11210
|
NON_DOMICILED_INDICATOR: 702,
|
|
10787
11211
|
JURISDICTION_SPECIFIC_DATA: 703,
|
|
11212
|
+
DATA_DATE_OF_EXPIRY: 704,
|
|
10788
11213
|
}
|
|
10789
11214
|
|
|
10790
11215
|
FieldType.getTranslation = async function (value) {
|
|
@@ -11977,7 +12402,10 @@ const RFIDNotificationCodes = {
|
|
|
11977
12402
|
PCSC_UPDATING_DATAGROUP: 786432,
|
|
11978
12403
|
AUXILIARY_DATA_VALIDATION: 851968,
|
|
11979
12404
|
RI_SECTOR_ID: 917504,
|
|
11980
|
-
BIOMETRICS_EMPTY_PLACEHOLDER: 983040
|
|
12405
|
+
BIOMETRICS_EMPTY_PLACEHOLDER: 983040,
|
|
12406
|
+
SESSION_FILE_DATA_UPDATED: 1048576,
|
|
12407
|
+
TCC_TA_RESOURCES: 1114112,
|
|
12408
|
+
TCC_TA_SIGNATURE: 1114113,
|
|
11981
12409
|
}
|
|
11982
12410
|
|
|
11983
12411
|
|