@msqd/lydia 0.0.0-stage → 0.6.1

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 (378) hide show
  1. package/LICENSE +373 -0
  2. package/README.md +151 -2
  3. package/THIRD_PARTY_NOTICES.md +29 -0
  4. package/dist/Components/Badges/Badge.d.ts +20 -0
  5. package/dist/Components/Badges/Badge.js +33 -0
  6. package/dist/Components/Badges/index.d.ts +1 -0
  7. package/dist/Components/Badges/index.js +4 -0
  8. package/dist/Components/Buttons/Button.d.ts +8 -0
  9. package/dist/Components/Buttons/Button.js +30 -0
  10. package/dist/Components/Buttons/ButtonGroup.d.ts +13 -0
  11. package/dist/Components/Buttons/ButtonGroup.js +61 -0
  12. package/dist/Components/Buttons/index.d.ts +2 -0
  13. package/dist/Components/Buttons/index.js +6 -0
  14. package/dist/Components/Cards/Card.d.ts +38 -0
  15. package/dist/Components/Cards/Card.js +31 -0
  16. package/dist/Components/Cards/StatCard.d.ts +14 -0
  17. package/dist/Components/Cards/StatCard.js +27 -0
  18. package/dist/Components/Cards/index.d.ts +2 -0
  19. package/dist/Components/Cards/index.js +7 -0
  20. package/dist/Components/Charts/Components/ThinBarChart.d.ts +35 -0
  21. package/dist/Components/Charts/Components/ThinBarChart.js +41 -0
  22. package/dist/Components/Charts/Components/WideBarChart.d.ts +48 -0
  23. package/dist/Components/Charts/Components/WideBarChart.js +50 -0
  24. package/dist/Components/Charts/Components/index.d.ts +2 -0
  25. package/dist/Components/Charts/Components/index.js +6 -0
  26. package/dist/Components/Charts/Hooks/index.d.ts +2 -0
  27. package/dist/Components/Charts/Hooks/index.js +7 -0
  28. package/dist/Components/Charts/Hooks/useChartDimensions.d.ts +24 -0
  29. package/dist/Components/Charts/Hooks/useChartDimensions.js +42 -0
  30. package/dist/Components/Charts/Hooks/useThemeColors.d.ts +10 -0
  31. package/dist/Components/Charts/Hooks/useThemeColors.js +51 -0
  32. package/dist/Components/Charts/SummaryPerformancesChart.d.ts +7 -0
  33. package/dist/Components/Charts/SummaryPerformancesChart.js +93 -0
  34. package/dist/Components/Charts/SummaryRateChart.d.ts +9 -0
  35. package/dist/Components/Charts/SummaryRateChart.js +81 -0
  36. package/dist/Components/Charts/TransactionsChart.d.ts +6 -0
  37. package/dist/Components/Charts/TransactionsChart.js +70 -0
  38. package/dist/Components/Charts/Utils/ChartBarCalculator.d.ts +48 -0
  39. package/dist/Components/Charts/Utils/ChartBarCalculator.js +66 -0
  40. package/dist/Components/Charts/Utils/ChartColors.d.ts +13 -0
  41. package/dist/Components/Charts/Utils/ChartColors.js +10 -0
  42. package/dist/Components/Charts/Utils/ChartTooltipFormatter.d.ts +43 -0
  43. package/dist/Components/Charts/Utils/ChartTooltipFormatter.js +57 -0
  44. package/dist/Components/Charts/Utils/ReactEChartsCore.d.ts +4 -0
  45. package/dist/Components/Charts/Utils/ReactEChartsCore.js +5 -0
  46. package/dist/Components/Charts/Utils/ThemeColor.d.ts +21 -0
  47. package/dist/Components/Charts/Utils/ThemeColor.js +54 -0
  48. package/dist/Components/Charts/Utils/TimeFormatter.d.ts +9 -0
  49. package/dist/Components/Charts/Utils/TimeFormatter.js +25 -0
  50. package/dist/Components/Charts/Utils/escapeTooltipHtml.d.ts +6 -0
  51. package/dist/Components/Charts/Utils/escapeTooltipHtml.js +5 -0
  52. package/dist/Components/Charts/Utils/index.d.ts +5 -0
  53. package/dist/Components/Charts/Utils/index.js +14 -0
  54. package/dist/Components/Charts/index.d.ts +6 -0
  55. package/dist/Components/Charts/index.js +29 -0
  56. package/dist/Components/Colors/Colors.d.ts +19 -0
  57. package/dist/Components/Colors/Colors.js +154 -0
  58. package/dist/Components/Colors/index.d.ts +1 -0
  59. package/dist/Components/Colors/index.js +4 -0
  60. package/dist/Components/DataTable/DataTable.d.ts +86 -0
  61. package/dist/Components/DataTable/DataTable.js +122 -0
  62. package/dist/Components/DataTable/Paginator.d.ts +41 -0
  63. package/dist/Components/DataTable/Paginator.js +122 -0
  64. package/dist/Components/DataTable/ProportionBar.d.ts +48 -0
  65. package/dist/Components/DataTable/ProportionBar.js +20 -0
  66. package/dist/Components/DataTable/index.d.ts +3 -0
  67. package/dist/Components/DataTable/index.js +9 -0
  68. package/dist/Components/Dialog/Dialog.d.ts +49 -0
  69. package/dist/Components/Dialog/Dialog.js +83 -0
  70. package/dist/Components/Dialog/Drawer.d.ts +45 -0
  71. package/dist/Components/Dialog/Drawer.js +120 -0
  72. package/dist/Components/Dialog/index.d.ts +3 -0
  73. package/dist/Components/Dialog/index.js +12 -0
  74. package/dist/Components/Dialog/modal.types.d.ts +47 -0
  75. package/dist/Components/Dialog/modal.types.js +8 -0
  76. package/dist/Components/Facets/FacetCount.d.ts +11 -0
  77. package/dist/Components/Facets/FacetCount.js +8 -0
  78. package/dist/Components/Facets/FacetCountsCaption.d.ts +16 -0
  79. package/dist/Components/Facets/FacetCountsCaption.js +14 -0
  80. package/dist/Components/Facets/FacetInnerLightButton.d.ts +10 -0
  81. package/dist/Components/Facets/FacetInnerLightButton.js +17 -0
  82. package/dist/Components/Facets/FacetLabel.d.ts +13 -0
  83. package/dist/Components/Facets/FacetLabel.js +15 -0
  84. package/dist/Components/Facets/FacetList.d.ts +40 -0
  85. package/dist/Components/Facets/FacetList.js +37 -0
  86. package/dist/Components/Facets/FacetListCard.d.ts +38 -0
  87. package/dist/Components/Facets/FacetListCard.js +47 -0
  88. package/dist/Components/Facets/FacetResetLink.d.ts +13 -0
  89. package/dist/Components/Facets/FacetResetLink.js +23 -0
  90. package/dist/Components/Facets/Variants/DateRangeFacet.d.ts +47 -0
  91. package/dist/Components/Facets/Variants/DateRangeFacet.js +51 -0
  92. package/dist/Components/Facets/Variants/MultipleChoiceFacet.d.ts +67 -0
  93. package/dist/Components/Facets/Variants/MultipleChoiceFacet.js +200 -0
  94. package/dist/Components/Facets/Variants/PerformanceFacet.d.ts +61 -0
  95. package/dist/Components/Facets/Variants/PerformanceFacet.js +77 -0
  96. package/dist/Components/Facets/Variants/SingleChoiceFacet.d.ts +56 -0
  97. package/dist/Components/Facets/Variants/SingleChoiceFacet.js +54 -0
  98. package/dist/Components/Facets/Variants/index.d.ts +8 -0
  99. package/dist/Components/Facets/Variants/index.js +10 -0
  100. package/dist/Components/Facets/Variants/nestedValues.d.ts +33 -0
  101. package/dist/Components/Facets/Variants/nestedValues.js +87 -0
  102. package/dist/Components/Facets/index.d.ts +15 -0
  103. package/dist/Components/Facets/index.js +27 -0
  104. package/dist/Components/Formatter/BodyNotice.d.ts +9 -0
  105. package/dist/Components/Formatter/BodyNotice.js +21 -0
  106. package/dist/Components/Formatter/CodeFormatter.d.ts +47 -0
  107. package/dist/Components/Formatter/CodeFormatter.js +47 -0
  108. package/dist/Components/Formatter/HeadersDisplay.d.ts +9 -0
  109. package/dist/Components/Formatter/HeadersDisplay.js +18 -0
  110. package/dist/Components/Formatter/JsonTreeView.d.ts +27 -0
  111. package/dist/Components/Formatter/JsonTreeView.js +149 -0
  112. package/dist/Components/Formatter/PerformanceMetrics.d.ts +27 -0
  113. package/dist/Components/Formatter/PerformanceMetrics.js +29 -0
  114. package/dist/Components/Formatter/SyntaxHighlighter.d.ts +11 -0
  115. package/dist/Components/Formatter/SyntaxHighlighter.js +16 -0
  116. package/dist/Components/Formatter/VirtualizedCodeView.d.ts +24 -0
  117. package/dist/Components/Formatter/VirtualizedCodeView.js +47 -0
  118. package/dist/Components/Formatter/bodyLimits.d.ts +6 -0
  119. package/dist/Components/Formatter/bodyLimits.js +6 -0
  120. package/dist/Components/Formatter/index.d.ts +8 -0
  121. package/dist/Components/Formatter/index.js +16 -0
  122. package/dist/Components/Formatter/syntaxTheme.d.ts +8 -0
  123. package/dist/Components/Formatter/syntaxTheme.js +15 -0
  124. package/dist/Components/Formatter/useCodeHighlighting.d.ts +15 -0
  125. package/dist/Components/Formatter/useCodeHighlighting.js +47 -0
  126. package/dist/Components/Formatter/useVirtualization.d.ts +29 -0
  127. package/dist/Components/Formatter/useVirtualization.js +18 -0
  128. package/dist/Components/Inputs/Checkbox/Checkbox.d.ts +6 -0
  129. package/dist/Components/Inputs/Checkbox/Checkbox.js +75 -0
  130. package/dist/Components/Inputs/Checkbox/index.d.ts +1 -0
  131. package/dist/Components/Inputs/Checkbox/index.js +4 -0
  132. package/dist/Components/Inputs/DateRangeSelector/DateRangeSelector.d.ts +48 -0
  133. package/dist/Components/Inputs/DateRangeSelector/DateRangeSelector.js +71 -0
  134. package/dist/Components/Inputs/DateRangeSelector/index.d.ts +1 -0
  135. package/dist/Components/Inputs/DateRangeSelector/index.js +4 -0
  136. package/dist/Components/Inputs/Field/Field.d.ts +19 -0
  137. package/dist/Components/Inputs/Field/Field.js +35 -0
  138. package/dist/Components/Inputs/Field/index.d.ts +2 -0
  139. package/dist/Components/Inputs/Field/index.js +7 -0
  140. package/dist/Components/Inputs/Field/useField.d.ts +33 -0
  141. package/dist/Components/Inputs/Field/useField.js +36 -0
  142. package/dist/Components/Inputs/Input/Input.d.ts +85 -0
  143. package/dist/Components/Inputs/Input/Input.js +146 -0
  144. package/dist/Components/Inputs/Input/index.d.ts +1 -0
  145. package/dist/Components/Inputs/Input/index.js +4 -0
  146. package/dist/Components/Inputs/InputAddon/InputAddon.d.ts +21 -0
  147. package/dist/Components/Inputs/InputAddon/InputAddon.js +18 -0
  148. package/dist/Components/Inputs/InputAddon/index.d.ts +1 -0
  149. package/dist/Components/Inputs/InputAddon/index.js +4 -0
  150. package/dist/Components/Inputs/InputButton/InputButton.d.ts +21 -0
  151. package/dist/Components/Inputs/InputButton/InputButton.js +29 -0
  152. package/dist/Components/Inputs/InputButton/index.d.ts +1 -0
  153. package/dist/Components/Inputs/InputButton/index.js +4 -0
  154. package/dist/Components/Inputs/InputIcon/InputIcon.d.ts +20 -0
  155. package/dist/Components/Inputs/InputIcon/InputIcon.js +16 -0
  156. package/dist/Components/Inputs/InputIcon/index.d.ts +1 -0
  157. package/dist/Components/Inputs/InputIcon/index.js +4 -0
  158. package/dist/Components/Inputs/KeyboardShortcut/KeyboardShortcut.d.ts +12 -0
  159. package/dist/Components/Inputs/KeyboardShortcut/KeyboardShortcut.js +18 -0
  160. package/dist/Components/Inputs/KeyboardShortcut/index.d.ts +1 -0
  161. package/dist/Components/Inputs/KeyboardShortcut/index.js +4 -0
  162. package/dist/Components/Inputs/Radio/Radio.d.ts +3 -0
  163. package/dist/Components/Inputs/Radio/Radio.js +59 -0
  164. package/dist/Components/Inputs/Radio/index.d.ts +1 -0
  165. package/dist/Components/Inputs/Radio/index.js +4 -0
  166. package/dist/Components/Inputs/SearchInput/SearchInput.d.ts +9 -0
  167. package/dist/Components/Inputs/SearchInput/SearchInput.js +48 -0
  168. package/dist/Components/Inputs/SearchInput/index.d.ts +2 -0
  169. package/dist/Components/Inputs/SearchInput/index.js +4 -0
  170. package/dist/Components/Inputs/Sliders/RangeSlider.d.ts +40 -0
  171. package/dist/Components/Inputs/Sliders/RangeSlider.js +160 -0
  172. package/dist/Components/Inputs/Sliders/index.d.ts +2 -0
  173. package/dist/Components/Inputs/Sliders/index.js +4 -0
  174. package/dist/Components/Inputs/Textarea/Textarea.d.ts +56 -0
  175. package/dist/Components/Inputs/Textarea/Textarea.js +79 -0
  176. package/dist/Components/Inputs/Textarea/index.d.ts +1 -0
  177. package/dist/Components/Inputs/Textarea/index.js +4 -0
  178. package/dist/Components/Inputs/choiceInput.d.ts +12 -0
  179. package/dist/Components/Inputs/choiceInput.js +8 -0
  180. package/dist/Components/Inputs/index.d.ts +11 -0
  181. package/dist/Components/Inputs/index.js +24 -0
  182. package/dist/Components/Layouts/DefaultLayout.d.ts +30 -0
  183. package/dist/Components/Layouts/DefaultLayout.js +25 -0
  184. package/dist/Components/Layouts/index.d.ts +2 -0
  185. package/dist/Components/Layouts/index.js +4 -0
  186. package/dist/Components/NavBar/Assets/defaultAvatar.d.ts +4 -0
  187. package/dist/Components/NavBar/Assets/defaultAvatar.js +28 -0
  188. package/dist/Components/NavBar/Assets/index.d.ts +2 -0
  189. package/dist/Components/NavBar/Assets/index.js +4 -0
  190. package/dist/Components/NavBar/NavBar.d.ts +58 -0
  191. package/dist/Components/NavBar/NavBar.js +141 -0
  192. package/dist/Components/NavBar/index.d.ts +1 -0
  193. package/dist/Components/NavBar/index.js +5 -0
  194. package/dist/Components/Tabs/Tabs.d.ts +24 -0
  195. package/dist/Components/Tabs/Tabs.js +69 -0
  196. package/dist/Components/Tabs/index.d.ts +2 -0
  197. package/dist/Components/Tabs/index.js +5 -0
  198. package/dist/Components/Toast/Toast.d.ts +28 -0
  199. package/dist/Components/Toast/Toast.js +128 -0
  200. package/dist/Components/Toast/ToastContainer.d.ts +29 -0
  201. package/dist/Components/Toast/ToastContainer.js +28 -0
  202. package/dist/Components/Toast/ToastContext.d.ts +103 -0
  203. package/dist/Components/Toast/ToastContext.js +124 -0
  204. package/dist/Components/Toast/index.d.ts +3 -0
  205. package/dist/Components/Toast/index.js +13 -0
  206. package/dist/Components/Typography/HeadingLevel.d.ts +28 -0
  207. package/dist/Components/Typography/HeadingLevel.js +20 -0
  208. package/dist/Components/Typography/Paragraphs.d.ts +8 -0
  209. package/dist/Components/Typography/Paragraphs.js +6 -0
  210. package/dist/Components/Typography/Section.d.ts +8 -0
  211. package/dist/Components/Typography/Section.js +6 -0
  212. package/dist/Components/Typography/Titles.d.ts +31 -0
  213. package/dist/Components/Typography/Titles.js +14 -0
  214. package/dist/Components/Typography/index.d.ts +4 -0
  215. package/dist/Components/Typography/index.js +17 -0
  216. package/dist/Components/Utilities/Foldable.d.ts +42 -0
  217. package/dist/Components/Utilities/Foldable.js +39 -0
  218. package/dist/Components/Utilities/index.d.ts +2 -0
  219. package/dist/Components/Utilities/index.js +6 -0
  220. package/dist/Components/Utilities/useClickOutside.d.ts +21 -0
  221. package/dist/Components/Utilities/useClickOutside.js +23 -0
  222. package/dist/Components/index.d.ts +16 -0
  223. package/dist/Components/index.js +158 -0
  224. package/dist/Elements/Http/CacheBadge.d.ts +13 -0
  225. package/dist/Elements/Http/CacheBadge.js +34 -0
  226. package/dist/Elements/Http/CacheIndicator.d.ts +17 -0
  227. package/dist/Elements/Http/CacheIndicator.js +47 -0
  228. package/dist/Elements/Http/RequestMethodBadge.d.ts +5 -0
  229. package/dist/Elements/Http/RequestMethodBadge.js +13 -0
  230. package/dist/Elements/Http/ResponseStatusBadge.d.ts +19 -0
  231. package/dist/Elements/Http/ResponseStatusBadge.js +20 -0
  232. package/dist/Elements/Http/index.d.ts +4 -0
  233. package/dist/Elements/Http/index.js +10 -0
  234. package/dist/Elements/System/CircuitBreakerStatus.d.ts +11 -0
  235. package/dist/Elements/System/CircuitBreakerStatus.js +98 -0
  236. package/dist/Elements/System/EndpointNode.d.ts +10 -0
  237. package/dist/Elements/System/EndpointNode.js +19 -0
  238. package/dist/Elements/System/EntrypointNode.d.ts +9 -0
  239. package/dist/Elements/System/EntrypointNode.js +17 -0
  240. package/dist/Elements/System/NetworkEdges.d.ts +37 -0
  241. package/dist/Elements/System/NetworkEdges.js +52 -0
  242. package/dist/Elements/System/NetworkMap.d.ts +33 -0
  243. package/dist/Elements/System/NetworkMap.js +121 -0
  244. package/dist/Elements/System/NetworkNode.d.ts +29 -0
  245. package/dist/Elements/System/NetworkNode.js +31 -0
  246. package/dist/Elements/System/ProxyNode.d.ts +8 -0
  247. package/dist/Elements/System/ProxyNode.js +10 -0
  248. package/dist/Elements/System/index.d.ts +9 -0
  249. package/dist/Elements/System/index.js +17 -0
  250. package/dist/Elements/Tpdex/TpdexBadge.d.ts +26 -0
  251. package/dist/Elements/Tpdex/TpdexBadge.js +36 -0
  252. package/dist/Elements/Tpdex/index.d.ts +4 -0
  253. package/dist/Elements/Tpdex/index.js +8 -0
  254. package/dist/Elements/Transactions/TransactionFiltersCard.d.ts +41 -0
  255. package/dist/Elements/Transactions/TransactionFiltersCard.js +121 -0
  256. package/dist/Elements/Transactions/TransactionsExplorerSidebar.d.ts +37 -0
  257. package/dist/Elements/Transactions/TransactionsExplorerSidebar.js +154 -0
  258. package/dist/Elements/Transactions/TransactionsFiltersSidebar.d.ts +22 -0
  259. package/dist/Elements/Transactions/TransactionsFiltersSidebar.js +39 -0
  260. package/dist/Elements/Transactions/index.d.ts +13 -0
  261. package/dist/Elements/Transactions/index.js +9 -0
  262. package/dist/Elements/index.d.ts +18 -0
  263. package/dist/Elements/index.js +38 -0
  264. package/dist/Models/Filters/active.d.ts +12 -0
  265. package/dist/Models/Filters/active.js +10 -0
  266. package/dist/Models/Filters/dates.d.ts +8 -0
  267. package/dist/Models/Filters/dates.js +16 -0
  268. package/dist/Models/Filters/index.d.ts +4 -0
  269. package/dist/Models/Filters/index.js +13 -0
  270. package/dist/Models/Filters/read.d.ts +9 -0
  271. package/dist/Models/Filters/read.js +22 -0
  272. package/dist/Models/Filters/types.d.ts +50 -0
  273. package/dist/Models/Filters/types.js +1 -0
  274. package/dist/Models/Http/body.d.ts +7 -0
  275. package/dist/Models/Http/body.js +6 -0
  276. package/dist/Models/Http/contentDisposition.d.ts +7 -0
  277. package/dist/Models/Http/contentDisposition.js +51 -0
  278. package/dist/Models/Http/dataUrl.d.ts +12 -0
  279. package/dist/Models/Http/dataUrl.js +21 -0
  280. package/dist/Models/Http/headers.d.ts +18 -0
  281. package/dist/Models/Http/headers.js +7 -0
  282. package/dist/Models/Http/index.d.ts +2 -0
  283. package/dist/Models/Http/index.js +6 -0
  284. package/dist/Models/Http/percent.d.ts +5 -0
  285. package/dist/Models/Http/percent.js +17 -0
  286. package/dist/Models/Http/requestTarget.d.ts +11 -0
  287. package/dist/Models/Http/requestTarget.js +7 -0
  288. package/dist/Models/System/index.d.ts +1 -0
  289. package/dist/Models/System/index.js +7 -0
  290. package/dist/Models/System/types.d.ts +20 -0
  291. package/dist/Models/System/types.js +48 -0
  292. package/dist/Models/Tpdex.d.ts +36 -0
  293. package/dist/Models/Tpdex.js +38 -0
  294. package/dist/Models/Transactions/Overview.d.ts +19 -0
  295. package/dist/Models/Transactions/Overview.js +1 -0
  296. package/dist/Models/Transactions/encoding.d.ts +49 -0
  297. package/dist/Models/Transactions/encoding.js +26 -0
  298. package/dist/Models/Transactions/endpoints.d.ts +15 -0
  299. package/dist/Models/Transactions/endpoints.js +21 -0
  300. package/dist/Models/Transactions/facets.d.ts +25 -0
  301. package/dist/Models/Transactions/facets.js +40 -0
  302. package/dist/Models/Transactions/filtering.d.ts +20 -0
  303. package/dist/Models/Transactions/filtering.js +34 -0
  304. package/dist/Models/Transactions/treeDepth.d.ts +2 -0
  305. package/dist/Models/Transactions/treeDepth.js +4 -0
  306. package/dist/Models/Transactions/types.d.ts +58 -0
  307. package/dist/Models/Transactions/types.js +1 -0
  308. package/dist/Models/index.d.ts +10 -0
  309. package/dist/Models/index.js +46 -0
  310. package/dist/Pages/Alerts/AlertsPage.d.ts +18 -0
  311. package/dist/Pages/Alerts/AlertsPage.js +104 -0
  312. package/dist/Pages/Alerts/index.d.ts +1 -0
  313. package/dist/Pages/Alerts/index.js +4 -0
  314. package/dist/Pages/Explorer/ExplorerPage.d.ts +6 -0
  315. package/dist/Pages/Explorer/ExplorerPage.js +55 -0
  316. package/dist/Pages/Explorer/index.d.ts +1 -0
  317. package/dist/Pages/Explorer/index.js +4 -0
  318. package/dist/Pages/Overview/OverviewPage.d.ts +11 -0
  319. package/dist/Pages/Overview/OverviewPage.js +10 -0
  320. package/dist/Pages/Overview/Sections/Components/TransactionsHistoryView.d.ts +7 -0
  321. package/dist/Pages/Overview/Sections/Components/TransactionsHistoryView.js +32 -0
  322. package/dist/Pages/Overview/Sections/Components/index.d.ts +1 -0
  323. package/dist/Pages/Overview/Sections/Components/index.js +4 -0
  324. package/dist/Pages/Overview/Sections/HistorySection.d.ts +18 -0
  325. package/dist/Pages/Overview/Sections/HistorySection.js +21 -0
  326. package/dist/Pages/Overview/Sections/SummarySection.d.ts +44 -0
  327. package/dist/Pages/Overview/Sections/SummarySection.js +127 -0
  328. package/dist/Pages/Overview/index.d.ts +4 -0
  329. package/dist/Pages/Overview/index.js +8 -0
  330. package/dist/Pages/SystemPage/SystemPage.d.ts +8 -0
  331. package/dist/Pages/SystemPage/SystemPage.js +16 -0
  332. package/dist/Pages/SystemPage/index.d.ts +1 -0
  333. package/dist/Pages/SystemPage/index.js +4 -0
  334. package/dist/Pages/Transactions/Detail/Components/DownloadButton.d.ts +33 -0
  335. package/dist/Pages/Transactions/Detail/Components/DownloadButton.js +62 -0
  336. package/dist/Pages/Transactions/Detail/Components/TransactionMessage.d.ts +16 -0
  337. package/dist/Pages/Transactions/Detail/Components/TransactionMessage.js +44 -0
  338. package/dist/Pages/Transactions/Detail/Components/TransactionMetadata.d.ts +21 -0
  339. package/dist/Pages/Transactions/Detail/Components/TransactionMetadata.js +127 -0
  340. package/dist/Pages/Transactions/Detail/Components/index.d.ts +6 -0
  341. package/dist/Pages/Transactions/Detail/Components/index.js +8 -0
  342. package/dist/Pages/Transactions/Detail/TransactionsDetailPage.d.ts +8 -0
  343. package/dist/Pages/Transactions/Detail/TransactionsDetailPage.js +15 -0
  344. package/dist/Pages/Transactions/Detail/Utils/BodyPreview.d.ts +15 -0
  345. package/dist/Pages/Transactions/Detail/Utils/BodyPreview.js +30 -0
  346. package/dist/Pages/Transactions/Detail/Utils/ContentRenderer.d.ts +28 -0
  347. package/dist/Pages/Transactions/Detail/Utils/ContentRenderer.js +115 -0
  348. package/dist/Pages/Transactions/Detail/Utils/index.d.ts +4 -0
  349. package/dist/Pages/Transactions/Detail/Utils/index.js +9 -0
  350. package/dist/Pages/Transactions/Detail/index.d.ts +4 -0
  351. package/dist/Pages/Transactions/Detail/index.js +8 -0
  352. package/dist/Pages/Transactions/List/TransactionsListPage.d.ts +80 -0
  353. package/dist/Pages/Transactions/List/TransactionsListPage.js +220 -0
  354. package/dist/Pages/Transactions/List/index.d.ts +4 -0
  355. package/dist/Pages/Transactions/List/index.js +6 -0
  356. package/dist/Pages/Transactions/List/useClientSideTransactions.d.ts +38 -0
  357. package/dist/Pages/Transactions/List/useClientSideTransactions.js +32 -0
  358. package/dist/Pages/Transactions/index.d.ts +4 -0
  359. package/dist/Pages/Transactions/index.js +6 -0
  360. package/dist/Pages/index.d.ts +5 -0
  361. package/dist/Pages/index.js +18 -0
  362. package/dist/Settings.d.ts +13 -0
  363. package/dist/Settings.js +16 -0
  364. package/dist/css/Components/Formatter/prism.css +79 -0
  365. package/dist/css/Components/Inputs/Input/Input.css +73 -0
  366. package/dist/css/Components/Inputs/Sliders/RangeSliderStyles.css +92 -0
  367. package/dist/css/components.css +6 -0
  368. package/dist/css/fonts/Lato-Bold.woff2 +0 -0
  369. package/dist/css/fonts/Lato-BoldItalic.woff2 +0 -0
  370. package/dist/css/fonts/Lato-Italic.woff2 +0 -0
  371. package/dist/css/fonts/Lato-Regular.woff2 +0 -0
  372. package/dist/css/fonts/OFL.txt +93 -0
  373. package/dist/css/theme.css +109 -0
  374. package/dist/index.d.ts +4 -0
  375. package/dist/index.js +250 -0
  376. package/dist/logo.svg +1 -0
  377. package/dist/styles/styles.css +1 -0
  378. package/package.json +367 -3
@@ -0,0 +1,124 @@
1
+ import { jsxs as v, jsx as p } from "react/jsx-runtime";
2
+ import { createContext as b, useState as y, useCallback as a, useContext as C } from "react";
3
+ import { twMerge as P } from "tailwind-merge";
4
+ import { Toast as M } from "./Toast.js";
5
+ const T = b(void 0), S = {
6
+ "top-right": "top-0 right-0",
7
+ "top-left": "top-0 left-0",
8
+ "bottom-right": "bottom-0 right-0",
9
+ "bottom-left": "bottom-0 left-0",
10
+ "top-center": "top-0 left-1/2 -translate-x-1/2",
11
+ "bottom-center": "bottom-0 left-1/2 -translate-x-1/2"
12
+ };
13
+ function $({
14
+ children: t,
15
+ defaultDuration: e = 5e3,
16
+ maxToasts: s = 5,
17
+ position: n = "top-right"
18
+ }) {
19
+ const [l, d] = y([]), h = a(
20
+ (o) => {
21
+ const c = `toast-${Date.now()}-${Math.floor(Math.random() * 1e4)}`;
22
+ return d((r) => [
23
+ ...r.length >= s ? r.slice(1) : r,
24
+ {
25
+ ...o,
26
+ id: c,
27
+ show: !0,
28
+ duration: o.duration ?? e
29
+ }
30
+ ]), c;
31
+ },
32
+ [e, s]
33
+ ), w = a((o, c) => {
34
+ d((r) => r.map((i) => i.id === o ? { ...i, ...c } : i));
35
+ }, []), f = a((o) => {
36
+ d((c) => {
37
+ const r = c.find((i) => i.id === o);
38
+ return r?.onClose && r.onClose(), c.filter((i) => i.id !== o);
39
+ });
40
+ }, []), x = a(() => {
41
+ d([]);
42
+ }, []), g = n.startsWith("bottom"), m = [...l];
43
+ return g && m.reverse(), /* @__PURE__ */ v(
44
+ T.Provider,
45
+ {
46
+ value: {
47
+ toasts: l,
48
+ addToast: h,
49
+ updateToast: w,
50
+ removeToast: f,
51
+ clearAllToasts: x
52
+ },
53
+ children: [
54
+ t,
55
+ /* @__PURE__ */ p(
56
+ "div",
57
+ {
58
+ className: P(
59
+ "fixed z-50 p-4 flex flex-col space-y-4 pointer-events-none max-h-screen overflow-hidden",
60
+ S[n]
61
+ ),
62
+ "aria-live": "polite",
63
+ children: m.map((o) => /* @__PURE__ */ p(
64
+ M,
65
+ {
66
+ id: o.id,
67
+ type: o.type,
68
+ title: o.title,
69
+ message: o.message,
70
+ duration: o.duration,
71
+ show: o.show,
72
+ onClose: f,
73
+ className: "pointer-events-auto"
74
+ },
75
+ o.id
76
+ ))
77
+ }
78
+ )
79
+ ]
80
+ }
81
+ );
82
+ }
83
+ function u() {
84
+ const t = C(T);
85
+ if (t === void 0)
86
+ throw new Error("useToast must be used within a ToastProvider");
87
+ return t;
88
+ }
89
+ function k() {
90
+ const { addToast: t } = u();
91
+ return a(
92
+ (e, s, n) => t({ type: "success", title: e, message: s, ...n }),
93
+ [t]
94
+ );
95
+ }
96
+ function z() {
97
+ const { addToast: t } = u();
98
+ return a(
99
+ (e, s, n) => t({ type: "error", title: e, message: s, ...n }),
100
+ [t]
101
+ );
102
+ }
103
+ function A() {
104
+ const { addToast: t } = u();
105
+ return a(
106
+ (e, s, n) => t({ type: "warning", title: e, message: s, ...n }),
107
+ [t]
108
+ );
109
+ }
110
+ function B() {
111
+ const { addToast: t } = u();
112
+ return a(
113
+ (e, s, n) => t({ type: "info", title: e, message: s, ...n }),
114
+ [t]
115
+ );
116
+ }
117
+ export {
118
+ $ as ToastProvider,
119
+ z as useErrorToast,
120
+ B as useInfoToast,
121
+ k as useSuccessToast,
122
+ u as useToast,
123
+ A as useWarningToast
124
+ };
@@ -0,0 +1,3 @@
1
+ export * from "./Toast.js";
2
+ export * from "./ToastContext.js";
3
+ export * from "./ToastContainer.js";
@@ -0,0 +1,13 @@
1
+ import { Toast as r } from "./Toast.js";
2
+ import { ToastProvider as e, useErrorToast as a, useInfoToast as T, useSuccessToast as u, useToast as n, useWarningToast as f } from "./ToastContext.js";
3
+ import { ToastContainer as m } from "./ToastContainer.js";
4
+ export {
5
+ r as Toast,
6
+ m as ToastContainer,
7
+ e as ToastProvider,
8
+ a as useErrorToast,
9
+ T as useInfoToast,
10
+ u as useSuccessToast,
11
+ n as useToast,
12
+ f as useWarningToast
13
+ };
@@ -0,0 +1,28 @@
1
+ import { type ComponentProps, type ReactNode } from "react";
2
+ export type HeadingLevelNumber = 1 | 2 | 3 | 4 | 5 | 6;
3
+ /**
4
+ * Says which heading level heads the section it wraps, so the headings inside
5
+ * go one level below it.
6
+ *
7
+ * A component dropped into a page cannot know the page's outline: a facet card
8
+ * headed `h3` and a detail page headed `h1` need their foldables at `h4` and
9
+ * `h2`. The section around them knows, and says so once, rather than every
10
+ * consumer threading a level through every component (WCAG 1.3.1, axe
11
+ * `heading-order`).
12
+ */
13
+ export interface HeadingLevelProps {
14
+ level: HeadingLevelNumber;
15
+ children: ReactNode;
16
+ }
17
+ export declare function HeadingLevel({ level, children }: HeadingLevelProps): import("react/jsx-runtime").JSX.Element;
18
+ /**
19
+ * The level for a heading inside the current section: one below it, never past
20
+ * `h6`, or `fallback` outside any section.
21
+ */
22
+ export declare function useSubheadingLevel(fallback: HeadingLevelNumber): HeadingLevelNumber;
23
+ export interface SubheadingProps extends ComponentProps<"h4"> {
24
+ /** The level outside any `HeadingLevel`. */
25
+ fallback?: HeadingLevelNumber;
26
+ }
27
+ /** A heading one level below the section it sits in. */
28
+ export declare function Subheading({ fallback, className, ...props }: SubheadingProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { createContext as u, useContext as c } from "react";
3
+ import { twMerge as a } from "tailwind-merge";
4
+ const o = u(void 0);
5
+ function f({ level: t, children: e }) {
6
+ return /* @__PURE__ */ n(o.Provider, { value: t, children: e });
7
+ }
8
+ function s(t) {
9
+ const e = c(o);
10
+ return e === void 0 ? t : Math.min(e + 1, 6);
11
+ }
12
+ function g({ fallback: t = 4, className: e, ...r }) {
13
+ const i = `h${s(t)}`;
14
+ return /* @__PURE__ */ n(i, { className: a(e), ...r });
15
+ }
16
+ export {
17
+ f as HeadingLevel,
18
+ g as Subheading,
19
+ s as useSubheadingLevel
20
+ };
@@ -0,0 +1,8 @@
1
+ import type { ComponentProps, FunctionComponent } from "react";
2
+ export interface ParagraphProps extends ComponentProps<"p"> {
3
+ /**
4
+ * Additional classes to apply to the paragraph
5
+ */
6
+ className?: string;
7
+ }
8
+ export declare const P: FunctionComponent<ParagraphProps>;
@@ -0,0 +1,6 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { twMerge as s } from "tailwind-merge";
3
+ const a = "mb-2 text-base text-gray-700", p = ({ className: t, ...e }) => /* @__PURE__ */ r("p", { className: s(a, t), ...e });
4
+ export {
5
+ p as P
6
+ };
@@ -0,0 +1,8 @@
1
+ import type { ComponentProps, FunctionComponent } from "react";
2
+ export interface SectionProps extends ComponentProps<"section"> {
3
+ /**
4
+ * Additional classes to apply to the section
5
+ */
6
+ className?: string;
7
+ }
8
+ export declare const Section: FunctionComponent<SectionProps>;
@@ -0,0 +1,6 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { twMerge as t } from "tailwind-merge";
3
+ const r = "mb-6", c = ({ className: e, ...o }) => /* @__PURE__ */ s("section", { className: t(r, e), ...o });
4
+ export {
5
+ c as Section
6
+ };
@@ -0,0 +1,31 @@
1
+ import type { ComponentProps, FunctionComponent } from "react";
2
+ export interface TitleProps extends ComponentProps<"h1"> {
3
+ /**
4
+ * Additional classes to apply to the heading
5
+ */
6
+ className?: string;
7
+ }
8
+ export declare const H1: FunctionComponent<TitleProps>;
9
+ export declare const H2: FunctionComponent<TitleProps>;
10
+ export declare const H3: FunctionComponent<TitleProps>;
11
+ export declare const H4: FunctionComponent<TitleProps>;
12
+ export interface H5Props extends TitleProps {
13
+ /**
14
+ * Optional padding override
15
+ */
16
+ padding?: string;
17
+ /**
18
+ * Where this heading sits in the document outline, if that is not `h5`.
19
+ *
20
+ * The level and the size are separate questions, and only the consumer can answer the first: a
21
+ * component dropped into a page it does not own cannot know which heading precedes it. Skipping
22
+ * levels is an accessibility failure (WCAG 1.3.1) and being the wrong size is a design failure,
23
+ * so a component that ties the two together forces a choice between them.
24
+ *
25
+ * The size does not move with the level. `<H5 level={3} />` is an `h3` that still looks like an
26
+ * `h5`.
27
+ */
28
+ level?: 1 | 2 | 3 | 4 | 5 | 6;
29
+ }
30
+ export declare const H5: FunctionComponent<H5Props>;
31
+ export declare const H6: FunctionComponent<TitleProps>;
@@ -0,0 +1,14 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { twMerge as r } from "tailwind-merge";
3
+ const a = "font-semibold text-gray-900", p = ({ className: t, ...s }) => /* @__PURE__ */ e("h1", { className: r("pb-6 text-2xl", a, t), ...s }), b = ({ className: t, ...s }) => /* @__PURE__ */ e("h2", { className: r("pb-4 text-xl", a, t), ...s }), H = ({ className: t, ...s }) => /* @__PURE__ */ e("h3", { className: r("pb-4 text-lg", a, t), ...s }), h = ({ className: t, ...s }) => /* @__PURE__ */ e("h4", { className: r("pb-4 text-base", a, t), ...s }), u = ({ className: t, padding: s, level: n = 5, ...o }) => {
4
+ const c = s || "pb-4", l = `h${n}`;
5
+ return /* @__PURE__ */ e(l, { className: r(c, "text-sm", a, t), ...o });
6
+ }, N = ({ className: t, ...s }) => /* @__PURE__ */ e("h6", { className: r("pb-4 text-xs", a, t), ...s });
7
+ export {
8
+ p as H1,
9
+ b as H2,
10
+ H as H3,
11
+ h as H4,
12
+ u as H5,
13
+ N as H6
14
+ };
@@ -0,0 +1,4 @@
1
+ export { H1, H2, H3, H4, H5, H6 } from "./Titles.js";
2
+ export { P } from "./Paragraphs.js";
3
+ export { Section, type SectionProps } from "./Section.js";
4
+ export { HeadingLevel, Subheading, useSubheadingLevel, type HeadingLevelNumber, type HeadingLevelProps, type SubheadingProps, } from "./HeadingLevel.js";
@@ -0,0 +1,17 @@
1
+ import { H1 as r, H2 as H, H3 as t, H4 as f, H5 as i, H6 as m } from "./Titles.js";
2
+ import { P as p } from "./Paragraphs.js";
3
+ import { Section as a } from "./Section.js";
4
+ import { HeadingLevel as g, Subheading as u, useSubheadingLevel as S } from "./HeadingLevel.js";
5
+ export {
6
+ r as H1,
7
+ H as H2,
8
+ t as H3,
9
+ f as H4,
10
+ i as H5,
11
+ m as H6,
12
+ g as HeadingLevel,
13
+ p as P,
14
+ a as Section,
15
+ u as Subheading,
16
+ S as useSubheadingLevel
17
+ };
@@ -0,0 +1,42 @@
1
+ import type { ComponentProps, ReactNode } from "react";
2
+ export interface FoldableProps extends Omit<ComponentProps<"div">, "title"> {
3
+ /**
4
+ * Whether the foldable is open by default
5
+ */
6
+ defaultOpen?: boolean;
7
+ /**
8
+ * Title of the foldable section
9
+ */
10
+ title: ReactNode;
11
+ /**
12
+ * Optional action element to display next to the title (like reset button)
13
+ */
14
+ titleAction?: ReactNode;
15
+ /**
16
+ * Optional subtitle below the title
17
+ */
18
+ subtitle?: ReactNode;
19
+ /**
20
+ * Content to display when expanded
21
+ */
22
+ children?: ReactNode;
23
+ /**
24
+ * Additional CSS classes for the container
25
+ */
26
+ className?: string;
27
+ /**
28
+ * Where the title sits in the document outline, if that is not `h5`.
29
+ *
30
+ * A `Foldable` is dropped into a page it does not own, so only the consumer knows which heading
31
+ * precedes it. Fixed at `h5`, a rail headed `h2` produces `h2` then `h5`, which skips two levels
32
+ * and fails WCAG 1.3.1 -- and there was nothing the consumer could pass to fix it.
33
+ *
34
+ * The title's size does not move with it.
35
+ */
36
+ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
37
+ }
38
+ /**
39
+ * A foldable component that uses Disclosure from headlessui to manage expand/collapse state.
40
+ * Ideal for use as full-width subpanes within cards or other containers.
41
+ */
42
+ export declare function Foldable({ defaultOpen, title, titleAction, subtitle, children, className, headingLevel, ...props }: FoldableProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,39 @@
1
+ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
+ import { Disclosure as u, DisclosureButton as w, DisclosurePanel as h } from "@headlessui/react";
3
+ import { ChevronUpIcon as v, ChevronDownIcon as x } from "@heroicons/react/24/outline";
4
+ import { useSubheadingLevel as N, HeadingLevel as g } from "../Typography/HeadingLevel.js";
5
+ import { twMerge as t } from "tailwind-merge";
6
+ import { H5 as y } from "../Typography/Titles.js";
7
+ function I({
8
+ defaultOpen: i = !0,
9
+ title: m,
10
+ titleAction: a,
11
+ subtitle: l,
12
+ children: s,
13
+ className: n,
14
+ headingLevel: c,
15
+ ...d
16
+ }) {
17
+ const p = N(5), o = c ?? p;
18
+ return /* @__PURE__ */ e(u, { defaultOpen: i, children: ({ open: f }) => /* @__PURE__ */ r("div", { className: t("px-4 py-3 relative", n), ...d, children: [
19
+ /* @__PURE__ */ r("div", { className: "flex w-full items-start", children: [
20
+ /* @__PURE__ */ e(y, { level: o, padding: "pt-0", className: "flex min-w-0 grow whitespace-nowrap font-normal", children: /* @__PURE__ */ r(
21
+ w,
22
+ {
23
+ className: t("flex w-full items-start text-left", s ? "cursor-pointer" : "cursor-default"),
24
+ disabled: !s,
25
+ children: [
26
+ /* @__PURE__ */ e("span", { className: "grow truncate font-semibold", children: m }),
27
+ s && (f ? /* @__PURE__ */ e(v, { className: "h-4 w-4 min-w-4 text-gray-600" }) : /* @__PURE__ */ e(x, { className: "h-4 w-4 min-w-4 text-gray-600" }))
28
+ ]
29
+ }
30
+ ) }),
31
+ a && /* @__PURE__ */ e("div", { className: "ml-2 shrink-0 leading-5", children: a })
32
+ ] }),
33
+ l && /* @__PURE__ */ e("div", { className: "mt-1", children: l }),
34
+ s && /* @__PURE__ */ e(h, { className: "mt-2 space-y-2", children: /* @__PURE__ */ e(g, { level: o, children: s }) })
35
+ ] }) });
36
+ }
37
+ export {
38
+ I as Foldable
39
+ };
@@ -0,0 +1,2 @@
1
+ export * from "./Foldable.js";
2
+ export * from "./useClickOutside.js";
@@ -0,0 +1,6 @@
1
+ import { Foldable as r } from "./Foldable.js";
2
+ import { useClickOutside as t } from "./useClickOutside.js";
3
+ export {
4
+ r as Foldable,
5
+ t as useClickOutside
6
+ };
@@ -0,0 +1,21 @@
1
+ import { type RefObject } from "react";
2
+ /** An element (through a ref) or a CSS selector whose clicks do not count as outside. */
3
+ export type ClickOutsideIgnore = RefObject<Element | null> | string;
4
+ export interface UseClickOutsideOptions {
5
+ /** Called once per mouse down or touch start outside the returned ref and every ignored target. */
6
+ onClickOutside: (event: MouseEvent | TouchEvent) => void;
7
+ /** The document listeners exist only while this is true. */
8
+ enabled?: boolean;
9
+ /**
10
+ * Targets that count as inside, on top of the returned ref. Nothing is ignored by default: a
11
+ * portal the guarded element opens has to be listed.
12
+ */
13
+ ignore?: readonly ClickOutsideIgnore[];
14
+ }
15
+ /**
16
+ * Detects clicks outside an element. Attach the returned ref to the element to guard.
17
+ *
18
+ * The latest `onClickOutside` and `ignore` are read at event time, so passing a new function or
19
+ * array on each render does not re-subscribe.
20
+ */
21
+ export declare const useClickOutside: <T extends HTMLElement = HTMLElement>({ onClickOutside, enabled, ignore, }: UseClickOutsideOptions) => RefObject<T | null>;
@@ -0,0 +1,23 @@
1
+ import { useRef as i, useEffect as f } from "react";
2
+ const a = (e, t) => typeof t == "string" ? e.closest(t) !== null : t.current?.contains(e) ?? !1, l = ({
3
+ onClickOutside: e,
4
+ enabled: t = !0,
5
+ ignore: s = []
6
+ }) => {
7
+ const o = i(null), n = i({ onClickOutside: e, ignore: s });
8
+ return f(() => {
9
+ n.current = { onClickOutside: e, ignore: s };
10
+ }), f(() => {
11
+ if (!t) return;
12
+ const r = (c) => {
13
+ const u = c.target;
14
+ u instanceof Element && (o.current?.contains(u) || n.current.ignore.some((m) => a(u, m)) || n.current.onClickOutside(c));
15
+ };
16
+ return document.addEventListener("mousedown", r, !0), document.addEventListener("touchstart", r, !0), () => {
17
+ document.removeEventListener("mousedown", r, !0), document.removeEventListener("touchstart", r, !0);
18
+ };
19
+ }, [t]), o;
20
+ };
21
+ export {
22
+ l as useClickOutside
23
+ };
@@ -0,0 +1,16 @@
1
+ export * from "./Badges/index.js";
2
+ export * from "./Buttons/index.js";
3
+ export * from "./Cards/index.js";
4
+ export * from "./Charts/index.js";
5
+ export * from "./Colors/index.js";
6
+ export * from "./DataTable/index.js";
7
+ export * from "./Dialog/index.js";
8
+ export * from "./Facets/index.js";
9
+ export * from "./Formatter/index.js";
10
+ export * from "./Inputs/index.js";
11
+ export * from "./Layouts/index.js";
12
+ export * from "./NavBar/index.js";
13
+ export * from "./Tabs/index.js";
14
+ export * from "./Toast/index.js";
15
+ export * from "./Typography/index.js";
16
+ export * from "./Utilities/index.js";
@@ -0,0 +1,158 @@
1
+ import { Badge as e } from "./Badges/Badge.js";
2
+ import { BodyNotice as a } from "./Formatter/BodyNotice.js";
3
+ import { Button as p } from "./Buttons/Button.js";
4
+ import { ButtonGroup as x } from "./Buttons/ButtonGroup.js";
5
+ import { Card as n, contentPaddingClassName as i } from "./Cards/Card.js";
6
+ import { ChartBarCalculator as l } from "./Charts/Utils/ChartBarCalculator.js";
7
+ import { ChartTooltipFormatter as C } from "./Charts/Utils/ChartTooltipFormatter.js";
8
+ import { Checkbox as d } from "./Inputs/Checkbox/Checkbox.js";
9
+ import { CodeFormatter as F } from "./Formatter/CodeFormatter.js";
10
+ import { Colors as g } from "./Colors/Colors.js";
11
+ import { DEFAULT_COUNTS_CAPTION as B, FacetCountsCaption as P, countsCaptionOf as b } from "./Facets/FacetCountsCaption.js";
12
+ import { DataTable as I, columnsFor as L } from "./DataTable/DataTable.js";
13
+ import { DateRangeFacet as v } from "./Facets/Variants/DateRangeFacet.js";
14
+ import { DateRangeSelector as w } from "./Inputs/DateRangeSelector/DateRangeSelector.js";
15
+ import { DefaultBrand as k, NavBar as O } from "./NavBar/NavBar.js";
16
+ import { DefaultLayout as E } from "./Layouts/DefaultLayout.js";
17
+ import { Dialog as z, DialogDescription as M, DialogTitle as U } from "./Dialog/Dialog.js";
18
+ import { Drawer as _, DrawerDescription as G, DrawerTitle as J } from "./Dialog/Drawer.js";
19
+ import { FacetCount as j } from "./Facets/FacetCount.js";
20
+ import { FacetInnerLightButton as Q } from "./Facets/FacetInnerLightButton.js";
21
+ import { FacetLabel as Y } from "./Facets/FacetLabel.js";
22
+ import { FacetList as $, useFacetState as oo } from "./Facets/FacetList.js";
23
+ import { FacetListCard as eo } from "./Facets/FacetListCard.js";
24
+ import { FacetResetLink as ao } from "./Facets/FacetResetLink.js";
25
+ import { Foldable as po } from "./Utilities/Foldable.js";
26
+ import { H1 as xo, H2 as so, H3 as no, H4 as io, H5 as co, H6 as lo } from "./Typography/Titles.js";
27
+ import { HeadersDisplay as Co } from "./Formatter/HeadersDisplay.js";
28
+ import { HeadingLevel as ho, Subheading as Fo, useSubheadingLevel as So } from "./Typography/HeadingLevel.js";
29
+ import { Input as Do } from "./Inputs/Input/Input.js";
30
+ import { InputAddon as Po } from "./Inputs/InputAddon/InputAddon.js";
31
+ import { InputButton as Ho } from "./Inputs/InputButton/InputButton.js";
32
+ import { InputIcon as Lo } from "./Inputs/InputIcon/InputIcon.js";
33
+ import { JsonTreeView as vo } from "./Formatter/JsonTreeView.js";
34
+ import { KeyboardShortcut as wo } from "./Inputs/KeyboardShortcut/KeyboardShortcut.js";
35
+ import { MultipleChoiceFacet as ko } from "./Facets/Variants/MultipleChoiceFacet.js";
36
+ import { P as Ao } from "./Typography/Paragraphs.js";
37
+ import { Paginator as Vo } from "./DataTable/Paginator.js";
38
+ import { PerformanceFacet as Mo } from "./Facets/Variants/PerformanceFacet.js";
39
+ import { PerformanceMetrics as Wo } from "./Formatter/PerformanceMetrics.js";
40
+ import { ProportionBar as Go } from "./DataTable/ProportionBar.js";
41
+ import { Radio as Ko } from "./Inputs/Radio/Radio.js";
42
+ import { RangeSlider as qo } from "./Inputs/Sliders/RangeSlider.js";
43
+ import { SearchInput as Xo } from "./Inputs/SearchInput/SearchInput.js";
44
+ import { Section as Zo } from "./Typography/Section.js";
45
+ import { SingleChoiceFacet as or } from "./Facets/Variants/SingleChoiceFacet.js";
46
+ import { StatCard as er } from "./Cards/StatCard.js";
47
+ import { SummaryPerformancesChart as ar } from "./Charts/SummaryPerformancesChart.js";
48
+ import { SummaryRateChart as pr } from "./Charts/SummaryRateChart.js";
49
+ import { SyntaxHighlighter as xr } from "./Formatter/SyntaxHighlighter.js";
50
+ import { TabPanel as nr, Tabs as ir } from "./Tabs/Tabs.js";
51
+ import { Textarea as lr } from "./Inputs/Textarea/Textarea.js";
52
+ import { TimeFormatter as Cr } from "./Charts/Utils/TimeFormatter.js";
53
+ import { Toast as dr } from "./Toast/Toast.js";
54
+ import { ToastContainer as Fr } from "./Toast/ToastContainer.js";
55
+ import { ToastProvider as gr, useErrorToast as Dr, useInfoToast as Br, useSuccessToast as Pr, useToast as br, useWarningToast as Hr } from "./Toast/ToastContext.js";
56
+ import { TransactionsChart as Lr } from "./Charts/TransactionsChart.js";
57
+ import { VirtualizedCodeView as vr } from "./Formatter/VirtualizedCodeView.js";
58
+ import { chartColorTokens as wr } from "./Charts/Utils/ChartColors.js";
59
+ import { createThinBarSeries as kr } from "./Charts/Components/ThinBarChart.js";
60
+ import { createWideBarSeries as Ar } from "./Charts/Components/WideBarChart.js";
61
+ import { modalSizeClasses as Vr } from "./Dialog/modal.types.js";
62
+ import { resolveThemeColor as Mr, resolveThemeColors as Ur, toEchartsColor as Wr } from "./Charts/Utils/ThemeColor.js";
63
+ import { useChartDimensions as Gr } from "./Charts/Hooks/useChartDimensions.js";
64
+ import { useClickOutside as Kr } from "./Utilities/useClickOutside.js";
65
+ import { useThemeColor as qr, useThemeColors as Qr } from "./Charts/Hooks/useThemeColors.js";
66
+ export {
67
+ e as Badge,
68
+ a as BodyNotice,
69
+ p as Button,
70
+ x as ButtonGroup,
71
+ n as Card,
72
+ l as ChartBarCalculator,
73
+ C as ChartTooltipFormatter,
74
+ d as Checkbox,
75
+ F as CodeFormatter,
76
+ g as Colors,
77
+ B as DEFAULT_COUNTS_CAPTION,
78
+ I as DataTable,
79
+ v as DateRangeFacet,
80
+ w as DateRangeSelector,
81
+ k as DefaultBrand,
82
+ E as DefaultLayout,
83
+ z as Dialog,
84
+ M as DialogDescription,
85
+ U as DialogTitle,
86
+ _ as Drawer,
87
+ G as DrawerDescription,
88
+ J as DrawerTitle,
89
+ j as FacetCount,
90
+ P as FacetCountsCaption,
91
+ Q as FacetInnerLightButton,
92
+ Y as FacetLabel,
93
+ $ as FacetList,
94
+ eo as FacetListCard,
95
+ ao as FacetResetLink,
96
+ po as Foldable,
97
+ xo as H1,
98
+ so as H2,
99
+ no as H3,
100
+ io as H4,
101
+ co as H5,
102
+ lo as H6,
103
+ Co as HeadersDisplay,
104
+ ho as HeadingLevel,
105
+ Do as Input,
106
+ Po as InputAddon,
107
+ Ho as InputButton,
108
+ Lo as InputIcon,
109
+ vo as JsonTreeView,
110
+ wo as KeyboardShortcut,
111
+ ko as MultipleChoiceFacet,
112
+ O as NavBar,
113
+ Ao as P,
114
+ Vo as Paginator,
115
+ Mo as PerformanceFacet,
116
+ Wo as PerformanceMetrics,
117
+ Go as ProportionBar,
118
+ Ko as Radio,
119
+ qo as RangeSlider,
120
+ Xo as SearchInput,
121
+ Zo as Section,
122
+ or as SingleChoiceFacet,
123
+ er as StatCard,
124
+ Fo as Subheading,
125
+ ar as SummaryPerformancesChart,
126
+ pr as SummaryRateChart,
127
+ xr as SyntaxHighlighter,
128
+ nr as TabPanel,
129
+ ir as Tabs,
130
+ lr as Textarea,
131
+ Cr as TimeFormatter,
132
+ dr as Toast,
133
+ Fr as ToastContainer,
134
+ gr as ToastProvider,
135
+ Lr as TransactionsChart,
136
+ vr as VirtualizedCodeView,
137
+ wr as chartColorTokens,
138
+ L as columnsFor,
139
+ i as contentPaddingClassName,
140
+ b as countsCaptionOf,
141
+ kr as createThinBarSeries,
142
+ Ar as createWideBarSeries,
143
+ Vr as modalSizeClasses,
144
+ Mr as resolveThemeColor,
145
+ Ur as resolveThemeColors,
146
+ Wr as toEchartsColor,
147
+ Gr as useChartDimensions,
148
+ Kr as useClickOutside,
149
+ Dr as useErrorToast,
150
+ oo as useFacetState,
151
+ Br as useInfoToast,
152
+ So as useSubheadingLevel,
153
+ Pr as useSuccessToast,
154
+ qr as useThemeColor,
155
+ Qr as useThemeColors,
156
+ br as useToast,
157
+ Hr as useWarningToast
158
+ };
@@ -0,0 +1,13 @@
1
+ import { Badge } from "../../Components/Badges/Badge.js";
2
+ import { type ComponentProps } from "react";
3
+ export interface CacheBadgeProps extends Omit<ComponentProps<typeof Badge>, "color"> {
4
+ /** Cache status from the server */
5
+ cacheStatus?: "hit" | "miss" | "stale" | "bypass";
6
+ /** Whether the request was cached (legacy support) */
7
+ cached?: boolean;
8
+ }
9
+ /**
10
+ * CacheBadge component that displays the cache status of a request.
11
+ * Shows different colors and labels based on cache status.
12
+ */
13
+ export declare function CacheBadge({ cacheStatus, cached, className, ...props }: CacheBadgeProps): import("react/jsx-runtime").JSX.Element | null;