@e-llm-studio/federated-dashboard-components 0.0.1-beta.9 → 1.0.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 (749) hide show
  1. package/README.md +698 -0
  2. package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js +2 -0
  3. package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +1 -0
  4. package/dist/ExecutiveDashboard/api/dashboardApi.js +2 -0
  5. package/dist/ExecutiveDashboard/api/dashboardApi.js.map +1 -0
  6. package/dist/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +2 -0
  7. package/dist/ExecutiveDashboard/components/DashboardCard/CardShell.js +2 -0
  8. package/dist/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +2 -0
  9. package/dist/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +2 -0
  10. package/dist/ExecutiveDashboard/components/DashboardCard/DetailRow.js +2 -0
  11. package/dist/ExecutiveDashboard/components/DashboardCard/EventsSection.js +2 -0
  12. package/dist/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +2 -0
  13. package/dist/ExecutiveDashboard/components/DashboardCard/GridSection.js +2 -0
  14. package/dist/ExecutiveDashboard/components/DashboardCard/ListSection.js +2 -0
  15. package/dist/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +2 -0
  16. package/dist/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +2 -0
  17. package/dist/ExecutiveDashboard/components/DashboardCard/TagsSection.js +2 -0
  18. package/dist/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +2 -0
  19. package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
  20. package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +2 -0
  21. package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +2 -0
  22. package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +1 -0
  23. package/dist/ExecutiveDashboard/components/DatePickers/DatePicker.js +2 -0
  24. package/dist/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +2 -0
  25. package/dist/ExecutiveDashboard/components/DatePickers/DateSelector.js +2 -0
  26. package/dist/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +2 -0
  27. package/dist/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +2 -0
  28. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +2 -0
  29. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js.map +1 -0
  30. package/dist/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +2 -0
  31. package/dist/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +2 -0
  32. package/dist/ExecutiveDashboard/components/Graph/Graph.js +2 -0
  33. package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js +2 -0
  34. package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +1 -0
  35. package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js +2 -0
  36. package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +1 -0
  37. package/dist/ExecutiveDashboard/components/Graph/LineChart.js +2 -0
  38. package/dist/ExecutiveDashboard/components/Graph/PlotBySelector.js +2 -0
  39. package/dist/ExecutiveDashboard/components/MetricCard/MetricCard.js +2 -0
  40. package/dist/ExecutiveDashboard/components/Table/FTable.js +2 -0
  41. package/dist/ExecutiveDashboard/components/Table/SortDropdown.js +2 -0
  42. package/dist/ExecutiveDashboard/components/Table/TableCard.js +2 -0
  43. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +2 -0
  44. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +1 -0
  45. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +2 -0
  46. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +1 -0
  47. package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js +2 -0
  48. package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +1 -0
  49. package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +2 -0
  50. package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +1 -0
  51. package/dist/ExecutiveDashboard/components/ui/chart.js +2 -0
  52. package/dist/ExecutiveDashboard/utils/index.js +2 -0
  53. package/dist/ExecutiveDashboard/utils/index.js.map +1 -0
  54. package/dist/ExecutiveDashboard/utils/kpiIcon.js +2 -0
  55. package/dist/ExecutiveDashboard/utils/kpiIcon.js.map +1 -0
  56. package/dist/ExecutiveDashboard/utils/sectionOrder.js +2 -0
  57. package/dist/ExecutiveDashboard/utils/sectionOrder.js.map +1 -0
  58. package/dist/ExecutiveDashboard/utils/tableColumns.js +2 -0
  59. package/dist/ExecutiveDashboard/utils/tableColumns.js.map +1 -0
  60. package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js +2 -0
  61. package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js.map +1 -0
  62. package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +2 -0
  63. package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +1 -0
  64. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +2 -0
  65. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +1 -0
  66. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +2 -0
  67. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +1 -0
  68. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +2 -0
  69. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +1 -0
  70. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +2 -0
  71. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +1 -0
  72. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +2 -0
  73. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +1 -0
  74. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +2 -0
  75. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +1 -0
  76. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +2 -0
  77. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +1 -0
  78. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +2 -0
  79. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +1 -0
  80. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +2 -0
  81. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +1 -0
  82. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +2 -0
  83. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +1 -0
  84. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +2 -0
  85. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +1 -0
  86. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +2 -0
  87. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +1 -0
  88. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +2 -0
  89. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +1 -0
  90. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +2 -0
  91. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +1 -0
  92. package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +2 -0
  93. package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +1 -0
  94. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +2 -0
  95. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +1 -0
  96. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +2 -0
  97. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +1 -0
  98. package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +2 -0
  99. package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +1 -0
  100. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +2 -0
  101. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +1 -0
  102. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +2 -0
  103. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +1 -0
  104. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +2 -0
  105. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +1 -0
  106. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +2 -0
  107. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +1 -0
  108. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +2 -0
  109. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +1 -0
  110. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +2 -0
  111. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +1 -0
  112. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +2 -0
  113. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +1 -0
  114. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js +2 -0
  115. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +1 -0
  116. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +2 -0
  117. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +1 -0
  118. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +2 -0
  119. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +1 -0
  120. package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +2 -0
  121. package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +1 -0
  122. package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +2 -0
  123. package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +1 -0
  124. package/dist/RecordDashboard/RecordComponents/Graph/types.js +2 -0
  125. package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +2 -0
  126. package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +1 -0
  127. package/dist/RecordDashboard/RecordComponents/RecordDashboard.js +2 -0
  128. package/dist/RecordDashboard/RecordComponents/RecordDashboard.js.map +1 -0
  129. package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +2 -0
  130. package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +1 -0
  131. package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +2 -0
  132. package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +1 -0
  133. package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js +2 -0
  134. package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +1 -0
  135. package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +2 -0
  136. package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +1 -0
  137. package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js +2 -0
  138. package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +1 -0
  139. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +2 -0
  140. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +1 -0
  141. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +2 -0
  142. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +1 -0
  143. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +2 -0
  144. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +1 -0
  145. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +2 -0
  146. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +1 -0
  147. package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +2 -0
  148. package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +1 -0
  149. package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js +2 -0
  150. package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js.map +1 -0
  151. package/dist/RecordDashboard/RecordComponents/ui/utils.js +2 -0
  152. package/dist/RecordDashboard/RecordDashboardWrapper.js +2 -0
  153. package/dist/RecordDashboard/RecordDashboardWrapper.js.map +1 -0
  154. package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js +2 -0
  155. package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +1 -0
  156. package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js +2 -0
  157. package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +1 -0
  158. package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js +2 -0
  159. package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js.map +1 -0
  160. package/dist/RecordDashboard/RecordUtils/index.js +2 -0
  161. package/dist/RecordDashboard/RecordUtils/index.js.map +1 -0
  162. package/dist/_virtual/_tslib.js +1 -1
  163. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +2 -0
  164. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +1 -0
  165. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +2 -0
  166. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js.map +1 -0
  167. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +2 -0
  168. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CardShell.js +2 -0
  169. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +2 -0
  170. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +2 -0
  171. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DetailRow.js +2 -0
  172. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/EventsSection.js +2 -0
  173. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +2 -0
  174. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/GridSection.js +2 -0
  175. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/ListSection.js +2 -0
  176. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +2 -0
  177. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +2 -0
  178. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TagsSection.js +2 -0
  179. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +2 -0
  180. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
  181. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +2 -0
  182. package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +2 -0
  183. package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +1 -0
  184. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DatePicker.js +2 -0
  185. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +2 -0
  186. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateSelector.js +2 -0
  187. package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +2 -0
  188. package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +2 -0
  189. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +2 -0
  190. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js.map +1 -0
  191. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +2 -0
  192. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +2 -0
  193. package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +2 -0
  194. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js +2 -0
  195. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +1 -0
  196. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js +2 -0
  197. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +1 -0
  198. package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +2 -0
  199. package/dist/cjs/ExecutiveDashboard/components/Graph/PlotBySelector.js +2 -0
  200. package/dist/cjs/ExecutiveDashboard/components/Graph/types.js.map +1 -0
  201. package/dist/cjs/ExecutiveDashboard/components/MetricCard/MetricCard.js +2 -0
  202. package/dist/cjs/ExecutiveDashboard/components/Table/FTable.js +2 -0
  203. package/dist/cjs/ExecutiveDashboard/components/Table/SortDropdown.js +2 -0
  204. package/dist/cjs/ExecutiveDashboard/components/Table/TableCard.js +2 -0
  205. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +2 -0
  206. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +1 -0
  207. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +2 -0
  208. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +1 -0
  209. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js +2 -0
  210. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +1 -0
  211. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +2 -0
  212. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +1 -0
  213. package/dist/cjs/ExecutiveDashboard/components/ui/chart.js +2 -0
  214. package/dist/cjs/ExecutiveDashboard/components/ui/utils.js.map +1 -0
  215. package/dist/cjs/ExecutiveDashboard/utils/index.js +2 -0
  216. package/dist/cjs/ExecutiveDashboard/utils/index.js.map +1 -0
  217. package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js +2 -0
  218. package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js.map +1 -0
  219. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js +2 -0
  220. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js.map +1 -0
  221. package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js +2 -0
  222. package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js.map +1 -0
  223. package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js +2 -0
  224. package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js.map +1 -0
  225. package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +2 -0
  226. package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +1 -0
  227. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +2 -0
  228. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +1 -0
  229. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +2 -0
  230. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +1 -0
  231. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +2 -0
  232. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +1 -0
  233. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +2 -0
  234. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +1 -0
  235. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +2 -0
  236. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +1 -0
  237. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +2 -0
  238. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +1 -0
  239. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +2 -0
  240. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +1 -0
  241. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +2 -0
  242. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +1 -0
  243. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +2 -0
  244. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +1 -0
  245. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +2 -0
  246. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +1 -0
  247. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +2 -0
  248. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +1 -0
  249. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +2 -0
  250. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +1 -0
  251. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +2 -0
  252. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +1 -0
  253. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +2 -0
  254. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +1 -0
  255. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +2 -0
  256. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +1 -0
  257. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +2 -0
  258. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +1 -0
  259. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +2 -0
  260. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +1 -0
  261. package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +2 -0
  262. package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +1 -0
  263. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +2 -0
  264. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +1 -0
  265. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +2 -0
  266. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +1 -0
  267. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +2 -0
  268. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +1 -0
  269. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +2 -0
  270. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +1 -0
  271. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +2 -0
  272. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +1 -0
  273. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +2 -0
  274. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +1 -0
  275. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +2 -0
  276. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +1 -0
  277. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js +2 -0
  278. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +1 -0
  279. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +2 -0
  280. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +1 -0
  281. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +2 -0
  282. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +1 -0
  283. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +2 -0
  284. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +1 -0
  285. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +2 -0
  286. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +1 -0
  287. package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js +2 -0
  288. package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js.map +1 -0
  289. package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +2 -0
  290. package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +1 -0
  291. package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js +2 -0
  292. package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js.map +1 -0
  293. package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +2 -0
  294. package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +1 -0
  295. package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +2 -0
  296. package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +1 -0
  297. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js +2 -0
  298. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +1 -0
  299. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +2 -0
  300. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +1 -0
  301. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js +2 -0
  302. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +1 -0
  303. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +2 -0
  304. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +1 -0
  305. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +2 -0
  306. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +1 -0
  307. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +2 -0
  308. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +1 -0
  309. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +2 -0
  310. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +1 -0
  311. package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +2 -0
  312. package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +1 -0
  313. package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js +2 -0
  314. package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js.map +1 -0
  315. package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js +2 -0
  316. package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js.map +1 -0
  317. package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js +2 -0
  318. package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js.map +1 -0
  319. package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js +2 -0
  320. package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +1 -0
  321. package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js +2 -0
  322. package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +1 -0
  323. package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js +2 -0
  324. package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js.map +1 -0
  325. package/dist/cjs/RecordDashboard/RecordUtils/index.js +2 -0
  326. package/dist/cjs/RecordDashboard/RecordUtils/index.js.map +1 -0
  327. package/dist/cjs/_virtual/_tslib.js +1 -1
  328. package/dist/cjs/index.js +1 -1
  329. package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js +9 -0
  330. package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  331. package/dist/cjs/node_modules/chart.js/auto/auto.js +2 -0
  332. package/dist/cjs/node_modules/chart.js/auto/auto.js.map +1 -0
  333. package/dist/cjs/node_modules/chart.js/dist/chart.js +8 -0
  334. package/dist/cjs/node_modules/chart.js/dist/chart.js.map +1 -0
  335. package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js +8 -0
  336. package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  337. package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +2 -0
  338. package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
  339. package/dist/cjs/styles.css +1 -1
  340. package/dist/index.js +1 -1
  341. package/dist/node_modules/@kurkle/color/dist/color.esm.js +8 -0
  342. package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  343. package/dist/node_modules/chart.js/auto/auto.js +2 -0
  344. package/dist/node_modules/chart.js/auto/auto.js.map +1 -0
  345. package/dist/node_modules/chart.js/dist/chart.js +8 -0
  346. package/dist/node_modules/chart.js/dist/chart.js.map +1 -0
  347. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +8 -0
  348. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  349. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +8 -0
  350. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
  351. package/dist/styles.css +1 -1
  352. package/dist/types/App.d.ts +0 -1
  353. package/dist/types/App.d.ts.map +1 -1
  354. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +4 -0
  355. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +1 -0
  356. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +2 -0
  357. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +1 -0
  358. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +30 -0
  359. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +1 -0
  360. package/dist/types/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.d.ts.map +1 -0
  361. package/dist/types/ExecutiveDashboard/components/DashboardCard/CardShell.d.ts.map +1 -0
  362. package/dist/types/ExecutiveDashboard/components/DashboardCard/CenteredCell.d.ts.map +1 -0
  363. package/dist/types/ExecutiveDashboard/components/DashboardCard/DashboardCard.d.ts.map +1 -0
  364. package/dist/types/ExecutiveDashboard/components/DashboardCard/DetailRow.d.ts.map +1 -0
  365. package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts.map +1 -0
  366. package/dist/types/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.d.ts.map +1 -0
  367. package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +1 -0
  368. package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts.map +1 -0
  369. package/dist/types/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.d.ts.map +1 -0
  370. package/dist/types/ExecutiveDashboard/components/DashboardCard/SkeletonRow.d.ts.map +1 -0
  371. package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts.map +1 -0
  372. package/dist/types/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.d.ts.map +1 -0
  373. package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts.map +1 -0
  374. package/dist/types/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +1 -0
  375. package/dist/types/ExecutiveDashboard/components/DashboardCard/types.d.ts.map +1 -0
  376. package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.d.ts +2 -1
  377. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -0
  378. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +1 -0
  379. package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/datePreset.d.ts +12 -11
  380. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +1 -0
  381. package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +4 -0
  382. package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +1 -0
  383. package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts.map +1 -0
  384. package/dist/types/ExecutiveDashboard/components/DatePickers/DateRangeSelector.d.ts.map +1 -0
  385. package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +1 -0
  386. package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +1 -0
  387. package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +1 -0
  388. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +56 -0
  389. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +1 -0
  390. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -0
  391. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -0
  392. package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +1 -0
  393. package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts +11 -0
  394. package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts.map +1 -0
  395. package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts +10 -0
  396. package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +1 -0
  397. package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +1 -0
  398. package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts.map +1 -0
  399. package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +1 -0
  400. package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts +49 -0
  401. package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts.map +1 -0
  402. package/dist/types/{components → ExecutiveDashboard/components}/Table/FTable.d.ts +11 -10
  403. package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +1 -0
  404. package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +1 -0
  405. package/dist/types/{components → ExecutiveDashboard/components}/Table/TableCard.d.ts +2 -1
  406. package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts.map +1 -0
  407. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts +54 -0
  408. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts.map +1 -0
  409. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts +20 -0
  410. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts.map +1 -0
  411. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts +15 -0
  412. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts.map +1 -0
  413. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts +17 -0
  414. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts.map +1 -0
  415. package/dist/types/ExecutiveDashboard/components/ui/chart.d.ts.map +1 -0
  416. package/dist/types/ExecutiveDashboard/components/ui/utils.d.ts.map +1 -0
  417. package/dist/types/ExecutiveDashboard/constant/index.d.ts +5 -0
  418. package/dist/types/ExecutiveDashboard/constant/index.d.ts.map +1 -0
  419. package/dist/types/ExecutiveDashboard/types/index.d.ts +357 -0
  420. package/dist/types/ExecutiveDashboard/types/index.d.ts.map +1 -0
  421. package/dist/types/ExecutiveDashboard/utils/index.d.ts +65 -0
  422. package/dist/types/ExecutiveDashboard/utils/index.d.ts.map +1 -0
  423. package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts +4 -0
  424. package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts.map +1 -0
  425. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts +43 -0
  426. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts.map +1 -0
  427. package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts +16 -0
  428. package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts.map +1 -0
  429. package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts +31 -0
  430. package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts.map +1 -0
  431. package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts +20 -0
  432. package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts.map +1 -0
  433. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts +9 -0
  434. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts.map +1 -0
  435. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts +22 -0
  436. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts.map +1 -0
  437. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts +6 -0
  438. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts.map +1 -0
  439. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts +5 -0
  440. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts.map +1 -0
  441. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts +9 -0
  442. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts.map +1 -0
  443. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts +3 -0
  444. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts.map +1 -0
  445. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts +6 -0
  446. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts.map +1 -0
  447. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts +3 -0
  448. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +1 -0
  449. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +4 -0
  450. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts.map +1 -0
  451. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts +4 -0
  452. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts.map +1 -0
  453. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts +9 -0
  454. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts.map +1 -0
  455. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts +3 -0
  456. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts.map +1 -0
  457. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts +3 -0
  458. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts.map +1 -0
  459. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts +6 -0
  460. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts.map +1 -0
  461. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts +17 -0
  462. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts.map +1 -0
  463. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts +156 -0
  464. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts.map +1 -0
  465. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts +41 -0
  466. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts.map +1 -0
  467. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts +18 -0
  468. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts.map +1 -0
  469. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts +90 -0
  470. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts.map +1 -0
  471. package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +4 -0
  472. package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +1 -0
  473. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +10 -0
  474. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts.map +1 -0
  475. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts +20 -0
  476. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts.map +1 -0
  477. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts +19 -0
  478. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts.map +1 -0
  479. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts +17 -0
  480. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +1 -0
  481. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +16 -0
  482. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +1 -0
  483. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +12 -0
  484. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +1 -0
  485. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +34 -0
  486. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +1 -0
  487. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +4 -0
  488. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts.map +1 -0
  489. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts +11 -0
  490. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts.map +1 -0
  491. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts +10 -0
  492. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +1 -0
  493. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +25 -0
  494. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +1 -0
  495. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +17 -0
  496. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +1 -0
  497. package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts +217 -0
  498. package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts.map +1 -0
  499. package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts +49 -0
  500. package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts.map +1 -0
  501. package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts +84 -0
  502. package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts.map +1 -0
  503. package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts +9 -0
  504. package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts.map +1 -0
  505. package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts +28 -0
  506. package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts.map +1 -0
  507. package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts +70 -0
  508. package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts.map +1 -0
  509. package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts +13 -0
  510. package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts.map +1 -0
  511. package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts +43 -0
  512. package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts.map +1 -0
  513. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts +15 -0
  514. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts.map +1 -0
  515. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts +54 -0
  516. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts.map +1 -0
  517. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts +20 -0
  518. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts.map +1 -0
  519. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts +17 -0
  520. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts.map +1 -0
  521. package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts +53 -0
  522. package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts.map +1 -0
  523. package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts +72 -0
  524. package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts.map +1 -0
  525. package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts +7 -0
  526. package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts.map +1 -0
  527. package/dist/types/RecordDashboard/RecordConstant/index.d.ts +5 -0
  528. package/dist/types/RecordDashboard/RecordConstant/index.d.ts.map +1 -0
  529. package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts +7 -0
  530. package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +1 -0
  531. package/dist/types/RecordDashboard/RecordTypes/index.d.ts +965 -0
  532. package/dist/types/RecordDashboard/RecordTypes/index.d.ts.map +1 -0
  533. package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts +4 -0
  534. package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts.map +1 -0
  535. package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts +43 -0
  536. package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts.map +1 -0
  537. package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts +10 -0
  538. package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts.map +1 -0
  539. package/dist/types/RecordDashboard/RecordUtils/index.d.ts +65 -0
  540. package/dist/types/RecordDashboard/RecordUtils/index.d.ts.map +1 -0
  541. package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts +2 -0
  542. package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +1 -0
  543. package/dist/types/index.d.ts +75 -19
  544. package/dist/types/index.d.ts.map +1 -1
  545. package/package.json +12 -9
  546. package/dist/cjs/components/DashboardCard/BreakingNewsBanner.js +0 -2
  547. package/dist/cjs/components/DashboardCard/CardShell.js +0 -2
  548. package/dist/cjs/components/DashboardCard/CenteredCell.js +0 -2
  549. package/dist/cjs/components/DashboardCard/DashboardCard.js +0 -2
  550. package/dist/cjs/components/DashboardCard/DetailRow.js +0 -2
  551. package/dist/cjs/components/DashboardCard/EventsSection.js +0 -2
  552. package/dist/cjs/components/DashboardCard/FooterLinkButton.js +0 -2
  553. package/dist/cjs/components/DashboardCard/GridSection.js +0 -2
  554. package/dist/cjs/components/DashboardCard/ListSection.js +0 -2
  555. package/dist/cjs/components/DashboardCard/SectionHeadingBar.js +0 -2
  556. package/dist/cjs/components/DashboardCard/SkeletonRow.js +0 -2
  557. package/dist/cjs/components/DashboardCard/TagsSection.js +0 -2
  558. package/dist/cjs/components/DashboardCard/TopDropdownMenu.js +0 -2
  559. package/dist/cjs/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
  560. package/dist/cjs/components/DashboardDateFilter/datePreset.js +0 -2
  561. package/dist/cjs/components/DatePickers/DatePicker.js +0 -2
  562. package/dist/cjs/components/DatePickers/DateRangeSelector.js +0 -2
  563. package/dist/cjs/components/DatePickers/DateSelector.js +0 -2
  564. package/dist/cjs/components/DropDowns/CustomMultiSelect.js +0 -2
  565. package/dist/cjs/components/DropDowns/CustomSingleSelect.js +0 -2
  566. package/dist/cjs/components/FiltersSidebar/CustomTextInput.js +0 -2
  567. package/dist/cjs/components/FiltersSidebar/FiltersSidebar.js +0 -2
  568. package/dist/cjs/components/Graph/Graph.js +0 -2
  569. package/dist/cjs/components/Graph/LineChart.js +0 -2
  570. package/dist/cjs/components/Graph/PlotBySelector.js +0 -2
  571. package/dist/cjs/components/MetricCard/MetricCard.js +0 -2
  572. package/dist/cjs/components/Table/FTable.js +0 -2
  573. package/dist/cjs/components/Table/SortDropdown.js +0 -2
  574. package/dist/cjs/components/Table/TableCard.js +0 -2
  575. package/dist/cjs/components/ui/chart.js +0 -2
  576. package/dist/components/DashboardCard/BreakingNewsBanner.js +0 -2
  577. package/dist/components/DashboardCard/CardShell.js +0 -2
  578. package/dist/components/DashboardCard/CenteredCell.js +0 -2
  579. package/dist/components/DashboardCard/DashboardCard.js +0 -2
  580. package/dist/components/DashboardCard/DetailRow.js +0 -2
  581. package/dist/components/DashboardCard/EventsSection.js +0 -2
  582. package/dist/components/DashboardCard/FooterLinkButton.js +0 -2
  583. package/dist/components/DashboardCard/GridSection.js +0 -2
  584. package/dist/components/DashboardCard/ListSection.js +0 -2
  585. package/dist/components/DashboardCard/SectionHeadingBar.js +0 -2
  586. package/dist/components/DashboardCard/SkeletonRow.js +0 -2
  587. package/dist/components/DashboardCard/TagsSection.js +0 -2
  588. package/dist/components/DashboardCard/TopDropdownMenu.js +0 -2
  589. package/dist/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
  590. package/dist/components/DashboardDateFilter/datePreset.js +0 -2
  591. package/dist/components/DatePickers/DatePicker.js +0 -2
  592. package/dist/components/DatePickers/DateRangeSelector.js +0 -2
  593. package/dist/components/DatePickers/DateSelector.js +0 -2
  594. package/dist/components/DropDowns/CustomMultiSelect.js +0 -2
  595. package/dist/components/DropDowns/CustomSingleSelect.js +0 -2
  596. package/dist/components/FiltersSidebar/CustomTextInput.js +0 -2
  597. package/dist/components/FiltersSidebar/FiltersSidebar.js +0 -2
  598. package/dist/components/Graph/Graph.js +0 -2
  599. package/dist/components/Graph/LineChart.js +0 -2
  600. package/dist/components/Graph/PlotBySelector.js +0 -2
  601. package/dist/components/MetricCard/MetricCard.js +0 -2
  602. package/dist/components/Table/FTable.js +0 -2
  603. package/dist/components/Table/SortDropdown.js +0 -2
  604. package/dist/components/Table/TableCard.js +0 -2
  605. package/dist/components/ui/chart.js +0 -2
  606. package/dist/types/components/DashboardCard/BreakingNewsBanner.d.ts.map +0 -1
  607. package/dist/types/components/DashboardCard/CardShell.d.ts.map +0 -1
  608. package/dist/types/components/DashboardCard/CenteredCell.d.ts.map +0 -1
  609. package/dist/types/components/DashboardCard/DashboardCard.d.ts.map +0 -1
  610. package/dist/types/components/DashboardCard/DetailRow.d.ts.map +0 -1
  611. package/dist/types/components/DashboardCard/EventsSection.d.ts.map +0 -1
  612. package/dist/types/components/DashboardCard/FooterLinkButton.d.ts.map +0 -1
  613. package/dist/types/components/DashboardCard/GridSection.d.ts.map +0 -1
  614. package/dist/types/components/DashboardCard/ListSection.d.ts.map +0 -1
  615. package/dist/types/components/DashboardCard/SectionHeadingBar.d.ts.map +0 -1
  616. package/dist/types/components/DashboardCard/SkeletonRow.d.ts.map +0 -1
  617. package/dist/types/components/DashboardCard/TagsSection.d.ts.map +0 -1
  618. package/dist/types/components/DashboardCard/TopDropdownMenu.d.ts.map +0 -1
  619. package/dist/types/components/DashboardCard/sectionContent.d.ts.map +0 -1
  620. package/dist/types/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +0 -1
  621. package/dist/types/components/DashboardCard/types.d.ts.map +0 -1
  622. package/dist/types/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +0 -1
  623. package/dist/types/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +0 -1
  624. package/dist/types/components/DashboardDateFilter/datePreset.d.ts.map +0 -1
  625. package/dist/types/components/DatePickers/DatePicker.d.ts.map +0 -1
  626. package/dist/types/components/DatePickers/DateRangeSelector.d.ts.map +0 -1
  627. package/dist/types/components/DatePickers/DateSelector.d.ts.map +0 -1
  628. package/dist/types/components/DropDowns/CustomMultiSelect.d.ts.map +0 -1
  629. package/dist/types/components/DropDowns/CustomSingleSelect.d.ts.map +0 -1
  630. package/dist/types/components/FiltersSidebar/CustomTextInput.d.ts.map +0 -1
  631. package/dist/types/components/FiltersSidebar/FiltersSidebar.d.ts.map +0 -1
  632. package/dist/types/components/Graph/Graph.d.ts.map +0 -1
  633. package/dist/types/components/Graph/LineChart.d.ts.map +0 -1
  634. package/dist/types/components/Graph/PlotBySelector.d.ts.map +0 -1
  635. package/dist/types/components/Graph/types.d.ts.map +0 -1
  636. package/dist/types/components/MetricCard/MetricCard.d.ts +0 -31
  637. package/dist/types/components/MetricCard/MetricCard.d.ts.map +0 -1
  638. package/dist/types/components/Table/FTable.d.ts.map +0 -1
  639. package/dist/types/components/Table/SortDropdown.d.ts.map +0 -1
  640. package/dist/types/components/Table/TableCard.d.ts.map +0 -1
  641. package/dist/types/components/ui/chart.d.ts.map +0 -1
  642. package/dist/types/components/ui/utils.d.ts.map +0 -1
  643. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/BreakingNewsBanner.js.map +0 -0
  644. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/CardShell.js.map +0 -0
  645. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/CenteredCell.js.map +0 -0
  646. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/DashboardCard.js.map +0 -0
  647. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/DetailRow.js.map +0 -0
  648. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/EventsSection.js.map +0 -0
  649. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/FooterLinkButton.js.map +0 -0
  650. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/GridSection.js.map +0 -0
  651. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/ListSection.js.map +0 -0
  652. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/SectionHeadingBar.js.map +0 -0
  653. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/SkeletonRow.js.map +0 -0
  654. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/TagsSection.js.map +0 -0
  655. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/TopDropdownMenu.js.map +0 -0
  656. /package/dist/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.js +0 -0
  657. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/sectionContent.js.map +0 -0
  658. /package/dist/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
  659. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
  660. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
  661. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardDateFilter/datePreset.js.map +0 -0
  662. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DatePicker.js.map +0 -0
  663. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DateRangeSelector.js.map +0 -0
  664. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DateSelector.js.map +0 -0
  665. /package/dist/{cjs → ExecutiveDashboard}/components/DropDowns/CustomMultiSelect.js.map +0 -0
  666. /package/dist/{cjs → ExecutiveDashboard}/components/DropDowns/CustomSingleSelect.js.map +0 -0
  667. /package/dist/{cjs → ExecutiveDashboard}/components/FiltersSidebar/CustomTextInput.js.map +0 -0
  668. /package/dist/{cjs → ExecutiveDashboard}/components/FiltersSidebar/FiltersSidebar.js.map +0 -0
  669. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/Graph.js.map +0 -0
  670. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/LineChart.js.map +0 -0
  671. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/PlotBySelector.js.map +0 -0
  672. /package/dist/{components → ExecutiveDashboard/components}/Graph/types.js +0 -0
  673. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/types.js.map +0 -0
  674. /package/dist/{cjs → ExecutiveDashboard}/components/MetricCard/MetricCard.js.map +0 -0
  675. /package/dist/{cjs → ExecutiveDashboard}/components/Table/FTable.js.map +0 -0
  676. /package/dist/{cjs → ExecutiveDashboard}/components/Table/SortDropdown.js.map +0 -0
  677. /package/dist/{cjs → ExecutiveDashboard}/components/Table/TableCard.js.map +0 -0
  678. /package/dist/{cjs → ExecutiveDashboard}/components/ui/chart.js.map +0 -0
  679. /package/dist/{components → ExecutiveDashboard/components}/ui/utils.js +0 -0
  680. /package/dist/{cjs → ExecutiveDashboard}/components/ui/utils.js.map +0 -0
  681. /package/dist/{components → RecordDashboard/RecordComponents}/Graph/types.js.map +0 -0
  682. /package/dist/{components → RecordDashboard/RecordComponents}/ui/utils.js.map +0 -0
  683. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/BreakingNewsBanner.js.map +0 -0
  684. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/CardShell.js.map +0 -0
  685. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/CenteredCell.js.map +0 -0
  686. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/DashboardCard.js.map +0 -0
  687. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/DetailRow.js.map +0 -0
  688. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/EventsSection.js.map +0 -0
  689. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/FooterLinkButton.js.map +0 -0
  690. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/GridSection.js.map +0 -0
  691. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/ListSection.js.map +0 -0
  692. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/SectionHeadingBar.js.map +0 -0
  693. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/SkeletonRow.js.map +0 -0
  694. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/TagsSection.js.map +0 -0
  695. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/TopDropdownMenu.js.map +0 -0
  696. /package/dist/cjs/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.js +0 -0
  697. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/sectionContent.js.map +0 -0
  698. /package/dist/cjs/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
  699. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
  700. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
  701. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardDateFilter/datePreset.js.map +0 -0
  702. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DatePicker.js.map +0 -0
  703. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DateRangeSelector.js.map +0 -0
  704. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DateSelector.js.map +0 -0
  705. /package/dist/{components → cjs/ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.js.map +0 -0
  706. /package/dist/{components → cjs/ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.js.map +0 -0
  707. /package/dist/{components → cjs/ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.js.map +0 -0
  708. /package/dist/{components → cjs/ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.js.map +0 -0
  709. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/Graph.js.map +0 -0
  710. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/LineChart.js.map +0 -0
  711. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/PlotBySelector.js.map +0 -0
  712. /package/dist/cjs/{components → ExecutiveDashboard/components}/Graph/types.js +0 -0
  713. /package/dist/{components → cjs/ExecutiveDashboard/components}/MetricCard/MetricCard.js.map +0 -0
  714. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/FTable.js.map +0 -0
  715. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/SortDropdown.js.map +0 -0
  716. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/TableCard.js.map +0 -0
  717. /package/dist/{components → cjs/ExecutiveDashboard/components}/ui/chart.js.map +0 -0
  718. /package/dist/cjs/{components → ExecutiveDashboard/components}/ui/utils.js +0 -0
  719. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/BreakingNewsBanner.d.ts +0 -0
  720. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/CardShell.d.ts +0 -0
  721. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/CenteredCell.d.ts +0 -0
  722. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/DashboardCard.d.ts +0 -0
  723. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/DetailRow.d.ts +0 -0
  724. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/EventsSection.d.ts +0 -0
  725. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/FooterLinkButton.d.ts +0 -0
  726. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/GridSection.d.ts +0 -0
  727. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/ListSection.d.ts +0 -0
  728. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/SectionHeadingBar.d.ts +0 -0
  729. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/SkeletonRow.d.ts +0 -0
  730. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/TagsSection.d.ts +0 -0
  731. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/TopDropdownMenu.d.ts +0 -0
  732. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.d.ts +0 -0
  733. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.d.ts +0 -0
  734. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/types.d.ts +0 -0
  735. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.types.d.ts +0 -0
  736. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DatePicker.d.ts +0 -0
  737. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DateRangeSelector.d.ts +0 -0
  738. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DateSelector.d.ts +0 -0
  739. /package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.d.ts +0 -0
  740. /package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.d.ts +0 -0
  741. /package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.d.ts +0 -0
  742. /package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.d.ts +0 -0
  743. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/Graph.d.ts +0 -0
  744. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/LineChart.d.ts +0 -0
  745. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/PlotBySelector.d.ts +0 -0
  746. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/types.d.ts +0 -0
  747. /package/dist/types/{components → ExecutiveDashboard/components}/Table/SortDropdown.d.ts +0 -0
  748. /package/dist/types/{components → ExecutiveDashboard/components}/ui/chart.d.ts +0 -0
  749. /package/dist/types/{components → ExecutiveDashboard/components}/ui/utils.d.ts +0 -0
package/README.md CHANGED
@@ -0,0 +1,698 @@
1
+ # @e-llm-studio/federated-dashboard-components
2
+
3
+ A React component library for building **config-driven executive dashboards**. The
4
+ flagship export, `ExecutiveDashboardWrapper`, renders a complete dashboard —
5
+ date filters, a multi-tier line-chart, KPI metric cards, a filter sidebar, and
6
+ data tables — from a single `configId`. The wrapper fetches its own layout and
7
+ data from the backend, so the host application only has to mount one component
8
+ and (optionally) describe how its tables should render.
9
+
10
+ The package also ships the underlying building blocks (`Graph`, `MetricCard`,
11
+ `FTable`, `TableCard`, `DashboardCard`, `DashboardDateFilter`, `FiltersSidebar`,
12
+ chart primitives, and KPI formatting helpers) for teams that want to compose a
13
+ dashboard by hand.
14
+
15
+ ---
16
+
17
+ ## Table of contents
18
+
19
+ 1. [Installation](#1-installation)
20
+ 2. [Quick start](#2-quick-start)
21
+ 3. [How it works (architecture)](#3-how-it-works-architecture)
22
+ 4. [`ExecutiveDashboardWrapper` props](#4-executivedashboardwrapper-props)
23
+ - [4.1 Section order (`sectionOrder` / `hiddenSections`)](#41-section-order-sectionorder--hiddensections)
24
+ 5. [The `tables` prop in depth](#5-the-tables-prop-in-depth)
25
+ - [5.1 Table grid layout (`tableLayout`)](#51-table-grid-layout-tablelayout)
26
+ 6. [Backend API contract](#6-backend-api-contract)
27
+ 7. [Exported building blocks](#7-exported-building-blocks)
28
+ 8. [KPI formatting utilities](#8-kpi-formatting-utilities)
29
+ 9. [TypeScript types reference](#9-typescript-types-reference)
30
+ 10. [Troubleshooting](#10-troubleshooting)
31
+
32
+ ---
33
+
34
+ ## 1. Installation
35
+
36
+ ```bash
37
+ npm install @e-llm-studio/federated-dashboard-components
38
+ ```
39
+
40
+ ### Peer dependencies
41
+
42
+ These must be installed in the host application (they are intentionally **not**
43
+ bundled, so a single copy is shared):
44
+
45
+ ```bash
46
+ npm install react@^18.3.1 react-dom@^18.3.1 \
47
+ primereact@^10.9.7 primeicons@^7.0.0 \
48
+ lucide-react@^0.476.0 recharts@^2.13.0 \
49
+ react-router-dom@^7.6.2
50
+ ```
51
+
52
+ | Peer dependency | Version | Used for |
53
+ | ------------------ | ---------- | ----------------------------------------- |
54
+ | `react` / `react-dom` | `^18.3.1` | Core runtime |
55
+ | `primereact` | `^10.9.7` | Underlying `DataTable`, sidebar, dropdowns |
56
+ | `primeicons` | `^7.0.0` | Icon font used by PrimeReact widgets |
57
+ | `lucide-react` | `^0.476.0` | Iconography (chart/KPI/table icons) |
58
+ | `recharts` | `^2.13.0` | Line-chart rendering |
59
+ | `react-router-dom` | `^7.6.2` | Router context expected by the demo shell |
60
+
61
+ ### Import the stylesheet **once**
62
+
63
+ The library ships a single extracted stylesheet. Import it once at your app root
64
+ (it is side-effecting and required for correct layout):
65
+
66
+ ```ts
67
+ import "@e-llm-studio/federated-dashboard-components/dist/styles.css";
68
+ ```
69
+
70
+ You will typically also want PrimeReact's own base CSS in your app shell:
71
+
72
+ ```ts
73
+ import "primereact/resources/themes/lara-light-indigo/theme.css"; // or your theme
74
+ import "primereact/resources/primereact.min.css";
75
+ import "primeicons/primeicons.css";
76
+ ```
77
+
78
+ ---
79
+
80
+ ## 2. Quick start
81
+
82
+ The wrapper is fully self-contained. Give it a `configId` and a `baseUrl`; it
83
+ does the rest.
84
+
85
+ ```tsx
86
+ import "@e-llm-studio/federated-dashboard-components/dist/styles.css";
87
+ import { ExecutiveDashboardWrapper } from "@e-llm-studio/federated-dashboard-components";
88
+
89
+ export function ClaimsDashboard() {
90
+ return (
91
+ <ExecutiveDashboardWrapper
92
+ configId="6a579569dc07b01447bd9797"
93
+ baseUrl="https://dev.appmod.ai"
94
+ />
95
+ );
96
+ }
97
+ ```
98
+
99
+ That single mount will:
100
+
101
+ 1. Call the **UI config API** once to learn the dashboard's structure (graph
102
+ tiers, plot options, KPI cards, sidebar filters, date presets, table layout).
103
+ 2. Seed the date range from the config's default preset.
104
+ 3. Call the **data API** to load graph series + KPI values, and re-call it every
105
+ time the date range or applied filters change.
106
+ 4. Render a skeleton while loading and an inline error + **Retry** button on
107
+ failure.
108
+
109
+ > **Exports:** `ExecutiveDashboardWrapper` is exported from the package root
110
+ > ([src/index.ts](src/index.ts)), alongside the presentational
111
+ > `ExecutiveDashboard`, the built-in API fetchers (`fetchUIConfig`,
112
+ > `fetchDashboardData`, `DashboardApiError`), and the full set of container /
113
+ > config / data types.
114
+
115
+ ### With custom table rendering
116
+
117
+ To control how the dashboard's tables look (links, badges, currency, impact
118
+ chips), pass a `tables` config keyed by each table's `key` from the UI config.
119
+ See [§5](#5-the-tables-prop-in-depth) for the full walkthrough.
120
+
121
+ ```tsx
122
+ import type { DashboardTablesConfig } from "@e-llm-studio/federated-dashboard-components";
123
+
124
+ const TABLES: DashboardTablesConfig = {
125
+ top_plant_locations_by_claim_cost: {
126
+ tableProps: { showGridlines: true },
127
+ card: {
128
+ title: { fontSize: 16, color: "#111827" },
129
+ icon: { size: 18, color: "#059669" },
130
+ },
131
+ columns: [
132
+ {
133
+ key: "plant_location",
134
+ header: "Plant Location",
135
+ body: (row) => <a href="#">{row.plant_location}</a>,
136
+ },
137
+ {
138
+ key: "claim_count",
139
+ header: "Claim Count",
140
+ body: (row) => <span>{row.claim_count}</span>,
141
+ },
142
+ ],
143
+ },
144
+ };
145
+
146
+ <ExecutiveDashboardWrapper
147
+ configId="6a579569dc07b01447bd9797"
148
+ baseUrl="https://dev.appmod.ai"
149
+ tables={TABLES}
150
+ />;
151
+ ```
152
+
153
+ A full worked example (money/impact/status cell helpers, a custom app header)
154
+ lives in [src/App.tsx](src/App.tsx).
155
+
156
+ ---
157
+
158
+ ## 3. How it works (architecture)
159
+
160
+ ```
161
+ ┌──────────────────────────────┐
162
+ configId, baseUrl → │ ExecutiveDashboardWrapper │
163
+ │ (state + data orchestration) │
164
+ └──────────────┬───────────────┘
165
+ │
166
+ ┌───────────────────────────┼───────────────────────────┐
167
+ │ 1. UI config API (once) │ 2. Data API (on range/ │
168
+ │ /federated/filters/ui │ filter change) │
169
+ │ + .../distinct-value │ /federated/filters/ │
170
+ │ │ get-data │
171
+ ▼ ▼ │
172
+ structure & labels numeric series + KPI values │
173
+ └───────────────┬───────────────────────────────────────┘
174
+ ▼
175
+ ┌────────────────────┐
176
+ │ ExecutiveDashboard │ (presentational)
177
+ │ • DashboardDateFilter
178
+ │ • Graph (tiers + plot selectors)
179
+ │ • MetricCard × N
180
+ │ • FiltersSidebar
181
+ │ • TableCard × N
182
+ └────────────────────┘
183
+ ```
184
+
185
+ - **State lives in the wrapper** ([ExecutiveDashboardWrapper.tsx](src/ExecutiveDashboardWrapper.tsx)):
186
+ selected plot-by option per tier, filter values (draft vs. applied), and the
187
+ active date range. All fetches are `AbortController`-guarded, so rapid filter
188
+ changes cancel in-flight requests.
189
+ - **Two logical fetch phases.** The UI config load also fetches the distinct
190
+ values for each sidebar filter and merges them in as `options`. The data load
191
+ is re-run whenever `dateRange` or `appliedFilters` change.
192
+ - **The inner `ExecutiveDashboard` is presentational** — it receives everything
193
+ as props and reports interactions back up via callbacks.
194
+
195
+ ---
196
+
197
+ ## 4. `ExecutiveDashboardWrapper` props
198
+
199
+ Defined by the `DashboardContainerProps` interface in
200
+ [src/types/index.ts](src/types/index.ts). All props below are wired and
201
+ consumed by the wrapper.
202
+
203
+ | Prop | Type | Required | Description |
204
+ | ------------------ | ------------------------------------------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
205
+ | `configId` | `string` | ✅ Yes | Identifies which dashboard config to load. Sent as `config_id` in the body of every API call. |
206
+ | `baseUrl` | `string` | No | API origin. **Defaults to `"https://dev.appmod.ai"`.** Trailing slashes are trimmed. Override for other environments (staging, prod, localhost). |
207
+ | `graphEmptyState` | `React.ReactNode` | No | Custom node shown inside the graph area when no series have data. Falls back to a built-in empty state when omitted. |
208
+ | `tables` | `DashboardTablesConfig` | No | Per-table render config keyed by the table `key` from the UI config's `tableBuilder`. Tables without an entry auto-render as plain text. See [§5](#5-the-tables-prop-in-depth). |
209
+ | `tableLayout` | `DashboardTableLayoutConfig` | No | Grid layout for the tables section — how many tables sit per row, which options the toolbar offers, and how narrow a card may get before the grid reflows. See [§5.1](#51-table-grid-layout-tablelayout). |
210
+ | `sectionOrder` | `DashboardSectionKey[]` | No | Vertical order of the dashboard sections, by UI config key — e.g. `["tableBuilder", "kpiCards", "graphBuilder"]`. Partial lists are allowed. See [§4.1](#41-section-order-sectionorder--hiddensections). |
211
+ | `hiddenSections` | `DashboardSectionKey[]` | No | Parts to leave out entirely, e.g. `["graphBuilder", "sidebarFilters"]`. Applied after `sectionOrder`, and unlike it, also accepts the pinned `dateFilters` / `sidebarFilters`. See [§4.1](#41-section-order-sectionorder--hiddensections). |
212
+ | `fetchUIConfig` | `FetchUIConfig` | No | Override the built-in UI-config fetcher — `(config, signal?) => Promise<DashboardUIConfig>`. Useful for mocks/tests or a custom transport. Defaults to the built-in `/federated/filters/ui` fetcher. |
213
+ | `fetchDashboardData` | `FetchDashboardData` | No | Override the built-in data fetcher — `(config, params, signal?) => Promise<DashboardDataResponse>`. Defaults to the built-in `/federated/filters/get-data` fetcher. |
214
+ | `initialStartDate` | `Date` | No | Force the initial range start instead of deriving it from the config's default preset. Must be paired with `initialEndDate`. |
215
+ | `initialEndDate` | `Date` | No | Force the initial range end. Must be paired with `initialStartDate`. |
216
+ | `onDateChange` | `(payload: any) => void` | No | Fires whenever the resolved date range changes (payload carries `{ startDate, endDate }`). |
217
+ | `onFiltersApplied` | `(filters: Record<string, string \| string[]>) => void` | No | Fires after the sidebar's **Apply** is pressed, with the applied filter values. |
218
+ | `renderLoading` | `() => React.ReactNode` | No | Replace the default skeleton loader. |
219
+ | `renderError` | `(error: Error, retry: () => void) => React.ReactNode` | No | Replace the default inline error + retry UI. `retry` re-runs the UI-config load. |
220
+
221
+ ### Notes
222
+
223
+ - **`initialStartDate` / `initialEndDate`** only seed the *first* render. If
224
+ only one is provided, the wrapper falls back to the config's default preset.
225
+ - **Fetcher overrides** receive an `AbortController` signal and are expected to
226
+ honour it — the wrapper cancels in-flight requests when inputs change.
227
+
228
+ ```tsx
229
+ <ExecutiveDashboardWrapper
230
+ configId="6a579569dc07b01447bd9797"
231
+ initialStartDate={new Date("2026-01-01")}
232
+ initialEndDate={new Date("2026-04-18")}
233
+ onDateChange={(p) => console.log("range:", p)}
234
+ onFiltersApplied={(f) => console.log("filters:", f)}
235
+ renderLoading={() => <MySpinner />}
236
+ renderError={(err, retry) => <MyError message={err.message} onRetry={retry} />}
237
+ />
238
+ ```
239
+
240
+ ### 4.1 Section order (`sectionOrder` / `hiddenSections`)
241
+
242
+ Everything in the dashboard body can be re-ordered by passing **the same keys the
243
+ API sends** — today `graphBuilder`, `kpiCards` and `tableBuilder`:
244
+
245
+ ```tsx
246
+ // Tables on top, then the KPI cards, then the chart.
247
+ <ExecutiveDashboardWrapper
248
+ configId="6a579569dc07b01447bd9797"
249
+ sectionOrder={["tableBuilder", "kpiCards", "graphBuilder"]}
250
+ />
251
+ ```
252
+
253
+ Two parts have a **fixed position**: the **date filter bar** stays pinned at the
254
+ top and the **filters sidebar** is an overlay, so its position never affects the
255
+ layout. `sectionOrder` therefore ignores `dateFilters` / `sidebarFilters` — handy
256
+ when you're just reordering the config's key list wholesale:
257
+
258
+ ```tsx
259
+ // Same result as above.
260
+ sectionOrder={["dateFilters", "sidebarFilters", "tableBuilder", "kpiCards", "graphBuilder"]}
261
+ ```
262
+
263
+ Fixed position doesn't mean permanent, though — **`hiddenSections` can remove
264
+ them**:
265
+
266
+ ```tsx
267
+ hiddenSections={["dateFilters", "sidebarFilters"]} // both gone
268
+ ```
269
+
270
+ **New sections work automatically.** When the backend grows another section, pass
271
+ its key the same way — `sectionOrder={["kpiCards", "pieChartBuilder", "graphBuilder"]}`.
272
+ Nothing about ordering needs to change: the order is resolved against whatever
273
+ sections the dashboard currently renders, and the prop type accepts any string, so
274
+ a new key never trips the type checker.
275
+
276
+ Details:
277
+
278
+ - **Partial lists are fine.** Anything omitted keeps its default position, so
279
+ `sectionOrder={["tableBuilder"]}` alone means "tables first, then the rest as
280
+ usual".
281
+ - **`hiddenSections` drops a part** — separate from `sectionOrder`, so nothing
282
+ disappears just for being left out of the order. It's applied last, so hiding
283
+ always wins, and it accepts the pinned parts as well as the body sections:
284
+ ```tsx
285
+ sectionOrder={["kpiCards", "graphBuilder"]}
286
+ hiddenSections={["tableBuilder", "sidebarFilters"]}
287
+ ```
288
+ Hiding `sidebarFilters` also removes the **Filter** button (and its count) from
289
+ the date bar, since there'd be no panel left for it to open. Hiding
290
+ `dateFilters` only removes the bar — the dashboard still loads data for the
291
+ config's default date range.
292
+ - **Key matching is forgiving** — case-insensitive, and spaces/underscores/dashes
293
+ are ignored, so `"Table Builder"`, `"table_builder"` and `"tableBuilder"` are
294
+ the same key.
295
+ - **Unknown keys are ignored**, not thrown — they'd usually come from config. In
296
+ development an ignored key logs a console warning naming it and listing the
297
+ available sections, so a typo is easy to spot. Duplicates collapse.
298
+
299
+ #### Driving the order from the backend config
300
+
301
+ The UI config payload may also carry the order as `data.sectionOrder`, which is
302
+ useful when the layout should travel with the dashboard config instead of being
303
+ hard-coded in the host app:
304
+
305
+ ```json
306
+ {
307
+ "data": {
308
+ "sectionOrder": ["tableBuilder", "kpiCards", "graphBuilder"],
309
+ "dateFilters": { "...": "..." },
310
+ "graphBuilder": { "...": "..." },
311
+ "kpiCards": ["..."],
312
+ "tableBuilder": ["..."]
313
+ }
314
+ }
315
+ ```
316
+
317
+ The `sectionOrder` **prop wins** over `data.sectionOrder`, so a host can always
318
+ override what the config asks for. Both go through the same resolution, so the
319
+ same keys work in either place.
320
+
321
+ The resolver is exported if a host needs the same behaviour in its own layout UI:
322
+
323
+ ```tsx
324
+ import {
325
+ DASHBOARD_SECTION_KEYS, // ["graphBuilder", "kpiCards", "tableBuilder"]
326
+ PINNED_SECTION_KEYS, // ["dateFilters", "sidebarFilters"]
327
+ resolveSectionOrder, // (order?, hidden?, configOrder?, available?) → string[]
328
+ isSectionHidden, // (hidden, "dateFilters") → boolean
329
+ } from "@e-llm-studio/federated-dashboard-components";
330
+ ```
331
+
332
+ > Ordering **within** a section still comes from the config: KPI cards honour
333
+ > `displayOrder`, graph tiers/series honour theirs, and table placement inside
334
+ > the grid is controlled by [`tableLayout.spans`](#per-table-widths-spans).
335
+
336
+ ---
337
+
338
+ ## 5. The `tables` prop in depth
339
+
340
+ The UI config's `tableBuilder` defines *which* tables exist and their raw
341
+ columns. The `tables` prop lets the **host app** decide how each of those tables
342
+ *renders* — custom cell JSX, headers, per-column styles, and the surrounding
343
+ card chrome (icon + title). It's optional and partial: any table key you don't
344
+ provide falls back to auto-generated plain-text columns.
345
+
346
+ ```ts
347
+ type DashboardTablesConfig = Record<string, DashboardTableRenderConfig>;
348
+ ```
349
+
350
+ The keys must match `tableBuilder[].key` from the UI config.
351
+
352
+ ### `DashboardTableRenderConfig`
353
+
354
+ | Field | Type | Description |
355
+ | ------------ | --------------------------- | ------------------------------------------------------------------------------------------------------- |
356
+ | `columns` | `FTableColumn[]` | **Required.** Column render definitions (see below). |
357
+ | `tableProps` | `Record<string, any>` | Passthrough props merged onto the underlying PrimeReact `DataTable` (e.g. `{ showGridlines: true }`). |
358
+ | `card` | `DashboardTableCardStyles` | Styling for the card wrapping the table (shell, header, title, icon). |
359
+
360
+ ### `FTableColumn`
361
+
362
+ | Field | Type | Description |
363
+ | ---------------- | ------------------------------------ | ----------------------------------------------------------------------- |
364
+ | `key` | `string` | Row field / column identity. |
365
+ | `header` | `React.ReactNode` | Header cell content (string or JSX). |
366
+ | `body` | `(row: TableRow) => React.ReactNode` | Cell renderer for each row. `TableRow` is `Record<string, any>`. |
367
+ | `style` | `React.CSSProperties` | Applied to **both** header and body cells of the column. |
368
+ | `headerStyle` | `React.CSSProperties` | Header-cell (`<th>`) only; overrides `style` for the header. |
369
+ | `bodyStyle` | `React.CSSProperties` | Body-cell (`<td>`) only; overrides `style` for rows. |
370
+ | `headerClassName`| `string` | Class on the header cell. |
371
+ | `bodyClassName` | `string` | Class on body cells. |
372
+
373
+ ### `DashboardTableCardStyles`
374
+
375
+ | Field | Type | Description |
376
+ | -------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
377
+ | `root` | `React.CSSProperties` | The card shell. **Set `width` here to size the whole card** — the table fills it. |
378
+ | `header` | `React.CSSProperties` | The header row (icon + title + search/expand controls). |
379
+ | `title` | `React.CSSProperties` | The title text (font, colour, padding). |
380
+ | `icon` | `{ size?: number; color?: string; background?: string; style?: CSSProperties }` | Glyph size/colour, chip background, and an escape hatch for other icon-container CSS. |
381
+
382
+ > **Sizing tip:** To make a table narrower, set `card.root.width` (e.g.
383
+ > `"60%"`). Sizing only the table leaves the card full-width.
384
+
385
+ ### Full table example
386
+
387
+ ```tsx
388
+ import type { DashboardTablesConfig, FTableColumn, TableRow } from "@e-llm-studio/federated-dashboard-components";
389
+
390
+ const money = (v: any) => (Number.isFinite(Number(v)) ? `$${v}` : String(v ?? ""));
391
+
392
+ const linkCol = (field: string, header: string): FTableColumn => ({
393
+ key: field,
394
+ header,
395
+ body: (row) => <a href="#" style={{ color: "#7c3aed" }}>{row[field]}</a>,
396
+ });
397
+
398
+ const TABLES: DashboardTablesConfig = {
399
+ claim_cost_by_incident_type: {
400
+ tableProps: { showGridlines: true },
401
+ card: {
402
+ header: { padding: "10px" },
403
+ title: { fontSize: 16, color: "#111827" },
404
+ icon: { size: 18, color: "#059669" },
405
+ },
406
+ columns: [
407
+ linkCol("incident_type", "Incident Type"),
408
+ { key: "total_claim_cost", header: "Total Claim Cost", body: (r) => money(r.total_claim_cost) },
409
+ { key: "litigation_rate", header: "Litigation Rate", body: (r) => `${r.litigation_rate} %` },
410
+ ],
411
+ },
412
+ };
413
+ ```
414
+
415
+ ### 5.1 Table grid layout (`tableLayout`)
416
+
417
+ When the UI config has more than one table, a small toolbar appears above the
418
+ tables section with one icon per layout — **1 / 2 / 3 tables per row**. Picking
419
+ an icon re-flows the tables into that many columns.
420
+
421
+ The layout is always responsive: `minColumnWidth` is the narrowest a table card
422
+ may become, and the grid drops columns automatically as the *container* (not the
423
+ window) gets narrower — 3-up becomes 2-up, then 1-up. The user's choice is
424
+ remembered, so widening the container restores it. An option that can't fit at
425
+ the current width is dimmed in the toolbar.
426
+
427
+ ```tsx
428
+ <ExecutiveDashboardWrapper
429
+ configId="6a579569dc07b01447bd9797"
430
+ tables={TABLES}
431
+ tableLayout={{
432
+ options: [1, 2, 3], // icons offered in the toolbar
433
+ defaultColumns: 2, // start 2-up
434
+ minColumnWidth: 420, // drop a column below this per-card width
435
+ gap: 16,
436
+ toggleLabel: "Layout",
437
+ }}
438
+ />
439
+ ```
440
+
441
+ | Field | Type | Default | Description |
442
+ | ----------------- | ------------------------------------------- | ----------- | ---------------------------------------------------------------------- |
443
+ | `spans` | `Record<string, TableSpan>` \| `TableSpan[]` | — | Per-table width — see [below](#per-table-widths-spans). |
444
+ | `totalColumns` | `number` | `12` | Grid columns the `spans` values are expressed in. |
445
+ | `defaultSpan` | `TableSpan` | full width | Width for tables missing from `spans`. |
446
+ | `options` | `number[]` | `[1, 2, 3]` | Column counts offered as toolbar icons (`1`–`4` have dedicated icons). |
447
+ | `defaultColumns` | `number \| "custom"` | see note | Layout on first render. Defaults to `"custom"` when `spans` is set, else `1`. |
448
+ | `columns` | `number \| "custom"` | — | Controlled layout. Pair with `onColumnsChange` to own the state. |
449
+ | `onColumnsChange` | `(columns: number \| "custom") => void` | — | Fires when the user picks a layout. |
450
+ | `showToggle` | `boolean` | `true` | Hide the toolbar and keep the configured column count. Auto-hidden for 1 table. |
451
+ | `toggleLabel` | `string` | — | Caption rendered left of the toggle. |
452
+ | `minColumnWidth` | `number` | `380` | Narrowest a card may get before a column is dropped — this drives the reflow. |
453
+ | `gap` | `number` | `12` | Gap between cards, in px. |
454
+ | `equalHeights` | `boolean` | `true` | Stretch every card in a row to the tallest one. `false` lets each card hug its own content. |
455
+
456
+ Cards in the same row are height-matched by default, so a 5-row table beside a
457
+ 10-row one no longer renders short — the shorter table's card fills the row
458
+ height. To cap how tall a row can get, give the table a scroll height via
459
+ `tables[key].tableProps`, e.g. `{ scrollHeight: "360px" }`.
460
+
461
+ #### Per-table widths (`spans`)
462
+
463
+ Uniform 1/2/3-up is the user's control. `spans` is the **host's** control: it
464
+ sets the width of each table individually, so table 1 can own a full row while
465
+ tables 2 and 3 sit side by side and table 4 goes full width again.
466
+
467
+ ```tsx
468
+ tableLayout={{
469
+ spans: {
470
+ revenue_summary: "full", // row 1 — on its own
471
+ claims_by_type: "1/2", // row 2 — side by side
472
+ claims_by_plant: "1/2", //
473
+ litigation_log: "full", // row 3 — on its own
474
+ },
475
+ }}
476
+ ```
477
+
478
+ Keys are the table's `key` from the UI config's `tableBuilder`. An array works
479
+ too and is read in table order — handy when the layout is positional:
480
+
481
+ ```tsx
482
+ tableLayout={{ spans: ["full", "1/2", "1/2", "full"] }}
483
+ ```
484
+
485
+ Accepted values (`TableSpan`): `"full"`, any fraction string (`"1/2"`, `"1/3"`,
486
+ `"2/3"`, `"1/4"`, `"3/4"`, …), or a raw column count against `totalColumns`
487
+ (`6` is half of the default 12-column grid). Rows are formed by CSS grid
488
+ auto-placement, so spans that overflow a row simply wrap.
489
+
490
+ **This stays responsive.** No table is ever rendered narrower than
491
+ `minColumnWidth`; spans widen instead. With the four-table layout above at
492
+ `minColumnWidth: 380`:
493
+
494
+ | Container width | Result |
495
+ | --------------- | --------------------------------------------------- |
496
+ | ≥ 772px | `[T1]` / `[T2 + T3]` / `[T4]` — the configured shape |
497
+ | < 772px | `[T1]` / `[T2]` / `[T3]` / `[T4]` — all full width |
498
+
499
+ (772px = two 380px cards plus the 12px gap.) Raise `minColumnWidth` to make it
500
+ break to one column earlier, lower it to hold two columns longer.
501
+
502
+ When `spans` is set, the toolbar grows an extra icon for the configured layout
503
+ and starts on it. The user can still switch to a uniform 1/2/3-up and click
504
+ back to the configured one. Pass `showToggle: false` to lock the layout down.
505
+
506
+ The same grid is exported standalone as `TableGrid` if you're composing table
507
+ cards yourself:
508
+
509
+ ```tsx
510
+ import { TableGrid, TableCard } from "@e-llm-studio/federated-dashboard-components";
511
+
512
+ <TableGrid defaultColumns={2} minColumnWidth={400}>
513
+ <TableCard title="Claims" table={{ rows, columns }} />
514
+ <TableCard title="Providers" table={{ rows: rows2, columns: columns2 }} />
515
+ </TableGrid>;
516
+ ```
517
+
518
+ ---
519
+
520
+ ## 6. Backend API contract
521
+
522
+ The wrapper (via [src/api/dashboardApi.ts](src/api/dashboardApi.ts)) calls three
523
+ `POST` JSON endpoints, all relative to `baseUrl`. Each responds with an envelope:
524
+
525
+ ```jsonc
526
+ {
527
+ "success": true,
528
+ "request_id": "…",
529
+ "data": { /* … */ },
530
+ "error": null | { "errorMessage": "…", "errorType": "…" }
531
+ }
532
+ ```
533
+
534
+ A non-2xx status, or `success: false`, throws a `DashboardApiError` (surfaced in
535
+ the wrapper's error UI).
536
+
537
+ ### 6.1 `POST /federated/filters/ui` — structure & labels
538
+
539
+ Request: `{ "config_id": "<configId>" }`
540
+
541
+ Returns the dashboard layout: `dateFilters`, `sidebarFilters`, `graphBuilder`
542
+ (tiers → plot options → series), `kpiCards`, and optional `tableBuilder`. See
543
+ `DashboardUIData` in [§9](#9-typescript-types-reference).
544
+
545
+ ### 6.2 `POST /federated/filters/distinct-value` — filter options
546
+
547
+ Request: `{ "config_id": "<configId>" }`
548
+
549
+ Returns `{ "sidebarFilters": { "<schemaFilterName>": string[] } }`. The wrapper
550
+ merges these arrays into each sidebar filter definition as its `options`.
551
+
552
+ > UI config (6.1) and distinct values (6.2) are fetched **in parallel** and
553
+ > merged into a single `DashboardUIConfig`.
554
+
555
+ ### 6.3 `POST /federated/filters/get-data` — the numbers
556
+
557
+ Request:
558
+
559
+ ```jsonc
560
+ {
561
+ "config_id": "<configId>",
562
+ "dateFilters": { "startDate": "<ISO>", "endDate": "<ISO>" },
563
+ "sidebarFilters": { "<schemaFilterName>": ["value", …] }
564
+ }
565
+ ```
566
+
567
+ Filter normalisation: single-select values become one-element arrays; empty /
568
+ unset filters are dropped from the payload.
569
+
570
+ Response `data` shape (`DashboardDataResponse`):
571
+
572
+ ```jsonc
573
+ {
574
+ "graph": {
575
+ "<graphKey>": [
576
+ { "key": "<tierKey>", "plotbyoptions": { "<plotOptionKey>": { "<seriesKey>": [ { "x": "D1", "y": 58 }, … ] } } }
577
+ ]
578
+ },
579
+ "kpiCards": {
580
+ // either a bare value…
581
+ "Fill Rate Impact": "2.8k",
582
+ // …or an object carrying a baseline for indicator colouring:
583
+ "Total Claim Cost": { "currentValue": 8421316, "baselineValue": 7900000 }
584
+ },
585
+ "table": {
586
+ "<tableKey>": [ { /* row */ }, … ]
587
+ }
588
+ }
589
+ ```
590
+
591
+ ---
592
+
593
+ ## 7. Exported building blocks
594
+
595
+ If you're composing a dashboard by hand rather than using the wrapper, the
596
+ following are exported from the package root (see [src/index.ts](src/index.ts)):
597
+
598
+ ### Components
599
+
600
+ | Export | Notes |
601
+ | --------------------- | -------------------------------------------------------- |
602
+ | `Graph` | Multi-pane line chart. Props: `GraphProps`. |
603
+ | `LineChart` | Single line chart primitive. |
604
+ | `PlotBySelector` | Dropdown used to switch a tier's plotted metric. |
605
+ | `DashboardDateFilter` | Date-range picker with presets + refresh/filter buttons. |
606
+ | `MetricCard` | KPI card. Props: `MetricCardProps`. |
607
+ | `FiltersSidebar` | Slide-out filter panel. Props: `FiltersSidebarProps`. |
608
+ | `FTable` | Low-level table. Props: `FTableProps`. |
609
+ | `TableCard` | `FTable` wrapped in a titled/iconed card. Props: `TableCardProps`. |
610
+ | `TableGrid` | Responsive N-per-row grid + layout toggle for table cards. Props: `TableGridProps`. |
611
+ | `TableLayoutToggle` | The 1/2/3-per-row icon group on its own. Props: `TableLayoutToggleProps`. |
612
+ | `useResponsiveColumns`| Hook behind the grid — caps a desired column count to what the container fits. |
613
+ | `DashboardCard` | Rich content card (sections, tags, events, news, grid). |
614
+
615
+ ### Chart primitives (shadcn/Recharts port)
616
+
617
+ `ChartContainer`, `ChartTooltip`, `ChartTooltipContent`, `ChartLegend`,
618
+ `ChartLegendContent`, `useChart`, plus the `ChartConfig` type and the
619
+ `DEFAULT_COLORS` / `colorForIndex` palette helpers.
620
+
621
+ ### Date presets
622
+
623
+ `DATE_PRESETS` and related exports from `datePreset` — e.g. `DAYS_7`, `DAYS_15`,
624
+ `DAYS_30`, `THIS_MONTH`, `CUSTOM`. Each preset with a `getRange()` returns
625
+ `{ startDate, endDate }`.
626
+
627
+ ---
628
+
629
+ ## 8. KPI formatting utilities
630
+
631
+ Exported from the package root for formatting/colouring KPI values consistently
632
+ (see [src/utils/index.ts](src/utils/index.ts)):
633
+
634
+ | Export | Signature / purpose |
635
+ | --------------------- | ----------------------------------------------------------------------------------------------------------- |
636
+ | `formatKpiValue` | Format a raw KPI value using a format string (compacts numbers, preserves suffixes like `%`). |
637
+ | `getKpiDelta` | Compute the delta (absolute + %) and sentiment between a current and baseline value. Returns `KpiDelta`. |
638
+ | `getKpiSentiment` | `(current, baseline, indicatorLogic) → "positive" \| "negative" \| "neutral"`. |
639
+ | `getKpiValueColor` | Resolve a display colour from sentiment, with optional per-sentiment overrides. |
640
+ | `isKpiValueObject` | Type guard: is a raw value the `{ currentValue, baselineValue }` object form? |
641
+ | `KPI_SENTIMENT_COLORS`| Default positive/negative colour map. |
642
+ | `compactNumber` | `8421316 → "8.4M"` style compaction. |
643
+
644
+ `IndicatorLogic` is one of `"higher_better" | "lower_better" | "neutral"` — it
645
+ tells the sentiment helpers whether an increase is good or bad.
646
+
647
+ ```ts
648
+ import {
649
+ getKpiDelta,
650
+ getKpiValueColor,
651
+ } from "@e-llm-studio/federated-dashboard-components";
652
+
653
+ const delta = getKpiDelta(8421316, 7900000, "higher_better");
654
+ // → { …, sentiment: "positive" }
655
+ const color = getKpiValueColor(8421316, 7900000, "higher_better");
656
+ ```
657
+
658
+ ---
659
+
660
+ ## 9. TypeScript types reference
661
+
662
+ All types below are exported (or defined) in
663
+ [src/types/index.ts](src/types/index.ts) and re-exported from the root where
664
+ noted.
665
+
666
+ - **Container:** `DashboardContainerProps` — the wrapper's prop bag ([§4](#4-executivedashboardwrapper-props)).
667
+ - **UI config:** `DashboardUIConfig` → `DashboardUIData` → `{ dateFilters, sidebarFilters, graphBuilder, kpiCards, tableBuilder, sectionOrder? }`.
668
+ - `DateFiltersConfig` — `datepresets`, `defaultPreset`, `showFilterButton`, `showFilterCount`, `showLiveButton`, `liveDurationMs`.
669
+ - `SidebarFilterConfig` — `label`, `description`, `schemaFilterName`, `type`.
670
+ - `GraphBuilderConfig` — `title`, `subtitle`, `icon`, `axis`, `tiers[]`, `legend`.
671
+ - `GraphTierConfig` — `key`, `title`, `displayOrder`, `plotOptions[]`, `yAxis`, `series[]`.
672
+ - `PlotOptionConfig`, `SeriesConfig`, `LegendConfig`, `KpiCardConfig`.
673
+ - **Data:** `DashboardDataResponse`, `TierData`, `PlotByOptions`, `SeriesDataMap`, `DataPoint`.
674
+ - **Query:** `DashboardQueryParams` — `{ startDate?, endDate?, filters? }`.
675
+ - **Tables:** `DashboardTablesConfig`, `DashboardTableRenderConfig`, `DashboardTableCardStyles`, `DashboardTableLayoutConfig`, `TableBuilderConfig`, `TableColumnConfig`, `FTableColumn`, `TableRow`.
676
+ - **Layout:** `DashboardSectionKey` — a section named by its UI config key (`"graphBuilder" | "kpiCards" | "tableBuilder"`, plus any future one, since any string is accepted). Used by `sectionOrder` / `hiddenSections` ([§4.1](#41-section-order-sectionorder--hiddensections)).
677
+ - **KPI:** `KpiValueObject`, `KpiDelta`, `KpiSentiment`, `IndicatorLogic`.
678
+ - **Fetchers:** `FetchUIConfig`, `FetchDashboardData` (function types for the pluggable fetchers).
679
+
680
+ ---
681
+
682
+ ## 10. Troubleshooting
683
+
684
+ | Symptom | Likely cause / fix |
685
+ | --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
686
+ | `ExecutiveDashboardWrapper` is `undefined` on import | Ensure you're on a build that exports it from the root; it is exported from [src/index.ts](src/index.ts). |
687
+ | Blank / unstyled layout | You didn't import `dist/styles.css` (and/or PrimeReact's theme CSS). See [§1](#1-import-the-stylesheet-once). |
688
+ | Requests hit the wrong host / 404 | `baseUrl` defaults to `https://dev.appmod.ai`. For another environment pass an explicit absolute `baseUrl`. |
689
+ | "Failed to load dashboard" with a Retry button | An API returned non-2xx or `success: false`. Check the three endpoints in [§6](#6-backend-api-contract) and the `config_id`. |
690
+ | Tables render as plain text | No matching entry in `tables` for that `tableBuilder[].key`. Keys must match exactly. See [§5](#5-the-tables-prop-in-depth). |
691
+ | Peer dependency warnings on install | Install the peers listed in [§1](#peer-dependencies) at compatible versions. |
692
+
693
+ ---
694
+
695
+ _Package: `@e-llm-studio/federated-dashboard-components` · Entry:
696
+ [src/index.ts](src/index.ts) · Wrapper:
697
+ [src/ExecutiveDashboardWrapper.tsx](src/ExecutiveDashboardWrapper.tsx) · API
698
+ layer: [src/api/dashboardApi.ts](src/api/dashboardApi.ts)_