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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (749) hide show
  1. package/README.md +698 -0
  2. package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js +2 -0
  3. package/dist/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +1 -0
  4. package/dist/ExecutiveDashboard/api/dashboardApi.js +2 -0
  5. package/dist/ExecutiveDashboard/api/dashboardApi.js.map +1 -0
  6. package/dist/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +2 -0
  7. package/dist/ExecutiveDashboard/components/DashboardCard/CardShell.js +2 -0
  8. package/dist/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +2 -0
  9. package/dist/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +2 -0
  10. package/dist/ExecutiveDashboard/components/DashboardCard/DetailRow.js +2 -0
  11. package/dist/ExecutiveDashboard/components/DashboardCard/EventsSection.js +2 -0
  12. package/dist/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +2 -0
  13. package/dist/ExecutiveDashboard/components/DashboardCard/GridSection.js +2 -0
  14. package/dist/ExecutiveDashboard/components/DashboardCard/ListSection.js +2 -0
  15. package/dist/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +2 -0
  16. package/dist/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +2 -0
  17. package/dist/ExecutiveDashboard/components/DashboardCard/TagsSection.js +2 -0
  18. package/dist/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +2 -0
  19. package/dist/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
  20. package/dist/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +2 -0
  21. package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +2 -0
  22. package/dist/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +1 -0
  23. package/dist/ExecutiveDashboard/components/DatePickers/DatePicker.js +2 -0
  24. package/dist/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +2 -0
  25. package/dist/ExecutiveDashboard/components/DatePickers/DateSelector.js +2 -0
  26. package/dist/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +2 -0
  27. package/dist/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +2 -0
  28. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js +2 -0
  29. package/dist/ExecutiveDashboard/components/ExecutiveDashboard.js.map +1 -0
  30. package/dist/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +2 -0
  31. package/dist/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +2 -0
  32. package/dist/ExecutiveDashboard/components/Graph/Graph.js +2 -0
  33. package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js +2 -0
  34. package/dist/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +1 -0
  35. package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js +2 -0
  36. package/dist/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +1 -0
  37. package/dist/ExecutiveDashboard/components/Graph/LineChart.js +2 -0
  38. package/dist/ExecutiveDashboard/components/Graph/PlotBySelector.js +2 -0
  39. package/dist/ExecutiveDashboard/components/MetricCard/MetricCard.js +2 -0
  40. package/dist/ExecutiveDashboard/components/Table/FTable.js +2 -0
  41. package/dist/ExecutiveDashboard/components/Table/SortDropdown.js +2 -0
  42. package/dist/ExecutiveDashboard/components/Table/TableCard.js +2 -0
  43. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +2 -0
  44. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +1 -0
  45. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +2 -0
  46. package/dist/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +1 -0
  47. package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js +2 -0
  48. package/dist/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +1 -0
  49. package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +2 -0
  50. package/dist/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +1 -0
  51. package/dist/ExecutiveDashboard/components/ui/chart.js +2 -0
  52. package/dist/ExecutiveDashboard/utils/index.js +2 -0
  53. package/dist/ExecutiveDashboard/utils/index.js.map +1 -0
  54. package/dist/ExecutiveDashboard/utils/kpiIcon.js +2 -0
  55. package/dist/ExecutiveDashboard/utils/kpiIcon.js.map +1 -0
  56. package/dist/ExecutiveDashboard/utils/sectionOrder.js +2 -0
  57. package/dist/ExecutiveDashboard/utils/sectionOrder.js.map +1 -0
  58. package/dist/ExecutiveDashboard/utils/tableColumns.js +2 -0
  59. package/dist/ExecutiveDashboard/utils/tableColumns.js.map +1 -0
  60. package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js +2 -0
  61. package/dist/RecordDashboard/RecordApi/RecordDashboardApi.js.map +1 -0
  62. package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +2 -0
  63. package/dist/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +1 -0
  64. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +2 -0
  65. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +1 -0
  66. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +2 -0
  67. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +1 -0
  68. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +2 -0
  69. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +1 -0
  70. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +2 -0
  71. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +1 -0
  72. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +2 -0
  73. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +1 -0
  74. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +2 -0
  75. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +1 -0
  76. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +2 -0
  77. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +1 -0
  78. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +2 -0
  79. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +1 -0
  80. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +2 -0
  81. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +1 -0
  82. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +2 -0
  83. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +1 -0
  84. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +2 -0
  85. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +1 -0
  86. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +2 -0
  87. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +1 -0
  88. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +2 -0
  89. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +1 -0
  90. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +2 -0
  91. package/dist/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +1 -0
  92. package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +2 -0
  93. package/dist/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +1 -0
  94. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +2 -0
  95. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +1 -0
  96. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +2 -0
  97. package/dist/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +1 -0
  98. package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +2 -0
  99. package/dist/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +1 -0
  100. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +2 -0
  101. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +1 -0
  102. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +2 -0
  103. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +1 -0
  104. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +2 -0
  105. package/dist/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +1 -0
  106. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +2 -0
  107. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +1 -0
  108. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +2 -0
  109. package/dist/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +1 -0
  110. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +2 -0
  111. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +1 -0
  112. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +2 -0
  113. package/dist/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +1 -0
  114. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js +2 -0
  115. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +1 -0
  116. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +2 -0
  117. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +1 -0
  118. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +2 -0
  119. package/dist/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +1 -0
  120. package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +2 -0
  121. package/dist/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +1 -0
  122. package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +2 -0
  123. package/dist/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +1 -0
  124. package/dist/RecordDashboard/RecordComponents/Graph/types.js +2 -0
  125. package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +2 -0
  126. package/dist/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +1 -0
  127. package/dist/RecordDashboard/RecordComponents/RecordDashboard.js +2 -0
  128. package/dist/RecordDashboard/RecordComponents/RecordDashboard.js.map +1 -0
  129. package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +2 -0
  130. package/dist/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +1 -0
  131. package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +2 -0
  132. package/dist/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +1 -0
  133. package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js +2 -0
  134. package/dist/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +1 -0
  135. package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +2 -0
  136. package/dist/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +1 -0
  137. package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js +2 -0
  138. package/dist/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +1 -0
  139. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +2 -0
  140. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +1 -0
  141. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +2 -0
  142. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +1 -0
  143. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +2 -0
  144. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +1 -0
  145. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +2 -0
  146. package/dist/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +1 -0
  147. package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +2 -0
  148. package/dist/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +1 -0
  149. package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js +2 -0
  150. package/dist/RecordDashboard/RecordComponents/ui/RecordChart.js.map +1 -0
  151. package/dist/RecordDashboard/RecordComponents/ui/utils.js +2 -0
  152. package/dist/RecordDashboard/RecordDashboardWrapper.js +2 -0
  153. package/dist/RecordDashboard/RecordDashboardWrapper.js.map +1 -0
  154. package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js +2 -0
  155. package/dist/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +1 -0
  156. package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js +2 -0
  157. package/dist/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +1 -0
  158. package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js +2 -0
  159. package/dist/RecordDashboard/RecordUtils/RecordTableColumns.js.map +1 -0
  160. package/dist/RecordDashboard/RecordUtils/index.js +2 -0
  161. package/dist/RecordDashboard/RecordUtils/index.js.map +1 -0
  162. package/dist/_virtual/_tslib.js +1 -1
  163. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js +2 -0
  164. package/dist/cjs/ExecutiveDashboard/ExecutiveDashboardWrapper.js.map +1 -0
  165. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js +2 -0
  166. package/dist/cjs/ExecutiveDashboard/api/dashboardApi.js.map +1 -0
  167. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.js +2 -0
  168. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CardShell.js +2 -0
  169. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/CenteredCell.js +2 -0
  170. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DashboardCard.js +2 -0
  171. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/DetailRow.js +2 -0
  172. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/EventsSection.js +2 -0
  173. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.js +2 -0
  174. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/GridSection.js +2 -0
  175. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/ListSection.js +2 -0
  176. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.js +2 -0
  177. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/SkeletonRow.js +2 -0
  178. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TagsSection.js +2 -0
  179. package/dist/cjs/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.js +2 -0
  180. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.js +2 -0
  181. package/dist/cjs/ExecutiveDashboard/components/DashboardDateFilter/datePreset.js +2 -0
  182. package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js +2 -0
  183. package/dist/cjs/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.js.map +1 -0
  184. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DatePicker.js +2 -0
  185. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateRangeSelector.js +2 -0
  186. package/dist/cjs/ExecutiveDashboard/components/DatePickers/DateSelector.js +2 -0
  187. package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.js +2 -0
  188. package/dist/cjs/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.js +2 -0
  189. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js +2 -0
  190. package/dist/cjs/ExecutiveDashboard/components/ExecutiveDashboard.js.map +1 -0
  191. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.js +2 -0
  192. package/dist/cjs/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.js +2 -0
  193. package/dist/cjs/ExecutiveDashboard/components/Graph/Graph.js +2 -0
  194. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js +2 -0
  195. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphEmptyState.js.map +1 -0
  196. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js +2 -0
  197. package/dist/cjs/ExecutiveDashboard/components/Graph/GraphSkeleton.js.map +1 -0
  198. package/dist/cjs/ExecutiveDashboard/components/Graph/LineChart.js +2 -0
  199. package/dist/cjs/ExecutiveDashboard/components/Graph/PlotBySelector.js +2 -0
  200. package/dist/cjs/ExecutiveDashboard/components/Graph/types.js.map +1 -0
  201. package/dist/cjs/ExecutiveDashboard/components/MetricCard/MetricCard.js +2 -0
  202. package/dist/cjs/ExecutiveDashboard/components/Table/FTable.js +2 -0
  203. package/dist/cjs/ExecutiveDashboard/components/Table/SortDropdown.js +2 -0
  204. package/dist/cjs/ExecutiveDashboard/components/Table/TableCard.js +2 -0
  205. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js +2 -0
  206. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableGrid.js.map +1 -0
  207. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js +2 -0
  208. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.js.map +1 -0
  209. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js +2 -0
  210. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/spans.js.map +1 -0
  211. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js +2 -0
  212. package/dist/cjs/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.js.map +1 -0
  213. package/dist/cjs/ExecutiveDashboard/components/ui/chart.js +2 -0
  214. package/dist/cjs/ExecutiveDashboard/components/ui/utils.js.map +1 -0
  215. package/dist/cjs/ExecutiveDashboard/utils/index.js +2 -0
  216. package/dist/cjs/ExecutiveDashboard/utils/index.js.map +1 -0
  217. package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js +2 -0
  218. package/dist/cjs/ExecutiveDashboard/utils/kpiIcon.js.map +1 -0
  219. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js +2 -0
  220. package/dist/cjs/ExecutiveDashboard/utils/sectionOrder.js.map +1 -0
  221. package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js +2 -0
  222. package/dist/cjs/ExecutiveDashboard/utils/tableColumns.js.map +1 -0
  223. package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js +2 -0
  224. package/dist/cjs/RecordDashboard/RecordApi/RecordDashboardApi.js.map +1 -0
  225. package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js +2 -0
  226. package/dist/cjs/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.js.map +1 -0
  227. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js +2 -0
  228. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.js.map +1 -0
  229. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js +2 -0
  230. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.js.map +1 -0
  231. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js +2 -0
  232. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.js.map +1 -0
  233. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js +2 -0
  234. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.js.map +1 -0
  235. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js +2 -0
  236. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.js.map +1 -0
  237. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js +2 -0
  238. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.js.map +1 -0
  239. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js +2 -0
  240. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.js.map +1 -0
  241. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js +2 -0
  242. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.js.map +1 -0
  243. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js +2 -0
  244. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.js.map +1 -0
  245. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js +2 -0
  246. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.js.map +1 -0
  247. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js +2 -0
  248. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.js.map +1 -0
  249. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js +2 -0
  250. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.js.map +1 -0
  251. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js +2 -0
  252. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.js.map +1 -0
  253. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js +2 -0
  254. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.js.map +1 -0
  255. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js +2 -0
  256. package/dist/cjs/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.js.map +1 -0
  257. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js +2 -0
  258. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.js.map +1 -0
  259. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js +2 -0
  260. package/dist/cjs/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.js.map +1 -0
  261. package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js +2 -0
  262. package/dist/cjs/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.js.map +1 -0
  263. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js +2 -0
  264. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.js.map +1 -0
  265. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js +2 -0
  266. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.js.map +1 -0
  267. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js +2 -0
  268. package/dist/cjs/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.js.map +1 -0
  269. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js +2 -0
  270. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.js.map +1 -0
  271. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js +2 -0
  272. package/dist/cjs/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.js.map +1 -0
  273. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js +2 -0
  274. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.js.map +1 -0
  275. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js +2 -0
  276. package/dist/cjs/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.js.map +1 -0
  277. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js +2 -0
  278. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraph.js.map +1 -0
  279. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js +2 -0
  280. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.js.map +1 -0
  281. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js +2 -0
  282. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.js.map +1 -0
  283. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js +2 -0
  284. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordLineChart.js.map +1 -0
  285. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js +2 -0
  286. package/dist/cjs/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.js.map +1 -0
  287. package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js +2 -0
  288. package/dist/cjs/RecordDashboard/RecordComponents/Graph/types.js.map +1 -0
  289. package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js +2 -0
  290. package/dist/cjs/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.js.map +1 -0
  291. package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js +2 -0
  292. package/dist/cjs/RecordDashboard/RecordComponents/RecordDashboard.js.map +1 -0
  293. package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js +2 -0
  294. package/dist/cjs/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.js.map +1 -0
  295. package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js +2 -0
  296. package/dist/cjs/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.js.map +1 -0
  297. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js +2 -0
  298. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordFTable.js.map +1 -0
  299. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js +2 -0
  300. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordSortDropdown.js.map +1 -0
  301. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js +2 -0
  302. package/dist/cjs/RecordDashboard/RecordComponents/Table/RecordTableCard.js.map +1 -0
  303. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js +2 -0
  304. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.js.map +1 -0
  305. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js +2 -0
  306. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.js.map +1 -0
  307. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js +2 -0
  308. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.js.map +1 -0
  309. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js +2 -0
  310. package/dist/cjs/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.js.map +1 -0
  311. package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js +2 -0
  312. package/dist/cjs/RecordDashboard/RecordComponents/TableHeader/TableHeader.js.map +1 -0
  313. package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js +2 -0
  314. package/dist/cjs/RecordDashboard/RecordComponents/ui/RecordChart.js.map +1 -0
  315. package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js +2 -0
  316. package/dist/cjs/RecordDashboard/RecordComponents/ui/utils.js.map +1 -0
  317. package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js +2 -0
  318. package/dist/cjs/RecordDashboard/RecordDashboardWrapper.js.map +1 -0
  319. package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js +2 -0
  320. package/dist/cjs/RecordDashboard/RecordUtils/RecordKpiIcon.js.map +1 -0
  321. package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js +2 -0
  322. package/dist/cjs/RecordDashboard/RecordUtils/RecordSectionOrder.js.map +1 -0
  323. package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js +2 -0
  324. package/dist/cjs/RecordDashboard/RecordUtils/RecordTableColumns.js.map +1 -0
  325. package/dist/cjs/RecordDashboard/RecordUtils/index.js +2 -0
  326. package/dist/cjs/RecordDashboard/RecordUtils/index.js.map +1 -0
  327. package/dist/cjs/_virtual/_tslib.js +1 -1
  328. package/dist/cjs/index.js +1 -1
  329. package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js +9 -0
  330. package/dist/cjs/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  331. package/dist/cjs/node_modules/chart.js/auto/auto.js +2 -0
  332. package/dist/cjs/node_modules/chart.js/auto/auto.js.map +1 -0
  333. package/dist/cjs/node_modules/chart.js/dist/chart.js +8 -0
  334. package/dist/cjs/node_modules/chart.js/dist/chart.js.map +1 -0
  335. package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js +8 -0
  336. package/dist/cjs/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  337. package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +2 -0
  338. package/dist/cjs/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
  339. package/dist/cjs/styles.css +1 -1
  340. package/dist/index.js +1 -1
  341. package/dist/node_modules/@kurkle/color/dist/color.esm.js +8 -0
  342. package/dist/node_modules/@kurkle/color/dist/color.esm.js.map +1 -0
  343. package/dist/node_modules/chart.js/auto/auto.js +2 -0
  344. package/dist/node_modules/chart.js/auto/auto.js.map +1 -0
  345. package/dist/node_modules/chart.js/dist/chart.js +8 -0
  346. package/dist/node_modules/chart.js/dist/chart.js.map +1 -0
  347. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js +8 -0
  348. package/dist/node_modules/chart.js/dist/chunks/helpers.dataset.js.map +1 -0
  349. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +8 -0
  350. package/dist/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js.map +1 -0
  351. package/dist/styles.css +1 -1
  352. package/dist/types/App.d.ts +0 -1
  353. package/dist/types/App.d.ts.map +1 -1
  354. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts +4 -0
  355. package/dist/types/ExecutiveDashboard/ExecutiveDashboardWrapper.d.ts.map +1 -0
  356. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts +2 -0
  357. package/dist/types/ExecutiveDashboard/TestExecutiveDashboard.d.ts.map +1 -0
  358. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts +30 -0
  359. package/dist/types/ExecutiveDashboard/api/dashboardApi.d.ts.map +1 -0
  360. package/dist/types/ExecutiveDashboard/components/DashboardCard/BreakingNewsBanner.d.ts.map +1 -0
  361. package/dist/types/ExecutiveDashboard/components/DashboardCard/CardShell.d.ts.map +1 -0
  362. package/dist/types/ExecutiveDashboard/components/DashboardCard/CenteredCell.d.ts.map +1 -0
  363. package/dist/types/ExecutiveDashboard/components/DashboardCard/DashboardCard.d.ts.map +1 -0
  364. package/dist/types/ExecutiveDashboard/components/DashboardCard/DetailRow.d.ts.map +1 -0
  365. package/dist/types/ExecutiveDashboard/components/DashboardCard/EventsSection.d.ts.map +1 -0
  366. package/dist/types/ExecutiveDashboard/components/DashboardCard/FooterLinkButton.d.ts.map +1 -0
  367. package/dist/types/ExecutiveDashboard/components/DashboardCard/GridSection.d.ts.map +1 -0
  368. package/dist/types/ExecutiveDashboard/components/DashboardCard/ListSection.d.ts.map +1 -0
  369. package/dist/types/ExecutiveDashboard/components/DashboardCard/SectionHeadingBar.d.ts.map +1 -0
  370. package/dist/types/ExecutiveDashboard/components/DashboardCard/SkeletonRow.d.ts.map +1 -0
  371. package/dist/types/ExecutiveDashboard/components/DashboardCard/TagsSection.d.ts.map +1 -0
  372. package/dist/types/ExecutiveDashboard/components/DashboardCard/TopDropdownMenu.d.ts.map +1 -0
  373. package/dist/types/ExecutiveDashboard/components/DashboardCard/sectionContent.d.ts.map +1 -0
  374. package/dist/types/ExecutiveDashboard/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +1 -0
  375. package/dist/types/ExecutiveDashboard/components/DashboardCard/types.d.ts.map +1 -0
  376. package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.d.ts +2 -1
  377. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +1 -0
  378. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +1 -0
  379. package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/datePreset.d.ts +12 -11
  380. package/dist/types/ExecutiveDashboard/components/DashboardDateFilter/datePreset.d.ts.map +1 -0
  381. package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts +4 -0
  382. package/dist/types/ExecutiveDashboard/components/DashboardSkeleton/DashboardSkeleton.d.ts.map +1 -0
  383. package/dist/types/ExecutiveDashboard/components/DatePickers/DatePicker.d.ts.map +1 -0
  384. package/dist/types/ExecutiveDashboard/components/DatePickers/DateRangeSelector.d.ts.map +1 -0
  385. package/dist/types/ExecutiveDashboard/components/DatePickers/DateSelector.d.ts.map +1 -0
  386. package/dist/types/ExecutiveDashboard/components/DropDowns/CustomMultiSelect.d.ts.map +1 -0
  387. package/dist/types/ExecutiveDashboard/components/DropDowns/CustomSingleSelect.d.ts.map +1 -0
  388. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts +56 -0
  389. package/dist/types/ExecutiveDashboard/components/ExecutiveDashboard.d.ts.map +1 -0
  390. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/CustomTextInput.d.ts.map +1 -0
  391. package/dist/types/ExecutiveDashboard/components/FiltersSidebar/FiltersSidebar.d.ts.map +1 -0
  392. package/dist/types/ExecutiveDashboard/components/Graph/Graph.d.ts.map +1 -0
  393. package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts +11 -0
  394. package/dist/types/ExecutiveDashboard/components/Graph/GraphEmptyState.d.ts.map +1 -0
  395. package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts +10 -0
  396. package/dist/types/ExecutiveDashboard/components/Graph/GraphSkeleton.d.ts.map +1 -0
  397. package/dist/types/ExecutiveDashboard/components/Graph/LineChart.d.ts.map +1 -0
  398. package/dist/types/ExecutiveDashboard/components/Graph/PlotBySelector.d.ts.map +1 -0
  399. package/dist/types/ExecutiveDashboard/components/Graph/types.d.ts.map +1 -0
  400. package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts +49 -0
  401. package/dist/types/ExecutiveDashboard/components/MetricCard/MetricCard.d.ts.map +1 -0
  402. package/dist/types/{components → ExecutiveDashboard/components}/Table/FTable.d.ts +11 -10
  403. package/dist/types/ExecutiveDashboard/components/Table/FTable.d.ts.map +1 -0
  404. package/dist/types/ExecutiveDashboard/components/Table/SortDropdown.d.ts.map +1 -0
  405. package/dist/types/{components → ExecutiveDashboard/components}/Table/TableCard.d.ts +2 -1
  406. package/dist/types/ExecutiveDashboard/components/Table/TableCard.d.ts.map +1 -0
  407. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts +54 -0
  408. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableGrid.d.ts.map +1 -0
  409. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts +20 -0
  410. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/TableLayoutToggle.d.ts.map +1 -0
  411. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts +15 -0
  412. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/spans.d.ts.map +1 -0
  413. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts +17 -0
  414. package/dist/types/ExecutiveDashboard/components/Table/TableGrid/useResponsiveColumns.d.ts.map +1 -0
  415. package/dist/types/ExecutiveDashboard/components/ui/chart.d.ts.map +1 -0
  416. package/dist/types/ExecutiveDashboard/components/ui/utils.d.ts.map +1 -0
  417. package/dist/types/ExecutiveDashboard/constant/index.d.ts +5 -0
  418. package/dist/types/ExecutiveDashboard/constant/index.d.ts.map +1 -0
  419. package/dist/types/ExecutiveDashboard/types/index.d.ts +357 -0
  420. package/dist/types/ExecutiveDashboard/types/index.d.ts.map +1 -0
  421. package/dist/types/ExecutiveDashboard/utils/index.d.ts +65 -0
  422. package/dist/types/ExecutiveDashboard/utils/index.d.ts.map +1 -0
  423. package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts +4 -0
  424. package/dist/types/ExecutiveDashboard/utils/kpiIcon.d.ts.map +1 -0
  425. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts +43 -0
  426. package/dist/types/ExecutiveDashboard/utils/sectionOrder.d.ts.map +1 -0
  427. package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts +16 -0
  428. package/dist/types/ExecutiveDashboard/utils/tableColumns.d.ts.map +1 -0
  429. package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts +31 -0
  430. package/dist/types/RecordDashboard/RecordApi/RecordDashboardApi.d.ts.map +1 -0
  431. package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts +20 -0
  432. package/dist/types/RecordDashboard/RecordComponents/AnalyticsChart/AnalyticsChart.d.ts.map +1 -0
  433. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts +9 -0
  434. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordBreakingNewsBanner.d.ts.map +1 -0
  435. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts +22 -0
  436. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCardShell.d.ts.map +1 -0
  437. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts +6 -0
  438. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordCenteredCell.d.ts.map +1 -0
  439. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts +5 -0
  440. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDashboardCard.d.ts.map +1 -0
  441. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts +9 -0
  442. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordDetailRow.d.ts.map +1 -0
  443. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts +3 -0
  444. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordEventsSection.d.ts.map +1 -0
  445. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts +6 -0
  446. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordFooterLinkButton.d.ts.map +1 -0
  447. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts +3 -0
  448. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordGridSection.d.ts.map +1 -0
  449. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts +4 -0
  450. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordListSection.d.ts.map +1 -0
  451. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts +4 -0
  452. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionContent.d.ts.map +1 -0
  453. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts +9 -0
  454. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSectionHeadingBar.d.ts.map +1 -0
  455. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts +3 -0
  456. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordSkeletonRow.d.ts.map +1 -0
  457. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts +3 -0
  458. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTagsSection.d.ts.map +1 -0
  459. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts +6 -0
  460. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/RecordTopDropdownMenu.d.ts.map +1 -0
  461. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts +17 -0
  462. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/styles/RecordDashboardCardStyles.d.ts.map +1 -0
  463. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts +156 -0
  464. package/dist/types/RecordDashboard/RecordComponents/DashboardCard/types.d.ts.map +1 -0
  465. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts +41 -0
  466. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.d.ts.map +1 -0
  467. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts +18 -0
  468. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDashboardDateFilter.types.d.ts.map +1 -0
  469. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts +90 -0
  470. package/dist/types/RecordDashboard/RecordComponents/DashboardDateFilter/RecordDatePreset.d.ts.map +1 -0
  471. package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts +4 -0
  472. package/dist/types/RecordDashboard/RecordComponents/DashboardSkeleton/RecordDashboardSkeleton.d.ts.map +1 -0
  473. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts +10 -0
  474. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDatePicker.d.ts.map +1 -0
  475. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts +20 -0
  476. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateRangeSelector.d.ts.map +1 -0
  477. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts +19 -0
  478. package/dist/types/RecordDashboard/RecordComponents/DatePickers/RecordDateSelector.d.ts.map +1 -0
  479. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts +17 -0
  480. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomMultiSelect.d.ts.map +1 -0
  481. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts +16 -0
  482. package/dist/types/RecordDashboard/RecordComponents/DropDowns/RecordCustomSingleSelect.d.ts.map +1 -0
  483. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts +12 -0
  484. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordCustomTextInput.d.ts.map +1 -0
  485. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts +34 -0
  486. package/dist/types/RecordDashboard/RecordComponents/FiltersSidebar/RecordFiltersSidebar.d.ts.map +1 -0
  487. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts +4 -0
  488. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraph.d.ts.map +1 -0
  489. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts +11 -0
  490. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphEmptyState.d.ts.map +1 -0
  491. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts +10 -0
  492. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordGraphSkeleton.d.ts.map +1 -0
  493. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts +25 -0
  494. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordLineChart.d.ts.map +1 -0
  495. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts +17 -0
  496. package/dist/types/RecordDashboard/RecordComponents/Graph/RecordPlotBySelector.d.ts.map +1 -0
  497. package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts +217 -0
  498. package/dist/types/RecordDashboard/RecordComponents/Graph/types.d.ts.map +1 -0
  499. package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts +49 -0
  500. package/dist/types/RecordDashboard/RecordComponents/MetricCard/RecordMetricCard.d.ts.map +1 -0
  501. package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts +84 -0
  502. package/dist/types/RecordDashboard/RecordComponents/RecordDashboard.d.ts.map +1 -0
  503. package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts +9 -0
  504. package/dist/types/RecordDashboard/RecordComponents/StatsCard/RecordDashboardStats.d.ts.map +1 -0
  505. package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts +28 -0
  506. package/dist/types/RecordDashboard/RecordComponents/Table/Pagination/TablePagination.d.ts.map +1 -0
  507. package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts +70 -0
  508. package/dist/types/RecordDashboard/RecordComponents/Table/RecordFTable.d.ts.map +1 -0
  509. package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts +13 -0
  510. package/dist/types/RecordDashboard/RecordComponents/Table/RecordSortDropdown.d.ts.map +1 -0
  511. package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts +43 -0
  512. package/dist/types/RecordDashboard/RecordComponents/Table/RecordTableCard.d.ts.map +1 -0
  513. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts +15 -0
  514. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordSpans.d.ts.map +1 -0
  515. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts +54 -0
  516. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableGrid.d.ts.map +1 -0
  517. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts +20 -0
  518. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/RecordTableLayoutToggle.d.ts.map +1 -0
  519. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts +17 -0
  520. package/dist/types/RecordDashboard/RecordComponents/Table/TableGrid/useRecordResponsiveColumns.d.ts.map +1 -0
  521. package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts +53 -0
  522. package/dist/types/RecordDashboard/RecordComponents/TableHeader/TableHeader.d.ts.map +1 -0
  523. package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts +72 -0
  524. package/dist/types/RecordDashboard/RecordComponents/ui/RecordChart.d.ts.map +1 -0
  525. package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts +7 -0
  526. package/dist/types/RecordDashboard/RecordComponents/ui/utils.d.ts.map +1 -0
  527. package/dist/types/RecordDashboard/RecordConstant/index.d.ts +5 -0
  528. package/dist/types/RecordDashboard/RecordConstant/index.d.ts.map +1 -0
  529. package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts +7 -0
  530. package/dist/types/RecordDashboard/RecordDashboardWrapper.d.ts.map +1 -0
  531. package/dist/types/RecordDashboard/RecordTypes/index.d.ts +965 -0
  532. package/dist/types/RecordDashboard/RecordTypes/index.d.ts.map +1 -0
  533. package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts +4 -0
  534. package/dist/types/RecordDashboard/RecordUtils/RecordKpiIcon.d.ts.map +1 -0
  535. package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts +43 -0
  536. package/dist/types/RecordDashboard/RecordUtils/RecordSectionOrder.d.ts.map +1 -0
  537. package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts +10 -0
  538. package/dist/types/RecordDashboard/RecordUtils/RecordTableColumns.d.ts.map +1 -0
  539. package/dist/types/RecordDashboard/RecordUtils/index.d.ts +65 -0
  540. package/dist/types/RecordDashboard/RecordUtils/index.d.ts.map +1 -0
  541. package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts +2 -0
  542. package/dist/types/RecordDashboard/TestRecordDashbaord.d.ts.map +1 -0
  543. package/dist/types/index.d.ts +74 -19
  544. package/dist/types/index.d.ts.map +1 -1
  545. package/package.json +11 -8
  546. package/dist/cjs/components/DashboardCard/BreakingNewsBanner.js +0 -2
  547. package/dist/cjs/components/DashboardCard/CardShell.js +0 -2
  548. package/dist/cjs/components/DashboardCard/CenteredCell.js +0 -2
  549. package/dist/cjs/components/DashboardCard/DashboardCard.js +0 -2
  550. package/dist/cjs/components/DashboardCard/DetailRow.js +0 -2
  551. package/dist/cjs/components/DashboardCard/EventsSection.js +0 -2
  552. package/dist/cjs/components/DashboardCard/FooterLinkButton.js +0 -2
  553. package/dist/cjs/components/DashboardCard/GridSection.js +0 -2
  554. package/dist/cjs/components/DashboardCard/ListSection.js +0 -2
  555. package/dist/cjs/components/DashboardCard/SectionHeadingBar.js +0 -2
  556. package/dist/cjs/components/DashboardCard/SkeletonRow.js +0 -2
  557. package/dist/cjs/components/DashboardCard/TagsSection.js +0 -2
  558. package/dist/cjs/components/DashboardCard/TopDropdownMenu.js +0 -2
  559. package/dist/cjs/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
  560. package/dist/cjs/components/DashboardDateFilter/datePreset.js +0 -2
  561. package/dist/cjs/components/DatePickers/DatePicker.js +0 -2
  562. package/dist/cjs/components/DatePickers/DateRangeSelector.js +0 -2
  563. package/dist/cjs/components/DatePickers/DateSelector.js +0 -2
  564. package/dist/cjs/components/DropDowns/CustomMultiSelect.js +0 -2
  565. package/dist/cjs/components/DropDowns/CustomSingleSelect.js +0 -2
  566. package/dist/cjs/components/FiltersSidebar/CustomTextInput.js +0 -2
  567. package/dist/cjs/components/FiltersSidebar/FiltersSidebar.js +0 -2
  568. package/dist/cjs/components/Graph/Graph.js +0 -2
  569. package/dist/cjs/components/Graph/LineChart.js +0 -2
  570. package/dist/cjs/components/Graph/PlotBySelector.js +0 -2
  571. package/dist/cjs/components/MetricCard/MetricCard.js +0 -2
  572. package/dist/cjs/components/Table/FTable.js +0 -2
  573. package/dist/cjs/components/Table/SortDropdown.js +0 -2
  574. package/dist/cjs/components/Table/TableCard.js +0 -2
  575. package/dist/cjs/components/ui/chart.js +0 -2
  576. package/dist/components/DashboardCard/BreakingNewsBanner.js +0 -2
  577. package/dist/components/DashboardCard/CardShell.js +0 -2
  578. package/dist/components/DashboardCard/CenteredCell.js +0 -2
  579. package/dist/components/DashboardCard/DashboardCard.js +0 -2
  580. package/dist/components/DashboardCard/DetailRow.js +0 -2
  581. package/dist/components/DashboardCard/EventsSection.js +0 -2
  582. package/dist/components/DashboardCard/FooterLinkButton.js +0 -2
  583. package/dist/components/DashboardCard/GridSection.js +0 -2
  584. package/dist/components/DashboardCard/ListSection.js +0 -2
  585. package/dist/components/DashboardCard/SectionHeadingBar.js +0 -2
  586. package/dist/components/DashboardCard/SkeletonRow.js +0 -2
  587. package/dist/components/DashboardCard/TagsSection.js +0 -2
  588. package/dist/components/DashboardCard/TopDropdownMenu.js +0 -2
  589. package/dist/components/DashboardDateFilter/DashboardDateFilter.js +0 -2
  590. package/dist/components/DashboardDateFilter/datePreset.js +0 -2
  591. package/dist/components/DatePickers/DatePicker.js +0 -2
  592. package/dist/components/DatePickers/DateRangeSelector.js +0 -2
  593. package/dist/components/DatePickers/DateSelector.js +0 -2
  594. package/dist/components/DropDowns/CustomMultiSelect.js +0 -2
  595. package/dist/components/DropDowns/CustomSingleSelect.js +0 -2
  596. package/dist/components/FiltersSidebar/CustomTextInput.js +0 -2
  597. package/dist/components/FiltersSidebar/FiltersSidebar.js +0 -2
  598. package/dist/components/Graph/Graph.js +0 -2
  599. package/dist/components/Graph/LineChart.js +0 -2
  600. package/dist/components/Graph/PlotBySelector.js +0 -2
  601. package/dist/components/MetricCard/MetricCard.js +0 -2
  602. package/dist/components/Table/FTable.js +0 -2
  603. package/dist/components/Table/SortDropdown.js +0 -2
  604. package/dist/components/Table/TableCard.js +0 -2
  605. package/dist/components/ui/chart.js +0 -2
  606. package/dist/types/components/DashboardCard/BreakingNewsBanner.d.ts.map +0 -1
  607. package/dist/types/components/DashboardCard/CardShell.d.ts.map +0 -1
  608. package/dist/types/components/DashboardCard/CenteredCell.d.ts.map +0 -1
  609. package/dist/types/components/DashboardCard/DashboardCard.d.ts.map +0 -1
  610. package/dist/types/components/DashboardCard/DetailRow.d.ts.map +0 -1
  611. package/dist/types/components/DashboardCard/EventsSection.d.ts.map +0 -1
  612. package/dist/types/components/DashboardCard/FooterLinkButton.d.ts.map +0 -1
  613. package/dist/types/components/DashboardCard/GridSection.d.ts.map +0 -1
  614. package/dist/types/components/DashboardCard/ListSection.d.ts.map +0 -1
  615. package/dist/types/components/DashboardCard/SectionHeadingBar.d.ts.map +0 -1
  616. package/dist/types/components/DashboardCard/SkeletonRow.d.ts.map +0 -1
  617. package/dist/types/components/DashboardCard/TagsSection.d.ts.map +0 -1
  618. package/dist/types/components/DashboardCard/TopDropdownMenu.d.ts.map +0 -1
  619. package/dist/types/components/DashboardCard/sectionContent.d.ts.map +0 -1
  620. package/dist/types/components/DashboardCard/styles/DashboardCardStyles.d.ts.map +0 -1
  621. package/dist/types/components/DashboardCard/types.d.ts.map +0 -1
  622. package/dist/types/components/DashboardDateFilter/DashboardDateFilter.d.ts.map +0 -1
  623. package/dist/types/components/DashboardDateFilter/DashboardDateFilter.types.d.ts.map +0 -1
  624. package/dist/types/components/DashboardDateFilter/datePreset.d.ts.map +0 -1
  625. package/dist/types/components/DatePickers/DatePicker.d.ts.map +0 -1
  626. package/dist/types/components/DatePickers/DateRangeSelector.d.ts.map +0 -1
  627. package/dist/types/components/DatePickers/DateSelector.d.ts.map +0 -1
  628. package/dist/types/components/DropDowns/CustomMultiSelect.d.ts.map +0 -1
  629. package/dist/types/components/DropDowns/CustomSingleSelect.d.ts.map +0 -1
  630. package/dist/types/components/FiltersSidebar/CustomTextInput.d.ts.map +0 -1
  631. package/dist/types/components/FiltersSidebar/FiltersSidebar.d.ts.map +0 -1
  632. package/dist/types/components/Graph/Graph.d.ts.map +0 -1
  633. package/dist/types/components/Graph/LineChart.d.ts.map +0 -1
  634. package/dist/types/components/Graph/PlotBySelector.d.ts.map +0 -1
  635. package/dist/types/components/Graph/types.d.ts.map +0 -1
  636. package/dist/types/components/MetricCard/MetricCard.d.ts +0 -31
  637. package/dist/types/components/MetricCard/MetricCard.d.ts.map +0 -1
  638. package/dist/types/components/Table/FTable.d.ts.map +0 -1
  639. package/dist/types/components/Table/SortDropdown.d.ts.map +0 -1
  640. package/dist/types/components/Table/TableCard.d.ts.map +0 -1
  641. package/dist/types/components/ui/chart.d.ts.map +0 -1
  642. package/dist/types/components/ui/utils.d.ts.map +0 -1
  643. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/BreakingNewsBanner.js.map +0 -0
  644. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/CardShell.js.map +0 -0
  645. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/CenteredCell.js.map +0 -0
  646. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/DashboardCard.js.map +0 -0
  647. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/DetailRow.js.map +0 -0
  648. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/EventsSection.js.map +0 -0
  649. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/FooterLinkButton.js.map +0 -0
  650. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/GridSection.js.map +0 -0
  651. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/ListSection.js.map +0 -0
  652. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/SectionHeadingBar.js.map +0 -0
  653. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/SkeletonRow.js.map +0 -0
  654. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/TagsSection.js.map +0 -0
  655. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/TopDropdownMenu.js.map +0 -0
  656. /package/dist/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.js +0 -0
  657. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/sectionContent.js.map +0 -0
  658. /package/dist/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
  659. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
  660. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
  661. /package/dist/{cjs → ExecutiveDashboard}/components/DashboardDateFilter/datePreset.js.map +0 -0
  662. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DatePicker.js.map +0 -0
  663. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DateRangeSelector.js.map +0 -0
  664. /package/dist/{cjs → ExecutiveDashboard}/components/DatePickers/DateSelector.js.map +0 -0
  665. /package/dist/{cjs → ExecutiveDashboard}/components/DropDowns/CustomMultiSelect.js.map +0 -0
  666. /package/dist/{cjs → ExecutiveDashboard}/components/DropDowns/CustomSingleSelect.js.map +0 -0
  667. /package/dist/{cjs → ExecutiveDashboard}/components/FiltersSidebar/CustomTextInput.js.map +0 -0
  668. /package/dist/{cjs → ExecutiveDashboard}/components/FiltersSidebar/FiltersSidebar.js.map +0 -0
  669. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/Graph.js.map +0 -0
  670. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/LineChart.js.map +0 -0
  671. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/PlotBySelector.js.map +0 -0
  672. /package/dist/{components → ExecutiveDashboard/components}/Graph/types.js +0 -0
  673. /package/dist/{cjs → ExecutiveDashboard}/components/Graph/types.js.map +0 -0
  674. /package/dist/{cjs → ExecutiveDashboard}/components/MetricCard/MetricCard.js.map +0 -0
  675. /package/dist/{cjs → ExecutiveDashboard}/components/Table/FTable.js.map +0 -0
  676. /package/dist/{cjs → ExecutiveDashboard}/components/Table/SortDropdown.js.map +0 -0
  677. /package/dist/{cjs → ExecutiveDashboard}/components/Table/TableCard.js.map +0 -0
  678. /package/dist/{cjs → ExecutiveDashboard}/components/ui/chart.js.map +0 -0
  679. /package/dist/{components → ExecutiveDashboard/components}/ui/utils.js +0 -0
  680. /package/dist/{cjs → ExecutiveDashboard}/components/ui/utils.js.map +0 -0
  681. /package/dist/{components → RecordDashboard/RecordComponents}/Graph/types.js.map +0 -0
  682. /package/dist/{components → RecordDashboard/RecordComponents}/ui/utils.js.map +0 -0
  683. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/BreakingNewsBanner.js.map +0 -0
  684. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/CardShell.js.map +0 -0
  685. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/CenteredCell.js.map +0 -0
  686. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/DashboardCard.js.map +0 -0
  687. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/DetailRow.js.map +0 -0
  688. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/EventsSection.js.map +0 -0
  689. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/FooterLinkButton.js.map +0 -0
  690. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/GridSection.js.map +0 -0
  691. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/ListSection.js.map +0 -0
  692. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/SectionHeadingBar.js.map +0 -0
  693. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/SkeletonRow.js.map +0 -0
  694. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/TagsSection.js.map +0 -0
  695. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/TopDropdownMenu.js.map +0 -0
  696. /package/dist/cjs/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.js +0 -0
  697. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/sectionContent.js.map +0 -0
  698. /package/dist/cjs/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js +0 -0
  699. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.js.map +0 -0
  700. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.js.map +0 -0
  701. /package/dist/{components → cjs/ExecutiveDashboard/components}/DashboardDateFilter/datePreset.js.map +0 -0
  702. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DatePicker.js.map +0 -0
  703. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DateRangeSelector.js.map +0 -0
  704. /package/dist/{components → cjs/ExecutiveDashboard/components}/DatePickers/DateSelector.js.map +0 -0
  705. /package/dist/{components → cjs/ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.js.map +0 -0
  706. /package/dist/{components → cjs/ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.js.map +0 -0
  707. /package/dist/{components → cjs/ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.js.map +0 -0
  708. /package/dist/{components → cjs/ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.js.map +0 -0
  709. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/Graph.js.map +0 -0
  710. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/LineChart.js.map +0 -0
  711. /package/dist/{components → cjs/ExecutiveDashboard/components}/Graph/PlotBySelector.js.map +0 -0
  712. /package/dist/cjs/{components → ExecutiveDashboard/components}/Graph/types.js +0 -0
  713. /package/dist/{components → cjs/ExecutiveDashboard/components}/MetricCard/MetricCard.js.map +0 -0
  714. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/FTable.js.map +0 -0
  715. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/SortDropdown.js.map +0 -0
  716. /package/dist/{components → cjs/ExecutiveDashboard/components}/Table/TableCard.js.map +0 -0
  717. /package/dist/{components → cjs/ExecutiveDashboard/components}/ui/chart.js.map +0 -0
  718. /package/dist/cjs/{components → ExecutiveDashboard/components}/ui/utils.js +0 -0
  719. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/BreakingNewsBanner.d.ts +0 -0
  720. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/CardShell.d.ts +0 -0
  721. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/CenteredCell.d.ts +0 -0
  722. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/DashboardCard.d.ts +0 -0
  723. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/DetailRow.d.ts +0 -0
  724. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/EventsSection.d.ts +0 -0
  725. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/FooterLinkButton.d.ts +0 -0
  726. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/GridSection.d.ts +0 -0
  727. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/ListSection.d.ts +0 -0
  728. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/SectionHeadingBar.d.ts +0 -0
  729. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/SkeletonRow.d.ts +0 -0
  730. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/TagsSection.d.ts +0 -0
  731. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/TopDropdownMenu.d.ts +0 -0
  732. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/sectionContent.d.ts +0 -0
  733. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/styles/DashboardCardStyles.d.ts +0 -0
  734. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardCard/types.d.ts +0 -0
  735. /package/dist/types/{components → ExecutiveDashboard/components}/DashboardDateFilter/DashboardDateFilter.types.d.ts +0 -0
  736. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DatePicker.d.ts +0 -0
  737. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DateRangeSelector.d.ts +0 -0
  738. /package/dist/types/{components → ExecutiveDashboard/components}/DatePickers/DateSelector.d.ts +0 -0
  739. /package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomMultiSelect.d.ts +0 -0
  740. /package/dist/types/{components → ExecutiveDashboard/components}/DropDowns/CustomSingleSelect.d.ts +0 -0
  741. /package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/CustomTextInput.d.ts +0 -0
  742. /package/dist/types/{components → ExecutiveDashboard/components}/FiltersSidebar/FiltersSidebar.d.ts +0 -0
  743. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/Graph.d.ts +0 -0
  744. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/LineChart.d.ts +0 -0
  745. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/PlotBySelector.d.ts +0 -0
  746. /package/dist/types/{components → ExecutiveDashboard/components}/Graph/types.d.ts +0 -0
  747. /package/dist/types/{components → ExecutiveDashboard/components}/Table/SortDropdown.d.ts +0 -0
  748. /package/dist/types/{components → ExecutiveDashboard/components}/ui/chart.d.ts +0 -0
  749. /package/dist/types/{components → ExecutiveDashboard/components}/ui/utils.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as r,jsx as l}from"react/jsx-runtime";import o from"./styles/RecordDashboardCardStyles.js";import{RecordTopDropdownMenu as t}from"./RecordTopDropdownMenu.js";var d=function(d){var i=d.item;return r("div",e({style:o.centeredCell,onClick:i.onClick},{children:[i.dropdown&&l(t,{config:i.dropdown}),l("div",e({style:o.centeredCellLabel},{children:i.label})),l("div",e({style:e(e({},o.centeredCellValue),i.valueColor?{color:i.valueColor}:{})},{children:i.value})),i.sub&&l("div",e({style:e(e({},o.centeredCellSub),i.subColor?{color:i.subColor}:{})},{children:i.sub}))]}))};export{d as RecordCenteredCell};
2
+ //# sourceMappingURL=RecordCenteredCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordCenteredCell.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as o}from"../../../_virtual/_tslib.js";import{jsx as r,Fragment as e,jsxs as t}from"react/jsx-runtime";import n from"react";import a from"./styles/RecordDashboardCardStyles.js";import{RecordCardShell as c}from"./RecordCardShell.js";import{RecordSkeletonRow as l}from"./RecordSkeletonRow.js";import{RecordBreakingNewsBanner as i}from"./RecordBreakingNewsBanner.js";import{RecordSectionHeadingBar as d}from"./RecordSectionHeadingBar.js";import{RecordFooterLinkButton as s}from"./RecordFooterLinkButton.js";import{renderRecordSectionContent as h}from"./RecordSectionContent.js";var m=function(m){var f=m.accent,u=m.iconBg,p=m.icon,g=m.title,b=m.badge,C=void 0===b?"Today":b,B=m.heroValue,j=m.heroLabel,k=m.heroColor,v=m.heroDelta,L=m.chartData,R=m.chartLabels,x=m.chartColor,y=void 0===x?"#6366f1":x,D=m.chartPrefix,S=void 0===D?"":D,w=m.loading,T=m.footer,F=m.footerLinks,N=m.breakingNews,P=m.accentBg,V=m.accentBorder,_=m.accentText,H=m.sections,M=null!=T?T:F&&F.length>0?r("div",o({style:o(o({},a.footerLinks),F.length>1?a.footerLinksMulti:{})},{children:F.map(function(o,e){return r(s,{label:o.label,onClick:o.onClick},e)})})):null;return r(c,o({accent:f,iconBg:u,icon:p,title:g,badge:C,heroValue:B,heroLabel:j,heroColor:k,heroDelta:v,chartData:null!=L?L:null,chartLabels:R,chartColor:y,chartPrefix:S,footer:M},{children:w?r(e,{children:[0,1,2].map(function(o){return r(l,{},o)})}):t("div",o({style:a.bodyContent},{children:[r(i,{items:N,accentBg:P,accentBorder:V,accentText:_}),H.map(function(o,e){return t(n.Fragment,{children:[r(d,{label:o.heading,color:o.headingColor,dotColor:o.dotColor,count:o.count,pulse:o.pulse}),h(o)]},e)})]}))}))};export{m as RecordDashboardCard};
2
+ //# sourceMappingURL=RecordDashboardCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDashboardCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as o,jsx as r}from"react/jsx-runtime";import{useState as l}from"react";import{ChevronRight as t}from"lucide-react";import i from"./styles/RecordDashboardCardStyles.js";var a=function(a){var n=a.label,d=a.value,c=a.sub,s=a.onClick,u=a.valueColor,f=l(!1),m=f[0],v=f[1];return o(s?"button":"div",e({onClick:s,onMouseEnter:function(){return s&&v(!0)},onMouseLeave:function(){return s&&v(!1)},style:e(e(e({},i.detailRow),s?i.detailRowClickable:{}),s&&m?{backgroundColor:"#f8fafc"}:{})},{children:[o("div",e({style:i.detailRowMain},{children:[r("p",e({style:i.detailRowLabel},{children:n})),r("p",e({style:e(e({},i.detailRowValue),u?{color:u}:{})},{children:d})),c&&r("p",e({style:i.detailRowSub},{children:c}))]})),s&&r(t,{size:14,style:e(e({},i.detailRowChevron),m?i.detailRowChevronHover:{})})]}))};export{a as RecordDetailRow};
2
+ //# sourceMappingURL=RecordDetailRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDetailRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsx as t,jsxs as o}from"react/jsx-runtime";import{useState as r}from"react";import{ChevronRight as n,X as l}from"lucide-react";import i,{RECO_SEV_BADGE_STYLES as a,RECO_SEV_BADGE_DEFAULT as c,RECO_SEV_DOT_COLORS as d,RECO_STATUS_BADGE_STYLES as s,RECO_STATUS_BADGE_DEFAULT as u,RECO_ACTION_COLORS as m}from"./styles/RecordDashboardCardStyles.js";var v={BLOCKED:{action:"Request blocked — review policy rule",color:m.BLOCKED},FLAGGED:{action:"Flagged for review — investigate source",color:m.FLAGGED},ALLOWED:{action:"Allowed through — monitor for patterns",color:m.ALLOWED}};function y(e){var t=Math.floor((Date.now()-e.getTime())/1e3);if(t<60)return"just now";var o=Math.floor(t/60);if(o<60)return"".concat(o,"m ago");var r=Math.floor(o/60);return r<24?"".concat(r,"h ago"):"".concat(Math.floor(r/24),"d ago")}var h=function(m){var h,f,g,p,T=m.event,b=r(!1),D=b[0],L=b[1],w=r(!1),C=w[0],M=w[1],A=r(!1),E=A[0],R=A[1],S=null!==(h=a[T.severity])&&void 0!==h?h:c,k=T.status&&null!==(f=v[T.status])&&void 0!==f?f:null;return o("div",e({style:i.eventRowWrap},{children:[o("button",e({onClick:function(){return L(!0)},onMouseEnter:function(){return M(!0)},onMouseLeave:function(){return M(!1)},style:e(e({},i.eventRow),C?i.eventRowHover:{})},{children:[t("span",{style:e(e({},i.eventRowDot),{backgroundColor:null!==(g=d[T.severity])&&void 0!==g?g:"#cbd5e1"})}),t("p",e({style:i.eventRowTitle},{children:T.title})),t("span",e({style:i.eventRowTime},{children:y(T.timestamp)})),t(n,{size:10,style:i.eventRowChevron})]})),D&&t("div",e({style:i.modalOverlay},{children:o("div",e({style:i.modal},{children:[o("div",e({style:i.modalHeader},{children:[o("div",e({style:i.modalHeaderLeft},{children:[t("span",e({style:e(e({},i.modalBadge),S)},{children:T.severity})),T.status&&t("span",e({style:e(e({},i.modalStatusBadge),null!==(p=s[T.status])&&void 0!==p?p:u)},{children:T.status})),t("span",e({style:i.modalTitle},{children:T.title}))]})),t("button",e({onClick:function(){return L(!1)},style:i.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(l,{size:14})}))]})),o("div",e({style:i.modalBody},{children:[T.triageSummary&&o("div",{children:[t("h4",e({style:i.modalSectionTitle},{children:"Summary"})),t("p",e({style:i.modalSummaryText},{children:T.triageSummary}))]}),T.details&&T.details.length>0&&o("div",e({style:i.modalBodySpacer},{children:[t("h4",e({style:e(e({},i.modalSectionTitle),i.modalSectionTitleTight)},{children:"Metadata Details"})),t("div",e({style:i.modalDetailsGrid},{children:T.details.map(function(r){return o("div",e({style:i.modalDetail},{children:[t("span",e({style:i.modalDetailLabel},{children:r.label})),t("span",e({style:i.modalDetailValue},{children:r.value}))]}),r.label)})}))]})),T.incidentUrl&&t("div",e({style:e(e({},i.modalLinkRow),i.modalBodySpacer)},{children:t("a",e({href:T.incidentUrl,target:"_blank",rel:"noopener noreferrer",style:i.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 →"}))}))]})),k&&t("div",e({style:i.modalActionRow},{children:o("button",e({onClick:function(){var e;L(!1),null===(e=T.onAction)||void 0===e||e.call(T)},onMouseEnter:function(){return R(!0)},onMouseLeave:function(){return R(!1)},style:e(e({},i.modalActionBtn),E?i.modalActionBtnHover:{})},{children:[t("span",e({style:e(e({},i.modalActionText),{color:k.color})},{children:k.action})),t(n,{size:12,style:e(e(e({},i.modalActionChevron),{color:k.color}),E?i.modalActionChevronHover:{})})]}))}))]}))}))]}))},f=function(e){return t("div",{children:e.map(function(e){return t(h,{event:e},e.id)})})};export{f as renderRecordEventsSection};
2
+ //# sourceMappingURL=RecordEventsSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordEventsSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as r}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as e}from"react/jsx-runtime";import{ChevronRight as o}from"lucide-react";import n from"./styles/RecordDashboardCardStyles.js";var i=function(i){var c=i.label,l=i.onClick;return t("button",r({onClick:l,style:n.footerLink,onMouseEnter:function(r){return r.currentTarget.style.color="#4338ca"},onMouseLeave:function(r){return r.currentTarget.style.color="#6366f1"}},{children:[c," ",e(o,{size:11})]}))};export{i as RecordFooterLinkButton};
2
+ //# sourceMappingURL=RecordFooterLinkButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordFooterLinkButton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as r}from"../../../_virtual/_tslib.js";import{jsx as o,jsxs as e,Fragment as i}from"react/jsx-runtime";import l from"./styles/RecordDashboardCardStyles.js";import{RecordCenteredCell as d}from"./RecordCenteredCell.js";import{RecordTopDropdownMenu as n}from"./RecordTopDropdownMenu.js";import{RecordDetailRow as t}from"./RecordDetailRow.js";var a=function(a,c,m){for(var s=[],p=0;p<a.length;p+=c)s.push(a.slice(p,p+c));return o("div",{children:s.map(function(a,s){return o("div",r({style:r(r(r({},l.gridRow),{gridTemplateColumns:"repeat(".concat(c,", minmax(0, 1fr))")}),s>0?l.gridRowDivider:{})},{children:a.map(function(a,c){return o("div",r({style:r(r(r({},l.gridCell),m?{}:l.gridCellPadded),c>0?l.gridCellDivider:{})},{children:m?o(d,{item:a}):e(i,{children:[a.dropdown&&o(n,{config:a.dropdown}),o("div",r({style:l.gridCellInner,onClick:a.dropdown?a.onClick:void 0},{children:o(t,{label:a.label,value:a.value,sub:a.sub,onClick:a.dropdown?void 0:a.onClick,valueColor:a.valueColor})}))]})}),c)})}),s)})})};export{a as renderRecordGridSection};
2
+ //# sourceMappingURL=RecordGridSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordGridSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as i}from"../../../_virtual/_tslib.js";import{jsx as e,jsxs as t,Fragment as o}from"react/jsx-runtime";import{useState as l}from"react";import r from"./styles/RecordDashboardCardStyles.js";var n=function(n){var s,c,d=n.item,u=n.compact,a=l(!1),v=a[0],m=a[1];return e("div",i({style:i(i(i({},r.listRow),u?r.listRowCompact:{}),v?r.listRowHover:{}),onClick:d.onClick,onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},{children:t(o,u?{children:[e("span",{style:i(i({},r.listRowDot),{backgroundColor:null!==(s=d.dotColor)&&void 0!==s?s:"#cbd5e1",animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"})}),e("p",i({style:r.alertRowValue},{children:d.value})),d.sub&&e("span",i({style:r.alertRowSub},{children:d.sub}))]}:{children:[e("span",{style:i(i({},r.listRowDot),{backgroundColor:null!==(c=d.dotColor)&&void 0!==c?c:"#cbd5e1"})}),t("div",i({style:r.listRowMain},{children:[e("p",i({style:r.listRowValue},{children:d.value})),d.sub&&e("p",i({style:r.listRowSub},{children:d.sub}))]})),e("span",i({style:r.listRowLabel},{children:d.label}))]})}))},s=function(t){return e("div",{children:t.map(function(t,o){return e("div",i({style:o>0?r.listRowDivider:void 0},{children:e(n,{item:t})}),o)})})},c=function(t){return e("div",{children:t.map(function(t,o){return e("div",i({style:o>0?r.listRowDivider:void 0},{children:e(n,{item:t,compact:!0})}),o)})})};export{c as renderRecordAlertsSection,s as renderRecordListSection};
2
+ //# sourceMappingURL=RecordListSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordListSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{renderRecordGridSection as t}from"./RecordGridSection.js";import{renderRecordAlertsSection as e,renderRecordListSection as r}from"./RecordListSection.js";import{renderRecordTagsSection as n}from"./RecordTagsSection.js";import{renderRecordEventsSection as o}from"./RecordEventsSection.js";var i=function(i){var s,c;if(i.content)return i.content;if("tags"===i.format&&i.tagsConfig)return n(i.tagsConfig);if("events"===i.format&&i.events)return o(i.events);if(!i.items||0===i.items.length)return null;switch(i.format){case"grid":return t(i.items,null!==(s=i.columns)&&void 0!==s?s:2,i.centered);case"list":return r(i.items);case"alerts":return e(i.items);default:return t(i.items,null!==(c=i.columns)&&void 0!==c?c:2,i.centered)}};export{i as renderRecordSectionContent};
2
+ //# sourceMappingURL=RecordSectionContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordSectionContent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as i,jsx as o}from"react/jsx-runtime";import t from"./styles/RecordDashboardCardStyles.js";var n=function(n){var r=n.label,l=n.color,s=n.dotColor,a=n.count,c=n.pulse;return i("div",e({style:e(e({},t.sectionHeading),null!=l?l:t.sectionHeadingDefault)},{children:[s&&o("span",{style:e(e(e({},t.sectionHeadingDot),{backgroundColor:s}),c?{animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"}:{})}),o("p",e({style:t.sectionHeadingLabel},{children:r})),void 0!==a&&o("span",e({style:t.sectionHeadingCount},{children:a}))]}))};export{n as RecordSectionHeadingBar};
2
+ //# sourceMappingURL=RecordSectionHeadingBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordSectionHeadingBar.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as r}from"react/jsx-runtime";import i from"./styles/RecordDashboardCardStyles.js";var o=function(){return t("div",e({style:i.skeletonRow},{children:[r("div",{style:e(e({},i.skeletonLine),i.skeletonLineTitle)}),r("div",{style:e(e({},i.skeletonLine),i.skeletonLineValue)})]}))};export{o as RecordSkeletonRow};
2
+ //# sourceMappingURL=RecordSkeletonRow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordSkeletonRow.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as t}from"../../../_virtual/_tslib.js";import{jsxs as e,jsx as l}from"react/jsx-runtime";import s from"./styles/RecordDashboardCardStyles.js";var a=function(a){var r,n;return e("div",t({style:s.tags},{children:[l("div",t({style:s.tagsTop},{children:e("div",t({style:s.tagsMeta},{children:[l("span",t({style:s.tagsLabel},{children:a.label})),e("span",t({style:s.tagsCount},{children:[a.count," ",null!==(r=a.countSuffix)&&void 0!==r?r:1===a.count?"Item":"Items"]}))]}))})),l("div",t({style:s.tagsList},{children:a.tags.length>0?a.tags.map(function(a,r){var n;return e("span",t({style:s.tag},{children:[l("span",{style:t(t({},s.tagDot),{backgroundColor:null!==(n=a.dotColor)&&void 0!==n?n:"#94a3b8"})}),a.label]}),r)}):l("span",t({style:s.tagsEmpty},{children:null!==(n=a.emptyText)&&void 0!==n?n:"No items detected"}))}))]}))};export{a as renderRecordTagsSection};
2
+ //# sourceMappingURL=RecordTagsSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordTagsSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as r}from"../../../_virtual/_tslib.js";import{jsxs as n,Fragment as o,jsx as e}from"react/jsx-runtime";import{useState as t}from"react";import i from"./styles/RecordDashboardCardStyles.js";var l=function(l){var d=l.config,a=t(!1),s=a[0],c=a[1];return n(o,{children:[n("button",r({onClick:function(r){r.stopPropagation(),c(!s)},style:r(r({},i.dropdownTrigger),s?i.dropdownTriggerOpen:i.dropdownTriggerClosed)},{children:["Top ",d.items.length," ▾"]})),s&&e("div",r({style:i.dropdownPanel,onMouseLeave:function(){return c(!1)}},{children:n("div",r({style:i.dropdownInner},{children:[e("span",r({style:i.dropdownTitle},{children:d.title})),d.items.map(function(o,t){return n("button",r({onClick:function(r){var n;r.stopPropagation(),null===(n=d.onClick)||void 0===n||n.call(d)},style:i.dropdownItem,onMouseEnter:function(r){return r.currentTarget.style.backgroundColor="#f8fafc"},onMouseLeave:function(r){return r.currentTarget.style.backgroundColor="transparent"}},{children:[n("span",r({style:i.dropdownItemName},{children:[t+1,". ",o.name]})),e("span",r({style:i.dropdownItemValue},{children:o.value}))]}),t)})]}))}))]})};export{l as RecordTopDropdownMenu};
2
+ //# sourceMappingURL=RecordTopDropdownMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordTopDropdownMenu.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e='ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"',o={card:{display:"flex",flexDirection:"column",background:"#ffffff",borderRadius:12,border:"1px solid #f1f5f9",boxShadow:"0 1px 2px 0 rgba(0,0,0,0.05)",overflow:"visible",textAlign:"left",height:"100%",fontFamily:e,lineHeight:1.5},cardHeader:{padding:16,borderRadius:"12px 12px 0 0",position:"relative",borderBottom:"1px solid rgba(241,245,249,0.6)"},themeRose:{background:"linear-gradient(to bottom, rgba(255,228,230,0.6), rgba(254,242,242,0.35), #ffffff)"},themeViolet:{background:"linear-gradient(to bottom, rgba(237,233,254,0.6), rgba(250,245,255,0.35), #ffffff)"},themeSky:{background:"linear-gradient(to bottom, rgba(224,242,254,0.5), rgba(238,242,255,0.3), #ffffff)"},themeAmber:{background:"linear-gradient(to bottom, rgba(254,249,195,0.5), rgba(255,251,235,0.3), #ffffff)"},themeNeutral:{background:"linear-gradient(to bottom, rgba(241,245,249,0.5), rgba(248,250,252,0.25), #ffffff)"},headerTop:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:12},headerIconTitle:{display:"flex",alignItems:"center",gap:6},iconWrap:{padding:4,borderRadius:4,flexShrink:0},title:{margin:0,fontSize:12,fontWeight:700,color:"#334155",textTransform:"uppercase",letterSpacing:"0.05em"},badge:{fontSize:10,fontWeight:700,color:"#64748b",background:"rgba(255,255,255,0.8)",padding:"2px 6px",borderRadius:9999,boxShadow:"0 1px 2px 0 rgba(0,0,0,0.05)",border:"1px solid rgba(241,245,249,0.4)"},heroRow:{display:"grid",gridTemplateColumns:"repeat(12, minmax(0, 1fr))",gap:12,alignItems:"center",minHeight:96},hero:{gridColumn:"span 4 / span 4",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",borderRight:"1px solid rgba(241,245,249,0.8)",paddingRight:8},heroValue:{fontSize:24,fontWeight:800,letterSpacing:"-0.025em",lineHeight:1},heroLabel:{fontSize:9,fontWeight:700,color:"#334155",marginTop:4,lineHeight:1.25,textTransform:"uppercase",letterSpacing:"0.025em"},heroDelta:{fontSize:9,fontWeight:700,marginTop:4},heroDeltaUp:{color:"#f43f5e"},heroDeltaDown:{color:"#059669"},chartCol:{gridColumn:"span 8 / span 8",width:"100%",height:"100%",position:"relative",display:"flex",flexDirection:"column",justifyContent:"space-between",overflow:"visible",userSelect:"none",paddingLeft:4},chartHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:8,fontWeight:900,color:"#1e293b",textTransform:"uppercase",padding:"0 4px",letterSpacing:"0.05em"},chartTooltip:{color:"#4f46e5",background:"#eef2ff",padding:"2px 6px",borderRadius:4,fontWeight:900,fontSize:9,whiteSpace:"nowrap",boxShadow:"0 1px 2px 0 rgba(0,0,0,0.05)",border:"1px solid rgba(224,231,255,0.3)"},chartWrap:{width:"100%",flex:"1 1 0%",position:"relative",overflow:"visible",marginTop:4},chartSvg:{width:"100%",height:"100%",overflow:"visible",cursor:"crosshair"},chartEmpty:{fontSize:10,color:"#94a3b8",fontWeight:700,position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center"},body:{flex:"1 1 0%",overflow:"visible"},footer:{background:"rgba(248,250,252,0.6)",padding:"8px 16px",borderTop:"1px solid #f1f5f9",borderRadius:"0 0 12px 12px",overflow:"visible"},bodyContent:{display:"flex",flexDirection:"column",color:"#334155"},footerLinks:{display:"flex"},footerLinksMulti:{width:"100%",justifyContent:"space-between",alignItems:"center"},footerLink:{textAlign:"left",padding:"12px 16px",fontSize:12,color:"#6366f1",display:"flex",alignItems:"center",gap:2,transition:"color 0.15s ease",background:"none",border:"none",cursor:"pointer",margin:0,fontFamily:"inherit"},skeletonRow:{padding:"12px 16px"},skeletonLine:{borderRadius:4,background:"#f8fafc",animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"},skeletonLineTitle:{height:12,width:64},skeletonLineValue:{height:16,width:96,background:"#f1f5f9",marginTop:6},sectionHeading:{padding:"8px 16px",display:"flex",alignItems:"center",gap:8,borderTop:"1px solid",borderBottom:"1px solid"},sectionHeadingDefault:{background:"#f8fafc",borderColor:"#e2e8f0",color:"#64748b"},sectionHeadingDot:{width:8,height:8,borderRadius:9999,flexShrink:0},sectionHeadingLabel:{margin:0,fontSize:12,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.05em",color:"inherit"},sectionHeadingCount:{fontSize:10,fontWeight:600,padding:"2px 8px",borderRadius:9999,marginLeft:"auto",opacity:.8,background:"rgba(0,0,0,0.06)"},newsBanner:{padding:"8px 16px",display:"flex",alignItems:"center",gap:8,borderTop:"1px solid",borderBottom:"1px solid"},newsBannerTitle:{margin:0,fontSize:12,fontWeight:700,textTransform:"uppercase",letterSpacing:"0.05em"},newsItem:{display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderBottom:"1px solid"},newsItemLast:{borderBottom:"none"},newsItemDot:{width:6,height:6,borderRadius:9999,marginTop:4,flexShrink:0,animation:"dc-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite"},newsItemText:{margin:0,fontSize:11,fontWeight:500,lineHeight:1.625},dropdownTrigger:{position:"absolute",right:6,top:4,padding:"2px 4px",borderRadius:4,fontSize:8,fontWeight:900,letterSpacing:"0.025em",textTransform:"uppercase",transition:"background-color 0.15s ease, color 0.15s ease",zIndex:10,border:"none",cursor:"pointer",margin:0,fontFamily:"inherit"},dropdownTriggerClosed:{background:"#f1f5f9",color:"#64748b"},dropdownTriggerOpen:{background:"#4f46e5",color:"#ffffff"},dropdownPanel:{position:"absolute",left:0,right:0,top:36,paddingTop:4,zIndex:50,pointerEvents:"auto"},dropdownInner:{background:"#ffffff",border:"1px solid #e2e8f0",borderRadius:8,boxShadow:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)",padding:8,display:"flex",flexDirection:"column",gap:4,textAlign:"left"},dropdownTitle:{fontSize:9,fontWeight:700,color:"#4f46e5",textTransform:"uppercase",letterSpacing:"0.05em",marginBottom:2,padding:"0 4px"},dropdownItem:{width:"100%",display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:10,padding:4,borderRadius:4,transition:"background-color 0.15s ease",textAlign:"left",background:"none",border:"none",cursor:"pointer",margin:0,fontFamily:"inherit"},dropdownItemName:{fontWeight:600,color:"#334155",maxWidth:95,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},dropdownItemValue:{color:"#6366f1",fontWeight:500,flexShrink:0},detailRow:{width:"100%",textAlign:"left",display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",background:"none",border:"none",margin:0,fontFamily:"inherit"},detailRowClickable:{cursor:"pointer",transition:"background-color 0.15s ease"},detailRowMain:{minWidth:0},detailRowLabel:{margin:0,fontSize:12,color:"#94a3b8"},detailRowValue:{margin:0,fontSize:14,fontWeight:600,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",marginTop:2,color:"#1e293b"},detailRowSub:{margin:0,fontSize:12,color:"#94a3b8",marginTop:2},detailRowChevron:{color:"#e2e8f0",transition:"color 0.15s ease",flexShrink:0},detailRowChevronHover:{color:"#94a3b8"},centeredCell:{padding:"16px 8px",minWidth:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",cursor:"pointer",userSelect:"none",position:"relative"},centeredCellLabel:{fontSize:10,color:"#94a3b8",fontWeight:500,lineHeight:1,width:"100%"},centeredCellValue:{fontSize:14,fontWeight:700,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",marginTop:6,width:"100%",maxWidth:100,color:"#334155"},centeredCellSub:{fontSize:10,fontWeight:700,marginTop:6,lineHeight:1.25,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:"#94a3b8"},gridRow:{display:"grid"},gridCell:{minWidth:0,position:"relative"},gridCellPadded:{padding:6},gridCellInner:{padding:6},gridRowDivider:{borderTop:"1px solid #f1f5f9"},gridCellDivider:{borderLeft:"1px solid #f1f5f9"},listRow:{display:"flex",alignItems:"center",gap:8,padding:"12px 16px",transition:"background-color 0.15s ease"},listRowCompact:{padding:"8px 16px"},listRowDivider:{borderTop:"1px solid rgba(241,245,249,0.6)"},listRowHover:{background:"rgba(248,250,252,0.4)"},listRowDot:{width:6,height:6,borderRadius:9999,flexShrink:0},listRowDotDefault:{background:"#cbd5e1"},listRowMain:{minWidth:0,flex:"1 1 0%",textAlign:"left"},listRowValue:{margin:0,fontSize:12,color:"#475569",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},listRowSub:{margin:0,fontSize:10,color:"#cbd5e1",lineHeight:1,marginTop:2},listRowLabel:{fontSize:10,color:"#94a3b8",flexShrink:0,fontWeight:500},alertRowValue:{margin:0,fontSize:12,color:"#475569",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"1 1 0%",textAlign:"left"},alertRowSub:{fontSize:10,color:"#cbd5e1",flexShrink:0},tags:{borderBottom:"1px solid #f1f5f9",padding:"16px 20px",display:"flex",flexDirection:"column",textAlign:"left"},tagsTop:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%"},tagsMeta:{display:"flex",flexDirection:"column"},tagsLabel:{fontSize:11,color:"#94a3b8",fontWeight:500},tagsCount:{fontSize:14,fontWeight:700,color:"#334155",marginTop:2},tagsList:{display:"flex",flexWrap:"wrap",alignItems:"center",columnGap:8,rowGap:4,marginTop:8,fontSize:11,color:"#64748b",fontWeight:500},tag:{display:"flex",alignItems:"center",gap:4},tagDot:{width:4,height:4,borderRadius:9999,flexShrink:0},tagDotDefault:{background:"#94a3b8"},tagsEmpty:{fontStyle:"italic",color:"#94a3b8"},eventRowWrap:{borderTop:"1px solid #f1f5f9"},eventRow:{width:"100%",display:"flex",alignItems:"center",gap:8,padding:"14px 16px",transition:"background-color 0.15s ease",background:"none",border:"none",cursor:"pointer",margin:0,fontFamily:"inherit"},eventRowHover:{background:"rgba(248,250,252,0.8)"},eventRowDot:{width:4,height:4,borderRadius:9999,flexShrink:0},eventRowDotDefault:{background:"#cbd5e1"},eventRowTitle:{margin:0,fontSize:11,color:"#475569",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"1 1 0%",textAlign:"left"},eventRowTime:{fontSize:9,color:"#cbd5e1",flexShrink:0,marginRight:4},eventRowChevron:{color:"#cbd5e1",flexShrink:0},modalOverlay:{position:"fixed",inset:0,zIndex:50,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(15,23,42,0.4)",backdropFilter:"blur(4px)",padding:16},modal:{background:"#ffffff",width:"100%",maxWidth:512,borderRadius:12,boxShadow:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)",border:"1px solid #e2e8f0",overflow:"hidden"},modalHeader:{padding:"12px 16px",background:"#f8fafc",borderBottom:"1px solid rgba(226,232,240,0.8)",display:"flex",alignItems:"center",justifyContent:"space-between"},modalHeaderLeft:{display:"flex",alignItems:"center",gap:8,maxWidth:"85%"},modalBadge:{fontSize:10,fontWeight:600,padding:"2px 6px",borderRadius:6},modalStatusBadge:{fontSize:10,fontWeight:600,padding:"2px 6px",borderRadius:6},modalTitle:{margin:0,fontSize:12,fontWeight:600,color:"#334155",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},modalClose:{color:"#94a3b8",padding:4,borderRadius:8,transition:"background-color 0.15s ease, color 0.15s ease",background:"none",border:"none",cursor:"pointer",display:"flex",margin:0,fontFamily:"inherit"},modalCloseHover:{color:"#475569",background:"rgba(226,232,240,0.5)"},modalBody:{maxHeight:"60vh",overflowY:"auto",padding:16},modalBodySpacer:{marginTop:16},modalSectionTitle:{margin:0,fontSize:10,fontWeight:700,color:"#94a3b8",textTransform:"uppercase",letterSpacing:"0.05em",marginBottom:4},modalSectionTitleTight:{marginBottom:6},modalSummaryText:{margin:0,fontSize:12,color:"#475569",lineHeight:1.625,background:"#f8fafc",padding:10,borderRadius:8,border:"1px solid #f1f5f9"},modalDetailsGrid:{display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",columnGap:16,rowGap:8,background:"rgba(248,250,252,0.5)",padding:12,borderRadius:8,border:"1px solid #f1f5f9"},modalDetail:{display:"flex",flexDirection:"column"},modalDetailLabel:{fontSize:10,color:"#94a3b8",fontWeight:500},modalDetailValue:{fontSize:12,color:"#334155",fontWeight:500,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},modalLinkRow:{display:"flex",alignItems:"center",gap:12,paddingTop:8},modalLink:{fontSize:12,fontWeight:500,color:"#6366f1",textDecoration:"none"},modalActionRow:{borderTop:"1px solid #f1f5f9",background:"rgba(248,250,252,0.5)",padding:12,display:"flex",justifyContent:"flex-end"},modalActionBtn:{display:"flex",alignItems:"center",gap:6,padding:"6px 12px",background:"#ffffff",border:"1px solid #e2e8f0",borderRadius:8,boxShadow:"0 1px 2px 0 rgba(0,0,0,0.05)",transition:"background-color 0.15s ease",cursor:"pointer",margin:0,fontFamily:"inherit"},modalActionBtnHover:{background:"#f8fafc"},modalActionText:{fontSize:12,fontWeight:600},modalActionChevron:{transition:"transform 0.15s ease"},modalActionChevronHover:{transform:"translateX(2px)"}},i={critical:"#ef4444",warning:"#fbbf24",info:"#34d399"},t={CRITICAL:"#ef4444",HIGH:"#f59e0b",MEDIUM:"#facc15",LOW:"#34d399",POLICY:"#8b5cf6"},n={CRITICAL:{background:"#fef2f2",color:"#dc2626"},HIGH:{background:"#fffbeb",color:"#d97706"},MEDIUM:{background:"#fefce8",color:"#a16207"},LOW:{background:"#ecfdf5",color:"#059669"},POLICY:{background:"#f5f3ff",color:"#7c3aed"}},r={background:"#f8fafc",color:"#64748b"},a={BLOCKED:{background:"#fee2e2",color:"#b91c1c"},FLAGGED:{background:"#fef3c7",color:"#b45309"},ALLOWED:{background:"#d1fae5",color:"#047857"}},l={background:"#f1f5f9",color:"#64748b"},d={BLOCKED:"#dc2626",FLAGGED:"#d97706",ALLOWED:"#059669"},f="\n@keyframes dc-pulse {\n 0%, 100% { opacity: 1; }\n 50% { opacity: 0.5; }\n}\n";export{d as RECO_ACTION_COLORS,e as RECO_DASHBOARD_CARD_FONT_FAMILY,f as RECO_DASHBOARD_CARD_KEYFRAMES,i as RECO_NEWS_DOT_COLORS,r as RECO_SEV_BADGE_DEFAULT,n as RECO_SEV_BADGE_STYLES,t as RECO_SEV_DOT_COLORS,l as RECO_STATUS_BADGE_DEFAULT,a as RECO_STATUS_BADGE_STYLES,o as default};
2
+ //# sourceMappingURL=RecordDashboardCardStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDashboardCardStyles.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as i,Fragment as l}from"react/jsx-runtime";import{useState as n,useEffect as a}from"react";import{Button as o}from"primereact/button";import{RefreshCw as r,ListFilter as s}from"lucide-react";import d from"../DatePickers/RecordDateSelector.js";import{RECO_DEFAULT_DATE_PRESETS as c}from"./RecordDatePreset.js";var u=function(u){var v,m,f,p,h=u.presets,D=void 0===h?c:h,b=u.filterCount,g=void 0===b?0:b,x=u.liveDuration,C=void 0===x?3e4:x,q=u.onDateChange,N=u.onRefresh,k=u.isRefreshLoading,y=u.onFilterClick,R=u.showFilterButton,w=void 0===R||R,F=u.showLiveButton,P=void 0===F||F,j=u.showFilterCount,B=void 0!==j&&j,E=u.datePickerProps,L=u.initialStartDate,T=u.initialEndDate,z=u.defaultPresets,S=n(null!=z?z:"today"),W=S[0],_=S[1],A=n(!0),I=A[0],G=A[1],H=n(L||null),J=H[0],K=H[1],M=n(T||null),O=M[0],Q=M[1];a(function(){K(L||null),Q(T||null)},[L,T]);var U=n(!1),V=U[0],X=U[1];a(function(){var e=setTimeout(function(){G(!1)},C);return function(){return clearTimeout(e)}},[W,C]),a(function(){if("custom"!==W){var e=D.find(function(e){return e.value===W});if(e&&e.getRange){var t=e.getRange();null==q||q({preset:W,startDate:t.startDate,endDate:t.endDate})}}},[W,D,q]);var Y=D;return t("div",e({className:"q-date-filter"},{children:[t("div",e({className:"q-date-filter-toolbar"},{children:[t("div",e({style:{display:"flex",alignItems:"center",gap:"8px",flexWrap:"wrap"}},{children:[i("div",e({className:"q-preset-container"},{children:null==Y?void 0:Y.map(function(t){return i("button",e({className:"q-preset-btn ".concat(W===(null==t?void 0:t.value)?"active":""),onClick:function(){return _(null==t?void 0:t.value)}},{children:null==t?void 0:t.label}),null==t?void 0:t.value)})})),P&&t(l,I?{children:[i("div",{style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t("div",e({className:"q-live-chip"},{children:[i("span",{className:"q-live-dot"}),"Live Data"]}))]}:{children:[i("div",{className:"q-date-separator",style:{width:"1px",height:"31px",backgroundColor:"#CBD5E1"}}),t(o,e({className:"q-refresh-btn",onClick:N},{children:[i(r,{size:16,strokeWidth:2.5,className:k?"q-spin":""}),i("span",{children:k?"Refreshing...":"Refresh"})]}))]})]})),w&&t("button",e({className:"q-filter-btn",onClick:y},{children:[i(s,{size:12.5}),"Filters",B&&g>0&&i("span",e({className:"q-filter-badge"},{children:g}))]}))]})),"custom"===W&&t("div",e({className:"q-custom-container"},{children:[i(d,{label:"From",value:J,minDate:null===(v=null==E?void 0:E.from)||void 0===v?void 0:v.minDate,maxDate:null!=O?O:null===(m=null==E?void 0:E.from)||void 0===m?void 0:m.maxDate,onChange:function(e){K(e),X(!1)},styles:{root:{width:"250px"}}}),i(d,{label:"To",value:O,minDate:null!=J?J:null===(f=null==E?void 0:E.to)||void 0===f?void 0:f.minDate,maxDate:null===(p=null==E?void 0:E.to)||void 0===p?void 0:p.maxDate,onChange:function(e){Q(e),X(!1)},styles:{root:{width:"250px"}}}),i(o,{className:"q-apply-btn",label:"Apply Range",disabled:!J||!O||V,onClick:function(){J&&O&&(null==q||q({preset:"custom",startDate:J,endDate:O}),X(!0))}})]}))]}))};export{u as default};
2
+ //# sourceMappingURL=RecordDashboardDateFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDashboardDateFilter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e={today:{label:"Today",value:"today",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),endDate:e}}},yesterday:{label:"Yesterday",value:"yesterday",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",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",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",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",getRange:function(){var e=new Date;return{startDate:new Date(e.getFullYear(),e.getMonth(),1),endDate:e}}},lastMonth:{label:"Last Month",value:"lastMonth",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",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",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",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.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},{});export{e as RECO_DATE_PRESETS,a as RECO_DATE_PRESET_MAP,t as RECO_DEFAULT_DATE_PRESETS};
2
+ //# sourceMappingURL=RecordDatePreset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDatePreset.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as s}from"react/jsx-runtime";function i(){return l("div",e({className:"q-skeleton","aria-busy":"true","aria-live":"polite"},{children:[l("div",e({className:"q-skeleton-toolbar"},{children:[l("div",e({className:"q-skeleton-presets"},{children:[s("div",{className:"q-skeleton-pill q-skeleton-pill--wide"}),s("div",{className:"q-skeleton-pill"}),s("div",{className:"q-skeleton-pill"}),s("div",{className:"q-skeleton-pill"})]})),s("div",{className:"q-skeleton-pill q-skeleton-pill--filter"})]})),l("div",e({className:"q-skeleton-card q-skeleton-graph"},{children:[l("div",e({className:"q-skeleton-graph-header"},{children:[l("div",{children:[s("div",{className:"q-skeleton-line q-skeleton-line--title"}),s("div",{className:"q-skeleton-line q-skeleton-line--subtitle"})]}),s("div",{className:"q-skeleton-pill q-skeleton-pill--selector"})]})),s("div",e({className:"q-skeleton-graph-body"},{children:s("svg",e({viewBox:"0 0 400 140",className:"q-skeleton-sparkline",preserveAspectRatio:"none"},{children:s("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("div",e({className:"q-skeleton-kpis"},{children:[0,1,2].map(function(i){return l("div",e({className:"q-skeleton-card q-skeleton-kpi"},{children:[s("div",{className:"q-skeleton-line q-skeleton-line--label"}),s("div",{className:"q-skeleton-line q-skeleton-line--value"}),s("div",{className:"q-skeleton-line q-skeleton-line--sublabel"})]}),i)})}))]}))}export{i as RecordDashboardSkeleton,i as default};
2
+ //# sourceMappingURL=RecordDashboardSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDashboardSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as n,jsx as t,Fragment as a}from"react/jsx-runtime";import{useState as r}from"react";var c=["Mo","Tu","We","Th","Fr","Sa","Su"],l=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=function(e){var n=new Date(e);return n.setHours(0,0,0,0),n},i=function(i){var d=i.value,u=i.onChange,s=i.minDate,m=i.maxDate,h=new Date,f=r(null!=d?d:h),y=f[0],g=f[1],D=r("day"),p=D[0],b=D[1],k=null!=d?d:h,v=r(new Date(k.getFullYear(),k.getMonth(),1)),N=v[0],w=v[1],_=N.getFullYear(),C=N.getMonth(),M=16*Math.floor(_/16),S=new Date(_,C+1,0).getDate(),F=new Date(_,C,1).getDay(),Y=function(e){var n=o(e);return!!(s&&n<o(s))||!!(m&&n>o(m))},A=function(e){return Y(new Date(_,C,e))},j=Y(h),x=0===F?6:F-1,J=Array.from({length:x+S},function(e,n){return n<x?null:n-x+1}),T=function(e){return e===h.getDate()&&C===h.getMonth()&&_===h.getFullYear()},L=function(e){return y&&e===y.getDate()&&C===y.getMonth()&&_===y.getFullYear()};return n("div",e({className:"date-picker"},{children:[n("div",e({className:"date-picker__header"},{children:[t("button",e({className:"nav-btn",onClick:function(){w("day"===p?new Date(_,C-1,1):"month"===p?new Date(_-1,C,1):new Date(_-16,C,1))}},{children:"‹"})),t("span",e({className:"month-label"},{children:"year"===p?"".concat(M," – ").concat(M+15):"month"===p?_.toString():n(a,{children:[t("span",e({className:"month-label-click",onClick:function(){return b("month")}},{children:N.toLocaleString("default",{month:"long"})}))," ",t("span",e({className:"year-label-click",onClick:function(){return b("year")}},{children:_}))]})})),t("button",e({className:"nav-btn",onClick:function(){w("day"===p?new Date(_,C+1,1):"month"===p?new Date(_+1,C,1):new Date(_+16,C,1))}},{children:"›"}))]})),n("div",e({className:"date-picker__top-actions"},{children:[t("div",e({className:"selected-date"},{children:y?y.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):"Select date"})),t("button",e({className:"today-btn ".concat(j?"today-btn--disabled":""),onClick:function(){w(new Date(h.getFullYear(),h.getMonth(),1)),g(h),b("day"),null==u||u(h)},disabled:j},{children:"Today"}))]})),"month"===p&&t("div",e({className:"date-picker__month-grid"},{children:l.map(function(n,a){return t("button",e({className:"month-cell".concat(a===C?" month-cell--selected":""),onClick:function(){w(new Date(_,a,1)),b("day")}},{children:n}),n)})})),"year"===p&&t("div",e({className:"date-picker__year-grid"},{children:Array.from({length:16},function(e,n){return M+n}).map(function(n){return t("button",e({className:"year-cell".concat(n===_?" year-cell--selected":""),onClick:function(){w(new Date(n,C,1)),b("month")}},{children:n}),n)})})),"day"===p&&n(a,{children:[t("div",e({className:"date-picker__weekdays"},{children:c.map(function(e){return t("span",{children:e},e)})})),t("div",e({className:"date-picker__days"},{children:J.map(function(n,a){return n?t("button",e({disabled:A(n),className:["day",T(n)&&"day--today",L(n)&&"day--selected",A(n)&&"day--disabled"].filter(Boolean).join(" "),onClick:function(){return function(e){if(!A(e)){var n=new Date(_,C,e);g(n),null==u||u(n)}}(n)}},{children:n}),a):t("span",{},a)})}))]})]}))};export{i as default};
2
+ //# sourceMappingURL=RecordDatePicker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDatePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as n,Fragment as a}from"react/jsx-runtime";import{useRef as r,useState as i,useMemo as o,useEffect as l}from"react";import{Calendar as c,ChevronLeft as s,ChevronRight as d}from"lucide-react";var u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=["Mo","Tu","We","Th","Fr","Sa","Su"];function m(e){var t=new Date(e);return t.setHours(0,0,0,0),t}function g(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function f(e,t){var n=new Date(e);return n.setMonth(n.getMonth()+t),n}function _(e){return e?e.toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):""}var v=function(v){var p=v.value,y=v.onChange,D=v.placeholder,b=void 0===D?"Select date":D,N=v.disabled,w=void 0!==N&&N,M=v.isOpen,F=void 0!==M&&M,k=v.minDate,Y=v.maxDate,T=v.className,C=v.endIcon,S=void 0!==C&&C,x=r(null),L=i(F),z=L[0],A=L[1],B=i("day"),j=B[0],E=B[1],J=o(function(){if(!p.end)return p;var e=new Date(p.end);return e.setDate(e.getDate()-1),{start:p.start,end:e}},[p.start,p.end]),O=i(J.start),U=O[0],G=O[1],H=i(J.end),I=H[0],R=H[1],W=i(function(){var e,t,n=null!==(t=null!==(e=J.start)&&void 0!==e?e:J.end)&&void 0!==t?t:new Date;return new Date(n.getFullYear(),n.getMonth(),1)}),q=W[0],K=W[1],P=16*Math.floor(q.getFullYear()/16);l(function(){var e;G(J.start),R(J.end);var t=null!==(e=J.start)&&void 0!==e?e:J.end;t&&K(new Date(t.getFullYear(),t.getMonth(),1))},[J.start,J.end]),l(function(){var e=function(e){z&&x.current&&!x.current.contains(e.target)&&(A(!1),E("day"),G(J.start),R(J.end))};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[z,J.start,J.end]);var Q=o(function(){for(var e,t=q.getFullYear(),n=q.getMonth(),a=(new Date(t,n,1).getDay()+6)%7,r=new Date(t,n+1,0).getDate(),i=[],o=0;o<a;o++)i.push({date:new Date(t,n,1-(a-o)),inMonth:!1});for(var l=1;l<=r;l++)i.push({date:new Date(t,n,l),inMonth:!0});for(var c=42-i.length,s=0;s<c;s++){var d=null===(e=i[i.length-1])||void 0===e?void 0:e.date;if(!d)break;var u=new Date(d);u.setDate(u.getDate()+1),i.push({date:u,inMonth:!1})}return i},[q]),V=function(e){var t;!U||U&&I?(G(e),R(null)):(t=U,m(e).getTime()<m(t).getTime()?(R(U),G(e)):R(e))},X=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())}(J.start,J.end);return t("div",e({className:"drs",ref:x},{children:[!F&&t("button",e({type:"button",className:"drs__trigger ".concat(T||""),onClick:function(){var e,t;if(!w){if(!z){var n=null!==(t=null!==(e=J.start)&&void 0!==e?e:J.end)&&void 0!==t?t:new Date;G(J.start),R(J.end),K(new Date(n.getFullYear(),n.getMonth(),1)),E("day")}A(function(e){return!e})}},disabled:w},{children:[!S&&n(c,{size:18,style:{color:"#6B7280"}}),n("span",e({className:"drs__label"},{children:X||b})),S&&n("span",e({style:{marginLeft:"auto"}},{children:n(c,{size:18,style:{color:"#6B7280"}})}))]})),z&&t("div",e({className:"drs__popover",role:"dialog","aria-label":"Date range picker"},{children:[t("div",e({className:"drs__header"},{children:[n("button",e({type:"button",className:"drs__nav",onClick:function(){K("day"===j?function(e){return f(e,-1)}:"month"===j?function(e){return new Date(e.getFullYear()-1,e.getMonth(),1)}:function(e){return new Date(e.getFullYear()-16,e.getMonth(),1)})}},{children:n(s,{size:18})})),n("div",e({className:"drs__month"},{children:"year"===j?"".concat(P," – ").concat(P+15):"month"===j?q.getFullYear().toString():t(a,{children:[n("span",e({className:"drs__month-click",onClick:function(){return E("month")}},{children:q.toLocaleDateString("en-US",{month:"long"})}))," ",n("span",e({className:"drs__year-click",onClick:function(){return E("year")}},{children:q.getFullYear()}))]})})),n("button",e({type:"button",className:"drs__nav",onClick:function(){K("day"===j?function(e){return f(e,1)}:"month"===j?function(e){return new Date(e.getFullYear()+1,e.getMonth(),1)}:function(e){return new Date(e.getFullYear()+16,e.getMonth(),1)})}},{children:n(d,{size:18})}))]})),"day"===j&&t("div",e({className:"drs__inputs"},{children:[n("div",e({className:"drs__input-box".concat(U?" is-active":"")},{children:U?_(U):n("span",e({className:"drs__input-placeholder"},{children:"Start date"}))})),n("span",e({className:"drs__input-sep"},{children:"–"})),n("div",e({className:"drs__input-box".concat(I?" is-active":"")},{children:I?_(I):n("span",e({className:"drs__input-placeholder"},{children:"End date"}))}))]})),"month"===j&&n("div",e({className:"drs__month-grid"},{children:u.map(function(t,a){return n("button",e({type:"button",className:"drs__month-cell".concat(q.getMonth()===a?" is-selected":""),onClick:function(){K(new Date(q.getFullYear(),a,1)),E("day")}},{children:t}),t)})})),"year"===j&&n("div",e({className:"drs__year-grid"},{children:Array.from({length:16},function(e,t){return P+t}).map(function(t){return n("button",e({type:"button",className:"drs__year-cell".concat(q.getFullYear()===t?" is-selected":""),onClick:function(){K(new Date(t,q.getMonth(),1)),E("month")}},{children:t}),t)})})),"day"===j&&t(a,{children:[n("div",e({className:"drs__week"},{children:h.map(function(t){return n("div",e({className:"drs__weekday"},{children:t}),t)})})),n("div",e({className:"drs__grid"},{children:Q.map(function(t,a){var r=t.date,i=!!U&&g(r,U),o=!!I&&g(r,I),l=!(!U||!I)&&function(e,t,n){var a=m(e).getTime();return a>=Math.min(m(t).getTime(),m(n).getTime())&&a<=Math.max(m(t).getTime(),m(n).getTime())}(r,U,I),c=i||o,s=i&&!!I,d=o&&!!U,u=a%7,h=0===u,f=6===u,_=function(e,t,n){var a=m(e).getTime();return!!(t&&a<m(t).getTime())||!!(n&&a>m(n).getTime())}(r,k,Y),v=["drs__day",t.inMonth?"":"is-out",l&&!c?"is-range":"",i?"is-start":"",o?"is-end":"",s?"is-range-start":"",d?"is-range-end":"",l&&h?"is-row-first":"",l&&f?"is-row-last":""].filter(Boolean).join(" ");return n("button",e({type:"button",className:"".concat(v," ").concat(_?"is-disabled":""),disabled:_,onClick:function(){_||V(r)}},{children:n("span",e({className:"drs__day-inner"},{children:r.getDate()}))}),a)})}))]}),t("div",e({className:"drs__footer"},{children:[n("button",e({type:"button",className:"drs__btn drs__btn--ghost",onClick:function(){G(null),R(null),y({start:null,end:null}),A(!1),E("day")}},{children:"Reset"})),n("button",e({type:"button",className:"drs__btn drs__btn--primary",disabled:!U||!I,onClick:function(){if(U&&I){var e=new Date(I);e.setDate(e.getDate()+1),y({start:U,end:e}),A(!1),E("day")}}},{children:"Apply"}))]}))]}))]}))};export{v as default};
2
+ //# sourceMappingURL=RecordDateRangeSelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDateRangeSelector.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as n}from"react/jsx-runtime";import{useState as r,useRef as o,useEffect as a}from"react";import i from"./RecordDatePicker.js";import{Calendar as l}from"lucide-react";var c=function(c){var u,d=c.label,s=c.value,m=c.placeholder,f=void 0===m?"Select date":m,v=c.minDate,g=c.maxDate,p=c.styles,h=c.onChange,_=r(!1),b=_[0],y=_[1],D=r(!1),q=D[0],w=D[1],x=o(null),C=o(null);return a(function(){var e=function(e){C.current&&!C.current.contains(e.target)&&x.current&&!x.current.contains(e.target)&&y(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]),t("div",e({className:"q-date-selector",style:null==p?void 0:p.root},{children:[d&&n("label",e({className:"q-date-selector__label"},{children:d})),t("button",e({ref:x,type:"button",className:"q-date-selector__trigger",style:null==p?void 0:p.trigger,onClick:function(){if(!b&&x.current){var e=x.current.getBoundingClientRect(),t=window.innerHeight-e.bottom,n=e.top;w(t<320&&n>t)}y(function(e){return!e})}},{children:[n("span",{children:s?(u=s,u.toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"})):f}),n(l,{size:14,color:"#64748B"})]})),b&&n("div",e({ref:C,className:"q-date-selector__panel ".concat(q?"q-date-selector__panel--top":""),style:null==p?void 0:p.panel},{children:n(i,{value:s,minDate:v,maxDate:g,onChange:function(e){h(e),y(!1)}})}))]}))};export{c as default};
2
+ //# sourceMappingURL=RecordDateSelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDateSelector.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e,__spreadArray as n}from"../../../_virtual/_tslib.js";import{jsxs as c,jsx as t}from"react/jsx-runtime";import{useState as r,useRef as l,useEffect as a,useMemo as i}from"react";import{Search as s}from"lucide-react";function o(o){var u=o.options,m=o.value,d=o.onChange,v=o.placeholder,h=void 0===v?"Select":v,f=o.searchPlaceholder,p=void 0===f?"Search..":f,g=o.showSelectAll,N=void 0===g||g,b=o.selectAllLabel,k=void 0===b?"All":b,x=r(!1),C=x[0],w=x[1],L=r(""),A=L[0],y=L[1],S=l(null);a(function(){var e=function(e){var n;(null===(n=S.current)||void 0===n?void 0:n.contains(e.target))||w(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var T=i(function(){var e=A.trim().toLowerCase();return e?u.filter(function(n){return n.label.toLowerCase().includes(e)}):u},[u,A,m]),j=i(function(){return u.map(function(e){return e.value})},[u]),E=m.length>0&&j.every(function(e){return m.includes(e)}),_=i(function(){var e;if(0===m.length)return h;if(E)return"All";if(1===m.length){var n=u.find(function(e){return e.value===m[0]});return null!==(e=null==n?void 0:n.label)&&void 0!==e?e:"1 selected"}return"".concat(m.length," selected")},[m,E,u,h]);return c("div",e({className:"cms-root",ref:S},{children:[c("button",e({type:"button",className:"cms-trigger",onClick:function(){return w(function(e){return!e})}},{children:[t("span",e({className:"cms-triggerText ".concat(m.length?"cms-hasValue":"")},{children:_})),t("span",e({className:"cms-chevron"},{children:"▾"}))]})),C&&c("div",e({className:"cms-panel"},{children:[u.length>0&&c("div",e({className:"cms-searchRow"},{children:[t(s,{size:18}),t("input",{className:"cms-searchInput",placeholder:p,value:A,onChange:function(e){return y(e.target.value)},autoFocus:!0})]})),N&&!(null==A?void 0:A.trim())&&u.length>0&&c("div",e({className:"cms-item",onClick:function(){d(E?[]:j)}},{children:[t("span",e({className:"cms-checkbox ".concat(E?"cms-checked":"")},{children:E?"✓":""})),t("span",e({className:"cms-itemText"},{children:k}))]})),t("div",e({className:"cms-list"},{children:0===T.length?t("div",e({className:"cms-empty"},{children:"No options found"})):T.map(function(r){var l=m.includes(r.value);return c("div",e({className:"cms-item",onClick:function(){return e=r.value,void(m.includes(e)?d(m.filter(function(n){return n!==e})):d(n(n([],m,!0),[e],!1)));var e}},{children:[t("span",e({className:"cms-checkbox ".concat(l?"cms-checked":"")},{children:l?"✓":""})),t("span",e({className:"cms-itemText"},{children:r.label}))]}),r.value)})}))]}))]}))}export{o as default};
2
+ //# sourceMappingURL=RecordCustomMultiSelect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordCustomMultiSelect.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as n,jsx as r}from"react/jsx-runtime";import{useState as t,useRef as s,useEffect as c,useMemo as a}from"react";import{Search as i}from"lucide-react";function o(o){var l=o.options,u=o.value,d=o.onChange,v=o.placeholder,m=void 0===v?"Select":v,f=o.searchPlaceholder,h=void 0===f?"Search...":f,p=o.disabled,N=void 0!==p&&p,g=t(!1),b=g[0],C=g[1],w=t(""),x=w[0],L=w[1],j=s(null);c(function(){var e=function(e){var n;(null===(n=j.current)||void 0===n?void 0:n.contains(e.target))||C(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var k=a(function(){var e=x.trim().toLowerCase();return e?l.filter(function(n){return n.label.toLowerCase().includes(e)}):l},[x,l]),y=a(function(){var e,n;return u&&null!==(n=null===(e=l.find(function(e){return e.value===u}))||void 0===e?void 0:e.label)&&void 0!==n?n:m},[u,l,m]);return n("div",e({className:"css-root",ref:j},{children:[n("button",e({type:"button",disabled:N,className:"css-trigger",onClick:function(){return C(function(e){return!e})}},{children:[r("span",e({className:"css-triggerText ".concat(u?"css-hasValue":"")},{children:y})),r("span",e({className:"css-chevron"},{children:"▾"}))]})),b&&n("div",e({className:"css-panel"},{children:[n("div",e({className:"css-searchRow"},{children:[r(i,{size:18}),r("input",{className:"css-searchInput",placeholder:h,value:x,autoFocus:!0,onChange:function(e){return L(e.target.value)}})]})),r("div",e({className:"css-list"},{children:0===k.length?r("div",e({className:"css-empty"},{children:"No options found"})):k.map(function(n){return r("div",e({className:"css-item ".concat(u===(null==n?void 0:n.value)?"css-selected":""),onClick:function(){return function(e){d(e),C(!1)}(n.value)}},{children:r("span",e({className:"css-itemText"},{children:n.label}))}),n.value)})}))]}))]}))}export{o as default};
2
+ //# sourceMappingURL=RecordCustomSingleSelect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordCustomSingleSelect.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as a}from"../../../_virtual/_tslib.js";import{jsxs as e,jsx as n}from"react/jsx-runtime";import{Search as t}from"lucide-react";function c(c){var i=c.value,r=c.placeholder,l=c.disabled,o=c.onChange,s=c.className,u=c.searchIcon,d=void 0!==u&&u;return e("div",a({className:"cti-wrapper"},{children:[d&&n(t,{size:15,className:"cti-search-icon"}),n("input",{className:"\n cti-input\n ".concat(d?"cti-input--with-icon":"","\n ").concat(null!=s?s:"","\n "),value:null!=i?i:"",disabled:l,placeholder:r,onChange:function(a){return o(a.target.value)}})]}))}export{c as default};
2
+ //# sourceMappingURL=RecordCustomTextInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordCustomTextInput.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as i,Fragment as o}from"react/jsx-runtime";import{Sidebar as t}from"primereact/sidebar";import{Button as n}from"primereact/button";import"primereact/resources/themes/lara-light-indigo/theme.css";import"primereact/resources/primereact.min.css";import"primeicons/primeicons.css";import r from"../DatePickers/RecordDateRangeSelector.js";import a from"../DropDowns/RecordCustomMultiSelect.js";import d from"../DatePickers/RecordDateSelector.js";import s from"./RecordCustomTextInput.js";import c from"../DropDowns/RecordCustomSingleSelect.js";function u(u){var m=u.visible,p=u.onHide,v=u.fields,h=void 0===v?[]:v,g=u.onReset,f=u.onApply,b=u.title;return l(t,e({visible:m,position:"right",onHide:p,dismissable:!1,showCloseIcon:!0,modal:!0,className:"log-filterSidebar",header:i("div",e({className:"log-filterTitle"},{children:null!=b?b:"Filter By"}))},{children:[i("div",e({className:"log-filterBody"},{children:null==h?void 0:h.map(function(t){var n,u,m;return l("div",e({className:"log-filterBlock"},{children:[i("div",e({className:"log-filterLabel"},{children:t.label})),t.hint&&i("div",e({className:"log-filterHint"},{children:t.hint})),i("div",e({style:{marginTop:"12px"}},{children:(null==t?void 0:t.loading)?i("div",e({className:"log-filterEmpty"},{children:"Loading..."})):l(o,{children:["text"===t.type&&i(s,{value:null==t?void 0:t.value,placeholder:(null==t?void 0:t.placeholder)||"Enter the value..",disabled:null==t?void 0:t.disabled,onChange:null==t?void 0:t.onChange}),"singleSelect"===t.type&&i(c,{value:null==t?void 0:t.value,options:null!==(n=null==t?void 0:t.options)&&void 0!==n?n:[],placeholder:null==t?void 0:t.placeholder,disabled:null==t?void 0:t.disabled,onChange:null==t?void 0:t.onChange}),"multiSelect"===t.type&&i(a,{options:null!==(u=null==t?void 0:t.options)&&void 0!==u?u:[],value:null!==(m=null==t?void 0:t.value)&&void 0!==m?m:[],onChange:null==t?void 0:t.onChange,selectAllLabel:null==t?void 0:t.selectAllLabel}),"date"===t.type&&i(d,{value:null==t?void 0:t.value,onChange:null==t?void 0:t.onChange,styles:{root:{padding:0},trigger:{height:"40px"}}}),"dateRange"===t.type&&i(r,{value:null==t?void 0:t.value,onChange:null==t?void 0:t.onChange,endIcon:!0})]})}))]}),t.id)})})),l("div",e({className:"log-filterFooter"},{children:[i(n,{label:"Reset Filter",className:"p-button-outlined log-btnReset",onClick:g}),i(n,{label:"Apply Filter",className:"log-btnApply",onClick:f})]}))]}))}export{u as default};
2
+ //# sourceMappingURL=RecordFiltersSidebar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordFiltersSidebar.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e,__spreadArray as n}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as i,Fragment as r}from"react/jsx-runtime";import{useId as o,useState as t,useMemo as a}from"react";import s from"./RecordLineChart.js";import c from"./RecordGraphSkeleton.js";import d from"./RecordPlotBySelector.js";import{RECOColorForIndex as u}from"./types.js";function h(e){var n,l,r,o=e.config,a=void 0!==o.value,s=t(null!==(n=o.defaultValue)&&void 0!==n?n:null===(r=null===(l=o.options)||void 0===l?void 0:l[0])||void 0===r?void 0:r.value),c=s[0],u=s[1],h=a?o.value:c;return i(d,{config:o,value:h,onChange:function(e){var n;a||u(e),null===(n=o.onChange)||void 0===n||n.call(o,e)}})}function m(n){var r,o=n.pane,t=n.xAxis,a=n.sharedStyle,c=n.isLast,d=n.hiddenKeys,u=n.toggleSeries,h=n.syncId,m=n.onPointClick,v=c?t:e(e({},t),{show:!1,label:void 0});return l("div",e({className:"ellm-graph__pane"},{children:[o.title&&i("div",e({className:"ellm-graph__pane-title"},{children:o.title})),i(s,{series:o.series,hiddenKeys:d,onToggleSeries:u,xAxis:v,yAxis:o.yAxis,tooltip:o.tooltip,legend:{show:!1},syncId:h,style:e(e({},a),{chartHeight:null!==(r=o.height)&&void 0!==r?r:null==a?void 0:a.chartHeight}),onPointClick:m})]}))}function v(d){var v,f=d.series,g=d.panes,p=d.title,y=d.description,_=d.icon,x=d.plotBy,k=d.xAxis,N=d.yAxis,A=d.tooltip,S=d.legend,w=d.config,C=d.style,b=d.emptyState,j=d.loading,P=d.onPointClick,E=!!(null==g?void 0:g.length),L=o(),H=t(function(){var e=new Set;return(null!=f?f:[]).forEach(function(n){return n.hidden&&e.add(n.key)}),(null!=g?g:[]).forEach(function(n){return n.series.forEach(function(n){return n.hidden&&e.add(n.key)})}),e}),I=H[0],K=H[1],W=function(e){return K(function(n){var l=new Set(n);return l.has(e)?l.delete(e):l.add(e),l})},B=!1!==(null==w?void 0:w.showHeader),R=a(function(){return E?g.some(function(e){return e.series.some(function(e){return e.data.some(function(e){return null!=e.y})})}):(null!=f?f:[]).some(function(e){return e.data.some(function(e){return null!=e.y})})},[E,g,f]),G=a(function(){var n;if(!E)return C;var l=null!==(n=null==C?void 0:C.yAxisWidth)&&void 0!==n?n:g.some(function(e){var n;return null===(n=e.yAxis)||void 0===n?void 0:n.label})?64:48;return e(e({},C),{yAxisWidth:l})},[E,g,C]),T=a(function(){if(!E)return[];var e=[];return g.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:u(null==G?void 0:G.colors,l)})})}),e},[E,g,null==G?void 0:G.colors]),M=E&&T.length>0,V=n(n([],x?[x]:[],!0),E?g.flatMap(function(e){return e.selector?[e.selector]:[]}):[],!0),q=p||y||_||V.length>0;return l("div",e({className:"ellm-graph".concat((null==C?void 0:C.className)?" ".concat(C.className):""),style:null==C?void 0:C.container},{children:[B&&q&&l("div",e({className:"ellm-graph__header"},{children:[l("div",e({className:"ellm-graph__heading"},{children:[_&&i("span",e({className:"ellm-graph__icon"},{children:_})),l("div",{children:[p&&i("div",e({className:"ellm-graph__title"},{children:p})),y&&i("div",e({className:"ellm-graph__description"},{children:y}))]})]})),V.length>0&&i("div",e({className:"ellm-graph__controls"},{children:V.map(function(e,n){return i(h,{config:e},n)})}))]})),j?i(c,{height:null==C?void 0:C.chartHeight}):!R&&b?i("div",e({className:"ellm-graph__empty"},{children:b})):E?l(r,{children:[i("div",e({className:"ellm-graph__panes",style:{gap:null!==(v=null==C?void 0:C.paneGap)&&void 0!==v?v:12}},{children:g.map(function(e,n){var l;return i(m,{pane:e,xAxis:k,sharedStyle:G,isLast:n===g.length-1,hiddenKeys:I,toggleSeries:W,syncId:L,onPointClick:P},null!==(l=e.key)&&void 0!==l?l:"pane-".concat(n))})})),M&&i("div",e({className:"ellm-graph__legend"},{children:T.map(function(n){var r=I.has(n.key);return l("button",e({type:"button",className:"ellm-graph__legend-item".concat(r?" ellm-graph__legend-item--off":""),onClick:function(){return W(n.key)}},{children:[l("svg",e({className:"ellm-graph__legend-marker",width:"28",height:"12",viewBox:"0 0 28 12","aria-hidden":"true"},{children:[i("line",{x1:"1",y1:"6",x2:"27",y2:"6",stroke:n.color,strokeWidth:"2.5",strokeLinecap:"round"}),i("circle",{cx:"14",cy:"6",r:"4",fill:"#fff",stroke:n.color,strokeWidth:"2.5"})]})),n.label]}),n.key)})}))]}):i(s,{series:null!=f?f:[],hiddenKeys:I,onToggleSeries:W,xAxis:k,yAxis:N,tooltip:A,legend:S,style:C,onPointClick:P})]}))}export{v as default};
2
+ //# sourceMappingURL=RecordGraph.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordGraph.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as r,jsx as t}from"react/jsx-runtime";import{LineChart as a}from"lucide-react";function i(i){var l=i.title,d=void 0===l?"No data to display":l,s=i.description,m=void 0===s?"There's no data for the selected date range and filters. Try adjusting your filters or picking a different range.":s;return r("div",e({className:"ellm-graph__empty-default"},{children:[t("span",e({className:"ellm-graph__empty-icon"},{children:t(a,{size:22})})),t("div",e({className:"ellm-graph__empty-title"},{children:d})),t("div",e({className:"ellm-graph__empty-desc"},{children:m}))]}))}export{i as default};
2
+ //# sourceMappingURL=RecordGraphEmptyState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordGraphEmptyState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as a}from"react/jsx-runtime";import{useId as s}from"react";function r(r){var t=r.height,i=void 0===t?300:t,n=s();return l("div",e({className:"ellm-graph__skeleton","aria-busy":"true","aria-live":"polite",style:{height:i}},{children:[a("div",e({className:"ellm-graph__skeleton-yaxis"},{children:[0,1,2,3,4].map(function(e){return a("span",{className:"ellm-graph__skeleton-tick ellm-graph__shimmer"},e)})})),l("div",e({className:"ellm-graph__skeleton-plot"},{children:[a("div",e({className:"ellm-graph__skeleton-grid"},{children:[0,1,2,3,4].map(function(e){return a("span",{className:"ellm-graph__skeleton-gridline"},e)})})),l("svg",e({className:"ellm-graph__skeleton-svg",viewBox:"0 0 400 120",preserveAspectRatio:"none"},{children:[a("defs",{children:l("linearGradient",e({id:n,x1:"0",y1:"0",x2:"0",y2:"1"},{children:[a("stop",{offset:"0%",className:"ellm-graph__skeleton-area-top"}),a("stop",{offset:"100%",className:"ellm-graph__skeleton-area-bottom"})]}))}),a("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,")")}),a("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"})]})),a("div",e({className:"ellm-graph__skeleton-xaxis"},{children:[0,1,2,3,4,5].map(function(e){return a("span",{className:"ellm-graph__skeleton-tick ellm-graph__shimmer"},e)})}))]}))]}))}export{r as default};
2
+ //# sourceMappingURL=RecordGraphSkeleton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordGraphSkeleton.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__spreadArray as i,__assign as n}from"../../../_virtual/_tslib.js";import{jsx as o,jsxs as e}from"react/jsx-runtime";import{useMemo as l}from"react";import{ComposedChart as t,CartesianGrid as r,XAxis as a,YAxis as u,Area as d,Line as v}from"recharts";import{RecordChartContainer as s,RECOChartTooltip as c,RECOChartTooltipContent as f,RECOChartLegend as y,RECOChartLegendContent as m}from"../ui/RecordChart.js";import{RECOColorForIndex as h}from"./types.js";import{RECOCompactNumber as p}from"../../RecordUtils/index.js";var k=function(i){return"number"==typeof i&&!Number.isNaN(i)},g=function(i){switch(i){case"linear":return"linear";case"step":return"stepAfter";default:return"monotone"}};function x(x){var b,w,C,A,S,T,K,L=x.series,F=x.hiddenKeys,E=x.onToggleSeries,W=x.xAxis,N=x.yAxis,j=x.tooltip,z=x.legend,I=x.style,H=x.syncId,R=x.onPointClick,D=null!==(b=null==I?void 0:I.chartHeight)&&void 0!==b?b:300,G=null!==(w=null==I?void 0:I.gridColor)&&void 0!==w?w:"#eef0f4",M=null!==(C=null==I?void 0:I.axisColor)&&void 0!==C?C:"#d7dbe3",O=null!==(A=null==I?void 0:I.axisLabelColor)&&void 0!==A?A:"#6b7280",P=null!==(S=null==I?void 0:I.tickColor)&&void 0!==S?S:"#9ca3af",_=null!==(T=null==I?void 0:I.fontFamily)&&void 0!==T?T:"Inter, system-ui, -apple-system, sans-serif",B=l(function(){var n,o,e;if(null===(n=null==W?void 0:W.categories)||void 0===n?void 0:n.length)return{categories:W.categories,xType:null!==(o=W.type)&&void 0!==o?o:"category"};var l=new Set,t=[];L.forEach(function(i){return i.data.forEach(function(i){l.has(i.x)||(l.add(i.x),t.push(i.x))})});var r=t.every(k),a=null!==(e=null==W?void 0:W.type)&&void 0!==e?e:r?"number":"category";return{categories:"number"===a?i([],t,!0).sort(function(i,n){return Number(i)-Number(n)}):t,xType:a}},[L,null==W?void 0:W.categories,null==W?void 0:W.type]),U=B.categories,V=B.xType,Z=l(function(){var i=new Map;return L.forEach(function(n){var o=new Map;n.data.forEach(function(i){return o.set(i.x,i.y)}),i.set(n.key,o)}),U.map(function(n){var o={x:n};return L.forEach(function(e){var l,t=null===(l=i.get(e.key))||void 0===l?void 0:l.get(n);o[e.key]=null==t?null:t}),o})},[L,U]),q=l(function(){var i={},n=L.map(function(n,o){var e,l=null!==(e=n.color)&&void 0!==e?e:h(null==I?void 0:I.colors,o);return i[n.key]={label:n.label,color:l},{series:n,color:l,index:o}});return{chartConfig:i,resolved:n}},[L,null==I?void 0:I.colors]),J=q.chartConfig,Q=q.resolved,X=l(function(){var i={};return L.forEach(function(n){n.valueFormatter&&(i[n.key]=function(i,o){var e;return n.valueFormatter(i,null!==(e=null==o?void 0:o.payload)&&void 0!==e?e:{x:null==o?void 0:o.x,y:i})})}),i},[L]),Y=!1!==(null==j?void 0:j.enabled),$=(null==j?void 0:j.seriesKeys)?new Set(j.seriesKeys):null,ii=!1!==(null==z?void 0:z.show),ni="top"===(null==z?void 0:z.position)?"top":"bottom",oi="start"===(null==z?void 0:z.align)?"left":"end"===(null==z?void 0:z.align)?"right":"center",ei=!1!==(null==W?void 0:W.show),li=!1!==(null==N?void 0:N.show),ti=!1!==(null==I?void 0:I.showGrid),ri=!!(null==I?void 0:I.showVerticalGrid),ai=[null!=(null==N?void 0:N.min)?N.min:!1!==(null==N?void 0:N.beginAtZero)?0:"auto",null!=(null==N?void 0:N.max)?N.max:"auto"],ui=null!==(K=null==I?void 0:I.yAxisWidth)&&void 0!==K?K:(null==N?void 0:N.label)?64:48,di={top:12,right:16,bottom:8,left:null!=(null==I?void 0:I.yAxisWidth)?0:(null==N?void 0:N.label)?16:0};return o(s,n({config:J,style:{height:D,fontFamily:_}},{children:e(t,n({data:Z,margin:di,syncId:H},{children:[o(r,{vertical:ri,horizontal:ti,stroke:G}),o(a,{dataKey:"x",type:"number"===V?"number":"category",hide:!ei,height:(null==W?void 0:W.label)?52:void 0,tickLine:!1,axisLine:!(null==W?void 0:W.hideLine)&&{stroke:M},tickMargin:8,minTickGap:24,interval:"preserveStartEnd",tick:{fill:P,fontSize:11},tickFormatter:(null==W?void 0:W.formatTick)?function(i,n){return W.formatTick(i,n)}:void 0,label:(null==W?void 0:W.label)?{value:W.label,position:"insideBottom",offset:4,fill:O,fontSize:12,fontWeight:500}:void 0}),o(u,{hide:!li,domain:ai,tickLine:!1,axisLine:!1===(null==N?void 0:N.hideLine)&&{stroke:M},tickCount:null==N?void 0:N.tickCount,width:ui,tick:{fill:P,fontSize:11},tickFormatter:(null==N?void 0:N.formatTick)?function(i,n){return N.formatTick(i,n)}:function(i){return"number"==typeof i?p(i):String(i)},label:(null==N?void 0:N.label)?{value:N.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"},fill:O,fontSize:12,fontWeight:500}:void 0}),Y&&o(c,{cursor:{stroke:M,strokeDasharray:"4 4"},content:function(i){var e,l=(null!==(e=i.payload)&&void 0!==e?e:[]).filter(function(i){var n=L.find(function(n){return n.key===i.dataKey});return!1!==(null==n?void 0:n.showInTooltip)&&!($&&!$.has(String(i.dataKey)))});return(null==j?void 0:j.render)?j.render({x:i.label,points:l.map(function(n){var o;return{series:L.find(function(i){return i.key===n.dataKey}),value:null!==(o=n.value)&&void 0!==o?o:null,point:{x:i.label,y:n.value},color:n.color}})}):o(f,n({},i,{payload:l,hideLabel:!1===(null==j?void 0:j.showHeading),valueFormatters:X,labelFormatter:(null==j?void 0:j.formatHeading)?function(i){return j.formatHeading(i)}:void 0}))}}),ii&&o(y,{verticalAlign:ni,content:function(i){return o(m,n({},i,{verticalAlign:ni,align:oi,hiddenKeys:F,onItemClick:!1!==(null==z?void 0:z.toggle)&&E?E:void 0}))}}),Q.map(function(i){var e,l,t,r,a=i.series,u=F.has(a.key),s="var(--color-".concat(a.key,")"),c=!0===a.dashed?"6 5":"string"==typeof a.dashed?a.dashed:void 0,f=!1!==a.showPoints&&{r:null!==(e=a.pointRadius)&&void 0!==e?e:3,fill:"#fff",stroke:s,strokeWidth:2},y={r:(null!==(l=a.pointRadius)&&void 0!==l?l:3)+2,onClick:R?function(i,n){var o,e;return function(i,n,o){if(R){var e=L.find(function(n){return n.key===i});e&&R({series:e,point:{x:null==n?void 0:n.x,y:null==n?void 0:n[i]},index:o})}}(a.key,null!==(o=null==n?void 0:n.payload)&&void 0!==o?o:n,null!==(e=null==n?void 0:n.index)&&void 0!==e?e:0)}:void 0},m={key:a.key,dataKey:a.key,name:a.key,type:g(a.curve),stroke:s,strokeWidth:null!==(t=a.strokeWidth)&&void 0!==t?t:2,strokeDasharray:c,connectNulls:!1,isAnimationActive:!1,hide:u,dot:f,activeDot:y};return a.area?o(d,n({},m,{fill:s,fillOpacity:null!==(r=a.areaOpacity)&&void 0!==r?r:.12})):o(v,n({},m))})]}))}))}export{x as default};
2
+ //# sourceMappingURL=RecordLineChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordLineChart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as l,jsx as n}from"react/jsx-runtime";import{useState as t,useRef as o,useEffect as r}from"react";import{ArrowUpDown as a,ChevronDown as i}from"lucide-react";function u(u){var c,p,m=u.config,s=u.value,d=u.onChange,h=m.options,v=m.label,b=void 0===v?"Plot by":v,f=m.placeholder,_=m.hideWhenSingle,g=m.triggerIcon,y=t(!1),N=y[0],x=y[1],C=o(null);if(r(function(){if(N){var e=function(e){C.current&&!C.current.contains(e.target)&&x(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}},[N]),!(null==h?void 0:h.length))return null;if(h.length<=1&&!1!==_)return null;var j=h.find(function(e){return e.value===s}),k=null!==(p=null!==(c=null==j?void 0:j.label)&&void 0!==c?c:f)&&void 0!==p?p:"Select";return l("div",e({className:"ellm-graph__plotby",ref:C},{children:[l("button",e({type:"button",className:"ellm-graph__plotby-btn".concat(N?" ellm-graph__plotby-btn--open":""),onClick:function(){return x(function(e){return!e})},"aria-haspopup":"listbox","aria-expanded":N},{children:[null!==g&&(null!=g?g:n(a,{size:16})),l("span",e({className:"ellm-graph__plotby-text"},{children:[b?"".concat(b,": "):"",n("span",e({className:"ellm-graph__plotby-value"},{children:k}))]})),n(i,{size:16,className:"ellm-graph__plotby-chevron"})]})),N&&n("div",e({className:"ellm-graph__plotby-menu",role:"listbox"},{children:h.map(function(l){return n("button",e({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(){d(l.value),x(!1)}},{children:l.label}),l.value)})}))]}))}export{u as default};
2
+ //# sourceMappingURL=RecordPlotBySelector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordPlotBySelector.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ var e=["#6366f1","#10b981","#f59e0b","#ef4444","#3b82f6","#a855f7","#ec4899","#14b8a6"],f=function(f,n){var r=f&&f.length?f:e;return r[n%r.length]};export{f as RECOColorForIndex,e as RECODEFAULT_COLORS};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsx as l,jsxs as i,Fragment as c}from"react/jsx-runtime";import a from"react";import{ArrowUp as t,ArrowDown as r}from"lucide-react";var n=function(n){var d,s,o,m,u,v=n.title,_=n.value,p=n.subtitle,h=n.icon,f=n.loading,g=n.valuePrefix,N=n.valueColor,y=n.delta,x=n.segments,b=n.onClick,k=n.classNames,W=x&&x.length>0,z=W?x.reduce(function(e,l){return e+l.value},0):0;return l("div",e({className:"metric-card ".concat(null!==(d=null==k?void 0:k.root)&&void 0!==d?d:""),onClick:b},{children:i("div",e({className:"metric-card__content ".concat(W?"metric-card__content--has-segments":"")},{children:[i("div",e({style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%",gap:"4px"}},{children:[l("div",e({className:"metric-card__title"},{children:v})),i("div",e({style:{display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"}},{children:[l("div",e({className:"metric-card__value ".concat(null!==(s=null==k?void 0:k.value)&&void 0!==s?s:""),style:{color:null!=N?N:null==g?void 0:g.color}},{children:f?l("span",{className:"metric-card__value-skeleton"}):i(c,{children:[(null==g?void 0:g.icon)&&(a.isValidElement(g.icon)?a.cloneElement(g.icon,{size:20,strokeWidth:2.5}):g.icon),_]})})),!f&&y&&i("div",e({className:"metric-card__delta",style:{color:y.color}},{children:["flat"!==y.direction&&("up"===y.direction?l(t,{size:14,strokeWidth:3,"aria-hidden":!0}):l(r,{size:14,strokeWidth:3,"aria-hidden":!0})),l("span",{children:y.label}),y.caption&&l("span",e({className:"metric-card__delta-caption"},{children:y.caption}))]}))]})),p&&l("div",e({className:"metric-card__subtitle ".concat(null!==(o=null==k?void 0:k.subtitle)&&void 0!==o?o:"")},{children:p}))]})),W&&i("div",e({className:"".concat(null!==(m=null==k?void 0:k.segments)&&void 0!==m?m:""),style:{display:"flex",flexDirection:"column",flex:1,margin:0}},{children:[l("div",e({className:"metric-card__stats",style:{margin:"10px"}},{children:x.map(function(c,a){return i("div",e({className:"metric-card__stat"},{children:[i("div",e({className:"metric-card__stat-label"},{children:[l("span",{className:"metric-card__dot",style:{background:c.color}}),c.label]})),l("div",e({className:"metric-card__stat-value"},{children:void 0!==c.displayValue?c.displayValue:"".concat(c.value).concat(c.percentage?"%":"")})),a<x.length-1&&l("div",{className:"metric-card__divider"})]}),c.label)})})),l("div",e({className:"metric-card__progress",style:{marginTop:"4px"}},{children:x.map(function(e){return l("div",{className:"metric-card__progress-segment",style:{width:z>0?"".concat(e.value/z*100,"%"):"0%",background:e.color}},e.label)})}))]})),h&&l("div",e({className:"metric-card__icon-container ".concat(null!==(u=null==k?void 0:k.icon)&&void 0!==u?u:"")},{children:a.isValidElement(h)?a.cloneElement(h,{size:25,strokeWidth:2.5}):h}))]}))}))};export{n as default};
2
+ //# sourceMappingURL=RecordMetricCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordMetricCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as l,__spreadArray as o}from"../../_virtual/_tslib.js";import{jsx as e,Fragment as i,jsxs as t}from"react/jsx-runtime";import n,{useMemo as d}from"react";import{ChartLine as a}from"lucide-react";import r from"./DashboardDateFilter/RecordDashboardDateFilter.js";import u from"./MetricCard/RecordMetricCard.js";import v from"./FiltersSidebar/RecordFiltersSidebar.js";import s from"./Graph/RecordGraph.js";import c from"./Graph/RecordGraphEmptyState.js";import{RECO_DATE_PRESET_MAP as p}from"./DashboardDateFilter/RecordDatePreset.js";import{RECOBuildColumns as g,RECOWithRowIds as h}from"../RecordUtils/RecordTableColumns.js";import{RECOResolveSectionOrder as m,RECOIsSectionHidden as b}from"../RecordUtils/RecordSectionOrder.js";import{RECOGetActiveFilterCount as f,RECOIsKpiValueObject as y,RECOGetKpiValueColor as P,RECOGetKpiDelta as C,RECOFormatKpiValue as w}from"../RecordUtils/index.js";import{RECOGetKpiIcon as B}from"../RecordUtils/RecordKpiIcon.js";import F from"./AnalyticsChart/AnalyticsChart.js";import S from"./TableHeader/TableHeader.js";import R from"./Table/TableGrid/RecordTableGrid.js";import D from"./Table/RecordTableCard.js";import x from"./StatsCard/RecordDashboardStats.js";var k=["#7c3aed","#FFC130","#F43F5E","#10b981","#3b82f6"];function T(T){var H,L,j,A,O,M,E,_,V,z,G,I,W,U,K,N,q,Z,J,Q,X,Y,$,ll,ol,el,il,tl,nl,dl,al,rl,ul,vl,sl,cl,pl,gl,hl,ml,bl,fl,yl,Pl,Cl,wl,Bl,Fl,Sl,Rl,Dl,xl,kl,Tl,Hl,Ll,jl,Al=T.uiConfig,Ol=T.data,Ml=T.dataLoading,El=T.startDate,_l=T.endDate,Vl=T.onDateChange,zl=T.onRefresh,Gl=T.selectedKpis,Il=T.onKpiChange,Wl=T.sidebarVisible,Ul=T.onSidebarShow,Kl=T.onSidebarHide,Nl=T.filterValues,ql=T.onFilterChange,Zl=T.onFilterReset,Jl=T.onFilterApply,Ql=T.appliedFilters,Xl=T.graphEmptyState,Yl=T.tables,$l=T.tableLayout,lo=T.statsConfig,oo=T.sectionOrder,eo=T.hiddenSections,io=T.tablePages,to=T.onTableExpand,no=T.onTableLoadMore,ao=T.TableHeaderProps,ro=T.ChartProps,uo=T.searchTerm,vo=T.setSearchTerm,so=T.selectedSort,co=T.setSelectedSort,po=T.tablePaginationState,go=T.tablePaginationResponseState,ho=T.onTablePageChange,mo=T.chartPerRow,bo=T.chartLayoutStyle,fo=null!==(j=null===(L=null===(H=null==Al?void 0:Al.data)||void 0===H?void 0:H.dateFilters)||void 0===L?void 0:L.datepresets)&&void 0!==j?j:[];console.log("tablePaginationState",po);var yo=d(function(){return fo.map(function(l){return p[l]}).filter(Boolean)},[JSON.stringify(fo)]),Po=d(function(){return f(Ql)},[Ql]),Co=d(function(){var l,o,e=null==$l?void 0:$l.spans;if(e)return(null!==(o=null===(l=null==Al?void 0:Al.data)||void 0===l?void 0:l.tableBuilder)&&void 0!==o?o:[]).map(function(l,o){return Array.isArray(e)?e[o]:e[l.key]})},[null==$l?void 0:$l.spans,null===(A=null==Al?void 0:Al.data)||void 0===A?void 0:A.tableBuilder]),wo=e("div",l({style:{padding:"4px"}},{children:e(x,{uiConfig:null===(O=null==Al?void 0:Al.data)||void 0===O?void 0:O.statsBuilder,data:null==Ol?void 0:Ol.stats,statsConfig:lo})})),Bo=e("div",l({style:{padding:"4px"}},{children:e(s,{loading:Ml,emptyState:null!=Xl?Xl:e(c,{}),title:null===(E=null===(M=null==Al?void 0:Al.data)||void 0===M?void 0:M.graphBuilder)||void 0===E?void 0:E.title,description:null===(V=null===(_=null==Al?void 0:Al.data)||void 0===_?void 0:_.graphBuilder)||void 0===V?void 0:V.subtitle,icon:e(a,{size:18}),xAxis:{label:(null===(I=null===(G=null===(z=null==Al?void 0:Al.data)||void 0===z?void 0:z.graphBuilder)||void 0===G?void 0:G.axis)||void 0===I?void 0:I.xAxisLabel)||"Date"},style:{chartHeight:220},panes:null===(U=null===(W=null==Al?void 0:Al.data)||void 0===W?void 0:W.graphBuilder)||void 0===U?void 0:U.tiers.map(function(l,o){var i,t,n,d,r,u,v,s,c,p,g,h=Gl[l.key]||(null===(i=l.plotOptions[0])||void 0===i?void 0:i.key),m=Ol.graph.tier.find(function(o){return o.key===l.key}),b=(null===(t=null==m?void 0:m.plotbyoptions)||void 0===t?void 0:t[h])||{},f=(null==l?void 0:l.series)||[],y=Object.keys(b),P=l.plotOptions.find(function(l){return l.value===h});return{key:l.key,selector:{label:"Plot By",value:h,onChange:function(o){Il(l.key,o)},options:l.plotOptions.map(function(l){return{label:l.label,value:l.value}}),triggerIcon:e(a,{size:16,color:0===o?"green":"purple"})},yAxis:{label:null==P?void 0:P.yAxisLabel,beginAtZero:"false"!==(null==h?void 0:h.yAxisBeginAtZero)},tooltip:{formatHeading:function(l){return"".concat(l)}},legend:{position:(null===(r=null===(d=null===(n=null==Al?void 0:Al.data)||void 0===n?void 0:n.graphBuilder)||void 0===d?void 0:d.legend)||void 0===r?void 0:r.position)||"bottom",toggle:"yes"===(null===(s=null===(v=null===(u=null==Al?void 0:Al.data)||void 0===u?void 0:u.graphBuilder)||void 0===v?void 0:v.legend)||void 0===s?void 0:s.allowToggle),align:(null===(g=null===(p=null===(c=null==Al?void 0:Al.data)||void 0===c?void 0:c.graphBuilder)||void 0===p?void 0:p.legend)||void 0===g?void 0:g.alignment)||"center"},height:0===o?300:250,series:y.map(function(l,o){var e,i,t,n,d,a=(null===(i=null===(e=null==m?void 0:m.plotbyoptions)||void 0===e?void 0:e[h])||void 0===i?void 0:i[l])||[],r=k[o%k.length],u=f.find(function(o){return o.key===l});return{key:l,label:(null==u?void 0:u.name)||l,data:a,area:"yes"===(null==u?void 0:u.areaFill),curve:(null==u?void 0:u.curveType)||"linear",color:"#".concat(null==u?void 0:u.color)||r,dashed:"dashed"===(null==u?void 0:u.style),strokeWidth:parseInt(null==u?void 0:u.strokeWidth)||2,showPoints:"yes"===(null==u?void 0:u.showPoints),pointRadius:parseInt(null==u?void 0:u.pointRadius)||3,showInLegend:"yes"===(null===(d=null===(n=null===(t=null==Al?void 0:Al.data)||void 0===t?void 0:t.graphBuilder)||void 0===n?void 0:n.legend)||void 0===d?void 0:d.showLegends),valueFormatter:function(l){return"".concat(l)}}})}})})})),Fo=e("div",l({style:{padding:"4px",display:"flex",gap:"10px",flexWrap:"wrap"}},{children:o([],null!==(N=null===(K=null==Al?void 0:Al.data)||void 0===K?void 0:K.kpiCards)&&void 0!==N?N:[],!0).sort(function(l,o){var e,i;return(null!==(e=l.displayOrder)&&void 0!==e?e:0)-(null!==(i=o.displayOrder)&&void 0!==i?i:0)}).map(function(l){var o,i=null===(o=null==Ol?void 0:Ol.kpiCards)||void 0===o?void 0:o[l.title],t=y(i)?P(i.currentValue,i.baselineValue,l.indicatorLogic):void 0,n=y(i)?C(i.currentValue,i.baselineValue,l.indicatorLogic):void 0;return e(u,{title:l.title,subtitle:l.subtitle,value:w(i,l.valueFormat),valueColor:t,delta:n&&{label:n.label,direction:n.direction,color:t},icon:B(l.icon),loading:Ml},l.title)})}));console.log("RecordDashboard",po);var So=(null===(q=null==Al?void 0:Al.data)||void 0===q?void 0:q.tableHeaderBuilder)?e(S,l({filterCount:Po,sortoptions:null!==(Q=null===(J=null===(Z=null==Al?void 0:Al.data)||void 0===Z?void 0:Z.tableHeaderBuilder)||void 0===J?void 0:J.sortOptions)&&void 0!==Q?Q:[],searchPlaceholder:"Search by Document Type",selectedSort:so,setSelectedSort:co,onFilterClick:Ul,onRefresh:zl,searchTerm:uo,setSearchTerm:vo,showFilterCount:!0,hideSearchBar:!(null===(Y=null===(X=null==Al?void 0:Al.data)||void 0===X?void 0:X.tableHeaderBuilder)||void 0===Y?void 0:Y.showSearchBar),hideFilterButton:!(null===(ll=null===($=null==Al?void 0:Al.data)||void 0===$?void 0:$.tableHeaderBuilder)||void 0===ll?void 0:ll.showFilterButton),hideSortButton:!(null===(el=null===(ol=null==Al?void 0:Al.data)||void 0===ol?void 0:ol.tableHeaderBuilder)||void 0===el?void 0:el.showSortButton),hideRefreshButton:!(null===(tl=null===(il=null==Al?void 0:Al.data)||void 0===il?void 0:il.tableHeaderBuilder)||void 0===tl?void 0:tl.showRefreshButton),refreshDuration:null===(dl=null===(nl=null==Al?void 0:Al.data)||void 0===nl?void 0:nl.tableHeaderBuilder)||void 0===dl?void 0:dl.refreshDuration},ao)):null,Ro=(null!==(ul=null===(rl=null===(al=null==Al?void 0:Al.data)||void 0===al?void 0:al.tableBuilder)||void 0===rl?void 0:rl.length)&&void 0!==ul?ul:0)>0?e("div",l({style:{padding:"4px"}},{children:e(R,l({itemSpans:Co,totalColumns:null!==(vl=null==$l?void 0:$l.totalColumns)&&void 0!==vl?vl:12,defaultSpan:null==$l?void 0:$l.defaultSpan,options:null!==(sl=null==$l?void 0:$l.options)&&void 0!==sl?sl:[1,2,3],defaultColumns:null==$l?void 0:$l.defaultColumns,columns:null==$l?void 0:$l.columns,onColumnsChange:null==$l?void 0:$l.onColumnsChange,showToggle:(null===(cl=null==$l?void 0:$l.showToggle)||void 0===cl||cl)&&(null!==(hl=null===(gl=null===(pl=null==Al?void 0:Al.data)||void 0===pl?void 0:pl.tableBuilder)||void 0===gl?void 0:gl.length)&&void 0!==hl?hl:0)>1,toggleLabel:null==$l?void 0:$l.toggleLabel,minColumnWidth:null!==(ml=null==$l?void 0:$l.minColumnWidth)&&void 0!==ml?ml:380,gap:null!==(bl=null==$l?void 0:$l.gap)&&void 0!==bl?bl:12,equalHeights:null===(fl=null==$l?void 0:$l.equalHeights)||void 0===fl||fl},{children:Al.data.tableBuilder.map(function(o){var i,t,d,a,r,u,v,s=null!==(t=null===(i=null==Ol?void 0:Ol.table)||void 0===i?void 0:i[o.key])&&void 0!==t?t:[],c=null==io?void 0:io[o.key],p=(null==po?void 0:po[o.key])||{currentPage:1,rowsPerPage:20},m=(null==c?void 0:c.loading)||!1,b=(p.currentPage-1)*p.rowsPerPage,f=b+p.rowsPerPage,y=s.slice(b,f),P=!!(null==c?void 0:c.loaded),C=P?c.rows:y,w=!P&&o.rowLimit&&o.rowLimit>0?s.slice(0,o.rowLimit):C,F=null==Yl?void 0:Yl[o.key],S=g(o,F),R=null==F?void 0:F.card,x=null==R?void 0:R.icon,k=B(o.icon),T=k&&n.isValidElement(k)?n.cloneElement(k,l(l({},null!=(null==x?void 0:x.size)?{size:x.size}:{}),(null==x?void 0:x.color)?{color:x.color}:{})):k,H=x?l(l(l({width:"auto",height:"auto"},x.color?{color:x.color}:{}),x.background?{background:x.background,padding:6,borderRadius:8}:{}),x.style):void 0,L=function(l,e){null==ho||ho(o.key,l,e)},j=null===(a=null===(d=null==F?void 0:F.TablePaginationProps)||void 0===d?void 0:d.enabled)||void 0===a||a,A=null===(r=null==go?void 0:go[o.key])||void 0===r?void 0:r.totalRecords;return e(D,{tableRenderConfig:F,tableHeader:So,title:o.title,icon:T,styles:{root:null==R?void 0:R.root,header:null==R?void 0:R.header,title:null==R?void 0:R.title,icon:H},onExpand:function(l){return null==to?void 0:to(o.key,l)},pagination:j?l({enabled:!0,currentPage:p.currentPage,rowsPerPage:p.rowsPerPage,totalRecords:A,itemLabel:(null===(u=o.title)||void 0===u?void 0:u.toLowerCase())||"items",pageSizeOptions:[10,20,50,100],onPageChange:L,onPrevious:function(){return L(p.currentPage-1,p.rowsPerPage)},onNext:function(){return L(p.currentPage+1,p.rowsPerPage)},onRowsPerPageChange:function(l){return L(1,l)}},null==F?void 0:F.TablePaginationProps):{enabled:!1},table:{rows:h(w),columns:S,loading:m||Ml,loadingMore:null==c?void 0:c.loading,hasMore:null==c?void 0:c.hasMore,onLoadMore:function(){return null==no?void 0:no(o.key)},tableProps:null==F?void 0:F.tableProps,rowDetail:null==F?void 0:F.rowDetail,paginationMode:j,totalRecords:A,currentPage:p.currentPage,rowsPerPage:p.rowsPerPage,onPageChange:L,scrollHeight:null===(v=null==F?void 0:F.tableProps)||void 0===v?void 0:v.scrollHeight},columnHeaderTextAlign:null==F?void 0:F.columnHeaderTextAlign,columnCellTextAlign:null==F?void 0:F.columnCellTextAlign,showExpandButton:!1},o.key)})}))})):null,Do=(null===(Pl=null===(yl=null==Al?void 0:Al.data)||void 0===yl?void 0:yl.chartBuilder)||void 0===Pl?void 0:Pl.length)?Al.data.chartBuilder.map(function(o,i){var t,n,d,a,r,u,v;return e(F,l({chartType:(null==o?void 0:o.chart_type)||"doughnut",title:(null==o?void 0:o.chart_title)||"Chart ".concat(i+1),labels:(null===(d=null===(n=null===(t=null==Ol?void 0:Ol.charts)||void 0===t?void 0:t[o.chart_id])||void 0===n?void 0:n.chart_data)||void 0===d?void 0:d.labels)||[],values:(null===(u=null===(r=null===(a=null==Ol?void 0:Ol.charts)||void 0===a?void 0:a[o.chart_id])||void 0===r?void 0:r.chart_data)||void 0===u?void 0:u.datasets)||[],colors:(null===(v=null==o?void 0:o.colors)||void 0===v?void 0:v.length)?o.colors:["#3B82F6","#6DDB36","#FBBF24"]},ro),o.chart_id||i)}):null,xo={statsCards:wo,graphBuilder:Bo,kpiCards:Fo,charts:Do,tableBuilder:Ro},ko=m(oo,eo,null===(Cl=null==Al?void 0:Al.data)||void 0===Cl?void 0:Cl.sectionOrder,Object.keys(xo)),To=b(eo,"dateFilters"),Ho=b(eo,"sidebarFilters"),Lo=b(eo,"chart");return e(i,{children:t("div",l({style:{display:"flex",flexDirection:"column",gap:12}},{children:[!To&&e("div",l({style:{padding:"4px"}},{children:e(r,{filterCount:Po,initialStartDate:El,initialEndDate:_l,onDateChange:Vl,onRefresh:zl,onFilterClick:Ul,presets:yo,datePickerProps:{from:{minDate:new Date(2025,0,1),maxDate:new Date},to:{minDate:El,maxDate:new Date}},defaultPresets:null===(wl=null==Al?void 0:Al.data)||void 0===wl?void 0:wl.dateFilters.defaultPreset,showLiveButton:"yes"===(null===(Fl=null===(Bl=null==Al?void 0:Al.data)||void 0===Bl?void 0:Bl.dateFilters)||void 0===Fl?void 0:Fl.showLiveButton),showFilterButton:!Ho&&"yes"===(null===(Rl=null===(Sl=null==Al?void 0:Al.data)||void 0===Sl?void 0:Sl.dateFilters)||void 0===Rl?void 0:Rl.showFilterButton),showFilterCount:!Ho&&"yes"===(null===(xl=null===(Dl=null==Al?void 0:Al.data)||void 0===Dl?void 0:Dl.dateFilters)||void 0===xl?void 0:xl.showFilterCount),liveDuration:null===(Tl=null===(kl=null==Al?void 0:Al.data)||void 0===kl?void 0:kl.dateFilters)||void 0===Tl?void 0:Tl.liveDurationMs})})),ko.map(function(o){return console.log(o,"key"),"charts"===o?Lo?null:e("div",l({style:l({display:"grid",gridTemplateColumns:"repeat(".concat(mo||2,", 1fr)"),gap:"12px",padding:"4px",width:"100%"},bo)},{children:xo[o]}),o):e(n.Fragment,{children:xo[o]},o)}),!Ho&&e(v,{visible:Wl,onHide:Kl,onReset:Zl,onApply:Jl,fields:null!==(jl=null===(Ll=null===(Hl=null==Al?void 0:Al.data)||void 0===Hl?void 0:Hl.sidebarFilters)||void 0===Ll?void 0:Ll.map(function(l){var o,e,i,t,n=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!==(e=null===(o=l.options)||void 0===o?void 0:o.map(function(l){return{label:l,value:l}}))&&void 0!==e?e:[];return{id:n,label:l.label,hint:l.description,type:d,placeholder:l.placeholder,options:a,value:"multiSelect"===d?null!==(i=Nl[n])&&void 0!==i?i:[]:null!==(t=Nl[n])&&void 0!==t?t:"",onChange:function(l){return ql(n,l)}}}))&&void 0!==jl?jl:[]})]}))})}export{T as RecordDashboard,T as default};
2
+ //# sourceMappingURL=RecordDashboard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDashboard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e,__spreadArray as i}from"../../../_virtual/_tslib.js";import{jsx as t,Fragment as n,jsxs as o}from"react/jsx-runtime";import r,{useState as l,useRef as a,useEffect as d}from"react";import"primeicons/primeicons.css";function s(i){var n=i.value,r=i.options,s=i.placeholder,c=i.onChange,p=l(!1),u=p[0],f=p[1],g=a(null);return d(function(){var e=function(e){g.current&&!g.current.contains(e.target)&&f(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]),o("div",e({ref:g,style:{position:"relative",width:"100%",minWidth:"150px",maxWidth:"220px"}},{children:[o("div",e({onClick:function(){return f(!u)},style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"6px 12px",background:"#ffffff",border:"1px solid ".concat(u?"#7c3aed":"#cbd5e1"),borderRadius:"8px",cursor:"pointer",fontSize:"13px",color:n?"#0f172a":"#94a3b8",fontWeight:n?500:400,boxShadow:u?"0 0 0 3px rgba(124, 58, 237, 0.15)":"0 1px 2px rgba(0,0,0,0.05)",transition:"all 0.2s ease"}},{children:[t("span",e({style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{children:n||s})),o("div",e({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[n&&t("i",{className:"pi pi-times",style:{fontSize:"0.7rem",color:"#94a3b8",cursor:"pointer"},onClick:function(e){e.stopPropagation(),c(void 0)}}),t("i",{className:"pi pi-chevron-down",style:{fontSize:"0.75rem",color:"#64748b",transform:u?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s ease"}})]}))]})),u&&t("div",e({style:{position:"absolute",top:"calc(100% + 4px)",left:0,width:"100%",maxHeight:"220px",overflowY:"auto",background:"#ffffff",border:"1px solid #e2e8f0",borderRadius:"8px",boxShadow:"0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",zIndex:1e3,padding:"4px"}},{children:r.map(function(i){var r=i===n;return o("div",e({onClick:function(){c(i),f(!1)},style:{padding:"8px 12px",borderRadius:"6px",fontSize:"13px",color:r?"#7c3aed":"#334155",background:r?"#f5f3ff":"transparent",fontWeight:r?600:400,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"space-between",transition:"background 0.15s ease"},onMouseEnter:function(e){r||(e.currentTarget.style.background="#f8fafc")},onMouseLeave:function(e){r||(e.currentTarget.style.background="transparent")}},{children:[t("span",{children:i}),r&&t("i",{className:"pi pi-check",style:{fontSize:"0.75rem",color:"#7c3aed"}})]}),i)})}))]}))}function c(n){var r=n.value,s=void 0===r?[]:r,c=n.options,p=n.placeholder,u=n.onChange,f=l(!1),g=f[0],v=f[1],x=a(null);d(function(){var e=function(e){x.current&&!x.current.contains(e.target)&&v(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var m=c.length>0&&s.length===c.length;return o("div",e({ref:x,style:{position:"relative",width:"100%",minWidth:"160px",maxWidth:"240px"}},{children:[o("div",e({onClick:function(){return v(!g)},style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"6px 12px",background:"#ffffff",border:"1px solid ".concat(g?"#7c3aed":"#cbd5e1"),borderRadius:"8px",cursor:"pointer",fontSize:"13px",color:s.length>0?"#0f172a":"#94a3b8",fontWeight:s.length>0?500:400,boxShadow:g?"0 0 0 3px rgba(124, 58, 237, 0.15)":"0 1px 2px rgba(0,0,0,0.05)",transition:"all 0.2s ease"}},{children:[t("span",e({style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{children:0===s.length?p:1===s.length?s[0]:"".concat(s.length," selected")})),o("div",e({style:{display:"flex",alignItems:"center",gap:"6px"}},{children:[s.length>0&&t("span",e({style:{background:"#f5f3ff",color:"#7c3aed",fontSize:"11px",padding:"1px 6px",borderRadius:"12px",fontWeight:700}},{children:s.length})),t("i",{className:"pi pi-chevron-down",style:{fontSize:"0.75rem",color:"#64748b",transform:g?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s ease"}})]}))]})),g&&o("div",e({style:{position:"absolute",top:"calc(100% + 4px)",left:0,width:"100%",maxHeight:"240px",overflowY:"auto",background:"#ffffff",border:"1px solid #e2e8f0",borderRadius:"8px",boxShadow:"0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",zIndex:1e3,padding:"4px"}},{children:[o("div",e({onClick:function(){u(m?[]:i([],c,!0))},style:{padding:"8px 12px",borderRadius:"6px",fontSize:"12px",fontWeight:700,color:"#475569",background:"#f8fafc",borderBottom:"1px solid #f1f5f9",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"4px"}},{children:[t("span",{children:"Select All"}),t("div",e({style:{width:"14px",height:"14px",borderRadius:"3px",border:"1px solid ".concat(m?"#7c3aed":"#cbd5e1"),background:m?"#7c3aed":"#ffffff",display:"flex",alignItems:"center",justifyContent:"center"}},{children:m&&t("i",{className:"pi pi-check",style:{color:"#fff",fontSize:"0.55rem"}})}))]})),c.map(function(n){var r=s.includes(n);return o("div",e({onClick:function(){return function(e){s.includes(e)?u(s.filter(function(i){return i!==e})):u(i(i([],s,!0),[e],!1))}(n)},style:{padding:"8px 12px",borderRadius:"6px",fontSize:"13px",color:r?"#7c3aed":"#334155",background:r?"#f5f3ff":"transparent",fontWeight:r?600:400,cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"space-between",transition:"background 0.15s ease"},onMouseEnter:function(e){r||(e.currentTarget.style.background="#f8fafc")},onMouseLeave:function(e){r||(e.currentTarget.style.background="transparent")}},{children:[t("span",{children:n}),t("div",e({style:{width:"14px",height:"14px",borderRadius:"3px",border:"1px solid ".concat(r?"#7c3aed":"#cbd5e1"),background:r?"#7c3aed":"#ffffff",display:"flex",alignItems:"center",justifyContent:"center"}},{children:r&&t("i",{className:"pi pi-check",style:{color:"#fff",fontSize:"0.55rem"}})}))]}),n)})]}))]}))}var p=[{id:1,mainStatsTitle:"Executive Summary",statsGroups:[{groupId:"group_financials",groupTitle:"Financial Overview",multiSelect:!1,groupFilter:{type:"none",schemaFilterName:"",options:[],placeholder:"",selectionMode:"single"},cards:[{id:"1001",key:"total_revenue",title:"Total Revenue",subtitle:"(YTD)",valueFormat:"dollar",filterPayload:{schemaFilterName:"",value:""}},{id:"1002",key:"gross_margin",title:"Gross Margin",subtitle:"(Average)",valueFormat:"percentage",filterPayload:{schemaFilterName:"",value:""}}]},{groupId:"group_claims_status",groupTitle:"Claims Status",multiSelect:!0,groupFilter:{type:"custom",schemaFilterName:"due_date",options:["Overdue","Next 7 Days","Completed"],placeholder:"Select Timeframe",selectionMode:"single"},cards:[{id:"1003",key:"open_claims",title:"Open Claims",subtitle:"Requires action",valueFormat:"integer",filterPayload:{schemaFilterName:"claim_status",value:"open"}},{id:"1004",key:"closed_claims",title:"Closed Claims",subtitle:"Resolved",valueFormat:"integer",filterPayload:{schemaFilterName:"claim_status",value:"closed"}}]}]},{id:2,mainStatsTitle:"Operations Details",statsGroups:[{groupId:"group_incidents",groupTitle:"Incident Reports",multiSelect:!1,groupFilter:{type:"dynamic",schemaFilterName:"incident_type",options:["Fire","Theft","Water Damage","Vandalism"],placeholder:"Filter by Incident Type",selectionMode:"multiple"},cards:[{id:"1005",key:"critical_incidents",title:"Critical Incidents",subtitle:"High Priority",valueFormat:"integer",filterPayload:{schemaFilterName:"severity",value:"critical"}}]}]}],u={"Executive Summary":{group_financials:{total_revenue:{currentValue:145e5,baselineValue:12e6},gross_margin:{currentValue:42.5}},group_claims_status:{open_claims:{currentValue:413,baselineValue:450},closed_claims:{currentValue:3403,baselineValue:3200}}},"Operations Details":{group_incidents:{critical_incidents:{currentValue:12}}}};function f(i){var a,d,f,g,v,x,m,h,y=i.uiConfig,b=void 0===y?p:y,S=i.data,k=void 0===S?u:S,w=i.statsConfig,I=l(new Set),C=I[0],F=I[1],T=l({}),_=T[0],z=T[1],N=null==w?void 0:w.collapseOptions,R=null===(a=null==N?void 0:N.enabled)||void 0===a||a,W=null!==(d=null==N?void 0:N.mode)&&void 0!==d?d:"full",O=l(new Set("collapsed"===(null==N?void 0:N.defaultState)?b.map(function(e){return e.id}):[])),E=O[0],L=O[1],V=null!==(f=null==N?void 0:N.expandIcon)&&void 0!==f?f:t("i",{className:"pi pi-angle-down",style:{fontSize:"1rem"}}),j=null!==(g=null==N?void 0:N.collapseIcon)&&void 0!==g?g:t("i",{className:"pi pi-angle-up",style:{fontSize:"1rem"}}),M=null===(v=null==w?void 0:w.showCheckboxes)||void 0===v||v,P=null!==(x=null==w?void 0:w.checkboxPosition)&&void 0!==x?x:"top-right",G=null==w?void 0:w.groupColumns,D=(null==w?void 0:w.styles)||{},H=function(e,i,t){var n,o=[],r=[];b.forEach(function(t){t.statsGroups.forEach(function(n){var l,a,d,s=i[n.groupId];if(void 0===s){var c="multiple"===(null===(l=n.groupFilter)||void 0===l?void 0:l.selectionMode);s=c?[]:(null===(d=null===(a=n.groupFilter)||void 0===a?void 0:a.options)||void 0===d?void 0:d[0])||""}n.cards.forEach(function(i){var l,a;e.has(String(i.id))&&(o.push(i.filterPayload),r.push({card:i,data:null===(a=null===(l=null==k?void 0:k[t.mainStatsTitle])||void 0===l?void 0:l[n.groupId])||void 0===a?void 0:a[i.key],groupName:n.groupTitle,groupId:n.groupId,dropdownValue:s}))})})}),null===(n=null==w?void 0:w.onSelectionChange)||void 0===n||n.call(w,o,t,r,i)},B=function(e,i,t){var n,o,r,l,a,d=new Set(C),s=String(e.id),c=d.has(s);c||i.multiSelect||i.cards.forEach(function(e){return d.delete(String(e.id))}),c?d.delete(s):d.add(s),F(d);var p=_[i.groupId];void 0===p&&(p="multiple"===(null===(n=i.groupFilter)||void 0===n?void 0:n.selectionMode)?[]:(null===(r=null===(o=i.groupFilter)||void 0===o?void 0:o.options)||void 0===r?void 0:r[0])||"");H(d,_,{card:e,group:i,data:null===(a=null===(l=null==k?void 0:k[t.mainStatsTitle])||void 0===l?void 0:l[i.groupId])||void 0===a?void 0:a[e.key],isSelected:!c,groupDropdownValue:p})};if(!b||0===b.length)return null;if(null==w?void 0:w.rootOverride)return t(n,{children:w.rootOverride(b,k)});var A=G?{display:"grid",gridTemplateColumns:"repeat(".concat(G,", minmax(0, 1fr))"),gap:"30px"}:{display:"flex",flexWrap:"wrap",gap:"30px"};return(null===(m=null==w?void 0:w.header)||void 0===m?void 0:m.title)||null===(h=null==w?void 0:w.header)||void 0===h||h.action,t("div",e({style:e({display:"flex",borderRadius:"15px",flexDirection:"column",gap:"24px"},D.root)},{children:b.map(function(i,n){var l,a=E.has(i.id),d=[];return i.statsGroups.forEach(function(e){e.cards.forEach(function(e){C.has(String(e.id))&&d.push(e)})}),o("div",{children:[o("div",e({style:e({display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:a?0:"20px"},D.globalHeader)},{children:[o("div",e({style:{display:"flex",alignItems:"center",gap:"12px",flexWrap:"wrap"}},{children:[i.mainStatsTitle&&t("h2",e({style:e({margin:0,fontSize:"18px",color:"#0f172a",fontWeight:600},D.sectionTitle)},{children:i.mainStatsTitle})),a&&"summary"===W&&t("div",e({style:{display:"flex",flexWrap:"wrap",gap:"4px"}},{children:d.map(function(i){return t("span",e({style:{background:"#f5f3ff",color:"#7c3aed",fontSize:"11px",padding:"2px 8px",borderRadius:"4px",fontWeight:"bold"}},{children:i.title}),i.id)})}))]})),o("div",e({style:{display:"flex",alignItems:"center",gap:"12px"}},{children:[null===(l=null==w?void 0:w.header)||void 0===l?void 0:l.action,R&&o("button",e({onClick:function(){return e=i.id,(t=new Set(E)).has(e)?t.delete(e):t.add(e),void L(t);var e,t},style:{background:"#ffffff",border:"1px solid #cbd5e1",borderRadius:"6px",padding:"6px 12px",color:"#475569",cursor:"pointer",fontWeight:500,display:"flex",alignItems:"center",gap:"6px",transition:"all 0.2s"}},{children:[a&&(null==N?void 0:N.expandLabel)&&t("span",{children:N.expandLabel}),!a&&(null==N?void 0:N.collapseLabel)&&t("span",{children:N.collapseLabel}),a?V:j]}))]}))]})),!a&&t("div",e({style:A},{children:i.statsGroups.map(function(n,l){var a,d,p,u,f;if(null===(a=null==w?void 0:w.groupOverrides)||void 0===a?void 0:a[n.groupId])return t(r.Fragment,{children:w.groupOverrides[n.groupId](n,k)},n.groupId);var g=l===i.statsGroups.length-1,v=G&&(l+1)%G===0||g,x=e({flex:G?void 0:1,minWidth:G?void 0:"350px",borderRight:v?"none":"1px solid #e2e8f0",paddingRight:v?0:"30px"},D.group),m=(null===(d=n.groupFilter)||void 0===d?void 0:d.type)&&"none"!==n.groupFilter.type,h="multiple"===(null===(p=n.groupFilter)||void 0===p?void 0:p.selectionMode),y=(null===(u=n.groupFilter)||void 0===u?void 0:u.placeholder)||"Select Option",b=((null===(f=n.groupFilter)||void 0===f?void 0:f.options)||[]).filter(function(e){return e!==y&&""!==e&&"Select Options"!==e}),S=_[n.groupId];return o("div",e({style:x},{children:[o("div",e({style:e({display:"flex",alignItems:"center",gap:"12px",marginBottom:"16px",minHeight:"34px"},D.groupHeader)},{children:[t("h3",e({style:e({margin:0,fontSize:"15px",color:"#475569",fontWeight:600},D.groupTitle)},{children:n.groupTitle})),m&&b.length>0&&t("div",{children:h?t(c,{value:Array.isArray(S)?S:[],options:b,placeholder:y,onChange:function(i){var t,o=e(e({},_),((t={})[n.groupId]=i,t));z(o),H(C,o,void 0)}}):t(s,{value:"string"==typeof S?S:void 0,options:b,placeholder:y,onChange:function(i){var t,o=e(e({},_),((t={})[n.groupId]=i||"",t));z(o),H(C,o,void 0)}})})]})),t("div",e({style:e({display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(200px, 1fr))",gap:"12px"},D.cardGrid)},{children:n.cards.map(function(r){var l,a,d,s,c,p=C.has(String(r.id)),u=null===(a=null===(l=null==k?void 0:k[i.mainStatsTitle])||void 0===l?void 0:l[n.groupId])||void 0===a?void 0:a[r.key],f=function(e,i){if(null==e)return"-";var t=Number(e);return isNaN(t)?e:"dollar"===i?"$".concat(t.toLocaleString()):"percentage"===i?"".concat(t,"%"):t.toLocaleString()}(null!==(d=null==u?void 0:u.currentValue)&&void 0!==d?d:null,r.valueFormat);if((null===(s=null==w?void 0:w.cardOverrides)||void 0===s?void 0:s[r.key])||(null===(c=null==w?void 0:w.cardOverrides)||void 0===c?void 0:c[r.id])){var g=w.cardOverrides[r.key]||w.cardOverrides[r.id];return t("div",e({onClick:function(){return B(r,n,i)}},{children:g(r,u,p)}),r.id)}var v=M&&P.includes("left")?"42px":"16px",x=M&&P.includes("right")?"42px":"16px";return o("div",e({onClick:function(){return B(r,n,i)},style:e({position:"relative",paddingTop:"16px",paddingBottom:"16px",paddingLeft:v,paddingRight:x,borderRadius:"8px",border:"1px solid ".concat(p?"#7c3aed":"#e2e8f0"),background:p?"#f5f3ff":"#ffffff",cursor:"pointer",transition:"all 0.2s ease"},D.card)},{children:[M&&t("div",e({style:{position:"absolute",top:P.includes("top")?"16px":"auto",bottom:P.includes("bottom")?"16px":"auto",left:P.includes("left")?"16px":"auto",right:P.includes("right")?"16px":"auto",width:"16px",height:"16px",borderRadius:"4px",border:"1px solid ".concat(p?"#7c3aed":"#cbd5e1"),background:p?"#7c3aed":"#ffffff",display:"flex",alignItems:"center",justifyContent:"center"}},{children:p&&t("i",{className:"pi pi-check",style:{color:"#fff",fontSize:"0.6rem"}})})),t("h4",e({style:{margin:"0 0 8px 0",fontSize:"11px",color:"#64748b",fontWeight:600,textTransform:"uppercase",letterSpacing:"0.5px"}},{children:r.title})),o("div",e({style:{display:"flex",alignItems:"baseline",gap:"6px"}},{children:[t("span",e({style:{fontSize:"20px",fontWeight:700,color:"#0f172a"}},{children:f})),r.subtitle&&null!=(null==u?void 0:u.currentValue)&&t("span",e({style:{fontSize:"12px",color:"#64748b"}},{children:r.subtitle}))]}))]}),r.id)})}))]}),n.groupId)})}))]},i.id)})}))}export{f as default};
2
+ //# sourceMappingURL=RecordDashboardStats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordDashboardStats.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../../_virtual/_tslib.js";import{jsxs as t,jsx as i}from"react/jsx-runtime";import{ChevronLeft as a,ChevronRight as n,ChevronDown as l}from"lucide-react";var o=function(o){var s=o.currentPage,r=void 0===s?1:s,c=o.rowsPerPage,d=void 0===c?10:c,v=o.totalRecords,u=void 0===v?0:v,m=o.showMany,p=void 0===m||m,y=o.itemLabel,g=void 0===y?"items":y,h=o.pageSizeOptions,N=void 0===h?[10,20,50,100,200]:h,S=o.onPrevious,b=o.onNext,f=o.onRowsPerPageChange,P=o.enabled,w=void 0===P||P,x=o.style,z=void 0===x?{}:x,C=o.leftStyle,M=void 0===C?{}:C,_=o.rightStyle,E=void 0===_?{}:_,R=o.countStyle,j=void 0===R?{}:R,k=o.navStyle,A=void 0===k?{}:k,D=o.buttonStyle,F=void 0===D?{}:D,G=o.buttonDisabledStyle,I=void 0===G?{}:G,L=o.selectWrapperStyle,O=void 0===L?{}:L,T=o.selectStyle,W=void 0===T?{}:T,X=o.chevronStyle,q=void 0===X?{}:X,B=o.textStyle,H=void 0===B?{}:B;if(!w)return null;var J=(r-1)*d+1,K=p?r*d:Math.min(r*d,u),Q=p?Number.MAX_SAFE_INTEGER:Math.ceil(u/d),U=1===r,V=!p&&r>=Q;return console.log("start:",d,u),t("div",e({className:"t-pagination",style:z},{children:[i("div",e({className:"t-pagination-left",style:M},{children:t("span",e({style:H},{children:["Showing ",J,"-",K," ",g]}))})),t("div",e({className:"t-pagination-right",style:E},{children:[t("span",e({className:"t-pagination-count",style:j},{children:[J," - ",K," of ",p?"many":u]})),t("div",e({className:"t-pagination-nav",style:A},{children:[i("button",e({className:"t-pagination-icon",disabled:U,onClick:S,style:e(e({},F),U?I:{})},{children:i(a,{size:18})})),i("button",e({className:"t-pagination-icon",disabled:V,onClick:b,style:e(e({},F),V?I:{})},{children:i(n,{size:18})}))]})),t("div",e({className:"t-pagination-select-wrapper",style:O},{children:[i("select",e({value:d,onChange:function(e){return null==f?void 0:f(Number(e.target.value))},className:"t-pagination-select",style:W},{children:N.map(function(t){return i("option",e({value:t},{children:t}),t)})})),i(l,{size:16,className:"t-pagination-chevron",style:q})]}))]}))]}))};export{o as default};
2
+ //# sourceMappingURL=TablePagination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TablePagination.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__rest as n,__spreadArray as l,__assign as e}from"../../../_virtual/_tslib.js";import{jsx as o,jsxs as i}from"react/jsx-runtime";import{useRef as t,useState as r,useEffect as a}from"react";import{DataTable as d}from"primereact/datatable";import{Column as u}from"primereact/column";import{ColumnGroup as c}from"primereact/columngroup";import{Row as s}from"primereact/row";import{Skeleton as v}from"primereact/skeleton";import"primereact/resources/primereact.min.css";import"primeicons/primeicons.css";function p(p){var m,f,g,h=p.rows,y=void 0===h?[]:h,w=p.loading,x=p.loadingMore,_=p.onLoadMore,b=p.hasMore,N=p.emptyState,C=p.columns,k=p.tableProps,S=p.onRowClick,E=p.rowDetail,R=p.tableWrapperStyle,T=p.scrollHeight,j=void 0===T?"flex":T,P=p.paginationMode,z=void 0!==P&&P;p.onPageChange,p.totalRecords,p.currentPage,p.rowsPerPage;var A=p.columnHeaderTextAlign,H=void 0===A?"left":A,M=p.columnCellTextAlign,D=void 0===M?"left":M,F=t(null);t(null);var L="function"==typeof(null==E?void 0:E.render),q=r({}),B=q[0],O=q[1],W=function(n){return!(!(null==n?void 0:n.id)||!B[String(n.id)])},G=function(n){if(null==n?void 0:n.id){var l=String(n.id);O(function(n){var o,i;return(null==E?void 0:E.multiple)?e(e({},n),((o={})[l]=!0,o)):((i={})[l]=!0,i)})}},I=function(n){if(null==n?void 0:n.id){var l=String(n.id);O(function(n){var o=e({},n);return delete o[l],o})}},K=function(n){return W(n)?I(n):G(n)},J=null!=k?k:{},Q=J.onRowClick,U=J.rowClassName,V=J.className,X=void 0===V?"":V,Y=n(J,["onRowClick","rowClassName","className"]),Z="col-header-align-".concat(H||"left"),$="col-cell-align-".concat(D||"left"),nn="audit-table ".concat(Z," ").concat($," ").concat(X).trim(),ln=(z?y:l(l([],y,!0),x?[{id:"__loading-more",__loading:!0}]:[],!0)).map(function(n){return n.__loading||"__loading-more"===n.id?n:e(e({},n),{__toggleRow:function(){return K(n)},__isExpanded:W(n)})}),en=z?null:!x&&_&&!1===b&&(null!==(m=null==C?void 0:C.length)&&void 0!==m?m:0)>0?o(c,{children:o(s,{children:o(u,{colSpan:C.length+((null==E?void 0:E.showExpanderColumn)?1:0),footer:i("span",e({className:"audit-paginationEndContent"},{children:[o("i",{className:"pi pi-check-circle","aria-hidden":"true"}),"No more records to load"]})),footerClassName:"audit-paginationEnd"})})}):void 0;return a(function(){var n;if(!z){var l=null===(n=F.current)||void 0===n?void 0:n.querySelector(".p-datatable-wrapper");if(l){var e=!1,o=function(){e||(e=!0,requestAnimationFrame(function(){var n=l.scrollTop;l.scrollHeight-n-l.clientHeight<100&&b&&!x&&(null==_||_()),e=!1}))};return l.addEventListener("scroll",o),function(){l.removeEventListener("scroll",o)}}}},[y,b,x,_,z]),w&&z||0===y.length&&w?o("div",{children:l([],Array(5),!0).map(function(n,l){return i("div",e({className:"audit-skeletonRow"},{children:[o(v,{height:0===l?"55px":"25px",width:"25%"}),o(v,{height:0===l?"55px":"25px",width:"50%"}),o(v,{height:0===l?"55px":"25px",width:"25%"})]}),l)})}):y&&0!==y.length?o("div",e({className:"audit-tableWrap",ref:F,style:R},{children:i(d,e({value:ln,className:nn,dataKey:"id",scrollable:!0,scrollHeight:j},Y,{rowClassName:function(n,l){var o="function"==typeof U?U(n,l):U,i=(L&&!1!==(null==E?void 0:E.expandOnRowClick)||!!S)&&!(null==n?void 0:n.__loading)?"audit-row--clickable":"";return o&&"object"==typeof o?e(e({},o),{"audit-row--clickable":!!i}):[o,i].filter(Boolean).join(" ")},expandedRows:B,onRowToggle:function(n){return O(n.data)},rowExpansionTemplate:L?function(n){var l;return!L||(null==n?void 0:n.__loading)?null:o("div",e({className:"audit-rowDetail ".concat(null!==(l=null==E?void 0:E.className)&&void 0!==l?l:""),style:null==E?void 0:E.style},{children:E.render(n,{close:function(){return I(n)},expand:function(){return G(n)},collapse:function(){return I(n)},toggle:function(){return K(n)},isExpanded:W(n)})}))}:void 0,onRowClick:function(n){var l,e,o=null==n?void 0:n.data;if(o&&!o.__loading){var i=null===(l=null==n?void 0:n.originalEvent)||void 0===l?void 0:l.target;(null===(e=null==i?void 0:i.closest)||void 0===e?void 0:e.call(i,"button, a, input, .audit-seeMore"))||(null==S||S(o,{isExpanded:W(o),expand:function(){return G(o)},collapse:function(){return I(o)},toggle:function(){return K(o)}}),L&&!1!==(null==E?void 0:E.expandOnRowClick)&&K(o)),null==Q||Q(n)}},footerColumnGroup:en},{children:[L&&(null==E?void 0:E.showExpanderColumn)&&o(u,{body:function(n){var l,i,t,r;if(null==n?void 0:n.__loading)return null;var a=W(n),d=null!==(i=null===(l=null==E?void 0:E.icons)||void 0===l?void 0:l.expand)&&void 0!==i?i:o("i",{className:"pi pi-chevron-right"}),u=null!==(r=null===(t=null==E?void 0:E.icons)||void 0===t?void 0:t.collapse)&&void 0!==r?r:o("i",{className:"pi pi-chevron-down"});return o("button",e({onClick:function(l){l.stopPropagation(),K(n)},style:{background:"transparent",border:"none",cursor:"pointer",color:"#64748b",display:"flex",alignItems:"center",justifyContent:"center",padding:0}},{children:a?u:d}))},style:{width:"3rem",textAlign:"center"},headerStyle:{width:"3rem"}},"__expander"),null==C?void 0:C.map(function(n){return o(u,{header:null==n?void 0:n.header,body:function(l){return(null==l?void 0:l.__loading)?o(v,{height:"25px"}):null==n?void 0:n.body(l)},style:null==n?void 0:n.style,headerStyle:null==n?void 0:n.headerStyle,bodyStyle:null==n?void 0:n.bodyStyle,headerClassName:null==n?void 0:n.headerClassName,bodyClassName:null==n?void 0:n.bodyClassName,frozen:null==n?void 0:n.frozen,alignFrozen:null==n?void 0:n.alignFrozen,sortable:null==n?void 0:n.sortable,field:null==n?void 0:n.field},null==n?void 0:n.key)})]}))})):i("div",e({className:"audit-emptyState"},{children:[(null==N?void 0:N.icon)?N.icon:o("i",{className:"pi pi-file",style:{fontSize:"63px",marginBottom:"8px"}}),o("div",e({className:"audit-emptyTitle"},{children:null!==(f=null==N?void 0:N.title)&&void 0!==f?f:"No Data found"})),o("div",e({className:"audit-emptyDesc"},{children:null!==(g=null==N?void 0:N.description)&&void 0!==g?g:"Try adjusting your filters or search criteria."}))]}))}export{p as default};
2
+ //# sourceMappingURL=RecordFTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordFTable.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"../../../_virtual/_tslib.js";import{jsxs as t,jsx as n}from"react/jsx-runtime";import{useState as r,useRef as o,useEffect as i}from"react";import{ArrowUp as a,ArrowDown as l,ChevronDown as s,Check as c}from"lucide-react";function u(u){var d,v,f=u.value,m=u.orderBy,p=void 0===m?"asc":m,h=u.options,_=u.placeholder,g=void 0===_?"Sort By":_,y=u.onChange,b=r(!1),x=b[0],q=b[1],N=o(null);i(function(){var e=function(e){N.current&&!N.current.contains(e.target)&&q(!1)};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}},[]);var k=h.some(function(e){return e.value===f}),C=null!==(v=null===(d=h.find(function(e){return e.value===f}))||void 0===d?void 0:d.label)&&void 0!==v?v:g;return t("div",e({className:"q-sort",ref:N},{children:[t("button",e({className:"q-sort__trigger",onClick:function(){return q(function(e){return!e})}},{children:[t("div",e({className:"q-sort__left"},{children:[n("div",e({onClick:function(e){k&&(e.preventDefault(),e.stopPropagation(),y(f,"asc"===p?"desc":"asc"))},className:"q-sort__order-toggle",style:{display:"flex",alignItems:"center",justifyContent:"center",cursor:k?"pointer":"default",color:k?"#6366f1":"#94A3B8",background:k?"rgba(245, 243, 255, 0.90)":"transparent",padding:"4px",borderRadius:"6px",transition:"all 0.2s ease"}},{children:n("asc"===p?a:l,{size:16,strokeWidth:2.5})})),t("span",{children:["Sort by:"," ",C]})]})),n("div",e({style:{width:"35px"}},{children:n(s,{size:22})}))]})),x&&n("div",e({className:"q-sort__menu"},{children:h.map(function(r){return t("button",e({className:"q-sort__option ".concat(f===r.value?"q-sort__option--active":""),onClick:function(){f===r.value?y("","asc"):y(r.value,"asc"),q(!1)},style:{display:"flex",alignItems:"center",gap:"8px"}},{children:[f===r.value?n(c,{size:14}):n("div",{style:{width:14}}),n("span",{children:r.label})]}),r.value)})}))]}))}export{u as default};
2
+ //# sourceMappingURL=RecordSortDropdown.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordSortDropdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}