ivt 0.6.9 → 0.7.1

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 (248) hide show
  1. package/dist/accordion/index.mjs +15 -15
  2. package/dist/accordion-table/index.mjs +27 -27
  3. package/dist/alert/index.mjs +5 -44
  4. package/dist/alert/index.mjs.map +1 -1
  5. package/dist/alert-dialog/index.mjs +17 -17
  6. package/dist/aspect-ratio/index.mjs +1 -1
  7. package/dist/auto-complete-multi-select/index.d.ts +4 -3
  8. package/dist/auto-complete-multi-select/index.mjs +34 -34
  9. package/dist/auto-complete-multi-select/index.mjs.map +1 -1
  10. package/dist/avatar/index.mjs +7 -7
  11. package/dist/badge/index.mjs +3 -3
  12. package/dist/base/index.d.ts +130 -3
  13. package/dist/base/index.mjs +240 -51
  14. package/dist/base/index.mjs.map +1 -1
  15. package/dist/breadcrumb/index.mjs +5 -5
  16. package/dist/button/index.mjs +3 -3
  17. package/dist/button-group/index.mjs +4 -4
  18. package/dist/calendar/index.mjs +9 -9
  19. package/dist/card/index.mjs +3 -3
  20. package/dist/carousel/index.mjs +4 -4
  21. package/dist/chart/index.mjs +4 -4
  22. package/dist/checkbox/index.mjs +14 -14
  23. package/dist/chunks/{CalendarRange-yEDYUjQD.mjs → CalendarRange-BCcF9etO.mjs} +8 -8
  24. package/dist/chunks/{CalendarRange-yEDYUjQD.mjs.map → CalendarRange-BCcF9etO.mjs.map} +1 -1
  25. package/dist/chunks/{ComboboxField-ILa8OaOB.mjs → ComboboxField-C8LG3Dfr.mjs} +9 -9
  26. package/dist/chunks/{ComboboxField-ILa8OaOB.mjs.map → ComboboxField-C8LG3Dfr.mjs.map} +1 -1
  27. package/dist/chunks/{Container-DIxGDpnK.mjs → Container-DGNhxyRJ.mjs} +2 -2
  28. package/dist/chunks/{Container-DIxGDpnK.mjs.map → Container-DGNhxyRJ.mjs.map} +1 -1
  29. package/dist/chunks/{DeleteConfirmationModal-Chw9qtJ5.mjs → DeleteConfirmationModal-CjXlfOWx.mjs} +6 -6
  30. package/dist/chunks/DeleteConfirmationModal-CjXlfOWx.mjs.map +1 -0
  31. package/dist/chunks/{ListItem-Cmc5KRwa.mjs → ListItem-D8UYYQVp.mjs} +4 -4
  32. package/dist/chunks/{ListItem-Cmc5KRwa.mjs.map → ListItem-D8UYYQVp.mjs.map} +1 -1
  33. package/dist/chunks/{TooltipIndicator-DmbkG9GU.mjs → TooltipIndicator-DgBUQgOI.mjs} +5 -5
  34. package/dist/chunks/{TooltipIndicator-DmbkG9GU.mjs.map → TooltipIndicator-DgBUQgOI.mjs.map} +1 -1
  35. package/dist/chunks/{_commonjsHelpers-BB7msia9.mjs → _commonjsHelpers-9sDwrKIv.mjs} +1 -1
  36. package/dist/chunks/_commonjsHelpers-9sDwrKIv.mjs.map +1 -0
  37. package/dist/chunks/{accordion-CEM9oHG4.mjs → accordion-130n2E9C.mjs} +11 -11
  38. package/dist/chunks/{accordion-CEM9oHG4.mjs.map → accordion-130n2E9C.mjs.map} +1 -1
  39. package/dist/chunks/alert-BONxY3hS.mjs +44 -0
  40. package/dist/chunks/alert-BONxY3hS.mjs.map +1 -0
  41. package/dist/chunks/{badge-Bq7g6DlG.mjs → badge-rV4HbE_R.mjs} +2 -2
  42. package/dist/chunks/{badge-Bq7g6DlG.mjs.map → badge-rV4HbE_R.mjs.map} +1 -1
  43. package/dist/chunks/{bundle-mjs-DF1QM7yV.mjs → bundle-mjs-BYcyWisL.mjs} +1 -1
  44. package/dist/chunks/{bundle-mjs-DF1QM7yV.mjs.map → bundle-mjs-BYcyWisL.mjs.map} +1 -1
  45. package/dist/chunks/{button-C0ijXnnF.mjs → button-Co_1yLv6.mjs} +2 -2
  46. package/dist/chunks/{button-C0ijXnnF.mjs.map → button-Co_1yLv6.mjs.map} +1 -1
  47. package/dist/chunks/{calendar-days-Bvb62uyh.mjs → calendar-days-D8ft1Hpj.mjs} +2 -2
  48. package/dist/chunks/{calendar-days-Bvb62uyh.mjs.map → calendar-days-D8ft1Hpj.mjs.map} +1 -1
  49. package/dist/chunks/{calendar-DZgstGv7.mjs → calendar-olAv9AH7.mjs} +7 -7
  50. package/dist/chunks/{calendar-DZgstGv7.mjs.map → calendar-olAv9AH7.mjs.map} +1 -1
  51. package/dist/chunks/{card-BQVVUjMb.mjs → card-C_2pshaz.mjs} +2 -2
  52. package/dist/chunks/{card-BQVVUjMb.mjs.map → card-C_2pshaz.mjs.map} +1 -1
  53. package/dist/chunks/{check-DduIDKAH.mjs → check-BBGTedl-.mjs} +2 -2
  54. package/dist/chunks/{check-DduIDKAH.mjs.map → check-BBGTedl-.mjs.map} +1 -1
  55. package/dist/chunks/{checkbox-CWK1-JLs.mjs → checkbox-D9LLByPZ.mjs} +11 -11
  56. package/dist/chunks/{checkbox-CWK1-JLs.mjs.map → checkbox-D9LLByPZ.mjs.map} +1 -1
  57. package/dist/chunks/{chevron-down-C8lGEIzE.mjs → chevron-down-DNXEgdv9.mjs} +2 -2
  58. package/dist/chunks/{chevron-down-C8lGEIzE.mjs.map → chevron-down-DNXEgdv9.mjs.map} +1 -1
  59. package/dist/chunks/{chevron-left-Ca4MIUps.mjs → chevron-left-D7OzIyKL.mjs} +2 -2
  60. package/dist/chunks/{chevron-left-Ca4MIUps.mjs.map → chevron-left-D7OzIyKL.mjs.map} +1 -1
  61. package/dist/chunks/{chevron-right-D8jyu1Ce.mjs → chevron-right-mC6NR8jW.mjs} +2 -2
  62. package/dist/chunks/{chevron-right-D8jyu1Ce.mjs.map → chevron-right-mC6NR8jW.mjs.map} +1 -1
  63. package/dist/chunks/{chevrons-up-down-2G_mHB5d.mjs → chevrons-up-down-BFiJwHit.mjs} +2 -2
  64. package/dist/chunks/{chevrons-up-down-2G_mHB5d.mjs.map → chevrons-up-down-BFiJwHit.mjs.map} +1 -1
  65. package/dist/chunks/{command-CTTEi-Tw.mjs → command-IckfUQsK.mjs} +8 -8
  66. package/dist/chunks/{command-CTTEi-Tw.mjs.map → command-IckfUQsK.mjs.map} +1 -1
  67. package/dist/chunks/{createLucideIcon-CyWof2Fq.mjs → createLucideIcon-DLrNgMqk.mjs} +1 -1
  68. package/dist/chunks/{createLucideIcon-CyWof2Fq.mjs.map → createLucideIcon-DLrNgMqk.mjs.map} +1 -1
  69. package/dist/chunks/{date-Nk-MIRuv.mjs → date-bAe2UaSj.mjs} +2 -2
  70. package/dist/chunks/{date-Nk-MIRuv.mjs.map → date-bAe2UaSj.mjs.map} +1 -1
  71. package/dist/chunks/{dialog-DsCgCf_e.mjs → dialog-BkF50Tmo.mjs} +4 -4
  72. package/dist/chunks/{dialog-DsCgCf_e.mjs.map → dialog-BkF50Tmo.mjs.map} +1 -1
  73. package/dist/chunks/{ellipsis-CETjPDAu.mjs → ellipsis-xV1ovGxI.mjs} +2 -2
  74. package/dist/chunks/{ellipsis-CETjPDAu.mjs.map → ellipsis-xV1ovGxI.mjs.map} +1 -1
  75. package/dist/chunks/{form-Cu6WYy_F.mjs → form-0eamcSZm.mjs} +3 -3
  76. package/dist/chunks/{form-Cu6WYy_F.mjs.map → form-0eamcSZm.mjs.map} +1 -1
  77. package/dist/chunks/{format-Dy5xvA9f.mjs → format-Cn5wls3k.mjs} +1 -1
  78. package/dist/chunks/{format-Dy5xvA9f.mjs.map → format-Cn5wls3k.mjs.map} +1 -1
  79. package/dist/chunks/{format-numbers-Cv0AFOA0.mjs → format-numbers-BMHnFGse.mjs} +1 -1
  80. package/dist/chunks/{format-numbers-Cv0AFOA0.mjs.map → format-numbers-BMHnFGse.mjs.map} +1 -1
  81. package/dist/chunks/{hover-card-DftgNnGK.mjs → hover-card-CodWi0dK.mjs} +11 -11
  82. package/dist/chunks/{hover-card-DftgNnGK.mjs.map → hover-card-CodWi0dK.mjs.map} +1 -1
  83. package/dist/chunks/{index-BI2MxMeC.mjs → index-1tQVI0Jh.mjs} +1 -1
  84. package/dist/chunks/{index-BI2MxMeC.mjs.map → index-1tQVI0Jh.mjs.map} +1 -1
  85. package/dist/chunks/{index-DZlAt5Up.mjs → index-An4yBrAZ.mjs} +2 -2
  86. package/dist/chunks/{index-DZlAt5Up.mjs.map → index-An4yBrAZ.mjs.map} +1 -1
  87. package/dist/chunks/{index-sGgLIg5I.mjs → index-BRYGnp2Q.mjs} +11 -11
  88. package/dist/chunks/{index-sGgLIg5I.mjs.map → index-BRYGnp2Q.mjs.map} +1 -1
  89. package/dist/chunks/{index-qUT5iV25.mjs → index-BTe1rv5Z.mjs} +3 -3
  90. package/dist/chunks/{index-qUT5iV25.mjs.map → index-BTe1rv5Z.mjs.map} +1 -1
  91. package/dist/chunks/{index-D56BYstR.mjs → index-Bl-WJHvp.mjs} +1 -1
  92. package/dist/chunks/{index-D56BYstR.mjs.map → index-Bl-WJHvp.mjs.map} +1 -1
  93. package/dist/chunks/{index-DE-b60L0.mjs → index-BsG_UW8k.mjs} +9 -9
  94. package/dist/chunks/{index-DE-b60L0.mjs.map → index-BsG_UW8k.mjs.map} +1 -1
  95. package/dist/chunks/{index-2anlJbdb.mjs → index-C6s8KI_8.mjs} +3 -3
  96. package/dist/chunks/{index-2anlJbdb.mjs.map → index-C6s8KI_8.mjs.map} +1 -1
  97. package/dist/chunks/{index-BsB-iQGw.mjs → index-CGLjQEjG.mjs} +1 -1
  98. package/dist/chunks/{index-BsB-iQGw.mjs.map → index-CGLjQEjG.mjs.map} +1 -1
  99. package/dist/chunks/{index-CQt6sjXa.mjs → index-Cbm3--wc.mjs} +1 -1
  100. package/dist/chunks/{index-CQt6sjXa.mjs.map → index-Cbm3--wc.mjs.map} +1 -1
  101. package/dist/chunks/{index-Ccz8nL5M.mjs → index-D4FMFHi9.mjs} +2 -2
  102. package/dist/chunks/{index-Ccz8nL5M.mjs.map → index-D4FMFHi9.mjs.map} +1 -1
  103. package/dist/chunks/{index-B0Kdhw0d.mjs → index-DKOlG3mh.mjs} +1 -1
  104. package/dist/chunks/{index-B0Kdhw0d.mjs.map → index-DKOlG3mh.mjs.map} +1 -1
  105. package/dist/chunks/{index-vtBqBO3S.mjs → index-DT8WgpCS.mjs} +1 -1
  106. package/dist/chunks/{index-vtBqBO3S.mjs.map → index-DT8WgpCS.mjs.map} +1 -1
  107. package/dist/chunks/{index-CKARIk9k.mjs → index-DUpRrJTH.mjs} +5 -5
  108. package/dist/chunks/{index-CKARIk9k.mjs.map → index-DUpRrJTH.mjs.map} +1 -1
  109. package/dist/chunks/{index-Dot3Y4xv.mjs → index-DWJ_2Xiy.mjs} +9 -9
  110. package/dist/chunks/{index-Dot3Y4xv.mjs.map → index-DWJ_2Xiy.mjs.map} +1 -1
  111. package/dist/chunks/{index-CUXpXuiX.mjs → index-DWmrjIYv.mjs} +15 -15
  112. package/dist/chunks/{index-CUXpXuiX.mjs.map → index-DWmrjIYv.mjs.map} +1 -1
  113. package/dist/chunks/{index-L4pU8dCQ.mjs → index-DgKlJYZP.mjs} +1 -1
  114. package/dist/chunks/{index-L4pU8dCQ.mjs.map → index-DgKlJYZP.mjs.map} +1 -1
  115. package/dist/chunks/{index-DAZztiKf.mjs → index-DmY774z-.mjs} +2 -2
  116. package/dist/chunks/{index-DAZztiKf.mjs.map → index-DmY774z-.mjs.map} +1 -1
  117. package/dist/chunks/{index-Coakg78O.mjs → index-DvCZGX3H.mjs} +5 -5
  118. package/dist/chunks/{index-Coakg78O.mjs.map → index-DvCZGX3H.mjs.map} +1 -1
  119. package/dist/chunks/{index-PrEP6495.mjs → index-FL3PKmOS.mjs} +1 -1
  120. package/dist/chunks/{index-PrEP6495.mjs.map → index-FL3PKmOS.mjs.map} +1 -1
  121. package/dist/chunks/{index-DpP8NjDG.mjs → index-GgS4otoq.mjs} +1 -1
  122. package/dist/chunks/{index-DpP8NjDG.mjs.map → index-GgS4otoq.mjs.map} +1 -1
  123. package/dist/chunks/{index-n9Y_kDgY.mjs → index-aLIsJMgt.mjs} +7 -7
  124. package/dist/chunks/{index-n9Y_kDgY.mjs.map → index-aLIsJMgt.mjs.map} +1 -1
  125. package/dist/chunks/{index-aXbRFMsA.mjs → index-korrz_kD.mjs} +1 -1
  126. package/dist/chunks/{index-aXbRFMsA.mjs.map → index-korrz_kD.mjs.map} +1 -1
  127. package/dist/chunks/{index-BEh8ek6-.mjs → index-tkRL9Tft.mjs} +2 -2
  128. package/dist/chunks/{index-BEh8ek6-.mjs.map → index-tkRL9Tft.mjs.map} +1 -1
  129. package/dist/chunks/{index.module-dysOJ0dE.mjs → index.module-1-Lm1QYF.mjs} +1 -1
  130. package/dist/chunks/{index.module-dysOJ0dE.mjs.map → index.module-1-Lm1QYF.mjs.map} +1 -1
  131. package/dist/chunks/{input-tGWBpkwj.mjs → input-BEkvMaQp.mjs} +2 -2
  132. package/dist/chunks/{input-tGWBpkwj.mjs.map → input-BEkvMaQp.mjs.map} +1 -1
  133. package/dist/chunks/{label-BrO1sQ0r.mjs → label-atj6gghV.mjs} +3 -3
  134. package/dist/chunks/{label-BrO1sQ0r.mjs.map → label-atj6gghV.mjs.map} +1 -1
  135. package/dist/chunks/{loader-circle-4xW2b9O-.mjs → loader-circle-BX1p6hn_.mjs} +2 -2
  136. package/dist/chunks/{loader-circle-4xW2b9O-.mjs.map → loader-circle-BX1p6hn_.mjs.map} +1 -1
  137. package/dist/chunks/{menubar-IydEfpqR.mjs → menubar-JE1m8rYJ.mjs} +13 -13
  138. package/dist/chunks/{menubar-IydEfpqR.mjs.map → menubar-JE1m8rYJ.mjs.map} +1 -1
  139. package/dist/chunks/{multi-select-okHPP4N6.mjs → multi-select-dor8SMeS.mjs} +13 -13
  140. package/dist/chunks/{multi-select-okHPP4N6.mjs.map → multi-select-dor8SMeS.mjs.map} +1 -1
  141. package/dist/chunks/{pagination-DMKpWpJG.mjs → pagination-BaIJ0fC9.mjs} +6 -6
  142. package/dist/chunks/{pagination-DMKpWpJG.mjs.map → pagination-BaIJ0fC9.mjs.map} +1 -1
  143. package/dist/chunks/{popover-BW3SktUO.mjs → popover-CsYW0nDm.mjs} +13 -13
  144. package/dist/chunks/{popover-BW3SktUO.mjs.map → popover-CsYW0nDm.mjs.map} +1 -1
  145. package/dist/chunks/{progress-DUEVgFeg.mjs → progress-CwHuXUFj.mjs} +4 -4
  146. package/dist/chunks/{progress-DUEVgFeg.mjs.map → progress-CwHuXUFj.mjs.map} +1 -1
  147. package/dist/chunks/{react-number-format.es-Cbz93HFd.mjs → react-number-format.es-DSc45Db0.mjs} +1 -1
  148. package/dist/chunks/{react-number-format.es-Cbz93HFd.mjs.map → react-number-format.es-DSc45Db0.mjs.map} +1 -1
  149. package/dist/chunks/{scroll-area-D9LK7L4w.mjs → scroll-area-Cr1Iu-Ot.mjs} +11 -11
  150. package/dist/chunks/{scroll-area-D9LK7L4w.mjs.map → scroll-area-Cr1Iu-Ot.mjs.map} +1 -1
  151. package/dist/chunks/{select-PRQ81N8j.mjs → select-C4BJbkha.mjs} +5 -5
  152. package/dist/chunks/{select-PRQ81N8j.mjs.map → select-C4BJbkha.mjs.map} +1 -1
  153. package/dist/chunks/{separator-D7Q4xZTz.mjs → separator-StpvupIv.mjs} +3 -3
  154. package/dist/chunks/{separator-D7Q4xZTz.mjs.map → separator-StpvupIv.mjs.map} +1 -1
  155. package/dist/chunks/{sheet-C-yvf0_u.mjs → sheet-BVDcVKli.mjs} +4 -4
  156. package/dist/chunks/{sheet-C-yvf0_u.mjs.map → sheet-BVDcVKli.mjs.map} +1 -1
  157. package/dist/chunks/{skeleton-Bz6KDspc.mjs → skeleton-CIulxewv.mjs} +2 -2
  158. package/dist/chunks/{skeleton-Bz6KDspc.mjs.map → skeleton-CIulxewv.mjs.map} +1 -1
  159. package/dist/chunks/{sortable-BD-qat9h.mjs → sortable-CjI-AdZJ.mjs} +3 -3
  160. package/dist/chunks/{sortable-BD-qat9h.mjs.map → sortable-CjI-AdZJ.mjs.map} +1 -1
  161. package/dist/chunks/{table-CcTvqI8M.mjs → table-Bxaxu8Lu.mjs} +2 -2
  162. package/dist/chunks/{table-CcTvqI8M.mjs.map → table-Bxaxu8Lu.mjs.map} +1 -1
  163. package/dist/chunks/tabs-BY4r8p4T.mjs +187 -0
  164. package/dist/chunks/tabs-BY4r8p4T.mjs.map +1 -0
  165. package/dist/chunks/{textarea-DQisQdiY.mjs → textarea-C6wEktNT.mjs} +2 -2
  166. package/dist/chunks/{textarea-DQisQdiY.mjs.map → textarea-C6wEktNT.mjs.map} +1 -1
  167. package/dist/chunks/{toggle-DAuL1B39.mjs → toggle-BKUFNwmI.mjs} +5 -5
  168. package/dist/chunks/{toggle-DAuL1B39.mjs.map → toggle-BKUFNwmI.mjs.map} +1 -1
  169. package/dist/chunks/{tooltip-DF-75FfQ.mjs → tooltip-BTEGteNb.mjs} +13 -13
  170. package/dist/chunks/{tooltip-DF-75FfQ.mjs.map → tooltip-BTEGteNb.mjs.map} +1 -1
  171. package/dist/chunks/{trash-2-C-nU3lmr.mjs → trash-2-D6lkozey.mjs} +2 -2
  172. package/dist/chunks/{trash-2-C-nU3lmr.mjs.map → trash-2-D6lkozey.mjs.map} +1 -1
  173. package/dist/chunks/{triangle-alert-MhLQqOiF.mjs → triangle-alert-D5Cr5kOo.mjs} +2 -2
  174. package/dist/chunks/{triangle-alert-MhLQqOiF.mjs.map → triangle-alert-D5Cr5kOo.mjs.map} +1 -1
  175. package/dist/chunks/{tslib.es6-Cuxw-1bu.mjs → tslib.es6-DXUeYCTx.mjs} +1 -1
  176. package/dist/chunks/{tslib.es6-Cuxw-1bu.mjs.map → tslib.es6-DXUeYCTx.mjs.map} +1 -1
  177. package/dist/chunks/{utils-CwDmCEge.mjs → utils-05LlW3Cl.mjs} +2 -2
  178. package/dist/chunks/{utils-CwDmCEge.mjs.map → utils-05LlW3Cl.mjs.map} +1 -1
  179. package/dist/chunks/{wand-sparkles-7XfX5Sd6.mjs → wand-sparkles-BIbU0kjG.mjs} +2 -2
  180. package/dist/chunks/{wand-sparkles-7XfX5Sd6.mjs.map → wand-sparkles-BIbU0kjG.mjs.map} +1 -1
  181. package/dist/chunks/{x-Dpaoz6yn.mjs → x-BOMmTgZd.mjs} +2 -2
  182. package/dist/chunks/{x-Dpaoz6yn.mjs.map → x-BOMmTgZd.mjs.map} +1 -1
  183. package/dist/collapsible/index.mjs +9 -9
  184. package/dist/combobox/index.d.ts +5 -1
  185. package/dist/combobox/index.mjs +29 -27
  186. package/dist/combobox/index.mjs.map +1 -1
  187. package/dist/command/index.mjs +20 -20
  188. package/dist/context-menu/index.mjs +23 -23
  189. package/dist/dash/index.mjs +25 -25
  190. package/dist/data-table/index.mjs +35 -35
  191. package/dist/date-picker/index.mjs +27 -27
  192. package/dist/dialog/index.mjs +19 -19
  193. package/dist/drawer/index.mjs +16 -16
  194. package/dist/dropdown-menu/index.mjs +23 -23
  195. package/dist/dropzone/index.mjs +19 -19
  196. package/dist/editable-table/index.mjs +20 -20
  197. package/dist/empty/index.mjs +2 -2
  198. package/dist/field/index.mjs +5 -5
  199. package/dist/form/index.mjs +5 -5
  200. package/dist/form-fields/index.mjs +28 -28
  201. package/dist/hover-card/index.mjs +15 -15
  202. package/dist/icon/index.mjs +1 -1
  203. package/dist/index.css +1 -1
  204. package/dist/input/index.mjs +3 -3
  205. package/dist/input-group/index.mjs +5 -5
  206. package/dist/input-otp/index.mjs +3 -3
  207. package/dist/item/index.mjs +4 -4
  208. package/dist/ivt.css +1 -1
  209. package/dist/kbd/index.mjs +2 -2
  210. package/dist/label/index.mjs +4 -4
  211. package/dist/layout/index.mjs +23 -23
  212. package/dist/menubar/index.mjs +24 -24
  213. package/dist/multi-input-list/index.d.ts +7 -0
  214. package/dist/multi-input-list/index.mjs +178 -74
  215. package/dist/multi-input-list/index.mjs.map +1 -1
  216. package/dist/multi-select/index.mjs +33 -33
  217. package/dist/navigation-menu/index.mjs +17 -17
  218. package/dist/pagination/index.mjs +8 -8
  219. package/dist/popover/index.mjs +18 -18
  220. package/dist/progress/index.mjs +5 -5
  221. package/dist/radio-group/index.mjs +17 -17
  222. package/dist/resizable/index.mjs +3 -3
  223. package/dist/scroll-area/index.mjs +12 -12
  224. package/dist/select/index.mjs +6 -6
  225. package/dist/separator/index.mjs +4 -4
  226. package/dist/shared/index.mjs +5 -5
  227. package/dist/sheet/index.mjs +19 -19
  228. package/dist/sidebar/index.mjs +27 -27
  229. package/dist/skeleton/index.mjs +3 -3
  230. package/dist/skeleton-component/index.mjs +4 -4
  231. package/dist/slider/index.mjs +12 -12
  232. package/dist/sortable/index.mjs +4 -4
  233. package/dist/spinner/index.mjs +4 -4
  234. package/dist/switch/index.mjs +10 -10
  235. package/dist/table/index.mjs +3 -3
  236. package/dist/table-filter/index.d.ts +7 -1
  237. package/dist/table-filter/index.mjs +95 -65
  238. package/dist/table-filter/index.mjs.map +1 -1
  239. package/dist/tabs/index.mjs +16 -190
  240. package/dist/tabs/index.mjs.map +1 -1
  241. package/dist/textarea/index.mjs +3 -3
  242. package/dist/toast/index.mjs +15 -15
  243. package/dist/toggle/index.mjs +7 -7
  244. package/dist/toggle-group/index.mjs +13 -13
  245. package/dist/tooltip/index.mjs +17 -17
  246. package/package.json +470 -470
  247. package/dist/chunks/DeleteConfirmationModal-Chw9qtJ5.mjs.map +0 -1
  248. package/dist/chunks/_commonjsHelpers-BB7msia9.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- export { S as Skeleton } from '../chunks/skeleton-Bz6KDspc.mjs';
1
+ export { S as Skeleton } from '../chunks/skeleton-CIulxewv.mjs';
2
2
  import 'react';
3
- import '../chunks/utils-CwDmCEge.mjs';
4
- import '../chunks/bundle-mjs-DF1QM7yV.mjs';
3
+ import '../chunks/utils-05LlW3Cl.mjs';
4
+ import '../chunks/bundle-mjs-BYcyWisL.mjs';
5
5
  //# sourceMappingURL=index.mjs.map
@@ -1,8 +1,8 @@
1
1
  import React__default from 'react';
2
- import { C as Container, a as ChildContainer } from '../chunks/Container-DIxGDpnK.mjs';
3
- import { S as Skeleton } from '../chunks/skeleton-Bz6KDspc.mjs';
4
- import '../chunks/utils-CwDmCEge.mjs';
5
- import '../chunks/bundle-mjs-DF1QM7yV.mjs';
2
+ import { C as Container, a as ChildContainer } from '../chunks/Container-DGNhxyRJ.mjs';
3
+ import { S as Skeleton } from '../chunks/skeleton-CIulxewv.mjs';
4
+ import '../chunks/utils-05LlW3Cl.mjs';
5
+ import '../chunks/bundle-mjs-BYcyWisL.mjs';
6
6
 
7
7
  const FormSkeleton = ({ count = 4 })=>{
8
8
  return /*#__PURE__*/ React__default.createElement("div", {
@@ -1,20 +1,20 @@
1
1
  import * as React from 'react';
2
- import { c as clamp } from '../chunks/index-DpP8NjDG.mjs';
3
- import { c as composeEventHandlers } from '../chunks/index-D56BYstR.mjs';
4
- import { u as useComposedRefs } from '../chunks/index-BI2MxMeC.mjs';
5
- import { c as createContextScope } from '../chunks/index-vtBqBO3S.mjs';
6
- import { u as useControllableState } from '../chunks/index-Ccz8nL5M.mjs';
7
- import { u as useDirection } from '../chunks/index-BsB-iQGw.mjs';
8
- import { u as usePrevious } from '../chunks/index-PrEP6495.mjs';
9
- import { u as useSize } from '../chunks/index-DAZztiKf.mjs';
10
- import { P as Primitive } from '../chunks/index-L4pU8dCQ.mjs';
2
+ import { c as clamp } from '../chunks/index-GgS4otoq.mjs';
3
+ import { c as composeEventHandlers } from '../chunks/index-Bl-WJHvp.mjs';
4
+ import { u as useComposedRefs } from '../chunks/index-1tQVI0Jh.mjs';
5
+ import { c as createContextScope } from '../chunks/index-DT8WgpCS.mjs';
6
+ import { u as useControllableState } from '../chunks/index-D4FMFHi9.mjs';
7
+ import { u as useDirection } from '../chunks/index-CGLjQEjG.mjs';
8
+ import { u as usePrevious } from '../chunks/index-FL3PKmOS.mjs';
9
+ import { u as useSize } from '../chunks/index-DmY774z-.mjs';
10
+ import { P as Primitive } from '../chunks/index-DgKlJYZP.mjs';
11
11
  import { createCollection } from '@radix-ui/react-collection';
12
12
  import { jsx, jsxs } from 'react/jsx-runtime';
13
- import { c as cn } from '../chunks/utils-CwDmCEge.mjs';
14
- import '../chunks/index-B0Kdhw0d.mjs';
13
+ import { c as cn } from '../chunks/utils-05LlW3Cl.mjs';
14
+ import '../chunks/index-DKOlG3mh.mjs';
15
15
  import 'react-dom';
16
16
  import '@radix-ui/react-slot';
17
- import '../chunks/bundle-mjs-DF1QM7yV.mjs';
17
+ import '../chunks/bundle-mjs-BYcyWisL.mjs';
18
18
 
19
19
  var PAGE_KEYS = [
20
20
  "PageUp",
@@ -1,9 +1,9 @@
1
- export { S as Sortable, a as SortableDragHandle, b as SortableItem, c as SortableOverlay } from '../chunks/sortable-BD-qat9h.mjs';
1
+ export { S as Sortable, a as SortableDragHandle, b as SortableItem, c as SortableOverlay } from '../chunks/sortable-CjI-AdZJ.mjs';
2
2
  import 'react';
3
3
  import 'react-dom';
4
4
  import '@radix-ui/react-slot';
5
- import '../chunks/utils-CwDmCEge.mjs';
6
- import '../chunks/bundle-mjs-DF1QM7yV.mjs';
7
- import '../chunks/button-C0ijXnnF.mjs';
5
+ import '../chunks/utils-05LlW3Cl.mjs';
6
+ import '../chunks/bundle-mjs-BYcyWisL.mjs';
7
+ import '../chunks/button-Co_1yLv6.mjs';
8
8
  import 'class-variance-authority';
9
9
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
- import { c as cn } from '../chunks/utils-CwDmCEge.mjs';
2
- import { L as LoaderCircle } from '../chunks/loader-circle-4xW2b9O-.mjs';
3
- import '../chunks/bundle-mjs-DF1QM7yV.mjs';
4
- import '../chunks/createLucideIcon-CyWof2Fq.mjs';
1
+ import { c as cn } from '../chunks/utils-05LlW3Cl.mjs';
2
+ import { L as LoaderCircle } from '../chunks/loader-circle-BX1p6hn_.mjs';
3
+ import '../chunks/bundle-mjs-BYcyWisL.mjs';
4
+ import '../chunks/createLucideIcon-DLrNgMqk.mjs';
5
5
  import 'react';
6
6
 
7
7
  function Spinner({ className, ...props }) {
@@ -1,17 +1,17 @@
1
1
  import * as React from 'react';
2
- import { c as composeEventHandlers } from '../chunks/index-D56BYstR.mjs';
3
- import { u as useComposedRefs } from '../chunks/index-BI2MxMeC.mjs';
4
- import { c as createContextScope } from '../chunks/index-vtBqBO3S.mjs';
5
- import { u as useControllableState } from '../chunks/index-Ccz8nL5M.mjs';
6
- import { u as usePrevious } from '../chunks/index-PrEP6495.mjs';
7
- import { u as useSize } from '../chunks/index-DAZztiKf.mjs';
8
- import { P as Primitive } from '../chunks/index-L4pU8dCQ.mjs';
2
+ import { c as composeEventHandlers } from '../chunks/index-Bl-WJHvp.mjs';
3
+ import { u as useComposedRefs } from '../chunks/index-1tQVI0Jh.mjs';
4
+ import { c as createContextScope } from '../chunks/index-DT8WgpCS.mjs';
5
+ import { u as useControllableState } from '../chunks/index-D4FMFHi9.mjs';
6
+ import { u as usePrevious } from '../chunks/index-FL3PKmOS.mjs';
7
+ import { u as useSize } from '../chunks/index-DmY774z-.mjs';
8
+ import { P as Primitive } from '../chunks/index-DgKlJYZP.mjs';
9
9
  import { jsxs, jsx } from 'react/jsx-runtime';
10
- import { c as cn } from '../chunks/utils-CwDmCEge.mjs';
11
- import '../chunks/index-B0Kdhw0d.mjs';
10
+ import { c as cn } from '../chunks/utils-05LlW3Cl.mjs';
11
+ import '../chunks/index-DKOlG3mh.mjs';
12
12
  import 'react-dom';
13
13
  import '@radix-ui/react-slot';
14
- import '../chunks/bundle-mjs-DF1QM7yV.mjs';
14
+ import '../chunks/bundle-mjs-BYcyWisL.mjs';
15
15
 
16
16
  var SWITCH_NAME = "Switch";
17
17
  var [createSwitchContext] = createContextScope(SWITCH_NAME);
@@ -1,5 +1,5 @@
1
- export { T as Table, b as TableBody, g as TableCaption, f as TableCell, c as TableFooter, d as TableHead, a as TableHeader, e as TableRow } from '../chunks/table-CcTvqI8M.mjs';
1
+ export { T as Table, b as TableBody, g as TableCaption, f as TableCell, c as TableFooter, d as TableHead, a as TableHeader, e as TableRow } from '../chunks/table-Bxaxu8Lu.mjs';
2
2
  import 'react';
3
- import '../chunks/utils-CwDmCEge.mjs';
4
- import '../chunks/bundle-mjs-DF1QM7yV.mjs';
3
+ import '../chunks/utils-05LlW3Cl.mjs';
4
+ import '../chunks/bundle-mjs-BYcyWisL.mjs';
5
5
  //# sourceMappingURL=index.mjs.map
@@ -57,6 +57,12 @@ interface TableFilterProps<TData = unknown, TSchema extends ZodObject<any> = Zod
57
57
  resetKey?: number;
58
58
  applyFiltersOnMount?: boolean;
59
59
  onClearFilters?: () => void;
60
+ /**
61
+ * Callback chamado quando filtros são aplicados.
62
+ * Use para filtragem server-side (API).
63
+ * Recebe os valores dos filtros após validação.
64
+ */
65
+ onApplyFilters?: (filters: TFormValues) => void;
60
66
  badgeMultiselectVariant?: BadgeVariants;
61
67
  badgeMultiselectSubtle?: boolean;
62
68
  }
@@ -66,7 +72,7 @@ type NumericFilterValue = {
66
72
  value: number | null;
67
73
  };
68
74
 
69
- declare function TableFilter<TData, TSchema extends ZodObject<any>>({ table, defaultSide, disabled, title, schema, fieldConfigs, defaultFilterValues, appliedFiltersCount, setAppliedFiltersCount, applyFiltersOnMount, onClearFilters, badgeMultiselectVariant, badgeMultiselectSubtle, }: TableFilterProps<TData, TSchema>): react_jsx_runtime.JSX.Element;
75
+ declare function TableFilter<TData, TSchema extends ZodObject<any>>({ table, defaultSide, disabled, title, schema, fieldConfigs, defaultFilterValues, appliedFiltersCount, setAppliedFiltersCount, applyFiltersOnMount, onClearFilters, onApplyFilters, badgeMultiselectVariant, badgeMultiselectSubtle, }: TableFilterProps<TData, TSchema>): react_jsx_runtime.JSX.Element;
70
76
 
71
77
  export { TableFilter };
72
78
  export type { DefaultFilterSide, FieldConfig, FieldFilterType, NumericFilterValue, Operator, TableFilterBaseProps, TableFilterProps };
@@ -1,61 +1,61 @@
1
- import { g as get, s as set, h as appendErrors, i as useForm, F as Form, f as FormField, a as FormItem, b as FormLabel, c as FormControl, d as FormDescription, e as FormMessage } from '../chunks/form-Cu6WYy_F.mjs';
1
+ import { g as get, s as set, h as appendErrors, i as useForm, F as Form, f as FormField, a as FormItem, b as FormLabel, c as FormControl, d as FormDescription, e as FormMessage } from '../chunks/form-0eamcSZm.mjs';
2
2
  import React__default from 'react';
3
- import { N as NumericFormat, P as PatternFormat } from '../chunks/react-number-format.es-Cbz93HFd.mjs';
4
- import { c as cn } from '../chunks/utils-CwDmCEge.mjs';
5
- import { f as formatDateToBrazilian, a as parseFieldDate, p as ptBR } from '../chunks/date-Nk-MIRuv.mjs';
6
- import { a as formatNumberWithComma, s as styleInput, c as styleSelect } from '../chunks/format-numbers-Cv0AFOA0.mjs';
7
- import { S as Sheet, a as SheetTrigger, c as SheetContent, d as SheetHeader, f as SheetTitle, e as SheetFooter, b as SheetClose } from '../chunks/sheet-C-yvf0_u.mjs';
8
- import { c as createLucideIcon } from '../chunks/createLucideIcon-CyWof2Fq.mjs';
9
- import { C as CalendarDays } from '../chunks/calendar-days-Bvb62uyh.mjs';
10
- import { C as CalendarRange } from '../chunks/CalendarRange-yEDYUjQD.mjs';
11
- import { C as ComboboxField } from '../chunks/ComboboxField-ILa8OaOB.mjs';
12
- import { M as MultiSelect } from '../chunks/multi-select-okHPP4N6.mjs';
13
- import { B as Button } from '../chunks/button-C0ijXnnF.mjs';
14
- import { B as Badge } from '../chunks/badge-Bq7g6DlG.mjs';
15
- import { S as ScrollArea } from '../chunks/scroll-area-D9LK7L4w.mjs';
16
- import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-BW3SktUO.mjs';
17
- import { C as Calendar } from '../chunks/calendar-DZgstGv7.mjs';
18
- import { f as format } from '../chunks/format-Dy5xvA9f.mjs';
19
- import { L as Label } from '../chunks/label-BrO1sQ0r.mjs';
20
- import { C as Checkbox } from '../chunks/checkbox-CWK1-JLs.mjs';
21
- import { S as Separator } from '../chunks/separator-D7Q4xZTz.mjs';
22
- import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-PRQ81N8j.mjs';
23
- import { I as Input } from '../chunks/input-tGWBpkwj.mjs';
3
+ import { N as NumericFormat, P as PatternFormat } from '../chunks/react-number-format.es-DSc45Db0.mjs';
4
+ import { c as cn } from '../chunks/utils-05LlW3Cl.mjs';
5
+ import { f as formatDateToBrazilian, a as parseFieldDate, p as ptBR } from '../chunks/date-bAe2UaSj.mjs';
6
+ import { a as formatNumberWithComma, s as styleInput, c as styleSelect } from '../chunks/format-numbers-BMHnFGse.mjs';
7
+ import { S as Sheet, a as SheetTrigger, c as SheetContent, d as SheetHeader, f as SheetTitle, e as SheetFooter, b as SheetClose } from '../chunks/sheet-BVDcVKli.mjs';
8
+ import { c as createLucideIcon } from '../chunks/createLucideIcon-DLrNgMqk.mjs';
9
+ import { C as CalendarDays } from '../chunks/calendar-days-D8ft1Hpj.mjs';
10
+ import { C as CalendarRange } from '../chunks/CalendarRange-BCcF9etO.mjs';
11
+ import { C as ComboboxField } from '../chunks/ComboboxField-C8LG3Dfr.mjs';
12
+ import { M as MultiSelect } from '../chunks/multi-select-dor8SMeS.mjs';
13
+ import { B as Button } from '../chunks/button-Co_1yLv6.mjs';
14
+ import { B as Badge } from '../chunks/badge-rV4HbE_R.mjs';
15
+ import { S as ScrollArea } from '../chunks/scroll-area-Cr1Iu-Ot.mjs';
16
+ import { P as Popover, a as PopoverTrigger, b as PopoverContent } from '../chunks/popover-CsYW0nDm.mjs';
17
+ import { C as Calendar } from '../chunks/calendar-olAv9AH7.mjs';
18
+ import { f as format } from '../chunks/format-Cn5wls3k.mjs';
19
+ import { L as Label } from '../chunks/label-atj6gghV.mjs';
20
+ import { C as Checkbox } from '../chunks/checkbox-D9LLByPZ.mjs';
21
+ import { S as Separator } from '../chunks/separator-StpvupIv.mjs';
22
+ import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-C4BJbkha.mjs';
23
+ import { I as Input } from '../chunks/input-BEkvMaQp.mjs';
24
24
  import '@radix-ui/react-slot';
25
- import '../chunks/bundle-mjs-DF1QM7yV.mjs';
26
- import '../chunks/index-sGgLIg5I.mjs';
27
- import '../chunks/index-D56BYstR.mjs';
28
- import '../chunks/index-BI2MxMeC.mjs';
29
- import '../chunks/index-vtBqBO3S.mjs';
25
+ import '../chunks/bundle-mjs-BYcyWisL.mjs';
26
+ import '../chunks/index-BRYGnp2Q.mjs';
27
+ import '../chunks/index-Bl-WJHvp.mjs';
28
+ import '../chunks/index-1tQVI0Jh.mjs';
29
+ import '../chunks/index-DT8WgpCS.mjs';
30
30
  import 'react/jsx-runtime';
31
- import '../chunks/index-BEh8ek6-.mjs';
32
- import '../chunks/index-B0Kdhw0d.mjs';
33
- import '../chunks/index-Ccz8nL5M.mjs';
34
- import '../chunks/index-CKARIk9k.mjs';
35
- import '../chunks/index-L4pU8dCQ.mjs';
31
+ import '../chunks/index-tkRL9Tft.mjs';
32
+ import '../chunks/index-DKOlG3mh.mjs';
33
+ import '../chunks/index-D4FMFHi9.mjs';
34
+ import '../chunks/index-DUpRrJTH.mjs';
35
+ import '../chunks/index-DgKlJYZP.mjs';
36
36
  import 'react-dom';
37
- import '../chunks/index-CQt6sjXa.mjs';
38
- import '../chunks/index-Coakg78O.mjs';
39
- import '../chunks/tslib.es6-Cuxw-1bu.mjs';
40
- import '../chunks/index-qUT5iV25.mjs';
41
- import '../chunks/index-2anlJbdb.mjs';
42
- import '../chunks/x-Dpaoz6yn.mjs';
43
- import '../chunks/chevrons-up-down-2G_mHB5d.mjs';
44
- import '../chunks/check-DduIDKAH.mjs';
45
- import '../chunks/command-CTTEi-Tw.mjs';
46
- import '../chunks/dialog-DsCgCf_e.mjs';
37
+ import '../chunks/index-Cbm3--wc.mjs';
38
+ import '../chunks/index-DvCZGX3H.mjs';
39
+ import '../chunks/tslib.es6-DXUeYCTx.mjs';
40
+ import '../chunks/index-BTe1rv5Z.mjs';
41
+ import '../chunks/index-C6s8KI_8.mjs';
42
+ import '../chunks/x-BOMmTgZd.mjs';
43
+ import '../chunks/chevrons-up-down-BFiJwHit.mjs';
44
+ import '../chunks/check-BBGTedl-.mjs';
45
+ import '../chunks/command-IckfUQsK.mjs';
46
+ import '../chunks/dialog-BkF50Tmo.mjs';
47
47
  import 'class-variance-authority';
48
- import '../chunks/wand-sparkles-7XfX5Sd6.mjs';
49
- import '../chunks/tooltip-DF-75FfQ.mjs';
50
- import '../chunks/index-n9Y_kDgY.mjs';
51
- import '../chunks/index-DAZztiKf.mjs';
52
- import '../chunks/index-DZlAt5Up.mjs';
53
- import '../chunks/index-BsB-iQGw.mjs';
54
- import '../chunks/index-DpP8NjDG.mjs';
55
- import '../chunks/chevron-left-Ca4MIUps.mjs';
56
- import '../chunks/chevron-right-D8jyu1Ce.mjs';
57
- import '../chunks/chevron-down-C8lGEIzE.mjs';
58
- import '../chunks/index-PrEP6495.mjs';
48
+ import '../chunks/wand-sparkles-BIbU0kjG.mjs';
49
+ import '../chunks/tooltip-BTEGteNb.mjs';
50
+ import '../chunks/index-aLIsJMgt.mjs';
51
+ import '../chunks/index-DmY774z-.mjs';
52
+ import '../chunks/index-An4yBrAZ.mjs';
53
+ import '../chunks/index-CGLjQEjG.mjs';
54
+ import '../chunks/index-GgS4otoq.mjs';
55
+ import '../chunks/chevron-left-D7OzIyKL.mjs';
56
+ import '../chunks/chevron-right-mC6NR8jW.mjs';
57
+ import '../chunks/chevron-down-DNXEgdv9.mjs';
58
+ import '../chunks/index-FL3PKmOS.mjs';
59
59
  import '@radix-ui/react-select';
60
60
 
61
61
  const __iconNode = [
@@ -170,7 +170,7 @@ function s(o$1, s, t) {
170
170
  }
171
171
 
172
172
  // biome-ignore lint/suspicious/noExplicitAny: <any>
173
- function TableFilter({ table, defaultSide = "right", disabled, title, schema, fieldConfigs, defaultFilterValues, appliedFiltersCount = 0, setAppliedFiltersCount, applyFiltersOnMount, onClearFilters, badgeMultiselectVariant = "default", badgeMultiselectSubtle = false }) {
173
+ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fieldConfigs, defaultFilterValues, appliedFiltersCount = 0, setAppliedFiltersCount, applyFiltersOnMount, onClearFilters, onApplyFilters, badgeMultiselectVariant = "default", badgeMultiselectSubtle = false }) {
174
174
  React__default.useEffect(()=>{
175
175
  for (const { name, filterType } of fieldConfigs){
176
176
  const column = table.getColumn(name);
@@ -202,10 +202,12 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
202
202
  return Object.values(data).filter((value)=>{
203
203
  if (Array.isArray(value)) return value.length > 0;
204
204
  if (value === null || value === undefined) return false;
205
- if (typeof value === "string") return value !== "";
205
+ // Para strings (texto e data), verificar se não está vazio
206
+ if (typeof value === "string") return value.trim() !== "";
206
207
  if (typeof value === "object") {
207
208
  // biome-ignore lint/suspicious/noExplicitAny: <any>
208
209
  const val = value;
210
+ // Para DateRange, verificar se tem from ou to
209
211
  if ("from" in val || "to" in val) {
210
212
  return Boolean(val.from || val.to);
211
213
  }
@@ -243,14 +245,22 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
243
245
  if (Array.isArray(value)) {
244
246
  return value.length === 0;
245
247
  }
246
- // Para strings (texto), verificar se não está vazio
248
+ // Para strings (texto e data), verificar se não está vazio
247
249
  if (typeof value === "string") {
248
250
  return value.trim() === "";
249
251
  }
250
- // Para objetos numéricos (numeric_range), verificar se tem valor
252
+ // Para objetos (numeric_range ou dateRange), verificar se tem valor
251
253
  if (typeof value === "object" && value !== null) {
252
- const numericValue = value;
253
- return numericValue.value === null || numericValue.value === undefined || String(numericValue.value) === "";
254
+ // Verificar se é NumericFilterValue
255
+ if ("value" in value && "operator" in value) {
256
+ const numericValue = value;
257
+ return numericValue.value === null || numericValue.value === undefined || String(numericValue.value) === "";
258
+ }
259
+ // Verificar se é DateRange
260
+ if ("from" in value || "to" in value) {
261
+ const dateRange = value;
262
+ return !dateRange.from && !dateRange.to;
263
+ }
254
264
  }
255
265
  return value === null || value === "";
256
266
  });
@@ -263,14 +273,22 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
263
273
  if (Array.isArray(value)) {
264
274
  return value.length > 0;
265
275
  }
266
- // Para strings (texto), verificar se não está vazio
276
+ // Para strings (texto e data), verificar se não está vazio
267
277
  if (typeof value === "string") {
268
278
  return value.trim() !== "";
269
279
  }
270
- // Para objetos numéricos (numeric_range), verificar se tem valor (incluindo 0)
280
+ // Para objetos (numeric_range ou dateRange), verificar se tem valor
271
281
  if (typeof value === "object" && value !== null) {
272
- const numericValue = value;
273
- return numericValue.value !== null && numericValue.value !== undefined && String(numericValue.value) !== "";
282
+ // Verificar se é NumericFilterValue
283
+ if ("value" in value && "operator" in value) {
284
+ const numericValue = value;
285
+ return numericValue.value !== null && numericValue.value !== undefined && String(numericValue.value) !== "";
286
+ }
287
+ // Verificar se é DateRange
288
+ if ("from" in value || "to" in value) {
289
+ const dateRange = value;
290
+ return Boolean(dateRange.from || dateRange.to);
291
+ }
274
292
  }
275
293
  // Para números simples, aceitar 0 como válido
276
294
  if (typeof value === "number") {
@@ -289,6 +307,13 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
289
307
  if (typeof filterValue === "string" && filterValue.trim() === "") {
290
308
  filterValue = undefined;
291
309
  }
310
+ // Para objetos DateRange vazios, definir como undefined
311
+ if (typeof filterValue === "object" && filterValue !== null && "from" in filterValue && "to" in filterValue) {
312
+ const dateRange = filterValue;
313
+ if (!dateRange.from && !dateRange.to) {
314
+ filterValue = undefined;
315
+ }
316
+ }
292
317
  column.setFilterValue(filterValue);
293
318
  }
294
319
  }
@@ -296,6 +321,11 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
296
321
  if (setAppliedFiltersCount) {
297
322
  setAppliedFiltersCount(count);
298
323
  }
324
+ // Chamar callback de aplicar filtros (para filtragem server-side)
325
+ // Só chama se onApplyFilters existir e data for válido
326
+ if (onApplyFilters && data) {
327
+ onApplyFilters(data);
328
+ }
299
329
  };
300
330
  const handleOpenChange = (open)=>{
301
331
  if (!open) {
@@ -403,7 +433,7 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
403
433
  className: "flex flex-wrap items-center gap-2"
404
434
  }, options.map((option)=>/*#__PURE__*/ React__default.createElement(FormControl, {
405
435
  key: option.value,
406
- className: "mt-2"
436
+ className: cn("mt-2", style === "badge" && "flex-1/4")
407
437
  }, /*#__PURE__*/ React__default.createElement(Label, null, /*#__PURE__*/ React__default.createElement(Checkbox, {
408
438
  checked: Array.isArray(field.value) && field.value.includes(option.value),
409
439
  onCheckedChange: (checked)=>{
@@ -417,7 +447,7 @@ function TableFilter({ table, defaultSide = "right", disabled, title, schema, fi
417
447
  },
418
448
  className: cn("border-destructive size-4 border", style === "badge" && "sr-only")
419
449
  }), style === "badge" ? /*#__PURE__*/ React__default.createElement(Badge, {
420
- variant: "secondary",
450
+ variant: Array.isArray(field.value) && field.value.includes(option.value) ? "default" : "secondary",
421
451
  className: cn("flex cursor-pointer gap-2 rounded-md px-4 py-2 text-sm")
422
452
  }, option.icon, option.label) : option.label))), /*#__PURE__*/ React__default.createElement(Separator, {
423
453
  className: "mt-4"