react-native-prod-debugger 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +350 -0
  3. package/lib/commonjs/core/DebugBubble.js +139 -0
  4. package/lib/commonjs/core/DebugBubble.js.map +1 -0
  5. package/lib/commonjs/core/DebugOverlay.js +184 -0
  6. package/lib/commonjs/core/DebugOverlay.js.map +1 -0
  7. package/lib/commonjs/core/DebuggerProvider.js +174 -0
  8. package/lib/commonjs/core/DebuggerProvider.js.map +1 -0
  9. package/lib/commonjs/core/GestureDetector.js +83 -0
  10. package/lib/commonjs/core/GestureDetector.js.map +1 -0
  11. package/lib/commonjs/core/PluginRegistry.js +124 -0
  12. package/lib/commonjs/core/PluginRegistry.js.map +1 -0
  13. package/lib/commonjs/core/theme.js +50 -0
  14. package/lib/commonjs/core/theme.js.map +1 -0
  15. package/lib/commonjs/core/types.js +6 -0
  16. package/lib/commonjs/core/types.js.map +1 -0
  17. package/lib/commonjs/core/useDebugger.js +27 -0
  18. package/lib/commonjs/core/useDebugger.js.map +1 -0
  19. package/lib/commonjs/core/utils.js +239 -0
  20. package/lib/commonjs/core/utils.js.map +1 -0
  21. package/lib/commonjs/index.js +132 -0
  22. package/lib/commonjs/index.js.map +1 -0
  23. package/lib/commonjs/plugins/console/ConsoleInterceptor.js +103 -0
  24. package/lib/commonjs/plugins/console/ConsoleInterceptor.js.map +1 -0
  25. package/lib/commonjs/plugins/console/ConsoleViewerPlugin.js +269 -0
  26. package/lib/commonjs/plugins/console/ConsoleViewerPlugin.js.map +1 -0
  27. package/lib/commonjs/plugins/crashReporter/CrashReporterPlugin.js +363 -0
  28. package/lib/commonjs/plugins/crashReporter/CrashReporterPlugin.js.map +1 -0
  29. package/lib/commonjs/plugins/customActions/CustomActionsPlugin.js +218 -0
  30. package/lib/commonjs/plugins/customActions/CustomActionsPlugin.js.map +1 -0
  31. package/lib/commonjs/plugins/customActions/actionStore.js +46 -0
  32. package/lib/commonjs/plugins/customActions/actionStore.js.map +1 -0
  33. package/lib/commonjs/plugins/deepLinkTester/DeepLinkTesterPlugin.js +268 -0
  34. package/lib/commonjs/plugins/deepLinkTester/DeepLinkTesterPlugin.js.map +1 -0
  35. package/lib/commonjs/plugins/deviceInfo/DeviceInfoPlugin.js +184 -0
  36. package/lib/commonjs/plugins/deviceInfo/DeviceInfoPlugin.js.map +1 -0
  37. package/lib/commonjs/plugins/featureFlags/FeatureFlagsPlugin.js +381 -0
  38. package/lib/commonjs/plugins/featureFlags/FeatureFlagsPlugin.js.map +1 -0
  39. package/lib/commonjs/plugins/featureFlags/flagStore.js +125 -0
  40. package/lib/commonjs/plugins/featureFlags/flagStore.js.map +1 -0
  41. package/lib/commonjs/plugins/navigationInspector/NavigationInspectorPlugin.js +250 -0
  42. package/lib/commonjs/plugins/navigationInspector/NavigationInspectorPlugin.js.map +1 -0
  43. package/lib/commonjs/plugins/navigationInspector/navigationStore.js +65 -0
  44. package/lib/commonjs/plugins/navigationInspector/navigationStore.js.map +1 -0
  45. package/lib/commonjs/plugins/network/NetworkInspectorPlugin.js +709 -0
  46. package/lib/commonjs/plugins/network/NetworkInspectorPlugin.js.map +1 -0
  47. package/lib/commonjs/plugins/network/NetworkInterceptor.js +305 -0
  48. package/lib/commonjs/plugins/network/NetworkInterceptor.js.map +1 -0
  49. package/lib/commonjs/plugins/performance/PerformanceMonitorPlugin.js +261 -0
  50. package/lib/commonjs/plugins/performance/PerformanceMonitorPlugin.js.map +1 -0
  51. package/lib/commonjs/plugins/remoteConfig/RemoteConfigPlugin.js +265 -0
  52. package/lib/commonjs/plugins/remoteConfig/RemoteConfigPlugin.js.map +1 -0
  53. package/lib/commonjs/plugins/remoteConfig/remoteConfigStore.js +50 -0
  54. package/lib/commonjs/plugins/remoteConfig/remoteConfigStore.js.map +1 -0
  55. package/lib/commonjs/plugins/stateInspector/StateInspectorPlugin.js +378 -0
  56. package/lib/commonjs/plugins/stateInspector/StateInspectorPlugin.js.map +1 -0
  57. package/lib/commonjs/plugins/stateInspector/stateAdapterRegistry.js +62 -0
  58. package/lib/commonjs/plugins/stateInspector/stateAdapterRegistry.js.map +1 -0
  59. package/lib/commonjs/plugins/storageBrowser/StorageBrowserPlugin.js +496 -0
  60. package/lib/commonjs/plugins/storageBrowser/StorageBrowserPlugin.js.map +1 -0
  61. package/lib/commonjs/plugins/storageBrowser/storageAdapterRegistry.js +44 -0
  62. package/lib/commonjs/plugins/storageBrowser/storageAdapterRegistry.js.map +1 -0
  63. package/lib/commonjs/plugins/timeline/TimelinePlugin.js +294 -0
  64. package/lib/commonjs/plugins/timeline/TimelinePlugin.js.map +1 -0
  65. package/lib/commonjs/plugins/timeline/timelineStore.js +61 -0
  66. package/lib/commonjs/plugins/timeline/timelineStore.js.map +1 -0
  67. package/lib/module/core/DebugBubble.js +131 -0
  68. package/lib/module/core/DebugBubble.js.map +1 -0
  69. package/lib/module/core/DebugOverlay.js +176 -0
  70. package/lib/module/core/DebugOverlay.js.map +1 -0
  71. package/lib/module/core/DebuggerProvider.js +167 -0
  72. package/lib/module/core/DebuggerProvider.js.map +1 -0
  73. package/lib/module/core/GestureDetector.js +75 -0
  74. package/lib/module/core/GestureDetector.js.map +1 -0
  75. package/lib/module/core/PluginRegistry.js +116 -0
  76. package/lib/module/core/PluginRegistry.js.map +1 -0
  77. package/lib/module/core/theme.js +43 -0
  78. package/lib/module/core/theme.js.map +1 -0
  79. package/lib/module/core/types.js +2 -0
  80. package/lib/module/core/types.js.map +1 -0
  81. package/lib/module/core/useDebugger.js +21 -0
  82. package/lib/module/core/useDebugger.js.map +1 -0
  83. package/lib/module/core/utils.js +219 -0
  84. package/lib/module/core/utils.js.map +1 -0
  85. package/lib/module/index.js +44 -0
  86. package/lib/module/index.js.map +1 -0
  87. package/lib/module/plugins/console/ConsoleInterceptor.js +97 -0
  88. package/lib/module/plugins/console/ConsoleInterceptor.js.map +1 -0
  89. package/lib/module/plugins/console/ConsoleViewerPlugin.js +262 -0
  90. package/lib/module/plugins/console/ConsoleViewerPlugin.js.map +1 -0
  91. package/lib/module/plugins/crashReporter/CrashReporterPlugin.js +357 -0
  92. package/lib/module/plugins/crashReporter/CrashReporterPlugin.js.map +1 -0
  93. package/lib/module/plugins/customActions/CustomActionsPlugin.js +211 -0
  94. package/lib/module/plugins/customActions/CustomActionsPlugin.js.map +1 -0
  95. package/lib/module/plugins/customActions/actionStore.js +38 -0
  96. package/lib/module/plugins/customActions/actionStore.js.map +1 -0
  97. package/lib/module/plugins/deepLinkTester/DeepLinkTesterPlugin.js +261 -0
  98. package/lib/module/plugins/deepLinkTester/DeepLinkTesterPlugin.js.map +1 -0
  99. package/lib/module/plugins/deviceInfo/DeviceInfoPlugin.js +177 -0
  100. package/lib/module/plugins/deviceInfo/DeviceInfoPlugin.js.map +1 -0
  101. package/lib/module/plugins/featureFlags/FeatureFlagsPlugin.js +374 -0
  102. package/lib/module/plugins/featureFlags/FeatureFlagsPlugin.js.map +1 -0
  103. package/lib/module/plugins/featureFlags/flagStore.js +117 -0
  104. package/lib/module/plugins/featureFlags/flagStore.js.map +1 -0
  105. package/lib/module/plugins/navigationInspector/NavigationInspectorPlugin.js +243 -0
  106. package/lib/module/plugins/navigationInspector/NavigationInspectorPlugin.js.map +1 -0
  107. package/lib/module/plugins/navigationInspector/navigationStore.js +58 -0
  108. package/lib/module/plugins/navigationInspector/navigationStore.js.map +1 -0
  109. package/lib/module/plugins/network/NetworkInspectorPlugin.js +703 -0
  110. package/lib/module/plugins/network/NetworkInspectorPlugin.js.map +1 -0
  111. package/lib/module/plugins/network/NetworkInterceptor.js +299 -0
  112. package/lib/module/plugins/network/NetworkInterceptor.js.map +1 -0
  113. package/lib/module/plugins/performance/PerformanceMonitorPlugin.js +254 -0
  114. package/lib/module/plugins/performance/PerformanceMonitorPlugin.js.map +1 -0
  115. package/lib/module/plugins/remoteConfig/RemoteConfigPlugin.js +258 -0
  116. package/lib/module/plugins/remoteConfig/RemoteConfigPlugin.js.map +1 -0
  117. package/lib/module/plugins/remoteConfig/remoteConfigStore.js +43 -0
  118. package/lib/module/plugins/remoteConfig/remoteConfigStore.js.map +1 -0
  119. package/lib/module/plugins/stateInspector/StateInspectorPlugin.js +372 -0
  120. package/lib/module/plugins/stateInspector/StateInspectorPlugin.js.map +1 -0
  121. package/lib/module/plugins/stateInspector/stateAdapterRegistry.js +54 -0
  122. package/lib/module/plugins/stateInspector/stateAdapterRegistry.js.map +1 -0
  123. package/lib/module/plugins/storageBrowser/StorageBrowserPlugin.js +489 -0
  124. package/lib/module/plugins/storageBrowser/StorageBrowserPlugin.js.map +1 -0
  125. package/lib/module/plugins/storageBrowser/storageAdapterRegistry.js +36 -0
  126. package/lib/module/plugins/storageBrowser/storageAdapterRegistry.js.map +1 -0
  127. package/lib/module/plugins/timeline/TimelinePlugin.js +287 -0
  128. package/lib/module/plugins/timeline/TimelinePlugin.js.map +1 -0
  129. package/lib/module/plugins/timeline/timelineStore.js +54 -0
  130. package/lib/module/plugins/timeline/timelineStore.js.map +1 -0
  131. package/lib/typescript/core/DebugBubble.d.ts +22 -0
  132. package/lib/typescript/core/DebugBubble.d.ts.map +1 -0
  133. package/lib/typescript/core/DebugOverlay.d.ts +18 -0
  134. package/lib/typescript/core/DebugOverlay.d.ts.map +1 -0
  135. package/lib/typescript/core/DebuggerProvider.d.ts +25 -0
  136. package/lib/typescript/core/DebuggerProvider.d.ts.map +1 -0
  137. package/lib/typescript/core/GestureDetector.d.ts +20 -0
  138. package/lib/typescript/core/GestureDetector.d.ts.map +1 -0
  139. package/lib/typescript/core/PluginRegistry.d.ts +41 -0
  140. package/lib/typescript/core/PluginRegistry.d.ts.map +1 -0
  141. package/lib/typescript/core/theme.d.ts +11 -0
  142. package/lib/typescript/core/theme.d.ts.map +1 -0
  143. package/lib/typescript/core/types.d.ts +269 -0
  144. package/lib/typescript/core/types.d.ts.map +1 -0
  145. package/lib/typescript/core/useDebugger.d.ts +14 -0
  146. package/lib/typescript/core/useDebugger.d.ts.map +1 -0
  147. package/lib/typescript/core/utils.d.ts +46 -0
  148. package/lib/typescript/core/utils.d.ts.map +1 -0
  149. package/lib/typescript/index.d.ts +23 -0
  150. package/lib/typescript/index.d.ts.map +1 -0
  151. package/lib/typescript/plugins/console/ConsoleInterceptor.d.ts +32 -0
  152. package/lib/typescript/plugins/console/ConsoleInterceptor.d.ts.map +1 -0
  153. package/lib/typescript/plugins/console/ConsoleViewerPlugin.d.ts +3 -0
  154. package/lib/typescript/plugins/console/ConsoleViewerPlugin.d.ts.map +1 -0
  155. package/lib/typescript/plugins/crashReporter/CrashReporterPlugin.d.ts +3 -0
  156. package/lib/typescript/plugins/crashReporter/CrashReporterPlugin.d.ts.map +1 -0
  157. package/lib/typescript/plugins/customActions/CustomActionsPlugin.d.ts +3 -0
  158. package/lib/typescript/plugins/customActions/CustomActionsPlugin.d.ts.map +1 -0
  159. package/lib/typescript/plugins/customActions/actionStore.d.ts +16 -0
  160. package/lib/typescript/plugins/customActions/actionStore.d.ts.map +1 -0
  161. package/lib/typescript/plugins/deepLinkTester/DeepLinkTesterPlugin.d.ts +3 -0
  162. package/lib/typescript/plugins/deepLinkTester/DeepLinkTesterPlugin.d.ts.map +1 -0
  163. package/lib/typescript/plugins/deviceInfo/DeviceInfoPlugin.d.ts +3 -0
  164. package/lib/typescript/plugins/deviceInfo/DeviceInfoPlugin.d.ts.map +1 -0
  165. package/lib/typescript/plugins/featureFlags/FeatureFlagsPlugin.d.ts +3 -0
  166. package/lib/typescript/plugins/featureFlags/FeatureFlagsPlugin.d.ts.map +1 -0
  167. package/lib/typescript/plugins/featureFlags/flagStore.d.ts +45 -0
  168. package/lib/typescript/plugins/featureFlags/flagStore.d.ts.map +1 -0
  169. package/lib/typescript/plugins/navigationInspector/NavigationInspectorPlugin.d.ts +3 -0
  170. package/lib/typescript/plugins/navigationInspector/NavigationInspectorPlugin.d.ts.map +1 -0
  171. package/lib/typescript/plugins/navigationInspector/navigationStore.d.ts +30 -0
  172. package/lib/typescript/plugins/navigationInspector/navigationStore.d.ts.map +1 -0
  173. package/lib/typescript/plugins/network/NetworkInspectorPlugin.d.ts +3 -0
  174. package/lib/typescript/plugins/network/NetworkInspectorPlugin.d.ts.map +1 -0
  175. package/lib/typescript/plugins/network/NetworkInterceptor.d.ts +42 -0
  176. package/lib/typescript/plugins/network/NetworkInterceptor.d.ts.map +1 -0
  177. package/lib/typescript/plugins/performance/PerformanceMonitorPlugin.d.ts +3 -0
  178. package/lib/typescript/plugins/performance/PerformanceMonitorPlugin.d.ts.map +1 -0
  179. package/lib/typescript/plugins/remoteConfig/RemoteConfigPlugin.d.ts +3 -0
  180. package/lib/typescript/plugins/remoteConfig/RemoteConfigPlugin.d.ts.map +1 -0
  181. package/lib/typescript/plugins/remoteConfig/remoteConfigStore.d.ts +20 -0
  182. package/lib/typescript/plugins/remoteConfig/remoteConfigStore.d.ts.map +1 -0
  183. package/lib/typescript/plugins/stateInspector/StateInspectorPlugin.d.ts +3 -0
  184. package/lib/typescript/plugins/stateInspector/StateInspectorPlugin.d.ts.map +1 -0
  185. package/lib/typescript/plugins/stateInspector/stateAdapterRegistry.d.ts +34 -0
  186. package/lib/typescript/plugins/stateInspector/stateAdapterRegistry.d.ts.map +1 -0
  187. package/lib/typescript/plugins/storageBrowser/StorageBrowserPlugin.d.ts +3 -0
  188. package/lib/typescript/plugins/storageBrowser/StorageBrowserPlugin.d.ts.map +1 -0
  189. package/lib/typescript/plugins/storageBrowser/storageAdapterRegistry.d.ts +16 -0
  190. package/lib/typescript/plugins/storageBrowser/storageAdapterRegistry.d.ts.map +1 -0
  191. package/lib/typescript/plugins/timeline/TimelinePlugin.d.ts +3 -0
  192. package/lib/typescript/plugins/timeline/TimelinePlugin.d.ts.map +1 -0
  193. package/lib/typescript/plugins/timeline/timelineStore.d.ts +24 -0
  194. package/lib/typescript/plugins/timeline/timelineStore.d.ts.map +1 -0
  195. package/package.json +131 -0
  196. package/src/core/DebugBubble.tsx +149 -0
  197. package/src/core/DebugOverlay.tsx +211 -0
  198. package/src/core/DebuggerProvider.tsx +211 -0
  199. package/src/core/GestureDetector.tsx +95 -0
  200. package/src/core/PluginRegistry.ts +118 -0
  201. package/src/core/theme.ts +41 -0
  202. package/src/core/types.ts +339 -0
  203. package/src/core/useDebugger.ts +24 -0
  204. package/src/core/utils.ts +221 -0
  205. package/src/index.ts +67 -0
  206. package/src/plugins/console/ConsoleInterceptor.ts +110 -0
  207. package/src/plugins/console/ConsoleViewerPlugin.tsx +241 -0
  208. package/src/plugins/crashReporter/CrashReporterPlugin.tsx +316 -0
  209. package/src/plugins/customActions/CustomActionsPlugin.tsx +199 -0
  210. package/src/plugins/customActions/actionStore.ts +49 -0
  211. package/src/plugins/deepLinkTester/DeepLinkTesterPlugin.tsx +213 -0
  212. package/src/plugins/deviceInfo/DeviceInfoPlugin.tsx +153 -0
  213. package/src/plugins/featureFlags/FeatureFlagsPlugin.tsx +338 -0
  214. package/src/plugins/featureFlags/flagStore.ts +118 -0
  215. package/src/plugins/navigationInspector/NavigationInspectorPlugin.tsx +170 -0
  216. package/src/plugins/navigationInspector/navigationStore.ts +70 -0
  217. package/src/plugins/network/NetworkInspectorPlugin.tsx +598 -0
  218. package/src/plugins/network/NetworkInterceptor.ts +344 -0
  219. package/src/plugins/performance/PerformanceMonitorPlugin.tsx +194 -0
  220. package/src/plugins/remoteConfig/RemoteConfigPlugin.tsx +205 -0
  221. package/src/plugins/remoteConfig/remoteConfigStore.ts +48 -0
  222. package/src/plugins/stateInspector/StateInspectorPlugin.tsx +342 -0
  223. package/src/plugins/stateInspector/stateAdapterRegistry.ts +66 -0
  224. package/src/plugins/storageBrowser/StorageBrowserPlugin.tsx +410 -0
  225. package/src/plugins/storageBrowser/storageAdapterRegistry.ts +47 -0
  226. package/src/plugins/timeline/TimelinePlugin.tsx +242 -0
  227. package/src/plugins/timeline/timelineStore.ts +65 -0
@@ -0,0 +1,243 @@
1
+ import React, { useState, useEffect, useCallback } from 'react';
2
+ import { View, Text, ScrollView, TouchableOpacity, StyleSheet } from 'react-native';
3
+ import { navigationStore } from './navigationStore';
4
+ import { safeStringify, copyToClipboard, formatTimestamp } from '../../core/utils';
5
+ const NavigationInspectorPanel = ({
6
+ theme
7
+ }) => {
8
+ const [state, setState] = useState(null);
9
+ const [currentRoute, setCurrentRoute] = useState(null);
10
+ const [history, setHistory] = useState([]);
11
+ const [, forceUpdate] = useState(0);
12
+ const refresh = useCallback(() => {
13
+ setState(navigationStore.getState());
14
+ setCurrentRoute(navigationStore.getCurrentRoute());
15
+ setHistory(navigationStore.getHistory());
16
+ forceUpdate(n => n + 1);
17
+ }, []);
18
+ useEffect(() => {
19
+ const unsub = navigationStore.subscribe(refresh);
20
+ refresh();
21
+ const interval = setInterval(refresh, 2000);
22
+ return () => {
23
+ unsub();
24
+ clearInterval(interval);
25
+ };
26
+ }, [refresh]);
27
+ const hasRef = !!navigationStore.getRef();
28
+ if (!hasRef) {
29
+ return /*#__PURE__*/React.createElement(View, {
30
+ style: styles.emptyContainer
31
+ }, /*#__PURE__*/React.createElement(Text, {
32
+ style: styles.emptyIcon
33
+ }, "\uD83E\uDDED"), /*#__PURE__*/React.createElement(Text, {
34
+ style: [styles.emptyTitle, {
35
+ color: theme.text
36
+ }]
37
+ }, "No Navigation Ref"), /*#__PURE__*/React.createElement(Text, {
38
+ style: [styles.emptyDesc, {
39
+ color: theme.textMuted
40
+ }]
41
+ }, "Pass your navigation ref:", '\n\n', /*#__PURE__*/React.createElement(Text, {
42
+ style: {
43
+ fontFamily: 'monospace',
44
+ color: theme.codeText
45
+ }
46
+ }, 'setNavigationRef(navigationRef)')));
47
+ }
48
+ return /*#__PURE__*/React.createElement(ScrollView, {
49
+ style: styles.container
50
+ }, currentRoute && /*#__PURE__*/React.createElement(View, {
51
+ style: [styles.section, {
52
+ backgroundColor: theme.surface
53
+ }]
54
+ }, /*#__PURE__*/React.createElement(Text, {
55
+ style: [styles.sectionTitle, {
56
+ color: theme.textSecondary
57
+ }]
58
+ }, "CURRENT ROUTE"), /*#__PURE__*/React.createElement(View, {
59
+ style: [styles.routeCard, {
60
+ backgroundColor: theme.accent
61
+ }]
62
+ }, /*#__PURE__*/React.createElement(Text, {
63
+ style: styles.routeName
64
+ }, currentRoute.name)), currentRoute.params && Object.keys(currentRoute.params).length > 0 && /*#__PURE__*/React.createElement(TouchableOpacity, {
65
+ style: [styles.paramsBlock, {
66
+ backgroundColor: theme.codeBackground
67
+ }],
68
+ onLongPress: () => copyToClipboard(safeStringify(currentRoute.params)),
69
+ activeOpacity: 0.7
70
+ }, /*#__PURE__*/React.createElement(Text, {
71
+ style: [styles.paramsTitle, {
72
+ color: theme.textSecondary
73
+ }]
74
+ }, "Params"), /*#__PURE__*/React.createElement(Text, {
75
+ style: [styles.paramsText, {
76
+ color: theme.codeText
77
+ }],
78
+ selectable: true
79
+ }, safeStringify(currentRoute.params)))), state && /*#__PURE__*/React.createElement(View, {
80
+ style: [styles.section, {
81
+ backgroundColor: theme.surface
82
+ }]
83
+ }, /*#__PURE__*/React.createElement(View, {
84
+ style: styles.sectionHeader
85
+ }, /*#__PURE__*/React.createElement(Text, {
86
+ style: [styles.sectionTitle, {
87
+ color: theme.textSecondary
88
+ }]
89
+ }, "STATE TREE"), /*#__PURE__*/React.createElement(TouchableOpacity, {
90
+ onPress: () => copyToClipboard(safeStringify(state)),
91
+ activeOpacity: 0.7
92
+ }, /*#__PURE__*/React.createElement(Text, {
93
+ style: [styles.copyBtn, {
94
+ color: theme.accent
95
+ }]
96
+ }, "Copy"))), /*#__PURE__*/React.createElement(View, {
97
+ style: [styles.codeBlock, {
98
+ backgroundColor: theme.codeBackground
99
+ }]
100
+ }, /*#__PURE__*/React.createElement(Text, {
101
+ style: [styles.codeText, {
102
+ color: theme.codeText
103
+ }],
104
+ selectable: true
105
+ }, String(safeStringify(state))))), history.length > 0 && /*#__PURE__*/React.createElement(View, {
106
+ style: [styles.section, {
107
+ backgroundColor: theme.surface
108
+ }]
109
+ }, /*#__PURE__*/React.createElement(Text, {
110
+ style: [styles.sectionTitle, {
111
+ color: theme.textSecondary
112
+ }]
113
+ }, "ROUTE HISTORY"), history.map((entry, i) => /*#__PURE__*/React.createElement(View, {
114
+ key: i,
115
+ style: [styles.historyRow, {
116
+ borderBottomColor: theme.border
117
+ }]
118
+ }, /*#__PURE__*/React.createElement(View, {
119
+ style: styles.historyInfo
120
+ }, /*#__PURE__*/React.createElement(Text, {
121
+ style: [styles.historyRoute, {
122
+ color: theme.text
123
+ }]
124
+ }, entry.name), /*#__PURE__*/React.createElement(Text, {
125
+ style: [styles.historyTime, {
126
+ color: theme.textMuted
127
+ }]
128
+ }, formatTimestamp(entry.timestamp)))))), /*#__PURE__*/React.createElement(View, {
129
+ style: {
130
+ height: 40
131
+ }
132
+ }));
133
+ };
134
+ const styles = StyleSheet.create({
135
+ container: {
136
+ flex: 1
137
+ },
138
+ emptyContainer: {
139
+ flex: 1,
140
+ alignItems: 'center',
141
+ justifyContent: 'center',
142
+ paddingHorizontal: 32
143
+ },
144
+ emptyIcon: {
145
+ fontSize: 48,
146
+ marginBottom: 16
147
+ },
148
+ emptyTitle: {
149
+ fontSize: 16,
150
+ fontWeight: '700',
151
+ marginBottom: 8
152
+ },
153
+ emptyDesc: {
154
+ fontSize: 13,
155
+ textAlign: 'center',
156
+ lineHeight: 20
157
+ },
158
+ section: {
159
+ margin: 12,
160
+ borderRadius: 12,
161
+ padding: 12
162
+ },
163
+ sectionTitle: {
164
+ fontSize: 11,
165
+ fontWeight: '700',
166
+ textTransform: 'uppercase',
167
+ letterSpacing: 1,
168
+ marginBottom: 8
169
+ },
170
+ sectionHeader: {
171
+ flexDirection: 'row',
172
+ justifyContent: 'space-between',
173
+ alignItems: 'center',
174
+ marginBottom: 8
175
+ },
176
+ copyBtn: {
177
+ fontSize: 12,
178
+ fontWeight: '600'
179
+ },
180
+ routeCard: {
181
+ padding: 12,
182
+ borderRadius: 8,
183
+ alignItems: 'center'
184
+ },
185
+ routeName: {
186
+ fontSize: 18,
187
+ fontWeight: '800',
188
+ color: '#FFF'
189
+ },
190
+ paramsBlock: {
191
+ padding: 12,
192
+ borderRadius: 8,
193
+ marginTop: 8
194
+ },
195
+ paramsTitle: {
196
+ fontSize: 10,
197
+ fontWeight: '700',
198
+ marginBottom: 4,
199
+ textTransform: 'uppercase'
200
+ },
201
+ paramsText: {
202
+ fontSize: 11,
203
+ fontFamily: 'monospace',
204
+ lineHeight: 16
205
+ },
206
+ codeBlock: {
207
+ padding: 12,
208
+ borderRadius: 8
209
+ },
210
+ codeText: {
211
+ fontSize: 11,
212
+ fontFamily: 'monospace',
213
+ lineHeight: 16
214
+ },
215
+ historyRow: {
216
+ flexDirection: 'row',
217
+ alignItems: 'center',
218
+ paddingVertical: 8,
219
+ borderBottomWidth: StyleSheet.hairlineWidth
220
+ },
221
+ historyInfo: {
222
+ flex: 1,
223
+ flexDirection: 'row',
224
+ justifyContent: 'space-between'
225
+ },
226
+ historyRoute: {
227
+ fontSize: 13,
228
+ fontWeight: '600'
229
+ },
230
+ historyTime: {
231
+ fontSize: 10
232
+ }
233
+ });
234
+ export function createNavigationInspectorPlugin() {
235
+ return {
236
+ id: 'navigation-inspector',
237
+ name: 'Nav',
238
+ icon: '🧭',
239
+ component: NavigationInspectorPanel,
240
+ order: 90
241
+ };
242
+ }
243
+ //# sourceMappingURL=NavigationInspectorPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","useEffect","useCallback","View","Text","ScrollView","TouchableOpacity","StyleSheet","navigationStore","safeStringify","copyToClipboard","formatTimestamp","NavigationInspectorPanel","theme","state","setState","currentRoute","setCurrentRoute","history","setHistory","forceUpdate","refresh","getState","getCurrentRoute","getHistory","n","unsub","subscribe","interval","setInterval","clearInterval","hasRef","getRef","createElement","style","styles","emptyContainer","emptyIcon","emptyTitle","color","text","emptyDesc","textMuted","fontFamily","codeText","container","section","backgroundColor","surface","sectionTitle","textSecondary","routeCard","accent","routeName","name","params","Object","keys","length","paramsBlock","codeBackground","onLongPress","activeOpacity","paramsTitle","paramsText","selectable","sectionHeader","onPress","copyBtn","codeBlock","String","map","entry","i","key","historyRow","borderBottomColor","border","historyInfo","historyRoute","historyTime","timestamp","height","create","flex","alignItems","justifyContent","paddingHorizontal","fontSize","marginBottom","fontWeight","textAlign","lineHeight","margin","borderRadius","padding","textTransform","letterSpacing","flexDirection","marginTop","paddingVertical","borderBottomWidth","hairlineWidth","createNavigationInspectorPlugin","id","icon","component","order"],"sourceRoot":"../../../../src","sources":["plugins/navigationInspector/NavigationInspectorPlugin.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,SAAS,EAAEC,WAAW,QAAQ,OAAO;AAC/D,SAASC,IAAI,EAAEC,IAAI,EAAEC,UAAU,EAAEC,gBAAgB,EAAEC,UAAU,QAAQ,cAAc;AAEnF,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,aAAa,EAAEC,eAAe,EAAEC,eAAe,QAAQ,kBAAkB;AAElF,MAAMC,wBAAwD,GAAGA,CAAC;EAAEC;AAAM,CAAC,KAAK;EAC9E,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAGf,QAAQ,CAAiC,IAAI,CAAC;EACxE,MAAM,CAACgB,YAAY,EAAEC,eAAe,CAAC,GAAGjB,QAAQ,CAGtC,IAAI,CAAC;EACf,MAAM,CAACkB,OAAO,EAAEC,UAAU,CAAC,GAAGnB,QAAQ,CAEpC,EAAE,CAAC;EACL,MAAM,GAAGoB,WAAW,CAAC,GAAGpB,QAAQ,CAAC,CAAC,CAAC;EAEnC,MAAMqB,OAAO,GAAGnB,WAAW,CAAC,MAAM;IAChCa,QAAQ,CAACP,eAAe,CAACc,QAAQ,CAAC,CAAmC,CAAC;IACtEL,eAAe,CAACT,eAAe,CAACe,eAAe,CAAC,CAAC,CAAC;IAClDJ,UAAU,CAACX,eAAe,CAACgB,UAAU,CAAC,CAAC,CAAC;IACxCJ,WAAW,CAAE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+ listeners = new Set();
5
+ maxHistory = 50;
6
+ setRef(ref) {
7
+ this.ref = ref;
8
+ this.notify();
9
+ }
10
+ getRef() {
11
+ return this.ref?.current;
12
+ }
13
+ addHistoryEntry(name, params) {
14
+ this.history = [{
15
+ name,
16
+ params,
17
+ timestamp: Date.now()
18
+ }, ...this.history].slice(0, this.maxHistory);
19
+ this.notify();
20
+ }
21
+ getHistory() {
22
+ return [...this.history];
23
+ }
24
+ getState() {
25
+ try {
26
+ const nav = this.ref?.current;
27
+ return nav?.getRootState?.() ?? null;
28
+ } catch {
29
+ return null;
30
+ }
31
+ }
32
+ getCurrentRoute() {
33
+ try {
34
+ const nav = this.ref?.current;
35
+ return nav?.getCurrentRoute?.() ?? null;
36
+ } catch {
37
+ return null;
38
+ }
39
+ }
40
+ subscribe(listener) {
41
+ this.listeners.add(listener);
42
+ return () => this.listeners.delete(listener);
43
+ }
44
+ notify() {
45
+ for (const l of this.listeners) {
46
+ try {
47
+ l();
48
+ } catch {
49
+ /* ignore */
50
+ }
51
+ }
52
+ }
53
+ }
54
+ export const navigationStore = new NavigationStoreClass();
55
+ export function setNavigationRef(ref) {
56
+ navigationStore.setRef(ref);
57
+ }
58
+ //# sourceMappingURL=navigationStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["NavigationStoreClass","ref","history","listeners","Set","maxHistory","setRef","notify","getRef","current","addHistoryEntry","name","params","timestamp","Date","now","slice","getHistory","getState","nav","getRootState","getCurrentRoute","subscribe","listener","add","delete","l","navigationStore","setNavigationRef"],"sourceRoot":"../../../../src","sources":["plugins/navigationInspector/navigationStore.ts"],"mappings":"AAEA,MAAMA,oBAAoB,CAAC;EACjBC,GAAG,GAAgC,IAAI;EACvCC,OAAO,GAA4E,EAAE;EACrFC,SAAS,GAAkB,IAAIC,GAAG,CAAC,CAAC;EACpCC,UAAU,GAAG,EAAE;EAEvBC,MAAMA,CAACL,GAAyB,EAAQ;IACtC,IAAI,CAACA,GAAG,GAAGA,GAAG;IACd,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