react-native-inapp-inspector 2.4.2 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/.gradle/8.9/checksums/checksums.lock +0 -0
- package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.9/gc.properties +0 -0
- package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
- package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/9.2.0/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/.settings/org.eclipse.buildship.core.prefs +13 -0
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +523 -2
- package/dist/commonjs/capture.d.ts +2 -0
- package/dist/commonjs/capture.js +1 -1
- package/dist/commonjs/components/AnalyticsDetail.js +23 -23
- package/dist/commonjs/components/AnalyticsEventCard.js +1 -1
- package/dist/commonjs/components/AnalyticsGraph.js +44 -44
- package/dist/commonjs/components/AnimatedBrandOwl.js +32 -32
- package/dist/commonjs/components/AppHeaderLogo.js +6 -6
- package/dist/commonjs/components/BrandCircleIcon.js +28 -28
- package/dist/commonjs/components/BrandSquareIcon.js +33 -33
- package/dist/commonjs/components/ConsoleLogCard.js +1 -1
- package/dist/commonjs/components/Inspector/AnalyticsTab.js +2 -2
- package/dist/commonjs/components/Inspector/ConfirmationModal.js +23 -25
- package/dist/commonjs/components/Inspector/ConsoleTab.js +5 -5
- package/dist/commonjs/components/Inspector/CrashTab.js +44 -11
- package/dist/commonjs/components/Inspector/DeviceInfoTab.js +1 -1
- package/dist/commonjs/components/Inspector/FabLauncher.js +30 -25
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.d.ts +3 -0
- package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +54 -0
- package/dist/commonjs/components/Inspector/GlobalCrashScreenModal.d.ts +11 -0
- package/dist/commonjs/components/Inspector/GlobalCrashScreenModal.js +234 -0
- package/dist/commonjs/components/Inspector/InspectorHeader.js +137 -127
- package/dist/commonjs/components/Inspector/LanguageSelectorModal.d.ts +1 -1
- package/dist/commonjs/components/Inspector/LanguageSelectorModal.js +114 -32
- package/dist/commonjs/components/Inspector/MainScreen.js +26 -19
- package/dist/commonjs/components/Inspector/MediaGalleryTab.js +38 -35
- package/dist/commonjs/components/Inspector/MediaPreviewModal.d.ts +36 -0
- package/dist/commonjs/components/Inspector/MediaPreviewModal.js +345 -123
- package/dist/commonjs/components/Inspector/NetworkTab.js +14 -14
- package/dist/commonjs/components/Inspector/PushCard.js +1 -1
- package/dist/commonjs/components/Inspector/PushDetail.js +9 -9
- package/dist/commonjs/components/Inspector/PushTab.js +3 -3
- package/dist/commonjs/components/Inspector/ReduxTab.js +9 -7
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.d.ts +2 -0
- package/dist/commonjs/components/Inspector/SecondaryTelemetryStrip.js +43 -0
- package/dist/commonjs/components/Inspector/SettingsPanel.js +102 -73
- package/dist/commonjs/components/Inspector/SocketCard.js +1 -1
- package/dist/commonjs/components/Inspector/SocketDetail.js +73 -63
- package/dist/commonjs/components/Inspector/SocketTab.js +4 -4
- package/dist/commonjs/components/Inspector/StorageTab.js +10 -10
- package/dist/commonjs/components/Inspector/SupportModal.js +2 -2
- package/dist/commonjs/components/Inspector/SupportPage.js +1 -1
- package/dist/commonjs/components/JsonViewer.js +47 -45
- package/dist/commonjs/components/LogCard.js +22 -20
- package/dist/commonjs/components/ModuleErrorBoundary.js +5 -5
- package/dist/commonjs/components/NetworkIcons.d.ts +27 -0
- package/dist/commonjs/components/NetworkIcons.js +103 -5
- package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
- package/dist/commonjs/constants/telemetryConfig.js +1 -1
- package/dist/commonjs/constants/version.d.ts +1 -1
- package/dist/commonjs/constants/version.js +1 -1
- package/dist/commonjs/crash.d.ts +1 -1
- package/dist/commonjs/crash.js +1 -1
- package/dist/commonjs/customHooks/crashHandler.d.ts +2 -1
- package/dist/commonjs/customHooks/crashHandler.js +7 -7
- package/dist/commonjs/editor.d.ts +13 -0
- package/dist/commonjs/editor.js +1 -0
- package/dist/commonjs/helpers/index.d.ts +1 -0
- package/dist/commonjs/helpers/index.js +1 -1
- package/dist/commonjs/helpers/settingsStore.js +1 -1
- package/dist/commonjs/helpers/telemetry.js +1 -1
- package/dist/commonjs/i18n/index.js +1 -1
- package/dist/commonjs/i18n/locales/ar.json +1 -1
- package/dist/commonjs/i18n/locales/bn.json +1 -1
- package/dist/commonjs/i18n/locales/de.json +1 -1
- package/dist/commonjs/i18n/locales/en.json +1 -1
- package/dist/commonjs/i18n/locales/es.json +1 -1
- package/dist/commonjs/i18n/locales/fr.json +1 -1
- package/dist/commonjs/i18n/locales/gu.json +1 -1
- package/dist/commonjs/i18n/locales/hi.json +1 -1
- package/dist/commonjs/i18n/locales/id.json +1 -1
- package/dist/commonjs/i18n/locales/it.json +1 -1
- package/dist/commonjs/i18n/locales/ja.json +1 -1
- package/dist/commonjs/i18n/locales/kn.json +1 -1
- package/dist/commonjs/i18n/locales/ko.json +1 -1
- package/dist/commonjs/i18n/locales/ml.json +1 -1
- package/dist/commonjs/i18n/locales/mr.json +1 -1
- package/dist/commonjs/i18n/locales/nl.json +1 -1
- package/dist/commonjs/i18n/locales/pa.json +1 -1
- package/dist/commonjs/i18n/locales/pl.json +1 -1
- package/dist/commonjs/i18n/locales/pt.json +1 -1
- package/dist/commonjs/i18n/locales/ru.json +1 -1
- package/dist/commonjs/i18n/locales/ta.json +1 -1
- package/dist/commonjs/i18n/locales/te.json +1 -1
- package/dist/commonjs/i18n/locales/tr.json +1 -1
- package/dist/commonjs/i18n/locales/vi.json +1 -1
- package/dist/commonjs/i18n/locales/zh.json +1 -1
- package/dist/commonjs/index.d.ts +4 -1
- package/dist/commonjs/index.js +3 -3
- package/dist/commonjs/native/NativeInspector.d.ts +3 -0
- package/dist/commonjs/native/NativeInspector.js +1 -1
- package/dist/commonjs/native/NativeNetworkInspector.d.ts +4 -0
- package/dist/commonjs/styles/AppColors.d.ts +42 -2
- package/dist/commonjs/styles/AppColors.js +1 -1
- package/dist/commonjs/styles/common.js +1 -1
- package/dist/commonjs/styles/index.d.ts +7 -0
- package/dist/commonjs/styles/index.js +1 -1
- package/dist/commonjs/types/editor.d.ts +96 -0
- package/dist/commonjs/types/editor.js +1 -0
- package/dist/commonjs/types/interfaces.d.ts +21 -0
- package/dist/esm/capture.d.ts +2 -0
- package/dist/esm/capture.js +1 -1
- package/dist/esm/components/AnalyticsDetail.js +31 -31
- package/dist/esm/components/AnalyticsEventCard.js +1 -1
- package/dist/esm/components/AnalyticsGraph.js +74 -74
- package/dist/esm/components/AnimatedBrandOwl.js +114 -114
- package/dist/esm/components/AppHeaderLogo.js +7 -7
- package/dist/esm/components/BrandCircleIcon.js +70 -70
- package/dist/esm/components/BrandSquareIcon.js +61 -61
- package/dist/esm/components/ConsoleLogCard.js +1 -1
- package/dist/esm/components/Inspector/AnalyticsTab.js +14 -14
- package/dist/esm/components/Inspector/ConfirmationModal.js +23 -25
- package/dist/esm/components/Inspector/ConsoleTab.js +17 -17
- package/dist/esm/components/Inspector/CrashTab.js +202 -169
- package/dist/esm/components/Inspector/DeviceInfoTab.js +75 -75
- package/dist/esm/components/Inspector/FabLauncher.js +56 -51
- package/dist/esm/components/Inspector/FloatingCaptureWidget.d.ts +3 -0
- package/dist/esm/components/Inspector/FloatingCaptureWidget.js +54 -0
- package/dist/esm/components/Inspector/GlobalCrashScreenModal.d.ts +11 -0
- package/dist/esm/components/Inspector/GlobalCrashScreenModal.js +234 -0
- package/dist/esm/components/Inspector/InspectorHeader.js +162 -152
- package/dist/esm/components/Inspector/LanguageSelectorModal.d.ts +1 -1
- package/dist/esm/components/Inspector/LanguageSelectorModal.js +140 -58
- package/dist/esm/components/Inspector/MainScreen.js +61 -54
- package/dist/esm/components/Inspector/MediaGalleryTab.js +55 -52
- package/dist/esm/components/Inspector/MediaPreviewModal.d.ts +36 -0
- package/dist/esm/components/Inspector/MediaPreviewModal.js +345 -123
- package/dist/esm/components/Inspector/NetworkTab.js +74 -74
- package/dist/esm/components/Inspector/PushCard.js +1 -1
- package/dist/esm/components/Inspector/PushDetail.js +18 -18
- package/dist/esm/components/Inspector/PushTab.js +1 -1
- package/dist/esm/components/Inspector/ReduxTab.js +18 -16
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.d.ts +2 -0
- package/dist/esm/components/Inspector/SecondaryTelemetryStrip.js +43 -0
- package/dist/esm/components/Inspector/SettingsPanel.js +224 -195
- package/dist/esm/components/Inspector/SocketCard.js +8 -8
- package/dist/esm/components/Inspector/SocketDetail.js +106 -96
- package/dist/esm/components/Inspector/SocketTab.js +18 -18
- package/dist/esm/components/Inspector/StorageTab.js +47 -47
- package/dist/esm/components/Inspector/SupportModal.js +64 -64
- package/dist/esm/components/Inspector/SupportPage.js +5 -5
- package/dist/esm/components/JsonViewer.js +51 -49
- package/dist/esm/components/LogCard.js +41 -39
- package/dist/esm/components/ModuleErrorBoundary.js +10 -10
- package/dist/esm/components/NetworkIcons.d.ts +27 -0
- package/dist/esm/components/NetworkIcons.js +101 -3
- package/dist/esm/constants/telemetryConfig.d.ts +3 -3
- package/dist/esm/constants/telemetryConfig.js +1 -1
- package/dist/esm/constants/version.d.ts +1 -1
- package/dist/esm/constants/version.js +1 -1
- package/dist/esm/crash.d.ts +1 -1
- package/dist/esm/crash.js +1 -1
- package/dist/esm/customHooks/crashHandler.d.ts +2 -1
- package/dist/esm/customHooks/crashHandler.js +7 -7
- package/dist/esm/editor.d.ts +13 -0
- package/dist/esm/editor.js +1 -0
- package/dist/esm/helpers/index.d.ts +1 -0
- package/dist/esm/helpers/index.js +4 -4
- package/dist/esm/helpers/settingsStore.js +1 -1
- package/dist/esm/helpers/telemetry.js +1 -1
- package/dist/esm/i18n/index.js +1 -1
- package/dist/esm/i18n/locales/ar.json +1 -1
- package/dist/esm/i18n/locales/bn.json +1 -1
- package/dist/esm/i18n/locales/de.json +1 -1
- package/dist/esm/i18n/locales/en.json +1 -1
- package/dist/esm/i18n/locales/es.json +1 -1
- package/dist/esm/i18n/locales/fr.json +1 -1
- package/dist/esm/i18n/locales/gu.json +1 -1
- package/dist/esm/i18n/locales/hi.json +1 -1
- package/dist/esm/i18n/locales/id.json +1 -1
- package/dist/esm/i18n/locales/it.json +1 -1
- package/dist/esm/i18n/locales/ja.json +1 -1
- package/dist/esm/i18n/locales/kn.json +1 -1
- package/dist/esm/i18n/locales/ko.json +1 -1
- package/dist/esm/i18n/locales/ml.json +1 -1
- package/dist/esm/i18n/locales/mr.json +1 -1
- package/dist/esm/i18n/locales/nl.json +1 -1
- package/dist/esm/i18n/locales/pa.json +1 -1
- package/dist/esm/i18n/locales/pl.json +1 -1
- package/dist/esm/i18n/locales/pt.json +1 -1
- package/dist/esm/i18n/locales/ru.json +1 -1
- package/dist/esm/i18n/locales/ta.json +1 -1
- package/dist/esm/i18n/locales/te.json +1 -1
- package/dist/esm/i18n/locales/tr.json +1 -1
- package/dist/esm/i18n/locales/vi.json +1 -1
- package/dist/esm/i18n/locales/zh.json +1 -1
- package/dist/esm/index.d.ts +4 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/native/NativeInspector.d.ts +3 -0
- package/dist/esm/native/NativeInspector.js +1 -1
- package/dist/esm/native/NativeNetworkInspector.d.ts +4 -0
- package/dist/esm/styles/AppColors.d.ts +42 -2
- package/dist/esm/styles/AppColors.js +1 -1
- package/dist/esm/styles/common.js +1 -1
- package/dist/esm/styles/index.d.ts +7 -0
- package/dist/esm/styles/index.js +1 -1
- package/dist/esm/types/editor.d.ts +96 -0
- package/dist/esm/types/editor.js +1 -0
- package/dist/esm/types/interfaces.d.ts +21 -0
- package/editor.d.ts +1 -0
- package/editor.js +1 -0
- package/ios/NetworkInspectorModule.mm +429 -0
- package/package.json +10 -1
- package/react-native-inapp-inspector.podspec +1 -1
- package/src/native/NativeInspector.ts +57 -4
- package/src/native/NativeNetworkInspector.ts +4 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(i,
|
|
2
|
-
<react_native_1.View style={[styles_1.default.headerGradient,{minHeight:(e?
|
|
1
|
+
"use strict";var __createBinding=this&&this.__createBinding||(Object.create?(function(i,l,n,s){s===void 0&&(s=n);var r=Object.getOwnPropertyDescriptor(l,n);(!r||("get"in r?!l.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return l[n]}}),Object.defineProperty(i,s,r)}):(function(i,l,n,s){s===void 0&&(s=n),i[s]=l[n]})),__setModuleDefault=this&&this.__setModuleDefault||(Object.create?(function(i,l){Object.defineProperty(i,"default",{enumerable:!0,value:l})}):function(i,l){i.default=l}),__importStar=this&&this.__importStar||(function(){var i=function(l){return i=Object.getOwnPropertyNames||function(n){var s=[];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(s[s.length]=r);return s},i(l)};return function(l){if(l&&l.__esModule)return l;var n={};if(l!=null)for(var s=i(l),r=0;r<s.length;r++)s[r]!=="default"&&__createBinding(n,l,s[r]);return __setModuleDefault(n,l),n}})(),__importDefault=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(exports,"__esModule",{value:!0});const react_1=__importStar(require("react")),react_native_1=require("react-native"),react_native_linear_gradient_1=__importDefault(require("react-native-linear-gradient")),InspectorContext_1=require("./InspectorContext"),TouchableScale_1=__importDefault(require("../TouchableScale")),BrandCircleIcon_1=require("../BrandCircleIcon"),styles_1=__importDefault(require("../../styles")),AppColors_1=require("../../styles/AppColors"),AppFonts_1=require("../../styles/AppFonts"),constants_1=require("../../constants"),constants_2=require("../../constants"),helpers_1=require("../../helpers"),NativeInspector_1=require("../../native/NativeInspector"),capture_1=require("../../capture"),UpdateAvailableModal_1=require("./UpdateAvailableModal"),MediaPreviewModal_1=require("./MediaPreviewModal"),LanguageSelectorModal_1=require("./LanguageSelectorModal"),NetworkIcons_1=require("../NetworkIcons"),i18n_1=require("../../i18n"),InspectorHeader=react_1.default.memo(()=>{const{t:i,language:l}=(0,i18n_1.useTranslation)(),{modalHeightPercent:n,appIcon:s,selected:r,setSelected:W,selectedEvent:u,setSelectedEvent:N,selectedLog:g,setSelectedLog:q,selectedReduxSlice:w,setSelectedReduxSlice:U,selectedReduxAction:y,setSelectedReduxAction:j,reduxState:G,reduxLastActionMap:K,updateAvailable:A,latestNpmVersion:Q,clearAnim:ce,activePulseAnim:J,unreadPulseAnim:X,runClearAllWithAnimation:pe,settingsPage:f,setSettingsPage:z,isAboutOpen:D,setIsAboutOpen:Y,resetToDefaults:Z,closeModal:O,minimizeInspector:ee,detailTitle:te,activeTab:d,environment:P,selectedCrash:p,setSelectedCrash:ie,selectedPush:c,setSelectedPush:re,selectedSocket:o,setSelectedSocket:ae,refreshMediaCount:b,peekMode:I,setPeekMode:oe}=(0,InspectorContext_1.useInspector)(),{width:S}=(0,react_native_1.useWindowDimensions)(),e=S<360,C=S<400,[le,M]=react_1.default.useState(!1),[ne,B]=react_1.default.useState(!1),[se]=react_1.default.useState(()=>(0,helpers_1.getAppVersionAndBuild)().formatted),H=(0,react_1.useMemo)(()=>{const t=l||(0,i18n_1.getLanguage)();return i18n_1.SUPPORTED_LANGUAGES.find(a=>a.code===t)||i18n_1.SUPPORTED_LANGUAGES[0]},[l]),[T,v]=react_1.default.useState(!1),[ue,R]=react_1.default.useState(0),_=react_1.default.useRef(null);react_1.default.useEffect(()=>{capture_1.ScreenCapture.isRecording().then(t=>{v(t)}).catch(()=>{})},[]),react_1.default.useEffect(()=>(T?(R(0),_.current=setInterval(()=>{R(t=>t+1)},1e3)):(_.current&&(clearInterval(_.current),_.current=null),R(0)),()=>{_.current&&clearInterval(_.current)}),[T]);const[L,m]=react_1.default.useState(null),ge=react_1.default.useCallback(async()=>{try{(0,NativeInspector_1.triggerNativeHaptic)("light");const t=await capture_1.ScreenCapture.takeScreenshot({format:"png",quality:.9,hideInspector:!0});if(t){(0,NativeInspector_1.triggerNativeHaptic)("success");const a={id:`screenshot_${t.timestamp}.png`,type:"image",format:t.format,uri:t.uri,filename:t.uri.split("/").pop()||`screenshot_${t.timestamp}.png`,sizeBytes:t.sizeBytes,timestamp:t.timestamp,width:t.width,height:t.height};m(a),b?.().catch(()=>{}),(0,helpers_1.showToast)(i("header.screenshotCaptured"))}else(0,helpers_1.showToast)(i("header.screenshotFailed"))}catch{(0,helpers_1.showToast)(i("header.screenshotError"))}},[b,i]),he=react_1.default.useCallback(async()=>{try{if(T){(0,NativeInspector_1.triggerNativeHaptic)("medium");const t=await capture_1.ScreenCapture.stopRecording();if(v(!1),t){(0,NativeInspector_1.triggerNativeHaptic)("success");const a={id:`video_${t.timestamp}.${t.format}`,type:t.format==="gif"?"gif":"video",format:t.format,uri:t.uri,filename:t.uri.split("/").pop()||`video_${t.timestamp}.${t.format}`,sizeBytes:t.sizeBytes,timestamp:t.timestamp,durationMs:t.durationMs,width:t.width,height:t.height,hasAudio:t.hasAudio};m(a),b?.().catch(()=>{}),(0,helpers_1.showToast)(i("header.recordingSaved",{duration:(t.durationMs/1e3).toFixed(1)}))}}else(0,NativeInspector_1.triggerNativeHaptic)("medium"),await capture_1.ScreenCapture.startRecording({fps:24,audioSource:"none"})?(v(!0),(0,helpers_1.showToast)(i("header.recordingStarted"))):(0,helpers_1.showToast)(i("header.recordingStartFailed"))}catch{(0,helpers_1.showToast)(i("header.recordingError")),v(!1)}},[T,i]),fe=t=>{const a=Math.floor(t/60),$=t%60;return`${a.toString().padStart(2,"0")}:${$.toString().padStart(2,"0")}`},_e=(0,react_1.useMemo)(()=>{const t=(P||(__DEV__?"DEV":"PROD")).trim(),a=t.toUpperCase();return a==="DEV"||a.includes("DEV")||a==="LOCAL"?{label:t,bg:`${AppColors_1.AppColors.emerald500}40`,border:`${AppColors_1.AppColors.emerald400}8C`,text:AppColors_1.AppColors.mintGreenBorder}:a==="UAT"||a==="QA"||a==="TEST"?{label:t,bg:`${AppColors_1.AppColors.amber500}47`,border:`${AppColors_1.AppColors.amber400}99`,text:AppColors_1.AppColors.amberWarmBorder}:a==="PREPROD"||a==="STAGE"||a==="STAGING"?{label:t,bg:`${AppColors_1.AppColors.purple500}47`,border:`${AppColors_1.AppColors.purple400}99`,text:AppColors_1.AppColors.violetSoftBorder}:{label:t,bg:`${AppColors_1.AppColors.rose500}40`,border:`${AppColors_1.AppColors.roseBorder}8C`,text:AppColors_1.AppColors.errorBorder}},[P]),x=d==="apis"&&r!=null||d==="analytics"&&u!=null||d==="logs"&&g!=null||d==="redux"&&(w!=null||y!=null)||d==="crash"&&p!=null||d==="push"&&c!=null||d==="socket"&&o!=null,V=f!==null,k=x||V||D,de=(0,react_1.useMemo)(()=>{switch(f){case"apis":return"APIs (Network)";case"logs":return"Console Logs";case"crash":return"Crash Protection";case"analytics":return"Analytics Logger";case"redux":return"Redux Inspector";case"media":return"Screencast (Media)";case"push":return"Push Notifications";default:return"Settings & Modules"}},[f]),F=(0,react_1.useMemo)(()=>react_native_1.Platform.OS==="ios"?n>=98?S>=390?50:44:0:react_native_1.Platform.OS==="android"&&n>=98?react_native_1.StatusBar.currentHeight||24:0,[n,S]),h=e?25:C?26.5:27,we=e?36:C?38:40;return<>
|
|
2
|
+
<react_native_1.View style={[styles_1.default.headerGradient,{minHeight:(e?44:48)+F}]}>
|
|
3
3
|
|
|
4
4
|
<react_native_linear_gradient_1.default colors={[AppColors_1.AppColors.indigo600,AppColors_1.AppColors.violet600]}start={{x:0,y:0}}end={{x:1,y:1}}style={{position:"absolute",top:0,left:0,right:0,bottom:0,borderTopLeftRadius:20,borderTopRightRadius:20}}pointerEvents="none"/>
|
|
5
5
|
<react_native_1.View style={{paddingTop:F,width:"100%"}}>
|
|
6
|
-
<react_native_1.View style={[styles_1.default.header,{width:"100%",justifyContent:"space-between",paddingHorizontal:e?12
|
|
7
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?8
|
|
8
|
-
{
|
|
6
|
+
<react_native_1.View style={[styles_1.default.header,{width:"100%",justifyContent:"space-between",paddingHorizontal:e?10:12,paddingVertical:5.5,minHeight:e?44:48}]}>
|
|
7
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?7:8,flex:x?void 0:1,flexShrink:x?0:1,minWidth:0}}>
|
|
8
|
+
{k&&<TouchableScale_1.default onPress={()=>{if(D){Y(!1);return}if(V){z(f==="main"?null:"main");return}W(null),N(null),q(null),U(null),j(null),ie(null),re(null),ae(null)}}hitSlop={15}style={{width:e?32:36,height:e?32:36,borderRadius:e?16:18,alignItems:"center",justifyContent:"center",backgroundColor:`${AppColors_1.AppColors.white}2E`,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}4D`}}>
|
|
9
9
|
<react_native_1.View style={{position:"absolute",width:e?40:44,height:e?40:44,borderRadius:22,backgroundColor:`${AppColors_1.AppColors.white}1A`}}/>
|
|
10
10
|
<NetworkIcons_1.WhiteBackNavigation/>
|
|
11
11
|
</TouchableScale_1.default>}
|
|
12
12
|
|
|
13
|
-
{
|
|
13
|
+
{D?<react_native_1.View style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
14
14
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
15
15
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?15:16.5,lineHeight:e?19:21,color:AppColors_1.AppColors.white,letterSpacing:-.2}}numberOfLines={1}>
|
|
16
16
|
About & Specs
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:e?10:11,lineHeight:e?14:15,color:`${AppColors_1.AppColors.white}CC`,marginTop:1}}numberOfLines={1}>
|
|
25
25
|
Package info, runtime specs & diagnostic payload
|
|
26
26
|
</react_native_1.Text>
|
|
27
|
-
</react_native_1.View>:
|
|
27
|
+
</react_native_1.View>:V?<react_native_1.View style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
28
28
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
29
29
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?15:16.5,lineHeight:e?19:21,color:AppColors_1.AppColors.white,letterSpacing:-.2}}numberOfLines={1}>
|
|
30
|
-
{
|
|
30
|
+
{de}
|
|
31
31
|
</react_native_1.Text>
|
|
32
32
|
{f==="main"&&<react_native_1.View style={{backgroundColor:`${AppColors_1.AppColors.white}26`,paddingHorizontal:e?5:6,paddingVertical:2,borderRadius:8,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}20`}}>
|
|
33
33
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?8.5:9.5,lineHeight:12,color:AppColors_1.AppColors.white}}>
|
|
@@ -38,45 +38,54 @@
|
|
|
38
38
|
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interRegular,fontSize:e?10:11,lineHeight:e?14:15,color:`${AppColors_1.AppColors.white}CC`,marginTop:1}}numberOfLines={1}>
|
|
39
39
|
{f==="main"?"Manage modules and preferences":"Configure module parameters"}
|
|
40
40
|
</react_native_1.Text>
|
|
41
|
-
</react_native_1.View>:
|
|
42
|
-
<
|
|
43
|
-
<react_native_1.View style={{gap:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<react_native_1.View style={[styles_1.default.envBadge,{backgroundColor:v.bg,borderColor:v.border,flexShrink:0,paddingHorizontal:e?6:7,paddingVertical:2.5,borderRadius:6,marginBottom:0}]}>
|
|
49
|
-
<react_native_1.Text style={[styles_1.default.envBadgeText,{color:v.text,fontSize:e?9:10,lineHeight:13}]}>
|
|
50
|
-
{v.label}
|
|
51
|
-
</react_native_1.Text>
|
|
52
|
-
</react_native_1.View>
|
|
53
|
-
{z&&<react_native_1.Pressable hitSlop={10}onPress={()=>R(!0)}style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.warningAmber,borderRadius:6,paddingHorizontal:e?5:6.5,paddingVertical:2.5,gap:3.5,shadowColor:AppColors_1.AppColors.warningAmber,shadowOffset:{width:0,height:1.5},shadowOpacity:.35,shadowRadius:3,elevation:3,flexShrink:0}}>
|
|
54
|
-
<react_native_1.Animated.View style={{width:5,height:5,borderRadius:2.5,backgroundColor:AppColors_1.AppColors.white,opacity:K,transform:[{scale:Q}]}}/>
|
|
55
|
-
{!e&&<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,lineHeight:11,color:AppColors_1.AppColors.white,letterSpacing:.3}}>
|
|
56
|
-
UPDATE
|
|
57
|
-
</react_native_1.Text>}
|
|
58
|
-
<NetworkIcons_1.BoltIcon size={e?8:9}color={AppColors_1.AppColors.white}/>
|
|
59
|
-
</react_native_1.Pressable>}
|
|
60
|
-
</react_native_1.View>
|
|
41
|
+
</react_native_1.View>:k?null:<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?8:10,flex:1,minWidth:0,marginRight:4}}>
|
|
42
|
+
<BrandCircleIcon_1.BrandCircleIcon size={e?44:C?46:48}/>
|
|
43
|
+
<react_native_1.View style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
44
|
+
|
|
45
|
+
<react_native_1.Text style={[styles_1.default.headerTitle,{fontFamily:AppFonts_1.AppFonts.interBold,fontWeight:"700",fontSize:e?13:C?13.5:14.5,lineHeight:e?17:C?18:19.5,color:AppColors_1.AppColors.white,letterSpacing:-.2,paddingBottom:0}]}numberOfLines={1}ellipsizeMode="tail">
|
|
46
|
+
react-native-inapp-inspector
|
|
47
|
+
</react_native_1.Text>
|
|
61
48
|
|
|
62
49
|
|
|
63
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<react_native_1.Text style={{
|
|
67
|
-
{
|
|
50
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4.5,minWidth:0,marginTop:1.5}}>
|
|
51
|
+
|
|
52
|
+
<TouchableScale_1.default onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),B(!0)}}hitSlop={6}accessible={!0}accessibilityRole="button"accessibilityLabel={i("settings.general.selectLanguage","Select Language")}style={{flexDirection:"row",alignItems:"center",backgroundColor:`${AppColors_1.AppColors.white}24`,borderRadius:5,paddingHorizontal:5.5,paddingVertical:2,gap:3.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}38`,flexShrink:0}}>
|
|
53
|
+
<react_native_1.Text style={{fontSize:9,lineHeight:11}}>
|
|
54
|
+
{H?.flag||"\u{1F310}"}
|
|
55
|
+
</react_native_1.Text>
|
|
56
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8.5,lineHeight:11,color:AppColors_1.AppColors.white,letterSpacing:.2}}numberOfLines={1}>
|
|
57
|
+
{H?.code?.toUpperCase()||"EN"}
|
|
58
|
+
</react_native_1.Text>
|
|
59
|
+
<NetworkIcons_1.ChevronDownIcon size={6.5}color={`${AppColors_1.AppColors.white}CC`}/>
|
|
60
|
+
</TouchableScale_1.default>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",backgroundColor:`${AppColors_1.AppColors.white}1F`,borderRadius:5,paddingHorizontal:5.5,paddingVertical:2,gap:3.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}2E`,flexShrink:1,minWidth:0}}>
|
|
64
|
+
{react_native_1.Platform.OS==="ios"?<NetworkIcons_1.AppleIcon color={`${AppColors_1.AppColors.white}E6`}size={9}/>:<NetworkIcons_1.AndroidIcon color={`${AppColors_1.AppColors.white}E6`}size={9}/>}
|
|
65
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:8.5,lineHeight:11,color:`${AppColors_1.AppColors.white}EB`,letterSpacing:.1}}numberOfLines={1}ellipsizeMode="tail">
|
|
66
|
+
{se}
|
|
68
67
|
</react_native_1.Text>
|
|
69
68
|
</react_native_1.View>
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<
|
|
70
|
+
|
|
71
|
+
<react_native_1.Pressable onPress={()=>{A?M(!0):react_native_1.Linking.openURL("https://www.npmjs.com/package/react-native-inapp-inspector").catch(()=>{})}}style={{flexDirection:"row",alignItems:"center",backgroundColor:`${AppColors_1.AppColors.white}1F`,borderRadius:5,paddingHorizontal:6,paddingVertical:2,gap:3.5,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}2E`,flexShrink:0}}>
|
|
72
|
+
<NetworkIcons_1.NpmIcon size={9}color={AppColors_1.AppColors.npmRedLight}/>
|
|
73
|
+
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interMedium,fontSize:8.5,lineHeight:11,color:`${AppColors_1.AppColors.white}EB`,letterSpacing:.1}}>
|
|
74
74
|
v{constants_2.LIB_VERSION}
|
|
75
75
|
</react_native_1.Text>
|
|
76
|
-
{
|
|
76
|
+
{A&&<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,color:AppColors_1.AppColors.warningAmber}}>
|
|
77
77
|
●
|
|
78
78
|
</react_native_1.Text>}
|
|
79
79
|
</react_native_1.Pressable>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
{A&&<react_native_1.Pressable hitSlop={10}onPress={()=>M(!0)}style={{flexDirection:"row",alignItems:"center",backgroundColor:AppColors_1.AppColors.warningAmber,borderRadius:5,paddingHorizontal:4.5,paddingVertical:1.5,gap:3,shadowColor:AppColors_1.AppColors.warningAmber,shadowOffset:{width:0,height:1.5},shadowOpacity:.35,shadowRadius:3,elevation:3,flexShrink:0}}>
|
|
83
|
+
<react_native_1.Animated.View style={{width:4.5,height:4.5,borderRadius:2.25,backgroundColor:AppColors_1.AppColors.white,opacity:J,transform:[{scale:X}]}}/>
|
|
84
|
+
{!e&&<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:8,lineHeight:10,color:AppColors_1.AppColors.white,letterSpacing:.3}}>
|
|
85
|
+
UPDATE
|
|
86
|
+
</react_native_1.Text>}
|
|
87
|
+
<NetworkIcons_1.BoltIcon size={e?7.5:8.5}color={AppColors_1.AppColors.white}/>
|
|
88
|
+
</react_native_1.Pressable>}
|
|
80
89
|
</react_native_1.View>
|
|
81
90
|
</react_native_1.View>
|
|
82
91
|
</react_native_1.View>}
|
|
@@ -91,7 +100,7 @@
|
|
|
91
100
|
</react_native_1.Text>
|
|
92
101
|
</react_native_1.View>
|
|
93
102
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
94
|
-
{
|
|
103
|
+
{te}
|
|
95
104
|
</react_native_1.Text>
|
|
96
105
|
</react_native_1.View>
|
|
97
106
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
@@ -114,49 +123,49 @@
|
|
|
114
123
|
</react_native_1.Text>
|
|
115
124
|
</react_native_1.View>}
|
|
116
125
|
</react_native_1.View>
|
|
117
|
-
</react_native_1.View>:d==="analytics"&&
|
|
126
|
+
</react_native_1.View>:d==="analytics"&&u!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
118
127
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
119
|
-
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:
|
|
128
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:u.source==="firebase"?`${AppColors_1.AppColors.firebaseOrange}4D`:`${AppColors_1.AppColors.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
120
129
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
121
|
-
{
|
|
130
|
+
{u.source==="firebase"?"FB":"MAN"}
|
|
122
131
|
</react_native_1.Text>
|
|
123
132
|
</react_native_1.View>
|
|
124
133
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
125
|
-
#{
|
|
126
|
-
{
|
|
134
|
+
#{u.id!=null?u.id+1:1}{" "}
|
|
135
|
+
{u.name}
|
|
127
136
|
</react_native_1.Text>
|
|
128
137
|
</react_native_1.View>
|
|
129
138
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
130
|
-
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:
|
|
139
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:u.source==="firebase"?AppColors_1.AppColors.firebaseOrange:AppColors_1.AppColors.purple,width:e?6:7,height:e?6:7}]}/>
|
|
131
140
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
132
|
-
{Object.keys(
|
|
133
|
-
{Object.keys(
|
|
141
|
+
{Object.keys(u.params).length} param
|
|
142
|
+
{Object.keys(u.params).length!==1?"s":""}
|
|
134
143
|
{" \xB7 "}
|
|
135
|
-
{
|
|
144
|
+
{u.source}
|
|
136
145
|
</react_native_1.Text>
|
|
137
146
|
</react_native_1.View>
|
|
138
|
-
</react_native_1.View>:d==="logs"&&
|
|
147
|
+
</react_native_1.View>:d==="logs"&&g!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
139
148
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
140
|
-
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:
|
|
149
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:g.type==="error"?`${AppColors_1.AppColors.errorColor}4D`:g.type==="warn"?`${AppColors_1.AppColors.lightOrange}4D`:`${AppColors_1.AppColors.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
141
150
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
142
|
-
{
|
|
151
|
+
{g.type.toUpperCase()}
|
|
143
152
|
</react_native_1.Text>
|
|
144
153
|
</react_native_1.View>
|
|
145
154
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
146
|
-
#{
|
|
155
|
+
#{g.id!=null?g.id+1:1}{" "}
|
|
147
156
|
console.
|
|
148
|
-
{
|
|
157
|
+
{g.sourceMethod||g.type||"log"}
|
|
149
158
|
</react_native_1.Text>
|
|
150
159
|
</react_native_1.View>
|
|
151
160
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
152
161
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
153
162
|
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white}size={e?10:11}/>
|
|
154
163
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
155
|
-
{(0,helpers_1.formatTime)(
|
|
164
|
+
{(0,helpers_1.formatTime)(g.timestamp)}
|
|
156
165
|
</react_native_1.Text>
|
|
157
166
|
</react_native_1.View>
|
|
158
167
|
</react_native_1.View>
|
|
159
|
-
</react_native_1.View>:d==="redux"&&
|
|
168
|
+
</react_native_1.View>:d==="redux"&&w!=null?(()=>{const t=G?.[w],a=t&&typeof t=="object"?Object.keys(t).length:typeof t<"u"?1:0,$=(0,helpers_1.getSize)(t),E=K[w];return<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
160
169
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
161
170
|
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:`${AppColors_1.AppColors.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
162
171
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
@@ -164,7 +173,7 @@
|
|
|
164
173
|
</react_native_1.Text>
|
|
165
174
|
</react_native_1.View>
|
|
166
175
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
167
|
-
{
|
|
176
|
+
{w}
|
|
168
177
|
</react_native_1.Text>
|
|
169
178
|
</react_native_1.View>
|
|
170
179
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
@@ -184,19 +193,19 @@
|
|
|
184
193
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
185
194
|
{$}
|
|
186
195
|
</react_native_1.Text>
|
|
187
|
-
{
|
|
196
|
+
{E?.timestamp&&<>
|
|
188
197
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
189
198
|
•
|
|
190
199
|
</react_native_1.Text>
|
|
191
200
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:3}}>
|
|
192
201
|
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white}size={e?9:10}/>
|
|
193
202
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
194
|
-
{
|
|
203
|
+
{E.timestamp}
|
|
195
204
|
</react_native_1.Text>
|
|
196
205
|
</react_native_1.View>
|
|
197
206
|
</>}
|
|
198
207
|
</react_native_1.View>
|
|
199
|
-
</react_native_1.View>})():d==="redux"&&
|
|
208
|
+
</react_native_1.View>})():d==="redux"&&y!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
200
209
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
201
210
|
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:`${AppColors_1.AppColors.brandPurple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
202
211
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
@@ -204,80 +213,119 @@
|
|
|
204
213
|
</react_native_1.Text>
|
|
205
214
|
</react_native_1.View>
|
|
206
215
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
207
|
-
{
|
|
216
|
+
{y.type}
|
|
208
217
|
</react_native_1.Text>
|
|
209
218
|
</react_native_1.View>
|
|
210
219
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
211
220
|
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:AppColors_1.AppColors.purple,width:e?6:7,height:e?6:7}]}/>
|
|
212
221
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
213
|
-
{
|
|
222
|
+
{y.timestamp||"Dispatched"}
|
|
214
223
|
</react_native_1.Text>
|
|
215
224
|
</react_native_1.View>
|
|
216
|
-
</react_native_1.View>:d==="crash"&&
|
|
225
|
+
</react_native_1.View>:d==="crash"&&p!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
217
226
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
218
|
-
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:
|
|
227
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:p.isFatal?AppColors_1.AppColors.red600:AppColors_1.AppColors.amber600,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
219
228
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
220
|
-
{
|
|
229
|
+
{p.isFatal?"FATAL":p.type.toUpperCase()}
|
|
221
230
|
</react_native_1.Text>
|
|
222
231
|
</react_native_1.View>
|
|
223
232
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
224
|
-
{
|
|
233
|
+
{p.name||p.message}
|
|
225
234
|
</react_native_1.Text>
|
|
226
235
|
</react_native_1.View>
|
|
227
236
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
228
|
-
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:
|
|
237
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:p.isFatal?AppColors_1.AppColors.red600:AppColors_1.AppColors.amber500,width:e?6:7,height:e?6:7}]}/>
|
|
229
238
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
230
|
-
{
|
|
239
|
+
{p.timeStr||new Date(p.timestamp).toLocaleTimeString()}
|
|
231
240
|
</react_native_1.Text>
|
|
232
|
-
{
|
|
241
|
+
{p.deviceInfo?.platform&&<>
|
|
233
242
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
234
243
|
•
|
|
235
244
|
</react_native_1.Text>
|
|
236
245
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
237
|
-
{
|
|
246
|
+
{p.deviceInfo.platform.toUpperCase()}
|
|
238
247
|
</react_native_1.Text>
|
|
239
248
|
</>}
|
|
240
249
|
</react_native_1.View>
|
|
241
|
-
</react_native_1.View>:d==="push"&&
|
|
250
|
+
</react_native_1.View>:d==="push"&&c!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
242
251
|
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
243
252
|
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:AppColors_1.AppColors.brandPurple,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
244
253
|
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
245
|
-
{(
|
|
254
|
+
{(c.source||"PUSH").toUpperCase()}
|
|
246
255
|
</react_native_1.Text>
|
|
247
256
|
</react_native_1.View>
|
|
248
257
|
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13:14.5,flex:1,minWidth:0}]}numberOfLines={1}ellipsizeMode="tail">
|
|
249
|
-
{
|
|
258
|
+
{c.title||c.body||"Push Notification"}
|
|
250
259
|
</react_native_1.Text>
|
|
251
260
|
</react_native_1.View>
|
|
252
261
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1,maxWidth:"100%"}}>
|
|
253
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2,borderRadius:20,backgroundColor:`${
|
|
254
|
-
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:
|
|
262
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2,borderRadius:20,backgroundColor:`${c.appState==="foreground"?AppColors_1.AppColors.greenColor:c.appState==="background"?AppColors_1.AppColors.amber500:AppColors_1.AppColors.brandPurple}26`,borderWidth:1,borderColor:`${c.appState==="foreground"?AppColors_1.AppColors.greenColor:c.appState==="background"?AppColors_1.AppColors.amber500:AppColors_1.AppColors.brandPurple}55`}}>
|
|
263
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:c.appState==="foreground"?AppColors_1.AppColors.greenColor:c.appState==="background"?AppColors_1.AppColors.amber500:AppColors_1.AppColors.brandPurple,width:e?6:7,height:e?6:7}]}/>
|
|
255
264
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?9.5:10.5}]}>
|
|
256
|
-
{
|
|
265
|
+
{c.appState?c.appState.toUpperCase():"DELIVERED"}
|
|
257
266
|
</react_native_1.Text>
|
|
258
267
|
</react_native_1.View>
|
|
259
268
|
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
260
269
|
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white}size={e?9.5:10.5}/>
|
|
261
270
|
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?9.5:10.5}]}>
|
|
262
|
-
{(0,helpers_1.formatTimeShort)(
|
|
271
|
+
{(0,helpers_1.formatTimeShort)(c.timestamp)}
|
|
272
|
+
</react_native_1.Text>
|
|
273
|
+
</react_native_1.View>
|
|
274
|
+
</react_native_1.View>
|
|
275
|
+
</react_native_1.View>:d==="socket"&&o!=null?<react_native_1.View style={styles_1.default.headerDetailCenter}>
|
|
276
|
+
<react_native_1.View style={styles_1.default.headerDetailRow}>
|
|
277
|
+
<react_native_1.View style={[styles_1.default.headerMethodBadge,{backgroundColor:o.client==="socket.io"||o.url.includes("/socket.io")?AppColors_1.AppColors.violet600:o.url.startsWith("wss://")?AppColors_1.AppColors.emerald600:AppColors_1.AppColors.blue600,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
278
|
+
<react_native_1.Text style={[styles_1.default.headerMethodText,{fontSize:e?9:10}]}>
|
|
279
|
+
{o.client==="socket.io"||o.url.includes("/socket.io")?"SIO":o.url.startsWith("wss://")?"WSS":"WS"}
|
|
280
|
+
</react_native_1.Text>
|
|
281
|
+
</react_native_1.View>
|
|
282
|
+
<react_native_1.Text style={[styles_1.default.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
283
|
+
{o.url}
|
|
284
|
+
</react_native_1.Text>
|
|
285
|
+
</react_native_1.View>
|
|
286
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
287
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${o.status==="open"?AppColors_1.AppColors.greenColor:o.status==="connecting"?AppColors_1.AppColors.amber600:o.status==="error"?AppColors_1.AppColors.errorColor:AppColors_1.AppColors.slate500}26`,borderWidth:1,borderColor:`${o.status==="open"?AppColors_1.AppColors.greenColor:o.status==="connecting"?AppColors_1.AppColors.amber600:o.status==="error"?AppColors_1.AppColors.errorColor:AppColors_1.AppColors.slate500}55`}}>
|
|
288
|
+
<react_native_1.View style={[styles_1.default.headerStatusDot,{backgroundColor:o.status==="open"?AppColors_1.AppColors.greenColor:o.status==="connecting"?AppColors_1.AppColors.amber600:o.status==="error"?AppColors_1.AppColors.errorColor:AppColors_1.AppColors.slate500,width:e?6:7,height:e?6:7}]}/>
|
|
289
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontFamily:AppFonts_1.AppFonts.interBold,fontSize:e?10:11}]}>
|
|
290
|
+
{(o.status||"open").toUpperCase()}
|
|
291
|
+
</react_native_1.Text>
|
|
292
|
+
</react_native_1.View>
|
|
293
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
294
|
+
<NetworkIcons_1.ClockIcon color={AppColors_1.AppColors.white}size={e?10:11}/>
|
|
295
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
296
|
+
{o.duration!=null?`${o.duration}ms`:(0,helpers_1.formatTimeShort)(o.startTime)}
|
|
297
|
+
</react_native_1.Text>
|
|
298
|
+
</react_native_1.View>
|
|
299
|
+
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${AppColors_1.AppColors.white}29`}}>
|
|
300
|
+
<NetworkIcons_1.SizeIcon color={AppColors_1.AppColors.white}size={e?10:11}/>
|
|
301
|
+
<react_native_1.Text style={[styles_1.default.headerSubTitle,{fontSize:e?10:11}]}>
|
|
302
|
+
{o.frames?.length||0} frames · {(0,helpers_1.formatByteSize)((o.totalBytesSent||0)+(o.totalBytesReceived||0))}
|
|
263
303
|
</react_native_1.Text>
|
|
264
304
|
</react_native_1.View>
|
|
265
305
|
</react_native_1.View>
|
|
266
306
|
</react_native_1.View>:null}
|
|
267
307
|
</react_native_1.View>}
|
|
268
308
|
|
|
269
|
-
<react_native_1.View style={[styles_1.default.headerRight,{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",flexShrink:0,gap:e?4:
|
|
309
|
+
<react_native_1.View style={[styles_1.default.headerRight,{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",flexShrink:0,gap:e?4:5}]}>
|
|
270
310
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
311
|
+
{V?<TouchableScale_1.default onPress={()=>{react_native_1.Alert.alert("Reset All Settings","This restores all module visibility and UI preferences to defaults. Continue?",[{text:"Cancel",style:"cancel"},{text:"Reset",style:"destructive",onPress:Z}])}}hitSlop={15}style={[styles_1.default.closeButtonSquare,{width:h,height:h,borderRadius:e?6:7,backgroundColor:"rgba(245, 158, 11, 0.26)",borderColor:"rgba(252, 211, 77, 0.45)",borderWidth:1}]}>
|
|
312
|
+
<NetworkIcons_1.ResetIcon color={AppColors_1.AppColors.white}size={e?12:14}/>
|
|
313
|
+
</TouchableScale_1.default>:k?null:<>
|
|
314
|
+
|
|
315
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={I?"Disable peek-through":"Enable peek-through"}onPress={()=>{(0,NativeInspector_1.triggerNativeHaptic)("light"),oe(t=>!t)}}hitSlop={15}style={[styles_1.default.closeButtonSquare,{width:h,height:h,borderRadius:e?6:7,backgroundColor:I?"rgba(6, 182, 212, 0.38)":"rgba(6, 182, 212, 0.18)",borderColor:I?"rgba(103, 232, 249, 0.65)":"rgba(103, 232, 249, 0.35)",borderWidth:1}]}>
|
|
316
|
+
<NetworkIcons_1.EyeIcon color={AppColors_1.AppColors.white}size={e?12:14}/>
|
|
317
|
+
</TouchableScale_1.default>
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel="Settings"onPress={()=>z("main")}hitSlop={15}style={[styles_1.default.closeButtonSquare,{width:h,height:h,borderRadius:e?6:7,backgroundColor:"rgba(168, 85, 247, 0.28)",borderColor:"rgba(216, 180, 254, 0.45)",borderWidth:1}]}>
|
|
321
|
+
<NetworkIcons_1.SettingsIcon color={AppColors_1.AppColors.white}size={e?12:14}/>
|
|
322
|
+
</TouchableScale_1.default>
|
|
323
|
+
</>}
|
|
274
324
|
|
|
275
325
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
<NetworkIcons_1.SettingsIcon color={AppColors_1.AppColors.white}size={e?12:14}/>
|
|
280
|
-
</TouchableScale_1.default>}
|
|
326
|
+
<react_native_1.TouchableOpacity onPress={ee||O}hitSlop={{top:12,bottom:12,left:12,right:12}}activeOpacity={.7}accessibilityRole="button"accessibilityLabel={i("common.minimize","Minimize")}style={[styles_1.default.closeButtonSquare,{width:h,height:h,borderRadius:e?6:7,backgroundColor:"rgba(56, 189, 248, 0.22)",borderColor:"rgba(125, 211, 252, 0.40)",borderWidth:1}]}>
|
|
327
|
+
<NetworkIcons_1.ChevronDownIcon size={e?14:16}color={AppColors_1.AppColors.white}/>
|
|
328
|
+
</react_native_1.TouchableOpacity>
|
|
281
329
|
|
|
282
330
|
|
|
283
331
|
<react_native_1.TouchableOpacity onPress={O}hitSlop={{top:12,bottom:12,left:12,right:12}}activeOpacity={.7}accessibilityRole="button"accessibilityLabel={i("common.close","Close")}style={[styles_1.default.closeButtonSquare,{width:h,height:h,borderRadius:e?6:7,backgroundColor:"rgba(244, 63, 94, 0.28)",borderColor:"rgba(251, 113, 133, 0.48)",borderWidth:1}]}>
|
|
@@ -285,53 +333,15 @@
|
|
|
285
333
|
</react_native_1.TouchableOpacity>
|
|
286
334
|
</react_native_1.View>
|
|
287
335
|
</react_native_1.View>
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
{!V&&<react_native_1.View style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:e?10:14,paddingBottom:e?8:10,paddingTop:2,gap:6}}>
|
|
291
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
292
|
-
|
|
293
|
-
<TouchableScale_1.default onPress={oe}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}33`}}>
|
|
294
|
-
<NetworkIcons_1.CameraIcon size={e?12:13}color={AppColors_1.AppColors.white}/>
|
|
295
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:AppColors_1.AppColors.white}}>
|
|
296
|
-
{i("header.photo")}
|
|
297
|
-
</react_native_1.Text>
|
|
298
|
-
</TouchableScale_1.default>
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
<TouchableScale_1.default onPress={le}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:g?`${AppColors_1.AppColors.red500}33`:`${AppColors_1.AppColors.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:g?AppColors_1.AppColors.red500:`${AppColors_1.AppColors.white}33`}}>
|
|
302
|
-
{g?<react_native_1.Animated.View style={{width:6,height:6,borderRadius:3,backgroundColor:AppColors_1.AppColors.red500}}/>:<NetworkIcons_1.VideoCameraIcon size={e?12:13}color={AppColors_1.AppColors.white}/>}
|
|
303
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:g?AppColors_1.AppColors.red300:AppColors_1.AppColors.white}}>
|
|
304
|
-
{g?`${i("header.rec")} ${ne(ae)}`:i("header.record")}
|
|
305
|
-
</react_native_1.Text>
|
|
306
|
-
</TouchableScale_1.default>
|
|
307
|
-
</react_native_1.View>
|
|
308
|
-
|
|
309
|
-
<react_native_1.View style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
310
|
-
|
|
311
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={i("common.clearAll")}onPress={()=>{react_native_1.Alert.alert(i("header.clearEverythingTitle"),i("header.clearEverythingMessage"),[{text:i("common.cancel"),style:"cancel"},{text:i("common.clearAll"),onPress:J,style:"destructive"}])}}hitSlop={10}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}33`}}>
|
|
312
|
-
<react_native_1.Animated.View style={{transform:[{rotate:k.interpolate({inputRange:[0,1],outputRange:["0deg","-25deg"]})},{scale:k.interpolate({inputRange:[0,.5,1],outputRange:[1,1.25,1]})}]}}>
|
|
313
|
-
<NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.white}size={e?12:13}/>
|
|
314
|
-
</react_native_1.Animated.View>
|
|
315
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:AppColors_1.AppColors.white}}>
|
|
316
|
-
{i("common.clearAll")}
|
|
317
|
-
</react_native_1.Text>
|
|
318
|
-
</TouchableScale_1.default>
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
<TouchableScale_1.default accessible={!0}accessibilityRole="button"accessibilityLabel={i("header.about")}onPress={()=>{H(!0)}}hitSlop={10}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${AppColors_1.AppColors.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${AppColors_1.AppColors.white}33`}}>
|
|
322
|
-
<NetworkIcons_1.InfoCircleIcon color={AppColors_1.AppColors.white}size={e?12:13}/>
|
|
323
|
-
<react_native_1.Text style={{fontFamily:AppFonts_1.AppFonts.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:AppColors_1.AppColors.white}}>
|
|
324
|
-
{i("header.about")}
|
|
325
|
-
</react_native_1.Text>
|
|
326
|
-
</TouchableScale_1.default>
|
|
327
|
-
</react_native_1.View>
|
|
328
|
-
</react_native_1.View>}
|
|
329
336
|
</react_native_1.View>
|
|
330
337
|
</react_native_1.View>
|
|
331
338
|
|
|
332
339
|
|
|
333
|
-
<UpdateAvailableModal_1.UpdateAvailableModal visible={
|
|
340
|
+
<UpdateAvailableModal_1.UpdateAvailableModal visible={le}latestVersion={Q}onClose={()=>M(!1)}/>
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
<LanguageSelectorModal_1.LanguageSelectorModal visible={ne}onClose={()=>B(!1)}/>
|
|
334
344
|
|
|
335
345
|
|
|
336
|
-
<MediaPreviewModal_1.MediaPreviewModal item={
|
|
346
|
+
<MediaPreviewModal_1.MediaPreviewModal item={L}visible={!!L}onClose={()=>m(null)}onDelete={async t=>{await capture_1.ScreenCapture.deleteMedia(t.uri),b?.().catch(()=>{}),m(null)}}onConvertToGif={async t=>{const a=await capture_1.ScreenCapture.convertToGif(t.uri,{fps:12,width:480});a&&(b?.().catch(()=>{}),m({id:`anim_${a.timestamp}.gif`,type:"gif",format:"gif",uri:a.uri,filename:a.uri.split("/").pop()||`anim_${a.timestamp}.gif`,sizeBytes:a.sizeBytes,timestamp:a.timestamp,durationMs:a.durationMs}))}}/>
|
|
337
347
|
</>});exports.default=InspectorHeader;
|
|
@@ -12,4 +12,4 @@ interface LanguageSelectorModalProps {
|
|
|
12
12
|
onClose: () => void;
|
|
13
13
|
}
|
|
14
14
|
export declare const LanguageSelectorModal: React.MemoExoticComponent<({ visible, onClose }: LanguageSelectorModalProps) => React.JSX.Element>;
|
|
15
|
-
export
|
|
15
|
+
export default LanguageSelectorModal;
|