@fuf-stack/uniform 1.17.0 → 1.18.0

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 (400) 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-BfUtbKe-.js → Checkboxes-BGrK_mwQ.js} +3 -3
  6. package/dist/{Checkboxes-BfUtbKe-.js.map → Checkboxes-BGrK_mwQ.js.map} +1 -1
  7. package/dist/{Checkboxes-3Rg0gyfO.cjs → Checkboxes-Dk7yyRVR.cjs} +4 -4
  8. package/dist/{Checkboxes-3Rg0gyfO.cjs.map → Checkboxes-Dk7yyRVR.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-BgvSTDWi.cjs → FieldArray-BnZW6fwm.cjs} +7 -7
  14. package/dist/{FieldArray-BgvSTDWi.cjs.map → FieldArray-BnZW6fwm.cjs.map} +1 -1
  15. package/dist/{FieldArray-C8Ipn-tM.js → FieldArray-C53ox8yB.js} +6 -6
  16. package/dist/{FieldArray-C8Ipn-tM.js.map → FieldArray-C53ox8yB.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-7XiCb6jZ.js → FieldCard-16yCF83m.js} +6 -5
  22. package/dist/FieldCard-16yCF83m.js.map +1 -0
  23. package/dist/{FieldCard-38ZBBWyE.cjs → FieldCard-BxK_IJOR.cjs} +7 -6
  24. package/dist/FieldCard-BxK_IJOR.cjs.map +1 -0
  25. package/dist/{FieldCopyTestIdButton-DxJYKqrz.cjs → FieldCopyTestIdButton-4uupFq1U.cjs} +2 -2
  26. package/dist/{FieldCopyTestIdButton-DxJYKqrz.cjs.map → FieldCopyTestIdButton-4uupFq1U.cjs.map} +1 -1
  27. package/dist/{FieldCopyTestIdButton-D9f1B-VS.js → FieldCopyTestIdButton-BoEdlzLs.js} +1 -1
  28. package/dist/{FieldCopyTestIdButton-D9f1B-VS.js.map → FieldCopyTestIdButton-BoEdlzLs.js.map} +1 -1
  29. package/dist/{FieldValidationError-A384-L3Y.cjs → FieldValidationError-Br6iopZj.cjs} +2 -2
  30. package/dist/{FieldValidationError-A384-L3Y.cjs.map → FieldValidationError-Br6iopZj.cjs.map} +1 -1
  31. package/dist/{FieldValidationError-BYwitb_B.js → FieldValidationError-XQaViV52.js} +1 -1
  32. package/dist/{FieldValidationError-BYwitb_B.js.map → FieldValidationError-XQaViV52.js.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 +2 -2
  36. package/dist/Form/index.js +1 -1
  37. package/dist/{Form-Ca3RxssB.cjs → Form--SsSvsxl.cjs} +3 -3
  38. package/dist/{Form-Ca3RxssB.cjs.map → Form--SsSvsxl.cjs.map} +1 -1
  39. package/dist/{Form-B7bv9fDO.js → Form-ccsEssie.js} +3 -3
  40. package/dist/{Form-B7bv9fDO.js.map → Form-ccsEssie.js.map} +1 -1
  41. package/dist/{FormContext-CeFKQmVH.cjs → FormContext-BSLO2-sO.cjs} +3 -3
  42. package/dist/FormContext-BSLO2-sO.cjs.map +1 -0
  43. package/dist/{FormContext-C2_WMi_v.d.ts → FormContext-CCe8drkp.d.ts} +1 -1
  44. package/dist/FormContext-CCe8drkp.d.ts.map +1 -0
  45. package/dist/{FormContext-Dl7KL_wl.d.cts → FormContext-RSA21aDt.d.cts} +1 -1
  46. package/dist/FormContext-RSA21aDt.d.cts.map +1 -0
  47. package/dist/{FormContext-DHYlCZ2u.js → FormContext-kE3YKhp_.js} +3 -3
  48. package/dist/FormContext-kE3YKhp_.js.map +1 -0
  49. package/dist/Grid/index.cjs +1 -1
  50. package/dist/Grid/index.d.cts +1 -1
  51. package/dist/Grid/index.d.ts +1 -1
  52. package/dist/Grid/index.js +1 -1
  53. package/dist/{Grid-CRURvciu.cjs → Grid-CE1fZKmV.cjs} +2 -2
  54. package/dist/{Grid-CRURvciu.cjs.map → Grid-CE1fZKmV.cjs.map} +1 -1
  55. package/dist/{Grid-LRjQlZms.js → Grid-CeaybCIF.js} +1 -1
  56. package/dist/{Grid-LRjQlZms.js.map → Grid-CeaybCIF.js.map} +1 -1
  57. package/dist/Input/index.cjs +1 -1
  58. package/dist/Input/index.d.cts +1 -1
  59. package/dist/Input/index.d.ts +1 -1
  60. package/dist/Input/index.js +1 -1
  61. package/dist/{Input-DlyrGFYf.cjs → Input-B3p_4ntD.cjs} +4 -4
  62. package/dist/{Input-DlyrGFYf.cjs.map → Input-B3p_4ntD.cjs.map} +1 -1
  63. package/dist/{Input-ChXItabV.js → Input-BCs_eyJ9.js} +3 -3
  64. package/dist/{Input-ChXItabV.js.map → Input-BCs_eyJ9.js.map} +1 -1
  65. package/dist/RadioBoxes/index.cjs +1 -1
  66. package/dist/RadioBoxes/index.d.cts +1 -1
  67. package/dist/RadioBoxes/index.d.ts +1 -1
  68. package/dist/RadioBoxes/index.js +1 -1
  69. package/dist/{RadioBoxes-D6ULFGfd.js → RadioBoxes-C3Cwrn2I.js} +3 -3
  70. package/dist/{RadioBoxes-D6ULFGfd.js.map → RadioBoxes-C3Cwrn2I.js.map} +1 -1
  71. package/dist/{RadioBoxes-ClDOhQkO.cjs → RadioBoxes-xRvNe5U8.cjs} +4 -4
  72. package/dist/{RadioBoxes-ClDOhQkO.cjs.map → RadioBoxes-xRvNe5U8.cjs.map} +1 -1
  73. package/dist/RadioTabs/index.cjs +1 -1
  74. package/dist/RadioTabs/index.d.cts +1 -1
  75. package/dist/RadioTabs/index.d.ts +1 -1
  76. package/dist/RadioTabs/index.js +1 -1
  77. package/dist/{RadioTabs-CgB0MmbK.cjs → RadioTabs-BaHvYcd-.cjs} +4 -4
  78. package/dist/{RadioTabs-CgB0MmbK.cjs.map → RadioTabs-BaHvYcd-.cjs.map} +1 -1
  79. package/dist/{RadioTabs-eSB6OXD7.js → RadioTabs-DfOGIsEf.js} +3 -3
  80. package/dist/{RadioTabs-eSB6OXD7.js.map → RadioTabs-DfOGIsEf.js.map} +1 -1
  81. package/dist/Radios/index.cjs +1 -1
  82. package/dist/Radios/index.d.cts +1 -1
  83. package/dist/Radios/index.d.ts +1 -1
  84. package/dist/Radios/index.js +1 -1
  85. package/dist/{Radios-DWsCLUVl.cjs → Radios-BfA3uL35.cjs} +4 -4
  86. package/dist/{Radios-DWsCLUVl.cjs.map → Radios-BfA3uL35.cjs.map} +1 -1
  87. package/dist/{Radios-BXuyREKO.js → Radios-xM-09vB5.js} +3 -3
  88. package/dist/{Radios-BXuyREKO.js.map → Radios-xM-09vB5.js.map} +1 -1
  89. package/dist/Select/index.cjs +1 -1
  90. package/dist/Select/index.d.cts +1 -1
  91. package/dist/Select/index.d.ts +1 -1
  92. package/dist/Select/index.js +1 -1
  93. package/dist/{Select-CTbXrAjL.cjs → Select-DH_YaruM.cjs} +5 -5
  94. package/dist/{Select-CTbXrAjL.cjs.map → Select-DH_YaruM.cjs.map} +1 -1
  95. package/dist/{Select-Dk_K_Q0F.js → Select-DlEUzYl6.js} +4 -4
  96. package/dist/{Select-Dk_K_Q0F.js.map → Select-DlEUzYl6.js.map} +1 -1
  97. package/dist/Slider/index.cjs +1 -1
  98. package/dist/Slider/index.d.cts +1 -1
  99. package/dist/Slider/index.d.ts +1 -1
  100. package/dist/Slider/index.js +1 -1
  101. package/dist/{Slider-ChGkOSJJ.cjs → Slider-C-dMrJZ6.cjs} +3 -3
  102. package/dist/{Slider-ChGkOSJJ.cjs.map → Slider-C-dMrJZ6.cjs.map} +1 -1
  103. package/dist/{Slider-DdF0ZBzn.js → Slider-CTFuVrp2.js} +2 -2
  104. package/dist/{Slider-DdF0ZBzn.js.map → Slider-CTFuVrp2.js.map} +1 -1
  105. package/dist/SubmitButton/index.cjs +1 -1
  106. package/dist/SubmitButton/index.d.cts +1 -1
  107. package/dist/SubmitButton/index.d.ts +1 -1
  108. package/dist/SubmitButton/index.js +1 -1
  109. package/dist/{SubmitButton-BrbHJcb4.js → SubmitButton-Bh1RN0F1.js} +2 -2
  110. package/dist/{SubmitButton-BrbHJcb4.js.map → SubmitButton-Bh1RN0F1.js.map} +1 -1
  111. package/dist/{SubmitButton-C6sgPR8K.cjs → SubmitButton-CJ6s1mZr.cjs} +3 -3
  112. package/dist/{SubmitButton-C6sgPR8K.cjs.map → SubmitButton-CJ6s1mZr.cjs.map} +1 -1
  113. package/dist/Switch/index.cjs +1 -1
  114. package/dist/Switch/index.d.cts +1 -1
  115. package/dist/Switch/index.d.ts +1 -1
  116. package/dist/Switch/index.js +1 -1
  117. package/dist/{Switch-DW9SOeIv.js → Switch-CXrz-M3V.js} +2 -2
  118. package/dist/{Switch-DW9SOeIv.js.map → Switch-CXrz-M3V.js.map} +1 -1
  119. package/dist/{Switch-Lt61rKxf.cjs → Switch-CeUMwheZ.cjs} +3 -3
  120. package/dist/{Switch-Lt61rKxf.cjs.map → Switch-CeUMwheZ.cjs.map} +1 -1
  121. package/dist/SwitchBox/index.cjs +1 -1
  122. package/dist/SwitchBox/index.d.cts +1 -1
  123. package/dist/SwitchBox/index.d.ts +1 -1
  124. package/dist/SwitchBox/index.js +1 -1
  125. package/dist/{SwitchBox-D-EI9Sl-.cjs → SwitchBox-4G_qcERZ.cjs} +3 -3
  126. package/dist/{SwitchBox-D-EI9Sl-.cjs.map → SwitchBox-4G_qcERZ.cjs.map} +1 -1
  127. package/dist/{SwitchBox-9KAu4WWd.js → SwitchBox-RfkVRDrE.js} +2 -2
  128. package/dist/{SwitchBox-9KAu4WWd.js.map → SwitchBox-RfkVRDrE.js.map} +1 -1
  129. package/dist/TextArea/index.cjs +1 -1
  130. package/dist/TextArea/index.d.cts +1 -1
  131. package/dist/TextArea/index.d.ts +1 -1
  132. package/dist/TextArea/index.js +1 -1
  133. package/dist/{TextArea-B0zYpNy-.js → TextArea-BLkVYmHZ.js} +3 -3
  134. package/dist/{TextArea-B0zYpNy-.js.map → TextArea-BLkVYmHZ.js.map} +1 -1
  135. package/dist/{TextArea-DRSFdn5v.cjs → TextArea-BYEuk4Ng.cjs} +4 -4
  136. package/dist/{TextArea-DRSFdn5v.cjs.map → TextArea-BYEuk4Ng.cjs.map} +1 -1
  137. package/dist/helpers/index.cjs +2 -1
  138. package/dist/helpers/index.d.cts +39 -1
  139. package/dist/helpers/index.d.cts.map +1 -1
  140. package/dist/helpers/index.d.ts +39 -1
  141. package/dist/helpers/index.d.ts.map +1 -1
  142. package/dist/helpers/index.js +2 -2
  143. package/dist/{helpers-D3A5d3M1.js → helpers-33jajRcN.js} +71 -2
  144. package/dist/{helpers-D3A5d3M1.js.map → helpers-33jajRcN.js.map} +1 -1
  145. package/dist/{helpers-CncbgvW_.cjs → helpers-Bd_QpqXg.cjs} +77 -2
  146. package/dist/{helpers-CncbgvW_.cjs.map → helpers-Bd_QpqXg.cjs.map} +1 -1
  147. package/dist/hooks/useClientValidation/index.cjs +1 -1
  148. package/dist/hooks/useClientValidation/index.d.cts +1 -1
  149. package/dist/hooks/useClientValidation/index.d.ts +1 -1
  150. package/dist/hooks/useClientValidation/index.js +1 -1
  151. package/dist/hooks/useController/index.cjs +1 -1
  152. package/dist/hooks/useController/index.d.cts +1 -1
  153. package/dist/hooks/useController/index.d.ts +2 -2
  154. package/dist/hooks/useController/index.js +1 -1
  155. package/dist/hooks/useFormContext/index.cjs +1 -1
  156. package/dist/hooks/useFormContext/index.d.cts +1 -1
  157. package/dist/hooks/useFormContext/index.d.ts +3 -3
  158. package/dist/hooks/useFormContext/index.js +1 -1
  159. package/dist/hooks/useInput/index.cjs +1 -1
  160. package/dist/hooks/useInput/index.d.cts +1 -1
  161. package/dist/hooks/useInput/index.d.ts +1 -1
  162. package/dist/hooks/useInput/index.js +1 -1
  163. package/dist/hooks/useInputValueDebounce/index.cjs +1 -1
  164. package/dist/hooks/useInputValueDebounce/index.d.cts +1 -1
  165. package/dist/hooks/useInputValueDebounce/index.d.ts +1 -1
  166. package/dist/hooks/useInputValueDebounce/index.js +1 -1
  167. package/dist/hooks/useInputValueTransform/index.cjs +1 -1
  168. package/dist/hooks/useInputValueTransform/index.d.cts +1 -1
  169. package/dist/hooks/useInputValueTransform/index.d.ts +1 -1
  170. package/dist/hooks/useInputValueTransform/index.js +1 -1
  171. package/dist/hooks/useUniformField/index.cjs +1 -1
  172. package/dist/hooks/useUniformField/index.d.cts +1 -1
  173. package/dist/hooks/useUniformField/index.d.ts +5 -5
  174. package/dist/hooks/useUniformField/index.js +1 -1
  175. package/dist/hooks/useUniformFieldArray/index.cjs +1 -1
  176. package/dist/hooks/useUniformFieldArray/index.d.cts +1 -1
  177. package/dist/hooks/useUniformFieldArray/index.d.ts +6 -6
  178. package/dist/hooks/useUniformFieldArray/index.js +1 -1
  179. package/dist/hooks/useWatchUserChange/index.cjs +1 -1
  180. package/dist/hooks/useWatchUserChange/index.d.cts +1 -1
  181. package/dist/hooks/useWatchUserChange/index.d.ts +1 -1
  182. package/dist/hooks/useWatchUserChange/index.js +1 -1
  183. package/dist/{index-pE9osud2.d.ts → index-ABoI1QMc.d.ts} +1 -1
  184. package/dist/index-ABoI1QMc.d.ts.map +1 -0
  185. package/dist/{index-BV_YDI6g.d.ts → index-B0WNiTKF.d.cts} +39 -77
  186. package/dist/index-B0WNiTKF.d.cts.map +1 -0
  187. package/dist/{index-BW9EUWZE.d.cts → index-B3DXQvAA.d.cts} +3 -3
  188. package/dist/index-B3DXQvAA.d.cts.map +1 -0
  189. package/dist/{index-aHcGnXHf.d.ts → index-BI_rLLgx.d.ts} +4 -4
  190. package/dist/index-BI_rLLgx.d.ts.map +1 -0
  191. package/dist/{index-nVYabHcT.d.cts → index-BPc0O2Ds.d.ts} +36 -35
  192. package/dist/index-BPc0O2Ds.d.ts.map +1 -0
  193. package/dist/{index-DJbdReTK.d.ts → index-BUbrPNtL.d.ts} +3 -3
  194. package/dist/index-BUbrPNtL.d.ts.map +1 -0
  195. package/dist/{index-CUy2EDqc.d.cts → index-B_OYOLtc.d.ts} +40 -78
  196. package/dist/index-B_OYOLtc.d.ts.map +1 -0
  197. package/dist/{index-DebErIUS.d.ts → index-BdTKCS0O.d.ts} +48 -48
  198. package/dist/index-BdTKCS0O.d.ts.map +1 -0
  199. package/dist/{index-CB00FCyi.d.ts → index-Bi0RH8tW.d.ts} +31 -43
  200. package/dist/index-Bi0RH8tW.d.ts.map +1 -0
  201. package/dist/{index-BFLKkqA3.d.ts → index-Box1ZCLh.d.ts} +3 -3
  202. package/dist/index-Box1ZCLh.d.ts.map +1 -0
  203. package/dist/{index-CbAh0Kfo.d.cts → index-BuJ4i2G8.d.cts} +3 -3
  204. package/dist/index-BuJ4i2G8.d.cts.map +1 -0
  205. package/dist/{index-DjDR6FpI.d.ts → index-BxTjmOVI.d.ts} +36 -36
  206. package/dist/index-BxTjmOVI.d.ts.map +1 -0
  207. package/dist/{index-DTURD6sl.d.cts → index-BySLJ5JG.d.ts} +7 -7
  208. package/dist/index-BySLJ5JG.d.ts.map +1 -0
  209. package/dist/index-C7t64NIn.d.cts +278 -0
  210. package/dist/index-C7t64NIn.d.cts.map +1 -0
  211. package/dist/{index-C3CvgmJw.d.ts → index-CAMcAf2p.d.cts} +4 -4
  212. package/dist/index-CAMcAf2p.d.cts.map +1 -0
  213. package/dist/{index-796vjEop.d.ts → index-CDdjrJRs.d.ts} +34 -34
  214. package/dist/index-CDdjrJRs.d.ts.map +1 -0
  215. package/dist/index-CELx_Pr_.d.ts +85 -0
  216. package/dist/index-CELx_Pr_.d.ts.map +1 -0
  217. package/dist/{index-D3RMbKbP.d.cts → index-CGjAL8dg.d.cts} +36 -36
  218. package/dist/index-CGjAL8dg.d.cts.map +1 -0
  219. package/dist/{index-DsyY9X04.d.cts → index-CYMw1FYm.d.cts} +3 -3
  220. package/dist/index-CYMw1FYm.d.cts.map +1 -0
  221. package/dist/{index-Cj5CLBt2.d.cts → index-Cbz1wgYP.d.ts} +4 -4
  222. package/dist/index-Cbz1wgYP.d.ts.map +1 -0
  223. package/dist/index-ChOoZHFX.d.ts +278 -0
  224. package/dist/index-ChOoZHFX.d.ts.map +1 -0
  225. package/dist/{index-Bo79xzb4.d.cts → index-CjbJYNFd.d.cts} +4 -4
  226. package/dist/index-CjbJYNFd.d.cts.map +1 -0
  227. package/dist/{index-DxfiwbJb.d.cts → index-CluXcbJV.d.cts} +18 -34
  228. package/dist/index-CluXcbJV.d.cts.map +1 -0
  229. package/dist/index-CwtoC1DE.d.cts +85 -0
  230. package/dist/index-CwtoC1DE.d.cts.map +1 -0
  231. package/dist/{index-BgXr1v45.d.cts → index-DUbBP1s0.d.cts} +34 -34
  232. package/dist/index-DUbBP1s0.d.cts.map +1 -0
  233. package/dist/{index-Cj-PU3Ck.d.ts → index-DWK4jUn6.d.cts} +34 -35
  234. package/dist/index-DWK4jUn6.d.cts.map +1 -0
  235. package/dist/{index-B_1td56I.d.ts → index-DYSdHsro.d.cts} +5 -5
  236. package/dist/index-DYSdHsro.d.cts.map +1 -0
  237. package/dist/{index-DAeb_8Q4.d.cts → index-Dp-7JoRm.d.cts} +31 -43
  238. package/dist/index-Dp-7JoRm.d.cts.map +1 -0
  239. package/dist/{index-Dy0m4FQj.d.ts → index-DrKDlcRp.d.cts} +7 -7
  240. package/dist/index-DrKDlcRp.d.cts.map +1 -0
  241. package/dist/{index-BD9y--o2.d.cts → index-MThhiwEy.d.ts} +6 -6
  242. package/dist/index-MThhiwEy.d.ts.map +1 -0
  243. package/dist/{index-C4-1V8jn.d.ts → index-Nzma24Py.d.ts} +3 -3
  244. package/dist/index-Nzma24Py.d.ts.map +1 -0
  245. package/dist/{index-CrxSEKKb.d.cts → index-RJd0nXDb.d.cts} +48 -48
  246. package/dist/index-RJd0nXDb.d.cts.map +1 -0
  247. package/dist/{index-DEJghucW.d.cts → index-SrU5788P.d.cts} +3 -3
  248. package/dist/index-SrU5788P.d.cts.map +1 -0
  249. package/dist/{index-gWYaaO6O.d.ts → index-htE4x59X.d.ts} +18 -34
  250. package/dist/index-htE4x59X.d.ts.map +1 -0
  251. package/dist/index.cjs +28 -27
  252. package/dist/index.d.cts +28 -28
  253. package/dist/index.d.ts +31 -31
  254. package/dist/index.js +28 -28
  255. package/dist/partials/FieldCopyTestIdButton/index.cjs +1 -1
  256. package/dist/partials/FieldCopyTestIdButton/index.d.cts +1 -1
  257. package/dist/partials/FieldCopyTestIdButton/index.d.ts +1 -1
  258. package/dist/partials/FieldCopyTestIdButton/index.js +1 -1
  259. package/dist/partials/FieldValidationError/index.cjs +1 -1
  260. package/dist/partials/FieldValidationError/index.d.cts +1 -1
  261. package/dist/partials/FieldValidationError/index.d.ts +1 -1
  262. package/dist/partials/FieldValidationError/index.js +1 -1
  263. package/dist/{useClientValidation-C6Daq53C.js → useClientValidation-DksyV18M.js} +3 -3
  264. package/dist/{useClientValidation-C6Daq53C.js.map → useClientValidation-DksyV18M.js.map} +1 -1
  265. package/dist/{useClientValidation-DzomULfo.cjs → useClientValidation-Dnj_wuwf.cjs} +4 -4
  266. package/dist/{useClientValidation-DzomULfo.cjs.map → useClientValidation-Dnj_wuwf.cjs.map} +1 -1
  267. package/dist/{useClientValidation-Bg0q3Axc.d.ts → useClientValidation-Dw-dmynu.d.cts} +1 -2
  268. package/dist/useClientValidation-Dw-dmynu.d.cts.map +1 -0
  269. package/dist/{useClientValidation-BvPDQmf6.d.cts → useClientValidation-DxFgfsEI.d.ts} +1 -2
  270. package/dist/useClientValidation-DxFgfsEI.d.ts.map +1 -0
  271. package/dist/{useController-oCYPeezC.cjs → useController-B_SSp5Z5.cjs} +3 -3
  272. package/dist/{useController-oCYPeezC.cjs.map → useController-B_SSp5Z5.cjs.map} +1 -1
  273. package/dist/{useController-C6Pg9T_3.d.cts → useController-CvPWE2Sy.d.cts} +1 -1
  274. package/dist/useController-CvPWE2Sy.d.cts.map +1 -0
  275. package/dist/{useController-BJ2SBdky.d.ts → useController-DfiNbuEz.d.ts} +1 -1
  276. package/dist/useController-DfiNbuEz.d.ts.map +1 -0
  277. package/dist/{useController-QcOl0O0v.js → useController-NjuthTyL.js} +3 -3
  278. package/dist/{useController-QcOl0O0v.js.map → useController-NjuthTyL.js.map} +1 -1
  279. package/dist/{useFormContext-B2TS6xq0.d.ts → useFormContext-C6OOtqZ5.d.ts} +18 -18
  280. package/dist/useFormContext-C6OOtqZ5.d.ts.map +1 -0
  281. package/dist/{useFormContext-356X5XAY.js → useFormContext-CLymm_7t.js} +1 -1
  282. package/dist/{useFormContext-356X5XAY.js.map → useFormContext-CLymm_7t.js.map} +1 -1
  283. package/dist/{useFormContext-n3WYgGkW.d.cts → useFormContext-Dh97YG47.d.cts} +18 -18
  284. package/dist/useFormContext-Dh97YG47.d.cts.map +1 -0
  285. package/dist/{useFormContext-UFBqUfOr.js → useFormContext-Di67HIf7.js} +3 -3
  286. package/dist/{useFormContext-UFBqUfOr.js.map → useFormContext-Di67HIf7.js.map} +1 -1
  287. package/dist/{useFormContext-DJiJlfGJ.cjs → useFormContext-vdeeDsAs.cjs} +3 -3
  288. package/dist/{useFormContext-DJiJlfGJ.cjs.map → useFormContext-vdeeDsAs.cjs.map} +1 -1
  289. package/dist/{useInputValueDebounce-KIKsvSLm.cjs → useInputValueDebounce-CRaM7HEM.cjs} +3 -3
  290. package/dist/{useInputValueDebounce-KIKsvSLm.cjs.map → useInputValueDebounce-CRaM7HEM.cjs.map} +1 -1
  291. package/dist/{useInputValueDebounce-D9wArTKz.js → useInputValueDebounce-DJO5uzLb.js} +2 -2
  292. package/dist/{useInputValueDebounce-D9wArTKz.js.map → useInputValueDebounce-DJO5uzLb.js.map} +1 -1
  293. package/dist/{useInputValueDebounce-fhmVn1aO.d.ts → useInputValueDebounce-Dhlv1NUY.d.ts} +1 -1
  294. package/dist/useInputValueDebounce-Dhlv1NUY.d.ts.map +1 -0
  295. package/dist/{useInputValueDebounce-DI1C6oaU.d.cts → useInputValueDebounce-ZLyAmuXV.d.cts} +1 -1
  296. package/dist/useInputValueDebounce-ZLyAmuXV.d.cts.map +1 -0
  297. package/dist/{useInputValueTransform-DuhPVE4L.cjs → useInputValueTransform-BBRvvhDe.cjs} +2 -2
  298. package/dist/{useInputValueTransform-DuhPVE4L.cjs.map → useInputValueTransform-BBRvvhDe.cjs.map} +1 -1
  299. package/dist/{useInputValueTransform-CMNC21vX.js → useInputValueTransform-C-fmz3ke.js} +1 -1
  300. package/dist/{useInputValueTransform-CMNC21vX.js.map → useInputValueTransform-C-fmz3ke.js.map} +1 -1
  301. package/dist/{useInputValueTransform-BV8o0PMI.d.cts → useInputValueTransform-CNCBU7a9.d.cts} +1 -1
  302. package/dist/useInputValueTransform-CNCBU7a9.d.cts.map +1 -0
  303. package/dist/{useInputValueTransform-Cc0qEsnS.d.ts → useInputValueTransform-tsMNM7g_.d.ts} +1 -1
  304. package/dist/useInputValueTransform-tsMNM7g_.d.ts.map +1 -0
  305. package/dist/{useUniformField-Dd3AnpgE.cjs → useUniformField-6c4OCAfb.cjs} +9 -29
  306. package/dist/useUniformField-6c4OCAfb.cjs.map +1 -0
  307. package/dist/{useUniformField-C6oSAFa3.js → useUniformField-C-Xyu-8v.js} +9 -29
  308. package/dist/useUniformField-C-Xyu-8v.js.map +1 -0
  309. package/dist/{useUniformField-CXSaAVTt.d.ts → useUniformField-CqqIJtqo.d.ts} +5 -5
  310. package/dist/useUniformField-CqqIJtqo.d.ts.map +1 -0
  311. package/dist/{useUniformField-ETnay_UI.d.cts → useUniformField-DIb__gKK.d.cts} +5 -5
  312. package/dist/useUniformField-DIb__gKK.d.cts.map +1 -0
  313. package/dist/{useUniformFieldArray-COtgcAnp.d.ts → useUniformFieldArray-4MOU0xac.d.ts} +14 -14
  314. package/dist/useUniformFieldArray-4MOU0xac.d.ts.map +1 -0
  315. package/dist/{useUniformFieldArray-4pUdrWYT.d.cts → useUniformFieldArray-BChcZvc5.d.cts} +14 -14
  316. package/dist/useUniformFieldArray-BChcZvc5.d.cts.map +1 -0
  317. package/dist/{useUniformFieldArray-DNrmEXLg.js → useUniformFieldArray-BKvA0FQW.js} +4 -4
  318. package/dist/{useUniformFieldArray-DNrmEXLg.js.map → useUniformFieldArray-BKvA0FQW.js.map} +1 -1
  319. package/dist/{useUniformFieldArray-D93AUZI4.cjs → useUniformFieldArray-CRCbV1J2.cjs} +5 -5
  320. package/dist/{useUniformFieldArray-D93AUZI4.cjs.map → useUniformFieldArray-CRCbV1J2.cjs.map} +1 -1
  321. package/dist/{useWatchUserChange-jivI5KIB.cjs → useWatchUserChange-C1Kluht2.cjs} +3 -3
  322. package/dist/{useWatchUserChange-jivI5KIB.cjs.map → useWatchUserChange-C1Kluht2.cjs.map} +1 -1
  323. package/dist/{useWatchUserChange-DX6gUHvM.d.ts → useWatchUserChange-CYd_8zeN.d.ts} +1 -1
  324. package/dist/useWatchUserChange-CYd_8zeN.d.ts.map +1 -0
  325. package/dist/{useWatchUserChange-cI5-j6M4.d.cts → useWatchUserChange-DedTNvGV.d.cts} +1 -1
  326. package/dist/useWatchUserChange-DedTNvGV.d.cts.map +1 -0
  327. package/dist/{useWatchUserChange-DyhUYlrN.js → useWatchUserChange-Dj9Imxfi.js} +2 -2
  328. package/dist/{useWatchUserChange-DyhUYlrN.js.map → useWatchUserChange-Dj9Imxfi.js.map} +1 -1
  329. package/package.json +8 -8
  330. package/dist/FieldCard-38ZBBWyE.cjs.map +0 -1
  331. package/dist/FieldCard-7XiCb6jZ.js.map +0 -1
  332. package/dist/FormContext-C2_WMi_v.d.ts.map +0 -1
  333. package/dist/FormContext-CeFKQmVH.cjs.map +0 -1
  334. package/dist/FormContext-DHYlCZ2u.js.map +0 -1
  335. package/dist/FormContext-Dl7KL_wl.d.cts.map +0 -1
  336. package/dist/index-796vjEop.d.ts.map +0 -1
  337. package/dist/index-B62CWrcm.d.ts +0 -97
  338. package/dist/index-B62CWrcm.d.ts.map +0 -1
  339. package/dist/index-BD9y--o2.d.cts.map +0 -1
  340. package/dist/index-BFLKkqA3.d.ts.map +0 -1
  341. package/dist/index-BV_YDI6g.d.ts.map +0 -1
  342. package/dist/index-BW9EUWZE.d.cts.map +0 -1
  343. package/dist/index-B_1td56I.d.ts.map +0 -1
  344. package/dist/index-BgXr1v45.d.cts.map +0 -1
  345. package/dist/index-Bo79xzb4.d.cts.map +0 -1
  346. package/dist/index-C3CvgmJw.d.ts.map +0 -1
  347. package/dist/index-C4-1V8jn.d.ts.map +0 -1
  348. package/dist/index-CB00FCyi.d.ts.map +0 -1
  349. package/dist/index-COwP53Gx.d.ts +0 -278
  350. package/dist/index-COwP53Gx.d.ts.map +0 -1
  351. package/dist/index-CUy2EDqc.d.cts.map +0 -1
  352. package/dist/index-CbAh0Kfo.d.cts.map +0 -1
  353. package/dist/index-Cj-PU3Ck.d.ts.map +0 -1
  354. package/dist/index-Cj5CLBt2.d.cts.map +0 -1
  355. package/dist/index-CrxSEKKb.d.cts.map +0 -1
  356. package/dist/index-D3RMbKbP.d.cts.map +0 -1
  357. package/dist/index-DAeb_8Q4.d.cts.map +0 -1
  358. package/dist/index-DEJghucW.d.cts.map +0 -1
  359. package/dist/index-DJbdReTK.d.ts.map +0 -1
  360. package/dist/index-DTURD6sl.d.cts.map +0 -1
  361. package/dist/index-DebErIUS.d.ts.map +0 -1
  362. package/dist/index-DfGCI-K_.d.cts +0 -278
  363. package/dist/index-DfGCI-K_.d.cts.map +0 -1
  364. package/dist/index-DjDR6FpI.d.ts.map +0 -1
  365. package/dist/index-DsyY9X04.d.cts.map +0 -1
  366. package/dist/index-DxfiwbJb.d.cts.map +0 -1
  367. package/dist/index-Dy0m4FQj.d.ts.map +0 -1
  368. package/dist/index-Y8XsRdxS.d.cts +0 -97
  369. package/dist/index-Y8XsRdxS.d.cts.map +0 -1
  370. package/dist/index-aHcGnXHf.d.ts.map +0 -1
  371. package/dist/index-gWYaaO6O.d.ts.map +0 -1
  372. package/dist/index-nVYabHcT.d.cts.map +0 -1
  373. package/dist/index-pE9osud2.d.ts.map +0 -1
  374. package/dist/useClientValidation-Bg0q3Axc.d.ts.map +0 -1
  375. package/dist/useClientValidation-BvPDQmf6.d.cts.map +0 -1
  376. package/dist/useController-BJ2SBdky.d.ts.map +0 -1
  377. package/dist/useController-C6Pg9T_3.d.cts.map +0 -1
  378. package/dist/useFormContext-B2TS6xq0.d.ts.map +0 -1
  379. package/dist/useFormContext-n3WYgGkW.d.cts.map +0 -1
  380. package/dist/useInputValueDebounce-DI1C6oaU.d.cts.map +0 -1
  381. package/dist/useInputValueDebounce-fhmVn1aO.d.ts.map +0 -1
  382. package/dist/useInputValueTransform-BV8o0PMI.d.cts.map +0 -1
  383. package/dist/useInputValueTransform-Cc0qEsnS.d.ts.map +0 -1
  384. package/dist/useUniformField-C6oSAFa3.js.map +0 -1
  385. package/dist/useUniformField-CXSaAVTt.d.ts.map +0 -1
  386. package/dist/useUniformField-Dd3AnpgE.cjs.map +0 -1
  387. package/dist/useUniformField-ETnay_UI.d.cts.map +0 -1
  388. package/dist/useUniformFieldArray-4pUdrWYT.d.cts.map +0 -1
  389. package/dist/useUniformFieldArray-COtgcAnp.d.ts.map +0 -1
  390. package/dist/useWatchUserChange-DX6gUHvM.d.ts.map +0 -1
  391. package/dist/useWatchUserChange-cI5-j6M4.d.cts.map +0 -1
  392. /package/dist/{index-BLREDRDJ.d.cts → index-BMCcWGYS.d.ts} +0 -0
  393. /package/dist/{index-BRLjimYW.d.ts → index-C8k_zgEm.d.cts} +0 -0
  394. /package/dist/{index-BYrmFhKl.d.ts → index-D86jXpHS.d.cts} +0 -0
  395. /package/dist/{index-CFBmva_r.d.ts → index-DDRpa5CJ.d.cts} +0 -0
  396. /package/dist/{index-DpEKQcoR.d.cts → index-GGHuYh77.d.ts} +0 -0
  397. /package/dist/{index-lQ_hGQ08.d.cts → index-hIBrhvnj.d.ts} +0 -0
  398. /package/dist/{useInput--wjwIBc5.d.cts → useInput-BVZvtfNg.d.ts} +0 -0
  399. /package/dist/{useInput-DZ6KGBxw.js → useInput-BWzvIUpW.js} +0 -0
  400. /package/dist/{useInput-BCdeYOOg.d.ts → useInput-CKmKH9Ij.d.cts} +0 -0
@@ -1,11 +1,10 @@
1
1
  import { TVClassName } from "@fuf-stack/pixel-utils";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime6 from "react/jsx-runtime";
4
- import * as tailwind_variants64 from "tailwind-variants";
3
+ import * as react_jsx_runtime8 from "react/jsx-runtime";
4
+ import * as tailwind_variants176 from "tailwind-variants";
5
5
 
6
6
  //#region src/FieldCard/FieldCard.d.ts
7
-
8
- declare const fieldCardVariants: tailwind_variants64.TVReturnType<{
7
+ declare const fieldCardVariants: tailwind_variants176.TVReturnType<{
9
8
  invalid: {
10
9
  true: {
11
10
  base: string;
@@ -21,15 +20,10 @@ declare const fieldCardVariants: tailwind_variants64.TVReturnType<{
21
20
  };
22
21
  };
23
22
  }, {
24
- /** base class for the field card wrapper */
25
- base: string[];
26
- /** class for the label/header */
27
- label: string[];
28
- /** class for the content */
29
- content: string[];
30
- /** class for the error footer wrapper */
31
- errorFooter: string[];
32
- /** class for the error text (empty base, color controlled by variant) */
23
+ /** base class for the field card wrapper */base: string[]; /** class for the label/header */
24
+ label: string[]; /** class for the content */
25
+ content: string[]; /** class for the error footer wrapper */
26
+ errorFooter: string[]; /** class for the error text (empty base, color controlled by variant) */
33
27
  errorText: never[];
34
28
  }, undefined, {
35
29
  invalid: {
@@ -47,17 +41,12 @@ declare const fieldCardVariants: tailwind_variants64.TVReturnType<{
47
41
  };
48
42
  };
49
43
  }, {
50
- /** base class for the field card wrapper */
51
- base: string[];
52
- /** class for the label/header */
53
- label: string[];
54
- /** class for the content */
55
- content: string[];
56
- /** class for the error footer wrapper */
57
- errorFooter: string[];
58
- /** class for the error text (empty base, color controlled by variant) */
44
+ /** base class for the field card wrapper */base: string[]; /** class for the label/header */
45
+ label: string[]; /** class for the content */
46
+ content: string[]; /** class for the error footer wrapper */
47
+ errorFooter: string[]; /** class for the error text (empty base, color controlled by variant) */
59
48
  errorText: never[];
60
- }, tailwind_variants64.TVReturnType<{
49
+ }, tailwind_variants176.TVReturnType<{
61
50
  invalid: {
62
51
  true: {
63
52
  base: string;
@@ -73,15 +62,10 @@ declare const fieldCardVariants: tailwind_variants64.TVReturnType<{
73
62
  };
74
63
  };
75
64
  }, {
76
- /** base class for the field card wrapper */
77
- base: string[];
78
- /** class for the label/header */
79
- label: string[];
80
- /** class for the content */
81
- content: string[];
82
- /** class for the error footer wrapper */
83
- errorFooter: string[];
84
- /** class for the error text (empty base, color controlled by variant) */
65
+ /** base class for the field card wrapper */base: string[]; /** class for the label/header */
66
+ label: string[]; /** class for the content */
67
+ content: string[]; /** class for the error footer wrapper */
68
+ errorFooter: string[]; /** class for the error text (empty base, color controlled by variant) */
85
69
  errorText: never[];
86
70
  }, undefined, unknown, unknown, undefined>>;
87
71
  type ClassName = TVClassName<typeof fieldCardVariants>;
@@ -111,7 +95,7 @@ declare const FieldCard: ({
111
95
  className: _className,
112
96
  name,
113
97
  ...uniformFieldProps
114
- }: FieldCardProps) => react_jsx_runtime6.JSX.Element;
98
+ }: FieldCardProps) => react_jsx_runtime8.JSX.Element;
115
99
  //#endregion
116
100
  export { FieldCardProps as n, fieldCardVariants as r, FieldCard as t };
117
- //# sourceMappingURL=index-gWYaaO6O.d.ts.map
101
+ //# sourceMappingURL=index-htE4x59X.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-htE4x59X.d.ts","names":[],"sources":["../src/FieldCard/FieldCard.tsx"],"mappings":";;;;;;cAsHa,iBAAA,EAyDX,oBAAA,CAzD4B,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA2DhB;qBAAG;yBAEA;;GAJf,oBAAA,CAAA,YAAA;;;;;;;;;;;;;;;;EA0BI;mBAAa;qBAKhB;yBA2HF;;;KAxJI,SAAA,GAAY,WAAA,QAAmB,iBAAA;AAAA,UAEnB,cAAA;EAsBE;EApBjB,QAAA,EAAU,SAAA;EAoBO;EAlBjB,SAAA,GAAY,SAAA;EAuBX;EArBD,KAAA,EAAO,SAAA;EAqBQ;EAnBf,IAAA;EA8ID;EA5IC,MAAA;AAAA;;;;;;;;;;cAYI,SAAA;EAAa,QAAA;EAAA,SAAA,EAAA,UAAA;EAAA,IAAA;EAAA,GAAA;AAAA,GAKhB,cAAA,KAAc,kBAAA,CAAA,GAAA,CAAA,OAAA"}
package/dist/index.cjs CHANGED
@@ -1,30 +1,30 @@
1
- const require_FormContext = require('./FormContext-CeFKQmVH.cjs');
2
- const require_helpers = require('./helpers-CncbgvW_.cjs');
3
- const require_FieldCopyTestIdButton = require('./FieldCopyTestIdButton-DxJYKqrz.cjs');
4
- const require_FieldValidationError = require('./FieldValidationError-A384-L3Y.cjs');
5
- const require_useController = require('./useController-oCYPeezC.cjs');
6
- const require_useFormContext = require('./useFormContext-DJiJlfGJ.cjs');
7
- const require_useInputValueTransform = require('./useInputValueTransform-DuhPVE4L.cjs');
8
- const require_useUniformField = require('./useUniformField-Dd3AnpgE.cjs');
9
- const require_Checkboxes = require('./Checkboxes-3Rg0gyfO.cjs');
10
- const require_useUniformFieldArray = require('./useUniformFieldArray-D93AUZI4.cjs');
11
- const require_FieldArray = require('./FieldArray-BgvSTDWi.cjs');
12
- const require_Grid = require('./Grid-CRURvciu.cjs');
13
- const require_FieldCard = require('./FieldCard-38ZBBWyE.cjs');
14
- const require_Form = require('./Form-Ca3RxssB.cjs');
15
- const require_useInputValueDebounce = require('./useInputValueDebounce-KIKsvSLm.cjs');
16
- const require_Input = require('./Input-DlyrGFYf.cjs');
17
- const require_RadioBoxes = require('./RadioBoxes-ClDOhQkO.cjs');
18
- const require_RadioTabs = require('./RadioTabs-CgB0MmbK.cjs');
19
- const require_Radios = require('./Radios-DWsCLUVl.cjs');
20
- const require_Select = require('./Select-CTbXrAjL.cjs');
21
- const require_Slider = require('./Slider-ChGkOSJJ.cjs');
22
- const require_SubmitButton = require('./SubmitButton-C6sgPR8K.cjs');
23
- const require_Switch = require('./Switch-Lt61rKxf.cjs');
24
- const require_SwitchBox = require('./SwitchBox-D-EI9Sl-.cjs');
25
- const require_TextArea = require('./TextArea-DRSFdn5v.cjs');
26
- const require_useClientValidation = require('./useClientValidation-DzomULfo.cjs');
27
- const require_useWatchUserChange = require('./useWatchUserChange-jivI5KIB.cjs');
1
+ const require_FormContext = require('./FormContext-BSLO2-sO.cjs');
2
+ const require_helpers = require('./helpers-Bd_QpqXg.cjs');
3
+ const require_FieldCopyTestIdButton = require('./FieldCopyTestIdButton-4uupFq1U.cjs');
4
+ const require_FieldValidationError = require('./FieldValidationError-Br6iopZj.cjs');
5
+ const require_useController = require('./useController-B_SSp5Z5.cjs');
6
+ const require_useFormContext = require('./useFormContext-vdeeDsAs.cjs');
7
+ const require_useInputValueTransform = require('./useInputValueTransform-BBRvvhDe.cjs');
8
+ const require_useUniformField = require('./useUniformField-6c4OCAfb.cjs');
9
+ const require_Checkboxes = require('./Checkboxes-Dk7yyRVR.cjs');
10
+ const require_useUniformFieldArray = require('./useUniformFieldArray-CRCbV1J2.cjs');
11
+ const require_FieldArray = require('./FieldArray-BnZW6fwm.cjs');
12
+ const require_Grid = require('./Grid-CE1fZKmV.cjs');
13
+ const require_FieldCard = require('./FieldCard-BxK_IJOR.cjs');
14
+ const require_Form = require('./Form--SsSvsxl.cjs');
15
+ const require_useInputValueDebounce = require('./useInputValueDebounce-CRaM7HEM.cjs');
16
+ const require_Input = require('./Input-B3p_4ntD.cjs');
17
+ const require_RadioBoxes = require('./RadioBoxes-xRvNe5U8.cjs');
18
+ const require_RadioTabs = require('./RadioTabs-BaHvYcd-.cjs');
19
+ const require_Radios = require('./Radios-BfA3uL35.cjs');
20
+ const require_Select = require('./Select-DH_YaruM.cjs');
21
+ const require_Slider = require('./Slider-C-dMrJZ6.cjs');
22
+ const require_SubmitButton = require('./SubmitButton-CJ6s1mZr.cjs');
23
+ const require_Switch = require('./Switch-CeUMwheZ.cjs');
24
+ const require_SwitchBox = require('./SwitchBox-4G_qcERZ.cjs');
25
+ const require_TextArea = require('./TextArea-BYEuk4Ng.cjs');
26
+ const require_useClientValidation = require('./useClientValidation-Dnj_wuwf.cjs');
27
+ const require_useWatchUserChange = require('./useWatchUserChange-C1Kluht2.cjs');
28
28
  let _heroui_input = require("@heroui/input");
29
29
 
30
30
  //#region src/index.ts
@@ -60,6 +60,7 @@ exports.radioBoxVariants = require_RadioBoxes.radioBoxVariants;
60
60
  exports.switchBoxVariants = require_SwitchBox.switchBoxVariants;
61
61
  exports.toFormFormat = require_helpers.toFormFormat;
62
62
  exports.toNullishString = require_helpers.toNullishString;
63
+ exports.toSubmitFormat = require_helpers.toSubmitFormat;
63
64
  exports.toValidationFormat = require_helpers.toValidationFormat;
64
65
  exports.useClientValidation = require_useClientValidation.useClientValidation;
65
66
  exports.useController = require_useController.useController;
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-BV8o0PMI.cjs";
2
- import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-DTURD6sl.cjs";
3
- import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-CUy2EDqc.cjs";
4
- import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-DxfiwbJb.cjs";
5
- import { n as FormProps, t as Form } from "./index-Bo79xzb4.cjs";
6
- import { n as GridProps, t as Grid } from "./index-BW9EUWZE.cjs";
7
- import { n as InputProps, t as Input } from "./index-DAeb_8Q4.cjs";
8
- import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-nVYabHcT.cjs";
9
- import { n as RadioTabsProps, t as RadioTabs } from "./index-Cj5CLBt2.cjs";
10
- import { n as RadiosProps, t as Radios } from "./index-BgXr1v45.cjs";
11
- import { n as SelectProps, t as Select } from "./index-DfGCI-K_.cjs";
12
- import { n as SliderProps, t as Slider } from "./index-CrxSEKKb.cjs";
13
- import { n as SubmitButtonProps, t as SubmitButton } from "./index-CbAh0Kfo.cjs";
14
- import { n as SwitchProps, t as Switch } from "./index-D3RMbKbP.cjs";
15
- import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-BD9y--o2.cjs";
16
- import { n as TextAreaProps, t as TextArea } from "./index-Y8XsRdxS.cjs";
17
- import { createOptionValueConverter, 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-C6Pg9T_3.cjs";
20
- import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-n3WYgGkW.cjs";
21
- import { t as useInput } from "./useInput--wjwIBc5.cjs";
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-ETnay_UI.cjs";
24
- import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-4pUdrWYT.cjs";
25
- import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-cI5-j6M4.cjs";
26
- import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-DsyY9X04.cjs";
27
- import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-DEJghucW.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, createOptionValueConverter, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
1
+ import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-CNCBU7a9.cjs";
2
+ import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-DrKDlcRp.cjs";
3
+ import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-B0WNiTKF.cjs";
4
+ import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-CluXcbJV.cjs";
5
+ import { n as FormProps, t as Form } from "./index-CjbJYNFd.cjs";
6
+ import { n as GridProps, t as Grid } from "./index-B3DXQvAA.cjs";
7
+ import { n as InputProps, t as Input } from "./index-Dp-7JoRm.cjs";
8
+ import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-DWK4jUn6.cjs";
9
+ import { n as RadioTabsProps, t as RadioTabs } from "./index-CAMcAf2p.cjs";
10
+ import { n as RadiosProps, t as Radios } from "./index-DUbBP1s0.cjs";
11
+ import { n as SelectProps, t as Select } from "./index-C7t64NIn.cjs";
12
+ import { n as SliderProps, t as Slider } from "./index-RJd0nXDb.cjs";
13
+ import { n as SubmitButtonProps, t as SubmitButton } from "./index-BuJ4i2G8.cjs";
14
+ import { n as SwitchProps, t as Switch } from "./index-CGjAL8dg.cjs";
15
+ import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-DYSdHsro.cjs";
16
+ import { n as TextAreaProps, t as TextArea } from "./index-CwtoC1DE.cjs";
17
+ import { createOptionValueConverter, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, toFormFormat, toNullishString, toSubmitFormat, toValidationFormat } from "./helpers/index.cjs";
18
+ import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-Dw-dmynu.cjs";
19
+ import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-CvPWE2Sy.cjs";
20
+ import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-Dh97YG47.cjs";
21
+ import { t as useInput } from "./useInput-CKmKH9Ij.cjs";
22
+ import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-ZLyAmuXV.cjs";
23
+ import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-DIb__gKK.cjs";
24
+ import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-BChcZvc5.cjs";
25
+ import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-DedTNvGV.cjs";
26
+ import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-CYMw1FYm.cjs";
27
+ import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-SrU5788P.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, createOptionValueConverter, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toSubmitFormat, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
package/dist/index.d.ts CHANGED
@@ -1,31 +1,31 @@
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-Dy0m4FQj.js";
3
- import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-BV_YDI6g.js";
4
- import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-gWYaaO6O.js";
5
- import "./FormContext-C2_WMi_v.js";
6
- import { n as FormProps, t as Form } from "./index-aHcGnXHf.js";
7
- import { n as GridProps, t as Grid } from "./index-BFLKkqA3.js";
8
- import { n as InputProps, t as Input } from "./index-CB00FCyi.js";
9
- import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-Cj-PU3Ck.js";
10
- import { n as RadioTabsProps, t as RadioTabs } from "./index-C3CvgmJw.js";
11
- import { n as RadiosProps, t as Radios } from "./index-796vjEop.js";
12
- import { n as SelectProps, t as Select } from "./index-COwP53Gx.js";
13
- import { n as SliderProps, t as Slider } from "./index-DebErIUS.js";
14
- import { n as SubmitButtonProps, t as SubmitButton } from "./index-pE9osud2.js";
15
- import { n as SwitchProps, t as Switch } from "./index-DjDR6FpI.js";
16
- import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-B_1td56I.js";
17
- import { n as TextAreaProps, t as TextArea } from "./index-B62CWrcm.js";
18
- import { createOptionValueConverter, 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-BJ2SBdky.js";
21
- import "./index-CFBmva_r.js";
22
- import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-B2TS6xq0.js";
23
- import "./index-BRLjimYW.js";
24
- import { t as useInput } from "./useInput-BCdeYOOg.js";
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-CXSaAVTt.js";
27
- import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-COtgcAnp.js";
28
- import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-DX6gUHvM.js";
29
- import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-DJbdReTK.js";
30
- import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-C4-1V8jn.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, createOptionValueConverter, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
1
+ import { i as useInputValueTransform, n as UseInputValueTransformOptions, r as UseInputValueTransformReturn, t as InputValueTransform } from "./useInputValueTransform-tsMNM7g_.js";
2
+ import { n as Checkboxes, r as CheckboxesProps, t as CheckboxOption } from "./index-BySLJ5JG.js";
3
+ import { i as FieldArrayProps, n as FieldArrayChildrenRenderFn, r as FieldArrayFeatures, t as FieldArray } from "./index-B_OYOLtc.js";
4
+ import { n as FieldCardProps, r as fieldCardVariants, t as FieldCard } from "./index-htE4x59X.js";
5
+ import "./FormContext-CCe8drkp.js";
6
+ import { n as FormProps, t as Form } from "./index-BI_rLLgx.js";
7
+ import { n as GridProps, t as Grid } from "./index-Box1ZCLh.js";
8
+ import { n as InputProps, t as Input } from "./index-Bi0RH8tW.js";
9
+ import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "./index-BPc0O2Ds.js";
10
+ import { n as RadioTabsProps, t as RadioTabs } from "./index-Cbz1wgYP.js";
11
+ import { n as RadiosProps, t as Radios } from "./index-CDdjrJRs.js";
12
+ import { n as SelectProps, t as Select } from "./index-ChOoZHFX.js";
13
+ import { n as SliderProps, t as Slider } from "./index-BdTKCS0O.js";
14
+ import { n as SubmitButtonProps, t as SubmitButton } from "./index-ABoI1QMc.js";
15
+ import { n as SwitchProps, t as Switch } from "./index-BxTjmOVI.js";
16
+ import { n as SwitchBoxProps, r as switchBoxVariants, t as SwitchBox } from "./index-MThhiwEy.js";
17
+ import { n as TextAreaProps, t as TextArea } from "./index-CELx_Pr_.js";
18
+ import { createOptionValueConverter, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, toFormFormat, toNullishString, toSubmitFormat, toValidationFormat } from "./helpers/index.js";
19
+ import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-DxFgfsEI.js";
20
+ import { n as UseControllerReturn, r as useController, t as UseControllerProps } from "./useController-DfiNbuEz.js";
21
+ import "./index-hIBrhvnj.js";
22
+ import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-C6OOtqZ5.js";
23
+ import "./index-BMCcWGYS.js";
24
+ import { t as useInput } from "./useInput-BVZvtfNg.js";
25
+ import { n as UseInputValueDebounceReturn, r as useInputValueDebounce, t as UseInputValueDebounceOptions } from "./useInputValueDebounce-Dhlv1NUY.js";
26
+ import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "./useUniformField-CqqIJtqo.js";
27
+ import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "./useUniformFieldArray-4MOU0xac.js";
28
+ import { n as useWatchUserChange, t as UseWatchUserChangeOptions } from "./useWatchUserChange-CYd_8zeN.js";
29
+ import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "./index-BUbrPNtL.js";
30
+ import { n as FieldValidationErrorProps, t as FieldValidationError } from "./index-Nzma24Py.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, createOptionValueConverter, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toSubmitFormat, toValidationFormat, useClientValidation, useController, useFormContext, useInput, useInputValueDebounce, useInputValueTransform, useUniformField, useUniformFieldArray, useWatchUserChange };
package/dist/index.js CHANGED
@@ -1,34 +1,34 @@
1
- import { a as toFormFormat, c as createOptionValueConverter, i as nameToTestId, n as fromNullishString, o as toNullishString, r as isValueEmpty, s as toValidationFormat, t as flatArrayKey } from "./helpers-D3A5d3M1.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-QcOl0O0v.js";
5
- import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-UFBqUfOr.js";
6
- import { t as useInput } from "./useInput-DZ6KGBxw.js";
7
- import { t as useInputValueTransform } from "./useInputValueTransform-CMNC21vX.js";
8
- import { t as useUniformField } from "./useUniformField-C6oSAFa3.js";
9
- import { n as Checkboxes_default } from "./Checkboxes-BfUtbKe-.js";
10
- import { t as useUniformFieldArray } from "./useUniformFieldArray-DNrmEXLg.js";
11
- import { n as FieldArray_default } from "./FieldArray-C8Ipn-tM.js";
12
- import { n as Grid_default } from "./Grid-LRjQlZms.js";
13
- import { n as fieldCardVariants, t as FieldCard_default } from "./FieldCard-7XiCb6jZ.js";
14
- import { n as Form_default } from "./Form-B7bv9fDO.js";
15
- import { t as useInputValueDebounce } from "./useInputValueDebounce-D9wArTKz.js";
16
- import { n as Input_default } from "./Input-ChXItabV.js";
17
- import { n as RadioBoxes_default, r as radioBoxVariants } from "./RadioBoxes-D6ULFGfd.js";
18
- import { n as RadioTabs_default } from "./RadioTabs-eSB6OXD7.js";
19
- import { n as Radios_default } from "./Radios-BXuyREKO.js";
20
- import { n as Select_default } from "./Select-Dk_K_Q0F.js";
21
- import { n as Slider_default } from "./Slider-DdF0ZBzn.js";
22
- import { n as SubmitButton_default } from "./SubmitButton-BrbHJcb4.js";
23
- import { n as Switch_default } from "./Switch-DW9SOeIv.js";
24
- import { n as SwitchBox_default, r as switchBoxVariants } from "./SwitchBox-9KAu4WWd.js";
25
- import { n as TextArea_default } from "./TextArea-B0zYpNy-.js";
26
- import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-C6Daq53C.js";
27
- import { t as useWatchUserChange } from "./useWatchUserChange-DyhUYlrN.js";
1
+ import { a as toFormFormat, c as toValidationFormat, i as nameToTestId, l as createOptionValueConverter, n as fromNullishString, o as toNullishString, r as isValueEmpty, s as toSubmitFormat, t as flatArrayKey } from "./helpers-33jajRcN.js";
2
+ import { n as FieldCopyTestIdButton_default } from "./FieldCopyTestIdButton-BoEdlzLs.js";
3
+ import { n as FieldValidationError_default } from "./FieldValidationError-XQaViV52.js";
4
+ import { t as useController } from "./useController-NjuthTyL.js";
5
+ import { n as useFormContext, t as checkFieldIsRequired } from "./useFormContext-Di67HIf7.js";
6
+ import { t as useInput } from "./useInput-BWzvIUpW.js";
7
+ import { t as useInputValueTransform } from "./useInputValueTransform-C-fmz3ke.js";
8
+ import { t as useUniformField } from "./useUniformField-C-Xyu-8v.js";
9
+ import { n as Checkboxes_default } from "./Checkboxes-BGrK_mwQ.js";
10
+ import { t as useUniformFieldArray } from "./useUniformFieldArray-BKvA0FQW.js";
11
+ import { n as FieldArray_default } from "./FieldArray-C53ox8yB.js";
12
+ import { n as Grid_default } from "./Grid-CeaybCIF.js";
13
+ import { n as fieldCardVariants, t as FieldCard_default } from "./FieldCard-16yCF83m.js";
14
+ import { n as Form_default } from "./Form-ccsEssie.js";
15
+ import { t as useInputValueDebounce } from "./useInputValueDebounce-DJO5uzLb.js";
16
+ import { n as Input_default } from "./Input-BCs_eyJ9.js";
17
+ import { n as RadioBoxes_default, r as radioBoxVariants } from "./RadioBoxes-C3Cwrn2I.js";
18
+ import { n as RadioTabs_default } from "./RadioTabs-DfOGIsEf.js";
19
+ import { n as Radios_default } from "./Radios-xM-09vB5.js";
20
+ import { n as Select_default } from "./Select-DlEUzYl6.js";
21
+ import { n as Slider_default } from "./Slider-CTFuVrp2.js";
22
+ import { n as SubmitButton_default } from "./SubmitButton-Bh1RN0F1.js";
23
+ import { n as Switch_default } from "./Switch-CXrz-M3V.js";
24
+ import { n as SwitchBox_default, r as switchBoxVariants } from "./SwitchBox-RfkVRDrE.js";
25
+ import { n as TextArea_default } from "./TextArea-BLkVYmHZ.js";
26
+ import { n as useClientValidation, t as clientValidationSchemaByName } from "./useClientValidation-DksyV18M.js";
27
+ import { t as useWatchUserChange } from "./useWatchUserChange-Dj9Imxfi.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, createOptionValueConverter, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, 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, createOptionValueConverter, fieldCardVariants, flatArrayKey, fromNullishString, isValueEmpty, nameToTestId, radioBoxVariants, switchBoxVariants, toFormFormat, toNullishString, toSubmitFormat, 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-DxJYKqrz.cjs');
2
+ const require_FieldCopyTestIdButton = require('../../FieldCopyTestIdButton-4uupFq1U.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-DsyY9X04.cjs";
1
+ import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-CYMw1FYm.cjs";
2
2
  export { FieldCopyTestIdButton, FieldCopyTestIdButton as default, FieldCopyTestIdButtonProps };
@@ -1,2 +1,2 @@
1
- import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-DJbdReTK.js";
1
+ import { n as FieldCopyTestIdButtonProps, t as FieldCopyTestIdButton } from "../../index-BUbrPNtL.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-D9f1B-VS.js";
1
+ import { n as FieldCopyTestIdButton_default, t as FieldCopyTestIdButton_default$1 } from "../../FieldCopyTestIdButton-BoEdlzLs.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-A384-L3Y.cjs');
2
+ const require_FieldValidationError = require('../../FieldValidationError-Br6iopZj.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-DEJghucW.cjs";
1
+ import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-SrU5788P.cjs";
2
2
  export { FieldValidationError, FieldValidationError as default, FieldValidationErrorProps };
@@ -1,2 +1,2 @@
1
- import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-C4-1V8jn.js";
1
+ import { n as FieldValidationErrorProps, t as FieldValidationError } from "../../index-Nzma24Py.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-BYwitb_B.js";
1
+ import { n as FieldValidationError_default, t as FieldValidationError_default$1 } from "../../FieldValidationError-XQaViV52.js";
2
2
 
3
3
  export { FieldValidationError_default as FieldValidationError, FieldValidationError_default$1 as default };
@@ -1,5 +1,5 @@
1
- import { t as flatArrayKey } from "./helpers-D3A5d3M1.js";
2
- import { n as useFormContext } from "./useFormContext-UFBqUfOr.js";
1
+ import { t as flatArrayKey } from "./helpers-33jajRcN.js";
2
+ import { n as useFormContext } from "./useFormContext-Di67HIf7.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-C6Daq53C.js.map
179
+ //# sourceMappingURL=useClientValidation-DksyV18M.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClientValidation-C6Daq53C.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-DksyV18M.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,6 +1,6 @@
1
- const require_FormContext = require('./FormContext-CeFKQmVH.cjs');
2
- const require_helpers = require('./helpers-CncbgvW_.cjs');
3
- const require_useFormContext = require('./useFormContext-DJiJlfGJ.cjs');
1
+ const require_FormContext = require('./FormContext-BSLO2-sO.cjs');
2
+ const require_helpers = require('./helpers-Bd_QpqXg.cjs');
3
+ const require_useFormContext = require('./useFormContext-vdeeDsAs.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-DzomULfo.cjs.map
191
+ //# sourceMappingURL=useClientValidation-Dnj_wuwf.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClientValidation-DzomULfo.cjs","names":["useFormContext","flatArrayKey"],"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,YACEA,uCAAgB;CAGpB,MAAM,qCAA0B;CAChC,MAAM,MAAM,SAAS,OAAO;AAO5B,4BAAgB;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,YAAYC,6BAMjC;AAGF,MAAI,UAEF,qCAAe,OAAO,CAAC,UAAU;OAC5B;GAGL,MAAM,uCAAkB,GACrB,UAAU,QACZ,CAAC;AACF,YAAS,IAAI,IAAI,IAAI,UAAU,GAAG;;;AAItC,QAAO"}
1
+ {"version":3,"file":"useClientValidation-Dnj_wuwf.cjs","names":["useFormContext","flatArrayKey"],"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,YACEA,uCAAgB;CAGpB,MAAM,qCAA0B;CAChC,MAAM,MAAM,SAAS,OAAO;AAO5B,4BAAgB;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,YAAYC,6BAMjC;AAGF,MAAI,UAEF,qCAAe,OAAO,CAAC,UAAU;OAC5B;GAGL,MAAM,uCAAkB,GACrB,UAAU,QACZ,CAAC;AACF,YAAS,IAAI,IAAI,IAAI,UAAU,GAAG;;;AAItC,QAAO"}
@@ -2,7 +2,6 @@ import { VetoTypeAny } from "@fuf-stack/veto";
2
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
-
6
5
  /**
7
6
  * Hook for adding dynamic client-side validation to forms.
8
7
  *
@@ -147,4 +146,4 @@ declare const useClientValidation: <TData = unknown>(data: TData | null | undefi
147
146
  declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_CNPgNK_V0.Z;
148
147
  //#endregion
149
148
  export { useClientValidation as n, clientValidationSchemaByName as t };
150
- //# sourceMappingURL=useClientValidation-Bg0q3Axc.d.ts.map
149
+ //# sourceMappingURL=useClientValidation-Dw-dmynu.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useClientValidation-Dw-dmynu.d.cts","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"mappings":";;;;;;;AAkEA;;;;;;;;;;;;;;;;;;;AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlIa,mBAAA,oBACX,IAAA,EAAM,KAAA,qBACN,aAAA,GAAgB,IAAA,EAAM,KAAA,KAAU,WAAA,EAChC,OAAA;EAAY,GAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+HD,4BAAA,aAA0C,WAAA,EACrD,IAAA,UACA,WAAA,EAAa,CAAA,KAAC,sCAAA,CAAA,CAAA"}
@@ -2,7 +2,6 @@ import { VetoTypeAny } from "@fuf-stack/veto";
2
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
-
6
5
  /**
7
6
  * Hook for adding dynamic client-side validation to forms.
8
7
  *
@@ -147,4 +146,4 @@ declare const useClientValidation: <TData = unknown>(data: TData | null | undefi
147
146
  declare const clientValidationSchemaByName: <T extends VetoTypeAny>(name: string, fieldSchema: T) => _fuf_stack_veto_dist_types_d_CNPgNK_V0.Z;
148
147
  //#endregion
149
148
  export { useClientValidation as n, clientValidationSchemaByName as t };
150
- //# sourceMappingURL=useClientValidation-BvPDQmf6.d.cts.map
149
+ //# sourceMappingURL=useClientValidation-DxFgfsEI.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useClientValidation-DxFgfsEI.d.ts","names":[],"sources":["../src/hooks/useClientValidation/useClientValidation.ts"],"mappings":";;;;;;;AAkEA;;;;;;;;;;;;;;;;;;;AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAlIa,mBAAA,oBACX,IAAA,EAAM,KAAA,qBACN,aAAA,GAAgB,IAAA,EAAM,KAAA,KAAU,WAAA,EAChC,OAAA;EAAY,GAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+HD,4BAAA,aAA0C,WAAA,EACrD,IAAA,UACA,WAAA,EAAa,CAAA,KAAC,sCAAA,CAAA,CAAA"}