@regulaforensics/document-reader 8.2.186-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/RNDocumentReader.podspec +21 -0
- package/android/CVDDocumentReader.kt +74 -0
- package/android/build.gradle +36 -0
- package/android/cordova.gradle +12 -0
- package/android/src/main/java/com/regula/plugin/documentreader/BluetoothUtil.kt +160 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Config.kt +826 -0
- package/android/src/main/java/com/regula/plugin/documentreader/JSONConstructor.kt +1795 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Main.kt +573 -0
- package/android/src/main/java/com/regula/plugin/documentreader/RNDocumentReaderModule.kt +100 -0
- package/android/src/main/java/com/regula/plugin/documentreader/Utils.kt +181 -0
- package/examples/capacitor/README.md +12 -0
- package/examples/capacitor/android/app/build.gradle +50 -0
- package/examples/capacitor/android/app/capacitor.build.gradle +22 -0
- package/examples/capacitor/android/app/proguard-rules.pro +21 -0
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +27 -0
- package/examples/capacitor/android/app/src/main/assets/Regula/.gitkeep +0 -0
- package/examples/capacitor/android/app/src/main/java/com/regula/dr/fullauthrfid/MainActivity.java +5 -0
- package/examples/capacitor/android/app/src/main/res/drawable/ic_launcher.png +0 -0
- package/examples/capacitor/android/app/src/main/res/drawable/splash.png +0 -0
- package/examples/capacitor/android/app/src/main/res/layout/activity_main.xml +12 -0
- package/examples/capacitor/android/app/src/main/res/values/strings.xml +7 -0
- package/examples/capacitor/android/app/src/main/res/values/styles.xml +22 -0
- package/examples/capacitor/android/build.gradle +30 -0
- package/examples/capacitor/android/capacitor.settings.gradle +15 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/examples/capacitor/android/gradle/wrapper/gradle-wrapper.properties +7 -0
- package/examples/capacitor/android/gradle.properties +22 -0
- package/examples/capacitor/android/gradlew +252 -0
- package/examples/capacitor/android/gradlew.bat +94 -0
- package/examples/capacitor/android/settings.gradle +5 -0
- package/examples/capacitor/android/variables.gradle +16 -0
- package/examples/capacitor/index.html +10 -0
- package/examples/capacitor/ionic.config.json +7 -0
- package/examples/capacitor/ios/App/App/App.entitlements +5 -0
- package/examples/capacitor/ios/App/App/AppDelegate.swift +49 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/AppIcon-512@2x.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/AppIcon.appiconset/Contents.json +14 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Contents.json +6 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/Contents.json +23 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-1.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732-2.png +0 -0
- package/examples/capacitor/ios/App/App/Assets.xcassets/Splash.imageset/splash-2732x2732.png +0 -0
- package/examples/capacitor/ios/App/App/Base.lproj/LaunchScreen.storyboard +32 -0
- package/examples/capacitor/ios/App/App/Base.lproj/Main.storyboard +19 -0
- package/examples/capacitor/ios/App/App/Info.plist +53 -0
- package/examples/capacitor/ios/App/App.xcodeproj/project.pbxproj +414 -0
- package/examples/capacitor/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/examples/capacitor/ios/App/App.xcworkspace/contents.xcworkspacedata +10 -0
- package/examples/capacitor/ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/examples/capacitor/ios/App/Podfile +26 -0
- package/examples/capacitor/ios/App/Podfile.lock +56 -0
- package/examples/capacitor/package-lock.json +3467 -0
- package/examples/capacitor/package.json +29 -0
- package/examples/capacitor/public/assets/.gitkeep +0 -0
- package/examples/capacitor/public/images/document.png +0 -0
- package/examples/capacitor/public/images/portrait.png +0 -0
- package/examples/capacitor/scripts/android.sh +9 -0
- package/examples/capacitor/scripts/ios.sh +8 -0
- package/examples/capacitor/scripts/setup.sh +6 -0
- package/examples/capacitor/src/extra/bt_device.tsx +32 -0
- package/examples/capacitor/src/extra/custom_rfid.tsx +74 -0
- package/examples/capacitor/src/main.css +131 -0
- package/examples/capacitor/src/main.html +41 -0
- package/examples/capacitor/src/main.tsx +175 -0
- package/examples/capacitor/tsconfig.json +5 -0
- package/examples/capacitor/vite.config.ts +17 -0
- package/examples/cordova/.vscode/launch.json +28 -0
- package/examples/cordova/.vscode/typings/cordova/cordova.d.ts +80 -0
- package/examples/cordova/README.md +12 -0
- package/examples/cordova/config.xml +29 -0
- package/examples/cordova/package-lock.json +1314 -0
- package/examples/cordova/package.json +32 -0
- package/examples/cordova/scripts/android.sh +8 -0
- package/examples/cordova/scripts/ios.sh +8 -0
- package/examples/cordova/scripts/setup.sh +8 -0
- package/examples/cordova/www/images/document.png +0 -0
- package/examples/cordova/www/images/logo.png +0 -0
- package/examples/cordova/www/images/portrait.png +0 -0
- package/examples/cordova/www/index.html +21 -0
- package/examples/cordova/www/src/main.css +130 -0
- package/examples/cordova/www/src/main.html +63 -0
- package/examples/cordova/www/src/main.js +50 -0
- package/examples/ionic/README.md +12 -0
- package/examples/ionic/angular.json +39 -0
- package/examples/ionic/config.xml +28 -0
- package/examples/ionic/index.html +19 -0
- package/examples/ionic/index.ts +17 -0
- package/examples/ionic/ionic.config.json +7 -0
- package/examples/ionic/package-lock.json +16559 -0
- package/examples/ionic/package.json +47 -0
- package/examples/ionic/scripts/android.sh +8 -0
- package/examples/ionic/scripts/ios.sh +8 -0
- package/examples/ionic/scripts/setup.sh +8 -0
- package/examples/ionic/src/assets/.gitkeep +0 -0
- package/examples/ionic/src/images/document.png +0 -0
- package/examples/ionic/src/images/icon.png +0 -0
- package/examples/ionic/src/images/portrait.png +0 -0
- package/examples/ionic/src/main.css +130 -0
- package/examples/ionic/src/main.html +63 -0
- package/examples/ionic/src/main.ts +66 -0
- package/examples/ionic/tsconfig.json +12 -0
- package/examples/react_native/README.md +12 -0
- package/examples/react_native/app.config.ts +53 -0
- package/examples/react_native/assets/.gitkeep +0 -0
- package/examples/react_native/images/document.png +0 -0
- package/examples/react_native/images/icon/adaptive-icon.png +0 -0
- package/examples/react_native/images/icon/icon.png +0 -0
- package/examples/react_native/images/portrait.png +0 -0
- package/examples/react_native/index.html +11 -0
- package/examples/react_native/index.tsx +52 -0
- package/examples/react_native/metro.config.js +7 -0
- package/examples/react_native/package-lock.json +9254 -0
- package/examples/react_native/package.json +27 -0
- package/examples/react_native/scripts/android.sh +12 -0
- package/examples/react_native/scripts/ios.sh +11 -0
- package/examples/react_native/scripts/setup.sh +8 -0
- package/examples/react_native/src/main.css +130 -0
- package/examples/react_native/src/main.html +63 -0
- package/examples/react_native/src/main.tsx +50 -0
- package/ios/CVDDocumentReader.h +7 -0
- package/ios/CVDDocumentReader.m +39 -0
- package/ios/RGLWConfig.h +42 -0
- package/ios/RGLWConfig.m +1398 -0
- package/ios/RGLWJSONConstructor.h +185 -0
- package/ios/RGLWJSONConstructor.m +2379 -0
- package/ios/RGLWMain.h +36 -0
- package/ios/RGLWMain.m +610 -0
- package/ios/RNDocumentReader.h +8 -0
- package/ios/RNDocumentReader.m +49 -0
- package/package.json +36 -0
- package/plugin.xml +51 -0
- package/www/capacitor/config/InitConfig.js +25 -0
- package/www/capacitor/config/OnlineProcessingConfig.js +41 -0
- package/www/capacitor/config/RFIDConfig.js +31 -0
- package/www/capacitor/config/RecognizeConfig.js +103 -0
- package/www/capacitor/config/ScannerConfig.js +38 -0
- package/www/capacitor/index.js +486 -0
- package/www/capacitor/info/DocReaderException.js +57 -0
- package/www/capacitor/info/DocReaderScenario.js +71 -0
- package/www/capacitor/info/DocReaderVersion.js +23 -0
- package/www/capacitor/info/DocumentsDatabase.js +27 -0
- package/www/capacitor/info/License.js +22 -0
- package/www/capacitor/info/PrepareProgress.js +23 -0
- package/www/capacitor/info/RFIDException.js +19 -0
- package/www/capacitor/internal/bridge.js +98 -0
- package/www/capacitor/internal/cordova.js +17 -0
- package/www/capacitor/params/Functionality.js +303 -0
- package/www/capacitor/params/customization/Customization.js +550 -0
- package/www/capacitor/params/customization/CustomizationColors.js +74 -0
- package/www/capacitor/params/customization/CustomizationFonts.js +40 -0
- package/www/capacitor/params/customization/CustomizationImages.js +25 -0
- package/www/capacitor/params/customization/Font.js +28 -0
- package/www/capacitor/params/process_params/AuthenticityParams.js +129 -0
- package/www/capacitor/params/process_params/BackendProcessingConfig.js +25 -0
- package/www/capacitor/params/process_params/FaceApiParams.js +38 -0
- package/www/capacitor/params/process_params/FaceApiSearchParams.js +21 -0
- package/www/capacitor/params/process_params/GlaresCheckParams.js +18 -0
- package/www/capacitor/params/process_params/ImageQA.js +97 -0
- package/www/capacitor/params/process_params/LivenessParams.js +67 -0
- package/www/capacitor/params/process_params/ProcessParams.js +570 -0
- package/www/capacitor/params/process_params/RfidParams.js +15 -0
- package/www/capacitor/params/rfid_scenario/DTCDataGroups.js +53 -0
- package/www/capacitor/params/rfid_scenario/EDLDataGroups.js +116 -0
- package/www/capacitor/params/rfid_scenario/EIDDataGroups.js +165 -0
- package/www/capacitor/params/rfid_scenario/EPassportDataGroups.js +130 -0
- package/www/capacitor/params/rfid_scenario/RFIDScenario.js +493 -0
- package/www/capacitor/results/DocumentType.js +285 -0
- package/www/capacitor/results/Position.js +60 -0
- package/www/capacitor/results/Results.js +318 -0
- package/www/capacitor/results/TransactionInfo.js +16 -0
- package/www/capacitor/results/authenticity/Authenticity.js +23 -0
- package/www/capacitor/results/authenticity/AuthenticityCheck.js +33 -0
- package/www/capacitor/results/authenticity/AuthenticityElement.js +27 -0
- package/www/capacitor/results/authenticity/AuthenticityResult.js +26 -0
- package/www/capacitor/results/authenticity/CheckDiagnose.js +124 -0
- package/www/capacitor/results/authenticity/SecurityFeatureType.js +59 -0
- package/www/capacitor/results/barcode/BarcodeField.js +24 -0
- package/www/capacitor/results/barcode/BarcodeResult.js +24 -0
- package/www/capacitor/results/barcode/BarcodeStatus.js +33 -0
- package/www/capacitor/results/barcode/BarcodeType.js +21 -0
- package/www/capacitor/results/barcode/PDF417Info.js +16 -0
- package/www/capacitor/results/image_quality/ImageQuality.js +31 -0
- package/www/capacitor/results/image_quality/ImageQualityCheckType.js +19 -0
- package/www/capacitor/results/image_quality/ImageQualityGroup.js +30 -0
- package/www/capacitor/results/rfid/AccessControlProcedureType.js +21 -0
- package/www/capacitor/results/rfid/Application.js +47 -0
- package/www/capacitor/results/rfid/Attribute.js +16 -0
- package/www/capacitor/results/rfid/Authority.js +28 -0
- package/www/capacitor/results/rfid/CardProperties.js +38 -0
- package/www/capacitor/results/rfid/CertificateChain.js +51 -0
- package/www/capacitor/results/rfid/CertificateData.js +14 -0
- package/www/capacitor/results/rfid/DataField.js +16 -0
- package/www/capacitor/results/rfid/Extension.js +14 -0
- package/www/capacitor/results/rfid/File.js +39 -0
- package/www/capacitor/results/rfid/FileData.js +18 -0
- package/www/capacitor/results/rfid/RFIDAccessControlProcedureType.js +10 -0
- package/www/capacitor/results/rfid/RFIDCertificateType.js +13 -0
- package/www/capacitor/results/rfid/RFIDDataFileType.js +98 -0
- package/www/capacitor/results/rfid/RFIDSessionData.js +76 -0
- package/www/capacitor/results/rfid/RFIDValidity.js +16 -0
- package/www/capacitor/results/rfid/RFIDValue.js +20 -0
- package/www/capacitor/results/rfid/SecurityObject.js +31 -0
- package/www/capacitor/results/rfid/SecurityObjectCertificates.js +14 -0
- package/www/capacitor/results/rfid/SignerInfo.js +57 -0
- package/www/capacitor/results/status/CheckResult.js +5 -0
- package/www/capacitor/results/status/OpticalStatus.js +30 -0
- package/www/capacitor/results/status/RFIDStatus.js +26 -0
- package/www/capacitor/results/status/ResultsStatus.js +28 -0
- package/www/capacitor/results/visible_digital_seals/BytesData.js +18 -0
- package/www/capacitor/results/visible_digital_seals/LDSParsingErrorCodes.js +134 -0
- package/www/capacitor/results/visible_digital_seals/LDSParsingNotificationCodes.js +232 -0
- package/www/capacitor/results/visible_digital_seals/VDSNCData.js +40 -0
- package/www/capacitor/results/visual_results/Comparison.js +19 -0
- package/www/capacitor/results/visual_results/FieldType.js +658 -0
- package/www/capacitor/results/visual_results/GraphicField.js +33 -0
- package/www/capacitor/results/visual_results/GraphicFieldType.js +25 -0
- package/www/capacitor/results/visual_results/GraphicResult.js +22 -0
- package/www/capacitor/results/visual_results/LCID.js +174 -0
- package/www/capacitor/results/visual_results/Lights.js +11 -0
- package/www/capacitor/results/visual_results/RFIDOrigin.js +18 -0
- package/www/capacitor/results/visual_results/Rect.js +18 -0
- package/www/capacitor/results/visual_results/Symbol.js +18 -0
- package/www/capacitor/results/visual_results/TextField.js +68 -0
- package/www/capacitor/results/visual_results/TextResult.js +42 -0
- package/www/capacitor/results/visual_results/TextSource.js +19 -0
- package/www/capacitor/results/visual_results/Validity.js +17 -0
- package/www/capacitor/results/visual_results/Value.js +39 -0
- package/www/capacitor/rfid/PAAttribute.js +17 -0
- package/www/capacitor/rfid/PAResourcesIssuer.js +27 -0
- package/www/capacitor/rfid/PKDCertificate.js +54 -0
- package/www/capacitor/rfid/RFIDErrorCodes.js +123 -0
- package/www/capacitor/rfid/RFIDNotification.js +60 -0
- package/www/capacitor/rfid/TAChallenge.js +23 -0
- package/www/capacitor/rfid/TccParams.js +24 -0
- package/www/cordova.js +9816 -0
- package/www/react-native/config/InitConfig.js +25 -0
- package/www/react-native/config/OnlineProcessingConfig.js +41 -0
- package/www/react-native/config/RFIDConfig.js +31 -0
- package/www/react-native/config/RecognizeConfig.js +103 -0
- package/www/react-native/config/ScannerConfig.js +38 -0
- package/www/react-native/index.js +486 -0
- package/www/react-native/info/DocReaderException.js +57 -0
- package/www/react-native/info/DocReaderScenario.js +71 -0
- package/www/react-native/info/DocReaderVersion.js +23 -0
- package/www/react-native/info/DocumentsDatabase.js +27 -0
- package/www/react-native/info/License.js +22 -0
- package/www/react-native/info/PrepareProgress.js +23 -0
- package/www/react-native/info/RFIDException.js +19 -0
- package/www/react-native/internal/bridge.js +98 -0
- package/www/react-native/params/Functionality.js +303 -0
- package/www/react-native/params/customization/Customization.js +550 -0
- package/www/react-native/params/customization/CustomizationColors.js +74 -0
- package/www/react-native/params/customization/CustomizationFonts.js +40 -0
- package/www/react-native/params/customization/CustomizationImages.js +25 -0
- package/www/react-native/params/customization/Font.js +28 -0
- package/www/react-native/params/process_params/AuthenticityParams.js +129 -0
- package/www/react-native/params/process_params/BackendProcessingConfig.js +25 -0
- package/www/react-native/params/process_params/FaceApiParams.js +38 -0
- package/www/react-native/params/process_params/FaceApiSearchParams.js +21 -0
- package/www/react-native/params/process_params/GlaresCheckParams.js +18 -0
- package/www/react-native/params/process_params/ImageQA.js +97 -0
- package/www/react-native/params/process_params/LivenessParams.js +67 -0
- package/www/react-native/params/process_params/ProcessParams.js +570 -0
- package/www/react-native/params/process_params/RfidParams.js +15 -0
- package/www/react-native/params/rfid_scenario/DTCDataGroups.js +53 -0
- package/www/react-native/params/rfid_scenario/EDLDataGroups.js +116 -0
- package/www/react-native/params/rfid_scenario/EIDDataGroups.js +165 -0
- package/www/react-native/params/rfid_scenario/EPassportDataGroups.js +130 -0
- package/www/react-native/params/rfid_scenario/RFIDScenario.js +493 -0
- package/www/react-native/results/DocumentType.js +285 -0
- package/www/react-native/results/Position.js +60 -0
- package/www/react-native/results/Results.js +318 -0
- package/www/react-native/results/TransactionInfo.js +16 -0
- package/www/react-native/results/authenticity/Authenticity.js +23 -0
- package/www/react-native/results/authenticity/AuthenticityCheck.js +33 -0
- package/www/react-native/results/authenticity/AuthenticityElement.js +27 -0
- package/www/react-native/results/authenticity/AuthenticityResult.js +26 -0
- package/www/react-native/results/authenticity/CheckDiagnose.js +124 -0
- package/www/react-native/results/authenticity/SecurityFeatureType.js +59 -0
- package/www/react-native/results/barcode/BarcodeField.js +24 -0
- package/www/react-native/results/barcode/BarcodeResult.js +24 -0
- package/www/react-native/results/barcode/BarcodeStatus.js +33 -0
- package/www/react-native/results/barcode/BarcodeType.js +21 -0
- package/www/react-native/results/barcode/PDF417Info.js +16 -0
- package/www/react-native/results/image_quality/ImageQuality.js +31 -0
- package/www/react-native/results/image_quality/ImageQualityCheckType.js +19 -0
- package/www/react-native/results/image_quality/ImageQualityGroup.js +30 -0
- package/www/react-native/results/rfid/AccessControlProcedureType.js +21 -0
- package/www/react-native/results/rfid/Application.js +47 -0
- package/www/react-native/results/rfid/Attribute.js +16 -0
- package/www/react-native/results/rfid/Authority.js +28 -0
- package/www/react-native/results/rfid/CardProperties.js +38 -0
- package/www/react-native/results/rfid/CertificateChain.js +51 -0
- package/www/react-native/results/rfid/CertificateData.js +14 -0
- package/www/react-native/results/rfid/DataField.js +16 -0
- package/www/react-native/results/rfid/Extension.js +14 -0
- package/www/react-native/results/rfid/File.js +39 -0
- package/www/react-native/results/rfid/FileData.js +18 -0
- package/www/react-native/results/rfid/RFIDAccessControlProcedureType.js +10 -0
- package/www/react-native/results/rfid/RFIDCertificateType.js +13 -0
- package/www/react-native/results/rfid/RFIDDataFileType.js +98 -0
- package/www/react-native/results/rfid/RFIDSessionData.js +76 -0
- package/www/react-native/results/rfid/RFIDValidity.js +16 -0
- package/www/react-native/results/rfid/RFIDValue.js +20 -0
- package/www/react-native/results/rfid/SecurityObject.js +31 -0
- package/www/react-native/results/rfid/SecurityObjectCertificates.js +14 -0
- package/www/react-native/results/rfid/SignerInfo.js +57 -0
- package/www/react-native/results/status/CheckResult.js +5 -0
- package/www/react-native/results/status/OpticalStatus.js +30 -0
- package/www/react-native/results/status/RFIDStatus.js +26 -0
- package/www/react-native/results/status/ResultsStatus.js +28 -0
- package/www/react-native/results/visible_digital_seals/BytesData.js +18 -0
- package/www/react-native/results/visible_digital_seals/LDSParsingErrorCodes.js +134 -0
- package/www/react-native/results/visible_digital_seals/LDSParsingNotificationCodes.js +232 -0
- package/www/react-native/results/visible_digital_seals/VDSNCData.js +40 -0
- package/www/react-native/results/visual_results/Comparison.js +19 -0
- package/www/react-native/results/visual_results/FieldType.js +658 -0
- package/www/react-native/results/visual_results/GraphicField.js +33 -0
- package/www/react-native/results/visual_results/GraphicFieldType.js +25 -0
- package/www/react-native/results/visual_results/GraphicResult.js +22 -0
- package/www/react-native/results/visual_results/LCID.js +174 -0
- package/www/react-native/results/visual_results/Lights.js +11 -0
- package/www/react-native/results/visual_results/RFIDOrigin.js +18 -0
- package/www/react-native/results/visual_results/Rect.js +18 -0
- package/www/react-native/results/visual_results/Symbol.js +18 -0
- package/www/react-native/results/visual_results/TextField.js +68 -0
- package/www/react-native/results/visual_results/TextResult.js +42 -0
- package/www/react-native/results/visual_results/TextSource.js +19 -0
- package/www/react-native/results/visual_results/Validity.js +17 -0
- package/www/react-native/results/visual_results/Value.js +39 -0
- package/www/react-native/rfid/PAAttribute.js +17 -0
- package/www/react-native/rfid/PAResourcesIssuer.js +27 -0
- package/www/react-native/rfid/PKDCertificate.js +54 -0
- package/www/react-native/rfid/RFIDErrorCodes.js +123 -0
- package/www/react-native/rfid/RFIDNotification.js +60 -0
- package/www/react-native/rfid/TAChallenge.js +23 -0
- package/www/react-native/rfid/TccParams.js +24 -0
- package/www/types/config/InitConfig.d.ts +63 -0
- package/www/types/config/OnlineProcessingConfig.d.ts +22 -0
- package/www/types/config/RFIDConfig.d.ts +131 -0
- package/www/types/config/RecognizeConfig.d.ts +119 -0
- package/www/types/config/ScannerConfig.d.ts +54 -0
- package/www/types/index.d.ts +421 -0
- package/www/types/info/DocReaderException.d.ts +79 -0
- package/www/types/info/DocReaderScenario.d.ts +90 -0
- package/www/types/info/DocReaderVersion.d.ts +28 -0
- package/www/types/info/DocumentsDatabase.d.ts +42 -0
- package/www/types/info/License.d.ts +23 -0
- package/www/types/info/PrepareProgress.d.ts +15 -0
- package/www/types/info/RFIDException.d.ts +8 -0
- package/www/types/params/Functionality.d.ts +316 -0
- package/www/types/params/customization/Customization.d.ts +558 -0
- package/www/types/params/customization/CustomizationColors.d.ts +16 -0
- package/www/types/params/customization/CustomizationFonts.d.ts +13 -0
- package/www/types/params/customization/CustomizationImages.d.ts +12 -0
- package/www/types/params/customization/Font.d.ts +36 -0
- package/www/types/params/process_params/AuthenticityParams.d.ts +30 -0
- package/www/types/params/process_params/BackendProcessingConfig.d.ts +25 -0
- package/www/types/params/process_params/FaceApiParams.d.ts +68 -0
- package/www/types/params/process_params/FaceApiSearchParams.d.ts +35 -0
- package/www/types/params/process_params/GlaresCheckParams.d.ts +26 -0
- package/www/types/params/process_params/ImageQA.d.ts +79 -0
- package/www/types/params/process_params/LivenessParams.d.ts +20 -0
- package/www/types/params/process_params/ProcessParams.d.ts +465 -0
- package/www/types/params/process_params/RfidParams.d.ts +19 -0
- package/www/types/params/rfid_scenario/DTCDataGroups.d.ts +13 -0
- package/www/types/params/rfid_scenario/EDLDataGroups.d.ts +22 -0
- package/www/types/params/rfid_scenario/EIDDataGroups.d.ts +29 -0
- package/www/types/params/rfid_scenario/EPassportDataGroups.d.ts +24 -0
- package/www/types/params/rfid_scenario/RFIDScenario.d.ts +167 -0
- package/www/types/results/DocumentType.d.ts +525 -0
- package/www/types/results/Position.d.ts +50 -0
- package/www/types/results/Results.d.ts +283 -0
- package/www/types/results/TransactionInfo.d.ts +9 -0
- package/www/types/results/authenticity/Authenticity.d.ts +67 -0
- package/www/types/results/authenticity/AuthenticityCheck.d.ts +23 -0
- package/www/types/results/authenticity/AuthenticityElement.d.ts +26 -0
- package/www/types/results/authenticity/AuthenticityResult.d.ts +16 -0
- package/www/types/results/authenticity/CheckDiagnose.d.ts +229 -0
- package/www/types/results/authenticity/SecurityFeatureType.d.ts +100 -0
- package/www/types/results/barcode/BarcodeField.d.ts +37 -0
- package/www/types/results/barcode/BarcodeResult.d.ts +14 -0
- package/www/types/results/barcode/BarcodeStatus.d.ts +66 -0
- package/www/types/results/barcode/BarcodeType.d.ts +45 -0
- package/www/types/results/barcode/PDF417Info.d.ts +15 -0
- package/www/types/results/image_quality/ImageQuality.d.ts +18 -0
- package/www/types/results/image_quality/ImageQualityCheckType.d.ts +30 -0
- package/www/types/results/image_quality/ImageQualityGroup.d.ts +17 -0
- package/www/types/results/rfid/AccessControlProcedureType.d.ts +21 -0
- package/www/types/results/rfid/Application.d.ts +44 -0
- package/www/types/results/rfid/Attribute.d.ts +9 -0
- package/www/types/results/rfid/Authority.d.ts +11 -0
- package/www/types/results/rfid/CardProperties.d.ts +48 -0
- package/www/types/results/rfid/CertificateChain.d.ts +28 -0
- package/www/types/results/rfid/CertificateData.d.ts +7 -0
- package/www/types/results/rfid/DataField.d.ts +9 -0
- package/www/types/results/rfid/Extension.d.ts +7 -0
- package/www/types/results/rfid/File.d.ts +22 -0
- package/www/types/results/rfid/FileData.d.ts +9 -0
- package/www/types/results/rfid/RFIDAccessControlProcedureType.d.ts +18 -0
- package/www/types/results/rfid/RFIDCertificateType.d.ts +13 -0
- package/www/types/results/rfid/RFIDDataFileType.d.ts +101 -0
- package/www/types/results/rfid/RFIDSessionData.d.ts +48 -0
- package/www/types/results/rfid/RFIDValidity.d.ts +9 -0
- package/www/types/results/rfid/RFIDValue.d.ts +10 -0
- package/www/types/results/rfid/SecurityObject.d.ts +28 -0
- package/www/types/results/rfid/SecurityObjectCertificates.d.ts +8 -0
- package/www/types/results/rfid/SignerInfo.d.ts +41 -0
- package/www/types/results/status/CheckResult.d.ts +8 -0
- package/www/types/results/status/OpticalStatus.d.ts +29 -0
- package/www/types/results/status/RFIDStatus.d.ts +22 -0
- package/www/types/results/status/ResultsStatus.d.ts +24 -0
- package/www/types/results/visible_digital_seals/BytesData.d.ts +9 -0
- package/www/types/results/visible_digital_seals/LDSParsingErrorCodes.d.ts +132 -0
- package/www/types/results/visible_digital_seals/LDSParsingNotificationCodes.d.ts +230 -0
- package/www/types/results/visible_digital_seals/VDSNCData.d.ts +35 -0
- package/www/types/results/visual_results/Comparison.d.ts +15 -0
- package/www/types/results/visual_results/FieldType.d.ts +1310 -0
- package/www/types/results/visual_results/GraphicField.d.ts +29 -0
- package/www/types/results/visual_results/GraphicFieldType.d.ts +52 -0
- package/www/types/results/visual_results/GraphicResult.d.ts +10 -0
- package/www/types/results/visual_results/LCID.d.ts +173 -0
- package/www/types/results/visual_results/Lights.d.ts +23 -0
- package/www/types/results/visual_results/RFIDOrigin.d.ts +10 -0
- package/www/types/results/visual_results/Rect.d.ts +9 -0
- package/www/types/results/visual_results/Symbol.d.ts +14 -0
- package/www/types/results/visual_results/TextField.d.ts +40 -0
- package/www/types/results/visual_results/TextResult.d.ts +23 -0
- package/www/types/results/visual_results/TextSource.d.ts +15 -0
- package/www/types/results/visual_results/Validity.d.ts +13 -0
- package/www/types/results/visual_results/Value.d.ts +27 -0
- package/www/types/rfid/PAAttribute.d.ts +4 -0
- package/www/types/rfid/PAResourcesIssuer.d.ts +7 -0
- package/www/types/rfid/PKDCertificate.d.ts +34 -0
- package/www/types/rfid/RFIDErrorCodes.d.ts +121 -0
- package/www/types/rfid/RFIDNotification.d.ts +153 -0
- package/www/types/rfid/TAChallenge.d.ts +7 -0
- package/www/types/rfid/TccParams.d.ts +25 -0
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
import { exec } from '../../internal/bridge';
|
|
2
|
+
import { DocumentReader } from '../../index';
|
|
3
|
+
import { CustomizationColors } from './CustomizationColors';
|
|
4
|
+
import { CustomizationFonts } from './CustomizationFonts';
|
|
5
|
+
import { CustomizationImages } from './CustomizationImages';
|
|
6
|
+
import { Font } from './Font';
|
|
7
|
+
|
|
8
|
+
export class Customization {
|
|
9
|
+
get showStatusMessages() { return this._showStatusMessages; }
|
|
10
|
+
set showStatusMessages(val) {
|
|
11
|
+
this._showStatusMessages = val;
|
|
12
|
+
this._set({ "showStatusMessages": val });
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
get showResultStatusMessages() { return this._showResultStatusMessages; }
|
|
16
|
+
set showResultStatusMessages(val) {
|
|
17
|
+
this._showResultStatusMessages = val;
|
|
18
|
+
this._set({ "showResultStatusMessages": val });
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
get showHelpAnimation() { return this._showHelpAnimation; }
|
|
22
|
+
set showHelpAnimation(val) {
|
|
23
|
+
this._showHelpAnimation = val;
|
|
24
|
+
this._set({ "showHelpAnimation": val });
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
get showNextPageAnimation() { return this._showNextPageAnimation; }
|
|
28
|
+
set showNextPageAnimation(val) {
|
|
29
|
+
this._showNextPageAnimation = val;
|
|
30
|
+
this._set({ "showNextPageAnimation": val });
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
get showBackgroundMask() { return this._showBackgroundMask; }
|
|
34
|
+
set showBackgroundMask(val) {
|
|
35
|
+
this._showBackgroundMask = val;
|
|
36
|
+
this._set({ "showBackgroundMask": val });
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
get cameraFrameBorderWidth() { return this._cameraFrameBorderWidth; }
|
|
40
|
+
set cameraFrameBorderWidth(val) {
|
|
41
|
+
this._cameraFrameBorderWidth = val;
|
|
42
|
+
this._set({ "cameraFrameBorderWidth": val });
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
get cameraFrameLineLength() { return this._cameraFrameLineLength; }
|
|
46
|
+
set cameraFrameLineLength(val) {
|
|
47
|
+
this._cameraFrameLineLength = val;
|
|
48
|
+
this._set({ "cameraFrameLineLength": val });
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
get cameraFrameOffsetWidth() { return this._cameraFrameOffsetWidth; }
|
|
52
|
+
set cameraFrameOffsetWidth(val) {
|
|
53
|
+
this._cameraFrameOffsetWidth = val;
|
|
54
|
+
this._set({ "cameraFrameOffsetWidth": val });
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
get cameraFrameShapeType() { return this._cameraFrameShapeType; }
|
|
58
|
+
set cameraFrameShapeType(val) {
|
|
59
|
+
this._cameraFrameShapeType = val;
|
|
60
|
+
this._set({ "cameraFrameShapeType": val });
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
get status() { return this._status; }
|
|
64
|
+
set status(val) {
|
|
65
|
+
this._status = val;
|
|
66
|
+
this._set({ "status": val });
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
get resultStatus() { return this._resultStatus; }
|
|
70
|
+
set resultStatus(val) {
|
|
71
|
+
this._resultStatus = val;
|
|
72
|
+
this._set({ "resultStatus": val });
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
get multipageButtonText() { return this._multipageButtonText; }
|
|
76
|
+
set multipageButtonText(val) {
|
|
77
|
+
this._multipageButtonText = val;
|
|
78
|
+
this._set({ "multipageButtonText": val });
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
get cameraFrameDefaultColor() { return this._cameraFrameDefaultColor; }
|
|
82
|
+
set cameraFrameDefaultColor(val) {
|
|
83
|
+
this._cameraFrameDefaultColor = val;
|
|
84
|
+
this._set({ "cameraFrameDefaultColor": val });
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
get cameraFrameActiveColor() { return this._cameraFrameActiveColor; }
|
|
88
|
+
set cameraFrameActiveColor(val) {
|
|
89
|
+
this._cameraFrameActiveColor = val;
|
|
90
|
+
this._set({ "cameraFrameActiveColor": val });
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
get statusTextColor() { return this._statusTextColor; }
|
|
94
|
+
set statusTextColor(val) {
|
|
95
|
+
this._statusTextColor = val;
|
|
96
|
+
this._set({ "statusTextColor": val });
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
get resultStatusTextColor() { return this._resultStatusTextColor; }
|
|
100
|
+
set resultStatusTextColor(val) {
|
|
101
|
+
this._resultStatusTextColor = val;
|
|
102
|
+
this._set({ "resultStatusTextColor": val });
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
get resultStatusBackgroundColor() { return this._resultStatusBackgroundColor; }
|
|
106
|
+
set resultStatusBackgroundColor(val) {
|
|
107
|
+
this._resultStatusBackgroundColor = val;
|
|
108
|
+
this._set({ "resultStatusBackgroundColor": val });
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
get multipageButtonBackgroundColor() { return this._multipageButtonBackgroundColor; }
|
|
112
|
+
set multipageButtonBackgroundColor(val) {
|
|
113
|
+
this._multipageButtonBackgroundColor = val;
|
|
114
|
+
this._set({ "multipageButtonBackgroundColor": val });
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
get tintColor() { return this._tintColor; }
|
|
118
|
+
set tintColor(val) {
|
|
119
|
+
this._tintColor = val;
|
|
120
|
+
this._set({ "tintColor": val });
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
get activityIndicatorColor() { return this._activityIndicatorColor; }
|
|
124
|
+
set activityIndicatorColor(val) {
|
|
125
|
+
this._activityIndicatorColor = val;
|
|
126
|
+
this._set({ "activityIndicatorColor": val });
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
get statusBackgroundColor() { return this._statusBackgroundColor; }
|
|
130
|
+
set statusBackgroundColor(val) {
|
|
131
|
+
this._statusBackgroundColor = val;
|
|
132
|
+
this._set({ "statusBackgroundColor": val });
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
get cameraPreviewBackgroundColor() { return this._cameraPreviewBackgroundColor; }
|
|
136
|
+
set cameraPreviewBackgroundColor(val) {
|
|
137
|
+
this._cameraPreviewBackgroundColor = val;
|
|
138
|
+
this._set({ "cameraPreviewBackgroundColor": val });
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
get backgroundMaskColor() { return this._backgroundMaskColor; }
|
|
142
|
+
set backgroundMaskColor(val) {
|
|
143
|
+
this._backgroundMaskColor = val;
|
|
144
|
+
this._set({ "backgroundMaskColor": val });
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
get multipageButtonTextColor() { return this._multipageButtonTextColor; }
|
|
148
|
+
set multipageButtonTextColor(val) {
|
|
149
|
+
this._multipageButtonTextColor = val;
|
|
150
|
+
this._set({ "multipageButtonTextColor": val });
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
get statusPositionMultiplier() { return this._statusPositionMultiplier; }
|
|
154
|
+
set statusPositionMultiplier(val) {
|
|
155
|
+
this._statusPositionMultiplier = val;
|
|
156
|
+
this._set({ "statusPositionMultiplier": val });
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
get resultStatusPositionMultiplier() { return this._resultStatusPositionMultiplier; }
|
|
160
|
+
set resultStatusPositionMultiplier(val) {
|
|
161
|
+
this._resultStatusPositionMultiplier = val;
|
|
162
|
+
this._set({ "resultStatusPositionMultiplier": val });
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
get toolbarSize() { return this._toolbarSize; }
|
|
166
|
+
set toolbarSize(val) {
|
|
167
|
+
this._toolbarSize = val;
|
|
168
|
+
this._set({ "toolbarSize": val });
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
get backgroundMaskAlpha() { return this._backgroundMaskAlpha; }
|
|
172
|
+
set backgroundMaskAlpha(val) {
|
|
173
|
+
this._backgroundMaskAlpha = val;
|
|
174
|
+
this._set({ "backgroundMaskAlpha": val });
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
get customStatusPositionMultiplier() { return this._customStatusPositionMultiplier; }
|
|
178
|
+
set customStatusPositionMultiplier(val) {
|
|
179
|
+
this._customStatusPositionMultiplier = val;
|
|
180
|
+
this._set({ "customStatusPositionMultiplier": val });
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
get cameraFrameVerticalPositionMultiplier() { return this._cameraFrameVerticalPositionMultiplier; }
|
|
184
|
+
set cameraFrameVerticalPositionMultiplier(val) {
|
|
185
|
+
this._cameraFrameVerticalPositionMultiplier = val;
|
|
186
|
+
this._set({ "cameraFrameVerticalPositionMultiplier": val });
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
get cameraFrameLandscapeAspectRatio() { return this._cameraFrameLandscapeAspectRatio; }
|
|
190
|
+
set cameraFrameLandscapeAspectRatio(val) {
|
|
191
|
+
this._cameraFrameLandscapeAspectRatio = val;
|
|
192
|
+
this._set({ "cameraFrameLandscapeAspectRatio": val });
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
get cameraFramePortraitAspectRatio() { return this._cameraFramePortraitAspectRatio; }
|
|
196
|
+
set cameraFramePortraitAspectRatio(val) {
|
|
197
|
+
this._cameraFramePortraitAspectRatio = val;
|
|
198
|
+
this._set({ "cameraFramePortraitAspectRatio": val });
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
get cameraFrameCornerRadius() { return this._cameraFrameCornerRadius; }
|
|
202
|
+
set cameraFrameCornerRadius(val) {
|
|
203
|
+
this._cameraFrameCornerRadius = val;
|
|
204
|
+
this._set({ "cameraFrameCornerRadius": val });
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
get livenessAnimationPositionMultiplier() { return this._livenessAnimationPositionMultiplier; }
|
|
208
|
+
set livenessAnimationPositionMultiplier(val) {
|
|
209
|
+
this._livenessAnimationPositionMultiplier = val;
|
|
210
|
+
this._set({ "livenessAnimationPositionMultiplier": val });
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
get nextPageAnimationStartDelay() { return this._nextPageAnimationStartDelay; }
|
|
214
|
+
set nextPageAnimationStartDelay(val) {
|
|
215
|
+
this._nextPageAnimationStartDelay = val;
|
|
216
|
+
this._set({ "nextPageAnimationStartDelay": val });
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
get nextPageAnimationEndDelay() { return this._nextPageAnimationEndDelay; }
|
|
220
|
+
set nextPageAnimationEndDelay(val) {
|
|
221
|
+
this._nextPageAnimationEndDelay = val;
|
|
222
|
+
this._set({ "nextPageAnimationEndDelay": val });
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
get activityIndicatorPortraitPositionMultiplier() { return this._activityIndicatorPortraitPositionMultiplier; }
|
|
226
|
+
set activityIndicatorPortraitPositionMultiplier(val) {
|
|
227
|
+
this._activityIndicatorPortraitPositionMultiplier = val;
|
|
228
|
+
this._set({ "activityIndicatorPortraitPositionMultiplier": val });
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
get activityIndicatorLandscapePositionMultiplier() { return this._activityIndicatorLandscapePositionMultiplier; }
|
|
232
|
+
set activityIndicatorLandscapePositionMultiplier(val) {
|
|
233
|
+
this._activityIndicatorLandscapePositionMultiplier = val;
|
|
234
|
+
this._set({ "activityIndicatorLandscapePositionMultiplier": val });
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
get cameraPreviewVerticalPositionMultiplier() { return this._cameraPreviewVerticalPositionMultiplier; }
|
|
238
|
+
set cameraPreviewVerticalPositionMultiplier(val) {
|
|
239
|
+
this._cameraPreviewVerticalPositionMultiplier = val;
|
|
240
|
+
this._set({ "cameraPreviewVerticalPositionMultiplier": val });
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
get multipageAnimationFrontImage() { return this._multipageAnimationFrontImage; }
|
|
244
|
+
set multipageAnimationFrontImage(val) {
|
|
245
|
+
this._multipageAnimationFrontImage = val;
|
|
246
|
+
this._set({ "multipageAnimationFrontImage": val });
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
get multipageAnimationBackImage() { return this._multipageAnimationBackImage; }
|
|
250
|
+
set multipageAnimationBackImage(val) {
|
|
251
|
+
this._multipageAnimationBackImage = val;
|
|
252
|
+
this._set({ "multipageAnimationBackImage": val });
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
get borderBackgroundImage() { return this._borderBackgroundImage; }
|
|
256
|
+
set borderBackgroundImage(val) {
|
|
257
|
+
this._borderBackgroundImage = val;
|
|
258
|
+
this._set({ "borderBackgroundImage": val });
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
get helpAnimationImage() { return this._helpAnimationImage; }
|
|
262
|
+
set helpAnimationImage(val) {
|
|
263
|
+
this._helpAnimationImage = val;
|
|
264
|
+
this._set({ "helpAnimationImage": val });
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
get closeButtonImage() { return this._closeButtonImage; }
|
|
268
|
+
set closeButtonImage(val) {
|
|
269
|
+
this._closeButtonImage = val;
|
|
270
|
+
this._set({ "closeButtonImage": val });
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
get captureButtonImage() { return this._captureButtonImage; }
|
|
274
|
+
set captureButtonImage(val) {
|
|
275
|
+
this._captureButtonImage = val;
|
|
276
|
+
this._set({ "captureButtonImage": val });
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
get cameraSwitchButtonImage() { return this._cameraSwitchButtonImage; }
|
|
280
|
+
set cameraSwitchButtonImage(val) {
|
|
281
|
+
this._cameraSwitchButtonImage = val;
|
|
282
|
+
this._set({ "cameraSwitchButtonImage": val });
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
get torchButtonOnImage() { return this._torchButtonOnImage; }
|
|
286
|
+
set torchButtonOnImage(val) {
|
|
287
|
+
this._torchButtonOnImage = val;
|
|
288
|
+
this._set({ "torchButtonOnImage": val });
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
get torchButtonOffImage() { return this._torchButtonOffImage; }
|
|
292
|
+
set torchButtonOffImage(val) {
|
|
293
|
+
this._torchButtonOffImage = val;
|
|
294
|
+
this._set({ "torchButtonOffImage": val });
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
get changeFrameButtonExpandImage() { return this._changeFrameButtonExpandImage; }
|
|
298
|
+
set changeFrameButtonExpandImage(val) {
|
|
299
|
+
this._changeFrameButtonExpandImage = val;
|
|
300
|
+
this._set({ "changeFrameButtonExpandImage": val });
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
get changeFrameButtonCollapseImage() { return this._changeFrameButtonCollapseImage; }
|
|
304
|
+
set changeFrameButtonCollapseImage(val) {
|
|
305
|
+
this._changeFrameButtonCollapseImage = val;
|
|
306
|
+
this._set({ "changeFrameButtonCollapseImage": val });
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
get livenessAnimationImage() { return this._livenessAnimationImage; }
|
|
310
|
+
set livenessAnimationImage(val) {
|
|
311
|
+
this._livenessAnimationImage = val;
|
|
312
|
+
this._set({ "livenessAnimationImage": val });
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
get statusTextFont() { return this._statusTextFont; }
|
|
316
|
+
set statusTextFont(val) {
|
|
317
|
+
this._statusTextFont = val;
|
|
318
|
+
this._set({ "statusTextFont": val });
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
get resultStatusTextFont() { return this._resultStatusTextFont; }
|
|
322
|
+
set resultStatusTextFont(val) {
|
|
323
|
+
this._resultStatusTextFont = val;
|
|
324
|
+
this._set({ "resultStatusTextFont": val });
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
get multipageButtonTextFont() { return this._multipageButtonTextFont; }
|
|
328
|
+
set multipageButtonTextFont(val) {
|
|
329
|
+
this._multipageButtonTextFont = val;
|
|
330
|
+
this._set({ "multipageButtonTextFont": val });
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
get customLabelStatus() { return this._customLabelStatus; }
|
|
334
|
+
set customLabelStatus(val) {
|
|
335
|
+
this._customLabelStatus = val;
|
|
336
|
+
this._set({ "customLabelStatus": val });
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
get cameraFrameLineCap() { return this._cameraFrameLineCap; }
|
|
340
|
+
set cameraFrameLineCap(val) {
|
|
341
|
+
this._cameraFrameLineCap = val;
|
|
342
|
+
this._set({ "cameraFrameLineCap": val });
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
get uiCustomizationLayer() { return this._uiCustomizationLayer; }
|
|
346
|
+
set uiCustomizationLayer(val) {
|
|
347
|
+
this._uiCustomizationLayer = val;
|
|
348
|
+
this._set({ "uiCustomizationLayer": val });
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
get helpAnimationImageTransformsIOS() { return this._helpAnimationImageTransformsIOS; }
|
|
352
|
+
set helpAnimationImageTransformsIOS(val) {
|
|
353
|
+
this._helpAnimationImageTransformsIOS = val;
|
|
354
|
+
this._set({ "helpAnimationImageContentMode": val });
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
get multipageAnimationFrontImageTransformsIOS() { return this._multipageAnimationFrontImageTransformsIOS; }
|
|
358
|
+
set multipageAnimationFrontImageTransformsIOS(val) {
|
|
359
|
+
this._multipageAnimationFrontImageTransformsIOS = val;
|
|
360
|
+
this._set({ "multipageAnimationFrontImageContentMode": val });
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
get multipageAnimationBackImageTransformsIOS() { return this._multipageAnimationBackImageTransformsIOS; }
|
|
364
|
+
set multipageAnimationBackImageTransformsIOS(val) {
|
|
365
|
+
this._multipageAnimationBackImageTransformsIOS = val;
|
|
366
|
+
this._set({ "multipageAnimationBackImageContentMode": val });
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
get livenessAnimationImageTransformsIOS() { return this._livenessAnimationImageTransformsIOS; }
|
|
370
|
+
set livenessAnimationImageTransformsIOS(val) {
|
|
371
|
+
this._livenessAnimationImageTransformsIOS = val;
|
|
372
|
+
this._set({ "livenessAnimationImageContentMode": val });
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
get borderBackgroundImageTransformsIOS() { return this._borderBackgroundImageTransformsIOS; }
|
|
376
|
+
set borderBackgroundImageTransformsIOS(val) {
|
|
377
|
+
this._borderBackgroundImageTransformsIOS = val;
|
|
378
|
+
this._set({ "borderBackgroundImageContentMode": val });
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
get helpAnimationImageTransformsAndroid() { return this._helpAnimationImageTransformsAndroid; }
|
|
382
|
+
set helpAnimationImageTransformsAndroid(val) {
|
|
383
|
+
this._helpAnimationImageTransformsAndroid = val;
|
|
384
|
+
this._set({ "helpAnimationImageMatrix": val });
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
get multipageAnimationFrontImageTransformsAndroid() { return this._multipageAnimationFrontImageTransformsAndroid; }
|
|
388
|
+
set multipageAnimationFrontImageTransformsAndroid(val) {
|
|
389
|
+
this._multipageAnimationFrontImageTransformsAndroid = val;
|
|
390
|
+
this._set({ "multipageAnimationFrontImageMatrix": val });
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
get multipageAnimationBackImageTransformsAndroid() { return this._multipageAnimationBackImageTransformsAndroid; }
|
|
394
|
+
set multipageAnimationBackImageTransformsAndroid(val) {
|
|
395
|
+
this._multipageAnimationBackImageTransformsAndroid = val;
|
|
396
|
+
this._set({ "multipageAnimationBackImageMatrix": val });
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
get livenessAnimationImageTransformsAndroid() { return this._livenessAnimationImageTransformsAndroid; }
|
|
400
|
+
set livenessAnimationImageTransformsAndroid(val) {
|
|
401
|
+
this._livenessAnimationImageTransformsAndroid = val;
|
|
402
|
+
this._set({ "livenessAnimationImageMatrix": val });
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
get borderBackgroundImageTransformsAndroid() { return this._borderBackgroundImageTransformsAndroid; }
|
|
406
|
+
set borderBackgroundImageTransformsAndroid(val) {
|
|
407
|
+
this._borderBackgroundImageTransformsAndroid = val;
|
|
408
|
+
this._set({ "borderBackgroundImageMatrix": val });
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
get colors() { return this._colors; }
|
|
412
|
+
set colors(val) {
|
|
413
|
+
this._colors = val;
|
|
414
|
+
val._apply(this);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
get fonts() { return this._fonts; }
|
|
418
|
+
set fonts(val) {
|
|
419
|
+
this._fonts = val;
|
|
420
|
+
val._apply(this);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
get images() { return this._images; }
|
|
424
|
+
set images(val) {
|
|
425
|
+
this._images = val;
|
|
426
|
+
val._apply(this);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
static fromJson(jsonObject) {
|
|
430
|
+
if (jsonObject == null) return null;
|
|
431
|
+
|
|
432
|
+
const result = new Customization();
|
|
433
|
+
|
|
434
|
+
result._showStatusMessages = jsonObject["showStatusMessages"];
|
|
435
|
+
result._showResultStatusMessages = jsonObject["showResultStatusMessages"];
|
|
436
|
+
result._showHelpAnimation = jsonObject["showHelpAnimation"];
|
|
437
|
+
result._showNextPageAnimation = jsonObject["showNextPageAnimation"];
|
|
438
|
+
result._showBackgroundMask = jsonObject["showBackgroundMask"];
|
|
439
|
+
result._cameraFrameBorderWidth = jsonObject["cameraFrameBorderWidth"];
|
|
440
|
+
result._cameraFrameLineLength = jsonObject["cameraFrameLineLength"];
|
|
441
|
+
result._cameraFrameShapeType = jsonObject["cameraFrameShapeType"];
|
|
442
|
+
result._cameraFrameOffsetWidth = jsonObject["cameraFrameOffsetWidth"];
|
|
443
|
+
result._status = jsonObject["status"];
|
|
444
|
+
result._resultStatus = jsonObject["resultStatus"];
|
|
445
|
+
result._multipageButtonText = jsonObject["multipageButtonText"];
|
|
446
|
+
result._cameraFrameDefaultColor = jsonObject["cameraFrameDefaultColor"];
|
|
447
|
+
result._cameraFrameActiveColor = jsonObject["cameraFrameActiveColor"];
|
|
448
|
+
result._statusTextColor = jsonObject["statusTextColor"];
|
|
449
|
+
result._resultStatusTextColor = jsonObject["resultStatusTextColor"];
|
|
450
|
+
result._resultStatusBackgroundColor = jsonObject["resultStatusBackgroundColor"];
|
|
451
|
+
result._multipageButtonBackgroundColor = jsonObject["multipageButtonBackgroundColor"];
|
|
452
|
+
result._tintColor = jsonObject["tintColor"];
|
|
453
|
+
result._activityIndicatorColor = jsonObject["activityIndicatorColor"];
|
|
454
|
+
result._statusBackgroundColor = jsonObject["statusBackgroundColor"];
|
|
455
|
+
result._cameraPreviewBackgroundColor = jsonObject["cameraPreviewBackgroundColor"];
|
|
456
|
+
result._backgroundMaskColor = jsonObject["backgroundMaskColor"];
|
|
457
|
+
result._multipageButtonTextColor = jsonObject["multipageButtonTextColor"];
|
|
458
|
+
result._statusPositionMultiplier = jsonObject["statusPositionMultiplier"];
|
|
459
|
+
result._resultStatusPositionMultiplier = jsonObject["resultStatusPositionMultiplier"];
|
|
460
|
+
result._toolbarSize = jsonObject["toolbarSize"];
|
|
461
|
+
result._backgroundMaskAlpha = jsonObject["backgroundMaskAlpha"];
|
|
462
|
+
result._customStatusPositionMultiplier = jsonObject["customStatusPositionMultiplier"];
|
|
463
|
+
result._cameraFrameVerticalPositionMultiplier = jsonObject["cameraFrameVerticalPositionMultiplier"];
|
|
464
|
+
result._cameraFrameLandscapeAspectRatio = jsonObject["cameraFrameLandscapeAspectRatio"];
|
|
465
|
+
result._cameraFrameCornerRadius = jsonObject["cameraFrameCornerRadius"];
|
|
466
|
+
result._cameraFramePortraitAspectRatio = jsonObject["cameraFramePortraitAspectRatio"];
|
|
467
|
+
result._livenessAnimationPositionMultiplier = jsonObject["livenessAnimationPositionMultiplier"];
|
|
468
|
+
result._nextPageAnimationStartDelay = jsonObject["nextPageAnimationStartDelay"];
|
|
469
|
+
result._nextPageAnimationEndDelay = jsonObject["nextPageAnimationEndDelay"];
|
|
470
|
+
result._activityIndicatorPortraitPositionMultiplier = jsonObject["activityIndicatorPortraitPositionMultiplier"];
|
|
471
|
+
result._activityIndicatorLandscapePositionMultiplier = jsonObject["activityIndicatorLandscapePositionMultiplier"];
|
|
472
|
+
result._cameraPreviewVerticalPositionMultiplier = jsonObject["cameraPreviewVerticalPositionMultiplier"];
|
|
473
|
+
result._multipageAnimationFrontImage = jsonObject["multipageAnimationFrontImage"];
|
|
474
|
+
result._multipageAnimationBackImage = jsonObject["multipageAnimationBackImage"];
|
|
475
|
+
result._borderBackgroundImage = jsonObject["borderBackgroundImage"];
|
|
476
|
+
result._helpAnimationImage = jsonObject["helpAnimationImage"];
|
|
477
|
+
result._closeButtonImage = jsonObject["closeButtonImage"];
|
|
478
|
+
result._captureButtonImage = jsonObject["captureButtonImage"];
|
|
479
|
+
result._cameraSwitchButtonImage = jsonObject["cameraSwitchButtonImage"];
|
|
480
|
+
result._torchButtonOnImage = jsonObject["torchButtonOnImage"];
|
|
481
|
+
result._torchButtonOffImage = jsonObject["torchButtonOffImage"];
|
|
482
|
+
result._changeFrameButtonExpandImage = jsonObject["changeFrameButtonExpandImage"];
|
|
483
|
+
result._changeFrameButtonCollapseImage = jsonObject["changeFrameButtonCollapseImage"];
|
|
484
|
+
result._livenessAnimationImage = jsonObject["livenessAnimationImage"];
|
|
485
|
+
result._customLabelStatus = jsonObject["customLabelStatus"];
|
|
486
|
+
result._cameraFrameLineCap = jsonObject["cameraFrameLineCap"];
|
|
487
|
+
result._uiCustomizationLayer = jsonObject["uiCustomizationLayer"];
|
|
488
|
+
result._statusTextFont = Font.fromJson(jsonObject["statusTextFont"]);
|
|
489
|
+
result._resultStatusTextFont = Font.fromJson(jsonObject["resultStatusTextFont"]);
|
|
490
|
+
result._multipageButtonTextFont = Font.fromJson(jsonObject["multipageButtonTextFont"]);
|
|
491
|
+
result._helpAnimationImageTransformsIOS = jsonObject["helpAnimationImageContentMode"];
|
|
492
|
+
result._multipageAnimationFrontImageTransformsIOS = jsonObject["multipageAnimationFrontImageContentMode"];
|
|
493
|
+
result._multipageAnimationBackImageTransformsIOS = jsonObject["multipageAnimationBackImageContentMode"];
|
|
494
|
+
result._livenessAnimationImageTransformsIOS = jsonObject["livenessAnimationImageContentMode"];
|
|
495
|
+
result._borderBackgroundImageTransformsIOS = jsonObject["borderBackgroundImageContentMode"];
|
|
496
|
+
result._helpAnimationImageTransformsAndroid = jsonObject["helpAnimationImageMatrix"];
|
|
497
|
+
result._multipageAnimationFrontImageTransformsAndroid = jsonObject["multipageAnimationFrontImageMatrix"];
|
|
498
|
+
result._multipageAnimationBackImageTransformsAndroid = jsonObject["multipageAnimationBackImageMatrix"];
|
|
499
|
+
result._livenessAnimationImageTransformsAndroid = jsonObject["livenessAnimationImageMatrix"];
|
|
500
|
+
result._borderBackgroundImageTransformsAndroid = jsonObject["borderBackgroundImageMatrix"];
|
|
501
|
+
|
|
502
|
+
result._colors = CustomizationColors.fromJson(jsonObject["colors"]);
|
|
503
|
+
result._fonts = CustomizationFonts.fromJson(jsonObject["fonts"]);
|
|
504
|
+
result._images = CustomizationImages.fromJson(jsonObject["images"]);
|
|
505
|
+
|
|
506
|
+
return result;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
_apply() { this._set(this); }
|
|
510
|
+
_set(json) {
|
|
511
|
+
if (this === DocumentReader.instance.customization)
|
|
512
|
+
exec("setCustomization", [json]);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export const Cap = {
|
|
517
|
+
BUTT: 0,
|
|
518
|
+
ROUND: 1,
|
|
519
|
+
SQUARE: 2
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
export const FrameShapeType = {
|
|
523
|
+
LINE: 0,
|
|
524
|
+
CORNER: 1
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
export const ViewContentMode = {
|
|
528
|
+
SCALE_TO_FILL: 0,
|
|
529
|
+
SCALE_ASPECT_FIT: 1,
|
|
530
|
+
SCALE_ASPECT_FILL: 2,
|
|
531
|
+
REDRAW: 3,
|
|
532
|
+
CENTER: 4,
|
|
533
|
+
TOP: 5,
|
|
534
|
+
BOTTOM: 6,
|
|
535
|
+
LEFT: 7,
|
|
536
|
+
RIGHT: 8,
|
|
537
|
+
TOP_LEFT: 9,
|
|
538
|
+
TOP_RIGHT: 10,
|
|
539
|
+
BOTTOM_LEFT: 11,
|
|
540
|
+
BOTTOM_RIGHT: 12
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
export const CustomButtonTag = {
|
|
544
|
+
CLOSE: 1001,
|
|
545
|
+
TORCH: 1002,
|
|
546
|
+
CAPTURE: 1003,
|
|
547
|
+
CHANGE_FRAME: 1004,
|
|
548
|
+
SKIP: 1005,
|
|
549
|
+
CAMERA_SWITCH: 1006
|
|
550
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { DocumentReader } from '../../index';
|
|
2
|
+
|
|
3
|
+
export class CustomizationColors {
|
|
4
|
+
get rfidProcessingScreenBackground() { return this._rfidProcessingScreenBackground; }
|
|
5
|
+
set rfidProcessingScreenBackground(val) {
|
|
6
|
+
this._rfidProcessingScreenBackground = val;
|
|
7
|
+
this._set({ "rfidProcessingScreenBackground": val });
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
get rfidProcessingScreenHintLabelText() { return this._rfidProcessingScreenHintLabelText; }
|
|
11
|
+
set rfidProcessingScreenHintLabelText(val) {
|
|
12
|
+
this._rfidProcessingScreenHintLabelText = val;
|
|
13
|
+
this._set({ "rfidProcessingScreenHintLabelText": val });
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
get rfidProcessingScreenHintLabelBackground() { return this._rfidProcessingScreenHintLabelBackground; }
|
|
17
|
+
set rfidProcessingScreenHintLabelBackground(val) {
|
|
18
|
+
this._rfidProcessingScreenHintLabelBackground = val;
|
|
19
|
+
this._set({ "rfidProcessingScreenHintLabelBackground": val });
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
get rfidProcessingScreenProgressLabelText() { return this._rfidProcessingScreenProgressLabelText; }
|
|
23
|
+
set rfidProcessingScreenProgressLabelText(val) {
|
|
24
|
+
this._rfidProcessingScreenProgressLabelText = val;
|
|
25
|
+
this._set({ "rfidProcessingScreenProgressLabelText": val });
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
get rfidProcessingScreenProgressBar() { return this._rfidProcessingScreenProgressBar; }
|
|
29
|
+
set rfidProcessingScreenProgressBar(val) {
|
|
30
|
+
this._rfidProcessingScreenProgressBar = val;
|
|
31
|
+
this._set({ "rfidProcessingScreenProgressBar": val });
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
get rfidProcessingScreenProgressBarBackground() { return this._rfidProcessingScreenProgressBarBackground; }
|
|
35
|
+
set rfidProcessingScreenProgressBarBackground(val) {
|
|
36
|
+
this._rfidProcessingScreenProgressBarBackground = val;
|
|
37
|
+
this._set({ "rfidProcessingScreenProgressBarBackground": val });
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
get rfidProcessingScreenResultLabelText() { return this._rfidProcessingScreenResultLabelText; }
|
|
41
|
+
set rfidProcessingScreenResultLabelText(val) {
|
|
42
|
+
this._rfidProcessingScreenResultLabelText = val;
|
|
43
|
+
this._set({ "rfidProcessingScreenResultLabelText": val });
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
get rfidProcessingScreenLoadingBar() { return this._rfidProcessingScreenLoadingBar; }
|
|
47
|
+
set rfidProcessingScreenLoadingBar(val) {
|
|
48
|
+
this._rfidProcessingScreenLoadingBar = val;
|
|
49
|
+
this._set({ "rfidProcessingScreenLoadingBar": val });
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
static fromJson(jsonObject) {
|
|
53
|
+
if (jsonObject == null) return null;
|
|
54
|
+
|
|
55
|
+
const result = new CustomizationColors();
|
|
56
|
+
result._rfidProcessingScreenBackground = jsonObject["rfidProcessingScreenBackground"];
|
|
57
|
+
result._rfidProcessingScreenHintLabelText = jsonObject["rfidProcessingScreenHintLabelText"];
|
|
58
|
+
result._rfidProcessingScreenHintLabelBackground = jsonObject["rfidProcessingScreenHintLabelBackground"];
|
|
59
|
+
result._rfidProcessingScreenProgressLabelText = jsonObject["rfidProcessingScreenProgressLabelText"];
|
|
60
|
+
result._rfidProcessingScreenProgressBar = jsonObject["rfidProcessingScreenProgressBar"];
|
|
61
|
+
result._rfidProcessingScreenProgressBarBackground = jsonObject["rfidProcessingScreenProgressBarBackground"];
|
|
62
|
+
result._rfidProcessingScreenResultLabelText = jsonObject["rfidProcessingScreenResultLabelText"];
|
|
63
|
+
result._rfidProcessingScreenLoadingBar = jsonObject["rfidProcessingScreenLoadingBar"];
|
|
64
|
+
|
|
65
|
+
return result;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
_apply() { this._set(this); }
|
|
69
|
+
_set(json) {
|
|
70
|
+
const parentJson = { "colors": json };
|
|
71
|
+
var parent = DocumentReader.instance.customization;
|
|
72
|
+
if (this === parent.colors) parent._set(parentJson);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DocumentReader } from '../../index';
|
|
2
|
+
import { Font } from './Font';
|
|
3
|
+
|
|
4
|
+
export class CustomizationFonts {
|
|
5
|
+
get rfidProcessingScreenHintLabel() { return this._rfidProcessingScreenHintLabel; }
|
|
6
|
+
set rfidProcessingScreenHintLabel(val) {
|
|
7
|
+
this._rfidProcessingScreenHintLabel = val;
|
|
8
|
+
this._set({ "rfidProcessingScreenHintLabel": val });
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
get rfidProcessingScreenProgressLabel() { return this._rfidProcessingScreenProgressLabel; }
|
|
12
|
+
set rfidProcessingScreenProgressLabel(val) {
|
|
13
|
+
this._rfidProcessingScreenProgressLabel = val;
|
|
14
|
+
this._set({ "rfidProcessingScreenProgressLabel": val });
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
get rfidProcessingScreenResultLabel() { return this._rfidProcessingScreenResultLabel; }
|
|
18
|
+
set rfidProcessingScreenResultLabel(val) {
|
|
19
|
+
this._rfidProcessingScreenResultLabel = val;
|
|
20
|
+
this._set({ "rfidProcessingScreenResultLabel": val });
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static fromJson(jsonObject) {
|
|
24
|
+
if (jsonObject == null) return null;
|
|
25
|
+
|
|
26
|
+
const result = new CustomizationFonts();
|
|
27
|
+
result._rfidProcessingScreenHintLabel = Font.fromJson(jsonObject["rfidProcessingScreenHintLabel"]);
|
|
28
|
+
result._rfidProcessingScreenProgressLabel = Font.fromJson(jsonObject["rfidProcessingScreenProgressLabel"]);
|
|
29
|
+
result._rfidProcessingScreenResultLabel = Font.fromJson(jsonObject["rfidProcessingScreenResultLabel"]);
|
|
30
|
+
|
|
31
|
+
return result;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
_apply() { this._set(this); }
|
|
35
|
+
_set(json) {
|
|
36
|
+
const parentJson = { "fonts": json };
|
|
37
|
+
var parent = DocumentReader.instance.customization;
|
|
38
|
+
if (this === parent.fonts) parent._set(parentJson);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DocumentReader } from '../../index';
|
|
2
|
+
|
|
3
|
+
export class CustomizationImages {
|
|
4
|
+
get rfidProcessingScreenFailureImage() { return this._rfidProcessingScreenFailureImage; }
|
|
5
|
+
set rfidProcessingScreenFailureImage(val) {
|
|
6
|
+
this._rfidProcessingScreenFailureImage = val;
|
|
7
|
+
this._set({ "rfidProcessingScreenFailureImage": val });
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
static fromJson(jsonObject) {
|
|
11
|
+
if (jsonObject == null) return null;
|
|
12
|
+
|
|
13
|
+
const result = new CustomizationImages();
|
|
14
|
+
result._rfidProcessingScreenFailureImage = jsonObject["rfidProcessingScreenFailureImage"];
|
|
15
|
+
|
|
16
|
+
return result;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
_apply() { this._set(this); }
|
|
20
|
+
_set(json) {
|
|
21
|
+
const parentJson = { "images": json };
|
|
22
|
+
var parent = DocumentReader.instance.customization;
|
|
23
|
+
if (this === parent.images) parent._set(parentJson);
|
|
24
|
+
}
|
|
25
|
+
}
|