ivt 0.8.5 → 0.8.7

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 (323) hide show
  1. package/dist/accordion/index.mjs +13 -13
  2. package/dist/accordion-table/index.mjs +27 -27
  3. package/dist/alert/index.mjs +3 -3
  4. package/dist/alert-dialog/index.mjs +15 -15
  5. package/dist/auto-complete-multi-select/index.mjs +51 -45
  6. package/dist/auto-complete-multi-select/index.mjs.map +1 -1
  7. package/dist/avatar/index.mjs +5 -5
  8. package/dist/badge/index.mjs +3 -3
  9. package/dist/base/index.d.ts +53 -7
  10. package/dist/base/index.mjs +131 -163
  11. package/dist/base/index.mjs.map +1 -1
  12. package/dist/breadcrumb/index.mjs +5 -5
  13. package/dist/button/index.mjs +3 -3
  14. package/dist/button-group/index.mjs +4 -4
  15. package/dist/calendar/index.mjs +9 -9
  16. package/dist/card/index.mjs +3 -3
  17. package/dist/carousel/index.mjs +4 -4
  18. package/dist/chart/index.mjs +4 -4
  19. package/dist/checkbox/index.mjs +12 -12
  20. package/dist/chunks/ButtonActions-BbAuGm_J.mjs +54 -0
  21. package/dist/chunks/ButtonActions-BbAuGm_J.mjs.map +1 -0
  22. package/dist/chunks/{CalendarPopover-CRB6GXIt.mjs → CalendarPopover-DNS2oszG.mjs} +62 -33
  23. package/dist/chunks/CalendarPopover-DNS2oszG.mjs.map +1 -0
  24. package/dist/chunks/{CalendarRange-DucTFDzH.mjs → CalendarRange-BZ-rc5Ns.mjs} +34 -18
  25. package/dist/chunks/CalendarRange-BZ-rc5Ns.mjs.map +1 -0
  26. package/dist/chunks/{ComboboxField-Us4hYexm.mjs → ComboboxField-C5LrSTQf.mjs} +9 -9
  27. package/dist/chunks/{ComboboxField-Us4hYexm.mjs.map → ComboboxField-C5LrSTQf.mjs.map} +1 -1
  28. package/dist/chunks/{Container-BFAAGDWA.mjs → Container-qhzI-HED.mjs} +2 -2
  29. package/dist/chunks/{Container-BFAAGDWA.mjs.map → Container-qhzI-HED.mjs.map} +1 -1
  30. package/dist/chunks/{DeleteConfirmationModal-ClGTTktk.mjs → DeleteConfirmationModal-NPS_J_dT.mjs} +4 -4
  31. package/dist/chunks/{DeleteConfirmationModal-ClGTTktk.mjs.map → DeleteConfirmationModal-NPS_J_dT.mjs.map} +1 -1
  32. package/dist/chunks/ExportButtons-BtYHz3q3.mjs +364 -0
  33. package/dist/chunks/ExportButtons-BtYHz3q3.mjs.map +1 -0
  34. package/dist/chunks/{GenericTabs-CtJk8qVb.d.ts → GenericTabs-B6Sm4mwD.d.ts} +7 -2
  35. package/dist/chunks/{GenericTabs-B42Kfv_U.mjs → GenericTabs-CqunvZEw.mjs} +9 -8
  36. package/dist/chunks/GenericTabs-CqunvZEw.mjs.map +1 -0
  37. package/dist/chunks/{ListItem-Da4Od2ts.mjs → ListItem-CtUZSq2i.mjs} +6 -6
  38. package/dist/chunks/ListItem-CtUZSq2i.mjs.map +1 -0
  39. package/dist/chunks/ShowSkeleton-DuVLsprm.mjs +72 -0
  40. package/dist/chunks/ShowSkeleton-DuVLsprm.mjs.map +1 -0
  41. package/dist/chunks/ShowSkeleton-enwVHCqE.d.ts +12 -0
  42. package/dist/chunks/StepNavigator-DXnlZUw2.mjs +136 -0
  43. package/dist/chunks/StepNavigator-DXnlZUw2.mjs.map +1 -0
  44. package/dist/chunks/{TooltipIndicator-B9oMD_x3.mjs → TooltipIndicator-o_ekzuQD.mjs} +4 -4
  45. package/dist/chunks/{TooltipIndicator-B9oMD_x3.mjs.map → TooltipIndicator-o_ekzuQD.mjs.map} +1 -1
  46. package/dist/chunks/{_commonjsHelpers-CrMz3UM5.mjs → _commonjsHelpers-DLsfzCcd.mjs} +1 -1
  47. package/dist/chunks/_commonjsHelpers-DLsfzCcd.mjs.map +1 -0
  48. package/dist/chunks/{accordion-BFVct-IT.mjs → accordion-BcAmhbBS.mjs} +9 -9
  49. package/dist/chunks/{accordion-BFVct-IT.mjs.map → accordion-BcAmhbBS.mjs.map} +1 -1
  50. package/dist/chunks/{alert-DHUGrVll.mjs → alert-Ciu-8LcJ.mjs} +2 -2
  51. package/dist/chunks/{alert-DHUGrVll.mjs.map → alert-Ciu-8LcJ.mjs.map} +1 -1
  52. package/dist/chunks/{badge-BUI8RIXy.mjs → badge-ZU62MOiS.mjs} +2 -2
  53. package/dist/chunks/{badge-BUI8RIXy.mjs.map → badge-ZU62MOiS.mjs.map} +1 -1
  54. package/dist/chunks/{bundle-mjs-CjTndHqR.mjs → bundle-mjs-CXmmFvYo.mjs} +1 -1
  55. package/dist/chunks/{bundle-mjs-CjTndHqR.mjs.map → bundle-mjs-CXmmFvYo.mjs.map} +1 -1
  56. package/dist/chunks/button-CHGYaAzJ.d.ts +17 -0
  57. package/dist/chunks/{button-BvsCd2vf.mjs → button-CZpmCmNo.mjs} +2 -2
  58. package/dist/chunks/{button-BvsCd2vf.mjs.map → button-CZpmCmNo.mjs.map} +1 -1
  59. package/dist/chunks/{button-C8IZYeQz.d.ts → button-Ix3LPUsB.d.ts} +1 -1
  60. package/dist/chunks/{button-group-PrAqXtXn.mjs → button-group-ChymO3Hm.mjs} +3 -3
  61. package/dist/chunks/{button-group-PrAqXtXn.mjs.map → button-group-ChymO3Hm.mjs.map} +1 -1
  62. package/dist/chunks/{calendar-LFBK0slp.mjs → calendar-CDJv1B--.mjs} +7 -7
  63. package/dist/chunks/{calendar-LFBK0slp.mjs.map → calendar-CDJv1B--.mjs.map} +1 -1
  64. package/dist/chunks/{calendar-days-C3N6HIT-.mjs → calendar-days-DnYx8d46.mjs} +2 -2
  65. package/dist/chunks/{calendar-days-C3N6HIT-.mjs.map → calendar-days-DnYx8d46.mjs.map} +1 -1
  66. package/dist/chunks/{card-BoHc9gge.mjs → card-CEohNEru.mjs} +2 -2
  67. package/dist/chunks/{card-BoHc9gge.mjs.map → card-CEohNEru.mjs.map} +1 -1
  68. package/dist/chunks/{check-VfNn6myv.mjs → check-Ds358kZc.mjs} +2 -2
  69. package/dist/chunks/{check-VfNn6myv.mjs.map → check-Ds358kZc.mjs.map} +1 -1
  70. package/dist/chunks/{checkbox-CgrFFc0p.mjs → checkbox-DvxpZsiG.mjs} +9 -9
  71. package/dist/chunks/{checkbox-CgrFFc0p.mjs.map → checkbox-DvxpZsiG.mjs.map} +1 -1
  72. package/dist/chunks/{chevron-down-CD1QpvBA.mjs → chevron-down-CDFTds2-.mjs} +2 -2
  73. package/dist/chunks/{chevron-down-CD1QpvBA.mjs.map → chevron-down-CDFTds2-.mjs.map} +1 -1
  74. package/dist/chunks/{chevron-left-B7ClEtyW.mjs → chevron-left-Baq244Ce.mjs} +2 -2
  75. package/dist/chunks/{chevron-left-B7ClEtyW.mjs.map → chevron-left-Baq244Ce.mjs.map} +1 -1
  76. package/dist/chunks/{chevron-right-Bb52eown.mjs → chevron-right-Dq6zFe5E.mjs} +2 -2
  77. package/dist/chunks/{chevron-right-Bb52eown.mjs.map → chevron-right-Dq6zFe5E.mjs.map} +1 -1
  78. package/dist/chunks/{chevrons-up-down-C5lu4ULp.mjs → chevrons-up-down-CdBVNy4c.mjs} +2 -2
  79. package/dist/chunks/{chevrons-up-down-C5lu4ULp.mjs.map → chevrons-up-down-CdBVNy4c.mjs.map} +1 -1
  80. package/dist/chunks/combobox-D9iqP8Dp.mjs +103 -0
  81. package/dist/chunks/combobox-D9iqP8Dp.mjs.map +1 -0
  82. package/dist/chunks/{command-e20cpPEv.mjs → command-o67hOCgH.mjs} +10 -10
  83. package/dist/chunks/command-o67hOCgH.mjs.map +1 -0
  84. package/dist/chunks/{createLucideIcon-D3jW_oal.mjs → createLucideIcon-C11Tr46U.mjs} +1 -1
  85. package/dist/chunks/{createLucideIcon-D3jW_oal.mjs.map → createLucideIcon-C11Tr46U.mjs.map} +1 -1
  86. package/dist/chunks/{date-Dy-Pzcmp.mjs → date-Dqmv8Nr4.mjs} +2 -2
  87. package/dist/chunks/{date-Dy-Pzcmp.mjs.map → date-Dqmv8Nr4.mjs.map} +1 -1
  88. package/dist/chunks/{date-picker-BYXeysRW.mjs → date-picker-BBCtT16G.mjs} +13 -13
  89. package/dist/chunks/date-picker-BBCtT16G.mjs.map +1 -0
  90. package/dist/chunks/{dialog-B20zSjze.mjs → dialog-DL1cSseU.mjs} +4 -4
  91. package/dist/chunks/{dialog-B20zSjze.mjs.map → dialog-DL1cSseU.mjs.map} +1 -1
  92. package/dist/chunks/{dropdown-menu-B2ja7qty.mjs → dropdown-menu-DnPBut1Q.mjs} +9 -9
  93. package/dist/chunks/{dropdown-menu-B2ja7qty.mjs.map → dropdown-menu-DnPBut1Q.mjs.map} +1 -1
  94. package/dist/chunks/{ellipsis-C6LF5HVj.mjs → ellipsis-Cn3R-5sm.mjs} +2 -2
  95. package/dist/chunks/{ellipsis-C6LF5HVj.mjs.map → ellipsis-Cn3R-5sm.mjs.map} +1 -1
  96. package/dist/chunks/{form-BrcvX0yc.mjs → form-paAECAsZ.mjs} +3 -3
  97. package/dist/chunks/{form-BrcvX0yc.mjs.map → form-paAECAsZ.mjs.map} +1 -1
  98. package/dist/chunks/{format-CxsCX_YZ.mjs → format-8qs-kXlN.mjs} +1 -1
  99. package/dist/chunks/{format-CxsCX_YZ.mjs.map → format-8qs-kXlN.mjs.map} +1 -1
  100. package/dist/chunks/{format-numbers-CBSY6ZvL.mjs → format-numbers-LmnBEQr0.mjs} +2 -7
  101. package/dist/chunks/format-numbers-LmnBEQr0.mjs.map +1 -0
  102. package/dist/chunks/{hover-card-hPKHSJ81.mjs → hover-card-Bf6OuOg0.mjs} +9 -9
  103. package/dist/chunks/{hover-card-hPKHSJ81.mjs.map → hover-card-Bf6OuOg0.mjs.map} +1 -1
  104. package/dist/chunks/{index-SLs8oClH.mjs → index-1toTCGyr.mjs} +2 -2
  105. package/dist/chunks/{index-SLs8oClH.mjs.map → index-1toTCGyr.mjs.map} +1 -1
  106. package/dist/chunks/{index-EcI_mW3m.mjs → index-4NpeUekv.mjs} +4 -4
  107. package/dist/chunks/{index-EcI_mW3m.mjs.map → index-4NpeUekv.mjs.map} +1 -1
  108. package/dist/chunks/{index-BzAMFivh.mjs → index-B87m6Bfb.mjs} +6 -6
  109. package/dist/chunks/{index-BzAMFivh.mjs.map → index-B87m6Bfb.mjs.map} +1 -1
  110. package/dist/chunks/{index-B5fbJZIT.mjs → index-BJrVyyCQ.mjs} +2 -2
  111. package/dist/chunks/{index-B5fbJZIT.mjs.map → index-BJrVyyCQ.mjs.map} +1 -1
  112. package/dist/chunks/{index-D4iRNKtb.mjs → index-BWXpaxmG.mjs} +7 -7
  113. package/dist/chunks/{index-D4iRNKtb.mjs.map → index-BWXpaxmG.mjs.map} +1 -1
  114. package/dist/chunks/{index-JZ-FhLOH.mjs → index-BksCjWh6.mjs} +3 -3
  115. package/dist/chunks/{index-JZ-FhLOH.mjs.map → index-BksCjWh6.mjs.map} +1 -1
  116. package/dist/chunks/{index-C__GtYCW.mjs → index-C8u7IIcP.mjs} +1 -1
  117. package/dist/chunks/{index-C__GtYCW.mjs.map → index-C8u7IIcP.mjs.map} +1 -1
  118. package/dist/chunks/{index-3TdUvynV.mjs → index-COfEgTJM.mjs} +1 -1
  119. package/dist/chunks/{index-3TdUvynV.mjs.map → index-COfEgTJM.mjs.map} +1 -1
  120. package/dist/chunks/{index-B46fiGOC.mjs → index-CaYwp6E6.mjs} +9 -9
  121. package/dist/chunks/{index-B46fiGOC.mjs.map → index-CaYwp6E6.mjs.map} +1 -1
  122. package/dist/chunks/{index-DslxcA48.mjs → index-CcmH_f2V.mjs} +1 -1
  123. package/dist/chunks/{index-DslxcA48.mjs.map → index-CcmH_f2V.mjs.map} +1 -1
  124. package/dist/chunks/{index-RaUpQCps.mjs → index-D4jPaBZ2.mjs} +1 -1
  125. package/dist/chunks/{index-RaUpQCps.mjs.map → index-D4jPaBZ2.mjs.map} +1 -1
  126. package/dist/chunks/{index-DDM8Lpbb.mjs → index-DAa5gqEY.mjs} +2 -2
  127. package/dist/chunks/{index-DDM8Lpbb.mjs.map → index-DAa5gqEY.mjs.map} +1 -1
  128. package/dist/chunks/{index-Dp_x2nI3.mjs → index-DC-gAYjS.mjs} +1 -1
  129. package/dist/chunks/{index-Dp_x2nI3.mjs.map → index-DC-gAYjS.mjs.map} +1 -1
  130. package/dist/chunks/{index-DghbVew_.mjs → index-DIHpzffL.mjs} +7 -7
  131. package/dist/chunks/{index-DghbVew_.mjs.map → index-DIHpzffL.mjs.map} +1 -1
  132. package/dist/chunks/{index-DGUU265f.mjs → index-DfeRLazC.mjs} +3 -3
  133. package/dist/chunks/{index-DGUU265f.mjs.map → index-DfeRLazC.mjs.map} +1 -1
  134. package/dist/chunks/{index-B-46hbYc.mjs → index-Dsw02Eup.mjs} +1 -1
  135. package/dist/chunks/{index-B-46hbYc.mjs.map → index-Dsw02Eup.mjs.map} +1 -1
  136. package/dist/chunks/{index-DIaetExD.mjs → index-PuN-H-VF.mjs} +1 -1
  137. package/dist/chunks/{index-DIaetExD.mjs.map → index-PuN-H-VF.mjs.map} +1 -1
  138. package/dist/chunks/{index-Csf3aM1P.mjs → index-UxWlwQlk.mjs} +1 -1
  139. package/dist/chunks/{index-Csf3aM1P.mjs.map → index-UxWlwQlk.mjs.map} +1 -1
  140. package/dist/chunks/{index-DF-3JHwb.mjs → index-gX0V59dZ.mjs} +2 -2
  141. package/dist/chunks/{index-DF-3JHwb.mjs.map → index-gX0V59dZ.mjs.map} +1 -1
  142. package/dist/chunks/{index-BbPnHdtV.mjs → index-z4Hk6sF4.mjs} +5 -5
  143. package/dist/chunks/{index-BbPnHdtV.mjs.map → index-z4Hk6sF4.mjs.map} +1 -1
  144. package/dist/chunks/{index-C5uKwhOD.mjs → index-zIaBOKQ3.mjs} +13 -13
  145. package/dist/chunks/{index-C5uKwhOD.mjs.map → index-zIaBOKQ3.mjs.map} +1 -1
  146. package/dist/chunks/{index.module-B4lVPYXp.mjs → index.module-Czm-Rcez.mjs} +1 -1
  147. package/dist/chunks/{index.module-B4lVPYXp.mjs.map → index.module-Czm-Rcez.mjs.map} +1 -1
  148. package/dist/chunks/input-B-W81Xmi.mjs +14 -0
  149. package/dist/chunks/input-B-W81Xmi.mjs.map +1 -0
  150. package/dist/chunks/input-file-BH3SMNJ7.mjs +97 -0
  151. package/dist/chunks/input-file-BH3SMNJ7.mjs.map +1 -0
  152. package/dist/chunks/{input-otp-DfumrHpI.mjs → input-otp-BNC4E0wv.mjs} +3 -3
  153. package/dist/chunks/{input-otp-DfumrHpI.mjs.map → input-otp-BNC4E0wv.mjs.map} +1 -1
  154. package/dist/chunks/{label-Dxv54YUS.mjs → label-D0iRy8Wj.mjs} +2 -2
  155. package/dist/chunks/{label-Dxv54YUS.mjs.map → label-D0iRy8Wj.mjs.map} +1 -1
  156. package/dist/chunks/{loader-circle-hYdtBTNb.mjs → loader-circle-BMRpEmW6.mjs} +2 -2
  157. package/dist/chunks/{loader-circle-hYdtBTNb.mjs.map → loader-circle-BMRpEmW6.mjs.map} +1 -1
  158. package/dist/chunks/{menubar-C76cRAzY.mjs → menubar-oWKK9_Ik.mjs} +11 -11
  159. package/dist/chunks/{menubar-C76cRAzY.mjs.map → menubar-oWKK9_Ik.mjs.map} +1 -1
  160. package/dist/chunks/{multi-select-B6DLSXK6.mjs → multi-select-ILUAJeKL.mjs} +46 -34
  161. package/dist/chunks/multi-select-ILUAJeKL.mjs.map +1 -0
  162. package/dist/chunks/{pagination-BF_3NYnD.mjs → pagination-Bx_e3scG.mjs} +6 -6
  163. package/dist/chunks/{pagination-BF_3NYnD.mjs.map → pagination-Bx_e3scG.mjs.map} +1 -1
  164. package/dist/chunks/{popover--9SMD-cC.mjs → popover-CdZgcLPo.mjs} +11 -11
  165. package/dist/chunks/{popover--9SMD-cC.mjs.map → popover-CdZgcLPo.mjs.map} +1 -1
  166. package/dist/chunks/{progress-CwFC70K1.mjs → progress-e_BEvMwp.mjs} +2 -2
  167. package/dist/chunks/{progress-CwFC70K1.mjs.map → progress-e_BEvMwp.mjs.map} +1 -1
  168. package/dist/chunks/{radio-group-DhGJL_gc.mjs → radio-group-BlSUw5ql.mjs} +11 -11
  169. package/dist/chunks/{radio-group-DhGJL_gc.mjs.map → radio-group-BlSUw5ql.mjs.map} +1 -1
  170. package/dist/chunks/{react-number-format.es-B11gLKR5.mjs → react-number-format.es-HizMU4ab.mjs} +1 -1
  171. package/dist/chunks/{react-number-format.es-B11gLKR5.mjs.map → react-number-format.es-HizMU4ab.mjs.map} +1 -1
  172. package/dist/chunks/{scroll-area-D0gA5i73.mjs → scroll-area-qiUBme0Q.mjs} +9 -9
  173. package/dist/chunks/{scroll-area-D0gA5i73.mjs.map → scroll-area-qiUBme0Q.mjs.map} +1 -1
  174. package/dist/chunks/{select-Cl_ZzI9R.mjs → select-BBatgGtL.mjs} +56 -12
  175. package/dist/chunks/select-BBatgGtL.mjs.map +1 -0
  176. package/dist/chunks/{separator-DohkJ_xb.mjs → separator-DYyhdAi6.mjs} +2 -2
  177. package/dist/chunks/{separator-DohkJ_xb.mjs.map → separator-DYyhdAi6.mjs.map} +1 -1
  178. package/dist/chunks/{sheet-CIlwd3J-.mjs → sheet-1Dl0ChJl.mjs} +4 -4
  179. package/dist/chunks/{sheet-CIlwd3J-.mjs.map → sheet-1Dl0ChJl.mjs.map} +1 -1
  180. package/dist/chunks/{skeleton-ClXnWXNn.mjs → skeleton-LDpPNYvq.mjs} +2 -2
  181. package/dist/chunks/{skeleton-ClXnWXNn.mjs.map → skeleton-LDpPNYvq.mjs.map} +1 -1
  182. package/dist/chunks/{slider-D39dP_g8.mjs → slider-D3yx--Ba.mjs} +9 -9
  183. package/dist/chunks/{slider-D39dP_g8.mjs.map → slider-D3yx--Ba.mjs.map} +1 -1
  184. package/dist/chunks/{sortable-T_IChBln.mjs → sortable-CE5SC5JS.mjs} +3 -3
  185. package/dist/chunks/{sortable-T_IChBln.mjs.map → sortable-CE5SC5JS.mjs.map} +1 -1
  186. package/dist/chunks/string-DRS4HkY8.mjs +71 -0
  187. package/dist/chunks/string-DRS4HkY8.mjs.map +1 -0
  188. package/dist/chunks/styles-lQyUmHf7.mjs +7 -0
  189. package/dist/chunks/styles-lQyUmHf7.mjs.map +1 -0
  190. package/dist/chunks/{switch-B3zf2gI8.mjs → switch-COE1z3YV.mjs} +7 -7
  191. package/dist/chunks/{switch-B3zf2gI8.mjs.map → switch-COE1z3YV.mjs.map} +1 -1
  192. package/dist/chunks/{table-Bfl280bq.mjs → table-BzhSKY4n.mjs} +2 -2
  193. package/dist/chunks/{table-Bfl280bq.mjs.map → table-BzhSKY4n.mjs.map} +1 -1
  194. package/dist/chunks/{tabs-C8FBxYmq.mjs → tabs-B5HgsIWx.mjs} +9 -9
  195. package/dist/chunks/{tabs-C8FBxYmq.mjs.map → tabs-B5HgsIWx.mjs.map} +1 -1
  196. package/dist/chunks/{textarea-W2TtG6RT.mjs → textarea-DM2uvcxK.mjs} +2 -2
  197. package/dist/chunks/{textarea-W2TtG6RT.mjs.map → textarea-DM2uvcxK.mjs.map} +1 -1
  198. package/dist/chunks/{toast-DPlHqm3b.mjs → toast-DfCz10Et.mjs} +12 -12
  199. package/dist/chunks/{toast-DPlHqm3b.mjs.map → toast-DfCz10Et.mjs.map} +1 -1
  200. package/dist/chunks/{toggle-DGw8vPFo.mjs → toggle-Du3jnh1s.mjs} +4 -4
  201. package/dist/chunks/{toggle-DGw8vPFo.mjs.map → toggle-Du3jnh1s.mjs.map} +1 -1
  202. package/dist/chunks/{tooltip-CI9dbI1p.mjs → tooltip-njN_ok-r.mjs} +11 -11
  203. package/dist/chunks/{tooltip-CI9dbI1p.mjs.map → tooltip-njN_ok-r.mjs.map} +1 -1
  204. package/dist/chunks/{trash-2-D8vtZLQJ.mjs → trash-2-ab4Di2Bx.mjs} +2 -2
  205. package/dist/chunks/{trash-2-D8vtZLQJ.mjs.map → trash-2-ab4Di2Bx.mjs.map} +1 -1
  206. package/dist/chunks/{triangle-alert-B-blf7Ow.mjs → triangle-alert-B_tQGpT4.mjs} +2 -2
  207. package/dist/chunks/{triangle-alert-B-blf7Ow.mjs.map → triangle-alert-B_tQGpT4.mjs.map} +1 -1
  208. package/dist/chunks/{tslib.es6-B32hQ9eG.mjs → tslib.es6-Q9puKanr.mjs} +1 -1
  209. package/dist/chunks/{tslib.es6-B32hQ9eG.mjs.map → tslib.es6-Q9puKanr.mjs.map} +1 -1
  210. package/dist/chunks/{upload-CQFfafJB.mjs → upload-DvgPaJGb.mjs} +2 -2
  211. package/dist/chunks/{upload-CQFfafJB.mjs.map → upload-DvgPaJGb.mjs.map} +1 -1
  212. package/dist/chunks/{use-toast-juJ63qRI.mjs → use-toast-CLJJgfL0.mjs} +1 -1
  213. package/dist/chunks/{use-toast-juJ63qRI.mjs.map → use-toast-CLJJgfL0.mjs.map} +1 -1
  214. package/dist/chunks/{utils-Dws4Ft8U.mjs → utils-BDcRwQMd.mjs} +2 -2
  215. package/dist/chunks/{utils-Dws4Ft8U.mjs.map → utils-BDcRwQMd.mjs.map} +1 -1
  216. package/dist/chunks/{wand-sparkles-C3OGp2qM.mjs → wand-sparkles-DqgQle7F.mjs} +2 -2
  217. package/dist/chunks/{wand-sparkles-C3OGp2qM.mjs.map → wand-sparkles-DqgQle7F.mjs.map} +1 -1
  218. package/dist/chunks/{x-CQ0W-nWi.mjs → x-B6hDJA_l.mjs} +2 -2
  219. package/dist/chunks/{x-CQ0W-nWi.mjs.map → x-B6hDJA_l.mjs.map} +1 -1
  220. package/dist/collapsible/index.mjs +7 -7
  221. package/dist/combobox/index.d.ts +9 -1
  222. package/dist/combobox/index.mjs +30 -155
  223. package/dist/combobox/index.mjs.map +1 -1
  224. package/dist/command/index.mjs +18 -18
  225. package/dist/context-menu/index.mjs +21 -21
  226. package/dist/dash/index.mjs +24 -23
  227. package/dist/dash/index.mjs.map +1 -1
  228. package/dist/data-table/index.d.ts +70 -50
  229. package/dist/data-table/index.mjs +79 -64
  230. package/dist/data-table/index.mjs.map +1 -1
  231. package/dist/date-picker/index.d.ts +7 -2
  232. package/dist/date-picker/index.mjs +27 -27
  233. package/dist/dialog/index.mjs +17 -17
  234. package/dist/drawer/index.mjs +14 -14
  235. package/dist/dropdown-menu/index.mjs +22 -22
  236. package/dist/dropzone/index.mjs +18 -18
  237. package/dist/editable-table/index.mjs +20 -18
  238. package/dist/editable-table/index.mjs.map +1 -1
  239. package/dist/empty/index.mjs +2 -2
  240. package/dist/export/index.d.ts +31 -11
  241. package/dist/export/index.mjs +20525 -31
  242. package/dist/export/index.mjs.map +1 -1
  243. package/dist/field/index.mjs +4 -4
  244. package/dist/form/index.mjs +4 -4
  245. package/dist/form-fields/index.mjs +26 -26
  246. package/dist/form-layout/index.d.ts +82 -10
  247. package/dist/form-layout/index.mjs +208 -103
  248. package/dist/form-layout/index.mjs.map +1 -1
  249. package/dist/hover-card/index.mjs +13 -13
  250. package/dist/icon/index.mjs +1 -1
  251. package/dist/index.css +1 -1
  252. package/dist/input/index.mjs +3 -3
  253. package/dist/input-file/index.d.ts +10 -0
  254. package/dist/input-file/index.mjs +12 -0
  255. package/dist/input-file/index.mjs.map +1 -0
  256. package/dist/input-group/index.d.ts +11 -1
  257. package/dist/input-group/index.mjs +5 -5
  258. package/dist/input-otp/index.mjs +4 -4
  259. package/dist/item/index.mjs +3 -3
  260. package/dist/ivt.css +1 -1
  261. package/dist/kbd/index.mjs +2 -2
  262. package/dist/label/index.mjs +3 -3
  263. package/dist/layout/index.d.ts +279 -1
  264. package/dist/layout/index.mjs +259 -23
  265. package/dist/layout/index.mjs.map +1 -1
  266. package/dist/menubar/index.mjs +22 -22
  267. package/dist/multi-input-list/index.mjs +28 -28
  268. package/dist/multi-select/index.d.ts +4 -0
  269. package/dist/multi-select/index.mjs +32 -31
  270. package/dist/multi-select/index.mjs.map +1 -1
  271. package/dist/navigation-menu/index.mjs +15 -15
  272. package/dist/pagination/index.d.ts +1 -1
  273. package/dist/pagination/index.mjs +8 -8
  274. package/dist/popover/index.mjs +16 -16
  275. package/dist/progress/index.mjs +3 -3
  276. package/dist/radio-group/index.mjs +16 -16
  277. package/dist/resizable/index.mjs +3 -3
  278. package/dist/scroll-area/index.mjs +10 -10
  279. package/dist/select/index.d.ts +3 -1
  280. package/dist/select/index.mjs +11 -6
  281. package/dist/select/index.mjs.map +1 -1
  282. package/dist/separator/index.mjs +3 -3
  283. package/dist/shared/index.d.ts +3 -13
  284. package/dist/shared/index.mjs +8 -55
  285. package/dist/shared/index.mjs.map +1 -1
  286. package/dist/sheet/index.mjs +17 -17
  287. package/dist/sidebar/index.d.ts +1 -11
  288. package/dist/sidebar/index.mjs +25 -25
  289. package/dist/skeleton/index.mjs +3 -3
  290. package/dist/skeleton-component/index.d.ts +2 -6
  291. package/dist/skeleton-component/index.mjs +6 -72
  292. package/dist/skeleton-component/index.mjs.map +1 -1
  293. package/dist/slider/index.mjs +11 -11
  294. package/dist/sortable/index.mjs +4 -4
  295. package/dist/spinner/index.mjs +4 -4
  296. package/dist/switch/index.mjs +9 -9
  297. package/dist/table/index.mjs +3 -3
  298. package/dist/table-filter/index.d.ts +3 -1
  299. package/dist/table-filter/index.mjs +61 -58
  300. package/dist/table-filter/index.mjs.map +1 -1
  301. package/dist/tabs/index.mjs +12 -12
  302. package/dist/textarea/index.mjs +3 -3
  303. package/dist/toast/index.mjs +14 -14
  304. package/dist/toaster/index.mjs +15 -15
  305. package/dist/toggle/index.mjs +6 -6
  306. package/dist/toggle-group/index.mjs +11 -11
  307. package/dist/tooltip/index.mjs +15 -15
  308. package/package.json +9 -2
  309. package/dist/chunks/CalendarPopover-CRB6GXIt.mjs.map +0 -1
  310. package/dist/chunks/CalendarRange-DucTFDzH.mjs.map +0 -1
  311. package/dist/chunks/ExportButtons-Ru0nKJJO.mjs +0 -229
  312. package/dist/chunks/ExportButtons-Ru0nKJJO.mjs.map +0 -1
  313. package/dist/chunks/GenericTabs-B42Kfv_U.mjs.map +0 -1
  314. package/dist/chunks/ListItem-Da4Od2ts.mjs.map +0 -1
  315. package/dist/chunks/_commonjsHelpers-CrMz3UM5.mjs.map +0 -1
  316. package/dist/chunks/command-e20cpPEv.mjs.map +0 -1
  317. package/dist/chunks/date-picker-BYXeysRW.mjs.map +0 -1
  318. package/dist/chunks/export-config-BMsuab-C.d.ts +0 -10
  319. package/dist/chunks/format-numbers-CBSY6ZvL.mjs.map +0 -1
  320. package/dist/chunks/input-B4HxPY7D.mjs +0 -14
  321. package/dist/chunks/input-B4HxPY7D.mjs.map +0 -1
  322. package/dist/chunks/multi-select-B6DLSXK6.mjs.map +0 -1
  323. package/dist/chunks/select-Cl_ZzI9R.mjs.map +0 -1
@@ -1,70 +1,75 @@
1
1
  import * as React from 'react';
2
2
  import { useId, useState, useRef, useEffect } from 'react';
3
- import { N as NumericFormat, P as PatternFormat } from '../chunks/react-number-format.es-B11gLKR5.mjs';
4
- import { M as MultiSelect } from '../chunks/multi-select-B6DLSXK6.mjs';
5
- import { c as cn } from '../chunks/utils-Dws4Ft8U.mjs';
6
- import { f as formatDateToBrazilian } from '../chunks/date-Dy-Pzcmp.mjs';
7
- import { f as formatMoney, s as styleInputError, a as styleInput } from '../chunks/format-numbers-CBSY6ZvL.mjs';
8
- import { f as FormField, a as FormItem, b as FormLabel, c as FormControl, d as FormDescription, e as FormMessage, F as Form } from '../chunks/form-BrcvX0yc.mjs';
9
- import { C as CalendarRange } from '../chunks/CalendarRange-DucTFDzH.mjs';
10
- import { T as Toggle } from '../chunks/toggle-DGw8vPFo.mjs';
11
- import { I as InputOTP, a as InputOTPGroup, b as InputOTPSlot } from '../chunks/input-otp-DfumrHpI.mjs';
12
- import { S as Slider } from '../chunks/slider-D39dP_g8.mjs';
13
- import { R as RadioGroup, a as RadioGroupItem } from '../chunks/radio-group-DhGJL_gc.mjs';
14
- import { S as Switch } from '../chunks/switch-B3zf2gI8.mjs';
15
- import { C as CalendarPopover, A as AutoComplete } from '../chunks/CalendarPopover-CRB6GXIt.mjs';
16
- import { L as ListItem } from '../chunks/ListItem-Da4Od2ts.mjs';
17
- import { L as Label } from '../chunks/label-Dxv54YUS.mjs';
18
- import { C as Checkbox } from '../chunks/checkbox-CgrFFc0p.mjs';
19
- import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-Cl_ZzI9R.mjs';
20
- import { I as Input } from '../chunks/input-B4HxPY7D.mjs';
21
- import { T as Textarea } from '../chunks/textarea-W2TtG6RT.mjs';
22
- import { S as Separator } from '../chunks/separator-DohkJ_xb.mjs';
3
+ import { N as NumericFormat, P as PatternFormat } from '../chunks/react-number-format.es-HizMU4ab.mjs';
4
+ import { M as MultiSelect } from '../chunks/multi-select-ILUAJeKL.mjs';
5
+ import { c as cn } from '../chunks/utils-BDcRwQMd.mjs';
6
+ import { f as formatDateToBrazilian } from '../chunks/date-Dqmv8Nr4.mjs';
7
+ import { f as formatMoney } from '../chunks/format-numbers-LmnBEQr0.mjs';
8
+ import { s as styleInputError, a as styleInput } from '../chunks/styles-lQyUmHf7.mjs';
9
+ import { f as FormField, a as FormItem, b as FormLabel, c as FormControl, d as FormDescription, e as FormMessage, F as Form } from '../chunks/form-paAECAsZ.mjs';
10
+ import { C as CalendarRange } from '../chunks/CalendarRange-BZ-rc5Ns.mjs';
11
+ import { C as Combobox } from '../chunks/combobox-D9iqP8Dp.mjs';
12
+ import { T as Toggle } from '../chunks/toggle-Du3jnh1s.mjs';
13
+ import { I as InputOTP, a as InputOTPGroup, b as InputOTPSlot } from '../chunks/input-otp-BNC4E0wv.mjs';
14
+ import { S as Slider } from '../chunks/slider-D3yx--Ba.mjs';
15
+ import { R as RadioGroup, a as RadioGroupItem } from '../chunks/radio-group-BlSUw5ql.mjs';
16
+ import { S as Switch } from '../chunks/switch-COE1z3YV.mjs';
17
+ import { D as DatePicker } from '../chunks/date-picker-BBCtT16G.mjs';
18
+ import { C as CalendarPopover, A as AutoComplete } from '../chunks/CalendarPopover-DNS2oszG.mjs';
19
+ import { I as InputFile } from '../chunks/input-file-BH3SMNJ7.mjs';
20
+ import { L as ListItem } from '../chunks/ListItem-CtUZSq2i.mjs';
21
+ import { L as Label } from '../chunks/label-D0iRy8Wj.mjs';
22
+ import { C as Checkbox } from '../chunks/checkbox-DvxpZsiG.mjs';
23
+ import { S as Select, h as SelectTrigger, i as SelectValue, a as SelectContent, c as SelectItem } from '../chunks/select-BBatgGtL.mjs';
24
+ import { I as Input } from '../chunks/input-B-W81Xmi.mjs';
25
+ import { T as Textarea } from '../chunks/textarea-DM2uvcxK.mjs';
26
+ import { S as Separator } from '../chunks/separator-DYyhdAi6.mjs';
23
27
  import 'class-variance-authority';
24
- import '../chunks/x-CQ0W-nWi.mjs';
25
- import '../chunks/createLucideIcon-D3jW_oal.mjs';
26
- import '../chunks/chevrons-up-down-C5lu4ULp.mjs';
27
- import '../chunks/check-VfNn6myv.mjs';
28
- import '../chunks/wand-sparkles-C3OGp2qM.mjs';
29
- import '../chunks/popover--9SMD-cC.mjs';
30
- import '../chunks/index-B-46hbYc.mjs';
28
+ import '../chunks/string-DRS4HkY8.mjs';
29
+ import '../chunks/x-B6hDJA_l.mjs';
30
+ import '../chunks/createLucideIcon-C11Tr46U.mjs';
31
+ import '../chunks/chevrons-up-down-CdBVNy4c.mjs';
32
+ import '../chunks/check-Ds358kZc.mjs';
33
+ import '../chunks/wand-sparkles-DqgQle7F.mjs';
34
+ import '../chunks/popover-CdZgcLPo.mjs';
35
+ import '../chunks/index-Dsw02Eup.mjs';
31
36
  import 'react-dom';
32
37
  import '@radix-ui/react-slot';
33
38
  import 'react/jsx-runtime';
34
- import '../chunks/index-RaUpQCps.mjs';
35
- import '../chunks/index-EcI_mW3m.mjs';
36
- import '../chunks/index-Dp_x2nI3.mjs';
37
- import '../chunks/index-BbPnHdtV.mjs';
38
- import '../chunks/tslib.es6-B32hQ9eG.mjs';
39
- import '../chunks/index-DF-3JHwb.mjs';
40
- import '../chunks/index-C__GtYCW.mjs';
41
- import '../chunks/index-BzAMFivh.mjs';
42
- import '../chunks/index-DDM8Lpbb.mjs';
43
- import '../chunks/index-JZ-FhLOH.mjs';
44
- import '../chunks/index-DGUU265f.mjs';
45
- import '../chunks/index-SLs8oClH.mjs';
46
- import '../chunks/button-BvsCd2vf.mjs';
47
- import '../chunks/badge-BUI8RIXy.mjs';
48
- import '../chunks/tooltip-CI9dbI1p.mjs';
49
- import '../chunks/index-B5fbJZIT.mjs';
50
- import '../chunks/command-e20cpPEv.mjs';
51
- import '../chunks/index-B46fiGOC.mjs';
52
- import '../chunks/dialog-B20zSjze.mjs';
53
- import '../chunks/bundle-mjs-CjTndHqR.mjs';
54
- import '../chunks/format-CxsCX_YZ.mjs';
55
- import '../chunks/calendar-days-C3N6HIT-.mjs';
56
- import '../chunks/calendar-LFBK0slp.mjs';
57
- import '../chunks/chevron-left-B7ClEtyW.mjs';
58
- import '../chunks/chevron-right-Bb52eown.mjs';
59
- import '../chunks/chevron-down-CD1QpvBA.mjs';
60
- import '../chunks/index-DslxcA48.mjs';
61
- import '../chunks/index-Csf3aM1P.mjs';
62
- import '../chunks/index-3TdUvynV.mjs';
39
+ import '../chunks/index-D4jPaBZ2.mjs';
40
+ import '../chunks/index-4NpeUekv.mjs';
41
+ import '../chunks/index-DC-gAYjS.mjs';
42
+ import '../chunks/index-z4Hk6sF4.mjs';
43
+ import '../chunks/tslib.es6-Q9puKanr.mjs';
44
+ import '../chunks/index-gX0V59dZ.mjs';
45
+ import '../chunks/index-C8u7IIcP.mjs';
46
+ import '../chunks/index-B87m6Bfb.mjs';
47
+ import '../chunks/index-DAa5gqEY.mjs';
48
+ import '../chunks/index-BksCjWh6.mjs';
49
+ import '../chunks/index-DfeRLazC.mjs';
50
+ import '../chunks/index-1toTCGyr.mjs';
51
+ import '../chunks/button-CZpmCmNo.mjs';
52
+ import '../chunks/badge-ZU62MOiS.mjs';
53
+ import '../chunks/tooltip-njN_ok-r.mjs';
54
+ import '../chunks/index-BJrVyyCQ.mjs';
55
+ import '../chunks/command-o67hOCgH.mjs';
56
+ import '../chunks/index-CaYwp6E6.mjs';
57
+ import '../chunks/dialog-DL1cSseU.mjs';
58
+ import '../chunks/bundle-mjs-CXmmFvYo.mjs';
59
+ import '../chunks/format-8qs-kXlN.mjs';
60
+ import '../chunks/calendar-days-DnYx8d46.mjs';
61
+ import '../chunks/calendar-CDJv1B--.mjs';
62
+ import '../chunks/chevron-left-Baq244Ce.mjs';
63
+ import '../chunks/chevron-right-Dq6zFe5E.mjs';
64
+ import '../chunks/chevron-down-CDFTds2-.mjs';
65
+ import '../chunks/index-CcmH_f2V.mjs';
66
+ import '../chunks/index-UxWlwQlk.mjs';
67
+ import '../chunks/index-COfEgTJM.mjs';
63
68
  import '@radix-ui/react-collection';
64
- import '../chunks/index-DghbVew_.mjs';
65
- import '../chunks/index.module-B4lVPYXp.mjs';
66
- import '../chunks/loader-circle-hYdtBTNb.mjs';
67
- import '../chunks/TooltipIndicator-B9oMD_x3.mjs';
69
+ import '../chunks/index-DIHpzffL.mjs';
70
+ import '../chunks/index.module-Czm-Rcez.mjs';
71
+ import '../chunks/loader-circle-BMRpEmW6.mjs';
72
+ import '../chunks/TooltipIndicator-o_ekzuQD.mjs';
68
73
  import '@radix-ui/react-select';
69
74
 
70
75
  /**
@@ -115,10 +120,16 @@ function AutocompleteFieldWrapper({ field, form, autocompleteConfig, placeholder
115
120
  useEffect(()=>{
116
121
  if (selectedOptionRef.current && field.value) {
117
122
  const currentValue = getOptionValue(selectedOptionRef.current);
118
- if (currentValue === field.value) {
123
+ const newValue = typeof field.value === "object" && field.value !== null ? getOptionValue(field.value) : field.value;
124
+ if (currentValue === newValue) {
119
125
  return;
120
126
  }
121
127
  }
128
+ if (field.value && typeof field.value === "object" && field.value !== null) {
129
+ selectedOptionRef.current = field.value;
130
+ setSelectedOption(field.value);
131
+ return;
132
+ }
122
133
  if (field.value && autocompleteConfig.fetchOptions) {
123
134
  const isNumericValue = typeof field.value === "number";
124
135
  const searchTerm = isNumericValue ? "" : field.value;
@@ -178,18 +189,19 @@ function AutocompleteFieldWrapper({ field, form, autocompleteConfig, placeholder
178
189
  getOptionLabel: getOptionLabel,
179
190
  getOptionKey: getOptionKey,
180
191
  clearable: autocompleteConfig.clearable ?? true,
181
- className: cn("border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border px-3 py-2 text-sm focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50", isError && styleInputError)
192
+ className: cn("border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border px-3 py-2 text-sm focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 truncate max-w-150", autocompleteConfig?.className, isError && styleInputError)
182
193
  });
183
194
  }
184
195
  function BaseFormField({ config, control, readOnly = false, form }) {
185
196
  const baseId = useId();
186
- const { name, label, type, placeholder, description, required, options, items, allowNegative, decimalScale, disabled, prefix, radioOptions, otpLength, sliderRange, format: patternFormat, mask, autocompleteConfig, render: customRender, maxLength, endAdornment, multiSelectConfig, dateConfig, fileConfig } = config;
197
+ const { name, label, type, placeholder, description, required, options, items, allowNegative, decimalScale, disabled, prefix, radioOptions, otpLength, sliderRange, format: patternFormat, mask, autocompleteConfig, comboboxConfig, inlineElement, render: customRender, maxLength, endAdornment, multiSelectConfig, dateConfig, fileConfig, isCheckboxDefault } = config;
187
198
  const formatReadOnlyValue = (value, fieldType)=>{
188
199
  if (value === null || value === undefined || value === "") {
189
200
  return undefined;
190
201
  }
191
202
  switch(fieldType){
192
203
  case "date":
204
+ case "date-picker":
193
205
  return formatDate(value);
194
206
  case "currency":
195
207
  return formatCurrency(value);
@@ -269,6 +281,18 @@ function BaseFormField({ config, control, readOnly = false, form }) {
269
281
  }
270
282
  return undefined;
271
283
  }
284
+ case "combobox":
285
+ {
286
+ if (typeof value === "string" || typeof value === "number") {
287
+ const valStr = String(value);
288
+ if (config.comboboxConfig?.items) {
289
+ const option = config.comboboxConfig.items.find((opt)=>String(opt.value) === valStr);
290
+ return option ? option.label : valStr;
291
+ }
292
+ return valStr;
293
+ }
294
+ return String(value);
295
+ }
272
296
  default:
273
297
  return String(value);
274
298
  }
@@ -278,7 +302,7 @@ function BaseFormField({ config, control, readOnly = false, form }) {
278
302
  control: control,
279
303
  name: name,
280
304
  render: ({ field })=>/*#__PURE__*/ React.createElement(ListItem, {
281
- title: label,
305
+ title: label ?? "",
282
306
  value: formatReadOnlyValue(field.value, type)
283
307
  })
284
308
  });
@@ -290,8 +314,10 @@ function BaseFormField({ config, control, readOnly = false, form }) {
290
314
  const isError = fieldState?.invalid;
291
315
  if (customRender && form) {
292
316
  return /*#__PURE__*/ React.createElement(FormItem, {
293
- className: type === "checkbox" ? "flex flex-row items-start space-y-0 space-x-3 rounded-md border p-4" : ""
294
- }, type !== "checkbox" && type !== "switch" && /*#__PURE__*/ React.createElement(FormLabel, null, label, required && /*#__PURE__*/ React.createElement("span", {
317
+ className: cn(type === "checkbox" && "flex flex-row items-start space-y-0 space-x-3 rounded-md border p-4", type === "checkbox" && isCheckboxDefault && "border-none p-0")
318
+ }, type !== "checkbox" && type !== "switch" && /*#__PURE__*/ React.createElement(FormLabel, {
319
+ htmlFor: name
320
+ }, label, label && required && /*#__PURE__*/ React.createElement("span", {
295
321
  className: "text-destructive",
296
322
  style: {
297
323
  float: "none",
@@ -299,16 +325,26 @@ function BaseFormField({ config, control, readOnly = false, form }) {
299
325
  marginRight: 0,
300
326
  marginTop: 0
301
327
  }
302
- }, "*"), ":"), /*#__PURE__*/ React.createElement(FormControl, {
328
+ }, "*"), /*#__PURE__*/ React.createElement("span", {
329
+ className: !label ? "text-transparent" : ""
330
+ }, ":")), /*#__PURE__*/ React.createElement("div", {
331
+ className: cn(inlineElement && "flex w-full items-center gap-2")
332
+ }, /*#__PURE__*/ React.createElement("div", {
333
+ className: cn(inlineElement && "min-w-0 flex-1")
334
+ }, /*#__PURE__*/ React.createElement(FormControl, {
303
335
  className: isError ? styleInputError : ""
304
336
  }, customRender({
305
337
  field,
306
338
  form
307
- })), type !== "checkbox" && description && !isError && /*#__PURE__*/ React.createElement(FormDescription, null, description), /*#__PURE__*/ React.createElement(FormMessage, null));
339
+ }))), inlineElement && /*#__PURE__*/ React.createElement("div", {
340
+ className: "shrink-0"
341
+ }, inlineElement)), type !== "checkbox" && description && !isError && /*#__PURE__*/ React.createElement(FormDescription, null, description), /*#__PURE__*/ React.createElement(FormMessage, null));
308
342
  }
309
343
  return /*#__PURE__*/ React.createElement(FormItem, {
310
- className: type === "checkbox" ? "flex flex-row items-start space-y-0 space-x-3 rounded-md border p-4" : ""
311
- }, type !== "checkbox" && type !== "switch" && /*#__PURE__*/ React.createElement(FormLabel, null, label, required && /*#__PURE__*/ React.createElement("span", {
344
+ className: cn(type === "checkbox" && "flex flex-row items-start space-y-0 space-x-3 rounded-md border p-4", isCheckboxDefault && "border-none p-0")
345
+ }, type !== "checkbox" && type !== "switch" && /*#__PURE__*/ React.createElement(FormLabel, {
346
+ htmlFor: name
347
+ }, label, label && required && /*#__PURE__*/ React.createElement("span", {
312
348
  className: "text-destructive",
313
349
  style: {
314
350
  float: "none",
@@ -316,7 +352,13 @@ function BaseFormField({ config, control, readOnly = false, form }) {
316
352
  marginRight: 0,
317
353
  marginTop: 0
318
354
  }
319
- }, "*"), ":"), /*#__PURE__*/ React.createElement(FormControl, null, (()=>{
355
+ }, "*"), /*#__PURE__*/ React.createElement("span", {
356
+ className: !label ? "text-transparent" : ""
357
+ }, ":")), /*#__PURE__*/ React.createElement("div", {
358
+ className: cn(inlineElement && "flex w-full items-center gap-2")
359
+ }, /*#__PURE__*/ React.createElement("div", {
360
+ className: cn(inlineElement && "min-w-0 flex-1")
361
+ }, /*#__PURE__*/ React.createElement(FormControl, null, (()=>{
320
362
  switch(type){
321
363
  case "text":
322
364
  case "email":
@@ -336,18 +378,19 @@ function BaseFormField({ config, control, readOnly = false, form }) {
336
378
  className: "text-muted-foreground pointer-events-none absolute top-1/2 right-3 -translate-y-1/2 text-xs"
337
379
  }, endAdornment(field.value)));
338
380
  case "file":
339
- return /*#__PURE__*/ React.createElement("div", {
340
- className: "flex items-center gap-2"
341
- }, /*#__PURE__*/ React.createElement(Input, {
342
- type: "file",
381
+ return /*#__PURE__*/ React.createElement(InputFile, {
382
+ id: String(name),
383
+ name: String(name),
384
+ value: field.value,
343
385
  onChange: (e)=>{
344
386
  const file = e.target.files?.[0] || null;
345
387
  field.onChange(file);
346
388
  },
347
- className: "cursor-pointer file:cursor-pointer",
348
389
  accept: fileConfig?.accept,
349
- disabled: disabled
350
- }));
390
+ disabled: disabled,
391
+ isError: isError,
392
+ placeholder: placeholder
393
+ });
351
394
  case "textarea":
352
395
  return /*#__PURE__*/ React.createElement(Textarea, {
353
396
  className: cn("min-h-20", isError && styleInputError),
@@ -359,6 +402,7 @@ function BaseFormField({ config, control, readOnly = false, form }) {
359
402
  });
360
403
  case "number":
361
404
  return /*#__PURE__*/ React.createElement(NumericFormat, {
405
+ id: name,
362
406
  customInput: Input,
363
407
  decimalSeparator: ",",
364
408
  thousandSeparator: ".",
@@ -373,10 +417,11 @@ function BaseFormField({ config, control, readOnly = false, form }) {
373
417
  },
374
418
  placeholder: placeholder,
375
419
  disabled: disabled,
376
- className: isError ? styleInputError : ""
420
+ className: cn("h-9", isError && styleInputError)
377
421
  });
378
422
  case "currency":
379
423
  return /*#__PURE__*/ React.createElement(NumericFormat, {
424
+ id: name,
380
425
  customInput: Input,
381
426
  decimalSeparator: ",",
382
427
  thousandSeparator: ".",
@@ -392,7 +437,7 @@ function BaseFormField({ config, control, readOnly = false, form }) {
392
437
  placeholder: placeholder,
393
438
  disabled: disabled,
394
439
  prefix: prefix ?? "R$ ",
395
- className: isError ? styleInputError : ""
440
+ className: cn("h-9", isError && styleInputError)
396
441
  });
397
442
  case "pattern":
398
443
  return /*#__PURE__*/ React.createElement(PatternFormat, {
@@ -413,14 +458,15 @@ function BaseFormField({ config, control, readOnly = false, form }) {
413
458
  return /*#__PURE__*/ React.createElement(Select, {
414
459
  onValueChange: field.onChange,
415
460
  value: selectValue,
416
- disabled: disabled
461
+ disabled: disabled,
462
+ clearable: config.selectConfig?.clearable ?? true
417
463
  }, /*#__PURE__*/ React.createElement(FormControl, null, /*#__PURE__*/ React.createElement(SelectTrigger, {
418
464
  id: name,
419
465
  className: cn("w-full", isError && styleInputError)
420
466
  }, /*#__PURE__*/ React.createElement(SelectValue, {
421
467
  placeholder: placeholder || "Selecione"
422
468
  }))), /*#__PURE__*/ React.createElement(SelectContent, {
423
- className: "max-h-[300px] overflow-x-hidden overflow-y-auto"
469
+ className: "max-h-75 overflow-x-hidden overflow-y-auto"
424
470
  }, options?.map((opt)=>{
425
471
  const val = typeof opt === "object" ? String(opt.value) : opt;
426
472
  const lab = typeof opt === "object" ? opt.label : opt;
@@ -432,6 +478,7 @@ function BaseFormField({ config, control, readOnly = false, form }) {
432
478
  }
433
479
  case "date":
434
480
  return /*#__PURE__*/ React.createElement(CalendarPopover, {
481
+ id: name,
435
482
  date: field.value,
436
483
  setDate: field.onChange,
437
484
  placeholder: placeholder,
@@ -440,18 +487,34 @@ function BaseFormField({ config, control, readOnly = false, form }) {
440
487
  disableWeekends: false,
441
488
  className: cn("w-full", isError && styleInputError)
442
489
  });
490
+ case "date-picker":
491
+ return /*#__PURE__*/ React.createElement(DatePicker, {
492
+ id: name,
493
+ date: field.value,
494
+ setDate: field.onChange,
495
+ placeholder: placeholder,
496
+ disabled: disabled,
497
+ className: cn("w-full", isError && styleInputError)
498
+ });
443
499
  case "checkbox":
444
- return /*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement(Checkbox, {
500
+ return /*#__PURE__*/ React.createElement("div", {
501
+ className: "flex items-center gap-2"
502
+ }, /*#__PURE__*/ React.createElement(Checkbox, {
445
503
  checked: !!field.value,
446
504
  onCheckedChange: field.onChange,
447
- disabled: disabled
505
+ disabled: disabled,
506
+ id: name
448
507
  }), /*#__PURE__*/ React.createElement("div", {
449
508
  className: "space-y-1 leading-none"
450
- }, /*#__PURE__*/ React.createElement(FormLabel, null, label), description && !isError && /*#__PURE__*/ React.createElement(FormDescription, null, description)));
509
+ }, /*#__PURE__*/ React.createElement(FormLabel, {
510
+ htmlFor: name
511
+ }, label), description && !isError && /*#__PURE__*/ React.createElement(FormDescription, null, description)));
451
512
  case "switch":
452
513
  return /*#__PURE__*/ React.createElement("div", {
453
514
  className: "flex items-center justify-between"
454
- }, /*#__PURE__*/ React.createElement(FormLabel, null, label), /*#__PURE__*/ React.createElement(Switch, {
515
+ }, /*#__PURE__*/ React.createElement(FormLabel, {
516
+ htmlFor: name
517
+ }, label), /*#__PURE__*/ React.createElement(Switch, {
455
518
  checked: !!field.value,
456
519
  onCheckedChange: field.onChange,
457
520
  disabled: disabled
@@ -527,13 +590,40 @@ function BaseFormField({ config, control, readOnly = false, form }) {
527
590
  isError: isError
528
591
  });
529
592
  }
530
- case "dateRange":
593
+ case "combobox":
531
594
  {
595
+ if (!comboboxConfig) return null;
532
596
  return /*#__PURE__*/ React.createElement("div", {
597
+ tabIndex: -1,
598
+ className: "outline-none"
599
+ }, /*#__PURE__*/ React.createElement(Combobox, {
533
600
  id: name,
601
+ items: comboboxConfig.items,
602
+ value: String(field.value ?? ""),
603
+ onValueChange: (val)=>{
604
+ if (comboboxConfig.valueType === "number") {
605
+ field.onChange(val !== "" ? Number(val) : null);
606
+ } else {
607
+ field.onChange(val || null);
608
+ }
609
+ },
610
+ placeholder: placeholder,
611
+ searchPlaceholder: comboboxConfig.searchPlaceholder,
612
+ emptyMessage: comboboxConfig.emptyMessage,
613
+ groupHeading: comboboxConfig.groupHeading,
614
+ normalizeSearch: comboboxConfig.normalizeSearch,
615
+ disabled: disabled,
616
+ widthClassName: "w-full",
617
+ className: cn(isError && styleInputError)
618
+ }));
619
+ }
620
+ case "dateRange":
621
+ {
622
+ return /*#__PURE__*/ React.createElement("div", {
534
623
  tabIndex: -1,
535
624
  className: "outline-none"
536
625
  }, /*#__PURE__*/ React.createElement(CalendarRange, {
626
+ id: name,
537
627
  numberOfMonths: 2,
538
628
  value: field.value,
539
629
  onChange: (value)=>{
@@ -547,10 +637,9 @@ function BaseFormField({ config, control, readOnly = false, form }) {
547
637
  }
548
638
  },
549
639
  placeholder: placeholder,
550
- className: cn("h-10 w-full", isError && styleInputError),
551
- disabled: disabled || dateConfig?.disabledDate,
552
- disabledDateTooltip: dateConfig?.disabledDateTooltip,
553
- showQuickRanges: dateConfig?.showQuickRanges
640
+ className: cn("h-9 w-full", isError && styleInputError),
641
+ disabled: disabled || dateConfig?.disabled,
642
+ ...dateConfig
554
643
  }));
555
644
  }
556
645
  case "numberRange":
@@ -558,6 +647,7 @@ function BaseFormField({ config, control, readOnly = false, form }) {
558
647
  return /*#__PURE__*/ React.createElement("div", {
559
648
  className: "flex gap-2"
560
649
  }, /*#__PURE__*/ React.createElement(NumericFormat, {
650
+ id: name,
561
651
  placeholder: "Mínimo",
562
652
  value: field.value?.min ?? "",
563
653
  allowNegative: allowNegative ?? true,
@@ -580,6 +670,7 @@ function BaseFormField({ config, control, readOnly = false, form }) {
580
670
  className: styleInput,
581
671
  disabled: disabled
582
672
  }), /*#__PURE__*/ React.createElement(NumericFormat, {
673
+ id: name,
583
674
  placeholder: "Máximo",
584
675
  value: field.value?.max ?? "",
585
676
  allowNegative: allowNegative ?? true,
@@ -615,31 +706,45 @@ function BaseFormField({ config, control, readOnly = false, form }) {
615
706
  label: opt.label,
616
707
  value: String(opt.value)
617
708
  }) || [];
709
+ const typedValue = Array.isArray(field.value) ? field.value.map(String) : [];
618
710
  return /*#__PURE__*/ React.createElement("div", {
619
- id: name,
620
711
  tabIndex: -1,
621
712
  className: "outline-none"
622
713
  }, /*#__PURE__*/ React.createElement(MultiSelect, {
714
+ id: name,
623
715
  options: multiSelectOptions,
624
- onValueChange: field.onChange,
625
- defaultValue: field.value,
626
- value: field.value,
716
+ onValueChange: (val)=>{
717
+ if (multiSelectConfig?.valueType === "number") {
718
+ field.onChange(val.map(Number));
719
+ } else {
720
+ field.onChange(val);
721
+ }
722
+ },
723
+ defaultValue: typedValue,
724
+ value: typedValue,
627
725
  placeholder: placeholder,
628
726
  variant: "default",
629
727
  maxCount: multiSelectConfig?.maxCount,
630
728
  subtle: multiSelectConfig?.subtle,
631
- className: isError && styleInputError
729
+ messageEmpty: multiSelectConfig?.emptyMessage,
730
+ searchPlaceholder: multiSelectConfig?.searchPlaceholder,
731
+ groupHeading: multiSelectConfig?.groupHeading,
732
+ normalizeSearch: multiSelectConfig?.normalizeSearch,
733
+ className: isError && styleInputError,
734
+ disabled: disabled
632
735
  }));
633
736
  }
634
737
  default:
635
738
  return null;
636
739
  }
637
- })()), type !== "checkbox" && description && !isError && /*#__PURE__*/ React.createElement(FormDescription, null, description), /*#__PURE__*/ React.createElement(FormMessage, null));
740
+ })())), inlineElement && /*#__PURE__*/ React.createElement("div", {
741
+ className: "shrink-0"
742
+ }, inlineElement)), type !== "checkbox" && description && !isError && /*#__PURE__*/ React.createElement(FormDescription, null, description), /*#__PURE__*/ React.createElement(FormMessage, null));
638
743
  }
639
744
  });
640
745
  }
641
746
  BaseFormField.displayName = "BaseFormField";
642
- function FormLayout({ form, sections, onSubmit, onError, formId, title, description, headerContent, readOnly = false, formRef }) {
747
+ function FormLayout({ form, sections, onSubmit, onError, formId, title, description, headerContent, readOnly = false, formRef, children, stepNavigator }) {
643
748
  const getColSpanClass = (cols)=>{
644
749
  if (!cols || cols === 1) return "col-span-12 md:col-span-6 xl:col-span-4";
645
750
  if (cols === 2) return "col-span-12 md:col-span-12 xl:col-span-8";
@@ -651,7 +756,7 @@ function FormLayout({ form, sections, onSubmit, onError, formId, title, descript
651
756
  onSubmit: form.handleSubmit(onSubmit, onError),
652
757
  id: formId,
653
758
  ref: formRef,
654
- className: "relative space-y-8 px-1"
759
+ className: "relative space-y-8"
655
760
  }, (title || description) && /*#__PURE__*/ React.createElement("div", {
656
761
  className: "mb-6 space-y-2"
657
762
  }, /*#__PURE__*/ React.createElement("div", {
@@ -660,7 +765,7 @@ function FormLayout({ form, sections, onSubmit, onError, formId, title, descript
660
765
  className: "text-xl font-semibold tracking-tight"
661
766
  }, title), description && /*#__PURE__*/ React.createElement("p", {
662
767
  className: "text-muted-foreground text-sm"
663
- }, description)), headerContent)), sections.map((section, idx)=>/*#__PURE__*/ React.createElement("div", {
768
+ }, description)), headerContent)), children, sections?.map((section, idx)=>/*#__PURE__*/ React.createElement("div", {
664
769
  key: section.title ? `${section.title}-${idx}` : `section-${idx}`,
665
770
  className: "space-y-4"
666
771
  }, (section.title || section.description) && /*#__PURE__*/ React.createElement("div", {
@@ -677,10 +782,10 @@ function FormLayout({ form, sections, onSubmit, onError, formId, title, descript
677
782
  control: form.control,
678
783
  readOnly: readOnly,
679
784
  form: form
680
- }))))))) : /*#__PURE__*/ React.createElement("div", {
785
+ })))))), stepNavigator) : /*#__PURE__*/ React.createElement("div", {
681
786
  id: formId,
682
787
  className: "relative space-y-8 px-1"
683
- }, sections.map((section, idx)=>/*#__PURE__*/ React.createElement("div", {
788
+ }, children, sections?.map((section, idx)=>/*#__PURE__*/ React.createElement("div", {
684
789
  key: section.title ? `${section.title}-${idx}` : `section-${idx}`,
685
790
  className: "space-y-4"
686
791
  }, (section.title || section.description) && /*#__PURE__*/ React.createElement("div", {
@@ -697,7 +802,7 @@ function FormLayout({ form, sections, onSubmit, onError, formId, title, descript
697
802
  control: form.control,
698
803
  readOnly: readOnly,
699
804
  form: form
700
- }))))))));
805
+ })))))), stepNavigator));
701
806
  }
702
807
  FormLayout.displayName = "FormLayout";
703
808