@bfrs/agentic-components 0.7.5 → 0.7.6

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 (499) hide show
  1. package/dist/assets/loader/loader-brand-watermark.svg.js +5 -0
  2. package/dist/assets/loader/loader-brand-watermark.svg.js.map +1 -0
  3. package/dist/assets/loader/loader-grid-horizontal.svg.js +5 -0
  4. package/dist/assets/loader/loader-grid-horizontal.svg.js.map +1 -0
  5. package/dist/assets/loader/loader-grid-vertical.svg.js +5 -0
  6. package/dist/assets/loader/loader-grid-vertical.svg.js.map +1 -0
  7. package/dist/components/data-display/DataTable/DataTable.js +686 -0
  8. package/dist/components/data-display/DataTable/DataTable.js.map +1 -0
  9. package/dist/components/data-display/DataTable/TableBulkActions.js +46 -0
  10. package/dist/components/data-display/DataTable/TableBulkActions.js.map +1 -0
  11. package/dist/components/data-display/DataTable/TableColumnVisibility.js +252 -0
  12. package/dist/components/data-display/DataTable/TableColumnVisibility.js.map +1 -0
  13. package/dist/components/data-display/DataTable/TableEmptyState.js +9 -0
  14. package/dist/components/data-display/DataTable/TableEmptyState.js.map +1 -0
  15. package/dist/components/data-display/DataTable/TableErrorState.js +9 -0
  16. package/dist/components/data-display/DataTable/TableErrorState.js.map +1 -0
  17. package/dist/components/data-display/DataTable/TablePagination.js +195 -0
  18. package/dist/components/data-display/DataTable/TablePagination.js.map +1 -0
  19. package/dist/components/data-display/DataTable/TableRowActions.js +17 -0
  20. package/dist/components/data-display/DataTable/TableRowActions.js.map +1 -0
  21. package/dist/components/data-display/DataTable/TableSaveView.js +410 -0
  22. package/dist/components/data-display/DataTable/TableSaveView.js.map +1 -0
  23. package/dist/components/data-display/DataTable/TableSkeleton.js +62 -0
  24. package/dist/components/data-display/DataTable/TableSkeleton.js.map +1 -0
  25. package/dist/components/data-display/DataTable/TableToolbar.js +81 -0
  26. package/dist/components/data-display/DataTable/TableToolbar.js.map +1 -0
  27. package/dist/components/data-display/DataTable/TableViewSelector.js +661 -0
  28. package/dist/components/data-display/DataTable/TableViewSelector.js.map +1 -0
  29. package/dist/components/data-display/DataTable/saveViewApi.js +202 -0
  30. package/dist/components/data-display/DataTable/saveViewApi.js.map +1 -0
  31. package/dist/components/data-display/DataTable/useSavedViews.js +65 -0
  32. package/dist/components/data-display/DataTable/useSavedViews.js.map +1 -0
  33. package/dist/components/data-display/DataTable/viewStore.js +278 -0
  34. package/dist/components/data-display/DataTable/viewStore.js.map +1 -0
  35. package/dist/components/data-display/MetricCard/MetricCard.js +176 -0
  36. package/dist/components/data-display/MetricCard/MetricCard.js.map +1 -0
  37. package/dist/components/data-display/Table/Table.js +158 -0
  38. package/dist/components/data-display/Table/Table.js.map +1 -0
  39. package/dist/components/feedback/EmptyState/EmptyState.js +118 -0
  40. package/dist/components/feedback/EmptyState/EmptyState.js.map +1 -0
  41. package/dist/components/feedback/ErrorState/ErrorState.js +111 -0
  42. package/dist/components/feedback/ErrorState/ErrorState.js.map +1 -0
  43. package/dist/components/feedback/LoadingState/LoadingState.js +78 -0
  44. package/dist/components/feedback/LoadingState/LoadingState.js.map +1 -0
  45. package/dist/components/feedback/Toast/Toast.context.js +13 -0
  46. package/dist/components/feedback/Toast/Toast.context.js.map +1 -0
  47. package/dist/components/feedback/Toast/Toast.js +246 -0
  48. package/dist/components/feedback/Toast/Toast.js.map +1 -0
  49. package/dist/components/filters/DateRangePicker/DateRangePicker.js +1109 -0
  50. package/dist/components/filters/DateRangePicker/DateRangePicker.js.map +1 -0
  51. package/dist/components/filters/DateRangePicker/DateRangePicker.utils.js +111 -0
  52. package/dist/components/filters/DateRangePicker/DateRangePicker.utils.js.map +1 -0
  53. package/dist/components/filters/FilterBar/FilterBar.js +134 -0
  54. package/dist/components/filters/FilterBar/FilterBar.js.map +1 -0
  55. package/dist/components/filters/FilterDrawer/FilterDrawer.js +64 -0
  56. package/dist/components/filters/FilterDrawer/FilterDrawer.js.map +1 -0
  57. package/dist/components/layout/FormSection/FormSection.js +107 -0
  58. package/dist/components/layout/FormSection/FormSection.js.map +1 -0
  59. package/dist/components/layout/ListPageLayout/ListPageLayout.js +163 -0
  60. package/dist/components/layout/ListPageLayout/ListPageLayout.js.map +1 -0
  61. package/dist/components/layout/PageHeader/PageHeader.js +107 -0
  62. package/dist/components/layout/PageHeader/PageHeader.js.map +1 -0
  63. package/dist/components/layout/SectionHeader/SectionHeader.js +67 -0
  64. package/dist/components/layout/SectionHeader/SectionHeader.js.map +1 -0
  65. package/dist/components/navigation/ActionMenu/ActionMenu.js +141 -0
  66. package/dist/components/navigation/ActionMenu/ActionMenu.js.map +1 -0
  67. package/dist/components/navigation/Tabs/Tabs.js +166 -0
  68. package/dist/components/navigation/Tabs/Tabs.js.map +1 -0
  69. package/dist/components/overlays/ConfirmDialog/ConfirmDialog.js +67 -0
  70. package/dist/components/overlays/ConfirmDialog/ConfirmDialog.js.map +1 -0
  71. package/dist/components/overlays/Drawer/Drawer.js +188 -0
  72. package/dist/components/overlays/Drawer/Drawer.js.map +1 -0
  73. package/dist/components/overlays/Modal/Modal.js +184 -0
  74. package/dist/components/overlays/Modal/Modal.js.map +1 -0
  75. package/dist/components/primitives/Badge/Badge.js +82 -0
  76. package/dist/components/primitives/Badge/Badge.js.map +1 -0
  77. package/dist/components/primitives/Button/Button.js +321 -0
  78. package/dist/components/primitives/Button/Button.js.map +1 -0
  79. package/dist/components/primitives/Button/ButtonGroup.js +33 -0
  80. package/dist/components/primitives/Button/ButtonGroup.js.map +1 -0
  81. package/dist/components/primitives/Card/Card.js +153 -0
  82. package/dist/components/primitives/Card/Card.js.map +1 -0
  83. package/dist/components/primitives/Chip/Chip.js +199 -0
  84. package/dist/components/primitives/Chip/Chip.js.map +1 -0
  85. package/dist/components/primitives/Input/Input.js +415 -0
  86. package/dist/components/primitives/Input/Input.js.map +1 -0
  87. package/dist/components/ui/data-display/Avatar/Avatar.js +73 -0
  88. package/dist/components/ui/data-display/Avatar/Avatar.js.map +1 -0
  89. package/dist/components/ui/data-display/KpiCard/KpiCard.js +73 -0
  90. package/dist/components/ui/data-display/KpiCard/KpiCard.js.map +1 -0
  91. package/dist/components/ui/feedback/Alert/Alert.js +113 -0
  92. package/dist/components/ui/feedback/Alert/Alert.js.map +1 -0
  93. package/dist/components/ui/feedback/InfoCard/InfoCard.js +86 -0
  94. package/dist/components/ui/feedback/InfoCard/InfoCard.js.map +1 -0
  95. package/dist/components/ui/feedback/ProgressBar/ProgressBar.js +148 -0
  96. package/dist/components/ui/feedback/ProgressBar/ProgressBar.js.map +1 -0
  97. package/dist/components/ui/feedback/Skeleton/Skeleton.js +55 -0
  98. package/dist/components/ui/feedback/Skeleton/Skeleton.js.map +1 -0
  99. package/dist/components/ui/feedback/Spinner/Spinner.js +29 -0
  100. package/dist/components/ui/feedback/Spinner/Spinner.js.map +1 -0
  101. package/dist/components/ui/feedback/Tip/Tip.js +48 -0
  102. package/dist/components/ui/feedback/Tip/Tip.js.map +1 -0
  103. package/dist/components/ui/feedback/warningVisual.js +36 -0
  104. package/dist/components/ui/feedback/warningVisual.js.map +1 -0
  105. package/dist/components/ui/forms/Checkbox/Checkbox.js +137 -0
  106. package/dist/components/ui/forms/Checkbox/Checkbox.js.map +1 -0
  107. package/dist/components/ui/forms/ColorPicker/ColorPicker.js +222 -0
  108. package/dist/components/ui/forms/ColorPicker/ColorPicker.js.map +1 -0
  109. package/dist/components/ui/forms/ColorSwatchGroup/ColorSwatchGroup.js +168 -0
  110. package/dist/components/ui/forms/ColorSwatchGroup/ColorSwatchGroup.js.map +1 -0
  111. package/dist/components/ui/forms/FileDropzone/FileDropzone.js +354 -0
  112. package/dist/components/ui/forms/FileDropzone/FileDropzone.js.map +1 -0
  113. package/dist/components/ui/forms/FormField/FormField.js +55 -0
  114. package/dist/components/ui/forms/FormField/FormField.js.map +1 -0
  115. package/dist/components/ui/forms/Label/Label.js +34 -0
  116. package/dist/components/ui/forms/Label/Label.js.map +1 -0
  117. package/dist/components/ui/forms/MultiSelect/MultiSelect.js +546 -0
  118. package/dist/components/ui/forms/MultiSelect/MultiSelect.js.map +1 -0
  119. package/dist/components/ui/forms/NumberStepper/NumberStepper.js +146 -0
  120. package/dist/components/ui/forms/NumberStepper/NumberStepper.js.map +1 -0
  121. package/dist/components/ui/forms/OptionCardGroup/OptionCardGroup.js +179 -0
  122. package/dist/components/ui/forms/OptionCardGroup/OptionCardGroup.js.map +1 -0
  123. package/dist/components/ui/forms/Radio/Radio.js +137 -0
  124. package/dist/components/ui/forms/Radio/Radio.js.map +1 -0
  125. package/dist/components/ui/forms/RevealField/RevealField.js +67 -0
  126. package/dist/components/ui/forms/RevealField/RevealField.js.map +1 -0
  127. package/dist/components/ui/forms/SearchableSelect/SearchableSelect.js +394 -0
  128. package/dist/components/ui/forms/SearchableSelect/SearchableSelect.js.map +1 -0
  129. package/dist/components/ui/forms/Select/Select.js +296 -0
  130. package/dist/components/ui/forms/Select/Select.js.map +1 -0
  131. package/dist/components/ui/forms/SelectableChipGroup/SelectableChipGroup.js +125 -0
  132. package/dist/components/ui/forms/SelectableChipGroup/SelectableChipGroup.js.map +1 -0
  133. package/dist/components/ui/forms/Slider/Slider.js +172 -0
  134. package/dist/components/ui/forms/Slider/Slider.js.map +1 -0
  135. package/dist/components/ui/forms/SuggestInput/SuggestInput.js +266 -0
  136. package/dist/components/ui/forms/SuggestInput/SuggestInput.js.map +1 -0
  137. package/dist/components/ui/forms/Switch/Switch.js +83 -0
  138. package/dist/components/ui/forms/Switch/Switch.js.map +1 -0
  139. package/dist/components/ui/forms/TagInput/TagInput.js +253 -0
  140. package/dist/components/ui/forms/TagInput/TagInput.js.map +1 -0
  141. package/dist/components/ui/forms/Textarea/Textarea.js +113 -0
  142. package/dist/components/ui/forms/Textarea/Textarea.js.map +1 -0
  143. package/dist/components/ui/navigation/Breadcrumbs/Breadcrumbs.js +58 -0
  144. package/dist/components/ui/navigation/Breadcrumbs/Breadcrumbs.js.map +1 -0
  145. package/dist/components/ui/overlays/Dropdown/Dropdown.js +130 -0
  146. package/dist/components/ui/overlays/Dropdown/Dropdown.js.map +1 -0
  147. package/dist/components/ui/overlays/Popover/Popover.js +46 -0
  148. package/dist/components/ui/overlays/Popover/Popover.js.map +1 -0
  149. package/dist/components/ui/overlays/Tooltip/Tooltip.js +73 -0
  150. package/dist/components/ui/overlays/Tooltip/Tooltip.js.map +1 -0
  151. package/dist/components/ui/overlays/overlayPositioning.js +5 -0
  152. package/dist/components/ui/overlays/overlayPositioning.js.map +1 -0
  153. package/dist/components/ui/patterns/Accordion/Accordion.js +132 -0
  154. package/dist/components/ui/patterns/Accordion/Accordion.js.map +1 -0
  155. package/dist/components/ui/patterns/BusinessInfoDisplayCard/BusinessInfoDisplayCard.js +384 -0
  156. package/dist/components/ui/patterns/BusinessInfoDisplayCard/BusinessInfoDisplayCard.js.map +1 -0
  157. package/dist/components/ui/patterns/BusinessInfoDisplayCard/BusinessInfoDisplayCardSkeleton.js +152 -0
  158. package/dist/components/ui/patterns/BusinessInfoDisplayCard/BusinessInfoDisplayCardSkeleton.js.map +1 -0
  159. package/dist/components/ui/patterns/ChatBubble/ChatBubble.js +133 -0
  160. package/dist/components/ui/patterns/ChatBubble/ChatBubble.js.map +1 -0
  161. package/dist/components/ui/patterns/ChatComposer/ChatComposer.js +205 -0
  162. package/dist/components/ui/patterns/ChatComposer/ChatComposer.js.map +1 -0
  163. package/dist/components/ui/patterns/Collapsible/Collapsible.js +95 -0
  164. package/dist/components/ui/patterns/Collapsible/Collapsible.js.map +1 -0
  165. package/dist/components/ui/patterns/CommandMenu/CommandMenu.js +155 -0
  166. package/dist/components/ui/patterns/CommandMenu/CommandMenu.js.map +1 -0
  167. package/dist/components/ui/patterns/EntityDisplayCard/EntityDisplayCard.js +120 -0
  168. package/dist/components/ui/patterns/EntityDisplayCard/EntityDisplayCard.js.map +1 -0
  169. package/dist/components/ui/patterns/FullPageLoader/FullPageLoader.js +151 -0
  170. package/dist/components/ui/patterns/FullPageLoader/FullPageLoader.js.map +1 -0
  171. package/dist/components/ui/patterns/FullPageLoader/FullPageLoaderSpinner.js +49 -0
  172. package/dist/components/ui/patterns/FullPageLoader/FullPageLoaderSpinner.js.map +1 -0
  173. package/dist/components/ui/patterns/HorizontalStepper/HorizontalStepper.js +619 -0
  174. package/dist/components/ui/patterns/HorizontalStepper/HorizontalStepper.js.map +1 -0
  175. package/dist/components/ui/patterns/LayoutShell/LayoutShell.js +67 -0
  176. package/dist/components/ui/patterns/LayoutShell/LayoutShell.js.map +1 -0
  177. package/dist/components/ui/patterns/RevealAndCopy/RevealAndCopy.js +190 -0
  178. package/dist/components/ui/patterns/RevealAndCopy/RevealAndCopy.js.map +1 -0
  179. package/dist/components/ui/patterns/SideNav/SideNav.js +311 -0
  180. package/dist/components/ui/patterns/SideNav/SideNav.js.map +1 -0
  181. package/dist/components/ui/patterns/StepProgressCard/StepProgressCard.js +271 -0
  182. package/dist/components/ui/patterns/StepProgressCard/StepProgressCard.js.map +1 -0
  183. package/dist/components/ui/patterns/StepProgressCard/StepProgressCardSkeleton.js +100 -0
  184. package/dist/components/ui/patterns/StepProgressCard/StepProgressCardSkeleton.js.map +1 -0
  185. package/dist/components/ui/patterns/SummaryBar/SummaryBar.js +89 -0
  186. package/dist/components/ui/patterns/SummaryBar/SummaryBar.js.map +1 -0
  187. package/dist/components/ui/patterns/WorkspaceHeader/WorkspaceHeader.js +153 -0
  188. package/dist/components/ui/patterns/WorkspaceHeader/WorkspaceHeader.js.map +1 -0
  189. package/dist/components/ui/primitives/Box/Box.js +12 -0
  190. package/dist/components/ui/primitives/Box/Box.js.map +1 -0
  191. package/dist/components/ui/primitives/Container/Container.js +27 -0
  192. package/dist/components/ui/primitives/Container/Container.js.map +1 -0
  193. package/dist/components/ui/primitives/Grid/Grid.js +55 -0
  194. package/dist/components/ui/primitives/Grid/Grid.js.map +1 -0
  195. package/dist/components/ui/primitives/Icon/Icon.js +22 -0
  196. package/dist/components/ui/primitives/Icon/Icon.js.map +1 -0
  197. package/dist/components/ui/primitives/Paper/Paper.js +109 -0
  198. package/dist/components/ui/primitives/Paper/Paper.js.map +1 -0
  199. package/dist/components/ui/primitives/Stack/Stack.js +39 -0
  200. package/dist/components/ui/primitives/Stack/Stack.js.map +1 -0
  201. package/dist/components/ui/primitives/Text/Text.js +101 -0
  202. package/dist/components/ui/primitives/Text/Text.js.map +1 -0
  203. package/dist/components/ui/providers/BfrsProvider/BfrsProvider.js +73 -0
  204. package/dist/components/ui/providers/BfrsProvider/BfrsProvider.js.map +1 -0
  205. package/dist/custom-elements.js +633 -634
  206. package/dist/custom-elements.js.map +1 -1
  207. package/dist/index.js +266 -25478
  208. package/dist/index.js.map +1 -1
  209. package/dist/lib/cn.js +24 -0
  210. package/dist/lib/cn.js.map +1 -0
  211. package/dist/lib/documentStyles.js +14 -0
  212. package/dist/lib/documentStyles.js.map +1 -0
  213. package/dist/lib/emotionTw.js +69 -0
  214. package/dist/lib/emotionTw.js.map +1 -0
  215. package/dist/lib/utils.js +10 -0
  216. package/dist/lib/utils.js.map +1 -0
  217. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +533 -0
  218. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  219. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +404 -0
  220. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  221. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +233 -0
  222. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  223. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +137 -0
  224. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -0
  225. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +129 -0
  226. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  227. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCounterClockwise.es.js +11 -0
  228. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowCounterClockwise.es.js.map +1 -0
  229. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowDown.es.js +11 -0
  230. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowDown.es.js.map +1 -0
  231. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowLeft.es.js +11 -0
  232. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowLeft.es.js.map +1 -0
  233. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowUp.es.js +11 -0
  234. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowUp.es.js.map +1 -0
  235. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsDownUp.es.js +11 -0
  236. package/dist/node_modules/@phosphor-icons/react/dist/csr/ArrowsDownUp.es.js.map +1 -0
  237. package/dist/node_modules/@phosphor-icons/react/dist/csr/BookmarkSimple.es.js +11 -0
  238. package/dist/node_modules/@phosphor-icons/react/dist/csr/BookmarkSimple.es.js.map +1 -0
  239. package/dist/node_modules/@phosphor-icons/react/dist/csr/CalendarBlank.es.js +11 -0
  240. package/dist/node_modules/@phosphor-icons/react/dist/csr/CalendarBlank.es.js.map +1 -0
  241. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretDown.es.js +11 -0
  242. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretDown.es.js.map +1 -0
  243. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretLeft.es.js +11 -0
  244. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretLeft.es.js.map +1 -0
  245. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretRight.es.js +11 -0
  246. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretRight.es.js.map +1 -0
  247. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretUp.es.js +11 -0
  248. package/dist/node_modules/@phosphor-icons/react/dist/csr/CaretUp.es.js.map +1 -0
  249. package/dist/node_modules/@phosphor-icons/react/dist/csr/Check.es.js +11 -0
  250. package/dist/node_modules/@phosphor-icons/react/dist/csr/Check.es.js.map +1 -0
  251. package/dist/node_modules/@phosphor-icons/react/dist/csr/CheckCircle.es.js +11 -0
  252. package/dist/node_modules/@phosphor-icons/react/dist/csr/CheckCircle.es.js.map +1 -0
  253. package/dist/node_modules/@phosphor-icons/react/dist/csr/Copy.es.js +11 -0
  254. package/dist/node_modules/@phosphor-icons/react/dist/csr/Copy.es.js.map +1 -0
  255. package/dist/node_modules/@phosphor-icons/react/dist/csr/Cube.es.js +11 -0
  256. package/dist/node_modules/@phosphor-icons/react/dist/csr/Cube.es.js.map +1 -0
  257. package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsThreeVertical.es.js +11 -0
  258. package/dist/node_modules/@phosphor-icons/react/dist/csr/DotsThreeVertical.es.js.map +1 -0
  259. package/dist/node_modules/@phosphor-icons/react/dist/csr/File.es.js +11 -0
  260. package/dist/node_modules/@phosphor-icons/react/dist/csr/File.es.js.map +1 -0
  261. package/dist/node_modules/@phosphor-icons/react/dist/csr/Funnel.es.js +11 -0
  262. package/dist/node_modules/@phosphor-icons/react/dist/csr/Funnel.es.js.map +1 -0
  263. package/dist/node_modules/@phosphor-icons/react/dist/csr/Info.es.js +11 -0
  264. package/dist/node_modules/@phosphor-icons/react/dist/csr/Info.es.js.map +1 -0
  265. package/dist/node_modules/@phosphor-icons/react/dist/csr/MagnifyingGlass.es.js +11 -0
  266. package/dist/node_modules/@phosphor-icons/react/dist/csr/MagnifyingGlass.es.js.map +1 -0
  267. package/dist/node_modules/@phosphor-icons/react/dist/csr/Minus.es.js +11 -0
  268. package/dist/node_modules/@phosphor-icons/react/dist/csr/Minus.es.js.map +1 -0
  269. package/dist/node_modules/@phosphor-icons/react/dist/csr/PencilSimple.es.js +11 -0
  270. package/dist/node_modules/@phosphor-icons/react/dist/csr/PencilSimple.es.js.map +1 -0
  271. package/dist/node_modules/@phosphor-icons/react/dist/csr/Plus.es.js +11 -0
  272. package/dist/node_modules/@phosphor-icons/react/dist/csr/Plus.es.js.map +1 -0
  273. package/dist/node_modules/@phosphor-icons/react/dist/csr/Question.es.js +11 -0
  274. package/dist/node_modules/@phosphor-icons/react/dist/csr/Question.es.js.map +1 -0
  275. package/dist/node_modules/@phosphor-icons/react/dist/csr/SquareSplitHorizontal.es.js +11 -0
  276. package/dist/node_modules/@phosphor-icons/react/dist/csr/SquareSplitHorizontal.es.js.map +1 -0
  277. package/dist/node_modules/@phosphor-icons/react/dist/csr/Star.es.js +11 -0
  278. package/dist/node_modules/@phosphor-icons/react/dist/csr/Star.es.js.map +1 -0
  279. package/dist/node_modules/@phosphor-icons/react/dist/csr/StarFour.es.js +11 -0
  280. package/dist/node_modules/@phosphor-icons/react/dist/csr/StarFour.es.js.map +1 -0
  281. package/dist/node_modules/@phosphor-icons/react/dist/csr/Storefront.es.js +11 -0
  282. package/dist/node_modules/@phosphor-icons/react/dist/csr/Storefront.es.js.map +1 -0
  283. package/dist/node_modules/@phosphor-icons/react/dist/csr/Trash.es.js +11 -0
  284. package/dist/node_modules/@phosphor-icons/react/dist/csr/Trash.es.js.map +1 -0
  285. package/dist/node_modules/@phosphor-icons/react/dist/csr/Tray.es.js +11 -0
  286. package/dist/node_modules/@phosphor-icons/react/dist/csr/Tray.es.js.map +1 -0
  287. package/dist/node_modules/@phosphor-icons/react/dist/csr/UploadSimple.es.js +11 -0
  288. package/dist/node_modules/@phosphor-icons/react/dist/csr/UploadSimple.es.js.map +1 -0
  289. package/dist/node_modules/@phosphor-icons/react/dist/csr/WarningCircle.es.js +11 -0
  290. package/dist/node_modules/@phosphor-icons/react/dist/csr/WarningCircle.es.js.map +1 -0
  291. package/dist/node_modules/@phosphor-icons/react/dist/csr/X.es.js +11 -0
  292. package/dist/node_modules/@phosphor-icons/react/dist/csr/X.es.js.map +1 -0
  293. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCounterClockwise.es.js +31 -0
  294. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowCounterClockwise.es.js.map +1 -0
  295. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowDown.es.js +31 -0
  296. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowDown.es.js.map +1 -0
  297. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowLeft.es.js +31 -0
  298. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowLeft.es.js.map +1 -0
  299. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowUp.es.js +31 -0
  300. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowUp.es.js.map +1 -0
  301. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsDownUp.es.js +31 -0
  302. package/dist/node_modules/@phosphor-icons/react/dist/defs/ArrowsDownUp.es.js.map +1 -0
  303. package/dist/node_modules/@phosphor-icons/react/dist/defs/BookmarkSimple.es.js +37 -0
  304. package/dist/node_modules/@phosphor-icons/react/dist/defs/BookmarkSimple.es.js.map +1 -0
  305. package/dist/node_modules/@phosphor-icons/react/dist/defs/CalendarBlank.es.js +37 -0
  306. package/dist/node_modules/@phosphor-icons/react/dist/defs/CalendarBlank.es.js.map +1 -0
  307. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretDown.es.js +31 -0
  308. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretDown.es.js.map +1 -0
  309. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretLeft.es.js +31 -0
  310. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretLeft.es.js.map +1 -0
  311. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretRight.es.js +31 -0
  312. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretRight.es.js.map +1 -0
  313. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretUp.es.js +31 -0
  314. package/dist/node_modules/@phosphor-icons/react/dist/defs/CaretUp.es.js.map +1 -0
  315. package/dist/node_modules/@phosphor-icons/react/dist/defs/Check.es.js +37 -0
  316. package/dist/node_modules/@phosphor-icons/react/dist/defs/Check.es.js.map +1 -0
  317. package/dist/node_modules/@phosphor-icons/react/dist/defs/CheckCircle.es.js +31 -0
  318. package/dist/node_modules/@phosphor-icons/react/dist/defs/CheckCircle.es.js.map +1 -0
  319. package/dist/node_modules/@phosphor-icons/react/dist/defs/Copy.es.js +31 -0
  320. package/dist/node_modules/@phosphor-icons/react/dist/defs/Copy.es.js.map +1 -0
  321. package/dist/node_modules/@phosphor-icons/react/dist/defs/Cube.es.js +37 -0
  322. package/dist/node_modules/@phosphor-icons/react/dist/defs/Cube.es.js.map +1 -0
  323. package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsThreeVertical.es.js +37 -0
  324. package/dist/node_modules/@phosphor-icons/react/dist/defs/DotsThreeVertical.es.js.map +1 -0
  325. package/dist/node_modules/@phosphor-icons/react/dist/defs/File.es.js +31 -0
  326. package/dist/node_modules/@phosphor-icons/react/dist/defs/File.es.js.map +1 -0
  327. package/dist/node_modules/@phosphor-icons/react/dist/defs/Funnel.es.js +37 -0
  328. package/dist/node_modules/@phosphor-icons/react/dist/defs/Funnel.es.js.map +1 -0
  329. package/dist/node_modules/@phosphor-icons/react/dist/defs/Info.es.js +31 -0
  330. package/dist/node_modules/@phosphor-icons/react/dist/defs/Info.es.js.map +1 -0
  331. package/dist/node_modules/@phosphor-icons/react/dist/defs/MagnifyingGlass.es.js +31 -0
  332. package/dist/node_modules/@phosphor-icons/react/dist/defs/MagnifyingGlass.es.js.map +1 -0
  333. package/dist/node_modules/@phosphor-icons/react/dist/defs/Minus.es.js +37 -0
  334. package/dist/node_modules/@phosphor-icons/react/dist/defs/Minus.es.js.map +1 -0
  335. package/dist/node_modules/@phosphor-icons/react/dist/defs/PencilSimple.es.js +37 -0
  336. package/dist/node_modules/@phosphor-icons/react/dist/defs/PencilSimple.es.js.map +1 -0
  337. package/dist/node_modules/@phosphor-icons/react/dist/defs/Plus.es.js +37 -0
  338. package/dist/node_modules/@phosphor-icons/react/dist/defs/Plus.es.js.map +1 -0
  339. package/dist/node_modules/@phosphor-icons/react/dist/defs/Question.es.js +31 -0
  340. package/dist/node_modules/@phosphor-icons/react/dist/defs/Question.es.js.map +1 -0
  341. package/dist/node_modules/@phosphor-icons/react/dist/defs/SquareSplitHorizontal.es.js +37 -0
  342. package/dist/node_modules/@phosphor-icons/react/dist/defs/SquareSplitHorizontal.es.js.map +1 -0
  343. package/dist/node_modules/@phosphor-icons/react/dist/defs/Star.es.js +37 -0
  344. package/dist/node_modules/@phosphor-icons/react/dist/defs/Star.es.js.map +1 -0
  345. package/dist/node_modules/@phosphor-icons/react/dist/defs/StarFour.es.js +37 -0
  346. package/dist/node_modules/@phosphor-icons/react/dist/defs/StarFour.es.js.map +1 -0
  347. package/dist/node_modules/@phosphor-icons/react/dist/defs/Storefront.es.js +37 -0
  348. package/dist/node_modules/@phosphor-icons/react/dist/defs/Storefront.es.js.map +1 -0
  349. package/dist/node_modules/@phosphor-icons/react/dist/defs/Trash.es.js +31 -0
  350. package/dist/node_modules/@phosphor-icons/react/dist/defs/Trash.es.js.map +1 -0
  351. package/dist/node_modules/@phosphor-icons/react/dist/defs/Tray.es.js +37 -0
  352. package/dist/node_modules/@phosphor-icons/react/dist/defs/Tray.es.js.map +1 -0
  353. package/dist/node_modules/@phosphor-icons/react/dist/defs/UploadSimple.es.js +37 -0
  354. package/dist/node_modules/@phosphor-icons/react/dist/defs/UploadSimple.es.js.map +1 -0
  355. package/dist/node_modules/@phosphor-icons/react/dist/defs/WarningCircle.es.js +31 -0
  356. package/dist/node_modules/@phosphor-icons/react/dist/defs/WarningCircle.es.js.map +1 -0
  357. package/dist/node_modules/@phosphor-icons/react/dist/defs/X.es.js +37 -0
  358. package/dist/node_modules/@phosphor-icons/react/dist/defs/X.es.js.map +1 -0
  359. package/dist/node_modules/@phosphor-icons/react/dist/lib/IconBase.es.js +44 -0
  360. package/dist/node_modules/@phosphor-icons/react/dist/lib/IconBase.es.js.map +1 -0
  361. package/dist/node_modules/@phosphor-icons/react/dist/lib/context.es.js +11 -0
  362. package/dist/node_modules/@phosphor-icons/react/dist/lib/context.es.js.map +1 -0
  363. package/dist/node_modules/@radix-ui/number/dist/index.js +7 -0
  364. package/dist/node_modules/@radix-ui/number/dist/index.js.map +1 -0
  365. package/dist/node_modules/@radix-ui/primitive/dist/index.js +10 -0
  366. package/dist/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  367. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +25 -0
  368. package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  369. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js +252 -0
  370. package/dist/node_modules/@radix-ui/react-checkbox/dist/index.js.map +1 -0
  371. package/dist/node_modules/@radix-ui/react-collection/dist/index.js +49 -0
  372. package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  373. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js +30 -0
  374. package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  375. package/dist/node_modules/@radix-ui/react-context/dist/index.js +71 -0
  376. package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  377. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +262 -0
  378. package/dist/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  379. package/dist/node_modules/@radix-ui/react-direction/dist/index.js +11 -0
  380. package/dist/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  381. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +128 -0
  382. package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  383. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +212 -0
  384. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  385. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js +18 -0
  386. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  387. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +138 -0
  388. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  389. package/dist/node_modules/@radix-ui/react-id/dist/index.js +14 -0
  390. package/dist/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  391. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +625 -0
  392. package/dist/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  393. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +245 -0
  394. package/dist/node_modules/@radix-ui/react-popover/dist/index.js.map +1 -0
  395. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +222 -0
  396. package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  397. package/dist/node_modules/@radix-ui/react-portal/dist/index.js +17 -0
  398. package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  399. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +72 -0
  400. package/dist/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  401. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +37 -0
  402. package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  403. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js +239 -0
  404. package/dist/node_modules/@radix-ui/react-radio-group/dist/index.js.map +1 -0
  405. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +184 -0
  406. package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
  407. package/dist/node_modules/@radix-ui/react-select/dist/index.js +860 -0
  408. package/dist/node_modules/@radix-ui/react-select/dist/index.js.map +1 -0
  409. package/dist/node_modules/@radix-ui/react-slot/dist/index.js +57 -0
  410. package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  411. package/dist/node_modules/@radix-ui/react-switch/dist/index.js +133 -0
  412. package/dist/node_modules/@radix-ui/react-switch/dist/index.js.map +1 -0
  413. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +164 -0
  414. package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -0
  415. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js +340 -0
  416. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
  417. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +14 -0
  418. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  419. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +55 -0
  420. package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  421. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +15 -0
  422. package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  423. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +7 -0
  424. package/dist/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  425. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js +9 -0
  426. package/dist/node_modules/@radix-ui/react-use-previous/dist/index.js.map +1 -0
  427. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js +28 -0
  428. package/dist/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  429. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +33 -0
  430. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  431. package/dist/node_modules/aria-hidden/dist/es2015/index.js +53 -0
  432. package/dist/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  433. package/dist/node_modules/clsx/dist/clsx.js +17 -0
  434. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  435. package/dist/node_modules/get-nonce/dist/es2015/index.js +8 -0
  436. package/dist/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  437. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js +12 -0
  438. package/dist/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  439. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +116 -0
  440. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  441. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +32 -0
  442. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  443. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +17 -0
  444. package/dist/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  445. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +69 -0
  446. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  447. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  448. package/dist/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  449. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  450. package/dist/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  451. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js +72 -0
  452. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  453. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +8 -0
  454. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  455. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +26 -0
  456. package/dist/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  457. package/dist/node_modules/react-style-singleton/dist/es2015/component.js +12 -0
  458. package/dist/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  459. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js +16 -0
  460. package/dist/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  461. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js +31 -0
  462. package/dist/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  463. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +3016 -0
  464. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  465. package/dist/node_modules/tslib/tslib.es6.js +28 -0
  466. package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
  467. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js +7 -0
  468. package/dist/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  469. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +27 -0
  470. package/dist/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  471. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js +26 -0
  472. package/dist/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  473. package/dist/node_modules/use-sidecar/dist/es2015/exports.js +19 -0
  474. package/dist/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  475. package/dist/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
  476. package/dist/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  477. package/dist/styles/globals.css2.js +5 -0
  478. package/dist/styles/globals.css2.js.map +1 -0
  479. package/dist/theme/overrides.js +295 -0
  480. package/dist/theme/overrides.js.map +1 -0
  481. package/dist/theme.js +35 -534
  482. package/dist/theme.js.map +1 -1
  483. package/dist/tokens/colors.js +85 -0
  484. package/dist/tokens/colors.js.map +1 -0
  485. package/dist/tokens/motion.js +11 -0
  486. package/dist/tokens/motion.js.map +1 -0
  487. package/dist/tokens/radius.js +23 -0
  488. package/dist/tokens/radius.js.map +1 -0
  489. package/dist/tokens/shadows.js +15 -0
  490. package/dist/tokens/shadows.js.map +1 -0
  491. package/dist/tokens/sizes.js +80 -0
  492. package/dist/tokens/sizes.js.map +1 -0
  493. package/dist/tokens/spacing.js +30 -0
  494. package/dist/tokens/spacing.js.map +1 -0
  495. package/dist/tokens/typography.js +17 -0
  496. package/dist/tokens/typography.js.map +1 -0
  497. package/dist/tokens/zIndex.js +13 -0
  498. package/dist/tokens/zIndex.js.map +1 -0
  499. package/package.json +3 -2
@@ -0,0 +1,686 @@
1
+ import { jsxs as k, jsx as a } from "react/jsx-runtime";
2
+ import { ArrowsDownUp as Fe } from "../../../node_modules/@phosphor-icons/react/dist/csr/ArrowsDownUp.es.js";
3
+ import { CaretDown as ze } from "../../../node_modules/@phosphor-icons/react/dist/csr/CaretDown.es.js";
4
+ import { CaretUp as Le } from "../../../node_modules/@phosphor-icons/react/dist/csr/CaretUp.es.js";
5
+ import { useRef as Ne, useState as D, useMemo as M, useEffect as Mt, useCallback as Ee, useLayoutEffect as He } from "react";
6
+ import l from "@emotion/styled";
7
+ import { clsx as Ue } from "../../../node_modules/clsx/dist/clsx.js";
8
+ import { twRing as Ct } from "../../../lib/emotionTw.js";
9
+ import { TableEmptyState as je } from "./TableEmptyState.js";
10
+ import { TableErrorState as Ve } from "./TableErrorState.js";
11
+ import { TablePagination as $e } from "./TablePagination.js";
12
+ import { TableSkeleton as Ke } from "./TableSkeleton.js";
13
+ const Jt = typeof window > "u" ? Mt : He, Qt = 144, Wt = 220, B = 44, Ye = 146, qe = 3, Ge = {
14
+ height: "38px",
15
+ paddingLeft: "1.25rem",
16
+ paddingRight: "1.25rem",
17
+ paddingTop: "7px",
18
+ paddingBottom: "7px"
19
+ }, Je = {
20
+ height: "4rem",
21
+ paddingLeft: "1.25rem",
22
+ paddingRight: "1.25rem",
23
+ paddingTop: "1rem",
24
+ paddingBottom: "1rem"
25
+ }, At = {
26
+ fontSize: "12px",
27
+ fontWeight: 700,
28
+ letterSpacing: ".24px",
29
+ "--tw-text-opacity": "1",
30
+ color: "hsl(var(--bfrs-color-text-primary) / var(--tw-text-opacity, 1))"
31
+ }, te = {
32
+ "--tw-shadow": "3px 0 8px rgba(0,0,0,.05)",
33
+ "--tw-shadow-colored": "3px 0 8px var(--tw-shadow-color)",
34
+ boxShadow: "var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)"
35
+ }, Qe = {
36
+ "--tw-shadow": "0px 2px 6px rgba(0,0,0,.08)",
37
+ "--tw-shadow-colored": "0px 2px 6px var(--tw-shadow-color)",
38
+ boxShadow: "var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)"
39
+ }, Re = {
40
+ "--tw-shadow": "-3px 0 4px rgba(0,0,0,.04)",
41
+ "--tw-shadow-colored": "-3px 0 4px var(--tw-shadow-color)",
42
+ boxShadow: "var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)"
43
+ }, F = {
44
+ "--tw-bg-opacity": "1",
45
+ backgroundColor: "hsl(var(--bfrs-color-surface-app) / var(--tw-bg-opacity, 1))"
46
+ }, Xe = /* @__PURE__ */ l("div", {
47
+ label: "AgenticDataTable-root",
48
+ shouldForwardProp: (e) => e !== "ownerState"
49
+ })(({ ownerState: e }) => ({
50
+ display: "flex",
51
+ minWidth: "0px",
52
+ minHeight: "0px",
53
+ flex: e.fill ? "1 1 auto" : "var(--bfrs-data-table-flex, 0 1 auto)",
54
+ flexDirection: "column",
55
+ overflow: "hidden",
56
+ borderRadius: "var(--bfrs-radius-md)",
57
+ borderWidth: "1px",
58
+ "--tw-border-opacity": "1",
59
+ borderColor: "hsl(var(--bfrs-color-border-strong) / var(--tw-border-opacity, 1))",
60
+ "--tw-bg-opacity": "1",
61
+ backgroundColor: "hsl(var(--bfrs-color-surface-card) / var(--tw-bg-opacity, 1))"
62
+ })), Ze = /* @__PURE__ */ l("div", {
63
+ label: "AgenticDataTable-scroller"
64
+ })({
65
+ minHeight: "0px",
66
+ flex: "1 1 auto",
67
+ overflow: "auto"
68
+ }), _e = /* @__PURE__ */ l("table", {
69
+ label: "AgenticDataTable-table"
70
+ })({
71
+ width: "100%",
72
+ borderCollapse: "separate",
73
+ "--tw-border-spacing-x": "0px",
74
+ "--tw-border-spacing-y": "0px",
75
+ borderSpacing: "var(--tw-border-spacing-x) var(--tw-border-spacing-y)",
76
+ textAlign: "left"
77
+ }), Oe = /* @__PURE__ */ l("thead", {
78
+ label: "AgenticDataTable-head",
79
+ shouldForwardProp: (e) => e !== "ownerState"
80
+ })(({ ownerState: e }) => [
81
+ e.sticky && {
82
+ position: "sticky",
83
+ top: 0,
84
+ zIndex: 30
85
+ }
86
+ ]), Ce = /* @__PURE__ */ l("tr", {
87
+ label: "AgenticDataTable-headerRow"
88
+ })(F), tr = {
89
+ // Positioning context so the pin button can float without reserving header width.
90
+ position: "relative",
91
+ borderBottomWidth: "1px",
92
+ "--tw-border-opacity": "1",
93
+ borderColor: "hsl(var(--bfrs-color-border-strong) / var(--tw-border-opacity, 1))",
94
+ ...F
95
+ }, O = /* @__PURE__ */ l("th", {
96
+ label: "AgenticDataTable-headerCell",
97
+ shouldForwardProp: (e) => e !== "ownerState"
98
+ })(({ ownerState: e }) => [
99
+ tr,
100
+ e.kind === "selection" && {
101
+ textAlign: "center",
102
+ "--tw-text-opacity": "1",
103
+ color: "hsl(var(--bfrs-color-text-secondary) / var(--tw-text-opacity, 1))"
104
+ },
105
+ e.kind === "leading" && {
106
+ verticalAlign: "middle",
107
+ ...At,
108
+ "&:hover button[title]": { opacity: 1 }
109
+ },
110
+ e.kind === "data" && {
111
+ borderLeftWidth: "2px",
112
+ borderLeftColor: "transparent",
113
+ ...At,
114
+ "&:hover button[title]": { opacity: 1 }
115
+ },
116
+ e.kind === "actions" && At,
117
+ Ge,
118
+ e.sortable && {
119
+ "&:hover": {
120
+ "--tw-text-opacity": "1",
121
+ color: "hsl(var(--bfrs-color-primary) / var(--tw-text-opacity, 1))"
122
+ }
123
+ },
124
+ e.sorted && {
125
+ "--tw-text-opacity": "1",
126
+ color: "hsl(var(--bfrs-color-primary) / var(--tw-text-opacity, 1))"
127
+ },
128
+ e.reorderable && {
129
+ cursor: "grab",
130
+ WebkitUserSelect: "none",
131
+ MozUserSelect: "none",
132
+ userSelect: "none",
133
+ "&:active": { cursor: "grabbing" }
134
+ },
135
+ e.dropTarget && {
136
+ "--tw-border-opacity": "1",
137
+ borderLeftColor: "hsl(var(--bfrs-color-primary) / var(--tw-border-opacity, 1))"
138
+ },
139
+ e.edgeShadow && te,
140
+ e.actionsShadow && Qe
141
+ ]), Rt = /* @__PURE__ */ l("span", {
142
+ label: "AgenticDataTable-headerContent",
143
+ shouldForwardProp: (e) => e !== "ownerState"
144
+ })(({ ownerState: e }) => [
145
+ {
146
+ display: "inline-flex",
147
+ maxWidth: "100%",
148
+ alignItems: "center",
149
+ gap: e.wide ? ".5rem" : ".375rem"
150
+ },
151
+ e.align === "right" && { justifyContent: "flex-end" },
152
+ e.align === "center" && { justifyContent: "center" }
153
+ ]), er = /* @__PURE__ */ l("button", {
154
+ label: "AgenticDataTable-sortButton"
155
+ })({
156
+ display: "inline-flex",
157
+ minWidth: "0px",
158
+ alignItems: "center",
159
+ gap: ".25rem",
160
+ borderRadius: "var(--bfrs-radius-sm)",
161
+ outline: "2px solid transparent",
162
+ outlineOffset: "2px",
163
+ "&:focus-visible": {
164
+ ...Ct("2px", "hsl(var(--bfrs-color-border-focus) / var(--tw-ring-opacity, 1))"),
165
+ "--tw-ring-opacity": "1"
166
+ }
167
+ }), Bt = /* @__PURE__ */ l("span", {
168
+ label: "AgenticDataTable-truncate",
169
+ shouldForwardProp: (e) => e !== "ownerState"
170
+ })(({ ownerState: e }) => ({
171
+ minWidth: "0px",
172
+ overflow: e.overflow === "visible" ? "visible" : "hidden",
173
+ textOverflow: e.overflow === "visible" ? "clip" : "ellipsis",
174
+ whiteSpace: "nowrap"
175
+ })), rr = /* @__PURE__ */ l(Fe, {
176
+ label: "AgenticDataTable-sortIdleIcon"
177
+ })({
178
+ "--tw-text-opacity": "1",
179
+ color: "hsl(var(--bfrs-color-text-disabled) / var(--tw-text-opacity, 1))"
180
+ }), Xt = /* @__PURE__ */ l("button", {
181
+ label: "AgenticDataTable-pinButton",
182
+ shouldForwardProp: (e) => e !== "ownerState"
183
+ })(({ ownerState: e }) => [
184
+ {
185
+ // Floated (not a flex item) so the header label keeps its full width; the pin
186
+ // overlays the cell edge on hover instead of shortening the text box and
187
+ // forcing a premature ellipsis.
188
+ position: "absolute",
189
+ top: "50%",
190
+ transform: "translateY(-50%)",
191
+ display: "inline-flex",
192
+ height: "17px",
193
+ width: "2.5rem",
194
+ flexShrink: 0,
195
+ alignItems: "center",
196
+ justifyContent: "center",
197
+ borderRadius: "var(--bfrs-radius-sm)",
198
+ paddingLeft: ".375rem",
199
+ paddingRight: ".375rem",
200
+ fontSize: "9px",
201
+ fontWeight: 700,
202
+ textTransform: "none",
203
+ lineHeight: "1.5",
204
+ letterSpacing: "0em",
205
+ opacity: 0,
206
+ transitionProperty: "color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",
207
+ transitionTimingFunction: "cubic-bezier(.4,0,.2,1)",
208
+ transitionDuration: ".15s",
209
+ "&:focus-visible": {
210
+ opacity: 1,
211
+ outline: "2px solid transparent",
212
+ outlineOffset: "2px",
213
+ ...Ct("2px", "hsl(var(--bfrs-color-border-focus) / var(--tw-ring-opacity, 1))"),
214
+ "--tw-ring-opacity": "1"
215
+ }
216
+ },
217
+ // Anchor to the far edge of the header cell (opposite the text flush side).
218
+ e.side === "right" ? { right: "1.25rem" } : { left: "1.25rem" },
219
+ e.pinned ? {
220
+ "--tw-bg-opacity": "1",
221
+ backgroundColor: "hsl(var(--bfrs-color-success-soft) / var(--tw-bg-opacity, 1))",
222
+ "--tw-text-opacity": "1",
223
+ color: "hsl(var(--bfrs-color-success-contrast) / var(--tw-text-opacity, 1))"
224
+ } : {
225
+ "--tw-bg-opacity": "1",
226
+ backgroundColor: "hsl(var(--bfrs-color-surface-raised) / var(--tw-bg-opacity, 1))",
227
+ "--tw-text-opacity": "1",
228
+ color: "hsl(var(--bfrs-color-text-secondary) / var(--tw-text-opacity, 1))",
229
+ "&:hover": {
230
+ "--tw-text-opacity": "1",
231
+ color: "hsl(var(--bfrs-color-text-primary) / var(--tw-text-opacity, 1))"
232
+ }
233
+ }
234
+ ]), or = /* @__PURE__ */ l("tr", {
235
+ label: "AgenticDataTable-row",
236
+ shouldForwardProp: (e) => e !== "ownerState"
237
+ })(({ ownerState: e }) => [
238
+ {
239
+ "--tw-bg-opacity": "1",
240
+ backgroundColor: "hsl(var(--bfrs-color-surface-card) / var(--tw-bg-opacity, 1))",
241
+ transitionProperty: "color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",
242
+ transitionTimingFunction: "cubic-bezier(.4,0,.2,1)",
243
+ transitionDuration: ".15s",
244
+ "&:hover": F,
245
+ "&:hover > td": F
246
+ },
247
+ e.selected && F,
248
+ e.clickable && { cursor: "pointer" }
249
+ ]), C = /* @__PURE__ */ l("td", {
250
+ label: "AgenticDataTable-cell",
251
+ shouldForwardProp: (e) => e !== "ownerState"
252
+ })(({ ownerState: e }) => [
253
+ {
254
+ borderBottomWidth: "1px",
255
+ "--tw-border-opacity": "1",
256
+ borderColor: "hsl(var(--bfrs-color-border) / var(--tw-border-opacity, 1))",
257
+ "--tw-bg-opacity": "1",
258
+ backgroundColor: "hsl(var(--bfrs-color-surface-card) / var(--tw-bg-opacity, 1))",
259
+ verticalAlign: "middle"
260
+ },
261
+ e.kind === "data" && {
262
+ "--tw-text-opacity": "1",
263
+ color: "hsl(var(--bfrs-color-text-secondary) / var(--tw-text-opacity, 1))"
264
+ },
265
+ Je,
266
+ e.selected && F,
267
+ e.kind === "data" && { fontSize: "12px" },
268
+ e.cellTextSize === "compact" && {
269
+ fontSize: "12px",
270
+ "& *": {
271
+ fontSize: "inherit"
272
+ }
273
+ },
274
+ e.edgeShadow && te,
275
+ e.actionsShadow && Re
276
+ ]), tt = /* @__PURE__ */ l("input", {
277
+ label: "AgenticDataTable-checkbox"
278
+ })({
279
+ width: ".75rem",
280
+ height: ".75rem",
281
+ flexShrink: 0,
282
+ cursor: "pointer",
283
+ accentColor: "hsl(var(--bfrs-color-primary) / 1)"
284
+ }), Zt = /* @__PURE__ */ l("div", {
285
+ label: "AgenticDataTable-checkboxCenter"
286
+ })({
287
+ display: "flex",
288
+ alignItems: "center",
289
+ justifyContent: "center"
290
+ }), ar = /* @__PURE__ */ l("div", {
291
+ label: "AgenticDataTable-leadingLayout"
292
+ })({
293
+ display: "flex",
294
+ alignItems: "center",
295
+ gap: ".75rem"
296
+ }), ir = /* @__PURE__ */ l("div", {
297
+ label: "AgenticDataTable-leadingContent"
298
+ })({
299
+ minWidth: "0px",
300
+ flex: "1 1 0%"
301
+ });
302
+ function ee(e, o) {
303
+ if (o.accessorFn) return o.accessorFn(e);
304
+ if (o.accessorKey) return e[o.accessorKey];
305
+ }
306
+ function _t(e, o) {
307
+ return o.sortValue ? o.sortValue(e) : ee(e, o);
308
+ }
309
+ function nr(e, o) {
310
+ return typeof e == "number" && typeof o == "number" ? e - o : String(e ?? "").localeCompare(String(o ?? ""), void 0, { numeric: !0, sensitivity: "base" });
311
+ }
312
+ function Ot(e, o) {
313
+ if (typeof e == "number") return e;
314
+ if (typeof e == "string" && e.endsWith("px")) {
315
+ const p = Number.parseFloat(e);
316
+ return Number.isFinite(p) ? p : o;
317
+ }
318
+ return o;
319
+ }
320
+ function Pt(e, o) {
321
+ const p = e.filter((w) => o.includes(w)), b = o.filter((w) => !p.includes(w));
322
+ return [...p, ...b];
323
+ }
324
+ function sr(e, o, p) {
325
+ const b = [...e], w = b.indexOf(o), P = b.indexOf(p);
326
+ return w === -1 || P === -1 || w === P ? e : (b.splice(w, 1), b.splice(P, 0, o), b);
327
+ }
328
+ function cr(e) {
329
+ return Math.round(e * 100) / 100;
330
+ }
331
+ function It(e, o) {
332
+ return e && e > 0 ? e : o;
333
+ }
334
+ function lr(e, o) {
335
+ return !e || e.columns.length !== o.columns.length || Math.abs(e.selection - o.selection) > 0.5 || Math.abs(e.leading - o.leading) > 0.5 || Math.abs(e.rowActions - o.rowActions) > 0.5 ? !1 : e.columns.every((p, b) => Math.abs(p - o.columns[b]) <= 0.5);
336
+ }
337
+ function kr({
338
+ data: e,
339
+ columns: o,
340
+ getRowId: p,
341
+ loading: b,
342
+ error: w,
343
+ emptyState: P,
344
+ // Default no-data view is a two-line message (title + description). Consumers
345
+ // can override either line, or replace the whole thing via `emptyState`.
346
+ emptyTitle: re = "No records found",
347
+ emptyDescription: oe = "There's nothing to show here yet.",
348
+ pagination: Ft,
349
+ enableSorting: et = !0,
350
+ sorting: z,
351
+ defaultSorting: rt = null,
352
+ onSortingChange: ot,
353
+ visibleColumnIds: at,
354
+ columnOrder: m,
355
+ defaultColumnOrder: it,
356
+ onColumnOrderChange: nt,
357
+ enableColumnPinning: Y = !0,
358
+ pinnedColumnCount: L,
359
+ defaultPinnedColumnCount: st = 0,
360
+ onPinnedColumnCountChange: ct,
361
+ pinLeadingColumn: N,
362
+ defaultPinLeadingColumn: lt = !1,
363
+ onPinLeadingColumnChange: dt,
364
+ enableColumnReordering: E = !0,
365
+ resetKey: zt,
366
+ showSortIcon: Lt = "always",
367
+ leadingColumn: n,
368
+ rowActions: T,
369
+ rowActionsHeader: ae = "Actions",
370
+ rowActionsWidth: q = Ye,
371
+ stickyRowActions: G = !!T,
372
+ selection: J,
373
+ selectedRowIds: H = [],
374
+ onSelectedRowIdsChange: Q,
375
+ stickyHeader: pt = !0,
376
+ fill: ie = !1,
377
+ headerTextOverflow: ht = "truncate",
378
+ cellTextSize: R = "default",
379
+ minWidth: ne = "100%",
380
+ maxHeight: Nt,
381
+ className: se,
382
+ scrollerClassName: ce,
383
+ tableClassName: le,
384
+ headerClassName: de,
385
+ rowClassName: bt,
386
+ cellClassName: ft,
387
+ onRowClick: X,
388
+ "aria-label": pe = "Data table"
389
+ }) {
390
+ const wt = Ne(null), [he, Et] = D(rt), [yt, vt] = D(() => it ?? o.map((t) => t.id)), [be, Ht] = D(st), [fe, Ut] = D(lt), [Z, U] = D(null), [we, j] = D(null), [ye, jt] = D(null), [y, ve] = D(null), h = et ? z === void 0 ? he : z : null, W = M(() => o.map((t) => t.id), [o]), Vt = M(() => new Map(o.map((t) => [t.id, t])), [o]);
391
+ Mt(() => {
392
+ m === void 0 && vt((t) => Pt(t, W));
393
+ }, [W, m]), Mt(() => {
394
+ zt !== void 0 && (z === void 0 && Et(rt), m === void 0 && vt(Pt(it ?? W, W)), L === void 0 && Ht(st), N === void 0 && Ut(lt), U(null), j(null));
395
+ }, [
396
+ W,
397
+ m,
398
+ it,
399
+ st,
400
+ lt,
401
+ rt,
402
+ N,
403
+ L,
404
+ zt,
405
+ z
406
+ ]);
407
+ const gt = M(() => Pt(m ?? yt, W).map((r) => Vt.get(r)).filter((r) => !!r), [Vt, W, m, yt]), f = M(() => {
408
+ if (!at) return gt;
409
+ const t = new Set(at);
410
+ return gt.filter((r) => t.has(r.id));
411
+ }, [gt, at]), ge = M(
412
+ () => f.map((t) => Ot(t.width ?? t.minWidth, Qt)),
413
+ [f]
414
+ ), u = Y ? Math.min(
415
+ f.length,
416
+ Math.max(0, L === void 0 ? be : L)
417
+ ) : 0, x = !!n && ((Y && n ? N === void 0 ? fe : N : !1) || u > 0), $t = x && u === 0, I = !!(J && !n), A = I && u > 0, ue = Ot((n == null ? void 0 : n.width) ?? (n == null ? void 0 : n.minWidth), Wt), ut = (y == null ? void 0 : y.columns.length) === f.length ? y.columns : void 0, xe = It(y == null ? void 0 : y.selection, B), Se = It(y == null ? void 0 : y.leading, ue), me = (A ? xe : 0) + (x ? Se : 0), _ = f.length + (I ? 1 : 0) + (n ? 1 : 0) + (T ? 1 : 0), xt = (t, r) => (p == null ? void 0 : p(t, r)) ?? String(t.id ?? r), St = Ee(() => {
418
+ var S, v;
419
+ const t = (v = (S = wt.current) == null ? void 0 : S.tHead) == null ? void 0 : v.rows[0];
420
+ if (!t) return;
421
+ const r = Array.from(t.cells);
422
+ let s = 0;
423
+ const i = () => {
424
+ var c;
425
+ return cr(((c = r[s++]) == null ? void 0 : c.getBoundingClientRect().width) ?? 0);
426
+ }, d = {
427
+ selection: I ? i() : 0,
428
+ leading: n ? i() : 0,
429
+ columns: f.map(() => i()),
430
+ rowActions: T ? i() : 0
431
+ };
432
+ ve((c) => lr(c, d) ? c : d);
433
+ }, [f, I, n, T]);
434
+ Jt(() => {
435
+ St();
436
+ }), Jt(() => {
437
+ var s, i;
438
+ const t = wt.current;
439
+ if (!t || typeof window > "u" || typeof window.ResizeObserver > "u") return;
440
+ const r = new window.ResizeObserver(St);
441
+ return r.observe(t), Array.from(((i = (s = t.tHead) == null ? void 0 : s.rows[0]) == null ? void 0 : i.cells) ?? []).forEach((d) => r.observe(d)), () => r.disconnect();
442
+ }, [St]);
443
+ const V = M(() => {
444
+ if (!h) return e;
445
+ const t = o.find((r) => r.id === h.columnId);
446
+ return t ? [...e].sort((r, s) => {
447
+ const i = nr(_t(r, t), _t(s, t));
448
+ return h.direction === "asc" ? i : -i;
449
+ }) : e;
450
+ }, [h, o, e]), mt = V.length > 0 && V.every((t, r) => H.includes(xt(t, r))), ke = (t) => {
451
+ if (!et || !t.sortable) return;
452
+ const r = (h == null ? void 0 : h.columnId) === t.id ? { columnId: t.id, direction: h.direction === "asc" ? "desc" : "asc" } : { columnId: t.id, direction: "asc" };
453
+ z === void 0 && Et(r), ot == null || ot(r);
454
+ }, De = (t) => {
455
+ m === void 0 && vt(t), nt == null || nt(t);
456
+ }, kt = (t) => {
457
+ const r = Math.min(f.length, Math.max(0, t));
458
+ L === void 0 && Ht(r), ct == null || ct(r);
459
+ }, Kt = (t) => {
460
+ N === void 0 && Ut(t), dt == null || dt(t);
461
+ }, Yt = () => {
462
+ Q && Q(mt ? [] : V.map((t, r) => xt(t, r)));
463
+ }, qt = (t) => {
464
+ Q && Q(H.includes(t) ? H.filter((r) => r !== t) : [...H, t]);
465
+ }, Gt = (t) => {
466
+ let r = me;
467
+ for (let s = 0; s < t; s += 1)
468
+ r += It(ut == null ? void 0 : ut[s], ge[s] ?? Qt);
469
+ return r;
470
+ }, Te = (t, r) => {
471
+ E && (U(r), t.dataTransfer.effectAllowed = "move");
472
+ }, We = (t, r) => {
473
+ E && (t.preventDefault(), j(r));
474
+ }, Ae = (t, r) => {
475
+ var d, S;
476
+ if (!E) return;
477
+ if (t.preventDefault(), Z === null || Z === r) {
478
+ U(null), j(null);
479
+ return;
480
+ }
481
+ const s = (d = f[Z]) == null ? void 0 : d.id, i = (S = f[r]) == null ? void 0 : S.id;
482
+ s && i && (De(sr(m ?? yt, s, i)), Z < u && kt(Math.min(u, r + 1))), U(null), j(null);
483
+ }, Dt = (t, r = 20) => ({
484
+ position: "sticky",
485
+ left: t,
486
+ ...pt ? { top: 0 } : {},
487
+ zIndex: r
488
+ }), Tt = (t, r = 10) => ({
489
+ position: "sticky",
490
+ left: t,
491
+ zIndex: r
492
+ }), Be = G ? {
493
+ position: "sticky",
494
+ right: 0,
495
+ zIndex: 12
496
+ } : {}, Pe = G ? {
497
+ position: "sticky",
498
+ right: 0,
499
+ ...pt ? { top: 0 } : {},
500
+ zIndex: 24
501
+ } : {};
502
+ return /* @__PURE__ */ k(Xe, { className: se, ownerState: { fill: ie }, children: [
503
+ /* @__PURE__ */ a(Ze, { className: ce, style: Nt !== void 0 ? { maxHeight: Nt } : void 0, children: /* @__PURE__ */ k(_e, { ref: wt, "aria-label": pe, "aria-busy": b || void 0, className: le, style: { minWidth: ne, tableLayout: "fixed" }, children: [
504
+ /* @__PURE__ */ a(Oe, { ownerState: { sticky: !!pt }, className: de, children: /* @__PURE__ */ k(Ce, { children: [
505
+ I && /* @__PURE__ */ a(
506
+ O,
507
+ {
508
+ ownerState: { kind: "selection", edgeShadow: A },
509
+ style: { width: B, minWidth: B, ...A ? Dt(0, 24) : {} },
510
+ children: /* @__PURE__ */ a(Zt, { children: /* @__PURE__ */ a(tt, { type: "checkbox", checked: mt, onChange: Yt, "aria-label": "Select all rows" }) })
511
+ }
512
+ ),
513
+ n && /* @__PURE__ */ a(
514
+ O,
515
+ {
516
+ scope: "col",
517
+ ownerState: { kind: "leading", edgeShadow: $t },
518
+ className: n.headerClassName,
519
+ style: {
520
+ width: n.width,
521
+ minWidth: n.minWidth ?? n.width ?? Wt,
522
+ ...x ? Dt(A ? B : 0, 23) : {},
523
+ ...n.headerStyle
524
+ },
525
+ children: /* @__PURE__ */ k(Rt, { ownerState: { wide: !0 }, children: [
526
+ J && /* @__PURE__ */ a(tt, { type: "checkbox", checked: mt, onChange: Yt, "aria-label": "Select all rows" }),
527
+ /* @__PURE__ */ a(Bt, { ownerState: { overflow: ht }, children: n.header }),
528
+ Y && /* @__PURE__ */ a(
529
+ Xt,
530
+ {
531
+ type: "button",
532
+ ownerState: { pinned: x, side: "right" },
533
+ title: x ? "Unpin leading column" : "Pin leading column",
534
+ "aria-label": x ? "Unpin leading column" : "Pin leading column",
535
+ onClick: (t) => {
536
+ t.stopPropagation(), x ? (Kt(!1), kt(0)) : Kt(!0);
537
+ },
538
+ children: x ? "Unpin" : "Pin"
539
+ }
540
+ )
541
+ ] })
542
+ }
543
+ ),
544
+ f.map((t, r) => {
545
+ const s = (h == null ? void 0 : h.columnId) === t.id, i = r < u, d = r === u - 1, S = {
546
+ width: t.width,
547
+ minWidth: t.minWidth ?? t.width,
548
+ textAlign: t.align,
549
+ ...i ? Dt(Gt(r), 22) : {},
550
+ ...t.headerStyle
551
+ }, v = et && t.sortable, c = v && Lt === "always" && !s, $ = v && s && Lt !== "never", K = Y && r < qe && /* @__PURE__ */ a(
552
+ Xt,
553
+ {
554
+ type: "button",
555
+ ownerState: { pinned: i, side: t.align === "right" ? "left" : "right" },
556
+ title: i && d ? "Unpin columns" : "Pin up to this column",
557
+ "aria-label": i && d ? "Unpin columns" : `Pin up to ${String(t.header)}`,
558
+ onClick: (g) => {
559
+ g.stopPropagation(), kt(i && d ? 0 : r + 1);
560
+ },
561
+ children: i ? "Unpin" : "Pin"
562
+ }
563
+ );
564
+ return /* @__PURE__ */ a(
565
+ O,
566
+ {
567
+ scope: "col",
568
+ "aria-sort": v ? s ? h.direction === "asc" ? "ascending" : "descending" : "none" : void 0,
569
+ draggable: E,
570
+ onDragStart: (g) => Te(g, r),
571
+ onDragOver: (g) => We(g, r),
572
+ onDrop: (g) => Ae(g, r),
573
+ onDragEnd: () => {
574
+ U(null), j(null);
575
+ },
576
+ ownerState: {
577
+ kind: "data",
578
+ sortable: !!v,
579
+ sorted: !!s,
580
+ reorderable: E,
581
+ dropTarget: we === r,
582
+ edgeShadow: i && d
583
+ },
584
+ className: t.headerClassName,
585
+ style: S,
586
+ children: /* @__PURE__ */ k(Rt, { ownerState: { align: t.align }, children: [
587
+ t.align === "right" && K,
588
+ v ? /* @__PURE__ */ k(er, { type: "button", onClick: () => ke(t), children: [
589
+ /* @__PURE__ */ a(Bt, { ownerState: { overflow: ht }, children: t.header }),
590
+ $ && (h.direction === "asc" ? /* @__PURE__ */ a(Le, { size: 12, weight: "bold" }) : /* @__PURE__ */ a(ze, { size: 12, weight: "bold" })),
591
+ c && /* @__PURE__ */ a(rr, { size: 12 })
592
+ ] }) : /* @__PURE__ */ a(Bt, { ownerState: { overflow: ht }, children: t.header }),
593
+ t.align !== "right" && K
594
+ ] })
595
+ },
596
+ t.id
597
+ );
598
+ }),
599
+ T && /* @__PURE__ */ a(
600
+ O,
601
+ {
602
+ ownerState: { kind: "actions", actionsShadow: G },
603
+ style: { width: q, minWidth: q, ...Pe },
604
+ children: ae
605
+ }
606
+ )
607
+ ] }) }),
608
+ /* @__PURE__ */ a("tbody", { children: b ? /* @__PURE__ */ a(Ke, { rows: 5, columns: _ }) : w ? /* @__PURE__ */ a(Ve, { description: w, colSpan: _ }) : V.length === 0 ? P ? /* @__PURE__ */ a("tr", { children: /* @__PURE__ */ a("td", { colSpan: _, children: P }) }) : /* @__PURE__ */ a(je, { title: re, description: oe, colSpan: _ }) : V.map((t, r) => {
609
+ const s = xt(t, r), i = H.includes(s), d = ye === s, S = typeof bt == "function" ? bt(t, r) : bt, v = { rowIndex: r, selected: i, hovered: d };
610
+ return /* @__PURE__ */ k(
611
+ or,
612
+ {
613
+ ownerState: { selected: i, clickable: !!X },
614
+ className: S,
615
+ onMouseEnter: () => jt(s),
616
+ onMouseLeave: () => jt(null),
617
+ onClick: () => X == null ? void 0 : X(t),
618
+ children: [
619
+ I && /* @__PURE__ */ a(
620
+ C,
621
+ {
622
+ ownerState: { kind: "selection", selected: i, cellTextSize: R, edgeShadow: A },
623
+ style: { width: B, minWidth: B, ...A ? Tt(0, 14) : {} },
624
+ onClick: (c) => c.stopPropagation(),
625
+ children: /* @__PURE__ */ a(Zt, { children: /* @__PURE__ */ a(tt, { type: "checkbox", checked: i, onChange: () => qt(s), "aria-label": `Select row ${r + 1}` }) })
626
+ }
627
+ ),
628
+ n && /* @__PURE__ */ a(
629
+ C,
630
+ {
631
+ ownerState: { kind: "leading", selected: i, cellTextSize: R, edgeShadow: $t },
632
+ className: n.className,
633
+ style: {
634
+ width: n.width,
635
+ minWidth: n.minWidth ?? n.width ?? Wt,
636
+ ...x ? Tt(A ? B : 0, 13) : {},
637
+ ...n.style
638
+ },
639
+ onClick: J ? (c) => c.stopPropagation() : void 0,
640
+ children: /* @__PURE__ */ k(ar, { children: [
641
+ J && /* @__PURE__ */ a(tt, { type: "checkbox", checked: i, onChange: () => qt(s), "aria-label": `Select row ${r + 1}` }),
642
+ /* @__PURE__ */ a(ir, { children: n.cell(t, v) })
643
+ ] })
644
+ }
645
+ ),
646
+ f.map((c, $) => {
647
+ const K = ee(t, c), g = $ < u, Ie = $ === u - 1, Me = typeof ft == "function" ? ft(t, r, c) : ft;
648
+ return /* @__PURE__ */ a(
649
+ C,
650
+ {
651
+ ownerState: { kind: "data", selected: i, cellTextSize: R, edgeShadow: g && Ie },
652
+ className: Ue(Me, c.className),
653
+ style: {
654
+ width: c.width,
655
+ minWidth: c.minWidth ?? c.width,
656
+ textAlign: c.align,
657
+ ...g ? Tt(Gt($), 12) : {},
658
+ ...c.style
659
+ },
660
+ children: c.cell ? c.cell(t, { value: K, rowIndex: r, selected: i, hovered: d }) : String(K ?? "")
661
+ },
662
+ c.id
663
+ );
664
+ }),
665
+ T && /* @__PURE__ */ a(
666
+ C,
667
+ {
668
+ ownerState: { kind: "actions", selected: i, cellTextSize: R, actionsShadow: G },
669
+ style: { width: q, minWidth: q, ...Be },
670
+ onClick: (c) => c.stopPropagation(),
671
+ children: T(t)
672
+ }
673
+ )
674
+ ]
675
+ },
676
+ s
677
+ );
678
+ }) })
679
+ ] }) }),
680
+ Ft && /* @__PURE__ */ a($e, { ...Ft })
681
+ ] });
682
+ }
683
+ export {
684
+ kr as DataTable
685
+ };
686
+ //# sourceMappingURL=DataTable.js.map