@osdk/react-devtools 0.5.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 (443) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/build/esm/DevToolsContext.js +19 -0
  3. package/build/esm/DevToolsContext.js.map +1 -0
  4. package/build/esm/components/ActionMetrics.js +89 -0
  5. package/build/esm/components/ActionMetrics.js.map +1 -0
  6. package/build/esm/components/BubbleChart.js +175 -0
  7. package/build/esm/components/BubbleChart.js.map +1 -0
  8. package/build/esm/components/BubbleChart.module.scss.js +6 -0
  9. package/build/esm/components/CacheInspectorTab.js +291 -0
  10. package/build/esm/components/CacheInspectorTab.js.map +1 -0
  11. package/build/esm/components/CacheInspectorTab.module.scss.js +39 -0
  12. package/build/esm/components/CacheMetrics.js +55 -0
  13. package/build/esm/components/CacheMetrics.js.map +1 -0
  14. package/build/esm/components/ComponentCard.js +124 -0
  15. package/build/esm/components/ComponentCard.js.map +1 -0
  16. package/build/esm/components/ComponentCard.module.scss.js +31 -0
  17. package/build/esm/components/ComputeTab.js +175 -0
  18. package/build/esm/components/ComputeTab.js.map +1 -0
  19. package/build/esm/components/CopyableCodeBlock.js +49 -0
  20. package/build/esm/components/CopyableCodeBlock.js.map +1 -0
  21. package/build/esm/components/CopyableCodeBlock.module.scss.js +10 -0
  22. package/build/esm/components/DebuggingTab.js +342 -0
  23. package/build/esm/components/DebuggingTab.js.map +1 -0
  24. package/build/esm/components/DebuggingTab.module.scss.js +18 -0
  25. package/build/esm/components/HookRow.js +180 -0
  26. package/build/esm/components/HookRow.js.map +1 -0
  27. package/build/esm/components/HookRow.module.scss.js +16 -0
  28. package/build/esm/components/ImprovementsTab.js +138 -0
  29. package/build/esm/components/ImprovementsTab.js.map +1 -0
  30. package/build/esm/components/ImprovementsTab.module.scss.js +30 -0
  31. package/build/esm/components/InspectorSelectionHeader.js +65 -0
  32. package/build/esm/components/InspectorSelectionHeader.js.map +1 -0
  33. package/build/esm/components/InterceptTab.js +862 -0
  34. package/build/esm/components/InterceptTab.js.map +1 -0
  35. package/build/esm/components/InterceptTab.module.scss.js +49 -0
  36. package/build/esm/components/IssueCard.js +115 -0
  37. package/build/esm/components/IssueCard.js.map +1 -0
  38. package/build/esm/components/IssueCard.module.scss.js +24 -0
  39. package/build/esm/components/LogEntryCard.js +94 -0
  40. package/build/esm/components/LogEntryCard.js.map +1 -0
  41. package/build/esm/components/LogEntryCard.module.scss.js +19 -0
  42. package/build/esm/components/MockEditor.js +316 -0
  43. package/build/esm/components/MockEditor.js.map +1 -0
  44. package/build/esm/components/MonitorErrorBoundary.js +64 -0
  45. package/build/esm/components/MonitorErrorBoundary.js.map +1 -0
  46. package/build/esm/components/MonitorErrorBoundary.module.scss.js +9 -0
  47. package/build/esm/components/MonitoringPanel.js +434 -0
  48. package/build/esm/components/MonitoringPanel.js.map +1 -0
  49. package/build/esm/components/MonitoringPanel.module.scss.js +81 -0
  50. package/build/esm/components/ObjectLoadingMetrics.js +60 -0
  51. package/build/esm/components/ObjectLoadingMetrics.js.map +1 -0
  52. package/build/esm/components/OsdkAppErrorBoundary.js +68 -0
  53. package/build/esm/components/OsdkAppErrorBoundary.js.map +1 -0
  54. package/build/esm/components/OsdkDevTools.js +40 -0
  55. package/build/esm/components/OsdkDevTools.js.map +1 -0
  56. package/build/esm/components/OverrideEditor.js +197 -0
  57. package/build/esm/components/OverrideEditor.js.map +1 -0
  58. package/build/esm/components/PerformanceTab.js +297 -0
  59. package/build/esm/components/PerformanceTab.js.map +1 -0
  60. package/build/esm/components/PrimitiveSelectionPanel.js +220 -0
  61. package/build/esm/components/PrimitiveSelectionPanel.js.map +1 -0
  62. package/build/esm/components/PrimitiveSelectionPanel.module.scss.js +26 -0
  63. package/build/esm/components/issueTypes.js +2 -0
  64. package/build/esm/components/issueTypes.js.map +1 -0
  65. package/build/esm/components/resolveComponentName.js +57 -0
  66. package/build/esm/components/resolveComponentName.js.map +1 -0
  67. package/build/esm/components/testHelpers.js +312 -0
  68. package/build/esm/components/testHelpers.js.map +1 -0
  69. package/build/esm/css.d.ts +20 -0
  70. package/build/esm/fiber/DegradationNotice.js +193 -0
  71. package/build/esm/fiber/DegradationNotice.js.map +1 -0
  72. package/build/esm/fiber/DevtoolsHook.js +252 -0
  73. package/build/esm/fiber/DevtoolsHook.js.map +1 -0
  74. package/build/esm/fiber/FiberAccess.js +65 -0
  75. package/build/esm/fiber/FiberAccess.js.map +1 -0
  76. package/build/esm/fiber/FiberInspection.js +140 -0
  77. package/build/esm/fiber/FiberInspection.js.map +1 -0
  78. package/build/esm/fiber/FiberTags.js +52 -0
  79. package/build/esm/fiber/FiberTags.js.map +1 -0
  80. package/build/esm/fiber/HookStateInspector.js +254 -0
  81. package/build/esm/fiber/HookStateInspector.js.map +1 -0
  82. package/build/esm/fiber/SafeFiberOperation.js +35 -0
  83. package/build/esm/fiber/SafeFiberOperation.js.map +1 -0
  84. package/build/esm/fiber/capabilities.js +180 -0
  85. package/build/esm/fiber/capabilities.js.map +1 -0
  86. package/build/esm/fiber/traverseFiber.js +129 -0
  87. package/build/esm/fiber/traverseFiber.js.map +1 -0
  88. package/build/esm/fiber/types.js +2 -0
  89. package/build/esm/fiber/types.js.map +1 -0
  90. package/build/esm/fiber/validation.js +155 -0
  91. package/build/esm/fiber/validation.js.map +1 -0
  92. package/build/esm/hooks/createPollingStore.js +81 -0
  93. package/build/esm/hooks/createPollingStore.js.map +1 -0
  94. package/build/esm/hooks/useActiveComponents.js +27 -0
  95. package/build/esm/hooks/useActiveComponents.js.map +1 -0
  96. package/build/esm/hooks/useComponentRegistry.js +25 -0
  97. package/build/esm/hooks/useComponentRegistry.js.map +1 -0
  98. package/build/esm/hooks/useComputeSelectors.js +43 -0
  99. package/build/esm/hooks/useComputeSelectors.js.map +1 -0
  100. package/build/esm/hooks/useConsoleLogs.js +46 -0
  101. package/build/esm/hooks/useConsoleLogs.js.map +1 -0
  102. package/build/esm/hooks/useInspectorSelection.js +93 -0
  103. package/build/esm/hooks/useInspectorSelection.js.map +1 -0
  104. package/build/esm/hooks/useMetrics.js +23 -0
  105. package/build/esm/hooks/useMetrics.js.map +1 -0
  106. package/build/esm/hooks/usePersistedState.js +89 -0
  107. package/build/esm/hooks/usePersistedState.js.map +1 -0
  108. package/build/esm/hooks/useRecommendations.js +123 -0
  109. package/build/esm/hooks/useRecommendations.js.map +1 -0
  110. package/build/esm/hooks/useSharedTick.js +49 -0
  111. package/build/esm/hooks/useSharedTick.js.map +1 -0
  112. package/build/esm/hooks/useTimeElapsed.js +51 -0
  113. package/build/esm/hooks/useTimeElapsed.js.map +1 -0
  114. package/build/esm/hooks/useTrackerSubscription.js +97 -0
  115. package/build/esm/hooks/useTrackerSubscription.js.map +1 -0
  116. package/build/esm/hooks/useUnusedFieldAnalysis.js +99 -0
  117. package/build/esm/hooks/useUnusedFieldAnalysis.js.map +1 -0
  118. package/build/esm/index.js +31 -0
  119. package/build/esm/index.js.map +1 -0
  120. package/build/esm/inspector/ClickToInspectSystem.js +228 -0
  121. package/build/esm/inspector/ClickToInspectSystem.js.map +1 -0
  122. package/build/esm/inspector/components/ComponentLabel.js +175 -0
  123. package/build/esm/inspector/components/ComponentLabel.js.map +1 -0
  124. package/build/esm/inspector/components/ComponentLabel.module.scss.js +12 -0
  125. package/build/esm/inspector/components/InspectorBanner.js +79 -0
  126. package/build/esm/inspector/components/InspectorBanner.js.map +1 -0
  127. package/build/esm/inspector/components/InspectorOverlay.js +149 -0
  128. package/build/esm/inspector/components/InspectorOverlay.js.map +1 -0
  129. package/build/esm/inspector/components/SelectionHighlight.js +74 -0
  130. package/build/esm/inspector/components/SelectionHighlight.js.map +1 -0
  131. package/build/esm/inspector/createClickToInspect.js +21 -0
  132. package/build/esm/inspector/createClickToInspect.js.map +1 -0
  133. package/build/esm/inspector/hooks/useAnimatedBounds.js +167 -0
  134. package/build/esm/inspector/hooks/useAnimatedBounds.js.map +1 -0
  135. package/build/esm/inspector/index.js +40 -0
  136. package/build/esm/inspector/index.js.map +1 -0
  137. package/build/esm/inspector/inspectorController.js +328 -0
  138. package/build/esm/inspector/inspectorController.js.map +1 -0
  139. package/build/esm/inspector/types.js +2 -0
  140. package/build/esm/inspector/types.js.map +1 -0
  141. package/build/esm/inspector/utils/elementBounds.js +72 -0
  142. package/build/esm/inspector/utils/elementBounds.js.map +1 -0
  143. package/build/esm/inspector/utils/interpolation.js +26 -0
  144. package/build/esm/inspector/utils/interpolation.js.map +1 -0
  145. package/build/esm/inspector/utils/labelPositioning.js +62 -0
  146. package/build/esm/inspector/utils/labelPositioning.js.map +1 -0
  147. package/build/esm/mocking/MockCacheKeyGenerator.js +109 -0
  148. package/build/esm/mocking/MockCacheKeyGenerator.js.map +1 -0
  149. package/build/esm/mocking/MockManager.js +281 -0
  150. package/build/esm/mocking/MockManager.js.map +1 -0
  151. package/build/esm/prototyping/PrototypeOverrideStore.js +66 -0
  152. package/build/esm/prototyping/PrototypeOverrideStore.js.map +1 -0
  153. package/build/esm/prototyping/index.js +18 -0
  154. package/build/esm/prototyping/index.js.map +1 -0
  155. package/build/esm/public/vite.js +19 -0
  156. package/build/esm/public/vite.js.map +1 -0
  157. package/build/esm/register.js +41 -0
  158. package/build/esm/register.js.map +1 -0
  159. package/build/esm/scss.d.ts +20 -0
  160. package/build/esm/store/ComputeStore.js +269 -0
  161. package/build/esm/store/ComputeStore.js.map +1 -0
  162. package/build/esm/store/ConsoleLogStore.js +289 -0
  163. package/build/esm/store/ConsoleLogStore.js.map +1 -0
  164. package/build/esm/store/MetricsStore.js +428 -0
  165. package/build/esm/store/MetricsStore.js.map +1 -0
  166. package/build/esm/store/MonitorStore.js +288 -0
  167. package/build/esm/store/MonitorStore.js.map +1 -0
  168. package/build/esm/store/SubscribableStore.js +38 -0
  169. package/build/esm/store/SubscribableStore.js.map +1 -0
  170. package/build/esm/store/WindowErrorStore.js +195 -0
  171. package/build/esm/store/WindowErrorStore.js.map +1 -0
  172. package/build/esm/styles.css +19441 -0
  173. package/build/esm/styles.js +31 -0
  174. package/build/esm/styles.js.map +1 -0
  175. package/build/esm/types/compute.js +2 -0
  176. package/build/esm/types/compute.js.map +1 -0
  177. package/build/esm/types/emissions.js +2 -0
  178. package/build/esm/types/emissions.js.map +1 -0
  179. package/build/esm/types/index.js +23 -0
  180. package/build/esm/types/index.js.map +1 -0
  181. package/build/esm/utils/ActionLifecycleTracker.js +178 -0
  182. package/build/esm/utils/ActionLifecycleTracker.js.map +1 -0
  183. package/build/esm/utils/CacheEfficiencyAnalyzer.js +198 -0
  184. package/build/esm/utils/CacheEfficiencyAnalyzer.js.map +1 -0
  185. package/build/esm/utils/CircularBuffer.js +96 -0
  186. package/build/esm/utils/CircularBuffer.js.map +1 -0
  187. package/build/esm/utils/ComponentContextCapture.js +215 -0
  188. package/build/esm/utils/ComponentContextCapture.js.map +1 -0
  189. package/build/esm/utils/ComponentPrimitiveDiscovery.js +173 -0
  190. package/build/esm/utils/ComponentPrimitiveDiscovery.js.map +1 -0
  191. package/build/esm/utils/ComponentQueryRegistry.js +340 -0
  192. package/build/esm/utils/ComponentQueryRegistry.js.map +1 -0
  193. package/build/esm/utils/ComputeMonitor.js +199 -0
  194. package/build/esm/utils/ComputeMonitor.js.map +1 -0
  195. package/build/esm/utils/EventTimeline.js +130 -0
  196. package/build/esm/utils/EventTimeline.js.map +1 -0
  197. package/build/esm/utils/LinkTraversalTracker.js +116 -0
  198. package/build/esm/utils/LinkTraversalTracker.js.map +1 -0
  199. package/build/esm/utils/MockDataGenerator.js +473 -0
  200. package/build/esm/utils/MockDataGenerator.js.map +1 -0
  201. package/build/esm/utils/ObservableClientMonitor.js +768 -0
  202. package/build/esm/utils/ObservableClientMonitor.js.map +1 -0
  203. package/build/esm/utils/PerformanceRecommendationEngine.js +185 -0
  204. package/build/esm/utils/PerformanceRecommendationEngine.js.map +1 -0
  205. package/build/esm/utils/PropertyAccessTracker.js +238 -0
  206. package/build/esm/utils/PropertyAccessTracker.js.map +1 -0
  207. package/build/esm/utils/RecommendationMatcher.js +53 -0
  208. package/build/esm/utils/RecommendationMatcher.js.map +1 -0
  209. package/build/esm/utils/SubscriptionTracker.js +132 -0
  210. package/build/esm/utils/SubscriptionTracker.js.map +1 -0
  211. package/build/esm/utils/UnusedFieldAnalyzer.js +186 -0
  212. package/build/esm/utils/UnusedFieldAnalyzer.js.map +1 -0
  213. package/build/esm/utils/WaterfallDetector.js +200 -0
  214. package/build/esm/utils/WaterfallDetector.js.map +1 -0
  215. package/build/esm/utils/computePayload.js +37 -0
  216. package/build/esm/utils/computePayload.js.map +1 -0
  217. package/build/esm/utils/computeRequest.js +29 -0
  218. package/build/esm/utils/computeRequest.js.map +1 -0
  219. package/build/esm/utils/format.js +69 -0
  220. package/build/esm/utils/format.js.map +1 -0
  221. package/build/esm/utils/logger.js +31 -0
  222. package/build/esm/utils/logger.js.map +1 -0
  223. package/build/esm/vite/constants.js +18 -0
  224. package/build/esm/vite/constants.js.map +1 -0
  225. package/build/esm/vite/hookInstaller.js +99 -0
  226. package/build/esm/vite/hookInstaller.js.map +1 -0
  227. package/build/esm/vite/index.js +77 -0
  228. package/build/esm/vite/index.js.map +1 -0
  229. package/build/types/DevToolsContext.d.ts +3 -0
  230. package/build/types/DevToolsContext.d.ts.map +1 -0
  231. package/build/types/components/ActionMetrics.d.ts +6 -0
  232. package/build/types/components/ActionMetrics.d.ts.map +1 -0
  233. package/build/types/components/BubbleChart.d.ts +10 -0
  234. package/build/types/components/BubbleChart.d.ts.map +1 -0
  235. package/build/types/components/CacheInspectorTab.d.ts +6 -0
  236. package/build/types/components/CacheInspectorTab.d.ts.map +1 -0
  237. package/build/types/components/CacheMetrics.d.ts +6 -0
  238. package/build/types/components/CacheMetrics.d.ts.map +1 -0
  239. package/build/types/components/ComponentCard.d.ts +13 -0
  240. package/build/types/components/ComponentCard.d.ts.map +1 -0
  241. package/build/types/components/ComputeTab.d.ts +6 -0
  242. package/build/types/components/ComputeTab.d.ts.map +1 -0
  243. package/build/types/components/CopyableCodeBlock.d.ts +7 -0
  244. package/build/types/components/CopyableCodeBlock.d.ts.map +1 -0
  245. package/build/types/components/DebuggingTab.d.ts +6 -0
  246. package/build/types/components/DebuggingTab.d.ts.map +1 -0
  247. package/build/types/components/HookRow.d.ts +9 -0
  248. package/build/types/components/HookRow.d.ts.map +1 -0
  249. package/build/types/components/ImprovementsTab.d.ts +7 -0
  250. package/build/types/components/ImprovementsTab.d.ts.map +1 -0
  251. package/build/types/components/InspectorSelectionHeader.d.ts +12 -0
  252. package/build/types/components/InspectorSelectionHeader.d.ts.map +1 -0
  253. package/build/types/components/InterceptTab.d.ts +126 -0
  254. package/build/types/components/InterceptTab.d.ts.map +1 -0
  255. package/build/types/components/IssueCard.d.ts +8 -0
  256. package/build/types/components/IssueCard.d.ts.map +1 -0
  257. package/build/types/components/LogEntryCard.d.ts +7 -0
  258. package/build/types/components/LogEntryCard.d.ts.map +1 -0
  259. package/build/types/components/MockEditor.d.ts +58 -0
  260. package/build/types/components/MockEditor.d.ts.map +1 -0
  261. package/build/types/components/MonitorErrorBoundary.d.ts +16 -0
  262. package/build/types/components/MonitorErrorBoundary.d.ts.map +1 -0
  263. package/build/types/components/MonitoringPanel.d.ts +8 -0
  264. package/build/types/components/MonitoringPanel.d.ts.map +1 -0
  265. package/build/types/components/ObjectLoadingMetrics.d.ts +7 -0
  266. package/build/types/components/ObjectLoadingMetrics.d.ts.map +1 -0
  267. package/build/types/components/OsdkAppErrorBoundary.d.ts +18 -0
  268. package/build/types/components/OsdkAppErrorBoundary.d.ts.map +1 -0
  269. package/build/types/components/OsdkDevTools.d.ts +2 -0
  270. package/build/types/components/OsdkDevTools.d.ts.map +1 -0
  271. package/build/types/components/OverrideEditor.d.ts +26 -0
  272. package/build/types/components/OverrideEditor.d.ts.map +1 -0
  273. package/build/types/components/PerformanceTab.d.ts +8 -0
  274. package/build/types/components/PerformanceTab.d.ts.map +1 -0
  275. package/build/types/components/PrimitiveSelectionPanel.d.ts +28 -0
  276. package/build/types/components/PrimitiveSelectionPanel.d.ts.map +1 -0
  277. package/build/types/components/issueTypes.d.ts +16 -0
  278. package/build/types/components/issueTypes.d.ts.map +1 -0
  279. package/build/types/components/resolveComponentName.d.ts +3 -0
  280. package/build/types/components/resolveComponentName.d.ts.map +1 -0
  281. package/build/types/components/testHelpers.d.ts +2 -0
  282. package/build/types/components/testHelpers.d.ts.map +1 -0
  283. package/build/types/css.d.d.ts +4 -0
  284. package/build/types/css.d.d.ts.map +1 -0
  285. package/build/types/fiber/DegradationNotice.d.ts +8 -0
  286. package/build/types/fiber/DegradationNotice.d.ts.map +1 -0
  287. package/build/types/fiber/DevtoolsHook.d.ts +7 -0
  288. package/build/types/fiber/DevtoolsHook.d.ts.map +1 -0
  289. package/build/types/fiber/FiberAccess.d.ts +2 -0
  290. package/build/types/fiber/FiberAccess.d.ts.map +1 -0
  291. package/build/types/fiber/FiberInspection.d.ts +6 -0
  292. package/build/types/fiber/FiberInspection.d.ts.map +1 -0
  293. package/build/types/fiber/FiberTags.d.ts +33 -0
  294. package/build/types/fiber/FiberTags.d.ts.map +1 -0
  295. package/build/types/fiber/HookStateInspector.d.ts +45 -0
  296. package/build/types/fiber/HookStateInspector.d.ts.map +1 -0
  297. package/build/types/fiber/SafeFiberOperation.d.ts +7 -0
  298. package/build/types/fiber/SafeFiberOperation.d.ts.map +1 -0
  299. package/build/types/fiber/capabilities.d.ts +38 -0
  300. package/build/types/fiber/capabilities.d.ts.map +1 -0
  301. package/build/types/fiber/traverseFiber.d.ts +5 -0
  302. package/build/types/fiber/traverseFiber.d.ts.map +1 -0
  303. package/build/types/fiber/types.d.ts +87 -0
  304. package/build/types/fiber/types.d.ts.map +1 -0
  305. package/build/types/fiber/validation.d.ts +10 -0
  306. package/build/types/fiber/validation.d.ts.map +1 -0
  307. package/build/types/hooks/createPollingStore.d.ts +5 -0
  308. package/build/types/hooks/createPollingStore.d.ts.map +1 -0
  309. package/build/types/hooks/useActiveComponents.d.ts +3 -0
  310. package/build/types/hooks/useActiveComponents.d.ts.map +1 -0
  311. package/build/types/hooks/useComponentRegistry.d.ts +3 -0
  312. package/build/types/hooks/useComponentRegistry.d.ts.map +1 -0
  313. package/build/types/hooks/useComputeSelectors.d.ts +7 -0
  314. package/build/types/hooks/useComputeSelectors.d.ts.map +1 -0
  315. package/build/types/hooks/useConsoleLogs.d.ts +7 -0
  316. package/build/types/hooks/useConsoleLogs.d.ts.map +1 -0
  317. package/build/types/hooks/useInspectorSelection.d.ts +9 -0
  318. package/build/types/hooks/useInspectorSelection.d.ts.map +1 -0
  319. package/build/types/hooks/useMetrics.d.ts +3 -0
  320. package/build/types/hooks/useMetrics.d.ts.map +1 -0
  321. package/build/types/hooks/usePersistedState.d.ts +1 -0
  322. package/build/types/hooks/usePersistedState.d.ts.map +1 -0
  323. package/build/types/hooks/useRecommendations.d.ts +10 -0
  324. package/build/types/hooks/useRecommendations.d.ts.map +1 -0
  325. package/build/types/hooks/useSharedTick.d.ts +1 -0
  326. package/build/types/hooks/useSharedTick.d.ts.map +1 -0
  327. package/build/types/hooks/useTimeElapsed.d.ts +1 -0
  328. package/build/types/hooks/useTimeElapsed.d.ts.map +1 -0
  329. package/build/types/hooks/useTrackerSubscription.d.ts +16 -0
  330. package/build/types/hooks/useTrackerSubscription.d.ts.map +1 -0
  331. package/build/types/hooks/useUnusedFieldAnalysis.d.ts +8 -0
  332. package/build/types/hooks/useUnusedFieldAnalysis.d.ts.map +1 -0
  333. package/build/types/index.d.ts +21 -0
  334. package/build/types/index.d.ts.map +1 -0
  335. package/build/types/inspector/ClickToInspectSystem.d.ts +40 -0
  336. package/build/types/inspector/ClickToInspectSystem.d.ts.map +1 -0
  337. package/build/types/inspector/components/ComponentLabel.d.ts +3 -0
  338. package/build/types/inspector/components/ComponentLabel.d.ts.map +1 -0
  339. package/build/types/inspector/components/InspectorBanner.d.ts +5 -0
  340. package/build/types/inspector/components/InspectorBanner.d.ts.map +1 -0
  341. package/build/types/inspector/components/InspectorOverlay.d.ts +3 -0
  342. package/build/types/inspector/components/InspectorOverlay.d.ts.map +1 -0
  343. package/build/types/inspector/components/SelectionHighlight.d.ts +3 -0
  344. package/build/types/inspector/components/SelectionHighlight.d.ts.map +1 -0
  345. package/build/types/inspector/createClickToInspect.d.ts +3 -0
  346. package/build/types/inspector/createClickToInspect.d.ts.map +1 -0
  347. package/build/types/inspector/hooks/useAnimatedBounds.d.ts +2 -0
  348. package/build/types/inspector/hooks/useAnimatedBounds.d.ts.map +1 -0
  349. package/build/types/inspector/index.d.ts +13 -0
  350. package/build/types/inspector/index.d.ts.map +1 -0
  351. package/build/types/inspector/inspectorController.d.ts +2 -0
  352. package/build/types/inspector/inspectorController.d.ts.map +1 -0
  353. package/build/types/inspector/types.d.ts +94 -0
  354. package/build/types/inspector/types.d.ts.map +1 -0
  355. package/build/types/inspector/utils/elementBounds.d.ts +3 -0
  356. package/build/types/inspector/utils/elementBounds.d.ts.map +1 -0
  357. package/build/types/inspector/utils/interpolation.d.ts +7 -0
  358. package/build/types/inspector/utils/interpolation.d.ts.map +1 -0
  359. package/build/types/inspector/utils/labelPositioning.d.ts +3 -0
  360. package/build/types/inspector/utils/labelPositioning.d.ts.map +1 -0
  361. package/build/types/mocking/MockCacheKeyGenerator.d.ts +41 -0
  362. package/build/types/mocking/MockCacheKeyGenerator.d.ts.map +1 -0
  363. package/build/types/mocking/MockManager.d.ts +103 -0
  364. package/build/types/mocking/MockManager.d.ts.map +1 -0
  365. package/build/types/prototyping/PrototypeOverrideStore.d.ts +33 -0
  366. package/build/types/prototyping/PrototypeOverrideStore.d.ts.map +1 -0
  367. package/build/types/prototyping/index.d.ts +1 -0
  368. package/build/types/prototyping/index.d.ts.map +1 -0
  369. package/build/types/public/vite.d.ts +2 -0
  370. package/build/types/public/vite.d.ts.map +1 -0
  371. package/build/types/register.d.ts +1 -0
  372. package/build/types/register.d.ts.map +1 -0
  373. package/build/types/scss.d.d.ts +6 -0
  374. package/build/types/scss.d.d.ts.map +1 -0
  375. package/build/types/store/ComputeStore.d.ts +47 -0
  376. package/build/types/store/ComputeStore.d.ts.map +1 -0
  377. package/build/types/store/ConsoleLogStore.d.ts +29 -0
  378. package/build/types/store/ConsoleLogStore.d.ts.map +1 -0
  379. package/build/types/store/MetricsStore.d.ts +42 -0
  380. package/build/types/store/MetricsStore.d.ts.map +1 -0
  381. package/build/types/store/MonitorStore.d.ts +86 -0
  382. package/build/types/store/MonitorStore.d.ts.map +1 -0
  383. package/build/types/store/SubscribableStore.d.ts +6 -0
  384. package/build/types/store/SubscribableStore.d.ts.map +1 -0
  385. package/build/types/store/WindowErrorStore.d.ts +32 -0
  386. package/build/types/store/WindowErrorStore.d.ts.map +1 -0
  387. package/build/types/styles.d.ts +1 -0
  388. package/build/types/styles.d.ts.map +1 -0
  389. package/build/types/types/compute.d.ts +73 -0
  390. package/build/types/types/compute.d.ts.map +1 -0
  391. package/build/types/types/emissions.d.ts +24 -0
  392. package/build/types/types/emissions.d.ts.map +1 -0
  393. package/build/types/types/index.d.ts +143 -0
  394. package/build/types/types/index.d.ts.map +1 -0
  395. package/build/types/utils/ActionLifecycleTracker.d.ts +39 -0
  396. package/build/types/utils/ActionLifecycleTracker.d.ts.map +1 -0
  397. package/build/types/utils/CacheEfficiencyAnalyzer.d.ts +45 -0
  398. package/build/types/utils/CacheEfficiencyAnalyzer.d.ts.map +1 -0
  399. package/build/types/utils/CircularBuffer.d.ts +18 -0
  400. package/build/types/utils/CircularBuffer.d.ts.map +1 -0
  401. package/build/types/utils/ComponentContextCapture.d.ts +29 -0
  402. package/build/types/utils/ComponentContextCapture.d.ts.map +1 -0
  403. package/build/types/utils/ComponentPrimitiveDiscovery.d.ts +62 -0
  404. package/build/types/utils/ComponentPrimitiveDiscovery.d.ts.map +1 -0
  405. package/build/types/utils/ComponentQueryRegistry.d.ts +91 -0
  406. package/build/types/utils/ComponentQueryRegistry.d.ts.map +1 -0
  407. package/build/types/utils/ComputeMonitor.d.ts +14 -0
  408. package/build/types/utils/ComputeMonitor.d.ts.map +1 -0
  409. package/build/types/utils/EventTimeline.d.ts +102 -0
  410. package/build/types/utils/EventTimeline.d.ts.map +1 -0
  411. package/build/types/utils/LinkTraversalTracker.d.ts +43 -0
  412. package/build/types/utils/LinkTraversalTracker.d.ts.map +1 -0
  413. package/build/types/utils/MockDataGenerator.d.ts +23 -0
  414. package/build/types/utils/MockDataGenerator.d.ts.map +1 -0
  415. package/build/types/utils/ObservableClientMonitor.d.ts +62 -0
  416. package/build/types/utils/ObservableClientMonitor.d.ts.map +1 -0
  417. package/build/types/utils/PerformanceRecommendationEngine.d.ts +67 -0
  418. package/build/types/utils/PerformanceRecommendationEngine.d.ts.map +1 -0
  419. package/build/types/utils/PropertyAccessTracker.d.ts +50 -0
  420. package/build/types/utils/PropertyAccessTracker.d.ts.map +1 -0
  421. package/build/types/utils/RecommendationMatcher.d.ts +5 -0
  422. package/build/types/utils/RecommendationMatcher.d.ts.map +1 -0
  423. package/build/types/utils/SubscriptionTracker.d.ts +17 -0
  424. package/build/types/utils/SubscriptionTracker.d.ts.map +1 -0
  425. package/build/types/utils/UnusedFieldAnalyzer.d.ts +46 -0
  426. package/build/types/utils/UnusedFieldAnalyzer.d.ts.map +1 -0
  427. package/build/types/utils/WaterfallDetector.d.ts +28 -0
  428. package/build/types/utils/WaterfallDetector.d.ts.map +1 -0
  429. package/build/types/utils/computePayload.d.ts +3 -0
  430. package/build/types/utils/computePayload.d.ts.map +1 -0
  431. package/build/types/utils/computeRequest.d.ts +20 -0
  432. package/build/types/utils/computeRequest.d.ts.map +1 -0
  433. package/build/types/utils/format.d.ts +5 -0
  434. package/build/types/utils/format.d.ts.map +1 -0
  435. package/build/types/utils/logger.d.ts +2 -0
  436. package/build/types/utils/logger.d.ts.map +1 -0
  437. package/build/types/vite/constants.d.ts +1 -0
  438. package/build/types/vite/constants.d.ts.map +1 -0
  439. package/build/types/vite/hookInstaller.d.ts +1 -0
  440. package/build/types/vite/hookInstaller.d.ts.map +1 -0
  441. package/build/types/vite/index.d.ts +20 -0
  442. package/build/types/vite/index.d.ts.map +1 -0
  443. package/package.json +114 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["dirname","resolve","resolvePath","fileURLToPath","PLUGIN_NAME","generateHookInstallationScript","__dirname","import","meta","url","CSS_PATH","osdkDevTools","options","enabled","process","env","NODE_ENV","verbose","injectCSS","name","enforce","apply","config","command","mode","VITEST","transformIndexHtml","order","handler","html","hookScript","cssTag","injection","transformed","replace","console","log"],"sources":["index.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { dirname, resolve as resolvePath } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport type { Plugin } from \"vite\";\nimport { PLUGIN_NAME } from \"./constants.js\";\nimport { generateHookInstallationScript } from \"./hookInstaller.js\";\n\nconst __dirname = dirname(fileURLToPath(import.meta.url));\nconst CSS_PATH = resolvePath(__dirname, \"../styles.css\");\n\nexport interface OsdkDevToolsOptions {\n /**\n * Enable devtools.\n * Default: true in development, false in production\n */\n enabled?: boolean;\n\n /**\n * Enable verbose logging for debugging.\n * Default: false\n */\n verbose?: boolean;\n\n /**\n * Automatically inject CSS.\n * Default: true\n */\n injectCSS?: boolean;\n}\n\nexport function osdkDevTools(options: OsdkDevToolsOptions = {}): Plugin {\n const {\n enabled = process.env.NODE_ENV !== \"production\",\n verbose = false,\n injectCSS = true,\n } = options;\n\n return {\n name: PLUGIN_NAME,\n\n enforce: \"pre\",\n\n apply(config, { command }) {\n if (config.mode === \"production\") {\n return false;\n }\n\n if (process.env.VITEST) {\n return false;\n }\n\n if (!enabled) {\n return false;\n }\n\n return command === \"serve\";\n },\n\n transformIndexHtml: {\n order: \"pre\",\n\n handler(html) {\n if (!enabled) return html;\n\n const hookScript = generateHookInstallationScript(verbose);\n\n const registerScript =\n `\\n <script type=\"module\">import '@osdk/react-devtools';</script>`;\n\n let cssTag = \"\";\n if (injectCSS) {\n cssTag = `\\n <link rel=\"stylesheet\" href=\"/@fs${CSS_PATH}\" />`;\n }\n\n const injection = `${hookScript}${registerScript}${cssTag}\\n`;\n let transformed = html.replace(\"</head>\", `${injection}</head>`);\n\n if (transformed === html) {\n transformed = html.replace(\"</body>\", `${injection}</body>`);\n }\n\n if (transformed !== html) {\n if (verbose) {\n // eslint-disable-next-line no-console\n console.log(`[${PLUGIN_NAME}] Injected devtools into HTML`);\n }\n } else if (verbose) {\n // eslint-disable-next-line no-console\n console.log(\n `[${PLUGIN_NAME}] Warning: Could not find </head> or </body> tag for injection`,\n );\n }\n\n return transformed;\n },\n },\n };\n}\n\n// Default export for convenience\nexport default osdkDevTools;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,OAAO,EAAEC,OAAO,IAAIC,WAAW,QAAQ,WAAW;AAC3D,SAASC,aAAa,QAAQ,UAAU;AAExC,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,8BAA8B,QAAQ,oBAAoB;AAEnE,MAAMC,SAAS,GAAGN,OAAO,CAACG,aAAa,CAACI,MAAM,CAACC,IAAI,CAACC,GAAG,CAAC,CAAC;AACzD,MAAMC,QAAQ,GAAGR,WAAW,CAACI,SAAS,EAAE,eAAe,CAAC;AAsBxD,OAAO,SAASK,YAAYA,CAACC,OAA4B,GAAG,CAAC,CAAC,EAAU;EACtE,MAAM;IACJC,OAAO,GAAGC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY;IAC/CC,OAAO,GAAG,KAAK;IACfC,SAAS,GAAG;EACd,CAAC,GAAGN,OAAO;EAEX,OAAO;IACLO,IAAI,EAAEf,WAAW;IAEjBgB,OAAO,EAAE,KAAK;IAEdC,KAAKA,CAACC,MAAM,EAAE;MAAEC;IAAQ,CAAC,EAAE;MACzB,IAAID,MAAM,CAACE,IAAI,KAAK,YAAY,EAAE;QAChC,OAAO,KAAK;MACd;MAEA,IAAIV,OAAO,CAACC,GAAG,CAACU,MAAM,EAAE;QACtB,OAAO,KAAK;MACd;MAEA,IAAI,CAACZ,OAAO,EAAE;QACZ,OAAO,KAAK;MACd;MAEA,OAAOU,OAAO,KAAK,OAAO;IAC5B,CAAC;IAEDG,kBAAkB,EAAE;MAClBC,KAAK,EAAE,KAAK;MAEZC,OAAOA,CAACC,IAAI,EAAE;QACZ,IAAI,CAAChB,OAAO,EAAE,OAAOgB,IAAI;QAEzB,MAAMC,UAAU,GAAGzB,8BAA8B,CAACY,OAAO,CAAC;QAK1D,IAAIc,MAAM,GAAG,EAAE;QACf,IAAIb,SAAS,EAAE;UACba,MAAM,GAAG,wCAAwCrB,QAAQ,MAAM;QACjE;QAEA,MAAMsB,SAAS,GAAG,GAAGF,UAAU,GAP7B,mEAAmE,GAOlBC,MAAM,IAAI;QAC7D,IAAIE,WAAW,GAAGJ,IAAI,CAACK,OAAO,CAAC,SAAS,EAAE,GAAGF,SAAS,SAAS,CAAC;QAEhE,IAAIC,WAAW,KAAKJ,IAAI,EAAE;UACxBI,WAAW,GAAGJ,IAAI,CAACK,OAAO,CAAC,SAAS,EAAE,GAAGF,SAAS,SAAS,CAAC;QAC9D;QAEA,IAAIC,WAAW,KAAKJ,IAAI,EAAE;UACxB,IAAIZ,OAAO,EAAE;YACX;YACAkB,OAAO,CAACC,GAAG,CAAC,IAAIhC,WAAW,+BAA+B,CAAC;UAC7D;QACF,CAAC,MAAM,IAAIa,OAAO,EAAE;UAClB;UACAkB,OAAO,CAACC,GAAG,CACT,IAAIhC,WAAW,gEACjB,CAAC;QACH;QAEA,OAAO6B,WAAW;MACpB;IACF;EACF,CAAC;AACH;;AAEA;AACA,eAAetB,YAAY","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ import type { Context } from "react";
2
+ import type { MonitorStore } from "./store/MonitorStore.js";
3
+ export declare const DevToolsContext: Context<MonitorStore | null>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,eAAe,OAAQ;AAErC,cAAc,oBAAoB,yBAA0B;AAE5D,OAAO,cAAMA,iBAAiB,QAAQ","names":["DevToolsContext: Context<MonitorStore | null>"],"sources":["../../src/DevToolsContext.ts"],"version":3,"file":"DevToolsContext.d.ts"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import type { MetricsSnapshot } from "../types/index.js";
3
+ export interface ActionMetricsProps {
4
+ metrics: MetricsSnapshot;
5
+ }
6
+ export declare const ActionMetrics: React.FC<ActionMetricsProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAC1B,cAAc,uBAAuB,mBAAoB;AAOzD,iBAAiB,mBAAmB;CAClC,SAAS;AACV;AAED,OAAO,cAAMA,eAAe,MAAM,GAAG","names":["ActionMetrics: React.FC<ActionMetricsProps>"],"sources":["../../../src/components/ActionMetrics.tsx"],"version":3,"file":"ActionMetrics.d.ts"}
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import type { ComputeStore } from "../store/ComputeStore.js";
3
+ interface BubbleChartProps {
4
+ computeStore: ComputeStore;
5
+ fillHeight: boolean;
6
+ selectedIds: string[];
7
+ onSelectRequest: (id: string | undefined) => void;
8
+ }
9
+ export declare const BubbleChart: React.FC<BubbleChartProps>;
10
+ export {};
@@ -0,0 +1 @@
1
+ {"mappings":"AAsBA,OAAO,WAAW,OAAQ;AAO1B,cAAc,oBAAoB,0BAA2B;UA+BnD,iBAAiB;CACzB,cAAc;CACd;CACA;CACA,kBAAkBA;AACnB;AAED,OAAO,cAAMC,aAAa,MAAM,GAAG","names":["id: string | undefined","BubbleChart: React.FC<BubbleChartProps>"],"sources":["../../../src/components/BubbleChart.tsx"],"version":3,"file":"BubbleChart.d.ts"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import type { MonitorStore } from "../store/MonitorStore.js";
3
+ export interface CacheInspectorTabProps {
4
+ monitorStore: MonitorStore;
5
+ }
6
+ export declare const CacheInspectorTab: React.FC<CacheInspectorTabProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AA2BA,OAAO,WAAkC,OAAQ;AAEjD,cAAc,oBAAoB,0BAA2B;AAkD7D,iBAAiB,uBAAuB;CACtC,cAAc;AACf;AAgBD,OAAO,cAAMA,mBAAmB,MAAM,GAAG","names":["CacheInspectorTab: React.FC<CacheInspectorTabProps>"],"sources":["../../../src/components/CacheInspectorTab.tsx"],"version":3,"file":"CacheInspectorTab.d.ts"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import type { MetricsSnapshot } from "../types/index.js";
3
+ export interface CacheMetricsProps {
4
+ metrics: MetricsSnapshot;
5
+ }
6
+ export declare const CacheMetrics: React.FC<CacheMetricsProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAC1B,cAAc,uBAAuB,mBAAoB;AAOzD,iBAAiB,kBAAkB;CACjC,SAAS;AACV;AAED,OAAO,cAAMA,cAAc,MAAM,GAAG","names":["CacheMetrics: React.FC<CacheMetricsProps>"],"sources":["../../../src/components/CacheMetrics.tsx"],"version":3,"file":"CacheMetrics.d.ts"}
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import type { MonitorStore } from "../store/MonitorStore.js";
3
+ import type { ComponentHookBinding } from "../utils/ComponentQueryRegistry.js";
4
+ import type { Issue } from "./issueTypes.js";
5
+ export interface ComponentCardProps {
6
+ componentId: string;
7
+ bindings: ComponentHookBinding[];
8
+ formatTime?: (ms: number) => string;
9
+ monitorStore?: MonitorStore;
10
+ style?: React.CSSProperties;
11
+ issues?: Issue[];
12
+ }
13
+ export declare const ComponentCard: React.FC<ComponentCardProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAyB,OAAQ;AACxC,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,4BAA4B,oCAAqC;AAG/E,cAAc,aAAa,iBAAkB;AAG7C,iBAAiB,mBAAmB;CAClC;CACA,UAAU;CACV,cAAcA;CACd,eAAe;CACf,QAAQ,MAAM;CACd,SAAS;AACV;AAED,OAAO,cAAMC,eAAe,MAAM,GAAG","names":["ms: number","ComponentCard: React.FC<ComponentCardProps>"],"sources":["../../../src/components/ComponentCard.tsx"],"version":3,"file":"ComponentCard.d.ts"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import type { ComputeStore } from "../store/ComputeStore.js";
3
+ export interface ComputeTabProps {
4
+ computeStore: ComputeStore;
5
+ }
6
+ export declare const ComputeTab: React.FC<ComputeTabProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAwB,OAAQ;AAOvC,cAAc,oBAAoB,0BAA2B;AAM7D,iBAAiB,gBAAgB;CAC/B,cAAc;AACf;AAED,OAAO,cAAMA,YAAY,MAAM,GAAG","names":["ComputeTab: React.FC<ComputeTabProps>"],"sources":["../../../src/components/ComputeTab.tsx"],"version":3,"file":"ComputeTab.d.ts"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ interface CopyableCodeBlockProps {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ }
6
+ export declare const CopyableCodeBlock: React.FC<CopyableCodeBlockProps>;
7
+ export {};
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAA8C,OAAQ;UAGnD,uBAAuB;CAC/B,UAAU,MAAM;CAChB;AACD;AAED,OAAO,cAAMA,mBAAmB,MAAM,GAAG","names":["CopyableCodeBlock: React.FC<CopyableCodeBlockProps>"],"sources":["../../../src/components/CopyableCodeBlock.tsx"],"version":3,"file":"CopyableCodeBlock.d.ts"}
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ import type { MonitorStore } from "../store/MonitorStore.js";
3
+ export interface DebuggingTabProps {
4
+ monitorStore: MonitorStore;
5
+ }
6
+ export declare const DebuggingTab: React.FC<DebuggingTabProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAuD,OAAQ;AAItE,cAAc,oBAAoB,0BAA2B;AAY7D,iBAAiB,kBAAkB;CACjC,cAAc;AACf;AAqJD,OAAO,cAAMA,cAAc,MAAM,GAAG","names":["DebuggingTab: React.FC<DebuggingTabProps>"],"sources":["../../../src/components/DebuggingTab.tsx"],"version":3,"file":"DebuggingTab.d.ts"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import type { MonitorStore } from "../store/MonitorStore.js";
3
+ import type { ComponentHookBinding } from "../utils/ComponentQueryRegistry.js";
4
+ export interface HookRowProps {
5
+ binding: ComponentHookBinding;
6
+ formatTime?: (ms: number) => string;
7
+ monitorStore?: MonitorStore;
8
+ }
9
+ export declare const HookRow: React.FC<HookRowProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAwB,OAAQ;AAEvC,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,4BAA4B,oCAAqC;AA6C/E,iBAAiB,aAAa;CAC5B,SAAS;CACT,cAAcA;CACd,eAAe;AAChB;AASD,OAAO,cAAMC,SAAS,MAAM,GAAG","names":["ms: number","HookRow: React.FC<HookRowProps>"],"sources":["../../../src/components/HookRow.tsx"],"version":3,"file":"HookRow.d.ts"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import type { MonitorStore } from "../store/MonitorStore.js";
3
+ interface ImprovementsTabProps {
4
+ monitorStore: MonitorStore;
5
+ }
6
+ export declare const ImprovementsTab: React.FC<ImprovementsTabProps>;
7
+ export {};
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAyB,OAAQ;AAExC,cAAc,oBAAoB,0BAA2B;UAInD,qBAAqB;CAC7B,cAAc;AACf;AAED,OAAO,cAAMA,iBAAiB,MAAM,GAAG","names":["ImprovementsTab: React.FC<ImprovementsTabProps>"],"sources":["../../../src/components/ImprovementsTab.tsx"],"version":3,"file":"ImprovementsTab.d.ts"}
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ export interface InspectorSelectionHeaderProps {
3
+ error: string | null;
4
+ onDismissError: () => void;
5
+ isSelectionActive: boolean;
6
+ onActivateSelection: () => void;
7
+ infoText: React.ReactNode;
8
+ activeWarningText: string;
9
+ buttonLabel: string;
10
+ showHelpTooltip?: boolean;
11
+ }
12
+ export declare const InspectorSelectionHeader: React.FC<InspectorSelectionHeaderProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAG1B,iBAAiB,8BAA8B;CAC7C;CACA;CACA;CACA;CACA,UAAU,MAAM;CAChB;CACA;CACA;AACD;AAED,OAAO,cAAMA,0BAA0B,MAAM,GAC3C","names":["InspectorSelectionHeader: React.FC<\n InspectorSelectionHeaderProps\n>"],"sources":["../../../src/components/InspectorSelectionHeader.tsx"],"version":3,"file":"InspectorSelectionHeader.d.ts"}
@@ -0,0 +1,126 @@
1
+ import React from "react";
2
+ import type { MockResponse } from "../mocking/MockManager.js";
3
+ import type { PrototypeOverride, PrototypeOverrideParams } from "../prototyping/PrototypeOverrideStore.js";
4
+ import type { MonitorStore } from "../store/MonitorStore.js";
5
+ import type { SelectedPrimitive } from "./PrimitiveSelectionPanel.js";
6
+ export interface MockConfiguration {
7
+ primitive: SelectedPrimitive;
8
+ mockType: "static" | "function" | "passthrough";
9
+ responseType: "success" | "error";
10
+ usePayload?: boolean;
11
+ payload?: string;
12
+ useResponse?: boolean;
13
+ staticData?: string;
14
+ functionCode?: string;
15
+ errorMessage?: string;
16
+ enabled: boolean;
17
+ }
18
+ export interface SelectedQuery {
19
+ componentId: string;
20
+ componentName: string;
21
+ objectType: string;
22
+ hookType: string;
23
+ hookIndex: number;
24
+ originalParams: PrototypeOverrideParams;
25
+ querySignature: string;
26
+ isAggregation?: boolean;
27
+ }
28
+ type MockWithConfig = MockResponse & {
29
+ config: MockConfiguration
30
+ };
31
+ export type InterceptAction = {
32
+ type: "SET_SELECTED_PRIMITIVE"
33
+ primitive: SelectedPrimitive | null
34
+ } | {
35
+ type: "SET_MOCKS"
36
+ mocks: Array<MockWithConfig>
37
+ } | {
38
+ type: "UPDATE_MOCKS"
39
+ updater: (prev: Array<MockWithConfig>) => Array<MockWithConfig>
40
+ } | {
41
+ type: "SET_EDITING_MOCK"
42
+ mock: MockWithConfig | null
43
+ } | {
44
+ type: "SET_MOCK_TYPE"
45
+ mockType: MockConfiguration["mockType"]
46
+ } | {
47
+ type: "SET_RESPONSE_TYPE"
48
+ responseType: MockConfiguration["responseType"]
49
+ } | {
50
+ type: "SET_USE_PAYLOAD"
51
+ usePayload: boolean
52
+ } | {
53
+ type: "SET_MOCK_PAYLOAD"
54
+ mockPayload: string
55
+ } | {
56
+ type: "SET_USE_RESPONSE"
57
+ useResponse: boolean
58
+ } | {
59
+ type: "SET_STATIC_DATA"
60
+ staticData: string
61
+ } | {
62
+ type: "SET_FUNCTION_CODE"
63
+ functionCode: string
64
+ } | {
65
+ type: "SET_ERROR_MESSAGE"
66
+ errorMessage: string
67
+ } | {
68
+ type: "SET_SELECTED_QUERY"
69
+ query: SelectedQuery | null
70
+ } | {
71
+ type: "SET_ACTIVE_OVERRIDES"
72
+ overrides: PrototypeOverride[]
73
+ } | {
74
+ type: "SET_WHERE_CLAUSE_TEXT"
75
+ text: string
76
+ } | {
77
+ type: "SET_ORDER_BY_TEXT"
78
+ text: string
79
+ } | {
80
+ type: "SET_PAGE_SIZE"
81
+ pageSize: number | undefined
82
+ } | {
83
+ type: "SET_GROUP_BY_TEXT"
84
+ text: string
85
+ } | {
86
+ type: "SET_SELECT_TEXT"
87
+ text: string
88
+ } | {
89
+ type: "SET_CHOOSING_PRIMITIVE"
90
+ primitive: SelectedPrimitive | null
91
+ } | {
92
+ type: "SET_ERROR"
93
+ error: string | null
94
+ } | {
95
+ type: "HYDRATE_OVERRIDE_FORM"
96
+ params: HydrateOverrideFormParams
97
+ } | {
98
+ type: "INIT_MOCK_FORM_FROM_CONFIG"
99
+ config: MockConfiguration
100
+ } | {
101
+ type: "INIT_MOCK_FORM_FROM_PRIMITIVE"
102
+ primitive: SelectedPrimitive
103
+ } | {
104
+ type: "SELECT_PRIMITIVE_FOR_MOCK"
105
+ primitive: SelectedPrimitive
106
+ } | {
107
+ type: "CANCEL_MOCK_EDITOR"
108
+ } | {
109
+ type: "CLEAR_SELECTION"
110
+ } | {
111
+ type: "SAVE_MOCK_DONE"
112
+ };
113
+ interface HydrateOverrideFormParams {
114
+ isAggregation: boolean;
115
+ where?: unknown;
116
+ orderBy?: unknown;
117
+ pageSize?: number;
118
+ groupBy?: unknown;
119
+ select?: unknown;
120
+ }
121
+ export interface InterceptTabProps {
122
+ monitorStore: MonitorStore;
123
+ theme?: "light" | "dark";
124
+ }
125
+ export declare const InterceptTab: React.FC<InterceptTabProps>;
126
+ export {};
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,OAAO,WAAiD,OAAQ;AAGhE,cAAc,oBAAoB,2BAA4B;AAC9D,cACE,mBACA,+BACK,0CAA2C;AAClD,cAAc,oBAAoB,0BAA2B;AAY7D,cAAc,yBAAyB,8BAA+B;AA0CtE,iBAAiB,kBAAkB;CACjC,WAAW;CACX,UAAU,WAAW,aAAa;CAClC,cAAc,YAAY;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAED,iBAAiB,cAAc;CAC7B;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB;CACA;AACD;KAEI,iBAAiB,eAAe;CAAE,QAAQ;AAAmB;AA2DlE,YAAY,kBACR;CAAE,MAAM;CAA0B,WAAW;AAA0B,IACvE;CAAE,MAAM;CAAa,OAAO,MAAM;AAAiB,IACnD;CACA,MAAM;CACN,UAAUA,MAAM,MAAM,oBAAoB,MAAM;AACjD,IACC;CAAE,MAAM;CAAoB,MAAM;AAAuB,IACzD;CAAE,MAAM;CAAiB,UAAU,kBAAkB;AAAa,IAClE;CACA,MAAM;CACN,cAAc,kBAAkB;AACjC,IACC;CAAE,MAAM;CAAmB;AAAqB,IAChD;CAAE,MAAM;CAAoB;AAAqB,IACjD;CAAE,MAAM;CAAoB;AAAsB,IAClD;CAAE,MAAM;CAAmB;AAAoB,IAC/C;CAAE,MAAM;CAAqB;AAAsB,IACnD;CAAE,MAAM;CAAqB;AAAsB,IACnD;CAAE,MAAM;CAAsB,OAAO;AAAsB,IAC3D;CAAE,MAAM;CAAwB,WAAW;AAAqB,IAChE;CAAE,MAAM;CAAyB;AAAc,IAC/C;CAAE,MAAM;CAAqB;AAAc,IAC3C;CAAE,MAAM;CAAiB;AAA8B,IACvD;CAAE,MAAM;CAAqB;AAAc,IAC3C;CAAE,MAAM;CAAmB;AAAc,IACzC;CAAE,MAAM;CAA0B,WAAW;AAA0B,IACvE;CAAE,MAAM;CAAa;AAAsB,IAC3C;CAAE,MAAM;CAAyB,QAAQ;AAA2B,IACpE;CAAE,MAAM;CAA8B,QAAQ;AAAmB,IACjE;CAAE,MAAM;CAAiC,WAAW;AAAmB,IACvE;CAAE,MAAM;CAA6B,WAAW;AAAmB,IACnE;CAAE,MAAM;AAAsB,IAC9B;CAAE,MAAM;AAAmB,IAC3B;CAAE,MAAM;AAAkB;UAEpB,0BAA0B;CAClC;CACA;CACA;CACA;CACA;CACA;AACD;AAqID,iBAAiB,kBAAkB;CACjC,cAAc;CACd,QAAQ,UAAU;AACnB;AAED,OAAO,cAAMC,cAAc,MAAM,GAAG","names":["prev: Array<MockWithConfig>","InterceptTab: React.FC<InterceptTabProps>"],"sources":["../../../src/components/InterceptTab.tsx"],"version":3,"file":"InterceptTab.d.ts"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { Issue } from "./issueTypes.js";
3
+ export interface IssueCardProps {
4
+ issue: Issue;
5
+ onComponentClick?: (componentId: string) => void;
6
+ style?: React.CSSProperties;
7
+ }
8
+ export declare const IssueCard: React.FC<IssueCardProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAyB,OAAQ;AAIxC,cAAc,aAAa,iBAAkB;AAE7C,iBAAiB,eAAe;CAC9B,OAAO;CACP,oBAAoBA;CACpB,QAAQ,MAAM;AACf;AAoBD,OAAO,cAAMC,WAAW,MAAM,GAAG","names":["componentId: string","IssueCard: React.FC<IssueCardProps>"],"sources":["../../../src/components/IssueCard.tsx"],"version":3,"file":"IssueCard.d.ts"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import type { ConsoleLogEntry } from "../store/ConsoleLogStore.js";
3
+ export interface LogEntryCardProps {
4
+ entry: ConsoleLogEntry;
5
+ style?: React.CSSProperties;
6
+ }
7
+ export declare const LogEntryCard: React.FC<LogEntryCardProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAyB,OAAQ;AACxC,cAAc,uBAAuB,6BAA8B;AAInE,iBAAiB,kBAAkB;CACjC,OAAO;CACP,QAAQ,MAAM;AACf;AAqCD,OAAO,cAAMA,cAAc,MAAM,GAAG","names":["LogEntryCard: React.FC<LogEntryCardProps>"],"sources":["../../../src/components/LogEntryCard.tsx"],"version":3,"file":"LogEntryCard.d.ts"}
@@ -0,0 +1,58 @@
1
+ import React from "react";
2
+ import type { MockResponse } from "../mocking/MockManager.js";
3
+ import type { InterceptAction, MockConfiguration } from "./InterceptTab.js";
4
+ import type { SelectedPrimitive } from "./PrimitiveSelectionPanel.js";
5
+ type MockWithConfig = MockResponse & {
6
+ config: MockConfiguration
7
+ };
8
+ interface MockEditorProps {
9
+ selectedPrimitive: SelectedPrimitive;
10
+ editingMock: MockWithConfig | null;
11
+ mockType: MockConfiguration["mockType"];
12
+ responseType: MockConfiguration["responseType"];
13
+ usePayload: boolean;
14
+ mockPayload: string;
15
+ useResponse: boolean;
16
+ staticData: string;
17
+ functionCode: string;
18
+ errorMessage: string;
19
+ dispatch: React.Dispatch<InterceptAction>;
20
+ mockPrimitiveInfo: ReturnType<typeof getMockPrimitiveInfo> | null;
21
+ onSaveMock: () => void;
22
+ onCancel: () => void;
23
+ }
24
+ export declare const MockEditor: React.FC<MockEditorProps>;
25
+ export declare function getMockPrimitiveInfo(primitive: SelectedPrimitive): {
26
+ title: string
27
+ subtitle: string
28
+ icon: "flash" | "th-list" | "cube" | "link" | "database" | "grouped-bar-chart"
29
+ signature: string | undefined
30
+ };
31
+ export declare function createMatcherFromPrimitive(primitive: SelectedPrimitive): {
32
+ actionName?: string
33
+ objectType?: string
34
+ whereClause?: Record<string, unknown>
35
+ primaryKey?: string
36
+ linkName?: string
37
+ };
38
+ export declare function createResponseFromConfig(primitive: SelectedPrimitive, mockData: unknown): {
39
+ type: "action"
40
+ result: unknown
41
+ } | {
42
+ type: "list"
43
+ list: unknown[]
44
+ hasMore: boolean
45
+ } | {
46
+ type: "object"
47
+ object: unknown
48
+ };
49
+ export interface MockItemProps {
50
+ mock: MockResponse & {
51
+ config: MockConfiguration
52
+ };
53
+ onToggle: () => void;
54
+ onDelete: () => void;
55
+ onEdit: () => void;
56
+ }
57
+ export declare const MockItem: React.FC<MockItemProps>;
58
+ export {};
@@ -0,0 +1 @@
1
+ {"mappings":"AA2BA,OAAO,WAAW,OAAQ;AAC1B,cAAc,oBAAoB,2BAA4B;AAC9D,cAAc,iBAAiB,yBAAyB,mBAAoB;AAE5E,cAAc,yBAAyB,8BAA+B;KAEjE,iBAAiB,eAAe;CAAE,QAAQ;AAAmB;UAExD,gBAAgB;CACxB,mBAAmB;CACnB,aAAa;CACb,UAAU,kBAAkB;CAC5B,cAAc,kBAAkB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,MAAM,SAAS;CACzB,mBAAmB,kBAAkB;CACrC;CACA;AACD;AAED,OAAO,cAAMA,YAAY,MAAM,GAAG;AA8MlC,OAAO,iBAAS,qBAAqBC,WAAW,oBAAoB;CAClE;CACA;CACA,MACI,UACA,YACA,SACA,SACA,aACA;CACJ;AACD;AAiDD,OAAO,iBAAS,2BAA2BA,WAAW,oBAAoB;CACxE;CACA;CACA,cAAc;CACd;CACA;AACD;AA6BD,OAAO,iBAAS,yBACdA,WAAW,mBACXC,oBACC;CACD,MAAM;CACN;AACD,IAAG;CACF,MAAM;CACN;CACA;AACD,IAAG;CACF,MAAM;CACN;AACD;AAiBD,iBAAiB,cAAc;CAC7B,MAAM,eAAe;EAAE,QAAQ;CAAmB;CAClD;CACA;CACA;AACD;AAED,OAAO,cAAMC,UAAU,MAAM,GAAG","names":["MockEditor: React.FC<MockEditorProps>","primitive: SelectedPrimitive","mockData: unknown","MockItem: React.FC<MockItemProps>"],"sources":["../../../src/components/MockEditor.tsx"],"version":3,"file":"MockEditor.d.ts"}
@@ -0,0 +1,16 @@
1
+ import React from "react";
2
+ export interface MonitorErrorBoundaryProps {
3
+ children: React.ReactNode;
4
+ onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
5
+ }
6
+ interface MonitorErrorBoundaryState {
7
+ hasError: boolean;
8
+ error: Error | null;
9
+ }
10
+ export declare class MonitorErrorBoundary extends React.Component<MonitorErrorBoundaryProps, MonitorErrorBoundaryState> {
11
+ constructor(props: MonitorErrorBoundaryProps);
12
+ static getDerivedStateFromError(error: Error): MonitorErrorBoundaryState;
13
+ componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
14
+ render(): React.ReactNode;
15
+ }
16
+ export {};
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,OAAO,WAAW,OAAQ;AAG1B,iBAAiB,0BAA0B;CACzC,UAAU,MAAM;CAChB,WAAWA,OAAO,OAAOC,WAAW,MAAM;AAC3C;UAES,0BAA0B;CAClC;CACA,OAAO;AACR;AAED,OAAO,cAAM,6BAA6B,MAAM,UAC9C,2BACA,2BACA;CACA,YAAYC,OAAO;CAKnB,OAAO,yBAAyBF,OAAO,QAAQ;CAI/C,kBAAkBA,OAAO,OAAOC,WAAW,MAAM;CAQjD,UAAU,MAAM;AA+BjB","names":["error: Error","errorInfo: React.ErrorInfo","props: MonitorErrorBoundaryProps"],"sources":["../../../src/components/MonitorErrorBoundary.tsx"],"version":3,"file":"MonitorErrorBoundary.d.ts"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { MonitorStore } from "../store/MonitorStore.js";
3
+ export interface MonitoringPanelProps {
4
+ /** The MonitorStore instance that provides all metrics, compute, and component tracking data. */
5
+ monitorStore: MonitorStore;
6
+ }
7
+ export declare const MonitoringPanel: React.FC<MonitoringPanelProps>;
8
+ export declare const SafeMonitoringPanel: React.FC<MonitoringPanelProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAuD,OAAQ;AAQtE,cAAc,oBAAoB,0BAA2B;AA6D7D,iBAAiB,qBAAqB;;CAEpC,cAAc;AACf;AAED,OAAO,cAAMA,iBAAiB,MAAM,GAAG;AAmevC,OAAO,cAAMC,qBAAqB,MAAM,GAAG","names":["MonitoringPanel: React.FC<MonitoringPanelProps>","SafeMonitoringPanel: React.FC<MonitoringPanelProps>"],"sources":["../../../src/components/MonitoringPanel.tsx"],"version":3,"file":"MonitoringPanel.d.ts"}
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import type { UnusedFieldReport } from "../utils/UnusedFieldAnalyzer.js";
3
+ export interface ObjectLoadingMetricsProps {
4
+ analysisLoading: boolean;
5
+ unusedFieldReport: UnusedFieldReport | null;
6
+ }
7
+ export declare const ObjectLoadingMetrics: React.FC<ObjectLoadingMetricsProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAE1B,cAAc,yBAAyB,iCAAkC;AAGzE,iBAAiB,0BAA0B;CACzC;CACA,mBAAmB;AACpB;AAED,OAAO,cAAMA,sBAAsB,MAAM,GAAG","names":["ObjectLoadingMetrics: React.FC<ObjectLoadingMetricsProps>"],"sources":["../../../src/components/ObjectLoadingMetrics.tsx"],"version":3,"file":"ObjectLoadingMetrics.d.ts"}
@@ -0,0 +1,18 @@
1
+ import React from "react";
2
+ import type { MonitorStore } from "../store/MonitorStore.js";
3
+ export interface OsdkAppErrorBoundaryProps {
4
+ monitorStore: MonitorStore;
5
+ children: React.ReactNode;
6
+ fallback?: React.ReactNode | ((error: Error, reset: () => void) => React.ReactNode);
7
+ }
8
+ interface OsdkAppErrorBoundaryState {
9
+ error: Error | null;
10
+ }
11
+ export declare class OsdkAppErrorBoundary extends React.Component<OsdkAppErrorBoundaryProps, OsdkAppErrorBoundaryState> {
12
+ constructor(props: OsdkAppErrorBoundaryProps);
13
+ static getDerivedStateFromError(error: Error): OsdkAppErrorBoundaryState;
14
+ componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
15
+ reset: () => void;
16
+ render(): React.ReactNode;
17
+ }
18
+ export {};
@@ -0,0 +1 @@
1
+ {"mappings":"AAqBA,OAAO,WAAW,OAAQ;AAC1B,cAAc,oBAAoB,0BAA2B;AAE7D,iBAAiB,0BAA0B;CACzC,cAAc;CACd,UAAU,MAAM;CAChB,WACI,MAAM,cACJA,OAAO,OAAOC,sBAAsB,MAAM;AACjD;UAES,0BAA0B;CAClC,OAAO;AACR;AAED,OAAO,cAAM,6BAA6B,MAAM,UAC9C,2BACA,2BACA;CACA,YAAYC,OAAO;CAKnB,OAAO,yBAAyBF,OAAO,QAAQ;CAI/C,kBAAkBA,OAAO,OAAOG,WAAW,MAAM;CAOjD;CAIA,UAAU,MAAM;AAsBjB","names":["error: Error","reset: () => void","props: OsdkAppErrorBoundaryProps","errorInfo: React.ErrorInfo"],"sources":["../../../src/components/OsdkAppErrorBoundary.tsx"],"version":3,"file":"OsdkAppErrorBoundary.d.ts"}
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export declare function OsdkDevTools(): React.ReactElement | null;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,OAAO,WAA2B,OAAQ;AAyB1C,OAAO,iBAAS,gBAAgB,MAAM","names":[],"sources":["../../../src/components/OsdkDevTools.tsx"],"version":3,"file":"OsdkDevTools.d.ts"}
@@ -0,0 +1,26 @@
1
+ import type { ReactCodeMirrorProps } from "@uiw/react-codemirror";
2
+ import React from "react";
3
+ import type { PrototypeOverride } from "../prototyping/PrototypeOverrideStore.js";
4
+ import type { InterceptAction, SelectedQuery } from "./InterceptTab.js";
5
+ interface OverrideEditorProps {
6
+ selectedQuery: SelectedQuery;
7
+ whereClauseText: string;
8
+ orderByText: string;
9
+ pageSize: number | undefined;
10
+ groupByText: string;
11
+ selectText: string;
12
+ jsonExtensions: ReactCodeMirrorProps["extensions"];
13
+ theme: "light" | "dark";
14
+ dispatch: React.Dispatch<InterceptAction>;
15
+ onApplyOverride: () => void;
16
+ onClearSelection: () => void;
17
+ }
18
+ export declare const OverrideEditor: React.FC<OverrideEditorProps>;
19
+ export interface OverrideItemProps {
20
+ override: PrototypeOverride;
21
+ onToggle: () => void;
22
+ onRemove: () => void;
23
+ onEdit: () => void;
24
+ }
25
+ export declare const OverrideItem: React.FC<OverrideItemProps>;
26
+ export {};
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,cAAc,4BAA4B,uBAAwB;AAClE,OAAO,WAAyB,OAAQ;AACxC,cAAc,yBAAyB,0CAA2C;AAClF,cAAc,iBAAiB,qBAAqB,mBAAoB;UAS9D,oBAAoB;CAC5B,eAAe;CACf;CACA;CACA;CACA;CACA;CACA,gBAAgB,qBAAqB;CACrC,OAAO,UAAU;CACjB,UAAU,MAAM,SAAS;CACzB;CACA;AACD;AAED,OAAO,cAAMA,gBAAgB,MAAM,GAAG;AAuItC,iBAAiB,kBAAkB;CACjC,UAAU;CACV;CACA;CACA;AACD;AAED,OAAO,cAAMC,cAAc,MAAM,GAAG","names":["OverrideEditor: React.FC<OverrideEditorProps>","OverrideItem: React.FC<OverrideItemProps>"],"sources":["../../../src/components/OverrideEditor.tsx"],"version":3,"file":"OverrideEditor.d.ts"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import type { MetricsStore } from "../store/MetricsStore.js";
3
+ import type { MonitorStore } from "../store/MonitorStore.js";
4
+ export interface PerformanceTabProps {
5
+ metricsStore: MetricsStore;
6
+ monitorStore: MonitorStore;
7
+ }
8
+ export declare const PerformanceTab: React.FC<PerformanceTabProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAkBA,OAAO,WAAkC,OAAQ;AAKjD,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,oBAAoB,0BAA2B;AA6B7D,iBAAiB,oBAAoB;CACnC,cAAc;CACd,cAAc;AACf;AAED,OAAO,cAAMA,gBAAgB,MAAM,GAAG","names":["PerformanceTab: React.FC<PerformanceTabProps>"],"sources":["../../../src/components/PerformanceTab.tsx"],"version":3,"file":"PerformanceTab.d.ts"}
@@ -0,0 +1,28 @@
1
+ import React from "react";
2
+ import type { DiscoveredAction, DiscoveredAggregation, DiscoveredLink, DiscoveredObject, DiscoveredObjectSet, DiscoveredPrimitives, DiscoveredQuery } from "../utils/ComponentPrimitiveDiscovery.js";
3
+ export type PrimitiveType = "action" | "objectSet" | "object" | "link" | "query" | "aggregation";
4
+ export type SelectedPrimitive = {
5
+ type: "action"
6
+ data: DiscoveredAction
7
+ } | {
8
+ type: "objectSet"
9
+ data: DiscoveredObjectSet
10
+ } | {
11
+ type: "object"
12
+ data: DiscoveredObject
13
+ } | {
14
+ type: "link"
15
+ data: DiscoveredLink
16
+ } | {
17
+ type: "query"
18
+ data: DiscoveredQuery
19
+ } | {
20
+ type: "aggregation"
21
+ data: DiscoveredAggregation
22
+ };
23
+ export interface PrimitiveSelectionPanelProps {
24
+ primitives: DiscoveredPrimitives;
25
+ onSelectPrimitive: (primitive: SelectedPrimitive) => void;
26
+ onClose: () => void;
27
+ }
28
+ export declare const PrimitiveSelectionPanel: React.FC<PrimitiveSelectionPanelProps>;
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,OAAO,WAAyB,OAAQ;AACxC,cACE,kBACA,uBACA,gBACA,kBACA,qBACA,sBACA,uBACK,yCAA0C;AAGjD,YAAY,gBACR,WACA,cACA,WACA,SACA,UACA;AAEJ,YAAY,oBACR;CAAE,MAAM;CAAU,MAAM;AAAkB,IAC1C;CAAE,MAAM;CAAa,MAAM;AAAqB,IAChD;CAAE,MAAM;CAAU,MAAM;AAAkB,IAC1C;CAAE,MAAM;CAAQ,MAAM;AAAgB,IACtC;CAAE,MAAM;CAAS,MAAM;AAAiB,IACxC;CAAE,MAAM;CAAe,MAAM;AAAuB;AAExD,iBAAiB,6BAA6B;CAC5C,YAAY;CACZ,oBAAoBA,WAAW;CAC/B;AACD;AAED,OAAO,cAAMC,yBAAyB,MAAM,GAAG","names":["primitive: SelectedPrimitive","PrimitiveSelectionPanel: React.FC<PrimitiveSelectionPanelProps>"],"sources":["../../../src/components/PrimitiveSelectionPanel.tsx"],"version":3,"file":"PrimitiveSelectionPanel.d.ts"}
@@ -0,0 +1,16 @@
1
+ export interface Issue {
2
+ id: string;
3
+ severity: "error" | "warning" | "info";
4
+ category: string;
5
+ title: string;
6
+ message: string;
7
+ suggestion?: string;
8
+ componentId?: string;
9
+ componentName?: string;
10
+ timestamp: number;
11
+ expandable?: {
12
+ stack?: string
13
+ detailsJson?: string
14
+ code?: string
15
+ };
16
+ }
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,iBAAiB,MAAM;CACrB;CACA,UAAU,UAAU,YAAY;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA,aAAa;EACX;EACA;EACA;CACD;AACF","names":[],"sources":["../../../src/components/issueTypes.ts"],"version":3,"file":"issueTypes.d.ts"}
@@ -0,0 +1,3 @@
1
+ import type { ComponentHookBinding } from "../utils/ComponentQueryRegistry.js";
2
+ export declare function deriveComponentName(bindings: ComponentHookBinding[]): string | null;
3
+ export declare function resolveComponentName(bindings: ComponentHookBinding[]): string;
@@ -0,0 +1 @@
1
+ {"mappings":"AAgBA,cAAc,4BAA4B,oCAAqC;AAE/E,OAAO,iBAAS,oBACdA,UAAU;AAyCZ,OAAO,iBAAS,qBACdA,UAAU","names":["bindings: ComponentHookBinding[]"],"sources":["../../../src/components/resolveComponentName.ts"],"version":3,"file":"resolveComponentName.d.ts"}
@@ -0,0 +1,2 @@
1
+ import type { MonitorStore } from "../store/MonitorStore.js";
2
+ export declare function createMockMonitorStore(): MonitorStore;
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,cAAc,oBAAoB,0BAA2B;AA0I7D,OAAO,iBAAS,0BAA0B","names":[],"sources":["../../../src/components/testHelpers.ts"],"version":3,"file":"testHelpers.d.ts"}
@@ -0,0 +1,4 @@
1
+ declare module "*.css" {
2
+ const content: string;
3
+ export default content;
4
+ }
@@ -0,0 +1 @@
1
+ {"mappings":"eAgBe,QAAQ;CACrB,MAAMA;AACN,gBAAe;AAChB","names":["content: string"],"sources":["../../src/css.d.ts"],"version":3,"file":"css.d.d.ts"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { type FiberCapabilities } from "./capabilities.js";
3
+ export interface DegradationNoticeProps {
4
+ onRetry?: () => void;
5
+ showWhenHealthy?: boolean;
6
+ }
7
+ export declare const DegradationNotice: React.FC<DegradationNoticeProps>;
8
+ export declare function useFiberCapabilities(): FiberCapabilities;
@@ -0,0 +1 @@
1
+ {"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAC1B,cACO,yBAGA,mBAAoB;AAsB3B,iBAAiB,uBAAuB;CACtC;CACA;AACD;AAyBD,OAAO,cAAMA,mBAAmB,MAAM,GAAG;AA8KzC,OAAO,iBAAS,wBAAwB","names":["DegradationNotice: React.FC<DegradationNoticeProps>"],"sources":["../../../src/fiber/DegradationNotice.tsx"],"version":3,"file":"DegradationNotice.d.ts"}
@@ -0,0 +1,7 @@
1
+ import type { FiberRoot, ReactRenderer } from "./types.js";
2
+ export declare function safelyInstallDevToolsHook(): void;
3
+ export declare function isReactDetected(): boolean;
4
+ export declare function getRenderers(): Map<number, ReactRenderer>;
5
+ export declare function getAllFiberRoots(): FiberRoot[];
6
+ export declare function onReactDetected(callback: () => void): () => void;
7
+ export declare function onCommitFiberRoot(handler: (rendererID: number, root: FiberRoot, priority: number | undefined) => void): () => void;