react-native-xenon 0.7.0 → 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 (268) hide show
  1. package/README.md +34 -30
  2. package/lib/commonjs/core/refs.js +33 -0
  3. package/lib/commonjs/core/refs.js.map +1 -0
  4. package/lib/commonjs/core/utils.js +40 -9
  5. package/lib/commonjs/core/utils.js.map +1 -1
  6. package/lib/commonjs/hooks/useNetworkInterceptor.js +14 -15
  7. package/lib/commonjs/hooks/useNetworkInterceptor.js.map +1 -1
  8. package/lib/commonjs/interceptors/FetchInterceptor.js +6 -9
  9. package/lib/commonjs/interceptors/FetchInterceptor.js.map +1 -1
  10. package/lib/commonjs/interceptors/WebSocketInterceptor.js +2 -9
  11. package/lib/commonjs/interceptors/WebSocketInterceptor.js.map +1 -1
  12. package/lib/commonjs/interceptors/XHRInterceptor.js +9 -6
  13. package/lib/commonjs/interceptors/XHRInterceptor.js.map +1 -1
  14. package/lib/commonjs/theme/colors.js +6 -1
  15. package/lib/commonjs/theme/colors.js.map +1 -1
  16. package/lib/commonjs/ui/Xenon.js +45 -40
  17. package/lib/commonjs/ui/Xenon.js.map +1 -1
  18. package/lib/commonjs/ui/components/bubble/Bubble.js +37 -28
  19. package/lib/commonjs/ui/components/bubble/Bubble.js.map +1 -1
  20. package/lib/commonjs/ui/components/common/Divider.js +21 -0
  21. package/lib/commonjs/ui/components/common/Divider.js.map +1 -0
  22. package/lib/commonjs/ui/components/common/Icon.js +25 -0
  23. package/lib/commonjs/ui/components/common/Icon.js.map +1 -0
  24. package/lib/commonjs/ui/components/common/IndexedStack.js +46 -0
  25. package/lib/commonjs/ui/components/common/IndexedStack.js.map +1 -0
  26. package/lib/commonjs/ui/components/common/Touchable.js +22 -0
  27. package/lib/commonjs/ui/components/common/Touchable.js.map +1 -0
  28. package/lib/commonjs/ui/components/details/LogMessageDetails.js +24 -11
  29. package/lib/commonjs/ui/components/details/LogMessageDetails.js.map +1 -1
  30. package/lib/commonjs/ui/components/details/NetworkRequestDetails.js +64 -39
  31. package/lib/commonjs/ui/components/details/NetworkRequestDetails.js.map +1 -1
  32. package/lib/commonjs/ui/components/headers/ConsoleHeader.js +30 -0
  33. package/lib/commonjs/ui/components/headers/ConsoleHeader.js.map +1 -0
  34. package/lib/commonjs/ui/components/headers/DebuggerHeader.js +56 -177
  35. package/lib/commonjs/ui/components/headers/DebuggerHeader.js.map +1 -1
  36. package/lib/commonjs/ui/components/headers/Header.js +34 -0
  37. package/lib/commonjs/ui/components/headers/Header.js.map +1 -0
  38. package/lib/commonjs/ui/components/headers/HeaderComponents.js +111 -0
  39. package/lib/commonjs/ui/components/headers/HeaderComponents.js.map +1 -0
  40. package/lib/commonjs/ui/components/headers/NetworkHeader.js +97 -0
  41. package/lib/commonjs/ui/components/headers/NetworkHeader.js.map +1 -0
  42. package/lib/commonjs/ui/components/index.js +0 -7
  43. package/lib/commonjs/ui/components/index.js.map +1 -1
  44. package/lib/commonjs/ui/components/items/ConsolePanelItem.js +8 -4
  45. package/lib/commonjs/ui/components/items/ConsolePanelItem.js.map +1 -1
  46. package/lib/commonjs/ui/components/items/DebuggerHeaderItem.js +5 -9
  47. package/lib/commonjs/ui/components/items/DebuggerHeaderItem.js.map +1 -1
  48. package/lib/commonjs/ui/components/items/NetworkPanelItem.js +54 -13
  49. package/lib/commonjs/ui/components/items/NetworkPanelItem.js.map +1 -1
  50. package/lib/commonjs/ui/components/items/NetworkRequestDetailsItem.js +19 -18
  51. package/lib/commonjs/ui/components/items/NetworkRequestDetailsItem.js.map +1 -1
  52. package/lib/commonjs/ui/components/panels/ConsolePanel.js +19 -10
  53. package/lib/commonjs/ui/components/panels/ConsolePanel.js.map +1 -1
  54. package/lib/commonjs/ui/components/panels/NetworkPanel.js +18 -13
  55. package/lib/commonjs/ui/components/panels/NetworkPanel.js.map +1 -1
  56. package/lib/commonjs/ui/components/panels/Panel.js +25 -0
  57. package/lib/commonjs/ui/components/panels/Panel.js.map +1 -0
  58. package/lib/module/core/refs.js +33 -0
  59. package/lib/module/core/refs.js.map +1 -0
  60. package/lib/module/core/utils.js +40 -9
  61. package/lib/module/core/utils.js.map +1 -1
  62. package/lib/module/hooks/useNetworkInterceptor.js +14 -15
  63. package/lib/module/hooks/useNetworkInterceptor.js.map +1 -1
  64. package/lib/module/interceptors/FetchInterceptor.js +6 -9
  65. package/lib/module/interceptors/FetchInterceptor.js.map +1 -1
  66. package/lib/module/interceptors/WebSocketInterceptor.js +2 -9
  67. package/lib/module/interceptors/WebSocketInterceptor.js.map +1 -1
  68. package/lib/module/interceptors/XHRInterceptor.js +9 -6
  69. package/lib/module/interceptors/XHRInterceptor.js.map +1 -1
  70. package/lib/module/theme/colors.js +6 -1
  71. package/lib/module/theme/colors.js.map +1 -1
  72. package/lib/module/ui/Xenon.js +45 -40
  73. package/lib/module/ui/Xenon.js.map +1 -1
  74. package/lib/module/ui/components/bubble/Bubble.js +37 -28
  75. package/lib/module/ui/components/bubble/Bubble.js.map +1 -1
  76. package/lib/module/ui/components/common/Divider.js +21 -0
  77. package/lib/module/ui/components/common/Divider.js.map +1 -0
  78. package/lib/module/ui/components/common/Icon.js +25 -0
  79. package/lib/module/ui/components/common/Icon.js.map +1 -0
  80. package/lib/module/ui/components/common/IndexedStack.js +46 -0
  81. package/lib/module/ui/components/common/IndexedStack.js.map +1 -0
  82. package/lib/module/ui/components/common/Touchable.js +22 -0
  83. package/lib/module/ui/components/common/Touchable.js.map +1 -0
  84. package/lib/module/ui/components/details/LogMessageDetails.js +24 -11
  85. package/lib/module/ui/components/details/LogMessageDetails.js.map +1 -1
  86. package/lib/module/ui/components/details/NetworkRequestDetails.js +64 -39
  87. package/lib/module/ui/components/details/NetworkRequestDetails.js.map +1 -1
  88. package/lib/module/ui/components/headers/ConsoleHeader.js +30 -0
  89. package/lib/module/ui/components/headers/ConsoleHeader.js.map +1 -0
  90. package/lib/module/ui/components/headers/DebuggerHeader.js +56 -177
  91. package/lib/module/ui/components/headers/DebuggerHeader.js.map +1 -1
  92. package/lib/module/ui/components/headers/Header.js +34 -0
  93. package/lib/module/ui/components/headers/Header.js.map +1 -0
  94. package/lib/module/ui/components/headers/HeaderComponents.js +111 -0
  95. package/lib/module/ui/components/headers/HeaderComponents.js.map +1 -0
  96. package/lib/module/ui/components/headers/NetworkHeader.js +97 -0
  97. package/lib/module/ui/components/headers/NetworkHeader.js.map +1 -0
  98. package/lib/module/ui/components/index.js +0 -7
  99. package/lib/module/ui/components/index.js.map +1 -1
  100. package/lib/module/ui/components/items/ConsolePanelItem.js +8 -4
  101. package/lib/module/ui/components/items/ConsolePanelItem.js.map +1 -1
  102. package/lib/module/ui/components/items/DebuggerHeaderItem.js +5 -9
  103. package/lib/module/ui/components/items/DebuggerHeaderItem.js.map +1 -1
  104. package/lib/module/ui/components/items/NetworkPanelItem.js +54 -13
  105. package/lib/module/ui/components/items/NetworkPanelItem.js.map +1 -1
  106. package/lib/module/ui/components/items/NetworkRequestDetailsItem.js +19 -18
  107. package/lib/module/ui/components/items/NetworkRequestDetailsItem.js.map +1 -1
  108. package/lib/module/ui/components/panels/ConsolePanel.js +19 -10
  109. package/lib/module/ui/components/panels/ConsolePanel.js.map +1 -1
  110. package/lib/module/ui/components/panels/NetworkPanel.js +18 -13
  111. package/lib/module/ui/components/panels/NetworkPanel.js.map +1 -1
  112. package/lib/module/ui/components/panels/Panel.js +25 -0
  113. package/lib/module/ui/components/panels/Panel.js.map +1 -0
  114. package/lib/typescript/commonjs/src/core/refs.d.ts +24 -0
  115. package/lib/typescript/commonjs/src/core/refs.d.ts.map +1 -0
  116. package/lib/typescript/commonjs/src/core/utils.d.ts +13 -5
  117. package/lib/typescript/commonjs/src/core/utils.d.ts.map +1 -1
  118. package/lib/typescript/commonjs/src/hooks/useNetworkInterceptor.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/src/interceptors/FetchInterceptor.d.ts.map +1 -1
  120. package/lib/typescript/commonjs/src/interceptors/WebSocketInterceptor.d.ts +0 -1
  121. package/lib/typescript/commonjs/src/interceptors/WebSocketInterceptor.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/src/interceptors/XHRInterceptor.d.ts.map +1 -1
  123. package/lib/typescript/commonjs/src/theme/colors.d.ts +5 -0
  124. package/lib/typescript/commonjs/src/theme/colors.d.ts.map +1 -1
  125. package/lib/typescript/commonjs/src/types/common.d.ts +2 -3
  126. package/lib/typescript/commonjs/src/types/common.d.ts.map +1 -1
  127. package/lib/typescript/commonjs/src/types/http.d.ts +5 -6
  128. package/lib/typescript/commonjs/src/types/http.d.ts.map +1 -1
  129. package/lib/typescript/commonjs/src/types/websocket.d.ts +2 -2
  130. package/lib/typescript/commonjs/src/types/websocket.d.ts.map +1 -1
  131. package/lib/typescript/commonjs/src/ui/Xenon.d.ts +5 -2
  132. package/lib/typescript/commonjs/src/ui/Xenon.d.ts.map +1 -1
  133. package/lib/typescript/commonjs/src/ui/components/bubble/Bubble.d.ts +4 -5
  134. package/lib/typescript/commonjs/src/ui/components/bubble/Bubble.d.ts.map +1 -1
  135. package/lib/typescript/commonjs/src/ui/components/common/Divider.d.ts +4 -0
  136. package/lib/typescript/commonjs/src/ui/components/common/Divider.d.ts.map +1 -0
  137. package/lib/typescript/commonjs/src/ui/components/common/Icon.d.ts +8 -0
  138. package/lib/typescript/commonjs/src/ui/components/common/Icon.d.ts.map +1 -0
  139. package/lib/typescript/commonjs/src/ui/components/common/IndexedStack.d.ts +13 -0
  140. package/lib/typescript/commonjs/src/ui/components/common/IndexedStack.d.ts.map +1 -0
  141. package/lib/typescript/commonjs/src/ui/components/common/Touchable.d.ts +10 -0
  142. package/lib/typescript/commonjs/src/ui/components/common/Touchable.d.ts.map +1 -0
  143. package/lib/typescript/commonjs/src/ui/components/details/LogMessageDetails.d.ts +5 -6
  144. package/lib/typescript/commonjs/src/ui/components/details/LogMessageDetails.d.ts.map +1 -1
  145. package/lib/typescript/commonjs/src/ui/components/details/NetworkRequestDetails.d.ts +5 -6
  146. package/lib/typescript/commonjs/src/ui/components/details/NetworkRequestDetails.d.ts.map +1 -1
  147. package/lib/typescript/commonjs/src/ui/components/headers/ConsoleHeader.d.ts +9 -0
  148. package/lib/typescript/commonjs/src/ui/components/headers/ConsoleHeader.d.ts.map +1 -0
  149. package/lib/typescript/commonjs/src/ui/components/headers/DebuggerHeader.d.ts +9 -1
  150. package/lib/typescript/commonjs/src/ui/components/headers/DebuggerHeader.d.ts.map +1 -1
  151. package/lib/typescript/commonjs/src/ui/components/headers/Header.d.ts +3 -0
  152. package/lib/typescript/commonjs/src/ui/components/headers/Header.d.ts.map +1 -0
  153. package/lib/typescript/commonjs/src/ui/components/headers/HeaderComponents.d.ts +20 -0
  154. package/lib/typescript/commonjs/src/ui/components/headers/HeaderComponents.d.ts.map +1 -0
  155. package/lib/typescript/commonjs/src/ui/components/headers/NetworkHeader.d.ts +9 -0
  156. package/lib/typescript/commonjs/src/ui/components/headers/NetworkHeader.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/src/ui/components/index.d.ts +0 -1
  158. package/lib/typescript/commonjs/src/ui/components/index.d.ts.map +1 -1
  159. package/lib/typescript/commonjs/src/ui/components/items/ConsolePanelItem.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/src/ui/components/items/DebuggerHeaderItem.d.ts.map +1 -1
  161. package/lib/typescript/commonjs/src/ui/components/items/NetworkPanelItem.d.ts +3 -2
  162. package/lib/typescript/commonjs/src/ui/components/items/NetworkPanelItem.d.ts.map +1 -1
  163. package/lib/typescript/commonjs/src/ui/components/items/NetworkRequestDetailsItem.d.ts +4 -5
  164. package/lib/typescript/commonjs/src/ui/components/items/NetworkRequestDetailsItem.d.ts.map +1 -1
  165. package/lib/typescript/commonjs/src/ui/components/panels/ConsolePanel.d.ts +5 -1
  166. package/lib/typescript/commonjs/src/ui/components/panels/ConsolePanel.d.ts.map +1 -1
  167. package/lib/typescript/commonjs/src/ui/components/panels/NetworkPanel.d.ts +5 -1
  168. package/lib/typescript/commonjs/src/ui/components/panels/NetworkPanel.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/src/ui/components/panels/Panel.d.ts +2 -0
  170. package/lib/typescript/commonjs/src/ui/components/panels/Panel.d.ts.map +1 -0
  171. package/lib/typescript/module/src/core/refs.d.ts +24 -0
  172. package/lib/typescript/module/src/core/refs.d.ts.map +1 -0
  173. package/lib/typescript/module/src/core/utils.d.ts +13 -5
  174. package/lib/typescript/module/src/core/utils.d.ts.map +1 -1
  175. package/lib/typescript/module/src/hooks/useNetworkInterceptor.d.ts.map +1 -1
  176. package/lib/typescript/module/src/interceptors/FetchInterceptor.d.ts.map +1 -1
  177. package/lib/typescript/module/src/interceptors/WebSocketInterceptor.d.ts +0 -1
  178. package/lib/typescript/module/src/interceptors/WebSocketInterceptor.d.ts.map +1 -1
  179. package/lib/typescript/module/src/interceptors/XHRInterceptor.d.ts.map +1 -1
  180. package/lib/typescript/module/src/theme/colors.d.ts +5 -0
  181. package/lib/typescript/module/src/theme/colors.d.ts.map +1 -1
  182. package/lib/typescript/module/src/types/common.d.ts +2 -3
  183. package/lib/typescript/module/src/types/common.d.ts.map +1 -1
  184. package/lib/typescript/module/src/types/http.d.ts +5 -6
  185. package/lib/typescript/module/src/types/http.d.ts.map +1 -1
  186. package/lib/typescript/module/src/types/websocket.d.ts +2 -2
  187. package/lib/typescript/module/src/types/websocket.d.ts.map +1 -1
  188. package/lib/typescript/module/src/ui/Xenon.d.ts +5 -2
  189. package/lib/typescript/module/src/ui/Xenon.d.ts.map +1 -1
  190. package/lib/typescript/module/src/ui/components/bubble/Bubble.d.ts +4 -5
  191. package/lib/typescript/module/src/ui/components/bubble/Bubble.d.ts.map +1 -1
  192. package/lib/typescript/module/src/ui/components/common/Divider.d.ts +4 -0
  193. package/lib/typescript/module/src/ui/components/common/Divider.d.ts.map +1 -0
  194. package/lib/typescript/module/src/ui/components/common/Icon.d.ts +8 -0
  195. package/lib/typescript/module/src/ui/components/common/Icon.d.ts.map +1 -0
  196. package/lib/typescript/module/src/ui/components/common/IndexedStack.d.ts +13 -0
  197. package/lib/typescript/module/src/ui/components/common/IndexedStack.d.ts.map +1 -0
  198. package/lib/typescript/module/src/ui/components/common/Touchable.d.ts +10 -0
  199. package/lib/typescript/module/src/ui/components/common/Touchable.d.ts.map +1 -0
  200. package/lib/typescript/module/src/ui/components/details/LogMessageDetails.d.ts +5 -6
  201. package/lib/typescript/module/src/ui/components/details/LogMessageDetails.d.ts.map +1 -1
  202. package/lib/typescript/module/src/ui/components/details/NetworkRequestDetails.d.ts +5 -6
  203. package/lib/typescript/module/src/ui/components/details/NetworkRequestDetails.d.ts.map +1 -1
  204. package/lib/typescript/module/src/ui/components/headers/ConsoleHeader.d.ts +9 -0
  205. package/lib/typescript/module/src/ui/components/headers/ConsoleHeader.d.ts.map +1 -0
  206. package/lib/typescript/module/src/ui/components/headers/DebuggerHeader.d.ts +9 -1
  207. package/lib/typescript/module/src/ui/components/headers/DebuggerHeader.d.ts.map +1 -1
  208. package/lib/typescript/module/src/ui/components/headers/Header.d.ts +3 -0
  209. package/lib/typescript/module/src/ui/components/headers/Header.d.ts.map +1 -0
  210. package/lib/typescript/module/src/ui/components/headers/HeaderComponents.d.ts +20 -0
  211. package/lib/typescript/module/src/ui/components/headers/HeaderComponents.d.ts.map +1 -0
  212. package/lib/typescript/module/src/ui/components/headers/NetworkHeader.d.ts +9 -0
  213. package/lib/typescript/module/src/ui/components/headers/NetworkHeader.d.ts.map +1 -0
  214. package/lib/typescript/module/src/ui/components/index.d.ts +0 -1
  215. package/lib/typescript/module/src/ui/components/index.d.ts.map +1 -1
  216. package/lib/typescript/module/src/ui/components/items/ConsolePanelItem.d.ts.map +1 -1
  217. package/lib/typescript/module/src/ui/components/items/DebuggerHeaderItem.d.ts.map +1 -1
  218. package/lib/typescript/module/src/ui/components/items/NetworkPanelItem.d.ts +3 -2
  219. package/lib/typescript/module/src/ui/components/items/NetworkPanelItem.d.ts.map +1 -1
  220. package/lib/typescript/module/src/ui/components/items/NetworkRequestDetailsItem.d.ts +4 -5
  221. package/lib/typescript/module/src/ui/components/items/NetworkRequestDetailsItem.d.ts.map +1 -1
  222. package/lib/typescript/module/src/ui/components/panels/ConsolePanel.d.ts +5 -1
  223. package/lib/typescript/module/src/ui/components/panels/ConsolePanel.d.ts.map +1 -1
  224. package/lib/typescript/module/src/ui/components/panels/NetworkPanel.d.ts +5 -1
  225. package/lib/typescript/module/src/ui/components/panels/NetworkPanel.d.ts.map +1 -1
  226. package/lib/typescript/module/src/ui/components/panels/Panel.d.ts +2 -0
  227. package/lib/typescript/module/src/ui/components/panels/Panel.d.ts.map +1 -0
  228. package/package.json +4 -4
  229. package/src/core/refs.ts +29 -0
  230. package/src/core/utils.ts +45 -14
  231. package/src/hooks/useNetworkInterceptor.ts +20 -27
  232. package/src/interceptors/FetchInterceptor.ts +7 -20
  233. package/src/interceptors/WebSocketInterceptor.ts +2 -11
  234. package/src/interceptors/XHRInterceptor.ts +13 -8
  235. package/src/theme/colors.ts +5 -0
  236. package/src/types/common.ts +2 -3
  237. package/src/types/http.ts +5 -6
  238. package/src/types/websocket.ts +2 -1
  239. package/src/ui/Xenon.tsx +38 -41
  240. package/src/ui/components/bubble/Bubble.tsx +101 -97
  241. package/src/ui/components/common/Divider.tsx +13 -0
  242. package/src/ui/components/common/Icon.tsx +12 -0
  243. package/src/ui/components/common/IndexedStack.tsx +62 -0
  244. package/src/ui/components/common/Touchable.tsx +21 -0
  245. package/src/ui/components/details/LogMessageDetails.tsx +31 -16
  246. package/src/ui/components/details/NetworkRequestDetails.tsx +143 -124
  247. package/src/ui/components/headers/ConsoleHeader.tsx +25 -0
  248. package/src/ui/components/headers/DebuggerHeader.tsx +28 -195
  249. package/src/ui/components/headers/Header.tsx +22 -0
  250. package/src/ui/components/headers/HeaderComponents.tsx +100 -0
  251. package/src/ui/components/headers/NetworkHeader.tsx +85 -0
  252. package/src/ui/components/index.ts +0 -1
  253. package/src/ui/components/items/ConsolePanelItem.tsx +11 -6
  254. package/src/ui/components/items/DebuggerHeaderItem.tsx +6 -10
  255. package/src/ui/components/items/NetworkPanelItem.tsx +64 -15
  256. package/src/ui/components/items/NetworkRequestDetailsItem.tsx +26 -21
  257. package/src/ui/components/panels/ConsolePanel.tsx +23 -10
  258. package/src/ui/components/panels/NetworkPanel.tsx +21 -14
  259. package/src/ui/components/panels/Panel.tsx +17 -0
  260. package/lib/commonjs/ui/components/details/DetailsViewer.js +0 -32
  261. package/lib/commonjs/ui/components/details/DetailsViewer.js.map +0 -1
  262. package/lib/module/ui/components/details/DetailsViewer.js +0 -32
  263. package/lib/module/ui/components/details/DetailsViewer.js.map +0 -1
  264. package/lib/typescript/commonjs/src/ui/components/details/DetailsViewer.d.ts +0 -2
  265. package/lib/typescript/commonjs/src/ui/components/details/DetailsViewer.d.ts.map +0 -1
  266. package/lib/typescript/module/src/ui/components/details/DetailsViewer.d.ts +0 -2
  267. package/lib/typescript/module/src/ui/components/details/DetailsViewer.d.ts.map +0 -1
  268. package/src/ui/components/details/DetailsViewer.tsx +0 -19
@@ -1,6 +1,14 @@
1
1
  import { URL } from 'react-native-url-polyfill';
2
- import { type HttpRequest, type WebSocketRequest } from '../types';
3
- export declare const getNetworkUtils: (data: HttpRequest | WebSocketRequest) => {
2
+ import { type HttpRequest, type LogMessage, type WebSocketRequest } from '../types';
3
+ export declare const getNetworkUtils: (data?: HttpRequest | WebSocketRequest) => {
4
+ isHttp?: undefined;
5
+ requestUrl?: undefined;
6
+ overviewShown?: undefined;
7
+ headersShown?: undefined;
8
+ requestShown?: undefined;
9
+ responseShown?: undefined;
10
+ messagesShown?: undefined;
11
+ } | {
4
12
  isHttp: boolean;
5
13
  requestUrl: URL;
6
14
  overviewShown: boolean;
@@ -9,15 +17,15 @@ export declare const getNetworkUtils: (data: HttpRequest | WebSocketRequest) =>
9
17
  responseShown: boolean;
10
18
  messagesShown: boolean;
11
19
  };
20
+ export declare const getConsoleTypeColor: (type: LogMessage["type"]) => string;
12
21
  export declare const getVerticalSafeMargin: (screenHeight: number) => number;
13
22
  export declare const clamp: (value: number, min: number, max: number) => number;
14
23
  export declare const getHttpInterceptorId: () => string;
15
- export declare const limitChar: (value: any, limit?: number) => string;
16
24
  export declare const keyValueToString: (key: string, value: any, newLine?: "leading" | "trailing" | null) => string;
17
25
  export declare const formatRequestMethod: (method?: string) => string;
18
- export declare const formatRequestDuration: (duration?: number) => string;
26
+ export declare const formatRequestDuration: (startTime?: number, endTime?: number) => string;
19
27
  export declare const formatRequestStatusCode: (statusCode?: number) => string;
20
- export declare const formatLogMessage: (type: string, values: any[]) => string;
28
+ export declare const formatLogMessage: (values: any[]) => any;
21
29
  export declare const beautify: (data: any, beautified: boolean) => string;
22
30
  export declare const convertToCurl: (method: HttpRequest["method"], url: HttpRequest["url"], headers: HttpRequest["requestHeaders"], body: HttpRequest["body"]) => string;
23
31
  export declare function frozen(_target: Object): void;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/core/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAe,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEhF,eAAO,MAAM,eAAe,SAAU,WAAW,GAAG,gBAAgB;;;;;;;;CAmBnE,CAAC;AAGF,eAAO,MAAM,qBAAqB,iBAAkB,MAAM,WAAqB,CAAC;AAEhF,eAAO,MAAM,KAAK,UAAW,MAAM,OAAO,MAAM,OAAO,MAAM,WACxB,CAAC;AAEtC,eAAO,MAAM,oBAAoB,cAIhC,CAAC;AAIF,eAAO,MAAM,SAAS,UAAW,GAAG,2BAMnC,CAAC;AAEF,eAAO,MAAM,gBAAgB,QACtB,MAAM,SACJ,GAAG,YACD,SAAS,GAAG,UAAU,GAAG,IAAI,KACrC,MACqG,CAAC;AAEzG,eAAO,MAAM,mBAAmB,YAAa,MAAM,WAAoB,CAAC;AAExE,eAAO,MAAM,qBAAqB,cAAe,MAAM,WACf,CAAC;AAEzC,eAAO,MAAM,uBAAuB,gBAAiB,MAAM,WAAiC,CAAC;AAE7F,eAAO,MAAM,gBAAgB,SAAU,MAAM,UAAU,GAAG,EAAE,WAO3D,CAAC;AAEF,eAAO,MAAM,QAAQ,SAAU,GAAG,cAAc,OAAO,WAOtD,CAAC;AAEF,eAAO,MAAM,aAAa,WAChB,WAAW,CAAC,QAAQ,CAAC,OACxB,WAAW,CAAC,KAAK,CAAC,WACd,WAAW,CAAC,gBAAgB,CAAC,QAChC,WAAW,CAAC,MAAM,CAAC,WAgB1B,CAAC;AAIF,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,QAIrC;AAED,wBAAgB,SAAS,CAAC,CAAC,SAAS;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;CAAE,EAAE,WAAW,EAAE,CAAC;kBAIvD,GAAG,EAAE;;MAS7B"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/core/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAe,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,KAAK,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAGjG,eAAO,MAAM,eAAe,UAAW,WAAW,GAAG,gBAAgB;;;;;;;;;;;;;;;;CAuBpE,CAAC;AAKF,eAAO,MAAM,mBAAmB,SAAU,UAAU,CAAC,MAAM,CAAC,WAsB3D,CAAC;AAGF,eAAO,MAAM,qBAAqB,iBAAkB,MAAM,WAAqB,CAAC;AAEhF,eAAO,MAAM,KAAK,UAAW,MAAM,OAAO,MAAM,OAAO,MAAM,WACxB,CAAC;AAEtC,eAAO,MAAM,oBAAoB,cAIhC,CAAC;AAYF,eAAO,MAAM,gBAAgB,QACtB,MAAM,SACJ,GAAG,YACD,SAAS,GAAG,UAAU,GAAG,IAAI,KACrC,MACqG,CAAC;AAEzG,eAAO,MAAM,mBAAmB,YAAa,MAAM,WAAoB,CAAC;AAExE,eAAO,MAAM,qBAAqB,eAAgB,MAAM,YAAY,MAAM,WAGzE,CAAC;AAEF,eAAO,MAAM,uBAAuB,gBAAiB,MAAM,WAAiC,CAAC;AAE7F,eAAO,MAAM,gBAAgB,WAAY,GAAG,EAAE,QAE7C,CAAC;AAEF,eAAO,MAAM,QAAQ,SAAU,GAAG,cAAc,OAAO,WAStD,CAAC;AAEF,eAAO,MAAM,aAAa,WAChB,WAAW,CAAC,QAAQ,CAAC,OACxB,WAAW,CAAC,KAAK,CAAC,WACd,WAAW,CAAC,gBAAgB,CAAC,QAChC,WAAW,CAAC,MAAM,CAAC,WAgB1B,CAAC;AAIF,wBAAgB,MAAM,CAAC,OAAO,EAAE,MAAM,QAIrC;AAED,wBAAgB,SAAS,CAAC,CAAC,SAAS;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;CAAE,EAAE,WAAW,EAAE,CAAC;kBAIvD,GAAG,EAAE;;MAS7B"}
@@ -1 +1 @@
1
- {"version":3,"file":"useNetworkInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useNetworkInterceptor.ts"],"names":[],"mappings":"AAcA,UAAU,wBAAwB;IAChC,WAAW,EAAE,OAAO,CAAC;CACtB;AAUD,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAAE,WAAW,EAAE,EAAE,wBAAwB;;;;;;EA4PtF"}
1
+ {"version":3,"file":"useNetworkInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useNetworkInterceptor.ts"],"names":[],"mappings":"AAcA,UAAU,wBAAwB;IAChC,WAAW,EAAE,OAAO,CAAC;CACtB;AAUD,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAAE,WAAW,EAAE,EAAE,wBAAwB;;;;;;EAqPtF"}
@@ -1 +1 @@
1
- {"version":3,"file":"FetchInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/interceptors/FetchInterceptor.ts"],"names":[],"mappings":"AASA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAKhD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,eAAe;IAE3D,kBAAkB;IAmHlB,mBAAmB;CASpB"}
1
+ {"version":3,"file":"FetchInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/interceptors/FetchInterceptor.ts"],"names":[],"mappings":"AAGA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAKhD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,eAAe;IAE3D,kBAAkB;IA4GlB,mBAAmB;CASpB"}
@@ -4,7 +4,6 @@ export default class WebSocketInterceptor extends NetworkInterceptor<WebSocketHa
4
4
  protected handlers: WebSocketHandlers;
5
5
  private eventEmitter;
6
6
  private subscriptions;
7
- private readonly startTimes;
8
7
  private arrayBufferToString;
9
8
  private registerEvents;
10
9
  private unregisterEvents;
@@ -1 +1 @@
1
- {"version":3,"file":"WebSocketInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/interceptors/WebSocketInterceptor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IACrF,SAAS,CAAC,QAAQ,EAAE,iBAAiB,CAQnC;IAEF,OAAO,CAAC,YAAY,CAAmC;IACvD,OAAO,CAAC,aAAa,CAA6B;IAClD,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAkC;IAE7D,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,cAAc;IA2BtB,OAAO,CAAC,gBAAgB;IAOxB,kBAAkB,IAAI,IAAI;IAyC1B,mBAAmB,IAAI,IAAI;CAc5B"}
1
+ {"version":3,"file":"WebSocketInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/interceptors/WebSocketInterceptor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ1D,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,kBAAkB,CAAC,iBAAiB,CAAC;IACrF,SAAS,CAAC,QAAQ,EAAE,iBAAiB,CAQnC;IAEF,OAAO,CAAC,YAAY,CAAmC;IACvD,OAAO,CAAC,aAAa,CAA6B;IAElD,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,cAAc;IAsBtB,OAAO,CAAC,gBAAgB;IAOxB,kBAAkB,IAAI,IAAI;IAsC1B,mBAAmB,IAAI,IAAI;CAc5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"XHRInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/interceptors/XHRInterceptor.ts"],"names":[],"mappings":"AAEA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAOhD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,eAAe;IAEzD,kBAAkB;IA4ElB,mBAAmB;CAWpB"}
1
+ {"version":3,"file":"XHRInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/interceptors/XHRInterceptor.ts"],"names":[],"mappings":"AAEA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAOhD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,eAAe;IAEzD,kBAAkB;IAiFlB,mBAAmB;CAWpB"}
@@ -2,8 +2,13 @@ declare const colors: Readonly<{
2
2
  black: "#0a0a0a";
3
3
  red: "#ff6467";
4
4
  green: "#05df72";
5
+ blue: "#51a2ff";
6
+ yellow: "#fcc800";
7
+ cyan: "#00d3f2";
8
+ purple: "#a684ff";
5
9
  gray: "#a1a1a1";
6
10
  lightGray: "#e5e5e5";
11
+ white: "#ffffff";
7
12
  }>;
8
13
  export default colors;
9
14
  //# sourceMappingURL=colors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/theme/colors.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;;;;;EAMV,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../../src/theme/colors.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,MAAM;;;;;;;;;;;EAWV,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -12,13 +12,12 @@ export type ID = string | undefined;
12
12
  export interface NetworkRequest {
13
13
  url: string;
14
14
  status?: number;
15
- duration?: number;
15
+ startTime?: number;
16
+ endTime?: number;
16
17
  }
17
18
  export type DetailTab = 'overview' | 'headers' | 'request' | 'response' | 'messages' | 'logMessage';
18
19
  export interface DebuggerState {
19
- visibility: 'hidden' | 'bubble' | 'panel';
20
20
  position: 'top' | 'bottom';
21
- selectedPanel: DebuggerPanel | null;
22
21
  detailsData: {
23
22
  type: DebuggerPanel.Network;
24
23
  data: HttpRequest | WebSocketRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAEnE,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,EAAE,OAAO;CACV;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;AAEpC,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,CAAC;AAEpG,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC1C,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IACpC,WAAW,EACP;QACE,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,WAAW,GAAG,gBAAgB,CAAC;QACrC,WAAW,EAAE,OAAO,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QAC9C,UAAU,EAAE,OAAO,CAAC;KACrB,GACD;QACE,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,UAAU,CAAC;QACjB,WAAW,EAAE,OAAO,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QAC9C,UAAU,EAAE,OAAO,CAAC;KACrB,GACD,IAAI,CAAC;CACV"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,GAAG,CAAC;AAEnE,oBAAY,WAAW;IACrB,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,EAAE,OAAO;CACV;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAED,MAAM,MAAM,EAAE,GAAG,MAAM,GAAG,SAAS,CAAC;AAEpC,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,YAAY,CAAC;AAEpG,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,WAAW,EACP;QACE,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,WAAW,GAAG,gBAAgB,CAAC;QACrC,WAAW,EAAE,OAAO,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QAC9C,UAAU,EAAE,OAAO,CAAC;KACrB,GACD;QACE,IAAI,EAAE,aAAa,CAAC,OAAO,CAAC;QAC5B,IAAI,EAAE,UAAU,CAAC;QACjB,WAAW,EAAE,OAAO,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;QAC9C,UAAU,EAAE,OAAO,CAAC;KACrB,GACD,IAAI,CAAC;CACV"}
@@ -2,12 +2,11 @@ import type { ID, NetworkRequest, NetworkType } from './common';
2
2
  export interface HttpRequest extends NetworkRequest {
3
3
  type: NetworkType.Fetch | NetworkType.XHR;
4
4
  method: string;
5
- requestHeaders?: Record<string, string>;
6
- requestHeadersString?: string;
5
+ requestHeaders?: Map<string, string>;
7
6
  body?: any;
8
7
  responseContentType?: string;
9
8
  responseSize?: number;
10
- responseHeaders?: string;
9
+ responseHeaders?: Map<string, string>;
11
10
  timeout?: number;
12
11
  response?: any;
13
12
  responseType?: string;
@@ -15,8 +14,8 @@ export interface HttpRequest extends NetworkRequest {
15
14
  export interface HttpHandlers {
16
15
  open: ((id: ID, type: HttpRequest['type'], method: string, url: string) => void) | null;
17
16
  requestHeader: ((id: ID, header: string, value: string) => void) | null;
18
- send: ((id: ID, data?: any) => void) | null;
19
- headerReceived: ((id: ID, responseContentType: string | undefined, responseSize: number | undefined, responseHeaders: string) => void) | null;
20
- response: ((id: ID, status: number | undefined, timeout: number | undefined, duration: number, response: any, responseURL: string | undefined, responseType: string | undefined) => void) | null;
17
+ send: ((id: ID, startTime: number, data?: any) => void) | null;
18
+ headerReceived: ((id: ID, responseContentType: string | undefined, responseSize: number | undefined, responseHeaders: HttpRequest['responseHeaders']) => void) | null;
19
+ response: ((id: ID, status: number | undefined, timeout: number | undefined, endTime: number, response: any, responseURL: string | undefined, responseType: string | undefined) => void) | null;
21
20
  }
22
21
  //# sourceMappingURL=http.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../../src/types/http.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEhE,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,IAAI,EAAE,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACxF,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACxE,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAC5C,cAAc,EACV,CAAC,CACC,EAAE,EAAE,EAAE,EACN,mBAAmB,EAAE,MAAM,GAAG,SAAS,EACvC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,eAAe,EAAE,MAAM,KACpB,IAAI,CAAC,GACV,IAAI,CAAC;IACT,QAAQ,EACJ,CAAC,CACC,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,GAAG,EACb,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS,KAC7B,IAAI,CAAC,GACV,IAAI,CAAC;CACV"}
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../../src/types/http.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEhE,MAAM,WAAW,WAAY,SAAQ,cAAc;IACjD,IAAI,EAAE,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACxF,aAAa,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACxE,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAC/D,cAAc,EACV,CAAC,CACC,EAAE,EAAE,EAAE,EACN,mBAAmB,EAAE,MAAM,GAAG,SAAS,EACvC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAAC,KAC5C,IAAI,CAAC,GACV,IAAI,CAAC;IACT,QAAQ,EACJ,CAAC,CACC,EAAE,EAAE,EAAE,EACN,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,GAAG,EACb,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,YAAY,EAAE,MAAM,GAAG,SAAS,KAC7B,IAAI,CAAC,GACV,IAAI,CAAC;CACV"}
@@ -19,10 +19,10 @@ export interface WebSocketRequest extends NetworkRequest {
19
19
  };
20
20
  }
21
21
  export interface WebSocketHandlers {
22
- connect: ((url: string, protocols?: WebSocketRequest['protocols'], options?: WebSocketRequest['options'], socketId?: number) => void) | null;
22
+ connect: ((startTime: number, url: string, protocols?: WebSocketRequest['protocols'], options?: WebSocketRequest['options'], socketId?: number) => void) | null;
23
23
  send: ((data: string, socketId: number) => void) | null;
24
24
  close: ((code: number, reason: string, socketId: number) => void) | null;
25
- onOpen: ((socketId: number, duration: number) => void) | null;
25
+ onOpen: ((socketId: number, endTime: number) => void) | null;
26
26
  onMessage: ((socketId: number, message: any) => void) | null;
27
27
  onError: ((socketId: number, error: WebSocketRequest['serverError']) => void) | null;
28
28
  onClose: ((socketId: number, data: WebSocketRequest['serverClose']) => void) | null;
@@ -1 +1 @@
1
- {"version":3,"file":"websocket.d.ts","sourceRoot":"","sources":["../../../../../src/types/websocket.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,IAAI,EAAE,WAAW,CAAC,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE;QACR,OAAO,EAAE;YAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAC1C,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,CAAC;KAC3B,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACnC,WAAW,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAClD;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EACH,CAAC,CACC,GAAG,EAAE,MAAM,EACX,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,EACzC,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,EACrC,QAAQ,CAAC,EAAE,MAAM,KACd,IAAI,CAAC,GACV,IAAI,CAAC;IACT,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACxD,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACzE,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAC9D,SAAS,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7D,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACrF,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;CACrF"}
1
+ {"version":3,"file":"websocket.d.ts","sourceRoot":"","sources":["../../../../../src/types/websocket.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,WAAW,gBAAiB,SAAQ,cAAc;IACtD,IAAI,EAAE,WAAW,CAAC,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE;QACR,OAAO,EAAE;YAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QAC1C,CAAC,UAAU,EAAE,MAAM,GAAG,GAAG,CAAC;KAC3B,CAAC;IACF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACnC,WAAW,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAClD;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EACH,CAAC,CACC,SAAS,EAAE,MAAM,EACjB,GAAG,EAAE,MAAM,EACX,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,EACzC,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,EACrC,QAAQ,CAAC,EAAE,MAAM,KACd,IAAI,CAAC,GACV,IAAI,CAAC;IACT,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACxD,KAAK,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACzE,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7D,SAAS,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IAC7D,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;IACrF,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC;CACrF"}
@@ -1,15 +1,18 @@
1
+ import { type ReactNode } from 'react';
1
2
  declare namespace Xenon {
2
3
  interface Props {
4
+ disabled?: boolean;
3
5
  autoInspectNetworkEnabled?: boolean;
4
6
  autoInspectConsoleEnabled?: boolean;
5
7
  bubbleSize?: number;
6
8
  idleBubbleOpacity?: number;
9
+ children?: ReactNode;
7
10
  }
8
11
  export const isVisible: () => boolean;
9
12
  export const show: () => void;
10
13
  export const hide: () => void;
11
- export function Component(props: Props): import("react/jsx-runtime").JSX.Element;
12
- export namespace Component {
14
+ export function Wrapper({ disabled, children, ...props }: Props): string | number | boolean | Iterable<ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
15
+ export namespace Wrapper {
13
16
  var displayName: string;
14
17
  }
15
18
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Xenon.d.ts","sourceRoot":"","sources":["../../../../../src/ui/Xenon.tsx"],"names":[],"mappings":"AAaA,kBAAU,KAAK,CAAC;IAOd,UAAU,KAAK;QACb,yBAAyB,CAAC,EAAE,OAAO,CAAC;QACpC,yBAAyB,CAAC,EAAE,OAAO,CAAC;QACpC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;KAC5B;IAsBD,MAAM,CAAC,MAAM,SAAS,eAA0C,CAAC;IACjE,MAAM,CAAC,MAAM,IAAI,QAAO,IAA2B,CAAC;IACpD,MAAM,CAAC,MAAM,IAAI,QAAO,IAA2B,CAAC;IA2FpD,MAAM,UAAU,SAAS,CAAC,KAAK,EAAE,KAAK,2CAUrC;IAVD,MAAM,WAAU,SAAS;;;;CAa1B;AAED,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Xenon.d.ts","sourceRoot":"","sources":["../../../../../src/ui/Xenon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAetF,kBAAU,KAAK,CAAC;IAOd,UAAU,KAAK;QACb,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,yBAAyB,CAAC,EAAE,OAAO,CAAC;QACpC,yBAAyB,CAAC,EAAE,OAAO,CAAC;QACpC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;QAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;KACtB;IAsBD,MAAM,CAAC,MAAM,SAAS,eAA0C,CAAC;IACjE,MAAM,CAAC,MAAM,IAAI,QAAO,IAA2B,CAAC;IACpD,MAAM,CAAC,MAAM,IAAI,QAAO,IAA2B,CAAC;IA8EpD,MAAM,UAAU,OAAO,CAAC,EAAE,QAAgB,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,gHAetE;IAfD,MAAM,WAAU,OAAO;;;;CAkBxB;AAED,eAAe,KAAK,CAAC"}
@@ -1,12 +1,11 @@
1
- import { type MutableRefObject } from 'react';
2
- import { Animated } from 'react-native';
1
+ import { View, type StyleProp, type ViewStyle } from 'react-native';
3
2
  interface BubbleProps {
4
3
  bubbleSize: number;
5
4
  idleBubbleOpacity: number;
6
- pan: MutableRefObject<Animated.ValueXY>;
7
5
  screenWidth: number;
8
6
  screenHeight: number;
7
+ style?: StyleProp<ViewStyle>;
9
8
  }
10
- export default function Bubble({ bubbleSize, idleBubbleOpacity, pan, screenWidth, screenHeight, }: BubbleProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
9
+ declare const Bubble: import("react").ForwardRefExoticComponent<BubbleProps & import("react").RefAttributes<View>>;
10
+ export default Bubble;
12
11
  //# sourceMappingURL=Bubble.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/bubble/Bubble.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyC,KAAK,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EACL,QAAQ,EAMT,MAAM,cAAc,CAAC;AAMtB,UAAU,WAAW;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,GAAG,EAAE,gBAAgB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,EAC7B,UAAU,EACV,iBAAiB,EACjB,GAAG,EACH,WAAW,EACX,YAAY,GACb,EAAE,WAAW,2CAwFb"}
1
+ {"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/bubble/Bubble.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,IAAI,EAEJ,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAOtB,UAAU,WAAW;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,MAAM,8FA8FX,CAAC;AAgBF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ export default function Divider({ type }: {
2
+ type: 'horizontal' | 'vertical';
3
+ }): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=Divider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/common/Divider.tsx"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,YAAY,GAAG,UAAU,CAAA;CAAE,2CAS5E"}
@@ -0,0 +1,8 @@
1
+ interface IconProps {
2
+ source: any;
3
+ size: number;
4
+ color?: string;
5
+ }
6
+ export default function Icon({ source, size, color }: IconProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=Icon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/common/Icon.tsx"],"names":[],"mappings":"AAGA,UAAU,SAAS;IACjB,MAAM,EAAE,GAAG,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAoB,EAAE,EAAE,SAAS,2CAE7E"}
@@ -0,0 +1,13 @@
1
+ import { type JSX, type RefAttributes } from 'react';
2
+ interface IndexedStackProps<T extends number> {
3
+ children: JSX.Element[];
4
+ id: string;
5
+ defaultIndex: T;
6
+ }
7
+ export type IndexedStackMethods<T extends number> = {
8
+ getCurrentIndex: () => T;
9
+ setCurrentIndex: (index: T) => void;
10
+ };
11
+ declare const IndexedStack: <T extends number>(props: IndexedStackProps<T> & RefAttributes<IndexedStackMethods<T>>) => JSX.Element;
12
+ export default IndexedStack;
13
+ //# sourceMappingURL=IndexedStack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndexedStack.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/common/IndexedStack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,GAAG,EACR,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAGf,UAAU,iBAAiB,CAAC,CAAC,SAAS,MAAM;IAC1C,QAAQ,EAAE,GAAG,CAAC,OAAO,EAAE,CAAC;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC;CACjB;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI;IAClD,eAAe,EAAE,MAAM,CAAC,CAAC;IACzB,eAAe,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CACrC,CAAC;AAoCF,QAAA,MAAM,YAAY,EAAwC,CAAC,CAAC,SAAS,MAAM,EACzE,KAAK,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,KAChE,GAAG,CAAC,OAAO,CAAC;AAEjB,eAAe,YAAY,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type StyleProp, type ViewStyle } from 'react-native';
2
+ interface TouchableProps {
3
+ onPress: () => void;
4
+ children: React.ReactNode;
5
+ activeOpacity?: number;
6
+ style?: StyleProp<ViewStyle>;
7
+ }
8
+ export default function Touchable({ onPress, children, activeOpacity, style, }: TouchableProps): import("react/jsx-runtime").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=Touchable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Touchable.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/common/Touchable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhF,UAAU,cAAc;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAChC,OAAO,EACP,QAAQ,EACR,aAAmB,EACnB,KAAK,GACN,EAAE,cAAc,2CAMhB"}
@@ -1,7 +1,6 @@
1
- import type { LogMessage } from '../../../types';
2
- interface LogMessageDetailsProps {
3
- item: LogMessage;
4
- }
5
- export default function LogMessageDetails({ item }: LogMessageDetailsProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
1
+ import { ScrollView, type StyleProp, type ViewStyle } from 'react-native';
2
+ declare const LogMessageDetails: import("react").ForwardRefExoticComponent<{
3
+ style?: StyleProp<ViewStyle>;
4
+ } & import("react").RefAttributes<ScrollView>>;
5
+ export default LogMessageDetails;
7
6
  //# sourceMappingURL=LogMessageDetails.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LogMessageDetails.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/details/LogMessageDetails.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIjD,UAAU,sBAAsB;IAC9B,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,EAAE,sBAAsB,2CAMzE"}
1
+ {"version":3,"file":"LogMessageDetails.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/details/LogMessageDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO5F,QAAA,MAAM,iBAAiB;YAAoC,SAAS,CAAC,SAAS,CAAC;8CAqB9E,CAAC;AAaF,eAAe,iBAAiB,CAAC"}
@@ -1,7 +1,6 @@
1
- import { type HttpRequest, type WebSocketRequest } from '../../../types';
2
- interface NetworkRequestDetailsProps {
3
- item: HttpRequest | WebSocketRequest;
4
- }
5
- export default function NetworkRequestDetails({ item }: NetworkRequestDetailsProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
1
+ import { ScrollView, type StyleProp, type ViewStyle } from 'react-native';
2
+ declare const NetworkRequestDetails: import("react").ForwardRefExoticComponent<{
3
+ style?: StyleProp<ViewStyle>;
4
+ } & import("react").RefAttributes<ScrollView>>;
5
+ export default NetworkRequestDetails;
7
6
  //# sourceMappingURL=NetworkRequestDetails.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkRequestDetails.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/details/NetworkRequestDetails.tsx"],"names":[],"mappings":"AAaA,OAAO,EAAkB,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGzF,UAAU,0BAA0B;IAClC,IAAI,EAAE,WAAW,GAAG,gBAAgB,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAAE,IAAI,EAAE,EAAE,0BAA0B,2CAiIjF"}
1
+ {"version":3,"file":"NetworkRequestDetails.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/details/NetworkRequestDetails.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAatF,QAAA,MAAM,qBAAqB;YAAoC,SAAS,CAAC,SAAS,CAAC;8CA8JlF,CAAC;AAwBF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { PanelState } from '../../../core/refs';
2
+ import type { ScrollView, StyleProp, ViewStyle } from 'react-native';
3
+ interface ConsoleHeaderProps {
4
+ selectedPanel: PanelState;
5
+ style?: StyleProp<ViewStyle>;
6
+ }
7
+ declare const ConsoleHeader: import("react").ForwardRefExoticComponent<ConsoleHeaderProps & import("react").RefAttributes<ScrollView>>;
8
+ export default ConsoleHeader;
9
+ //# sourceMappingURL=ConsoleHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConsoleHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/headers/ConsoleHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErE,UAAU,kBAAkB;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,aAAa,2GAWlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,2 +1,10 @@
1
- export default function DebuggerHeader(): import("react/jsx-runtime").JSX.Element;
1
+ import type { ScrollView, StyleProp, ViewStyle } from 'react-native';
2
+ import { PanelState } from '../../../core/refs';
3
+ interface DebuggerHeaderProps {
4
+ selectedPanel: PanelState;
5
+ setSelectedPanel: React.Dispatch<React.SetStateAction<PanelState>>;
6
+ style?: StyleProp<ViewStyle>;
7
+ }
8
+ declare const DebuggerHeader: import("react").ForwardRefExoticComponent<DebuggerHeaderProps & import("react").RefAttributes<ScrollView>>;
9
+ export default DebuggerHeader;
2
10
  //# sourceMappingURL=DebuggerHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebuggerHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/headers/DebuggerHeader.tsx"],"names":[],"mappings":"AAWA,MAAM,CAAC,OAAO,UAAU,cAAc,4CAkOrC"}
1
+ {"version":3,"file":"DebuggerHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/headers/DebuggerHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErE,OAAa,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMtD,UAAU,mBAAmB;IAC3B,aAAa,EAAE,UAAU,CAAC;IAC1B,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,CAAC;IACnE,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,cAAc,4GAuEnB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const Header: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Header;
3
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/headers/Header.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,MAAM,+CAYX,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { ScrollView, type StyleProp, type ViewStyle } from 'react-native';
2
+ import { PanelState } from '../../../core/refs';
3
+ import type { DetailTab } from '../../../types';
4
+ declare const HeaderComponents: {
5
+ Back: ({ selectedPanel }: {
6
+ selectedPanel: PanelState;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ TabItem: ({ tab, label }: {
9
+ tab: DetailTab;
10
+ label: string;
11
+ }) => import("react/jsx-runtime").JSX.Element;
12
+ MainButtons: () => import("react/jsx-runtime").JSX.Element;
13
+ Wrapper: import("react").ForwardRefExoticComponent<{
14
+ style?: StyleProp<ViewStyle>;
15
+ } & {
16
+ children?: import("react").ReactNode | undefined;
17
+ } & import("react").RefAttributes<ScrollView>>;
18
+ };
19
+ export default HeaderComponents;
20
+ //# sourceMappingURL=HeaderComponents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeaderComponents.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/headers/HeaderComponents.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtF,OAAa,EAAmC,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGvF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AA2FhD,QAAA,MAAM,gBAAgB;8BAxFW;QAAE,aAAa,EAAE,UAAU,CAAA;KAAE;8BAiB7B;QAAE,GAAG,EAAE,SAAS,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE;;;gBAyCC,SAAS,CAAC,SAAS,CAAC;;;;CA8BvB,CAAC;AAEjE,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ScrollView, type StyleProp, type ViewStyle } from 'react-native';
2
+ import { type PanelState } from '../../../core/refs';
3
+ interface NetworkHeaderProps {
4
+ selectedPanel: PanelState;
5
+ style?: StyleProp<ViewStyle>;
6
+ }
7
+ declare const NetworkHeader: import("react").ForwardRefExoticComponent<NetworkHeaderProps & import("react").RefAttributes<ScrollView>>;
8
+ export default NetworkHeader;
9
+ //# sourceMappingURL=NetworkHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NetworkHeader.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/headers/NetworkHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEtF,OAAa,EAAsB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAS/E,UAAU,kBAAkB;IAC1B,aAAa,EAAE,UAAU,CAAC;IAC1B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAID,QAAA,MAAM,aAAa,2GA+DlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,5 +1,4 @@
1
1
  export { default as Bubble } from './bubble/Bubble';
2
- export { default as DetailsViewer } from './details/DetailsViewer';
3
2
  export { default as DebuggerHeader } from './headers/DebuggerHeader';
4
3
  export { default as ConsolePanel } from './panels/ConsolePanel';
5
4
  export { default as NetworkPanel } from './panels/NetworkPanel';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ConsolePanelItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/items/ConsolePanelItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAIjD,UAAU,qBAAsB,SAAQ,UAAU;IAChD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,qBAAqB,2CAQxF"}
1
+ {"version":3,"file":"ConsolePanelItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/items/ConsolePanelItem.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,UAAU,qBAAsB,SAAQ,UAAU;IAChD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,qBAAqB,2CAWxF"}
@@ -1 +1 @@
1
- {"version":3,"file":"DebuggerHeaderItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/items/DebuggerHeaderItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGlG,UAAU,uBAAuB;IAC/B,OAAO,CAAC,EAAE,kBAAkB,GAAG,MAAM,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,OAAO,EACP,OAAO,EACP,QAAQ,EACR,WAAwB,EACxB,OAAO,GACR,EAAE,uBAAuB,2CAuBzB"}
1
+ {"version":3,"file":"DebuggerHeaderItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/items/DebuggerHeaderItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAKzE,UAAU,uBAAuB;IAC/B,OAAO,CAAC,EAAE,kBAAkB,GAAG,MAAM,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,OAAO,EACP,OAAO,EACP,QAAQ,EACR,WAAwB,EACxB,OAAO,GACR,EAAE,uBAAuB,2CAsBzB"}
@@ -2,10 +2,11 @@ import type { HttpRequest, NetworkRequest } from '../../../types';
2
2
  interface NetworkPanelItemProps {
3
3
  method?: HttpRequest['method'];
4
4
  name: NetworkRequest['url'];
5
- duration?: NetworkRequest['duration'];
5
+ startTime?: NetworkRequest['startTime'];
6
+ endTime?: NetworkRequest['endTime'];
6
7
  status?: NetworkRequest['status'];
7
8
  onPress: () => void;
8
9
  }
9
- export default function NetworkPanelItem({ method, name, duration, status, onPress, }: NetworkPanelItemProps): import("react/jsx-runtime").JSX.Element;
10
+ export default function NetworkPanelItem({ method, name, startTime, endTime, status, onPress, }: NetworkPanelItemProps): import("react/jsx-runtime").JSX.Element;
10
11
  export {};
11
12
  //# sourceMappingURL=NetworkPanelItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkPanelItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/items/NetworkPanelItem.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAQlE,UAAU,qBAAqB;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;IAC5B,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,MAAM,EACN,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,OAAO,GACR,EAAE,qBAAqB,2CA0CvB"}
1
+ {"version":3,"file":"NetworkPanelItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/items/NetworkPanelItem.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGlE,UAAU,qBAAqB;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACxC,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAsBD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,MAAM,EACN,IAAI,EACJ,SAAS,EACT,OAAO,EACP,MAAM,EACN,OAAO,GACR,EAAE,qBAAqB,2CAuDvB"}
@@ -1,8 +1,7 @@
1
- import { type TextProps } from 'react-native';
2
- interface NetworkRequestDetailsItemProps extends TextProps {
3
- label?: string;
4
- content?: string;
1
+ interface NetworkRequestDetailsItemProps {
2
+ label: string;
3
+ content: string | [string, string][];
5
4
  }
6
- export default function NetworkRequestDetailsItem({ label, content, style, ...props }: NetworkRequestDetailsItemProps): import("react/jsx-runtime").JSX.Element;
5
+ export default function NetworkRequestDetailsItem({ label, content, }: NetworkRequestDetailsItemProps): import("react/jsx-runtime").JSX.Element;
7
6
  export {};
8
7
  //# sourceMappingURL=NetworkRequestDetailsItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkRequestDetailsItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/items/NetworkRequestDetailsItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGhE,UAAU,8BAA+B,SAAQ,SAAS;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,KAAK,EACL,OAAO,EACP,KAAK,EACL,GAAG,KAAK,EACT,EAAE,8BAA8B,2CAkBhC"}
1
+ {"version":3,"file":"NetworkRequestDetailsItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/items/NetworkRequestDetailsItem.tsx"],"names":[],"mappings":"AAGA,UAAU,8BAA8B;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;CACtC;AAED,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,KAAK,EACL,OAAO,GACR,EAAE,8BAA8B,2CAoBhC"}
@@ -1,2 +1,6 @@
1
- export default function ConsolePanel(): import("react/jsx-runtime").JSX.Element;
1
+ import { FlatList, type StyleProp, type ViewStyle } from 'react-native';
2
+ declare const ConsolePanel: import("react").ForwardRefExoticComponent<{
3
+ style?: StyleProp<ViewStyle>;
4
+ } & import("react").RefAttributes<FlatList<any>>>;
5
+ export default ConsolePanel;
2
6
  //# sourceMappingURL=ConsolePanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConsolePanel.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/panels/ConsolePanel.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAoCnC"}
1
+ {"version":3,"file":"ConsolePanel.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/panels/ConsolePanel.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAIR,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAQtB,QAAA,MAAM,YAAY;YAAkC,SAAS,CAAC,SAAS,CAAC;iDAuCtE,CAAC;AAcH,eAAe,YAAY,CAAC"}
@@ -1,2 +1,6 @@
1
- export default function NetworkPanel(): import("react/jsx-runtime").JSX.Element;
1
+ import { FlatList, type StyleProp, type ViewStyle } from 'react-native';
2
+ declare const NetworkPanel: import("react").ForwardRefExoticComponent<{
3
+ style?: StyleProp<ViewStyle>;
4
+ } & import("react").RefAttributes<FlatList<any>>>;
5
+ export default NetworkPanel;
2
6
  //# sourceMappingURL=NetworkPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkPanel.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/panels/NetworkPanel.tsx"],"names":[],"mappings":"AAeA,MAAM,CAAC,OAAO,UAAU,YAAY,4CAyCnC"}
1
+ {"version":3,"file":"NetworkPanel.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/panels/NetworkPanel.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAGR,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAetB,QAAA,MAAM,YAAY;YAAkC,SAAS,CAAC,SAAS,CAAC;iDA2CtE,CAAC;AASH,eAAe,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export default function Panel(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=Panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/components/panels/Panel.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,KAAK,4CAS5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-xenon",
3
- "version": "0.7.0",
3
+ "version": "1.0.0",
4
4
  "description": "A powerful in-app debugging tool for React Native.",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/commonjs/index.js",
@@ -94,8 +94,8 @@
94
94
  "react": "18.3.1",
95
95
  "react-native": "0.76.3",
96
96
  "react-native-builder-bob": "^0.33.3",
97
- "react-native-safe-area-context": "^5.0.0",
98
- "react-native-screens": "^4.6.0",
97
+ "react-native-safe-area-context": "5.4.0",
98
+ "react-native-screens": "~4.10.0",
99
99
  "release-it": "^17.10.0",
100
100
  "typescript": "^5.2.2"
101
101
  },
@@ -111,7 +111,7 @@
111
111
  "workspaces": [
112
112
  "example"
113
113
  ],
114
- "packageManager": "yarn@4.6.0",
114
+ "packageManager": "yarn@4.9.1",
115
115
  "jest": {
116
116
  "preset": "react-native",
117
117
  "modulePathIgnorePatterns": [
@@ -0,0 +1,29 @@
1
+ import { createRef } from 'react';
2
+ import type { IndexedStackMethods } from '../ui/components/common/IndexedStack';
3
+
4
+ export enum DebuggerVisibility {
5
+ Hidden = -1,
6
+ Bubble = 0,
7
+ Panel = 1,
8
+ }
9
+
10
+ export enum PanelState {
11
+ Network = 0,
12
+ Console = 1,
13
+ NetworkDetail = 2,
14
+ ConsoleDetail = 3,
15
+ }
16
+
17
+ export enum HeaderState {
18
+ Debugger = 0,
19
+ Network = 1,
20
+ Console = 2,
21
+ }
22
+
23
+ const refs = {
24
+ debugger: createRef<IndexedStackMethods<DebuggerVisibility>>(),
25
+ panel: createRef<IndexedStackMethods<PanelState>>(),
26
+ header: createRef<IndexedStackMethods<HeaderState>>(),
27
+ };
28
+
29
+ export default refs;