@elevasis/ui 1.20.0 → 1.21.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 (584) hide show
  1. package/dist/auth/index.d.ts +174 -14
  2. package/dist/charts/index.js +3 -2
  3. package/dist/{chunk-Z2BXCFAG.js → chunk-2WLVOFK7.js} +1 -1
  4. package/dist/{chunk-ACD2QA6E.js → chunk-3DIU726S.js} +2 -2
  5. package/dist/chunk-3KMDHCAR.js +52 -0
  6. package/dist/chunk-AWT255UH.js +255 -0
  7. package/dist/{chunk-AWMZCYKH.js → chunk-BC6TJEON.js} +2 -45
  8. package/dist/{chunk-I6EVLOP3.js → chunk-CRFV2TVK.js} +2 -2
  9. package/dist/{chunk-EMN755L5.js → chunk-CTF6FS2M.js} +10 -216
  10. package/dist/{chunk-4SY4EQSK.js → chunk-CYJILY7M.js} +3 -3
  11. package/dist/{chunk-AQ5MQDSS.js → chunk-EDAYKRPJ.js} +404 -2
  12. package/dist/{chunk-XOTN3X3Z.js → chunk-FATKFO7X.js} +3 -54
  13. package/dist/{chunk-ERVB3QJQ.js → chunk-FVBYSDM4.js} +1 -1
  14. package/dist/{chunk-BX565EOK.js → chunk-MOBXWBES.js} +495 -860
  15. package/dist/{chunk-U4CHEPIL.js → chunk-NL6EFQYE.js} +515 -265
  16. package/dist/{chunk-JHMJKDVU.js → chunk-R3R367QY.js} +1 -1
  17. package/dist/chunk-ROSMICXG.js +668 -0
  18. package/dist/{chunk-GH7ZO4VD.js → chunk-ST2RSBQ3.js} +364 -364
  19. package/dist/{chunk-JZEXFQ6N.js → chunk-UZWZY7TJ.js} +2 -2
  20. package/dist/{chunk-UMFPUM7Q.js → chunk-V422ET6W.js} +12 -12
  21. package/dist/components/chat/index.d.ts +202 -0
  22. package/dist/components/chat/index.js +2 -0
  23. package/dist/components/index.d.ts +5708 -22
  24. package/dist/components/index.js +2653 -2901
  25. package/dist/features/auth/index.d.ts +2557 -9
  26. package/dist/features/dashboard/index.d.ts +244 -9
  27. package/dist/features/dashboard/index.js +10 -9
  28. package/dist/features/monitoring/index.d.ts +121 -15
  29. package/dist/features/monitoring/index.js +11 -10
  30. package/dist/features/operations/index.d.ts +2006 -29
  31. package/dist/features/operations/index.js +1116 -170
  32. package/dist/features/settings/index.d.ts +2589 -23
  33. package/dist/features/settings/index.js +10 -9
  34. package/dist/hooks/index.css +68 -0
  35. package/dist/hooks/index.d.ts +7772 -22
  36. package/dist/hooks/index.js +6 -6
  37. package/dist/hooks/published.css +68 -0
  38. package/dist/hooks/published.d.ts +7216 -21
  39. package/dist/hooks/published.js +5 -5
  40. package/dist/index.css +68 -0
  41. package/dist/index.d.ts +9684 -15
  42. package/dist/index.js +7 -7
  43. package/dist/initialization/index.d.ts +2526 -23
  44. package/dist/layout/index.d.ts +3 -3
  45. package/dist/layout/index.js +4 -4
  46. package/dist/organization/index.d.ts +274 -23
  47. package/dist/profile/index.d.ts +2477 -15
  48. package/dist/provider/index.d.ts +334 -11
  49. package/dist/provider/index.js +4 -4
  50. package/dist/provider/published.d.ts +309 -11
  51. package/dist/theme/index.d.ts +148 -10
  52. package/dist/theme/index.js +3 -3
  53. package/dist/theme/presets/synapse.d.ts.map +1 -1
  54. package/dist/theme/presets/synapse.js +75 -0
  55. package/dist/types/index.d.ts +1 -1
  56. package/package.json +9 -4
  57. package/dist/auth/guards/AdminGuard.d.ts +0 -32
  58. package/dist/auth/guards/AdminGuard.d.ts.map +0 -1
  59. package/dist/auth/guards/ProtectedRoute.d.ts +0 -60
  60. package/dist/auth/guards/ProtectedRoute.d.ts.map +0 -1
  61. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts +0 -12
  62. package/dist/auth/guards/__tests__/AdminGuard.test.d.ts.map +0 -1
  63. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts +0 -14
  64. package/dist/auth/guards/__tests__/ProtectedRoute.test.d.ts.map +0 -1
  65. package/dist/auth/index.d.ts.map +0 -1
  66. package/dist/chunk-JFRG2JJE.js +0 -47
  67. package/dist/components/charts/ActivityTrendChart.d.ts +0 -13
  68. package/dist/components/charts/ActivityTrendChart.d.ts.map +0 -1
  69. package/dist/components/charts/CombinedTrendChart.d.ts +0 -22
  70. package/dist/components/charts/CombinedTrendChart.d.ts.map +0 -1
  71. package/dist/components/charts/CostTrendChart.d.ts +0 -13
  72. package/dist/components/charts/CostTrendChart.d.ts.map +0 -1
  73. package/dist/components/charts/HeroStatsRow.d.ts +0 -15
  74. package/dist/components/charts/HeroStatsRow.d.ts.map +0 -1
  75. package/dist/components/charts/index.d.ts +0 -9
  76. package/dist/components/charts/index.d.ts.map +0 -1
  77. package/dist/components/command-queue/TaskCard.d.ts +0 -18
  78. package/dist/components/command-queue/TaskCard.d.ts.map +0 -1
  79. package/dist/components/command-queue/index.d.ts +0 -5
  80. package/dist/components/command-queue/index.d.ts.map +0 -1
  81. package/dist/components/display/PageNotFound.d.ts +0 -2
  82. package/dist/components/display/PageNotFound.d.ts.map +0 -1
  83. package/dist/components/display/index.d.ts +0 -26
  84. package/dist/components/display/index.d.ts.map +0 -1
  85. package/dist/components/execution/ExecutionStats.d.ts +0 -16
  86. package/dist/components/execution/ExecutionStats.d.ts.map +0 -1
  87. package/dist/components/execution/index.d.ts +0 -18
  88. package/dist/components/execution/index.d.ts.map +0 -1
  89. package/dist/components/index.d.ts.map +0 -1
  90. package/dist/components/layout/backgrounds/AuroraBackground.d.ts +0 -16
  91. package/dist/components/layout/backgrounds/AuroraBackground.d.ts.map +0 -1
  92. package/dist/components/layout/backgrounds/AuroraBackground.js +0 -169
  93. package/dist/components/layout/backgrounds/EmberBackground.d.ts +0 -16
  94. package/dist/components/layout/backgrounds/EmberBackground.d.ts.map +0 -1
  95. package/dist/components/layout/backgrounds/EmberBackground.js +0 -169
  96. package/dist/components/layout/backgrounds/RoseGoldBackground.d.ts +0 -16
  97. package/dist/components/layout/backgrounds/RoseGoldBackground.d.ts.map +0 -1
  98. package/dist/components/layout/backgrounds/RoseGoldBackground.js +0 -169
  99. package/dist/components/monitoring/ErrorBreakdownTable.d.ts +0 -12
  100. package/dist/components/monitoring/ErrorBreakdownTable.d.ts.map +0 -1
  101. package/dist/components/monitoring/ResourceHealthPanel.d.ts +0 -8
  102. package/dist/components/monitoring/ResourceHealthPanel.d.ts.map +0 -1
  103. package/dist/components/monitoring/index.d.ts +0 -16
  104. package/dist/components/monitoring/index.d.ts.map +0 -1
  105. package/dist/components/notifications/NotificationBell.d.ts +0 -9
  106. package/dist/components/notifications/NotificationBell.d.ts.map +0 -1
  107. package/dist/components/notifications/NotificationItem.d.ts +0 -9
  108. package/dist/components/notifications/NotificationItem.d.ts.map +0 -1
  109. package/dist/components/notifications/NotificationList.d.ts +0 -10
  110. package/dist/components/notifications/NotificationList.d.ts.map +0 -1
  111. package/dist/components/notifications/NotificationPanel.d.ts +0 -10
  112. package/dist/components/notifications/NotificationPanel.d.ts.map +0 -1
  113. package/dist/components/notifications/index.d.ts +0 -5
  114. package/dist/components/notifications/index.d.ts.map +0 -1
  115. package/dist/components/operations/calibration/CreateProjectModal.d.ts +0 -9
  116. package/dist/components/operations/calibration/CreateProjectModal.d.ts.map +0 -1
  117. package/dist/components/operations/calibration/ProjectCard.d.ts +0 -9
  118. package/dist/components/operations/calibration/ProjectCard.d.ts.map +0 -1
  119. package/dist/components/operations/command-queue/index.d.ts +0 -3
  120. package/dist/components/operations/command-queue/index.d.ts.map +0 -1
  121. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebar.d.ts +0 -17
  122. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebar.d.ts.map +0 -1
  123. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebarMiddle.d.ts +0 -17
  124. package/dist/components/operations/command-queue/sidebar/CommandQueueSidebarMiddle.d.ts.map +0 -1
  125. package/dist/components/operations/command-queue/sidebar/index.d.ts +0 -5
  126. package/dist/components/operations/command-queue/sidebar/index.d.ts.map +0 -1
  127. package/dist/components/operations/command-view/CommandViewGraph.d.ts +0 -22
  128. package/dist/components/operations/command-view/CommandViewGraph.d.ts.map +0 -1
  129. package/dist/components/operations/command-view/index.d.ts +0 -4
  130. package/dist/components/operations/command-view/index.d.ts.map +0 -1
  131. package/dist/components/operations/executions/AgentExecutionLogs.d.ts +0 -13
  132. package/dist/components/operations/executions/AgentExecutionLogs.d.ts.map +0 -1
  133. package/dist/components/operations/executions/WorkflowExecutionLogs.d.ts +0 -13
  134. package/dist/components/operations/executions/WorkflowExecutionLogs.d.ts.map +0 -1
  135. package/dist/components/operations/executions/index.d.ts +0 -4
  136. package/dist/components/operations/executions/index.d.ts.map +0 -1
  137. package/dist/components/operations/index.d.ts +0 -8
  138. package/dist/components/operations/index.d.ts.map +0 -1
  139. package/dist/components/operations/knowledge-base/DocTreeNav.d.ts +0 -14
  140. package/dist/components/operations/knowledge-base/DocTreeNav.d.ts.map +0 -1
  141. package/dist/components/operations/knowledge-base/KnowledgeBasePage.d.ts +0 -16
  142. package/dist/components/operations/knowledge-base/KnowledgeBasePage.d.ts.map +0 -1
  143. package/dist/components/operations/knowledge-base/index.d.ts +0 -3
  144. package/dist/components/operations/knowledge-base/index.d.ts.map +0 -1
  145. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogs.d.ts +0 -16
  146. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogs.d.ts.map +0 -1
  147. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsHeader.d.ts +0 -12
  148. package/dist/components/operations/shared/BaseExecutionLogs/BaseExecutionLogsHeader.d.ts.map +0 -1
  149. package/dist/components/operations/shared/BaseExecutionLogs/ExecutionErrorSection.d.ts +0 -12
  150. package/dist/components/operations/shared/BaseExecutionLogs/ExecutionErrorSection.d.ts.map +0 -1
  151. package/dist/components/operations/shared/BaseExecutionLogs/index.d.ts +0 -7
  152. package/dist/components/operations/shared/BaseExecutionLogs/index.d.ts.map +0 -1
  153. package/dist/components/operations/shared/index.d.ts +0 -5
  154. package/dist/components/operations/shared/index.d.ts.map +0 -1
  155. package/dist/components/operations/shared/layouts/ResourceHeader.d.ts +0 -11
  156. package/dist/components/operations/shared/layouts/ResourceHeader.d.ts.map +0 -1
  157. package/dist/components/operations/shared/layouts/ResourceNotFoundState.d.ts +0 -8
  158. package/dist/components/operations/shared/layouts/ResourceNotFoundState.d.ts.map +0 -1
  159. package/dist/components/operations/shared/layouts/index.d.ts +0 -4
  160. package/dist/components/operations/shared/layouts/index.d.ts.map +0 -1
  161. package/dist/components/operations/task-scheduler/CreateScheduleModal.d.ts +0 -7
  162. package/dist/components/operations/task-scheduler/CreateScheduleModal.d.ts.map +0 -1
  163. package/dist/components/operations/task-scheduler/TaskScheduler.d.ts +0 -2
  164. package/dist/components/operations/task-scheduler/TaskScheduler.d.ts.map +0 -1
  165. package/dist/components/operations/task-scheduler/index.d.ts +0 -11
  166. package/dist/components/operations/task-scheduler/index.d.ts.map +0 -1
  167. package/dist/components/sdk-barrel.d.ts +0 -26
  168. package/dist/components/sdk-barrel.d.ts.map +0 -1
  169. package/dist/components/settings/api-keys/ApiKeyDisplayModal.d.ts +0 -9
  170. package/dist/components/settings/api-keys/ApiKeyDisplayModal.d.ts.map +0 -1
  171. package/dist/components/settings/api-keys/ApiKeyList.d.ts +0 -8
  172. package/dist/components/settings/api-keys/ApiKeyList.d.ts.map +0 -1
  173. package/dist/components/settings/api-keys/ApiKeySettings.d.ts +0 -2
  174. package/dist/components/settings/api-keys/ApiKeySettings.d.ts.map +0 -1
  175. package/dist/components/settings/api-keys/CreateApiKeyModal.d.ts +0 -9
  176. package/dist/components/settings/api-keys/CreateApiKeyModal.d.ts.map +0 -1
  177. package/dist/components/settings/api-keys/EditApiKeyModal.d.ts +0 -8
  178. package/dist/components/settings/api-keys/EditApiKeyModal.d.ts.map +0 -1
  179. package/dist/components/settings/api-keys/index.d.ts +0 -6
  180. package/dist/components/settings/api-keys/index.d.ts.map +0 -1
  181. package/dist/components/settings/credentials/CreateCredentialModal.d.ts +0 -9
  182. package/dist/components/settings/credentials/CreateCredentialModal.d.ts.map +0 -1
  183. package/dist/components/settings/credentials/CredentialList.d.ts +0 -10
  184. package/dist/components/settings/credentials/CredentialList.d.ts.map +0 -1
  185. package/dist/components/settings/credentials/CredentialSettings.d.ts +0 -7
  186. package/dist/components/settings/credentials/CredentialSettings.d.ts.map +0 -1
  187. package/dist/components/settings/credentials/index.d.ts +0 -5
  188. package/dist/components/settings/credentials/index.d.ts.map +0 -1
  189. package/dist/components/settings/deployments/DeploymentList.d.ts +0 -8
  190. package/dist/components/settings/deployments/DeploymentList.d.ts.map +0 -1
  191. package/dist/components/settings/deployments/DeploymentSettings.d.ts +0 -2
  192. package/dist/components/settings/deployments/DeploymentSettings.d.ts.map +0 -1
  193. package/dist/components/settings/deployments/index.d.ts +0 -5
  194. package/dist/components/settings/deployments/index.d.ts.map +0 -1
  195. package/dist/components/settings/index.d.ts +0 -6
  196. package/dist/components/settings/index.d.ts.map +0 -1
  197. package/dist/components/table/SortableHeader.d.ts +0 -12
  198. package/dist/components/table/SortableHeader.d.ts.map +0 -1
  199. package/dist/components/table/index.d.ts +0 -4
  200. package/dist/components/table/index.d.ts.map +0 -1
  201. package/dist/features/auth/AdminGuard.d.ts +0 -38
  202. package/dist/features/auth/AdminGuard.d.ts.map +0 -1
  203. package/dist/features/auth/FeatureGuard.d.ts +0 -45
  204. package/dist/features/auth/FeatureGuard.d.ts.map +0 -1
  205. package/dist/features/auth/ProtectedRoute.d.ts +0 -43
  206. package/dist/features/auth/ProtectedRoute.d.ts.map +0 -1
  207. package/dist/features/auth/index.d.ts.map +0 -1
  208. package/dist/features/auth/useUserProfile.d.ts +0 -10
  209. package/dist/features/auth/useUserProfile.d.ts.map +0 -1
  210. package/dist/features/dashboard/Dashboard.d.ts +0 -57
  211. package/dist/features/dashboard/Dashboard.d.ts.map +0 -1
  212. package/dist/features/dashboard/RecentExecutionsByResource.d.ts +0 -11
  213. package/dist/features/dashboard/RecentExecutionsByResource.d.ts.map +0 -1
  214. package/dist/features/dashboard/ResourceOverview.d.ts +0 -21
  215. package/dist/features/dashboard/ResourceOverview.d.ts.map +0 -1
  216. package/dist/features/dashboard/UnresolvedErrorsTeaser.d.ts +0 -7
  217. package/dist/features/dashboard/UnresolvedErrorsTeaser.d.ts.map +0 -1
  218. package/dist/features/dashboard/index.d.ts.map +0 -1
  219. package/dist/features/monitoring/ActivityFeed.d.ts +0 -37
  220. package/dist/features/monitoring/ActivityFeed.d.ts.map +0 -1
  221. package/dist/features/monitoring/ActivityLog.d.ts +0 -8
  222. package/dist/features/monitoring/ActivityLog.d.ts.map +0 -1
  223. package/dist/features/monitoring/CostAnalytics.d.ts +0 -13
  224. package/dist/features/monitoring/CostAnalytics.d.ts.map +0 -1
  225. package/dist/features/monitoring/ErrorDetailsModal.d.ts +0 -13
  226. package/dist/features/monitoring/ErrorDetailsModal.d.ts.map +0 -1
  227. package/dist/features/monitoring/ExecutionHealth.d.ts +0 -9
  228. package/dist/features/monitoring/ExecutionHealth.d.ts.map +0 -1
  229. package/dist/features/monitoring/ExecutionLogsPage.d.ts +0 -20
  230. package/dist/features/monitoring/ExecutionLogsPage.d.ts.map +0 -1
  231. package/dist/features/monitoring/NotificationCenter.d.ts +0 -5
  232. package/dist/features/monitoring/NotificationCenter.d.ts.map +0 -1
  233. package/dist/features/monitoring/index.d.ts.map +0 -1
  234. package/dist/features/operations/CalibrationPage.d.ts +0 -9
  235. package/dist/features/operations/CalibrationPage.d.ts.map +0 -1
  236. package/dist/features/operations/CalibrationProjectDetailPage.d.ts +0 -43
  237. package/dist/features/operations/CalibrationProjectDetailPage.d.ts.map +0 -1
  238. package/dist/features/operations/CalibrationProjectsPage.d.ts +0 -10
  239. package/dist/features/operations/CalibrationProjectsPage.d.ts.map +0 -1
  240. package/dist/features/operations/CalibrationRunDetailPage.d.ts +0 -35
  241. package/dist/features/operations/CalibrationRunDetailPage.d.ts.map +0 -1
  242. package/dist/features/operations/CommandQueueDetailPage.d.ts +0 -16
  243. package/dist/features/operations/CommandQueueDetailPage.d.ts.map +0 -1
  244. package/dist/features/operations/CommandQueuePage.d.ts +0 -13
  245. package/dist/features/operations/CommandQueuePage.d.ts.map +0 -1
  246. package/dist/features/operations/CommandViewPage.d.ts +0 -6
  247. package/dist/features/operations/CommandViewPage.d.ts.map +0 -1
  248. package/dist/features/operations/CommandViewSidebarContent.d.ts +0 -19
  249. package/dist/features/operations/CommandViewSidebarContent.d.ts.map +0 -1
  250. package/dist/features/operations/ResourceDetailPage.d.ts +0 -25
  251. package/dist/features/operations/ResourceDetailPage.d.ts.map +0 -1
  252. package/dist/features/operations/ResourcesPage.d.ts +0 -15
  253. package/dist/features/operations/ResourcesPage.d.ts.map +0 -1
  254. package/dist/features/operations/ResourcesSidebar.d.ts +0 -9
  255. package/dist/features/operations/ResourcesSidebar.d.ts.map +0 -1
  256. package/dist/features/operations/calibration-components/ComparisonTable.d.ts +0 -9
  257. package/dist/features/operations/calibration-components/ComparisonTable.d.ts.map +0 -1
  258. package/dist/features/operations/executions/AgentExecutionPanel.d.ts +0 -12
  259. package/dist/features/operations/executions/AgentExecutionPanel.d.ts.map +0 -1
  260. package/dist/features/operations/executions/ExecutionPanel.d.ts +0 -13
  261. package/dist/features/operations/executions/ExecutionPanel.d.ts.map +0 -1
  262. package/dist/features/operations/executions/WorkflowExecutionPanel.d.ts +0 -12
  263. package/dist/features/operations/executions/WorkflowExecutionPanel.d.ts.map +0 -1
  264. package/dist/features/operations/executions/index.d.ts +0 -7
  265. package/dist/features/operations/executions/index.d.ts.map +0 -1
  266. package/dist/features/operations/index.d.ts.map +0 -1
  267. package/dist/features/operations/layouts/components/ResourceHeader.d.ts +0 -11
  268. package/dist/features/operations/layouts/components/ResourceHeader.d.ts.map +0 -1
  269. package/dist/features/operations/layouts/components/ResourceNotFoundState.d.ts +0 -8
  270. package/dist/features/operations/layouts/components/ResourceNotFoundState.d.ts.map +0 -1
  271. package/dist/features/operations/layouts/components/index.d.ts +0 -4
  272. package/dist/features/operations/layouts/components/index.d.ts.map +0 -1
  273. package/dist/features/settings/AccountSettings.d.ts +0 -20
  274. package/dist/features/settings/AccountSettings.d.ts.map +0 -1
  275. package/dist/features/settings/AppearanceSettings.d.ts +0 -23
  276. package/dist/features/settings/AppearanceSettings.d.ts.map +0 -1
  277. package/dist/features/settings/CreateWebhookEndpointModal.d.ts +0 -8
  278. package/dist/features/settings/CreateWebhookEndpointModal.d.ts.map +0 -1
  279. package/dist/features/settings/EditCredentialModal.d.ts +0 -9
  280. package/dist/features/settings/EditCredentialModal.d.ts.map +0 -1
  281. package/dist/features/settings/EditWebhookEndpointModal.d.ts +0 -8
  282. package/dist/features/settings/EditWebhookEndpointModal.d.ts.map +0 -1
  283. package/dist/features/settings/MemberConfigModal.d.ts +0 -14
  284. package/dist/features/settings/MemberConfigModal.d.ts.map +0 -1
  285. package/dist/features/settings/OAuthIntegrationsCard.d.ts +0 -6
  286. package/dist/features/settings/OAuthIntegrationsCard.d.ts.map +0 -1
  287. package/dist/features/settings/OrgMembersList.d.ts +0 -5
  288. package/dist/features/settings/OrgMembersList.d.ts.map +0 -1
  289. package/dist/features/settings/OrganizationSettings.d.ts +0 -30
  290. package/dist/features/settings/OrganizationSettings.d.ts.map +0 -1
  291. package/dist/features/settings/WebhookEndpointList.d.ts +0 -9
  292. package/dist/features/settings/WebhookEndpointList.d.ts.map +0 -1
  293. package/dist/features/settings/WebhookEndpointSettings.d.ts +0 -6
  294. package/dist/features/settings/WebhookEndpointSettings.d.ts.map +0 -1
  295. package/dist/features/settings/index.d.ts.map +0 -1
  296. package/dist/hooks/command-queue/index.d.ts +0 -7
  297. package/dist/hooks/command-queue/index.d.ts.map +0 -1
  298. package/dist/hooks/command-queue/useCommandQueue.d.ts +0 -33
  299. package/dist/hooks/command-queue/useCommandQueue.d.ts.map +0 -1
  300. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts +0 -17
  301. package/dist/hooks/command-queue/useCommandQueueTotals.d.ts.map +0 -1
  302. package/dist/hooks/command-queue/useDeleteTask.d.ts +0 -5
  303. package/dist/hooks/command-queue/useDeleteTask.d.ts.map +0 -1
  304. package/dist/hooks/command-queue/usePatchTask.d.ts +0 -6
  305. package/dist/hooks/command-queue/usePatchTask.d.ts.map +0 -1
  306. package/dist/hooks/command-queue/useSubmitAction.d.ts +0 -29
  307. package/dist/hooks/command-queue/useSubmitAction.d.ts.map +0 -1
  308. package/dist/hooks/executions/index.d.ts +0 -17
  309. package/dist/hooks/executions/index.d.ts.map +0 -1
  310. package/dist/hooks/executions/useArchivedLogs.d.ts +0 -14
  311. package/dist/hooks/executions/useArchivedLogs.d.ts.map +0 -1
  312. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts +0 -15
  313. package/dist/hooks/executions/useBulkDeleteExecutions.d.ts.map +0 -1
  314. package/dist/hooks/executions/useCancelExecution.d.ts +0 -20
  315. package/dist/hooks/executions/useCancelExecution.d.ts.map +0 -1
  316. package/dist/hooks/executions/useDeleteExecution.d.ts +0 -13
  317. package/dist/hooks/executions/useDeleteExecution.d.ts.map +0 -1
  318. package/dist/hooks/executions/useExecuteAsync.d.ts +0 -21
  319. package/dist/hooks/executions/useExecuteAsync.d.ts.map +0 -1
  320. package/dist/hooks/executions/useExecution.d.ts +0 -10
  321. package/dist/hooks/executions/useExecution.d.ts.map +0 -1
  322. package/dist/hooks/executions/useExecutions.d.ts +0 -16
  323. package/dist/hooks/executions/useExecutions.d.ts.map +0 -1
  324. package/dist/hooks/executions/useResourceDefinition.d.ts +0 -9
  325. package/dist/hooks/executions/useResourceDefinition.d.ts.map +0 -1
  326. package/dist/hooks/executions/useResources.d.ts +0 -15
  327. package/dist/hooks/executions/useResources.d.ts.map +0 -1
  328. package/dist/hooks/executions/useRetryExecution.d.ts +0 -16
  329. package/dist/hooks/executions/useRetryExecution.d.ts.map +0 -1
  330. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts +0 -41
  331. package/dist/hooks/feature-access/createUseFeatureAccess.d.ts.map +0 -1
  332. package/dist/hooks/feature-access/index.d.ts +0 -2
  333. package/dist/hooks/feature-access/index.d.ts.map +0 -1
  334. package/dist/hooks/index.d.ts.map +0 -1
  335. package/dist/hooks/monitoring/index.d.ts +0 -11
  336. package/dist/hooks/monitoring/index.d.ts.map +0 -1
  337. package/dist/hooks/monitoring/useActivities.d.ts +0 -52
  338. package/dist/hooks/monitoring/useActivities.d.ts.map +0 -1
  339. package/dist/hooks/monitoring/useCostSummary.d.ts +0 -7
  340. package/dist/hooks/monitoring/useCostSummary.d.ts.map +0 -1
  341. package/dist/hooks/monitoring/useExecutionHealth.d.ts +0 -10
  342. package/dist/hooks/monitoring/useExecutionHealth.d.ts.map +0 -1
  343. package/dist/hooks/monitoring/useExecutionLogs.d.ts +0 -56
  344. package/dist/hooks/monitoring/useExecutionLogs.d.ts.map +0 -1
  345. package/dist/hooks/monitoring/useNotificationCount.d.ts +0 -26
  346. package/dist/hooks/monitoring/useNotificationCount.d.ts.map +0 -1
  347. package/dist/hooks/monitoring/useNotifications.d.ts +0 -11
  348. package/dist/hooks/monitoring/useNotifications.d.ts.map +0 -1
  349. package/dist/hooks/notifications/index.d.ts +0 -8
  350. package/dist/hooks/notifications/index.d.ts.map +0 -1
  351. package/dist/hooks/notifications/useMarkAllAsRead.d.ts +0 -2
  352. package/dist/hooks/notifications/useMarkAllAsRead.d.ts.map +0 -1
  353. package/dist/hooks/notifications/useMarkAsRead.d.ts +0 -2
  354. package/dist/hooks/notifications/useMarkAsRead.d.ts.map +0 -1
  355. package/dist/hooks/notifications/useTestNotification.d.ts +0 -16
  356. package/dist/hooks/notifications/useTestNotification.d.ts.map +0 -1
  357. package/dist/hooks/observability/index.d.ts +0 -25
  358. package/dist/hooks/observability/index.d.ts.map +0 -1
  359. package/dist/hooks/observability/useBatchedResourcesHealth.d.ts +0 -15
  360. package/dist/hooks/observability/useBatchedResourcesHealth.d.ts.map +0 -1
  361. package/dist/hooks/observability/useBusinessImpact.d.ts +0 -9
  362. package/dist/hooks/observability/useBusinessImpact.d.ts.map +0 -1
  363. package/dist/hooks/observability/useCostBreakdown.d.ts +0 -10
  364. package/dist/hooks/observability/useCostBreakdown.d.ts.map +0 -1
  365. package/dist/hooks/observability/useCostByModel.d.ts +0 -3
  366. package/dist/hooks/observability/useCostByModel.d.ts.map +0 -1
  367. package/dist/hooks/observability/useCostTrends.d.ts +0 -3
  368. package/dist/hooks/observability/useCostTrends.d.ts.map +0 -1
  369. package/dist/hooks/observability/useDashboardMetrics.d.ts +0 -3
  370. package/dist/hooks/observability/useDashboardMetrics.d.ts.map +0 -1
  371. package/dist/hooks/observability/useErrorAnalysis.d.ts +0 -7
  372. package/dist/hooks/observability/useErrorAnalysis.d.ts.map +0 -1
  373. package/dist/hooks/observability/useErrorDetails.d.ts +0 -20
  374. package/dist/hooks/observability/useErrorDetails.d.ts.map +0 -1
  375. package/dist/hooks/observability/useErrorDistribution.d.ts +0 -12
  376. package/dist/hooks/observability/useErrorDistribution.d.ts.map +0 -1
  377. package/dist/hooks/observability/useErrorTrends.d.ts +0 -12
  378. package/dist/hooks/observability/useErrorTrends.d.ts.map +0 -1
  379. package/dist/hooks/observability/useRecentExecutionsByResource.d.ts +0 -18
  380. package/dist/hooks/observability/useRecentExecutionsByResource.d.ts.map +0 -1
  381. package/dist/hooks/observability/useResolveError.d.ts +0 -17
  382. package/dist/hooks/observability/useResolveError.d.ts.map +0 -1
  383. package/dist/hooks/observability/useResourcesHealth.d.ts +0 -13
  384. package/dist/hooks/observability/useResourcesHealth.d.ts.map +0 -1
  385. package/dist/hooks/observability/useTopFailingResources.d.ts +0 -13
  386. package/dist/hooks/observability/useTopFailingResources.d.ts.map +0 -1
  387. package/dist/hooks/observability/useUnresolvedErrors.d.ts +0 -15
  388. package/dist/hooks/observability/useUnresolvedErrors.d.ts.map +0 -1
  389. package/dist/hooks/operations/calibration/useCalibrationProjects.d.ts +0 -24
  390. package/dist/hooks/operations/calibration/useCalibrationProjects.d.ts.map +0 -1
  391. package/dist/hooks/operations/calibration/useCalibrationRunFull.d.ts +0 -3
  392. package/dist/hooks/operations/calibration/useCalibrationRunFull.d.ts.map +0 -1
  393. package/dist/hooks/operations/calibration/useCalibrationRuns.d.ts +0 -35
  394. package/dist/hooks/operations/calibration/useCalibrationRuns.d.ts.map +0 -1
  395. package/dist/hooks/operations/command-view/index.d.ts +0 -8
  396. package/dist/hooks/operations/command-view/index.d.ts.map +0 -1
  397. package/dist/hooks/operations/command-view/useCheckpointTasks.d.ts +0 -24
  398. package/dist/hooks/operations/command-view/useCheckpointTasks.d.ts.map +0 -1
  399. package/dist/hooks/operations/command-view/useCommandViewData.d.ts +0 -11
  400. package/dist/hooks/operations/command-view/useCommandViewData.d.ts.map +0 -1
  401. package/dist/hooks/operations/command-view/useCommandViewStats.d.ts +0 -12
  402. package/dist/hooks/operations/command-view/useCommandViewStats.d.ts.map +0 -1
  403. package/dist/hooks/operations/command-view/useResourceErrors.d.ts +0 -22
  404. package/dist/hooks/operations/command-view/useResourceErrors.d.ts.map +0 -1
  405. package/dist/hooks/operations/command-view/useResourceExecutions.d.ts +0 -22
  406. package/dist/hooks/operations/command-view/useResourceExecutions.d.ts.map +0 -1
  407. package/dist/hooks/operations/index.d.ts +0 -4
  408. package/dist/hooks/operations/index.d.ts.map +0 -1
  409. package/dist/hooks/operations/knowledge-base/index.d.ts +0 -3
  410. package/dist/hooks/operations/knowledge-base/index.d.ts.map +0 -1
  411. package/dist/hooks/operations/knowledge-base/useDeploymentDocs.d.ts +0 -27
  412. package/dist/hooks/operations/knowledge-base/useDeploymentDocs.d.ts.map +0 -1
  413. package/dist/hooks/operations/settings/index.d.ts +0 -4
  414. package/dist/hooks/operations/settings/index.d.ts.map +0 -1
  415. package/dist/hooks/operations/settings/useOAuthFlow.d.ts +0 -17
  416. package/dist/hooks/operations/settings/useOAuthFlow.d.ts.map +0 -1
  417. package/dist/hooks/operations/settings/useUpdateThemePreference.d.ts +0 -17
  418. package/dist/hooks/operations/settings/useUpdateThemePreference.d.ts.map +0 -1
  419. package/dist/hooks/operations/shared/index.d.ts +0 -6
  420. package/dist/hooks/operations/shared/index.d.ts.map +0 -1
  421. package/dist/hooks/operations/shared/queryKeys.d.ts +0 -23
  422. package/dist/hooks/operations/shared/queryKeys.d.ts.map +0 -1
  423. package/dist/hooks/operations/shared/useExecutionLogSSE.d.ts +0 -11
  424. package/dist/hooks/operations/shared/useExecutionLogSSE.d.ts.map +0 -1
  425. package/dist/hooks/operations/shared/useExecutionPanelState.d.ts +0 -46
  426. package/dist/hooks/operations/shared/useExecutionPanelState.d.ts.map +0 -1
  427. package/dist/hooks/published.d.ts.map +0 -1
  428. package/dist/hooks/scheduling/index.d.ts +0 -7
  429. package/dist/hooks/scheduling/index.d.ts.map +0 -1
  430. package/dist/hooks/scheduling/useScheduledTasks.d.ts +0 -19
  431. package/dist/hooks/scheduling/useScheduledTasks.d.ts.map +0 -1
  432. package/dist/hooks/scheduling/useSchedules.d.ts +0 -185
  433. package/dist/hooks/scheduling/useSchedules.d.ts.map +0 -1
  434. package/dist/hooks/sessions/index.d.ts +0 -8
  435. package/dist/hooks/sessions/index.d.ts.map +0 -1
  436. package/dist/hooks/sessions/useSessionExecutions.d.ts +0 -13
  437. package/dist/hooks/sessions/useSessionExecutions.d.ts.map +0 -1
  438. package/dist/hooks/sessions/useSessionMessages.d.ts +0 -7
  439. package/dist/hooks/sessions/useSessionMessages.d.ts.map +0 -1
  440. package/dist/hooks/sessions/useSessions.d.ts +0 -26
  441. package/dist/hooks/sessions/useSessions.d.ts.map +0 -1
  442. package/dist/hooks/settings/api-keys/index.d.ts +0 -7
  443. package/dist/hooks/settings/api-keys/index.d.ts.map +0 -1
  444. package/dist/hooks/settings/api-keys/useCreateApiKey.d.ts +0 -3
  445. package/dist/hooks/settings/api-keys/useCreateApiKey.d.ts.map +0 -1
  446. package/dist/hooks/settings/api-keys/useDeleteApiKey.d.ts +0 -2
  447. package/dist/hooks/settings/api-keys/useDeleteApiKey.d.ts.map +0 -1
  448. package/dist/hooks/settings/api-keys/useListApiKeys.d.ts +0 -2
  449. package/dist/hooks/settings/api-keys/useListApiKeys.d.ts.map +0 -1
  450. package/dist/hooks/settings/api-keys/useUpdateApiKey.d.ts +0 -5
  451. package/dist/hooks/settings/api-keys/useUpdateApiKey.d.ts.map +0 -1
  452. package/dist/hooks/settings/credentials/index.d.ts +0 -7
  453. package/dist/hooks/settings/credentials/index.d.ts.map +0 -1
  454. package/dist/hooks/settings/credentials/useCreateCredential.d.ts +0 -3
  455. package/dist/hooks/settings/credentials/useCreateCredential.d.ts.map +0 -1
  456. package/dist/hooks/settings/credentials/useCredentials.d.ts +0 -8
  457. package/dist/hooks/settings/credentials/useCredentials.d.ts.map +0 -1
  458. package/dist/hooks/settings/credentials/useDeleteCredential.d.ts +0 -2
  459. package/dist/hooks/settings/credentials/useDeleteCredential.d.ts.map +0 -1
  460. package/dist/hooks/settings/credentials/useUpdateCredential.d.ts +0 -10
  461. package/dist/hooks/settings/credentials/useUpdateCredential.d.ts.map +0 -1
  462. package/dist/hooks/settings/deployments/index.d.ts +0 -5
  463. package/dist/hooks/settings/deployments/index.d.ts.map +0 -1
  464. package/dist/hooks/settings/deployments/useDeploymentActions.d.ts +0 -4
  465. package/dist/hooks/settings/deployments/useDeploymentActions.d.ts.map +0 -1
  466. package/dist/hooks/settings/deployments/useListDeployments.d.ts +0 -2
  467. package/dist/hooks/settings/deployments/useListDeployments.d.ts.map +0 -1
  468. package/dist/hooks/settings/index.d.ts +0 -6
  469. package/dist/hooks/settings/index.d.ts.map +0 -1
  470. package/dist/hooks/settings/organization/index.d.ts +0 -6
  471. package/dist/hooks/settings/organization/index.d.ts.map +0 -1
  472. package/dist/hooks/settings/organization/useDeactivateMembership.d.ts +0 -11
  473. package/dist/hooks/settings/organization/useDeactivateMembership.d.ts.map +0 -1
  474. package/dist/hooks/settings/organization/useReactivateMembership.d.ts +0 -11
  475. package/dist/hooks/settings/organization/useReactivateMembership.d.ts.map +0 -1
  476. package/dist/hooks/settings/organization/useUpdateMemberConfig.d.ts +0 -8
  477. package/dist/hooks/settings/organization/useUpdateMemberConfig.d.ts.map +0 -1
  478. package/dist/hooks/settings/organization/useUserMemberships.d.ts +0 -3
  479. package/dist/hooks/settings/organization/useUserMemberships.d.ts.map +0 -1
  480. package/dist/hooks/settings/webhooks/index.d.ts +0 -7
  481. package/dist/hooks/settings/webhooks/index.d.ts.map +0 -1
  482. package/dist/hooks/settings/webhooks/useCreateWebhookEndpoint.d.ts +0 -18
  483. package/dist/hooks/settings/webhooks/useCreateWebhookEndpoint.d.ts.map +0 -1
  484. package/dist/hooks/settings/webhooks/useDeleteWebhookEndpoint.d.ts +0 -2
  485. package/dist/hooks/settings/webhooks/useDeleteWebhookEndpoint.d.ts.map +0 -1
  486. package/dist/hooks/settings/webhooks/useListWebhookEndpoints.d.ts +0 -14
  487. package/dist/hooks/settings/webhooks/useListWebhookEndpoints.d.ts.map +0 -1
  488. package/dist/hooks/settings/webhooks/useUpdateWebhookEndpoint.d.ts +0 -18
  489. package/dist/hooks/settings/webhooks/useUpdateWebhookEndpoint.d.ts.map +0 -1
  490. package/dist/hooks/settings/webhooks/webhookEndpointService.d.ts +0 -27
  491. package/dist/hooks/settings/webhooks/webhookEndpointService.d.ts.map +0 -1
  492. package/dist/hooks/useOrganizationMembers.d.ts +0 -18
  493. package/dist/hooks/useOrganizationMembers.d.ts.map +0 -1
  494. package/dist/index.d.ts.map +0 -1
  495. package/dist/initialization/InitializationProvider.d.ts +0 -48
  496. package/dist/initialization/InitializationProvider.d.ts.map +0 -1
  497. package/dist/initialization/hooks/useAppInitialization.d.ts +0 -32
  498. package/dist/initialization/hooks/useAppInitialization.d.ts.map +0 -1
  499. package/dist/initialization/index.d.ts.map +0 -1
  500. package/dist/organization/context/OrganizationProvider.d.ts +0 -24
  501. package/dist/organization/context/OrganizationProvider.d.ts.map +0 -1
  502. package/dist/organization/hooks/useOrgInitialization.d.ts +0 -56
  503. package/dist/organization/hooks/useOrgInitialization.d.ts.map +0 -1
  504. package/dist/organization/index.d.ts.map +0 -1
  505. package/dist/profile/context/ProfileProvider.d.ts +0 -31
  506. package/dist/profile/context/ProfileProvider.d.ts.map +0 -1
  507. package/dist/profile/hooks/useUserProfile.d.ts +0 -38
  508. package/dist/profile/hooks/useUserProfile.d.ts.map +0 -1
  509. package/dist/profile/index.d.ts.map +0 -1
  510. package/dist/provider/CoreAuthKitInner.d.ts +0 -12
  511. package/dist/provider/CoreAuthKitInner.d.ts.map +0 -1
  512. package/dist/provider/ElevasisCoreProvider.d.ts +0 -25
  513. package/dist/provider/ElevasisCoreProvider.d.ts.map +0 -1
  514. package/dist/provider/ElevasisServiceContext.d.ts +0 -31
  515. package/dist/provider/ElevasisServiceContext.d.ts.map +0 -1
  516. package/dist/provider/ElevasisUIProvider.d.ts +0 -28
  517. package/dist/provider/ElevasisUIProvider.d.ts.map +0 -1
  518. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts +0 -2
  519. package/dist/provider/__tests__/CoreAuthKitInner.test.d.ts.map +0 -1
  520. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts +0 -2
  521. package/dist/provider/__tests__/ElevasisCoreProvider.test.d.ts.map +0 -1
  522. package/dist/provider/index.d.ts.map +0 -1
  523. package/dist/provider/published.d.ts.map +0 -1
  524. package/dist/provider/types.d.ts +0 -151
  525. package/dist/provider/types.d.ts.map +0 -1
  526. package/dist/sdk-barrel.d.ts +0 -20
  527. package/dist/sdk-barrel.d.ts.map +0 -1
  528. package/dist/theme/PresetsContext.d.ts +0 -4
  529. package/dist/theme/PresetsContext.d.ts.map +0 -1
  530. package/dist/theme/cssVariables.d.ts +0 -12
  531. package/dist/theme/cssVariables.d.ts.map +0 -1
  532. package/dist/theme/index.d.ts.map +0 -1
  533. package/dist/theme/presets/__tests__/getPreset.test.d.ts +0 -2
  534. package/dist/theme/presets/__tests__/getPreset.test.d.ts.map +0 -1
  535. package/dist/theme/presets/abyss.d.ts +0 -3
  536. package/dist/theme/presets/abyss.d.ts.map +0 -1
  537. package/dist/theme/presets/aurora.d.ts +0 -12
  538. package/dist/theme/presets/aurora.d.ts.map +0 -1
  539. package/dist/theme/presets/canopy.d.ts +0 -12
  540. package/dist/theme/presets/canopy.d.ts.map +0 -1
  541. package/dist/theme/presets/canyon.d.ts +0 -11
  542. package/dist/theme/presets/canyon.d.ts.map +0 -1
  543. package/dist/theme/presets/cortex.d.ts +0 -3
  544. package/dist/theme/presets/cortex.d.ts.map +0 -1
  545. package/dist/theme/presets/cyber-punk.d.ts +0 -11
  546. package/dist/theme/presets/cyber-punk.d.ts.map +0 -1
  547. package/dist/theme/presets/cyber-strike.d.ts +0 -13
  548. package/dist/theme/presets/cyber-strike.d.ts.map +0 -1
  549. package/dist/theme/presets/cyber-void.d.ts +0 -12
  550. package/dist/theme/presets/cyber-void.d.ts.map +0 -1
  551. package/dist/theme/presets/cyber-volt.d.ts +0 -12
  552. package/dist/theme/presets/cyber-volt.d.ts.map +0 -1
  553. package/dist/theme/presets/default.d.ts +0 -4
  554. package/dist/theme/presets/default.d.ts.map +0 -1
  555. package/dist/theme/presets/ember.d.ts +0 -12
  556. package/dist/theme/presets/ember.d.ts.map +0 -1
  557. package/dist/theme/presets/helios.d.ts +0 -3
  558. package/dist/theme/presets/helios.d.ts.map +0 -1
  559. package/dist/theme/presets/honey.d.ts +0 -12
  560. package/dist/theme/presets/honey.d.ts.map +0 -1
  561. package/dist/theme/presets/index.d.ts +0 -8
  562. package/dist/theme/presets/index.d.ts.map +0 -1
  563. package/dist/theme/presets/midnight.d.ts +0 -12
  564. package/dist/theme/presets/midnight.d.ts.map +0 -1
  565. package/dist/theme/presets/nirvana.d.ts +0 -16
  566. package/dist/theme/presets/nirvana.d.ts.map +0 -1
  567. package/dist/theme/presets/obsidian.d.ts +0 -3
  568. package/dist/theme/presets/obsidian.d.ts.map +0 -1
  569. package/dist/theme/presets/regal.d.ts +0 -8
  570. package/dist/theme/presets/regal.d.ts.map +0 -1
  571. package/dist/theme/presets/rose-gold.d.ts +0 -12
  572. package/dist/theme/presets/rose-gold.d.ts.map +0 -1
  573. package/dist/theme/presets/slate.d.ts +0 -3
  574. package/dist/theme/presets/slate.d.ts.map +0 -1
  575. package/dist/theme/presets/tactical.d.ts +0 -8
  576. package/dist/theme/presets/tactical.d.ts.map +0 -1
  577. package/dist/theme/presets/types.d.ts +0 -43
  578. package/dist/theme/presets/types.d.ts.map +0 -1
  579. package/dist/theme/presets/verdant.d.ts +0 -3
  580. package/dist/theme/presets/verdant.d.ts.map +0 -1
  581. package/dist/theme/presets/wave.d.ts +0 -14
  582. package/dist/theme/presets/wave.d.ts.map +0 -1
  583. package/dist/theme/useAvailablePresets.d.ts +0 -16
  584. package/dist/theme/useAvailablePresets.d.ts.map +0 -1
@@ -1,16 +1,176 @@
1
+ import * as react from 'react';
2
+ import { ReactNode } from 'react';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+
5
+ interface AuthContextValue {
6
+ user: {
7
+ id: string;
8
+ } | null;
9
+ isLoading: boolean;
10
+ getAccessToken: () => Promise<string>;
11
+ organizationId?: string | null;
12
+ /**
13
+ * Trigger WorkOS AuthKit's sign-in flow (redirect to WorkOS hosted auth page).
14
+ * Used by ProtectedRoute for auto-recovery when `canRecover()` returns true.
15
+ */
16
+ signIn: (options?: {
17
+ state?: {
18
+ returnTo?: string;
19
+ };
20
+ }) => void;
21
+ /**
22
+ * Returns true when a previous session can be recovered (refresh token
23
+ * exists in storage). ProtectedRoute calls `signIn()` only when this returns
24
+ * true; otherwise it navigates to the login page.
25
+ *
26
+ * Explicit logout clears the stored token, so canRecover() returns false
27
+ * and the user sees the login page as expected.
28
+ */
29
+ canRecover: () => boolean;
30
+ }
31
+ declare function useAuthContext(): AuthContextValue;
32
+ declare function AuthProvider({ value, children }: {
33
+ value: AuthContextValue;
34
+ children: ReactNode;
35
+ }): react.FunctionComponentElement<react.ProviderProps<AuthContextValue | null>>;
36
+
1
37
  /**
2
- * Auth module - Pure authentication concerns
3
- *
4
- * Exports:
5
- * - AuthContextValue: Interface for auth state (user, isLoading, getAccessToken, organizationId, signIn, canRecover)
6
- * - AuthProvider: React context provider for AuthContextValue
7
- * - useAuthContext: Hook to consume AuthContextValue from context
8
- * - useStableAccessToken: Stable reference to getAccessToken for SSE connections
9
- * - useSessionCheck: Validates session on tab refocus
38
+ * Returns a stable reference to getAccessToken that won't change between renders
39
+ *
40
+ * This prevents SSE connections from reconnecting unnecessarily when the
41
+ * WorkOS useAuth hook returns a new getAccessToken function reference
42
+ *
43
+ * @example
44
+ * ```tsx
45
+ * const getAccessToken = useStableAccessToken()
46
+ *
47
+ * useEffect(() => {
48
+ * fetchEventSourceWithTokenRefresh({
49
+ * getToken: getAccessToken,
50
+ * // ...
51
+ * })
52
+ * }, [getAccessToken]) // Won't re-run on every render
53
+ * ```
54
+ */
55
+ declare function useStableAccessToken(): () => Promise<string>;
56
+
57
+ /**
58
+ * Checks WorkOS session validity when window/tab regains focus
59
+ *
60
+ * When window or tab becomes visible after inactivity, validates session
61
+ * by attempting to get access token. If session expired (WorkOS inactivity
62
+ * timeout exceeded), signs out user and redirects to login.
63
+ *
64
+ * How it works:
65
+ * 1. Window/tab regains focus after inactivity
66
+ * 2. Cancel all pending queries to prevent 401 error cascade
67
+ * 3. Attempt to get access token from WorkOS
68
+ * 4. If successful: Resume queries with fresh token
69
+ * 5. If failed (session expired): Sign out and redirect to login
70
+ *
71
+ * @example
72
+ * // In __root.tsx
73
+ * export function RootLayoutComponent() {
74
+ * useSessionCheck()
75
+ * return <YourApp />
76
+ * }
77
+ */
78
+ declare function useSessionCheck(): void;
79
+
80
+ interface InitializationError {
81
+ layer: 'auth' | 'profile' | 'organization';
82
+ message: string;
83
+ originalError?: Error;
84
+ }
85
+
86
+ interface ProtectedRouteProps {
87
+ children: ReactNode;
88
+ /**
89
+ * Path to redirect to when user is unauthenticated and the auth adapter
90
+ * does not provide a `signIn` function.
91
+ * @default '/login'
92
+ */
93
+ redirectTo?: string;
94
+ /**
95
+ * Rendered while initialization is in progress.
96
+ * When not provided, nothing is rendered during initialization.
97
+ */
98
+ fallback?: ReactNode;
99
+ /**
100
+ * Rendered when initialization fails with a non-organization error.
101
+ * Receives the error and a retry callback.
102
+ * When not provided, the error is silently swallowed (children not rendered).
103
+ */
104
+ errorFallback?: (error: InitializationError, retry: () => void) => ReactNode;
105
+ /**
106
+ * When true (default), waits for both user AND organization to be ready
107
+ * before rendering children. When false, only waits for user readiness.
108
+ * @default true
109
+ */
110
+ waitForOrganization?: boolean;
111
+ }
112
+ /**
113
+ * Headless route guard for authenticated pages.
114
+ *
115
+ * Reads initialization state from the nearest InitializationProvider.
116
+ *
117
+ * When `canRecover()` returns true (refresh token exists), unauthenticated users
118
+ * are sent directly to WorkOS AuthKit via `signIn()`. WorkOS checks its
119
+ * server-side session and either signs the user in immediately (page-reload case)
120
+ * or shows a login form (logged-out case). Explicit logout destroys the
121
+ * server-side session, so the next auto-signIn correctly presents a login form
122
+ * rather than looping.
123
+ *
124
+ * When `canRecover()` returns false, falls back to navigating to `redirectTo`
125
+ * (default: '/login') with a `returnTo` search param.
126
+ *
127
+ * Organization-layer errors are allowed through -- routes like /invitations
128
+ * must be accessible even when the user has no org membership.
129
+ *
130
+ * @example
131
+ * // With custom fallback (your Mantine loader):
132
+ * <ProtectedRoute fallback={<AppShellLoader />}>
133
+ * <DashboardPage />
134
+ * </ProtectedRoute>
135
+ *
136
+ * @example
137
+ * // Wait only for user, not org (e.g. /invitations route):
138
+ * <ProtectedRoute waitForOrganization={false}>
139
+ * <InvitationsPage />
140
+ * </ProtectedRoute>
141
+ */
142
+ declare function ProtectedRoute({ children, redirectTo, fallback, errorFallback, waitForOrganization }: ProtectedRouteProps): react_jsx_runtime.JSX.Element | null;
143
+
144
+ interface AdminGuardProps {
145
+ children: ReactNode;
146
+ /**
147
+ * Path to redirect non-admin users to.
148
+ * @default '/'
149
+ */
150
+ redirectTo?: string;
151
+ /**
152
+ * Rendered while user readiness is being determined.
153
+ * When not provided, nothing is rendered during initialization.
154
+ */
155
+ fallback?: ReactNode;
156
+ }
157
+ /**
158
+ * Headless route guard for platform admin pages.
159
+ *
160
+ * Reads `profile.is_platform_admin` from the nearest InitializationProvider.
161
+ * Non-admin users are redirected to `redirectTo` (default: '/').
162
+ *
163
+ * Must be nested inside a ProtectedRoute (or equivalent) so that
164
+ * `userReady` is guaranteed to be true when this guard runs.
165
+ *
166
+ * @example
167
+ * <ProtectedRoute>
168
+ * <AdminGuard fallback={<AppShellLoader />}>
169
+ * <AdminDashboard />
170
+ * </AdminGuard>
171
+ * </ProtectedRoute>
10
172
  */
11
- export { AuthProvider, useAuthContext, type AuthContextValue } from './context';
12
- export * from './hooks/useStableAccessToken';
13
- export * from './hooks/useSessionCheck';
14
- export { ProtectedRoute, type ProtectedRouteProps } from './guards/ProtectedRoute';
15
- export { AdminGuard, type AdminGuardProps } from './guards/AdminGuard';
16
- //# sourceMappingURL=index.d.ts.map
173
+ declare function AdminGuard({ children, redirectTo, fallback }: AdminGuardProps): react_jsx_runtime.JSX.Element | null;
174
+
175
+ export { AdminGuard, AuthProvider, ProtectedRoute, useAuthContext, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken };
176
+ export type { AdminGuardProps, AuthContextValue, ProtectedRouteProps };
@@ -1,5 +1,6 @@
1
- export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-ERVB3QJQ.js';
2
- import '../chunk-AWMZCYKH.js';
1
+ export { ActivityTrendChart, ChartFrame, CombinedTrendChart, CostTrendChart, CyberAreaChart, CyberDonut, CyberDonutTooltip, CyberLegendItem, HeroStatsRow, getSeriesColor, useCyberColors } from '../chunk-FVBYSDM4.js';
2
+ import '../chunk-BC6TJEON.js';
3
+ import '../chunk-3KMDHCAR.js';
3
4
  import '../chunk-NNKKBSJN.js';
4
5
  import '../chunk-QJ2S46NI.js';
5
6
  import '../chunk-LXHZYSMQ.js';
@@ -1,4 +1,4 @@
1
- import { usePresetsContext } from './chunk-BX565EOK.js';
1
+ import { usePresetsContext } from './chunk-MOBXWBES.js';
2
2
  import { useMemo } from 'react';
3
3
 
4
4
  var BUILT_IN_NAMES = /* @__PURE__ */ new Set([
@@ -3,7 +3,7 @@ import { useComputedColorScheme } from '@mantine/core';
3
3
 
4
4
  // src/components/layout/backgrounds/PerspectiveGrid.tsx
5
5
  var SUBTLE_DEFAULT_GLOW = "color-mix(in srgb, color-mix(in srgb, var(--color-primary) 20%, var(--color-border)) 30%, transparent)";
6
- var PROMINENT_DEFAULT_GLOW = "color-mix(in srgb, var(--color-primary) 28%, transparent)";
6
+ var PROMINENT_DEFAULT_GLOW = "color-mix(in srgb, var(--color-primary) 22%, transparent)";
7
7
  function PerspectiveGrid({
8
8
  glowColor: glowColorProp,
9
9
  lineColor: lineColorProp,
@@ -483,7 +483,7 @@ function CyberParticles({ variant: _variant, className }) {
483
483
  );
484
484
  }
485
485
  function CyberBackground({ variant }) {
486
- const glowColor = variant === "volt" ? "color-mix(in srgb, var(--color-primary) 16%, transparent)" : void 0;
486
+ const glowColor = variant === "volt" ? "color-mix(in srgb, var(--color-primary) 12%, transparent)" : void 0;
487
487
  return /* @__PURE__ */ jsxs(Fragment, { children: [
488
488
  /* @__PURE__ */ jsx(PerspectiveGrid, { lineColor: "var(--color-border)", prominentGlow: true, glowColor }),
489
489
  /* @__PURE__ */ jsx(RadiantGlow, {}),
@@ -0,0 +1,52 @@
1
+ import { Text, Box, Code, Title } from '@mantine/core';
2
+ import Markdown from 'react-markdown';
3
+ import { Prism } from 'react-syntax-highlighter';
4
+ import { oneDark } from 'react-syntax-highlighter/dist/esm/styles/prism';
5
+ import { jsx, Fragment } from 'react/jsx-runtime';
6
+
7
+ // src/components/display/StyledMarkdown.tsx
8
+ var customCodeTheme = Object.fromEntries(
9
+ Object.entries(oneDark).map(([key, value]) => [
10
+ key,
11
+ typeof value === "object" && value !== null ? { ...value, background: "none", backgroundColor: "none" } : value
12
+ ])
13
+ );
14
+ var defaultComponents = {
15
+ h1: ({ children }) => /* @__PURE__ */ jsx(Title, { order: 3, c: "var(--color-primary)", mb: "xs", mt: "md", children }),
16
+ h2: ({ children }) => /* @__PURE__ */ jsx(Title, { order: 4, c: "var(--color-primary)", mb: "xs", mt: "sm", children }),
17
+ ul: ({ children }) => /* @__PURE__ */ jsx("ul", { style: { margin: "0.5rem 0", paddingLeft: "1.5rem" }, children }),
18
+ ol: ({ children }) => /* @__PURE__ */ jsx("ol", { style: { margin: "0.5rem 0", paddingLeft: "1.5rem" }, children }),
19
+ li: ({ children }) => /* @__PURE__ */ jsx("li", { style: { marginBottom: "0.25rem", fontSize: "var(--mantine-font-size-sm)" }, children }),
20
+ code: ({ className, children, ...props }) => {
21
+ const match = /language-(\w+)/.exec(className || "");
22
+ const codeString = String(children).replace(/\n$/, "");
23
+ if (match) {
24
+ return /* @__PURE__ */ jsx(
25
+ Prism,
26
+ {
27
+ style: customCodeTheme,
28
+ language: match[1],
29
+ PreTag: "div",
30
+ customStyle: {
31
+ margin: "0.5rem 0",
32
+ borderRadius: "var(--mantine-radius-default)",
33
+ fontSize: "0.8rem"
34
+ },
35
+ children: codeString
36
+ }
37
+ );
38
+ }
39
+ return /* @__PURE__ */ jsx(Code, { ...props, children });
40
+ },
41
+ pre: ({ children }) => /* @__PURE__ */ jsx(Fragment, { children }),
42
+ blockquote: ({ children }) => /* @__PURE__ */ jsx(Box, { pl: "sm", my: "xs", style: { borderLeft: "2px solid var(--color-border)" }, children }),
43
+ p: ({ children }) => /* @__PURE__ */ jsx(Text, { size: "sm", m: 0, children }),
44
+ strong: ({ children }) => /* @__PURE__ */ jsx(Text, { component: "span", fw: 700, children }),
45
+ em: ({ children }) => /* @__PURE__ */ jsx(Text, { component: "span", fs: "italic", children })
46
+ };
47
+ function StyledMarkdown({ children, components, className, style }) {
48
+ const mergedComponents = components ? { ...defaultComponents, ...components } : defaultComponents;
49
+ return /* @__PURE__ */ jsx("div", { className, style, children: /* @__PURE__ */ jsx(Markdown, { components: mergedComponents, children }) });
50
+ }
51
+
52
+ export { StyledMarkdown };
@@ -0,0 +1,255 @@
1
+ import { sidebarGroupChevronSize, sidebarIconInnerSize, sidebarListItemIconSize } from './chunk-QJ2S46NI.js';
2
+ import { useAppearance } from './chunk-QJ2KCHKX.js';
3
+ import { Container, Stack, Box, UnstyledButton, Group, Text, Collapse, Center } from '@mantine/core';
4
+ import { jsx, jsxs } from 'react/jsx-runtime';
5
+ import { IconChevronDown, IconChevronRight } from '@tabler/icons-react';
6
+
7
+ var PageContainer = ({ children }) => {
8
+ return (
9
+ // Add padding to the top of the container to adjust for the topbar height
10
+ /* @__PURE__ */ jsx(Container, { size: "xl", p: 0, w: "100%", children: /* @__PURE__ */ jsx(Stack, { gap: "lg", children }) })
11
+ );
12
+ };
13
+ var activeColor = "var(--color-primary)";
14
+ var defaultTextColor = "var(--color-text)";
15
+ var subtleColor = "var(--color-text-subtle)";
16
+ var activeBg = `color-mix(in srgb, ${activeColor} 10%, transparent)`;
17
+ var CollapsibleSidebarGroup = ({
18
+ icon: Icon,
19
+ label,
20
+ isExpanded,
21
+ onToggle,
22
+ isActive = false,
23
+ badge,
24
+ children,
25
+ onLabelClick,
26
+ emptyMessage = "No items",
27
+ isEmpty = false,
28
+ isLoading = false,
29
+ loadingComponent
30
+ }) => {
31
+ const showActiveStyle = !isExpanded && isActive;
32
+ const iconColor = showActiveStyle ? activeColor : subtleColor;
33
+ const textColor = showActiveStyle ? activeColor : defaultTextColor;
34
+ const fontWeight = showActiveStyle ? 600 : 500;
35
+ const handleLabelClick = (e) => {
36
+ if (onLabelClick) {
37
+ e.stopPropagation();
38
+ onLabelClick();
39
+ }
40
+ };
41
+ return /* @__PURE__ */ jsxs(Box, { children: [
42
+ /* @__PURE__ */ jsx(
43
+ UnstyledButton,
44
+ {
45
+ onClick: onToggle,
46
+ style: {
47
+ display: "flex",
48
+ alignItems: "center",
49
+ width: "100%",
50
+ padding: "var(--mantine-spacing-xs)",
51
+ color: textColor,
52
+ backgroundColor: showActiveStyle ? activeBg : "transparent",
53
+ transition: `all var(--duration-fast) var(--easing)`,
54
+ cursor: "pointer",
55
+ overflow: "hidden"
56
+ },
57
+ onMouseEnter: (e) => {
58
+ if (!showActiveStyle) {
59
+ e.currentTarget.style.backgroundColor = "var(--color-surface-hover)";
60
+ }
61
+ },
62
+ onMouseLeave: (e) => {
63
+ if (!showActiveStyle) {
64
+ e.currentTarget.style.backgroundColor = "transparent";
65
+ }
66
+ },
67
+ children: /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", style: { width: "100%" }, children: [
68
+ /* @__PURE__ */ jsx(Box, { style: { flexShrink: 0, color: iconColor }, children: isExpanded ? /* @__PURE__ */ jsx(IconChevronDown, { size: sidebarGroupChevronSize }) : /* @__PURE__ */ jsx(IconChevronRight, { size: sidebarGroupChevronSize }) }),
69
+ /* @__PURE__ */ jsx(
70
+ Box,
71
+ {
72
+ style: { flexShrink: 0, color: iconColor, cursor: onLabelClick ? "pointer" : "inherit" },
73
+ onClick: onLabelClick ? handleLabelClick : void 0,
74
+ children: /* @__PURE__ */ jsx(Icon, { size: sidebarIconInnerSize, color: activeColor })
75
+ }
76
+ ),
77
+ /* @__PURE__ */ jsx(
78
+ Text,
79
+ {
80
+ size: "sm",
81
+ fw: fontWeight,
82
+ style: {
83
+ fontFamily: "var(--elevasis-font-family-subtitle)",
84
+ color: textColor,
85
+ transition: `color var(--duration-fast) var(--easing)`,
86
+ overflow: "hidden",
87
+ textOverflow: "ellipsis",
88
+ whiteSpace: "nowrap",
89
+ flex: 1,
90
+ cursor: onLabelClick ? "pointer" : "inherit"
91
+ },
92
+ onClick: onLabelClick ? handleLabelClick : void 0,
93
+ children: label
94
+ }
95
+ ),
96
+ badge && /* @__PURE__ */ jsx(Box, { style: { flexShrink: 0 }, children: badge })
97
+ ] })
98
+ }
99
+ ),
100
+ /* @__PURE__ */ jsx(Collapse, { in: isExpanded, children: /* @__PURE__ */ jsx(
101
+ Stack,
102
+ {
103
+ gap: 0,
104
+ mt: "xs",
105
+ ml: "xs",
106
+ style: {
107
+ borderLeft: `1px solid color-mix(in srgb, var(--color-primary) 40%, transparent)`,
108
+ marginLeft: "calc(var(--mantine-spacing-xs) + 6px)",
109
+ paddingLeft: "calc(var(--mantine-spacing-xs) - 2px)"
110
+ },
111
+ children: isLoading ? loadingComponent : isEmpty ? /* @__PURE__ */ jsx(Text, { size: "sm", c: "dimmed", style: { padding: "6px 8px" }, children: emptyMessage }) : children
112
+ }
113
+ ) })
114
+ ] });
115
+ };
116
+ var activeColor2 = "var(--color-primary)";
117
+ var defaultColor = "var(--color-text-subtle)";
118
+ var hoverColor = "var(--color-text)";
119
+ var activeBg2 = `color-mix(in srgb, ${activeColor2} 10%, transparent)`;
120
+ var SidebarListItem = ({
121
+ icon: Icon,
122
+ label,
123
+ isActive = false,
124
+ onClick,
125
+ description,
126
+ badge,
127
+ disabled = false
128
+ }) => {
129
+ return /* @__PURE__ */ jsx(
130
+ UnstyledButton,
131
+ {
132
+ onClick: disabled ? void 0 : onClick,
133
+ disabled,
134
+ style: {
135
+ width: "100%",
136
+ padding: "var(--mantine-spacing-xs)",
137
+ backgroundColor: isActive ? activeBg2 : "transparent",
138
+ borderRadius: "var(--mantine-radius-default)",
139
+ transition: `all var(--duration-fast) var(--easing)`,
140
+ cursor: disabled ? "not-allowed" : "pointer",
141
+ opacity: disabled ? 0.5 : 1
142
+ },
143
+ onMouseEnter: (e) => {
144
+ if (!isActive && !disabled) {
145
+ e.currentTarget.style.backgroundColor = "var(--color-surface-hover)";
146
+ const textElements = e.currentTarget.querySelectorAll("[data-text-element]");
147
+ textElements.forEach((el) => {
148
+ el.style.color = hoverColor;
149
+ });
150
+ }
151
+ },
152
+ onMouseLeave: (e) => {
153
+ if (!isActive && !disabled) {
154
+ e.currentTarget.style.backgroundColor = "transparent";
155
+ const textElements = e.currentTarget.querySelectorAll("[data-text-element]");
156
+ textElements.forEach((el) => {
157
+ el.style.color = defaultColor;
158
+ });
159
+ }
160
+ },
161
+ children: /* @__PURE__ */ jsxs(Stack, { gap: 2, children: [
162
+ /* @__PURE__ */ jsxs(Group, { gap: "xs", wrap: "nowrap", children: [
163
+ /* @__PURE__ */ jsx(
164
+ Icon,
165
+ {
166
+ size: sidebarListItemIconSize,
167
+ style: {
168
+ flexShrink: 0,
169
+ opacity: isActive ? 1 : 0.6,
170
+ color: isActive ? activeColor2 : defaultColor
171
+ }
172
+ }
173
+ ),
174
+ /* @__PURE__ */ jsx(
175
+ Text,
176
+ {
177
+ size: "sm",
178
+ fw: isActive ? 600 : 400,
179
+ style: {
180
+ overflow: "hidden",
181
+ textOverflow: "ellipsis",
182
+ whiteSpace: "nowrap",
183
+ flex: 1,
184
+ fontFamily: "var(--elevasis-font-family-subtitle)",
185
+ color: isActive ? activeColor2 : defaultColor,
186
+ transition: `color var(--duration-fast) var(--easing)`
187
+ },
188
+ "data-text-element": true,
189
+ children: label
190
+ }
191
+ ),
192
+ badge && /* @__PURE__ */ jsx("div", { style: { flexShrink: 0 }, children: badge })
193
+ ] }),
194
+ description && /* @__PURE__ */ jsx(
195
+ Text,
196
+ {
197
+ size: "xs",
198
+ c: "dimmed",
199
+ style: {
200
+ paddingLeft: "22px",
201
+ lineHeight: 1.2,
202
+ color: isActive ? activeColor2 : defaultColor,
203
+ opacity: isActive ? 0.8 : 0.6,
204
+ transition: `all var(--duration-fast) var(--easing)`,
205
+ display: "-webkit-box",
206
+ WebkitLineClamp: 2,
207
+ WebkitBoxOrient: "vertical",
208
+ overflow: "hidden",
209
+ textOverflow: "ellipsis"
210
+ },
211
+ "data-text-element": true,
212
+ children: description
213
+ }
214
+ )
215
+ ] })
216
+ }
217
+ );
218
+ };
219
+ var SubshellSidebarSection = ({
220
+ icon: Icon,
221
+ label,
222
+ rightSection,
223
+ withTopBorder = false
224
+ }) => {
225
+ return /* @__PURE__ */ jsx(
226
+ Box,
227
+ {
228
+ p: "sm",
229
+ style: {
230
+ borderTop: withTopBorder ? "1px solid var(--color-border)" : void 0,
231
+ borderBottom: "1px solid var(--color-border)"
232
+ },
233
+ children: /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
234
+ /* @__PURE__ */ jsx(Icon, { size: 16, color: "var(--color-text-subtle)" }),
235
+ /* @__PURE__ */ jsx(
236
+ Text,
237
+ {
238
+ size: "sm",
239
+ fw: 600,
240
+ c: "var(--color-text-subtle)",
241
+ style: { fontFamily: "var(--mantine-font-family-headings)", flex: 1 },
242
+ children: label
243
+ }
244
+ ),
245
+ rightSection
246
+ ] })
247
+ }
248
+ );
249
+ };
250
+ function SubshellLoader() {
251
+ const { loader } = useAppearance();
252
+ return /* @__PURE__ */ jsx(Center, { mih: "calc(100vh - 70px)", children: loader });
253
+ }
254
+
255
+ export { CollapsibleSidebarGroup, PageContainer, SidebarListItem, SubshellLoader, SubshellSidebarSection };
@@ -1,3 +1,4 @@
1
+ import { StyledMarkdown } from './chunk-3KMDHCAR.js';
1
2
  import { ResourceStatusColors } from './chunk-ELJIFLCB.js';
2
3
  import { getErrorInfo, getErrorTitle, getResourceIcon } from './chunk-IOKL7BKE.js';
3
4
  import { useAuthContext } from './chunk-BRJ3QZ4E.js';
@@ -6,7 +7,6 @@ import { Center, Stack, Title, Text, Button, Box, Loader, Badge, Group, Collapse
6
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
8
  import { IconMinus, IconTrendingUp, IconTrendingDown, IconChevronUp, IconChevronDown, IconAlertCircle, IconClock, IconInfoCircle, IconChevronRight } from '@tabler/icons-react';
8
9
  import { useState } from 'react';
9
- import Markdown from 'react-markdown';
10
10
  import { Prism } from 'react-syntax-highlighter';
11
11
  import { oneDark } from 'react-syntax-highlighter/dist/esm/styles/prism';
12
12
 
@@ -268,49 +268,6 @@ function HeroStatCard({
268
268
  function StatCardSkeleton() {
269
269
  return /* @__PURE__ */ jsx(Card, { withBorder: true, children: /* @__PURE__ */ jsx(Skeleton, { height: 60 }) });
270
270
  }
271
- var customCodeTheme = Object.fromEntries(
272
- Object.entries(oneDark).map(([key, value]) => [
273
- key,
274
- typeof value === "object" && value !== null ? { ...value, background: "none", backgroundColor: "none" } : value
275
- ])
276
- );
277
- var defaultComponents = {
278
- h1: ({ children }) => /* @__PURE__ */ jsx(Title, { order: 3, c: "var(--color-primary)", mb: "xs", mt: "md", children }),
279
- h2: ({ children }) => /* @__PURE__ */ jsx(Title, { order: 4, c: "var(--color-primary)", mb: "xs", mt: "sm", children }),
280
- ul: ({ children }) => /* @__PURE__ */ jsx("ul", { style: { margin: "0.5rem 0", paddingLeft: "1.5rem" }, children }),
281
- ol: ({ children }) => /* @__PURE__ */ jsx("ol", { style: { margin: "0.5rem 0", paddingLeft: "1.5rem" }, children }),
282
- li: ({ children }) => /* @__PURE__ */ jsx("li", { style: { marginBottom: "0.25rem", fontSize: "var(--mantine-font-size-sm)" }, children }),
283
- code: ({ className, children, ...props }) => {
284
- const match = /language-(\w+)/.exec(className || "");
285
- const codeString = String(children).replace(/\n$/, "");
286
- if (match) {
287
- return /* @__PURE__ */ jsx(
288
- Prism,
289
- {
290
- style: customCodeTheme,
291
- language: match[1],
292
- PreTag: "div",
293
- customStyle: {
294
- margin: "0.5rem 0",
295
- borderRadius: "var(--mantine-radius-default)",
296
- fontSize: "0.8rem"
297
- },
298
- children: codeString
299
- }
300
- );
301
- }
302
- return /* @__PURE__ */ jsx(Code, { ...props, children });
303
- },
304
- pre: ({ children }) => /* @__PURE__ */ jsx(Fragment, { children }),
305
- blockquote: ({ children }) => /* @__PURE__ */ jsx(Box, { pl: "sm", my: "xs", style: { borderLeft: "2px solid var(--color-border)" }, children }),
306
- p: ({ children }) => /* @__PURE__ */ jsx(Text, { size: "sm", m: 0, children }),
307
- strong: ({ children }) => /* @__PURE__ */ jsx(Text, { component: "span", fw: 700, children }),
308
- em: ({ children }) => /* @__PURE__ */ jsx(Text, { component: "span", fs: "italic", children })
309
- };
310
- function StyledMarkdown({ children, components, className, style }) {
311
- const mergedComponents = components ? { ...defaultComponents, ...components } : defaultComponents;
312
- return /* @__PURE__ */ jsx("div", { className, style, children: /* @__PURE__ */ jsx(Markdown, { components: mergedComponents, children }) });
313
- }
314
271
  var jsonTheme = Object.fromEntries(
315
272
  Object.entries(oneDark).map(([key, value]) => [
316
273
  key,
@@ -636,4 +593,4 @@ function GlowDot({ color, size = "md" }) {
636
593
  );
637
594
  }
638
595
 
639
- export { APIErrorAlert, CardHeader, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, StyledMarkdown, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition };
596
+ export { APIErrorAlert, CardHeader, CollapsibleSection, ContextViewer, CustomSelector, DetailCardSkeleton, EmptyState, GlowDot, JsonViewer, ListSkeleton, PageNotFound, PageTitleCaption, ResourceCard, StatCard, StatCardSkeleton, StatsCardSkeleton, TabCountBadge, TimeRangeSelector, TrendIndicator, catalogItemToResourceDefinition };
@@ -1,6 +1,6 @@
1
- import { AppBackground } from './chunk-JHMJKDVU.js';
1
+ import { AppBackground } from './chunk-R3R367QY.js';
2
2
  import { ElevasisLoader } from './chunk-SZHARWKU.js';
3
- import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-BX565EOK.js';
3
+ import { PRESETS, getPreset, generateShades, mantineThemeOverride, createCssVariablesResolver, PresetsProvider } from './chunk-MOBXWBES.js';
4
4
  import { ElevasisCoreProvider } from './chunk-R7WLWGPO.js';
5
5
  import { AppearanceProvider } from './chunk-QJ2KCHKX.js';
6
6
  import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-IOKL7BKE.js';