react-native-inapp-inspector 2.3.16 → 2.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +438 -7
- package/bin/cli.js +0 -0
- package/dist/commonjs/capture.d.ts +26 -0
- package/dist/commonjs/capture.js +32 -0
- package/dist/commonjs/components/AnalyticsEventCard.js +11 -11
- package/dist/commonjs/components/AnimatedEntrance.js +6 -70
- package/dist/commonjs/components/DomainHeader.js +3 -48
- package/dist/commonjs/components/EmptyState.js +2 -2
- package/dist/commonjs/components/HeadersSection.js +14 -34
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +1 -2
- package/dist/commonjs/components/Inspector/ConsoleTab.js +1 -1
- package/dist/commonjs/components/Inspector/CrashTab.js +4 -2
- package/dist/commonjs/components/Inspector/DebuggingTab.js +2 -2
- package/dist/commonjs/components/Inspector/InspectorHeader.js +651 -313
- package/dist/commonjs/components/Inspector/MainScreen.js +25 -70
- package/dist/commonjs/components/Inspector/MediaGalleryTab.d.ts +2 -0
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +307 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +11 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +393 -0
- package/dist/commonjs/components/Inspector/NetworkTab.js +183 -182
- package/dist/commonjs/components/Inspector/NpmUpdateToast.js +4 -9
- package/dist/commonjs/components/Inspector/ReduxTab.js +4 -2
- package/dist/commonjs/components/Inspector/SettingsPanel.js +245 -0
- package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +2 -2
- package/dist/commonjs/components/Inspector/StorageTab.js +3 -3
- package/dist/commonjs/components/Inspector/TabBar.js +5 -10
- package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +5 -10
- package/dist/commonjs/components/JsonViewer.js +43 -20
- package/dist/commonjs/components/LogCard.js +5 -5
- package/dist/commonjs/components/MetaAccordion.js +78 -80
- package/dist/commonjs/components/NetworkIcons.d.ts +8 -0
- package/dist/commonjs/components/NetworkIcons.js +51 -1
- package/dist/commonjs/components/SectionHeader.js +3 -48
- package/dist/commonjs/components/SkeletonPlaceholder.js +2 -2
- package/dist/commonjs/components/SourcePageCard.js +43 -45
- package/dist/commonjs/components/Toast.js +4 -4
- package/dist/commonjs/components/TouchableScale.js +9 -65
- package/dist/commonjs/components/TreeNode.js +2 -14
- package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
- package/dist/commonjs/constants/telemetryConfig.js +3 -3
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/customHooks/useAccordion.d.ts +3 -8
- package/dist/commonjs/customHooks/useAccordion.js +6 -36
- package/dist/commonjs/helpers/index.d.ts +2 -1
- package/dist/commonjs/helpers/index.js +10 -1
- package/dist/commonjs/i18n/locales/en.json +66 -2
- package/dist/commonjs/index.d.ts +1 -0
- package/dist/commonjs/index.js +39 -22
- package/dist/commonjs/native/NativeInspector.d.ts +60 -0
- package/dist/commonjs/native/NativeInspector.js +109 -2
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +8 -0
- package/dist/commonjs/styles/AppColors.d.ts +36 -0
- package/dist/commonjs/styles/AppColors.js +36 -0
- package/dist/commonjs/styles/index.d.ts +3 -1
- package/dist/commonjs/styles/index.js +3 -1
- package/dist/commonjs/types/enums.d.ts +1 -0
- package/dist/commonjs/types/enums.js +1 -0
- package/dist/commonjs/types/index.d.ts +2 -2
- package/dist/esm/capture.d.ts +26 -0
- package/dist/esm/capture.js +29 -0
- package/dist/esm/components/AnalyticsEventCard.js +11 -11
- package/dist/esm/components/AnimatedEntrance.js +4 -38
- package/dist/esm/components/DomainHeader.js +4 -16
- package/dist/esm/components/EmptyState.js +2 -2
- package/dist/esm/components/HeadersSection.js +16 -36
- package/dist/esm/components/Inspector/AnalyticsTab.js +2 -3
- package/dist/esm/components/Inspector/ConsoleTab.js +2 -2
- package/dist/esm/components/Inspector/CrashTab.js +5 -3
- package/dist/esm/components/Inspector/DebuggingTab.js +3 -3
- package/dist/esm/components/Inspector/InspectorHeader.js +654 -316
- package/dist/esm/components/Inspector/MainScreen.js +25 -70
- package/dist/esm/components/Inspector/MediaGalleryTab.d.ts +2 -0
- package/dist/esm/components/Inspector/MediaGalleryTab.js +267 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +11 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.js +353 -0
- package/dist/esm/components/Inspector/NetworkTab.js +185 -184
- package/dist/esm/components/Inspector/NpmUpdateToast.js +5 -10
- package/dist/esm/components/Inspector/ReduxTab.js +5 -3
- package/dist/esm/components/Inspector/SettingsPanel.js +246 -1
- package/dist/esm/components/Inspector/SkeletonPlaceholder.js +2 -2
- package/dist/esm/components/Inspector/StorageTab.js +3 -3
- package/dist/esm/components/Inspector/TabBar.js +6 -11
- package/dist/esm/components/Inspector/UpdateAvailableModal.js +6 -11
- package/dist/esm/components/JsonViewer.js +43 -20
- package/dist/esm/components/LogCard.js +5 -5
- package/dist/esm/components/MetaAccordion.js +79 -81
- package/dist/esm/components/NetworkIcons.d.ts +8 -0
- package/dist/esm/components/NetworkIcons.js +42 -0
- package/dist/esm/components/SectionHeader.js +4 -16
- package/dist/esm/components/SkeletonPlaceholder.js +2 -2
- package/dist/esm/components/SourcePageCard.js +44 -46
- package/dist/esm/components/Toast.js +4 -4
- package/dist/esm/components/TouchableScale.js +7 -33
- package/dist/esm/components/TreeNode.js +4 -16
- package/dist/esm/constants/telemetryConfig.d.ts +3 -3
- package/dist/esm/constants/telemetryConfig.js +3 -3
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/customHooks/useAccordion.d.ts +3 -8
- package/dist/esm/customHooks/useAccordion.js +7 -37
- package/dist/esm/helpers/index.d.ts +2 -1
- package/dist/esm/helpers/index.js +8 -0
- package/dist/esm/i18n/locales/en.json +66 -2
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +36 -21
- package/dist/esm/native/NativeInspector.d.ts +60 -0
- package/dist/esm/native/NativeInspector.js +100 -1
- package/dist/esm/native/NativeNetworkInspector.d.ts +8 -0
- package/dist/esm/styles/AppColors.d.ts +36 -0
- package/dist/esm/styles/AppColors.js +36 -0
- package/dist/esm/styles/index.d.ts +3 -1
- package/dist/esm/styles/index.js +3 -1
- package/dist/esm/types/enums.d.ts +1 -0
- package/dist/esm/types/enums.js +1 -0
- package/dist/esm/types/index.d.ts +2 -2
- package/ios/NetworkInspectorModule.h +1 -0
- package/ios/NetworkInspectorModule.mm +736 -7
- package/package.json +10 -2
- package/react-native-inapp-inspector.podspec +1 -0
- package/src/capture.ts +101 -0
- package/src/components/AnalyticsEventCard.tsx +15 -13
- package/src/components/AnimatedEntrance.tsx +3 -47
- package/src/components/DomainHeader.tsx +4 -17
- package/src/components/EmptyState.tsx +2 -2
- package/src/components/HeadersSection.tsx +31 -56
- package/src/components/Inspector/AnalyticsTab.tsx +2 -2
- package/src/components/Inspector/ConsoleTab.tsx +2 -1
- package/src/components/Inspector/CrashTab.tsx +4 -2
- package/src/components/Inspector/DebuggingTab.tsx +2 -2
- package/src/components/Inspector/InspectorHeader.tsx +1215 -789
- package/src/components/Inspector/MainScreen.tsx +44 -85
- package/src/components/Inspector/MediaGalleryTab.tsx +355 -0
- package/src/components/Inspector/MediaPreviewModal.tsx +435 -0
- package/src/components/Inspector/NetworkTab.tsx +14 -15
- package/src/components/Inspector/NpmUpdateToast.tsx +4 -9
- package/src/components/Inspector/ReduxTab.tsx +5 -2
- package/src/components/Inspector/SettingsPanel.tsx +303 -0
- package/src/components/Inspector/SkeletonPlaceholder.tsx +2 -2
- package/src/components/Inspector/StorageTab.tsx +3 -3
- package/src/components/Inspector/TabBar.tsx +6 -12
- package/src/components/Inspector/UpdateAvailableModal.tsx +6 -10
- package/src/components/JsonViewer.tsx +101 -60
- package/src/components/LogCard.tsx +10 -8
- package/src/components/MetaAccordion.tsx +6 -6
- package/src/components/NetworkIcons.tsx +150 -0
- package/src/components/SectionHeader.tsx +4 -16
- package/src/components/SkeletonPlaceholder.tsx +2 -2
- package/src/components/SourcePageCard.tsx +57 -55
- package/src/components/Toast.tsx +4 -4
- package/src/components/TouchableScale.tsx +8 -38
- package/src/components/TreeNode.tsx +5 -20
- package/src/constants/telemetryConfig.ts +3 -5
- package/src/constants/version.ts +1 -1
- package/src/customHooks/useAccordion.tsx +10 -43
- package/src/helpers/index.ts +10 -1
- package/src/i18n/locales/en.json +69 -2
- package/src/index.tsx +51 -23
- package/src/native/NativeInspector.ts +186 -1
- package/src/native/NativeNetworkInspector.ts +9 -0
- package/src/styles/AppColors.ts +38 -0
- package/src/styles/index.ts +3 -1
- package/src/types/enums.ts +3 -0
- package/src/types/index.ts +2 -2
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.9/checksums/sha1-checksums.bin +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 +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/results.bin +0 -1
- package/android/build/.transforms/6683d6eeaa3e1dfa689c3385111a0386/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/results.bin +0 -1
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
- package/android/build/.transforms/9d2a3e5e0f0ea07cafb0c0bf290630ee/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/inappinspector/BuildConfig.java +0 -10
- package/android/build/generated/source/codegen/java/com/inappinspector/NativeNetworkInspectorSpec.java +0 -104
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +0 -128
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec.h +0 -31
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.cpp +0 -22
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ComponentDescriptors.h +0 -24
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/EventEmitters.h +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.cpp +0 -19
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/Props.h +0 -18
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/RNInAppInspectorSpecJSI.h +0 -177
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.cpp +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/ShadowNodes.h +0 -23
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/RNInAppInspectorSpec/States.h +0 -20
- package/android/build/generated/source/codegen/schema.json +0 -1
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -7
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_main_jar/debug/syncDebugLibJars/classes.jar +0 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/android/build/intermediates/annotations_typedef_file/debug/extractDebugAnnotations/typedefs.txt +0 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -1
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/debug-mergeJavaRes/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
- 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 +0 -2
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -7
- package/android/build/intermediates/merged_java_res/debug/mergeDebugJavaResource/feature-react-native-inapp-inspector.jar +0 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -7
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- 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$frameCallback$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.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 +0 -1
- 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 +0 -2
- 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/aar/react-native-inapp-inspector-debug.aar +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
- package/android/build/reports/problems/problems-report.html +0 -659
- 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$frameCallback$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.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
|
@@ -51,7 +51,7 @@ const styles_1 = __importDefault(require("../styles"));
|
|
|
51
51
|
const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, method, contentType, url, }) => {
|
|
52
52
|
const { t } = (0, i18n_1.useTranslation)();
|
|
53
53
|
const [urlExpanded, setUrlExpanded] = (0, react_1.useState)(false);
|
|
54
|
-
const { toggleOpen, chevronStyle
|
|
54
|
+
const { isOpen, toggleOpen, chevronStyle } = (0, useAccordion_1.default)(true);
|
|
55
55
|
const isFailed = status === 0 || status == null;
|
|
56
56
|
const renderFormattedUrl = (rawUrl) => {
|
|
57
57
|
if (!rawUrl)
|
|
@@ -103,24 +103,23 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
|
|
|
103
103
|
contentType: contentType || 'application/json',
|
|
104
104
|
url: url || '',
|
|
105
105
|
}} label="Metadata"/>
|
|
106
|
-
<react_native_1.
|
|
106
|
+
<react_native_1.View style={chevronStyle}>
|
|
107
107
|
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextWeak} size={14}/>
|
|
108
|
-
</react_native_1.
|
|
108
|
+
</react_native_1.View>
|
|
109
109
|
</react_native_1.View>
|
|
110
110
|
</react_native_1.View>
|
|
111
111
|
</react_native_1.Pressable>
|
|
112
112
|
|
|
113
|
-
<react_native_1.
|
|
114
|
-
<react_native_1.View style={styles_1.default.metaBody}>
|
|
113
|
+
{isOpen && (<react_native_1.View style={styles_1.default.metaBody}>
|
|
115
114
|
<react_native_1.View style={styles_1.default.metaRow}>
|
|
116
115
|
<react_native_1.View style={styles_1.default.metaLabelRow}>
|
|
117
116
|
<NetworkIcons_1.CalendarIcon color={AppColors_1.AppColors.grayTextWeak} size={14}/>
|
|
118
117
|
<react_native_1.Text style={styles_1.default.metaLabel}>{t('network.triggeredAt')}</react_native_1.Text>
|
|
119
118
|
</react_native_1.View>
|
|
120
119
|
<react_native_1.Text style={[
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
styles_1.default.metaValue,
|
|
121
|
+
{ color: AppColors_1.AppColors.purple, fontSize: 12 },
|
|
122
|
+
]}>
|
|
124
123
|
{triggeredAt}
|
|
125
124
|
</react_native_1.Text>
|
|
126
125
|
</react_native_1.View>
|
|
@@ -132,16 +131,16 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
|
|
|
132
131
|
<react_native_1.Text style={styles_1.default.metaLabel}>{t('network.methodHeader')}</react_native_1.Text>
|
|
133
132
|
</react_native_1.View>
|
|
134
133
|
<react_native_1.View style={[
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
134
|
+
styles_1.default.statusChip,
|
|
135
|
+
{
|
|
136
|
+
borderColor: `${AppColors_1.AppColors.brandPurple}40`,
|
|
137
|
+
backgroundColor: `${AppColors_1.AppColors.brandPurple}14`,
|
|
138
|
+
},
|
|
139
|
+
]}>
|
|
141
140
|
<react_native_1.Text style={[
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
styles_1.default.statusText,
|
|
142
|
+
{ color: AppColors_1.AppColors.purple, fontFamily: AppFonts_1.AppFonts.interBold },
|
|
143
|
+
]}>
|
|
145
144
|
{method || 'GET'}
|
|
146
145
|
</react_native_1.Text>
|
|
147
146
|
</react_native_1.View>
|
|
@@ -154,20 +153,20 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
|
|
|
154
153
|
<react_native_1.Text style={styles_1.default.metaLabel}>{t('network.statusHeader')}</react_native_1.Text>
|
|
155
154
|
</react_native_1.View>
|
|
156
155
|
<react_native_1.View style={[
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
156
|
+
styles_1.default.statusChip,
|
|
157
|
+
{
|
|
158
|
+
borderColor: isFailed
|
|
159
|
+
? `${AppColors_1.AppColors.errorColor}40`
|
|
160
|
+
: `${statusColor}40`,
|
|
161
|
+
backgroundColor: isFailed
|
|
162
|
+
? `${AppColors_1.AppColors.errorColor}15`
|
|
163
|
+
: `${statusColor}15`,
|
|
164
|
+
},
|
|
165
|
+
]}>
|
|
167
166
|
<react_native_1.Text style={[
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
styles_1.default.statusText,
|
|
168
|
+
{ color: isFailed ? AppColors_1.AppColors.errorColor : statusColor },
|
|
169
|
+
]}>
|
|
171
170
|
{isFailed ? t('network.failedNetworkError') : String(status)}
|
|
172
171
|
</react_native_1.Text>
|
|
173
172
|
</react_native_1.View>
|
|
@@ -192,21 +191,21 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
|
|
|
192
191
|
</react_native_1.View>
|
|
193
192
|
<react_native_1.View style={styles_1.default.metaValueRow}>
|
|
194
193
|
{duration != null && !isFailed && (<react_native_1.View style={[
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
194
|
+
styles_1.default.perfBadge,
|
|
195
|
+
{
|
|
196
|
+
backgroundColor: `${(0, helpers_1.getDurationColor)(duration)}15`,
|
|
197
|
+
borderColor: `${(0, helpers_1.getDurationColor)(duration)}40`,
|
|
198
|
+
},
|
|
199
|
+
]}>
|
|
201
200
|
<react_native_1.Text style={[
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
201
|
+
styles_1.default.perfBadgeText,
|
|
202
|
+
{ color: (0, helpers_1.getDurationColor)(duration) },
|
|
203
|
+
]}>
|
|
205
204
|
{duration < constants_1.DURATION_FAST_MS
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
205
|
+
? t('network.perf.fast')
|
|
206
|
+
: duration < constants_1.DURATION_SLOW_MS
|
|
207
|
+
? t('network.perf.moderate')
|
|
208
|
+
: t('network.perf.slow')}
|
|
210
209
|
</react_native_1.Text>
|
|
211
210
|
</react_native_1.View>)}
|
|
212
211
|
<react_native_1.Text style={styles_1.default.metaValue}>
|
|
@@ -223,25 +222,25 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
|
|
|
223
222
|
</react_native_1.Text>
|
|
224
223
|
<react_native_1.Text style={{ fontFamily: AppFonts_1.AppFonts.interMedium, fontSize: 10.5, color: (0, helpers_1.getDurationColor)(duration) }}>
|
|
225
224
|
{duration < constants_1.DURATION_FAST_MS
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
225
|
+
? t('network.perf.fast')
|
|
226
|
+
: duration < constants_1.DURATION_SLOW_MS
|
|
227
|
+
? t('network.perf.moderate')
|
|
228
|
+
: t('network.perf.slow')}
|
|
230
229
|
</react_native_1.Text>
|
|
231
230
|
</react_native_1.View>
|
|
232
231
|
|
|
233
232
|
<react_native_1.View style={{
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
233
|
+
height: 6,
|
|
234
|
+
backgroundColor: AppColors_1.AppColors.grayBorderSecondary,
|
|
235
|
+
borderRadius: 3,
|
|
236
|
+
overflow: 'hidden',
|
|
237
|
+
}}>
|
|
239
238
|
<react_native_1.View style={{
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
height: '100%',
|
|
240
|
+
width: `${Math.min(100, Math.max(8, (duration / 1200) * 100))}%`,
|
|
241
|
+
backgroundColor: (0, helpers_1.getDurationColor)(duration),
|
|
242
|
+
borderRadius: 3,
|
|
243
|
+
}}/>
|
|
245
244
|
</react_native_1.View>
|
|
246
245
|
|
|
247
246
|
<react_native_1.View style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', marginTop: 1 }}>
|
|
@@ -277,21 +276,21 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
|
|
|
277
276
|
<react_native_1.View style={{ flexDirection: 'row', alignItems: 'center', gap: 10 }}>
|
|
278
277
|
{url && url.length > 50 && (<TouchableScale_1.default onPress={() => setUrlExpanded(prev => !prev)} hitSlop={8}>
|
|
279
278
|
<react_native_1.Text style={{
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
279
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
280
|
+
fontSize: 10.5,
|
|
281
|
+
color: AppColors_1.AppColors.purple,
|
|
282
|
+
}}>
|
|
284
283
|
{urlExpanded ? t('network.showLess') : t('network.showMore')}
|
|
285
284
|
</react_native_1.Text>
|
|
286
285
|
</TouchableScale_1.default>)}
|
|
287
286
|
|
|
288
287
|
{url && (<TouchableScale_1.default onPress={() => (0, helpers_1.handleOpenExternalLink)(url)} hitSlop={8}>
|
|
289
288
|
<react_native_1.Text style={{
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
289
|
+
fontFamily: AppFonts_1.AppFonts.interBold,
|
|
290
|
+
fontSize: 10.5,
|
|
291
|
+
color: AppColors_1.AppColors.purple,
|
|
292
|
+
textDecorationLine: 'underline',
|
|
293
|
+
}}>
|
|
295
294
|
{t('network.open')}
|
|
296
295
|
</react_native_1.Text>
|
|
297
296
|
</TouchableScale_1.default>)}
|
|
@@ -299,25 +298,24 @@ const MetaAccordion = ({ status, statusColor, duration, size, triggeredAt, metho
|
|
|
299
298
|
</react_native_1.View>
|
|
300
299
|
|
|
301
300
|
<react_native_1.View style={{
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
301
|
+
backgroundColor: AppColors_1.AppColors.slate50,
|
|
302
|
+
borderRadius: 8,
|
|
303
|
+
padding: 8,
|
|
304
|
+
borderWidth: 1.5,
|
|
305
|
+
borderColor: AppColors_1.AppColors.slate200,
|
|
306
|
+
width: '100%',
|
|
307
|
+
marginTop: 2,
|
|
308
|
+
}}>
|
|
310
309
|
<react_native_1.Text selectable={true} numberOfLines={urlExpanded ? undefined : 2} ellipsizeMode="tail" style={{
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
310
|
+
fontSize: 11,
|
|
311
|
+
textAlign: 'left',
|
|
312
|
+
lineHeight: 16.5,
|
|
313
|
+
}}>
|
|
315
314
|
{renderFormattedUrl(url)}
|
|
316
315
|
</react_native_1.Text>
|
|
317
316
|
</react_native_1.View>
|
|
318
317
|
</react_native_1.View>
|
|
319
|
-
</react_native_1.View>
|
|
320
|
-
</react_native_1.Animated.View>
|
|
318
|
+
</react_native_1.View>)}
|
|
321
319
|
</react_native_1.View>);
|
|
322
320
|
};
|
|
323
321
|
exports.default = MetaAccordion;
|
|
@@ -143,3 +143,11 @@ export declare const HeadphonesIcon: ({ color, size, }: IconProps) => React.JSX.
|
|
|
143
143
|
export declare const HelpCircleIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
144
144
|
export declare const SendIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
145
145
|
export declare const LifeBuoyIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
146
|
+
export declare const CameraIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
147
|
+
export declare const VideoCameraIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
148
|
+
export declare const MicrophoneIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
149
|
+
export declare const GifIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
150
|
+
export declare const PlayIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
151
|
+
export declare const PauseIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
152
|
+
export declare const ImageIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
153
|
+
export declare const FilmIcon: ({ color, size, }: IconProps) => React.JSX.Element;
|
|
@@ -38,7 +38,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.InfoCircleIcon = exports.UserIcon = exports.LayersIcon = exports.WipeIcon = exports.FolderIcon = exports.SettingsIcon = exports.EyeIcon = exports.JsIcon = exports.CssIcon = exports.HtmlIcon = exports.BrandSquareIcon = exports.BrandCircleIcon = exports.MoonIcon = exports.SunIcon = exports.DebugIcon = exports.InsightsIcon = exports.AnalyticsIcon = exports.WhiteBackNavigation = exports.CloseWhite = exports.DownloadIcon = exports.FilterIcon = exports.ChevronIcon = exports.SortArrowIcon = exports.GlobeIcon = exports.DiffIcon = exports.SignalIcon = exports.ExportIcon = exports.HeaderPauseIcon = exports.TrashIcon = exports.FailIcon = exports.CircleAlertIcon = exports.CircleXIcon = exports.CircleCheckIcon = exports.CheckIcon = exports.TerminalIcon = exports.FetchIcon = exports.CopyIcon = exports.HeadersIcon = exports.ResponseIcon = exports.RequestIcon = exports.SizeIcon = exports.StatusIcon = exports.CalendarIcon = exports.ClockIcon = exports.ClearIcon = exports.SearchIcon = exports.ExpandCollapseIcon = exports.ScreenIcon = exports.MapPinIcon = exports.EmptyRadarIcon = void 0;
|
|
40
40
|
exports.StackTraceIcon = exports.LayoutIcon = exports.ChipIcon = exports.SkullIcon = exports.ShieldAlertIcon = exports.CrashIcon = exports.UserCheckIcon = exports.TargetGoalIcon = exports.RepeatIcon = exports.PinIcon = exports.HourglassIcon = exports.FlameIcon = exports.CodeBracketsIcon = exports.AndroidIcon = exports.AppleIcon = exports.LinkChainIcon = exports.GitHubIcon = exports.StarIcon = exports.PackageBoxIcon = exports.ExternalLinkIcon = exports.MoneyIcon = exports.CartIcon = exports.TextAaIcon = exports.BrainIcon = exports.AtomIcon = exports.MapIcon = exports.SparkleIcon = exports.LightbulbIcon = exports.DocIcon = exports.FolderOpenIcon = exports.BanIcon = exports.BoltIcon = exports.PerformanceIcon = exports.ReduxIcon = exports.MetadataIcon = exports.StorageIcon = exports.RefreshCcwIcon = exports.TimelineIcon = exports.LiveStateIcon = exports.BundleIcon = exports.ForwardChevronIcon = exports.PackageIcon = exports.TableIcon = exports.RawIcon = exports.PrettyIcon = exports.SortIcon = exports.MotionIcon = exports.TrendingUpIcon = exports.ErrorCircleIcon = exports.WarningTriangleIcon = void 0;
|
|
41
|
-
exports.LifeBuoyIcon = exports.SendIcon = exports.HelpCircleIcon = exports.HeadphonesIcon = exports.TurtleIcon = exports.RocketIcon = exports.UnlockIcon = exports.QrCodeIcon = exports.LockIcon = exports.PlusIcon = exports.PencilIcon = exports.DatabaseIcon = exports.ShieldCheckIcon = exports.WifiIcon = exports.CpuIcon = exports.ChevronDownIcon = exports.ResetIcon = exports.NpmIcon = exports.TagIcon = exports.BugIcon = exports.AlertTriangleIcon = exports.SmartphoneIcon = exports.KeyIcon = exports.BarChartIcon = exports.DiceIcon = exports.ZapIcon = exports.FlaskIcon = exports.LoadingSpinnerIcon = exports.ListenerIcon = exports.AllFramesIcon = exports.AppFramesIcon = exports.RawJsonIcon = exports.TrailIcon = exports.DiagnosticsIcon = void 0;
|
|
41
|
+
exports.FilmIcon = exports.ImageIcon = exports.PauseIcon = exports.PlayIcon = exports.GifIcon = exports.MicrophoneIcon = exports.VideoCameraIcon = exports.CameraIcon = exports.LifeBuoyIcon = exports.SendIcon = exports.HelpCircleIcon = exports.HeadphonesIcon = exports.TurtleIcon = exports.RocketIcon = exports.UnlockIcon = exports.QrCodeIcon = exports.LockIcon = exports.PlusIcon = exports.PencilIcon = exports.DatabaseIcon = exports.ShieldCheckIcon = exports.WifiIcon = exports.CpuIcon = exports.ChevronDownIcon = exports.ResetIcon = exports.NpmIcon = exports.TagIcon = exports.BugIcon = exports.AlertTriangleIcon = exports.SmartphoneIcon = exports.KeyIcon = exports.BarChartIcon = exports.DiceIcon = exports.ZapIcon = exports.FlaskIcon = exports.LoadingSpinnerIcon = exports.ListenerIcon = exports.AllFramesIcon = exports.AppFramesIcon = exports.RawJsonIcon = exports.TrailIcon = exports.DiagnosticsIcon = void 0;
|
|
42
42
|
const react_1 = __importDefault(require("react"));
|
|
43
43
|
const react_native_svg_1 = __importStar(require("react-native-svg"));
|
|
44
44
|
const AppColors_1 = require("../styles/AppColors");
|
|
@@ -960,3 +960,53 @@ const LifeBuoyIcon = ({ color = AppColors_1.AppColors.white, size = 20, }) => (<
|
|
|
960
960
|
<react_native_svg_1.Line x1="4.93" y1="19.07" x2="9.17" y2="14.83" stroke={color} strokeWidth="2" strokeLinecap="round"/>
|
|
961
961
|
</react_native_svg_1.default>);
|
|
962
962
|
exports.LifeBuoyIcon = LifeBuoyIcon;
|
|
963
|
+
const CameraIcon = ({ color = AppColors_1.AppColors.white, size = 18, }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
964
|
+
<react_native_svg_1.Path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
965
|
+
<react_native_svg_1.Circle cx="12" cy="13" r="4" stroke={color} strokeWidth="2"/>
|
|
966
|
+
</react_native_svg_1.default>);
|
|
967
|
+
exports.CameraIcon = CameraIcon;
|
|
968
|
+
const VideoCameraIcon = ({ color = AppColors_1.AppColors.white, size = 18, }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
969
|
+
<react_native_svg_1.Path d="M23 7l-7 5 7 5V7z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
970
|
+
<react_native_svg_1.Rect x="1" y="5" width="15" height="14" rx="2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
971
|
+
</react_native_svg_1.default>);
|
|
972
|
+
exports.VideoCameraIcon = VideoCameraIcon;
|
|
973
|
+
const MicrophoneIcon = ({ color = AppColors_1.AppColors.white, size = 18, }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
974
|
+
<react_native_svg_1.Path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
975
|
+
<react_native_svg_1.Path d="M19 10v2a7 7 0 0 1-14 0v-2" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
976
|
+
<react_native_svg_1.Line x1="12" y1="19" x2="12" y2="23" stroke={color} strokeWidth="2" strokeLinecap="round"/>
|
|
977
|
+
<react_native_svg_1.Line x1="8" y1="23" x2="16" y2="23" stroke={color} strokeWidth="2" strokeLinecap="round"/>
|
|
978
|
+
</react_native_svg_1.default>);
|
|
979
|
+
exports.MicrophoneIcon = MicrophoneIcon;
|
|
980
|
+
const GifIcon = ({ color = AppColors_1.AppColors.white, size = 18, }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
981
|
+
<react_native_svg_1.Rect x="2" y="4" width="20" height="16" rx="3" stroke={color} strokeWidth="2"/>
|
|
982
|
+
<react_native_svg_1.Path d="M7 10h-1a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h1v-2H6.5" stroke={color} strokeWidth="1.75" strokeLinecap="round" strokeLinejoin="round"/>
|
|
983
|
+
<react_native_svg_1.Path d="M12 10v4" stroke={color} strokeWidth="1.75" strokeLinecap="round"/>
|
|
984
|
+
<react_native_svg_1.Path d="M18 10h-2v4M16 12h1.5" stroke={color} strokeWidth="1.75" strokeLinecap="round" strokeLinejoin="round"/>
|
|
985
|
+
</react_native_svg_1.default>);
|
|
986
|
+
exports.GifIcon = GifIcon;
|
|
987
|
+
const PlayIcon = ({ color = AppColors_1.AppColors.white, size = 18, }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
988
|
+
<react_native_svg_1.Path d="M5 3l14 9-14 9V3z" fill={color} stroke={color} strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"/>
|
|
989
|
+
</react_native_svg_1.default>);
|
|
990
|
+
exports.PlayIcon = PlayIcon;
|
|
991
|
+
const PauseIcon = ({ color = AppColors_1.AppColors.white, size = 18, }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
992
|
+
<react_native_svg_1.Rect x="6" y="4" width="4" height="16" fill={color} rx="1"/>
|
|
993
|
+
<react_native_svg_1.Rect x="14" y="4" width="4" height="16" fill={color} rx="1"/>
|
|
994
|
+
</react_native_svg_1.default>);
|
|
995
|
+
exports.PauseIcon = PauseIcon;
|
|
996
|
+
const ImageIcon = ({ color = AppColors_1.AppColors.white, size = 18, }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
997
|
+
<react_native_svg_1.Rect x="3" y="3" width="18" height="18" rx="2" stroke={color} strokeWidth="2"/>
|
|
998
|
+
<react_native_svg_1.Circle cx="8.5" cy="8.5" r="1.5" fill={color}/>
|
|
999
|
+
<react_native_svg_1.Path d="M21 15l-5-5L5 21" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
|
|
1000
|
+
</react_native_svg_1.default>);
|
|
1001
|
+
exports.ImageIcon = ImageIcon;
|
|
1002
|
+
const FilmIcon = ({ color = AppColors_1.AppColors.white, size = 18, }) => (<react_native_svg_1.default width={size} height={size} viewBox="0 0 24 24" fill="none">
|
|
1003
|
+
<react_native_svg_1.Rect x="2" y="2" width="20" height="20" rx="2.18" stroke={color} strokeWidth="2"/>
|
|
1004
|
+
<react_native_svg_1.Line x1="7" y1="2" x2="7" y2="22" stroke={color} strokeWidth="2"/>
|
|
1005
|
+
<react_native_svg_1.Line x1="17" y1="2" x2="17" y2="22" stroke={color} strokeWidth="2"/>
|
|
1006
|
+
<react_native_svg_1.Line x1="2" y1="12" x2="22" y2="12" stroke={color} strokeWidth="2"/>
|
|
1007
|
+
<react_native_svg_1.Line x1="2" y1="7" x2="7" y2="7" stroke={color} strokeWidth="2"/>
|
|
1008
|
+
<react_native_svg_1.Line x1="2" y1="17" x2="7" y2="17" stroke={color} strokeWidth="2"/>
|
|
1009
|
+
<react_native_svg_1.Line x1="17" y1="17" x2="22" y2="17" stroke={color} strokeWidth="2"/>
|
|
1010
|
+
<react_native_svg_1.Line x1="17" y1="7" x2="22" y2="7" stroke={color} strokeWidth="2"/>
|
|
1011
|
+
</react_native_svg_1.default>);
|
|
1012
|
+
exports.FilmIcon = FilmIcon;
|
|
@@ -1,42 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
4
|
};
|
|
38
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
const react_1 =
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
40
7
|
const react_native_1 = require("react-native");
|
|
41
8
|
const AppColors_1 = require("../styles/AppColors");
|
|
42
9
|
const CopyButton_1 = __importDefault(require("./CopyButton"));
|
|
@@ -45,18 +12,6 @@ const NetworkIcons_1 = require("./NetworkIcons");
|
|
|
45
12
|
const styles_1 = __importDefault(require("../styles"));
|
|
46
13
|
const SectionHeader = ({ title, value, expanded, onToggleExpand, showDiff, isDiffing, onToggleDiff, showSearch, isSearching, onToggleSearch, }) => {
|
|
47
14
|
const isOpen = expanded === undefined ? false : !!expanded;
|
|
48
|
-
const chevronAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(isOpen ? 1 : 0)).current;
|
|
49
|
-
(0, react_1.useEffect)(() => {
|
|
50
|
-
react_native_1.Animated.timing(chevronAnim, {
|
|
51
|
-
toValue: isOpen ? 1 : 0,
|
|
52
|
-
duration: 220,
|
|
53
|
-
useNativeDriver: true,
|
|
54
|
-
}).start();
|
|
55
|
-
}, [isOpen]);
|
|
56
|
-
const chevronRotate = chevronAnim.interpolate({
|
|
57
|
-
inputRange: [0, 1],
|
|
58
|
-
outputRange: ['0deg', '180deg'],
|
|
59
|
-
});
|
|
60
15
|
return (<react_native_1.View style={styles_1.default.sectionHeaderGradient}>
|
|
61
16
|
<react_native_1.View style={styles_1.default.sectionHeaderRow}>
|
|
62
17
|
<react_native_1.Pressable style={styles_1.default.sectionTitleRow} onPress={onToggleExpand} hitSlop={12}>
|
|
@@ -78,9 +33,9 @@ const SectionHeader = ({ title, value, expanded, onToggleExpand, showDiff, isDif
|
|
|
78
33
|
</TouchableScale_1.default>)}
|
|
79
34
|
<CopyButton_1.default value={value} label={title}/>
|
|
80
35
|
<TouchableScale_1.default onPress={onToggleExpand} hitSlop={12} style={styles_1.default.iconSquareBtn}>
|
|
81
|
-
<react_native_1.
|
|
36
|
+
<react_native_1.View style={{ transform: [{ rotate: isOpen ? '180deg' : '0deg' }] }}>
|
|
82
37
|
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong} size={14}/>
|
|
83
|
-
</react_native_1.
|
|
38
|
+
</react_native_1.View>
|
|
84
39
|
</TouchableScale_1.default>
|
|
85
40
|
</react_native_1.View>
|
|
86
41
|
</react_native_1.View>
|
|
@@ -44,12 +44,12 @@ exports.SkeletonPlaceholder = react_1.default.memo(function SkeletonPlaceholder(
|
|
|
44
44
|
react_native_1.Animated.timing(shimmerAnim, {
|
|
45
45
|
toValue: 0.85,
|
|
46
46
|
duration: 750,
|
|
47
|
-
useNativeDriver:
|
|
47
|
+
useNativeDriver: false,
|
|
48
48
|
}),
|
|
49
49
|
react_native_1.Animated.timing(shimmerAnim, {
|
|
50
50
|
toValue: 0.35,
|
|
51
51
|
duration: 750,
|
|
52
|
-
useNativeDriver:
|
|
52
|
+
useNativeDriver: false,
|
|
53
53
|
}),
|
|
54
54
|
]));
|
|
55
55
|
animation.start();
|
|
@@ -45,8 +45,8 @@ const NetworkIcons_1 = require("./NetworkIcons");
|
|
|
45
45
|
const AppColors_1 = require("../styles/AppColors");
|
|
46
46
|
const styles_1 = __importDefault(require("../styles"));
|
|
47
47
|
const SourcePageCard = ({ routeInfo }) => {
|
|
48
|
-
const main = (0, useAccordion_1.default)(true
|
|
49
|
-
const params = (0, useAccordion_1.default)(false
|
|
48
|
+
const main = (0, useAccordion_1.default)(true);
|
|
49
|
+
const params = (0, useAccordion_1.default)(false);
|
|
50
50
|
const hasParams = routeInfo.params && Object.keys(routeInfo.params).length > 0;
|
|
51
51
|
return (<react_native_1.View style={styles_1.default.sourcePageCard}>
|
|
52
52
|
<react_native_1.Pressable onPress={main.toggleOpen} hitSlop={12}>
|
|
@@ -70,59 +70,57 @@ const SourcePageCard = ({ routeInfo }) => {
|
|
|
70
70
|
<react_native_1.View style={styles_1.default.sourcePageHeaderRight}>
|
|
71
71
|
<CopyButton_1.default value={routeInfo.path} label="Source Path"/>
|
|
72
72
|
<react_native_1.View style={styles_1.default.iconSquareBtn}>
|
|
73
|
-
<react_native_1.
|
|
73
|
+
<react_native_1.View style={main.chevronStyle}>
|
|
74
74
|
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong} size={14}/>
|
|
75
|
-
</react_native_1.
|
|
75
|
+
</react_native_1.View>
|
|
76
76
|
</react_native_1.View>
|
|
77
77
|
</react_native_1.View>
|
|
78
78
|
</react_native_1.View>
|
|
79
79
|
</react_native_1.Pressable>
|
|
80
80
|
|
|
81
|
-
<react_native_1.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
81
|
+
{main.isOpen && (<react_native_1.View>
|
|
82
|
+
{hasParams && (<react_native_1.View style={styles_1.default.sourceParamsBox}>
|
|
83
|
+
<react_native_1.Pressable onPress={params.toggleOpen} hitSlop={10}>
|
|
84
|
+
<react_native_1.View style={styles_1.default.paramsAccordionHeader}>
|
|
85
|
+
<react_native_1.View style={styles_1.default.paramsAccordionLeft}>
|
|
86
|
+
<react_native_1.Text style={styles_1.default.sourceParamsLabel}>Parameters</react_native_1.Text>
|
|
87
|
+
<react_native_1.View style={styles_1.default.headerCountBadge}>
|
|
88
|
+
<react_native_1.Text style={styles_1.default.headerCountText}>
|
|
89
|
+
{Object.keys(routeInfo.params).length}
|
|
90
|
+
</react_native_1.Text>
|
|
91
|
+
</react_native_1.View>
|
|
91
92
|
</react_native_1.View>
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
</react_native_1.
|
|
93
|
+
<react_native_1.View style={styles_1.default.paramsAccordionRight}>
|
|
94
|
+
<CopyButton_1.default value={routeInfo.params} label="Parameters"/>
|
|
95
|
+
<react_native_1.View style={styles_1.default.iconSquareBtn}>
|
|
96
|
+
<react_native_1.View style={params.chevronStyle}>
|
|
97
|
+
<NetworkIcons_1.ChevronIcon color={AppColors_1.AppColors.grayTextStrong} size={14}/>
|
|
98
|
+
</react_native_1.View>
|
|
99
|
+
</react_native_1.View>
|
|
99
100
|
</react_native_1.View>
|
|
100
101
|
</react_native_1.View>
|
|
101
|
-
</react_native_1.
|
|
102
|
-
</react_native_1.Pressable>
|
|
102
|
+
</react_native_1.Pressable>
|
|
103
103
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
</react_native_1.View>
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
</react_native_1.View>)}
|
|
125
|
-
</react_native_1.Animated.View>
|
|
104
|
+
{params.isOpen && (<react_native_1.View style={styles_1.default.paramsBody}>
|
|
105
|
+
{Object.entries(routeInfo.params).map(([key, val], i, arr) => (<react_native_1.View key={key} style={[
|
|
106
|
+
styles_1.default.paramRow,
|
|
107
|
+
i < arr.length - 1 ? styles_1.default.paramRowBorder : null,
|
|
108
|
+
]}>
|
|
109
|
+
<react_native_1.Text style={styles_1.default.paramKey}>{key}</react_native_1.Text>
|
|
110
|
+
<react_native_1.View style={styles_1.default.paramValueRow}>
|
|
111
|
+
<react_native_1.Text selectable style={styles_1.default.paramValue}>
|
|
112
|
+
{typeof val === 'object'
|
|
113
|
+
? JSON.stringify(val)
|
|
114
|
+
: String(val)}
|
|
115
|
+
</react_native_1.Text>
|
|
116
|
+
<CopyButton_1.default value={typeof val === 'object'
|
|
117
|
+
? JSON.stringify(val)
|
|
118
|
+
: String(val)} label={key}/>
|
|
119
|
+
</react_native_1.View>
|
|
120
|
+
</react_native_1.View>))}
|
|
121
|
+
</react_native_1.View>)}
|
|
122
|
+
</react_native_1.View>)}
|
|
123
|
+
</react_native_1.View>)}
|
|
126
124
|
</react_native_1.View>);
|
|
127
125
|
};
|
|
128
126
|
exports.default = SourcePageCard;
|
|
@@ -54,13 +54,13 @@ const Toast = react_1.default.memo(() => {
|
|
|
54
54
|
react_native_1.Animated.timing(opacityAnim, {
|
|
55
55
|
toValue: 1,
|
|
56
56
|
duration: 180,
|
|
57
|
-
useNativeDriver:
|
|
57
|
+
useNativeDriver: false,
|
|
58
58
|
}),
|
|
59
59
|
react_native_1.Animated.spring(translateYAnim, {
|
|
60
60
|
toValue: 0,
|
|
61
61
|
tension: 80,
|
|
62
62
|
friction: 8,
|
|
63
|
-
useNativeDriver:
|
|
63
|
+
useNativeDriver: false,
|
|
64
64
|
}),
|
|
65
65
|
]).start();
|
|
66
66
|
hideTimerRef.current = setTimeout(() => {
|
|
@@ -68,12 +68,12 @@ const Toast = react_1.default.memo(() => {
|
|
|
68
68
|
react_native_1.Animated.timing(opacityAnim, {
|
|
69
69
|
toValue: 0,
|
|
70
70
|
duration: 200,
|
|
71
|
-
useNativeDriver:
|
|
71
|
+
useNativeDriver: false,
|
|
72
72
|
}),
|
|
73
73
|
react_native_1.Animated.timing(translateYAnim, {
|
|
74
74
|
toValue: 20,
|
|
75
75
|
duration: 200,
|
|
76
|
-
useNativeDriver:
|
|
76
|
+
useNativeDriver: false,
|
|
77
77
|
}),
|
|
78
78
|
]).start(() => {
|
|
79
79
|
setToastMessage(null);
|