react-native-inapp-inspector 1.1.18 → 1.1.19

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 (291) hide show
  1. package/dist/commonjs/constants/version.d.ts +1 -1
  2. package/dist/commonjs/constants/version.js +1 -1
  3. package/dist/esm/constants/version.d.ts +1 -1
  4. package/dist/esm/constants/version.js +1 -1
  5. package/package.json +2 -4
  6. package/assets/banner_dark.svg +0 -186
  7. package/assets/banner_light.svg +0 -186
  8. package/assets/icon_circle.svg +0 -148
  9. package/assets/icon_square.svg +0 -148
  10. package/assets/social_preview.png +0 -0
  11. package/assets/walkthrough.gif +0 -0
  12. package/dist/commonjs/assets/svgAssets.d.ts +0 -3
  13. package/dist/commonjs/assets/svgAssets.js +0 -17
  14. package/dist/commonjs/components/AnalyticsTabView.d.ts +0 -15
  15. package/dist/commonjs/components/AnalyticsTabView.js +0 -157
  16. package/dist/commonjs/components/ApiDetailView.d.ts +0 -22
  17. package/dist/commonjs/components/ApiDetailView.js +0 -304
  18. package/dist/commonjs/components/ApisTabView.d.ts +0 -33
  19. package/dist/commonjs/components/ApisTabView.js +0 -235
  20. package/dist/commonjs/components/ConsoleLogDetailView.d.ts +0 -9
  21. package/dist/commonjs/components/ConsoleLogDetailView.js +0 -278
  22. package/dist/commonjs/components/ConsoleLogsTabView.d.ts +0 -24
  23. package/dist/commonjs/components/ConsoleLogsTabView.js +0 -354
  24. package/dist/commonjs/components/FloatingBubble.d.ts +0 -14
  25. package/dist/commonjs/components/FloatingBubble.js +0 -75
  26. package/dist/commonjs/components/Inspector/InsightsDashboard.d.ts +0 -3
  27. package/dist/commonjs/components/Inspector/InsightsDashboard.js +0 -619
  28. package/dist/commonjs/components/Inspector/WebViewTab.d.ts +0 -3
  29. package/dist/commonjs/components/Inspector/WebViewTab.js +0 -757
  30. package/dist/commonjs/components/InspectorHeader.d.ts +0 -19
  31. package/dist/commonjs/components/InspectorHeader.js +0 -329
  32. package/dist/commonjs/components/InspectorTabBar.d.ts +0 -16
  33. package/dist/commonjs/components/InspectorTabBar.js +0 -90
  34. package/dist/commonjs/components/NavigationTracker.d.ts +0 -7
  35. package/dist/commonjs/components/NavigationTracker.js +0 -76
  36. package/dist/commonjs/components/ReduxTabView.d.ts +0 -9
  37. package/dist/commonjs/components/ReduxTabView.js +0 -56
  38. package/dist/commonjs/components/ReduxTreeView.d.ts +0 -16
  39. package/dist/commonjs/components/ReduxTreeView.js +0 -1257
  40. package/dist/commonjs/components/SettingsView.d.ts +0 -13
  41. package/dist/commonjs/components/SettingsView.js +0 -328
  42. package/dist/commonjs/customHooks/webViewLogger.d.ts +0 -24
  43. package/dist/commonjs/customHooks/webViewLogger.js +0 -452
  44. package/dist/commonjs/enums/index.d.ts +0 -39
  45. package/dist/commonjs/enums/index.js +0 -50
  46. package/dist/commonjs/i18n/en.json +0 -144
  47. package/dist/esm/assets/svgAssets.d.ts +0 -3
  48. package/dist/esm/assets/svgAssets.js +0 -14
  49. package/dist/esm/components/AnalyticsTabView.d.ts +0 -15
  50. package/dist/esm/components/AnalyticsTabView.js +0 -151
  51. package/dist/esm/components/ApiDetailView.d.ts +0 -22
  52. package/dist/esm/components/ApiDetailView.js +0 -264
  53. package/dist/esm/components/ApisTabView.d.ts +0 -33
  54. package/dist/esm/components/ApisTabView.js +0 -196
  55. package/dist/esm/components/ConsoleLogDetailView.d.ts +0 -9
  56. package/dist/esm/components/ConsoleLogDetailView.js +0 -271
  57. package/dist/esm/components/ConsoleLogsTabView.d.ts +0 -24
  58. package/dist/esm/components/ConsoleLogsTabView.js +0 -348
  59. package/dist/esm/components/FloatingBubble.d.ts +0 -14
  60. package/dist/esm/components/FloatingBubble.js +0 -68
  61. package/dist/esm/components/Inspector/InsightsDashboard.d.ts +0 -3
  62. package/dist/esm/components/Inspector/InsightsDashboard.js +0 -614
  63. package/dist/esm/components/Inspector/WebViewTab.d.ts +0 -3
  64. package/dist/esm/components/Inspector/WebViewTab.js +0 -752
  65. package/dist/esm/components/InspectorHeader.d.ts +0 -19
  66. package/dist/esm/components/InspectorHeader.js +0 -323
  67. package/dist/esm/components/InspectorTabBar.d.ts +0 -16
  68. package/dist/esm/components/InspectorTabBar.js +0 -84
  69. package/dist/esm/components/NavigationTracker.d.ts +0 -7
  70. package/dist/esm/components/NavigationTracker.js +0 -39
  71. package/dist/esm/components/ReduxTabView.d.ts +0 -9
  72. package/dist/esm/components/ReduxTabView.js +0 -50
  73. package/dist/esm/components/ReduxTreeView.d.ts +0 -16
  74. package/dist/esm/components/ReduxTreeView.js +0 -1218
  75. package/dist/esm/components/SettingsView.d.ts +0 -13
  76. package/dist/esm/components/SettingsView.js +0 -321
  77. package/dist/esm/customHooks/webViewLogger.d.ts +0 -24
  78. package/dist/esm/customHooks/webViewLogger.js +0 -405
  79. package/dist/esm/enums/index.d.ts +0 -39
  80. package/dist/esm/enums/index.js +0 -47
  81. package/dist/esm/i18n/en.json +0 -144
  82. package/example/.bundle/config +0 -2
  83. package/example/.eslintrc.js +0 -4
  84. package/example/.prettierrc.js +0 -5
  85. package/example/.watchmanconfig +0 -1
  86. package/example/App.tsx +0 -879
  87. package/example/Gemfile +0 -17
  88. package/example/README.md +0 -53
  89. package/example/__tests__/App.test.tsx +0 -13
  90. package/example/android/app/build.gradle +0 -147
  91. package/example/android/app/debug.keystore +0 -0
  92. package/example/android/app/proguard-rules.pro +0 -10
  93. package/example/android/app/src/main/AndroidManifest.xml +0 -27
  94. package/example/android/app/src/main/java/com/example/MainActivity.kt +0 -22
  95. package/example/android/app/src/main/java/com/example/MainApplication.kt +0 -52
  96. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
  97. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  98. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  99. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  100. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  101. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  102. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  103. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  104. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  105. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  106. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  107. package/example/android/app/src/main/res/values/strings.xml +0 -3
  108. package/example/android/app/src/main/res/values/styles.xml +0 -9
  109. package/example/android/build.gradle +0 -48
  110. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  111. package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  112. package/example/android/gradle.properties +0 -45
  113. package/example/android/gradlew +0 -248
  114. package/example/android/gradlew.bat +0 -98
  115. package/example/android/settings.gradle +0 -25
  116. package/example/app.json +0 -4
  117. package/example/assets/app_icon.png +0 -0
  118. package/example/babel.config.js +0 -3
  119. package/example/guidance/Video-WalkThrough.mp4 +0 -0
  120. package/example/index.js +0 -9
  121. package/example/ios/.xcode.env +0 -11
  122. package/example/ios/Podfile +0 -34
  123. package/example/ios/Podfile.lock +0 -2303
  124. package/example/ios/example/AppDelegate.swift +0 -48
  125. package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +0 -62
  126. package/example/ios/example/Images.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
  127. package/example/ios/example/Images.xcassets/Contents.json +0 -6
  128. package/example/ios/example/Info.plist +0 -60
  129. package/example/ios/example/LaunchScreen.storyboard +0 -47
  130. package/example/ios/example/PrivacyInfo.xcprivacy +0 -37
  131. package/example/ios/example.xcodeproj/project.pbxproj +0 -498
  132. package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +0 -88
  133. package/example/ios/example.xcworkspace/contents.xcworkspacedata +0 -10
  134. package/example/jest.config.js +0 -3
  135. package/example/metro.config.js +0 -45
  136. package/example/package-lock.json +0 -13508
  137. package/example/package.json +0 -54
  138. package/example/polyfill.js +0 -13
  139. package/example/tsconfig.json +0 -8
  140. package/fonts/Inter/Inter.ttc +0 -0
  141. package/fonts/Inter/InterVariable-Italic.ttf +0 -0
  142. package/fonts/Inter/InterVariable.ttf +0 -0
  143. package/fonts/Inter/LICENSE.txt +0 -92
  144. package/fonts/Inter/extras/otf/Inter-Black.otf +0 -0
  145. package/fonts/Inter/extras/otf/Inter-BlackItalic.otf +0 -0
  146. package/fonts/Inter/extras/otf/Inter-Bold.otf +0 -0
  147. package/fonts/Inter/extras/otf/Inter-BoldItalic.otf +0 -0
  148. package/fonts/Inter/extras/otf/Inter-ExtraBold.otf +0 -0
  149. package/fonts/Inter/extras/otf/Inter-ExtraBoldItalic.otf +0 -0
  150. package/fonts/Inter/extras/otf/Inter-ExtraLight.otf +0 -0
  151. package/fonts/Inter/extras/otf/Inter-ExtraLightItalic.otf +0 -0
  152. package/fonts/Inter/extras/otf/Inter-Italic.otf +0 -0
  153. package/fonts/Inter/extras/otf/Inter-Light.otf +0 -0
  154. package/fonts/Inter/extras/otf/Inter-LightItalic.otf +0 -0
  155. package/fonts/Inter/extras/otf/Inter-Medium.otf +0 -0
  156. package/fonts/Inter/extras/otf/Inter-MediumItalic.otf +0 -0
  157. package/fonts/Inter/extras/otf/Inter-Regular.otf +0 -0
  158. package/fonts/Inter/extras/otf/Inter-SemiBold.otf +0 -0
  159. package/fonts/Inter/extras/otf/Inter-SemiBoldItalic.otf +0 -0
  160. package/fonts/Inter/extras/otf/Inter-Thin.otf +0 -0
  161. package/fonts/Inter/extras/otf/Inter-ThinItalic.otf +0 -0
  162. package/fonts/Inter/extras/otf/InterDisplay-Black.otf +0 -0
  163. package/fonts/Inter/extras/otf/InterDisplay-BlackItalic.otf +0 -0
  164. package/fonts/Inter/extras/otf/InterDisplay-Bold.otf +0 -0
  165. package/fonts/Inter/extras/otf/InterDisplay-BoldItalic.otf +0 -0
  166. package/fonts/Inter/extras/otf/InterDisplay-ExtraBold.otf +0 -0
  167. package/fonts/Inter/extras/otf/InterDisplay-ExtraBoldItalic.otf +0 -0
  168. package/fonts/Inter/extras/otf/InterDisplay-ExtraLight.otf +0 -0
  169. package/fonts/Inter/extras/otf/InterDisplay-ExtraLightItalic.otf +0 -0
  170. package/fonts/Inter/extras/otf/InterDisplay-Italic.otf +0 -0
  171. package/fonts/Inter/extras/otf/InterDisplay-Light.otf +0 -0
  172. package/fonts/Inter/extras/otf/InterDisplay-LightItalic.otf +0 -0
  173. package/fonts/Inter/extras/otf/InterDisplay-Medium.otf +0 -0
  174. package/fonts/Inter/extras/otf/InterDisplay-MediumItalic.otf +0 -0
  175. package/fonts/Inter/extras/otf/InterDisplay-Regular.otf +0 -0
  176. package/fonts/Inter/extras/otf/InterDisplay-SemiBold.otf +0 -0
  177. package/fonts/Inter/extras/otf/InterDisplay-SemiBoldItalic.otf +0 -0
  178. package/fonts/Inter/extras/otf/InterDisplay-Thin.otf +0 -0
  179. package/fonts/Inter/extras/otf/InterDisplay-ThinItalic.otf +0 -0
  180. package/fonts/Inter/extras/ttf/Inter-Black.ttf +0 -0
  181. package/fonts/Inter/extras/ttf/Inter-BlackItalic.ttf +0 -0
  182. package/fonts/Inter/extras/ttf/Inter-Bold.ttf +0 -0
  183. package/fonts/Inter/extras/ttf/Inter-BoldItalic.ttf +0 -0
  184. package/fonts/Inter/extras/ttf/Inter-ExtraBold.ttf +0 -0
  185. package/fonts/Inter/extras/ttf/Inter-ExtraBoldItalic.ttf +0 -0
  186. package/fonts/Inter/extras/ttf/Inter-ExtraLight.ttf +0 -0
  187. package/fonts/Inter/extras/ttf/Inter-ExtraLightItalic.ttf +0 -0
  188. package/fonts/Inter/extras/ttf/Inter-Italic.ttf +0 -0
  189. package/fonts/Inter/extras/ttf/Inter-Light.ttf +0 -0
  190. package/fonts/Inter/extras/ttf/Inter-LightItalic.ttf +0 -0
  191. package/fonts/Inter/extras/ttf/Inter-Medium.ttf +0 -0
  192. package/fonts/Inter/extras/ttf/Inter-MediumItalic.ttf +0 -0
  193. package/fonts/Inter/extras/ttf/Inter-Regular.ttf +0 -0
  194. package/fonts/Inter/extras/ttf/Inter-SemiBold.ttf +0 -0
  195. package/fonts/Inter/extras/ttf/Inter-SemiBoldItalic.ttf +0 -0
  196. package/fonts/Inter/extras/ttf/Inter-Thin.ttf +0 -0
  197. package/fonts/Inter/extras/ttf/Inter-ThinItalic.ttf +0 -0
  198. package/fonts/Inter/extras/ttf/InterDisplay-Black.ttf +0 -0
  199. package/fonts/Inter/extras/ttf/InterDisplay-BlackItalic.ttf +0 -0
  200. package/fonts/Inter/extras/ttf/InterDisplay-Bold.ttf +0 -0
  201. package/fonts/Inter/extras/ttf/InterDisplay-BoldItalic.ttf +0 -0
  202. package/fonts/Inter/extras/ttf/InterDisplay-ExtraBold.ttf +0 -0
  203. package/fonts/Inter/extras/ttf/InterDisplay-ExtraBoldItalic.ttf +0 -0
  204. package/fonts/Inter/extras/ttf/InterDisplay-ExtraLight.ttf +0 -0
  205. package/fonts/Inter/extras/ttf/InterDisplay-ExtraLightItalic.ttf +0 -0
  206. package/fonts/Inter/extras/ttf/InterDisplay-Italic.ttf +0 -0
  207. package/fonts/Inter/extras/ttf/InterDisplay-Light.ttf +0 -0
  208. package/fonts/Inter/extras/ttf/InterDisplay-LightItalic.ttf +0 -0
  209. package/fonts/Inter/extras/ttf/InterDisplay-Medium.ttf +0 -0
  210. package/fonts/Inter/extras/ttf/InterDisplay-MediumItalic.ttf +0 -0
  211. package/fonts/Inter/extras/ttf/InterDisplay-Regular.ttf +0 -0
  212. package/fonts/Inter/extras/ttf/InterDisplay-SemiBold.ttf +0 -0
  213. package/fonts/Inter/extras/ttf/InterDisplay-SemiBoldItalic.ttf +0 -0
  214. package/fonts/Inter/extras/ttf/InterDisplay-Thin.ttf +0 -0
  215. package/fonts/Inter/extras/ttf/InterDisplay-ThinItalic.ttf +0 -0
  216. package/fonts/Inter/extras/woff-hinted/Inter-Black.woff2 +0 -0
  217. package/fonts/Inter/extras/woff-hinted/Inter-BlackItalic.woff2 +0 -0
  218. package/fonts/Inter/extras/woff-hinted/Inter-Bold.woff2 +0 -0
  219. package/fonts/Inter/extras/woff-hinted/Inter-BoldItalic.woff2 +0 -0
  220. package/fonts/Inter/extras/woff-hinted/Inter-ExtraBold.woff2 +0 -0
  221. package/fonts/Inter/extras/woff-hinted/Inter-ExtraBoldItalic.woff2 +0 -0
  222. package/fonts/Inter/extras/woff-hinted/Inter-ExtraLight.woff2 +0 -0
  223. package/fonts/Inter/extras/woff-hinted/Inter-ExtraLightItalic.woff2 +0 -0
  224. package/fonts/Inter/extras/woff-hinted/Inter-Italic.woff2 +0 -0
  225. package/fonts/Inter/extras/woff-hinted/Inter-Light.woff2 +0 -0
  226. package/fonts/Inter/extras/woff-hinted/Inter-LightItalic.woff2 +0 -0
  227. package/fonts/Inter/extras/woff-hinted/Inter-Medium.woff2 +0 -0
  228. package/fonts/Inter/extras/woff-hinted/Inter-MediumItalic.woff2 +0 -0
  229. package/fonts/Inter/extras/woff-hinted/Inter-Regular.woff2 +0 -0
  230. package/fonts/Inter/extras/woff-hinted/Inter-SemiBold.woff2 +0 -0
  231. package/fonts/Inter/extras/woff-hinted/Inter-SemiBoldItalic.woff2 +0 -0
  232. package/fonts/Inter/extras/woff-hinted/Inter-Thin.woff2 +0 -0
  233. package/fonts/Inter/extras/woff-hinted/Inter-ThinItalic.woff2 +0 -0
  234. package/fonts/Inter/extras/woff-hinted/InterDisplay-Black.woff2 +0 -0
  235. package/fonts/Inter/extras/woff-hinted/InterDisplay-BlackItalic.woff2 +0 -0
  236. package/fonts/Inter/extras/woff-hinted/InterDisplay-Bold.woff2 +0 -0
  237. package/fonts/Inter/extras/woff-hinted/InterDisplay-BoldItalic.woff2 +0 -0
  238. package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBold.woff2 +0 -0
  239. package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBoldItalic.woff2 +0 -0
  240. package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLight.woff2 +0 -0
  241. package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLightItalic.woff2 +0 -0
  242. package/fonts/Inter/extras/woff-hinted/InterDisplay-Italic.woff2 +0 -0
  243. package/fonts/Inter/extras/woff-hinted/InterDisplay-Light.woff2 +0 -0
  244. package/fonts/Inter/extras/woff-hinted/InterDisplay-LightItalic.woff2 +0 -0
  245. package/fonts/Inter/extras/woff-hinted/InterDisplay-Medium.woff2 +0 -0
  246. package/fonts/Inter/extras/woff-hinted/InterDisplay-MediumItalic.woff2 +0 -0
  247. package/fonts/Inter/extras/woff-hinted/InterDisplay-Regular.woff2 +0 -0
  248. package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBold.woff2 +0 -0
  249. package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBoldItalic.woff2 +0 -0
  250. package/fonts/Inter/extras/woff-hinted/InterDisplay-Thin.woff2 +0 -0
  251. package/fonts/Inter/extras/woff-hinted/InterDisplay-ThinItalic.woff2 +0 -0
  252. package/fonts/Inter/help.txt +0 -165
  253. package/fonts/Inter/web/Inter-Black.woff2 +0 -0
  254. package/fonts/Inter/web/Inter-BlackItalic.woff2 +0 -0
  255. package/fonts/Inter/web/Inter-Bold.woff2 +0 -0
  256. package/fonts/Inter/web/Inter-BoldItalic.woff2 +0 -0
  257. package/fonts/Inter/web/Inter-ExtraBold.woff2 +0 -0
  258. package/fonts/Inter/web/Inter-ExtraBoldItalic.woff2 +0 -0
  259. package/fonts/Inter/web/Inter-ExtraLight.woff2 +0 -0
  260. package/fonts/Inter/web/Inter-ExtraLightItalic.woff2 +0 -0
  261. package/fonts/Inter/web/Inter-Italic.woff2 +0 -0
  262. package/fonts/Inter/web/Inter-Light.woff2 +0 -0
  263. package/fonts/Inter/web/Inter-LightItalic.woff2 +0 -0
  264. package/fonts/Inter/web/Inter-Medium.woff2 +0 -0
  265. package/fonts/Inter/web/Inter-MediumItalic.woff2 +0 -0
  266. package/fonts/Inter/web/Inter-Regular.woff2 +0 -0
  267. package/fonts/Inter/web/Inter-SemiBold.woff2 +0 -0
  268. package/fonts/Inter/web/Inter-SemiBoldItalic.woff2 +0 -0
  269. package/fonts/Inter/web/Inter-Thin.woff2 +0 -0
  270. package/fonts/Inter/web/Inter-ThinItalic.woff2 +0 -0
  271. package/fonts/Inter/web/InterDisplay-Black.woff2 +0 -0
  272. package/fonts/Inter/web/InterDisplay-BlackItalic.woff2 +0 -0
  273. package/fonts/Inter/web/InterDisplay-Bold.woff2 +0 -0
  274. package/fonts/Inter/web/InterDisplay-BoldItalic.woff2 +0 -0
  275. package/fonts/Inter/web/InterDisplay-ExtraBold.woff2 +0 -0
  276. package/fonts/Inter/web/InterDisplay-ExtraBoldItalic.woff2 +0 -0
  277. package/fonts/Inter/web/InterDisplay-ExtraLight.woff2 +0 -0
  278. package/fonts/Inter/web/InterDisplay-ExtraLightItalic.woff2 +0 -0
  279. package/fonts/Inter/web/InterDisplay-Italic.woff2 +0 -0
  280. package/fonts/Inter/web/InterDisplay-Light.woff2 +0 -0
  281. package/fonts/Inter/web/InterDisplay-LightItalic.woff2 +0 -0
  282. package/fonts/Inter/web/InterDisplay-Medium.woff2 +0 -0
  283. package/fonts/Inter/web/InterDisplay-MediumItalic.woff2 +0 -0
  284. package/fonts/Inter/web/InterDisplay-Regular.woff2 +0 -0
  285. package/fonts/Inter/web/InterDisplay-SemiBold.woff2 +0 -0
  286. package/fonts/Inter/web/InterDisplay-SemiBoldItalic.woff2 +0 -0
  287. package/fonts/Inter/web/InterDisplay-Thin.woff2 +0 -0
  288. package/fonts/Inter/web/InterDisplay-ThinItalic.woff2 +0 -0
  289. package/fonts/Inter/web/InterVariable-Italic.woff2 +0 -0
  290. package/fonts/Inter/web/InterVariable.woff2 +0 -0
  291. package/fonts/Inter/web/inter.css +0 -148
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { Animated } from 'react-native';
3
- import { NetworkLog, AnalyticsEvent, ConsoleLog } from '../types';
4
- interface InspectorHeaderProps {
5
- headerTopPadding: number;
6
- selected: NetworkLog | null;
7
- selectedEvent: AnalyticsEvent | null;
8
- selectedConsoleLog: ConsoleLog | null;
9
- detailTitle: string;
10
- showHeaderInfo: boolean;
11
- clearAnim: Animated.Value;
12
- onBack: () => void;
13
- onToggleHeaderInfo: () => void;
14
- onClearAll: () => void;
15
- onOpenSettings: () => void;
16
- onCloseModal: () => void;
17
- }
18
- export declare const InspectorHeader: React.FC<InspectorHeaderProps>;
19
- export default InspectorHeader;
@@ -1,323 +0,0 @@
1
- import React from 'react';
2
- import { Alert, Animated, Text, View, } from 'react-native';
3
- import LinearGradient from 'react-native-linear-gradient';
4
- import { useTranslation } from 'react-i18next';
5
- import TouchableScale from './TouchableScale';
6
- import { WhiteBackNavigation, WipeIcon, SettingsIcon, CloseWhite, ClockIcon, BrandCircleIcon, ChevronIcon, } from './NetworkIcons';
7
- import { AppColors } from '../styles/AppColors';
8
- import { AppFonts } from '../styles/AppFonts';
9
- import styles from '../styles';
10
- import { METHOD_COLORS, LIB_VERSION } from '../constants';
11
- import { getStatusColor, getAppName } from '../helpers';
12
- export const InspectorHeader = React.memo(({ headerTopPadding, selected, selectedEvent, selectedConsoleLog, detailTitle, showHeaderInfo, clearAnim, onBack, onToggleHeaderInfo, onClearAll, onOpenSettings, onCloseModal, }) => {
13
- const { t } = useTranslation();
14
- const isNoDetailSelected = selected == null && selectedEvent == null && selectedConsoleLog == null;
15
- return (<LinearGradient colors={[AppColors.purple, AppColors.gradientPurpleStart]} style={styles.headerGradient}>
16
- <View style={{ paddingTop: headerTopPadding, width: '100%' }}>
17
- <View style={styles.header}>
18
- <View style={[
19
- styles.headerLeft,
20
- {
21
- flexDirection: 'row',
22
- alignItems: 'center',
23
- gap: 16,
24
- flex: isNoDetailSelected ? 5 : 1,
25
- },
26
- ]}>
27
- <TouchableScale onPress={onBack} hitSlop={15} style={[
28
- {
29
- width: 38,
30
- height: 38,
31
- borderRadius: 19,
32
- alignItems: 'center',
33
- justifyContent: 'center',
34
- backgroundColor: 'rgba(255,255,255,0.18)',
35
- borderWidth: 1,
36
- borderColor: 'rgba(255,255,255,0.30)',
37
- },
38
- isNoDetailSelected && { display: 'none' },
39
- ]}>
40
- <View style={{
41
- position: 'absolute',
42
- width: 48,
43
- height: 48,
44
- borderRadius: 24,
45
- backgroundColor: 'rgba(255,255,255,0.10)',
46
- }}/>
47
- <WhiteBackNavigation />
48
- </TouchableScale>
49
-
50
- {isNoDetailSelected ? (<TouchableScale onPress={onToggleHeaderInfo} style={{
51
- flexDirection: 'row',
52
- alignItems: 'center',
53
- gap: 10,
54
- flex: 1,
55
- }}>
56
- <View style={{
57
- width: 38,
58
- height: 38,
59
- borderRadius: 19,
60
- backgroundColor: 'rgba(255,255,255,0.13)',
61
- borderWidth: 1.5,
62
- borderColor: 'rgba(255,255,255,0.25)',
63
- alignItems: 'center',
64
- justifyContent: 'center',
65
- }}>
66
- <BrandCircleIcon size={26} color={AppColors.white}/>
67
- </View>
68
- <View style={styles.columnFlex1}>
69
- <View style={styles.rowGap4}>
70
- <Text style={[
71
- styles.headerTitle,
72
- { fontSize: 16, color: AppColors.white },
73
- ]}>
74
- {t('header.title')}
75
- </Text>
76
- <View style={{
77
- transform: [
78
- { rotate: showHeaderInfo ? '180deg' : '0deg' },
79
- ],
80
- }}>
81
- <ChevronIcon color="rgba(255,255,255,0.7)" size={12}/>
82
- </View>
83
- </View>
84
-
85
- {showHeaderInfo && (<View style={{
86
- marginTop: 4,
87
- padding: 8,
88
- backgroundColor: 'rgba(0,0,0,0.25)',
89
- borderRadius: 8,
90
- borderWidth: 1,
91
- borderColor: 'rgba(255,255,255,0.15)',
92
- gap: 4,
93
- }}>
94
- <Text style={{
95
- fontFamily: AppFonts.interBold,
96
- fontSize: 11,
97
- color: AppColors.white,
98
- }}>
99
- {getAppName()}
100
- </Text>
101
- <View style={{
102
- flexDirection: 'row',
103
- alignItems: 'center',
104
- gap: 6,
105
- }}>
106
- <Text style={{
107
- fontFamily: AppFonts.interMedium,
108
- fontSize: 10,
109
- color: 'rgba(255,255,255,0.8)',
110
- }}>
111
- {t('header.engine')}
112
- </Text>
113
- <View style={{
114
- paddingHorizontal: 6,
115
- paddingVertical: 1,
116
- borderRadius: 4,
117
- backgroundColor: 'rgba(255,255,255,0.2)',
118
- }}>
119
- <Text style={{
120
- fontFamily: AppFonts.interBold,
121
- fontSize: 9,
122
- color: AppColors.white,
123
- }}>
124
- v{LIB_VERSION}
125
- </Text>
126
- </View>
127
- </View>
128
- </View>)}
129
- </View>
130
- </TouchableScale>) : null}
131
- </View>
132
-
133
- {!isNoDetailSelected && (<View style={styles.headerCenter}>
134
- {selected != null ? (<View style={styles.headerDetailCenter}>
135
- <View style={styles.headerDetailRow}>
136
- <View style={[
137
- styles.headerMethodBadge,
138
- {
139
- backgroundColor: METHOD_COLORS[selected.method] ??
140
- AppColors.grayText,
141
- },
142
- ]}>
143
- <Text style={styles.headerMethodText}>
144
- {selected.method}
145
- </Text>
146
- </View>
147
- <Text style={styles.headerDetailTitle} numberOfLines={1} ellipsizeMode="middle">
148
- {detailTitle}
149
- </Text>
150
- </View>
151
- <View style={styles.headerDetailSubRow}>
152
- <View style={{
153
- flexDirection: 'row',
154
- alignItems: 'center',
155
- gap: 5,
156
- paddingHorizontal: 8,
157
- paddingVertical: 3,
158
- borderRadius: 20,
159
- backgroundColor: `${getStatusColor(selected.status)}26`,
160
- borderWidth: 1,
161
- borderColor: `${getStatusColor(selected.status)}55`,
162
- }}>
163
- <View style={[
164
- styles.headerStatusDot,
165
- {
166
- backgroundColor: getStatusColor(selected.status),
167
- },
168
- ]}/>
169
- <Text style={[
170
- styles.headerSubTitle,
171
- { fontFamily: AppFonts.interBold },
172
- ]}>
173
- {selected.status === 0
174
- ? 'Failed'
175
- : selected.status ?? 'Pending'}
176
- </Text>
177
- </View>
178
- <View style={{
179
- flexDirection: 'row',
180
- alignItems: 'center',
181
- gap: 4,
182
- paddingHorizontal: 8,
183
- paddingVertical: 3,
184
- borderRadius: 20,
185
- backgroundColor: 'rgba(255,255,255,0.16)',
186
- }}>
187
- <ClockIcon color={AppColors.white} size={11}/>
188
- <Text style={styles.headerSubTitle}>
189
- {selected.duration != null
190
- ? `${selected.duration}ms`
191
- : '—'}
192
- </Text>
193
- </View>
194
- </View>
195
- </View>) : selectedEvent != null ? (<View style={styles.headerDetailCenter}>
196
- <View style={styles.headerDetailRow}>
197
- <View style={[
198
- styles.headerMethodBadge,
199
- {
200
- backgroundColor: selectedEvent.source === 'firebase'
201
- ? 'rgba(224,123,26,0.3)'
202
- : 'rgba(124,92,191,0.3)',
203
- },
204
- ]}>
205
- <Text style={styles.headerMethodText}>
206
- {selectedEvent.source === 'firebase' ? 'FB' : 'MAN'}
207
- </Text>
208
- </View>
209
- <Text style={styles.headerDetailTitle} numberOfLines={1} ellipsizeMode="middle">
210
- {selectedEvent.name}
211
- </Text>
212
- </View>
213
- <View style={styles.headerDetailSubRow}>
214
- <View style={[
215
- styles.headerStatusDot,
216
- {
217
- backgroundColor: selectedEvent.source === 'firebase'
218
- ? AppColors.amber
219
- : AppColors.purple,
220
- },
221
- ]}/>
222
- <Text style={styles.headerSubTitle}>
223
- {Object.keys(selectedEvent.params ?? {}).length} param
224
- {Object.keys(selectedEvent.params ?? {}).length !== 1
225
- ? 's'
226
- : ''}
227
- {' · '}
228
- {selectedEvent.source}
229
- </Text>
230
- </View>
231
- </View>) : selectedConsoleLog != null ? (<View style={styles.headerDetailCenter}>
232
- <View style={styles.headerDetailRow}>
233
- <View style={[
234
- styles.headerMethodBadge,
235
- {
236
- backgroundColor: selectedConsoleLog.type === 'error'
237
- ? AppColors.errorColor
238
- : selectedConsoleLog.type === 'warn'
239
- ? AppColors.lightOrange
240
- : AppColors.purple,
241
- },
242
- ]}>
243
- <Text style={styles.headerMethodText}>
244
- {selectedConsoleLog.type?.toUpperCase() || 'LOG'}
245
- </Text>
246
- </View>
247
- <Text style={styles.headerDetailTitle} numberOfLines={1} ellipsizeMode="middle">
248
- {t('details.console_log')} #{selectedConsoleLog.id + 1}
249
- </Text>
250
- </View>
251
- <View style={styles.headerDetailSubRow}>
252
- <Text style={styles.headerSubTitle}>
253
- console.
254
- {selectedConsoleLog.sourceMethod ||
255
- selectedConsoleLog.type ||
256
- 'log'}
257
- </Text>
258
- </View>
259
- </View>) : null}
260
- </View>)}
261
-
262
- <View style={[
263
- styles.headerRight,
264
- isNoDetailSelected && {
265
- flexShrink: 0,
266
- minWidth: 116,
267
- },
268
- ]}>
269
- {isNoDetailSelected && (<TouchableScale onPress={() => {
270
- Alert.alert(t('header.clear_all'), t('header.clear_all_confirm'), [
271
- { text: t('header.cancel'), style: 'cancel' },
272
- {
273
- text: t('header.clear'),
274
- onPress: onClearAll,
275
- style: 'destructive',
276
- },
277
- ]);
278
- }} hitSlop={15} style={[
279
- styles.closeButtonSquare,
280
- {
281
- marginRight: 8,
282
- backgroundColor: 'rgba(255,255,255,0.15)',
283
- },
284
- ]}>
285
- <Animated.View style={{
286
- transform: [
287
- {
288
- rotate: clearAnim.interpolate({
289
- inputRange: [0, 1],
290
- outputRange: ['0deg', '-25deg'],
291
- }),
292
- },
293
- {
294
- scale: clearAnim.interpolate({
295
- inputRange: [0, 0.5, 1],
296
- outputRange: [1, 1.25, 1],
297
- }),
298
- },
299
- ],
300
- }}>
301
- <WipeIcon color={AppColors.white} size={16}/>
302
- </Animated.View>
303
- </TouchableScale>)}
304
-
305
- {isNoDetailSelected && (<TouchableScale onPress={onOpenSettings} hitSlop={15} style={[
306
- styles.closeButtonSquare,
307
- {
308
- marginRight: 8,
309
- backgroundColor: 'rgba(255,255,255,0.15)',
310
- },
311
- ]}>
312
- <SettingsIcon color={AppColors.white} size={16}/>
313
- </TouchableScale>)}
314
-
315
- <TouchableScale onPress={onCloseModal} hitSlop={15} style={styles.closeButtonSquare}>
316
- <CloseWhite size={16}/>
317
- </TouchableScale>
318
- </View>
319
- </View>
320
- </View>
321
- </LinearGradient>);
322
- });
323
- export default InspectorHeader;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { Animated } from 'react-native';
3
- import { ActiveTab } from '../types';
4
- interface InspectorTabBarProps {
5
- activeTab: ActiveTab;
6
- tabVisibility: Record<string, boolean>;
7
- apisCount: number;
8
- logsCount: number;
9
- analyticsCount: number;
10
- hasUnreadApis: boolean;
11
- hasUnreadLogs: boolean;
12
- unreadPulseAnim: Animated.Value;
13
- onSelectTab: (tabKey: ActiveTab) => void;
14
- }
15
- export declare const InspectorTabBar: React.FC<InspectorTabBarProps>;
16
- export default InspectorTabBar;
@@ -1,84 +0,0 @@
1
- import React from 'react';
2
- import { Animated, ScrollView, Text, View } from 'react-native';
3
- import { useTranslation } from 'react-i18next';
4
- import TouchableScale from './TouchableScale';
5
- import { SignalIcon, TerminalIcon, AnalyticsIcon, } from './NetworkIcons';
6
- import { InspectorTab } from '../enums';
7
- import { AppColors } from '../styles/AppColors';
8
- import styles from '../styles';
9
- export const InspectorTabBar = React.memo(({ activeTab, tabVisibility, apisCount, logsCount, analyticsCount, hasUnreadApis, hasUnreadLogs, unreadPulseAnim, onSelectTab, }) => {
10
- const { t } = useTranslation();
11
- const tabs = [
12
- {
13
- key: InspectorTab.APIs,
14
- label: t('tabs.apis'),
15
- count: apisCount,
16
- hasUnread: hasUnreadApis,
17
- icon: (color) => <SignalIcon color={color} size={14}/>,
18
- },
19
- {
20
- key: InspectorTab.Logs,
21
- label: t('tabs.logs'),
22
- count: logsCount,
23
- hasUnread: hasUnreadLogs,
24
- icon: (color) => <TerminalIcon color={color} size={14}/>,
25
- },
26
- {
27
- key: InspectorTab.Analytics,
28
- label: t('tabs.analytics'),
29
- count: analyticsCount,
30
- hasUnread: false,
31
- icon: (color) => <AnalyticsIcon color={color} size={14}/>,
32
- },
33
- {
34
- key: InspectorTab.Redux,
35
- label: t('tabs.redux'),
36
- count: null,
37
- hasUnread: false,
38
- icon: (color) => (<View style={{ width: 14, height: 14, alignItems: 'center', justifyContent: 'center' }}>
39
- <Text style={{ fontSize: 10, color, fontWeight: '700' }}>⚛︎</Text>
40
- </View>),
41
- },
42
- ];
43
- return (<View style={styles.tabBarContainer}>
44
- <ScrollView horizontal showsHorizontalScrollIndicator={false} contentContainerStyle={{ paddingRight: 16 }}>
45
- {tabs
46
- .filter(tab => tabVisibility?.[tab.key])
47
- .map(tab => {
48
- const isActive = activeTab === tab.key;
49
- const iconColor = isActive ? AppColors.white : AppColors.grayText;
50
- const countLabel = tab.count > 99 ? '99+' : String(tab.count);
51
- const showUnread = (tab.key === 'apis' && hasUnreadApis) ||
52
- (tab.key === 'logs' && hasUnreadLogs);
53
- return (<TouchableScale key={tab.key} onPress={() => onSelectTab(tab.key)} style={[
54
- styles.contentTabButton,
55
- isActive && styles.contentTabButtonActive,
56
- ]}>
57
- <View style={{
58
- flexDirection: 'row',
59
- alignItems: 'center',
60
- gap: 6,
61
- }}>
62
- {typeof tab.icon === 'function' ? tab.icon(iconColor) : null}
63
- <Text numberOfLines={1} ellipsizeMode="tail" style={[
64
- styles.contentTabButtonText,
65
- isActive && styles.contentTabButtonTextActive,
66
- ]}>
67
- {tab.label} {tab.count > 0 ? `(${countLabel})` : ''}
68
- </Text>
69
- {showUnread && (<Animated.View style={{
70
- width: 6,
71
- height: 6,
72
- borderRadius: 3,
73
- backgroundColor: AppColors.errorColor,
74
- marginLeft: 4,
75
- alignSelf: 'center',
76
- transform: [{ scale: unreadPulseAnim }],
77
- }}/>)}
78
- </View>
79
- </TouchableScale>);
80
- })}
81
- </ScrollView>
82
- </View>);
83
- });
84
- export default InspectorTabBar;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- interface NavigationTrackerProps {
3
- onStateChange: (state: any) => void;
4
- navigationRef?: any;
5
- }
6
- export declare const NavigationTracker: ({ onStateChange, navigationRef, }: NavigationTrackerProps) => React.ReactElement | null;
7
- export default NavigationTracker;
@@ -1,39 +0,0 @@
1
- import React, { useContext, useEffect } from 'react';
2
- import { NavigationContext, useNavigationState } from '@react-navigation/native';
3
- const ContextNavigationTracker = ({ onStateChange, }) => {
4
- const navState = useNavigationState(state => state);
5
- useEffect(() => {
6
- onStateChange(navState);
7
- }, [navState, onStateChange]);
8
- return null;
9
- };
10
- export const NavigationTracker = ({ onStateChange, navigationRef, }) => {
11
- const navContext = useContext(NavigationContext);
12
- useEffect(() => {
13
- if (!navigationRef)
14
- return;
15
- const getRef = () => navigationRef?.current || navigationRef;
16
- const handleStateChange = () => {
17
- const ref = getRef();
18
- if (!ref)
19
- return;
20
- if (typeof ref.getRootState === 'function') {
21
- onStateChange(ref.getRootState());
22
- }
23
- else if (typeof ref.getState === 'function') {
24
- onStateChange(ref.getState());
25
- }
26
- };
27
- const ref = getRef();
28
- if (ref && typeof ref.addListener === 'function') {
29
- const unsubscribe = ref.addListener('state', handleStateChange);
30
- handleStateChange();
31
- return unsubscribe;
32
- }
33
- }, [navigationRef, onStateChange]);
34
- if (navContext) {
35
- return <ContextNavigationTracker onStateChange={onStateChange}/>;
36
- }
37
- return null;
38
- };
39
- export default NavigationTracker;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface ReduxTabViewProps {
3
- reduxState: any;
4
- reduxSearch: string;
5
- onSetReduxSearch: (val: string) => void;
6
- reduxLastActionMap: Record<string, string>;
7
- }
8
- export declare const ReduxTabView: React.FC<ReduxTabViewProps>;
9
- export default ReduxTabView;
@@ -1,50 +0,0 @@
1
- import React from 'react';
2
- import { Pressable, Text, TextInput, View, } from 'react-native';
3
- import { useTranslation } from 'react-i18next';
4
- import { ReduxTreeView } from './ReduxTreeView';
5
- import { TerminalIcon, ClearIcon, } from './NetworkIcons';
6
- import { AppColors } from '../styles/AppColors';
7
- import styles from '../styles';
8
- export const ReduxTabView = React.memo(({ reduxState, reduxSearch, onSetReduxSearch, reduxLastActionMap, }) => {
9
- const { t } = useTranslation();
10
- if (!reduxState) {
11
- return (<View style={styles.emptyContainer}>
12
- <View style={styles.emptyIconWrap}>
13
- <TerminalIcon color={AppColors.purple} size={32}/>
14
- </View>
15
- <Text style={styles.emptyTitle}>{t('redux.no_store_title')}</Text>
16
- <Text style={styles.emptySub}>
17
- {t('redux.no_store_sub')}
18
- </Text>
19
- </View>);
20
- }
21
- const reducerKeys = Object.keys(reduxState ?? {});
22
- if (reducerKeys.length === 0) {
23
- return (<View style={styles.emptyContainer}>
24
- <Text style={styles.emptyTitle}>{t('redux.empty_store_title')}</Text>
25
- <Text style={styles.emptySub}>{t('redux.empty_store_sub')}</Text>
26
- </View>);
27
- }
28
- return (<View style={styles.flex1}>
29
- {/* Search Bar */}
30
- <View style={styles.searchBarWrap}>
31
- <TextInput placeholder={t('search.redux_placeholder')} placeholderTextColor={AppColors.grayTextWeak} value={reduxSearch} onChangeText={onSetReduxSearch} style={styles.searchBarInput} autoCorrect={false} autoCapitalize="none"/>
32
- {reduxSearch.length > 0 && (<Pressable onPress={() => onSetReduxSearch('')} hitSlop={10}>
33
- <ClearIcon color={AppColors.grayTextWeak} size={14}/>
34
- </Pressable>)}
35
- </View>
36
-
37
- {/* Main Content Card */}
38
- <View style={styles.contentCard}>
39
- <View style={styles.cardHeaderRow}>
40
- <Text style={styles.sectionHeaderTitle}>{t('redux.root_reducers')}</Text>
41
- <Text style={styles.subTextWeak}>
42
- {reducerKeys.length} {t('redux.slices')}
43
- </Text>
44
- </View>
45
-
46
- <ReduxTreeView state={reduxState} search={reduxSearch} lastActionMap={reduxLastActionMap}/>
47
- </View>
48
- </View>);
49
- });
50
- export default ReduxTabView;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- export declare const ReduxTreeView: React.MemoExoticComponent<({ state, actionHistory, lastActionMap, search, onSearchChange, autoRefresh, onToggleAutoRefresh, onClearHistory, onDetailOpenChange, selectedSliceKey, onSelectSliceKey, selectedActionId, onSelectActionId, }: {
3
- state: any;
4
- actionHistory?: any[];
5
- lastActionMap?: Record<string, any>;
6
- search?: string;
7
- onSearchChange?: (val: string) => void;
8
- autoRefresh?: boolean;
9
- onToggleAutoRefresh?: () => void;
10
- onClearHistory?: () => void;
11
- onDetailOpenChange?: (isOpen: boolean) => void;
12
- selectedSliceKey?: string | null;
13
- onSelectSliceKey?: (key: string | null) => void;
14
- selectedActionId?: number | null;
15
- onSelectActionId?: (id: number | null) => void;
16
- }) => React.JSX.Element>;