react-native-inapp-inspector 2.4.2 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +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/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/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,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
<S style={[i.headerGradient,{minHeight:(e?
|
|
1
|
+
import $,{useMemo as Z}from"react";import{Alert as Ke,Animated as Xe,Linking as Ye,Platform as de,Pressable as Se,StatusBar as Ze,Text as C,TouchableOpacity as Te,useWindowDimensions as et,View as S}from"react-native";import St from"react-native-linear-gradient";import{useInspector as Tt}from"./InspectorContext";import _ from"../TouchableScale";import{BrandCircleIcon as Ct}from"../BrandCircleIcon";import i from"../../styles";import{AppColors as t}from"../../styles/AppColors";import{AppFonts as D}from"../../styles/AppFonts";import{METHOD_COLORS as xt}from"../../constants";import{LIB_VERSION as ce}from"../../constants";import{getStatusColor as ue,formatTime as zt,formatTimeShort as Ce,getSize as xe,formatByteSize as Vt,getAppVersionAndBuild as Dt,showToast as H}from"../../helpers";import{triggerNativeHaptic as A}from"../../native/NativeInspector";import{ScreenCapture as E}from"../../capture";import{UpdateAvailableModal as Rt}from"./UpdateAvailableModal";import{MediaPreviewModal as It}from"./MediaPreviewModal";import{LanguageSelectorModal as Mt}from"./LanguageSelectorModal";import{WhiteBackNavigation as $t,SettingsIcon as Bt,CloseWhite as Lt,ChevronDownIcon as Ve,ClockIcon as G,SizeIcon as De,AppleIcon as Ht,AndroidIcon as At,NpmIcon as Ot,ResetIcon as Pt,BoltIcon as Et,EyeIcon as Wt}from"../NetworkIcons";import{useTranslation as Ft,SUPPORTED_LANGUAGES as ke,getLanguage as Ut}from"../../i18n";const Nt=$.memo(()=>{const{t:I,language:ge}=Ft(),{modalHeightPercent:ee,appIcon:_t,selected:R,setSelected:Re,selectedEvent:B,setSelectedEvent:Ie,selectedLog:L,setSelectedLog:Me,selectedReduxSlice:W,setSelectedReduxSlice:$e,selectedReduxAction:q,setSelectedReduxAction:Be,reduxState:Le,reduxLastActionMap:ve,updateAvailable:te,latestNpmVersion:He,clearAnim:jt,activePulseAnim:Ae,unreadPulseAnim:Oe,runClearAllWithAnimation:Gt,settingsPage:O,setSettingsPage:ie,isAboutOpen:re,setIsAboutOpen:Pe,resetToDefaults:Ee,closeModal:he,minimizeInspector:We,detailTitle:Fe,activeTab:V,environment:pe,selectedCrash:M,setSelectedCrash:Ue,selectedPush:k,setSelectedPush:Ne,selectedSocket:z,setSelectedSocket:_e,refreshMediaCount:F,peekMode:oe,setPeekMode:je}=Tt(),{width:Q}=et(),e=Q<360,U=Q<400,[Ge,ae]=$.useState(!1),[qe,me]=$.useState(!1),[Qe]=$.useState(()=>Dt().formatted),fe=Z(()=>{const T=ge||Ut();return ke.find(x=>x.code===T)||ke[0]},[ge]),[J,K]=$.useState(!1),[qt,le]=$.useState(0),P=$.useRef(null);$.useEffect(()=>{E.isRecording().then(T=>{K(T)}).catch(()=>{})},[]),$.useEffect(()=>(J?(le(0),P.current=setInterval(()=>{le(T=>T+1)},1e3)):(P.current&&(clearInterval(P.current),P.current=null),le(0)),()=>{P.current&&clearInterval(P.current)}),[J]);const[be,N]=$.useState(null),Qt=$.useCallback(async()=>{try{A("light");const T=await E.takeScreenshot({format:"png",quality:.9,hideInspector:!0});if(T){A("success");const x={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};N(x),F?.().catch(()=>{}),H(I("header.screenshotCaptured"))}else H(I("header.screenshotFailed"))}catch{H(I("header.screenshotError"))}},[F,I]),Jt=$.useCallback(async()=>{try{if(J){A("medium");const T=await E.stopRecording();if(K(!1),T){A("success");const x={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};N(x),F?.().catch(()=>{}),H(I("header.recordingSaved",{duration:(T.durationMs/1e3).toFixed(1)}))}}else A("medium"),await E.startRecording({fps:24,audioSource:"none"})?(K(!0),H(I("header.recordingStarted"))):H(I("header.recordingStartFailed"))}catch{H(I("header.recordingError")),K(!1)}},[J,I]),Kt=T=>{const x=Math.floor(T/60),se=T%60;return`${x.toString().padStart(2,"0")}:${se.toString().padStart(2,"0")}`},Xt=Z(()=>{const T=(pe||(__DEV__?"DEV":"PROD")).trim(),x=T.toUpperCase();return x==="DEV"||x.includes("DEV")||x==="LOCAL"?{label:T,bg:`${t.emerald500}40`,border:`${t.emerald400}8C`,text:t.mintGreenBorder}:x==="UAT"||x==="QA"||x==="TEST"?{label:T,bg:`${t.amber500}47`,border:`${t.amber400}99`,text:t.amberWarmBorder}:x==="PREPROD"||x==="STAGE"||x==="STAGING"?{label:T,bg:`${t.purple500}47`,border:`${t.purple400}99`,text:t.violetSoftBorder}:{label:T,bg:`${t.rose500}40`,border:`${t.roseBorder}8C`,text:t.errorBorder}},[pe]),X=V==="apis"&&R!=null||V==="analytics"&&B!=null||V==="logs"&&L!=null||V==="redux"&&(W!=null||q!=null)||V==="crash"&&M!=null||V==="push"&&k!=null||V==="socket"&&z!=null,Y=O!==null,ne=X||Y||re,Je=Z(()=>{switch(O){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"}},[O]),ye=Z(()=>de.OS==="ios"?ee>=98?Q>=390?50:44:0:de.OS==="android"&&ee>=98?Ze.currentHeight||24:0,[ee,Q]),v=e?25:U?26.5:27,Yt=e?36:U?38:40;return<>
|
|
2
|
+
<S style={[i.headerGradient,{minHeight:(e?44:48)+ye}]}>
|
|
3
3
|
|
|
4
|
-
<
|
|
5
|
-
<S style={{paddingTop:
|
|
6
|
-
<S style={[i.header,{width:"100%",justifyContent:"space-between",paddingHorizontal:e?12
|
|
7
|
-
<S style={{flexDirection:"row",alignItems:"center",gap:e?8
|
|
8
|
-
{
|
|
4
|
+
<St colors={[t.indigo600,t.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
|
+
<S style={{paddingTop:ye,width:"100%"}}>
|
|
6
|
+
<S style={[i.header,{width:"100%",justifyContent:"space-between",paddingHorizontal:e?10:12,paddingVertical:5.5,minHeight:e?44:48}]}>
|
|
7
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:e?7:8,flex:X?void 0:1,flexShrink:X?0:1,minWidth:0}}>
|
|
8
|
+
{ne&&<_ onPress={()=>{if(re){Pe(!1);return}if(Y){ie(O==="main"?null:"main");return}Re(null),Ie(null),Me(null),$e(null),Be(null),Ue(null),Ne(null),_e(null)}}hitSlop={15}style={{width:e?32:36,height:e?32:36,borderRadius:e?16:18,alignItems:"center",justifyContent:"center",backgroundColor:`${t.white}2E`,borderWidth:1,borderColor:`${t.white}4D`}}>
|
|
9
9
|
<S style={{position:"absolute",width:e?40:44,height:e?40:44,borderRadius:22,backgroundColor:`${t.white}1A`}}/>
|
|
10
|
-
|
|
11
|
-
</
|
|
10
|
+
<$t/>
|
|
11
|
+
</_>}
|
|
12
12
|
|
|
13
13
|
{re?<S style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
14
14
|
<S style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
@@ -24,139 +24,148 @@ import H,{useMemo as ne}from"react";import{Alert as we,Animated as se,Linking as
|
|
|
24
24
|
<C style={{fontFamily:D.interRegular,fontSize:e?10:11,lineHeight:e?14:15,color:`${t.white}CC`,marginTop:1}}numberOfLines={1}>
|
|
25
25
|
Package info, runtime specs & diagnostic payload
|
|
26
26
|
</C>
|
|
27
|
-
</S>:
|
|
27
|
+
</S>:Y?<S style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
28
28
|
<S style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
29
29
|
<C style={{fontFamily:D.interBold,fontSize:e?15:16.5,lineHeight:e?19:21,color:t.white,letterSpacing:-.2}}numberOfLines={1}>
|
|
30
|
-
{
|
|
30
|
+
{Je}
|
|
31
31
|
</C>
|
|
32
|
-
{
|
|
32
|
+
{O==="main"&&<S style={{backgroundColor:`${t.white}26`,paddingHorizontal:e?5:6,paddingVertical:2,borderRadius:8,borderWidth:1,borderColor:`${t.white}20`}}>
|
|
33
33
|
<C style={{fontFamily:D.interBold,fontSize:e?8.5:9.5,lineHeight:12,color:t.white}}>
|
|
34
34
|
v{ce}
|
|
35
35
|
</C>
|
|
36
36
|
</S>}
|
|
37
37
|
</S>
|
|
38
38
|
<C style={{fontFamily:D.interRegular,fontSize:e?10:11,lineHeight:e?14:15,color:`${t.white}CC`,marginTop:1}}numberOfLines={1}>
|
|
39
|
-
{
|
|
39
|
+
{O==="main"?"Manage modules and preferences":"Configure module parameters"}
|
|
40
40
|
</C>
|
|
41
|
-
</S>:
|
|
42
|
-
<
|
|
43
|
-
<S style={{gap:
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<S style={[i.envBadge,{backgroundColor:J.bg,borderColor:J.border,flexShrink:0,paddingHorizontal:e?6:7,paddingVertical:2.5,borderRadius:6,marginBottom:0}]}>
|
|
49
|
-
<C style={[i.envBadgeText,{color:J.text,fontSize:e?9:10,lineHeight:13}]}>
|
|
50
|
-
{J.label}
|
|
51
|
-
</C>
|
|
52
|
-
</S>
|
|
53
|
-
{te&&<Se hitSlop={10}onPress={()=>oe(!0)}style={{flexDirection:"row",alignItems:"center",backgroundColor:t.warningAmber,borderRadius:6,paddingHorizontal:e?5:6.5,paddingVertical:2.5,gap:3.5,shadowColor:t.warningAmber,shadowOffset:{width:0,height:1.5},shadowOpacity:.35,shadowRadius:3,elevation:3,flexShrink:0}}>
|
|
54
|
-
<se.View style={{width:5,height:5,borderRadius:2.5,backgroundColor:t.white,opacity:He,transform:[{scale:Ae}]}}/>
|
|
55
|
-
{!e&&<C style={{fontFamily:D.interBold,fontSize:8.5,lineHeight:11,color:t.white,letterSpacing:.3}}>
|
|
56
|
-
UPDATE
|
|
57
|
-
</C>}
|
|
58
|
-
<Pt size={e?8:9}color={t.white}/>
|
|
59
|
-
</Se>}
|
|
60
|
-
</S>
|
|
41
|
+
</S>:ne?null:<S style={{flexDirection:"row",alignItems:"center",gap:e?8:10,flex:1,minWidth:0,marginRight:4}}>
|
|
42
|
+
<Ct size={e?44:U?46:48}/>
|
|
43
|
+
<S style={{gap:3,flex:1,minWidth:0,justifyContent:"center"}}>
|
|
44
|
+
|
|
45
|
+
<C style={[i.headerTitle,{fontFamily:D.interBold,fontWeight:"700",fontSize:e?13:U?13.5:14.5,lineHeight:e?17:U?18:19.5,color:t.white,letterSpacing:-.2,paddingBottom:0}]}numberOfLines={1}ellipsizeMode="tail">
|
|
46
|
+
react-native-inapp-inspector
|
|
47
|
+
</C>
|
|
61
48
|
|
|
62
49
|
|
|
63
|
-
<S style={{flexDirection:"row",alignItems:"center",gap:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<C style={{
|
|
67
|
-
{
|
|
50
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:4.5,minWidth:0,marginTop:1.5}}>
|
|
51
|
+
|
|
52
|
+
<_ onPress={()=>{A("light"),me(!0)}}hitSlop={6}accessible={!0}accessibilityRole="button"accessibilityLabel={I("settings.general.selectLanguage","Select Language")}style={{flexDirection:"row",alignItems:"center",backgroundColor:`${t.white}24`,borderRadius:5,paddingHorizontal:5.5,paddingVertical:2,gap:3.5,borderWidth:1,borderColor:`${t.white}38`,flexShrink:0}}>
|
|
53
|
+
<C style={{fontSize:9,lineHeight:11}}>
|
|
54
|
+
{fe?.flag||"\u{1F310}"}
|
|
55
|
+
</C>
|
|
56
|
+
<C style={{fontFamily:D.interBold,fontSize:8.5,lineHeight:11,color:t.white,letterSpacing:.2}}numberOfLines={1}>
|
|
57
|
+
{fe?.code?.toUpperCase()||"EN"}
|
|
58
|
+
</C>
|
|
59
|
+
<Ve size={6.5}color={`${t.white}CC`}/>
|
|
60
|
+
</_>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
<S style={{flexDirection:"row",alignItems:"center",backgroundColor:`${t.white}1F`,borderRadius:5,paddingHorizontal:5.5,paddingVertical:2,gap:3.5,borderWidth:1,borderColor:`${t.white}2E`,flexShrink:1,minWidth:0}}>
|
|
64
|
+
{de.OS==="ios"?<Ht color={`${t.white}E6`}size={9}/>:<At color={`${t.white}E6`}size={9}/>}
|
|
65
|
+
<C style={{fontFamily:D.interMedium,fontSize:8.5,lineHeight:11,color:`${t.white}EB`,letterSpacing:.1}}numberOfLines={1}ellipsizeMode="tail">
|
|
66
|
+
{Qe}
|
|
68
67
|
</C>
|
|
69
68
|
</S>
|
|
70
69
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<
|
|
70
|
+
|
|
71
|
+
<Se onPress={()=>{te?ae(!0):Ye.openURL("https://www.npmjs.com/package/react-native-inapp-inspector").catch(()=>{})}}style={{flexDirection:"row",alignItems:"center",backgroundColor:`${t.white}1F`,borderRadius:5,paddingHorizontal:6,paddingVertical:2,gap:3.5,borderWidth:1,borderColor:`${t.white}2E`,flexShrink:0}}>
|
|
72
|
+
<Ot size={9}color={t.npmRedLight}/>
|
|
73
|
+
<C style={{fontFamily:D.interMedium,fontSize:8.5,lineHeight:11,color:`${t.white}EB`,letterSpacing:.1}}>
|
|
74
74
|
v{ce}
|
|
75
75
|
</C>
|
|
76
|
-
{te&&<C style={{fontFamily:D.interBold,fontSize:8
|
|
76
|
+
{te&&<C style={{fontFamily:D.interBold,fontSize:8,color:t.warningAmber}}>
|
|
77
77
|
●
|
|
78
78
|
</C>}
|
|
79
79
|
</Se>
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
{te&&<Se hitSlop={10}onPress={()=>ae(!0)}style={{flexDirection:"row",alignItems:"center",backgroundColor:t.warningAmber,borderRadius:5,paddingHorizontal:4.5,paddingVertical:1.5,gap:3,shadowColor:t.warningAmber,shadowOffset:{width:0,height:1.5},shadowOpacity:.35,shadowRadius:3,elevation:3,flexShrink:0}}>
|
|
83
|
+
<Xe.View style={{width:4.5,height:4.5,borderRadius:2.25,backgroundColor:t.white,opacity:Ae,transform:[{scale:Oe}]}}/>
|
|
84
|
+
{!e&&<C style={{fontFamily:D.interBold,fontSize:8,lineHeight:10,color:t.white,letterSpacing:.3}}>
|
|
85
|
+
UPDATE
|
|
86
|
+
</C>}
|
|
87
|
+
<Et size={e?7.5:8.5}color={t.white}/>
|
|
88
|
+
</Se>}
|
|
80
89
|
</S>
|
|
81
90
|
</S>
|
|
82
91
|
</S>}
|
|
83
92
|
</S>
|
|
84
93
|
|
|
85
|
-
{
|
|
86
|
-
{
|
|
94
|
+
{X&&<S style={[i.headerCenter,{paddingHorizontal:e?2:6}]}>
|
|
95
|
+
{V==="apis"&&R!=null?<S style={i.headerDetailCenter}>
|
|
87
96
|
<S style={i.headerDetailRow}>
|
|
88
|
-
<S style={[i.headerMethodBadge,{backgroundColor:
|
|
97
|
+
<S style={[i.headerMethodBadge,{backgroundColor:xt[R.method]??t.grayText,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
89
98
|
<C style={[i.headerMethodText,{fontSize:e?9:10}]}>
|
|
90
|
-
{
|
|
99
|
+
{R.method}
|
|
91
100
|
</C>
|
|
92
101
|
</S>
|
|
93
102
|
<C style={[i.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
94
|
-
{
|
|
103
|
+
{Fe}
|
|
95
104
|
</C>
|
|
96
105
|
</S>
|
|
97
106
|
<S style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
98
|
-
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${
|
|
99
|
-
<S style={[i.headerStatusDot,{backgroundColor:
|
|
107
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${ue(R.status)}26`,borderWidth:1,borderColor:`${ue(R.status)}55`}}>
|
|
108
|
+
<S style={[i.headerStatusDot,{backgroundColor:ue(R.status),width:e?6:7,height:e?6:7}]}/>
|
|
100
109
|
<C style={[i.headerSubTitle,{fontFamily:D.interBold,fontSize:e?10:11}]}>
|
|
101
|
-
{
|
|
110
|
+
{R.status===0?"Failed":R.status??"Pending"}
|
|
102
111
|
</C>
|
|
103
112
|
</S>
|
|
104
113
|
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${t.white}29`}}>
|
|
105
|
-
<
|
|
114
|
+
<G color={t.white}size={e?10:11}/>
|
|
106
115
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
107
|
-
{
|
|
116
|
+
{R.duration!=null?`${R.duration}ms`:"\u2014"}
|
|
108
117
|
</C>
|
|
109
118
|
</S>
|
|
110
|
-
{
|
|
111
|
-
|
|
119
|
+
{R.response!=null&&<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${t.white}29`}}>
|
|
120
|
+
<De color={t.white}size={e?10:11}/>
|
|
112
121
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
113
|
-
{xe(
|
|
122
|
+
{xe(R.response)}
|
|
114
123
|
</C>
|
|
115
124
|
</S>}
|
|
116
125
|
</S>
|
|
117
|
-
</S>:
|
|
126
|
+
</S>:V==="analytics"&&B!=null?<S style={i.headerDetailCenter}>
|
|
118
127
|
<S style={i.headerDetailRow}>
|
|
119
|
-
<S style={[i.headerMethodBadge,{backgroundColor:
|
|
128
|
+
<S style={[i.headerMethodBadge,{backgroundColor:B.source==="firebase"?`${t.firebaseOrange}4D`:`${t.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
120
129
|
<C style={[i.headerMethodText,{fontSize:e?9:10}]}>
|
|
121
|
-
{
|
|
130
|
+
{B.source==="firebase"?"FB":"MAN"}
|
|
122
131
|
</C>
|
|
123
132
|
</S>
|
|
124
133
|
<C style={[i.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
125
|
-
#{
|
|
126
|
-
{
|
|
134
|
+
#{B.id!=null?B.id+1:1}{" "}
|
|
135
|
+
{B.name}
|
|
127
136
|
</C>
|
|
128
137
|
</S>
|
|
129
138
|
<S style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
130
|
-
<S style={[i.headerStatusDot,{backgroundColor:
|
|
139
|
+
<S style={[i.headerStatusDot,{backgroundColor:B.source==="firebase"?t.firebaseOrange:t.purple,width:e?6:7,height:e?6:7}]}/>
|
|
131
140
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
132
|
-
{Object.keys(
|
|
133
|
-
{Object.keys(
|
|
141
|
+
{Object.keys(B.params).length} param
|
|
142
|
+
{Object.keys(B.params).length!==1?"s":""}
|
|
134
143
|
{" \xB7 "}
|
|
135
|
-
{
|
|
144
|
+
{B.source}
|
|
136
145
|
</C>
|
|
137
146
|
</S>
|
|
138
|
-
</S>:
|
|
147
|
+
</S>:V==="logs"&&L!=null?<S style={i.headerDetailCenter}>
|
|
139
148
|
<S style={i.headerDetailRow}>
|
|
140
|
-
<S style={[i.headerMethodBadge,{backgroundColor:
|
|
149
|
+
<S style={[i.headerMethodBadge,{backgroundColor:L.type==="error"?`${t.errorColor}4D`:L.type==="warn"?`${t.lightOrange}4D`:`${t.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
141
150
|
<C style={[i.headerMethodText,{fontSize:e?9:10}]}>
|
|
142
|
-
{
|
|
151
|
+
{L.type.toUpperCase()}
|
|
143
152
|
</C>
|
|
144
153
|
</S>
|
|
145
154
|
<C style={[i.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
146
|
-
#{
|
|
155
|
+
#{L.id!=null?L.id+1:1}{" "}
|
|
147
156
|
console.
|
|
148
|
-
{
|
|
157
|
+
{L.sourceMethod||L.type||"log"}
|
|
149
158
|
</C>
|
|
150
159
|
</S>
|
|
151
160
|
<S style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
152
161
|
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${t.white}29`}}>
|
|
153
|
-
<
|
|
162
|
+
<G color={t.white}size={e?10:11}/>
|
|
154
163
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
155
|
-
{
|
|
164
|
+
{zt(L.timestamp)}
|
|
156
165
|
</C>
|
|
157
166
|
</S>
|
|
158
167
|
</S>
|
|
159
|
-
</S>:
|
|
168
|
+
</S>:V==="redux"&&W!=null?(()=>{const T=Le?.[W],x=T&&typeof T=="object"?Object.keys(T).length:typeof T<"u"?1:0,se=xe(T),we=ve[W];return<S style={i.headerDetailCenter}>
|
|
160
169
|
<S style={i.headerDetailRow}>
|
|
161
170
|
<S style={[i.headerMethodBadge,{backgroundColor:`${t.purple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
162
171
|
<C style={[i.headerMethodText,{fontSize:e?9:10}]}>
|
|
@@ -164,7 +173,7 @@ import H,{useMemo as ne}from"react";import{Alert as we,Animated as se,Linking as
|
|
|
164
173
|
</C>
|
|
165
174
|
</S>
|
|
166
175
|
<C style={[i.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
167
|
-
{
|
|
176
|
+
{W}
|
|
168
177
|
</C>
|
|
169
178
|
</S>
|
|
170
179
|
<S style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
@@ -176,27 +185,27 @@ import H,{useMemo as ne}from"react";import{Alert as we,Animated as se,Linking as
|
|
|
176
185
|
•
|
|
177
186
|
</C>
|
|
178
187
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
179
|
-
{
|
|
188
|
+
{x} keys
|
|
180
189
|
</C>
|
|
181
190
|
<C style={[i.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
182
191
|
•
|
|
183
192
|
</C>
|
|
184
193
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
185
|
-
{
|
|
194
|
+
{se}
|
|
186
195
|
</C>
|
|
187
|
-
{
|
|
196
|
+
{we?.timestamp&&<>
|
|
188
197
|
<C style={[i.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
189
198
|
•
|
|
190
199
|
</C>
|
|
191
200
|
<S style={{flexDirection:"row",alignItems:"center",gap:3}}>
|
|
192
|
-
<
|
|
201
|
+
<G color={t.white}size={e?9:10}/>
|
|
193
202
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
194
|
-
{
|
|
203
|
+
{we.timestamp}
|
|
195
204
|
</C>
|
|
196
205
|
</S>
|
|
197
206
|
</>}
|
|
198
207
|
</S>
|
|
199
|
-
</S>})():
|
|
208
|
+
</S>})():V==="redux"&&q!=null?<S style={i.headerDetailCenter}>
|
|
200
209
|
<S style={i.headerDetailRow}>
|
|
201
210
|
<S style={[i.headerMethodBadge,{backgroundColor:`${t.brandPurple}4D`,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
202
211
|
<C style={[i.headerMethodText,{fontSize:e?9:10}]}>
|
|
@@ -204,134 +213,135 @@ import H,{useMemo as ne}from"react";import{Alert as we,Animated as se,Linking as
|
|
|
204
213
|
</C>
|
|
205
214
|
</S>
|
|
206
215
|
<C style={[i.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
207
|
-
{
|
|
216
|
+
{q.type}
|
|
208
217
|
</C>
|
|
209
218
|
</S>
|
|
210
219
|
<S style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
211
220
|
<S style={[i.headerStatusDot,{backgroundColor:t.purple,width:e?6:7,height:e?6:7}]}/>
|
|
212
221
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
213
|
-
{
|
|
222
|
+
{q.timestamp||"Dispatched"}
|
|
214
223
|
</C>
|
|
215
224
|
</S>
|
|
216
|
-
</S>:
|
|
225
|
+
</S>:V==="crash"&&M!=null?<S style={i.headerDetailCenter}>
|
|
217
226
|
<S style={i.headerDetailRow}>
|
|
218
|
-
<S style={[i.headerMethodBadge,{backgroundColor
|
|
227
|
+
<S style={[i.headerMethodBadge,{backgroundColor:M.isFatal?t.red600:t.amber600,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
219
228
|
<C style={[i.headerMethodText,{fontSize:e?9:10}]}>
|
|
220
|
-
{
|
|
229
|
+
{M.isFatal?"FATAL":M.type.toUpperCase()}
|
|
221
230
|
</C>
|
|
222
231
|
</S>
|
|
223
232
|
<C style={[i.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
224
|
-
{
|
|
233
|
+
{M.name||M.message}
|
|
225
234
|
</C>
|
|
226
235
|
</S>
|
|
227
236
|
<S style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
228
|
-
<S style={[i.headerStatusDot,{backgroundColor
|
|
237
|
+
<S style={[i.headerStatusDot,{backgroundColor:M.isFatal?t.red600:t.amber500,width:e?6:7,height:e?6:7}]}/>
|
|
229
238
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
230
|
-
{
|
|
239
|
+
{M.timeStr||new Date(M.timestamp).toLocaleTimeString()}
|
|
231
240
|
</C>
|
|
232
|
-
{
|
|
241
|
+
{M.deviceInfo?.platform&&<>
|
|
233
242
|
<C style={[i.headerSubTitle,{opacity:.6,fontSize:e?10:11}]}>
|
|
234
243
|
•
|
|
235
244
|
</C>
|
|
236
245
|
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
237
|
-
{
|
|
246
|
+
{M.deviceInfo.platform.toUpperCase()}
|
|
238
247
|
</C>
|
|
239
248
|
</>}
|
|
240
249
|
</S>
|
|
241
|
-
</S>:
|
|
250
|
+
</S>:V==="push"&&k!=null?<S style={i.headerDetailCenter}>
|
|
242
251
|
<S style={i.headerDetailRow}>
|
|
243
252
|
<S style={[i.headerMethodBadge,{backgroundColor:t.brandPurple,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
244
253
|
<C style={[i.headerMethodText,{fontSize:e?9:10}]}>
|
|
245
|
-
{(
|
|
254
|
+
{(k.source||"PUSH").toUpperCase()}
|
|
246
255
|
</C>
|
|
247
256
|
</S>
|
|
248
257
|
<C style={[i.headerDetailTitle,{fontSize:e?13:14.5,flex:1,minWidth:0}]}numberOfLines={1}ellipsizeMode="tail">
|
|
249
|
-
{
|
|
258
|
+
{k.title||k.body||"Push Notification"}
|
|
250
259
|
</C>
|
|
251
260
|
</S>
|
|
252
261
|
<S style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1,maxWidth:"100%"}}>
|
|
253
|
-
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2,borderRadius:20,backgroundColor:`${
|
|
254
|
-
<S style={[i.headerStatusDot,{backgroundColor:
|
|
262
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2,borderRadius:20,backgroundColor:`${k.appState==="foreground"?t.greenColor:k.appState==="background"?t.amber500:t.brandPurple}26`,borderWidth:1,borderColor:`${k.appState==="foreground"?t.greenColor:k.appState==="background"?t.amber500:t.brandPurple}55`}}>
|
|
263
|
+
<S style={[i.headerStatusDot,{backgroundColor:k.appState==="foreground"?t.greenColor:k.appState==="background"?t.amber500:t.brandPurple,width:e?6:7,height:e?6:7}]}/>
|
|
255
264
|
<C style={[i.headerSubTitle,{fontFamily:D.interBold,fontSize:e?9.5:10.5}]}>
|
|
256
|
-
{
|
|
265
|
+
{k.appState?k.appState.toUpperCase():"DELIVERED"}
|
|
257
266
|
</C>
|
|
258
267
|
</S>
|
|
259
268
|
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2,borderRadius:20,backgroundColor:`${t.white}29`}}>
|
|
260
|
-
<
|
|
269
|
+
<G color={t.white}size={e?9.5:10.5}/>
|
|
261
270
|
<C style={[i.headerSubTitle,{fontSize:e?9.5:10.5}]}>
|
|
262
|
-
{
|
|
271
|
+
{Ce(k.timestamp)}
|
|
272
|
+
</C>
|
|
273
|
+
</S>
|
|
274
|
+
</S>
|
|
275
|
+
</S>:V==="socket"&&z!=null?<S style={i.headerDetailCenter}>
|
|
276
|
+
<S style={i.headerDetailRow}>
|
|
277
|
+
<S style={[i.headerMethodBadge,{backgroundColor:z.client==="socket.io"||z.url.includes("/socket.io")?t.violet600:z.url.startsWith("wss://")?t.emerald600:t.blue600,paddingHorizontal:e?5:6,paddingVertical:e?2:3}]}>
|
|
278
|
+
<C style={[i.headerMethodText,{fontSize:e?9:10}]}>
|
|
279
|
+
{z.client==="socket.io"||z.url.includes("/socket.io")?"SIO":z.url.startsWith("wss://")?"WSS":"WS"}
|
|
280
|
+
</C>
|
|
281
|
+
</S>
|
|
282
|
+
<C style={[i.headerDetailTitle,{fontSize:e?13.5:15}]}numberOfLines={1}ellipsizeMode="middle">
|
|
283
|
+
{z.url}
|
|
284
|
+
</C>
|
|
285
|
+
</S>
|
|
286
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:e?4:6,marginTop:3,paddingVertical:1}}>
|
|
287
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${z.status==="open"?t.greenColor:z.status==="connecting"?t.amber600:z.status==="error"?t.errorColor:t.slate500}26`,borderWidth:1,borderColor:`${z.status==="open"?t.greenColor:z.status==="connecting"?t.amber600:z.status==="error"?t.errorColor:t.slate500}55`}}>
|
|
288
|
+
<S style={[i.headerStatusDot,{backgroundColor:z.status==="open"?t.greenColor:z.status==="connecting"?t.amber600:z.status==="error"?t.errorColor:t.slate500,width:e?6:7,height:e?6:7}]}/>
|
|
289
|
+
<C style={[i.headerSubTitle,{fontFamily:D.interBold,fontSize:e?10:11}]}>
|
|
290
|
+
{(z.status||"open").toUpperCase()}
|
|
291
|
+
</C>
|
|
292
|
+
</S>
|
|
293
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${t.white}29`}}>
|
|
294
|
+
<G color={t.white}size={e?10:11}/>
|
|
295
|
+
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
296
|
+
{z.duration!=null?`${z.duration}ms`:Ce(z.startTime)}
|
|
297
|
+
</C>
|
|
298
|
+
</S>
|
|
299
|
+
<S style={{flexDirection:"row",alignItems:"center",gap:4,paddingHorizontal:e?6:8,paddingVertical:2.5,borderRadius:20,backgroundColor:`${t.white}29`}}>
|
|
300
|
+
<De color={t.white}size={e?10:11}/>
|
|
301
|
+
<C style={[i.headerSubTitle,{fontSize:e?10:11}]}>
|
|
302
|
+
{z.frames?.length||0} frames · {Vt((z.totalBytesSent||0)+(z.totalBytesReceived||0))}
|
|
263
303
|
</C>
|
|
264
304
|
</S>
|
|
265
305
|
</S>
|
|
266
306
|
</S>:null}
|
|
267
307
|
</S>}
|
|
268
308
|
|
|
269
|
-
<S style={[i.headerRight,{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",flexShrink:0,gap:e?4:
|
|
309
|
+
<S style={[i.headerRight,{flexDirection:"row",alignItems:"center",justifyContent:"flex-end",flexShrink:0,gap:e?4:5}]}>
|
|
270
310
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
311
|
+
{Y?<_ onPress={()=>{Ke.alert("Reset All Settings","This restores all module visibility and UI preferences to defaults. Continue?",[{text:"Cancel",style:"cancel"},{text:"Reset",style:"destructive",onPress:Ee}])}}hitSlop={15}style={[i.closeButtonSquare,{width:v,height:v,borderRadius:e?6:7,backgroundColor:"rgba(245, 158, 11, 0.26)",borderColor:"rgba(252, 211, 77, 0.45)",borderWidth:1}]}>
|
|
312
|
+
<Pt color={t.white}size={e?12:14}/>
|
|
313
|
+
</_>:ne?null:<>
|
|
314
|
+
|
|
315
|
+
<_ accessible={!0}accessibilityRole="button"accessibilityLabel={oe?"Disable peek-through":"Enable peek-through"}onPress={()=>{A("light"),je(T=>!T)}}hitSlop={15}style={[i.closeButtonSquare,{width:v,height:v,borderRadius:e?6:7,backgroundColor:oe?"rgba(6, 182, 212, 0.38)":"rgba(6, 182, 212, 0.18)",borderColor:oe?"rgba(103, 232, 249, 0.65)":"rgba(103, 232, 249, 0.35)",borderWidth:1}]}>
|
|
316
|
+
<Wt color={t.white}size={e?12:14}/>
|
|
317
|
+
</_>
|
|
274
318
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
</P>}
|
|
319
|
+
|
|
320
|
+
<_ accessible={!0}accessibilityRole="button"accessibilityLabel="Settings"onPress={()=>ie("main")}hitSlop={15}style={[i.closeButtonSquare,{width:v,height:v,borderRadius:e?6:7,backgroundColor:"rgba(168, 85, 247, 0.28)",borderColor:"rgba(216, 180, 254, 0.45)",borderWidth:1}]}>
|
|
321
|
+
<Bt color={t.white}size={e?12:14}/>
|
|
322
|
+
</_>
|
|
323
|
+
</>}
|
|
281
324
|
|
|
282
325
|
|
|
283
|
-
<Te onPress={
|
|
284
|
-
<
|
|
326
|
+
<Te onPress={We||he}hitSlop={{top:12,bottom:12,left:12,right:12}}activeOpacity={.7}accessibilityRole="button"accessibilityLabel={I("common.minimize","Minimize")}style={[i.closeButtonSquare,{width:v,height:v,borderRadius:e?6:7,backgroundColor:"rgba(56, 189, 248, 0.22)",borderColor:"rgba(125, 211, 252, 0.40)",borderWidth:1}]}>
|
|
327
|
+
<Ve size={e?14:16}color={t.white}/>
|
|
285
328
|
</Te>
|
|
286
|
-
</S>
|
|
287
|
-
</S>
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
{!Y&&<S style={{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:e?10:14,paddingBottom:e?8:10,paddingTop:2,gap:6}}>
|
|
291
|
-
<S style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
292
|
-
|
|
293
|
-
<P onPress={Ne}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${t.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${t.white}33`}}>
|
|
294
|
-
<Lt size={e?12:13}color={t.white}/>
|
|
295
|
-
<C style={{fontFamily:D.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:t.white}}>
|
|
296
|
-
{V("header.photo")}
|
|
297
|
-
</C>
|
|
298
|
-
</P>
|
|
299
329
|
|
|
300
330
|
|
|
301
|
-
<
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
{v?`${V("header.rec")} ${_e(Ue)}`:V("header.record")}
|
|
305
|
-
</C>
|
|
306
|
-
</P>
|
|
331
|
+
<Te onPress={he}hitSlop={{top:12,bottom:12,left:12,right:12}}activeOpacity={.7}accessibilityRole="button"accessibilityLabel={I("common.close","Close")}style={[i.closeButtonSquare,{width:v,height:v,borderRadius:e?6:7,backgroundColor:"rgba(244, 63, 94, 0.28)",borderColor:"rgba(251, 113, 133, 0.48)",borderWidth:1}]}>
|
|
332
|
+
<Lt size={e?12:14}/>
|
|
333
|
+
</Te>
|
|
307
334
|
</S>
|
|
308
|
-
|
|
309
|
-
<S style={{flexDirection:"row",alignItems:"center",gap:6}}>
|
|
310
|
-
|
|
311
|
-
<P accessible={!0}accessibilityRole="button"accessibilityLabel={V("common.clearAll")}onPress={()=>{we.alert(V("header.clearEverythingTitle"),V("header.clearEverythingMessage"),[{text:V("common.cancel"),style:"cancel"},{text:V("common.clearAll"),onPress:ve,style:"destructive"}])}}hitSlop={10}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${t.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${t.white}33`}}>
|
|
312
|
-
<se.View style={{transform:[{rotate:he.interpolate({inputRange:[0,1],outputRange:["0deg","-25deg"]})},{scale:he.interpolate({inputRange:[0,.5,1],outputRange:[1,1.25,1]})}]}}>
|
|
313
|
-
<Vt color={t.white}size={e?12:13}/>
|
|
314
|
-
</se.View>
|
|
315
|
-
<C style={{fontFamily:D.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:t.white}}>
|
|
316
|
-
{V("common.clearAll")}
|
|
317
|
-
</C>
|
|
318
|
-
</P>
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
<P accessible={!0}accessibilityRole="button"accessibilityLabel={V("header.about")}onPress={()=>{ue(!0)}}hitSlop={10}style={{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:`${t.white}24`,paddingHorizontal:e?9:11,paddingVertical:e?5:6,borderRadius:7,borderWidth:1,borderColor:`${t.white}33`}}>
|
|
322
|
-
<Ot color={t.white}size={e?12:13}/>
|
|
323
|
-
<C style={{fontFamily:D.interSemiBold,fontSize:e?10.5:11.5,lineHeight:e?13:14,color:t.white}}>
|
|
324
|
-
{V("header.about")}
|
|
325
|
-
</C>
|
|
326
|
-
</P>
|
|
327
|
-
</S>
|
|
328
|
-
</S>}
|
|
335
|
+
</S>
|
|
329
336
|
</S>
|
|
330
337
|
</S>
|
|
331
338
|
|
|
332
339
|
|
|
333
|
-
<
|
|
340
|
+
<Rt visible={Ge}latestVersion={He}onClose={()=>ae(!1)}/>
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
<Mt visible={qe}onClose={()=>me(!1)}/>
|
|
334
344
|
|
|
335
345
|
|
|
336
|
-
<
|
|
337
|
-
</>});export default
|
|
346
|
+
<It item={be}visible={!!be}onClose={()=>N(null)}onDelete={async T=>{await E.deleteMedia(T.uri),F?.().catch(()=>{}),N(null)}}onConvertToGif={async T=>{const x=await E.convertToGif(T.uri,{fps:12,width:480});x&&(F?.().catch(()=>{}),N({id:`anim_${x.timestamp}.gif`,type:"gif",format:"gif",uri:x.uri,filename:x.uri.split("/").pop()||`anim_${x.timestamp}.gif`,sizeBytes:x.sizeBytes,timestamp:x.timestamp,durationMs:x.durationMs}))}}/>
|
|
347
|
+
</>});export default Nt;
|
|
@@ -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;
|