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,4 +1,4 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(o,a,_,A){A===void 0&&(A=_);var b=Object.getOwnPropertyDescriptor(a,_);(!b||("get"in b?!a.__esModule:b.writable||b.configurable))&&(b={enumerable:!0,get:function(){return a[_]}}),Object.defineProperty(o,A,b)}):(function(o,a,_,A){A===void 0&&(A=_),o[A]=a[_]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(o,a){Object.defineProperty(o,"default",{enumerable:!0,value:a})}):function(o,a){o.default=a}),__importStar=this&&this.__importStar||(function(){var o=function(a){return o=Object.getOwnPropertyNames||function(_){var A=[];for(var b in _)Object.prototype.hasOwnProperty.call(_,b)&&(A[A.length]=b);return A},o(a)};return function(a){if(a&&a.__esModule)return a;var _={};if(a!=null)for(var A=o(a),b=0;b<A.length;b++)A[b]!=="default"&&__createBinding(_,a,A[b]);return __setModuleDefault(_,a),_}})(),__importDefault=this&&this.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),Slider_1=__importDefault(require("../Slider")),styles_1=require("../../styles"),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),constants_1=require("../../constants"),settingsStore_1=require("../../helpers/settingsStore"),networkLogger_1=require("../../customHooks/networkLogger"),consoleLogger_1=require("../../customHooks/consoleLogger"),analyticsLogger_1=require("../../customHooks/analyticsLogger"),crashHandler_1=require("../../customHooks/crashHandler"),reduxLogger_1=require("../../customHooks/reduxLogger"),i18n_1=require("../../i18n"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),NetworkIcons_1=require("../NetworkIcons"),capture_1=require("../../capture"),NativeInspector_1=require("../../native/NativeInspector"),helpers_1=require("../../helpers"),toast_1=require("../../helpers/toast"),memoryManager_1=require("../../helpers/memoryManager"),SettingsPanel=()=>{const{t:o}=(0,i18n_1.useTranslation)(),{settingsPage:a,setSettingsPage:_,settingsActiveSubTab:A,setSettingsActiveSubTab:b,tabVisibility:R,toggleTabVisibility:pe,defaultTab:z,setDefaultTab:ke,isDark:I,setIsDark:Fe,modalHeightPercent:L,setModalHeightPercent:Re,modalAnimationType:ze,setModalAnimationType:Be,showDuplicateLogs:Z,setShowDuplicateLogs:Ie,showUpdateToast:ee,setShowUpdateToast:He,showConsoleLevels:De,setShowConsoleLevels:Pe,closeModal:po,logs:oe,consoleLogs:re,analyticsEvents:te,reduxState:$,maxConsoleLogs:ce,setMaxConsoleLogs:Le,maxAnalyticsEventsLimit:de,setMaxAnalyticsEventsLimit:$e,isAutoRamLimitEnabled:w,setIsAutoRamLimitEnabled:We,deviceFreeRamMb:ie,reduxAutoRefresh:ae,setReduxAutoRefreshState:Ee,reduxExpandDepth:Oe,setReduxExpandDepth:Me,setSelected:Ne,setSelectedEvent:je,setReduxState:Ue,crashRecords:W,maxCrashLogs:ge,setMaxCrashLogs:ue,crashIgnoredTypes:m,setCrashIgnoredTypes:Ge,crashModalTriggerPolicy:qe,setCrashModalTriggerPolicyState:ye,applyCrashPolicyPreset:E,pushRecords:O,maxPushLogs:Je,setMaxPushLogs:Ke,clearAllPushLogs:Ye,simulatePush:M,socketRecords:N,maxSocketLogs:Qe,setMaxSocketLogs:Xe,clearAllSocketLogs:Ze,simulateSocket:j,captureImageFormat:le,setCaptureImageFormat:Ce,captureAutoHide:x,setCaptureAutoHide:U,captureAudioMode:he,setCaptureAudioMode:Ae,captureFps:be,setCaptureFps:me,captureScale:co,setCaptureScale:go,captureBitrate:uo,setCaptureBitrate:yo,captureMaxDurationSeconds:Co,setCaptureMaxDurationSeconds:ho,captureAutoGif:T,setCaptureAutoGif:G,captureWidgetEnabled:B,setCaptureWidgetEnabled:fe,peekOpacity:_e,setPeekOpacity:eo,hiddenUrlPatterns:H,setHiddenUrlPatterns:ne}=(0,InspectorContext_1.useInspector)(),[q,we]=(0,react_1.useState)(""),[J,xe]=(0,react_1.useState)(L),[oo,Te]=(0,react_1.useState)(!1),ro=(0,i18n_1.getLanguage)(),K=i18n_1.SUPPORTED_LANGUAGES.find(e=>e.code===ro)||i18n_1.SUPPORTED_LANGUAGES[0],ve=()=>{const e=q.trim();if(e){if(H.includes(e)){(0,toast_1.showToast)("Pattern already exists in filter list");return}try{new RegExp(e)}catch{}(0,NativeInspector_1.triggerNativeHaptic)("light"),ne(r=>[...r,e]),we(""),(0,toast_1.showToast)("Hidden URL pattern added")}},to=e=>{const r=H[e];if(constants_1.DEFAULT_HIDDEN_URL_PATTERNS.includes(r)){(0,toast_1.showToast)("Default system filter cannot be removed");return}(0,NativeInspector_1.triggerNativeHaptic)("light"),ne(C=>C.filter((f,v)=>v!==e)),(0,toast_1.showToast)("Pattern removed")};(0,react_1.useEffect)(()=>{xe(L)},[L]);const V=(0,react_1.useRef)(new react_native_1.Animated.Value(1)).current;(0,react_1.useEffect)(()=>{V.setValue(0),react_native_1.Animated.spring(V,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start()},[A]);const Y=(0,settingsStore_1.calculateRamBasedLimits)(ie),S=(0,react_1.useMemo)(()=>[{id:1,key:"apis",label:"APIs (Network)",category:"core",icon:"apis",desc:"HTTP/HTTPS requests, GraphQL, Axios & WebSocket inspector"},{id:2,key:"logs",label:"Console Logs",category:"core",icon:"logs",desc:"Terminal console logs, warnings, errors & stack traces"},{id:3,key:"perf",label:"Performance & FPS",category:"telemetry",icon:"perf",desc:"Live 60 FPS graph, JS event loop queue lag, memory heap & jank monitor"},{id:4,key:"analytics",label:"Analytics Logger",category:"telemetry",icon:"analytics",desc:"Firebase & custom analytics events, user properties & params"},{id:5,key:"redux",label:"Redux Inspector",category:"telemetry",icon:"redux",desc:"Store state diffing, action history & reducer timeline"},{id:6,key:"storage",label:"Storage Inspector",category:"telemetry",icon:"storage",desc:"AsyncStorage & MMKV key-value store viewer with full CRUD support"},{id:7,key:"device",label:"Device Info",category:"diagnostic",icon:"device",desc:"Hardware specs, IP address, screen metrics, UDID & runtime stats"},{id:8,key:"crash",label:"Crash Protection",category:"diagnostic",icon:"crash",desc:"Runtime exception guard, breadcrumbs & memory snapshot"},{id:9,key:"debugging",label:"Multi-Device Debugging",category:"diagnostic",icon:"debugging",desc:"QR Code bridge for direct Debug APK download & Metro live-reload sync"},{id:10,key:"media",label:"Screencast",category:"diagnostic",icon:"media",desc:"Screenshots, video recordings, audio narration & animated GIFs"},{id:11,key:"push",label:"Push Notifications",category:"telemetry",icon:"push",desc:"Universal push & local notification logger (Salesforce, FCM, APNs, Braze, Expo)"},{id:12,key:"socket",label:"WebSocket & Socket.IO",category:"telemetry",icon:"socket",desc:"Real-time WebSocket & Socket.IO message inspector, frames & event logger"}].filter(e=>e.key==="debugging"?react_native_1.Platform.OS==="android"&&(0,helpers_1.isLocalDebugEnvironment)():!0),[]),io={apis:{color:AppColors_1.AppColors.blue500,bg:`${AppColors_1.AppColors.blue500}14`,border:`${AppColors_1.AppColors.blue500}2E`},logs:{color:AppColors_1.AppColors.purple,bg:`${AppColors_1.AppColors.purple}14`,border:`${AppColors_1.AppColors.purple}2E`},perf:{color:AppColors_1.AppColors.purple,bg:`${AppColors_1.AppColors.purple}14`,border:`${AppColors_1.AppColors.purple}2E`},analytics:{color:AppColors_1.AppColors.amber600,bg:`${AppColors_1.AppColors.amber600}14`,border:`${AppColors_1.AppColors.amber600}2E`},redux:{color:AppColors_1.AppColors.violet600,bg:`${AppColors_1.AppColors.violet600}14`,border:`${AppColors_1.AppColors.violet600}2E`},storage:{color:AppColors_1.AppColors.cyan600,bg:`${AppColors_1.AppColors.cyan600}14`,border:`${AppColors_1.AppColors.cyan600}2E`},device:{color:AppColors_1.AppColors.emerald600,bg:`${AppColors_1.AppColors.emerald600}14`,border:`${AppColors_1.AppColors.emerald600}2E`},crash:{color:AppColors_1.AppColors.red600,bg:`${AppColors_1.AppColors.red600}14`,border:`${AppColors_1.AppColors.red600}2E`},debugging:{color:AppColors_1.AppColors.indigo600,bg:`${AppColors_1.AppColors.indigo600}14`,border:`${AppColors_1.AppColors.indigo600}2E`},media:{color:AppColors_1.AppColors.pink600,bg:`${AppColors_1.AppColors.pink600}14`,border:`${AppColors_1.AppColors.pink600}2E`},push:{color:AppColors_1.AppColors.orange600,bg:`${AppColors_1.AppColors.orange600}14`,border:`${AppColors_1.AppColors.orange600}2E`},socket:{color:AppColors_1.AppColors.teal600,bg:`${AppColors_1.AppColors.teal600}14`,border:`${AppColors_1.AppColors.teal600}2E`}},Q=(0,react_1.useMemo)(()=>S.filter(e=>!(e.key==="apis"||e.key==="redux"&&!(0,reduxLogger_1.isReduxConnected)()||e.key==="analytics"&&!(0,analyticsLogger_1.isAnalyticsConnected)())),[S]),ao=S.filter(e=>e.key==="apis"||!!R?.[e.key]).length,D=(0,react_1.useMemo)(()=>Q.length===0?!1:Q.every(e=>!!R?.[e.key]),[Q,R]),lo=e=>{e!=="apis"&&((0,NativeInspector_1.triggerNativeHaptic)("light"),pe(e))},no=()=>{(0,NativeInspector_1.triggerNativeHaptic)("medium");const e=!D;Q.forEach(r=>{!!R?.[r.key]!==e&&pe(r.key)}),(0,toast_1.showToast)(e?"All modules enabled":"Optional modules disabled")},[se,Ve]=(0,react_1.useState)(!1),i=e=><react_native_1.View key={e.key}style={{paddingVertical:12,borderBottomWidth:e.isLast?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
|
|
2
2
|
<TouchableScale_1.default disabled={!e.onPress}onPress={e.onPress}style={{flexDirection:"row",alignItems:"center",gap:12}}>
|
|
3
3
|
<react_native_1.View style={{width:36,height:36,borderRadius:10,backgroundColor:AppColors_1.AppColors.purpleShade50,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}2E`,alignItems:"center",justifyContent:"center"}}>
|
|
4
4
|
{e.icon}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</TouchableScale_1.default>
|
|
16
16
|
{e.numericInput&&<react_native_1.View style={{marginTop:10,gap:6}}>
|
|
17
17
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:8,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor,paddingHorizontal:12,paddingVertical:4}}>
|
|
18
|
-
<react_native_1.TextInput style={{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:14,lineHeight:18,color:AppColors_1.AppColors.primaryBlack,paddingVertical:6}}value={String(e.numericInput.value||"")}onChangeText={r=>{const C=parseInt(r.replace(/[^0-9]/g,""),10);if(!isNaN(C)){const
|
|
18
|
+
<react_native_1.TextInput style={{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:14,lineHeight:18,color:AppColors_1.AppColors.primaryBlack,paddingVertical:6}}value={String(e.numericInput.value||"")}onChangeText={r=>{const C=parseInt(r.replace(/[^0-9]/g,""),10);if(!isNaN(C)){const f=Math.max(e.numericInput?.min??1,Math.min(e.numericInput?.max??1e4,C));e.numericInput?.onChange(f)}}}keyboardType={e.numericInput.keyboardType??"number-pad"}placeholder={e.numericInput.placeholder}placeholderTextColor={AppColors_1.AppColors.grayTextWeak}maxLength={6}selectTextOnFocus/>
|
|
19
19
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.purple,marginLeft:6}}>
|
|
20
20
|
MAX
|
|
21
21
|
</react_native_1.Text>
|
|
@@ -32,151 +32,122 @@
|
|
|
32
32
|
</react_native_1.Text>
|
|
33
33
|
</TouchableScale_1.default>})}
|
|
34
34
|
</react_native_1.View>}
|
|
35
|
-
</react_native_1.View>,
|
|
35
|
+
</react_native_1.View>,so=()=><react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
|
|
36
36
|
<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:14}}showsVerticalScrollIndicator={!1}>
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</react_native_1.Text>
|
|
46
|
-
{e.badge&&<react_native_1.View style={{backgroundColor:r?"rgba(255,255,255,0.25)":`${AppColors_1.AppColors.purple}18`,paddingHorizontal:5.5,paddingVertical:1,borderRadius:10}}>
|
|
47
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
48
|
-
{e.badge}
|
|
49
|
-
</react_native_1.Text>
|
|
50
|
-
</react_native_1.View>}
|
|
51
|
-
</TouchableScale_1.default>})}
|
|
52
|
-
</react_native_1.ScrollView>
|
|
38
|
+
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:12,padding:3,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,flexDirection:"row",alignItems:"center",shadowColor:AppColors_1.AppColors.black,shadowOpacity:.04,shadowRadius:4,shadowOffset:{width:0,height:2},elevation:2}}>
|
|
39
|
+
{[{key:"module",label:o("settings.navModules","Modules"),Icon:NetworkIcons_1.LayersIcon},{key:"ui",label:o("settings.navDisplay","Display"),Icon:NetworkIcons_1.ScreenIcon},{key:"limits",label:o("settings.navLimits","Limits"),Icon:NetworkIcons_1.BrainIcon},{key:"capture",label:o("settings.navCapture","Capture"),Icon:NetworkIcons_1.CameraIcon}].map(e=>{const r=A===e.key,C=e.Icon;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="tab"accessibilityLabel={e.label}accessibilityState={{selected:r}}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),(0,InspectorContext_1.animateNextLayout)(),b(e.key)}}style={{flex:1,minWidth:0,paddingVertical:8,paddingHorizontal:2,flexDirection:"row",alignItems:"center",justifyContent:"center",gap:4,borderRadius:9,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
|
|
40
|
+
<C color={r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}size={12}/>
|
|
41
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}}numberOfLines={1}ellipsizeMode="tail">
|
|
42
|
+
{e.label}
|
|
43
|
+
</react_native_1.Text>
|
|
44
|
+
</TouchableScale_1.default>})}
|
|
53
45
|
</react_native_1.View>
|
|
54
46
|
|
|
55
|
-
{
|
|
47
|
+
{A==="module"&&<react_native_1.Animated.View style={{gap:10,opacity:V,transform:[{translateY:V.interpolate({inputRange:[0,1],outputRange:[10,0]})}]}}>
|
|
56
48
|
|
|
57
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",
|
|
58
|
-
<
|
|
59
|
-
<react_native_1.
|
|
60
|
-
|
|
61
|
-
</react_native_1.
|
|
62
|
-
<react_native_1.View>
|
|
63
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:
|
|
64
|
-
{
|
|
65
|
-
</react_native_1.Text>
|
|
66
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:10.5,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
67
|
-
{we} of {w.length} modules active
|
|
49
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:4,paddingVertical:2}}>
|
|
50
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
51
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12.5,lineHeight:16,color:AppColors_1.AppColors.primaryBlack}}>
|
|
52
|
+
Active Modules
|
|
53
|
+
</react_native_1.Text>
|
|
54
|
+
<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,paddingHorizontal:6,paddingVertical:1.5,borderRadius:10,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}25`}}>
|
|
55
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:AppColors_1.AppColors.purple}}>
|
|
56
|
+
{ao} of {S.length}
|
|
68
57
|
</react_native_1.Text>
|
|
69
58
|
</react_native_1.View>
|
|
70
|
-
</
|
|
59
|
+
</react_native_1.View>
|
|
71
60
|
|
|
72
|
-
<TouchableScale_1.default onPress={
|
|
73
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:
|
|
74
|
-
{
|
|
61
|
+
<TouchableScale_1.default onPress={no}hitSlop={6}style={{paddingHorizontal:10,paddingVertical:4.5,borderRadius:7,backgroundColor:D?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.purple,borderWidth:1,borderColor:D?`${AppColors_1.AppColors.purple}30`:"transparent"}}>
|
|
62
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:D?AppColors_1.AppColors.purple:AppColors_1.AppColors.white}}>
|
|
63
|
+
{D?"Deselect All":"Select All"}
|
|
75
64
|
</react_native_1.Text>
|
|
76
65
|
</TouchableScale_1.default>
|
|
77
66
|
</react_native_1.View>
|
|
78
67
|
|
|
79
68
|
|
|
80
|
-
<react_native_1.View style={{gap:
|
|
81
|
-
{
|
|
69
|
+
<react_native_1.View style={{gap:8}}>
|
|
70
|
+
{S.map(e=>{const r=(0,reduxLogger_1.isReduxConnected)(),C=(0,analyticsLogger_1.isAnalyticsConnected)(),f=e.key==="redux"&&!r||e.key==="analytics"&&!C,v=e.key==="apis"||f,t=e.key==="apis"||!!R?.[e.key]&&!f,h=io[e.key]||{color:AppColors_1.AppColors.purple,bg:`${AppColors_1.AppColors.purple}14`,border:`${AppColors_1.AppColors.purple}2E`},F=e.key==="apis"||e.key==="logs"||e.key==="analytics"||e.key==="redux"||e.key==="crash"||e.key==="push"||e.key==="socket",P=e.key==="apis"?oe.length>0?`${oe.length} requests`:"":e.key==="logs"?re.length>0?`${re.length} logs`:"":e.key==="crash"?W&&W.length>0?`${W.length} crashes`:"":e.key==="analytics"?te.length>0?`${te.length} events`:"":e.key==="redux"?$&&Object.keys($).length>0?`${Object.keys($).length} slices`:"":e.key==="push"?O&&O.length>0?`${O.length} notifications`:"":e.key==="socket"&&N&&N.length>0?`${N.length} sockets`:"";return<react_native_1.View key={e.key}style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:13,borderWidth:1,borderColor:t?`${h.color}38`:AppColors_1.AppColors.grayBorderSecondary,padding:12,gap:8,shadowColor:AppColors_1.AppColors.black,shadowOpacity:t?.03:.01,shadowRadius:3,shadowOffset:{width:0,height:1.5},elevation:1.5}}>
|
|
82
71
|
|
|
83
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"
|
|
72
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
|
|
84
73
|
|
|
85
|
-
<
|
|
86
|
-
{e.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
74
|
+
<react_native_1.View style={{width:38,height:38,borderRadius:10,backgroundColor:t?h.bg:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:t?h.border:AppColors_1.AppColors.grayBorderSecondary,alignItems:"center",justifyContent:"center",flexShrink:0}}>
|
|
75
|
+
{e.icon==="apis"&&<NetworkIcons_1.SignalIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
76
|
+
{e.icon==="logs"&&<NetworkIcons_1.TerminalIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
77
|
+
{e.icon==="perf"&&<NetworkIcons_1.SpeedometerIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
78
|
+
{e.icon==="crash"&&<NetworkIcons_1.CrashIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
79
|
+
{e.icon==="analytics"&&<NetworkIcons_1.AnalyticsIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
80
|
+
{e.icon==="redux"&&<NetworkIcons_1.ReduxIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
81
|
+
{e.icon==="device"&&<NetworkIcons_1.SmartphoneIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
82
|
+
{e.icon==="storage"&&<NetworkIcons_1.DatabaseIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
83
|
+
{e.icon==="debugging"&&<NetworkIcons_1.QrCodeIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
84
|
+
{e.icon==="media"&&<NetworkIcons_1.ScreencastIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
85
|
+
{e.icon==="push"&&<NetworkIcons_1.BellIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
86
|
+
{e.icon==="socket"&&<NetworkIcons_1.WebsocketIcon color={t?h.color:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
87
|
+
</react_native_1.View>
|
|
91
88
|
|
|
92
89
|
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
{e.icon==="crash"&&<NetworkIcons_1.CrashIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
99
|
-
{e.icon==="analytics"&&<NetworkIcons_1.AnalyticsIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
100
|
-
{e.icon==="redux"&&<NetworkIcons_1.ReduxIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
101
|
-
{e.icon==="device"&&<NetworkIcons_1.SmartphoneIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
102
|
-
{e.icon==="storage"&&<NetworkIcons_1.DatabaseIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
103
|
-
{e.icon==="debugging"&&<NetworkIcons_1.QrCodeIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
104
|
-
{e.icon==="media"&&<NetworkIcons_1.ScreencastIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
105
|
-
{e.icon==="push"&&<NetworkIcons_1.BellIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
106
|
-
{e.icon==="socket"&&<NetworkIcons_1.WebsocketIcon color={t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={16}/>}
|
|
107
|
-
</react_native_1.View>
|
|
90
|
+
<react_native_1.View style={{flex:1,minWidth:0,justifyContent:"center"}}>
|
|
91
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:5}}>
|
|
92
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:v?AppColors_1.AppColors.grayText:AppColors_1.AppColors.primaryBlack}}numberOfLines={1}>
|
|
93
|
+
{e.label}
|
|
94
|
+
</react_native_1.Text>
|
|
108
95
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:t?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText}}>
|
|
114
|
-
#{e.id}
|
|
96
|
+
|
|
97
|
+
{e.key==="apis"&&<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.blue500}14`,paddingHorizontal:4.5,paddingVertical:1,borderRadius:4,borderWidth:1,borderColor:`${AppColors_1.AppColors.blue500}33`}}>
|
|
98
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:7.5,lineHeight:10,color:AppColors_1.AppColors.blue500,letterSpacing:.3}}>
|
|
99
|
+
CORE
|
|
115
100
|
</react_native_1.Text>
|
|
116
|
-
</react_native_1.View>
|
|
117
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:14,lineHeight:18,color:x?AppColors_1.AppColors.grayText:AppColors_1.AppColors.primaryBlack}}>
|
|
118
|
-
{e.label}
|
|
119
|
-
</react_native_1.Text>
|
|
101
|
+
</react_native_1.View>}
|
|
120
102
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
{o("settings.coreBadge")}
|
|
133
|
-
</react_native_1.Text>
|
|
134
|
-
</react_native_1.View>:A?<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.amber500}18`,borderRadius:4,paddingHorizontal:5,paddingVertical:1.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.amber500}35`}}>
|
|
135
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:11,color:AppColors_1.AppColors.amber700,letterSpacing:.3}}>
|
|
136
|
-
{e.key==="redux"?o("settings.notConnectedBadge"):o("settings.notDetectedBadge")}
|
|
137
|
-
</react_native_1.Text>
|
|
138
|
-
</react_native_1.View>:t?<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.liveGreen}18`,borderRadius:4,paddingHorizontal:5,paddingVertical:1.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.liveGreen}38`}}>
|
|
139
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:11,color:AppColors_1.AppColors.green700,letterSpacing:.3}}>
|
|
140
|
-
{o("settings.activeBadge")}
|
|
141
|
-
</react_native_1.Text>
|
|
142
|
-
</react_native_1.View>:<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.grayTextWeak}18`,borderRadius:4,paddingHorizontal:5,paddingVertical:1.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.grayTextWeak}2E`}}>
|
|
143
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:11,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.3}}>
|
|
144
|
-
{o("settings.dormantBadge")}
|
|
145
|
-
</react_native_1.Text>
|
|
146
|
-
</react_native_1.View>}
|
|
147
|
-
</react_native_1.View>
|
|
148
|
-
|
|
149
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,color:AppColors_1.AppColors.grayText,lineHeight:15,marginTop:1}}>
|
|
150
|
-
{e.desc}
|
|
151
|
-
</react_native_1.Text>
|
|
103
|
+
{e.key===z&&<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,paddingHorizontal:4.5,paddingVertical:1,borderRadius:4,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}2E`}}>
|
|
104
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:7.5,lineHeight:10,color:AppColors_1.AppColors.purple,letterSpacing:.3}}>
|
|
105
|
+
DEFAULT
|
|
106
|
+
</react_native_1.Text>
|
|
107
|
+
</react_native_1.View>}
|
|
108
|
+
|
|
109
|
+
{f&&<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.amber500}14`,paddingHorizontal:4.5,paddingVertical:1,borderRadius:4,borderWidth:1,borderColor:`${AppColors_1.AppColors.amber500}33`}}>
|
|
110
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:7.5,lineHeight:10,color:AppColors_1.AppColors.amber700,letterSpacing:.3}}>
|
|
111
|
+
OFFLINE
|
|
112
|
+
</react_native_1.Text>
|
|
113
|
+
</react_native_1.View>}
|
|
152
114
|
</react_native_1.View>
|
|
153
|
-
|
|
115
|
+
|
|
116
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayTextWeak,marginTop:1.5}}numberOfLines={1}ellipsizeMode="tail">
|
|
117
|
+
{e.desc}
|
|
118
|
+
</react_native_1.Text>
|
|
119
|
+
</react_native_1.View>
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
<react_native_1.Switch value={t}disabled={v}onValueChange={()=>lo(e.key)}trackColor={{false:AppColors_1.AppColors.grayBorderSecondary,true:AppColors_1.AppColors.purple}}thumbColor={AppColors_1.AppColors.white}ios_backgroundColor={AppColors_1.AppColors.grayBorderSecondary}style={{transform:[{scaleX:.8},{scaleY:.8}]}}/>
|
|
154
123
|
</react_native_1.View>
|
|
155
124
|
|
|
156
125
|
|
|
157
|
-
{
|
|
126
|
+
{(P||F||e.key==="media")&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingTop:7,borderTopWidth:1,borderTopColor:`${AppColors_1.AppColors.dividerColor}99`,marginTop:1}}>
|
|
158
127
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
{
|
|
163
|
-
|
|
164
|
-
|
|
128
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:5,flex:1}}>
|
|
129
|
+
{P?<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:5}}>
|
|
130
|
+
<react_native_1.View style={{width:5.5,height:5.5,borderRadius:3,backgroundColor:t?h.color:AppColors_1.AppColors.grayTextWeak}}/>
|
|
131
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:10.5,lineHeight:14,color:t?AppColors_1.AppColors.grayTextStrong:AppColors_1.AppColors.grayTextWeak}}>
|
|
132
|
+
{P}
|
|
133
|
+
</react_native_1.Text>
|
|
134
|
+
</react_native_1.View>:<react_native_1.View/>}
|
|
135
|
+
</react_native_1.View>
|
|
165
136
|
|
|
166
137
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
138
|
+
{(F||e.key==="media")&&<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),e.key==="media"?((0,InspectorContext_1.animateNextLayout)(),b("capture")):_(e.key)}}hitSlop={6}style={{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:8.5,paddingVertical:4,borderRadius:6.5,backgroundColor:`${h.color}14`,borderWidth:1,borderColor:`${h.color}2A`}}>
|
|
139
|
+
<NetworkIcons_1.SettingsIcon color={h.color}size={10}/>
|
|
140
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:h.color}}>
|
|
141
|
+
{o("settings.configure","Configure")}
|
|
142
|
+
</react_native_1.Text>
|
|
143
|
+
<NetworkIcons_1.ForwardChevronIcon color={h.color}size={8}/>
|
|
144
|
+
</TouchableScale_1.default>}
|
|
174
145
|
</react_native_1.View>}
|
|
175
146
|
</react_native_1.View>})}
|
|
176
147
|
</react_native_1.View>
|
|
177
|
-
</react_native_1.View>}
|
|
148
|
+
</react_native_1.Animated.View>}
|
|
178
149
|
|
|
179
|
-
{
|
|
150
|
+
{A==="ui"&&<react_native_1.Animated.View style={{gap:14,opacity:V,transform:[{translateY:V.interpolate({inputRange:[0,1],outputRange:[10,0]})}]}}>
|
|
180
151
|
|
|
181
152
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden",padding:14,gap:12}}>
|
|
182
153
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.8}}>
|
|
@@ -198,7 +169,7 @@
|
|
|
198
169
|
</react_native_1.View>
|
|
199
170
|
</react_native_1.View>
|
|
200
171
|
|
|
201
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle Dark Theme"accessibilityState={{checked:I}}onPress={()=>{const e=!I;
|
|
172
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle Dark Theme"accessibilityState={{checked:I}}onPress={()=>{const e=!I;Fe(e),(0,styles_1.toggleGlobalTheme)(e)}}style={{width:42,height:24,borderRadius:12,backgroundColor:I?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:I?"flex-end":"flex-start"}}>
|
|
202
173
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
203
174
|
</TouchableScale_1.default>
|
|
204
175
|
</react_native_1.View>
|
|
@@ -221,10 +192,10 @@
|
|
|
221
192
|
</react_native_1.View>
|
|
222
193
|
</react_native_1.View>
|
|
223
194
|
|
|
224
|
-
<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),
|
|
225
|
-
{
|
|
195
|
+
<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),Te(!0)}}style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.purpleShade50,paddingHorizontal:10,paddingVertical:6,borderRadius:8,gap:5,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}20`}}>
|
|
196
|
+
{K?.flag?<react_native_1.Text style={{fontSize:13}}>{K.flag}</react_native_1.Text>:<NetworkIcons_1.GlobeIcon size={14}color={AppColors_1.AppColors.purple}/>}
|
|
226
197
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:12,color:AppColors_1.AppColors.purple}}>
|
|
227
|
-
{
|
|
198
|
+
{K?.nativeName||K?.name||"English"}
|
|
228
199
|
</react_native_1.Text>
|
|
229
200
|
<NetworkIcons_1.ForwardChevronIcon size={11}color={AppColors_1.AppColors.purple}/>
|
|
230
201
|
</TouchableScale_1.default>
|
|
@@ -254,16 +225,16 @@
|
|
|
254
225
|
</react_native_1.View>
|
|
255
226
|
</react_native_1.View>
|
|
256
227
|
|
|
257
|
-
{
|
|
228
|
+
{J!==L&&<TouchableScale_1.default onPress={()=>{Re(J)}}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:AppColors_1.AppColors.purple,paddingHorizontal:10,paddingVertical:5,borderRadius:7,shadowColor:AppColors_1.AppColors.purple,shadowOffset:{width:0,height:1},shadowOpacity:.28,shadowRadius:2,elevation:2}}>
|
|
258
229
|
<NetworkIcons_1.CheckIcon size={11}color={AppColors_1.AppColors.white}/>
|
|
259
230
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.white}}>
|
|
260
|
-
Save ({
|
|
231
|
+
Save ({J}%)
|
|
261
232
|
</react_native_1.Text>
|
|
262
233
|
</TouchableScale_1.default>}
|
|
263
234
|
</react_native_1.View>
|
|
264
235
|
|
|
265
236
|
<react_native_1.View style={{marginTop:6}}>
|
|
266
|
-
<Slider_1.default value={
|
|
237
|
+
<Slider_1.default value={J}onValueChange={xe}min={50}max={90}step={5}quickPresets={[50,60,70,80,90]}formatLabel={e=>`${Math.round(e)}%`}/>
|
|
267
238
|
</react_native_1.View>
|
|
268
239
|
</react_native_1.View>
|
|
269
240
|
|
|
@@ -288,13 +259,13 @@
|
|
|
288
259
|
|
|
289
260
|
<react_native_1.View style={{backgroundColor:"rgba(6, 182, 212, 0.14)",paddingHorizontal:8,paddingVertical:3,borderRadius:6,borderWidth:1,borderColor:"rgba(6, 182, 212, 0.30)"}}>
|
|
290
261
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,color:"#06B6D4"}}>
|
|
291
|
-
{
|
|
262
|
+
{_e.toFixed(1)}
|
|
292
263
|
</react_native_1.Text>
|
|
293
264
|
</react_native_1.View>
|
|
294
265
|
</react_native_1.View>
|
|
295
266
|
|
|
296
267
|
<react_native_1.View style={{marginTop:6}}>
|
|
297
|
-
<Slider_1.default value={
|
|
268
|
+
<Slider_1.default value={_e}onValueChange={e=>{const r=Math.round(e*10)/10;eo(r)}}min={.1}max={1}step={.1}quickPresets={[.1,.3,.5,.7,1]}formatLabel={e=>e.toFixed(1)}/>
|
|
298
269
|
</react_native_1.View>
|
|
299
270
|
</react_native_1.View>
|
|
300
271
|
|
|
@@ -317,7 +288,7 @@
|
|
|
317
288
|
</react_native_1.View>
|
|
318
289
|
|
|
319
290
|
<react_native_1.View style={{flexDirection:"row",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,padding:3,borderWidth:1,borderColor:AppColors_1.AppColors.dividerColor}}>
|
|
320
|
-
{[{key:"slide",label:"Slide Up"},{key:"fade",label:"Fade"},{key:"none",label:"None"}].map(e=>{const r=
|
|
291
|
+
{[{key:"slide",label:"Slide Up"},{key:"fade",label:"Fade"},{key:"none",label:"None"}].map(e=>{const r=ze===e.key;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Set transition animation to ${e.label}`}accessibilityState={{selected:r}}onPress={()=>Be(e.key)}style={{flex:1,paddingVertical:7,alignItems:"center",borderRadius:8,backgroundColor:r?AppColors_1.AppColors.purple:"transparent"}}>
|
|
321
292
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.grayText}}>
|
|
322
293
|
{e.label}
|
|
323
294
|
</react_native_1.Text>
|
|
@@ -348,11 +319,11 @@
|
|
|
348
319
|
|
|
349
320
|
|
|
350
321
|
<react_native_1.View style={{marginTop:6,gap:6}}>
|
|
351
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Default opening tab: ${
|
|
322
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={`Default opening tab: ${S.find(e=>e.key===z)?.label||"APIs"}`}onPress={()=>Ve(e=>!e)}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,borderWidth:1.5,borderColor:se?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:14,paddingVertical:11}}>
|
|
352
323
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10,flex:1}}>
|
|
353
324
|
<react_native_1.View style={{width:8,height:8,borderRadius:4,backgroundColor:AppColors_1.AppColors.purple}}/>
|
|
354
325
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
|
|
355
|
-
{
|
|
326
|
+
{S.find(e=>e.key===z)?`#${S.find(e=>e.key===z)?.id} ${S.find(e=>e.key===z)?.label}`:"#1 APIs (Network)"}
|
|
356
327
|
</react_native_1.Text>
|
|
357
328
|
<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,paddingHorizontal:6,paddingVertical:1.5,borderRadius:6}}>
|
|
358
329
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,color:AppColors_1.AppColors.purple}}>
|
|
@@ -361,21 +332,21 @@
|
|
|
361
332
|
</react_native_1.View>
|
|
362
333
|
</react_native_1.View>
|
|
363
334
|
|
|
364
|
-
<react_native_1.View style={{transform:[{rotate:
|
|
335
|
+
<react_native_1.View style={{transform:[{rotate:se?"180deg":"0deg"}]}}>
|
|
365
336
|
<NetworkIcons_1.ChevronDownIcon color={AppColors_1.AppColors.grayText}size={15}/>
|
|
366
337
|
</react_native_1.View>
|
|
367
338
|
</TouchableScale_1.default>
|
|
368
339
|
|
|
369
340
|
|
|
370
|
-
{
|
|
371
|
-
{
|
|
341
|
+
{se&&<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden",shadowColor:AppColors_1.AppColors.black,shadowOpacity:.08,shadowRadius:6,shadowOffset:{width:0,height:3},elevation:4}}>
|
|
342
|
+
{S.filter(e=>e.key==="apis"||R?.[e.key]).map((e,r,C)=>{const f=z===e.key,v=r===C.length-1;return<TouchableScale_1.default key={e.key}accessible={!0}accessibilityRole="button"accessibilityLabel={`Select ${e.label} as default tab`}onPress={()=>{ke(e.key),Ve(!1)}}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:14,paddingVertical:11,backgroundColor:f?`${AppColors_1.AppColors.purple}0F`:"transparent",borderBottomWidth:v?0:1,borderBottomColor:AppColors_1.AppColors.dividerColor}}>
|
|
372
343
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
|
|
373
|
-
<react_native_1.View style={{width:6,height:6,borderRadius:3,backgroundColor:
|
|
374
|
-
<react_native_1.Text style={{fontFamily:
|
|
344
|
+
<react_native_1.View style={{width:6,height:6,borderRadius:3,backgroundColor:f?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}}/>
|
|
345
|
+
<react_native_1.Text style={{fontFamily:f?AppFonts_1.AppFonts.interBold:AppFonts_1.AppFonts.interMedium,fontSize:13,color:f?AppColors_1.AppColors.purple:AppColors_1.AppColors.primaryBlack}}>
|
|
375
346
|
#{e.id} {e.label}
|
|
376
347
|
</react_native_1.Text>
|
|
377
348
|
</react_native_1.View>
|
|
378
|
-
{
|
|
349
|
+
{f&&<NetworkIcons_1.CheckIcon size={14}color={AppColors_1.AppColors.purple}/>}
|
|
379
350
|
</TouchableScale_1.default>})}
|
|
380
351
|
</react_native_1.View>}
|
|
381
352
|
</react_native_1.View>
|
|
@@ -397,20 +368,19 @@
|
|
|
397
368
|
NPM Update Toast
|
|
398
369
|
</react_native_1.Text>
|
|
399
370
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
400
|
-
Show a floating toast banner with countdown progress when
|
|
401
|
-
a newer release is published on npm.
|
|
371
|
+
{o("settings.npmUpdateToastDesc","Show a floating toast banner with countdown progress when a newer release is published on npm.")}
|
|
402
372
|
</react_native_1.Text>
|
|
403
373
|
</react_native_1.View>
|
|
404
374
|
</react_native_1.View>
|
|
405
375
|
|
|
406
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle NPM Update Toast"accessibilityState={{checked:
|
|
376
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle NPM Update Toast"accessibilityState={{checked:ee}}onPress={()=>He(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:ee?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:ee?"flex-end":"flex-start"}}>
|
|
407
377
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
408
378
|
</TouchableScale_1.default>
|
|
409
379
|
</react_native_1.View>
|
|
410
380
|
</react_native_1.View>
|
|
411
|
-
</react_native_1.View>}
|
|
381
|
+
</react_native_1.Animated.View>}
|
|
412
382
|
|
|
413
|
-
{
|
|
383
|
+
{A==="limits"&&<react_native_1.Animated.View style={{gap:14,opacity:V,transform:[{translateY:V.interpolate({inputRange:[0,1],outputRange:[10,0]})}]}}>
|
|
414
384
|
|
|
415
385
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,overflow:"hidden",padding:14,gap:12}}>
|
|
416
386
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.grayTextWeak,letterSpacing:.8}}>
|
|
@@ -428,13 +398,12 @@
|
|
|
428
398
|
Auto-Calculate Limits from RAM
|
|
429
399
|
</react_native_1.Text>
|
|
430
400
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
431
|
-
Dynamically sets log limits according to available device
|
|
432
|
-
memory
|
|
401
|
+
{o("settings.autoCalculateLimitsRamDesc","Dynamically sets log limits according to available device memory")}
|
|
433
402
|
</react_native_1.Text>
|
|
434
403
|
</react_native_1.View>
|
|
435
404
|
</react_native_1.View>
|
|
436
405
|
|
|
437
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle auto RAM limit calculation"accessibilityState={{checked:
|
|
406
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle auto RAM limit calculation"accessibilityState={{checked:w}}onPress={()=>We(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:w?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:w?"flex-end":"flex-start"}}>
|
|
438
407
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
439
408
|
</TouchableScale_1.default>
|
|
440
409
|
</react_native_1.View>
|
|
@@ -443,20 +412,20 @@
|
|
|
443
412
|
|
|
444
413
|
|
|
445
414
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
|
|
446
|
-
<react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:
|
|
447
|
-
<NetworkIcons_1.SignalIcon color={
|
|
415
|
+
<react_native_1.View style={{width:32,height:32,borderRadius:8,backgroundColor:w?`${AppColors_1.AppColors.purple}14`:AppColors_1.AppColors.grayBackground,alignItems:"center",justifyContent:"center"}}>
|
|
416
|
+
<NetworkIcons_1.SignalIcon color={w?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak}size={15}/>
|
|
448
417
|
</react_native_1.View>
|
|
449
418
|
<react_native_1.View style={{flex:1}}>
|
|
450
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:
|
|
419
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:w?AppColors_1.AppColors.primaryBlack:AppColors_1.AppColors.grayText}}>
|
|
451
420
|
Detected Available RAM
|
|
452
421
|
</react_native_1.Text>
|
|
453
422
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
454
|
-
{
|
|
423
|
+
{ie} MB available on device
|
|
455
424
|
</react_native_1.Text>
|
|
456
425
|
</react_native_1.View>
|
|
457
|
-
<react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:
|
|
458
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,lineHeight:15,color:
|
|
459
|
-
{
|
|
426
|
+
<react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:w?`${AppColors_1.AppColors.purple}12`:AppColors_1.AppColors.grayBackground,borderWidth:1,borderColor:w?`${AppColors_1.AppColors.purple}26`:AppColors_1.AppColors.dividerColor}}>
|
|
427
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:12,lineHeight:15,color:w?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText}}>
|
|
428
|
+
{ie} MB
|
|
460
429
|
</react_native_1.Text>
|
|
461
430
|
</react_native_1.View>
|
|
462
431
|
</react_native_1.View>
|
|
@@ -465,17 +434,17 @@
|
|
|
465
434
|
<react_native_1.View style={{marginTop:4,paddingTop:8,borderTopWidth:1,borderTopColor:AppColors_1.AppColors.dividerColor,gap:6}}>
|
|
466
435
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}>
|
|
467
436
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11.5,lineHeight:15,color:AppColors_1.AppColors.purple}}>
|
|
468
|
-
Profile: {
|
|
437
|
+
Profile: {Y.profileName}
|
|
469
438
|
</react_native_1.Text>
|
|
470
|
-
<react_native_1.View style={{backgroundColor:
|
|
471
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:
|
|
472
|
-
{
|
|
439
|
+
<react_native_1.View style={{backgroundColor:w?`${AppColors_1.AppColors.emerald500}18`:`${AppColors_1.AppColors.purple}18`,paddingHorizontal:7,paddingVertical:2.5,borderRadius:4}}>
|
|
440
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:w?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.purple}}>
|
|
441
|
+
{w?"AUTO-TUNED":"MANUAL"}
|
|
473
442
|
</react_native_1.Text>
|
|
474
443
|
</react_native_1.View>
|
|
475
444
|
</react_native_1.View>
|
|
476
445
|
|
|
477
446
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:8,marginTop:4}}>
|
|
478
|
-
{[{label:"Logs",value:
|
|
447
|
+
{[{label:"Logs",value:w?Y.maxConsoleLogs:ce,color:AppColors_1.AppColors.sky500},{label:"Analytics",value:w?Y.maxAnalyticsEvents:de,color:AppColors_1.AppColors.purple},{label:"Crash",value:w?Y.maxCrashRecords:ge,color:AppColors_1.AppColors.errorColor}].map(e=><react_native_1.View key={e.label}style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${e.color}14`,borderWidth:1,borderColor:`${e.color}33`}}>
|
|
479
448
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,lineHeight:14,color:e.color}}>
|
|
480
449
|
{e.label}:
|
|
481
450
|
</react_native_1.Text>
|
|
@@ -502,8 +471,7 @@
|
|
|
502
471
|
OS Memory Warning Guard
|
|
503
472
|
</react_native_1.Text>
|
|
504
473
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayText,marginTop:1}}>
|
|
505
|
-
Automatically prunes in-memory buffers by 50% when the OS
|
|
506
|
-
signals low memory
|
|
474
|
+
{o("settings.osMemoryWarningGuardDesc","Automatically prunes in-memory buffers by 50% when the OS signals low memory")}
|
|
507
475
|
</react_native_1.Text>
|
|
508
476
|
</react_native_1.View>
|
|
509
477
|
<react_native_1.View style={{paddingHorizontal:8,paddingVertical:3,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.emerald500}18`}}>
|
|
@@ -533,8 +501,8 @@
|
|
|
533
501
|
</TouchableScale_1.default>
|
|
534
502
|
</react_native_1.View>
|
|
535
503
|
</react_native_1.View>
|
|
536
|
-
</react_native_1.View>}
|
|
537
|
-
{
|
|
504
|
+
</react_native_1.Animated.View>}
|
|
505
|
+
{A==="capture"&&<react_native_1.Animated.View style={{gap:16,opacity:V,transform:[{translateY:V.interpolate({inputRange:[0,1],outputRange:[10,0]})}]}}>
|
|
538
506
|
|
|
539
507
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:12}}>
|
|
540
508
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:10}}>
|
|
@@ -551,9 +519,9 @@
|
|
|
551
519
|
</react_native_1.View>
|
|
552
520
|
</react_native_1.View>
|
|
553
521
|
|
|
554
|
-
{
|
|
555
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
556
|
-
{
|
|
522
|
+
{i({icon:<NetworkIcons_1.CameraIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.enableFloatingWidget","Enable Floating Widget"),description:o("settings.media.enableFloatingWidgetDesc","Shows draggable quick screenshot & video recording button on screen"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),fe(e=>!e),(0,toast_1.showToast)(`Capture widget: ${B?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),fe(e=>!e),(0,toast_1.showToast)(`Capture widget: ${B?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:B?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:B?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
523
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:B?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
524
|
+
{B?o("settings.media.enabled","ON"):"OFF"}
|
|
557
525
|
</react_native_1.Text>
|
|
558
526
|
</TouchableScale_1.default>})}
|
|
559
527
|
</react_native_1.View>
|
|
@@ -574,17 +542,17 @@
|
|
|
574
542
|
</react_native_1.View>
|
|
575
543
|
</react_native_1.View>
|
|
576
544
|
|
|
577
|
-
{
|
|
578
|
-
{["png","jpeg","webp"].map(e=>{const r=
|
|
545
|
+
{i({icon:<NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.imageFormat","Image Format"),description:o("settings.media.imageFormatDesc","Export formats (PNG lossless, JPEG lossy, WebP)"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
546
|
+
{["png","jpeg","webp"].map(e=>{const r=le===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),Ce(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
579
547
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
580
548
|
{e.toUpperCase()}
|
|
581
549
|
</react_native_1.Text>
|
|
582
550
|
</TouchableScale_1.default>})}
|
|
583
551
|
</react_native_1.View>})}
|
|
584
552
|
|
|
585
|
-
{
|
|
586
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
587
|
-
{
|
|
553
|
+
{i({icon:<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.autoHide","Auto-Hide Inspector During Capture"),description:o("settings.media.autoHideDesc","Temporarily hides the inspector overlay during screen capture"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),U(e=>!e),(0,toast_1.showToast)(`Auto-hide overlay: ${x?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),U(e=>!e),(0,toast_1.showToast)(`Auto-hide overlay: ${x?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:x?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:x?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
554
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:x?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
555
|
+
{x?o("settings.media.enabled","ON"):"OFF"}
|
|
588
556
|
</react_native_1.Text>
|
|
589
557
|
</TouchableScale_1.default>})}
|
|
590
558
|
</react_native_1.View>
|
|
@@ -605,81 +573,117 @@
|
|
|
605
573
|
</react_native_1.View>
|
|
606
574
|
</react_native_1.View>
|
|
607
575
|
|
|
608
|
-
{
|
|
609
|
-
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=
|
|
576
|
+
{i({icon:<NetworkIcons_1.MicrophoneIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.audioMode","Audio Source"),description:o("settings.media.audioModeDesc","Record video with muted, app audio, or microphone commentary"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
577
|
+
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=he===e.key;return<TouchableScale_1.default key={e.key}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),Ae(e.key),(0,toast_1.showToast)(`Audio source: ${e.label}`)}}style={{paddingHorizontal:8,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
610
578
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
611
579
|
{e.label}
|
|
612
580
|
</react_native_1.Text>
|
|
613
581
|
</TouchableScale_1.default>})}
|
|
614
582
|
</react_native_1.View>})}
|
|
615
583
|
|
|
616
|
-
{
|
|
617
|
-
{[15,24,30,60].map(e=>{const r=
|
|
584
|
+
{i({icon:<NetworkIcons_1.FilmIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.frameRate","Recording Frame Rate (FPS)"),description:o("settings.media.frameRateDesc","Target video smoothness: 15, 24, 30, or 60 FPS"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
585
|
+
{[15,24,30,60].map(e=>{const r=be===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),me(e),(0,toast_1.showToast)(`Recording FPS: ${e}`)}}style={{paddingHorizontal:7,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
618
586
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
619
587
|
{e}fps
|
|
620
588
|
</react_native_1.Text>
|
|
621
589
|
</TouchableScale_1.default>})}
|
|
622
590
|
</react_native_1.View>})}
|
|
623
591
|
|
|
624
|
-
{
|
|
625
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
626
|
-
{
|
|
592
|
+
{i({icon:<NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.gifAutoOpt","Auto GIF Optimization"),description:o("settings.media.gifAutoOptDesc","Automatic palette reduction and frame skip for lightweight animated GIFs"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),G(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${T?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),G(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${T?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:T?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:T?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
593
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:T?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
594
|
+
{T?"ON":"OFF"}
|
|
627
595
|
</react_native_1.Text>
|
|
628
596
|
</TouchableScale_1.default>})}
|
|
629
597
|
</react_native_1.View>
|
|
630
598
|
|
|
631
599
|
|
|
632
600
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
633
|
-
{
|
|
601
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.media.purgeAll","Purge Captured Media Cache"),description:o("settings.media.purgeAllDesc","Delete all local screenshots, screen recordings and converted GIFs"),isLast:!0,onPress:()=>{react_native_1.Alert.alert(o("settings.media.purgeConfirmTitle","Purge Media Storage?"),o("settings.media.purgeConfirmMessage","This will permanently delete all captured screenshots and videos from disk."),[{text:o("common.cancel","Cancel"),style:"cancel"},{text:o("settings.media.purgeCacheBtn","Purge All"),style:"destructive",onPress:async()=>{await capture_1.ScreenCapture.clearAllMedia(),(0,toast_1.showToast)(o("settings.media.purgedSuccess","Media cache cleared successfully"))}}])},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
634
602
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
635
603
|
{o("settings.media.purgeCacheBtn","Purge All")}
|
|
636
604
|
</react_native_1.Text>
|
|
637
605
|
</react_native_1.View>})}
|
|
638
606
|
</react_native_1.View>
|
|
639
|
-
</react_native_1.View>}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
<DeveloperSponsorCard_1.DeveloperSponsorCard containerStyle={{marginTop:14}}/>
|
|
607
|
+
</react_native_1.Animated.View>}
|
|
643
608
|
|
|
644
609
|
<react_native_1.View style={{height:48}}/>
|
|
645
610
|
</react_native_1.ScrollView>
|
|
611
|
+
</react_native_1.View>;let k=null;if(a==="apis")k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
646
612
|
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
<react_native_1.View style={{flex:
|
|
650
|
-
<react_native_1.
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
613
|
+
|
|
614
|
+
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16,gap:12}}>
|
|
615
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"flex-start",justifyContent:"space-between",gap:8}}>
|
|
616
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8,flex:1}}>
|
|
617
|
+
<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.purple}size={16}/>
|
|
618
|
+
<react_native_1.View style={{flex:1}}>
|
|
619
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13.5,lineHeight:18,color:AppColors_1.AppColors.primaryBlack}}>
|
|
620
|
+
{o("settings.apis.hideUrlRegexTitle","Hidden URL Filters (Regex)")}
|
|
621
|
+
</react_native_1.Text>
|
|
622
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayTextWeak,marginTop:2}}>
|
|
623
|
+
{o("settings.apis.hideUrlRegexDesc","Hide matching URLs from Network list and search results (calls will still execute normally).")}
|
|
624
|
+
</react_native_1.Text>
|
|
625
|
+
</react_native_1.View>
|
|
626
|
+
</react_native_1.View>
|
|
627
|
+
{H.length>0&&<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),ne([...constants_1.DEFAULT_HIDDEN_URL_PATTERNS]),(0,toast_1.showToast)(o("settings.apis.resetFilterToast","Reset to default URL filters"))}}hitSlop={8}style={{paddingHorizontal:8,paddingVertical:4.5,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}33`,alignSelf:"flex-start"}}>
|
|
628
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.purple}}>
|
|
629
|
+
{o("common.resetDefaults","Reset Defaults")}
|
|
630
|
+
</react_native_1.Text>
|
|
631
|
+
</TouchableScale_1.default>}
|
|
656
632
|
</react_native_1.View>
|
|
657
633
|
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
<
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
634
|
+
|
|
635
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8,backgroundColor:AppColors_1.AppColors.grayBackground,borderRadius:10,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,paddingHorizontal:10,paddingVertical:react_native_1.Platform.OS==="ios"?8:4}}>
|
|
636
|
+
<NetworkIcons_1.CodeBracketsIcon size={14}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
637
|
+
<react_native_1.TextInput style={{flex:1,fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:12,lineHeight:16,color:AppColors_1.AppColors.primaryBlack,padding:0}}placeholder={o("settings.apis.addPatternPlaceholder","e.g. https://api.example.com or .*analytics.*")}placeholderTextColor={AppColors_1.AppColors.grayTextWeak}value={q}onChangeText={we}autoCapitalize="none"autoCorrect={!1}onSubmitEditing={ve}returnKeyType="done"/>
|
|
638
|
+
<TouchableScale_1.default onPress={ve}disabled={!q.trim()}style={{paddingHorizontal:10,paddingVertical:5.5,borderRadius:7,backgroundColor:q.trim()?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}33`}}>
|
|
639
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.white}}>
|
|
640
|
+
{o("common.add","+ Add")}
|
|
641
|
+
</react_native_1.Text>
|
|
642
|
+
</TouchableScale_1.default>
|
|
643
|
+
</react_native_1.View>
|
|
666
644
|
|
|
645
|
+
|
|
646
|
+
<react_native_1.View style={{gap:6}}>
|
|
647
|
+
{H.map((e,r)=>{const C=constants_1.DEFAULT_HIDDEN_URL_PATTERNS.includes(e);return<react_native_1.View key={`${e}-${r}`}style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:C?`${AppColors_1.AppColors.slate200}44`:AppColors_1.AppColors.grayBackground,borderRadius:8,paddingHorizontal:10,paddingVertical:7,borderWidth:1,borderColor:C?`${AppColors_1.AppColors.grayBorderSecondary}`:AppColors_1.AppColors.grayBorderSecondary,gap:8}}>
|
|
648
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6,flex:1,minWidth:0}}>
|
|
649
|
+
<react_native_1.View style={{paddingHorizontal:5,paddingVertical:1.5,borderRadius:4,backgroundColor:C?`${AppColors_1.AppColors.blue500}18`:`${AppColors_1.AppColors.purple}1F`}}>
|
|
650
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9,lineHeight:11,color:C?AppColors_1.AppColors.blue600:AppColors_1.AppColors.purple}}>
|
|
651
|
+
{C?"DEFAULT":"CUSTOM"}
|
|
652
|
+
</react_native_1.Text>
|
|
653
|
+
</react_native_1.View>
|
|
654
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:11.5,lineHeight:15,color:C?AppColors_1.AppColors.grayTextStrong:AppColors_1.AppColors.primaryBlack,flex:1}}numberOfLines={1}ellipsizeMode="middle">
|
|
655
|
+
{e}
|
|
656
|
+
</react_native_1.Text>
|
|
657
|
+
</react_native_1.View>
|
|
658
|
+
{C?<react_native_1.View style={{padding:5,borderRadius:5,backgroundColor:`${AppColors_1.AppColors.grayTextWeak}18`,alignItems:"center",justifyContent:"center"}}>
|
|
659
|
+
<NetworkIcons_1.LockIcon size={12}color={AppColors_1.AppColors.grayTextWeak}/>
|
|
660
|
+
</react_native_1.View>:<TouchableScale_1.default onPress={()=>to(r)}hitSlop={8}style={{padding:5,borderRadius:5,backgroundColor:`${AppColors_1.AppColors.errorColor}14`}}>
|
|
661
|
+
<NetworkIcons_1.TrashIcon size={12}color={AppColors_1.AppColors.errorColor}/>
|
|
662
|
+
</TouchableScale_1.default>}
|
|
663
|
+
</react_native_1.View>})}
|
|
664
|
+
{H.length===0&&<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:11,lineHeight:15,color:AppColors_1.AppColors.grayTextWeak,textAlign:"center",paddingVertical:8}}>
|
|
665
|
+
{o("settings.apis.noFiltersActive","No URL filters active. All URLs will be displayed.")}
|
|
666
|
+
</react_native_1.Text>}
|
|
667
|
+
</react_native_1.View>
|
|
668
|
+
</react_native_1.View>
|
|
669
|
+
|
|
670
|
+
|
|
667
671
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
668
|
-
{
|
|
672
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.apis.clearNetworkLogs"),description:o("settings.apis.clearNetworkLogsDescription",{count:oe.length}),isLast:!0,onPress:()=>{(0,networkLogger_1.clearNetworkLogs)(),Ne(null),react_native_1.Alert.alert(o("common.success"),o("settings.apis.networkLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
669
673
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
670
674
|
{o("common.clear")}
|
|
671
675
|
</react_native_1.Text>
|
|
672
676
|
</react_native_1.View>})}
|
|
673
677
|
</react_native_1.View>
|
|
674
678
|
<react_native_1.View style={{height:48}}/>
|
|
675
|
-
</react_native_1.ScrollView>;else if(
|
|
679
|
+
</react_native_1.ScrollView>;else if(a==="logs")k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
676
680
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
677
|
-
{
|
|
681
|
+
{i({icon:<NetworkIcons_1.TerminalIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.logs.maxConsoleLogs"),description:o("settings.logs.maxConsoleLogsDescription"),numericInput:{value:ce,onChange:Le,min:10,max:100,placeholder:"Enter max logs (10-100)"}})}
|
|
678
682
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
679
683
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:13,lineHeight:17,color:AppColors_1.AppColors.primaryBlack,paddingTop:6}}>
|
|
680
684
|
{o("settings.logs.logLevels")}
|
|
681
685
|
</react_native_1.Text>
|
|
682
|
-
{["info","warn","error"].map(e=>{const r=
|
|
686
|
+
{["info","warn","error"].map(e=>{const r=De?.[e],C=e==="error"?AppColors_1.AppColors.errorColor:e==="warn"?AppColors_1.AppColors.warningIconGold:AppColors_1.AppColors.skyBlue,f=o(e==="info"?"settings.logs.showInfo":e==="warn"?"settings.logs.showWarn":"settings.logs.showError"),v=o(e==="info"?"settings.logs.showInfoDesc":e==="warn"?"settings.logs.showWarnDesc":"settings.logs.showErrorDesc");return i({icon:<react_native_1.View style={{width:12,height:12,borderRadius:6,backgroundColor:C}}/>,label:f,description:v,isLast:e==="error",onPress:()=>Pe(t=>({...t,[e]:!t[e]})),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:r?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:r?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
|
|
683
687
|
{r&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
|
|
684
688
|
</react_native_1.View>})})}
|
|
685
689
|
</react_native_1.View>
|
|
@@ -706,50 +710,50 @@
|
|
|
706
710
|
</react_native_1.View>
|
|
707
711
|
</react_native_1.View>
|
|
708
712
|
|
|
709
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle show duplicate logs"accessibilityState={{checked:
|
|
713
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="switch"accessibilityLabel="Toggle show duplicate logs"accessibilityState={{checked:Z}}onPress={()=>Ie(e=>!e)}style={{width:42,height:24,borderRadius:12,backgroundColor:Z?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,padding:2,justifyContent:"center",alignItems:Z?"flex-end":"flex-start"}}>
|
|
710
714
|
<react_native_1.View style={{width:20,height:20,borderRadius:10,backgroundColor:AppColors_1.AppColors.white,shadowColor:AppColors_1.AppColors.black,shadowOpacity:.18,shadowRadius:2,shadowOffset:{width:0,height:1}}}/>
|
|
711
715
|
</TouchableScale_1.default>
|
|
712
716
|
</react_native_1.View>
|
|
713
717
|
</react_native_1.View>
|
|
714
718
|
|
|
715
719
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
716
|
-
{
|
|
720
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.logs.clearConsoleLogs"),description:o("settings.logs.clearConsoleLogsDescription",{count:re.length}),isLast:!0,onPress:()=>{(0,consoleLogger_1.clearConsoleLogs)(),react_native_1.Alert.alert(o("common.success"),o("settings.logs.consoleLogsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
717
721
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
718
722
|
{o("common.clear")}
|
|
719
723
|
</react_native_1.Text>
|
|
720
724
|
</react_native_1.View>})}
|
|
721
725
|
</react_native_1.View>
|
|
722
726
|
<react_native_1.View style={{height:48}}/>
|
|
723
|
-
</react_native_1.ScrollView>;else if(
|
|
727
|
+
</react_native_1.ScrollView>;else if(a==="analytics")k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
724
728
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary}}>
|
|
725
|
-
{
|
|
729
|
+
{i({icon:<NetworkIcons_1.AnalyticsIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.analytics.maxAnalyticsEvents"),description:o("settings.analytics.maxAnalyticsEventsDescription",{count:te.length}),numericInput:{value:de,onChange:$e,min:10,max:75,placeholder:"Enter max events (10-75)"},isLast:!0})}
|
|
726
730
|
</react_native_1.View>
|
|
727
731
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
728
|
-
{
|
|
732
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.analytics.clearAnalyticsEvents"),description:o("settings.analytics.clearAnalyticsEventsDescription"),isLast:!0,onPress:()=>{(0,analyticsLogger_1.clearAnalyticsEvents)(),je(null),react_native_1.Alert.alert(o("common.success"),o("settings.analytics.analyticsEventsCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
729
733
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
730
734
|
{o("common.clear")}
|
|
731
735
|
</react_native_1.Text>
|
|
732
736
|
</react_native_1.View>})}
|
|
733
737
|
</react_native_1.View>
|
|
734
738
|
<react_native_1.View style={{height:48}}/>
|
|
735
|
-
</react_native_1.ScrollView>;else if(
|
|
739
|
+
</react_native_1.ScrollView>;else if(a==="redux")k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
736
740
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
737
|
-
{
|
|
738
|
-
{
|
|
741
|
+
{i({icon:<NetworkIcons_1.ReduxIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.autoRefresh"),description:o("settings.redux.autoRefreshDescription"),onPress:()=>Ee(e=>!e),right:<react_native_1.View style={{width:22,height:22,borderRadius:6,borderWidth:2,borderColor:ae?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayTextWeak,backgroundColor:ae?`${AppColors_1.AppColors.purple}1A`:"transparent",alignItems:"center",justifyContent:"center"}}>
|
|
742
|
+
{ae&&<NetworkIcons_1.CheckIcon size={12}color={AppColors_1.AppColors.purple}/>}
|
|
739
743
|
</react_native_1.View>})}
|
|
740
744
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
741
|
-
{
|
|
745
|
+
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.redux.defaultJsonExpandDepth"),description:o("settings.redux.defaultJsonExpandDepthDescription"),picker:{options:[1,2,3,5],selectedValue:Oe,onSelect:Me},isLast:!0})}
|
|
742
746
|
</react_native_1.View>
|
|
743
747
|
|
|
744
748
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
745
|
-
{
|
|
749
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.redux.clearReduxState"),description:o($?"settings.redux.clearReduxStateDescription":"settings.redux.clearReduxStateEmpty"),isLast:!0,onPress:()=>{Ue(null),react_native_1.Alert.alert(o("common.success"),o("settings.redux.reduxStateCleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
746
750
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
747
751
|
{o("common.clear")}
|
|
748
752
|
</react_native_1.Text>
|
|
749
753
|
</react_native_1.View>})}
|
|
750
754
|
</react_native_1.View>
|
|
751
755
|
<react_native_1.View style={{height:48}}/>
|
|
752
|
-
</react_native_1.ScrollView>;else if(
|
|
756
|
+
</react_native_1.ScrollView>;else if(a==="crash"){const e=!!m?.js&&!m?.native&&!!m?.render&&!m?.promise&&!m?.custom,r=!m?.js&&!m?.native&&!m?.render&&!m?.promise&&!m?.custom,C=!!m?.js&&!!m?.native&&!!m?.render&&!!m?.promise&&!!m?.custom,f=["js","native","render","promise","custom"].filter(t=>!m?.[t]).length,v=[{key:"js",label:o("settings.crash.ignoreJs","Ignore JS Runtime Crashes"),desc:o("settings.crash.ignoreJsDesc","Bypasses unhandled JS runtime exceptions, TypeError, SyntaxError & ErrorUtils"),icon:<NetworkIcons_1.JsIcon size={16}color={AppColors_1.AppColors.yellow400}/>},{key:"native",label:o("settings.crash.ignoreNative","Ignore Native Platform Crashes"),desc:o("settings.crash.ignoreNativeDesc","Bypasses iOS Mach-O signals, SIGSEGV, NullPointerException & ExceptionsManager"),icon:<NetworkIcons_1.ChipIcon size={16}color={AppColors_1.AppColors.cyan600}/>},{key:"render",label:o("settings.crash.ignoreRender","Ignore React Render Errors"),desc:o("settings.crash.ignoreRenderDesc","Bypasses React component tree render failures & ErrorBoundary"),icon:<NetworkIcons_1.LayoutIcon size={16}color={AppColors_1.AppColors.purple400}/>},{key:"promise",label:o("settings.crash.ignorePromise","Ignore Promise Rejections"),desc:o("settings.crash.ignorePromiseDesc","Bypasses unhandled asynchronous Promise rejections"),icon:<NetworkIcons_1.HourglassIcon size={16}color={AppColors_1.AppColors.amber400}/>},{key:"custom",label:o("settings.crash.ignoreCustom","Ignore Custom Recorded Errors"),desc:o("settings.crash.ignoreCustomDesc","Bypasses manual recordCustomCrash exceptions & telemetry triggers"),icon:<NetworkIcons_1.CodeBracketsIcon size={16}color={AppColors_1.AppColors.emerald400}/>}];k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:14}}showsVerticalScrollIndicator={!1}>
|
|
753
757
|
|
|
754
758
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:12}}>
|
|
755
759
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between"}}>
|
|
@@ -761,28 +765,28 @@
|
|
|
761
765
|
</react_native_1.View>
|
|
762
766
|
<react_native_1.View style={{paddingHorizontal:8,paddingVertical:3,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.purple}14`}}>
|
|
763
767
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:AppColors_1.AppColors.purple}}>
|
|
764
|
-
{
|
|
768
|
+
{f} / 5 PROTECTED
|
|
765
769
|
</react_native_1.Text>
|
|
766
770
|
</react_native_1.View>
|
|
767
771
|
</react_native_1.View>
|
|
768
772
|
|
|
769
773
|
|
|
770
774
|
<react_native_1.View style={{flexDirection:"row",gap:8}}>
|
|
771
|
-
<TouchableScale_1.default onPress={()=>
|
|
775
|
+
<TouchableScale_1.default onPress={()=>E("balanced")}style={{flex:1,paddingVertical:10,paddingHorizontal:6,borderRadius:10,borderWidth:1.5,borderColor:e?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:e?`${AppColors_1.AppColors.purple}12`:AppColors_1.AppColors.grayBackground,alignItems:"center",gap:4}}>
|
|
772
776
|
<NetworkIcons_1.ScaleBalanceIcon size={16}color={e?AppColors_1.AppColors.purple:AppColors_1.AppColors.grayText}/>
|
|
773
777
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:e?AppColors_1.AppColors.purple:AppColors_1.AppColors.primaryBlack}}>
|
|
774
778
|
{o("settings.crash.presetBalanced","Balanced")}
|
|
775
779
|
</react_native_1.Text>
|
|
776
780
|
</TouchableScale_1.default>
|
|
777
781
|
|
|
778
|
-
<TouchableScale_1.default onPress={()=>
|
|
782
|
+
<TouchableScale_1.default onPress={()=>E("max_shield")}style={{flex:1,paddingVertical:10,paddingHorizontal:6,borderRadius:10,borderWidth:1.5,borderColor:r?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:r?`${AppColors_1.AppColors.greenColor}12`:AppColors_1.AppColors.grayBackground,alignItems:"center",gap:4}}>
|
|
779
783
|
<NetworkIcons_1.ShieldCheckIcon size={16}color={r?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.grayText}/>
|
|
780
784
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:r?AppColors_1.AppColors.greenColor:AppColors_1.AppColors.primaryBlack}}>
|
|
781
785
|
{o("settings.crash.presetMaxShield","Max Shield")}
|
|
782
786
|
</react_native_1.Text>
|
|
783
787
|
</TouchableScale_1.default>
|
|
784
788
|
|
|
785
|
-
<TouchableScale_1.default onPress={()=>
|
|
789
|
+
<TouchableScale_1.default onPress={()=>E("silent")}style={{flex:1,paddingVertical:10,paddingHorizontal:6,borderRadius:10,borderWidth:1.5,borderColor:C?AppColors_1.AppColors.grayTextWeak:AppColors_1.AppColors.grayBorderSecondary,backgroundColor:C?`${AppColors_1.AppColors.grayTextWeak}1A`:AppColors_1.AppColors.grayBackground,alignItems:"center",gap:4}}>
|
|
786
790
|
<NetworkIcons_1.VolumeMuteIcon size={16}color={C?AppColors_1.AppColors.grayText:AppColors_1.AppColors.grayTextWeak}/>
|
|
787
791
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:C?AppColors_1.AppColors.grayText:AppColors_1.AppColors.primaryBlack}}>
|
|
788
792
|
{o("settings.crash.presetSilent","Silent Mode")}
|
|
@@ -801,7 +805,7 @@
|
|
|
801
805
|
{o("settings.crash.categoryMatrix","ERROR INTERCEPTION & IGNORED CATEGORIES")}
|
|
802
806
|
</react_native_1.Text>
|
|
803
807
|
|
|
804
|
-
{
|
|
808
|
+
{v.map((t,h)=>{const F=!!m?.[t.key],P=h===v.length-1;return i({key:t.key,icon:t.icon,label:t.label,description:t.desc,isLast:P,onPress:()=>{Ge(Se=>({...Se,[t.key]:!Se[t.key]}))},right:<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:8}}>
|
|
805
809
|
<react_native_1.View style={{paddingHorizontal:6,paddingVertical:2.5,borderRadius:5,backgroundColor:F?`${AppColors_1.AppColors.warningIconGold}18`:`${AppColors_1.AppColors.greenColor}18`}}>
|
|
806
810
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:9.5,color:F?AppColors_1.AppColors.warningIconGold:AppColors_1.AppColors.greenColor}}>
|
|
807
811
|
{F?o("settings.crash.ignoredBadge","IGNORED"):o("settings.crash.protectedBadge","PROTECTED")}
|
|
@@ -815,32 +819,32 @@
|
|
|
815
819
|
|
|
816
820
|
|
|
817
821
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary}}>
|
|
818
|
-
{
|
|
822
|
+
{i({icon:<NetworkIcons_1.ShieldAlertIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.modalTriggerTitle","Modal Alert Display Policy"),description:o("settings.crash.modalTriggerDesc","Configure when the full-screen diagnostic modal appears"),isLast:!0,picker:{options:["fatal_only","all_errors","silent_tab_only"],selectedValue:qe||"fatal_only",onSelect:t=>ye(t),formatLabel:t=>t==="fatal_only"?o("settings.crash.policyFatalOnly","Fatal Only"):t==="all_errors"?o("settings.crash.policyAllErrors","All Caught"):o("settings.crash.policySilent","Silent Only")}})}
|
|
819
823
|
</react_native_1.View>
|
|
820
824
|
|
|
821
825
|
|
|
822
826
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
823
|
-
{
|
|
827
|
+
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.maxCrashLogs","Max Crash Logs Buffer"),description:o("settings.crash.maxCrashLogsDesc","How many crash records to preserve in history (5-100)"),numericInput:{value:ge,onChange:ue,min:5,max:100,placeholder:"Enter max crashes (5-100)"}})}
|
|
824
828
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
825
|
-
{
|
|
829
|
+
{i({icon:<NetworkIcons_1.RefreshCcwIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.crash.resetDefaults","Reset to Defaults"),description:o("settings.crash.resetDefaultsDesc","Restore recommended balanced crash protection settings"),onPress:()=>{E("balanced"),ue(50),ye("fatal_only"),react_native_1.Alert.alert(o("common.success","Success"),o("settings.crash.resetDefaultsDesc","Restore recommended balanced crash protection settings"))},right:<react_native_1.View style={{paddingHorizontal:10,paddingVertical:5,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.purple}33`}}>
|
|
826
830
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,color:AppColors_1.AppColors.purple}}>
|
|
827
831
|
{o("settings.reset","Reset")}
|
|
828
832
|
</react_native_1.Text>
|
|
829
833
|
</react_native_1.View>})}
|
|
830
834
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
831
|
-
{
|
|
835
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.crash.clearHistory","Clear Crash History"),description:o("settings.crash.clearHistoryDesc",{count:W?.length||0}),isLast:!0,onPress:()=>{(0,crashHandler_1.clearCrashRecords)(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.crash.historyCleared","Crash logs cleared."))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
832
836
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
833
837
|
{o("common.clear","Clear")}
|
|
834
838
|
</react_native_1.Text>
|
|
835
839
|
</react_native_1.View>})}
|
|
836
840
|
</react_native_1.View>
|
|
837
841
|
<react_native_1.View style={{height:48}}/>
|
|
838
|
-
</react_native_1.ScrollView>}else
|
|
842
|
+
</react_native_1.ScrollView>}else a==="push"?k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
839
843
|
|
|
840
844
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
841
|
-
{
|
|
845
|
+
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max Push Notification Logs",description:"Buffer size limit for recorded push payloads (10-200)",numericInput:{value:Je,onChange:Ke,min:10,max:200,placeholder:"Enter max logs (10-200)"}})}
|
|
842
846
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
843
|
-
{
|
|
847
|
+
{i({icon:<NetworkIcons_1.BellIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:"Universal Ingestion Engine",description:"Captures any push domain (Salesforce, FCM, APNs, Expo, Braze, Custom)",isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
|
|
844
848
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
|
|
845
849
|
ACTIVE
|
|
846
850
|
</react_native_1.Text>
|
|
@@ -857,25 +861,25 @@
|
|
|
857
861
|
</react_native_1.View>
|
|
858
862
|
|
|
859
863
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:6}}>
|
|
860
|
-
<TouchableScale_1.default onPress={()=>{
|
|
864
|
+
<TouchableScale_1.default onPress={()=>{M("salesforce"),(0,toast_1.showToast)(o("settings.simulator.salesforce","Simulated Salesforce Marketing Cloud push"))}}style={{backgroundColor:`${AppColors_1.AppColors.sky600}14`,borderColor:`${AppColors_1.AppColors.sky600}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
861
865
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.sky600}}>
|
|
862
866
|
+ Salesforce MC
|
|
863
867
|
</react_native_1.Text>
|
|
864
868
|
</TouchableScale_1.default>
|
|
865
869
|
|
|
866
|
-
<TouchableScale_1.default onPress={()=>{
|
|
870
|
+
<TouchableScale_1.default onPress={()=>{M("fcm"),(0,toast_1.showToast)(o("settings.simulator.fcm","Simulated Firebase FCM push"))}}style={{backgroundColor:`${AppColors_1.AppColors.darkOrange}14`,borderColor:`${AppColors_1.AppColors.darkOrange}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
867
871
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.darkOrange}}>
|
|
868
872
|
+ Firebase FCM
|
|
869
873
|
</react_native_1.Text>
|
|
870
874
|
</TouchableScale_1.default>
|
|
871
875
|
|
|
872
|
-
<TouchableScale_1.default onPress={()=>{
|
|
876
|
+
<TouchableScale_1.default onPress={()=>{M("apns"),(0,toast_1.showToast)(o("settings.simulator.apns","Simulated Apple APNs push"))}}style={{backgroundColor:`${AppColors_1.AppColors.primaryBlack}10`,borderColor:`${AppColors_1.AppColors.primaryBlack}25`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
873
877
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.primaryBlack}}>
|
|
874
878
|
+ Apple APNs
|
|
875
879
|
</react_native_1.Text>
|
|
876
880
|
</TouchableScale_1.default>
|
|
877
881
|
|
|
878
|
-
<TouchableScale_1.default onPress={()=>{
|
|
882
|
+
<TouchableScale_1.default onPress={()=>{M("deeplink"),(0,toast_1.showToast)(o("settings.simulator.deepLink","Simulated Deep Link push"))}}style={{backgroundColor:`${AppColors_1.AppColors.brandPurple}14`,borderColor:`${AppColors_1.AppColors.brandPurple}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
879
883
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.brandPurple}}>
|
|
880
884
|
+ Deep Link
|
|
881
885
|
</react_native_1.Text>
|
|
@@ -885,19 +889,19 @@
|
|
|
885
889
|
|
|
886
890
|
|
|
887
891
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
888
|
-
{
|
|
892
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("push.clearTitle","Clear Push History"),description:`Permanently remove all ${O?.length||0} recorded notifications`,isLast:!0,onPress:()=>{Ye(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.pushHistoryCleared","Push notification history cleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
889
893
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
890
894
|
{o("common.clear")}
|
|
891
895
|
</react_native_1.Text>
|
|
892
896
|
</react_native_1.View>})}
|
|
893
897
|
</react_native_1.View>
|
|
894
898
|
<react_native_1.View style={{height:48}}/>
|
|
895
|
-
</react_native_1.ScrollView>:
|
|
899
|
+
</react_native_1.ScrollView>:a==="socket"?k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
896
900
|
|
|
897
901
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:4}}>
|
|
898
|
-
{
|
|
902
|
+
{i({icon:<NetworkIcons_1.LayersIcon color={AppColors_1.AppColors.purple}size={16}/>,label:"Max WebSocket Connections",description:"Ring buffer limit for active & closed socket sessions (10-200)",numericInput:{value:Qe,onChange:Xe,min:10,max:200,placeholder:"Enter max sockets (10-200)"}})}
|
|
899
903
|
<react_native_1.View style={{height:1,backgroundColor:AppColors_1.AppColors.dividerColor}}/>
|
|
900
|
-
{
|
|
904
|
+
{i({icon:<NetworkIcons_1.WebsocketIcon color={AppColors_1.AppColors.greenColor}size={16}/>,label:"Global WebSocket Interceptor",description:"Automatic capture for WebSocket, WSS & Socket.IO traffic",isLast:!0,right:<react_native_1.View style={{paddingHorizontal:8,paddingVertical:4,borderRadius:6,backgroundColor:`${AppColors_1.AppColors.greenColor}1F`}}>
|
|
901
905
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10,lineHeight:13,color:AppColors_1.AppColors.greenColor}}>
|
|
902
906
|
ACTIVE
|
|
903
907
|
</react_native_1.Text>
|
|
@@ -914,25 +918,25 @@
|
|
|
914
918
|
</react_native_1.View>
|
|
915
919
|
|
|
916
920
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:6}}>
|
|
917
|
-
<TouchableScale_1.default onPress={()=>{
|
|
921
|
+
<TouchableScale_1.default onPress={()=>{j("chat"),(0,toast_1.showToast)(o("settings.simulator.chat","Simulated Real-time Chat WebSocket session"))}}style={{backgroundColor:`${AppColors_1.AppColors.blue600}14`,borderColor:`${AppColors_1.AppColors.blue600}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
918
922
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.blue600}}>
|
|
919
923
|
+ Chat Room (WS)
|
|
920
924
|
</react_native_1.Text>
|
|
921
925
|
</TouchableScale_1.default>
|
|
922
926
|
|
|
923
|
-
<TouchableScale_1.default onPress={()=>{
|
|
927
|
+
<TouchableScale_1.default onPress={()=>{j("crypto"),(0,toast_1.showToast)(o("settings.simulator.crypto","Simulated Binance Crypto Ticker stream"))}}style={{backgroundColor:`${AppColors_1.AppColors.emerald600}14`,borderColor:`${AppColors_1.AppColors.emerald600}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
924
928
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.emerald600}}>
|
|
925
929
|
+ Crypto Feed (WSS)
|
|
926
930
|
</react_native_1.Text>
|
|
927
931
|
</TouchableScale_1.default>
|
|
928
932
|
|
|
929
|
-
<TouchableScale_1.default onPress={()=>{
|
|
933
|
+
<TouchableScale_1.default onPress={()=>{j("socketio"),(0,toast_1.showToast)(o("settings.simulator.socketio","Simulated Socket.IO v4 session"))}}style={{backgroundColor:`${AppColors_1.AppColors.violet600}14`,borderColor:`${AppColors_1.AppColors.violet600}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
930
934
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.violet600}}>
|
|
931
935
|
+ Socket.IO Room
|
|
932
936
|
</react_native_1.Text>
|
|
933
937
|
</TouchableScale_1.default>
|
|
934
938
|
|
|
935
|
-
<TouchableScale_1.default onPress={()=>{
|
|
939
|
+
<TouchableScale_1.default onPress={()=>{j("echo"),(0,toast_1.showToast)(o("settings.simulator.echo","Simulated WebSocket Echo test"))}}style={{backgroundColor:`${AppColors_1.AppColors.brandPurple}14`,borderColor:`${AppColors_1.AppColors.brandPurple}33`,borderWidth:1,paddingHorizontal:10,paddingVertical:6,borderRadius:8}}>
|
|
936
940
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interSemiBold,color:AppColors_1.AppColors.brandPurple}}>
|
|
937
941
|
+ Echo Test
|
|
938
942
|
</react_native_1.Text>
|
|
@@ -942,14 +946,14 @@
|
|
|
942
946
|
|
|
943
947
|
|
|
944
948
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
945
|
-
{
|
|
949
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("socket.clearTitle","Clear All WebSocket Logs").replace("All WebSocket Logs","Socket History"),description:`Permanently remove all ${N?.length||0} recorded sessions`,isLast:!0,onPress:()=>{Ze(),react_native_1.Alert.alert(o("common.success","Success"),o("settings.socketHistoryCleared","WebSocket history cleared"))},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
946
950
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
947
951
|
{o("common.clear")}
|
|
948
952
|
</react_native_1.Text>
|
|
949
953
|
</react_native_1.View>})}
|
|
950
954
|
</react_native_1.View>
|
|
951
955
|
<react_native_1.View style={{height:48}}/>
|
|
952
|
-
</react_native_1.ScrollView>:
|
|
956
|
+
</react_native_1.ScrollView>:a==="media"&&(k=<react_native_1.ScrollView style={{flex:1}}contentContainerStyle={{padding:16,paddingBottom:100,gap:12}}>
|
|
953
957
|
|
|
954
958
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,padding:16,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,gap:8}}>
|
|
955
959
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6,marginBottom:4}}>
|
|
@@ -960,7 +964,7 @@
|
|
|
960
964
|
</react_native_1.View>
|
|
961
965
|
|
|
962
966
|
<react_native_1.View style={{flexDirection:"row",flexWrap:"wrap",gap:8}}>
|
|
963
|
-
<TouchableScale_1.default onPress={async()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),await capture_1.ScreenCapture.takeScreenshot({format:
|
|
967
|
+
<TouchableScale_1.default onPress={async()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),await capture_1.ScreenCapture.takeScreenshot({format:le.toLowerCase(),quality:.9,hideInspector:x})&&((0,NativeInspector_1.triggerNativeHaptic)("success"),(0,toast_1.showToast)(o("settings.simulator.screenshotSaved","Screenshot captured and saved!")))}}style={{backgroundColor:`${AppColors_1.AppColors.purple}14`,borderColor:`${AppColors_1.AppColors.purple}33`,borderWidth:1,paddingHorizontal:12,paddingVertical:7,borderRadius:8,flexDirection:"row",alignItems:"center",gap:6}}>
|
|
964
968
|
<NetworkIcons_1.CameraIcon color={AppColors_1.AppColors.purple}size={14}/>
|
|
965
969
|
<react_native_1.Text style={{fontSize:11,fontFamily:AppFonts_1.AppFonts.interBold,color:AppColors_1.AppColors.purple}}>
|
|
966
970
|
Take Screenshot
|
|
@@ -985,17 +989,17 @@
|
|
|
985
989
|
</react_native_1.View>
|
|
986
990
|
</react_native_1.View>
|
|
987
991
|
|
|
988
|
-
{
|
|
989
|
-
{["png","jpeg","webp"].map(e=>{const r=
|
|
992
|
+
{i({icon:<NetworkIcons_1.ImageIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.imageFormat","Image Format"),description:o("settings.media.imageFormatDesc","Export formats (PNG lossless, JPEG lossy, WebP)"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
993
|
+
{["png","jpeg","webp"].map(e=>{const r=le===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),Ce(e),(0,toast_1.showToast)(`Screenshot format: ${e.toUpperCase()}`)}}style={{paddingHorizontal:9,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
990
994
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
991
995
|
{e.toUpperCase()}
|
|
992
996
|
</react_native_1.Text>
|
|
993
997
|
</TouchableScale_1.default>})}
|
|
994
998
|
</react_native_1.View>})}
|
|
995
999
|
|
|
996
|
-
{
|
|
997
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
998
|
-
{
|
|
1000
|
+
{i({icon:<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.autoHide","Auto-Hide Inspector During Capture"),description:o("settings.media.autoHideDesc","Temporarily hides the inspector overlay during screen capture"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),U(e=>!e),(0,toast_1.showToast)(`Auto-hide overlay: ${x?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),U(e=>!e),(0,toast_1.showToast)(`Auto-hide overlay: ${x?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:x?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:x?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
1001
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:x?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
1002
|
+
{x?o("settings.media.enabled","ON"):"OFF"}
|
|
999
1003
|
</react_native_1.Text>
|
|
1000
1004
|
</TouchableScale_1.default>})}
|
|
1001
1005
|
</react_native_1.View>
|
|
@@ -1016,49 +1020,49 @@
|
|
|
1016
1020
|
</react_native_1.View>
|
|
1017
1021
|
</react_native_1.View>
|
|
1018
1022
|
|
|
1019
|
-
{
|
|
1020
|
-
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=
|
|
1023
|
+
{i({icon:<NetworkIcons_1.MicrophoneIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.audioMode","Audio Source"),description:o("settings.media.audioModeDesc","Record video with muted, app audio, or microphone commentary"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
1024
|
+
{[{key:"none",label:"Muted"},{key:"app",label:"App"},{key:"mic",label:"Mic"}].map(e=>{const r=he===e.key;return<TouchableScale_1.default key={e.key}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),Ae(e.key),(0,toast_1.showToast)(`Audio source: ${e.label}`)}}style={{paddingHorizontal:8,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
1021
1025
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
1022
1026
|
{e.label}
|
|
1023
1027
|
</react_native_1.Text>
|
|
1024
1028
|
</TouchableScale_1.default>})}
|
|
1025
1029
|
</react_native_1.View>})}
|
|
1026
1030
|
|
|
1027
|
-
{
|
|
1028
|
-
{[15,24,30,60].map(e=>{const r=
|
|
1031
|
+
{i({icon:<NetworkIcons_1.FilmIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.frameRate","Recording Frame Rate (FPS)"),description:o("settings.media.frameRateDesc","Target video smoothness: 15, 24, 30, or 60 FPS"),right:<react_native_1.View style={{flexDirection:"row",gap:5}}>
|
|
1032
|
+
{[15,24,30,60].map(e=>{const r=be===e;return<TouchableScale_1.default key={e}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),me(e),(0,toast_1.showToast)(`Recording FPS: ${e}`)}}style={{paddingHorizontal:7,paddingVertical:5,borderRadius:7,backgroundColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}14`,borderWidth:1,borderColor:r?AppColors_1.AppColors.purple:`${AppColors_1.AppColors.purple}2E`}}>
|
|
1029
1033
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:r?AppColors_1.AppColors.white:AppColors_1.AppColors.purple}}>
|
|
1030
1034
|
{e}fps
|
|
1031
1035
|
</react_native_1.Text>
|
|
1032
1036
|
</TouchableScale_1.default>})}
|
|
1033
1037
|
</react_native_1.View>})}
|
|
1034
1038
|
|
|
1035
|
-
{
|
|
1036
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:
|
|
1037
|
-
{
|
|
1039
|
+
{i({icon:<NetworkIcons_1.GifIcon color={AppColors_1.AppColors.purple}size={16}/>,label:o("settings.media.gifAutoOpt","Auto GIF Optimization"),description:o("settings.media.gifAutoOptDesc","Automatic palette reduction and frame skip for lightweight animated GIFs"),isLast:!0,onPress:()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),G(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${T?"OFF":"ON"}`)},right:<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),G(e=>!e),(0,toast_1.showToast)(`GIF optimization: ${T?"OFF":"ON"}`)}}style={{paddingHorizontal:10,paddingVertical:5,borderRadius:7,backgroundColor:T?`${AppColors_1.AppColors.emerald500}26`:`${AppColors_1.AppColors.grayText}20`,borderWidth:1,borderColor:T?`${AppColors_1.AppColors.emerald500}4D`:`${AppColors_1.AppColors.grayText}33`}}>
|
|
1040
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:10.5,color:T?AppColors_1.AppColors.emerald500:AppColors_1.AppColors.grayText}}>
|
|
1041
|
+
{T?"ON":"OFF"}
|
|
1038
1042
|
</react_native_1.Text>
|
|
1039
1043
|
</TouchableScale_1.default>})}
|
|
1040
1044
|
</react_native_1.View>
|
|
1041
1045
|
|
|
1042
1046
|
|
|
1043
1047
|
<react_native_1.View style={{backgroundColor:AppColors_1.AppColors.primaryLight,borderRadius:14,borderWidth:1,borderColor:AppColors_1.AppColors.grayBorderSecondary,padding:16}}>
|
|
1044
|
-
{
|
|
1048
|
+
{i({icon:<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor}size={16}/>,label:o("settings.media.purgeAll","Purge Captured Media Cache"),description:o("settings.media.purgeAllDesc","Delete all local screenshots, screen recordings and converted GIFs"),isLast:!0,onPress:()=>{react_native_1.Alert.alert(o("settings.media.purgeConfirmTitle","Purge Media Storage?"),o("settings.media.purgeConfirmMessage","This will permanently delete all captured screenshots and videos from disk."),[{text:o("common.cancel","Cancel"),style:"cancel"},{text:o("settings.media.purgeCacheBtn","Purge All"),style:"destructive",onPress:async()=>{await capture_1.ScreenCapture.clearAllMedia(),(0,toast_1.showToast)(o("settings.media.purgedSuccess","Media cache cleared successfully"))}}])},right:<react_native_1.View style={{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:`${AppColors_1.AppColors.errorColor}14`,borderWidth:1,borderColor:`${AppColors_1.AppColors.errorColor}33`}}>
|
|
1045
1049
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:11,lineHeight:14,color:AppColors_1.AppColors.errorColor}}>
|
|
1046
1050
|
{o("settings.media.purgeCacheBtn","Purge All")}
|
|
1047
1051
|
</react_native_1.Text>
|
|
1048
1052
|
</react_native_1.View>})}
|
|
1049
1053
|
</react_native_1.View>
|
|
1050
1054
|
<react_native_1.View style={{height:48}}/>
|
|
1051
|
-
</react_native_1.ScrollView>);const
|
|
1055
|
+
</react_native_1.ScrollView>);const X=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current;return(0,react_1.useEffect)(()=>{a!=="main"&&(X.setValue(0),react_native_1.Animated.spring(X,{toValue:1,friction:8,tension:65,useNativeDriver:!0}).start())},[a]),<react_native_1.View style={{flex:1,backgroundColor:AppColors_1.AppColors.grayBackground}}>
|
|
1052
1056
|
|
|
1053
|
-
<react_native_1.View style={[react_native_1.StyleSheet.absoluteFill,
|
|
1054
|
-
{
|
|
1057
|
+
<react_native_1.View style={[react_native_1.StyleSheet.absoluteFill,a!=="main"&&{pointerEvents:"none"}]}>
|
|
1058
|
+
{so()}
|
|
1055
1059
|
</react_native_1.View>
|
|
1056
1060
|
|
|
1057
1061
|
|
|
1058
|
-
{
|
|
1062
|
+
{a!=="main"&&<react_native_1.Animated.View style={[react_native_1.StyleSheet.absoluteFill,{backgroundColor:AppColors_1.AppColors.grayBackground,opacity:X,transform:[{translateX:X.interpolate({inputRange:[0,1],outputRange:[30,0]})}]}]}>
|
|
1059
1063
|
{k}
|
|
1060
1064
|
</react_native_1.Animated.View>}
|
|
1061
1065
|
|
|
1062
1066
|
|
|
1063
|
-
<LanguageSelectorModal_1.LanguageSelectorModal visible={
|
|
1067
|
+
<LanguageSelectorModal_1.LanguageSelectorModal visible={oo}onClose={()=>Te(!1)}/>
|
|
1064
1068
|
</react_native_1.View>};exports.default=SettingsPanel;
|