@e-llm-studio/federated-dashboard-components 1.0.6 → 1.0.7

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 (764) hide show
  1. package/README.md +0 -698
  2. package/dist/_virtual/_tslib.js +1 -1
  3. package/dist/cjs/_virtual/_tslib.js +1 -1
  4. package/dist/cjs/components/DashboardCard/BreakingNewsBanner.js +2 -0
  5. package/dist/cjs/components/DashboardCard/CardShell.js +2 -0
  6. package/dist/cjs/components/DashboardCard/CenteredCell.js +2 -0
  7. package/dist/cjs/components/DashboardCard/DashboardCard.js +2 -0
  8. package/dist/cjs/components/DashboardCard/DetailRow.js +2 -0
  9. package/dist/cjs/components/DashboardCard/EventsSection.js +2 -0
  10. package/dist/cjs/components/DashboardCard/FooterLinkButton.js +2 -0
  11. package/dist/cjs/components/DashboardCard/GridSection.js +2 -0
  12. package/dist/cjs/components/DashboardCard/ListSection.js +2 -0
  13. package/dist/cjs/components/DashboardCard/SectionHeadingBar.js +2 -0
  14. package/dist/cjs/components/DashboardCard/SkeletonRow.js +2 -0
  15. package/dist/cjs/components/DashboardCard/TagsSection.js +2 -0
  16. package/dist/cjs/components/DashboardCard/TopDropdownMenu.js +2 -0
  17. package/dist/cjs/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
  18. package/dist/cjs/components/DashboardDateFilter/datePreset.js +2 -0
  19. package/dist/cjs/components/DatePickers/DatePicker.js +2 -0
  20. package/dist/cjs/components/DatePickers/DateRangeSelector.js +2 -0
  21. package/dist/cjs/components/DatePickers/DateSelector.js +2 -0
  22. package/dist/cjs/components/DropDowns/CustomMultiSelect.js +2 -0
  23. package/dist/cjs/components/DropDowns/CustomSingleSelect.js +2 -0
  24. package/dist/cjs/components/FiltersSidebar/CustomTextInput.js +2 -0
  25. package/dist/cjs/components/FiltersSidebar/FiltersSidebar.js +2 -0
  26. package/dist/cjs/components/Graph/Graph.js +2 -0
  27. package/dist/cjs/components/Graph/LineChart.js +2 -0
  28. package/dist/cjs/components/Graph/PlotBySelector.js +2 -0
  29. package/dist/cjs/components/MetricCard/MetricCard.js +2 -0
  30. package/dist/cjs/components/Table/FTable.js +2 -0
  31. package/dist/cjs/components/Table/SortDropdown.js +2 -0
  32. package/dist/cjs/components/Table/TableCard.js +2 -0
  33. package/dist/cjs/components/ui/chart.js +2 -0
  34. package/dist/cjs/index.js +1 -1
  35. package/dist/cjs/styles.css +1 -1
  36. package/dist/components/DashboardCard/BreakingNewsBanner.js +2 -0
  37. package/dist/components/DashboardCard/CardShell.js +2 -0
  38. package/dist/components/DashboardCard/CenteredCell.js +2 -0
  39. package/dist/components/DashboardCard/DashboardCard.js +2 -0
  40. package/dist/components/DashboardCard/DetailRow.js +2 -0
  41. package/dist/components/DashboardCard/EventsSection.js +2 -0
  42. package/dist/components/DashboardCard/FooterLinkButton.js +2 -0
  43. package/dist/components/DashboardCard/GridSection.js +2 -0
  44. package/dist/components/DashboardCard/ListSection.js +2 -0
  45. package/dist/components/DashboardCard/SectionHeadingBar.js +2 -0
  46. package/dist/components/DashboardCard/SkeletonRow.js +2 -0
  47. package/dist/components/DashboardCard/TagsSection.js +2 -0
  48. package/dist/components/DashboardCard/TopDropdownMenu.js +2 -0
  49. package/dist/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
  50. package/dist/components/DashboardDateFilter/datePreset.js +2 -0
  51. package/dist/components/DatePickers/DatePicker.js +2 -0
  52. package/dist/components/DatePickers/DateRangeSelector.js +2 -0
  53. package/dist/components/DatePickers/DateSelector.js +2 -0
  54. package/dist/components/DropDowns/CustomMultiSelect.js +2 -0
  55. package/dist/components/DropDowns/CustomSingleSelect.js +2 -0
  56. package/dist/components/FiltersSidebar/CustomTextInput.js +2 -0
  57. package/dist/components/FiltersSidebar/FiltersSidebar.js +2 -0
  58. package/dist/components/Graph/Graph.js +2 -0
  59. package/dist/components/Graph/LineChart.js +2 -0
  60. package/dist/components/Graph/PlotBySelector.js +2 -0
  61. package/dist/components/MetricCard/MetricCard.js +2 -0
  62. package/dist/components/Table/FTable.js +2 -0
  63. package/dist/components/Table/SortDropdown.js +2 -0
  64. package/dist/components/Table/TableCard.js +2 -0
  65. package/dist/components/ui/chart.js +2 -0
  66. package/dist/index.js +1 -1
  67. package/dist/styles.css +1 -1
  68. package/dist/types/App.d.ts +2 -2
  69. package/dist/types/App.d.ts.map +1 -1
  70. package/dist/types/components/DashboardCard/BreakingNewsBanner.d.ts.map +1 -0
  71. package/dist/types/components/DashboardCard/CardShell.d.ts.map +1 -0
  72. package/dist/types/components/DashboardCard/CenteredCell.d.ts.map +1 -0
  73. package/dist/types/components/DashboardCard/DashboardCard.d.ts.map +1 -0
  74. package/dist/types/components/DashboardCard/DetailRow.d.ts.map +1 -0
  75. package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/EventsSection.d.ts +1 -2
  76. package/dist/types/components/DashboardCard/EventsSection.d.ts.map +1 -0
  77. package/dist/types/components/DashboardCard/FooterLinkButton.d.ts.map +1 -0
  78. package/dist/types/components/DashboardCard/GridSection.d.ts +3 -0
  79. package/dist/types/components/DashboardCard/GridSection.d.ts.map +1 -0
  80. package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/ListSection.d.ts +2 -3
  81. package/dist/types/components/DashboardCard/ListSection.d.ts.map +1 -0
  82. package/dist/types/components/DashboardCard/SectionHeadingBar.d.ts.map +1 -0
  83. package/dist/types/components/DashboardCard/SkeletonRow.d.ts.map +1 -0
  84. package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/TagsSection.d.ts +1 -2
  85. package/dist/types/components/DashboardCard/TagsSection.d.ts.map +1 -0
  86. package/dist/types/components/DashboardCard/TopDropdownMenu.d.ts.map +1 -0
  87. package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.d.ts +1 -1
  88. package/dist/types/components/DashboardCard/sectionContent.d.ts.map +1 -0
  89. package/dist/types/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +1 -0
  90. package/dist/types/components/DashboardCard/types.d.ts.map +1 -0
  91. package/dist/types/{ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.d.ts +1 -8
  92. package/dist/types/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -0
  93. package/dist/types/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +1 -0
  94. package/dist/types/{RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts → components/DashboardDateFilter/datePreset.d.ts} +15 -16
  95. package/dist/types/components/DashboardDateFilter/datePreset.d.ts.map +1 -0
  96. package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DatePicker.d.ts +1 -2
  97. package/dist/types/components/DatePickers/DatePicker.d.ts.map +1 -0
  98. package/dist/types/components/DatePickers/DateRangeSelector.d.ts.map +1 -0
  99. package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DateSelector.d.ts +1 -1
  100. package/dist/types/components/DatePickers/DateSelector.d.ts.map +1 -0
  101. package/dist/types/{ExecutiveDashboard/components → components}/DropDowns/CustomMultiSelect.d.ts +1 -2
  102. package/dist/types/components/DropDowns/CustomMultiSelect.d.ts.map +1 -0
  103. package/dist/types/{ExecutiveDashboard/components → components}/DropDowns/CustomSingleSelect.d.ts +1 -2
  104. package/dist/types/components/DropDowns/CustomSingleSelect.d.ts.map +1 -0
  105. package/dist/types/{ExecutiveDashboard/components → components}/FiltersSidebar/CustomTextInput.d.ts +1 -2
  106. package/dist/types/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -0
  107. package/dist/types/{ExecutiveDashboard/components → components}/FiltersSidebar/FiltersSidebar.d.ts +1 -2
  108. package/dist/types/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -0
  109. package/dist/types/{ExecutiveDashboard/components → components}/Graph/Graph.d.ts +1 -2
  110. package/dist/types/components/Graph/Graph.d.ts.map +1 -0
  111. package/dist/types/{ExecutiveDashboard/components → components}/Graph/LineChart.d.ts +2 -5
  112. package/dist/types/components/Graph/LineChart.d.ts.map +1 -0
  113. package/dist/types/{ExecutiveDashboard/components → components}/Graph/PlotBySelector.d.ts +1 -2
  114. package/dist/types/components/Graph/PlotBySelector.d.ts.map +1 -0
  115. package/dist/types/{RecordDashboard/RecordComponents → components}/Graph/types.d.ts +41 -41
  116. package/dist/types/components/Graph/types.d.ts.map +1 -0
  117. package/dist/types/components/MetricCard/MetricCard.d.ts +31 -0
  118. package/dist/types/components/MetricCard/MetricCard.d.ts.map +1 -0
  119. package/dist/types/{ExecutiveDashboard/components → components}/Table/FTable.d.ts +11 -12
  120. package/dist/types/components/Table/FTable.d.ts.map +1 -0
  121. package/dist/types/{ExecutiveDashboard/components → components}/Table/SortDropdown.d.ts +1 -2
  122. package/dist/types/components/Table/SortDropdown.d.ts.map +1 -0
  123. package/dist/types/{ExecutiveDashboard/components → components}/Table/TableCard.d.ts +2 -3
  124. package/dist/types/components/Table/TableCard.d.ts.map +1 -0
  125. package/dist/types/{ExecutiveDashboard/components → components}/ui/chart.d.ts +0 -1
  126. package/dist/types/components/ui/chart.d.ts.map +1 -0
  127. package/dist/types/components/ui/utils.d.ts.map +1 -0
  128. package/dist/types/index.d.ts +19 -85
  129. package/dist/types/index.d.ts.map +1 -1
  130. package/package.json +9 -12
  131. package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js +0 -2
  132. package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +0 -1
  133. package/dist/ExecutiveDashboard/api/dashboardApi.js +0 -2
  134. package/dist/ExecutiveDashboard/api/dashboardApi.js.map +0 -1
  135. package/dist/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +0 -2
  136. package/dist/ExecutiveDashboard/components/DashboardCard/CardShell.js +0 -2
  137. package/dist/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +0 -2
  138. package/dist/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +0 -2
  139. package/dist/ExecutiveDashboard/components/DashboardCard/DetailRow.js +0 -2
  140. package/dist/ExecutiveDashboard/components/DashboardCard/EventsSection.js +0 -2
  141. package/dist/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +0 -2
  142. package/dist/ExecutiveDashboard/components/DashboardCard/GridSection.js +0 -2
  143. package/dist/ExecutiveDashboard/components/DashboardCard/ListSection.js +0 -2
  144. package/dist/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +0 -2
  145. package/dist/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +0 -2
  146. package/dist/ExecutiveDashboard/components/DashboardCard/TagsSection.js +0 -2
  147. package/dist/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +0 -2
  148. package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
  149. package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +0 -2
  150. package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +0 -2
  151. package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +0 -1
  152. package/dist/ExecutiveDashboard/components/DatePickers/DatePicker.js +0 -2
  153. package/dist/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +0 -2
  154. package/dist/ExecutiveDashboard/components/DatePickers/DateSelector.js +0 -2
  155. package/dist/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +0 -2
  156. package/dist/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +0 -2
  157. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +0 -2
  158. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js.map +0 -1
  159. package/dist/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +0 -2
  160. package/dist/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +0 -2
  161. package/dist/ExecutiveDashboard/components/Graph/Graph.js +0 -2
  162. package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js +0 -2
  163. package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +0 -1
  164. package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js +0 -2
  165. package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +0 -1
  166. package/dist/ExecutiveDashboard/components/Graph/LineChart.js +0 -2
  167. package/dist/ExecutiveDashboard/components/Graph/PlotBySelector.js +0 -2
  168. package/dist/ExecutiveDashboard/components/Graph/Seperator.js +0 -2
  169. package/dist/ExecutiveDashboard/components/Graph/Seperator.js.map +0 -1
  170. package/dist/ExecutiveDashboard/components/MetricCard/MetricCard.js +0 -2
  171. package/dist/ExecutiveDashboard/components/Table/FTable.js +0 -2
  172. package/dist/ExecutiveDashboard/components/Table/SortDropdown.js +0 -2
  173. package/dist/ExecutiveDashboard/components/Table/TableCard.js +0 -2
  174. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +0 -2
  175. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +0 -1
  176. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +0 -2
  177. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +0 -1
  178. package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js +0 -2
  179. package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +0 -1
  180. package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +0 -2
  181. package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +0 -1
  182. package/dist/ExecutiveDashboard/components/ui/chart.js +0 -2
  183. package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js +0 -2
  184. package/dist/ExecutiveDashboard/hooks/useVisibilityPolling.js.map +0 -1
  185. package/dist/ExecutiveDashboard/utils/index.js +0 -2
  186. package/dist/ExecutiveDashboard/utils/index.js.map +0 -1
  187. package/dist/ExecutiveDashboard/utils/kpiIcon.js +0 -2
  188. package/dist/ExecutiveDashboard/utils/kpiIcon.js.map +0 -1
  189. package/dist/ExecutiveDashboard/utils/sectionOrder.js +0 -2
  190. package/dist/ExecutiveDashboard/utils/sectionOrder.js.map +0 -1
  191. package/dist/ExecutiveDashboard/utils/tableColumns.js +0 -2
  192. package/dist/ExecutiveDashboard/utils/tableColumns.js.map +0 -1
  193. package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js +0 -2
  194. package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js.map +0 -1
  195. package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +0 -2
  196. package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +0 -1
  197. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +0 -2
  198. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +0 -1
  199. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +0 -2
  200. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +0 -1
  201. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +0 -2
  202. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +0 -1
  203. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +0 -2
  204. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +0 -1
  205. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +0 -2
  206. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +0 -1
  207. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +0 -2
  208. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +0 -1
  209. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +0 -2
  210. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +0 -1
  211. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +0 -2
  212. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +0 -1
  213. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +0 -2
  214. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +0 -1
  215. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +0 -2
  216. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +0 -1
  217. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +0 -2
  218. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +0 -1
  219. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +0 -2
  220. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +0 -1
  221. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +0 -2
  222. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +0 -1
  223. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +0 -2
  224. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +0 -1
  225. package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +0 -2
  226. package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +0 -1
  227. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +0 -2
  228. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +0 -1
  229. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +0 -2
  230. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +0 -1
  231. package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +0 -2
  232. package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +0 -1
  233. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +0 -2
  234. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +0 -1
  235. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +0 -2
  236. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +0 -1
  237. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +0 -2
  238. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +0 -1
  239. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +0 -2
  240. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +0 -1
  241. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +0 -2
  242. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +0 -1
  243. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +0 -2
  244. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +0 -1
  245. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +0 -2
  246. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +0 -1
  247. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js +0 -2
  248. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +0 -1
  249. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +0 -2
  250. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +0 -1
  251. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +0 -2
  252. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +0 -1
  253. package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +0 -2
  254. package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +0 -1
  255. package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +0 -2
  256. package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +0 -1
  257. package/dist/RecordDashboard/RecordComponents/Graph/types.js +0 -2
  258. package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +0 -2
  259. package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +0 -1
  260. package/dist/RecordDashboard/RecordComponents/RecordDashboard.js +0 -2
  261. package/dist/RecordDashboard/RecordComponents/RecordDashboard.js.map +0 -1
  262. package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +0 -2
  263. package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +0 -1
  264. package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +0 -2
  265. package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +0 -1
  266. package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js +0 -2
  267. package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +0 -1
  268. package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +0 -2
  269. package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +0 -1
  270. package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js +0 -2
  271. package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +0 -1
  272. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +0 -2
  273. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +0 -1
  274. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +0 -2
  275. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +0 -1
  276. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +0 -2
  277. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +0 -1
  278. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +0 -2
  279. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +0 -1
  280. package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +0 -2
  281. package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +0 -1
  282. package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js +0 -2
  283. package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js.map +0 -1
  284. package/dist/RecordDashboard/RecordComponents/ui/utils.js +0 -2
  285. package/dist/RecordDashboard/RecordDashboardWrapper.js +0 -2
  286. package/dist/RecordDashboard/RecordDashboardWrapper.js.map +0 -1
  287. package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js +0 -2
  288. package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +0 -1
  289. package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js +0 -2
  290. package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +0 -1
  291. package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js +0 -2
  292. package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js.map +0 -1
  293. package/dist/RecordDashboard/RecordUtils/index.js +0 -2
  294. package/dist/RecordDashboard/RecordUtils/index.js.map +0 -1
  295. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +0 -2
  296. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +0 -1
  297. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +0 -2
  298. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js.map +0 -1
  299. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +0 -2
  300. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CardShell.js +0 -2
  301. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +0 -2
  302. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +0 -2
  303. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DetailRow.js +0 -2
  304. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/EventsSection.js +0 -2
  305. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +0 -2
  306. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/GridSection.js +0 -2
  307. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/ListSection.js +0 -2
  308. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +0 -2
  309. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +0 -2
  310. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TagsSection.js +0 -2
  311. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +0 -2
  312. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
  313. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +0 -2
  314. package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +0 -2
  315. package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +0 -1
  316. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DatePicker.js +0 -2
  317. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +0 -2
  318. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateSelector.js +0 -2
  319. package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +0 -2
  320. package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +0 -2
  321. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +0 -2
  322. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js.map +0 -1
  323. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +0 -2
  324. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +0 -2
  325. package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +0 -2
  326. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js +0 -2
  327. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +0 -1
  328. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js +0 -2
  329. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +0 -1
  330. package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +0 -2
  331. package/dist/cjs/ExecutiveDashboard/components/Graph/PlotBySelector.js +0 -2
  332. package/dist/cjs/ExecutiveDashboard/components/Graph/Seperator.js +0 -2
  333. package/dist/cjs/ExecutiveDashboard/components/Graph/Seperator.js.map +0 -1
  334. package/dist/cjs/ExecutiveDashboard/components/Graph/types.js.map +0 -1
  335. package/dist/cjs/ExecutiveDashboard/components/MetricCard/MetricCard.js +0 -2
  336. package/dist/cjs/ExecutiveDashboard/components/Table/FTable.js +0 -2
  337. package/dist/cjs/ExecutiveDashboard/components/Table/SortDropdown.js +0 -2
  338. package/dist/cjs/ExecutiveDashboard/components/Table/TableCard.js +0 -2
  339. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +0 -2
  340. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +0 -1
  341. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +0 -2
  342. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +0 -1
  343. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js +0 -2
  344. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +0 -1
  345. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +0 -2
  346. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +0 -1
  347. package/dist/cjs/ExecutiveDashboard/components/ui/chart.js +0 -2
  348. package/dist/cjs/ExecutiveDashboard/components/ui/utils.js.map +0 -1
  349. package/dist/cjs/ExecutiveDashboard/hooks/useVisibilityPolling.js +0 -2
  350. package/dist/cjs/ExecutiveDashboard/hooks/useVisibilityPolling.js.map +0 -1
  351. package/dist/cjs/ExecutiveDashboard/utils/index.js +0 -2
  352. package/dist/cjs/ExecutiveDashboard/utils/index.js.map +0 -1
  353. package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js +0 -2
  354. package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js.map +0 -1
  355. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js +0 -2
  356. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js.map +0 -1
  357. package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js +0 -2
  358. package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js.map +0 -1
  359. package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js +0 -2
  360. package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js.map +0 -1
  361. package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +0 -2
  362. package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +0 -1
  363. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +0 -2
  364. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +0 -1
  365. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +0 -2
  366. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +0 -1
  367. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +0 -2
  368. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +0 -1
  369. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +0 -2
  370. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +0 -1
  371. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +0 -2
  372. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +0 -1
  373. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +0 -2
  374. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +0 -1
  375. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +0 -2
  376. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +0 -1
  377. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +0 -2
  378. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +0 -1
  379. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +0 -2
  380. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +0 -1
  381. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +0 -2
  382. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +0 -1
  383. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +0 -2
  384. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +0 -1
  385. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +0 -2
  386. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +0 -1
  387. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +0 -2
  388. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +0 -1
  389. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +0 -2
  390. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +0 -1
  391. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +0 -2
  392. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +0 -1
  393. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +0 -2
  394. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +0 -1
  395. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +0 -2
  396. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +0 -1
  397. package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +0 -2
  398. package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +0 -1
  399. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +0 -2
  400. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +0 -1
  401. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +0 -2
  402. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +0 -1
  403. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +0 -2
  404. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +0 -1
  405. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +0 -2
  406. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +0 -1
  407. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +0 -2
  408. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +0 -1
  409. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +0 -2
  410. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +0 -1
  411. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +0 -2
  412. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +0 -1
  413. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js +0 -2
  414. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +0 -1
  415. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +0 -2
  416. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +0 -1
  417. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +0 -2
  418. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +0 -1
  419. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +0 -2
  420. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +0 -1
  421. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +0 -2
  422. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +0 -1
  423. package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js +0 -2
  424. package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js.map +0 -1
  425. package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +0 -2
  426. package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +0 -1
  427. package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js +0 -2
  428. package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js.map +0 -1
  429. package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +0 -2
  430. package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +0 -1
  431. package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +0 -2
  432. package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +0 -1
  433. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js +0 -2
  434. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +0 -1
  435. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +0 -2
  436. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +0 -1
  437. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js +0 -2
  438. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +0 -1
  439. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +0 -2
  440. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +0 -1
  441. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +0 -2
  442. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +0 -1
  443. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +0 -2
  444. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +0 -1
  445. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +0 -2
  446. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +0 -1
  447. package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +0 -2
  448. package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +0 -1
  449. package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js +0 -2
  450. package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js.map +0 -1
  451. package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js +0 -2
  452. package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js.map +0 -1
  453. package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js +0 -2
  454. package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js.map +0 -1
  455. package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js +0 -2
  456. package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +0 -1
  457. package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js +0 -2
  458. package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +0 -1
  459. package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js +0 -2
  460. package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js.map +0 -1
  461. package/dist/cjs/RecordDashboard/RecordUtils/index.js +0 -2
  462. package/dist/cjs/RecordDashboard/RecordUtils/index.js.map +0 -1
  463. package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js +0 -9
  464. package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js.map +0 -1
  465. package/dist/cjs/node_modules/chart.js/auto/auto.js +0 -2
  466. package/dist/cjs/node_modules/chart.js/auto/auto.js.map +0 -1
  467. package/dist/cjs/node_modules/chart.js/dist/chart.js +0 -8
  468. package/dist/cjs/node_modules/chart.js/dist/chart.js.map +0 -1
  469. package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -8
  470. package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +0 -1
  471. package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -2
  472. package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +0 -1
  473. package/dist/node_modules/@kurkle/color/dist/color.esm.js +0 -8
  474. package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +0 -1
  475. package/dist/node_modules/chart.js/auto/auto.js +0 -2
  476. package/dist/node_modules/chart.js/auto/auto.js.map +0 -1
  477. package/dist/node_modules/chart.js/dist/chart.js +0 -8
  478. package/dist/node_modules/chart.js/dist/chart.js.map +0 -1
  479. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -8
  480. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +0 -1
  481. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -8
  482. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +0 -1
  483. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +0 -5
  484. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +0 -1
  485. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +0 -3
  486. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +0 -1
  487. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +0 -31
  488. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +0 -1
  489. package/dist/types/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.d.ts.map +0 -1
  490. package/dist/types/ExecutiveDashboard/components/DashboardCard/CardShell.d.ts.map +0 -1
  491. package/dist/types/ExecutiveDashboard/components/DashboardCard/CenteredCell.d.ts.map +0 -1
  492. package/dist/types/ExecutiveDashboard/components/DashboardCard/DashboardCard.d.ts.map +0 -1
  493. package/dist/types/ExecutiveDashboard/components/DashboardCard/DetailRow.d.ts.map +0 -1
  494. package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts.map +0 -1
  495. package/dist/types/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.d.ts.map +0 -1
  496. package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts +0 -4
  497. package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +0 -1
  498. package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts.map +0 -1
  499. package/dist/types/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.d.ts.map +0 -1
  500. package/dist/types/ExecutiveDashboard/components/DashboardCard/SkeletonRow.d.ts.map +0 -1
  501. package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts.map +0 -1
  502. package/dist/types/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.d.ts.map +0 -1
  503. package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts.map +0 -1
  504. package/dist/types/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +0 -1
  505. package/dist/types/ExecutiveDashboard/components/DashboardCard/types.d.ts.map +0 -1
  506. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +0 -1
  507. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +0 -1
  508. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts +0 -137
  509. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +0 -1
  510. package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +0 -5
  511. package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +0 -1
  512. package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts.map +0 -1
  513. package/dist/types/ExecutiveDashboard/components/DatePickers/DateRangeSelector.d.ts.map +0 -1
  514. package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +0 -1
  515. package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +0 -1
  516. package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +0 -1
  517. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +0 -59
  518. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +0 -1
  519. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +0 -1
  520. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +0 -1
  521. package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +0 -1
  522. package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts +0 -11
  523. package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts.map +0 -1
  524. package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts +0 -11
  525. package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +0 -1
  526. package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +0 -1
  527. package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts.map +0 -1
  528. package/dist/types/ExecutiveDashboard/components/Graph/Seperator.d.ts +0 -7
  529. package/dist/types/ExecutiveDashboard/components/Graph/Seperator.d.ts.map +0 -1
  530. package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts +0 -278
  531. package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +0 -1
  532. package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts +0 -49
  533. package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts.map +0 -1
  534. package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +0 -1
  535. package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +0 -1
  536. package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts.map +0 -1
  537. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts +0 -54
  538. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts.map +0 -1
  539. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts +0 -20
  540. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts.map +0 -1
  541. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts +0 -15
  542. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts.map +0 -1
  543. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts +0 -17
  544. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts.map +0 -1
  545. package/dist/types/ExecutiveDashboard/components/common/Accordion.d.ts +0 -34
  546. package/dist/types/ExecutiveDashboard/components/common/Accordion.d.ts.map +0 -1
  547. package/dist/types/ExecutiveDashboard/components/ui/chart.d.ts.map +0 -1
  548. package/dist/types/ExecutiveDashboard/components/ui/utils.d.ts.map +0 -1
  549. package/dist/types/ExecutiveDashboard/constant/index.d.ts +0 -5
  550. package/dist/types/ExecutiveDashboard/constant/index.d.ts.map +0 -1
  551. package/dist/types/ExecutiveDashboard/hooks/useVisibilityPolling.d.ts +0 -12
  552. package/dist/types/ExecutiveDashboard/hooks/useVisibilityPolling.d.ts.map +0 -1
  553. package/dist/types/ExecutiveDashboard/types/index.d.ts +0 -416
  554. package/dist/types/ExecutiveDashboard/types/index.d.ts.map +0 -1
  555. package/dist/types/ExecutiveDashboard/utils/index.d.ts +0 -65
  556. package/dist/types/ExecutiveDashboard/utils/index.d.ts.map +0 -1
  557. package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts +0 -4
  558. package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts.map +0 -1
  559. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts +0 -43
  560. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts.map +0 -1
  561. package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts +0 -16
  562. package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts.map +0 -1
  563. package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts +0 -31
  564. package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts.map +0 -1
  565. package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts +0 -20
  566. package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts.map +0 -1
  567. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts +0 -9
  568. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts.map +0 -1
  569. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts +0 -22
  570. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts.map +0 -1
  571. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts +0 -6
  572. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts.map +0 -1
  573. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts +0 -5
  574. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts.map +0 -1
  575. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts +0 -9
  576. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts.map +0 -1
  577. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts +0 -4
  578. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts.map +0 -1
  579. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts +0 -6
  580. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts.map +0 -1
  581. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts +0 -4
  582. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +0 -1
  583. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +0 -5
  584. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts.map +0 -1
  585. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts +0 -4
  586. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts.map +0 -1
  587. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts +0 -9
  588. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts.map +0 -1
  589. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts +0 -3
  590. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts.map +0 -1
  591. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts +0 -4
  592. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts.map +0 -1
  593. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts +0 -6
  594. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts.map +0 -1
  595. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts +0 -17
  596. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts.map +0 -1
  597. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts +0 -156
  598. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts.map +0 -1
  599. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts +0 -42
  600. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts.map +0 -1
  601. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts +0 -18
  602. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts.map +0 -1
  603. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts.map +0 -1
  604. package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +0 -5
  605. package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +0 -1
  606. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +0 -11
  607. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts.map +0 -1
  608. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts +0 -20
  609. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts.map +0 -1
  610. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts +0 -19
  611. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts.map +0 -1
  612. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts +0 -18
  613. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +0 -1
  614. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +0 -17
  615. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +0 -1
  616. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +0 -13
  617. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +0 -1
  618. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +0 -35
  619. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +0 -1
  620. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +0 -5
  621. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts.map +0 -1
  622. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts +0 -11
  623. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts.map +0 -1
  624. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts +0 -11
  625. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +0 -1
  626. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +0 -26
  627. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +0 -1
  628. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +0 -18
  629. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +0 -1
  630. package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts.map +0 -1
  631. package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts +0 -49
  632. package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts.map +0 -1
  633. package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts +0 -84
  634. package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts.map +0 -1
  635. package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts +0 -10
  636. package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts.map +0 -1
  637. package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts +0 -28
  638. package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts.map +0 -1
  639. package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts +0 -70
  640. package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts.map +0 -1
  641. package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts +0 -14
  642. package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts.map +0 -1
  643. package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts +0 -43
  644. package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts.map +0 -1
  645. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts +0 -15
  646. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts.map +0 -1
  647. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts +0 -54
  648. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts.map +0 -1
  649. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts +0 -20
  650. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts.map +0 -1
  651. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts +0 -17
  652. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts.map +0 -1
  653. package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts +0 -53
  654. package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts.map +0 -1
  655. package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts +0 -72
  656. package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts.map +0 -1
  657. package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts +0 -7
  658. package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts.map +0 -1
  659. package/dist/types/RecordDashboard/RecordConstant/index.d.ts +0 -5
  660. package/dist/types/RecordDashboard/RecordConstant/index.d.ts.map +0 -1
  661. package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts +0 -8
  662. package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +0 -1
  663. package/dist/types/RecordDashboard/RecordTypes/index.d.ts +0 -984
  664. package/dist/types/RecordDashboard/RecordTypes/index.d.ts.map +0 -1
  665. package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts +0 -4
  666. package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts.map +0 -1
  667. package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts +0 -43
  668. package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts.map +0 -1
  669. package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts +0 -22
  670. package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts.map +0 -1
  671. package/dist/types/RecordDashboard/RecordUtils/index.d.ts +0 -65
  672. package/dist/types/RecordDashboard/RecordUtils/index.d.ts.map +0 -1
  673. package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts +0 -3
  674. package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +0 -1
  675. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/BreakingNewsBanner.js.map +0 -0
  676. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/CardShell.js.map +0 -0
  677. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/CenteredCell.js.map +0 -0
  678. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/DashboardCard.js.map +0 -0
  679. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/DetailRow.js.map +0 -0
  680. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/EventsSection.js.map +0 -0
  681. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/FooterLinkButton.js.map +0 -0
  682. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/GridSection.js.map +0 -0
  683. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/ListSection.js.map +0 -0
  684. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/SectionHeadingBar.js.map +0 -0
  685. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/SkeletonRow.js.map +0 -0
  686. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/TagsSection.js.map +0 -0
  687. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/TopDropdownMenu.js.map +0 -0
  688. /package/dist/cjs/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js +0 -0
  689. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/sectionContent.js.map +0 -0
  690. /package/dist/cjs/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
  691. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
  692. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
  693. /package/dist/{ExecutiveDashboard → cjs}/components/DashboardDateFilter/datePreset.js.map +0 -0
  694. /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DatePicker.js.map +0 -0
  695. /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DateRangeSelector.js.map +0 -0
  696. /package/dist/{ExecutiveDashboard → cjs}/components/DatePickers/DateSelector.js.map +0 -0
  697. /package/dist/{ExecutiveDashboard → cjs}/components/DropDowns/CustomMultiSelect.js.map +0 -0
  698. /package/dist/{ExecutiveDashboard → cjs}/components/DropDowns/CustomSingleSelect.js.map +0 -0
  699. /package/dist/{ExecutiveDashboard → cjs}/components/FiltersSidebar/CustomTextInput.js.map +0 -0
  700. /package/dist/{ExecutiveDashboard → cjs}/components/FiltersSidebar/FiltersSidebar.js.map +0 -0
  701. /package/dist/{ExecutiveDashboard → cjs}/components/Graph/Graph.js.map +0 -0
  702. /package/dist/{ExecutiveDashboard → cjs}/components/Graph/LineChart.js.map +0 -0
  703. /package/dist/{ExecutiveDashboard → cjs}/components/Graph/PlotBySelector.js.map +0 -0
  704. /package/dist/cjs/{ExecutiveDashboard/components → components}/Graph/types.js +0 -0
  705. /package/dist/{ExecutiveDashboard → cjs}/components/Graph/types.js.map +0 -0
  706. /package/dist/{ExecutiveDashboard → cjs}/components/MetricCard/MetricCard.js.map +0 -0
  707. /package/dist/{ExecutiveDashboard → cjs}/components/Table/FTable.js.map +0 -0
  708. /package/dist/{ExecutiveDashboard → cjs}/components/Table/SortDropdown.js.map +0 -0
  709. /package/dist/{ExecutiveDashboard → cjs}/components/Table/TableCard.js.map +0 -0
  710. /package/dist/{ExecutiveDashboard → cjs}/components/ui/chart.js.map +0 -0
  711. /package/dist/cjs/{ExecutiveDashboard/components → components}/ui/utils.js +0 -0
  712. /package/dist/{ExecutiveDashboard → cjs}/components/ui/utils.js.map +0 -0
  713. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/BreakingNewsBanner.js.map +0 -0
  714. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/CardShell.js.map +0 -0
  715. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/CenteredCell.js.map +0 -0
  716. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/DashboardCard.js.map +0 -0
  717. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/DetailRow.js.map +0 -0
  718. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/EventsSection.js.map +0 -0
  719. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/FooterLinkButton.js.map +0 -0
  720. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/GridSection.js.map +0 -0
  721. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/ListSection.js.map +0 -0
  722. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/SectionHeadingBar.js.map +0 -0
  723. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/SkeletonRow.js.map +0 -0
  724. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/TagsSection.js.map +0 -0
  725. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/TopDropdownMenu.js.map +0 -0
  726. /package/dist/{ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js +0 -0
  727. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/sectionContent.js.map +0 -0
  728. /package/dist/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
  729. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
  730. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
  731. /package/dist/{cjs/ExecutiveDashboard/components → components}/DashboardDateFilter/datePreset.js.map +0 -0
  732. /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DatePicker.js.map +0 -0
  733. /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DateRangeSelector.js.map +0 -0
  734. /package/dist/{cjs/ExecutiveDashboard/components → components}/DatePickers/DateSelector.js.map +0 -0
  735. /package/dist/{cjs/ExecutiveDashboard/components → components}/DropDowns/CustomMultiSelect.js.map +0 -0
  736. /package/dist/{cjs/ExecutiveDashboard/components → components}/DropDowns/CustomSingleSelect.js.map +0 -0
  737. /package/dist/{cjs/ExecutiveDashboard/components → components}/FiltersSidebar/CustomTextInput.js.map +0 -0
  738. /package/dist/{cjs/ExecutiveDashboard/components → components}/FiltersSidebar/FiltersSidebar.js.map +0 -0
  739. /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/Graph.js.map +0 -0
  740. /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/LineChart.js.map +0 -0
  741. /package/dist/{cjs/ExecutiveDashboard/components → components}/Graph/PlotBySelector.js.map +0 -0
  742. /package/dist/{ExecutiveDashboard/components → components}/Graph/types.js +0 -0
  743. /package/dist/{RecordDashboard/RecordComponents → components}/Graph/types.js.map +0 -0
  744. /package/dist/{cjs/ExecutiveDashboard/components → components}/MetricCard/MetricCard.js.map +0 -0
  745. /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/FTable.js.map +0 -0
  746. /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/SortDropdown.js.map +0 -0
  747. /package/dist/{cjs/ExecutiveDashboard/components → components}/Table/TableCard.js.map +0 -0
  748. /package/dist/{cjs/ExecutiveDashboard/components → components}/ui/chart.js.map +0 -0
  749. /package/dist/{ExecutiveDashboard/components → components}/ui/utils.js +0 -0
  750. /package/dist/{RecordDashboard/RecordComponents → components}/ui/utils.js.map +0 -0
  751. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/BreakingNewsBanner.d.ts +0 -0
  752. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/CardShell.d.ts +0 -0
  753. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/CenteredCell.d.ts +0 -0
  754. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/DashboardCard.d.ts +0 -0
  755. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/DetailRow.d.ts +0 -0
  756. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/FooterLinkButton.d.ts +0 -0
  757. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/SectionHeadingBar.d.ts +0 -0
  758. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/SkeletonRow.d.ts +0 -0
  759. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/TopDropdownMenu.d.ts +0 -0
  760. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/styles/DashboardCardStyles.d.ts +0 -0
  761. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardCard/types.d.ts +0 -0
  762. /package/dist/types/{ExecutiveDashboard/components → components}/DashboardDateFilter/DashboardDateFilter.types.d.ts +0 -0
  763. /package/dist/types/{ExecutiveDashboard/components → components}/DatePickers/DateRangeSelector.d.ts +0 -0
  764. /package/dist/types/{ExecutiveDashboard/components → components}/ui/utils.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_virtual/_tslib.js"),n=require("react/jsx-runtime"),r=require("react"),t=require("./components/ExecutiveDashboard.js"),l=require("./components/DashboardDateFilter/datePreset.js"),a=require("./components/DashboardSkeleton/DashboardSkeleton.js"),o=require("./api/dashboardApi.js"),u=require("./hooks/useVisibilityPolling.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(r),d=1e4;function c(i){var c,v,f=this,g=i.baseUrl,b=void 0===g?"https://dev.appmod.ai":g,p=i.configId,h=i.graphEmptyState,_=i.tables,E=i.tableLayout,m=i.sectionOrder,D=i.hiddenSections,S=i.fetchUIConfig,y=i.fetchUIVersionFromRedis,C=i.fetchDashboardData,R=i.fetchTableData,w=i.initialStartDate,I=i.initialEndDate,x=i.onDateChange,j=i.onFiltersApplied,F=i.renderLoading,A=i.renderError,P=i.pollingConfigProp,k=null!=S?S:o.fetchUIConfig,M=null!=y?y:o.fetchCurrentConfigUIVersionFromRedis,T=null!=C?C:o.fetchDashboardData,O=null!=R?R:o.fetchTableData,U=r.useState(null),q=U[0],L=U[1],V=r.useState(null),N=V[0],K=V[1],B=r.useState(!0),z=B[0],G=B[1],H=r.useState(!0),W=H[0],J=H[1],Q=r.useState(null),X=Q[0],Y=Q[1],Z=r.useState(!1),$=Z[0],ee=Z[1],ne=r.useState({}),re=ne[0],te=ne[1],le=r.useState({}),ae=le[0],oe=le[1],ue=r.useState({}),ie=ue[0],se=ue[1],de=r.useState(null),ce=de[0],ve=de[1],fe=s.default.useRef(null),ge=s.default.useRef(!1),be=r.useRef(null),pe=r.useRef(null),he=r.useRef({}),_e=r.useRef(null),Ee=r.useRef(new Set),me=r.useRef(!1),De=r.useRef(d),Se=r.useRef(-1),ye=r.useRef(!0),Ce=r.useState(null!==(v=null===(c=null==q?void 0:q.data)||void 0===c?void 0:c.dateFilters.defaultPreset)&&void 0!==v?v:"today"),Re=Ce[0],we=Ce[1],Ie=r.useState(!1),xe=Ie[0],je=Ie[1],Fe=r.useState({}),Ae=Fe[0],Pe=Fe[1],ke=r.useMemo(function(){var e,n;if(q){var r=q.data.dateFilters;return(null==r?void 0:r.pollingEnabled)&&(De.current=null!==(e=r.pollingInterval)&&void 0!==e?e:d),{pollingEnabled:null!==(n=Boolean("yes"===(null==r?void 0:r.pollingEnabled)))&&void 0!==n&&n,pollingInterval:d,maxErrorInterval:5e4,backoffMultiplier:1.5}}},[q]),Me=r.useMemo(function(){return null!=P?P:ke},[P,ke]),Te=function(e){var n=Object.values(l.DATE_PRESETS).find(function(n){return n.value===e});return n&&"getRange"in n?n.getRange():null},Oe=r.useCallback(function(){return e.__awaiter(f,void 0,void 0,function(){var n,r,t,l,a,o,u,i,s,d,c,v,f,g;return e.__generator(this,function(e){switch(e.label){case 0:G(!0),Y(null),null===(u=be.current)||void 0===u||u.abort(),n=new AbortController,be.current=n,e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,k({configId:p,baseUrl:b},n.signal)];case 2:return r=e.sent(),L(r),t={},null===(d=null===(s=null===(i=null==r?void 0:r.data)||void 0===i?void 0:i.graphBuilder)||void 0===s?void 0:s.tiers)||void 0===d||d.forEach(function(e){e.plotOptions.length>0&&(t[e.key]=e.plotOptions[0].value)}),te(t),l={},null===(v=null===(c=null==r?void 0:r.data)||void 0===c?void 0:c.sidebarFilters)||void 0===v||v.forEach(function(e){l[e.schemaFilterName]="Multi select"===e.type?[]:""}),oe(l),se(l),ge.current||(a=w&&I?{startDate:w,endDate:I}:Te(null===(g=null===(f=null==r?void 0:r.data)||void 0===f?void 0:f.dateFilters)||void 0===g?void 0:g.defaultPreset))&&(ge.current=!0,fe.current={start:a.startDate.getTime(),end:a.endDate.getTime()},ve({start:a.startDate,end:a.endDate})),[3,5];case 3:return"AbortError"===(null==(o=e.sent())?void 0:o.name)?[2]:(Y(o),[3,5]);case 4:return be.current===n&&G(!1),[7];case 5:return[2]}})})},[p,b,k,w,I]),Ue=r.useCallback(function(){return e.__awaiter(f,void 0,void 0,function(){var n,r,t,l,a;return e.__generator(this,function(e){switch(e.label){case 0:if(me.current)return[3,7];me.current=!0,console.log("----- POLLING API ----"),null===(a=_e.current)||void 0===a||a.abort(),n=new AbortController,_e.current=n,e.label=1;case 1:return e.trys.push([1,5,6,7]),[4,M({configId:p,baseUrl:b},n.signal)];case 2:return(null==(r=e.sent())?void 0:r.timestamp)&&parseInt(null==r?void 0:r.timestamp)>Se.current?(t=Te(Re),console.log("loadData ranges: ",{selectedPreset:Re,currentRange:t}),[4,qe(t).then(function(){return Se.current=parseInt(r.timestamp)})]):[3,4];case 3:e.sent(),e.label=4;case 4:return ye.current=!1,[3,7];case 5:return"AbortError"===(null==(l=e.sent())?void 0:l.name)?[2]:(console.error("Something went wrong while fetching version from Redis"),[3,7]);case 6:return me.current=!1,[7];case 7:return[2]}})})},[Re,M]);u.useVisibilityPolling((null==ke?void 0:ke.pollingEnabled)&&xe,De.current,Ue,[Me,xe,Re,Ue]),r.useEffect(function(){return Oe(),function(){var e;return null===(e=be.current)||void 0===e?void 0:e.abort()}},[Oe]),r.useEffect(function(){if(ke&&ke.pollingEnabled){var e=ke.pollingInterval;"number"==typeof e&&!isNaN(e)&&e>0&&(De.current=e)}},[ke]);var qe=r.useCallback(function(n){return e.__awaiter(f,void 0,void 0,function(){var r,t,l,a,o,u,i,s;return e.__generator(this,function(e){switch(e.label){case 0:if(!ce)return[2];null===(o=pe.current)||void 0===o||o.abort(),r=new AbortController,pe.current=r,ye.current&&J(!0),Y(null),console.log("loadData ranges: ",{selectedPreset:Re,currentRange:n}),e.label=1;case 1:return e.trys.push([1,3,4,5]),t={startDate:(null==ke?void 0:ke.pollingEnabled)&&n&&"custom"!==Re?n.startDate:ce.start,endDate:(null==ke?void 0:ke.pollingEnabled)&&n&&"custom"!==Re?n.endDate:ce.end,filters:ie},[4,T({configId:p,baseUrl:b},t,r.signal)];case 2:return l=e.sent(),K(l),(null==ke?void 0:ke.pollingEnabled)||Pe({}),De.current&&(null==Me?void 0:Me.pollingEnabled)&&(null==ke?void 0:ke.pollingInterval)&&(De.current=null!==(u=null==Me?void 0:Me.pollingInterval)&&void 0!==u?u:d,ye.current=!1),[3,5];case 3:return"AbortError"===(null==(a=e.sent())?void 0:a.name)?[2]:(Y(a),De.current&&(null==Me?void 0:Me.maxErrorInterval)&&(De.current=Math.min(De.current*(null!==(i=null==ke?void 0:ke.backoffMultiplier)&&void 0!==i?i:1.5),null!==(s=null==ke?void 0:ke.maxErrorInterval)&&void 0!==s?s:5e4)),[3,5]);case 4:return pe.current===r&&J(!1),[7];case 5:return[2]}})})},[p,b,ce,ie,T]),Le=r.useCallback(function(n,r){return e.__awaiter(f,void 0,void 0,function(){var t,l,a,o,u,i,s;return e.__generator(this,function(d){switch(d.label){case 0:if(!ce||!Ee.current.has(n)||he.current[n])return[2];t=new AbortController,he.current[n]=t,l=function(){return!Ee.current.has(n)||t.signal.aborted||he.current[n]!==t},Pe(function(r){var t,l,a,o,u,i,s,d;return e.__assign(e.__assign({},r),((t={})[n]={rows:null!==(a=null===(l=r[n])||void 0===l?void 0:l.rows)&&void 0!==a?a:[],cursor:null===(o=r[n])||void 0===o?void 0:o.cursor,hasMore:null!==(i=null===(u=r[n])||void 0===u?void 0:u.hasMore)&&void 0!==i&&i,loading:!0,loaded:null!==(d=null===(s=r[n])||void 0===s?void 0:s.loaded)&&void 0!==d&&d},t))}),d.label=1;case 1:return d.trys.push([1,3,4,5]),[4,O({configId:p,baseUrl:b},e.__assign({startDate:ce.start,endDate:ce.end,filters:ie,tableKey:n,pageSize:20},r?{cursor:r}:{}),t.signal)];case 2:return a=d.sent(),o=null!==(s=null===(i=a.table)||void 0===i?void 0:i[n])&&void 0!==s?s:[],l()?[2]:(Pe(function(r){var t,l,u=r[n];return u?e.__assign(e.__assign({},r),((t={})[n]={rows:e.__spreadArray(e.__spreadArray([],u.rows,!0),o,!0),cursor:null!==(l=a.nextCursor)&&void 0!==l?l:void 0,hasMore:a.hasNext,loading:!1,loaded:!0},t)):r}),[3,5]);case 3:return"AbortError"===(null==(u=d.sent())?void 0:u.name)||l()?[2]:(Pe(function(r){var t;return r[n]?e.__assign(e.__assign({},r),((t={})[n]=e.__assign(e.__assign({},r[n]),{loading:!1,hasMore:!1}),t)):r}),[3,5]);case 4:return he.current[n]===t&&delete he.current[n],[7];case 5:return[2]}})})},[p,b,ce,ie,O]),Ve=r.useCallback(function(n,r){var t;if(!r)return Ee.current.delete(n),null===(t=he.current[n])||void 0===t||t.abort(),delete he.current[n],void Pe(function(r){var t=r,l=n;return t[l],e.__rest(t,["symbol"==typeof l?l:l+""])});Ee.current.add(n),Le(n)},[Le]),Ne=r.useCallback(function(e){var n=Ae[e];(null==n?void 0:n.hasMore)&&!n.loading&&n.cursor&&Le(e,n.cursor)},[Le,Ae]);r.useEffect(function(){return function(){Ee.current.clear(),Object.values(he.current).forEach(function(e){return e.abort()})}},[]),r.useEffect(function(){return qe(),function(){var e;return null===(e=pe.current)||void 0===e?void 0:e.abort()}},[qe]),r.useEffect(function(){return function(){var e;return null===(e=_e.current)||void 0===e?void 0:e.abort()}},[]),r.useEffect(function(){!function(e){var n=Object.values(l.DATE_PRESETS).find(function(n){return n.value===e}),r=!(!n||!("pollingEnabled"in n)||!1===n.pollingEnabled);je(r)}(Re)},[Re]);var Ke=r.useCallback(function(e){if((null==e?void 0:e.startDate)&&(null==e?void 0:e.endDate)){var n=e.startDate.getTime(),r=e.endDate.getTime();fe.current&&fe.current.start===n&&fe.current.end===r||(fe.current={start:n,end:r},ve({start:e.startDate,end:e.endDate}))}null==x||x(e),J(!0)},[x]),Be=z||W&&!N;return X?A?n.jsx(n.Fragment,{children:A(X,Oe)}):n.jsxs("div",e.__assign({style:{padding:24,color:"#b91c1c"}},{children:["Failed to load dashboard: ",X.message,n.jsx("button",e.__assign({onClick:Oe,style:{marginLeft:12}},{children:"Retry"}))]})):!Be&&q&&N&&ce?(console.log("pollingEnabled: ",null==ke?void 0:ke.pollingEnabled,xe),n.jsx(t.ExecutiveDashboard,{uiConfig:q,data:N,dataLoading:W,startDate:ce.start,endDate:ce.end,onDateChange:Ke,onRefresh:function(){qe(),J(!0)},selectedKpis:re,onKpiChange:function(n,r){te(function(t){var l;return e.__assign(e.__assign({},t),((l={})[n]=r,l))})},sidebarVisible:$,onSidebarShow:function(){return ee(!0)},onSidebarHide:function(){return ee(!1)},filterValues:ae,onFilterChange:function(n,r){oe(function(t){var l;return e.__assign(e.__assign({},t),((l={})[n]=r,l))})},onFilterReset:function(){if(q){var e={};q.data.sidebarFilters.forEach(function(n){e[n.id]="multiSelect"===n.type?[]:""}),oe(e)}},onFilterApply:function(){se(ae),ee(!1),null==j||j(ae)},appliedFilters:ie,graphEmptyState:h,tables:_,tableLayout:E,sectionOrder:m,hiddenSections:D,tablePages:Ae,onTableExpand:Ve,onTableLoadMore:Ne,pollingEnabled:(null==ke?void 0:ke.pollingEnabled)&&xe,selectedPreset:Re,handlePresetChange:function(e){we(e)}})):F?n.jsx(n.Fragment,{children:F()}):n.jsx(a.DashboardSkeleton,{})}exports.ExecutiveDashboardWrapper=c,exports.default=c;
2
- //# sourceMappingURL=ExecutiveDashboardWrapper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExecutiveDashboardWrapper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../_virtual/_tslib.js"),e=function(e){function r(t,r){var n=e.call(this,t)||this;return n.name="DashboardApiError",n.status=r,n}return t.__extends(r,e),r}(Error),r=function(t){return t.replace(/\/+$/,"")};function n(r,n,a){var i;return t.__awaiter(this,void 0,void 0,function(){var s,o;return t.__generator(this,function(t){switch(t.label){case 0:return[4,fetch(r,{method:"POST",headers:{accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(n),signal:a})];case 1:if(!(s=t.sent()).ok)throw new e("Request failed with status ".concat(s.status),s.status);return[4,s.json()];case 2:if(!(o=t.sent()).success)throw new e((null===(i=o.error)||void 0===i?void 0:i.errorMessage)||"Request failed");return[2,o.data]}})})}function a(r,n){var a;return t.__awaiter(this,void 0,void 0,function(){var i,s;return t.__generator(this,function(t){switch(t.label){case 0:return[4,fetch(r,{method:"GET",headers:{accept:"application/json"},signal:n})];case 1:if(!(i=t.sent()).ok)throw new e("Request failed with status ".concat(i.status),i.status);return[4,i.json()];case 2:if(!(s=t.sent()).success)throw new e((null===(a=s.error)||void 0===a?void 0:a.errorMessage)||"Request failed");return[2,s.data]}})})}function i(e,a){var i=e.configId,s=e.baseUrl,o=void 0===s?"":s;return t.__awaiter(this,void 0,void 0,function(){return t.__generator(this,function(t){return[2,n("".concat(r(o),"/federated/filters/ui"),{config_id:i},a)]})})}function s(e,a){var i=e.configId,s=e.baseUrl,o=void 0===s?"":s;return t.__awaiter(this,void 0,void 0,function(){var e;return t.__generator(this,function(t){switch(t.label){case 0:return[4,n("".concat(r(o),"/federated/filters/distinct-value"),{config_id:i},a)];case 1:return[2,(null==(e=t.sent())?void 0:e.sidebarFilters)||{}]}})})}function o(t){void 0===t&&(t={});var e={};return Object.entries(t).forEach(function(t){var r=t[0],n=t[1];Array.isArray(n)?n.length>0&&(e[r]=n):""!==n&&null!=n&&(e[r]=[n])}),e}exports.DashboardApiError=e,exports.fetchCurrentConfigUIVersionFromRedis=function(e,n){var i=e.configId,s=void 0===i?"":i,o=e.baseUrl,c=void 0===o?"":o;return t.__awaiter(this,void 0,void 0,function(){return t.__generator(this,function(t){switch(t.label){case 0:return[4,a("".concat(r(null!=c?c:""),"/federated/filters/dashboard/").concat(s,"/last-updated/"),n)];case 1:return[2,t.sent()]}})})},exports.fetchDashboardData=function(e,a,i){var s=e.configId,c=e.baseUrl,u=void 0===c?"":c;return t.__awaiter(this,void 0,void 0,function(){var e;return t.__generator(this,function(t){return e={config_id:s,dateFilters:{startDate:a.startDate?a.startDate.toISOString():"",endDate:a.endDate?a.endDate.toISOString():""},sidebarFilters:o(a.filters)},[2,n("".concat(r(u),"/federated/filters/get-data"),e,i)]})})},exports.fetchTableData=function(e,a,i){var s,c=e.configId,u=e.baseUrl,d=void 0===u?"":u;return t.__awaiter(this,void 0,void 0,function(){return t.__generator(this,function(e){return[2,n("".concat(r(d),"/federated/filters/table-data"),t.__assign({config_id:c,dateFilters:{startDate:a.startDate?a.startDate.toISOString():"",endDate:a.endDate?a.endDate.toISOString():""},sidebarFilters:o(a.filters),tableKey:a.tableKey,pageSize:null!==(s=a.pageSize)&&void 0!==s?s:20},a.cursor?{cursor:a.cursor}:{}),i)]})})},exports.fetchUIConfig=function(e,r){return t.__awaiter(this,void 0,void 0,function(){var n,a,o;return t.__generator(this,function(c){switch(c.label){case 0:return[4,Promise.all([i(e,r),s(e,r)])];case 1:return n=c.sent(),a=n[0],o=n[1],[2,{data:t.__assign(t.__assign({},a),{sidebarFilters:(a.sidebarFilters||[]).map(function(e){return t.__assign(t.__assign({},e),{options:o[e.schemaFilterName]||[]})})})}]}})})};
2
- //# sourceMappingURL=dashboardApi.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashboardApi.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),n=require("./styles/DashboardCardStyles.js");exports.BreakingNewsBanner=function(r){var t=r.items,a=r.accentBg,i=r.accentBorder,_=r.accentText;if(0===t.length)return null;var l={backgroundColor:a,borderColor:i};return s.jsxs(s.Fragment,{children:[s.jsx("div",e.__assign({style:e.__assign(e.__assign({},n.default.newsBanner),l)},{children:s.jsx("p",e.__assign({style:e.__assign(e.__assign({},n.default.newsBannerTitle),{color:_})},{children:"Breaking News"}))})),t.map(function(r,a){return s.jsxs("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},n.default.newsItem),l),a===t.length-1?n.default.newsItemLast:{})},{children:[s.jsx("span",{style:e.__assign(e.__assign({},n.default.newsItemDot),{backgroundColor:n.NEWS_DOT_COLORS[r.level]})}),s.jsx("p",e.__assign({style:e.__assign(e.__assign({},n.default.newsItemText),{color:_})},{children:r.text}))]}),a)})]})};
2
- //# sourceMappingURL=BreakingNewsBanner.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),s=require("react"),n=require("./styles/DashboardCardStyles.js");exports.CardShell=function(a){for(var l=a.accent,r=a.iconBg,i=a.icon,c=a.title,o=a.badge,d=a.heroValue,h=a.heroLabel,u=a.heroColor,x=a.heroDelta,f=a.chartData,_=a.chartLabels,g=a.chartColor,y=a.chartPrefix,p=a.footer,j=a.children,v=s.useState(null),m=v[0],b=v[1],C=s.useRef(null),M=240,S=90,k=18,L=12,D=f&&f.length>0?Math.min.apply(Math,f):0,w=f&&f.length>0?Math.max.apply(Math,f):100,A=w-D===0?1:w-D,R=(f||[]).map(function(e,t){var s=f.length;return{x:s>1?k+t/(s-1)*204:120,y:78-(e-D)/A*66,value:e,index:t}}),W=R.length>0?"M ".concat(R[0].x," ").concat(R[0].y):"",T=0;T<R.length-1;T++){var q=R[T],B=R[T+1];W+=" C ".concat(q.x+(B.x-q.x)/3," ").concat(q.y,", ").concat(q.x+2*(B.x-q.x)/3," ").concat(B.y,", ").concat(B.x," ").concat(B.y)}var F,O,E=R.length>0?"".concat(W," L ").concat(R[R.length-1].x," ").concat(78," L ").concat(R[0].x," ").concat(78," Z"):"",H=null!==m?R[m]:null,P=function(e){return c.toLowerCase().includes("security")?String(Math.round(e)):"$"===y?"$".concat(e.toFixed(2)):e>=1e3?"".concat((e/1e3).toFixed(1),"K"):String(e)},V=function(e){if(!e)return"Recent";var t=e.split(":");if(t.length<2)return e;var s=parseInt(t[0],10),n=t[1],a=s>=12?"PM":"AM";return"".concat(s=s%12||12,":").concat(n," ").concat(a)},z=(F=c.toLowerCase(),O=l.toLowerCase(),F.includes("security")||O.includes("red")||O.includes("rose")?n.default.themeRose:F.includes("finops")||O.includes("violet")||O.includes("purple")?n.default.themeViolet:F.includes("health")||O.includes("sky")||O.includes("emerald")?n.default.themeSky:F.includes("change")||O.includes("amber")||O.includes("orange")?n.default.themeAmber:n.default.themeNeutral);return t.jsxs("div",e.__assign({style:n.default.card},{children:[t.jsx("style",{children:n.DASHBOARD_CARD_KEYFRAMES}),t.jsxs("div",e.__assign({style:e.__assign(e.__assign({},n.default.cardHeader),z)},{children:[t.jsxs("div",e.__assign({style:n.default.headerTop},{children:[t.jsxs("div",e.__assign({style:n.default.headerIconTitle},{children:[t.jsx("div",e.__assign({style:e.__assign(e.__assign({},n.default.iconWrap),{backgroundColor:r})},{children:i})),t.jsx("h3",e.__assign({style:n.default.title},{children:c}))]})),t.jsx("span",e.__assign({style:n.default.badge},{children:o}))]})),t.jsxs("div",e.__assign({style:n.default.heroRow},{children:[t.jsxs("div",e.__assign({style:n.default.hero},{children:[t.jsx("span",e.__assign({style:e.__assign(e.__assign({},n.default.heroValue),{color:u})},{children:d})),t.jsx("span",e.__assign({style:n.default.heroLabel},{children:h})),x&&t.jsx("span",e.__assign({style:e.__assign(e.__assign({},n.default.heroDelta),x.up?n.default.heroDeltaUp:n.default.heroDeltaDown)},{children:x.text}))]})),t.jsxs("div",e.__assign({style:n.default.chartCol},{children:[t.jsxs("div",e.__assign({style:n.default.chartHeader},{children:[t.jsx("span",{children:"Trend Timeline"}),H&&t.jsx("span",e.__assign({style:n.default.chartTooltip},{children:c.toLowerCase().includes("security")?"".concat(P(H.value)," alerts at ").concat(_?V(_[H.index]):""):"".concat(_?"".concat(V(_[H.index]),": "):"").concat(P(H.value))}))]})),t.jsx("div",e.__assign({style:n.default.chartWrap},{children:f&&f.length>1?t.jsxs("svg",e.__assign({ref:C,viewBox:"0 0 ".concat(M," ").concat(S),style:n.default.chartSvg,onMouseMove:function(e){if(C.current&&0!==R.length){for(var t=C.current.getBoundingClientRect(),s=(e.clientX-t.left)/t.width*M,n=0,a=Math.abs(R[0].x-s),l=1;l<R.length;l++){var r=Math.abs(R[l].x-s);r<a&&(a=r,n=l)}b(n)}},onMouseLeave:function(){return b(null)}},{children:[t.jsx("defs",{children:t.jsxs("linearGradient",e.__assign({id:"grad-".concat(c.replace(/\s+/g,"")),x1:"0",y1:"0",x2:"0",y2:"1"},{children:[t.jsx("stop",{offset:"0%",stopColor:g,stopOpacity:.12}),t.jsx("stop",{offset:"100%",stopColor:g,stopOpacity:0})]}))}),t.jsx("text",e.__assign({x:12,y:15,textAnchor:"end",style:{fontSize:8,fontWeight:900,letterSpacing:"-0.05em",fill:"#020617"}},{children:P(w)})),t.jsx("text",e.__assign({x:12,y:81,textAnchor:"end",style:{fontSize:8,fontWeight:900,letterSpacing:"-0.05em",fill:"#020617"}},{children:P(D)})),t.jsx("path",{d:E,fill:"url(#grad-".concat(c.replace(/\s+/g,""),")")}),t.jsx("path",{d:W,fill:"none",stroke:g,strokeWidth:1.75,strokeLinecap:"round",strokeLinejoin:"round"}),H?t.jsxs(t.Fragment,{children:[t.jsx("line",{x1:H.x,y1:L,x2:H.x,y2:78,stroke:"#64748b",strokeWidth:.75,strokeDasharray:"2,2"}),t.jsx("circle",{cx:H.x,cy:H.y,r:4,fill:g,opacity:.2}),t.jsx("circle",{cx:H.x,cy:H.y,r:2,fill:g,stroke:"#ffffff",strokeWidth:1})]}):R.length>0&&t.jsx("circle",{cx:R[R.length-1].x,cy:R[R.length-1].y,r:2.5,fill:g})]})):t.jsx("span",e.__assign({style:n.default.chartEmpty},{children:"No live telemetry"}))}))]}))]}))]})),t.jsx("div",e.__assign({style:n.default.body},{children:j})),p&&t.jsx("div",e.__assign({style:n.default.footer},{children:p}))]}))};
2
- //# sourceMappingURL=CardShell.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),l=require("./styles/DashboardCardStyles.js"),r=require("./TopDropdownMenu.js");exports.CenteredCell=function(n){var o=n.item;return s.jsxs("div",e.__assign({style:l.default.centeredCell,onClick:o.onClick},{children:[o.dropdown&&s.jsx(r.TopDropdownMenu,{config:o.dropdown}),s.jsx("div",e.__assign({style:l.default.centeredCellLabel},{children:o.label})),s.jsx("div",e.__assign({style:e.__assign(e.__assign({},l.default.centeredCellValue),o.valueColor?{color:o.valueColor}:{})},{children:o.value})),o.sub&&s.jsx("div",e.__assign({style:e.__assign(e.__assign({},l.default.centeredCellSub),o.subColor?{color:o.subColor}:{})},{children:o.sub}))]}))};
2
- //# sourceMappingURL=CenteredCell.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),t=require("react"),n=require("./styles/DashboardCardStyles.js"),o=require("./CardShell.js"),a=require("./SkeletonRow.js"),i=require("./BreakingNewsBanner.js"),l=require("./SectionHeadingBar.js"),s=require("./FooterLinkButton.js"),c=require("./sectionContent.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=u(t);exports.DashboardCard=function(t){var u=t.accent,h=t.iconBg,g=t.icon,f=t.title,j=t.badge,b=void 0===j?"Today":j,x=t.heroValue,C=t.heroLabel,B=t.heroColor,_=t.heroDelta,k=t.chartData,q=t.chartLabels,v=t.chartColor,p=void 0===v?"#6366f1":v,L=t.chartPrefix,y=void 0===L?"":L,S=t.loading,m=t.footer,D=t.footerLinks,w=t.breakingNews,F=t.accentBg,N=t.accentBorder,P=t.accentText,T=t.sections,H=null!=m?m:D&&D.length>0?r.jsx("div",e.__assign({style:e.__assign(e.__assign({},n.default.footerLinks),D.length>1?n.default.footerLinksMulti:{})},{children:D.map(function(e,t){return r.jsx(s.FooterLinkButton,{label:e.label,onClick:e.onClick},t)})})):null;return r.jsx(o.CardShell,e.__assign({accent:u,iconBg:h,icon:g,title:f,badge:b,heroValue:x,heroLabel:C,heroColor:B,heroDelta:_,chartData:null!=k?k:null,chartLabels:q,chartColor:p,chartPrefix:y,footer:H},{children:S?r.jsx(r.Fragment,{children:[0,1,2].map(function(e){return r.jsx(a.SkeletonRow,{},e)})}):r.jsxs("div",e.__assign({style:n.default.bodyContent},{children:[r.jsx(i.BreakingNewsBanner,{items:w,accentBg:F,accentBorder:N,accentText:P}),T.map(function(e,t){return r.jsxs(d.default.Fragment,{children:[r.jsx(l.SectionHeadingBar,{label:e.heading,color:e.headingColor,dotColor:e.dotColor,count:e.count,pulse:e.pulse}),c.renderSectionContent(e)]},t)})]}))}))};
2
- //# sourceMappingURL=DashboardCard.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),a=require("react"),t=require("lucide-react"),i=require("./styles/DashboardCardStyles.js");exports.DetailRow=function(l){var r=l.label,n=l.value,o=l.sub,u=l.onClick,d=l.valueColor,_=a.useState(!1),c=_[0],f=_[1],g=u?"button":"div";return s.jsxs(g,e.__assign({onClick:u,onMouseEnter:function(){return u&&f(!0)},onMouseLeave:function(){return u&&f(!1)},style:e.__assign(e.__assign(e.__assign({},i.default.detailRow),u?i.default.detailRowClickable:{}),u&&c?{backgroundColor:"#f8fafc"}:{})},{children:[s.jsxs("div",e.__assign({style:i.default.detailRowMain},{children:[s.jsx("p",e.__assign({style:i.default.detailRowLabel},{children:r})),s.jsx("p",e.__assign({style:e.__assign(e.__assign({},i.default.detailRowValue),d?{color:d}:{})},{children:n})),o&&s.jsx("p",e.__assign({style:i.default.detailRowSub},{children:o}))]})),u&&s.jsx(t.ChevronRight,{size:14,style:e.__assign(e.__assign({},i.default.detailRowChevron),c?i.default.detailRowChevronHover:{})})]}))};
2
- //# sourceMappingURL=DetailRow.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),s=require("react"),n=require("lucide-react"),a=require("./styles/DashboardCardStyles.js"),l={BLOCKED:{action:"Request blocked — review policy rule",color:a.ACTION_COLORS.BLOCKED},FLAGGED:{action:"Flagged for review — investigate source",color:a.ACTION_COLORS.FLAGGED},ALLOWED:{action:"Allowed through — monitor for patterns",color:a.ACTION_COLORS.ALLOWED}};function i(e){var t=Math.floor((Date.now()-e.getTime())/1e3);if(t<60)return"just now";var s=Math.floor(t/60);if(s<60)return"".concat(s,"m ago");var n=Math.floor(s/60);return n<24?"".concat(n,"h ago"):"".concat(Math.floor(n/24),"d ago")}var r=function(r){var o,d,u,c,_=r.event,g=s.useState(!1),f=g[0],v=g[1],y=s.useState(!1),h=y[0],m=y[1],x=s.useState(!1),j=x[0],S=x[1],T=null!==(o=a.SEV_BADGE_STYLES[_.severity])&&void 0!==o?o:a.SEV_BADGE_DEFAULT,L=_.status&&null!==(d=l[_.status])&&void 0!==d?d:null;return t.jsxs("div",e.__assign({style:a.default.eventRowWrap},{children:[t.jsxs("button",e.__assign({onClick:function(){return v(!0)},onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)},style:e.__assign(e.__assign({},a.default.eventRow),h?a.default.eventRowHover:{})},{children:[t.jsx("span",{style:e.__assign(e.__assign({},a.default.eventRowDot),{backgroundColor:null!==(u=a.SEV_DOT_COLORS[_.severity])&&void 0!==u?u:"#cbd5e1"})}),t.jsx("p",e.__assign({style:a.default.eventRowTitle},{children:_.title})),t.jsx("span",e.__assign({style:a.default.eventRowTime},{children:i(_.timestamp)})),t.jsx(n.ChevronRight,{size:10,style:a.default.eventRowChevron})]})),f&&t.jsx("div",e.__assign({style:a.default.modalOverlay},{children:t.jsxs("div",e.__assign({style:a.default.modal},{children:[t.jsxs("div",e.__assign({style:a.default.modalHeader},{children:[t.jsxs("div",e.__assign({style:a.default.modalHeaderLeft},{children:[t.jsx("span",e.__assign({style:e.__assign(e.__assign({},a.default.modalBadge),T)},{children:_.severity})),_.status&&t.jsx("span",e.__assign({style:e.__assign(e.__assign({},a.default.modalStatusBadge),null!==(c=a.STATUS_BADGE_STYLES[_.status])&&void 0!==c?c:a.STATUS_BADGE_DEFAULT)},{children:_.status})),t.jsx("span",e.__assign({style:a.default.modalTitle},{children:_.title}))]})),t.jsx("button",e.__assign({onClick:function(){return v(!1)},style:a.default.modalClose,onMouseEnter:function(e){e.currentTarget.style.color="#475569",e.currentTarget.style.backgroundColor="rgba(226,232,240,0.5)"},onMouseLeave:function(e){e.currentTarget.style.color="#94a3b8",e.currentTarget.style.backgroundColor="transparent"}},{children:t.jsx(n.X,{size:14})}))]})),t.jsxs("div",e.__assign({style:a.default.modalBody},{children:[_.triageSummary&&t.jsxs("div",{children:[t.jsx("h4",e.__assign({style:a.default.modalSectionTitle},{children:"Summary"})),t.jsx("p",e.__assign({style:a.default.modalSummaryText},{children:_.triageSummary}))]}),_.details&&_.details.length>0&&t.jsxs("div",e.__assign({style:a.default.modalBodySpacer},{children:[t.jsx("h4",e.__assign({style:e.__assign(e.__assign({},a.default.modalSectionTitle),a.default.modalSectionTitleTight)},{children:"Metadata Details"})),t.jsx("div",e.__assign({style:a.default.modalDetailsGrid},{children:_.details.map(function(s){return t.jsxs("div",e.__assign({style:a.default.modalDetail},{children:[t.jsx("span",e.__assign({style:a.default.modalDetailLabel},{children:s.label})),t.jsx("span",e.__assign({style:a.default.modalDetailValue},{children:s.value}))]}),s.label)})}))]})),_.incidentUrl&&t.jsx("div",e.__assign({style:e.__assign(e.__assign({},a.default.modalLinkRow),a.default.modalBodySpacer)},{children:t.jsx("a",e.__assign({href:_.incidentUrl,target:"_blank",rel:"noopener noreferrer",style:a.default.modalLink,onMouseEnter:function(e){e.currentTarget.style.color="#4338ca",e.currentTarget.style.textDecoration="underline"},onMouseLeave:function(e){e.currentTarget.style.color="#6366f1",e.currentTarget.style.textDecoration="none"}},{children:"View External Incident →"}))}))]})),L&&t.jsx("div",e.__assign({style:a.default.modalActionRow},{children:t.jsxs("button",e.__assign({onClick:function(){var e;v(!1),null===(e=_.onAction)||void 0===e||e.call(_)},onMouseEnter:function(){return S(!0)},onMouseLeave:function(){return S(!1)},style:e.__assign(e.__assign({},a.default.modalActionBtn),j?a.default.modalActionBtnHover:{})},{children:[t.jsx("span",e.__assign({style:e.__assign(e.__assign({},a.default.modalActionText),{color:L.color})},{children:L.action})),t.jsx(n.ChevronRight,{size:12,style:e.__assign(e.__assign(e.__assign({},a.default.modalActionChevron),{color:L.color}),j?a.default.modalActionChevronHover:{})})]}))}))]}))}))]}))};exports.renderEventsSection=function(e){return t.jsx("div",{children:e.map(function(e){return t.jsx(r,{event:e},e.id)})})};
2
- //# sourceMappingURL=EventsSection.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),t=require("lucide-react"),n=require("./styles/DashboardCardStyles.js");exports.FooterLinkButton=function(o){var s=o.label,u=o.onClick;return r.jsxs("button",e.__assign({onClick:u,style:n.default.footerLink,onMouseEnter:function(e){return e.currentTarget.style.color="#4338ca"},onMouseLeave:function(e){return e.currentTarget.style.color="#6366f1"}},{children:[s," ",r.jsx(t.ChevronRight,{size:11})]}))};
2
- //# sourceMappingURL=FooterLinkButton.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime"),i=require("./styles/DashboardCardStyles.js"),l=require("./CenteredCell.js"),s=require("./TopDropdownMenu.js"),n=require("./DetailRow.js");exports.renderGridSection=function(d,o,a){for(var t=[],u=0;u<d.length;u+=o)t.push(d.slice(u,u+o));return r.jsx("div",{children:t.map(function(d,t){return r.jsx("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},i.default.gridRow),{gridTemplateColumns:"repeat(".concat(o,", minmax(0, 1fr))")}),t>0?i.default.gridRowDivider:{})},{children:d.map(function(d,o){return r.jsx("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},i.default.gridCell),a?{}:i.default.gridCellPadded),o>0?i.default.gridCellDivider:{})},{children:a?r.jsx(l.CenteredCell,{item:d}):r.jsxs(r.Fragment,{children:[d.dropdown&&r.jsx(s.TopDropdownMenu,{config:d.dropdown}),r.jsx("div",e.__assign({style:i.default.gridCellInner,onClick:d.dropdown?d.onClick:void 0},{children:r.jsx(n.DetailRow,{label:d.label,value:d.value,sub:d.sub,onClick:d.dropdown?void 0:d.onClick,valueColor:d.valueColor})}))]})}),o)})}),t)})})};
2
- //# sourceMappingURL=GridSection.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),i=require("react"),t=require("./styles/DashboardCardStyles.js"),n=function(n){var l,r,a=n.item,o=n.compact,u=i.useState(!1),d=u[0],c=u[1];return s.jsx("div",e.__assign({style:e.__assign(e.__assign(e.__assign({},t.default.listRow),o?t.default.listRowCompact:{}),d?t.default.listRowHover:{}),onClick:a.onClick,onMouseEnter:function(){return c(!0)},onMouseLeave:function(){return c(!1)}},{children:o?s.jsxs(s.Fragment,{children:[s.jsx("span",{style:e.__assign(e.__assign({},t.default.listRowDot),{backgroundColor:null!==(l=a.dotColor)&&void 0!==l?l:"#cbd5e1",animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"})}),s.jsx("p",e.__assign({style:t.default.alertRowValue},{children:a.value})),a.sub&&s.jsx("span",e.__assign({style:t.default.alertRowSub},{children:a.sub}))]}):s.jsxs(s.Fragment,{children:[s.jsx("span",{style:e.__assign(e.__assign({},t.default.listRowDot),{backgroundColor:null!==(r=a.dotColor)&&void 0!==r?r:"#cbd5e1"})}),s.jsxs("div",e.__assign({style:t.default.listRowMain},{children:[s.jsx("p",e.__assign({style:t.default.listRowValue},{children:a.value})),a.sub&&s.jsx("p",e.__assign({style:t.default.listRowSub},{children:a.sub}))]})),s.jsx("span",e.__assign({style:t.default.listRowLabel},{children:a.label}))]})}))};exports.renderAlertsSection=function(i){return s.jsx("div",{children:i.map(function(i,l){return s.jsx("div",e.__assign({style:l>0?t.default.listRowDivider:void 0},{children:s.jsx(n,{item:i,compact:!0})}),l)})})},exports.renderListSection=function(i){return s.jsx("div",{children:i.map(function(i,l){return s.jsx("div",e.__assign({style:l>0?t.default.listRowDivider:void 0},{children:s.jsx(n,{item:i})}),l)})})};
2
- //# sourceMappingURL=ListSection.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),i=require("./styles/DashboardCardStyles.js");exports.SectionHeadingBar=function(n){var a=n.label,t=n.color,l=n.dotColor,r=n.count,o=n.pulse;return s.jsxs("div",e.__assign({style:e.__assign(e.__assign({},i.default.sectionHeading),null!=t?t:i.default.sectionHeadingDefault)},{children:[l&&s.jsx("span",{style:e.__assign(e.__assign(e.__assign({},i.default.sectionHeadingDot),{backgroundColor:l}),o?{animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"}:{})}),s.jsx("p",e.__assign({style:i.default.sectionHeadingLabel},{children:a})),void 0!==r&&s.jsx("span",e.__assign({style:i.default.sectionHeadingCount},{children:r}))]}))};
2
- //# sourceMappingURL=SectionHeadingBar.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),t=require("./styles/DashboardCardStyles.js");exports.SkeletonRow=function(){return s.jsxs("div",e.__assign({style:t.default.skeletonRow},{children:[s.jsx("div",{style:e.__assign(e.__assign({},t.default.skeletonLine),t.default.skeletonLineTitle)}),s.jsx("div",{style:e.__assign(e.__assign({},t.default.skeletonLine),t.default.skeletonLineValue)})]}))};
2
- //# sourceMappingURL=SkeletonRow.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("../../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),t=require("./styles/DashboardCardStyles.js");exports.renderTagsSection=function(a){var l,n;return e.jsxs("div",s.__assign({style:t.default.tags},{children:[e.jsx("div",s.__assign({style:t.default.tagsTop},{children:e.jsxs("div",s.__assign({style:t.default.tagsMeta},{children:[e.jsx("span",s.__assign({style:t.default.tagsLabel},{children:a.label})),e.jsxs("span",s.__assign({style:t.default.tagsCount},{children:[a.count," ",null!==(l=a.countSuffix)&&void 0!==l?l:1===a.count?"Item":"Items"]}))]}))})),e.jsx("div",s.__assign({style:t.default.tagsList},{children:a.tags.length>0?a.tags.map(function(a,l){var n;return e.jsxs("span",s.__assign({style:t.default.tag},{children:[e.jsx("span",{style:s.__assign(s.__assign({},t.default.tagDot),{backgroundColor:null!==(n=a.dotColor)&&void 0!==n?n:"#94a3b8"})}),a.label]}),l)}):e.jsx("span",s.__assign({style:t.default.tagsEmpty},{children:null!==(n=a.emptyText)&&void 0!==n?n:"No items detected"}))}))]}))};
2
- //# sourceMappingURL=TagsSection.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),r=require("react"),t=require("./styles/DashboardCardStyles.js");exports.TopDropdownMenu=function(s){var o=s.config,a=r.useState(!1),i=a[0],l=a[1];return n.jsxs(n.Fragment,{children:[n.jsxs("button",e.__assign({onClick:function(e){e.stopPropagation(),l(!i)},style:e.__assign(e.__assign({},t.default.dropdownTrigger),i?t.default.dropdownTriggerOpen:t.default.dropdownTriggerClosed)},{children:["Top ",o.items.length," ▾"]})),i&&n.jsx("div",e.__assign({style:t.default.dropdownPanel,onMouseLeave:function(){return l(!1)}},{children:n.jsxs("div",e.__assign({style:t.default.dropdownInner},{children:[n.jsx("span",e.__assign({style:t.default.dropdownTitle},{children:o.title})),o.items.map(function(r,s){return n.jsxs("button",e.__assign({onClick:function(e){var n;e.stopPropagation(),null===(n=o.onClick)||void 0===n||n.call(o)},style:t.default.dropdownItem,onMouseEnter:function(e){return e.currentTarget.style.backgroundColor="#f8fafc"},onMouseLeave:function(e){return e.currentTarget.style.backgroundColor="transparent"}},{children:[n.jsxs("span",e.__assign({style:t.default.dropdownItemName},{children:[s+1,". ",r.name]})),n.jsx("span",e.__assign({style:t.default.dropdownItemValue},{children:r.value}))]}),s)})]}))}))]})};
2
- //# sourceMappingURL=TopDropdownMenu.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),s=require("react"),i=require("primereact/button"),a=require("lucide-react"),n=require("../DatePickers/DateSelector.js"),l=require("./datePreset.js");exports.default=function(r){var o,u,d,c,v=r.presets,f=void 0===v?l.DEFAULT_DATE_PRESETS:v,h=r.filterCount,x=void 0===h?0:h,m=r.liveDuration,p=void 0===m?3e4:m,g=r.onDateChange,j=r.onRefresh,_=r.isRefreshLoading,D=r.onFilterClick,q=r.showFilterButton,b=void 0===q||q,C=r.showLiveButton,N=void 0===C||C,E=r.showFilterCount,k=void 0!==E&&E,y=r.datePickerProps,w=r.initialStartDate,F=r.initialEndDate;r.defaultPresets;var P=r.pollingEnabled,R=void 0!==P&&P,S=r.selectedPreset,B=void 0===S?"today":S,T=r.handlePresetChange,L=s.useState(!0),A=L[0],z=L[1],W=s.useState(w||null),I=W[0],M=W[1],O=s.useState(F||null),U=O[0],G=O[1];s.useEffect(function(){M(w||null),G(F||null)},[w,F]);var H=s.useState(!1),J=H[0],K=H[1];s.useEffect(function(){var e=setTimeout(function(){z(!1)},p);return function(){return clearTimeout(e)}},[B,p]),s.useEffect(function(){if("custom"!==B){var e=f.find(function(e){return e.value===B});if(e&&e.getRange){var t=e.getRange();null==g||g({preset:B,startDate:t.startDate,endDate:t.endDate})}}},[B,f,g]);var Q=f;return t.jsxs("div",e.__assign({className:"q-date-filter"},{children:[t.jsxs("div",e.__assign({className:"q-date-filter-toolbar"},{children:[t.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"}},{children:[t.jsx("div",e.__assign({className:"q-preset-container"},{children:null==Q?void 0:Q.map(function(s){return t.jsx("button",e.__assign({className:"q-preset-btn ".concat(B===(null==s?void 0:s.value)?"active":""),onClick:function(){return null==T?void 0:T(null==s?void 0:s.value)}},{children:null==s?void 0:s.label}),null==s?void 0:s.value)})})),N&&(A&&!R?t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t.jsxs("div",e.__assign({className:"q-live-chip"},{children:[t.jsx("span",{className:"q-live-dot"}),"Live Data"]}))]}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"q-date-separator",style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t.jsxs(i.Button,e.__assign({className:"q-refresh-btn",onClick:j},{children:[t.jsx(a.RefreshCw,{size:16,strokeWidth:2.5,className:_?"q-spin":""}),t.jsx("span",{children:_?"Refreshing...":"Refresh"})]}))]}))]})),b&&t.jsxs("button",e.__assign({className:"q-filter-btn",onClick:D},{children:[t.jsx(a.ListFilter,{size:12.5}),"Filters",k&&x>0&&t.jsx("span",e.__assign({className:"q-filter-badge"},{children:x}))]}))]})),"custom"===B&&t.jsxs("div",e.__assign({className:"q-custom-container"},{children:[t.jsx(n.default,{label:"From",value:I,minDate:null===(o=null==y?void 0:y.from)||void 0===o?void 0:o.minDate,maxDate:null!=U?U:null===(u=null==y?void 0:y.from)||void 0===u?void 0:u.maxDate,onChange:function(e){M(e),K(!1)},styles:{root:{width:"250px"}}}),t.jsx(n.default,{label:"To",value:U,minDate:null!=I?I:null===(d=null==y?void 0:y.to)||void 0===d?void 0:d.minDate,maxDate:null===(c=null==y?void 0:y.to)||void 0===c?void 0:c.maxDate,onChange:function(e){G(e),K(!1)},styles:{root:{width:"250px"}}}),t.jsx(i.Button,{className:"q-apply-btn",label:"Apply Range",disabled:!I||!U||J,onClick:function(){I&&U&&(null==g||g({preset:"custom",startDate:I,endDate:U}),K(!0))}})]}))]}))};
2
- //# sourceMappingURL=DashboardDateFilter.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e={today:{label:"Today",value:"today",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),endDate:e}}},"1hour":{label:"1 Hour",value:"1hour",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setHours(t.getHours()-1),{startDate:t,endDate:e}}},"3hours":{label:"3 Hours",value:"3hours",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setHours(t.getHours()-3),{startDate:t,endDate:e}}},"6hours":{label:"6 Hours",value:"6hours",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setHours(t.getHours()-6),{startDate:t,endDate:e}}},"12hours":{label:"12 Hours",value:"12hours",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setHours(t.getHours()-12),{startDate:t,endDate:e}}},yesterday:{label:"Yesterday",value:"yesterday",pollingEnabled:!1,getRange:function(){var e=new Date;return e.setDate(e.getDate()-1),{startDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),endDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59)}}},"7days":{label:"7 Days",value:"7days",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-6),{startDate:t,endDate:e}}},"15days":{label:"15 Days",value:"15days",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-14),{startDate:t,endDate:e}}},"30days":{label:"30 Days",value:"30days",pollingEnabled:!0,getRange:function(){var e=new Date,t=new Date;return t.setDate(t.getDate()-29),{startDate:t,endDate:e}}},thisMonth:{label:"This Month",value:"thisMonth",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),1),endDate:e}}},lastMonth:{label:"Last Month",value:"lastMonth",pollingEnabled:!1,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-1,1),endDate:new Date(e.getFullYear(),e.getMonth(),0,23,59,59)}}},last3Months:{label:"Last 3 Months",value:"last3Months",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-3,e.getDate()),endDate:e}}},"6months":{label:"6 Months",value:"6months",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth()-6,e.getDate()),endDate:e}}},"1year":{label:"1 Year",value:"1year",pollingEnabled:!0,getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear()-1,e.getMonth(),e.getDate()),endDate:e}}},custom:{label:"Custom",value:"custom"}},t=[e.today,e["1hour"],e["3hours"],e["6hours"],e["12hours"],e.yesterday,e["7days"],e["15days"],e["30days"],e.thisMonth,e.lastMonth,e.last3Months,e.custom],a=null==t?void 0:t.reduce(function(e,t){return e[t.value]=t,e},{});exports.DATE_PRESETS=e,exports.DATE_PRESET_MAP=a,exports.DEFAULT_DATE_PRESETS=t;
2
- //# sourceMappingURL=datePreset.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime");function l(){return s.jsxs("div",e.__assign({className:"q-skeleton","aria-busy":"true","aria-live":"polite"},{children:[s.jsxs("div",e.__assign({className:"q-skeleton-toolbar"},{children:[s.jsxs("div",e.__assign({className:"q-skeleton-presets"},{children:[s.jsx("div",{className:"q-skeleton-pill q-skeleton-pill--wide"}),s.jsx("div",{className:"q-skeleton-pill"}),s.jsx("div",{className:"q-skeleton-pill"}),s.jsx("div",{className:"q-skeleton-pill"})]})),s.jsx("div",{className:"q-skeleton-pill q-skeleton-pill--filter"})]})),s.jsxs("div",e.__assign({className:"q-skeleton-card q-skeleton-graph"},{children:[s.jsxs("div",e.__assign({className:"q-skeleton-graph-header"},{children:[s.jsxs("div",{children:[s.jsx("div",{className:"q-skeleton-line q-skeleton-line--title"}),s.jsx("div",{className:"q-skeleton-line q-skeleton-line--subtitle"})]}),s.jsx("div",{className:"q-skeleton-pill q-skeleton-pill--selector"})]})),s.jsx("div",e.__assign({className:"q-skeleton-graph-body"},{children:s.jsx("svg",e.__assign({viewBox:"0 0 400 140",className:"q-skeleton-sparkline",preserveAspectRatio:"none"},{children:s.jsx("polyline",{points:"0,110 30,90 60,100 90,60 120,80 150,40 180,70 210,50 240,85 270,55 300,95 330,65 360,90 400,70",fill:"none",className:"q-skeleton-sparkline-path"})}))}))]})),s.jsx("div",e.__assign({className:"q-skeleton-kpis"},{children:[0,1,2].map(function(l){return s.jsxs("div",e.__assign({className:"q-skeleton-card q-skeleton-kpi"},{children:[s.jsx("div",{className:"q-skeleton-line q-skeleton-line--label"}),s.jsx("div",{className:"q-skeleton-line q-skeleton-line--value"}),s.jsx("div",{className:"q-skeleton-line q-skeleton-line--sublabel"})]}),l)})}))]}))}exports.DashboardSkeleton=l,exports.default=l;
2
- //# sourceMappingURL=DashboardSkeleton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DashboardSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),a=require("react"),t=["Mo","Tu","We","Th","Fr","Sa","Su"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],r=function(e){var n=new Date(e);return n.setHours(0,0,0,0),n};exports.default=function(c){var i=c.value,l=c.onChange,o=c.minDate,u=c.maxDate,d=new Date,_=a.useState(null!=i?i:d),h=_[0],g=_[1],m=a.useState("day"),y=m[0],f=m[1],j=null!=i?i:d,x=a.useState(new Date(j.getFullYear(),j.getMonth(),1)),D=x[0],p=x[1],b=D.getFullYear(),v=D.getMonth(),k=16*Math.floor(b/16),N=new Date(b,v+1,0).getDate(),w=new Date(b,v,1).getDay(),S=function(e){var n=r(e);return!!(o&&n<r(o))||!!(u&&n>r(u))},M=function(e){return S(new Date(b,v,e))},C=S(d),F=0===w?6:w-1,Y=Array.from({length:F+N},function(e,n){return n<F?null:n-F+1}),A=function(e){return e===d.getDate()&&v===d.getMonth()&&b===d.getFullYear()},q=function(e){return h&&e===h.getDate()&&v===h.getMonth()&&b===h.getFullYear()};return n.jsxs("div",e.__assign({className:"date-picker"},{children:[n.jsxs("div",e.__assign({className:"date-picker__header"},{children:[n.jsx("button",e.__assign({className:"nav-btn",onClick:function(){p("day"===y?new Date(b,v-1,1):"month"===y?new Date(b-1,v,1):new Date(b-16,v,1))}},{children:"‹"})),n.jsx("span",e.__assign({className:"month-label"},{children:"year"===y?"".concat(k," – ").concat(k+15):"month"===y?b.toString():n.jsxs(n.Fragment,{children:[n.jsx("span",e.__assign({className:"month-label-click",onClick:function(){return f("month")}},{children:D.toLocaleString("default",{month:"long"})}))," ",n.jsx("span",e.__assign({className:"year-label-click",onClick:function(){return f("year")}},{children:b}))]})})),n.jsx("button",e.__assign({className:"nav-btn",onClick:function(){p("day"===y?new Date(b,v+1,1):"month"===y?new Date(b+1,v,1):new Date(b+16,v,1))}},{children:"›"}))]})),n.jsxs("div",e.__assign({className:"date-picker__top-actions"},{children:[n.jsx("div",e.__assign({className:"selected-date"},{children:h?h.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"Select date"})),n.jsx("button",e.__assign({className:"today-btn ".concat(C?"today-btn--disabled":""),onClick:function(){p(new Date(d.getFullYear(),d.getMonth(),1)),g(d),f("day"),null==l||l(d)},disabled:C},{children:"Today"}))]})),"month"===y&&n.jsx("div",e.__assign({className:"date-picker__month-grid"},{children:s.map(function(a,t){return n.jsx("button",e.__assign({className:"month-cell".concat(t===v?" month-cell--selected":""),onClick:function(){p(new Date(b,t,1)),f("day")}},{children:a}),a)})})),"year"===y&&n.jsx("div",e.__assign({className:"date-picker__year-grid"},{children:Array.from({length:16},function(e,n){return k+n}).map(function(a){return n.jsx("button",e.__assign({className:"year-cell".concat(a===b?" year-cell--selected":""),onClick:function(){p(new Date(a,v,1)),f("month")}},{children:a}),a)})})),"day"===y&&n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:"date-picker__weekdays"},{children:t.map(function(e){return n.jsx("span",{children:e},e)})})),n.jsx("div",e.__assign({className:"date-picker__days"},{children:Y.map(function(a,t){return a?n.jsx("button",e.__assign({disabled:M(a),className:["day",A(a)&&"day--today",q(a)&&"day--selected",M(a)&&"day--disabled"].filter(Boolean).join(" "),onClick:function(){return function(e){if(!M(e)){var n=new Date(b,v,e);g(n),null==l||l(n)}}(a)}},{children:a}),t):n.jsx("span",{},t)})}))]})]}))};
2
- //# sourceMappingURL=DatePicker.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),n=require("react"),a=require("lucide-react"),s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],r=["Mo","Tu","We","Th","Fr","Sa","Su"];function i(e){var t=new Date(e);return t.setHours(0,0,0,0),t}function o(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function l(e,t){var n=new Date(e);return n.setMonth(n.getMonth()+t),n}function c(e){return e?e.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):""}exports.default=function(d){var u=d.value,_=d.onChange,g=d.placeholder,h=void 0===g?"Select date":g,m=d.disabled,f=void 0!==m&&m,v=d.isOpen,p=void 0!==v&&v,x=d.minDate,j=d.maxDate,y=d.className,D=d.endIcon,b=void 0!==D&&D,N=n.useRef(null),M=n.useState(p),w=M[0],F=M[1],k=n.useState("day"),S=k[0],Y=k[1],C=n.useMemo(function(){if(!u.end)return u;var e=new Date(u.end);return e.setDate(e.getDate()-1),{start:u.start,end:e}},[u.start,u.end]),T=n.useState(C.start),L=T[0],E=T[1],q=n.useState(C.end),z=q[0],A=q[1],B=n.useState(function(){var e,t,n=null!==(t=null!==(e=C.start)&&void 0!==e?e:C.end)&&void 0!==t?t:new Date;return new Date(n.getFullYear(),n.getMonth(),1)}),J=B[0],O=B[1],R=16*Math.floor(J.getFullYear()/16);n.useEffect(function(){var e;E(C.start),A(C.end);var t=null!==(e=C.start)&&void 0!==e?e:C.end;t&&O(new Date(t.getFullYear(),t.getMonth(),1))},[C.start,C.end]),n.useEffect(function(){var e=function(e){w&&N.current&&!N.current.contains(e.target)&&(F(!1),Y("day"),E(C.start),A(C.end))};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[w,C.start,C.end]);var U=n.useMemo(function(){for(var e,t=J.getFullYear(),n=J.getMonth(),a=(new Date(t,n,1).getDay()+6)%7,s=new Date(t,n+1,0).getDate(),r=[],i=0;i<a;i++)r.push({date:new Date(t,n,1-(a-i)),inMonth:!1});for(var o=1;o<=s;o++)r.push({date:new Date(t,n,o),inMonth:!0});for(var l=42-r.length,c=0;c<l;c++){var d=null===(e=r[r.length-1])||void 0===e?void 0:e.date;if(!d)break;var u=new Date(d);u.setDate(u.getDate()+1),r.push({date:u,inMonth:!1})}return r},[J]),G=function(e){var t;!L||L&&z?(E(e),A(null)):(t=L,i(e).getTime()<i(t).getTime()?(A(L),E(e)):A(e))},H=function(e,t){if(!e&&!t)return"";var n=function(e){return e.toLocaleDateString("en-GB",{day:"2-digit",month:"short"})};return e&&!t?"".concat(n(e)," - ..."):!e&&t?"... - ".concat(n(t)):"".concat(n(e)," - ").concat(n(t)," ").concat(t.getFullYear())}(C.start,C.end);return t.jsxs("div",e.__assign({className:"drs",ref:N},{children:[!p&&t.jsxs("button",e.__assign({type:"button",className:"drs__trigger ".concat(y||""),onClick:function(){var e,t;if(!f){if(!w){var n=null!==(t=null!==(e=C.start)&&void 0!==e?e:C.end)&&void 0!==t?t:new Date;E(C.start),A(C.end),O(new Date(n.getFullYear(),n.getMonth(),1)),Y("day")}F(function(e){return!e})}},disabled:f},{children:[!b&&t.jsx(a.Calendar,{size:18,style:{color:"#6B7280"}}),t.jsx("span",e.__assign({className:"drs__label"},{children:H||h})),b&&t.jsx("span",e.__assign({style:{marginLeft:"auto"}},{children:t.jsx(a.Calendar,{size:18,style:{color:"#6B7280"}})}))]})),w&&t.jsxs("div",e.__assign({className:"drs__popover",role:"dialog","aria-label":"Date range picker"},{children:[t.jsxs("div",e.__assign({className:"drs__header"},{children:[t.jsx("button",e.__assign({type:"button",className:"drs__nav",onClick:function(){O("day"===S?function(e){return l(e,-1)}:"month"===S?function(e){return new Date(e.getFullYear()-1,e.getMonth(),1)}:function(e){return new Date(e.getFullYear()-16,e.getMonth(),1)})}},{children:t.jsx(a.ChevronLeft,{size:18})})),t.jsx("div",e.__assign({className:"drs__month"},{children:"year"===S?"".concat(R," – ").concat(R+15):"month"===S?J.getFullYear().toString():t.jsxs(t.Fragment,{children:[t.jsx("span",e.__assign({className:"drs__month-click",onClick:function(){return Y("month")}},{children:J.toLocaleDateString("en-US",{month:"long"})}))," ",t.jsx("span",e.__assign({className:"drs__year-click",onClick:function(){return Y("year")}},{children:J.getFullYear()}))]})})),t.jsx("button",e.__assign({type:"button",className:"drs__nav",onClick:function(){O("day"===S?function(e){return l(e,1)}:"month"===S?function(e){return new Date(e.getFullYear()+1,e.getMonth(),1)}:function(e){return new Date(e.getFullYear()+16,e.getMonth(),1)})}},{children:t.jsx(a.ChevronRight,{size:18})}))]})),"day"===S&&t.jsxs("div",e.__assign({className:"drs__inputs"},{children:[t.jsx("div",e.__assign({className:"drs__input-box".concat(L?" is-active":"")},{children:L?c(L):t.jsx("span",e.__assign({className:"drs__input-placeholder"},{children:"Start date"}))})),t.jsx("span",e.__assign({className:"drs__input-sep"},{children:"–"})),t.jsx("div",e.__assign({className:"drs__input-box".concat(z?" is-active":"")},{children:z?c(z):t.jsx("span",e.__assign({className:"drs__input-placeholder"},{children:"End date"}))}))]})),"month"===S&&t.jsx("div",e.__assign({className:"drs__month-grid"},{children:s.map(function(n,a){return t.jsx("button",e.__assign({type:"button",className:"drs__month-cell".concat(J.getMonth()===a?" is-selected":""),onClick:function(){O(new Date(J.getFullYear(),a,1)),Y("day")}},{children:n}),n)})})),"year"===S&&t.jsx("div",e.__assign({className:"drs__year-grid"},{children:Array.from({length:16},function(e,t){return R+t}).map(function(n){return t.jsx("button",e.__assign({type:"button",className:"drs__year-cell".concat(J.getFullYear()===n?" is-selected":""),onClick:function(){O(new Date(n,J.getMonth(),1)),Y("month")}},{children:n}),n)})})),"day"===S&&t.jsxs(t.Fragment,{children:[t.jsx("div",e.__assign({className:"drs__week"},{children:r.map(function(n){return t.jsx("div",e.__assign({className:"drs__weekday"},{children:n}),n)})})),t.jsx("div",e.__assign({className:"drs__grid"},{children:U.map(function(n,a){var s=n.date,r=!!L&&o(s,L),l=!!z&&o(s,z),c=!(!L||!z)&&function(e,t,n){var a=i(e).getTime();return a>=Math.min(i(t).getTime(),i(n).getTime())&&a<=Math.max(i(t).getTime(),i(n).getTime())}(s,L,z),d=r||l,u=r&&!!z,_=l&&!!L,g=a%7,h=0===g,m=6===g,f=function(e,t,n){var a=i(e).getTime();return!!(t&&a<i(t).getTime())||!!(n&&a>i(n).getTime())}(s,x,j),v=["drs__day",n.inMonth?"":"is-out",c&&!d?"is-range":"",r?"is-start":"",l?"is-end":"",u?"is-range-start":"",_?"is-range-end":"",c&&h?"is-row-first":"",c&&m?"is-row-last":""].filter(Boolean).join(" ");return t.jsx("button",e.__assign({type:"button",className:"".concat(v," ").concat(f?"is-disabled":""),disabled:f,onClick:function(){f||G(s)}},{children:t.jsx("span",e.__assign({className:"drs__day-inner"},{children:s.getDate()}))}),a)})}))]}),t.jsxs("div",e.__assign({className:"drs__footer"},{children:[t.jsx("button",e.__assign({type:"button",className:"drs__btn drs__btn--ghost",onClick:function(){E(null),A(null),_({start:null,end:null}),F(!1),Y("day")}},{children:"Reset"})),t.jsx("button",e.__assign({type:"button",className:"drs__btn drs__btn--primary",disabled:!L||!z,onClick:function(){if(L&&z){var e=new Date(z);e.setDate(e.getDate()+1),_({start:L,end:e}),F(!1),Y("day")}}},{children:"Apply"}))]}))]}))]}))};
2
- //# sourceMappingURL=DateRangeSelector.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),t=require("react/jsx-runtime"),n=require("react"),r=require("./DatePicker.js"),a=require("lucide-react");exports.default=function(s){var i,l=s.label,u=s.value,o=s.placeholder,c=void 0===o?"Select date":o,d=s.minDate,_=s.maxDate,g=s.styles,f=s.onChange,m=n.useState(!1),v=m[0],x=m[1],j=n.useState(!1),p=j[0],h=j[1],q=n.useRef(null),b=n.useRef(null);return n.useEffect(function(){var e=function(e){b.current&&!b.current.contains(e.target)&&q.current&&!q.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]),t.jsxs("div",e.__assign({className:"q-date-selector",style:null==g?void 0:g.root},{children:[l&&t.jsx("label",e.__assign({className:"q-date-selector__label"},{children:l})),t.jsxs("button",e.__assign({ref:q,type:"button",className:"q-date-selector__trigger",style:null==g?void 0:g.trigger,onClick:function(){if(!v&&q.current){var e=q.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,n=e.top;h(t<320&&n>t)}x(function(e){return!e})}},{children:[t.jsx("span",{children:u?(i=u,i.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"})):c}),t.jsx(a.Calendar,{size:14,color:"#64748B"})]})),v&&t.jsx("div",e.__assign({ref:b,className:"q-date-selector__panel ".concat(p?"q-date-selector__panel--top":""),style:null==g?void 0:g.panel},{children:t.jsx(r.default,{value:u,minDate:d,maxDate:_,onChange:function(e){f(e),x(!1)}})}))]}))};
2
- //# sourceMappingURL=DateSelector.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),n=require("react"),r=require("lucide-react");exports.default=function(c){var t=c.options,a=c.value,i=c.onChange,l=c.placeholder,u=void 0===l?"Select":l,o=c.searchPlaceholder,d=void 0===o?"Search..":o,m=c.showSelectAll,v=void 0===m||m,h=c.selectAllLabel,_=void 0===h?"All":h,f=n.useState(!1),g=f[0],x=f[1],p=n.useState(""),j=p[0],N=p[1],b=n.useRef(null);n.useEffect(function(){var e=function(e){var s;(null===(s=b.current)||void 0===s?void 0:s.contains(e.target))||x(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var k=n.useMemo(function(){var e=j.trim().toLowerCase();return e?t.filter(function(s){return s.label.toLowerCase().includes(e)}):t},[t,j,a]),C=n.useMemo(function(){return t.map(function(e){return e.value})},[t]),w=a.length>0&&C.every(function(e){return a.includes(e)}),y=n.useMemo(function(){var e;if(0===a.length)return u;if(w)return"All";if(1===a.length){var s=t.find(function(e){return e.value===a[0]});return null!==(e=null==s?void 0:s.label)&&void 0!==e?e:"1 selected"}return"".concat(a.length," selected")},[a,w,t,u]);return s.jsxs("div",e.__assign({className:"cms-root",ref:b},{children:[s.jsxs("button",e.__assign({type:"button",className:"cms-trigger",onClick:function(){return x(function(e){return!e})}},{children:[s.jsx("span",e.__assign({className:"cms-triggerText ".concat(a.length?"cms-hasValue":"")},{children:y})),s.jsx("span",e.__assign({className:"cms-chevron"},{children:"▾"}))]})),g&&s.jsxs("div",e.__assign({className:"cms-panel"},{children:[t.length>0&&s.jsxs("div",e.__assign({className:"cms-searchRow"},{children:[s.jsx(r.Search,{size:18}),s.jsx("input",{className:"cms-searchInput",placeholder:d,value:j,onChange:function(e){return N(e.target.value)},autoFocus:!0})]})),v&&!(null==j?void 0:j.trim())&&t.length>0&&s.jsxs("div",e.__assign({className:"cms-item",onClick:function(){i(w?[]:C)}},{children:[s.jsx("span",e.__assign({className:"cms-checkbox ".concat(w?"cms-checked":"")},{children:w?"✓":""})),s.jsx("span",e.__assign({className:"cms-itemText"},{children:_}))]})),s.jsx("div",e.__assign({className:"cms-list"},{children:0===k.length?s.jsx("div",e.__assign({className:"cms-empty"},{children:"No options found"})):k.map(function(n){var r=a.includes(n.value);return s.jsxs("div",e.__assign({className:"cms-item",onClick:function(){return s=n.value,void(a.includes(s)?i(a.filter(function(e){return e!==s})):i(e.__spreadArray(e.__spreadArray([],a,!0),[s],!1)));var s}},{children:[s.jsx("span",e.__assign({className:"cms-checkbox ".concat(r?"cms-checked":"")},{children:r?"✓":""})),s.jsx("span",e.__assign({className:"cms-itemText"},{children:n.label}))]}),n.value)})}))]}))]}))};
2
- //# sourceMappingURL=CustomMultiSelect.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),n=require("react"),a=require("lucide-react");exports.default=function(r){var t=r.options,i=r.value,c=r.onChange,u=r.placeholder,l=void 0===u?"Select":u,o=r.searchPlaceholder,d=void 0===o?"Search...":o,v=r.disabled,m=void 0!==v&&v,_=n.useState(!1),f=_[0],h=_[1],g=n.useState(""),x=g[0],p=g[1],j=n.useRef(null);n.useEffect(function(){var e=function(e){var s;(null===(s=j.current)||void 0===s?void 0:s.contains(e.target))||h(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var N=n.useMemo(function(){var e=x.trim().toLowerCase();return e?t.filter(function(s){return s.label.toLowerCase().includes(e)}):t},[x,t]),b=n.useMemo(function(){var e,s;return i&&null!==(s=null===(e=t.find(function(e){return e.value===i}))||void 0===e?void 0:e.label)&&void 0!==s?s:l},[i,t,l]);return s.jsxs("div",e.__assign({className:"css-root",ref:j},{children:[s.jsxs("button",e.__assign({type:"button",disabled:m,className:"css-trigger",onClick:function(){return h(function(e){return!e})}},{children:[s.jsx("span",e.__assign({className:"css-triggerText ".concat(i?"css-hasValue":"")},{children:b})),s.jsx("span",e.__assign({className:"css-chevron"},{children:"▾"}))]})),f&&s.jsxs("div",e.__assign({className:"css-panel"},{children:[s.jsxs("div",e.__assign({className:"css-searchRow"},{children:[s.jsx(a.Search,{size:18}),s.jsx("input",{className:"css-searchInput",placeholder:d,value:x,autoFocus:!0,onChange:function(e){return p(e.target.value)}})]})),s.jsx("div",e.__assign({className:"css-list"},{children:0===N.length?s.jsx("div",e.__assign({className:"css-empty"},{children:"No options found"})):N.map(function(n){return s.jsx("div",e.__assign({className:"css-item ".concat(i===(null==n?void 0:n.value)?"css-selected":""),onClick:function(){return function(e){c(e),h(!1)}(n.value)}},{children:s.jsx("span",e.__assign({className:"css-itemText"},{children:n.label}))}),n.value)})}))]}))]}))};
2
- //# sourceMappingURL=CustomSingleSelect.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var l=require("../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),i=require("react"),o=require("lucide-react"),n=require("./DashboardDateFilter/DashboardDateFilter.js"),t=require("./MetricCard/MetricCard.js"),d=require("./FiltersSidebar/FiltersSidebar.js"),a=require("./Graph/Graph.js"),r=require("./Graph/GraphEmptyState.js"),u=require("./DashboardDateFilter/datePreset.js"),s=require("./Table/TableCard.js"),v=require("./Table/TableGrid/TableGrid.js"),c=require("../utils/tableColumns.js"),p=require("../utils/sectionOrder.js"),g=require("../utils/index.js"),h=require("../utils/kpiIcon.js");function b(l){return l&&"object"==typeof l&&"default"in l?l:{default:l}}var f=b(i),y=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function m(b){var m,x,C,j,F,_,k,D,w,S,B,q,L,P,O,A,E,M,T,R,V,K,H,I,G,z,W,N,Z,J,Q,U,X,Y,$,ll,el,il=b.uiConfig,ol=b.data,nl=b.dataLoading,tl=b.startDate,dl=b.endDate,al=b.onDateChange,rl=b.onRefresh,ul=b.selectedKpis,sl=b.onKpiChange,vl=b.sidebarVisible,cl=b.onSidebarShow,pl=b.onSidebarHide,gl=b.filterValues,hl=b.onFilterChange,bl=b.onFilterReset,fl=b.onFilterApply,yl=b.appliedFilters,ml=b.graphEmptyState,xl=b.tables,Cl=b.tableLayout,jl=b.sectionOrder,Fl=b.hiddenSections,_l=b.tablePages,kl=b.onTableExpand,Dl=b.onTableLoadMore,wl=b.pollingEnabled,Sl=void 0!==wl&&wl,Bl=b.selectedPreset,ql=b.handlePresetChange,Ll=null!==(C=null===(x=null===(m=null==il?void 0:il.data)||void 0===m?void 0:m.dateFilters)||void 0===x?void 0:x.datepresets)&&void 0!==C?C:[],Pl=i.useMemo(function(){return Ll.map(function(l){return u.DATE_PRESET_MAP[l]}).filter(Boolean)},[JSON.stringify(Ll)]),Ol=i.useMemo(function(){return g.getActiveFilterCount(yl)},[yl]),Al=i.useMemo(function(){var l,e,i=null==Cl?void 0:Cl.spans;if(i)return(null!==(e=null===(l=null==il?void 0:il.data)||void 0===l?void 0:l.tableBuilder)&&void 0!==e?e:[]).map(function(l,e){return Array.isArray(i)?i[e]:i[l.key]})},[null==Cl?void 0:Cl.spans,null===(j=null==il?void 0:il.data)||void 0===j?void 0:j.tableBuilder]),El=e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(a.default,{loading:nl,emptyState:null!=ml?ml:e.jsx(r.default,{}),title:null===(F=null==il?void 0:il.data)||void 0===F?void 0:F.graphBuilder.title,description:null===(k=null===(_=null==il?void 0:il.data)||void 0===_?void 0:_.graphBuilder)||void 0===k?void 0:k.subtitle,icon:e.jsx(o.ChartLine,{size:18}),xAxis:{label:(null===(w=null===(D=null==il?void 0:il.data)||void 0===D?void 0:D.graphBuilder)||void 0===w?void 0:w.axis.xAxisLabel)||"Date"},style:{chartHeight:220},scrollable:Sl,panes:null===(S=null==il?void 0:il.data)||void 0===S?void 0:S.graphBuilder.tiers.map(function(l,i){var n,t,d,a,r,u,s,v,c,p,g,h,b=ul[l.key]||(null===(n=l.plotOptions[0])||void 0===n?void 0:n.key),f=ol.graph.tier.find(function(e){return e.key===l.key}),m=(null===(t=null==f?void 0:f.referenceOptions)||void 0===t?void 0:t[b])||{},x=(null===(d=null==f?void 0:f.plotbyoptions)||void 0===d?void 0:d[b])||{},C=(null==l?void 0:l.series)||[],j=Object.keys(x),F=l.plotOptions.find(function(l){return l.value===b});return{key:l.key,selector:{label:"Plot By",value:b,onChange:function(e){sl(l.key,e)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:e.jsx(o.ChartLine,{size:16,color:0===i?"green":"purple"})},yAxis:{label:null==F?void 0:F.yAxisLabel,beginAtZero:"false"!==(null==b?void 0:b.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(u=null===(r=null===(a=null==il?void 0:il.data)||void 0===a?void 0:a.graphBuilder)||void 0===r?void 0:r.legend)||void 0===u?void 0:u.position)||"bottom",toggle:"yes"===(null===(c=null===(v=null===(s=null==il?void 0:il.data)||void 0===s?void 0:s.graphBuilder)||void 0===v?void 0:v.legend)||void 0===c?void 0:c.allowToggle),align:(null===(h=null===(g=null===(p=null==il?void 0:il.data)||void 0===p?void 0:p.graphBuilder)||void 0===g?void 0:g.legend)||void 0===h?void 0:h.alignment)||"center"},height:0===i?300:250,series:j.map(function(l,e){var i,o,n=(null===(o=null===(i=null==f?void 0:f.plotbyoptions)||void 0===i?void 0:i[b])||void 0===o?void 0:o[l])||[],t=y[e%y.length],d=C.find(function(e){return e.key===l});return{key:l,label:(null==d?void 0:d.name)||l,data:n,area:"yes"===(null==d?void 0:d.areaFill),curve:(null==d?void 0:d.curveType)||"linear",color:"#".concat(null==d?void 0:d.color)||t,dashed:"dashed"===(null==d?void 0:d.style),strokeWidth:parseInt(null==d?void 0:d.strokeWidth)||2,showPoints:"yes"===(null==d?void 0:d.showPoints),pointRadius:parseInt(null==d?void 0:d.pointRadius)||3,showInLegend:!0,valueFormatter:function(l){return"".concat(l)}}}),reference:m}})})})),Ml=e.jsx("div",l.__assign({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:l.__spreadArray([],null!==(q=null===(B=null==il?void 0:il.data)||void 0===B?void 0:B.kpiCards)&&void 0!==q?q:[],!0).sort(function(l,e){var i,o;return(null!==(i=l.displayOrder)&&void 0!==i?i:0)-(null!==(o=e.displayOrder)&&void 0!==o?o:0)}).map(function(l){var i,o=null===(i=null==ol?void 0:ol.kpiCards)||void 0===i?void 0:i[l.title],n=g.isKpiValueObject(o)?g.getKpiValueColor(o.currentValue,o.baselineValue,l.indicatorLogic):void 0,d=g.isKpiValueObject(o)?g.getKpiDelta(o.currentValue,o.baselineValue,l.indicatorLogic):void 0;return e.jsx(t.default,{title:l.title,subtitle:l.subtitle,value:g.formatKpiValue(o,l.valueFormat),valueColor:n,delta:d&&{label:d.label,direction:d.direction,color:n},icon:h.getKpiIcon(l.icon),loading:nl},l.title)})})),Tl=(null!==(O=null===(P=null===(L=null==il?void 0:il.data)||void 0===L?void 0:L.tableBuilder)||void 0===P?void 0:P.length)&&void 0!==O?O:0)>0?e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(v.default,l.__assign({itemSpans:Al,totalColumns:null!==(A=null==Cl?void 0:Cl.totalColumns)&&void 0!==A?A:12,defaultSpan:null==Cl?void 0:Cl.defaultSpan,options:null!==(E=null==Cl?void 0:Cl.options)&&void 0!==E?E:[1,2,3],defaultColumns:null==Cl?void 0:Cl.defaultColumns,columns:null==Cl?void 0:Cl.columns,onColumnsChange:null==Cl?void 0:Cl.onColumnsChange,showToggle:(null===(M=null==Cl?void 0:Cl.showToggle)||void 0===M||M)&&(null!==(V=null===(R=null===(T=null==il?void 0:il.data)||void 0===T?void 0:T.tableBuilder)||void 0===R?void 0:R.length)&&void 0!==V?V:0)>1,toggleLabel:null==Cl?void 0:Cl.toggleLabel,minColumnWidth:null!==(K=null==Cl?void 0:Cl.minColumnWidth)&&void 0!==K?K:380,gap:null!==(H=null==Cl?void 0:Cl.gap)&&void 0!==H?H:12,equalHeights:null===(I=null==Cl?void 0:Cl.equalHeights)||void 0===I||I},{children:il.data.tableBuilder.map(function(i){var o,n,t=null!==(n=null===(o=null==ol?void 0:ol.table)||void 0===o?void 0:o[i.key])&&void 0!==n?n:[],d=null==_l?void 0:_l[i.key],a=!!(null==d?void 0:d.loaded),r=a?d.rows:t,u=!a&&i.rowLimit&&i.rowLimit>0?t.slice(0,i.rowLimit):r,v=null==xl?void 0:xl[i.key],p=c.buildColumns(i,v),g=null==v?void 0:v.card,b=null==g?void 0:g.icon,y=h.getKpiIcon(i.icon),m=y&&f.default.isValidElement(y)?f.default.cloneElement(y,l.__assign(l.__assign({},null!=(null==b?void 0:b.size)?{size:b.size}:{}),(null==b?void 0:b.color)?{color:b.color}:{})):y,x=b?l.__assign(l.__assign(l.__assign({width:"auto",height:"auto"},b.color?{color:b.color}:{}),b.background?{background:b.background,padding:6,borderRadius:8}:{}),b.style):void 0;return e.jsx(s.default,{title:i.title,icon:m,styles:{root:null==g?void 0:g.root,header:null==g?void 0:g.header,title:null==g?void 0:g.title,icon:x},onExpand:function(l){return null==kl?void 0:kl(i.key,l)},table:{rows:c.withRowIds(u),columns:p,loading:nl,loadingMore:null==d?void 0:d.loading,hasMore:null==d?void 0:d.hasMore,onLoadMore:d?function(){return null==Dl?void 0:Dl(i.key)}:void 0,tableProps:null==v?void 0:v.tableProps}},i.key)})}))})):null,Rl={graphBuilder:El,kpiCards:Ml,tableBuilder:Tl},Vl=p.resolveSectionOrder(jl,Fl,null===(G=null==il?void 0:il.data)||void 0===G?void 0:G.sectionOrder,Object.keys(Rl)),Kl=p.isSectionHidden(Fl,"dateFilters"),Hl=p.isSectionHidden(Fl,"sidebarFilters");return e.jsx(e.Fragment,{children:e.jsxs("div",l.__assign({style:{display:"flex",flexDirection:"column",gap:12,width:"100%"}},{children:[!Kl&&e.jsx("div",l.__assign({style:{padding:"4px"}},{children:e.jsx(n.default,{filterCount:Ol,initialStartDate:tl,initialEndDate:dl,onDateChange:al,onRefresh:rl,onFilterClick:cl,presets:Pl,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:tl,maxDate:new Date}},defaultPresets:null===(z=null==il?void 0:il.data)||void 0===z?void 0:z.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(N=null===(W=null==il?void 0:il.data)||void 0===W?void 0:W.dateFilters)||void 0===N?void 0:N.showLiveButton),showFilterButton:!Hl&&"yes"===(null===(J=null===(Z=null==il?void 0:il.data)||void 0===Z?void 0:Z.dateFilters)||void 0===J?void 0:J.showFilterButton),showFilterCount:!Hl&&"yes"===(null===(U=null===(Q=null==il?void 0:il.data)||void 0===Q?void 0:Q.dateFilters)||void 0===U?void 0:U.showFilterCount),liveDuration:null===(Y=null===(X=null==il?void 0:il.data)||void 0===X?void 0:X.dateFilters)||void 0===Y?void 0:Y.liveDurationMs,pollingEnabled:Sl,selectedPreset:Bl,handlePresetChange:ql})})),Vl.map(function(l){return e.jsx(f.default.Fragment,{children:Rl[l]},l)}),!Hl&&e.jsx(d.default,{visible:vl,onHide:pl,onReset:bl,onApply:fl,fields:null!==(el=null===(ll=null===($=null==il?void 0:il.data)||void 0===$?void 0:$.sidebarFilters)||void 0===ll?void 0:ll.map(function(l){var e,i,o,n,t=l.schemaFilterName,d="Single select"===l.type?"singleSelect":"Multi select"===l.type?"multiSelect":"Date Range"===l.type?"dateRange":"Date"===l.type?"date":"text",a=null!==(i=null===(e=l.options)||void 0===e?void 0:e.map(function(l){return{label:l,value:l}}))&&void 0!==i?i:[];return{id:t,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(o=gl[t])&&void 0!==o?o:[]:null!==(n=gl[t])&&void 0!==n?n:"",onChange:function(l){return hl(t,l)}}}))&&void 0!==el?el:[]})]}))})}exports.ExecutiveDashboard=m,exports.default=m;
2
- //# sourceMappingURL=ExecutiveDashboard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExecutiveDashboard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),a=require("react/jsx-runtime"),r=require("lucide-react");exports.default=function(c){var i=c.value,n=c.placeholder,t=c.disabled,s=c.onChange,l=c.className,u=c.searchIcon,o=void 0!==u&&u;return a.jsxs("div",e.__assign({className:"cti-wrapper"},{children:[o&&a.jsx(r.Search,{size:15,className:"cti-search-icon"}),a.jsx("input",{className:"\n cti-input\n ".concat(o?"cti-input--with-icon":"","\n ").concat(null!=l?l:"","\n "),value:null!=i?i:"",disabled:t,placeholder:n,onChange:function(e){return s(e.target.value)}})]}))};
2
- //# sourceMappingURL=CustomTextInput.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),l=require("react/jsx-runtime"),i=require("primereact/sidebar"),s=require("primereact/button");require("primereact/resources/themes/lara-light-indigo/theme.css"),require("primereact/resources/primereact.min.css"),require("primeicons/primeicons.css");var n=require("../DatePickers/DateRangeSelector.js"),a=require("../DropDowns/CustomMultiSelect.js"),t=require("../DatePickers/DateSelector.js"),o=require("./CustomTextInput.js"),r=require("../DropDowns/CustomSingleSelect.js");exports.default=function(d){var u=d.visible,c=d.onHide,v=d.fields,g=void 0===v?[]:v,p=d.onReset,h=d.onApply,m=d.title;return l.jsxs(i.Sidebar,e.__assign({visible:u,position:"right",onHide:c,dismissable:!1,showCloseIcon:!0,modal:!0,className:"log-filterSidebar",header:l.jsx("div",e.__assign({className:"log-filterTitle"},{children:null!=m?m:"Filter By"}))},{children:[l.jsx("div",e.__assign({className:"log-filterBody"},{children:null==g?void 0:g.map(function(i){var s,d,u;return l.jsxs("div",e.__assign({className:"log-filterBlock"},{children:[l.jsx("div",e.__assign({className:"log-filterLabel"},{children:i.label})),i.hint&&l.jsx("div",e.__assign({className:"log-filterHint"},{children:i.hint})),l.jsx("div",e.__assign({style:{marginTop:"12px"}},{children:(null==i?void 0:i.loading)?l.jsx("div",e.__assign({className:"log-filterEmpty"},{children:"Loading..."})):l.jsxs(l.Fragment,{children:["text"===i.type&&l.jsx(o.default,{value:null==i?void 0:i.value,placeholder:(null==i?void 0:i.placeholder)||"Enter the value..",disabled:null==i?void 0:i.disabled,onChange:null==i?void 0:i.onChange}),"singleSelect"===i.type&&l.jsx(r.default,{value:null==i?void 0:i.value,options:null!==(s=null==i?void 0:i.options)&&void 0!==s?s:[],placeholder:null==i?void 0:i.placeholder,disabled:null==i?void 0:i.disabled,onChange:null==i?void 0:i.onChange}),"multiSelect"===i.type&&l.jsx(a.default,{options:null!==(d=null==i?void 0:i.options)&&void 0!==d?d:[],value:null!==(u=null==i?void 0:i.value)&&void 0!==u?u:[],onChange:null==i?void 0:i.onChange,selectAllLabel:null==i?void 0:i.selectAllLabel}),"date"===i.type&&l.jsx(t.default,{value:null==i?void 0:i.value,onChange:null==i?void 0:i.onChange,styles:{root:{padding:0},trigger:{height:"40px"}}}),"dateRange"===i.type&&l.jsx(n.default,{value:null==i?void 0:i.value,onChange:null==i?void 0:i.onChange,endIcon:!0})]})}))]}),i.id)})})),l.jsxs("div",e.__assign({className:"log-filterFooter"},{children:[l.jsx(s.Button,{label:"Reset Filter",className:"p-button-outlined log-btnReset",onClick:p}),l.jsx(s.Button,{label:"Apply Filter",className:"log-btnApply",onClick:h})]}))]}))};
2
- //# sourceMappingURL=FiltersSidebar.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),l=require("react"),i=require("./LineChart.js"),s=require("./GraphSkeleton.js"),r=require("./PlotBySelector.js"),a=require("./types.js");function o(e){var i,s,a,o=e.config,t=void 0!==o.value,d=l.useState(null!==(i=o.defaultValue)&&void 0!==i?i:null===(a=null===(s=o.options)||void 0===s?void 0:s[0])||void 0===a?void 0:a.value),c=d[0],u=d[1],h=t?o.value:c;return n.jsx(r.default,{config:o,value:h,onChange:function(e){var n;t||u(e),null===(n=o.onChange)||void 0===n||n.call(o,e)}})}function t(l){var s,r=l.pane,a=l.xAxis,o=l.sharedStyle,t=l.isLast,d=l.hiddenKeys,c=l.toggleSeries,u=l.syncId,h=l.reference,_=l.scrollable,g=void 0!==_&&_,v=l.onPointClick,f=t?a:e.__assign(e.__assign({},a),{show:!1,label:void 0});return n.jsxs("div",e.__assign({className:"ellm-graph__pane"},{children:[r.title&&n.jsx("div",e.__assign({className:"ellm-graph__pane-title"},{children:r.title})),n.jsx(i.default,{series:r.series,hiddenKeys:d,onToggleSeries:c,xAxis:f,yAxis:r.yAxis,tooltip:r.tooltip,legend:{show:!1},syncId:u,style:e.__assign(e.__assign({},o),{chartHeight:null!==(s=r.height)&&void 0!==s?s:null==o?void 0:o.chartHeight}),reference:h,scrollable:g,onPointClick:v})]}))}exports.default=function(r){var d,c,u=r.series,h=r.panes,_=r.title,g=r.description,v=r.icon,f=r.plotBy,m=r.xAxis,p=r.yAxis,x=r.tooltip,y=r.legend,j=r.config,k=r.style,N=r.emptyState,b=r.loading,A=r.scrollable,S=void 0!==A&&A,w=r.onPointClick,C=!!(null==h?void 0:h.length),q=l.useId(),P=l.useState(function(){var e=new Set;return(null!=u?u:[]).forEach(function(n){return n.hidden&&e.add(n.key)}),(null!=h?h:[]).forEach(function(n){return n.series.forEach(function(n){return n.hidden&&e.add(n.key)})}),e}),I=P[0],E=P[1],L=function(e){return E(function(n){var l=new Set(n);return l.has(e)?l.delete(e):l.add(e),l})},M=!1!==(null==j?void 0:j.showHeader),H=l.useMemo(function(){return C?h.some(function(e){return e.series.some(function(e){var n,l;return null===(l=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.some)||void 0===l?void 0:l.call(n,function(e){return null!=(null==e?void 0:e.y)})})}):(null!=u?u:[]).some(function(e){return e.data.some(function(e){return null!=e.y})})},[C,h,u]),K=l.useMemo(function(){var n;if(!C)return k;var l=null!==(n=null==k?void 0:k.yAxisWidth)&&void 0!==n?n:h.some(function(e){var n;return null===(n=e.yAxis)||void 0===n?void 0:n.label})?64:48;return e.__assign(e.__assign({},k),{yAxisWidth:l})},[C,h,k]),W=l.useMemo(function(){if(!C)return[];var e=[];return h.forEach(function(n){var l;!1!==(null===(l=n.legend)||void 0===l?void 0:l.show)&&n.series.forEach(function(n,l){var i;!1!==n.showInLegend&&e.push({key:n.key,label:n.label,color:null!==(i=n.color)&&void 0!==i?i:a.colorForIndex(null==K?void 0:K.colors,l)})})}),e},[C,h,null==K?void 0:K.colors]),B=C&&W.length>0,F=e.__spreadArray(e.__spreadArray([],f?[f]:[],!0),C?h.flatMap(function(e){return e.selector?[e.selector]:[]}):[],!0),G=_||g||v||F.length>0;return n.jsxs("div",e.__assign({className:"ellm-graph".concat((null==k?void 0:k.className)?" ".concat(k.className):""),style:null==k?void 0:k.container},{children:[M&&G&&n.jsxs("div",e.__assign({className:"ellm-graph__header"},{children:[n.jsxs("div",e.__assign({className:"ellm-graph__heading"},{children:[v&&n.jsx("span",e.__assign({className:"ellm-graph__icon"},{children:v})),n.jsxs("div",{children:[_&&n.jsx("div",e.__assign({className:"ellm-graph__title"},{children:_})),g&&n.jsx("div",e.__assign({className:"ellm-graph__description"},{children:g}))]})]})),F.length>0&&n.jsx("div",e.__assign({className:"ellm-graph__controls"},{children:F.map(function(e,l){return n.jsx(o,{config:e},l)})}))]})),b?n.jsx(s.default,{height:null==k?void 0:k.chartHeight}):!H&&N?n.jsx("div",e.__assign({className:"ellm-graph__empty"},{children:N})):C?n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({className:"ellm-graph__panes",style:{gap:null!==(d=null==k?void 0:k.paneGap)&&void 0!==d?d:12}},{children:h.map(function(e,l){var i;return n.jsx(t,{pane:e,xAxis:m,sharedStyle:K,isLast:l===h.length-1,hiddenKeys:I,toggleSeries:L,syncId:q,reference:e.reference,scrollable:S,onPointClick:w},null!==(i=e.key)&&void 0!==i?i:"pane-".concat(l))})})),B&&n.jsx("div",e.__assign({className:"ellm-graph__legend"},{children:W.map(function(l){var i=I.has(l.key);return n.jsxs("button",e.__assign({type:"button",className:"ellm-graph__legend-item".concat(i?" ellm-graph__legend-item--off":""),onClick:function(){return L(l.key)}},{children:[n.jsxs("svg",e.__assign({className:"ellm-graph__legend-marker",width:"28",height:"12",viewBox:"0 0 28 12","aria-hidden":"true"},{children:[n.jsx("line",{x1:"1",y1:"6",x2:"27",y2:"6",stroke:l.color,strokeWidth:"2.5",strokeLinecap:"round"}),n.jsx("circle",{cx:"14",cy:"6",r:"4",fill:"#fff",stroke:l.color,strokeWidth:"2.5"})]})),l.label]}),l.key)})}))]}):n.jsx(i.default,{series:null!=u?u:[],hiddenKeys:I,onToggleSeries:L,xAxis:m,yAxis:p,tooltip:x,legend:y,style:k,reference:null===(c=null==h?void 0:h[0])||void 0===c?void 0:c.reference,scrollable:S,onPointClick:w})]}))};
2
- //# sourceMappingURL=Graph.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),r=require("lucide-react");exports.default=function(a){var i=a.title,t=void 0===i?"No data to display":i,l=a.description,d=void 0===l?"There's no data for the selected date range and filters. Try adjusting your filters or picking a different range.":l;return s.jsxs("div",e.__assign({className:"ellm-graph__empty-default"},{children:[s.jsx("span",e.__assign({className:"ellm-graph__empty-icon"},{children:s.jsx(r.LineChart,{size:22})})),s.jsx("div",e.__assign({className:"ellm-graph__empty-title"},{children:t})),s.jsx("div",e.__assign({className:"ellm-graph__empty-desc"},{children:d}))]}))};
2
- //# sourceMappingURL=GraphEmptyState.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphEmptyState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),l=require("react");exports.default=function(a){var r=a.height,i=void 0===r?300:r,n=l.useId();return s.jsxs("div",e.__assign({className:"ellm-graph__skeleton","aria-busy":"true","aria-live":"polite",style:{height:i}},{children:[s.jsx("div",e.__assign({className:"ellm-graph__skeleton-yaxis"},{children:[0,1,2,3,4].map(function(e){return s.jsx("span",{className:"ellm-graph__skeleton-tick ellm-graph__shimmer"},e)})})),s.jsxs("div",e.__assign({className:"ellm-graph__skeleton-plot"},{children:[s.jsx("div",e.__assign({className:"ellm-graph__skeleton-grid"},{children:[0,1,2,3,4].map(function(e){return s.jsx("span",{className:"ellm-graph__skeleton-gridline"},e)})})),s.jsxs("svg",e.__assign({className:"ellm-graph__skeleton-svg",viewBox:"0 0 400 120",preserveAspectRatio:"none"},{children:[s.jsx("defs",{children:s.jsxs("linearGradient",e.__assign({id:n,x1:"0",y1:"0",x2:"0",y2:"1"},{children:[s.jsx("stop",{offset:"0%",className:"ellm-graph__skeleton-area-top"}),s.jsx("stop",{offset:"100%",className:"ellm-graph__skeleton-area-bottom"})]}))}),s.jsx("path",{d:"M0,120 L0,92 30,78 60,86 90,52 120,66 150,34 180,58 210,42 240,72 270,46 300,80 330,54 360,74 400,58 L400,120 Z",fill:"url(#".concat(n,")")}),s.jsx("polyline",{points:"0,92 30,78 60,86 90,52 120,66 150,34 180,58 210,42 240,72 270,46 300,80 330,54 360,74 400,58",fill:"none",className:"ellm-graph__skeleton-line"})]})),s.jsx("div",e.__assign({className:"ellm-graph__skeleton-xaxis"},{children:[0,1,2,3,4,5].map(function(e){return s.jsx("span",{className:"ellm-graph__skeleton-tick ellm-graph__shimmer"},e)})}))]}))]}))};
2
- //# sourceMappingURL=GraphSkeleton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GraphSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),i=require("react"),l=require("recharts"),r=require("../ui/chart.js"),o=require("./types.js"),t=require("../../utils/index.js"),a=require("./Seperator.js"),u=function(e){return"number"==typeof e&&!Number.isNaN(e)},s=function(e){switch(e){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};exports.default=function(d){var c,v,f,h,y,x,g,p,m,k=d.series,b=d.hiddenKeys,_=d.onToggleSeries,j=d.xAxis,C=d.yAxis,A=d.tooltip,w=d.legend,L=d.style,T=d.syncId,M=d.reference;d.scrollable;var S=d.onPointClick,F=null!==(c=null==L?void 0:L.chartHeight)&&void 0!==c?c:300,N=null!==(v=null==L?void 0:L.gridColor)&&void 0!==v?v:"#eef0f4",E=null!==(f=null==L?void 0:L.axisColor)&&void 0!==f?f:"#d7dbe3",I=null!==(h=null==L?void 0:L.axisLabelColor)&&void 0!==h?h:"#6b7280",K=null!==(y=null==L?void 0:L.tickColor)&&void 0!==y?y:"#9ca3af",P=null!==(x=null==L?void 0:L.fontFamily)&&void 0!==x?x:"Inter, system-ui, -apple-system, sans-serif",R=i.useState(null),q=R[0],W=R[1],D=i.useMemo(function(){var n,i,l;if(null===(n=null==j?void 0:j.categories)||void 0===n?void 0:n.length)return{categories:j.categories,xType:null!==(i=j.type)&&void 0!==i?i:"category"};var r=new Set,o=[];k.forEach(function(e){return e.data.forEach(function(e){r.has(e.x)||(r.add(e.x),o.push(e.x))})});var t=o.every(u),a=null!==(l=null==j?void 0:j.type)&&void 0!==l?l:t?"number":"category";return{categories:"number"===a?e.__spreadArray([],o,!0).sort(function(e,n){return Number(e)-Number(n)}):o,xType:a}},[k,null==j?void 0:j.categories,null==j?void 0:j.type]),z=D.categories,O=D.xType,B=i.useMemo(function(){var e=new Map;return k.forEach(function(n){var i=new Map;n.data.forEach(function(e){return i.set(e.x,e.y)}),e.set(n.key,i)}),z.map(function(n){var i={x:n};return k.forEach(function(l){var r,o=null===(r=e.get(l.key))||void 0===r?void 0:r.get(n);i[l.key]=null==o?null:o}),i})},[k,z]),G=i.useMemo(function(){var e={},n=k.map(function(n,i){var l,r=null!==(l=n.color)&&void 0!==l?l:o.colorForIndex(null==L?void 0:L.colors,i);return e[n.key]={label:n.label,color:r},{series:n,color:r,index:i}});return{chartConfig:e,resolved:n}},[k,null==L?void 0:L.colors]),H=G.chartConfig,V=G.resolved,X=i.useMemo(function(){var e={};return k.forEach(function(n){n.valueFormatter&&(e[n.key]=function(e,i){var l;return n.valueFormatter(e,null!==(l=null==i?void 0:i.payload)&&void 0!==l?l:{x:null==i?void 0:i.x,y:e})})}),e},[k]),Y=!1!==(null==A?void 0:A.enabled),Z=(null==A?void 0:A.seriesKeys)?new Set(A.seriesKeys):null,J=!1!==(null==w?void 0:w.show),Q="top"===(null==w?void 0:w.position)?"top":"bottom",U="start"===(null==w?void 0:w.align)?"left":"end"===(null==w?void 0:w.align)?"right":"center",$=!1!==(null==j?void 0:j.show),ee=!1!==(null==C?void 0:C.show),ne=!1!==(null==L?void 0:L.showGrid),ie=!!(null==L?void 0:L.showVerticalGrid),le=i.useMemo(function(){return Math.max.apply(Math,B.flatMap(function(e){return k.map(function(n){return Number(e[n.key])||0})}))},[B]),re=i.useMemo(function(){return Math.ceil(1.1*le)},[le]),oe=[null!=(null==C?void 0:C.min)?C.min:!1!==(null==C?void 0:C.beginAtZero)?0:"auto",null!=(null==C?void 0:C.max)?C.max:re],te=null!==(g=null==L?void 0:L.yAxisWidth)&&void 0!==g?g:(null==C?void 0:C.label)?64:48,ae={top:12,right:16,bottom:8,left:null!=(null==L?void 0:L.yAxisWidth)?0:(null==C?void 0:C.label)?16:0},ue=null!==(p=null==j?void 0:j.enableScroll)&&void 0!==p&&p,se=null!==(m=null==j?void 0:j.minTickGap)&&void 0!==m?m:2;return i.useMemo(function(){if(!ue||!q||z.length<=1)return"100%";var e=(z.length-1)*se+200;return e>q-te-ae.left-ae.right?"".concat(e,"px"):"100%"},[ue,q,z.length,se,te,ae]),n.jsx(r.ChartContainer,e.__assign({config:H,style:{height:F,fontFamily:P},ref:function(e){e&&null===q&&W(e.clientWidth)}},{children:function(){var i,o;return n.jsxs(l.ComposedChart,e.__assign({data:B,margin:ae,syncId:T},{children:[n.jsx(l.CartesianGrid,{vertical:ie,horizontal:ne,stroke:N}),n.jsx(l.XAxis,{dataKey:"x",type:"number"===O?"number":"category",hide:!$,height:(null==j?void 0:j.label)?52:void 0,tickLine:!1,axisLine:!(null==j?void 0:j.hideLine)&&{stroke:E},tickMargin:8,interval:"preserveStartEnd",tick:{fill:K,fontSize:11},tickFormatter:(null==j?void 0:j.formatTick)?function(e,n){return j.formatTick(e,n)}:void 0,label:(null==M?void 0:M.showReferenceAreaLabel)?function(i){return function(i){var l=i.viewBox;i.startTick,i.endTick;var r=l.x,o=l.y,t=l.width,u=1;if((null==M?void 0:M.showReferenceArea)&&null!=(null==M?void 0:M.referencePoint)&&z.length>1){var s=z.indexOf(M.referencePoint);-1!==s&&(u=s/(z.length-1))}var d=100*u,c=100-d;return n.jsx("foreignObject",e.__assign({x:r,y:o+24,width:t,height:40},{children:n.jsxs("div",e.__assign({className:"ellm-graph__liveLabelContainer"},{children:[n.jsxs("div",e.__assign({style:{flex:d,display:"flex",alignItems:"center"}},{children:[n.jsx(a.default,{}),n.jsx("span",e.__assign({style:{padding:"0 12px",color:"#6b7280",fontSize:"12px"}},{children:null==M?void 0:M.referenceAreaLabel})),n.jsx(a.default,{})]})),c>0&&n.jsxs("div",e.__assign({style:{flex:c,display:"flex",alignItems:"center"}},{children:[n.jsx(a.default,{style:{backgroundColor:"#DC2626"}}),n.jsxs("div",e.__assign({className:"ellm-graph__liveLabel"},{children:[n.jsx(a.default,{style:{width:"8px",height:"8px",borderRadius:"100%",backgroundColor:"#DC2626",flex:"auto"},pulse:!0}),"LIVE - ",null==M?void 0:M.referenceAreaLiveLabel]})),n.jsx(a.default,{style:{backgroundColor:"#DC2626"}})]}))]}))}))}(e.__assign(e.__assign({},i),{startTick:z[0],endTick:z[z.length-1]}))}:(null==j?void 0:j.label)?{value:j.label,position:"insideBottom",offset:4,fill:I,fontSize:12,fontWeight:500}:void 0}),n.jsx(l.YAxis,{hide:!ee,domain:oe,tickLine:!1,axisLine:!1===(null==C?void 0:C.hideLine)&&{stroke:E},tickCount:null==C?void 0:C.tickCount,width:te,tick:{fill:K,fontSize:11},tickFormatter:(null==C?void 0:C.formatTick)?function(e,n){return C.formatTick(e,n)}:function(e){return"number"==typeof e?t.compactNumber(e):String(e)},label:(null==C?void 0:C.label)?{value:C.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"},fill:I,fontSize:12,fontWeight:500}:void 0}),Y&&n.jsx(r.ChartTooltip,{cursor:{stroke:E,strokeDasharray:"4 4"},content:function(i){var l,o=(null!==(l=i.payload)&&void 0!==l?l:[]).filter(function(e){var n=k.find(function(n){return n.key===e.dataKey});return!1!==(null==n?void 0:n.showInTooltip)&&!(Z&&!Z.has(String(e.dataKey)))});return(null==A?void 0:A.render)?A.render({x:i.label,points:o.map(function(e){var n;return{series:k.find(function(n){return n.key===e.dataKey}),value:null!==(n=e.value)&&void 0!==n?n:null,point:{x:i.label,y:e.value},color:e.color}})}):n.jsx(r.ChartTooltipContent,e.__assign({},i,{payload:o,hideLabel:!1===(null==A?void 0:A.showHeading),valueFormatters:X,labelFormatter:(null==A?void 0:A.formatHeading)?function(e){return A.formatHeading(e)}:void 0}))}}),J&&n.jsx(r.ChartLegend,{verticalAlign:Q,content:function(i){return n.jsx(r.ChartLegendContent,e.__assign({},i,{verticalAlign:Q,align:U,hiddenKeys:b,onItemClick:!1!==(null==w?void 0:w.toggle)&&_?_:void 0}))}}),(null==M?void 0:M.showReferenceArea)&&null!=(null==M?void 0:M.referencePoint)&&n.jsx(l.ReferenceArea,{x1:M.referencePoint,fill:null!==(i=M.referenceAreaFill)&&void 0!==i?i:"#2563EB1A"}),(null==M?void 0:M.showReferenceArea)&&null!=M.referencePoint&&n.jsx(l.ReferenceLine,{x:M.referencePoint,stroke:null!==(o=M.referenceLineStroke)&&void 0!==o?o:"#3B82F6",strokeDasharray:"4 4"}),V.map(function(i){var r,o,t,a,u=i.series,d=b.has(u.key),c="var(--color-".concat(u.key,")"),v=!0===u.dashed?"6 5":"string"==typeof u.dashed?u.dashed:void 0,f=!1!==u.showPoints&&{r:null!==(r=u.pointRadius)&&void 0!==r?r:3,fill:"#fff",stroke:c,strokeWidth:2},h={r:(null!==(o=u.pointRadius)&&void 0!==o?o:3)+2,onClick:S?function(e,n){var i,l;return function(e,n,i){if(S){var l=k.find(function(n){return n.key===e});l&&S({series:l,point:{x:null==n?void 0:n.x,y:null==n?void 0:n[e]},index:i})}}(u.key,null!==(i=null==n?void 0:n.payload)&&void 0!==i?i:n,null!==(l=null==n?void 0:n.index)&&void 0!==l?l:0)}:void 0},y={key:u.key,dataKey:u.key,name:u.key,type:s(u.curve),stroke:c,strokeWidth:null!==(t=u.strokeWidth)&&void 0!==t?t:2,strokeDasharray:v,connectNulls:!1,isAnimationActive:!1,hide:d,dot:f,activeDot:h};return u.area?n.jsx(l.Area,e.__assign({},y,{fill:c,fillOpacity:null!==(a=u.areaOpacity)&&void 0!==a?a:.12})):n.jsx(l.Line,e.__assign({},y))})]}))}()}))};
2
- //# sourceMappingURL=LineChart.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),n=require("react/jsx-runtime"),l=require("react"),t=require("lucide-react");exports.default=function(r){var a,o,i=r.config,s=r.value,u=r.onChange,c=i.options,p=i.label,_=void 0===p?"Plot by":p,d=i.placeholder,v=i.hideWhenSingle,h=i.triggerIcon,m=l.useState(!1),b=m[0],g=m[1],f=l.useRef(null);if(l.useEffect(function(){if(b){var e=function(e){f.current&&!f.current.contains(e.target)&&g(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}},[b]),!(null==c?void 0:c.length))return null;if(c.length<=1&&!1!==v)return null;var x=c.find(function(e){return e.value===s}),y=null!==(o=null!==(a=null==x?void 0:x.label)&&void 0!==a?a:d)&&void 0!==o?o:"Select";return n.jsxs("div",e.__assign({className:"ellm-graph__plotby",ref:f},{children:[n.jsxs("button",e.__assign({type:"button",className:"ellm-graph__plotby-btn".concat(b?" ellm-graph__plotby-btn--open":""),onClick:function(){return g(function(e){return!e})},"aria-haspopup":"listbox","aria-expanded":b},{children:[null!==h&&(null!=h?h:n.jsx(t.ArrowUpDown,{size:16})),n.jsxs("span",e.__assign({className:"ellm-graph__plotby-text"},{children:[_?"".concat(_,": "):"",n.jsx("span",e.__assign({className:"ellm-graph__plotby-value"},{children:y}))]})),n.jsx(t.ChevronDown,{size:16,className:"ellm-graph__plotby-chevron"})]})),b&&n.jsx("div",e.__assign({className:"ellm-graph__plotby-menu",role:"listbox"},{children:c.map(function(l){return n.jsx("button",e.__assign({type:"button",role:"option","aria-selected":l.value===s,className:"ellm-graph__plotby-option".concat(l.value===s?" ellm-graph__plotby-option--active":""),onClick:function(){u(l.value),g(!1)}},{children:l.label}),l.value)})}))]}))};
2
- //# sourceMappingURL=PlotBySelector.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),r=require("react/jsx-runtime");exports.default=function(s){var t=s.style,u=s.pulse;return r.jsx("div",{className:" ".concat(u&&"pulse"),style:e.__assign({flex:1,height:"1px",backgroundColor:"#e5e7eb"},t)})};
2
- //# sourceMappingURL=Seperator.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Seperator.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),a=require("react"),i=require("lucide-react");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(a);exports.default=function(a){var l,t,n,r,d,o=a.title,_=a.value,u=a.subtitle,m=a.icon,v=a.loading,x=a.valuePrefix,g=a.valueColor,p=a.delta,h=a.segments,j=a.onClick,f=a.classNames,N=h&&h.length>0,y=N?h.reduce(function(e,s){return e+s.value},0):0;return s.jsx("div",e.__assign({className:"metric-card ".concat(null!==(l=null==f?void 0:f.root)&&void 0!==l?l:""),onClick:j},{children:s.jsxs("div",e.__assign({className:"metric-card__content ".concat(N?"metric-card__content--has-segments":"")},{children:[s.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%",gap:"4px"}},{children:[s.jsx("div",e.__assign({className:"metric-card__title"},{children:o})),s.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"}},{children:[s.jsx("div",e.__assign({className:"metric-card__value ".concat(null!==(t=null==f?void 0:f.value)&&void 0!==t?t:""),style:{color:null!=g?g:null==x?void 0:x.color}},{children:v?s.jsx("span",{className:"metric-card__value-skeleton"}):s.jsxs(s.Fragment,{children:[(null==x?void 0:x.icon)&&(c.default.isValidElement(x.icon)?c.default.cloneElement(x.icon,{size:20,strokeWidth:2.5}):x.icon),_]})})),!v&&p&&s.jsxs("div",e.__assign({className:"metric-card__delta",style:{color:p.color}},{children:["flat"!==p.direction&&("up"===p.direction?s.jsx(i.ArrowUp,{size:14,strokeWidth:3,"aria-hidden":!0}):s.jsx(i.ArrowDown,{size:14,strokeWidth:3,"aria-hidden":!0})),s.jsx("span",{children:p.label}),p.caption&&s.jsx("span",e.__assign({className:"metric-card__delta-caption"},{children:p.caption}))]}))]})),u&&s.jsx("div",e.__assign({className:"metric-card__subtitle ".concat(null!==(n=null==f?void 0:f.subtitle)&&void 0!==n?n:"")},{children:u}))]})),N&&s.jsxs("div",e.__assign({className:"".concat(null!==(r=null==f?void 0:f.segments)&&void 0!==r?r:""),style:{display:"flex",flexDirection:"column",flex:1,margin:0}},{children:[s.jsx("div",e.__assign({className:"metric-card__stats",style:{margin:"10px"}},{children:h.map(function(a,i){return s.jsxs("div",e.__assign({className:"metric-card__stat"},{children:[s.jsxs("div",e.__assign({className:"metric-card__stat-label"},{children:[s.jsx("span",{className:"metric-card__dot",style:{background:a.color}}),a.label]})),s.jsx("div",e.__assign({className:"metric-card__stat-value"},{children:void 0!==a.displayValue?a.displayValue:"".concat(a.value).concat(a.percentage?"%":"")})),i<h.length-1&&s.jsx("div",{className:"metric-card__divider"})]}),a.label)})})),s.jsx("div",e.__assign({className:"metric-card__progress",style:{marginTop:"4px"}},{children:h.map(function(e){return s.jsx("div",{className:"metric-card__progress-segment",style:{width:y>0?"".concat(e.value/y*100,"%"):"0%",background:e.color}},e.label)})}))]})),m&&s.jsx("div",e.__assign({className:"metric-card__icon-container ".concat(null!==(d=null==f?void 0:f.icon)&&void 0!==d?d:"")},{children:c.default.isValidElement(m)?c.default.cloneElement(m,{size:25,strokeWidth:2.5}):m}))]}))}))};
2
- //# sourceMappingURL=MetricCard.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),i=require("react/jsx-runtime"),l=require("react"),n=require("primereact/datatable"),o=require("primereact/column"),r=require("primereact/columngroup"),a=require("primereact/row"),t=require("primereact/skeleton");require("primereact/resources/primereact.min.css"),require("primeicons/primeicons.css"),exports.default=function(s){var d,u,c,v,p=s.rows,m=void 0===p?[]:p,_=s.loading,f=s.loadingMore,g=s.onLoadMore,h=s.hasMore,x=s.emptyState,y=s.columns,j=s.tableProps,w=s.onRowClick,N=s.rowDetail,b=s.scrollHeight,C=void 0===b?"flex":b,k=l.useRef(null);l.useRef(null);var S="function"==typeof(null==N?void 0:N.render),q=l.useState({}),R=q[0],E=q[1],T=function(e){return!(!(null==e?void 0:e.id)||!R[e.id])},A=function(i){(null==i?void 0:i.id)&&E(function(l){var n,o;return(null==N?void 0:N.multiple)?e.__assign(e.__assign({},l),((n={})[i.id]=!0,n)):((o={})[i.id]=!0,o)})},D=function(i){(null==i?void 0:i.id)&&E(function(l){var n=e.__assign({},l);return delete n[i.id],n})},M=function(e){return T(e)?D(e):A(e)},H=null!=j?j:{},L=H.onRowClick,B=H.rowClassName,G=e.__rest(H,["onRowClick","rowClassName"]),O=e.__spreadArray(e.__spreadArray([],m,!0),f?[{id:"__loading-more",__loading:!0}]:[],!0),P=!f&&g&&!1===h&&(null!==(d=null==y?void 0:y.length)&&void 0!==d?d:0)>0?i.jsx(r.ColumnGroup,{children:i.jsx(a.Row,{children:i.jsx(o.Column,{colSpan:y.length,footer:i.jsxs("span",e.__assign({className:"audit-paginationEndContent"},{children:[i.jsx("i",{className:"pi pi-check-circle","aria-hidden":"true"}),"No more records to load"]})),footerClassName:"audit-paginationEnd"})})}):void 0;return l.useEffect(function(){var e,i=null===(e=k.current)||void 0===e?void 0:e.querySelector(".p-datatable-wrapper");if(i){var l=!1,n=function(){l||(l=!0,requestAnimationFrame(function(){var e=i.scrollTop;i.scrollHeight-e-i.clientHeight<100&&h&&!f&&(null==g||g()),l=!1}))};return i.addEventListener("scroll",n),function(){i.removeEventListener("scroll",n)}}},[m,h,f,g]),_?i.jsx("div",{children:e.__spreadArray([],Array(5),!0).map(function(l,n){return i.jsxs("div",e.__assign({className:"audit-skeletonRow"},{children:[i.jsx(t.Skeleton,{height:0===n?"55px":"25px",width:"25%"}),i.jsx(t.Skeleton,{height:0===n?"55px":"25px",width:"50%"}),i.jsx(t.Skeleton,{height:0===n?"55px":"25px",width:"25%"})]}),n)})}):m&&0!==m.length?i.jsx("div",e.__assign({className:"audit-tableWrap",ref:k},{children:i.jsx(n.DataTable,e.__assign({value:O,className:"audit-table ".concat(null!==(v=null==j?void 0:j.className)&&void 0!==v?v:""),dataKey:"id",scrollable:!0,scrollHeight:C},G,{rowClassName:function(i,l){var n="function"==typeof B?B(i,l):B,o=!S&&!w||(null==i?void 0:i.__loading)?"":"audit-row--clickable";return n&&"object"==typeof n?e.__assign(e.__assign({},n),{"audit-row--clickable":!!o}):[n,o].filter(Boolean).join(" ")},expandedRows:R,onRowToggle:function(e){return E(e.data)},rowExpansionTemplate:S?function(l){var n;return!S||(null==l?void 0:l.__loading)?null:i.jsx("div",e.__assign({className:"audit-rowDetail ".concat(null!==(n=null==N?void 0:N.className)&&void 0!==n?n:""),style:null==N?void 0:N.style},{children:N.render(l,{close:function(){return D(l)}})}))}:void 0,onRowClick:function(e){var i,l,n=null==e?void 0:e.data;if(n&&!n.__loading){var o=null===(i=null==e?void 0:e.originalEvent)||void 0===i?void 0:i.target;(null===(l=null==o?void 0:o.closest)||void 0===l?void 0:l.call(o,"button, a, input, .audit-seeMore"))||(null==w||w(n,{isExpanded:T(n),expand:function(){return A(n)},collapse:function(){return D(n)},toggle:function(){return M(n)}}),S&&!1!==(null==N?void 0:N.expandOnRowClick)&&M(n)),null==L||L(e)}},footerColumnGroup:P},{children:null==y?void 0:y.map(function(e){return i.jsx(o.Column,{header:null==e?void 0:e.header,body:function(l){return(null==l?void 0:l.__loading)?i.jsx(t.Skeleton,{height:"25px"}):null==e?void 0:e.body(l)},style:null==e?void 0:e.style,headerStyle:null==e?void 0:e.headerStyle,bodyStyle:null==e?void 0:e.bodyStyle,headerClassName:null==e?void 0:e.headerClassName,bodyClassName:null==e?void 0:e.bodyClassName},null==e?void 0:e.key)})}))})):i.jsxs("div",e.__assign({className:"audit-emptyState"},{children:[(null==x?void 0:x.icon)?x.icon:i.jsx("i",{className:"pi pi-file",style:{fontSize:"63px",marginBottom:"8px"}}),i.jsx("div",e.__assign({className:"audit-emptyTitle"},{children:null!==(u=null==x?void 0:x.title)&&void 0!==u?u:"No Data found"})),i.jsx("div",e.__assign({className:"audit-emptyDesc"},{children:null!==(c=null==x?void 0:x.description)&&void 0!==c?c:"Try adjusting your filters or search criteria."}))]}))};
2
- //# sourceMappingURL=FTable.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),n=require("react"),r=require("lucide-react");exports.default=function(t){var i,a,o=t.value,l=t.orderBy,c=void 0===l?"asc":l,u=t.options,d=t.placeholder,v=void 0===d?"Sort By":d,_=t.onChange,f=n.useState(!1),p=f[0],x=f[1],g=n.useRef(null);n.useEffect(function(){var e=function(e){g.current&&!g.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var j=u.some(function(e){return e.value===o}),h=null!==(a=null===(i=u.find(function(e){return e.value===o}))||void 0===i?void 0:i.label)&&void 0!==a?a:v;return s.jsxs("div",e.__assign({className:"q-sort",ref:g},{children:[s.jsxs("button",e.__assign({className:"q-sort__trigger",onClick:function(){return x(function(e){return!e})}},{children:[s.jsxs("div",e.__assign({className:"q-sort__left"},{children:[s.jsx("div",e.__assign({onClick:function(e){j&&(e.preventDefault(),e.stopPropagation(),_(o,"asc"===c?"desc":"asc"))},className:"q-sort__order-toggle",style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:j?"pointer":"default",color:j?"#6366f1":"#94A3B8",background:j?"rgba(245, 243, 255, 0.90)":"transparent",padding:"4px",borderRadius:"6px",transition:"all 0.2s ease"}},{children:"asc"===c?s.jsx(r.ArrowUp,{size:16,strokeWidth:2.5}):s.jsx(r.ArrowDown,{size:16,strokeWidth:2.5})})),s.jsxs("span",{children:["Sort by:"," ",h]})]})),s.jsx("div",e.__assign({style:{width:"35px"}},{children:s.jsx(r.ChevronDown,{size:22})}))]})),p&&s.jsx("div",e.__assign({className:"q-sort__menu"},{children:u.map(function(n){return s.jsxs("button",e.__assign({className:"q-sort__option ".concat(o===n.value?"q-sort__option--active":""),onClick:function(){o===n.value?_("","asc"):_(n.value,"asc"),x(!1)},style:{display:"flex",alignItems:"center",gap:"8px"}},{children:[o===n.value?s.jsx(r.Check,{size:14}):s.jsx("div",{style:{width:14}}),s.jsx("span",{children:n.label})]}),n.value)})}))]}))};
2
- //# sourceMappingURL=SortDropdown.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),s=require("react/jsx-runtime"),l=require("react"),a=require("lucide-react"),t=require("./FTable.js"),i=require("../FiltersSidebar/CustomTextInput.js"),n=require("./SortDropdown.js");exports.default=function(r){var c=r.title,o=r.icon,d=r.showExpandButton,u=void 0===d||d,h=r.className,v=r.styles,x=r.table,_=r.searchBar,j=r.sort,p=r.onExpand,g=l.useState(!1),m=g[0],y=g[1];return s.jsxs("div",e.__assign({className:"\n tc-root\n ".concat(m?"tc-root--fullscreen":"","\n ").concat(null!=h?h:"","\n "),style:null==v?void 0:v.root},{children:[s.jsxs("div",e.__assign({className:"tc-header",style:null==v?void 0:v.header},{children:[s.jsxs("div",e.__assign({className:"tc-header-left"},{children:[o&&s.jsx("div",e.__assign({className:"tc-title-icon",style:e.__assign({width:"20px",height:"20px"},null==v?void 0:v.icon)},{children:o})),s.jsx("div",e.__assign({className:"tc-title",style:null==v?void 0:v.title},{children:c}))]})),s.jsxs("div",e.__assign({className:"tc-header-right"},{children:[_&&s.jsx(i.default,{value:null==_?void 0:_.value,placeholder:null==_?void 0:_.placeholder,onChange:null==_?void 0:_.onChange,searchIcon:!0,className:"tc-search"}),j&&s.jsx(n.default,{value:j.value,orderBy:j.orderBy,options:j.options,placeholder:null==j?void 0:j.placeholder,onChange:j.onChange}),u&&s.jsx("button",e.__assign({className:"tc-expand-btn",onClick:function(){var e=!m;y(e),null==p||p(e)}},{children:m?s.jsx(a.Minimize,{size:20}):s.jsx(a.Maximize,{size:20})}))]}))]})),s.jsx("div",e.__assign({className:"tc-table"},{children:s.jsx(t.default,e.__assign({},x,{emptyState:null==x?void 0:x.emptyState,scrollHeight:m?"calc(100vh - 140px)":null==x?void 0:x.scrollHeight}))}))]}))};
2
- //# sourceMappingURL=TableCard.js.map
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/_tslib.js"),l=require("react/jsx-runtime"),n=require("react"),t=require("./TableLayoutToggle.js"),s=require("./useResponsiveColumns.js"),o=require("./spans.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(n);exports.default=function(a){var r,u=a.children,d=a.itemSpans,c=a.totalColumns,m=void 0===c?12:c,g=a.defaultSpan,v=a.options,p=void 0===v?[1,2,3]:v,f=a.defaultColumns,_=a.columns,h=a.onColumnsChange,j=a.showToggle,x=void 0===j||j,y=a.toggleLabel,C=a.toolbarLeft,b=a.minColumnWidth,q=void 0===b?380:b,N=a.gap,S=void 0===N?12:N,T=a.equalHeights,A=void 0===T||T,F=a.className,L=a.style,w=!!(null==d?void 0:d.some(function(e){return null!=e})),M=n.useState(function(){var e;return null!==(e=null!=_?_:f)&&void 0!==e?e:w?"custom":1}),R=M[0],k=M[1],B=null!=_?_:R,H="custom"===B&&w,O=s.useResponsiveColumns("number"==typeof B?B:1,q,S),P=O[0],W=O[1],z=W.columns,D=W.maxFitting,E=i.default.Children.toArray(u).filter(Boolean),G=o.minSpanFor(m,D),I=null!==(r=o.resolveSpan(g,m))&&void 0!==r?r:m,J=w?e.__spreadArray(e.__spreadArray([],p,!0),["custom"],!1):p;return l.jsxs("div",e.__assign({ref:P,className:"tg-root ".concat(null!=F?F:""),style:L},{children:[x&&(C||J.length>1)&&l.jsxs("div",e.__assign({className:"tg-toolbar-row"},{children:[l.jsx("div",e.__assign({className:"tg-toolbar-left"},{children:C})),J.length>1&&l.jsx(t.default,{value:B,options:J,onChange:function(e){null==_&&k(e),null==h||h(e)},maxFitting:D,label:y})]})),l.jsx("div",e.__assign({className:"tg-grid ".concat(A?"":"tg-grid--auto-height"),style:{gridTemplateColumns:"repeat(".concat(H?m:z,", minmax(0, 1fr))"),gap:S}},{children:E.map(function(n,t){var s,a,i=H?Math.max(G,null!==(s=o.resolveSpan(null==d?void 0:d[t],m))&&void 0!==s?s:I):null;return l.jsx("div",e.__assign({className:"tg-cell",style:i?{gridColumn:"span ".concat(i)}:void 0},{children:n}),null!==(a=null==n?void 0:n.key)&&void 0!==a?a:t)})}))]}))};
2
- //# sourceMappingURL=TableGrid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableGrid.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../../../_virtual/_tslib.js"),e=require("react/jsx-runtime"),n=require("lucide-react"),s={1:e.jsx(n.RectangleHorizontal,{size:16}),2:e.jsx(n.Columns2,{size:16}),3:e.jsx(n.Columns3,{size:16}),4:e.jsx(n.Columns4,{size:16})},l=function(t){var l;return"custom"===t?e.jsx(n.LayoutPanelTop,{size:16}):null!==(l=s[t])&&void 0!==l?l:e.jsx(n.Columns4,{size:16})},a=function(t,e){return"custom"===t?"Configured layout":null==e||t<=e?"".concat(t," table").concat(t>1?"s":""," per row"):"".concat(t," per row — not enough width, showing ").concat(e)};exports.default=function(n){var s=n.value,o=n.options,r=n.onChange,i=n.maxFitting,u=n.label,c=n.className,g=n.style;return o.length?e.jsxs("div",t.__assign({className:"tg-toolbar ".concat(null!=c?c:""),style:g},{children:[u&&e.jsx("span",t.__assign({className:"tg-toolbar-label"},{children:u})),e.jsx("div",t.__assign({className:"tg-toggle",role:"group","aria-label":"Table grid layout"},{children:o.map(function(n){var o=n===s,u="custom"===n||null==i||n<=i;return e.jsx("button",t.__assign({type:"button",className:"tg-toggle-btn ".concat(o?"tg-toggle-btn--active":""," ").concat(u?"":"tg-toggle-btn--cramped"),"aria-pressed":o,title:a(n,i),onClick:function(){return r(n)}},{children:l(n)}),String(n))})}))]})):null};
2
- //# sourceMappingURL=TableLayoutToggle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableLayoutToggle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=/^(\d+)\s*\/\s*(\d+)$/;exports.minSpanFor=function(r,t){return Math.ceil(r/Math.max(1,t))},exports.resolveSpan=function(t,e){if(null==t)return null;if("number"==typeof t)return!Number.isFinite(t)||t<=0?null:Math.min(e,Math.max(1,Math.round(t)));var n=t.trim().toLowerCase();if("full"===n||"1"===n)return e;if("half"===n)return Math.round(e/2);if("third"===n)return Math.round(e/3);if("quarter"===n)return Math.round(e/4);var u=r.exec(n);if(u){var a=u[1],i=u[2],o=Number(a)/Number(i);return!Number.isFinite(o)||o<=0?null:Math.min(e,Math.max(1,Math.round(e*o)))}var l=Number(n);return Number.isFinite(l)&&l>0?Math.min(e,Math.max(1,Math.round(l))):null};
2
- //# sourceMappingURL=spans.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spans.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),n="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;function r(r,t,u){var i=e.useRef(null),c=e.useState(null),l=c[0],a=c[1],o=e.useRef(null),s=e.useRef(null);n(function(){var e=i.current;if(e){var n=function(){var n=e.getBoundingClientRect().width;null!=o.current&&Math.abs(n-o.current)<1||(o.current=n,a(n))},r=function(){null==s.current&&(s.current=requestAnimationFrame(function(){s.current=null,i.current&&n()}))};if(n(),"undefined"==typeof ResizeObserver)return window.addEventListener("resize",r),function(){window.removeEventListener("resize",r),null!=s.current&&cancelAnimationFrame(s.current),s.current=null};var t=new ResizeObserver(r);return t.observe(e),function(){t.disconnect(),null!=s.current&&cancelAnimationFrame(s.current),s.current=null}}},[]);var f=null==l?r:Math.max(1,Math.floor((l+u)/(t+u)));return[i,{columns:Math.max(1,Math.min(r,f)),maxFitting:f,width:l}]}exports.default=r,exports.useResponsiveColumns=r;
2
- //# sourceMappingURL=useResponsiveColumns.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useResponsiveColumns.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),l=require("react/jsx-runtime"),t=require("react"),n=require("recharts"),a=require("./utils.js");function r(e){if(e&&e.__esModule)return e;var l=Object.create(null);return e&&Object.keys(e).forEach(function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(l,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}}),l.default=e,Object.freeze(l)}var i=r(t),o=r(n),c=i.createContext(null);function s(){var e=i.useContext(c);if(!e)throw new Error("useChart must be used within a <ChartContainer />");return e}var d=i.forwardRef(function(t,n){var r=t.id,s=t.className,d=t.children,v=t.config,_=t.scrollable,h=void 0!==_&&_,m=e.__rest(t,["id","className","children","config","scrollable"]),f=i.useId(),g="chart-".concat((r||f).replace(/:/g,""));return l.jsx(c.Provider,e.__assign({value:{config:v}},{children:l.jsx("div",e.__assign({className:"".concat(h&&"chart-scroll")},{children:l.jsxs("div",e.__assign({"data-chart":g,ref:n,className:a.cn("ellm-chart ".concat(h&&"chart-inner"),s)},m,{children:[l.jsx(u,{id:g,config:v}),l.jsx(o.ResponsiveContainer,e.__assign({},h?{width:2600}:{},{children:d}))]}))}))}))});d.displayName="ChartContainer";var u=function(e){var t=e.id,n=e.config,a=Object.entries(n).filter(function(e){return e[1].color});if(!a.length)return null;var r=a.map(function(e){var l=e[0],t=e[1];return" --color-".concat(l,": ").concat(t.color,";")}).join("\n");return l.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-chart=".concat(t,"] {\n").concat(r,"\n}")}})},v=o.Tooltip,_=i.forwardRef(function(t,n){var r=t.active,o=t.payload,c=t.className,d=t.indicator,u=void 0===d?"dot":d,v=t.hideLabel,_=t.hideIndicator,h=t.label,m=t.labelFormatter,g=t.formatter,p=t.valueFormatters,y=t.color,x=t.nameKey,j=t.labelKey,b=s().config,C=i.useMemo(function(){var t,n;if(v||!(null==o?void 0:o.length))return null;var a=o[0],r="".concat(j||(null==a?void 0:a.dataKey)||(null==a?void 0:a.name)||"value"),i=f(b,a,r),c=j||"string"!=typeof h?null==i?void 0:i.label:null!==(n=null===(t=b[h])||void 0===t?void 0:t.label)&&void 0!==n?n:h;return m?l.jsx("div",e.__assign({className:"ellm-chart__tooltip-label"},{children:m(c,o)})):null==c?null:l.jsx("div",e.__assign({className:"ellm-chart__tooltip-label"},{children:c}))},[h,m,o,v,b,j]);if(!r||!(null==o?void 0:o.length))return null;var N=1===o.length&&"dot"!==u;return l.jsxs("div",e.__assign({ref:n,className:a.cn("ellm-chart__tooltip",c)},{children:[N?null:C,l.jsx("div",e.__assign({className:"ellm-chart__tooltip-items"},{children:o.map(function(t,n){var r,i,o,c,s="".concat(x||t.name||t.dataKey||"value"),d=f(b,t,s),v=y||(null===(r=t.payload)||void 0===r?void 0:r.fill)||t.color;return l.jsx("div",e.__assign({className:"ellm-chart__tooltip-item"},{children:g&&void 0!==(null==t?void 0:t.value)&&t.name?g(t.value,t.name,t,n,t.payload):l.jsxs(l.Fragment,{children:[(null==d?void 0:d.icon)?l.jsx(d.icon,{}):!_&&l.jsx("span",{className:a.cn("ellm-chart__indicator","ellm-chart__indicator--".concat(u)),style:{"--indicator-color":v}}),l.jsxs("div",e.__assign({className:a.cn("ellm-chart__tooltip-row",N&&"ellm-chart__tooltip-row--nested")},{children:[l.jsxs("div",e.__assign({className:"ellm-chart__tooltip-grid"},{children:[N?C:null,l.jsx("span",e.__assign({className:"ellm-chart__tooltip-name"},{children:null!==(i=null==d?void 0:d.label)&&void 0!==i?i:t.name}))]})),void 0!==t.value&&l.jsx("span",e.__assign({className:"ellm-chart__tooltip-value"},{children:(null==p?void 0:p[String(null!==(o=t.dataKey)&&void 0!==o?o:"")])?p[String(t.dataKey)](t.value,t):"number"==typeof t.value?t.value.toLocaleString():t.value}))]}))]})}),String(null!==(c=t.dataKey)&&void 0!==c?c:n))})}))]}))});_.displayName="ChartTooltipContent";var h=o.Legend,m=i.forwardRef(function(t,n){var r=t.className,i=t.hideIcon,o=t.payload,c=t.verticalAlign,d=void 0===c?"bottom":c,u=t.align,v=void 0===u?"center":u,_=t.nameKey,h=t.onItemClick,m=t.hiddenKeys,g=s().config;return(null==o?void 0:o.length)?l.jsx("div",e.__assign({ref:n,className:a.cn("ellm-chart__legend","top"===d?"ellm-chart__legend--top":"ellm-chart__legend--bottom","left"===v?"ellm-chart__legend--start":"right"===v?"ellm-chart__legend--end":"ellm-chart__legend--center",r)},{children:o.map(function(t,n){var r,o,c="".concat(_||t.dataKey||"value"),s=f(g,t,c),d=null==m?void 0:m.has(c);return l.jsxs("button",e.__assign({type:"button",className:a.cn("ellm-chart__legend-item",d&&"ellm-chart__legend-item--off"),onClick:h?function(){return h(c)}:void 0,disabled:!h,style:{cursor:h?"pointer":"default"}},{children:[(null==s?void 0:s.icon)&&!i?l.jsx(s.icon,{}):l.jsxs("svg",e.__assign({className:"ellm-chart__legend-marker",width:"28",height:"12",viewBox:"0 0 28 12","aria-hidden":"true"},{children:[l.jsx("line",{x1:"1",y1:"6",x2:"27",y2:"6",stroke:t.color,strokeWidth:"2.5",strokeLinecap:"round"}),l.jsx("circle",{cx:"14",cy:"6",r:"4",fill:"#fff",stroke:t.color,strokeWidth:"2.5"})]})),null!==(r=null==s?void 0:s.label)&&void 0!==r?r:t.value]}),String(null!==(o=t.value)&&void 0!==o?o:n))})})):null});function f(e,l,t){if("object"==typeof l&&null!==l){var n="payload"in l&&"object"==typeof l.payload&&null!==l.payload?l.payload:void 0,a=t;return t in l&&"string"==typeof l[t]?a=l[t]:n&&t in n&&"string"==typeof n[t]&&(a=n[t]),a in e?e[a]:e[t]}}m.displayName="ChartLegendContent",exports.ChartContainer=d,exports.ChartLegend=h,exports.ChartLegendContent=m,exports.ChartTooltip=v,exports.ChartTooltipContent=_,exports.useChart=s;
2
- //# sourceMappingURL=chart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.useVisibilityPolling=function(t,i,n,u){void 0===t&&(t=!1);var r=e.useRef(null),c=function(){r.current=window.setInterval(n,i)},o=function(){null!==r.current&&(clearTimeout(r.current),r.current=null)},l=function(){"hidden"===document.visibilityState?o():"visible"===document.visibilityState&&t&&c()};e.useEffect(function(){return t&&c(),document.addEventListener("visibilitychange",l),function(){document.removeEventListener("visibilitychange",l),o()}},u)};
2
- //# sourceMappingURL=useVisibilityPolling.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useVisibilityPolling.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=[{value:1e12,suffix:"T"},{value:1e9,suffix:"B"},{value:1e6,suffix:"M"},{value:1e3,suffix:"K"}];function r(e,r){return e.toFixed(r).replace(/\.0+$/,"").replace(/(\.\d*[1-9])0+$/,"$1")}function t(t){if(!Number.isFinite(t))return"";for(var i=Math.abs(t),n=0;n<e.length;n++){var u=e[n];if(!(i<u.value)){var a=t/u.value,o=Math.abs(a)<100?1:0;if(n>0&&Math.abs(Number(a.toFixed(o)))>=1e3){var l=e[n-1];return r(a=t/l.value,o=Math.abs(a)<100?1:0)+l.suffix}return r(a,o)+u.suffix}}return Number.isInteger(t)?t.toLocaleString():Number(t.toFixed(2)).toLocaleString()}function i(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&"currentValue"in e}function n(e){if(null!=e&&""!==e){var r=Number(e);return Number.isFinite(r)?r:void 0}}function u(e,r,t){if("higher_better"!==t&&"lower_better"!==t)return"neutral";var i=n(e),u=n(r);if(void 0===i||void 0===u)return"neutral";var a=i-u;return 0===a?"neutral":"higher_better"===t===a>0?"positive":"negative"}var a={positive:"#059669",negative:"#dc2626"};exports.KPI_SENTIMENT_COLORS=a,exports.compactNumber=t,exports.formatKpiValue=function e(r,n){if(i(r))return e(r.currentValue,n);if(null==r||""===r)return"";if("string"==typeof r&&/[a-zA-Z%]/.test(r))return"dollar"!==n||r.startsWith("$")?r:"$".concat(r);var u=Number(r);if(Number.isNaN(u))return String(r);var a=t(u);switch(n){case"dollar":return"$".concat(a);case"percentage":return"".concat(a,"%");default:return a}},exports.getActiveFilterCount=function(e){return Object.values(e).filter(function(e){return Array.isArray(e)?e.length>0:null!=e&&""!==e}).length},exports.getKpiDelta=function(e,r,t){var i=n(e),a=n(r);if(void 0!==i&&void 0!==a&&0!==a){var o=(i-a)/Math.abs(a)*100;if(Number.isFinite(o)){var l=o>0?"up":o<0?"down":"flat",f=Math.abs(o);return{percent:o,direction:l,sentiment:u(e,r,t),label:f>0&&f<.1?"<0.1%":"".concat(Number(f.toFixed(1)),"%")}}}},exports.getKpiSentiment=u,exports.getKpiValueColor=function(e,r,t,i){var n,o=u(e,r,t);if("neutral"!==o)return null!==(n=null==i?void 0:i[o])&&void 0!==n?n:a[o]},exports.isKpiValueObject=i;
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react/jsx-runtime"),e=require("lucide-react"),r={activity:s.jsx(e.Activity,{}),airplay:s.jsx(e.Airplay,{}),alarm:s.jsx(e.AlarmClock,{}),archive:s.jsx(e.Archive,{}),"arrow-down":s.jsx(e.ArrowDown,{}),"arrow-left":s.jsx(e.ArrowLeft,{}),"arrow-right":s.jsx(e.ArrowRight,{}),"arrow-up":s.jsx(e.ArrowUp,{}),at:s.jsx(e.AtSign,{}),award:s.jsx(e.Award,{}),badge:s.jsx(e.BadgeCheck,{}),banknote:s.jsx(e.Banknote,{}),"bar-chart":s.jsx(e.BarChart,{}),"bar-chart-2":s.jsx(e.BarChart2,{}),"chart-bar":s.jsx(e.BarChart3,{}),battery:s.jsx(e.Battery,{}),bell:s.jsx(e.Bell,{}),bike:s.jsx(e.Bike,{}),book:s.jsx(e.Book,{}),bookmark:s.jsx(e.Bookmark,{}),briefcase:s.jsx(e.Briefcase,{}),building:s.jsx(e.Building,{}),building2:s.jsx(e.Building2,{}),bus:s.jsx(e.Bus,{}),calendar:s.jsx(e.Calendar,{}),camera:s.jsx(e.Camera,{}),car:s.jsx(e.Car,{}),check:s.jsx(e.Check,{}),"check-check":s.jsx(e.CheckCheck,{}),"chevron-down":s.jsx(e.ChevronDown,{}),"chevron-left":s.jsx(e.ChevronLeft,{}),"chevron-right":s.jsx(e.ChevronRight,{}),"chevron-up":s.jsx(e.ChevronUp,{}),circle:s.jsx(e.Circle,{}),clipboard:s.jsx(e.Clipboard,{}),"clipboard-check":s.jsx(e.ClipboardCheck,{}),clock:s.jsx(e.Clock,{}),cloud:s.jsx(e.Cloud,{}),rain:s.jsx(e.CloudRain,{}),code:s.jsx(e.Code,{}),cog:s.jsx(e.Cog,{}),cpu:s.jsx(e.Cpu,{}),"credit-card":s.jsx(e.CreditCard,{}),database:s.jsx(e.Database,{}),dollar:s.jsx(e.DollarSign,{}),download:s.jsx(e.Download,{}),edit:s.jsx(e.Edit,{}),eye:s.jsx(e.Eye,{}),file:s.jsx(e.File,{}),"file-text":s.jsx(e.FileText,{}),filter:s.jsx(e.Filter,{}),flag:s.jsx(e.Flag,{}),folder:s.jsx(e.Folder,{}),gift:s.jsx(e.Gift,{}),globe:s.jsx(e.Globe,{}),graduation:s.jsx(e.GraduationCap,{}),hammer:s.jsx(e.Hammer,{}),harddrive:s.jsx(e.HardDrive,{}),heart:s.jsx(e.Heart,{}),help:s.jsx(e.HelpCircle,{}),home:s.jsx(e.Home,{}),image:s.jsx(e.Image,{}),inbox:s.jsx(e.Inbox,{}),info:s.jsx(e.Info,{}),key:s.jsx(e.Key,{}),laptop:s.jsx(e.Laptop,{}),dashboard:s.jsx(e.LayoutDashboard,{}),lifebuoy:s.jsx(e.LifeBuoy,{}),bulb:s.jsx(e.Lightbulb,{}),link:s.jsx(e.Link,{}),list:s.jsx(e.List,{}),loader:s.jsx(e.Loader,{}),lock:s.jsx(e.Lock,{}),login:s.jsx(e.LogIn,{}),logout:s.jsx(e.LogOut,{}),mail:s.jsx(e.Mail,{}),map:s.jsx(e.Map,{}),menu:s.jsx(e.Menu,{}),message:s.jsx(e.MessageCircle,{}),mic:s.jsx(e.Mic,{}),monitor:s.jsx(e.Monitor,{}),moon:s.jsx(e.Moon,{}),more:s.jsx(e.MoreHorizontal,{}),package:s.jsx(e.Package,{}),pentool:s.jsx(e.PenTool,{}),percent:s.jsx(e.Percent,{}),phone:s.jsx(e.Phone,{}),"pie-chart":s.jsx(e.PieChart,{}),pin:s.jsx(e.Pin,{}),play:s.jsx(e.Play,{}),plus:s.jsx(e.Plus,{}),printer:s.jsx(e.Printer,{}),rocket:s.jsx(e.Rocket,{}),search:s.jsx(e.Search,{}),send:s.jsx(e.Send,{}),settings:s.jsx(e.Settings,{}),shield:s.jsx(e.Shield,{}),cart:s.jsx(e.ShoppingCart,{}),smartphone:s.jsx(e.Smartphone,{}),star:s.jsx(e.Star,{}),sun:s.jsx(e.Sun,{}),tag:s.jsx(e.Tag,{}),target:s.jsx(e.Target,{}),trash:s.jsx(e.Trash,{}),"trending-down":s.jsx(e.TrendingDown,{}),"trending-up":s.jsx(e.TrendingUp,{}),truck:s.jsx(e.Truck,{}),upload:s.jsx(e.Upload,{}),user:s.jsx(e.User,{}),"user-check":s.jsx(e.UserCheck,{}),"user-cog":s.jsx(e.UserCog,{}),"user-plus":s.jsx(e.UserPlus,{}),users:s.jsx(e.Users,{}),wallet:s.jsx(e.Wallet,{}),wifi:s.jsx(e.Wifi,{}),wrench:s.jsx(e.Wrench,{}),close:s.jsx(e.X,{}),zap:s.jsx(e.Zap,{})};exports.ICON_MAP=r,exports.getKpiIcon=function(s){if(s)return r[s]};
2
- //# sourceMappingURL=kpiIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"kpiIcon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("../../_virtual/_tslib.js"),e=["graphBuilder","kpiCards","tableBuilder"],n=["dateFilters","sidebarFilters"];function t(r){if("string"!=typeof r)return null;var e=r.trim().toLowerCase().replace(/[\s_-]/g,"");return e.length?e:null}function i(r,e,n){e.length&&"production"!==process.env.NODE_ENV&&console.warn("[federated-dashboard] ".concat(r,": ignored unrecognized section ")+"".concat(1===e.length?"name":"names"," ").concat(e.map(function(r){return JSON.stringify(r)}).join(", "),". Available sections: ").concat(n.join(", "),"."))}function o(r,e,o){if(null==r)return[];if(!Array.isArray(r))return i(o,[r],e),[];var a=new Map;e.forEach(function(r){var e=t(r);e&&a.set(e,r)});for(var s=new Set(n.map(t)),u=[],c=[],l=0,d=r;l<d.length;l++){var f=d[l],p=t(f),v=p?a.get(p):void 0;v?u.includes(v)||u.push(v):p&&s.has(p)||c.push(f)}return i(o,c,e),u}exports.DASHBOARD_SECTION_KEYS=e,exports.PINNED_SECTION_KEYS=n,exports.isSectionHidden=function(r,e){if(!Array.isArray(r))return!1;var n=t(e);return null!=n&&r.some(function(r){return t(r)===n})},exports.resolveSectionOrder=function(n,t,i,a){void 0===a&&(a=e);var s=o(n,a,"sectionOrder"),u=s.length?s:o(i,a,"uiConfig.data.sectionOrder"),c=o(t,a,"hiddenSections");return r.__spreadArray(r.__spreadArray([],u,!0),a.filter(function(r){return!u.includes(r)}),!0).filter(function(r){return!c.includes(r)})};
2
- //# sourceMappingURL=sectionOrder.js.map