react-native-debug-toolkit 2.1.0 → 2.3.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 (419) hide show
  1. package/README.md +52 -93
  2. package/README.zh-CN.md +48 -89
  3. package/lib/commonjs/core/DebugToolkit.js +33 -11
  4. package/lib/commonjs/core/DebugToolkit.js.map +1 -1
  5. package/lib/commonjs/core/DebugToolkitProvider.js +18 -12
  6. package/lib/commonjs/core/DebugToolkitProvider.js.map +1 -1
  7. package/lib/commonjs/{initialize.js → core/initialize.js} +17 -17
  8. package/lib/commonjs/core/initialize.js.map +1 -0
  9. package/lib/commonjs/{components → features/clipboard}/ClipboardTab.js +2 -2
  10. package/lib/commonjs/features/clipboard/ClipboardTab.js.map +1 -0
  11. package/lib/commonjs/features/{ClipboardFeature.js → clipboard/index.js} +3 -3
  12. package/lib/commonjs/features/clipboard/index.js.map +1 -0
  13. package/lib/commonjs/{components → features/console}/ConsoleLogTab.js +9 -9
  14. package/lib/commonjs/features/console/ConsoleLogTab.js.map +1 -0
  15. package/lib/commonjs/features/{ConsoleLogFeature.js → console/index.js} +10 -7
  16. package/lib/commonjs/features/console/index.js.map +1 -0
  17. package/lib/commonjs/{components → features/environment}/EnvironmentTab.js +3 -3
  18. package/lib/commonjs/features/environment/EnvironmentTab.js.map +1 -0
  19. package/lib/commonjs/features/{EnvironmentFeature.js → environment/index.js} +18 -13
  20. package/lib/commonjs/features/environment/index.js.map +1 -0
  21. package/lib/commonjs/{components → features/navigation}/NavigationLogTab.js +4 -3
  22. package/lib/commonjs/features/navigation/NavigationLogTab.js.map +1 -0
  23. package/lib/commonjs/features/{NavigationLogFeature.js → navigation/index.js} +4 -4
  24. package/lib/commonjs/features/navigation/index.js.map +1 -0
  25. package/lib/commonjs/{hooks → features/navigation}/useNavigationLogger.js +3 -3
  26. package/lib/commonjs/features/navigation/useNavigationLogger.js.map +1 -0
  27. package/lib/commonjs/{components → features/network}/NetworkLogTab.js +8 -7
  28. package/lib/commonjs/features/network/NetworkLogTab.js.map +1 -0
  29. package/lib/commonjs/features/{NetworkFeature.js → network/index.js} +18 -35
  30. package/lib/commonjs/features/network/index.js.map +1 -0
  31. package/lib/commonjs/features/network/networkInterceptor.js +216 -0
  32. package/lib/commonjs/features/network/networkInterceptor.js.map +1 -0
  33. package/lib/commonjs/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.js +3 -2
  34. package/lib/commonjs/features/thirdPartyLibs/ThirdPartyLibsTab.js.map +1 -0
  35. package/lib/commonjs/features/{ThirdPartyLibsFeature.js → thirdPartyLibs/index.js} +8 -8
  36. package/lib/commonjs/features/thirdPartyLibs/index.js.map +1 -0
  37. package/lib/commonjs/{native/NativeDebugLibs.js → features/thirdPartyLibs/nativeDebugLibs.js} +1 -1
  38. package/lib/commonjs/features/thirdPartyLibs/nativeDebugLibs.js.map +1 -0
  39. package/lib/commonjs/{components → features/track}/TrackLogTab.js +8 -8
  40. package/lib/commonjs/features/track/TrackLogTab.js.map +1 -0
  41. package/lib/commonjs/features/{TrackFeature.js → track/index.js} +10 -5
  42. package/lib/commonjs/features/track/index.js.map +1 -0
  43. package/lib/commonjs/{components → features/zustand}/ZustandLogTab.js +8 -8
  44. package/lib/commonjs/features/zustand/ZustandLogTab.js.map +1 -0
  45. package/lib/commonjs/features/{ZustandLogFeature.js → zustand/index.js} +4 -4
  46. package/lib/commonjs/features/zustand/index.js.map +1 -0
  47. package/lib/commonjs/index.js +21 -21
  48. package/lib/commonjs/index.js.map +1 -1
  49. package/lib/commonjs/types/environment.js +2 -0
  50. package/lib/commonjs/types/environment.js.map +1 -0
  51. package/lib/commonjs/types/feature.js +6 -0
  52. package/lib/commonjs/types/feature.js.map +1 -0
  53. package/lib/commonjs/types/index.js +0 -4
  54. package/lib/commonjs/types/logs.js +2 -0
  55. package/lib/commonjs/types/logs.js.map +1 -0
  56. package/lib/commonjs/types/navigation.js +2 -0
  57. package/lib/commonjs/types/navigation.js.map +1 -0
  58. package/lib/commonjs/types/thirdPartyLibs.js +2 -0
  59. package/lib/commonjs/types/thirdPartyLibs.js.map +1 -0
  60. package/lib/commonjs/{components → ui}/DebugView.js +2 -2
  61. package/lib/commonjs/ui/DebugView.js.map +1 -0
  62. package/lib/commonjs/{components → ui/floating}/FloatIcon.js +65 -12
  63. package/lib/commonjs/ui/floating/FloatIcon.js.map +1 -0
  64. package/lib/commonjs/{components → ui/panel}/DebugPanel.js +4 -4
  65. package/lib/commonjs/ui/panel/DebugPanel.js.map +1 -0
  66. package/lib/commonjs/{components → ui/panel}/FeatureTabBar.js +1 -1
  67. package/lib/commonjs/ui/panel/FeatureTabBar.js.map +1 -0
  68. package/lib/commonjs/{components → ui/panel}/FloatPanelView.js +36 -12
  69. package/lib/commonjs/ui/panel/FloatPanelView.js.map +1 -0
  70. package/lib/commonjs/{components → ui}/shared/CollapsibleSection.js +1 -1
  71. package/lib/commonjs/ui/shared/CollapsibleSection.js.map +1 -0
  72. package/lib/commonjs/{components → ui}/shared/CopyButton.js +1 -1
  73. package/lib/commonjs/ui/shared/CopyButton.js.map +1 -0
  74. package/lib/commonjs/ui/shared/JsonView.js.map +1 -0
  75. package/lib/commonjs/{components → ui}/shared/LogListScreen.js +2 -2
  76. package/lib/commonjs/ui/shared/LogListScreen.js.map +1 -0
  77. package/lib/commonjs/ui/shared/useSlideDetailAnimation.js.map +1 -0
  78. package/lib/commonjs/{utils → ui/theme}/colors.js +0 -5
  79. package/lib/commonjs/ui/theme/colors.js.map +1 -0
  80. package/lib/commonjs/ui/theme/layout.js.map +1 -0
  81. package/lib/commonjs/utils/createChannelFeature.js +18 -4
  82. package/lib/commonjs/utils/createChannelFeature.js.map +1 -1
  83. package/lib/commonjs/utils/createObservableStore.js +5 -0
  84. package/lib/commonjs/utils/createObservableStore.js.map +1 -1
  85. package/lib/commonjs/utils/createPersistedObservableStore.js +71 -0
  86. package/lib/commonjs/utils/createPersistedObservableStore.js.map +1 -0
  87. package/lib/commonjs/utils/debugPreferences.js +52 -0
  88. package/lib/commonjs/utils/debugPreferences.js.map +1 -0
  89. package/lib/module/core/DebugToolkit.js +33 -11
  90. package/lib/module/core/DebugToolkit.js.map +1 -1
  91. package/lib/module/core/DebugToolkitProvider.js +18 -12
  92. package/lib/module/core/DebugToolkitProvider.js.map +1 -1
  93. package/lib/module/{initialize.js → core/initialize.js} +10 -10
  94. package/lib/module/core/initialize.js.map +1 -0
  95. package/lib/module/{components → features/clipboard}/ClipboardTab.js +2 -2
  96. package/lib/module/features/clipboard/ClipboardTab.js.map +1 -0
  97. package/lib/module/features/{ClipboardFeature.js → clipboard/index.js} +3 -3
  98. package/lib/module/features/clipboard/index.js.map +1 -0
  99. package/lib/module/{components → features/console}/ConsoleLogTab.js +9 -9
  100. package/lib/module/features/console/ConsoleLogTab.js.map +1 -0
  101. package/lib/module/features/{ConsoleLogFeature.js → console/index.js} +10 -7
  102. package/lib/module/features/console/index.js.map +1 -0
  103. package/lib/module/{components → features/environment}/EnvironmentTab.js +3 -3
  104. package/lib/module/features/environment/EnvironmentTab.js.map +1 -0
  105. package/lib/module/features/{EnvironmentFeature.js → environment/index.js} +18 -13
  106. package/lib/module/features/environment/index.js.map +1 -0
  107. package/lib/module/{components → features/navigation}/NavigationLogTab.js +4 -3
  108. package/lib/module/features/navigation/NavigationLogTab.js.map +1 -0
  109. package/lib/module/features/{NavigationLogFeature.js → navigation/index.js} +4 -4
  110. package/lib/module/features/navigation/index.js.map +1 -0
  111. package/lib/module/{hooks → features/navigation}/useNavigationLogger.js +2 -2
  112. package/lib/module/features/navigation/useNavigationLogger.js.map +1 -0
  113. package/lib/module/{components → features/network}/NetworkLogTab.js +8 -7
  114. package/lib/module/features/network/NetworkLogTab.js.map +1 -0
  115. package/lib/module/features/{NetworkFeature.js → network/index.js} +18 -35
  116. package/lib/module/features/network/index.js.map +1 -0
  117. package/lib/module/features/network/networkInterceptor.js +211 -0
  118. package/lib/module/features/network/networkInterceptor.js.map +1 -0
  119. package/lib/module/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.js +3 -2
  120. package/lib/module/features/thirdPartyLibs/ThirdPartyLibsTab.js.map +1 -0
  121. package/lib/module/features/{ThirdPartyLibsFeature.js → thirdPartyLibs/index.js} +4 -4
  122. package/lib/module/features/thirdPartyLibs/index.js.map +1 -0
  123. package/lib/module/{native/NativeDebugLibs.js → features/thirdPartyLibs/nativeDebugLibs.js} +1 -1
  124. package/lib/module/features/thirdPartyLibs/nativeDebugLibs.js.map +1 -0
  125. package/lib/module/{components → features/track}/TrackLogTab.js +8 -8
  126. package/lib/module/features/track/TrackLogTab.js.map +1 -0
  127. package/lib/module/features/{TrackFeature.js → track/index.js} +10 -5
  128. package/lib/module/features/track/index.js.map +1 -0
  129. package/lib/module/{components → features/zustand}/ZustandLogTab.js +8 -8
  130. package/lib/module/features/zustand/ZustandLogTab.js.map +1 -0
  131. package/lib/module/features/{ZustandLogFeature.js → zustand/index.js} +4 -4
  132. package/lib/module/features/zustand/index.js.map +1 -0
  133. package/lib/module/index.js +11 -11
  134. package/lib/module/index.js.map +1 -1
  135. package/lib/module/types/environment.js +2 -0
  136. package/lib/module/types/environment.js.map +1 -0
  137. package/lib/module/types/feature.js +4 -0
  138. package/lib/module/types/feature.js.map +1 -0
  139. package/lib/module/types/index.js +0 -2
  140. package/lib/module/types/logs.js +2 -0
  141. package/lib/module/types/logs.js.map +1 -0
  142. package/lib/module/types/navigation.js +2 -0
  143. package/lib/module/types/navigation.js.map +1 -0
  144. package/lib/module/types/thirdPartyLibs.js +2 -0
  145. package/lib/module/types/thirdPartyLibs.js.map +1 -0
  146. package/lib/module/{components → ui}/DebugView.js +2 -2
  147. package/lib/module/ui/DebugView.js.map +1 -0
  148. package/lib/module/{components → ui/floating}/FloatIcon.js +66 -13
  149. package/lib/module/ui/floating/FloatIcon.js.map +1 -0
  150. package/lib/module/{components → ui/panel}/DebugPanel.js +4 -4
  151. package/lib/module/ui/panel/DebugPanel.js.map +1 -0
  152. package/lib/module/{components → ui/panel}/FeatureTabBar.js +1 -1
  153. package/lib/module/ui/panel/FeatureTabBar.js.map +1 -0
  154. package/lib/module/{components → ui/panel}/FloatPanelView.js +36 -12
  155. package/lib/module/ui/panel/FloatPanelView.js.map +1 -0
  156. package/lib/module/{components → ui}/shared/CollapsibleSection.js +1 -1
  157. package/lib/module/ui/shared/CollapsibleSection.js.map +1 -0
  158. package/lib/module/{components → ui}/shared/CopyButton.js +1 -1
  159. package/lib/module/ui/shared/CopyButton.js.map +1 -0
  160. package/lib/module/ui/shared/JsonView.js.map +1 -0
  161. package/lib/module/{components → ui}/shared/LogListScreen.js +2 -2
  162. package/lib/module/ui/shared/LogListScreen.js.map +1 -0
  163. package/lib/module/ui/shared/useSlideDetailAnimation.js.map +1 -0
  164. package/lib/module/{utils → ui/theme}/colors.js +0 -5
  165. package/lib/module/ui/theme/colors.js.map +1 -0
  166. package/lib/module/ui/theme/layout.js.map +1 -0
  167. package/lib/module/utils/createChannelFeature.js +18 -4
  168. package/lib/module/utils/createChannelFeature.js.map +1 -1
  169. package/lib/module/utils/createObservableStore.js +5 -0
  170. package/lib/module/utils/createObservableStore.js.map +1 -1
  171. package/lib/module/utils/createPersistedObservableStore.js +67 -0
  172. package/lib/module/utils/createPersistedObservableStore.js.map +1 -0
  173. package/lib/module/utils/debugPreferences.js +46 -0
  174. package/lib/module/utils/debugPreferences.js.map +1 -0
  175. package/lib/typescript/src/core/DebugToolkit.d.ts +7 -3
  176. package/lib/typescript/src/core/DebugToolkit.d.ts.map +1 -1
  177. package/lib/typescript/src/core/DebugToolkitProvider.d.ts +2 -2
  178. package/lib/typescript/src/core/DebugToolkitProvider.d.ts.map +1 -1
  179. package/lib/typescript/src/{initialize.d.ts → core/initialize.d.ts} +7 -7
  180. package/lib/typescript/src/core/initialize.d.ts.map +1 -0
  181. package/lib/typescript/src/features/clipboard/ClipboardTab.d.ts +4 -0
  182. package/lib/typescript/src/features/clipboard/ClipboardTab.d.ts.map +1 -0
  183. package/lib/typescript/src/features/{ClipboardFeature.d.ts → clipboard/index.d.ts} +3 -3
  184. package/lib/typescript/src/features/clipboard/index.d.ts.map +1 -0
  185. package/lib/typescript/src/{components → features/console}/ConsoleLogTab.d.ts +2 -2
  186. package/lib/typescript/src/features/console/ConsoleLogTab.d.ts.map +1 -0
  187. package/lib/typescript/src/features/{ConsoleLogFeature.d.ts → console/index.d.ts} +3 -3
  188. package/lib/typescript/src/features/console/index.d.ts.map +1 -0
  189. package/lib/typescript/src/{components → features/environment}/EnvironmentTab.d.ts +1 -1
  190. package/lib/typescript/src/features/environment/EnvironmentTab.d.ts.map +1 -0
  191. package/lib/typescript/src/features/{EnvironmentFeature.d.ts → environment/index.d.ts} +2 -2
  192. package/lib/typescript/src/features/environment/index.d.ts.map +1 -0
  193. package/lib/typescript/src/{components → features/navigation}/NavigationLogTab.d.ts +2 -2
  194. package/lib/typescript/src/features/navigation/NavigationLogTab.d.ts.map +1 -0
  195. package/lib/typescript/src/features/{NavigationLogFeature.d.ts → navigation/index.d.ts} +3 -3
  196. package/lib/typescript/src/features/navigation/index.d.ts.map +1 -0
  197. package/lib/typescript/src/{hooks → features/navigation}/useNavigationLogger.d.ts +1 -1
  198. package/lib/typescript/src/features/navigation/useNavigationLogger.d.ts.map +1 -0
  199. package/lib/typescript/src/{components → features/network}/NetworkLogTab.d.ts +2 -2
  200. package/lib/typescript/src/features/network/NetworkLogTab.d.ts.map +1 -0
  201. package/lib/typescript/src/features/{NetworkFeature.d.ts → network/index.d.ts} +3 -7
  202. package/lib/typescript/src/features/network/index.d.ts.map +1 -0
  203. package/lib/typescript/src/features/network/networkInterceptor.d.ts +6 -0
  204. package/lib/typescript/src/features/network/networkInterceptor.d.ts.map +1 -0
  205. package/lib/typescript/src/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.d.ts +2 -2
  206. package/lib/typescript/src/features/thirdPartyLibs/ThirdPartyLibsTab.d.ts.map +1 -0
  207. package/lib/typescript/src/features/thirdPartyLibs/index.d.ts +3 -0
  208. package/lib/typescript/src/features/thirdPartyLibs/index.d.ts.map +1 -0
  209. package/lib/typescript/src/{native/NativeDebugLibs.d.ts → features/thirdPartyLibs/nativeDebugLibs.d.ts} +1 -1
  210. package/lib/typescript/src/features/thirdPartyLibs/nativeDebugLibs.d.ts.map +1 -0
  211. package/lib/typescript/src/{components → features/track}/TrackLogTab.d.ts +2 -2
  212. package/lib/typescript/src/features/track/TrackLogTab.d.ts.map +1 -0
  213. package/lib/typescript/src/features/{TrackFeature.d.ts → track/index.d.ts} +3 -3
  214. package/lib/typescript/src/features/track/index.d.ts.map +1 -0
  215. package/lib/typescript/src/{components → features/zustand}/ZustandLogTab.d.ts +2 -2
  216. package/lib/typescript/src/features/zustand/ZustandLogTab.d.ts.map +1 -0
  217. package/lib/typescript/src/features/{ZustandLogFeature.d.ts → zustand/index.d.ts} +3 -3
  218. package/lib/typescript/src/features/zustand/index.d.ts.map +1 -0
  219. package/lib/typescript/src/index.d.ts +19 -19
  220. package/lib/typescript/src/index.d.ts.map +1 -1
  221. package/lib/typescript/src/types/environment.d.ts +11 -0
  222. package/lib/typescript/src/types/environment.d.ts.map +1 -0
  223. package/lib/typescript/src/types/feature.d.ts +23 -0
  224. package/lib/typescript/src/types/feature.d.ts.map +1 -0
  225. package/lib/typescript/src/types/index.d.ts +5 -108
  226. package/lib/typescript/src/types/index.d.ts.map +1 -1
  227. package/lib/typescript/src/types/logs.d.ts +51 -0
  228. package/lib/typescript/src/types/logs.d.ts.map +1 -0
  229. package/lib/typescript/src/types/navigation.d.ts +8 -0
  230. package/lib/typescript/src/types/navigation.d.ts.map +1 -0
  231. package/lib/typescript/src/types/thirdPartyLibs.d.ts +13 -0
  232. package/lib/typescript/src/types/thirdPartyLibs.d.ts.map +1 -0
  233. package/lib/typescript/src/{components → ui}/DebugView.d.ts +1 -1
  234. package/lib/typescript/src/ui/DebugView.d.ts.map +1 -0
  235. package/lib/typescript/src/ui/floating/FloatIcon.d.ts.map +1 -0
  236. package/lib/typescript/src/ui/panel/DebugPanel.d.ts.map +1 -0
  237. package/lib/typescript/src/ui/panel/FeatureTabBar.d.ts.map +1 -0
  238. package/lib/typescript/src/ui/panel/FloatPanelView.d.ts +12 -0
  239. package/lib/typescript/src/ui/panel/FloatPanelView.d.ts.map +1 -0
  240. package/lib/typescript/src/ui/shared/CollapsibleSection.d.ts.map +1 -0
  241. package/lib/typescript/src/ui/shared/CopyButton.d.ts.map +1 -0
  242. package/lib/typescript/src/ui/shared/JsonView.d.ts.map +1 -0
  243. package/lib/typescript/src/ui/shared/LogListScreen.d.ts.map +1 -0
  244. package/lib/typescript/src/ui/shared/useSlideDetailAnimation.d.ts.map +1 -0
  245. package/lib/typescript/src/ui/theme/colors.d.ts.map +1 -0
  246. package/lib/typescript/src/ui/theme/layout.d.ts.map +1 -0
  247. package/lib/typescript/src/utils/createChannelFeature.d.ts +12 -3
  248. package/lib/typescript/src/utils/createChannelFeature.d.ts.map +1 -1
  249. package/lib/typescript/src/utils/createObservableStore.d.ts +1 -0
  250. package/lib/typescript/src/utils/createObservableStore.d.ts.map +1 -1
  251. package/lib/typescript/src/utils/createPersistedObservableStore.d.ts +15 -0
  252. package/lib/typescript/src/utils/createPersistedObservableStore.d.ts.map +1 -0
  253. package/lib/typescript/src/utils/debugPreferences.d.ts +10 -0
  254. package/lib/typescript/src/utils/debugPreferences.d.ts.map +1 -0
  255. package/package.json +4 -4
  256. package/src/core/DebugToolkit.tsx +37 -11
  257. package/src/core/DebugToolkitProvider.tsx +20 -13
  258. package/src/{initialize.ts → core/initialize.ts} +16 -16
  259. package/src/{components → features/clipboard}/ClipboardTab.tsx +4 -4
  260. package/src/features/{ClipboardFeature.ts → clipboard/index.ts} +4 -4
  261. package/src/{components → features/console}/ConsoleLogTab.tsx +10 -10
  262. package/src/features/{ConsoleLogFeature.ts → console/index.ts} +11 -8
  263. package/src/{components → features/environment}/EnvironmentTab.tsx +5 -5
  264. package/src/features/{EnvironmentFeature.ts → environment/index.ts} +23 -13
  265. package/src/{components → features/navigation}/NavigationLogTab.tsx +6 -5
  266. package/src/features/{NavigationLogFeature.ts → navigation/index.ts} +5 -5
  267. package/src/{hooks → features/navigation}/useNavigationLogger.ts +3 -3
  268. package/src/{components → features/network}/NetworkLogTab.tsx +10 -9
  269. package/src/features/{NetworkFeature.ts → network/index.ts} +19 -43
  270. package/src/features/network/networkInterceptor.ts +286 -0
  271. package/src/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.tsx +5 -4
  272. package/src/features/{ThirdPartyLibsFeature.ts → thirdPartyLibs/index.ts} +5 -5
  273. package/src/{components → features/track}/TrackLogTab.tsx +9 -9
  274. package/src/features/{TrackFeature.ts → track/index.ts} +13 -6
  275. package/src/{components → features/zustand}/ZustandLogTab.tsx +10 -10
  276. package/src/features/{ZustandLogFeature.ts → zustand/index.ts} +5 -5
  277. package/src/index.ts +19 -19
  278. package/src/types/environment.ts +11 -0
  279. package/src/types/feature.ts +32 -0
  280. package/src/types/index.ts +29 -127
  281. package/src/types/logs.ts +54 -0
  282. package/src/types/navigation.ts +5 -0
  283. package/src/types/thirdPartyLibs.ts +13 -0
  284. package/src/{components → ui}/DebugView.tsx +3 -3
  285. package/src/{components → ui/floating}/FloatIcon.tsx +60 -29
  286. package/src/{components → ui/panel}/DebugPanel.tsx +4 -4
  287. package/src/{components → ui/panel}/FeatureTabBar.tsx +1 -1
  288. package/src/{components → ui/panel}/FloatPanelView.tsx +38 -13
  289. package/src/{components → ui}/shared/CollapsibleSection.tsx +1 -1
  290. package/src/{components → ui}/shared/CopyButton.tsx +1 -1
  291. package/src/{components → ui}/shared/LogListScreen.tsx +2 -2
  292. package/src/{utils → ui/theme}/colors.ts +0 -5
  293. package/src/utils/createChannelFeature.ts +32 -7
  294. package/src/utils/createObservableStore.ts +6 -0
  295. package/src/utils/createPersistedObservableStore.ts +76 -0
  296. package/src/utils/debugPreferences.ts +48 -0
  297. package/lib/commonjs/components/ClipboardTab.js.map +0 -1
  298. package/lib/commonjs/components/ConsoleLogTab.js.map +0 -1
  299. package/lib/commonjs/components/DebugPanel.js.map +0 -1
  300. package/lib/commonjs/components/DebugView.js.map +0 -1
  301. package/lib/commonjs/components/EnvironmentTab.js.map +0 -1
  302. package/lib/commonjs/components/FeatureTabBar.js.map +0 -1
  303. package/lib/commonjs/components/FloatIcon.js.map +0 -1
  304. package/lib/commonjs/components/FloatPanelView.js.map +0 -1
  305. package/lib/commonjs/components/NavigationLogTab.js.map +0 -1
  306. package/lib/commonjs/components/NetworkLogTab.js.map +0 -1
  307. package/lib/commonjs/components/ThirdPartyLibsTab.js.map +0 -1
  308. package/lib/commonjs/components/TrackLogTab.js.map +0 -1
  309. package/lib/commonjs/components/ZustandLogTab.js.map +0 -1
  310. package/lib/commonjs/components/shared/CollapsibleSection.js.map +0 -1
  311. package/lib/commonjs/components/shared/CopyButton.js.map +0 -1
  312. package/lib/commonjs/components/shared/JsonView.js.map +0 -1
  313. package/lib/commonjs/components/shared/LogListScreen.js.map +0 -1
  314. package/lib/commonjs/features/ClipboardFeature.js.map +0 -1
  315. package/lib/commonjs/features/ConsoleLogFeature.js.map +0 -1
  316. package/lib/commonjs/features/EnvironmentFeature.js.map +0 -1
  317. package/lib/commonjs/features/NavigationLogFeature.js.map +0 -1
  318. package/lib/commonjs/features/NetworkFeature.js.map +0 -1
  319. package/lib/commonjs/features/ThirdPartyLibsFeature.js.map +0 -1
  320. package/lib/commonjs/features/TrackFeature.js.map +0 -1
  321. package/lib/commonjs/features/ZustandLogFeature.js.map +0 -1
  322. package/lib/commonjs/hooks/useNavigationLogger.js.map +0 -1
  323. package/lib/commonjs/hooks/useSlideDetailAnimation.js.map +0 -1
  324. package/lib/commonjs/initialize.js.map +0 -1
  325. package/lib/commonjs/interceptors/networkInterceptor.js +0 -466
  326. package/lib/commonjs/interceptors/networkInterceptor.js.map +0 -1
  327. package/lib/commonjs/native/NativeDebugLibs.js.map +0 -1
  328. package/lib/commonjs/utils/colors.js.map +0 -1
  329. package/lib/commonjs/utils/layout.js.map +0 -1
  330. package/lib/module/components/ClipboardTab.js.map +0 -1
  331. package/lib/module/components/ConsoleLogTab.js.map +0 -1
  332. package/lib/module/components/DebugPanel.js.map +0 -1
  333. package/lib/module/components/DebugView.js.map +0 -1
  334. package/lib/module/components/EnvironmentTab.js.map +0 -1
  335. package/lib/module/components/FeatureTabBar.js.map +0 -1
  336. package/lib/module/components/FloatIcon.js.map +0 -1
  337. package/lib/module/components/FloatPanelView.js.map +0 -1
  338. package/lib/module/components/NavigationLogTab.js.map +0 -1
  339. package/lib/module/components/NetworkLogTab.js.map +0 -1
  340. package/lib/module/components/ThirdPartyLibsTab.js.map +0 -1
  341. package/lib/module/components/TrackLogTab.js.map +0 -1
  342. package/lib/module/components/ZustandLogTab.js.map +0 -1
  343. package/lib/module/components/shared/CollapsibleSection.js.map +0 -1
  344. package/lib/module/components/shared/CopyButton.js.map +0 -1
  345. package/lib/module/components/shared/JsonView.js.map +0 -1
  346. package/lib/module/components/shared/LogListScreen.js.map +0 -1
  347. package/lib/module/features/ClipboardFeature.js.map +0 -1
  348. package/lib/module/features/ConsoleLogFeature.js.map +0 -1
  349. package/lib/module/features/EnvironmentFeature.js.map +0 -1
  350. package/lib/module/features/NavigationLogFeature.js.map +0 -1
  351. package/lib/module/features/NetworkFeature.js.map +0 -1
  352. package/lib/module/features/ThirdPartyLibsFeature.js.map +0 -1
  353. package/lib/module/features/TrackFeature.js.map +0 -1
  354. package/lib/module/features/ZustandLogFeature.js.map +0 -1
  355. package/lib/module/hooks/useNavigationLogger.js.map +0 -1
  356. package/lib/module/hooks/useSlideDetailAnimation.js.map +0 -1
  357. package/lib/module/initialize.js.map +0 -1
  358. package/lib/module/interceptors/networkInterceptor.js +0 -460
  359. package/lib/module/interceptors/networkInterceptor.js.map +0 -1
  360. package/lib/module/native/NativeDebugLibs.js.map +0 -1
  361. package/lib/module/utils/colors.js.map +0 -1
  362. package/lib/module/utils/layout.js.map +0 -1
  363. package/lib/typescript/src/components/ClipboardTab.d.ts +0 -4
  364. package/lib/typescript/src/components/ClipboardTab.d.ts.map +0 -1
  365. package/lib/typescript/src/components/ConsoleLogTab.d.ts.map +0 -1
  366. package/lib/typescript/src/components/DebugPanel.d.ts.map +0 -1
  367. package/lib/typescript/src/components/DebugView.d.ts.map +0 -1
  368. package/lib/typescript/src/components/EnvironmentTab.d.ts.map +0 -1
  369. package/lib/typescript/src/components/FeatureTabBar.d.ts.map +0 -1
  370. package/lib/typescript/src/components/FloatIcon.d.ts.map +0 -1
  371. package/lib/typescript/src/components/FloatPanelView.d.ts +0 -9
  372. package/lib/typescript/src/components/FloatPanelView.d.ts.map +0 -1
  373. package/lib/typescript/src/components/NavigationLogTab.d.ts.map +0 -1
  374. package/lib/typescript/src/components/NetworkLogTab.d.ts.map +0 -1
  375. package/lib/typescript/src/components/ThirdPartyLibsTab.d.ts.map +0 -1
  376. package/lib/typescript/src/components/TrackLogTab.d.ts.map +0 -1
  377. package/lib/typescript/src/components/ZustandLogTab.d.ts.map +0 -1
  378. package/lib/typescript/src/components/shared/CollapsibleSection.d.ts.map +0 -1
  379. package/lib/typescript/src/components/shared/CopyButton.d.ts.map +0 -1
  380. package/lib/typescript/src/components/shared/JsonView.d.ts.map +0 -1
  381. package/lib/typescript/src/components/shared/LogListScreen.d.ts.map +0 -1
  382. package/lib/typescript/src/features/ClipboardFeature.d.ts.map +0 -1
  383. package/lib/typescript/src/features/ConsoleLogFeature.d.ts.map +0 -1
  384. package/lib/typescript/src/features/EnvironmentFeature.d.ts.map +0 -1
  385. package/lib/typescript/src/features/NavigationLogFeature.d.ts.map +0 -1
  386. package/lib/typescript/src/features/NetworkFeature.d.ts.map +0 -1
  387. package/lib/typescript/src/features/ThirdPartyLibsFeature.d.ts +0 -3
  388. package/lib/typescript/src/features/ThirdPartyLibsFeature.d.ts.map +0 -1
  389. package/lib/typescript/src/features/TrackFeature.d.ts.map +0 -1
  390. package/lib/typescript/src/features/ZustandLogFeature.d.ts.map +0 -1
  391. package/lib/typescript/src/hooks/useNavigationLogger.d.ts.map +0 -1
  392. package/lib/typescript/src/hooks/useSlideDetailAnimation.d.ts.map +0 -1
  393. package/lib/typescript/src/initialize.d.ts.map +0 -1
  394. package/lib/typescript/src/interceptors/networkInterceptor.d.ts +0 -18
  395. package/lib/typescript/src/interceptors/networkInterceptor.d.ts.map +0 -1
  396. package/lib/typescript/src/native/NativeDebugLibs.d.ts.map +0 -1
  397. package/lib/typescript/src/utils/colors.d.ts.map +0 -1
  398. package/lib/typescript/src/utils/layout.d.ts.map +0 -1
  399. package/src/interceptors/networkInterceptor.ts +0 -646
  400. /package/lib/commonjs/{components → ui}/shared/JsonView.js +0 -0
  401. /package/lib/commonjs/{hooks → ui/shared}/useSlideDetailAnimation.js +0 -0
  402. /package/lib/commonjs/{utils → ui/theme}/layout.js +0 -0
  403. /package/lib/module/{components → ui}/shared/JsonView.js +0 -0
  404. /package/lib/module/{hooks → ui/shared}/useSlideDetailAnimation.js +0 -0
  405. /package/lib/module/{utils → ui/theme}/layout.js +0 -0
  406. /package/lib/typescript/src/{components → ui/floating}/FloatIcon.d.ts +0 -0
  407. /package/lib/typescript/src/{components → ui/panel}/DebugPanel.d.ts +0 -0
  408. /package/lib/typescript/src/{components → ui/panel}/FeatureTabBar.d.ts +0 -0
  409. /package/lib/typescript/src/{components → ui}/shared/CollapsibleSection.d.ts +0 -0
  410. /package/lib/typescript/src/{components → ui}/shared/CopyButton.d.ts +0 -0
  411. /package/lib/typescript/src/{components → ui}/shared/JsonView.d.ts +0 -0
  412. /package/lib/typescript/src/{components → ui}/shared/LogListScreen.d.ts +0 -0
  413. /package/lib/typescript/src/{hooks → ui/shared}/useSlideDetailAnimation.d.ts +0 -0
  414. /package/lib/typescript/src/{utils → ui/theme}/colors.d.ts +0 -0
  415. /package/lib/typescript/src/{utils → ui/theme}/layout.d.ts +0 -0
  416. /package/src/{native/NativeDebugLibs.ts → features/thirdPartyLibs/nativeDebugLibs.ts} +0 -0
  417. /package/src/{components → ui}/shared/JsonView.tsx +0 -0
  418. /package/src/{hooks → ui/shared}/useSlideDetailAnimation.ts +0 -0
  419. /package/src/{utils → ui/theme}/layout.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createObservableStore","getPreference","setPreference","createPersistedObservableStore","options","storageKey","maxPersist","debounceMs","serialize","store","writeTimer","idCounter","then","raw","entries","JSON","parse","Array","isArray","restored","slice","pushBatch","max","e","n","parseInt","id","isNaN","scheduleWrite","clearTimeout","setTimeout","data","getData","toStore","map","stringify","push","item","maxEntries","clear","subscribe","nextId","String"],"sourceRoot":"../../../src","sources":["utils/createPersistedObservableStore.ts"],"mappings":";;AAAA,SAASA,qBAAqB,QAA8B,yBAAyB;AACrF,SAASC,aAAa,EAAEC,aAAa,QAAQ,oBAAoB;AAcjE,OAAO,SAASC,8BAA8BA,CAC5CC,OAAiC,EACJ;EAC7B,MAAM;IAAEC,UAAU;IAAEC,UAAU;IAAEC,UAAU,GAAG,IAAI;IAAEC;EAAU,CAAC,GAAGJ,OAAO;EACxE,MAAMK,KAAK,GAAGT,qBAAqB,CAAI,CAAC;EACxC,IAAIU,UAAgD,GAAG,IAAI;EAC3D,IAAIC,SAAS,GAAG,CAAC;;EAEjB;EACAV,aAAa,CAACI,UAAU,CAAC,CAACO,IAAI,CAAEC,GAAG,IAAK;IACtC,IAAI,CAACA,GAAG,EAAE;IACV,IAAI;MACF,MAAMC,OAAO,GAAGC,IAAI,CAACC,KAAK,CAACH,GAAG,CAAQ;MACtC,IAAI,CAACI,KAAK,CAACC,OAAO,CAACJ,OAAO,CAAC,EAAE;MAC7B,MAAMK,QAAQ,GAAGL,OAAO,CAACM,KAAK,CAAC,CAACd,UAAU,CAAC;MAC3CG,KAAK,CAACY,SAAS,CAACF,QAAQ,CAAC;MACzB;MACA,IAAIG,GAAG,GAAG,CAAC;MACX,KAAK,MAAMC,CAAC,IAAIJ,QAAQ,EAAE;QACxB,MAAMK,CAAC,GAAGC,QAAQ,CAACF,CAAC,CAACG,EAAE,IAAI,EAA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KAAK,CAAC+B,SAAS;IAC1BC,MAAM,EAAEA,CAAA,KAAMC,MAAM,CAAC/B,SAAS,EAAE;EAClC,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+
3
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4
+
5
+ const memoryStore = new Map();
6
+ function loadAsyncStorage() {
7
+ try {
8
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
9
+ const mod = require('@react-native-async-storage/async-storage');
10
+ if (mod && typeof mod.getItem === 'function') return mod;
11
+ return null;
12
+ } catch {
13
+ return null;
14
+ }
15
+ }
16
+ export async function setPreference(key, value) {
17
+ memoryStore.set(key, value);
18
+ const AsyncStorage = loadAsyncStorage();
19
+ if (AsyncStorage) {
20
+ try {
21
+ await AsyncStorage.setItem(key, value);
22
+ } catch {
23
+ // degrade to memory only
24
+ }
25
+ }
26
+ }
27
+ export async function getPreference(key) {
28
+ const AsyncStorage = loadAsyncStorage();
29
+ if (AsyncStorage) {
30
+ try {
31
+ const val = await AsyncStorage.getItem(key);
32
+ if (val !== null) return val;
33
+ } catch {
34
+ // fall through to memory
35
+ }
36
+ }
37
+ return memoryStore.get(key) ?? null;
38
+ }
39
+ export const KEYS = {
40
+ fabPosition: '@react_native_debug_toolkit/fab_position',
41
+ lastTab: '@react_native_debug_toolkit/last_tab',
42
+ consoleLogs: '@react_native_debug_toolkit/console_logs',
43
+ networkLogs: '@react_native_debug_toolkit/network_logs',
44
+ trackLogs: '@react_native_debug_toolkit/track_logs'
45
+ };
46
+ //# sourceMappingURL=debugPreferences.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["memoryStore","Map","loadAsyncStorage","mod","require","getItem","setPreference","key","value","set","AsyncStorage","setItem","getPreference","val","get","KEYS","fabPosition","lastTab","consoleLogs","networkLogs","trackLogs"],"sourceRoot":"../../../src","sources":["utils/debugPreferences.ts"],"mappings":";;AAAA;;AAGA,MAAMA,WAAW,GAAG,IAAIC,GAAG,CAAiB,CAAC;AAE7C,SAASC,gBAAgBA,CAAA,EAA4B;EACnD,IAAI;IACF;IACA,MAAMC,GAAG,GAAGC,OAAO,CAAC,2CAA2C,CAAC;IAChE,IAAID,GAAG,IAAI,OAAOA,GAAG,CAACE,OAAO,KAAK,UAAU,EAAE,OAAOF,GAAG;IACxD,OAAO,IAAI;EACb,CAAC,CAAC,MAAM;IACN,OAAO,IAAI;EACb;AACF;AAEA,OAAO,eAAeG,aAAaA,CAACC,GAAW,EAAEC,KAAa,EAAiB;EAC7ER,WAAW,CAACS,GAAG,CAACF,GAAG,EAAEC,KAAK,CAAC;EAC3B,MAAME,YAAY,GAAGR,gBAAgB,CAAC,CAAC;EACvC,IAAIQ,YAAY,EAAE;IAChB,IAAI;MACF,MAAMA,YAAY,CAACC,OAAO,CAACJ,GAAG,EAAEC,KAAK,CAAC;IACxC,CAAC,CAAC,MAAM;MACN;IAAA;EAEJ;AACF;AAEA,OAAO,eAAeI,aAAaA,CAACL,GAAW,EAA0B;EACvE,MAAMG,YAAY,GAAGR,gBAAgB,CAAC,CAAC;EACvC,IAAIQ,YAAY,EAAE;IAChB,IAAI;MACF,MAAMG,GAAG,GAAG,MAAMH,YAAY,CAACL,OAAO,CAACE,GAAG,CAAC;MAC3C,IAAIM,GAAG,KAAK,IAAI,EAAE,OAAOA,GAAG;IAC9B,CAAC,CAAC,MAAM;MACN;IAAA;EAEJ;EACA,OAAOb,WAAW,CAACc,GAAG,CAACP,GAAG,CAAC,IAAI,IAAI;AACrC;AAEA,OAAO,MAAMQ,IAAI,GAAG;EAClBC,WAAW,EAAE,0CAA0C;EACvDC,OAAO,EAAE,sCAAsC;EAC/CC,WAAW,EAAE,0CAA0C;EACvDC,WAAW,EAAE,0CAA0C;EACvDC,SAAS,EAAE;AACb,CAAU","ignoreList":[]}
@@ -4,15 +4,19 @@ export declare const DebugToolkit: {
4
4
  subscribe(listener: Listener): () => void;
5
5
  readonly features: AnyDebugFeature[];
6
6
  readonly enabled: boolean;
7
- readonly panelVisible: boolean;
7
+ readonly launcherVisible: boolean;
8
8
  setEnabled(enabled: boolean): void;
9
9
  replaceFeatures(features: AnyDebugFeature[]): void;
10
10
  addFeature(feature: AnyDebugFeature): void;
11
11
  removeFeature(name: string): void;
12
12
  reset(): void;
13
13
  hasFeatures(): boolean;
14
- showPanel(): void;
15
- hidePanel(): void;
14
+ readonly panelOpen: boolean;
15
+ openPanel(): void;
16
+ closePanel(): void;
17
+ togglePanel(): void;
18
+ showLauncher(): void;
19
+ hideLauncher(): void;
16
20
  clearAll(): void;
17
21
  destroy(): void;
18
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DebugToolkit.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;AAmB3B,eAAO,MAAM,YAAY;wBACH,QAAQ,GAAG,MAAM,IAAI;uBAOzB,eAAe,EAAE;sBAIlB,OAAO;2BAIF,OAAO;wBAIP,OAAO,GAAG,IAAI;8BAWR,eAAe,EAAE,GAAG,IAAI;wBAoB9B,eAAe,GAAG,IAAI;wBA4BtB,MAAM,GAAG,IAAI;aAkBxB,IAAI;mBAOE,OAAO;iBAIT,IAAI;iBAMJ,IAAI;gBAKL,IAAI;eAKL,IAAI;CAIhB,CAAC"}
1
+ {"version":3,"file":"DebugToolkit.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;AAoB3B,eAAO,MAAM,YAAY;wBACH,QAAQ,GAAG,MAAM,IAAI;uBAOzB,eAAe,EAAE;sBAIlB,OAAO;8BAIC,OAAO;wBAIV,OAAO,GAAG,IAAI;8BAWR,eAAe,EAAE,GAAG,IAAI;wBAoB9B,eAAe,GAAG,IAAI;wBA4BtB,MAAM,GAAG,IAAI;aAkBxB,IAAI;mBAQE,OAAO;wBAIL,OAAO;iBAIX,IAAI;kBAMH,IAAI;mBAMH,IAAI;oBAQH,IAAI;oBAMJ,IAAI;gBAKR,IAAI;eAKL,IAAI;CAIhB,CAAC"}
@@ -2,8 +2,8 @@ import React, { type ReactNode } from 'react';
2
2
  import type { AnyDebugFeature } from '../types';
3
3
  interface ToolkitContextValue {
4
4
  features: AnyDebugFeature[];
5
- showPanel: () => void;
6
- hidePanel: () => void;
5
+ showLauncher: () => void;
6
+ hideLauncher: () => void;
7
7
  clearAll: () => void;
8
8
  }
9
9
  interface DebugToolkitProviderProps {
@@ -1 +1 @@
1
- {"version":3,"file":"DebugToolkitProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AASD,UAAU,yBAAyB;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,yBAAyB,qBAgD3E;AAED,wBAAgB,eAAe,IAAI,mBAAmB,CASrD"}
1
+ {"version":3,"file":"DebugToolkitProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAUD,UAAU,yBAAyB;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,yBAAyB,qBAsD3E;AAED,wBAAgB,eAAe,IAAI,mBAAmB,CASrD"}
@@ -1,10 +1,10 @@
1
- import { DebugToolkit } from './core/DebugToolkit';
2
- import type { NetworkFeatureConfig } from './features/NetworkFeature';
3
- import type { ConsoleFeatureConfig } from './features/ConsoleLogFeature';
4
- import type { ZustandFeatureConfig } from './features/ZustandLogFeature';
5
- import type { NavigationFeatureConfig } from './features/NavigationLogFeature';
6
- import type { TrackFeatureConfig } from './features/TrackFeature';
7
- import { createEnvironmentFeature } from './features/EnvironmentFeature';
1
+ import { DebugToolkit } from './DebugToolkit';
2
+ import type { NetworkFeatureConfig } from '../features/network';
3
+ import type { ConsoleFeatureConfig } from '../features/console';
4
+ import type { ZustandFeatureConfig } from '../features/zustand';
5
+ import type { NavigationFeatureConfig } from '../features/navigation';
6
+ import type { TrackFeatureConfig } from '../features/track';
7
+ import { createEnvironmentFeature } from '../features/environment';
8
8
  /** Feature-specific configuration map */
9
9
  export interface FeatureConfigs {
10
10
  network?: boolean | NetworkFeatureConfig;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/core/initialize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAMnE,yCAAyC;AACzC,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAC;IACzC,UAAU,CAAC,EAAE,OAAO,GAAG,uBAAuB,CAAC;IAC/C,KAAK,CAAC,EAAE,OAAO,GAAG,kBAAkB,CAAC;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAmDD;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,YAAY,CA4BrB"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { DebugFeatureRenderProps } from '../../types';
3
+ export declare const ClipboardTab: React.FC<DebugFeatureRenderProps<null>>;
4
+ //# sourceMappingURL=ClipboardTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClipboardTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/clipboard/ClipboardTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAqC/D,CAAC"}
@@ -1,7 +1,7 @@
1
- import type { DebugFeature } from '../types';
1
+ import type { DebugFeature } from '../../types';
2
2
  /**
3
3
  * Clipboard feature — all logic lives in ClipboardTab.
4
4
  * Data flow is user-driven (TextInput), not event-based.
5
5
  */
6
- export declare const createClipboardFeature: () => DebugFeature<void>;
7
- //# sourceMappingURL=ClipboardFeature.d.ts.map
6
+ export declare const createClipboardFeature: () => DebugFeature<null>;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/clipboard/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAAO,YAAY,CAAC,IAAI,CAOzD,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { ConsoleLogEntry, DebugFeatureRenderProps } from '../types';
3
- export declare const ConsoleLogTab: React.FC<DebugFeatureRenderProps<ConsoleLogEntry>>;
2
+ import type { ConsoleLogEntry, DebugFeatureRenderProps } from '../../types';
3
+ export declare const ConsoleLogTab: React.FC<DebugFeatureRenderProps<ConsoleLogEntry[]>>;
4
4
  //# sourceMappingURL=ConsoleLogTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConsoleLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/console/ConsoleLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAgB5E,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,eAAe,EAAE,CAAC,CAiD7E,CAAC"}
@@ -1,9 +1,9 @@
1
- import type { ConsoleLogEntry, DebugFeature } from '../types';
1
+ import type { ConsoleLogEntry, DebugFeature } from '../../types';
2
2
  export interface ConsoleFeatureConfig {
3
3
  /** Maximum number of console logs to keep (default: 200) */
4
4
  maxLogs?: number;
5
5
  }
6
- export declare const createConsoleLogFeature: (config?: ConsoleFeatureConfig) => DebugFeature<ConsoleLogEntry>;
6
+ export declare const createConsoleLogFeature: (config?: ConsoleFeatureConfig) => DebugFeature<ConsoleLogEntry[]>;
7
7
  /** Reset module-level state for testing */
8
8
  export declare function _resetConsoleForTesting(): void;
9
- //# sourceMappingURL=ConsoleLogFeature.d.ts.map
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/console/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AA0EjE,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,uBAAuB,GAAI,SAAS,oBAAoB,KAAG,YAAY,CAAC,eAAe,EAAE,CAiCrG,CAAC;AAEF,2CAA2C;AAC3C,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { DebugFeatureRenderProps, EnvironmentState } from '../types';
2
+ import type { DebugFeatureRenderProps, EnvironmentState } from '../../types';
3
3
  export declare const EnvironmentTab: React.FC<DebugFeatureRenderProps<EnvironmentState>>;
4
4
  //# sourceMappingURL=EnvironmentTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/environment/EnvironmentTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAY7E,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CA+F7E,CAAC"}
@@ -1,8 +1,8 @@
1
- import type { DebugFeature, EnvironmentConfig, EnvironmentState } from '../types';
1
+ import type { DebugFeature, EnvironmentConfig, EnvironmentState } from '../../types';
2
2
  export interface EnvironmentFeatureAPI extends DebugFeature<EnvironmentState> {
3
3
  registerEnvironments: (environments: EnvironmentConfig[]) => void;
4
4
  switchEnvironment: (environmentId: string | null) => void;
5
5
  getCurrentEnvironmentId: () => string | null;
6
6
  }
7
7
  export declare const createEnvironmentFeature: (initialEnvironments?: EnvironmentConfig[]) => EnvironmentFeatureAPI;
8
- //# sourceMappingURL=EnvironmentFeature.d.ts.map
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/environment/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,EAEZ,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAmErB,MAAM,WAAW,qBAAsB,SAAQ,YAAY,CAAC,gBAAgB,CAAC;IAC3E,oBAAoB,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAClE,iBAAiB,EAAE,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1D,uBAAuB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,wBAAwB,GACnC,sBAAsB,iBAAiB,EAAE,KACxC,qBAkHF,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { DebugFeatureRenderProps, NavigationLogEntry } from '../types';
3
- export declare const NavigationLogTab: React.FC<DebugFeatureRenderProps<NavigationLogEntry>>;
2
+ import type { DebugFeatureRenderProps, NavigationLogEntry } from '../../types';
3
+ export declare const NavigationLogTab: React.FC<DebugFeatureRenderProps<NavigationLogEntry[]>>;
4
4
  //# sourceMappingURL=NavigationLogTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/navigation/NavigationLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE/E,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,kBAAkB,EAAE,CAAC,CA8CnF,CAAC"}
@@ -1,10 +1,10 @@
1
- import type { DebugFeature, NavigationLogEntry } from '../types';
1
+ import type { DebugFeature, NavigationLogEntry } from '../../types';
2
2
  export declare const addNavigationLog: (action: string, from: string, to: string, startTime?: number, duration?: number, debugLog?: string) => void;
3
3
  export interface NavigationFeatureConfig {
4
4
  /** Maximum number of navigation logs to keep (default: 200) */
5
5
  maxLogs?: number;
6
6
  }
7
- export declare const createNavigationLogFeature: (config?: NavigationFeatureConfig) => DebugFeature<NavigationLogEntry>;
7
+ export declare const createNavigationLogFeature: (config?: NavigationFeatureConfig) => DebugFeature<NavigationLogEntry[]>;
8
8
  /** Reset module-level state for testing */
9
9
  export declare function _resetNavigationForTesting(): void;
10
- //# sourceMappingURL=NavigationLogFeature.d.ts.map
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/navigation/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAQpE,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,MAAM,EACd,MAAM,MAAM,EACZ,IAAI,MAAM,EACV,YAAY,MAAM,EAClB,WAAW,MAAM,EACjB,WAAW,MAAM,KAChB,IAUF,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,+DAA+D;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,0BAA0B,GAAI,SAAS,uBAAuB,KAAG,YAAY,CAAC,kBAAkB,EAAE,CAK5G,CAAC;AAEJ,2CAA2C;AAC3C,wBAAgB,0BAA0B,IAAI,IAAI,CAEjD"}
@@ -1,4 +1,4 @@
1
- import type { NavigationContainerRef } from '../types';
1
+ import type { NavigationContainerRef } from '../../types';
2
2
  /**
3
3
  * Hook to automatically log React Navigation events.
4
4
  *
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useNavigationLogger.d.ts","sourceRoot":"","sources":["../../../../../src/features/navigation/useNavigationLogger.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAyB1D;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,GAAG,IAAI,CAAC,QA+DhG"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { DebugFeatureRenderProps, NetworkLogEntry } from '../types';
3
- export declare const NetworkLogTab: React.FC<DebugFeatureRenderProps<NetworkLogEntry>>;
2
+ import type { DebugFeatureRenderProps, NetworkLogEntry } from '../../types';
3
+ export declare const NetworkLogTab: React.FC<DebugFeatureRenderProps<NetworkLogEntry[]>>;
4
4
  //# sourceMappingURL=NetworkLogTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/network/NetworkLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAcxC,OAAO,KAAK,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAyB5E,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,eAAe,EAAE,CAAC,CA+I7E,CAAC"}
@@ -1,15 +1,11 @@
1
- import type { DebugFeature, NetworkLogEntry } from '../types';
2
- import type { AxiosInstanceLike } from '../interceptors/networkInterceptor';
3
- export type { AxiosInstanceLike };
1
+ import type { DebugFeature, NetworkLogEntry } from '../../types';
4
2
  export interface NetworkFeatureConfig {
5
3
  /** Maximum number of network logs to keep (default: 200) */
6
4
  maxLogs?: number;
7
5
  /** URLs to filter out from logging */
8
6
  blacklist?: Array<string | RegExp>;
9
7
  }
10
- export declare const createNetworkFeature: (config?: NetworkFeatureConfig) => DebugFeature<NetworkLogEntry> & {
11
- setupAxiosInterceptors: (axiosInstance: AxiosInstanceLike) => () => void;
12
- };
8
+ export declare const createNetworkFeature: (config?: NetworkFeatureConfig) => DebugFeature<NetworkLogEntry[]>;
13
9
  /** Reset module-level state for testing */
14
10
  export declare function _resetNetworkForTesting(): void;
15
- //# sourceMappingURL=NetworkFeature.d.ts.map
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/network/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAsCjE,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;CACpC;AAED,eAAO,MAAM,oBAAoB,GAAI,SAAS,oBAAoB,KAAG,YAAY,CAAC,eAAe,EAAE,CAgDlG,CAAC;AAEF,2CAA2C;AAC3C,wBAAgB,uBAAuB,IAAI,IAAI,CAG9C"}
@@ -0,0 +1,6 @@
1
+ import type { NetworkLogEntry } from '../../types';
2
+ type NetworkLogPayload = Omit<NetworkLogEntry, 'id'>;
3
+ export declare function startXMLHttpRequest(emit: (entry: NetworkLogPayload) => void): () => void;
4
+ export declare function resetInterceptors(): void;
5
+ export {};
6
+ //# sourceMappingURL=networkInterceptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/features/network/networkInterceptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,KAAK,iBAAiB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AA2JrD,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,GACvC,MAAM,IAAI,CAmHZ;AAID,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { DebugFeatureRenderProps, ThirdPartyLib } from '../types';
3
- export declare const ThirdPartyLibsTab: React.FC<DebugFeatureRenderProps<ThirdPartyLib>>;
2
+ import type { DebugFeatureRenderProps, ThirdPartyLib } from '../../types';
3
+ export declare const ThirdPartyLibsTab: React.FC<DebugFeatureRenderProps<ThirdPartyLib[]>>;
4
4
  //# sourceMappingURL=ThirdPartyLibsTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThirdPartyLibsTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/thirdPartyLibs/ThirdPartyLibsTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAuB,MAAM,aAAa,CAAC;AAE/F,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,aAAa,EAAE,CAAC,CAiChF,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { DebugFeature, ThirdPartyLib } from '../../types';
2
+ export declare const createThirdPartyLibsFeature: () => DebugFeature<ThirdPartyLib[]>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/thirdPartyLibs/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA+B/D,eAAO,MAAM,2BAA2B,QAAO,YAAY,CAAC,aAAa,EAAE,CAOzE,CAAC"}
@@ -8,4 +8,4 @@ export declare const NativeDebugLibs: {
8
8
  showDoraemonKit(): void;
9
9
  hideDoraemonKit(): void;
10
10
  };
11
- //# sourceMappingURL=NativeDebugLibs.d.ts.map
11
+ //# sourceMappingURL=nativeDebugLibs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeDebugLibs.d.ts","sourceRoot":"","sources":["../../../../../src/features/thirdPartyLibs/nativeDebugLibs.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,eAAe;oBACV,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;wBAOlB,MAAM,GAAG,IAAI;oBAOjB,OAAO;oBASP,IAAI;oBAMJ,IAAI;kCAOU,MAAM,GAAG,IAAI;uBAMxB,IAAI;uBAMJ,IAAI;CAKxB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { DebugFeatureRenderProps, TrackLogEntry } from '../types';
3
- export declare const TrackLogTab: React.FC<DebugFeatureRenderProps<TrackLogEntry>>;
2
+ import type { DebugFeatureRenderProps, TrackLogEntry } from '../../types';
3
+ export declare const TrackLogTab: React.FC<DebugFeatureRenderProps<TrackLogEntry[]>>;
4
4
  //# sourceMappingURL=TrackLogTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrackLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/track/TrackLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE1E,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,aAAa,EAAE,CAAC,CAiEzE,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { DebugFeature, TrackLogEntry } from '../types';
1
+ import type { DebugFeature, TrackLogEntry } from '../../types';
2
2
  export interface TrackEventData {
3
3
  eventName: string;
4
4
  [key: string]: unknown;
@@ -8,7 +8,7 @@ export interface TrackFeatureConfig {
8
8
  /** Maximum number of track events to keep (default: 200) */
9
9
  maxLogs?: number;
10
10
  }
11
- export declare const createTrackFeature: (config?: TrackFeatureConfig) => DebugFeature<TrackLogEntry>;
11
+ export declare const createTrackFeature: (config?: TrackFeatureConfig) => DebugFeature<TrackLogEntry[]>;
12
12
  /** Reset module-level state for testing */
13
13
  export declare function _resetTrackForTesting(): void;
14
- //# sourceMappingURL=TrackFeature.d.ts.map
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/track/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAK/D,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAMD,eAAO,MAAM,WAAW,GAAI,WAAW,cAAc,KAAG,IAEvD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,GAAI,SAAS,kBAAkB,KAAG,YAAY,CAAC,aAAa,EAAE,CAW1F,CAAC;AAEJ,2CAA2C;AAC3C,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- import type { DebugFeatureRenderProps, ZustandLogEntry } from '../types';
3
- export declare const ZustandLogTab: React.FC<DebugFeatureRenderProps<ZustandLogEntry>>;
2
+ import type { DebugFeatureRenderProps, ZustandLogEntry } from '../../types';
3
+ export declare const ZustandLogTab: React.FC<DebugFeatureRenderProps<ZustandLogEntry[]>>;
4
4
  //# sourceMappingURL=ZustandLogTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZustandLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/zustand/ZustandLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA4B5E,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,eAAe,EAAE,CAAC,CAyF7E,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { DebugFeature, ZustandLogEntry } from '../types';
1
+ import type { DebugFeature, ZustandLogEntry } from '../../types';
2
2
  export declare const addZustandLog: (action: string, prevState: unknown, nextState: unknown, actionCompleteTime?: number, storeName?: string) => void;
3
3
  type ZustandSetState<T> = (partial: T | Partial<T> | ((state: T) => Partial<T> | T), replace?: boolean | undefined, action?: string | {
4
4
  type: unknown;
@@ -24,8 +24,8 @@ export interface ZustandFeatureConfig {
24
24
  /** Maximum number of zustand state changes to keep (default: 200) */
25
25
  maxLogs?: number;
26
26
  }
27
- export declare const createZustandLogFeature: (config?: ZustandFeatureConfig) => DebugFeature<ZustandLogEntry>;
27
+ export declare const createZustandLogFeature: (config?: ZustandFeatureConfig) => DebugFeature<ZustandLogEntry[]>;
28
28
  /** Reset module-level state for testing */
29
29
  export declare function _resetZustandForTesting(): void;
30
30
  export {};
31
- //# sourceMappingURL=ZustandLogFeature.d.ts.map
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/zustand/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAQjE,eAAO,MAAM,aAAa,GAC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,CAAC;CAClB;AAED,eAAO,MAAM,uBAAuB,GAAI,SAAS,oBAAoB,KAAG,YAAY,CAAC,eAAe,EAAE,CAKnG,CAAC;AAEJ,2CAA2C;AAC3C,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C"}
@@ -1,26 +1,26 @@
1
1
  export { DebugToolkit } from './core/DebugToolkit';
2
2
  export { DebugToolkitProvider, useDebugToolkit } from './core/DebugToolkitProvider';
3
- export { DebugView } from './components/DebugView';
4
- export type { DebugViewProps } from './components/DebugView';
5
- export { initializeDebugToolkit } from './initialize';
6
- export type { InitializeOptions, FeatureConfigs } from './initialize';
7
- export { createNetworkFeature } from './features/NetworkFeature';
8
- export type { NetworkFeatureConfig, AxiosInstanceLike } from './features/NetworkFeature';
9
- export { createConsoleLogFeature } from './features/ConsoleLogFeature';
10
- export type { ConsoleFeatureConfig } from './features/ConsoleLogFeature';
11
- export { createZustandLogFeature, zustandLogMiddleware, addZustandLog } from './features/ZustandLogFeature';
12
- export type { ZustandFeatureConfig } from './features/ZustandLogFeature';
13
- export { createNavigationLogFeature, addNavigationLog } from './features/NavigationLogFeature';
14
- export type { NavigationFeatureConfig } from './features/NavigationLogFeature';
15
- export { createTrackFeature, addTrackLog } from './features/TrackFeature';
16
- export type { TrackFeatureConfig, TrackEventData } from './features/TrackFeature';
17
- export { createEnvironmentFeature } from './features/EnvironmentFeature';
18
- export type { EnvironmentFeatureAPI } from './features/EnvironmentFeature';
19
- export { createClipboardFeature } from './features/ClipboardFeature';
20
- export { useNavigationLogger } from './hooks/useNavigationLogger';
3
+ export { DebugView } from './ui/DebugView';
4
+ export type { DebugViewProps } from './ui/DebugView';
5
+ export { initializeDebugToolkit } from './core/initialize';
6
+ export type { InitializeOptions, FeatureConfigs } from './core/initialize';
7
+ export { createNetworkFeature } from './features/network';
8
+ export type { NetworkFeatureConfig } from './features/network';
9
+ export { createConsoleLogFeature } from './features/console';
10
+ export type { ConsoleFeatureConfig } from './features/console';
11
+ export { createZustandLogFeature, zustandLogMiddleware, addZustandLog } from './features/zustand';
12
+ export type { ZustandFeatureConfig } from './features/zustand';
13
+ export { createNavigationLogFeature, addNavigationLog } from './features/navigation';
14
+ export type { NavigationFeatureConfig } from './features/navigation';
15
+ export { createTrackFeature, addTrackLog } from './features/track';
16
+ export type { TrackFeatureConfig, TrackEventData } from './features/track';
17
+ export { createEnvironmentFeature } from './features/environment';
18
+ export type { EnvironmentFeatureAPI } from './features/environment';
19
+ export { createClipboardFeature } from './features/clipboard';
20
+ export { useNavigationLogger } from './features/navigation/useNavigationLogger';
21
21
  export { safeStringify } from './utils/safeStringify';
22
22
  export { copyToComputer, logToComputer, fmt } from './utils/copyToComputer';
23
23
  export type { CopyResult, CopyOptions, CopyMethod } from './utils/copyToComputer';
24
24
  export type { AnyDebugFeature, BuiltInFeatureName, DebugFeature, DebugFeatureRenderProps, NetworkLogEntry, ConsoleLogEntry, ZustandLogEntry, NavigationLogEntry, TrackLogEntry, EnvironmentConfig, EnvironmentState, } from './types';
25
- export { initializeDebugToolkit as default } from './initialize';
25
+ export { initializeDebugToolkit as default } from './core/initialize';
26
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAGtE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,2B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AAa,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAC5E,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGlF,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,sBAAsB,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,11 @@
1
+ export interface EnvironmentConfig {
2
+ id: string;
3
+ label: string;
4
+ host: string;
5
+ color?: string;
6
+ }
7
+ export interface EnvironmentState {
8
+ environments: EnvironmentConfig[];
9
+ currentEnvironmentId: string | null;
10
+ }
11
+ //# sourceMappingURL=environment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../../src/types/environment.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC"}
@@ -0,0 +1,23 @@
1
+ import type { ComponentType } from 'react';
2
+ export type DebugFeatureListener = () => void;
3
+ export type BuiltInFeatureName = 'network' | 'console' | 'zustand' | 'navigation' | 'track' | 'environment' | 'clipboard';
4
+ export interface DebugFeatureRenderProps<TSnapshot = unknown> {
5
+ snapshot: TSnapshot;
6
+ feature: DebugFeature<TSnapshot>;
7
+ }
8
+ export type AnyDebugFeature = DebugFeature<any>;
9
+ export interface DebugFeature<TSnapshot = unknown> {
10
+ name: string;
11
+ label: string;
12
+ setup: () => void;
13
+ getSnapshot: () => TSnapshot;
14
+ clear?: () => void;
15
+ cleanup: () => void;
16
+ subscribe?: (listener: DebugFeatureListener) => () => void;
17
+ renderContent?: ComponentType<DebugFeatureRenderProps<TSnapshot>>;
18
+ badge?: () => {
19
+ label: string;
20
+ color: string;
21
+ } | null;
22
+ }
23
+ //# sourceMappingURL=feature.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../../src/types/feature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,MAAM,MAAM,oBAAoB,GAAG,MAAM,IAAI,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,SAAS,GACT,SAAS,GACT,YAAY,GACZ,OAAO,GACP,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,WAAW,uBAAuB,CAAC,SAAS,GAAG,OAAO;IAC1D,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;CAClC;AAGD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;AAEhD,MAAM,WAAW,YAAY,CAAC,SAAS,GAAG,OAAO;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,WAAW,EAAE,MAAM,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAAoB,KAAK,MAAM,IAAI,CAAC;IAC3D,aAAa,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC;IAClE,KAAK,CAAC,EAAE,MAAM;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CACvD"}