react-native-inapp-inspector 2.5.10 → 2.5.11
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/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/executionHistory/executionHistory.lock +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/9.2.0/checksums/checksums.lock +0 -0
- package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/9.2.0/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.settings/org.eclipse.buildship.core.prefs +13 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/results.bin +1 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$activityEventListener$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/c93e459e24d856bde563ebb048265732/results.bin +1 -0
- package/android/build/.transforms/c93e459e24d856bde563ebb048265732/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +10 -0
- package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +160 -0
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +212 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +31 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +22 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +24 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +19 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +18 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +300 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +17 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +23 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +16 -0
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +20 -0
- package/android/build/generated/source/codegen/schema.json +1 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -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 +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -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/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -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/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NativeNetworkInspectorSpec.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$activityEventListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.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 +1 -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/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/constants.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 +17 -0
- package/android/build/reports/problems/problems-report.html +659 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/react-native-inapp-inspector_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView$iconView$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$activityEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
- package/dist/commonjs/a11y.d.ts +2 -0
- package/dist/commonjs/a11y.js +1 -0
- package/dist/commonjs/components/ErrorBoundary.js +1 -1
- package/dist/commonjs/components/Inspector/A11yTab.d.ts +2 -0
- package/dist/commonjs/components/Inspector/A11yTab.js +268 -0
- package/dist/commonjs/components/Inspector/AboutModal.js +4 -1
- package/dist/commonjs/components/Inspector/DeveloperSponsorCard.d.ts +9 -0
- package/dist/commonjs/components/Inspector/DeveloperSponsorCard.js +52 -0
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +4 -4
- package/dist/commonjs/components/Inspector/InspectorHeader.js +74 -66
- package/dist/commonjs/components/Inspector/NetworkTab.js +10 -7
- package/dist/commonjs/components/Inspector/SettingsPanel.js +242 -148
- package/dist/commonjs/components/ModuleErrorBoundary.js +1 -1
- package/dist/commonjs/components/NetworkIcons.d.ts +3 -0
- package/dist/commonjs/components/NetworkIcons.js +18 -5
- package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
- package/dist/commonjs/constants/telemetryConfig.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/a11yAdapter.d.ts +11 -0
- package/dist/commonjs/customHooks/a11yAdapter.js +1 -0
- package/dist/commonjs/customHooks/crashHandler.d.ts +9 -1
- package/dist/commonjs/customHooks/crashHandler.js +4 -4
- package/dist/commonjs/helpers/remoteConfig.d.ts +8 -0
- package/dist/commonjs/helpers/remoteConfig.js +1 -1
- package/dist/commonjs/helpers/sponsorService.d.ts +20 -0
- package/dist/commonjs/helpers/sponsorService.js +1 -0
- package/dist/commonjs/helpers/telemetry.js +1 -1
- package/dist/commonjs/i18n/locales/en.json +1 -1
- package/dist/commonjs/index.d.ts +3 -1
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/types/interfaces.d.ts +20 -0
- package/dist/esm/a11y.d.ts +2 -0
- package/dist/esm/a11y.js +1 -0
- package/dist/esm/components/ErrorBoundary.js +10 -10
- package/dist/esm/components/Inspector/A11yTab.d.ts +2 -0
- package/dist/esm/components/Inspector/A11yTab.js +268 -0
- package/dist/esm/components/Inspector/AboutModal.js +17 -14
- package/dist/esm/components/Inspector/DeveloperSponsorCard.d.ts +9 -0
- package/dist/esm/components/Inspector/DeveloperSponsorCard.js +52 -0
- package/dist/esm/components/Inspector/FloatingCaptureWidget.js +22 -22
- package/dist/esm/components/Inspector/InspectorHeader.js +195 -187
- package/dist/esm/components/Inspector/NetworkTab.js +86 -83
- package/dist/esm/components/Inspector/SettingsPanel.js +329 -235
- package/dist/esm/components/ModuleErrorBoundary.js +1 -1
- package/dist/esm/components/NetworkIcons.d.ts +3 -0
- package/dist/esm/components/NetworkIcons.js +16 -3
- package/dist/esm/constants/telemetryConfig.d.ts +3 -3
- package/dist/esm/constants/telemetryConfig.js +1 -1
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/a11yAdapter.d.ts +11 -0
- package/dist/esm/customHooks/a11yAdapter.js +1 -0
- package/dist/esm/customHooks/crashHandler.d.ts +9 -1
- package/dist/esm/customHooks/crashHandler.js +6 -6
- package/dist/esm/helpers/remoteConfig.d.ts +8 -0
- package/dist/esm/helpers/remoteConfig.js +1 -1
- package/dist/esm/helpers/sponsorService.d.ts +20 -0
- package/dist/esm/helpers/sponsorService.js +1 -0
- package/dist/esm/helpers/telemetry.js +1 -1
- package/dist/esm/i18n/locales/en.json +1 -1
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/types/interfaces.d.ts +20 -0
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/inappinspector/InAppInspectorFloatingView.class
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class
ADDED
|
Binary file
|
package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class
ADDED
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { connectA11ySuite, getA11ySuiteInstance, getA11yState, subscribeA11yState, syncA11yTelemetry, announceA11y, calculateContrastRatio, evaluateTouchTarget, WCAG_RULES, } from './customHooks/a11yAdapter';
|
|
2
|
+
export type { A11yTelemetryState, WcagRule, ColorContrastResult, TouchTargetEvaluation, } from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WCAG_RULES=exports.evaluateTouchTarget=exports.calculateContrastRatio=exports.announceA11y=exports.syncA11yTelemetry=exports.subscribeA11yState=exports.getA11yState=exports.getA11ySuiteInstance=exports.connectA11ySuite=void 0;var a11yAdapter_1=require("./customHooks/a11yAdapter");Object.defineProperty(exports,"connectA11ySuite",{enumerable:!0,get:function(){return a11yAdapter_1.connectA11ySuite}}),Object.defineProperty(exports,"getA11ySuiteInstance",{enumerable:!0,get:function(){return a11yAdapter_1.getA11ySuiteInstance}}),Object.defineProperty(exports,"getA11yState",{enumerable:!0,get:function(){return a11yAdapter_1.getA11yState}}),Object.defineProperty(exports,"subscribeA11yState",{enumerable:!0,get:function(){return a11yAdapter_1.subscribeA11yState}}),Object.defineProperty(exports,"syncA11yTelemetry",{enumerable:!0,get:function(){return a11yAdapter_1.syncA11yTelemetry}}),Object.defineProperty(exports,"announceA11y",{enumerable:!0,get:function(){return a11yAdapter_1.announceA11y}}),Object.defineProperty(exports,"calculateContrastRatio",{enumerable:!0,get:function(){return a11yAdapter_1.calculateContrastRatio}}),Object.defineProperty(exports,"evaluateTouchTarget",{enumerable:!0,get:function(){return a11yAdapter_1.evaluateTouchTarget}}),Object.defineProperty(exports,"WCAG_RULES",{enumerable:!0,get:function(){return a11yAdapter_1.WCAG_RULES}});
|
|
@@ -11,7 +11,7 @@ Timestamp: ${new Date().toISOString()}
|
|
|
11
11
|
|
|
12
12
|
Stack Trace:
|
|
13
13
|
${t.stack||"No stack trace available"}
|
|
14
|
-
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500`;(0,helpers_1.copyToClipboard)(r,(0,i18n_1.t)("errors.errorReport"))}}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,e){try{const r=t?.stack||e?.componentStack||""
|
|
14
|
+
\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500`;(0,helpers_1.copyToClipboard)(r,(0,i18n_1.t)("errors.errorReport"))}}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,e){try{const r=t?.stack||e?.componentStack||"",o=(0,crashHandler_1.handleInterceptedCrash)(t,r,!1,enums_1.CrashType.Render,e?.componentStack);o&&!o.id.startsWith("crash_ignored_")&&((0,NativeInspector_1.showNativeFloatingButton)(),(0,NativeInspector_1.setNativeFloatingButtonBadge)(!0))}catch{}}render(){const{hasError:t,error:e}=this.state;if(!t||!e)return this.props.children;const{rootFrame:r,frames:o}=parseStackTrace(e.stack||""),s=e.name||(0,i18n_1.t)("errors.title"),u=s.includes("Syntax")||s.includes("Type")||s.includes("Reference");return this.props.fallbackType==="inline"?<react_native_1.View style={styles.inlineContainer}>
|
|
15
15
|
<react_native_1.View style={styles.inlineHeader}>
|
|
16
16
|
<NetworkIcons_1.WarningTriangleIcon color={AppColors_1.AppColors.red600}size={18}/>
|
|
17
17
|
<react_native_1.View style={{flex:1}}>
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,t,a,r){r===void 0&&(r=a);var i=Object.getOwnPropertyDescriptor(t,a);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[a]}}),Object.defineProperty(o,r,i)}):(function(o,t,a,r){r===void 0&&(r=a),o[r]=t[a]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,t){Object.defineProperty(o,"default",{enumerable:!0,value:t})}):function(o,t){o.default=t}),__importStar=this&&this.__importStar||(function(){var o=function(t){return o=Object.getOwnPropertyNames||function(a){var r=[];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[r.length]=i);return r},o(t)};return function(t){if(t&&t.__esModule)return t;var a={};if(t!=null)for(var r=o(t),i=0;i<r.length;i++)r[i]!=="default"&&__createBinding(a,t,r[i]);return __setModuleDefault(a,t),a}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.A11yTab=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),a11yAdapter_1=require("../../customHooks/a11yAdapter"),helpers_1=require("../../helpers"),toast_1=require("../../helpers/toast"),i18n_1=require("../../i18n"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),NetworkIcons_1=require("../NetworkIcons"),TouchableScale_1=__importDefault(require("../TouchableScale")),A11yTab=()=>{const{t:o}=(0,i18n_1.useTranslation)(),[t,a]=(0,react_1.useState)("status"),[r,i]=(0,react_1.useState)((0,a11yAdapter_1.getA11yState)()),[s,x]=(0,react_1.useState)("Accessibility announcement test"),[y,C]=(0,react_1.useState)("#FFFFFF"),[g,A]=(0,react_1.useState)("#4F46E5"),[T,m]=(0,react_1.useState)("44"),[b,v]=(0,react_1.useState)("44"),[d,f]=(0,react_1.useState)(""),[c,w]=(0,react_1.useState)("ALL"),[_,I]=(0,react_1.useState)("ALL"),[S,h]=(0,react_1.useState)({});(0,react_1.useEffect)(()=>((0,a11yAdapter_1.syncA11yTelemetry)(),(0,a11yAdapter_1.subscribeA11yState)(e=>{i(e)})),[]);const V=(0,react_1.useCallback)(async()=>{const e=await(0,a11yAdapter_1.syncA11yTelemetry)();i(e),(0,toast_1.showToast)(`A11y Telemetry Updated (VoiceOver/TalkBack: ${e.isScreenReaderEnabled?"Active":"Inactive"})`)},[]),F=(0,react_1.useCallback)(()=>{if(!s.trim()){(0,toast_1.showToast)("Please enter text to announce");return}(0,a11yAdapter_1.announceA11y)(s)?(0,toast_1.showToast)(`Announced: "${s}"`):(0,toast_1.showToast)("Dispatched via AccessibilityInfo fallback")},[s]),l=(0,react_1.useMemo)(()=>(0,a11yAdapter_1.calculateContrastRatio)(y,g),[y,g]),u=(0,react_1.useMemo)(()=>{const e=parseFloat(T)||0,n=parseFloat(b)||0;return(0,a11yAdapter_1.evaluateTouchTarget)(e,n)},[T,b]),B=(0,react_1.useMemo)(()=>a11yAdapter_1.WCAG_RULES.filter(e=>{if(c!=="ALL"&&e.level!==c||_!=="ALL"&&e.principle!==_)return!1;if(d.trim()){const n=d.toLowerCase();return e.id.toLowerCase().includes(n)||e.title.toLowerCase().includes(n)||e.description.toLowerCase().includes(n)||e.mobileRecommendation.toLowerCase().includes(n)}return!0}),[d,c,_]),k=(0,react_1.useCallback)(e=>{h(n=>({...n,[e]:!n[e]}))},[]),p=!!(0,a11yAdapter_1.getA11ySuiteInstance)();return<react_native_1.View style={styles.container}>
|
|
2
|
+
|
|
3
|
+
<react_native_1.View style={styles.subTabBar}>
|
|
4
|
+
<react_native_1.TouchableOpacity style={[styles.subTabItem,t==="status"&&styles.subTabItemActive]}onPress={()=>a("status")}activeOpacity={.7}>
|
|
5
|
+
<NetworkIcons_1.SignalIcon size={14}color={t==="status"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.grayTextWeak}/>
|
|
6
|
+
<react_native_1.Text style={[styles.subTabText,t==="status"&&styles.subTabTextActive]}>
|
|
7
|
+
Status & Telemetry
|
|
8
|
+
</react_native_1.Text>
|
|
9
|
+
</react_native_1.TouchableOpacity>
|
|
10
|
+
|
|
11
|
+
<react_native_1.TouchableOpacity style={[styles.subTabItem,t==="tools"&&styles.subTabItemActive]}onPress={()=>a("tools")}activeOpacity={.7}>
|
|
12
|
+
<NetworkIcons_1.TerminalIcon size={14}color={t==="tools"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.grayTextWeak}/>
|
|
13
|
+
<react_native_1.Text style={[styles.subTabText,t==="tools"&&styles.subTabTextActive]}>
|
|
14
|
+
A11y Tools
|
|
15
|
+
</react_native_1.Text>
|
|
16
|
+
</react_native_1.TouchableOpacity>
|
|
17
|
+
|
|
18
|
+
<react_native_1.TouchableOpacity style={[styles.subTabItem,t==="wcag"&&styles.subTabItemActive]}onPress={()=>a("wcag")}activeOpacity={.7}>
|
|
19
|
+
<NetworkIcons_1.AccessibilityIcon size={14}color={t==="wcag"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.grayTextWeak}/>
|
|
20
|
+
<react_native_1.Text style={[styles.subTabText,t==="wcag"&&styles.subTabTextActive]}>
|
|
21
|
+
WCAG 2.2 Standards
|
|
22
|
+
</react_native_1.Text>
|
|
23
|
+
</react_native_1.TouchableOpacity>
|
|
24
|
+
</react_native_1.View>
|
|
25
|
+
|
|
26
|
+
<react_native_1.ScrollView style={styles.scrollContent}contentContainerStyle={styles.scrollContainer}showsVerticalScrollIndicator={!1}>
|
|
27
|
+
|
|
28
|
+
{t==="status"&&<react_native_1.View>
|
|
29
|
+
|
|
30
|
+
<react_native_1.View style={[styles.bannerCard,{backgroundColor:p?`${AppColors_1.AppColors.greenColor}14`:`${AppColors_1.AppColors.brandPurple}14`,borderColor:p?`${AppColors_1.AppColors.greenColor}33`:`${AppColors_1.AppColors.brandPurple}33`}]}>
|
|
31
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8}}>
|
|
32
|
+
<NetworkIcons_1.AccessibilityIcon size={20}color={p?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.brandPurple}/>
|
|
33
|
+
<react_native_1.View style={{flex:1}}>
|
|
34
|
+
<react_native_1.Text style={styles.bannerTitle}>
|
|
35
|
+
{p?"react-native-a11y-suite Active":"react-native-inapp-inspector A11y Engine"}
|
|
36
|
+
</react_native_1.Text>
|
|
37
|
+
<react_native_1.Text style={styles.bannerSubtitle}>
|
|
38
|
+
{p?"Connected to native TurboModules for enhanced assistive telemetry.":"Running in zero-config mode with native AccessibilityInfo bridge."}
|
|
39
|
+
</react_native_1.Text>
|
|
40
|
+
</react_native_1.View>
|
|
41
|
+
</react_native_1.View>
|
|
42
|
+
</react_native_1.View>
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
<react_native_1.View style={styles.metricsGrid}>
|
|
46
|
+
<react_native_1.View style={styles.metricCard}>
|
|
47
|
+
<react_native_1.Text style={styles.metricLabel}>Screen Reader</react_native_1.Text>
|
|
48
|
+
<react_native_1.View style={styles.badgeRow}>
|
|
49
|
+
<react_native_1.View style={[styles.statusDot,{backgroundColor:r.isScreenReaderEnabled?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.grayTextWeak}]}/>
|
|
50
|
+
<react_native_1.Text style={[styles.metricValue,{color:r.isScreenReaderEnabled?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.grayTextStrong}]}>
|
|
51
|
+
{r.isScreenReaderEnabled?react_native_1.Platform.OS==="ios"?"VoiceOver ON":"TalkBack ON":"Inactive"}
|
|
52
|
+
</react_native_1.Text>
|
|
53
|
+
</react_native_1.View>
|
|
54
|
+
</react_native_1.View>
|
|
55
|
+
|
|
56
|
+
<react_native_1.View style={styles.metricCard}>
|
|
57
|
+
<react_native_1.Text style={styles.metricLabel}>Font Scale Multiplier</react_native_1.Text>
|
|
58
|
+
<react_native_1.Text style={[styles.metricValue,{color:AppColors_1.AppColors.brandPurple}]}>
|
|
59
|
+
{r.fontScale}x
|
|
60
|
+
</react_native_1.Text>
|
|
61
|
+
<react_native_1.Text style={styles.metricSub}>
|
|
62
|
+
{r.fontScale>=1.5?"Accessibility Size":r.fontScale>1?"Large Scale":"Default (1.0x)"}
|
|
63
|
+
</react_native_1.Text>
|
|
64
|
+
</react_native_1.View>
|
|
65
|
+
|
|
66
|
+
<react_native_1.View style={styles.metricCard}>
|
|
67
|
+
<react_native_1.Text style={styles.metricLabel}>Reduced Motion</react_native_1.Text>
|
|
68
|
+
<react_native_1.Text style={[styles.metricValue,{color:r.isReduceMotionEnabled?AppColors_1.AppColors.lightOrange:AppColors_1.AppColors.grayTextStrong}]}>
|
|
69
|
+
{r.isReduceMotionEnabled?"Enabled (No Anim)":"Disabled"}
|
|
70
|
+
</react_native_1.Text>
|
|
71
|
+
</react_native_1.View>
|
|
72
|
+
|
|
73
|
+
<react_native_1.View style={styles.metricCard}>
|
|
74
|
+
<react_native_1.Text style={styles.metricLabel}>Bold Text</react_native_1.Text>
|
|
75
|
+
<react_native_1.Text style={[styles.metricValue,{color:r.isBoldTextEnabled?AppColors_1.AppColors.skyBlue:AppColors_1.AppColors.grayTextStrong}]}>
|
|
76
|
+
{r.isBoldTextEnabled?"Enabled":"Default"}
|
|
77
|
+
</react_native_1.Text>
|
|
78
|
+
</react_native_1.View>
|
|
79
|
+
|
|
80
|
+
<react_native_1.View style={styles.metricCard}>
|
|
81
|
+
<react_native_1.Text style={styles.metricLabel}>High Contrast</react_native_1.Text>
|
|
82
|
+
<react_native_1.Text style={[styles.metricValue,{color:r.isHighContrastEnabled?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.grayTextStrong}]}>
|
|
83
|
+
{r.isHighContrastEnabled?"Enabled":"Default"}
|
|
84
|
+
</react_native_1.Text>
|
|
85
|
+
</react_native_1.View>
|
|
86
|
+
|
|
87
|
+
<react_native_1.View style={styles.metricCard}>
|
|
88
|
+
<react_native_1.Text style={styles.metricLabel}>Invert Colors</react_native_1.Text>
|
|
89
|
+
<react_native_1.Text style={[styles.metricValue,{color:r.isInvertColorsEnabled?AppColors_1.AppColors.lightOrange:AppColors_1.AppColors.grayTextStrong}]}>
|
|
90
|
+
{r.isInvertColorsEnabled?"Enabled":"Default"}
|
|
91
|
+
</react_native_1.Text>
|
|
92
|
+
</react_native_1.View>
|
|
93
|
+
</react_native_1.View>
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
<TouchableScale_1.default style={styles.actionButton}onPress={V}>
|
|
97
|
+
<NetworkIcons_1.SignalIcon size={16}color={AppColors_1.AppColors.white}/>
|
|
98
|
+
<react_native_1.Text style={styles.actionButtonText}>Sync Accessibility Telemetry</react_native_1.Text>
|
|
99
|
+
</TouchableScale_1.default>
|
|
100
|
+
</react_native_1.View>}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
{t==="tools"&&<react_native_1.View>
|
|
104
|
+
|
|
105
|
+
<react_native_1.View style={styles.toolCard}>
|
|
106
|
+
<react_native_1.View style={styles.toolHeader}>
|
|
107
|
+
<NetworkIcons_1.AccessibilityIcon size={18}color={AppColors_1.AppColors.brandPurple}/>
|
|
108
|
+
<react_native_1.Text style={styles.toolTitle}>Live Speech & Announcement Tester</react_native_1.Text>
|
|
109
|
+
</react_native_1.View>
|
|
110
|
+
<react_native_1.Text style={styles.toolDesc}>
|
|
111
|
+
Dispatches announcements directly to active assistive technologies
|
|
112
|
+
(VoiceOver on iOS, TalkBack on Android).
|
|
113
|
+
</react_native_1.Text>
|
|
114
|
+
|
|
115
|
+
<react_native_1.TextInput style={styles.input}value={s}onChangeText={x}placeholder="Enter message to announce..."placeholderTextColor={AppColors_1.AppColors.grayTextWeak}/>
|
|
116
|
+
|
|
117
|
+
<TouchableScale_1.default style={[styles.actionButton,{marginTop:10}]}onPress={F}>
|
|
118
|
+
<react_native_1.Text style={styles.actionButtonText}>📢 Dispatch Announcement</react_native_1.Text>
|
|
119
|
+
</TouchableScale_1.default>
|
|
120
|
+
</react_native_1.View>
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
<react_native_1.View style={styles.toolCard}>
|
|
124
|
+
<react_native_1.View style={styles.toolHeader}>
|
|
125
|
+
<NetworkIcons_1.AccessibilityIcon size={18}color={AppColors_1.AppColors.skyBlue}/>
|
|
126
|
+
<react_native_1.Text style={styles.toolTitle}>WCAG 2.2 Color Contrast Checker</react_native_1.Text>
|
|
127
|
+
</react_native_1.View>
|
|
128
|
+
<react_native_1.Text style={styles.toolDesc}>
|
|
129
|
+
Calculates relative luminance and contrast ratio between foreground text
|
|
130
|
+
and background surfaces.
|
|
131
|
+
</react_native_1.Text>
|
|
132
|
+
|
|
133
|
+
<react_native_1.View style={{flexDirection:"row",gap:10,marginTop:10}}>
|
|
134
|
+
<react_native_1.View style={{flex:1}}>
|
|
135
|
+
<react_native_1.Text style={styles.inputLabel}>Text Hex</react_native_1.Text>
|
|
136
|
+
<react_native_1.TextInput style={styles.input}value={y}onChangeText={C}placeholder="#FFFFFF"placeholderTextColor={AppColors_1.AppColors.grayTextWeak}autoCapitalize="characters"/>
|
|
137
|
+
</react_native_1.View>
|
|
138
|
+
<react_native_1.View style={{flex:1}}>
|
|
139
|
+
<react_native_1.Text style={styles.inputLabel}>Background Hex</react_native_1.Text>
|
|
140
|
+
<react_native_1.TextInput style={styles.input}value={g}onChangeText={A}placeholder="#4F46E5"placeholderTextColor={AppColors_1.AppColors.grayTextWeak}autoCapitalize="characters"/>
|
|
141
|
+
</react_native_1.View>
|
|
142
|
+
</react_native_1.View>
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
<react_native_1.View style={[styles.contrastPreviewBox,{backgroundColor:l.bgHex||"#4F46E5"}]}>
|
|
146
|
+
<react_native_1.Text style={[styles.contrastPreviewText,{color:l.fgHex||"#FFFFFF"}]}>
|
|
147
|
+
Sample Text Preview
|
|
148
|
+
</react_native_1.Text>
|
|
149
|
+
</react_native_1.View>
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
<react_native_1.View style={styles.ratioRow}>
|
|
153
|
+
<react_native_1.Text style={styles.ratioValue}>{l.ratio}:1</react_native_1.Text>
|
|
154
|
+
<react_native_1.View style={styles.badgeContainer}>
|
|
155
|
+
<react_native_1.View style={[styles.complianceBadge,l.aaNormal?styles.badgePass:styles.badgeFail]}>
|
|
156
|
+
<react_native_1.Text style={[styles.badgeText,l.aaNormal?styles.textPass:styles.textFail]}>
|
|
157
|
+
AA (4.5:1) {l.aaNormal?"\u2713":"\u2717"}
|
|
158
|
+
</react_native_1.Text>
|
|
159
|
+
</react_native_1.View>
|
|
160
|
+
<react_native_1.View style={[styles.complianceBadge,l.aaLarge?styles.badgePass:styles.badgeFail]}>
|
|
161
|
+
<react_native_1.Text style={[styles.badgeText,l.aaLarge?styles.textPass:styles.textFail]}>
|
|
162
|
+
AA Large (3:1) {l.aaLarge?"\u2713":"\u2717"}
|
|
163
|
+
</react_native_1.Text>
|
|
164
|
+
</react_native_1.View>
|
|
165
|
+
<react_native_1.View style={[styles.complianceBadge,l.aaaNormal?styles.badgePass:styles.badgeFail]}>
|
|
166
|
+
<react_native_1.Text style={[styles.badgeText,l.aaaNormal?styles.textPass:styles.textFail]}>
|
|
167
|
+
AAA (7:1) {l.aaaNormal?"\u2713":"\u2717"}
|
|
168
|
+
</react_native_1.Text>
|
|
169
|
+
</react_native_1.View>
|
|
170
|
+
</react_native_1.View>
|
|
171
|
+
</react_native_1.View>
|
|
172
|
+
</react_native_1.View>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
<react_native_1.View style={styles.toolCard}>
|
|
176
|
+
<react_native_1.View style={styles.toolHeader}>
|
|
177
|
+
<NetworkIcons_1.AccessibilityIcon size={18}color={AppColors_1.AppColors.greenColor}/>
|
|
178
|
+
<react_native_1.Text style={styles.toolTitle}>Touch Target Evaluator (WCAG 2.5.5/2.5.8)</react_native_1.Text>
|
|
179
|
+
</react_native_1.View>
|
|
180
|
+
<react_native_1.Text style={styles.toolDesc}>
|
|
181
|
+
Validates interactive component dimensions against Apple HIG (44pt) and
|
|
182
|
+
Android Material (48dp) minimums.
|
|
183
|
+
</react_native_1.Text>
|
|
184
|
+
|
|
185
|
+
<react_native_1.View style={{flexDirection:"row",gap:10,marginTop:10}}>
|
|
186
|
+
<react_native_1.View style={{flex:1}}>
|
|
187
|
+
<react_native_1.Text style={styles.inputLabel}>Width (dp/pt)</react_native_1.Text>
|
|
188
|
+
<react_native_1.TextInput style={styles.input}value={T}onChangeText={m}keyboardType="numeric"/>
|
|
189
|
+
</react_native_1.View>
|
|
190
|
+
<react_native_1.View style={{flex:1}}>
|
|
191
|
+
<react_native_1.Text style={styles.inputLabel}>Height (dp/pt)</react_native_1.Text>
|
|
192
|
+
<react_native_1.TextInput style={styles.input}value={b}onChangeText={v}keyboardType="numeric"/>
|
|
193
|
+
</react_native_1.View>
|
|
194
|
+
</react_native_1.View>
|
|
195
|
+
|
|
196
|
+
<react_native_1.View style={styles.targetResultsRow}>
|
|
197
|
+
<react_native_1.View style={styles.targetStatusBox}>
|
|
198
|
+
<react_native_1.Text style={styles.targetPlatformLabel}>iOS HIG (44x44pt)</react_native_1.Text>
|
|
199
|
+
<react_native_1.Text style={[styles.targetStatusValue,{color:u.iosMinMet?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.errorColor}]}>
|
|
200
|
+
{u.iosMinMet?"\u2713 Compliant":"\u2717 Too Small"}
|
|
201
|
+
</react_native_1.Text>
|
|
202
|
+
</react_native_1.View>
|
|
203
|
+
<react_native_1.View style={styles.targetStatusBox}>
|
|
204
|
+
<react_native_1.Text style={styles.targetPlatformLabel}>Android Material (48x48dp)</react_native_1.Text>
|
|
205
|
+
<react_native_1.Text style={[styles.targetStatusValue,{color:u.androidMinMet?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.errorColor}]}>
|
|
206
|
+
{u.androidMinMet?"\u2713 Compliant":"\u2717 Too Small"}
|
|
207
|
+
</react_native_1.Text>
|
|
208
|
+
</react_native_1.View>
|
|
209
|
+
</react_native_1.View>
|
|
210
|
+
</react_native_1.View>
|
|
211
|
+
</react_native_1.View>}
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
{t==="wcag"&&<react_native_1.View>
|
|
215
|
+
|
|
216
|
+
<react_native_1.View style={styles.searchBar}>
|
|
217
|
+
<NetworkIcons_1.SearchIcon size={16}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
218
|
+
<react_native_1.TextInput style={styles.searchInput}value={d}onChangeText={f}placeholder="Search WCAG 2.2 rules..."placeholderTextColor={AppColors_1.AppColors.grayTextWeak}/>
|
|
219
|
+
</react_native_1.View>
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
<react_native_1.ScrollView horizontal showsHorizontalScrollIndicator={!1}style={{marginBottom:12}}>
|
|
223
|
+
{["ALL","A","AA","AAA"].map(e=><react_native_1.TouchableOpacity key={e}style={[styles.filterChip,c===e&&styles.filterChipActive]}onPress={()=>w(e)}>
|
|
224
|
+
<react_native_1.Text style={[styles.filterChipText,c===e&&styles.filterChipTextActive]}>
|
|
225
|
+
Level {e}
|
|
226
|
+
</react_native_1.Text>
|
|
227
|
+
</react_native_1.TouchableOpacity>)}
|
|
228
|
+
</react_native_1.ScrollView>
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
{B.map(e=>{const n=!!S[e.id];return<react_native_1.View key={e.id}style={styles.ruleCard}>
|
|
232
|
+
<react_native_1.TouchableOpacity style={styles.ruleCardHeader}onPress={()=>k(e.id)}activeOpacity={.7}>
|
|
233
|
+
<react_native_1.View style={{flex:1}}>
|
|
234
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
235
|
+
<react_native_1.Text style={styles.ruleId}>{e.id}</react_native_1.Text>
|
|
236
|
+
<react_native_1.View style={[styles.levelBadge,{backgroundColor:e.level==="AAA"?`${AppColors_1.AppColors.brandPurple}22`:e.level==="AA"?`${AppColors_1.AppColors.skyBlue}22`:`${AppColors_1.AppColors.greenColor}22`}]}>
|
|
237
|
+
<react_native_1.Text style={[styles.levelBadgeText,{color:e.level==="AAA"?AppColors_1.AppColors.brandPurple:e.level==="AA"?AppColors_1.AppColors.skyBlue:AppColors_1.AppColors.greenColor}]}>
|
|
238
|
+
Level {e.level}
|
|
239
|
+
</react_native_1.Text>
|
|
240
|
+
</react_native_1.View>
|
|
241
|
+
<react_native_1.Text style={styles.principleTag}>{e.principle}</react_native_1.Text>
|
|
242
|
+
</react_native_1.View>
|
|
243
|
+
<react_native_1.Text style={styles.ruleTitle}>{e.title}</react_native_1.Text>
|
|
244
|
+
</react_native_1.View>
|
|
245
|
+
<NetworkIcons_1.ChevronIcon direction={n?"up":"down"}size={16}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
246
|
+
</react_native_1.TouchableOpacity>
|
|
247
|
+
|
|
248
|
+
{n&&<react_native_1.View style={styles.ruleBody}>
|
|
249
|
+
<react_native_1.Text style={styles.ruleDescLabel}>Criterion Definition:</react_native_1.Text>
|
|
250
|
+
<react_native_1.Text style={styles.ruleDesc}>{e.description}</react_native_1.Text>
|
|
251
|
+
|
|
252
|
+
<react_native_1.Text style={[styles.ruleDescLabel,{marginTop:8}]}>
|
|
253
|
+
Mobile / React Native Recommendation:
|
|
254
|
+
</react_native_1.Text>
|
|
255
|
+
<react_native_1.Text style={styles.ruleRec}>{e.mobileRecommendation}</react_native_1.Text>
|
|
256
|
+
|
|
257
|
+
<react_native_1.TouchableOpacity style={styles.copyRuleBtn}onPress={()=>{(0,helpers_1.copyToClipboard)(`WCAG ${e.id} ${e.title} (Level ${e.level}):
|
|
258
|
+
${e.description}
|
|
259
|
+
|
|
260
|
+
Mobile: ${e.mobileRecommendation}`),(0,toast_1.showToast)(`Copied WCAG ${e.id} rule guidance`)}}>
|
|
261
|
+
<NetworkIcons_1.CopyIcon size={14}color={AppColors_1.AppColors.brandPurple}/>
|
|
262
|
+
<react_native_1.Text style={styles.copyRuleBtnText}>Copy Rule Guidance</react_native_1.Text>
|
|
263
|
+
</react_native_1.TouchableOpacity>
|
|
264
|
+
</react_native_1.View>}
|
|
265
|
+
</react_native_1.View>})}
|
|
266
|
+
</react_native_1.View>}
|
|
267
|
+
</react_native_1.ScrollView>
|
|
268
|
+
</react_native_1.View>};exports.A11yTab=A11yTab;const styles=react_native_1.StyleSheet.create({container:{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground},subTabBar:{flexDirection:"row",backgroundColor:AppColors_1.AppColors.graySurface,borderBottomWidth:react_native_1.StyleSheet.hairlineWidth,borderBottomColor:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:8,paddingVertical:4,gap:4},subTabItem:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"center",paddingVertical:8,borderRadius:8,gap:6},subTabItemActive:{backgroundColor:`${AppColors_1.AppColors.brandPurple}1F`},subTabText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.grayTextWeak},subTabTextActive:{color:AppColors_1.AppColors.brandPurple,fontFamily:AppFonts_1.AppFonts.interBold},scrollContent:{flex:1},scrollContainer:{padding:14,paddingBottom:40},bannerCard:{borderRadius:10,borderWidth:1,padding:12,marginBottom:14},bannerTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.grayTextStrong},bannerSubtitle:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,marginTop:2},metricsGrid:{flexDirection:"row",flexWrap:"wrap",gap:10,marginBottom:14},metricCard:{flexBasis:"48%",flexGrow:1,backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:12},metricLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,marginBottom:4},metricValue:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:14,color:AppColors_1.AppColors.grayTextStrong},metricSub:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:AppColors_1.AppColors.grayTextWeak,marginTop:2},badgeRow:{flexDirection:"row",alignItems:"center",gap:6},statusDot:{width:8,height:8,borderRadius:4},actionButton:{flexDirection:"row",alignItems:"center",justifyContent:"center",backgroundColor:AppColors_1.AppColors.brandPurple,paddingVertical:12,borderRadius:8,gap:8},actionButtonText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.white},toolCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:14,marginBottom:14},toolHeader:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:4},toolTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.grayTextStrong},toolDesc:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,marginBottom:8},inputLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayTextWeak,marginBottom:4},input:{backgroundColor:AppColors_1.AppColors.graySurface,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,borderRadius:8,paddingHorizontal:12,paddingVertical:8,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:13,color:AppColors_1.AppColors.grayTextStrong},contrastPreviewBox:{marginTop:12,borderRadius:8,padding:16,alignItems:"center",justifyContent:"center"},contrastPreviewText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:15},ratioRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:12},ratioValue:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:18,color:AppColors_1.AppColors.grayTextStrong},badgeContainer:{flexDirection:"row",gap:6},complianceBadge:{paddingHorizontal:8,paddingVertical:4,borderRadius:6,borderWidth:1},badgePass:{backgroundColor:`${AppColors_1.AppColors.greenColor}1A`,borderColor:`${AppColors_1.AppColors.greenColor}33`},badgeFail:{backgroundColor:`${AppColors_1.AppColors.errorColor}1A`,borderColor:`${AppColors_1.AppColors.errorColor}33`},badgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10},textPass:{color:AppColors_1.AppColors.greenColor},textFail:{color:AppColors_1.AppColors.errorColor},targetResultsRow:{flexDirection:"row",gap:10,marginTop:12},targetStatusBox:{flex:1,backgroundColor:AppColors_1.AppColors.graySurface,padding:10,borderRadius:8,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,alignItems:"center"},targetPlatformLabel:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:10,color:AppColors_1.AppColors.grayTextWeak},targetStatusValue:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,marginTop:4},searchBar:{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:8,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:10,paddingVertical:6,gap:6,marginBottom:10},searchInput:{flex:1,fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12,color:AppColors_1.AppColors.grayTextStrong,padding:0},filterChip:{paddingHorizontal:10,paddingVertical:5,borderRadius:6,backgroundColor:AppColors_1.AppColors.graySurface,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,marginRight:6},filterChipActive:{backgroundColor:AppColors_1.AppColors.brandPurple,borderColor:AppColors_1.AppColors.brandPurple},filterChipText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.grayTextWeak},filterChipTextActive:{color:AppColors_1.AppColors.white,fontFamily:AppFonts_1.AppFonts.interBold},ruleCard:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:12,marginBottom:10},ruleCardHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},ruleId:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.brandPurple},levelBadge:{paddingHorizontal:6,paddingVertical:2,borderRadius:4},levelBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9},principleTag:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,color:AppColors_1.AppColors.grayTextWeak},ruleTitle:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,color:AppColors_1.AppColors.grayTextStrong,marginTop:4},ruleBody:{marginTop:10,paddingTop:10,borderTopWidth:react_native_1.StyleSheet.hairlineWidth,borderTopColor:AppColors_1.AppColors.grayBorderSecondary},ruleDescLabel:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,color:AppColors_1.AppColors.grayTextWeak,textTransform:"uppercase"},ruleDesc:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:12,color:AppColors_1.AppColors.grayTextStrong,marginTop:2,lineHeight:16},ruleRec:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.brandPurple,marginTop:2,lineHeight:16},copyRuleBtn:{flexDirection:"row",alignItems:"center",gap:6,marginTop:10,alignSelf:"flex-start",paddingVertical:4,paddingHorizontal:8,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.brandPurple}14`},copyRuleBtnText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.brandPurple}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AboutModal=void 0;const react_1=__importDefault(require("react")),react_native_1=require("react-native"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),TouchableScale_1=__importDefault(require("../TouchableScale")),InspectorContext_1=require("./InspectorContext"),i18n_1=require("../../i18n"),version_1=require("../../constants/version"),AppHeaderLogo_1=__importDefault(require("../AppHeaderLogo")),helpers_1=require("../../helpers"),NetworkIcons_1=require("../NetworkIcons"),AboutModal=({onClose:e})=>{const{updateAvailable:t,latestNpmVersion:o}=(0,InspectorContext_1.useInspector)();return<react_native_1.View style={styles.container}>
|
|
1
|
+
"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AboutModal=void 0;const react_1=__importDefault(require("react")),react_native_1=require("react-native"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),TouchableScale_1=__importDefault(require("../TouchableScale")),InspectorContext_1=require("./InspectorContext"),i18n_1=require("../../i18n"),version_1=require("../../constants/version"),AppHeaderLogo_1=__importDefault(require("../AppHeaderLogo")),helpers_1=require("../../helpers"),DeveloperSponsorCard_1=require("./DeveloperSponsorCard"),NetworkIcons_1=require("../NetworkIcons"),AboutModal=({onClose:e})=>{const{updateAvailable:t,latestNpmVersion:o}=(0,InspectorContext_1.useInspector)();return<react_native_1.View style={styles.container}>
|
|
2
2
|
<react_native_1.ScrollView style={styles.scrollView}contentContainerStyle={styles.scrollContent}showsVerticalScrollIndicator={!1}>
|
|
3
3
|
|
|
4
4
|
<react_native_1.View style={styles.heroCard}>
|
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
</react_native_1.View>
|
|
41
41
|
|
|
42
42
|
|
|
43
|
+
<DeveloperSponsorCard_1.DeveloperSponsorCard/>
|
|
44
|
+
|
|
45
|
+
|
|
43
46
|
<react_native_1.View style={styles.sectionCard}>
|
|
44
47
|
<react_native_1.Text style={styles.sectionHeader}>{(0,i18n_1.t)("about.appInformation","APP INFORMATION")}</react_native_1.Text>
|
|
45
48
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DeveloperSponsorCardProps {
|
|
3
|
+
publisherId?: string;
|
|
4
|
+
customEndpoint?: string;
|
|
5
|
+
containerStyle?: object;
|
|
6
|
+
compact?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const DeveloperSponsorCard: React.FC<DeveloperSponsorCardProps>;
|
|
9
|
+
export default DeveloperSponsorCard;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,t,n,r){r===void 0&&(r=n);var e=Object.getOwnPropertyDescriptor(t,n);(!e||("get"in e?!t.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(o,r,e)}):(function(o,t,n,r){r===void 0&&(r=n),o[r]=t[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,t){Object.defineProperty(o,"default",{enumerable:!0,value:t})}):function(o,t){o.default=t}),__importStar=this&&this.__importStar||(function(){var o=function(t){return o=Object.getOwnPropertyNames||function(n){var r=[];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(r[r.length]=e);return r},o(t)};return function(t){if(t&&t.__esModule)return t;var n={};if(t!=null)for(var r=o(t),e=0;e<r.length;e++)r[e]!=="default"&&__createBinding(n,t,r[e]);return __setModuleDefault(n,t),n}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.DeveloperSponsorCard=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),TouchableScale_1=__importDefault(require("../TouchableScale")),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),sponsorService_1=require("../../helpers/sponsorService"),NetworkIcons_1=require("../NetworkIcons"),DeveloperSponsorCard=({publisherId:o,customEndpoint:t,containerStyle:n,compact:r=!1})=>{const[e,s]=(0,react_1.useState)(null);if((0,react_1.useEffect)(()=>{let l=!0;return(0,sponsorService_1.fetchDeveloperSponsor)(o,t).then(a=>{l&&a&&(s(a),(0,sponsorService_1.trackSponsorImpression)(a))}),()=>{l=!1}},[o,t]),!e)return null;const i=e.accentColor||AppColors_1.AppColors.indigo600;return<TouchableScale_1.default onPress={()=>(0,sponsorService_1.handleSponsorClick)(e)}style={[styles.cardContainer,{borderColor:`${i}40`},n]}>
|
|
2
|
+
|
|
3
|
+
<react_native_1.View style={[styles.glowBackground,{backgroundColor:`${i}0A`}]}/>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<react_native_1.View style={styles.headerRow}>
|
|
7
|
+
<react_native_1.View style={styles.badgeRow}>
|
|
8
|
+
<react_native_1.View style={[styles.sponsorBadge,{backgroundColor:`${i}1F`,borderColor:`${i}44`}]}>
|
|
9
|
+
<NetworkIcons_1.SparklesIcon size={10}color={i}/>
|
|
10
|
+
<react_native_1.Text style={[styles.sponsorBadgeText,{color:i}]}>
|
|
11
|
+
{e.badgeText||"SPONSORED"}
|
|
12
|
+
</react_native_1.Text>
|
|
13
|
+
</react_native_1.View>
|
|
14
|
+
{e.sponsorName?<react_native_1.Text style={styles.sponsorNameText}>· {e.sponsorName}</react_native_1.Text>:null}
|
|
15
|
+
</react_native_1.View>
|
|
16
|
+
|
|
17
|
+
<react_native_1.View style={styles.verifiedRow}>
|
|
18
|
+
{e.type==="ethicalads"?<react_native_1.Pressable hitSlop={8}onPress={()=>react_native_1.Linking.openURL("https://www.ethicalads.io/?ref=react-native-inapp-inspector").catch(()=>{})}style={{flexDirection:"row",alignItems:"center",gap:3.5}}>
|
|
19
|
+
<react_native_1.Text style={styles.verifiedText}>Ad by EthicalAds</react_native_1.Text>
|
|
20
|
+
<NetworkIcons_1.ExternalLinkIcon size={10}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
21
|
+
</react_native_1.Pressable>:<>
|
|
22
|
+
<NetworkIcons_1.ShieldCheckIcon size={11}color={AppColors_1.AppColors.emerald500}/>
|
|
23
|
+
<react_native_1.Text style={styles.verifiedText}>Verified Dev Tool</react_native_1.Text>
|
|
24
|
+
<NetworkIcons_1.ExternalLinkIcon size={11}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
25
|
+
</>}
|
|
26
|
+
</react_native_1.View>
|
|
27
|
+
</react_native_1.View>
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
<react_native_1.View style={styles.contentRow}>
|
|
31
|
+
{e.logoUrl?<react_native_1.Image source={{uri:e.logoUrl}}style={styles.logoImage}resizeMode="contain"/>:<react_native_1.View style={[styles.iconPlaceholder,{backgroundColor:`${i}18`}]}>
|
|
32
|
+
<NetworkIcons_1.GlobeIcon size={18}color={i}/>
|
|
33
|
+
</react_native_1.View>}
|
|
34
|
+
|
|
35
|
+
<react_native_1.View style={styles.textColumn}>
|
|
36
|
+
<react_native_1.Text style={[styles.headlineText,r&&{fontSize:12.5,lineHeight:16}]}numberOfLines={r?1:2}>
|
|
37
|
+
{e.title}
|
|
38
|
+
</react_native_1.Text>
|
|
39
|
+
{e.description&&!r?<react_native_1.Text style={styles.descText}numberOfLines={2}>
|
|
40
|
+
{e.description}
|
|
41
|
+
</react_native_1.Text>:null}
|
|
42
|
+
</react_native_1.View>
|
|
43
|
+
</react_native_1.View>
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
<react_native_1.View style={styles.footerRow}>
|
|
47
|
+
<react_native_1.View style={[styles.ctaButton,{backgroundColor:i,shadowColor:i}]}>
|
|
48
|
+
<react_native_1.Text style={styles.ctaButtonText}>{e.ctaText||"Learn More"}</react_native_1.Text>
|
|
49
|
+
<NetworkIcons_1.ExternalLinkIcon size={11}color={AppColors_1.AppColors.white}/>
|
|
50
|
+
</react_native_1.View>
|
|
51
|
+
</react_native_1.View>
|
|
52
|
+
</TouchableScale_1.default>};exports.DeveloperSponsorCard=DeveloperSponsorCard;const styles=react_native_1.StyleSheet.create({cardContainer:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,padding:13,borderWidth:1.2,position:"relative",overflow:"hidden",shadowColor:AppColors_1.AppColors.shadowColorString,shadowOffset:{width:0,height:2},shadowOpacity:.06,shadowRadius:8,elevation:2,gap:10},glowBackground:{position:"absolute",top:0,left:0,right:0,bottom:0},headerRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},badgeRow:{flexDirection:"row",alignItems:"center",gap:6},sponsorBadge:{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:7,paddingVertical:2.5,borderRadius:6,borderWidth:1},sponsorBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9,lineHeight:12,letterSpacing:.6},sponsorNameText:{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:11,color:AppColors_1.AppColors.grayTextWeak},verifiedRow:{flexDirection:"row",alignItems:"center",gap:3.5},verifiedText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:9.5,color:AppColors_1.AppColors.grayTextWeak},contentRow:{flexDirection:"row",alignItems:"center",gap:10},logoImage:{width:38,height:38,borderRadius:8},iconPlaceholder:{width:38,height:38,borderRadius:8,alignItems:"center",justifyContent:"center"},textColumn:{flex:1,gap:2},headlineText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack,letterSpacing:-.2},descText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayTextWeak},footerRow:{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",marginTop:2},ctaButton:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:5,paddingHorizontal:12,paddingVertical:6.5,borderRadius:8,shadowOffset:{width:0,height:2},shadowOpacity:.25,shadowRadius:4,elevation:2},ctaButtonText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:AppColors_1.AppColors.white}});exports.default=exports.DeveloperSponsorCard;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(r,a,s,n){n===void 0&&(n=s);var i=Object.getOwnPropertyDescriptor(a,s);(!i||("get"in i?!a.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return a[s]}}),Object.defineProperty(r,n,i)}):(function(r,a,s,n){n===void 0&&(n=s),r[n]=a[s]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(r,a){Object.defineProperty(r,"default",{enumerable:!0,value:a})}):function(r,a){r.default=a}),__importStar=this&&this.__importStar||(function(){var r=function(a){return r=Object.getOwnPropertyNames||function(s){var n=[];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(n[n.length]=i);return n},r(a)};return function(a){if(a&&a.__esModule)return a;var s={};if(a!=null)for(var n=r(a),i=0;i<n.length;i++)n[i]!=="default"&&__createBinding(s,a,n[i]);return __setModuleDefault(s,a),s}})(),__importDefault=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FloatingCaptureWidget=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_linear_gradient_1=__importDefault(require("react-native-linear-gradient")),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),NetworkIcons_1=require("../NetworkIcons"),capture_1=require("../../capture"),NativeInspector_1=require("../../native/NativeInspector"),toast_1=require("../../helpers/toast"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),i18n_1=require("../../i18n"),MediaPreviewModal_1=require("./MediaPreviewModal"),FloatingCaptureWidget=()=>{const{refreshMediaCount:r,captureFps:a,captureScale:s,captureBitrate:n,captureMaxDurationSeconds:i,captureAudioMode:S,
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(r,a,s,n){n===void 0&&(n=s);var i=Object.getOwnPropertyDescriptor(a,s);(!i||("get"in i?!a.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return a[s]}}),Object.defineProperty(r,n,i)}):(function(r,a,s,n){n===void 0&&(n=s),r[n]=a[s]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(r,a){Object.defineProperty(r,"default",{enumerable:!0,value:a})}):function(r,a){r.default=a}),__importStar=this&&this.__importStar||(function(){var r=function(a){return r=Object.getOwnPropertyNames||function(s){var n=[];for(var i in s)Object.prototype.hasOwnProperty.call(s,i)&&(n[n.length]=i);return n},r(a)};return function(a){if(a&&a.__esModule)return a;var s={};if(a!=null)for(var n=r(a),i=0;i<n.length;i++)n[i]!=="default"&&__createBinding(s,a,n[i]);return __setModuleDefault(s,a),s}})(),__importDefault=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.FloatingCaptureWidget=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_linear_gradient_1=__importDefault(require("react-native-linear-gradient")),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),NetworkIcons_1=require("../NetworkIcons"),capture_1=require("../../capture"),NativeInspector_1=require("../../native/NativeInspector"),toast_1=require("../../helpers/toast"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),i18n_1=require("../../i18n"),MediaPreviewModal_1=require("./MediaPreviewModal"),FloatingCaptureWidget=()=>{const{refreshMediaCount:r,captureFps:a,captureScale:s,captureBitrate:n,captureMaxDurationSeconds:i,captureAudioMode:S,captureWidgetEnabled:T,activeTab:M,settingsPage:V,peekMode:k,previewMediaItem:y,setPreviewMediaItem:p,isUpdatePopupVisible:P}=(0,InspectorContext_1.useInspector)(),{t:d}=(0,i18n_1.useTranslation)(),[f,h]=(0,react_1.useState)(!1),[D,w]=(0,react_1.useState)(!1),[F,_]=(0,react_1.useState)(0),u=(0,react_1.useRef)(null),g=(0,react_1.useRef)(new react_native_1.Animated.Value(1)).current,v=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current,c=(0,react_1.useRef)(new react_native_1.Animated.ValueXY({x:0,y:0})).current,l=(0,react_1.useRef)({x:0,y:0});(0,react_1.useEffect)(()=>{const e=c.x.addListener(o=>l.current.x=o.value),t=c.y.addListener(o=>l.current.y=o.value);return()=>{c.x.removeListener(e),c.y.removeListener(t)}},[c]);const m=(0,react_1.useRef)(!1),O=(0,react_1.useRef)(react_native_1.PanResponder.create({onStartShouldSetPanResponder:()=>!0,onStartShouldSetPanResponderCapture:()=>!1,onMoveShouldSetPanResponder:(e,t)=>Math.abs(t.dx)>2||Math.abs(t.dy)>2,onMoveShouldSetPanResponderCapture:(e,t)=>Math.abs(t.dx)>4||Math.abs(t.dy)>4,onPanResponderGrant:()=>{m.current=!0,c.setOffset({x:l.current.x,y:l.current.y}),c.setValue({x:0,y:0})},onPanResponderMove:react_native_1.Animated.event([null,{dx:c.x,dy:c.y}],{useNativeDriver:!1}),onPanResponderTerminationRequest:()=>!1,onShouldBlockNativeResponder:()=>!0,onPanResponderRelease:()=>{c.flattenOffset(),setTimeout(()=>{m.current=!1},100);const{width:e,height:t}=react_native_1.Dimensions.get("window"),o=e/2-20,x=-o,R=20,A=-(t-140),b=l.current.x,C=l.current.y;if(b<x||b>o||C<A||C>R){const N=Math.min(Math.max(b,x),o),j=Math.min(Math.max(C,A),R);react_native_1.Animated.spring(c,{toValue:{x:N,y:j},friction:7,tension:50,useNativeDriver:!1}).start()}},onPanResponderTerminate:()=>{c.flattenOffset(),m.current=!1}})).current;(0,react_1.useEffect)(()=>{capture_1.ScreenCapture.isRecording().then(e=>{h(e)}).catch(()=>{})},[]),(0,react_1.useEffect)(()=>{let e=null;return f?(_(0),u.current=setInterval(()=>{_(t=>t+1)},1e3),e=react_native_1.Animated.loop(react_native_1.Animated.sequence([react_native_1.Animated.timing(g,{toValue:1.15,duration:500,useNativeDriver:!0}),react_native_1.Animated.timing(g,{toValue:1,duration:500,useNativeDriver:!0})])),e.start()):(u.current&&(clearInterval(u.current),u.current=null),_(0),g.setValue(1)),()=>{u.current&&clearInterval(u.current),e&&e.stop()}},[f,g]);const q=(0,react_1.useCallback)(async()=>{if(!m.current)try{(0,NativeInspector_1.triggerNativeHaptic)("light"),w(!0),await new Promise(t=>setTimeout(t,60));const e=await capture_1.ScreenCapture.takeScreenshot({format:"png",quality:.9,hideInspector:!1});if(w(!1),react_native_1.Animated.sequence([react_native_1.Animated.timing(v,{toValue:.65,duration:70,useNativeDriver:!0}),react_native_1.Animated.timing(v,{toValue:0,duration:200,useNativeDriver:!0})]).start(),e){(0,NativeInspector_1.triggerNativeHaptic)("success");const t=(0,capture_1.generateCaptureId)("screenshot",e.format||"png"),o={id:t,type:"image",format:e.format,uri:e.uri,filename:e.uri.split("/").pop()||t,sizeBytes:e.sizeBytes,timestamp:e.timestamp,width:e.width,height:e.height};p(o),r?.().catch(()=>{}),(0,toast_1.showToast)(d("header.screenshotCaptured","Screenshot captured"))}else(0,toast_1.showToast)(d("header.screenshotFailed","Failed to capture screenshot"))}catch{w(!1),(0,toast_1.showToast)(d("header.screenshotError","Error capturing screenshot"))}},[r,v,d]),I=(0,react_1.useCallback)(async()=>{if(!m.current)try{if(f){(0,NativeInspector_1.triggerNativeHaptic)("medium");const e=await capture_1.ScreenCapture.stopRecording();if(h(!1),e){(0,NativeInspector_1.triggerNativeHaptic)("success");const t=(0,capture_1.generateCaptureId)("video",e.format),o={id:t,type:e.format==="gif"?"gif":"video",format:e.format,uri:e.uri,filename:e.uri.split("/").pop()||t,sizeBytes:e.sizeBytes,timestamp:e.timestamp,durationMs:e.durationMs,width:e.width,height:e.height,hasAudio:e.hasAudio,thumbnailUri:e.thumbnailUri};p(o),r?.().catch(()=>{}),(0,toast_1.showToast)(d("header.recordingSaved",{duration:(e.durationMs/1e3).toFixed(1),defaultValue:`Recording saved (${(e.durationMs/1e3).toFixed(1)}s)`}))}}else(0,NativeInspector_1.triggerNativeHaptic)("medium"),h(!0),await capture_1.ScreenCapture.startRecording({fps:a,scale:s,audioSource:S,bitrate:n>0?n:void 0,maxDurationSeconds:i})?(0,toast_1.showToast)(d("header.recordingStarted","Recording started")):(h(!1),(0,toast_1.showToast)(d("header.recordingStartFailed","Failed to start recording")))}catch{(0,toast_1.showToast)(d("header.recordingError","Error during screen recording")),h(!1)}},[f,a,s,n,i,S,r,d]),B=e=>{const t=Math.floor(e/60),o=e%60;return`${t<10?"0":""}${t}:${o<10?"0":""}${o}`};return!T||M==="media"||V==="media"||P?null:<>
|
|
2
2
|
|
|
3
3
|
<react_native_1.Animated.View pointerEvents="none"style={[styles.flashOverlay,{opacity:v}]}/>
|
|
4
4
|
|
|
5
|
-
{!
|
|
5
|
+
{!D&&!y&&<react_native_1.Animated.View{...O.panHandlers}style={[styles.container,{transform:c.getTranslateTransform()}]}>
|
|
6
6
|
|
|
7
7
|
{f?<react_native_1.View style={styles.recordingShadowWrapper}>
|
|
8
8
|
<TouchableScale_1.default onPress={I}style={styles.recordingPillWrapper}>
|
|
9
9
|
<react_native_linear_gradient_1.default colors={[AppColors_1.AppColors.rose600,AppColors_1.AppColors.rose700]}start={{x:0,y:0}}end={{x:1,y:0}}style={styles.recordingPill}>
|
|
10
10
|
<react_native_1.Animated.View style={[styles.recordingDot,{transform:[{scale:g}]}]}/>
|
|
11
11
|
<react_native_1.Text style={styles.recordingText}>
|
|
12
|
-
REC {
|
|
12
|
+
REC {B(F)}
|
|
13
13
|
</react_native_1.Text>
|
|
14
14
|
<react_native_1.View style={styles.stopIconBadge}>
|
|
15
15
|
<react_native_1.View style={styles.stopIconSquare}/>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
</react_native_1.View>:<react_native_1.View style={styles.dockShadowWrapper}>
|
|
20
20
|
<react_native_linear_gradient_1.default colors={[AppColors_1.AppColors.navy900,AppColors_1.AppColors.navy800,AppColors_1.AppColors.navy900]}start={{x:0,y:0}}end={{x:1,y:0}}style={styles.dockBar}>
|
|
21
21
|
|
|
22
|
-
<TouchableScale_1.default onPress={
|
|
22
|
+
<TouchableScale_1.default onPress={q}style={styles.menuItemBtn}accessible={!0}accessibilityLabel="Take Screenshot">
|
|
23
23
|
<react_native_1.View style={[styles.menuItemIconCircle,{backgroundColor:`${AppColors_1.AppColors.sky400}38`}]}>
|
|
24
24
|
<NetworkIcons_1.ScreenshotCaptureIcon size={14}color={AppColors_1.AppColors.sky400}/>
|
|
25
25
|
</react_native_1.View>
|