@regulaforensics/face-sdk 7.2.429-beta → 7.2.433-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/README.md +3 -2
- package/RNFaceSDK.podspec +2 -2
- package/android/build.gradle +2 -2
- package/android/cordova.gradle +2 -2
- package/android/src/main/java/com/regula/plugin/facesdk/JSONConstructor.kt +0 -2
- package/android/src/main/java/com/regula/plugin/facesdk/Main.kt +0 -18
- package/examples/capacitor/android/app/src/main/AndroidManifest.xml +2 -2
- package/examples/capacitor/index.html +7 -2
- package/examples/capacitor/package-lock.json +162 -12
- package/examples/capacitor/package.json +4 -4
- package/examples/capacitor/scripts/setup.sh +2 -4
- package/examples/capacitor/src/main.css +6 -60
- package/examples/capacitor/src/main.html +1 -1
- package/examples/capacitor/src/main.tsx +87 -51
- package/examples/cordova/.vscode/launch.json +28 -0
- package/examples/cordova/README.md +25 -0
- package/examples/cordova/config.xml +26 -0
- package/examples/cordova/package-lock.json +1327 -0
- package/examples/cordova/package.json +30 -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/logo.png +0 -0
- package/examples/cordova/www/index.html +21 -0
- package/examples/cordova/www/src/main.css +83 -0
- package/examples/cordova/www/src/main.html +25 -0
- package/examples/cordova/www/src/main.js +152 -0
- package/examples/ionic/README.md +1 -1
- package/examples/ionic/angular.json +3 -3
- package/examples/ionic/config.xml +2 -4
- package/examples/ionic/index.ts +17 -0
- package/examples/ionic/package-lock.json +68 -42
- package/examples/ionic/package.json +2 -2
- package/examples/ionic/src/images/portrait.png +0 -0
- package/examples/ionic/src/main.css +6 -60
- package/examples/ionic/src/main.html +1 -1
- package/examples/ionic/src/{main.tsx → main.ts} +97 -52
- package/examples/ionic/tsconfig.json +2 -3
- package/examples/react_native/README.md +0 -1
- package/examples/react_native/app.config.ts +1 -1
- package/examples/react_native/index.tsx +7 -49
- package/examples/react_native/package-lock.json +597 -594
- package/examples/react_native/package.json +9 -9
- package/examples/react_native/src/main.css +6 -60
- package/examples/react_native/src/main.html +1 -1
- package/examples/react_native/src/main.tsx +77 -54
- package/ios/RFSWJSONConstructor.h +1 -0
- package/ios/RFSWJSONConstructor.m +14 -5
- package/ios/RFSWMain.m +0 -30
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/www/capacitor/customization/customization_fonts.js +1 -1
- package/www/capacitor/customization/customization_images.js +1 -1
- package/www/capacitor/customization/font.js +0 -8
- package/www/capacitor/detect_faces/detect_face_result.js +0 -12
- package/www/capacitor/detect_faces/detect_faces_attribute_result.js +0 -9
- package/www/capacitor/detect_faces/detect_faces_backend_exception.js +0 -7
- package/www/capacitor/detect_faces/detect_faces_config.js +0 -34
- package/www/capacitor/detect_faces/detect_faces_exception.js +0 -8
- package/www/capacitor/detect_faces/detect_faces_request.js +0 -22
- package/www/capacitor/detect_faces/detect_faces_response.js +0 -9
- package/www/capacitor/face_capture/face_capture_config.js +0 -37
- package/www/capacitor/face_capture/face_capture_exception.js +0 -7
- package/www/capacitor/face_capture/face_capture_image.js +0 -8
- package/www/capacitor/face_capture/face_capture_response.js +0 -7
- package/www/capacitor/image_params/output_image_crop.js +0 -23
- package/www/capacitor/image_params/output_image_params.js +0 -19
- package/www/capacitor/image_params/point.js +0 -7
- package/www/capacitor/image_params/rect.js +0 -9
- package/www/capacitor/image_params/size.js +0 -12
- package/www/capacitor/image_quality/image_quality_characteristic.js +0 -22
- package/www/capacitor/image_quality/image_quality_range.js +0 -7
- package/www/capacitor/image_quality/image_quality_result.js +0 -10
- package/www/capacitor/index.js +0 -48
- package/www/capacitor/init/face_sdk_version.js +0 -8
- package/www/capacitor/init/init_config.js +0 -19
- package/www/capacitor/init/init_exception.js +0 -8
- package/www/capacitor/init/license_exception.js +0 -7
- package/www/capacitor/internal/bridge.js +1 -20
- package/www/capacitor/liveness/liveness_backend_exception.js +0 -7
- package/www/capacitor/liveness/liveness_config.js +0 -43
- package/www/capacitor/liveness/liveness_exception.js +0 -8
- package/www/capacitor/liveness/liveness_notification.js +0 -7
- package/www/capacitor/liveness/liveness_response.js +0 -11
- package/www/capacitor/match_faces/compared_face.js +0 -9
- package/www/capacitor/match_faces/compared_faces_pair.js +0 -10
- package/www/capacitor/match_faces/compared_faces_split.js +0 -7
- package/www/capacitor/match_faces/match_faces_backend_exception.js +0 -7
- package/www/capacitor/match_faces/match_faces_config.js +0 -19
- package/www/capacitor/match_faces/match_faces_detection.js +0 -9
- package/www/capacitor/match_faces/match_faces_detection_face.js +0 -11
- package/www/capacitor/match_faces/match_faces_exception.js +0 -8
- package/www/capacitor/match_faces/match_faces_image.js +0 -9
- package/www/capacitor/match_faces/match_faces_request.js +0 -27
- package/www/capacitor/match_faces/match_faces_response.js +0 -9
- package/www/capacitor/person_database/edit_group_persons_request.js +0 -15
- package/www/capacitor/person_database/image_upload.js +0 -17
- package/www/capacitor/person_database/pageable_item_list.js +0 -8
- package/www/capacitor/person_database/person.js +0 -13
- package/www/capacitor/person_database/person_group.js +0 -11
- package/www/capacitor/person_database/person_image.js +0 -13
- package/www/capacitor/person_database/search_person.js +0 -14
- package/www/capacitor/person_database/search_person_detection.js +0 -9
- package/www/capacitor/person_database/search_person_image.js +0 -15
- package/www/capacitor/person_database/search_person_request.js +0 -29
- package/www/cordova.js +6 -753
- package/www/react-native/customization/customization_fonts.js +1 -1
- package/www/react-native/customization/customization_images.js +1 -1
- package/www/react-native/customization/font.js +0 -8
- package/www/react-native/detect_faces/detect_face_result.js +0 -12
- package/www/react-native/detect_faces/detect_faces_attribute_result.js +0 -9
- package/www/react-native/detect_faces/detect_faces_backend_exception.js +0 -7
- package/www/react-native/detect_faces/detect_faces_config.js +0 -34
- package/www/react-native/detect_faces/detect_faces_exception.js +0 -8
- package/www/react-native/detect_faces/detect_faces_request.js +0 -22
- package/www/react-native/detect_faces/detect_faces_response.js +0 -9
- package/www/react-native/face_capture/face_capture_config.js +0 -37
- package/www/react-native/face_capture/face_capture_exception.js +0 -7
- package/www/react-native/face_capture/face_capture_image.js +0 -8
- package/www/react-native/face_capture/face_capture_response.js +0 -7
- package/www/react-native/image_params/output_image_crop.js +0 -23
- package/www/react-native/image_params/output_image_params.js +0 -19
- package/www/react-native/image_params/point.js +0 -7
- package/www/react-native/image_params/rect.js +0 -9
- package/www/react-native/image_params/size.js +0 -12
- package/www/react-native/image_quality/image_quality_characteristic.js +0 -22
- package/www/react-native/image_quality/image_quality_range.js +0 -7
- package/www/react-native/image_quality/image_quality_result.js +0 -10
- package/www/react-native/index.js +0 -48
- package/www/react-native/init/face_sdk_version.js +0 -8
- package/www/react-native/init/init_config.js +0 -19
- package/www/react-native/init/init_exception.js +0 -8
- package/www/react-native/init/license_exception.js +0 -7
- package/www/react-native/internal/bridge.js +1 -20
- package/www/react-native/liveness/liveness_backend_exception.js +0 -7
- package/www/react-native/liveness/liveness_config.js +0 -43
- package/www/react-native/liveness/liveness_exception.js +0 -8
- package/www/react-native/liveness/liveness_notification.js +0 -7
- package/www/react-native/liveness/liveness_response.js +0 -11
- package/www/react-native/match_faces/compared_face.js +0 -9
- package/www/react-native/match_faces/compared_faces_pair.js +0 -10
- package/www/react-native/match_faces/compared_faces_split.js +0 -7
- package/www/react-native/match_faces/match_faces_backend_exception.js +0 -7
- package/www/react-native/match_faces/match_faces_config.js +0 -19
- package/www/react-native/match_faces/match_faces_detection.js +0 -9
- package/www/react-native/match_faces/match_faces_detection_face.js +0 -11
- package/www/react-native/match_faces/match_faces_exception.js +0 -8
- package/www/react-native/match_faces/match_faces_image.js +0 -9
- package/www/react-native/match_faces/match_faces_request.js +0 -27
- package/www/react-native/match_faces/match_faces_response.js +0 -9
- package/www/react-native/person_database/edit_group_persons_request.js +0 -15
- package/www/react-native/person_database/image_upload.js +0 -17
- package/www/react-native/person_database/pageable_item_list.js +0 -8
- package/www/react-native/person_database/person.js +0 -13
- package/www/react-native/person_database/person_group.js +0 -11
- package/www/react-native/person_database/person_image.js +0 -13
- package/www/react-native/person_database/search_person.js +0 -14
- package/www/react-native/person_database/search_person_detection.js +0 -9
- package/www/react-native/person_database/search_person_image.js +0 -15
- package/www/react-native/person_database/search_person_request.js +0 -29
- package/www/types/index.d.ts +0 -12
- package/www/types/match_faces/match_faces_config.d.ts +0 -2
- package/www/types/person_database/search_person_request.d.ts +0 -4
- package/examples/capacitor/index.tsx +0 -53
- package/examples/ionic/index.tsx +0 -68
- package/test/json.tsx +0 -375
- package/test/package-lock.json +0 -584
- package/test/package.json +0 -9
- package/test/test.tsx +0 -61
- package/test/utils.tsx +0 -38
- /package/examples/{ionic → cordova/www}/images/portrait.png +0 -0
- /package/examples/ionic/{assets → src/assets}/.gitkeep +0 -0
- /package/examples/ionic/{images → src/images}/icon.png +0 -0
package/README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# Regula Face SDK plugin
|
|
2
2
|
Face SDK is a framework that is used for face matching, recognition and liveness detection.
|
|
3
|
-
This plugin makes possible to use it with react-native, cordova and
|
|
3
|
+
This plugin makes possible to use it with react-native, cordova and ionic applications.
|
|
4
4
|
|
|
5
5
|
## Demo applications
|
|
6
|
-
In the [examples](examples/) folder you can find
|
|
6
|
+
In the [examples](examples/) folder you can find 4 demo applications:
|
|
7
7
|
* [React-native](examples/react_native)
|
|
8
|
+
* [Cordova](examples/cordova)
|
|
8
9
|
* [Ionic(ionic app with cordova, angular)](examples/ionic)
|
|
9
10
|
* [Capacitor(ionic app with capacitor, react)](examples/capacitor)
|
|
10
11
|
|
package/RNFaceSDK.podspec
CHANGED
|
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
|
|
|
5
5
|
|
|
6
6
|
Pod::Spec.new do |s|
|
|
7
7
|
s.name = 'RNFaceSDK'
|
|
8
|
-
s.version = '7.2.
|
|
8
|
+
s.version = '7.2.433-rc'
|
|
9
9
|
s.summary = package['description']
|
|
10
10
|
s.license = package['license']
|
|
11
11
|
|
|
@@ -16,6 +16,6 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.ios.deployment_target = '13.0'
|
|
17
17
|
s.source_files = 'ios/**/*.{h,m}'
|
|
18
18
|
s.exclude_files = [ 'ios/CVDFaceSDK.h', 'ios/CVDFaceSDK.m' ]
|
|
19
|
-
s.dependency '
|
|
19
|
+
s.dependency 'FaceSDKStage', '7.2.3038'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -32,7 +32,7 @@ android {
|
|
|
32
32
|
rootProject.allprojects {
|
|
33
33
|
repositories {
|
|
34
34
|
maven {
|
|
35
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader"
|
|
35
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -41,7 +41,7 @@ dependencies {
|
|
|
41
41
|
//noinspection GradleDynamicVersion
|
|
42
42
|
implementation 'com.facebook.react:react-native:+'
|
|
43
43
|
//noinspection GradleDependency
|
|
44
|
-
implementation('com.regula.face:api:7.
|
|
44
|
+
implementation('com.regula.face:api:7.2.3966'){
|
|
45
45
|
transitive = true
|
|
46
46
|
}
|
|
47
47
|
}
|
package/android/cordova.gradle
CHANGED
|
@@ -6,13 +6,13 @@ android {
|
|
|
6
6
|
|
|
7
7
|
repositories {
|
|
8
8
|
maven {
|
|
9
|
-
url "https://maven.regulaforensics.com/RegulaDocumentReader"
|
|
9
|
+
url "https://maven.regulaforensics.com/RegulaDocumentReader/Stage"
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
dependencies {
|
|
14
14
|
//noinspection GradleDependency
|
|
15
|
-
implementation('com.regula.face:api:7.
|
|
15
|
+
implementation('com.regula.face:api:7.2.3966'){
|
|
16
16
|
transitive = true
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -833,7 +833,6 @@ fun searchPersonRequestFromJSON(it: JSONObject) = object : SearchPersonRequest()
|
|
|
833
833
|
groupIdsForSearch = it.getJSONArrayOrNull("groupIdsForSearch").toArray()
|
|
834
834
|
threshold = it.getDoubleOrNull("threshold")?.toFloat()
|
|
835
835
|
limit = it.getIntOrNull("limit")
|
|
836
|
-
tag = it.getStringOrNull("tag")
|
|
837
836
|
imageUpload = imageUploadFromJSON(it.getJSONObjectOrNull("imageUpload"))
|
|
838
837
|
isDetectAll = it.optBoolean("detectAll", false)
|
|
839
838
|
outputImageParams = outputImageParamsFromJSON(it.getJSONObjectOrNull("outputImageParams"))
|
|
@@ -844,7 +843,6 @@ fun generateSearchPersonRequest(it: SearchPersonRequest) = mapOf(
|
|
|
844
843
|
"groupIdsForSearch" to it.groupIdsForSearch.toJson(),
|
|
845
844
|
"threshold" to it.threshold,
|
|
846
845
|
"limit" to it.limit,
|
|
847
|
-
"tag" to it.tag,
|
|
848
846
|
"imageUpload" to generateImageUpload(it.imageUpload),
|
|
849
847
|
"detectAll" to it.isDetectAll,
|
|
850
848
|
"outputImageParams" to generateOutputImageParams(it.outputImageParams)
|
|
@@ -30,12 +30,6 @@ fun methodCall(method: String, callback: (Any?) -> Unit): Any = when (method) {
|
|
|
30
30
|
"getVersion" -> getVersion(callback)
|
|
31
31
|
"getServiceUrl" -> getServiceUrl(callback)
|
|
32
32
|
"setServiceUrl" -> setServiceUrl(argsNullable(0))
|
|
33
|
-
"getTenant" -> getTenant(callback)
|
|
34
|
-
"setTenant" -> setTenant(argsNullable(0))
|
|
35
|
-
"getEnv" -> getEnv(callback)
|
|
36
|
-
"setEnv" -> setEnv(argsNullable(0))
|
|
37
|
-
"getLocale" -> getLocale(callback)
|
|
38
|
-
"setLocale" -> setLocale(argsNullable(0))
|
|
39
33
|
"setLocalizationDictionary" -> setLocalizationDictionary(args(0))
|
|
40
34
|
"setRequestHeaders" -> setRequestHeaders(args(0))
|
|
41
35
|
"setCustomization" -> setCustomization(args(0))
|
|
@@ -87,18 +81,6 @@ fun getServiceUrl(callback: Callback) = callback(Instance().serviceUrl)
|
|
|
87
81
|
|
|
88
82
|
fun setServiceUrl(url: String?) = url.let { Instance().serviceUrl = it }
|
|
89
83
|
|
|
90
|
-
fun getTenant(callback: Callback) = callback(Instance().tenant)
|
|
91
|
-
|
|
92
|
-
fun setTenant(tag: String?) = tag.let { Instance().tenant = it }
|
|
93
|
-
|
|
94
|
-
fun getEnv(callback: Callback) = callback(Instance().env)
|
|
95
|
-
|
|
96
|
-
fun setEnv(tag: String?) = tag.let { Instance().env = it }
|
|
97
|
-
|
|
98
|
-
fun getLocale(callback: Callback) = callback(Instance().locale)
|
|
99
|
-
|
|
100
|
-
fun setLocale(locale: String?) = locale.let { Instance().locale = it }
|
|
101
|
-
|
|
102
84
|
fun setLocalizationDictionary(dictionary: JSONObject) {
|
|
103
85
|
localizationCallbacks = LocalizationCallbacks { if (dictionary.has(it)) dictionary.getString(it) else null }
|
|
104
86
|
Instance().setLocalizationCallback(localizationCallbacks!!)
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<action android:name="android.intent.action.MAIN" />
|
|
19
19
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
20
20
|
</intent-filter>
|
|
21
|
+
|
|
21
22
|
</activity>
|
|
22
23
|
</application>
|
|
23
|
-
|
|
24
24
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
25
|
-
</manifest>
|
|
25
|
+
</manifest>
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
|
2
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
3
|
+
|
|
2
4
|
<div id="content" style="height: 100%"></div>
|
|
3
5
|
|
|
4
|
-
<script
|
|
5
|
-
|
|
6
|
+
<script>
|
|
7
|
+
fetch("main.html")
|
|
8
|
+
.then(response => response.text())
|
|
9
|
+
.then(html => document.getElementById("content").innerHTML = html)
|
|
10
|
+
</script>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@vitejs/plugin-react": "4.3.4",
|
|
23
23
|
"cordova-plugin-camera": "8.0.0",
|
|
24
24
|
"cordova-plugin-file": "8.1.3",
|
|
25
|
-
"vite-plugin-static-copy": "3.1
|
|
25
|
+
"vite-plugin-static-copy": "2.3.1"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@ampproject/remapping": {
|
|
@@ -1169,6 +1169,41 @@
|
|
|
1169
1169
|
"@jridgewell/sourcemap-codec": "^1.4.14"
|
|
1170
1170
|
}
|
|
1171
1171
|
},
|
|
1172
|
+
"node_modules/@nodelib/fs.scandir": {
|
|
1173
|
+
"version": "2.1.5",
|
|
1174
|
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
|
|
1175
|
+
"integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
|
|
1176
|
+
"license": "MIT",
|
|
1177
|
+
"dependencies": {
|
|
1178
|
+
"@nodelib/fs.stat": "2.0.5",
|
|
1179
|
+
"run-parallel": "^1.1.9"
|
|
1180
|
+
},
|
|
1181
|
+
"engines": {
|
|
1182
|
+
"node": ">= 8"
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
"node_modules/@nodelib/fs.stat": {
|
|
1186
|
+
"version": "2.0.5",
|
|
1187
|
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
|
|
1188
|
+
"integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
|
|
1189
|
+
"license": "MIT",
|
|
1190
|
+
"engines": {
|
|
1191
|
+
"node": ">= 8"
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
"node_modules/@nodelib/fs.walk": {
|
|
1195
|
+
"version": "1.2.8",
|
|
1196
|
+
"resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
|
|
1197
|
+
"integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
|
|
1198
|
+
"license": "MIT",
|
|
1199
|
+
"dependencies": {
|
|
1200
|
+
"@nodelib/fs.scandir": "2.1.5",
|
|
1201
|
+
"fastq": "^1.6.0"
|
|
1202
|
+
},
|
|
1203
|
+
"engines": {
|
|
1204
|
+
"node": ">= 8"
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1172
1207
|
"node_modules/@regulaforensics/face-core-basic": {
|
|
1173
1208
|
"version": "7.1.178",
|
|
1174
1209
|
"resolved": "https://registry.npmjs.org/@regulaforensics/face-core-basic/-/face-core-basic-7.1.178.tgz",
|
|
@@ -2092,6 +2127,31 @@
|
|
|
2092
2127
|
"node": ">=6"
|
|
2093
2128
|
}
|
|
2094
2129
|
},
|
|
2130
|
+
"node_modules/fast-glob": {
|
|
2131
|
+
"version": "3.3.3",
|
|
2132
|
+
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
|
|
2133
|
+
"integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
|
|
2134
|
+
"license": "MIT",
|
|
2135
|
+
"dependencies": {
|
|
2136
|
+
"@nodelib/fs.stat": "^2.0.2",
|
|
2137
|
+
"@nodelib/fs.walk": "^1.2.3",
|
|
2138
|
+
"glob-parent": "^5.1.2",
|
|
2139
|
+
"merge2": "^1.3.0",
|
|
2140
|
+
"micromatch": "^4.0.8"
|
|
2141
|
+
},
|
|
2142
|
+
"engines": {
|
|
2143
|
+
"node": ">=8.6.0"
|
|
2144
|
+
}
|
|
2145
|
+
},
|
|
2146
|
+
"node_modules/fastq": {
|
|
2147
|
+
"version": "1.19.1",
|
|
2148
|
+
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
|
|
2149
|
+
"integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
|
|
2150
|
+
"license": "ISC",
|
|
2151
|
+
"dependencies": {
|
|
2152
|
+
"reusify": "^1.0.4"
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2095
2155
|
"node_modules/fd-slicer": {
|
|
2096
2156
|
"version": "1.1.0",
|
|
2097
2157
|
"resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
|
|
@@ -2106,6 +2166,7 @@
|
|
|
2106
2166
|
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz",
|
|
2107
2167
|
"integrity": "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==",
|
|
2108
2168
|
"license": "MIT",
|
|
2169
|
+
"peer": true,
|
|
2109
2170
|
"peerDependencies": {
|
|
2110
2171
|
"picomatch": "^3 || ^4"
|
|
2111
2172
|
},
|
|
@@ -2455,6 +2516,40 @@
|
|
|
2455
2516
|
"yallist": "^3.0.2"
|
|
2456
2517
|
}
|
|
2457
2518
|
},
|
|
2519
|
+
"node_modules/merge2": {
|
|
2520
|
+
"version": "1.4.1",
|
|
2521
|
+
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
|
2522
|
+
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
|
|
2523
|
+
"license": "MIT",
|
|
2524
|
+
"engines": {
|
|
2525
|
+
"node": ">= 8"
|
|
2526
|
+
}
|
|
2527
|
+
},
|
|
2528
|
+
"node_modules/micromatch": {
|
|
2529
|
+
"version": "4.0.8",
|
|
2530
|
+
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",
|
|
2531
|
+
"integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
|
|
2532
|
+
"license": "MIT",
|
|
2533
|
+
"dependencies": {
|
|
2534
|
+
"braces": "^3.0.3",
|
|
2535
|
+
"picomatch": "^2.3.1"
|
|
2536
|
+
},
|
|
2537
|
+
"engines": {
|
|
2538
|
+
"node": ">=8.6"
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
"node_modules/micromatch/node_modules/picomatch": {
|
|
2542
|
+
"version": "2.3.1",
|
|
2543
|
+
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
|
2544
|
+
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
|
2545
|
+
"license": "MIT",
|
|
2546
|
+
"engines": {
|
|
2547
|
+
"node": ">=8.6"
|
|
2548
|
+
},
|
|
2549
|
+
"funding": {
|
|
2550
|
+
"url": "https://github.com/sponsors/jonschlinkert"
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2458
2553
|
"node_modules/minimatch": {
|
|
2459
2554
|
"version": "10.0.1",
|
|
2460
2555
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz",
|
|
@@ -2673,6 +2768,7 @@
|
|
|
2673
2768
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
|
|
2674
2769
|
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
|
|
2675
2770
|
"license": "MIT",
|
|
2771
|
+
"peer": true,
|
|
2676
2772
|
"engines": {
|
|
2677
2773
|
"node": ">=12"
|
|
2678
2774
|
},
|
|
@@ -2745,6 +2841,26 @@
|
|
|
2745
2841
|
"node": ">=6"
|
|
2746
2842
|
}
|
|
2747
2843
|
},
|
|
2844
|
+
"node_modules/queue-microtask": {
|
|
2845
|
+
"version": "1.2.3",
|
|
2846
|
+
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
|
|
2847
|
+
"integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
|
|
2848
|
+
"funding": [
|
|
2849
|
+
{
|
|
2850
|
+
"type": "github",
|
|
2851
|
+
"url": "https://github.com/sponsors/feross"
|
|
2852
|
+
},
|
|
2853
|
+
{
|
|
2854
|
+
"type": "patreon",
|
|
2855
|
+
"url": "https://www.patreon.com/feross"
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"type": "consulting",
|
|
2859
|
+
"url": "https://feross.org/support"
|
|
2860
|
+
}
|
|
2861
|
+
],
|
|
2862
|
+
"license": "MIT"
|
|
2863
|
+
},
|
|
2748
2864
|
"node_modules/react": {
|
|
2749
2865
|
"version": "19.1.0",
|
|
2750
2866
|
"resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz",
|
|
@@ -2815,6 +2931,16 @@
|
|
|
2815
2931
|
"url": "https://github.com/sponsors/jonschlinkert"
|
|
2816
2932
|
}
|
|
2817
2933
|
},
|
|
2934
|
+
"node_modules/reusify": {
|
|
2935
|
+
"version": "1.1.0",
|
|
2936
|
+
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
|
|
2937
|
+
"integrity": "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==",
|
|
2938
|
+
"license": "MIT",
|
|
2939
|
+
"engines": {
|
|
2940
|
+
"iojs": ">=1.0.0",
|
|
2941
|
+
"node": ">=0.10.0"
|
|
2942
|
+
}
|
|
2943
|
+
},
|
|
2818
2944
|
"node_modules/rimraf": {
|
|
2819
2945
|
"version": "6.0.1",
|
|
2820
2946
|
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz",
|
|
@@ -2874,6 +3000,29 @@
|
|
|
2874
3000
|
"fsevents": "~2.3.2"
|
|
2875
3001
|
}
|
|
2876
3002
|
},
|
|
3003
|
+
"node_modules/run-parallel": {
|
|
3004
|
+
"version": "1.2.0",
|
|
3005
|
+
"resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
|
|
3006
|
+
"integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
|
|
3007
|
+
"funding": [
|
|
3008
|
+
{
|
|
3009
|
+
"type": "github",
|
|
3010
|
+
"url": "https://github.com/sponsors/feross"
|
|
3011
|
+
},
|
|
3012
|
+
{
|
|
3013
|
+
"type": "patreon",
|
|
3014
|
+
"url": "https://www.patreon.com/feross"
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"type": "consulting",
|
|
3018
|
+
"url": "https://feross.org/support"
|
|
3019
|
+
}
|
|
3020
|
+
],
|
|
3021
|
+
"license": "MIT",
|
|
3022
|
+
"dependencies": {
|
|
3023
|
+
"queue-microtask": "^1.2.2"
|
|
3024
|
+
}
|
|
3025
|
+
},
|
|
2877
3026
|
"node_modules/rxjs": {
|
|
2878
3027
|
"version": "7.8.2",
|
|
2879
3028
|
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz",
|
|
@@ -3103,10 +3252,11 @@
|
|
|
3103
3252
|
}
|
|
3104
3253
|
},
|
|
3105
3254
|
"node_modules/tinyglobby": {
|
|
3106
|
-
"version": "0.2.
|
|
3107
|
-
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.
|
|
3108
|
-
"integrity": "sha512-
|
|
3255
|
+
"version": "0.2.13",
|
|
3256
|
+
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.13.tgz",
|
|
3257
|
+
"integrity": "sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==",
|
|
3109
3258
|
"license": "MIT",
|
|
3259
|
+
"peer": true,
|
|
3110
3260
|
"dependencies": {
|
|
3111
3261
|
"fdir": "^6.4.4",
|
|
3112
3262
|
"picomatch": "^4.0.2"
|
|
@@ -3281,22 +3431,22 @@
|
|
|
3281
3431
|
}
|
|
3282
3432
|
},
|
|
3283
3433
|
"node_modules/vite-plugin-static-copy": {
|
|
3284
|
-
"version": "3.1
|
|
3285
|
-
"resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-3.1.
|
|
3286
|
-
"integrity": "sha512-
|
|
3434
|
+
"version": "2.3.1",
|
|
3435
|
+
"resolved": "https://registry.npmjs.org/vite-plugin-static-copy/-/vite-plugin-static-copy-2.3.1.tgz",
|
|
3436
|
+
"integrity": "sha512-EfsPcBm3ewg3UMG8RJaC0ADq6/qnUZnokXx4By4+2cAcipjT9i0Y0owIJGqmZI7d6nxk4qB1q5aXOwNuSyPdyA==",
|
|
3287
3437
|
"license": "MIT",
|
|
3288
3438
|
"dependencies": {
|
|
3289
|
-
"chokidar": "^3.
|
|
3290
|
-
"
|
|
3439
|
+
"chokidar": "^3.5.3",
|
|
3440
|
+
"fast-glob": "^3.2.11",
|
|
3441
|
+
"fs-extra": "^11.1.0",
|
|
3291
3442
|
"p-map": "^7.0.3",
|
|
3292
|
-
"picocolors": "^1.
|
|
3293
|
-
"tinyglobby": "^0.2.14"
|
|
3443
|
+
"picocolors": "^1.0.0"
|
|
3294
3444
|
},
|
|
3295
3445
|
"engines": {
|
|
3296
3446
|
"node": "^18.0.0 || >=20.0.0"
|
|
3297
3447
|
},
|
|
3298
3448
|
"peerDependencies": {
|
|
3299
|
-
"vite": "^5.0.0 || ^6.0.0
|
|
3449
|
+
"vite": "^5.0.0 || ^6.0.0"
|
|
3300
3450
|
}
|
|
3301
3451
|
},
|
|
3302
3452
|
"node_modules/which": {
|
|
@@ -6,22 +6,22 @@
|
|
|
6
6
|
"android": "scripts/android.sh"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@regulaforensics/face-sdk": "7.2.
|
|
10
|
-
"@regulaforensics/face-core-basic": "7.
|
|
9
|
+
"@regulaforensics/face-sdk": "7.2.433-rc",
|
|
10
|
+
"@regulaforensics/face-core-basic": "7.2.250-rc",
|
|
11
11
|
"@awesome-cordova-plugins/file": "6.6.0",
|
|
12
12
|
"@awesome-cordova-plugins/camera": "6.6.0",
|
|
13
13
|
"cordova-plugin-file": "8.1.3",
|
|
14
14
|
"cordova-plugin-camera": "8.0.0",
|
|
15
|
+
"@capacitor/dialog": "7.0.1",
|
|
15
16
|
"@capacitor/cli": "7.0.1",
|
|
16
17
|
"@capacitor/core": "7.0.1",
|
|
17
18
|
"@capacitor/app": "7.0.0",
|
|
18
19
|
"@capacitor/ios": "7.0.1",
|
|
19
20
|
"@capacitor/android": "7.0.1",
|
|
20
21
|
"@capacitor/status-bar": "7.0.0",
|
|
21
|
-
"@capacitor/dialog": "7.0.1",
|
|
22
22
|
"@ionic/react": "8.4.3",
|
|
23
23
|
"@vitejs/plugin-react": "4.3.4",
|
|
24
|
-
"vite-plugin-static-copy": "3.1
|
|
24
|
+
"vite-plugin-static-copy": "2.3.1",
|
|
25
25
|
"@types/react-router-dom": "5.3.3"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
html,
|
|
2
2
|
body {
|
|
3
|
-
|
|
4
|
-
width: 100%;
|
|
3
|
+
width: 99%;
|
|
5
4
|
height: 99vh;
|
|
6
5
|
display: flex;
|
|
7
|
-
overflow: hidden;
|
|
8
6
|
flex-direction: column;
|
|
9
7
|
}
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
-
|
|
15
|
-
-webkit-user-drag: none !important;
|
|
16
|
-
-webkit-touch-callout: none !important;
|
|
9
|
+
.page {
|
|
10
|
+
height: 100%;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
17
13
|
}
|
|
18
14
|
|
|
19
15
|
.column {
|
|
@@ -56,14 +52,10 @@ body {
|
|
|
56
52
|
margin-top: 13px;
|
|
57
53
|
}
|
|
58
54
|
|
|
59
|
-
.scroll {
|
|
60
|
-
flex-grow: 1;
|
|
61
|
-
overflow-y: auto;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
55
|
.no-scroll {
|
|
65
56
|
flex-grow: 1;
|
|
66
57
|
overflow-y: hidden;
|
|
58
|
+
overflow-x: hidden;
|
|
67
59
|
}
|
|
68
60
|
|
|
69
61
|
.button {
|
|
@@ -75,7 +67,6 @@ body {
|
|
|
75
67
|
color: white;
|
|
76
68
|
border: none;
|
|
77
69
|
padding: 10px 20px;
|
|
78
|
-
justify-content: center;
|
|
79
70
|
font-size: 16px;
|
|
80
71
|
border-radius: 100px;
|
|
81
72
|
cursor: pointer;
|
|
@@ -89,49 +80,4 @@ body {
|
|
|
89
80
|
.button:active {
|
|
90
81
|
position: relative;
|
|
91
82
|
top: 1px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.text-button {
|
|
95
|
-
background: none;
|
|
96
|
-
border: none;
|
|
97
|
-
color: #2196f3;
|
|
98
|
-
font-size: 20px;
|
|
99
|
-
font-weight: bold;
|
|
100
|
-
padding: 5px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.text-button:active {
|
|
104
|
-
position: relative;
|
|
105
|
-
top: 1px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.radio {
|
|
109
|
-
align-items: baseline;
|
|
110
|
-
padding: 15px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
input[type="checkbox"] {
|
|
114
|
-
width: 20px;
|
|
115
|
-
height: 20px;
|
|
116
|
-
border: 2px solid black;
|
|
117
|
-
background-color: white;
|
|
118
|
-
display: inline-block;
|
|
119
|
-
position: relative;
|
|
120
|
-
cursor: pointer;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.progress-bar {
|
|
124
|
-
width: 75%;
|
|
125
|
-
padding: 3px;
|
|
126
|
-
margin-top: 40px;
|
|
127
|
-
background-color: #eee;
|
|
128
|
-
border-radius: 8px;
|
|
129
|
-
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
#progress {
|
|
133
|
-
width: 0%;
|
|
134
|
-
height: 20px;
|
|
135
|
-
background-color: #4285F4;
|
|
136
|
-
border-radius: 5px;
|
|
137
83
|
}
|