react-native-inapp-inspector 2.5.12 → 2.5.14
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 +0 -8
- 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$62$$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 +176 -0
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +28 -0
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +236 -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 +337 -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 +19 -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_inappinspector_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/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 +3 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +28 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +19 -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/inappinspector_file_paths.xml +7 -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$62$$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 +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/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 +35 -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$62$$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/android/src/main/AndroidManifest.xml +11 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +492 -45
- package/android/src/main/res/xml/inappinspector_file_paths.xml +7 -0
- package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +47 -49
- package/dist/commonjs/components/Inspector/BoxModelVisualizer.d.ts +8 -0
- package/dist/commonjs/components/Inspector/BoxModelVisualizer.js +76 -0
- package/dist/commonjs/components/Inspector/ConsoleExportModal.js +51 -51
- package/dist/commonjs/components/Inspector/ConsoleTab.js +7 -7
- package/dist/commonjs/components/Inspector/CrashTab.js +17 -17
- package/dist/commonjs/components/Inspector/DebuggingTab.js +37 -37
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +2 -2
- package/dist/commonjs/components/Inspector/FabLauncher.js +4 -4
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +2 -2
- package/dist/commonjs/components/Inspector/InspectorHeader.js +36 -36
- package/dist/commonjs/components/Inspector/MainScreen.js +38 -75
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +10 -10
- package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +1 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +222 -222
- package/dist/commonjs/components/Inspector/NetworkExportModal.d.ts +10 -0
- package/dist/commonjs/components/Inspector/NetworkExportModal.js +333 -0
- package/dist/commonjs/components/Inspector/NetworkTab.js +60 -53
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +11 -12
- package/dist/commonjs/components/Inspector/ReduxDetail.js +17 -19
- package/dist/commonjs/components/Inspector/ReduxTab.js +5 -5
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.d.ts +1 -0
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.js +17 -16
- package/dist/commonjs/components/Inspector/SettingsPanel.js +43 -47
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.d.ts +3 -0
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +34 -3
- package/dist/commonjs/components/Inspector/SocketCard.js +2 -2
- package/dist/commonjs/components/Inspector/SupportPage.js +5 -5
- package/dist/commonjs/components/Inspector/TabBar.js +9 -15
- package/dist/commonjs/components/Inspector/UiA11yAuditPanel.d.ts +7 -0
- package/dist/commonjs/components/Inspector/UiA11yAuditPanel.js +97 -0
- package/dist/commonjs/components/Inspector/UiInspectorDetail.d.ts +2 -0
- package/dist/commonjs/components/Inspector/UiInspectorDetail.js +485 -0
- package/dist/commonjs/components/Inspector/UiInspectorOverlay.d.ts +2 -0
- package/dist/commonjs/components/Inspector/UiInspectorOverlay.js +199 -0
- package/dist/commonjs/components/Inspector/UiInspectorTab.d.ts +2 -0
- package/dist/commonjs/components/Inspector/UiInspectorTab.js +117 -0
- package/dist/commonjs/components/Inspector/UiLiveStyleTweaker.d.ts +10 -0
- package/dist/commonjs/components/Inspector/UiLiveStyleTweaker.js +148 -0
- package/dist/commonjs/components/Inspector/index.d.ts +28 -0
- package/dist/commonjs/components/Inspector/index.js +1 -0
- package/dist/commonjs/components/LogCard.js +12 -10
- package/dist/commonjs/components/SkeletonPlaceholder.d.ts +3 -0
- package/dist/commonjs/components/SkeletonPlaceholder.js +34 -3
- package/dist/commonjs/constants/index.js +1 -1
- 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/crashHandler.d.ts +1 -1
- package/dist/commonjs/customHooks/crashHandler.js +6 -6
- package/dist/commonjs/customHooks/uiInspectorManager.d.ts +22 -0
- package/dist/commonjs/customHooks/uiInspectorManager.js +1 -0
- package/dist/commonjs/helpers/index.js +1 -3
- package/dist/commonjs/helpers/remoteConfig.js +1 -1
- package/dist/commonjs/helpers/searchQueryParser.d.ts +1 -0
- package/dist/commonjs/helpers/searchQueryParser.js +7 -5
- package/dist/commonjs/helpers/shareFormatter.d.ts +16 -0
- package/dist/commonjs/helpers/shareFormatter.js +16 -9
- package/dist/commonjs/helpers/uiInspectorEngine.d.ts +62 -0
- package/dist/commonjs/helpers/uiInspectorEngine.js +19 -0
- package/dist/commonjs/i18n/locales/ar.json +1 -1
- package/dist/commonjs/i18n/locales/bn.json +1 -1
- package/dist/commonjs/i18n/locales/de.json +1 -1
- package/dist/commonjs/i18n/locales/en.json +1 -1
- package/dist/commonjs/i18n/locales/es.json +1 -1
- package/dist/commonjs/i18n/locales/fr.json +1 -1
- package/dist/commonjs/i18n/locales/gu.json +1 -1
- package/dist/commonjs/i18n/locales/hi.json +1 -1
- package/dist/commonjs/i18n/locales/id.json +1 -1
- package/dist/commonjs/i18n/locales/it.json +1 -1
- package/dist/commonjs/i18n/locales/ja.json +1 -1
- package/dist/commonjs/i18n/locales/kn.json +1 -1
- package/dist/commonjs/i18n/locales/ko.json +1 -1
- package/dist/commonjs/i18n/locales/ml.json +1 -1
- package/dist/commonjs/i18n/locales/mr.json +1 -1
- package/dist/commonjs/i18n/locales/nl.json +1 -1
- package/dist/commonjs/i18n/locales/pa.json +1 -1
- package/dist/commonjs/i18n/locales/pl.json +1 -1
- package/dist/commonjs/i18n/locales/pt.json +1 -1
- package/dist/commonjs/i18n/locales/ru.json +1 -1
- package/dist/commonjs/i18n/locales/ta.json +1 -1
- package/dist/commonjs/i18n/locales/te.json +1 -1
- package/dist/commonjs/i18n/locales/tr.json +1 -1
- package/dist/commonjs/i18n/locales/vi.json +1 -1
- package/dist/commonjs/i18n/locales/zh.json +1 -1
- package/dist/commonjs/index.d.ts +4 -2
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/native/NativeInspector.d.ts +4 -0
- package/dist/commonjs/native/NativeInspector.js +1 -1
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +4 -0
- package/dist/commonjs/styles/AppFonts.d.ts +4 -0
- package/dist/commonjs/styles/AppFonts.js +1 -1
- package/dist/commonjs/styles/index.d.ts +2 -0
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/editor.d.ts +31 -0
- package/dist/commonjs/types/enums.d.ts +0 -2
- package/dist/commonjs/types/enums.js +1 -1
- package/dist/commonjs/types/interfaces.d.ts +1 -1
- package/dist/esm/components/Inspector/AnalyticsFilterModal.js +73 -75
- package/dist/esm/components/Inspector/BoxModelVisualizer.d.ts +8 -0
- package/dist/esm/components/Inspector/BoxModelVisualizer.js +76 -0
- package/dist/esm/components/Inspector/ConsoleExportModal.js +67 -67
- package/dist/esm/components/Inspector/ConsoleTab.js +48 -48
- package/dist/esm/components/Inspector/CrashTab.js +58 -58
- package/dist/esm/components/Inspector/DebuggingTab.js +105 -105
- package/dist/esm/components/Inspector/DeviceInfoTab.js +2 -2
- package/dist/esm/components/Inspector/FabLauncher.js +50 -50
- package/dist/esm/components/Inspector/FloatingCaptureWidget.js +23 -23
- package/dist/esm/components/Inspector/InspectorHeader.js +64 -64
- package/dist/esm/components/Inspector/MainScreen.js +87 -124
- package/dist/esm/components/Inspector/MediaGalleryTab.js +151 -151
- package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +1 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.js +468 -468
- package/dist/esm/components/Inspector/NetworkExportModal.d.ts +10 -0
- package/dist/esm/components/Inspector/NetworkExportModal.js +333 -0
- package/dist/esm/components/Inspector/NetworkTab.js +143 -136
- package/dist/esm/components/Inspector/NpmStarPrompt.js +32 -33
- package/dist/esm/components/Inspector/ReduxDetail.js +54 -56
- package/dist/esm/components/Inspector/ReduxTab.js +9 -9
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.d.ts +1 -0
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.js +23 -22
- package/dist/esm/components/Inspector/SettingsPanel.js +109 -113
- package/dist/esm/components/Inspector/SkeletonPlaceholder.d.ts +3 -0
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +42 -11
- package/dist/esm/components/Inspector/SocketCard.js +13 -13
- package/dist/esm/components/Inspector/SupportPage.js +5 -5
- package/dist/esm/components/Inspector/TabBar.js +35 -41
- package/dist/esm/components/Inspector/UiA11yAuditPanel.d.ts +7 -0
- package/dist/esm/components/Inspector/UiA11yAuditPanel.js +97 -0
- package/dist/esm/components/Inspector/UiInspectorDetail.d.ts +2 -0
- package/dist/esm/components/Inspector/UiInspectorDetail.js +422 -0
- package/dist/esm/components/Inspector/UiInspectorOverlay.d.ts +2 -0
- package/dist/esm/components/Inspector/UiInspectorOverlay.js +138 -0
- package/dist/esm/components/Inspector/UiInspectorTab.d.ts +2 -0
- package/dist/esm/components/Inspector/UiInspectorTab.js +117 -0
- package/dist/esm/components/Inspector/UiLiveStyleTweaker.d.ts +10 -0
- package/dist/esm/components/Inspector/UiLiveStyleTweaker.js +148 -0
- package/dist/esm/components/Inspector/index.d.ts +28 -0
- package/dist/esm/components/Inspector/index.js +1 -0
- package/dist/esm/components/LogCard.js +24 -22
- package/dist/esm/components/SkeletonPlaceholder.d.ts +3 -0
- package/dist/esm/components/SkeletonPlaceholder.js +42 -11
- package/dist/esm/constants/index.js +1 -1
- 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/crashHandler.d.ts +1 -1
- package/dist/esm/customHooks/crashHandler.js +6 -6
- package/dist/esm/customHooks/uiInspectorManager.d.ts +22 -0
- package/dist/esm/customHooks/uiInspectorManager.js +1 -0
- package/dist/esm/helpers/index.js +4 -6
- package/dist/esm/helpers/remoteConfig.js +1 -1
- package/dist/esm/helpers/searchQueryParser.d.ts +1 -0
- package/dist/esm/helpers/searchQueryParser.js +7 -5
- package/dist/esm/helpers/shareFormatter.d.ts +16 -0
- package/dist/esm/helpers/shareFormatter.js +20 -13
- package/dist/esm/helpers/uiInspectorEngine.d.ts +48 -0
- package/dist/esm/helpers/uiInspectorEngine.js +19 -0
- package/dist/esm/i18n/locales/ar.json +1 -1
- package/dist/esm/i18n/locales/bn.json +1 -1
- package/dist/esm/i18n/locales/de.json +1 -1
- package/dist/esm/i18n/locales/en.json +1 -1
- package/dist/esm/i18n/locales/es.json +1 -1
- package/dist/esm/i18n/locales/fr.json +1 -1
- package/dist/esm/i18n/locales/gu.json +1 -1
- package/dist/esm/i18n/locales/hi.json +1 -1
- package/dist/esm/i18n/locales/id.json +1 -1
- package/dist/esm/i18n/locales/it.json +1 -1
- package/dist/esm/i18n/locales/ja.json +1 -1
- package/dist/esm/i18n/locales/kn.json +1 -1
- package/dist/esm/i18n/locales/ko.json +1 -1
- package/dist/esm/i18n/locales/ml.json +1 -1
- package/dist/esm/i18n/locales/mr.json +1 -1
- package/dist/esm/i18n/locales/nl.json +1 -1
- package/dist/esm/i18n/locales/pa.json +1 -1
- package/dist/esm/i18n/locales/pl.json +1 -1
- package/dist/esm/i18n/locales/pt.json +1 -1
- package/dist/esm/i18n/locales/ru.json +1 -1
- package/dist/esm/i18n/locales/ta.json +1 -1
- package/dist/esm/i18n/locales/te.json +1 -1
- package/dist/esm/i18n/locales/tr.json +1 -1
- package/dist/esm/i18n/locales/vi.json +1 -1
- package/dist/esm/i18n/locales/zh.json +1 -1
- package/dist/esm/index.d.ts +4 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/native/NativeInspector.d.ts +4 -0
- package/dist/esm/native/NativeInspector.js +1 -1
- package/dist/esm/native/NativeNetworkInspector.d.ts +4 -0
- package/dist/esm/styles/AppFonts.d.ts +4 -0
- package/dist/esm/styles/AppFonts.js +1 -1
- package/dist/esm/styles/index.d.ts +2 -0
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/editor.d.ts +31 -0
- package/dist/esm/types/enums.d.ts +0 -2
- package/dist/esm/types/enums.js +1 -1
- package/dist/esm/types/interfaces.d.ts +1 -1
- package/ios/NetworkInspectorModule.mm +597 -336
- package/package.json +1 -1
- package/src/native/NativeInspector.ts +67 -0
- package/src/native/NativeNetworkInspector.ts +4 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(r,l,n,s){s===void 0&&(s=n);var i=Object.getOwnPropertyDescriptor(l,n);(!i||("get"in i?!l.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return l[n]}}),Object.defineProperty(r,s,i)}):(function(r,l,n,s){s===void 0&&(s=n),r[s]=l[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(r,l){Object.defineProperty(r,"default",{enumerable:!0,value:l})}):function(r,l){r.default=l}),__importStar=this&&this.__importStar||(function(){var r=function(l){return r=Object.getOwnPropertyNames||function(n){var s=[];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(s[s.length]=i);return s},r(l)};return function(l){if(l&&l.__esModule)return l;var n={};if(l!=null)for(var s=r(l),i=0;i<s.length;i++)s[i]!=="default"&&__createBinding(n,l,s[i]);return __setModuleDefault(n,l),n}})(),__importDefault=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(exports,"__esModule",{value:!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")),BrandCircleIcon_1=require("../BrandCircleIcon"),styles_1=__importDefault(require("../../styles")),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),constants_1=require("../../constants"),constants_2=require("../../constants"),helpers_1=require("../../helpers"),NativeInspector_1=require("../../native/NativeInspector"),capture_1=require("../../capture"),MediaPreviewModal_1=require("./MediaPreviewModal"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),CountryFlag_1=__importDefault(require("../CountryFlag")),NetworkIcons_1=require("../NetworkIcons"),i18n_1=require("../../i18n"),InspectorHeader=react_1.default.memo(()=>{const{t:r,language:l}=(0,i18n_1.useTranslation)(),{modalHeightPercent:n,appIcon:s,selected:i,setSelected:F,selectedEvent:h,setSelectedEvent:E,selectedLog:g,setSelectedLog:N,selectedReduxSlice:
|
|
2
|
-
<react_native_1.View style={[styles_1.default.headerGradient,{minHeight:(e?
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(r,l,n,s){s===void 0&&(s=n);var i=Object.getOwnPropertyDescriptor(l,n);(!i||("get"in i?!l.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return l[n]}}),Object.defineProperty(r,s,i)}):(function(r,l,n,s){s===void 0&&(s=n),r[s]=l[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(r,l){Object.defineProperty(r,"default",{enumerable:!0,value:l})}):function(r,l){r.default=l}),__importStar=this&&this.__importStar||(function(){var r=function(l){return r=Object.getOwnPropertyNames||function(n){var s=[];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(s[s.length]=i);return s},r(l)};return function(l){if(l&&l.__esModule)return l;var n={};if(l!=null)for(var s=r(l),i=0;i<s.length;i++)s[i]!=="default"&&__createBinding(n,l,s[i]);return __setModuleDefault(n,l),n}})(),__importDefault=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(exports,"__esModule",{value:!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")),BrandCircleIcon_1=require("../BrandCircleIcon"),styles_1=__importDefault(require("../../styles")),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),constants_1=require("../../constants"),constants_2=require("../../constants"),helpers_1=require("../../helpers"),NativeInspector_1=require("../../native/NativeInspector"),capture_1=require("../../capture"),MediaPreviewModal_1=require("./MediaPreviewModal"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),CountryFlag_1=__importDefault(require("../CountryFlag")),NetworkIcons_1=require("../NetworkIcons"),i18n_1=require("../../i18n"),InspectorHeader=react_1.default.memo(()=>{const{t:r,language:l}=(0,i18n_1.useTranslation)(),{modalHeightPercent:n,appIcon:s,selected:i,setSelected:F,selectedEvent:h,setSelectedEvent:E,selectedLog:g,setSelectedLog:N,selectedReduxSlice:m,setSelectedReduxSlice:q,selectedReduxAction:y,setSelectedReduxAction:j,reduxState:U,reduxLastActionMap:G,clearAnim:oe,runClearAllWithAnimation:ae,settingsPage:_,setSettingsPage:z,isAboutOpen:D,setIsAboutOpen:M,resetToDefaults:K,closeModal:B,minimizeInspector:Q,detailTitle:J,activeTab:d,environment:O,selectedCrash:p,setSelectedCrash:X,selectedPush:c,setSelectedPush:Y,selectedSocket:a,setSelectedSocket:Z,refreshMediaCount:w,peekMode:I,setPeekMode:ee,previewMediaItem:L,setPreviewMediaItem:b}=(0,InspectorContext_1.useInspector)(),{width:T}=(0,react_native_1.useWindowDimensions)(),e=T<360,S=T<400,[le,ne]=react_1.default.useState(!1),[te,P]=react_1.default.useState(!1),[re]=react_1.default.useState(()=>(0,helpers_1.getAppVersionAndBuild)().formatted),$=(0,react_1.useMemo)(()=>{const t=l||(0,i18n_1.getLanguage)();return i18n_1.SUPPORTED_LANGUAGES.find(o=>o.code===t)||i18n_1.SUPPORTED_LANGUAGES[0]},[l]),[x,v]=react_1.default.useState(!1),[se,k]=react_1.default.useState(0),C=react_1.default.useRef(null);react_1.default.useEffect(()=>{capture_1.ScreenCapture.isRecording().then(t=>{v(t)}).catch(()=>{})},[]),react_1.default.useEffect(()=>(x?(k(0),C.current=setInterval(()=>{k(t=>t+1)},1e3)):(C.current&&(clearInterval(C.current),C.current=null),k(0)),()=>{C.current&&clearInterval(C.current)}),[x]);const de=react_1.default.useCallback(async()=>{try{(0,NativeInspector_1.triggerNativeHaptic)("light");const t=await capture_1.ScreenCapture.takeScreenshot({format:"png",quality:.9,hideInspector:!0});if(t){(0,NativeInspector_1.triggerNativeHaptic)("success");const o=(0,capture_1.generateCaptureId)("screenshot",t.format||"png"),f={id:o,type:"image",format:t.format,uri:t.uri,filename:t.uri.split("/").pop()||o,sizeBytes:t.sizeBytes,timestamp:t.timestamp,width:t.width,height:t.height};b(f),w?.().catch(()=>{}),(0,helpers_1.showToast)(r("header.screenshotCaptured"))}else(0,helpers_1.showToast)(r("header.screenshotFailed"))}catch{(0,helpers_1.showToast)(r("header.screenshotError"))}},[w,r]),ce=react_1.default.useCallback(async()=>{try{if(x){(0,NativeInspector_1.triggerNativeHaptic)("medium");const t=await capture_1.ScreenCapture.stopRecording();if(v(!1),t){(0,NativeInspector_1.triggerNativeHaptic)("success");const o=(0,capture_1.generateCaptureId)("video",t.format),f={id:o,type:t.format==="gif"?"gif":"video",format:t.format,uri:t.uri,filename:t.uri.split("/").pop()||o,sizeBytes:t.sizeBytes,timestamp:t.timestamp,durationMs:t.durationMs,width:t.width,height:t.height,hasAudio:t.hasAudio};b(f),w?.().catch(()=>{}),(0,helpers_1.showToast)(r("header.recordingSaved",{duration:(t.durationMs/1e3).toFixed(1)}))}}else(0,NativeInspector_1.triggerNativeHaptic)("medium"),await capture_1.ScreenCapture.startRecording({fps:24,audioSource:"none"})?(v(!0),(0,helpers_1.showToast)(r("header.recordingStarted"))):(0,helpers_1.showToast)(r("header.recordingStartFailed"))}catch{(0,helpers_1.showToast)(r("header.recordingError")),v(!1)}},[x,r]),pe=t=>{const o=Math.floor(t/60),f=t%60;return`${o.toString().padStart(2,"0")}:${f.toString().padStart(2,"0")}`},ue=(0,react_1.useMemo)(()=>{const t=(O||(__DEV__?"DEV":"PROD")).trim(),o=t.toUpperCase();return o==="DEV"||o.includes("DEV")||o==="LOCAL"?{label:t,bg:`${AppColors_1.AppColors.emerald500}40`,border:`${AppColors_1.AppColors.emerald400}8C`,text:AppColors_1.AppColors.mintGreenBorder}:o==="UAT"||o==="QA"||o==="TEST"?{label:t,bg:`${AppColors_1.AppColors.amber500}47`,border:`${AppColors_1.AppColors.amber400}99`,text:AppColors_1.AppColors.amberWarmBorder}:o==="PREPROD"||o==="STAGE"||o==="STAGING"?{label:t,bg:`${AppColors_1.AppColors.purple500}47`,border:`${AppColors_1.AppColors.purple400}99`,text:AppColors_1.AppColors.violetSoftBorder}:{label:t,bg:`${AppColors_1.AppColors.rose500}40`,border:`${AppColors_1.AppColors.roseBorder}8C`,text:AppColors_1.AppColors.errorBorder}},[O]),V=d==="apis"&&i!=null||d==="analytics"&&h!=null||d==="logs"&&g!=null||d==="redux"&&(m!=null||y!=null)||d==="crash"&&p!=null||d==="push"&&c!=null||d==="socket"&&a!=null,A=_!==null,R=V||A||D,ie=(0,react_1.useMemo)(()=>{switch(_){case"apis":return"APIs (Network)";case"logs":return"Console Logs";case"crash":return"Crash Protection";case"analytics":return"Analytics Logger";case"redux":return"Redux Inspector";case"media":return"Screencast (Media)";case"push":return"Push Notifications";default:return"Settings & Modules"}},[_]),H=(0,react_1.useMemo)(()=>react_native_1.Platform.OS==="ios"?n>=98?T>=390?50:44:0:react_native_1.Platform.OS==="android"&&n>=98?react_native_1.StatusBar.currentHeight||24:0,[n,T]),u=e?28:S?30:32,he=e?36:S?38:40;return<>
|
|
2
|
+
<react_native_1.View style={[styles_1.default.headerGradient,{minHeight:(e?50:54)+H}]}>
|
|
3
3
|
|
|
4
4
|
<react_native_linear_gradient_1.default colors={[AppColors_1.AppColors.indigo600,AppColors_1.AppColors.violet600]}start={{x:0,y:0}}end={{x:1,y:1}}style={{position:"absolute",top:0,left:0,right:0,bottom:0,borderTopLeftRadius:20,borderTopRightRadius:20}}pointerEvents="none"/>
|
|
5
5
|
<react_native_1.View style={{paddingTop:H,width:"100%"}}>
|
|
6
|
-
<react_native_1.View style={[styles_1.default.header,{width:"100%",justifyContent:"space-between",paddingHorizontal:e?8:10,paddingVertical:
|
|
6
|
+
<react_native_1.View style={[styles_1.default.header,{width:"100%",justifyContent:"space-between",paddingHorizontal:e?8:10,paddingVertical:7,minHeight:e?50:54}]}>
|
|
7
7
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?6:8,flex:V?void 0:1,flexShrink:V?0:1,minWidth:0}}>
|
|
8
8
|
{R&&<TouchableScale_1.default onPress={()=>{if(D){M(!1);return}if(A){z(_==="main"?null:"main");return}F(null),E(null),N(null),q(null),j(null),X(null),Y(null),Z(null)}}hitSlop={15}style={{width:e?30:34,height:e?30:34,borderRadius:e?15:17,alignItems:"center",justifyContent:"center",backgroundColor:`${AppColors_1.AppColors.white}2E`,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}4D`,flexShrink:0}}>
|
|
9
9
|
<react_native_1.View style={{position:"absolute",width:e?38:42,height:e?38:42,borderRadius:21,backgroundColor:`${AppColors_1.AppColors.white}1A`}}/>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
</react_native_1.View>
|
|
23
23
|
</react_native_1.View>
|
|
24
24
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:e?10:11,lineHeight:e?13.5:14.5,color:`${AppColors_1.AppColors.white}CC`,marginTop:.5}}numberOfLines={1}ellipsizeMode="tail">
|
|
25
|
-
Package info, runtime specs & diagnostic payload
|
|
25
|
+
{r("common.aboutSpecsSubtitle","Package info, runtime specs & diagnostic payload")}
|
|
26
26
|
</react_native_1.Text>
|
|
27
27
|
</react_native_1.View>:A?<react_native_1.View style={{gap:2.5,flex:1,minWidth:0,marginRight:6,justifyContent:"center"}}>
|
|
28
28
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
{_==="main"?"Manage modules and preferences":"Configure module parameters"}
|
|
40
40
|
</react_native_1.Text>
|
|
41
41
|
</react_native_1.View>:R?null:<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?7:8.5,flex:1,minWidth:0,marginRight:6}}>
|
|
42
|
-
<BrandCircleIcon_1.BrandCircleIcon size={e?38:
|
|
42
|
+
<BrandCircleIcon_1.BrandCircleIcon size={e?38:S?40:42}/>
|
|
43
43
|
<react_native_1.View style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
44
44
|
|
|
45
|
-
<react_native_1.Text style={[styles_1.default.headerTitle,{fontFamily:AppFonts_1.AppFonts.interBold,fontWeight:"700",fontSize:e?
|
|
46
|
-
|
|
45
|
+
<react_native_1.Text style={[styles_1.default.headerTitle,{fontFamily:AppFonts_1.AppFonts.interBold,fontWeight:"700",fontSize:e?14:S?15:15.5,lineHeight:e?18:S?19:20,color:AppColors_1.AppColors.white,letterSpacing:-.2,paddingBottom:0}]}numberOfLines={1}ellipsizeMode="tail">
|
|
46
|
+
{r("header.title","In-App Inspector")}
|
|
47
47
|
</react_native_1.Text>
|
|
48
48
|
|
|
49
49
|
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
</react_native_1.Text>
|
|
152
152
|
</react_native_1.View>
|
|
153
153
|
</react_native_1.View>
|
|
154
|
-
</react_native_1.View>:d==="redux"&&
|
|
154
|
+
</react_native_1.View>:d==="redux"&&m!=null?(()=>{const t=U?.[m],o=t&&typeof t=="object"?Object.keys(t).length:typeof t<"u"?1:0,f=(0,helpers_1.getSize)(t),W=G[m];return<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
155
155
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
156
156
|
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:`${AppColors_1.AppColors.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3,flexShrink:0}]}>
|
|
157
157
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
</react_native_1.Text>
|
|
160
160
|
</react_native_1.View>
|
|
161
161
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13:14.5,flex:1,minWidth:0,flexShrink:1}]}numberOfLines={1}ellipsizeMode="middle">
|
|
162
|
-
{
|
|
162
|
+
{m}
|
|
163
163
|
</react_native_1.Text>
|
|
164
164
|
</react_native_1.View>
|
|
165
165
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
•
|
|
172
172
|
</react_native_1.Text>
|
|
173
173
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
174
|
-
{
|
|
174
|
+
{o} keys
|
|
175
175
|
</react_native_1.Text>
|
|
176
176
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
177
177
|
•
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
</react_native_1.View>
|
|
192
192
|
</>}
|
|
193
193
|
</react_native_1.View>
|
|
194
|
-
</react_native_1.View>})():d==="redux"&&
|
|
194
|
+
</react_native_1.View>})():d==="redux"&&y!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
195
195
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
196
196
|
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:`${AppColors_1.AppColors.brandPurple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3,flexShrink:0}]}>
|
|
197
197
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
@@ -199,13 +199,13 @@
|
|
|
199
199
|
</react_native_1.Text>
|
|
200
200
|
</react_native_1.View>
|
|
201
201
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13:14.5,flex:1,minWidth:0,flexShrink:1}]}numberOfLines={1}ellipsizeMode="middle">
|
|
202
|
-
{
|
|
202
|
+
{y.type}
|
|
203
203
|
</react_native_1.Text>
|
|
204
204
|
</react_native_1.View>
|
|
205
205
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
206
206
|
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:AppColors_1.AppColors.purple,width:e?6:7,height:e?6:7}]}/>
|
|
207
207
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
208
|
-
{
|
|
208
|
+
{y.timestamp||"Dispatched"}
|
|
209
209
|
</react_native_1.Text>
|
|
210
210
|
</react_native_1.View>
|
|
211
211
|
</react_native_1.View>:d==="crash"&&p!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
@@ -258,72 +258,72 @@
|
|
|
258
258
|
</react_native_1.Text>
|
|
259
259
|
</react_native_1.View>
|
|
260
260
|
</react_native_1.View>
|
|
261
|
-
</react_native_1.View>:d==="socket"&&
|
|
261
|
+
</react_native_1.View>:d==="socket"&&a!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
262
262
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
263
|
-
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:
|
|
263
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:a.client==="socket.io"||a.url.includes("/socket.io")?AppColors_1.AppColors.violet600:a.url.startsWith("wss://")?AppColors_1.AppColors.emerald600:AppColors_1.AppColors.blue600,paddingHorizontal:e?5:6,paddingVertical:e?2:3,flexShrink:0}]}>
|
|
264
264
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
265
|
-
{
|
|
265
|
+
{a.client==="socket.io"||a.url.includes("/socket.io")?"SIO":a.url.startsWith("wss://")?"WSS":"WS"}
|
|
266
266
|
</react_native_1.Text>
|
|
267
267
|
</react_native_1.View>
|
|
268
268
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13:14.5,flex:1,minWidth:0,flexShrink:1}]}numberOfLines={1}ellipsizeMode="middle">
|
|
269
|
-
{
|
|
269
|
+
{a.url}
|
|
270
270
|
</react_native_1.Text>
|
|
271
271
|
</react_native_1.View>
|
|
272
272
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
273
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${
|
|
274
|
-
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:
|
|
273
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${a.status==="open"?AppColors_1.AppColors.greenColor:a.status==="connecting"?AppColors_1.AppColors.amber600:a.status==="error"?AppColors_1.AppColors.errorColor:AppColors_1.AppColors.slate500}26`,borderWidth:1,borderColor:`${a.status==="open"?AppColors_1.AppColors.greenColor:a.status==="connecting"?AppColors_1.AppColors.amber600:a.status==="error"?AppColors_1.AppColors.errorColor:AppColors_1.AppColors.slate500}55`}}>
|
|
274
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:a.status==="open"?AppColors_1.AppColors.greenColor:a.status==="connecting"?AppColors_1.AppColors.amber600:a.status==="error"?AppColors_1.AppColors.errorColor:AppColors_1.AppColors.slate500,width:e?6:7,height:e?6:7}]}/>
|
|
275
275
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?10:11}]}>
|
|
276
|
-
{(
|
|
276
|
+
{(a.status||"open").toUpperCase()}
|
|
277
277
|
</react_native_1.Text>
|
|
278
278
|
</react_native_1.View>
|
|
279
279
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
280
280
|
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white}size={e?10:11}/>
|
|
281
281
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
282
|
-
{
|
|
282
|
+
{a.duration!=null?`${a.duration}ms`:(0,helpers_1.formatTimeShort)(a.startTime)}
|
|
283
283
|
</react_native_1.Text>
|
|
284
284
|
</react_native_1.View>
|
|
285
285
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
286
286
|
<NetworkIcons_1.SizeIcon color={AppColors_1.AppColors.white}size={e?10:11}/>
|
|
287
287
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
288
|
-
{
|
|
288
|
+
{a.frames?.length||0} frames · {(0,helpers_1.formatByteSize)((a.totalBytesSent||0)+(a.totalBytesReceived||0))}
|
|
289
289
|
</react_native_1.Text>
|
|
290
290
|
</react_native_1.View>
|
|
291
291
|
</react_native_1.View>
|
|
292
292
|
</react_native_1.View>:null}
|
|
293
293
|
</react_native_1.View>}
|
|
294
294
|
|
|
295
|
-
<react_native_1.View style={[styles_1.default.headerRight,{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",flexShrink:0,marginLeft:6,gap:e?
|
|
295
|
+
<react_native_1.View style={[styles_1.default.headerRight,{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",flexShrink:0,marginLeft:6,gap:e?6:7.5}]}>
|
|
296
296
|
|
|
297
297
|
{A?<>
|
|
298
298
|
|
|
299
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={r("about.heroTitle","About & Specs")}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),M(!0)}}hitSlop={
|
|
300
|
-
<NetworkIcons_1.InfoCircleIcon color={AppColors_1.AppColors.white}size={e?
|
|
299
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={r("about.heroTitle","About & Specs")}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),M(!0)}}hitSlop={{top:8,bottom:8,left:2,right:2}}style={[styles_1.default.closeButtonSquare,{width:u,height:u,borderRadius:e?7:8,backgroundColor:"rgba(255, 255, 255, 0.22)",borderColor:"rgba(255, 255, 255, 0.45)",borderWidth:1}]}>
|
|
300
|
+
<NetworkIcons_1.InfoCircleIcon color={AppColors_1.AppColors.white}size={e?14:16}/>
|
|
301
301
|
</TouchableScale_1.default>
|
|
302
302
|
|
|
303
303
|
|
|
304
|
-
<TouchableScale_1.default onPress={()=>{react_native_1.Alert.alert("Reset All Settings","This restores all module visibility and UI preferences to defaults. Continue?",[{text:"Cancel",style:"cancel"},{text:"Reset",style:"destructive",onPress:K}])}}hitSlop={
|
|
305
|
-
<NetworkIcons_1.ResetIcon color={AppColors_1.AppColors.white}size={e?
|
|
304
|
+
<TouchableScale_1.default onPress={()=>{react_native_1.Alert.alert("Reset All Settings","This restores all module visibility and UI preferences to defaults. Continue?",[{text:"Cancel",style:"cancel"},{text:"Reset",style:"destructive",onPress:K}])}}hitSlop={{top:8,bottom:8,left:2,right:2}}style={[styles_1.default.closeButtonSquare,{width:u,height:u,borderRadius:e?7:8,backgroundColor:"rgba(245, 158, 11, 0.26)",borderColor:"rgba(252, 211, 77, 0.45)",borderWidth:1}]}>
|
|
305
|
+
<NetworkIcons_1.ResetIcon color={AppColors_1.AppColors.white}size={e?13:15}/>
|
|
306
306
|
</TouchableScale_1.default>
|
|
307
307
|
</>:R?null:<>
|
|
308
308
|
|
|
309
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={I?"Disable peek-through":"Enable peek-through"}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ee(t=>!t)}}hitSlop={
|
|
310
|
-
<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.white}size={e?
|
|
309
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={I?"Disable peek-through":"Enable peek-through"}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ee(t=>!t)}}hitSlop={{top:8,bottom:8,left:2,right:2}}style={[styles_1.default.closeButtonSquare,{width:u,height:u,borderRadius:e?7:8,backgroundColor:I?"rgba(6, 182, 212, 0.38)":"rgba(6, 182, 212, 0.18)",borderColor:I?"rgba(103, 232, 249, 0.65)":"rgba(103, 232, 249, 0.35)",borderWidth:1}]}>
|
|
310
|
+
<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.white}size={e?13:15}/>
|
|
311
311
|
</TouchableScale_1.default>
|
|
312
312
|
|
|
313
313
|
|
|
314
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel="Settings"onPress={()=>z("main")}hitSlop={
|
|
315
|
-
<NetworkIcons_1.SettingsIcon color={AppColors_1.AppColors.white}size={e?
|
|
314
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel="Settings"onPress={()=>z("main")}hitSlop={{top:8,bottom:8,left:2,right:2}}style={[styles_1.default.closeButtonSquare,{width:u,height:u,borderRadius:e?7:8,backgroundColor:"rgba(168, 85, 247, 0.28)",borderColor:"rgba(216, 180, 254, 0.45)",borderWidth:1}]}>
|
|
315
|
+
<NetworkIcons_1.SettingsIcon color={AppColors_1.AppColors.white}size={e?13:15}/>
|
|
316
316
|
</TouchableScale_1.default>
|
|
317
317
|
</>}
|
|
318
318
|
|
|
319
319
|
|
|
320
|
-
<react_native_1.TouchableOpacity testID="inspector.header.minimizeBtn"onPress={Q||B}hitSlop={{top:
|
|
321
|
-
<NetworkIcons_1.ChevronDownIcon size={e?
|
|
320
|
+
<react_native_1.TouchableOpacity testID="inspector.header.minimizeBtn"onPress={Q||B}hitSlop={{top:8,bottom:8,left:2,right:2}}activeOpacity={.7}accessibilityRole="button"accessibilityLabel={r("common.minimize","Minimize")}style={[styles_1.default.closeButtonSquare,{width:u,height:u,borderRadius:e?7:8,backgroundColor:"rgba(56, 189, 248, 0.22)",borderColor:"rgba(125, 211, 252, 0.40)",borderWidth:1}]}>
|
|
321
|
+
<NetworkIcons_1.ChevronDownIcon size={e?15:17}color={AppColors_1.AppColors.white}/>
|
|
322
322
|
</react_native_1.TouchableOpacity>
|
|
323
323
|
|
|
324
324
|
|
|
325
|
-
<react_native_1.TouchableOpacity testID="inspector.header.closeBtn"onPress={B}hitSlop={{top:
|
|
326
|
-
<NetworkIcons_1.CloseWhite size={e?
|
|
325
|
+
<react_native_1.TouchableOpacity testID="inspector.header.closeBtn"onPress={B}hitSlop={{top:8,bottom:8,left:2,right:2}}activeOpacity={.7}accessibilityRole="button"accessibilityLabel={r("common.close","Close")}style={[styles_1.default.closeButtonSquare,{width:u,height:u,borderRadius:e?7:8,backgroundColor:"rgba(244, 63, 94, 0.28)",borderColor:"rgba(251, 113, 133, 0.48)",borderWidth:1}]}>
|
|
326
|
+
<NetworkIcons_1.CloseWhite size={e?13:15}/>
|
|
327
327
|
</react_native_1.TouchableOpacity>
|
|
328
328
|
</react_native_1.View>
|
|
329
329
|
</react_native_1.View>
|
|
@@ -334,5 +334,5 @@
|
|
|
334
334
|
<LanguageSelectorModal_1.LanguageSelectorModal visible={te}onClose={()=>P(!1)}/>
|
|
335
335
|
|
|
336
336
|
|
|
337
|
-
<MediaPreviewModal_1.MediaPreviewModal item={L}visible={!!L}onClose={()=>
|
|
337
|
+
<MediaPreviewModal_1.MediaPreviewModal item={L}visible={!!L}onClose={()=>b(null)}onDelete={async t=>{await capture_1.ScreenCapture.deleteMedia(t.uri),w?.().catch(()=>{}),b(null)}}onConvertToGif={async t=>{const o=await capture_1.ScreenCapture.convertToGif(t.uri,{fps:12,width:480});if(o){w?.().catch(()=>{});const f=(0,capture_1.generateCaptureId)("anim","gif");b({id:f,type:"gif",format:"gif",uri:o.uri,filename:o.uri.split("/").pop()||f,sizeBytes:o.sizeBytes,timestamp:o.timestamp,durationMs:o.durationMs})}}}onSave={t=>{b(t),w?.().catch(()=>{})}}/>
|
|
338
338
|
</>});exports.default=InspectorHeader;
|
|
@@ -1,102 +1,99 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,
|
|
2
|
-
{(react_native_1.Platform.OS==="ios"||react_native_1.Platform.OS==="android")&&
|
|
3
|
-
<react_native_1.Modal visible={
|
|
4
|
-
<ErrorBoundary_1.default onClose={
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(a,t,o,r){r===void 0&&(r=o);var l=Object.getOwnPropertyDescriptor(t,o);(!l||("get"in l?!t.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return t[o]}}),Object.defineProperty(a,r,l)}):(function(a,t,o,r){r===void 0&&(r=o),a[r]=t[o]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(a,t){Object.defineProperty(a,"default",{enumerable:!0,value:t})}):function(a,t){a.default=t}),__importStar=this&&this.__importStar||(function(){var a=function(t){return a=Object.getOwnPropertyNames||function(o){var r=[];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(r[r.length]=l);return r},a(t)};return function(t){if(t&&t.__esModule)return t;var o={};if(t!=null)for(var r=a(t),l=0;l<r.length;l++)r[l]!=="default"&&__createBinding(o,t,r[l]);return __setModuleDefault(o,t),o}})(),__importDefault=this&&this.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),InspectorContext_1=require("./InspectorContext"),ErrorBoundary_1=__importDefault(require("../ErrorBoundary")),ModuleErrorBoundary_1=__importDefault(require("../ModuleErrorBoundary")),FabLauncher_1=__importDefault(require("./FabLauncher")),InspectorHeader_1=__importDefault(require("./InspectorHeader")),SecondaryTelemetryStrip_1=require("./SecondaryTelemetryStrip"),TabBar_1=__importDefault(require("./TabBar")),NetworkTab_1=__importDefault(require("./NetworkTab")),NetworkDetail_1=__importDefault(require("./NetworkDetail")),LogDetail_1=__importDefault(require("./LogDetail")),ConsoleTab_1=__importDefault(require("./ConsoleTab")),PerformanceTab_1=require("./PerformanceTab"),AnalyticsTab_1=__importDefault(require("./AnalyticsTab")),AnalyticsDetail_1=__importDefault(require("../AnalyticsDetail")),ReduxTab_1=__importDefault(require("./ReduxTab")),ReduxDetail_1=__importDefault(require("./ReduxDetail")),CrashTab_1=__importDefault(require("./CrashTab")),CrashDetail_1=__importDefault(require("./CrashDetail")),PushTab_1=__importDefault(require("./PushTab")),PushDetail_1=__importDefault(require("./PushDetail")),SocketTab_1=__importDefault(require("./SocketTab")),SocketDetail_1=__importDefault(require("./SocketDetail")),DeviceInfoTab_1=__importDefault(require("./DeviceInfoTab")),StorageTab_1=__importDefault(require("./StorageTab")),MediaGalleryTab_1=require("./MediaGalleryTab"),SettingsPanel_1=__importDefault(require("./SettingsPanel")),AboutModal_1=__importDefault(require("./AboutModal")),SupportPage_1=require("./SupportPage"),ConfirmationModal_1=require("./ConfirmationModal"),FloatingCaptureWidget_1=require("./FloatingCaptureWidget"),SkeletonPlaceholder_1=__importDefault(require("./SkeletonPlaceholder")),NpmUpdateToast_1=__importDefault(require("./NpmUpdateToast")),NpmStarPrompt_1=__importDefault(require("./NpmStarPrompt")),Toast_1=__importDefault(require("../Toast")),styles_1=__importDefault(require("../../styles")),AppColors_1=require("../../styles/AppColors"),NavigationTracker_1=__importDefault(require("./NavigationTracker")),MainScreen=()=>{const{visible:a,modalAnimationType:t,closeModal:o,modalHeightPercent:r,selected:l,selectedEvent:p,selectedLog:b,selectedReduxSlice:h,selectedReduxAction:v,selectedCrash:g,selectedPush:_,setSelectedPush:M,selectedSocket:m,setSelectedSocket:C,settingsPage:n,isAboutOpen:i,setIsAboutOpen:T,isSupportOpen:s,setIsSupportOpen:q,activeTab:e,isReady:N,enabled:D,isDismissed:A,hasNavigationContext:P,setNavState:B,confirmModal:u,setConfirmModal:w,peekMode:E,peekOpacity:S}=(0,InspectorContext_1.useInspector)(),y=e==="apis"&&l!=null||e==="analytics"&&p!=null||e==="logs"&&b!=null||e==="redux"&&(h!=null||v!=null)||e==="crash"&&g!=null||e==="push"&&_!=null||e==="socket"&&m!=null,d=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;(0,react_1.useEffect)(()=>{n!==null&&(d.setValue(0),react_native_1.Animated.spring(d,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start())},[n!==null]);const c=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;(0,react_1.useEffect)(()=>{i&&(c.setValue(0),react_native_1.Animated.spring(c,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start())},[i]);const f=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;return(0,react_1.useEffect)(()=>{s&&(f.setValue(0),react_native_1.Animated.spring(f,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start())},[s]),<>
|
|
2
|
+
{(react_native_1.Platform.OS==="ios"||react_native_1.Platform.OS==="android")&&D&&!A&&!a&&<FabLauncher_1.default/>}
|
|
3
|
+
<react_native_1.Modal visible={a}animationType={t}transparent statusBarTranslucent={!0}onRequestClose={o}>
|
|
4
|
+
<ErrorBoundary_1.default onClose={o}>
|
|
5
5
|
<react_native_1.View style={[styles_1.default.modalBackdrop,{zIndex:999999,elevation:999999}]}>
|
|
6
|
-
<react_native_1.Pressable style={styles_1.default.modalBackdropPressable}onPress={
|
|
7
|
-
<react_native_1.View style={[styles_1.default.modalContentCard,{height:`${
|
|
6
|
+
<react_native_1.Pressable style={styles_1.default.modalBackdropPressable}onPress={o}accessible={!0}accessibilityRole="button"accessibilityLabel="Dismiss Inspector"accessibilityHint="Double tap to dismiss the inspector modal"/>
|
|
7
|
+
<react_native_1.View accessible={!1}accessibilityViewIsModal={!0}style={[styles_1.default.modalContentCard,{height:`${r}%`,borderTopLeftRadius:r>=100?0:20,borderTopRightRadius:r>=100?0:20,opacity:E?Math.max(.05,Math.min(1,typeof S=="number"?S:.3)):1,zIndex:9999999,elevation:999999}]}>
|
|
8
8
|
<react_native_1.StatusBar translucent backgroundColor="transparent"barStyle="light-content"/>
|
|
9
9
|
|
|
10
10
|
<InspectorHeader_1.default/>
|
|
11
|
-
{!y&&n===null&&!
|
|
11
|
+
{!y&&n===null&&!i&&!s&&<SecondaryTelemetryStrip_1.SecondaryTelemetryStrip/>}
|
|
12
12
|
|
|
13
13
|
<react_native_1.View style={{flex:1,overflow:"hidden",backgroundColor:AppColors_1.AppColors.grayBackground}}>
|
|
14
14
|
|
|
15
|
-
<react_native_1.View style={{flex:1}}pointerEvents={y||n!==null||
|
|
15
|
+
<react_native_1.View style={{flex:1}}pointerEvents={y||n!==null||i||s?"none":"auto"}>
|
|
16
16
|
<TabBar_1.default/>
|
|
17
|
-
{
|
|
18
|
-
{
|
|
17
|
+
{N?<react_native_1.View style={{flex:1}}>
|
|
18
|
+
{e==="apis"&&<ModuleErrorBoundary_1.default moduleName="Network API Monitor">
|
|
19
19
|
<NetworkTab_1.default/>
|
|
20
20
|
</ModuleErrorBoundary_1.default>}
|
|
21
|
-
{
|
|
21
|
+
{e==="logs"&&<ModuleErrorBoundary_1.default moduleName="Console Logs Monitor">
|
|
22
22
|
<ConsoleTab_1.default/>
|
|
23
23
|
</ModuleErrorBoundary_1.default>}
|
|
24
|
-
{
|
|
24
|
+
{e==="perf"&&<ModuleErrorBoundary_1.default moduleName="Performance & FPS Profiler">
|
|
25
25
|
<PerformanceTab_1.PerformanceTab/>
|
|
26
26
|
</ModuleErrorBoundary_1.default>}
|
|
27
|
-
{
|
|
27
|
+
{e==="analytics"&&<ModuleErrorBoundary_1.default moduleName="Analytics Event Tracker">
|
|
28
28
|
<AnalyticsTab_1.default/>
|
|
29
29
|
</ModuleErrorBoundary_1.default>}
|
|
30
|
-
{
|
|
30
|
+
{e==="redux"&&<ModuleErrorBoundary_1.default moduleName="Redux State Inspector">
|
|
31
31
|
<ReduxTab_1.default/>
|
|
32
32
|
</ModuleErrorBoundary_1.default>}
|
|
33
|
-
{
|
|
33
|
+
{e==="crash"&&<ModuleErrorBoundary_1.default moduleName="Crash Reporter">
|
|
34
34
|
<CrashTab_1.default/>
|
|
35
35
|
</ModuleErrorBoundary_1.default>}
|
|
36
|
-
{
|
|
36
|
+
{e==="push"&&<ModuleErrorBoundary_1.default moduleName="Push Notifications">
|
|
37
37
|
<PushTab_1.default/>
|
|
38
38
|
</ModuleErrorBoundary_1.default>}
|
|
39
|
-
{
|
|
39
|
+
{e==="socket"&&<ModuleErrorBoundary_1.default moduleName="WebSocket & Socket.IO">
|
|
40
40
|
<SocketTab_1.default/>
|
|
41
41
|
</ModuleErrorBoundary_1.default>}
|
|
42
|
-
{
|
|
42
|
+
{e==="device"&&<ModuleErrorBoundary_1.default moduleName="Device Diagnostics">
|
|
43
43
|
<DeviceInfoTab_1.default/>
|
|
44
44
|
</ModuleErrorBoundary_1.default>}
|
|
45
|
-
{
|
|
45
|
+
{e==="storage"&&<ModuleErrorBoundary_1.default moduleName="Storage Inspector">
|
|
46
46
|
<StorageTab_1.default/>
|
|
47
47
|
</ModuleErrorBoundary_1.default>}
|
|
48
|
-
{
|
|
48
|
+
{e==="media"&&<ModuleErrorBoundary_1.default moduleName="Media Gallery">
|
|
49
49
|
<MediaGalleryTab_1.MediaGalleryTab/>
|
|
50
50
|
</ModuleErrorBoundary_1.default>}
|
|
51
|
-
|
|
52
|
-
<DebuggingTab_1.default/>
|
|
53
|
-
</ModuleErrorBoundary_1.default>}
|
|
54
|
-
</react_native_1.View>:<MainScreenSkeleton/>}
|
|
51
|
+
</react_native_1.View>:<SkeletonPlaceholder_1.default tab={e}/>}
|
|
55
52
|
</react_native_1.View>
|
|
56
53
|
|
|
57
54
|
|
|
58
55
|
{y&&<react_native_1.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.contentBg,zIndex:10}]}>
|
|
59
|
-
{
|
|
56
|
+
{e==="apis"&&l!=null&&<ModuleErrorBoundary_1.default moduleName="Network Request Details">
|
|
60
57
|
<NetworkDetail_1.default/>
|
|
61
58
|
</ModuleErrorBoundary_1.default>}
|
|
62
|
-
{
|
|
59
|
+
{e==="analytics"&&p!=null&&<ModuleErrorBoundary_1.default moduleName="Analytics Event Details">
|
|
63
60
|
<AnalyticsDetail_1.default event={p}/>
|
|
64
61
|
</ModuleErrorBoundary_1.default>}
|
|
65
|
-
{
|
|
62
|
+
{e==="logs"&&b!=null&&<ModuleErrorBoundary_1.default moduleName="Console Log Details">
|
|
66
63
|
<LogDetail_1.default/>
|
|
67
64
|
</ModuleErrorBoundary_1.default>}
|
|
68
|
-
{
|
|
65
|
+
{e==="redux"&&<ModuleErrorBoundary_1.default moduleName="Redux Action & State Details">
|
|
69
66
|
<ReduxDetail_1.default/>
|
|
70
67
|
</ModuleErrorBoundary_1.default>}
|
|
71
|
-
{
|
|
68
|
+
{e==="crash"&&g!=null&&<ModuleErrorBoundary_1.default moduleName="Crash Log Details">
|
|
72
69
|
<CrashDetail_1.default/>
|
|
73
70
|
</ModuleErrorBoundary_1.default>}
|
|
74
|
-
{
|
|
75
|
-
<PushDetail_1.default item={
|
|
71
|
+
{e==="push"&&_!=null&&<ModuleErrorBoundary_1.default moduleName="Push Notification Details">
|
|
72
|
+
<PushDetail_1.default item={_}onClose={()=>M(null)}/>
|
|
76
73
|
</ModuleErrorBoundary_1.default>}
|
|
77
|
-
{
|
|
78
|
-
<SocketDetail_1.default item={
|
|
74
|
+
{e==="socket"&&m!=null&&<ModuleErrorBoundary_1.default moduleName="WebSocket & Socket.IO Details">
|
|
75
|
+
<SocketDetail_1.default item={m}onClose={()=>C(null)}/>
|
|
79
76
|
</ModuleErrorBoundary_1.default>}
|
|
80
77
|
</react_native_1.View>}
|
|
81
78
|
|
|
82
79
|
|
|
83
|
-
{n!==null&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.grayBackground,opacity:
|
|
80
|
+
{n!==null&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.grayBackground,opacity:d,transform:[{translateY:d.interpolate({inputRange:[0,1],outputRange:[24,0]})}]}]}>
|
|
84
81
|
<ModuleErrorBoundary_1.default moduleName="Settings Panel">
|
|
85
82
|
<SettingsPanel_1.default/>
|
|
86
83
|
</ModuleErrorBoundary_1.default>
|
|
87
84
|
</react_native_1.Animated.View>}
|
|
88
85
|
|
|
89
86
|
|
|
90
|
-
{
|
|
87
|
+
{i&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.primaryLight,opacity:c,transform:[{translateY:c.interpolate({inputRange:[0,1],outputRange:[24,0]})}]}]}>
|
|
91
88
|
<ModuleErrorBoundary_1.default moduleName="About & Diagnostics">
|
|
92
|
-
<AboutModal_1.default onClose={()=>
|
|
89
|
+
<AboutModal_1.default onClose={()=>T(!1)}/>
|
|
93
90
|
</ModuleErrorBoundary_1.default>
|
|
94
91
|
</react_native_1.Animated.View>}
|
|
95
92
|
|
|
96
93
|
|
|
97
|
-
{
|
|
94
|
+
{s&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.primaryLight,opacity:f,transform:[{translateY:f.interpolate({inputRange:[0,1],outputRange:[24,0]})}]}]}>
|
|
98
95
|
<ModuleErrorBoundary_1.default moduleName="Support & Community">
|
|
99
|
-
<SupportPage_1.SupportPage onClose={()=>
|
|
96
|
+
<SupportPage_1.SupportPage onClose={()=>q(!1)}/>
|
|
100
97
|
</ModuleErrorBoundary_1.default>
|
|
101
98
|
</react_native_1.Animated.View>}
|
|
102
99
|
</react_native_1.View>
|
|
@@ -114,44 +111,10 @@
|
|
|
114
111
|
<FloatingCaptureWidget_1.FloatingCaptureWidget/>
|
|
115
112
|
|
|
116
113
|
|
|
117
|
-
<ConfirmationModal_1.ConfirmationModal visible={
|
|
114
|
+
<ConfirmationModal_1.ConfirmationModal visible={u.visible}title={u.title}message={u.message}confirmText={u.confirmText}cancelText={u.cancelText}isDestructive={!0}icon="trash"onConfirm={u.onConfirm}onCancel={()=>w(V=>({...V,visible:!1}))}/>
|
|
118
115
|
</react_native_1.View>
|
|
119
116
|
</react_native_1.View>
|
|
120
117
|
</ErrorBoundary_1.default>
|
|
121
|
-
{
|
|
118
|
+
{P&&<NavigationTracker_1.default onStateChange={B}/>}
|
|
122
119
|
</react_native_1.Modal>
|
|
123
|
-
</>}
|
|
124
|
-
|
|
125
|
-
<react_native_1.View style={skeletonStyles.toolbarSkeleton}>
|
|
126
|
-
<react_native_1.Animated.View style={[skeletonStyles.searchBarSkeleton,{opacity:e}]}/>
|
|
127
|
-
<react_native_1.View style={skeletonStyles.actionButtonsRow}>
|
|
128
|
-
<react_native_1.Animated.View style={[skeletonStyles.iconButtonSkeleton,{opacity:e}]}/>
|
|
129
|
-
<react_native_1.Animated.View style={[skeletonStyles.iconButtonSkeleton,{opacity:e}]}/>
|
|
130
|
-
</react_native_1.View>
|
|
131
|
-
</react_native_1.View>
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
<react_native_1.View style={skeletonStyles.chipStripSkeleton}>
|
|
135
|
-
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton,{width:48,opacity:e}]}/>
|
|
136
|
-
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton,{width:68,opacity:e}]}/>
|
|
137
|
-
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton,{width:76,opacity:e}]}/>
|
|
138
|
-
<react_native_1.Animated.View style={[skeletonStyles.chipSkeleton,{width:58,opacity:e}]}/>
|
|
139
|
-
</react_native_1.View>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
{[0,1,2,3].map(r=><react_native_1.Animated.View key={`skeleton_card_${r}`}style={[skeletonStyles.cardSkeleton,{opacity:e}]}>
|
|
143
|
-
<react_native_1.View style={skeletonStyles.cardTopRow}>
|
|
144
|
-
<react_native_1.View style={skeletonStyles.badgeGroup}>
|
|
145
|
-
<react_native_1.View style={skeletonStyles.statusBadgeSkeleton}/>
|
|
146
|
-
<react_native_1.View style={skeletonStyles.methodBadgeSkeleton}/>
|
|
147
|
-
</react_native_1.View>
|
|
148
|
-
<react_native_1.View style={skeletonStyles.timeSkeleton}/>
|
|
149
|
-
</react_native_1.View>
|
|
150
|
-
<react_native_1.View style={skeletonStyles.urlLineLong}/>
|
|
151
|
-
<react_native_1.View style={skeletonStyles.urlLineShort}/>
|
|
152
|
-
<react_native_1.View style={skeletonStyles.cardBottomRow}>
|
|
153
|
-
<react_native_1.View style={skeletonStyles.metaPillSkeleton}/>
|
|
154
|
-
<react_native_1.View style={skeletonStyles.metaPillSkeleton}/>
|
|
155
|
-
</react_native_1.View>
|
|
156
|
-
</react_native_1.Animated.View>)}
|
|
157
|
-
</react_native_1.View>}),skeletonStyles=react_native_1.StyleSheet.create({container:{flex:1,paddingHorizontal:12,paddingTop:8},toolbarSkeleton:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:8},searchBarSkeleton:{flex:1,height:36,borderRadius:8,backgroundColor:AppColors_1.AppColors.graySurface,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor},actionButtonsRow:{flexDirection:"row",gap:6},iconButtonSkeleton:{width:36,height:36,borderRadius:8,backgroundColor:AppColors_1.AppColors.graySurface,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor},chipStripSkeleton:{flexDirection:"row",gap:6,marginBottom:10},chipSkeleton:{height:24,borderRadius:6,backgroundColor:AppColors_1.AppColors.graySurface,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor},cardSkeleton:{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,padding:12,marginBottom:8,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor},cardTopRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginBottom:8},badgeGroup:{flexDirection:"row",alignItems:"center",gap:6},statusBadgeSkeleton:{width:38,height:18,borderRadius:4,backgroundColor:AppColors_1.AppColors.graySurface},methodBadgeSkeleton:{width:44,height:18,borderRadius:4,backgroundColor:AppColors_1.AppColors.graySurface},timeSkeleton:{width:48,height:12,borderRadius:4,backgroundColor:AppColors_1.AppColors.graySurface},urlLineLong:{height:13,borderRadius:4,backgroundColor:AppColors_1.AppColors.graySurface,marginBottom:5,width:"90%"},urlLineShort:{height:11,borderRadius:4,backgroundColor:AppColors_1.AppColors.graySurface,marginBottom:8,width:"55%"},cardBottomRow:{flexDirection:"row",gap:8,marginTop:2},metaPillSkeleton:{width:52,height:14,borderRadius:4,backgroundColor:AppColors_1.AppColors.graySurface}});exports.default=MainScreen;
|
|
120
|
+
</>};exports.default=MainScreen;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,
|
|
2
|
-
`);(0,helpers_1.copyToClipboard)(t,`${e.length} Media URIs`),(0,toast_1.showToast)(`${e.length} file URIs copied to clipboard`)},N=async e=>{try{(0,NativeInspector_1.triggerNativeHaptic)("light");const t=e.uri.startsWith("file://")||e.uri.startsWith("content://")||e.uri.startsWith("http")?e.uri:`file://${e.uri}`;await react_native_1.Share.share({url:t,title:e.filename,message:e.filename})}catch{(0,toast_1.showToast)(o("mediaGallery.shareUnavailable","Sharing not available on this device"))}},j=async()=>{const e=s.filter(t=>p.has(t.id));if(e.length!==0)try{(0,NativeInspector_1.triggerNativeHaptic)("light");const t=e[0],r=t.uri.startsWith("file://")||t.uri.startsWith("content://")||t.uri.startsWith("http")?t.uri:`file://${t.uri}`;await react_native_1.Share.share({url:r,title:t.filename,message:e.length===1?t.filename:`${e.length} items: ${e.map(u=>u.filename).join(", ")}`})}catch{(0,toast_1.showToast)(o("mediaGallery.shareUnavailable","Sharing not available on this device"))}},L=()=>{const e=p.size;e!==0&&b({visible:!0,title:o("mediaGallery.deleteSelectedTitle","Delete Selected Media"),message:o("mediaGallery.deleteSelectedMessage",{count:e,defaultValue:`Are you sure you want to permanently delete ${e} media items?`}),confirmText:o("mediaGallery.delete","Delete"),cancelText:o("common.cancel","Cancel"),onConfirm:async()=>{b(r=>({...r,visible:!1}));const t=s.filter(r=>p.has(r.id));for(const r of t)await capture_1.ScreenCapture.deleteMedia(r.uri);w(new Set),await c(),await
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,a,n,l){l===void 0&&(l=n);var i=Object.getOwnPropertyDescriptor(a,n);(!i||("get"in i?!a.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return a[n]}}),Object.defineProperty(o,l,i)}):(function(o,a,n,l){l===void 0&&(l=n),o[l]=a[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,a){Object.defineProperty(o,"default",{enumerable:!0,value:a})}):function(o,a){o.default=a}),__importStar=this&&this.__importStar||(function(){var o=function(a){return o=Object.getOwnPropertyNames||function(n){var l=[];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(l[l.length]=i);return l},o(a)};return function(a){if(a&&a.__esModule)return a;var n={};if(a!=null)for(var l=o(a),i=0;i<l.length;i++)l[i]!=="default"&&__createBinding(n,a,l[i]);return __setModuleDefault(n,a),n}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MediaGalleryTab=void 0;const react_1=__importStar(require("react")),react_native_1=require("react-native"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),TouchableScale_1=__importDefault(require("../TouchableScale")),NetworkIcons_1=require("../NetworkIcons"),MediaPreviewModal_1=require("./MediaPreviewModal"),capture_1=require("../../capture"),helpers_1=require("../../helpers"),NativeInspector_1=require("../../native/NativeInspector"),toast_1=require("../../helpers/toast"),i18n_1=require("../../i18n"),InspectorContext_1=require("./InspectorContext"),ConfirmationModal_1=require("./ConfirmationModal"),MediaGalleryTab=()=>{const{t:o}=(0,i18n_1.useTranslation)(),{refreshMediaCount:a,switchActiveTab:n,previewMediaItem:l,setPreviewMediaItem:i}=(0,InspectorContext_1.useInspector)(),[s,I]=(0,react_1.useState)([]),[W,z]=(0,react_1.useState)(!1),[d,$]=(0,react_1.useState)("all"),[p,w]=(0,react_1.useState)(new Set),[h,R]=(0,react_1.useState)("grid"),[g,_]=(0,react_1.useState)(!1),[F,x]=(0,react_1.useState)(0),C=react_1.default.useRef(null),[f,b]=(0,react_1.useState)({visible:!1,title:"",message:"",onConfirm:()=>{}}),c=(0,react_1.useCallback)(async()=>{try{const e=await capture_1.ScreenCapture.getMediaList();I(e),a?.().catch(()=>{})}catch{I([])}},[a]);(0,react_1.useEffect)(()=>{c()},[c]),(0,react_1.useEffect)(()=>{capture_1.ScreenCapture.isRecording().then(e=>_(e)).catch(()=>{})},[]),(0,react_1.useEffect)(()=>(g?(x(0),C.current=setInterval(()=>{x(e=>e+1)},1e3)):(C.current&&(clearInterval(C.current),C.current=null),x(0)),()=>{C.current&&clearInterval(C.current)}),[g]);const G=async()=>{z(!0),await c(),z(!1)},m=(0,react_1.useMemo)(()=>{let e=0,t=0,r=0;return s.forEach(u=>{u.type==="image"?e++:u.type==="video"?t++:u.type==="gif"&&r++}),{all:s.length,image:e,video:t,gif:r}},[s]),v=(0,react_1.useMemo)(()=>d==="all"?s:s.filter(e=>e.type===d),[s,d]),A=(0,react_1.useMemo)(()=>s.reduce((e,t)=>e+(t.sizeBytes||0),0),[s]),M=(0,react_1.useCallback)(async()=>{try{(0,NativeInspector_1.triggerNativeHaptic)("light");const e=await capture_1.ScreenCapture.takeScreenshot({format:"png",quality:.9,hideInspector:!0});if(e){(0,NativeInspector_1.triggerNativeHaptic)("success");const t=(0,capture_1.generateCaptureId)("screenshot",e.format||"png"),r={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};i(r),await c(),a?.().catch(()=>{}),(0,toast_1.showToast)(o("header.screenshotCaptured","Screenshot captured & saved"))}else(0,toast_1.showToast)(o("header.screenshotFailed","Failed to capture screenshot"))}catch{(0,toast_1.showToast)(o("header.screenshotError","Error capturing screenshot"))}},[c,a,i,o]),S=(0,react_1.useCallback)(async()=>{try{if(g){(0,NativeInspector_1.triggerNativeHaptic)("medium");const e=await capture_1.ScreenCapture.stopRecording();if(_(!1),e){(0,NativeInspector_1.triggerNativeHaptic)("success");const t=(0,capture_1.generateCaptureId)("video",e.format),r={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};i(r),await c(),a?.().catch(()=>{}),(0,toast_1.showToast)(o("header.recordingSaved",{duration:(e.durationMs/1e3).toFixed(1),defaultValue:`Recording saved (${(e.durationMs/1e3).toFixed(1)}s)`}))}}else(0,NativeInspector_1.triggerNativeHaptic)("medium"),await capture_1.ScreenCapture.startRecording({fps:24,audioSource:"none"})?(_(!0),(0,toast_1.showToast)(o("header.recordingStarted","Screen recording started"))):(0,toast_1.showToast)(o("header.recordingStartFailed","Failed to start screen recording"))}catch{(0,toast_1.showToast)(o("header.recordingError","Screen recording error")),_(!1)}},[g,c,a,i,o]),P=async()=>{try{(0,NativeInspector_1.triggerNativeHaptic)("light");const e=d==="image"?"image":d==="video"?"video":"any",t=await capture_1.ScreenCapture.pickMedia({mediaType:e});t&&((0,NativeInspector_1.triggerNativeHaptic)("success"),await c(),a?.().catch(()=>{}),(0,toast_1.showToast)(t.type==="video"?o("mediaGallery.importedVideo","Video imported from Camera Roll"):o("mediaGallery.importedPhoto","Photo imported from Camera Roll")),i(t))}catch{(0,toast_1.showToast)(o("mediaGallery.importFailed","Failed to import media"))}},D=(0,react_1.useCallback)(e=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),w(t=>{const r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})},[]),O=async e=>{(0,NativeInspector_1.triggerNativeHaptic)("medium"),await capture_1.ScreenCapture.deleteMedia(e.uri),w(t=>{const r=new Set(t);return r.delete(e.id),r}),await c(),await a?.(),(0,toast_1.showToast)(o("mediaGallery.deleted","Media deleted"))},H=e=>{e?.uri&&((0,NativeInspector_1.triggerNativeHaptic)("light"),(0,helpers_1.copyImageOrMediaToClipboard)(e.uri,e.type==="image"?"Image":"Media"))},q=()=>{const e=s.filter(r=>p.has(r.id));if(e.length===0)return;(0,NativeInspector_1.triggerNativeHaptic)("light");const t=e.map(r=>r.uri).join(`
|
|
2
|
+
`);(0,helpers_1.copyToClipboard)(t,`${e.length} Media URIs`),(0,toast_1.showToast)(`${e.length} file URIs copied to clipboard`)},N=async e=>{try{(0,NativeInspector_1.triggerNativeHaptic)("light");const t=e.uri.startsWith("file://")||e.uri.startsWith("content://")||e.uri.startsWith("http")?e.uri:`file://${e.uri}`;await react_native_1.Share.share({url:t,title:e.filename,message:e.filename})}catch{(0,toast_1.showToast)(o("mediaGallery.shareUnavailable","Sharing not available on this device"))}},j=async()=>{const e=s.filter(t=>p.has(t.id));if(e.length!==0)try{(0,NativeInspector_1.triggerNativeHaptic)("light");const t=e[0],r=t.uri.startsWith("file://")||t.uri.startsWith("content://")||t.uri.startsWith("http")?t.uri:`file://${t.uri}`;await react_native_1.Share.share({url:r,title:t.filename,message:e.length===1?t.filename:`${e.length} items: ${e.map(u=>u.filename).join(", ")}`})}catch{(0,toast_1.showToast)(o("mediaGallery.shareUnavailable","Sharing not available on this device"))}},L=()=>{const e=p.size;e!==0&&b({visible:!0,title:o("mediaGallery.deleteSelectedTitle","Delete Selected Media"),message:o("mediaGallery.deleteSelectedMessage",{count:e,defaultValue:`Are you sure you want to permanently delete ${e} media items?`}),confirmText:o("mediaGallery.delete","Delete"),cancelText:o("common.cancel","Cancel"),onConfirm:async()=>{b(r=>({...r,visible:!1}));const t=s.filter(r=>p.has(r.id));for(const r of t)await capture_1.ScreenCapture.deleteMedia(r.uri);w(new Set),await c(),await a?.(),(0,toast_1.showToast)(o("mediaGallery.deletedCount",{count:t.length,defaultValue:`Deleted ${t.length} items`}))}})},U=()=>{b({visible:!0,title:o("mediaGallery.purgeTitle","Purge Gallery"),message:o("mediaGallery.purgeMessage",{count:s.length,size:(0,helpers_1.formatBytes)(A),defaultValue:`Are you sure you want to delete all ${s.length} media files (${(0,helpers_1.formatBytes)(A)})? This cannot be undone.`}),confirmText:o("common.clearAll","Clear All"),cancelText:o("common.cancel","Cancel"),onConfirm:async()=>{b(e=>({...e,visible:!1})),await capture_1.ScreenCapture.clearAllMedia(),w(new Set),await c(),await a?.(),(0,toast_1.showToast)(o("mediaGallery.allPurged","All screencast files deleted"))}})},E=async e=>{await capture_1.ScreenCapture.convertToGif(e.uri,{fps:12,width:480})&&(await c(),a?.().catch(()=>{}))},B=e=>{const t=Math.floor(e/60),r=e%60;return`${t.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`},Y=({item:e})=>{if(!e)return null;const t=e.type==="video",r=e.type==="gif",u=t&&e.thumbnailUri||e.uri,y=!!(e.id&&p.has(e.id)),k=(e.format||(t?"mp4":r?"gif":"png")).toUpperCase(),V=e.filename||(e.uri?e.uri.split("/").pop():"")||"Capture",T=e.timestamp?new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):"";return<TouchableScale_1.default onPress={()=>i(e)}style={[galleryStyles.card,y&&galleryStyles.cardSelected]}>
|
|
3
3
|
<react_native_1.View style={galleryStyles.thumbnailContainer}>
|
|
4
4
|
{u?<react_native_1.Image source={{uri:u}}style={galleryStyles.thumbnail}resizeMode="cover"/>:<react_native_1.View style={galleryStyles.thumbnailFallback}>
|
|
5
5
|
{t?<NetworkIcons_1.FilmIcon size={28}color={AppColors_1.AppColors.sky500}/>:<NetworkIcons_1.ImageIcon size={28}color={AppColors_1.AppColors.grayTextWeak}/>}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
</react_native_1.TouchableOpacity>
|
|
52
52
|
</react_native_1.View>
|
|
53
53
|
</react_native_1.View>
|
|
54
|
-
</TouchableScale_1.default>},K=({item:e})=>{if(!e)return null;const t=e.type==="video",r=e.type==="gif",u=t&&e.thumbnailUri||e.uri,y=!!(e.id&&p.has(e.id)),k=(e.format||(t?"mp4":r?"gif":"png")).toUpperCase(),V=e.filename||(e.uri?e.uri.split("/").pop():"")||"Capture",T=e.timestamp?`${new Date(e.timestamp).toLocaleDateString([],{month:"short",day:"numeric"})} ${new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}`:"";return<TouchableScale_1.default onPress={()=>
|
|
54
|
+
</TouchableScale_1.default>},K=({item:e})=>{if(!e)return null;const t=e.type==="video",r=e.type==="gif",u=t&&e.thumbnailUri||e.uri,y=!!(e.id&&p.has(e.id)),k=(e.format||(t?"mp4":r?"gif":"png")).toUpperCase(),V=e.filename||(e.uri?e.uri.split("/").pop():"")||"Capture",T=e.timestamp?`${new Date(e.timestamp).toLocaleDateString([],{month:"short",day:"numeric"})} ${new Date(e.timestamp).toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}`:"";return<TouchableScale_1.default onPress={()=>i(e)}style={[galleryStyles.listRow,y&&galleryStyles.listRowSelected]}>
|
|
55
55
|
|
|
56
56
|
<react_native_1.TouchableOpacity onPress={()=>e.id&&D(e.id)}style={[galleryStyles.listCheckbox,y&&galleryStyles.checkboxSelected]}hitSlop={{top:8,bottom:8,left:8,right:8}}>
|
|
57
57
|
{y&&<NetworkIcons_1.CheckIcon size={11}color={AppColors_1.AppColors.white}/>}
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
</react_native_1.Text>
|
|
138
138
|
<react_native_1.TouchableOpacity onPress={S}style={galleryStyles.stopRecordBtn}activeOpacity={.8}>
|
|
139
139
|
<react_native_1.View style={galleryStyles.stopSquare}/>
|
|
140
|
-
<react_native_1.Text style={galleryStyles.stopRecordBtnText}>Stop & Save</react_native_1.Text>
|
|
140
|
+
<react_native_1.Text style={galleryStyles.stopRecordBtnText}>{o("media.stopAndSave","Stop & Save")}</react_native_1.Text>
|
|
141
141
|
</react_native_1.TouchableOpacity>
|
|
142
142
|
</react_native_1.View>}
|
|
143
143
|
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
{s.length>0&&<react_native_1.View style={galleryStyles.subBar}>
|
|
196
196
|
<react_native_1.View style={galleryStyles.resultCountWrapper}>
|
|
197
197
|
<react_native_1.Text style={[galleryStyles.resultCountText,p.size>0&&galleryStyles.resultCountTextSelected]}>
|
|
198
|
-
{p.size>0?`${p.size} of ${
|
|
198
|
+
{p.size>0?`${p.size} of ${v.length} selected`:`${v.length} ${v.length===1?"item":"items"} \u2022 ${(0,helpers_1.formatBytes)(A)}`}
|
|
199
199
|
</react_native_1.Text>
|
|
200
200
|
</react_native_1.View>
|
|
201
201
|
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
</react_native_1.View>}
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
<react_native_1.FlatList key={h}data={
|
|
234
|
+
<react_native_1.FlatList key={h}data={v}keyExtractor={e=>e.id}renderItem={h==="grid"?Y:K}numColumns={h==="grid"?2:1}columnWrapperStyle={h==="grid"?galleryStyles.columnWrapper:void 0}style={{flex:1}}contentContainerStyle={[galleryStyles.listContent,{flexGrow:1}]}nestedScrollEnabled={!0}keyboardShouldPersistTaps="handled"refreshControl={<react_native_1.RefreshControl refreshing={W}onRefresh={G}tintColor={AppColors_1.AppColors.purple}/>}ListEmptyComponent={<react_native_1.View style={galleryStyles.emptyHeroCard}>
|
|
235
235
|
<react_native_1.View style={galleryStyles.emptyIconCircle}>
|
|
236
236
|
<NetworkIcons_1.ScreencastIcon size={32}color={AppColors_1.AppColors.purple}/>
|
|
237
237
|
</react_native_1.View>
|
|
@@ -280,19 +280,19 @@
|
|
|
280
280
|
|
|
281
281
|
<react_native_1.View style={galleryStyles.featurePillsRow}>
|
|
282
282
|
<react_native_1.View style={galleryStyles.featurePill}>
|
|
283
|
-
<react_native_1.Text style={galleryStyles.featurePillText}
|
|
283
|
+
<react_native_1.Text style={galleryStyles.featurePillText}>{o("media.zeroOverhead","\u26A1 Zero Overhead")}</react_native_1.Text>
|
|
284
284
|
</react_native_1.View>
|
|
285
285
|
<react_native_1.View style={galleryStyles.featurePill}>
|
|
286
|
-
<react_native_1.Text style={galleryStyles.featurePillText}
|
|
286
|
+
<react_native_1.Text style={galleryStyles.featurePillText}>{o("media.cropAndAnnotate","\u2702\uFE0F Crop & Annotate")}</react_native_1.Text>
|
|
287
287
|
</react_native_1.View>
|
|
288
288
|
<react_native_1.View style={galleryStyles.featurePill}>
|
|
289
|
-
<react_native_1.Text style={galleryStyles.featurePillText}
|
|
289
|
+
<react_native_1.Text style={galleryStyles.featurePillText}>{o("media.convertToGif","\u{1F39E}\uFE0F Convert to GIF")}</react_native_1.Text>
|
|
290
290
|
</react_native_1.View>
|
|
291
291
|
</react_native_1.View>
|
|
292
292
|
</react_native_1.View>}/>
|
|
293
293
|
|
|
294
294
|
|
|
295
|
-
<MediaPreviewModal_1.MediaPreviewModal item={l}visible={!!l}onClose={()=>
|
|
295
|
+
<MediaPreviewModal_1.MediaPreviewModal item={l}visible={!!l}onClose={()=>i(null)}onDelete={O}onConvertToGif={E}onSave={e=>{i(e),c()}}/>
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
<ConfirmationModal_1.ConfirmationModal visible={f.visible}title={f.title}message={f.message}confirmText={f.confirmText}cancelText={f.cancelText}isDestructive={!0}icon="trash"onConfirm={f.onConfirm}onCancel={()=>b(e=>({...e,visible:!1}))}/>
|