react-native-inapp-inspector 1.1.18 → 1.1.20

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 (293) hide show
  1. package/dist/commonjs/constants/version.d.ts +1 -1
  2. package/dist/commonjs/constants/version.js +1 -1
  3. package/dist/commonjs/styles/index.js +1 -1
  4. package/dist/esm/constants/version.d.ts +1 -1
  5. package/dist/esm/constants/version.js +1 -1
  6. package/dist/esm/styles/index.js +1 -1
  7. package/package.json +2 -4
  8. package/assets/banner_dark.svg +0 -186
  9. package/assets/banner_light.svg +0 -186
  10. package/assets/icon_circle.svg +0 -148
  11. package/assets/icon_square.svg +0 -148
  12. package/assets/social_preview.png +0 -0
  13. package/assets/walkthrough.gif +0 -0
  14. package/dist/commonjs/assets/svgAssets.d.ts +0 -3
  15. package/dist/commonjs/assets/svgAssets.js +0 -17
  16. package/dist/commonjs/components/AnalyticsTabView.d.ts +0 -15
  17. package/dist/commonjs/components/AnalyticsTabView.js +0 -157
  18. package/dist/commonjs/components/ApiDetailView.d.ts +0 -22
  19. package/dist/commonjs/components/ApiDetailView.js +0 -304
  20. package/dist/commonjs/components/ApisTabView.d.ts +0 -33
  21. package/dist/commonjs/components/ApisTabView.js +0 -235
  22. package/dist/commonjs/components/ConsoleLogDetailView.d.ts +0 -9
  23. package/dist/commonjs/components/ConsoleLogDetailView.js +0 -278
  24. package/dist/commonjs/components/ConsoleLogsTabView.d.ts +0 -24
  25. package/dist/commonjs/components/ConsoleLogsTabView.js +0 -354
  26. package/dist/commonjs/components/FloatingBubble.d.ts +0 -14
  27. package/dist/commonjs/components/FloatingBubble.js +0 -75
  28. package/dist/commonjs/components/Inspector/InsightsDashboard.d.ts +0 -3
  29. package/dist/commonjs/components/Inspector/InsightsDashboard.js +0 -619
  30. package/dist/commonjs/components/Inspector/WebViewTab.d.ts +0 -3
  31. package/dist/commonjs/components/Inspector/WebViewTab.js +0 -757
  32. package/dist/commonjs/components/InspectorHeader.d.ts +0 -19
  33. package/dist/commonjs/components/InspectorHeader.js +0 -329
  34. package/dist/commonjs/components/InspectorTabBar.d.ts +0 -16
  35. package/dist/commonjs/components/InspectorTabBar.js +0 -90
  36. package/dist/commonjs/components/NavigationTracker.d.ts +0 -7
  37. package/dist/commonjs/components/NavigationTracker.js +0 -76
  38. package/dist/commonjs/components/ReduxTabView.d.ts +0 -9
  39. package/dist/commonjs/components/ReduxTabView.js +0 -56
  40. package/dist/commonjs/components/ReduxTreeView.d.ts +0 -16
  41. package/dist/commonjs/components/ReduxTreeView.js +0 -1257
  42. package/dist/commonjs/components/SettingsView.d.ts +0 -13
  43. package/dist/commonjs/components/SettingsView.js +0 -328
  44. package/dist/commonjs/customHooks/webViewLogger.d.ts +0 -24
  45. package/dist/commonjs/customHooks/webViewLogger.js +0 -452
  46. package/dist/commonjs/enums/index.d.ts +0 -39
  47. package/dist/commonjs/enums/index.js +0 -50
  48. package/dist/commonjs/i18n/en.json +0 -144
  49. package/dist/esm/assets/svgAssets.d.ts +0 -3
  50. package/dist/esm/assets/svgAssets.js +0 -14
  51. package/dist/esm/components/AnalyticsTabView.d.ts +0 -15
  52. package/dist/esm/components/AnalyticsTabView.js +0 -151
  53. package/dist/esm/components/ApiDetailView.d.ts +0 -22
  54. package/dist/esm/components/ApiDetailView.js +0 -264
  55. package/dist/esm/components/ApisTabView.d.ts +0 -33
  56. package/dist/esm/components/ApisTabView.js +0 -196
  57. package/dist/esm/components/ConsoleLogDetailView.d.ts +0 -9
  58. package/dist/esm/components/ConsoleLogDetailView.js +0 -271
  59. package/dist/esm/components/ConsoleLogsTabView.d.ts +0 -24
  60. package/dist/esm/components/ConsoleLogsTabView.js +0 -348
  61. package/dist/esm/components/FloatingBubble.d.ts +0 -14
  62. package/dist/esm/components/FloatingBubble.js +0 -68
  63. package/dist/esm/components/Inspector/InsightsDashboard.d.ts +0 -3
  64. package/dist/esm/components/Inspector/InsightsDashboard.js +0 -614
  65. package/dist/esm/components/Inspector/WebViewTab.d.ts +0 -3
  66. package/dist/esm/components/Inspector/WebViewTab.js +0 -752
  67. package/dist/esm/components/InspectorHeader.d.ts +0 -19
  68. package/dist/esm/components/InspectorHeader.js +0 -323
  69. package/dist/esm/components/InspectorTabBar.d.ts +0 -16
  70. package/dist/esm/components/InspectorTabBar.js +0 -84
  71. package/dist/esm/components/NavigationTracker.d.ts +0 -7
  72. package/dist/esm/components/NavigationTracker.js +0 -39
  73. package/dist/esm/components/ReduxTabView.d.ts +0 -9
  74. package/dist/esm/components/ReduxTabView.js +0 -50
  75. package/dist/esm/components/ReduxTreeView.d.ts +0 -16
  76. package/dist/esm/components/ReduxTreeView.js +0 -1218
  77. package/dist/esm/components/SettingsView.d.ts +0 -13
  78. package/dist/esm/components/SettingsView.js +0 -321
  79. package/dist/esm/customHooks/webViewLogger.d.ts +0 -24
  80. package/dist/esm/customHooks/webViewLogger.js +0 -405
  81. package/dist/esm/enums/index.d.ts +0 -39
  82. package/dist/esm/enums/index.js +0 -47
  83. package/dist/esm/i18n/en.json +0 -144
  84. package/example/.bundle/config +0 -2
  85. package/example/.eslintrc.js +0 -4
  86. package/example/.prettierrc.js +0 -5
  87. package/example/.watchmanconfig +0 -1
  88. package/example/App.tsx +0 -879
  89. package/example/Gemfile +0 -17
  90. package/example/README.md +0 -53
  91. package/example/__tests__/App.test.tsx +0 -13
  92. package/example/android/app/build.gradle +0 -147
  93. package/example/android/app/debug.keystore +0 -0
  94. package/example/android/app/proguard-rules.pro +0 -10
  95. package/example/android/app/src/main/AndroidManifest.xml +0 -27
  96. package/example/android/app/src/main/java/com/example/MainActivity.kt +0 -22
  97. package/example/android/app/src/main/java/com/example/MainApplication.kt +0 -52
  98. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
  99. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  100. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  101. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  102. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  103. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  104. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  105. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  106. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  107. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  108. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  109. package/example/android/app/src/main/res/values/strings.xml +0 -3
  110. package/example/android/app/src/main/res/values/styles.xml +0 -9
  111. package/example/android/build.gradle +0 -48
  112. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  113. package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  114. package/example/android/gradle.properties +0 -45
  115. package/example/android/gradlew +0 -248
  116. package/example/android/gradlew.bat +0 -98
  117. package/example/android/settings.gradle +0 -25
  118. package/example/app.json +0 -4
  119. package/example/assets/app_icon.png +0 -0
  120. package/example/babel.config.js +0 -3
  121. package/example/guidance/Video-WalkThrough.mp4 +0 -0
  122. package/example/index.js +0 -9
  123. package/example/ios/.xcode.env +0 -11
  124. package/example/ios/Podfile +0 -34
  125. package/example/ios/Podfile.lock +0 -2303
  126. package/example/ios/example/AppDelegate.swift +0 -48
  127. package/example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json +0 -62
  128. package/example/ios/example/Images.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
  129. package/example/ios/example/Images.xcassets/Contents.json +0 -6
  130. package/example/ios/example/Info.plist +0 -60
  131. package/example/ios/example/LaunchScreen.storyboard +0 -47
  132. package/example/ios/example/PrivacyInfo.xcprivacy +0 -37
  133. package/example/ios/example.xcodeproj/project.pbxproj +0 -498
  134. package/example/ios/example.xcodeproj/xcshareddata/xcschemes/example.xcscheme +0 -88
  135. package/example/ios/example.xcworkspace/contents.xcworkspacedata +0 -10
  136. package/example/jest.config.js +0 -3
  137. package/example/metro.config.js +0 -45
  138. package/example/package-lock.json +0 -13508
  139. package/example/package.json +0 -54
  140. package/example/polyfill.js +0 -13
  141. package/example/tsconfig.json +0 -8
  142. package/fonts/Inter/Inter.ttc +0 -0
  143. package/fonts/Inter/InterVariable-Italic.ttf +0 -0
  144. package/fonts/Inter/InterVariable.ttf +0 -0
  145. package/fonts/Inter/LICENSE.txt +0 -92
  146. package/fonts/Inter/extras/otf/Inter-Black.otf +0 -0
  147. package/fonts/Inter/extras/otf/Inter-BlackItalic.otf +0 -0
  148. package/fonts/Inter/extras/otf/Inter-Bold.otf +0 -0
  149. package/fonts/Inter/extras/otf/Inter-BoldItalic.otf +0 -0
  150. package/fonts/Inter/extras/otf/Inter-ExtraBold.otf +0 -0
  151. package/fonts/Inter/extras/otf/Inter-ExtraBoldItalic.otf +0 -0
  152. package/fonts/Inter/extras/otf/Inter-ExtraLight.otf +0 -0
  153. package/fonts/Inter/extras/otf/Inter-ExtraLightItalic.otf +0 -0
  154. package/fonts/Inter/extras/otf/Inter-Italic.otf +0 -0
  155. package/fonts/Inter/extras/otf/Inter-Light.otf +0 -0
  156. package/fonts/Inter/extras/otf/Inter-LightItalic.otf +0 -0
  157. package/fonts/Inter/extras/otf/Inter-Medium.otf +0 -0
  158. package/fonts/Inter/extras/otf/Inter-MediumItalic.otf +0 -0
  159. package/fonts/Inter/extras/otf/Inter-Regular.otf +0 -0
  160. package/fonts/Inter/extras/otf/Inter-SemiBold.otf +0 -0
  161. package/fonts/Inter/extras/otf/Inter-SemiBoldItalic.otf +0 -0
  162. package/fonts/Inter/extras/otf/Inter-Thin.otf +0 -0
  163. package/fonts/Inter/extras/otf/Inter-ThinItalic.otf +0 -0
  164. package/fonts/Inter/extras/otf/InterDisplay-Black.otf +0 -0
  165. package/fonts/Inter/extras/otf/InterDisplay-BlackItalic.otf +0 -0
  166. package/fonts/Inter/extras/otf/InterDisplay-Bold.otf +0 -0
  167. package/fonts/Inter/extras/otf/InterDisplay-BoldItalic.otf +0 -0
  168. package/fonts/Inter/extras/otf/InterDisplay-ExtraBold.otf +0 -0
  169. package/fonts/Inter/extras/otf/InterDisplay-ExtraBoldItalic.otf +0 -0
  170. package/fonts/Inter/extras/otf/InterDisplay-ExtraLight.otf +0 -0
  171. package/fonts/Inter/extras/otf/InterDisplay-ExtraLightItalic.otf +0 -0
  172. package/fonts/Inter/extras/otf/InterDisplay-Italic.otf +0 -0
  173. package/fonts/Inter/extras/otf/InterDisplay-Light.otf +0 -0
  174. package/fonts/Inter/extras/otf/InterDisplay-LightItalic.otf +0 -0
  175. package/fonts/Inter/extras/otf/InterDisplay-Medium.otf +0 -0
  176. package/fonts/Inter/extras/otf/InterDisplay-MediumItalic.otf +0 -0
  177. package/fonts/Inter/extras/otf/InterDisplay-Regular.otf +0 -0
  178. package/fonts/Inter/extras/otf/InterDisplay-SemiBold.otf +0 -0
  179. package/fonts/Inter/extras/otf/InterDisplay-SemiBoldItalic.otf +0 -0
  180. package/fonts/Inter/extras/otf/InterDisplay-Thin.otf +0 -0
  181. package/fonts/Inter/extras/otf/InterDisplay-ThinItalic.otf +0 -0
  182. package/fonts/Inter/extras/ttf/Inter-Black.ttf +0 -0
  183. package/fonts/Inter/extras/ttf/Inter-BlackItalic.ttf +0 -0
  184. package/fonts/Inter/extras/ttf/Inter-Bold.ttf +0 -0
  185. package/fonts/Inter/extras/ttf/Inter-BoldItalic.ttf +0 -0
  186. package/fonts/Inter/extras/ttf/Inter-ExtraBold.ttf +0 -0
  187. package/fonts/Inter/extras/ttf/Inter-ExtraBoldItalic.ttf +0 -0
  188. package/fonts/Inter/extras/ttf/Inter-ExtraLight.ttf +0 -0
  189. package/fonts/Inter/extras/ttf/Inter-ExtraLightItalic.ttf +0 -0
  190. package/fonts/Inter/extras/ttf/Inter-Italic.ttf +0 -0
  191. package/fonts/Inter/extras/ttf/Inter-Light.ttf +0 -0
  192. package/fonts/Inter/extras/ttf/Inter-LightItalic.ttf +0 -0
  193. package/fonts/Inter/extras/ttf/Inter-Medium.ttf +0 -0
  194. package/fonts/Inter/extras/ttf/Inter-MediumItalic.ttf +0 -0
  195. package/fonts/Inter/extras/ttf/Inter-Regular.ttf +0 -0
  196. package/fonts/Inter/extras/ttf/Inter-SemiBold.ttf +0 -0
  197. package/fonts/Inter/extras/ttf/Inter-SemiBoldItalic.ttf +0 -0
  198. package/fonts/Inter/extras/ttf/Inter-Thin.ttf +0 -0
  199. package/fonts/Inter/extras/ttf/Inter-ThinItalic.ttf +0 -0
  200. package/fonts/Inter/extras/ttf/InterDisplay-Black.ttf +0 -0
  201. package/fonts/Inter/extras/ttf/InterDisplay-BlackItalic.ttf +0 -0
  202. package/fonts/Inter/extras/ttf/InterDisplay-Bold.ttf +0 -0
  203. package/fonts/Inter/extras/ttf/InterDisplay-BoldItalic.ttf +0 -0
  204. package/fonts/Inter/extras/ttf/InterDisplay-ExtraBold.ttf +0 -0
  205. package/fonts/Inter/extras/ttf/InterDisplay-ExtraBoldItalic.ttf +0 -0
  206. package/fonts/Inter/extras/ttf/InterDisplay-ExtraLight.ttf +0 -0
  207. package/fonts/Inter/extras/ttf/InterDisplay-ExtraLightItalic.ttf +0 -0
  208. package/fonts/Inter/extras/ttf/InterDisplay-Italic.ttf +0 -0
  209. package/fonts/Inter/extras/ttf/InterDisplay-Light.ttf +0 -0
  210. package/fonts/Inter/extras/ttf/InterDisplay-LightItalic.ttf +0 -0
  211. package/fonts/Inter/extras/ttf/InterDisplay-Medium.ttf +0 -0
  212. package/fonts/Inter/extras/ttf/InterDisplay-MediumItalic.ttf +0 -0
  213. package/fonts/Inter/extras/ttf/InterDisplay-Regular.ttf +0 -0
  214. package/fonts/Inter/extras/ttf/InterDisplay-SemiBold.ttf +0 -0
  215. package/fonts/Inter/extras/ttf/InterDisplay-SemiBoldItalic.ttf +0 -0
  216. package/fonts/Inter/extras/ttf/InterDisplay-Thin.ttf +0 -0
  217. package/fonts/Inter/extras/ttf/InterDisplay-ThinItalic.ttf +0 -0
  218. package/fonts/Inter/extras/woff-hinted/Inter-Black.woff2 +0 -0
  219. package/fonts/Inter/extras/woff-hinted/Inter-BlackItalic.woff2 +0 -0
  220. package/fonts/Inter/extras/woff-hinted/Inter-Bold.woff2 +0 -0
  221. package/fonts/Inter/extras/woff-hinted/Inter-BoldItalic.woff2 +0 -0
  222. package/fonts/Inter/extras/woff-hinted/Inter-ExtraBold.woff2 +0 -0
  223. package/fonts/Inter/extras/woff-hinted/Inter-ExtraBoldItalic.woff2 +0 -0
  224. package/fonts/Inter/extras/woff-hinted/Inter-ExtraLight.woff2 +0 -0
  225. package/fonts/Inter/extras/woff-hinted/Inter-ExtraLightItalic.woff2 +0 -0
  226. package/fonts/Inter/extras/woff-hinted/Inter-Italic.woff2 +0 -0
  227. package/fonts/Inter/extras/woff-hinted/Inter-Light.woff2 +0 -0
  228. package/fonts/Inter/extras/woff-hinted/Inter-LightItalic.woff2 +0 -0
  229. package/fonts/Inter/extras/woff-hinted/Inter-Medium.woff2 +0 -0
  230. package/fonts/Inter/extras/woff-hinted/Inter-MediumItalic.woff2 +0 -0
  231. package/fonts/Inter/extras/woff-hinted/Inter-Regular.woff2 +0 -0
  232. package/fonts/Inter/extras/woff-hinted/Inter-SemiBold.woff2 +0 -0
  233. package/fonts/Inter/extras/woff-hinted/Inter-SemiBoldItalic.woff2 +0 -0
  234. package/fonts/Inter/extras/woff-hinted/Inter-Thin.woff2 +0 -0
  235. package/fonts/Inter/extras/woff-hinted/Inter-ThinItalic.woff2 +0 -0
  236. package/fonts/Inter/extras/woff-hinted/InterDisplay-Black.woff2 +0 -0
  237. package/fonts/Inter/extras/woff-hinted/InterDisplay-BlackItalic.woff2 +0 -0
  238. package/fonts/Inter/extras/woff-hinted/InterDisplay-Bold.woff2 +0 -0
  239. package/fonts/Inter/extras/woff-hinted/InterDisplay-BoldItalic.woff2 +0 -0
  240. package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBold.woff2 +0 -0
  241. package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraBoldItalic.woff2 +0 -0
  242. package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLight.woff2 +0 -0
  243. package/fonts/Inter/extras/woff-hinted/InterDisplay-ExtraLightItalic.woff2 +0 -0
  244. package/fonts/Inter/extras/woff-hinted/InterDisplay-Italic.woff2 +0 -0
  245. package/fonts/Inter/extras/woff-hinted/InterDisplay-Light.woff2 +0 -0
  246. package/fonts/Inter/extras/woff-hinted/InterDisplay-LightItalic.woff2 +0 -0
  247. package/fonts/Inter/extras/woff-hinted/InterDisplay-Medium.woff2 +0 -0
  248. package/fonts/Inter/extras/woff-hinted/InterDisplay-MediumItalic.woff2 +0 -0
  249. package/fonts/Inter/extras/woff-hinted/InterDisplay-Regular.woff2 +0 -0
  250. package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBold.woff2 +0 -0
  251. package/fonts/Inter/extras/woff-hinted/InterDisplay-SemiBoldItalic.woff2 +0 -0
  252. package/fonts/Inter/extras/woff-hinted/InterDisplay-Thin.woff2 +0 -0
  253. package/fonts/Inter/extras/woff-hinted/InterDisplay-ThinItalic.woff2 +0 -0
  254. package/fonts/Inter/help.txt +0 -165
  255. package/fonts/Inter/web/Inter-Black.woff2 +0 -0
  256. package/fonts/Inter/web/Inter-BlackItalic.woff2 +0 -0
  257. package/fonts/Inter/web/Inter-Bold.woff2 +0 -0
  258. package/fonts/Inter/web/Inter-BoldItalic.woff2 +0 -0
  259. package/fonts/Inter/web/Inter-ExtraBold.woff2 +0 -0
  260. package/fonts/Inter/web/Inter-ExtraBoldItalic.woff2 +0 -0
  261. package/fonts/Inter/web/Inter-ExtraLight.woff2 +0 -0
  262. package/fonts/Inter/web/Inter-ExtraLightItalic.woff2 +0 -0
  263. package/fonts/Inter/web/Inter-Italic.woff2 +0 -0
  264. package/fonts/Inter/web/Inter-Light.woff2 +0 -0
  265. package/fonts/Inter/web/Inter-LightItalic.woff2 +0 -0
  266. package/fonts/Inter/web/Inter-Medium.woff2 +0 -0
  267. package/fonts/Inter/web/Inter-MediumItalic.woff2 +0 -0
  268. package/fonts/Inter/web/Inter-Regular.woff2 +0 -0
  269. package/fonts/Inter/web/Inter-SemiBold.woff2 +0 -0
  270. package/fonts/Inter/web/Inter-SemiBoldItalic.woff2 +0 -0
  271. package/fonts/Inter/web/Inter-Thin.woff2 +0 -0
  272. package/fonts/Inter/web/Inter-ThinItalic.woff2 +0 -0
  273. package/fonts/Inter/web/InterDisplay-Black.woff2 +0 -0
  274. package/fonts/Inter/web/InterDisplay-BlackItalic.woff2 +0 -0
  275. package/fonts/Inter/web/InterDisplay-Bold.woff2 +0 -0
  276. package/fonts/Inter/web/InterDisplay-BoldItalic.woff2 +0 -0
  277. package/fonts/Inter/web/InterDisplay-ExtraBold.woff2 +0 -0
  278. package/fonts/Inter/web/InterDisplay-ExtraBoldItalic.woff2 +0 -0
  279. package/fonts/Inter/web/InterDisplay-ExtraLight.woff2 +0 -0
  280. package/fonts/Inter/web/InterDisplay-ExtraLightItalic.woff2 +0 -0
  281. package/fonts/Inter/web/InterDisplay-Italic.woff2 +0 -0
  282. package/fonts/Inter/web/InterDisplay-Light.woff2 +0 -0
  283. package/fonts/Inter/web/InterDisplay-LightItalic.woff2 +0 -0
  284. package/fonts/Inter/web/InterDisplay-Medium.woff2 +0 -0
  285. package/fonts/Inter/web/InterDisplay-MediumItalic.woff2 +0 -0
  286. package/fonts/Inter/web/InterDisplay-Regular.woff2 +0 -0
  287. package/fonts/Inter/web/InterDisplay-SemiBold.woff2 +0 -0
  288. package/fonts/Inter/web/InterDisplay-SemiBoldItalic.woff2 +0 -0
  289. package/fonts/Inter/web/InterDisplay-Thin.woff2 +0 -0
  290. package/fonts/Inter/web/InterDisplay-ThinItalic.woff2 +0 -0
  291. package/fonts/Inter/web/InterVariable-Italic.woff2 +0 -0
  292. package/fonts/Inter/web/InterVariable.woff2 +0 -0
  293. package/fonts/Inter/web/inter.css +0 -148
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { ActiveTab } from '../types';
3
- interface SettingsViewProps {
4
- headerTopPadding: number;
5
- activeTab?: ActiveTab;
6
- defaultTab: ActiveTab;
7
- tabVisibility: Record<string, boolean>;
8
- onCloseSettings: () => void;
9
- onUpdateTabVisibility: (key: ActiveTab, val: boolean) => void;
10
- onSetDefaultTab: (key: ActiveTab) => void;
11
- }
12
- export declare const SettingsView: React.FC<SettingsViewProps>;
13
- export default SettingsView;
@@ -1,328 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.SettingsView = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const react_native_1 = require("react-native");
9
- const react_native_linear_gradient_1 = __importDefault(require("react-native-linear-gradient"));
10
- const react_i18next_1 = require("react-i18next");
11
- const TouchableScale_1 = __importDefault(require("./TouchableScale"));
12
- const NetworkIcons_1 = require("./NetworkIcons");
13
- const AppColors_1 = require("../styles/AppColors");
14
- const AppFonts_1 = require("../styles/AppFonts");
15
- const styles_1 = require("../styles");
16
- const settingsStore_1 = require("../helpers/settingsStore");
17
- const SettingsView = ({ headerTopPadding, defaultTab, tabVisibility, onCloseSettings, onUpdateTabVisibility, onSetDefaultTab, }) => {
18
- const { t } = (0, react_i18next_1.useTranslation)();
19
- const [themeMode, setThemeMode] = react_1.default.useState(AppColors_1.AppColors.primaryLight === AppColors_1.AppColors.white ? 'light' : 'dark');
20
- const handleToggleTheme = () => {
21
- const nextIsDark = themeMode !== 'dark';
22
- (0, styles_1.toggleGlobalTheme)(nextIsDark);
23
- const newTheme = nextIsDark ? 'dark' : 'light';
24
- setThemeMode(newTheme);
25
- (0, settingsStore_1.saveSettings)({ isDark: nextIsDark, theme: newTheme });
26
- };
27
- const renderSettingRow = (opts) => {
28
- return (<react_native_1.Pressable onPress={opts.onPress} disabled={!opts.onPress} style={{
29
- flexDirection: 'row',
30
- alignItems: 'center',
31
- justifyContent: 'space-between',
32
- paddingVertical: 12,
33
- paddingHorizontal: 16,
34
- borderBottomWidth: 1,
35
- borderBottomColor: AppColors_1.AppColors.dividerColor,
36
- }}>
37
- <react_native_1.View style={{
38
- flexDirection: 'row',
39
- alignItems: 'center',
40
- gap: 12,
41
- flex: 1,
42
- marginRight: 8,
43
- }}>
44
- <react_native_1.View style={{
45
- width: 32,
46
- height: 32,
47
- borderRadius: 8,
48
- backgroundColor: AppColors_1.AppColors.grayBackground,
49
- alignItems: 'center',
50
- justifyContent: 'center',
51
- }}>
52
- {opts.icon}
53
- </react_native_1.View>
54
- <react_native_1.View style={{ flex: 1 }}>
55
- <react_native_1.Text style={{
56
- fontFamily: AppFonts_1.AppFonts.interBold,
57
- fontSize: 13,
58
- color: AppColors_1.AppColors.primaryBlack,
59
- }}>
60
- {opts.title}
61
- </react_native_1.Text>
62
- {opts.description ? (<react_native_1.Text style={{
63
- fontFamily: AppFonts_1.AppFonts.interRegular,
64
- fontSize: 11,
65
- color: AppColors_1.AppColors.grayTextWeak,
66
- marginTop: 2,
67
- }}>
68
- {opts.description}
69
- </react_native_1.Text>) : null}
70
- </react_native_1.View>
71
- </react_native_1.View>
72
- {opts.rightComponent}
73
- </react_native_1.Pressable>);
74
- };
75
- return (<react_native_1.View style={{ flex: 1, backgroundColor: AppColors_1.AppColors.grayBackground }}>
76
- <react_native_linear_gradient_1.default colors={[AppColors_1.AppColors.purple, '#6B4EFF']} style={{ paddingTop: headerTopPadding, paddingBottom: 16 }}>
77
- <react_native_1.View style={{
78
- flexDirection: 'row',
79
- alignItems: 'center',
80
- paddingHorizontal: 16,
81
- gap: 12,
82
- }}>
83
- <TouchableScale_1.default onPress={onCloseSettings} hitSlop={15} style={{
84
- width: 36,
85
- height: 36,
86
- borderRadius: 18,
87
- alignItems: 'center',
88
- justifyContent: 'center',
89
- backgroundColor: 'rgba(255,255,255,0.18)',
90
- }}>
91
- <NetworkIcons_1.WhiteBackNavigation />
92
- </TouchableScale_1.default>
93
- <react_native_1.Text style={{
94
- fontFamily: AppFonts_1.AppFonts.interBold,
95
- fontSize: 18,
96
- color: AppColors_1.AppColors.white,
97
- }}>
98
- {t('settings.title')}
99
- </react_native_1.Text>
100
- </react_native_1.View>
101
- </react_native_linear_gradient_1.default>
102
-
103
- <react_native_1.ScrollView style={{ flex: 1 }} contentContainerStyle={{ paddingBottom: 32, gap: 16, paddingTop: 16 }}>
104
- {/* Theme Settings */}
105
- <react_native_1.View style={{
106
- backgroundColor: AppColors_1.AppColors.primaryLight,
107
- marginHorizontal: 16,
108
- borderRadius: 12,
109
- borderWidth: 1,
110
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
111
- overflow: 'hidden',
112
- }}>
113
- <react_native_1.View style={{
114
- paddingHorizontal: 16,
115
- paddingVertical: 10,
116
- backgroundColor: AppColors_1.AppColors.grayBackground,
117
- borderBottomWidth: 1,
118
- borderBottomColor: AppColors_1.AppColors.dividerColor,
119
- }}>
120
- <react_native_1.Text style={{
121
- fontFamily: AppFonts_1.AppFonts.interBold,
122
- fontSize: 11,
123
- color: AppColors_1.AppColors.grayTextWeak,
124
- letterSpacing: 0.5,
125
- }}>
126
- {t('settings.appearance')}
127
- </react_native_1.Text>
128
- </react_native_1.View>
129
- {renderSettingRow({
130
- icon: themeMode === 'dark' ? (<NetworkIcons_1.MoonIcon color={AppColors_1.AppColors.purple} size={16}/>) : (<NetworkIcons_1.SunIcon color={AppColors_1.AppColors.lightOrange} size={16}/>),
131
- title: t('settings.dark_mode'),
132
- description: t('settings.dark_mode_desc'),
133
- rightComponent: (<react_native_1.Switch value={themeMode === 'dark'} onValueChange={handleToggleTheme} trackColor={{
134
- false: AppColors_1.AppColors.grayBorderSecondary,
135
- true: AppColors_1.AppColors.purple,
136
- }}/>),
137
- })}
138
- </react_native_1.View>
139
-
140
- {/* Module Visibility Settings */}
141
- <react_native_1.View style={{
142
- backgroundColor: AppColors_1.AppColors.primaryLight,
143
- marginHorizontal: 16,
144
- borderRadius: 12,
145
- borderWidth: 1,
146
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
147
- overflow: 'hidden',
148
- }}>
149
- <react_native_1.View style={{
150
- paddingHorizontal: 16,
151
- paddingVertical: 10,
152
- backgroundColor: AppColors_1.AppColors.grayBackground,
153
- borderBottomWidth: 1,
154
- borderBottomColor: AppColors_1.AppColors.dividerColor,
155
- }}>
156
- <react_native_1.Text style={{
157
- fontFamily: AppFonts_1.AppFonts.interBold,
158
- fontSize: 11,
159
- color: AppColors_1.AppColors.grayTextWeak,
160
- letterSpacing: 0.5,
161
- }}>
162
- {t('settings.module_visibility')}
163
- </react_native_1.Text>
164
- </react_native_1.View>
165
-
166
- {renderSettingRow({
167
- icon: <NetworkIcons_1.SignalIcon color={AppColors_1.AppColors.purple} size={16}/>,
168
- title: t('settings.apis_tab'),
169
- description: t('settings.apis_tab_desc'),
170
- rightComponent: (<react_native_1.Switch value={tabVisibility.apis !== false} onValueChange={val => onUpdateTabVisibility('apis', val)} trackColor={{
171
- false: AppColors_1.AppColors.grayBorderSecondary,
172
- true: AppColors_1.AppColors.purple,
173
- }}/>),
174
- })}
175
-
176
- {renderSettingRow({
177
- icon: <NetworkIcons_1.TerminalIcon color={AppColors_1.AppColors.purple} size={16}/>,
178
- title: t('settings.logs_tab'),
179
- description: t('settings.logs_tab_desc'),
180
- rightComponent: (<react_native_1.Switch value={tabVisibility.logs !== false} onValueChange={val => onUpdateTabVisibility('logs', val)} trackColor={{
181
- false: AppColors_1.AppColors.grayBorderSecondary,
182
- true: AppColors_1.AppColors.purple,
183
- }}/>),
184
- })}
185
-
186
- {renderSettingRow({
187
- icon: <NetworkIcons_1.AnalyticsIcon color={AppColors_1.AppColors.purple} size={16}/>,
188
- title: t('settings.analytics_tab'),
189
- description: t('settings.analytics_tab_desc'),
190
- rightComponent: (<react_native_1.Switch value={tabVisibility.analytics !== false} onValueChange={val => onUpdateTabVisibility('analytics', val)} trackColor={{
191
- false: AppColors_1.AppColors.grayBorderSecondary,
192
- true: AppColors_1.AppColors.purple,
193
- }}/>),
194
- })}
195
-
196
- {renderSettingRow({
197
- icon: <NetworkIcons_1.TerminalIcon color={AppColors_1.AppColors.purple} size={16}/>,
198
- title: t('settings.redux_tab'),
199
- description: t('settings.redux_tab_desc'),
200
- rightComponent: (<react_native_1.Switch value={tabVisibility.redux !== false} onValueChange={val => onUpdateTabVisibility('redux', val)} trackColor={{
201
- false: AppColors_1.AppColors.grayBorderSecondary,
202
- true: AppColors_1.AppColors.purple,
203
- }}/>),
204
- })}
205
- </react_native_1.View>
206
-
207
- {/* Landing Tab Preference */}
208
- <react_native_1.View style={{
209
- backgroundColor: AppColors_1.AppColors.primaryLight,
210
- marginHorizontal: 16,
211
- borderRadius: 12,
212
- borderWidth: 1,
213
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
214
- overflow: 'hidden',
215
- }}>
216
- <react_native_1.View style={{
217
- paddingHorizontal: 16,
218
- paddingVertical: 10,
219
- backgroundColor: AppColors_1.AppColors.grayBackground,
220
- borderBottomWidth: 1,
221
- borderBottomColor: AppColors_1.AppColors.dividerColor,
222
- }}>
223
- <react_native_1.Text style={{
224
- fontFamily: AppFonts_1.AppFonts.interBold,
225
- fontSize: 11,
226
- color: AppColors_1.AppColors.grayTextWeak,
227
- letterSpacing: 0.5,
228
- }}>
229
- {t('settings.default_landing_tab')}
230
- </react_native_1.Text>
231
- </react_native_1.View>
232
- {['apis', 'logs', 'analytics', 'redux'].map(tabKey => {
233
- if (!tabVisibility[tabKey])
234
- return null;
235
- const isSelected = defaultTab === tabKey;
236
- return (<TouchableScale_1.default key={tabKey} onPress={() => onSetDefaultTab(tabKey)} style={{
237
- flexDirection: 'row',
238
- alignItems: 'center',
239
- justifyContent: 'space-between',
240
- paddingVertical: 12,
241
- paddingHorizontal: 16,
242
- borderBottomWidth: 1,
243
- borderBottomColor: AppColors_1.AppColors.dividerColor,
244
- backgroundColor: isSelected
245
- ? 'rgba(107, 78, 255, 0.05)'
246
- : AppColors_1.AppColors.primaryLight,
247
- }}>
248
- <react_native_1.Text style={{
249
- fontFamily: isSelected
250
- ? AppFonts_1.AppFonts.interBold
251
- : AppFonts_1.AppFonts.interMedium,
252
- fontSize: 13,
253
- color: isSelected
254
- ? AppColors_1.AppColors.purple
255
- : AppColors_1.AppColors.primaryBlack,
256
- }}>
257
- {tabKey.toUpperCase()} Tab
258
- </react_native_1.Text>
259
- <react_native_1.View style={{
260
- width: 18,
261
- height: 18,
262
- borderRadius: 9,
263
- borderWidth: isSelected ? 5 : 2,
264
- borderColor: isSelected
265
- ? AppColors_1.AppColors.purple
266
- : AppColors_1.AppColors.grayBorderSecondary,
267
- }}/>
268
- </TouchableScale_1.default>);
269
- })}
270
- </react_native_1.View>
271
-
272
- {/* Storage & Persistence Settings */}
273
- <react_native_1.View style={{
274
- backgroundColor: AppColors_1.AppColors.primaryLight,
275
- marginHorizontal: 16,
276
- borderRadius: 12,
277
- borderWidth: 1,
278
- borderColor: AppColors_1.AppColors.grayBorderSecondary,
279
- overflow: 'hidden',
280
- }}>
281
- <react_native_1.View style={{
282
- paddingHorizontal: 16,
283
- paddingVertical: 10,
284
- backgroundColor: AppColors_1.AppColors.grayBackground,
285
- borderBottomWidth: 1,
286
- borderBottomColor: AppColors_1.AppColors.dividerColor,
287
- }}>
288
- <react_native_1.Text style={{
289
- fontFamily: AppFonts_1.AppFonts.interBold,
290
- fontSize: 11,
291
- color: AppColors_1.AppColors.grayTextWeak,
292
- letterSpacing: 0.5,
293
- }}>
294
- {t('settings.storage_persistence')}
295
- </react_native_1.Text>
296
- </react_native_1.View>
297
- {renderSettingRow({
298
- icon: <NetworkIcons_1.GlobeIcon color={AppColors_1.AppColors.purple} size={16}/>,
299
- title: t('settings.custom_storage'),
300
- description: (0, settingsStore_1.isPersistentStorageAvailable)()
301
- ? t('settings.custom_storage_active')
302
- : t('settings.custom_storage_memory'),
303
- })}
304
-
305
- {renderSettingRow({
306
- icon: <NetworkIcons_1.TrashIcon color={AppColors_1.AppColors.errorColor} size={16}/>,
307
- title: t('settings.reset_settings'),
308
- description: t('settings.reset_settings_desc'),
309
- onPress: () => {
310
- react_native_1.Alert.alert(t('settings.reset_confirm_title'), t('settings.reset_confirm_msg'), [
311
- { text: t('header.cancel'), style: 'cancel' },
312
- {
313
- text: t('settings.reset'),
314
- style: 'destructive',
315
- onPress: () => {
316
- (0, settingsStore_1.clearPersistedSettings)();
317
- react_native_1.Alert.alert(t('settings.reset'), t('settings.reset_done'));
318
- },
319
- },
320
- ]);
321
- },
322
- })}
323
- </react_native_1.View>
324
- </react_native_1.ScrollView>
325
- </react_native_1.View>);
326
- };
327
- exports.SettingsView = SettingsView;
328
- exports.default = exports.SettingsView;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- export interface WebViewLog {
3
- id: number;
4
- type: 'log' | 'info' | 'warn' | 'error';
5
- message: string;
6
- timestamp: number;
7
- }
8
- export interface WebViewNavState {
9
- url: string;
10
- title?: string;
11
- timestamp: number;
12
- }
13
- export declare const WebView: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
14
- export declare const addWebViewLog: (type: "log" | "info" | "warn" | "error", message: string) => void;
15
- export declare const addWebViewNav: (url: string, title?: string) => void;
16
- export declare const addWebViewHtml: (url: string, html: string, css?: string, js?: string) => void;
17
- export declare const getWebViewLogs: () => WebViewLog[];
18
- export declare const getWebViewNavHistory: () => WebViewNavState[];
19
- export declare const getWebViewHtml: () => string;
20
- export declare const getWebViewCss: () => string;
21
- export declare const getWebViewJs: () => string;
22
- export declare const getWebViewHtmlUrl: () => string;
23
- export declare const clearWebViewData: () => void;
24
- export declare const subscribeWebView: (cb: () => void) => () => void;