react-native-inapp-inspector 2.5.11 → 2.5.13
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.ar.md +0 -8
- package/README.de.md +0 -8
- package/README.es.md +0 -8
- package/README.fr.md +0 -8
- package/README.hi.md +0 -8
- package/README.ja.md +0 -8
- package/README.ko.md +0 -8
- package/README.md +54 -26
- package/README.pt-BR.md +0 -8
- package/README.ru.md +0 -8
- package/README.zh-CN.md +0 -8
- 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/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/src/main/AndroidManifest.xml +11 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +379 -19
- package/android/src/main/res/xml/inappinspector_file_paths.xml +7 -0
- package/dist/commonjs/components/ConsoleLogCard.js +32 -26
- package/dist/commonjs/components/Inspector/AboutModal.js +1 -4
- 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 +19 -14
- package/dist/commonjs/components/Inspector/CrashTab.js +17 -17
- package/dist/commonjs/components/Inspector/DebuggingTab.js +24 -24
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +2 -2
- package/dist/commonjs/components/Inspector/FabLauncher.js +2 -2
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +2 -2
- package/dist/commonjs/components/Inspector/InspectorHeader.js +15 -15
- package/dist/commonjs/components/Inspector/MainScreen.js +9 -6
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +187 -90
- package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +1 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +222 -222
- package/dist/commonjs/components/Inspector/NetworkDetail.js +11 -8
- 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 +48 -42
- package/dist/commonjs/components/Inspector/NpmStarPrompt.js +11 -12
- package/dist/commonjs/components/Inspector/PerformanceTab.d.ts +2 -0
- package/dist/commonjs/components/Inspector/PerformanceTab.js +652 -0
- package/dist/commonjs/components/Inspector/ReduxDetail.js +17 -19
- package/dist/commonjs/components/Inspector/ReduxTab.js +5 -5
- package/dist/commonjs/components/Inspector/SettingsPanel.js +259 -255
- 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 +17 -16
- 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 +15 -10
- package/dist/commonjs/components/NetworkIcons.d.ts +6 -0
- package/dist/commonjs/components/NetworkIcons.js +35 -3
- package/dist/commonjs/constants/index.d.ts +1 -0
- package/dist/commonjs/constants/index.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.d.ts +3 -0
- package/dist/commonjs/helpers/index.js +6 -6
- package/dist/commonjs/helpers/performanceSampler.d.ts +88 -0
- package/dist/commonjs/helpers/performanceSampler.js +1 -0
- package/dist/commonjs/helpers/remoteConfig.d.ts +0 -2
- 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 +6 -4
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/native/NativeInspector.d.ts +2 -0
- package/dist/commonjs/native/NativeInspector.js +1 -1
- package/dist/commonjs/native/NativeNetworkInspector.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 +1 -0
- package/dist/commonjs/types/enums.js +1 -1
- package/dist/commonjs/types/interfaces.d.ts +8 -0
- package/dist/esm/components/ConsoleLogCard.js +67 -61
- package/dist/esm/components/Inspector/AboutModal.js +14 -17
- 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 +33 -28
- package/dist/esm/components/Inspector/CrashTab.js +58 -58
- package/dist/esm/components/Inspector/DebuggingTab.js +89 -89
- package/dist/esm/components/Inspector/DeviceInfoTab.js +2 -2
- package/dist/esm/components/Inspector/FabLauncher.js +21 -21
- package/dist/esm/components/Inspector/FloatingCaptureWidget.js +23 -23
- package/dist/esm/components/Inspector/InspectorHeader.js +31 -31
- package/dist/esm/components/Inspector/MainScreen.js +61 -58
- package/dist/esm/components/Inspector/MediaGalleryTab.js +244 -147
- package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +1 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.js +468 -468
- package/dist/esm/components/Inspector/NetworkDetail.js +62 -59
- 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 +76 -70
- package/dist/esm/components/Inspector/NpmStarPrompt.js +32 -33
- package/dist/esm/components/Inspector/PerformanceTab.d.ts +2 -0
- package/dist/esm/components/Inspector/PerformanceTab.js +652 -0
- package/dist/esm/components/Inspector/ReduxDetail.js +54 -56
- package/dist/esm/components/Inspector/ReduxTab.js +9 -9
- package/dist/esm/components/Inspector/SettingsPanel.js +302 -298
- 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 +4 -3
- 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 +60 -55
- package/dist/esm/components/NetworkIcons.d.ts +6 -0
- package/dist/esm/components/NetworkIcons.js +32 -0
- package/dist/esm/constants/index.d.ts +1 -0
- package/dist/esm/constants/index.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.d.ts +3 -0
- package/dist/esm/helpers/index.js +6 -6
- package/dist/esm/helpers/performanceSampler.d.ts +88 -0
- package/dist/esm/helpers/performanceSampler.js +1 -0
- package/dist/esm/helpers/remoteConfig.d.ts +0 -2
- 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 +6 -4
- package/dist/esm/index.js +8 -8
- package/dist/esm/native/NativeInspector.d.ts +2 -0
- package/dist/esm/native/NativeInspector.js +1 -1
- package/dist/esm/native/NativeNetworkInspector.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 +1 -0
- package/dist/esm/types/enums.js +1 -1
- package/dist/esm/types/interfaces.d.ts +8 -0
- package/ios/NetworkInspectorModule.mm +314 -16
- package/package.json +24 -1
- package/src/native/NativeInspector.ts +37 -0
- package/src/native/NativeNetworkInspector.ts +2 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/results.bin +0 -1
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/BuildConfig.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView$iconView$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/InAppInspectorFloatingView.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NativeNetworkInspectorSpec.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$Companion.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$activityEventListener$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$frameCallback$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$shakeListener$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorModule.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/inappinspector/NetworkInspectorPackage.dex +0 -0
- package/android/build/.transforms/ad628164ecef2a7cc593f0fd2f4050ce/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/.transforms/c93e459e24d856bde563ebb048265732/results.bin +0 -1
- package/android/build/.transforms/c93e459e24d856bde563ebb048265732/transformed/classes/classes_dex/classes.dex +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 -160
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/android/build/generated/source/codegen/jni/RNInAppInspectorSpec-generated.cpp +0 -212
- 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 -300
- 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_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/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/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_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$activityEventListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/inappinspector/NetworkInspectorPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +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/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$activityEventListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$frameCallback$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$getCapturedMedia$lambda$57$$inlined$sortedByDescending$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$shakeListener$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule$startVideoRecording$2$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/inappinspector/NetworkInspectorPackage.class +0 -0
- package/dist/commonjs/a11y.d.ts +0 -2
- package/dist/commonjs/a11y.js +0 -1
- package/dist/commonjs/components/Inspector/A11yTab.d.ts +0 -2
- package/dist/commonjs/components/Inspector/A11yTab.js +0 -268
- package/dist/commonjs/components/Inspector/DeveloperSponsorCard.d.ts +0 -9
- package/dist/commonjs/components/Inspector/DeveloperSponsorCard.js +0 -52
- package/dist/commonjs/customHooks/a11yAdapter.d.ts +0 -11
- package/dist/commonjs/customHooks/a11yAdapter.js +0 -1
- package/dist/commonjs/helpers/sponsorService.d.ts +0 -20
- package/dist/commonjs/helpers/sponsorService.js +0 -1
- package/dist/esm/a11y.d.ts +0 -2
- package/dist/esm/a11y.js +0 -1
- package/dist/esm/components/Inspector/A11yTab.d.ts +0 -2
- package/dist/esm/components/Inspector/A11yTab.js +0 -268
- package/dist/esm/components/Inspector/DeveloperSponsorCard.d.ts +0 -9
- package/dist/esm/components/Inspector/DeveloperSponsorCard.js +0 -52
- package/dist/esm/customHooks/a11yAdapter.d.ts +0 -11
- package/dist/esm/customHooks/a11yAdapter.js +0 -1
- package/dist/esm/helpers/sponsorService.d.ts +0 -20
- package/dist/esm/helpers/sponsorService.js +0 -1
|
@@ -1,32 +1,38 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(r,o,t,l){l===void 0&&(l=t);var n=Object.getOwnPropertyDescriptor(o,t);(!n||("get"in n?!o.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return o[t]}}),Object.defineProperty(r,l,n)}):(function(r,o,t,l){l===void 0&&(l=t),r[l]=o[t]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(r,o){Object.defineProperty(r,"default",{enumerable:!0,value:o})}):function(r,o){r.default=o}),__importStar=this&&this.__importStar||(function(){var r=function(o){return r=Object.getOwnPropertyNames||function(t){var l=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(l[l.length]=n);return l},r(o)};return function(o){if(o&&o.__esModule)return o;var t={};if(o!=null)for(var l=r(o),n=0;n<l.length;n++)l[n]!=="default"&&__createBinding(t,o,l[n]);return __setModuleDefault(t,o),t}})(),__importDefault=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.MemoizedConsoleLogCard=exports.ConsoleLogCard=void 0;const react_1=__importDefault(require("react")),i18n_1=require("../i18n"),react_native_1=require("react-native"),react_native_svg_1=__importStar(require("react-native-svg")),AppColors_1=require("../styles/AppColors"),AppFonts_1=require("../styles/AppFonts"),helpers_1=require("../helpers"),TouchableScale_1=__importDefault(require("./TouchableScale")),LogSyntaxHighlighter_1=__importDefault(require("./LogSyntaxHighlighter")),NetworkIcons_1=require("./NetworkIcons"),InspectorContext_1=require("./Inspector/InspectorContext"),getLogMessageWithBadges=(r,o,t,l,n)=>{if(!r)return null;const u=/^((?:\[[^\]]+\]\s*)+)/,d=r.match(u);if(d){const C=d[1],A=r.substring(C.length),i=C.match(/\[[^\]]+\]/g)||[],g=a=>{const e=a.replace(/[\[\]]/g,"").trim().toUpperCase();return e==="AXIOS"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.ZapIcon,label:"AXIOS"}:e==="API"||e==="FETCH"||e==="HTTP"||e==="REST"||e==="NETWORK"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.GlobeIcon,label:e}:e==="GRAPHQL"||e==="GQL"||e==="APOLLO"||e==="MUTATION"||e==="QUERY"?{color:AppColors_1.AppColors.pink500,Icon:NetworkIcons_1.AtomIcon,label:e}:e==="WS"||e==="WEBSOCKET"||e==="SOCKET"||e==="SOCKET.IO"||e==="REALTIME"?{color:AppColors_1.AppColors.cyan600,Icon:NetworkIcons_1.SignalIcon,label:e}:e==="REDUX"||e==="STORE"||e==="STATE"||e==="ZUSTAND"||e==="MOBX"||e==="RECOIL"||e==="ACTION"||e==="DISPATCH"?{color:AppColors_1.AppColors.violet600,Icon:NetworkIcons_1.AtomIcon,label:e}:e==="ANALYTICS"||e==="FIREBASE"||e==="GA4"||e==="GA"||e==="SEGMENT"||e==="MIXPANEL"||e==="POSTHOG"||e==="TRACK"||e==="EVENT"?{color:AppColors_1.AppColors.teal600,Icon:NetworkIcons_1.BarChartIcon,label:e}:e==="AUTH"||e==="TOKEN"||e==="SESSION"||e==="JWT"||e==="LOGIN"||e==="LOGOUT"||e==="USER"?{color:AppColors_1.AppColors.amber600,Icon:NetworkIcons_1.KeyIcon,label:e}:e==="SECURITY"||e==="SHIELD"||e==="PERMISSION"||e==="PERMISSIONS"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.ShieldAlertIcon,label:e}:e==="NAV"||e==="NAVIGATION"||e==="ROUTE"||e==="SCREEN"||e==="ROUTER"||e==="DEEPLINK"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.MapPinIcon,label:e}:e==="STORAGE"||e==="ASYNCSTORAGE"||e==="MMKV"||e==="SQLITE"||e==="DB"||e==="DATABASE"||e==="REALM"||e==="CACHE"?{color:AppColors_1.AppColors.purple500,Icon:NetworkIcons_1.StorageIcon,label:e}:e==="PERF"||e==="RENDER"||e==="PERFORMANCE"||e==="FPS"||e==="MEMORY"?{color:AppColors_1.AppColors.violet500,Icon:NetworkIcons_1.PerformanceIcon,label:e}:e==="INIT"||e==="BOOT"||e==="STARTUP"||e==="LIFECYCLE"||e==="MOUNT"||e==="UNMOUNT"?{color:AppColors_1.AppColors.blue600,Icon:NetworkIcons_1.ZapIcon,label:e}:e==="SYNC"||e==="REFRESH"||e==="BACKGROUND"||e==="JOB"||e==="WORKER"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.RefreshCcwIcon,label:e}:e==="PUSH"||e==="NOTIF"||e==="NOTIFICATION"||e==="FCM"||e==="APNS"?{color:AppColors_1.AppColors.darkOrange,Icon:NetworkIcons_1.FlameIcon,label:e}:e==="PAY"||e==="PAYMENT"||e==="STRIPE"||e==="IAP"||e==="BILLING"||e==="CHECKOUT"||e==="CART"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.MoneyIcon,label:e}:e==="DEVICE"||e==="HARDWARE"||e==="BLE"||e==="BLUETOOTH"||e==="NFC"||e==="SENSOR"?{color:AppColors_1.AppColors.slate600,Icon:NetworkIcons_1.ChipIcon,label:e}:e==="LOCATION"||e==="GPS"||e==="GEO"?{color:AppColors_1.AppColors.emerald600,Icon:NetworkIcons_1.MapPinIcon,label:e}:e==="APP"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.SmartphoneIcon,label:"APP"}:e==="UI"||e==="VIEW"||e==="THEME"||e==="STYLE"||e==="LAYOUT"?{color:AppColors_1.AppColors.pink600,Icon:NetworkIcons_1.LayoutIcon,label:e}:e==="TEST"||e==="MOCK"||e==="SPEC"?{color:AppColors_1.AppColors.emerald500,Icon:NetworkIcons_1.FlaskIcon,label:"TEST"}:e==="SAMPLE"||e==="BATCH"?{color:AppColors_1.AppColors.indigo600Alt,Icon:NetworkIcons_1.DiceIcon,label:e}:e==="CONFIG"||e==="ENV"||e==="SETTINGS"?{color:AppColors_1.AppColors.slate700,Icon:NetworkIcons_1.SettingsIcon,label:e}:e==="DEBUG"||e==="TRACE"?{color:AppColors_1.AppColors.purpleText,Icon:NetworkIcons_1.TerminalIcon,label:e}:e==="INFO"?{color:AppColors_1.AppColors.sky600,Icon:NetworkIcons_1.InfoCircleIcon,label:"INFO"}:e==="SUCCESS"||e==="OK"||e==="DONE"||e==="PASSED"?{color:AppColors_1.AppColors.green600,Icon:NetworkIcons_1.CircleCheckIcon,label:e}:e==="WARN"||e==="WARNING"?{color:AppColors_1.AppColors.amber600,Icon:NetworkIcons_1.AlertTriangleIcon,label:"WARN"}:e==="ERROR"||e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?{color:AppColors_1.AppColors.red600,Icon:NetworkIcons_1.BugIcon,label:e==="CRASH"||e==="BUG"||e==="FATAL"||e==="EXCEPTION"||e==="FAIL"?e:"ERROR"}:{color:AppColors_1.AppColors.slate600,Icon:NetworkIcons_1.TagIcon,label:e}};return<react_native_1.View style={{flexDirection:"column",gap:2}}>
|
|
2
2
|
<react_native_1.View style={{flexDirection:"row",gap:4,overflow:"hidden"}}>
|
|
3
|
-
{
|
|
4
|
-
<
|
|
5
|
-
<react_native_1.Text style={[styles.prefixTagText,{color:
|
|
6
|
-
{
|
|
3
|
+
{i.slice(0,2).map((a,e)=>{const p=g(a),I=p.Icon;return<react_native_1.View key={e}style={[styles.prefixTag,{backgroundColor:`${p.color}12`,borderColor:`${p.color}30`}]}>
|
|
4
|
+
<I color={p.color}size={8.5}/>
|
|
5
|
+
<react_native_1.Text style={[styles.prefixTagText,{color:p.color}]}>
|
|
6
|
+
{p.label}
|
|
7
7
|
</react_native_1.Text>
|
|
8
8
|
</react_native_1.View>})}
|
|
9
9
|
</react_native_1.View>
|
|
10
|
-
<LogSyntaxHighlighter_1.default text={
|
|
11
|
-
</react_native_1.View>}return<LogSyntaxHighlighter_1.default text={
|
|
12
|
-
<TouchableScale_1.default testID={
|
|
10
|
+
<LogSyntaxHighlighter_1.default text={A}search={o}style={t}numberOfLines={1}detectLinks={!1}/>
|
|
11
|
+
</react_native_1.View>}return<LogSyntaxHighlighter_1.default text={r}search={o}style={t}numberOfLines={n||2}detectLinks={!1}/>};exports.ConsoleLogCard=react_1.default.memo(function({item:o,searchStr:t="",onPress:l,testID:n,isSelected:u,onToggleSelect:d}){const{setSelectedLog:C}=(0,InspectorContext_1.useInspector)(),{t:A}=(0,i18n_1.useTranslation)(),i=(0,helpers_1.getJsonContent)(o.message),g=o.message.toLowerCase().includes("[analytics error]"),a=react_1.default.useMemo(()=>{const s=(0,helpers_1.getCleanCallerDisplay)(o.caller);if(!s)return null;const c=(0,helpers_1.parseStackLine)(o.caller,!0);return{...c,display:s.display,fileName:s.fileName,lineNumber:s.lineNumber||c.lineNumber}},[o.caller]),p=(()=>{const s=(o.type||"log").toLowerCase(),c=(o.sourceMethod||s).toLowerCase();return g||s==="error"||c==="error"?{badgeColor:AppColors_1.AppColors.errorColor,border:AppColors_1.AppColors.errorColor,badgeBg:`${AppColors_1.AppColors.errorColor}18`,badgeText:AppColors_1.AppColors.errorColor,label:"ERROR",cardBg:AppColors_1.AppColors.errorCardBg,statusPillBg:`${AppColors_1.AppColors.errorColor}14`,statusPillBorder:`${AppColors_1.AppColors.errorColor}33`,statusPillText:AppColors_1.AppColors.errorColor,StatusIcon:NetworkIcons_1.CircleXIcon}:s==="warn"||c==="warn"?{badgeColor:AppColors_1.AppColors.darkOrange,border:AppColors_1.AppColors.darkOrange,badgeBg:`${AppColors_1.AppColors.darkOrange}18`,badgeText:AppColors_1.AppColors.darkOrange,label:"WARN",cardBg:AppColors_1.AppColors.warnCardBg,statusPillBg:`${AppColors_1.AppColors.darkOrange}14`,statusPillBorder:`${AppColors_1.AppColors.darkOrange}33`,statusPillText:AppColors_1.AppColors.darkOrange,StatusIcon:NetworkIcons_1.CircleAlertIcon}:s==="debug"||c==="debug"?{badgeColor:AppColors_1.AppColors.purple,border:AppColors_1.AppColors.purple,badgeBg:`${AppColors_1.AppColors.purple}18`,badgeText:AppColors_1.AppColors.purple,label:"DEBUG",cardBg:AppColors_1.AppColors.purpleTintBg,statusPillBg:`${AppColors_1.AppColors.purple}14`,statusPillBorder:`${AppColors_1.AppColors.purple}33`,statusPillText:AppColors_1.AppColors.purple,StatusIcon:NetworkIcons_1.ZapIcon}:c==="info"||s==="info"&&c!=="log"?{badgeColor:AppColors_1.AppColors.sky600,border:AppColors_1.AppColors.sky600,badgeBg:`${AppColors_1.AppColors.sky600}18`,badgeText:AppColors_1.AppColors.sky600,label:"INFO",cardBg:AppColors_1.AppColors.blueTintBg,statusPillBg:`${AppColors_1.AppColors.sky600}14`,statusPillBorder:`${AppColors_1.AppColors.sky600}33`,statusPillText:AppColors_1.AppColors.sky600,StatusIcon:NetworkIcons_1.InfoCircleIcon}:{badgeColor:AppColors_1.AppColors.brandPurple,border:AppColors_1.AppColors.brandPurple,badgeBg:`${AppColors_1.AppColors.brandPurple}15`,badgeText:AppColors_1.AppColors.brandPurple,label:"LOG",cardBg:AppColors_1.AppColors.white,statusPillBg:`${AppColors_1.AppColors.brandPurple}12`,statusPillBorder:`${AppColors_1.AppColors.brandPurple}2E`,statusPillText:AppColors_1.AppColors.brandPurple,StatusIcon:NetworkIcons_1.CircleCheckIcon}})(),I=p.StatusIcon,T=i?(0,helpers_1.getJsonPreviewText)(i.data):null,x=()=>{l?l(o):C(o)},y=("sourceMethod"in o?o.sourceMethod:void 0)||o.type||"log";return<react_native_1.View style={styles.container}>
|
|
12
|
+
<TouchableScale_1.default testID={n}onPress={x}style={[styles.card,{borderLeftWidth:3.5,borderLeftColor:p.border,backgroundColor:p.cardBg}]}>
|
|
13
13
|
<react_native_1.View style={styles.cardBody}>
|
|
14
14
|
|
|
15
15
|
<react_native_1.View style={styles.cardHeaderRow}>
|
|
16
16
|
<react_native_1.View style={styles.cardHeaderLeft}>
|
|
17
|
+
{d&&o.id!=null&&<react_native_1.Pressable testID={`inspector.console.checkbox.${o.id}`}onPress={s=>{s.stopPropagation(),d(o.id)}}hitSlop={8}style={[styles.smallCheckbox,u&&styles.smallCheckboxChecked]}>
|
|
18
|
+
{u&&<react_native_svg_1.default width={9}height={9}viewBox="0 0 24 24"fill="none">
|
|
19
|
+
<react_native_svg_1.Path d="M20 6L9 17l-5-5"stroke={AppColors_1.AppColors.white}strokeWidth="4"strokeLinecap="round"strokeLinejoin="round"/>
|
|
20
|
+
</react_native_svg_1.default>}
|
|
21
|
+
</react_native_1.Pressable>}
|
|
22
|
+
|
|
17
23
|
<react_native_1.Text style={styles.serialNumber}>
|
|
18
24
|
#{o.id!=null?o.id+1:1}
|
|
19
25
|
</react_native_1.Text>
|
|
20
26
|
|
|
21
27
|
|
|
22
|
-
<react_native_1.View style={[styles.methodBadge,{backgroundColor:
|
|
23
|
-
<react_native_1.Text style={styles.methodBadgeText}>{
|
|
28
|
+
<react_native_1.View style={[styles.methodBadge,{backgroundColor:p.badgeColor}]}>
|
|
29
|
+
<react_native_1.Text style={styles.methodBadgeText}>{p.label}</react_native_1.Text>
|
|
24
30
|
</react_native_1.View>
|
|
25
31
|
|
|
26
32
|
|
|
27
|
-
{
|
|
33
|
+
{i&&<react_native_1.View style={[styles.chip,{backgroundColor:`${AppColors_1.AppColors.teal600}12`,borderColor:`${AppColors_1.AppColors.teal600}2E`}]}>
|
|
28
34
|
<react_native_1.Text style={[styles.chipText,{color:AppColors_1.AppColors.teal600}]}>
|
|
29
|
-
{Array.isArray(
|
|
35
|
+
{Array.isArray(i.data)?`Array[${i.data.length}]`:`Object{${Object.keys(i.data).length}}`}
|
|
30
36
|
</react_native_1.Text>
|
|
31
37
|
</react_native_1.View>}
|
|
32
38
|
|
|
@@ -46,10 +52,10 @@
|
|
|
46
52
|
|
|
47
53
|
|
|
48
54
|
<react_native_1.View style={styles.messageBox}>
|
|
49
|
-
{
|
|
50
|
-
{
|
|
51
|
-
{
|
|
52
|
-
</react_native_1.View>:getLogMessageWithBadges(o.message,
|
|
55
|
+
{i?<react_native_1.View style={styles.jsonPreviewRow}>
|
|
56
|
+
{i.header?<LogSyntaxHighlighter_1.default text={i.header}search={t}style={styles.messageText}detectLinks={!1}numberOfLines={1}/>:null}
|
|
57
|
+
{T&&<LogSyntaxHighlighter_1.default text={T.text.replace(/\s+/g," ")}search={t}style={styles.jsonPreviewText}detectLinks={!1}numberOfLines={i.header?2:3}/>}
|
|
58
|
+
</react_native_1.View>:getLogMessageWithBadges(o.message,t,styles.messageText,styles.highlight,3)}
|
|
53
59
|
</react_native_1.View>
|
|
54
60
|
|
|
55
61
|
|
|
@@ -62,34 +68,34 @@
|
|
|
62
68
|
</react_native_1.Text>
|
|
63
69
|
</react_native_1.View>
|
|
64
70
|
|
|
65
|
-
{
|
|
66
|
-
{
|
|
67
|
-
<react_native_1.Text style={[styles.extBadgeText,{color:
|
|
68
|
-
{
|
|
71
|
+
{a&&<react_native_1.Pressable onPress={s=>{s.stopPropagation?.(),(0,helpers_1.openInVSCode)(a.rawFilePath||a.fullPath||a.fileName,a.lineNumber,a.columnNumber)}}hitSlop={8}style={styles.callerChip}>
|
|
72
|
+
{a.fileExt&&a.fileExt!=="other"&&<react_native_1.View style={[styles.extBadge,{backgroundColor:a.fileExt==="tsx"||a.fileExt==="ts"?`${AppColors_1.AppColors.brandPurple}22`:`${AppColors_1.AppColors.teal600}22`}]}>
|
|
73
|
+
<react_native_1.Text style={[styles.extBadgeText,{color:a.fileExt==="tsx"||a.fileExt==="ts"?AppColors_1.AppColors.brandPurple:AppColors_1.AppColors.teal600}]}>
|
|
74
|
+
{a.fileExt.toUpperCase()}
|
|
69
75
|
</react_native_1.Text>
|
|
70
76
|
</react_native_1.View>}
|
|
71
77
|
<react_native_1.Text style={styles.callerChipText}numberOfLines={1}ellipsizeMode="middle">
|
|
72
|
-
{
|
|
78
|
+
{a.display}
|
|
73
79
|
</react_native_1.Text>
|
|
74
80
|
<NetworkIcons_1.ExternalLinkIcon color={AppColors_1.AppColors.sky600}size={8}/>
|
|
75
81
|
</react_native_1.Pressable>}
|
|
76
82
|
</react_native_1.View>
|
|
77
83
|
|
|
78
84
|
<react_native_1.View style={styles.footerRight}>
|
|
79
|
-
{
|
|
85
|
+
{i&&<react_native_1.View style={styles.metaStatChip}>
|
|
80
86
|
<NetworkIcons_1.SizeIcon color={AppColors_1.AppColors.purple}size={8.5}/>
|
|
81
87
|
<react_native_1.Text style={styles.metaStatText}>
|
|
82
|
-
{(0,helpers_1.getSize)(
|
|
88
|
+
{(0,helpers_1.getSize)(i.data)}
|
|
83
89
|
</react_native_1.Text>
|
|
84
90
|
</react_native_1.View>}
|
|
85
91
|
|
|
86
|
-
{
|
|
92
|
+
{g&&<react_native_1.View style={[styles.chip,{backgroundColor:`${AppColors_1.AppColors.skyBlue}15`,borderColor:`${AppColors_1.AppColors.skyBlue}30`}]}>
|
|
87
93
|
<react_native_1.Text style={[styles.chipText,{color:AppColors_1.AppColors.skyBlue}]}>
|
|
88
|
-
{
|
|
94
|
+
{A("console.analyticsBadge")||"ANALYTICS"}
|
|
89
95
|
</react_native_1.Text>
|
|
90
96
|
</react_native_1.View>}
|
|
91
97
|
</react_native_1.View>
|
|
92
98
|
</react_native_1.View>
|
|
93
99
|
</react_native_1.View>
|
|
94
100
|
</TouchableScale_1.default>
|
|
95
|
-
</react_native_1.View>});const styles=react_native_1.StyleSheet.create({container:{paddingHorizontal:8,paddingVertical:4,height:148,justifyContent:"center"},card:{height:140,alignSelf:"stretch",borderRadius:10,overflow:"hidden",borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,shadowColor:AppColors_1.AppColors.shadowColorString},cardBody:{height:"100%",paddingHorizontal:8,paddingTop:8,paddingBottom:6,justifyContent:"space-between"},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:22,minHeight:22,maxHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:4,gap:4.5,minWidth:0,overflow:"hidden"},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},serialNumber:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:6,paddingVertical:2,borderRadius:5,alignItems:"center",justifyContent:"center"},methodBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,lineHeight:12,letterSpacing:.5,color:AppColors_1.AppColors.white},chip:{paddingHorizontal:5.5,paddingVertical:1.5,borderRadius:4,borderWidth:1},chipText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9,lineHeight:12},dupBadge:{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}2E`,borderWidth:1,paddingHorizontal:4.5,paddingVertical:1,borderRadius:3.5},dupBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.purple},statusPill:{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,flexShrink:0},statusPillText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,lineHeight:12},messageBox:{backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:7,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,paddingHorizontal:7,paddingVertical:5,height:68,minHeight:68,maxHeight:68,justifyContent:"center",gap:2,overflow:"hidden"},messageText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.primaryBlack,lineHeight:17},highlight:{backgroundColor:AppColors_1.AppColors.yellowHighlight,color:AppColors_1.AppColors.primaryBlack,borderRadius:2},jsonPreviewRow:{flexDirection:"column",justifyContent:"center",gap:2},jsonPreviewText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.teal700,lineHeight:15},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:18,minHeight:18,maxHeight:18,gap:4},footerLeft:{flexDirection:"row",alignItems:"center",gap:4.5,flex:1,minWidth:0,overflow:"hidden"},footerRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5},cardDateText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.slate400},callerChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:AppColors_1.AppColors.skySoftBg,borderColor:AppColors_1.AppColors.skySoftBorder,borderWidth:1,paddingHorizontal:5,paddingVertical:1.5,borderRadius:4,flexShrink:1,minWidth:0},extBadge:{borderRadius:3,paddingHorizontal:3,paddingVertical:.5},extBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:7.5},callerChipText:{color:AppColors_1.AppColors.skySoftText,fontSize:9,lineHeight:12,fontFamily:AppFonts_1.AppFonts.interBold},metaStatChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:AppColors_1.AppColors.violetSoftBg,borderColor:AppColors_1.AppColors.violetSoftBorder,borderWidth:1,paddingHorizontal:5.5,paddingVertical:1.5,borderRadius:4},metaStatText:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.violetSoftText,fontSize:9,lineHeight:12},prefixTag:{flexDirection:"row",alignItems:"center",gap:2.5,paddingHorizontal:5,paddingVertical:1.5,borderRadius:3.5,borderWidth:1},prefixTagText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,letterSpacing:.3},bottomAccentBar:{height:2.5,width:"100%",borderRadius:1.5,marginTop:2}});function areConsoleLogPropsEqual(
|
|
101
|
+
</react_native_1.View>});const styles=react_native_1.StyleSheet.create({container:{paddingHorizontal:8,paddingVertical:4,height:148,justifyContent:"center"},card:{height:140,alignSelf:"stretch",borderRadius:10,overflow:"hidden",borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,shadowColor:AppColors_1.AppColors.shadowColorString},cardBody:{height:"100%",paddingHorizontal:8,paddingTop:8,paddingBottom:6,justifyContent:"space-between"},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:22,minHeight:22,maxHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:4,gap:4.5,minWidth:0,overflow:"hidden"},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},serialNumber:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:6,paddingVertical:2,borderRadius:5,alignItems:"center",justifyContent:"center"},methodBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,lineHeight:12,letterSpacing:.5,color:AppColors_1.AppColors.white},chip:{paddingHorizontal:5.5,paddingVertical:1.5,borderRadius:4,borderWidth:1},chipText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9,lineHeight:12},dupBadge:{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}2E`,borderWidth:1,paddingHorizontal:4.5,paddingVertical:1,borderRadius:3.5},dupBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.purple},statusPill:{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,flexShrink:0},statusPillText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,lineHeight:12},messageBox:{backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:7,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,paddingHorizontal:7,paddingVertical:5,height:68,minHeight:68,maxHeight:68,justifyContent:"center",gap:2,overflow:"hidden"},messageText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,color:AppColors_1.AppColors.primaryBlack,lineHeight:17},highlight:{backgroundColor:AppColors_1.AppColors.yellowHighlight,color:AppColors_1.AppColors.primaryBlack,borderRadius:2},jsonPreviewRow:{flexDirection:"column",justifyContent:"center",gap:2},jsonPreviewText:{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11,color:AppColors_1.AppColors.teal700,lineHeight:15},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:18,minHeight:18,maxHeight:18,gap:4},footerLeft:{flexDirection:"row",alignItems:"center",gap:4.5,flex:1,minWidth:0,overflow:"hidden"},footerRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5},cardDateText:{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.slate400},callerChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:AppColors_1.AppColors.skySoftBg,borderColor:AppColors_1.AppColors.skySoftBorder,borderWidth:1,paddingHorizontal:5,paddingVertical:1.5,borderRadius:4,flexShrink:1,minWidth:0},extBadge:{borderRadius:3,paddingHorizontal:3,paddingVertical:.5},extBadgeText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:7.5},callerChipText:{color:AppColors_1.AppColors.skySoftText,fontSize:9,lineHeight:12,fontFamily:AppFonts_1.AppFonts.interBold},metaStatChip:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:AppColors_1.AppColors.violetSoftBg,borderColor:AppColors_1.AppColors.violetSoftBorder,borderWidth:1,paddingHorizontal:5.5,paddingVertical:1.5,borderRadius:4},metaStatText:{fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.violetSoftText,fontSize:9,lineHeight:12},prefixTag:{flexDirection:"row",alignItems:"center",gap:2.5,paddingHorizontal:5,paddingVertical:1.5,borderRadius:3.5,borderWidth:1},prefixTagText:{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,letterSpacing:.3},bottomAccentBar:{height:2.5,width:"100%",borderRadius:1.5,marginTop:2},smallCheckbox:{width:14,height:14,borderRadius:3.5,borderWidth:1.2,borderColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:AppColors_1.AppColors.primaryLight,alignItems:"center",justifyContent:"center",marginRight:2},smallCheckboxChecked:{backgroundColor:AppColors_1.AppColors.purple,borderColor:AppColors_1.AppColors.purple}});function areConsoleLogPropsEqual(r,o){return r.item===o.item&&r.searchStr===o.searchStr&&r.onPress===o.onPress&&r.isSelected===o.isSelected&&r.onToggleSelect===o.onToggleSelect}exports.MemoizedConsoleLogCard=react_1.default.memo(exports.ConsoleLogCard,areConsoleLogPropsEqual),exports.default=exports.MemoizedConsoleLogCard;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AboutModal=void 0;const react_1=__importDefault(require("react")),react_native_1=require("react-native"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),TouchableScale_1=__importDefault(require("../TouchableScale")),InspectorContext_1=require("./InspectorContext"),i18n_1=require("../../i18n"),version_1=require("../../constants/version"),AppHeaderLogo_1=__importDefault(require("../AppHeaderLogo")),helpers_1=require("../../helpers"),
|
|
1
|
+
"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.AboutModal=void 0;const react_1=__importDefault(require("react")),react_native_1=require("react-native"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),TouchableScale_1=__importDefault(require("../TouchableScale")),InspectorContext_1=require("./InspectorContext"),i18n_1=require("../../i18n"),version_1=require("../../constants/version"),AppHeaderLogo_1=__importDefault(require("../AppHeaderLogo")),helpers_1=require("../../helpers"),NetworkIcons_1=require("../NetworkIcons"),AboutModal=({onClose:e})=>{const{updateAvailable:t,latestNpmVersion:o}=(0,InspectorContext_1.useInspector)();return<react_native_1.View style={styles.container}>
|
|
2
2
|
<react_native_1.ScrollView style={styles.scrollView}contentContainerStyle={styles.scrollContent}showsVerticalScrollIndicator={!1}>
|
|
3
3
|
|
|
4
4
|
<react_native_1.View style={styles.heroCard}>
|
|
@@ -40,9 +40,6 @@
|
|
|
40
40
|
</react_native_1.View>
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
<DeveloperSponsorCard_1.DeveloperSponsorCard/>
|
|
44
|
-
|
|
45
|
-
|
|
46
43
|
<react_native_1.View style={styles.sectionCard}>
|
|
47
44
|
<react_native_1.Text style={styles.sectionHeader}>{(0,i18n_1.t)("about.appInformation","APP INFORMATION")}</react_native_1.Text>
|
|
48
45
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(a,i,n,o){o===void 0&&(o=n);var s=Object.getOwnPropertyDescriptor(i,n);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[n]}}),Object.defineProperty(a,o,s)}):(function(a,i,n,o){o===void 0&&(o=n),a[o]=i[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(a,i){Object.defineProperty(a,"default",{enumerable:!0,value:i})}):function(a,i){a.default=i}),__importStar=this&&this.__importStar||(function(){var a=function(i){return a=Object.getOwnPropertyNames||function(n){var o=[];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(o[o.length]=s);return o},a(i)};return function(i){if(i&&i.__esModule)return i;var n={};if(i!=null)for(var o=a(i),s=0;s<o.length;s++)o[s]!=="default"&&__createBinding(n,i,o[s]);return __setModuleDefault(n,i),n}})(),__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"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),helpers_1=require("../../helpers"),NetworkIcons_1=require("../NetworkIcons"),TouchableScale_1=__importDefault(require("../TouchableScale")),AnalyticsFilterModal=({visible:a,onClose:i})=>{const{analyticsEvents:n,analyticsSearch:o,analyticsFilters:s,setAnalyticsFilters:
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(a,i,n,o){o===void 0&&(o=n);var s=Object.getOwnPropertyDescriptor(i,n);(!s||("get"in s?!i.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return i[n]}}),Object.defineProperty(a,o,s)}):(function(a,i,n,o){o===void 0&&(o=n),a[o]=i[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(a,i){Object.defineProperty(a,"default",{enumerable:!0,value:i})}):function(a,i){a.default=i}),__importStar=this&&this.__importStar||(function(){var a=function(i){return a=Object.getOwnPropertyNames||function(n){var o=[];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(o[o.length]=s);return o},a(i)};return function(i){if(i&&i.__esModule)return i;var n={};if(i!=null)for(var o=a(i),s=0;s<o.length;s++)o[s]!=="default"&&__createBinding(n,i,o[s]);return __setModuleDefault(n,i),n}})(),__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"),i18n_1=require("../../i18n"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),helpers_1=require("../../helpers"),NetworkIcons_1=require("../NetworkIcons"),TouchableScale_1=__importDefault(require("../TouchableScale")),AnalyticsFilterModal=({visible:a,onClose:i})=>{const{analyticsEvents:n,analyticsSearch:o,analyticsFilters:s,setAnalyticsFilters:x}=(0,InspectorContext_1.useInspector)(),[e,c]=(0,react_1.useState)(()=>({...s,categories:new Set(s.categories),screens:new Set(s.screens),sources:new Set(s.sources||["all"]),userTypes:new Set(s.userTypes||["all"])}));(0,react_1.useEffect)(()=>{a&&c({...s,categories:new Set(s.categories),screens:new Set(s.screens),sources:new Set(s.sources||["all"]),userTypes:new Set(s.userTypes||["all"])})},[a,s]);const f=(0,react_1.useMemo)(()=>{const t=new Set;for(const l of n){const r=l.screenName||l.params?.firebase_screen||l.params?.screen_name||l.params?.firebase_screen_class||l.screenClass;r&&typeof r=="string"&&r.trim()!==""&&t.add(r.trim())}return Array.from(t)},[n]),u=t=>{c(l=>{const r=new Set(l.categories);return t==="all"?{...l,categories:new Set(["all"])}:(r.delete("all"),r.has(t)?(r.delete(t),r.size===0&&r.add("all")):r.add(t),{...l,categories:r})})},m=t=>{c(l=>{const r=new Set(l.screens);return r.has(t)?r.delete(t):r.add(t),{...l,screens:r}})},_=t=>{c(l=>{const r=new Set(l.sources);return t==="all"?{...l,sources:new Set(["all"])}:(r.delete("all"),r.has(t)?(r.delete(t),r.size===0&&r.add("all")):r.add(t),{...l,sources:r})})},T=t=>{c(l=>{const r=new Set(l.userTypes);return t==="all"?{...l,userTypes:new Set(["all"])}:(r.delete("all"),r.has(t)?(r.delete(t),r.size===0&&r.add("all")):r.add(t),{...l,userTypes:r})})},p=t=>{c(l=>({...l,[t]:!l[t]}))},A=t=>{c(l=>({...l,timeWindow:t}))},C=t=>{c(l=>({...l,payloadComplexity:t}))},y=t=>{c(l=>({...l,sortBy:t}))},g=()=>{c({categories:new Set(["all"]),screens:new Set,sources:new Set(["all"]),userTypes:new Set(["all"]),timeWindow:"all",payloadComplexity:"all",hasRevenue:!1,hasItems:!1,hasUserProps:!1,hasParams:!1,onlyDuplicates:!1,onlyConversions:!1,sortBy:"time_desc"})},b=()=>{x({...e,categories:new Set(e.categories),screens:new Set(e.screens),sources:new Set(e.sources),userTypes:new Set(e.userTypes)}),i()},d=()=>{c({...s,categories:new Set(s.categories),screens:new Set(s.screens),sources:new Set(s.sources||["all"]),userTypes:new Set(s.userTypes||["all"])}),i()},S=(0,react_1.useMemo)(()=>{let t=n;if(o){const l=o.toLowerCase();t=t.filter(r=>r.name.toLowerCase().includes(l)||JSON.stringify(r.params||{}).toLowerCase().includes(l)||(r.screenName??"").toLowerCase().includes(l)||(r.pageTitle??"").toLowerCase().includes(l))}if(e.categories.size>0&&!e.categories.has("all")&&(t=t.filter(l=>{const r=(0,helpers_1.getEventCategory)(l.name);return e.categories.has(r)})),e.timeWindow!=="all"){const l=Date.now(),r=e.timeWindow==="1m"?l-60*1e3:e.timeWindow==="5m"?l-300*1e3:e.timeWindow==="15m"?l-900*1e3:l-3600*1e3;t=t.filter(P=>P.timestamp>=r)}if(e.sources.size>0&&!e.sources.has("all")&&(t=t.filter(l=>e.sources.has(l.source||"manual"))),e.userTypes.size>0&&!e.userTypes.has("all")&&(t=t.filter(l=>{const r=!!(l.userId&&l.userId.trim()!=="");return!!(e.userTypes.has("identified")&&r||e.userTypes.has("anonymous")&&!r)})),e.payloadComplexity!=="all"&&(t=t.filter(l=>{const r=l.params?Object.keys(l.params).length:0;return e.payloadComplexity==="none"?r===0:e.payloadComplexity==="simple"?r>=1&&r<=5:e.payloadComplexity==="heavy"?r>5:!0})),e.onlyConversions){const l=["purchase","item_purchase","ecommerce_purchase","sign_up","login","lead","generate_lead","tutorial_complete","add_payment_info","begin_checkout"];t=t.filter(r=>l.some(P=>r.name.toLowerCase().includes(P)))}return e.screens.size>0&&(t=t.filter(l=>{const r=l.screenName||l.params?.firebase_screen||l.params?.screen_name||l.params?.firebase_screen_class||l.screenClass||"";return e.screens.has(r)})),e.hasRevenue&&(t=t.filter(l=>{const r=l.params?.value??l.params?.price;return r!=null&&Number(r)>0})),e.hasItems&&(t=t.filter(l=>Array.isArray(l.params?.items)&&l.params.items.length>0)),e.hasUserProps&&(t=t.filter(l=>l.userProperties&&Object.keys(l.userProperties).length>0)),e.hasParams&&(t=t.filter(l=>l.params&&Object.keys(l.params).length>0)),t.length},[n,o,e]),h=e.categories.has("all")||e.categories.size===0,w=e.sources.has("all")||e.sources.size===0,v=e.userTypes.has("all")||e.userTypes.size===0;return<react_native_1.Modal visible={a}transparent animationType="fade"onRequestClose={d}>
|
|
2
2
|
<react_native_1.View style={styles.backdrop}>
|
|
3
|
-
<react_native_1.Pressable style={react_native_1.StyleSheet.absoluteFill}onPress={
|
|
3
|
+
<react_native_1.Pressable style={react_native_1.StyleSheet.absoluteFill}onPress={d}/>
|
|
4
4
|
|
|
5
5
|
<react_native_1.View style={styles.modalCard}>
|
|
6
6
|
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
<NetworkIcons_1.FilterIcon color={AppColors_1.AppColors.brandPurple}size={15}/>
|
|
11
11
|
</react_native_1.View>
|
|
12
12
|
<react_native_1.View>
|
|
13
|
-
<react_native_1.Text style={styles.headerTitle}>Analytics Filters</react_native_1.Text>
|
|
13
|
+
<react_native_1.Text style={styles.headerTitle}>{(0,i18n_1.t)("analytics.filtersTitle","Analytics Filters")}</react_native_1.Text>
|
|
14
14
|
<react_native_1.Text style={styles.headerSubtitle}>
|
|
15
|
-
GA4 Telemetry Dimensions & Metrics
|
|
15
|
+
{(0,i18n_1.t)("analytics.filtersSubtitle","GA4 Telemetry Dimensions & Metrics")}
|
|
16
16
|
</react_native_1.Text>
|
|
17
17
|
</react_native_1.View>
|
|
18
18
|
</react_native_1.View>
|
|
19
19
|
|
|
20
20
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8}}>
|
|
21
21
|
<react_native_1.TouchableOpacity onPress={g}hitSlop={8}style={styles.resetBtn}>
|
|
22
|
-
<react_native_1.Text style={styles.resetBtnText}>Reset All</react_native_1.Text>
|
|
22
|
+
<react_native_1.Text style={styles.resetBtnText}>{(0,i18n_1.t)("common.resetAll","Reset All")}</react_native_1.Text>
|
|
23
23
|
</react_native_1.TouchableOpacity>
|
|
24
24
|
|
|
25
|
-
<react_native_1.TouchableOpacity onPress={
|
|
25
|
+
<react_native_1.TouchableOpacity onPress={d}hitSlop={10}style={styles.closeBtn}>
|
|
26
26
|
<NetworkIcons_1.CloseWhite/>
|
|
27
27
|
</react_native_1.TouchableOpacity>
|
|
28
28
|
</react_native_1.View>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<react_native_1.View style={styles.section}>
|
|
35
35
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
36
36
|
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
37
|
-
<react_native_1.Text style={styles.sectionTitle}>TIME HORIZON</react_native_1.Text>
|
|
37
|
+
<react_native_1.Text style={styles.sectionTitle}>{(0,i18n_1.t)("analytics.timeHorizon","TIME HORIZON")}</react_native_1.Text>
|
|
38
38
|
</react_native_1.View>
|
|
39
39
|
<react_native_1.View style={styles.chipsWrap}>
|
|
40
40
|
{[{key:"all",label:"All Time"},{key:"1m",label:"Last 1 min"},{key:"5m",label:"Last 5 mins"},{key:"15m",label:"Last 15 mins"},{key:"1h",label:"Last 1 hour"}].map(t=><TouchableScale_1.default key={t.key}onPress={()=>A(t.key)}style={[styles.filterPill,e.timeWindow===t.key&&styles.filterPillActive]}>
|
|
@@ -49,41 +49,41 @@
|
|
|
49
49
|
<react_native_1.View style={styles.section}>
|
|
50
50
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
51
51
|
<NetworkIcons_1.TargetGoalIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
52
|
-
<react_native_1.Text style={styles.sectionTitle}>EVENT CATEGORIES</react_native_1.Text>
|
|
52
|
+
<react_native_1.Text style={styles.sectionTitle}>{(0,i18n_1.t)("analytics.eventCategories","EVENT CATEGORIES")}</react_native_1.Text>
|
|
53
53
|
</react_native_1.View>
|
|
54
54
|
<react_native_1.View style={styles.chipsWrap}>
|
|
55
55
|
<TouchableScale_1.default onPress={()=>u("all")}style={[styles.filterPill,h&&styles.filterPillActive]}>
|
|
56
56
|
{h&&<NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.white}size={12}/>}
|
|
57
57
|
<react_native_1.Text style={[styles.filterPillText,h&&styles.filterPillTextActive]}>
|
|
58
|
-
All Categories
|
|
58
|
+
{(0,i18n_1.t)("analytics.allCategories","All Categories")}
|
|
59
59
|
</react_native_1.Text>
|
|
60
60
|
</TouchableScale_1.default>
|
|
61
61
|
|
|
62
62
|
<TouchableScale_1.default onPress={()=>u("ecommerce")}style={[styles.filterPill,e.categories.has("ecommerce")&&styles.filterPillActive]}>
|
|
63
63
|
<NetworkIcons_1.CartIcon color={e.categories.has("ecommerce")?AppColors_1.AppColors.white:AppColors_1.AppColors.amber700}size={13}/>
|
|
64
64
|
<react_native_1.Text style={[styles.filterPillText,e.categories.has("ecommerce")&&styles.filterPillTextActive]}>
|
|
65
|
-
Ecommerce
|
|
65
|
+
{(0,i18n_1.t)("analytics.ecommerce","Ecommerce")}
|
|
66
66
|
</react_native_1.Text>
|
|
67
67
|
</TouchableScale_1.default>
|
|
68
68
|
|
|
69
69
|
<TouchableScale_1.default onPress={()=>u("page_view")}style={[styles.filterPill,e.categories.has("page_view")&&styles.filterPillActive]}>
|
|
70
70
|
<NetworkIcons_1.GlobeIcon color={e.categories.has("page_view")?AppColors_1.AppColors.white:AppColors_1.AppColors.sky600}size={13}/>
|
|
71
71
|
<react_native_1.Text style={[styles.filterPillText,e.categories.has("page_view")&&styles.filterPillTextActive]}>
|
|
72
|
-
Screens & Pages
|
|
72
|
+
{(0,i18n_1.t)("analytics.screensAndPages","Screens & Pages")}
|
|
73
73
|
</react_native_1.Text>
|
|
74
74
|
</TouchableScale_1.default>
|
|
75
75
|
|
|
76
76
|
<TouchableScale_1.default onPress={()=>u("system")}style={[styles.filterPill,e.categories.has("system")&&styles.filterPillActive]}>
|
|
77
77
|
<NetworkIcons_1.BoltIcon color={e.categories.has("system")?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}size={13}/>
|
|
78
78
|
<react_native_1.Text style={[styles.filterPillText,e.categories.has("system")&&styles.filterPillTextActive]}>
|
|
79
|
-
System & Lifecycle
|
|
79
|
+
{(0,i18n_1.t)("analytics.systemAndLifecycle","System & Lifecycle")}
|
|
80
80
|
</react_native_1.Text>
|
|
81
81
|
</TouchableScale_1.default>
|
|
82
82
|
|
|
83
83
|
<TouchableScale_1.default onPress={()=>u("custom")}style={[styles.filterPill,e.categories.has("custom")&&styles.filterPillActive]}>
|
|
84
84
|
<NetworkIcons_1.SparkleIcon color={e.categories.has("custom")?AppColors_1.AppColors.white:AppColors_1.AppColors.brandPurple}size={13}/>
|
|
85
85
|
<react_native_1.Text style={[styles.filterPillText,e.categories.has("custom")&&styles.filterPillTextActive]}>
|
|
86
|
-
Custom Events
|
|
86
|
+
{(0,i18n_1.t)("analytics.customEvents","Custom Events")}
|
|
87
87
|
</react_native_1.Text>
|
|
88
88
|
</TouchableScale_1.default>
|
|
89
89
|
</react_native_1.View>
|
|
@@ -93,50 +93,48 @@
|
|
|
93
93
|
<react_native_1.View style={styles.section}>
|
|
94
94
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
95
95
|
<NetworkIcons_1.MoneyIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
96
|
-
<react_native_1.Text style={styles.sectionTitle}>
|
|
97
|
-
MONETIZATION & ATTRIBUTES
|
|
98
|
-
</react_native_1.Text>
|
|
96
|
+
<react_native_1.Text style={styles.sectionTitle}>{(0,i18n_1.t)("analytics.monetizationAttributes","MONETIZATION & ATTRIBUTES")}</react_native_1.Text>
|
|
99
97
|
</react_native_1.View>
|
|
100
98
|
<react_native_1.View style={styles.chipsWrap}>
|
|
101
99
|
<TouchableScale_1.default onPress={()=>p("onlyConversions")}style={[styles.filterPill,e.onlyConversions&&styles.filterPillActive]}>
|
|
102
100
|
<NetworkIcons_1.TargetGoalIcon color={e.onlyConversions?AppColors_1.AppColors.white:AppColors_1.AppColors.brandPurple}size={13}/>
|
|
103
101
|
<react_native_1.Text style={[styles.filterPillText,e.onlyConversions&&styles.filterPillTextActive]}>
|
|
104
|
-
Conversion Events Only
|
|
102
|
+
{(0,i18n_1.t)("analytics.conversionEventsOnly","Conversion Events Only")}
|
|
105
103
|
</react_native_1.Text>
|
|
106
104
|
</TouchableScale_1.default>
|
|
107
105
|
|
|
108
106
|
<TouchableScale_1.default onPress={()=>p("hasRevenue")}style={[styles.filterPill,e.hasRevenue&&styles.filterPillActive]}>
|
|
109
107
|
<NetworkIcons_1.MoneyIcon color={e.hasRevenue?AppColors_1.AppColors.white:AppColors_1.AppColors.emerald600}size={13}/>
|
|
110
108
|
<react_native_1.Text style={[styles.filterPillText,e.hasRevenue&&styles.filterPillTextActive]}>
|
|
111
|
-
With Revenue (Value
|
|
109
|
+
{(0,i18n_1.t)("analytics.withRevenue","With Revenue (Value > 0)")}
|
|
112
110
|
</react_native_1.Text>
|
|
113
111
|
</TouchableScale_1.default>
|
|
114
112
|
|
|
115
113
|
<TouchableScale_1.default onPress={()=>p("hasItems")}style={[styles.filterPill,e.hasItems&&styles.filterPillActive]}>
|
|
116
114
|
<NetworkIcons_1.PackageBoxIcon color={e.hasItems?AppColors_1.AppColors.white:AppColors_1.AppColors.amber700}size={13}/>
|
|
117
115
|
<react_native_1.Text style={[styles.filterPillText,e.hasItems&&styles.filterPillTextActive]}>
|
|
118
|
-
With Items Payload
|
|
116
|
+
{(0,i18n_1.t)("analytics.withItemsPayload","With Items Payload")}
|
|
119
117
|
</react_native_1.Text>
|
|
120
118
|
</TouchableScale_1.default>
|
|
121
119
|
|
|
122
120
|
<TouchableScale_1.default onPress={()=>p("hasUserProps")}style={[styles.filterPill,e.hasUserProps&&styles.filterPillActive]}>
|
|
123
121
|
<NetworkIcons_1.SparkleIcon color={e.hasUserProps?AppColors_1.AppColors.white:AppColors_1.AppColors.brandPurple}size={13}/>
|
|
124
122
|
<react_native_1.Text style={[styles.filterPillText,e.hasUserProps&&styles.filterPillTextActive]}>
|
|
125
|
-
With User Properties
|
|
123
|
+
{(0,i18n_1.t)("analytics.withUserProperties","With User Properties")}
|
|
126
124
|
</react_native_1.Text>
|
|
127
125
|
</TouchableScale_1.default>
|
|
128
126
|
|
|
129
127
|
<TouchableScale_1.default onPress={()=>p("hasParams")}style={[styles.filterPill,e.hasParams&&styles.filterPillActive]}>
|
|
130
128
|
<NetworkIcons_1.CodeBracketsIcon color={e.hasParams?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}size={13}/>
|
|
131
129
|
<react_native_1.Text style={[styles.filterPillText,e.hasParams&&styles.filterPillTextActive]}>
|
|
132
|
-
With Custom Params
|
|
130
|
+
{(0,i18n_1.t)("analytics.withCustomParams","With Custom Params")}
|
|
133
131
|
</react_native_1.Text>
|
|
134
132
|
</TouchableScale_1.default>
|
|
135
133
|
|
|
136
134
|
<TouchableScale_1.default onPress={()=>p("onlyDuplicates")}style={[styles.filterPill,e.onlyDuplicates&&styles.filterPillActive]}>
|
|
137
135
|
<NetworkIcons_1.RepeatIcon color={e.onlyDuplicates?AppColors_1.AppColors.white:AppColors_1.AppColors.rose600}size={13}/>
|
|
138
136
|
<react_native_1.Text style={[styles.filterPillText,e.onlyDuplicates&&styles.filterPillTextActive]}>
|
|
139
|
-
Frequent Only (
|
|
137
|
+
{(0,i18n_1.t)("analytics.frequentOnly","Frequent Only (> 1\xD7)")}
|
|
140
138
|
</react_native_1.Text>
|
|
141
139
|
</TouchableScale_1.default>
|
|
142
140
|
</react_native_1.View>
|
|
@@ -146,27 +144,27 @@
|
|
|
146
144
|
<react_native_1.View style={styles.section}>
|
|
147
145
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
148
146
|
<NetworkIcons_1.UserIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
149
|
-
<react_native_1.Text style={styles.sectionTitle}>USER IDENTIFICATION</react_native_1.Text>
|
|
147
|
+
<react_native_1.Text style={styles.sectionTitle}>{(0,i18n_1.t)("analytics.userIdentification","USER IDENTIFICATION")}</react_native_1.Text>
|
|
150
148
|
</react_native_1.View>
|
|
151
149
|
<react_native_1.View style={styles.chipsWrap}>
|
|
152
|
-
<TouchableScale_1.default onPress={()=>T("all")}style={[styles.filterPill,
|
|
153
|
-
{
|
|
154
|
-
<react_native_1.Text style={[styles.filterPillText,
|
|
155
|
-
All Users
|
|
150
|
+
<TouchableScale_1.default onPress={()=>T("all")}style={[styles.filterPill,v&&styles.filterPillActive]}>
|
|
151
|
+
{v&&<NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.white}size={12}/>}
|
|
152
|
+
<react_native_1.Text style={[styles.filterPillText,v&&styles.filterPillTextActive]}>
|
|
153
|
+
{(0,i18n_1.t)("analytics.allUsers","All Users")}
|
|
156
154
|
</react_native_1.Text>
|
|
157
155
|
</TouchableScale_1.default>
|
|
158
156
|
|
|
159
157
|
<TouchableScale_1.default onPress={()=>T("identified")}style={[styles.filterPill,e.userTypes.has("identified")&&styles.filterPillActive]}>
|
|
160
158
|
<NetworkIcons_1.UserCheckIcon color={e.userTypes.has("identified")?AppColors_1.AppColors.white:AppColors_1.AppColors.greenColor}size={13}/>
|
|
161
159
|
<react_native_1.Text style={[styles.filterPillText,e.userTypes.has("identified")&&styles.filterPillTextActive]}>
|
|
162
|
-
Identified (User ID)
|
|
160
|
+
{(0,i18n_1.t)("analytics.identifiedUser","Identified (User ID)")}
|
|
163
161
|
</react_native_1.Text>
|
|
164
162
|
</TouchableScale_1.default>
|
|
165
163
|
|
|
166
164
|
<TouchableScale_1.default onPress={()=>T("anonymous")}style={[styles.filterPill,e.userTypes.has("anonymous")&&styles.filterPillActive]}>
|
|
167
165
|
<NetworkIcons_1.UserIcon color={e.userTypes.has("anonymous")?AppColors_1.AppColors.white:AppColors_1.AppColors.grayTextWeak}size={13}/>
|
|
168
166
|
<react_native_1.Text style={[styles.filterPillText,e.userTypes.has("anonymous")&&styles.filterPillTextActive]}>
|
|
169
|
-
Anonymous
|
|
167
|
+
{(0,i18n_1.t)("analytics.anonymousUser","Anonymous")}
|
|
170
168
|
</react_native_1.Text>
|
|
171
169
|
</TouchableScale_1.default>
|
|
172
170
|
</react_native_1.View>
|
|
@@ -176,25 +174,25 @@
|
|
|
176
174
|
<react_native_1.View style={styles.section}>
|
|
177
175
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
178
176
|
<NetworkIcons_1.BoltIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
179
|
-
<react_native_1.Text style={styles.sectionTitle}>EVENT SOURCE</react_native_1.Text>
|
|
177
|
+
<react_native_1.Text style={styles.sectionTitle}>{(0,i18n_1.t)("analytics.eventSource","EVENT SOURCE")}</react_native_1.Text>
|
|
180
178
|
</react_native_1.View>
|
|
181
179
|
<react_native_1.View style={styles.chipsWrap}>
|
|
182
180
|
<TouchableScale_1.default onPress={()=>_("all")}style={[styles.filterPill,w&&styles.filterPillActive]}>
|
|
183
181
|
{w&&<NetworkIcons_1.CheckIcon color={AppColors_1.AppColors.white}size={12}/>}
|
|
184
182
|
<react_native_1.Text style={[styles.filterPillText,w&&styles.filterPillTextActive]}>
|
|
185
|
-
All Sources
|
|
183
|
+
{(0,i18n_1.t)("analytics.allSources","All Sources")}
|
|
186
184
|
</react_native_1.Text>
|
|
187
185
|
</TouchableScale_1.default>
|
|
188
186
|
|
|
189
187
|
<TouchableScale_1.default onPress={()=>_("firebase")}style={[styles.filterPill,e.sources.has("firebase")&&styles.filterPillActive]}>
|
|
190
188
|
<react_native_1.Text style={[styles.filterPillText,e.sources.has("firebase")&&styles.filterPillTextActive]}>
|
|
191
|
-
Firebase / GA SDK
|
|
189
|
+
{(0,i18n_1.t)("analytics.firebaseGaSdk","Firebase / GA SDK")}
|
|
192
190
|
</react_native_1.Text>
|
|
193
191
|
</TouchableScale_1.default>
|
|
194
192
|
|
|
195
193
|
<TouchableScale_1.default onPress={()=>_("manual")}style={[styles.filterPill,e.sources.has("manual")&&styles.filterPillActive]}>
|
|
196
194
|
<react_native_1.Text style={[styles.filterPillText,e.sources.has("manual")&&styles.filterPillTextActive]}>
|
|
197
|
-
In-App Logger
|
|
195
|
+
{(0,i18n_1.t)("analytics.inAppLogger","In-App Logger")}
|
|
198
196
|
</react_native_1.Text>
|
|
199
197
|
</TouchableScale_1.default>
|
|
200
198
|
</react_native_1.View>
|
|
@@ -204,10 +202,10 @@
|
|
|
204
202
|
<react_native_1.View style={styles.section}>
|
|
205
203
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
206
204
|
<NetworkIcons_1.CodeBracketsIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
207
|
-
<react_native_1.Text style={styles.sectionTitle}>PAYLOAD COMPLEXITY</react_native_1.Text>
|
|
205
|
+
<react_native_1.Text style={styles.sectionTitle}>{(0,i18n_1.t)("analytics.payloadComplexity","PAYLOAD COMPLEXITY")}</react_native_1.Text>
|
|
208
206
|
</react_native_1.View>
|
|
209
207
|
<react_native_1.View style={styles.chipsWrap}>
|
|
210
|
-
{[{key:"all",label:"All Payloads"},{key:"none",label:"0 Params"},{key:"simple",label:"1 - 5 Params"},{key:"heavy",label:"> 5 Params"}].map(t=><TouchableScale_1.default key={t.key}onPress={()=>
|
|
208
|
+
{[{key:"all",label:"All Payloads"},{key:"none",label:"0 Params"},{key:"simple",label:"1 - 5 Params"},{key:"heavy",label:"> 5 Params"}].map(t=><TouchableScale_1.default key={t.key}onPress={()=>C(t.key)}style={[styles.filterPill,e.payloadComplexity===t.key&&styles.filterPillActive]}>
|
|
211
209
|
<react_native_1.Text style={[styles.filterPillText,e.payloadComplexity===t.key&&styles.filterPillTextActive]}>
|
|
212
210
|
{t.label}
|
|
213
211
|
</react_native_1.Text>
|
|
@@ -216,15 +214,15 @@
|
|
|
216
214
|
</react_native_1.View>
|
|
217
215
|
|
|
218
216
|
|
|
219
|
-
{
|
|
217
|
+
{f.length>0&&<react_native_1.View style={styles.section}>
|
|
220
218
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
221
219
|
<NetworkIcons_1.PinIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
222
220
|
<react_native_1.Text style={styles.sectionTitle}>
|
|
223
|
-
DISCOVERED SCREENS ({
|
|
221
|
+
DISCOVERED SCREENS ({f.length})
|
|
224
222
|
</react_native_1.Text>
|
|
225
223
|
</react_native_1.View>
|
|
226
224
|
<react_native_1.View style={styles.chipsWrap}>
|
|
227
|
-
{
|
|
225
|
+
{f.map(t=>{const l=e.screens.has(t);return<TouchableScale_1.default key={t}onPress={()=>m(t)}style={[styles.filterPill,l&&styles.filterPillActive]}>
|
|
228
226
|
<NetworkIcons_1.PinIcon color={l?AppColors_1.AppColors.white:AppColors_1.AppColors.amber700}size={12}/>
|
|
229
227
|
<react_native_1.Text style={[styles.filterPillText,l&&styles.filterPillTextActive]}>
|
|
230
228
|
{t}
|
|
@@ -237,34 +235,34 @@
|
|
|
237
235
|
<react_native_1.View style={styles.section}>
|
|
238
236
|
<react_native_1.View style={styles.sectionHeaderRow}>
|
|
239
237
|
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.grayTextWeak}size={12}/>
|
|
240
|
-
<react_native_1.Text style={styles.sectionTitle}>SORT ORDER</react_native_1.Text>
|
|
238
|
+
<react_native_1.Text style={styles.sectionTitle}>{(0,i18n_1.t)("analytics.sortOrder","SORT ORDER")}</react_native_1.Text>
|
|
241
239
|
</react_native_1.View>
|
|
242
240
|
<react_native_1.View style={styles.chipsWrap}>
|
|
243
|
-
<TouchableScale_1.default onPress={()=>
|
|
241
|
+
<TouchableScale_1.default onPress={()=>y("time_desc")}style={[styles.filterPill,e.sortBy==="time_desc"&&styles.filterPillActive]}>
|
|
244
242
|
<NetworkIcons_1.ClockIcon color={e.sortBy==="time_desc"?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}size={12}/>
|
|
245
243
|
<react_native_1.Text style={[styles.filterPillText,e.sortBy==="time_desc"&&styles.filterPillTextActive]}>
|
|
246
|
-
Newest First (Default)
|
|
244
|
+
{(0,i18n_1.t)("analytics.newestFirstDefault","Newest First (Default)")}
|
|
247
245
|
</react_native_1.Text>
|
|
248
246
|
</TouchableScale_1.default>
|
|
249
247
|
|
|
250
|
-
<TouchableScale_1.default onPress={()=>
|
|
248
|
+
<TouchableScale_1.default onPress={()=>y("time_asc")}style={[styles.filterPill,e.sortBy==="time_asc"&&styles.filterPillActive]}>
|
|
251
249
|
<NetworkIcons_1.HourglassIcon color={e.sortBy==="time_asc"?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}size={12}/>
|
|
252
250
|
<react_native_1.Text style={[styles.filterPillText,e.sortBy==="time_asc"&&styles.filterPillTextActive]}>
|
|
253
|
-
Oldest First
|
|
251
|
+
{(0,i18n_1.t)("analytics.oldestFirst","Oldest First")}
|
|
254
252
|
</react_native_1.Text>
|
|
255
253
|
</TouchableScale_1.default>
|
|
256
254
|
|
|
257
|
-
<TouchableScale_1.default onPress={()=>
|
|
255
|
+
<TouchableScale_1.default onPress={()=>y("revenue_desc")}style={[styles.filterPill,e.sortBy==="revenue_desc"&&styles.filterPillActive]}>
|
|
258
256
|
<NetworkIcons_1.MoneyIcon color={e.sortBy==="revenue_desc"?AppColors_1.AppColors.white:AppColors_1.AppColors.emerald600}size={12}/>
|
|
259
257
|
<react_native_1.Text style={[styles.filterPillText,e.sortBy==="revenue_desc"&&styles.filterPillTextActive]}>
|
|
260
|
-
Highest Revenue
|
|
258
|
+
{(0,i18n_1.t)("analytics.highestRevenue","Highest Revenue")}
|
|
261
259
|
</react_native_1.Text>
|
|
262
260
|
</TouchableScale_1.default>
|
|
263
261
|
|
|
264
|
-
<TouchableScale_1.default onPress={()=>
|
|
262
|
+
<TouchableScale_1.default onPress={()=>y("count_desc")}style={[styles.filterPill,e.sortBy==="count_desc"&&styles.filterPillActive]}>
|
|
265
263
|
<NetworkIcons_1.FlameIcon color={e.sortBy==="count_desc"?AppColors_1.AppColors.white:AppColors_1.AppColors.darkOrange}size={12}/>
|
|
266
264
|
<react_native_1.Text style={[styles.filterPillText,e.sortBy==="count_desc"&&styles.filterPillTextActive]}>
|
|
267
|
-
Most Frequent
|
|
265
|
+
{(0,i18n_1.t)("analytics.mostFrequent","Most Frequent")}
|
|
268
266
|
</react_native_1.Text>
|
|
269
267
|
</TouchableScale_1.default>
|
|
270
268
|
</react_native_1.View>
|
|
@@ -273,8 +271,8 @@
|
|
|
273
271
|
|
|
274
272
|
|
|
275
273
|
<react_native_1.View style={styles.footer}>
|
|
276
|
-
<react_native_1.TouchableOpacity onPress={
|
|
277
|
-
<react_native_1.Text style={styles.discardBtnText}>Discard</react_native_1.Text>
|
|
274
|
+
<react_native_1.TouchableOpacity onPress={d}style={styles.discardBtn}activeOpacity={.8}>
|
|
275
|
+
<react_native_1.Text style={styles.discardBtnText}>{(0,i18n_1.t)("common.discard","Discard")}</react_native_1.Text>
|
|
278
276
|
</react_native_1.TouchableOpacity>
|
|
279
277
|
|
|
280
278
|
<react_native_1.TouchableOpacity onPress={b}style={styles.applyBtn}activeOpacity={.85}>
|