@e-llm-studio/federated-dashboard-components 0.0.1-beta.8 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (707) 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/BreakingNewsBanner.js.map +1 -0
  8. package/dist/ExecutiveDashboard/components/DashboardCard/CardShell.js +2 -0
  9. package/dist/ExecutiveDashboard/components/DashboardCard/CardShell.js.map +1 -0
  10. package/dist/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +2 -0
  11. package/dist/ExecutiveDashboard/components/DashboardCard/CenteredCell.js.map +1 -0
  12. package/dist/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +2 -0
  13. package/dist/ExecutiveDashboard/components/DashboardCard/DashboardCard.js.map +1 -0
  14. package/dist/ExecutiveDashboard/components/DashboardCard/DetailRow.js +2 -0
  15. package/dist/ExecutiveDashboard/components/DashboardCard/DetailRow.js.map +1 -0
  16. package/dist/ExecutiveDashboard/components/DashboardCard/EventsSection.js +2 -0
  17. package/dist/ExecutiveDashboard/components/DashboardCard/EventsSection.js.map +1 -0
  18. package/dist/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +2 -0
  19. package/dist/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js.map +1 -0
  20. package/dist/ExecutiveDashboard/components/DashboardCard/GridSection.js +2 -0
  21. package/dist/ExecutiveDashboard/components/DashboardCard/GridSection.js.map +1 -0
  22. package/dist/ExecutiveDashboard/components/DashboardCard/ListSection.js +2 -0
  23. package/dist/ExecutiveDashboard/components/DashboardCard/ListSection.js.map +1 -0
  24. package/dist/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +2 -0
  25. package/dist/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js.map +1 -0
  26. package/dist/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +2 -0
  27. package/dist/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js.map +1 -0
  28. package/dist/ExecutiveDashboard/components/DashboardCard/TagsSection.js +2 -0
  29. package/dist/ExecutiveDashboard/components/DashboardCard/TagsSection.js.map +1 -0
  30. package/dist/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +2 -0
  31. package/dist/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js.map +1 -0
  32. package/dist/ExecutiveDashboard/components/DashboardCard/sectionContent.js +2 -0
  33. package/dist/ExecutiveDashboard/components/DashboardCard/sectionContent.js.map +1 -0
  34. package/dist/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.js +2 -0
  35. package/dist/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.js.map +1 -0
  36. package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
  37. package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +2 -0
  38. package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +2 -0
  39. package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +1 -0
  40. package/dist/ExecutiveDashboard/components/DatePickers/DatePicker.js +2 -0
  41. package/dist/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +2 -0
  42. package/dist/ExecutiveDashboard/components/DatePickers/DateSelector.js +2 -0
  43. package/dist/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +2 -0
  44. package/dist/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +2 -0
  45. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +2 -0
  46. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js.map +1 -0
  47. package/dist/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +2 -0
  48. package/dist/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +2 -0
  49. package/dist/ExecutiveDashboard/components/Graph/Graph.js +2 -0
  50. package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js +2 -0
  51. package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +1 -0
  52. package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js +2 -0
  53. package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +1 -0
  54. package/dist/ExecutiveDashboard/components/Graph/LineChart.js +2 -0
  55. package/dist/ExecutiveDashboard/components/Graph/PlotBySelector.js +2 -0
  56. package/dist/ExecutiveDashboard/components/MetricCard/MetricCard.js +2 -0
  57. package/dist/ExecutiveDashboard/components/Table/FTable.js +2 -0
  58. package/dist/ExecutiveDashboard/components/Table/SortDropdown.js +2 -0
  59. package/dist/ExecutiveDashboard/components/Table/TableCard.js +2 -0
  60. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +2 -0
  61. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +1 -0
  62. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +2 -0
  63. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +1 -0
  64. package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js +2 -0
  65. package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +1 -0
  66. package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +2 -0
  67. package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +1 -0
  68. package/dist/ExecutiveDashboard/components/ui/chart.js +2 -0
  69. package/dist/ExecutiveDashboard/utils/index.js +2 -0
  70. package/dist/ExecutiveDashboard/utils/index.js.map +1 -0
  71. package/dist/ExecutiveDashboard/utils/kpiIcon.js +2 -0
  72. package/dist/ExecutiveDashboard/utils/kpiIcon.js.map +1 -0
  73. package/dist/ExecutiveDashboard/utils/sectionOrder.js +2 -0
  74. package/dist/ExecutiveDashboard/utils/sectionOrder.js.map +1 -0
  75. package/dist/ExecutiveDashboard/utils/tableColumns.js +2 -0
  76. package/dist/ExecutiveDashboard/utils/tableColumns.js.map +1 -0
  77. package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js +2 -0
  78. package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js.map +1 -0
  79. package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +2 -0
  80. package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +1 -0
  81. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +2 -0
  82. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +1 -0
  83. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +2 -0
  84. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +1 -0
  85. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +2 -0
  86. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +1 -0
  87. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +2 -0
  88. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +1 -0
  89. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +2 -0
  90. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +1 -0
  91. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +2 -0
  92. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +1 -0
  93. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +2 -0
  94. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +1 -0
  95. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +2 -0
  96. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +1 -0
  97. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +2 -0
  98. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +1 -0
  99. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +2 -0
  100. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +1 -0
  101. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +2 -0
  102. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +1 -0
  103. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +2 -0
  104. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +1 -0
  105. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +2 -0
  106. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +1 -0
  107. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +2 -0
  108. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +1 -0
  109. package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +2 -0
  110. package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +1 -0
  111. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +2 -0
  112. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +1 -0
  113. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +2 -0
  114. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +1 -0
  115. package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +2 -0
  116. package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +1 -0
  117. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +2 -0
  118. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +1 -0
  119. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +2 -0
  120. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +1 -0
  121. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +2 -0
  122. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +1 -0
  123. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +2 -0
  124. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +1 -0
  125. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +2 -0
  126. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +1 -0
  127. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +2 -0
  128. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +1 -0
  129. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +2 -0
  130. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +1 -0
  131. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js +2 -0
  132. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +1 -0
  133. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +2 -0
  134. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +1 -0
  135. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +2 -0
  136. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +1 -0
  137. package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +2 -0
  138. package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +1 -0
  139. package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +2 -0
  140. package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +1 -0
  141. package/dist/RecordDashboard/RecordComponents/Graph/types.js +2 -0
  142. package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +2 -0
  143. package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +1 -0
  144. package/dist/RecordDashboard/RecordComponents/RecordDashboard.js +2 -0
  145. package/dist/RecordDashboard/RecordComponents/RecordDashboard.js.map +1 -0
  146. package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +2 -0
  147. package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +1 -0
  148. package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +2 -0
  149. package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +1 -0
  150. package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js +2 -0
  151. package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +1 -0
  152. package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +2 -0
  153. package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +1 -0
  154. package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js +2 -0
  155. package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +1 -0
  156. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +2 -0
  157. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +1 -0
  158. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +2 -0
  159. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +1 -0
  160. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +2 -0
  161. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +1 -0
  162. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +2 -0
  163. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +1 -0
  164. package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +2 -0
  165. package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +1 -0
  166. package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js +2 -0
  167. package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js.map +1 -0
  168. package/dist/RecordDashboard/RecordComponents/ui/utils.js +2 -0
  169. package/dist/RecordDashboard/RecordDashboardWrapper.js +2 -0
  170. package/dist/RecordDashboard/RecordDashboardWrapper.js.map +1 -0
  171. package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js +2 -0
  172. package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +1 -0
  173. package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js +2 -0
  174. package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +1 -0
  175. package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js +2 -0
  176. package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js.map +1 -0
  177. package/dist/RecordDashboard/RecordUtils/index.js +2 -0
  178. package/dist/RecordDashboard/RecordUtils/index.js.map +1 -0
  179. package/dist/_virtual/_tslib.js +1 -1
  180. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +2 -0
  181. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +1 -0
  182. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +2 -0
  183. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js.map +1 -0
  184. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +2 -0
  185. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js.map +1 -0
  186. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CardShell.js +2 -0
  187. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CardShell.js.map +1 -0
  188. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +2 -0
  189. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CenteredCell.js.map +1 -0
  190. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +2 -0
  191. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DashboardCard.js.map +1 -0
  192. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DetailRow.js +2 -0
  193. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DetailRow.js.map +1 -0
  194. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/EventsSection.js +2 -0
  195. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/EventsSection.js.map +1 -0
  196. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +2 -0
  197. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js.map +1 -0
  198. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/GridSection.js +2 -0
  199. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/GridSection.js.map +1 -0
  200. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/ListSection.js +2 -0
  201. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/ListSection.js.map +1 -0
  202. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +2 -0
  203. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js.map +1 -0
  204. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +2 -0
  205. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js.map +1 -0
  206. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TagsSection.js +2 -0
  207. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TagsSection.js.map +1 -0
  208. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +2 -0
  209. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js.map +1 -0
  210. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/sectionContent.js +2 -0
  211. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/sectionContent.js.map +1 -0
  212. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.js +2 -0
  213. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.js.map +1 -0
  214. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
  215. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +2 -0
  216. package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +2 -0
  217. package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +1 -0
  218. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DatePicker.js +2 -0
  219. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +2 -0
  220. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateSelector.js +2 -0
  221. package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +2 -0
  222. package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +2 -0
  223. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +2 -0
  224. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js.map +1 -0
  225. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +2 -0
  226. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +2 -0
  227. package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +2 -0
  228. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js +2 -0
  229. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +1 -0
  230. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js +2 -0
  231. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +1 -0
  232. package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +2 -0
  233. package/dist/cjs/ExecutiveDashboard/components/Graph/PlotBySelector.js +2 -0
  234. package/dist/cjs/ExecutiveDashboard/components/Graph/types.js.map +1 -0
  235. package/dist/cjs/ExecutiveDashboard/components/MetricCard/MetricCard.js +2 -0
  236. package/dist/cjs/ExecutiveDashboard/components/Table/FTable.js +2 -0
  237. package/dist/cjs/ExecutiveDashboard/components/Table/SortDropdown.js +2 -0
  238. package/dist/cjs/ExecutiveDashboard/components/Table/TableCard.js +2 -0
  239. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +2 -0
  240. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +1 -0
  241. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +2 -0
  242. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +1 -0
  243. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js +2 -0
  244. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +1 -0
  245. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +2 -0
  246. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +1 -0
  247. package/dist/cjs/ExecutiveDashboard/components/ui/chart.js +2 -0
  248. package/dist/cjs/ExecutiveDashboard/components/ui/utils.js.map +1 -0
  249. package/dist/cjs/ExecutiveDashboard/utils/index.js +2 -0
  250. package/dist/cjs/ExecutiveDashboard/utils/index.js.map +1 -0
  251. package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js +2 -0
  252. package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js.map +1 -0
  253. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js +2 -0
  254. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js.map +1 -0
  255. package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js +2 -0
  256. package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js.map +1 -0
  257. package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js +2 -0
  258. package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js.map +1 -0
  259. package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +2 -0
  260. package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +1 -0
  261. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +2 -0
  262. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +1 -0
  263. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +2 -0
  264. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +1 -0
  265. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +2 -0
  266. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +1 -0
  267. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +2 -0
  268. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +1 -0
  269. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +2 -0
  270. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +1 -0
  271. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +2 -0
  272. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +1 -0
  273. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +2 -0
  274. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +1 -0
  275. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +2 -0
  276. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +1 -0
  277. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +2 -0
  278. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +1 -0
  279. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +2 -0
  280. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +1 -0
  281. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +2 -0
  282. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +1 -0
  283. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +2 -0
  284. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +1 -0
  285. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +2 -0
  286. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +1 -0
  287. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +2 -0
  288. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +1 -0
  289. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +2 -0
  290. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +1 -0
  291. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +2 -0
  292. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +1 -0
  293. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +2 -0
  294. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +1 -0
  295. package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +2 -0
  296. package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +1 -0
  297. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +2 -0
  298. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +1 -0
  299. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +2 -0
  300. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +1 -0
  301. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +2 -0
  302. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +1 -0
  303. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +2 -0
  304. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +1 -0
  305. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +2 -0
  306. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +1 -0
  307. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +2 -0
  308. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +1 -0
  309. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +2 -0
  310. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +1 -0
  311. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js +2 -0
  312. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +1 -0
  313. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +2 -0
  314. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +1 -0
  315. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +2 -0
  316. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +1 -0
  317. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +2 -0
  318. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +1 -0
  319. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +2 -0
  320. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +1 -0
  321. package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js +2 -0
  322. package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js.map +1 -0
  323. package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +2 -0
  324. package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +1 -0
  325. package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js +2 -0
  326. package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js.map +1 -0
  327. package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +2 -0
  328. package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +1 -0
  329. package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +2 -0
  330. package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +1 -0
  331. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js +2 -0
  332. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +1 -0
  333. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +2 -0
  334. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +1 -0
  335. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js +2 -0
  336. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +1 -0
  337. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +2 -0
  338. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +1 -0
  339. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +2 -0
  340. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +1 -0
  341. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +2 -0
  342. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +1 -0
  343. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +2 -0
  344. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +1 -0
  345. package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +2 -0
  346. package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +1 -0
  347. package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js +2 -0
  348. package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js.map +1 -0
  349. package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js +2 -0
  350. package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js.map +1 -0
  351. package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js +2 -0
  352. package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js.map +1 -0
  353. package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js +2 -0
  354. package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +1 -0
  355. package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js +2 -0
  356. package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +1 -0
  357. package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js +2 -0
  358. package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js.map +1 -0
  359. package/dist/cjs/RecordDashboard/RecordUtils/index.js +2 -0
  360. package/dist/cjs/RecordDashboard/RecordUtils/index.js.map +1 -0
  361. package/dist/cjs/_virtual/_tslib.js +1 -1
  362. package/dist/cjs/index.js +1 -1
  363. package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js +9 -0
  364. package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  365. package/dist/cjs/node_modules/chart.js/auto/auto.js +2 -0
  366. package/dist/cjs/node_modules/chart.js/auto/auto.js.map +1 -0
  367. package/dist/cjs/node_modules/chart.js/dist/chart.js +8 -0
  368. package/dist/cjs/node_modules/chart.js/dist/chart.js.map +1 -0
  369. package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js +8 -0
  370. package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  371. package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +2 -0
  372. package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
  373. package/dist/cjs/styles.css +1 -1
  374. package/dist/index.js +1 -1
  375. package/dist/node_modules/@kurkle/color/dist/color.esm.js +8 -0
  376. package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  377. package/dist/node_modules/chart.js/auto/auto.js +2 -0
  378. package/dist/node_modules/chart.js/auto/auto.js.map +1 -0
  379. package/dist/node_modules/chart.js/dist/chart.js +8 -0
  380. package/dist/node_modules/chart.js/dist/chart.js.map +1 -0
  381. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +8 -0
  382. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  383. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +8 -0
  384. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
  385. package/dist/styles.css +1 -1
  386. package/dist/types/App.d.ts +0 -1
  387. package/dist/types/App.d.ts.map +1 -1
  388. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +4 -0
  389. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +1 -0
  390. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +2 -0
  391. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +1 -0
  392. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +30 -0
  393. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +1 -0
  394. package/dist/types/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.d.ts +9 -0
  395. package/dist/types/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.d.ts.map +1 -0
  396. package/dist/types/ExecutiveDashboard/components/DashboardCard/CardShell.d.ts +22 -0
  397. package/dist/types/ExecutiveDashboard/components/DashboardCard/CardShell.d.ts.map +1 -0
  398. package/dist/types/ExecutiveDashboard/components/DashboardCard/CenteredCell.d.ts +6 -0
  399. package/dist/types/ExecutiveDashboard/components/DashboardCard/CenteredCell.d.ts.map +1 -0
  400. package/dist/types/ExecutiveDashboard/components/DashboardCard/DashboardCard.d.ts +5 -0
  401. package/dist/types/ExecutiveDashboard/components/DashboardCard/DashboardCard.d.ts.map +1 -0
  402. package/dist/types/ExecutiveDashboard/components/DashboardCard/DetailRow.d.ts +9 -0
  403. package/dist/types/ExecutiveDashboard/components/DashboardCard/DetailRow.d.ts.map +1 -0
  404. package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts +3 -0
  405. package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts.map +1 -0
  406. package/dist/types/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.d.ts +6 -0
  407. package/dist/types/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.d.ts.map +1 -0
  408. package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts +3 -0
  409. package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +1 -0
  410. package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts +4 -0
  411. package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts.map +1 -0
  412. package/dist/types/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.d.ts +9 -0
  413. package/dist/types/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.d.ts.map +1 -0
  414. package/dist/types/ExecutiveDashboard/components/DashboardCard/SkeletonRow.d.ts +3 -0
  415. package/dist/types/ExecutiveDashboard/components/DashboardCard/SkeletonRow.d.ts.map +1 -0
  416. package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts +3 -0
  417. package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts.map +1 -0
  418. package/dist/types/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.d.ts +6 -0
  419. package/dist/types/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.d.ts.map +1 -0
  420. package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts +4 -0
  421. package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts.map +1 -0
  422. package/dist/types/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.d.ts +17 -0
  423. package/dist/types/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +1 -0
  424. package/dist/types/ExecutiveDashboard/components/DashboardCard/types.d.ts +156 -0
  425. package/dist/types/ExecutiveDashboard/components/DashboardCard/types.d.ts.map +1 -0
  426. package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.d.ts +2 -1
  427. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -0
  428. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +1 -0
  429. package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/datePreset.d.ts +12 -11
  430. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +1 -0
  431. package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +4 -0
  432. package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +1 -0
  433. package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts.map +1 -0
  434. package/dist/types/ExecutiveDashboard/components/DatePickers/DateRangeSelector.d.ts.map +1 -0
  435. package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +1 -0
  436. package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +1 -0
  437. package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +1 -0
  438. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +56 -0
  439. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +1 -0
  440. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -0
  441. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -0
  442. package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +1 -0
  443. package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts +11 -0
  444. package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts.map +1 -0
  445. package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts +10 -0
  446. package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +1 -0
  447. package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +1 -0
  448. package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts.map +1 -0
  449. package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +1 -0
  450. package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts +49 -0
  451. package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts.map +1 -0
  452. package/dist/types/{components → ExecutiveDashboard/components}/Table/FTable.d.ts +11 -10
  453. package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +1 -0
  454. package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +1 -0
  455. package/dist/types/{components → ExecutiveDashboard/components}/Table/TableCard.d.ts +2 -1
  456. package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts.map +1 -0
  457. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts +54 -0
  458. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts.map +1 -0
  459. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts +20 -0
  460. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts.map +1 -0
  461. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts +15 -0
  462. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts.map +1 -0
  463. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts +17 -0
  464. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts.map +1 -0
  465. package/dist/types/ExecutiveDashboard/components/ui/chart.d.ts.map +1 -0
  466. package/dist/types/ExecutiveDashboard/components/ui/utils.d.ts.map +1 -0
  467. package/dist/types/ExecutiveDashboard/constant/index.d.ts +5 -0
  468. package/dist/types/ExecutiveDashboard/constant/index.d.ts.map +1 -0
  469. package/dist/types/ExecutiveDashboard/types/index.d.ts +357 -0
  470. package/dist/types/ExecutiveDashboard/types/index.d.ts.map +1 -0
  471. package/dist/types/ExecutiveDashboard/utils/index.d.ts +65 -0
  472. package/dist/types/ExecutiveDashboard/utils/index.d.ts.map +1 -0
  473. package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts +4 -0
  474. package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts.map +1 -0
  475. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts +43 -0
  476. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts.map +1 -0
  477. package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts +16 -0
  478. package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts.map +1 -0
  479. package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts +31 -0
  480. package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts.map +1 -0
  481. package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts +20 -0
  482. package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts.map +1 -0
  483. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts +9 -0
  484. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts.map +1 -0
  485. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts +22 -0
  486. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts.map +1 -0
  487. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts +6 -0
  488. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts.map +1 -0
  489. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts +5 -0
  490. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts.map +1 -0
  491. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts +9 -0
  492. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts.map +1 -0
  493. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts +3 -0
  494. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts.map +1 -0
  495. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts +6 -0
  496. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts.map +1 -0
  497. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts +3 -0
  498. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +1 -0
  499. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +4 -0
  500. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts.map +1 -0
  501. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts +4 -0
  502. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts.map +1 -0
  503. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts +9 -0
  504. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts.map +1 -0
  505. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts +3 -0
  506. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts.map +1 -0
  507. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts +3 -0
  508. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts.map +1 -0
  509. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts +6 -0
  510. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts.map +1 -0
  511. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts +17 -0
  512. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts.map +1 -0
  513. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts +156 -0
  514. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts.map +1 -0
  515. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts +41 -0
  516. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts.map +1 -0
  517. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts +18 -0
  518. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts.map +1 -0
  519. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts +90 -0
  520. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts.map +1 -0
  521. package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +4 -0
  522. package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +1 -0
  523. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +10 -0
  524. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts.map +1 -0
  525. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts +20 -0
  526. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts.map +1 -0
  527. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts +19 -0
  528. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts.map +1 -0
  529. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts +17 -0
  530. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +1 -0
  531. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +16 -0
  532. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +1 -0
  533. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +12 -0
  534. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +1 -0
  535. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +34 -0
  536. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +1 -0
  537. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +4 -0
  538. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts.map +1 -0
  539. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts +11 -0
  540. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts.map +1 -0
  541. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts +10 -0
  542. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +1 -0
  543. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +25 -0
  544. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +1 -0
  545. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +17 -0
  546. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +1 -0
  547. package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts +217 -0
  548. package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts.map +1 -0
  549. package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts +49 -0
  550. package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts.map +1 -0
  551. package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts +84 -0
  552. package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts.map +1 -0
  553. package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts +9 -0
  554. package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts.map +1 -0
  555. package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts +28 -0
  556. package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts.map +1 -0
  557. package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts +70 -0
  558. package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts.map +1 -0
  559. package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts +13 -0
  560. package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts.map +1 -0
  561. package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts +43 -0
  562. package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts.map +1 -0
  563. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts +15 -0
  564. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts.map +1 -0
  565. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts +54 -0
  566. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts.map +1 -0
  567. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts +20 -0
  568. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts.map +1 -0
  569. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts +17 -0
  570. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts.map +1 -0
  571. package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts +53 -0
  572. package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts.map +1 -0
  573. package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts +72 -0
  574. package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts.map +1 -0
  575. package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts +7 -0
  576. package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts.map +1 -0
  577. package/dist/types/RecordDashboard/RecordConstant/index.d.ts +5 -0
  578. package/dist/types/RecordDashboard/RecordConstant/index.d.ts.map +1 -0
  579. package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts +7 -0
  580. package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +1 -0
  581. package/dist/types/RecordDashboard/RecordTypes/index.d.ts +965 -0
  582. package/dist/types/RecordDashboard/RecordTypes/index.d.ts.map +1 -0
  583. package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts +4 -0
  584. package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts.map +1 -0
  585. package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts +43 -0
  586. package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts.map +1 -0
  587. package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts +10 -0
  588. package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts.map +1 -0
  589. package/dist/types/RecordDashboard/RecordUtils/index.d.ts +65 -0
  590. package/dist/types/RecordDashboard/RecordUtils/index.d.ts.map +1 -0
  591. package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts +2 -0
  592. package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +1 -0
  593. package/dist/types/index.d.ts +74 -17
  594. package/dist/types/index.d.ts.map +1 -1
  595. package/package.json +11 -8
  596. package/dist/cjs/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
  597. package/dist/cjs/components/DashboardDateFilter/datePreset.js +0 -2
  598. package/dist/cjs/components/DatePickers/DatePicker.js +0 -2
  599. package/dist/cjs/components/DatePickers/DateRangeSelector.js +0 -2
  600. package/dist/cjs/components/DatePickers/DateSelector.js +0 -2
  601. package/dist/cjs/components/DropDowns/CustomMultiSelect.js +0 -2
  602. package/dist/cjs/components/DropDowns/CustomSingleSelect.js +0 -2
  603. package/dist/cjs/components/FiltersSidebar/CustomTextInput.js +0 -2
  604. package/dist/cjs/components/FiltersSidebar/FiltersSidebar.js +0 -2
  605. package/dist/cjs/components/Graph/Graph.js +0 -2
  606. package/dist/cjs/components/Graph/LineChart.js +0 -2
  607. package/dist/cjs/components/Graph/PlotBySelector.js +0 -2
  608. package/dist/cjs/components/MetricCard/MetricCard.js +0 -2
  609. package/dist/cjs/components/Table/FTable.js +0 -2
  610. package/dist/cjs/components/Table/SortDropdown.js +0 -2
  611. package/dist/cjs/components/Table/TableCard.js +0 -2
  612. package/dist/cjs/components/ui/chart.js +0 -2
  613. package/dist/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
  614. package/dist/components/DashboardDateFilter/datePreset.js +0 -2
  615. package/dist/components/DatePickers/DatePicker.js +0 -2
  616. package/dist/components/DatePickers/DateRangeSelector.js +0 -2
  617. package/dist/components/DatePickers/DateSelector.js +0 -2
  618. package/dist/components/DropDowns/CustomMultiSelect.js +0 -2
  619. package/dist/components/DropDowns/CustomSingleSelect.js +0 -2
  620. package/dist/components/FiltersSidebar/CustomTextInput.js +0 -2
  621. package/dist/components/FiltersSidebar/FiltersSidebar.js +0 -2
  622. package/dist/components/Graph/Graph.js +0 -2
  623. package/dist/components/Graph/LineChart.js +0 -2
  624. package/dist/components/Graph/PlotBySelector.js +0 -2
  625. package/dist/components/MetricCard/MetricCard.js +0 -2
  626. package/dist/components/Table/FTable.js +0 -2
  627. package/dist/components/Table/SortDropdown.js +0 -2
  628. package/dist/components/Table/TableCard.js +0 -2
  629. package/dist/components/ui/chart.js +0 -2
  630. package/dist/types/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +0 -1
  631. package/dist/types/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +0 -1
  632. package/dist/types/components/DashboardDateFilter/datePreset.d.ts.map +0 -1
  633. package/dist/types/components/DatePickers/DatePicker.d.ts.map +0 -1
  634. package/dist/types/components/DatePickers/DateRangeSelector.d.ts.map +0 -1
  635. package/dist/types/components/DatePickers/DateSelector.d.ts.map +0 -1
  636. package/dist/types/components/DropDowns/CustomMultiSelect.d.ts.map +0 -1
  637. package/dist/types/components/DropDowns/CustomSingleSelect.d.ts.map +0 -1
  638. package/dist/types/components/FiltersSidebar/CustomTextInput.d.ts.map +0 -1
  639. package/dist/types/components/FiltersSidebar/FiltersSidebar.d.ts.map +0 -1
  640. package/dist/types/components/Graph/Graph.d.ts.map +0 -1
  641. package/dist/types/components/Graph/LineChart.d.ts.map +0 -1
  642. package/dist/types/components/Graph/PlotBySelector.d.ts.map +0 -1
  643. package/dist/types/components/Graph/types.d.ts.map +0 -1
  644. package/dist/types/components/MetricCard/MetricCard.d.ts +0 -31
  645. package/dist/types/components/MetricCard/MetricCard.d.ts.map +0 -1
  646. package/dist/types/components/Table/FTable.d.ts.map +0 -1
  647. package/dist/types/components/Table/SortDropdown.d.ts.map +0 -1
  648. package/dist/types/components/Table/TableCard.d.ts.map +0 -1
  649. package/dist/types/components/ui/chart.d.ts.map +0 -1
  650. package/dist/types/components/ui/utils.d.ts.map +0 -1
  651. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
  652. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardDateFilter/datePreset.js.map +0 -0
  653. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DatePicker.js.map +0 -0
  654. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DateRangeSelector.js.map +0 -0
  655. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DateSelector.js.map +0 -0
  656. /package/dist/{cjs → ExecutiveDashboard}/components/DropDowns/CustomMultiSelect.js.map +0 -0
  657. /package/dist/{cjs → ExecutiveDashboard}/components/DropDowns/CustomSingleSelect.js.map +0 -0
  658. /package/dist/{cjs → ExecutiveDashboard}/components/FiltersSidebar/CustomTextInput.js.map +0 -0
  659. /package/dist/{cjs → ExecutiveDashboard}/components/FiltersSidebar/FiltersSidebar.js.map +0 -0
  660. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/Graph.js.map +0 -0
  661. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/LineChart.js.map +0 -0
  662. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/PlotBySelector.js.map +0 -0
  663. /package/dist/{components → ExecutiveDashboard/components}/Graph/types.js +0 -0
  664. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/types.js.map +0 -0
  665. /package/dist/{cjs → ExecutiveDashboard}/components/MetricCard/MetricCard.js.map +0 -0
  666. /package/dist/{cjs → ExecutiveDashboard}/components/Table/FTable.js.map +0 -0
  667. /package/dist/{cjs → ExecutiveDashboard}/components/Table/SortDropdown.js.map +0 -0
  668. /package/dist/{cjs → ExecutiveDashboard}/components/Table/TableCard.js.map +0 -0
  669. /package/dist/{cjs → ExecutiveDashboard}/components/ui/chart.js.map +0 -0
  670. /package/dist/{components → ExecutiveDashboard/components}/ui/utils.js +0 -0
  671. /package/dist/{cjs → ExecutiveDashboard}/components/ui/utils.js.map +0 -0
  672. /package/dist/{components → RecordDashboard/RecordComponents}/Graph/types.js.map +0 -0
  673. /package/dist/{components → RecordDashboard/RecordComponents}/ui/utils.js.map +0 -0
  674. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
  675. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardDateFilter/datePreset.js.map +0 -0
  676. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DatePicker.js.map +0 -0
  677. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DateRangeSelector.js.map +0 -0
  678. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DateSelector.js.map +0 -0
  679. /package/dist/{components → cjs/ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.js.map +0 -0
  680. /package/dist/{components → cjs/ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.js.map +0 -0
  681. /package/dist/{components → cjs/ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.js.map +0 -0
  682. /package/dist/{components → cjs/ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.js.map +0 -0
  683. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/Graph.js.map +0 -0
  684. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/LineChart.js.map +0 -0
  685. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/PlotBySelector.js.map +0 -0
  686. /package/dist/cjs/{components → ExecutiveDashboard/components}/Graph/types.js +0 -0
  687. /package/dist/{components → cjs/ExecutiveDashboard/components}/MetricCard/MetricCard.js.map +0 -0
  688. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/FTable.js.map +0 -0
  689. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/SortDropdown.js.map +0 -0
  690. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/TableCard.js.map +0 -0
  691. /package/dist/{components → cjs/ExecutiveDashboard/components}/ui/chart.js.map +0 -0
  692. /package/dist/cjs/{components → ExecutiveDashboard/components}/ui/utils.js +0 -0
  693. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.types.d.ts +0 -0
  694. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DatePicker.d.ts +0 -0
  695. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DateRangeSelector.d.ts +0 -0
  696. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DateSelector.d.ts +0 -0
  697. /package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.d.ts +0 -0
  698. /package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.d.ts +0 -0
  699. /package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.d.ts +0 -0
  700. /package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.d.ts +0 -0
  701. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/Graph.d.ts +0 -0
  702. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/LineChart.d.ts +0 -0
  703. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/PlotBySelector.d.ts +0 -0
  704. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/types.d.ts +0 -0
  705. /package/dist/types/{components → ExecutiveDashboard/components}/Table/SortDropdown.d.ts +0 -0
  706. /package/dist/types/{components → ExecutiveDashboard/components}/ui/chart.d.ts +0 -0
  707. /package/dist/types/{components → ExecutiveDashboard/components}/ui/utils.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableGrid.d.ts","sourceRoot":"","sources":["../../../../../../src/ExecutiveDashboard/components/Table/TableGrid/TableGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAA0B,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAE,SAAS,EAA2B,MAAM,SAAS,CAAC;AAE7D,OAAO,iBAAiB,CAAC;AAEzB,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,M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 /** A uniform column count, or the host-configured per-table layout. */
3
+ export type TableLayoutMode = number | "custom";
4
+ export interface TableLayoutToggleProps {
5
+ /** Currently selected layout. */
6
+ value: TableLayoutMode;
7
+ /** Layouts offered as buttons. */
8
+ options: TableLayoutMode[];
9
+ onChange: (mode: TableLayoutMode) => void;
10
+ /**
11
+ * Largest column count the container can currently hold — options above it
12
+ * are still clickable (the choice is remembered) but marked as not fitting.
13
+ */
14
+ maxFitting?: number;
15
+ label?: string;
16
+ className?: string;
17
+ style?: React.CSSProperties;
18
+ }
19
+ export default function TableLayoutToggle({ value, options, onChange, maxFitting, label, className, style, }: TableLayoutToggleProps): import("react/jsx-runtime").JSX.Element | null;
20
+ //# sourceMappingURL=TableLayoutToggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableLayoutToggle.d.ts","sourceRoot":"","sources":["../../../../../../src/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,uEAAuE;AACvE,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEhD,MAAM,WAAW,sBAAsB;IACrC,iCAAiC;IACjC,KAAK,EAAE,eAAe,CAAC;IACvB,kCAAkC;IAClC,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,QAAQ,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC1C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAwBD,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,KAAK,EACL,OAAO,EACP,QAAQ,EACR,UAAU,EACV,KAAK,EACL,SAAS,EACT,KAAK,GACN,EAAE,sBAAsB,kDAgCxB"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * How wide one table sits in the grid. Either a fraction of the row
3
+ * (`"full"`, `"1/2"`, `"2/3"`, … — any `"a/b"` works) or a raw column count in
4
+ * `totalColumns` units (12 by default, so `6` is half a row).
5
+ */
6
+ export type TableSpan = number | string;
7
+ /** Resolves a configured span to whole grid columns. Returns null if unusable. */
8
+ export declare function resolveSpan(span: TableSpan | undefined, totalColumns: number): number | null;
9
+ /**
10
+ * Narrowest span allowed at the current width. A row can hold at most
11
+ * `maxPerRow` cards, so nothing may be thinner than one such slot — this is
12
+ * what widens a configured half-width table to full width on a narrow screen.
13
+ */
14
+ export declare function minSpanFor(totalColumns: number, maxPerRow: number): number;
15
+ //# sourceMappingURL=spans.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spans.d.ts","sourceRoot":"","sources":["../../../../../../src/ExecutiveDashboard/components/Table/TableGrid/spans.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAIxC,kFAAkF;AAClF,wBAAgB,WAAW,CACzB,IAAI,EAAE,SAAS,GAAG,SAAS,EAC3B,YAAY,EAAE,MAAM,GACnB,MAAM,GAAG,IAAI,CA4Bf;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,YAAY,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAE1E"}
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ export interface ResponsiveColumns {
3
+ /** Columns that actually fit right now — always <= `desired`, never < 1. */
4
+ columns: number;
5
+ /** Most columns the current width can hold at `minColumnWidth`. */
6
+ maxFitting: number;
7
+ /** Measured container width, or null before the first measurement. */
8
+ width: number | null;
9
+ }
10
+ /**
11
+ * Watches an element's width and caps a desired column count to what actually
12
+ * fits, so the grid reflows on container resize (not just viewport resize —
13
+ * this component is embedded in host apps where the two differ).
14
+ */
15
+ export declare function useResponsiveColumns(desired: number, minColumnWidth: number, gap: number): [React.RefObject<HTMLDivElement>, ResponsiveColumns];
16
+ export default useResponsiveColumns;
17
+ //# sourceMappingURL=useResponsiveColumns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useResponsiveColumns.d.ts","sourceRoot":"","sources":["../../../../../../src/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.ts"],"names":[],"mappings":";AAMA,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,OAAO,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,UAAU,EAAE,MAAM,CAAC;IACnB,sEAAsE;IACtE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,GAAG,EAAE,MAAM,GACV,CAAC,KAAK,CAAC,SAAS,CAAC,cAAc,CAAC,EAAE,iBAAiB,CAAC,CAgEtD;AAED,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/ui/chart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,UAAU,CAAC;AAE9C,OAAO,aAAa,CAAC;AAErB;;;;;;;;;;;GAWG;AAEH,MAAM,MAAM,WAAW,GAAG;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;QACxB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH,CAAC;AAEF,KAAK,iBAAiB,GAAG;IAAE,MAAM,EAAE,WAAW,CAAA;CAAE,CAAC;AAIjD,wBAAgB,QAAQ,sBAMvB;AAID,eAAO,MAAM,cAAc;YAGf,WAAW;cACT,MAAM,cAAc,CAC5B,OAAO,kBAAkB,mBAAmB,CAC7C,CAAC,UAAU,CAAC;gDAqBf,CAAC;AAwBH,eAAO,MAAM,YAAY,kCAA4B,CAAC;AAEtD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;YAKpB,GAAG;;;;;;;8BAOc,GAAG,WAAW,WAAW,EAAE,KAAK,MAAM,SAAS;yBAE/D,GAAG,QACJ,GAAG,QACH,WAAW,SACV,MAAM,WACJ,GAAG,KACT,MAAM,SAAS;IACpB,qDAAqD;6CACZ,GAAG,QAAQ,WAAW,KAAK,MAAM,SAAS;gDAqHtF,CAAC;AAKF,eAAO,MAAM,WAAW,iCAA2B,CAAC;AAEpD,KAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;IAQ3B,yDAAyD;yBACrC,MAAM,KAAK,IAAI;;gDAyFtC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/ExecutiveDashboard/components/ui/utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,EAAE,CAAC,GAAG,OAAO,EAAE,KAAK,CAAC,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC,GAAG,MAAM,CAE/E"}
@@ -0,0 +1,5 @@
1
+ import { DashboardApiConfig } from "../api/dashboardApi";
2
+ import { DashboardDataResponse, DashboardQueryParams, FetchUIConfig } from "../types";
3
+ export declare const fetchUIConfigMock: FetchUIConfig;
4
+ export declare function fetchDashboardDataMock(_config: DashboardApiConfig, _params: DashboardQueryParams, _signal?: AbortSignal): Promise<DashboardDataResponse>;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ExecutiveDashboard/constant/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EACH,qBAAqB,EACrB,oBAAoB,EAIpB,aAAa,EACd,MAAM,UAAU,CAAC;AAqPlB,eAAO,MAAM,iBAAiB,EAAE,aAG/B,CAAC;AAsDF,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,kBAAkB,EAC3B,OAAO,EAAE,oBAAoB,EAC7B,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,qBAAqB,CAAC,CAGhC"}
@@ -0,0 +1,357 @@
1
+ /// <reference types="react" />
2
+ import type { KpiValueObject } from "../utils";
3
+ import type { FTableColumn } from "../components/Table/FTable";
4
+ import type { TableSpan } from "../components/Table/TableGrid/spans";
5
+ import type { TableLayoutMode } from "../components/Table/TableGrid/TableLayoutToggle";
6
+ export type { TableSpan, TableLayoutMode };
7
+ /**
8
+ * A re-orderable dashboard section, named by the key it arrives under in the UI
9
+ * config payload — pass whatever key you already have.
10
+ *
11
+ * The listed literals are today's sections (for editor autocomplete); the
12
+ * `(string & {})` arm keeps any future section key valid without a type change.
13
+ *
14
+ * `dateFilters` and `sidebarFilters` have a fixed position — the date bar is
15
+ * pinned to the top, the filters sidebar is an overlay — so `sectionOrder`
16
+ * ignores them. `hiddenSections` still hides them.
17
+ *
18
+ * Matching is case-insensitive and ignores spaces/underscores/dashes. Anything
19
+ * unrecognized is ignored (with a dev-mode console warning) rather than
20
+ * throwing, since these lists are usually config-driven.
21
+ */
22
+ export type DashboardSectionKey = "graphBuilder" | "kpiCards" | "tableBuilder" | "dateFilters" | "sidebarFilters" | (string & {});
23
+ export interface DashboardContainerProps {
24
+ /** Identifies which dashboard config to load. Sent to every API call. */
25
+ configId: string;
26
+ /** Defaults to https://dev.appmod.ai — override for other environments. */
27
+ baseUrl?: string;
28
+ /**
29
+ * API #1 - "UI API". Called once on mount. Returns structure/labels:
30
+ * graph tier + plot-option definitions, kpi card titles, sidebar filter
31
+ * definitions, date presets. Defaults to the built-in fetcher that hits
32
+ * `POST /federated/filters/ui` (+ `/distinct-value`) against `baseUrl`.
33
+ */
34
+ fetchUIConfig?: FetchUIConfig;
35
+ /**
36
+ * API #2 - "Data API". Called on mount and again whenever the date range
37
+ * or the applied filters change. Returns the numeric graph series and kpi
38
+ * card values. Defaults to the built-in fetcher that hits
39
+ * `POST /federated/filters/get-data` against `baseUrl`.
40
+ */
41
+ fetchDashboardData?: FetchDashboardData;
42
+ /**
43
+ * Optional table pagination fetcher. It is called when a table card is
44
+ * expanded and again as the user reaches the bottom of that table.
45
+ */
46
+ fetchTableData?: FetchTableData;
47
+ /** Optional overrides so the parent can control the initial range. */
48
+ initialStartDate?: Date;
49
+ initialEndDate?: Date;
50
+ /** Fired whenever the resolved date range changes (after DashboardDateFilter). */
51
+ onDateChange?: (payload: any) => void;
52
+ /** Fired after filters are applied via the sidebar. */
53
+ onFiltersApplied?: (filters: Record<string, string | string[]>) => void;
54
+ /** Custom loading / error renderers so the parent controls the UX fully. */
55
+ renderLoading?: () => React.ReactNode;
56
+ renderError?: (error: Error, retry: () => void) => React.ReactNode;
57
+ /**
58
+ * Node shown inside the graph when no series have data. When omitted a
59
+ * built-in default empty state is rendered.
60
+ */
61
+ graphEmptyState?: React.ReactNode;
62
+ /**
63
+ * Per-table rendering supplied by the host app, keyed by the table `key`
64
+ * from the UI config's `tableBuilder`. Each entry describes how that table's
65
+ * columns render (custom `body` JSX, headers, styles) plus raw PrimeReact
66
+ * `tableProps`. Optional and partial: any table without an entry falls back
67
+ * to auto-generated plain-text columns derived from `tableBuilder`.
68
+ */
69
+ tables?: DashboardTablesConfig;
70
+ /**
71
+ * Grid layout for the tables section (how many tables sit side by side and
72
+ * which options the toolbar offers). Always responsive — see
73
+ * `minColumnWidth`. Optional; sensible defaults apply.
74
+ */
75
+ tableLayout?: DashboardTableLayoutConfig;
76
+ /**
77
+ * Vertical order of the sections, using the keys from the UI config — e.g.
78
+ * `["tableBuilder", "kpiCards", "graphBuilder"]` puts the tables on top.
79
+ *
80
+ * Partial lists are fine: anything omitted is appended in its default
81
+ * position, so `["tableBuilder"]` alone means "tables first, then the rest as
82
+ * usual". Any section the API grows later is orderable by its key too.
83
+ *
84
+ * The date filter bar stays pinned at the top and the filters sidebar stays
85
+ * an overlay — neither can be re-ordered (but both can be hidden).
86
+ */
87
+ sectionOrder?: DashboardSectionKey[];
88
+ /**
89
+ * Parts to leave out entirely, e.g. `["tableBuilder", "dateFilters"]`.
90
+ * Applied after `sectionOrder`, so hiding always wins.
91
+ *
92
+ * Unlike `sectionOrder`, this accepts the pinned parts too: `dateFilters`
93
+ * removes the date filter bar and `sidebarFilters` removes the filters
94
+ * sidebar (along with the button that opens it).
95
+ */
96
+ hiddenSections?: DashboardSectionKey[];
97
+ }
98
+ /** Toolbar + grid behaviour for the tables section. */
99
+ export interface DashboardTableLayoutConfig {
100
+ /**
101
+ * Per-table width, so the host can lay the section out table by table —
102
+ * e.g. `{ table_one: "full", table_two: "1/2", table_three: "1/2" }` puts
103
+ * the first table on its own row and the next two side by side. Keys are
104
+ * `tableBuilder[].key`; an array is read by table order instead. Values are
105
+ * a fraction of the row (`"full"`, `"1/2"`, `"1/3"`, `"2/3"`, any `"a/b"`)
106
+ * or a raw column count in `totalColumns` units.
107
+ *
108
+ * Still responsive: a table never renders narrower than `minColumnWidth`, so
109
+ * `"1/2"` becomes a full row once the container can't fit two side by side.
110
+ */
111
+ spans?: Record<string, TableSpan> | TableSpan[];
112
+ /** Grid columns the `spans` values are expressed in. Default `12`. */
113
+ totalColumns?: number;
114
+ /** Width for tables missing from `spans`. Default: full width. */
115
+ defaultSpan?: TableSpan;
116
+ /** Column counts offered as toolbar icons. Default `[1, 2, 3]`. */
117
+ options?: number[];
118
+ /**
119
+ * Layout selected on first render — a column count, or `"custom"` for the
120
+ * `spans` layout. Defaults to `"custom"` when `spans` is set, else `1`.
121
+ */
122
+ defaultColumns?: TableLayoutMode;
123
+ /** Controlled layout — pass with `onColumnsChange` to own the state. */
124
+ columns?: TableLayoutMode;
125
+ onColumnsChange?: (columns: TableLayoutMode) => void;
126
+ /** Hide the toggle and keep whatever column count is configured. Default `true`. */
127
+ showToggle?: boolean;
128
+ /** Optional caption rendered left of the toggle (e.g. "Layout"). */
129
+ toggleLabel?: string;
130
+ /**
131
+ * Narrowest a table card may become before a column is dropped. This is what
132
+ * keeps a chosen layout responsive: pick 3-up and the grid falls back to
133
+ * 2-up, then 1-up, as the container narrows. Default `380`.
134
+ */
135
+ minColumnWidth?: number;
136
+ /** Gap between cards in px. Default `12`. */
137
+ gap?: number;
138
+ /**
139
+ * Stretch every card in a row to the tallest one, so two tables sitting side
140
+ * by side end up the same height even with different row counts. Set `false`
141
+ * to let each card hug its own content. Default `true`.
142
+ */
143
+ equalHeights?: boolean;
144
+ }
145
+ /** Per-table styling for the surrounding TableCard chrome (icon + title + shell). */
146
+ export interface DashboardTableCardStyles {
147
+ /** The card shell — set `width` here to size the whole card (see note below). */
148
+ root?: React.CSSProperties;
149
+ /** The header row that holds the icon, title, search and expand controls. */
150
+ header?: React.CSSProperties;
151
+ /** The title text — padding, font, colour, etc. */
152
+ title?: React.CSSProperties;
153
+ /** Icon appearance. `size`/`color` are applied to the glyph itself. */
154
+ icon?: {
155
+ /** Glyph size in px. */
156
+ size?: number;
157
+ /** Glyph colour. */
158
+ color?: string;
159
+ /** Background of the icon container (rendered as a rounded chip). */
160
+ background?: string;
161
+ /** Escape hatch for any other icon-container CSS (padding, radius, …). */
162
+ style?: React.CSSProperties;
163
+ };
164
+ }
165
+ export interface DashboardTableRenderConfig {
166
+ /** Passthrough props merged onto the underlying PrimeReact DataTable. */
167
+ tableProps?: Record<string, any>;
168
+ /** Column render definitions (header, style, `body` render fn). */
169
+ columns: FTableColumn[];
170
+ /**
171
+ * Styling for the card wrapping this table (icon, title, shell).
172
+ * To resize a table set `card.root.width` — that sizes the whole card and
173
+ * the table fills it; sizing only the table leaves the card full-width.
174
+ */
175
+ card?: DashboardTableCardStyles;
176
+ }
177
+ /** Host-supplied table rendering, keyed by `tableBuilder[].key`. */
178
+ export type DashboardTablesConfig = Record<string, DashboardTableRenderConfig>;
179
+ export interface TableColumnConfig {
180
+ key: string;
181
+ label: string;
182
+ columnName: string[];
183
+ description?: string;
184
+ }
185
+ export interface TableBuilderConfig {
186
+ key: string;
187
+ icon?: string;
188
+ title?: string;
189
+ rowLimit?: number;
190
+ showRankColumn?: boolean;
191
+ columns: TableColumnConfig[];
192
+ generatedSql?: string;
193
+ }
194
+ export interface DataPoint {
195
+ x: string;
196
+ y: number;
197
+ }
198
+ export interface SidebarFilterOption {
199
+ label: string;
200
+ value: string;
201
+ }
202
+ export interface DatePresetConfig {
203
+ key: string;
204
+ }
205
+ export interface DashboardUIConfig {
206
+ success: boolean;
207
+ request_id: string;
208
+ data: DashboardUIData;
209
+ error: string | null;
210
+ }
211
+ export interface DashboardUIData {
212
+ dateFilters: DateFiltersConfig;
213
+ sidebarFilters: SidebarFilterConfig[];
214
+ graphBuilder: GraphBuilderConfig;
215
+ kpiCards: KpiCardConfig[];
216
+ tableBuilder?: TableBuilderConfig[];
217
+ /**
218
+ * Optional config-driven section order, using this payload's own keys.
219
+ * Overridden by the `sectionOrder` prop when both are present.
220
+ */
221
+ sectionOrder?: DashboardSectionKey[];
222
+ }
223
+ export interface DateFiltersConfig {
224
+ datepresets: string[];
225
+ defaultPreset: string;
226
+ showFilterButton: "yes" | "no";
227
+ showFilterCount: "yes" | "no";
228
+ showLiveButton: "yes" | "no";
229
+ liveDurationMs: number;
230
+ }
231
+ export interface SidebarFilterConfig {
232
+ label: string;
233
+ description: string;
234
+ schemaFilterName: string;
235
+ type: string;
236
+ }
237
+ export interface GraphBuilderConfig {
238
+ title: string;
239
+ subtitle: string;
240
+ icon: string;
241
+ styles: string;
242
+ axis: {
243
+ xAxisLabel: string;
244
+ };
245
+ tiers: GraphTierConfig[];
246
+ legend: LegendConfig;
247
+ }
248
+ export interface GraphTierConfig {
249
+ key: string;
250
+ title: string;
251
+ displayOrder: number;
252
+ plotOptions: PlotOptionConfig[];
253
+ yAxis: {
254
+ maxValue: number | null;
255
+ beginAtZero: "yes" | "no";
256
+ };
257
+ series: SeriesConfig[];
258
+ }
259
+ export interface PlotOptionConfig {
260
+ label: string;
261
+ value: string;
262
+ yAxisLabel: string;
263
+ format: string;
264
+ generatedSql: string;
265
+ displayOrder: number;
266
+ }
267
+ export interface SeriesConfig {
268
+ key: string;
269
+ name: string;
270
+ color: string;
271
+ style: string;
272
+ curveType: string;
273
+ areaFill: "yes" | "no";
274
+ areaOpacity: string;
275
+ strokeWidth: string;
276
+ showPoints: "yes" | "no";
277
+ pointRadius: string;
278
+ columnName: string[];
279
+ description: string;
280
+ generatedSql: string;
281
+ displayOrder: number;
282
+ }
283
+ export interface LegendConfig {
284
+ showLegends: "yes" | "no";
285
+ position: "top" | "bottom";
286
+ allowToggle: "yes" | "no";
287
+ alignment: "start" | "center" | "end";
288
+ }
289
+ export interface KpiCardConfig {
290
+ title: string;
291
+ subtitle: string;
292
+ valueFormat: string;
293
+ indicatorLogic: string;
294
+ icon: string;
295
+ columnName: string[];
296
+ description: string;
297
+ generatedSql: string;
298
+ displayOrder: number;
299
+ }
300
+ export interface DataPoint {
301
+ x: string;
302
+ y: number;
303
+ }
304
+ export interface SeriesDataMap {
305
+ [seriesKey: string]: DataPoint[];
306
+ }
307
+ export interface PlotByOptions {
308
+ [plotOptionKey: string]: SeriesDataMap;
309
+ }
310
+ export interface TierData {
311
+ key: string;
312
+ plotbyoptions: PlotByOptions;
313
+ series?: SeriesConfig[];
314
+ }
315
+ export interface DashboardDataResponse {
316
+ graph: {
317
+ [graphKey: string]: TierData[];
318
+ };
319
+ kpiCards: {
320
+ /**
321
+ * Either the legacy bare value, or `{ currentValue, baselineValue }`
322
+ * where a baseline is available for indicator colouring.
323
+ */
324
+ [kpiId: string]: string | number | KpiValueObject;
325
+ };
326
+ /** Row arrays keyed by `tableBuilder[].key`. */
327
+ table?: {
328
+ [tableKey: string]: Record<string, any>[];
329
+ };
330
+ }
331
+ /** A single cursor-paginated response from /federated/filters/table-data. */
332
+ export interface TableDataResponse {
333
+ table: {
334
+ [tableKey: string]: Record<string, any>[];
335
+ };
336
+ count: number;
337
+ hasNext: boolean;
338
+ nextCursor?: string | null;
339
+ }
340
+ export interface DashboardQueryParams {
341
+ startDate?: Date;
342
+ endDate?: Date;
343
+ filters?: Record<string, string | string[]>;
344
+ }
345
+ /** Identifies the dashboard config + the API origin for every request. */
346
+ export interface DashboardApiConfig {
347
+ configId: string;
348
+ baseUrl?: string;
349
+ }
350
+ export type FetchUIConfig = (config: DashboardApiConfig, signal?: AbortSignal) => Promise<DashboardUIConfig>;
351
+ export type FetchDashboardData = (config: DashboardApiConfig, params: DashboardQueryParams, signal?: AbortSignal) => Promise<DashboardDataResponse>;
352
+ export type FetchTableData = (config: DashboardApiConfig, params: DashboardQueryParams & {
353
+ tableKey: string;
354
+ pageSize?: number;
355
+ cursor?: string;
356
+ }, signal?: AbortSignal) => Promise<TableDataResponse>;
357
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ExecutiveDashboard/types/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAA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AG,MAAM,EAAE,CAAC,CAAC;CAC7C;AAGD,0EAA0E;AAC1E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,aAAa,GAAG,CAC1B,MAAM,EAAE,kBAAkB,EAC1B,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEhC,MAAM,MAAM,kBAAkB,GAAG,CAC/B,MAAM,EAAE,kBAAkB,EAC1B,MAAM,EAAE,oBAAoB,EAC5B,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,qBAAqB,CAAC,CAAC;AAEpC,MAAM,MAAM,cAAc,GAAG,CAC3B,MAAM,EAAE,kBAAkB,EAC1B,MAAM,EAAE,oBAAoB,GAAG;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,EACD,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,iBAAiB,CAAC,CAAC"}
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Turn a raw number into a short, axis-friendly string: 1_500_000 -> "1.5M",
3
+ * 900_000 -> "900K", 42 -> "42", -1_250 -> "-1.3K".
4
+ *
5
+ * Edge cases handled:
6
+ * - Non-finite inputs (NaN, ±Infinity) return "" instead of "NaN"/"InfinityT".
7
+ * - Sign is preserved for negatives.
8
+ * - Rounding roll-over is promoted to the next unit so 999_999 reads "1M"
9
+ * rather than "1000K".
10
+ */
11
+ export declare function compactNumber(num: number): string;
12
+ /** Whether a rising value is good, bad, or carries no judgement. */
13
+ export type IndicatorLogic = "higher_better" | "lower_better" | "neutral";
14
+ export type KpiSentiment = "positive" | "negative" | "neutral";
15
+ /**
16
+ * New KPI payload shape: the API sends the current value alongside the
17
+ * comparison baseline (previous period) so the card can judge direction.
18
+ * The older shape — a bare `string | number` — is still supported everywhere.
19
+ */
20
+ export interface KpiValueObject {
21
+ currentValue: number | string | null;
22
+ baselineValue?: number | string | null;
23
+ }
24
+ export declare function isKpiValueObject(rawValue: unknown): rawValue is KpiValueObject;
25
+ /**
26
+ * Compare a KPI against its baseline and say whether the movement is good.
27
+ *
28
+ * Returns "neutral" — never a colour-worthy verdict — whenever the comparison
29
+ * would be meaningless: no baseline, unparseable numbers, an explicitly
30
+ * neutral indicator, or no change at all.
31
+ */
32
+ export declare function getKpiSentiment(currentValue: unknown, baselineValue: unknown, indicatorLogic?: string): KpiSentiment;
33
+ /**
34
+ * Colours chosen for >=3:1 contrast on a light card at the value's size
35
+ * (25px/700, which counts as large text).
36
+ */
37
+ export declare const KPI_SENTIMENT_COLORS: Record<Exclude<KpiSentiment, "neutral">, string>;
38
+ /**
39
+ * Resolve the colour for a KPI value. Returns `undefined` for the neutral case
40
+ * so the value inherits its normal stylesheet colour rather than being pinned
41
+ * to a hardcoded black.
42
+ */
43
+ export declare function getKpiValueColor(currentValue: unknown, baselineValue: unknown, indicatorLogic?: string, overrides?: Partial<Record<Exclude<KpiSentiment, "neutral">, string>>): string | undefined;
44
+ export interface KpiDelta {
45
+ /** Signed percentage change vs baseline, e.g. -75.18 for 22.1M -> 5.5M. */
46
+ percent: number;
47
+ /** Which way the raw number moved. Independent of whether that is good. */
48
+ direction: "up" | "down" | "flat";
49
+ /** Whether that movement is good, per the indicator logic. */
50
+ sentiment: KpiSentiment;
51
+ /** Magnitude formatted for display, e.g. "75.2%". Sign lives in `direction`. */
52
+ label: string;
53
+ }
54
+ /**
55
+ * Percentage change from baseline to current.
56
+ *
57
+ * Returns undefined when the change cannot be expressed as a percentage:
58
+ * missing/unparseable numbers, or a baseline of 0 (any move off zero is an
59
+ * infinite percentage — showing "Infinity%" or "100%" would both be lies).
60
+ * A zero-change KPI is still returned, as a "flat" 0% with neutral sentiment.
61
+ */
62
+ export declare function getKpiDelta(currentValue: unknown, baselineValue: unknown, indicatorLogic?: string): KpiDelta | undefined;
63
+ export declare function formatKpiValue(rawValue: unknown, valueFormat?: string): string;
64
+ export declare function getActiveFilterCount(filters: Record<string, string | string[]>): number;
65
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ExecutiveDashboard/utils/index.ts"],"names":[],"mappings":"AAiBA;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CA+BjD;AAED,oEAAoE;AACpE,MAAM,MAAM,cAAc,GAAG,eAAe,GAAG,cAAc,GAAG,SAAS,CAAC;AAE1E,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,CAAC;AAE/D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACxC;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,cAAc,CAO9E;AASD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,YAAY,EAAE,OAAO,EACrB,aAAa,EAAE,OAAO,EACtB,cAAc,CAAC,EAAE,MAAM,GACtB,YAAY,CAcd;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CACvC,OAAO,CAAC,YAAY,EAAE,SAAS,CAAC,EAChC,MAAM,CAIP,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,YAAY,EAAE,OAAO,EACrB,aAAa,EAAE,OAAO,EACtB,cAAc,CAAC,EAAE,MAAM,EACvB,SAAS,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,YAAY,EAAE,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC,GACpE,MAAM,GAAG,SAAS,CAIpB;AAED,MAAM,WAAW,QAAQ;IACvB,2EAA2E;IAC3E,OAAO,EAAE,MAAM,CAAC;IAChB,2EAA2E;IAC3E,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAClC,8DAA8D;IAC9D,SAAS,EAAE,YAAY,CAAC;IACxB,gFAAgF;IAChF,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CACzB,YAAY,EAAE,OAAO,EACrB,aAAa,EAAE,OAAO,EACtB,cAAc,CAAC,EAAE,MAAM,GACtB,QAAQ,GAAG,SAAS,CAsBtB;AAED,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,OAAO,EACjB,WAAW,CAAC,EAAE,MAAM,GACnB,MAAM,CAqCR;AAEC,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC,GACzC,MAAM,CAKR"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ export declare const ICON_MAP: Record<string, React.ReactNode>;
3
+ export declare function getKpiIcon(iconKey?: string): React.ReactNode | undefined;
4
+ //# sourceMappingURL=kpiIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kpiIcon.d.ts","sourceRoot":"","sources":["../../../../src/ExecutiveDashboard/utils/kpiIcon.tsx"],"names":[],"mappings":"AA0HA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAuHpD,CAAC;AAEF,wBAAgB,UAAU,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,GAAG,SAAS,CAGxE"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Sections the host can re-order, in default render order. These are exactly
3
+ * the keys the sections arrive under in the UI config payload, so a caller
4
+ * passes whatever key it already has.
5
+ *
6
+ * `dateFilters` and `sidebarFilters` are deliberately absent: their position is
7
+ * fixed (top bar / overlay). They can still be hidden — see
8
+ * `PINNED_SECTION_KEYS` and `isSectionHidden`.
9
+ *
10
+ * When the backend grows a new section, adding its renderer to the
11
+ * `sectionNodes` map in `ExecutiveDashboard` is enough — ordering then works for
12
+ * that key with no change here. This constant is the standalone default; the
13
+ * dashboard passes its own map keys so the two can't drift.
14
+ */
15
+ export declare const DASHBOARD_SECTION_KEYS: string[];
16
+ /**
17
+ * Parts whose position is fixed: the date filter bar is pinned to the top and
18
+ * the filters sidebar is an overlay. Passing them in `sectionOrder` is a no-op,
19
+ * but `hiddenSections` still hides them.
20
+ */
21
+ export declare const PINNED_SECTION_KEYS: string[];
22
+ /**
23
+ * Is `key` listed in a `hiddenSections`-style list? Works for any key, which is
24
+ * how the pinned parts get hidden — they never appear in the resolved order, so
25
+ * the dashboard checks them directly.
26
+ */
27
+ export declare function isSectionHidden(hidden: unknown, key: string): boolean;
28
+ /**
29
+ * Resolves the order the dashboard sections render in.
30
+ *
31
+ * - `order` is the host's list; it wins over `configOrder` from the API payload.
32
+ * - Partial lists are fine — anything not listed is appended in `available`
33
+ * order, so `["tableBuilder"]` means "tables first, then the rest as usual".
34
+ * - `hidden` drops sections, applied last.
35
+ * - Names match case-insensitively and ignore spaces/underscores/dashes.
36
+ * - `dateFilters` / `sidebarFilters` are accepted and ignored (both are pinned),
37
+ * so the config's key list can be passed verbatim.
38
+ * - Unknown names are ignored rather than throwing, since these lists are
39
+ * config-driven. `available` comes from the dashboard's section map, so a
40
+ * newly added section is orderable the moment it can render.
41
+ */
42
+ export declare function resolveSectionOrder(order?: unknown, hidden?: unknown, configOrder?: unknown, available?: string[]): string[];
43
+ //# sourceMappingURL=sectionOrder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sectionOrder.d.ts","sourceRoot":"","sources":["../../../../src/ExecutiveDashboard/utils/sectionOrder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,UAIlC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,UAAoC,CAAC;AASrE;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAIrE;AAqDD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,CAAC,EAAE,OAAO,EACf,MAAM,CAAC,EAAE,OAAO,EAChB,WAAW,CAAC,EAAE,OAAO,EACrB,SAAS,GAAE,MAAM,EAA2B,GAC3C,MAAM,EAAE,CAYV"}
@@ -0,0 +1,16 @@
1
+ import type { FTableColumn, TableRow } from "../components/Table/FTable";
2
+ import type { DashboardTableRenderConfig, TableBuilderConfig } from "../types";
3
+ /**
4
+ * FTable keys rows by `id` (`dataKey="id"`), which the data API rows don't
5
+ * carry. Inject a stable synthetic `id` (falling back to the array index) plus
6
+ * a 1-based `__rank` for the optional rank column. Existing `id` values are
7
+ * preserved.
8
+ */
9
+ export declare function withRowIds(rows?: TableRow[]): TableRow[];
10
+ /**
11
+ * Build the final column list for a table: an optional rank column (per
12
+ * `tableBuilder.showRankColumn`) followed by either the host app's columns
13
+ * or the auto-generated fallback when none were supplied.
14
+ */
15
+ export declare function buildColumns(cfg: TableBuilderConfig, render?: DashboardTableRenderConfig): FTableColumn[];
16
+ //# sourceMappingURL=tableColumns.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tableColumns.d.ts","sourceRoot":"","sources":["../../../../src/ExecutiveDashboard/utils/tableColumns.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,KAAK,EACV,0BAA0B,EAC1B,kBAAkB,EACnB,MAAM,UAAU,CAAC;AAElB;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,GAAE,QAAQ,EAAO,GAAG,QAAQ,EAAE,CAM5D;AAoCD;;;;GAIG;AACH,wBAAgB,YAAY,CAC1B,GAAG,EAAE,kBAAkB,EACvB,MAAM,CAAC,EAAE,0BAA0B,GAClC,YAAY,EAAE,CAOhB"}
@@ -0,0 +1,31 @@
1
+ import { RECODashboardDataResponse, RECODashboardQueryParams, RECODashboardUIConfig, RECOTableDataResponse } from "../RecordTypes";
2
+ export declare class RECODashboardApiError extends Error {
3
+ status?: number;
4
+ constructor(message: string, status?: number);
5
+ }
6
+ export interface RECODashboardApiConfig {
7
+ configId: string;
8
+ baseUrl?: string;
9
+ }
10
+ /**
11
+ * Combines the two "structure" APIs: fetches ui config + the distinct
12
+ * values for each sidebar filter, then merges the values in as `options`
13
+ * on each filter definition (matched by schemaFilterName).
14
+ */
15
+ export declare function RecordFetchUIConfig(config: RECODashboardApiConfig, signal?: AbortSignal): Promise<RECODashboardUIConfig>;
16
+ /**
17
+ * POST /federated/filters/data
18
+ * body: { config_id, dateFilters: { startDate, endDate }, sidebarFilters, statsFilters, selectedStatCards }
19
+ */
20
+ export declare function RecordFetchDashboardData({ configId, baseUrl }: RECODashboardApiConfig, params: RECODashboardQueryParams, signal?: AbortSignal): Promise<RECODashboardDataResponse>;
21
+ /**
22
+ * POST /federated/filters/table-data
23
+ * Fetches one cursor-paginated page for an expanded table card.
24
+ */
25
+ export declare function RecordFetchTableData({ configId, baseUrl }: RECODashboardApiConfig, params: RECODashboardQueryParams & {
26
+ tableKey: string;
27
+ pageSize?: number;
28
+ cursor?: string;
29
+ page?: number;
30
+ }, signal?: AbortSignal): Promise<RECOTableDataResponse>;
31
+ //# sourceMappingURL=RecordDashboardApi.d.ts.map