@fuf-stack/uniform 1.11.2 → 1.11.3

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 (350) hide show
  1. package/dist/Checkboxes/index.cjs +1 -1
  2. package/dist/Checkboxes/index.d.cts +1 -1
  3. package/dist/Checkboxes/index.d.ts +1 -1
  4. package/dist/Checkboxes/index.js +1 -1
  5. package/dist/{Checkboxes-BY4UK0Xf.js → Checkboxes-BvW4D5Nm.js} +3 -3
  6. package/dist/{Checkboxes-BY4UK0Xf.js.map → Checkboxes-BvW4D5Nm.js.map} +1 -1
  7. package/dist/{Checkboxes-DgCK-Wq-.cjs → Checkboxes-Cvdazf25.cjs} +4 -4
  8. package/dist/{Checkboxes-DgCK-Wq-.cjs.map → Checkboxes-Cvdazf25.cjs.map} +1 -1
  9. package/dist/FieldArray/index.cjs +1 -1
  10. package/dist/FieldArray/index.d.cts +1 -1
  11. package/dist/FieldArray/index.d.ts +1 -1
  12. package/dist/FieldArray/index.js +1 -1
  13. package/dist/{FieldArray-DBsyUQkU.cjs → FieldArray-CJpDgK_t.cjs} +7 -7
  14. package/dist/{FieldArray-DBsyUQkU.cjs.map → FieldArray-CJpDgK_t.cjs.map} +1 -1
  15. package/dist/{FieldArray-CDLaGvNj.js → FieldArray-omRNwxgy.js} +5 -5
  16. package/dist/{FieldArray-CDLaGvNj.js.map → FieldArray-omRNwxgy.js.map} +1 -1
  17. package/dist/FieldCard/index.cjs +1 -1
  18. package/dist/FieldCard/index.d.cts +1 -1
  19. package/dist/FieldCard/index.d.ts +1 -1
  20. package/dist/FieldCard/index.js +1 -1
  21. package/dist/{FieldCard-NKF358fO.cjs → FieldCard-Dt6QU7o7.cjs} +4 -4
  22. package/dist/{FieldCard-NKF358fO.cjs.map → FieldCard-Dt6QU7o7.cjs.map} +1 -1
  23. package/dist/{FieldCard-C1MCSbPW.js → FieldCard-Dyi-2qr6.js} +3 -3
  24. package/dist/{FieldCard-C1MCSbPW.js.map → FieldCard-Dyi-2qr6.js.map} +1 -1
  25. package/dist/{FieldCopyTestIdButton-BSYcSo2o.cjs → FieldCopyTestIdButton-By-hEZgA.cjs} +2 -2
  26. package/dist/{FieldCopyTestIdButton-BSYcSo2o.cjs.map → FieldCopyTestIdButton-By-hEZgA.cjs.map} +1 -1
  27. package/dist/{FieldCopyTestIdButton-DWPCDJ-s.js → FieldCopyTestIdButton-D9f1B-VS.js} +1 -1
  28. package/dist/{FieldCopyTestIdButton-DWPCDJ-s.js.map → FieldCopyTestIdButton-D9f1B-VS.js.map} +1 -1
  29. package/dist/{FieldValidationError-1hiDEFew.js → FieldValidationError-BYwitb_B.js} +1 -1
  30. package/dist/{FieldValidationError-1hiDEFew.js.map → FieldValidationError-BYwitb_B.js.map} +1 -1
  31. package/dist/{FieldValidationError-CE8R8qry.cjs → FieldValidationError-D64j5gnH.cjs} +2 -2
  32. package/dist/{FieldValidationError-CE8R8qry.cjs.map → FieldValidationError-D64j5gnH.cjs.map} +1 -1
  33. package/dist/Form/index.cjs +1 -1
  34. package/dist/Form/index.d.cts +1 -1
  35. package/dist/Form/index.d.ts +1 -1
  36. package/dist/Form/index.js +1 -1
  37. package/dist/{Form-DRNEwHsi.js → Form-B1fvbnxi.js} +3 -3
  38. package/dist/{Form-DRNEwHsi.js.map → Form-B1fvbnxi.js.map} +1 -1
  39. package/dist/{Form-BsD69fql.cjs → Form-CvnnGF45.cjs} +3 -3
  40. package/dist/{Form-BsD69fql.cjs.map → Form-CvnnGF45.cjs.map} +1 -1
  41. package/dist/{FormContext-CN9n_KdE.js → FormContext-Dl3k1r_k.js} +2 -2
  42. package/dist/{FormContext-CN9n_KdE.js.map → FormContext-Dl3k1r_k.js.map} +1 -1
  43. package/dist/{FormContext-Bb6d8hdG.cjs → FormContext-Lw4YL4-B.cjs} +2 -2
  44. package/dist/{FormContext-Bb6d8hdG.cjs.map → FormContext-Lw4YL4-B.cjs.map} +1 -1
  45. package/dist/Grid/index.cjs +1 -1
  46. package/dist/Grid/index.d.cts +1 -1
  47. package/dist/Grid/index.d.ts +1 -1
  48. package/dist/{Grid-D84e76CE.cjs → Grid-DezBAZbx.cjs} +2 -2
  49. package/dist/{Grid-D84e76CE.cjs.map → Grid-DezBAZbx.cjs.map} +1 -1
  50. package/dist/Input/index.cjs +1 -1
  51. package/dist/Input/index.d.cts +1 -1
  52. package/dist/Input/index.d.ts +1 -1
  53. package/dist/Input/index.js +1 -1
  54. package/dist/{Input-DeTpxiK_.cjs → Input-DR0gCf9q.cjs} +5 -4
  55. package/dist/Input-DR0gCf9q.cjs.map +1 -0
  56. package/dist/{Input-DXMWGTBh.js → Input-DksaHK1Y.js} +4 -3
  57. package/dist/Input-DksaHK1Y.js.map +1 -0
  58. package/dist/RadioBoxes/index.cjs +1 -1
  59. package/dist/RadioBoxes/index.d.cts +1 -1
  60. package/dist/RadioBoxes/index.d.ts +1 -1
  61. package/dist/RadioBoxes/index.js +1 -1
  62. package/dist/{RadioBoxes-BEln4a-B.js → RadioBoxes-DdIHH6B5.js} +2 -2
  63. package/dist/{RadioBoxes-BEln4a-B.js.map → RadioBoxes-DdIHH6B5.js.map} +1 -1
  64. package/dist/{RadioBoxes-gsQGqQCd.cjs → RadioBoxes-h-VLhJ9d.cjs} +3 -3
  65. package/dist/{RadioBoxes-gsQGqQCd.cjs.map → RadioBoxes-h-VLhJ9d.cjs.map} +1 -1
  66. package/dist/RadioTabs/index.cjs +1 -1
  67. package/dist/RadioTabs/index.d.cts +1 -1
  68. package/dist/RadioTabs/index.d.ts +1 -1
  69. package/dist/RadioTabs/index.js +1 -1
  70. package/dist/{RadioTabs-BYpP0tKA.cjs → RadioTabs-D6yF9jE3.cjs} +3 -3
  71. package/dist/{RadioTabs-BYpP0tKA.cjs.map → RadioTabs-D6yF9jE3.cjs.map} +1 -1
  72. package/dist/{RadioTabs-DLr9QiXI.js → RadioTabs-dLdlF91p.js} +2 -2
  73. package/dist/{RadioTabs-DLr9QiXI.js.map → RadioTabs-dLdlF91p.js.map} +1 -1
  74. package/dist/Radios/index.cjs +1 -1
  75. package/dist/Radios/index.d.cts +1 -1
  76. package/dist/Radios/index.d.ts +1 -1
  77. package/dist/Radios/index.js +1 -1
  78. package/dist/{Radios-BCOfnTke.cjs → Radios-D8alyG2f.cjs} +3 -3
  79. package/dist/{Radios-BCOfnTke.cjs.map → Radios-D8alyG2f.cjs.map} +1 -1
  80. package/dist/{Radios-DCXI2kMf.js → Radios-DiZ0Dfmp.js} +2 -2
  81. package/dist/{Radios-DCXI2kMf.js.map → Radios-DiZ0Dfmp.js.map} +1 -1
  82. package/dist/Select/index.cjs +1 -1
  83. package/dist/Select/index.d.cts +1 -1
  84. package/dist/Select/index.d.ts +1 -1
  85. package/dist/Select/index.js +1 -1
  86. package/dist/{Select-CyfEmWiD.js → Select-C9otN8uu.js} +3 -3
  87. package/dist/{Select-CyfEmWiD.js.map → Select-C9otN8uu.js.map} +1 -1
  88. package/dist/{Select-KnPGOO27.cjs → Select-DQVskslz.cjs} +4 -4
  89. package/dist/{Select-KnPGOO27.cjs.map → Select-DQVskslz.cjs.map} +1 -1
  90. package/dist/Slider/index.cjs +1 -1
  91. package/dist/Slider/index.d.cts +1 -1
  92. package/dist/Slider/index.d.ts +1 -1
  93. package/dist/Slider/index.js +1 -1
  94. package/dist/{Slider-C7xxYPgR.cjs → Slider-DwfyCQDM.cjs} +3 -3
  95. package/dist/{Slider-C7xxYPgR.cjs.map → Slider-DwfyCQDM.cjs.map} +1 -1
  96. package/dist/{Slider-Dlhb-9hC.js → Slider-meuLEC2k.js} +2 -2
  97. package/dist/{Slider-Dlhb-9hC.js.map → Slider-meuLEC2k.js.map} +1 -1
  98. package/dist/SubmitButton/index.cjs +1 -1
  99. package/dist/SubmitButton/index.d.cts +1 -1
  100. package/dist/SubmitButton/index.d.ts +1 -1
  101. package/dist/SubmitButton/index.js +1 -1
  102. package/dist/{SubmitButton-CUBItcBn.cjs → SubmitButton-B0kvUqkd.cjs} +3 -3
  103. package/dist/{SubmitButton-CUBItcBn.cjs.map → SubmitButton-B0kvUqkd.cjs.map} +1 -1
  104. package/dist/{SubmitButton-C5f6j0N4.js → SubmitButton-BHP9J9ml.js} +2 -2
  105. package/dist/{SubmitButton-C5f6j0N4.js.map → SubmitButton-BHP9J9ml.js.map} +1 -1
  106. package/dist/Switch/index.cjs +1 -1
  107. package/dist/Switch/index.d.cts +1 -1
  108. package/dist/Switch/index.d.ts +1 -1
  109. package/dist/Switch/index.js +1 -1
  110. package/dist/{Switch--m02Xcq8.js → Switch-DkciIYnD.js} +2 -2
  111. package/dist/{Switch--m02Xcq8.js.map → Switch-DkciIYnD.js.map} +1 -1
  112. package/dist/{Switch-6LyeZHJh.cjs → Switch-Ds0gDzjR.cjs} +3 -3
  113. package/dist/{Switch-6LyeZHJh.cjs.map → Switch-Ds0gDzjR.cjs.map} +1 -1
  114. package/dist/SwitchBox/index.cjs +1 -1
  115. package/dist/SwitchBox/index.d.cts +1 -1
  116. package/dist/SwitchBox/index.d.ts +1 -1
  117. package/dist/SwitchBox/index.js +1 -1
  118. package/dist/{SwitchBox-D0-e-pbM.js → SwitchBox-B6Z4rtWt.js} +2 -2
  119. package/dist/{SwitchBox-D0-e-pbM.js.map → SwitchBox-B6Z4rtWt.js.map} +1 -1
  120. package/dist/{SwitchBox-CtGiQdys.cjs → SwitchBox-B9JqwDtN.cjs} +3 -3
  121. package/dist/{SwitchBox-CtGiQdys.cjs.map → SwitchBox-B9JqwDtN.cjs.map} +1 -1
  122. package/dist/TextArea/index.cjs +1 -1
  123. package/dist/TextArea/index.d.cts +1 -1
  124. package/dist/TextArea/index.js +1 -1
  125. package/dist/{TextArea-PtdSABZS.cjs → TextArea-BqQtlPSV.cjs} +5 -4
  126. package/dist/{TextArea-PtdSABZS.cjs.map → TextArea-BqQtlPSV.cjs.map} +1 -1
  127. package/dist/{TextArea-BiSnvJ69.js → TextArea-DAx49KI6.js} +4 -3
  128. package/dist/{TextArea-BiSnvJ69.js.map → TextArea-DAx49KI6.js.map} +1 -1
  129. package/dist/helpers/index.cjs +2 -1
  130. package/dist/helpers/index.d.cts +164 -2
  131. package/dist/helpers/index.d.cts.map +1 -0
  132. package/dist/helpers/index.d.ts +164 -2
  133. package/dist/helpers/index.d.ts.map +1 -0
  134. package/dist/helpers/index.js +2 -2
  135. package/dist/{helpers-B-CJOBt3.js → helpers-CCINRgQk.js} +43 -2
  136. package/dist/helpers-CCINRgQk.js.map +1 -0
  137. package/dist/{helpers-B84E9vHd.cjs → helpers-nYTmL2gX.cjs} +49 -2
  138. package/dist/helpers-nYTmL2gX.cjs.map +1 -0
  139. package/dist/hooks/useClientValidation/index.cjs +1 -1
  140. package/dist/hooks/useClientValidation/index.d.cts +1 -1
  141. package/dist/hooks/useClientValidation/index.d.ts +1 -1
  142. package/dist/hooks/useClientValidation/index.js +1 -1
  143. package/dist/hooks/useController/index.cjs +1 -1
  144. package/dist/hooks/useController/index.d.cts +1 -1
  145. package/dist/hooks/useController/index.d.ts +2 -1
  146. package/dist/hooks/useController/index.js +1 -1
  147. package/dist/hooks/useFormContext/index.cjs +1 -1
  148. package/dist/hooks/useFormContext/index.d.cts +1 -1
  149. package/dist/hooks/useFormContext/index.d.ts +1 -1
  150. package/dist/hooks/useFormContext/index.js +1 -1
  151. package/dist/hooks/useInput/index.cjs +1 -1
  152. package/dist/hooks/useInputValueDebounce/index.cjs +1 -1
  153. package/dist/hooks/useInputValueDebounce/index.d.cts +1 -1
  154. package/dist/hooks/useInputValueDebounce/index.d.ts +1 -1
  155. package/dist/hooks/useInputValueDebounce/index.js +1 -1
  156. package/dist/hooks/useInputValueTransform/index.cjs +1 -1
  157. package/dist/hooks/useInputValueTransform/index.d.cts +1 -1
  158. package/dist/hooks/useInputValueTransform/index.d.ts +1 -1
  159. package/dist/hooks/useInputValueTransform/index.js +1 -1
  160. package/dist/hooks/useUniformField/index.cjs +1 -1
  161. package/dist/hooks/useUniformField/index.d.cts +1 -1
  162. package/dist/hooks/useUniformField/index.d.ts +3 -3
  163. package/dist/hooks/useUniformField/index.js +1 -1
  164. package/dist/hooks/useUniformFieldArray/index.cjs +1 -1
  165. package/dist/hooks/useUniformFieldArray/index.d.cts +1 -1
  166. package/dist/hooks/useUniformFieldArray/index.d.ts +4 -24
  167. package/dist/hooks/useUniformFieldArray/index.js +1 -1
  168. package/dist/hooks/useWatchUserChange/index.cjs +1 -1
  169. package/dist/hooks/useWatchUserChange/index.d.cts +1 -1
  170. package/dist/hooks/useWatchUserChange/index.d.ts +1 -1
  171. package/dist/hooks/useWatchUserChange/index.js +1 -1
  172. package/dist/{index-C1PUx1tH.d.ts → index-0wXxS5M7.d.ts} +7 -7
  173. package/dist/index-0wXxS5M7.d.ts.map +1 -0
  174. package/dist/{index-DvB46QAb.d.ts → index-1Egh73pR.d.ts} +3 -3
  175. package/dist/{index-DvB46QAb.d.ts.map → index-1Egh73pR.d.ts.map} +1 -1
  176. package/dist/{index-DmMenZfj.d.ts → index-3v_vja2i.d.ts} +6 -6
  177. package/dist/{index-DmMenZfj.d.ts.map → index-3v_vja2i.d.ts.map} +1 -1
  178. package/dist/{index-BTTo_ufh.d.ts → index-7mx-IcDp.d.ts} +3 -3
  179. package/dist/{index-BTTo_ufh.d.ts.map → index-7mx-IcDp.d.ts.map} +1 -1
  180. package/dist/{index-WogV9uVV.d.cts → index-BDV3JVoX.d.cts} +7 -7
  181. package/dist/{index-WogV9uVV.d.cts.map → index-BDV3JVoX.d.cts.map} +1 -1
  182. package/dist/{index-DxdaxM3o.d.cts → index-BFLKkqA3.d.ts} +2 -2
  183. package/dist/{index-Edx7MxXu.d.ts.map → index-BFLKkqA3.d.ts.map} +1 -1
  184. package/dist/{index-DG9C0kHA.d.ts → index-BGXgvZKr.d.ts} +35 -35
  185. package/dist/{index-DG9C0kHA.d.ts.map → index-BGXgvZKr.d.ts.map} +1 -1
  186. package/dist/{index-CVnn6mEI.d.ts → index-BSjUaHEO.d.cts} +4 -4
  187. package/dist/{index-BITJ-CZL.d.cts.map → index-BSjUaHEO.d.cts.map} +1 -1
  188. package/dist/{index-jmQP58tO.d.cts → index-B_aIzCcx.d.cts} +3 -3
  189. package/dist/{index-jmQP58tO.d.cts.map → index-B_aIzCcx.d.cts.map} +1 -1
  190. package/dist/{index-BITJ-CZL.d.cts → index-Bcppi5O7.d.ts} +4 -4
  191. package/dist/{index-CVnn6mEI.d.ts.map → index-Bcppi5O7.d.ts.map} +1 -1
  192. package/dist/{index-Bj_lpc5r.d.cts → index-C2A_i57R.d.cts} +21 -21
  193. package/dist/index-C2A_i57R.d.cts.map +1 -0
  194. package/dist/index-CFBmva_r.d.ts +1 -0
  195. package/dist/{index-CSBE6Et0.d.cts → index-CHNp5R5N.d.cts} +6 -6
  196. package/dist/{index-CSBE6Et0.d.cts.map → index-CHNp5R5N.d.cts.map} +1 -1
  197. package/dist/{index-BL0DnIzh.d.ts → index-CHXv_rNR.d.ts} +3 -3
  198. package/dist/{index-BL0DnIzh.d.ts.map → index-CHXv_rNR.d.ts.map} +1 -1
  199. package/dist/{index--E2ZsMya.d.ts → index-CTp4vdDb.d.ts} +6 -6
  200. package/dist/{index--E2ZsMya.d.ts.map → index-CTp4vdDb.d.ts.map} +1 -1
  201. package/dist/{index-F11geOHD.d.ts → index-CUn9q5KD.d.ts} +6 -6
  202. package/dist/{index-F11geOHD.d.ts.map → index-CUn9q5KD.d.ts.map} +1 -1
  203. package/dist/{index-BxA_pJWn.d.cts → index-CZyNkPDq.d.ts} +22 -22
  204. package/dist/{index-C-2nxT8D.d.ts.map → index-CZyNkPDq.d.ts.map} +1 -1
  205. package/dist/{index-C-2nxT8D.d.ts → index-CeYRsehb.d.cts} +22 -22
  206. package/dist/index-CeYRsehb.d.cts.map +1 -0
  207. package/dist/{index-DRij_w43.d.cts → index-CiF2KXB7.d.cts} +6 -6
  208. package/dist/{index-DRij_w43.d.cts.map → index-CiF2KXB7.d.cts.map} +1 -1
  209. package/dist/{index-DNkZrb7P.d.cts → index-CjJHVJwD.d.cts} +35 -35
  210. package/dist/{index-DNkZrb7P.d.cts.map → index-CjJHVJwD.d.cts.map} +1 -1
  211. package/dist/{index-D38wOL-M.d.ts → index-CnsR8nkm.d.cts} +34 -34
  212. package/dist/index-CnsR8nkm.d.cts.map +1 -0
  213. package/dist/{index-CGnr_e53.d.ts → index-CqGabrzW.d.cts} +38 -38
  214. package/dist/index-CqGabrzW.d.cts.map +1 -0
  215. package/dist/{index-CYdvpGJF.d.cts → index-CuvvZMop.d.cts} +3 -3
  216. package/dist/{index-CYdvpGJF.d.cts.map → index-CuvvZMop.d.cts.map} +1 -1
  217. package/dist/{index-BWNJdLDV.d.ts → index-DNFUttM8.d.ts} +21 -21
  218. package/dist/{index-BWNJdLDV.d.ts.map → index-DNFUttM8.d.ts.map} +1 -1
  219. package/dist/{index-BQDEnYTq.d.ts → index-DVRtBywt.d.ts} +1 -1
  220. package/dist/{index-BQDEnYTq.d.ts.map → index-DVRtBywt.d.ts.map} +1 -1
  221. package/dist/{index-oyX8xu0F.d.cts → index-D_WidR7r.d.cts} +6 -6
  222. package/dist/{index-oyX8xu0F.d.cts.map → index-D_WidR7r.d.cts.map} +1 -1
  223. package/dist/index-D_egu-QT.d.cts +264 -0
  224. package/dist/index-D_egu-QT.d.cts.map +1 -0
  225. package/dist/index-DajjPPWM.d.ts +264 -0
  226. package/dist/index-DajjPPWM.d.ts.map +1 -0
  227. package/dist/{index-Bo_n9sse.d.cts → index-DcYFLiul.d.cts} +48 -48
  228. package/dist/index-DcYFLiul.d.cts.map +1 -0
  229. package/dist/index-DnzC0GCS.d.ts.map +1 -1
  230. package/dist/{index-Edx7MxXu.d.ts → index-DvF_C1Bz.d.cts} +3 -3
  231. package/dist/{index-DxdaxM3o.d.cts.map → index-DvF_C1Bz.d.cts.map} +1 -1
  232. package/dist/{index-Cb0AgRRa.d.cts → index-cadUZZIY.d.cts} +3 -3
  233. package/dist/{index-Cb0AgRRa.d.cts.map → index-cadUZZIY.d.cts.map} +1 -1
  234. package/dist/{index-PU5WNOH9.d.cts → index-g9TZhGnE.d.cts} +3 -3
  235. package/dist/{index-PU5WNOH9.d.cts.map → index-g9TZhGnE.d.cts.map} +1 -1
  236. package/dist/index-lQ_hGQ08.d.cts +1 -0
  237. package/dist/{index-C0L7GvgN.d.cts → index-op7zETAQ.d.ts} +34 -34
  238. package/dist/index-op7zETAQ.d.ts.map +1 -0
  239. package/dist/{index-DoS0lVRe.d.cts → index-yVkU2v6b.d.ts} +37 -37
  240. package/dist/{index-CGnr_e53.d.ts.map → index-yVkU2v6b.d.ts.map} +1 -1
  241. package/dist/index.cjs +28 -27
  242. package/dist/index.d.cts +27 -27
  243. package/dist/index.d.ts +27 -26
  244. package/dist/index.js +26 -26
  245. package/dist/partials/FieldCopyTestIdButton/index.cjs +1 -1
  246. package/dist/partials/FieldCopyTestIdButton/index.d.cts +1 -1
  247. package/dist/partials/FieldCopyTestIdButton/index.d.ts +1 -1
  248. package/dist/partials/FieldCopyTestIdButton/index.js +1 -1
  249. package/dist/partials/FieldValidationError/index.cjs +1 -1
  250. package/dist/partials/FieldValidationError/index.d.cts +1 -1
  251. package/dist/partials/FieldValidationError/index.d.ts +1 -1
  252. package/dist/partials/FieldValidationError/index.js +1 -1
  253. package/dist/{useClientValidation-DJ4JuN_9.d.ts → useClientValidation-Bg0q3Axc.d.ts} +3 -3
  254. package/dist/{useClientValidation-DJ4JuN_9.d.ts.map → useClientValidation-Bg0q3Axc.d.ts.map} +1 -1
  255. package/dist/{useClientValidation-BnnscAEe.js → useClientValidation-BrTtRnqi.js} +3 -3
  256. package/dist/{useClientValidation-BnnscAEe.js.map → useClientValidation-BrTtRnqi.js.map} +1 -1
  257. package/dist/{useClientValidation-BQqwz628.d.cts → useClientValidation-BvPDQmf6.d.cts} +3 -3
  258. package/dist/{useClientValidation-BQqwz628.d.cts.map → useClientValidation-BvPDQmf6.d.cts.map} +1 -1
  259. package/dist/{useClientValidation-CmYVGlLr.cjs → useClientValidation-CdC7lEYP.cjs} +4 -4
  260. package/dist/{useClientValidation-CmYVGlLr.cjs.map → useClientValidation-CdC7lEYP.cjs.map} +1 -1
  261. package/dist/{useController-C_MZLZIp.d.cts → useController-BArZd2Vp.d.cts} +1 -1
  262. package/dist/{useController-C_MZLZIp.d.cts.map → useController-BArZd2Vp.d.cts.map} +1 -1
  263. package/dist/{useController-CkmO5CLh.cjs → useController-BBxji1nQ.cjs} +3 -3
  264. package/dist/{useController-CkmO5CLh.cjs.map → useController-BBxji1nQ.cjs.map} +1 -1
  265. package/dist/{useController-hjpJQf0w.d.ts → useController-MVHJ7WFp.d.ts} +1 -1
  266. package/dist/{useController-hjpJQf0w.d.ts.map → useController-MVHJ7WFp.d.ts.map} +1 -1
  267. package/dist/{useController-CumIERks.js → useController-g0AlWM__.js} +3 -3
  268. package/dist/{useController-CumIERks.js.map → useController-g0AlWM__.js.map} +1 -1
  269. package/dist/{useFormContext-B083Y-kw.d.cts → useFormContext--yod5xzQ.d.cts} +3 -3
  270. package/dist/useFormContext--yod5xzQ.d.cts.map +1 -0
  271. package/dist/{useFormContext-JCm1UR_e.js → useFormContext-BFoXZNkp.js} +3 -3
  272. package/dist/{useFormContext-JCm1UR_e.js.map → useFormContext-BFoXZNkp.js.map} +1 -1
  273. package/dist/{useFormContext-Bp0EODoO.cjs → useFormContext-CEr3zcL6.cjs} +3 -3
  274. package/dist/{useFormContext-Bp0EODoO.cjs.map → useFormContext-CEr3zcL6.cjs.map} +1 -1
  275. package/dist/{useFormContext-B2TS6xq0.d.ts → useFormContext-Cw6aAhos.d.ts} +3 -3
  276. package/dist/useFormContext-Cw6aAhos.d.ts.map +1 -0
  277. package/dist/{useInputValueDebounce-B5b-v8Hc.d.cts → useInputValueDebounce-DI1C6oaU.d.cts} +5 -1
  278. package/dist/useInputValueDebounce-DI1C6oaU.d.cts.map +1 -0
  279. package/dist/{useInputValueDebounce-DaH5ONlQ.js → useInputValueDebounce-Dop_8_OK.js} +12 -3
  280. package/dist/useInputValueDebounce-Dop_8_OK.js.map +1 -0
  281. package/dist/{useInputValueDebounce-BcUyaS94.cjs → useInputValueDebounce-TiNR4jtG.cjs} +13 -4
  282. package/dist/useInputValueDebounce-TiNR4jtG.cjs.map +1 -0
  283. package/dist/{useInputValueDebounce-DoRuSF6R.d.ts → useInputValueDebounce-fhmVn1aO.d.ts} +5 -1
  284. package/dist/useInputValueDebounce-fhmVn1aO.d.ts.map +1 -0
  285. package/dist/{useInputValueTransform-DFPA3KVy.cjs → useInputValueTransform-BNmfaj5D.cjs} +4 -3
  286. package/dist/{useInputValueTransform-DFPA3KVy.cjs.map → useInputValueTransform-BNmfaj5D.cjs.map} +1 -1
  287. package/dist/{useInputValueTransform-D7LfyYRe.d.ts → useInputValueTransform-BV8o0PMI.d.cts} +3 -2
  288. package/dist/useInputValueTransform-BV8o0PMI.d.cts.map +1 -0
  289. package/dist/{useInputValueTransform-aiIf8lq5.js → useInputValueTransform-CMNC21vX.js} +3 -2
  290. package/dist/{useInputValueTransform-aiIf8lq5.js.map → useInputValueTransform-CMNC21vX.js.map} +1 -1
  291. package/dist/{useInputValueTransform-BID-CQ-y.d.cts → useInputValueTransform-Cc0qEsnS.d.ts} +3 -2
  292. package/dist/useInputValueTransform-Cc0qEsnS.d.ts.map +1 -0
  293. package/dist/{useUniformField-B2OZ-Z1G.d.cts → useUniformField-B2zQtEbr.d.cts} +4 -4
  294. package/dist/{useUniformField-B2OZ-Z1G.d.cts.map → useUniformField-B2zQtEbr.d.cts.map} +1 -1
  295. package/dist/{useUniformField-gU4qYUwL.js → useUniformField-BKVVns0E.js} +34 -8
  296. package/dist/useUniformField-BKVVns0E.js.map +1 -0
  297. package/dist/{useUniformField-Bj23Kvbs.cjs → useUniformField-D6fwSjrH.cjs} +35 -9
  298. package/dist/useUniformField-D6fwSjrH.cjs.map +1 -0
  299. package/dist/{useUniformField-CwEHonNe.d.ts → useUniformField-RxZqXMuD.d.ts} +4 -4
  300. package/dist/{useUniformField-CwEHonNe.d.ts.map → useUniformField-RxZqXMuD.d.ts.map} +1 -1
  301. package/dist/{useUniformFieldArray-CXoWvu6m.d.ts → useUniformFieldArray-B_c55CnX.d.ts} +4 -4
  302. package/dist/useUniformFieldArray-B_c55CnX.d.ts.map +1 -0
  303. package/dist/{useUniformFieldArray-B5PyxL1P.js → useUniformFieldArray-BwE634m6.js} +4 -4
  304. package/dist/useUniformFieldArray-BwE634m6.js.map +1 -0
  305. package/dist/{useUniformFieldArray-G1lokW7x.cjs → useUniformFieldArray-Byfmzq97.cjs} +5 -5
  306. package/dist/useUniformFieldArray-Byfmzq97.cjs.map +1 -0
  307. package/dist/{useUniformFieldArray-qtJMEosJ.d.cts → useUniformFieldArray-WRuIMhw6.d.cts} +4 -4
  308. package/dist/useUniformFieldArray-WRuIMhw6.d.cts.map +1 -0
  309. package/dist/{useWatchUserChange-BAdiqg2q.d.ts → useWatchUserChange-Bf5JKDJJ.d.ts} +1 -1
  310. package/dist/{useWatchUserChange-BAdiqg2q.d.ts.map → useWatchUserChange-Bf5JKDJJ.d.ts.map} +1 -1
  311. package/dist/{useWatchUserChange-COVdHmki.d.cts → useWatchUserChange-Br4Q7syM.d.cts} +1 -1
  312. package/dist/{useWatchUserChange-COVdHmki.d.cts.map → useWatchUserChange-Br4Q7syM.d.cts.map} +1 -1
  313. package/dist/{useWatchUserChange-BnxYE-0b.cjs → useWatchUserChange-TMfaTCcp.cjs} +3 -3
  314. package/dist/{useWatchUserChange-BnxYE-0b.cjs.map → useWatchUserChange-TMfaTCcp.cjs.map} +1 -1
  315. package/dist/{useWatchUserChange-C1ezpj0t.js → useWatchUserChange-fZy6nGtD.js} +2 -2
  316. package/dist/{useWatchUserChange-C1ezpj0t.js.map → useWatchUserChange-fZy6nGtD.js.map} +1 -1
  317. package/package.json +3 -3
  318. package/dist/Input-DXMWGTBh.js.map +0 -1
  319. package/dist/Input-DeTpxiK_.cjs.map +0 -1
  320. package/dist/helpers-B-CJOBt3.js.map +0 -1
  321. package/dist/helpers-B84E9vHd.cjs.map +0 -1
  322. package/dist/index-Bj_lpc5r.d.cts.map +0 -1
  323. package/dist/index-Bo_n9sse.d.cts.map +0 -1
  324. package/dist/index-BxA_pJWn.d.cts.map +0 -1
  325. package/dist/index-C0L7GvgN.d.cts.map +0 -1
  326. package/dist/index-C1PUx1tH.d.ts.map +0 -1
  327. package/dist/index-CADnFWHq.d.ts +0 -264
  328. package/dist/index-CADnFWHq.d.ts.map +0 -1
  329. package/dist/index-D38wOL-M.d.ts.map +0 -1
  330. package/dist/index-DoS0lVRe.d.cts.map +0 -1
  331. package/dist/index-G0IgQWoU.d.cts +0 -134
  332. package/dist/index-G0IgQWoU.d.cts.map +0 -1
  333. package/dist/index-UjKqRe-8.d.ts +0 -134
  334. package/dist/index-UjKqRe-8.d.ts.map +0 -1
  335. package/dist/index-sJZ434Sg.d.cts +0 -264
  336. package/dist/index-sJZ434Sg.d.cts.map +0 -1
  337. package/dist/useFormContext-B083Y-kw.d.cts.map +0 -1
  338. package/dist/useFormContext-B2TS6xq0.d.ts.map +0 -1
  339. package/dist/useInputValueDebounce-B5b-v8Hc.d.cts.map +0 -1
  340. package/dist/useInputValueDebounce-BcUyaS94.cjs.map +0 -1
  341. package/dist/useInputValueDebounce-DaH5ONlQ.js.map +0 -1
  342. package/dist/useInputValueDebounce-DoRuSF6R.d.ts.map +0 -1
  343. package/dist/useInputValueTransform-BID-CQ-y.d.cts.map +0 -1
  344. package/dist/useInputValueTransform-D7LfyYRe.d.ts.map +0 -1
  345. package/dist/useUniformField-Bj23Kvbs.cjs.map +0 -1
  346. package/dist/useUniformField-gU4qYUwL.js.map +0 -1
  347. package/dist/useUniformFieldArray-B5PyxL1P.js.map +0 -1
  348. package/dist/useUniformFieldArray-CXoWvu6m.d.ts.map +0 -1
  349. package/dist/useUniformFieldArray-G1lokW7x.cjs.map +0 -1
  350. package/dist/useUniformFieldArray-qtJMEosJ.d.cts.map +0 -1
@@ -1,36 +1,36 @@
1
- import * as tailwind_variants31 from "tailwind-variants";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
1
  import { TVClassName, TVProps } from "@fuf-stack/pixel-utils";
4
2
  import { ReactNode } from "react";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
4
  import { SwitchProps } from "@heroui/switch";
5
+ import * as tailwind_variants0 from "tailwind-variants";
6
6
 
7
7
  //#region src/Switch/Switch.d.ts
8
- declare const switchVariants: tailwind_variants31.TVReturnType<{
8
+ declare const switchVariants: tailwind_variants0.TVReturnType<{
9
9
  [key: string]: {
10
- [key: string]: tailwind_variants31.ClassValue | {
11
- base?: tailwind_variants31.ClassValue;
12
- errorMessage?: tailwind_variants31.ClassValue;
13
- label?: tailwind_variants31.ClassValue;
14
- wrapper?: tailwind_variants31.ClassValue;
15
- thumb?: tailwind_variants31.ClassValue;
16
- thumbIcon?: tailwind_variants31.ClassValue;
17
- startContent?: tailwind_variants31.ClassValue;
18
- endContent?: tailwind_variants31.ClassValue;
19
- outerWrapper?: tailwind_variants31.ClassValue;
10
+ [key: string]: tailwind_variants0.ClassValue | {
11
+ label?: tailwind_variants0.ClassValue;
12
+ errorMessage?: tailwind_variants0.ClassValue;
13
+ base?: tailwind_variants0.ClassValue;
14
+ endContent?: tailwind_variants0.ClassValue;
15
+ startContent?: tailwind_variants0.ClassValue;
16
+ wrapper?: tailwind_variants0.ClassValue;
17
+ thumb?: tailwind_variants0.ClassValue;
18
+ thumbIcon?: tailwind_variants0.ClassValue;
19
+ outerWrapper?: tailwind_variants0.ClassValue;
20
20
  };
21
21
  };
22
22
  } | {
23
23
  [x: string]: {
24
- [x: string]: tailwind_variants31.ClassValue | {
25
- base?: tailwind_variants31.ClassValue;
26
- errorMessage?: tailwind_variants31.ClassValue;
27
- label?: tailwind_variants31.ClassValue;
28
- wrapper?: tailwind_variants31.ClassValue;
29
- thumb?: tailwind_variants31.ClassValue;
30
- thumbIcon?: tailwind_variants31.ClassValue;
31
- startContent?: tailwind_variants31.ClassValue;
32
- endContent?: tailwind_variants31.ClassValue;
33
- outerWrapper?: tailwind_variants31.ClassValue;
24
+ [x: string]: tailwind_variants0.ClassValue | {
25
+ label?: tailwind_variants0.ClassValue;
26
+ errorMessage?: tailwind_variants0.ClassValue;
27
+ base?: tailwind_variants0.ClassValue;
28
+ endContent?: tailwind_variants0.ClassValue;
29
+ startContent?: tailwind_variants0.ClassValue;
30
+ wrapper?: tailwind_variants0.ClassValue;
31
+ thumb?: tailwind_variants0.ClassValue;
32
+ thumbIcon?: tailwind_variants0.ClassValue;
33
+ outerWrapper?: tailwind_variants0.ClassValue;
34
34
  };
35
35
  };
36
36
  } | {}, {
@@ -45,16 +45,16 @@ declare const switchVariants: tailwind_variants31.TVReturnType<{
45
45
  wrapper: string;
46
46
  }, undefined, {
47
47
  [key: string]: {
48
- [key: string]: tailwind_variants31.ClassValue | {
49
- base?: tailwind_variants31.ClassValue;
50
- errorMessage?: tailwind_variants31.ClassValue;
51
- label?: tailwind_variants31.ClassValue;
52
- wrapper?: tailwind_variants31.ClassValue;
53
- thumb?: tailwind_variants31.ClassValue;
54
- thumbIcon?: tailwind_variants31.ClassValue;
55
- startContent?: tailwind_variants31.ClassValue;
56
- endContent?: tailwind_variants31.ClassValue;
57
- outerWrapper?: tailwind_variants31.ClassValue;
48
+ [key: string]: tailwind_variants0.ClassValue | {
49
+ label?: tailwind_variants0.ClassValue;
50
+ errorMessage?: tailwind_variants0.ClassValue;
51
+ base?: tailwind_variants0.ClassValue;
52
+ endContent?: tailwind_variants0.ClassValue;
53
+ startContent?: tailwind_variants0.ClassValue;
54
+ wrapper?: tailwind_variants0.ClassValue;
55
+ thumb?: tailwind_variants0.ClassValue;
56
+ thumbIcon?: tailwind_variants0.ClassValue;
57
+ outerWrapper?: tailwind_variants0.ClassValue;
58
58
  };
59
59
  };
60
60
  } | {}, {
@@ -67,7 +67,7 @@ declare const switchVariants: tailwind_variants31.TVReturnType<{
67
67
  thumb: string;
68
68
  thumbIcon: string;
69
69
  wrapper: string;
70
- }, tailwind_variants31.TVReturnType<unknown, {
70
+ }, tailwind_variants0.TVReturnType<unknown, {
71
71
  base: string;
72
72
  endContent: string;
73
73
  errorMessage: string;
@@ -104,7 +104,7 @@ interface SwitchProps$1 extends VariantProps {
104
104
  /**
105
105
  * Switch component based on [HeroUI Switch](https://www.heroui.com//docs/components/switch)
106
106
  */
107
- declare const Switch: ({
107
+ declare const Switch$1: ({
108
108
  className,
109
109
  endContent,
110
110
  name,
@@ -114,5 +114,5 @@ declare const Switch: ({
114
114
  ...uniformFieldProps
115
115
  }: SwitchProps$1) => react_jsx_runtime0.JSX.Element;
116
116
  //#endregion
117
- export { SwitchProps$1 as n, Switch as t };
118
- //# sourceMappingURL=index-DoS0lVRe.d.cts.map
117
+ export { SwitchProps$1 as n, Switch$1 as t };
118
+ //# sourceMappingURL=index-yVkU2v6b.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-CGnr_e53.d.ts","names":[],"sources":["../src/Switch/Switch.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAaa,mCAAc;;mBAezB,kBAAA,CAAA,UAAA;;MAfW,YAeX,CAAA,+BAAA;MAAA,KAAA,CAAA,+BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAfyB;EAAA,OAAA,EAAA,MAAA;AAexB,CAAA,EAAA,SAEE,EAAA;EACA,CAAA,GAAA,EAAA,MAAS,CAAA,EAAA;IAEG,CAAA,GAAA,EAAA,MAAY,CAAA,kCAAA;MAIf,IAAA,CAAA,+BAAA;MAIC,YAAA,CAAA,+BAAA;MAEL,KAAA,CAAA,+BAAA;MAMO,OAAA,CAAA,+BAAA;MAIH,KAAA,CAAA,+BAAA;MApBuB,SAAA,CAAA,+BAAA;MAAY,YAAA,CAAA,+BAAA;MA0B3C,UA2FL,CAAA,+BAAA;MA3Fe,YAAA,CAAA,+BAAA;IAAA,CAAA;EAAA,CAAA;CAAA,GAAA,CAAA,CAAA,EAAA;EAAA,IAAA,EAAA,MAAA;EAAA,UAAA,EAAA,MAAA;EAQb,YAAA,EAAA,MAAA;EAAW,KAAA,EAAA,MAAA;EAmFb,YAAA,EAAA,MAAA;;;;;;;;;;;;;;;;KAxHI,YAAA,GAAe,eAAe;KAC9B,SAAA,GAAY,mBAAmB;UAEnB,aAAA,SAAoB;;;;cAIvB;;;;eAIC;;UAEL;;;;;iBAMO;;;;cAIH;;;;;cAMR;;;;;;;;GAQH,kBAAW,kBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"index-yVkU2v6b.d.ts","names":[],"sources":["../src/Switch/Switch.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAaa,mCAAc;;mBAezB,kBAAA,CAAA,UAAA;;MAfW,YAeX,CAAA,+BAAA;MAAA,IAAA,CAAA,+BAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAfyB;EAAA,OAAA,EAAA,MAAA;AAexB,CAAA,EAAA,SAEE,EAAA;EACA,CAAA,GAAA,EAAA,MAAS,CAAA,EAAA;IAEG,CAAA,GAAA,EAAA,MAAY,CAAA,kCAAA;MAIf,KAAA,CAAA,+BAAA;MAIC,YAAA,CAAA,+BAAA;MAEL,IAAA,CAAA,+BAAA;MAMO,UAAA,CAAA,+BAAA;MAIH,YAAA,CAAA,+BAAA;MApBuB,OAAA,CAAA,+BAAA;MAAY,KAAA,CAAA,+BAAA;MA0B3C,SA2FL,CAAA,+BAAA;MA3Fe,YAAA,CAAA,+BAAA;IAAA,CAAA;EAAA,CAAA;CAAA,GAAA,CAAA,CAAA,EAAA;EAAA,IAAA,EAAA,MAAA;EAAA,UAAA,EAAA,MAAA;EAQb,YAAA,EAAA,MAAA;EAAW,KAAA,EAAA,MAAA;EAmFb,YAAA,EAAA,MAAA;;;;;;;;;;;;;;;;KAxHI,YAAA,GAAe,eAAe;KAC9B,SAAA,GAAY,mBAAmB;UAEnB,aAAA,SAAoB;;;;cAIvB;;;;eAIC;;UAEL;;;;;iBAMO;;;;cAIH;;;;;cAMR;;;;;;;;GAQH,kBAAW,kBAAA,CAAA,GAAA,CAAA"}
package/dist/index.cjs CHANGED
@@ -1,30 +1,30 @@
1
- const require_FormContext = require('./FormContext-Bb6d8hdG.cjs');
2
- const require_FieldCopyTestIdButton = require('./FieldCopyTestIdButton-BSYcSo2o.cjs');
3
- const require_FieldValidationError = require('./FieldValidationError-CE8R8qry.cjs');
4
- const require_helpers = require('./helpers-B84E9vHd.cjs');
5
- const require_useController = require('./useController-CkmO5CLh.cjs');
6
- const require_useFormContext = require('./useFormContext-Bp0EODoO.cjs');
7
- const require_useInputValueTransform = require('./useInputValueTransform-DFPA3KVy.cjs');
8
- const require_useUniformField = require('./useUniformField-Bj23Kvbs.cjs');
9
- const require_Checkboxes = require('./Checkboxes-DgCK-Wq-.cjs');
10
- const require_useUniformFieldArray = require('./useUniformFieldArray-G1lokW7x.cjs');
11
- const require_FieldArray = require('./FieldArray-DBsyUQkU.cjs');
12
- const require_Grid = require('./Grid-D84e76CE.cjs');
13
- const require_FieldCard = require('./FieldCard-NKF358fO.cjs');
14
- const require_Form = require('./Form-BsD69fql.cjs');
15
- const require_useInputValueDebounce = require('./useInputValueDebounce-BcUyaS94.cjs');
16
- const require_Input = require('./Input-DeTpxiK_.cjs');
17
- const require_RadioBoxes = require('./RadioBoxes-gsQGqQCd.cjs');
18
- const require_RadioTabs = require('./RadioTabs-BYpP0tKA.cjs');
19
- const require_Radios = require('./Radios-BCOfnTke.cjs');
20
- const require_Select = require('./Select-KnPGOO27.cjs');
21
- const require_Slider = require('./Slider-C7xxYPgR.cjs');
22
- const require_SubmitButton = require('./SubmitButton-CUBItcBn.cjs');
23
- const require_Switch = require('./Switch-6LyeZHJh.cjs');
24
- const require_SwitchBox = require('./SwitchBox-CtGiQdys.cjs');
25
- const require_TextArea = require('./TextArea-PtdSABZS.cjs');
26
- const require_useClientValidation = require('./useClientValidation-CmYVGlLr.cjs');
27
- const require_useWatchUserChange = require('./useWatchUserChange-BnxYE-0b.cjs');
1
+ const require_FormContext = require('./FormContext-Lw4YL4-B.cjs');
2
+ const require_helpers = require('./helpers-nYTmL2gX.cjs');
3
+ const require_FieldCopyTestIdButton = require('./FieldCopyTestIdButton-By-hEZgA.cjs');
4
+ const require_FieldValidationError = require('./FieldValidationError-D64j5gnH.cjs');
5
+ const require_useController = require('./useController-BBxji1nQ.cjs');
6
+ const require_useFormContext = require('./useFormContext-CEr3zcL6.cjs');
7
+ const require_useInputValueTransform = require('./useInputValueTransform-BNmfaj5D.cjs');
8
+ const require_useUniformField = require('./useUniformField-D6fwSjrH.cjs');
9
+ const require_Checkboxes = require('./Checkboxes-Cvdazf25.cjs');
10
+ const require_useUniformFieldArray = require('./useUniformFieldArray-Byfmzq97.cjs');
11
+ const require_FieldArray = require('./FieldArray-CJpDgK_t.cjs');
12
+ const require_Grid = require('./Grid-DezBAZbx.cjs');
13
+ const require_FieldCard = require('./FieldCard-Dt6QU7o7.cjs');
14
+ const require_Form = require('./Form-CvnnGF45.cjs');
15
+ const require_useInputValueDebounce = require('./useInputValueDebounce-TiNR4jtG.cjs');
16
+ const require_Input = require('./Input-DR0gCf9q.cjs');
17
+ const require_RadioBoxes = require('./RadioBoxes-h-VLhJ9d.cjs');
18
+ const require_RadioTabs = require('./RadioTabs-D6yF9jE3.cjs');
19
+ const require_Radios = require('./Radios-D8alyG2f.cjs');
20
+ const require_Select = require('./Select-DQVskslz.cjs');
21
+ const require_Slider = require('./Slider-DwfyCQDM.cjs');
22
+ const require_SubmitButton = require('./SubmitButton-B0kvUqkd.cjs');
23
+ const require_Switch = require('./Switch-Ds0gDzjR.cjs');
24
+ const require_SwitchBox = require('./SwitchBox-B9JqwDtN.cjs');
25
+ const require_TextArea = require('./TextArea-BqQtlPSV.cjs');
26
+ const require_useClientValidation = require('./useClientValidation-CdC7lEYP.cjs');
27
+ const require_useWatchUserChange = require('./useWatchUserChange-TMfaTCcp.cjs');
28
28
  let _heroui_input = require("@heroui/input");
29
29
 
30
30
  //#region src/index.ts
@@ -53,6 +53,7 @@ exports.clientValidationSchemaByName = require_useClientValidation.clientValidat
53
53
  exports.fieldCardVariants = require_FieldCard.fieldCardVariants;
54
54
  exports.flatArrayKey = require_helpers.flatArrayKey;
55
55
  exports.fromNullishString = require_helpers.fromNullishString;
56
+ exports.isValueEmpty = require_helpers.isValueEmpty;
56
57
  exports.nameToTestId = require_helpers.nameToTestId;
57
58
  exports.radioBoxVariants = require_RadioBoxes.radioBoxVariants;
58
59
  exports.switchBoxVariants = require_SwitchBox.switchBoxVariants;
package/dist/index.d.cts CHANGED
@@ -1,28 +1,28 @@
1
- import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-BID-CQ-y.cjs";
2
- import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-WogV9uVV.cjs";
3
- import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-oyX8xu0F.cjs";
4
- import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-DRij_w43.cjs";
5
- import { n as FormProps, t as Form } from "./index-jmQP58tO.cjs";
6
- import { n as GridProps, t as Grid } from "./index-DxdaxM3o.cjs";
7
- import { n as InputProps, t as Input } from "./index-BxA_pJWn.cjs";
8
- import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-DNkZrb7P.cjs";
9
- import { n as RadioTabsProps, t as RadioTabs } from "./index-BITJ-CZL.cjs";
10
- import { n as RadiosProps, t as Radios } from "./index-C0L7GvgN.cjs";
11
- import { n as SelectProps, t as Select } from "./index-sJZ434Sg.cjs";
12
- import { n as SliderProps, t as Slider } from "./index-Bo_n9sse.cjs";
13
- import { n as SubmitButtonProps, t as SubmitButton } from "./index-Cb0AgRRa.cjs";
14
- import { n as SwitchProps, t as Switch } from "./index-DoS0lVRe.cjs";
15
- import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-CSBE6Et0.cjs";
16
- import { n as TextAreaProps, t as TextArea } from "./index-Bj_lpc5r.cjs";
17
- import { a as toNullishString, i as toFormFormat, n as fromNullishString, o as toValidationFormat, r as nameToTestId, t as flatArrayKey } from "./index-G0IgQWoU.cjs";
18
- import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-BQqwz628.cjs";
19
- import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-C_MZLZIp.cjs";
20
- import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-B083Y-kw.cjs";
1
+ import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-BV8o0PMI.cjs";
2
+ import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-BDV3JVoX.cjs";
3
+ import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-D_WidR7r.cjs";
4
+ import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-CiF2KXB7.cjs";
5
+ import { n as FormProps, t as Form } from "./index-B_aIzCcx.cjs";
6
+ import { n as GridProps, t as Grid } from "./index-DvF_C1Bz.cjs";
7
+ import { n as InputProps, t as Input } from "./index-CeYRsehb.cjs";
8
+ import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-CjJHVJwD.cjs";
9
+ import { n as RadioTabsProps, t as RadioTabs } from "./index-BSjUaHEO.cjs";
10
+ import { n as RadiosProps, t as Radios } from "./index-CnsR8nkm.cjs";
11
+ import { n as SelectProps, t as Select } from "./index-D_egu-QT.cjs";
12
+ import { n as SliderProps, t as Slider } from "./index-DcYFLiul.cjs";
13
+ import { n as SubmitButtonProps, t as SubmitButton } from "./index-cadUZZIY.cjs";
14
+ import { n as SwitchProps, t as Switch } from "./index-CqGabrzW.cjs";
15
+ import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-CHNp5R5N.cjs";
16
+ import { n as TextAreaProps, t as TextArea } from "./index-C2A_i57R.cjs";
17
+ import { flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, toFormFormat, toNullishString, toValidationFormat } from "./helpers/index.cjs";
18
+ import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-BvPDQmf6.cjs";
19
+ import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-BArZd2Vp.cjs";
20
+ import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext--yod5xzQ.cjs";
21
21
  import { t as useInput } from "./useInput--wjwIBc5.cjs";
22
- import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-B5b-v8Hc.cjs";
23
- import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-B2OZ-Z1G.cjs";
24
- import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-PU5WNOH9.cjs";
25
- import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-CYdvpGJF.cjs";
26
- import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-COVdHmki.cjs";
27
- import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-qtJMEosJ.cjs";
28
- export { CheckboxOption, Checkboxes, CheckboxesProps, FieldArray, FieldArrayChildrenRenderFn, FieldArrayFeatures, FieldArrayProps, FieldCard, FieldCardProps, FieldCopyTestIdButton, FieldCopyTestIdButtonProps, FieldValidationError, FieldValidationErrorProps, Form, FormProps, Grid, GridProps, Input, InputProps, InputValueTransform, RadioBoxes, RadioBoxesProps, RadioTabs, RadioTabsProps, Radios, RadiosProps, Select, SelectProps, Slider, SliderProps, SubmitButton, SubmitButtonProps, Switch, SwitchBox, SwitchBoxProps, SwitchProps, TextArea, TextAreaProps, UseControllerProps, UseControllerReturn, UseInputValueDebounceOptions, UseInputValueDebounceReturn, UseInputValueTransformOptions, UseInputValueTransformReturn, UseUniformFieldArrayProps, UseUniformFieldParams, UseUniformFieldReturn, UseWatchUserChangeOptions, checkFieldIsRequired, clientValidationSchemaByName, fieldCardVariants, flatArrayKey, fromNullishString, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
22
+ import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-DI1C6oaU.cjs";
23
+ import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-B2zQtEbr.cjs";
24
+ import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-WRuIMhw6.cjs";
25
+ import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-Br4Q7syM.cjs";
26
+ import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-g9TZhGnE.cjs";
27
+ import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-CuvvZMop.cjs";
28
+ export { CheckboxOption, Checkboxes, CheckboxesProps, FieldArray, FieldArrayChildrenRenderFn, FieldArrayFeatures, FieldArrayProps, FieldCard, FieldCardProps, FieldCopyTestIdButton, FieldCopyTestIdButtonProps, FieldValidationError, FieldValidationErrorProps, Form, FormProps, Grid, GridProps, Input, InputProps, InputValueTransform, RadioBoxes, RadioBoxesProps, RadioTabs, RadioTabsProps, Radios, RadiosProps, Select, SelectProps, Slider, SliderProps, SubmitButton, SubmitButtonProps, Switch, SwitchBox, SwitchBoxProps, SwitchProps, TextArea, TextAreaProps, UseControllerProps, UseControllerReturn, UseInputValueDebounceOptions, UseInputValueDebounceReturn, UseInputValueTransformOptions, UseInputValueTransformReturn, UseUniformFieldArrayProps, UseUniformFieldParams, UseUniformFieldReturn, UseWatchUserChangeOptions, checkFieldIsRequired, clientValidationSchemaByName, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
package/dist/index.d.ts CHANGED
@@ -1,30 +1,31 @@
1
- import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-D7LfyYRe.js";
2
- import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-C1PUx1tH.js";
3
- import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-F11geOHD.js";
4
- import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index--E2ZsMya.js";
1
+ import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-Cc0qEsnS.js";
2
+ import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-0wXxS5M7.js";
3
+ import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-CUn9q5KD.js";
4
+ import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-CTp4vdDb.js";
5
5
  import "./FormContext-C2_WMi_v.js";
6
- import { n as FormProps, t as Form } from "./index-DvB46QAb.js";
7
- import { n as GridProps, t as Grid } from "./index-Edx7MxXu.js";
8
- import { n as InputProps, t as Input } from "./index-C-2nxT8D.js";
9
- import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-DG9C0kHA.js";
10
- import { n as RadioTabsProps, t as RadioTabs } from "./index-CVnn6mEI.js";
11
- import { n as RadiosProps, t as Radios } from "./index-D38wOL-M.js";
12
- import { n as SelectProps, t as Select } from "./index-CADnFWHq.js";
13
- import { n as SliderProps, t as Slider } from "./index-BWNJdLDV.js";
14
- import { n as SubmitButtonProps, t as SubmitButton } from "./index-BL0DnIzh.js";
15
- import { n as SwitchProps, t as Switch } from "./index-CGnr_e53.js";
16
- import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-DmMenZfj.js";
6
+ import { n as FormProps, t as Form } from "./index-1Egh73pR.js";
7
+ import { n as GridProps, t as Grid } from "./index-BFLKkqA3.js";
8
+ import { n as InputProps, t as Input } from "./index-CZyNkPDq.js";
9
+ import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-BGXgvZKr.js";
10
+ import { n as RadioTabsProps, t as RadioTabs } from "./index-Bcppi5O7.js";
11
+ import { n as RadiosProps, t as Radios } from "./index-op7zETAQ.js";
12
+ import { n as SelectProps, t as Select } from "./index-DajjPPWM.js";
13
+ import { n as SliderProps, t as Slider } from "./index-DNFUttM8.js";
14
+ import { n as SubmitButtonProps, t as SubmitButton } from "./index-CHXv_rNR.js";
15
+ import { n as SwitchProps, t as Switch } from "./index-yVkU2v6b.js";
16
+ import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-3v_vja2i.js";
17
17
  import { n as TextAreaProps, t as TextArea } from "./index-DnzC0GCS.js";
18
- import { a as toNullishString, i as toFormFormat, n as fromNullishString, o as toValidationFormat, r as nameToTestId, t as flatArrayKey } from "./index-UjKqRe-8.js";
19
- import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-DJ4JuN_9.js";
20
- import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-hjpJQf0w.js";
21
- import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-B2TS6xq0.js";
18
+ import { flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, toFormFormat, toNullishString, toValidationFormat } from "./helpers/index.js";
19
+ import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-Bg0q3Axc.js";
20
+ import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-MVHJ7WFp.js";
21
+ import "./index-CFBmva_r.js";
22
+ import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-Cw6aAhos.js";
22
23
  import "./index-BRLjimYW.js";
23
24
  import { t as useInput } from "./useInput-BCdeYOOg.js";
24
- import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-DoRuSF6R.js";
25
- import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-CwEHonNe.js";
26
- import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-BQDEnYTq.js";
27
- import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-BTTo_ufh.js";
28
- import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-BAdiqg2q.js";
29
- import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-CXoWvu6m.js";
30
- export { CheckboxOption, Checkboxes, CheckboxesProps, FieldArray, FieldArrayChildrenRenderFn, FieldArrayFeatures, FieldArrayProps, FieldCard, FieldCardProps, FieldCopyTestIdButton, FieldCopyTestIdButtonProps, FieldValidationError, FieldValidationErrorProps, Form, FormProps, Grid, GridProps, Input, InputProps, InputValueTransform, RadioBoxes, RadioBoxesProps, RadioTabs, RadioTabsProps, Radios, RadiosProps, Select, SelectProps, Slider, SliderProps, SubmitButton, SubmitButtonProps, Switch, SwitchBox, SwitchBoxProps, SwitchProps, TextArea, TextAreaProps, UseControllerProps, UseControllerReturn, UseInputValueDebounceOptions, UseInputValueDebounceReturn, UseInputValueTransformOptions, UseInputValueTransformReturn, UseUniformFieldArrayProps, UseUniformFieldParams, UseUniformFieldReturn, UseWatchUserChangeOptions, checkFieldIsRequired, clientValidationSchemaByName, fieldCardVariants, flatArrayKey, fromNullishString, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
25
+ import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-fhmVn1aO.js";
26
+ import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-RxZqXMuD.js";
27
+ import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-B_c55CnX.js";
28
+ import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-Bf5JKDJJ.js";
29
+ import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-DVRtBywt.js";
30
+ import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-7mx-IcDp.js";
31
+ export { CheckboxOption, Checkboxes, CheckboxesProps, FieldArray, FieldArrayChildrenRenderFn, FieldArrayFeatures, FieldArrayProps, FieldCard, FieldCardProps, FieldCopyTestIdButton, FieldCopyTestIdButtonProps, FieldValidationError, FieldValidationErrorProps, Form, FormProps, Grid, GridProps, Input, InputProps, InputValueTransform, RadioBoxes, RadioBoxesProps, RadioTabs, RadioTabsProps, Radios, RadiosProps, Select, SelectProps, Slider, SliderProps, SubmitButton, SubmitButtonProps, Switch, SwitchBox, SwitchBoxProps, SwitchProps, TextArea, TextAreaProps, UseControllerProps, UseControllerReturn, UseInputValueDebounceOptions, UseInputValueDebounceReturn, UseInputValueTransformOptions, UseInputValueTransformReturn, UseUniformFieldArrayProps, UseUniformFieldParams, UseUniformFieldReturn, UseWatchUserChangeOptions, checkFieldIsRequired, clientValidationSchemaByName, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
package/dist/index.js CHANGED
@@ -1,34 +1,34 @@
1
- import { n as FieldCopyTestIdButton_default } from "./FieldCopyTestIdButton-DWPCDJ-s.js";
2
- import { n as FieldValidationError_default } from "./FieldValidationError-1hiDEFew.js";
3
- import { a as toNullishString, i as toFormFormat, n as fromNullishString, o as toValidationFormat, r as nameToTestId, t as flatArrayKey } from "./helpers-B-CJOBt3.js";
4
- import { t as useController } from "./useController-CumIERks.js";
5
- import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-JCm1UR_e.js";
1
+ import { a as toFormFormat, i as nameToTestId, n as fromNullishString, o as toNullishString, r as isValueEmpty, s as toValidationFormat, t as flatArrayKey } from "./helpers-CCINRgQk.js";
2
+ import { n as FieldCopyTestIdButton_default } from "./FieldCopyTestIdButton-D9f1B-VS.js";
3
+ import { n as FieldValidationError_default } from "./FieldValidationError-BYwitb_B.js";
4
+ import { t as useController } from "./useController-g0AlWM__.js";
5
+ import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-BFoXZNkp.js";
6
6
  import { t as useInput } from "./useInput-DZ6KGBxw.js";
7
- import { t as useInputValueTransform } from "./useInputValueTransform-aiIf8lq5.js";
8
- import { t as useUniformField } from "./useUniformField-gU4qYUwL.js";
9
- import { n as Checkboxes_default } from "./Checkboxes-BY4UK0Xf.js";
10
- import { t as useUniformFieldArray } from "./useUniformFieldArray-B5PyxL1P.js";
11
- import { n as FieldArray_default } from "./FieldArray-CDLaGvNj.js";
7
+ import { t as useInputValueTransform } from "./useInputValueTransform-CMNC21vX.js";
8
+ import { t as useUniformField } from "./useUniformField-BKVVns0E.js";
9
+ import { n as Checkboxes_default } from "./Checkboxes-BvW4D5Nm.js";
10
+ import { t as useUniformFieldArray } from "./useUniformFieldArray-BwE634m6.js";
11
+ import { n as FieldArray_default } from "./FieldArray-omRNwxgy.js";
12
12
  import { n as Grid_default } from "./Grid-LRjQlZms.js";
13
- import { n as fieldCardVariants, t as FieldCard_default } from "./FieldCard-C1MCSbPW.js";
14
- import { n as Form_default } from "./Form-DRNEwHsi.js";
15
- import { t as useInputValueDebounce } from "./useInputValueDebounce-DaH5ONlQ.js";
16
- import { n as Input_default } from "./Input-DXMWGTBh.js";
17
- import { n as RadioBoxes_default, r as radioBoxVariants } from "./RadioBoxes-BEln4a-B.js";
18
- import { n as RadioTabs_default } from "./RadioTabs-DLr9QiXI.js";
19
- import { n as Radios_default } from "./Radios-DCXI2kMf.js";
20
- import { n as Select_default } from "./Select-CyfEmWiD.js";
21
- import { n as Slider_default } from "./Slider-Dlhb-9hC.js";
22
- import { n as SubmitButton_default } from "./SubmitButton-C5f6j0N4.js";
23
- import { n as Switch_default } from "./Switch--m02Xcq8.js";
24
- import { n as SwitchBox_default, r as switchBoxVariants } from "./SwitchBox-D0-e-pbM.js";
25
- import { n as TextArea_default } from "./TextArea-BiSnvJ69.js";
26
- import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-BnnscAEe.js";
27
- import { t as useWatchUserChange } from "./useWatchUserChange-C1ezpj0t.js";
13
+ import { n as fieldCardVariants, t as FieldCard_default } from "./FieldCard-Dyi-2qr6.js";
14
+ import { n as Form_default } from "./Form-B1fvbnxi.js";
15
+ import { t as useInputValueDebounce } from "./useInputValueDebounce-Dop_8_OK.js";
16
+ import { n as Input_default } from "./Input-DksaHK1Y.js";
17
+ import { n as RadioBoxes_default, r as radioBoxVariants } from "./RadioBoxes-DdIHH6B5.js";
18
+ import { n as RadioTabs_default } from "./RadioTabs-dLdlF91p.js";
19
+ import { n as Radios_default } from "./Radios-DiZ0Dfmp.js";
20
+ import { n as Select_default } from "./Select-C9otN8uu.js";
21
+ import { n as Slider_default } from "./Slider-meuLEC2k.js";
22
+ import { n as SubmitButton_default } from "./SubmitButton-BHP9J9ml.js";
23
+ import { n as Switch_default } from "./Switch-DkciIYnD.js";
24
+ import { n as SwitchBox_default, r as switchBoxVariants } from "./SwitchBox-B6Z4rtWt.js";
25
+ import { n as TextArea_default } from "./TextArea-DAx49KI6.js";
26
+ import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-BrTtRnqi.js";
27
+ import { t as useWatchUserChange } from "./useWatchUserChange-fZy6nGtD.js";
28
28
 
29
29
  //#region src/index.ts
30
30
  /* v8 ignore stop */
31
31
 
32
32
  //#endregion
33
- export { Checkboxes_default as Checkboxes, FieldArray_default as FieldArray, FieldCard_default as FieldCard, FieldCopyTestIdButton_default as FieldCopyTestIdButton, FieldValidationError_default as FieldValidationError, Form_default as Form, Grid_default as Grid, Input_default as Input, RadioBoxes_default as RadioBoxes, RadioTabs_default as RadioTabs, Radios_default as Radios, Select_default as Select, Slider_default as Slider, SubmitButton_default as SubmitButton, Switch_default as Switch, SwitchBox_default as SwitchBox, TextArea_default as TextArea, checkFieldIsRequired, clientValidationSchemaByName, fieldCardVariants, flatArrayKey, fromNullishString, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
33
+ export { Checkboxes_default as Checkboxes, FieldArray_default as FieldArray, FieldCard_default as FieldCard, FieldCopyTestIdButton_default as FieldCopyTestIdButton, FieldValidationError_default as FieldValidationError, Form_default as Form, Grid_default as Grid, Input_default as Input, RadioBoxes_default as RadioBoxes, RadioTabs_default as RadioTabs, Radios_default as Radios, Select_default as Select, Slider_default as Slider, SubmitButton_default as SubmitButton, Switch_default as Switch, SwitchBox_default as SwitchBox, TextArea_default as TextArea, checkFieldIsRequired, clientValidationSchemaByName, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
34
34
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_FieldCopyTestIdButton = require('../../FieldCopyTestIdButton-BSYcSo2o.cjs');
2
+ const require_FieldCopyTestIdButton = require('../../FieldCopyTestIdButton-By-hEZgA.cjs');
3
3
 
4
4
  exports.FieldCopyTestIdButton = require_FieldCopyTestIdButton.FieldCopyTestIdButton_default$1;
5
5
  exports.default = require_FieldCopyTestIdButton.FieldCopyTestIdButton_default;
@@ -1,2 +1,2 @@
1
- import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-PU5WNOH9.cjs";
1
+ import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-g9TZhGnE.cjs";
2
2
  export { FieldCopyTestIdButton, FieldCopyTestIdButton as default, FieldCopyTestIdButtonProps };
@@ -1,2 +1,2 @@
1
- import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-BQDEnYTq.js";
1
+ import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-DVRtBywt.js";
2
2
  export { FieldCopyTestIdButton, FieldCopyTestIdButton as default, FieldCopyTestIdButtonProps };
@@ -1,3 +1,3 @@
1
- import { n as FieldCopyTestIdButton_default, t as FieldCopyTestIdButton_default$1 } from "../../FieldCopyTestIdButton-DWPCDJ-s.js";
1
+ import { n as FieldCopyTestIdButton_default, t as FieldCopyTestIdButton_default$1 } from "../../FieldCopyTestIdButton-D9f1B-VS.js";
2
2
 
3
3
  export { FieldCopyTestIdButton_default as FieldCopyTestIdButton, FieldCopyTestIdButton_default$1 as default };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
- const require_FieldValidationError = require('../../FieldValidationError-CE8R8qry.cjs');
2
+ const require_FieldValidationError = require('../../FieldValidationError-D64j5gnH.cjs');
3
3
 
4
4
  exports.FieldValidationError = require_FieldValidationError.FieldValidationError_default$1;
5
5
  exports.default = require_FieldValidationError.FieldValidationError_default;
@@ -1,2 +1,2 @@
1
- import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-CYdvpGJF.cjs";
1
+ import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-CuvvZMop.cjs";
2
2
  export { FieldValidationError, FieldValidationError as default, FieldValidationErrorProps };
@@ -1,2 +1,2 @@
1
- import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-BTTo_ufh.js";
1
+ import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-7mx-IcDp.js";
2
2
  export { FieldValidationError, FieldValidationError as default, FieldValidationErrorProps };
@@ -1,3 +1,3 @@
1
- import { n as FieldValidationError_default, t as FieldValidationError_default$1 } from "../../FieldValidationError-1hiDEFew.js";
1
+ import { n as FieldValidationError_default, t as FieldValidationError_default$1 } from "../../FieldValidationError-BYwitb_B.js";
2
2
 
3
3
  export { FieldValidationError_default as FieldValidationError, FieldValidationError_default$1 as default };
@@ -1,5 +1,5 @@
1
1
  import { VetoTypeAny } from "@fuf-stack/veto";
2
- import * as _fuf_stack_veto_dist_types_d_DFjr0b5b0 from "@fuf-stack/veto/dist/types.d-DFjr0b5b";
2
+ import * as _fuf_stack_veto_dist_types_d_CNPgNK_V0 from "@fuf-stack/veto/dist/types.d-CNPgNK-V";
3
3
 
4
4
  //#region src/hooks/useClientValidation/useClientValidation.d.ts
5
5
 
@@ -144,7 +144,7 @@ declare const useClientValidation: <TData = unknown>(data: TData | null | undefi
144
144
  * // => objectLoose({ tags: array(vt.string().refine(...).nullish()).optional() })
145
145
  * ```
146
146
  */
147
- declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_DFjr0b5b0.Z;
147
+ declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_CNPgNK_V0.Z;
148
148
  //#endregion
149
149
  export { useClientValidation as n, clientValidationSchemaByName as t };
150
- //# sourceMappingURL=useClientValidation-DJ4JuN_9.d.ts.map
150
+ //# sourceMappingURL=useClientValidation-Bg0q3Axc.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClientValidation-DJ4JuN_9.d.ts","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAkEA;;;;;AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlIa,6CACL,gDACgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgIrB,yCAA0C,wCAExC,MAAC,sCAAA,CAAA"}
1
+ {"version":3,"file":"useClientValidation-Bg0q3Axc.d.ts","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAkEA;;;;;AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlIa,6CACL,gDACgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgIrB,yCAA0C,wCAExC,MAAC,sCAAA,CAAA"}
@@ -1,5 +1,5 @@
1
- import { t as flatArrayKey } from "./helpers-B-CJOBt3.js";
2
- import { n as useFormContext } from "./useFormContext-JCm1UR_e.js";
1
+ import { t as flatArrayKey } from "./helpers-CCINRgQk.js";
2
+ import { n as useFormContext } from "./useFormContext-BFoXZNkp.js";
3
3
  import { useEffect, useId } from "react";
4
4
  import { array, objectLoose } from "@fuf-stack/veto";
5
5
 
@@ -176,4 +176,4 @@ const clientValidationSchemaByName = (name, fieldSchema) => {
176
176
 
177
177
  //#endregion
178
178
  export { useClientValidation as n, clientValidationSchemaByName as t };
179
- //# sourceMappingURL=useClientValidation-BnnscAEe.js.map
179
+ //# sourceMappingURL=useClientValidation-BrTtRnqi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClientValidation-BnnscAEe.js","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"sourcesContent":["import type { VetoTypeAny } from '@fuf-stack/veto';\n\nimport { useEffect, useId } from 'react';\n\nimport { array, objectLoose } from '@fuf-stack/veto';\n\nimport { flatArrayKey } from '../../helpers';\nimport { useFormContext } from '../useFormContext/useFormContext';\n\n/**\n * Hook for adding dynamic client-side validation to forms.\n *\n * Client validation is used for context-dependent validation rules that require external data\n * (e.g., checking if a username already exists). It complements base validation (passed to Form),\n * which handles static rules like \"required\", min/max length, format, etc.\n *\n * **Typical pattern:**\n * - Base validation: Static, always-on rules (required, format, length constraints)\n * - Client validation: Dynamic rules based on external data (uniqueness, business logic)\n * - Client schemas should use `.nullish()` to allow empty values (base validation handles \"required\")\n *\n * Automatically manages validation schema lifecycle: sets schema when data is provided,\n * clears schema when data is null/undefined, and cleans up on unmount. When the client\n * validation schema changes, automatically re-validates all touched fields.\n *\n * @param data - Data to create validation schema from (or null/undefined to clear validation)\n * @param schemaFactory - Function that creates a validation schema from the data. Schemas should typically use `.nullish()`.\n * @param options - Optional configuration object\n * @param options.key - Optional custom key for registration. Useful when multiple instances should share validation (e.g., in field arrays)\n *\n * @example\n * ```tsx\n * // Base validation handles \"required\" and format\n * const baseSchema = veto({ username: vt.string({ min: 3 }) });\n *\n * // Client validation adds dynamic uniqueness check\n * const { data: teamData } = useTeamQuery(teamId);\n * useClientValidation(teamData, (data) =>\n * vt.objectLoose({\n * username: vt.string()\n * .refine(\n * (value) => !data.existingUsers.includes(value),\n * { message: 'Username already exists' }\n * )\n * .nullish() // Allow empty - base validation handles \"required\"\n * })\n * );\n * ```\n *\n * @example\n * ```tsx\n * // Using custom key in a field array to avoid multiple registrations\n * fields.map((field, index) => (\n * useClientValidation(\n * userData,\n * (data) => clientValidationSchemaByName(\n * `items.${index}.name`,\n * vt.string()\n * .refine((val) => !data.forbidden.includes(val), { message: 'Name not allowed' })\n * .nullish()\n * ),\n * { key: 'items-validation' } // All instances share the same key\n * )\n * ));\n * ```\n */\nexport const useClientValidation = <TData = unknown>(\n data: TData | null | undefined,\n schemaFactory: (data: TData) => VetoTypeAny,\n options?: { key?: string },\n): void => {\n const {\n formState: { touchedFields },\n validation: { setClientValidationSchema },\n trigger,\n } = useFormContext();\n\n // Use provided key or auto-generate unique key\n const autoGeneratedKey = useId();\n const key = options?.key ?? autoGeneratedKey;\n\n // Use data hash instead of object reference to avoid unnecessary re-runs\n // when data object reference changes but data remains the same\n const dataHash = JSON.stringify(data);\n\n // Single effect to manage validation schema lifecycle\n useEffect(() => {\n // Set validation schema when data is available\n if (data != null) {\n const validationSchema = schemaFactory(data);\n setClientValidationSchema(key, validationSchema);\n } else {\n // Clear validation schema when no data\n setClientValidationSchema(key, null);\n }\n\n // Re-validate all touched fields when client validation schema changes\n const touchedFieldNames = Object.keys(touchedFields);\n if (touchedFieldNames.length > 0) {\n // Use setTimeout to ensure the client validation schema update has propagated\n // before triggering re-validation (fixes race condition)\n setTimeout(async () => {\n return trigger(touchedFieldNames);\n }, 1);\n }\n\n // Cleanup on unmount or when dependencies change\n return () => {\n setClientValidationSchema(key, null);\n };\n // Only re-run when data (dataHash) or key changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [dataHash, key]);\n};\n\n/**\n * Helper function to create a veto looseObject schema for a single field with nested path support.\n *\n * Parses field paths (dot-notation) and creates properly nested loose object schemas with array support.\n * All intermediate objects and arrays are marked as optional to allow partial data structures.\n * Numeric segments in the path are treated as array indices, and the parent field is wrapped in an array schema.\n * Supports flat arrays (arrays of primitives) via the special `__FLAT__` key.\n *\n * **Important:** The fieldSchema should typically use `.nullish()` to allow empty values. This is because:\n * - Base validation (passed to Form) handles \"required\" constraints\n * - Client validation adds dynamic, context-dependent rules (e.g., \"username already exists\")\n * - Form data processing converts empty strings in flat arrays to `null` (not `undefined`)\n * - `.nullish()` accepts both `null` and `undefined`, while `.optional()` only accepts `undefined`\n *\n * This pattern ensures client validation only validates non-empty values, while base validation\n * enforces required fields and basic constraints (min length, format, etc.).\n *\n * @param name - The dot-separated path to the field (e.g., 'username', 'user.profile.email', 'items.0.name', 'tags.0.__FLAT__')\n * @param fieldSchema - The veto validation schema for the field. Should typically use `.nullish()` to allow empty values.\n * @returns A nested loose object schema matching the field path structure with proper type inference\n *\n * @example\n * ```tsx\n * // Typical usage: base validation handles \"required\", client validation adds dynamic rules\n * // Base validation (in Form component)\n * const baseSchema = veto({ username: vt.string({ min: 3 }) }); // Required + min length\n *\n * // Client validation (dynamic check for existing usernames)\n * const { data: userData } = useUserQuery(userId);\n * useClientValidation(userData, (data) =>\n * clientValidationSchemaByName(\n * 'username',\n * vt.string()\n * .refine(\n * (value) => !data.existingUsernames.includes(value),\n * { message: 'Username already taken' }\n * )\n * .nullish() // Allow empty - base validation handles \"required\"\n * )\n * );\n * ```\n *\n * @example\n * ```tsx\n * // Nested field path with dynamic validation\n * clientValidationSchemaByName(\n * 'user.profile.email',\n * vt.string()\n * .refine(\n * (value) => !reservedEmails.includes(value),\n * { message: 'This email is reserved' }\n * )\n * .nullish()\n * )\n * // => objectLoose({ user: objectLoose({ profile: objectLoose({ email: ... }).optional() }).optional() })\n * ```\n *\n * @example\n * ```tsx\n * // Array of objects with dynamic validation\n * clientValidationSchemaByName(\n * 'items.0.tag',\n * vt.string()\n * .refine((value) => !forbiddenTags.includes(value), { message: 'Tag not allowed' })\n * .nullish()\n * )\n * // => objectLoose({ items: array(objectLoose({ tag: ... })).optional() })\n * ```\n *\n * @example\n * ```tsx\n * // Flat array (array of primitives) with dynamic validation\n * clientValidationSchemaByName(\n * 'tags.0.__FLAT__',\n * vt.string()\n * .refine((value) => !forbiddenWords.includes(value), { message: 'Word not allowed' })\n * .nullish()\n * )\n * // => objectLoose({ tags: array(vt.string().refine(...).nullish()).optional() })\n * ```\n */\nexport const clientValidationSchemaByName = <T extends VetoTypeAny>(\n name: string,\n fieldSchema: T,\n) => {\n const segments = name.split('.');\n\n // Build schema from innermost to outermost\n let schema: VetoTypeAny = fieldSchema;\n\n // Process segments in reverse order to build nested structure\n for (let i = segments.length - 1; i >= 0; i -= 1) {\n const segment = segments[i];\n\n const isNumeric = /^\\d+$/.test(segment);\n const isFlatArrayKey = segment === flatArrayKey;\n\n if (isFlatArrayKey) {\n // Skip the __FLAT__ key - it's just a marker for flat arrays\n // The schema is already correct (primitive type), just continue\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (isNumeric) {\n // Current segment is an array index - wrap current schema in optional array\n schema = array(schema).optional();\n } else {\n // Current segment is a field name - wrap in objectLoose\n // Make it optional if it's an intermediate object (not the root)\n const obj = objectLoose({\n [segment]: schema,\n });\n schema = i > 0 ? obj.optional() : obj;\n }\n }\n\n return schema;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA,MAAa,uBACX,MACA,eACA,YACS;CACT,MAAM,EACJ,WAAW,EAAE,iBACb,YAAY,EAAE,6BACd,YACE,gBAAgB;CAGpB,MAAM,mBAAmB,OAAO;CAChC,MAAM,MAAM,SAAS,OAAO;AAO5B,iBAAgB;AAEd,MAAI,QAAQ,KAEV,2BAA0B,KADD,cAAc,KAAK,CACI;MAGhD,2BAA0B,KAAK,KAAK;EAItC,MAAM,oBAAoB,OAAO,KAAK,cAAc;AACpD,MAAI,kBAAkB,SAAS,EAG7B,YAAW,YAAY;AACrB,UAAO,QAAQ,kBAAkB;KAChC,EAAE;AAIP,eAAa;AACX,6BAA0B,KAAK,KAAK;;IAIrC,CA7Bc,KAAK,UAAU,KAAK,EA6BvB,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFrB,MAAa,gCACX,MACA,gBACG;CACH,MAAM,WAAW,KAAK,MAAM,IAAI;CAGhC,IAAI,SAAsB;AAG1B,MAAK,IAAI,IAAI,SAAS,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG;EAChD,MAAM,UAAU,SAAS;EAEzB,MAAM,YAAY,QAAQ,KAAK,QAAQ;AAGvC,MAFuB,YAAY,aAMjC;AAGF,MAAI,UAEF,UAAS,MAAM,OAAO,CAAC,UAAU;OAC5B;GAGL,MAAM,MAAM,YAAY,GACrB,UAAU,QACZ,CAAC;AACF,YAAS,IAAI,IAAI,IAAI,UAAU,GAAG;;;AAItC,QAAO"}
1
+ {"version":3,"file":"useClientValidation-BrTtRnqi.js","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"sourcesContent":["import type { VetoTypeAny } from '@fuf-stack/veto';\n\nimport { useEffect, useId } from 'react';\n\nimport { array, objectLoose } from '@fuf-stack/veto';\n\nimport { flatArrayKey } from '../../helpers';\nimport { useFormContext } from '../useFormContext/useFormContext';\n\n/**\n * Hook for adding dynamic client-side validation to forms.\n *\n * Client validation is used for context-dependent validation rules that require external data\n * (e.g., checking if a username already exists). It complements base validation (passed to Form),\n * which handles static rules like \"required\", min/max length, format, etc.\n *\n * **Typical pattern:**\n * - Base validation: Static, always-on rules (required, format, length constraints)\n * - Client validation: Dynamic rules based on external data (uniqueness, business logic)\n * - Client schemas should use `.nullish()` to allow empty values (base validation handles \"required\")\n *\n * Automatically manages validation schema lifecycle: sets schema when data is provided,\n * clears schema when data is null/undefined, and cleans up on unmount. When the client\n * validation schema changes, automatically re-validates all touched fields.\n *\n * @param data - Data to create validation schema from (or null/undefined to clear validation)\n * @param schemaFactory - Function that creates a validation schema from the data. Schemas should typically use `.nullish()`.\n * @param options - Optional configuration object\n * @param options.key - Optional custom key for registration. Useful when multiple instances should share validation (e.g., in field arrays)\n *\n * @example\n * ```tsx\n * // Base validation handles \"required\" and format\n * const baseSchema = veto({ username: vt.string({ min: 3 }) });\n *\n * // Client validation adds dynamic uniqueness check\n * const { data: teamData } = useTeamQuery(teamId);\n * useClientValidation(teamData, (data) =>\n * vt.objectLoose({\n * username: vt.string()\n * .refine(\n * (value) => !data.existingUsers.includes(value),\n * { message: 'Username already exists' }\n * )\n * .nullish() // Allow empty - base validation handles \"required\"\n * })\n * );\n * ```\n *\n * @example\n * ```tsx\n * // Using custom key in a field array to avoid multiple registrations\n * fields.map((field, index) => (\n * useClientValidation(\n * userData,\n * (data) => clientValidationSchemaByName(\n * `items.${index}.name`,\n * vt.string()\n * .refine((val) => !data.forbidden.includes(val), { message: 'Name not allowed' })\n * .nullish()\n * ),\n * { key: 'items-validation' } // All instances share the same key\n * )\n * ));\n * ```\n */\nexport const useClientValidation = <TData = unknown>(\n data: TData | null | undefined,\n schemaFactory: (data: TData) => VetoTypeAny,\n options?: { key?: string },\n): void => {\n const {\n formState: { touchedFields },\n validation: { setClientValidationSchema },\n trigger,\n } = useFormContext();\n\n // Use provided key or auto-generate unique key\n const autoGeneratedKey = useId();\n const key = options?.key ?? autoGeneratedKey;\n\n // Use data hash instead of object reference to avoid unnecessary re-runs\n // when data object reference changes but data remains the same\n const dataHash = JSON.stringify(data);\n\n // Single effect to manage validation schema lifecycle\n useEffect(() => {\n // Set validation schema when data is available\n if (data != null) {\n const validationSchema = schemaFactory(data);\n setClientValidationSchema(key, validationSchema);\n } else {\n // Clear validation schema when no data\n setClientValidationSchema(key, null);\n }\n\n // Re-validate all touched fields when client validation schema changes\n const touchedFieldNames = Object.keys(touchedFields);\n if (touchedFieldNames.length > 0) {\n // Use setTimeout to ensure the client validation schema update has propagated\n // before triggering re-validation (fixes race condition)\n setTimeout(async () => {\n return trigger(touchedFieldNames);\n }, 1);\n }\n\n // Cleanup on unmount or when dependencies change\n return () => {\n setClientValidationSchema(key, null);\n };\n // Only re-run when data (dataHash) or key changes\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [dataHash, key]);\n};\n\n/**\n * Helper function to create a veto looseObject schema for a single field with nested path support.\n *\n * Parses field paths (dot-notation) and creates properly nested loose object schemas with array support.\n * All intermediate objects and arrays are marked as optional to allow partial data structures.\n * Numeric segments in the path are treated as array indices, and the parent field is wrapped in an array schema.\n * Supports flat arrays (arrays of primitives) via the special `__FLAT__` key.\n *\n * **Important:** The fieldSchema should typically use `.nullish()` to allow empty values. This is because:\n * - Base validation (passed to Form) handles \"required\" constraints\n * - Client validation adds dynamic, context-dependent rules (e.g., \"username already exists\")\n * - Form data processing converts empty strings in flat arrays to `null` (not `undefined`)\n * - `.nullish()` accepts both `null` and `undefined`, while `.optional()` only accepts `undefined`\n *\n * This pattern ensures client validation only validates non-empty values, while base validation\n * enforces required fields and basic constraints (min length, format, etc.).\n *\n * @param name - The dot-separated path to the field (e.g., 'username', 'user.profile.email', 'items.0.name', 'tags.0.__FLAT__')\n * @param fieldSchema - The veto validation schema for the field. Should typically use `.nullish()` to allow empty values.\n * @returns A nested loose object schema matching the field path structure with proper type inference\n *\n * @example\n * ```tsx\n * // Typical usage: base validation handles \"required\", client validation adds dynamic rules\n * // Base validation (in Form component)\n * const baseSchema = veto({ username: vt.string({ min: 3 }) }); // Required + min length\n *\n * // Client validation (dynamic check for existing usernames)\n * const { data: userData } = useUserQuery(userId);\n * useClientValidation(userData, (data) =>\n * clientValidationSchemaByName(\n * 'username',\n * vt.string()\n * .refine(\n * (value) => !data.existingUsernames.includes(value),\n * { message: 'Username already taken' }\n * )\n * .nullish() // Allow empty - base validation handles \"required\"\n * )\n * );\n * ```\n *\n * @example\n * ```tsx\n * // Nested field path with dynamic validation\n * clientValidationSchemaByName(\n * 'user.profile.email',\n * vt.string()\n * .refine(\n * (value) => !reservedEmails.includes(value),\n * { message: 'This email is reserved' }\n * )\n * .nullish()\n * )\n * // => objectLoose({ user: objectLoose({ profile: objectLoose({ email: ... }).optional() }).optional() })\n * ```\n *\n * @example\n * ```tsx\n * // Array of objects with dynamic validation\n * clientValidationSchemaByName(\n * 'items.0.tag',\n * vt.string()\n * .refine((value) => !forbiddenTags.includes(value), { message: 'Tag not allowed' })\n * .nullish()\n * )\n * // => objectLoose({ items: array(objectLoose({ tag: ... })).optional() })\n * ```\n *\n * @example\n * ```tsx\n * // Flat array (array of primitives) with dynamic validation\n * clientValidationSchemaByName(\n * 'tags.0.__FLAT__',\n * vt.string()\n * .refine((value) => !forbiddenWords.includes(value), { message: 'Word not allowed' })\n * .nullish()\n * )\n * // => objectLoose({ tags: array(vt.string().refine(...).nullish()).optional() })\n * ```\n */\nexport const clientValidationSchemaByName = <T extends VetoTypeAny>(\n name: string,\n fieldSchema: T,\n) => {\n const segments = name.split('.');\n\n // Build schema from innermost to outermost\n let schema: VetoTypeAny = fieldSchema;\n\n // Process segments in reverse order to build nested structure\n for (let i = segments.length - 1; i >= 0; i -= 1) {\n const segment = segments[i];\n\n const isNumeric = /^\\d+$/.test(segment);\n const isFlatArrayKey = segment === flatArrayKey;\n\n if (isFlatArrayKey) {\n // Skip the __FLAT__ key - it's just a marker for flat arrays\n // The schema is already correct (primitive type), just continue\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (isNumeric) {\n // Current segment is an array index - wrap current schema in optional array\n schema = array(schema).optional();\n } else {\n // Current segment is a field name - wrap in objectLoose\n // Make it optional if it's an intermediate object (not the root)\n const obj = objectLoose({\n [segment]: schema,\n });\n schema = i > 0 ? obj.optional() : obj;\n }\n }\n\n return schema;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEA,MAAa,uBACX,MACA,eACA,YACS;CACT,MAAM,EACJ,WAAW,EAAE,iBACb,YAAY,EAAE,6BACd,YACE,gBAAgB;CAGpB,MAAM,mBAAmB,OAAO;CAChC,MAAM,MAAM,SAAS,OAAO;AAO5B,iBAAgB;AAEd,MAAI,QAAQ,KAEV,2BAA0B,KADD,cAAc,KAAK,CACI;MAGhD,2BAA0B,KAAK,KAAK;EAItC,MAAM,oBAAoB,OAAO,KAAK,cAAc;AACpD,MAAI,kBAAkB,SAAS,EAG7B,YAAW,YAAY;AACrB,UAAO,QAAQ,kBAAkB;KAChC,EAAE;AAIP,eAAa;AACX,6BAA0B,KAAK,KAAK;;IAIrC,CA7Bc,KAAK,UAAU,KAAK,EA6BvB,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFrB,MAAa,gCACX,MACA,gBACG;CACH,MAAM,WAAW,KAAK,MAAM,IAAI;CAGhC,IAAI,SAAsB;AAG1B,MAAK,IAAI,IAAI,SAAS,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG;EAChD,MAAM,UAAU,SAAS;EAEzB,MAAM,YAAY,QAAQ,KAAK,QAAQ;AAGvC,MAFuB,YAAY,aAMjC;AAGF,MAAI,UAEF,UAAS,MAAM,OAAO,CAAC,UAAU;OAC5B;GAGL,MAAM,MAAM,YAAY,GACrB,UAAU,QACZ,CAAC;AACF,YAAS,IAAI,IAAI,IAAI,UAAU,GAAG;;;AAItC,QAAO"}
@@ -1,5 +1,5 @@
1
1
  import { VetoTypeAny } from "@fuf-stack/veto";
2
- import * as _fuf_stack_veto_dist_types_d_DFjr0b5b0 from "@fuf-stack/veto/dist/types.d-DFjr0b5b";
2
+ import * as _fuf_stack_veto_dist_types_d_CNPgNK_V0 from "@fuf-stack/veto/dist/types.d-CNPgNK-V";
3
3
 
4
4
  //#region src/hooks/useClientValidation/useClientValidation.d.ts
5
5
 
@@ -144,7 +144,7 @@ declare const useClientValidation: <TData = unknown>(data: TData | null | undefi
144
144
  * // => objectLoose({ tags: array(vt.string().refine(...).nullish()).optional() })
145
145
  * ```
146
146
  */
147
- declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_DFjr0b5b0.Z;
147
+ declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_CNPgNK_V0.Z;
148
148
  //#endregion
149
149
  export { useClientValidation as n, clientValidationSchemaByName as t };
150
- //# sourceMappingURL=useClientValidation-BQqwz628.d.cts.map
150
+ //# sourceMappingURL=useClientValidation-BvPDQmf6.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClientValidation-BQqwz628.d.cts","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAkEA;;;;;AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlIa,6CACL,gDACgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgIrB,yCAA0C,wCAExC,MAAC,sCAAA,CAAA"}
1
+ {"version":3,"file":"useClientValidation-BvPDQmf6.d.cts","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"sourcesContent":[],"mappings":";;;;;;;;AAkEA;;;;;AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlIa,6CACL,gDACgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgIrB,yCAA0C,wCAExC,MAAC,sCAAA,CAAA"}
@@ -1,6 +1,6 @@
1
- const require_FormContext = require('./FormContext-Bb6d8hdG.cjs');
2
- const require_helpers = require('./helpers-B84E9vHd.cjs');
3
- const require_useFormContext = require('./useFormContext-Bp0EODoO.cjs');
1
+ const require_FormContext = require('./FormContext-Lw4YL4-B.cjs');
2
+ const require_helpers = require('./helpers-nYTmL2gX.cjs');
3
+ const require_useFormContext = require('./useFormContext-CEr3zcL6.cjs');
4
4
  let react = require("react");
5
5
  let _fuf_stack_veto = require("@fuf-stack/veto");
6
6
 
@@ -188,4 +188,4 @@ Object.defineProperty(exports, 'useClientValidation', {
188
188
  return useClientValidation;
189
189
  }
190
190
  });
191
- //# sourceMappingURL=useClientValidation-CmYVGlLr.cjs.map
191
+ //# sourceMappingURL=useClientValidation-CdC7lEYP.cjs.map