react-native-inapp-inspector 2.3.18 → 2.3.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 (358) hide show
  1. package/android/src/main/java/com/inappinspector/NetworkInspectorModule.kt +57 -0
  2. package/dist/commonjs/analytics.js +1 -24
  3. package/dist/commonjs/bundle.js +1 -16
  4. package/dist/commonjs/capture.d.ts +2 -0
  5. package/dist/commonjs/capture.js +1 -32
  6. package/dist/commonjs/components/AnalyticsDetail.js +92 -623
  7. package/dist/commonjs/components/AnalyticsEventCard.js +54 -350
  8. package/dist/commonjs/components/AnalyticsGraph.js +70 -370
  9. package/dist/commonjs/components/AnimatedEntrance.js +1 -11
  10. package/dist/commonjs/components/AppHeaderLogo.js +7 -134
  11. package/dist/commonjs/components/BrandCircleIcon.js +73 -118
  12. package/dist/commonjs/components/BrandSquareIcon.js +63 -108
  13. package/dist/commonjs/components/CodeSnippet.js +48 -623
  14. package/dist/commonjs/components/ConsoleLogCard.js +63 -537
  15. package/dist/commonjs/components/CopyButton.js +3 -89
  16. package/dist/commonjs/components/DiffViewer.js +19 -83
  17. package/dist/commonjs/components/DomainHeader.js +27 -127
  18. package/dist/commonjs/components/EmptyState.d.ts +1 -0
  19. package/dist/commonjs/components/EmptyState.js +10 -87
  20. package/dist/commonjs/components/EndOfListFooter.js +7 -81
  21. package/dist/commonjs/components/ErrorBoundary.js +72 -566
  22. package/dist/commonjs/components/HeadersSection.js +31 -110
  23. package/dist/commonjs/components/HighlightText.js +17 -58
  24. package/dist/commonjs/components/Inspector/AboutModal.d.ts +6 -0
  25. package/dist/commonjs/components/Inspector/AboutModal.js +351 -0
  26. package/dist/commonjs/components/Inspector/AnalyticsFilterModal.js +98 -797
  27. package/dist/commonjs/components/Inspector/AnalyticsTab.js +284 -930
  28. package/dist/commonjs/components/Inspector/BundleTab.js +551 -2918
  29. package/dist/commonjs/components/Inspector/ConsoleTab.js +79 -492
  30. package/dist/commonjs/components/Inspector/CrashDetail.js +123 -672
  31. package/dist/commonjs/components/Inspector/CrashFilterModal.js +66 -498
  32. package/dist/commonjs/components/Inspector/CrashTab.js +98 -670
  33. package/dist/commonjs/components/Inspector/DebuggingTab.js +64 -871
  34. package/dist/commonjs/components/Inspector/DeviceInfoTab.js +143 -907
  35. package/dist/commonjs/components/Inspector/FabLauncher.js +85 -54
  36. package/dist/commonjs/components/Inspector/FeatureUnderDevNotice.js +6 -99
  37. package/dist/commonjs/components/Inspector/FeedbackModal.d.ts +9 -0
  38. package/dist/commonjs/components/Inspector/FeedbackModal.js +167 -521
  39. package/dist/commonjs/components/Inspector/InspectorContext.js +1 -21
  40. package/dist/commonjs/components/Inspector/InspectorHeader.js +219 -1093
  41. package/dist/commonjs/components/Inspector/LogDetail.js +168 -994
  42. package/dist/commonjs/components/Inspector/MainScreen.js +60 -332
  43. package/dist/commonjs/components/Inspector/MediaGalleryTab.js +136 -278
  44. package/dist/commonjs/components/Inspector/MediaPreviewModal.js +134 -361
  45. package/dist/commonjs/components/Inspector/NavigationTracker.js +1 -12
  46. package/dist/commonjs/components/Inspector/NetworkDetail.js +96 -432
  47. package/dist/commonjs/components/Inspector/NetworkFilterModal.js +60 -576
  48. package/dist/commonjs/components/Inspector/NetworkTab.js +84 -514
  49. package/dist/commonjs/components/Inspector/NpmStarPrompt.js +17 -433
  50. package/dist/commonjs/components/Inspector/NpmUpdateToast.js +25 -298
  51. package/dist/commonjs/components/Inspector/PerformanceTab.js +182 -1397
  52. package/dist/commonjs/components/Inspector/ReduxDetail.js +188 -1089
  53. package/dist/commonjs/components/Inspector/ReduxTab.js +85 -701
  54. package/dist/commonjs/components/Inspector/SettingsPanel.js +431 -3431
  55. package/dist/commonjs/components/Inspector/SkeletonPlaceholder.js +11 -180
  56. package/dist/commonjs/components/Inspector/StorageTab.js +93 -826
  57. package/dist/commonjs/components/Inspector/TabBar.js +47 -183
  58. package/dist/commonjs/components/Inspector/UpdateAvailableModal.js +34 -408
  59. package/dist/commonjs/components/JsonViewer.js +168 -380
  60. package/dist/commonjs/components/LogCard.js +57 -567
  61. package/dist/commonjs/components/LogSyntaxHighlighter.js +11 -130
  62. package/dist/commonjs/components/MetaAccordion.js +69 -238
  63. package/dist/commonjs/components/MiniBarChart.js +3 -56
  64. package/dist/commonjs/components/MiniLineChart.js +3 -58
  65. package/dist/commonjs/components/NetworkIcons.d.ts +7 -0
  66. package/dist/commonjs/components/NetworkIcons.js +479 -997
  67. package/dist/commonjs/components/QRCodeView.js +5 -79
  68. package/dist/commonjs/components/SectionHeader.js +15 -37
  69. package/dist/commonjs/components/SegmentedTabs.js +7 -61
  70. package/dist/commonjs/components/SkeletonPlaceholder.js +11 -180
  71. package/dist/commonjs/components/Slider.js +15 -243
  72. package/dist/commonjs/components/SourcePageCard.js +30 -89
  73. package/dist/commonjs/components/Toast.js +5 -147
  74. package/dist/commonjs/components/TouchableScale.js +3 -24
  75. package/dist/commonjs/components/TreeNode.js +55 -130
  76. package/dist/commonjs/console.js +1 -16
  77. package/dist/commonjs/constants/index.js +1 -32
  78. package/dist/commonjs/constants/telemetryConfig.js +1 -6
  79. package/dist/commonjs/constants/version.d.ts +1 -1
  80. package/dist/commonjs/constants/version.js +1 -4
  81. package/dist/commonjs/crash.js +1 -23
  82. package/dist/commonjs/customHooks/analyticsLogger.js +1 -250
  83. package/dist/commonjs/customHooks/bundleAnalyzer.js +1 -957
  84. package/dist/commonjs/customHooks/consoleLogger.js +6 -445
  85. package/dist/commonjs/customHooks/crashHandler.js +7 -656
  86. package/dist/commonjs/customHooks/logFilters.js +1 -23
  87. package/dist/commonjs/customHooks/networkLogger.js +2 -536
  88. package/dist/commonjs/customHooks/performanceTracker.js +63 -750
  89. package/dist/commonjs/customHooks/reduxLogger.js +2 -313
  90. package/dist/commonjs/customHooks/storageInspector.js +1 -435
  91. package/dist/commonjs/customHooks/useAccordion.js +1 -18
  92. package/dist/commonjs/decorators/index.js +1 -100
  93. package/dist/commonjs/helpers/gaAnalyticsRegistry.js +1 -148
  94. package/dist/commonjs/helpers/index.js +8 -921
  95. package/dist/commonjs/helpers/memoryManager.js +1 -99
  96. package/dist/commonjs/helpers/qrGenerator.js +1 -367
  97. package/dist/commonjs/helpers/remoteConfig.js +1 -165
  98. package/dist/commonjs/helpers/searchQueryParser.js +1 -62
  99. package/dist/commonjs/helpers/settingsStore.js +1 -144
  100. package/dist/commonjs/helpers/telemetry.js +1 -501
  101. package/dist/commonjs/helpers/toast.js +1 -20
  102. package/dist/commonjs/i18n/index.js +1 -90
  103. package/dist/commonjs/i18n/locales/en.json +1 -1122
  104. package/dist/commonjs/index.js +5 -2153
  105. package/dist/commonjs/metro.js +6 -468
  106. package/dist/commonjs/native/NativeInspector.d.ts +3 -0
  107. package/dist/commonjs/native/NativeInspector.js +1 -402
  108. package/dist/commonjs/native/NativeNetworkInspector.d.ts +1 -0
  109. package/dist/commonjs/native/NativeNetworkInspector.js +1 -4
  110. package/dist/commonjs/network.js +1 -13
  111. package/dist/commonjs/performance.js +1 -29
  112. package/dist/commonjs/redux.js +1 -20
  113. package/dist/commonjs/storage.js +1 -14
  114. package/dist/commonjs/styles/AppColors.js +1 -423
  115. package/dist/commonjs/styles/AppFonts.js +1 -17
  116. package/dist/commonjs/styles/common.js +1 -190
  117. package/dist/commonjs/styles/index.d.ts +6 -0
  118. package/dist/commonjs/styles/index.js +1 -1589
  119. package/dist/commonjs/types/enums.d.ts +2 -1
  120. package/dist/commonjs/types/enums.js +1 -150
  121. package/dist/commonjs/types/index.js +1 -18
  122. package/dist/commonjs/types/interfaces.d.ts +7 -0
  123. package/dist/commonjs/types/interfaces.js +1 -2
  124. package/dist/esm/analytics.js +1 -2
  125. package/dist/esm/bundle.js +1 -2
  126. package/dist/esm/capture.d.ts +2 -0
  127. package/dist/esm/capture.js +1 -29
  128. package/dist/esm/components/AnalyticsDetail.js +171 -664
  129. package/dist/esm/components/AnalyticsEventCard.js +77 -335
  130. package/dist/esm/components/AnalyticsGraph.js +95 -357
  131. package/dist/esm/components/AnimatedEntrance.js +1 -6
  132. package/dist/esm/components/AppHeaderLogo.js +7 -94
  133. package/dist/esm/components/BrandCircleIcon.js +114 -119
  134. package/dist/esm/components/BrandSquareIcon.js +73 -78
  135. package/dist/esm/components/CodeSnippet.js +58 -595
  136. package/dist/esm/components/ConsoleLogCard.js +91 -526
  137. package/dist/esm/components/CopyButton.js +3 -51
  138. package/dist/esm/components/DiffViewer.js +22 -48
  139. package/dist/esm/components/DomainHeader.js +43 -138
  140. package/dist/esm/components/EmptyState.d.ts +1 -0
  141. package/dist/esm/components/EmptyState.js +17 -56
  142. package/dist/esm/components/EndOfListFooter.js +15 -83
  143. package/dist/esm/components/ErrorBoundary.js +125 -582
  144. package/dist/esm/components/HeadersSection.js +52 -93
  145. package/dist/esm/components/HighlightText.js +17 -53
  146. package/dist/esm/components/Inspector/AboutModal.d.ts +6 -0
  147. package/dist/esm/components/Inspector/AboutModal.js +351 -0
  148. package/dist/esm/components/Inspector/AnalyticsFilterModal.js +225 -886
  149. package/dist/esm/components/Inspector/AnalyticsTab.js +296 -904
  150. package/dist/esm/components/Inspector/BundleTab.js +1175 -3502
  151. package/dist/esm/components/Inspector/ConsoleTab.js +113 -488
  152. package/dist/esm/components/Inspector/CrashDetail.js +236 -747
  153. package/dist/esm/components/Inspector/CrashFilterModal.js +149 -541
  154. package/dist/esm/components/Inspector/CrashTab.js +177 -711
  155. package/dist/esm/components/Inspector/DebuggingTab.js +156 -923
  156. package/dist/esm/components/Inspector/DeviceInfoTab.js +199 -924
  157. package/dist/esm/components/Inspector/FabLauncher.js +85 -49
  158. package/dist/esm/components/Inspector/FeatureUnderDevNotice.js +14 -70
  159. package/dist/esm/components/Inspector/FeedbackModal.d.ts +9 -0
  160. package/dist/esm/components/Inspector/FeedbackModal.js +182 -499
  161. package/dist/esm/components/Inspector/InspectorContext.js +1 -12
  162. package/dist/esm/components/Inspector/InspectorHeader.js +309 -1145
  163. package/dist/esm/components/Inspector/LogDetail.js +235 -1023
  164. package/dist/esm/components/Inspector/MainScreen.js +86 -320
  165. package/dist/esm/components/Inspector/MediaGalleryTab.js +157 -259
  166. package/dist/esm/components/Inspector/MediaPreviewModal.js +153 -340
  167. package/dist/esm/components/Inspector/NavigationTracker.js +1 -10
  168. package/dist/esm/components/Inspector/NetworkDetail.js +141 -472
  169. package/dist/esm/components/Inspector/NetworkFilterModal.js +122 -597
  170. package/dist/esm/components/Inspector/NetworkTab.js +125 -517
  171. package/dist/esm/components/Inspector/NpmStarPrompt.js +58 -434
  172. package/dist/esm/components/Inspector/NpmUpdateToast.js +45 -281
  173. package/dist/esm/components/Inspector/PerformanceTab.js +393 -1570
  174. package/dist/esm/components/Inspector/ReduxDetail.js +307 -1170
  175. package/dist/esm/components/Inspector/ReduxTab.js +144 -722
  176. package/dist/esm/components/Inspector/SettingsPanel.js +647 -3609
  177. package/dist/esm/components/Inspector/SkeletonPlaceholder.js +30 -163
  178. package/dist/esm/components/Inspector/StorageTab.js +172 -866
  179. package/dist/esm/components/Inspector/TabBar.js +52 -183
  180. package/dist/esm/components/Inspector/UpdateAvailableModal.js +79 -416
  181. package/dist/esm/components/JsonViewer.js +179 -353
  182. package/dist/esm/components/LogCard.js +93 -565
  183. package/dist/esm/components/LogSyntaxHighlighter.js +11 -123
  184. package/dist/esm/components/MetaAccordion.js +136 -267
  185. package/dist/esm/components/MiniBarChart.js +3 -18
  186. package/dist/esm/components/MiniLineChart.js +3 -20
  187. package/dist/esm/components/NetworkIcons.d.ts +7 -0
  188. package/dist/esm/components/NetworkIcons.js +481 -817
  189. package/dist/esm/components/QRCodeView.js +8 -45
  190. package/dist/esm/components/SectionHeader.js +22 -39
  191. package/dist/esm/components/SegmentedTabs.js +8 -57
  192. package/dist/esm/components/SkeletonPlaceholder.js +30 -163
  193. package/dist/esm/components/Slider.js +24 -213
  194. package/dist/esm/components/SourcePageCard.js +65 -86
  195. package/dist/esm/components/Toast.js +10 -117
  196. package/dist/esm/components/TouchableScale.js +3 -19
  197. package/dist/esm/components/TreeNode.js +58 -95
  198. package/dist/esm/console.js +1 -2
  199. package/dist/esm/constants/index.js +1 -28
  200. package/dist/esm/constants/telemetryConfig.js +1 -3
  201. package/dist/esm/constants/version.d.ts +1 -1
  202. package/dist/esm/constants/version.js +1 -1
  203. package/dist/esm/crash.js +1 -2
  204. package/dist/esm/customHooks/analyticsLogger.js +1 -230
  205. package/dist/esm/customHooks/bundleAnalyzer.js +1 -944
  206. package/dist/esm/customHooks/consoleLogger.js +6 -432
  207. package/dist/esm/customHooks/crashHandler.js +7 -630
  208. package/dist/esm/customHooks/logFilters.js +1 -20
  209. package/dist/esm/customHooks/networkLogger.js +2 -519
  210. package/dist/esm/customHooks/performanceTracker.js +63 -723
  211. package/dist/esm/customHooks/reduxLogger.js +2 -293
  212. package/dist/esm/customHooks/storageInspector.js +1 -418
  213. package/dist/esm/customHooks/useAccordion.js +1 -16
  214. package/dist/esm/decorators/index.js +1 -95
  215. package/dist/esm/helpers/gaAnalyticsRegistry.js +1 -143
  216. package/dist/esm/helpers/index.js +8 -861
  217. package/dist/esm/helpers/memoryManager.js +1 -91
  218. package/dist/esm/helpers/qrGenerator.js +1 -364
  219. package/dist/esm/helpers/remoteConfig.js +1 -160
  220. package/dist/esm/helpers/searchQueryParser.js +1 -59
  221. package/dist/esm/helpers/settingsStore.js +1 -134
  222. package/dist/esm/helpers/telemetry.js +1 -489
  223. package/dist/esm/helpers/toast.js +1 -15
  224. package/dist/esm/i18n/index.js +1 -78
  225. package/dist/esm/i18n/locales/en.json +1 -1122
  226. package/dist/esm/index.js +7 -1967
  227. package/dist/esm/metro.js +6 -459
  228. package/dist/esm/native/NativeInspector.d.ts +3 -0
  229. package/dist/esm/native/NativeInspector.js +1 -370
  230. package/dist/esm/native/NativeNetworkInspector.d.ts +1 -0
  231. package/dist/esm/native/NativeNetworkInspector.js +1 -2
  232. package/dist/esm/network.js +1 -1
  233. package/dist/esm/performance.js +1 -2
  234. package/dist/esm/redux.js +1 -1
  235. package/dist/esm/storage.js +1 -1
  236. package/dist/esm/styles/AppColors.js +1 -417
  237. package/dist/esm/styles/AppFonts.js +1 -13
  238. package/dist/esm/styles/common.js +1 -186
  239. package/dist/esm/styles/index.d.ts +6 -0
  240. package/dist/esm/styles/index.js +1 -1551
  241. package/dist/esm/types/enums.d.ts +2 -1
  242. package/dist/esm/types/enums.js +1 -147
  243. package/dist/esm/types/index.js +1 -2
  244. package/dist/esm/types/interfaces.d.ts +7 -0
  245. package/dist/esm/types/interfaces.js +1 -1
  246. package/ios/NetworkInspectorModule.mm +253 -136
  247. package/package.json +5 -3
  248. package/react-native-inapp-inspector.podspec +1 -1
  249. package/src/native/NativeInspector.ts +17 -0
  250. package/src/native/NativeNetworkInspector.ts +1 -0
  251. package/src/analytics.ts +0 -35
  252. package/src/bundle.ts +0 -25
  253. package/src/capture.ts +0 -101
  254. package/src/components/AnalyticsDetail.tsx +0 -870
  255. package/src/components/AnalyticsEventCard.tsx +0 -444
  256. package/src/components/AnalyticsGraph.tsx +0 -583
  257. package/src/components/AnimatedEntrance.tsx +0 -20
  258. package/src/components/AppHeaderLogo.tsx +0 -143
  259. package/src/components/BrandCircleIcon.tsx +0 -144
  260. package/src/components/BrandSquareIcon.tsx +0 -184
  261. package/src/components/CodeSnippet.tsx +0 -725
  262. package/src/components/ConsoleLogCard.tsx +0 -679
  263. package/src/components/CopyButton.tsx +0 -87
  264. package/src/components/DiffViewer.tsx +0 -82
  265. package/src/components/DomainHeader.tsx +0 -224
  266. package/src/components/EmptyState.tsx +0 -95
  267. package/src/components/EndOfListFooter.tsx +0 -100
  268. package/src/components/ErrorBoundary.tsx +0 -688
  269. package/src/components/HeadersSection.tsx +0 -172
  270. package/src/components/HighlightText.tsx +0 -100
  271. package/src/components/Inspector/AnalyticsFilterModal.tsx +0 -1250
  272. package/src/components/Inspector/AnalyticsTab.tsx +0 -1362
  273. package/src/components/Inspector/BundleTab.tsx +0 -4768
  274. package/src/components/Inspector/ConsoleTab.tsx +0 -726
  275. package/src/components/Inspector/CrashDetail.tsx +0 -997
  276. package/src/components/Inspector/CrashFilterModal.tsx +0 -721
  277. package/src/components/Inspector/CrashTab.tsx +0 -933
  278. package/src/components/Inspector/DebuggingTab.tsx +0 -1103
  279. package/src/components/Inspector/DeviceInfoTab.tsx +0 -1397
  280. package/src/components/Inspector/FabLauncher.tsx +0 -80
  281. package/src/components/Inspector/FeatureUnderDevNotice.tsx +0 -94
  282. package/src/components/Inspector/FeedbackModal.tsx +0 -626
  283. package/src/components/Inspector/InspectorContext.tsx +0 -28
  284. package/src/components/Inspector/InspectorHeader.tsx +0 -1545
  285. package/src/components/Inspector/LogDetail.tsx +0 -1431
  286. package/src/components/Inspector/MainScreen.tsx +0 -459
  287. package/src/components/Inspector/MediaGalleryTab.tsx +0 -355
  288. package/src/components/Inspector/MediaPreviewModal.tsx +0 -435
  289. package/src/components/Inspector/NavigationTracker.tsx +0 -13
  290. package/src/components/Inspector/NetworkDetail.tsx +0 -795
  291. package/src/components/Inspector/NetworkFilterModal.tsx +0 -730
  292. package/src/components/Inspector/NetworkTab.tsx +0 -820
  293. package/src/components/Inspector/NpmStarPrompt.tsx +0 -532
  294. package/src/components/Inspector/NpmUpdateToast.tsx +0 -387
  295. package/src/components/Inspector/PerformanceTab.tsx +0 -1967
  296. package/src/components/Inspector/ReduxDetail.tsx +0 -1651
  297. package/src/components/Inspector/ReduxTab.tsx +0 -987
  298. package/src/components/Inspector/SettingsPanel.tsx +0 -4580
  299. package/src/components/Inspector/SkeletonPlaceholder.tsx +0 -206
  300. package/src/components/Inspector/StorageTab.tsx +0 -1159
  301. package/src/components/Inspector/TabBar.tsx +0 -263
  302. package/src/components/Inspector/UpdateAvailableModal.tsx +0 -555
  303. package/src/components/JsonViewer.tsx +0 -547
  304. package/src/components/LogCard.tsx +0 -694
  305. package/src/components/LogSyntaxHighlighter.tsx +0 -178
  306. package/src/components/MetaAccordion.tsx +0 -355
  307. package/src/components/MiniBarChart.tsx +0 -42
  308. package/src/components/MiniLineChart.tsx +0 -33
  309. package/src/components/NetworkIcons.tsx +0 -2599
  310. package/src/components/QRCodeView.tsx +0 -75
  311. package/src/components/SectionHeader.tsx +0 -101
  312. package/src/components/SegmentedTabs.tsx +0 -83
  313. package/src/components/SkeletonPlaceholder.tsx +0 -206
  314. package/src/components/Slider.tsx +0 -300
  315. package/src/components/SourcePageCard.tsx +0 -150
  316. package/src/components/Toast.tsx +0 -131
  317. package/src/components/TouchableScale.tsx +0 -61
  318. package/src/components/TreeNode.tsx +0 -171
  319. package/src/console.ts +0 -24
  320. package/src/constants/index.ts +0 -41
  321. package/src/constants/telemetryConfig.ts +0 -4
  322. package/src/constants/version.ts +0 -3
  323. package/src/crash.ts +0 -32
  324. package/src/customHooks/analyticsLogger.ts +0 -336
  325. package/src/customHooks/bundleAnalyzer.ts +0 -1256
  326. package/src/customHooks/consoleLogger.ts +0 -530
  327. package/src/customHooks/crashHandler.ts +0 -944
  328. package/src/customHooks/logFilters.ts +0 -32
  329. package/src/customHooks/networkLogger.ts +0 -624
  330. package/src/customHooks/performanceTracker.ts +0 -1014
  331. package/src/customHooks/reduxLogger.ts +0 -406
  332. package/src/customHooks/storageInspector.ts +0 -513
  333. package/src/customHooks/useAccordion.tsx +0 -27
  334. package/src/decorators/index.ts +0 -184
  335. package/src/helpers/gaAnalyticsRegistry.ts +0 -204
  336. package/src/helpers/index.ts +0 -1092
  337. package/src/helpers/memoryManager.ts +0 -138
  338. package/src/helpers/qrGenerator.ts +0 -430
  339. package/src/helpers/remoteConfig.ts +0 -212
  340. package/src/helpers/searchQueryParser.ts +0 -84
  341. package/src/helpers/settingsStore.ts +0 -171
  342. package/src/helpers/telemetry.ts +0 -568
  343. package/src/helpers/toast.ts +0 -17
  344. package/src/i18n/index.ts +0 -104
  345. package/src/i18n/locales/en.json +0 -1125
  346. package/src/index.tsx +0 -2635
  347. package/src/metro.ts +0 -598
  348. package/src/network.ts +0 -22
  349. package/src/performance.ts +0 -38
  350. package/src/redux.ts +0 -23
  351. package/src/storage.ts +0 -18
  352. package/src/styles/AppColors.ts +0 -455
  353. package/src/styles/AppFonts.ts +0 -26
  354. package/src/styles/common.ts +0 -209
  355. package/src/styles/index.ts +0 -1606
  356. package/src/types/enums.ts +0 -208
  357. package/src/types/index.ts +0 -34
  358. package/src/types/interfaces.ts +0 -530
@@ -1,748 +1,170 @@
1
- import React, { useCallback, useMemo, useRef, useState } from 'react';
2
- import { FlatList, Platform, Pressable, StyleSheet, Text, TextInput, TouchableOpacity, View, } from 'react-native';
3
- import { useTranslation } from '../../i18n';
4
- import { useInspector } from './InspectorContext';
5
- import TouchableScale from '../TouchableScale';
6
- import AnimatedEntrance from '../AnimatedEntrance';
7
- import EmptyState from '../EmptyState';
8
- import EndOfListFooter from '../EndOfListFooter';
9
- import HighlightText from '../HighlightText';
10
- import { getSize, openInVSCode } from '../../helpers';
11
- import styles from '../../styles';
12
- import { AppColors } from '../../styles/AppColors';
13
- import { AppFonts } from '../../styles/AppFonts';
14
- import { getActionHistory, getReduxAutoRefresh, setReduxAutoRefresh, } from '../../customHooks/reduxLogger';
15
- import { TerminalIcon, SearchIcon, ClearIcon, LayersIcon, ClockIcon, ForwardChevronIcon, SortArrowIcon, BoltIcon, AtomIcon, ScreenIcon, ListenerIcon, DocIcon, LoadingSpinnerIcon, CircleAlertIcon, TextAaIcon, HeaderPauseIcon, } from '../NetworkIcons';
16
- const getOriginBadge = (originType) => {
17
- switch (originType) {
18
- case 'saga':
19
- return {
20
- label: 'SAGA',
21
- renderIcon: (color, size = 9) => <BoltIcon color={color} size={size}/>,
22
- bg: AppColors.purple100,
23
- text: AppColors.brandPurple,
24
- border: AppColors.purple200,
25
- };
26
- case 'thunk':
27
- return {
28
- label: 'THUNK',
29
- renderIcon: (color, size = 9) => <AtomIcon color={color} size={size}/>,
30
- bg: AppColors.amber100,
31
- text: AppColors.amber800Warm,
32
- border: AppColors.amber200,
33
- };
34
- case 'ui':
35
- return {
36
- label: 'UI',
37
- renderIcon: (color, size = 9) => <ScreenIcon color={color} size={size}/>,
38
- bg: AppColors.sky100,
39
- text: AppColors.sky600,
40
- border: AppColors.sky400,
41
- };
42
- case 'listener':
43
- return {
44
- label: 'LISTENER',
45
- renderIcon: (color, size = 9) => <ListenerIcon color={color} size={size}/>,
46
- bg: AppColors.teal100,
47
- text: AppColors.teal700,
48
- border: AppColors.teal400,
49
- };
50
- default:
51
- return {
52
- label: 'DIRECT',
53
- renderIcon: (color, size = 9) => <BoltIcon color={color} size={size}/>,
54
- bg: AppColors.slate100,
55
- text: AppColors.slate700,
56
- border: AppColors.slate200,
57
- };
58
- }
59
- };
60
- const ReduxTab = React.memo(() => {
61
- const { t } = useTranslation();
62
- const { reduxState, reduxLastActionMap, reduxSearch, setReduxSearch, setSelectedReduxSlice, } = useInspector();
63
- const listRef = useRef(null);
64
- const [sortMode, setSortMode] = useState('latest');
65
- const [isReduxPaused, setIsReduxPaused] = useState(!getReduxAutoRefresh());
66
- const handleTogglePause = useCallback(() => {
67
- setIsReduxPaused(prev => {
68
- const next = !prev;
69
- setReduxAutoRefresh(!next);
70
- return next;
71
- });
72
- }, []);
73
- const totalStateSize = useMemo(() => {
74
- return getSize(reduxState);
75
- }, [reduxState]);
76
- const allActions = useMemo(() => {
77
- return getActionHistory();
78
- }, [reduxLastActionMap]);
79
- const sliceItems = useMemo(() => {
80
- if (!reduxState || typeof reduxState !== 'object')
81
- return [];
82
- const keys = Object.keys(reduxState);
83
- return keys.map(key => {
84
- const sliceVal = reduxState[key];
85
- const isArray = Array.isArray(sliceVal);
86
- const isObject = sliceVal && typeof sliceVal === 'object';
87
- let typeLabel = 'Primitive';
88
- let keysCount = 0;
89
- if (isArray) {
90
- keysCount = sliceVal.length;
91
- typeLabel = `Array [${keysCount}]`;
92
- }
93
- else if (isObject) {
94
- keysCount = Object.keys(sliceVal).length;
95
- typeLabel = `Object {${keysCount}}`;
96
- }
97
- else if (typeof sliceVal !== 'undefined') {
98
- keysCount = 1;
99
- typeLabel = typeof sliceVal;
100
- }
101
- let status = 'live';
102
- let statusMessage;
103
- if (isObject) {
104
- if (sliceVal.loading === true ||
105
- sliceVal.isLoading === true ||
106
- sliceVal.status === 'loading' ||
107
- sliceVal.status === 'pending') {
108
- status = 'loading';
109
- statusMessage = 'Loading';
110
- }
111
- else if (sliceVal.error ||
112
- sliceVal.hasError ||
113
- sliceVal.status === 'error' ||
114
- sliceVal.status === 'failed') {
115
- status = 'error';
116
- statusMessage = typeof sliceVal.error === 'string' ? sliceVal.error : 'Error';
117
- }
118
- else if (keysCount === 0) {
119
- status = 'empty';
120
- statusMessage = 'Empty';
121
- }
122
- }
123
- const lastActionRaw = reduxLastActionMap[key];
124
- const updatedAt = lastActionRaw?.updatedAt || 0;
125
- const timelineCount = allActions.filter(action => {
126
- if (!action.affectedSlices || action.affectedSlices.length === 0)
127
- return true;
128
- return action.affectedSlices.includes(key);
129
- }).length;
130
- let lastAction = undefined;
131
- if (lastActionRaw) {
132
- let payloadPreview;
133
- if (lastActionRaw.payload !== undefined && lastActionRaw.payload !== null) {
134
- try {
135
- if (typeof lastActionRaw.payload === 'object') {
136
- const pKeys = Object.keys(lastActionRaw.payload);
137
- payloadPreview = `{ ${pKeys.slice(0, 3).join(', ')}${pKeys.length > 3 ? '...' : ''} }`;
138
- }
139
- else {
140
- payloadPreview = String(lastActionRaw.payload);
141
- }
142
- }
143
- catch { }
144
- }
145
- lastAction = {
146
- type: lastActionRaw.type,
147
- timestamp: lastActionRaw.timestamp,
148
- updatedAt: lastActionRaw.updatedAt,
149
- payloadPreview,
150
- originType: lastActionRaw.originType,
151
- callerFile: lastActionRaw.callerFile,
152
- callerLine: lastActionRaw.callerLine,
153
- callerCol: lastActionRaw.callerCol,
154
- };
155
- }
156
- return {
157
- id: `slice-${key}`,
158
- name: key,
159
- keysCount,
160
- sizeStr: getSize(sliceVal),
161
- typeLabel,
162
- status,
163
- statusMessage,
164
- timelineCount,
165
- lastAction,
166
- updatedAt,
167
- };
168
- });
169
- }, [reduxState, reduxLastActionMap, allActions]);
170
- const filteredSlices = useMemo(() => {
171
- let list = sliceItems;
172
- if (reduxSearch && reduxSearch.trim().length > 0) {
173
- const queryTokens = reduxSearch.trim().toLowerCase().split(/\s+/).filter(Boolean);
174
- list = list.filter(item => {
175
- const sliceVal = reduxState ? reduxState[item.name] : null;
176
- const searchTarget = [
177
- item.name || '',
178
- item.lastAction?.type || '',
179
- item.lastAction?.payloadPreview || '',
180
- item.lastAction?.originType || '',
181
- item.status || '',
182
- item.statusMessage || '',
183
- sliceVal ? (typeof sliceVal === 'string' ? sliceVal : JSON.stringify(sliceVal)) : '',
184
- ].join(' ').toLowerCase();
185
- return queryTokens.every(tok => searchTarget.includes(tok));
186
- });
187
- }
188
- return [...list].sort((a, b) => {
189
- if (sortMode === 'latest') {
190
- if (b.updatedAt !== a.updatedAt) {
191
- return b.updatedAt - a.updatedAt;
192
- }
193
- return a.name.localeCompare(b.name);
194
- }
195
- return a.name.localeCompare(b.name);
196
- });
197
- }, [sliceItems, reduxSearch, sortMode, reduxState]);
198
- const lastGlobalAction = useMemo(() => {
199
- const actions = Object.values(reduxLastActionMap);
200
- if (actions.length === 0)
201
- return null;
202
- return actions.reduce((latest, curr) => {
203
- if (!latest)
204
- return curr;
205
- return (curr.updatedAt || 0) > (latest.updatedAt || 0) ? curr : latest;
206
- }, null);
207
- }, [reduxLastActionMap]);
208
- const renderSliceItem = useCallback(({ item, index }) => {
209
- const isRecentlyUpdated = item.updatedAt > 0 && Date.now() - item.updatedAt < 5000;
210
- return (<AnimatedEntrance index={index} distance={8}>
211
- <TouchableScale onPress={() => {
212
- setSelectedReduxSlice(item.name);
213
- }} style={[
214
- reduxTabStyles.card,
215
- isRecentlyUpdated && reduxTabStyles.cardRecentlyUpdated,
216
- ]}>
1
+ import Pe,{useCallback as Q,useMemo as O,useRef as Le,useState as X}from"react";import{FlatList as Fe,Platform as We,Pressable as Y,StyleSheet as He,Text as C,TextInput as De,TouchableOpacity as _,View as T}from"react-native";import{useTranslation as Oe}from"../../i18n";import{useInspector as Ee}from"./InspectorContext";import Me from"../TouchableScale";import $e from"../AnimatedEntrance";import Ne from"../EmptyState";import Ue from"../EndOfListFooter";import Te from"../HighlightText";import{getSize as we,openInVSCode as Ge}from"../../helpers";import B from"../../styles";import{AppColors as e}from"../../styles/AppColors";import{AppFonts as S}from"../../styles/AppFonts";import{getActionHistory as Ke,getReduxAutoRefresh as Ze,setReduxAutoRefresh as qe}from"../../customHooks/reduxLogger";import{TerminalIcon as Je,SearchIcon as Qe,ClearIcon as Xe,LayersIcon as Ye,ClockIcon as _e,ForwardChevronIcon as Tt,SortArrowIcon as Ct,BoltIcon as U,AtomIcon as St,ScreenIcon as At,ListenerIcon as Rt,DocIcon as Vt,LoadingSpinnerIcon as It,CircleAlertIcon as Bt,TextAaIcon as Pt,HeaderPauseIcon as Lt}from"../NetworkIcons";const Ce=E=>{switch(E){case"saga":return{label:"SAGA",renderIcon:(A,R=9)=><U color={A}size={R}/>,bg:e.purple100,text:e.brandPurple,border:e.purple200};case"thunk":return{label:"THUNK",renderIcon:(A,R=9)=><St color={A}size={R}/>,bg:e.amber100,text:e.amber800Warm,border:e.amber200};case"ui":return{label:"UI",renderIcon:(A,R=9)=><At color={A}size={R}/>,bg:e.sky100,text:e.sky600,border:e.sky400};case"listener":return{label:"LISTENER",renderIcon:(A,R=9)=><Rt color={A}size={R}/>,bg:e.teal100,text:e.teal700,border:e.teal400};default:return{label:"DIRECT",renderIcon:(A,R=9)=><U color={A}size={R}/>,bg:e.slate100,text:e.slate700,border:e.slate200}}},vt=Pe.memo(()=>{const{t:E}=Oe(),{reduxState:A,reduxLastActionMap:R,reduxSearch:k,setReduxSearch:G,setSelectedReduxSlice:K}=Ee(),Se=Le(null),[P,Ae]=X("latest"),[D,ze]=X(!Ze()),Re=Q(()=>{ze(r=>{const z=!r;return qe(!z),z})},[]),ke=O(()=>we(A),[A]),Z=O(()=>Ke(),[R]),M=O(()=>!A||typeof A!="object"?[]:Object.keys(A).map(z=>{const o=A[z],I=Array.isArray(o),$=o&&typeof o=="object";let H="Primitive",L=0;I?(L=o.length,H=`Array [${L}]`):$?(L=Object.keys(o).length,H=`Object {${L}}`):typeof o<"u"&&(L=1,H=typeof o);let j="live",N;$&&(o.loading===!0||o.isLoading===!0||o.status==="loading"||o.status==="pending"?(j="loading",N="Loading"):o.error||o.hasError||o.status==="error"||o.status==="failed"?(j="error",N=typeof o.error=="string"?o.error:"Error"):L===0&&(j="empty",N="Empty"));const V=R[z],Ie=V?.updatedAt||0,Be=Z.filter(v=>!v.affectedSlices||v.affectedSlices.length===0?!0:v.affectedSlices.includes(z)).length;let q;if(V){let v;if(V.payload!==void 0&&V.payload!==null)try{if(typeof V.payload=="object"){const J=Object.keys(V.payload);v=`{ ${J.slice(0,3).join(", ")}${J.length>3?"...":""} }`}else v=String(V.payload)}catch{}q={type:V.type,timestamp:V.timestamp,updatedAt:V.updatedAt,payloadPreview:v,originType:V.originType,callerFile:V.callerFile,callerLine:V.callerLine,callerCol:V.callerCol}}return{id:`slice-${z}`,name:z,keysCount:L,sizeStr:we(o),typeLabel:H,status:j,statusMessage:N,timelineCount:Be,lastAction:q,updatedAt:Ie}}),[A,R,Z]),F=O(()=>{let r=M;if(k&&k.trim().length>0){const z=k.trim().toLowerCase().split(/\s+/).filter(Boolean);r=r.filter(o=>{const I=A?A[o.name]:null,$=[o.name||"",o.lastAction?.type||"",o.lastAction?.payloadPreview||"",o.lastAction?.originType||"",o.status||"",o.statusMessage||"",I?typeof I=="string"?I:JSON.stringify(I):""].join(" ").toLowerCase();return z.every(H=>$.includes(H))})}return[...r].sort((z,o)=>P==="latest"&&o.updatedAt!==z.updatedAt?o.updatedAt-z.updatedAt:z.name.localeCompare(o.name))},[M,k,P,A]),W=O(()=>{const r=Object.values(R);return r.length===0?null:r.reduce((z,o)=>z?(o.updatedAt||0)>(z.updatedAt||0)?o:z:o,null)},[R]),Ve=Q(({item:r,index:z})=>{const o=r.updatedAt>0&&Date.now()-r.updatedAt<5e3;return<$e index={z}distance={8}>
2
+ <Me onPress={()=>{K(r.name)}}style={[t.card,o&&t.cardRecentlyUpdated]}>
217
3
 
218
- <View style={reduxTabStyles.cardHeader}>
219
- <View style={reduxTabStyles.sliceBadge}>
220
- <Text style={reduxTabStyles.sliceBadgeText}>SLICE</Text>
221
- </View>
4
+ <T style={t.cardHeader}>
5
+ <T style={t.sliceBadge}>
6
+ <C style={t.sliceBadgeText}>SLICE</C>
7
+ </T>
222
8
 
223
- <HighlightText text={item.name} search={reduxSearch} style={reduxTabStyles.sliceName} highlightStyle={reduxTabStyles.highlight}/>
9
+ <Te text={r.name}search={k}style={t.sliceName}highlightStyle={t.highlight}/>
224
10
 
225
11
 
226
- {item.status === 'loading' ? (<View style={reduxTabStyles.loadingPill}>
227
- <LoadingSpinnerIcon color={AppColors.amber800Warm} size={10}/>
228
- <Text style={reduxTabStyles.loadingPillText}>Loading</Text>
229
- </View>) : item.status === 'error' ? (<View style={reduxTabStyles.errorPill}>
230
- <CircleAlertIcon color={AppColors.red600} size={10}/>
231
- <Text style={reduxTabStyles.errorPillText}>Error</Text>
232
- </View>) : item.status === 'empty' ? (<View style={reduxTabStyles.emptyPill}>
233
- <Text style={reduxTabStyles.emptyPillText}>Empty</Text>
234
- </View>) : (<View style={reduxTabStyles.livePill}>
235
- <View style={reduxTabStyles.liveDot}/>
236
- <Text style={reduxTabStyles.livePillText}>Live</Text>
237
- </View>)}
12
+ {r.status==="loading"?<T style={t.loadingPill}>
13
+ <It color={e.amber800Warm}size={10}/>
14
+ <C style={t.loadingPillText}>Loading</C>
15
+ </T>:r.status==="error"?<T style={t.errorPill}>
16
+ <Bt color={e.red600}size={10}/>
17
+ <C style={t.errorPillText}>Error</C>
18
+ </T>:r.status==="empty"?<T style={t.emptyPill}>
19
+ <C style={t.emptyPillText}>Empty</C>
20
+ </T>:<T style={t.livePill}>
21
+ <T style={t.liveDot}/>
22
+ <C style={t.livePillText}>Live</C>
23
+ </T>}
238
24
 
239
- {item.lastAction?.timestamp && (<View style={reduxTabStyles.timePill}>
240
- <ClockIcon color={AppColors.purple} size={10}/>
241
- <Text style={reduxTabStyles.timeText}>
242
- {item.lastAction.timestamp}
243
- </Text>
244
- </View>)}
25
+ {r.lastAction?.timestamp&&<T style={t.timePill}>
26
+ <_e color={e.purple}size={10}/>
27
+ <C style={t.timeText}>
28
+ {r.lastAction.timestamp}
29
+ </C>
30
+ </T>}
245
31
 
246
- <ForwardChevronIcon color={AppColors.grayTextWeak} size={13}/>
247
- </View>
32
+ <Tt color={e.grayTextWeak}size={13}/>
33
+ </T>
248
34
 
249
35
 
250
- <View style={reduxTabStyles.statsRow}>
251
- <View style={reduxTabStyles.pill}>
252
- <LayersIcon color={AppColors.grayTextWeak} size={11}/>
253
- <Text style={reduxTabStyles.pillValue}>{item.typeLabel}</Text>
254
- </View>
255
- <View style={reduxTabStyles.pill}>
256
- <Text style={reduxTabStyles.pillLabel}>Size:</Text>
257
- <Text style={reduxTabStyles.pillValue}>{item.sizeStr}</Text>
258
- </View>
259
- {item.timelineCount > 0 && (<View style={reduxTabStyles.pill}>
260
- <Text style={reduxTabStyles.pillLabel}>Actions:</Text>
261
- <Text style={reduxTabStyles.pillValue}>{item.timelineCount}</Text>
262
- </View>)}
263
- </View>
36
+ <T style={t.statsRow}>
37
+ <T style={t.pill}>
38
+ <Ye color={e.grayTextWeak}size={11}/>
39
+ <C style={t.pillValue}>{r.typeLabel}</C>
40
+ </T>
41
+ <T style={t.pill}>
42
+ <C style={t.pillLabel}>Size:</C>
43
+ <C style={t.pillValue}>{r.sizeStr}</C>
44
+ </T>
45
+ {r.timelineCount>0&&<T style={t.pill}>
46
+ <C style={t.pillLabel}>Actions:</C>
47
+ <C style={t.pillValue}>{r.timelineCount}</C>
48
+ </T>}
49
+ </T>
264
50
 
265
51
 
266
- {item.lastAction && (<View style={reduxTabStyles.lastActionRow}>
267
- <View style={{ flexDirection: 'row', alignItems: 'center', gap: 5, flex: 1, minWidth: 0, flexWrap: 'wrap' }}>
268
- <BoltIcon color={AppColors.brandPurple} size={12}/>
269
- <Text style={reduxTabStyles.lastActionLabel}>{t('redux.last', 'Last')}:</Text>
52
+ {r.lastAction&&<T style={t.lastActionRow}>
53
+ <T style={{flexDirection:"row",alignItems:"center",gap:5,flex:1,minWidth:0,flexWrap:"wrap"}}>
54
+ <U color={e.brandPurple}size={12}/>
55
+ <C style={t.lastActionLabel}>{E("redux.last","Last")}:</C>
270
56
 
271
57
 
272
- {item.lastAction.originType && (() => {
273
- const origin = getOriginBadge(item.lastAction.originType);
274
- return (<View style={{
275
- flexDirection: 'row',
276
- alignItems: 'center',
277
- gap: 2.5,
278
- backgroundColor: origin.bg,
279
- paddingHorizontal: 4.5,
280
- paddingVertical: 1.5,
281
- borderRadius: 3.5,
282
- borderWidth: 1,
283
- borderColor: origin.border,
284
- }}>
285
- {origin.renderIcon(origin.text, 8.5)}
286
- <Text style={{
287
- fontFamily: AppFonts.interBold,
288
- fontSize: 8,
289
- color: origin.text,
290
- letterSpacing: 0.3,
291
- }}>
292
- {origin.label}
293
- </Text>
294
- </View>);
295
- })()}
58
+ {r.lastAction.originType&&(()=>{const I=Ce(r.lastAction.originType);return<T style={{flexDirection:"row",alignItems:"center",gap:2.5,backgroundColor:I.bg,paddingHorizontal:4.5,paddingVertical:1.5,borderRadius:3.5,borderWidth:1,borderColor:I.border}}>
59
+ {I.renderIcon(I.text,8.5)}
60
+ <C style={{fontFamily:S.interBold,fontSize:8,color:I.text,letterSpacing:.3}}>
61
+ {I.label}
62
+ </C>
63
+ </T>})()}
296
64
 
297
- <HighlightText text={item.lastAction.type} search={reduxSearch} style={reduxTabStyles.lastActionValue} highlightStyle={reduxTabStyles.highlight} numberOfLines={1}/>
65
+ <Te text={r.lastAction.type}search={k}style={t.lastActionValue}highlightStyle={t.highlight}numberOfLines={1}/>
298
66
 
299
67
 
300
- {item.lastAction.callerFile && (<Pressable onPress={() => openInVSCode(item.lastAction.callerFile, item.lastAction.callerLine, item.lastAction.callerCol)} hitSlop={6} style={{
301
- flexDirection: 'row',
302
- alignItems: 'center',
303
- gap: 2.5,
304
- backgroundColor: AppColors.sky100,
305
- paddingHorizontal: 4.5,
306
- paddingVertical: 1.5,
307
- borderRadius: 3,
308
- borderWidth: 0.5,
309
- borderColor: AppColors.sky400,
310
- }}>
311
- <DocIcon color={AppColors.sky600} size={9}/>
312
- <Text style={{
313
- fontFamily: AppFonts.interMedium,
314
- fontSize: 8.5,
315
- color: AppColors.sky600,
316
- }}>
317
- {item.lastAction.callerFile.split('/').pop()}:{item.lastAction.callerLine || 1}
318
- </Text>
319
- </Pressable>)}
68
+ {r.lastAction.callerFile&&<Y onPress={()=>Ge(r.lastAction.callerFile,r.lastAction.callerLine,r.lastAction.callerCol)}hitSlop={6}style={{flexDirection:"row",alignItems:"center",gap:2.5,backgroundColor:e.sky100,paddingHorizontal:4.5,paddingVertical:1.5,borderRadius:3,borderWidth:.5,borderColor:e.sky400}}>
69
+ <Vt color={e.sky600}size={9}/>
70
+ <C style={{fontFamily:S.interMedium,fontSize:8.5,color:e.sky600}}>
71
+ {r.lastAction.callerFile.split("/").pop()}:{r.lastAction.callerLine||1}
72
+ </C>
73
+ </Y>}
320
74
 
321
- {item.lastAction.payloadPreview && (<Text style={reduxTabStyles.payloadPreviewText} numberOfLines={1}>
322
- {item.lastAction.payloadPreview}
323
- </Text>)}
324
- </View>
325
- </View>)}
326
- </TouchableScale>
327
- </AnimatedEntrance>);
328
- }, [reduxSearch, setSelectedReduxSlice, t]);
329
- if (!reduxState) {
330
- return (<View style={styles.emptyContainer}>
331
- <View style={styles.emptyIconWrap}>
332
- <TerminalIcon color={AppColors.purple} size={32}/>
333
- </View>
334
- <Text style={styles.emptyTitle}>No Redux Store Connected</Text>
335
- <Text style={styles.emptySub}>
336
- Call connectReduxStore(store) or use inspectorReduxMiddleware at app initialization.
337
- </Text>
338
- </View>);
339
- }
340
- return (<View style={{ flex: 1, backgroundColor: AppColors.grayBackground }}>
75
+ {r.lastAction.payloadPreview&&<C style={t.payloadPreviewText}numberOfLines={1}>
76
+ {r.lastAction.payloadPreview}
77
+ </C>}
78
+ </T>
79
+ </T>}
80
+ </Me>
81
+ </$e>},[k,K,E]);return A?<T style={{flex:1,backgroundColor:e.grayBackground}}>
341
82
 
342
- <View style={reduxTabStyles.overviewCard}>
343
- <View style={reduxTabStyles.statCol}>
344
- <Text style={reduxTabStyles.statHeading}>ACTIVE SLICES</Text>
345
- <Text style={reduxTabStyles.statBigVal}>{sliceItems.length}</Text>
346
- </View>
347
- <View style={reduxTabStyles.statDivider}/>
348
- <View style={reduxTabStyles.statCol}>
349
- <Text style={reduxTabStyles.statHeading}>TOTAL STATE</Text>
350
- <Text style={reduxTabStyles.statBigVal}>{totalStateSize}</Text>
351
- </View>
352
- <View style={reduxTabStyles.statDivider}/>
353
- <View style={[reduxTabStyles.statCol, { flex: 1.6 }]}>
354
- <View style={{ flexDirection: 'row', alignItems: 'center', gap: 4 }}>
355
- <Text style={reduxTabStyles.statHeading}>LAST ACTION</Text>
356
- {lastGlobalAction?.originType && (() => {
357
- const origin = getOriginBadge(lastGlobalAction.originType);
358
- return (<View style={{
359
- flexDirection: 'row',
360
- alignItems: 'center',
361
- gap: 2,
362
- backgroundColor: origin.bg,
363
- paddingHorizontal: 4,
364
- paddingVertical: 1,
365
- borderRadius: 3,
366
- }}>
367
- {origin.renderIcon(origin.text, 8)}
368
- <Text style={{
369
- fontFamily: AppFonts.interBold,
370
- fontSize: 7.5,
371
- color: origin.text,
372
- }}>
373
- {origin.label}
374
- </Text>
375
- </View>);
376
- })()}
377
- </View>
378
- <Text style={reduxTabStyles.statLastAction} numberOfLines={1}>
379
- {lastGlobalAction ? lastGlobalAction.type : 'Initial'}
380
- </Text>
381
- {lastGlobalAction?.timestamp && (<Text style={reduxTabStyles.statLastTime}>
382
- {lastGlobalAction.timestamp}
383
- </Text>)}
384
- </View>
385
- </View>
83
+ <T style={t.overviewCard}>
84
+ <T style={t.statCol}>
85
+ <C style={t.statHeading}>ACTIVE SLICES</C>
86
+ <C style={t.statBigVal}>{M.length}</C>
87
+ </T>
88
+ <T style={t.statDivider}/>
89
+ <T style={t.statCol}>
90
+ <C style={t.statHeading}>TOTAL STATE</C>
91
+ <C style={t.statBigVal}>{ke}</C>
92
+ </T>
93
+ <T style={t.statDivider}/>
94
+ <T style={[t.statCol,{flex:1.6}]}>
95
+ <T style={{flexDirection:"row",alignItems:"center",gap:4}}>
96
+ <C style={t.statHeading}>LAST ACTION</C>
97
+ {W?.originType&&(()=>{const r=Ce(W.originType);return<T style={{flexDirection:"row",alignItems:"center",gap:2,backgroundColor:r.bg,paddingHorizontal:4,paddingVertical:1,borderRadius:3}}>
98
+ {r.renderIcon(r.text,8)}
99
+ <C style={{fontFamily:S.interBold,fontSize:7.5,color:r.text}}>
100
+ {r.label}
101
+ </C>
102
+ </T>})()}
103
+ </T>
104
+ <C style={t.statLastAction}numberOfLines={1}>
105
+ {W?W.type:"Initial"}
106
+ </C>
107
+ {W?.timestamp&&<C style={t.statLastTime}>
108
+ {W.timestamp}
109
+ </C>}
110
+ </T>
111
+ </T>
386
112
 
387
113
 
388
- <View style={reduxTabStyles.toolbarContainer}>
389
- <View style={reduxTabStyles.searchRow}>
390
- <View style={styles.searchContainer}>
391
- <SearchIcon color={AppColors.grayTextWeak} size={15}/>
392
- <TextInput accessible={true} accessibilityRole="search" accessibilityLabel="Search Redux slices or actions" accessibilityHint="Type to filter state slices in real time" placeholder="Search Redux slices or actions..." placeholderTextColor={AppColors.grayTextWeak} value={reduxSearch} onChangeText={setReduxSearch} style={styles.searchInput} autoCorrect={false} autoCapitalize="none"/>
393
- {reduxSearch.length > 0 && (<View style={{ flexDirection: 'row', alignItems: 'center', gap: 4 }}>
394
- <View style={{
395
- backgroundColor: `${AppColors.purple}20`,
396
- borderRadius: 10,
397
- paddingHorizontal: 6,
398
- paddingVertical: 1.5,
399
- }}>
400
- <Text style={{
401
- color: AppColors.purple,
402
- fontSize: 9.5,
403
- fontFamily: AppFonts.interBold,
404
- }}>
405
- {filteredSlices.length}
406
- </Text>
407
- </View>
408
- <Pressable accessible={true} accessibilityRole="button" accessibilityLabel="Clear search input" onPress={() => setReduxSearch('')} hitSlop={10}>
409
- <ClearIcon color={AppColors.grayTextWeak} size={14}/>
410
- </Pressable>
411
- </View>)}
412
- </View>
114
+ <T style={t.toolbarContainer}>
115
+ <T style={t.searchRow}>
116
+ <T style={B.searchContainer}>
117
+ <Qe color={e.grayTextWeak}size={15}/>
118
+ <De accessible={!0}accessibilityRole="search"accessibilityLabel="Search Redux slices or actions"accessibilityHint="Type to filter state slices in real time"placeholder="Search Redux slices or actions..."placeholderTextColor={e.grayTextWeak}value={k}onChangeText={G}style={B.searchInput}autoCorrect={!1}autoCapitalize="none"/>
119
+ {k.length>0&&<T style={{flexDirection:"row",alignItems:"center",gap:4}}>
120
+ <T style={{backgroundColor:`${e.purple}20`,borderRadius:10,paddingHorizontal:6,paddingVertical:1.5}}>
121
+ <C style={{color:e.purple,fontSize:9.5,fontFamily:S.interBold}}>
122
+ {F.length}
123
+ </C>
124
+ </T>
125
+ <Y accessible={!0}accessibilityRole="button"accessibilityLabel="Clear search input"onPress={()=>G("")}hitSlop={10}>
126
+ <Xe color={e.grayTextWeak}size={14}/>
127
+ </Y>
128
+ </T>}
129
+ </T>
413
130
 
414
131
 
415
- <TouchableOpacity accessible={true} accessibilityRole="button" accessibilityLabel={isReduxPaused
416
- ? 'Resume live Redux updates'
417
- : 'Pause live Redux updates'} accessibilityHint="Toggles automatic recording of Redux state updates" style={[
418
- styles.toolbarBtn,
419
- isReduxPaused && {
420
- backgroundColor: `${AppColors.darkOrange}1F`,
421
- borderColor: AppColors.darkOrange,
422
- },
423
- ]} onPress={handleTogglePause} hitSlop={6}>
424
- <HeaderPauseIcon isPaused={isReduxPaused} color={isReduxPaused
425
- ? AppColors.darkOrange
426
- : AppColors.grayTextStrong} size={16}/>
427
- </TouchableOpacity>
132
+ <_ accessible={!0}accessibilityRole="button"accessibilityLabel={D?"Resume live Redux updates":"Pause live Redux updates"}accessibilityHint="Toggles automatic recording of Redux state updates"style={[B.toolbarBtn,D&&{backgroundColor:`${e.darkOrange}1F`,borderColor:e.darkOrange}]}onPress={Re}hitSlop={6}>
133
+ <Lt isPaused={D}color={D?e.darkOrange:e.grayTextStrong}size={16}/>
134
+ </_>
428
135
 
429
136
 
430
- <TouchableOpacity accessible={true} accessibilityRole="button" accessibilityLabel={`Sort order: ${sortMode === 'latest'
431
- ? 'Recently updated first'
432
- : 'Alphabetical A to Z'}`} accessibilityHint="Switches sorting between recently updated and alphabetical" style={[
433
- styles.toolbarBtn,
434
- sortMode === 'latest' && { backgroundColor: `${AppColors.brandPurple}1F`, borderColor: AppColors.brandPurple },
435
- ]} onPress={() => setSortMode(prev => (prev === 'latest' ? 'alpha' : 'latest'))} hitSlop={6}>
436
- <SortArrowIcon color={sortMode === 'latest' ? AppColors.brandPurple : AppColors.grayTextStrong} size={16}/>
437
- </TouchableOpacity>
438
- </View>
137
+ <_ accessible={!0}accessibilityRole="button"accessibilityLabel={`Sort order: ${P==="latest"?"Recently updated first":"Alphabetical A to Z"}`}accessibilityHint="Switches sorting between recently updated and alphabetical"style={[B.toolbarBtn,P==="latest"&&{backgroundColor:`${e.brandPurple}1F`,borderColor:e.brandPurple}]}onPress={()=>Ae(r=>r==="latest"?"alpha":"latest")}hitSlop={6}>
138
+ <Ct color={P==="latest"?e.brandPurple:e.grayTextStrong}size={16}/>
139
+ </_>
140
+ </T>
439
141
 
440
- <View style={reduxTabStyles.headerSubRow}>
441
- <Text style={reduxTabStyles.resultCount}>
442
- Showing {filteredSlices.length} of {sliceItems.length} state slices
443
- </Text>
444
- <View style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}>
445
- {isReduxPaused && (<View style={reduxTabStyles.pausedBannerPill}>
446
- <Text style={reduxTabStyles.pausedBannerText}>PAUSED</Text>
447
- </View>)}
448
- <View style={{ flexDirection: 'row', alignItems: 'center', gap: 4 }}>
449
- {sortMode === 'latest' ? (<BoltIcon color={AppColors.brandPurple} size={11}/>) : (<TextAaIcon color={AppColors.brandPurple} size={11}/>)}
450
- <Text style={reduxTabStyles.sortLabel}>
451
- {sortMode === 'latest' ? 'Newest Updates First' : 'Alphabetical (A-Z)'}
452
- </Text>
453
- </View>
454
- </View>
455
- </View>
456
- </View>
142
+ <T style={t.headerSubRow}>
143
+ <C style={t.resultCount}>
144
+ Showing {F.length} of {M.length} state slices
145
+ </C>
146
+ <T style={{flexDirection:"row",alignItems:"center",gap:8}}>
147
+ {D&&<T style={t.pausedBannerPill}>
148
+ <C style={t.pausedBannerText}>PAUSED</C>
149
+ </T>}
150
+ <T style={{flexDirection:"row",alignItems:"center",gap:4}}>
151
+ {P==="latest"?<U color={e.brandPurple}size={11}/>:<Pt color={e.brandPurple}size={11}/>}
152
+ <C style={t.sortLabel}>
153
+ {P==="latest"?"Newest Updates First":"Alphabetical (A-Z)"}
154
+ </C>
155
+ </T>
156
+ </T>
157
+ </T>
158
+ </T>
457
159
 
458
160
 
459
- <FlatList ref={listRef} data={filteredSlices} keyExtractor={item => item.id} renderItem={renderSliceItem} initialNumToRender={12} maxToRenderPerBatch={8} windowSize={5} removeClippedSubviews={Platform.OS === 'android'} renderToHardwareTextureAndroid={true} ListEmptyComponent={<EmptyState isSearch={reduxSearch.trim().length > 0} searchQuery={reduxSearch} onClearSearch={() => setReduxSearch('')} customTitle={reduxSearch.trim().length > 0 ? 'No Matching Slices' : 'No Redux State Detected'} customSub={reduxSearch.trim().length > 0
460
- ? `No Redux slices match "${reduxSearch}"`
461
- : 'Attach the Redux store or dispatch actions to see state slices.'}/>} ListFooterComponent={filteredSlices.length > 0 ? (<EndOfListFooter count={filteredSlices.length} label="slices"/>) : null} contentContainerStyle={[
462
- reduxTabStyles.listContent,
463
- filteredSlices.length === 0 && { flexGrow: 1 },
464
- ]} keyboardShouldPersistTaps="handled"/>
465
- </View>);
466
- });
467
- const reduxTabStyles = StyleSheet.create({
468
- overviewCard: {
469
- flexDirection: 'row',
470
- alignItems: 'center',
471
- backgroundColor: AppColors.white,
472
- marginHorizontal: 12,
473
- marginTop: 10,
474
- borderRadius: 12,
475
- padding: 12,
476
- borderWidth: 1,
477
- borderColor: AppColors.dividerColor,
478
- shadowColor: AppColors.primaryBlack,
479
- shadowOffset: { width: 0, height: 1 },
480
- shadowOpacity: 0.03,
481
- shadowRadius: 3,
482
- elevation: 1,
483
- },
484
- statCol: {
485
- flex: 1,
486
- },
487
- statDivider: {
488
- width: 1,
489
- height: 28,
490
- backgroundColor: AppColors.dividerColor,
491
- marginHorizontal: 8,
492
- },
493
- statHeading: {
494
- fontFamily: AppFonts.interBold,
495
- fontSize: 9,
496
- color: AppColors.grayTextWeak,
497
- letterSpacing: 0.5,
498
- },
499
- statBigVal: {
500
- fontFamily: AppFonts.interBold,
501
- fontSize: 14,
502
- color: AppColors.primaryBlack,
503
- marginTop: 2,
504
- },
505
- statLastAction: {
506
- fontFamily: AppFonts.interBold,
507
- fontSize: 11,
508
- color: AppColors.purple,
509
- marginTop: 2,
510
- },
511
- statLastTime: {
512
- fontFamily: AppFonts.interRegular,
513
- fontSize: 9.5,
514
- color: AppColors.grayTextWeak,
515
- },
516
- toolbarContainer: {
517
- backgroundColor: AppColors.white,
518
- borderBottomWidth: 1,
519
- borderBottomColor: AppColors.dividerColor,
520
- paddingHorizontal: 12,
521
- paddingTop: 8,
522
- paddingBottom: 6,
523
- marginTop: 8,
524
- },
525
- searchRow: {
526
- flexDirection: 'row',
527
- alignItems: 'center',
528
- gap: 8,
529
- },
530
- headerSubRow: {
531
- flexDirection: 'row',
532
- justifyContent: 'space-between',
533
- alignItems: 'center',
534
- marginTop: 6,
535
- paddingHorizontal: 2,
536
- },
537
- resultCount: {
538
- fontFamily: AppFonts.interMedium,
539
- fontSize: 11,
540
- color: AppColors.grayTextWeak,
541
- },
542
- sortLabel: {
543
- fontFamily: AppFonts.interMedium,
544
- fontSize: 10.5,
545
- color: AppColors.brandPurple,
546
- },
547
- listContent: {
548
- padding: 12,
549
- paddingBottom: 36,
550
- },
551
- card: {
552
- backgroundColor: AppColors.white,
553
- borderRadius: 12,
554
- padding: 12,
555
- marginBottom: 10,
556
- borderWidth: 1,
557
- borderColor: AppColors.dividerColor,
558
- shadowColor: AppColors.primaryBlack,
559
- shadowOffset: { width: 0, height: 1 },
560
- shadowOpacity: 0.04,
561
- shadowRadius: 4,
562
- elevation: 2,
563
- },
564
- cardRecentlyUpdated: {
565
- borderColor: `${AppColors.brandPurple}66`,
566
- backgroundColor: AppColors.purpleTintBg,
567
- },
568
- cardHeader: {
569
- flexDirection: 'row',
570
- alignItems: 'center',
571
- gap: 8,
572
- marginBottom: 8,
573
- },
574
- sliceBadge: {
575
- backgroundColor: AppColors.violetSoftBg,
576
- paddingHorizontal: 6,
577
- paddingVertical: 3,
578
- borderRadius: 5,
579
- borderWidth: 1,
580
- borderColor: AppColors.violetSoftBorder,
581
- },
582
- sliceBadgeText: {
583
- fontFamily: AppFonts.interBold,
584
- fontSize: 9.5,
585
- color: AppColors.purple700,
586
- letterSpacing: 0.4,
587
- },
588
- sliceName: {
589
- flex: 1,
590
- fontFamily: AppFonts.interBold,
591
- fontSize: 13.5,
592
- color: AppColors.primaryBlack,
593
- },
594
- timePill: {
595
- flexDirection: 'row',
596
- alignItems: 'center',
597
- gap: 3,
598
- backgroundColor: `${AppColors.purple}14`,
599
- paddingHorizontal: 6,
600
- paddingVertical: 2,
601
- borderRadius: 4,
602
- borderWidth: 1,
603
- borderColor: `${AppColors.purple}2E`,
604
- },
605
- timeText: {
606
- fontFamily: AppFonts.interMedium,
607
- fontSize: 10,
608
- color: AppColors.purple,
609
- },
610
- statsRow: {
611
- flexDirection: 'row',
612
- alignItems: 'center',
613
- gap: 6,
614
- flexWrap: 'wrap',
615
- marginBottom: 6,
616
- },
617
- pill: {
618
- flexDirection: 'row',
619
- alignItems: 'center',
620
- gap: 4,
621
- backgroundColor: AppColors.grayBackground,
622
- paddingHorizontal: 7,
623
- paddingVertical: 3,
624
- borderRadius: 5,
625
- borderWidth: 1,
626
- borderColor: AppColors.dividerColor,
627
- },
628
- pillLabel: {
629
- fontFamily: AppFonts.interMedium,
630
- fontSize: 10.5,
631
- color: AppColors.grayTextWeak,
632
- },
633
- pillValue: {
634
- fontFamily: AppFonts.interBold,
635
- fontSize: 10.5,
636
- color: AppColors.primaryBlack,
637
- },
638
- livePill: {
639
- flexDirection: 'row',
640
- alignItems: 'center',
641
- gap: 4,
642
- backgroundColor: AppColors.emeraldBg,
643
- paddingHorizontal: 6,
644
- paddingVertical: 3,
645
- borderRadius: 5,
646
- borderWidth: 1,
647
- borderColor: AppColors.emeraldBorder,
648
- },
649
- liveDot: {
650
- width: 6,
651
- height: 6,
652
- borderRadius: 3,
653
- backgroundColor: AppColors.emerald500,
654
- },
655
- livePillText: {
656
- fontFamily: AppFonts.interBold,
657
- fontSize: 10,
658
- color: AppColors.emerald700,
659
- },
660
- loadingPill: {
661
- backgroundColor: AppColors.amber100,
662
- paddingHorizontal: 6,
663
- paddingVertical: 3,
664
- borderRadius: 5,
665
- borderWidth: 1,
666
- borderColor: AppColors.amber200,
667
- },
668
- loadingPillText: {
669
- fontFamily: AppFonts.interBold,
670
- fontSize: 9.5,
671
- color: AppColors.amber800Warm,
672
- },
673
- errorPill: {
674
- backgroundColor: AppColors.red100,
675
- paddingHorizontal: 6,
676
- paddingVertical: 3,
677
- borderRadius: 5,
678
- borderWidth: 1,
679
- borderColor: AppColors.errorBorder,
680
- },
681
- errorPillText: {
682
- fontFamily: AppFonts.interBold,
683
- fontSize: 9.5,
684
- color: AppColors.red600,
685
- },
686
- emptyPill: {
687
- backgroundColor: AppColors.grayBackground,
688
- paddingHorizontal: 6,
689
- paddingVertical: 3,
690
- borderRadius: 5,
691
- borderWidth: 1,
692
- borderColor: AppColors.dividerColor,
693
- },
694
- emptyPillText: {
695
- fontFamily: AppFonts.interMedium,
696
- fontSize: 9.5,
697
- color: AppColors.grayTextWeak,
698
- },
699
- lastActionRow: {
700
- flexDirection: 'row',
701
- alignItems: 'center',
702
- gap: 5,
703
- backgroundColor: AppColors.grayBackground,
704
- borderRadius: 6,
705
- paddingHorizontal: 8,
706
- paddingVertical: 5,
707
- marginTop: 4,
708
- borderWidth: 1,
709
- borderColor: AppColors.dividerColor,
710
- },
711
- lastActionLabel: {
712
- fontFamily: AppFonts.interMedium,
713
- fontSize: 10.5,
714
- color: AppColors.grayTextWeak,
715
- },
716
- lastActionValue: {
717
- fontFamily: AppFonts.interBold,
718
- fontSize: 11,
719
- color: AppColors.primaryBlack,
720
- },
721
- payloadPreviewText: {
722
- flex: 1,
723
- fontFamily: AppFonts.interRegular,
724
- fontSize: 10,
725
- color: AppColors.grayTextWeak,
726
- marginLeft: 4,
727
- },
728
- highlight: {
729
- backgroundColor: AppColors.yellow200,
730
- color: AppColors.yellow800,
731
- fontFamily: AppFonts.interBold,
732
- },
733
- pausedBannerPill: {
734
- backgroundColor: AppColors.amber100,
735
- paddingHorizontal: 6,
736
- paddingVertical: 2,
737
- borderRadius: 4,
738
- borderWidth: 1,
739
- borderColor: AppColors.amber200,
740
- },
741
- pausedBannerText: {
742
- fontFamily: AppFonts.interBold,
743
- fontSize: 9,
744
- color: AppColors.amber800Warm,
745
- letterSpacing: 0.5,
746
- },
747
- });
748
- export default ReduxTab;
161
+ <Fe ref={Se}data={F}keyExtractor={r=>r.id}renderItem={Ve}initialNumToRender={12}maxToRenderPerBatch={8}windowSize={5}removeClippedSubviews={We.OS==="android"}renderToHardwareTextureAndroid={!0}ListEmptyComponent={<Ne isSearch={k.trim().length>0}searchQuery={k}onClearSearch={()=>G("")}customTitle={k.trim().length>0?"No Matching Slices":"No Redux State Detected"}customSub={k.trim().length>0?`No Redux slices match "${k}"`:"Attach the Redux store or dispatch actions to see state slices."}/>}ListFooterComponent={F.length>0?<Ue count={F.length}label="slices"/>:null}contentContainerStyle={[t.listContent,F.length===0&&{flexGrow:1}]}keyboardShouldPersistTaps="handled"/>
162
+ </T>:<T style={B.emptyContainer}>
163
+ <T style={B.emptyIconWrap}>
164
+ <Je color={e.purple}size={32}/>
165
+ </T>
166
+ <C style={B.emptyTitle}>No Redux Store Connected</C>
167
+ <C style={B.emptySub}>
168
+ Call connectReduxStore(store) or use inspectorReduxMiddleware at app initialization.
169
+ </C>
170
+ </T>}),t=He.create({overviewCard:{flexDirection:"row",alignItems:"center",backgroundColor:e.white,marginHorizontal:12,marginTop:10,borderRadius:12,padding:12,borderWidth:1,borderColor:e.dividerColor,shadowColor:e.primaryBlack,shadowOffset:{width:0,height:1},shadowOpacity:.03,shadowRadius:3,elevation:1},statCol:{flex:1},statDivider:{width:1,height:28,backgroundColor:e.dividerColor,marginHorizontal:8},statHeading:{fontFamily:S.interBold,fontSize:9,color:e.grayTextWeak,letterSpacing:.5},statBigVal:{fontFamily:S.interBold,fontSize:14,color:e.primaryBlack,marginTop:2},statLastAction:{fontFamily:S.interBold,fontSize:11,color:e.purple,marginTop:2},statLastTime:{fontFamily:S.interRegular,fontSize:9.5,color:e.grayTextWeak},toolbarContainer:{backgroundColor:e.white,borderBottomWidth:1,borderBottomColor:e.dividerColor,paddingHorizontal:12,paddingTop:8,paddingBottom:6,marginTop:8},searchRow:{flexDirection:"row",alignItems:"center",gap:8},headerSubRow:{flexDirection:"row",justifyContent:"space-between",alignItems:"center",marginTop:6,paddingHorizontal:2},resultCount:{fontFamily:S.interMedium,fontSize:11,color:e.grayTextWeak},sortLabel:{fontFamily:S.interMedium,fontSize:10.5,color:e.brandPurple},listContent:{padding:12,paddingBottom:36},card:{backgroundColor:e.white,borderRadius:12,padding:12,marginBottom:10,borderWidth:1,borderColor:e.dividerColor,shadowColor:e.primaryBlack,shadowOffset:{width:0,height:1},shadowOpacity:.04,shadowRadius:4,elevation:2},cardRecentlyUpdated:{borderColor:`${e.brandPurple}66`,backgroundColor:e.purpleTintBg},cardHeader:{flexDirection:"row",alignItems:"center",gap:8,marginBottom:8},sliceBadge:{backgroundColor:e.violetSoftBg,paddingHorizontal:6,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.violetSoftBorder},sliceBadgeText:{fontFamily:S.interBold,fontSize:9.5,color:e.purple700,letterSpacing:.4},sliceName:{flex:1,fontFamily:S.interBold,fontSize:13.5,color:e.primaryBlack},timePill:{flexDirection:"row",alignItems:"center",gap:3,backgroundColor:`${e.purple}14`,paddingHorizontal:6,paddingVertical:2,borderRadius:4,borderWidth:1,borderColor:`${e.purple}2E`},timeText:{fontFamily:S.interMedium,fontSize:10,color:e.purple},statsRow:{flexDirection:"row",alignItems:"center",gap:6,flexWrap:"wrap",marginBottom:6},pill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:e.grayBackground,paddingHorizontal:7,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.dividerColor},pillLabel:{fontFamily:S.interMedium,fontSize:10.5,color:e.grayTextWeak},pillValue:{fontFamily:S.interBold,fontSize:10.5,color:e.primaryBlack},livePill:{flexDirection:"row",alignItems:"center",gap:4,backgroundColor:e.emeraldBg,paddingHorizontal:6,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.emeraldBorder},liveDot:{width:6,height:6,borderRadius:3,backgroundColor:e.emerald500},livePillText:{fontFamily:S.interBold,fontSize:10,color:e.emerald700},loadingPill:{backgroundColor:e.amber100,paddingHorizontal:6,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.amber200},loadingPillText:{fontFamily:S.interBold,fontSize:9.5,color:e.amber800Warm},errorPill:{backgroundColor:e.red100,paddingHorizontal:6,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.errorBorder},errorPillText:{fontFamily:S.interBold,fontSize:9.5,color:e.red600},emptyPill:{backgroundColor:e.grayBackground,paddingHorizontal:6,paddingVertical:3,borderRadius:5,borderWidth:1,borderColor:e.dividerColor},emptyPillText:{fontFamily:S.interMedium,fontSize:9.5,color:e.grayTextWeak},lastActionRow:{flexDirection:"row",alignItems:"center",gap:5,backgroundColor:e.grayBackground,borderRadius:6,paddingHorizontal:8,paddingVertical:5,marginTop:4,borderWidth:1,borderColor:e.dividerColor},lastActionLabel:{fontFamily:S.interMedium,fontSize:10.5,color:e.grayTextWeak},lastActionValue:{fontFamily:S.interBold,fontSize:11,color:e.primaryBlack},payloadPreviewText:{flex:1,fontFamily:S.interRegular,fontSize:10,color:e.grayTextWeak,marginLeft:4},highlight:{backgroundColor:e.yellow200,color:e.yellow800,fontFamily:S.interBold},pausedBannerPill:{backgroundColor:e.amber100,paddingHorizontal:6,paddingVertical:2,borderRadius:4,borderWidth:1,borderColor:e.amber200},pausedBannerText:{fontFamily:S.interBold,fontSize:9,color:e.amber800Warm,letterSpacing:.5}});export default vt;