@transfergratis/react-native-sdk 0.1.2
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 +539 -0
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/config.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.idea/gradle.xml +14 -0
- package/android/.idea/migrations.xml +10 -0
- package/android/.idea/misc.xml +9 -0
- package/android/.idea/runConfigurations.xml +17 -0
- package/android/.idea/vcs.xml +6 -0
- package/android/build/.transforms/7ec900c0f64f5f1a7c88998dd44001b8/results.bin +1 -0
- package/android/build/.transforms/7ec900c0f64f5f1a7c88998dd44001b8/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/results.bin +1 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/BuildConfig.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$2.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$2.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$3.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$4.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$5.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$6.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$View$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkModule.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/kyc/transfergratis/com/TransfergratisSdkView.dex +0 -0
- package/android/build/.transforms/d6df0e53bfc3165a876965af720f910a/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/kyc/transfergratis/com/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +35 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +1 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/xml_file_paths.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +2 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/transfergratis-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/kyc/transfergratis/com/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +3 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +58 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +35 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml +15 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/transfergratis-sdk_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$5.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$6.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$View$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/kyc/transfergratis/com/TransfergratisSdkView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +63 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/transfergratis-sdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$1$5$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$5.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunction$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$$inlined$View$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule$definition$lambda$5$lambda$4$$inlined$Prop$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/kyc/transfergratis/com/TransfergratisSdkView.class +0 -0
- package/android/build.gradle +47 -0
- package/android/local.properties +8 -0
- package/android/src/main/AndroidManifest.xml +28 -0
- package/android/src/main/java/kyc/transfergratis/com/TransfergratisSdkModule.kt +131 -0
- package/android/src/main/java/kyc/transfergratis/com/TransfergratisSdkView.kt +161 -0
- package/android/src/main/res/xml/file_paths.xml +15 -0
- package/build/App.d.ts +3 -0
- package/build/App.d.ts.map +1 -0
- package/build/App.js +9 -0
- package/build/App.js.map +1 -0
- package/build/TransfergratisSdk.types.d.ts +32 -0
- package/build/TransfergratisSdk.types.d.ts.map +1 -0
- package/build/TransfergratisSdk.types.js +2 -0
- package/build/TransfergratisSdk.types.js.map +1 -0
- package/build/TransfergratisSdkModule.d.ts +21 -0
- package/build/TransfergratisSdkModule.d.ts.map +1 -0
- package/build/TransfergratisSdkModule.js +4 -0
- package/build/TransfergratisSdkModule.js.map +1 -0
- package/build/TransfergratisSdkModule.web.d.ts +20 -0
- package/build/TransfergratisSdkModule.web.d.ts.map +1 -0
- package/build/TransfergratisSdkModule.web.js +25 -0
- package/build/TransfergratisSdkModule.web.js.map +1 -0
- package/build/TransfergratisSdkView.d.ts +4 -0
- package/build/TransfergratisSdkView.d.ts.map +1 -0
- package/build/TransfergratisSdkView.js +7 -0
- package/build/TransfergratisSdkView.js.map +1 -0
- package/build/TransfergratisSdkView.web.d.ts +4 -0
- package/build/TransfergratisSdkView.web.d.ts.map +1 -0
- package/build/TransfergratisSdkView.web.js +11 -0
- package/build/TransfergratisSdkView.web.js.map +1 -0
- package/build/components/Camera/index.d.ts +2 -0
- package/build/components/Camera/index.d.ts.map +1 -0
- package/build/components/Camera/index.js +2 -0
- package/build/components/Camera/index.js.map +1 -0
- package/build/components/Camera/index.web.d.ts +2 -0
- package/build/components/Camera/index.web.d.ts.map +1 -0
- package/build/components/Camera/index.web.js +2 -0
- package/build/components/Camera/index.web.js.map +1 -0
- package/build/components/Camera/types.d.ts +2 -0
- package/build/components/Camera/types.d.ts.map +1 -0
- package/build/components/Camera/types.js +2 -0
- package/build/components/Camera/types.js.map +1 -0
- package/build/components/ConfigurableKYCFlow.d.ts +11 -0
- package/build/components/ConfigurableKYCFlow.d.ts.map +1 -0
- package/build/components/ConfigurableKYCFlow.js +257 -0
- package/build/components/ConfigurableKYCFlow.js.map +1 -0
- package/build/components/CustomCameraExample.d.ts +10 -0
- package/build/components/CustomCameraExample.d.ts.map +1 -0
- package/build/components/CustomCameraExample.js +232 -0
- package/build/components/CustomCameraExample.js.map +1 -0
- package/build/components/EnhancedCameraView.d.ts +44 -0
- package/build/components/EnhancedCameraView.d.ts.map +1 -0
- package/build/components/EnhancedCameraView.js +316 -0
- package/build/components/EnhancedCameraView.js.map +1 -0
- package/build/components/EnhancedCameraView.web.d.ts +44 -0
- package/build/components/EnhancedCameraView.web.d.ts.map +1 -0
- package/build/components/EnhancedCameraView.web.js +399 -0
- package/build/components/EnhancedCameraView.web.js.map +1 -0
- package/build/components/FileUpload.d.ts +13 -0
- package/build/components/FileUpload.d.ts.map +1 -0
- package/build/components/FileUpload.js +216 -0
- package/build/components/FileUpload.js.map +1 -0
- package/build/components/KYCElementRenderer.d.ts +14 -0
- package/build/components/KYCElementRenderer.d.ts.map +1 -0
- package/build/components/KYCElementRenderer.js +31 -0
- package/build/components/KYCElementRenderer.js.map +1 -0
- package/build/components/KYCElements/CameraCapture.d.ts +11 -0
- package/build/components/KYCElements/CameraCapture.d.ts.map +1 -0
- package/build/components/KYCElements/CameraCapture.js +218 -0
- package/build/components/KYCElements/CameraCapture.js.map +1 -0
- package/build/components/KYCElements/CompletionStep.d.ts +10 -0
- package/build/components/KYCElements/CompletionStep.d.ts.map +1 -0
- package/build/components/KYCElements/CompletionStep.js +147 -0
- package/build/components/KYCElements/CompletionStep.js.map +1 -0
- package/build/components/KYCElements/CountrySelection.d.ts +11 -0
- package/build/components/KYCElements/CountrySelection.d.ts.map +1 -0
- package/build/components/KYCElements/CountrySelection.js +147 -0
- package/build/components/KYCElements/CountrySelection.js.map +1 -0
- package/build/components/KYCElements/CountrySelectionTemplate.d.ts +12 -0
- package/build/components/KYCElements/CountrySelectionTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/CountrySelectionTemplate.js +245 -0
- package/build/components/KYCElements/CountrySelectionTemplate.js.map +1 -0
- package/build/components/KYCElements/DocumentTypeSelection.d.ts +11 -0
- package/build/components/KYCElements/DocumentTypeSelection.d.ts.map +1 -0
- package/build/components/KYCElements/DocumentTypeSelection.js +143 -0
- package/build/components/KYCElements/DocumentTypeSelection.js.map +1 -0
- package/build/components/KYCElements/FileUpload.d.ts +11 -0
- package/build/components/KYCElements/FileUpload.d.ts.map +1 -0
- package/build/components/KYCElements/FileUpload.js +267 -0
- package/build/components/KYCElements/FileUpload.js.map +1 -0
- package/build/components/KYCElements/FileUploadTemplate.d.ts +12 -0
- package/build/components/KYCElements/FileUploadTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/FileUploadTemplate.js +326 -0
- package/build/components/KYCElements/FileUploadTemplate.js.map +1 -0
- package/build/components/KYCElements/IDCardCapture.d.ts +13 -0
- package/build/components/KYCElements/IDCardCapture.d.ts.map +1 -0
- package/build/components/KYCElements/IDCardCapture.js +421 -0
- package/build/components/KYCElements/IDCardCapture.js.map +1 -0
- package/build/components/KYCElements/LocationCaptureTemplate.d.ts +20 -0
- package/build/components/KYCElements/LocationCaptureTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/LocationCaptureTemplate.js +275 -0
- package/build/components/KYCElements/LocationCaptureTemplate.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCapture.d.ts +12 -0
- package/build/components/KYCElements/OrientationVideoCapture.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCapture.js +533 -0
- package/build/components/KYCElements/OrientationVideoCapture.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.d.ts +12 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.js +503 -0
- package/build/components/KYCElements/OrientationVideoCaptureEnhanced.js.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.d.ts +12 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.d.ts.map +1 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.js +429 -0
- package/build/components/KYCElements/OrientationVideoCaptureFinal.js.map +1 -0
- package/build/components/KYCElements/SelfieCapture.d.ts +11 -0
- package/build/components/KYCElements/SelfieCapture.d.ts.map +1 -0
- package/build/components/KYCElements/SelfieCapture.js +235 -0
- package/build/components/KYCElements/SelfieCapture.js.map +1 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.d.ts +12 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.d.ts.map +1 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.js +321 -0
- package/build/components/KYCElements/SelfieCaptureTemplate.js.map +1 -0
- package/build/components/KYCElements/VerificationStep.d.ts +10 -0
- package/build/components/KYCElements/VerificationStep.d.ts.map +1 -0
- package/build/components/KYCElements/VerificationStep.js +199 -0
- package/build/components/KYCElements/VerificationStep.js.map +1 -0
- package/build/components/KYCExample.d.ts +3 -0
- package/build/components/KYCExample.d.ts.map +1 -0
- package/build/components/KYCExample.js +247 -0
- package/build/components/KYCExample.js.map +1 -0
- package/build/components/KYCFlow.d.ts +3 -0
- package/build/components/KYCFlow.d.ts.map +1 -0
- package/build/components/KYCFlow.js +308 -0
- package/build/components/KYCFlow.js.map +1 -0
- package/build/components/NativeCameraView.d.ts +11 -0
- package/build/components/NativeCameraView.d.ts.map +1 -0
- package/build/components/NativeCameraView.js +27 -0
- package/build/components/NativeCameraView.js.map +1 -0
- package/build/components/OverLay/IdCard.d.ts +4 -0
- package/build/components/OverLay/IdCard.d.ts.map +1 -0
- package/build/components/OverLay/IdCard.js +181 -0
- package/build/components/OverLay/IdCard.js.map +1 -0
- package/build/components/OverLay/SelfieOverlay.d.ts +4 -0
- package/build/components/OverLay/SelfieOverlay.d.ts.map +1 -0
- package/build/components/OverLay/SelfieOverlay.js +168 -0
- package/build/components/OverLay/SelfieOverlay.js.map +1 -0
- package/build/components/OverLay/StepOverlay.d.ts +9 -0
- package/build/components/OverLay/StepOverlay.d.ts.map +1 -0
- package/build/components/OverLay/StepOverlay.js +51 -0
- package/build/components/OverLay/StepOverlay.js.map +1 -0
- package/build/components/OverLay/type.d.ts +21 -0
- package/build/components/OverLay/type.d.ts.map +1 -0
- package/build/components/OverLay/type.js +2 -0
- package/build/components/OverLay/type.js.map +1 -0
- package/build/components/ProgressIndicator.d.ts +8 -0
- package/build/components/ProgressIndicator.d.ts.map +1 -0
- package/build/components/ProgressIndicator.js +48 -0
- package/build/components/ProgressIndicator.js.map +1 -0
- package/build/components/SelfieCapture.d.ts +3 -0
- package/build/components/SelfieCapture.d.ts.map +1 -0
- package/build/components/SelfieCapture.js +197 -0
- package/build/components/SelfieCapture.js.map +1 -0
- package/build/components/SimpleExample.d.ts +3 -0
- package/build/components/SimpleExample.d.ts.map +1 -0
- package/build/components/SimpleExample.js +89 -0
- package/build/components/SimpleExample.js.map +1 -0
- package/build/components/Svgs/GpsIcon.d.ts +3 -0
- package/build/components/Svgs/GpsIcon.d.ts.map +1 -0
- package/build/components/Svgs/GpsIcon.js +9 -0
- package/build/components/Svgs/GpsIcon.js.map +1 -0
- package/build/components/Svgs/Schield.d.ts +3 -0
- package/build/components/Svgs/Schield.d.ts.map +1 -0
- package/build/components/Svgs/Schield.js +22 -0
- package/build/components/Svgs/Schield.js.map +1 -0
- package/build/components/Svgs/frontSelfieIcon.d.ts +3 -0
- package/build/components/Svgs/frontSelfieIcon.d.ts.map +1 -0
- package/build/components/Svgs/frontSelfieIcon.js +11 -0
- package/build/components/Svgs/frontSelfieIcon.js.map +1 -0
- package/build/components/Svgs/scanningLine.d.ts +9 -0
- package/build/components/Svgs/scanningLine.d.ts.map +1 -0
- package/build/components/Svgs/scanningLine.js +61 -0
- package/build/components/Svgs/scanningLine.js.map +1 -0
- package/build/components/Svgs/sideSelfieIcon.d.ts +3 -0
- package/build/components/Svgs/sideSelfieIcon.d.ts.map +1 -0
- package/build/components/Svgs/sideSelfieIcon.js +9 -0
- package/build/components/Svgs/sideSelfieIcon.js.map +1 -0
- package/build/components/TemplateKYCExample.d.ts +7 -0
- package/build/components/TemplateKYCExample.d.ts.map +1 -0
- package/build/components/TemplateKYCExample.js +433 -0
- package/build/components/TemplateKYCExample.js.map +1 -0
- package/build/components/TemplateKYCFlowRefactored.d.ts +12 -0
- package/build/components/TemplateKYCFlowRefactored.d.ts.map +1 -0
- package/build/components/TemplateKYCFlowRefactored.js +210 -0
- package/build/components/TemplateKYCFlowRefactored.js.map +1 -0
- package/build/components/VisionCameraView.d.ts +22 -0
- package/build/components/VisionCameraView.d.ts.map +1 -0
- package/build/components/VisionCameraView.js +142 -0
- package/build/components/VisionCameraView.js.map +1 -0
- package/build/components/example/CameraCaptureEx.d.ts +4 -0
- package/build/components/example/CameraCaptureEx.d.ts.map +1 -0
- package/build/components/example/CameraCaptureEx.js +219 -0
- package/build/components/example/CameraCaptureEx.js.map +1 -0
- package/build/components/example/CameraCaptureExAdvanced.d.ts +3 -0
- package/build/components/example/CameraCaptureExAdvanced.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExAdvanced.js +229 -0
- package/build/components/example/CameraCaptureExAdvanced.js.map +1 -0
- package/build/components/example/CameraCaptureExScan.d.ts +3 -0
- package/build/components/example/CameraCaptureExScan.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExScan.js +213 -0
- package/build/components/example/CameraCaptureExScan.js.map +1 -0
- package/build/components/example/CameraCaptureExSimple.d.ts +3 -0
- package/build/components/example/CameraCaptureExSimple.d.ts.map +1 -0
- package/build/components/example/CameraCaptureExSimple.js +138 -0
- package/build/components/example/CameraCaptureExSimple.js.map +1 -0
- package/build/components/example/OrientationVideoExample.d.ts +4 -0
- package/build/components/example/OrientationVideoExample.d.ts.map +1 -0
- package/build/components/example/OrientationVideoExample.js +329 -0
- package/build/components/example/OrientationVideoExample.js.map +1 -0
- package/build/components/example/SelfieCaptureEx.d.ts +4 -0
- package/build/components/example/SelfieCaptureEx.d.ts.map +1 -0
- package/build/components/example/SelfieCaptureEx.js +238 -0
- package/build/components/example/SelfieCaptureEx.js.map +1 -0
- package/build/components/ui/Button.d.ts +37 -0
- package/build/components/ui/Button.d.ts.map +1 -0
- package/build/components/ui/Button.js +194 -0
- package/build/components/ui/Button.js.map +1 -0
- package/build/components/ui/ButtonExample.d.ts +4 -0
- package/build/components/ui/ButtonExample.d.ts.map +1 -0
- package/build/components/ui/ButtonExample.js +209 -0
- package/build/components/ui/ButtonExample.js.map +1 -0
- package/build/components/ui/ButtonStyles.d.ts +521 -0
- package/build/components/ui/ButtonStyles.d.ts.map +1 -0
- package/build/components/ui/ButtonStyles.js +429 -0
- package/build/components/ui/ButtonStyles.js.map +1 -0
- package/build/config/KYCConfigs.d.ts +7 -0
- package/build/config/KYCConfigs.d.ts.map +1 -0
- package/build/config/KYCConfigs.js +516 -0
- package/build/config/KYCConfigs.js.map +1 -0
- package/build/hooks/useKYC.d.ts +15 -0
- package/build/hooks/useKYC.d.ts.map +1 -0
- package/build/hooks/useKYC.js +103 -0
- package/build/hooks/useKYC.js.map +1 -0
- package/build/hooks/useKYCFlow.d.ts +3 -0
- package/build/hooks/useKYCFlow.d.ts.map +1 -0
- package/build/hooks/useKYCFlow.js +221 -0
- package/build/hooks/useKYCFlow.js.map +1 -0
- package/build/hooks/useLocation.d.ts +32 -0
- package/build/hooks/useLocation.d.ts.map +1 -0
- package/build/hooks/useLocation.js +165 -0
- package/build/hooks/useLocation.js.map +1 -0
- package/build/hooks/useOrientationVideo.d.ts +10 -0
- package/build/hooks/useOrientationVideo.d.ts.map +1 -0
- package/build/hooks/useOrientationVideo.js +117 -0
- package/build/hooks/useOrientationVideo.js.map +1 -0
- package/build/hooks/useTemplateKYCFlow.d.ts +28 -0
- package/build/hooks/useTemplateKYCFlow.d.ts.map +1 -0
- package/build/hooks/useTemplateKYCFlow.js +221 -0
- package/build/hooks/useTemplateKYCFlow.js.map +1 -0
- package/build/index.d.ts +34 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +45 -0
- package/build/index.js.map +1 -0
- package/build/modules/api/KYCService.d.ts +35 -0
- package/build/modules/api/KYCService.d.ts.map +1 -0
- package/build/modules/api/KYCService.js +119 -0
- package/build/modules/api/KYCService.js.map +1 -0
- package/build/modules/camera/NativeCameraModule.d.ts +52 -0
- package/build/modules/camera/NativeCameraModule.d.ts.map +1 -0
- package/build/modules/camera/NativeCameraModule.js +149 -0
- package/build/modules/camera/NativeCameraModule.js.map +1 -0
- package/build/modules/camera/UnifiedCameraModule.d.ts +70 -0
- package/build/modules/camera/UnifiedCameraModule.d.ts.map +1 -0
- package/build/modules/camera/UnifiedCameraModule.js +125 -0
- package/build/modules/camera/UnifiedCameraModule.js.map +1 -0
- package/build/modules/camera/VisionCameraModule.d.ts +62 -0
- package/build/modules/camera/VisionCameraModule.d.ts.map +1 -0
- package/build/modules/camera/VisionCameraModule.js +198 -0
- package/build/modules/camera/VisionCameraModule.js.map +1 -0
- package/build/modules/camera/VisionCameraModule.web.d.ts +145 -0
- package/build/modules/camera/VisionCameraModule.web.d.ts.map +1 -0
- package/build/modules/camera/VisionCameraModule.web.js +570 -0
- package/build/modules/camera/VisionCameraModule.web.js.map +1 -0
- package/build/modules/camera/index.d.ts +5 -0
- package/build/modules/camera/index.d.ts.map +1 -0
- package/build/modules/camera/index.js +4 -0
- package/build/modules/camera/index.js.map +1 -0
- package/build/stores/kycStore.d.ts +55 -0
- package/build/stores/kycStore.d.ts.map +1 -0
- package/build/stores/kycStore.js +98 -0
- package/build/stores/kycStore.js.map +1 -0
- package/build/types/KYC.types.d.ts +326 -0
- package/build/types/KYC.types.d.ts.map +1 -0
- package/build/types/KYC.types.js +2 -0
- package/build/types/KYC.types.js.map +1 -0
- package/expo-module.config.json +9 -0
- package/ios/TransfergratisSdk.podspec +31 -0
- package/ios/TransfergratisSdkModule.swift +409 -0
- package/package.json +67 -0
- package/plugin/build/index.d.ts +4 -0
- package/plugin/build/index.js +10 -0
- package/plugin/build/withLocation.d.ts +9 -0
- package/plugin/build/withLocation.js +77 -0
- package/plugin/build/withVisionCamera.d.ts +8 -0
- package/plugin/build/withVisionCamera.js +69 -0
- package/plugin/src/index.ts +4 -0
- package/plugin/src/withLocation.ts +109 -0
- package/plugin/src/withVisionCamera.js +89 -0
- package/plugin/src/withVisionCamera.ts +98 -0
- package/plugin/tsconfig.json +17 -0
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/plugin.js +14 -0
- package/src/App.tsx +9 -0
- package/src/TransfergratisSdk.types.ts +30 -0
- package/src/TransfergratisSdkModule.ts +16 -0
- package/src/TransfergratisSdkModule.web.ts +31 -0
- package/src/TransfergratisSdkView.tsx +11 -0
- package/src/TransfergratisSdkView.web.tsx +15 -0
- package/src/components/Camera/index.tsx +0 -0
- package/src/components/Camera/index.web.tsx +0 -0
- package/src/components/Camera/types.ts +0 -0
- package/src/components/ConfigurableKYCFlow.tsx +334 -0
- package/src/components/CustomCameraExample.tsx +274 -0
- package/src/components/EnhancedCameraView.tsx +421 -0
- package/src/components/EnhancedCameraView.web.tsx +517 -0
- package/src/components/FileUpload.tsx +249 -0
- package/src/components/KYCElementRenderer.tsx +106 -0
- package/src/components/KYCElements/CameraCapture.tsx +267 -0
- package/src/components/KYCElements/CompletionStep.tsx +161 -0
- package/src/components/KYCElements/CountrySelection.tsx +177 -0
- package/src/components/KYCElements/CountrySelectionTemplate.tsx +282 -0
- package/src/components/KYCElements/DocumentTypeSelection.tsx +173 -0
- package/src/components/KYCElements/FileUpload.tsx +317 -0
- package/src/components/KYCElements/FileUploadTemplate.tsx +388 -0
- package/src/components/KYCElements/IDCardCapture.tsx +519 -0
- package/src/components/KYCElements/LocationCaptureTemplate.tsx +325 -0
- package/src/components/KYCElements/OrientationVideoCapture.tsx +646 -0
- package/src/components/KYCElements/OrientationVideoCaptureEnhanced.tsx +613 -0
- package/src/components/KYCElements/OrientationVideoCaptureFinal.tsx +531 -0
- package/src/components/KYCElements/SelfieCapture.tsx +283 -0
- package/src/components/KYCElements/SelfieCaptureTemplate.tsx +388 -0
- package/src/components/KYCElements/VerificationStep.tsx +234 -0
- package/src/components/KYCExample.tsx +297 -0
- package/src/components/KYCFlow.tsx +377 -0
- package/src/components/NativeCameraView.tsx +47 -0
- package/src/components/OverLay/IdCard.tsx +269 -0
- package/src/components/OverLay/SelfieOverlay.tsx +210 -0
- package/src/components/OverLay/StepOverlay.tsx +62 -0
- package/src/components/OverLay/type.ts +21 -0
- package/src/components/ProgressIndicator.tsx +62 -0
- package/src/components/SelfieCapture.tsx +244 -0
- package/src/components/SimpleExample.tsx +92 -0
- package/src/components/Svgs/GpsIcon.tsx +12 -0
- package/src/components/Svgs/Schield.tsx +26 -0
- package/src/components/Svgs/directionArrow.gif +0 -0
- package/src/components/Svgs/frontSelfieIcon.tsx +13 -0
- package/src/components/Svgs/scanningLine.tsx +88 -0
- package/src/components/Svgs/sideSelfieIcon.tsx +10 -0
- package/src/components/TemplateKYCExample.tsx +447 -0
- package/src/components/TemplateKYCFlowRefactored.tsx +263 -0
- package/src/components/VisionCameraView.tsx +197 -0
- package/src/components/example/CameraCaptureEx.tsx +335 -0
- package/src/components/example/CameraCaptureExAdvanced.tsx +357 -0
- package/src/components/example/CameraCaptureExScan.tsx +336 -0
- package/src/components/example/CameraCaptureExSimple.tsx +215 -0
- package/src/components/example/OrientationVideoExample.tsx +384 -0
- package/src/components/example/SelfieCaptureEx.tsx +358 -0
- package/src/components/ui/Button.tsx +328 -0
- package/src/components/ui/ButtonExample.tsx +318 -0
- package/src/components/ui/ButtonStyles.ts +465 -0
- package/src/config/KYCConfigs.ts +528 -0
- package/src/hooks/useKYC.ts +131 -0
- package/src/hooks/useKYCFlow.ts +248 -0
- package/src/hooks/useLocation.ts +221 -0
- package/src/hooks/useOrientationVideo.ts +148 -0
- package/src/hooks/useTemplateKYCFlow.tsx +292 -0
- package/src/index.ts +72 -0
- package/src/modules/api/KYCService.ts +171 -0
- package/src/modules/camera/NativeCameraModule.ts +170 -0
- package/src/modules/camera/UnifiedCameraModule.ts +160 -0
- package/src/modules/camera/VisionCameraModule.ts +217 -0
- package/src/modules/camera/VisionCameraModule.web.ts +661 -0
- package/src/modules/camera/index.ts +6 -0
- package/src/stores/kycStore.ts +161 -0
- package/src/types/KYC.types.ts +434 -0
- package/src/types/nativewind.d.ts +2 -0
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
|
+
import { KYCElement } from '../../types/KYC.types';
|
|
4
|
+
|
|
5
|
+
interface CompletionStepProps {
|
|
6
|
+
element: KYCElement;
|
|
7
|
+
onRestart: () => void;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const CompletionStep: React.FC<CompletionStepProps> = ({
|
|
12
|
+
element,
|
|
13
|
+
onRestart,
|
|
14
|
+
onClose,
|
|
15
|
+
}) => {
|
|
16
|
+
return (
|
|
17
|
+
<View style={styles.container}>
|
|
18
|
+
<View style={styles.successContainer}>
|
|
19
|
+
<Text style={styles.successIcon}>🎉</Text>
|
|
20
|
+
<Text style={styles.title}>{element.title}</Text>
|
|
21
|
+
<Text style={styles.description}>{element.description}</Text>
|
|
22
|
+
|
|
23
|
+
<View style={styles.checkmarkContainer}>
|
|
24
|
+
<View style={styles.checkmarkCircle}>
|
|
25
|
+
<Text style={styles.checkmarkText}>✓</Text>
|
|
26
|
+
</View>
|
|
27
|
+
</View>
|
|
28
|
+
|
|
29
|
+
<Text style={styles.successMessage}>
|
|
30
|
+
Votre vérification d'identité a été complétée avec succès !
|
|
31
|
+
</Text>
|
|
32
|
+
|
|
33
|
+
<Text style={styles.detailsText}>
|
|
34
|
+
Vos documents ont été validés et votre compte est maintenant vérifié.
|
|
35
|
+
Vous pouvez maintenant utiliser tous les services de notre plateforme.
|
|
36
|
+
</Text>
|
|
37
|
+
</View>
|
|
38
|
+
|
|
39
|
+
<View style={styles.buttonContainer}>
|
|
40
|
+
<TouchableOpacity style={styles.secondaryButton} onPress={onRestart}>
|
|
41
|
+
<Text style={styles.secondaryButtonText}>Recommencer</Text>
|
|
42
|
+
</TouchableOpacity>
|
|
43
|
+
|
|
44
|
+
<TouchableOpacity style={styles.primaryButton} onPress={onClose}>
|
|
45
|
+
<Text style={styles.primaryButtonText}>Terminer</Text>
|
|
46
|
+
</TouchableOpacity>
|
|
47
|
+
</View>
|
|
48
|
+
</View>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const styles = StyleSheet.create({
|
|
53
|
+
container: {
|
|
54
|
+
flex: 1,
|
|
55
|
+
padding: 16,
|
|
56
|
+
justifyContent: 'center',
|
|
57
|
+
},
|
|
58
|
+
successContainer: {
|
|
59
|
+
alignItems: 'center',
|
|
60
|
+
padding: 24,
|
|
61
|
+
backgroundColor: 'white',
|
|
62
|
+
borderRadius: 16,
|
|
63
|
+
shadowColor: '#000',
|
|
64
|
+
shadowOffset: {
|
|
65
|
+
width: 0,
|
|
66
|
+
height: 4,
|
|
67
|
+
},
|
|
68
|
+
shadowOpacity: 0.1,
|
|
69
|
+
shadowRadius: 8,
|
|
70
|
+
elevation: 5,
|
|
71
|
+
marginBottom: 32,
|
|
72
|
+
},
|
|
73
|
+
successIcon: {
|
|
74
|
+
fontSize: 64,
|
|
75
|
+
marginBottom: 16,
|
|
76
|
+
},
|
|
77
|
+
title: {
|
|
78
|
+
fontSize: 28,
|
|
79
|
+
fontWeight: 'bold',
|
|
80
|
+
color: '#333',
|
|
81
|
+
marginBottom: 8,
|
|
82
|
+
textAlign: 'center',
|
|
83
|
+
},
|
|
84
|
+
description: {
|
|
85
|
+
fontSize: 16,
|
|
86
|
+
color: '#666',
|
|
87
|
+
textAlign: 'center',
|
|
88
|
+
marginBottom: 24,
|
|
89
|
+
lineHeight: 22,
|
|
90
|
+
},
|
|
91
|
+
checkmarkContainer: {
|
|
92
|
+
marginBottom: 24,
|
|
93
|
+
},
|
|
94
|
+
checkmarkCircle: {
|
|
95
|
+
width: 80,
|
|
96
|
+
height: 80,
|
|
97
|
+
borderRadius: 40,
|
|
98
|
+
backgroundColor: '#4CAF50',
|
|
99
|
+
justifyContent: 'center',
|
|
100
|
+
alignItems: 'center',
|
|
101
|
+
shadowColor: '#4CAF50',
|
|
102
|
+
shadowOffset: {
|
|
103
|
+
width: 0,
|
|
104
|
+
height: 4,
|
|
105
|
+
},
|
|
106
|
+
shadowOpacity: 0.3,
|
|
107
|
+
shadowRadius: 8,
|
|
108
|
+
elevation: 8,
|
|
109
|
+
},
|
|
110
|
+
checkmarkText: {
|
|
111
|
+
color: 'white',
|
|
112
|
+
fontSize: 32,
|
|
113
|
+
fontWeight: 'bold',
|
|
114
|
+
},
|
|
115
|
+
successMessage: {
|
|
116
|
+
fontSize: 20,
|
|
117
|
+
fontWeight: '600',
|
|
118
|
+
color: '#4CAF50',
|
|
119
|
+
textAlign: 'center',
|
|
120
|
+
marginBottom: 16,
|
|
121
|
+
},
|
|
122
|
+
detailsText: {
|
|
123
|
+
fontSize: 14,
|
|
124
|
+
color: '#666',
|
|
125
|
+
textAlign: 'center',
|
|
126
|
+
lineHeight: 20,
|
|
127
|
+
},
|
|
128
|
+
buttonContainer: {
|
|
129
|
+
flexDirection: 'row',
|
|
130
|
+
justifyContent: 'space-around',
|
|
131
|
+
paddingHorizontal: 16,
|
|
132
|
+
},
|
|
133
|
+
primaryButton: {
|
|
134
|
+
backgroundColor: '#4CAF50',
|
|
135
|
+
paddingHorizontal: 32,
|
|
136
|
+
paddingVertical: 16,
|
|
137
|
+
borderRadius: 8,
|
|
138
|
+
flex: 1,
|
|
139
|
+
marginLeft: 8,
|
|
140
|
+
},
|
|
141
|
+
primaryButtonText: {
|
|
142
|
+
color: 'white',
|
|
143
|
+
fontWeight: '600',
|
|
144
|
+
fontSize: 16,
|
|
145
|
+
textAlign: 'center',
|
|
146
|
+
},
|
|
147
|
+
secondaryButton: {
|
|
148
|
+
backgroundColor: '#e5e5e5',
|
|
149
|
+
paddingHorizontal: 32,
|
|
150
|
+
paddingVertical: 16,
|
|
151
|
+
borderRadius: 8,
|
|
152
|
+
flex: 1,
|
|
153
|
+
marginRight: 8,
|
|
154
|
+
},
|
|
155
|
+
secondaryButtonText: {
|
|
156
|
+
color: '#333',
|
|
157
|
+
fontWeight: '600',
|
|
158
|
+
fontSize: 16,
|
|
159
|
+
textAlign: 'center',
|
|
160
|
+
},
|
|
161
|
+
});
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Text, TouchableOpacity, StyleSheet, ScrollView } from 'react-native';
|
|
3
|
+
import { KYCElement, KYCElementOption } from '../../types/KYC.types';
|
|
4
|
+
|
|
5
|
+
interface CountrySelectionProps {
|
|
6
|
+
element: KYCElement;
|
|
7
|
+
value?: string;
|
|
8
|
+
onValueChange: (value: string) => void;
|
|
9
|
+
error?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const defaultCountries: KYCElementOption[] = [
|
|
13
|
+
{ value: 'FR', label: 'France', icon: '🇫🇷' },
|
|
14
|
+
{ value: 'BE', label: 'Belgique', icon: '🇧🇪' },
|
|
15
|
+
{ value: 'LU', label: 'Luxembourg', icon: '🇱🇺' },
|
|
16
|
+
{ value: 'DE', label: 'Allemagne', icon: '🇩🇪' },
|
|
17
|
+
{ value: 'IT', label: 'Italie', icon: '🇮🇹' },
|
|
18
|
+
{ value: 'ES', label: 'Espagne', icon: '🇪🇸' },
|
|
19
|
+
{ value: 'PT', label: 'Portugal', icon: '🇵🇹' },
|
|
20
|
+
{ value: 'AT', label: 'Autriche', icon: '🇦🇹' },
|
|
21
|
+
{ value: 'CH', label: 'Suisse', icon: '🇨🇭' },
|
|
22
|
+
{ value: 'NL', label: 'Pays-Bas', icon: '🇳🇱' },
|
|
23
|
+
{ value: 'OTHER', label: 'Autre', icon: '🌍' },
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export const CountrySelection: React.FC<CountrySelectionProps> = ({
|
|
27
|
+
element,
|
|
28
|
+
value,
|
|
29
|
+
onValueChange,
|
|
30
|
+
error,
|
|
31
|
+
}) => {
|
|
32
|
+
const countries = element.options || defaultCountries;
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<View style={styles.container}>
|
|
36
|
+
<Text style={styles.title}>{element.title}</Text>
|
|
37
|
+
<Text style={styles.description}>{element.description}</Text>
|
|
38
|
+
|
|
39
|
+
<ScrollView style={styles.optionsContainer} showsVerticalScrollIndicator={false}>
|
|
40
|
+
{countries.map((country) => (
|
|
41
|
+
<TouchableOpacity
|
|
42
|
+
key={country.value}
|
|
43
|
+
style={[
|
|
44
|
+
styles.option,
|
|
45
|
+
value === country.value && styles.selectedOption
|
|
46
|
+
]}
|
|
47
|
+
onPress={() => onValueChange(country.value)}
|
|
48
|
+
>
|
|
49
|
+
<Text style={styles.optionIcon}>{country.icon}</Text>
|
|
50
|
+
<View style={styles.optionContent}>
|
|
51
|
+
<Text style={[
|
|
52
|
+
styles.optionLabel,
|
|
53
|
+
value === country.value && styles.selectedOptionLabel
|
|
54
|
+
]}>
|
|
55
|
+
{country.label}
|
|
56
|
+
</Text>
|
|
57
|
+
{country.description && (
|
|
58
|
+
<Text style={styles.optionDescription}>{country.description}</Text>
|
|
59
|
+
)}
|
|
60
|
+
</View>
|
|
61
|
+
{value === country.value && (
|
|
62
|
+
<View style={styles.checkmark}>
|
|
63
|
+
<Text style={styles.checkmarkText}>✓</Text>
|
|
64
|
+
</View>
|
|
65
|
+
)}
|
|
66
|
+
</TouchableOpacity>
|
|
67
|
+
))}
|
|
68
|
+
</ScrollView>
|
|
69
|
+
|
|
70
|
+
{error && (
|
|
71
|
+
<Text style={styles.errorText}>{error}</Text>
|
|
72
|
+
)}
|
|
73
|
+
</View>
|
|
74
|
+
);
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
const styles = StyleSheet.create({
|
|
78
|
+
container: {
|
|
79
|
+
flex: 1,
|
|
80
|
+
padding: 16,
|
|
81
|
+
},
|
|
82
|
+
title: {
|
|
83
|
+
fontSize: 24,
|
|
84
|
+
fontWeight: 'bold',
|
|
85
|
+
color: '#333',
|
|
86
|
+
marginBottom: 8,
|
|
87
|
+
textAlign: 'center',
|
|
88
|
+
},
|
|
89
|
+
description: {
|
|
90
|
+
fontSize: 16,
|
|
91
|
+
color: '#666',
|
|
92
|
+
textAlign: 'center',
|
|
93
|
+
marginBottom: 24,
|
|
94
|
+
lineHeight: 22,
|
|
95
|
+
},
|
|
96
|
+
optionsContainer: {
|
|
97
|
+
flex: 1,
|
|
98
|
+
},
|
|
99
|
+
option: {
|
|
100
|
+
flexDirection: 'row',
|
|
101
|
+
alignItems: 'center',
|
|
102
|
+
padding: 16,
|
|
103
|
+
backgroundColor: 'white',
|
|
104
|
+
borderRadius: 12,
|
|
105
|
+
marginBottom: 12,
|
|
106
|
+
borderWidth: 2,
|
|
107
|
+
borderColor: '#e5e5e5',
|
|
108
|
+
shadowColor: '#000',
|
|
109
|
+
shadowOffset: {
|
|
110
|
+
width: 0,
|
|
111
|
+
height: 2,
|
|
112
|
+
},
|
|
113
|
+
shadowOpacity: 0.1,
|
|
114
|
+
shadowRadius: 3.84,
|
|
115
|
+
elevation: 5,
|
|
116
|
+
},
|
|
117
|
+
selectedOption: {
|
|
118
|
+
borderColor: '#4CAF50',
|
|
119
|
+
backgroundColor: '#f0f9f0',
|
|
120
|
+
},
|
|
121
|
+
optionIcon: {
|
|
122
|
+
fontSize: 32,
|
|
123
|
+
marginRight: 16,
|
|
124
|
+
},
|
|
125
|
+
optionContent: {
|
|
126
|
+
flex: 1,
|
|
127
|
+
},
|
|
128
|
+
optionLabel: {
|
|
129
|
+
fontSize: 18,
|
|
130
|
+
fontWeight: '600',
|
|
131
|
+
color: '#333',
|
|
132
|
+
},
|
|
133
|
+
selectedOptionLabel: {
|
|
134
|
+
color: '#4CAF50',
|
|
135
|
+
},
|
|
136
|
+
optionDescription: {
|
|
137
|
+
fontSize: 14,
|
|
138
|
+
color: '#666',
|
|
139
|
+
marginTop: 4,
|
|
140
|
+
},
|
|
141
|
+
checkmark: {
|
|
142
|
+
width: 24,
|
|
143
|
+
height: 24,
|
|
144
|
+
borderRadius: 12,
|
|
145
|
+
backgroundColor: '#4CAF50',
|
|
146
|
+
justifyContent: 'center',
|
|
147
|
+
alignItems: 'center',
|
|
148
|
+
},
|
|
149
|
+
checkmarkText: {
|
|
150
|
+
color: 'white',
|
|
151
|
+
fontSize: 16,
|
|
152
|
+
fontWeight: 'bold',
|
|
153
|
+
},
|
|
154
|
+
errorText: {
|
|
155
|
+
color: '#dc2626',
|
|
156
|
+
fontSize: 14,
|
|
157
|
+
marginTop: 8,},
|
|
158
|
+
buttonContainer: {
|
|
159
|
+
flexDirection: 'row',
|
|
160
|
+
justifyContent: 'space-between',
|
|
161
|
+
marginTop: 24,
|
|
162
|
+
gap: 10,
|
|
163
|
+
},
|
|
164
|
+
button: {
|
|
165
|
+
flex: 1,
|
|
166
|
+
padding: 12,
|
|
167
|
+
backgroundColor: '#4CAF50',
|
|
168
|
+
textAlign: 'center',
|
|
169
|
+
},
|
|
170
|
+
buttonText: {
|
|
171
|
+
color: 'white',
|
|
172
|
+
fontSize: 16,
|
|
173
|
+
fontWeight: 'bold',
|
|
174
|
+
textAlign: 'center',
|
|
175
|
+
},
|
|
176
|
+
|
|
177
|
+
});
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View, Text, TouchableOpacity, StyleSheet, ScrollView } from 'react-native';
|
|
3
|
+
import { TemplateComponent, CountrySelectionConfig, LocalizedText } from '../../types/KYC.types';
|
|
4
|
+
|
|
5
|
+
interface CountrySelectionTemplateProps {
|
|
6
|
+
component: TemplateComponent;
|
|
7
|
+
value?: string;
|
|
8
|
+
onValueChange: (value: string) => void;
|
|
9
|
+
error?: string;
|
|
10
|
+
language?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const countryData: Record<string, { name: string; flag: string }> = {
|
|
14
|
+
FR: { name: 'France', flag: '🇫🇷' },
|
|
15
|
+
CM: { name: 'Cameroun', flag: '🇨🇲' },
|
|
16
|
+
US: { name: 'États-Unis', flag: '🇺🇸' },
|
|
17
|
+
DE: { name: 'Allemagne', flag: '🇩🇪' },
|
|
18
|
+
BE: { name: 'Belgique', flag: '🇧🇪' },
|
|
19
|
+
LU: { name: 'Luxembourg', flag: '🇱🇺' },
|
|
20
|
+
IT: { name: 'Italie', flag: '🇮🇹' },
|
|
21
|
+
ES: { name: 'Espagne', flag: '🇪🇸' },
|
|
22
|
+
PT: { name: 'Portugal', flag: '🇵🇹' },
|
|
23
|
+
AT: { name: 'Autriche', flag: '🇦🇹' },
|
|
24
|
+
CH: { name: 'Suisse', flag: '🇨🇭' },
|
|
25
|
+
NL: { name: 'Pays-Bas', flag: '🇳🇱' },
|
|
26
|
+
CA: { name: 'Canada', flag: '🇨🇦' },
|
|
27
|
+
GB: { name: 'Royaume-Uni', flag: '🇬🇧' },
|
|
28
|
+
AU: { name: 'Australie', flag: '🇦🇺' },
|
|
29
|
+
JP: { name: 'Japon', flag: '🇯🇵' },
|
|
30
|
+
KR: { name: 'Corée du Sud', flag: '🇰🇷' },
|
|
31
|
+
SG: { name: 'Singapour', flag: '🇸🇬' },
|
|
32
|
+
HK: { name: 'Hong Kong', flag: '🇭🇰' },
|
|
33
|
+
AE: { name: 'Émirats Arabes Unis', flag: '🇦🇪' },
|
|
34
|
+
SA: { name: 'Arabie Saoudite', flag: '🇸🇦' },
|
|
35
|
+
QA: { name: 'Qatar', flag: '🇶🇦' },
|
|
36
|
+
KW: { name: 'Koweït', flag: '🇰🇼' },
|
|
37
|
+
BH: { name: 'Bahreïn', flag: '🇧🇭' },
|
|
38
|
+
OM: { name: 'Oman', flag: '🇴🇲' },
|
|
39
|
+
JO: { name: 'Jordanie', flag: '🇯🇴' },
|
|
40
|
+
LB: { name: 'Liban', flag: '🇱🇧' },
|
|
41
|
+
EG: { name: 'Égypte', flag: '🇪🇬' },
|
|
42
|
+
MA: { name: 'Maroc', flag: '🇲🇦' },
|
|
43
|
+
TN: { name: 'Tunisie', flag: '🇹🇳' },
|
|
44
|
+
DZ: { name: 'Algérie', flag: '🇩🇿' },
|
|
45
|
+
SN: { name: 'Sénégal', flag: '🇸🇳' },
|
|
46
|
+
CI: { name: 'Côte d\'Ivoire', flag: '🇨🇮' },
|
|
47
|
+
NG: { name: 'Nigeria', flag: '🇳🇬' },
|
|
48
|
+
KE: { name: 'Kenya', flag: '🇰🇪' },
|
|
49
|
+
ZA: { name: 'Afrique du Sud', flag: '🇿🇦' },
|
|
50
|
+
BR: { name: 'Brésil', flag: '🇧🇷' },
|
|
51
|
+
MX: { name: 'Mexique', flag: '🇲🇽' },
|
|
52
|
+
AR: { name: 'Argentine', flag: '🇦🇷' },
|
|
53
|
+
CL: { name: 'Chili', flag: '🇨🇱' },
|
|
54
|
+
PE: { name: 'Pérou', flag: '🇵🇪' },
|
|
55
|
+
CO: { name: 'Colombie', flag: '🇨🇴' },
|
|
56
|
+
VE: { name: 'Venezuela', flag: '🇻🇪' },
|
|
57
|
+
EC: { name: 'Équateur', flag: '🇪🇨' },
|
|
58
|
+
UY: { name: 'Uruguay', flag: '🇺🇾' },
|
|
59
|
+
PY: { name: 'Paraguay', flag: '🇵🇾' },
|
|
60
|
+
BO: { name: 'Bolivie', flag: '🇧🇴' },
|
|
61
|
+
IN: { name: 'Inde', flag: '🇮🇳' },
|
|
62
|
+
CN: { name: 'Chine', flag: '🇨🇳' },
|
|
63
|
+
TH: { name: 'Thaïlande', flag: '🇹🇭' },
|
|
64
|
+
VN: { name: 'Vietnam', flag: '🇻🇳' },
|
|
65
|
+
ID: { name: 'Indonésie', flag: '🇮🇩' },
|
|
66
|
+
MY: { name: 'Malaisie', flag: '🇲🇾' },
|
|
67
|
+
PH: { name: 'Philippines', flag: '🇵🇭' },
|
|
68
|
+
TR: { name: 'Turquie', flag: '🇹🇷' },
|
|
69
|
+
IL: { name: 'Israël', flag: '🇮🇱' },
|
|
70
|
+
RU: { name: 'Russie', flag: '🇷🇺' },
|
|
71
|
+
UA: { name: 'Ukraine', flag: '🇺🇦' },
|
|
72
|
+
PL: { name: 'Pologne', flag: '🇵🇱' },
|
|
73
|
+
CZ: { name: 'République Tchèque', flag: '🇨🇿' },
|
|
74
|
+
HU: { name: 'Hongrie', flag: '🇭🇺' },
|
|
75
|
+
RO: { name: 'Roumanie', flag: '🇷🇴' },
|
|
76
|
+
BG: { name: 'Bulgarie', flag: '🇧🇬' },
|
|
77
|
+
HR: { name: 'Croatie', flag: '🇭🇷' },
|
|
78
|
+
SI: { name: 'Slovénie', flag: '🇸🇮' },
|
|
79
|
+
SK: { name: 'Slovaquie', flag: '🇸🇰' },
|
|
80
|
+
LT: { name: 'Lituanie', flag: '🇱🇹' },
|
|
81
|
+
LV: { name: 'Lettonie', flag: '🇱🇻' },
|
|
82
|
+
EE: { name: 'Estonie', flag: '🇪🇪' },
|
|
83
|
+
FI: { name: 'Finlande', flag: '🇫🇮' },
|
|
84
|
+
SE: { name: 'Suède', flag: '🇸🇪' },
|
|
85
|
+
NO: { name: 'Norvège', flag: '🇳🇴' },
|
|
86
|
+
DK: { name: 'Danemark', flag: '🇩🇰' },
|
|
87
|
+
IS: { name: 'Islande', flag: '🇮🇸' },
|
|
88
|
+
IE: { name: 'Irlande', flag: '🇮🇪' },
|
|
89
|
+
NZ: { name: 'Nouvelle-Zélande', flag: '🇳🇿' },
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
export const CountrySelectionTemplate: React.FC<CountrySelectionTemplateProps> = ({
|
|
93
|
+
component,
|
|
94
|
+
value,
|
|
95
|
+
onValueChange,
|
|
96
|
+
error,
|
|
97
|
+
language = 'en',
|
|
98
|
+
}) => {
|
|
99
|
+
const config = component.config as CountrySelectionConfig;
|
|
100
|
+
const allowedCountries = config.allowed_countries || Object.keys(countryData);
|
|
101
|
+
const defaultCountry = config.default_country || 'FR';
|
|
102
|
+
|
|
103
|
+
const getLocalizedText = (text: LocalizedText): string => {
|
|
104
|
+
return text[language] || text.en || '';
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
const selectedValue = value || defaultCountry;
|
|
108
|
+
|
|
109
|
+
const filteredCountries = allowedCountries
|
|
110
|
+
.filter(code => countryData[code])
|
|
111
|
+
.map(code => ({
|
|
112
|
+
code,
|
|
113
|
+
...countryData[code]
|
|
114
|
+
}))
|
|
115
|
+
.sort((a, b) => a.name.localeCompare(b.name));
|
|
116
|
+
|
|
117
|
+
return (
|
|
118
|
+
<View style={styles.container}>
|
|
119
|
+
<Text style={styles.title}>{getLocalizedText(component.labels)}</Text>
|
|
120
|
+
<Text style={styles.description}>{getLocalizedText(component.instructions)}</Text>
|
|
121
|
+
|
|
122
|
+
<ScrollView style={styles.countriesContainer} showsVerticalScrollIndicator={false}>
|
|
123
|
+
{filteredCountries.map((country) => (
|
|
124
|
+
<TouchableOpacity
|
|
125
|
+
key={country.code}
|
|
126
|
+
style={[
|
|
127
|
+
styles.countryOption,
|
|
128
|
+
selectedValue === country.code && styles.selectedCountryOption
|
|
129
|
+
]}
|
|
130
|
+
onPress={() => onValueChange(country.code)}
|
|
131
|
+
>
|
|
132
|
+
<Text style={styles.countryFlag}>{country.flag}</Text>
|
|
133
|
+
<View style={styles.countryContent}>
|
|
134
|
+
<Text style={[
|
|
135
|
+
styles.countryName,
|
|
136
|
+
selectedValue === country.code && styles.selectedCountryName
|
|
137
|
+
]}>
|
|
138
|
+
{country.name}
|
|
139
|
+
</Text>
|
|
140
|
+
<Text style={styles.countryCode}>{country.code}</Text>
|
|
141
|
+
</View>
|
|
142
|
+
{selectedValue === country.code && (
|
|
143
|
+
<View style={[
|
|
144
|
+
styles.checkmark,
|
|
145
|
+
{ backgroundColor: component.ui.themeColor || '#2DBD60' }
|
|
146
|
+
]}>
|
|
147
|
+
<Text style={styles.checkmarkText}>✓</Text>
|
|
148
|
+
</View>
|
|
149
|
+
)}
|
|
150
|
+
</TouchableOpacity>
|
|
151
|
+
))}
|
|
152
|
+
</ScrollView>
|
|
153
|
+
|
|
154
|
+
{selectedValue && (
|
|
155
|
+
<View style={styles.selectionInfo}>
|
|
156
|
+
<Text style={styles.selectionText}>
|
|
157
|
+
Pays sélectionné: {countryData[selectedValue]?.flag} {countryData[selectedValue]?.name}
|
|
158
|
+
</Text>
|
|
159
|
+
</View>
|
|
160
|
+
)}
|
|
161
|
+
|
|
162
|
+
{config.required && !selectedValue && (
|
|
163
|
+
<View style={styles.requiredContainer}>
|
|
164
|
+
<Text style={styles.requiredText}>⚠️ Veuillez sélectionner un pays</Text>
|
|
165
|
+
</View>
|
|
166
|
+
)}
|
|
167
|
+
|
|
168
|
+
{error && (
|
|
169
|
+
<Text style={styles.errorText}>{error}</Text>
|
|
170
|
+
)}
|
|
171
|
+
</View>
|
|
172
|
+
);
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
const styles = StyleSheet.create({
|
|
176
|
+
container: {
|
|
177
|
+
flex: 1,
|
|
178
|
+
padding: 16,
|
|
179
|
+
},
|
|
180
|
+
title: {
|
|
181
|
+
fontSize: 24,
|
|
182
|
+
fontWeight: 'bold',
|
|
183
|
+
color: '#333',
|
|
184
|
+
marginBottom: 8,
|
|
185
|
+
textAlign: 'center',
|
|
186
|
+
},
|
|
187
|
+
description: {
|
|
188
|
+
fontSize: 16,
|
|
189
|
+
color: '#666',
|
|
190
|
+
textAlign: 'center',
|
|
191
|
+
marginBottom: 24,
|
|
192
|
+
lineHeight: 22,
|
|
193
|
+
},
|
|
194
|
+
countriesContainer: {
|
|
195
|
+
flex: 1,
|
|
196
|
+
},
|
|
197
|
+
countryOption: {
|
|
198
|
+
flexDirection: 'row',
|
|
199
|
+
alignItems: 'center',
|
|
200
|
+
padding: 16,
|
|
201
|
+
backgroundColor: 'white',
|
|
202
|
+
borderRadius: 12,
|
|
203
|
+
marginBottom: 12,
|
|
204
|
+
borderWidth: 2,
|
|
205
|
+
borderColor: '#e5e5e5',
|
|
206
|
+
shadowColor: '#000',
|
|
207
|
+
shadowOffset: {
|
|
208
|
+
width: 0,
|
|
209
|
+
height: 2,
|
|
210
|
+
},
|
|
211
|
+
shadowOpacity: 0.1,
|
|
212
|
+
shadowRadius: 3.84,
|
|
213
|
+
elevation: 5,
|
|
214
|
+
},
|
|
215
|
+
selectedCountryOption: {
|
|
216
|
+
borderColor: '#2DBD60',
|
|
217
|
+
backgroundColor: '#f0f9f0',
|
|
218
|
+
},
|
|
219
|
+
countryFlag: {
|
|
220
|
+
fontSize: 32,
|
|
221
|
+
marginRight: 16,
|
|
222
|
+
},
|
|
223
|
+
countryContent: {
|
|
224
|
+
flex: 1,
|
|
225
|
+
},
|
|
226
|
+
countryName: {
|
|
227
|
+
fontSize: 18,
|
|
228
|
+
fontWeight: '600',
|
|
229
|
+
color: '#333',
|
|
230
|
+
},
|
|
231
|
+
selectedCountryName: {
|
|
232
|
+
color: '#2DBD60',
|
|
233
|
+
},
|
|
234
|
+
countryCode: {
|
|
235
|
+
fontSize: 14,
|
|
236
|
+
color: '#666',
|
|
237
|
+
marginTop: 4,
|
|
238
|
+
fontWeight: '500',
|
|
239
|
+
},
|
|
240
|
+
checkmark: {
|
|
241
|
+
width: 24,
|
|
242
|
+
height: 24,
|
|
243
|
+
borderRadius: 12,
|
|
244
|
+
justifyContent: 'center',
|
|
245
|
+
alignItems: 'center',
|
|
246
|
+
},
|
|
247
|
+
checkmarkText: {
|
|
248
|
+
color: 'white',
|
|
249
|
+
fontSize: 16,
|
|
250
|
+
fontWeight: 'bold',
|
|
251
|
+
},
|
|
252
|
+
selectionInfo: {
|
|
253
|
+
backgroundColor: '#f0f9f0',
|
|
254
|
+
padding: 16,
|
|
255
|
+
borderRadius: 8,
|
|
256
|
+
marginTop: 16,
|
|
257
|
+
alignItems: 'center',
|
|
258
|
+
},
|
|
259
|
+
selectionText: {
|
|
260
|
+
fontSize: 16,
|
|
261
|
+
fontWeight: '600',
|
|
262
|
+
color: '#2DBD60',
|
|
263
|
+
},
|
|
264
|
+
requiredContainer: {
|
|
265
|
+
backgroundColor: '#fff3cd',
|
|
266
|
+
padding: 16,
|
|
267
|
+
borderRadius: 8,
|
|
268
|
+
marginTop: 16,
|
|
269
|
+
alignItems: 'center',
|
|
270
|
+
},
|
|
271
|
+
requiredText: {
|
|
272
|
+
fontSize: 16,
|
|
273
|
+
fontWeight: '600',
|
|
274
|
+
color: '#856404',
|
|
275
|
+
},
|
|
276
|
+
errorText: {
|
|
277
|
+
color: '#dc2626',
|
|
278
|
+
fontSize: 14,
|
|
279
|
+
marginTop: 8,
|
|
280
|
+
textAlign: 'center',
|
|
281
|
+
},
|
|
282
|
+
});
|