@e-llm-studio/federated-dashboard-components 2.2.12 → 2.2.13-rca-alpha-2

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 (283) hide show
  1. package/README.md +3 -0
  2. package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js +1 -1
  3. package/dist/ExecutiveDashboard/api/dashboardApi.js +1 -1
  4. package/dist/ExecutiveDashboard/api/insightsApi.js +2 -0
  5. package/dist/ExecutiveDashboard/api/insightsApi.js.map +1 -0
  6. package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +1 -1
  7. package/dist/ExecutiveDashboard/components/DashboardDateFilter/QuarterPicker.js +2 -0
  8. package/dist/ExecutiveDashboard/components/DashboardDateFilter/QuarterPicker.js.map +1 -0
  9. package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +1 -1
  10. package/dist/ExecutiveDashboard/components/DashboardDateFilter/dateRanges.js +2 -0
  11. package/dist/ExecutiveDashboard/components/DashboardDateFilter/dateRanges.js.map +1 -0
  12. package/dist/ExecutiveDashboard/components/DashboardGrid/buildDashboardWidgets.js +1 -1
  13. package/dist/ExecutiveDashboard/components/DashboardGrid/kpiCollapse.js +2 -0
  14. package/dist/ExecutiveDashboard/components/DashboardGrid/kpiCollapse.js.map +1 -0
  15. package/dist/ExecutiveDashboard/components/DashboardHeader/DashboardHeader.js +2 -0
  16. package/dist/ExecutiveDashboard/components/DashboardHeader/DashboardHeader.js.map +1 -0
  17. package/dist/ExecutiveDashboard/components/DataAccess/DataAccessMessage.js +2 -0
  18. package/dist/ExecutiveDashboard/components/DataAccess/DataAccessMessage.js.map +1 -0
  19. package/dist/ExecutiveDashboard/components/DataAccess/DataAccessScopeChip.js +2 -0
  20. package/dist/ExecutiveDashboard/components/DataAccess/DataAccessScopeChip.js.map +1 -0
  21. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +1 -1
  22. package/dist/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +1 -1
  23. package/dist/ExecutiveDashboard/components/Graph/Graph.js +1 -1
  24. package/dist/ExecutiveDashboard/components/Graph/LineChart.js +1 -1
  25. package/dist/ExecutiveDashboard/components/Graph/axisDomain.js +2 -0
  26. package/dist/ExecutiveDashboard/components/Graph/axisDomain.js.map +1 -0
  27. package/dist/ExecutiveDashboard/components/Graph/inlineLabels.js +2 -0
  28. package/dist/ExecutiveDashboard/components/Graph/inlineLabels.js.map +1 -0
  29. package/dist/ExecutiveDashboard/components/Insights/AgCharts.js +2 -0
  30. package/dist/ExecutiveDashboard/components/Insights/AgCharts.js.map +1 -0
  31. package/dist/ExecutiveDashboard/components/Insights/AgReport.js +2 -0
  32. package/dist/ExecutiveDashboard/components/Insights/AgReport.js.map +1 -0
  33. package/dist/ExecutiveDashboard/components/Insights/CommentsThread.js +2 -0
  34. package/dist/ExecutiveDashboard/components/Insights/CommentsThread.js.map +1 -0
  35. package/dist/ExecutiveDashboard/components/Insights/DecisionAdvantageCard.js +2 -0
  36. package/dist/ExecutiveDashboard/components/Insights/DecisionAdvantageCard.js.map +1 -0
  37. package/dist/ExecutiveDashboard/components/Insights/DrillLevel.js +2 -0
  38. package/dist/ExecutiveDashboard/components/Insights/DrillLevel.js.map +1 -0
  39. package/dist/ExecutiveDashboard/components/Insights/DrillTable.js +2 -0
  40. package/dist/ExecutiveDashboard/components/Insights/DrillTable.js.map +1 -0
  41. package/dist/ExecutiveDashboard/components/Insights/DriverActivity.js +2 -0
  42. package/dist/ExecutiveDashboard/components/Insights/DriverActivity.js.map +1 -0
  43. package/dist/ExecutiveDashboard/components/Insights/FilterNotice.js +2 -0
  44. package/dist/ExecutiveDashboard/components/Insights/FilterNotice.js.map +1 -0
  45. package/dist/ExecutiveDashboard/components/Insights/InsightTabs.js +2 -0
  46. package/dist/ExecutiveDashboard/components/Insights/InsightTabs.js.map +1 -0
  47. package/dist/ExecutiveDashboard/components/Insights/InsightsContext.js +2 -0
  48. package/dist/ExecutiveDashboard/components/Insights/InsightsContext.js.map +1 -0
  49. package/dist/ExecutiveDashboard/components/Insights/KpiChart.js +2 -0
  50. package/dist/ExecutiveDashboard/components/Insights/KpiChart.js.map +1 -0
  51. package/dist/ExecutiveDashboard/components/Insights/L1Report.js +2 -0
  52. package/dist/ExecutiveDashboard/components/Insights/L1Report.js.map +1 -0
  53. package/dist/ExecutiveDashboard/components/Insights/NeedsAttention.js +2 -0
  54. package/dist/ExecutiveDashboard/components/Insights/NeedsAttention.js.map +1 -0
  55. package/dist/ExecutiveDashboard/components/Insights/ReportDrawer.js +2 -0
  56. package/dist/ExecutiveDashboard/components/Insights/ReportDrawer.js.map +1 -0
  57. package/dist/ExecutiveDashboard/components/Insights/RowDetail.js +2 -0
  58. package/dist/ExecutiveDashboard/components/Insights/RowDetail.js.map +1 -0
  59. package/dist/ExecutiveDashboard/components/Insights/agPrimitives.js +2 -0
  60. package/dist/ExecutiveDashboard/components/Insights/agPrimitives.js.map +1 -0
  61. package/dist/ExecutiveDashboard/components/Insights/drillDay.js +2 -0
  62. package/dist/ExecutiveDashboard/components/Insights/drillDay.js.map +1 -0
  63. package/dist/ExecutiveDashboard/components/Insights/insightsContextCore.js +2 -0
  64. package/dist/ExecutiveDashboard/components/Insights/insightsContextCore.js.map +1 -0
  65. package/dist/ExecutiveDashboard/components/Insights/insightsErrors.js +2 -0
  66. package/dist/ExecutiveDashboard/components/Insights/insightsErrors.js.map +1 -0
  67. package/dist/ExecutiveDashboard/components/Insights/insightsFilters.js +2 -0
  68. package/dist/ExecutiveDashboard/components/Insights/insightsFilters.js.map +1 -0
  69. package/dist/ExecutiveDashboard/components/Insights/insightsFormat.js +2 -0
  70. package/dist/ExecutiveDashboard/components/Insights/insightsFormat.js.map +1 -0
  71. package/dist/ExecutiveDashboard/components/Insights/insightsUtils.js +2 -0
  72. package/dist/ExecutiveDashboard/components/Insights/insightsUtils.js.map +1 -0
  73. package/dist/ExecutiveDashboard/components/IntegrationTracking/ MarkdownDocsModal.js +2 -0
  74. package/dist/ExecutiveDashboard/components/IntegrationTracking/ MarkdownDocsModal.js.map +1 -0
  75. package/dist/ExecutiveDashboard/components/IntegrationTracking/ useModeTrackingStatus.js +2 -0
  76. package/dist/ExecutiveDashboard/components/IntegrationTracking/ useModeTrackingStatus.js.map +1 -0
  77. package/dist/ExecutiveDashboard/components/IntegrationTracking/TrackingBanner.js +2 -0
  78. package/dist/ExecutiveDashboard/components/IntegrationTracking/TrackingBanner.js.map +1 -0
  79. package/dist/ExecutiveDashboard/components/IntegrationTracking/trackingIntegrationApi.js +2 -0
  80. package/dist/ExecutiveDashboard/components/IntegrationTracking/trackingIntegrationApi.js.map +1 -0
  81. package/dist/ExecutiveDashboard/components/RcaDecisionComponent/CitationMarkdown.js +2 -0
  82. package/dist/ExecutiveDashboard/components/RcaDecisionComponent/CitationMarkdown.js.map +1 -0
  83. package/dist/ExecutiveDashboard/components/RcaDecisionComponent/RcaDecisionComponent.js +1 -1
  84. package/dist/ExecutiveDashboard/components/Table/FTable.js +1 -1
  85. package/dist/ExecutiveDashboard/utils/sectionOrder.js +1 -1
  86. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +1 -1
  87. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +1 -1
  88. package/dist/cjs/ExecutiveDashboard/api/insightsApi.js +2 -0
  89. package/dist/cjs/ExecutiveDashboard/api/insightsApi.js.map +1 -0
  90. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +1 -1
  91. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/QuarterPicker.js +2 -0
  92. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/QuarterPicker.js.map +1 -0
  93. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +1 -1
  94. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/dateRanges.js +2 -0
  95. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/dateRanges.js.map +1 -0
  96. package/dist/cjs/ExecutiveDashboard/components/DashboardGrid/buildDashboardWidgets.js +1 -1
  97. package/dist/cjs/ExecutiveDashboard/components/DashboardGrid/kpiCollapse.js +2 -0
  98. package/dist/cjs/ExecutiveDashboard/components/DashboardGrid/kpiCollapse.js.map +1 -0
  99. package/dist/cjs/ExecutiveDashboard/components/DashboardHeader/DashboardHeader.js +2 -0
  100. package/dist/cjs/ExecutiveDashboard/components/DashboardHeader/DashboardHeader.js.map +1 -0
  101. package/dist/cjs/ExecutiveDashboard/components/DataAccess/DataAccessMessage.js +2 -0
  102. package/dist/cjs/ExecutiveDashboard/components/DataAccess/DataAccessMessage.js.map +1 -0
  103. package/dist/cjs/ExecutiveDashboard/components/DataAccess/DataAccessScopeChip.js +2 -0
  104. package/dist/cjs/ExecutiveDashboard/components/DataAccess/DataAccessScopeChip.js.map +1 -0
  105. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +1 -1
  106. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +1 -1
  107. package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +1 -1
  108. package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +1 -1
  109. package/dist/cjs/ExecutiveDashboard/components/Graph/axisDomain.js +2 -0
  110. package/dist/cjs/ExecutiveDashboard/components/Graph/axisDomain.js.map +1 -0
  111. package/dist/cjs/ExecutiveDashboard/components/Graph/inlineLabels.js +2 -0
  112. package/dist/cjs/ExecutiveDashboard/components/Graph/inlineLabels.js.map +1 -0
  113. package/dist/cjs/ExecutiveDashboard/components/Insights/AgCharts.js +2 -0
  114. package/dist/cjs/ExecutiveDashboard/components/Insights/AgCharts.js.map +1 -0
  115. package/dist/cjs/ExecutiveDashboard/components/Insights/AgReport.js +2 -0
  116. package/dist/cjs/ExecutiveDashboard/components/Insights/AgReport.js.map +1 -0
  117. package/dist/cjs/ExecutiveDashboard/components/Insights/CommentsThread.js +2 -0
  118. package/dist/cjs/ExecutiveDashboard/components/Insights/CommentsThread.js.map +1 -0
  119. package/dist/cjs/ExecutiveDashboard/components/Insights/DecisionAdvantageCard.js +2 -0
  120. package/dist/cjs/ExecutiveDashboard/components/Insights/DecisionAdvantageCard.js.map +1 -0
  121. package/dist/cjs/ExecutiveDashboard/components/Insights/DrillLevel.js +2 -0
  122. package/dist/cjs/ExecutiveDashboard/components/Insights/DrillLevel.js.map +1 -0
  123. package/dist/cjs/ExecutiveDashboard/components/Insights/DrillTable.js +2 -0
  124. package/dist/cjs/ExecutiveDashboard/components/Insights/DrillTable.js.map +1 -0
  125. package/dist/cjs/ExecutiveDashboard/components/Insights/DriverActivity.js +2 -0
  126. package/dist/cjs/ExecutiveDashboard/components/Insights/DriverActivity.js.map +1 -0
  127. package/dist/cjs/ExecutiveDashboard/components/Insights/FilterNotice.js +2 -0
  128. package/dist/cjs/ExecutiveDashboard/components/Insights/FilterNotice.js.map +1 -0
  129. package/dist/cjs/ExecutiveDashboard/components/Insights/InsightTabs.js +2 -0
  130. package/dist/cjs/ExecutiveDashboard/components/Insights/InsightTabs.js.map +1 -0
  131. package/dist/cjs/ExecutiveDashboard/components/Insights/InsightsContext.js +2 -0
  132. package/dist/cjs/ExecutiveDashboard/components/Insights/InsightsContext.js.map +1 -0
  133. package/dist/cjs/ExecutiveDashboard/components/Insights/KpiChart.js +2 -0
  134. package/dist/cjs/ExecutiveDashboard/components/Insights/KpiChart.js.map +1 -0
  135. package/dist/cjs/ExecutiveDashboard/components/Insights/L1Report.js +2 -0
  136. package/dist/cjs/ExecutiveDashboard/components/Insights/L1Report.js.map +1 -0
  137. package/dist/cjs/ExecutiveDashboard/components/Insights/NeedsAttention.js +2 -0
  138. package/dist/cjs/ExecutiveDashboard/components/Insights/NeedsAttention.js.map +1 -0
  139. package/dist/cjs/ExecutiveDashboard/components/Insights/ReportDrawer.js +2 -0
  140. package/dist/cjs/ExecutiveDashboard/components/Insights/ReportDrawer.js.map +1 -0
  141. package/dist/cjs/ExecutiveDashboard/components/Insights/RowDetail.js +2 -0
  142. package/dist/cjs/ExecutiveDashboard/components/Insights/RowDetail.js.map +1 -0
  143. package/dist/cjs/ExecutiveDashboard/components/Insights/agPrimitives.js +2 -0
  144. package/dist/cjs/ExecutiveDashboard/components/Insights/agPrimitives.js.map +1 -0
  145. package/dist/cjs/ExecutiveDashboard/components/Insights/drillDay.js +2 -0
  146. package/dist/cjs/ExecutiveDashboard/components/Insights/drillDay.js.map +1 -0
  147. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsContextCore.js +2 -0
  148. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsContextCore.js.map +1 -0
  149. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsErrors.js +2 -0
  150. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsErrors.js.map +1 -0
  151. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsFilters.js +2 -0
  152. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsFilters.js.map +1 -0
  153. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsFormat.js +2 -0
  154. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsFormat.js.map +1 -0
  155. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsUtils.js +2 -0
  156. package/dist/cjs/ExecutiveDashboard/components/Insights/insightsUtils.js.map +1 -0
  157. package/dist/cjs/ExecutiveDashboard/components/IntegrationTracking/ MarkdownDocsModal.js +2 -0
  158. package/dist/cjs/ExecutiveDashboard/components/IntegrationTracking/ MarkdownDocsModal.js.map +1 -0
  159. package/dist/cjs/ExecutiveDashboard/components/IntegrationTracking/ useModeTrackingStatus.js +2 -0
  160. package/dist/cjs/ExecutiveDashboard/components/IntegrationTracking/ useModeTrackingStatus.js.map +1 -0
  161. package/dist/cjs/ExecutiveDashboard/components/IntegrationTracking/TrackingBanner.js +2 -0
  162. package/dist/cjs/ExecutiveDashboard/components/IntegrationTracking/TrackingBanner.js.map +1 -0
  163. package/dist/cjs/ExecutiveDashboard/components/IntegrationTracking/trackingIntegrationApi.js +2 -0
  164. package/dist/cjs/ExecutiveDashboard/components/IntegrationTracking/trackingIntegrationApi.js.map +1 -0
  165. package/dist/cjs/ExecutiveDashboard/components/RcaDecisionComponent/CitationMarkdown.js +2 -0
  166. package/dist/cjs/ExecutiveDashboard/components/RcaDecisionComponent/CitationMarkdown.js.map +1 -0
  167. package/dist/cjs/ExecutiveDashboard/components/RcaDecisionComponent/RcaDecisionComponent.js +1 -1
  168. package/dist/cjs/ExecutiveDashboard/components/Table/FTable.js +1 -1
  169. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js +1 -1
  170. package/dist/cjs/index.js +1 -1
  171. package/dist/cjs/styles.css +1 -1
  172. package/dist/index.js +1 -1
  173. package/dist/styles.css +1 -1
  174. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +1 -1
  175. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +1 -1
  176. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +1 -1
  177. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +10 -2
  178. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +1 -1
  179. package/dist/types/ExecutiveDashboard/api/insightsApi.d.ts +200 -0
  180. package/dist/types/ExecutiveDashboard/api/insightsApi.d.ts.map +1 -0
  181. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts +5 -1
  182. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -1
  183. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/QuarterPicker.d.ts +9 -0
  184. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/QuarterPicker.d.ts.map +1 -0
  185. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts +47 -2
  186. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +1 -1
  187. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/dateRanges.d.ts +7 -0
  188. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/dateRanges.d.ts.map +1 -0
  189. package/dist/types/ExecutiveDashboard/components/DashboardGrid/buildDashboardWidgets.d.ts +12 -1
  190. package/dist/types/ExecutiveDashboard/components/DashboardGrid/buildDashboardWidgets.d.ts.map +1 -1
  191. package/dist/types/ExecutiveDashboard/components/DashboardGrid/kpiCollapse.d.ts +10 -0
  192. package/dist/types/ExecutiveDashboard/components/DashboardGrid/kpiCollapse.d.ts.map +1 -0
  193. package/dist/types/ExecutiveDashboard/components/DashboardHeader/DashboardHeader.d.ts +17 -0
  194. package/dist/types/ExecutiveDashboard/components/DashboardHeader/DashboardHeader.d.ts.map +1 -0
  195. package/dist/types/ExecutiveDashboard/components/DataAccess/DataAccessMessage.d.ts +18 -0
  196. package/dist/types/ExecutiveDashboard/components/DataAccess/DataAccessMessage.d.ts.map +1 -0
  197. package/dist/types/ExecutiveDashboard/components/DataAccess/DataAccessScopeChip.d.ts +16 -0
  198. package/dist/types/ExecutiveDashboard/components/DataAccess/DataAccessScopeChip.d.ts.map +1 -0
  199. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +45 -2
  200. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +1 -1
  201. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts +11 -1
  202. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -1
  203. package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +1 -1
  204. package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts +6 -1
  205. package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +1 -1
  206. package/dist/types/ExecutiveDashboard/components/Graph/axisDomain.d.ts +24 -0
  207. package/dist/types/ExecutiveDashboard/components/Graph/axisDomain.d.ts.map +1 -0
  208. package/dist/types/ExecutiveDashboard/components/Graph/inlineLabels.d.ts +49 -0
  209. package/dist/types/ExecutiveDashboard/components/Graph/inlineLabels.d.ts.map +1 -0
  210. package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts +85 -0
  211. package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +1 -1
  212. package/dist/types/ExecutiveDashboard/components/Insights/AgCharts.d.ts +74 -0
  213. package/dist/types/ExecutiveDashboard/components/Insights/AgCharts.d.ts.map +1 -0
  214. package/dist/types/ExecutiveDashboard/components/Insights/AgReport.d.ts +160 -0
  215. package/dist/types/ExecutiveDashboard/components/Insights/AgReport.d.ts.map +1 -0
  216. package/dist/types/ExecutiveDashboard/components/Insights/CommentsThread.d.ts +6 -0
  217. package/dist/types/ExecutiveDashboard/components/Insights/CommentsThread.d.ts.map +1 -0
  218. package/dist/types/ExecutiveDashboard/components/Insights/DecisionAdvantageCard.d.ts +65 -0
  219. package/dist/types/ExecutiveDashboard/components/Insights/DecisionAdvantageCard.d.ts.map +1 -0
  220. package/dist/types/ExecutiveDashboard/components/Insights/DrillLevel.d.ts +35 -0
  221. package/dist/types/ExecutiveDashboard/components/Insights/DrillLevel.d.ts.map +1 -0
  222. package/dist/types/ExecutiveDashboard/components/Insights/DrillTable.d.ts +29 -0
  223. package/dist/types/ExecutiveDashboard/components/Insights/DrillTable.d.ts.map +1 -0
  224. package/dist/types/ExecutiveDashboard/components/Insights/DriverActivity.d.ts +10 -0
  225. package/dist/types/ExecutiveDashboard/components/Insights/DriverActivity.d.ts.map +1 -0
  226. package/dist/types/ExecutiveDashboard/components/Insights/FilterNotice.d.ts +7 -0
  227. package/dist/types/ExecutiveDashboard/components/Insights/FilterNotice.d.ts.map +1 -0
  228. package/dist/types/ExecutiveDashboard/components/Insights/InsightTabs.d.ts +17 -0
  229. package/dist/types/ExecutiveDashboard/components/Insights/InsightTabs.d.ts.map +1 -0
  230. package/dist/types/ExecutiveDashboard/components/Insights/InsightsContext.d.ts +73 -0
  231. package/dist/types/ExecutiveDashboard/components/Insights/InsightsContext.d.ts.map +1 -0
  232. package/dist/types/ExecutiveDashboard/components/Insights/KpiChart.d.ts +128 -0
  233. package/dist/types/ExecutiveDashboard/components/Insights/KpiChart.d.ts.map +1 -0
  234. package/dist/types/ExecutiveDashboard/components/Insights/L1Report.d.ts +41 -0
  235. package/dist/types/ExecutiveDashboard/components/Insights/L1Report.d.ts.map +1 -0
  236. package/dist/types/ExecutiveDashboard/components/Insights/NeedsAttention.d.ts +27 -0
  237. package/dist/types/ExecutiveDashboard/components/Insights/NeedsAttention.d.ts.map +1 -0
  238. package/dist/types/ExecutiveDashboard/components/Insights/ReportDrawer.d.ts +13 -0
  239. package/dist/types/ExecutiveDashboard/components/Insights/ReportDrawer.d.ts.map +1 -0
  240. package/dist/types/ExecutiveDashboard/components/Insights/RowDetail.d.ts +21 -0
  241. package/dist/types/ExecutiveDashboard/components/Insights/RowDetail.d.ts.map +1 -0
  242. package/dist/types/ExecutiveDashboard/components/Insights/agPrimitives.d.ts +176 -0
  243. package/dist/types/ExecutiveDashboard/components/Insights/agPrimitives.d.ts.map +1 -0
  244. package/dist/types/ExecutiveDashboard/components/Insights/drillDay.d.ts +17 -0
  245. package/dist/types/ExecutiveDashboard/components/Insights/drillDay.d.ts.map +1 -0
  246. package/dist/types/ExecutiveDashboard/components/Insights/insightsContextCore.d.ts +128 -0
  247. package/dist/types/ExecutiveDashboard/components/Insights/insightsContextCore.d.ts.map +1 -0
  248. package/dist/types/ExecutiveDashboard/components/Insights/insightsErrors.d.ts +11 -0
  249. package/dist/types/ExecutiveDashboard/components/Insights/insightsErrors.d.ts.map +1 -0
  250. package/dist/types/ExecutiveDashboard/components/Insights/insightsFilters.d.ts +9 -0
  251. package/dist/types/ExecutiveDashboard/components/Insights/insightsFilters.d.ts.map +1 -0
  252. package/dist/types/ExecutiveDashboard/components/Insights/insightsFormat.d.ts +92 -0
  253. package/dist/types/ExecutiveDashboard/components/Insights/insightsFormat.d.ts.map +1 -0
  254. package/dist/types/ExecutiveDashboard/components/Insights/insightsUtils.d.ts +85 -0
  255. package/dist/types/ExecutiveDashboard/components/Insights/insightsUtils.d.ts.map +1 -0
  256. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/ MarkdownDocsModal.d.ts +24 -0
  257. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/ MarkdownDocsModal.d.ts.map +1 -0
  258. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/ useModeTrackingStatus.d.ts +9 -0
  259. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/ useModeTrackingStatus.d.ts.map +1 -0
  260. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/TrackingBanner.d.ts +25 -0
  261. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/TrackingBanner.d.ts.map +1 -0
  262. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/index.d.ts +5 -0
  263. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/index.d.ts.map +1 -0
  264. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/trackingIntegrationApi.d.ts +17 -0
  265. package/dist/types/ExecutiveDashboard/components/IntegrationTracking/trackingIntegrationApi.d.ts.map +1 -0
  266. package/dist/types/ExecutiveDashboard/components/RcaDecisionComponent/CitationMarkdown.d.ts +54 -0
  267. package/dist/types/ExecutiveDashboard/components/RcaDecisionComponent/CitationMarkdown.d.ts.map +1 -0
  268. package/dist/types/ExecutiveDashboard/components/RcaDecisionComponent/RcaDecisionComponent.d.ts +13 -2
  269. package/dist/types/ExecutiveDashboard/components/RcaDecisionComponent/RcaDecisionComponent.d.ts.map +1 -1
  270. package/dist/types/ExecutiveDashboard/components/RcaDecisionComponent/index.d.ts +1 -1
  271. package/dist/types/ExecutiveDashboard/components/RcaDecisionComponent/index.d.ts.map +1 -1
  272. package/dist/types/ExecutiveDashboard/components/RcaDecisionComponent/types.d.ts +46 -2
  273. package/dist/types/ExecutiveDashboard/components/RcaDecisionComponent/types.d.ts.map +1 -1
  274. package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts +2 -0
  275. package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +1 -1
  276. package/dist/types/ExecutiveDashboard/types/index.d.ts +122 -2
  277. package/dist/types/ExecutiveDashboard/types/index.d.ts.map +1 -1
  278. package/dist/types/ExecutiveDashboard/types/insights.d.ts +893 -0
  279. package/dist/types/ExecutiveDashboard/types/insights.d.ts.map +1 -0
  280. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts.map +1 -1
  281. package/dist/types/index.d.ts +20 -2
  282. package/dist/types/index.d.ts.map +1 -1
  283. package/package.json +4 -3
@@ -0,0 +1,65 @@
1
+ import React from "react";
2
+ import type { InsightsReadContext, InsightsReport } from "../../types/insights";
3
+ import "./insights.css";
4
+ export interface DecisionAdvantageCardProps {
5
+ /** The overall card, or one drill-down part's card. */
6
+ entityKey?: string;
7
+ title?: string;
8
+ }
9
+ /** What sits above the report: which days it covers and what it ignores. Null when there's nothing to say. */
10
+ export declare function reportNotice(context?: InsightsReadContext): string | null;
11
+ /** A card in a state that has no report to draw yet. */
12
+ export declare function InsightsStateCard({ title, icon, heading, text, action, }: {
13
+ title: string;
14
+ icon?: React.ReactNode;
15
+ heading: string;
16
+ text?: React.ReactNode;
17
+ action?: React.ReactNode;
18
+ }): React.JSX.Element;
19
+ export declare function InsightsSkeleton({ title }: {
20
+ title: string;
21
+ }): React.JSX.Element;
22
+ /** Draws a stored report, or says why there isn't one. */
23
+ export declare function ReportView({ report, title, context, onComments, onRetry, }: {
24
+ report: InsightsReport;
25
+ title: string;
26
+ context?: InsightsReadContext;
27
+ onComments?: () => void;
28
+ onRetry?: () => void;
29
+ }): React.JSX.Element;
30
+ /** The "Significant change" box above a Decision Advantage card. */
31
+ export declare function SummaryBox({ summary, onOpen, }: {
32
+ summary: NonNullable<InsightsReport["summary"]>;
33
+ onOpen?: () => void;
34
+ }): React.JSX.Element;
35
+ export interface DecisionColumnProps {
36
+ title?: string;
37
+ report?: InsightsReport;
38
+ context?: InsightsReadContext;
39
+ loading?: boolean;
40
+ error?: Error;
41
+ onRetry?: () => void;
42
+ /** More content inside the card's scrolling body, after Next Steps. */
43
+ children?: React.ReactNode;
44
+ }
45
+ /**
46
+ * Summary heading, the "Significant change" box and the Decision Advantage
47
+ * card. The column fills whatever height it is given and scrolls as a whole,
48
+ * so it sits beside a chart without stretching it.
49
+ */
50
+ export declare function DecisionColumn({ title, report, context, loading, error, onRetry, children }: DecisionColumnProps): React.JSX.Element;
51
+ /**
52
+ * Fills the height its row is given without adding any of its own, so the
53
+ * chart beside it decides how tall the row is and the column scrolls inside.
54
+ */
55
+ export declare function FillHeight({ children, minHeight }: {
56
+ children: React.ReactNode;
57
+ minHeight?: number;
58
+ }): React.JSX.Element;
59
+ /**
60
+ * The overall Decision Advantage column, beside the main graph. It reads what
61
+ * the morning run stored for the dashboard's date range; it never writes a
62
+ * report itself.
63
+ */
64
+ export default function DecisionAdvantageCard({ entityKey, title }: DecisionAdvantageCardProps): React.JSX.Element | null;
65
+ //# sourceMappingURL=DecisionAdvantageCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DecisionAdvantageCard.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/DecisionAdvantageCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAIhF,OAAO,gBAAgB,CAAC;AAExB,MAAM,WAAW,0BAA0B;IACzC,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,8GAA8G;AAC9G,wBAAgB,YAAY,CAAC,OAAO,CAAC,EAAE,mBAAmB,GAAG,MAAM,GAAG,IAAI,CAKzE;AAED,wDAAwD;AACxD,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,IAAI,EACJ,OAAO,EACP,I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OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,mBAAmB,qBAuDvI;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,QAAQ,EAAE,SAAe,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,qBAM1G;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,EAAE,SAAS,EAAE,KAA4B,EAAE,EAAE,0BAA0B,4BAuBpH"}
@@ -0,0 +1,35 @@
1
+ /// <reference types="react" />
2
+ import type { DrillLevelConfig, InsightsDriver, InsightsRow, InsightsRowMetric } from "../../types/insights";
3
+ import { type DrillTrailRow } from "./DrillTable";
4
+ import { type InsightsContextValue } from "./insightsContextCore";
5
+ /** One row of a popup's breadcrumb, with what the popup needs to show it. */
6
+ export interface DrillPopupRow extends DrillTrailRow {
7
+ partName: string;
8
+ reportId: string | null;
9
+ /** The numbers the row was opened with (from its table or driver row), for the Headline numbers panel. */
10
+ metrics?: Record<string, InsightsRowMetric>;
11
+ }
12
+ /** What a popup shows for a row with no drill level of its own (opened from a report link): its report and charts. */
13
+ export declare const DEFAULT_LEVEL: DrillLevelConfig;
14
+ export declare const popupRowFromTable: (insights: InsightsContextValue | null, row: InsightsRow) => DrillPopupRow;
15
+ export declare const popupRowFromDriver: (insights: InsightsContextValue | null, driver: InsightsDriver, kpiId: string) => DrillPopupRow;
16
+ /**
17
+ * What a popup shows for its deepest open row: the panels and tables of the
18
+ * drill level that row matches. A click on a table row or a Top Drivers row
19
+ * opens the next level when one is set up for it here, and its report
20
+ * otherwise.
21
+ */
22
+ export default function DrillLevelBody({ trail, level, kpiId, dataDay, reportDay, onReportDay, tier2Kpis, onOpen, }: {
23
+ /** The open rows, shallowest first; the last is the one shown. */
24
+ trail: DrillPopupRow[];
25
+ level: DrillLevelConfig;
26
+ kpiId: string;
27
+ /** The day the popup was opened on. */
28
+ dataDay: string;
29
+ /** The day of the row's report, once known. */
30
+ reportDay: string | null;
31
+ onReportDay: (day: string) => void;
32
+ tier2Kpis?: string[];
33
+ onOpen: (row: DrillPopupRow) => void;
34
+ }): import("react").JSX.Element | null;
35
+ //# sourceMappingURL=DrillLevel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrillLevel.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/DrillLevel.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE7G,OAAmB,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAG9D,OAAO,EAAe,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG/E,6EAA6E;AAC7E,MAAM,WAAW,aAAc,SAAQ,aAAa;IAClD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,0GAA0G;IAC1G,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CAC7C;AAED,sHAAsH;AACtH,eAAO,MAAM,aAAa,EAAE,gBAK3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAAc,oBAAoB,GAAG,IAAI,OAAO,WAAW,KAAG,aAO1F,CAAC;AAEH,eAAO,MAAM,kBAAkB,aAAc,oBAAoB,GAAG,IAAI,UAAU,cAAc,SAAS,MAAM,KAAG,aAOhH,CAAC;AAgCH;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,KAAK,EACL,KAAK,EACL,KAAK,EACL,OAAO,EACP,SAAS,EACT,WAAW,EACX,SAAS,EACT,MAAM,GACP,EAAE;IACD,kEAAkE;IAClE,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,KAAK,EAAE,gBAAgB,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,+CAA+C;IAC/C,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,MAAM,EAAE,CAAC,GAAG,EAAE,aAAa,KAAK,IAAI,CAAC;CACtC,sCAyEA"}
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import type { DrillClickAction, DrillTableConfig, InsightsRow } from "../../types/insights";
3
+ /** One opened row of a popup's breadcrumb, shallowest first. */
4
+ export interface DrillTrailRow {
5
+ nodeKey: string;
6
+ label: string;
7
+ entityKey: string;
8
+ }
9
+ /** Where a drill table is shown: the rows open above it, and the opened report's day. A tab's table has no trail. */
10
+ export interface DrillTableContext {
11
+ trail: DrillTrailRow[];
12
+ day?: string | null;
13
+ }
14
+ export interface DrillTableProps {
15
+ table: DrillTableConfig;
16
+ /** A tab's table lists the tab's own part. */
17
+ tabEntityKey?: string;
18
+ context: DrillTableContext;
19
+ onRowClick?: (row: InsightsRow, action: DrillClickAction) => void;
20
+ className?: string;
21
+ }
22
+ /**
23
+ * A drill-down table, entirely from config: insights rows of a part (with
24
+ * their changes, drillable) or a Table Builder table filtered by the rows open
25
+ * in the popup and the day, with the configured columns and row buttons.
26
+ * Two or more lists show as a switcher.
27
+ */
28
+ export default function DrillTable({ table, tabEntityKey, context, onRowClick, className }: DrillTableProps): import("react").JSX.Element | null;
29
+ //# sourceMappingURL=DrillTable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrillTable.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/DrillTable.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAEV,gBAAgB,EAKhB,gBAAgB,EAIhB,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAK9B,gEAAgE;AAChE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qHAAqH;AACrH,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,gBAAgB,CAAC;IACxB,8CAA8C;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAmOD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,eAAe,sCA+e1G"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import type { InsightsDriver } from "../../types/insights";
3
+ /** Summarize backend classifications with one chip; retain each metric in the tooltip. */
4
+ export default function DriverActivity({ driver, kpiId, kpiLabel, formatKpi }: {
5
+ driver: InsightsDriver;
6
+ kpiId: string;
7
+ kpiLabel: (id: string) => string;
8
+ formatKpi: (id: string, value: number | null) => string;
9
+ }): import("react").JSX.Element;
10
+ //# sourceMappingURL=DriverActivity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DriverActivity.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/DriverActivity.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAI3D,0FAA0F;AAC1F,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE;IAC7E,MAAM,EAAE,cAAc,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IACjC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,MAAM,CAAC;CACzD,+BAkCA"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import type { InsightsReadContext } from "../../types/insights";
3
+ /** Backend-provided scope notice. It deliberately does not know filter or entity names. */
4
+ export default function FilterNotice({ context }: {
5
+ context?: InsightsReadContext;
6
+ }): import("react").JSX.Element | null;
7
+ //# sourceMappingURL=FilterNotice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterNotice.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/FilterNotice.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhE,2FAA2F;AAC3F,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,OAAO,EAAE,EAAE;IAAE,OAAO,CAAC,EAAE,mBAAmB,CAAA;CAAE,sCAYlF"}
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ import type { InsightTabConfig, InsightsUiConfig } from "../../types/insights";
3
+ import "./agPrimitives.css";
4
+ import "./insights.css";
5
+ export interface InsightTabsProps {
6
+ tabs: InsightTabConfig[];
7
+ insightsConfig?: InsightsUiConfig | null;
8
+ /** Kept for hosts that pass it; the AI Governance layout has no filter button here. */
9
+ onOpenFilters?: () => void;
10
+ activeFilterCount?: number;
11
+ }
12
+ /**
13
+ * The insights tabs, as the AI Governance leaderboard tabs: a pill strip,
14
+ * a one-line description and a search box, then the tab's L2 Report.
15
+ */
16
+ export default function InsightTabs({ tabs, insightsConfig }: InsightTabsProps): import("react").JSX.Element | null;
17
+ //# sourceMappingURL=InsightTabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsightTabs.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/InsightTabs.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAiC,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAU9G,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gBAAgB,CAAC;AA0JxB,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,gBAAgB,EAAE,CAAC;IACzB,cAAc,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACzC,uFAAuF;IACvF,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,gBAAgB,sCAiM7E"}
@@ -0,0 +1,73 @@
1
+ import React from "react";
2
+ import type { DecisionAdvantageUiConfig, DrillColumn, DrillLevelConfig, DrillTableConfig, DrillTableSourceConfig, InsightsActionHandlers, InsightsCellRenderer, InsightsLabels, InsightsRow, InsightsUiConfig } from "../../types/insights";
3
+ import { type InsightsReportTarget } from "./insightsContextCore";
4
+ import type { DashboardTablesConfig, SidebarFilterConfig } from "../../types";
5
+ export { useInsights } from "./insightsContextCore";
6
+ export type { InsightsContextValue, InsightsReportTarget } from "./insightsContextCore";
7
+ export interface InsightsProviderProps {
8
+ dashboardKpiCards?: React.ReactNode;
9
+ baseUrl?: string;
10
+ configId?: string;
11
+ accessToken?: string;
12
+ eventsBaseUrl?: string;
13
+ intervalDays?: number;
14
+ integrationDocs?: {
15
+ quickStart?: string;
16
+ detailed?: string;
17
+ taskTracking?: string;
18
+ };
19
+ startDate: Date;
20
+ endDate: Date;
21
+ workingDaysOnly?: boolean;
22
+ filtersActive?: boolean;
23
+ insights?: InsightsUiConfig | null;
24
+ decisionAdvantage?: DecisionAdvantageUiConfig | null;
25
+ /** Host overrides win over config. A function can edit the config-derived drill model. */
26
+ insightsDrill?: {
27
+ tabTables?: Record<string, DrillTableConfig | undefined>;
28
+ levels?: DrillLevelConfig[];
29
+ } | ((fromConfig: {
30
+ tabTables: Record<string, DrillTableConfig | undefined>;
31
+ levels: DrillLevelConfig[];
32
+ }) => {
33
+ tabTables?: Record<string, DrillTableConfig | undefined>;
34
+ levels?: DrillLevelConfig[];
35
+ });
36
+ insightsLabels?: Partial<InsightsLabels>;
37
+ renderInsightsCell?: (context: {
38
+ column: DrillColumn;
39
+ row: InsightsRow;
40
+ entityKey: string;
41
+ }) => React.ReactNode | undefined;
42
+ /** The dashboard's applied sidebar filters; Table Builder tables inside drill-downs apply them too. */
43
+ sidebarFilters?: Record<string, string | string[]>;
44
+ /** Configured sidebar fields; only these may be sent to insights. */
45
+ sidebarFilterConfig?: SidebarFilterConfig[];
46
+ /** `ui.tableBuilder`, for drill tables that show a Table Builder table. */
47
+ tableBuilder?: DrillTableSourceConfig[];
48
+ /** Hosts `call` buttons may send the viewer's token to. */
49
+ approvedApiHosts?: string[];
50
+ /** Functions `host` buttons run, by name. */
51
+ actionHandlers?: InsightsActionHandlers;
52
+ /** Host rendering for drill-table columns (pill colours, render type, custom cells). */
53
+ cellRenderers?: Record<string, InsightsCellRenderer>;
54
+ /** The host's `tables` prop: columns and card styles for drill tables too. */
55
+ tables?: DashboardTablesConfig;
56
+ /** Tier 1's primary graph line, so reports lead with it. */
57
+ headlineKpiId?: string | null;
58
+ /** Graph lines filled in the graph config (`areaFill: "yes"`), by series key, with their `areaOpacity` (null when unset). */
59
+ areaFills?: Record<string, number | null>;
60
+ /** The graph's day filter opens on working days. */
61
+ defaultWorkingDays?: boolean;
62
+ /** The report open in the drawer, or null. Held by the dashboard so its graph markers can open it too. */
63
+ reportTarget: InsightsReportTarget | null;
64
+ onReportTargetChange: (target: InsightsReportTarget | null) => void;
65
+ /** Incremented by the dashboard refresh button so every insights query reloads. */
66
+ refreshRevision?: number;
67
+ /** The host's signer for Excel citation workbooks; wins over the built-in `${baseUrl}/backend/gcs/get-signed-url/` call. */
68
+ resolveExcelCitationGcsUrl?: (gsUrl: string) => Promise<string | null | undefined>;
69
+ children: React.ReactNode;
70
+ }
71
+ /** Shares the insights API settings with every Decision Advantage piece, and hosts the report drawer. */
72
+ export declare function InsightsProvider({ dashboardKpiCards, baseUrl, configId, accessToken, eventsBaseUrl, intervalDays, integrationDocs, startDate, endDate, workingDaysOnly, filtersActive, insights, decisionAdvantage, insightsDrill, insightsLabels, renderInsightsCell, sidebarFilters, sidebarFilterConfig, tableBuilder, approvedApiHosts, actionHandlers, cellRenderers, tables: hostTables, headlineKpiId, areaFills, defaultWorkingDays, reportTarget, onReportTargetChange, refreshRevision, resolveExcelCitationGcsUrl, children, }: InsightsProviderProps): React.JSX.Element;
73
+ //# sourceMappingURL=InsightsContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InsightsContext.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/InsightsContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,yBAAyB,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,oBAAoB,EAAqB,cAAc,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG/P,OAAO,EAA8C,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE9G,OAAO,KAAK,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAI9E,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AASxF,MAAM,WAAW,qB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,EACR,WAAW,EACX,aAAa,EACb,YAAY,EACZ,eAAe,EACf,SAAS,EACT,OAAO,EACP,eAAe,EACf,aAAa,EACb,QAAQ,EACR,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,MAAM,EAAE,UAAU,EAClB,aAAa,EACb,SAAS,EACT,kBAA0B,EAC1B,YAAY,EACZ,oBAAoB,EACpB,eAAmB,EACnB,0BAA0B,EAC1B,QAAQ,GACT,EAAE,qBAAqB,qBA0IvB"}
@@ -0,0 +1,128 @@
1
+ /// <reference types="react" />
2
+ import type { DataPoint } from "../Graph/types";
3
+ import type { DaChartSectionConfig, InsightsKpiConfig, InsightsKpiFormat, InsightsSeriesItem } from "../../types/insights";
4
+ import { type InsightsContextValue } from "./insightsContextCore";
5
+ import "./kpiChart.css";
6
+ export declare const DEFAULT_MAX_KPIS = 5;
7
+ /**
8
+ * Line colours with no green and no red, which mark the Up and Down points: deep blue, burnt sienna, violet, cyan,
9
+ * lavender, ochre, magenta, plum. Checked with the data-viz palette validator on white: every pair at least 15 apart
10
+ * for normal vision and 6 under colour-blind simulation (legends and tooltips name every line), each at least 3:1
11
+ * against the surface and at least 15 from the Up and Down colours.
12
+ */
13
+ export declare const PALETTE: string[];
14
+ /**
15
+ * The colours of a dashboard's lines (`ui.decisionAdvantage.trendChart`): a KPI's from `colors` by its id, else the
16
+ * `palette` entry at its place in the KPI list; `rows` is the palette that rows (plants, regions…) take in turn.
17
+ */
18
+ export declare function chartColors(trendChart: {
19
+ colors?: Record<string, string>;
20
+ palette?: string[];
21
+ } | null | undefined, kpiOrder: string[]): {
22
+ kpi: (kpiId: string) => string;
23
+ rows: string[];
24
+ /** Whether the dashboard chose its own colours, so charts that keep their old ones elsewhere switch to these. */
25
+ configured: boolean;
26
+ };
27
+ export type AverageKind = "fast" | "slow" | "long";
28
+ /**
29
+ * A line's value at one point: the KPI's own, or its average only where the KPI has a value. The backend keeps a trailing
30
+ * average going after the data stops (July's 3-month average is May and June's), which drew the dotted line past the last
31
+ * month with data.
32
+ */
33
+ export declare function lineValue(point: Pick<InsightsSeriesItem["points"][number], "y" | "meta">, kind: AverageKind | null): number | null;
34
+ /** A KPI's unit, from its `format`: two KPIs share an axis only when their units match. */
35
+ export interface KpiUnit {
36
+ key: string;
37
+ /** "$M", "M lbs", "%", "$ / cwt"; empty without a format. */
38
+ tag: string;
39
+ /** "$", "lbs", "%": the short word in a legend entry. */
40
+ word: string;
41
+ format?: InsightsKpiFormat;
42
+ }
43
+ export declare function unitOf(kpi: InsightsKpiConfig | undefined, kpiId: string): KpiUnit;
44
+ /** A line on the chart: a KPI ("ebitda") or one of its averages ("ebitda@fast"). */
45
+ export type LineId = string;
46
+ export interface ChartAxes {
47
+ left: string | null;
48
+ right: string | null;
49
+ }
50
+ /** The axes the selected lines take: the first unit is the left axis, the second the right. */
51
+ export declare function axesOf(selected: LineId[], unit: (kpiId: string) => KpiUnit): ChartAxes;
52
+ /** Whether `id` can be added: the limit, and at most two units on the chart. */
53
+ export declare function canAdd(id: LineId, selected: LineId[], max: number, unit: (kpiId: string) => KpiUnit): {
54
+ ok: true;
55
+ side: "left" | "right";
56
+ } | {
57
+ ok: false;
58
+ reason: string;
59
+ };
60
+ /**
61
+ * A y-axis title that fits along the axis: up to two KPI names, the rest as "+N"
62
+ * ("EBITDA, Gross Margin +1 ($M)"), each name shortened with "…" until the
63
+ * title fits `maxChars`.
64
+ */
65
+ export declare function axisTitleText(names: string[], scaleTag: string, maxChars: number): string;
66
+ /** A line's name on the chart: its label without a trailing "(…)" detail. */
67
+ export declare const shortName: (label: string) => string;
68
+ export declare function defaultLines(section: DaChartSectionConfig | undefined, fallback: string[], kpis: Record<string, InsightsKpiConfig>): LineId[];
69
+ /**
70
+ * "Select KPIs (3/5)": search, the owner's groups, the unit of each KPI, its
71
+ * 3/6/12 averages when offered, and which axis each KPI takes. A KPI that
72
+ * can't be added (the limit, or a third unit) is disabled with the reason.
73
+ */
74
+ export declare function KpiPicker({ selected, onChange, groups, averageKpis, max, insights, colorOf, oneAxis, }: {
75
+ selected: LineId[];
76
+ onChange: (next: LineId[]) => void;
77
+ groups: {
78
+ label: string;
79
+ kpis: string[];
80
+ }[];
81
+ averageKpis: string[];
82
+ max: number;
83
+ insights: InsightsContextValue;
84
+ colorOf: (kpiId: string) => string;
85
+ /** Every line on one axis (the correlation chart's % change): only the limit applies, and no axis is named. */
86
+ oneAxis?: boolean;
87
+ }): import("react").JSX.Element;
88
+ /** Hollow Up / Down / Same markers, top right of a chart. */
89
+ export declare function MovementLegend(): import("react").JSX.Element;
90
+ /**
91
+ * One two-axis KPI chart with its own "Select KPIs": the lines of
92
+ * `selected`, the first unit on the left axis and the second on the right,
93
+ * the first KPI of each side labelled point by point (Up / Down / Same).
94
+ */
95
+ export declare function KpiChart({ section, fallbackKpis, chartTitle, nodeKey, extraLines, highlightDay, onOpenDay, showMovement, height, storyOf, defaultAverageKpis, syncId, }: {
96
+ section?: DaChartSectionConfig;
97
+ /** KPIs shown at load when the section names none. */
98
+ fallbackKpis: string[];
99
+ chartTitle?: string;
100
+ nodeKey?: string;
101
+ /** Row lines added from the drivers list, drawn on the left axis. */
102
+ extraLines?: {
103
+ key: string;
104
+ label: string;
105
+ color: string;
106
+ data: DataPoint[];
107
+ }[];
108
+ highlightDay?: string | null;
109
+ /** Clicking a point of any line opens that period's report. */
110
+ onOpenDay?: (day: string) => void;
111
+ showMovement?: boolean;
112
+ height?: number;
113
+ /**
114
+ * A period's story for the tooltip (its report summary, movement and criticality), when the host already has it
115
+ * (the L1 report's trend points carry each month's summary). Falls back to the series' own marker.
116
+ */
117
+ storyOf?: (day: string) => {
118
+ headline?: string | null;
119
+ movementType?: string | null;
120
+ direction?: string | null;
121
+ criticality?: string | null;
122
+ } | null | undefined;
123
+ /** KPIs whose 3/6/12 averages "Select KPIs" offers when the section names none (`averageKpis`): the headline on the tier 1 chart. */
124
+ defaultAverageKpis?: string[];
125
+ /** Charts with the same id show their tooltip and hover line together, matched by date (the tier 1 and tier 2 charts). */
126
+ syncId?: string;
127
+ }): import("react").JSX.Element | null;
128
+ //# sourceMappingURL=KpiChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KpiChart.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/KpiChart.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,SAAS,EAAU,MAAM,gBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE3H,OAAO,EAAe,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAI/E,OAAO,gBAAgB,CAAC;AASxB,eAAO,MAAM,gBAAgB,IAAI,CAAC;AAMlC;;;;;GAKG;AACH,eAAO,MAAM,OAAO,UAA2F,CAAC;AAIhH;;;GAGG;AACH,wBAAgB,WAAW,CAAC,UAAU,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,GAAG,IAAI,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE;iBAKrH,MAAM;;IAEnB,iHAAiH;;EAGpH;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAGnD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,EAAE,GAAG,GAAG,MAAM,CAAC,EAAE,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAKlI;AAED,2FAA2F;AAC3F,MAAM,WAAW,OAAO;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,6D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D;IAC/D,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK;QAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IACjK,qIAAqI;IACrI,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC9B,0HAA0H;IAC1H,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,sCAoYA"}
@@ -0,0 +1,41 @@
1
+ /// <reference types="react" />
2
+ import type { InsightsDriver } from "../../types/insights";
3
+ import "./agPrimitives.css";
4
+ /** The AI Governance entity-detail visual column used after opening a driver. */
5
+ export declare function EntityDetailVisuals({ nodeKey, label, kpiId, dataDay, tier2Kpis, show, onOpenDay }: {
6
+ nodeKey: string;
7
+ label: string;
8
+ kpiId: string;
9
+ dataDay: string;
10
+ tier2Kpis?: string[];
11
+ show?: {
12
+ trend?: boolean;
13
+ activity?: boolean;
14
+ correlation?: boolean;
15
+ };
16
+ onOpenDay?: (day: string) => void;
17
+ }): import("react").JSX.Element | null;
18
+ /**
19
+ * The full L1 Report for one day, opened from a point on the trend, laid out
20
+ * as AI Governance's report popup: the analysis on the left, the trend and
21
+ * activity on the right. Clicking another point moves the popup to that day.
22
+ */
23
+ export declare function L1ReportModal({ day: openedDay, workingDays: initialWorkingDays, initialAttention, initialDriver, onClose, showActivityBanner, activityBannerMessage, onHowToIntegrate, }: {
24
+ day: string;
25
+ workingDays: boolean;
26
+ initialAttention?: boolean;
27
+ initialDriver?: InsightsDriver | null;
28
+ onClose: () => void;
29
+ showActivityBanner?: boolean;
30
+ activityBannerMessage?: string;
31
+ onHowToIntegrate?: () => void;
32
+ }): import("react").JSX.Element | null;
33
+ /**
34
+ * The L1 Report on the dashboard: the latest report's Summary, Decision
35
+ * Advantage and Top Drivers on the left; the headline number's trend with its
36
+ * averages, User Activity and Correlation on the right. Takes the place of
37
+ * the executive graph while Decision Advantage is on. Clicking a day on the
38
+ * trend opens that day's full report.
39
+ */
40
+ export default function L1Report(): import("react").JSX.Element | null;
41
+ //# sourceMappingURL=L1Report.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"L1Report.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/L1Report.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAwB,cAAc,EAA+D,MAAM,sBAAsB,CAAC;AAuB9I,OAAO,oBAAoB,CAAC;AA8Y5B,iFAAiF;AACjF,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,IAAS,EAAE,SAAS,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAAC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,sCA4J1S;AAeD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EAAE,SAAS,EACd,WAAW,EAAE,kBAAkB,EAC/B,gBAAwB,EACxB,aAAoB,EACpB,OAAO,EACP,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,GACjB,EAAE;IACD,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,aAAa,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B,sCAwIA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,uCAsI/B"}
@@ -0,0 +1,27 @@
1
+ /// <reference types="react" />
2
+ import type { InsightsNeedsAttentionResponse } from "../../types/insights";
3
+ /** The day's data points under review, shared by the tab badge and the list so they load once. */
4
+ export declare function useNeedsAttention(dataDay: string, nodeKey?: string, kpiId?: string): {
5
+ data: InsightsNeedsAttentionResponse | undefined;
6
+ error: Error | undefined;
7
+ loading: boolean;
8
+ reload: () => void;
9
+ updateData: (update: (data: InsightsNeedsAttentionResponse | undefined) => InsightsNeedsAttentionResponse | undefined) => void;
10
+ identityKey?: string | undefined;
11
+ };
12
+ type AttentionFetch = ReturnType<typeof useNeedsAttention>;
13
+ /**
14
+ * Needs attention: the data points held back from the day's number, or
15
+ * counted but flagged, grouped by who gave them, so an admin can accept or
16
+ * reject them with a reason. Decided points stay listed with who decided and
17
+ * why, and can be undone.
18
+ */
19
+ export default function NeedsAttention({ dataDay, nodeKey, kpiId, attention, onDecisionSettled, }: {
20
+ dataDay: string;
21
+ nodeKey?: string;
22
+ kpiId?: string;
23
+ attention: AttentionFetch;
24
+ onDecisionSettled?: () => void;
25
+ }): import("react").JSX.Element | null;
26
+ export {};
27
+ //# sourceMappingURL=NeedsAttention.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NeedsAttention.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/NeedsAttention.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAA8B,8BAA8B,EAAE,MAAM,sBAAsB,CAAC;AAuCvG,kGAAkG;AAClG,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;;;;;;;EAOlF;AAED,KAAK,cAAc,GAAG,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AA4B3D;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,OAAO,EACP,OAAO,EACP,KAAK,EACL,SAAS,EACT,iBAAiB,GAClB,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,cAAc,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC,sCAqXA"}
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { type InsightsReportTarget } from "./insightsContextCore";
3
+ import "./insights.css";
4
+ /**
5
+ * Side panel for one report: the report itself, its full text and its
6
+ * comments. Opened on a change that has no report yet, it offers to write
7
+ * one, then polls the job every 5 seconds until the report is ready.
8
+ */
9
+ export default function ReportDrawer({ target, onClose }: {
10
+ target: InsightsReportTarget;
11
+ onClose: () => void;
12
+ }): import("react").JSX.Element | null;
13
+ //# sourceMappingURL=ReportDrawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReportDrawer.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/ReportDrawer.tsx"],"names":[],"mappings":";AAYA,OAAO,EAAe,KAAK,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAG/E,OAAO,gBAAgB,CAAC;AAQxB;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;IAAE,MAAM,EAAE,oBAAoB,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,sCAwK9G"}
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import type { InsightsDriver } from "../../types/insights";
3
+ /** Which parts of a row's analysis to show; a drill level picks them. Everything shows when left out. */
4
+ export interface RowDetailShow {
5
+ summary?: boolean;
6
+ decision?: boolean;
7
+ topDrivers?: boolean;
8
+ }
9
+ export default function RowDetail({ nodeKey, kpiId, dataDay, reportId, embedded, onReportDay, onBack, onOpenDriver, backLabel, show }: {
10
+ nodeKey: string;
11
+ kpiId: string;
12
+ dataDay: string;
13
+ reportId?: string | null;
14
+ embedded?: boolean;
15
+ onReportDay?: (day: string) => void;
16
+ onBack?: () => void;
17
+ onOpenDriver?: (driver: InsightsDriver) => void;
18
+ backLabel?: string;
19
+ show?: RowDetailShow;
20
+ }): import("react").JSX.Element | null;
21
+ //# sourceMappingURL=RowDetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowDetail.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/Insights/RowDetail.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAO3D,yGAAyG;AACzG,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAgB,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,EAAE,SAAqC,EAAE,IAAS,EAAE,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAAC,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,aAAa,CAAA;CAAE,sCAsEra"}