@soft-stech/bootsman-ui-shadcn 1.0.5-beta.3 → 1.0.5-beta.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1098) hide show
  1. package/dist/BuiAccordion.vue_vue_type_script_setup_true_lang-9BLJ6Xyx.js +29 -0
  2. package/dist/BuiAccordionContent.vue_vue_type_script_setup_true_lang-cITei7Xc.js +30 -0
  3. package/dist/BuiAccordionItem.vue_vue_type_script_setup_true_lang-WpA2wBod.js +27 -0
  4. package/dist/BuiAccordionTrigger.vue_vue_type_script_setup_true_lang-XGpq6g83.js +44 -0
  5. package/dist/BuiAlertDescription.vue_vue_type_script_setup_true_lang-8jrdPVoZ.js +19 -0
  6. package/dist/BuiAlertDialog.vue_vue_type_script_setup_true_lang-drRFSwcd.js +22 -0
  7. package/dist/BuiAlertDialogAction.vue_vue_type_script_setup_true_lang-eFFXI8yh.js +24 -0
  8. package/dist/BuiAlertDialogCancel.vue_vue_type_script_setup_true_lang-TLIRf7tC.js +24 -0
  9. package/dist/BuiAlertDialogContent.vue_vue_type_script_setup_true_lang-oh-at7EE.js +38 -0
  10. package/dist/BuiAlertDialogDescription.vue_vue_type_script_setup_true_lang-X2mlNOpn.js +26 -0
  11. package/dist/BuiAlertDialogFooter.vue_vue_type_script_setup_true_lang-mmjuecnW.js +27 -0
  12. package/dist/BuiAlertDialogHeader.vue_vue_type_script_setup_true_lang-UPa1YAXB.js +22 -0
  13. package/dist/BuiAlertDialogTitle.vue_vue_type_script_setup_true_lang-nZUb20JY.js +26 -0
  14. package/dist/BuiAlertDialogTrigger.vue_vue_type_script_setup_true_lang-6rGwccsw.js +21 -0
  15. package/dist/BuiAlertTitle.vue_vue_type_script_setup_true_lang-o-BOLh_O.js +15 -0
  16. package/dist/BuiAspectRatio.vue_vue_type_script_setup_true_lang-9m_EvATB.js +22 -0
  17. package/dist/BuiAvatarFallback.vue_vue_type_script_setup_true_lang-HZyBgkY0.js +22 -0
  18. package/dist/BuiAvatarImage.vue_vue_type_script_setup_true_lang-MsIHnqZj.js +17 -0
  19. package/dist/BuiCalendar.css +1 -0
  20. package/dist/BuiCalendar.vue_vue_type_style_index_0_lang-QQzTcskD.js +6675 -0
  21. package/dist/BuiCard.vue_vue_type_script_setup_true_lang-NlSYFMAq.js +27 -0
  22. package/dist/BuiCardContent.vue_vue_type_script_setup_true_lang-KSNjVOqI.js +22 -0
  23. package/dist/BuiCardDescription.vue_vue_type_script_setup_true_lang-Zax4268g.js +22 -0
  24. package/dist/BuiCardFooter.vue_vue_type_script_setup_true_lang-bCZEO5Ur.js +22 -0
  25. package/dist/BuiCardHeader.vue_vue_type_script_setup_true_lang-shV0E_l4.js +22 -0
  26. package/dist/BuiCardTitle.vue_vue_type_script_setup_true_lang-BjqxR93B.js +22 -0
  27. package/dist/BuiCheckbox.vue_vue_type_script_setup_true_lang-hmQQsYjl.js +47 -0
  28. package/dist/BuiCommand.vue_vue_type_script_setup_true_lang-pgdGbKQE.js +41 -0
  29. package/dist/BuiCommandDialog.vue_vue_type_script_setup_true_lang-UH_r4sd4.js +36 -0
  30. package/dist/BuiCommandEmpty.vue_vue_type_script_setup_true_lang-nZN2PCOI.js +24 -0
  31. package/dist/BuiCommandGroup.vue_vue_type_script_setup_true_lang-CKpABfQa.js +34 -0
  32. package/dist/BuiCommandInput.vue_vue_type_script_setup_true_lang-7cpUivKl.js +44 -0
  33. package/dist/BuiCommandItem.vue_vue_type_script_setup_true_lang-eOQ-j7UO.js +33 -0
  34. package/dist/BuiCommandList.vue_vue_type_script_setup_true_lang-P-7zpAc5.js +44 -0
  35. package/dist/BuiCommandSeparator.vue_vue_type_script_setup_true_lang-McaxEcOo.js +24 -0
  36. package/dist/BuiCommandShortcut.vue_vue_type_script_setup_true_lang-Zy-vTjVY.js +15 -0
  37. package/dist/BuiContextMenu.vue_vue_type_script_setup_true_lang-bYczFsg-.js +22 -0
  38. package/dist/BuiContextMenuCheckboxItem.vue_vue_type_script_setup_true_lang-rCqMNMaF.js +43 -0
  39. package/dist/BuiContextMenuContent.vue_vue_type_script_setup_true_lang-CHRHXhtC.js +44 -0
  40. package/dist/BuiContextMenuGroup.vue_vue_type_script_setup_true_lang-e4bgXtVX.js +21 -0
  41. package/dist/BuiContextMenuItem.vue_vue_type_script_setup_true_lang-0-2dQG0C.js +35 -0
  42. package/dist/BuiContextMenuLabel.vue_vue_type_script_setup_true_lang-BhjZyO9o.js +26 -0
  43. package/dist/BuiContextMenuRadioGroup.vue_vue_type_script_setup_true_lang-nNHJl0-j.js +23 -0
  44. package/dist/BuiContextMenuRadioItem.vue_vue_type_script_setup_true_lang-EGhlM62H.js +43 -0
  45. package/dist/BuiContextMenuSeparator.vue_vue_type_script_setup_true_lang-kyyLXa_U.js +19 -0
  46. package/dist/BuiContextMenuShortcut.vue_vue_type_script_setup_true_lang-ToEUWhfj.js +15 -0
  47. package/dist/BuiContextMenuSub.vue_vue_type_script_setup_true_lang-T1Ux4ixK.js +22 -0
  48. package/dist/BuiContextMenuSubContent.vue_vue_type_script_setup_true_lang-Kdtlc7hW.js +46 -0
  49. package/dist/BuiContextMenuSubTrigger.vue_vue_type_script_setup_true_lang-L97g7c_7.js +36 -0
  50. package/dist/BuiContextMenuTrigger.vue_vue_type_script_setup_true_lang-sXoQhxWy.js +22 -0
  51. package/dist/BuiDataTable.vue_vue_type_script_setup_true_lang-7Tst_H0P.js +2191 -0
  52. package/dist/BuiDialog.vue_vue_type_script_setup_true_lang-XcsMzc3I.js +23 -0
  53. package/dist/BuiDialogClose.vue_vue_type_script_setup_true_lang-OHUVkyIZ.js +21 -0
  54. package/dist/BuiDialogContent.vue_vue_type_script_setup_true_lang-hrWFlzM4.js +46 -0
  55. package/dist/BuiDialogDescription.vue_vue_type_script_setup_true_lang-7u7nRjox.js +25 -0
  56. package/dist/BuiDialogFooter.vue_vue_type_script_setup_true_lang-80ERRoRc.js +24 -0
  57. package/dist/BuiDialogHeader.vue_vue_type_script_setup_true_lang-gOxYmzNm.js +19 -0
  58. package/dist/BuiDialogTitle.vue_vue_type_script_setup_true_lang-FX9zuR32.js +28 -0
  59. package/dist/BuiDialogTrigger.vue_vue_type_script_setup_true_lang-7FGqSdwP.js +21 -0
  60. package/dist/BuiDropdownMenu.vue_vue_type_script_setup_true_lang-TxkUDc51.js +24 -0
  61. package/dist/BuiDropdownMenuCheckboxItem.vue_vue_type_script_setup_true_lang-lcYopOyd.js +41 -0
  62. package/dist/BuiDropdownMenuContent.vue_vue_type_script_setup_true_lang-gVqBEKAp.js +50 -0
  63. package/dist/BuiDropdownMenuGroup.vue_vue_type_script_setup_true_lang-SzAy0CW2.js +21 -0
  64. package/dist/BuiDropdownMenuItem.vue_vue_type_script_setup_true_lang-uVdSBE0w.js +34 -0
  65. package/dist/BuiDropdownMenuLabel.vue_vue_type_script_setup_true_lang-7nLX3XMh.js +26 -0
  66. package/dist/BuiDropdownMenuRadioGroup.vue_vue_type_script_setup_true_lang-RZWoR5VT.js +25 -0
  67. package/dist/BuiDropdownMenuRadioItem.vue_vue_type_script_setup_true_lang-cDTsC5tu.js +41 -0
  68. package/dist/BuiDropdownMenuSeparator.vue_vue_type_script_setup_true_lang-W0BH0qKT.js +16 -0
  69. package/dist/BuiDropdownMenuShortcut.vue_vue_type_script_setup_true_lang-gaq5dUPX.js +15 -0
  70. package/dist/BuiDropdownMenuSub.vue_vue_type_script_setup_true_lang-b69z0e58.js +22 -0
  71. package/dist/BuiDropdownMenuSubContent.vue_vue_type_script_setup_true_lang-ATAZfrFL.js +45 -0
  72. package/dist/BuiDropdownMenuSubTrigger.vue_vue_type_script_setup_true_lang-g1i52iXv.js +34 -0
  73. package/dist/BuiDropdownMenuTrigger.vue_vue_type_script_setup_true_lang-t7nAulRQ.js +22 -0
  74. package/dist/BuiFormControl.vue_vue_type_script_setup_true_lang-sLcVABMM.js +22 -0
  75. package/dist/BuiFormDescription.vue_vue_type_script_setup_true_lang-S6O4siIc.js +19 -0
  76. package/dist/BuiFormItem.vue_vue_type_script_setup_true_lang-H1naMqTM.js +21 -0
  77. package/dist/BuiFormLabel.vue_vue_type_script_setup_true_lang-RK-EDI4m.js +32 -0
  78. package/dist/BuiFormMessage.vue_vue_type_script_setup_true_lang-faAcE08Y.js +17 -0
  79. package/dist/BuiHoverCard.vue_vue_type_script_setup_true_lang-EBv98I52.js +23 -0
  80. package/dist/BuiHoverCardContent.vue_vue_type_script_setup_true_lang-VLzerlqJ.js +47 -0
  81. package/dist/BuiHoverCardTrigger.vue_vue_type_script_setup_true_lang-PMhM5KRl.js +21 -0
  82. package/dist/BuiLabel.vue_vue_type_script_setup_true_lang-q-UZL-UE.js +26 -0
  83. package/dist/BuiPaginationCommon.vue_vue_type_script_setup_true_lang-4tLnC9mc.js +106 -0
  84. package/dist/BuiPaginationEllipsis.vue_vue_type_script_setup_true_lang-5VYL4LuB.js +37 -0
  85. package/dist/BuiPaginationFirst.vue_vue_type_script_setup_true_lang-fK4Ncltc.js +41 -0
  86. package/dist/BuiPaginationLast.vue_vue_type_script_setup_true_lang-RC1b8a4S.js +41 -0
  87. package/dist/BuiPaginationNext.vue_vue_type_script_setup_true_lang-U6POTOZx.js +33 -0
  88. package/dist/BuiPaginationPrev.vue_vue_type_script_setup_true_lang-WqAefTwp.js +33 -0
  89. package/dist/BuiPopover.vue_vue_type_script_setup_true_lang-W6f7rUvH.js +23 -0
  90. package/dist/BuiPopoverContent.vue_vue_type_script_setup_true_lang-EQuOoBbI.js +50 -0
  91. package/dist/BuiPopoverTrigger.vue_vue_type_script_setup_true_lang-JYkdXXg-.js +21 -0
  92. package/dist/BuiRadioGroup.vue_vue_type_script_setup_true_lang-2mkZhJvl.js +34 -0
  93. package/dist/BuiRadioGroupItem.vue_vue_type_script_setup_true_lang-CQE5M69-.js +42 -0
  94. package/dist/BuiSelect.vue_vue_type_script_setup_true_lang-sQ2rSMlT.js +30 -0
  95. package/dist/BuiSelectContent.vue_vue_type_script_setup_true_lang--n_M7a_T.js +62 -0
  96. package/dist/BuiSelectGroup.vue_vue_type_script_setup_true_lang-GK2pNR5m.js +25 -0
  97. package/dist/BuiSelectItem.vue_vue_type_script_setup_true_lang-VDqLtC0D.js +45 -0
  98. package/dist/BuiSelectItemText.vue_vue_type_script_setup_true_lang-m5iJ8Pg_.js +21 -0
  99. package/dist/BuiSelectLabel.vue_vue_type_script_setup_true_lang-lZ8Jh2TG.js +26 -0
  100. package/dist/BuiSelectSeparator.vue_vue_type_script_setup_true_lang-J_fX1QyS.js +20 -0
  101. package/dist/BuiSelectTrigger.vue_vue_type_script_setup_true_lang-S01r-aXt.js +40 -0
  102. package/dist/BuiSelectValue.vue_vue_type_script_setup_true_lang-0ZSwXF3e.js +22 -0
  103. package/dist/BuiSeparator.vue_vue_type_script_setup_true_lang-sf7ok9wH.js +26 -0
  104. package/dist/BuiSlider.vue_vue_type_script_setup_true_lang-BAWPsSzm.js +42 -0
  105. package/dist/BuiSwitch.vue_vue_type_script_setup_true_lang-wHJbLNso.js +48 -0
  106. package/dist/BuiTable.vue_vue_type_script_setup_true_lang-WLKBuUXU.js +21 -0
  107. package/dist/BuiTableBody.vue_vue_type_script_setup_true_lang-jK0O3b7_.js +19 -0
  108. package/dist/BuiTableCaption.vue_vue_type_script_setup_true_lang-OnsFZa8H.js +19 -0
  109. package/dist/BuiTableCell.vue_vue_type_script_setup_true_lang-VtINY171.js +19 -0
  110. package/dist/BuiTableEmpty.vue_vue_type_script_setup_true_lang-4QJziEvg.js +33 -0
  111. package/dist/BuiTableFooter.vue_vue_type_script_setup_true_lang-DN__NJQ9.js +24 -0
  112. package/dist/BuiTableHead.vue_vue_type_script_setup_true_lang-oYy0jbEy.js +26 -0
  113. package/dist/BuiTableHeader.vue_vue_type_script_setup_true_lang-HFGpZshY.js +24 -0
  114. package/dist/BuiTableRow.vue_vue_type_script_setup_true_lang-rLz2bJf7.js +24 -0
  115. package/dist/BuiTabs.vue_vue_type_script_setup_true_lang-uGY6Tchl.js +27 -0
  116. package/dist/BuiTabsContent.vue_vue_type_script_setup_true_lang-DHOghF9A.js +30 -0
  117. package/dist/BuiToastAction.vue_vue_type_script_setup_true_lang-a1xktm3u.js +29 -0
  118. package/dist/BuiToastClose.vue_vue_type_script_setup_true_lang-5mBijbF_.js +24 -0
  119. package/dist/BuiToastDescription.vue_vue_type_script_setup_true_lang-xJ-TOyWS.js +25 -0
  120. package/dist/BuiToastProvider.vue_vue_type_script_setup_true_lang-DuBHcxe4.js +23 -0
  121. package/dist/BuiToastTitle.vue_vue_type_script_setup_true_lang-EYDQfsIV.js +25 -0
  122. package/dist/BuiToastViewport.vue_vue_type_script_setup_true_lang-ulOXdHbj.js +22 -0
  123. package/dist/BuiTooltip.vue_vue_type_script_setup_true_lang-x-QhmjH7.js +25 -0
  124. package/dist/BuiTooltipContent.vue_vue_type_script_setup_true_lang-FcbPdhOp.js +44 -0
  125. package/dist/BuiTooltipProvider.vue_vue_type_script_setup_true_lang-ZioG4xmM.js +23 -0
  126. package/dist/BuiTooltipTrigger.vue_vue_type_script_setup_true_lang-BwuLE7Ul.js +21 -0
  127. package/dist/Skeleton.vue_vue_type_script_setup_true_lang-hQ7LFTbF.js +17 -0
  128. package/dist/assets/main.css +1 -0
  129. package/dist/check-lhPAzofC.js +11 -0
  130. package/dist/chevron-down-IXxIqHx5.js +13 -0
  131. package/dist/chevron-left-YH8QQiZA.js +13 -0
  132. package/dist/chevron-right-zxos2ByC.js +13 -0
  133. package/dist/circle-6KICezMk.js +13 -0
  134. package/dist/components/ui/accordion/BuiAccordion.js +4 -0
  135. package/dist/components/ui/accordion/BuiAccordion.vue.d.ts +23 -0
  136. package/dist/components/ui/accordion/BuiAccordionContent.js +4 -0
  137. package/dist/components/ui/accordion/BuiAccordionContent.vue.d.ts +23 -0
  138. package/dist/components/ui/accordion/BuiAccordionItem.js +4 -0
  139. package/dist/components/ui/accordion/BuiAccordionItem.vue.d.ts +23 -0
  140. package/dist/components/ui/accordion/BuiAccordionTrigger.js +4 -0
  141. package/dist/components/ui/accordion/BuiAccordionTrigger.vue.d.ts +25 -0
  142. package/dist/components/ui/accordion/index.d.ts +4 -0
  143. package/dist/components/ui/accordion/index.js +10 -0
  144. package/dist/components/ui/alert/BuiAlert.js +4 -0
  145. package/dist/components/ui/alert/BuiAlert.vue.d.ts +25 -0
  146. package/dist/components/ui/alert/BuiAlertDescription.js +4 -0
  147. package/dist/components/ui/alert/BuiAlertDescription.vue.d.ts +13 -0
  148. package/dist/components/ui/alert/BuiAlertTitle.js +4 -0
  149. package/dist/components/ui/alert/BuiAlertTitle.vue.d.ts +9 -0
  150. package/dist/components/ui/alert/index.d.ts +6 -0
  151. package/dist/components/ui/alert/index.js +47 -0
  152. package/dist/components/ui/alert-dialog/BuiAlertDialog.js +4 -0
  153. package/dist/components/ui/alert-dialog/BuiAlertDialog.vue.d.ts +23 -0
  154. package/dist/components/ui/alert-dialog/BuiAlertDialogAction.js +4 -0
  155. package/dist/components/ui/alert-dialog/BuiAlertDialogAction.vue.d.ts +19 -0
  156. package/dist/components/ui/alert-dialog/BuiAlertDialogCancel.js +4 -0
  157. package/dist/components/ui/alert-dialog/BuiAlertDialogCancel.vue.d.ts +19 -0
  158. package/dist/components/ui/alert-dialog/BuiAlertDialogContent.js +4 -0
  159. package/dist/components/ui/alert-dialog/BuiAlertDialogDescription.js +4 -0
  160. package/dist/components/ui/alert-dialog/BuiAlertDialogDescription.vue.d.ts +23 -0
  161. package/dist/components/ui/alert-dialog/BuiAlertDialogFooter.js +4 -0
  162. package/dist/components/ui/alert-dialog/BuiAlertDialogFooter.vue.d.ts +21 -0
  163. package/dist/components/ui/alert-dialog/BuiAlertDialogHeader.js +4 -0
  164. package/dist/components/ui/alert-dialog/BuiAlertDialogHeader.vue.d.ts +21 -0
  165. package/dist/components/ui/alert-dialog/BuiAlertDialogTitle.js +4 -0
  166. package/dist/components/ui/alert-dialog/BuiAlertDialogTitle.vue.d.ts +23 -0
  167. package/dist/components/ui/alert-dialog/BuiAlertDialogTrigger.js +4 -0
  168. package/dist/components/ui/alert-dialog/BuiAlertDialogTrigger.vue.d.ts +19 -0
  169. package/dist/components/ui/alert-dialog/index.d.ts +9 -0
  170. package/dist/components/ui/alert-dialog/index.js +20 -0
  171. package/dist/components/ui/aspect-ratio/BuiAspectRatio.js +4 -0
  172. package/dist/components/ui/aspect-ratio/BuiAspectRatio.vue.d.ts +19 -0
  173. package/dist/components/ui/aspect-ratio/index.d.ts +1 -0
  174. package/dist/components/ui/aspect-ratio/index.js +4 -0
  175. package/dist/components/ui/avatar/BuiAvatar.js +4 -0
  176. package/dist/components/ui/avatar/BuiAvatar.vue.d.ts +41 -0
  177. package/dist/components/ui/avatar/BuiAvatarFallback.js +4 -0
  178. package/dist/components/ui/avatar/BuiAvatarFallback.vue.d.ts +19 -0
  179. package/dist/components/ui/avatar/BuiAvatarImage.js +4 -0
  180. package/dist/components/ui/avatar/BuiAvatarImage.vue.d.ts +12 -0
  181. package/dist/components/ui/avatar/index.d.ts +7 -0
  182. package/dist/components/ui/avatar/index.js +45 -0
  183. package/dist/components/ui/badge/BuiBadge.js +4 -0
  184. package/dist/components/ui/badge/BuiBadge.vue.d.ts +44 -0
  185. package/dist/components/ui/badge/index.d.ts +4 -0
  186. package/dist/components/ui/badge/index.js +47 -0
  187. package/dist/components/ui/button/BuiButton.js +4 -0
  188. package/dist/components/ui/button/BuiButton.vue.d.ts +39 -0
  189. package/dist/components/ui/button/index.d.ts +5 -0
  190. package/dist/components/ui/button/index.js +5 -0
  191. package/dist/components/ui/calendar/BuiCalendar.js +5 -0
  192. package/dist/components/ui/calendar/BuiCalendar.vue.d.ts +63 -0
  193. package/dist/components/ui/calendar/index.d.ts +3 -0
  194. package/dist/components/ui/calendar/index.js +95 -0
  195. package/dist/components/ui/card/BuiCard.js +4 -0
  196. package/dist/components/ui/card/BuiCard.vue.d.ts +21 -0
  197. package/dist/components/ui/card/BuiCardContent.js +4 -0
  198. package/dist/components/ui/card/BuiCardContent.vue.d.ts +21 -0
  199. package/dist/components/ui/card/BuiCardDescription.js +4 -0
  200. package/dist/components/ui/card/BuiCardDescription.vue.d.ts +21 -0
  201. package/dist/components/ui/card/BuiCardFooter.js +4 -0
  202. package/dist/components/ui/card/BuiCardFooter.vue.d.ts +21 -0
  203. package/dist/components/ui/card/BuiCardHeader.js +4 -0
  204. package/dist/components/ui/card/BuiCardHeader.vue.d.ts +21 -0
  205. package/dist/components/ui/card/BuiCardTitle.js +4 -0
  206. package/dist/components/ui/card/BuiCardTitle.vue.d.ts +21 -0
  207. package/dist/components/ui/card/index.d.ts +6 -0
  208. package/dist/components/ui/card/index.js +14 -0
  209. package/dist/components/ui/checkbox/BuiCheckbox.js +4 -0
  210. package/dist/components/ui/checkbox/BuiCheckbox.vue.d.ts +16 -0
  211. package/dist/components/ui/checkbox/index.d.ts +1 -0
  212. package/dist/components/ui/checkbox/index.js +4 -0
  213. package/dist/components/ui/command/BuiCommand.js +4 -0
  214. package/dist/components/ui/command/BuiCommandDialog.js +4 -0
  215. package/dist/components/ui/command/BuiCommandDialog.vue.d.ts +23 -0
  216. package/dist/components/ui/command/BuiCommandEmpty.js +4 -0
  217. package/dist/components/ui/command/BuiCommandEmpty.vue.d.ts +19 -0
  218. package/dist/components/ui/command/BuiCommandGroup.js +4 -0
  219. package/dist/components/ui/command/BuiCommandGroup.vue.d.ts +23 -0
  220. package/dist/components/ui/command/BuiCommandInput.js +4 -0
  221. package/dist/components/ui/command/BuiCommandInput.vue.d.ts +12 -0
  222. package/dist/components/ui/command/BuiCommandItem.js +4 -0
  223. package/dist/components/ui/command/BuiCommandList.js +4 -0
  224. package/dist/components/ui/command/BuiCommandSeparator.js +4 -0
  225. package/dist/components/ui/command/BuiCommandSeparator.vue.d.ts +19 -0
  226. package/dist/components/ui/command/BuiCommandShortcut.js +4 -0
  227. package/dist/components/ui/command/BuiCommandShortcut.vue.d.ts +9 -0
  228. package/dist/components/ui/command/index.d.ts +9 -0
  229. package/dist/components/ui/command/index.js +20 -0
  230. package/dist/components/ui/context-menu/BuiContextMenu.js +4 -0
  231. package/dist/components/ui/context-menu/BuiContextMenu.vue.d.ts +23 -0
  232. package/dist/components/ui/context-menu/BuiContextMenuCheckboxItem.js +4 -0
  233. package/dist/components/ui/context-menu/BuiContextMenuCheckboxItem.vue.d.ts +29 -0
  234. package/dist/components/ui/context-menu/BuiContextMenuContent.js +4 -0
  235. package/dist/components/ui/context-menu/BuiContextMenuGroup.js +4 -0
  236. package/dist/components/ui/context-menu/BuiContextMenuGroup.vue.d.ts +19 -0
  237. package/dist/components/ui/context-menu/BuiContextMenuItem.js +4 -0
  238. package/dist/components/ui/context-menu/BuiContextMenuItem.vue.d.ts +29 -0
  239. package/dist/components/ui/context-menu/BuiContextMenuLabel.js +4 -0
  240. package/dist/components/ui/context-menu/BuiContextMenuLabel.vue.d.ts +25 -0
  241. package/dist/components/ui/context-menu/BuiContextMenuPortal.js +22 -0
  242. package/dist/components/ui/context-menu/BuiContextMenuPortal.vue.d.ts +19 -0
  243. package/dist/components/ui/context-menu/BuiContextMenuRadioGroup.js +4 -0
  244. package/dist/components/ui/context-menu/BuiContextMenuRadioGroup.vue.d.ts +23 -0
  245. package/dist/components/ui/context-menu/BuiContextMenuRadioItem.js +4 -0
  246. package/dist/components/ui/context-menu/BuiContextMenuRadioItem.vue.d.ts +27 -0
  247. package/dist/components/ui/context-menu/BuiContextMenuSeparator.js +4 -0
  248. package/dist/components/ui/context-menu/BuiContextMenuSeparator.vue.d.ts +12 -0
  249. package/dist/components/ui/context-menu/BuiContextMenuShortcut.js +4 -0
  250. package/dist/components/ui/context-menu/BuiContextMenuShortcut.vue.d.ts +9 -0
  251. package/dist/components/ui/context-menu/BuiContextMenuSub.js +4 -0
  252. package/dist/components/ui/context-menu/BuiContextMenuSub.vue.d.ts +23 -0
  253. package/dist/components/ui/context-menu/BuiContextMenuSubContent.js +4 -0
  254. package/dist/components/ui/context-menu/BuiContextMenuSubTrigger.js +4 -0
  255. package/dist/components/ui/context-menu/BuiContextMenuSubTrigger.vue.d.ts +25 -0
  256. package/dist/components/ui/context-menu/BuiContextMenuTrigger.js +4 -0
  257. package/dist/components/ui/context-menu/BuiContextMenuTrigger.vue.d.ts +19 -0
  258. package/dist/components/ui/context-menu/index.d.ts +14 -0
  259. package/dist/components/ui/context-menu/index.js +30 -0
  260. package/dist/components/ui/dialog/BuiDialog.js +4 -0
  261. package/dist/components/ui/dialog/BuiDialog.vue.d.ts +23 -0
  262. package/dist/components/ui/dialog/BuiDialogClose.js +4 -0
  263. package/dist/components/ui/dialog/BuiDialogClose.vue.d.ts +19 -0
  264. package/dist/components/ui/dialog/BuiDialogContent.js +4 -0
  265. package/dist/components/ui/dialog/BuiDialogDescription.js +4 -0
  266. package/dist/components/ui/dialog/BuiDialogDescription.vue.d.ts +23 -0
  267. package/dist/components/ui/dialog/BuiDialogFooter.js +4 -0
  268. package/dist/components/ui/dialog/BuiDialogFooter.vue.d.ts +21 -0
  269. package/dist/components/ui/dialog/BuiDialogHeader.js +4 -0
  270. package/dist/components/ui/dialog/BuiDialogHeader.vue.d.ts +21 -0
  271. package/dist/components/ui/dialog/BuiDialogTitle.js +4 -0
  272. package/dist/components/ui/dialog/BuiDialogTitle.vue.d.ts +23 -0
  273. package/dist/components/ui/dialog/BuiDialogTrigger.js +4 -0
  274. package/dist/components/ui/dialog/BuiDialogTrigger.vue.d.ts +19 -0
  275. package/dist/components/ui/dialog/index.d.ts +8 -0
  276. package/dist/components/ui/dialog/index.js +18 -0
  277. package/dist/components/ui/dropdown-menu/BuiDropdownMenu.js +4 -0
  278. package/dist/components/ui/dropdown-menu/BuiDropdownMenu.vue.d.ts +23 -0
  279. package/dist/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.js +4 -0
  280. package/dist/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.vue.d.ts +29 -0
  281. package/dist/components/ui/dropdown-menu/BuiDropdownMenuContent.js +4 -0
  282. package/dist/components/ui/dropdown-menu/BuiDropdownMenuGroup.js +4 -0
  283. package/dist/components/ui/dropdown-menu/BuiDropdownMenuGroup.vue.d.ts +19 -0
  284. package/dist/components/ui/dropdown-menu/BuiDropdownMenuItem.js +4 -0
  285. package/dist/components/ui/dropdown-menu/BuiDropdownMenuItem.vue.d.ts +25 -0
  286. package/dist/components/ui/dropdown-menu/BuiDropdownMenuLabel.js +4 -0
  287. package/dist/components/ui/dropdown-menu/BuiDropdownMenuLabel.vue.d.ts +25 -0
  288. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.js +4 -0
  289. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.vue.d.ts +23 -0
  290. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.js +4 -0
  291. package/dist/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.vue.d.ts +27 -0
  292. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSeparator.js +4 -0
  293. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSeparator.vue.d.ts +12 -0
  294. package/dist/components/ui/dropdown-menu/BuiDropdownMenuShortcut.js +4 -0
  295. package/dist/components/ui/dropdown-menu/BuiDropdownMenuShortcut.vue.d.ts +9 -0
  296. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSub.js +4 -0
  297. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSub.vue.d.ts +23 -0
  298. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubContent.js +4 -0
  299. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.js +4 -0
  300. package/dist/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.vue.d.ts +23 -0
  301. package/dist/components/ui/dropdown-menu/BuiDropdownMenuTrigger.js +4 -0
  302. package/dist/components/ui/dropdown-menu/BuiDropdownMenuTrigger.vue.d.ts +19 -0
  303. package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
  304. package/dist/components/ui/dropdown-menu/index.js +32 -0
  305. package/dist/components/ui/form/BuiFormControl.js +4 -0
  306. package/dist/components/ui/form/BuiFormControl.vue.d.ts +9 -0
  307. package/dist/components/ui/form/BuiFormDescription.js +4 -0
  308. package/dist/components/ui/form/BuiFormDescription.vue.d.ts +9 -0
  309. package/dist/components/ui/form/BuiFormItem.js +6 -0
  310. package/dist/components/ui/form/BuiFormItem.vue.d.ts +11 -0
  311. package/dist/components/ui/form/BuiFormLabel.js +4 -0
  312. package/dist/components/ui/form/BuiFormLabel.vue.d.ts +19 -0
  313. package/dist/components/ui/form/BuiFormMessage.js +4 -0
  314. package/dist/components/ui/form/BuiFormMessage.vue.d.ts +2 -0
  315. package/dist/components/ui/form/index.d.ts +6 -0
  316. package/dist/components/ui/form/index.js +15 -0
  317. package/dist/components/ui/form/useFormField.d.ts +11 -0
  318. package/dist/components/ui/form/useFormField.js +6 -0
  319. package/dist/components/ui/hover-card/BuiHoverCard.js +4 -0
  320. package/dist/components/ui/hover-card/BuiHoverCard.vue.d.ts +19 -0
  321. package/dist/components/ui/hover-card/BuiHoverCardContent.js +4 -0
  322. package/dist/components/ui/hover-card/BuiHoverCardContent.vue.d.ts +37 -0
  323. package/dist/components/ui/hover-card/BuiHoverCardTrigger.js +4 -0
  324. package/dist/components/ui/hover-card/BuiHoverCardTrigger.vue.d.ts +19 -0
  325. package/dist/components/ui/hover-card/index.d.ts +3 -0
  326. package/dist/components/ui/hover-card/index.js +8 -0
  327. package/dist/components/ui/input/BuiInput.js +4 -0
  328. package/dist/components/ui/input/BuiInput.vue.d.ts +27 -0
  329. package/dist/components/ui/input/index.d.ts +4 -0
  330. package/dist/components/ui/input/index.js +43 -0
  331. package/dist/components/ui/label/BuiLabel.js +4 -0
  332. package/dist/components/ui/label/BuiLabel.vue.d.ts +23 -0
  333. package/dist/components/ui/label/index.d.ts +1 -0
  334. package/dist/components/ui/label/index.js +4 -0
  335. package/dist/components/ui/pagination/BuiPaginationCommon.js +4 -0
  336. package/dist/components/ui/pagination/BuiPaginationCommon.vue.d.ts +39 -0
  337. package/dist/components/ui/pagination/BuiPaginationEllipsis.js +4 -0
  338. package/dist/components/ui/pagination/BuiPaginationEllipsis.vue.d.ts +19 -0
  339. package/dist/components/ui/pagination/BuiPaginationFirst.js +4 -0
  340. package/dist/components/ui/pagination/BuiPaginationFirst.vue.d.ts +33 -0
  341. package/dist/components/ui/pagination/BuiPaginationLast.js +4 -0
  342. package/dist/components/ui/pagination/BuiPaginationLast.vue.d.ts +33 -0
  343. package/dist/components/ui/pagination/BuiPaginationNext.js +4 -0
  344. package/dist/components/ui/pagination/BuiPaginationNext.vue.d.ts +33 -0
  345. package/dist/components/ui/pagination/BuiPaginationPrev.js +4 -0
  346. package/dist/components/ui/pagination/BuiPaginationPrev.vue.d.ts +33 -0
  347. package/dist/components/ui/pagination/index.d.ts +7 -0
  348. package/dist/components/ui/pagination/index.js +18 -0
  349. package/dist/components/ui/popover/BuiPopover.js +4 -0
  350. package/dist/components/ui/popover/BuiPopover.vue.d.ts +23 -0
  351. package/dist/components/ui/popover/BuiPopoverContent.js +4 -0
  352. package/dist/components/ui/popover/BuiPopoverTrigger.js +4 -0
  353. package/dist/components/ui/popover/BuiPopoverTrigger.vue.d.ts +19 -0
  354. package/dist/components/ui/popover/index.d.ts +3 -0
  355. package/dist/components/ui/popover/index.js +8 -0
  356. package/dist/components/ui/progress/BuiProgress.js +4 -0
  357. package/dist/components/ui/progress/BuiProgress.vue.d.ts +37 -0
  358. package/dist/components/ui/progress/index.d.ts +9 -0
  359. package/dist/components/ui/progress/index.js +59 -0
  360. package/dist/components/ui/radio-group/BuiRadioGroup.js +4 -0
  361. package/dist/components/ui/radio-group/BuiRadioGroup.vue.d.ts +27 -0
  362. package/dist/components/ui/radio-group/BuiRadioGroupItem.js +4 -0
  363. package/dist/components/ui/radio-group/BuiRadioGroupItem.vue.d.ts +16 -0
  364. package/dist/components/ui/radio-group/index.d.ts +2 -0
  365. package/dist/components/ui/radio-group/index.js +6 -0
  366. package/dist/components/ui/select/Bui.js +62 -0
  367. package/dist/components/ui/select/BuiSelect.js +4 -0
  368. package/dist/components/ui/select/BuiSelect.vue.d.ts +25 -0
  369. package/dist/components/ui/select/BuiSelectContent.js +4 -0
  370. package/dist/components/ui/select/BuiSelectGroup.js +4 -0
  371. package/dist/components/ui/select/BuiSelectGroup.vue.d.ts +23 -0
  372. package/dist/components/ui/select/BuiSelectItem.js +4 -0
  373. package/dist/components/ui/select/BuiSelectItem.vue.d.ts +23 -0
  374. package/dist/components/ui/select/BuiSelectItemText.js +4 -0
  375. package/dist/components/ui/select/BuiSelectItemText.vue.d.ts +19 -0
  376. package/dist/components/ui/select/BuiSelectLabel.js +4 -0
  377. package/dist/components/ui/select/BuiSelectLabel.vue.d.ts +23 -0
  378. package/dist/components/ui/select/BuiSelectSeparator.js +4 -0
  379. package/dist/components/ui/select/BuiSelectSeparator.vue.d.ts +16 -0
  380. package/dist/components/ui/select/BuiSelectTrigger.js +4 -0
  381. package/dist/components/ui/select/BuiSelectTrigger.vue.d.ts +42 -0
  382. package/dist/components/ui/select/BuiSelectValue.js +4 -0
  383. package/dist/components/ui/select/BuiSelectValue.vue.d.ts +19 -0
  384. package/dist/components/ui/select/index.d.ts +9 -0
  385. package/dist/components/ui/select/index.js +20 -0
  386. package/dist/components/ui/separator/BuiSeparator.js +4 -0
  387. package/dist/components/ui/separator/BuiSeparator.vue.d.ts +16 -0
  388. package/dist/components/ui/separator/index.d.ts +1 -0
  389. package/dist/components/ui/separator/index.js +4 -0
  390. package/dist/components/ui/skeleton/Skeleton.js +4 -0
  391. package/dist/components/ui/skeleton/Skeleton.vue.d.ts +15 -0
  392. package/dist/components/ui/skeleton/index.d.ts +1 -0
  393. package/dist/components/ui/skeleton/index.js +4 -0
  394. package/dist/components/ui/slider/BuiSlider.js +4 -0
  395. package/dist/components/ui/slider/BuiSlider.vue.d.ts +18 -0
  396. package/dist/components/ui/slider/index.d.ts +1 -0
  397. package/dist/components/ui/slider/index.js +4 -0
  398. package/dist/components/ui/switch/BuiSwitch.js +4 -0
  399. package/dist/components/ui/switch/BuiSwitch.vue.d.ts +20 -0
  400. package/dist/components/ui/switch/index.d.ts +1 -0
  401. package/dist/components/ui/switch/index.js +4 -0
  402. package/dist/components/ui/table/BuiDataTable.js +4 -0
  403. package/dist/components/ui/table/BuiDataTable.vue.d.ts +62 -0
  404. package/dist/components/ui/table/BuiTable.js +4 -0
  405. package/dist/components/ui/table/BuiTable.vue.d.ts +22 -0
  406. package/dist/components/ui/table/BuiTableBody.js +4 -0
  407. package/dist/components/ui/table/BuiTableBody.vue.d.ts +22 -0
  408. package/dist/components/ui/table/BuiTableCaption.js +4 -0
  409. package/dist/components/ui/table/BuiTableCaption.vue.d.ts +22 -0
  410. package/dist/components/ui/table/BuiTableCell.js +4 -0
  411. package/dist/components/ui/table/BuiTableCell.vue.d.ts +22 -0
  412. package/dist/components/ui/table/BuiTableEmpty.js +4 -0
  413. package/dist/components/ui/table/BuiTableEmpty.vue.d.ts +39 -0
  414. package/dist/components/ui/table/BuiTableFooter.js +4 -0
  415. package/dist/components/ui/table/BuiTableFooter.vue.d.ts +22 -0
  416. package/dist/components/ui/table/BuiTableHead.js +4 -0
  417. package/dist/components/ui/table/BuiTableHead.vue.d.ts +22 -0
  418. package/dist/components/ui/table/BuiTableHeader.js +4 -0
  419. package/dist/components/ui/table/BuiTableHeader.vue.d.ts +22 -0
  420. package/dist/components/ui/table/BuiTableRow.js +4 -0
  421. package/dist/components/ui/table/BuiTableRow.vue.d.ts +22 -0
  422. package/dist/components/ui/table/index.d.ts +10 -0
  423. package/dist/components/ui/table/index.js +22 -0
  424. package/dist/components/ui/tabs/BuiTabs.js +4 -0
  425. package/dist/components/ui/tabs/BuiTabs.vue.d.ts +23 -0
  426. package/dist/components/ui/tabs/BuiTabsContent.js +4 -0
  427. package/dist/components/ui/tabs/BuiTabsContent.vue.d.ts +23 -0
  428. package/dist/components/ui/tabs/BuiTabsList.js +4 -0
  429. package/dist/components/ui/tabs/BuiTabsList.vue.d.ts +24 -0
  430. package/dist/components/ui/tabs/BuiTabsTrigger.js +4 -0
  431. package/dist/components/ui/tabs/BuiTabsTrigger.vue.d.ts +24 -0
  432. package/dist/components/ui/tabs/index.d.ts +10 -0
  433. package/dist/components/ui/tabs/index.js +78 -0
  434. package/dist/components/ui/textarea/BuiTextarea.js +4 -0
  435. package/dist/components/ui/textarea/BuiTextarea.vue.d.ts +24 -0
  436. package/dist/components/ui/textarea/index.d.ts +4 -0
  437. package/dist/components/ui/textarea/index.js +42 -0
  438. package/dist/components/ui/toast/BuiToast.js +4 -0
  439. package/dist/components/ui/toast/BuiToastAction.js +4 -0
  440. package/dist/components/ui/toast/BuiToastAction.vue.d.ts +23 -0
  441. package/dist/components/ui/toast/BuiToastClose.js +4 -0
  442. package/dist/components/ui/toast/BuiToastClose.vue.d.ts +15 -0
  443. package/dist/components/ui/toast/BuiToastDescription.js +4 -0
  444. package/dist/components/ui/toast/BuiToastDescription.vue.d.ts +23 -0
  445. package/dist/components/ui/toast/BuiToastProvider.js +4 -0
  446. package/dist/components/ui/toast/BuiToastProvider.vue.d.ts +19 -0
  447. package/dist/components/ui/toast/BuiToastTitle.js +4 -0
  448. package/dist/components/ui/toast/BuiToastTitle.vue.d.ts +23 -0
  449. package/dist/components/ui/toast/BuiToastViewport.js +4 -0
  450. package/dist/components/ui/toast/BuiToastViewport.vue.d.ts +16 -0
  451. package/dist/components/ui/toast/BuiToaster.js +4 -0
  452. package/dist/components/ui/toast/BuiToaster.vue.d.ts +2 -0
  453. package/dist/components/ui/toast/index.d.ts +12 -0
  454. package/dist/components/ui/toast/index.js +106 -0
  455. package/dist/components/ui/toggle/BuiToggle.js +4 -0
  456. package/dist/components/ui/toggle/BuiToggle.vue.d.ts +52 -0
  457. package/dist/components/ui/toggle/index.d.ts +5 -0
  458. package/dist/components/ui/toggle/index.js +59 -0
  459. package/dist/components/ui/tooltip/BuiTooltip.js +4 -0
  460. package/dist/components/ui/tooltip/BuiTooltip.vue.d.ts +23 -0
  461. package/dist/components/ui/tooltip/BuiTooltipContent.js +4 -0
  462. package/dist/components/ui/tooltip/BuiTooltipContent.vue.d.ts +39 -0
  463. package/dist/components/ui/tooltip/BuiTooltipProvider.js +4 -0
  464. package/dist/components/ui/tooltip/BuiTooltipProvider.vue.d.ts +19 -0
  465. package/dist/components/ui/tooltip/BuiTooltipTrigger.js +4 -0
  466. package/dist/components/ui/tooltip/BuiTooltipTrigger.vue.d.ts +19 -0
  467. package/dist/components/ui/tooltip/index.d.ts +4 -0
  468. package/dist/components/ui/tooltip/index.js +10 -0
  469. package/dist/index-Y0-z_6gp.js +9563 -0
  470. package/dist/index-gwzIEgpq.js +216 -0
  471. package/dist/index-vq1WbVLY.js +49 -0
  472. package/dist/index.d.ts +35 -0
  473. package/dist/index.js +307 -0
  474. package/dist/lib/utils.d.ts +8 -0
  475. package/dist/lib/utils.js +7 -0
  476. package/dist/tailwind-preset.js +107 -0
  477. package/dist/useFormField-ht86QnXS.js +2097 -0
  478. package/dist/utils-Fb7ZR83r.js +2554 -0
  479. package/dist/x-Oj3uv8PB.js +14 -0
  480. package/package.json +4 -3
  481. package/src/assets/base.css +90 -0
  482. package/src/assets/logo-full-dark.png +0 -0
  483. package/src/assets/logo-full.png +0 -0
  484. package/src/assets/logo.png +0 -0
  485. package/src/assets/main.css +1 -0
  486. package/src/components/__tests__/fake-test.spec.ts +10 -0
  487. package/src/components/stories/BuiAccordion.story.vue +61 -0
  488. package/src/components/stories/BuiAlert.story.vue +61 -0
  489. package/src/components/stories/BuiAlertDialog.story.vue +41 -0
  490. package/src/components/stories/BuiAspectRatio.story.vue +17 -0
  491. package/src/components/stories/BuiAvatar.story.vue +44 -0
  492. package/src/components/stories/BuiBadge.story.vue +16 -0
  493. package/src/components/stories/BuiButton.story.vue +45 -0
  494. package/src/components/stories/BuiCalendar.story.vue +43 -0
  495. package/src/components/stories/BuiCard.story.vue +68 -0
  496. package/src/components/stories/BuiCheckbox.story.vue +25 -0
  497. package/src/components/stories/BuiCombobox.story.vue +88 -0
  498. package/src/components/stories/BuiCommand.story.vue +62 -0
  499. package/src/components/stories/BuiContextMenu.story.vue +73 -0
  500. package/src/components/stories/BuiDataTable.story.vue +98 -0
  501. package/src/components/stories/BuiDialog.story.vue +56 -0
  502. package/src/components/stories/BuiDropdownMenu.story.vue +128 -0
  503. package/src/components/stories/BuiForm.story.vue +28 -0
  504. package/src/components/stories/BuiHoverCard.story.vue +41 -0
  505. package/src/components/stories/BuiInput.story.vue +56 -0
  506. package/src/components/stories/BuiLabel.story.vue +17 -0
  507. package/src/components/stories/BuiPagination.story.vue +55 -0
  508. package/src/components/stories/BuiPaginationCommon.story.vue +28 -0
  509. package/src/components/stories/BuiPopover.story.vue +60 -0
  510. package/src/components/stories/BuiProgress.story.vue +57 -0
  511. package/src/components/stories/BuiRadioGroup.story.vue +24 -0
  512. package/src/components/stories/BuiSelect.story.vue +35 -0
  513. package/src/components/stories/BuiSeparator.story.vue +24 -0
  514. package/src/components/stories/BuiSlider.story.vue +24 -0
  515. package/src/components/stories/BuiSwitch.story.vue +21 -0
  516. package/src/components/stories/BuiTable.story.vue +70 -0
  517. package/src/components/stories/BuiTabs.story.vue +81 -0
  518. package/src/components/stories/BuiTextarea.story.vue +56 -0
  519. package/src/components/stories/BuiToast.story.vue +70 -0
  520. package/src/components/stories/BuiToggle.story.vue +45 -0
  521. package/src/components/stories/BuiTooltip.story.vue +28 -0
  522. package/src/components/stories/DatePicker.story.vue +36 -0
  523. package/src/components/stories/components/LoginForm.vue +100 -0
  524. package/src/components/stories/components/LoginFormHook.vue +97 -0
  525. package/src/components/stories/components/ToastHook.vue +25 -0
  526. package/src/components/stories/data/tasks.json +702 -0
  527. package/src/components/ui/accordion/BuiAccordion.vue +17 -0
  528. package/src/components/ui/accordion/BuiAccordionContent.vue +22 -0
  529. package/src/components/ui/accordion/BuiAccordionItem.vue +12 -0
  530. package/src/components/ui/accordion/BuiAccordionTrigger.vue +38 -0
  531. package/src/components/ui/accordion/index.ts +4 -0
  532. package/src/components/ui/alert/BuiAlert.vue +27 -0
  533. package/src/components/ui/alert/BuiAlertDescription.vue +13 -0
  534. package/src/components/ui/alert/BuiAlertTitle.vue +9 -0
  535. package/src/components/ui/alert/index.ts +21 -0
  536. package/src/components/ui/alert-dialog/BuiAlertDialog.vue +19 -0
  537. package/src/components/ui/alert-dialog/BuiAlertDialogAction.vue +13 -0
  538. package/src/components/ui/alert-dialog/BuiAlertDialogCancel.vue +16 -0
  539. package/src/components/ui/alert-dialog/BuiAlertDialogContent.vue +35 -0
  540. package/src/components/ui/alert-dialog/BuiAlertDialogDescription.vue +15 -0
  541. package/src/components/ui/alert-dialog/BuiAlertDialogFooter.vue +23 -0
  542. package/src/components/ui/alert-dialog/BuiAlertDialogHeader.vue +16 -0
  543. package/src/components/ui/alert-dialog/BuiAlertDialogTitle.vue +15 -0
  544. package/src/components/ui/alert-dialog/BuiAlertDialogTrigger.vue +11 -0
  545. package/src/components/ui/alert-dialog/index.ts +9 -0
  546. package/src/components/ui/aspect-ratio/BuiAspectRatio.vue +11 -0
  547. package/src/components/ui/aspect-ratio/index.ts +1 -0
  548. package/src/components/ui/avatar/BuiAvatar.vue +22 -0
  549. package/src/components/ui/avatar/BuiAvatarFallback.vue +11 -0
  550. package/src/components/ui/avatar/BuiAvatarImage.vue +9 -0
  551. package/src/components/ui/avatar/index.ts +22 -0
  552. package/src/components/ui/badge/BuiBadge.vue +34 -0
  553. package/src/components/ui/badge/index.ts +18 -0
  554. package/src/components/ui/button/BuiButton.vue +25 -0
  555. package/src/components/ui/button/index.ts +41 -0
  556. package/src/components/ui/calendar/BuiCalendar.vue +323 -0
  557. package/src/components/ui/calendar/index.ts +22 -0
  558. package/src/components/ui/card/BuiCard.vue +23 -0
  559. package/src/components/ui/card/BuiCardContent.vue +16 -0
  560. package/src/components/ui/card/BuiCardDescription.vue +16 -0
  561. package/src/components/ui/card/BuiCardFooter.vue +16 -0
  562. package/src/components/ui/card/BuiCardHeader.vue +16 -0
  563. package/src/components/ui/card/BuiCardTitle.vue +16 -0
  564. package/src/components/ui/card/index.ts +6 -0
  565. package/src/components/ui/checkbox/BuiCheckbox.vue +30 -0
  566. package/src/components/ui/checkbox/index.ts +1 -0
  567. package/src/components/ui/command/BuiCommand.vue +26 -0
  568. package/src/components/ui/command/BuiCommandDialog.vue +23 -0
  569. package/src/components/ui/command/BuiCommandEmpty.vue +13 -0
  570. package/src/components/ui/command/BuiCommandGroup.vue +23 -0
  571. package/src/components/ui/command/BuiCommandInput.vue +29 -0
  572. package/src/components/ui/command/BuiCommandItem.vue +25 -0
  573. package/src/components/ui/command/BuiCommandList.vue +21 -0
  574. package/src/components/ui/command/BuiCommandSeparator.vue +13 -0
  575. package/src/components/ui/command/BuiCommandShortcut.vue +9 -0
  576. package/src/components/ui/command/index.ts +9 -0
  577. package/src/components/ui/context-menu/BuiContextMenu.vue +15 -0
  578. package/src/components/ui/context-menu/BuiContextMenuCheckboxItem.vue +35 -0
  579. package/src/components/ui/context-menu/BuiContextMenuContent.vue +31 -0
  580. package/src/components/ui/context-menu/BuiContextMenuGroup.vue +11 -0
  581. package/src/components/ui/context-menu/BuiContextMenuItem.vue +27 -0
  582. package/src/components/ui/context-menu/BuiContextMenuLabel.vue +17 -0
  583. package/src/components/ui/context-menu/BuiContextMenuPortal.vue +11 -0
  584. package/src/components/ui/context-menu/BuiContextMenuRadioGroup.vue +19 -0
  585. package/src/components/ui/context-menu/BuiContextMenuRadioItem.vue +35 -0
  586. package/src/components/ui/context-menu/BuiContextMenuSeparator.vue +13 -0
  587. package/src/components/ui/context-menu/BuiContextMenuShortcut.vue +9 -0
  588. package/src/components/ui/context-menu/BuiContextMenuSub.vue +19 -0
  589. package/src/components/ui/context-menu/BuiContextMenuSubContent.vue +28 -0
  590. package/src/components/ui/context-menu/BuiContextMenuSubTrigger.vue +23 -0
  591. package/src/components/ui/context-menu/BuiContextMenuTrigger.vue +11 -0
  592. package/src/components/ui/context-menu/index.ts +14 -0
  593. package/src/components/ui/dialog/BuiDialog.vue +14 -0
  594. package/src/components/ui/dialog/BuiDialogClose.vue +11 -0
  595. package/src/components/ui/dialog/BuiDialogContent.vue +44 -0
  596. package/src/components/ui/dialog/BuiDialogDescription.vue +15 -0
  597. package/src/components/ui/dialog/BuiDialogFooter.vue +22 -0
  598. package/src/components/ui/dialog/BuiDialogHeader.vue +17 -0
  599. package/src/components/ui/dialog/BuiDialogTitle.vue +20 -0
  600. package/src/components/ui/dialog/BuiDialogTrigger.vue +11 -0
  601. package/src/components/ui/dialog/index.ts +8 -0
  602. package/src/components/ui/dropdown-menu/BuiDropdownMenu.vue +19 -0
  603. package/src/components/ui/dropdown-menu/BuiDropdownMenuCheckboxItem.vue +33 -0
  604. package/src/components/ui/dropdown-menu/BuiDropdownMenuContent.vue +33 -0
  605. package/src/components/ui/dropdown-menu/BuiDropdownMenuGroup.vue +11 -0
  606. package/src/components/ui/dropdown-menu/BuiDropdownMenuItem.vue +21 -0
  607. package/src/components/ui/dropdown-menu/BuiDropdownMenuLabel.vue +20 -0
  608. package/src/components/ui/dropdown-menu/BuiDropdownMenuRadioGroup.vue +17 -0
  609. package/src/components/ui/dropdown-menu/BuiDropdownMenuRadioItem.vue +34 -0
  610. package/src/components/ui/dropdown-menu/BuiDropdownMenuSeparator.vue +9 -0
  611. package/src/components/ui/dropdown-menu/BuiDropdownMenuShortcut.vue +9 -0
  612. package/src/components/ui/dropdown-menu/BuiDropdownMenuSub.vue +19 -0
  613. package/src/components/ui/dropdown-menu/BuiDropdownMenuSubContent.vue +28 -0
  614. package/src/components/ui/dropdown-menu/BuiDropdownMenuSubTrigger.vue +22 -0
  615. package/src/components/ui/dropdown-menu/BuiDropdownMenuTrigger.vue +11 -0
  616. package/src/components/ui/dropdown-menu/index.ts +16 -0
  617. package/src/components/ui/form/BuiFormControl.vue +16 -0
  618. package/src/components/ui/form/BuiFormDescription.vue +22 -0
  619. package/src/components/ui/form/BuiFormItem.vue +27 -0
  620. package/src/components/ui/form/BuiFormLabel.vue +30 -0
  621. package/src/components/ui/form/BuiFormMessage.vue +16 -0
  622. package/src/components/ui/form/index.ts +6 -0
  623. package/src/components/ui/form/useFormField.ts +35 -0
  624. package/src/components/ui/hover-card/BuiHoverCard.vue +12 -0
  625. package/src/components/ui/hover-card/BuiHoverCardContent.vue +31 -0
  626. package/src/components/ui/hover-card/BuiHoverCardTrigger.vue +11 -0
  627. package/src/components/ui/hover-card/index.ts +3 -0
  628. package/src/components/ui/input/BuiInput.vue +26 -0
  629. package/src/components/ui/input/index.ts +19 -0
  630. package/src/components/ui/label/BuiLabel.vue +15 -0
  631. package/src/components/ui/label/index.ts +1 -0
  632. package/src/components/ui/pagination/BuiPaginationCommon.vue +82 -0
  633. package/src/components/ui/pagination/BuiPaginationEllipsis.vue +25 -0
  634. package/src/components/ui/pagination/BuiPaginationFirst.vue +20 -0
  635. package/src/components/ui/pagination/BuiPaginationLast.vue +20 -0
  636. package/src/components/ui/pagination/BuiPaginationNext.vue +20 -0
  637. package/src/components/ui/pagination/BuiPaginationPrev.vue +20 -0
  638. package/src/components/ui/pagination/index.ts +11 -0
  639. package/src/components/ui/popover/BuiPopover.vue +15 -0
  640. package/src/components/ui/popover/BuiPopoverContent.vue +33 -0
  641. package/src/components/ui/popover/BuiPopoverTrigger.vue +11 -0
  642. package/src/components/ui/popover/index.ts +3 -0
  643. package/src/components/ui/progress/BuiProgress.vue +47 -0
  644. package/src/components/ui/progress/index.ts +22 -0
  645. package/src/components/ui/radio-group/BuiRadioGroup.vue +15 -0
  646. package/src/components/ui/radio-group/BuiRadioGroupItem.vue +26 -0
  647. package/src/components/ui/radio-group/index.ts +2 -0
  648. package/src/components/ui/select/Bui.vue +48 -0
  649. package/src/components/ui/select/BuiSelect.vue +15 -0
  650. package/src/components/ui/select/BuiSelectContent.vue +48 -0
  651. package/src/components/ui/select/BuiSelectGroup.vue +12 -0
  652. package/src/components/ui/select/BuiSelectItem.vue +29 -0
  653. package/src/components/ui/select/BuiSelectItemText.vue +11 -0
  654. package/src/components/ui/select/BuiSelectLabel.vue +12 -0
  655. package/src/components/ui/select/BuiSelectSeparator.vue +10 -0
  656. package/src/components/ui/select/BuiSelectTrigger.vue +31 -0
  657. package/src/components/ui/select/BuiSelectValue.vue +11 -0
  658. package/src/components/ui/select/index.ts +9 -0
  659. package/src/components/ui/separator/BuiSeparator.vue +15 -0
  660. package/src/components/ui/separator/index.ts +1 -0
  661. package/src/components/ui/skeleton/Skeleton.vue +14 -0
  662. package/src/components/ui/skeleton/index.ts +1 -0
  663. package/src/components/ui/slider/BuiSlider.vue +24 -0
  664. package/src/components/ui/slider/index.ts +1 -0
  665. package/src/components/ui/switch/BuiSwitch.vue +42 -0
  666. package/src/components/ui/switch/index.ts +1 -0
  667. package/src/components/ui/table/BuiDataTable.vue +130 -0
  668. package/src/components/ui/table/BuiTable.vue +13 -0
  669. package/src/components/ui/table/BuiTableBody.vue +11 -0
  670. package/src/components/ui/table/BuiTableCaption.vue +11 -0
  671. package/src/components/ui/table/BuiTableCell.vue +13 -0
  672. package/src/components/ui/table/BuiTableEmpty.vue +28 -0
  673. package/src/components/ui/table/BuiTableFooter.vue +18 -0
  674. package/src/components/ui/table/BuiTableHead.vue +20 -0
  675. package/src/components/ui/table/BuiTableHeader.vue +18 -0
  676. package/src/components/ui/table/BuiTableRow.vue +18 -0
  677. package/src/components/ui/table/index.ts +10 -0
  678. package/src/components/ui/tabs/BuiTabs.vue +18 -0
  679. package/src/components/ui/tabs/BuiTabsContent.vue +20 -0
  680. package/src/components/ui/tabs/BuiTabsList.vue +18 -0
  681. package/src/components/ui/tabs/BuiTabsTrigger.vue +18 -0
  682. package/src/components/ui/tabs/index.ts +34 -0
  683. package/src/components/ui/textarea/BuiTextarea.vue +24 -0
  684. package/src/components/ui/textarea/index.ts +19 -0
  685. package/src/components/ui/toast/BuiToast.vue +32 -0
  686. package/src/components/ui/toast/BuiToastAction.vue +20 -0
  687. package/src/components/ui/toast/BuiToastClose.vue +15 -0
  688. package/src/components/ui/toast/BuiToastDescription.vue +12 -0
  689. package/src/components/ui/toast/BuiToastProvider.vue +11 -0
  690. package/src/components/ui/toast/BuiToastTitle.vue +12 -0
  691. package/src/components/ui/toast/BuiToastViewport.vue +10 -0
  692. package/src/components/ui/toast/BuiToaster.vue +37 -0
  693. package/src/components/ui/toast/index.ts +27 -0
  694. package/src/components/ui/toast/use-toast.ts +157 -0
  695. package/src/components/ui/toggle/BuiToggle.vue +49 -0
  696. package/src/components/ui/toggle/index.ts +24 -0
  697. package/src/components/ui/tooltip/BuiTooltip.vue +19 -0
  698. package/src/components/ui/tooltip/BuiTooltipContent.vue +33 -0
  699. package/src/components/ui/tooltip/BuiTooltipProvider.vue +11 -0
  700. package/src/components/ui/tooltip/BuiTooltipTrigger.vue +11 -0
  701. package/src/components/ui/tooltip/index.ts +4 -0
  702. package/src/histoire-setup.ts +1 -0
  703. package/src/index.ts +38 -0
  704. package/src/lib/utils.ts +38 -0
  705. package/src/tailwind-preset.ts +109 -0
  706. package/dist/bootsman-ui-shadcn.js +0 -321
  707. package/dist/bootsman-ui-shadcn10.js +0 -29
  708. package/dist/bootsman-ui-shadcn100.js +0 -28
  709. package/dist/bootsman-ui-shadcn101.js +0 -23
  710. package/dist/bootsman-ui-shadcn102.js +0 -21
  711. package/dist/bootsman-ui-shadcn103.js +0 -50
  712. package/dist/bootsman-ui-shadcn104.js +0 -43
  713. package/dist/bootsman-ui-shadcn105.js +0 -34
  714. package/dist/bootsman-ui-shadcn106.js +0 -42
  715. package/dist/bootsman-ui-shadcn107.js +0 -25
  716. package/dist/bootsman-ui-shadcn108.js +0 -21
  717. package/dist/bootsman-ui-shadcn109.js +0 -26
  718. package/dist/bootsman-ui-shadcn11.js +0 -19
  719. package/dist/bootsman-ui-shadcn110.js +0 -20
  720. package/dist/bootsman-ui-shadcn111.js +0 -26
  721. package/dist/bootsman-ui-shadcn112.js +0 -48
  722. package/dist/bootsman-ui-shadcn113.js +0 -21
  723. package/dist/bootsman-ui-shadcn114.js +0 -19
  724. package/dist/bootsman-ui-shadcn115.js +0 -19
  725. package/dist/bootsman-ui-shadcn116.js +0 -26
  726. package/dist/bootsman-ui-shadcn117.js +0 -24
  727. package/dist/bootsman-ui-shadcn118.js +0 -24
  728. package/dist/bootsman-ui-shadcn119.js +0 -19
  729. package/dist/bootsman-ui-shadcn12.js +0 -18
  730. package/dist/bootsman-ui-shadcn120.js +0 -33
  731. package/dist/bootsman-ui-shadcn121.js +0 -24
  732. package/dist/bootsman-ui-shadcn122.js +0 -164
  733. package/dist/bootsman-ui-shadcn123.js +0 -27
  734. package/dist/bootsman-ui-shadcn124.js +0 -29
  735. package/dist/bootsman-ui-shadcn125.js +0 -28
  736. package/dist/bootsman-ui-shadcn126.js +0 -30
  737. package/dist/bootsman-ui-shadcn127.js +0 -28
  738. package/dist/bootsman-ui-shadcn128.js +0 -53
  739. package/dist/bootsman-ui-shadcn129.js +0 -29
  740. package/dist/bootsman-ui-shadcn13.js +0 -25
  741. package/dist/bootsman-ui-shadcn130.js +0 -25
  742. package/dist/bootsman-ui-shadcn131.js +0 -44
  743. package/dist/bootsman-ui-shadcn132.js +0 -21
  744. package/dist/bootsman-ui-shadcn133.js +0 -23
  745. package/dist/bootsman-ui-shadcn134.js +0 -39
  746. package/dist/bootsman-ui-shadcn135.js +0 -42
  747. package/dist/bootsman-ui-shadcn136.js +0 -17
  748. package/dist/bootsman-ui-shadcn137.js +0 -28
  749. package/dist/bootsman-ui-shadcn138.js +0 -23
  750. package/dist/bootsman-ui-shadcn139.js +0 -46
  751. package/dist/bootsman-ui-shadcn14.js +0 -30
  752. package/dist/bootsman-ui-shadcn140.js +0 -8426
  753. package/dist/bootsman-ui-shadcn141.js +0 -2001
  754. package/dist/bootsman-ui-shadcn142.js +0 -33
  755. package/dist/bootsman-ui-shadcn143.js +0 -33
  756. package/dist/bootsman-ui-shadcn144.js +0 -33
  757. package/dist/bootsman-ui-shadcn145.js +0 -33
  758. package/dist/bootsman-ui-shadcn146.js +0 -30
  759. package/dist/bootsman-ui-shadcn147.js +0 -22
  760. package/dist/bootsman-ui-shadcn148.js +0 -40
  761. package/dist/bootsman-ui-shadcn149.js +0 -62
  762. package/dist/bootsman-ui-shadcn15.js +0 -107
  763. package/dist/bootsman-ui-shadcn150.js +0 -45
  764. package/dist/bootsman-ui-shadcn151.js +0 -35
  765. package/dist/bootsman-ui-shadcn152.js +0 -22
  766. package/dist/bootsman-ui-shadcn153.js +0 -24
  767. package/dist/bootsman-ui-shadcn154.js +0 -25
  768. package/dist/bootsman-ui-shadcn155.js +0 -25
  769. package/dist/bootsman-ui-shadcn156.js +0 -23
  770. package/dist/bootsman-ui-shadcn158.js +0 -37
  771. package/dist/bootsman-ui-shadcn159.js +0 -23
  772. package/dist/bootsman-ui-shadcn16.js +0 -29
  773. package/dist/bootsman-ui-shadcn160.js +0 -2327
  774. package/dist/bootsman-ui-shadcn161.js +0 -14
  775. package/dist/bootsman-ui-shadcn162.js +0 -14
  776. package/dist/bootsman-ui-shadcn163.js +0 -16
  777. package/dist/bootsman-ui-shadcn164.js +0 -168
  778. package/dist/bootsman-ui-shadcn165.js +0 -4
  779. package/dist/bootsman-ui-shadcn166.js +0 -4
  780. package/dist/bootsman-ui-shadcn167.js +0 -4
  781. package/dist/bootsman-ui-shadcn168.js +0 -4
  782. package/dist/bootsman-ui-shadcn169.js +0 -4
  783. package/dist/bootsman-ui-shadcn17.js +0 -30
  784. package/dist/bootsman-ui-shadcn170.js +0 -4
  785. package/dist/bootsman-ui-shadcn171.js +0 -4
  786. package/dist/bootsman-ui-shadcn172.js +0 -4
  787. package/dist/bootsman-ui-shadcn173.js +0 -4
  788. package/dist/bootsman-ui-shadcn174.js +0 -4
  789. package/dist/bootsman-ui-shadcn175.js +0 -4
  790. package/dist/bootsman-ui-shadcn176.js +0 -4
  791. package/dist/bootsman-ui-shadcn177.js +0 -4
  792. package/dist/bootsman-ui-shadcn178.js +0 -4
  793. package/dist/bootsman-ui-shadcn179.js +0 -4
  794. package/dist/bootsman-ui-shadcn18.js +0 -27
  795. package/dist/bootsman-ui-shadcn180.js +0 -4
  796. package/dist/bootsman-ui-shadcn181.js +0 -4
  797. package/dist/bootsman-ui-shadcn182.js +0 -126
  798. package/dist/bootsman-ui-shadcn183.js +0 -521
  799. package/dist/bootsman-ui-shadcn184.js +0 -363
  800. package/dist/bootsman-ui-shadcn185.js +0 -4
  801. package/dist/bootsman-ui-shadcn186.js +0 -4
  802. package/dist/bootsman-ui-shadcn187.js +0 -4
  803. package/dist/bootsman-ui-shadcn188.js +0 -4
  804. package/dist/bootsman-ui-shadcn189.js +0 -4
  805. package/dist/bootsman-ui-shadcn19.js +0 -44
  806. package/dist/bootsman-ui-shadcn190.js +0 -4
  807. package/dist/bootsman-ui-shadcn191.js +0 -4
  808. package/dist/bootsman-ui-shadcn192.js +0 -4
  809. package/dist/bootsman-ui-shadcn193.js +0 -4
  810. package/dist/bootsman-ui-shadcn194.js +0 -4
  811. package/dist/bootsman-ui-shadcn195.js +0 -4
  812. package/dist/bootsman-ui-shadcn196.js +0 -4
  813. package/dist/bootsman-ui-shadcn197.js +0 -4
  814. package/dist/bootsman-ui-shadcn198.js +0 -4
  815. package/dist/bootsman-ui-shadcn199.js +0 -4
  816. package/dist/bootsman-ui-shadcn2.js +0 -1
  817. package/dist/bootsman-ui-shadcn20.js +0 -22
  818. package/dist/bootsman-ui-shadcn200.js +0 -4
  819. package/dist/bootsman-ui-shadcn201.js +0 -22
  820. package/dist/bootsman-ui-shadcn202.js +0 -4
  821. package/dist/bootsman-ui-shadcn203.js +0 -4
  822. package/dist/bootsman-ui-shadcn204.js +0 -4
  823. package/dist/bootsman-ui-shadcn205.js +0 -5
  824. package/dist/bootsman-ui-shadcn206.js +0 -4
  825. package/dist/bootsman-ui-shadcn207.js +0 -4
  826. package/dist/bootsman-ui-shadcn208.js +0 -4
  827. package/dist/bootsman-ui-shadcn209.js +0 -4
  828. package/dist/bootsman-ui-shadcn21.js +0 -21
  829. package/dist/bootsman-ui-shadcn210.js +0 -4
  830. package/dist/bootsman-ui-shadcn211.js +0 -4
  831. package/dist/bootsman-ui-shadcn212.js +0 -4
  832. package/dist/bootsman-ui-shadcn213.js +0 -4
  833. package/dist/bootsman-ui-shadcn214.js +0 -4
  834. package/dist/bootsman-ui-shadcn215.js +0 -4
  835. package/dist/bootsman-ui-shadcn216.js +0 -4
  836. package/dist/bootsman-ui-shadcn217.js +0 -4
  837. package/dist/bootsman-ui-shadcn218.js +0 -4
  838. package/dist/bootsman-ui-shadcn219.js +0 -4
  839. package/dist/bootsman-ui-shadcn22.js +0 -38
  840. package/dist/bootsman-ui-shadcn220.js +0 -4
  841. package/dist/bootsman-ui-shadcn221.js +0 -4
  842. package/dist/bootsman-ui-shadcn222.js +0 -4
  843. package/dist/bootsman-ui-shadcn223.js +0 -4
  844. package/dist/bootsman-ui-shadcn224.js +0 -19
  845. package/dist/bootsman-ui-shadcn225.js +0 -6
  846. package/dist/bootsman-ui-shadcn226.js +0 -4
  847. package/dist/bootsman-ui-shadcn227.js +0 -4
  848. package/dist/bootsman-ui-shadcn228.js +0 -4
  849. package/dist/bootsman-ui-shadcn229.js +0 -4
  850. package/dist/bootsman-ui-shadcn23.js +0 -22
  851. package/dist/bootsman-ui-shadcn230.js +0 -4
  852. package/dist/bootsman-ui-shadcn231.js +0 -4
  853. package/dist/bootsman-ui-shadcn232.js +0 -4
  854. package/dist/bootsman-ui-shadcn233.js +0 -4
  855. package/dist/bootsman-ui-shadcn234.js +0 -4
  856. package/dist/bootsman-ui-shadcn235.js +0 -4
  857. package/dist/bootsman-ui-shadcn236.js +0 -4
  858. package/dist/bootsman-ui-shadcn237.js +0 -4
  859. package/dist/bootsman-ui-shadcn238.js +0 -4
  860. package/dist/bootsman-ui-shadcn239.js +0 -4
  861. package/dist/bootsman-ui-shadcn24.js +0 -26
  862. package/dist/bootsman-ui-shadcn240.js +0 -4
  863. package/dist/bootsman-ui-shadcn241.js +0 -4
  864. package/dist/bootsman-ui-shadcn242.js +0 -4
  865. package/dist/bootsman-ui-shadcn243.js +0 -4
  866. package/dist/bootsman-ui-shadcn244.js +0 -4
  867. package/dist/bootsman-ui-shadcn245.js +0 -4
  868. package/dist/bootsman-ui-shadcn246.js +0 -4
  869. package/dist/bootsman-ui-shadcn247.js +0 -4
  870. package/dist/bootsman-ui-shadcn248.js +0 -4
  871. package/dist/bootsman-ui-shadcn249.js +0 -4
  872. package/dist/bootsman-ui-shadcn25.js +0 -26
  873. package/dist/bootsman-ui-shadcn250.js +0 -4
  874. package/dist/bootsman-ui-shadcn251.js +0 -4
  875. package/dist/bootsman-ui-shadcn252.js +0 -4
  876. package/dist/bootsman-ui-shadcn253.js +0 -4
  877. package/dist/bootsman-ui-shadcn254.js +0 -4
  878. package/dist/bootsman-ui-shadcn255.js +0 -4
  879. package/dist/bootsman-ui-shadcn256.js +0 -4
  880. package/dist/bootsman-ui-shadcn257.js +0 -4
  881. package/dist/bootsman-ui-shadcn258.js +0 -4
  882. package/dist/bootsman-ui-shadcn259.js +0 -4
  883. package/dist/bootsman-ui-shadcn26.js +0 -27
  884. package/dist/bootsman-ui-shadcn260.js +0 -4
  885. package/dist/bootsman-ui-shadcn261.js +0 -4
  886. package/dist/bootsman-ui-shadcn262.js +0 -4
  887. package/dist/bootsman-ui-shadcn263.js +0 -4
  888. package/dist/bootsman-ui-shadcn264.js +0 -4
  889. package/dist/bootsman-ui-shadcn265.js +0 -4
  890. package/dist/bootsman-ui-shadcn266.js +0 -4
  891. package/dist/bootsman-ui-shadcn267.js +0 -4
  892. package/dist/bootsman-ui-shadcn268.js +0 -4
  893. package/dist/bootsman-ui-shadcn269.js +0 -4
  894. package/dist/bootsman-ui-shadcn27.js +0 -25
  895. package/dist/bootsman-ui-shadcn270.js +0 -4
  896. package/dist/bootsman-ui-shadcn271.js +0 -4
  897. package/dist/bootsman-ui-shadcn272.js +0 -4
  898. package/dist/bootsman-ui-shadcn273.js +0 -4
  899. package/dist/bootsman-ui-shadcn274.js +0 -4
  900. package/dist/bootsman-ui-shadcn275.js +0 -4
  901. package/dist/bootsman-ui-shadcn276.js +0 -4
  902. package/dist/bootsman-ui-shadcn277.js +0 -4
  903. package/dist/bootsman-ui-shadcn278.js +0 -4
  904. package/dist/bootsman-ui-shadcn279.js +0 -4
  905. package/dist/bootsman-ui-shadcn28.js +0 -25
  906. package/dist/bootsman-ui-shadcn280.js +0 -4
  907. package/dist/bootsman-ui-shadcn281.js +0 -4
  908. package/dist/bootsman-ui-shadcn282.js +0 -4
  909. package/dist/bootsman-ui-shadcn283.js +0 -4
  910. package/dist/bootsman-ui-shadcn284.js +0 -4
  911. package/dist/bootsman-ui-shadcn285.js +0 -4
  912. package/dist/bootsman-ui-shadcn286.js +0 -4
  913. package/dist/bootsman-ui-shadcn287.js +0 -6
  914. package/dist/bootsman-ui-shadcn288.js +0 -7
  915. package/dist/bootsman-ui-shadcn289.js +0 -4
  916. package/dist/bootsman-ui-shadcn29.js +0 -31
  917. package/dist/bootsman-ui-shadcn290.js +0 -4
  918. package/dist/bootsman-ui-shadcn291.js +0 -4
  919. package/dist/bootsman-ui-shadcn292.js +0 -4
  920. package/dist/bootsman-ui-shadcn293.js +0 -4
  921. package/dist/bootsman-ui-shadcn294.js +0 -4
  922. package/dist/bootsman-ui-shadcn295.js +0 -4
  923. package/dist/bootsman-ui-shadcn296.js +0 -4
  924. package/dist/bootsman-ui-shadcn297.js +0 -4
  925. package/dist/bootsman-ui-shadcn298.js +0 -4
  926. package/dist/bootsman-ui-shadcn299.js +0 -4
  927. package/dist/bootsman-ui-shadcn3.js +0 -17
  928. package/dist/bootsman-ui-shadcn30.js +0 -15
  929. package/dist/bootsman-ui-shadcn300.js +0 -4
  930. package/dist/bootsman-ui-shadcn301.js +0 -4
  931. package/dist/bootsman-ui-shadcn302.js +0 -4
  932. package/dist/bootsman-ui-shadcn303.js +0 -4
  933. package/dist/bootsman-ui-shadcn304.js +0 -4
  934. package/dist/bootsman-ui-shadcn305.js +0 -4
  935. package/dist/bootsman-ui-shadcn306.js +0 -4
  936. package/dist/bootsman-ui-shadcn307.js +0 -4
  937. package/dist/bootsman-ui-shadcn308.js +0 -4
  938. package/dist/bootsman-ui-shadcn309.js +0 -108
  939. package/dist/bootsman-ui-shadcn31.js +0 -19
  940. package/dist/bootsman-ui-shadcn310.js +0 -13
  941. package/dist/bootsman-ui-shadcn311.js +0 -4
  942. package/dist/bootsman-ui-shadcn312.js +0 -14
  943. package/dist/bootsman-ui-shadcn313.js +0 -14
  944. package/dist/bootsman-ui-shadcn314.js +0 -13
  945. package/dist/bootsman-ui-shadcn315.js +0 -14
  946. package/dist/bootsman-ui-shadcn316.js +0 -15
  947. package/dist/bootsman-ui-shadcn317.js +0 -11
  948. package/dist/bootsman-ui-shadcn318.js +0 -14
  949. package/dist/bootsman-ui-shadcn319.js +0 -13
  950. package/dist/bootsman-ui-shadcn32.js +0 -22
  951. package/dist/bootsman-ui-shadcn320.js +0 -50
  952. package/dist/bootsman-ui-shadcn321.js +0 -5781
  953. package/dist/bootsman-ui-shadcn322.js +0 -13
  954. package/dist/bootsman-ui-shadcn323.js +0 -12
  955. package/dist/bootsman-ui-shadcn324.js +0 -5
  956. package/dist/bootsman-ui-shadcn325.js +0 -67
  957. package/dist/bootsman-ui-shadcn326.js +0 -25
  958. package/dist/bootsman-ui-shadcn327.js +0 -145
  959. package/dist/bootsman-ui-shadcn328.js +0 -1967
  960. package/dist/bootsman-ui-shadcn329.js +0 -20
  961. package/dist/bootsman-ui-shadcn33.js +0 -26
  962. package/dist/bootsman-ui-shadcn330.js +0 -4
  963. package/dist/bootsman-ui-shadcn331.js +0 -29
  964. package/dist/bootsman-ui-shadcn332.js +0 -28
  965. package/dist/bootsman-ui-shadcn333.js +0 -4
  966. package/dist/bootsman-ui-shadcn334.js +0 -120
  967. package/dist/bootsman-ui-shadcn335.js +0 -12
  968. package/dist/bootsman-ui-shadcn336.js +0 -20
  969. package/dist/bootsman-ui-shadcn337.js +0 -27
  970. package/dist/bootsman-ui-shadcn338.js +0 -6
  971. package/dist/bootsman-ui-shadcn339.js +0 -31
  972. package/dist/bootsman-ui-shadcn34.js +0 -17
  973. package/dist/bootsman-ui-shadcn340.js +0 -122
  974. package/dist/bootsman-ui-shadcn341.js +0 -32
  975. package/dist/bootsman-ui-shadcn342.js +0 -13
  976. package/dist/bootsman-ui-shadcn343.js +0 -16
  977. package/dist/bootsman-ui-shadcn344.js +0 -35
  978. package/dist/bootsman-ui-shadcn345.js +0 -31
  979. package/dist/bootsman-ui-shadcn346.js +0 -13
  980. package/dist/bootsman-ui-shadcn347.js +0 -15
  981. package/dist/bootsman-ui-shadcn348.js +0 -20
  982. package/dist/bootsman-ui-shadcn349.js +0 -26
  983. package/dist/bootsman-ui-shadcn35.js +0 -22
  984. package/dist/bootsman-ui-shadcn350.js +0 -20
  985. package/dist/bootsman-ui-shadcn351.js +0 -99
  986. package/dist/bootsman-ui-shadcn352.js +0 -47
  987. package/dist/bootsman-ui-shadcn353.js +0 -31
  988. package/dist/bootsman-ui-shadcn354.js +0 -75
  989. package/dist/bootsman-ui-shadcn355.js +0 -54
  990. package/dist/bootsman-ui-shadcn356.js +0 -37
  991. package/dist/bootsman-ui-shadcn357.js +0 -44
  992. package/dist/bootsman-ui-shadcn358.js +0 -6
  993. package/dist/bootsman-ui-shadcn359.js +0 -6
  994. package/dist/bootsman-ui-shadcn36.js +0 -36
  995. package/dist/bootsman-ui-shadcn360.js +0 -18
  996. package/dist/bootsman-ui-shadcn361.js +0 -6
  997. package/dist/bootsman-ui-shadcn362.js +0 -12
  998. package/dist/bootsman-ui-shadcn363.js +0 -7
  999. package/dist/bootsman-ui-shadcn364.js +0 -8
  1000. package/dist/bootsman-ui-shadcn365.js +0 -12
  1001. package/dist/bootsman-ui-shadcn366.js +0 -10
  1002. package/dist/bootsman-ui-shadcn367.js +0 -7
  1003. package/dist/bootsman-ui-shadcn368.js +0 -6
  1004. package/dist/bootsman-ui-shadcn369.js +0 -6
  1005. package/dist/bootsman-ui-shadcn37.js +0 -79
  1006. package/dist/bootsman-ui-shadcn370.js +0 -14
  1007. package/dist/bootsman-ui-shadcn371.js +0 -12
  1008. package/dist/bootsman-ui-shadcn372.js +0 -34
  1009. package/dist/bootsman-ui-shadcn373.js +0 -27
  1010. package/dist/bootsman-ui-shadcn374.js +0 -54
  1011. package/dist/bootsman-ui-shadcn375.js +0 -6
  1012. package/dist/bootsman-ui-shadcn376.js +0 -11
  1013. package/dist/bootsman-ui-shadcn377.js +0 -23
  1014. package/dist/bootsman-ui-shadcn378.js +0 -10
  1015. package/dist/bootsman-ui-shadcn379.js +0 -9
  1016. package/dist/bootsman-ui-shadcn38.js +0 -1
  1017. package/dist/bootsman-ui-shadcn380.js +0 -8
  1018. package/dist/bootsman-ui-shadcn381.js +0 -10
  1019. package/dist/bootsman-ui-shadcn382.js +0 -18
  1020. package/dist/bootsman-ui-shadcn383.js +0 -7
  1021. package/dist/bootsman-ui-shadcn384.js +0 -9
  1022. package/dist/bootsman-ui-shadcn385.js +0 -37
  1023. package/dist/bootsman-ui-shadcn386.js +0 -11
  1024. package/dist/bootsman-ui-shadcn387.js +0 -7
  1025. package/dist/bootsman-ui-shadcn388.js +0 -11
  1026. package/dist/bootsman-ui-shadcn389.js +0 -9
  1027. package/dist/bootsman-ui-shadcn39.js +0 -27
  1028. package/dist/bootsman-ui-shadcn390.js +0 -21
  1029. package/dist/bootsman-ui-shadcn391.js +0 -17
  1030. package/dist/bootsman-ui-shadcn4.js +0 -20
  1031. package/dist/bootsman-ui-shadcn40.js +0 -22
  1032. package/dist/bootsman-ui-shadcn41.js +0 -22
  1033. package/dist/bootsman-ui-shadcn42.js +0 -22
  1034. package/dist/bootsman-ui-shadcn43.js +0 -22
  1035. package/dist/bootsman-ui-shadcn44.js +0 -22
  1036. package/dist/bootsman-ui-shadcn45.js +0 -48
  1037. package/dist/bootsman-ui-shadcn46.js +0 -41
  1038. package/dist/bootsman-ui-shadcn47.js +0 -36
  1039. package/dist/bootsman-ui-shadcn48.js +0 -24
  1040. package/dist/bootsman-ui-shadcn49.js +0 -34
  1041. package/dist/bootsman-ui-shadcn5.js +0 -17
  1042. package/dist/bootsman-ui-shadcn50.js +0 -36
  1043. package/dist/bootsman-ui-shadcn51.js +0 -33
  1044. package/dist/bootsman-ui-shadcn52.js +0 -44
  1045. package/dist/bootsman-ui-shadcn53.js +0 -24
  1046. package/dist/bootsman-ui-shadcn54.js +0 -15
  1047. package/dist/bootsman-ui-shadcn55.js +0 -22
  1048. package/dist/bootsman-ui-shadcn56.js +0 -22
  1049. package/dist/bootsman-ui-shadcn57.js +0 -44
  1050. package/dist/bootsman-ui-shadcn58.js +0 -21
  1051. package/dist/bootsman-ui-shadcn59.js +0 -23
  1052. package/dist/bootsman-ui-shadcn6.js +0 -49
  1053. package/dist/bootsman-ui-shadcn60.js +0 -35
  1054. package/dist/bootsman-ui-shadcn61.js +0 -43
  1055. package/dist/bootsman-ui-shadcn62.js +0 -43
  1056. package/dist/bootsman-ui-shadcn63.js +0 -15
  1057. package/dist/bootsman-ui-shadcn64.js +0 -19
  1058. package/dist/bootsman-ui-shadcn65.js +0 -26
  1059. package/dist/bootsman-ui-shadcn66.js +0 -22
  1060. package/dist/bootsman-ui-shadcn67.js +0 -36
  1061. package/dist/bootsman-ui-shadcn68.js +0 -46
  1062. package/dist/bootsman-ui-shadcn69.js +0 -21
  1063. package/dist/bootsman-ui-shadcn7.js +0 -20
  1064. package/dist/bootsman-ui-shadcn70.js +0 -21
  1065. package/dist/bootsman-ui-shadcn71.js +0 -19
  1066. package/dist/bootsman-ui-shadcn72.js +0 -28
  1067. package/dist/bootsman-ui-shadcn73.js +0 -25
  1068. package/dist/bootsman-ui-shadcn74.js +0 -24
  1069. package/dist/bootsman-ui-shadcn75.js +0 -24
  1070. package/dist/bootsman-ui-shadcn76.js +0 -22
  1071. package/dist/bootsman-ui-shadcn77.js +0 -50
  1072. package/dist/bootsman-ui-shadcn78.js +0 -21
  1073. package/dist/bootsman-ui-shadcn79.js +0 -25
  1074. package/dist/bootsman-ui-shadcn8.js +0 -19
  1075. package/dist/bootsman-ui-shadcn80.js +0 -34
  1076. package/dist/bootsman-ui-shadcn81.js +0 -41
  1077. package/dist/bootsman-ui-shadcn82.js +0 -41
  1078. package/dist/bootsman-ui-shadcn83.js +0 -15
  1079. package/dist/bootsman-ui-shadcn84.js +0 -16
  1080. package/dist/bootsman-ui-shadcn85.js +0 -26
  1081. package/dist/bootsman-ui-shadcn86.js +0 -22
  1082. package/dist/bootsman-ui-shadcn87.js +0 -34
  1083. package/dist/bootsman-ui-shadcn88.js +0 -45
  1084. package/dist/bootsman-ui-shadcn89.js +0 -21
  1085. package/dist/bootsman-ui-shadcn9.js +0 -21
  1086. package/dist/bootsman-ui-shadcn90.js +0 -32
  1087. package/dist/bootsman-ui-shadcn91.js +0 -22
  1088. package/dist/bootsman-ui-shadcn92.js +0 -18
  1089. package/dist/bootsman-ui-shadcn93.js +0 -19
  1090. package/dist/bootsman-ui-shadcn94.js +0 -23
  1091. package/dist/bootsman-ui-shadcn95.js +0 -21
  1092. package/dist/bootsman-ui-shadcn96.js +0 -47
  1093. package/dist/bootsman-ui-shadcn97.js +0 -29
  1094. package/dist/bootsman-ui-shadcn98.js +0 -26
  1095. package/dist/bootsman-ui-shadcn99.js +0 -103
  1096. package/dist/main.d.ts +0 -3376
  1097. package/dist/style.css +0 -1
  1098. /package/dist/{bootsman-ui-shadcn157.js → components/ui/toast/use-toast.js} +0 -0
@@ -0,0 +1,2191 @@
1
+ import { defineComponent as Ce, h as ye, ref as xe, watchEffect as Ie, mergeModels as De, useModel as q, openBlock as h, createBlock as M, unref as _, withCtx as V, renderSlot as He, createCommentVNode as U, createVNode as I, createElementBlock as H, Fragment as N, renderList as O, createTextVNode as Ne } from "vue";
2
+ import { _ as Oe } from "./BuiTable.vue_vue_type_script_setup_true_lang-WLKBuUXU.js";
3
+ import { _ as Ge } from "./BuiTableBody.vue_vue_type_script_setup_true_lang-jK0O3b7_.js";
4
+ import { _ as pe } from "./BuiTableCell.vue_vue_type_script_setup_true_lang-VtINY171.js";
5
+ import { _ as Le } from "./BuiTableHead.vue_vue_type_script_setup_true_lang-oYy0jbEy.js";
6
+ import { _ as ze } from "./BuiTableHeader.vue_vue_type_script_setup_true_lang-HFGpZshY.js";
7
+ import { _ as j } from "./BuiTableRow.vue_vue_type_script_setup_true_lang-rLz2bJf7.js";
8
+ import { _ as ke } from "./BuiTableCaption.vue_vue_type_script_setup_true_lang-OnsFZa8H.js";
9
+ import { _ as be } from "./BuiTableEmpty.vue_vue_type_script_setup_true_lang-4QJziEvg.js";
10
+ import { _ as Be } from "./BuiTableFooter.vue_vue_type_script_setup_true_lang-DN__NJQ9.js";
11
+ import { _ as Te } from "./BuiPaginationCommon.vue_vue_type_script_setup_true_lang-4tLnC9mc.js";
12
+ import { v as X } from "./utils-Fb7ZR83r.js";
13
+ /**
14
+ * table-core
15
+ *
16
+ * Copyright (c) TanStack
17
+ *
18
+ * This source code is licensed under the MIT license found in the
19
+ * LICENSE.md file in the root directory of this source tree.
20
+ *
21
+ * @license MIT
22
+ */
23
+ function y(e, n) {
24
+ return typeof e == "function" ? e(n) : e;
25
+ }
26
+ function $(e, n) {
27
+ return (t) => {
28
+ n.setState((o) => ({
29
+ ...o,
30
+ [e]: y(t, o[e])
31
+ }));
32
+ };
33
+ }
34
+ function B(e) {
35
+ return e instanceof Function;
36
+ }
37
+ function qe(e) {
38
+ return Array.isArray(e) && e.every((n) => typeof n == "number");
39
+ }
40
+ function Ue(e, n) {
41
+ const t = [], o = (r) => {
42
+ r.forEach((i) => {
43
+ t.push(i);
44
+ const l = n(i);
45
+ l != null && l.length && o(l);
46
+ });
47
+ };
48
+ return o(e), t;
49
+ }
50
+ function m(e, n, t) {
51
+ let o = [], r;
52
+ return () => {
53
+ let i;
54
+ t.key && t.debug && (i = Date.now());
55
+ const l = e();
56
+ if (!(l.length !== o.length || l.some((a, g) => o[g] !== a)))
57
+ return r;
58
+ o = l;
59
+ let s;
60
+ if (t.key && t.debug && (s = Date.now()), r = n(...l), t == null || t.onChange == null || t.onChange(r), t.key && t.debug && t != null && t.debug()) {
61
+ const a = Math.round((Date.now() - i) * 100) / 100, g = Math.round((Date.now() - s) * 100) / 100, d = g / 16, p = (c, f) => {
62
+ for (c = String(c); c.length < f; )
63
+ c = " " + c;
64
+ return c;
65
+ };
66
+ console.info(`%c⏱ ${p(g, 5)} /${p(a, 5)} ms`, `
67
+ font-size: .6rem;
68
+ font-weight: bold;
69
+ color: hsl(${Math.max(0, Math.min(120 - 120 * d, 120))}deg 100% 31%);`, t?.key);
70
+ }
71
+ return r;
72
+ };
73
+ }
74
+ function je(e, n, t, o) {
75
+ var r, i;
76
+ const u = {
77
+ ...e._getDefaultColumnDef(),
78
+ ...n
79
+ }, s = u.accessorKey;
80
+ let a = (r = (i = u.id) != null ? i : s ? s.replace(".", "_") : void 0) != null ? r : typeof u.header == "string" ? u.header : void 0, g;
81
+ if (u.accessorFn ? g = u.accessorFn : s && (s.includes(".") ? g = (p) => {
82
+ let c = p;
83
+ for (const S of s.split(".")) {
84
+ var f;
85
+ c = (f = c) == null ? void 0 : f[S], process.env.NODE_ENV !== "production" && c === void 0 && console.warn(`"${S}" in deeply nested key "${s}" returned undefined.`);
86
+ }
87
+ return c;
88
+ } : g = (p) => p[u.accessorKey]), !a)
89
+ throw process.env.NODE_ENV !== "production" ? new Error(u.accessorFn ? "Columns require an id when using an accessorFn" : "Columns require an id when using a non-string header") : new Error();
90
+ let d = {
91
+ id: `${String(a)}`,
92
+ accessorFn: g,
93
+ parent: o,
94
+ depth: t,
95
+ columnDef: u,
96
+ columns: [],
97
+ getFlatColumns: m(() => [!0], () => {
98
+ var p;
99
+ return [d, ...(p = d.columns) == null ? void 0 : p.flatMap((c) => c.getFlatColumns())];
100
+ }, {
101
+ key: process.env.NODE_ENV === "production" && "column.getFlatColumns",
102
+ debug: () => {
103
+ var p;
104
+ return (p = e.options.debugAll) != null ? p : e.options.debugColumns;
105
+ }
106
+ }),
107
+ getLeafColumns: m(() => [e._getOrderColumnsFn()], (p) => {
108
+ var c;
109
+ if ((c = d.columns) != null && c.length) {
110
+ let f = d.columns.flatMap((S) => S.getLeafColumns());
111
+ return p(f);
112
+ }
113
+ return [d];
114
+ }, {
115
+ key: process.env.NODE_ENV === "production" && "column.getLeafColumns",
116
+ debug: () => {
117
+ var p;
118
+ return (p = e.options.debugAll) != null ? p : e.options.debugColumns;
119
+ }
120
+ })
121
+ };
122
+ for (const p of e._features)
123
+ p.createColumn == null || p.createColumn(d, e);
124
+ return d;
125
+ }
126
+ function fe(e, n, t) {
127
+ var o;
128
+ let i = {
129
+ id: (o = t.id) != null ? o : n.id,
130
+ column: n,
131
+ index: t.index,
132
+ isPlaceholder: !!t.isPlaceholder,
133
+ placeholderId: t.placeholderId,
134
+ depth: t.depth,
135
+ subHeaders: [],
136
+ colSpan: 0,
137
+ rowSpan: 0,
138
+ headerGroup: null,
139
+ getLeafHeaders: () => {
140
+ const l = [], u = (s) => {
141
+ s.subHeaders && s.subHeaders.length && s.subHeaders.map(u), l.push(s);
142
+ };
143
+ return u(i), l;
144
+ },
145
+ getContext: () => ({
146
+ table: e,
147
+ header: i,
148
+ column: n
149
+ })
150
+ };
151
+ return e._features.forEach((l) => {
152
+ l.createHeader == null || l.createHeader(i, e);
153
+ }), i;
154
+ }
155
+ const Xe = {
156
+ createTable: (e) => {
157
+ e.getHeaderGroups = m(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, o, r) => {
158
+ var i, l;
159
+ const u = (i = o?.map((d) => t.find((p) => p.id === d)).filter(Boolean)) != null ? i : [], s = (l = r?.map((d) => t.find((p) => p.id === d)).filter(Boolean)) != null ? l : [], a = t.filter((d) => !(o != null && o.includes(d.id)) && !(r != null && r.includes(d.id)));
160
+ return G(n, [...u, ...a, ...s], e);
161
+ }, {
162
+ key: process.env.NODE_ENV === "development" && "getHeaderGroups",
163
+ debug: () => {
164
+ var n;
165
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
166
+ }
167
+ }), e.getCenterHeaderGroups = m(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, o, r) => (t = t.filter((i) => !(o != null && o.includes(i.id)) && !(r != null && r.includes(i.id))), G(n, t, e, "center")), {
168
+ key: process.env.NODE_ENV === "development" && "getCenterHeaderGroups",
169
+ debug: () => {
170
+ var n;
171
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
172
+ }
173
+ }), e.getLeftHeaderGroups = m(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (n, t, o) => {
174
+ var r;
175
+ const i = (r = o?.map((l) => t.find((u) => u.id === l)).filter(Boolean)) != null ? r : [];
176
+ return G(n, i, e, "left");
177
+ }, {
178
+ key: process.env.NODE_ENV === "development" && "getLeftHeaderGroups",
179
+ debug: () => {
180
+ var n;
181
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
182
+ }
183
+ }), e.getRightHeaderGroups = m(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (n, t, o) => {
184
+ var r;
185
+ const i = (r = o?.map((l) => t.find((u) => u.id === l)).filter(Boolean)) != null ? r : [];
186
+ return G(n, i, e, "right");
187
+ }, {
188
+ key: process.env.NODE_ENV === "development" && "getRightHeaderGroups",
189
+ debug: () => {
190
+ var n;
191
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
192
+ }
193
+ }), e.getFooterGroups = m(() => [e.getHeaderGroups()], (n) => [...n].reverse(), {
194
+ key: process.env.NODE_ENV === "development" && "getFooterGroups",
195
+ debug: () => {
196
+ var n;
197
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
198
+ }
199
+ }), e.getLeftFooterGroups = m(() => [e.getLeftHeaderGroups()], (n) => [...n].reverse(), {
200
+ key: process.env.NODE_ENV === "development" && "getLeftFooterGroups",
201
+ debug: () => {
202
+ var n;
203
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
204
+ }
205
+ }), e.getCenterFooterGroups = m(() => [e.getCenterHeaderGroups()], (n) => [...n].reverse(), {
206
+ key: process.env.NODE_ENV === "development" && "getCenterFooterGroups",
207
+ debug: () => {
208
+ var n;
209
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
210
+ }
211
+ }), e.getRightFooterGroups = m(() => [e.getRightHeaderGroups()], (n) => [...n].reverse(), {
212
+ key: process.env.NODE_ENV === "development" && "getRightFooterGroups",
213
+ debug: () => {
214
+ var n;
215
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
216
+ }
217
+ }), e.getFlatHeaders = m(() => [e.getHeaderGroups()], (n) => n.map((t) => t.headers).flat(), {
218
+ key: process.env.NODE_ENV === "development" && "getFlatHeaders",
219
+ debug: () => {
220
+ var n;
221
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
222
+ }
223
+ }), e.getLeftFlatHeaders = m(() => [e.getLeftHeaderGroups()], (n) => n.map((t) => t.headers).flat(), {
224
+ key: process.env.NODE_ENV === "development" && "getLeftFlatHeaders",
225
+ debug: () => {
226
+ var n;
227
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
228
+ }
229
+ }), e.getCenterFlatHeaders = m(() => [e.getCenterHeaderGroups()], (n) => n.map((t) => t.headers).flat(), {
230
+ key: process.env.NODE_ENV === "development" && "getCenterFlatHeaders",
231
+ debug: () => {
232
+ var n;
233
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
234
+ }
235
+ }), e.getRightFlatHeaders = m(() => [e.getRightHeaderGroups()], (n) => n.map((t) => t.headers).flat(), {
236
+ key: process.env.NODE_ENV === "development" && "getRightFlatHeaders",
237
+ debug: () => {
238
+ var n;
239
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
240
+ }
241
+ }), e.getCenterLeafHeaders = m(() => [e.getCenterFlatHeaders()], (n) => n.filter((t) => {
242
+ var o;
243
+ return !((o = t.subHeaders) != null && o.length);
244
+ }), {
245
+ key: process.env.NODE_ENV === "development" && "getCenterLeafHeaders",
246
+ debug: () => {
247
+ var n;
248
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
249
+ }
250
+ }), e.getLeftLeafHeaders = m(() => [e.getLeftFlatHeaders()], (n) => n.filter((t) => {
251
+ var o;
252
+ return !((o = t.subHeaders) != null && o.length);
253
+ }), {
254
+ key: process.env.NODE_ENV === "development" && "getLeftLeafHeaders",
255
+ debug: () => {
256
+ var n;
257
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
258
+ }
259
+ }), e.getRightLeafHeaders = m(() => [e.getRightFlatHeaders()], (n) => n.filter((t) => {
260
+ var o;
261
+ return !((o = t.subHeaders) != null && o.length);
262
+ }), {
263
+ key: process.env.NODE_ENV === "development" && "getRightLeafHeaders",
264
+ debug: () => {
265
+ var n;
266
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
267
+ }
268
+ }), e.getLeafHeaders = m(() => [e.getLeftHeaderGroups(), e.getCenterHeaderGroups(), e.getRightHeaderGroups()], (n, t, o) => {
269
+ var r, i, l, u, s, a;
270
+ return [...(r = (i = n[0]) == null ? void 0 : i.headers) != null ? r : [], ...(l = (u = t[0]) == null ? void 0 : u.headers) != null ? l : [], ...(s = (a = o[0]) == null ? void 0 : a.headers) != null ? s : []].map((g) => g.getLeafHeaders()).flat();
271
+ }, {
272
+ key: process.env.NODE_ENV === "development" && "getLeafHeaders",
273
+ debug: () => {
274
+ var n;
275
+ return (n = e.options.debugAll) != null ? n : e.options.debugHeaders;
276
+ }
277
+ });
278
+ }
279
+ };
280
+ function G(e, n, t, o) {
281
+ var r, i;
282
+ let l = 0;
283
+ const u = function(p, c) {
284
+ c === void 0 && (c = 1), l = Math.max(l, c), p.filter((f) => f.getIsVisible()).forEach((f) => {
285
+ var S;
286
+ (S = f.columns) != null && S.length && u(f.columns, c + 1);
287
+ }, 0);
288
+ };
289
+ u(e);
290
+ let s = [];
291
+ const a = (p, c) => {
292
+ const f = {
293
+ depth: c,
294
+ id: [o, `${c}`].filter(Boolean).join("_"),
295
+ headers: []
296
+ }, S = [];
297
+ p.forEach((C) => {
298
+ const v = [...S].reverse()[0], R = C.column.depth === f.depth;
299
+ let w, F = !1;
300
+ if (R && C.column.parent ? w = C.column.parent : (w = C.column, F = !0), v && v?.column === w)
301
+ v.subHeaders.push(C);
302
+ else {
303
+ const P = fe(t, w, {
304
+ id: [o, c, w.id, C?.id].filter(Boolean).join("_"),
305
+ isPlaceholder: F,
306
+ placeholderId: F ? `${S.filter((T) => T.column === w).length}` : void 0,
307
+ depth: c,
308
+ index: S.length
309
+ });
310
+ P.subHeaders.push(C), S.push(P);
311
+ }
312
+ f.headers.push(C), C.headerGroup = f;
313
+ }), s.push(f), c > 0 && a(S, c - 1);
314
+ }, g = n.map((p, c) => fe(t, p, {
315
+ depth: l,
316
+ index: c
317
+ }));
318
+ a(g, l - 1), s.reverse();
319
+ const d = (p) => p.filter((f) => f.column.getIsVisible()).map((f) => {
320
+ let S = 0, C = 0, v = [0];
321
+ f.subHeaders && f.subHeaders.length ? (v = [], d(f.subHeaders).forEach((w) => {
322
+ let {
323
+ colSpan: F,
324
+ rowSpan: P
325
+ } = w;
326
+ S += F, v.push(P);
327
+ })) : S = 1;
328
+ const R = Math.min(...v);
329
+ return C = C + R, f.colSpan = S, f.rowSpan = C, {
330
+ colSpan: S,
331
+ rowSpan: C
332
+ };
333
+ });
334
+ return d((r = (i = s[0]) == null ? void 0 : i.headers) != null ? r : []), s;
335
+ }
336
+ const L = {
337
+ size: 150,
338
+ minSize: 20,
339
+ maxSize: Number.MAX_SAFE_INTEGER
340
+ }, K = () => ({
341
+ startOffset: null,
342
+ startSize: null,
343
+ deltaOffset: null,
344
+ deltaPercentage: null,
345
+ isResizingColumn: !1,
346
+ columnSizingStart: []
347
+ }), Ke = {
348
+ getDefaultColumnDef: () => L,
349
+ getInitialState: (e) => ({
350
+ columnSizing: {},
351
+ columnSizingInfo: K(),
352
+ ...e
353
+ }),
354
+ getDefaultOptions: (e) => ({
355
+ columnResizeMode: "onEnd",
356
+ columnResizeDirection: "ltr",
357
+ onColumnSizingChange: $("columnSizing", e),
358
+ onColumnSizingInfoChange: $("columnSizingInfo", e)
359
+ }),
360
+ createColumn: (e, n) => {
361
+ e.getSize = () => {
362
+ var t, o, r;
363
+ const i = n.getState().columnSizing[e.id];
364
+ return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : L.minSize, (o = i ?? e.columnDef.size) != null ? o : L.size), (r = e.columnDef.maxSize) != null ? r : L.maxSize);
365
+ }, e.getStart = (t) => {
366
+ const o = t ? t === "left" ? n.getLeftVisibleLeafColumns() : n.getRightVisibleLeafColumns() : n.getVisibleLeafColumns(), r = o.findIndex((i) => i.id === e.id);
367
+ if (r > 0) {
368
+ const i = o[r - 1];
369
+ return i.getStart(t) + i.getSize();
370
+ }
371
+ return 0;
372
+ }, e.resetSize = () => {
373
+ n.setColumnSizing((t) => {
374
+ let {
375
+ [e.id]: o,
376
+ ...r
377
+ } = t;
378
+ return r;
379
+ });
380
+ }, e.getCanResize = () => {
381
+ var t, o;
382
+ return ((t = e.columnDef.enableResizing) != null ? t : !0) && ((o = n.options.enableColumnResizing) != null ? o : !0);
383
+ }, e.getIsResizing = () => n.getState().columnSizingInfo.isResizingColumn === e.id;
384
+ },
385
+ createHeader: (e, n) => {
386
+ e.getSize = () => {
387
+ let t = 0;
388
+ const o = (r) => {
389
+ if (r.subHeaders.length)
390
+ r.subHeaders.forEach(o);
391
+ else {
392
+ var i;
393
+ t += (i = r.column.getSize()) != null ? i : 0;
394
+ }
395
+ };
396
+ return o(e), t;
397
+ }, e.getStart = () => {
398
+ if (e.index > 0) {
399
+ const t = e.headerGroup.headers[e.index - 1];
400
+ return t.getStart() + t.getSize();
401
+ }
402
+ return 0;
403
+ }, e.getResizeHandler = (t) => {
404
+ const o = n.getColumn(e.column.id), r = o?.getCanResize();
405
+ return (i) => {
406
+ if (!o || !r || (i.persist == null || i.persist(), Y(i) && i.touches && i.touches.length > 1))
407
+ return;
408
+ const l = e.getSize(), u = e ? e.getLeafHeaders().map((v) => [v.column.id, v.column.getSize()]) : [[o.id, o.getSize()]], s = Y(i) ? Math.round(i.touches[0].clientX) : i.clientX, a = {}, g = (v, R) => {
409
+ typeof R == "number" && (n.setColumnSizingInfo((w) => {
410
+ var F, P;
411
+ const T = n.options.columnResizeDirection === "rtl" ? -1 : 1, ae = (R - ((F = w?.startOffset) != null ? F : 0)) * T, de = Math.max(ae / ((P = w?.startSize) != null ? P : 0), -0.999999);
412
+ return w.columnSizingStart.forEach((Me) => {
413
+ let [Ae, ce] = Me;
414
+ a[Ae] = Math.round(Math.max(ce + ce * de, 0) * 100) / 100;
415
+ }), {
416
+ ...w,
417
+ deltaOffset: ae,
418
+ deltaPercentage: de
419
+ };
420
+ }), (n.options.columnResizeMode === "onChange" || v === "end") && n.setColumnSizing((w) => ({
421
+ ...w,
422
+ ...a
423
+ })));
424
+ }, d = (v) => g("move", v), p = (v) => {
425
+ g("end", v), n.setColumnSizingInfo((R) => ({
426
+ ...R,
427
+ isResizingColumn: !1,
428
+ startOffset: null,
429
+ startSize: null,
430
+ deltaOffset: null,
431
+ deltaPercentage: null,
432
+ columnSizingStart: []
433
+ }));
434
+ }, c = t || typeof document < "u" ? document : null, f = {
435
+ moveHandler: (v) => d(v.clientX),
436
+ upHandler: (v) => {
437
+ c?.removeEventListener("mousemove", f.moveHandler), c?.removeEventListener("mouseup", f.upHandler), p(v.clientX);
438
+ }
439
+ }, S = {
440
+ moveHandler: (v) => (v.cancelable && (v.preventDefault(), v.stopPropagation()), d(v.touches[0].clientX), !1),
441
+ upHandler: (v) => {
442
+ var R;
443
+ c?.removeEventListener("touchmove", S.moveHandler), c?.removeEventListener("touchend", S.upHandler), v.cancelable && (v.preventDefault(), v.stopPropagation()), p((R = v.touches[0]) == null ? void 0 : R.clientX);
444
+ }
445
+ }, C = Ye() ? {
446
+ passive: !1
447
+ } : !1;
448
+ Y(i) ? (c?.addEventListener("touchmove", S.moveHandler, C), c?.addEventListener("touchend", S.upHandler, C)) : (c?.addEventListener("mousemove", f.moveHandler, C), c?.addEventListener("mouseup", f.upHandler, C)), n.setColumnSizingInfo((v) => ({
449
+ ...v,
450
+ startOffset: s,
451
+ startSize: l,
452
+ deltaOffset: 0,
453
+ deltaPercentage: 0,
454
+ columnSizingStart: u,
455
+ isResizingColumn: o.id
456
+ }));
457
+ };
458
+ };
459
+ },
460
+ createTable: (e) => {
461
+ e.setColumnSizing = (n) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(n), e.setColumnSizingInfo = (n) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(n), e.resetColumnSizing = (n) => {
462
+ var t;
463
+ e.setColumnSizing(n ? {} : (t = e.initialState.columnSizing) != null ? t : {});
464
+ }, e.resetHeaderSizeInfo = (n) => {
465
+ var t;
466
+ e.setColumnSizingInfo(n ? K() : (t = e.initialState.columnSizingInfo) != null ? t : K());
467
+ }, e.getTotalSize = () => {
468
+ var n, t;
469
+ return (n = (t = e.getHeaderGroups()[0]) == null ? void 0 : t.headers.reduce((o, r) => o + r.getSize(), 0)) != null ? n : 0;
470
+ }, e.getLeftTotalSize = () => {
471
+ var n, t;
472
+ return (n = (t = e.getLeftHeaderGroups()[0]) == null ? void 0 : t.headers.reduce((o, r) => o + r.getSize(), 0)) != null ? n : 0;
473
+ }, e.getCenterTotalSize = () => {
474
+ var n, t;
475
+ return (n = (t = e.getCenterHeaderGroups()[0]) == null ? void 0 : t.headers.reduce((o, r) => o + r.getSize(), 0)) != null ? n : 0;
476
+ }, e.getRightTotalSize = () => {
477
+ var n, t;
478
+ return (n = (t = e.getRightHeaderGroups()[0]) == null ? void 0 : t.headers.reduce((o, r) => o + r.getSize(), 0)) != null ? n : 0;
479
+ };
480
+ }
481
+ };
482
+ let z = null;
483
+ function Ye() {
484
+ if (typeof z == "boolean")
485
+ return z;
486
+ let e = !1;
487
+ try {
488
+ const n = {
489
+ get passive() {
490
+ return e = !0, !1;
491
+ }
492
+ }, t = () => {
493
+ };
494
+ window.addEventListener("test", t, n), window.removeEventListener("test", t);
495
+ } catch {
496
+ e = !1;
497
+ }
498
+ return z = e, z;
499
+ }
500
+ function Y(e) {
501
+ return e.type === "touchstart";
502
+ }
503
+ const Je = {
504
+ getInitialState: (e) => ({
505
+ expanded: {},
506
+ ...e
507
+ }),
508
+ getDefaultOptions: (e) => ({
509
+ onExpandedChange: $("expanded", e),
510
+ paginateExpandedRows: !0
511
+ }),
512
+ createTable: (e) => {
513
+ let n = !1, t = !1;
514
+ e._autoResetExpanded = () => {
515
+ var o, r;
516
+ if (!n) {
517
+ e._queue(() => {
518
+ n = !0;
519
+ });
520
+ return;
521
+ }
522
+ if ((o = (r = e.options.autoResetAll) != null ? r : e.options.autoResetExpanded) != null ? o : !e.options.manualExpanding) {
523
+ if (t)
524
+ return;
525
+ t = !0, e._queue(() => {
526
+ e.resetExpanded(), t = !1;
527
+ });
528
+ }
529
+ }, e.setExpanded = (o) => e.options.onExpandedChange == null ? void 0 : e.options.onExpandedChange(o), e.toggleAllRowsExpanded = (o) => {
530
+ o ?? !e.getIsAllRowsExpanded() ? e.setExpanded(!0) : e.setExpanded({});
531
+ }, e.resetExpanded = (o) => {
532
+ var r, i;
533
+ e.setExpanded(o ? {} : (r = (i = e.initialState) == null ? void 0 : i.expanded) != null ? r : {});
534
+ }, e.getCanSomeRowsExpand = () => e.getPrePaginationRowModel().flatRows.some((o) => o.getCanExpand()), e.getToggleAllRowsExpandedHandler = () => (o) => {
535
+ o.persist == null || o.persist(), e.toggleAllRowsExpanded();
536
+ }, e.getIsSomeRowsExpanded = () => {
537
+ const o = e.getState().expanded;
538
+ return o === !0 || Object.values(o).some(Boolean);
539
+ }, e.getIsAllRowsExpanded = () => {
540
+ const o = e.getState().expanded;
541
+ return typeof o == "boolean" ? o === !0 : !(!Object.keys(o).length || e.getRowModel().flatRows.some((r) => !r.getIsExpanded()));
542
+ }, e.getExpandedDepth = () => {
543
+ let o = 0;
544
+ return (e.getState().expanded === !0 ? Object.keys(e.getRowModel().rowsById) : Object.keys(e.getState().expanded)).forEach((i) => {
545
+ const l = i.split(".");
546
+ o = Math.max(o, l.length);
547
+ }), o;
548
+ }, e.getPreExpandedRowModel = () => e.getSortedRowModel(), e.getExpandedRowModel = () => (!e._getExpandedRowModel && e.options.getExpandedRowModel && (e._getExpandedRowModel = e.options.getExpandedRowModel(e)), e.options.manualExpanding || !e._getExpandedRowModel ? e.getPreExpandedRowModel() : e._getExpandedRowModel());
549
+ },
550
+ createRow: (e, n) => {
551
+ e.toggleExpanded = (t) => {
552
+ n.setExpanded((o) => {
553
+ var r;
554
+ const i = o === !0 ? !0 : !!(o != null && o[e.id]);
555
+ let l = {};
556
+ if (o === !0 ? Object.keys(n.getRowModel().rowsById).forEach((u) => {
557
+ l[u] = !0;
558
+ }) : l = o, t = (r = t) != null ? r : !i, !i && t)
559
+ return {
560
+ ...l,
561
+ [e.id]: !0
562
+ };
563
+ if (i && !t) {
564
+ const {
565
+ [e.id]: u,
566
+ ...s
567
+ } = l;
568
+ return s;
569
+ }
570
+ return o;
571
+ });
572
+ }, e.getIsExpanded = () => {
573
+ var t;
574
+ const o = n.getState().expanded;
575
+ return !!((t = n.options.getIsRowExpanded == null ? void 0 : n.options.getIsRowExpanded(e)) != null ? t : o === !0 || o?.[e.id]);
576
+ }, e.getCanExpand = () => {
577
+ var t, o, r;
578
+ return (t = n.options.getRowCanExpand == null ? void 0 : n.options.getRowCanExpand(e)) != null ? t : ((o = n.options.enableExpanding) != null ? o : !0) && !!((r = e.subRows) != null && r.length);
579
+ }, e.getIsAllParentsExpanded = () => {
580
+ let t = !0, o = e;
581
+ for (; t && o.parentId; )
582
+ o = n.getRow(o.parentId, !0), t = o.getIsExpanded();
583
+ return t;
584
+ }, e.getToggleExpandedHandler = () => {
585
+ const t = e.getCanExpand();
586
+ return () => {
587
+ t && e.toggleExpanded();
588
+ };
589
+ };
590
+ }
591
+ }, _e = (e, n, t) => {
592
+ var o;
593
+ const r = t.toLowerCase();
594
+ return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null || (o = o.toLowerCase()) == null) && o.includes(r));
595
+ };
596
+ _e.autoRemove = (e) => E(e);
597
+ const we = (e, n, t) => {
598
+ var o;
599
+ return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null) && o.includes(t));
600
+ };
601
+ we.autoRemove = (e) => E(e);
602
+ const Re = (e, n, t) => {
603
+ var o;
604
+ return ((o = e.getValue(n)) == null || (o = o.toString()) == null ? void 0 : o.toLowerCase()) === t?.toLowerCase();
605
+ };
606
+ Re.autoRemove = (e) => E(e);
607
+ const he = (e, n, t) => {
608
+ var o;
609
+ return (o = e.getValue(n)) == null ? void 0 : o.includes(t);
610
+ };
611
+ he.autoRemove = (e) => E(e) || !(e != null && e.length);
612
+ const $e = (e, n, t) => !t.some((o) => {
613
+ var r;
614
+ return !((r = e.getValue(n)) != null && r.includes(o));
615
+ });
616
+ $e.autoRemove = (e) => E(e) || !(e != null && e.length);
617
+ const Fe = (e, n, t) => t.some((o) => {
618
+ var r;
619
+ return (r = e.getValue(n)) == null ? void 0 : r.includes(o);
620
+ });
621
+ Fe.autoRemove = (e) => E(e) || !(e != null && e.length);
622
+ const Ve = (e, n, t) => e.getValue(n) === t;
623
+ Ve.autoRemove = (e) => E(e);
624
+ const Ee = (e, n, t) => e.getValue(n) == t;
625
+ Ee.autoRemove = (e) => E(e);
626
+ const ue = (e, n, t) => {
627
+ let [o, r] = t;
628
+ const i = e.getValue(n);
629
+ return i >= o && i <= r;
630
+ };
631
+ ue.resolveFilterValue = (e) => {
632
+ let [n, t] = e, o = typeof n != "number" ? parseFloat(n) : n, r = typeof t != "number" ? parseFloat(t) : t, i = n === null || Number.isNaN(o) ? -1 / 0 : o, l = t === null || Number.isNaN(r) ? 1 / 0 : r;
633
+ if (i > l) {
634
+ const u = i;
635
+ i = l, l = u;
636
+ }
637
+ return [i, l];
638
+ };
639
+ ue.autoRemove = (e) => E(e) || E(e[0]) && E(e[1]);
640
+ const A = {
641
+ includesString: _e,
642
+ includesStringSensitive: we,
643
+ equalsString: Re,
644
+ arrIncludes: he,
645
+ arrIncludesAll: $e,
646
+ arrIncludesSome: Fe,
647
+ equals: Ve,
648
+ weakEquals: Ee,
649
+ inNumberRange: ue
650
+ };
651
+ function E(e) {
652
+ return e == null || e === "";
653
+ }
654
+ const Qe = {
655
+ getDefaultColumnDef: () => ({
656
+ filterFn: "auto"
657
+ }),
658
+ getInitialState: (e) => ({
659
+ columnFilters: [],
660
+ globalFilter: void 0,
661
+ // filtersProgress: 1,
662
+ // facetProgress: {},
663
+ ...e
664
+ }),
665
+ getDefaultOptions: (e) => ({
666
+ onColumnFiltersChange: $("columnFilters", e),
667
+ onGlobalFilterChange: $("globalFilter", e),
668
+ filterFromLeafRows: !1,
669
+ maxLeafRowFilterDepth: 100,
670
+ globalFilterFn: "auto",
671
+ getColumnCanGlobalFilter: (n) => {
672
+ var t;
673
+ const o = (t = e.getCoreRowModel().flatRows[0]) == null || (t = t._getAllCellsByColumnId()[n.id]) == null ? void 0 : t.getValue();
674
+ return typeof o == "string" || typeof o == "number";
675
+ }
676
+ }),
677
+ createColumn: (e, n) => {
678
+ e.getAutoFilterFn = () => {
679
+ const t = n.getCoreRowModel().flatRows[0], o = t?.getValue(e.id);
680
+ return typeof o == "string" ? A.includesString : typeof o == "number" ? A.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? A.equals : Array.isArray(o) ? A.arrIncludes : A.weakEquals;
681
+ }, e.getFilterFn = () => {
682
+ var t, o;
683
+ return B(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
684
+ // @ts-ignore
685
+ (t = (o = n.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? t : A[e.columnDef.filterFn]
686
+ );
687
+ }, e.getCanFilter = () => {
688
+ var t, o, r;
689
+ return ((t = e.columnDef.enableColumnFilter) != null ? t : !0) && ((o = n.options.enableColumnFilters) != null ? o : !0) && ((r = n.options.enableFilters) != null ? r : !0) && !!e.accessorFn;
690
+ }, e.getCanGlobalFilter = () => {
691
+ var t, o, r, i;
692
+ return ((t = e.columnDef.enableGlobalFilter) != null ? t : !0) && ((o = n.options.enableGlobalFilter) != null ? o : !0) && ((r = n.options.enableFilters) != null ? r : !0) && ((i = n.options.getColumnCanGlobalFilter == null ? void 0 : n.options.getColumnCanGlobalFilter(e)) != null ? i : !0) && !!e.accessorFn;
693
+ }, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
694
+ var t;
695
+ return (t = n.getState().columnFilters) == null || (t = t.find((o) => o.id === e.id)) == null ? void 0 : t.value;
696
+ }, e.getFilterIndex = () => {
697
+ var t, o;
698
+ return (t = (o = n.getState().columnFilters) == null ? void 0 : o.findIndex((r) => r.id === e.id)) != null ? t : -1;
699
+ }, e.setFilterValue = (t) => {
700
+ n.setColumnFilters((o) => {
701
+ const r = e.getFilterFn(), i = o?.find((g) => g.id === e.id), l = y(t, i ? i.value : void 0);
702
+ if (me(r, l, e)) {
703
+ var u;
704
+ return (u = o?.filter((g) => g.id !== e.id)) != null ? u : [];
705
+ }
706
+ const s = {
707
+ id: e.id,
708
+ value: l
709
+ };
710
+ if (i) {
711
+ var a;
712
+ return (a = o?.map((g) => g.id === e.id ? s : g)) != null ? a : [];
713
+ }
714
+ return o != null && o.length ? [...o, s] : [s];
715
+ });
716
+ }, e._getFacetedRowModel = n.options.getFacetedRowModel && n.options.getFacetedRowModel(n, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : n.getPreFilteredRowModel(), e._getFacetedUniqueValues = n.options.getFacetedUniqueValues && n.options.getFacetedUniqueValues(n, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = n.options.getFacetedMinMaxValues && n.options.getFacetedMinMaxValues(n, e.id), e.getFacetedMinMaxValues = () => {
717
+ if (e._getFacetedMinMaxValues)
718
+ return e._getFacetedMinMaxValues();
719
+ };
720
+ },
721
+ createRow: (e, n) => {
722
+ e.columnFilters = {}, e.columnFiltersMeta = {};
723
+ },
724
+ createTable: (e) => {
725
+ e.getGlobalAutoFilterFn = () => A.includesString, e.getGlobalFilterFn = () => {
726
+ var n, t;
727
+ const {
728
+ globalFilterFn: o
729
+ } = e.options;
730
+ return B(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (
731
+ // @ts-ignore
732
+ (n = (t = e.options.filterFns) == null ? void 0 : t[o]) != null ? n : A[o]
733
+ );
734
+ }, e.setColumnFilters = (n) => {
735
+ const t = e.getAllLeafColumns(), o = (r) => {
736
+ var i;
737
+ return (i = y(n, r)) == null ? void 0 : i.filter((l) => {
738
+ const u = t.find((s) => s.id === l.id);
739
+ if (u) {
740
+ const s = u.getFilterFn();
741
+ if (me(s, l.value, u))
742
+ return !1;
743
+ }
744
+ return !0;
745
+ });
746
+ };
747
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange(o);
748
+ }, e.setGlobalFilter = (n) => {
749
+ e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(n);
750
+ }, e.resetGlobalFilter = (n) => {
751
+ e.setGlobalFilter(n ? void 0 : e.initialState.globalFilter);
752
+ }, e.resetColumnFilters = (n) => {
753
+ var t, o;
754
+ e.setColumnFilters(n ? [] : (t = (o = e.initialState) == null ? void 0 : o.columnFilters) != null ? t : []);
755
+ }, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel()), e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
756
+ if (e._getGlobalFacetedMinMaxValues)
757
+ return e._getGlobalFacetedMinMaxValues();
758
+ };
759
+ }
760
+ };
761
+ function me(e, n, t) {
762
+ return (e && e.autoRemove ? e.autoRemove(n, t) : !1) || typeof n > "u" || typeof n == "string" && !n;
763
+ }
764
+ const We = (e, n, t) => t.reduce((o, r) => {
765
+ const i = r.getValue(e);
766
+ return o + (typeof i == "number" ? i : 0);
767
+ }, 0), Ze = (e, n, t) => {
768
+ let o;
769
+ return t.forEach((r) => {
770
+ const i = r.getValue(e);
771
+ i != null && (o > i || o === void 0 && i >= i) && (o = i);
772
+ }), o;
773
+ }, et = (e, n, t) => {
774
+ let o;
775
+ return t.forEach((r) => {
776
+ const i = r.getValue(e);
777
+ i != null && (o < i || o === void 0 && i >= i) && (o = i);
778
+ }), o;
779
+ }, tt = (e, n, t) => {
780
+ let o, r;
781
+ return t.forEach((i) => {
782
+ const l = i.getValue(e);
783
+ l != null && (o === void 0 ? l >= l && (o = r = l) : (o > l && (o = l), r < l && (r = l)));
784
+ }), [o, r];
785
+ }, nt = (e, n) => {
786
+ let t = 0, o = 0;
787
+ if (n.forEach((r) => {
788
+ let i = r.getValue(e);
789
+ i != null && (i = +i) >= i && (++t, o += i);
790
+ }), t)
791
+ return o / t;
792
+ }, ot = (e, n) => {
793
+ if (!n.length)
794
+ return;
795
+ const t = n.map((i) => i.getValue(e));
796
+ if (!qe(t))
797
+ return;
798
+ if (t.length === 1)
799
+ return t[0];
800
+ const o = Math.floor(t.length / 2), r = t.sort((i, l) => i - l);
801
+ return t.length % 2 !== 0 ? r[o] : (r[o - 1] + r[o]) / 2;
802
+ }, rt = (e, n) => Array.from(new Set(n.map((t) => t.getValue(e))).values()), it = (e, n) => new Set(n.map((t) => t.getValue(e))).size, lt = (e, n) => n.length, J = {
803
+ sum: We,
804
+ min: Ze,
805
+ max: et,
806
+ extent: tt,
807
+ mean: nt,
808
+ median: ot,
809
+ unique: rt,
810
+ uniqueCount: it,
811
+ count: lt
812
+ }, ut = {
813
+ getDefaultColumnDef: () => ({
814
+ aggregatedCell: (e) => {
815
+ var n, t;
816
+ return (n = (t = e.getValue()) == null || t.toString == null ? void 0 : t.toString()) != null ? n : null;
817
+ },
818
+ aggregationFn: "auto"
819
+ }),
820
+ getInitialState: (e) => ({
821
+ grouping: [],
822
+ ...e
823
+ }),
824
+ getDefaultOptions: (e) => ({
825
+ onGroupingChange: $("grouping", e),
826
+ groupedColumnMode: "reorder"
827
+ }),
828
+ createColumn: (e, n) => {
829
+ e.toggleGrouping = () => {
830
+ n.setGrouping((t) => t != null && t.includes(e.id) ? t.filter((o) => o !== e.id) : [...t ?? [], e.id]);
831
+ }, e.getCanGroup = () => {
832
+ var t, o, r, i;
833
+ return (t = (o = (r = (i = e.columnDef.enableGrouping) != null ? i : !0) != null ? r : n.options.enableGrouping) != null ? o : !0) != null ? t : !!e.accessorFn;
834
+ }, e.getIsGrouped = () => {
835
+ var t;
836
+ return (t = n.getState().grouping) == null ? void 0 : t.includes(e.id);
837
+ }, e.getGroupedIndex = () => {
838
+ var t;
839
+ return (t = n.getState().grouping) == null ? void 0 : t.indexOf(e.id);
840
+ }, e.getToggleGroupingHandler = () => {
841
+ const t = e.getCanGroup();
842
+ return () => {
843
+ t && e.toggleGrouping();
844
+ };
845
+ }, e.getAutoAggregationFn = () => {
846
+ const t = n.getCoreRowModel().flatRows[0], o = t?.getValue(e.id);
847
+ if (typeof o == "number")
848
+ return J.sum;
849
+ if (Object.prototype.toString.call(o) === "[object Date]")
850
+ return J.extent;
851
+ }, e.getAggregationFn = () => {
852
+ var t, o;
853
+ if (!e)
854
+ throw new Error();
855
+ return B(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : (t = (o = n.options.aggregationFns) == null ? void 0 : o[e.columnDef.aggregationFn]) != null ? t : J[e.columnDef.aggregationFn];
856
+ };
857
+ },
858
+ createTable: (e) => {
859
+ e.setGrouping = (n) => e.options.onGroupingChange == null ? void 0 : e.options.onGroupingChange(n), e.resetGrouping = (n) => {
860
+ var t, o;
861
+ e.setGrouping(n ? [] : (t = (o = e.initialState) == null ? void 0 : o.grouping) != null ? t : []);
862
+ }, e.getPreGroupedRowModel = () => e.getFilteredRowModel(), e.getGroupedRowModel = () => (!e._getGroupedRowModel && e.options.getGroupedRowModel && (e._getGroupedRowModel = e.options.getGroupedRowModel(e)), e.options.manualGrouping || !e._getGroupedRowModel ? e.getPreGroupedRowModel() : e._getGroupedRowModel());
863
+ },
864
+ createRow: (e, n) => {
865
+ e.getIsGrouped = () => !!e.groupingColumnId, e.getGroupingValue = (t) => {
866
+ if (e._groupingValuesCache.hasOwnProperty(t))
867
+ return e._groupingValuesCache[t];
868
+ const o = n.getColumn(t);
869
+ return o != null && o.columnDef.getGroupingValue ? (e._groupingValuesCache[t] = o.columnDef.getGroupingValue(e.original), e._groupingValuesCache[t]) : e.getValue(t);
870
+ }, e._groupingValuesCache = {};
871
+ },
872
+ createCell: (e, n, t, o) => {
873
+ e.getIsGrouped = () => n.getIsGrouped() && n.id === t.groupingColumnId, e.getIsPlaceholder = () => !e.getIsGrouped() && n.getIsGrouped(), e.getIsAggregated = () => {
874
+ var r;
875
+ return !e.getIsGrouped() && !e.getIsPlaceholder() && !!((r = t.subRows) != null && r.length);
876
+ };
877
+ }
878
+ };
879
+ function st(e, n, t) {
880
+ if (!(n != null && n.length) || !t)
881
+ return e;
882
+ const o = e.filter((i) => !n.includes(i.id));
883
+ return t === "remove" ? o : [...n.map((i) => e.find((l) => l.id === i)).filter(Boolean), ...o];
884
+ }
885
+ const gt = {
886
+ getInitialState: (e) => ({
887
+ columnOrder: [],
888
+ ...e
889
+ }),
890
+ getDefaultOptions: (e) => ({
891
+ onColumnOrderChange: $("columnOrder", e)
892
+ }),
893
+ createTable: (e) => {
894
+ e.setColumnOrder = (n) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(n), e.resetColumnOrder = (n) => {
895
+ var t;
896
+ e.setColumnOrder(n ? [] : (t = e.initialState.columnOrder) != null ? t : []);
897
+ }, e._getOrderColumnsFn = m(() => [e.getState().columnOrder, e.getState().grouping, e.options.groupedColumnMode], (n, t, o) => (r) => {
898
+ let i = [];
899
+ if (!(n != null && n.length))
900
+ i = r;
901
+ else {
902
+ const l = [...n], u = [...r];
903
+ for (; u.length && l.length; ) {
904
+ const s = l.shift(), a = u.findIndex((g) => g.id === s);
905
+ a > -1 && i.push(u.splice(a, 1)[0]);
906
+ }
907
+ i = [...i, ...u];
908
+ }
909
+ return st(i, t, o);
910
+ }, {
911
+ key: process.env.NODE_ENV === "development" && "getOrderColumnsFn"
912
+ // debug: () => table.options.debugAll ?? table.options.debugTable,
913
+ });
914
+ }
915
+ }, ne = 0, oe = 10, Q = () => ({
916
+ pageIndex: ne,
917
+ pageSize: oe
918
+ }), at = {
919
+ getInitialState: (e) => ({
920
+ ...e,
921
+ pagination: {
922
+ ...Q(),
923
+ ...e?.pagination
924
+ }
925
+ }),
926
+ getDefaultOptions: (e) => ({
927
+ onPaginationChange: $("pagination", e)
928
+ }),
929
+ createTable: (e) => {
930
+ let n = !1, t = !1;
931
+ e._autoResetPageIndex = () => {
932
+ var o, r;
933
+ if (!n) {
934
+ e._queue(() => {
935
+ n = !0;
936
+ });
937
+ return;
938
+ }
939
+ if ((o = (r = e.options.autoResetAll) != null ? r : e.options.autoResetPageIndex) != null ? o : !e.options.manualPagination) {
940
+ if (t)
941
+ return;
942
+ t = !0, e._queue(() => {
943
+ e.resetPageIndex(), t = !1;
944
+ });
945
+ }
946
+ }, e.setPagination = (o) => {
947
+ const r = (i) => y(o, i);
948
+ return e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange(r);
949
+ }, e.resetPagination = (o) => {
950
+ var r;
951
+ e.setPagination(o ? Q() : (r = e.initialState.pagination) != null ? r : Q());
952
+ }, e.setPageIndex = (o) => {
953
+ e.setPagination((r) => {
954
+ let i = y(o, r.pageIndex);
955
+ const l = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
956
+ return i = Math.max(0, Math.min(i, l)), {
957
+ ...r,
958
+ pageIndex: i
959
+ };
960
+ });
961
+ }, e.resetPageIndex = (o) => {
962
+ var r, i;
963
+ e.setPageIndex(o ? ne : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageIndex) != null ? r : ne);
964
+ }, e.resetPageSize = (o) => {
965
+ var r, i;
966
+ e.setPageSize(o ? oe : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageSize) != null ? r : oe);
967
+ }, e.setPageSize = (o) => {
968
+ e.setPagination((r) => {
969
+ const i = Math.max(1, y(o, r.pageSize)), l = r.pageSize * r.pageIndex, u = Math.floor(l / i);
970
+ return {
971
+ ...r,
972
+ pageIndex: u,
973
+ pageSize: i
974
+ };
975
+ });
976
+ }, e.setPageCount = (o) => e.setPagination((r) => {
977
+ var i;
978
+ let l = y(o, (i = e.options.pageCount) != null ? i : -1);
979
+ return typeof l == "number" && (l = Math.max(-1, l)), {
980
+ ...r,
981
+ pageCount: l
982
+ };
983
+ }), e.getPageOptions = m(() => [e.getPageCount()], (o) => {
984
+ let r = [];
985
+ return o && o > 0 && (r = [...new Array(o)].fill(null).map((i, l) => l)), r;
986
+ }, {
987
+ key: process.env.NODE_ENV === "development" && "getPageOptions",
988
+ debug: () => {
989
+ var o;
990
+ return (o = e.options.debugAll) != null ? o : e.options.debugTable;
991
+ }
992
+ }), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
993
+ const {
994
+ pageIndex: o
995
+ } = e.getState().pagination, r = e.getPageCount();
996
+ return r === -1 ? !0 : r === 0 ? !1 : o < r - 1;
997
+ }, e.previousPage = () => e.setPageIndex((o) => o - 1), e.nextPage = () => e.setPageIndex((o) => o + 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => {
998
+ var o;
999
+ return (o = e.options.pageCount) != null ? o : Math.ceil(e.getPrePaginationRowModel().rows.length / e.getState().pagination.pageSize);
1000
+ };
1001
+ }
1002
+ }, W = () => ({
1003
+ left: [],
1004
+ right: []
1005
+ }), Z = () => ({
1006
+ top: [],
1007
+ bottom: []
1008
+ }), dt = {
1009
+ getInitialState: (e) => ({
1010
+ columnPinning: W(),
1011
+ rowPinning: Z(),
1012
+ ...e
1013
+ }),
1014
+ getDefaultOptions: (e) => ({
1015
+ onColumnPinningChange: $("columnPinning", e),
1016
+ onRowPinningChange: $("rowPinning", e)
1017
+ }),
1018
+ createColumn: (e, n) => {
1019
+ e.pin = (t) => {
1020
+ const o = e.getLeafColumns().map((r) => r.id).filter(Boolean);
1021
+ n.setColumnPinning((r) => {
1022
+ var i, l;
1023
+ if (t === "right") {
1024
+ var u, s;
1025
+ return {
1026
+ left: ((u = r?.left) != null ? u : []).filter((d) => !(o != null && o.includes(d))),
1027
+ right: [...((s = r?.right) != null ? s : []).filter((d) => !(o != null && o.includes(d))), ...o]
1028
+ };
1029
+ }
1030
+ if (t === "left") {
1031
+ var a, g;
1032
+ return {
1033
+ left: [...((a = r?.left) != null ? a : []).filter((d) => !(o != null && o.includes(d))), ...o],
1034
+ right: ((g = r?.right) != null ? g : []).filter((d) => !(o != null && o.includes(d)))
1035
+ };
1036
+ }
1037
+ return {
1038
+ left: ((i = r?.left) != null ? i : []).filter((d) => !(o != null && o.includes(d))),
1039
+ right: ((l = r?.right) != null ? l : []).filter((d) => !(o != null && o.includes(d)))
1040
+ };
1041
+ });
1042
+ }, e.getCanPin = () => e.getLeafColumns().some((o) => {
1043
+ var r, i, l;
1044
+ return ((r = o.columnDef.enablePinning) != null ? r : !0) && ((i = (l = n.options.enableColumnPinning) != null ? l : n.options.enablePinning) != null ? i : !0);
1045
+ }), e.getIsPinned = () => {
1046
+ const t = e.getLeafColumns().map((u) => u.id), {
1047
+ left: o,
1048
+ right: r
1049
+ } = n.getState().columnPinning, i = t.some((u) => o?.includes(u)), l = t.some((u) => r?.includes(u));
1050
+ return i ? "left" : l ? "right" : !1;
1051
+ }, e.getPinnedIndex = () => {
1052
+ var t, o;
1053
+ const r = e.getIsPinned();
1054
+ return r ? (t = (o = n.getState().columnPinning) == null || (o = o[r]) == null ? void 0 : o.indexOf(e.id)) != null ? t : -1 : 0;
1055
+ };
1056
+ },
1057
+ createRow: (e, n) => {
1058
+ e.pin = (t, o, r) => {
1059
+ const i = o ? e.getLeafRows().map((s) => {
1060
+ let {
1061
+ id: a
1062
+ } = s;
1063
+ return a;
1064
+ }) : [], l = r ? e.getParentRows().map((s) => {
1065
+ let {
1066
+ id: a
1067
+ } = s;
1068
+ return a;
1069
+ }) : [], u = /* @__PURE__ */ new Set([...l, e.id, ...i]);
1070
+ n.setRowPinning((s) => {
1071
+ var a, g;
1072
+ if (t === "bottom") {
1073
+ var d, p;
1074
+ return {
1075
+ top: ((d = s?.top) != null ? d : []).filter((S) => !(u != null && u.has(S))),
1076
+ bottom: [...((p = s?.bottom) != null ? p : []).filter((S) => !(u != null && u.has(S))), ...Array.from(u)]
1077
+ };
1078
+ }
1079
+ if (t === "top") {
1080
+ var c, f;
1081
+ return {
1082
+ top: [...((c = s?.top) != null ? c : []).filter((S) => !(u != null && u.has(S))), ...Array.from(u)],
1083
+ bottom: ((f = s?.bottom) != null ? f : []).filter((S) => !(u != null && u.has(S)))
1084
+ };
1085
+ }
1086
+ return {
1087
+ top: ((a = s?.top) != null ? a : []).filter((S) => !(u != null && u.has(S))),
1088
+ bottom: ((g = s?.bottom) != null ? g : []).filter((S) => !(u != null && u.has(S)))
1089
+ };
1090
+ });
1091
+ }, e.getCanPin = () => {
1092
+ var t;
1093
+ const {
1094
+ enableRowPinning: o,
1095
+ enablePinning: r
1096
+ } = n.options;
1097
+ return typeof o == "function" ? o(e) : (t = o ?? r) != null ? t : !0;
1098
+ }, e.getIsPinned = () => {
1099
+ const t = [e.id], {
1100
+ top: o,
1101
+ bottom: r
1102
+ } = n.getState().rowPinning, i = t.some((u) => o?.includes(u)), l = t.some((u) => r?.includes(u));
1103
+ return i ? "top" : l ? "bottom" : !1;
1104
+ }, e.getPinnedIndex = () => {
1105
+ var t, o;
1106
+ const r = e.getIsPinned();
1107
+ if (!r)
1108
+ return -1;
1109
+ const i = (t = n._getPinnedRows(r)) == null ? void 0 : t.map((l) => {
1110
+ let {
1111
+ id: u
1112
+ } = l;
1113
+ return u;
1114
+ });
1115
+ return (o = i?.indexOf(e.id)) != null ? o : -1;
1116
+ }, e.getCenterVisibleCells = m(() => [e._getAllVisibleCells(), n.getState().columnPinning.left, n.getState().columnPinning.right], (t, o, r) => {
1117
+ const i = [...o ?? [], ...r ?? []];
1118
+ return t.filter((l) => !i.includes(l.column.id));
1119
+ }, {
1120
+ key: process.env.NODE_ENV === "development" && "row.getCenterVisibleCells",
1121
+ debug: () => {
1122
+ var t;
1123
+ return (t = n.options.debugAll) != null ? t : n.options.debugRows;
1124
+ }
1125
+ }), e.getLeftVisibleCells = m(() => [e._getAllVisibleCells(), n.getState().columnPinning.left, ,], (t, o) => (o ?? []).map((i) => t.find((l) => l.column.id === i)).filter(Boolean).map((i) => ({
1126
+ ...i,
1127
+ position: "left"
1128
+ })), {
1129
+ key: process.env.NODE_ENV === "development" && "row.getLeftVisibleCells",
1130
+ debug: () => {
1131
+ var t;
1132
+ return (t = n.options.debugAll) != null ? t : n.options.debugRows;
1133
+ }
1134
+ }), e.getRightVisibleCells = m(() => [e._getAllVisibleCells(), n.getState().columnPinning.right], (t, o) => (o ?? []).map((i) => t.find((l) => l.column.id === i)).filter(Boolean).map((i) => ({
1135
+ ...i,
1136
+ position: "right"
1137
+ })), {
1138
+ key: process.env.NODE_ENV === "development" && "row.getRightVisibleCells",
1139
+ debug: () => {
1140
+ var t;
1141
+ return (t = n.options.debugAll) != null ? t : n.options.debugRows;
1142
+ }
1143
+ });
1144
+ },
1145
+ createTable: (e) => {
1146
+ e.setColumnPinning = (n) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(n), e.resetColumnPinning = (n) => {
1147
+ var t, o;
1148
+ return e.setColumnPinning(n ? W() : (t = (o = e.initialState) == null ? void 0 : o.columnPinning) != null ? t : W());
1149
+ }, e.getIsSomeColumnsPinned = (n) => {
1150
+ var t;
1151
+ const o = e.getState().columnPinning;
1152
+ if (!n) {
1153
+ var r, i;
1154
+ return !!((r = o.left) != null && r.length || (i = o.right) != null && i.length);
1155
+ }
1156
+ return !!((t = o[n]) != null && t.length);
1157
+ }, e.getLeftLeafColumns = m(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (n, t) => (t ?? []).map((o) => n.find((r) => r.id === o)).filter(Boolean), {
1158
+ key: process.env.NODE_ENV === "development" && "getLeftLeafColumns",
1159
+ debug: () => {
1160
+ var n;
1161
+ return (n = e.options.debugAll) != null ? n : e.options.debugColumns;
1162
+ }
1163
+ }), e.getRightLeafColumns = m(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (n, t) => (t ?? []).map((o) => n.find((r) => r.id === o)).filter(Boolean), {
1164
+ key: process.env.NODE_ENV === "development" && "getRightLeafColumns",
1165
+ debug: () => {
1166
+ var n;
1167
+ return (n = e.options.debugAll) != null ? n : e.options.debugColumns;
1168
+ }
1169
+ }), e.getCenterLeafColumns = m(() => [e.getAllLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (n, t, o) => {
1170
+ const r = [...t ?? [], ...o ?? []];
1171
+ return n.filter((i) => !r.includes(i.id));
1172
+ }, {
1173
+ key: process.env.NODE_ENV === "development" && "getCenterLeafColumns",
1174
+ debug: () => {
1175
+ var n;
1176
+ return (n = e.options.debugAll) != null ? n : e.options.debugColumns;
1177
+ }
1178
+ }), e.setRowPinning = (n) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(n), e.resetRowPinning = (n) => {
1179
+ var t, o;
1180
+ return e.setRowPinning(n ? Z() : (t = (o = e.initialState) == null ? void 0 : o.rowPinning) != null ? t : Z());
1181
+ }, e.getIsSomeRowsPinned = (n) => {
1182
+ var t;
1183
+ const o = e.getState().rowPinning;
1184
+ if (!n) {
1185
+ var r, i;
1186
+ return !!((r = o.top) != null && r.length || (i = o.bottom) != null && i.length);
1187
+ }
1188
+ return !!((t = o[n]) != null && t.length);
1189
+ }, e._getPinnedRows = (n) => m(() => [e.getRowModel().rows, e.getState().rowPinning[n]], (t, o) => {
1190
+ var r;
1191
+ return ((r = e.options.keepPinnedRows) == null || r ? (
1192
+ //get all rows that are pinned even if they would not be otherwise visible
1193
+ //account for expanded parent rows, but not pagination or filtering
1194
+ (o ?? []).map((l) => {
1195
+ const u = e.getRow(l, !0);
1196
+ return u.getIsAllParentsExpanded() ? u : null;
1197
+ })
1198
+ ) : (
1199
+ //else get only visible rows that are pinned
1200
+ (o ?? []).map((l) => t.find((u) => u.id === l))
1201
+ )).filter(Boolean).map((l) => ({
1202
+ ...l,
1203
+ position: n
1204
+ }));
1205
+ }, {
1206
+ key: process.env.NODE_ENV === "development" && `row.get${n === "top" ? "Top" : "Bottom"}Rows`,
1207
+ debug: () => {
1208
+ var t;
1209
+ return (t = e.options.debugAll) != null ? t : e.options.debugRows;
1210
+ }
1211
+ })(), e.getTopRows = () => e._getPinnedRows("top"), e.getBottomRows = () => e._getPinnedRows("bottom"), e.getCenterRows = m(() => [e.getRowModel().rows, e.getState().rowPinning.top, e.getState().rowPinning.bottom], (n, t, o) => {
1212
+ const r = /* @__PURE__ */ new Set([...t ?? [], ...o ?? []]);
1213
+ return n.filter((i) => !r.has(i.id));
1214
+ }, {
1215
+ key: process.env.NODE_ENV === "development" && "row.getCenterRows",
1216
+ debug: () => {
1217
+ var n;
1218
+ return (n = e.options.debugAll) != null ? n : e.options.debugRows;
1219
+ }
1220
+ });
1221
+ }
1222
+ }, ct = {
1223
+ getInitialState: (e) => ({
1224
+ rowSelection: {},
1225
+ ...e
1226
+ }),
1227
+ getDefaultOptions: (e) => ({
1228
+ onRowSelectionChange: $("rowSelection", e),
1229
+ enableRowSelection: !0,
1230
+ enableMultiRowSelection: !0,
1231
+ enableSubRowSelection: !0
1232
+ // enableGroupingRowSelection: false,
1233
+ // isAdditiveSelectEvent: (e: unknown) => !!e.metaKey,
1234
+ // isInclusiveSelectEvent: (e: unknown) => !!e.shiftKey,
1235
+ }),
1236
+ createTable: (e) => {
1237
+ e.setRowSelection = (n) => e.options.onRowSelectionChange == null ? void 0 : e.options.onRowSelectionChange(n), e.resetRowSelection = (n) => {
1238
+ var t;
1239
+ return e.setRowSelection(n ? {} : (t = e.initialState.rowSelection) != null ? t : {});
1240
+ }, e.toggleAllRowsSelected = (n) => {
1241
+ e.setRowSelection((t) => {
1242
+ n = typeof n < "u" ? n : !e.getIsAllRowsSelected();
1243
+ const o = {
1244
+ ...t
1245
+ }, r = e.getPreGroupedRowModel().flatRows;
1246
+ return n ? r.forEach((i) => {
1247
+ i.getCanSelect() && (o[i.id] = !0);
1248
+ }) : r.forEach((i) => {
1249
+ delete o[i.id];
1250
+ }), o;
1251
+ });
1252
+ }, e.toggleAllPageRowsSelected = (n) => e.setRowSelection((t) => {
1253
+ const o = typeof n < "u" ? n : !e.getIsAllPageRowsSelected(), r = {
1254
+ ...t
1255
+ };
1256
+ return e.getRowModel().rows.forEach((i) => {
1257
+ re(r, i.id, o, !0, e);
1258
+ }), r;
1259
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = m(() => [e.getState().rowSelection, e.getCoreRowModel()], (n, t) => Object.keys(n).length ? ee(e, t) : {
1260
+ rows: [],
1261
+ flatRows: [],
1262
+ rowsById: {}
1263
+ }, {
1264
+ key: process.env.NODE_ENV === "development" && "getSelectedRowModel",
1265
+ debug: () => {
1266
+ var n;
1267
+ return (n = e.options.debugAll) != null ? n : e.options.debugTable;
1268
+ }
1269
+ }), e.getFilteredSelectedRowModel = m(() => [e.getState().rowSelection, e.getFilteredRowModel()], (n, t) => Object.keys(n).length ? ee(e, t) : {
1270
+ rows: [],
1271
+ flatRows: [],
1272
+ rowsById: {}
1273
+ }, {
1274
+ key: process.env.NODE_ENV === "production" && "getFilteredSelectedRowModel",
1275
+ debug: () => {
1276
+ var n;
1277
+ return (n = e.options.debugAll) != null ? n : e.options.debugTable;
1278
+ }
1279
+ }), e.getGroupedSelectedRowModel = m(() => [e.getState().rowSelection, e.getSortedRowModel()], (n, t) => Object.keys(n).length ? ee(e, t) : {
1280
+ rows: [],
1281
+ flatRows: [],
1282
+ rowsById: {}
1283
+ }, {
1284
+ key: process.env.NODE_ENV === "production" && "getGroupedSelectedRowModel",
1285
+ debug: () => {
1286
+ var n;
1287
+ return (n = e.options.debugAll) != null ? n : e.options.debugTable;
1288
+ }
1289
+ }), e.getIsAllRowsSelected = () => {
1290
+ const n = e.getFilteredRowModel().flatRows, {
1291
+ rowSelection: t
1292
+ } = e.getState();
1293
+ let o = !!(n.length && Object.keys(t).length);
1294
+ return o && n.some((r) => r.getCanSelect() && !t[r.id]) && (o = !1), o;
1295
+ }, e.getIsAllPageRowsSelected = () => {
1296
+ const n = e.getPaginationRowModel().flatRows.filter((r) => r.getCanSelect()), {
1297
+ rowSelection: t
1298
+ } = e.getState();
1299
+ let o = !!n.length;
1300
+ return o && n.some((r) => !t[r.id]) && (o = !1), o;
1301
+ }, e.getIsSomeRowsSelected = () => {
1302
+ var n;
1303
+ const t = Object.keys((n = e.getState().rowSelection) != null ? n : {}).length;
1304
+ return t > 0 && t < e.getFilteredRowModel().flatRows.length;
1305
+ }, e.getIsSomePageRowsSelected = () => {
1306
+ const n = e.getPaginationRowModel().flatRows;
1307
+ return e.getIsAllPageRowsSelected() ? !1 : n.filter((t) => t.getCanSelect()).some((t) => t.getIsSelected() || t.getIsSomeSelected());
1308
+ }, e.getToggleAllRowsSelectedHandler = () => (n) => {
1309
+ e.toggleAllRowsSelected(n.target.checked);
1310
+ }, e.getToggleAllPageRowsSelectedHandler = () => (n) => {
1311
+ e.toggleAllPageRowsSelected(n.target.checked);
1312
+ };
1313
+ },
1314
+ createRow: (e, n) => {
1315
+ e.toggleSelected = (t, o) => {
1316
+ const r = e.getIsSelected();
1317
+ n.setRowSelection((i) => {
1318
+ var l;
1319
+ if (t = typeof t < "u" ? t : !r, e.getCanSelect() && r === t)
1320
+ return i;
1321
+ const u = {
1322
+ ...i
1323
+ };
1324
+ return re(u, e.id, t, (l = o?.selectChildren) != null ? l : !0, n), u;
1325
+ });
1326
+ }, e.getIsSelected = () => {
1327
+ const {
1328
+ rowSelection: t
1329
+ } = n.getState();
1330
+ return se(e, t);
1331
+ }, e.getIsSomeSelected = () => {
1332
+ const {
1333
+ rowSelection: t
1334
+ } = n.getState();
1335
+ return ie(e, t) === "some";
1336
+ }, e.getIsAllSubRowsSelected = () => {
1337
+ const {
1338
+ rowSelection: t
1339
+ } = n.getState();
1340
+ return ie(e, t) === "all";
1341
+ }, e.getCanSelect = () => {
1342
+ var t;
1343
+ return typeof n.options.enableRowSelection == "function" ? n.options.enableRowSelection(e) : (t = n.options.enableRowSelection) != null ? t : !0;
1344
+ }, e.getCanSelectSubRows = () => {
1345
+ var t;
1346
+ return typeof n.options.enableSubRowSelection == "function" ? n.options.enableSubRowSelection(e) : (t = n.options.enableSubRowSelection) != null ? t : !0;
1347
+ }, e.getCanMultiSelect = () => {
1348
+ var t;
1349
+ return typeof n.options.enableMultiRowSelection == "function" ? n.options.enableMultiRowSelection(e) : (t = n.options.enableMultiRowSelection) != null ? t : !0;
1350
+ }, e.getToggleSelectedHandler = () => {
1351
+ const t = e.getCanSelect();
1352
+ return (o) => {
1353
+ var r;
1354
+ t && e.toggleSelected((r = o.target) == null ? void 0 : r.checked);
1355
+ };
1356
+ };
1357
+ }
1358
+ }, re = (e, n, t, o, r) => {
1359
+ var i;
1360
+ const l = r.getRow(n, !0);
1361
+ t ? (l.getCanMultiSelect() || Object.keys(e).forEach((u) => delete e[u]), l.getCanSelect() && (e[n] = !0)) : delete e[n], o && (i = l.subRows) != null && i.length && l.getCanSelectSubRows() && l.subRows.forEach((u) => re(e, u.id, t, o, r));
1362
+ };
1363
+ function ee(e, n) {
1364
+ const t = e.getState().rowSelection, o = [], r = {}, i = function(l, u) {
1365
+ return l.map((s) => {
1366
+ var a;
1367
+ const g = se(s, t);
1368
+ if (g && (o.push(s), r[s.id] = s), (a = s.subRows) != null && a.length && (s = {
1369
+ ...s,
1370
+ subRows: i(s.subRows)
1371
+ }), g)
1372
+ return s;
1373
+ }).filter(Boolean);
1374
+ };
1375
+ return {
1376
+ rows: i(n.rows),
1377
+ flatRows: o,
1378
+ rowsById: r
1379
+ };
1380
+ }
1381
+ function se(e, n) {
1382
+ var t;
1383
+ return (t = n[e.id]) != null ? t : !1;
1384
+ }
1385
+ function ie(e, n, t) {
1386
+ var o;
1387
+ if (!((o = e.subRows) != null && o.length))
1388
+ return !1;
1389
+ let r = !0, i = !1;
1390
+ return e.subRows.forEach((l) => {
1391
+ if (!(i && !r) && (l.getCanSelect() && (se(l, n) ? i = !0 : r = !1), l.subRows && l.subRows.length)) {
1392
+ const u = ie(l, n);
1393
+ u === "all" ? i = !0 : (u === "some" && (i = !0), r = !1);
1394
+ }
1395
+ }), r ? "all" : i ? "some" : !1;
1396
+ }
1397
+ const le = /([0-9]+)/gm, pt = (e, n, t) => Pe(x(e.getValue(t)).toLowerCase(), x(n.getValue(t)).toLowerCase()), ft = (e, n, t) => Pe(x(e.getValue(t)), x(n.getValue(t))), mt = (e, n, t) => ge(x(e.getValue(t)).toLowerCase(), x(n.getValue(t)).toLowerCase()), St = (e, n, t) => ge(x(e.getValue(t)), x(n.getValue(t))), vt = (e, n, t) => {
1398
+ const o = e.getValue(t), r = n.getValue(t);
1399
+ return o > r ? 1 : o < r ? -1 : 0;
1400
+ }, Ct = (e, n, t) => ge(e.getValue(t), n.getValue(t));
1401
+ function ge(e, n) {
1402
+ return e === n ? 0 : e > n ? 1 : -1;
1403
+ }
1404
+ function x(e) {
1405
+ return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
1406
+ }
1407
+ function Pe(e, n) {
1408
+ const t = e.split(le).filter(Boolean), o = n.split(le).filter(Boolean);
1409
+ for (; t.length && o.length; ) {
1410
+ const r = t.shift(), i = o.shift(), l = parseInt(r, 10), u = parseInt(i, 10), s = [l, u].sort();
1411
+ if (isNaN(s[0])) {
1412
+ if (r > i)
1413
+ return 1;
1414
+ if (i > r)
1415
+ return -1;
1416
+ continue;
1417
+ }
1418
+ if (isNaN(s[1]))
1419
+ return isNaN(l) ? -1 : 1;
1420
+ if (l > u)
1421
+ return 1;
1422
+ if (u > l)
1423
+ return -1;
1424
+ }
1425
+ return t.length - o.length;
1426
+ }
1427
+ const D = {
1428
+ alphanumeric: pt,
1429
+ alphanumericCaseSensitive: ft,
1430
+ text: mt,
1431
+ textCaseSensitive: St,
1432
+ datetime: vt,
1433
+ basic: Ct
1434
+ }, _t = {
1435
+ getInitialState: (e) => ({
1436
+ sorting: [],
1437
+ ...e
1438
+ }),
1439
+ getDefaultColumnDef: () => ({
1440
+ sortingFn: "auto",
1441
+ sortUndefined: 1
1442
+ }),
1443
+ getDefaultOptions: (e) => ({
1444
+ onSortingChange: $("sorting", e),
1445
+ isMultiSortEvent: (n) => n.shiftKey
1446
+ }),
1447
+ createColumn: (e, n) => {
1448
+ e.getAutoSortingFn = () => {
1449
+ const t = n.getFilteredRowModel().flatRows.slice(10);
1450
+ let o = !1;
1451
+ for (const r of t) {
1452
+ const i = r?.getValue(e.id);
1453
+ if (Object.prototype.toString.call(i) === "[object Date]")
1454
+ return D.datetime;
1455
+ if (typeof i == "string" && (o = !0, i.split(le).length > 1))
1456
+ return D.alphanumeric;
1457
+ }
1458
+ return o ? D.text : D.basic;
1459
+ }, e.getAutoSortDir = () => {
1460
+ const t = n.getFilteredRowModel().flatRows[0];
1461
+ return typeof t?.getValue(e.id) == "string" ? "asc" : "desc";
1462
+ }, e.getSortingFn = () => {
1463
+ var t, o;
1464
+ if (!e)
1465
+ throw new Error();
1466
+ return B(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (t = (o = n.options.sortingFns) == null ? void 0 : o[e.columnDef.sortingFn]) != null ? t : D[e.columnDef.sortingFn];
1467
+ }, e.toggleSorting = (t, o) => {
1468
+ const r = e.getNextSortingOrder(), i = typeof t < "u" && t !== null;
1469
+ n.setSorting((l) => {
1470
+ const u = l?.find((c) => c.id === e.id), s = l?.findIndex((c) => c.id === e.id);
1471
+ let a = [], g, d = i ? t : r === "desc";
1472
+ if (l != null && l.length && e.getCanMultiSort() && o ? u ? g = "toggle" : g = "add" : l != null && l.length && s !== l.length - 1 ? g = "replace" : u ? g = "toggle" : g = "replace", g === "toggle" && (i || r || (g = "remove")), g === "add") {
1473
+ var p;
1474
+ a = [...l, {
1475
+ id: e.id,
1476
+ desc: d
1477
+ }], a.splice(0, a.length - ((p = n.options.maxMultiSortColCount) != null ? p : Number.MAX_SAFE_INTEGER));
1478
+ } else
1479
+ g === "toggle" ? a = l.map((c) => c.id === e.id ? {
1480
+ ...c,
1481
+ desc: d
1482
+ } : c) : g === "remove" ? a = l.filter((c) => c.id !== e.id) : a = [{
1483
+ id: e.id,
1484
+ desc: d
1485
+ }];
1486
+ return a;
1487
+ });
1488
+ }, e.getFirstSortDir = () => {
1489
+ var t, o;
1490
+ return ((t = (o = e.columnDef.sortDescFirst) != null ? o : n.options.sortDescFirst) != null ? t : e.getAutoSortDir() === "desc") ? "desc" : "asc";
1491
+ }, e.getNextSortingOrder = (t) => {
1492
+ var o, r;
1493
+ const i = e.getFirstSortDir(), l = e.getIsSorted();
1494
+ return l ? l !== i && ((o = n.options.enableSortingRemoval) == null || o) && // If enableSortRemove, enable in general
1495
+ (!(t && (r = n.options.enableMultiRemove) != null) || r) ? !1 : l === "desc" ? "asc" : "desc" : i;
1496
+ }, e.getCanSort = () => {
1497
+ var t, o;
1498
+ return ((t = e.columnDef.enableSorting) != null ? t : !0) && ((o = n.options.enableSorting) != null ? o : !0) && !!e.accessorFn;
1499
+ }, e.getCanMultiSort = () => {
1500
+ var t, o;
1501
+ return (t = (o = e.columnDef.enableMultiSort) != null ? o : n.options.enableMultiSort) != null ? t : !!e.accessorFn;
1502
+ }, e.getIsSorted = () => {
1503
+ var t;
1504
+ const o = (t = n.getState().sorting) == null ? void 0 : t.find((r) => r.id === e.id);
1505
+ return o ? o.desc ? "desc" : "asc" : !1;
1506
+ }, e.getSortIndex = () => {
1507
+ var t, o;
1508
+ return (t = (o = n.getState().sorting) == null ? void 0 : o.findIndex((r) => r.id === e.id)) != null ? t : -1;
1509
+ }, e.clearSorting = () => {
1510
+ n.setSorting((t) => t != null && t.length ? t.filter((o) => o.id !== e.id) : []);
1511
+ }, e.getToggleSortingHandler = () => {
1512
+ const t = e.getCanSort();
1513
+ return (o) => {
1514
+ t && (o.persist == null || o.persist(), e.toggleSorting == null || e.toggleSorting(void 0, e.getCanMultiSort() ? n.options.isMultiSortEvent == null ? void 0 : n.options.isMultiSortEvent(o) : !1));
1515
+ };
1516
+ };
1517
+ },
1518
+ createTable: (e) => {
1519
+ e.setSorting = (n) => e.options.onSortingChange == null ? void 0 : e.options.onSortingChange(n), e.resetSorting = (n) => {
1520
+ var t, o;
1521
+ e.setSorting(n ? [] : (t = (o = e.initialState) == null ? void 0 : o.sorting) != null ? t : []);
1522
+ }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
1523
+ }
1524
+ }, wt = {
1525
+ getInitialState: (e) => ({
1526
+ columnVisibility: {},
1527
+ ...e
1528
+ }),
1529
+ getDefaultOptions: (e) => ({
1530
+ onColumnVisibilityChange: $("columnVisibility", e)
1531
+ }),
1532
+ createColumn: (e, n) => {
1533
+ e.toggleVisibility = (t) => {
1534
+ e.getCanHide() && n.setColumnVisibility((o) => ({
1535
+ ...o,
1536
+ [e.id]: t ?? !e.getIsVisible()
1537
+ }));
1538
+ }, e.getIsVisible = () => {
1539
+ var t, o;
1540
+ return (t = (o = n.getState().columnVisibility) == null ? void 0 : o[e.id]) != null ? t : !0;
1541
+ }, e.getCanHide = () => {
1542
+ var t, o;
1543
+ return ((t = e.columnDef.enableHiding) != null ? t : !0) && ((o = n.options.enableHiding) != null ? o : !0);
1544
+ }, e.getToggleVisibilityHandler = () => (t) => {
1545
+ e.toggleVisibility == null || e.toggleVisibility(t.target.checked);
1546
+ };
1547
+ },
1548
+ createRow: (e, n) => {
1549
+ e._getAllVisibleCells = m(() => [e.getAllCells(), n.getState().columnVisibility], (t) => t.filter((o) => o.column.getIsVisible()), {
1550
+ key: process.env.NODE_ENV === "production" && "row._getAllVisibleCells",
1551
+ debug: () => {
1552
+ var t;
1553
+ return (t = n.options.debugAll) != null ? t : n.options.debugRows;
1554
+ }
1555
+ }), e.getVisibleCells = m(() => [e.getLeftVisibleCells(), e.getCenterVisibleCells(), e.getRightVisibleCells()], (t, o, r) => [...t, ...o, ...r], {
1556
+ key: process.env.NODE_ENV === "development" && "row.getVisibleCells",
1557
+ debug: () => {
1558
+ var t;
1559
+ return (t = n.options.debugAll) != null ? t : n.options.debugRows;
1560
+ }
1561
+ });
1562
+ },
1563
+ createTable: (e) => {
1564
+ const n = (t, o) => m(() => [o(), o().filter((r) => r.getIsVisible()).map((r) => r.id).join("_")], (r) => r.filter((i) => i.getIsVisible == null ? void 0 : i.getIsVisible()), {
1565
+ key: t,
1566
+ debug: () => {
1567
+ var r;
1568
+ return (r = e.options.debugAll) != null ? r : e.options.debugColumns;
1569
+ }
1570
+ });
1571
+ e.getVisibleFlatColumns = n("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = n("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = n("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = n("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = n("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {
1572
+ var o;
1573
+ e.setColumnVisibility(t ? {} : (o = e.initialState.columnVisibility) != null ? o : {});
1574
+ }, e.toggleAllColumnsVisible = (t) => {
1575
+ var o;
1576
+ t = (o = t) != null ? o : !e.getIsAllColumnsVisible(), e.setColumnVisibility(e.getAllLeafColumns().reduce((r, i) => ({
1577
+ ...r,
1578
+ [i.id]: t || !(i.getCanHide != null && i.getCanHide())
1579
+ }), {}));
1580
+ }, e.getIsAllColumnsVisible = () => !e.getAllLeafColumns().some((t) => !(t.getIsVisible != null && t.getIsVisible())), e.getIsSomeColumnsVisible = () => e.getAllLeafColumns().some((t) => t.getIsVisible == null ? void 0 : t.getIsVisible()), e.getToggleAllColumnsVisibilityHandler = () => (t) => {
1581
+ var o;
1582
+ e.toggleAllColumnsVisible((o = t.target) == null ? void 0 : o.checked);
1583
+ };
1584
+ }
1585
+ }, Se = [Xe, wt, gt, dt, Qe, _t, ut, Je, at, ct, Ke];
1586
+ function Rt(e) {
1587
+ var n;
1588
+ (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
1589
+ let t = {
1590
+ _features: Se
1591
+ };
1592
+ const o = t._features.reduce((g, d) => Object.assign(g, d.getDefaultOptions == null ? void 0 : d.getDefaultOptions(t)), {}), r = (g) => t.options.mergeOptions ? t.options.mergeOptions(o, g) : {
1593
+ ...o,
1594
+ ...g
1595
+ };
1596
+ let l = {
1597
+ ...{},
1598
+ ...(n = e.initialState) != null ? n : {}
1599
+ };
1600
+ t._features.forEach((g) => {
1601
+ var d;
1602
+ l = (d = g.getInitialState == null ? void 0 : g.getInitialState(l)) != null ? d : l;
1603
+ });
1604
+ const u = [];
1605
+ let s = !1;
1606
+ const a = {
1607
+ _features: Se,
1608
+ options: {
1609
+ ...o,
1610
+ ...e
1611
+ },
1612
+ initialState: l,
1613
+ _queue: (g) => {
1614
+ u.push(g), s || (s = !0, Promise.resolve().then(() => {
1615
+ for (; u.length; )
1616
+ u.shift()();
1617
+ s = !1;
1618
+ }).catch((d) => setTimeout(() => {
1619
+ throw d;
1620
+ })));
1621
+ },
1622
+ reset: () => {
1623
+ t.setState(t.initialState);
1624
+ },
1625
+ setOptions: (g) => {
1626
+ const d = y(g, t.options);
1627
+ t.options = r(d);
1628
+ },
1629
+ getState: () => t.options.state,
1630
+ setState: (g) => {
1631
+ t.options.onStateChange == null || t.options.onStateChange(g);
1632
+ },
1633
+ _getRowId: (g, d, p) => {
1634
+ var c;
1635
+ return (c = t.options.getRowId == null ? void 0 : t.options.getRowId(g, d, p)) != null ? c : `${p ? [p.id, d].join(".") : d}`;
1636
+ },
1637
+ getCoreRowModel: () => (t._getCoreRowModel || (t._getCoreRowModel = t.options.getCoreRowModel(t)), t._getCoreRowModel()),
1638
+ // The final calls start at the bottom of the model,
1639
+ // expanded rows, which then work their way up
1640
+ getRowModel: () => t.getPaginationRowModel(),
1641
+ //in next version, we should just pass in the row model as the optional 2nd arg
1642
+ getRow: (g, d) => {
1643
+ let p = (d ? t.getPrePaginationRowModel() : t.getRowModel()).rowsById[g];
1644
+ if (!p && (p = t.getCoreRowModel().rowsById[g], !p))
1645
+ throw process.env.NODE_ENV !== "production" ? new Error(`getRow could not find row with ID: ${g}`) : new Error();
1646
+ return p;
1647
+ },
1648
+ _getDefaultColumnDef: m(() => [t.options.defaultColumn], (g) => {
1649
+ var d;
1650
+ return g = (d = g) != null ? d : {}, {
1651
+ header: (p) => {
1652
+ const c = p.header.column.columnDef;
1653
+ return c.accessorKey ? c.accessorKey : c.accessorFn ? c.id : null;
1654
+ },
1655
+ // footer: props => props.header.column.id,
1656
+ cell: (p) => {
1657
+ var c, f;
1658
+ return (c = (f = p.renderValue()) == null || f.toString == null ? void 0 : f.toString()) != null ? c : null;
1659
+ },
1660
+ ...t._features.reduce((p, c) => Object.assign(p, c.getDefaultColumnDef == null ? void 0 : c.getDefaultColumnDef()), {}),
1661
+ ...g
1662
+ };
1663
+ }, {
1664
+ debug: () => {
1665
+ var g;
1666
+ return (g = t.options.debugAll) != null ? g : t.options.debugColumns;
1667
+ },
1668
+ key: process.env.NODE_ENV === "development" && "getDefaultColumnDef"
1669
+ }),
1670
+ _getColumnDefs: () => t.options.columns,
1671
+ getAllColumns: m(() => [t._getColumnDefs()], (g) => {
1672
+ const d = function(p, c, f) {
1673
+ return f === void 0 && (f = 0), p.map((S) => {
1674
+ const C = je(t, S, f, c), v = S;
1675
+ return C.columns = v.columns ? d(v.columns, C, f + 1) : [], C;
1676
+ });
1677
+ };
1678
+ return d(g);
1679
+ }, {
1680
+ key: process.env.NODE_ENV === "development" && "getAllColumns",
1681
+ debug: () => {
1682
+ var g;
1683
+ return (g = t.options.debugAll) != null ? g : t.options.debugColumns;
1684
+ }
1685
+ }),
1686
+ getAllFlatColumns: m(() => [t.getAllColumns()], (g) => g.flatMap((d) => d.getFlatColumns()), {
1687
+ key: process.env.NODE_ENV === "development" && "getAllFlatColumns",
1688
+ debug: () => {
1689
+ var g;
1690
+ return (g = t.options.debugAll) != null ? g : t.options.debugColumns;
1691
+ }
1692
+ }),
1693
+ _getAllFlatColumnsById: m(() => [t.getAllFlatColumns()], (g) => g.reduce((d, p) => (d[p.id] = p, d), {}), {
1694
+ key: process.env.NODE_ENV === "development" && "getAllFlatColumnsById",
1695
+ debug: () => {
1696
+ var g;
1697
+ return (g = t.options.debugAll) != null ? g : t.options.debugColumns;
1698
+ }
1699
+ }),
1700
+ getAllLeafColumns: m(() => [t.getAllColumns(), t._getOrderColumnsFn()], (g, d) => {
1701
+ let p = g.flatMap((c) => c.getLeafColumns());
1702
+ return d(p);
1703
+ }, {
1704
+ key: process.env.NODE_ENV === "development" && "getAllLeafColumns",
1705
+ debug: () => {
1706
+ var g;
1707
+ return (g = t.options.debugAll) != null ? g : t.options.debugColumns;
1708
+ }
1709
+ }),
1710
+ getColumn: (g) => {
1711
+ const d = t._getAllFlatColumnsById()[g];
1712
+ return process.env.NODE_ENV !== "production" && !d && console.error(`[Table] Column with id '${g}' does not exist.`), d;
1713
+ }
1714
+ };
1715
+ Object.assign(t, a);
1716
+ for (let g = 0; g < t._features.length; g++) {
1717
+ const d = t._features[g];
1718
+ d == null || d.createTable == null || d.createTable(t);
1719
+ }
1720
+ return t;
1721
+ }
1722
+ function ht(e, n, t, o) {
1723
+ const r = () => {
1724
+ var l;
1725
+ return (l = i.getValue()) != null ? l : e.options.renderFallbackValue;
1726
+ }, i = {
1727
+ id: `${n.id}_${t.id}`,
1728
+ row: n,
1729
+ column: t,
1730
+ getValue: () => n.getValue(o),
1731
+ renderValue: r,
1732
+ getContext: m(() => [e, t, n, i], (l, u, s, a) => ({
1733
+ table: l,
1734
+ column: u,
1735
+ row: s,
1736
+ cell: a,
1737
+ getValue: a.getValue,
1738
+ renderValue: a.renderValue
1739
+ }), {
1740
+ key: process.env.NODE_ENV === "development" && "cell.getContext",
1741
+ debug: () => e.options.debugAll
1742
+ })
1743
+ };
1744
+ return e._features.forEach((l) => {
1745
+ l.createCell == null || l.createCell(i, t, n, e);
1746
+ }, {}), i;
1747
+ }
1748
+ const $t = (e, n, t, o, r, i, l) => {
1749
+ let u = {
1750
+ id: n,
1751
+ index: o,
1752
+ original: t,
1753
+ depth: r,
1754
+ parentId: l,
1755
+ _valuesCache: {},
1756
+ _uniqueValuesCache: {},
1757
+ getValue: (s) => {
1758
+ if (u._valuesCache.hasOwnProperty(s))
1759
+ return u._valuesCache[s];
1760
+ const a = e.getColumn(s);
1761
+ if (a != null && a.accessorFn)
1762
+ return u._valuesCache[s] = a.accessorFn(u.original, o), u._valuesCache[s];
1763
+ },
1764
+ getUniqueValues: (s) => {
1765
+ if (u._uniqueValuesCache.hasOwnProperty(s))
1766
+ return u._uniqueValuesCache[s];
1767
+ const a = e.getColumn(s);
1768
+ if (a != null && a.accessorFn)
1769
+ return a.columnDef.getUniqueValues ? (u._uniqueValuesCache[s] = a.columnDef.getUniqueValues(u.original, o), u._uniqueValuesCache[s]) : (u._uniqueValuesCache[s] = [u.getValue(s)], u._uniqueValuesCache[s]);
1770
+ },
1771
+ renderValue: (s) => {
1772
+ var a;
1773
+ return (a = u.getValue(s)) != null ? a : e.options.renderFallbackValue;
1774
+ },
1775
+ subRows: i ?? [],
1776
+ getLeafRows: () => Ue(u.subRows, (s) => s.subRows),
1777
+ getParentRow: () => u.parentId ? e.getRow(u.parentId, !0) : void 0,
1778
+ getParentRows: () => {
1779
+ let s = [], a = u;
1780
+ for (; ; ) {
1781
+ const g = a.getParentRow();
1782
+ if (!g)
1783
+ break;
1784
+ s.push(g), a = g;
1785
+ }
1786
+ return s.reverse();
1787
+ },
1788
+ getAllCells: m(() => [e.getAllLeafColumns()], (s) => s.map((a) => ht(e, u, a, a.id)), {
1789
+ key: process.env.NODE_ENV === "development" && "row.getAllCells",
1790
+ debug: () => {
1791
+ var s;
1792
+ return (s = e.options.debugAll) != null ? s : e.options.debugRows;
1793
+ }
1794
+ }),
1795
+ _getAllCellsByColumnId: m(() => [u.getAllCells()], (s) => s.reduce((a, g) => (a[g.column.id] = g, a), {}), {
1796
+ key: process.env.NODE_ENV === "production" && "row.getAllCellsByColumnId",
1797
+ debug: () => {
1798
+ var s;
1799
+ return (s = e.options.debugAll) != null ? s : e.options.debugRows;
1800
+ }
1801
+ })
1802
+ };
1803
+ for (let s = 0; s < e._features.length; s++) {
1804
+ const a = e._features[s];
1805
+ a == null || a.createRow == null || a.createRow(u, e);
1806
+ }
1807
+ return u;
1808
+ };
1809
+ function Ft() {
1810
+ return (e) => m(() => [e.options.data], (n) => {
1811
+ const t = {
1812
+ rows: [],
1813
+ flatRows: [],
1814
+ rowsById: {}
1815
+ }, o = function(r, i, l) {
1816
+ i === void 0 && (i = 0);
1817
+ const u = [];
1818
+ for (let a = 0; a < r.length; a++) {
1819
+ const g = $t(e, e._getRowId(r[a], a, l), r[a], a, i, void 0, l?.id);
1820
+ if (t.flatRows.push(g), t.rowsById[g.id] = g, u.push(g), e.options.getSubRows) {
1821
+ var s;
1822
+ g.originalSubRows = e.options.getSubRows(r[a], a), (s = g.originalSubRows) != null && s.length && (g.subRows = o(g.originalSubRows, i + 1, g));
1823
+ }
1824
+ }
1825
+ return u;
1826
+ };
1827
+ return t.rows = o(n), t;
1828
+ }, {
1829
+ key: process.env.NODE_ENV === "development" && "getRowModel",
1830
+ debug: () => {
1831
+ var n;
1832
+ return (n = e.options.debugAll) != null ? n : e.options.debugTable;
1833
+ },
1834
+ onChange: () => {
1835
+ e._autoResetPageIndex();
1836
+ }
1837
+ });
1838
+ }
1839
+ function Vt() {
1840
+ return (e) => m(() => [e.getState().sorting, e.getPreSortedRowModel()], (n, t) => {
1841
+ if (!t.rows.length || !(n != null && n.length))
1842
+ return t;
1843
+ const o = e.getState().sorting, r = [], i = o.filter((s) => {
1844
+ var a;
1845
+ return (a = e.getColumn(s.id)) == null ? void 0 : a.getCanSort();
1846
+ }), l = {};
1847
+ i.forEach((s) => {
1848
+ const a = e.getColumn(s.id);
1849
+ a && (l[s.id] = {
1850
+ sortUndefined: a.columnDef.sortUndefined,
1851
+ invertSorting: a.columnDef.invertSorting,
1852
+ sortingFn: a.getSortingFn()
1853
+ });
1854
+ });
1855
+ const u = (s) => {
1856
+ const a = s.map((g) => ({
1857
+ ...g
1858
+ }));
1859
+ return a.sort((g, d) => {
1860
+ for (let c = 0; c < i.length; c += 1) {
1861
+ var p;
1862
+ const f = i[c], S = l[f.id], C = (p = f?.desc) != null ? p : !1;
1863
+ let v = 0;
1864
+ if (S.sortUndefined) {
1865
+ const R = g.getValue(f.id), w = d.getValue(f.id), F = R === void 0, P = w === void 0;
1866
+ (F || P) && (v = F && P ? 0 : F ? S.sortUndefined : -S.sortUndefined);
1867
+ }
1868
+ if (v === 0 && (v = S.sortingFn(g, d, f.id)), v !== 0)
1869
+ return C && (v *= -1), S.invertSorting && (v *= -1), v;
1870
+ }
1871
+ return g.index - d.index;
1872
+ }), a.forEach((g) => {
1873
+ var d;
1874
+ r.push(g), (d = g.subRows) != null && d.length && (g.subRows = u(g.subRows));
1875
+ }), a;
1876
+ };
1877
+ return {
1878
+ rows: u(t.rows),
1879
+ flatRows: r,
1880
+ rowsById: t.rowsById
1881
+ };
1882
+ }, {
1883
+ key: process.env.NODE_ENV === "development" && "getSortedRowModel",
1884
+ debug: () => {
1885
+ var n;
1886
+ return (n = e.options.debugAll) != null ? n : e.options.debugTable;
1887
+ },
1888
+ onChange: () => {
1889
+ e._autoResetPageIndex();
1890
+ }
1891
+ });
1892
+ }
1893
+ function Et(e) {
1894
+ const n = [], t = (o) => {
1895
+ var r;
1896
+ n.push(o), (r = o.subRows) != null && r.length && o.getIsExpanded() && o.subRows.forEach(t);
1897
+ };
1898
+ return e.rows.forEach(t), {
1899
+ rows: n,
1900
+ flatRows: e.flatRows,
1901
+ rowsById: e.rowsById
1902
+ };
1903
+ }
1904
+ function Pt(e) {
1905
+ return (n) => m(() => [n.getState().pagination, n.getPrePaginationRowModel(), n.options.paginateExpandedRows ? void 0 : n.getState().expanded], (t, o) => {
1906
+ if (!o.rows.length)
1907
+ return o;
1908
+ const {
1909
+ pageSize: r,
1910
+ pageIndex: i
1911
+ } = t;
1912
+ let {
1913
+ rows: l,
1914
+ flatRows: u,
1915
+ rowsById: s
1916
+ } = o;
1917
+ const a = r * i, g = a + r;
1918
+ l = l.slice(a, g);
1919
+ let d;
1920
+ n.options.paginateExpandedRows ? d = {
1921
+ rows: l,
1922
+ flatRows: u,
1923
+ rowsById: s
1924
+ } : d = Et({
1925
+ rows: l,
1926
+ flatRows: u,
1927
+ rowsById: s
1928
+ }), d.flatRows = [];
1929
+ const p = (c) => {
1930
+ d.flatRows.push(c), c.subRows.length && c.subRows.forEach(p);
1931
+ };
1932
+ return d.rows.forEach(p), d;
1933
+ }, {
1934
+ key: process.env.NODE_ENV === "development" && "getPaginationRowModel",
1935
+ debug: () => {
1936
+ var t;
1937
+ return (t = n.options.debugAll) != null ? t : n.options.debugTable;
1938
+ }
1939
+ });
1940
+ }
1941
+ /**
1942
+ * vue-table
1943
+ *
1944
+ * Copyright (c) TanStack
1945
+ *
1946
+ * This source code is licensed under the MIT license found in the
1947
+ * LICENSE.md file in the root directory of this source tree.
1948
+ *
1949
+ * @license MIT
1950
+ */
1951
+ function k() {
1952
+ return !0;
1953
+ }
1954
+ const Mt = Symbol("merge-proxy"), At = {
1955
+ get(e, n, t) {
1956
+ return n === Mt ? t : e.get(n);
1957
+ },
1958
+ has(e, n) {
1959
+ return e.has(n);
1960
+ },
1961
+ set: k,
1962
+ deleteProperty: k,
1963
+ getOwnPropertyDescriptor(e, n) {
1964
+ return {
1965
+ configurable: !0,
1966
+ enumerable: !0,
1967
+ get() {
1968
+ return e.get(n);
1969
+ },
1970
+ set: k,
1971
+ deleteProperty: k
1972
+ };
1973
+ },
1974
+ ownKeys(e) {
1975
+ return e.keys();
1976
+ }
1977
+ };
1978
+ function te(e) {
1979
+ return "value" in e ? e.value : e;
1980
+ }
1981
+ function b() {
1982
+ for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++)
1983
+ n[t] = arguments[t];
1984
+ return new Proxy({
1985
+ get(o) {
1986
+ for (let r = n.length - 1; r >= 0; r--) {
1987
+ const i = te(n[r])[o];
1988
+ if (i !== void 0)
1989
+ return i;
1990
+ }
1991
+ },
1992
+ has(o) {
1993
+ for (let r = n.length - 1; r >= 0; r--)
1994
+ if (o in te(n[r]))
1995
+ return !0;
1996
+ return !1;
1997
+ },
1998
+ keys() {
1999
+ const o = [];
2000
+ for (let r = 0; r < n.length; r++)
2001
+ o.push(...Object.keys(te(n[r])));
2002
+ return [...Array.from(new Set(o))];
2003
+ }
2004
+ }, At);
2005
+ }
2006
+ const ve = Ce({
2007
+ props: ["render", "props"],
2008
+ setup: (e) => () => typeof e.render == "function" || typeof e.render == "object" ? ye(e.render, e.props) : e.render
2009
+ });
2010
+ function yt(e) {
2011
+ const n = b({
2012
+ state: {},
2013
+ // Dummy state
2014
+ onStateChange: () => {
2015
+ },
2016
+ // noop
2017
+ renderFallbackValue: null,
2018
+ mergeOptions(r, i) {
2019
+ return b(r, i);
2020
+ }
2021
+ }, e), t = Rt(n), o = xe(t.initialState);
2022
+ return Ie(() => {
2023
+ t.setOptions((r) => {
2024
+ var i;
2025
+ const l = new Proxy({}, {
2026
+ get: (u, s) => o.value[s]
2027
+ });
2028
+ return b(r, e, {
2029
+ // merge the initialState and `options.state`
2030
+ // create a new proxy on each `setOptions` call
2031
+ // and get the value from state on each property access
2032
+ state: b(l, (i = e.state) != null ? i : {}),
2033
+ // Similarly, we'll maintain both our internal state and any user-provided
2034
+ // state.
2035
+ onStateChange: (u) => {
2036
+ u instanceof Function ? o.value = u(o.value) : o.value = u, e.onStateChange == null || e.onStateChange(u);
2037
+ }
2038
+ });
2039
+ });
2040
+ }), t;
2041
+ }
2042
+ const Tt = /* @__PURE__ */ Ce({
2043
+ __name: "BuiDataTable",
2044
+ props: /* @__PURE__ */ De({
2045
+ columns: {},
2046
+ data: {},
2047
+ pageSize: { default: 10 },
2048
+ showPagination: { type: Boolean, default: !0 }
2049
+ }, {
2050
+ sorting: {},
2051
+ sortingModifiers: {},
2052
+ pagination: {},
2053
+ paginationModifiers: {},
2054
+ selection: {},
2055
+ selectionModifiers: {}
2056
+ }),
2057
+ emits: ["update:sorting", "update:pagination", "update:selection"],
2058
+ setup(e) {
2059
+ const n = e, t = q(e, "sorting"), o = q(e, "pagination"), r = q(e, "selection"), i = yt({
2060
+ initialState: { pagination: { pageSize: n.pageSize } },
2061
+ get data() {
2062
+ return n.data;
2063
+ },
2064
+ get columns() {
2065
+ return n.columns;
2066
+ },
2067
+ getCoreRowModel: Ft(),
2068
+ getPaginationRowModel: Pt(),
2069
+ getSortedRowModel: Vt(),
2070
+ onSortingChange: (l) => {
2071
+ X(l, t);
2072
+ },
2073
+ onPaginationChange: (l) => {
2074
+ X(l, o);
2075
+ },
2076
+ onRowSelectionChange: (l) => {
2077
+ X(l, r);
2078
+ },
2079
+ manualPagination: !0,
2080
+ manualSorting: !0,
2081
+ state: {
2082
+ get sorting() {
2083
+ return t.value;
2084
+ },
2085
+ get pagination() {
2086
+ return o.value;
2087
+ },
2088
+ get rowSelection() {
2089
+ return r.value;
2090
+ }
2091
+ }
2092
+ });
2093
+ return (l, u) => (h(), M(_(Oe), null, {
2094
+ default: V(() => [
2095
+ l.$slots.caption ? (h(), M(_(ke), { key: 0 }, {
2096
+ default: V(() => [
2097
+ He(l.$slots, "caption", { table: _(i) })
2098
+ ]),
2099
+ _: 3
2100
+ })) : U("", !0),
2101
+ I(_(ze), null, {
2102
+ default: V(() => [
2103
+ (h(!0), H(N, null, O(_(i).getHeaderGroups(), (s) => (h(), M(_(j), {
2104
+ key: s.id
2105
+ }, {
2106
+ default: V(() => [
2107
+ (h(!0), H(N, null, O(s.headers, (a) => (h(), M(_(Le), {
2108
+ key: a.id
2109
+ }, {
2110
+ default: V(() => [
2111
+ a.isPlaceholder ? U("", !0) : (h(), M(_(ve), {
2112
+ key: 0,
2113
+ render: a.column.columnDef.header,
2114
+ props: a.getContext()
2115
+ }, null, 8, ["render", "props"]))
2116
+ ]),
2117
+ _: 2
2118
+ }, 1024))), 128))
2119
+ ]),
2120
+ _: 2
2121
+ }, 1024))), 128))
2122
+ ]),
2123
+ _: 1
2124
+ }),
2125
+ I(_(Ge), null, {
2126
+ default: V(() => [
2127
+ _(i).getRowModel().rows?.length ? (h(!0), H(N, { key: 0 }, O(_(i).getRowModel().rows, (s) => (h(), M(_(j), {
2128
+ key: s.id,
2129
+ "data-state": s.getIsSelected() ? "selected" : void 0
2130
+ }, {
2131
+ default: V(() => [
2132
+ (h(!0), H(N, null, O(s.getVisibleCells(), (a) => (h(), M(_(pe), {
2133
+ key: a.id
2134
+ }, {
2135
+ default: V(() => [
2136
+ I(_(ve), {
2137
+ render: a.column.columnDef.cell,
2138
+ props: a.getContext()
2139
+ }, null, 8, ["render", "props"])
2140
+ ]),
2141
+ _: 2
2142
+ }, 1024))), 128))
2143
+ ]),
2144
+ _: 2
2145
+ }, 1032, ["data-state"]))), 128)) : (h(), M(_(be), {
2146
+ key: 1,
2147
+ colspan: l.columns.length
2148
+ }, {
2149
+ default: V(() => [
2150
+ Ne("No data")
2151
+ ]),
2152
+ _: 1
2153
+ }, 8, ["colspan"]))
2154
+ ]),
2155
+ _: 1
2156
+ }),
2157
+ l.showPagination && _(i).getPageCount() ? (h(), M(_(Be), { key: 1 }, {
2158
+ default: V(() => [
2159
+ I(_(j), null, {
2160
+ default: V(() => [
2161
+ I(_(pe), {
2162
+ colspan: l.columns.length
2163
+ }, {
2164
+ default: V(() => [
2165
+ I(_(Te), {
2166
+ class: "float-right",
2167
+ total: _(i).getFilteredRowModel().rows.length,
2168
+ pageIndex: _(i).getState().pagination.pageIndex,
2169
+ pageSize: _(i).getState().pagination.pageSize,
2170
+ setPageIndex: (s) => _(i).setPageIndex(s),
2171
+ setPageSize: (s) => {
2172
+ _(i).setPageSize(s), _(i).setPageIndex(0);
2173
+ }
2174
+ }, null, 8, ["total", "pageIndex", "pageSize", "setPageIndex", "setPageSize"])
2175
+ ]),
2176
+ _: 1
2177
+ }, 8, ["colspan"])
2178
+ ]),
2179
+ _: 1
2180
+ })
2181
+ ]),
2182
+ _: 1
2183
+ })) : U("", !0)
2184
+ ]),
2185
+ _: 3
2186
+ }));
2187
+ }
2188
+ });
2189
+ export {
2190
+ Tt as _
2191
+ };