@povio/ui 6.0.0-rc.13 → 6.0.0-rc.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. package/README.md +55 -1
  2. package/dist/{Accordion-gUW7u1Zn.js → Accordion-BNHpv7Zj.js} +3 -3
  3. package/dist/{Alert-DwnALnFY.d.ts → Alert-xHGPLUpt.d.ts} +1 -1
  4. package/dist/{AlertDialog-BcRiqY_n.d.ts → AlertDialog-CKcUZ6l9.d.ts} +3 -3
  5. package/dist/{Autocomplete-DRwQxx0U.d.ts → Autocomplete-CkWTSFoj.d.ts} +1 -1
  6. package/dist/{Autocomplete-CV4Aa1Ok.js → Autocomplete-CrNDRxvg.js} +10 -10
  7. package/dist/{Badge-CO-ZsmbR.d.ts → Badge-B25YEMEw.d.ts} +3 -3
  8. package/dist/{BottomSheet-Be0HtQzP.d.ts → BottomSheet-CtcPZG82.d.ts} +1 -1
  9. package/dist/{BottomSheet-APVu5TUd.js → BottomSheet-tUXH3NjS.js} +4 -4
  10. package/dist/{BottomSheet.lazy-NNB7ivkW.d.ts → BottomSheet.lazy-DuwAJSaI.d.ts} +1 -1
  11. package/dist/{Breadcrumbs-Bn3fqVYx.d.ts → Breadcrumbs-BrtRh_dX.d.ts} +1 -1
  12. package/dist/{Breadcrumbs-Cd75RPbS.js → Breadcrumbs-D8WXqOLN.js} +8 -8
  13. package/dist/{Button-CzEs3tcV.js → Button-C1Jv1Plk.js} +1 -1
  14. package/dist/{Button-Hk8zm9q_.d.ts → Button-DDuk3hJ3.d.ts} +1 -1
  15. package/dist/{Button-BJJkLVNj.js → Button-DF6sbTuF.js} +3 -3
  16. package/dist/{ButtonBase-aGz6DYum.js → ButtonBase-BYJz1JkH.js} +4 -4
  17. package/dist/{ButtonBase-Cp1w00t2.d.ts → ButtonBase-Bn_FT89h.d.ts} +3 -3
  18. package/dist/{Calendar-DN-i_b-_.js → Calendar-DdneUEhM.js} +58 -24
  19. package/dist/{Calendar.lazy-CqmyDSND.js → Calendar.lazy-BY0kLoYH.js} +6 -6
  20. package/dist/{Checkbox-D32MOIhF.d.ts → Checkbox-Bwl6MA-V.d.ts} +1 -1
  21. package/dist/{Checkbox-CzKXZw_w.js → Checkbox-E2bns_n0.js} +7 -7
  22. package/dist/{CheckboxCheckmark-DDU_Ie7-.js → CheckboxCheckmark-Beu8T1g9.js} +2 -2
  23. package/dist/{CheckboxGroup-B5Mn1G3u.d.ts → CheckboxGroup-0rzsn-bA.d.ts} +2 -2
  24. package/dist/{CheckboxGroup-BqWt09kZ.js → CheckboxGroup-C7epIEpW.js} +3 -3
  25. package/dist/ColumnConfigContent-LNq-6Brf.js +1025 -0
  26. package/dist/ColumnListContent-Dzze5R7T.js +133 -0
  27. package/dist/{DatePicker-CmoVbapu.d.ts → DatePicker-B70SCKfT.d.ts} +3 -3
  28. package/dist/{DatePicker-DQewd1By.js → DatePicker-BU-34fCk.js} +44 -12
  29. package/dist/{DatePickerInput-B9VnExeA.d.ts → DatePickerInput-BCuz08Ws.d.ts} +3 -3
  30. package/dist/{DatePickerInput-Bp9ZIN5E.js → DatePickerInput-CMEJmZSQ.js} +10 -10
  31. package/dist/{DateRangePicker-DRZ1hLlR.js → DateRangePicker-D0RtqeBM.js} +13 -13
  32. package/dist/{DateRangePicker-LX1VJlnD.d.ts → DateRangePicker-jovxcWGk.d.ts} +4 -4
  33. package/dist/{DateTimePicker-DWtKPaE6.js → DateTimePicker-Cbdt76CL.js} +30 -11
  34. package/dist/{DateTimePicker-D9pODhAj.d.ts → DateTimePicker-Cfi3ruFy.d.ts} +3 -3
  35. package/dist/{Dialog-D0SeePPz.d.ts → Dialog-BWNQjIgo.d.ts} +1 -1
  36. package/dist/{Dialog-BJ13KRQo.js → Dialog-Bpwr1nuy.js} +15 -15
  37. package/dist/{Dialog-BzQYDPJ9.js → Dialog-ebjPH22i.js} +3 -3
  38. package/dist/{Disclosure-Bjm5IOpg.js → Disclosure-D_aym2zh.js} +3 -3
  39. package/dist/{DropdownMenu-DTr7b-XO.d.ts → DropdownMenu-3V-G7fZ7.d.ts} +2 -2
  40. package/dist/{DropdownMenu-DrshB60h.js → DropdownMenu-C4WitobV.js} +4 -4
  41. package/dist/{DropdownMenuDesktop-DxGA0yvx.js → DropdownMenuDesktop-BM7659Sk.js} +1 -1
  42. package/dist/{FileInput-LMhFxlqB.js → FileInput-Bc_E1M1X.js} +5 -5
  43. package/dist/{FileInput-Bokcp9nH.d.ts → FileInput-CWRW7OzZ.d.ts} +2 -2
  44. package/dist/{FileTrigger-DlryDp2T.js → FileTrigger-tGSUFrb2.js} +6 -6
  45. package/dist/{FileUpload-BqXd4_nz.d.ts → FileUpload-DVnp9xxv.d.ts} +2 -2
  46. package/dist/{FileUpload-CJZrkr_U.js → FileUpload-Dk6ZmgWF.js} +501 -75
  47. package/dist/{Form-CqF1SaVw.js → Form-4jZarkjk.js} +2 -2
  48. package/dist/{FormField-XQbjfGSv.d.ts → FormField-BgiWLGjf.d.ts} +1 -1
  49. package/dist/{FormField-TI8Vx5aC.js → FormField-DOZ7eXjA.js} +2 -2
  50. package/dist/{FormFieldHeaderTooltip-DB7KrrcD.js → FormFieldHeaderTooltip-DW9sqJWl.js} +3 -3
  51. package/dist/{Heading-D4XFYv__.js → Heading-B9G3z6Es.js} +2 -2
  52. package/dist/{IconButton-CQLHX8-Y.d.ts → IconButton-Bjjf5cQL.d.ts} +1 -1
  53. package/dist/{InlineTooltipWrapper-CjDUsi2I.js → InlineTooltipWrapper-CcdpMJa6.js} +1 -1
  54. package/dist/{Input-BG0Xjw5X.js → Input-BkR3jkvt.js} +2 -2
  55. package/dist/{Input-CeRJeAoR.js → Input-CvYyjMWx.js} +5 -5
  56. package/dist/{Input-onUj0DKg.d.ts → Input-lppNS8wM.d.ts} +3 -3
  57. package/dist/{InputContent-B8OCdbVP.js → InputContent-B5YjsLDE.js} +2 -2
  58. package/dist/{InputContent-D5ZkB9hO.d.ts → InputContent-Bgalf6R1.d.ts} +2 -2
  59. package/dist/{Label-BGvF9vWx.js → Label-VTcaaLO8.js} +2 -2
  60. package/dist/{Link-Chux-Clm.js → Link-8zP_NC_c.js} +2 -2
  61. package/dist/{Link-BdnWVYL9.d.ts → Link-HJ4y-xiW.d.ts} +1 -1
  62. package/dist/{ListBox-gR4iSV7N.js → ListBox-Ck-B1Jae.js} +7 -7
  63. package/dist/{Modal-DAMsCwzb.js → Modal-xT-Wz5GH.js} +3 -3
  64. package/dist/{NumberField-6Q9LHGSo.js → NumberField-BXLzNb2T.js} +6 -6
  65. package/dist/{NumberField-Sb30Qao3.d.ts → NumberField-Q-4y3jpb.d.ts} +3 -3
  66. package/dist/{NumberFormatter-DYarfm5F.js → NumberFormatter-D5csbNXm.js} +1 -1
  67. package/dist/{NumberRangeInput-BDSkcHVJ.js → NumberRangeInput-BBzZCC54.js} +6 -6
  68. package/dist/{NumberRangeInput-Dvq8mOUY.d.ts → NumberRangeInput-DuWOdSdU.d.ts} +2 -2
  69. package/dist/{OverlayArrow-DF0jMwul.js → OverlayArrow-BptI-A_7.js} +2 -2
  70. package/dist/{PageHeader-eJk6GNK6.d.ts → PageHeader-jVaC3Z9L.d.ts} +2 -2
  71. package/dist/{PasswordInput-VHzP4VPU.d.ts → PasswordInput-DtTnGHRD.d.ts} +1 -1
  72. package/dist/{PasswordInput-BcHpV0Ie.js → PasswordInput-U0QhNsMp.js} +2 -2
  73. package/dist/{Popover-qplPGDnR.d.ts → Popover-ClCEOP3e.d.ts} +2 -2
  74. package/dist/{Progress-WzWvbvtp.js → Progress-DlXY0dv_.js} +1 -1
  75. package/dist/{Progress-DH-w99MU.d.ts → Progress-VkkXbIh7.d.ts} +1 -1
  76. package/dist/{ProgressBar-BsSimmJF.js → ProgressBar-mpNpV7ow.js} +3 -3
  77. package/dist/{RadioGroup-PKqFHoKP.js → RadioGroup-BPPJyA1s.js} +8 -8
  78. package/dist/{RadioGroup-CC8bKtBN.d.ts → RadioGroup-BbcrP56w.d.ts} +2 -2
  79. package/dist/{RangeCalendar-DqCTlIuy.js → RangeCalendar-DIVjIl0T.js} +4 -4
  80. package/dist/{Select-CSyfDyxG.d.ts → Select-D1qIWZCv.d.ts} +3 -3
  81. package/dist/{Select-D3fuXwVt.js → Select-DlbVDCz8.js} +36 -26
  82. package/dist/{SelectListBox-DqAxkT1f.js → SelectListBox-CCr5YY86.js} +15 -12
  83. package/dist/{SelectionIndicator-C3hniBa2.js → SelectionIndicator-CvuKjZRP.js} +3 -3
  84. package/dist/{SharedElementTransition-CZ2bE7yo.js → SharedElementTransition-BkyYit3Q.js} +2 -2
  85. package/dist/{SidebarWorkspaces-BGl_PIsH.js → SidebarWorkspaces-CIpFJGOa.js} +10 -10
  86. package/dist/{SidebarWorkspaces-CdtK2M-C.d.ts → SidebarWorkspaces-DcwA_jv7.d.ts} +3 -3
  87. package/dist/{Slider-DxalZD3o.d.ts → Slider-CLViwkE1.d.ts} +1 -1
  88. package/dist/{Slider-BCUiALjE.js → Slider-_RsgBJcg.js} +5 -5
  89. package/dist/{Spinner-BTrEbNFy.d.ts → Spinner-GMEauCHv.d.ts} +1 -1
  90. package/dist/{SplitButton-Dv5l8p5t.d.ts → SplitButton-BdP4xjFQ.d.ts} +3 -3
  91. package/dist/{Stepper-DA2G546I.js → Stepper-D4z7JNsD.js} +2 -2
  92. package/dist/{Stepper-B1IOUcSI.d.ts → Stepper-DBb0qfla.d.ts} +1 -1
  93. package/dist/{Switch-Ce-bJOVw.js → Switch-Bi3_bUw1.js} +3 -3
  94. package/dist/{Switch-urNrop0P.d.ts → Switch-DCxONL2Q.d.ts} +1 -1
  95. package/dist/TableDnd-CG1yOlxh.js +238 -0
  96. package/dist/TableDragHandle-CXApnuUm.js +51 -0
  97. package/dist/{TabsFilters-Cweij8He.js → TabsFilters-BPogry73.js} +4 -4
  98. package/dist/{TabsFilters-M5Ld7eb8.d.ts → TabsFilters-CPfGBODw.d.ts} +1 -1
  99. package/dist/{Tag-BKR1AZFa.d.ts → Tag-xhcJOv_X.d.ts} +2 -2
  100. package/dist/{Text-D72yc4S6.js → Text-D7Nqkw1l.js} +1 -1
  101. package/dist/{TextArea-D7YVclaz.d.ts → TextArea-BYX9Kk_v.d.ts} +2 -2
  102. package/dist/{TextArea-P8F0oD_A.js → TextArea-CuJS3-Nv.js} +6 -6
  103. package/dist/{TimePicker-l4Ysk2AX.js → TimePicker-ByfjqkLp.js} +28 -13
  104. package/dist/{TimePicker-Ai1M2TGW.d.ts → TimePicker-UTo9C6gz.d.ts} +3 -2
  105. package/dist/TimePickerForm-CaIHR0PV.js +532 -0
  106. package/dist/{ToastContainer-BeklfvlK.js → ToastContainer-tr7Zxahc.js} +4 -4
  107. package/dist/{ToggleButton-DWw53pTt.d.ts → ToggleButton-BX8o7ECO.d.ts} +1 -1
  108. package/dist/{ToggleButton-P1z1pxzT.js → ToggleButton-D8BT67FO.js} +5 -5
  109. package/dist/{ToggleGroup-BdIgqoqA.js → ToggleGroup-18c-FZ_r.js} +5 -5
  110. package/dist/{ToggleGroup-BQk3k0at.d.ts → ToggleGroup-UazUtgU1.d.ts} +2 -2
  111. package/dist/{Tooltip-BkXPEBqw.js → Tooltip-Dl3sf8fq.js} +3 -3
  112. package/dist/{Tooltip-H8OB7CqY.d.ts → Tooltip-FcJ29dhq.d.ts} +1 -1
  113. package/dist/{TooltipWrapper-ubbBHHVD.js → TooltipWrapper-bvNpM6ku.js} +3 -3
  114. package/dist/{Typography-Cx1oRGxd.d.ts → Typography-auHWN282.d.ts} +1 -1
  115. package/dist/{badge.cva-BpoxNggB.js → badge.cva-C9mE8CMf.js} +3 -2
  116. package/dist/{buttonContent.cva-Dyy_RUZU.d.ts → buttonContent.cva-CeGnrjoA.d.ts} +2 -2
  117. package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
  118. package/dist/columnConfig.cva-CERwSZRN.js +29 -0
  119. package/dist/components/accordion.js +1 -1
  120. package/dist/components/alert-dialog.d.ts +1 -1
  121. package/dist/components/alert-dialog.js +3 -3
  122. package/dist/components/alert.d.ts +1 -1
  123. package/dist/components/autocomplete.d.ts +1 -1
  124. package/dist/components/autocomplete.js +1 -1
  125. package/dist/components/badge.d.ts +1 -1
  126. package/dist/components/badge.js +37 -30
  127. package/dist/components/bottom-sheet-header.d.ts +1 -1
  128. package/dist/components/bottom-sheet-header.js +23 -19
  129. package/dist/components/bottom-sheet.d.ts +2 -2
  130. package/dist/components/bottom-sheet.js +2 -2
  131. package/dist/components/breadcrumbs.d.ts +1 -1
  132. package/dist/components/breadcrumbs.js +1 -1
  133. package/dist/components/button.d.ts +2 -2
  134. package/dist/components/button.js +1 -1
  135. package/dist/components/checkbox-group.d.ts +1 -1
  136. package/dist/components/checkbox-group.js +1 -1
  137. package/dist/components/checkbox.d.ts +1 -1
  138. package/dist/components/checkbox.js +1 -1
  139. package/dist/components/date-picker.d.ts +1 -1
  140. package/dist/components/date-picker.js +1 -1
  141. package/dist/components/date-range-picker.d.ts +2 -2
  142. package/dist/components/date-range-picker.js +2 -2
  143. package/dist/components/date-range-presets.js +1 -1
  144. package/dist/components/date-time-picker.d.ts +1 -1
  145. package/dist/components/date-time-picker.js +1 -1
  146. package/dist/components/dialog.d.ts +1 -1
  147. package/dist/components/dialog.js +1 -1
  148. package/dist/components/drawer.js +2 -2
  149. package/dist/components/dropdown-menu.d.ts +1 -1
  150. package/dist/components/dropdown-menu.js +1 -1
  151. package/dist/components/file-input.d.ts +1 -1
  152. package/dist/components/file-input.js +1 -1
  153. package/dist/components/file-upload.d.ts +1 -1
  154. package/dist/components/file-upload.js +1 -1
  155. package/dist/components/form-field.d.ts +2 -2
  156. package/dist/components/form-field.js +1 -1
  157. package/dist/components/icon-button.d.ts +1 -1
  158. package/dist/components/icon-button.js +2 -2
  159. package/dist/components/input-frame.d.ts +3 -3
  160. package/dist/components/input-frame.js +5 -5
  161. package/dist/components/input.d.ts +1 -1
  162. package/dist/components/input.js +1 -1
  163. package/dist/components/link.d.ts +1 -1
  164. package/dist/components/link.js +1 -1
  165. package/dist/components/number-field.d.ts +1 -1
  166. package/dist/components/number-field.js +1 -1
  167. package/dist/components/number-range-input.d.ts +1 -1
  168. package/dist/components/number-range-input.js +1 -1
  169. package/dist/components/page-header.d.ts +1 -1
  170. package/dist/components/page-header.js +1 -1
  171. package/dist/components/password-input.d.ts +1 -1
  172. package/dist/components/password-input.js +1 -1
  173. package/dist/components/popover.d.ts +1 -1
  174. package/dist/components/popover.js +2 -2
  175. package/dist/components/progress.d.ts +1 -1
  176. package/dist/components/progress.js +1 -1
  177. package/dist/components/radio-group.d.ts +1 -1
  178. package/dist/components/radio-group.js +1 -1
  179. package/dist/components/select.d.ts +1 -1
  180. package/dist/components/select.js +1 -1
  181. package/dist/components/sidebar.d.ts +1 -1
  182. package/dist/components/sidebar.js +1 -1
  183. package/dist/components/slider.d.ts +1 -1
  184. package/dist/components/slider.js +1 -1
  185. package/dist/components/spinner.d.ts +1 -1
  186. package/dist/components/split-button.d.ts +1 -1
  187. package/dist/components/split-button.js +2 -2
  188. package/dist/components/stepper.d.ts +1 -1
  189. package/dist/components/stepper.js +1 -1
  190. package/dist/components/style-definitions.d.ts +2 -2
  191. package/dist/components/style-definitions.js +32 -5
  192. package/dist/components/switch.d.ts +1 -1
  193. package/dist/components/switch.js +1 -1
  194. package/dist/components/tabs-filters.d.ts +1 -1
  195. package/dist/components/tabs-filters.js +1 -1
  196. package/dist/components/tag.d.ts +1 -1
  197. package/dist/components/tag.js +3 -3
  198. package/dist/components/text-area.d.ts +1 -1
  199. package/dist/components/text-area.js +1 -1
  200. package/dist/components/time-picker.d.ts +1 -1
  201. package/dist/components/time-picker.js +1 -1
  202. package/dist/components/toast.d.ts +2 -2
  203. package/dist/components/toast.js +3 -3
  204. package/dist/components/toggle-button.d.ts +1 -1
  205. package/dist/components/toggle-button.js +1 -1
  206. package/dist/components/toggle-group.d.ts +1 -1
  207. package/dist/components/toggle-group.js +1 -1
  208. package/dist/components/tooltip-ellipsis.js +1 -1
  209. package/dist/components/tooltip.d.ts +1 -1
  210. package/dist/components/tooltip.js +1 -1
  211. package/dist/components/typography.d.ts +2 -2
  212. package/dist/components/use-toast.d.ts +1 -1
  213. package/dist/components/use-toast.js +1 -1
  214. package/dist/config/component-configuration.d.ts +2 -2
  215. package/dist/config/confirmation.d.ts +1 -1
  216. package/dist/config/confirmation.js +1 -1
  217. package/dist/config/link-context.d.ts +2 -2
  218. package/dist/config/resources.d.ts +1 -1
  219. package/dist/config/resources.js +1 -1
  220. package/dist/config/ui-config.d.ts +2 -2
  221. package/dist/config/ui-config.js +1 -1
  222. package/dist/config/ui-overrides.d.ts +1 -1
  223. package/dist/{confirmation.context-BflM4Vxg.js → confirmation.context-C_-uADGJ.js} +1 -1
  224. package/dist/{confirmation.context-C_js9qNv.d.ts → confirmation.context-DkWyR2aT.d.ts} +1 -1
  225. package/dist/{dist-DZOoWaZz.js → dist-CP6vV22I.js} +14 -10
  226. package/dist/{dom.utils-BPooTXtC.js → dom.utils-CqejLWIQ.js} +1 -1
  227. package/dist/{fileUpload.cva-MH5ziWUe.js → fileUpload.cva-SrF6v406.js} +1 -1
  228. package/dist/form-field-C735uXsi.d.ts +1 -0
  229. package/dist/hooks/use-async-list.js +1 -1
  230. package/dist/hooks/use-breakpoint.d.ts +2 -2
  231. package/dist/hooks/use-breakpoint.js +1 -1
  232. package/dist/{i18n-DQs7jPjv.js → i18n-DaIHnR2n.js} +26 -2
  233. package/dist/{i18n-B3PeqBM7.d.ts → i18n-xXkHgzet.d.ts} +24 -0
  234. package/dist/{import-C73fI3WD.js → import-Cz8NlFqm.js} +39 -15
  235. package/dist/index.d.ts +56 -55
  236. package/dist/index.js +49 -49
  237. package/dist/{intlStrings-Cu1YN1tA.js → intlStrings-ClpdCJmU.js} +35 -35
  238. package/dist/{isEqual-LFw0W5rU.js → isEqual-BdJdNr5O.js} +1 -1
  239. package/dist/{link.context-BcBuP9ZT.d.ts → link.context-BxVK2yQ5.d.ts} +1 -1
  240. package/dist/{link.cva-D6L1c2wq.d.ts → link.cva-ZhpQz3P0.d.ts} +129 -9
  241. package/dist/{logger-CW24po62.js → logger-CqZjM-sn.js} +1 -10
  242. package/dist/rich-text-editor.d.ts +2 -2
  243. package/dist/rich-text-editor.js +14 -14
  244. package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
  245. package/dist/{staticDateTimeSegments-BYk1tcxs.js → staticDateTimeSegments-BgUrcqXD.js} +342 -87
  246. package/dist/styles/input.d.ts +1 -1
  247. package/dist/{table.cva-DkcsOmZG.js → table.cva-n9TO_vu1.js} +68 -17
  248. package/dist/tableCells.cva-Br0_kgRM.js +18 -0
  249. package/dist/tableColumnConfigStorage-Cciq8gVe.js +215 -0
  250. package/dist/tableVirtualStore-whSmFzTV.js +67 -0
  251. package/dist/tanstack/form.js +1 -1
  252. package/dist/tanstack/table-context.d.ts +2 -0
  253. package/dist/tanstack/table-context.js +2 -0
  254. package/dist/tanstack/table-types.d.ts +55 -0
  255. package/dist/tanstack/table.d.ts +5 -5
  256. package/dist/tanstack/table.js +3 -2
  257. package/dist/tanstack-JB8VmS9j.js +73 -0
  258. package/dist/{tanstack-bLXoUPDY.d.ts → tanstack-cQOW9-Q2.d.ts} +50 -50
  259. package/dist/tanstack-table-DdWYwCZM.d.ts +858 -0
  260. package/dist/tanstack-table-M1M26UQJ.js +5299 -0
  261. package/dist/tanstack.d.ts +56 -55
  262. package/dist/tanstack.js +49 -49
  263. package/dist/{toast.cva-C3oA7He3.js → toast.cva-DusQwZw-.js} +5 -1
  264. package/dist/{toast.runtime-BHXdSTXV.js → toast.runtime-ZN5q4T9X.js} +1 -1
  265. package/dist/{uiConfig.context-CjnLnQOo.js → uiConfig.context-NWmBJ2Hc.js} +68 -4
  266. package/dist/{uiConfig.context-CN_QgxGO.d.ts → uiConfig.context-ykH4E2js.d.ts} +1 -1
  267. package/dist/uiConfig.types-BsyPKepP.d.ts +291 -0
  268. package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-C5Maic5Q.d.ts} +106 -0
  269. package/dist/{useAsyncList-CQgkDfjW.js → useAsyncList-DkIjhlce.js} +2 -2
  270. package/dist/{useBreakpoint-D-SVcBeQ.d.ts → useBreakpoint-BPrZNuNl.d.ts} +1 -1
  271. package/dist/{useBreakpoint-BrJrvp9_.js → useBreakpoint-DtYSRweq.js} +2 -2
  272. package/dist/{useControlledState-CuU1VIh1.js → useControlledState-C1-Mt2i0.js} +1 -1
  273. package/dist/{useDebounceCallback-BjePw6y4.js → useDebounceCallback-C7YKfjXW.js} +6 -0
  274. package/dist/{useFormAutosave-BN-zueci.js → useFormAutosave-BzCGqFqi.js} +2 -2
  275. package/dist/{useLiveNumberFieldState-B7qGzySj.js → useLiveNumberFieldState-npiqOvyB.js} +4 -4
  276. package/dist/{useRemoveButton-B6-IGvpY.js → useRemoveButton-zhlA1Pbc.js} +1 -1
  277. package/dist/{useResolveDateRangePreset-C_L-doA6.js → useResolveDateRangePreset-k_h_XJBG.js} +1 -1
  278. package/dist/{useScrollableListBox-C8chM7c-.js → useScrollableListBox-4pieApqz.js} +1 -1
  279. package/dist/useTableVirtualizer-sFInQiH-.d.ts +162 -0
  280. package/dist/{useToast-D2C9pROU.d.ts → useToast-BHqkSByv.d.ts} +1 -1
  281. package/dist/{useToast-DSoOiSw0.js → useToast-DgqC6Ta_.js} +2 -2
  282. package/dist/utils/logger.js +1 -1
  283. package/dist/{utils-BkLF-JA3.js → utils-Q5Oc6oX2.js} +1 -1
  284. package/llms.txt +89 -4
  285. package/package.json +13 -1
  286. package/dist/TimePickerForm-BMqNpDPT.js +0 -225
  287. package/dist/form-field-Bw7U_ZPI.d.ts +0 -1
  288. package/dist/tanstack-ABeiJISz.js +0 -10
  289. package/dist/uiConfig.types-B0sPL7nN.d.ts +0 -132
  290. package/dist/useTableColumnConfig-B9cYBKo3.js +0 -2327
  291. package/dist/useTableNav-rP1wDkhV.d.ts +0 -372
@@ -1,2 +1,2 @@
1
- import { an as InputVariantProps } from "../link.cva-D6L1c2wq.js";
1
+ import { an as InputVariantProps } from "../link.cva-ZhpQz3P0.js";
2
2
  export type { InputVariantProps };
@@ -1,31 +1,38 @@
1
1
  import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
2
+ import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
2
3
  //#region src/components/table/table.cva.ts
3
4
  const tableRowDefinition = UIOverrides.defineConfig({
4
5
  base: [
5
6
  "transition-colors",
6
7
  "not-selected:not-disabled:hover:bg-muted/50",
7
- "not-selected:not-disabled:focus-within:bg-muted/50",
8
8
  "disabled:opacity-50",
9
9
  "selected:bg-muted",
10
10
  "data-details-open:bg-muted",
11
11
  "selected:not-disabled:hover:bg-accent",
12
12
  "data-clickable:cursor-pointer"
13
13
  ],
14
- config: { variants: {
15
- variant: {
16
- bordered: "",
17
- rounded: "",
18
- verticals: "",
19
- horizontals: "",
20
- zebra: "[&:nth-child(even_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(even_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted",
21
- "striped-columns": "",
22
- inner: ""
14
+ config: {
15
+ variants: {
16
+ variant: {
17
+ bordered: "",
18
+ rounded: "",
19
+ verticals: "",
20
+ horizontals: "",
21
+ zebra: "data-[row-parity=even]:bg-muted/50 data-[row-parity=even]:not-selected:not-disabled:hover:bg-muted",
22
+ "striped-columns": "",
23
+ inner: ""
24
+ },
25
+ alternatingBackground: {
26
+ even: "data-[row-parity=even]:bg-muted/50 data-[row-parity=even]:not-selected:not-disabled:hover:bg-muted",
27
+ odd: "data-[row-parity=odd]:bg-muted/50 data-[row-parity=odd]:not-selected:not-disabled:hover:bg-muted"
28
+ },
29
+ highlightFocused: {
30
+ true: "not-selected:not-disabled:focus-within:bg-muted/50",
31
+ false: ""
32
+ }
23
33
  },
24
- alternatingBackground: {
25
- even: "[&:nth-child(even_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(even_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted",
26
- odd: "[&:nth-child(odd_of_:not([data-details-row]))]:bg-muted/50 [&:nth-child(odd_of_:not([data-details-row]))]:not-selected:not-disabled:hover:bg-muted"
27
- }
28
- } }
34
+ defaultVariants: { highlightFocused: true }
35
+ }
29
36
  });
30
37
  const tableContainerDefinition = UIOverrides.defineConfig({
31
38
  base: ["relative w-full"],
@@ -51,7 +58,7 @@ const tableContainerDefinition = UIOverrides.defineConfig({
51
58
  }
52
59
  }
53
60
  });
54
- const theadDefinition = UIOverrides.defineConfig({ base: ["group/table-head sticky top-0 z-sticky data-is-sticky:shadow-xs"] });
61
+ const theadDefinition = UIOverrides.defineConfig({ base: ["group/table-head sticky top-[var(--table-sticky-top,0px)] z-sticky data-is-sticky:shadow-xs"] });
55
62
  const pinnedEdgeClasses = [
56
63
  "transition-shadow",
57
64
  "group-data-stuck-start/table:data-[pinned-edge=start]:shadow-[inset_-1px_0_0_var(--color-border),8px_0_12px_-6px_rgb(0_0_0/0.10),2px_0_4px_-2px_rgb(0_0_0/0.06)]",
@@ -143,5 +150,49 @@ const tableDetailsPanelDefinition = UIOverrides.defineConfig({ base: ["px-4 py-4
143
150
  const tableSidePanelDefinition = UIOverrides.defineConfig({ base: ["sticky top-0 flex max-h-screen w-96 max-w-[45%] shrink-0 flex-col overflow-y-auto", "border-l border-solid border-border bg-card"] });
144
151
  const tableSidePanelHeaderDefinition = UIOverrides.defineConfig({ base: ["flex items-start gap-3 px-6 pt-5 text-card-foreground"] });
145
152
  const tableSidePanelBodyDefinition = UIOverrides.defineConfig({ base: ["px-6 pt-4 pb-6 font-sans text-foreground"] });
153
+ const tableDefinition = UIOverrides.defineConfig({ base: ["group/table w-full font-sans text-sm"] });
154
+ const tableHeadContentDefinition = UIOverrides.defineConfig({ base: ["flex min-w-0 items-center gap-1"] });
155
+ const tableHeadLabelDefinition = UIOverrides.defineConfig({ base: ["flex min-w-0 flex-1"] });
156
+ const tableSortButtonDefinition = UIOverrides.defineConfig({
157
+ base: ["flex min-w-0 select-none items-center gap-1 text-card-foreground", uiOutlineClass],
158
+ config: {
159
+ variants: { sortable: {
160
+ true: "-mx-1 h-6 cursor-pointer rounded-xs px-1 hover:bg-muted/50",
161
+ false: "cursor-default"
162
+ } },
163
+ defaultVariants: { sortable: false }
164
+ }
165
+ });
166
+ const tableResizeHandleDefinition = UIOverrides.defineConfig({
167
+ base: [
168
+ "absolute inset-y-0 z-raised w-2 pointer-coarse:w-6 cursor-col-resize touch-none select-none outline-none",
169
+ "after:absolute after:inset-y-1 after:w-0.5 after:rounded-full after:transition-colors",
170
+ "hover:after:bg-card-foreground focus-visible:after:bg-ring",
171
+ "data-resizing:after:bg-card-foreground"
172
+ ],
173
+ config: {
174
+ variants: { edge: {
175
+ end: "right-0 after:right-0",
176
+ start: "left-0 after:left-0"
177
+ } },
178
+ defaultVariants: { edge: "end" }
179
+ }
180
+ });
181
+ const tableFootDefinition = UIOverrides.defineConfig({ base: ["sticky bottom-0 z-raised"] });
182
+ const tableSkeletonDefinition = UIOverrides.defineConfig({ base: ["h-4 w-3/4 animate-pulse rounded bg-muted motion-reduce:animate-none"] });
183
+ const tableEmptyCellDefinition = UIOverrides.defineConfig({ base: ["p-0"] });
184
+ const tableEmptyDefinition = UIOverrides.defineConfig({ base: ["flex items-center justify-center px-4 py-6 text-center text-muted-foreground"] });
185
+ const tableErrorNoticeDefinition = UIOverrides.defineConfig({ base: ["sticky left-0 px-4 py-2 text-sm text-destructive"] });
186
+ const tableLoadingDefinition = UIOverrides.defineConfig({ base: ["sticky start-1/2 flex w-fit -translate-x-1/2 items-center justify-center p-6 text-muted-foreground rtl:translate-x-1/2"] });
187
+ const tableDragHandleDefinition = UIOverrides.defineConfig({
188
+ base: ["inline-flex shrink-0 cursor-move touch-none items-center justify-center rounded-md text-muted-foreground hover:text-foreground", uiOutlineClass],
189
+ config: {
190
+ variants: { size: {
191
+ sm: "size-8",
192
+ default: "size-9"
193
+ } },
194
+ defaultVariants: { size: "sm" }
195
+ }
196
+ });
146
197
  //#endregion
147
- export { tableDetailsPanelDefinition as a, tableHeaderTextDefinition as c, tableSidePanelDefinition as d, tableSidePanelHeaderDefinition as f, tableDetailsCellDefinition as i, tableRowDefinition as l, tableContainerDefinition as n, tableHeadDataDefinition as o, theadDefinition as p, tableDataDefinition as r, tableHeadRowDefinition as s, tableCellTextDefinition as t, tableSidePanelBodyDefinition as u };
198
+ export { tableSkeletonDefinition as C, tableSidePanelHeaderDefinition as S, theadDefinition as T, tableLoadingDefinition as _, tableDetailsCellDefinition as a, tableSidePanelBodyDefinition as b, tableEmptyCellDefinition as c, tableFootDefinition as d, tableHeadContentDefinition as f, tableHeaderTextDefinition as g, tableHeadRowDefinition as h, tableDefinition as i, tableEmptyDefinition as l, tableHeadLabelDefinition as m, tableContainerDefinition as n, tableDetailsPanelDefinition as o, tableHeadDataDefinition as p, tableDataDefinition as r, tableDragHandleDefinition as s, tableCellTextDefinition as t, tableErrorNoticeDefinition as u, tableResizeHandleDefinition as v, tableSortButtonDefinition as w, tableSidePanelDefinition as x, tableRowDefinition as y };
@@ -0,0 +1,18 @@
1
+ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
2
+ //#region src/components/table/tableCells.cva.ts
3
+ const cellLinkDefinition = UIOverrides.defineConfig({ base: ["group/cell-link flex items-center justify-between gap-1"] });
4
+ const cellLinkTextDefinition = UIOverrides.defineConfig({ base: ["min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap"] });
5
+ const cellLinkActionDefinition = UIOverrides.defineConfig({ base: [
6
+ "inline-flex size-5 shrink-0 items-center justify-center rounded text-muted-foreground",
7
+ "opacity-0 group-hover/cell-link:opacity-100 focus-visible:opacity-100",
8
+ "hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring"
9
+ ] });
10
+ const cellNumberUnitDefinition = UIOverrides.defineConfig({ base: ["text-muted-foreground"] });
11
+ const tableRowCheckboxDefinition = UIOverrides.defineConfig({ base: [
12
+ "group relative inline-flex size-6 shrink-0 items-center justify-center",
13
+ "[&:has(input:focus-visible)>div]:outline-2 [&:has(input:focus-visible)>div]:outline-offset-2 [&:has(input:focus-visible)>div]:outline-ring",
14
+ "data-disabled:opacity-50"
15
+ ] });
16
+ const tableSelectionCheckboxDefinition = UIOverrides.defineConfig({ base: ["flex h-full w-full items-center justify-center"] });
17
+ //#endregion
18
+ export { tableRowCheckboxDefinition as a, cellNumberUnitDefinition as i, cellLinkDefinition as n, tableSelectionCheckboxDefinition as o, cellLinkTextDefinition as r, cellLinkActionDefinition as t };
@@ -0,0 +1,215 @@
1
+ import { c } from "react/compiler-runtime";
2
+ import { createContext, useEffect, useLayoutEffect, useState, useSyncExternalStore } from "react";
3
+ //#region src/components/table/cellLinkContext.ts
4
+ /**
5
+ * Opens cell links in place instead of a new tab. Provide a handler, e.g. one that navigates inside a search
6
+ * overlay; the link icon then becomes a button calling it with the link's `href`.
7
+ */
8
+ const CellLinkNavigationContext = createContext(null);
9
+ /** Preload handlers for every `CellLink` below it, so an app wires its router once. */
10
+ const CellLinkPreloadContext = createContext(null);
11
+ //#endregion
12
+ //#region src/components/table/lazyModule.ts
13
+ const useLazyModule = (lazyModule, enabled) => {
14
+ const $ = c(10);
15
+ let t0;
16
+ if ($[0] !== lazyModule.loaded) {
17
+ t0 = () => ({
18
+ module: lazyModule.loaded,
19
+ failed: false
20
+ });
21
+ $[0] = lazyModule.loaded;
22
+ $[1] = t0;
23
+ } else t0 = $[1];
24
+ const [state, setState] = useState(t0);
25
+ const { module } = state;
26
+ let t1;
27
+ let t2;
28
+ if ($[2] !== enabled || $[3] !== lazyModule || $[4] !== module) {
29
+ t1 = () => {
30
+ if (!enabled || module) return;
31
+ let active = true;
32
+ lazyModule.load().then((loaded) => {
33
+ if (active) setState({
34
+ module: loaded,
35
+ failed: false
36
+ });
37
+ }, () => {
38
+ if (active) setState({
39
+ module: null,
40
+ failed: true
41
+ });
42
+ });
43
+ return () => {
44
+ active = false;
45
+ };
46
+ };
47
+ t2 = [
48
+ enabled,
49
+ lazyModule,
50
+ module
51
+ ];
52
+ $[2] = enabled;
53
+ $[3] = lazyModule;
54
+ $[4] = module;
55
+ $[5] = t1;
56
+ $[6] = t2;
57
+ } else {
58
+ t1 = $[5];
59
+ t2 = $[6];
60
+ }
61
+ useEffect(t1, t2);
62
+ let t3;
63
+ if ($[7] !== enabled || $[8] !== state) {
64
+ t3 = enabled ? state : {
65
+ module: null,
66
+ failed: false
67
+ };
68
+ $[7] = enabled;
69
+ $[8] = state;
70
+ $[9] = t3;
71
+ } else t3 = $[9];
72
+ return t3;
73
+ };
74
+ /**
75
+ * A module loaded on demand and shared by every table. A failed load is not cached: `preload` and later mounts try
76
+ * again, and the tables that asked for it learn of the failure so they can render without it.
77
+ */
78
+ const createLazyModule = (load) => {
79
+ let modulePromise = null;
80
+ const lazyModule = {
81
+ loaded: null,
82
+ load: () => {
83
+ modulePromise ??= load().then((module) => {
84
+ lazyModule.loaded = module;
85
+ return module;
86
+ }, (error) => {
87
+ modulePromise = null;
88
+ throw error;
89
+ });
90
+ return modulePromise;
91
+ }
92
+ };
93
+ return {
94
+ /** Starts loading; a failure is swallowed here, and a mount that needs the module retries. */
95
+ preload: () => lazyModule.load().catch(() => null),
96
+ useModule: (enabled) => useLazyModule(lazyModule, enabled)
97
+ };
98
+ };
99
+ //#endregion
100
+ //#region src/components/table/tableConfigurationContext.ts
101
+ /**
102
+ * Turns table configuration (column resizing, the column config UI and saved column settings) on or off for every
103
+ * table below it. Wrap a subtree in `<TableConfigurationEnabledContext value={false}>` to render plain tables there.
104
+ */
105
+ const TableConfigurationEnabledContext = createContext(true);
106
+ //#endregion
107
+ //#region src/components/table/tableDndModule.ts
108
+ const dndModuleLoader = createLazyModule(() => import("./TableDnd-CG1yOlxh.js"));
109
+ /**
110
+ * Loads dnd-kit for `enableDragDrop` tables. Tables load it on mount; call it earlier (for example when a route that
111
+ * reorders rows starts loading) so their rows render on the first paint.
112
+ */
113
+ const preloadTableDnd = dndModuleLoader.preload;
114
+ const TableDndModuleContext = createContext(null);
115
+ /** dnd-kit once it has loaded, while `enabled`; `failed` when it couldn't load (the table then renders without drag). */
116
+ const useTableDndModule = dndModuleLoader.useModule;
117
+ //#endregion
118
+ //#region src/components/table/useTableVirtualizer.ts
119
+ const virtualModuleLoader = createLazyModule(() => import("./tableVirtualStore-whSmFzTV.js"));
120
+ /**
121
+ * Loads row virtualization. Virtualized tables load it on mount and render their first rows meanwhile; call it at
122
+ * startup when most tables virtualize, so the first table virtualizes on its first render.
123
+ */
124
+ const preloadTableVirtualizer = virtualModuleLoader.preload;
125
+ /** The virtualization module once it has loaded, while `enabled`; `failed` when it couldn't load. */
126
+ const useTableVirtualModule = virtualModuleLoader.useModule;
127
+ const EMPTY_SNAPSHOT = {
128
+ virtualItems: [],
129
+ totalSize: 0
130
+ };
131
+ const getEmptySnapshot = () => EMPTY_SNAPSHOT;
132
+ const subscribeToNothing = () => () => {};
133
+ /** A row virtualizer once `module` is loaded; until then it renders nothing virtual. */
134
+ function useTableVirtualizer(module, options) {
135
+ const $ = c(21);
136
+ let t0;
137
+ if ($[0] !== module || $[1] !== options) {
138
+ t0 = () => module ? new module.TableVirtualStore(options) : null;
139
+ $[0] = module;
140
+ $[1] = options;
141
+ $[2] = t0;
142
+ } else t0 = $[2];
143
+ const [store, setStore] = useState(t0);
144
+ let current;
145
+ if ($[3] !== module || $[4] !== options || $[5] !== store) {
146
+ current = store;
147
+ if (module && !current) {
148
+ current = new module.TableVirtualStore(options);
149
+ setStore(current);
150
+ }
151
+ $[3] = module;
152
+ $[4] = options;
153
+ $[5] = store;
154
+ $[6] = current;
155
+ } else current = $[6];
156
+ const snapshot = useSyncExternalStore(current?.subscribe ?? subscribeToNothing, current?.getSnapshot ?? getEmptySnapshot, current?.getSnapshot ?? getEmptySnapshot);
157
+ let t1;
158
+ if ($[7] !== current) {
159
+ t1 = () => current?.mount();
160
+ $[7] = current;
161
+ $[8] = t1;
162
+ } else t1 = $[8];
163
+ let t2;
164
+ if ($[9] !== current) {
165
+ t2 = [current];
166
+ $[9] = current;
167
+ $[10] = t2;
168
+ } else t2 = $[10];
169
+ useLayoutEffect(t1, t2);
170
+ let t3;
171
+ if ($[11] !== current || $[12] !== options) {
172
+ t3 = () => current?.update(options);
173
+ $[11] = current;
174
+ $[12] = options;
175
+ $[13] = t3;
176
+ } else t3 = $[13];
177
+ let t4;
178
+ if ($[14] !== current || $[15] !== options) {
179
+ t4 = [current, options];
180
+ $[14] = current;
181
+ $[15] = options;
182
+ $[16] = t4;
183
+ } else t4 = $[16];
184
+ useLayoutEffect(t3, t4);
185
+ const t5 = current?.instance ?? null;
186
+ const t6 = current?.measureElement;
187
+ let t7;
188
+ if ($[17] !== snapshot || $[18] !== t5 || $[19] !== t6) {
189
+ t7 = {
190
+ ...snapshot,
191
+ instance: t5,
192
+ measureElement: t6
193
+ };
194
+ $[17] = snapshot;
195
+ $[18] = t5;
196
+ $[19] = t6;
197
+ $[20] = t7;
198
+ } else t7 = $[20];
199
+ return t7;
200
+ }
201
+ //#endregion
202
+ //#region src/components/table/tableColumnConfigStorage.ts
203
+ const NO_SETTINGS = {
204
+ settings: void 0,
205
+ save: () => {}
206
+ };
207
+ /** The default: nothing is saved, so configuration lasts while the table is mounted. */
208
+ const memoryTableColumnConfigStorage = { useColumnSettings: () => NO_SETTINGS };
209
+ /**
210
+ * Storage used by `useTableColumnConfig` below it, unless a table passes its own `storage`.
211
+ * Provide one stable object for the app's lifetime: its hook must not change between renders.
212
+ */
213
+ const TableColumnConfigStorageContext = createContext(memoryTableColumnConfigStorage);
214
+ //#endregion
215
+ export { useTableVirtualizer as a, useTableDndModule as c, CellLinkNavigationContext as d, CellLinkPreloadContext as f, useTableVirtualModule as i, TableConfigurationEnabledContext as l, memoryTableColumnConfigStorage as n, TableDndModuleContext as o, preloadTableVirtualizer as r, preloadTableDnd as s, TableColumnConfigStorageContext as t, createLazyModule as u };
@@ -0,0 +1,67 @@
1
+ import { flushSync } from "react-dom";
2
+ import { Virtualizer, elementScroll, observeElementOffset, observeElementRect, observeWindowOffset, observeWindowRect, windowScroll } from "@tanstack/react-virtual";
3
+ //#region src/components/table/tableVirtualStore.ts
4
+ const sameItems = (left, right) => left.length === right.length && left.every((item, index) => {
5
+ const other = right[index];
6
+ return other && item.key === other.key && item.index === other.index && item.start === other.start && item.end === other.end && item.size === other.size && item.lane === other.lane;
7
+ });
8
+ /** Keeps the mutable virtualizer behind an external-store boundary; rendering reads immutable snapshots. */
9
+ var TableVirtualStore = class {
10
+ constructor(options) {
11
+ this.listeners = /* @__PURE__ */ new Set();
12
+ this.notify = () => {
13
+ for (const listener of this.listeners) listener();
14
+ };
15
+ this.mount = () => this.instance._didMount();
16
+ this.getSnapshot = () => this.snapshot;
17
+ this.subscribe = (listener) => {
18
+ this.listeners.add(listener);
19
+ return () => {
20
+ this.listeners.delete(listener);
21
+ };
22
+ };
23
+ this.measureElement = (element) => this.instance.measureElement(element);
24
+ this.instance = new Virtualizer(this.resolveOptions(options));
25
+ this.snapshot = {
26
+ virtualItems: this.instance.getVirtualItems(),
27
+ totalSize: this.instance.getTotalSize()
28
+ };
29
+ }
30
+ resolveOptions({ isWindow, ...options }) {
31
+ const windowFunctions = {
32
+ observeElementRect: observeWindowRect,
33
+ observeElementOffset: observeWindowOffset,
34
+ scrollToFn: windowScroll,
35
+ getScrollElement: () => window
36
+ };
37
+ return {
38
+ observeElementRect,
39
+ observeElementOffset,
40
+ scrollToFn: elementScroll,
41
+ ...options,
42
+ ...isWindow ? windowFunctions : {},
43
+ onChange: (instance, synchronous) => {
44
+ this.publish(synchronous);
45
+ options.onChange?.(instance, synchronous);
46
+ }
47
+ };
48
+ }
49
+ publish(synchronous = false) {
50
+ const virtualItems = this.instance.getVirtualItems();
51
+ const totalSize = this.instance.getTotalSize();
52
+ if (totalSize === this.snapshot.totalSize && sameItems(this.snapshot.virtualItems, virtualItems)) return;
53
+ this.snapshot = {
54
+ virtualItems,
55
+ totalSize
56
+ };
57
+ if (synchronous) flushSync(this.notify);
58
+ else this.notify();
59
+ }
60
+ update(options) {
61
+ this.instance.setOptions(this.resolveOptions(options));
62
+ this.instance._willUpdate();
63
+ this.publish();
64
+ }
65
+ };
66
+ //#endregion
67
+ export { TableVirtualStore };
@@ -1,3 +1,3 @@
1
1
  import { t as BoundField } from "../form.binding-Brdjq2yr.js";
2
- import { a as useAutosave, i as useFormValue, n as useForm, r as useFormState, t as useFormAutosave } from "../useFormAutosave-BN-zueci.js";
2
+ import { a as useAutosave, i as useFormValue, n as useForm, r as useFormState, t as useFormAutosave } from "../useFormAutosave-BzCGqFqi.js";
3
3
  export { BoundField, useAutosave, useForm, useFormAutosave, useFormState, useFormValue };
@@ -0,0 +1,2 @@
1
+ import { a as TableColumnConfigStorage, c as TableColumnSettingsHandle, d as CellLinkNavigationContext, f as CellLinkPreloadContext, i as TableConfigurationEnabledContext, l as TableColumnStorageTarget, n as preloadTableDnd, o as TableColumnConfigStorageContext, p as CellLinkPreloadHandlers, s as TableColumnSettings, t as preloadTableVirtualizer, u as memoryTableColumnConfigStorage } from "../useTableVirtualizer-sFInQiH-.js";
2
+ export { CellLinkNavigationContext, CellLinkPreloadContext, type CellLinkPreloadHandlers, type TableColumnConfigStorage, TableColumnConfigStorageContext, type TableColumnSettings, type TableColumnSettingsHandle, type TableColumnStorageTarget, TableConfigurationEnabledContext, memoryTableColumnConfigStorage, preloadTableDnd, preloadTableVirtualizer };
@@ -0,0 +1,2 @@
1
+ import { d as CellLinkNavigationContext, f as CellLinkPreloadContext, l as TableConfigurationEnabledContext, n as memoryTableColumnConfigStorage, r as preloadTableVirtualizer, s as preloadTableDnd, t as TableColumnConfigStorageContext } from "../tableColumnConfigStorage-Cciq8gVe.js";
2
+ export { CellLinkNavigationContext, CellLinkPreloadContext, TableColumnConfigStorageContext, TableConfigurationEnabledContext, memoryTableColumnConfigStorage, preloadTableDnd, preloadTableVirtualizer };
@@ -0,0 +1,55 @@
1
+ /* oxlint-disable unused-imports/no-unused-vars */
2
+ import "@tanstack/react-table";
3
+ import type { ReactNode } from "react";
4
+
5
+ import type { TableSelectionModel } from "./table";
6
+
7
+ declare module "@tanstack/react-table" {
8
+ interface ColumnMeta<TFeatures, TData extends RowData, TValue> {
9
+ /** Width class for the column's cells, until it is resized. */
10
+ width?: string;
11
+ headerClass?: string;
12
+ /** Class for each cell, or a function of the row that returns it. */
13
+ cellClass?: string | ((data: TData) => string | undefined);
14
+ /** Class for a wrapper around each cell's content. */
15
+ cellContentClass?: string;
16
+ /** Class for the row of header content (label, filter) inside the header cell. */
17
+ headerContentClass?: string;
18
+ sortClass?: string;
19
+ /** Key handed to `renderColumnFilter`. Defaults to the column id. */
20
+ filterKey?: string;
21
+ /** Key used in the table's `sorting` state for this column. Defaults to the column id. */
22
+ sortKey?: string;
23
+ /** Key, or keys, an export uses for this column. The table itself doesn't read it. */
24
+ exportKey?: string | string[];
25
+ /** Columns a cell spans, per row. `0` hides the cell (a cell before it spans over it). */
26
+ colSpan?: number | ((data: TData) => number);
27
+ /** Text a cell shows for a value, used to measure the column when it is auto-sized. */
28
+ textFormatter?: (value: unknown, row: TData) => string;
29
+ /** `false` keeps the column at its size when `sized` columns stretch to fill the table. */
30
+ grow?: boolean;
31
+ /** Called with the column's width after it is resized or auto-sized. */
32
+ onWidthChange?: (width: number) => void;
33
+ /** Called with every visible column's width after a resize. Used instead of `onWidthChange` when set. */
34
+ onWidthsChange?: (widths: Record<string, number>) => void;
35
+ /** The column `size`s come from saved widths, so `sized` columns don't stretch to fill the table. */
36
+ hasSavedWidths?: boolean;
37
+ /** Selection state of a checkbox column; such a column never stretches. */
38
+ selectionModel?: TableSelectionModel<TData>;
39
+ /** Label of the column in column configuration, when the header isn't plain text. */
40
+ configLabel?: ReactNode;
41
+ /** Pins the column when the table has no `columnPinning`. */
42
+ configuredPinPosition?: false | "left" | "right";
43
+ /**
44
+ * Keeps the column's cells mounted while the table virtualizes columns, for content that sets the row height
45
+ * (badges, multi-line values), so rows keep their height during horizontal scrolling.
46
+ */
47
+ keepMounted?: boolean;
48
+ }
49
+
50
+ interface CellContext<TFeatures, TData extends RowData, TValue> {
51
+ original: TData;
52
+ data: TData;
53
+ value: TValue;
54
+ }
55
+ }
@@ -1,5 +1,5 @@
1
- import { c as TableRowVariantProps, l as TableVariant } from "../link.cva-D6L1c2wq.js";
2
- import { a as TableRowDetailsMode } from "../uiConfig.types-B0sPL7nN.js";
3
- import { _ as HeaderTextProps, a as useSorting, b as CellText, c as InfiniteTableWrapperProps, d as Row, f as Table, g as HeaderText, h as TableRowDetails, i as UseSortingOptions, l as BulkSelectionActionsComponent, m as TableWrapperProps, n as UseTableColumnConfigOptions, o as InfiniteTable, p as TableProps, r as useTableColumnConfig, s as InfiniteTableProps, t as useTableNav, u as ColumnDef, v as ColumnConfigModal, x as CellTextProps, y as ColumnConfigModalProps } from "../useTableNav-rP1wDkhV.js";
4
- import { ColumnOrderState, ColumnPinningState, ColumnSizingState, ColumnVisibilityState, ExpandedState, OnChangeFn, RowSelectionState, SortingState, StockFeatures } from "@tanstack/react-table";
5
- export { type BulkSelectionActionsComponent, CellText, type CellTextProps, ColumnConfigModal, type ColumnConfigModalProps, type ColumnDef, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type ExpandedState, HeaderText, type HeaderTextProps, InfiniteTable, type InfiniteTableProps, type InfiniteTableWrapperProps, type OnChangeFn, type Row, type RowSelectionState, type SortingState, type StockFeatures, Table, type TableProps, type TableRowDetails, type TableRowDetailsMode, type TableRowVariantProps, type TableVariant, type TableWrapperProps, type UseSortingOptions, type UseTableColumnConfigOptions, useSorting, useTableColumnConfig, useTableNav };
1
+ import { a as TableColumnConfigStorage, c as TableColumnSettingsHandle, d as CellLinkNavigationContext, f as CellLinkPreloadContext, i as TableConfigurationEnabledContext, l as TableColumnStorageTarget, n as preloadTableDnd, o as TableColumnConfigStorageContext, p as CellLinkPreloadHandlers, r as TableDragHandleProps, s as TableColumnSettings, t as preloadTableVirtualizer, u as memoryTableColumnConfigStorage } from "../useTableVirtualizer-sFInQiH-.js";
2
+ import { c as TableRowVariantProps, l as TableVariant } from "../link.cva-ZhpQz3P0.js";
3
+ import { a as TableRowDetailsMode } from "../uiConfig.types-BsyPKepP.js";
4
+ import { $ as orderTableColumns, A as InfiniteTableQueryState, B as RowDragHandleCell, C as TableSelectionState, Ct as CellDateUTC, D as InfiniteTableData, E as InfiniteTable, F as Table, G as HeaderText, H as TableRowDetails, I as TableProps, J as ColumnConfigModal, K as HeaderTextProps, L as TableReorderContext, M as BulkSelectionActionsComponent, N as ColumnDef, O as InfiniteTablePage, P as Row, Q as ColumnConfigProps, R as TableRowRenderContext, S as TableSelectionModel, St as CellDateTimeUTC, T as TableRowCheckboxProps, Tt as CellTextProps, U as TableColumnFilterContext, V as TableMountBoundary, W as TableColumnLayout, X as ColumnConfigPopover, Y as ColumnConfigModalProps, Z as ColumnConfigContentProps, _ as useRemainingNameColumnWidth, _t as CellLink, a as ExpandedState, at as CellDateFormatOptions, b as TableSelectionCheckbox, bt as CellDateProps, c as SortingState, ct as formatCellDateTimeUTCValue, d as UseTableColumnConfigOptions, dt as formatCellDateValue, et as formatColumnBoolean, f as mergeColumnOrder, ft as toCellDate, g as UseRemainingNameColumnWidthArgs, gt as CellNumberValueProps, h as useSorting, ht as CellNumberValue, i as ColumnVisibilityState, it as CELL_DATE_PLACEHOLDER, j as InfiniteTableWrapperProps, k as InfiniteTableProps, l as StockFeatures, lt as formatCellDateTimeValue, m as UseSortingOptions, mt as CellNumberProps, n as ColumnPinningState, nt as formatColumnNumber, o as OnChangeFn, ot as formatCellDateTime, p as useTableColumnConfig, pt as CellNumber, q as ColumnConfigContent, r as ColumnSizingState, rt as formatColumnText, s as RowSelectionState, st as formatCellDateTimeUTC, t as ColumnOrderState, tt as formatColumnEnum, u as useTableNav, ut as formatCellDateUTCValue, v as UseControlledTableRowSelectionOptions, vt as CellLinkProps, w as TableRowCheckbox, wt as CellText, x as TableSelectionCheckboxProps, xt as CellDateTime, y as useControlledTableRowSelection, yt as CellDate, z as TableWrapperProps } from "../tanstack-table-DdWYwCZM.js";
5
+ export { type BulkSelectionActionsComponent, CELL_DATE_PLACEHOLDER, CellDate, type CellDateFormatOptions, type CellDateProps, CellDateTime, CellDateTimeUTC, CellDateUTC, CellLink, CellLinkNavigationContext, CellLinkPreloadContext, type CellLinkPreloadHandlers, type CellLinkProps, CellNumber, type CellNumberProps, CellNumberValue, type CellNumberValueProps, CellText, type CellTextProps, ColumnConfigContent, type ColumnConfigContentProps, ColumnConfigModal, type ColumnConfigModalProps, ColumnConfigPopover, type ColumnConfigProps, type ColumnDef, type ColumnOrderState, type ColumnPinningState, type ColumnSizingState, type ColumnVisibilityState, type ExpandedState, HeaderText, type HeaderTextProps, InfiniteTable, type InfiniteTableData, type InfiniteTablePage, type InfiniteTableProps, type InfiniteTableQueryState, type InfiniteTableWrapperProps, type OnChangeFn, type Row, RowDragHandleCell, type RowSelectionState, type SortingState, type StockFeatures, Table, type TableColumnConfigStorage, TableColumnConfigStorageContext, type TableColumnFilterContext, type TableColumnLayout, type TableColumnSettings, type TableColumnSettingsHandle, type TableColumnStorageTarget, TableConfigurationEnabledContext, type TableDragHandleProps, TableMountBoundary, type TableProps, type TableReorderContext, TableRowCheckbox, type TableRowCheckboxProps, type TableRowDetails, type TableRowDetailsMode, type TableRowRenderContext, type TableRowVariantProps, TableSelectionCheckbox, type TableSelectionCheckboxProps, type TableSelectionModel, type TableSelectionState, type TableVariant, type TableWrapperProps, type UseControlledTableRowSelectionOptions, type UseRemainingNameColumnWidthArgs, type UseSortingOptions, type UseTableColumnConfigOptions, formatCellDateTime, formatCellDateTimeUTC, formatCellDateTimeUTCValue, formatCellDateTimeValue, formatCellDateUTCValue, formatCellDateValue, formatColumnBoolean, formatColumnEnum, formatColumnNumber, formatColumnText, memoryTableColumnConfigStorage, mergeColumnOrder, orderTableColumns, preloadTableDnd, preloadTableVirtualizer, toCellDate, useControlledTableRowSelection, useRemainingNameColumnWidth, useSorting, useTableColumnConfig, useTableNav };
@@ -1,2 +1,3 @@
1
- import { a as useTableNav, c as CellText, i as Table, n as useSorting, o as HeaderText, r as InfiniteTable, s as ColumnConfigModal, t as useTableColumnConfig } from "../useTableColumnConfig-B9cYBKo3.js";
2
- export { CellText, ColumnConfigModal, HeaderText, InfiniteTable, Table, useSorting, useTableColumnConfig, useTableNav };
1
+ import { A as CELL_DATE_PLACEHOLDER, C as CellNumber, D as CellDateTime, E as CellDate, F as formatCellDateUTCValue, I as formatCellDateValue, L as toCellDate, M as formatCellDateTimeUTC, N as formatCellDateTimeUTCValue, O as CellDateTimeUTC, P as formatCellDateTimeValue, R as CellText, S as formatColumnText, T as CellLink, _ as orderTableColumns, a as useControlledTableRowSelection, b as formatColumnEnum, c as InfiniteTable, d as RowDragHandleCell, f as useTableNav, g as ColumnConfigPopover, h as ColumnConfigModal, i as useRemainingNameColumnWidth, j as formatCellDateTime, k as CellDateUTC, l as Table, m as ColumnConfigContent, n as useTableColumnConfig, o as TableSelectionCheckbox, p as HeaderText, r as useSorting, s as TableRowCheckbox, t as mergeColumnOrder, u as TableMountBoundary, w as CellNumberValue, x as formatColumnNumber, y as formatColumnBoolean } from "../tanstack-table-M1M26UQJ.js";
2
+ import { d as CellLinkNavigationContext, f as CellLinkPreloadContext, l as TableConfigurationEnabledContext, n as memoryTableColumnConfigStorage, r as preloadTableVirtualizer, s as preloadTableDnd, t as TableColumnConfigStorageContext } from "../tableColumnConfigStorage-Cciq8gVe.js";
3
+ export { CELL_DATE_PLACEHOLDER, CellDate, CellDateTime, CellDateTimeUTC, CellDateUTC, CellLink, CellLinkNavigationContext, CellLinkPreloadContext, CellNumber, CellNumberValue, CellText, ColumnConfigContent, ColumnConfigModal, ColumnConfigPopover, HeaderText, InfiniteTable, RowDragHandleCell, Table, TableColumnConfigStorageContext, TableConfigurationEnabledContext, TableMountBoundary, TableRowCheckbox, TableSelectionCheckbox, formatCellDateTime, formatCellDateTimeUTC, formatCellDateTimeUTCValue, formatCellDateTimeValue, formatCellDateUTCValue, formatCellDateValue, formatColumnBoolean, formatColumnEnum, formatColumnNumber, formatColumnText, memoryTableColumnConfigStorage, mergeColumnOrder, orderTableColumns, preloadTableDnd, preloadTableVirtualizer, toCellDate, useControlledTableRowSelection, useRemainingNameColumnWidth, useSorting, useTableColumnConfig, useTableNav };
@@ -0,0 +1,73 @@
1
+ import { c } from "react/compiler-runtime";
2
+ import { useEffect, useRef } from "react";
3
+ //#region src/hooks/useLongPressRepeat.ts
4
+ const useLongPressRepeat = (t0) => {
5
+ const $ = c(10);
6
+ const { onPress, enabled: t1, interval: t2, timeout: t3 } = t0;
7
+ const enabled = t1 === void 0 ? true : t1;
8
+ const interval = t2 === void 0 ? 85 : t2;
9
+ const timeout = t3 === void 0 ? 500 : t3;
10
+ const intervalRef = useRef(void 0);
11
+ let t4;
12
+ let t5;
13
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
14
+ t4 = () => () => {
15
+ clearInterval(intervalRef.current);
16
+ };
17
+ t5 = [];
18
+ $[0] = t4;
19
+ $[1] = t5;
20
+ } else {
21
+ t4 = $[0];
22
+ t5 = $[1];
23
+ }
24
+ useEffect(t4, t5);
25
+ let t6;
26
+ if ($[2] !== enabled || $[3] !== interval || $[4] !== onPress || $[5] !== timeout) {
27
+ t6 = () => {
28
+ onPress(false);
29
+ if (!enabled) return;
30
+ intervalRef.current = setTimeout(() => {
31
+ onPress(true);
32
+ intervalRef.current = setInterval(() => {
33
+ onPress(true);
34
+ }, interval);
35
+ }, timeout);
36
+ };
37
+ $[2] = enabled;
38
+ $[3] = interval;
39
+ $[4] = onPress;
40
+ $[5] = timeout;
41
+ $[6] = t6;
42
+ } else t6 = $[6];
43
+ const onPressStart = t6;
44
+ let t7;
45
+ if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
46
+ t7 = () => {
47
+ clearInterval(intervalRef.current);
48
+ };
49
+ $[7] = t7;
50
+ } else t7 = $[7];
51
+ const onPressEnd = t7;
52
+ let t8;
53
+ if ($[8] !== onPressStart) {
54
+ t8 = {
55
+ onPressStart,
56
+ onPressEnd
57
+ };
58
+ $[8] = onPressStart;
59
+ $[9] = t8;
60
+ } else t8 = $[9];
61
+ return t8;
62
+ };
63
+ //#endregion
64
+ //#region src/utils/array.utils.ts
65
+ let ArrayUtils;
66
+ (function(_ArrayUtils) {
67
+ _ArrayUtils.fromCommaSeparatedStr = (str) => {
68
+ if (!str) return [];
69
+ return str.split(",").map((item) => item.trim());
70
+ };
71
+ })(ArrayUtils || (ArrayUtils = {}));
72
+ //#endregion
73
+ export { useLongPressRepeat as n, ArrayUtils as t };