react-native-inapp-inspector 2.5.7 → 2.5.9

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.
Files changed (62) hide show
  1. package/README.md +19 -0
  2. package/android/.gradle/8.9/checksums/checksums.lock +0 -0
  3. package/android/.gradle/8.9/dependencies-accessors/gc.properties +0 -0
  4. package/android/.gradle/8.9/executionHistory/executionHistory.lock +0 -0
  5. package/android/.gradle/8.9/fileChanges/last-build.bin +0 -0
  6. package/android/.gradle/8.9/fileHashes/fileHashes.lock +0 -0
  7. package/android/.gradle/8.9/gc.properties +0 -0
  8. package/android/.gradle/9.2.0/checksums/checksums.lock +0 -0
  9. package/android/.gradle/9.2.0/fileChanges/last-build.bin +0 -0
  10. package/android/.gradle/9.2.0/fileHashes/fileHashes.bin +0 -0
  11. package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
  12. package/android/.gradle/9.2.0/gc.properties +0 -0
  13. package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  14. package/android/.gradle/buildOutputCleanup/cache.properties +2 -0
  15. package/android/.gradle/vcs-1/gc.properties +0 -0
  16. package/android/.settings/org.eclipse.buildship.core.prefs +13 -0
  17. package/android/build/reports/problems/problems-report.html +659 -0
  18. package/dist/commonjs/components/BrandCircleIcon.js +8 -3
  19. package/dist/commonjs/components/ConsoleLogCard.js +13 -13
  20. package/dist/commonjs/components/Inspector/ConsoleTab.js +5 -5
  21. package/dist/commonjs/components/Inspector/FabLauncher.js +8 -8
  22. package/dist/commonjs/components/Inspector/FloatingCaptureWidget.js +4 -4
  23. package/dist/commonjs/components/Inspector/InspectorHeader.js +30 -45
  24. package/dist/commonjs/components/Inspector/MainScreen.js +1 -1
  25. package/dist/commonjs/components/Inspector/NetworkTab.js +48 -48
  26. package/dist/commonjs/components/Inspector/NpmUpdateToast.js +5 -5
  27. package/dist/commonjs/components/Inspector/TabBar.js +5 -5
  28. package/dist/commonjs/components/LogCard.d.ts +1 -1
  29. package/dist/commonjs/components/LogCard.js +16 -16
  30. package/dist/commonjs/constants/telemetryConfig.d.ts +3 -3
  31. package/dist/commonjs/constants/telemetryConfig.js +1 -1
  32. package/dist/commonjs/constants/version.d.ts +1 -1
  33. package/dist/commonjs/constants/version.js +1 -1
  34. package/dist/commonjs/customHooks/networkLogger.d.ts +1 -17
  35. package/dist/commonjs/customHooks/networkLogger.js +1 -1
  36. package/dist/commonjs/index.js +1 -1
  37. package/dist/commonjs/styles/index.d.ts +3 -0
  38. package/dist/commonjs/styles/index.js +1 -1
  39. package/dist/commonjs/types/interfaces.d.ts +6 -2
  40. package/dist/esm/components/BrandCircleIcon.js +9 -4
  41. package/dist/esm/components/ConsoleLogCard.js +13 -13
  42. package/dist/esm/components/Inspector/ConsoleTab.js +9 -9
  43. package/dist/esm/components/Inspector/FabLauncher.js +1 -1
  44. package/dist/esm/components/Inspector/FloatingCaptureWidget.js +9 -9
  45. package/dist/esm/components/Inspector/InspectorHeader.js +84 -99
  46. package/dist/esm/components/Inspector/MainScreen.js +1 -1
  47. package/dist/esm/components/Inspector/NetworkTab.js +132 -132
  48. package/dist/esm/components/Inspector/NpmUpdateToast.js +18 -18
  49. package/dist/esm/components/Inspector/TabBar.js +23 -23
  50. package/dist/esm/components/LogCard.d.ts +1 -1
  51. package/dist/esm/components/LogCard.js +24 -24
  52. package/dist/esm/constants/telemetryConfig.d.ts +3 -3
  53. package/dist/esm/constants/telemetryConfig.js +1 -1
  54. package/dist/esm/constants/version.d.ts +1 -1
  55. package/dist/esm/constants/version.js +1 -1
  56. package/dist/esm/customHooks/networkLogger.d.ts +1 -17
  57. package/dist/esm/customHooks/networkLogger.js +1 -1
  58. package/dist/esm/index.js +4 -4
  59. package/dist/esm/styles/index.d.ts +3 -0
  60. package/dist/esm/styles/index.js +1 -1
  61. package/dist/esm/types/interfaces.d.ts +6 -2
  62. package/package.json +8 -3
@@ -1 +1 @@
1
- import{StyleSheet as o,Platform as r}from"react-native";import a,{updateAppColorsTheme as p,getThemeColors as n}from"./AppColors";import{AppFonts as t}from"./AppFonts";import m,{rebuildCommonStyles as f}from"./common";export{m as commonStyles};export const getRawStyles=e=>({header:{flexDirection:"row",alignItems:"center",paddingHorizontal:10,paddingVertical:4,zIndex:10,minHeight:44,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.08,shadowRadius:4,elevation:3},headerLeft:{flex:1,minWidth:0,alignItems:"flex-start"},headerCenter:{flex:1,minWidth:0,alignItems:"center",justifyContent:"center",paddingHorizontal:6},headerRight:{flexShrink:0,flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:6},headerTitle:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:16,lineHeight:22,letterSpacing:-.2,paddingBottom:0},envBadge:{paddingHorizontal:7,paddingVertical:2.5,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center",marginBottom:0},envBadgeText:{fontFamily:t.interBold,fontWeight:"700",fontSize:9.5,lineHeight:12,letterSpacing:.5},headerDetailCenter:{alignItems:"center",justifyContent:"center",flex:1,minWidth:0},headerDetailRow:{flexDirection:"row",alignItems:"center",gap:8,maxWidth:"100%"},headerMethodBadge:{paddingHorizontal:6.5,paddingVertical:3,borderRadius:6,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:1},headerMethodText:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:10,lineHeight:13,letterSpacing:.5},headerDetailTitle:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:15,lineHeight:20,flexShrink:1,letterSpacing:-.2},headerDetailSubRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:4},headerStatusDot:{width:7,height:7,borderRadius:3.5,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.2,shadowRadius:1,elevation:1},headerSubTitle:{fontFamily:t.interMedium,color:e.primaryLight,fontSize:11.5,lineHeight:15,opacity:.95,letterSpacing:.2},headerCountBadge:{flexDirection:"row",alignItems:"center",backgroundColor:`${e.black}33`,paddingHorizontal:12,paddingVertical:6,borderRadius:16,gap:6,borderWidth:.5,borderColor:`${e.white}33`,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:2},headerCountText:{fontFamily:t.interMedium,color:`${e.white}F2`,fontSize:12,lineHeight:16,letterSpacing:.2},listContent:{paddingBottom:r?.OS==="ios"?44:32},supportFab:{position:"absolute",bottom:22,right:16,width:42,height:42,borderRadius:21,backgroundColor:e.purple,alignItems:"center",justifyContent:"center",shadowColor:e.purple,shadowOffset:{width:0,height:4},shadowOpacity:.45,shadowRadius:8,elevation:14,zIndex:999,borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.25)"},scrollTopBtn:{position:"absolute",bottom:22,right:16,width:38,height:38,borderRadius:19,backgroundColor:e.purple,alignItems:"center",justifyContent:"center",shadowColor:e.black,shadowOffset:{width:0,height:3},shadowOpacity:.3,shadowRadius:6,elevation:12,zIndex:999},detailScroll:{flex:1},closeButtonSquare:{width:30,height:30,borderRadius:7,backgroundColor:`${e.white}2B`,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:`${e.white}33`,overflow:"hidden"},fabWrapper:{position:"absolute",bottom:180,right:20,alignItems:"center",justifyContent:"center",zIndex:99999,elevation:15,shadowColor:e.purple,shadowOffset:{width:0,height:8},shadowOpacity:.4,shadowRadius:12},fabPulseRing:{position:"absolute",width:68,height:68,borderRadius:34,backgroundColor:`${e.purple}25`},fabShineClip:{position:"absolute",width:68,height:68,borderRadius:34,overflow:"hidden"},fabCloseBadge:{position:"absolute",top:-4,right:-4,width:22,height:22,borderRadius:11,backgroundColor:e.red500,borderWidth:1.5,borderColor:e.white,alignItems:"center",justifyContent:"center",zIndex:1e3,elevation:20,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.35,shadowRadius:4},fabShineStreak:{position:"absolute",top:-20,width:26,height:102,transform:[{rotate:"25deg"}]},fabGreenDot:{position:"absolute",top:2,right:2,width:12,height:12,borderRadius:6,backgroundColor:e.greenA400,borderWidth:2,borderColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.2,shadowRadius:1.5,elevation:2},toolbarRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:8,marginBottom:8,gap:8,marginTop:4},toolbarRight:{flexDirection:"row",alignItems:"center",gap:8},toolbarBtn:{width:34,height:34,borderRadius:17,alignItems:"center",justifyContent:"center",backgroundColor:e.primaryLight,borderWidth:1.5,borderColor:e.grayBorderSecondary,...r?.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2}:{elevation:0}},toolbarBtnActive:{borderColor:e.purple,backgroundColor:e.purpleShade50,shadowOpacity:.08,shadowRadius:3,elevation:2},trashBadge:{position:"absolute",top:-4,right:-4,backgroundColor:e.errorColor,borderRadius:10,minWidth:18,height:18,alignItems:"center",justifyContent:"center",borderWidth:1.5,borderColor:e.primaryLight},trashBadgeText:{color:e.primaryLight,fontFamily:t.interBold,fontSize:9},filtersContainer:{paddingHorizontal:8,paddingBottom:8},filtersHeading:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:11,textTransform:"uppercase",letterSpacing:.6,marginBottom:6},statusRowContent:{alignItems:"center",paddingVertical:2},statusFilterWrap:{marginRight:6},statusFilterChip:{flexDirection:"row",alignItems:"center",paddingHorizontal:9,height:32,justifyContent:"center",borderRadius:24,borderWidth:1.5,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2,elevation:1},statusFilterActive:{borderColor:e.purple,backgroundColor:e.purpleShade50},filterCheckbox:{width:13,height:13,borderRadius:3,borderWidth:1.5,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,alignItems:"center",justifyContent:"center",marginRight:6},filterCheckboxActive:{borderColor:"transparent"},filterChipIcon:{marginRight:5},methodBadgeMini:{width:4.5,height:13,borderRadius:2,marginRight:6},statusFilterText:{fontFamily:t.interMedium,color:e.grayText,fontSize:11.5},resultCount:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:12,marginHorizontal:8,marginBottom:8,marginTop:4,letterSpacing:.2},searchContainer:{flex:1,flexDirection:"row",alignItems:"center",backgroundColor:e.primaryLight,borderRadius:24,paddingHorizontal:8,paddingVertical:4,borderWidth:1.5,borderColor:e.grayBorderSecondary,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2,elevation:1},searchInput:{flex:1,fontFamily:t.interRegular,color:e.primaryBlack,paddingVertical:r?.OS==="ios"?5:2,marginLeft:6,fontSize:14},clearBtn:{padding:4},domainHeaderCard:{marginHorizontal:5,marginTop:8,marginBottom:4,paddingHorizontal:7,paddingVertical:7,borderRadius:9,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.grayBorderSecondary},domainHeaderCardExpanded:{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottomWidth:0,marginBottom:0},domainHeaderTopRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},domainHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,minWidth:0,marginRight:6,gap:6},domainIconWrap:{width:22,height:22,borderRadius:5,alignItems:"center",justifyContent:"center"},domainTitleText:{fontFamily:t.interBold,fontSize:13,fontWeight:"700",color:e.primaryBlack,textTransform:"capitalize"},domainSummaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},domainSummaryText:{fontFamily:t.interRegular,fontSize:10,color:e.grayTextWeak},domainPctText:{fontFamily:t.interBold,fontSize:9.5},domainProgressSection:{marginTop:8,gap:4,width:"100%"},domainProgressTrack:{flexDirection:"row",height:4,borderRadius:2,overflow:"hidden",backgroundColor:e.grayBorderSecondary,width:"100%"},domainProgressSegment:{height:"100%"},domainProgressLabelsRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:2},domainProgressRateText:{fontFamily:t.interBold,fontSize:9.5,color:e.grayTextStrong},domainProgressSummaryText:{fontFamily:t.interMedium,fontSize:9,color:e.grayTextWeak},domainStatsGroup:{flexDirection:"row",alignItems:"center",flexShrink:0,gap:4},domainStatPill:{flexDirection:"row",alignItems:"center",gap:3,paddingHorizontal:5,paddingVertical:2.5,borderRadius:5,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight},domainStatText:{fontFamily:t.interBold,fontSize:9.5},treeNodeRow:{flexDirection:"row",alignItems:"stretch",marginHorizontal:5,paddingRight:3,paddingLeft:0,backgroundColor:e.grayBackground,borderLeftWidth:1,borderRightWidth:1,borderColor:e.grayBorderSecondary},treeNodeRowLast:{borderBottomWidth:1,borderBottomLeftRadius:10,borderBottomRightRadius:10,marginBottom:8,paddingBottom:5},treeLines:{width:11,position:"relative"},modernTreeLine:{position:"absolute",left:5,top:0,width:5,height:"100%",borderLeftWidth:1.5,opacity:.5},modernTreeLineLast:{height:"50%",borderBottomWidth:1.5,borderBottomLeftRadius:8},modernTreeBranch:{position:"absolute",left:5,top:"50%",width:6,borderTopWidth:1.5,opacity:.5},treeCardWrapper:{flex:1,paddingVertical:2.5},card:{marginHorizontal:0,marginVertical:0,borderRadius:12,overflow:"hidden",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight},cardBody:{paddingHorizontal:8,paddingTop:8,paddingBottom:7},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,minHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:6,gap:5,minWidth:0},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},smallCheckbox:{width:15,height:15,borderRadius:4,borderWidth:1.8,borderColor:e.grayTextWeak,alignItems:"center",justifyContent:"center",backgroundColor:e.white},smallCheckboxChecked:{backgroundColor:e.purple,borderColor:e.purple},serialNumber:{fontFamily:t.interBold,color:e.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:6.5,paddingVertical:2.5,borderRadius:5,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.3)",...r?.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.12,shadowRadius:2}:{elevation:1}},methodBadgeText:{fontFamily:t.interBold,fontSize:9.5,letterSpacing:.6,color:e.white},cardHostText:{fontFamily:t.interMedium,fontSize:12,color:e.primaryBlack,flexShrink:1},statusPill:{paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"},statusPillText:{fontFamily:t.interBold,fontSize:10},cardSlugBox:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:`${e.brandPurple}08`,borderRadius:8,borderWidth:1,borderColor:`${e.brandPurple}18`,paddingHorizontal:8,paddingVertical:6,marginVertical:5,gap:6},slugLeft:{flexDirection:"row",alignItems:"flex-start",flex:1,minWidth:0,gap:6},slugTag:{fontFamily:t.interBold,fontSize:8.5,color:e.brandPurple,letterSpacing:.5,backgroundColor:`${e.brandPurple}15`,paddingHorizontal:4,paddingVertical:1.5,borderRadius:4,marginTop:1,flexShrink:0},slugText:{fontFamily:t.interMedium,fontSize:11.5,lineHeight:15.5,color:e.primaryBlack,flex:1},slugRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:4,minHeight:18},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5,flexShrink:0},cardDateText:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:10,letterSpacing:.1},cardFooterRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},chip:{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:5,paddingVertical:2,borderRadius:5,borderWidth:1},chipText:{fontFamily:t.interBold,fontSize:9.5},empty:{flex:1,alignItems:"center",justifyContent:"center"},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:80,paddingHorizontal:20},emptyIconWrap:{width:72,height:72,borderRadius:36,backgroundColor:e.purpleShade50,alignItems:"center",justifyContent:"center",marginBottom:20,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.06,shadowRadius:4,elevation:1},emptyTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:18,marginBottom:8,letterSpacing:.3},emptySub:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:14,textAlign:"center",lineHeight:20,letterSpacing:.2},reloadBtn:{marginTop:28,paddingHorizontal:24,paddingVertical:12,backgroundColor:e.purple,borderRadius:24,shadowColor:e.purple,shadowOffset:{width:0,height:4},shadowOpacity:.35,shadowRadius:8,elevation:5},reloadBtnText:{color:e.white,fontFamily:t.interBold,fontSize:14,letterSpacing:.3},detailInfoBar:{borderRadius:14,paddingVertical:14,paddingHorizontal:10,marginBottom:12,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2},detailInfoTop:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingBottom:8,gap:8},detailInfoRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},metaContainer:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:14,marginBottom:12,overflow:"hidden",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2},metaHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},metaTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:12,letterSpacing:.6,textTransform:"uppercase"},metaBody:{paddingHorizontal:12,paddingBottom:8,paddingTop:4},metaRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:8},metaDivider:{height:1,backgroundColor:e.dividerColor},metaLabelRow:{flexDirection:"row",alignItems:"center",gap:8},metaLabel:{fontFamily:t.interBold,color:e.grayText,fontSize:13},metaValue:{fontFamily:t.interMedium,color:e.primaryBlack,fontSize:13},metaValueRow:{flexDirection:"row",alignItems:"center",gap:8},perfBadge:{paddingHorizontal:8,paddingVertical:2,borderRadius:6,borderWidth:1},perfBadgeText:{fontFamily:t.interBold,fontSize:11},detailSearchRow:{flexDirection:"row",alignItems:"center",marginBottom:10},detailSearchBox:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:e.primaryLight,borderRadius:12,paddingLeft:16,borderWidth:1,borderColor:e.grayBorderSecondary},detailSearchInput:{flex:1,fontFamily:t.interRegular,color:e.primaryBlack,height:40},sectionContainer:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:12,marginBottom:10,overflow:"hidden"},sectionHeaderGradient:{backgroundColor:e.grayBackground,paddingVertical:12,paddingHorizontal:8,borderBottomWidth:1,borderBottomColor:e.dividerColor},sectionHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},sectionTitleRow:{flexDirection:"row",alignItems:"center",gap:8,flex:1,marginRight:8},sectionTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:14,flexShrink:1},sectionHeaderActions:{flexDirection:"row",alignItems:"center",gap:6},htCard:{backgroundColor:e.primaryLight,borderRadius:12,borderWidth:1,borderColor:e.grayBorderSecondary,borderLeftWidth:3,marginBottom:10,overflow:"hidden"},htCardHeader:{flexDirection:"row",alignItems:"center",paddingHorizontal:8,paddingVertical:10,gap:8,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},htIconWrap:{width:28,height:28,borderRadius:8,alignItems:"center",justifyContent:"center"},htTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:13,flexShrink:1},htBadge:{borderRadius:10,paddingHorizontal:7,paddingVertical:2,borderWidth:1},htBadgeText:{fontFamily:t.interBold,fontSize:10},htHeaderSpacer:{flex:1},htChevronBtn:{width:30,height:30,borderRadius:8,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,alignItems:"center",justifyContent:"center"},htColHeadRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:6,backgroundColor:e.graySurface,borderBottomWidth:1,borderBottomColor:e.dividerColor},htColHead:{fontFamily:t.interBold,color:e.grayTextWeak,fontSize:10,letterSpacing:.8,textTransform:"uppercase"},htRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:0,alignItems:"flex-start"},htRowBorder:{borderBottomWidth:o.hairlineWidth,borderBottomColor:e.dividerColor},htKeyCell:{width:"30%",paddingVertical:10,paddingRight:4},htKey:{fontFamily:t.interMedium,color:e.purple,fontSize:11,lineHeight:16},htCellDivider:{width:o.hairlineWidth,backgroundColor:e.dividerColor,alignSelf:"stretch",marginVertical:4},htValueCell:{flex:1,paddingVertical:10,paddingLeft:6},htValue:{fontFamily:t.interRegular,color:e.primaryBlack,fontSize:11,lineHeight:17},htExpandRow:{marginTop:4},htExpandText:{fontFamily:t.interBold,color:e.purple,fontSize:10,letterSpacing:.3},htCopyBtn:{paddingHorizontal:6,paddingVertical:12,alignItems:"center",justifyContent:"center"},htEmpty:{paddingHorizontal:12,paddingVertical:16,alignItems:"center"},htEmptyText:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:12},iconSquareBtn:{width:30,height:30,borderRadius:8,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.grayBackground,alignItems:"center",justifyContent:"center"},iconSquareBtnSuccess:{borderColor:e.greenColor,backgroundColor:e.greenStatus},iconSquareBtnActive:{borderColor:e.skyBlue,backgroundColor:e.purpleShade50},codeBlockScroll:{width:"100%",backgroundColor:"transparent"},codeBlock:{paddingTop:12,paddingHorizontal:8,paddingBottom:16,minWidth:"100%"},codeSyntax:{color:e.grayTextWeak,fontFamily:t.interRegular,fontSize:12.5,lineHeight:18},codeKey:{color:e.purple,fontFamily:t.interBold,fontSize:12.5,lineHeight:18},codeText:{color:e.greenBaggageText,fontFamily:t.interRegular,fontSize:12.5,lineHeight:18},codeTextNil:{color:e.errorColor,fontFamily:t.interMedium,fontSize:12.5,lineHeight:18},treeRow:{flexDirection:"row",alignItems:"center",paddingVertical:6},treeKeyMargin:{marginRight:6},highlight:{backgroundColor:e.paleYellow,color:e.primaryBlack},arrayBadge:{backgroundColor:e.purpleShade50,borderColor:e.purple,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},arrayBadgeText:{fontFamily:t.interMedium,color:e.purple,fontSize:11},objectBadge:{backgroundColor:e.grayBackground,borderColor:e.grayTextWeak,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},objectBadgeText:{fontFamily:t.interMedium,color:e.grayTextWeak,fontSize:11},diffBlock:{paddingTop:12,paddingHorizontal:12,paddingBottom:16,gap:4},diffAdded:{color:e.greenColor,fontFamily:t.interRegular,fontSize:12},diffRemoved:{color:e.errorColor,fontFamily:t.interRegular,fontSize:12},diffChanged:{color:e.lightOrange,fontFamily:t.interRegular,fontSize:12},filePreviewNode:{paddingVertical:8,marginVertical:4},filePreviewCard:{flexDirection:"row",alignItems:"center",backgroundColor:e.grayBackground,borderRadius:10,padding:10,borderWidth:1,borderColor:e.grayBorderSecondary,gap:12,maxWidth:300},filePreviewThumb:{width:44,height:44,borderRadius:6,backgroundColor:e.grayBorderSecondary},filePreviewDoc:{width:44,height:44,borderRadius:6,backgroundColor:e.graySurface,alignItems:"center",justifyContent:"center"},filePreviewName:{fontFamily:t.interMedium,color:e.primaryBlack,fontSize:13,marginBottom:2},filePreviewType:{fontFamily:t.interRegular,color:e.grayText,fontSize:11},imagePreviewWrapper:{width:"100%",height:200,borderRadius:12,overflow:"hidden",marginBottom:16,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.grayBorderSecondary},imagePreview:{width:"100%",height:"100%"},imageDownloadBtn:{position:"absolute",bottom:12,right:12,width:36,height:36,borderRadius:18,backgroundColor:`${e.white}E6`,alignItems:"center",justifyContent:"center",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.2,shadowRadius:4,elevation:3},sourcePageCard:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:12,marginBottom:10,overflow:"hidden"},sourcePageAccordionHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},sourcePageTop:{flexDirection:"row",alignItems:"center",gap:10,flex:1},sourcePageHeaderRight:{flexDirection:"row",alignItems:"center",gap:6},sourcePageIcon:{width:36,height:36,borderRadius:10,backgroundColor:e.purpleShade50,borderWidth:1,borderColor:`${e.purple}30`,alignItems:"center",justifyContent:"center"},sourcePageLabel:{fontFamily:t.interRegular,color:e.grayText,fontSize:11,marginBottom:2},sourcePageValue:{fontFamily:t.interBold,color:e.purple,fontSize:14},sourceParamsBox:{borderTopWidth:1,borderTopColor:e.dividerColor},paramsAccordionHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.grayBackground},paramsAccordionLeft:{flexDirection:"row",alignItems:"center",gap:8},paramsAccordionRight:{flexDirection:"row",alignItems:"center",gap:6},sourceParamsLabel:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:12,letterSpacing:.4,textTransform:"uppercase"},paramsBody:{paddingHorizontal:12,paddingBottom:8,paddingTop:4},paramRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:10,gap:8},paramRowBorder:{borderBottomWidth:1,borderBottomColor:e.dividerColor},paramKey:{fontFamily:t.Sfprotext,color:e.purple,fontSize:12,flex:1},paramValueRow:{flexDirection:"row",alignItems:"center",gap:8,flex:2,justifyContent:"flex-end"},paramValue:{fontFamily:t.Sfprotext,color:e.greenBaggageText,fontSize:12,textAlign:"right",flexShrink:1},headerGradient:{width:"100%",borderTopLeftRadius:20,borderTopRightRadius:20,overflow:"visible",flexShrink:0},statusChip:{paddingHorizontal:10,paddingVertical:4,borderRadius:8,borderWidth:1},statusText:{fontFamily:t.interBold,fontSize:12},modalBackdrop:{flex:1,backgroundColor:`${e.black}73`,justifyContent:"flex-end",zIndex:999999,elevation:999999},modalBackdropPressable:{...o.absoluteFillObject},modalContentCard:{height:"90%",backgroundColor:e.grayBackground,borderTopLeftRadius:20,borderTopRightRadius:20,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:-4},shadowOpacity:.15,shadowRadius:10,zIndex:9999999,elevation:999999},tabBarContainer:{backgroundColor:e.primaryLight,borderBottomWidth:1,borderBottomColor:e.dividerColor,paddingVertical:7,paddingHorizontal:8},contentTabButton:{flexDirection:"row",alignItems:"center",paddingHorizontal:9,paddingVertical:5,borderRadius:8,marginRight:8,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.dividerColor},contentTabButtonActive:{backgroundColor:e.purple,borderColor:e.purple,shadowColor:e.purple,shadowOffset:{width:0,height:2},shadowOpacity:.12,shadowRadius:3,elevation:3},contentTabButtonText:{fontFamily:t.interMedium,fontSize:11.5,color:e.grayText},contentTabButtonTextActive:{color:e.white,fontFamily:t.interBold},analyticsHeaderCard:{backgroundColor:e.primaryLight,borderRadius:12,borderWidth:1,borderColor:`${e.brandPurple}20`,padding:12,marginHorizontal:10,marginTop:8,marginBottom:6,shadowColor:e.black,shadowOpacity:.03,shadowRadius:4,shadowOffset:{width:0,height:1},elevation:1},analyticsHeaderTop:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},analyticsHeaderTitle:{fontFamily:t.interBold,fontSize:13.5,color:e.primaryBlack},statusDot:{width:6,height:6,borderRadius:3},analyticsHeaderSubtitle:{fontFamily:t.interMedium,fontSize:11,color:e.grayTextWeak,marginTop:2},analyticsHeaderToggle:{paddingVertical:4.5,paddingHorizontal:9,borderRadius:7,backgroundColor:`${e.brandPurple}12`,borderWidth:1,borderColor:`${e.brandPurple}25`},analyticsHeaderToggleText:{fontFamily:t.interBold,fontSize:10.5,color:e.brandPurple},analyticsStatsRow:{flexDirection:"row",gap:8,borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10},analyticsStatBox:{flex:1,backgroundColor:e.grayBackground,borderRadius:6,paddingVertical:6,alignItems:"center"},analyticsStatValue:{fontFamily:t.interBold,fontSize:14,color:e.primaryBlack},analyticsStatLabel:{fontFamily:t.interRegular,fontSize:9,color:e.grayText,marginTop:1},analyticsHeaderDetails:{borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10,marginTop:10},detailsGroupTitle:{fontFamily:t.interBold,fontSize:11,color:e.purple,marginBottom:6},detailsRow:{flexDirection:"row",justifyContent:"space-between",paddingVertical:4,borderBottomWidth:.5,borderBottomColor:e.dividerColor},detailsKey:{fontFamily:t.interMedium,fontSize:11,color:e.primaryBlack},detailsValue:{fontFamily:t.interRegular,fontSize:11,color:e.grayText}});const i={},d=e=>{const l=e?n(!0):a,g=getRawStyles(l);Object.keys(i).forEach(h=>delete i[h]),Object.assign(i,g)};d(!1);export const toggleGlobalTheme=e=>{p(e),d(e),f(e?n(!0):a)};export default i;
1
+ import{StyleSheet as o,Platform as r}from"react-native";import a,{updateAppColorsTheme as p,getThemeColors as n}from"./AppColors";import{AppFonts as t}from"./AppFonts";import m,{rebuildCommonStyles as f}from"./common";export{m as commonStyles};export const getRawStyles=e=>({header:{flexDirection:"row",alignItems:"center",paddingHorizontal:10,paddingVertical:4,zIndex:10,minHeight:44,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.08,shadowRadius:4,elevation:3},headerLeft:{flex:1,minWidth:0,alignItems:"flex-start"},headerCenter:{flex:1,minWidth:0,alignItems:"center",justifyContent:"center",paddingHorizontal:6},headerRight:{flexShrink:0,flexDirection:"row",alignItems:"center",justifyContent:"flex-end",gap:6},headerTitle:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:16,lineHeight:22,letterSpacing:-.2,paddingBottom:0},envBadge:{paddingHorizontal:7,paddingVertical:2.5,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center",marginBottom:0},envBadgeText:{fontFamily:t.interBold,fontWeight:"700",fontSize:9.5,lineHeight:12,letterSpacing:.5},headerDetailCenter:{alignItems:"center",justifyContent:"center",flex:1,minWidth:0},headerDetailRow:{flexDirection:"row",alignItems:"center",gap:8,maxWidth:"100%"},headerMethodBadge:{paddingHorizontal:6.5,paddingVertical:3,borderRadius:6,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:1},headerMethodText:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:10,lineHeight:13,letterSpacing:.5},headerDetailTitle:{fontFamily:t.interBold,fontWeight:"700",color:e.primaryLight,fontSize:15,lineHeight:20,flexShrink:1,letterSpacing:-.2},headerDetailSubRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:4},headerStatusDot:{width:7,height:7,borderRadius:3.5,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.2,shadowRadius:1,elevation:1},headerSubTitle:{fontFamily:t.interMedium,color:e.primaryLight,fontSize:11.5,lineHeight:15,opacity:.95,letterSpacing:.2},headerCountBadge:{flexDirection:"row",alignItems:"center",backgroundColor:`${e.black}33`,paddingHorizontal:12,paddingVertical:6,borderRadius:16,gap:6,borderWidth:.5,borderColor:`${e.white}33`,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2,elevation:2},headerCountText:{fontFamily:t.interMedium,color:`${e.white}F2`,fontSize:12,lineHeight:16,letterSpacing:.2},listContent:{paddingBottom:r?.OS==="ios"?44:32},supportFab:{position:"absolute",bottom:22,right:16,width:42,height:42,borderRadius:21,backgroundColor:e.purple,alignItems:"center",justifyContent:"center",shadowColor:e.purple,shadowOffset:{width:0,height:4},shadowOpacity:.45,shadowRadius:8,elevation:14,zIndex:999,borderWidth:1.5,borderColor:"rgba(255, 255, 255, 0.25)"},scrollTopBtn:{position:"absolute",bottom:22,right:16,width:38,height:38,borderRadius:19,backgroundColor:e.purple,alignItems:"center",justifyContent:"center",shadowColor:e.black,shadowOffset:{width:0,height:3},shadowOpacity:.3,shadowRadius:6,elevation:12,zIndex:999},detailScroll:{flex:1},closeButtonSquare:{width:30,height:30,borderRadius:7,backgroundColor:`${e.white}2B`,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:`${e.white}33`,overflow:"hidden"},fabWrapper:{position:"absolute",bottom:180,right:20,width:68,height:68,borderRadius:34,alignItems:"center",justifyContent:"center",zIndex:99999,elevation:15,shadowColor:e.purple,shadowOffset:{width:0,height:8},shadowOpacity:.4,shadowRadius:12},fabPulseRing:{position:"absolute",width:68,height:68,borderRadius:34,backgroundColor:`${e.purple}25`},fabShineClip:{position:"absolute",width:68,height:68,borderRadius:34,overflow:"hidden"},fabCloseBadge:{position:"absolute",top:-4,right:-4,width:22,height:22,borderRadius:11,backgroundColor:e.red500,borderWidth:1.5,borderColor:e.white,alignItems:"center",justifyContent:"center",zIndex:1e3,elevation:20,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.35,shadowRadius:4},fabShineStreak:{position:"absolute",top:-20,width:26,height:102,transform:[{rotate:"25deg"}]},fabGreenDot:{position:"absolute",top:2,right:2,width:12,height:12,borderRadius:6,backgroundColor:e.greenA400,borderWidth:2,borderColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.2,shadowRadius:1.5,elevation:2},toolbarRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:8,marginBottom:8,gap:8,marginTop:4},toolbarRight:{flexDirection:"row",alignItems:"center",gap:8},toolbarBtn:{width:34,height:34,borderRadius:17,alignItems:"center",justifyContent:"center",backgroundColor:e.primaryLight,borderWidth:1.5,borderColor:e.grayBorderSecondary,...r?.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2}:{elevation:0}},toolbarBtnActive:{borderColor:e.purple,backgroundColor:e.purpleShade50,shadowOpacity:.08,shadowRadius:3,elevation:2},trashBadge:{position:"absolute",top:-4,right:-4,backgroundColor:e.errorColor,borderRadius:10,minWidth:18,height:18,alignItems:"center",justifyContent:"center",borderWidth:1.5,borderColor:e.primaryLight},trashBadgeText:{color:e.primaryLight,fontFamily:t.interBold,fontSize:9},filtersContainer:{paddingHorizontal:8,paddingBottom:8},filtersHeading:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:11,textTransform:"uppercase",letterSpacing:.6,marginBottom:6},statusRowContent:{alignItems:"center",paddingVertical:2},statusFilterWrap:{marginRight:6},statusFilterChip:{flexDirection:"row",alignItems:"center",paddingHorizontal:9,height:32,justifyContent:"center",borderRadius:24,borderWidth:1.5,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2,elevation:1},statusFilterActive:{borderColor:e.purple,backgroundColor:e.purpleShade50},filterCheckbox:{width:13,height:13,borderRadius:3,borderWidth:1.5,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,alignItems:"center",justifyContent:"center",marginRight:6},filterCheckboxActive:{borderColor:"transparent"},filterChipIcon:{marginRight:5},methodBadgeMini:{width:4.5,height:13,borderRadius:2,marginRight:6},statusFilterText:{fontFamily:t.interMedium,color:e.grayText,fontSize:11.5},resultCount:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:12,marginHorizontal:8,marginBottom:8,marginTop:4,letterSpacing:.2},searchContainer:{flex:1,flexDirection:"row",alignItems:"center",backgroundColor:e.primaryLight,borderRadius:24,paddingHorizontal:8,paddingVertical:4,borderWidth:1.5,borderColor:e.grayBorderSecondary,shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:2,elevation:1},searchInput:{flex:1,fontFamily:t.interRegular,color:e.primaryBlack,paddingVertical:r?.OS==="ios"?5:2,marginLeft:6,fontSize:14},clearBtn:{padding:4},domainHeaderCard:{marginHorizontal:5,marginTop:8,marginBottom:4,paddingHorizontal:7,paddingVertical:7,borderRadius:9,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.grayBorderSecondary},domainHeaderCardExpanded:{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottomWidth:0,marginBottom:0},domainHeaderTopRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},domainHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,minWidth:0,marginRight:6,gap:6},domainIconWrap:{width:22,height:22,borderRadius:5,alignItems:"center",justifyContent:"center"},domainTitleText:{fontFamily:t.interBold,fontSize:13,fontWeight:"700",color:e.primaryBlack,textTransform:"capitalize"},domainSummaryRow:{flexDirection:"row",alignItems:"center",gap:6,marginTop:1},domainSummaryText:{fontFamily:t.interRegular,fontSize:10,color:e.grayTextWeak},domainPctText:{fontFamily:t.interBold,fontSize:9.5},domainProgressSection:{marginTop:8,gap:4,width:"100%"},domainProgressTrack:{flexDirection:"row",height:4,borderRadius:2,overflow:"hidden",backgroundColor:e.grayBorderSecondary,width:"100%"},domainProgressSegment:{height:"100%"},domainProgressLabelsRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:2},domainProgressRateText:{fontFamily:t.interBold,fontSize:9.5,color:e.grayTextStrong},domainProgressSummaryText:{fontFamily:t.interMedium,fontSize:9,color:e.grayTextWeak},domainStatsGroup:{flexDirection:"row",alignItems:"center",flexShrink:0,gap:4},domainStatPill:{flexDirection:"row",alignItems:"center",gap:3,paddingHorizontal:5,paddingVertical:2.5,borderRadius:5,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight},domainStatText:{fontFamily:t.interBold,fontSize:9.5},treeNodeRow:{flexDirection:"row",alignItems:"stretch",marginHorizontal:5,paddingRight:3,paddingLeft:0,backgroundColor:e.grayBackground,borderLeftWidth:1,borderRightWidth:1,borderColor:e.grayBorderSecondary},treeNodeRowLast:{borderBottomWidth:1,borderBottomLeftRadius:10,borderBottomRightRadius:10,marginBottom:8,paddingBottom:5},treeLines:{width:11,position:"relative"},modernTreeLine:{position:"absolute",left:5,top:0,width:5,height:"100%",borderLeftWidth:1.5,opacity:.5},modernTreeLineLast:{height:"50%",borderBottomWidth:1.5,borderBottomLeftRadius:8},modernTreeBranch:{position:"absolute",left:5,top:"50%",width:6,borderTopWidth:1.5,opacity:.5},treeCardWrapper:{flex:1,paddingVertical:2.5},card:{marginHorizontal:0,marginVertical:0,borderRadius:12,overflow:"hidden",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight},cardBody:{paddingHorizontal:8,paddingTop:8,paddingBottom:7},cardHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:4,minHeight:22},cardHeaderLeft:{flexDirection:"row",alignItems:"center",flex:1,marginRight:6,gap:5,minWidth:0},cardHeaderRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},smallCheckbox:{width:15,height:15,borderRadius:4,borderWidth:1.8,borderColor:e.grayTextWeak,alignItems:"center",justifyContent:"center",backgroundColor:e.white},smallCheckboxChecked:{backgroundColor:e.purple,borderColor:e.purple},serialNumber:{fontFamily:t.interBold,color:e.grayTextWeak,fontSize:10},methodBadge:{paddingHorizontal:6.5,paddingVertical:2.5,borderRadius:5,alignItems:"center",justifyContent:"center",borderWidth:1,borderColor:"rgba(255, 255, 255, 0.3)",...r?.OS==="ios"?{shadowColor:e.black,shadowOffset:{width:0,height:1},shadowOpacity:.12,shadowRadius:2}:{elevation:1}},methodBadgeText:{fontFamily:t.interBold,fontSize:9.5,letterSpacing:.6,color:e.white},cardHostText:{fontFamily:t.interMedium,fontSize:12,color:e.primaryBlack,flexShrink:1},statusPill:{paddingHorizontal:6,paddingVertical:2,borderRadius:6,borderWidth:1,alignItems:"center",justifyContent:"center"},statusPillText:{fontFamily:t.interBold,fontSize:10},cardSlugBox:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:`${e.brandPurple}08`,borderRadius:8,borderWidth:1,borderColor:`${e.brandPurple}18`,paddingHorizontal:8,paddingVertical:6,marginVertical:5,gap:6},slugLeft:{flexDirection:"row",alignItems:"flex-start",flex:1,minWidth:0,gap:6},slugTag:{fontFamily:t.interBold,fontSize:8.5,color:e.brandPurple,letterSpacing:.5,backgroundColor:`${e.brandPurple}15`,paddingHorizontal:4,paddingVertical:1.5,borderRadius:4,marginTop:1,flexShrink:0},slugText:{fontFamily:t.interMedium,fontSize:11.5,lineHeight:15.5,color:e.primaryBlack,flex:1},slugRight:{flexDirection:"row",alignItems:"center",gap:4,flexShrink:0},cardFooterRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginTop:4,minHeight:18},cardDateRow:{flexDirection:"row",alignItems:"center",gap:3.5,flexShrink:0},cardDateText:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:10,letterSpacing:.1},cardFooterRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},chip:{flexDirection:"row",alignItems:"center",gap:3.5,paddingHorizontal:5,paddingVertical:2,borderRadius:5,borderWidth:1},chipText:{fontFamily:t.interBold,fontSize:9.5},empty:{flex:1,alignItems:"center",justifyContent:"center"},emptyContainer:{flex:1,alignItems:"center",justifyContent:"center",paddingVertical:80,paddingHorizontal:20},emptyIconWrap:{width:72,height:72,borderRadius:36,backgroundColor:e.purpleShade50,alignItems:"center",justifyContent:"center",marginBottom:20,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.06,shadowRadius:4,elevation:1},emptyTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:18,marginBottom:8,letterSpacing:.3},emptySub:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:14,textAlign:"center",lineHeight:20,letterSpacing:.2},reloadBtn:{marginTop:28,paddingHorizontal:24,paddingVertical:12,backgroundColor:e.purple,borderRadius:24,shadowColor:e.purple,shadowOffset:{width:0,height:4},shadowOpacity:.35,shadowRadius:8,elevation:5},reloadBtnText:{color:e.white,fontFamily:t.interBold,fontSize:14,letterSpacing:.3},detailInfoBar:{borderRadius:14,paddingVertical:14,paddingHorizontal:10,marginBottom:12,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2},detailInfoTop:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingBottom:8,gap:8},detailInfoRight:{flexDirection:"row",alignItems:"center",gap:5,flexShrink:0},metaContainer:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:14,marginBottom:12,overflow:"hidden",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.05,shadowRadius:4,elevation:2},metaHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},metaTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:12,letterSpacing:.6,textTransform:"uppercase"},metaBody:{paddingHorizontal:12,paddingBottom:8,paddingTop:4},metaRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:8},metaDivider:{height:1,backgroundColor:e.dividerColor},metaLabelRow:{flexDirection:"row",alignItems:"center",gap:8},metaLabel:{fontFamily:t.interBold,color:e.grayText,fontSize:13},metaValue:{fontFamily:t.interMedium,color:e.primaryBlack,fontSize:13},metaValueRow:{flexDirection:"row",alignItems:"center",gap:8},perfBadge:{paddingHorizontal:8,paddingVertical:2,borderRadius:6,borderWidth:1},perfBadgeText:{fontFamily:t.interBold,fontSize:11},detailSearchRow:{flexDirection:"row",alignItems:"center",marginBottom:10},detailSearchBox:{flex:1,flexDirection:"row",alignItems:"center",justifyContent:"space-between",backgroundColor:e.primaryLight,borderRadius:12,paddingLeft:16,borderWidth:1,borderColor:e.grayBorderSecondary},detailSearchInput:{flex:1,fontFamily:t.interRegular,color:e.primaryBlack,height:40},sectionContainer:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:12,marginBottom:10,overflow:"hidden"},sectionHeaderGradient:{backgroundColor:e.grayBackground,paddingVertical:12,paddingHorizontal:8,borderBottomWidth:1,borderBottomColor:e.dividerColor},sectionHeaderRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},sectionTitleRow:{flexDirection:"row",alignItems:"center",gap:8,flex:1,marginRight:8},sectionTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:14,flexShrink:1},sectionHeaderActions:{flexDirection:"row",alignItems:"center",gap:6},htCard:{backgroundColor:e.primaryLight,borderRadius:12,borderWidth:1,borderColor:e.grayBorderSecondary,borderLeftWidth:3,marginBottom:10,overflow:"hidden"},htCardHeader:{flexDirection:"row",alignItems:"center",paddingHorizontal:8,paddingVertical:10,gap:8,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},htIconWrap:{width:28,height:28,borderRadius:8,alignItems:"center",justifyContent:"center"},htTitle:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:13,flexShrink:1},htBadge:{borderRadius:10,paddingHorizontal:7,paddingVertical:2,borderWidth:1},htBadgeText:{fontFamily:t.interBold,fontSize:10},htHeaderSpacer:{flex:1},htChevronBtn:{width:30,height:30,borderRadius:8,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.primaryLight,alignItems:"center",justifyContent:"center"},htColHeadRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:6,backgroundColor:e.graySurface,borderBottomWidth:1,borderBottomColor:e.dividerColor},htColHead:{fontFamily:t.interBold,color:e.grayTextWeak,fontSize:10,letterSpacing:.8,textTransform:"uppercase"},htRow:{flexDirection:"row",paddingHorizontal:8,paddingVertical:0,alignItems:"flex-start"},htRowBorder:{borderBottomWidth:o.hairlineWidth,borderBottomColor:e.dividerColor},htKeyCell:{width:"30%",paddingVertical:10,paddingRight:4},htKey:{fontFamily:t.interMedium,color:e.purple,fontSize:11,lineHeight:16},htCellDivider:{width:o.hairlineWidth,backgroundColor:e.dividerColor,alignSelf:"stretch",marginVertical:4},htValueCell:{flex:1,paddingVertical:10,paddingLeft:6},htValue:{fontFamily:t.interRegular,color:e.primaryBlack,fontSize:11,lineHeight:17},htExpandRow:{marginTop:4},htExpandText:{fontFamily:t.interBold,color:e.purple,fontSize:10,letterSpacing:.3},htCopyBtn:{paddingHorizontal:6,paddingVertical:12,alignItems:"center",justifyContent:"center"},htEmpty:{paddingHorizontal:12,paddingVertical:16,alignItems:"center"},htEmptyText:{fontFamily:t.interRegular,color:e.grayTextWeak,fontSize:12},iconSquareBtn:{width:30,height:30,borderRadius:8,borderWidth:1,borderColor:e.grayBorderSecondary,backgroundColor:e.grayBackground,alignItems:"center",justifyContent:"center"},iconSquareBtnSuccess:{borderColor:e.greenColor,backgroundColor:e.greenStatus},iconSquareBtnActive:{borderColor:e.skyBlue,backgroundColor:e.purpleShade50},codeBlockScroll:{width:"100%",backgroundColor:"transparent"},codeBlock:{paddingTop:12,paddingHorizontal:8,paddingBottom:16,minWidth:"100%"},codeSyntax:{color:e.grayTextWeak,fontFamily:t.interRegular,fontSize:12.5,lineHeight:18},codeKey:{color:e.purple,fontFamily:t.interBold,fontSize:12.5,lineHeight:18},codeText:{color:e.greenBaggageText,fontFamily:t.interRegular,fontSize:12.5,lineHeight:18},codeTextNil:{color:e.errorColor,fontFamily:t.interMedium,fontSize:12.5,lineHeight:18},treeRow:{flexDirection:"row",alignItems:"center",paddingVertical:6},treeKeyMargin:{marginRight:6},highlight:{backgroundColor:e.paleYellow,color:e.primaryBlack},arrayBadge:{backgroundColor:e.purpleShade50,borderColor:e.purple,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},arrayBadgeText:{fontFamily:t.interMedium,color:e.purple,fontSize:11},objectBadge:{backgroundColor:e.grayBackground,borderColor:e.grayTextWeak,borderWidth:1,borderRadius:6,paddingHorizontal:6,paddingVertical:2},objectBadgeText:{fontFamily:t.interMedium,color:e.grayTextWeak,fontSize:11},diffBlock:{paddingTop:12,paddingHorizontal:12,paddingBottom:16,gap:4},diffAdded:{color:e.greenColor,fontFamily:t.interRegular,fontSize:12},diffRemoved:{color:e.errorColor,fontFamily:t.interRegular,fontSize:12},diffChanged:{color:e.lightOrange,fontFamily:t.interRegular,fontSize:12},filePreviewNode:{paddingVertical:8,marginVertical:4},filePreviewCard:{flexDirection:"row",alignItems:"center",backgroundColor:e.grayBackground,borderRadius:10,padding:10,borderWidth:1,borderColor:e.grayBorderSecondary,gap:12,maxWidth:300},filePreviewThumb:{width:44,height:44,borderRadius:6,backgroundColor:e.grayBorderSecondary},filePreviewDoc:{width:44,height:44,borderRadius:6,backgroundColor:e.graySurface,alignItems:"center",justifyContent:"center"},filePreviewName:{fontFamily:t.interMedium,color:e.primaryBlack,fontSize:13,marginBottom:2},filePreviewType:{fontFamily:t.interRegular,color:e.grayText,fontSize:11},imagePreviewWrapper:{width:"100%",height:200,borderRadius:12,overflow:"hidden",marginBottom:16,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.grayBorderSecondary},imagePreview:{width:"100%",height:"100%"},imageDownloadBtn:{position:"absolute",bottom:12,right:12,width:36,height:36,borderRadius:18,backgroundColor:`${e.white}E6`,alignItems:"center",justifyContent:"center",shadowColor:e.black,shadowOffset:{width:0,height:2},shadowOpacity:.2,shadowRadius:4,elevation:3},sourcePageCard:{backgroundColor:e.primaryLight,borderWidth:1,borderColor:e.grayBorderSecondary,borderRadius:12,marginBottom:10,overflow:"hidden"},sourcePageAccordionHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.primaryLight},sourcePageTop:{flexDirection:"row",alignItems:"center",gap:10,flex:1},sourcePageHeaderRight:{flexDirection:"row",alignItems:"center",gap:6},sourcePageIcon:{width:36,height:36,borderRadius:10,backgroundColor:e.purpleShade50,borderWidth:1,borderColor:`${e.purple}30`,alignItems:"center",justifyContent:"center"},sourcePageLabel:{fontFamily:t.interRegular,color:e.grayText,fontSize:11,marginBottom:2},sourcePageValue:{fontFamily:t.interBold,color:e.purple,fontSize:14},sourceParamsBox:{borderTopWidth:1,borderTopColor:e.dividerColor},paramsAccordionHeader:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingHorizontal:12,paddingVertical:10,borderBottomWidth:1,borderBottomColor:e.dividerColor,backgroundColor:e.grayBackground},paramsAccordionLeft:{flexDirection:"row",alignItems:"center",gap:8},paramsAccordionRight:{flexDirection:"row",alignItems:"center",gap:6},sourceParamsLabel:{fontFamily:t.interBold,color:e.grayTextStrong,fontSize:12,letterSpacing:.4,textTransform:"uppercase"},paramsBody:{paddingHorizontal:12,paddingBottom:8,paddingTop:4},paramRow:{flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingVertical:10,gap:8},paramRowBorder:{borderBottomWidth:1,borderBottomColor:e.dividerColor},paramKey:{fontFamily:t.Sfprotext,color:e.purple,fontSize:12,flex:1},paramValueRow:{flexDirection:"row",alignItems:"center",gap:8,flex:2,justifyContent:"flex-end"},paramValue:{fontFamily:t.Sfprotext,color:e.greenBaggageText,fontSize:12,textAlign:"right",flexShrink:1},headerGradient:{width:"100%",borderTopLeftRadius:20,borderTopRightRadius:20,overflow:"visible",flexShrink:0},statusChip:{paddingHorizontal:10,paddingVertical:4,borderRadius:8,borderWidth:1},statusText:{fontFamily:t.interBold,fontSize:12},modalBackdrop:{flex:1,backgroundColor:`${e.black}73`,justifyContent:"flex-end",zIndex:999999,elevation:999999},modalBackdropPressable:{...o.absoluteFillObject},modalContentCard:{height:"90%",backgroundColor:e.grayBackground,borderTopLeftRadius:20,borderTopRightRadius:20,overflow:"visible",shadowColor:e.black,shadowOffset:{width:0,height:-4},shadowOpacity:.15,shadowRadius:10,zIndex:9999999,elevation:999999},tabBarContainer:{backgroundColor:e.primaryLight,borderBottomWidth:1,borderBottomColor:e.dividerColor,paddingVertical:7,paddingHorizontal:8},contentTabButton:{flexDirection:"row",alignItems:"center",paddingHorizontal:9,paddingVertical:5,borderRadius:8,marginRight:8,backgroundColor:e.grayBackground,borderWidth:1,borderColor:e.dividerColor},contentTabButtonActive:{backgroundColor:e.purple,borderColor:e.purple,shadowColor:e.purple,shadowOffset:{width:0,height:2},shadowOpacity:.12,shadowRadius:3,elevation:3},contentTabButtonText:{fontFamily:t.interMedium,fontSize:11.5,color:e.grayText},contentTabButtonTextActive:{color:e.white,fontFamily:t.interBold},analyticsHeaderCard:{backgroundColor:e.primaryLight,borderRadius:12,borderWidth:1,borderColor:`${e.brandPurple}20`,padding:12,marginHorizontal:10,marginTop:8,marginBottom:6,shadowColor:e.black,shadowOpacity:.03,shadowRadius:4,shadowOffset:{width:0,height:1},elevation:1},analyticsHeaderTop:{flexDirection:"row",justifyContent:"space-between",alignItems:"center"},analyticsHeaderTitle:{fontFamily:t.interBold,fontSize:13.5,color:e.primaryBlack},statusDot:{width:6,height:6,borderRadius:3},analyticsHeaderSubtitle:{fontFamily:t.interMedium,fontSize:11,color:e.grayTextWeak,marginTop:2},analyticsHeaderToggle:{paddingVertical:4.5,paddingHorizontal:9,borderRadius:7,backgroundColor:`${e.brandPurple}12`,borderWidth:1,borderColor:`${e.brandPurple}25`},analyticsHeaderToggleText:{fontFamily:t.interBold,fontSize:10.5,color:e.brandPurple},analyticsStatsRow:{flexDirection:"row",gap:8,borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10},analyticsStatBox:{flex:1,backgroundColor:e.grayBackground,borderRadius:6,paddingVertical:6,alignItems:"center"},analyticsStatValue:{fontFamily:t.interBold,fontSize:14,color:e.primaryBlack},analyticsStatLabel:{fontFamily:t.interRegular,fontSize:9,color:e.grayText,marginTop:1},analyticsHeaderDetails:{borderTopWidth:1,borderTopColor:e.dividerColor,paddingTop:10,marginTop:10},detailsGroupTitle:{fontFamily:t.interBold,fontSize:11,color:e.purple,marginBottom:6},detailsRow:{flexDirection:"row",justifyContent:"space-between",paddingVertical:4,borderBottomWidth:.5,borderBottomColor:e.dividerColor},detailsKey:{fontFamily:t.interMedium,fontSize:11,color:e.primaryBlack},detailsValue:{fontFamily:t.interRegular,fontSize:11,color:e.grayText}});const i={},d=e=>{const l=e?n(!0):a,g=getRawStyles(l);Object.keys(i).forEach(h=>delete i[h]),Object.assign(i,g)};d(!1);export const toggleGlobalTheme=e=>{p(e),d(e),f(e?n(!0):a)};export default i;
@@ -93,8 +93,8 @@ export interface NetworkLog {
93
93
  id: number;
94
94
  url: string;
95
95
  method: string;
96
- status: number | null;
97
- duration: number | null;
96
+ status?: number | null;
97
+ duration?: number | null;
98
98
  startTime: number;
99
99
  request?: unknown;
100
100
  response?: unknown;
@@ -447,6 +447,8 @@ export interface InspectorContextValue {
447
447
  setPeekOpacity: React.Dispatch<React.SetStateAction<number>>;
448
448
  previewMediaItem: import('../capture').CapturedMediaItem | null;
449
449
  setPreviewMediaItem: React.Dispatch<React.SetStateAction<import('../capture').CapturedMediaItem | null>>;
450
+ isUpdatePopupVisible?: boolean;
451
+ setIsUpdatePopupVisible?: React.Dispatch<React.SetStateAction<boolean>>;
450
452
  }
451
453
  export interface CopyButtonProps {
452
454
  value: unknown | (() => unknown);
@@ -482,6 +484,7 @@ export interface LogCardProps {
482
484
  isSelected: boolean;
483
485
  onToggleSelect: (id: number) => void;
484
486
  searchStr?: string;
487
+ testID?: string;
485
488
  }
486
489
  export interface MetaAccordionProps {
487
490
  status: number | null | undefined;
@@ -538,6 +541,7 @@ export interface ConsoleLogCardProps {
538
541
  item: ConsoleLog;
539
542
  searchStr?: string;
540
543
  onPress?: (item: ConsoleLog) => void;
544
+ testID?: string;
541
545
  }
542
546
  export interface JsonContent {
543
547
  header: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-inapp-inspector",
3
- "version": "2.5.7",
3
+ "version": "2.5.9",
4
4
  "description": "The zero-config, all-in-one in-app debugger & network logger for React Native & Expo (Flipper / Chucker alternative). Inspect Network (fetch/Axios/GraphQL), Console logs with Metro Symbolication, Redux State, Firebase Analytics, Storage (AsyncStorage/MMKV), Hardware Telemetry, and JS Bundle size directly on device.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -134,8 +134,13 @@
134
134
  "watch": "tsc -w",
135
135
  "prepack": "npm run build",
136
136
  "release": "node release.cjs",
137
- "bundle-visualizer": "react-native-bundle-visualizer",
138
- "serve-apk": "node ./bin/cli.js 8083"
137
+ "serve-apk": "node ./bin/cli.js 8083",
138
+ "e2e:build:ios": "cd example && npm run e2e:build:ios",
139
+ "e2e:test:ios": "cd example && npm run e2e:test:ios",
140
+ "e2e:build:android": "cd example && npm run e2e:build:android",
141
+ "e2e:test:android": "cd example && npm run e2e:test:android",
142
+ "e2e:coverage": "cd example && npm run e2e:coverage",
143
+ "e2e:report": "cd example && npm run e2e:report"
139
144
  },
140
145
  "bin": {
141
146
  "react-native-inapp-inspector": "./bin/cli.js"